/* AKSRIVA modern design layer — loaded after theme.css and style.css.
   Deep navy + champagne gold, bold geometric type, pill buttons with a soft glow,
   glass cards, chips and eyebrow rules. Night (navy) is the default; light is ivory
   with the same gold. Everything here is visual only: no content or behaviour. */

/* ---------- tokens ---------- */
:root{
  --font-display:'Plus Jakarta Sans', 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --paper:#FAF7F1; --surface:#FFFFFF; --surface-2:#F4EFE5;
  --ink:#0B1324; --ink-soft:#475569; --ink-faint:#8A94A6;
  --line:#E7E0D2; --line-strong:#D8CDB7;
  --accent:#B98A3A; --accent-ink:#0B1324; --accent-soft:#F6EDDA; --accent-soft-ink:#7A5617;
  --gold:#B98A3A; --gold-soft:#F6EDDA;
  --grad-gold:linear-gradient(120deg,#E9CB86 0%,#C99A45 55%,#A97C2F 100%);
  --grad-text:linear-gradient(100deg,#C99A45 0%,#E2B865 45%,#9A6E22 100%);
  --glow:0 10px 30px -10px rgba(201,154,69,0.55);
  --radius:16px; --radius-sm:12px;
  --glass:#FFFFFF;
  --nav-bg:rgba(250,247,241,0.82);
  --shadow-card:0 1px 2px rgba(11,19,36,0.04), 0 12px 30px -22px rgba(11,19,36,0.25);
  --shadow-pop:0 2px 6px rgba(11,19,36,0.06), 0 24px 48px -24px rgba(11,19,36,0.35);
}
:root[data-theme="dark"]{
  --paper:#060E1A; --surface:#0C1828; --surface-2:#122238;
  --ink:#F1F5F9; --ink-soft:#94A3B8; --ink-faint:#64748B;
  --line:rgba(148,163,184,0.14); --line-strong:rgba(148,163,184,0.26);
  --accent:#E2B865; --accent-ink:#0A1220; --accent-soft:rgba(226,184,101,0.12); --accent-soft-ink:#F3D9A2;
  --gold:#E2B865; --gold-soft:rgba(226,184,101,0.12);
  --grad-text:linear-gradient(100deg,#F3D9A2 0%,#E2B865 45%,#C99A45 100%);
  --pending-bg:rgba(234,179,8,0.14); --pending-fg:#FACC6B;
  --confirmed-bg:rgba(34,197,94,0.14); --confirmed-fg:#6EE7A0;
  --declined-bg:rgba(239,68,68,0.14); --declined-fg:#FCA5A5;
  --pattern-tint:rgba(226,184,101,0.10); --pattern-tint-strong:rgba(226,184,101,0.18); --pattern-ink:rgba(241,245,249,0.05);
  --glass:#0C1828;
  --nav-bg:rgba(6,14,26,0.85);
  --shadow-card:0 1px 2px rgba(0,0,0,0.3), 0 16px 40px -26px rgba(0,0,0,0.8);
  --shadow-pop:0 2px 8px rgba(0,0,0,0.4), 0 28px 60px -28px rgba(0,0,0,0.9);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper:#060E1A; --surface:#0C1828; --surface-2:#122238;
    --ink:#F1F5F9; --ink-soft:#94A3B8; --ink-faint:#64748B;
    --line:rgba(148,163,184,0.14); --line-strong:rgba(148,163,184,0.26);
    --accent:#E2B865; --accent-ink:#0A1220; --accent-soft:rgba(226,184,101,0.12); --accent-soft-ink:#F3D9A2;
    --gold:#E2B865; --gold-soft:rgba(226,184,101,0.12);
    --grad-text:linear-gradient(100deg,#F3D9A2 0%,#E2B865 45%,#C99A45 100%);
    --pending-bg:rgba(234,179,8,0.14); --pending-fg:#FACC6B;
    --confirmed-bg:rgba(34,197,94,0.14); --confirmed-fg:#6EE7A0;
    --declined-bg:rgba(239,68,68,0.14); --declined-fg:#FCA5A5;
    --glass:#0C1828; --nav-bg:rgba(6,14,26,0.85);
  }
}

/* ---------- base ---------- */
body{ background:var(--paper); font-family:var(--font-body); color:var(--ink); -webkit-font-smoothing:antialiased; }
:root[data-theme="dark"] body{
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(226,184,101,0.07), transparent 60%),
    radial-gradient(800px 600px at -10% 10%, rgba(56,107,190,0.10), transparent 60%),
    var(--paper);

}
h1,h2,h3,h4{ font-family:var(--font-display); letter-spacing:-0.02em; }
::selection{ background:rgba(226,184,101,0.35); }

/* Gradient highlight for key words. */
.grad-text{ background:var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* ---------- header ---------- */
.nav{
  background:var(--nav-bg); backdrop-filter:saturate(160%) blur(14px); -webkit-backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid var(--line); padding:12px 32px;
}
.wordmark .name{ font-family:var(--font-display); font-weight:800; letter-spacing:0.22em; font-size:18px; }
.wordmark .tagline{ font-family:var(--font-body); letter-spacing:0.18em; font-size:9.5px; color:var(--accent); font-weight:500; }
.navlink{ border-radius:10px; font-family:var(--font-body); font-weight:500; }
.navlink.active{ background:var(--accent-soft); color:var(--accent-soft-ink); }
.dropdown-menu{ border-radius:var(--radius-sm) !important; border:1px solid var(--line) !important; background:var(--surface) !important; box-shadow:var(--shadow-pop) !important; }

/* ---------- buttons ---------- */
.btn{ border-radius:999px; font-family:var(--font-body); font-weight:600; letter-spacing:0.02em; text-transform:none; font-size:14px; padding:12px 22px; }
.btn-primary{ background:var(--grad-gold); color:#0A1220; border:0; box-shadow:var(--glow); }
.btn-primary:hover{ filter:brightness(1.05); box-shadow:0 14px 34px -10px rgba(201,154,69,0.7); transform:translateY(-1px); }
.btn-ghost{ background:transparent; color:var(--ink); border:1px solid var(--line-strong); }
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent); background:var(--accent-soft); }
.btn-danger-ghost{ background:transparent; border-radius:999px; }

/* ---------- surfaces ---------- */
.form-card, .row-card, .rail-widget, .home-role-card, .launch-choice, .order-card, .record-row, .agree-details, .agree-doc, .agree-option,
.terms-details, .fee-breakdown, .table-wrap, .card, .shop-card, .checkout-summary, .application-strip, .team-promo, .empty-state{
  border-radius:var(--radius) !important;
}
.form-card, .row-card, .rail-widget, .home-role-card, .launch-choice, .shop-card, .checkout-summary, .team-promo{
  background:var(--glass); border:1px solid var(--line); box-shadow:var(--shadow-card);
}
.row-card, .home-role-card, .launch-choice, .shop-card{ transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.row-card:hover, .home-role-card:hover, .shop-card:hover{ border-color:rgba(226,184,101,0.45); box-shadow:var(--shadow-pop); }
.empty-state{ background:var(--glass); border:1px dashed var(--line-strong); }
.fee-breakdown{ background:var(--surface-2); border:1px solid var(--line); }
.message-box, .research-note{ border-radius:var(--radius-sm) !important; }
.research-note{ background:var(--accent-soft); border:1px solid rgba(226,184,101,0.25); border-left:3px solid var(--accent); color:var(--ink); }

/* ---------- inputs ---------- */
select, input[type="text"], input[type="number"], input[type="date"], input[type="time"], input[type="month"], input[type="email"], input[type="password"], input[type="tel"], input[type="search"], input[type="url"], input:not([type]), textarea{
  border-radius:var(--radius-sm); background:var(--surface-2); border:1px solid var(--line-strong); color:var(--ink); padding:10px 14px; font-family:var(--font-body);
}
select:focus, input:focus, textarea:focus{ border-color:var(--accent); box-shadow:0 0 0 3px rgba(226,184,101,0.22); }
.field label{ font-family:var(--font-body); font-weight:600; color:var(--ink-soft); }

/* ---------- labels, chips, pills ---------- */
.eyebrow, .omnia-hero-eyebrow{ color:var(--accent); font-family:var(--font-body); font-weight:600; letter-spacing:0.2em; }
.section-label{ display:flex; align-items:center; gap:10px; color:var(--accent); font-family:var(--font-body); font-weight:600; letter-spacing:0.18em; }
.section-label::before{ content:""; width:28px; height:2px; border-radius:2px; background:var(--grad-gold); flex:none; }
.segment-chip{ border-radius:999px; font-family:var(--font-body); font-weight:500; border:1px solid var(--line-strong); background:transparent; }
.segment-chip.active{ background:var(--grad-gold); color:#0A1220; border-color:transparent; box-shadow:var(--glow); }
.status-pill{ border-radius:999px; letter-spacing:0.06em; }
.tag, .type-pill, .contact-chip, .ref-tag{ border-radius:999px !important; }
.tag{ background:var(--accent-soft); color:var(--accent-soft-ink); border:1px solid rgba(226,184,101,0.25); }

/* ---------- page heads ---------- */
.pagehead h1{ font-weight:800; font-size:clamp(30px,4vw,44px); }

/* ---------- home: hero ---------- */
.omnia-hero{ border-bottom:1px solid var(--line); }
.omnia-hero-content h1{ font-weight:800; font-size:clamp(40px,5.4vw,68px); line-height:1.05; letter-spacing:-0.03em; }
.omnia-hero-content p{ font-size:17px; color:var(--ink-soft); }
.hero-badge{
  display:inline-flex; align-items:center; gap:8px; padding:6px 14px; border-radius:999px; margin-bottom:22px;
  border:1px solid rgba(226,184,101,0.35); background:var(--accent-soft); color:var(--accent-soft-ink);
  font-size:12.5px; font-weight:600; letter-spacing:0.04em;
}
.hero-badge::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 10px var(--accent); }
.omnia-hero-search{ border-radius:999px; overflow:hidden; border:1px solid var(--line-strong); background:var(--surface); box-shadow:var(--shadow-card); padding:4px; }
.omnia-hero-search input, #hero-search{ border:0 !important; background:transparent !important; border-radius:999px !important; box-shadow:none !important; }
.omnia-hero-search button{ border-radius:999px; background:var(--grad-gold); color:#0A1220; font-weight:700; box-shadow:var(--glow); }
.category-tile{ border-radius:var(--radius-sm) !important; background:var(--glass) !important; border:1px solid var(--line) !important; }
.category-tile:hover{ border-color:rgba(226,184,101,0.45) !important; }

/* ---------- home: the two ways in ---------- */
.launch-choice{ position:relative; overflow:hidden; padding:30px 30px 26px; }
.launch-choice::before{ content:""; position:absolute; inset:0 0 auto 0; height:3px; background:var(--grad-gold); }
.launch-choice h2{ font-family:var(--font-display); font-weight:800; font-size:clamp(24px,2.6vw,30px); }
.brand-meaning{ border-radius:var(--radius) !important; background:var(--line) !important; overflow:hidden; }
.brand-letter{ background:var(--glass) !important; }
.brand-letter .mono-letter{ font-family:var(--font-display) !important; font-weight:800 !important; background:var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent !important; font-size:28px !important; }

/* ---------- home: stats ---------- */
.stats-bar{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--line) !important; background:var(--line) !important; }
.stats-bar > *{ background:var(--glass) !important; }
.stats-bar .v, .stats-bar strong, .stats-bar b{ font-family:var(--font-display); font-weight:800; font-size:30px; background:var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* ---------- world tiles & cards ---------- */
.world-tile, .card-pattern, .detail-hero, .shop-img, .product-img{ border-radius:var(--radius) !important; overflow:hidden; }
.world-tile-overlay h3, .home-role-card h3, .card-title, .shop-title{ font-family:var(--font-display); font-weight:700; }
.home-role-icon{ border-radius:12px !important; background:var(--accent-soft) !important; color:var(--accent) !important; }

/* ---------- tables ---------- */
.ledger th{ font-family:var(--font-body); letter-spacing:0.1em; color:var(--ink-faint); }
.ledger tr:hover td{ background:var(--accent-soft); }

/* ---------- footer ---------- */
.site-footer{ border-top:1px solid var(--line); background:var(--surface); margin-top:40px; }
:root[data-theme="dark"] .site-footer{ background:rgba(5,12,22,0.9); }
.site-footer-inner{ max-width:1180px; margin:0 auto; padding:48px 44px 28px; display:grid; grid-template-columns:1.4fr repeat(3, 1fr); gap:32px; }
.site-footer .f-brand .name{ font-family:var(--font-display); font-weight:800; letter-spacing:0.22em; font-size:20px; color:var(--ink); }
.site-footer .f-brand .tag-line{ font-size:10px; letter-spacing:0.2em; color:var(--accent); margin:6px 0 14px; text-transform:uppercase; }
.site-footer p{ color:var(--ink-soft); font-size:14px; line-height:1.6; margin:0; }
.site-footer h4{ font-family:var(--font-body); font-size:11.5px; letter-spacing:0.2em; text-transform:uppercase; color:var(--accent); margin:0 0 14px; font-weight:600; }
.site-footer ul{ list-style:none; padding:0; margin:0; display:grid; gap:9px; }
.site-footer a{ color:var(--ink-soft); text-decoration:none; font-size:14px; }
.site-footer a:hover{ color:var(--accent); }
.site-footer-bottom{ max-width:1180px; margin:0 auto; padding:16px 44px 28px; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; color:var(--ink-faint); font-size:12.5px; }
@media (max-width:860px){
  .site-footer-inner{ grid-template-columns:1fr 1fr; padding:36px 20px 20px; }
  .site-footer-bottom{ padding:14px 20px 90px; }
}
@media (max-width:520px){ .site-footer-inner{ grid-template-columns:1fr; } }

/* ---------- mobile header & bottom bar ---------- */
.mobile-topbar{ background:var(--nav-bg) !important; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid var(--line) !important; }
.bottom-nav{ background:var(--nav-bg) !important; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }

/* Respect reduced motion. */
@media (prefers-reduced-motion: reduce){ .btn, .row-card, .home-role-card, .shop-card{ transition:none; } .btn-primary:hover{ transform:none; } }

/* ---------- numbers & admin stats ---------- */
/* Figures use the modern sans with even-width digits instead of the old typewriter face. */
:root{ --font-mono:'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif; }
.mono, .stat .v, .revenue-stat .v, .earnings-stat .v, .earnings-hero .v, .team-summary .v, .shop-price, .fee-table td.num{ font-variant-numeric:tabular-nums; }
.revenue-stats{ border-radius:var(--radius) !important; }
.revenue-stat{ background:var(--glass) !important; }
.revenue-stat .v, .team-summary .v, .earnings-hero .v{ font-family:var(--font-display); font-weight:800; letter-spacing:-0.02em; }
.revenue-stat.total{ background:var(--accent-soft) !important; }
.revenue-stat.total .v{ background:var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* World tiles: a deeper navy scrim so their titles stay readable in day mode too. */
.world-tile-overlay{ background:linear-gradient(180deg, rgba(6,14,26,0.05) 20%, rgba(6,14,26,0.55) 55%, rgba(6,14,26,0.92) 100%); }
.world-tile-overlay h3{ color:#F8FAFC; font-weight:800; }
.world-tile-count{ color:#E2B865; }

/* World tile photos (img/worlds/<role>.jpg) over the drawn art. */
.world-tile-photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .5s cubic-bezier(.2,.8,.2,1); }
.world-tile:hover .world-tile-photo, .world-tile:focus-visible .world-tile-photo{ transform:scale(1.05); }

/* Category card photos (img/categories/<key>.jpg) over the drawn art. */
.card-cover{ position:relative; overflow:hidden; }
.card-cover-photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .5s cubic-bezier(.2,.8,.2,1); }
.venue-card:hover .card-cover-photo, .venue-card:focus-visible .card-cover-photo{ transform:scale(1.04); }
.card-grid .venue-card{ border-radius:var(--radius); border:1px solid var(--line); box-shadow:var(--shadow-card); }
.card-grid .venue-card .card-body{ padding:14px 16px 18px; }

/* ---------- AKSRIVA logo ---------- */
/* The logo artwork is used as a mask, so it takes the theme's ink colour: deep ink by
   day, ivory at night. aksriva-logo.png is the full lockup (wordmark + tagline),
   aksriva-name.png the wordmark alone. */
.brand-name, .brand-lockup-img{ display:block; background:var(--ink);
  -webkit-mask:var(--logo) center / contain no-repeat; mask:var(--logo) center / contain no-repeat; }
.brand-name{ --logo:url("img/brand/aksriva-name.svg"); aspect-ratio:2980 / 644; }
.brand-lockup-img{ --logo:url("img/brand/aksriva-logo.png"); aspect-ratio:873 / 280; }
.brand-lockup{ display:flex; flex-direction:column; align-items:flex-start; gap:5px; }
.nav .brand-name{ height:29px; }
.brand-tagline{ font-family:var(--font-body); font-size:8px; font-weight:500; letter-spacing:0.17em; text-transform:uppercase; color:var(--accent); white-space:nowrap; }
.mobile-topbar .brand-name{ height:21px; }
.wordmark:hover .brand-name{ background:var(--accent); }
/* Home hero: the full logo, large, in the room right of the headline (wide screens). */
.hero-logo{ display:none; }
@media (min-width:1240px){
  .hero-logo{ display:block; position:absolute; z-index:1; top:50%; right:max(56px, 5vw); transform:translateY(-50%);
    width:min(calc(100vw - 1000px), 520px); }
  :root[data-theme="dark"] .hero-logo{ filter:drop-shadow(0 0 28px rgba(226,184,101,0.18)); }
}
.site-footer .f-logo{ width:230px; max-width:100%; margin-bottom:18px; }

/* ---------- services a provider offers ---------- */
.field-label{ display:block; font-weight:600; color:var(--ink-soft); font-size:13px; margin-bottom:8px; }
.service-picks{ display:grid; grid-template-columns:repeat(auto-fill, minmax(180px, 1fr)); gap:8px; }
.service-pick{ display:flex; align-items:center; gap:8px; padding:10px 12px; border:1px solid var(--line-strong); border-radius:var(--radius-sm); background:var(--surface-2); cursor:pointer; font-size:14px; }
.service-pick:has(input:checked){ border-color:var(--accent); background:var(--accent-soft); }
.notice-slot{ width:100%; max-width:1180px; margin:0 auto; padding:0 44px; }
.notice-slot:empty{ display:none; }
.action-notice{ display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; margin-top:18px; padding:12px 16px;
  border-radius:var(--radius-sm); border:1px solid rgba(226,184,101,0.45); border-left:4px solid var(--accent); background:var(--accent-soft); color:var(--ink); font-size:14px; }
@media (max-width:860px){ .notice-slot{ padding:0 16px; } }
.list-table + .section-label, .empty-state + .section-label{ margin-top:30px; }
.service-pick-all{ margin-bottom:8px; font-weight:600; }
.from-details-head{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:8px; }
.from-details-head a{ font-size:13px; color:var(--accent); }
.stack + .section-label{ margin-top:36px; }
.invite-toggle .linkback{ font-size:13.5px; color:var(--accent); cursor:pointer; text-decoration:underline; text-underline-offset:3px; }

/* ---------- uploads: declaration, review status, work samples, review queue ---------- */
.agree-option.declare{ font-size:13px; margin:4px 0 10px; }
.media-status{ font-size:12.5px; margin-top:6px; }
.media-pending, .media-flagged{ color:#B7791F; }
.media-approved{ color:#2F855A; }
.media-rejected{ color:#C53030; }
.specialty-other{ margin-top:8px; }
.work-list{ display:grid; gap:8px; margin:6px 0 10px; }
.work-item{ display:flex; align-items:center; gap:12px; padding:8px; border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--surface-2); position:relative; }
.work-item img, .work-item .work-doc{ width:56px; height:56px; object-fit:cover; border-radius:8px; flex:none; }
.work-doc{ display:flex; align-items:center; justify-content:center; background:var(--accent-soft); color:var(--accent-soft-ink); font-weight:700; font-size:12px; text-decoration:none; }
.work-meta{ display:flex; flex-direction:column; gap:2px; min-width:0; font-size:13.5px; }
.work-item .remove-thumb{ position:static; margin-left:auto; }
.portfolio-thumb{ position:relative; }
.portfolio-thumb.is-pending img, .portfolio-thumb.is-flagged img, .portfolio-thumb.is-rejected img{ opacity:.55; }
.thumb-status{ position:absolute; left:6px; bottom:6px; font-size:11px; padding:2px 7px; border-radius:999px; background:rgba(6,14,26,.75); color:#fff; }
.review-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:14px; margin-top:16px; }
.review-card{ border:1px solid var(--line); border-radius:var(--radius); background:var(--glass); padding:12px; display:flex; flex-direction:column; gap:10px; }
.review-preview{ display:block; border-radius:var(--radius-sm); overflow:hidden; background:var(--surface-2); aspect-ratio:4/3; }
.review-preview img{ width:100%; height:100%; object-fit:cover; display:block; }
.review-preview .work-doc{ width:100%; height:100%; font-size:20px; }
.review-meta{ display:flex; flex-direction:column; gap:3px; font-size:13.5px; }

/* Member photos fit inside their frame, uncropped, on a soft backdrop. */
/* Card photos fill their frame, centred a little above the middle where faces usually are;
   the profile page shows the whole photo. */
.card-photo{ object-fit:cover !important; object-position:50% 22% !important; background:var(--surface-2) !important; width:100%; }
.detail-photo{ object-fit:contain !important; background:radial-gradient(circle at 50% 40%, var(--surface) 0%, var(--surface-2) 75%) !important; }
.discovery-thumb.thumb-photo{ object-fit:cover; object-position:50% 22%; display:block; width:100%; }
.rail-venue-row img.thumb-photo{ object-fit:cover; object-position:50% 22%; }
.detail-photo{ border:1px solid var(--line); }

/* ---------- notifications ---------- */
.notif-bell{ position:relative; }
.notif-count{ position:absolute; top:-4px; right:-6px; min-width:18px; height:18px; padding:0 5px; border-radius:999px; background:var(--grad-gold); color:#0A1220; font-size:10.5px; font-weight:700; line-height:18px; text-align:center; }
.role-switch{ display:flex; align-items:center; gap:10px; }
.notif.unread{ border-color:rgba(226,184,101,0.55); }
.notif[data-link]{ cursor:pointer; }
.notif-dot{ display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--accent); margin-right:8px; vertical-align:middle; }
.notif-body{ margin-top:4px; }

/* ---------- sharing your work ---------- */
.share-link{ display:grid; grid-template-columns:1fr 2fr 1.6fr auto; gap:8px; align-items:center; margin-bottom:8px; }
.share-link .remove-thumb{ position:static; }
@media (max-width:700px){ .share-link{ grid-template-columns:1fr; } }
.share-media{ display:grid; grid-template-columns:repeat(auto-fill, minmax(130px, 1fr)); gap:10px; }
.share-thumb{ position:relative; display:flex; flex-direction:column; gap:6px; }
.share-thumb img{ width:100%; aspect-ratio:1; object-fit:cover; border-radius:var(--radius-sm); }
.share-thumb select{ font-size:12.5px; padding:6px 8px; }
.work-links{ display:flex; flex-wrap:wrap; gap:8px; }
.work-links a{ text-decoration:none; }

/* Work-brief videos (up to 60 s): My profile, public profile, Content review */
.video-upload{ margin-top:18px; display:grid; gap:10px; }
.video-preview, .profile-video{ display:block; width:100%; max-width:560px; aspect-ratio:16/9; background:#000; border-radius:var(--radius-sm); object-fit:contain; }
.profile-video{ max-width:720px; }
.review-preview video{ width:100%; height:100%; object-fit:contain; background:#000; display:block; }

/* My consents */
.consent-text{ margin-top:8px; }
.consent-text summary{ cursor:pointer; color:var(--accent, #b08a3e); font-size:13px; }
.consent-text .message-box{ margin-top:8px; max-height:320px; overflow:auto; font-size:13px; }

/* Forgot password */
.forgot-link{ display:inline-block; margin-top:4px; font-size:14px; color:var(--accent, #b08a3e); text-decoration:underline; text-underline-offset:3px; }

/* Booking conversation */
.who-label{ font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-faint); font-weight:600; margin-right:4px; }
.booking-thread{ flex-basis:100%; width:100%; margin-top:12px; padding-top:12px; border-top:1px solid var(--line); }
.thread-list{ display:grid; gap:8px; margin:8px 0 12px; max-height:360px; overflow:auto; }
.thread-msg{ padding:10px 12px; border-radius:var(--radius-sm); background:var(--surface-2); max-width:88%; }
.thread-msg.mine{ margin-left:auto; background:color-mix(in srgb, var(--accent, #b08a3e) 14%, var(--surface)); }
.thread-msg.team{ border-left:3px solid var(--accent, #b08a3e); }
.thread-meta{ font-size:12px; color:var(--ink-faint); margin-bottom:4px; }
.thread-body{ white-space:normal; overflow-wrap:anywhere; }
.thread-form{ display:grid; gap:8px; }
.thread-form textarea{ width:100%; }
.thread-form .btn{ justify-self:start; }
.admin-table .thread-row td{ padding-top:0; border-top:0; }

/* Carousels: rows of profile cards that scroll sideways — arrows on laptop and phone,
   swipe, trackpad, Shift + wheel and arrow keys (public/js/art.js wireScrollRails). */
.scroll-rail-bar{ display:flex; justify-content:flex-end; min-height:18px; margin:-4px 2px 6px; }
.scroll-rail-count{ font-size:12px; color:var(--ink-faint); font-variant-numeric:tabular-nums; }
.results-line{ font-size:13px; color:var(--ink-faint); margin:4px 0 -20px; }
.card-rail{ display:flex; gap:18px; overflow-x:auto; overflow-y:hidden; overscroll-behavior-x:contain; scroll-snap-type:x proximity; scroll-padding-left:2px; padding:4px 2px 16px; -webkit-overflow-scrolling:touch; }
.card-rail > .venue-card{ flex:0 0 300px; scroll-snap-align:start; border-radius:var(--radius); border:1px solid var(--line); box-shadow:var(--shadow-card); }
.card-rail .venue-card .card-body{ padding:14px 16px 18px; }
.card-rail .card-pattern{ height:200px; }
.scroll-rail-track:focus-visible{ outline:2px solid var(--accent, #b08a3e); outline-offset:4px; border-radius:var(--radius); }
/* A soft fade on the side that has more to show. */
.rail-fade::before, .rail-fade::after{ content:""; position:absolute; top:24px; bottom:16px; width:36px; pointer-events:none; z-index:1; transition:opacity .2s ease; }
.rail-fade::before{ left:0; background:linear-gradient(to right, var(--paper), transparent); }
.rail-fade::after{ right:0; background:linear-gradient(to left, var(--paper), transparent); }
.rail-fade.at-start::before, .rail-fade.at-end::after, .rail-fade.no-overflow::before, .rail-fade.no-overflow::after{ opacity:0; }
.scroll-rail .scroll-arrow{ width:40px; height:40px; font-size:22px; }
.card-rail-wrap .scroll-arrow{ top:120px; }
/* Arrows on phones too (they were hidden), a little smaller and inside the edge. */
@media (max-width:768px){
  .scroll-rail .scroll-arrow{ display:flex !important; width:34px; height:34px; font-size:19px; }
  .scroll-rail .scroll-arrow-prev{ left:2px; }
  .scroll-rail .scroll-arrow-next{ right:2px; }
  .scroll-rail.no-overflow .scroll-arrow{ display:none !important; }
}
/* Tablets: two cards and a peek; phones: one card and a peek of the next. */
@media (max-width:1024px){ .card-rail > .venue-card{ flex-basis:calc(46% - 9px); } }
@media (max-width:640px){ .card-rail > .venue-card{ flex-basis:80%; } .card-rail{ gap:14px; } }

/* Single-column layouts on tablets and phones: a column must never grow to fit a row
   that's meant to scroll sideways (it pushed the home page to 1,100px on a phone and
   hid the third card). Columns shrink to the screen; the rows scroll inside them. */
.home-grid > *, .browse-grid > *, .detail-grid > *{ min-width:0; }
@media (max-width:1080px){ .home-grid{ grid-template-columns:minmax(0,1fr); } }
@media (max-width:860px){ .browse-grid, .detail-grid{ grid-template-columns:minmax(0,1fr); } }
/* The hero bleeds to the screen edges on phones: match the 16px page gutter exactly. */
@media (max-width:860px){ .omnia-hero{ margin-left:-16px; margin-right:-16px; } }

/* The four categories: spaced tiles on tablets; on phones one per row in a wide frame,
   so each photo and its caption read clearly instead of a cramped 2×2. */
@media (max-width:900px){ .world-grid{ gap:12px; } }
@media (max-width:560px){
  .world-grid{ grid-template-columns:minmax(0,1fr); gap:12px; }
  .world-tile{ aspect-ratio:16/9; }
  .world-tile-art, .world-tile img{ object-fit:cover; object-position:center; }
  .world-tile-overlay{ padding:16px 18px; }
  .world-tile-overlay h3{ font-size:22px; }
  .world-tile-overlay p{ font-size:12.5px; max-width:32ch; }
}
/* Members box: readable in light and dark (its text was dark on dark). */
.concierge-rail{ background:var(--surface) !important; border-color:var(--line) !important; color:var(--ink) !important; }
.concierge-rail h3{ color:var(--ink) !important; }
.concierge-rail p{ color:var(--ink-soft) !important; opacity:1 !important; }
/* Side-rail boxes ("Where AKSRIVA stands", Members): text always wraps inside them. */
.rail-widget{ min-width:0; max-width:100%; overflow-wrap:anywhere; }
.rail-widget-head{ flex-wrap:wrap; }
.rail-widget-head h3{ min-width:0; }
.rail-venue-name{ white-space:normal; }
/* Profile page: space between the service-area box and the next heading. */
.wide-breakdown{ margin-bottom:26px; }
.wide-breakdown .row, .wide-breakdown > div{ gap:12px; }
.wide-breakdown .row > :last-child{ text-align:right; overflow-wrap:anywhere; }

/* Category Control: adding categories; sub-categories shown under their parent */
.add-category{ margin-bottom:22px; }
.add-category summary{ cursor:pointer; list-style:none; }
.add-category summary::-webkit-details-marker{ display:none; }
.add-category[open] summary{ margin-bottom:14px; }
.add-category select{ margin:6px 0 10px 28px; max-width:calc(100% - 28px); }
.category-control-card.is-sub{ border-left:3px solid var(--accent, #b08a3e); }
.sub-of{ font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--accent, #b08a3e); font-weight:600; margin-bottom:6px; }
.sub-cats{ margin:-6px 0 22px; }
@media (max-width:640px){ .add-category .form-row2{ grid-template-columns:minmax(0,1fr); } .add-category select{ margin-left:0; max-width:100%; } }

/* Home tiles and role cards follow how many provider sections are open. */
@media (min-width:901px){
  .world-grid.n3{ grid-template-columns:repeat(3, minmax(0,1fr)); }
  .world-grid.n2{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .world-grid.n1{ grid-template-columns:minmax(0,1fr); }
  .world-grid.n3 .world-tile, .world-grid.n2 .world-tile, .world-grid.n1 .world-tile{ aspect-ratio:4/3; }
  .home-roles.cols-2{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .home-roles.cols-1{ grid-template-columns:minmax(0,1fr); }
}
.world-grid.n0, .home-roles.cols-0{ display:none; }

/* Invite to register: email preview */
.recruit-preview{ width:100%; height:720px; border:1px solid var(--line); border-radius:var(--radius); background:#f6f2ea; margin:12px 0 16px; }
@media (max-width:640px){ .recruit-preview{ height:560px; } }

/* Social outreach */
.so-grid{ display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:18px; align-items:start; margin:16px 0 8px; }
@media (max-width:900px){ .so-grid{ grid-template-columns:minmax(0,1fr); } }
.so-count{ font-weight:400; color:var(--ink-faint); font-size:12px; }
.so-count.over{ color:#c0392b; font-weight:600; }
.so-warn{ color:#b9770e; }
.so-history{ flex-basis:100%; font-size:12.5px; color:var(--ink-soft); border-top:1px solid var(--line); padding-top:8px; margin-top:6px; }
.so-row .row-actions select{ max-width:150px; }
#so-filter{ flex-wrap:wrap; align-items:center; gap:8px; }
#so-filter select, #so-filter input{ width:auto; min-width:170px; flex:1 1 170px; }

/* ---------- "Launching soon" page (Launch Control → coming_soon) ---------- */
body.cs-mode > *:not(#coming-soon):not(.lux-film):not(script){ display:none !important; }
#coming-soon{ min-height:100vh; background:radial-gradient(1200px 600px at 80% -10%, rgba(216,178,94,.18), transparent 60%), radial-gradient(900px 500px at -10% 30%, rgba(60,90,160,.25), transparent 60%), #070d1c; color:#f3ede2; }
.cs-wrap{ max-width:1080px; margin:0 auto; padding:28px 20px 40px; }
.cs-top{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.cs-logo{ height:34px; background:#f3ede2 !important; }
.cs-tag{ font-size:11px; letter-spacing:.24em; text-transform:uppercase; color:#d8b25e; }
.cs-hero{ padding:clamp(48px, 10vw, 110px) 0 36px; max-width:820px; }
.cs-eyebrow{ display:inline-flex; align-items:center; gap:10px; font-size:12px; letter-spacing:.22em; text-transform:uppercase; color:#d8b25e; border:1px solid rgba(216,178,94,.4); padding:7px 14px; border-radius:999px; }
.cs-dot{ width:8px; height:8px; border-radius:50%; background:#d8b25e; box-shadow:0 0 0 0 rgba(216,178,94,.7); animation:cs-pulse 2s infinite; }
@keyframes cs-pulse{ 0%{ box-shadow:0 0 0 0 rgba(216,178,94,.6); } 70%{ box-shadow:0 0 0 10px rgba(216,178,94,0); } 100%{ box-shadow:0 0 0 0 rgba(216,178,94,0); } }
@media (prefers-reduced-motion: reduce){ .cs-dot{ animation:none; } }
.cs-hero h1{ font-size:clamp(34px, 6.2vw, 68px); line-height:1.05; letter-spacing:-.02em; margin:22px 0 18px; color:#fbf7ef; }
.cs-hero h1 em{ font-style:normal; color:#d8b25e; }
.cs-lead{ font-size:clamp(16px, 2vw, 19px); line-height:1.65; color:#c9c2b6; max-width:680px; }
.cs-who{ display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }
.cs-who span{ font-size:13px; padding:6px 12px; border-radius:999px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); color:#e8e1d4; }
.cs-grid{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:16px; margin:10px 0 34px; }
.cs-card{ background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1); border-radius:18px; padding:24px; }
.cs-card-eyebrow{ font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:#d8b25e; margin-bottom:10px; }
.cs-card h2{ font-size:21px; line-height:1.3; color:#fbf7ef; margin:0 0 12px; }
.cs-card ul{ margin:0; padding-left:18px; color:#c9c2b6; line-height:1.8; font-size:15px; }
.cs-join{ background:linear-gradient(135deg, rgba(216,178,94,.16), rgba(216,178,94,.04)); border:1px solid rgba(216,178,94,.35); border-radius:22px; padding:clamp(22px, 4vw, 36px); }
.cs-join h2{ font-size:clamp(24px, 3.4vw, 32px); color:#fbf7ef; margin:0 0 6px; }
.cs-join > p{ color:#c9c2b6; margin:0 0 18px; }
.cs-choice{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:12px; }
.cs-choice label{ cursor:pointer; }
.cs-choice input{ position:absolute; opacity:0; pointer-events:none; }
.cs-choice span{ display:inline-block; padding:9px 16px; border-radius:999px; border:1px solid rgba(255,255,255,.2); color:#e8e1d4; font-size:14px; }
.cs-choice input:checked + span{ background:#d8b25e; color:#141210; border-color:#d8b25e; font-weight:600; }
.cs-choice input:focus-visible + span{ outline:2px solid #d8b25e; outline-offset:2px; }
.cs-fields{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; }
.cs-fields input{ width:100%; padding:13px 14px; border-radius:12px; border:1px solid rgba(255,255,255,.18); background:rgba(7,13,28,.6); color:#fbf7ef; font-size:15px; }
.cs-fields input::placeholder{ color:#8f887c; }
.cs-fields input:focus{ outline:none; border-color:#d8b25e; }
.cs-hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.cs-btn{ margin-top:14px; width:auto; padding:13px 26px; }
.cs-msg{ margin-top:10px; font-size:14px; min-height:18px; }
.cs-msg.err{ color:#ff9b8f; }
.cs-done{ display:flex; flex-direction:column; gap:6px; padding:16px 18px; border-radius:14px; background:rgba(216,178,94,.12); border:1px solid rgba(216,178,94,.35); }
.cs-done b{ font-size:19px; color:#fbf7ef; } .cs-done span{ color:#c9c2b6; }
.cs-letters{ display:grid; grid-template-columns:repeat(7, minmax(0,1fr)); gap:1px; margin:34px 0 26px; border-radius:14px; overflow:hidden; background:rgba(255,255,255,.08); }
.cs-letters div{ background:#0a1224; padding:14px 6px; text-align:center; }
.cs-letters b{ display:block; font-size:22px; color:#d8b25e; } .cs-letters span{ font-size:11px; color:#a39c90; }
.cs-foot{ display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:13px; color:#8f887c; border-top:1px solid rgba(255,255,255,.08); padding-top:18px; }
.cs-foot a{ color:#d8b25e; } .cs-team{ opacity:.75; }
@media (max-width:760px){
  .cs-grid, .cs-fields{ grid-template-columns:minmax(0,1fr); }
  .cs-letters{ grid-template-columns:repeat(4, minmax(0,1fr)); }
  .cs-btn{ width:100%; }
}

/* Signing in before launch: only the logo, the form and Back. */
body.cs-auth #navlist, body.cs-auth #account-slot, body.cs-auth #bottom-nav, body.cs-auth .bottom-nav,
body.cs-auth .site-footer, body.cs-auth .topbar-actions, body.cs-auth #ask-fab{ display:none !important; }

/* "← Back" above every page except Home */
#page-back{ max-width:1180px; width:100%; margin:0 auto; padding:18px 44px 0; box-sizing:border-box; }
#page-back[hidden]{ display:none; }
.page-back-btn{ background:none; border:1px solid var(--line); color:var(--ink-soft); border-radius:999px; padding:7px 14px; font-size:13.5px; cursor:pointer; font-family:inherit; }
.page-back-btn:hover{ color:var(--ink); border-color:var(--line-strong, var(--ink-faint)); }
.page-back-btn:focus-visible{ outline:2px solid var(--accent, #b08a3e); outline-offset:2px; }
body:has(#main .backlink) #page-back{ display:none; }
#page-back:not([hidden]) + #main{ padding-top:14px; }
@media (max-width:860px){ #page-back{ padding:12px 16px 0; } }
.cs-join-first{ margin:26px 0 34px; }

/* Admin → Insights */
.ins-tiles{ margin:14px 0 18px; }
.ins-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; margin-bottom:18px; align-items:start; }
@media (max-width:1000px){ .ins-grid{ grid-template-columns:minmax(0,1fr); } }
.ins-bar{ display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto; gap:10px; align-items:center; font-size:13.5px; padding:5px 0; }
.ins-bar .l{ overflow-wrap:anywhere; color:var(--ink-soft); }
.ins-bar .track{ height:8px; border-radius:99px; background:var(--surface-2); overflow:hidden; }
.ins-bar .track span{ display:block; height:100%; border-radius:99px; background:var(--accent, #b08a3e); }
.ins-bar .v{ font-variant-numeric:tabular-nums; color:var(--ink); }

/* Admin → Registration forms */
.rf-prof{ max-width:420px; margin:6px 0 14px; }
.rf-step{ margin-bottom:14px; }
.rf-list{ margin:0; padding-left:18px; line-height:1.8; }
.rf-only{ color:var(--accent, #b08a3e); }
.rf-table td{ vertical-align:top; }
@media print{
  .nav, .mobile-topbar, #page-back, .site-footer, .segment-chips, .rf-prof, #rf-print, #bottom-nav, .bottom-nav{ display:none !important; }
  .rf-step{ break-inside:avoid; box-shadow:none !important; }
}
.rf-step{ max-width:none !important; }

/* Service tracking: the live clock on a timed booking, and Admin → Service operations */
.svc-panel{ margin:10px 0 6px; padding:12px 14px; border:1px solid var(--line-strong); border-radius:var(--radius-sm, 10px); background:var(--surface-2); }
.svc-head{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.svc-title{ font-size:11px; letter-spacing:0.14em; text-transform:uppercase; color:var(--ink-soft); font-weight:600; }
.svc-sched{ color:var(--ink-soft); font-size:13px; margin-top:4px; }
.svc-clock{ display:flex; flex-direction:column; gap:2px; margin:8px 0 4px; }
.svc-big{ font-size:24px; font-weight:600; font-variant-numeric:tabular-nums; color:var(--ink); }
.svc-clock.over .svc-big{ color:#B4231A; }
.svc-clock.break .svc-big{ color:var(--accent-soft-ink); }
.svc-meta{ font-size:12.5px; color:var(--ink-soft); font-variant-numeric:tabular-nums; }
.svc-actions{ margin-top:8px; }
.svc-steps{ margin-top:8px; font-size:13px; }
.svc-steps summary{ cursor:pointer; color:var(--ink-soft); }
.svc-steps ol{ margin:6px 0 0; padding-left:18px; line-height:1.7; }
.so-row{ cursor:pointer; }
.so-row:hover td{ background:var(--accent-soft); }
.so-table td{ vertical-align:top; }
.so-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:14px; margin-bottom:14px; }
.so-grid .form-card{ max-width:none; margin:0; }
#so-settings, #so-resolve{ max-width:640px; margin-top:16px; }
@media (max-width:640px){ .svc-big{ font-size:20px; } .so-grid{ grid-template-columns:1fr; } }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .svc-clock.over .svc-big{ color:#F87171; } }
:root[data-theme="dark"] .svc-clock.over .svc-big{ color:#F87171; }
.row-card .svc-panel{ flex:1 1 100%; width:100%; box-sizing:border-box; }
.form-card.so-wide{ max-width:none; }

/* Rewards & referrals, Revenue */
.rw-refer{ max-width:none; margin:14px 0; }
.rw-link{ display:flex; gap:8px; flex-wrap:wrap; margin:8px 0; }
.rw-link input{ flex:1 1 260px; min-width:0; }
.rw-filters{ display:flex; gap:10px; flex-wrap:wrap; align-items:flex-end; margin:10px 0 14px; }
.rw-filters label{ display:flex; flex-direction:column; gap:4px; font-size:12.5px; color:var(--ink-soft); }
.rw-prog, #rw-add, #rw-prog, #rw-settings{ max-width:none; margin:12px 0; }
.rw-prog .row-actions input[type="month"]{ max-width:180px; }
.rw-filters select{ width:auto; min-width:170px; flex:0 1 auto; }
.rw-table{ min-width:680px; }
.ledger th.num{ text-align:right; }

/* Phase 4: lifecycle line, business dashboard, packages */
.lifecycle-line{ font-size:12.5px; color:var(--accent-soft-ink); margin-top:3px; font-weight:600; }
.gr-bars{ display:flex; align-items:flex-end; gap:6px; height:140px; padding:10px 0 22px; margin-bottom:12px; }
.gr-bar{ flex:1 1 0; height:100%; display:flex; flex-direction:column; justify-content:flex-end; align-items:center; position:relative; min-width:0; }
.gr-bar span{ display:block; width:100%; max-width:34px; min-height:2px; border-radius:6px 6px 0 0; background:var(--accent); }
.gr-bar em{ position:absolute; bottom:-18px; font-style:normal; font-size:11px; color:var(--ink-soft); }
.pk-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:14px; }
.pk-card, .pk-form{ max-width:none; margin:0 0 14px; }
.pk-part{ border:1px solid var(--line-strong); border-radius:var(--radius-sm, 10px); padding:12px 14px; margin:0 0 12px; }
.pk-part legend{ font-weight:600; padding:0 6px; }
.pk-item{ border-top:1px dashed var(--line); padding-top:8px; }
#pk-new{ max-width:none; }

/* Category Control: the card picture */
.cat-pic{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin:6px 0 10px; }
.cat-pic img{ width:120px; height:84px; object-fit:cover; border-radius:var(--radius-sm, 10px); border:1px solid var(--line); background:var(--surface-2); }
.cat-pic-actions{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.cat-pic-actions label.btn{ cursor:pointer; }

/* Home: the AKSRIVA film — beside the headline on wide screens, below the hero otherwise. */
.hero-film{ position:relative; width:100%; aspect-ratio:16 / 9; border-radius:18px; overflow:hidden; background:#05060a;
  border:1px solid rgba(226,184,101,0.45); box-shadow:0 30px 80px rgba(5,6,10,0.35), 0 0 0 6px rgba(226,184,101,0.06); }
.hero-film-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.hero-film-controls{ position:absolute; right:12px; bottom:12px; display:flex; gap:8px; z-index:2; }
.hero-film-toggle{ width:38px; height:38px; border-radius:50%; border:1px solid rgba(226,184,101,0.6); padding:0;
  background:rgba(5,6,10,0.55); color:#F3D9A2; font-size:13px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center;
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); opacity:0.85; transition:opacity .2s; }
.hero-film-toggle:hover, .hero-film-toggle:focus-visible{ opacity:1; }
.hero-film-desk{ display:none; }
.hero-film-below{ margin:0 0 36px; }
@media (min-width:1240px){
  .hero-film-desk{ display:block; position:absolute; z-index:1; top:50%; right:max(48px, 4vw); transform:translateY(-50%);
    width:min(calc(100vw - 900px), 780px); }
  .hero-film-below{ display:none; }
}
@media (max-width:860px){ .hero-film{ border-radius:14px; } .hero-film-below{ margin:0 0 28px; } }
@media (prefers-reduced-motion: reduce){ .hero-film-toggle{ opacity:1; } }
.hero-film-video{ cursor:zoom-in; }
/* Full screen: the film fills the screen on black, whole (not cropped), buttons larger. */
.hero-film:fullscreen{ width:100vw; height:100vh; aspect-ratio:auto; border:0; border-radius:0; box-shadow:none; background:#000; }
.hero-film:-webkit-full-screen{ width:100vw; height:100vh; aspect-ratio:auto; border:0; border-radius:0; box-shadow:none; background:#000; }
.hero-film:fullscreen .hero-film-video{ object-fit:contain; cursor:zoom-out; }
.hero-film:-webkit-full-screen .hero-film-video{ object-fit:contain; cursor:zoom-out; }
.hero-film:fullscreen .hero-film-controls{ right:28px; bottom:28px; gap:12px; }
.hero-film:fullscreen .hero-film-toggle{ width:48px; height:48px; font-size:15px; }
.hero-film-sound.on{ background:rgba(226,184,101,0.9); color:#05060a; border-color:#E2B865; opacity:1; }
/* "Launching soon": Sign in, top right — for members and the AKSRIVA team. */
.cs-signin{ margin-left:auto; padding:9px 18px; border-radius:999px; border:1px solid rgba(216,178,94,.55); color:#f3e7cc; font-size:14px; font-weight:500;
  letter-spacing:.04em; text-decoration:none; transition:background .2s, color .2s; }
.cs-signin:hover, .cs-signin:focus-visible{ background:#d8b25e; color:#0b0f19; }
@media (max-width:640px){ .cs-top .cs-tag{ display:none; } }
/* Menus: pages the AKSRIVA team sees that members can't yet. */
.nav-off{ display:inline-block; margin-left:6px; padding:1px 7px; border-radius:999px; font-size:10px; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  vertical-align:middle; color:var(--ink-faint); border:1px solid var(--line-strong); }

/* Admin → Playbook video */
.pb-layout{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:18px; align-items:start; margin-bottom:18px; }
.pb-player{ position:relative; background:#05060A; border-radius:10px; overflow:hidden; box-shadow:0 18px 50px rgba(0,0,0,.18); }
.pb-player video{ display:block; width:100%; aspect-ratio:16/9; background:#05060A; }
.pb-mark{ position:absolute; top:12px; right:14px; font-size:12px; letter-spacing:.08em; color:rgba(246,238,223,.55); pointer-events:none; text-shadow:0 1px 6px rgba(0,0,0,.8); }
.pb-chapters{ max-height:calc(100vh - 160px); overflow:auto; position:sticky; top:90px; padding:16px; }
.pb-chapters h3{ margin:0 0 8px; }
.pb-parts, .pb-scenes{ list-style:none; margin:0; padding:0; }
.pb-scenes{ margin:2px 0 10px 10px; border-left:1px solid var(--line); }
.pb-jump{ display:flex; width:100%; justify-content:space-between; gap:10px; background:none; border:0; padding:5px 8px; text-align:left; font:inherit; font-size:13.5px; color:inherit; cursor:pointer; border-radius:6px; }
.pb-jump em{ font-style:normal; opacity:.6; font-variant-numeric:tabular-nums; }
.pb-jump:hover{ background:var(--accent-soft); }
.pb-jump.on{ background:var(--accent-soft); color:var(--accent-soft-ink); font-weight:600; }
.pb-part{ font-weight:600; font-size:14px; margin-top:4px; }
.pb-transcript{ margin-top:14px; }
.pb-transcript summary{ cursor:pointer; }
.pb-transcript h4{ margin:16px 0 6px; color:var(--accent); }
.pb-transcript p{ margin:0 0 8px; line-height:1.6; }
.form-card.pb-share, .form-card.pb-transcript{ max-width:none; }
.form-grid.pb-share-form{ display:grid; grid-template-columns:minmax(220px,2fr) minmax(150px,1fr) minmax(200px,2fr) auto; align-items:end; gap:12px; }
.pb-share-form .field-error{ grid-column:1/-1; }
@media (max-width: 900px){
  .pb-layout{ grid-template-columns:1fr; }
  .pb-chapters{ position:static; max-height:none; }
  .form-grid.pb-share-form{ grid-template-columns:1fr; }
}
.pb-tabs{ margin:0 0 16px; }
