:root {
  --ink: #0c1117;
  --muted: #66717c;
  --paper: #fffaf2;
  --cream: #ecded0;
  --gold: #d9a15b;
  --green: #93b7aa;
  --brick: #b86d4f;
  --blue: #233d4d;
  --smoke: #18212b;
  --line: rgba(12, 17, 23, 0.14);
  --shadow: 0 18px 48px rgba(12, 17, 23, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--blue) 12%, var(--cream)), var(--cream) 420px),
    var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.locked {
  overflow: hidden;
  background: var(--ink);
}

body.locked .site-header,
body.locked main,
body.locked .mobile-dock {
  display: none;
}

body:not(.locked) .auth-screen {
  display: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: auto;
  padding: 20px;
  color: var(--paper);
}

.auth-screen > img {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.auth-screen::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 68% 28%, rgba(217, 161, 91, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(12, 17, 23, 0.88), rgba(12, 17, 23, 0.54) 52%, rgba(12, 17, 23, 0.84)),
    linear-gradient(0deg, rgba(12, 17, 23, 0.96), rgba(12, 17, 23, 0.42));
}

.auth-panel {
  position: relative;
  z-index: 1;
  width: min(450px, 100%);
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 250, 242, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.08), rgba(255, 250, 242, 0.03)),
    rgba(12, 17, 23, 0.78);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(22px) saturate(1.05);
  animation: panelIn 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.brand,
.site-nav,
.stats,
.filters,
.mobile-dock,
.shot-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 950;
}

.phone-mark {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: url("assets/male-symbol.png") center / contain no-repeat;
  filter: drop-shadow(3px 4px 0 rgba(217, 161, 91, 0.22));
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(3rem, 14vw, 4.8rem);
  line-height: 0.88;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 9vw, 4rem);
  line-height: 0.94;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.auth-copy,
.auth-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.auth-copy {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(217, 161, 91, 0.32);
  border-radius: 8px;
  background: rgba(217, 161, 91, 0.13);
  font-weight: 850;
}

.auth-copy strong {
  color: var(--paper);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.tab,
.filters button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-weight: 900;
}

.tab.is-active,
.filters button.is-active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.auth-form {
  display: none;
  gap: 12px;
}

.auth-form.is-active {
  display: grid;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 12px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 28%, transparent);
  outline: none;
}

.auth-form input,
.comment-form input,
.comment-form textarea,
.message-form textarea {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
}

.check-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
}

.primary-button {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 950;
  box-shadow: 5px 5px 0 var(--gold);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.primary-button:hover,
.demo-button:hover,
.heart-button:hover,
.mobile-dock a:hover,
.site-nav a:hover,
.site-nav button:hover {
  transform: translateY(-2px);
}

.primary-button:active,
.demo-button:active,
.heart-button:active {
  transform: translateY(1px);
  box-shadow: 2px 2px 0 var(--gold);
}

.demo-button {
  min-height: 46px;
  border: 1px solid rgba(217, 161, 91, 0.38);
  border-radius: 8px;
  background: rgba(217, 161, 91, 0.14);
  color: var(--paper);
  font-weight: 950;
}

.auth-form .primary-button {
  background: var(--paper);
  color: var(--ink);
}

.note {
  min-height: 22px;
  margin: 0;
  color: var(--brick);
  font-weight: 850;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px 16px;
  background: rgba(12, 17, 23, 0.82);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(255, 250, 242, 0.08);
  backdrop-filter: blur(18px) saturate(1.08);
}

.menu-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper);
  font-size: 1.3rem;
}

.site-nav {
  position: fixed;
  inset: 64px 10px auto;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(12, 17, 23, 0.94);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a,
.site-nav button,
.user-chip {
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  font-weight: 900;
}

.site-nav button {
  text-align: left;
}

.hero {
  position: relative;
  min-height: 100svh;
  margin-top: -64px;
  padding-top: 64px;
  overflow: hidden;
  display: grid;
  align-items: end;
  color: var(--paper);
  background: var(--ink);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 28%, rgba(217, 161, 91, 0.18), transparent 26%),
    linear-gradient(90deg, rgba(12, 17, 23, 0.78), rgba(12, 17, 23, 0.2) 58%, rgba(12, 17, 23, 0.52)),
    linear-gradient(0deg, rgba(12, 17, 23, 0.96), rgba(12, 17, 23, 0.16) 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 28px));
  margin: 0 auto;
  padding: 0 0 98px;
  animation: heroRise 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms both;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.78);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.stats span {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.12), rgba(255, 250, 242, 0.05));
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 850;
  text-align: center;
  backdrop-filter: blur(14px);
}

.stats strong {
  display: block;
  color: var(--paper);
  font-size: 1.05rem;
}

.stats em {
  display: block;
  font-style: normal;
}

.section {
  padding: 46px 14px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 18px;
}

.section-link {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 88%, var(--cream));
  color: var(--ink);
  padding: 0 12px;
  font-weight: 900;
  text-decoration: none;
}

.section-link:hover {
  background: var(--ink);
  color: var(--paper);
}

.upload-section {
  background:
    radial-gradient(circle at 12% 10%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 170px),
    var(--paper);
}

.upload-form {
  display: grid;
  gap: 14px;
}

.drop-zone {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  border: 1px dashed rgba(17, 20, 25, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--green) 44%, transparent), color-mix(in srgb, var(--gold) 22%, transparent)),
    color-mix(in srgb, var(--paper) 88%, var(--cream));
  text-align: center;
}

.profile-photo-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.profile-photo-zone {
  position: relative;
  width: 132px;
  height: 132px;
  overflow: hidden;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px dashed rgba(17, 20, 25, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--green) 30%, transparent), color-mix(in srgb, var(--gold) 18%, transparent)),
    color-mix(in srgb, var(--paper) 88%, var(--cream));
  text-align: center;
}

.drop-zone input,
.profile-photo-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.drop-zone span,
.drop-zone small,
.profile-photo-zone span,
.profile-photo-zone small {
  position: relative;
  z-index: 1;
  font-weight: 900;
}

.drop-zone small,
.profile-photo-zone small {
  color: var(--muted);
}

.drop-zone img,
.profile-photo-zone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.drop-zone img {
  object-fit: cover;
}

.profile-photo-zone img {
  object-fit: contain;
  padding: 4px;
  background: color-mix(in srgb, var(--ink) 8%, var(--paper));
}

.drop-zone.has-image img,
.profile-photo-zone.has-image img {
  opacity: 1;
}

.dating-section {
  background:
    radial-gradient(circle at 88% 0, color-mix(in srgb, var(--brick) 18%, transparent), transparent 240px),
    linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--cream) 76%, var(--paper)));
}

.profile-photo-copy {
  display: grid;
  gap: 7px;
}

.profile-photo-copy p {
  margin: 0;
  font-size: 0.9rem;
}

.secondary-button {
  width: fit-content;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 0 12px;
  font-weight: 900;
}

.gallery-upload-zone {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 88%, var(--cream));
}

.gallery-upload-zone input {
  margin-top: 8px;
  background: var(--paper);
}

.profile-gallery-preview,
.match-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.profile-gallery-item {
  display: grid;
  gap: 5px;
}

.profile-gallery-thumb,
.match-photo-button {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.profile-gallery-thumb img,
.match-photo-button img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.remove-profile-photo {
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--brick);
  font-size: 0.72rem;
  font-weight: 900;
}

.empty-profile-gallery {
  margin: 0;
  font-size: 0.9rem;
}

.dating-layout {
  display: grid;
  gap: 18px;
}

.dating-form,
.match-panel {
  display: grid;
  gap: 14px;
}

.match-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 88%, var(--cream));
  box-shadow: var(--shadow);
}

.match-head {
  display: grid;
  gap: 12px;
}

.match-head h3 {
  margin: 0;
  font-size: clamp(1.6rem, 7vw, 2.4rem);
}

.match-grid {
  display: grid;
  gap: 12px;
}

.match-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.match-card img,
.match-seed {
  width: 96px;
  height: 124px;
  border-radius: 8px;
  object-fit: cover;
}

.match-seed {
  display: grid;
  place-items: center;
  background: var(--match-bg);
  color: var(--paper);
  font-size: 2.3rem;
  font-weight: 950;
}

.match-card strong,
.match-card span {
  display: block;
}

.match-card span {
  margin: 4px 0 8px;
  color: var(--brick);
  font-size: 0.78rem;
  font-weight: 900;
}

.match-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.match-photo-strip {
  grid-template-columns: repeat(5, 34px);
  margin-top: 10px;
}

.message-member-button {
  min-height: 34px;
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 950;
}

.empty-matches {
  margin: 0;
}

.messages-section {
  background:
    radial-gradient(circle at 15% 0, color-mix(in srgb, var(--green) 22%, transparent), transparent 240px),
    linear-gradient(180deg, color-mix(in srgb, var(--ink) 96%, var(--blue)), var(--ink));
  color: var(--paper);
}

.messages-section p {
  color: rgba(255, 255, 255, 0.72);
}

.live-cams-section {
  background:
    radial-gradient(circle at 82% 8%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 260px),
    linear-gradient(180deg, color-mix(in srgb, var(--blue) 72%, var(--ink)), var(--ink));
  color: var(--paper);
}

.live-cams-section p {
  color: rgba(255, 255, 255, 0.72);
}

.live-cams-layout {
  display: grid;
  gap: 14px;
}

.camera-panel,
.live-users-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.camera-preview {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(147, 183, 170, 0.2), rgba(217, 161, 91, 0.12)),
    var(--ink);
}

.camera-preview video {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.camera-preview.has-camera .camera-empty {
  display: none;
}

.camera-empty {
  display: grid;
  gap: 6px;
  padding: 18px;
  text-align: center;
}

.camera-empty strong {
  font-size: 1.2rem;
}

.camera-empty span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.camera-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
}

.camera-panel .note {
  padding: 0 12px 12px;
  color: var(--gold);
}

.live-users-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.live-users-head h3 {
  margin: 0;
  font-size: clamp(1.55rem, 6vw, 2.2rem);
}

.live-users-head span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
}

.live-users-grid {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.live-user-card {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(35, 61, 77, 0.82), rgba(184, 109, 79, 0.62)),
    var(--smoke);
}

.live-user-card strong {
  font-size: 1.05rem;
}

.live-user-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
}

.live-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #44d27c;
  box-shadow: 0 0 0 5px rgba(68, 210, 124, 0.14);
}

.messages-layout {
  display: grid;
  gap: 12px;
}

.thread-list,
.chat-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.thread-head,
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.thread-head span,
.chat-head span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
}

.thread-items {
  display: grid;
  max-height: 330px;
  overflow: auto;
}

.thread-button {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: var(--paper);
  padding: 10px 12px;
  text-align: left;
}

.thread-button.is-active,
.thread-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.thread-avatar {
  width: 44px;
  height: 44px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--thread-bg, linear-gradient(135deg, var(--blue), var(--brick)));
  color: var(--paper);
  font-weight: 950;
}

.thread-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thread-button strong,
.thread-button span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thread-button span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.chat-panel {
  display: grid;
  min-height: 460px;
  grid-template-rows: auto minmax(240px, 1fr) auto;
}

.chat-head h3 {
  margin: 0;
  font-size: clamp(1.55rem, 6vw, 2.2rem);
}

.message-log {
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 240px;
  max-height: 430px;
  overflow: auto;
  padding: 12px;
}

.message-bubble {
  width: fit-content;
  max-width: min(76%, 480px);
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.message-bubble.is-me {
  justify-self: end;
  background: var(--paper);
  color: var(--ink);
}

.message-bubble strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.72rem;
}

.message-bubble p {
  margin: 0;
  color: inherit;
  line-height: 1.38;
}

.empty-chat {
  align-self: center;
  justify-self: center;
  margin: 0;
  text-align: center;
}

.message-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.message-form textarea {
  min-height: 48px;
  max-height: 92px;
  resize: vertical;
}

.message-form button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 950;
}

.form-grid {
  display: grid;
  gap: 12px;
}

textarea {
  resize: vertical;
}

.gallery-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 6%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 260px),
    linear-gradient(180deg, color-mix(in srgb, var(--blue) 82%, var(--ink)), var(--ink));
  color: var(--paper);
}

.gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 250, 242, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 72%);
}

.gallery-section .section-head,
.gallery-section .filters,
.gallery-section .gallery-grid {
  position: relative;
  z-index: 1;
}

.gallery-section .section-head {
  margin-bottom: 20px;
}

.gallery-section h2 {
  max-width: 760px;
  color: var(--paper);
}

.filters {
  position: relative;
  z-index: 10;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 26px;
  overflow-x: auto;
  padding: 7px;
  border: 1px solid rgba(255, 250, 242, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.07);
  backdrop-filter: blur(16px) saturate(1.06);
}

.filters button {
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid rgba(255, 250, 242, 0.1);
  background: rgba(255, 250, 242, 0.08);
  color: rgba(255, 250, 242, 0.78);
}

.filters button.is-active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--green);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  clear: both;
}

.shot-card {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 250, 242, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.08), rgba(255, 250, 242, 0.03)),
    rgba(255, 250, 242, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  transform: translateY(0);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
  animation: cardIn 520ms ease both;
}

.shot-card:hover {
  box-shadow: 0 22px 58px rgba(12, 17, 23, 0.24);
  transform: translateY(-4px);
}

.shot-media {
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--smoke);
  color: var(--paper);
  cursor: zoom-in;
}

.shot-media img {
  transition: transform 260ms ease, filter 260ms ease;
}

.shot-card:hover .shot-media img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.shot-media img,
.seed-art {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.seed-art {
  display: grid;
  place-items: end start;
  padding: 12px;
  background:
    linear-gradient(0deg, rgba(12, 17, 23, 0.78), rgba(12, 17, 23, 0.04) 54%),
    var(--seed-bg);
  color: var(--paper);
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 0.96;
}

.shot-body {
  padding: 12px;
  color: var(--ink);
}

.shot-body h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  line-height: 1.1;
}

.shot-body p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 12px;
  font-size: 0.8rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.shot-meta {
  margin-bottom: 7px;
  color: var(--brick);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shot-footer {
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.shot-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.heart-button,
.delete-shot-button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf8;
  color: var(--ink);
  font-weight: 900;
}

.delete-shot-button {
  color: var(--brick);
}

.heart-button.is-liked {
  border-color: rgba(166, 79, 56, 0.28);
  background: color-mix(in srgb, var(--brick) 12%, var(--paper));
  color: var(--brick);
}

.rules-section {
  padding-bottom: 120px;
  background: var(--ink);
  color: var(--paper);
}

.rules-section p {
  color: rgba(255, 255, 255, 0.72);
}

.rules-grid {
  display: grid;
  gap: 10px;
}

.rules-grid article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-dock {
  position: fixed;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.06), rgba(255, 250, 242, 0.02)),
    rgba(12, 17, 23, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.08);
  animation: dockIn 560ms ease 220ms both;
}

.mobile-dock a {
  display: grid;
  place-items: center;
  min-height: 54px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 950;
}

.mobile-dock .dock-primary {
  background: linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--gold) 14%, var(--paper)));
  color: var(--ink);
}

.floating-message-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 32;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  padding: 0 18px;
  font-weight: 950;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.floating-message-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.viewer {
  width: min(940px, calc(100vw - 18px));
  max-height: calc(100svh - 18px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.profile-photo-viewer {
  width: min(820px, calc(100vw - 18px));
  max-height: calc(100svh - 18px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
}

.profile-photo-viewer::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(10px);
}

.profile-photo-viewer img {
  width: 100%;
  max-height: calc(100svh - 18px);
  object-fit: contain;
  background: var(--ink);
}

.viewer::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(10px);
}

.viewer img {
  width: 100%;
  max-height: calc(100svh - 260px);
  object-fit: contain;
  background: var(--ink);
}

.viewer.seed::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: var(--viewer-bg);
}

.viewer.seed img {
  display: none;
}

.viewer-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(17, 20, 25, 0.76);
  color: var(--paper);
  font-size: 1.5rem;
}

.viewer-info {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.viewer-info span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  font-weight: 800;
}

.comments {
  display: grid;
  gap: 8px;
  max-height: 130px;
  overflow: auto;
}

.comment {
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.comment strong {
  display: block;
  font-size: 0.82rem;
}

.comment p,
.empty-comments {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.comment-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding-top: 8px;
  background: var(--ink);
}

.comment-form input {
  grid-column: 1 / -1;
}

.comment-form textarea {
  min-height: 48px;
  max-height: 82px;
}

.comment-form button {
  width: 86px;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 950;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dockIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 620px) {
  body:not(.locked) {
    padding-bottom: 86px;
  }

  .auth-screen {
    align-items: start;
    padding: 14px;
  }

  .auth-screen > img {
    object-position: 58% center;
  }

  .auth-screen::after {
    background:
      radial-gradient(circle at 50% 22%, rgba(217, 161, 91, 0.15), transparent 34%),
      linear-gradient(0deg, rgba(12, 17, 23, 0.96), rgba(12, 17, 23, 0.68) 48%, rgba(12, 17, 23, 0.42));
  }

  .auth-panel {
    width: 100%;
    gap: 10px;
    margin-top: 12px;
    padding: 18px;
    background:
      linear-gradient(180deg, rgba(255, 250, 242, 0.1), rgba(255, 250, 242, 0.035)),
      rgba(12, 17, 23, 0.84);
  }

  .auth-panel .brand {
    font-size: 0.96rem;
  }

  .auth-panel h1 {
    max-width: 8.5ch;
    font-size: clamp(2.8rem, 13vw, 3.45rem);
    line-height: 0.9;
  }

  .auth-copy {
    padding: 9px 10px;
    font-size: 0.9rem;
  }

  .tabs {
    gap: 6px;
    padding: 5px;
  }

  .tab {
    min-height: 38px;
  }

  .auth-form {
    gap: 9px;
  }

  label {
    font-size: 0.8rem;
  }

  input,
  select,
  textarea {
    min-height: 42px;
    padding: 10px;
  }

  .demo-button,
  .primary-button {
    min-height: 44px;
  }

  .site-header {
    min-height: 58px;
    padding: 8px 14px;
  }

  .site-header .brand {
    font-size: 0.92rem;
  }

  .phone-mark {
    width: 32px;
    height: 32px;
  }

  .menu-button {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 100svh;
    margin-top: -58px;
    padding-top: 58px;
  }

  .hero > img {
    object-position: 55% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(12, 17, 23, 0.74), rgba(12, 17, 23, 0.16) 55%, rgba(12, 17, 23, 0.3)),
      linear-gradient(0deg, rgba(12, 17, 23, 0.98), rgba(12, 17, 23, 0.1) 74%);
  }

  .hero-content {
    width: calc(100% - 28px);
    padding-bottom: 100px;
  }

  .hero-content h1 {
    max-width: 8.6ch;
    font-size: clamp(3.05rem, 14vw, 3.85rem);
    line-height: 0.9;
  }

  .hero-content p {
    max-width: 31ch;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .stats {
    gap: 7px;
    margin-top: 14px;
  }

  .stats span {
    padding: 9px 6px;
  }

  .section {
    padding: 42px 14px;
  }

  .upload-section {
    background:
      radial-gradient(circle at 20% 0, color-mix(in srgb, var(--gold) 18%, transparent), transparent 190px),
      var(--paper);
  }

  .dating-section {
    padding-top: 46px;
  }

  .dating-section .section-head {
    gap: 8px;
  }

  .dating-section h2 {
    max-width: 8.8ch;
    font-size: clamp(2.35rem, 12vw, 3.25rem);
    line-height: 0.9;
  }

  .dating-section .section-head p {
    font-size: 0.98rem;
    line-height: 1.4;
  }

  .section-link {
    width: 100%;
    min-height: 42px;
  }

  .dating-layout {
    gap: 14px;
  }

  .dating-form,
  .match-panel {
    gap: 12px;
  }

  .profile-photo-row {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 10px;
  }

  .profile-photo-zone {
    width: 94px;
    height: 94px;
    font-size: 0.72rem;
  }

  .profile-photo-zone img {
    padding: 3px;
  }

  .profile-photo-copy {
    gap: 6px;
  }

  .profile-photo-copy p,
  .empty-profile-gallery {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .secondary-button {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.84rem;
  }

  .gallery-upload-zone {
    padding: 10px;
  }

  .gallery-upload-zone input {
    width: 100%;
  }

  .profile-gallery-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .remove-profile-photo {
    min-height: 26px;
    font-size: 0.68rem;
  }

  .match-panel {
    padding: 10px;
  }

  .match-head {
    gap: 9px;
  }

  .match-head h3 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .match-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    padding: 8px;
  }

  .match-card img,
  .match-seed {
    width: 76px;
    height: 102px;
  }

  .match-card strong {
    font-size: 0.94rem;
  }

  .match-card span {
    margin: 2px 0 5px;
    font-size: 0.7rem;
  }

  .match-card p {
    font-size: 0.8rem;
    line-height: 1.34;
    -webkit-line-clamp: 2;
  }

  .match-photo-strip {
    grid-template-columns: repeat(5, 28px);
    gap: 5px;
    margin-top: 8px;
  }

  .message-member-button {
    min-height: 32px;
    margin-top: 8px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .messages-section h2 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .live-cams-section h2 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .camera-preview,
  .camera-preview video {
    min-height: 220px;
  }

  .camera-actions {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .live-users-grid {
    padding: 10px;
  }

  .messages-layout {
    gap: 10px;
  }

  .thread-items {
    max-height: 245px;
  }

  .thread-button {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 9px 10px;
  }

  .thread-avatar {
    width: 40px;
    height: 40px;
  }

  .chat-panel {
    min-height: 410px;
    grid-template-rows: auto minmax(220px, 1fr) auto;
  }

  .message-log {
    min-height: 220px;
    max-height: 340px;
    padding: 10px;
  }

  .message-bubble {
    max-width: 86%;
    padding: 9px 10px;
  }

  .message-form {
    grid-template-columns: minmax(0, 1fr) 72px;
    padding: 10px;
  }

  .message-form textarea,
  .message-form button {
    min-height: 44px;
  }

  .profile-photo-viewer {
    width: calc(100vw - 18px);
    padding: 8px;
  }

  .gallery-section {
    padding-bottom: 112px;
  }

  .gallery-section h2 {
    max-width: 9ch;
    font-size: clamp(2.1rem, 10vw, 2.85rem);
  }

  .filters {
    width: auto;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filters button {
    min-height: 38px;
    padding: 0 13px;
  }

  .gallery-grid {
    gap: 10px;
  }

  .shot-card {
    border-color: rgba(255, 250, 242, 0.16);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
  }

  .seed-art {
    min-height: 158px;
    font-size: 1.1rem;
  }

  .shot-body {
    padding: 10px;
  }

  .shot-body h3 {
    font-size: 0.92rem;
  }

  .shot-body p {
    font-size: 0.76rem;
    -webkit-line-clamp: 2;
  }

  .shot-footer {
    display: grid;
    gap: 8px;
  }

  .shot-actions {
    justify-content: space-between;
  }

  .heart-button,
  .delete-shot-button {
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.76rem;
  }

  .mobile-dock {
    right: 8px;
    bottom: 8px;
    left: 8px;
  }

  .mobile-dock a {
    min-height: 52px;
    font-size: 0.62rem;
  }

  .floating-message-button {
    right: 14px;
    bottom: 82px;
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.82rem;
  }
}

@media (min-width: 760px) {
  .site-header {
    padding-inline: 44px;
  }

  .menu-button {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a,
  .site-nav button,
  .user-chip {
    padding: 9px 12px;
  }

  .hero-content {
    margin-left: 56px;
  }

  .auth-screen > img,
  .hero > img {
    object-position: 72% center;
  }

  .section {
    padding: 74px 56px;
  }

  .gallery-section {
    padding-inline: clamp(44px, 6vw, 86px);
  }

  .gallery-section .section-head,
  .gallery-section .filters,
  .gallery-grid {
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
  }

  .upload-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
  }

  .dating-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    align-items: start;
  }

  .messages-layout {
    grid-template-columns: minmax(250px, 0.38fr) minmax(0, 1fr);
  }

  .live-cams-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: start;
  }

  .live-users-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .match-panel {
    position: sticky;
    top: 90px;
  }

  .form-grid,
  .rules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(5, minmax(170px, 1fr));
    align-items: start;
  }

  .mobile-dock {
    display: none;
  }
}
