@font-face{font-family:Fraunces;font-style:normal;font-weight:700;font-display:swap;src:url(/_a/fraunces-700-latin.23ce285c11.woff2) format("woff2")}
@font-face{font-family:Fraunces;font-style:italic;font-weight:700;font-display:swap;src:url(/_a/fraunces-700i-latin.36e3f7c610.woff2) format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:400 700;font-display:swap;src:url(/_a/inter-latin.c940764593.woff2) format("woff2")}
:root{
  --paper:#f7f1e3;--card:#fffaf0;--ink:#1f2430;--muted:#4d5364;--line:#e2d6bf;
  --on-dark:#fff;--on-dark-soft:#f3ead6;--surface:var(--card);
  --tomato:#b23a20;--tomato-dark:#8f2c17;--mustard:#f2b134;--mint:#2f8a62;--plum:#6b3f69;
  --sea1:#127083;--sea2:#0b4a5c;--sea3:#062a38;--foam:#dff5ef;--kelp:#1f6b4f;
  --radius:14px;--shadow:0 2px 0 rgba(31,36,48,.08),0 10px 24px -14px rgba(31,36,48,.35);
  --serif:Fraunces,Georgia,"Iowan Old Style","Times New Roman",serif;
  --sans:Inter,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.65 var(--sans)}
a{color:var(--tomato-dark)}
a:hover{color:var(--tomato)}
img{max-width:100%;height:auto}
.wrap{max-width:1060px;margin:0 auto;padding:0 16px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px}
.skip:focus{left:12px;top:12px;background:var(--ink);color:#fff;padding:8px 12px;border-radius:8px;z-index:9}

/* header */
.masthead{background:var(--ink);color:#fff}
.masthead-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font:700 19px/1 var(--serif)}
.brand:hover{color:#fff}
.brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--mustard);color:var(--ink);font:700 19px/1 var(--serif);transform:rotate(-6deg)}
.brand-name em{font-style:italic;color:var(--mustard)}
.topnav{display:flex;gap:4px;flex-wrap:wrap}
.topnav a{color:var(--on-dark-soft);text-decoration:none;font-size:15px;padding:6px 10px;border-radius:8px}
.topnav a:hover{background:rgba(255,255,255,.1);color:#fff}

/* hero + stage */
.hero{padding:18px 0 6px}
.hero h1,.page-head h1{font:700 clamp(28px,6vw,44px)/1.1 var(--serif);margin:0 0 6px;letter-spacing:-.01em}
.hero .lede{margin:0;color:var(--muted);font-size:16px;max-width:60ch}
.stage{position:relative;width:100%;height:min(80svh,620px);min-height:500px;margin:12px 0 0;border-radius:var(--radius);overflow:hidden;background:var(--sea3);box-shadow:var(--shadow)}
@media (min-width:760px){.stage{height:auto;aspect-ratio:16/10;max-height:640px}}
.stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:var(--sea2)}
/* Landscape phones: the frame takes the visible screen height (with iPhone Safari's bars), so prompt, answer bar and diver scene all fit on screen at once (i_fd76, owner's real-phone test 2026-11-26). */
@media (orientation:landscape) and (max-height:500px){.stage{height:calc(100svh - 12px);min-height:240px;max-height:none;aspect-ratio:auto}}

/* ocean backdrop shared by the home cover and the game */
.ocean{background:
  radial-gradient(90% 55% at 50% -8%,rgba(223,245,239,.38) 0%,rgba(223,245,239,0) 60%),
  linear-gradient(180deg,var(--sea1) 0%,var(--sea2) 48%,var(--sea3) 100%)}
.rays{position:absolute;inset:0;pointer-events:none;opacity:.5;
  background:repeating-linear-gradient(104deg,rgba(255,255,255,0) 0 46px,rgba(223,245,239,.10) 46px 70px,rgba(255,255,255,0) 70px 128px);
  -webkit-mask-image:linear-gradient(180deg,black 0%,transparent 70%);mask-image:linear-gradient(180deg,black 0%,transparent 70%);
  animation:sway 9s ease-in-out infinite alternate}
@keyframes sway{to{transform:translateX(-24px)}}
.bubbles{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.bubbles i{position:absolute;bottom:-20px;width:10px;height:10px;border-radius:50%;border:1.5px solid rgba(223,245,239,.55);background:rgba(223,245,239,.08);animation:rise 9s linear infinite}
.bubbles i:nth-child(1){left:6%;animation-delay:-1s}
.bubbles i:nth-child(2){left:17%;width:6px;height:6px;animation-duration:7s;animation-delay:-4s}
.bubbles i:nth-child(3){left:31%;width:14px;height:14px;animation-duration:11s;animation-delay:-6s}
.bubbles i:nth-child(4){left:48%;width:7px;height:7px;animation-duration:8s;animation-delay:-2s}
.bubbles i:nth-child(5){left:63%;animation-duration:10s;animation-delay:-7s}
.bubbles i:nth-child(6){left:76%;width:5px;height:5px;animation-duration:6s;animation-delay:-3s}
.bubbles i:nth-child(7){left:88%;width:12px;height:12px;animation-duration:12s;animation-delay:-5s}
.bubbles i:nth-child(8){left:95%;width:6px;height:6px;animation-duration:7.5s;animation-delay:-.5s}
@keyframes rise{0%{transform:translate(0,0);opacity:0}10%{opacity:1}50%{transform:translate(8px,-55vh)}100%{transform:translate(-6px,-110vh);opacity:0}}
.seabed{position:absolute;left:0;right:0;bottom:0;height:90px;pointer-events:none}
.seabed .dune{position:absolute;bottom:0;left:0;width:100%;height:42px}
.seabed .kelp{position:absolute;bottom:14px;width:40px;height:90px;opacity:.75;transform-origin:50% 100%;animation:kelp 6s ease-in-out infinite alternate}
.seabed .kelp.l{left:3%}
.seabed .kelp.r{right:4%;height:70px;animation-delay:-3s}
@keyframes kelp{from{transform:rotate(-4deg)}to{transform:rotate(4deg)}}

.cover{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:20px;cursor:pointer;color:#fff;text-align:center;overflow:hidden}
.cover>*{position:relative}
.cover .rays,.cover .bubbles,.cover .seabed{position:absolute}
.cover-sub{width:107px;height:auto;animation:bob 3.2s ease-in-out infinite;filter:drop-shadow(0 8px 10px rgba(0,0,0,.3))}
.cover-card{width:min(420px,100%);background:var(--card);color:var(--ink);border-radius:14px;padding:16px 16px 14px;text-align:left;transform:rotate(-1.2deg);box-shadow:0 18px 30px -18px rgba(0,0,0,.6)}
.cover-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted)}
.chip{display:inline-block;font:700 11px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;padding:5px 8px;border-radius:99px;background:var(--mustard);color:var(--ink)}
.cover-q{font:700 21px/1.25 var(--serif);margin:10px 0 12px}
.cover-input{border:2px dashed var(--line);border-radius:10px;padding:10px 12px;color:var(--muted);font-size:15px}
.cover-time{font:700 14px/1 var(--sans);color:var(--tomato)}
.cover-finds{display:flex;gap:6px;justify-content:center;font-size:22px;line-height:1}
.cover-finds span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(223,245,239,.14);border:1.5px solid rgba(223,245,239,.35)}
.play-btn{appearance:none;border:0;border-radius:999px;background:var(--tomato);color:#fff;font:700 19px/1 var(--sans);padding:16px 28px;cursor:pointer;box-shadow:0 6px 0 var(--tomato-dark)}
.play-btn:hover{background:var(--tomato-dark)}
.play-btn:active{transform:translateY(3px);box-shadow:0 3px 0 var(--tomato-dark)}
.cover small{color:var(--foam);font-size:13px;opacity:.9}
.loader{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:var(--foam);font-size:15px}
[data-gf-state="loading"] .loader{display:flex}
.loader-dots{display:flex;gap:10px;align-items:flex-end;height:40px}
.loader-dots span{width:14px;height:14px;border-radius:50%;border:2px solid var(--foam);animation:hop 1.1s infinite ease-in-out}
.loader-dots span:nth-child(2){width:10px;height:10px;animation-delay:.18s}
.loader-dots span:nth-child(3){width:18px;height:18px;animation-delay:.36s}
@keyframes hop{0%,100%{transform:translateY(0);opacity:.5}50%{transform:translateY(-20px);opacity:1}}
@keyframes bob{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-8px) rotate(2deg)}}

/* action row */
.actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;align-items:center}
.btn{appearance:none;display:inline-flex;align-items:center;gap:6px;border:2px solid var(--ink);background:var(--card);color:var(--ink);border-radius:999px;padding:8px 14px;font:600 15px/1 var(--sans);cursor:pointer;text-decoration:none}
.btn:hover{background:#fff;color:var(--ink)}
.btn[aria-pressed="true"]{background:var(--tomato);border-color:var(--tomato);color:#fff}
.btn-quiet{border-color:var(--line)}
.share-msg{font-size:14px;color:var(--mint)}

/* content */
.content{padding:8px 0 40px}
.prose{max-width:720px}
.prose h2{font:700 26px/1.2 var(--serif);margin:36px 0 10px}
.prose h3{font:700 19px/1.3 var(--sans);margin:22px 0 6px}
.prose p,.prose li{max-width:68ch}
.prose table{border-collapse:collapse;width:100%;margin:12px 0;font-size:15px;background:var(--card)}
.prose th,.prose td{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}
.prose th{background:var(--surface)}
.prose blockquote{margin:16px 0;padding:10px 16px;border-left:4px solid var(--mustard);background:var(--card)}
.page-head{padding:22px 0 4px}
.page-head .lede{color:var(--muted);margin:0}
.crumbs{font-size:14px;color:var(--muted);margin:14px 0 0}
.crumbs a{color:var(--muted)}

/* daily */
.prompt-list{list-style:none;padding:0;margin:16px 0;display:grid;gap:10px;counter-reset:p}
.prompt-list li{counter-increment:p;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px 14px 12px 54px;position:relative}
.prompt-list li::before{content:counter(p);position:absolute;left:14px;top:12px;width:28px;height:28px;border-radius:8px;background:var(--ink);color:#fff;display:grid;place-items:center;font:700 14px/1 var(--sans)}
.prompt-list .q{font:700 18px/1.35 var(--serif);display:block}
.prompt-list .meta{font-size:14px;color:var(--muted)}
.day-nav{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:20px 0}
.cta{display:inline-block;background:var(--tomato);color:#fff;text-decoration:none;font-weight:700;padding:12px 20px;border-radius:999px;box-shadow:0 4px 0 var(--tomato-dark)}
.cta:hover{color:var(--on-dark);background:var(--tomato-dark)}
.archive-list{list-style:none;padding:0;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.archive-list a{display:block;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:10px 12px;text-decoration:none;color:var(--ink)}
.archive-list a:hover{border-color:var(--tomato)}
.archive-list small{display:block;color:var(--muted)}

/* comments */
.talk{max-width:720px;margin:40px 0 0;padding:20px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}
.talk h2{font:700 24px/1.2 var(--serif);margin:0 0 4px}
.talk form{display:grid;gap:8px;margin:14px 0}
.talk input,.talk textarea{font:inherit;border:2px solid var(--line);border-radius:10px;padding:10px 12px;background:#fff;width:100%}
.talk textarea{min-height:84px;resize:vertical}
.talk button[type=submit]{justify-self:start}
.reply-bar{font-size:14px;color:var(--muted)}
.reply-bar[hidden]{display:none}
[data-gf-comment-form]:not([data-gf-replying]) .reply-bar{display:none}
.c-list{display:grid;gap:12px}
.c-list[data-gf-empty]::after{content:"No comments yet. What was the rarest answer you landed? Tell the next player.";color:var(--muted);font-size:15px}
.c-list[data-gf-off]{display:none}
.c-item{border-top:1px dashed var(--line);padding-top:10px}
.c-item[data-gf-owner]{background:var(--surface);border-radius:10px;padding:10px;border-top:0}
.c-head{font-size:14px;color:var(--muted);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.c-name{font-weight:700;color:var(--ink)}
.c-owner{font:700 11px/1 var(--sans);text-transform:uppercase;letter-spacing:.06em;background:var(--ink);color:#fff;padding:4px 6px;border-radius:6px}
.c-text{margin:4px 0;white-space:pre-wrap}
.c-replies{margin-left:16px;display:grid;gap:8px}
.c-reply{background:none;border:0;padding:0;color:var(--tomato-dark);cursor:pointer;font:600 14px var(--sans)}

/* footer */
.site-foot{background:var(--surface);border-top:1px solid var(--line);padding:28px 0 10px;margin-top:20px;font-size:15px}
.foot-grid{display:grid;gap:18px;grid-template-columns:1fr}
@media (min-width:760px){.foot-grid{grid-template-columns:2fr 1fr 1fr}}
.foot-grid nav{display:grid;gap:6px;align-content:start}
.foot-grid a{color:var(--ink)}
.foot-brand{font:700 18px var(--serif);margin:0 0 4px}
.foot-note{color:var(--muted);margin:0;max-width:44ch}
.foot-copy{color:var(--muted);font-size:13px}

.kw-msg{color:var(--muted)}
@media (prefers-reduced-motion:reduce){.rays,.bubbles i,.seabed .kelp,.cover-sub,.loader-dots span{animation:none!important}.bubbles{display:none}}
.prose details{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:8px 12px;margin:6px 0 12px}
.prose summary{cursor:pointer;font-weight:700;color:var(--sea2)}
.prose summary:focus-visible{outline:2px solid var(--sea1);outline-offset:2px}
.prose details p{margin:6px 0 0}
.recent-list li{margin:4px 0}


/* Typography — the families are declared by the @font-face rules at the top of this file */
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
h1,h2,h3,h4,.brand,.brand-name,.brand-mark{font-family:Fraunces,Georgia,"Iowan Old Style","Times New Roman",serif}
.prose h2,.prose h3,.page-head h1{letter-spacing:-.01em}

/* Hover states stay above 4.5:1 on their own background */
.cta:hover,.play-btn:hover,.btn:hover{background:var(--tomato-dark);color:var(--on-dark)}


/* polish: mobile overflow, small-text contrast, action bar as one block */
.cover-time{color:var(--on-dark)}
.cover small{color:var(--on-dark-soft)}
.hero .lede{max-width:66ch}
.actions{background:var(--surface);border-radius:var(--radius);padding:8px 12px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.prose table{display:block;overflow-x:auto;max-width:100%}
@media (max-width:480px){
  .hero h1{font-size:clamp(26px,7.4vw,34px);line-height:1.12;margin-bottom:14px}
  .hero .lede{font-size:16px;line-height:1.55}
  .wrap{padding:0 18px}
  body,.prose,.lede,.cover-q{overflow-wrap:break-word}
}


/* readability pass: line length, table rules, input affordance, mobile first screen */
.prose{line-height:1.7}
.prose p,.prose li{max-width:72ch}
.prose table{width:100%;border-collapse:collapse}
.prose table th,.prose table td{border-color:var(--line)}
.cover-input{border-color:var(--on-dark-soft);color:var(--muted)}
.actions .btn{border-color:var(--line)}
@media (max-width:480px){
  .topnav a{font-weight:600}
  .prose p,.prose li{max-width:none}
}


/* final polish: reading measure, table rhythm, input affordance, mobile spacing */
.prose{max-width:70ch}
.prose table th,.prose table td{padding:12px 14px;border-bottom:1px solid var(--line)}
.prose table th{background:var(--paper);text-align:left}
.cover-input{border-width:2px;transition:border-color 160ms ease}
.cover-input:hover,.cover-input:focus-visible{border-color:var(--tomato-dark)}
.cover-card{row-gap:14px}
@media (max-width:480px){
  .hero .lede{font-size:15px;line-height:1.5}
  .cover-card{row-gap:12px;padding:16px}
}



/* date lists: real server-rendered links to the daily set pages */
.day-list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--line);
}
.day-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .7rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--line);
}
.day-list .day-date {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.day-list .day-date:hover {
  color: var(--tomato-dark);
  border-bottom-color: currentColor;
}
.day-list .day-date:focus-visible {
  outline: 2px solid var(--sea1);
  outline-offset: 2px;
}
.day-list .day-first {
  color: var(--ink);
}
.day-list .day-cats {
  margin-left: auto;
  color: var(--muted);
  font-size: .82em;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.day-list .day-stats {
  order: 9;
  flex-basis: 100%;
  color: var(--muted);
  font-size: .88em;
}
.page-head .own-set{color:var(--muted);margin:6px 0 0;font-size:.92em}
@media (max-width: 620px) {
  .day-list .day-cats {
    margin-left: 0;
  }
  .day-list .day-first {
    flex-basis: 100%;
    color: var(--muted);
    font-size: .92em;
  }
}



/* date lists: refinements after the design review */
.day-list {
  max-width: none;
}
.day-list li {
  padding: .85rem 0;
}
.day-list .day-cats {
  margin-left: auto;
  padding: .15rem .55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .02em;
  text-transform: none;
  white-space: nowrap;
}
@media (max-width: 620px) {
  .day-list .day-date {
    font-size: 1.125rem;
    line-height: 1.3;
  }
  .day-list li {
    padding: .75rem 0;
  }
  .day-list .day-cats {
    margin-left: 0;
    font-size: .75rem;
    white-space: normal;
  }
  .topnav {
    gap: 14px;
  }
  .topnav a {
    padding: 6px 2px;
  }
}


/* 2026-11-17 审稿修订：手机端封面卡呼吸感、封面时间胶囊对比度、长文表格宽度、导航点击区 */
.cover-time{color:var(--sea3);background:var(--card);border:1px solid var(--line);padding:2px 8px;border-radius:6px;font-size:12px;font-weight:700}
.cover-input{color:var(--ink)}
.cover-input::placeholder{color:var(--muted)}
.prose table{width:auto;max-width:760px;table-layout:fixed}
.prose th,.prose td{padding:10px 12px;border-bottom:1px solid var(--line)}
.prose th{background:var(--card)}
.prose h2{margin-top:44px}
.prose ol:not(.prompt-list){max-width:720px}
.prose ol:not(.prompt-list){background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px 18px 18px 42px}
.prose ol:not(.prompt-list) li+li{margin-top:8px}
@media (max-width: 480px){
  h1{font-size:clamp(28px,7vw,40px);line-height:1.15}
  .hero h1{margin-bottom:12px}
  .hero .lede{margin-top:0}
  .cover{padding:18px 14px}
  .cover .play-btn{width:auto;max-width:280px;margin:0 auto 16px;padding-inline:26px}
  .cover small{display:block;margin:0 auto;max-width:260px;line-height:1.45}
  .topnav{gap:20px}
  .topnav a{padding:8px 10px}
  .prose ol:not(.prompt-list){padding:16px 16px 16px 36px}
}


/* date pages: spoiler boxes on date pages, linkable prompts on /answers */
.spoiler-warn{background:rgba(242,177,52,.18);border-left:4px solid var(--mustard);border-radius:8px;padding:10px 14px}
.prose details.spoiler{border-color:var(--tomato-dark)}
.prose details.spoiler summary{color:var(--tomato-dark)}
.prompt-list a.q{color:var(--ink);text-decoration:none}
.prompt-list a.q:hover{text-decoration:underline}
.prompt-list li:target{background:rgba(242,177,52,.28);border-radius:6px}
.prompt-list li{scroll-margin-top:16px}


/* polish 2026-11-17: tables, list rhythm, secondary buttons, small screens */
.prose table{max-width:100%;width:100%;margin:26px 0}
.prose td:empty,.prose th:empty{display:none}
.prose ol,.prose ul{margin:22px 0 30px;padding-left:24px}
.prose li+li{margin-top:8px}
.actions{flex-wrap:wrap;gap:10px}
.actions .btn{border:1px solid var(--line);background:var(--card);color:var(--ink);height:44px;padding:0 18px}
.actions .btn:hover{background:#fff;border-color:var(--muted);transform:translateY(-1px)}
@media (max-width:640px){
  .masthead-row{padding-block:4px}
  .hero{padding-top:18px}
  .hero h1{font-size:clamp(30px,8.4vw,38px)}
  .prose table{display:block;overflow-x:auto}
}


/* polish 2: measure and list rhythm */
.hero .lede{max-width:60ch}
.prose{max-width:760px}
.prose p{max-width:68ch}
.prose li{line-height:1.65;margin-bottom:.8rem}
.prose table+p{margin-top:18px}
@media (max-width:640px){.hero .lede{margin-bottom:1.5rem}.hero .actions{margin-top:1.1rem}}


/* polish 3: list spacing fallback + mobile lede */
ol li,ul li{margin-bottom:12px}
ol,ul{padding-left:24px}
table{max-width:100%}
table th{text-align:left}
@media (max-width:640px){.hero .lede{max-width:92%;margin-bottom:16px}}


/* Daily set strip on the home page (added 2026-11-18) */
.sets-strip{margin-top:64px;border-top:1px solid var(--line, rgb(43 33 24 / .12));padding-top:40px}
.sets-strip h2{font-size:clamp(22px,3vw,28px);line-height:1.2;letter-spacing:-.01em;margin:0 0 10px;text-wrap:balance}
.sets-lede{color:var(--muted);max-width:68ch;margin:0 0 18px;font-size:15px;line-height:1.6}
.sets-list{list-style:none;margin:0;padding:0}
.sets-list li{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;padding:13px 0;border-bottom:1px solid var(--line, rgb(43 33 24 / .12))}
.sets-list li:first-child{padding-top:0}
.sets-list li a{font-weight:600;text-decoration:none;color:inherit;border-bottom:1px solid transparent;transition:border-color 160ms ease}
.sets-list li a:hover,.sets-list li a:focus-visible{border-bottom-color:currentColor}
.sets-list li span{color:var(--muted);font-size:15px}
.sets-more{margin:20px 0 0;font-size:15px}
@media (max-width:600px){.sets-strip{margin-top:44px;padding-top:28px}.sets-list li{flex-direction:column;gap:2px;padding:12px 0}.sets-list li span{font-size:14px}}


/* Home daily-set strip: two columns on desktop, prompt on its own line */
.sets-list li span{display:block;width:100%;font-size:14px;line-height:1.45;margin-top:2px;color:var(--muted)}
@media (min-width:760px){
  .sets-list{display:grid;grid-template-columns:repeat(2,1fr);column-gap:48px}
  .sets-list li{padding:14px 0}
}


/* Pass 2026-11-18: mobile nav on one row, table fills its column, sets list rhythm */
@media (max-width:620px){
  .masthead-row{flex-wrap:nowrap;gap:10px;align-items:center}
  .topnav{flex:1 1 auto;min-width:0;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:16px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;font-size:14px}
  .topnav::-webkit-scrollbar{display:none}
  .topnav a{white-space:nowrap;padding:6px 0}
}
.prose table{width:100%;table-layout:fixed;border-collapse:collapse}
.prose table th,.prose table td{padding:12px 14px;text-align:left;vertical-align:top}
.prose table th:last-child,.prose table td:last-child{text-align:right}
.prose table thead th{border-bottom:1px solid var(--line, rgb(43 33 24 / .12));font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.sets-list li{padding:15px 0;line-height:1.6}
.sets-list li a{font-size:16px}


/* Mobile nav: fix left-edge clipping (flex-end + overflow cut the first item) */
@media (max-width:620px){
  .masthead-row{gap:8px}
  .brand{flex:0 0 auto}
  .brand-name{font-size:15px;white-space:nowrap}
  .topnav{justify-content:flex-start;gap:12px;font-size:13px;padding-left:2px}
  .topnav a{padding:6px 0}
}


/* Mobile: drop the brand wordmark so the four nav links fit on one row without clipping */
@media (max-width:620px){
  .brand-name{display:none}
  .brand-mark{width:30px;height:30px;font-size:17px}
  .masthead-row{gap:10px}
  .topnav{gap:11px;font-size:13.5px}
}


/* mobile masthead: never clip the last nav item */
@media (max-width:640px){
  .masthead-row{flex-wrap:wrap}
  .topnav{flex-wrap:wrap;justify-content:flex-start;overflow:visible;gap:8px 12px;max-width:100%}
  .topnav a{white-space:nowrap}
}
.sets-list .set-link{font-weight:700;text-decoration:none}
.sets-list .set-link:hover{text-decoration:underline}


/* masthead: brand mark + four nav items stay on ONE row at 390px */
@media (max-width:640px){
  .masthead-row{flex-wrap:wrap;row-gap:6px;padding-top:10px}
  .brand{gap:8px;font-size:17px}
  .brand-name{display:inline}
  .topnav{flex:1 0 100%;flex-wrap:nowrap;justify-content:space-between;gap:6px;font-size:13px;overflow:visible;padding:4px 0 8px}
  .topnav a{white-space:nowrap;padding:0;font-weight:500;opacity:.85}
  .cover-q{font-size:20px}
  .cover-input{font-size:18px}
}

/* prose rhythm + tables */
.prose h2{margin-top:48px;padding-top:28px;border-top:1px solid var(--line)}
.prose h2:first-child{margin-top:0;padding-top:0;border-top:0}
.prose p,.prose li{max-width:68ch}
.prose ul li,.prose ol li{line-height:1.7;margin-bottom:8px}
.prose table{display:table;width:100%;max-width:720px;border-collapse:collapse;table-layout:fixed;overflow:visible}
.prose table th,.prose table td{width:auto}
@media (max-width:640px){.prose table{display:block;overflow-x:auto}}
.prose thead th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);text-align:left;padding:8px 10px;border-bottom:1px solid var(--line)}
.prose tbody td{padding:11px 10px;border-bottom:1px solid var(--line);vertical-align:top}
.prose tbody td:last-child{text-align:right;font-variant-numeric:tabular-nums}

/* cover card hierarchy */
.cover-q{font-size:clamp(20px,2.4vw,26px);line-height:1.25}
.cover-input{border:1.5px dashed var(--line);background:var(--card)}
.cover-time{font-size:12px;opacity:.75}
.cover small{color:var(--on-dark-soft);opacity:.9}

/* Batch A: the home cover is prompt 1 (a real input), archive rows and date-page H1 carry a Play link */
.cover-input{display:block;width:100%;box-sizing:border-box;font:600 18px/1.2 var(--sans);border:2px solid var(--sea2);border-style:solid;background:#fff;color:var(--ink);border-radius:10px;padding:11px 12px}
.cover-input:focus{outline:3px solid var(--mustard);outline-offset:1px}
.cover-input::placeholder{color:var(--muted)}
.cover-note{margin:8px 0 0;font:600 13px/1.3 var(--sans);color:var(--sea2)}
.cover-card{cursor:text}
.h1-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 18px}
.h1-row h1{margin:0}
.h1-play{font:700 16px/1.3 var(--sans);color:var(--tomato-dark);text-decoration:none;white-space:nowrap;border-bottom:2px solid currentColor}
.h1-play:hover{color:var(--tomato)}
.h1-play:focus-visible{outline:2px solid var(--sea1);outline-offset:3px}
.day-list .day-play{margin-left:.4rem;font-weight:700;color:var(--tomato-dark);text-decoration:none;border:2px solid var(--tomato-dark);border-radius:999px;padding:.2rem .8rem;white-space:nowrap}
.day-list .day-play:hover{background:var(--tomato-dark);color:var(--on-dark)}
.day-list .day-play:focus-visible{outline:2px solid var(--sea1);outline-offset:2px}
@media (max-width:620px){.day-list .day-play{margin-left:0}}

/* Cover = the dive scene before Start (2026-11-20, owner: 重做封面): wreck, salvage glow, fish, rail and score as in the game */
.cover{padding-top:58px}
.cover .cv-deco,.cover .cv-hud{position:absolute}
.cv-deco{inset:0;pointer-events:none;overflow:hidden}
.cv-wreck{position:absolute;right:-14%;bottom:34px;width:min(92%,560px);height:auto;opacity:.6}
.cv-rocks{position:absolute;left:-4%;bottom:18px;width:min(46%,260px);height:auto;opacity:.85}
.cv-glow{position:absolute;right:16%;bottom:40px;width:110px;height:46px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,214,120,.75),rgba(255,190,80,.25) 55%,transparent);animation:cvglow 3.6s ease-in-out infinite}
.cv-fish{position:absolute;left:0;width:var(--w);height:calc(var(--w)*.46);color:#9fd9d2;opacity:.35;animation:cvswim var(--t) linear infinite;animation-delay:var(--d)}
.cv-fish{transform:scaleX(-1)}.cv-fish.r{animation-direction:reverse;transform:none}
.cv-gauge{display:none;position:absolute;right:24px;top:74px;bottom:96px;width:10px;border-radius:99px;background:rgba(2,24,32,.55);border:1.5px solid rgba(223,245,239,.35)}
.cv-hud{top:12px;left:12px;right:12px;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.cv-rail{display:flex;gap:6px}
.cv-rail i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font:700 11px/1 var(--sans);font-style:normal;color:var(--foam);background:rgba(2,24,32,.5);border:1.5px solid rgba(223,245,239,.3)}
.cv-rail i.on{border-color:var(--mustard);box-shadow:0 0 0 2px rgba(242,177,52,.35)}
.cv-score{font:700 12px/1 var(--sans);color:#fff;background:rgba(2,24,32,.55);border-radius:99px;padding:6px 10px}
@media (min-width:600px){.cv-hud{justify-content:space-between}.cv-gauge{display:block}.cv-rail i{width:26px;height:26px}}
@keyframes cvglow{0%,100%{opacity:.65;transform:scale(.94)}50%{opacity:1;transform:scale(1.06)}}
@keyframes cvswim{from{translate:-60px 0}to{translate:min(1100px,110vw) 0}}
@media (prefers-reduced-motion:reduce){.cv-glow,.cv-fish{animation:none!important}.cv-fish{display:none}}


/* inner pages on phones: two-line H1 so the first link shows in the first screen (2026-11-23) */
@media (max-width:480px){
  .page-head{padding-top:14px}
  .page-head h1{font-size:23px;line-height:1.2;margin-bottom:8px}
  .page-head .lede{font-size:15px;line-height:1.5}
  .page-head .crumbs{margin-bottom:6px}
}

/* Exit button inside the game frame: the engine shows it only while the frame is fullscreen (data-gf-exit-fullscreen). */
.fs-exit{position:absolute;bottom:max(10px,env(safe-area-inset-bottom));right:max(10px,env(safe-area-inset-right));z-index:30;min-height:40px;padding:8px 14px;border:1px solid rgba(255,255,255,.55);border-radius:999px;background:rgba(0,0,0,.62);color:#fff;font-weight:600;font-size:14px;line-height:1.2;font-family:inherit;cursor:pointer}
.fs-exit:hover,.fs-exit:focus-visible{background:rgba(0,0,0,.8)}
.fs-exit[hidden]{display:none}
@media (max-height:500px){.fs-exit{min-height:32px;padding:6px 10px;font-size:12px}}
/* Portrait fullscreen: give the exit button its own strip under the game so it never covers in-game controls (Go button, keyboards). */
@media (max-aspect-ratio:1/1){.stage[data-gf-fs="1"] iframe{height:calc(100% - 60px - env(safe-area-inset-bottom)) !important}}
/* Narrow landscape fullscreen (under 860px wide): a round icon button lifted above the answer bar, so it clears the Go button without shrinking the game. */
@media (min-aspect-ratio:1/1) and (max-width:860px){.fs-exit{width:40px;height:40px;min-height:40px;padding:0;bottom:calc(100px + env(safe-area-inset-bottom));border-radius:50%;font-size:0;line-height:40px;text-align:center}.fs-exit::before{content:"\2715";content:"\2715" / "";font-size:18px}}
/* Landscape fullscreen 660px wide or less: the answer bar (max 560px, centred) reaches under the round button and grows when a rejected/Note line appears, so give the button its own 46px strip under the game, as in portrait (2026-11-25, i_1bda47cd25d141). */
/* In fullscreen the strip under the game must not show the cover: the engine sets [hidden] on it but .cover{display:flex} overrode that (2026-11-25). Scoped to fullscreen so the cover-to-game typing handoff is untouched. */
.stage[data-gf-fs="1"] .cover[hidden]{display:none}
@media (min-aspect-ratio:1/1) and (max-width:660px){.stage[data-gf-fs="1"] iframe{height:calc(100% - 46px - env(safe-area-inset-bottom)) !important}.fs-exit{bottom:calc(3px + env(safe-area-inset-bottom))}}
/* Landscape phones (up to 460px tall): the game lays the diver scene out on the left (partials/game-css.html), so the round exit button sits in the scene's empty bottom-left corner and the game keeps the full height (2026-11-26, i_fd76). */
@media (orientation:landscape) and (max-height:460px) and (min-width:540px){.stage[data-gf-fs="1"] iframe{height:100% !important}.fs-exit{left:max(20px,env(safe-area-inset-left));right:auto;bottom:max(18px,env(safe-area-inset-bottom));width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;font-size:0;line-height:40px;text-align:center}.fs-exit::before{content:"\2715";content:"\2715" / "";font-size:18px}}
/* Pseudo fullscreen for browsers without element fullscreen (iPhone Safari): script.js pins the frame over the visible screen and shows the same exit button. */
.stage.kw-pfs{position:fixed;inset:0;z-index:2147483000;width:auto;height:auto;min-height:0;max-height:none;aspect-ratio:auto;margin:0;border-radius:0}
html.kw-pfs,html.kw-pfs body{overflow:hidden}

/* official answer pages: Q1-Q7 jump buttons + copyable answer (owner 2026-11-27) */
.q-jump{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px}
.q-jump a{display:inline-flex;align-items:center;justify-content:center;min-width:52px;min-height:44px;padding:0 14px;border-radius:999px;background:var(--sea1);color:var(--on-dark);font-weight:700;text-decoration:none;box-shadow:0 3px 0 var(--sea2)}
.q-jump a:hover,.q-jump a:focus-visible{background:var(--sea2);color:var(--on-dark)}
.q-jump-label{font-weight:700;margin:18px 0 0}
.q-jump-m{display:none}
@media (max-width:759px){.q-jump-m{display:flex;gap:6px;margin:10px 0 8px}.q-jump-m a{min-width:0;flex:1 0 calc(25% - 6px);padding:0 6px}.q-jump-d{display:none}}
.prose h2[id]{scroll-margin-top:12px}
.quick-answer{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;background:var(--card);border:2px solid var(--mustard);border-radius:10px;padding:10px 14px;margin:8px 0 12px}
.quick-answer strong{font-size:1.1em}
.quick-answer .qa-tier{color:var(--muted)}
.copy-btn{margin-left:auto;min-height:40px;padding:0 16px;border:0;border-radius:999px;background:var(--tomato);color:#fff;font:700 15px/1 var(--sans);cursor:pointer;box-shadow:0 3px 0 var(--tomato-dark)}
.copy-btn:hover,.copy-btn:focus-visible{background:var(--tomato-dark)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
