/* =====================================================================
   Fırsat sitesi — public stylesheet
   Concept: "raf etiketi × canlı akış" — supermarket shelf tags meet a live feed.
   Mobile-first. Tokens below; dark theme via prefers-color-scheme + [data-theme].
   ===================================================================== */

/* ---------- Fonts (self-hosted Inter subsets: Latin + Latin Ext-A + ₺) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Inter-Regular.woff") format("woff"); unicode-range: U+0020-007E, U+00A0-017F, U+20BA, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2713, U+2212, U+2009, U+202F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/Inter-Medium.woff") format("woff"); unicode-range: U+0020-007E, U+00A0-017F, U+20BA, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2713, U+2212, U+2009, U+202F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/Inter-SemiBold.woff") format("woff"); unicode-range: U+0020-007E, U+00A0-017F, U+20BA, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2713, U+2212, U+2009, U+202F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/Inter-Bold.woff") format("woff"); unicode-range: U+0020-007E, U+00A0-017F, U+20BA, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2713, U+2212, U+2009, U+202F; }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/InterDisplay-ExtraBold.woff") format("woff"); unicode-range: U+0020-007E, U+00A0-017F, U+20BA, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2713, U+2212, U+2009, U+202F; }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/InterDisplay-Black.woff") format("woff"); unicode-range: U+0020-007E, U+00A0-017F, U+20BA, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2713, U+2212, U+2009, U+202F; }
/* Metric-matched fallback keeps layout steady while the web fonts load. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 107%; ascent-override: 90%; descent-override: 22.4%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #FAF7F2;          /* paper */
  --surface: #FFFFFF;
  --surface-2: #F2EDE4;
  --ink: #16130F;
  --ink-2: #3D3731;
  --muted: #6B645C;
  --line: #E8E1D6;
  --line-2: #D8CFC1;
  --hot: #FF3B1F;          /* brand / accents */
  --hot-strong: #DA2C0E;   /* text-bearing red surfaces (white text 4.8:1) */
  --hot-press: #BF250A;
  --hot-text: #C9270B;     /* red text on paper */
  --hot-soft: #FFEAE4;
  --tag: #FFD60A;          /* shelf-tag yellow */
  --tag-ink: #16130F;
  --tag-muted: #5C4E12;
  --tag-soft: #FFF5C7;
  --dip: #0F9D58;          /* lowest-price green */
  --dip-text: #0A7A43;
  --dip-soft: #E2F4E9;
  --bar-bg: #16130F;
  --bar-ink: #F5F1EA;
  --bar-muted: #C9C1B5;
  --perf: rgb(22 19 15 / .28);
  --focus: #16130F;
  --shadow: 0 12px 32px -12px rgb(22 19 15 / .28);
  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Inter Display", "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --gutter: 16px;
  --tabbar: 62px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #121110; --surface: #1C1A18; --surface-2: #26231F; --ink: #F5F1EA; --ink-2: #D9D2C7; --muted: #A59D92;
    --line: #302C27; --line-2: #3F3A33; --hot: #FF5A3C; --hot-text: #FF8466; --hot-soft: #3A1B13;
    --tag-soft: #3A3214; --dip: #2BB673; --dip-text: #4CD38F; --dip-soft: #132A1E;
    --bar-bg: #26231F; --bar-ink: #F5F1EA; --bar-muted: #BDB5A9; --perf: rgb(245 241 234 / .25); --focus: #FFD60A;
    --shadow: 0 12px 32px -12px rgb(0 0 0 / .7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121110; --surface: #1C1A18; --surface-2: #26231F; --ink: #F5F1EA; --ink-2: #D9D2C7; --muted: #A59D92;
  --line: #302C27; --line-2: #3F3A33; --hot: #FF5A3C; --hot-text: #FF8466; --hot-soft: #3A1B13;
  --tag-soft: #3A3214; --dip: #2BB673; --dip-text: #4CD38F; --dip-soft: #132A1E;
  --bar-bg: #26231F; --bar-ink: #F5F1EA; --bar-muted: #BDB5A9; --perf: rgb(245 241 234 / .25); --focus: #FFD60A;
  --shadow: 0 12px 32px -12px rgb(0 0 0 / .7);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { line-height: 1.2; }
::selection { background: var(--tag); color: #16130F; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
main:focus { outline: none; }
html:has(dialog[open]) { overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html:not(.js) .js-only, html:not(.js) .fav { display: none !important; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 8px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--muted)); flex: none; }
.n { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--bar-bg); color: var(--bar-ink); font-size: .8125rem; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding-block: 7px; }
.announce .icon { color: var(--tag); width: 1.1em; height: 1.1em; }
.announce p { margin: 0; text-align: center; line-height: 1.35; text-wrap: balance; }
.announce strong { color: var(--tag); }
.announce a { color: var(--tag); font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.head { background: var(--bg); border-bottom: 1px solid var(--line); }
.head-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding-block: 10px; }
.logo { display: inline-flex; flex: 1 1 0; align-items: center; gap: 9px; min-width: 0; color: var(--ink); text-decoration: none; }
.logo-mark { width: 32px; height: 32px; flex: none; color: var(--hot); }
.logo-name { font: 900 1.25rem/1 var(--display); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.head-actions { display: flex; align-items: center; gap: 2px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--r); background: transparent; color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: var(--surface-2); }
.count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--hot-strong); color: #fff; font: 700 .6875rem/18px var(--font); font-style: normal; text-align: center; font-variant-numeric: tabular-nums; }
.count[hidden] { display: none; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: block; }
  :root:not([data-theme="light"]) .i-moon { display: none; }
}
.join { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 40px; height: 40px; margin-left: 4px; border-radius: var(--r); background: var(--ink); color: var(--bg); font-weight: 700; font-size: .875rem; text-decoration: none; white-space: nowrap; }
.join span { display: none; }
.join:hover { background: var(--ink-2); }
.search { display: none; flex: 1 1 100%; order: 3; min-width: 0; align-items: center; height: 50px; padding-left: 14px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--surface); }
.search > .icon { color: var(--muted); }
.search input { flex: 1 1 auto; width: 0; min-width: 0; height: 100%; padding: 0 10px; border: 0; background: transparent; outline: none; font-size: 1rem; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--tag-soft); }
.search-go { flex: none; height: 38px; margin-right: 6px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: .875rem; }
.pg-home .head .search, .pg-search .head .search { display: flex; }
.pg-home .search-btn, .pg-search .search-btn { display: none; }

/* ---------- Buttons, chips, pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--surface); color: var(--ink); font: 700 .9375rem/1.1 var(--font); text-decoration: none; text-align: center; }
.btn:hover { border-color: var(--ink); }
.btn--primary { border-color: var(--hot-strong); background: var(--hot-strong); color: #fff; }
.btn--primary:hover { border-color: var(--hot-press); background: var(--hot-press); }
.chips { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips--wrap { flex-wrap: wrap; overflow: visible; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .8125rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
.chip .icon { width: 1.05rem; height: 1.05rem; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.chip.is-on .n { color: inherit; opacity: .75; }
.chip--sm { height: 30px; padding: 0 10px; font-size: .75rem; gap: 5px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: .6875rem; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.pill .icon { width: 1.1em; height: 1.1em; stroke-width: 2.4; }
.pill--dip { background: var(--dip-soft); color: var(--dip-text); }
.pill--hot { background: var(--hot-soft); color: var(--hot-text); }

/* ---------- Live indicator + ticker ---------- */
.live { display: inline-flex; align-items: center; gap: 6px; flex: none; color: var(--hot-text); font: 800 .6875rem/1 var(--font); letter-spacing: .08em; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(255 59 31 / .55); } 70%, 100% { box-shadow: 0 0 0 8px rgb(255 59 31 / 0); } }
.ticker { border-bottom: 1px solid var(--line); background: var(--surface); font-size: .8125rem; }
.ticker-in { display: flex; align-items: center; gap: 10px; height: 40px; }
.ticker-view { display: flex; flex: 1; min-width: 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); mask: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
.ticker-track { display: flex; flex: none; gap: 28px; margin: 0; padding: 0 28px 0 0; list-style: none; animation: tick var(--dur, 70s) linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-100%); } }
.ticker-track a { display: inline-flex; align-items: baseline; gap: 7px; color: var(--ink-2); white-space: nowrap; text-decoration: none; }
.ticker-track a:hover span { text-decoration: underline; }
.ticker-track b { color: var(--ink); font: 800 .875rem/1 var(--display); font-variant-numeric: tabular-nums; }
.ticker-btn { width: 32px; height: 32px; }
.ticker-btn .icon { width: 1rem; height: 1rem; }
.i-play, .is-paused .i-pause { display: none; }
.is-paused .i-play { display: block; }

/* ---------- Category rail ---------- */
.cats { border-bottom: 1px solid var(--line); }
.cats-track { display: flex; gap: 8px; margin: 0 auto; padding-block: 12px; list-style: none; overflow-x: auto; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.cats-track::after { content: ""; flex: none; width: 24px; }
.cats-track::-webkit-scrollbar { display: none; }
.cat { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .8125rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
.cat:hover { border-color: var(--ink); }
.cat-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tag-soft); }
.cat-ico .icon { width: 1.1rem; height: 1.1rem; }
.cat-n { color: var(--muted); font-weight: 500; font-size: .75rem; font-variant-numeric: tabular-nums; }

/* ---------- Section heads ---------- */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin: 0 0 14px; }
.sec-head h1, .sec-head h2, .rail h2, .codes h2 { margin: 0; font: 800 1.3125rem/1.15 var(--display); letter-spacing: -.02em; }
.sec-link { display: inline-flex; align-items: center; gap: 2px; flex: none; color: var(--ink-2); font-size: .875rem; font-weight: 600; text-decoration: none; }
.sec-link .icon { width: 1rem; height: 1rem; }
.sec-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.feed-meta { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: .8125rem; white-space: nowrap; }
.feed-meta .live { align-self: center; }
.feed-meta b { color: var(--ink); font-variant-numeric: tabular-nums; }
.live--dot i { width: 7px; height: 7px; animation: none; }
.feed-title { margin: 28px 0 12px; font: 800 1.3125rem/1.15 var(--display); letter-spacing: -.02em; }

/* ---------- Price tag (the signature element) ---------- */
.ptag { --tip: 10px; --hx: 11px; --hr: 3.5px; position: relative; isolation: isolate; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; margin: 0; padding: 5px 10px 5px calc(var(--hx) + var(--hr) + 7px); color: var(--tag-ink); line-height: 1; filter: drop-shadow(0 1px 1px rgb(22 19 15 / .25)) drop-shadow(0 4px 10px rgb(22 19 15 / .14)); }
.ptag::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 6px; background: var(--tag); clip-path: polygon(var(--tip) 0, 100% 0, 100% 100%, var(--tip) 100%, 0 50%); -webkit-mask: radial-gradient(circle at var(--hx) 50%, #0000 var(--hr), #000 calc(var(--hr) + .6px)); mask: radial-gradient(circle at var(--hx) 50%, #0000 var(--hr), #000 calc(var(--hr) + .6px)); }
.ptag-now { display: inline-flex; align-items: baseline; font: 900 1.375rem/1 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptag-now sup { align-self: flex-start; margin: .1em 0 0 .02em; font-size: .5em; line-height: 1; letter-spacing: -.01em; }
.ptag-cur { margin-left: .06em; font-size: .64em; font-weight: 800; letter-spacing: 0; }
.ptag-unit { margin-left: .25em; font: 700 .5em/1 var(--font); letter-spacing: 0; }
.ptag-old { color: var(--tag-muted); font: 600 .6875rem/1.15 var(--font); text-decoration-thickness: 1.5px; font-variant-numeric: tabular-nums; }
.ptag-note { margin-top: 3px; color: var(--tag-muted); font: 700 .75rem/1.25 var(--font); }
.ptag--md { --tip: 13px; --hx: 14px; --hr: 4.5px; padding: 7px 14px 7px 30px; }
.ptag--md .ptag-now { font-size: 1.875rem; }
.ptag--md .ptag-old { font-size: .75rem; }
.ptag--lg { --tip: 20px; --hx: 21px; --hr: 6.5px; padding: 14px 22px 14px 44px; }
.ptag--lg::before { border-radius: 10px; }
.ptag--lg .ptag-now { font-size: 3.25rem; letter-spacing: -.045em; }
.ptag--lg .ptag-old { font-size: .875rem; }
.ptag--lg .ptag-old span { text-decoration: none; display: inline-block; margin-right: .2em; }
.ptag--lg .ptag-now--text { font-size: 1.75rem; letter-spacing: -.02em; }
.ptag--lg .ptag-unit { font-size: .38em; }
.ribbon { position: absolute; top: 0; left: 10px; z-index: 2; padding: 7px 6px 11px; background: var(--hot-strong); color: #fff; font: 800 .8125rem/1 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 5px), 0 100%); }
.ptag--lg .ribbon { left: auto; right: 16px; padding: 9px 8px 14px; font-size: 1rem; }
.ptag--ribbon { padding-right: 80px; }

/* ---------- Dip stamp ---------- */
.stamp { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 2px solid var(--dip); border-radius: 10px; color: var(--dip-text); box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 3px var(--dip); font: 800 .6875rem/1.2 var(--font); letter-spacing: .07em; text-transform: uppercase; transform: rotate(-3deg); }
.stamp .icon { width: 1.5rem; height: 1.5rem; stroke-width: 2.4; }
.stamp--hot { border-color: var(--hot); color: var(--hot-text); box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 3px var(--hot); }

/* ---------- Coupon ticket ---------- */
.ticket { --cut: 96px; position: relative; display: flex; min-height: 78px; border-radius: 12px; background: var(--tag-soft); color: var(--ink); -webkit-mask: radial-gradient(circle 7px at var(--cut) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 7px at var(--cut) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; mask: radial-gradient(circle 7px at var(--cut) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 7px at var(--cut) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
.ticket-stub { display: flex; flex: none; flex-direction: column; justify-content: center; gap: 3px; width: var(--cut); padding: 12px 10px 12px 13px; border-right: 2px dashed var(--perf); font-size: .75rem; line-height: 1.25; }
.ticket-stub .icon { width: 1.25rem; height: 1.25rem; margin-bottom: 3px; }
.ticket-label { font-weight: 700; }
.ticket-sub { color: var(--muted); font-size: .6875rem; }
.ticket-main { display: flex; flex: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 9px; min-width: 0; margin: 0; padding: 12px 12px 12px 14px; }
.ticket-code { max-width: 100%; color: var(--ink); font: 800 1.25rem/1.15 var(--display); letter-spacing: .1em; text-decoration: none; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
a.ticket-code:hover { text-decoration: underline; text-underline-offset: 3px; }
.ticket-copy { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: .8125rem; font-weight: 700; }
.ticket-copy .icon { width: 1rem; height: 1rem; }
.ticket-copy.is-done { background: var(--dip-text); color: #fff; }
.ticket--sm { --cut: 46px; min-height: 76px; }
.ticket--sm .ticket-stub { align-items: center; padding: 0; }
.ticket--sm .ticket-stub .icon { margin: 0; color: var(--muted); }
.ticket--sm .ticket-main { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 14px; }
.ticket-info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ticket--sm .ticket-code { font-size: 1rem; letter-spacing: .08em; }
.ticket-meta { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--ink-2); font-size: .75rem; font-weight: 600; white-space: nowrap; }
.ticket-meta > span:first-of-type { overflow: hidden; text-overflow: ellipsis; }
.ticket-meta .ticket-sub { font-weight: 500; }
.ticket-copy--icon { width: 40px; height: 40px; padding: 0; }
.ticket-copy--icon .icon { width: 1.1rem; height: 1.1rem; }
.ticket--info .ticket-main, .ticket--lg.ticket--info .ticket-main { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; color: var(--ink-2); font-size: .8125rem; }
.ticket--info .ticket-main b { color: var(--ink); font: 800 1.0625rem/1.2 var(--display); }
.tickets { display: grid; grid-auto-columns: minmax(272px, 82%); grid-auto-flow: column; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.tickets::-webkit-scrollbar { display: none; }
.tickets > li { scroll-snap-align: start; }
.tickets--grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); margin: 0; padding: 0; overflow: visible; }
@media (min-width: 520px) {
  .ticket--lg { --cut: 112px; }
  .ticket--lg .ticket-main { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding-left: 18px; }
  .ticket--lg .ticket-code { font-size: 1.375rem; }
}

/* ---------- Media box (screenshot over its own blur) ---------- */
.media { position: absolute; inset: 0; overflow: hidden; background: var(--surface-2); }
.media-bg { position: absolute; inset: -14%; width: 128%; max-width: none; height: 128%; object-fit: cover; filter: blur(16px) saturate(1.35); opacity: .62; }
.media-img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.media-fb { display: none; }
.media.no-img img { display: none; }
.media.no-img .media-fb { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); background: radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0 / 14px 14px, var(--surface-2); }
.media-fb .icon { width: 30%; height: auto; aspect-ratio: 1; max-width: 72px; stroke-width: 1.4; padding: 12px; border-radius: 28%; background: var(--surface); box-sizing: content-box; }
:root[data-theme="dark"] .media-img { filter: brightness(.9); }
:root[data-theme="dark"] .media-bg { opacity: .4; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .media-img { filter: brightness(.9); }
  :root:not([data-theme="light"]) .media-bg { opacity: .4; }
}

/* ---------- Deal card ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.card:hover { border-color: var(--line-2); }
.card:hover .card-title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.card-media { position: relative; aspect-ratio: 4 / 5; }
.card .ptag { position: absolute; left: 8px; bottom: 8px; z-index: 1; }
.card-body { display: flex; flex: 1; flex-direction: column; gap: 5px; padding: 9px 11px 11px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; color: var(--muted); font-size: .6875rem; line-height: 1.3; }
.card-meta time { flex: none; white-space: nowrap; }
.store { display: inline-flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; color: var(--ink-2); font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.card-title { display: -webkit-box; margin: 0; overflow: hidden; font: 600 .8125rem/1.36 var(--font); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-title a:focus-visible { outline: none; }
.card-title a:focus-visible::after { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: var(--r-lg); }
.card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: auto 0 0; padding-top: 2px; }
.card-tags:empty { display: none; }
.code { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 2px 7px; border: 1.5px dashed var(--perf); border-radius: 6px; background: var(--tag-soft); color: var(--ink); font: 800 .6875rem/1.35 var(--font); letter-spacing: .06em; cursor: copy; }
.code span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code .icon { width: 1.05em; height: 1.05em; }
.code:hover { border-color: var(--ink); }
.fav { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); color: #16130F; box-shadow: 0 1px 4px rgb(22 19 15 / .2); }
.fav .icon { width: 1.15rem; height: 1.15rem; }
.i-on { display: none; }
[aria-pressed="true"] > .i-on { display: block; color: var(--hot); }
[aria-pressed="true"] > .i-off { display: none; }
.fav[aria-pressed="true"] { animation: pop .3s ease-out; }
@keyframes pop { 50% { transform: scale(1.18); } }
.is-ended .media .media-img { filter: grayscale(1); opacity: .6; }
.is-ended .media .media-bg { filter: blur(16px) grayscale(1); opacity: .35; }
.card.is-ended .ptag::before { background: #D9D4CC; }
.ended { position: absolute; top: 42%; left: 50%; z-index: 1; padding: 5px 10px; border: 2px solid #16130F; border-radius: 6px; background: #FAF7F2; color: #16130F; font: 800 .75rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; transform: translate(-50%, -50%) rotate(-8deg); }
.card.is-new { animation: flash 1.6s ease-out; }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 3px var(--tag); } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- Home: hero ---------- */
.hero { padding-block: 22px 10px; }
.hero-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.hero-head h1 { margin: 0; font: 900 1.75rem/1.05 var(--display); letter-spacing: -.022em; text-wrap: balance; }
.status { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: .8125rem; }
.status .icon { width: 1rem; height: 1rem; }
.hero-grid { display: grid; grid-auto-columns: 88%; grid-auto-flow: column; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.hero-grid::-webkit-scrollbar { display: none; }
.hcard { position: relative; display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); scroll-snap-align: start; }
.hcard:hover { border-color: var(--line-2); }
.hcard-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; }
.hcard-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; padding: 2px 2px 2px 0; }
.hcard-title { display: -webkit-box; margin: 0; overflow: hidden; font: 800 .9375rem/1.25 var(--display); letter-spacing: -.01em; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.hcard-title a { color: inherit; text-decoration: none; }
.hcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hcard:hover .hcard-title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.hcard .card-meta { width: 100%; }
.hcard .card-tags { margin-top: auto; }
.hcard .ptag { margin-top: 2px; }
.hcard .fav { top: 16px; right: auto; left: calc(42% - 30px); width: 32px; height: 32px; }
.hcard--big .hcard-title { font-size: 1.0625rem; }
.hcard-cta { display: none; }
.stamp--sm { padding: 6px 10px; font-size: .625rem; gap: 6px; }
.stamp--sm .icon { width: 1.15rem; height: 1.15rem; }
.hcard .stamp { display: none; }
.hcard--big .stamp { display: inline-flex; margin: 2px 0 0 4px; }

/* ---------- Home: coupons strip, stats ---------- */
.coupons { margin-top: 26px; }
.stats { margin: 30px 0 34px; background: var(--bar-bg); color: var(--bar-ink); }
.stats-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 auto; padding-block: 4px; list-style: none; }
.stats-in li + li { border-left: 1px solid rgb(245 241 234 / .14); }
.stats-in li:nth-child(3) { border-left: 0; }
.stats-in li:nth-child(n + 3) { border-top: 1px solid rgb(245 241 234 / .14); }
.stats-in a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 12px; color: inherit; text-decoration: none; }
.stats-in a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.stats-in b { color: var(--tag); font: 900 1.75rem/1 var(--display); letter-spacing: -.03em; }
.stats-in span { color: var(--bar-muted); font-size: .8125rem; line-height: 1.3; }

/* ---------- Filters ---------- */
.feed { padding-top: 6px; }
.sec-head--feed { margin-top: 6px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.f-types { flex: 1 1 0; min-width: 0; -webkit-mask: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 28px), transparent); padding-right: 24px; }
.f-stores { flex: 1 1 100%; }
.f-sort { margin-left: auto; }
.js .f-stores, .js .f-sort { display: none; }
.f-open { flex: none; border-style: solid; }
.f-open .n--on { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--hot-strong); color: #fff; font-size: .6875rem; font-weight: 700; }
.sort { position: relative; }
.sort summary { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: .8125rem; font-weight: 600; white-space: nowrap; list-style: none; cursor: pointer; }
.sort summary::-webkit-details-marker { display: none; }
.sort summary .icon { width: 1rem; height: 1rem; }
.sort ul { position: absolute; top: calc(100% + 6px); right: 0; z-index: 30; min-width: 240px; margin: 0; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); list-style: none; }
.sort a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: .875rem; text-decoration: none; }
.sort a:hover { background: var(--surface-2); }
.sort a[aria-current] { font-weight: 700; }
.sort a .icon { width: 1rem; height: 1rem; }

/* ---------- Load more, pager ---------- */
.more-wrap { display: flex; justify-content: center; margin-top: 26px; }
.btn--more { min-width: 240px; }
.btn--more .icon { width: 1.1rem; height: 1.1rem; }
.btn--more[aria-busy="true"] { opacity: .65; pointer-events: none; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: .875rem; }
.pager a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 600; text-decoration: none; }
.pager a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Breadcrumbs, notices, empty states ---------- */
.crumbs ol { display: flex; gap: 2px; margin: 0; padding: 12px 0; overflow: hidden; color: var(--muted); font-size: .8125rem; white-space: nowrap; list-style: none; }
.crumbs li { display: inline-flex; flex: none; align-items: center; gap: 2px; max-width: 46%; }
.crumbs li > a { overflow: hidden; text-overflow: ellipsis; }
.crumbs li:last-child { flex: 1 1 auto; min-width: 0; max-width: none; }
.crumbs li .icon { width: .95rem; height: .95rem; opacity: .7; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.notice { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border-radius: var(--r); font-size: .875rem; line-height: 1.45; }
.notice .icon { margin-top: 1px; }
.notice--ended { border: 1px solid var(--line-2); background: var(--surface-2); }
.notice--old { background: var(--tag-soft); }
.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 44px 18px; border: 1.5px dashed var(--line-2); border-radius: var(--r-xl); text-align: center; }
.empty[hidden] { display: none; }
.empty-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--tag-soft); }
.empty-ico .icon { width: 28px; height: 28px; }
.empty-ico--hot { background: var(--hot-soft); color: var(--hot-text); }
.empty h2 { margin: 4px 0 0; font: 800 1.25rem/1.25 var(--display); letter-spacing: -.01em; }
.empty p { max-width: 46ch; margin: 0 0 6px; color: var(--muted); }
.empty .search { width: 100%; max-width: 460px; }

/* ---------- Deal page ---------- */
.dp { padding-bottom: 8px; }
.dp-top { display: grid; gap: 18px; }
.dp-gallery { min-width: 0; }
.dp-shot { position: relative; display: block; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; max-height: 46vh; margin-inline: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-2); color: var(--ink); }
.zoom-hint { position: absolute; right: 10px; bottom: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: rgb(22 19 15 / .75); color: #fff; font-size: .75rem; font-weight: 600; }
.zoom-hint .icon { width: 1rem; height: 1rem; }
.dp-shot--empty { aspect-ratio: 16 / 10; }
.noimg-note { position: absolute; bottom: 14px; left: 50%; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .75rem; white-space: nowrap; transform: translateX(-50%); }
.noimg-note .icon { width: 1rem; height: 1rem; }
.thumbs { display: flex; justify-content: center; gap: 8px; margin: 10px 0 0; padding: 0; overflow-x: auto; list-style: none; }
.thumbs a { display: block; width: 52px; height: 92px; overflow: hidden; border: 2px solid var(--line); border-radius: 9px; }
.thumbs a[aria-current] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dp-buy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.dp-title { margin: 0; font: 800 1.5rem/1.2 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; text-wrap: pretty; }
.dp-sub { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: -4px 0 0; color: var(--muted); font-size: .8125rem; }
.dp-sub span { display: inline-flex; align-items: center; gap: 5px; }
.dp-sub .icon { width: 1rem; height: 1rem; }
.dp-price { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 4px 0 2px; }
.is-ended .dp-price .ptag::before { background: #D9D4CC; }
.btn--cta { width: 100%; min-height: 58px; gap: 8px; border-radius: 16px; font-size: 1.0625rem; box-shadow: 0 10px 22px -12px rgb(218 44 14 / .9); }
.btn--cta .icon { width: 1.1rem; height: 1.1rem; }
.cta-store { font-weight: 600; }
.dp-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.act { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none; }
.act:hover { border-color: var(--ink); }
.act[aria-pressed="true"] { border-color: var(--hot-text); color: var(--hot-text); }
.act .icon { width: 1.1rem; height: 1.1rem; }
.share { display: flex; flex-wrap: wrap; gap: 6px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: .8125rem; font-weight: 600; text-decoration: none; }
.share a:hover, .share button:hover { background: var(--line); }
.share .icon { width: 1rem; height: 1rem; }
.share [hidden] { display: none; }
.dp-disclosure { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.adlabel { display: inline-block; margin: 0 6px 4px 0; padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--ink-2); font-size: .6875rem; font-weight: 700; }
.edit-link { display: inline-flex; align-items: center; gap: 6px; color: var(--hot-text); font-weight: 700; font-size: .875rem; }

.dp-info { display: grid; gap: 30px; margin-top: 34px; }
.dp-info h2 { margin: 0 0 12px; font: 800 1.25rem/1.2 var(--display); letter-spacing: -.015em; }
.dp-sec { min-width: 0; }
.dp-sec > p { max-width: 70ch; margin: 0 0 12px; color: var(--ink-2); line-height: 1.68; }
.dp-facts table, .hist-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.dp-facts table { overflow: hidden; border-radius: var(--r-lg); outline: 1px solid var(--line); outline-offset: -1px; background: var(--surface); }
.dp-facts th { width: 40%; padding: 10px 14px; color: var(--muted); font-weight: 500; text-align: left; vertical-align: top; }
.dp-facts td { padding: 10px 14px; font-weight: 600; overflow-wrap: anywhere; }
.dp-facts tr + tr > * { border-top: 1px solid var(--line); }
.checks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 10px; color: var(--ink-2); }
.checks .icon { margin-top: 2px; color: var(--dip-text); stroke-width: 2.6; }
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; min-height: 30px; padding-left: 44px; color: var(--ink-2); line-height: 1.55; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: -2px; left: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 800 .875rem/1 var(--display); }

/* Price history chart: HTML points over a stretched SVG step line; the table below is its accessible twin. */
.chart { margin: 6px 0 18px; padding: 18px 16px 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.chart-plot { position: relative; height: 190px; margin: 12px 8px 0 54px; }
.tick { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--line); }
.tick span { position: absolute; top: 0; right: calc(100% + 8px); color: var(--muted); font-size: .6875rem; font-variant-numeric: tabular-nums; white-space: nowrap; transform: translateY(-50%); }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.c-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-area { fill: var(--ink); opacity: .06; }
.pt { position: absolute; z-index: 1; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--surface); }
.pt::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; }
.pt--min { background: var(--dip); }
.pt--max { background: var(--surface); box-shadow: 0 0 0 2px var(--surface), inset 0 0 0 2.5px var(--ink); }
.pt--cur { z-index: 2; width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--hot); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--hot); }
.pt--cur.pt--min { background: var(--dip); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--hot); }
.pt-label { position: absolute; bottom: calc(100% + 7px); left: 50%; padding: 1px 4px; border-radius: 4px; background: var(--surface); color: var(--ink); font: 800 .75rem/1.2 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; transform: translateX(-50%); }
.pt--below .pt-label { top: calc(100% + 7px); bottom: auto; }
.pt--end .pt-label, .pt--end .pt-tip { left: auto; right: -6px; transform: none; }
.pt--start .pt-label, .pt--start .pt-tip { left: -6px; transform: none; }
.pt-tip { position: absolute; bottom: calc(100% + 30px); left: 50%; z-index: 3; display: none; flex-direction: column; gap: 2px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); color: var(--muted); font-size: .75rem; white-space: nowrap; transform: translateX(-50%); }
.pt--below .pt-tip { top: calc(100% + 30px); bottom: auto; }
.pt-tip b { color: var(--ink); font: 800 .9375rem/1.2 var(--display); }
.pt:hover .pt-tip { display: flex; }
.chart-x { position: relative; height: 18px; margin: 8px 8px 0 54px; color: var(--muted); font-size: .6875rem; }
.chart-x span { position: absolute; top: 0; white-space: nowrap; transform: translateX(-50%); }
.chart-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; color: var(--muted); font-size: .75rem; }
.key::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; vertical-align: -1px; }
.key--cur::before { background: var(--hot); }
.key--min::before { background: var(--dip); }
.key--max::before { box-shadow: inset 0 0 0 2px var(--ink); }
.key--line::before { width: 14px; height: 2px; border-radius: 1px; background: var(--ink); vertical-align: 3px; }
.hist-table th { padding: 8px 10px; border-bottom: 1px solid var(--line-2); color: var(--muted); font-size: .75rem; font-weight: 600; text-align: left; }
.hist-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.hist-table small { display: block; color: var(--muted); font-size: .75rem; }
.hist-table .num { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hist-table tr.is-cur td { background: var(--tag-soft); }
.hist-note { text-align: right; }
.hist-note .pill { margin: 2px 0 2px 4px; }
.hist-note a { color: var(--ink-2); font-size: .8125rem; font-weight: 600; }
.dp-faq details { border-bottom: 1px solid var(--line); }
.dp-faq details:first-of-type { border-top: 1px solid var(--line); }
.dp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; font-weight: 700; line-height: 1.4; list-style: none; cursor: pointer; }
.dp-faq summary::-webkit-details-marker { display: none; }
.dp-faq summary .icon { flex: none; transition: transform .2s; }
.dp-faq details[open] summary .icon { transform: rotate(180deg); }
.dp-faq details p { max-width: 70ch; margin: 0 0 16px; color: var(--ink-2); line-height: 1.65; }

/* Rails */
.rail { margin-top: 40px; }
.rail-track { display: grid; grid-auto-columns: 46%; grid-auto-flow: column; gap: 10px; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > .card { scroll-snap-align: start; }

/* Sticky CTA (phones) */
.sticky-cta { position: fixed; right: 0; bottom: 0; left: 0; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); transition: transform .25s ease; }
@supports (backdrop-filter: blur(8px)) { .sticky-cta, .tabbar { background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
.sticky-cta.is-hidden { transform: translateY(110%); }
.sticky-price { flex: none; font: 900 1.375rem/1 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.sticky-price small { margin-left: 2px; color: var(--muted); font: 600 .75rem var(--font); letter-spacing: 0; }
.sticky-cta .btn { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; font-size: .9375rem; white-space: nowrap; }
.sticky-cta .btn span { overflow: hidden; text-overflow: ellipsis; }
.sticky-cta .cta-store { font-weight: 600; }
.sticky-cta .icon-btn { border: 1px solid var(--line-2); }
.pg-deal { --tabbar: 70px; }
.pg-deal .tabbar { display: none; }

/* Zoom dialog */
.zoom { width: 100%; max-width: 560px; max-height: 100%; margin: auto; padding: 0; border: 0; background: transparent; overflow: auto; }
.zoom::backdrop { background: rgb(18 17 16 / .88); }
.zoom img { width: 100%; height: auto; border-radius: 12px; }
.zoom-close { position: sticky; top: 8px; left: 100%; z-index: 2; margin: 8px 8px -48px auto; background: rgb(255 255 255 / .92); color: #16130F; }
.zoom-close:hover { background: #fff; }

/* ---------- Listing pages ---------- */
.lst { padding-bottom: 8px; }
.lhead { display: flex; align-items: flex-start; gap: 14px; margin: 4px 0 22px; }
.lhead-ico { display: grid; flex: none; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--tag); color: var(--tag-ink); }
.lhead-ico .icon { width: 26px; height: 26px; }
.lhead-ico--store { border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: inset 0 -4px 0 var(--c); }
.lhead-ico--letter { font: 900 1.5rem/1 var(--display); }
.lhead-ico--hot { background: var(--hot-soft); color: var(--hot-text); }
.lhead-text { min-width: 0; }
@media (max-width: 639px) {
  .lhead { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 0 12px; }
  .lhead-text { display: contents; }
  .lhead-ico { width: 44px; height: 44px; border-radius: 14px; }
  .lhead-ico .icon { width: 22px; height: 22px; }
  .lhead h1 { margin: 0; }
  .lhead-intro, .lhead-meta { grid-column: 1 / -1; }
  .lhead-intro { margin-top: 12px; }
  .lhead-meta { margin-top: 4px; }
  .lhead-intro + .lhead-meta { margin-top: 0; }
}
.lhead h1 { margin: 2px 0 6px; font: 900 1.75rem/1.08 var(--display); letter-spacing: -.022em; overflow-wrap: anywhere; text-wrap: balance; }
.lhead h1 small { color: var(--muted); font: 600 .9375rem/1 var(--font); letter-spacing: 0; white-space: nowrap; }
.lhead-intro { max-width: 70ch; margin: 0 0 8px; color: var(--ink-2); }
.lhead-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; color: var(--muted); font-size: .8125rem; }
.lhead-meta b { color: var(--ink); font-variant-numeric: tabular-nums; }
.lhead-meta[hidden] { display: none; }
.coupon-hero { display: grid; gap: 18px; margin: -6px 0 30px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); }
.coupon-main { display: grid; gap: 14px; min-width: 0; }
.empty-links { justify-content: center; margin-top: 4px; }
.coupon-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; color: var(--ink-2); font-size: .875rem; list-style: none; }
.coupon-facts li { display: inline-flex; align-items: center; gap: 7px; }
.coupon-facts .icon { width: 1.05rem; height: 1.05rem; color: var(--muted); }
.validity { display: flex; gap: 10px; margin: 0; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.validity .icon { margin-top: 1px; }
.howto-box h2 { margin: 6px 0 14px; font: 800 1.125rem/1.25 var(--display); }
.codes { margin-bottom: 30px; }
.codes h2 { margin-bottom: 14px; }
.suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: -8px 0 20px; color: var(--muted); font-size: .875rem; }
.suggest-block { margin-top: 26px; }
.suggest-block h2 { margin: 0 0 12px; font: 800 1.0625rem/1.2 var(--display); }
.search--page, .search--inline { display: flex; order: 0; max-width: 640px; }
.search--sheet { display: flex; order: 0; }

/* Brands A–Z */
.az { position: sticky; top: 0; z-index: 5; margin: 0 calc(-1 * var(--gutter)) 18px; padding: 8px var(--gutter); border-bottom: 1px solid var(--line); background: var(--bg); }
.az ul { display: flex; gap: 4px; margin: 0; padding: 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
.az a { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: 800 .875rem/1 var(--display); text-decoration: none; }
.az a:hover { border-color: var(--ink); }
.az-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 26px 32px; }
.az-group { scroll-margin-top: 64px; }
.az-group h2 { margin: 0 0 6px; font: 900 2.25rem/1 var(--display); letter-spacing: -.03em; }
.az-group ul { margin: 0; padding: 0; list-style: none; }
.az-group a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.az-group a:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }

/* Static pages */
.prose { max-width: 74ch; padding-bottom: 12px; }
.prose h1 { margin: 6px 0 16px; font: 900 2rem/1.1 var(--display); letter-spacing: -.022em; text-wrap: balance; }
.prose h2 { margin: 32px 0 10px; font: 800 1.25rem/1.25 var(--display); letter-spacing: -.01em; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.72; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose .lead { color: var(--ink); font-size: 1.125rem; line-height: 1.6; }
.prose a { color: var(--hot-text); font-weight: 600; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--muted); font-size: .75rem; font-weight: 600; }
.contact-cards { display: grid; gap: 10px; margin: 22px 0; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; }
.prose .contact-card { color: var(--ink); font-weight: 400; }
.contact-card:hover { border-color: var(--ink); }
.contact-card .icon { width: 28px; height: 28px; padding: 10px; border-radius: 14px; background: var(--tag-soft); box-sizing: content-box; }
.contact-card strong { display: block; }
.contact-card span { color: var(--ink-2); line-height: 1.4; }

/* Error pages */
.err-hero { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 580px; margin: 0 auto; padding: 36px 0 8px; text-align: center; }
.err-hero h1 { margin: 8px 0 0; font: 900 1.875rem/1.1 var(--display); letter-spacing: -.022em; }
.err-hero p:not(.ptag) { margin: 0; color: var(--ink-2); }
.err-hero .search { width: 100%; margin-top: 8px; }
.err-tag { transform: rotate(-4deg); }
.err-tag .ribbon { font-size: .8125rem; }
.err-links { justify-content: center; margin-top: 4px; }

/* ---------- Home SEO text ---------- */
.seo-text { margin-top: 48px; }
.seo-box { padding: 22px 18px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); }
.seo-text h2 { margin: 0 0 10px; font: 800 1.25rem/1.25 var(--display); letter-spacing: -.015em; }
.seo-text h3 { margin: 18px 0 6px; font-size: 1rem; }
.seo-text p { max-width: 78ch; margin: 0 0 10px; color: var(--ink-2); line-height: 1.7; }
.seo-text summary { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; list-style: none; cursor: pointer; }
.seo-text summary::-webkit-details-marker { display: none; }
.seo-text summary .icon { width: 1.1rem; height: 1.1rem; transition: transform .2s; }
.seo-text details[open] summary { display: none; }

/* ---------- Footer ---------- */
.foot { margin-top: 56px; padding: 40px 0 26px; border-top: 1px solid var(--line); background: var(--surface); font-size: .875rem; }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
.foot-about { grid-column: 1 / -1; }
.foot-logo { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 900 1.25rem/1 var(--display); letter-spacing: -.025em; }
.foot-about p { max-width: 54ch; color: var(--ink-2); }
.socials { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.socials a { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .8125rem; text-decoration: none; }
.socials a:hover { border-color: var(--ink); }
.socials .icon { width: 1rem; height: 1rem; }
.foot-col h2 { margin: 0 0 12px; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.foot-col ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.foot-col a { color: var(--ink); text-decoration: none; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-legal { display: grid; gap: 10px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; line-height: 1.55; }
.foot-legal p { margin: 0; }
.disclosure { display: flex; gap: 8px; max-width: 110ch; }
.disclosure .icon { width: 1rem; height: 1rem; margin-top: 2px; }

/* ---------- Tab bar, sheets, toast, new-deal pill ---------- */
.tabbar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: var(--surface); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0 8px; color: var(--muted); font-size: .6875rem; font-weight: 600; text-decoration: none; }
.tabbar a .icon { width: 1.4rem; height: 1.4rem; }
.tabbar a[aria-current] { color: var(--ink); }
.tabbar a[aria-current]::before { content: ""; position: absolute; top: -1px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--hot); }
.tabbar .count { top: 4px; right: calc(50% - 22px); }
.sheet { width: 100%; max-width: 640px; max-height: 86vh; margin: auto auto 0; padding: 6px 18px calc(22px + env(safe-area-inset-bottom)); overflow: auto; border: 0; border-radius: 22px 22px 0 0; background: var(--surface); color: var(--ink); }
.sheet::backdrop { background: rgb(18 17 16 / .55); }
.sheet[open] { animation: sheet-in .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(48px); } }
.sheet-head { position: sticky; top: -6px; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin: 0 -4px 4px; padding: 10px 4px; background: var(--surface); }
.sheet-head h2 { margin: 0; font: 800 1.125rem/1.2 var(--display); }
.sheet h3 { margin: 18px 0 10px; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.sheet-cats { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sheet-cats a { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: var(--r); color: var(--ink); font-weight: 600; text-decoration: none; }
.sheet-cats a:hover { background: var(--surface-2); }
.sc-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--tag-soft); }
.sc-n { margin-left: auto; color: var(--muted); font-size: .8125rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.sheet-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.sheet-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: .875rem; }
.sheet-list { margin: 0; padding: 0; list-style: none; }
.sheet-list a { display: flex; align-items: center; justify-content: space-between; padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; text-decoration: none; }
.sheet-list a[aria-current] { font-weight: 700; }
.recent[hidden] { display: none; }
.toast { position: fixed; bottom: calc(var(--tabbar) + 18px + env(safe-area-inset-bottom)); left: 50%; z-index: 70; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--bg); font-size: .875rem; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .2s, transform .2s; }
.toast:empty { padding: 0; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast .icon { width: 1.1rem; height: 1.1rem; color: var(--tag); }
.new-pill { position: fixed; top: 12px; left: 50%; z-index: 60; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: var(--hot-strong); color: #fff; font-size: .875rem; font-weight: 700; text-decoration: none; box-shadow: 0 10px 26px -10px rgb(218 44 14 / .9); transform: translateX(-50%); animation: drop .35s ease-out; }
.new-pill[hidden] { display: none; }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -12px); } }

/* ---------- Very narrow phones ---------- */
@media (max-width: 379px) {
  .logo-name { font-size: 1.0625rem; }
  .logo-mark { width: 28px; height: 28px; }
  .icon-btn { width: 36px; }
  .join { width: 36px; height: 36px; }
  .sticky-price small { display: none; }
}
@media (max-width: 359px) {
  .head [data-theme-toggle] { display: none; }
}

@media (max-width: 419px) {
  .sticky-cta .cta-store { display: none; }
}

/* ---------- ≥ 420px ---------- */
@media (min-width: 420px) {
  .join { width: auto; padding: 0 14px; }
  .join span { display: inline; }
  .card-title { font-size: .875rem; }
}

/* ---------- ≥ 640px ---------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .hero-grid { grid-auto-columns: 62%; }
  .tickets { grid-auto-columns: 300px; }
  .stats-in { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats-in li:nth-child(3) { border-left: 1px solid rgb(245 241 234 / .14); }
  .stats-in li:nth-child(n + 3) { border-top: 0; }
  .stats-in a { padding: 18px 20px; }
  .stats-in b { font-size: 2rem; }
  .rail-track { grid-auto-columns: 31%; }
  .lhead h1 { font-size: 2.125rem; }
  .dp-title { font-size: 1.75rem; }
  .coupon-hero { padding: 22px; }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
  .foot-about { grid-column: auto; }
  .sheet { margin: auto; border-radius: 22px; max-height: 80vh; }
}

/* ---------- ≥ 960px (desktop) ---------- */
@media (min-width: 960px) {
  :root { --gutter: 32px; --tabbar: 0px; }
  body { padding-bottom: 0; }
  .tabbar, .sticky-cta, .search-btn { display: none; }
  .head { position: sticky; top: 0; z-index: 30; }
  @supports (backdrop-filter: blur(8px)) { .head { background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
  .head-row { flex-wrap: nowrap; gap: 24px; padding-block: 12px; }
  .logo { flex: none; }
  .head .search { display: flex; flex: 0 1 560px; order: 0; height: 46px; margin-inline: auto; }
  .head-actions { gap: 4px; }
  html { scroll-padding-top: 86px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .card-body { padding: 11px 13px 13px; gap: 6px; }
  .card-meta { font-size: .75rem; }
  .ptag { --tip: 11px; --hx: 12px; --hr: 4px; padding-left: 24px; }
  .card .ptag-now { font-size: 1.5rem; }
  .hero { padding-top: 30px; }
  .hero-head h1 { font-size: 2.375rem; }
  .hero-grid { grid-auto-flow: row; grid-template-columns: 1.55fr 1fr 1fr; margin: 0; padding: 0; overflow: visible; }
  .hcard { grid-template-columns: 40% minmax(0, 1fr); }
  .hcard--big { grid-row: span 2; grid-template-columns: 48% minmax(0, 1fr); gap: 18px; padding: 14px; }
  .hcard--big .hcard-body { gap: 12px; padding-top: 6px; }
  .hcard--big .hcard-title { font-size: 1.5rem; line-height: 1.18; -webkit-line-clamp: 4; }
  .hcard--big .ptag--md .ptag-now { font-size: 2.25rem; }
  .hcard--big .fav { left: calc(48% - 30px); top: 22px; }
  .hcard--big .hcard-media { aspect-ratio: auto; height: 100%; min-height: 330px; border-radius: 12px; }
  .hcard--big .ptag--md .ptag-now { font-size: 2.75rem; }
  .hcard--big .card-tags { margin-top: auto; }
  .hcard-cta { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 18px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: .875rem; font-weight: 700; }
  .hcard-cta .icon { width: 1rem; height: 1rem; }
  .hcard .fav { left: calc(40% - 26px); }
  .tickets { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; }
  .tickets > li:nth-child(n + 5) { display: none; }
  .tickets--grid { grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); }
  .tickets--grid > li:nth-child(n + 5) { display: list-item; }
  .js .f-stores, .f-stores { display: flex; }
  .js .f-sort, .f-sort { display: block; }
  .f-open { display: none; }
  .filters { flex-wrap: nowrap; }
  .f-types { flex: none; -webkit-mask: none; mask: none; padding-right: 0; }
  .f-stores { flex: 1 1 auto; min-width: 0; }
  .f-types + .f-stores { padding-left: 10px; border-left: 1px solid var(--line-2); }
  .dp-top { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: 44px; align-items: start; }
  .dp-gallery { position: sticky; top: 86px; }
  .dp-shot { max-height: calc(100vh - 140px); max-width: none; }
  .dp-shot--empty { aspect-ratio: 1; }
  .dp-buy { gap: 16px; padding-top: 4px; }
  .dp-title { font-size: 2.125rem; line-height: 1.12; }
  .ptag--lg .ptag-now { font-size: 3.75rem; }
  .dp-buy > .ticket, .btn--cta, .dp-actions { width: 100%; max-width: 540px; }
  .dp-info { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 56px; row-gap: 36px; align-items: start; margin-top: 56px; }
  .dp-info > .dp-sec { grid-column: 1; }
  .dp-facts { position: sticky; top: 86px; grid-column: 2; grid-row: 1 / span 6; }
  .chart-plot { height: 220px; }
  .rail-track { grid-auto-columns: calc((100% - 3 * 16px) / 4.25); gap: 16px; margin: 0; padding-inline: 0; }
  .lhead { margin-top: 8px; }
  .lhead h1 { font-size: 2.5rem; }
  .lhead-ico { width: 60px; height: 60px; }
  .coupon-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: start; }
  .seo-box { padding: 30px 34px; }
  .az { margin-inline: 0; padding-inline: 0; }
  .sheet[open] { animation-name: fade-in; }
  @keyframes fade-in { from { opacity: 0; transform: scale(.98); } }
  .toast { bottom: 28px; }
  .new-pill { top: 84px; }
}

@media (min-width: 1240px) {
  .grid { gap: 20px; }
}

/* ---------- Hover-capable pointers only ---------- */
@media (hover: none) {
  .card:hover .card-title a, .hcard:hover .hcard-title a { text-decoration: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none !important; }
  .ticker-track[aria-hidden="true"], .ticker-btn { display: none; }
  .ticker-view { overflow-x: auto; -webkit-mask: none; mask: none; scrollbar-width: none; }
  .live i { animation: none !important; }
}

/* ---------- Campaigns (home strip, landing hero, index) ---------- */
.cmp-strip { display: grid; gap: 10px; margin-top: 18px; }
.cmp-card, .cmp-item { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; }
.cmp-card:hover, .cmp-item:hover { border-color: var(--ink); }
.cmp-card.is-active, .cmp-item.is-active { border-color: var(--hot); background: var(--hot-soft); }
.cmp-card-ico, .cmp-item-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--tag); color: var(--tag-ink); }
.cmp-card.is-active .cmp-card-ico, .cmp-item.is-active .cmp-item-ico { background: var(--hot-strong); color: #fff; }
.cmp-card-text, .cmp-item-body { display: grid; gap: 2px; flex: 1; min-width: 0; }
.cmp-card-text b, .cmp-item-body b { font: 800 .9375rem/1.25 var(--display); }
.cmp-card-text small { color: var(--muted); font-size: .75rem; font-weight: 600; }
.cmp-card.is-active .cmp-card-text small { color: var(--hot-text); }
.cmp-card-go, .cmp-item-go { flex: none; color: var(--muted); }
.cmp-hero { display: grid; gap: 12px; justify-items: start; margin: -6px 0 26px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); }
.cmp-hero.is-active { border-color: var(--hot); }
.cmp-state { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--tag); color: var(--tag-ink); font-weight: 800; font-size: .8125rem; }
.cmp-hero.is-active .cmp-state { background: var(--hot-strong); color: #fff; }
.cmp-hero.is-ended .cmp-state { background: var(--surface-2); color: var(--ink-2); }
.cmp-dates, .cmp-note { margin: 0; color: var(--ink-2); }
.cmp-note { max-width: 70ch; color: var(--muted); font-size: .875rem; }
.cmp-group { margin-bottom: 26px; }
.cmp-group h2 { margin: 0 0 12px; font: 800 1.125rem/1.25 var(--display); }
.cmp-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cmp-item-dates { color: var(--ink-2); font-size: .8125rem; }
.cmp-item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; font-size: .75rem; }
@media (min-width: 640px) {
  .cmp-strip { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .cmp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp-hero { padding: 22px; }
}


/* ---------- Price alert CTA ---------- */
.alert-cta { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; }
.alert-cta:hover { border-style: solid; border-color: var(--ink); }
.alert-cta-ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--tag); color: var(--tag-ink); }
.alert-cta-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.alert-cta-text b { font-size: .9375rem; }
.alert-cta-text small { color: var(--muted); font-size: .75rem; }
.alert-cta > .icon:last-child { flex: none; color: var(--muted); }
.alert-cta--wide { margin: -8px 0 24px; max-width: 560px; }

/* ---------- Forced colors (Windows high contrast) ---------- */
@media (forced-colors: active) {
  .ptag::before, .ticket { forced-color-adjust: none; }
  .ptag { border: 1px solid CanvasText; }
}
