/*
 * Stotteyman family stylesheet: bonus., rips. and discounts.stotteyman.com.
 * Same palette as aux.stotteyman.com and the glass stotteyman.com: near-black #0A0B0D, blaze
 * orange #FF7A1A, Bahnschrift display face, 16px gutters, mobile first.
 * Surfaces are GLASS: translucent layers with backdrop blur, a hairline border, a 1px top
 * highlight, and a static orange light BEHIND them (body::before). Solid fallbacks for
 * prefers-reduced-transparency and for browsers without backdrop-filter are at the bottom.
 * No inline styles anywhere: the CSP has no 'unsafe-inline' for styles.
 */
:root {
  --bg: #0A0B0D;
  --card: #131417;
  --card2: #1a1b1f;
  --line: #26282c;
  --ink: #f2f0ec;
  --dim: #a09a92;
  --hot: #FF7A1A;
  --hot-hover: #ff8f3d;
  --hot-soft: rgba(255, 122, 26, .14);
  --hot-line: rgba(255, 122, 26, .55);
  --ok: #5de38a;
  --warn: #ffc23d;
  /* glass material, mirrored from stotteyman.com: thin / regular / thick */
  --glass-thin: rgba(18, 19, 22, .35);
  --glass-regular: rgba(18, 19, 22, .55);
  --glass-thick: rgba(18, 19, 22, .72);
  --blur-thin: blur(14px) saturate(160%);
  --blur-regular: blur(22px) saturate(160%);
  --blur-thick: blur(32px) saturate(160%);
  --hairline: rgba(255, 255, 255, .08);
  --highlight: inset 0 1px 0 rgba(255, 255, 255, .10);
  --lift: 0 18px 40px -18px rgba(0, 0, 0, .75);
  /* faint grain so the glass reads as a material, not flat grey (data: URI is allowed by img-src) */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --display: Bahnschrift, "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; overflow-x: hidden; }
[hidden] { display: none !important; }
a { color: var(--hot); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }
h2 { font-size: 26px; letter-spacing: .01em; }
h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 700; margin-bottom: 10px; }
p { margin: 0 0 10px; }
.muted { color: var(--dim); }
.small { font-size: 13px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
code { font: 14px Consolas, ui-monospace, monospace; background: rgba(255, 255, 255, .07); padding: 2px 7px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; }
.sr-only { position: absolute; 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: 20; background: var(--hot); color: #0A0B0D; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ── the light behind the glass: two static radial lights, never animated ── */
body { position: relative; isolation: isolate; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 88% -8%, rgba(255, 122, 26, .20), transparent 62%),
    radial-gradient(50vmax 45vmax at -10% 105%, rgba(255, 122, 26, .12), transparent 60%),
    var(--bg);
}

/* ── one shared glass recipe ── */
.glass, .offer, .card, .strip, .finder, footer .wrap {
  background-color: var(--glass-regular); background-image: var(--noise);
  -webkit-backdrop-filter: var(--blur-regular); backdrop-filter: var(--blur-regular);
  border: 1px solid var(--hairline); box-shadow: var(--highlight), var(--lift);
}

/* ── buttons ── */
.btn, button {
  font: inherit; color: var(--ink); background: rgba(255, 255, 255, .06); border: 1px solid var(--hairline); border-radius: 12px;
  padding: 10px 16px; min-height: 46px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; text-decoration: none; font-weight: 600; box-shadow: var(--highlight);
}
.btn:hover, button:hover { border-color: var(--hot-line); }
.hot { background: var(--hot); border-color: var(--hot); color: #0A0B0D; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 24px -8px rgba(255, 122, 26, .55); }
.hot:hover { background: var(--hot-hover); border-color: var(--hot-hover); }
.big { min-height: 54px; padding: 12px 22px; font-size: 18px; border-radius: 14px; }

/* ── pills ── */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, .07); border: 1px solid var(--hairline); color: var(--dim); white-space: nowrap; }
.pill.age { background: var(--hot); border-color: var(--hot); color: #0A0B0D; }
.pill.warn { background: var(--hot-soft); border-color: rgba(255, 122, 26, .28); color: var(--hot); }

/* ── header + family nav (shared with stotteyman.com and aux) ── */
.top { position: sticky; top: 0; z-index: 10; background: var(--glass-thick); -webkit-backdrop-filter: var(--blur-thick); backdrop-filter: var(--blur-thick); border-bottom: 1px solid var(--hairline); box-shadow: var(--highlight); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding-top: 8px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--display); font-weight: 800; letter-spacing: .06em; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 2px var(--hot), 0 0 18px rgba(255, 122, 26, .35); }
.brand b { color: var(--hot); }
.family { display: flex; width: 100%; justify-content: space-between; gap: 2px; }
.family a { flex: 1 1 auto; min-width: 0; text-align: center; padding: 8px 2px; border-radius: 9px; color: var(--dim); text-decoration: none; font-weight: 600; font-size: 13px; white-space: nowrap; }
.family a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.family a[aria-current="page"] { color: var(--hot); background: var(--hot-soft); box-shadow: inset 0 0 0 1px rgba(255, 122, 26, .28); }
@media (min-width: 400px) { .family a { font-size: 14px; padding: 8px 4px; letter-spacing: .02em; } }
@media (min-width: 720px) {
  .top .wrap { flex-wrap: nowrap; min-height: 64px; padding-top: 0; padding-bottom: 0; }
  .family { width: auto; margin-left: auto; gap: 4px; }
  .family a { flex: none; padding: 8px 12px; font-size: 15px; }
}

/* ── hero ── */
.hero { padding: 30px 0 14px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; left: -180px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 26, .26), transparent 65%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 18px; align-items: center; }
.hero h1 { font-size: clamp(42px, 12vw, 80px); font-weight: 800; letter-spacing: .01em; }
.hero h1 b { color: var(--hot); }
.hero .lede { font-size: 19px; color: #d8d3cc; max-width: 34em; margin: 12px 0 14px; }
.hero-art { display: none; }
@media (min-width: 820px) {
  .hero { padding: 44px 0 20px; }
  .hero .wrap { grid-template-columns: 1fr auto; }
  .hero-art { display: block; width: 220px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
}
.flags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }

/* ── disclosure strip right under the hero ── */
.strip { margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; font-size: 14px; color: #efe6dc; }
.strip.strip { background-color: rgba(255, 122, 26, .10); border-color: var(--hot-line); }
.strip p { margin: 0; }
.strip p + p { margin-top: 6px; }

section.block { padding: 26px 0; border-top: 1px solid var(--hairline); }
section.block > .wrap > h2 { margin-bottom: 6px; }
section.block > .wrap > .sub { color: var(--dim); margin-bottom: 16px; }
.emote { width: 56px; height: 56px; object-fit: contain; float: right; margin: -6px 0 0 10px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); }

/* ── offer cards ── */
.offers { display: grid; gap: 14px; }
@media (min-width: 720px) { .offers { grid-template-columns: repeat(2, 1fr); } }
.offer { position: relative; border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: border-color .2s; }
.offer:hover { border-color: var(--hot-line); }
.offer .head { display: flex; gap: 12px; align-items: flex-start; }
.offer .head .t { flex: 1; min-width: 0; }
.offer .name { font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--ink); text-transform: none; letter-spacing: .01em; margin: 0; line-height: 1.05; overflow-wrap: anywhere; }
.offer .kind { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.offer .art { width: 76px; height: 76px; object-fit: contain; flex: none; margin: -6px -4px 0 0; filter: drop-shadow(0 8px 16px rgba(0,0,0,.55)); }
.offer .how { margin: 0; color: #d8d3cc; }
.offer .quote { margin: 0; padding: 10px 12px; border-left: 3px solid var(--hot); background: rgba(255, 255, 255, .05); border-radius: 0 10px 10px 0; font-style: italic; color: #e9e3db; }
.offer .terms { margin: 0; font-size: 13px; color: var(--dim); }
.offer .go { width: 100%; }
.offer .host { font-size: 12px; color: var(--dim); text-align: center; margin-top: -4px; overflow-wrap: anywhere; }
.offer .chat { font-size: 13px; color: var(--dim); }

.codebox { display: flex; align-items: stretch; gap: 8px; }
.codebox .code { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 6px 14px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px dashed var(--hot-line); }
.codebox .code small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.codebox .code span { font: 700 21px/1.2 Consolas, ui-monospace, monospace; letter-spacing: .06em; color: var(--ink); overflow-wrap: anywhere; }
.codebox button { flex: none; min-width: 92px; }
.codebox button.done { background: rgba(93, 227, 138, .15); border-color: var(--ok); color: var(--ok); }
.nocode { padding: 10px 14px; border-radius: 12px; background: rgba(0, 0, 0, .30); border: 1px dashed var(--hairline); color: var(--dim); font-size: 14px; }

/* ── info cards ── */
.grid { display: grid; gap: 14px; }
@media (min-width: 820px) { .grid.two { grid-template-columns: 1fr 1fr; } }
.card { border-radius: 18px; padding: 16px; min-width: 0; }
.card ul { margin: 0; padding-left: 20px; }
.card li { margin-bottom: 6px; }
.card.rg { border-color: var(--hot-line); background-color: rgba(255, 122, 26, .09); }
.helpline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ── footer ── */
footer { border-top: 1px solid var(--hairline); padding: 26px 16px 44px; color: var(--dim); font-size: 14px; }
footer .wrap { border-radius: 20px; padding-top: 18px; padding-bottom: 14px; }
footer .fbrand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-weight: 800; letter-spacing: .06em; text-decoration: none; font-size: 18px; }
footer .fbrand img { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 2px var(--hot); }
footer .fbrand b { color: var(--hot); }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0; }
footer nav a { color: var(--ink); text-decoration: none; }
footer nav a:hover { color: var(--hot); }
footer .socials a { color: var(--dim); }
footer .legal { margin-top: 12px; font-size: 12px; line-height: 1.6; }
footer .legal p { margin: 0 0 6px; }

#toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--glass-thick); -webkit-backdrop-filter: var(--blur-thick); backdrop-filter: var(--blur-thick); box-shadow: var(--highlight), var(--lift); border: 1px solid var(--hot-line); padding: 10px 16px; border-radius: 12px; opacity: 0; transition: opacity .2s; pointer-events: none; max-width: calc(100vw - 32px); z-index: 30; }
#toast.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ── Outside the US: visibly its own zone, never mixed into the US list ── */
section.intl { background: linear-gradient(180deg, rgba(255, 194, 61, .05), transparent 60%); }
section.intl .offer { border-color: rgba(255, 194, 61, .35); }
.notice-hard { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--warn); background: rgba(255, 194, 61, .10); color: #fbf1dc; }
.notice-hard p { margin: 0; }
.notice-hard p + p { margin-top: 6px; }

/* ── discounts: finder (search + category chips), perk quote, category groups ── */
.finder { position: sticky; top: 104px; z-index: 5; border-radius: 18px; padding: 12px; margin: 0 0 18px; display: grid; gap: 10px; }
.finder.finder { background-color: var(--glass-thick); -webkit-backdrop-filter: var(--blur-thick); backdrop-filter: var(--blur-thick); }
@media (min-width: 720px) { .finder { top: 76px; } }
.search input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: rgba(0, 0, 0, .35); border: 1px solid var(--hairline); border-radius: 12px; padding: 11px 14px; min-height: 46px; }
.search input::placeholder { color: var(--dim); }
.search input:focus { outline: 2px solid var(--hot); outline-offset: 1px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 38px; padding: 6px 12px; border-radius: 999px; font-size: 14px; white-space: nowrap; }
.chip span { font-size: 12px; color: var(--dim); font-weight: 700; }
.chip[aria-pressed="true"] { background: var(--hot); border-color: var(--hot); color: #0A0B0D; }
.chip[aria-pressed="true"] span { color: rgba(10, 11, 13, .7); }
.count { margin: 0; font-size: 13px; color: var(--dim); }
.empty { color: var(--dim); text-align: center; padding: 20px 0; }
.cat-group + .cat-group { margin-top: 26px; }
.cat-group > h2 { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.cat-group > h2 .n { font: 700 13px "Segoe UI", system-ui, sans-serif; color: var(--dim); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--hairline); }
.perk { padding: 10px 12px; border-left: 3px solid var(--hot); border-radius: 0 12px 12px 0; background: rgba(255, 122, 26, .08); }
.perk small { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }
.perk p { margin: 0; color: var(--ink); font-weight: 600; }

/* ── solid fallbacks ── */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .offer, .card, .strip, .finder, .finder.finder, footer .wrap, #toast { background-color: var(--card); background-image: none; }
  .top { background: rgba(10, 11, 13, .97); }
  .strip.strip { background-color: #24170d; }
  .card.rg { background-color: #1d1511; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .offer, .card, .strip, .finder, .finder.finder, footer .wrap, #toast, .top {
    -webkit-backdrop-filter: none; backdrop-filter: none; background-color: var(--card); background-image: none;
  }
  .top { background: var(--bg); }
  .strip.strip { background-color: #24170d; }
  .card.rg { background-color: #1d1511; }
  body::before { background: var(--bg); }
}
