/* VG-65: tokens and components. Dark only, charcoal ground with gold and bronze, the same
   brand as the Skool covers and the ads. No framework. */
:root {
    --ground: #0b0a08;
    --surface: #16130f;
    --surface-2: #201a14;
    --line: #2f2620;
    --gold: #e7a868;
    --gold-dim: #a9713c;
    --text: #f3ece4;
    --text-dim: #bca292;
    --text-faint: #8d7864;
    --danger: #ff8d8d;
    --ok: #5ce89a;
    --r: 12px;
    --r-lg: 18px;
    --pad: 16px;
    --font: 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
    --font-display: 'Georgia', 'Times New Roman', serif;
    --ink: #1a0e07;
    --shadow: 0 18px 44px rgba(0, 0, 0, .55);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    background: radial-gradient(1100px 520px at 50% -180px, rgba(231,168,104,.07), transparent 70%), var(--ground);
    color: var(--text); font-family: var(--font);
    font-size: 16px; line-height: 1.55; min-height: 100vh; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

.wrap { max-width: 680px; margin: 0 auto; padding: 0 16px 80px; }
.wrap-wide { max-width: 1120px; margin: 0 auto; padding: 0 20px 80px; }

/* a hairline that fades at both ends, the rule under every hero and section */
.rule { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--gold-dim) 30%, var(--gold) 50%, var(--gold-dim) 70%, transparent); opacity: .7; }

/* ---------- top bar ---------- */
.bar {
    position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 22px;
    height: 62px; padding: 0 22px; background: rgba(11,10,8,.86); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(169,113,60,.28);
}
.bar .brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 400;
    letter-spacing: .22em; font-size: 15px; text-transform: uppercase; color: var(--text); }
.bar .brand:hover { text-decoration: none; color: var(--gold); }
.bar .brand img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold-dim), 0 0 18px rgba(231,168,104,.25); }
.bar .brand span { white-space: nowrap; }
.bar .spacer { flex: 1; }
.bar a.navlink { color: var(--text-dim); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.bar a.navlink:hover { color: var(--gold); text-decoration: none; }
.bar a.navcta { color: var(--ink); background: linear-gradient(180deg, var(--gold), var(--gold-dim)); padding: 9px 18px;
    border-radius: 999px; font-weight: 700; letter-spacing: .12em; box-shadow: 0 6px 18px rgba(231,168,104,.22); }
.bar a.navcta:hover { color: var(--ink); filter: brightness(1.08); }
@media (max-width: 540px) {
  .bar { gap: 10px; padding: 0 12px; height: 56px; }
  .bar .brand { gap: 8px; letter-spacing: .12em; font-size: 12.5px; }
  .bar .brand img { width: 30px; height: 30px; }
  .bar a.navlink { font-size: 10.5px; letter-spacing: .08em; }
  .bar a.navcta { padding: 7px 12px; }
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dim) 130%); color: var(--ink); border: none; border-radius: 999px;
    padding: 13px 26px; font: inherit; font-weight: 700; cursor: pointer; text-align: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 8px 22px rgba(231,168,104,.18);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.06); text-decoration: none; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 12px 28px rgba(231,168,104,.26); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: default; }
.btn .ico { flex-shrink: 0; }
.btn-ghost { background: rgba(11,10,8,.45); color: var(--text); border: 1px solid rgba(243,236,228,.35); backdrop-filter: blur(6px); box-shadow: none; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); box-shadow: none; }
.btn-quiet { background: var(--surface-2); border: 1px solid var(--line); color: var(--text); box-shadow: none; }
.btn-quiet:hover { border-color: var(--gold-dim); box-shadow: none; }
.btn-danger { background: transparent; border: 1px solid rgba(255,141,141,.5); color: var(--danger); box-shadow: none; }
.btn-danger:hover { box-shadow: none; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ---------- forms ---------- */
label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 7px; font-weight: 700; }
input[type=text], input[type=email], input[type=password], input[type=number],
input[type=search], input[type=tel], input[type=url], input:not([type]), textarea, select {
    width: 100%; background: rgba(2,3,6,.55); border: 1px solid var(--line); border-radius: 10px;
    padding: 12px 14px; color: var(--text); font: inherit; transition: border-color .15s ease, box-shadow .15s ease;
}
input::placeholder, textarea::placeholder { color: var(--text-faint); opacity: .75; }
input:focus, textarea:focus, select:focus { outline: none; border-color: rgba(231,168,104,.6); box-shadow: 0 0 0 3px rgba(231,168,104,.14); }
select { appearance: none; -webkit-appearance: none; padding-right: 40px;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-faint) 50%), linear-gradient(135deg, var(--text-faint) 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
select option { background: var(--surface-2); color: var(--text); }
textarea { min-height: 96px; resize: vertical; }
input[type=file] { width: 100%; min-width: 0; color: var(--text-dim); font-size: 13.5px; padding: 6px 0; }
input[type=file]::file-selector-button { font: inherit; font-weight: 700; font-size: 13px; color: var(--text); background: var(--surface-2);
    border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; margin-right: 10px; cursor: pointer; }
input[type=file]::file-selector-button:hover { border-color: var(--gold-dim); }
input[type=checkbox] {
    appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 1px solid var(--gold-dim); border-radius: 6px;
    background: rgba(2,3,6,.6); display: inline-grid; place-content: center; cursor: pointer; vertical-align: middle; flex-shrink: 0;
    transition: background .12s ease, border-color .12s ease;
}
input[type=checkbox]::before { content: ''; width: 10px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
    transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
input[type=checkbox]:checked { background: var(--gold); border-color: var(--gold); }
input[type=checkbox]:checked::before { opacity: 1; }
input[type=checkbox]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.field { margin-bottom: 18px; }
.field .hint { display: block; margin-top: 7px; }
.check { display: block; position: relative; padding-left: 32px; margin-bottom: 12px; font-size: 14.5px; color: var(--text-dim);
    text-transform: none; letter-spacing: 0; line-height: 1.5; font-weight: 400; cursor: pointer; }
.check input { position: absolute; left: 0; top: 1px; margin: 0; }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.err, .ok { font-size: 14px; margin-bottom: 14px; padding: 11px 14px; border-radius: 10px; border: 1px solid; }
.err { color: var(--danger); border-color: rgba(255,141,141,.35); background: rgba(255,141,141,.06); }
.ok { color: var(--ok); border-color: rgba(92,232,154,.3); background: rgba(92,232,154,.05); }
.hint { color: var(--text-faint); font-size: 13px; }

/* ---------- cards, panels ---------- */
.card { background: linear-gradient(180deg, var(--surface-2), var(--surface) 40%); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; margin-bottom: 14px; }
.panel > .eyebrow:first-child { padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-dim); font-weight: 700; }
h1 { font-family: var(--font-display); font-size: 34px; line-height: 1.12; font-weight: 400; letter-spacing: .005em; }
h2 { font-family: var(--font-display); font-size: 24px; line-height: 1.25; margin-bottom: 10px; font-weight: 400; }
h3 { font-size: 17px; margin-bottom: 8px; }
.prose p, .prose li { color: var(--text-dim); margin-bottom: 12px; }
.prose h1 { margin-bottom: 8px; }
.prose h2 { color: var(--text); margin-top: 30px; }
.prose ul { margin-left: 20px; }

/* ---------- profile header ---------- */
.banner { position: relative; height: clamp(260px, 39vw, 500px); background: var(--surface-2) center 52% / cover no-repeat; }
.banner::after { content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,10,8,.4) 0%, rgba(11,10,8,0) 26%, rgba(11,10,8,.12) 56%, rgba(11,10,8,.72) 82%, var(--ground) 100%); }
.pwrap { max-width: 1060px; margin: 0 auto; padding: 0 16px 80px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 36px; }
.pside { position: relative; z-index: 1; }
.pmain { min-width: 0; }
.phead { margin-top: -74px; }
.avatar {
    width: 132px; height: 132px; border-radius: 50%; border: 4px solid var(--ground);
    background: var(--surface-2) center/cover; object-fit: cover;
    box-shadow: 0 0 0 1px var(--gold-dim), 0 16px 40px rgba(0,0,0,.6);
}
.pname { font-family: var(--font-display); font-size: 38px; line-height: 1.05; margin-top: 14px; }
.ptagline { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 18px; margin-top: 6px; }
.pmeta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--text-faint); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; margin-top: 12px; }
.pbio { color: var(--text-dim); margin-top: 14px; white-space: pre-wrap; max-width: 60ch; }
.ainotice { font-size: 12.5px; color: var(--text-faint); margin-top: 10px; letter-spacing: .02em; }
.subrow { display: flex; gap: 10px; align-items: center; margin: 20px 0 6px; flex-wrap: wrap; }
.price-pill { display: inline-flex; align-items: baseline; gap: 5px; background: rgba(231,168,104,.1);
    border: 1px solid var(--gold-dim); color: var(--gold); border-radius: 999px; padding: 9px 16px; font-weight: 700; }
.backlink { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--text-faint); font-size: 12px;
    letter-spacing: .14em; text-transform: uppercase; }
.backlink:hover { color: var(--gold); text-decoration: none; }
.backlink .ico { transform: scaleX(-1); }
@media (min-width: 980px) {
  .pwrap { grid-template-columns: 330px minmax(0, 640px); justify-content: center; align-items: start; }
  .pside { position: sticky; top: 78px; }
  .pmain { padding-top: 26px; }
  .pbio { max-width: none; }
}

/* ---------- feed ---------- */
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 20px; }
.post-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.post-head::before { content: ''; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    background: var(--surface-2) var(--avatar, none) center / cover no-repeat; box-shadow: 0 0 0 1px var(--gold-dim); }
.post-head .who { font-family: var(--font-display); font-size: 17px; }
.post-head .when { color: var(--text-faint); font-size: 12.5px; }
.post-head .pin { margin-left: auto; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dim);
    border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.post-caption { padding: 0 16px 14px; color: var(--text); white-space: pre-wrap; }
.media { display: grid; gap: 3px; background: var(--ground); }
.media.n2 { grid-template-columns: 1fr 1fr; }
.media.n3, .media.n4 { grid-template-columns: 1fr 1fr; }
.media.n3 .media-item:nth-child(3) { grid-column: span 2; aspect-ratio: 16 / 10; }
.media-item { position: relative; background: linear-gradient(160deg, var(--surface-2), var(--ground)); aspect-ratio: 4 / 5; overflow: hidden; }
.media-item img, .media-item video { width: 100%; height: 100%; object-fit: cover; }
.media-item.locked img { filter: saturate(.55) brightness(.75); transform: scale(1.02); }
.lock {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; background: linear-gradient(rgba(11,10,8,.2), rgba(11,10,8,.7)); text-align: center; padding: 18px;
}
.lock .lock-icon { width: 30px; height: 30px; color: var(--gold); padding: 15px; box-sizing: content-box; border-radius: 50%;
    border: 1px solid rgba(231,168,104,.55); background: rgba(11,10,8,.55); backdrop-filter: blur(6px); }
.lock .lock-label { font-family: var(--font-display); font-size: 17px; color: var(--text); text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.vplay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.vplay span { width: 56px; height: 56px; border-radius: 50%; background: rgba(11,10,8,.6); border: 2px solid rgba(243,236,228,.8);
    display: flex; align-items: center; justify-content: center; }
.post-foot { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); }
.like { display: inline-flex; align-items: center; gap: 7px; background: none; border: none; color: var(--text-dim); font: inherit; cursor: pointer; padding: 0; }
.like:hover { color: var(--gold); }
.like.on { color: var(--gold); }
.like svg { width: 19px; height: 19px; }
.empty { text-align: center; color: var(--text-faint); padding: 48px 20px; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(4,3,2,.96); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img, .lb video { max-width: 96vw; max-height: 92vh; object-fit: contain; }
.lb-close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--text); font-size: 30px; cursor: pointer; line-height: 1; }

/* ---------- age gate ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 22px; overflow: auto;
    background: linear-gradient(180deg, rgba(11,10,8,.78), rgba(11,10,8,.94)), url('/art/banner.jpg') center / cover no-repeat var(--ground); }
.gate-inner { max-width: 470px; width: 100%; text-align: center; padding: 38px 30px 28px; border: 1px solid rgba(169,113,60,.45); border-radius: 22px;
    background: rgba(22,19,15,.86); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.gate h1 { font-size: 30px; margin-bottom: 12px; }
.gate p { color: var(--text-dim); margin-bottom: 10px; font-size: 15px; }
.gate .knot { color: var(--gold-dim); margin: 0 auto 16px; display: block; }
.gate .row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.gate .row .btn { flex: 1; white-space: nowrap; }
.gate .fine { font-size: 12.5px; color: var(--text-faint); margin-top: 22px; }
.gate img.mark { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold-dim), 0 0 30px rgba(231,168,104,.3); }

/* ---------- auth ---------- */
.auth { max-width: 460px; margin: 0 auto; padding: 40px 16px 80px; }
.auth-mark { text-align: center; margin-bottom: 22px; }
.auth-mark img { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 12px; box-shadow: 0 0 0 1px var(--gold-dim), 0 0 26px rgba(231,168,104,.25); }
.auth-mark .knot { color: var(--gold-dim); display: block; margin: 0 auto; }
.auth h1 { text-align: center; font-size: 32px; }
.auth .lede { text-align: center; margin: 10px 0 22px; }
.auth .card { margin-top: 4px; }
.auth .after { text-align: center; margin-top: 20px; }

/* ---------- checkout ---------- */
.checkout { display: grid; gap: 18px; }
.co-head { display: flex; align-items: center; gap: 16px; }
.co-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px var(--gold-dim), 0 8px 24px rgba(0,0,0,.5); }
.co-head h1 { margin-top: 4px; font-size: 30px; }
.sumrow { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--text-dim); }
.sumrow.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; color: var(--text); font-weight: 700; font-size: 18px; align-items: baseline; }
.sumrow.total span:last-child { font-family: var(--font-display); font-size: 30px; color: var(--gold); font-weight: 400; }
.legalnote { font-size: 13px; color: var(--text-faint); line-height: 1.6; }
.legalnote b { color: var(--text-dim); }
.cardgrid { display: grid; grid-template-columns: 1fr 110px 110px; gap: 12px; }
@media (max-width: 460px) { .cardgrid { grid-template-columns: 1fr 1fr; } .cardgrid .cc { grid-column: 1 / -1; } }
.secure { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.secure .ico { color: var(--ok); }
.co-formhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- admin ---------- */
.adm-nav { display: flex; gap: 4px; margin-bottom: 22px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
    overflow-x: auto; scrollbar-width: none; width: max-content; max-width: 100%; }
.adm-nav::-webkit-scrollbar { display: none; }
.adm-nav a { padding: 8px 15px; border-radius: 999px; color: var(--text-dim); font-size: 13.5px; white-space: nowrap; flex-shrink: 0; }
.adm-nav a:hover { color: var(--text); text-decoration: none; }
.adm-nav a.on { color: var(--ink); background: linear-gradient(180deg, var(--gold), var(--gold-dim) 140%); font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; position: relative; overflow: hidden; }
.stat::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(180deg, var(--gold), transparent); }
.stat .v { font-family: var(--font-display); font-size: 28px; color: var(--gold); line-height: 1.1; }
.stat .k { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); margin-top: 7px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tbl th { text-align: left; color: var(--text-faint); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line); color: var(--text-dim); vertical-align: middle; }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl tr:hover td { background: rgba(231,168,104,.03); }
.tag { display: inline-block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-dim); }
.tag.ok { color: var(--ok); border-color: rgba(92,232,154,.4); }
.tag.warn { color: var(--gold); border-color: var(--gold-dim); }
.tag.bad { color: var(--danger); border-color: rgba(255,141,141,.4); }
.scroll-x { overflow-x: auto; }
.adm-form { max-width: 640px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 48px; padding: 34px 16px 56px; background: linear-gradient(180deg, transparent, rgba(22,19,15,.6)); }
.foot .foot-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); letter-spacing: .22em; text-transform: uppercase; font-size: 14px; color: var(--text-dim); margin-bottom: 18px; }
.foot .foot-brand span { white-space: nowrap; }
.foot .foot-brand img { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold-dim); }
@media (max-width: 540px) { .foot .foot-brand .knot { display: none; } }
.foot .foot-brand .knot { color: var(--gold-dim); margin-left: 6px; }
.foot .links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 16px; }
.foot .links a { color: var(--text-dim); font-size: 13px; letter-spacing: .04em; }
.foot .links a:hover { color: var(--gold); text-decoration: none; }
.foot .fine { color: var(--text-faint); font-size: 12.5px; line-height: 1.8; }

/* VG-65: empty states, the icon set and the design system page */
.ico { vertical-align: -3px; }
.empty { text-align: center; color: var(--text-faint); padding: 56px 20px; border: 1px dashed var(--line); border-radius: var(--r-lg); }
.empty-ico { color: var(--gold-dim); margin-bottom: 10px; }
.empty-title { font-family: var(--font-display); font-size: 22px; color: var(--text-dim); }
.sw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; margin-top: 12px; }
.sw-chip { height: 46px; border-radius: 8px; border: 1px solid var(--line); }
.sw-name { margin-top: 6px; font-size: 13px; color: var(--text-dim); }
.sw-var { font-size: 11px; color: var(--text-faint); }
.cmp-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.cmp-row:first-of-type { border-top: 0; }
.cmp-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.ico-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px; margin-top: 12px; }
.ico-cell { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--line); border-radius: var(--r); color: var(--gold); }
.ico-cell span { font-size: 11px; color: var(--text-faint); }
.art-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 12px; }
.art-grid img { width: 100%; max-height: 180px; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); display: block; }
.art-grid figcaption { margin-top: 6px; }
.tbl .prov { max-width: 220px; font-size: 12px; color: var(--text-dim); }
.tbl .prov .hint { display: block; font-size: 11px; }
.stat .v.bad { color: var(--danger); }
.opsrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.lamp { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); color: var(--text-faint); }
.lamp.on { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
.lamp span { color: var(--text-dim); font-size: 13px; }
.lamp small { color: var(--text-faint); font-size: 11px; }

/* ---------- the network page: the girls, the search and the news ---------- */
.rowbetween { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tiny-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 1px var(--line); }
.prefixed { display: flex; align-items: center; gap: 0; }
.prefixed span { padding: 0 12px; color: var(--text-faint); border: 1px solid var(--line); border-right: 0; background: rgba(2,3,6,.35);
    border-radius: 10px 0 0 10px; align-self: stretch; display: flex; align-items: center; }
.prefixed input { border-radius: 0 10px 10px 0; flex: 1; }
.cardgrid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.cardgrid3 .field, .artgrid .field { display: flex; flex-direction: column; }
.cardgrid3 .field input, .artgrid .field input { margin-top: auto; }
.artgrid { display: grid; grid-template-columns: 1fr 1fr 120px; gap: 12px; }
@media (max-width: 560px) { .artgrid { grid-template-columns: 1fr; } }

/* The landing page: a hero made of the girls, and cards that lead with her picture */
.hero { position: relative; min-height: clamp(560px, 82vh, 780px); display: flex; align-items: flex-end; justify-content: center;
    overflow: hidden; background: var(--ground); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dim) 25%, var(--gold) 50%, var(--gold-dim) 75%, transparent); opacity: .8; }
.hero-strip { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.hero-panel { position: relative; background-size: cover; background-position: center 16%; filter: saturate(.92) contrast(1.04); }
.hero-panel::after { content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(11,10,8,.5), transparent 16%, transparent 84%, rgba(11,10,8,.5)); }
.hero-veil { position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,10,8,.66) 0%, rgba(11,10,8,.06) 24%, rgba(11,10,8,.1) 44%, rgba(11,10,8,.78) 70%, var(--ground) 100%); }
.hero-inner { position: relative; text-align: center; padding: 140px 20px 56px; max-width: 840px; }
.hero-knot { color: var(--gold); opacity: .95; margin-bottom: 16px; filter: drop-shadow(0 1px 6px rgba(0,0,0,.8)); }
.hero-eyebrow { color: var(--gold); font-size: 12px; letter-spacing: .34em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px;
    text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.hero h1 { font-family: var(--font-display); font-size: clamp(48px, 7.6vw, 92px); line-height: .98; letter-spacing: .015em; font-weight: 400;
    text-shadow: 0 2px 30px rgba(0,0,0,.7), 0 0 60px rgba(231,168,104,.12); }
.hero-line { font-family: var(--font-display); font-style: italic; font-size: clamp(18px, 2.2vw, 23px); color: var(--text); margin-top: 18px;
    text-shadow: 0 1px 14px rgba(0,0,0,.9); opacity: .92; }
.hero-counts { color: var(--gold); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-top: 16px; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.hero-notice { color: var(--text-faint); font-size: 12px; margin-top: 24px; }

.sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 44px 0 22px; }
.sechead h2 { font-family: var(--font-display); font-size: 34px; margin: 4px 0 0; }
.net-search { display: flex; gap: 8px; margin: 0; min-width: 280px; flex: 0 1 440px; }
.net-search .q { position: relative; flex: 1; }
.net-search .q .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-faint); pointer-events: none; }
.net-search input { padding: 11px 16px 11px 44px; border-radius: 999px; background: var(--surface); }
.net-search input:focus { background: rgba(2,3,6,.55); }

.girl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.girl-card { display: flex; flex-direction: column; position: relative; border: 1px solid var(--line);
    border-radius: var(--r-lg); overflow: hidden; background: var(--surface); text-decoration: none; color: inherit;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.girl-card:hover { border-color: var(--gold-dim); text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); }
.girl-shot { position: relative; aspect-ratio: 4 / 5; background: var(--surface-2) center 15% / cover no-repeat; transition: filter .3s ease; }
.girl-shot::after { content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,10,8,.12) 0%, rgba(11,10,8,0) 22%, rgba(11,10,8,0) 48%, rgba(11,10,8,.62) 76%, rgba(11,10,8,.96) 100%); }
.girl-card:hover .girl-shot { filter: saturate(1.06) brightness(1.05); }
.girl-shot-foot { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; align-items: center; gap: 12px; }
.girl-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
    box-shadow: 0 0 0 2px var(--ground), 0 0 0 3px var(--gold-dim); }
.girl-name { font-family: var(--font-display); font-size: 27px; line-height: 1.1; color: var(--text); text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.girl-tagline { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 14px; margin-top: 2px; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.girl-flag { position: absolute; top: 14px; right: 14px; z-index: 1; font-size: 10.5px; letter-spacing: .12em;
    text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(11,10,8,.7); backdrop-filter: blur(6px);
    color: var(--gold); border: 1px solid var(--gold-dim); }
.girl-flag.on { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
.girl-body { flex: 1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; padding: 13px 16px 11px; }
.girl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.girl-meta { display: flex; gap: 10px; color: var(--text-faint); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.girl-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px;
    border-top: 1px solid var(--line); margin-top: auto; background: rgba(2,3,6,.2); }
.girl-go { color: var(--gold); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.girl-card:hover .girl-go .ico { transform: translateX(3px); }
.girl-go .ico { transition: transform .2s ease; }
.price-pill.sm { font-size: 13.5px; padding: 6px 12px; }
.price-pill.sm small { color: var(--text-dim); font-weight: 400; }

.bundle-band { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    margin: 40px 0 10px; padding: 30px 32px; border: 1px solid var(--gold-dim); border-radius: var(--r-lg); overflow: hidden;
    background: linear-gradient(90deg, rgba(22,19,15,.97) 0%, rgba(22,19,15,.9) 55%, rgba(22,19,15,.6) 100%), url('/art/banner.jpg') center / cover no-repeat var(--surface);
    box-shadow: inset 0 0 0 1px rgba(231,168,104,.08), 0 20px 50px rgba(0,0,0,.4); }
.bundle-band h3 { font-family: var(--font-display); font-size: 30px; font-weight: 400; margin: 6px 0 8px; }
.bundle-band .hint { font-size: 14px; max-width: 56ch; }
.bundle-band .btn { position: relative; }
.divider { display: flex; justify-content: center; color: var(--gold-dim); margin: 40px 0 18px; }
.news { margin: 34px 0 40px; }
.news-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 14px; }
.news-item { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.news-when { color: var(--gold-dim); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.news-item h3 { font-family: var(--font-display); font-size: 21px; margin-top: 8px; font-weight: 400; }
.news-item p { color: var(--text-dim); font-size: 14px; margin-top: 8px; max-width: 70ch; }
.newslink { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--gold); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
@media (max-width: 720px) {
  .hero { min-height: 520px; }
  .hero-strip { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .hero-panel { background-position: center 20%; }
  .hero-panel:only-child, .hero-panel:nth-child(3):last-child { grid-column: span 2; }
  .hero-inner { padding-top: 110px; }
  .sechead h2 { font-size: 28px; }
  .net-search { flex: 1 1 100%; min-width: 0; }
  .bundle-band { padding: 24px 20px; }
  .bundle-band h3 { font-size: 26px; }
  .adm-nav { flex-wrap: wrap; border-radius: 18px; width: auto; }
  .banner { height: clamp(220px, 60vw, 300px); }
  .phead { margin-top: -64px; }
  .avatar { width: 112px; height: 112px; }
  .pname { font-size: 32px; }
}
