:root {
  --ink: #07140f;
  --glass: rgba(14, 42, 32, .55);
  --panel: rgba(10, 34, 26, .72);
  --line: rgba(90, 255, 168, .22);
  --turf: #3dff8a;
  --ember: #ff8a3d;
  --text: #eef8f1;
  --mute: #8fb39a;
  --live: #ff4d6d;
  --done: #7dffb3;
  --gutter: max(16px, env(safe-area-inset-left));
  --gutter-r: max(16px, env(safe-area-inset-right));
}
*, *::before, *::after { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(61, 255, 138, .16), transparent 58%),
    radial-gradient(760px 360px at 100% 0%, rgba(255, 138, 61, .14), transparent 52%),
    linear-gradient(180deg, #06110c 0%, #0a1c14 42%, #07140f 100%);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  overflow-wrap: anywhere;
  word-break: break-word;
}
a { color: var(--turf); text-decoration: none; }
a:hover { color: var(--ember); }
img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}
.turf {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(61, 255, 138, .05) 1px, transparent 1px),
    linear-gradient(rgba(61, 255, 138, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
  z-index: 0;
}
.lights {
  position: fixed;
  inset: auto 12% 8% 12%;
  height: 180px;
  max-width: 100%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 138, 61, .08), transparent 70%);
  filter: blur(18px);
  z-index: 0;
}
.wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
}
main.wrap, header .wrap, footer .wrap { min-width: 0; }
section, article, .board, .split, .stack, .pane, .story, .duel, .card {
  min-width: 0;
  max-width: 100%;
}
.mast {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  backdrop-filter: blur(22px) saturate(140%);
  background: rgba(7, 20, 15, .72);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 80px;
  min-width: 0;
  position: relative;
}
.mark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  min-width: 0;
  flex: 1 1 auto;
}
.mark img {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(61, 255, 138, .22);
}
.mark span { min-width: 0; overflow: hidden; }
.mark i {
  display: block;
  font-style: normal;
  letter-spacing: .28em;
  font-size: 10px;
  color: var(--ember);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mark b {
  display: block;
  font-size: 22px;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-btn {
  display: none;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
}
.nav-btn img { width: 14px; height: 14px; flex-shrink: 0; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; min-width: 0; }
.nav a, .drop > a {
  display: block;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
}
.drop > a {
  padding-right: 22px;
  background-image: url(/static/img/deco/chevron-down.png);
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px auto;
}
.nav a.on, .drop > a.on {
  color: #062014;
  background: linear-gradient(90deg, var(--turf), #b8ff6a);
}
.drop { position: relative; }
.drop-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 168px;
  max-width: min(240px, calc(100vw - 24px));
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 28, 20, .96);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  z-index: 40;
}
.drop:hover .drop-list, .drop:focus-within .drop-list { display: block; }
.hero {
  margin: 28px 0 22px;
  padding: 32px 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(61, 255, 138, .16), rgba(10, 34, 26, .5) 48%, rgba(255, 138, 61, .1)),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 50px rgba(0, 0, 0, .28);
  overflow: hidden;
  position: relative;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 35px;
  height: 35px;
  background: url(/static/img/deco/L.png) no-repeat center / contain;
  opacity: .55;
}
.hero::before { left: 16px; top: 16px; }
.hero::after {
  right: 16px;
  bottom: 16px;
  background-image: url(/static/img/deco/R.png);
}
.eyebrow {
  margin: 0 0 8px;
  letter-spacing: .18em;
  font-size: 12px;
  color: var(--ember);
  overflow-wrap: anywhere;
}
.hero h1, h1 {
  font-size: clamp(22px, 5vw, 32px);
  margin: 0 0 10px;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
.lead { color: var(--mute); line-height: 1.75; margin: 0 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.chip img { width: 22px; height: 22px; flex-shrink: 0; }
.sec {
  margin: 28px 0 12px;
  font-size: 18px;
  padding-left: 28px;
  border-left: 3px solid var(--ember);
  background: url(/static/img/deco/post-list-dot.png) no-repeat 8px 50%;
  background-size: 14px 14px;
}
.board { display: grid; gap: 12px; }
.duel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px 14px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  overflow: hidden;
}
.side {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.side img {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  object-fit: contain;
  background: rgba(255, 255, 255, .05);
  border-radius: 50%;
  padding: 4px;
}
.side a {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.away { justify-content: flex-end; text-align: right; }
.mid { text-align: center; min-width: 72px; max-width: 40%; }
.mid strong { display: block; font-size: 24px; color: var(--ember); font-variant-numeric: tabular-nums; }
.tag {
  display: inline-block;
  max-width: 100%;
  margin-top: 4px;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tag-live {
  color: #fff;
  background: var(--live) url(/static/img/deco/live_icon.png) no-repeat 6px center;
  background-size: 12px 12px;
  padding-left: 22px;
}
.tag-done { color: #062014; background: var(--done); }
.when {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0;
  color: var(--mute);
  font-size: 13px;
  min-width: 0;
}
.when img { width: 14px; height: 14px; flex-shrink: 0; }
.lg { display: inline-flex; align-items: center; gap: 6px; color: var(--text); min-width: 0; }
.lg img { width: 18px; height: 18px; flex-shrink: 0; }
.signals {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.signals a {
  flex: 1 1 auto;
  min-width: 72px;
  text-align: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(61, 255, 138, .12);
  color: var(--turf);
  font-size: 13px;
}
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 18px; }
.stack { display: grid; gap: 12px; }
.card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.card img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  background: #10261c;
}
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card h3 a {
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card p { margin: 0; }
.roll { list-style: none; padding: 0; margin: 0; }
.roll li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  min-width: 0;
}
.roll li a { min-width: 0; flex: 1 1 auto; }
.roll li span { flex-shrink: 0; color: var(--mute); font-size: 13px; }
.pane {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.faq summary { cursor: pointer; color: var(--ember); }
.faq p { color: var(--mute); line-height: 1.7; }
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
  color: var(--mute);
  font-size: 13px;
}
.meta li { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.body { line-height: 1.88; color: #dff5e7; overflow-wrap: anywhere; }
.body img { display: block; width: 100%; height: auto; border-radius: 12px; }
.pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.pager a { min-width: 0; max-width: 100%; flex: 1 1 140px; }
.go {
  display: inline-block;
  max-width: 100%;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--turf), #9dff6a);
  color: #062014;
  font-weight: 700;
}
.path { color: var(--mute); font-size: 13px; overflow-wrap: anywhere; }
.empty { color: var(--mute); text-align: center; padding: 24px; }
.foot {
  margin-top: 42px;
  padding: 28px 0 calc(36px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--mute);
  text-align: center;
  font-size: 13px;
  width: 100%;
}
.pal { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 16px; }
.pal a { color: var(--mute); }
.note { opacity: .85; }
.story h1 { font-size: clamp(20px, 5vw, 26px); }

@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root {
    --gutter: max(12px, env(safe-area-inset-left));
    --gutter-r: max(12px, env(safe-area-inset-right));
  }
  .bar { min-height: 58px; gap: 8px; }
  .mark { gap: 8px; }
  .mark img { width: 40px; height: 40px; border-radius: 12px; }
  .mark i { display: none; }
  .mark b { font-size: 18px; }
  .nav-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: var(--gutter);
    right: var(--gutter-r);
    width: auto;
    max-width: 100%;
    max-height: min(70vh, calc(100dvh - 72px));
    overflow-x: hidden;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    background: rgba(8, 28, 20, .98);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
  }
  .nav.open { display: flex; }
  .drop-list {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    background: transparent;
    min-width: 0;
    max-width: 100%;
    padding: 0 0 0 8px;
  }
  .hero {
    margin: 16px 0 14px;
    padding: 20px 16px 18px;
    border-radius: 18px;
  }
  .hero::before, .hero::after { width: 22px; height: 22px; }
  .hero::before { left: 10px; top: 10px; }
  .hero::after { right: 10px; bottom: 10px; }
  .eyebrow { letter-spacing: .08em; }
  .duel {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "home mid"
      "away mid"
      "when when"
      "signals signals";
    gap: 8px 10px;
    padding: 12px;
    border-radius: 16px;
  }
  .home { grid-area: home; }
  .away {
    grid-area: away;
    justify-content: flex-start;
    text-align: left;
  }
  .away img { order: -1; }
  .mid { grid-area: mid; align-self: center; min-width: 64px; max-width: 38%; }
  .mid strong { font-size: 20px; }
  .when { grid-area: when; }
  .signals { grid-area: signals; }
  .signals a { flex: 1 1 0; min-width: 0; }
  .card { grid-template-columns: 72px minmax(0, 1fr); }
  .card img { width: 72px; height: 48px; }
  .roll li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .roll li span { flex-shrink: 1; }
  .pane { padding: 16px; border-radius: 16px; }
  .pager a { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  :root {
    --gutter: max(10px, env(safe-area-inset-left));
    --gutter-r: max(10px, env(safe-area-inset-right));
  }
  .mark b { font-size: 16px; }
  .side img { width: 36px; height: 36px; }
  .hero { padding: 16px 12px 14px; }
  .sec { font-size: 16px; margin: 20px 0 10px; }
  .chips { gap: 6px; }
  .chip { padding: 6px 10px; font-size: 13px; }
}
