:root {
  color-scheme: dark;
  --bg: #0a0d0e;
  --surface: #0f1415;
  --surface-raised: #131a1b;
  --line: #242e2f;
  --line-soft: #1a2223;
  --text: #edf2ed;
  --muted: #a4afaa;
  --quiet: #77837e;
  --acid: #c6f36c;
  --acid-dim: #21301d;
  --amber: #ffbd66;
  --amber-dim: #38291b;
  --red: #ff8171;
  --mono: "DM Mono", Consolas, monospace;
  --sans: "Manrope", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 22px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { position: fixed; inset: 0; z-index: -1; content: ""; pointer-events: none; opacity: .18; background-image: linear-gradient(rgba(150,185,164,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(150,185,164,.055) 1px,transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom,black,transparent 62%); }
a { color: inherit; text-decoration: none; }
button,input { font: inherit; }
button:focus-visible,a:focus-visible,input:focus-visible,.panel-scroll:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.shell { width: min(1328px,calc(100% - 56px)); margin: 0 auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 10px 14px; color: var(--bg); background: var(--acid); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.topbar { height: 60px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; }
.brand-mark { display: flex; align-items: end; gap: 3px; height: 20px; width: 20px; padding: 2px; }
.brand-mark i { display: block; width: 4px; background: var(--acid); transform: skew(-20deg); }
.brand-mark i:nth-child(1) { height: 8px; opacity: .65; }.brand-mark i:nth-child(2) { height: 13px; opacity: .82; }.brand-mark i:nth-child(3) { height: 17px; }
.brand-name { margin: 0; font-size: 19px; letter-spacing: .025em; line-height: 1; font-weight: 800; }.brand-accent { color: var(--acid); padding: 0 3px; }
.header-note { display: flex; align-items: center; gap: 9px; color: var(--quiet); font: 9px var(--mono); letter-spacing: .07em; }.header-note-dot { width: 5px; height: 5px; background: var(--acid); }
.header-meta { display:flex; align-items:center; gap:22px; }.header-clock { display:flex; align-items:baseline; gap:8px; color:var(--quiet); font:9px var(--sans); white-space:nowrap; }.header-clock strong { color:var(--acid); font:500 12px var(--mono); letter-spacing:.02em; }
.top-nav { display: flex; align-items: center; gap: 34px; height: 100%; color: var(--muted); font-size: 12px; }
.top-nav a { position: relative; display: flex; align-items: center; height: 100%; transition: color .18s ease; }.top-nav a:hover { color: var(--text); }.top-nav a::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 1px; content: ""; background: var(--acid); transform: scaleX(0); transition: transform .18s ease; }.top-nav a:hover::after { transform: scaleX(1); }
.live-status { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 11px; }
.pulse,.status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 10px rgba(198,243,108,.4); }
.pulse { animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .42; } }

.intro { min-height: 102px; display: flex; justify-content: space-between; align-items: center; padding: 12px 0 14px; }
.eyebrow,.panel-kicker,.offer-updated,.howto-label,.freshness,.footer-mark { font-family: var(--mono); }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: var(--acid); font-size: 10px; letter-spacing: .075em; }
.eyebrow-line { width: 20px; height: 1px; background: var(--acid); }
h1 { margin: 0; font-size: clamp(34px,4vw,47px); letter-spacing: -.052em; line-height: 1.1; font-weight: 800; }
.title-dot { color: var(--acid); }
.intro-text { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.checked-box { min-width: 215px; padding: 10px 14px; border-left: 1px solid var(--line); text-align:center; }
.checked-label { display: block; color: var(--muted); font-family:var(--sans); font-size: 12px; font-weight:600; letter-spacing:0; }
.checked-time-row { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:6px; white-space:nowrap; }
.checked-time { color:var(--text); font-family:var(--sans); font-size:16px; font-weight:600; letter-spacing:0; }
.timezone-label { color:var(--quiet); font-family:var(--sans); font-size:11px; font-weight:500; }

.toolbar { min-height: 57px; display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-summary { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--muted); font-size: 11px; }
.summary-count { color: var(--acid); font-family: var(--mono); font-size: 16px; }.summary-divider { color: #46514b; }.summary-muted { color: var(--quiet); }
.tabs { display: flex; align-items: stretch; align-self: stretch; gap: 5px; margin-left: auto; }
.tab-button { position: relative; min-width: 82px; padding: 0 13px; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; transition: color .15s ease,background .15s ease; }
.tab-button::after { position: absolute; right: 10px; bottom: -1px; left: 10px; height: 2px; content: ""; background: transparent; transition: background .15s ease; }
.tab-button span { margin-left: 5px; color: var(--quiet); font: 10px var(--mono); }.tab-button:hover { color: var(--text); background: rgba(255,255,255,.025); }.tab-button.is-active { color: var(--acid); }.tab-button.is-active::after { background: var(--acid); }.tab-button.is-active span { color: var(--acid); }
.searchbox { width: 187px; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 8px; border: 1px solid var(--line); background: #0d1112; transition: border-color .15s ease; }.searchbox:focus-within { border-color: #5b764c; }
.searchbox svg { width: 15px; height: 15px; flex: 0 0 15px; fill: none; stroke: var(--quiet); stroke-width: 1.5; }.searchbox input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 11px; }.searchbox input::placeholder { color: #76817b; }.searchbox kbd { padding: 1px 5px; border: 1px solid #313a3a; color: var(--quiet); font-family: var(--mono); font-size: 10px; }

.dashboard { display: block; margin-top: 12px; }
.deal-panel { min-width: 0; border: 1px solid var(--line); background: rgba(15,20,21,.94); }
.panel-heading { height: 75px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line); }
.panel-title-wrap { display: flex; align-items: center; gap: 12px; }.panel-index { width: 29px; height: 29px; display: grid; place-items: center; color: var(--acid); background: var(--acid-dim); font: 11px var(--mono); }.index-deal { color: var(--amber); background: var(--amber-dim); }
.panel-kicker { margin: 0 0 1px; color: var(--quiet); font-size: 9px; letter-spacing: .055em; }.panel-heading h2 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.panel-count { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font: 10px var(--mono); }.count-deal .status-dot { background: var(--amber); box-shadow: 0 0 10px rgba(255,189,102,.28); }
.panel-scroll { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; max-height: clamp(340px,calc(100dvh - 350px),920px); overflow: auto; overscroll-behavior: contain; scrollbar-color: #394642 #0f1415; scrollbar-width: thin; }
.is-loading .panel-scroll > * { display: none; }.is-loading .panel-scroll::before { grid-column: 1 / -1; padding: 30px 16px; color: var(--muted); content: "正在读取最新内容…"; text-align: center; font-size: 11px; }
.panel-scroll::-webkit-scrollbar { width: 7px; }.panel-scroll::-webkit-scrollbar-track { background: #0f1415; }.panel-scroll::-webkit-scrollbar-thumb { background: #35403a; border: 2px solid #0f1415; }
.panel-scroll > .offer-row:nth-child(odd) { border-right: 1px solid var(--line-soft); }
.offer-row { padding: 14px 18px 13px; border-bottom: 1px solid var(--line-soft); transition: background .18s ease; }.offer-row:last-child { border-bottom: 0; }.offer-row:hover { background: rgba(255,255,255,.018); }
.offer-topline,.offer-bottom,.offer-titleline { display: flex; justify-content: space-between; align-items: center; gap: 10px; }.offer-topline { min-height: 19px; }
.category-tag { display: inline-flex; align-items: center; min-height: 19px; padding: 0 7px; font-size: 10px; line-height: 1; }.tag-free { color: var(--acid); background: #1a2718; }.tag-deal { color: var(--amber); background: #31261a; }.tag-student { color: #e6c4ff; background: #282033; }
.offer-updated { color: var(--quiet); font-size: 9px; }.deadline { display: inline-flex; align-items: center; gap: 5px; color: #edb764; font-family: var(--mono); font-size: 10px; }.deadline-icon { font-family: var(--sans); font-size: 13px; }.period-label { max-width: 62%; text-align:right; line-height:1.35; }.offer-updated.period-label { font-size:9px; }.deadline.period-label { font-size:9px; }
.offer-titleline { align-items: baseline; margin-top: 6px; }.offer-titleline h3 { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: -.015em; }.price-free { color: var(--acid); font-family: var(--mono); font-size: 17px; white-space: nowrap; }.price-unit { color: var(--muted); font: 10px var(--sans); }
.discount { color: var(--amber); font-family: var(--mono); font-size: 22px; line-height: 1; white-space: nowrap; }.discount span { margin-left: 2px; font: 11px var(--sans); }.discount.points { font-size: 18px; }.discount.points span { font-size: 10px; }
.offer-desc { margin: 4px 0 9px; color: #b2bcb6; font-size: 11px; line-height: 1.65; }
.offer-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; padding-top: 8px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 10px; }.offer-facts span { display: inline-flex; gap: 5px; align-items: baseline; }.offer-facts b { color: var(--quiet); font-weight: 500; }.offer-facts .fact-alert b { color: #e8b566; }.offer-facts .threshold-mark { padding:1px 4px; border:1px solid; border-radius:2px; font:inherit; letter-spacing:0; }.offer-facts .threshold-mark b { color:inherit; font-weight:700; }.threshold-mark.tier-a { color:#d7ff85; border-color:#526b2f; background:#1b2817; }.threshold-mark.tier-b { color:#8fcaff; border-color:#345a78; background:#14212d; }.threshold-mark.tier-c { color:#ffb47f; border-color:#785137; background:#2b2018; }
.howto { display: grid; grid-template-columns: 61px minmax(0,1fr); gap: 9px; margin-top: 9px; padding: 8px 9px; border-left: 2px solid #526344; background: rgba(29,41,27,.45); }.howto-label { padding-top: 1px; color: var(--acid); font-size: 9px; }.howto p { margin: 0; color: #bdc6bf; font-size: 10px; line-height: 1.62; }.howto code { padding: 1px 4px; color: #d8eac5; background: #273329; font: 10px var(--mono); }
.offer-bottom { margin-top: 9px; min-height: 19px; }.freshness { display: inline-flex; align-items: center; gap: 6px; color: var(--quiet); font-size: 9px; }.freshness .status-dot { width: 5px; height: 5px; flex-basis: 5px; }.source-link { min-height: 28px; display: inline-flex; align-items: center; gap: 5px; color: #a4c68d; font-size: 10px; transition: color .15s ease; }.source-link:hover { color: var(--acid); }.source-link span { font-size: 12px; }

.recently-ended { display: grid; grid-template-columns: 1fr; align-content: start; gap: 8px; margin: 0; padding: 13px 16px; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; }.recently-ended:nth-child(odd) { border-right: 1px solid var(--line-soft); }.ended-label { display: flex; align-items: center; gap: 8px; color: #d99a89; font-size: 10px; }.ended-mark { display: grid; width: 19px; height: 19px; place-items: center; border: 1px solid #754b43; color: var(--red); font-size: 14px; line-height: 1; }.recently-ended p { display: grid; gap: 4px; margin: 0; }.recently-ended p strong { color: #e6d1cb; font-size: 11px; }.recently-ended p span { color: #b4a19b; font-size: 10px; line-height: 1.55; }.recently-ended > a { min-height: 28px; display: inline-flex; align-items: center; gap: 6px; justify-self: start; color: #dfaa9a; font-size: 10px; white-space: nowrap; }.recently-ended > a:hover { color: #ffd0c0; }.index-ended { color: #e5a091; background: #352321; }.count-ended .status-dot { background: var(--red); box-shadow: 0 0 10px rgba(255,129,113,.28); }
.footer { min-height: 53px; display: flex; align-items: center; gap: 18px; color: var(--quiet); font-size: 10px; }.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--muted); white-space: nowrap; }.footer-mark { color: var(--acid); font-size: 12px; }.footer p { margin: 0; }.back-top { margin-left: auto; min-height: 40px; display: inline-flex; align-items: center; color: var(--muted); white-space: nowrap; }.back-top:hover { color: var(--acid); }
.empty-state { grid-column: 1 / -1; padding: 30px 18px; color: var(--muted); text-align: center; font-size: 12px; }
.site-ad-slot[hidden] { display:none; }.site-ad-slot { margin: 8px 0; }.site-ad { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:14px; align-items:center; padding:12px 16px; border:1px solid #3d4839; background:#121816; }.site-ad-label { color:#c9f36a; font:10px "DM Mono",monospace; white-space:nowrap; }.site-ad strong { font-size:12px; }.site-ad p { margin:4px 0 0; color:var(--muted); font-size:11px; }.site-ad a { color:var(--acid); font-size:11px; white-space:nowrap; }@media(max-width:600px){.site-ad{grid-template-columns:1fr auto;gap:6px}.site-ad-label{grid-column:1/-1}}
.dashboard-empty { margin: 0; border: 1px dashed var(--line); }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 10; padding: 10px 14px; border: 1px solid #48563e; color: var(--text); background: #182017; opacity: 0; pointer-events: none; transform: translateY(6px); transition: .18s ease; }.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 1450px) { .shell { width: min(1480px,calc(100% - 72px)); }.panel-scroll { max-height: clamp(400px,calc(100dvh - 330px),920px); } }
@media (max-width: 920px) { .shell { width: min(100% - 36px,760px); }.panel-scroll { max-height: clamp(340px,calc(100dvh - 300px),600px); }.toolbar { display: grid; grid-template-columns: 1fr auto; gap: 6px 9px; padding: 7px 0; }.section-summary { grid-column: 1; grid-row: 1; }.tabs { grid-column: 2; grid-row: 1; margin-left: 0; }.searchbox { grid-column: 1 / -1; grid-row: 2; width: 100%; }.summary-muted,.summary-divider { display: none; } }
@media (max-width: 760px) { .panel-scroll { grid-template-columns: 1fr; }.panel-scroll > .offer-row:nth-child(odd) { border-right: 0; }.recently-ended:nth-child(odd) { border-right: 0; } }
@media (max-width: 580px) {
  body { font-size: 13px; }.shell { width: calc(100% - 28px); }.topbar { height: 54px; }.brand { gap: 8px; }.brand-name { font-size: 17px; }.header-meta { gap:0; }.header-note { display:none; }.header-clock { gap:5px; font-size:8px; }.header-clock strong { font-size:10px; }.header-note-dot { width: 4px; height: 4px; }.intro { min-height: 0; align-items: flex-start; padding: 9px 0 11px; }.intro-copy { min-width: 0; }.intro-text { max-width: 250px; font-size: 10px; line-height: 1.5; }.desktop-break { display: none; }.checked-box { min-width: auto; margin-top: 0; padding: 2px 0 2px 9px; }.checked-label { font-size: 9px; }.checked-time-row { gap:4px; margin-top:4px; }.checked-time { font-size:12px; }.timezone-label { font-size:8px; }
  .toolbar { display: grid; grid-template-columns: 1fr auto; gap: 6px 7px; padding: 7px 0; }.section-summary { grid-column: 1; grid-row: 1; font-size: 9px; }.summary-count { font-size: 13px; }.tabs { grid-column: 2; grid-row: 1; gap: 0; margin-left: 0; }.tab-button { min-width: 62px; padding: 0 6px; font-size: 9px; }.tab-button span { font-size: 8px; margin-left: 2px; }.tab-button::after { right: 5px; left: 5px; }.searchbox { width: 100%; grid-column: 1 / -1; grid-row: 2; }
  .dashboard { margin-top: 8px; }.panel-heading { height: 58px; padding: 0 11px; }.panel-title-wrap { gap: 8px; }.panel-index { width: 24px; height: 24px; }.panel-heading h2 { font-size: 13px; }.panel-kicker { font-size: 7px; }.panel-count { font-size: 8px; }.panel-scroll { grid-template-columns: 1fr; max-height: clamp(300px,calc(100dvh - 255px),600px); }.offer-row { padding: 11px 11px 10px; }.offer-titleline h3 { font-size: 12px; }.offer-desc { font-size: 10px; }.offer-facts { gap: 4px 11px; font-size: 9px; }.howto { grid-template-columns: 54px minmax(0,1fr); gap: 6px; padding: 8px 7px; }.howto p { font-size: 9px; }.recently-ended { gap: 6px; padding: 10px 11px; border-right: 0 !important; }.recently-ended p strong,.recently-ended p span { font-size: 9px; }.recently-ended > a { min-height: 24px; }.footer { flex-wrap: wrap; gap: 2px 10px; padding: 10px 0; font-size: 9px; }.footer-brand { width: 100%; }.footer p { flex: 1 1 76%; }.back-top { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
