/* Banded — "The humidor at night" */
:root {
    --humidor:   #1a130d;   /* deep tobacco-dark ground */
    --panel:     #221810;   /* raised surface */
    --oxblood:   #5e1a1a;   /* leather red — the band's field */
    --oxblood-2: #7a2730;
    --gilt:      #c9a24b;    /* antique gold foil */
    --gilt-hi:   #e8cd87;    /* lit gold (hover / highlight) */
    --ember:     #d2611c;    /* the lit tip — used sparingly */
    --parchment: #e7dcc4;    /* aged label paper — primary text */
    --ash:       #9a8c74;    /* smoke — secondary text */
    --rule:      rgba(201,162,75,.32);
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
    background:
        radial-gradient(120% 80% at 50% -10%, rgba(210,97,28,.10), transparent 55%),
        repeating-linear-gradient(90deg, rgba(0,0,0,0) 0 7px, rgba(0,0,0,.10) 7px 8px),
        var(--humidor);
    color: var(--parchment);
    font-family: "Spectral", Georgia, serif;
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

/* The template wraps content; let it breathe full-bleed. */
.banded {
    max-width: 600px;
    margin: 0 auto;
    padding: 2.4rem 1.25rem 6.5rem;   /* bottom clears the fixed tab bar */
    min-height: 100dvh;               /* fill the screen so the beta line can center below */
    display: flex;
    flex-direction: column;
}

/* ---------- auth bar ---------- */
.authbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .9rem;
    max-width: 600px;
    margin: 0 auto;
    padding: .7rem 1.25rem 0;
    font-size: .78rem;
}
.authbar__left { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.authbar__who { color: var(--ash); font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Always-visible "we're in beta" badge — a quiet chip, links to What's new. */
.authbar__beta {
    flex: none; text-decoration: none;
    font-family: "Cinzel", serif; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    font-size: .58rem; color: var(--ember);
    border: 1px solid rgba(210,97,28,.5); border-radius: 999px; padding: .12rem .5rem;
    transition: color .2s, border-color .2s;
}
.authbar__beta:hover { color: #f0873f; border-color: var(--ember); }
.authbar__menu {
    background: none; border: none; cursor: pointer;
    color: var(--gilt); font-size: 1.3rem; line-height: 1; padding: 0 .2rem;
}
.authbar__menu:hover { color: var(--gilt-hi); }

/* header hamburger dropdown — low-frequency utilities, never destinations */
.menu-scrim { position: fixed; inset: 0; z-index: 40; }
.menu {
    position: fixed; top: 2.9rem; right: .8rem; z-index: 41; min-width: 12rem;
    display: flex; flex-direction: column;
    background: var(--panel); border: 1px solid var(--gilt); border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,.5); overflow: hidden;
}
.menu__item {
    background: none; border: none; cursor: pointer; text-align: left;
    padding: .8rem 1rem; color: var(--parchment); text-decoration: none;
    font-family: "Cinzel", serif; font-size: .76rem; letter-spacing: .06em;
    border-bottom: 1px solid var(--rule);
}
.menu__item:last-child { border-bottom: none; }
.menu__item:hover { background: rgba(201,162,75,.12); color: var(--gilt-hi); }
.menu__item--out { color: var(--ash); }
.authbar__out {
    background: none; border: none; cursor: pointer; padding: 0;
    color: var(--gilt);
    text-decoration: none;
    font-family: "Cinzel", serif;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .78rem;
}
.authbar__out:hover { color: var(--gilt-hi); }

/* ---------- modal (feedback / bug report) ---------- */
.modal-scrim {
    position: fixed; inset: 0; z-index: 1100;
    background: rgba(8, 5, 3, .72);
    display: flex; align-items: center; justify-content: center;
    padding: 1.25rem;
}
.modal {
    width: 100%; max-width: 460px;
    background: linear-gradient(180deg, var(--panel), #160f09);
    border: 1px solid var(--gilt);
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), 0 20px 60px rgba(0,0,0,.6);
    padding: 1.4rem 1.4rem 1.5rem;
}
.modal__title {
    font-family: "Cinzel", serif; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--gilt-hi); font-size: 1rem; text-align: center;
}
.modal__hint { color: var(--ash); font-size: .85rem; margin: .6rem 0 .8rem; text-align: center; }
.modal__actions { display: flex; gap: .8rem; align-items: center; margin-top: 1rem; }
.modal__actions .rescan { margin-top: 0; flex: 0 0 auto; width: auto; }
.modal__actions .save-btn { margin-top: 0; flex: 1; }

/* ---------- masthead ---------- */
.masthead { text-align: center; margin-bottom: 2rem; }

.wordmark {
    font-family: "Cinzel", serif;
    font-weight: 700;
    letter-spacing: .42em;
    text-indent: .42em;            /* optical centering for the tracking */
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    color: var(--gilt);
    background: linear-gradient(180deg, var(--gilt-hi), var(--gilt) 55%, #9c7a32);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.wordmark--sm { font-size: clamp(1.2rem, 5vw, 1.6rem); }

.tagline {
    font-style: italic;
    color: var(--ash);
    margin-top: .35rem;
    font-size: .98rem;
}

.rule {
    height: 1px;
    margin: 1.1rem auto 0;
    max-width: 220px;
    background: linear-gradient(90deg, transparent, var(--gilt) 50%, transparent);
    opacity: .7;
}

/* ---------- beta line (plain text, centered in the space below the buttons) ---------- */
.beta-slot { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; }
.beta { text-align: center; }
.beta__tag {
    font-family: "Cinzel", serif; font-weight: 700;
    letter-spacing: .34em; text-indent: .34em; text-transform: uppercase;
    color: var(--ember); font-size: 1.05rem;
}
.beta__meta { color: var(--ash); font-size: .72rem; margin-top: .25rem; letter-spacing: .04em; }
.beta__new {
    display: inline-block; margin-top: .6rem;
    color: var(--gilt); text-decoration: none;
    font-family: "Cinzel", serif; letter-spacing: .14em;
    text-transform: uppercase; font-size: .72rem;
}
.beta__new:hover { color: var(--gilt-hi); }

/* release notes */
.release { margin-top: 1.6rem; border-top: 1px solid var(--rule); padding-top: 1rem; }
.release:first-of-type { border-top: none; }
.release__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.release__ver { font-family: "Cinzel", serif; color: var(--gilt-hi); font-size: 1rem; letter-spacing: .08em; }
.release__date { color: var(--ash); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; }
.release__list { margin: .7rem 0 0; padding-left: 1.1rem; }
.release__list li { color: var(--parchment); font-size: .95rem; margin: .3rem 0; }

/* ---------- capture: primary "Scan a band" + small "Upload" link ---------- */
.capture { display: block; }
.capture.is-hidden { display: none; }   /* hide while reviewing a scan result */

/* quiet "scan another" reset shown under a result */
.rescan {
    display: block; width: 100%; margin-top: 1.5rem;
    background: none; border: none; cursor: pointer;
    color: var(--ash);
    font-family: "Cinzel", serif; letter-spacing: .14em;
    text-transform: uppercase; font-size: .72rem;
    transition: color .2s;
}
.rescan:hover { color: var(--gilt); }
.rescan:focus-visible { outline: 2px solid var(--gilt); outline-offset: 2px; border-radius: 4px; }

/* Quiet links must READ as tappable, not as prose: gilt text + an engraved underline
   that hugs the words, and a taller tap target so stacked links don't crowd a fingertip. */
.rescan, .cross-link, .landing__signin, .upload-link {
    text-decoration: underline;
    text-decoration-color: rgba(201, 162, 75, .5);
    text-underline-offset: .35em;
    text-decoration-thickness: 1px;
    padding-top: .5rem; padding-bottom: .5rem;
}
.rescan { color: var(--gilt); }   /* was ash — too dim to read as a control */
.rescan:hover, .cross-link:hover, .landing__signin:hover, .upload-link:hover {
    text-decoration-color: var(--gilt-hi);
}

/* Tier 3 — icon-buttons: a gilt glyph + short label in a hairline pill, unmistakably a
   control. For quick actions that were masquerading as prose (Share, Ask R&F). */
.iconbtn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .55rem 1rem; border-radius: 999px;
    border: 1px solid var(--rule); background: rgba(201, 162, 75, .06);
    color: var(--gilt); cursor: pointer; text-decoration: none;
    font-family: "Cinzel", serif; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem;
    transition: border-color .2s, color .2s, background .2s;
}
.iconbtn:hover { border-color: var(--gilt); color: var(--gilt-hi); background: rgba(201, 162, 75, .12); }
.iconbtn:focus-visible { outline: 2px solid var(--gilt); outline-offset: 2px; }
.iconbtn svg { width: 1.05rem; height: 1.05rem; display: block; }
.iconbtn-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* ---------- consent toggle (Share with the Rank & File) ---------- */
.switch {
    display: flex; align-items: center; justify-content: center; gap: .55rem;
    margin-top: 1.1rem; cursor: pointer; user-select: none;
}
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.switch__track {
    position: relative; width: 40px; height: 22px; flex: none;
    background: rgba(255,255,255,.10); border: 1px solid rgba(201,162,75,.35);
    border-radius: 999px; transition: background .2s, border-color .2s;
}
.switch__thumb {
    position: absolute; top: 2px; left: 2px; width: 16px; height: 16px;
    background: #cbb98f; border-radius: 50%; transition: transform .2s, background .2s;
}
.switch input:checked + .switch__track {
    background: rgba(210,97,28,.30); border-color: var(--ember);
}
.switch input:checked + .switch__track .switch__thumb { transform: translateX(18px); background: var(--gilt-hi); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--gilt); outline-offset: 2px; }
.switch__label {
    font-family: "Cinzel", serif; letter-spacing: .1em; text-transform: uppercase;
    font-size: .68rem; color: var(--gilt);
}

/* The consent group: one shared left edge, the block centred as a whole. Centring each switch
   independently made the nested one start further LEFT than its parent — an indent measured
   from nothing indents nothing. */
.consents {
    width: fit-content; max-width: 100%; margin: 1.1rem auto 0;
}
.consents .switch { justify-content: flex-start; margin-top: 0; }

/* The nested second consent ("Sign my take"). Indented and quieter than its parent so it reads
   as a follow-up question rather than an equal, alternative choice — the two are not peers:
   the one above is anonymous and already promised, this one publishes your name and your words. */
.switch--sub {
    align-items: flex-start;
    margin: .75rem 0 0 1.8rem; gap: .5rem;
}
.switch--sub .switch__track { width: 34px; height: 19px; margin-top: .1rem; }
.switch--sub .switch__thumb { width: 13px; height: 13px; }
.switch--sub input:checked + .switch__track .switch__thumb { transform: translateX(15px); }
.switch--sub .switch__label { text-align: left; color: var(--ash); }
/* The hint carries the actual promise, so it stays readable prose — not uppercase Cinzel. */
.switch__hint {
    display: block; margin-top: .25rem;
    font-family: "Spectral", Georgia, serif; text-transform: none; letter-spacing: normal;
    font-size: .74rem; line-height: 1.45; color: var(--ash); max-width: 30ch;
}
.switch--sub input:checked ~ .switch__label { color: var(--gilt); }
.upload-link {
    display: block;
    text-align: center;
    margin-top: .9rem;
    cursor: pointer;
    color: var(--gilt);
    font-family: "Cinzel", serif;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .72rem;
    transition: color .2s;
}
.upload-link:hover { color: var(--gilt-hi); }
.upload-link:focus-within { color: var(--gilt-hi); }
.upload-link input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- scan button ---------- */
.scan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-family: "Cinzel", serif;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .92rem;
    color: var(--parchment);
    background: linear-gradient(180deg, rgba(94,26,26,.35), rgba(94,26,26,.12));
    border: 1px solid var(--gilt);
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), 0 6px 22px rgba(0,0,0,.45);
    transition: border-color .25s, box-shadow .25s, transform .1s;
}
.scan-btn:hover {
    border-color: var(--gilt-hi);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), 0 0 0 1px rgba(232,205,135,.35), 0 8px 26px rgba(0,0,0,.5);
}
.scan-btn:active { transform: translateY(1px); }
.scan-btn .ico { color: var(--ember); font-size: 1.1rem; }
.scan-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- status lines ---------- */
.status { text-align: center; margin-top: 1.4rem; color: var(--ash); font-style: italic; }
.status.error { color: #e08a6a; font-style: normal; }

/* ---------- the cartouche (signature) ---------- */
.cartouche {
    position: relative;
    margin: 1.8rem 0 0;
    padding: 1.6rem 1.4rem;
    text-align: center;
    background:
        radial-gradient(120% 140% at 50% 0%, var(--oxblood-2), var(--oxblood) 60%, #4a1414);
    border: 1px solid var(--gilt);
    border-radius: 8px;
    /* double gilt rule, inset like an engraved band */
    box-shadow:
        inset 0 0 0 5px var(--oxblood),
        inset 0 0 0 6px rgba(201,162,75,.55),
        0 14px 40px rgba(0,0,0,.55);
    animation: seal .5s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes seal {
    from { opacity: 0; transform: scale(1.035) translateY(-6px); }
    to   { opacity: 1; transform: none; }
}
.cartouche--empty {
    background: var(--panel);
    box-shadow: inset 0 0 0 1px var(--rule), 0 14px 40px rgba(0,0,0,.4);
    color: var(--ash);
}
.cartouche__kicker {
    font-family: "Cinzel", serif;
    font-size: .62rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--gilt);
    opacity: .85;
}
.cartouche__brand {
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 6vw, 2rem);
    line-height: 1.15;
    color: var(--gilt-hi);
    margin: .35rem 0 .15rem;
    text-shadow: 0 1px 0 rgba(0,0,0,.4);
}
.cartouche__line { color: var(--parchment); font-size: 1.05rem; }
.cartouche__vitola { color: var(--ash); font-style: italic; font-size: .95rem; margin-top: .1rem; }
/* Prototype spec box below the ID — wrapper · shape · size (labeled, unmissable). */
.specs {
    max-width: 340px; margin: 1rem auto 0;
    border: 1px solid var(--rule); border-radius: 8px; overflow: hidden;
    background: var(--panel);
}
.specs__row {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    padding: .55rem .85rem; border-bottom: 1px solid var(--rule);
}
.specs__row:last-child { border-bottom: none; }
.specs dt {
    margin: 0; color: var(--ash);
    font-family: "Cinzel", serif; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
}
.specs dd { margin: 0; color: var(--parchment); font-size: .9rem; text-align: right; }

/* The band the user just shot, shown above the read (and while it reads). */
.scan-shot {
    position: relative;
    margin: 1.2rem auto 0; max-width: 340px;
    border-radius: 10px; overflow: hidden; border: 1px solid var(--gilt);
    box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.scan-shot img { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.cartouche__seal {
    display: inline-block;
    margin-top: .9rem;
    padding: .25rem .7rem;
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gilt);
    border: 1px solid var(--rule);
    border-radius: 999px;
}
/* the smoker corrected or hand-entered the ID — it's confirmed, not a confidence guess */
.cartouche__seal--ok { color: var(--gilt-hi); border-color: var(--gilt); }

/* ---------- scan result: one inline-editable card (tap any field to fill/fix it) ---------- */
.idcard {
    position: relative; margin: 1.8rem 0 0; padding: 1.4rem 1.3rem 1.2rem; text-align: center;
    background: radial-gradient(120% 140% at 50% 0%, var(--oxblood-2), var(--oxblood) 60%, #4a1414);
    border: 1px solid var(--gilt); border-radius: 8px;
    box-shadow: inset 0 0 0 5px var(--oxblood), inset 0 0 0 6px rgba(201,162,75,.55), 0 14px 40px rgba(0,0,0,.55);
    animation: seal .5s cubic-bezier(.2,.8,.2,1) both;
}
.idcard__kick {
    font-family: "Cinzel", serif; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
    color: var(--gilt); opacity: .9; margin-bottom: .6rem;
}
.idcard__ok { color: var(--gilt-hi); }

/* fields look like display text; a gilt underline on focus makes editability obvious */
.idcard input {
    width: 100%; border: none; background: transparent; text-align: center;
    color: var(--parchment); font-family: "Spectral", serif; font-size: 1.05rem;
    border-bottom: 1px solid transparent; padding: .18rem .2rem; margin: 0; border-radius: 0;
    transition: border-color .15s;
}
.idcard input::placeholder { color: var(--ash); opacity: .65; font-style: italic; }
.idcard input:focus { outline: none; border-bottom-color: var(--gilt); }
.idcard input.idcard__brand {
    font-family: "Cinzel", serif; font-weight: 700; letter-spacing: .02em;
    font-size: clamp(1.4rem, 6vw, 2rem); color: var(--gilt-hi);
}
.idcard input.idcard__vitola { color: var(--ash); font-style: italic; font-size: .95rem; }
.idcard__rule { height: 1px; margin: .9rem auto; max-width: 180px; background: rgba(201,162,75,.45); }
.idcard__specs { display: flex; flex-direction: column; gap: .25rem; }
.idcard__spec { display: flex; align-items: center; gap: .8rem; }
.idcard__spec > span {
    flex: 0 0 4.5rem; text-align: right; font-family: "Cinzel", serif; font-size: .62rem;
    letter-spacing: .16em; text-transform: uppercase; color: var(--gilt);
}
.idcard__spec input { text-align: left; font-size: .98rem; }

/* detail page: retake/replace the band photo */
.detail__replace {
    display: block; text-align: center; margin-top: .7rem; cursor: pointer;
    color: var(--gilt); font-family: "Cinzel", serif; letter-spacing: .12em;
    text-transform: uppercase; font-size: .72rem; transition: color .2s;
}
.detail__replace:hover { color: var(--gilt-hi); }
.detail__replace input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* auto-save status under the detail sliders (replaces the Save button) */
.autosave { min-height: 1.1rem; text-align: center; margin-top: .6rem; color: var(--ash); font-style: italic; font-size: .82rem; }

/* notes click-to-edit: reads as your note (dashed = editable) until tapped */
.notes-display {
    width: 100%; margin-top: .8rem; padding: .7rem .9rem; min-height: 3.4rem;
    border: 1px dashed var(--rule); border-radius: 6px;
    color: var(--parchment); font-family: "Spectral", serif; line-height: 1.5;
    white-space: pre-wrap; cursor: text; transition: border-color .2s;
}
.notes-display:hover { border-color: var(--gilt); }
.notes-display--empty { color: var(--ash); font-style: italic; }

/* ---------- Rank & File "pub sign" masthead + crest (the insider mark) ---------- */
.pubsign {
    position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: .35rem;
    margin: .5rem auto 0; padding: .85rem 1.7rem .75rem;
    background: radial-gradient(120% 140% at 50% 0%, var(--oxblood-2), var(--oxblood) 70%, #4a1414);
    border: 1px solid var(--gilt); border-radius: 10px;
    box-shadow: inset 0 0 0 4px var(--oxblood), inset 0 0 0 5px rgba(201,162,75,.5), 0 8px 22px rgba(0,0,0,.5);
}
.pubsign__crest { width: 2.4rem; height: 2.4rem; color: var(--gilt); display: inline-flex; }
.pubsign__crest svg { width: 100%; height: 100%; display: block; }
.pubsign__name {
    font-family: "Cinzel", serif; font-weight: 700; letter-spacing: .18em; text-indent: .18em;
    text-transform: uppercase; font-size: 1.05rem; white-space: nowrap;  /* never wraps — the fix */
    color: var(--gilt);
    background: linear-gradient(180deg, var(--gilt-hi), var(--gilt) 60%, #9c7a32);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* crest as the R&F tab glyph */
.tab--crest .tab__glyph { display: inline-flex; }
.tab--crest .tab__glyph svg { width: 1.3rem; height: 1.3rem; display: block; }

/* detail hero: the replace-photo button sits ON the photo */
.detail__hero { position: relative; }
.hero-cam {
    position: absolute; bottom: .6rem; right: .6rem; cursor: pointer;
    width: 2.8rem; height: 2.8rem; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--gilt-hi);
    background: rgba(18,12,8,.9); border: 1px solid var(--gilt);
    box-shadow: 0 2px 12px rgba(0,0,0,.7), 0 0 0 3px rgba(0,0,0,.28);   /* separation ring off busy photos */
    transition: color .2s, border-color .2s, background .2s;
}
.hero-cam:hover { color: var(--gilt-hi); border-color: var(--gilt-hi); background: rgba(20,14,9,.9); }
.hero-cam svg { width: 1.45rem; height: 1.45rem; display: block; }
.hero-cam input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* the detail identity card doesn't stamp in like a fresh scan */
.idcard--flat { animation: none; }

/* version + release notes on the account page (moved off the scan flow) */
.acct__beta { margin-top: 2.4rem; text-align: center; color: var(--ash); font-size: .74rem; }
.acct__beta-tag {
    font-family: "Cinzel", serif; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
    color: var(--ember); margin-right: .5rem;
}
.acct__beta-link {
    display: block; margin-top: .5rem; color: var(--gilt); text-decoration: none;
    font-family: "Cinzel", serif; letter-spacing: .12em; text-transform: uppercase; font-size: .7rem;
}
.acct__beta-link:hover { color: var(--gilt-hi); }

/* #10 — confirm/correct the recognizer's ID before logging. */
.cartouche__fix {
    display: block; margin: .7rem auto 0; padding: .3rem .9rem;
    background: none; border: 1px solid var(--rule); border-radius: 999px;
    color: var(--ash); font-family: "Spectral", serif; font-style: italic;
    font-size: .8rem; cursor: pointer;
}
.cartouche__fix:hover { color: var(--gilt); border-color: var(--gilt); }
.idfix { margin-top: .7rem; display: flex; flex-direction: column; gap: .5rem; text-align: left; }
.idfix__row { display: flex; align-items: center; gap: .7rem; }
.idfix__row span {
    flex: 0 0 3.6rem; font-family: "Cinzel", serif; font-size: .64rem;
    letter-spacing: .12em; text-transform: uppercase; color: var(--gilt);
}
.idfix__in {
    flex: 1; padding: .45rem .6rem; background: rgba(0,0,0,.28);
    border: 1px solid var(--rule); border-radius: 4px;
    color: var(--parchment); font-family: "Spectral", serif; font-size: .95rem;
}
.idfix__in:focus-visible { outline: 2px solid var(--gilt); outline-offset: 1px; }
.idfix__done {
    align-self: center; margin-top: .2rem; padding: .4rem 1.4rem;
    background: none; border: 1px solid var(--gilt); border-radius: 6px;
    color: var(--gilt); font-family: "Cinzel", serif; letter-spacing: .1em;
    text-transform: uppercase; font-size: .72rem; cursor: pointer;
}
.idfix__done:hover:not(:disabled) { color: var(--gilt-hi); border-color: var(--gilt-hi); }
.idfix__done:disabled { opacity: .45; cursor: default; }

/* ---------- verdict ---------- */
.verdict {
    text-align: center;
    margin-top: 1.1rem;
    font-family: "Cinzel", serif;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .8rem;
}
.verdict--known { color: var(--gilt); }
.verdict--new { color: var(--ash); }

.history { list-style: none; padding: 0; margin: .7rem 0 0; }
.history li { padding: .35rem 0; border-top: 1px solid rgba(201,162,75,.14); font-size: .95rem; color: var(--parchment); }
.history li:first-child { border-top: none; }
.history .when { color: var(--ash); font-size: .82rem; }
.history em { color: var(--ash); }

/* ---------- rating ---------- */
.rate { margin-top: 1.5rem; text-align: center; }
.rate__label {
    font-family: "Cinzel", serif;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .72rem;
    color: var(--gilt);
    margin-bottom: .6rem;
}
.notes {
    width: 100%;
    padding: .6rem .7rem;
    margin-bottom: .8rem;
    background: rgba(0,0,0,.25);
    border: 1px solid var(--rule);
    border-radius: 4px;
    color: var(--parchment);
    font-family: "Spectral", serif;
    font-size: .95rem;
    line-height: 1.45;
    resize: vertical;   /* multi-line notes; drag to grow */
}
textarea.notes { min-height: 4.5rem; display: block; }
.notes::placeholder { color: rgba(154,140,116,.7); }
.notes:focus-visible { outline: 2px solid var(--gilt); outline-offset: 1px; }

.pips { display: flex; justify-content: center; gap: .15rem; }
.pip {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.9rem;
    line-height: 1;
    color: rgba(201,162,75,.3);
    transition: color .15s, transform .1s;
    padding: .1rem .15rem;
}
.pip:hover { color: var(--gilt-hi); transform: translateY(-1px); }
.pip.on { color: var(--gilt); }
.pip:disabled { cursor: default; }
.pip:focus-visible { outline: 2px solid var(--gilt); outline-offset: 2px; border-radius: 4px; }

.logged { text-align: center; color: var(--gilt-hi); margin-top: .9rem; font-style: italic; }

/* ---------- links ---------- */
.cross-link {
    display: block;
    text-align: center;
    margin-top: 2.4rem;
    color: var(--gilt);
    text-decoration: none;
    font-family: "Cinzel", serif;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .78rem;
}
.cross-link:hover { color: var(--gilt-hi); }

/* ---------- the humidor (log) ---------- */
.empty { text-align: center; color: var(--ash); font-style: italic; margin-top: 2rem; }
.empty a { color: var(--gilt); }
.linklike {
    background: none; border: none; padding: 0; color: var(--gilt); cursor: pointer;
    font: inherit; text-decoration: underline; text-underline-offset: 2px;
}
.linklike:hover { color: var(--gilt-hi); }

/* ---------- humidor search ---------- */
.search { display: flex; gap: .5rem; margin-top: .4rem; }
.search__box {
    flex: 1; min-width: 0; padding: .6rem .8rem;
    background: var(--panel); color: var(--parchment);
    border: 1px solid var(--rule); border-radius: 8px;
    font-size: 1rem; letter-spacing: .01em;
}
.search__box::placeholder { color: var(--ash); font-style: italic; }
.search__box:focus { outline: none; border-color: var(--gilt); }
.search__go {
    flex: 0 0 auto; padding: .6rem 1rem;
    background: linear-gradient(180deg, var(--gilt-hi), var(--gilt) 60%, #9c7a32);
    color: #2a1d0c; border: none; border-radius: 8px;
    font-family: "Cinzel", serif; font-size: .85rem; letter-spacing: .06em; cursor: pointer;
}
.search__go:disabled { opacity: .6; cursor: default; }

/* The Free tier's view of search: the control in its real place, plainly locked.
   Same footprint as the paid box so the page doesn't rearrange on upgrade — but never
   mistakable for a live input, because a box that pretends to work and then bounces you
   to a paywall is a trick, and it costs more trust than the sale is worth. */
.search--locked { text-decoration: none; cursor: pointer; align-items: stretch; }
.search__box--locked {
    display: flex; align-items: center; gap: .5rem;
    flex: 1; min-width: 0; padding: .6rem .8rem;
    background: color-mix(in srgb, var(--panel) 70%, transparent);
    border: 1px dashed var(--rule); border-radius: 8px;
}
.search__lock { flex: 0 0 auto; width: 15px; height: 15px; color: var(--gilt); opacity: .85; }
.search__lock svg { width: 100%; height: 100%; display: block; }
.search__tease {
    color: var(--ash); font-style: italic; font-size: .95rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.search__go--locked {
    display: flex; align-items: center;
    background: none; border: 1px solid var(--gilt); color: var(--gilt);
}
.search--locked:hover .search__box--locked { border-color: var(--gilt); }
.search--locked:hover .search__go--locked { background: rgba(201, 162, 75, .12); }
.search--locked:focus-visible { outline: 2px solid var(--gilt); outline-offset: 3px; border-radius: 8px; }
.search__foot { color: var(--ash); font-size: .74rem; margin-top: .45rem; text-align: center; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .7rem; }
.chips__lead { color: var(--ash); font-size: .78rem; font-style: italic; margin-right: .1rem; }
.chip {
    display: inline-block; padding: .2rem .55rem;
    background: rgba(201,162,75,.12); border: 1px solid var(--rule); border-radius: 999px;
    color: var(--gilt-hi); font-size: .78rem; letter-spacing: .02em;
}
.chip--clear {
    background: none; color: var(--ash); cursor: pointer; font: inherit;
    font-size: .78rem; border-color: transparent;
}
.chip--clear:hover { color: var(--gilt-hi); }

.tray { margin-top: 1.6rem; display: flex; flex-direction: column; gap: .7rem; }
.band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1.1rem;
    background: linear-gradient(180deg, var(--oxblood-2), var(--oxblood));
    border-radius: 5px;
    box-shadow: inset 0 1px 0 rgba(201,162,75,.45), inset 0 -1px 0 rgba(0,0,0,.4), 0 6px 18px rgba(0,0,0,.4);
}
.band__brand { font-family: "Cinzel", serif; font-weight: 600; color: var(--gilt-hi); font-size: 1.05rem; }
.band__line { color: rgba(231,220,196,.85); font-size: .88rem; }
.band__meta { text-align: right; white-space: nowrap; }
.band__pips { color: var(--gilt); letter-spacing: .05em; }
.band__score { font-family: "Cinzel", serif; color: var(--gilt-hi); }
.band__score small { color: var(--gilt); font-size: .7em; margin-left: .05em; }
.band__count { color: var(--ash); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- in-page camera ---------- */
.cam {
    position: fixed; inset: 0; z-index: 1000;
    background: #000;
    display: none; flex-direction: column;
}
.cam.is-open { display: flex; }
.cam video {
    flex: 1; min-height: 0; width: 100%;
    object-fit: cover; background: #000;
}
.cam__bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 1.5rem calc(1.1rem + env(safe-area-inset-bottom));
    background: var(--humidor);
    border-top: 1px solid var(--rule);
}
.cam__shoot {
    width: 68px; height: 68px; border-radius: 50%; padding: 0;
    background: radial-gradient(circle at 35% 30%, var(--gilt-hi), var(--gilt) 60%, #8a6a2b);
    border: 3px solid var(--parchment);
    box-shadow: 0 0 0 2px rgba(0,0,0,.5), 0 4px 14px rgba(0,0,0,.6);
    cursor: pointer;
}
.cam__shoot:active { transform: scale(.95); }
.cam__cancel {
    background: none; border: none; cursor: pointer;
    color: var(--parchment);
    font-family: "Cinzel", serif; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem;
}
.cam__spacer { width: 56px; }   /* balances Cancel so the shutter stays centered */

/* ---------- bottom tab bar (persistent nav) ---------- */
.tabbar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
    background: linear-gradient(180deg, var(--panel), #160f09);
    border-top: 1px solid var(--rule);
    box-shadow: 0 -6px 24px rgba(0,0,0,.5);
    padding-bottom: env(safe-area-inset-bottom);   /* iOS home-bar clearance */
}
.tabbar__inner { max-width: 600px; margin: 0 auto; display: flex; }
.tab {
    flex: 1; position: relative;
    display: flex; flex-direction: column; align-items: center; gap: .2rem;
    padding: .65rem 0 .7rem;
    text-decoration: none;
    color: var(--ash);
    font-family: "Cinzel", serif; font-size: .6rem;
    letter-spacing: .2em; text-transform: uppercase;
    transition: color .2s;
}
/* the Report trigger is a <button> but lives in the tab bar like the others */
.tab--button { background: none; border: none; cursor: pointer; }
.tab__glyph { font-size: 1.15rem; line-height: 1; }
.tab:hover { color: var(--parchment); }
.tab--button:hover .tab__glyph { color: var(--ember); }
.tab.active { color: var(--gilt-hi); box-shadow: inset 0 2px 0 var(--gilt); }
.tab.active .tab__glyph { color: var(--ember); }   /* the lit tip marks where you are */
.tab:focus-visible { outline: 2px solid var(--gilt); outline-offset: -3px; }

/* ---------- a11y & motion ---------- */
a:focus-visible, .scan-btn:focus-visible, .cta:focus-visible { outline: 2px solid var(--gilt); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    .cartouche { animation: none; }
    * { transition: none !important; }
}

/* ---------- landing (the public front door) ---------- */
.landing__promise {
    font-family: "Cinzel", serif; font-weight: 700; text-align: center;
    font-size: clamp(1.9rem, 8vw, 2.9rem); line-height: 1.08; letter-spacing: .02em;
    color: var(--parchment); margin: 1.4rem 0 0;
}
.landing__sub {
    text-align: center; color: var(--ash);
    font-size: 1.05rem; line-height: 1.5; max-width: 30rem; margin: .9rem auto 0;
}

/* hero example seal — extends .cartouche (inherits the stamp-in animation), adds a verdict line */
.landing__demo { margin-top: 2rem; }
.landing__verdict {
    margin-top: 1rem; padding-top: .9rem;
    border-top: 1px solid rgba(201,162,75,.4);
    display: flex; align-items: baseline; justify-content: center; gap: .5rem;
}
.landing__call {
    font-family: "Cinzel", serif; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; color: var(--gilt-hi); font-size: .95rem;
}
.landing__dot { color: var(--gilt); opacity: .6; }
.landing__score {
    font-family: "Cinzel", serif; font-weight: 700;
    color: var(--parchment); font-size: 1.35rem; line-height: 1;
}
.landing__score-x { color: var(--ash); font-size: .8rem; font-weight: 400; margin-left: .05rem; }

/* primary call to action — the scan-btn visual language, as a link */
.cta {
    display: flex; align-items: center; justify-content: center;
    width: 100%; margin-top: 2rem; padding: 1rem 1.25rem; text-decoration: none;
    font-family: "Cinzel", serif; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase; font-size: .92rem;
    color: var(--parchment);
    background: linear-gradient(180deg, rgba(94,26,26,.55), rgba(94,26,26,.2));
    border: 1px solid var(--gilt); border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), 0 6px 22px rgba(0,0,0,.45);
    transition: border-color .25s, box-shadow .25s, transform .1s;
}
.cta:hover {
    border-color: var(--gilt-hi);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), 0 0 0 1px rgba(232,205,135,.35), 0 8px 26px rgba(0,0,0,.5);
}
.cta:active { transform: translateY(1px); }
.cta { cursor: pointer; }
.cta:disabled { opacity: .5; cursor: default; }

/* ---------- account ---------- */
.acct { margin-top: 1.8rem; }
.acct__label {
    display: block; font-family: "Cinzel", serif; font-size: .7rem;
    letter-spacing: .18em; text-transform: uppercase; color: var(--gilt);
}
.acct__email { margin-top: .4rem; color: var(--parchment); font-size: 1.05rem; }
.acct__hint { margin: .3rem 0 .7rem; color: var(--ash); font-size: .9rem; }
.acct__input {
    width: 100%; padding: .7rem .8rem;
    background: var(--panel); border: 1px solid var(--rule); border-radius: 6px;
    color: var(--parchment); font-family: "Spectral", serif; font-size: 1rem;
}
.acct__input:focus { outline: none; border-color: var(--gilt); }
.acct__save { margin-top: .9rem; }

/* Upgrade + manage. Deliberately the SAME weight as each other: cancelling has to be exactly
   as easy as subscribing, so "Manage billing" is a real control, not a link in fine print.
   The gilt CTA carries the upgrade because it's the one thing on this page a smoker came to do;
   manage is outlined because it's maintenance, not a decision. */
.acct__upgrade { margin-top: .9rem; width: 100%; }
/* The beta CTA stacks its hook on a second line (Cinzel lead + Spectral-italic note) so the
   long "free while we're in beta" is a deliberate sub-label, not a wrapped orphan on mobile.
   Comes after .cta so the column direction wins over .cta's default row. */
.acct__upgrade--beta { flex-direction: column; gap: .2rem; line-height: 1.15; }
.acct__upgrade-lead { font-size: .95rem; letter-spacing: .16em; }
.acct__upgrade-note {
    font-family: "Spectral", serif; font-style: italic; text-transform: none;
    font-size: .72rem; letter-spacing: .02em; color: var(--gilt-hi);
}
.acct__manage {
    display: block; width: 100%; margin-top: .9rem; padding: .7rem 1rem;
    background: none; border: 1px solid var(--gilt); border-radius: 8px; color: var(--gilt);
    font-family: "Cinzel", serif; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
    cursor: pointer;
}
.acct__manage:hover { background: rgba(201,162,75,.12); }
.acct__manage:disabled, .acct__upgrade:disabled { opacity: .6; cursor: default; }
/* The promises under the button — where a card goes, and that leaving is allowed. Small, but
   this is the sentence that has to be true, so it sits with the button rather than in a policy
   nobody opens. */
.acct__fineprint {
    margin: .5rem 0 0; color: var(--ash); font-size: .74rem; line-height: 1.5; text-align: center;
}
.acct__ok { margin-top: .6rem; color: var(--gilt-hi); font-style: italic; font-size: .9rem; }
.acct__signout {
    display: inline-block; color: var(--gilt); text-decoration: none;
    font-family: "Cinzel", serif; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem;
}
.acct__signout:hover { color: var(--gilt-hi); }
.acct__cancel {
    background: none; border: none; cursor: pointer; color: var(--ash);
    font-family: "Cinzel", serif; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem;
}
.acct__cancel:hover { color: var(--parchment); }

/* delete: a cold, cordoned-off zone — the one place the palette turns to warning */
.danger {
    margin-top: 2.6rem; padding: 1.2rem;
    border: 1px solid rgba(178,58,42,.5); border-radius: 8px; background: rgba(94,26,26,.12);
}
.danger__head {
    font-family: "Cinzel", serif; letter-spacing: .1em; text-transform: uppercase;
    color: #e08a6a; font-size: .85rem;
}
.danger__text { margin: .6rem 0; color: var(--ash); font-size: .92rem; }
.danger__text strong { color: var(--parchment); }
.danger__actions { display: flex; align-items: center; gap: 1.2rem; margin-top: .5rem; }
.danger__btn {
    cursor: pointer; padding: .7rem 1rem;
    background: rgba(178,58,42,.2); border: 1px solid rgba(178,58,42,.7); border-radius: 6px;
    color: #e6a08a; font-family: "Cinzel", serif; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem;
    transition: background .2s, border-color .2s, color .2s;
}
.danger__btn:hover:not(:disabled) { background: rgba(178,58,42,.35); border-color: #b23a2a; color: #f0b6a2; }
.danger__btn:disabled { opacity: .45; cursor: not-allowed; }

.landing__signin {
    display: block; text-align: center; margin-top: 1rem;
    color: var(--gilt); text-decoration: none;
    font-family: "Cinzel", serif; letter-spacing: .1em; text-transform: uppercase; font-size: .74rem;
}
.landing__signin:hover { color: var(--gilt-hi); }

/* engraved section divider: a centered label flanked by gilt rules */
.landing__divider { display: flex; align-items: center; gap: 1rem; margin: 3rem 0 1.6rem; }
.landing__divider::before, .landing__divider::after {
    content: ""; flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, var(--rule));
}
.landing__divider::after { transform: scaleX(-1); }
.landing__divider span {
    font-family: "Cinzel", serif; font-size: .7rem;
    letter-spacing: .28em; text-indent: .28em; text-transform: uppercase;
    color: var(--gilt); white-space: nowrap;
}

/* how it works (engraved numerals) + three rooms (nav glyphs) share a row layout */
.steps, .rooms { list-style: none; margin: 0; padding: 0; }
.step, .room { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--rule); }
.step:first-child, .room:first-child { border-top: none; }
.step__num {
    flex: 0 0 2rem; text-align: center; line-height: 1.2;
    font-family: "Cinzel", serif; font-weight: 700; font-size: 1.35rem; color: var(--gilt);
}
.room__glyph { flex: 0 0 2rem; text-align: center; line-height: 1.3; font-size: 1.3rem; color: var(--ember); }
.step__head, .room__head {
    margin: 0; font-family: "Cinzel", serif; font-weight: 600;
    font-size: 1.02rem; letter-spacing: .04em; color: var(--parchment);
}
.step__text, .room__text { margin: .3rem 0 0; color: var(--ash); font-size: .95rem; line-height: 1.45; }

.landing__foot { text-align: center; margin: 1.6rem 0 0; color: var(--ash); font-style: italic; font-size: .82rem; }

/* authed "welcome back" */
.landing__welcome { text-align: center; margin-top: 1rem; }
.landing__welcome .cta { max-width: 22rem; margin-left: auto; margin-right: auto; }

/* ---------- taste sliders (signature interaction) ---------- */
.taste { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .35rem; }
.axis { padding: .35rem 0; }

.axis__top { display: flex; align-items: center; gap: .55rem; }
.axis__icon {
    flex: 0 0 22px; width: 22px; height: 22px;
    display: inline-flex; color: var(--gilt);
}
.axis__icon svg { width: 100%; height: 100%; display: block; }
.axis__label {
    flex: 1; font-family: "Cinzel", serif;
    font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase;
    color: var(--parchment); line-height: 1;
}
/* The slider flanked by its two extremes, right at the poles. */
.axis__slide { display: flex; align-items: center; gap: .5rem; }
.axis__end {
    flex: 0 0 3.1rem; font-size: .82rem; font-style: italic; letter-spacing: .01em;
    color: var(--gilt); text-align: right; white-space: nowrap;
}
.axis__end--hi { text-align: left; }

/* Big touch target (44px row). Every axis is bipolar — a thin track drawn at center,
   gold in the middle fading to ember at both ends, with a sweet-spot notch. Aim for center. */
.axis__range {
    -webkit-appearance: none; appearance: none;
    flex: 1; height: 44px; margin: 0; padding: 0;
    background:
        linear-gradient(var(--gilt-hi), var(--gilt-hi)) no-repeat center / 2px 15px,
        linear-gradient(90deg, rgba(178,58,42,.7) 0%, var(--gilt) 50%, rgba(178,58,42,.7) 100%)
        no-repeat center / 100% 7px;
    outline: none; cursor: pointer;
}

.axis__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px; height: 26px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--gilt-hi), var(--gilt) 60%, #8a6a2b);
    border: 1px solid #6f521f;
    box-shadow: 0 2px 7px rgba(0,0,0,.6);
}
.axis__range::-moz-range-thumb {
    width: 26px; height: 26px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--gilt-hi), var(--gilt) 60%, #8a6a2b);
    border: 1px solid #6f521f;
    box-shadow: 0 2px 7px rgba(0,0,0,.6);
}
.axis__range:focus-visible { box-shadow: 0 0 0 2px var(--gilt); border-radius: 999px; }
.axis__range:disabled { opacity: .7; cursor: default; }

/* Helper line: hidden until you touch that axis, so only one shows at a time. */
.axis__hint {
    max-height: 0; overflow: hidden; opacity: 0;
    font-size: .95rem; line-height: 1.4; font-style: italic; color: var(--parchment);
    transition: max-height .22s ease, opacity .22s ease, margin-top .22s ease;
}
.axis.is-active .axis__hint { max-height: 4rem; opacity: 1; margin-top: .35rem; }
@media (prefers-reduced-motion: reduce) { .axis__hint { transition: none; } }

.taste__overall {
    display: flex; align-items: baseline; justify-content: center; gap: .6rem;
    margin-top: .3rem; padding-top: 1rem;
    border-top: 1px solid var(--rule);
}
.taste__overall-cap {
    font-family: "Cinzel", serif; font-size: .64rem;
    letter-spacing: .2em; text-transform: uppercase; color: var(--gilt);
}
.taste__overall-word {
    font-family: "Cinzel", serif; font-size: 1rem; letter-spacing: .04em;
    color: var(--parchment);
}
.taste__overall-num { font-family: "Cinzel", serif; font-size: 1.7rem; color: var(--gilt-hi); }
.taste__overall-num small { font-size: .8rem; color: var(--gilt); margin-left: .1rem; }
.taste__prompt {
    margin-top: .3rem; padding-top: 1rem; border-top: 1px solid var(--rule);
    text-align: center; font-style: italic; color: var(--ash); font-size: .82rem;
}
/* Per-axis "undo the bump": recenter this one axis. Shows only when it's off-center. */
.axis__reset {
    flex: 0 0 auto; margin-left: auto;
    background: none; border: 1px solid rgba(201,162,75,.4); color: var(--gilt);
    border-radius: 999px; width: 1.7rem; height: 1.7rem; line-height: 1;
    font-size: 1rem; cursor: pointer; padding: 0;
}
.axis__reset:hover { color: var(--gilt-hi); border-color: var(--gilt-hi); }
/* Global "start over": clear every slider back to flawless. */
.taste__reset {
    display: block; margin: .7rem auto 0; padding: .35rem 1rem;
    background: none; border: none; color: var(--ash);
    font-family: "Cinzel", serif; letter-spacing: .08em; text-transform: uppercase;
    font-size: .68rem; cursor: pointer;
}
.taste__reset:hover { color: var(--gilt); }

/* ---------- save action ---------- */
.save-btn {
    display: block; width: 100%; margin-top: 1.3rem;
    padding: .85rem 1.25rem;
    cursor: pointer;
    font-family: "Cinzel", serif; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase; font-size: .82rem;
    color: var(--humidor);
    background: linear-gradient(180deg, var(--gilt-hi), var(--gilt) 60%, #a9842f);
    border: 1px solid #6f521f; border-radius: 4px;
    box-shadow: 0 6px 20px rgba(0,0,0,.45);
    transition: filter .2s, transform .1s;
}
.save-btn:hover { filter: brightness(1.08); }
.save-btn:active { transform: translateY(1px); }
.save-btn:disabled { filter: grayscale(.4) brightness(.8); cursor: default; }

/* ---------- humidor card grid ---------- */
.crop { margin-top: 1.6rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
@media (min-width: 520px) { .crop { grid-template-columns: repeat(3, 1fr); } }

.card {
    position: relative; display: block; aspect-ratio: 1 / 1;
    border-radius: 8px; overflow: hidden; text-decoration: none;
    border: 1px solid var(--gilt); background: var(--panel);
    box-shadow:
        inset 0 0 0 4px rgba(0,0,0,.35),
        inset 0 0 0 5px rgba(201,162,75,.4),
        0 8px 24px rgba(0,0,0,.45);
    transition: transform .12s, box-shadow .25s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow:
        inset 0 0 0 4px rgba(0,0,0,.35),
        inset 0 0 0 5px var(--gilt-hi),
        0 12px 30px rgba(0,0,0,.55);
}
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__noimg {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: "Cinzel", serif; color: var(--gilt);
    font-size: .66rem; letter-spacing: .22em; text-align: center;
    background: linear-gradient(180deg, var(--oxblood-2), var(--oxblood));
}
.card__scrim {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(13,9,5,.94) 0%, rgba(13,9,5,.55) 32%, transparent 62%);
}
.card__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .7rem .65rem; }
.card__brand {
    font-family: "Cinzel", serif; font-weight: 600;
    color: var(--gilt-hi); font-size: .84rem; line-height: 1.12;
}
.card__line { color: rgba(231,220,196,.8); font-size: .72rem; }
.card__spec { color: var(--gilt); font-size: .64rem; letter-spacing: .02em; margin-top: .12rem; opacity: .9; }
.card__rating { margin-top: .28rem; color: var(--gilt); font-size: .8rem; letter-spacing: .04em; }
.card__rating .num { color: var(--gilt-hi); font-family: "Cinzel", serif; }
.card__rating .num__scale { color: var(--gilt); font-family: "Cinzel", serif; font-size: .72em; margin-left: .05rem; }
.card__rating .new { color: var(--ember); font-style: italic; letter-spacing: .02em; }

/* Rank & File board: big single-column landscape cards (the band shots are landscape),
   with the community verdict called out large. Distinct from the dense humidor grid. */
.rankgrid { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.rankcard {
    position: relative; display: block; aspect-ratio: 16 / 10;
    border-radius: 10px; overflow: hidden; text-decoration: none;
    border: 1px solid var(--gilt); background: var(--panel);
    box-shadow:
        inset 0 0 0 4px rgba(0,0,0,.35),
        inset 0 0 0 5px rgba(201,162,75,.4),
        0 8px 24px rgba(0,0,0,.45);
    transition: transform .12s, box-shadow .25s;
}
.rankcard:hover {
    transform: translateY(-3px);
    box-shadow:
        inset 0 0 0 4px rgba(0,0,0,.35),
        inset 0 0 0 5px var(--gilt-hi),
        0 12px 30px rgba(0,0,0,.55);
}
.rankcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rankcard__noimg {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-family: "Cinzel", serif; color: var(--gilt); font-size: .8rem; letter-spacing: .22em;
    background: linear-gradient(180deg, var(--oxblood-2), var(--oxblood));
}
.rankcard__scrim {
    position: absolute; inset: 0;
    background: linear-gradient(0deg,
        rgba(13,9,5,.97) 0%, rgba(13,9,5,.82) 34%, rgba(13,9,5,.35) 62%, transparent 84%);
}
.rankcard__cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem 1.05rem;
    text-shadow: 0 1px 4px rgba(0,0,0,.85);   /* type pops over any photo */
}
.rankcard__brand { font-family: "Cinzel", serif; font-weight: 600; color: var(--gilt-hi); font-size: 1.5rem; line-height: 1.08; }
.rankcard__line { color: rgba(231,220,196,.85); font-size: .95rem; margin-top: .1rem; }
.rankcard__call { display: flex; align-items: baseline; gap: .6rem; margin-top: .55rem; }
.rankcard__verdict { font-family: "Cinzel", serif; font-size: 1.15rem; color: var(--parchment); letter-spacing: .02em; }
.rankcard__score { font-family: "Cinzel", serif; font-size: 1.35rem; color: var(--gilt-hi); }
.rankcard__score small { font-size: .58em; color: var(--gilt); margin-left: .05em; }
.rankcard__count { margin-top: .35rem; color: var(--ash); font-size: .82rem; letter-spacing: .03em; }
.rankgrid__sentinel { text-align: center; padding: 1.2rem; min-height: 1rem; color: var(--ash); font-style: italic; font-size: .85rem; }

/* ---------- R&F mode toggle: Trending / Top Shelf ---------- */
.modes { display: flex; gap: .4rem; justify-content: center; margin: -0.6rem 0 .2rem; }
.mode {
    padding: .4rem 1.1rem; background: none; cursor: pointer;
    border: 1px solid var(--rule); border-radius: 999px;
    color: var(--ash); font-family: "Cinzel", serif; font-size: .82rem; letter-spacing: .08em;
    transition: color .15s, border-color .15s, background .15s;
}
.mode:hover { color: var(--gilt-hi); }
.mode--on {
    color: #2a1d0c; border-color: transparent;
    background: linear-gradient(180deg, var(--gilt-hi), var(--gilt) 60%, #9c7a32);
}

/* ---------- Top Shelf leaderboard ---------- */
.board { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.boardrow {
    border: 1px solid var(--rule); border-radius: 10px; background: var(--panel);
    overflow: hidden; transition: transform .12s, border-color .2s;
}
.boardrow:hover { transform: translateY(-2px); border-color: var(--gilt); }
.boardrow__link { display: flex; align-items: center; gap: .85rem; padding: .7rem .9rem; text-decoration: none; }
.boardrow__rank {
    flex: 0 0 auto; width: 2.1rem; text-align: center;
    font-family: "Cinzel", serif; font-size: 1.5rem; color: var(--ash); font-weight: 600;
}
.boardrow__img {
    flex: 0 0 auto; width: 3.2rem; height: 3.2rem; border-radius: 7px; object-fit: cover;
    border: 1px solid var(--rule);
}
.boardrow__img--none {
    display: flex; align-items: center; justify-content: center;
    color: var(--ash); background: linear-gradient(180deg, var(--oxblood-2), var(--oxblood));
    font-family: "Cinzel", serif;
}
.boardrow__meta { flex: 1 1 auto; min-width: 0; }
.boardrow__brand { font-family: "Cinzel", serif; font-weight: 600; color: var(--gilt-hi); font-size: 1.1rem; line-height: 1.1; }
.boardrow__line { color: rgba(231,220,196,.82); font-size: .85rem; margin-top: .05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.boardrow__count { color: var(--ash); font-size: .72rem; letter-spacing: .02em; margin-top: .2rem; }
.boardrow__score { flex: 0 0 auto; text-align: right; }
.boardrow__num { font-family: "Cinzel", serif; font-size: 1.55rem; color: var(--gilt-hi); }
.boardrow__scale { font-size: .68rem; color: var(--gilt); margin-left: .05em; }
.boardrow__verdict { color: var(--parchment); font-size: .72rem; letter-spacing: .02em; margin-top: .1rem; }
/* Podium: the top three get a metal-tinted rank + edge. */
.boardrow--gold   { border-color: var(--gilt); box-shadow: 0 0 0 1px rgba(201,162,75,.35); }
.boardrow--gold   .boardrow__rank { color: var(--gilt-hi); }
.boardrow--silver .boardrow__rank { color: #cdd3da; }
.boardrow--bronze .boardrow__rank { color: #c88f5a; }

/* ---------- lounge + shared view ---------- */
.card--static { cursor: default; }
.card--static:hover { transform: none; box-shadow:
    inset 0 0 0 4px rgba(0,0,0,.35), inset 0 0 0 5px rgba(201,162,75,.4), 0 8px 24px rgba(0,0,0,.45); }

/* ---------- shared-cigar (read-only detail in the lounge) ---------- */
.lounge-eyebrow {
    text-align: center; margin-top: 1.3rem;
    color: var(--gilt); font-family: "Cinzel", serif;
    font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
}
.lounge-note {
    text-align: center; margin: .9rem auto 0; max-width: 30rem;
    color: var(--parchment); font-style: italic; font-size: 1.02rem;
}
.lounge-unrated, .lounge-signin {
    text-align: center; margin-top: 1.4rem;
    color: var(--ash); font-size: .92rem;
}

/* The signature: three "what do you do with it" choices at equal weight, each a
   different temperature — ember (savor), ash (discard), gilt (keep). */
/* Compact horizontal action rows (were oversized cards with verbose sublabels). */
.lounge-acts {
    margin-top: 1.6rem;
    display: flex; flex-direction: column; gap: .55rem;
}
.act {
    display: flex; flex-direction: row; align-items: center; gap: .85rem;
    padding: .8rem 1.1rem;
    background: linear-gradient(180deg, rgba(94,26,26,.18), rgba(0,0,0,.16));
    border: 1px solid var(--rule); border-radius: 10px;
    color: var(--parchment); cursor: pointer; text-align: left;
    transition: border-color .2s, transform .12s, box-shadow .25s, background .2s;
}
.act:hover { transform: translateY(-1px); }
.act:focus-visible { outline: 2px solid var(--gilt); outline-offset: 2px; }
.act:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.act__glyph { font-size: 1.25rem; line-height: 1; width: 1.4rem; text-align: center; flex: 0 0 auto; }
.act__verb {
    font-family: "Cinzel", serif; font-size: .82rem;
    letter-spacing: .1em; text-transform: uppercase; color: var(--parchment);
}

/* The lit ember — the one alive thing on the page. It breathes; on hover it flares. */
.act--burn .act__glyph { color: var(--ember); text-shadow: 0 0 12px rgba(210,97,28,.6); }
.act--burn:hover { border-color: var(--ember); box-shadow: 0 6px 26px rgba(210,97,28,.22); }
.act--burn:hover .act__glyph { text-shadow: 0 0 18px rgba(210,97,28,.95), 0 0 34px rgba(210,97,28,.5); }
@media (prefers-reduced-motion: no-preference) {
    .act--burn .act__glyph { animation: ember 3.6s ease-in-out infinite; }
    @keyframes ember {
        0%, 100% { text-shadow: 0 0 10px rgba(210,97,28,.45); opacity: .92; }
        50%      { text-shadow: 0 0 18px rgba(210,97,28,.85), 0 0 30px rgba(210,97,28,.4); opacity: 1; }
    }
}
/* Snuffed — cold ash, stays cold even on hover. */
.act--snuff .act__glyph { color: var(--ash); }
.act--snuff:hover { border-color: var(--ash); background: linear-gradient(180deg, rgba(0,0,0,.32), rgba(0,0,0,.2)); }
.act--keep .act__glyph { color: var(--gilt); }
.act--keep:hover { border-color: var(--gilt); box-shadow: 0 6px 26px rgba(201,162,75,.20); }

/* The card image preview inside the Share modal. */
.share-preview {
    display: block; width: 100%; border-radius: 8px;
    border: 1px solid var(--gilt); margin: .2rem 0 .2rem;
}

/* ---------- the ranks (community verdict) ---------- */
/* The honest call — the one bold element, framed like a verdict pulled from the room. */
.call {
    text-align: center; margin: 1.3rem 0 .2rem;
    padding: 1rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.call__verdict {
    font-family: "Cinzel", serif; font-weight: 700; line-height: 1.05;
    font-size: clamp(1.6rem, 7vw, 2.3rem); color: var(--gilt-hi);
}
.call__meta { margin-top: .5rem; display: flex; justify-content: center; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.call__score { font-family: "Cinzel", serif; color: var(--ember); font-size: 1.1rem; }
.call__score small, .ranks-you small { font-size: .68em; color: var(--gilt); margin-left: .05em; }
.call__count { color: var(--ash); font-size: .72rem; letter-spacing: .04em; }

/* Signed takes — one smoker, one opinion, their name on it. Styled as a quoted card rather
   than a row in a list: these are the only attributed words on the board, and they should feel
   like someone handed them to you. */
.takes { display: flex; flex-direction: column; gap: .8rem; margin-top: .7rem; }
.take {
    margin: 0; padding: .85rem .95rem;
    background: var(--panel); border: 1px solid var(--rule); border-radius: 10px;
}
.take__head { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.take__who {
    font-family: "Cinzel", serif; font-size: .8rem; letter-spacing: .06em; color: var(--gilt);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.take__score { flex: none; color: var(--parchment); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.take__score small { color: var(--ash); font-size: .62em; }
.take__note {
    margin: .5rem 0 0; padding-left: .7rem; border-left: 2px solid rgba(201,162,75,.34);
    color: var(--parchment); font-size: .92rem; line-height: 1.5; font-style: italic;
    overflow-wrap: anywhere;   /* someone's prose, not our copy — it can be anything */
}
.take__foot { margin-top: .5rem; color: var(--ash); font-size: .72rem; }

.ranks-you { text-align: center; margin-top: 1.3rem; color: var(--ash); font-size: .82rem; }
.ranks-you b { color: var(--gilt-hi); font-weight: 400; }
.ranks-weighin {
    display: block; width: 100%; margin-top: 1.3rem; text-align: center;
    padding: .7rem 1rem; text-decoration: none; border-radius: 8px;
    border: 1px solid var(--gilt); color: var(--gilt);
    font-family: "Cinzel", serif; letter-spacing: .12em; text-transform: uppercase; font-size: .74rem;
}
.ranks-weighin:hover { color: var(--gilt-hi); border-color: var(--gilt-hi); }

/* The Rank & File "where the ranks land" meters read as the same instrument as the tasting
   sliders — icon, poles, and a thick bipolar gold track with a marker where the community sits. */
.rmeters { margin-top: 1rem; display: flex; flex-direction: column; gap: 1.05rem; }
.rmeter__top { display: flex; align-items: center; gap: .55rem; margin-bottom: .4rem; }
.rmeter__icon { flex: 0 0 22px; width: 22px; height: 22px; display: inline-flex; color: var(--gilt); }
.rmeter__icon svg { width: 100%; height: 100%; display: block; }
.rmeter__label {
    font-family: "Cinzel", serif; font-size: 1.02rem; letter-spacing: .06em;
    text-transform: uppercase; color: var(--parchment); line-height: 1;
}
.rmeter__slide { display: flex; align-items: center; gap: .5rem; }
.rmeter__track {
    position: relative; flex: 1; height: 7px; border-radius: 999px;
    background: linear-gradient(90deg, rgba(178,58,42,.7) 0%, var(--gilt) 50%, rgba(178,58,42,.7) 100%);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.45);
}
.rmeter__mid { position: absolute; left: 50%; top: -4px; bottom: -4px; width: 2px; background: var(--gilt-hi); }
.rmeter__mark {
    position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 35% 30%, var(--gilt-hi), var(--gilt) 60%, #8a6a2b);
    border: 1px solid #6f521f; box-shadow: 0 2px 7px rgba(0,0,0,.6);
}


/* ---------- cigar detail ---------- */
.detail__hero {
    position: relative; margin-top: 1.2rem;
    border-radius: 10px; overflow: hidden;
    border: 1px solid var(--gilt);
    box-shadow:
        inset 0 0 0 5px var(--oxblood),
        inset 0 0 0 6px rgba(201,162,75,.5),
        0 14px 40px rgba(0,0,0,.55);
}
.detail__photo { display: block; width: 100%; max-height: 320px; object-fit: cover; }
.detail__nophoto {
    aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, var(--oxblood-2), var(--oxblood));
    color: var(--gilt); font-family: "Cinzel", serif; letter-spacing: .22em; font-size: .8rem;
}
.detail__title { text-align: center; margin-top: 1.1rem; }
.detail__brand {
    font-family: "Cinzel", serif; font-weight: 700;
    font-size: clamp(1.5rem, 6vw, 2.1rem); color: var(--gilt-hi); line-height: 1.12;
}
.detail__line { color: var(--parchment); font-size: 1.02rem; }
.detail__vitola { color: var(--ash); font-style: italic; font-size: .92rem; }

.meta {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem .9rem;
    margin: 1rem 0 .2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule);
}
.meta__item { font-size: .74rem; color: var(--ash); }
.meta__item b { color: var(--parchment); font-weight: 400; }

.section-cap {
    font-family: "Cinzel", serif; font-size: .68rem;
    letter-spacing: .18em; text-transform: uppercase; color: var(--gilt);
    text-align: center; margin-top: 1.6rem;
}
.saved-flash { text-align: center; color: var(--gilt-hi); font-style: italic; margin-top: .8rem; }

/* Blazor's default error bar, restyled to fit. */
#blazor-error-ui {
    background: var(--oxblood);
    color: var(--parchment);
    bottom: 0; box-shadow: 0 -2px 12px rgba(0,0,0,.5);
    display: none; left: 0; padding: .8rem 1.2rem; position: fixed; width: 100%; z-index: 1000;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .9rem; top: .6rem; }

/* ---------- THE SHADE RAIL (the humidor's filter) ----------
   Six real wrapper shades, palest to darkest. Picking the leaf beats naming it in a
   dropdown, and it costs nothing to run — which is why every account gets it. */
.masthead__count { color: var(--ash); font-style: italic; font-size: .9rem; margin-top: .25rem; }

.rail { margin: 1.8rem 0 .4rem; text-align: center; }
.rail__label {
    font-family: "Cinzel", serif; font-size: .6rem; letter-spacing: .22em;
    color: var(--ash); text-transform: uppercase; margin-bottom: .7rem;
}
/* Shrink-wraps the disc row so the spectrum beneath aligns to it exactly — the rule has
   to start and end with the leaf, or it reads as an accident. */
.rail__inner { display: inline-block; }
.rail__discs { display: flex; justify-content: center; align-items: center; gap: .55rem; flex-wrap: nowrap; }

.shade {
    width: 44px; height: 44px; flex: none; border-radius: 50%; cursor: pointer; padding: 0;
    border: 1px solid var(--rule);      /* keeps Oscuro legible on a near-black ground */
    transition: transform .18s ease, box-shadow .18s ease;
}
.shade:hover { transform: translateY(-2px); }
.shade:focus-visible { outline: 2px solid var(--gilt-hi); outline-offset: 3px; }
.shade[aria-pressed="true"] {           /* the gilt signet ring */
    box-shadow: 0 0 0 2px var(--humidor), 0 0 0 4px var(--gilt);
    transform: translateY(-3px);
}

/* The spectrum: structure that encodes something true — the row is in order. */
.rail__spectrum {
    display: flex; align-items: center; gap: .55rem; margin-top: .6rem; width: 100%;
    font-family: "Cinzel", serif; font-size: .52rem; letter-spacing: .2em; color: var(--ash);
}
.rail__spectrum span { flex: none; }
.rail__spectrum i { flex: 1; height: 1px; background: var(--rule); }

.rail__picked {
    margin-top: .7rem; min-height: 1.2rem;
    font-family: "Cinzel", serif; font-size: .68rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--gilt);
}
.clear {
    background: none; border: none; cursor: pointer; color: var(--ash); font: inherit;
    font-size: .6rem; letter-spacing: .14em; margin-left: .6rem; text-decoration: underline;
    text-underline-offset: 3px;
}
.clear:hover { color: var(--ember); }

/* ---------- sort ---------- */
.sort { display: flex; justify-content: center; align-items: center; gap: .5rem; margin: 1.4rem 0 1.8rem; }
.sort__btn {
    background: none; border: none; cursor: pointer; padding: .35rem .2rem;
    font-family: "Cinzel", serif; font-size: .64rem; letter-spacing: .13em;
    text-transform: uppercase; color: var(--ash); transition: color .18s ease;
}
.sort__btn:hover { color: var(--gilt-hi); }
.sort__btn[aria-pressed="true"] { color: var(--gilt); }
.sort__btn:focus-visible { outline: 2px solid var(--gilt); outline-offset: 2px; }
.sort__dot { color: var(--rule); font-size: .6rem; }

/* ---------- the paid line ---------- */

@media (max-width: 420px) {
    .shade { width: 38px; height: 38px; }
    .rail__discs { gap: .4rem; }
}

/* ---------- the allowance (what's left of the month, said before it's spent) ---------- */
.allowance {
    margin-top: 1rem; text-align: center; color: var(--ash);
    font-family: "Cinzel", serif; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
}
.allowance__up {
    color: var(--gilt); margin-left: .5rem; text-decoration: underline; text-underline-offset: 3px;
    text-decoration-color: var(--rule);
}
.allowance__up:hover { color: var(--gilt-hi); text-decoration-color: var(--gilt); }

/* The wall: the model didn't read this one. Stated, not apologised for. */
.wall {
    margin: 1.2rem 0; padding: 1rem 1.1rem; text-align: center;
    background: var(--panel); border: 1px solid var(--rule); border-radius: 6px;
}
.wall__lead {
    font-family: "Cinzel", serif; font-size: .72rem; letter-spacing: .16em;
    text-transform: uppercase; color: var(--gilt);
}
.wall__note { color: var(--ash); font-size: .85rem; margin-top: .5rem; }
.wall__note a { color: var(--gilt); text-decoration: underline; text-underline-offset: 3px; }
.wall__note a:hover { color: var(--gilt-hi); }

/* ---------- plan row on the account page ---------- */
.plan { display: flex; align-items: baseline; flex-wrap: wrap; gap: .6rem; }
.plan__name {
    font-family: "Cinzel", serif; font-size: 1rem; letter-spacing: .1em; color: var(--parchment);
}
.plan__meta { color: var(--ash); font-size: .82rem; font-style: italic; }

/* ---------- legal pages (/terms, /privacy) ----------
   Anonymous pages, linked from AuthKit's sign-in screen and both app stores, so they're
   read by people who've never seen Banded. Long-form prose: wider measure than a card,
   quiet type, no flourish — the humidor look shouldn't make a policy hard to read. */
.legal__stamp {
    font-family: "Cinzel", serif; font-size: .58rem; letter-spacing: .18em;
    text-transform: uppercase; color: var(--ash); text-align: center; margin-top: .6rem;
}
.legal__lede {
    color: var(--parchment); font-size: 1.02rem; margin: 1.6rem 0 0;
    padding-bottom: 1.4rem; border-bottom: 1px solid var(--rule);
}
.legal__h {
    font-family: "Cinzel", serif; font-weight: 700; font-size: .82rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--gilt); margin: 2rem 0 .6rem;
}
.legal__p { color: var(--parchment); margin: 0 0 .9rem; }
.legal__list { color: var(--parchment); margin: 0 0 .9rem; padding-left: 1.1rem; }
.legal__list li { margin-bottom: .5rem; }
.legal__p b, .legal__list b { color: var(--gilt-hi); font-weight: 400; }
.legal__p a, .legal__list a { color: var(--gilt); text-decoration: underline; text-underline-offset: 3px; }
.legal__p a:hover, .legal__list a:hover { color: var(--gilt-hi); }
.legal__mail { font-family: "Cinzel", serif; letter-spacing: .06em; }
.legal__foot {
    margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--rule);
    text-align: center; font-family: "Cinzel", serif; font-size: .62rem; letter-spacing: .16em;
    text-transform: uppercase;
}
.legal__foot a { color: var(--gilt); }
.legal__foot a:hover { color: var(--gilt-hi); }
