/* Two browseable collections: little boards do the talking. */
.study-page{max-width:1500px;margin:auto;color:#111}
.study-hero{display:flex;justify-content:space-between;align-items:center;gap:30px;padding-bottom:24px;border-bottom:1px solid #bac3af;margin-bottom:24px}
.study-hero .eyebrow{font-size:12px;letter-spacing:2px}.study-hero h2{font-size:clamp(40px,5vw,66px);font-weight:750;line-height:1.05;letter-spacing:-2.5px;margin:8px 0 12px}.study-hero h2 em{font:italic 1em Georgia,serif;color:#56683e}.study-hero p{font-size:17px;line-height:1.5;margin:0}
.study-stamp{display:grid;place-content:center;flex:none;width:144px;height:144px;border-radius:50%;border:1px solid #9aae68;background:#dce997;text-align:center;font-size:21px;font-weight:700;line-height:1.35;transform:rotate(8deg);margin-right:20px}
.study-filters{display:flex;align-items:end;gap:14px;padding:18px;border:1px solid #b6c1a8;border-radius:12px;background:#e9eddf}
.study-filters label{display:grid;gap:7px;min-width:0;font-size:14px;font-weight:650;flex:1}.study-filters label:first-child{flex:1.8}
.study-filters input,.study-filters select{box-sizing:border-box;width:100%;min-height:46px;min-width:0;font:400 16px 'DM Sans',sans-serif;color:#111;border:1px solid #9eac8e;border-radius:7px;background:#fbfcf7;padding:10px 12px}
.study-filters input::placeholder{color:#9b9f97;opacity:1}.study-filters select{padding-right:30px}
.study-page button,.study-detail-bar button,.worlds-gallery button,.study-filters button{font:550 14px/1.35 'DM Sans',sans-serif;min-height:44px;padding:10px 16px;border:1px solid #a5b295;border-radius:8px;background:#f9faf4;color:#111;cursor:pointer}
.study-page button:hover,.worlds-gallery button:hover{background:#eef3dd;border-color:#6e8653}
.study-page button:focus-visible,.worlds-page .study-filters input:focus-visible,.worlds-page .study-filters select:focus-visible,.worlds-gallery button:focus-visible{outline:3px solid #607c44;outline-offset:3px}
.study-filters .study-random{background:#dce997;border-color:#8fa35a;min-height:46px;font-weight:750}
.study-options{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:15px 0;font-size:14px}.study-options label{display:flex;align-items:center;gap:8px;font-weight:600}.study-options input,.study-endgames input{width:20px;height:20px;accent-color:#617a35}.study-options button{border:0;background:none;text-decoration:underline;min-height:36px;padding:6px}.study-options>span{margin-left:auto;font-size:13px;color:#4a5c3c}
.study-results{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin:22px 0 14px;font-size:14px;line-height:1.5}.study-results p{margin:0}.study-results p:first-child{font-weight:700}.study-results p:last-child{color:#4a5541}
.study-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.study-page .study-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:14px;background:#fcfcf7;border:1px solid #b7c1ad;border-radius:12px;transition:transform .15s,box-shadow .15s,border-color .15s;min-width:0}
.study-page .study-card:hover{transform:translateY(-3px);box-shadow:0 7px 0 #dce7bb;border-color:#6e8653}
.study-card-meta{display:flex;justify-content:space-between;gap:8px;font-size:12px;line-height:1.4;font-weight:500;margin:0 0 12px;color:#38482e}.study-card-meta b{font-size:11px;font-weight:600;border:1px solid #c4cfb8;border-radius:4px;padding:1px 5px;white-space:nowrap}
.study-board{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));aspect-ratio:1;width:100%;min-width:0;background:var(--board-art) center/100% 100%;border:5px solid var(--board-frame);border-radius:4px;box-shadow:0 0 0 1px var(--board-edge),0 4px 12px #25321d15;overflow:hidden}
.study-square{aspect-ratio:1;position:relative;display:grid;place-items:center;min-width:0}.study-square .piece{width:96%;height:96%;cursor:inherit;filter:drop-shadow(0 1px 1px #1113)}
.study-square small{position:absolute;font:650 11px/1 'DM Sans',sans-serif;color:#111;text-shadow:0 0 3px #fff,0 0 3px #fff;z-index:2}.study-rank{top:3px;left:3px}.study-file{bottom:3px;right:3px}
.study-card-title{font-size:20px;line-height:1.2;letter-spacing:-.5px;margin:16px 0 8px;font-weight:750;display:block}
.study-card-description{font-size:14px;line-height:1.5;font-weight:400;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin-bottom:16px;color:#37412f;min-height:4.5em}
.study-card-metrics{display:flex;justify-content:space-between;align-items:baseline;gap:8px;border-top:1px solid #c7d0bd;padding-top:12px;margin-top:auto;font-size:12px;line-height:1.4}.study-card-metrics b{font-size:14px;font-weight:650;white-space:nowrap}.study-card-metrics>span{text-align:right;color:#425338}
.study-note{font-size:14px;line-height:1.6;color:#45513d;margin:22px 0 0}.study-empty{grid-column:1/-1;padding:30px;border:1px dashed #a6b695;border-radius:10px;font-size:16px}
.study-detail-bar{display:flex;justify-content:space-between;gap:18px;margin-bottom:24px}
.study-detail-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:48px;align-items:start}
.study-large-board{width:100%;max-width:min(100%,calc(100svh - 235px));margin:auto;position:sticky;top:16px}.study-large-board .study-board{border-width:8px}.study-large-board .study-square small{font-size:13px}
.study-detail-copy h3{font-size:clamp(30px,3vw,44px);line-height:1.08;letter-spacing:-1.2px;margin:10px 0 18px}.study-detail-copy>.eyebrow{font-size:12px}.study-detail-copy>p{font-size:16px;line-height:1.6}
.study-facts{margin:20px 0;padding:0;border-block:1px solid #b9c5ac}.study-facts>div{display:flex;justify-content:space-between;gap:20px;padding:11px 0;font-size:15px;line-height:1.4}.study-facts dt{color:#47583c}.study-facts dd{font-weight:650;margin:0;text-align:right}
.study-endgames{display:flex;align-items:center;gap:8px;font-size:16px;margin:22px 0 8px;flex-wrap:wrap}.study-endgames small{font-size:12px;color:#4d5d42}.study-mode-note{font-size:13px!important;color:#526148;margin:0 0 20px}
.study-page .study-start{display:block;width:100%;background:#dce997;border-color:#8da453;font-size:18px;font-weight:750;padding:15px;margin:0 0 12px}
.study-spoiler{margin-top:20px;border:1px solid #b2bea6;border-radius:9px;background:#e9efdf}.study-spoiler summary{cursor:pointer;font-size:14px;font-weight:650;padding:12px 14px}.study-spoiler>div{padding:2px 14px 16px}.study-spoiler strong{font-size:18px}.study-spoiler p{font-size:15px;line-height:1.6}.study-spoiler small{font-size:12px;line-height:1.5;color:#4d5d42}
.study-fen{margin:16px 0;font-size:13px}.study-fen summary{cursor:pointer}.study-fen input{width:100%;font:12px/1.5 ui-monospace,monospace;padding:10px;border:1px solid #bdc7b3;border-radius:6px;margin-top:8px}
.check-context{height:28px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 6px;font-size:13px;line-height:1.3}.check-context>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.check-context button{flex:none;font:600 12px 'DM Sans',sans-serif;border:0;background:transparent;color:#354d2a;text-decoration:underline;cursor:pointer}
/* Parallel worlds opens with paired visual cards, rather than a dropdown. */
.worlds-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.worlds-gallery .world-pair-card{display:flex;flex-direction:column;text-align:left;padding:16px;border-radius:13px;background:linear-gradient(135deg,#f8fcf5,#f6f2fa);border-color:#b3baa9;min-width:0;transition:transform .15s,box-shadow .15s}
.worlds-gallery .world-pair-card:hover{transform:translateY(-3px);box-shadow:0 7px 0 #e0e8c5}
.world-pair-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.world-pair-previews>span{position:relative;display:block;min-width:0}.world-pair-previews>span>b{position:absolute;z-index:2;right:5px;top:5px;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#e3efe3;color:#37644f;font:700 13px 'DM Sans',sans-serif;box-shadow:0 1px 4px #15231630}.world-pair-previews>span:last-child>b{background:#eee3f0;color:#775584}
.world-pair-previews .study-board{border-width:3px}.world-pair-note{font-size:12px;line-height:1.5;color:#4e5945;margin-top:auto}.worlds-gallery .study-card-title{font-size:20px}.worlds-toolbar>button:first-child{background:#e4ebd7}.worlds-toolbar #worlds-random-quiz{background:#dce997}
/* Seven destinations stay usable on desktop and fit two rows on a phone. */
.primary-nav{grid-template-columns:repeat(7,minmax(0,1fr));max-width:1300px}
.primary-nav .menu-item{padding-inline:10px}.primary-nav [data-nav-view=check] .menu-title{font-size:25px}
@media(min-width:761px) and (max-width:1200px){.primary-nav .menu-item{padding-inline:5px}.menu-title{font-size:19px}.primary-nav [data-nav-view=check] .menu-title{font-size:18px;white-space:normal}.menu-subtitle{font-size:11px}.main-header .brand{font-size:20px}.main-header .brand-logo{width:32px;height:32px}.main-header{gap:12px}}
@media(max-width:1100px){.study-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.worlds-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.study-filters{flex-wrap:wrap}.study-filters label:first-child{flex-basis:100%}.study-detail-layout{gap:26px;grid-template-columns:minmax(0,1fr) minmax(310px,.9fr)}}
@media(max-width:760px){
 .primary-nav{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,68px)}
 .primary-nav .menu-item{padding:8px 6px;gap:4px}.menu-title{font-size:18px;letter-spacing:-.6px}.primary-nav [data-nav-view=check] .menu-title{font-size:16px;white-space:normal}.menu-subtitle{font-size:11px;line-height:1.2}
 .study-page{padding-top:20px}.study-hero{gap:16px;padding-bottom:20px;margin-bottom:18px}.study-hero h2{font-size:42px;letter-spacing:-1.6px}.study-hero p{font-size:15px;line-height:1.5}.study-stamp{width:82px;height:82px;font-size:14px;margin-right:0}
 .study-filters{padding:12px;gap:12px}.study-filters label{flex-basis:calc(50% - 12px);font-size:13px}.study-filters input,.study-filters select{font-size:14px;padding:10px;min-height:44px}.study-filters .study-random{flex:1;min-height:44px}
 .study-options{gap:10px;font-size:13px}.study-options>span{flex-basis:100%;margin:0;font-size:12px}.study-results{display:block;margin-top:18px;font-size:13px}.study-results p:last-child{margin-top:4px}
 .study-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.study-page .study-card{padding:9px;border-radius:9px}.study-card-meta{font-size:11px;display:block;min-height:32px;margin-bottom:8px}.study-card-meta b{display:none}.study-card-title{font-size:17px;margin:12px 0 7px;letter-spacing:-.3px}.study-card-description{font-size:12px;line-height:1.45;min-height:4.35em;margin-bottom:12px}.study-card-metrics{display:block;padding-top:8px}.study-card-metrics>span{display:block;text-align:left;font-size:11px;margin-top:3px}.study-card-metrics b{font-size:13px}.study-board{border-width:3px}
 .study-detail-layout{grid-template-columns:1fr;gap:24px}.study-large-board{position:static;max-width:min(100%,440px)}.study-large-board .study-board{border-width:5px}.study-large-board .study-square small{font-size:11px}.study-detail-bar{margin-bottom:18px}.study-detail-copy h3{font-size:32px}.study-facts>div{font-size:14px}.study-detail-copy>p{font-size:15px}
 .worlds-gallery{grid-template-columns:1fr;gap:16px}.worlds-gallery .world-pair-card{padding:14px}.world-pair-previews{gap:12px}.worlds-gallery .study-card-meta{min-height:0}.worlds-gallery .study-card-title{font-size:21px;margin:14px 0 8px}.world-pair-note{font-size:13px}
 .worlds-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.worlds-toolbar>div{flex-basis:100%;order:3}.worlds-toolbar #worlds-flip{margin-left:auto}
 .check-context{display:none}
}
@media(max-width:380px){.menu-title{font-size:16px}.menu-subtitle{font-size:10px}.primary-nav [data-nav-view=check] .menu-title{font-size:15px}.study-stamp{display:none}}
@media(prefers-reduced-motion:reduce){.study-page .study-card,.worlds-gallery .world-pair-card{transition:none}.study-page .study-card:hover,.worlds-gallery .world-pair-card:hover{transform:none}}
@media(min-width:761px){.worlds-hero>div:first-child{grid-template-columns:max-content minmax(0,1fr);column-gap:36px}.worlds-hero h2{white-space:nowrap}}
.study-filters .watch-time-filter{flex:1.1;min-width:170px}
.watch-time-slider{display:grid;grid-template-rows:20px 18px 12px;gap:3px;min-height:62px;box-sizing:border-box;padding:7px 12px;border:1px solid #a5b295;border-radius:8px;background:#fbfcf7}
.watch-time-slider output{font-size:14px;font-weight:550;line-height:20px;color:#111}
.study-filters .watch-time-slider input[type=range]{width:100%;height:18px;min-height:18px;margin:0;padding:0;border:0;border-radius:0;background:transparent;accent-color:#617a35;cursor:pointer}
.watch-time-ends{display:flex;justify-content:space-between;font-size:10px;font-weight:400;line-height:12px;color:#627156}
.study-filters .watch-time-slider:has(input:focus-visible){outline:3px solid #617a35;outline-offset:2px}
.study-filters .watch-time-slider input:focus-visible{outline:none}
@media(max-width:760px){.study-filters .watch-time-filter{min-width:140px;flex-basis:100%}.watch-time-slider{grid-template-rows:20px 22px 12px;min-height:70px}.study-filters .watch-time-slider input[type=range]{height:22px;min-height:22px}}
/* Put the games in view immediately. */
body[data-view=check]{--header-height:74px}
body[data-view=check] .main-header{height:74px}
body[data-view=check] .primary-nav .menu-item{min-height:56px;padding-block:5px}
#check-view.study-page{padding-top:16px}
#check-view .study-hero{padding-bottom:12px;margin-bottom:12px;gap:20px}
#check-view .study-hero>div{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:32px;align-items:center;width:100%}
#check-view .study-hero .eyebrow{grid-column:1;font-size:10px;letter-spacing:1.5px}
#check-view .study-hero h2{grid-column:1;font-size:42px;letter-spacing:-1.5px;margin:6px 0 0;white-space:nowrap}
#check-view .study-hero p{grid-column:2;grid-row:1/span 2;font-size:14px;line-height:1.4}
#check-view .study-stamp{display:none}
#check-view .study-filters{padding:10px 12px;gap:12px}
#check-view .study-filters label{font-size:12px;gap:4px}
#check-view .study-filters input:not([type=range]),#check-view .study-filters select{font-size:14px;min-height:40px;padding:8px 10px}
#check-view .study-filters .study-random{min-height:40px;padding:8px 14px}
#check-view .watch-time-slider{grid-template-columns:105px minmax(70px,1fr);grid-template-rows:26px;gap:8px;min-height:40px;padding:6px 10px;align-items:center}
#check-view .watch-time-slider output{font-size:12px;line-height:14px}
#check-view .watch-time-ends{display:none}
#check-view .study-options{margin:6px 0;gap:14px;font-size:13px;min-height:32px}
#check-view .study-options button{min-height:30px;padding:4px}
#check-view .study-results{margin:8px 0 10px;font-size:13px}
#check-view .study-grid{gap:14px}
#check-view .study-card{padding:11px}
#check-view .study-card-meta{margin-bottom:8px;font-size:11px}
#check-view .study-card-title{font-size:18px;margin:11px 0 6px}
#check-view .study-card-description{-webkit-line-clamp:2;min-height:3em;font-size:13px;line-height:1.5;margin-bottom:10px}
#check-view .study-card-metrics{padding-top:8px;font-size:11px}
@media(min-width:1280px){#check-view .study-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1100px){#check-view .study-filters label:first-child{flex-basis:auto}#check-view .watch-time-slider{grid-template-columns:1fr;grid-template-rows:14px 18px;gap:0;padding-block:4px}#check-view .study-filters .watch-time-filter{min-width:150px}}
@media(max-width:760px){
 body[data-view=check]{--header-height:114px}body[data-view=check] .main-header{height:114px;grid-template-rows:28px 78px;gap:3px;padding-top:3px;margin-inline:10px}
 body[data-view=check] .main-header .brand{font-size:20px;gap:5px}body[data-view=check] .main-header .brand-logo{width:26px;height:26px}body[data-view=check] .main-header .brand-tagline{display:none}
 body[data-view=check] .primary-nav{grid-template-rows:repeat(2,37px);gap:3px}body[data-view=check] .primary-nav .menu-item{min-height:0;padding:3px 5px;gap:2px}body[data-view=check] .menu-title{font-size:15px}body[data-view=check] .primary-nav [data-nav-view=check] .menu-title{font-size:13px;white-space:nowrap}body[data-view=check] .menu-subtitle{font-size:9px;line-height:10px}
 #check-view.study-page{padding-top:14px}#check-view .study-hero>div{display:block}#check-view .study-hero h2{font-size:32px;margin:5px 0 0}#check-view .study-hero p{display:none}
 #check-view .study-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:10px;gap:8px}#check-view .study-filters label:first-child{grid-column:1/-1}#check-view .study-filters .watch-time-filter{min-width:0}#check-view .study-filters .study-random{grid-column:1/-1;min-height:32px}
 #check-view .study-options{gap:8px;margin-block:5px}#check-view .study-options>span{display:none}#check-view .study-results p:last-child{display:none}
 #check-view .study-grid{gap:10px}#check-view .study-card{padding:8px}#check-view .study-card-title{font-size:16px;margin-top:8px}#check-view .study-card-description{font-size:11px;min-height:3em}
}
