/* ==========================================================================
   AFTER HOURS — site-wide application layer
   Loaded after after-hours.css. Maps every existing AdultVault route onto the
   same hard-edged, condensed, black / acid-red / bone system as the home page.
   ========================================================================== */

:root {
  --ui-bg: var(--ground);
  --ui-surface: var(--surface);
  --ui-surface-2: var(--surface-2);
  --ui-line: var(--line);
  --ui-line-soft: var(--line-soft);
  --ui-ink: var(--ink);
  --ui-muted: var(--muted);
  --ui-accent: var(--accent);
  --ui-accent-ink: var(--accent-ink);
  --ui-bone: var(--bone);
  --ui-bone-ink: var(--bone-ink);
  --ui-display: var(--display);
  --ui-sans: var(--sans);
  --ui-mono: var(--mono);
}

.page-body {
  --ui-bg: var(--bg);
  --ui-surface: var(--surface);
  --ui-surface-2: var(--surface-2);
  --ui-line: var(--border);
  --ui-line-soft: color-mix(in srgb, var(--border) 65%, transparent);
  --ui-ink: var(--text);
  --ui-muted: var(--muted);
  background: var(--bg);
  color: var(--text);
}

/* Page-theme palettes, retuned to the After Hours system. */
.theme-noir {
  --bg: #08080a;
  --surface: #101014;
  --surface-2: #17171c;
  --text: #f7f3ec;
  --muted: #aaa4ab;
  --border: #2b2b33;
}
.theme-ivory {
  --bg: #f2e9da;
  --surface: #f7f3ec;
  --surface-2: #e8dfd0;
  --text: #0d0b0c;
  --muted: #5e574f;
  --border: #c9bdab;
}
.theme-velvet {
  --bg: #12070c;
  --surface: #1a0a11;
  --surface-2: #241018;
  --text: #f7e9ef;
  --muted: #b78d9f;
  --border: #3a1d2b;
}
.theme-slate {
  --bg: #0a1014;
  --surface: #10181e;
  --surface-2: #16232b;
  --text: #e8f0f3;
  --muted: #91a6b1;
  --border: #22353f;
}

/* ---------- base ---------------------------------------------------------- */
body {
  background: var(--ui-bg);
  color: var(--ui-ink);
  font-family: var(--ui-sans);
}
h1, h2, h3, h4, h5 {
  font-family: var(--ui-display);
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.015em;
  color: var(--ui-ink);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
a { color: var(--ui-accent); }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:where(.ah-home) a { color: inherit; }
:where(.ah-home) a:hover { text-decoration: none; }
.ftr a { color: var(--ui-muted); }
.ftr a:hover { color: var(--ui-ink); }
p { color: inherit; }

.site-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 52px 28px 88px;
}
.settings-body .site-main { max-width: 1120px; }
body:not(.ah-home) .site-main { min-height: calc(100vh - 132px); }
.page-body .site-main { max-width: 1400px; padding: 42px 28px 88px; }

.eyebrow, .k {
  font: 400 10.5px/1.4 var(--ui-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ui-muted);
}
.eyebrow { margin-bottom: 12px; }
.hint {
  font: 400 10.5px/1.65 var(--ui-mono);
  letter-spacing: .06em;
  color: var(--ui-muted);
}
.num, .handle, .ledger-data {
  font-family: var(--ui-mono);
  letter-spacing: .08em;
  color: var(--ui-muted);
}
code {
  background: var(--ui-surface-2);
  border: 1px solid var(--ui-line);
  border-radius: 0;
  color: var(--ui-ink);
  font-family: var(--ui-mono);
}

/* Header / footer */
.nav .inline-form { display: inline; margin: 0; }
.nav .link-button {
  background: none;
  border: 0;
  padding: 8px 0;
  color: var(--muted);
  cursor: pointer;
  font: 400 10.5px/1 var(--ui-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
}
.nav .link-button:hover { color: var(--ink); border-bottom-color: var(--accent); }
.ftr { padding-top: 0; }
.gate-body .hdr, .gate-body .ftr { display: none; }

/* Buttons and form controls */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ui-accent);
  color: var(--ui-accent-ink);
  border: 1px solid var(--ui-accent);
  border-radius: 0;
  padding: 13px 18px;
  font: 700 11px/1 var(--ui-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .12s linear, box-shadow .12s linear, background .12s linear, color .12s linear;
}
.button:hover {
  text-decoration: none;
  opacity: 1;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ui-bone);
}
.button:active { transform: translate(0, 0); box-shadow: none; }
.button:disabled { opacity: .45; cursor: wait; transform: none; box-shadow: none; }
.button.ghost {
  background: transparent;
  color: var(--ui-ink);
  border-color: var(--ui-line);
}
.button.ghost:hover {
  border-color: var(--ui-bone);
  box-shadow: 4px 4px 0 var(--ui-accent);
  color: var(--ui-ink);
}
.button.small { padding: 9px 12px; font-size: 9.5px; }
.link-button {
  background: none;
  border: 0;
  color: var(--ui-muted);
  font: 400 10.5px/1.4 var(--ui-mono);
  letter-spacing: .06em;
  cursor: pointer;
  padding: 0;
}
.link-button:hover { color: var(--ui-ink); }
.link-button.danger { color: var(--ui-accent); }

input, textarea, select {
  width: 100%;
  background: var(--ui-surface);
  color: var(--ui-ink);
  border: 1px solid var(--ui-line);
  border-radius: 0;
  padding: 11px 12px;
  font: 400 15px/1.45 var(--ui-sans);
}
input:hover, textarea:hover, select:hover { border-color: color-mix(in srgb, var(--ui-line) 60%, var(--ui-ink)); }
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--ui-accent);
  outline-offset: 0;
  border-color: var(--ui-accent);
}
input[type="color"] { padding: 4px; height: 44px; }
input[type="checkbox"], input[type="radio"] { width: auto; }
textarea { resize: vertical; }
label {
  display: grid;
  gap: 6px;
  color: var(--ui-muted);
  font: 400 9.5px/1.4 var(--ui-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}
label.check, label.check-row, .check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ui-ink);
  font: 400 10.5px/1.4 var(--ui-mono);
  letter-spacing: .06em;
  text-transform: none;
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* panes and notices */
.panel, .application-card, .comment, .stat-card, .album-row, .lock-row,
.page-card, .auth-card, .gate-card, .upload-box, .empty, .feature-grid > div {
  border-radius: 0;
}
.panel {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-top: 2px solid var(--ui-accent);
  padding: 26px;
  margin-bottom: 20px;
}
.panel h2 { margin-bottom: 22px; }
.panel .stack { max-width: 760px; }
.notice {
  border-radius: 0;
  border: 1px solid var(--ui-line);
  background: var(--ui-surface);
  color: var(--ui-ink);
  padding: 12px 14px;
  font: 400 10.5px/1.6 var(--ui-mono);
  letter-spacing: .05em;
  margin: 0 0 16px;
}
.notice.error {
  background: color-mix(in srgb, var(--ui-accent) 12%, var(--ui-surface));
  border-color: color-mix(in srgb, var(--ui-accent) 55%, var(--ui-line));
  color: #ffb3c1;
}
.notice.ok {
  background: color-mix(in srgb, #5bd6a2 10%, var(--ui-surface));
  border-color: color-mix(in srgb, #5bd6a2 45%, var(--ui-line));
  color: #a9f0d0;
}

.settings-head, .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--ui-line);
  padding-bottom: 18px;
  margin: 0 0 26px;
  flex-wrap: wrap;
}
.settings-head h1, .section-head h1, .section-head h2 { margin: 0; }
.settings-head .eyebrow, .section-head .eyebrow { color: var(--ui-accent); }
.settings-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--ui-line); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.admin-table th {
  text-align: left;
  color: var(--ui-muted);
  font: 700 9.5px/1.4 var(--ui-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px;
  border-bottom: 1px solid var(--ui-line);
  background: var(--ui-surface-2);
}
.admin-table td { padding: 10px; border-bottom: 1px solid var(--ui-line-soft); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: color-mix(in srgb, var(--ui-surface-2) 55%, transparent); }
.admin-thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 0; background: var(--ui-surface-2); border: 1px solid var(--ui-line); }
.badge {
  display: inline-block;
  padding: 5px 7px;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--ui-line);
  color: var(--ui-muted);
  font: 700 9px/1 var(--ui-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.badge.danger { color: var(--ui-accent); border-color: var(--ui-accent); }
.badge.ok { color: #8ce99a; border-color: #4f7d45; }

/* auth + gate */
.auth-wrap { display: grid; place-items: center; min-height: 58vh; padding: 24px 0; }
.auth-card {
  width: min(460px, 100%);
  background: var(--ui-bone);
  color: var(--ui-bone-ink);
  border: 1px solid var(--ui-bone);
  border-radius: 0;
  box-shadow: 10px 10px 0 var(--ui-accent);
  padding: 34px;
}
.auth-card h1 { color: var(--ui-bone-ink); font-size: clamp(2.2rem, 5vw, 3.4rem); }
.auth-card .eyebrow { color: #8f4256; }
.auth-card .hint, .auth-card .switch { color: rgba(13, 11, 12, .67); }
.auth-card .switch { margin: 18px 0 0; font-size: 12px; line-height: 1.55; }
.auth-card a { color: #a10c2c; }
.auth-card .stack { gap: 16px; }
.auth-card label { color: rgba(13, 11, 12, .7); }
.auth-card input, .auth-card textarea, .auth-card select {
  background: #fffaf3;
  color: var(--ui-bone-ink);
  border-color: rgba(13, 11, 12, .32);
}
.auth-card input:focus, .auth-card textarea:focus, .auth-card select:focus {
  outline-color: #a10c2c;
  border-color: #a10c2c;
}
.auth-card .button { box-shadow: none; }
.auth-card .button:hover { box-shadow: 4px 4px 0 var(--ui-bone-ink); }
.auth-card .notice.error { background: #f4d5da; border-color: #b23a55; color: #7a1025; }
.auth-card .notice.ok { background: #dbe9d8; border-color: #4f7d45; color: #28451f; }
.auth-card .check { color: var(--ui-bone-ink); }

.apply-card {
  width: min(780px, 100%);
  background: var(--ui-surface);
  color: var(--ui-ink);
  border: 1px solid var(--ui-line);
  border-top: 2px solid var(--ui-accent);
  box-shadow: none;
  padding: 30px;
}
.apply-card h1 { color: var(--ui-ink); }
.apply-card .eyebrow { color: var(--ui-accent); }
.apply-card .hint { color: var(--ui-muted); }
.apply-card a { color: var(--ui-accent); }
.apply-card label { color: var(--ui-muted); }
.apply-card input, .apply-card textarea, .apply-card select {
  background: var(--ui-surface-2);
  color: var(--ui-ink);
  border-color: var(--ui-line);
}
.apply-card .button { box-shadow: none; }

.gate { min-height: 86vh; display: grid; place-items: center; }
.gate-card {
  width: min(540px, 100%);
  background: var(--ui-bone);
  color: var(--ui-bone-ink);
  border: 1px solid var(--ui-bone);
  box-shadow: 12px 12px 0 var(--ui-accent);
  padding: 38px;
  text-align: center;
}
.gate-mark {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 0;
  border: 1px solid var(--ui-accent);
  background: var(--ui-accent);
  color: var(--ui-accent-ink);
  font: 700 1.5rem/1 var(--ui-display);
  margin-bottom: 18px;
}
.gate-card h1 { color: var(--ui-bone-ink); font-size: clamp(2.2rem, 6vw, 3.8rem); }
.gate-card p { color: rgba(13, 11, 12, .72); }
.gate-card .hint { color: rgba(13, 11, 12, .6); }
.gate-card .button { width: 100%; }

/* explore + page cards */
.page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.page-card {
  display: flex;
  flex-direction: column;
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  color: var(--ui-ink);
  border-radius: 0;
  overflow: hidden;
  transition: border-color .14s linear, transform .14s linear;
}
.page-card:hover { border-color: var(--ui-accent); transform: translateY(-3px); text-decoration: none; }
.page-card-cover {
  position: relative;
  aspect-ratio: 3 / 2;
  background: radial-gradient(120% 120% at 20% 10%, #2a2024, #17141a 45%, #0d0d10);
  border-bottom: 1px solid var(--ui-line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.page-card:nth-child(3n+2) .page-card-cover { background: radial-gradient(100% 100% at 80% 20%, #2b2430, #191520 50%, #0e0d12); }
.page-card:nth-child(3n+3) .page-card-cover { background: radial-gradient(110% 110% at 30% 80%, #3a2229, #1c1418 55%, #100c0f); }
.page-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.page-card-empty {
  font-family: var(--ui-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--ui-accent);
  opacity: .8;
}
.page-card-body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.page-card-body strong {
  font-family: var(--ui-display);
  font-size: 1.4rem;
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.page-card-body span {
  font: 400 9.5px/1.5 var(--ui-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ui-muted);
}

/* app page */
.app-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 16px 0 56px;
  border-bottom: 1px solid var(--ui-line);
}
.app-hero .eyebrow { color: var(--ui-accent); }
.app-hero h1 { font-size: clamp(3rem, 6.8vw, 5.8rem); }
.app-hero .lede { color: var(--ui-muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 560px; }
.app-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 0;
  background: var(--ui-accent);
  color: var(--ui-accent-ink);
  font: 700 13px/1 var(--ui-display);
  letter-spacing: .02em;
}
.app-badge.large { width: 58px; height: 58px; font-size: 1rem; margin-bottom: 12px; border-radius: 0; }
.app-phone {
  justify-self: center;
  width: 232px;
  height: 442px;
  padding: 10px;
  border: 1px solid var(--ui-line);
  border-radius: 0;
  background: var(--ui-surface);
  box-shadow: 10px 10px 0 var(--deep);
  transform: rotate(2deg);
}
.app-phone-screen {
  height: 100%;
  border-radius: 0;
  border: 1px solid var(--ui-line-soft);
  background: var(--ui-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 14px;
  color: var(--ui-ink);
  text-align: center;
  overflow: hidden;
}
.app-phone-notch { width: 76px; height: 7px; border-radius: 0; background: var(--ui-line); margin: 0 auto 10px; }
.app-phone-screen strong { font-size: .95rem; margin-bottom: 16px; }
.app-phone-line { width: 80%; height: 7px; border-radius: 0; background: var(--ui-surface-2); margin: 4px 0; }
.app-phone-line.short { width: 54%; }
.app-phone-tile {
  width: 100%;
  height: 72px;
  border-radius: 0;
  margin-top: 8px;
  background: repeating-linear-gradient(135deg, var(--ui-surface-2) 0 6px, var(--ui-surface) 6px 12px);
  border: 1px solid var(--ui-line);
}
.app-phone-tile:nth-of-type(2) { background: var(--ui-deep, #b40e33); border-color: var(--ui-deep, #b40e33); }
.app-phone-tile:nth-of-type(3) { background: var(--ui-accent); border-color: var(--ui-accent); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feature-grid > div {
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-top: 2px solid var(--ui-accent);
  border-radius: 0;
  padding: 22px;
}
.feature-grid p { color: var(--ui-muted); margin: 0; font-size: 13.5px; }

/* settings */
.settings-head h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
.settings-head .hint { margin: 8px 0 0; }
.quota { height: 6px; background: var(--ui-surface-2); border-radius: 0; overflow: hidden; margin: 8px 0 18px; }
.quota span { display: block; height: 100%; background: var(--ui-accent); }
.upload-box { border: 1px dashed var(--ui-line); background: transparent; border-radius: 0; padding: 22px; text-align: center; color: var(--ui-muted); margin-bottom: 20px; }
.upload-box.drag { border-color: var(--ui-accent); background: color-mix(in srgb, var(--ui-accent) 6%, transparent); }
.album-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; }
.album-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: 0;
  padding: 10px 12px;
}
.album-row .row-form { flex: 1; }
.album-protect { flex-basis: 100%; display: flex; align-items: center; gap: 10px; padding-top: 8px; border-top: 1px solid var(--ui-line-soft); }
.album-protect form { display: flex; gap: 8px; align-items: center; }
.row-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row-form input[name=caption] { min-width: 180px; flex: 1; }
.row-form select { width: auto; }
.move-form { display: flex; flex-direction: column; gap: 3px; }
.move-form button {
  width: 26px;
  height: 20px;
  padding: 0;
  border-radius: 0;
  border: 1px solid var(--ui-line);
  background: var(--ui-surface-2);
  color: var(--ui-muted);
  font-size: .7rem;
  cursor: pointer;
}
.move-form button:hover { color: var(--ui-ink); border-color: var(--ui-accent); }
.lock-list { display: grid; gap: 8px; margin-top: 12px; }
.lock-row { background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 0; padding: 11px 12px; }
.lock-form input[type="date"] { border-radius: 0; background: var(--ui-surface); color: var(--ui-ink); font-size: .8rem; }
.lock-state.locked { color: var(--ui-accent); }
.lock-items summary { cursor: pointer; color: var(--ui-muted); font-size: .84rem; padding: 6px 0; }
.lock-admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* apply / admin applications */
.apply-card { max-width: 780px; }
.application-card {
  padding: 18px;
  margin-bottom: 10px;
  border: 1px solid var(--ui-line);
  border-left: 2px solid var(--ui-accent);
  background: var(--ui-surface);
  border-radius: 0;
}
.application-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.application-card h2 { margin: 0; font-size: 1.15rem; }
.application-card p { margin: 7px 0; font-size: 13px; color: var(--ui-muted); }
.application-media { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.application-media-item { display: grid; gap: 3px; width: 112px; color: var(--ui-muted); font-size: .68rem; text-decoration: none; }
.application-media-item img, .application-media-item video {
  width: 112px;
  height: 88px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid var(--ui-line);
  background: var(--ui-surface-2);
}
.application-actions { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.apply-media-list { display: grid; gap: 5px; margin-top: 6px; }
.apply-media-row { font-size: .76rem; color: var(--ui-muted); }

/* stats */
.stat-ranges { display: flex; gap: 6px; }
.stat-range {
  padding: 9px 12px;
  border: 1px solid var(--ui-line);
  border-radius: 0;
  font: 700 10px/1 var(--ui-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ui-muted);
  text-decoration: none;
  white-space: nowrap;
}
.stat-range:hover { border-color: var(--ui-accent); text-decoration: none; color: var(--ui-ink); }
.stat-range.active { background: var(--ui-accent); border-color: var(--ui-accent); color: var(--ui-accent-ink); }
.stat-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.stat-card {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--ui-line);
  border-top: 2px solid var(--ui-accent);
  border-radius: 0;
  background: var(--ui-surface);
}
.stat-card span { font: 400 9.5px/1.4 var(--ui-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ui-muted); }
.stat-card strong { font: 700 2.1rem/1 var(--ui-display); letter-spacing: -.01em; color: var(--ui-ink); font-variant-numeric: tabular-nums; }
.stat-card small { font-size: 11px; color: var(--ui-muted); }
.stat-chart { display: flex; align-items: flex-end; gap: 3px; height: 176px; padding-top: 10px; overflow-x: auto; }
.stat-col { display: flex; flex: 1 1 0; min-width: 5px; height: 100%; flex-direction: column; justify-content: flex-end; }
.stat-bars { display: flex; align-items: flex-end; gap: 1px; height: 148px; }
.stat-bar { flex: 1 1 0; border-radius: 0; }
.stat-bar.views { background: var(--ui-accent); }
.stat-bar.downloads { background: #8fb7ff; }
.stat-day { height: 16px; font: 400 8px/1.4 var(--ui-mono); color: var(--ui-muted); text-align: center; white-space: nowrap; }
.stat-legend { display: inline-flex; align-items: center; gap: 6px; font: 400 10px/1.4 var(--ui-mono); color: var(--ui-muted); text-transform: uppercase; letter-spacing: .06em; }
.stat-legend i { width: 8px; height: 8px; border-radius: 0; display: inline-block; margin-left: 8px; }
.stat-legend i.views { background: var(--ui-accent); }
.stat-legend i.downloads { background: #8fb7ff; }
.stat-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-list { list-style: none; margin: 10px 0 0; padding: 0; }
.stat-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--ui-line-soft); font-size: 13px; }
.stat-list li:last-child { border-bottom: 0; }

/* comments */
.comments { max-width: 900px; margin: 46px auto 10px; padding: 0; }
.comment-count {
  display: inline-block;
  min-width: 24px;
  padding: 3px 7px;
  border-radius: 0;
  background: var(--ui-accent);
  color: var(--ui-accent-ink);
  font: 700 9px/1.4 var(--ui-mono);
  text-align: center;
}
.comment-list { display: grid; gap: 8px; margin: 14px 0 20px; }
.comment {
  padding: 14px 16px;
  border: 1px solid var(--ui-line);
  border-left: 2px solid var(--ui-accent);
  border-radius: 0;
  background: var(--ui-surface);
}
.comment header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 7px; }
.comment header strong { font: 700 10.5px/1.4 var(--ui-mono); letter-spacing: .1em; text-transform: uppercase; }
.comment header .hint { font-size: 9.5px; }
.comment header form { margin-left: auto; }
.comment p { margin: 0; font-size: 13.5px; line-height: 1.6; white-space: normal; }
.comment-form { display: grid; gap: 12px; margin-top: 18px; }
.comment-form label { display: grid; gap: 5px; }
.comment-form textarea { min-height: 96px; }
.comment-form .button { justify-self: start; }

/* about / terms / privacy / errors */
.prose-block { max-width: 820px; }
.prose-block h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.prose-block h2 { margin-top: 34px; }
.prose-block p { color: var(--ui-muted); font-size: 14.5px; line-height: 1.7; }
.prose-block a { color: var(--ui-accent); }
.error-page { text-align: center; padding: 90px 20px; }
.error-page h1 { font-size: clamp(4rem, 12vw, 9rem); color: var(--ui-accent); }
.error-page p { color: var(--ui-muted); }
.empty { text-align: center; padding: 70px 20px; color: var(--ui-muted); border: 1px dashed var(--ui-line); border-radius: 0; }
.empty h2 { color: var(--ui-ink); }

/* MFA */
.recovery-codes { columns: 2; column-gap: 18px; margin: 10px 0 14px; padding: 0; list-style: none; }
.recovery-codes li { margin-bottom: 6px; }
.recovery-codes code { font-size: 10.5pt; letter-spacing: .4pt; background: var(--ui-surface); border: 1px solid var(--ui-line); }

/* member pages ------------------------------------------------------------ */
.page-body .site-main { padding-top: 34px; }
.page-body .profile { position: relative; }
.profile-banner {
  height: clamp(160px, 26vw, 280px);
  border-radius: 0;
  background-size: cover;
  background-position: center;
  margin-bottom: -60px;
  border: 1px solid var(--ui-line);
}
.profile-head {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: flex-end;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--ui-line);
}
.profile-head .avatar {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  border-radius: 0;
  overflow: hidden;
  background: var(--ui-surface-2);
  border: 1px solid var(--ui-accent);
  display: grid;
  place-items: center;
  color: var(--ui-muted);
  font: 700 2.6rem/1 var(--ui-display);
  transform: rotate(-1.2deg);
}
.avatar img, .avatar video { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.profile-id { flex: 1; min-width: 0; padding-bottom: 4px; }
.profile-id h1 {
  margin: 0 0 4px;
  font-size: clamp(3rem, 7.5vw, 6.4rem);
  line-height: .84;
  letter-spacing: -.025em;
}
.profile-id .handle {
  margin: 0 0 12px;
  font: 400 10.5px/1.4 var(--ui-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ui-accent);
}
.bio {
  max-width: 640px;
  color: var(--ui-muted);
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.65;
  white-space: pre-line;
}
.profile-links { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-links a {
  border: 1px solid var(--ui-line);
  background: transparent;
  padding: 7px 10px;
  border-radius: 0;
  font: 400 9.5px/1.2 var(--ui-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ui-ink);
}
.profile-links a:hover { border-color: var(--ui-accent); color: var(--ui-accent); text-decoration: none; }
.owner-edit { align-self: flex-start; margin-left: auto; }
.profile .button { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.profile .button.ghost { background: transparent; border-color: var(--ui-line); color: var(--ui-ink); }
.profile .button.ghost:hover { border-color: var(--ui-accent); box-shadow: 4px 4px 0 var(--accent); }
.album-tabs {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  padding: 24px 0 0;
  border-bottom: 1px solid var(--ui-line);
  margin-bottom: 18px;
  scrollbar-width: none;
}
.album-tabs::-webkit-scrollbar { display: none; }
.album-tab {
  white-space: nowrap;
  padding: 12px 14px;
  border: 1px solid var(--ui-line);
  border-bottom: 0;
  background: var(--ui-surface);
  color: var(--ui-muted);
  font: 700 10px/1 var(--ui-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  border-radius: 0;
}
.album-tab:hover { color: var(--ui-ink); border-color: var(--ui-accent); text-decoration: none; }
.album-tab.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.album-tab.locked { border-style: dashed; }
.gallery { display: grid; gap: 6px; }
.layout-grid .gallery { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.layout-masonry .gallery { columns: 4 200px; column-gap: 6px; display: block; }
.layout-masonry .tile { break-inside: avoid; margin: 0 0 6px; }
.layout-list .gallery { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; gap: 20px; }
.tile {
  position: relative;
  margin: 0;
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-radius: 0;
  overflow: hidden;
  cursor: zoom-in;
}
.layout-grid .tile { aspect-ratio: 1 / 1; }
.layout-grid .tile img, .layout-masonry .tile img { width: 100%; height: 100%; object-fit: cover; }
.layout-masonry .tile img { height: auto; }
.layout-list .tile img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
.tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 9px 10px;
  background: linear-gradient(0deg, rgba(8, 8, 10, .86), transparent);
  color: #f7f3ec;
  font: 400 10.5px/1.5 var(--ui-mono);
  letter-spacing: .04em;
  opacity: 0;
  transition: opacity .15s linear;
}
.tile:hover figcaption { opacity: 1; }
.layout-list .tile figcaption { position: static; opacity: 1; background: var(--ui-surface); color: var(--ui-muted); padding: 9px 12px; border-top: 1px solid var(--ui-line); }
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-size: .85rem;
  padding-left: 3px;
  box-shadow: 4px 4px 0 rgba(8, 8, 10, .55);
}
.profile .empty { margin-top: 10px; }
.page-body .comments { max-width: 900px; }
.page-body .comment { background: var(--ui-surface); }
.page-body .comment p { color: var(--ui-ink); }
.page-body .comment-form .button { background: var(--ui-accent); border-color: var(--ui-accent); color: var(--ui-accent-ink); }
.page-body .comment-form input, .page-body .comment-form textarea { background: var(--ui-surface-2); color: var(--ui-ink); }

/* lightbox / overlays */
.lightbox { background: rgba(4, 4, 6, .96); }
.lightbox img, .lightbox video { border-radius: 0; }
.lb-close, .lb-prev, .lb-next, .lb-download, .lb-comments-toggle {
  border-radius: 0;
  background: rgba(8, 8, 10, .78);
  border-color: var(--ui-line);
  color: var(--ui-bone);
  font-family: var(--ui-mono);
  letter-spacing: .06em;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover, .lb-download:hover, .lb-comments-toggle:hover { background: var(--ui-accent); color: var(--ui-accent-ink); border-color: var(--ui-accent); }
.lb-comments { background: #0b0b0e; border-left-color: var(--ui-line); color: var(--ui-bone); border-radius: 0; }
.lb-comments > header { border-bottom-color: var(--ui-line); }
.lb-comment { border-bottom-color: var(--ui-line-soft); }
.lb-comment p { color: var(--ui-bone); }
.lb-comment-form input, .lb-comment-form textarea { background: var(--ui-surface); border-color: var(--ui-line); color: var(--ui-bone); border-radius: 0; }
.lb-comment a { color: var(--ui-accent); }

/* video player controls */
video { border-radius: 0 !important; }

/* responsive */
@media (max-width: 900px) {
  .app-hero { grid-template-columns: 1fr; }
  .app-phone { display: none; }
  .stat-split { grid-template-columns: 1fr; }
  .profile-head { flex-wrap: wrap; align-items: flex-start; }
  .profile-head .avatar { width: 92px; height: 92px; flex-basis: 92px; }
  .owner-edit { margin-left: 0; }
  .profile-id h1 { font-size: clamp(2.7rem, 9vw, 4.6rem); }
  .layout-grid .gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .layout-masonry .gallery { columns: 2 150px; }
}
@media (max-width: 720px) {
  .site-main, .page-body .site-main { padding: 30px 18px 64px; }
  .settings-body .site-main { padding-left: 18px; padding-right: 18px; }
  .settings-head, .section-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .settings-actions { width: 100%; }
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .auth-card, .gate-card, .apply-card { padding: 24px; box-shadow: 6px 6px 0 var(--ui-accent); }
  .gate { min-height: 82vh; }
  .page-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .page-card-body { padding: 10px 11px 12px; }
  .page-card-body strong { font-size: 1.1rem; }
  .page-card-body span { font-size: 8.5px; }
  .profile-head { gap: 14px; padding-bottom: 20px; }
  .profile-head .avatar { width: 76px; height: 76px; flex-basis: 76px; font-size: 1.8rem; }
  .profile-id h1 { font-size: clamp(2.4rem, 12vw, 4rem); }
  .profile-id .handle { font-size: 9.5px; }
  .album-tabs { padding-top: 18px; }
  .album-tab { padding: 10px 11px; font-size: 9px; }
  .gallery { gap: 3px; }
  .layout-grid .gallery { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
  .layout-masonry .gallery { columns: 2 140px; column-gap: 3px; }
  .layout-masonry .tile { margin-bottom: 3px; }
  .comment { padding: 12px 13px; }
  .comment-form .button { width: 100%; }
  .filter-bar, .stat-ranges { overflow-x: auto; }
}
.apply-card .notice.error {
  background: color-mix(in srgb, var(--ui-accent) 12%, var(--ui-surface));
  border-color: color-mix(in srgb, var(--ui-accent) 55%, var(--ui-line));
  color: #ffb3c1;
}
.apply-card .notice.ok {
  background: color-mix(in srgb, #5bd6a2 10%, var(--ui-surface));
  border-color: color-mix(in srgb, #5bd6a2 45%, var(--ui-line));
  color: #a9f0d0;
}
.apply-card .check { color: var(--ui-ink); }
.font-serif { --ui-sans: Georgia, "Times New Roman", serif; }
.font-mono { --ui-sans: var(--ui-mono); }
.profile-id .handle { color: var(--accent); }
.profile-links a:hover { color: var(--accent); border-color: var(--accent); }
.page-card-body strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 720px) {
  .page-card-body strong { font-size: .95rem; }
}
input[type="file"]::file-selector-button {
  background: var(--ui-surface-2);
  color: var(--ui-ink);
  border: 1px solid var(--ui-line);
  border-radius: 0;
  font: 700 9.5px/1 var(--ui-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 10px;
  margin-right: 10px;
  cursor: pointer;
}
input[type="file"]::file-selector-button:hover { border-color: var(--ui-accent); color: var(--ui-accent); }
.admin-table { min-width: 640px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ui-accent); }
.profile-details-fields {
  border-top: 1px solid var(--ui-line-soft);
  padding-top: 16px;
  display: grid;
  gap: 14px;
  margin-top: 4px;
}
.profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin: 14px 0 10px;
  max-width: 680px;
}
.profile-facts div {
  display: grid;
  gap: 2px;
  padding: 0 14px;
  border-left: 1px solid var(--ui-line);
}
.profile-facts div:first-child { padding-left: 0; border-left: 0; }
.profile-facts dt {
  font: 400 8px/1.4 var(--ui-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ui-muted);
}
.profile-facts dd {
  margin: 0;
  font: 600 12px/1.4 var(--ui-sans);
  color: var(--ui-ink);
}
.profile-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  max-width: 680px;
}
.profile-interests li {
  border: 1px solid var(--ui-line);
  padding: 5px 7px;
  color: var(--ui-muted);
  font: 400 9px/1.2 var(--ui-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .profile-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 0; }
  .profile-facts div { padding-left: 10px; }
  .profile-facts div:nth-child(odd) { padding-left: 0; border-left: 0; }
}
/* Bulk media actions */
.bulk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  border-left: 2px solid var(--ui-accent);
}
.bulk-bar .bulk-count {
  min-width: 86px;
  color: var(--ui-muted);
  font: 400 9.5px/1.3 var(--ui-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.bulk-bar .bulk-count b { color: var(--ui-accent); font-size: 15px; margin-right: 3px; }
.bulk-bar select, .bulk-bar input[name="caption"] { width: auto; min-width: 130px; padding: 8px 9px; font-size: 12px; }
.bulk-bar input[name="caption"] { flex: 1 1 180px; }
#bulk-album, #bulk-caption { display: none; }
.bulk-bar[data-action="move"] #bulk-album { display: inline-block; }
.bulk-bar[data-action="caption"] #bulk-caption { display: inline-block; }
.bulk-bar[data-action="password"] #bulk-password { display: inline-block; }
.bulk-bar .button { padding: 9px 12px; font-size: 9.5px; }
.item-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-table input[type="checkbox"] { margin: 0; accent-color: var(--ui-accent); }
@media (max-width: 720px) {
  .bulk-bar { align-items: stretch; }
  .bulk-bar .bulk-count { flex: 1 1 100%; }
  .bulk-bar select, .bulk-bar input[name="caption"], .bulk-bar .button { flex: 1 1 auto; }
}

/* Partner promo — age-confirmed visitors only (home + Explore) */
.partner-strip { max-width: 640px; margin-top: 48px; border-top: 1px solid var(--ui-line); padding-top: 22px; }
.home-partners { padding: 34px 0 38px; border-bottom: 1px solid var(--ui-line); }
.home-partners .partner-strip { margin-top: 0; padding-top: 0; border-top: 0; }
.partner-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; font: 400 9.5px/1.4 var(--ui-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ui-muted); }
.partner-head span:first-child { color: var(--ui-accent); }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 14px; }
.partner-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--ui-line); background: var(--ui-surface); transition: border-color .14s linear; }
.partner-card:hover { border-color: var(--ui-accent); }
.partner-media { position: relative; display: block; }
.partner-media img { width: 100%; height: 340px; object-fit: contain; background: #000; display: block; }
.partner-sponsor-tag { position: absolute; top: 8px; left: 8px; padding: 4px 6px; background: var(--ui-accent); color: #08080a; font: 400 8px/1 var(--ui-mono); letter-spacing: .12em; text-transform: uppercase; }
.partner-body { display: grid; gap: 8px; padding: 10px 12px; }
.partner-id { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 400 9.5px/1.4 var(--ui-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ui-muted); }
.partner-id b { color: var(--ui-ink); font-weight: 400; }
.partner-badge { padding: 3px 6px; border: 1px solid var(--ui-line); font: 400 8px/1.2 var(--ui-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ui-muted); }
.partner-badge:hover { border-color: var(--ui-accent); color: var(--ui-ink); text-decoration: none; }
.partner-links { display: flex; justify-content: space-between; gap: 8px; font: 400 9px/1.4 var(--ui-mono); letter-spacing: .08em; text-transform: uppercase; }
.partner-links a:first-child { color: var(--ui-muted); }
.partner-links a:last-child { color: var(--ui-ink); }
.partner-links a:hover { color: var(--ui-accent); text-decoration: none; }
.partner-note { margin: 12px 0 0; font: 400 9px/1.5 var(--ui-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ui-muted); }
@media (max-width: 720px) { .partner-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .partner-media img { height: 260px; } .partner-links { flex-direction: column; gap: 2px; } .partner-id { align-items: flex-start; } }

/* Per-image locks and share links */
.locked-tile {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 160px;
  padding: 18px;
  background: repeating-linear-gradient(135deg, var(--ui-surface-2) 0 8px, var(--ui-surface) 8px 16px);
  color: var(--ui-muted);
  text-align: center;
  text-decoration: none;
}
.locked-tile:hover { border-color: var(--ui-accent); text-decoration: none; }
.locked-tile .lock-glyph { font-size: 1.4rem; line-height: 1; filter: grayscale(1); }
.locked-tile .lock-label {
  font: 400 9px/1.4 var(--ui-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.share-view {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 32px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}
.share-media {
  background: #000;
  border: 1px solid var(--ui-line);
  min-height: 240px;
  display: grid;
  place-items: center;
}
.share-media img, .share-media video { width: 100%; height: auto; max-height: 82vh; object-fit: contain; }
.share-copy { padding-top: 10px; }
.share-copy h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.share-copy .button { margin-top: 6px; }
.share-page .site-main { max-width: 1280px; }
.item-privacy { max-width: 920px; }
.privacy-item-head { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--ui-line); padding-bottom: 18px; margin-bottom: 22px; }
.privacy-thumb { width: 112px; height: 112px; object-fit: cover; border: 1px solid var(--ui-line); background: var(--ui-surface-2); }
.privacy-item-head h2 { margin: 0 0 4px; }
.privacy-item-head .hint { margin: 0; }
.item-privacy h3 { margin: 26px 0 8px; font-size: 1.25rem; }
.share-link-box {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--ui-line);
  border-left: 2px solid var(--ui-accent);
  background: var(--ui-surface-2);
  margin-top: 10px;
}
.share-link-box code { display: block; overflow-wrap: anywhere; font-size: 11px; }
.share-link-meta { display: flex; gap: 14px; flex-wrap: wrap; font: 400 9px/1.4 var(--ui-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ui-muted); }
.share-create { max-width: 620px; }
@media (max-width: 900px) {
  .share-view { grid-template-columns: 1fr; gap: 20px; }
  .share-media img, .share-media video { max-height: 70vh; }
}
@media (max-width: 720px) {
  .privacy-item-head { align-items: flex-start; }
  .privacy-thumb { width: 80px; height: 80px; }
}

/* Locked media placeholders in admin statistics */
.locked-thumb { display: inline-grid; place-items: center; color: var(--ui-muted); background: var(--ui-surface-2); border: 1px solid var(--ui-line); font-size: 14px; filter: grayscale(1); }

/* Transcode queue placeholders */
.processing-tile { display: grid; place-items: center; gap: 8px; min-height: 160px; padding: 18px; background: var(--ui-surface-2); color: var(--ui-muted); text-align: center; border: 1px dashed var(--ui-line); }
.processing-glyph { font-size: 1.6rem; line-height: 1; animation: av-spin 2.4s linear infinite; }
.processing-label { font: 400 9px/1.4 var(--ui-mono); letter-spacing: .14em; text-transform: uppercase; }
.processing-thumb { display: inline-grid; place-items: center; color: var(--ui-accent); background: var(--ui-surface-2); border: 1px dashed var(--ui-line); font-size: 14px; }
@keyframes av-spin { to { transform: rotate(360deg); } }

/* Local chat assistant */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.chat-page .site-main { max-width: 900px; }
.chat-shell { display: grid; gap: 18px; padding: 34px 0 60px; }
.chat-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.chat-head h1 { margin: 2px 0 4px; }
.chat-log { display: flex; flex-direction: column; gap: 10px; min-height: 260px; max-height: 55vh; overflow-y: auto; padding: 16px; border: 1px solid var(--ui-line); background: var(--ui-surface); }
.chat-msg { max-width: 86%; padding: 10px 12px; border: 1px solid var(--ui-line); background: var(--ui-surface-2); }
.chat-msg.chat-user { align-self: flex-end; border-color: var(--ui-accent); }
.chat-who { display: block; margin-bottom: 4px; font: 400 8.5px/1.4 var(--ui-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ui-muted); }
.chat-msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-form { display: grid; gap: 10px; }
.chat-form textarea { width: 100%; resize: vertical; min-height: 84px; padding: 12px; border: 1px solid var(--ui-line); background: var(--ui-surface); color: var(--ui-ink); font: 400 15px/1.55 var(--ui-sans); }
.chat-form textarea:focus { outline: none; border-color: var(--ui-accent); }
.chat-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
@media (max-width: 720px) { .chat-msg { max-width: 94%; } .chat-head { flex-direction: column; } }

/* Chat companion */
#chat-empty { display: grid; gap: 10px; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-suggest .chip { padding: 8px 10px; border: 1px solid var(--ui-line); background: transparent; color: var(--ui-ink); font: 400 10px/1.2 var(--ui-mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.chat-suggest .chip:hover, .chat-suggest .chip:focus-visible { border-color: var(--ui-accent); color: var(--ui-accent); }
.chat-msg em { font-style: italic; opacity: .92; }
.chat-msg.chat-pending p { animation: chat-pulse 1.2s ease-in-out infinite; }
.chat-disclaimer { max-width: 72ch; }
@keyframes chat-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .chat-msg.chat-pending p { animation: none; } }

/* Age verification */
.age-banner { margin: 14px 0 0; }
.nav-verify { color: var(--ui-accent); }
.verify-shell { max-width: 980px; margin: 0 auto; padding: 34px 0 70px; }
.verify-head h1 { margin: 2px 0 6px; }
.verify-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; margin-top: 16px; }
.verify-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin: 14px 0 8px; }
.verify-actions form { margin: 0; }
.verify-actions .button { width: auto; }
@media (max-width: 760px) { .verify-grid { grid-template-columns: 1fr; } }
