/*
 * ROF Worldwide V4 — design system (MAX, 2026-11-12).
 * Hand-written CSS, no build step (cPanel shared hosting). Pages under /v4 only.
 *
 * Surfaces: the public site is warm off-white and editorial; the customer app is deep black.
 * Every component reads the surface tokens (--bg, --fg, --card…), so it looks right on either.
 * Colour: black, charcoal, warm off-white and brushed silver. Status colours are muted and small.
 * Gold appears in one place only: the #1 position on a leaderboard. No yellow anywhere else.
 * Motion: short, eased, and switched off for people who ask for reduced motion.
 */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/geist-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/geist-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-standard-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-display: swap; font-weight: 400; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-display: swap; font-weight: 400; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --f-ui: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --f-wide: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --black: #0a0a0b;
  --char: #141416;
  --char-2: #1c1c1f;
  --char-3: #26262a;
  --paper: #f3f0e9;
  --paper-2: #e9e5dc;
  --paper-3: #fbfaf6;
  --silver: #c9cacd;
  --silver-d: #8e9095;
  --brushed: linear-gradient(115deg, #8d8f94 0%, #e6e7e9 22%, #a5a7ab 45%, #f2f2f3 62%, #9a9ca0 82%, #cfd0d3 100%);
  --gold: #c8a55a;
  --gold-hi: #ead7a4;
  --gold-grad: linear-gradient(135deg, #8a6c2c, #e3cb8c 35%, #b38f45 60%, #f0dfb0 85%, #9b7a36);

  --ok: #6fbf92;
  --wait: #9db0c4;
  --bad: #de8a82;
  --off: #8f8c86;

  --r-xs: 8px; --r-s: 12px; --r: 18px; --r-l: 24px; --r-xl: 30px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-sheet: cubic-bezier(.32, .72, 0, 1);
  --gutter: 20px;
  --max: 1200px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

/* Light editorial surface (public site) */
.site, .on-light {
  --bg: var(--paper);
  --bg-2: var(--paper-2);
  --card: var(--paper-3);
  --card-2: #f0ece3;
  --fg: #121214;
  --fg-2: #3b3a37;
  --mut: #74716b;
  --line: rgba(18, 18, 20, .1);
  --line-2: rgba(18, 18, 20, .16);
  --soft: rgba(18, 18, 20, .045);
  --pri-bg: #121214;
  --pri-fg: var(--paper);
  --focus: #121214;
  --shadow: 0 1px 2px rgba(20, 18, 14, .05), 0 12px 32px -18px rgba(20, 18, 14, .28);
}
/* Deep black surface (customer app, dark bands on the site) */
.app, .on-dark {
  --bg: var(--black);
  --bg-2: #0f0f11;
  --card: var(--char);
  --card-2: var(--char-2);
  --fg: #f3f0e9;
  --fg-2: #cfccc5;
  --mut: #8e8b85;
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .13);
  --soft: rgba(255, 255, 255, .045);
  --pri-bg: var(--paper);
  --pri-fg: #0b0b0c;
  --focus: var(--paper);
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px -24px rgba(0, 0, 0, .9);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 15px/1.5 var(--f-ui); font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--fg); color: var(--bg); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: calc(12px + var(--safe-t)); }
[hidden] { display: none !important; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-s { width: 18px; height: 18px; }
.ico-xs { width: 14px; height: 14px; }
.ico-l { width: 28px; height: 28px; }
img.is-missing { opacity: 0; }

/* ---------- Type ---------- */
.eyebrow { font: 600 10.5px/1.2 var(--f-wide); font-stretch: 118%; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); }
.display { font: 400 clamp(44px, 8.4vw, 104px)/.95 var(--f-serif); letter-spacing: -.02em; }
.display em, .h1 em, .h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.h1 { font: 500 clamp(30px, 5vw, 50px)/1.04 var(--f-ui); letter-spacing: -.035em; }
.h1 em, .h2 em { letter-spacing: -.01em; }
.h2 { font: 500 clamp(24px, 3.4vw, 34px)/1.1 var(--f-ui); letter-spacing: -.03em; }
.h3 { font: 600 17px/1.3 var(--f-ui); letter-spacing: -.015em; }
.lead { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.55; color: var(--fg-2); max-width: 60ch; }
.muted { color: var(--mut); }
.small { font-size: 13px; }
.xsmall { font-size: 12px; }
.num { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: -.02em; }
.num small { font-size: .62em; font-weight: 500; margin-left: 2px; color: var(--mut); letter-spacing: 0; }
.serial { font-variant-numeric: tabular-nums; letter-spacing: .08em; font-feature-settings: "tnum", "zero"; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.min0 { min-width: 0; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 1px; transition: border-color .2s; }
.link:hover { border-color: var(--fg); }
.prose { max-width: 68ch; color: var(--fg-2); }
.prose p + p, .prose p + h2, .prose ul + h2 { margin-top: 14px; }
.prose h2 { font: 600 18px/1.3 var(--f-ui); color: var(--fg); margin-top: 28px; }
.prose ul { list-style: disc; padding-left: 20px; margin-top: 10px; }
.prose li + li { margin-top: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-n { max-width: 640px; }
.wrap-m { max-width: 880px; }
.stack > * + * { margin-top: 12px; }
.stack-l > * + * { margin-top: 28px; }
.mt-xs { margin-top: 6px; } .mt-s { margin-top: 10px; } .mt { margin-top: 18px; } .mt-l { margin-top: 32px; } .mt-xl { margin-top: 56px; }
.mb { margin-bottom: 18px; } .mb-s { margin-bottom: 10px; }
.row { display: flex; align-items: center; gap: 12px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wraps { flex-wrap: wrap; }
.center { text-align: center; }
.grid2 { display: grid; gap: 16px; }
.grid3 { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid3 { grid-template-columns: repeat(3, 1fr); } }
.split { display: grid; gap: 24px; }
@media (min-width: 980px) { .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: start; } .split-r { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.sec { padding: 64px 0; }
.sec-s { padding: 40px 0; }
@media (min-width: 900px) { .sec { padding: 104px 0; } .sec-s { padding: 56px 0; } }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head > div { max-width: 640px; }
.sec-head .eyebrow + .h2, .sec-head .eyebrow + .h1 { margin-top: 12px; }
.sec-head p.muted { margin-top: 10px; }
.band { background: var(--bg); color: var(--fg); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 22px; border-radius: 999px; background: var(--pri-bg); color: var(--pri-fg); font-weight: 560; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; border: 1px solid transparent; transition: transform .18s var(--ease), opacity .2s, background .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
.btn:hover { opacity: .9; }
.btn:active { transform: scale(.97); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--fg); opacity: 1; }
.btn-soft { background: var(--soft); color: var(--fg); }
.btn-metal { background: var(--brushed); color: #0b0b0c; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset; }
.btn-s { --h: 38px; padding: 0 15px; font-size: 13.5px; }
.btn-full { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.iconbtn { position: relative; width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--fg); transition: background .2s, transform .18s var(--ease); -webkit-tap-highlight-color: transparent; flex: none; }
.iconbtn:hover { background: var(--soft); }
.iconbtn:active { transform: scale(.94); }
.iconbtn .dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 2px var(--bg); }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btns-full { display: grid; gap: 10px; }
@media (min-width: 520px) { .btns-full { grid-auto-flow: column; grid-auto-columns: 1fr; } }

/* ---------- Status pill (one style for every status) ---------- */
.st { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px 0 7px; border-radius: 999px; font: 600 10.5px/1 var(--f-ui); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; background: var(--soft); color: var(--fg-2); }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); }
.st-pend { color: var(--wait); background: color-mix(in srgb, var(--wait) 14%, transparent); }
.st-bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 13%, transparent); }
.st-off { color: var(--off); }
.st-neutral { color: var(--mut); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.on-light .st-ok, .site .st-ok { color: #2f7a52; }
.on-light .st-pend, .site .st-pend { color: #4a6580; }
.on-light .st-bad, .site .st-bad { color: #a6463e; }
.on-dark .st-ok, .app .st-ok { color: var(--ok); }
.on-dark .st-pend, .app .st-pend { color: var(--wait); }
.on-dark .st-bad, .app .st-bad { color: var(--bad); }

/* ---------- Surfaces ---------- */
.card { background: var(--card); border-radius: var(--r-l); padding: 20px; box-shadow: var(--shadow); }
.card-flat { background: var(--card); border-radius: var(--r-l); padding: 20px; }
.card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-h h2, .card-h h3 { font: 600 15px/1.3 var(--f-ui); letter-spacing: -.01em; }
.card-h a, .card-h .more { font-size: 13px; color: var(--mut); display: inline-flex; align-items: center; gap: 4px; }
.card-h a:hover { color: var(--fg); }
.section-t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 30px 0 12px; }
.section-t h2 { font: 600 17px/1.3 var(--f-ui); letter-spacing: -.02em; }
.section-t a { font-size: 13px; color: var(--mut); display: inline-flex; align-items: center; gap: 4px; }
.section-t a:hover { color: var(--fg); }

/* Lists: compact rows instead of many cards */
.list { background: var(--card); border-radius: var(--r-l); overflow: hidden; }
.list > * + * { border-top: 1px solid var(--line); }
.li { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px; min-height: 60px; transition: background .2s; }
a.li:hover, button.li:hover, .li.is-link:hover { background: var(--soft); }
button.li { width: 100%; text-align: left; }
.li-ico { width: 38px; height: 38px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; flex: none; color: var(--fg); }
.li-th { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: var(--card-2); flex: none; }
.li-th img { width: 100%; height: 100%; object-fit: cover; }
.li-main { flex: 1; min-width: 0; }
.li-main b { display: block; font-weight: 560; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-main span { display: block; font-size: 13px; color: var(--mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; text-align: right; }
.li .chev { color: var(--mut); width: 16px; height: 16px; }
.li .count { min-width: 22px; height: 22px; border-radius: 11px; background: var(--fg); color: var(--bg); font-size: 12px; font-weight: 600; display: grid; place-items: center; padding: 0 6px; }
.stretch::after { content: ""; position: absolute; inset: 0; }
.li form { display: contents; }

/* Key-value rows */
.kv > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--mut); font-size: 14px; flex: none; }
.kv dd { text-align: right; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }

/* Segmented control */
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--soft); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg a, .seg button { flex: none; height: 34px; padding: 0 15px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 520; color: var(--mut); transition: background .25s var(--ease), color .2s; white-space: nowrap; }
.seg a:hover { color: var(--fg); }
.seg [aria-current="page"], .seg [aria-selected="true"] { background: var(--card); color: var(--fg); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
.app .seg [aria-current="page"], .on-dark .seg [aria-current="page"], .app .seg [aria-selected="true"] { background: var(--char-3); }
.seg .n { font-size: 11.5px; color: var(--mut); }

/* Chips used as filters */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; height: 36px; padding: 0 15px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 13.5px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg-2); transition: background .2s, color .2s; }
.chips a[aria-current="page"] { background: var(--fg); color: var(--bg); box-shadow: none; }

/* Alerts */
.note { display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border-radius: var(--r); background: var(--soft); color: var(--fg-2); font-size: 14px; }
.note .ico { margin-top: 1px; }
.note-ok { background: color-mix(in srgb, var(--ok) 12%, transparent); }
.note-bad { background: color-mix(in srgb, var(--bad) 12%, transparent); }
.note b { color: var(--fg); }
.pending-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-s); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; color: var(--mut); }
.pending-note b { color: var(--fg-2); font-weight: 600; }
.sample-tag { position: absolute; z-index: 2; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .5); color: rgba(255, 255, 255, .85); font-size: 10.5px; letter-spacing: .04em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; }

/* Empty states */
.empty { padding: 34px 22px; text-align: center; border-radius: var(--r-l); background: var(--card); }
.empty .ico { margin: 0 auto 12px; color: var(--mut); width: 28px; height: 28px; }
.empty b { display: block; font-weight: 600; font-size: 16px; }
.empty p { color: var(--mut); margin: 6px auto 0; max-width: 42ch; font-size: 14px; }
.empty .btn { margin-top: 18px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field > label, .lbl { display: block; font-size: 13px; font-weight: 560; margin-bottom: 7px; color: var(--fg-2); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); color: var(--fg); font-size: 16px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8b85' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 3px var(--soft); }
.app .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .app .field select, .app .field textarea { background: var(--char-2); border-color: transparent; }
.app .field input:focus, .app .field select:focus, .app .field textarea:focus { border-color: var(--line-2); }
.field input[type=date] { min-width: 0; }
.hint { font-size: 12.5px; color: var(--mut); margin-top: 6px; }
.err { font-size: 13px; color: var(--bad); margin-top: 6px; }
.site .err { color: #a6463e; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--fg); flex: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fieldset { border: 0; padding: 0; margin: 0; }
.fieldset legend { padding: 0; margin-bottom: 12px; }
.opt { border-radius: var(--r); background: var(--soft); margin-top: 16px; }
.opt > summary { list-style: none; cursor: pointer; padding: 15px 16px; display: flex; align-items: center; gap: 10px; font-weight: 560; }
.opt > summary::-webkit-details-marker { display: none; }
.opt > summary span { color: var(--mut); font-weight: 400; font-size: 13px; flex: 1; }
.opt > summary .ico { transition: transform .25s var(--ease); }
.opt[open] > summary .ico { transform: rotate(180deg); }
.opt > :not(summary) { padding: 0 16px; }
.opt > :last-child { padding-bottom: 16px; }
/* Toggle switch (checkbox) */
.switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 50px; height: 30px; border-radius: 15px; background: var(--line-2); position: relative; flex: none; transition: background .25s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .3s var(--ease); }
.switch input:checked + .track { background: var(--ok); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 2px solid var(--focus); outline-offset: 2px; }
/* Upload */
.drop { position: relative; display: grid; place-items: center; text-align: center; gap: 6px; padding: 34px 20px; border-radius: var(--r-l); background: var(--card); border: 1.5px dashed var(--line-2); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover { border-color: var(--fg); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop .ring { width: 56px; height: 56px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; margin-bottom: 6px; }
.drop b { font-weight: 600; }
.drop span { font-size: 13px; color: var(--mut); max-width: 40ch; }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 10px; }
.previews:empty { display: none; }
.previews img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; width: 100%; }
.sticky-go { position: sticky; bottom: calc(12px + var(--safe-b)); z-index: 5; margin-top: 22px; }
.has-tabbar .sticky-go { bottom: calc(96px + var(--safe-b)); }
.is-typing .sticky-go { bottom: calc(12px + var(--safe-b)); }

/* ---------- Avatar ---------- */
.avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; display: inline-grid; place-items: center; background: var(--char-3); color: var(--paper); font-size: 13px; font-weight: 600; flex: none; box-shadow: 0 0 0 1px var(--line-2); }
.site .avatar { background: #222; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-l { width: 64px; height: 64px; font-size: 20px; }
.avatar-xl { width: 88px; height: 88px; font-size: 26px; }

/* =========================================================================
   PUBLIC SITE
   ========================================================================= */
.topbar { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--line); padding-top: var(--safe-t); transition: background .3s, border-color .3s, color .3s; }
.topbar-in { display: flex; align-items: center; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; }
.brand .w { display: none; }
.topnav { display: none; gap: 4px; margin: 0 auto; }
.topnav a { padding: 8px 14px; border-radius: 999px; font: 600 11.5px/1 var(--f-wide); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); transition: color .2s, background .2s; }
.topnav a:hover { color: var(--fg); background: var(--soft); }
.topnav a[aria-current="page"] { color: var(--fg); background: var(--soft); }
.top-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.shoplink { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; font: 600 11px/1 var(--f-wide); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s, box-shadow .2s; }
.shoplink:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.shoplink .ico { width: 16px; height: 16px; }
.top-me { display: none; }
@media (min-width: 960px) {
  .topnav { display: flex; }
  .topbar .menu-btn { display: none; }
  .top-actions { margin-left: 0; }
  .top-me { display: inline-flex; }
}
@media (max-width: 420px) { .shoplink span.long { display: none; } }
/* Header over a dark hero: transparent and white until the page scrolls */
.topbar.is-over { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #f3f0e9; backdrop-filter: none; -webkit-backdrop-filter: none; --fg: #f3f0e9; --fg-2: rgba(243, 240, 233, .82); --line-2: rgba(255, 255, 255, .28); --soft: rgba(255, 255, 255, .1); }
.topbar.is-over .brand .b { display: none; }
.topbar.is-over .brand .w { display: block; }
.topbar.is-over.is-solid { background: rgba(10, 10, 11, .78); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-color: rgba(255, 255, 255, .06); }

.foot { background: var(--black); color: var(--paper); padding: 64px 0 calc(32px + var(--safe-b)); --fg: var(--paper); --mut: #8e8b85; --line: rgba(255, 255, 255, .08); }
.foot-top { display: grid; gap: 40px; }
.foot-brand img { height: 30px; width: auto; }
.foot-brand p { color: var(--mut); margin-top: 16px; max-width: 34ch; font-size: 14px; }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
.foot-cols h4 { margin-bottom: 12px; }
.foot-cols a { display: block; padding: 5px 0; color: #cfccc5; font-size: 14px; }
.foot-cols a:hover { color: #fff; }
.foot-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 22px; font-size: 12.5px; color: var(--mut); }
.foot-bot nav { display: flex; gap: 18px; }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1fr 2fr; } .foot-cols { grid-template-columns: repeat(4, 1fr); } }
.has-tabbar .foot { padding-bottom: calc(120px + var(--safe-b)); }

/* Hero (home) */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; color: #f3f0e9; background: #050506; overflow: hidden; isolation: isolate; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); animation: heroIn 2.4s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 5, 6, .55) 0%, rgba(5, 5, 6, 0) 30%, rgba(5, 5, 6, .25) 55%, rgba(5, 5, 6, .92) 100%); }
.hero-in { padding-top: 140px; padding-bottom: 48px; width: 100%; }
.hero .eyebrow { color: rgba(243, 240, 233, .7); }
.hero h1 { margin-top: 18px; max-width: 12ch; }
.hero-sub { margin-top: 18px; max-width: 46ch; color: rgba(243, 240, 233, .8); font-size: clamp(16px, 1.6vw, 18px); }
.hero .btns { margin-top: 28px; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: rgba(243, 240, 233, .7); }
.hero-foot b { color: #f3f0e9; font-weight: 600; }
@keyframes heroIn { from { transform: scale(1.1); opacity: .4; } to { transform: scale(1.04); opacity: 1; } }

/* Intro header for inner public pages */
.intro { padding-top: 48px; padding-bottom: 28px; }
.intro .h1 { margin-top: 14px; max-width: 18ch; }
.intro .lead { margin-top: 14px; }
@media (min-width: 900px) { .intro { padding-top: 80px; padding-bottom: 40px; } }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--mut); padding-top: 20px; }
.crumbs a:hover { color: var(--fg); }

/* Rod model tiles */
.rodgrid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .rodgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rodgrid { grid-template-columns: repeat(3, 1fr); } }
.rodtile { position: relative; display: block; border-radius: var(--r-l); background: var(--card); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.rodtile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rodtile figure { position: relative; aspect-ratio: 4 / 3; background: #ecebe7; overflow: hidden; }
.rodtile figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rodtile:hover figure img { transform: scale(1.04); }
.rodtile .body { padding: 18px 20px 20px; }
.rodtile .eyebrow { display: block; }
.rodtile h3 { font: 560 19px/1.25 var(--f-ui); letter-spacing: -.02em; margin-top: 8px; }
.rodtile p { color: var(--mut); font-size: 13.5px; margin-top: 6px; }
.rodtile .go { position: absolute; right: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .85); color: #111; display: grid; place-items: center; z-index: 2; }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(78%, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-padding: 0 var(--gutter); }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }
@media (min-width: 640px) { .hscroll { grid-auto-columns: minmax(44%, 1fr); } }
@media (min-width: 1000px) { .hscroll { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; } }

/* Product page */
.pdp { display: grid; gap: 28px; padding-top: 12px; }
@media (min-width: 980px) { .pdp { grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; } .pdp-info { position: sticky; top: 96px; } }
.pdp-media { border-radius: var(--r-xl); overflow: hidden; background: #ecebe7; position: relative; aspect-ratio: 4 / 3; }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info .h1 { margin-top: 12px; }
.specs { margin-top: 24px; }

/* Catches (photo first) */
.catches { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .catches { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1080px) { .catches { grid-template-columns: repeat(4, 1fr); } }
.catch { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--char-2); aspect-ratio: 4 / 5; color: #f3f0e9; isolation: isolate; }
.catch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .8s var(--ease); }
.catch:hover img { transform: scale(1.04); }
.catch::after { content: ""; position: absolute; inset: 45% 0 0; z-index: -1; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78)); }
.catch-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.catch-cap b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.catch-cap span { display: block; font-size: 12px; color: rgba(243, 240, 233, .72); }
.catch-cap .num { font-size: 17px; color: #fff; }
.catch-cap .num small { color: rgba(255, 255, 255, .7); }
.catch .tag { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.catch .st { position: absolute; top: 10px; left: 10px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.catches-lead > :first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 759px) { .catches-lead > :first-child { aspect-ratio: 4 / 4.2; grid-row: auto; } }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
.strip::-webkit-scrollbar { display: none; }
.strip > * { scroll-snap-align: start; }
@media (min-width: 760px) { .strip { grid-auto-columns: 30%; } }
@media (min-width: 1080px) { .strip { grid-auto-columns: calc((100% - 30px) / 4); margin: 0; padding: 0; } }

/* Authentication explainer band */
.auth-band { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .auth-band { grid-template-columns: 1fr 1fr; gap: 72px; } }
.auth-steps { margin-top: 28px; display: grid; gap: 2px; }
.auth-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.auth-steps li b { display: block; font-weight: 600; }
.auth-steps li span { display: block; color: var(--mut); font-size: 14px; margin-top: 3px; }
.auth-steps .n { font: 600 12px/1 var(--f-wide); font-stretch: 118%; letter-spacing: .14em; color: var(--mut); padding-top: 4px; }
.card-stage { position: relative; perspective: 1200px; padding: 20px 0; }
.card-stage .rodcard { max-width: 440px; margin: 0 auto; }
.card-stage .rodcard + .rodcard { position: absolute; inset: 20px 0 auto; transform: translate(18px, -26px) rotate(4deg) scale(.94); z-index: -1; opacity: .55; }
.card-caption { text-align: center; color: var(--mut); font-size: 12.5px; margin-top: 16px; }

/* Story */
.story { position: relative; color: #f3f0e9; overflow: hidden; isolation: isolate; background: #050506; }
.story > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .75; }
.story::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 5, 6, .88), rgba(5, 5, 6, .2)); }
.story .wrap { padding-top: 110px; padding-bottom: 110px; }
.story p { color: rgba(243, 240, 233, .78); max-width: 46ch; margin-top: 16px; }
.story .btn { margin-top: 26px; }

/* Shortcut row (home) */
.quicklinks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-l); overflow: hidden; }
@media (min-width: 900px) { .quicklinks { grid-template-columns: repeat(4, 1fr); } }
.quicklinks a { background: var(--card); padding: 20px; display: grid; gap: 22px; transition: background .2s; }
.quicklinks a:hover { background: var(--card-2); }
.quicklinks b { display: block; font-weight: 600; }
.quicklinks span { display: block; font-size: 13px; color: var(--mut); margin-top: 3px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 560; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .25s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { color: var(--fg-2); padding-bottom: 18px; max-width: 64ch; }

/* =========================================================================
   CUSTOMER APP
   ========================================================================= */
.appbar { position: sticky; top: 0; z-index: 40; padding-top: var(--safe-t); background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(150%) blur(20px); -webkit-backdrop-filter: saturate(150%) blur(20px); }
.appbar-in { height: 60px; display: flex; align-items: center; gap: 8px; }
.appbar .mark img { height: 20px; width: auto; }
.appbar .title { font-weight: 600; font-size: 16px; letter-spacing: -.015em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.appbar .end { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.appbar .me { display: inline-flex; padding: 3px; border-radius: 50%; }
.appnav { display: none; gap: 2px; margin-left: 24px; }
.appnav a { height: 36px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 14px; color: var(--mut); transition: color .2s, background .2s; }
.appnav a:hover { color: var(--fg); }
.appnav a[aria-current="page"] { color: var(--fg); background: var(--soft); }
.appbar .desk { display: none; }
@media (min-width: 960px) { .appnav { display: flex; } .appbar .desk { display: inline-flex; } .appbar .mark.is-sub { display: inline-flex; } }
.appbar.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.amain { padding: 6px 0 calc(130px + var(--safe-b)); }
@media (min-width: 960px) { .amain { padding-bottom: 80px; } }
.app .wrap { max-width: 1120px; }
.apage { max-width: 560px; margin: 0 auto; }
@media (min-width: 960px) { .apage-wide { max-width: none; } }

/* Floating tab bar (phones and small tablets) */
.tabbar { position: fixed; z-index: 45; left: 50%; bottom: calc(12px + var(--safe-b)); transform: translateX(-50%); width: min(calc(100% - 24px), 440px); height: 68px; padding: 0 6px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; border-radius: 26px; background: rgba(22, 22, 25, .82); backdrop-filter: saturate(170%) blur(24px); -webkit-backdrop-filter: saturate(170%) blur(24px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .07) inset, 0 20px 40px -12px rgba(0, 0, 0, .7); color: #f3f0e9; transition: transform .35s var(--ease), opacity .25s; }
.tabbar a { display: grid; justify-items: center; gap: 3px; font-size: 10.5px; font-weight: 520; letter-spacing: .01em; color: rgba(243, 240, 233, .55); padding: 8px 0; -webkit-tap-highlight-color: transparent; transition: color .2s; }
.tabbar a .ico { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: #f3f0e9; }
.tabbar .strike { color: #f3f0e9; }
.tabbar .strike .disc { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: var(--brushed); color: #0b0b0c; box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 8px 18px -6px rgba(0, 0, 0, .6); transition: transform .2s var(--ease); margin-top: -2px; }
.tabbar .strike:active .disc { transform: scale(.92); }
.tabbar .strike span.l { margin-top: -1px; }
.is-typing .tabbar { transform: translate(-50%, 140%); opacity: 0; }
@media (min-width: 960px) { .tabbar { display: none; } }
.site .tabbar { background: rgba(14, 14, 16, .86); }

/* Greeting */
.hello { padding: 10px 0 4px; }
.hello p { color: var(--mut); font-size: 14px; }
.hello h1 { font: 500 26px/1.15 var(--f-ui); letter-spacing: -.03em; margin-top: 2px; }

/* ---------- DIGITAL ROD CARD (signature) ---------- */
.rodcard { --mx: 50%; --my: 0%; --rx: 0deg; --ry: 0deg;
  position: relative; display: block; width: 100%; aspect-ratio: 1.586; border-radius: 22px; overflow: hidden; isolation: isolate; color: #f2f0ea; text-align: left;
  background:
    radial-gradient(110% 80% at var(--mx) var(--my), rgba(255, 255, 255, .16), transparent 60%),
    repeating-linear-gradient(96deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 3px),
    linear-gradient(155deg, #2c2d30 0%, #151618 48%, #0a0a0b 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 1px 0 rgba(255, 255, 255, .16) inset, 0 28px 50px -28px rgba(0, 0, 0, .85), 0 10px 20px -14px rgba(0, 0, 0, .6);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), box-shadow .3s; will-change: transform; -webkit-tap-highlight-color: transparent; container-type: inline-size; }
button.rodcard { padding: 0; border: 0; cursor: pointer; font: inherit; }
.rodcard:active { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) scale(.985); }
.rodcard.f-titanium { background: radial-gradient(110% 80% at var(--mx) var(--my), rgba(255, 255, 255, .22), transparent 60%), repeating-linear-gradient(96deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 3px), linear-gradient(155deg, #5c5f64 0%, #33353a 45%, #1a1b1e 100%); }
.rodcard.f-obsidian { background: radial-gradient(110% 80% at var(--mx) var(--my), rgba(170, 190, 215, .14), transparent 60%), repeating-linear-gradient(96deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 3px), linear-gradient(155deg, #1b2027 0%, #0d1014 50%, #060708 100%); }
.rodcard.f-carbon { background: radial-gradient(110% 80% at var(--mx) var(--my), rgba(255, 255, 255, .14), transparent 60%), repeating-linear-gradient(45deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 6px), repeating-linear-gradient(-45deg, rgba(0, 0, 0, .28) 0 2px, transparent 2px 6px), linear-gradient(155deg, #26272a, #0c0c0d); }
.rodcard.is-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--fg); }
.rodcard .rc-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.rodcard .rc-art svg { position: absolute; left: -6%; right: -6%; top: 30%; width: 112%; height: auto; opacity: .55; }
.rodcard .rc-photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .22; mix-blend-mode: luminosity; filter: grayscale(1) contrast(1.1); }
.rodcard .rc-in { position: absolute; inset: 0; padding: 7% 7.2% 6.4%; display: grid; grid-template-rows: auto 1fr auto; }
.rodcard .rc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.rodcard .rc-logo { height: clamp(15px, 6cqw, 24px); width: auto; opacity: .95; }
.rodcard .rc-nfc { display: inline-flex; align-items: center; gap: 5px; font: 600 clamp(8.5px, 2.5cqw, 10.5px)/1 var(--f-wide); font-stretch: 118%; letter-spacing: .16em; color: rgba(242, 240, 234, .78); }
.rodcard .rc-nfc .ico { width: clamp(16px, 5.4cqw, 22px); height: clamp(16px, 5.4cqw, 22px); stroke-width: 1.4; }
.rodcard .rc-nfc.is-off { color: rgba(242, 240, 234, .38); }
.rodcard .rc-mid { align-self: center; }
.rodcard .rc-brand { font: 700 clamp(9px, 2.8cqw, 11.5px)/1 var(--f-wide); font-stretch: 120%; letter-spacing: .26em; background: var(--brushed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rodcard .rc-series { font: 600 clamp(8.5px, 2.5cqw, 10.5px)/1.2 var(--f-wide); font-stretch: 118%; letter-spacing: .22em; text-transform: uppercase; color: rgba(242, 240, 234, .6); margin-top: 7px; }
.rodcard .rc-model { font: 600 clamp(16px, 6cqw, 25px)/1.08 var(--f-ui); letter-spacing: -.02em; margin-top: 6px; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rodcard .rc-bot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.rodcard .rc-serial { font: 500 clamp(11px, 3.6cqw, 15px)/1 var(--f-ui); letter-spacing: .1em; font-variant-numeric: tabular-nums; font-feature-settings: "tnum", "zero"; color: rgba(242, 240, 234, .92); }
.rodcard .rc-lbl { display: block; font: 600 clamp(7px, 2cqw, 8.5px)/1 var(--f-wide); font-stretch: 118%; letter-spacing: .2em; text-transform: uppercase; color: rgba(242, 240, 234, .45); margin-bottom: 6px; }
.rodcard .rc-state { display: inline-flex; align-items: center; gap: 6px; font: 600 clamp(8.5px, 2.5cqw, 10.5px)/1 var(--f-wide); font-stretch: 118%; letter-spacing: .18em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); white-space: nowrap; }
.rodcard .rc-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(111, 191, 146, .18); }
.rodcard .rc-state.is-pend::before { background: var(--wait); box-shadow: 0 0 0 3px rgba(157, 176, 196, .18); }
.rodcard .rc-state.is-bad::before { background: var(--bad); box-shadow: 0 0 0 3px rgba(222, 138, 130, .18); }
.rodcard .rc-state.is-off::before { background: var(--off); box-shadow: none; }
.rodcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .09) 45%, transparent 60%); background-size: 250% 100%; background-position: 120% 0; transition: background-position 1.1s var(--ease); }
.rodcard:hover::after, .rodcard.is-shine::after { background-position: -20% 0; }
.rodcard .rc-example { position: absolute; top: 50%; right: 7%; transform: translateY(-50%); font: 600 9px/1 var(--f-wide); letter-spacing: .2em; text-transform: uppercase; color: rgba(242, 240, 234, .35); }
.rodcard.is-ghost .rc-in { place-items: center; grid-template-rows: 1fr; text-align: center; }
.rodcard.is-ghost .ring { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); margin: 0 auto 12px; }
.rodcard.is-ghost b { font-weight: 600; display: block; }
.rodcard.is-ghost span { color: var(--mut); font-size: 13px; display: block; margin-top: 4px; }

/* Card carousel */
.deck { position: relative; }
.deck-track { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 24px; scroll-padding: 0 var(--gutter); overscroll-behavior-x: contain; }
.deck-track::-webkit-scrollbar { display: none; }
.deck-track > * { scroll-snap-align: center; scroll-snap-stop: always; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.deck-track.is-single { grid-auto-columns: 100%; }
.deck.js-on .deck-track > .is-away { opacity: .45; }
.deck-dots { display: flex; justify-content: center; gap: 6px; margin-top: -8px; }
.deck-dots button { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: width .35s var(--ease), background .3s; }
.deck-dots button[aria-current="true"] { width: 20px; background: var(--fg); }
.deck-nav { display: none; }
@media (min-width: 760px) {
  .deck-track { grid-auto-columns: 420px; margin: 0; padding-left: 0; padding-right: 0; scroll-snap-type: x mandatory; }
  .deck-track > * { scroll-snap-align: start; }
  .deck-nav { display: flex; gap: 6px; }
}
.deck-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 12px; }
.deck-head h2 { font: 600 17px/1.3 var(--f-ui); letter-spacing: -.02em; }
.deck-head .meta { font-size: 13px; color: var(--mut); }
.deck-nav button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); }
.deck-nav button:disabled { opacity: .3; }

/* Quick actions */
.qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 4px; }
.qa a { display: grid; justify-items: center; gap: 9px; padding: 4px 0; font: 600 10.5px/1 var(--f-wide); font-stretch: 116%; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); -webkit-tap-highlight-color: transparent; }
.qa .q { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; color: var(--fg); transition: transform .2s var(--ease), background .2s, filter .2s; }
/* Hover only where there is a mouse (a tap on a phone must not leave it on). Strike stays brushed silver like the
   ROF card and only brightens a little (MAX, 2026-11-15: it turned black under the pointer). */
@media (hover: hover) {
  .qa a:hover .q:not(.is-pri) { background: var(--card-2); }
  .qa a:hover .q.is-pri { filter: brightness(1.07); }
}
.qa a:active .q { transform: scale(.93); }
.qa .q.is-pri { background: var(--brushed); color: #0b0b0c; box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 10px 20px -12px rgba(0, 0, 0, .8); }

/* Activity stats line */
.statline { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--card); border-radius: var(--r-l); overflow: hidden; }
.statline > * { padding: 16px 14px; position: relative; display: block; }
.statline > * + *::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--line); }
.statline .num { font-size: 21px; display: block; }
.statline span:not(.num) { display: block; font-size: 12px; color: var(--mut); margin-top: 3px; }
a.stat:hover { background: var(--soft); }

/* Ranking summary */
.rankcard { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r-l); background: var(--card); overflow: hidden; }
.rankcard .pos { font: 500 38px/1 var(--f-ui); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rankcard .pos small { font-size: 18px; color: var(--mut); margin-right: 1px; }
.rankcard .pos.is-first { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rankcard b { display: block; font-weight: 600; }
.rankcard span { display: block; font-size: 13px; color: var(--mut); }
.mini-faces, .rankcard .mini-faces { display: flex; }
.mini-faces img, .mini-faces i { display: block; flex: none; }
.mini-faces img, .mini-faces i { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--card); background: var(--char-3); }
.mini-faces > * + * { margin-left: -10px; }
.mini-faces .g { box-shadow: 0 0 0 2px var(--card), 0 0 0 3.5px var(--gold); }

/* Dashboard layout on wide screens */
.dashgrid { display: grid; gap: 0 32px; }
@media (min-width: 960px) { .dashgrid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } .dashgrid > .side { padding-top: 64px; } }

/* App page header */
.phead { padding: 8px 0 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.phead h1 { font: 500 28px/1.1 var(--f-ui); letter-spacing: -.035em; }
.phead p { color: var(--mut); font-size: 14px; margin-top: 6px; }
@media (min-width: 960px) { .phead { padding-top: 28px; } .phead h1 { font-size: 34px; } }

/* Rod detail */
.rodhead { padding-top: 6px; }
.rodhead .rodcard { max-width: 460px; margin: 0 auto; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.fact { background: var(--card); border-radius: var(--r); padding: 14px 16px; }
.fact .eyebrow { font-size: 9.5px; }
.fact b { display: block; margin-top: 8px; font-weight: 560; letter-spacing: -.01em; }
.fact .st { margin-top: 8px; }
.fact span.sub { display: block; font-size: 12.5px; color: var(--mut); margin-top: 2px; }
.trust { display: grid; gap: 10px; margin-top: 12px; }
.trust-row { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px; border-radius: var(--r); background: var(--card); }
.trust-row .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); }
.trust-row b { display: block; font-weight: 600; }
.trust-row p { color: var(--mut); font-size: 13.5px; margin-top: 3px; }
.trust-row .st { margin-top: 8px; }

/* Timeline */
.timeline li { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.timeline li:last-child { border-bottom: 0; }
.timeline .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transform: translateY(-1px); }
.timeline .pip.ok { background: var(--ok); }
.timeline .pip.bad { background: var(--bad); }
.timeline time { font-size: 12.5px; color: var(--mut); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Profile */
.mehead { display: flex; align-items: center; gap: 16px; padding: 12px 0 4px; }
.mehead h1 { font: 500 24px/1.15 var(--f-ui); letter-spacing: -.03em; }
.mehead p { color: var(--mut); font-size: 14px; margin-top: 3px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--card); border-radius: var(--r); padding: 16px; }
.tile .num { font-size: 22px; display: block; }
.tile span:not(.num) { font-size: 12.5px; color: var(--mut); display: block; margin-top: 4px; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.badge { background: var(--card); border-radius: var(--r); padding: 16px; }
.badge .medal { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brushed); color: #111; margin-bottom: 12px; }
.badge.is-locked .medal { background: var(--soft); color: var(--mut); }
.badge b { display: block; font-weight: 600; font-size: 14px; }
.badge span { display: block; font-size: 12px; color: var(--mut); margin-top: 3px; }

/* Strike detail */
.shot { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--char-2); aspect-ratio: 4 / 5; }
@media (min-width: 760px) { .shot { aspect-ratio: 4 / 3; } }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot .st { position: absolute; top: 14px; left: 14px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs a { flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--card-2); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.bigfig { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bigfig .num { font-size: 52px; font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.bigfig .num small { font-size: 20px; }
.quote { font: italic 400 20px/1.4 var(--f-serif); color: var(--fg-2); margin-top: 14px; }
.who { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 18px 0 4px; }
.who b { display: block; font-weight: 600; }
.who span { display: block; font-size: 13px; color: var(--mut); }

/* ---------- Leaderboard ---------- */
.board-top { padding-top: 4px; padding-bottom: 8px; }
.board-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 16px 0 6px; }
.podium { display: grid; grid-template-columns: 1fr 1.22fr 1fr; gap: 8px; align-items: end; margin-top: 22px; }
@media (min-width: 760px) { .podium { gap: 16px; max-width: 900px; margin-left: auto; margin-right: auto; } }
.pod { position: relative; display: block; text-align: center; color: var(--fg); }
.pod figure { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--card-2); box-shadow: 0 0 0 1px var(--line) inset; }
.pod figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pod:hover figure img { transform: scale(1.04); }
.pod figure::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .6)); }
.pod .rk { position: relative; z-index: 2; margin: -15px auto 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--f-ui); background: var(--char-3); color: #f3f0e9; box-shadow: 0 0 0 3px var(--bg); }
.pod-1 figure { aspect-ratio: 3 / 4.3; border-radius: var(--r-l); box-shadow: 0 0 0 1.5px var(--gold), 0 24px 50px -24px rgba(200, 165, 90, .5); }
.pod-1 .rk { width: 38px; height: 38px; margin-top: -19px; font-size: 16px; background: var(--gold-grad); color: #1c1407; }
.pod .crown { position: absolute; z-index: 2; top: 10px; left: 50%; transform: translateX(-50%); color: var(--gold-hi); width: 24px; height: 24px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.pod-info { padding-top: 10px; }
.pod-empty .pod-info { padding-top: 24px; }
.pod-info b { display: block; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-info .num { display: block; font-size: 17px; margin-top: 2px; }
.pod-1 .pod-info .num { font-size: 22px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pod-1 .pod-info .num small { color: var(--gold); -webkit-text-fill-color: var(--gold); }
.pod-info span { display: block; font-size: 11.5px; color: var(--mut); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-empty figure { display: grid; place-items: center; color: var(--mut); font-size: 12px; box-shadow: inset 0 0 0 1.5px var(--line-2); background: transparent; }
.pod-empty figure::after { display: none; }
.pod-1.pod-empty figure { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gold) 60%, transparent); }
.ranks { margin-top: 26px; background: var(--card); border-radius: var(--r-l); overflow: hidden; }
.ranks > li + li { border-top: 1px solid var(--line); }
.rrow { position: relative; display: grid; grid-template-columns: 28px 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 16px; transition: background .2s; }
.rrow:hover { background: var(--soft); }
.rrow .p { font-weight: 600; color: var(--mut); text-align: center; font-variant-numeric: tabular-nums; }
.rrow .t { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: var(--card-2); }
.rrow .t img { width: 100%; height: 100%; object-fit: cover; }
.rrow b { display: block; font-weight: 560; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrow span.s { display: block; font-size: 12.5px; color: var(--mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrow .num { font-size: 16px; }
.rrow.is-me { background: var(--soft); }
.rrow.is-me .p { color: var(--fg); }
.me-pin { margin-top: 14px; border-radius: var(--r-l); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.board-empty { padding: 40px 20px; text-align: center; color: var(--mut); border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line-2); margin-top: 20px; }

/* Competitions */
.comp { position: relative; display: block; border-radius: var(--r-l); overflow: hidden; background: var(--card); }
.comp figure { aspect-ratio: 16 / 8; background: var(--char-2); overflow: hidden; }
.comp figure img { width: 100%; height: 100%; object-fit: cover; }
.comp .body { padding: 16px 18px 18px; }
.comp h3 { font: 600 17px/1.3 var(--f-ui); letter-spacing: -.015em; margin-top: 8px; }
.comp p { color: var(--mut); font-size: 13.5px; margin-top: 4px; }

/* Map */
.mapbox { position: relative; border-radius: var(--r-l); overflow: hidden; background: #0e0f11; margin-top: 16px; }
.mapbox svg { width: 100%; height: auto; }
.mapbox .pt { fill: rgba(236, 233, 224, .92); stroke: rgba(7, 7, 8, .9); stroke-width: .8; }
.mapbox .pt-halo { fill: rgba(236, 233, 224, .12); }
.mapbox .legend { position: absolute; left: 14px; bottom: 12px; color: #8e8b85; font-size: 12px; }

/* ---------- BOTTOM SHEETS ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(4, 4, 5, .55); opacity: 0; transition: opacity .32s ease; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.scrim.is-on { opacity: 1; }
html.js .sheet { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; max-height: calc(100dvh - 40px - var(--safe-t)); display: flex; flex-direction: column; border-radius: 28px 28px 0 0; background: var(--sheet-bg, var(--card)); color: var(--fg); box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .55); transform: translateY(105%); transition: transform .48s var(--ease-sheet); visibility: hidden; outline: none; }
html.js .sheet.is-open { transform: translateY(0); visibility: visible; }
html.js .sheet.is-dragging { transition: none; }
.app .sheet { --sheet-bg: #161618; }
.site .sheet { --sheet-bg: var(--paper-3); }
@media (min-width: 760px) {
  html.js .sheet { left: 50%; right: auto; bottom: 50%; width: min(560px, calc(100% - 48px)); max-height: min(86dvh, 820px); border-radius: 28px; transform: translate(-50%, 56%) scale(.98); opacity: 0; transition: transform .42s var(--ease-sheet), opacity .3s ease; }
  html.js .sheet.is-open { transform: translate(-50%, 50%) scale(1); opacity: 1; }
  .sheet .grab { display: none !important; }
}
.sheet .grab { display: grid; place-items: center; height: 22px; flex: none; cursor: grab; touch-action: none; }
.sheet .grab::before { content: ""; width: 40px; height: 5px; border-radius: 3px; background: var(--line-2); }
.sheet-h { display: flex; align-items: center; gap: 12px; padding: 4px 20px 12px; flex: none; }
.sheet-h h2 { font: 600 18px/1.25 var(--f-ui); letter-spacing: -.02em; flex: 1; min-width: 0; }
.sheet-h .x { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--fg); flex: none; }
.sheet-h .x .ico { width: 16px; height: 16px; }
.sheet-b { padding: 4px 20px calc(24px + var(--safe-b)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet-b > .rodcard { margin-bottom: 18px; }
html:not(.js) .sheet { margin: 24px auto; max-width: 640px; padding: 8px 0; border-top: 1px solid var(--line); }
html:not(.js) .sheet .x, html:not(.js) .sheet .grab { display: none; }
html.sheet-lock, html.sheet-lock body { overflow: hidden; }
.sheet .kv { margin-top: 4px; }
.sheet .menu a { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; border-bottom: 1px solid var(--line); font: 600 13px/1 var(--f-wide); font-stretch: 114%; letter-spacing: .16em; text-transform: uppercase; }
.sheet .menu a[aria-current="page"] { color: var(--mut); }

/* ---------- NFC: tap panel, checking and result ---------- */
.tap { position: relative; border-radius: var(--r-xl); padding: 26px 22px; background: var(--black); color: #f3f0e9; overflow: hidden; isolation: isolate; --fg: #f3f0e9; --mut: #8e8b85; --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14); --soft: rgba(255, 255, 255, .06); --pri-bg: var(--paper); --pri-fg: #0b0b0c; }
.tap::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 85% 10%, rgba(255, 255, 255, .09), transparent 70%); }
@media (min-width: 760px) { .tap { padding: 40px; display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; } }
.tap-art { position: relative; width: 150px; height: 150px; margin: 0 auto 22px; display: grid; place-items: center; }
@media (min-width: 760px) { .tap-art { width: 200px; height: 200px; margin: 0; } }
.tap-art .core { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: var(--brushed); color: #0b0b0c; box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 14px 28px -10px rgba(0, 0, 0, .8); }
.tap-art .core .ico { width: 30px; height: 30px; }
.tap-art .w { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); }
.tap-art .w2 { inset: 18%; border-color: rgba(255, 255, 255, .16); }
.tap-art .w3 { inset: 34%; border-color: rgba(255, 255, 255, .2); }
.tap.is-listening .tap-art .w { animation: ripple 2.2s var(--ease) infinite; }
.tap.is-listening .tap-art .w2 { animation-delay: .35s; }
.tap.is-listening .tap-art .w3 { animation-delay: .7s; }
@keyframes ripple { 0% { transform: scale(.85); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.12); opacity: 0; } }
.tap h2 { font: 500 26px/1.15 var(--f-ui); letter-spacing: -.03em; margin-top: 10px; }
.tap p { color: rgba(243, 240, 233, .72); margin-top: 10px; font-size: 14.5px; }
.howto { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 640px) { .howto { grid-template-columns: 1fr 1fr; } }
.howto > div { padding: 14px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .05); font-size: 13.5px; color: rgba(243, 240, 233, .75); }
.howto b { display: flex; align-items: center; gap: 8px; color: #f3f0e9; font-weight: 600; margin-bottom: 4px; }
.howto > div.is-you { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); }
.howto .you { font: 600 9px/1 var(--f-wide); letter-spacing: .16em; text-transform: uppercase; padding: 4px 6px; border-radius: 5px; background: rgba(255, 255, 255, .14); margin-left: auto; }

.result { border-radius: var(--r-xl); overflow: hidden; background: var(--black); color: #f3f0e9; --fg: #f3f0e9; --fg-2: #cfccc5; --mut: #8e8b85; --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14); --soft: rgba(255, 255, 255, .06); --card: #141416; --card-2: #1c1c1f; --pri-bg: var(--paper); --pri-fg: #0b0b0c; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.result-top { padding: 34px 24px 24px; text-align: center; position: relative; isolation: isolate; }
.result-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 0%, rgba(255, 255, 255, .08), transparent 70%); }
.result-top.is-ok::before { background: radial-gradient(60% 70% at 50% 0%, rgba(111, 191, 146, .16), transparent 70%); }
.result-top.is-bad::before { background: radial-gradient(60% 70% at 50% 0%, rgba(222, 138, 130, .14), transparent 70%); }
.result-top .eyebrow { color: rgba(243, 240, 233, .55); }
.result-top h1 { font: 600 clamp(20px, 5.6vw, 28px)/1.1 var(--f-wide); font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; margin-top: 12px; outline: none; }
.result-top p { color: rgba(243, 240, 233, .7); max-width: 44ch; margin: 10px auto 0; font-size: 14.5px; }
.seal { position: relative; width: 92px; height: 92px; margin: 0 auto 18px; }
.seal svg { width: 100%; height: 100%; overflow: visible; }
.seal .track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 2; }
.seal .arc { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; transform: rotate(-90deg); transform-origin: 50% 50%; }
.seal .mark { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.seal.is-ok { color: var(--ok); }
.seal.is-warn { color: var(--wait); }
.seal.is-bad { color: var(--bad); }
.result.is-revealed .seal .arc, .result:not(.is-checking) .seal .arc { animation: drawArc .9s var(--ease) .1s forwards; }
.result.is-revealed .seal .mark, .result:not(.is-checking) .seal .mark { animation: drawMark .45s var(--ease) .85s forwards; }
.result.is-revealed .seal::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid currentColor; opacity: 0; animation: sealPulse 1.2s var(--ease) 1.1s; }
@keyframes drawArc { to { stroke-dashoffset: 0; } }
@keyframes drawMark { to { stroke-dashoffset: 0; } }
@keyframes sealPulse { 0% { opacity: .5; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
.is-checking .seal .arc { stroke-dasharray: 70 219; stroke-dashoffset: 0; animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(270deg); } }
.result.is-stalled .seal .arc { animation: none; stroke-dasharray: 0 289; }
.result-b { padding: 4px 22px 26px; }
.result-b .rodcard { max-width: 420px; margin: 0 auto 18px; }
.result .kv { background: var(--card); border-radius: var(--r); padding: 4px 16px; }
.result .how { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--mut); margin-top: 14px; }
.result .btns { margin-top: 20px; }
.result .btns .btn { flex: 1 1 auto; }
.skel span { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .11), rgba(255, 255, 255, .05)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; margin: 0 auto 10px; }
.skel span:nth-child(1) { width: 70%; } .skel span:nth-child(2) { width: 50%; } .skel span:nth-child(3) { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.result-gap { padding: 28px 0 60px; }
@media (min-width: 760px) { .result-gap { padding: 56px 0 90px; } }

/* Auth pages */
.authbox { max-width: 440px; margin: 0 auto; padding: 40px 0 60px; }
.authbox h1 { font: 500 30px/1.1 var(--f-ui); letter-spacing: -.035em; margin-top: 12px; }
.authbox .lead { margin-top: 8px; font-size: 15px; }
.authbox form { margin-top: 26px; }
.auth-alt { text-align: center; color: var(--mut); font-size: 14px; margin-top: 20px; }
.auth-alt a { color: var(--fg); font-weight: 560; }

/* Error */
.errpage { text-align: center; padding: 100px 0; }
.errpage .code { font: 400 96px/1 var(--f-serif); }

/* Pager */
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; font-size: 13.5px; color: var(--mut); }

/* ---------- Motion ---------- */
.rise { animation: rise .6s var(--ease) both; }
.rise-2 { animation-delay: .06s; } .rise-3 { animation-delay: .12s; } .rise-4 { animation-delay: .18s; } .rise-5 { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .rodcard { transform: none !important; }
  .seal .arc, .seal .mark { stroke-dashoffset: 0 !important; }
  .is-checking .seal .arc { stroke-dasharray: 70 219; }
}
@media (hover: none) { .rodtile:hover { transform: none; } }
/* ---------- ROF Certificate of Authenticity (V4) ----------
 * The certificate is drawn as one SVG page (viewBox 210 × 297 mm) with the same fonts as the PDF, so the
 * screen copy scales to the phone without changing the A4 layout. The paper is pure white in both themes. */
@font-face { font-family: "ROF Cert Sans"; font-weight: 400; font-display: block; src: url("../fonts/cert/cert-sans-400.woff2") format("woff2"); }
@font-face { font-family: "ROF Cert Sans"; font-weight: 500; font-display: block; src: url("../fonts/cert/cert-sans-500.woff2") format("woff2"); }
@font-face { font-family: "ROF Cert Model"; font-weight: 500; font-display: block; src: url("../fonts/cert/cert-model-500.woff2") format("woff2"); }
@font-face { font-family: "ROF Cert Wide"; font-weight: 500; font-display: block; src: url("../fonts/cert/cert-wide-500.woff2") format("woff2"); }
@font-face { font-family: "ROF Cert Serif"; font-style: normal; font-display: block; src: url("../fonts/cert/cert-serif-regular.woff2") format("woff2"); }
@font-face { font-family: "ROF Cert Serif"; font-style: italic; font-display: block; src: url("../fonts/cert/cert-serif-italic.woff2") format("woff2"); }
.cert-svg { display: block; width: 100%; height: auto; background: #fff; }
.cert-svg text { white-space: pre; font-kerning: none; font-variant-ligatures: none; font-feature-settings: "kern" 0, "liga" 0, "calt" 0; }
.cert-svg .cf-sans { font-family: "ROF Cert Sans"; font-weight: 400; }
.cert-svg .cf-sansm { font-family: "ROF Cert Sans"; font-weight: 500; }
.cert-svg .cf-model { font-family: "ROF Cert Model"; font-weight: 500; }
.cert-svg .cf-wide { font-family: "ROF Cert Wide"; font-weight: 500; }
.cert-svg .cf-serif { font-family: "ROF Cert Serif"; font-style: normal; }
.cert-svg .cf-serifi { font-family: "ROF Cert Serif"; font-style: italic; }
.cert-sheet { position: relative; background: #fff; border-radius: 4px; overflow: hidden; aspect-ratio: 210 / 297; box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 2px 6px rgba(0, 0, 0, .12), 0 30px 60px -30px rgba(0, 0, 0, .55); }
.cert-print { display: none; }

.cert-head { text-align: center; padding: 6px 0 0; }
.cert-head .h2 { margin-top: 10px; }
.cert-head .muted { margin-top: 6px; font-size: 14px; }
.cert-stage { margin: 22px auto 0; max-width: 560px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.cert-stage .cert-sheet { width: 100%; }
.cert-stage-s { max-width: 360px; }
.cert-actions { display: grid; gap: 10px; margin: 20px auto 0; max-width: 560px; }
@media (min-width: 520px) { .cert-actions { grid-template-columns: 1.2fr 1fr 1fr; } }
.cert-history .li { min-height: 56px; }
.cert-history .li-main b { font-size: 14px; }

.certbox { background: var(--card); border-radius: var(--r-l); padding: 18px; box-shadow: 0 0 0 1px var(--line) inset; }
.certbox h2 { font: 600 17px/1.3 var(--f-ui); letter-spacing: -.02em; margin-top: 6px; }
.certbox-main { display: flex; gap: 16px; align-items: center; margin-top: 12px; }
.certbox-paper { flex: none; width: 92px; border-radius: 3px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 255, 255, .06); transition: transform .4s var(--ease); }
.certbox-paper:hover { transform: translateY(-2px) rotate(-.6deg); }
.certbox-text { min-width: 0; display: grid; gap: 4px; }
.certbox-text h2 { margin-top: 0; }
.certbox-text .serial { font-size: 13px; color: var(--fg-2); }
.certbox-st { margin-top: 2px; }
.certbox-actions { display: grid; gap: 8px; margin-top: 16px; }
@media (min-width: 560px) { .certbox-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.certbox-actions .btn { min-width: 0; }
.certbox-pending { display: grid; gap: 2px; margin: 10px 0 6px; font: 600 11.5px/1.5 var(--f-wide); font-stretch: 118%; letter-spacing: .14em; text-transform: uppercase; }
.certbox-pending b + b { color: var(--mut); }
.certbox-steps { list-style: none; margin: 14px 0 12px; padding: 0; display: grid; gap: 0; border-radius: var(--r-m, 14px); box-shadow: 0 0 0 1px var(--line) inset; }
.certbox-steps li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; font: 600 11px/1.4 var(--f-wide); font-stretch: 118%; letter-spacing: .12em; text-transform: uppercase; }
.certbox-steps li + li { border-top: 1px solid var(--line); }
.certbox-steps .ico { flex: none; width: 18px; height: 18px; }
.certbox-steps .is-done { color: var(--fg); }
.certbox-steps .is-done .ico { color: var(--ok); }
.certbox-steps .is-wait { color: var(--wait); }
.certbox-actions--one { grid-template-columns: minmax(0, 1fr) !important; }
@media (min-width: 560px) { .certbox-actions--one { justify-items: start; } .certbox-actions--one .btn { padding: 0 26px; } }

.copyrow { display: flex; gap: 8px; }
.copyrow input { flex: 1; min-width: 0; font-size: 13px; }

.cert-tap { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r); background: var(--soft); box-shadow: 0 0 0 1px var(--line) inset; text-align: left; }
.cert-tap-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brushed); color: #0b0b0c; }
.cert-tap-ico .ico { width: 18px; height: 18px; }
.cert-tap-main { min-width: 0; display: grid; gap: 3px; }
.cert-tap-main b { font-weight: 600; }

.certverify .kv dd { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.certverify .cert-stage { margin-top: 22px; }
.cert-void text { font-weight: 500; }

.nfc-detected { display: flex; align-items: center; justify-content: center; gap: 8px; width: max-content; max-width: 100%; margin: 0 auto 14px; padding: 7px 14px; border-radius: 99px; background: var(--soft); box-shadow: 0 0 0 1px var(--line-2) inset; font: 600 10.5px/1.2 var(--f-wide); font-stretch: 118%; letter-spacing: .16em; text-transform: uppercase; color: var(--fg); animation: rof-pop .35s var(--ease) both; }
@keyframes rof-pop { from { opacity: 0; transform: translateY(4px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nfc-detected { animation: none; } }
@media print { .topbar, .appbar, .tabbar, .foot, .sheet, .scrim { display: none !important; } body { background: #fff; color: #000; } }

/* ---------- Shared names used by the simpler account pages ---------- */
.ahead { padding: 8px 0 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ahead h1 { font: 500 28px/1.1 var(--f-ui); letter-spacing: -.035em; margin-top: 8px; }
.ahead h1 em { font-style: normal; }
.ahead p:not(.eyebrow) { color: var(--mut); font-size: 14px; margin-top: 6px; max-width: 52ch; }
@media (min-width: 960px) { .ahead { padding-top: 28px; } .ahead h1 { font-size: 34px; } }
.app .wrap-n { max-width: 560px; margin: 0 auto; }
.btn-light, .btn-dark { background: var(--pri-bg); color: var(--pri-fg); }
.btn-line { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-block { width: 100%; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border-radius: var(--r); background: var(--soft); color: var(--fg-2); font-size: 14px; }
.alert-bad { background: color-mix(in srgb, var(--bad) 12%, transparent); }
.alert-ok { background: color-mix(in srgb, var(--ok) 12%, transparent); }
.idcard > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.idcard > div:last-child { border-bottom: 0; }
.idcard dt { color: var(--mut); font-size: 14px; flex: none; }
.idcard dd { text-align: right; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.menu-list > * { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.menu-list > *:last-child { border-bottom: 0; }
.menu-list .go { margin-left: auto; color: var(--mut); }
.menu-list form { padding: 0; }
.menu-list form button { display: flex; align-items: center; gap: 12px; padding: 14px 0; width: 100%; }
.cap { font-size: 12.5px; }
.card.center { text-align: center; }
.card.center .ico { margin: 0 auto; }
.dash { display: grid; gap: 14px; }
.dash .col { display: grid; gap: 14px; align-content: start; }
@media (min-width: 960px) { .dash { grid-template-columns: 1fr 1fr; } }
.pb { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; }
.pb figure { width: 88px; height: 88px; border-radius: 14px; overflow: hidden; background: var(--card-2); }
.pb figure img { width: 100%; height: 100%; object-fit: cover; }
.pb .num { font-size: 24px; display: block; }
.pb b { display: block; }
.pb span:not(.num) { display: block; font-size: 13px; color: var(--mut); }
.u { text-decoration: underline; text-underline-offset: 3px; }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.codes li { padding: 8px 10px; border-radius: 8px; background: var(--soft); text-align: center; }
.qr { background: #fff; padding: 12px; border-radius: 14px; width: max-content; max-width: 100%; }
.qr svg { width: 180px; height: 180px; }
.devices li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.devices li:last-child { border-bottom: 0; }
.devices b { display: block; font-weight: 560; }
.devices span:not(.st) { display: block; font-size: 12.5px; color: var(--mut); }
.label { font: 600 10.5px/1.2 var(--f-wide); font-stretch: 118%; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); }
.tnum { font-variant-numeric: tabular-nums; }
.gap-row { display: flex; gap: 10px; flex-wrap: wrap; }
.with-ico { display: flex; gap: 8px; align-items: flex-start; }

/* ---------- Sign-in layout ---------- */
.authwrap { min-height: 100vh; min-height: 100dvh; display: grid; }
.auth-art { display: none; position: relative; overflow: hidden; isolation: isolate; background: #050506; }
.auth-art .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; z-index: -1; }
.auth-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 50% 45%, rgba(10, 10, 11, .2), rgba(10, 10, 11, .85)); }
.auth-art-in { position: absolute; inset: 0; display: grid; place-content: center; padding: 48px; }
.auth-art-in .rodcard { width: min(420px, 38vw); }
.auth-art-in p { color: rgba(243, 240, 233, .7); max-width: 34ch; margin: 26px auto 0; text-align: center; font-size: 14px; }
.auth-side { padding: calc(10px + var(--safe-t)) var(--gutter) calc(24px + var(--safe-b)); }
.auth-top { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.auth-top img { height: 20px; width: auto; }
.authbox h1 em { font-style: normal; }
@media (min-width: 960px) { .authwrap { grid-template-columns: 1fr 1fr; } .auth-art { display: block; } .auth-side { padding: 24px 48px; display: flex; flex-direction: column; } .authbox { margin: auto; width: 100%; padding-top: 20px; } }

/* ---------- Community extras ---------- */
.amain .wrap .wrap { padding-left: 0; padding-right: 0; max-width: none; }
.amain .intro { padding-top: 12px; padding-bottom: 18px; }
.amain .intro .h1 { font-size: clamp(26px, 6vw, 40px); }
.btns-center { justify-content: center; }
.st-gold { color: #1c1407; background: var(--gold-grad); }
.st-gold::before { background: #1c1407; }
.arena-head { position: relative; padding: 36px 0 26px; overflow: hidden; isolation: isolate; }
.arena-head .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; z-index: -1; }
.arena-head .h1 { margin-top: 10px; }
.comps { display: grid; gap: 14px; }
@media (min-width: 760px) { .comps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .comps { grid-template-columns: repeat(3, 1fr); } }
.comp .st { position: absolute; top: 12px; left: 12px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.comp-in { padding: 16px 18px 18px; }
.comp-in h3 { font: 600 17px/1.3 var(--f-ui); letter-spacing: -.015em; }
.comp-in p { color: var(--mut); font-size: 13.5px; margin-top: 4px; }
.comp-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; font-size: 12.5px; color: var(--mut); }
.comp-meta span { display: inline-flex; align-items: center; gap: 5px; }
.prize { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.prize:last-child { border-bottom: 0; }
.place { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: var(--soft); }
.place.p1 { background: var(--gold-grad); color: #1c1407; }
.countdown { display: flex; gap: 18px; }
.countdown .num { font-size: 22px; display: block; }
.countdown span:not(.num) { font-size: 12px; color: var(--mut); }
.rules { white-space: pre-line; color: var(--fg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-grid > div { background: var(--card); border-radius: var(--r); padding: 14px 16px; }
.stats-grid .num { display: block; font-size: 22px; }
.stats-grid span { display: block; font-size: 12.5px; color: var(--mut); }
.sec-block { margin-top: 32px; }
.sec-block > h2 { margin-bottom: 14px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; background: var(--soft); }
.chip-line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.chip-ink { background: var(--fg); color: var(--bg); }
.map-list { display: grid; gap: 1px; background: var(--line); border-radius: var(--r-l); overflow: hidden; }
.map-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 18px; background: var(--card); }
.map-row b { display: block; font-weight: 560; }
.map-row span:not(.num) { display: block; color: var(--mut); font-size: 13px; }
.map-row .num { font-size: 20px; text-align: right; }
a.map-row:hover { background: var(--card-2); }
.who .avatar { flex: none; }
.intro .who { border: 0; margin: 14px 0 0; padding: 0; }
.intro .who .h1 { margin: 0; }
.pdp-media-s { aspect-ratio: 1; }
.pdp-cardbox { display: grid; place-content: center; gap: 12px; padding: 18px; background: #0d0d0f; text-align: center; }
.pdp-cardbox .rodcard { width: 100%; }
.pdp-buy .btn { width: 100%; }

/* ---------- Information pages ---------- */
.cols-3 { display: grid; gap: 12px; }
@media (min-width: 760px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } }
.note-card { display: block; background: var(--card); border-radius: var(--r-l); padding: 22px; transition: background .2s; }
a.note-card:hover { background: var(--card-2); }
.note-card .ico { color: var(--fg); }
.note-card h3 { font: 600 16px/1.3 var(--f-ui); margin-top: 18px; }
.note-card p { color: var(--mut); font-size: 14px; margin-top: 6px; }
.story-in { max-width: 560px; }
.story-in .h2 { margin-top: 12px; }
.steps { display: grid; gap: 12px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card); border-radius: var(--r-l); padding: 22px; }
.step h3 { font: 600 16px/1.3 var(--f-ui); margin-top: 16px; }
.step p { color: var(--mut); font-size: 14px; margin-top: 6px; }
.err-page { text-align: center; padding: 100px var(--gutter); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.draft-note { margin-top: 16px; }
.dashgrid > *, .split > *, .grid2 > *, .auth-band > *, .pdp > * { min-width: 0; }
.err-page .lead { margin: 14px auto 0; }
.err-page .gap-row { justify-content: center; }
.draft-note { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-s); background: var(--soft); color: var(--mut); font-size: 13px; }

/* .wrap keeps its side gutter even when combined with a section class that sets vertical padding */
.wrap.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.hero .btn-ghost, .on-dark .btn-ghost { color: #f3f0e9; border-color: rgba(243, 240, 233, .32); }

/* Community: one shared tab bar, same place on every Community page */
.cnav { padding-top: 14px; }
.cnav + .intro, .cnav + section.intro { padding-top: 22px; }
.cnav + .arena .arena-head { padding-top: 24px; }
.cnav + .wrap { padding-top: 20px; }
.cseg { display: flex; width: 100%; }
.cseg a { flex: 1 1 0; justify-content: center; padding: 0 8px; font-size: 13px; }
@media (min-width: 640px) { .cseg { display: inline-flex; width: auto; } .cseg a { flex: none; padding: 0 16px; font-size: 13.5px; } }

/* Species picker (searchable list + "Other — enter fish name") */
.species .combo { position: relative; }
.species .combo > .ico { position: absolute; left: 14px; top: 15px; color: var(--mut); pointer-events: none; }
.species .combo input[role=combobox] { padding-left: 40px !important; padding-right: 44px !important; }
.combo-clear { position: absolute; right: 6px; top: 6px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--mut); }
.combo-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); }
.combo-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: min(320px, 46vh); overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 6px; list-style: none; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 48px rgba(0, 0, 0, .35); }
.app .combo-list { background: var(--char-2); }
.combo-list li { display: grid; gap: 1px; padding: 10px 12px; border-radius: 10px; cursor: pointer; min-height: 44px; align-content: center; }
.combo-list li b { font-weight: 560; font-size: 14.5px; }
.combo-list li span { font-size: 12.5px; color: var(--mut); }
.combo-list li.is-active, .combo-list li:hover { background: var(--soft); }
.combo-list li[aria-selected="true"] b::after { content: " ✓"; color: var(--ok, #7fc8a0); }
.combo-list .combo-other { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 12px; }
.combo-list .combo-none { cursor: default; color: var(--mut); font-size: 13px; min-height: 0; }
.species-other { margin-top: 12px; padding: 14px; border-radius: 14px; background: var(--soft); }
.species-other label { display: block; font-size: 13px; font-weight: 560; margin-bottom: 7px; color: var(--fg-2); }
html:not(.js) [data-species-other][hidden] { display: block !important; }
.entered-as { font-size: 12.5px; color: var(--mut); }

/* Bottom bar: Profile tab shows the angler's photo or initials */
.avatar-xs { width: 22px; height: 22px; font-size: 8.5px; letter-spacing: .02em; box-shadow: 0 0 0 1px rgba(243, 240, 233, .3); }
.tabbar .tab-me .avatar { opacity: .7; transition: opacity .2s, box-shadow .2s; }
.tabbar .tab-me[aria-current="page"] .avatar { opacity: 1; box-shadow: 0 0 0 1.5px #f3f0e9; }
.phead-actions { display: flex; gap: 8px; flex: none; }

/* ---------- ROF Angler Profile (V4) ---------- */
.pf-head { padding: 8px 0 4px; }
.pf-id { display: flex; align-items: center; gap: 18px; }
.pf-id .avatar-xl { width: 84px; height: 84px; box-shadow: 0 0 0 1px var(--line-2), 0 0 0 5px var(--soft); }
.pf-name { font: 500 clamp(28px, 7vw, 40px)/1.05 var(--f-ui); letter-spacing: -.03em; margin-top: 6px; overflow-wrap: anywhere; }
.pf-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 13.5px; color: var(--mut); }
.pf-meta span { display: inline-flex; align-items: center; gap: 5px; }
.pf-bio { margin-top: 14px; color: var(--fg-2); max-width: 60ch; }
.pf-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pf-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 22px; border-radius: var(--r-l); overflow: hidden; background: var(--line); }
.pf-stats > div { display: grid; gap: 4px; padding: 16px 18px; background: var(--card); min-width: 0; }
.pf-stats .num { font: 500 30px/1 var(--f-ui); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.pf-stats .num small { font-size: 14px; color: var(--mut); margin-left: 2px; letter-spacing: 0; }
.pf-stats .num.is-first { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pf-stats span:last-child { font-size: 12.5px; color: var(--mut); }
@media (min-width: 760px) { .pf-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pf-note { margin-top: 10px; font-size: 12.5px; color: var(--mut); }
.pf-sec { min-width: 0; }
.pf-pb { position: relative; display: block; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--char-2); isolation: isolate; }
@media (min-width: 900px) { .pf-pb { aspect-ratio: 16 / 9; } }
.pf-pb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pf-pb:hover img { transform: scale(1.03); }
.pf-pb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .78)); z-index: 1; }
.pf-pb-tag { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 11px; border-radius: 99px; background: var(--brushed); color: #0a0a0b; font: 600 10.5px/1 var(--f-wide); font-stretch: 116%; letter-spacing: .14em; text-transform: uppercase; }
.pf-pb-cap { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; color: #f3f0e9; }
.pf-pb-cap b { display: block; font: 600 19px/1.2 var(--f-ui); letter-spacing: -.02em; }
.pf-pb-cap span span { display: block; font-size: 12.5px; color: rgba(243, 240, 233, .75); margin-top: 3px; }
.pf-pb-cap .num { font: 500 40px/1 var(--f-ui); letter-spacing: -.04em; flex: none; }
.pf-pb-cap .num small { font-size: 16px; margin-left: 2px; color: rgba(243, 240, 233, .7); }
.pf-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 44%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 10px; padding-bottom: 4px; scrollbar-width: none; }
.pf-row::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .pf-row { grid-auto-columns: minmax(0, 1fr); } }
.pf-card { scroll-snap-align: start; display: grid; gap: 6px; min-width: 0; }
.pf-card-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--char-2); }
.pf-card-img img { width: 100%; height: 100%; object-fit: cover; }
.pf-rank { position: absolute; top: 8px; left: 8px; padding: 4px 8px; border-radius: 99px; background: rgba(10, 10, 11, .72); color: #f3f0e9; font-size: 11px; font-weight: 600; }
.pf-card-t { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-width: 0; }
.pf-card-t b { font-weight: 560; font-size: 14px; min-width: 0; }
.pf-card-t .num { font-weight: 560; font-size: 15px; font-variant-numeric: tabular-nums; flex: none; }
.pf-card-t .num small { font-size: 11px; color: var(--mut); margin-left: 1px; }
.pf-card-s { font-size: 12px; color: var(--mut); }
.pf-badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.pf-badge { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--card); min-width: 0; }
.pf-badge b { display: block; font-weight: 600; font-size: 14px; }
.pf-badge span span { display: block; font-size: 12.5px; color: var(--mut); }
.pf-medal { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brushed); color: #0a0a0b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 4px 14px rgba(0, 0, 0, .25); }
.pf-medal .ico { width: 18px; height: 18px; }
.pf-badge.is-gold .pf-medal { background: var(--gold-grad); }
.pf-badge.is-gold b { color: var(--gold); }
.pf-split { display: grid; gap: 0 28px; }
@media (min-width: 900px) { .pf-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.pf-species { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pf-sp-t { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.pf-sp-t b { font-weight: 560; font-size: 14.5px; }
.pf-sp-t span { font-size: 12.5px; color: var(--mut); text-align: right; }
.pf-bar { display: block; height: 4px; border-radius: 4px; background: var(--soft); margin-top: 7px; overflow: hidden; }
.pf-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--brushed); transition: width .8s var(--ease); }
.pf-rods { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pf-rod { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--card); min-width: 0; }
.pf-rod b { display: block; font-weight: 560; font-size: 14px; }
.pf-rod span span { display: block; font-size: 12px; color: var(--mut); letter-spacing: .02em; }
.pf-rod-chip { flex: none; width: 54px; height: 34px; border-radius: 6px; display: grid; place-items: center; background: linear-gradient(135deg, #2b2c30, #0f1012 60%, #26272a); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.pf-rod.f-titanium .pf-rod-chip { background: linear-gradient(135deg, #5d6066, #2a2b2f 60%, #4a4c51); }
.pf-rod.f-carbon .pf-rod-chip { background: repeating-linear-gradient(45deg, #17181a 0 3px, #222326 3px 6px); }
.pf-rod-chip img { width: 30px; height: auto; opacity: .9; }
.pf-history { list-style: none; margin: 0; padding: 0; border-radius: var(--r-l); overflow: hidden; background: var(--card); }
.pf-history li + li { border-top: 1px solid var(--line); }
.pf-history a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; min-width: 0; }
.pf-history b { display: block; font-weight: 560; font-size: 14px; }
.pf-history span span { display: block; font-size: 12.5px; color: var(--mut); }
.pf-history .min0 { flex: 1; }
.pf-place { flex: none; width: 44px; font: 500 20px/1 var(--f-ui); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pf-place.is-first { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pf-place.is-none { color: var(--mut); }
.pf-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; border-radius: var(--r-l); overflow: hidden; }
@media (min-width: 760px) { .pf-gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.pf-gallery a { position: relative; display: block; aspect-ratio: 1; background: var(--char-2); overflow: hidden; }
.pf-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pf-gallery a:hover img { transform: scale(1.05); }
.pf-gallery span { position: absolute; left: 6px; bottom: 6px; padding: 3px 7px; border-radius: 99px; background: rgba(10, 10, 11, .66); color: #f3f0e9; font-size: 11px; font-weight: 560; }
.pf-public .pf-head { padding-top: 18px; }
.site .pf-pb, .site .pf-card-img, .site .pf-gallery a { background: #d9d5cc; }
@media (prefers-reduced-motion: reduce) { .pf-pb img, .pf-gallery img, .pf-bar i { transition: none; } }
.tab-av { display: grid; place-items: center; height: 22px; }

/* ---------- NFC scanning guide, scanning screen and troubleshooting (MAX, 2026-11-14) ----------
   Always the dark ROF verification surface, on the public site and in the app. Illustrations: resources/views/v4/verify/_nfc-art. */
.nfcg, .scan { position: relative; border-radius: var(--r-xl); padding: 26px 20px 24px; background: var(--black); color: #f3f0e9; overflow: hidden; isolation: isolate;
  --fg: #f3f0e9; --fg-2: #cfccc5; --mut: #8e8b85; --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .16); --soft: rgba(255, 255, 255, .06); --card: #141416; --pri-bg: var(--paper); --pri-fg: #0b0b0c; }
.nfcg::before, .scan::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 50% at 80% 0%, rgba(255, 255, 255, .08), transparent 70%); }
.nfcg-title, .scan-title { font: 500 clamp(28px, 7vw, 40px)/1.05 var(--f-ui); letter-spacing: -.035em; margin-top: 10px; }
.nfcg-lead, .scan-lead { color: rgba(243, 240, 233, .72); margin-top: 10px; font-size: 15px; max-width: 46ch; }
.nfcg-model { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; font-size: 13px; color: var(--mut); }
.nfcg-model select { min-height: 40px; padding: 0 34px 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background-color: #141416; color: #f3f0e9; font: 500 14px var(--f-ui); }
.nfcg-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: none; }
@media (min-width: 900px) { .nfcg-steps { grid-template-columns: repeat(3, 1fr); } }
.nfcg-step { border-radius: var(--r); background: #121214; box-shadow: inset 0 0 0 1px var(--line); padding: 14px 16px 18px; min-width: 0; }
.nfcg-step p { color: rgba(243, 240, 233, .74); font-size: 14px; margin-top: 6px; }
.nfcg-n { font: 600 10.5px/1 var(--f-wide); font-stretch: 118%; letter-spacing: .2em; text-transform: uppercase; color: var(--mut) !important; margin-top: 12px !important; }
.nfcg-h { font: 500 19px/1.2 var(--f-ui); letter-spacing: -.02em; margin-top: 6px; }
.nfcg-art { border-radius: 14px; background: radial-gradient(90% 80% at 50% 40%, #1b1b1e, #0c0c0d); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); padding: 6px; display: grid; place-items: center; min-height: 150px; }
.nfcg-art--phones { grid-template-columns: 1fr 1fr; gap: 4px; }
.nfcg-art--phones figure { margin: 0; text-align: center; }
.nfcg-art--phones .nfc-art { max-width: 120px; }
.nfcg-art--phones figcaption { font-size: 11.5px; color: var(--mut); margin-top: -4px; padding-bottom: 6px; }
.nfcg-art--phones figcaption b { display: block; color: #f3f0e9; font-weight: 600; font-size: 12.5px; }
.nfcg-tips { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: rgba(243, 240, 233, .74); }
.nfcg-tips li { position: relative; padding-left: 16px; display: flex; flex-wrap: wrap; gap: 0 6px; align-items: baseline; }
.nfcg-tips li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: rgba(243, 240, 233, .5); }
.nfcg-tips b { color: #f3f0e9; font-weight: 600; }
.nfcg-tips li.is-you::before { background: #f3f0e9; }
.nfcg-tips .you, .scan .howto .you { font: 600 9px/1 var(--f-wide); letter-spacing: .16em; text-transform: uppercase; padding: 4px 6px; border-radius: 5px; background: rgba(255, 255, 255, .14); color: #f3f0e9; }
.nfcg-note { font-size: 12.5px !important; color: var(--mut) !important; }
.nfcg-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.nfcg-cta .btn { min-width: 220px; }
@media (max-width: 559px) { .nfcg-cta .btn { width: 100%; } .nfcg-cta { justify-content: center; } }
.nfcg-help { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: #f3f0e9; text-decoration: underline; text-decoration-color: rgba(243, 240, 233, .35); text-underline-offset: 3px; }
.nfcg--page .trouble { margin-top: 18px; }

.nfc-art { display: block; width: 100%; height: auto; max-width: 420px; overflow: visible; }
.nfc-art--scan { overflow: hidden; }
.scan-state[data-scan-state="unsupported"], .scan-state[data-scan-state="unsupported"] + .scan-track { display: none; }
.nfc-art-t { font: 500 12.5px var(--f-ui); fill: rgba(243, 240, 233, .62); }
.nfc-art-t--hi { fill: #f3f0e9; font-weight: 600; }
.nfc-art-t--s { font-size: 11.5px; }
.nfc-art-ring { transform-origin: 180px 214px; transform-box: view-box; opacity: 0; }
.nfc-art-wave { opacity: .9; }
@keyframes nfcRing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes nfcWave { 0%, 100% { opacity: .25; } 50% { opacity: .95; } }
.nfcg .nfc-art--scan .nfc-art-ring, .scan.is-searching .nfc-art-ring { animation: nfcRing 2.2s var(--ease) infinite; }
.nfcg .nfc-art--scan .nfc-art-ring--2, .scan.is-searching .nfc-art-ring--2 { animation-delay: 1.1s; }
.nfcg .nfc-art--scan .nfc-art-wave, .scan.is-searching .nfc-art-wave, .nfc-art--phone .nfc-art-wave { animation: nfcWave 1.8s ease-in-out infinite; }
.nfc-art--phone .nfc-art-wave--2 { animation-delay: .5s; }
.nfc-unconfirmed { display: grid; place-items: center; gap: 8px; padding: 22px 12px; text-align: center; font-size: 12.5px; color: var(--mut); }
.nfc-unconfirmed .ico { width: 28px; height: 28px; opacity: .6; }

.scan-wrap { padding-top: 18px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 600; color: var(--mut); text-decoration: none; margin-bottom: 12px; }
.back-link:hover { color: var(--fg); }
.scan { text-align: center; padding-top: 18px; }
.scan-art { margin: 0 auto 6px; max-width: 360px; }
.scan .scan-lead { margin-inline: auto; }
.scan-state { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font: 600 11px/1.2 var(--f-wide); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; color: #f3f0e9; }
.scan-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(243, 240, 233, .45); flex: none; }
.scan-state[data-scan-state="searching"] .scan-dot, .scan-state[data-scan-state="verifying"] .scan-dot { background: #f3f0e9; animation: nfcWave 1.2s ease-in-out infinite; }
.scan-state[data-scan-state="detected"] .scan-dot { background: #f3f0e9; box-shadow: 0 0 0 4px rgba(243, 240, 233, .18); }
.scan-state[data-scan-state="authentic"] { background: rgba(127, 200, 160, .14); box-shadow: inset 0 0 0 1px rgba(127, 200, 160, .45); }
.scan-state[data-scan-state="authentic"] .scan-dot { background: var(--ok, #7fc8a0); }
.scan-state[data-scan-state="failed"], .scan-state[data-scan-state="error"] { background: rgba(224, 128, 112, .12); box-shadow: inset 0 0 0 1px rgba(224, 128, 112, .45); }
.scan-state[data-scan-state="failed"] .scan-dot, .scan-state[data-scan-state="error"] .scan-dot { background: #e08070; }
.scan-track { list-style: none; display: flex; justify-content: center; gap: 6px; margin: 14px 0 0; padding: 0; }
.scan-track li { width: 26px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .14); transition: background .3s var(--ease); }
.scan-track li.is-on { background: #f3f0e9; }
.scan-track.is-ok li.is-on { background: var(--ok, #7fc8a0); }
.scan-track.is-bad li.is-on { background: #e08070; }
.scan-go { margin: 20px auto 0; max-width: 360px; }
.scan-msg { color: rgba(243, 240, 233, .72); margin-top: 10px; min-height: 1.5em; }
.scan-alt { margin-top: 20px; text-align: left; }
.scan-alt-h { font-size: 14px; color: rgba(243, 240, 233, .8); }
.scan-alt .howto { margin-top: 12px; }
.scan-alt-pc { color: var(--mut); margin-top: 10px; }
.scan-help { margin-top: 18px; font-size: 13.5px; }
.scan-help a { color: #f3f0e9; font-weight: 600; text-decoration-color: rgba(243, 240, 233, .35); text-underline-offset: 3px; }
.scan-result:not(:empty) { margin-top: 14px; }
.scan-after { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }

.trouble-where { border-radius: var(--r); background: radial-gradient(90% 80% at 50% 40%, #1b1b1e, #0c0c0d); color: #f3f0e9; padding: 8px 12px 14px; text-align: center; }
.trouble-where .nfc-art { margin: 0 auto; max-width: 320px; }
.trouble-where p { font-size: 13.5px; color: rgba(243, 240, 233, .82); margin-top: 2px; }
.trouble-list { margin: 16px 0 0; padding: 0 0 0 20px; display: grid; gap: 10px; font-size: 14px; color: var(--fg-2, var(--fg)); }
.trouble-list b { color: var(--fg); font-weight: 600; }
.trouble-list li::marker { color: var(--mut); font-weight: 600; }
.trouble-help { margin-top: 18px; padding: 16px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-2); }
.trouble-help p:not(.eyebrow) { font-size: 14px; margin-top: 6px; }
.wrap > .nfcg { margin-top: 20px; }
@media (min-width: 900px) { .wrap > .nfcg { margin-top: 32px; padding: 34px 28px 28px; } }
.nfcg-art { aspect-ratio: 360 / 230; overflow: hidden; }
.nfcg-art > .nfc-art { max-height: 100%; width: auto; max-width: 100%; }
.nfcg-art--phones .nfc-art { max-height: 150px; margin: 0 auto; }
.nfcg-art--phones { aspect-ratio: auto; }
.nfcg-art--phones .nfc-art { max-height: 130px; }
@media (min-width: 900px) { .nfcg-art--phones { aspect-ratio: 360 / 230; } }
.nfcg-art { aspect-ratio: 5 / 4; }
@media (min-width: 900px) { .nfcg-art--phones { aspect-ratio: 5 / 4; } }
.scan-art .nfc-art { max-height: 300px; width: auto; margin: 0 auto; }

/* ---------- ROF Digital Rod Pass (Apple Wallet) ----------
 * .wpass is a picture of the pass drawn from the same live data as the real pass.json, laid out the way Apple
 * Wallet shows a store card (logo + serial, carbon strip with the model, owner/status row, QR code). */
.walletbox { background: var(--card); border-radius: var(--r-l); padding: 18px; box-shadow: 0 0 0 1px var(--line) inset; }
.walletbox h2 { font: 600 17px/1.3 var(--f-ui); letter-spacing: -.02em; margin-top: 6px; }
.walletbox > .small { margin-top: 6px; }
.walletbox-pass { margin: 16px auto 4px; max-width: 340px; }
.wpass { margin: 0; container-type: inline-size; border-radius: 14px; overflow: hidden; background: #0c0c0d; color: #f3f0e9; box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.wpass .wp-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px 10px; }
.wpass .wp-logo { height: 22px; width: auto; display: block; }
.wpass .wp-f { display: grid; gap: 3px; min-width: 0; }
.wpass .wp-f--r { text-align: right; }
.wpass .wp-l { font: 600 9.5px/1 var(--f-ui); letter-spacing: .06em; color: #96938d; text-transform: uppercase; }
.wpass .wp-v { font: 500 13.5px/1.2 var(--f-ui); color: #f3f0e9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wpass .wp-mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.wpass .wp-strip { aspect-ratio: 375 / 123; background: #0c0c0d url("../images/v4/wallet-strip.png") center / cover no-repeat; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 14px; }
.wpass .wp-pv { font: 400 clamp(19px, 7.4cqw, 26px)/1.05 var(--f-ui); letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wpass .wp-pl { font: 600 9.5px/1 var(--f-ui); letter-spacing: .06em; color: #c9c6bf; }
.wpass .wp-row { display: flex; gap: 14px; padding: 12px 14px 4px; }
.wpass .wp-f--grow { flex: 1; }
.wpass .wp-code { display: grid; justify-items: center; gap: 6px; padding: 14px 14px 16px; }
.wpass .wp-qr { width: 112px; height: 112px; padding: 7px; background: #fff; border-radius: 8px; display: block; }
.wpass .wp-qr svg { width: 100%; height: 100%; display: block; }
.wpass .wp-alt { font: 500 11px/1.2 var(--f-ui); color: #c9c6bf; letter-spacing: .02em; }
.wpass.is-void .wp-strip { filter: grayscale(1) brightness(.6); }
.wpass.is-void .wp-pl { color: #de8a82; }
.wallet-cta { margin-top: 14px; display: grid; justify-items: center; gap: 6px; }
.wallet-badge { display: inline-block; border-radius: 10px; line-height: 0; transition: transform .2s var(--ease), opacity .2s; }
.wallet-badge img { height: 50px; width: auto; display: block; }
.wallet-badge:active { transform: scale(.98); opacity: .9; }
.wallet-badge:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.no-apple-wallet [data-wallet-badge] { display: none; }
.wallet-other { display: none; }
.no-apple-wallet .wallet-other { display: block; text-align: center; }
.wallet-verified { text-align: center; padding: 18px 16px 16px; border-radius: var(--r-l); background: linear-gradient(180deg, rgba(111, 191, 146, .1), rgba(111, 191, 146, 0) 70%), var(--card); box-shadow: 0 0 0 1px rgba(111, 191, 146, .25) inset; }
.wallet-verified .wv-head { font: 600 12.5px/1.35 var(--f-wide); font-stretch: 112%; letter-spacing: .14em; color: var(--fg); }
.wallet-verified .wv-sub { margin-top: 6px; color: var(--fg-2); font-size: 14.5px; }
.wallet-verified .pending-note { text-align: left; }

/* ---------- Add ROF WORLDWIDE to the Home Screen (welcome after joining, Settings page) ---------- */
html:not(.is-standalone) [data-a2hs-show-installed] { display: none !important; }
.is-standalone [data-a2hs-hide-installed] { display: none !important; }
.is-standalone [data-a2hs-show-installed] { display: block; }
.welcome { text-align: center; padding: 4px 2px 6px; }
.welcome-icon { width: 88px; height: 88px; border-radius: 21px; display: block; margin: 4px auto 0; box-shadow: 0 14px 34px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08); }
.welcome-kicker { margin-top: 20px; font: 600 12.5px/1.3 var(--f-wide); font-stretch: 118%; letter-spacing: .2em; color: var(--fg); }
.welcome-title { margin-top: 8px; font: 500 24px/1.15 var(--f-ui); letter-spacing: -.02em; }
.welcome-text { margin: 10px auto 0; max-width: 34ch; color: var(--fg-2); }
.welcome-btns { display: grid; gap: 10px; margin-top: 22px; }
.welcome-app { display: flex; align-items: center; gap: 12px; text-align: left; }
.welcome-app img { border-radius: 12px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.welcome-app > span { display: grid; gap: 2px; min-width: 0; }
.welcome [data-a2hs-step="guide"] .welcome-app { margin-bottom: 14px; }
.a2hs { text-align: left; }
.a2hs-lead { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.a2hs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.a2hs-steps li { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .035); box-shadow: 0 0 0 1px var(--line) inset; }
.a2hs-steps li > div { display: grid; gap: 3px; }
.a2hs-steps li > div span { color: var(--fg-2); font-size: 13.5px; }
.a2hs-n { font: 600 10.5px/1 var(--f-wide); font-stretch: 118%; letter-spacing: .2em; color: var(--mut, #8e8b85); }
.a2hs-art { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #1c1c1f; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset; font-size: 14px; }
.a2hs-art i { font-style: normal; }
.a2hs-art--bar { justify-content: space-around; font-size: 20px; color: #0a84ff; }
.a2hs-art--bar .a2hs-dim { opacity: .35; }
.a2hs-art--bar .a2hs-book, .a2hs-art--bar .a2hs-tabs { width: 18px; height: 15px; border: 1.6px solid currentColor; border-radius: 3px; }
.a2hs-hl { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 2px #0a84ff, 0 0 0 6px rgba(10, 132, 255, .2); }
.a2hs-hl .ico { width: 20px; height: 20px; }
.a2hs-art--row { justify-content: space-between; color: var(--fg); }
.a2hs-plus { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1.6px solid currentColor; border-radius: 5px; font-size: 16px; line-height: 1; }
.a2hs-art--add img { border-radius: 9px; }
.a2hs-art--add span { flex: 1; font-weight: 600; }
.a2hs-art--add b { color: #0a84ff; font-weight: 600; padding: 6px 10px; border-radius: 999px; box-shadow: 0 0 0 2px #0a84ff; }
.a2hs-art--menu .a2hs-url { flex: 1; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.a2hs-art--menu .a2hs-dots { font-size: 20px; color: var(--fg); box-shadow: 0 0 0 2px var(--fg), 0 0 0 6px rgba(255, 255, 255, .12); }
.a2hs-status { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: 14px; }
.a2hs-status.is-ok { background: rgba(111, 191, 146, .12); color: var(--fg); display: flex; gap: 8px; align-items: center; }
.a2hs-status[hidden] { display: none; }
.a2hs-card { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.a2hs-card img { border-radius: 11px; flex: none; }
.a2hs-card .min0 { flex: 1; display: grid; gap: 2px; }

/* ---------- ROF announcements (2026-11-14): Home section, feed, full post, gallery, full-screen viewer ---------- */
.news-sec .section-t { margin-top: 28px; }
.news-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-padding: 0 var(--gutter); }
.news-strip::-webkit-scrollbar { display: none; }
.news-strip > * { scroll-snap-align: start; }
.news-strip.is-single { grid-auto-columns: 100%; }
@media (min-width: 640px) { .news-strip { grid-auto-columns: calc(50% - 6px); } .news-strip.is-single { grid-auto-columns: 100%; } }
@media (min-width: 960px) { .amain .news-strip { margin: 0; padding: 2px 0 6px; scroll-padding: 0; } }
.news-card { display: flex; flex-direction: column; border-radius: var(--r-l); background: var(--card); overflow: hidden; box-shadow: var(--shadow); color: var(--fg); transition: transform .2s var(--ease); -webkit-tap-highlight-color: transparent; min-width: 0; }
.news-card:active { transform: scale(.985); }
.news-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.news-cover { position: relative; display: block; background: var(--card-2); overflow: hidden; }
.news-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-cover.is-fixed { aspect-ratio: 4 / 3; }
.news-strip.is-single .news-cover.is-fixed { aspect-ratio: 16 / 10; }
.news-cover.is-tall { aspect-ratio: 4 / 5; }
.news-cover.is-portrait { aspect-ratio: 4 / 5; }
.news-cover.is-square { aspect-ratio: 1 / 1; }
.news-cover.is-landscape { aspect-ratio: 4 / 3; }
.news-cover.is-wide { aspect-ratio: 16 / 9; }
.news-cover .news-noposter { position: absolute; inset: 0; display: grid; place-items: center; color: var(--mut); background: radial-gradient(circle at 50% 40%, #232327, #111113 70%); }
.news-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 10, 11, .58); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); color: #f3f0e9; }
.news-play .ico { fill: currentColor; stroke: none; margin-left: 3px; }
.news-dur, .news-n { position: absolute; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px; background: rgba(10, 10, 11, .66); color: #f3f0e9; font: 600 12px/1 var(--f-ui); font-variant-numeric: tabular-nums; }
.news-dur { left: 10px; }
.news-n { right: 10px; }
/* A video cover plays by itself, silently, while on screen; sound button like Instagram Reels (MAX, 2026-11-15).
   The button is outside the card link (.news-item wraps both), so tapping it never opens the post. */
.news-item { position: relative; display: grid; min-width: 0; }
.news-item > .news-card { height: 100%; }
.news-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: transparent; pointer-events: none; }
.news-item.is-playing .news-play { opacity: 0; transform: scale(.85); }
.news-play { transition: opacity .25s var(--ease), transform .25s var(--ease); }
.news-sound { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(10, 10, 11, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); color: #f3f0e9; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.news-sound:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.news-sound:active { transform: scale(.92); }
.news-sound .is-on, .news-sound[aria-pressed="true"] .is-off { display: none; }
.news-sound[aria-pressed="true"] .is-on { display: block; }
.news-body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.news-date { font-size: 12px; color: var(--mut); letter-spacing: .02em; }
.news-title { font: 600 16.5px/1.3 var(--f-ui); letter-spacing: -.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.news-ex { font-size: 14px; line-height: 1.5; color: var(--fg-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card--feed .news-ex { -webkit-line-clamp: 3; }
.news-card--feed .news-title { font-size: 18px; -webkit-line-clamp: 3; }
.news-more { margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 560; color: var(--fg); }
.news-wrap { width: 100%; max-width: 640px; margin: 0 auto; }
.site .news-wrap { padding: 0 var(--gutter); }
.news-head { padding: 18px 0 6px; }
.news-head h1 { font: 600 clamp(28px, 6vw, 36px)/1.1 var(--f-ui); letter-spacing: -.03em; margin-top: 6px; }
.news-head p { margin-top: 6px; }
.news-feed { display: grid; gap: 18px; margin-top: 18px; }
.site .news-page { padding-bottom: 64px; }

/* Full post */
.news-post { padding-top: 10px; }
.site .news-post { padding-bottom: 64px; }
.news-post-h { margin-top: 18px; }
.news-post-h h1 { font: 600 clamp(24px, 5.4vw, 32px)/1.15 var(--f-ui); letter-spacing: -.025em; margin-top: 4px; overflow-wrap: anywhere; }
.news-text { margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--fg-2); overflow-wrap: anywhere; }
.news-text p + p { margin-top: 14px; }
.news-from { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.news-from img { height: 11px; width: auto; opacity: .7; }
.site .news-from img { filter: invert(1); }

/* Gallery: one frame for all slides, shaped by the first (never taller than 4:5); photos keep their own shape inside */
.gal { position: relative; margin: 10px calc(var(--gutter) * -1) 0; background: #000; }
@media (min-width: 680px) { .gal { margin: 14px 0 0; border-radius: var(--r-l); overflow: hidden; } }
.gal-track { display: flex; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.gal-slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.gal.is-tall .gal-slide, .gal.is-portrait .gal-slide { aspect-ratio: 4 / 5; }
.gal.is-square .gal-slide { aspect-ratio: 1 / 1; }
.gal.is-wide .gal-slide { aspect-ratio: 16 / 9; }
.gal-open { position: absolute; inset: 0; width: 100%; height: 100%; display: block; padding: 0; border: 0; background: none; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.gal-open img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gal-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.gal-btn { position: absolute; top: 50%; margin-top: -20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; background: rgba(10, 10, 11, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #f3f0e9; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); cursor: pointer; transition: opacity .2s; }
.gal-btn[disabled] { opacity: 0; pointer-events: none; }
.gal-prev { left: 10px; } .gal-next { right: 10px; }
@media (hover: none) { .gal-btn { display: none; } }
.gal-count { position: absolute; top: 10px; right: 10px; height: 24px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; background: rgba(10, 10, 11, .62); color: #f3f0e9; font: 600 12px/1 var(--f-ui); font-variant-numeric: tabular-nums; pointer-events: none; }
.gal-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gal-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(243, 240, 233, .4); transition: background .2s, transform .2s; }
.gal-dots span.is-on { background: #f3f0e9; transform: scale(1.2); }
.gal:has(.gal-video) .gal-dots { bottom: auto; top: 16px; left: 12px; right: auto; }
.gal-hint { margin-top: 8px; }

/* Full-screen viewer */
.viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #f3f0e9; }
.viewer::backdrop { background: #000; }
.viewer-track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.viewer-track::-webkit-scrollbar { display: none; }
.viewer-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: calc(56px + var(--safe-t)) 0 calc(24px + var(--safe-b)); }
.viewer-slide img, .viewer-slide video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; touch-action: pinch-zoom; }
.viewer-top { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: calc(8px + var(--safe-t)) 10px 8px 18px; background: linear-gradient(rgba(0, 0, 0, .6), transparent); pointer-events: none; }
.viewer-top > * { pointer-events: auto; }
.viewer-n { font: 600 13px/1 var(--f-ui); font-variant-numeric: tabular-nums; }
.viewer .iconbtn { color: #f3f0e9; }
.viewer .iconbtn:hover { background: rgba(255, 255, 255, .12); }
.viewer .gal-btn { z-index: 2; width: 46px; height: 46px; margin-top: -23px; }

/* ---------- Public Website spots (Admin > Public Website, 2026-11-14) ---------- */
/* ROF's own HD video in a big spot behaves exactly like the photo it replaces. */
.hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); animation: heroIn 2.4s var(--ease) both; }
.story > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .75; }
video.bg { pointer-events: none; }
/* What stays in view when a screen crops the picture (chosen in admin). */
.fx-top { object-position: 50% 15%; }
.fx-bottom { object-position: 50% 85%; }
.fx-left { object-position: 20% 50%; }
.fx-right { object-position: 80% 50%; }
/* Wording written in admin: paragraphs and lists. */
.lead-text p + p, .story-text p + p, .faq .ans p + p, .note-card p + p, .step p + p { margin-top: .65em; }
.lead-text ul, .story-text ul, .faq .ans ul, .note-card ul, .step ul, .card .lead-text ul { list-style: disc; padding-left: 20px; margin-top: 8px; }
.lead-text li + li, .story-text li + li, .faq .ans li + li { margin-top: 4px; }
.lead-text a, .story-text a, .faq .ans a, .note-card a, .step a { text-decoration: underline; text-underline-offset: 3px; }
.prose h3 { font: 600 17px/1.3 var(--f-ui); color: var(--fg); margin-top: 26px; }
.prose > h3:first-child { margin-top: 0; }
.prose p + h3, .prose ul + h3 { margin-top: 26px; }
.prose h3 + p, .prose h3 + ul { margin-top: 8px; }
.story-text p:first-child { margin-top: 16px; }
.lead-text > * + *, .story-text > * + *, .faq .ans > * + *, .note-card ul + p, .step ul + p, .prose ul + p { margin-top: .65em; }

/* ---------- Birthday (V4 Birthday Reward Programme, 2026-11-15): only ever on the customer's own pages ---------- */
.hello.is-bday p { color: var(--fg-2); }
.hello.is-bday h1 { background: var(--brushed); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: bday-sheen 6s var(--ease) infinite alternate; }
@keyframes bday-sheen { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.bday { position: relative; overflow: hidden; isolation: isolate; margin: 14px 0 6px; padding: 22px 20px 20px; border-radius: var(--r-l); background: linear-gradient(160deg, #1d1d21 0%, #121214 55%, #0d0d0f 100%); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.bday-glow { position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(233, 234, 236, .14), transparent 70%); pointer-events: none; }
.bday h2 { font: 600 20px/1.25 var(--f-ui); letter-spacing: -.02em; margin: 8px 0 10px; }
.bday > p:not(.eyebrow) { color: var(--fg-2); font-size: 14.5px; line-height: 1.6; }
.bday > p + p { margin-top: 8px; }
.bday .bday-sign { margin-top: 12px; font-weight: 600; color: var(--fg); letter-spacing: .01em; }
.bday-reward { margin-top: 18px; padding: 18px 16px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line-2); text-align: center; }
.bday-value { margin: 8px 0 14px; font: 700 40px/1 var(--f-wide); font-stretch: 112%; letter-spacing: -.01em; background: var(--brushed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bday-code input { text-align: center; font: 600 17px/1 ui-monospace, SFMono-Regular, Menlo, monospace !important; letter-spacing: .1em; height: 44px; border-radius: 12px; border: 1px dashed var(--silver-d); background: #0b0b0c; color: var(--fg); padding: 0 10px; }
.bday-code .btn { height: 44px; }
.bday-code { flex-wrap: wrap; }
.bday-code input { flex: 1 1 100%; }
.bday-code .btn { flex: 1 1 100%; }
@media (min-width: 520px) { .bday-code { flex-wrap: nowrap; } .bday-code input { flex: 1 1 auto; } .bday-code .btn { flex: none; } }
.hello.is-bday p { display: flex; align-items: center; gap: 6px; }
.bday-until { margin-top: 12px; font-size: 14px; color: var(--fg); }
.bday-terms { margin-top: 4px; font-size: 12.5px; color: var(--mut); }
.bday-test { margin-top: 8px; font-size: 12.5px; color: var(--bad); }
.bday-shop { margin-top: 14px; letter-spacing: .08em; font-weight: 650; }
.bday-mini { display: flex; align-items: center; gap: 12px; margin: 12px 0 4px; padding: 12px 14px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.bday-mini > span:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 2px; }
.bday-mini b { font-weight: 600; font-size: 14.5px; }
.bday-mini > span:nth-child(2) > span { font-size: 12.5px; color: var(--mut); overflow-wrap: anywhere; }
.bday-mini-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .06); flex: none; }
.bday-mini > .ico:last-child { color: var(--mut); }
/* My birthday rewards page */
.rw-list { display: grid; gap: 12px; }
.rw { padding: 18px; border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow); }
.rw.is-live { background: linear-gradient(160deg, #1d1d21 0%, #121214 70%); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.rw-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rw-top b { font: 700 24px/1.1 var(--f-wide); font-stretch: 112%; }
.rw.is-live .rw-top b { background: var(--brushed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rw-meta { margin-top: 6px; font-size: 13px; color: var(--mut); }
.rw .copyrow { margin-top: 12px; }
.rw .bday-shop { margin-top: 12px; }
.rw-code-old { margin-top: 8px; font: 600 14px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: var(--mut); }
@media (prefers-reduced-motion: reduce) { .hello.is-bday h1 { animation: none; } }
