/* Shared public navigation and reading surfaces. */
:root{--ink:#202631;--accent:#315ee8;--line:#e0e4eb;--paper:#fbfcfe;--soft:#f1f4f8;--muted:#606b7d;--serif:Georgia,"Songti SC","STSong",serif}
html{scroll-padding-top:112px;scroll-behavior:smooth}body{background:var(--paper)}
.site-header{max-width:1200px;padding:22px 40px;gap:24px;position:sticky;top:0;z-index:40;background:#fbfcfef2;backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.site-header .brand{font-size:20px;letter-spacing:-.03em;line-height:1.35}.site-header .brand span{font-size:11px;letter-spacing:.04em;line-height:1.6;margin-top:4px}
.site-header nav{gap:22px;font-size:13px}.site-header nav a{position:relative;transition:color .18s ease}
.site-header nav a:not(.language-switch)::after{content:"";position:absolute;bottom:2px;left:0;width:100%;height:1px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .2s ease}
.site-header nav a:hover::after,.site-header nav [aria-current]::after{transform:scaleX(1)}.site-header nav [aria-current]{text-decoration:none}
.site-header .language-switch{padding:7px 12px!important;border-radius:99px;background:transparent}.language-switch:hover{background:var(--soft)}.site-header .mobile-navigation{display:none;margin:0}
.public-page main{max-width:1200px;padding:0 40px;margin:64px auto 96px}.public-page h1,.public-page h2,.public-page h3{text-wrap:pretty}
.public-page a,.public-page button,.public-page summary{touch-action:manipulation}
.public-page button,.public-page .button-link{transition:background .18s ease,transform .18s ease,color .18s ease}
.public-page button:active,.public-page .button-link:active{transform:translateY(1px)}
.public-page button{background:#315ee8;border-color:#315ee8;border-radius:8px;min-height:46px;padding:10px 20px}.public-page button:hover{background:#2349c4}
.public-page input,.public-page select,.public-page textarea{border-color:#c9d1df;border-radius:8px;min-height:46px}.public-page input[type=checkbox]{min-height:0;accent-color:#315ee8}
.public-page input:focus,.public-page select:focus{border-color:#315ee8}.public-page :focus-visible,.site-header :focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.public-page .page-heading{margin-bottom:32px}.public-page .page-heading h1{font-size:clamp(34px,4vw,50px);letter-spacing:-.03em;line-height:1.3;margin-bottom:20px}.public-page .page-heading .lead{font-size:16px;max-width:640px}
.public-page .research-heading{grid-template-columns:minmax(0,1fr) 300px;gap:64px;align-items:start;padding-bottom:36px;margin-bottom:36px}.public-page .research-intro .filters{padding:0;margin:28px 0 0}.public-page .research-intro .search-line{margin-bottom:16px}
.public-page .subscription-disclosure{margin:4px 0 0;background:#edf2ff;border:1px solid #d8e2fb;border-radius:14px;overflow:hidden;color:var(--ink)}
.public-page .subscription-disclosure>summary{color:var(--accent);padding:24px 20px;min-height:80px;font-size:16px;font-weight:600;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px}.public-page .subscription-disclosure>summary::-webkit-details-marker{display:none}
.public-page .subscription-disclosure>summary::after{content:"+";font-size:24px;font-weight:400}.public-page .subscription-disclosure[open]>summary::after{content:"−"}
.public-page .subscription-disclosure .subscription-box{border:0;background:transparent;padding:0 20px 24px}.public-page .subscription-box h2{display:none}.public-page .subscription-box input,.public-page .subscription-box select{background:#fff}
.public-page .subscription-box .consent{align-items:flex-start;margin:16px 0}.public-page .subscription-box .consent input{margin-top:5px;flex-shrink:0}
.public-page .research-facet-panel{background:transparent;border:1px solid var(--line);border-radius:8px}.public-page .research-facet-panel>summary{padding:12px 14px;font-size:13px;min-height:46px;cursor:pointer}.public-page .research-facet-panel[open]{padding-bottom:14px}.public-page .research-facet-panel[open]>:not(summary){margin-left:14px;margin-right:14px}
.public-page .result-count{letter-spacing:.04em;font-size:12px;margin-bottom:6px;scroll-margin-top:24px}.public-page .writing-list{max-width:100%}
.public-page .list-entry{padding:32px 0;gap:32px}.public-page .list-entry:first-child{padding-top:24px}.public-page .list-entry h2{font-size:clamp(21px,2.2vw,27px);font-weight:600;line-height:1.55;letter-spacing:-.02em;max-width:900px}.public-page .list-entry .entry-text>p:not(.overline){font-size:15px;max-width:850px;line-height:1.85}.public-page .overline{color:var(--muted);font-size:12px;letter-spacing:.04em}
.public-page .entry-evidence{margin:12px 0;padding:0;background:transparent;border:0;font-size:12px}.public-page .entry-evidence summary{display:flex;gap:8px;min-height:36px;padding:4px 0;line-height:1.6;width:fit-content}.public-page .entry-evidence summary::before{content:"+";width:16px;height:16px;line-height:14px;text-align:center;border:1px solid #a7b2c5;border-radius:50%;flex-shrink:0}.public-page .entry-evidence summary::-webkit-details-marker{display:none}.public-page .entry-evidence[open] summary::before{content:"−"}.public-page .entry-evidence[open]{padding:12px 16px;border-left:2px solid #bcccf1;background:#f1f5fc;border-radius:0 8px 8px 0}.public-page .entry-evidence p{font-size:13px;line-height:1.8;margin:12px 0!important}
.public-page .tags{gap:8px;margin-top:14px}.public-page .tags a{font-size:11px;text-decoration:none;background:#f0f3f8;border:1px solid transparent;padding:3px 9px;border-radius:5px;transition:background .18s,color .18s}.public-page .tags a:hover{background:#e5ecfc;color:#315ee8}.public-page .tags label:has(input:checked){border-color:#8ba6e8;background:#edf2ff}
.public-page .pagination{gap:8px;margin-top:42px}.public-page .pagination a{min-height:44px;min-width:44px;display:grid;place-items:center;border-radius:50%;padding:8px}.public-page .pagination [aria-current]{background:#315ee8;color:white;text-decoration:none}.public-page .pagination a:hover:not([aria-current]){background:var(--soft)}
.public-page .cards{gap:22px}.public-page .card{padding:28px;border-radius:14px;background:#ffffff;transition:border-color .18s,box-shadow .18s}.public-page .card:hover{border-color:#b5c5e6;box-shadow:0 8px 28px #263b6308}.public-page .content-icon{width:64px;height:64px;border-radius:14px;box-shadow:0 4px 12px #263b6310}
.public-page .reading{max-width:760px}.public-page .reading h1{font-size:clamp(30px,3.5vw,44px);line-height:1.4;letter-spacing:-.02em;margin-bottom:28px}.public-page .reading .lead{font-size:18px;color:#5d687b;line-height:1.9}.public-page .reading .back{padding:6px 0;margin-bottom:28px}.public-page .prose{font-size:17px;line-height:2}.public-page .prose h2{font-family:var(--serif);font-size:26px;margin-top:48px}.public-page .reading .resource a{display:inline-flex;align-items:center;min-height:44px;font-weight:600}.public-page .related{max-width:760px}
.public-page .saved-card img{border-radius:12px;border:1px solid var(--line);transition:transform .25s ease}.public-page .saved-picture,.public-page .list-picture,.public-page .feature-picture{display:block;overflow:hidden;border-radius:12px}.public-page .saved-picture:hover img,.public-page .list-picture:hover img,.public-page .feature-picture:hover img{transform:scale(1.025)}
footer.has-filing{max-width:1200px;padding:32px 40px 36px;border-color:var(--line);font-size:12px;gap:20px}footer.has-filing a:hover{text-decoration:underline;text-underline-offset:4px}.public-page .empty{border:1px dashed #c9d2e2;border-radius:12px;padding:32px;margin-top:24px}
@media(max-width:1100px){.site-header{padding-left:28px;padding-right:28px}.site-header nav{gap:16px}.public-page main{padding:0 28px}.public-page .research-heading{gap:32px}}
@media(max-width:900px){html{scroll-padding-top:98px}.site-header{display:flex;flex-wrap:nowrap;align-items:center;padding:17px 24px;gap:16px}.site-header .brand{flex:1;min-width:0;max-width:none;font-size:19px;white-space:normal}.site-header .brand span{font-size:10px;line-height:1.6}.site-header .desktop-navigation{display:none}.site-header .mobile-navigation{display:block;flex-shrink:0}.mobile-navigation>summary{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:9px 13px;border:1px solid var(--line);border-radius:9px;font-size:12px;cursor:pointer;list-style:none;background:#fff}.mobile-navigation>summary::-webkit-details-marker{display:none}.disclosure-indicator{width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;rotate:45deg;translate:0 -2px;transition:rotate .2s,translate .2s}.mobile-navigation[open]>summary{color:var(--accent);border-color:#b7c8f3;background:#edf2ff}.mobile-navigation[open] .disclosure-indicator{rotate:225deg;translate:0 2px}.site-header .mobile-navigation nav{position:absolute;top:calc(100% - 1px);left:16px;right:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:12px;margin:0;border:1px solid var(--line);border-radius:0 0 14px 14px;background:var(--paper);box-shadow:0 16px 28px #263b6312}.mobile-navigation nav a{display:flex;align-items:center;justify-content:flex-start;min-height:46px;padding:10px 14px;border-radius:7px;font-size:14px}.mobile-navigation nav a:hover,.mobile-navigation nav [aria-current]{background:#edf2ff;color:var(--accent)}.mobile-navigation nav a::after{display:none}.site-header .mobile-navigation .language-switch{justify-content:center;font-size:12px;border-radius:7px}.public-page .research-heading{grid-template-columns:minmax(0,1fr);gap:24px}.public-page .subscription-disclosure{max-width:none;margin:0}.public-page .subscription-disclosure>summary{min-height:62px;padding:16px 20px;font-size:15px}}
@media(max-width:600px){.public-page main{padding:0 24px;margin:38px auto 64px}.public-page .page-heading h1{font-size:36px}.public-page .page-heading .lead{font-size:15px}.public-page .search-line{min-width:0;gap:8px}.public-page .search-line input{min-width:0}.public-page .search-line button{padding:10px 16px}.public-page .research-heading{padding-bottom:28px;margin-bottom:24px}.public-page .list-entry h2{font-size:22px;line-height:1.55}.public-page .list-entry .entry-text>p:not(.overline){font-size:14px}.public-page .list-entry{padding:26px 0}.public-page .cards{grid-template-columns:1fr}.public-page .card{padding:24px}.public-page .card h2{font-size:22px}.public-page .reading h1{font-size:30px}.public-page .reading .lead{font-size:16px}.public-page .prose{font-size:16px}.public-page .prose h2{font-size:23px}.public-page .related{padding-top:24px}footer.has-filing{padding:26px 24px;gap:16px;font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.public-page *, .site-header *{animation:none!important;transition:none!important}}
.public-page .theme-filters{margin-top:18px;border-top:1px solid var(--line);padding-top:12px}.public-page .theme-filters>summary{font-size:13px;cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px}.public-page .theme-filters>summary::before{content:"+";font-size:18px}.public-page .theme-filters[open]>summary::before{content:"−"}.public-page .theme-filters>summary::-webkit-details-marker{display:none}
@media(max-width:900px){.public-page .entry-evidence summary{min-height:44px}}
.collection-project .card h2:has(.content-icon){display:flex;align-items:flex-start;gap:16px;font-size:21px;line-height:1.55}.collection-project .card h2>.content-icon{flex-shrink:0;width:56px;height:56px;margin:0}.collection-project .card h2>a{min-width:0}

/* Native controls and CSS timelines work under the existing script-free CSP. */
.page-top-marker{position:absolute;top:0;left:0;width:1px;height:1px;outline:0}
.skip-link{z-index:120}.site-header .mobile-navigation:focus-within{z-index:45}
.reading-progress{display:none;position:fixed;inset:0 0 auto;height:3px;z-index:100;background:linear-gradient(90deg,#315ee8,#91acff);transform:scaleX(0);transform-origin:left;pointer-events:none}
.site-back-top{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:50;display:grid;place-items:center;width:48px;height:48px;color:var(--accent);background:#ffffffed;backdrop-filter:blur(12px);border:1px solid #c9d5ec;border-radius:50%;box-shadow:0 7px 26px #263b6314;transition:background .2s,box-shadow .2s,translate .2s}
.site-back-top:hover{background:#edf2ff;box-shadow:0 10px 30px #263b6322;translate:0 -3px}.site-back-top:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.up-arrow{display:block;width:19px;height:19px;background:currentColor;mask:url('/icons/arrow.svg') no-repeat center/contain;rotate:-45deg}
.home-divider{position:relative}.home-divider::before{content:"";position:absolute;top:-1px;left:0;width:100%;height:1px;transform-origin:left;background:linear-gradient(90deg,#315ee8,#a9bef9 65%,transparent)}
.section-heading{position:relative}.section-heading::after{content:"";position:absolute;left:0;bottom:-9px;width:36px;height:2px;border-radius:2px;background:var(--accent);transform-origin:left}
.public-page .list-entry h2 a{background-image:linear-gradient(#9bb4f3,#9bb4f3);background-size:0 1px;background-repeat:no-repeat;background-position:0 100%;transition:background-size .25s,color .2s}.public-page .list-entry h2 a:hover,.public-page .list-entry h2 a:focus-visible{background-size:100% 1px;color:var(--accent)}
@keyframes intro-arrive{from{opacity:.15;translate:0 20px}to{opacity:1;translate:0 0}}
@keyframes surface-arrive{from{opacity:.35;translate:0 28px;scale:.985}to{opacity:1;translate:0 0;scale:1}}
@keyframes line-arrive{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes shelf-drift{from{translate:0 0;rotate:0deg}to{translate:0 -34px;rotate:-2deg}}
@keyframes read-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes top-control{0%,70%{opacity:0;visibility:hidden;translate:0 10px}100%{opacity:1;visibility:visible;translate:0 0}}
@keyframes disclosure-arrive{from{opacity:.25;translate:0 -7px}to{opacity:1;translate:0 0}}
@supports(animation-timeline:scroll()){
 .reading-progress{display:block;animation:read-progress 1ms linear both;animation-timeline:scroll(root block)}
 .site-back-top{animation:top-control 1ms linear both;animation-timeline:scroll(root block);animation-range:0px 420px}
}
@media(prefers-reduced-motion:no-preference){
 .home .intro-copy>*,.home .shelf-heading,.home .shelf-game,.home .shelf-note,.page-heading>*{animation:intro-arrive .72s cubic-bezier(.16,1,.3,1) both}
 .home .intro-copy>h1{animation-delay:.07s}.home .intro-description{animation-delay:.14s}.home .intro-actions{animation-delay:.21s}.home .shelf-game-1{animation-delay:.14s}.home .shelf-game-2{animation-delay:.22s}.home .shelf-game-3{animation-delay:.3s}.home .shelf-note{animation-delay:.35s}.page-heading>.lead{animation-delay:.08s}
 .public-page details[open]>:not(summary),.mobile-navigation[open] nav{animation:disclosure-arrive .23s ease-out both}
 @supports(animation-timeline:view()){
  .public-page .list-entry,.public-page .cards>.card,.home .archive-line,.home .writing-feature,.home .saved-card,.home .explore-link,.home .notebook-note,.home .about-block,.public-page .prose>h2,.public-page .prose>figure,.public-page .related{animation:surface-arrive 1ms linear both;animation-timeline:view();animation-range:entry 0% entry 90%}
  .section-heading::after,.home-divider::before{animation:line-arrive 1ms linear both;animation-timeline:view();animation-range:entry 0% entry 100%}
 }
}
@media(min-width:901px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 @supports(animation-timeline:view()){
  .home .game-shelf{animation:shelf-drift 1ms linear both;animation-timeline:view();animation-range:exit 0% exit 100%}
 }
}
.public-page :is(.list-entry,.card,.archive-line,.writing-feature,.saved-card,.explore-link,.notebook-note,.about-block,.related):focus-within{animation:none;opacity:1;translate:none;scale:1}
@media(max-width:760px){.site-back-top{right:max(16px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));width:44px;height:44px}.up-arrow{width:17px;height:17px}}
@media(max-width:360px){html[lang=en] .site-header .brand{font-size:16px;letter-spacing:-.04em}html[lang=en] .site-header .brand span{font-size:9px}}
@media(prefers-reduced-motion:reduce){.site-back-top{animation:none;opacity:1;visibility:visible;translate:none}.reading-progress{display:none}.site-back-top:hover{translate:none}}
@media print{.site-header{position:static}.reading-progress,.site-back-top,.mobile-navigation{display:none!important}.desktop-navigation{display:none!important}}
