/*
[INPUT]: 首页、说明页、播放器状态与本站字体。
[OUTPUT]: 本站原创封面、计分分档、互动控件和手机布局。
[POS]: 全站共享样式。引擎脚本控制加载、全屏与反馈。
[PROTOCOL]: Update this header on change, then check AGENTS.md
*/
@font-face {
  font-family:"Barlow Condensed";
  src:url("/_a/barlow-condensed-bold.e3e520cb74.woff2") format("woff2");
  font-weight:700;
  font-display:swap;
}
@font-face {
  font-family:"DM Sans";
  src:url("/_a/dm-sans.468d56b6b2.woff2") format("woff2");
  font-weight:100 900;
  font-display:swap;
}
:root {
  --paper:#f6f5ed;
  --ink:#173837;
  --soft:#48625b;
  --line:#bac9bb;
  --lime:#dbfa77;
  --sea:#193d3a;
  --white:#fffef7;
  --wash:#e9eee3;
  --pale:#dcebbf;
  --ocean:#104865;
  --aqua:#82cdc1;
  --blue:#84c4df;
  --violet:#aeafe3;
  --muted-on-sea:color-mix(in srgb,var(--paper) 76%,var(--sea));
  --rail:color-mix(in srgb,var(--paper) 27%,var(--sea));
  --display:"Barlow Condensed","Arial Narrow",sans-serif;
  --body:"DM Sans",Arial,sans-serif;
  color-scheme:light;
}
* { box-sizing:border-box; }
html {
  scroll-padding-top:22px;
  overflow-wrap:break-word;
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:400 16px/1.55 var(--body);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,p,ol { margin:0; }
a {
  color:inherit;
  text-underline-offset:.18em;
}
a:hover { text-decoration-thickness:2px; }
button,input,textarea {
  font:inherit;
  color:inherit;
}
button,summary {
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
button {
  border:0;
  background:none;
}
:focus-visible {
  outline:3px solid var(--ocean);
  outline-offset:4px;
}
[hidden] { display:none!important; }
.wrap {
  max-width:1320px;
  width:calc(100% - 96px);
  margin-inline:auto;
}
.skip {
  position:fixed;
  left:12px;
  top:-100px;
  z-index:4;
  padding:10px 15px;
  background:var(--lime);
}
.skip:focus { top:12px; }
.mast {
  background:var(--wash);
  border-bottom:1px solid var(--line);
}
.mast-row,.foot-row {
  min-height:68px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}
.wordmark {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:19px;
  font-weight:750;
  letter-spacing:-.055em;
  text-decoration:none;
  white-space:nowrap;
}
.wordmark img { border-radius:8px; }
.mast nav,.foot nav {
  display:flex;
  align-items:center;
  gap:26px;
}
.mast nav a,.foot nav a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  text-decoration:none;
  font-weight:650;
  font-size:14px;
}
.mast nav a:hover,.foot nav a:hover { text-decoration:underline; }
.intro {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:28px;
  margin:29px 0 23px;
}
.genre,.chart-head,.sample-kicker {
  font-size:12px;
  line-height:1.4;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:750;
}

.genre {
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--soft);
}
.genre:before {
  content:"";
  width:24px;
  height:3px;
  background:var(--soft);
}
h1,.depth h2,.rules h2,.example h2,.reading h2,.questions h2,.credits h2,.comments h2,.info-page h2 {
  font-family:var(--display);
  font-weight:700;
  line-height:.99;
  letter-spacing:-.015em;
}
h1 {
  font-size:clamp(62px,7.3vw,104px);
  margin-top:4px;
}
.intro-line {
  max-width:320px;
  margin-bottom:5px;
  font-size:clamp(16px,1.55vw,21px);
  line-height:1.4;
  color:var(--soft);
}
.deck {
  display:grid;
  grid-template-columns:minmax(0,2.72fr) minmax(244px,.97fr);
  gap:22px;
  align-items:start;
}
.play-col { min-width:0; }
.game-shell {
  overflow:hidden;
  border:2px solid var(--ink);
  border-radius:13px;
  background:var(--ocean);
  box-shadow:0 4px 0 var(--ink);
}
.stage {
  position:relative;
  isolation:isolate;
  width:100%;
  height:clamp(460px,40.5vw,590px);
  background:var(--ocean);
  overflow:hidden;
}
.stage iframe,.cover,.loader {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.cover {
  isolation:isolate;
  display:flex;
  align-items:end;
  justify-content:center;
  padding:0 16px clamp(26px,3.5vw,52px);
}
.scene {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 38%;
  image-rendering:auto;
  z-index:-2;
}
.cover-name {
  position:absolute;
  top:18px;
  left:20px;
  padding:2px 12px 5px;
  border-radius:7px;
  background:var(--sea);
  color:var(--white);
  font:700 clamp(24px,3vw,38px)/1.1 var(--display);
}
.cover:after {
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  content:"";
  background:linear-gradient(180deg,transparent 45%,rgba(5,33,45,.04) 57%,rgba(5,28,41,.86) 100%);
}
.launch {
  display:grid;
  justify-items:center;
  gap:9px;
  color:var(--white);
  text-align:center;
  font-size:12px;
  font-weight:650;
  letter-spacing:.035em;
}
.go,.send {
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:var(--ink);
  background:var(--lime);
  border:2px solid var(--ink);
  border-radius:8px;
  font-weight:750;
  box-shadow:0 4px 0 var(--ink);
  transition:transform .15s,box-shadow .15s;
}
.go {
  text-decoration:none;
  padding:10px 30px;
  min-height:58px;
  font-size:21px;
  letter-spacing:-.025em;
}
.go svg {
  width:21px;
  height:21px;
}
.go:hover,.send:hover {
  transform:translateY(-2px);
  box-shadow:0 6px 0 var(--ink);
  background:color-mix(in srgb,var(--lime) 74%,var(--white));
}
.go:active,.send:active {
  transform:translateY(2px);
  box-shadow:0 2px 0 var(--ink);
}
.loader {
  display:none;
  align-content:center;
  justify-items:center;
  gap:21px;
  color:var(--white);
  background:var(--sea);
}
.stage[data-gf-state="loading"] .loader { display:grid; }
.stage[data-gf-state="playing"] .cover,.stage[data-gf-state="loading"] .cover { display:none; }

.bubbles {
  display:block;
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--lime);
  box-shadow:18px -10px 0 -2px var(--lime),-16px 7px 0 -3px var(--lime);
  animation:surface .95s ease-in-out infinite alternate;
}
@keyframes surface {
  to {
    transform:translateY(-10px);
  }
}
.tools {
  display:flex;
  align-items:center;
  gap:2px;
  padding:1px 9px;
  background:var(--wash);
  color:var(--ink);
  border-top:2px solid var(--ink);
}
.tools button {
  border-radius:5px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:44px;
  padding:6px 12px;
  font-size:13px;
  font-weight:700;
}
.tools button:hover,.tools button[aria-pressed=true] { background:var(--pale); }
.tools .expand { margin-left:auto; }
.creditline {
  padding:10px 2px 0;
  font-size:12px;
  color:var(--soft);
}
.creditline span { margin:0 7px; }
.depth {
  background:var(--sea);
  color:var(--white);
  border-radius:13px;
  padding:clamp(21px,2.4vw,35px);
  position:relative;
  overflow:hidden;
}
.depth h2 { font-size:clamp(37px,3.55vw,55px); }
.depth>p {
  font-size:14px;
  color:var(--muted-on-sea);
  line-height:1.45;
  margin:8px 0 27px;
}
.chart-head,.tiers li {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.chart-head {
  color:var(--muted-on-sea);
  border-bottom:1px solid var(--rail);
  padding-bottom:8px;
  font-size:12px;
}
.tiers {
  list-style:none;
  padding:0;
}
.tiers li {
  padding:11px 0;
  border-bottom:1px solid var(--rail);
}
.tier-name {
  display:inline-flex;
  gap:11px;
  align-items:center;
  font-size:15px;
  font-weight:600;
}
.tier-name i {
  width:11px;
  height:11px;
  background:var(--tone);
  box-shadow:inset 0 0 0 1px var(--rail);
}
.t-surface { --tone:var(--pale); }
.t-shelf { --tone:var(--aqua); }
.t-slope { --tone:var(--blue); }
.t-trench { --tone:var(--violet); }
.t-hadal { --tone:var(--lime); }
.tiers strong {
  font-family:var(--display);
  font-size:24px;
  line-height:1;
  font-variant-numeric:tabular-nums;
}
.max-depth {
  display:grid;
  gap:3px;
  margin-top:21px;
}
.max-depth strong {
  font:700 clamp(42px,4.5vw,68px)/1 var(--display);
  letter-spacing:-.025em;
  color:var(--lime);
}
.max-depth small { font-size:.53em; }
.max-depth span {
  font-size:12px;
  color:var(--muted-on-sea);
}
.guide-grid {
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:clamp(26px,6vw,90px);
  align-items:start;
  margin-top:55px;
}
.rules h2,.reading h2,.questions h2,.credits h2,.comments h2,.info-page h2 { font-size:clamp(36px,3.7vw,53px); }
.steps {
  list-style:none;
  counter-reset:step;
  padding:0;
  margin-top:20px;
}
.steps li {
  counter-increment:step;
  position:relative;
  border-top:1px solid var(--line);
  padding:15px 0 16px 40px;
}

.steps li:before {
  content:counter(step);
  position:absolute;
  left:0;
  top:15px;
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border:1px solid var(--soft);
  border-radius:50%;
  font-size:13px;
  font-weight:700;
}
h3 {
  font-weight:700;
  font-size:18px;
  line-height:1.3;
  letter-spacing:-.025em;
}
.steps p,.columns p {
  margin-top:5px;
  color:var(--soft);
  font-size:15.5px;
  line-height:1.59;
}
.example {
  padding:clamp(22px,3.2vw,44px);
  background:var(--pale);
  border:1px solid var(--line);
  border-radius:12px;
}
.example h2 {
  font-size:clamp(48px,5.4vw,76px);
  margin:9px 0;
}
.example>p:not(.sample-kicker) {
  max-width:50ch;
  color:var(--ink);
}
.picks {
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:start;
  gap:10px;
  margin-top:21px;
}
.pick {
  background:var(--white);
  border:1.5px solid var(--ink);
  border-radius:6px;
  overflow:hidden;
}
.pick summary,.faq summary {
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-weight:700;
}
summary::-webkit-details-marker { display:none; }
.pick summary {
  padding:12px 14px;
  min-height:48px;
}
.pick[open] summary { border-bottom:1px solid var(--line); }
.pick[open] summary span { transform:rotate(90deg); }
.pick>div {
  padding:11px 13px;
  font-size:13px;
}
.pick>div p { margin-top:4px; }
.example .sample-note {
  margin-top:14px;
  font-size:12px;
}
.reading,.questions,.credits,.comments {
  border-top:1px solid var(--line);
  margin-top:40px;
  padding-top:30px;
}
.columns {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(22px,4vw,55px);
  margin-top:22px;
}
.questions h2 { margin-bottom:17px; }
.faq { border-bottom:1px solid var(--line); }
.faq summary {
  min-height:56px;
  padding:14px 5px 14px 0;
  font-size:17px;
}
.faq summary span {
  flex-shrink:0;
  position:relative;
  width:16px;
  height:16px;
}
.faq summary span:before,.faq summary span:after {
  content:"";
  position:absolute;
  top:7px;
  left:2px;
  width:12px;
  height:2px;
  background:currentColor;
}
.faq summary span:after { transform:rotate(90deg); }
.faq[open] summary span:after { display:none; }
.faq>p {
  max-width:75ch;
  color:var(--soft);
  padding:0 20px 18px 0;
}
.credits p,.comments>p {
  max-width:77ch;
  color:var(--soft);
  margin-top:13px;
}
.comments form {
  max-width:620px;
  display:grid;
  gap:6px;
  margin:18px 0;
}
.comments label {
  font-size:14px;
  font-weight:650;
}
.comments label span,.quiet {
  color:var(--soft);
  font-size:13px;
}
.comments input,.comments textarea {
  background:var(--white);
  border:1px solid var(--line);
  border-radius:5px;
  padding:10px 12px;
  margin-bottom:7px;
  width:100%;
  max-width:100%;
}
.comments textarea { resize:vertical; }

.send {
  justify-self:start;
  padding:8px 20px;
  min-height:43px;
}
.note {
  max-width:65ch;
  border-top:1px solid var(--line);
  padding:14px 0;
}
.note button {
  font-weight:650;
  text-decoration:underline;
}
.info-page {
  max-width:750px;
  margin:50px auto 80px;
}
.back {
  font-size:14px;
  font-weight:650;
}
.info-page h1 { margin:15px 0 12px; }
.lede {
  font-size:20px;
  color:var(--soft);
}
.prose { margin-top:28px; }
.prose h2 {
  margin:28px 0 10px;
  font-size:32px;
}
.prose p,.prose li {
  margin:8px 0;
  line-height:1.65;
}
.foot {
  margin-top:54px;
  border-top:1px solid var(--line);
  background:var(--wash);
}
.wordmark.small {
  font-size:16px;
}
.foot-row {
  min-height:80px;
}
@media(min-width:1500px) {
  .stage {
    height:580px;
  }
}
@media(max-width:960px) {
  .wrap {
    width:calc(100% - 48px);
  }
  .deck {
    grid-template-columns:minmax(0,2.4fr) minmax(205px,.88fr);
    gap:15px;
  }
  .intro-line {
    max-width:270px;
  }
  .depth {
    padding:21px;
  }
  .stage {
    height:445px;
  }
  .tiers li {
    padding:10px 0;
  }
  .guide-grid {
    gap:28px;
  }
}
@media(max-width:700px) {
  .wrap {
    width:calc(100% - 32px);
  }
  .mast-row {
    min-height:58px;
    gap:12px;
  }
  .wordmark {
    gap:7px;
    font-size:16px;
  }
  .wordmark img {
    width:28px;
    height:28px;
  }
  .mast nav {
    gap:13px;
  }
  .mast nav a {
    font-size:13px;
  }
  .intro {
    display:block;
    margin:21px 0 16px;
  }
  .intro-line {
    max-width:43ch;
    margin-top:7px;
    font-size:16px;
  }
  .genre {
    font-size:12px;
  }
  h1 {
    font-size:clamp(49px,11vw,68px);
  }
  .deck {
    grid-template-columns:1fr;
    gap:20px;
  }
  .stage {
    height:clamp(590px,80svh,720px);
  }
  .cover {
    align-items:start;
    padding-top:clamp(262px,45svh,380px);
  }
  .scene { object-position:68% center; }
  .stage[data-gf-state="playing"] {
    scroll-margin-top:8px;
  }
  .depth {
    padding:22px;
  }
  .chart-head {
    margin-top:15px;
  }
  .depth>p {
    margin-bottom:5px;
  }
  .tiers li {
    padding:7px 0;
  }
  .max-depth {
    display:flex;
    align-items:baseline;
    gap:10px;
    margin-top:14px;
  }
  .max-depth strong {
    font-size:38px;
  }
  .guide-grid,.columns {
    grid-template-columns:1fr;
  }
  .guide-grid {
    margin-top:32px;
    gap:20px;
  }
  .columns {
    gap:18px;
  }
  .reading,.questions,.credits,.comments {
    margin-top:28px;
    padding-top:23px;
  }
  .go {
    min-height:52px;
    font-size:18px;
    padding:8px 25px;
  }
  .stage:fullscreen {
    height:100%;
  }
  .creditline {
    font-size:12px;
  }
  .foot-row {
    align-items:flex-start;
    flex-direction:column;
    gap:5px;
    padding:18px 0;
  }
  .foot nav {
    gap:21px;
    flex-wrap:wrap;
  }
  .foot {
    margin-top:35px;
  }
  .info-page {
    margin-top:28px;
  }
}

@media(max-width:380px) {
  .mast nav {
    gap:9px;
  }
  .mast nav a {
    font-size:12px;
  }
  .wordmark {
    font-size:15px;
  }
  .wordmark img {
    width:25px;
    height:25px;
  }
  .tools button {
    padding:4px 8px;
  }
  .picks {
    grid-template-columns:1fr;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior:auto!important;
    animation:none!important;
    transition:none!important;
  }
}
