:root {
  color-scheme: light;
  --bg: #eef5ff;
  --panel: #ffffff;
  --line: #ccdbee;
  --fg: #142b4b;
  --muted: #4e6078;
  --gold: #125bca;
  --focus: #104994;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
html { background: linear-gradient(145deg, #e5f4ff, #f7f9ff 65%, #e7edff); }
body {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 12px 40px;
  background: transparent;
}
header, .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.site-header {
  padding: 4px 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
h1, h2 { margin: 0 0 10px; font-weight: 750; letter-spacing: .02em; }
.site-header h1 { font-size: 18px; margin: 8px 0 0; color: #174784; }
.brand-logo { display: block; width: min(280px, 72vw); height: auto; }
h2 { margin: 18px 0 10px; font-size: 18px; color: var(--focus); border-left: 4px solid #2379e7; padding-left: 8px; }
p { color: var(--muted); line-height: 1.6; font-size: 16px; }
nav { display: flex; gap: 8px; margin: 10px 0 12px; }
a, button {
  color: #ffffff;
  background: var(--gold);
  text-decoration: none;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  display: inline-block;
  min-height: 44px;
  cursor: pointer;
}
a:focus-visible, button:focus-visible { outline: 3px solid #125bca; outline-offset: 3px; }
a.ghost, nav a { background: #ffffff; color: var(--focus); border: 1px solid var(--line); }
nav a { flex: 1; text-align: center; padding: 10px 14px; font-size: 15px; font-weight: 700; box-shadow: 0 3px 7px #1753990c; }
nav a:hover { background: #e1efff; border-color: #2971c7; }
.slots, .grid { display: grid; gap: 10px; margin-top: 8px; }
.slots { margin-top: 24px; }
.slots a { text-align: center; }
.grid { grid-template-columns: 1fr 1fr; }
.card {
  display: block;
  padding: 0;
  border-radius: 12px;
  background: #ffffff;
  color: var(--fg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 44px;
  box-shadow: 0 4px 12px #184b8210;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.card:hover, .card:focus { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #dce9f7; }
.card span { display: block; padding: 9px 10px 10px; color: var(--fg); font-size: 15px; line-height: 1.4; }
.stickers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0 0 10px; }
.stickers a {
  padding: 0;
  border-radius: 12px;
  background: #ffffff;
  color: var(--fg);
  text-align: center;
  overflow: hidden;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 8px #184b8224;
  transition: box-shadow .2s ease;
}
.stickers a:hover { box-shadow: 0 4px 12px #1e64b54d; }
.stickers img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.stickers span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ad-banner { display: block; padding: 0; margin: 0 0 14px; border-radius: 12px; overflow: hidden; background: #1673cf; box-shadow: 0 5px 14px #21578e25; }
.ad-banner img { display: block; width: 100%; height: auto; aspect-ratio: 18 / 5; object-fit: contain; }
.player { position: relative; margin-top: 16px; padding-top: 56.25%; background: #000; border-radius: 16px; overflow: hidden; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
@media (min-width: 720px) {
  body { padding-top: 20px; }
  .grid { grid-template-columns: 1fr 1fr 1fr; }
  .slots { grid-template-columns: 1fr 1fr; }
  .stickers { gap: 12px; }
  nav a { flex: initial; min-width: 100px; }
}
@media (prefers-reduced-motion: reduce) { .card, .stickers a { transition: none; } }
