#game .guide-launch,#game #welcome .guide-launch {
  border:2px solid #562525;border-radius:15px;background:linear-gradient(#ffacc1,#ff799f 47%,#f66392);
  color:#3c151d;font:900 14px/1.1 var(--display);box-shadow:inset 0 2px #ffdae3,inset 0 -3px #d84877,0 3px #54252c;
  cursor:pointer;min-height:44px
}
#game .guide-pocket {display:block;width:48px;margin-top:7px;padding:4px 2px;font-size:12px}
.guide-pocket span {display:block;color:#952149;line-height:1}
#game .guide-launch:active {transform:translateY(2px)}
#game #how-to {width:min(530px,calc(100vw - 20px));padding:0 15px 14px;overscroll-behavior:contain;text-align:left}
#game #how-to .guide-heading {position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;background:#fff3dc;border-bottom:2px solid #c39469}
#game #how-to h2 {margin:0}
#game #how-to h3 {margin:14px 0 4px;color:#582324;font:900 19px/1.2 var(--display)}
#game #how-to p {margin:6px 0 10px;color:#462522;line-height:1.45}
#game #how-to .guide-room {overflow:hidden;margin:8px 0;border:2px solid #723c36;border-radius:14px;background:#ffefd2}
#game #how-to .guide-room summary {display:flex;align-items:center;gap:10px;cursor:pointer;min-height:51px;color:#432526;font:900 16px/1.1 var(--display)}
.guide-room summary img {width:85px;height:54px;object-fit:cover}
.guide-room summary:after {content:'+';margin-left:auto;padding-right:12px;font-size:22px}
.guide-room[open] summary:after {content:'−'}
#game #how-to .guide-room p {padding:0 12px}
.guide-ending summary {cursor:pointer;padding:12px 0;color:#57273b;font-weight:bold}
#game #how-to :focus-visible,#game .guide-launch:focus-visible {outline:3px solid #1769b3;outline-offset:-3px}

/* The wordmark's raised pink face, specular glint, dark edge and blue yarn. */
#game #welcome .guide-launch,#game #mystery-panel .guide-launch {
  display:inline-flex;align-items:center;justify-content:center;gap:.45em;width:auto;
  min-height:48px;margin:8px 2px 4px;padding:10px 19px;border:3px solid #381624;border-radius:24px;
  font:1000 17px/1 var(--display);color:#381324;letter-spacing:-.035em;text-shadow:0 1px #ffc4dd;
  background:radial-gradient(ellipse 12px 4px at 18px 6px,#fff5fc,transparent),linear-gradient(160deg,#ffb5d8,#ff75ab 42%,#fa508f);
  box-shadow:inset 0 3px #ffd3e4,inset 0 -4px #d83674,0 4px #752044,0 6px #36172a,0 8px 9px #25102048;
}
#game .guide-launch span {color:#ac145b;font-size:1.2em;text-shadow:0 1px #fff0fa;display:inline}
#game #welcome .button-row {gap:12px;flex-wrap:wrap;align-items:center}
#game #welcome .guide-launch {padding:13px 22px;min-height:52px}
#game #mystery-panel {background:linear-gradient(140deg,#273255,#20213f);border-color:#1b1937;box-shadow:inset 0 2px #555c91,0 3px #17152b,0 5px 12px #23192c57}
#game #mystery-room {color:#ffb4d8}
#game #mystery-goal {color:#fff6fe;text-shadow:0 2px #351f45}
#game #mystery-notice {color:#c0efff}
#game #mystery-tip {color:#132c57;background:#c9efff;border-inline-start:4px solid #188ad7}
#game #mystery-sketch li {color:#17375b;background:linear-gradient(#daf7ff,#85d7ff);border-color:#26538a;box-shadow:inset 0 1px #fff,0 2px #191836}
#game #mystery-sketch li[data-matched=true] {color:#40203b;background:linear-gradient(#ffe3ef,#ffa9cf)}
#game .hint-switch {box-sizing:border-box;min-inline-size:0;width:max-content;max-width:100%;margin:0;padding:0 4px 2px;border:2px solid #261a44;border-radius:17px;background:linear-gradient(#534d91,#313460);box-shadow:inset 0 2px #858cd2,0 3px #211832;color:white;text-align:center}
#game .hint-switch legend {float:left;width:100%;margin:0;padding:3px 0 0;font:1000 22px/1 var(--display);letter-spacing:.015em;color:#ffb9df;-webkit-text-stroke:2px #46213c;paint-order:stroke fill;text-shadow:0 2px #9c376f,0 3px #2a1736}
#game .hint-switch div {clear:both;display:flex;justify-content:center}
#game .hint-switch label {display:grid;place-items:center;position:relative;min-width:46px;min-height:44px;cursor:pointer;touch-action:manipulation}
#game .hint-switch input {position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
#game .hint-switch span {pointer-events:none;display:inline-flex;align-items:center;justify-content:center;gap:2px;min-width:41px;height:28px;box-sizing:border-box;border:2px solid #36223a;border-radius:16px;font:1000 11px/1 var(--display);color:#142c26;background:linear-gradient(#c4ffbc,#76e68c 48%,#43b780);box-shadow:inset 0 2px #efffe6,inset 0 -3px #2a9469,0 2px #201529}
#game .hint-switch input[value=off]+span {color:#4b142b;background:linear-gradient(#ffb8c2,#ff8498 48%,#f35c7c);box-shadow:inset 0 2px #ffe3e7,inset 0 -3px #c43e65,0 2px #201529}
#game .hint-switch span::before {content:'';width:7px;height:7px;border:1px solid currentColor;border-radius:50%}
#game .hint-switch input:checked+span {outline:2px solid white;outline-offset:1px}
#game .hint-switch input:checked+span::before {content:'✓';border:0;width:auto;height:auto;font-size:13px}
#game .hint-switch input:focus-visible+span,#game .guide-launch:focus-visible {outline:3px dashed #fff;outline-offset:3px;box-shadow:0 0 0 6px #194a86}
#game #mystery-settings .hint-switch {margin:9px 0}
@media(max-width:650px){#game #mystery-panel .guide-launch {padding:8px 15px;min-height:44px;font-size:15px}#game #fort-controls {gap:9px}}
