/* EVERY12 BUILD12b: BRO Everywhere web app (/everywhere/web). bro.com black + gold only (BROSKIN12 tokens), the bro.com crest.
   Dark (bro.com's home and /ai look) always; light only when the reader picks it in More. WCAG 2.2 AA pairs. */
@font-face { font-family: "BRO Oswald"; src: url("/everywhere/web/fonts/oswald-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "BRO Inter"; src: url("/everywhere/web/fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BRO Inter"; src: url("/everywhere/web/fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root {
  --bg: #070B12; --bg2: #0B111C; --surface: #101826; --surface2: #182233; --surface3: #212D42;
  --line: rgba(212, 168, 75, 0.34); --line2: rgba(212, 168, 75, 0.6); --hair: rgba(243, 238, 228, 0.12);
  --text: #F3EEE4; --text2: #CFC9BE; --muted: #A29D94;
  --gold: #D4A84B; --gold-hi: #F5D98A; --gold-text: #E6BF6A; --on-gold: #14100A;
  --gold-btn: linear-gradient(180deg, #F6D27A, #E0AD48 50%, #C48E2F); --gold-btn-hover: linear-gradient(180deg, #F9DD95, #E7B957 50%, #CF9A39);
  --gold-soft: rgba(212, 168, 75, 0.14);
  --ok: #7DDBB5; --ok-soft: rgba(125, 219, 181, 0.12); --warn: #F6C975; --warn-soft: rgba(246, 201, 117, 0.12); --bad: #FF8A8A; --bad-soft: rgba(255, 138, 138, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45); --glow: 0 0 44px rgba(215, 166, 74, 0.18);
  --focus: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold-hi);
  --display: "BRO Oswald", "Oswald", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --sans: "BRO Inter", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 20px; --nav-h: 68px;
  color-scheme: dark;
}
[data-bro-theme="light"] {
  --bg: #F7F5F0; --bg2: #EFEBE2; --surface: #FFFFFF; --surface2: #F4F1EA; --surface3: #E9E5DA;
  --line: rgba(125, 85, 20, 0.28); --line2: rgba(125, 85, 20, 0.55); --hair: rgba(17, 22, 27, 0.12);
  --text: #11161B; --text2: #3A4148; --muted: #5B636B;
  --gold: #B8862E; --gold-hi: #8A5E12; --gold-text: #8A5E12; --gold-soft: rgba(184, 134, 46, 0.12);
  --ok: #176944; --ok-soft: rgba(30, 122, 82, 0.10); --warn: #8A5A00; --warn-soft: rgba(196, 142, 47, 0.14); --bad: #B42318; --bad-soft: rgba(180, 35, 24, 0.08);
  --shadow: 0 18px 50px rgba(17, 22, 27, 0.12); --glow: 0 0 30px rgba(184, 134, 46, 0.14);
  --focus: 0 0 0 2px var(--bg), 0 0 0 4px #8A6B33;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--bg); background-image: radial-gradient(1200px 600px at 70% -10%, var(--gold-soft), transparent 60%); color: var(--text); font: 16px/1.55 var(--sans); overflow-x: hidden; }
a { color: var(--gold-text); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 10px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: 0.005em; line-height: 1.12; margin: 0 0 10px; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gold-btn); color: var(--on-gold); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hair); }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); min-height: 44px; }
.brand .crest { width: 36px; height: 36px; object-fit: contain; }
.brand .wm { width: auto; height: 30px; display: block; }
.brand .sub { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--gold-text); letter-spacing: 0.03em; }
.grow { flex: 1; }
.allow { font-size: 0.8125rem; color: var(--text2); white-space: nowrap; }
.allow b { color: var(--gold-text); font-weight: 600; }

/* layout + nav */
.layout { display: grid; grid-template-columns: 1fr; max-width: 1640px; margin: 0 auto; }
main { padding: 20px 16px calc(var(--nav-h) + 40px + env(safe-area-inset-bottom)); min-width: 0; outline: none; }
.nav { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(6, 1fr); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
.nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; color: var(--text2); text-decoration: none; font-size: 0.75rem; font-weight: 600; border-radius: 14px; }
.nav a.wide { display: none; }
.nav a[aria-current="page"] { color: var(--gold-text); background: var(--gold-soft); }
.nav a:hover { color: var(--text); }
@media (min-width: 900px) {
  .layout { grid-template-columns: 220px 1fr; gap: 24px; padding: 0 24px; }
  .top { padding-left: 24px; padding-right: 24px; }
  .nav { position: sticky; top: 76px; align-self: start; display: flex; flex-direction: column; gap: 4px; background: none; border: 0; padding: 24px 0; backdrop-filter: none; }
  .nav a, .nav a.wide { display: flex; flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 48px; padding: 0 14px; font-size: 0.95rem; }
  main { padding: 28px 0 64px; }
}

/* icons (drawn with CSS masks, gold on the current view) */
.ic { display: inline-block; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; flex: none; font-style: normal; }
.ic-home { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.ic-shield { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V6z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
.ic-lens { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21'/%3E%3C/svg%3E"); }
.ic-tag { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 12V4h8l10 10-8 8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5' fill='black'/%3E%3C/svg%3E"); }
.ic-screen { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2.5'/%3E%3Cpath d='M10 18.5h4'/%3E%3C/svg%3E"); }
.ic-chart { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20h18'/%3E%3Cpath d='M5 16l4-5 4 3 6-8'/%3E%3C/svg%3E"); }
.ic-clock { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.ic-more { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5' cy='12' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='19' cy='12' r='2'/%3E%3C/svg%3E"); }
.ic-talk { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E"); }
.ic-phone { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2.5'/%3E%3Cpath d='M12 7v7M9 11l3 3 3-3'/%3E%3C/svg%3E"); }

/* hero + forms */
.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.lead { font-size: 1.0625rem; color: var(--text2); max-width: 62ch; }
.hero { position: relative; display: grid; grid-template-columns: 1fr; gap: 8px 32px; background: radial-gradient(900px 400px at 15% 0%, rgba(212,168,75,.16), transparent 70%), linear-gradient(180deg, var(--surface), var(--bg2)); border: 1px solid var(--line); border-radius: 28px; padding: 22px 18px; box-shadow: var(--shadow), var(--glow); overflow: hidden; }
@media (min-width: 900px) { .hero { grid-template-columns: 240px 1fr; padding: 34px 40px 30px; align-items: end; } }
.ryder { display: block; }
.ryder img { display: block; width: 120px; height: auto; border-radius: 20px; border: 1px solid var(--line); background: #000; }
@media (min-width: 900px) { .ryder img { width: 240px; border-radius: 24px; } }
@media (max-width: 899px) { .ryder { position: absolute; right: 14px; top: 14px; } .ryder img { width: 92px; } .hero-main .eyebrow, .hero-main h1 { padding-right: 104px; } }
.hi { margin: 4px 0 6px; }
.bubble { display: inline-block; position: relative; background: var(--surface3); color: var(--text); border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; padding: 12px 16px; max-width: 70ch; font-size: 1.02rem; }
.pastebox { border: 1px solid var(--line2); border-radius: 22px; background: var(--bg); padding: 10px; display: grid; gap: 10px; transition: border-color .15s ease, box-shadow .15s ease; }
.pastebox.over { border-color: var(--gold-hi); box-shadow: var(--glow); }
.pastebox textarea { border: 0; background: transparent; min-height: 84px; font-size: 1.08rem; }
.pastebox textarea:focus-visible { box-shadow: none; }
.pastebox:focus-within { border-color: var(--gold-hi); }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 1.08rem; }
.tries { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; color: var(--text2); font-size: 0.9rem; }
.chip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px dashed var(--line2); background: var(--gold-soft); color: var(--text); font: 600 0.875rem var(--sans); cursor: pointer; }
.chip:hover { border-style: solid; border-color: var(--gold-hi); }
.row2 { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 14px 0; }
@media (min-width: 900px) { .row2 { grid-template-columns: 2fr 1fr; } }
.recent .hist-i { background: var(--bg2); }
.install { display: grid; align-content: start; gap: 4px; background: linear-gradient(160deg, var(--surface2), var(--surface)); border-color: var(--line); }
.install img { width: 64px; height: 64px; object-fit: contain; }
.how { list-style: none; margin: 14px 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how li { display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; padding: 16px; border-radius: 18px; border: 1px solid var(--hair); background: var(--surface); color: var(--text2); }
.how b { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-btn); color: var(--on-gold); font: 700 1.2rem var(--display); }
.how strong { color: var(--text); font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.ask { display: grid; gap: 10px; margin: 18px 0 8px; max-width: 760px; }
.lbl { font-weight: 600; font-size: 0.95rem; color: var(--text); }
textarea, input[type="text"], input[type="url"] { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--line2); border-radius: 16px; padding: 12px 14px; min-height: 48px; }
textarea { resize: vertical; min-height: 92px; }
textarea::placeholder, input::placeholder { color: var(--muted); opacity: 1; }
textarea:focus-visible, input:focus-visible { border-color: var(--gold-hi); }
.acts { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: flex-start; }
.act { display: flex; flex-direction: column; gap: 4px; }
.price { font-size: 0.8125rem; color: var(--text2); padding-left: 6px; min-height: 1.2em; }
.price b { color: var(--gold-text); font-weight: 600; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--text); font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { border-color: var(--gold-hi); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold-btn); color: var(--on-gold); border-color: transparent; box-shadow: 0 6px 24px rgba(212, 168, 75, 0.25); }
.btn-gold:hover { background: var(--gold-btn-hover); color: var(--on-gold); }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: 0.875rem; }
.btn-ghost { border-color: var(--line); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* tiles + cards */
.tiles { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 18px 0; }
@media (min-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.big4 { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 16px; }
@media (min-width: 600px) { .big4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .big4 { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 600px) and (max-width: 1279px) { .big4 .big:last-child { grid-column: 1 / -1; } }
.big { display: grid; gap: 8px; align-content: start; padding: 22px; min-height: 260px; border-radius: 22px; border: 1px solid var(--line2); background: linear-gradient(180deg, var(--surface2), var(--surface)); color: var(--text2); text-decoration: none; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.big:hover { transform: translateY(-2px); border-color: var(--gold-hi); color: var(--text2); box-shadow: var(--glow); }
.big .art { width: 100%; height: 110px; margin-bottom: 6px; border-radius: 16px; background: radial-gradient(circle at 50% 60%, rgba(212,168,75,.22), transparent 65%), var(--bg); border: 1px solid var(--hair); padding: 10px; }
.big .art * { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.big .art .a2 { stroke: var(--gold-hi); }
.big .art .a3 { fill: var(--gold-hi); stroke: none; }
.big:hover .art { border-color: var(--line2); }
.big strong { font-family: var(--display); font-weight: 600; font-size: 1.55rem; line-height: 1.1; color: var(--text); }
.big .price { padding-left: 0; color: var(--gold-text); }
.ask.quick { margin-top: 22px; }
.top .btn { white-space: nowrap; }
@media (max-width: 480px) { .brand .wm { height: 26px; } .brand .sub { font-size: 0.95rem; } .allow, #installBtn { display: none !important; } .top { gap: 6px; } }
.tile { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: var(--r); border: 1px solid var(--hair); background: var(--surface); color: var(--text2); text-decoration: none; min-height: 44px; transition: border-color .15s ease, transform .15s ease; }
.tile:hover { border-color: var(--line2); color: var(--text2); transform: translateY(-1px); }
.tile .ic { color: var(--gold-text); width: 26px; height: 26px; }
.tile strong { color: var(--text); font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.tile span:last-child { font-size: 0.9rem; }
.cards { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--hair); color: var(--text2); min-width: 0; }
.card h2 { color: var(--text); }
.card p:last-child { margin-bottom: 0; }
.steps { margin: 0; padding-left: 20px; }
.steps li { margin: 4px 0; }
.fine { font-size: 0.875rem; color: var(--muted); }
.notice { padding: 12px 14px; border-radius: 14px; background: var(--surface2); border: 1px solid var(--line); color: var(--text); margin: 0 0 14px; }
.notice.warn { background: var(--warn-soft); border-color: var(--warn); }
.status-line { color: var(--text2); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; border: 1px solid currentColor; margin-right: 6px; white-space: nowrap; }
.badge-off { color: var(--text2); }
.badge-unv { color: var(--warn); background: var(--warn-soft); }
.badge-ok { color: var(--ok); background: var(--ok-soft); }

/* results */
.out { margin-top: 18px; max-width: 900px; }
.out:empty { display: none; }
.res { border-radius: 24px; border: 1px solid var(--line); background: var(--surface); padding: 20px; box-shadow: var(--shadow); animation: rise .22s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.res + .res { margin-top: 14px; }
.verdict { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; margin-bottom: 14px; border: 1px solid; }
.verdict .vi { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 1.3rem/1 var(--display); }
.verdict h2 { margin: 0 0 4px; font-size: 1.4rem; }
.verdict p { margin: 0; color: var(--text); }
.lv-danger { background: var(--bad-soft); border-color: var(--bad); } .lv-danger .vi { background: var(--bad); color: var(--bg); } .lv-danger h2 { color: var(--bad); }
.lv-be_careful { background: var(--warn-soft); border-color: var(--warn); } .lv-be_careful .vi { background: var(--warn); color: var(--bg); } .lv-be_careful h2 { color: var(--warn); }
.lv-no_known_problems { background: var(--ok-soft); border-color: var(--ok); } .lv-no_known_problems .vi { background: var(--ok); color: var(--bg); } .lv-no_known_problems h2 { color: var(--ok); }
.blk { margin: 14px 0 0; }
.blk h3 { color: var(--gold-text); font-family: var(--sans); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.blk ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.blk li { position: relative; padding-left: 24px; color: var(--text2); overflow-wrap: anywhere; }
.blk li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.blk.chk li::before { content: "\2713"; background: none; width: auto; height: auto; top: 0; left: 2px; color: var(--ok); font-weight: 700; }
.blk.nchk li::before { content: "\2013"; background: none; width: auto; height: auto; top: 0; left: 4px; color: var(--muted); font-weight: 700; }
.blk.bad li::before { background: var(--bad); }
.blk.warnl li::before { background: var(--warn); }
.chain { counter-reset: hop; }
.chain li { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 0.85rem; }
details.more { margin-top: 14px; border-top: 1px solid var(--hair); padding-top: 10px; }
details.more summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--text); }
.meta { margin-top: 14px; font-size: 0.8125rem; color: var(--muted); }
.kv { display: grid; grid-template-columns: minmax(110px, max-content) 1fr; gap: 6px 14px; margin: 0; }
.kv dt { color: var(--muted); font-size: 0.9rem; }
.kv dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.offer { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--hair); }
.offer:first-child { border-top: 0; }
.offer .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.offer .pr { font-family: var(--display); font-size: 1.2rem; color: var(--text); }
.err { padding: 16px; border-radius: 18px; border: 1px solid var(--warn); background: var(--warn-soft); color: var(--text); }
.err .btn { margin-top: 10px; }
.mini { display: inline-flex; min-height: 44px; align-items: center; padding: 0 12px; margin: 4px 6px 0 0; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--text); font: 600 0.875rem var(--sans); cursor: pointer; }
.mini:hover { border-color: var(--gold-hi); }

/* screen picker */
.drop { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; border: 1.5px dashed var(--line2); border-radius: 18px; background: var(--bg); }
.drop.over { border-color: var(--gold-hi); background: var(--gold-soft); }
.drop-hint { color: var(--text2); font-size: 0.9rem; }
.drop img { display: block; width: 100%; max-height: 320px; object-fit: contain; border-radius: 12px; background: var(--surface2); }
.drop input[type="file"]:focus-visible + label { box-shadow: var(--focus); }

/* history */
.hist { display: grid; gap: 10px; }
.hist-i { display: grid; gap: 6px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--hair); }
.hist-i .h-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 0.8125rem; }
.hist-i .h-in { color: var(--text); overflow-wrap: anywhere; }
.hist-i .h-sum { color: var(--text2); font-size: 0.9rem; }

/* theme switch */
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); color: var(--text); font-weight: 600; font-size: 0.9rem; }
.seg input:checked + span { background: var(--gold-btn); color: var(--on-gold); border-color: transparent; }
.seg input:focus-visible + span { box-shadow: var(--focus); }

.ts { position: fixed; right: 16px; bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom)); z-index: 40; }
.ts:empty { display: none; }
@media (min-width: 900px) { .ts { bottom: 16px; } }
/* BUILD12c: installed = never nag (display-mode standalone, iOS standalone, appinstalled, getInstalledRelatedApps) */
.when-installed { display: none !important; }
html[data-installed] .when-installed { display: grid !important; }
html[data-installed] .inst-only { display: none !important; }
/* BUILD12c: What's on near me */
.ic-pin { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.4-7-11.5a7 7 0 0 1 14 0C19 14.6 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.row-loc { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.row-loc .grow-in { flex: 1 1 260px; display: grid; gap: 6px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--gold); }
#localWhen { margin-top: 4px; }
#localWhen legend { margin-bottom: 6px; padding: 0; }
.places { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--hair); }
.evs { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 900px) { .evs { grid-template-columns: 1fr 1fr; } }
.ev { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 14px; border-radius: 16px; background: var(--bg2); border: 1px solid var(--hair); }
.ev .d { display: grid; place-items: center; align-content: center; height: 64px; border-radius: 14px; background: var(--gold-soft); border: 1px solid var(--line); color: var(--gold-text); font: 600 0.75rem var(--sans); text-transform: uppercase; letter-spacing: .06em; }
.ev .d b { font: 700 1.5rem/1 var(--display); color: var(--text); }
.ev h3 { margin: 0 0 4px; font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.ev p { margin: 0; font-size: 0.9rem; color: var(--text2); }
.ev .src { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 0.8125rem; color: var(--muted); }@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
