/* The four game formats stay visible as raised type keys at every width. */
.suite-header.header {
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:18px;
  width:100%; max-width:1240px; min-height:78px; height:auto; padding:14px clamp(16px,3vw,38px);
}
.suite-header .brand,.guide-header .brand { font-size:clamp(18px,2.2vw,28px); letter-spacing:-.057em; white-space:nowrap; }
.suite-header.header .format-nav {
  display:flex; justify-self:center; align-items:stretch; gap:4px; margin:0;
  padding:4px; border:1px solid #ccd9ca; border-radius:17px; background:#e5ebe1;
  box-shadow:inset 0 1px 2px #49615114;
}
.suite-header.header .format-nav a {
  display:inline-flex; justify-content:center; align-items:center; gap:8px; min-height:40px;
  padding:8px clamp(8px,1.25vw,17px); border:1px solid #d0d8c9; border-radius:12px;
  background:#fffdf4; box-shadow:0 2px #bdcbbd; color:#285248;
  font:700 13px/1.15 var(--display); white-space:nowrap;
}
.suite-header.header .format-nav a:hover { background:#edf4e6; }
.suite-header.header .format-nav a[aria-current="page"] {
  transform:translateY(1px); background:#1b5147; color:#fffbea; border-color:#214e45; box-shadow:inset 0 1px 2px #103d33;
}
.suite-header.header .format-nav a:active { transform:translateY(2px); box-shadow:none; }
.suite-blog { display:inline-flex; align-items:center; min-height:44px; padding:8px; font-weight:720; color:#295b4e; }
.format-symbol { display:inline-block; width:17px; height:17px; flex:none; color:inherit; position:relative; }
.f-crossword { border:1.5px solid currentColor; border-radius:2px; background:
  linear-gradient(currentColor,currentColor) 50% 50% / 35% 35% no-repeat,
  linear-gradient(currentColor,currentColor) 0 0 / 32% 34% no-repeat,
  repeating-linear-gradient(90deg,transparent 0 4px,currentColor 4px 5px),
  repeating-linear-gradient(transparent 0 4px,currentColor 4px 5px); }
.f-word-search::before { content:""; position:absolute; inset:0 4px 4px 0; border:2px solid currentColor; border-radius:50%; }
.f-word-search::after { content:""; position:absolute; width:8px; height:2px; bottom:2px; right:0; transform:rotate(48deg); background:currentColor; }
.f-word-scramble::before { content:"A"; position:absolute; inset:1px 2px 1px 1px; border:1.5px solid currentColor; border-radius:2px;
  font:800 11px/13px var(--display); text-align:center; transform:rotate(-11deg); box-shadow:2px 2px currentColor; }
.f-word-guess { background:
  linear-gradient(currentColor,currentColor) 1px 1px / 6px 6px no-repeat,
  linear-gradient(currentColor,currentColor) 10px 1px / 6px 6px no-repeat,
  linear-gradient(currentColor,currentColor) 1px 10px / 6px 6px no-repeat; }
.f-word-guess::after { content:""; position:absolute; inset:10px 1px 1px 10px; border:1px solid currentColor; }
.quest-shortcuts { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; padding-block:10px 0; }
.quest-shortcuts a { display:inline-flex; align-items:center; min-height:44px; padding:7px 15px; font-size:13px; font-weight:700; color:#1c5648;
  background:#fdfcf3; border:1px solid #bfcfc2; border-radius:15px; box-shadow:0 2px #cbd9ca; }
.hub-games { max-width:1200px; margin:clamp(35px,4vw,56px) auto 44px; }
.hub-games h2,.puzzle-cover h1 { letter-spacing:-.055em; line-height:1.04; }
.hub-games h2 { margin:0 0 20px; font-size:clamp(30px,3.4vw,44px); }
.game-shelf { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:19px; }
.hub-guide { max-width:1200px; margin:clamp(36px,5vw,76px) auto; }
.hub-guide h2 { margin:0 0 20px; color:#203f35; font-size:clamp(28px,3vw,39px); line-height:1.1; letter-spacing:-.045em; }
.hub-guide-questions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:clamp(24px,5vw,72px); }
.hub-guide article { padding:18px 0 20px; border-top:1px solid #c8d7ca; }
.hub-guide h3 { margin:0; color:#244b40; font-size:clamp(17px,1.5vw,21px); line-height:1.3; letter-spacing:-.025em; }
.hub-guide h3 a:hover,.hub-guide h3 a:focus-visible { text-decoration:underline; text-underline-offset:.17em; }
.hub-guide p { max-width:62ch; margin:7px 0 0; color:#344b40; line-height:1.6; font-size:15px; }
.hub-guide p a { color:#185e50; font-weight:650; text-decoration:underline; text-underline-offset:.15em; }
.hub-guide h3:target { text-decoration:underline; text-decoration-color:#9fb795; text-underline-offset:.22em; }
@media(max-width:700px) {
  .hub-guide { width:calc(100% - 32px); padding-inline:0; }
  .hub-guide-questions { grid-template-columns:minmax(0,1fr); }
  .hub-guide article { padding:15px 0; }
}
.theme-quill,.cover-quill { --dye:#d1dfbd; --bank:#9eb995; --deep:#648b71; --sheet-tint:#ecf1df; }
.theme-reed,.cover-reed { --dye:#badbd5; --bank:#89bbae; --deep:#458c88; --sheet-tint:#e3f0e9; }
.theme-print,.cover-print { --dye:#ecd1ab; --bank:#d4a67b; --deep:#b67a54; --sheet-tint:#faf0dd; }
.theme-dragon,.cover-dragon { --dye:#c4d2dc; --bank:#9baec4; --deep:#657d96; --sheet-tint:#edf0f3; }
.game-card-link { display:grid; grid-template-columns:minmax(130px,45%) 1fr; height:100%; overflow:hidden;
  border:1px solid #bacdbd; border-radius:19px; background:#fffdf4; box-shadow:0 4px #cbd9cd,0 11px 22px -20px #213e34; }
.game-card-link:hover,.game-card-link:focus-visible { border-color:#688e79; background:#fafbf0; box-shadow:0 4px #b0c8b5,0 11px 22px -17px #274338; }
.card-copy { align-self:center; padding:clamp(15px,2vw,27px); }
.card-copy h3 { font:750 clamp(24px,2.35vw,33px)/1.04 var(--display); margin:0; letter-spacing:-.06em; }
.card-copy p { margin:8px 0 16px; color:#3e5d50; font-size:14px; line-height:1.45; }
.card-open { display:inline-flex; min-height:34px; align-items:center; gap:10px; padding:6px 12px;
  border-radius:11px; color:#fffdf0; background:#21594d; box-shadow:0 2px #143f35; font-size:13px; font-weight:740; }
.cover-art { position:relative; isolation:isolate; overflow:hidden; min-height:184px; background:var(--dye); }
.paper-bank { position:absolute; inset:36% -18% -52% -20%; border-radius:43% 59% 0 0; transform:rotate(-15deg);
  background:var(--deep); box-shadow:0 -17px var(--bank),0 -19px 3px #293f332b; }
.paper-bank::before { content:""; position:absolute; width:47%; height:22%; right:0; top:-36%; border-radius:60% 34% 28% 55%; background:var(--bank); transform:rotate(-18deg); box-shadow:0 3px 2px #43554121; }
.paper-medallion {
  position:absolute; inset:auto auto 25% 14%; width:clamp(75px,8.4vw,115px); aspect-ratio:1/1;
  box-sizing:content-box; border:5px solid #fff8e7; border-bottom-width:9px; border-radius:4px;
  background:#a8cbb9 var(--portrait) var(--spot) / var(--zoom) no-repeat; transform:rotate(-9deg);
  box-shadow:1px 2px 0 #958a705e,3px 7px 8px #233e3933;
}
.paper-medallion::before { content:""; position:absolute; top:-10px; left:28%; width:43%; height:14px;
  background:#dec38bdc; box-shadow:0 1px 1px #746b4726; transform:rotate(3deg); }
.cover-quill,.choice-art[data-art="paper"] { --portrait:url("country-guardians.webp"); --spot:100% 0%; --zoom:300% 200%; }
.cover-reed,.choice-art[data-art="reed"] { --portrait:url("companions-wetlands.webp"); --spot:50% 50%; --zoom:500% 300%; }
.cover-print,.choice-art[data-art="ink"] { --portrait:url("country-guardians.webp"); --spot:50% 0%; --zoom:300% 200%; }
.cover-dragon { --portrait:url("press-guardians.webp"); --spot:50% 100%; --zoom:300% 200%; }
.mini-board { display:grid; padding:5px; border-radius:5px; background:#fffae9; color:#264940;
  position:absolute; left:auto; right:10%; top:auto; bottom:14%; margin:0;
  transform:rotate(7deg); box-shadow:1px 3px #81957d8a,3px 6px 8px #173c4033; font:800 13px/1 var(--display); }
.mini-board i { font-style:normal; display:grid; place-items:center; position:relative; }
.cross-demo { grid-template-columns:repeat(5,14px); grid-auto-rows:14px; gap:1px; padding:1px; background:#35594d; border:3px solid #f6f3dc; }
.cross-demo i { background:#fffbea; } .cross-demo i.block { background:#35594d; }
.cross-demo i small { position:absolute; top:1px; left:2px; font:700 5px/1 sans-serif; }
.search-demo { grid-template-columns:repeat(5,16px); grid-auto-rows:15px; }
.search-demo i.mark { background:#abd198; border-radius:40%; }
.scramble-demo { display:flex; padding:0; background:transparent; box-shadow:none; }
.scramble-demo i { width:22px; height:29px; margin:1px; border-radius:4px; background:#fff1cf; border:1px solid #bb9b69;
  box-shadow:0 3px #ad8b61,2px 4px 4px #49342525; font-size:15px; }
.scramble-demo i:nth-child(even) { transform:translateY(-4px) rotate(-7deg); }
.guess-demo { grid-template-columns:repeat(5,14px); grid-auto-rows:14px; gap:2px; padding:6px; }
.guess-demo i { border-radius:2px; background:#e1e4d8; font-size:10px; }
.guess-demo i.right { background:#9dcea4; } .guess-demo i.close { background:#efcc79; }

.puzzle-shell { max-width:1140px; margin:0 auto 48px; }
.puzzle-intro.puzzle-cover { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,35%); padding:0;
  overflow:hidden; background:var(--sheet-tint); border:1px solid #b7c8b9; border-radius:22px; margin:0 0 26px;
  box-shadow:0 3px #cad7c8,0 10px 20px -19px #25392e; }
.cover-copy { align-self:center; padding:clamp(22px,3.2vw,42px); }
.cover-copy h1 { margin:0; color:#173f36; font-size:clamp(40px,5.4vw,73px); letter-spacing:-.07em; line-height:.99; }
.cover-copy p { max-width:46ch; margin:12px 0 0; color:#3a574d; font-size:clamp(15px,1.35vw,18px); line-height:1.4; }
.cover-copy p a { color:#205646; text-decoration:underline; text-underline-offset:.16em; }
.puzzle-cover .cover-art { min-height:166px; }
.puzzle-cover .paper-medallion { left:18%; bottom:19%; width:104px; } .puzzle-cover .mini-board { right:16%; }
.puzzle-panel { background:#fffef8; border:1px solid #bcd0c1; border-radius:21px; padding:clamp(15px,2.8vw,32px); box-shadow:0 4px #d3dfd1,0 12px 24px -20px #204439; }
.puzzle-panel h2,.puzzle-panel h3 { letter-spacing:-.04em; }
.puzzle-choices-title { margin:0 0 12px; font-size:clamp(19px,2vw,25px); letter-spacing:-.04em; line-height:1.12; }
.puzzle-choices { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:10px; }
.puzzle-choice {
  display:flex; align-items:center; gap:11px; min-width:0; min-height:70px; padding:9px 12px; text-align:left; font-family:var(--display);
  color:#224539; background:#fffdf1; border:1px solid #b6cbb9; border-radius:14px; box-shadow:0 3px #c4d4c4,0 6px 10px -8px #526955;
}
.puzzle-choice:hover { border-color:#638975; background:#eef4e7; }
.puzzle-choice[aria-pressed="true"] { color:#fffbee; background:#22574b; border-color:#164a3c; box-shadow:0 2px #133e34,0 4px 8px -6px #425e48; }
.puzzle-choice:active { transform:translateY(2px); }
.choice-art { position:relative; flex:none; width:44px; height:44px; border:2px solid #fffae3; border-radius:50%; background:#afccb6 var(--portrait) var(--spot) / var(--zoom) no-repeat;
  box-shadow:0 1px 1px #1e433656,0 0 0 1px #90aa93; }
.choice-art[data-art="scales"] { --portrait:url("country-guardians.webp"); --spot:0% 0%; --zoom:300% 200%; }
.choice-art[data-art="night"], .choice-art[data-art="dark"] { --portrait:url("country-guardians.webp"); --spot:0% 100%; --zoom:300% 200%; }
.choice-art[data-art="print"] { --portrait:url("country-guardians.webp"); --spot:100% 0%; --zoom:300% 200%; }
.choice-art[data-art="observatory"] { --portrait:url("country-guardians.webp"); --spot:100% 100%; --zoom:300% 200%; }
.choice-art[data-art="summit"] { --portrait:url("companions-wetlands.webp"); --spot:50% 100%; --zoom:500% 300%; }
.choice-art[data-art="maps"] { --portrait:url("companions-wetlands.webp"); --spot:0% 0%; --zoom:500% 300%; }
.puzzle-choice[aria-pressed="true"] .choice-art::after {
  content:""; position:absolute; bottom:-2px; right:-3px; width:12px; height:12px; border-radius:50%;
  background:linear-gradient(48deg,transparent 43%,#174c3e 44% 64%,transparent 65%) 2px 5px / 4px 4px no-repeat,
    linear-gradient(-48deg,transparent 37%,#174c3e 38% 58%,transparent 59%) 5px 3px / 5px 6px no-repeat,#d5edb6;
  box-shadow:0 0 0 1px #245442;
}
.choice-copy { display:grid; min-width:0; gap:4px; }
.choice-name { font-size:clamp(15px,1.38vw,19px); font-weight:740; letter-spacing:-.035em; line-height:1.1; }
.choice-meta { color:#4d6556; font-size:12px; font-weight:560; line-height:1.25; }
.puzzle-choice[aria-pressed="true"] .choice-meta { color:#d6ecd7; }
.puzzle-actions { display:flex; flex-wrap:wrap; align-items:center; gap:9px; }
.puzzle-feedback { color:#215a4a; line-height:1.5; }
.puzzle-page footer,.hub-page footer { display:flex; align-items:center; flex-wrap:wrap; gap:12px 22px; }
.puzzle-page footer a,.hub-page footer a { display:inline-flex; align-items:center; min-height:44px; }
[hidden] { display:none !important; }

@media (max-width:950px) {
  .suite-header.header { grid-template-columns:1fr auto; gap:5px 12px; padding-block:8px 14px; }
  .suite-header .format-nav { grid-row:2; grid-column:1/-1; }
  .suite-header.header .format-nav { justify-self:stretch; }
  .suite-header.header .format-nav a { flex:1; min-height:44px; }
  .game-shelf { gap:13px; }
  .game-card-link { grid-template-columns:minmax(0,1fr); }
  .game-shelf .cover-art { min-height:145px; }
  .game-shelf .paper-medallion { left:22%; bottom:12%; width:94px; }
  .game-shelf .mini-board { right:16%; }
}
@media (max-width:650px) {
  .puzzle-shell,.hub-games { width:calc(100% - 24px); padding-inline:0; }
  .guide-header .brand { font-size:18px; }
  .suite-header.header { padding-inline:12px; }
  .suite-header.header .format-nav a { gap:3px; padding:4px 2px; font-size:12px; }
  .suite-header.header .format-nav { gap:3px; }
  .puzzle-intro.puzzle-cover { grid-template-columns:minmax(0,1fr) minmax(90px,29%); border-radius:17px; margin-bottom:18px; }
  .cover-copy { padding:19px 12px 19px 17px; }
  .cover-copy h1 { font-size:clamp(32px,7.9vw,48px); }
  .cover-copy p { margin-top:7px; font-size:14px; }
  .puzzle-cover .cover-art { min-height:128px; }
  .puzzle-cover .paper-medallion { left:9%; bottom:34%; width:clamp(54px,11vw,75px); border-width:3px 3px 5px; }
  .puzzle-cover .mini-board { right:5%; bottom:7%; scale:.68; transform-origin:right bottom; }
  .puzzle-choices { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-flow:row; gap:8px; }
  .puzzle-choice:last-child:nth-child(odd) { grid-column:1 / -1; }
  .puzzle-choice { gap:8px; padding:7px 8px; min-height:58px; }
  .choice-art { width:34px; height:34px; }
  .choice-meta { font-size:11px; }
  .game-card-link { border-radius:14px; }
  .card-copy { padding:14px; }
  .card-copy h3 { font-size:23px; }
  .card-open { padding:7px 9px; gap:5px; font-size:12px; }
  .card-copy p { font-size:13px; margin:6px 0 12px; }
  .game-shelf .cover-art { min-height:112px; }
  .game-shelf .paper-medallion { left:12%; bottom:25%; width:62px; border-width:3px 3px 5px; }
  .game-shelf .mini-board { right:8%; bottom:9%; scale:.72; transform-origin:right bottom; }
}
@media (max-width:430px) {
  .suite-header.header .format-nav a { flex-direction:column; gap:3px; font-size:11px; line-height:1; min-width:0; }
  .game-shelf { gap:10px; }
}
@media (forced-colors:active) {
  .puzzle-choice[aria-pressed="true"],.suite-header a[aria-current="page"] { outline:2px solid SelectedItem; outline-offset:-4px; }
}

.tip-section { max-width:1200px; margin:0 auto 48px; }
.tip-card {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,32%); isolation:isolate; overflow:hidden;
  background:#204d43; border:1px solid #285447; border-radius:21px;
  box-shadow:0 4px #bdcebd,0 13px 25px -21px #153e33;
}
.tip-scene {
  grid-column:2; grid-row:1; display:grid; place-items:center; min-height:172px; position:relative; isolation:isolate;
  overflow:hidden; border-inline-start:3px solid #d7d8b8; background:#b8d8bd;
}
.tip-scene::before {
  content:""; position:absolute; z-index:-1; inset:38% -21% -46% -17%; transform:rotate(-9deg);
  border-radius:47% 49% 20% 24%; background:#69a496; box-shadow:0 -10px #94bda1,0 -12px 3px #476a4b39;
}
.tip-scene::after {
  content:""; position:absolute; z-index:-1; width:95px; height:56px; right:calc(50% - 100px); bottom:14%;
  transform:rotate(-13deg) skewX(-16deg); border:3px solid #e4c8a4; border-radius:4px;
  background:repeating-linear-gradient(90deg,transparent 0 8px,#c66d4c59 8px 16px),repeating-linear-gradient(transparent 0 8px,#bd674a52 8px 16px),#f8e7c5;
  box-shadow:2px 4px 0 #487a6875;
}
.tip-apple { position:absolute; left:calc(50% + 50px); top:calc(50% + 31px); width:22px; height:21px;
  background:#d76543; border-radius:42% 48% 42% 42%; transform:rotate(9deg);
  box-shadow:inset -4px -2px #b44832,1px 3px 2px #49745340; }
.tip-apple::before,.tip-apple::after { content:""; position:absolute; }
.tip-apple::before { width:3px; height:8px; background:#6c5034; left:9px; top:-6px; transform:rotate(-9deg); }
.tip-apple::after { width:11px; height:6px; border-radius:80% 10% 80% 8%; background:#578354; left:11px; top:-6px; }
.tip-copy { grid-column:1; grid-row:1; padding:clamp(20px,3vw,37px); align-self:center; }
.tip-copy h2 { margin:0 0 8px; font-size:clamp(27px,3vw,39px); line-height:1.1; letter-spacing:-.055em; color:#fffbee; }
.tip-copy p { margin:0; max-width:46ch; color:#e3eddd; font-size:15px; line-height:1.48; }
.tip-actions { display:flex; flex-wrap:wrap; gap:9px; }
.tip-actions :is(a,button) { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:44px;
  margin-top:15px; padding:9px 15px; border-radius:12px; font:740 14px/1.25 var(--display);
  color:#244b3b; background:#eff2d3; border:1px solid #c9d6b4; box-shadow:0 3px #9cae91; }
.tip-actions :is(a,button):hover { background:#fffbdb; }
.tip-actions :is(a,button):active { transform:translateY(2px); box-shadow:0 1px #9cae91; }
.tip-actions :is(a,button):focus-visible { outline:3px solid #f0c26f; outline-offset:3px; }
.tip-copy #tip-status:not(:empty) { margin-top:10px; font-size:13px; color:#d0e1d1; }
[data-tip-available="true"] .tip-closed,[data-tip-available="false"] #tip-description,
[data-tip-return] :is(.tip-closed,.tip-checkout,#tip-description) { display:none; }
.tip-pose { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media (max-width:600px) {
  .tip-section { width:calc(100% - 24px); padding:0; margin-bottom:32px; }
  .tip-card { grid-template-columns:1fr; }
  .tip-scene { grid-column:1; grid-row:1; min-height:125px; height:125px; border:0; border-bottom:2px solid #d4d8b9; }
  .tip-copy { grid-row:2; }
  .tip-scene .pip-dance { height:125px; align-self:center; }
}

.suite-account { display:flex; align-items:center; justify-self:end; gap:9px; }
.suite-account .suite-club, .suite-account .profile-link { display:inline-flex; align-items:center; justify-content:center; gap:6px; white-space:nowrap; min-height:44px; font-size:13px; font-weight:740; }
.suite-account .suite-club { color:#235247; padding:8px 9px; border-radius:12px; }
.suite-club[aria-current="page"] { background:#e4eee1; box-shadow:inset 0 0 0 1px #b1c8b4; }
.suite-account .profile-link { border:1px solid #bbcfbc; border-radius:16px; padding:3px 11px 3px 5px; background:#fffdf3; color:#204c3e; box-shadow:0 2px #c5d3bf; }
.suite-account .profile-face { display:grid; place-items:center; overflow:hidden; }
.suite-account .profile-short { display:none; }
@media (min-width:951px) and (max-width:1100px) {
  .suite-header.header { gap:9px; padding-inline:14px; }
  .suite-header.header .format-nav a { padding-inline:9px; }
  .suite-account { gap:3px; }
  .suite-account .profile-wide { display:none; }
  .suite-account .profile-short { display:inline; }
}
@media (max-width:600px) {
  .suite-account { gap:4px; }
  .suite-account .suite-club { padding-inline:4px; font-size:12px; }
  .suite-account .profile-link { min-width:38px; padding:2px 5px; gap:3px; font-size:12px; }
  .suite-account .profile-face { width:20px; height:20px; }
  .suite-account .profile-wide { display:none; }
  .suite-account .profile-short { display:inline; }
}
@media (max-width:360px) {
  .suite-header.header { padding-inline:8px; column-gap:4px; }
  .suite-header .brand { font-size:15px; }
  .suite-account .profile-face { display:none; }
  .suite-account .profile-link { padding-inline:6px; }
}
