:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ink:#27241f;--muted:#746a5d;--paper:#fbf2e4;--paper-deep:#ead8bd;--wood:#765138;--wood-dark:#241c17;--wood-soft:#956b4d;--gold:#a8782e;--green:#6b8f3f;--green-dark:#43642a;--beige-control:#ead6b7;--beige-control-light:#f7ead3;--red:#98483e;--teal:#5f7a74;--plum:#806472;--line:#5b442d29;--shadow:0 12px 30px #36261817;--board-frame:#2d2b27;--board-image:url(/assets/chesscom/boards/walnut.png);--piece-wp:url(/assets/chesscom/pieces/neo/wp.png);--piece-wn:url(/assets/chesscom/pieces/neo/wn.png);--piece-wb:url(/assets/chesscom/pieces/neo/wb.png);--piece-wr:url(/assets/chesscom/pieces/neo/wr.png);--piece-wq:url(/assets/chesscom/pieces/neo/wq.png);--piece-wk:url(/assets/chesscom/pieces/neo/wk.png);--piece-bp:url(/assets/chesscom/pieces/neo/bp.png);--piece-bn:url(/assets/chesscom/pieces/neo/bn.png);--piece-bb:url(/assets/chesscom/pieces/neo/bb.png);--piece-br:url(/assets/chesscom/pieces/neo/br.png);--piece-bq:url(/assets/chesscom/pieces/neo/bq.png);--piece-bk:url(/assets/chesscom/pieces/neo/bk.png);font-family:Segoe UI,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif}@media (max-width:980px){.reader-underbar{grid-template-columns:auto minmax(0,1fr)}.reader-underbar .reader-controls,.reader-underbar .content-actions{grid-column:1/-1;justify-content:center}}@media (max-width:760px){.book-reader-page .reader-book-spread{min-height:0}.book-reader-page .reader-scan-page{min-height:70vh}.book-reader-page .reader-page-image-wrap{height:70vh;min-height:540px;padding:28px 22px}.reader-underbar{grid-template-columns:1fr;align-items:stretch}.reader-title-link,.reader-underbar-title,.reader-underbar .reader-controls,.reader-underbar .content-actions{text-align:center;grid-column:auto;justify-content:center}}@media (max-width:760px){.book-reader-page{padding-bottom:36px}.book-reader-page .reader-page-image-wrap{height:58vh;min-height:420px}.reader-underbar{grid-template-columns:1fr}}@media (max-width:760px){.book-reader-page{padding-bottom:36px}.book-reader-page .reader-page-image-wrap{height:58vh;min-height:420px}.reader-underbar{grid-template-columns:1fr}}*{box-sizing:border-box}body{color:var(--ink);text-rendering:optimizelegibility;background:linear-gradient(#fff9f085,#efdec46b),#f1e2ca;margin:0;font-size:16px;line-height:1.5}button,input,select{font:inherit}a{color:inherit}.app-shell{min-height:100vh;overflow-x:clip}.site-header,main,footer{width:min(1480px,100vw - 48px);margin:0 auto}.site-header{z-index:5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f1e2caeb;justify-content:space-between;align-items:center;gap:20px;padding:14px 0;display:flex;position:sticky;top:0;overflow-x:clip}.brand,.site-header-actions,.site-header nav,footer,.library-tools,.stat-strip{align-items:center;gap:10px;display:flex}.site-header nav{flex-wrap:wrap;justify-content:flex-end;min-width:0}.site-header-actions{flex-wrap:wrap;flex:1;justify-content:flex-end;min-width:0}.brand{color:var(--wood-dark);white-space:nowrap;font-family:Georgia,Times New Roman,serif;font-size:1.3rem;font-weight:700;text-decoration:none}.site-header nav a{color:#5c554c;white-space:nowrap;border-radius:7px;padding:7px 8px;font-size:.9rem;font-weight:700;text-decoration:none}.site-header nav a:hover,.text-link:hover,.back-link:hover{color:var(--wood-dark)}.account-link,.account-status,.account-control{min-height:36px;color:var(--wood-dark);letter-spacing:.02em;background:#fffcf7d6;border:1px solid #27241f29;border-radius:6px;align-items:center;gap:8px;font-size:.82rem;font-weight:800;text-decoration:none;display:inline-flex}.account-link,.account-status{padding:0 11px}.account-control{max-width:320px;padding:4px 5px 4px 8px}.account-avatar{object-fit:cover;border-radius:999px;flex:none;place-items:center;width:24px;height:24px;display:inline-grid}.account-avatar-fallback{color:#4c3a2b;background:#efe2cf;font-size:.7rem;font-weight:850}.account-name{max-width:150px;color:inherit;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;overflow:hidden}.account-control button{color:#3d3027;cursor:pointer;letter-spacing:.02em;background:#fffaf2;border:1px solid #27241f24;border-radius:6px;align-items:center;min-height:28px;padding:0 9px;font-size:.72rem;font-weight:850;display:inline-flex}.page-hero h1{max-width:980px;color:var(--wood-dark);letter-spacing:0;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(2rem,4.2vw,4rem);line-height:1.02}.page-note{max-width:860px;color:var(--muted);margin:-8px 0 18px;font-weight:600}.library-hero{border:1px solid var(--line);min-height:auto;color:var(--ink);box-shadow:var(--shadow);background:linear-gradient(135deg,#fff8eef0,#edd5b5e0),linear-gradient(90deg,#b2823f1f,#6f482e14);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;padding:18px 20px;display:grid}.theory-hero,.history-page-head{grid-template-columns:minmax(0,1fr) minmax(320px,430px);align-items:center;gap:28px;margin-bottom:34px;padding:34px 0 18px;display:grid}.theory-hero-copy h1,.history-page-head h1,.theory-lanes h2{color:var(--wood-dark);letter-spacing:0;margin:0;font-family:Georgia,Times New Roman,serif}.theory-hero-copy h1,.history-page-head h1{max-width:920px;font-size:clamp(2.1rem,5vw,5rem);line-height:.98}.theory-hero-copy p,.history-page-head p,.theory-lanes p{max-width:760px;color:var(--muted);font-size:1.02rem;line-height:1.58}.hero-actions{flex-wrap:wrap;gap:10px;margin-top:22px;display:flex}.primary-link,.secondary-link{border-radius:999px;align-items:center;gap:8px;min-height:42px;padding:0 16px;font-weight:800;text-decoration:none;display:inline-flex}.primary-link{background:var(--wood);color:#fff8ed}.secondary-link{border:1px solid var(--line);color:var(--wood);background:#fff8efa8}.hero-archive{border:1px solid var(--line);min-width:0;box-shadow:var(--shadow);color:var(--ink);background:#fff8efc7;border-radius:8px;grid-template-columns:160px minmax(0,1fr);align-items:center;gap:15px;padding:12px;text-decoration:none;display:grid}.hero-archive strong,.hero-archive small,.hero-archive span{display:block}.hero-archive span{color:var(--gold);letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;font-weight:900}.hero-archive strong{color:var(--wood-dark);margin-top:7px;font-family:Georgia,Times New Roman,serif;font-size:1.2rem;line-height:1.1}.hero-archive small{color:var(--muted);margin-top:8px;line-height:1.35}.history-image{aspect-ratio:1;background:linear-gradient(145deg,#38271d47,#fff8ef33),#d9c2a2;border:1px solid #2c1f1838;border-radius:8px;width:100%;position:relative;overflow:hidden;box-shadow:0 12px 26px #2a1b1129}.history-image img{object-fit:cover;filter:sepia(.16)contrast(1.02)saturate(.9);width:100%;height:100%;transition:filter .16s,transform .22s;display:block}.research-image-link:hover .history-image img,.research-image-link:focus-visible .history-image img,.hero-archive:hover .history-image img,.hero-archive:focus-visible .history-image img{filter:sepia(.1)contrast(1.05)saturate(.96);transform:scale(1.015)}.history-image:after{content:"";background:linear-gradient(#0000,#1f1611b8);height:42%;position:absolute;inset:auto 0 0}.history-image span{z-index:1;color:#fff8ed;letter-spacing:.04em;text-align:center;text-shadow:0 1px 3px #1f1611cc;font-size:.72rem;font-weight:900;position:absolute;bottom:10px;left:10px;right:10px}.research-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px;display:grid}.research-card{border:1px solid var(--line);background:#fff8efcc;border-radius:8px;grid-template-columns:190px minmax(0,1fr);align-items:stretch;gap:18px;min-width:0;padding:12px;display:grid;box-shadow:0 12px 30px #3e2a1a1a}.research-card-large{grid-column:span 2;grid-template-columns:minmax(220px,300px) minmax(0,1fr)}.research-image-link{color:inherit;align-self:start;text-decoration:none}.research-copy{flex-direction:column;gap:9px;min-width:0;min-height:100%;display:flex}.research-fact-line,.research-topic-line{min-width:0;color:var(--gold);letter-spacing:0;text-transform:uppercase;flex-wrap:wrap;align-items:center;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.78rem;font-weight:900;line-height:1.25;display:flex}.research-fact-line{gap:7px}.research-fact-line span,.research-topic-line span{min-width:0}.research-fact-line span+span:before{vertical-align:middle;content:"";background:#b2823f75;width:18px;height:1px;margin:0 8px 0 1px;display:inline-block}.research-copy h2{color:var(--wood-dark);margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.2rem,2vw,1.72rem);line-height:1.08}.research-copy h2 a{text-decoration:none}.research-copy p{color:#513f31;margin:0;line-height:1.5}.research-copy .research-subtitle{color:var(--gold);font-weight:800}.research-meta{color:var(--muted);flex-wrap:wrap;gap:8px 12px;font-size:.82rem;font-weight:800;display:flex}.research-card-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin-top:auto;padding-top:2px;display:flex}.research-topic-line{color:#7d573b;text-transform:none;gap:6px;font-size:.7rem;position:relative}.research-topic-line:before{content:"";background:#6f482e57;flex:0 0 20px;height:1px}.research-topic-line span+span:before{color:#6f482e73;content:"/";margin-right:6px}.research-card-footer .text-link{white-space:nowrap;margin-left:auto;font-size:.88rem}.theory-lanes{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:22px;margin:34px 0 14px;display:grid}.theory-lanes h2{font-size:clamp(1.55rem,2.6vw,2.5rem);line-height:1.08}.concept-grid,.history-lens-grid,.resource-grid,.resource-columns{gap:14px;display:grid}.concept-card,.resource-card{border:1px solid var(--line);background:#fff8efb8;border-radius:8px;box-shadow:0 8px 24px #2a1b1114}.concept-card{gap:8px;padding:16px;display:grid}.concept-card h3{color:var(--wood-dark);margin:0;font-family:Georgia,Times New Roman,serif}.concept-card p{color:var(--muted);margin:0;line-height:1.45}.history-lens-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:20px}.resource-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}.resource-card{min-height:150px;color:var(--ink);gap:8px;padding:18px;text-decoration:none;display:grid}.resource-card span{color:var(--gold);font-family:Georgia,Times New Roman,serif;font-size:2rem;font-weight:800;line-height:1}.resource-card strong{color:var(--wood-dark);font-size:1rem}.resource-card small{color:var(--muted);font-size:.86rem;line-height:1.4}.resource-columns{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.study-shelf .section-title{margin-bottom:6px}.study-shelf .section-title h1{font-family:Segoe UI,ui-sans-serif,system-ui,sans-serif;font-size:1.08rem;font-weight:850}.study-shelf .section-title p:not(.eyebrow){margin-top:4px;font-size:.9rem}.shelf-head-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.sync-badge{max-width:100%;min-height:34px;color:var(--muted);background:#fff8efb8;border:1px solid #513c272e;border-radius:7px;align-items:center;gap:6px;padding:0 10px;font-size:.78rem;font-weight:850;display:inline-flex}.sync-badge-synced{color:var(--green-dark);border-color:#43642a47}.sync-badge-error,.sync-badge-offline{color:var(--red);border-color:#98483e42}.study-shelf-item{min-height:82px;color:var(--ink);background:#f8ecd8;border:1px solid #4e3c272e;border-radius:8px;gap:4px;padding:12px;text-decoration:none;display:grid;box-shadow:inset 0 -2px #4c341c0f}.study-shelf-item:hover,.study-shelf-item:focus-visible{border-color:#43642a6b;outline:0}.study-shelf-item span{color:var(--green-dark);letter-spacing:.04em;text-transform:uppercase;font-size:.72rem;font-weight:900}.study-shelf-item strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.95rem;line-height:1.25;display:-webkit-box;overflow:hidden}.study-shelf-item small{color:var(--muted);-webkit-line-clamp:1;-webkit-box-orient:vertical;font-size:.78rem;font-weight:650;line-height:1.3;display:-webkit-box;overflow:hidden}.study-shelf-grid,.opening-study-layout{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;display:grid}.study-shelf-grid article{min-width:0}.study-shelf-grid h2{color:var(--wood-dark);margin:0 0 10px;font-family:Georgia,Times New Roman,serif}.content-actions,.lesson-action-row{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.content-actions{margin-top:10px}.content-actions-compact{margin-top:4px}.content-actions button{color:var(--wood);cursor:pointer;background:#fff8efd1;border:1px solid #513c2733;border-radius:7px;align-items:center;gap:6px;min-height:34px;padding:0 10px;font-size:.8rem;font-weight:850;display:inline-flex}.content-actions button.active{color:var(--green-dark);background:#edf1dd;border-color:#43642a5c}.content-actions button:hover,.content-actions button:focus-visible{border-color:#43642a70;outline:0}.lesson-action-row{justify-content:space-between;margin-top:2px}.profile-page{gap:16px;display:grid}.profile-hero{align-items:stretch}.profile-sync-card{border:1px solid var(--line);background:#fff8efb8;border-radius:8px;align-content:center;gap:10px;min-width:min(280px,100%);max-width:360px;padding:14px;display:grid}.profile-sync-card p{color:var(--muted);margin:0;font-size:.88rem}.profile-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.profile-stat-grid span{border:1px solid var(--line);min-width:0;color:var(--muted);background:#fff8efb8;border-radius:8px;grid-template-columns:auto 1fr;align-items:center;gap:4px 9px;padding:12px;font-size:.78rem;font-weight:850;display:grid}.profile-stat-grid strong{color:var(--wood-dark);font-size:1.35rem;line-height:1}.profile-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.profile-summary-grid .panel{gap:6px;margin:0;display:grid}.profile-summary-grid h2{min-width:0;color:var(--wood-dark);text-overflow:ellipsis;white-space:nowrap;margin:0;font-family:Georgia,Times New Roman,serif;overflow:hidden}.profile-summary-grid p:not(.eyebrow){min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;display:grid}.profile-recent-activity{margin-top:4px}.profile-recent-activity .profile-list-panel{max-width:760px}.profile-list-panel h2{color:var(--wood-dark);margin-top:0;font-family:Georgia,Times New Roman,serif}.profile-item-list{gap:8px;display:grid}.profile-item-list a{min-width:0;color:var(--ink);background:#f8ecd8;border:1px solid #4e3c2729;border-radius:7px;gap:4px;padding:10px;text-decoration:none;display:grid;position:relative;overflow:hidden}.profile-item-list a:hover,.profile-item-list a:focus-visible{border-color:#43642a6b;outline:0}.profile-item-list span{color:var(--green-dark);letter-spacing:.04em;text-transform:uppercase;font-size:.68rem;font-weight:900}.profile-item-list strong,.profile-item-list small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.profile-item-list small{color:var(--muted);font-size:.78rem;font-weight:650}.profile-item-list i{width:var(--progress);background:var(--green);border-radius:999px;max-width:100%;height:3px;display:block}.profile-appearance-panel{gap:18px;display:grid}.profile-appearance-title{align-items:center;margin:0}.profile-appearance-title h2{color:var(--wood-dark);margin:0;font-family:Georgia,Times New Roman,serif}.appearance-current{grid-template-columns:76px minmax(0,1fr);align-items:center;gap:12px;min-width:min(280px,100%);display:grid}.appearance-current p{gap:2px;min-width:0;margin:0;display:grid}.appearance-current p>strong,.appearance-current p>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.appearance-current p>strong{color:var(--wood-dark);font-size:.98rem}.appearance-current p>span{color:var(--muted);font-size:.8rem;font-weight:750}.appearance-settings-grid{gap:18px;display:grid}.appearance-settings-grid h3{color:var(--wood-dark);margin:0 0 10px;font-size:.92rem}.appearance-option-grid{gap:8px;display:grid}.appearance-board-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))}.appearance-piece-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr))}.appearance-option{min-width:0;min-height:92px;color:var(--ink);cursor:pointer;text-align:left;background:#fff8ef;border:1px solid #4e3c2729;border-radius:8px;align-content:start;gap:8px;padding:8px;display:grid}.appearance-option:hover,.appearance-option:focus-visible{border-color:#43642a6b;outline:0}.appearance-option[aria-pressed=true]{border-color:#43642ac7;box-shadow:inset 0 0 0 2px #43642a33,0 6px 16px #36261814}.appearance-option>span:last-child{min-width:0;color:var(--wood-dark);text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;font-weight:850;line-height:1.1;overflow:hidden}.appearance-board-preview,.appearance-board-swatch{border:3px solid var(--board-frame);background-color:var(--board-frame);background-image:var(--board-image);background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:6px;display:grid;position:relative;overflow:hidden}.appearance-board-preview{aspect-ratio:1;grid-template-rows:repeat(8,minmax(0,1fr));grid-template-columns:repeat(8,minmax(0,1fr));width:76px;box-shadow:0 8px 18px #2a1b1129}.appearance-board-swatch{aspect-ratio:1.8;border-width:2px;grid-template-rows:repeat(4,minmax(0,1fr));grid-template-columns:repeat(4,minmax(0,1fr));width:100%}.appearance-preview-square{place-items:center;min-width:0;min-height:0;display:grid}.appearance-preview-square.light,.appearance-preview-square.dark{background:0 0}.appearance-board-preview .piece{line-height:1}.appearance-piece-swatch{background:linear-gradient(90deg,#ffffff47,#3c2a190a),#ead8bd;border:1px solid #4e3c2724;border-radius:6px;grid-template-columns:repeat(6,minmax(0,1fr));place-items:center;column-gap:clamp(1px,1.2%,2px);min-height:40px;padding:5px;display:grid}.appearance-piece-cell{place-items:center;width:100%;min-width:0;height:28px;display:grid}.appearance-piece-cell .piece{justify-self:center;width:100%;min-width:0;max-width:28px;height:100%;max-height:100%;line-height:1}.shelf-empty{margin:12px 0 0}.compact-link-list{gap:8px;min-width:0;display:grid}.compact-link-list a{border-top:1px solid var(--line);min-width:0;color:inherit;gap:3px;padding-top:9px;text-decoration:none;display:grid}.compact-link-list a:first-child{border-top:0;padding-top:0}.compact-link-list span{min-width:0;color:var(--muted);overflow-wrap:anywhere;font-size:.86rem}.compact-link-list strong{overflow-wrap:anywhere;min-width:0}.compact-matchup{max-width:100%;color:var(--wood-dark);font-size:.96rem;line-height:1.25}.compact-matchup .player-name{max-width:16rem}.concept-study-card{gap:10px;display:grid}.concept-study-card .compact-link-list{margin-top:4px}.opening-study-layout{grid-template-columns:minmax(280px,.9fr) minmax(0,1.5fr);margin-bottom:16px}.opening-path-panel{gap:12px;display:grid}.library-hero h1,.page-hero h1,.section-title h1,.game-heading h1,.opening-detail h1{letter-spacing:0;margin:0;font-family:Georgia,Times New Roman,serif}.library-hero h1{max-width:900px;font-size:clamp(1.55rem,2.6vw,2.45rem);line-height:1.12}.library-hero p{max-width:780px;color:var(--muted);margin:8px 0 0;font-size:.95rem;line-height:1.48}.eyebrow{color:#7a613d;letter-spacing:.04em;text-transform:uppercase;margin:0 0 10px;font-size:.76rem;font-weight:800}.stat-strip{flex-wrap:wrap;justify-content:flex-end;align-self:stretch}.stat-strip span{border:1px solid var(--line);min-width:104px;color:var(--muted);background:#fff8efb8;border-radius:8px;padding:10px 12px;display:grid}.stat-strip strong{color:var(--ink);font-size:1.2rem}.filters,.library-tools,.panel,.table-wrap,.opening-list a,.source-list article{border:1px solid var(--line);background:#fff9f0b8;border-radius:8px;box-shadow:0 7px 20px #2a1b110f}.filters{background:#e4cca994;border-color:#5d44292e;grid-template-columns:minmax(320px,2fr) repeat(4,minmax(170px,1fr));align-items:end;gap:10px;margin:16px 0 18px;padding:12px;display:grid;box-shadow:inset 0 1px #fffaf29e,0 8px 20px #3526170f}.filters label{color:#5f4f3d;letter-spacing:0;text-transform:none;gap:5px;min-width:0;font-size:.82rem;font-weight:800;display:grid}.filters input,.filters select{color:#2f2a23;background:#fff9efeb;border:1px solid #563e2338;border-radius:7px;width:100%;height:40px;padding:0 11px;font-weight:650;box-shadow:inset 0 -2px #5e402017}.filters input:focus,.filters select:focus{border-color:var(--green-dark);outline:0;box-shadow:0 0 0 3px #6b8f3f38,inset 0 -2px #5e402017}.search-field svg{color:var(--muted);position:absolute;bottom:12px;left:11px}.search-field input{padding-left:38px}.history-filters .search-field{grid-column:span 2}.auth-page{place-items:center;max-width:100%;min-height:calc(100vh - 190px);padding:clamp(24px,6vw,64px) 0;display:grid;position:relative}.auth-page:before{content:"";pointer-events:none;background:0 0;position:absolute;inset:0}.auth-popup{z-index:1;width:min(390px,100vw - 48px);box-shadow:none;background:#fffaf2;border:1px solid #27241f2e;border-radius:8px;padding:30px;display:grid;position:relative}.auth-popup-head{margin-bottom:20px}.auth-popup-head h1,.auth-signed-in h1{color:#241f1a;letter-spacing:.03em;margin:0;font-family:Segoe UI,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;font-size:1.35rem;font-weight:850;line-height:1.15}.auth-popup-head p,.auth-switch,.auth-check,.auth-notice,.auth-signed-in{color:var(--muted)}.auth-popup-head p{margin:7px 0 0;font-size:.95rem;line-height:1.45}.auth-form{gap:9px;display:grid}.auth-form input[type=text],.auth-form input[type=password]{width:100%;min-height:44px;box-shadow:none;color:var(--ink);background:#fff;border:1px solid #27241f38;border-radius:6px;outline:0;padding:0 12px;font-family:Segoe UI,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;font-size:1rem;font-weight:400}.auth-form input[type=text]:focus,.auth-form input[type=password]:focus{border-color:#4f6f38;box-shadow:0 0 0 3px #4f6f382e}.auth-row{justify-content:flex-start;align-items:center;gap:10px;margin:3px 0 2px;display:flex}.auth-check{white-space:nowrap;align-items:center;gap:8px;font-size:.9rem;line-height:1;display:inline-flex}.auth-check input{width:15px;height:15px;accent-color:var(--wood)}.auth-switch button{cursor:pointer;font:inherit;background:0 0;border:0;padding:0;font-weight:850}.auth-submit,.google-auth-button,.auth-profile-link,.auth-secondary-button{cursor:pointer;border-radius:6px;width:100%;min-height:42px;font-size:.86rem;font-weight:850}.auth-submit{box-shadow:none;color:#fffaf2;letter-spacing:.03em;background:#2e2924;border:0;margin-top:5px}.auth-submit:hover{background:#4b4036}.auth-submit:disabled,.google-auth-button:disabled,.auth-secondary-button:disabled{cursor:not-allowed;opacity:.62}.google-auth-button{box-shadow:none;color:#26221d;background:#fff;border:1px solid #27241f2e;justify-content:center;align-items:center;gap:11px;margin-top:10px;display:inline-flex}.google-mark{flex:none;width:18px;height:18px}.auth-error{color:#712b20;background:#f4d5ca;border:1px solid #98483e4d;border-radius:6px;margin:0 0 12px;padding:10px 11px;font-size:.9rem;font-weight:700}.auth-notice{background:#f4e6ce;border:1px solid #a8782e47;border-radius:6px;margin:0 0 12px;padding:10px 11px;font-size:.9rem;font-weight:650}.auth-switch{text-align:center;margin:14px 0 0;font-size:.9rem}.auth-switch button{color:#2f4f24}.auth-signed-in{text-align:center;justify-items:stretch;gap:18px;display:grid}.auth-signed-in h1{overflow-wrap:anywhere;letter-spacing:0;max-width:100%;font-size:1.18rem}.auth-kicker{color:#5e7545;letter-spacing:.08em;margin:0 0 4px;font-size:.76rem;font-weight:850}.signed-in-avatar{object-fit:cover;border-radius:999px;justify-self:center;place-items:center;width:52px;height:52px;display:inline-grid}.signed-in-avatar-fallback{color:#3b3028;background:#efe2cf;font-size:1.02rem;font-weight:850}.auth-account-summary{gap:4px;display:grid}.auth-account-summary p{margin:0}.auth-success-actions{gap:9px;display:grid}.auth-profile-link,.auth-secondary-button{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.auth-profile-link{color:#fffaf2;letter-spacing:.03em;background:#2e2924;border:0}.auth-secondary-button{color:#302922;background:#fff;border:1px solid #27241f2e}.difficulty-field{min-width:220px}.filter-count{background:var(--beige-control-light);color:#5f4f3d;white-space:nowrap;border:1px solid #563e2347;border-radius:7px;align-items:center;min-height:40px;padding:0 12px;font-weight:700;display:flex}.filter-count strong{color:var(--ink);margin-right:4px}.library-tools{color:var(--muted);justify-content:space-between;margin-bottom:16px;padding:12px 16px}.table-wrap{overflow:auto}.game-table{border-collapse:collapse;width:100%;min-width:980px}.game-table th,.game-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:12px 14px}.game-table th{color:var(--wood-dark);letter-spacing:.04em;text-transform:uppercase;background:#4b2f2014;font-size:.76rem}.game-table small,.opening-list small,.related-games span{color:var(--muted);margin-top:3px;display:block}.table-sort,.icon-link,.board-controls button,.move-list button,.key-grid button,.load-more{color:inherit;cursor:pointer;background:0 0;border:0}.table-sort{text-transform:inherit;align-items:center;gap:6px;padding:0;font-weight:800;display:inline-flex}.icon-link{border:1px solid var(--line);width:34px;height:34px;color:var(--wood);border-radius:6px;place-items:center;display:inline-grid}.badge{border:1px solid var(--line);min-height:24px;color:var(--wood-dark);white-space:normal;border-radius:999px;align-items:center;max-width:100%;padding:3px 8px;font-size:.76rem;font-weight:800;display:inline-flex}.badge-title{color:#5d4938;background:0 0;border-color:#b9aa98;border-radius:4px;min-height:18px;padding:1px 5px;font-size:.64rem;font-weight:800;line-height:1}.badge-danger{color:#712b20;background:#f4d5ca}.matchup-title,.player-name{align-items:center;min-width:0;display:inline-flex}.matchup-title{flex-wrap:wrap;gap:4px 8px}.matchup-title .versus{color:var(--muted);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.78em;font-weight:800}.player-name{gap:5px;max-width:100%}.player-name-text{text-overflow:ellipsis;min-width:0;overflow:hidden}.player-name .badge{flex:none}.player-name .badge-title{min-width:21px}.load-more{background:var(--wood);color:#fff8ed;border-radius:6px;margin:22px auto 0;padding:12px 20px;font-weight:800;display:block}.game-heading,.section-title{justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:18px;display:flex}.game-heading{display:block}.game-heading h1,.section-title h1,.opening-detail h1{font-size:clamp(1.45rem,2.8vw,2.3rem)}.game-heading p,.section-title p,.opening-detail p,.muted{color:var(--muted)}.back-link,.text-link{color:var(--wood);align-items:center;gap:6px;font-weight:800;text-decoration:none;display:inline-flex}.text-button{min-height:32px;color:var(--wood);cursor:pointer;font:inherit;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-weight:800;display:inline-flex}.quick-action-row{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:12px;display:flex}.quick-action-row .text-button,.library-tools .text-button,.study-action-copy{min-height:34px;color:var(--wood);background:#fff8efb8;border:1px solid #513c272e;border-radius:7px;padding:0 10px}.empty-results{justify-items:start;gap:10px;margin-top:18px;display:grid}.empty-results h2{margin-bottom:0}.compact-section-title{align-items:center;margin-bottom:12px}.trust-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 20px;display:grid}.trust-strip span{border:1px solid var(--line);min-width:0;color:var(--muted);background:#fff8efbd;border-radius:8px;gap:4px;padding:11px 12px;font-size:.82rem;line-height:1.35;display:grid;box-shadow:0 8px 22px #2a1b1112}.trust-strip strong{color:var(--wood-dark);letter-spacing:.06em;text-transform:uppercase;font-size:.72rem}.candidate-row{flex-wrap:wrap;gap:8px;display:flex}.study-layout{grid-template-columns:minmax(320px,560px) minmax(0,1fr);align-items:start;gap:20px;display:grid}.board-panel{min-width:0;position:sticky;top:82px}.board{isolation:isolate;aspect-ratio:1;background:var(--board-frame);border-radius:4px;grid-template-rows:repeat(8,1fr);grid-template-columns:repeat(8,1fr);width:min(560px,100%);margin:0 0 28px;display:grid;position:relative;overflow:hidden;box-shadow:0 22px 46px #2a1b1142,0 0 0 1px #241d1780}.board:before{z-index:0;border-radius:inherit;background-image:var(--board-image);content:"";background-position:50%;background-repeat:no-repeat;background-size:cover;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ffffff0a}.board.is-flipped:before{transform:rotate(180deg)}.square{z-index:1;border:0;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:0;font-size:clamp(1.7rem,5.7vw,3.85rem);line-height:1;display:grid;position:relative;overflow:hidden}.square.light,.square.dark{background:0 0}.square:nth-child(3n),.position-square:nth-child(3n){background-position:4px 0,2px 0,0 0}.square:nth-child(4n),.position-square:nth-child(4n){background-position:-3px 0,6px 0,0 0}.square.is-last-move:after{z-index:2;content:"";background:#e2bc408a;position:absolute;inset:0;box-shadow:inset 0 0 16px #9c6c181f}.annotation-board{touch-action:none;-webkit-user-select:none;user-select:none}.annotation-board .square{cursor:crosshair}.square.is-annotation-mark:before{z-index:4;content:"";pointer-events:none;background:#3370641a;border:4px solid #337064b3;border-radius:50%;position:absolute;inset:12%;box-shadow:0 1px 2px #2b1d142e}.piece{z-index:3;background-image:var(--piece-image);filter:none;background-position:50%;background-repeat:no-repeat;background-size:contain;width:100%;height:100%;display:block;position:relative;transform:none}.piece-white,.piece-black{color:#0000}.board-coordinate{z-index:5;color:#2c221a94;pointer-events:none;text-shadow:0 1px #fff6e66b,0 -1px #20160f29;font-size:clamp(.68rem,1.2vw,.88rem);font-weight:800;line-height:1;position:absolute}.board-rank-coordinate{top:calc((var(--coordinate-index) + .5) * 12.5%);left:7px;transform:translateY(-50%)}.board-file-coordinate{bottom:7px;left:calc((var(--coordinate-index) + .5) * 12.5%);transform:translate(-50%)}.board-controls{justify-content:center;align-items:center;gap:10px;margin-top:12px;display:flex}.board-controls button,.board-controls span{border:1px solid var(--line);min-width:42px;height:38px;color:var(--wood);background:#fff8ef;border-radius:6px;place-items:center;font-weight:800;display:inline-grid}.position-jump{grid-template-columns:minmax(0,1fr) 78px;align-items:end;gap:10px;width:min(560px,100%);margin:10px auto 0;display:grid}.position-jump label{gap:6px;min-width:0;display:grid}.position-jump label span{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:800;overflow:hidden}.position-jump input[type=range]{width:100%;accent-color:var(--green)}.position-jump input[type=number]{border:1px solid var(--line);width:100%;min-height:38px;color:var(--wood-dark);background:#fff8ef;border-radius:6px;padding:0 8px;font-weight:800}.study-prompt{border:1px solid var(--line);background:#fff8efcc;border-radius:8px;gap:10px;width:min(560px,100%);margin-top:12px;padding:14px;display:grid;box-shadow:0 8px 22px #2a1b1114}.study-prompt h2,.study-prompt p{margin:0}.study-prompt h2{color:var(--wood-dark);font-family:Georgia,Times New Roman,serif;font-size:1.15rem}.study-prompt p:not(.eyebrow){color:var(--muted);line-height:1.45}.panel h2,.panel h3{margin:0 0 10px;font-family:Georgia,Times New Roman,serif}.move-panel{flex-direction:column;max-height:min(680px,100vh - 118px);display:flex;overflow:hidden}.move-panel-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.move-panel-head p{margin:0;line-height:1.4}.segmented-control{border:1px solid var(--line);background:#fffcf7d1;border-radius:8px;display:inline-flex;overflow:hidden}.segmented-control button{min-width:76px;min-height:36px;color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;font-weight:800}.segmented-control button.active{background:var(--wood);color:#fff8ed}.move-list-scroll{min-height:0;padding-right:4px;overflow:auto}.move-list{gap:5px;margin:0;padding:0;list-style:none;display:grid}.move-list li{grid-template-columns:42px 1fr 1fr;align-items:center;gap:6px;display:grid}.move-number{color:var(--muted);font-weight:800}.move-list button{min-height:32px;color:var(--wood-dark);text-align:left;border-radius:5px}.move-list button:hover,.move-list button.active{background:#f2d9b9}.move-list button.hidden-move{color:#30251d6b;cursor:default;text-align:center;font-weight:900}.move-list button.hidden-move:hover{background:0 0}.study-actions{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;padding-top:12px;font-size:.86rem;display:flex}.study-actions button{border:1px solid var(--line);min-height:34px;color:var(--wood);cursor:pointer;font:inherit;background:#fff8ef;border-radius:6px;padding:0 11px;font-weight:800}.trainer-page{gap:16px;display:grid}.trainer-filters select{min-width:0}.trainer-mode-field{color:#5f4f3d;gap:5px;min-width:0;font-size:.82rem;font-weight:800;display:grid}.trainer-layout{grid-template-columns:minmax(360px,620px) minmax(320px,1fr);align-items:start;gap:20px;display:grid}.trainer-board-panel{gap:12px;min-width:0;padding-left:0;display:grid;position:sticky;top:82px}.interactive-board-wrap{width:min(620px,100%);padding-top:8px}.interactive-board{touch-action:none;-webkit-user-select:none;user-select:none;width:min(620px,100%);margin-bottom:30px}.interactive-board .square{cursor:pointer}.square.is-selected{box-shadow:inset 0 0 0 4px #43642a94}.square.is-legal-target:before,.square.is-hint-square:before,.square.is-premove-square:before,.square.is-arrow-draft:before{z-index:4;content:"";pointer-events:none;border-radius:50%;position:absolute;inset:31%}.square.is-legal-target:before{background:#43642a94;box-shadow:0 0 0 5px #fff8ef38}.square.is-hint-square:before{background:#ffd2532e;border:3px solid #ffd253db;inset:10%}.square.is-premove-square:before{background:#5b7c742e;border:3px solid #5b7c74b8;inset:16%}.square.is-arrow-draft:before{background:0 0;border:2px solid #7a3f34ad;inset:22%}.trainer-arrow-layer{z-index:6}.trainer-arrow-shape{fill:#33706499;filter:drop-shadow(0 1px 1px #2b1d1433)}.trainer-arrow-draft-shape{fill:#7a3f3480}.trainer-moving-piece{z-index:8;pointer-events:none;width:12.5%;height:12.5%;transform:translate(calc(var(--from-col) * 100%), calc(var(--from-row) * 100%));place-items:center;font-size:3.6rem;animation:.19s cubic-bezier(.2,.86,.24,1) forwards trainerPieceMove;display:grid;position:absolute;top:0;left:0}.trainer-dragged-piece{z-index:1000;pointer-events:none;place-items:center;width:64px;height:64px;font-size:3.4rem;display:grid;position:fixed;transform:translate(-50%,-54%)}.board.interactive-board{--trainer-board-rail:clamp(18px, 3.8vw, 24px);--trainer-board-square:calc((100% - (var(--trainer-board-rail) * 2)) / 8);width:min(600px,100%);padding:var(--trainer-board-rail);background:var(--board-frame);border:1px solid #0c0b09eb;border-radius:7px;box-shadow:0 22px 46px #2a1b113d,inset 0 0 0 1px #ffffff0f}.board.interactive-board:before{inset:var(--trainer-board-rail);border-radius:3px}.board.interactive-board .square.light,.board.interactive-board .square.dark{background:0 0}.board.interactive-board .square.is-last-move:after{background:#86a85b52;box-shadow:inset 0 0 16px #3d5b2724}.board.interactive-board .piece{filter:none;font-size:clamp(1.92rem,6.3vw,4rem);transform:none}.board.interactive-board .piece-white,.board.interactive-board .piece-black{color:#0000}.board.interactive-board .board-coordinate{color:#b7b7b2;text-shadow:0 1px 1px #000000f2;font-size:clamp(.62rem,1.15vw,.8rem);font-weight:900}.board.interactive-board .board-rank-coordinate{top:calc(var(--trainer-board-rail) + ((var(--coordinate-index) + .5) * var(--trainer-board-square)));transform:translateY(-50%)}.board.interactive-board .board-rank-coordinate-left{left:7px}.board.interactive-board .board-rank-coordinate-right{left:auto;right:7px}.board.interactive-board .board-file-coordinate{left:calc(var(--trainer-board-rail) + ((var(--coordinate-index) + .5) * var(--trainer-board-square)));transform:translate(-50%)}.board.interactive-board .board-file-coordinate-top{top:5px;bottom:auto}.board.interactive-board .board-file-coordinate-bottom{bottom:5px}.trainer-board-frame-label{z-index:7;color:#e5e5df;letter-spacing:0;pointer-events:none;text-overflow:ellipsis;text-shadow:0 1px 1px #000000fa,0 -1px #ffffff1f;white-space:nowrap;max-width:34%;font-size:clamp(.48rem,1.1vw,.72rem);font-weight:950;line-height:1;position:absolute;bottom:5px;left:50%;overflow:hidden;transform:translate(-50%)}.board.interactive-board .move-arrow-layer{inset:var(--trainer-board-rail);width:auto;height:auto}.board.interactive-board .move-arrow-shape,.board.interactive-board .trainer-arrow-shape,.board.interactive-board .trainer-arrow-draft-shape{filter:drop-shadow(0 1px 1px #231d143d)}.board.interactive-board .move-arrow-shape{fill:#6597529e}.board.interactive-board .trainer-arrow-shape{fill:#65975294}.board.interactive-board .trainer-arrow-draft-shape{fill:#36332c8f}.board.interactive-board .trainer-moving-piece{top:var(--trainer-board-rail);left:var(--trainer-board-rail);width:var(--trainer-board-square);height:var(--trainer-board-square);font-size:clamp(1.92rem,6.3vw,4rem)}.board.interactive-board .trainer-dragged-piece{font-size:3.7rem}@keyframes trainerPieceMove{to{transform:translate(calc(var(--to-col) * 100%), calc(var(--to-row) * 100%))}}.trainer-history-controls{justify-content:flex-start;margin-top:-8px;padding-left:22px}.trainer-history-controls button:disabled,.trainer-action-row button:disabled,.reader-audio-buttons button:disabled{opacity:.48;cursor:not-allowed}.trainer-action-row{flex-wrap:wrap;gap:8px;padding-left:22px;display:flex}.trainer-action-row button{border:1px solid var(--line);min-height:38px;color:var(--wood);cursor:pointer;font:inherit;background:#fff8ef;border-radius:6px;align-items:center;gap:6px;padding:0 11px;font-weight:800;display:inline-flex}.trainer-rail{gap:14px;min-width:0;display:grid}.trainer-coach{border-left:5px solid var(--gold)}.trainer-coach-success{border-left-color:var(--green)}.trainer-coach-warning{border-left-color:var(--red)}.trainer-coach-coach,.trainer-coach-note{border-left-color:var(--teal)}.trainer-coach-head{align-items:flex-start;gap:10px;display:flex}.trainer-coach-head svg{color:var(--wood);flex:none;margin-top:3px}.trainer-coach h2,.trainer-coach p,.trainer-score-panel h2,.trainer-line-panel h2,.trainer-continuations h2{margin:0}.trainer-coach p:not(.eyebrow){color:#514336;margin-top:10px}.trainer-coach .candidate-row{align-items:center;margin-top:12px}.trainer-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.trainer-stat-grid span{border:1px solid var(--line);min-width:0;color:var(--muted);background:#fff8efb8;border-radius:7px;gap:3px;padding:10px;font-size:.78rem;font-weight:800;display:grid}.trainer-stat-grid strong{color:var(--wood-dark);font-size:1.25rem;line-height:1}.trainer-line-panel{max-height:390px}.trainer-line-panel .move-panel-head h2{font-size:1.08rem;line-height:1.16}.trainer-continuations{gap:10px;display:grid}.trainer-candidate-list{gap:8px;display:grid}.trainer-candidate-list span{border:1px solid var(--line);background:#fff8ef;border-radius:6px;gap:2px;padding:9px 10px;display:grid}.trainer-candidate-list span.best{background:#eef0d6;border-color:#43642a6b}.trainer-candidate-list strong{color:var(--wood-dark)}.trainer-candidate-list small{color:var(--muted);font-size:.78rem}.opening-train-link{text-decoration:none}.analysis-box{border-left:4px solid var(--gold);gap:10px;padding:12px 0 12px 14px;display:grid}.opening-theory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0;display:grid}.line-text{border:1px solid var(--line);color:var(--wood-dark);background:#f7faf5d1;border-radius:6px;margin:10px 0;padding:10px 12px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.84rem;line-height:1.55}.variation-table{gap:6px;margin:14px 0;display:grid}.variation-table div{border:1px solid var(--line);background:#fff8efb8;border-radius:6px;grid-template-columns:minmax(80px,1fr) 110px 140px;align-items:center;gap:10px;padding:8px 10px;display:grid}.analysis-head{justify-content:space-between;align-items:center;gap:12px;display:flex}details{border-top:1px solid var(--line);padding-top:8px}summary{cursor:pointer;color:var(--wood);font-weight:800}.lesson-grid,.opening-grid,.key-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px;display:grid}.key-grid button{border:1px solid var(--line);min-height:76px;color:var(--wood-dark);text-align:left;background:#fff8ef;border-radius:6px;gap:4px;padding:12px;display:grid}.opening-list,.source-list{gap:12px;display:grid}.opening-tile-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;margin-top:14px}.opening-tile{aspect-ratio:1;background:linear-gradient(#fff9eddb,#f2e0c2e6),#f4e3c6;border:1px solid #4e3c2733;border-radius:8px;flex-direction:column;min-width:0;min-height:228px;padding:12px;display:flex;box-shadow:inset 0 -2px #593a1f0f,0 8px 18px #2a1b1114}.opening-tile:hover,.opening-tile:focus-within{border-color:#43642a70;box-shadow:inset 0 -2px #593a1f0f,0 10px 22px #2a1b111f}.opening-list .opening-tile-link{min-width:0;box-shadow:none;color:inherit;background:0 0;border:0;flex:1;gap:9px;padding:0;text-decoration:none;display:grid}.opening-tile .opening-thumbnail{border-width:4px;border-radius:7px;justify-self:center;width:min(100%,136px);max-width:136px;margin:0;box-shadow:0 7px 14px #2a1b1124}.opening-tile-copy{gap:4px;min-width:0;display:grid}.opening-code{color:var(--green-dark);letter-spacing:.05em;text-transform:uppercase;font-size:.72rem;font-weight:900}.opening-tile h2{color:var(--wood-dark);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-family:Georgia,Times New Roman,serif;font-size:1rem;line-height:1.12;display:-webkit-box;overflow:hidden}.opening-tile p{color:#675848;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.78rem;font-weight:600;line-height:1.35;display:-webkit-box;overflow:hidden}.opening-tile-footer{color:#6c5d4c;align-items:center;gap:7px;margin-top:10px;font-size:.76rem;font-weight:800;display:flex}.opening-tile-footer .badge{flex:none}.opening-save-button{color:#43532d;cursor:pointer;background:#e7d5b9;border:1px solid #43642a47;border-radius:7px;padding:5px 8px;font-size:.76rem;font-weight:900}.opening-train-link{margin-left:auto}.opening-save-button:hover,.opening-save-button:focus-visible{background:var(--green);color:#fff8ed;outline:0}.opening-list h2 a{color:inherit;text-decoration:none}.history-story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.history-story-card{min-width:0;color:var(--ink);grid-template-columns:132px minmax(0,1fr);gap:16px;text-decoration:none;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.history-story-card:hover,.history-story-card:focus-visible{border-color:#6f482e57;outline:0;transform:translateY(-1px);box-shadow:0 12px 28px #3e2a1a24}.history-date-block{min-height:132px;color:var(--wood-dark);background:linear-gradient(145deg,#6f482e2e,#fff8efd6),#ead7bf;border:1px solid #6f482e38;border-radius:8px;align-content:center;padding:14px;display:grid}.history-date-block strong{font-family:Georgia,Times New Roman,serif;font-size:clamp(1.2rem,2.2vw,2rem);line-height:1}.history-date-block span{color:var(--muted);margin-top:8px;font-size:.8rem;font-weight:800;line-height:1.25}.history-story-copy{gap:7px;min-width:0;display:grid}.history-story-copy h2{color:var(--wood-dark);margin:0;font-family:Georgia,Times New Roman,serif;font-size:1.18rem;line-height:1.15}.history-story-copy p{color:#5f4d3e;margin:0;line-height:1.45}.history-story-subtitle{font-weight:800;color:var(--gold)!important}.history-detail-layout{grid-template-columns:minmax(0,1fr) minmax(310px,.36fr);align-items:start;gap:18px;display:grid}.history-story-body{gap:12px;display:grid}.history-story-body h2,.history-story-body p{margin:0}.history-story-body p{color:#513f31;font-size:1.02rem;line-height:1.68}.history-source-rail{gap:14px;display:grid;position:sticky;top:84px}.history-source-rail .text-link{margin-top:8px}.card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.people-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-width:0;margin-top:18px;display:grid}.people-card{gap:12px;min-width:0;max-width:100%;display:grid}.person-card-head{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;max-width:100%;display:flex}.person-card-head h2{min-width:0;color:var(--wood-dark);margin:0;font-family:Georgia,Times New Roman,serif;font-size:1.2rem;line-height:1.16}.person-card-head .text-link{white-space:normal;flex:0 auto;font-size:.84rem}.person-stat-line{min-width:0;color:var(--muted);flex-wrap:wrap;gap:6px 12px;font-size:.82rem;font-weight:800;display:flex}.game-summary-card{aspect-ratio:1;min-height:0;color:var(--ink);grid-template-rows:minmax(0,1fr) auto;align-items:stretch;gap:12px;padding:14px;text-decoration:none;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.game-summary-card:hover,.game-summary-card:focus-visible{border-color:#6f482e57;outline:0;transform:translateY(-1px);box-shadow:0 10px 24px #3e2a1a1f}.game-card-body{gap:6px;min-width:0;display:grid}.game-card-kicker{color:#8b6d51;letter-spacing:.04em;text-transform:uppercase;justify-content:flex-start;align-items:center;gap:8px;font-size:.72rem;font-weight:800;display:flex}.game-card-kicker span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.game-card-kicker span+span{color:#a0866d;text-align:right;font-weight:700}.game-card-context,.game-card-summary{margin:0;line-height:1.42}.game-card-context{color:var(--muted);overflow-wrap:anywhere;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.8rem;display:-webkit-box;overflow:hidden}.game-card-summary{color:#5f4d3e;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.86rem;display:-webkit-box;overflow:hidden}.position-thumbnail{isolation:isolate;aspect-ratio:1;border:5px solid var(--board-frame);background:var(--board-frame);border-radius:8px;grid-template-rows:repeat(8,minmax(0,1fr));grid-template-columns:repeat(8,minmax(0,1fr));width:100%;max-width:220px;display:grid;position:relative;overflow:hidden;box-shadow:0 12px 26px #2a1b112e}.position-thumbnail:before{z-index:0;background-image:var(--board-image);content:"";background-position:50%;background-repeat:no-repeat;background-size:cover;position:absolute;inset:0}.position-square{z-index:1;place-items:center;width:100%;min-width:0;height:100%;min-height:0;font-size:1.35rem;line-height:1;display:grid;position:relative}.position-square.light,.position-square.dark{background:0 0}.move-arrow-layer{z-index:3;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.move-arrow-shape{fill:#ffb522a3;stroke:none;stroke-width:0;stroke-linejoin:round;filter:drop-shadow(0 1px 1px #2b1d1429)}.board-annotation-layer{z-index:6}.board-annotation-arrow{fill:none;stroke:#337064c2;stroke-linecap:round;stroke-linejoin:round;stroke-width:.18px;filter:drop-shadow(0 1px 1px #2b1d1433)}.board-annotation-arrow-head{fill:#337064c2}.board-annotation-draft-arrow{stroke:#7a3f349e}.board-annotation-draft-head{fill:#7a3f349e}.opening-thumbnail{width:136px;margin-bottom:14px}.game-summary-card .position-thumbnail{border-width:5px;place-self:start center;width:min(100%,226px);max-width:none;box-shadow:0 10px 22px #2a1b1129}.opening-thumbnail .position-square{font-size:1rem}.game-summary-card h2{color:var(--wood-dark);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:1.04rem;line-height:1.22;display:-webkit-box;overflow:hidden}.game-summary-card h2.matchup-title{-webkit-box-orient:initial;-webkit-line-clamp:initial;max-height:3.4em;display:flex;overflow:hidden}.game-summary-card .player-name{max-width:min(100%,16rem)}.game-summary-card .player-name-text{max-width:12.5rem}.event-grid{grid-template-columns:minmax(0,1fr) minmax(280px,.45fr);align-items:start;gap:16px;display:grid}.source-health{gap:8px;display:grid}.pgn-box{overflow-wrap:anywhere;border:1px solid var(--line);max-width:100%;max-height:420px;color:var(--wood-dark);white-space:pre-wrap;word-break:break-word;background:#fff8ef;border-radius:6px;padding:14px;font-family:Cascadia Mono,Consolas,Courier New,monospace;font-size:.86rem;line-height:1.55;overflow:auto}.opening-list a,.related-games a{color:var(--ink);justify-content:space-between;align-items:center;gap:16px;padding:16px;text-decoration:none;display:flex}.opening-list article a{color:var(--wood);justify-content:flex-start;gap:6px;padding:0;display:inline-flex}.opening-list article h2 a{color:inherit}.opening-list a:hover,.related-games a:hover{border-color:#4b2f2061}.opening-detail{gap:16px;display:grid}.compact-list{gap:8px;margin:0;padding-left:18px;display:grid}.variation-tree,.variation-tree ul{gap:6px;margin:0;padding-left:0;list-style:none;display:grid}.variation-tree ul{padding-left:18px}.variation-row{border:1px solid var(--line);background:rgba(255, 248, 239, calc(1 - min(var(--depth), 4) * .08));border-radius:6px;grid-template-columns:minmax(80px,1fr) 110px 140px;align-items:center;gap:10px;padding:8px 10px;display:grid}.related-games{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.related-games a{border:1px solid var(--line);background:#fff8ef;border-radius:6px}.book-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:18px;display:grid}.book-card{min-height:340px;color:var(--ink);gap:11px;padding:14px;text-decoration:none;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.book-card:hover,.book-card:focus-visible{border-color:#6f482e57;outline:0;transform:translateY(-1px);box-shadow:0 12px 28px #3e2a1a24}.book-cover{aspect-ratio:2/3;background:linear-gradient(145deg,#6f482e2e,#fff8ef6b),#d9bea0;border:1px solid #2c1f1842;border-radius:7px;justify-self:center;place-items:center;width:100%;max-width:188px;display:grid;position:relative;overflow:hidden;box-shadow:0 13px 24px #2a1b112e}.book-cover:after{content:"";pointer-events:none;border-left:10px solid #2c1f1829;position:absolute;inset:0}.book-cover img{object-fit:cover;width:100%;height:100%;display:block}.book-cover div{text-align:center;gap:10px;padding:18px;display:grid}.book-cover strong{color:var(--wood-dark);font-family:Georgia,Times New Roman,serif;font-size:1.06rem;line-height:1.08}.book-cover span{color:var(--muted);font-size:.8rem;font-weight:800}.book-card-copy{gap:7px;min-width:0;display:grid}.book-card-copy p{color:var(--muted);overflow-wrap:anywhere;white-space:normal;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:.86rem;line-height:1.35;display:-webkit-box;overflow:hidden}.book-reader-page{min-width:0;max-width:100%}.book-detail-layout,.reader-layout{grid-template-columns:minmax(230px,.32fr) minmax(0,1fr);align-items:start;gap:18px;width:100%;min-width:0;max-width:100%;display:grid}.book-rail,.reader-toc{gap:14px;min-width:0;max-width:100%;display:grid;position:sticky;top:86px}.book-rail .book-cover{justify-self:start;max-width:270px}.book-actions{flex-wrap:wrap;gap:10px;min-width:0;max-width:100%;display:flex}.book-main{gap:16px;min-width:0;max-width:100%;display:grid}.source-fact-grid,.related-study-grid,.format-list{gap:10px;min-width:0;max-width:100%;display:grid}.source-fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.source-fact-grid span{border-top:1px solid var(--line);min-width:0;color:var(--muted);overflow-wrap:anywhere;gap:4px;padding-top:10px;line-height:1.45;display:grid}.source-fact-grid strong{color:var(--wood-dark)}.format-list div,.related-study-grid a{border:1px solid var(--line);min-width:0;min-height:46px;color:inherit;background:#fff8ef;border-radius:6px;align-items:center;gap:10px;padding:10px 12px;text-decoration:none;display:flex}.format-list div span,.related-study-grid a span{overflow-wrap:anywhere;min-width:0}.format-list small{color:var(--muted);font-size:.78rem;display:block}.related-study-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:14px}.reader-toolbar{border:1px solid var(--line);background:#fff8efd6;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;min-width:0;margin-bottom:16px;padding:12px;display:flex;box-shadow:0 8px 24px #2a1b1114}.reader-toolbar .back-link{overflow-wrap:anywhere;white-space:normal;min-width:0;max-width:100%}.reader-controls{flex-wrap:wrap;gap:8px;display:flex}.reader-controls button,.reader-controls select,.reader-toc button{border:1px solid var(--line);color:var(--ink);background:#fffcf7f0;border-radius:6px}.reader-controls button{cursor:pointer;align-items:center;gap:5px;min-height:38px;padding:0 10px;display:inline-flex}.reader-controls button:disabled{color:#7b69588c;cursor:not-allowed}.reader-controls select{min-width:0;max-width:260px;min-height:38px;padding:0 9px}.reader-toc{padding:14px}.reader-toc .book-cover{max-width:150px}.reader-toc h2{color:var(--wood-dark);margin:0;font-family:Georgia,Times New Roman,serif}.reader-toc button{text-align:left;cursor:pointer;gap:2px;width:100%;padding:9px;display:grid}.reader-toc button strong{color:var(--wood-dark)}.reader-toc button span{color:var(--muted);font-size:.78rem}.reader-audio{border-top:1px solid var(--line);gap:10px;padding-top:12px;display:grid}.reader-audio>div:first-child{color:var(--wood-dark);align-items:center;gap:8px;display:flex}.reader-audio label{color:var(--muted);text-transform:uppercase;gap:5px;font-size:.76rem;font-weight:800;display:grid}.reader-audio select{border:1px solid var(--line);width:100%;min-width:0;min-height:36px;color:var(--ink);text-overflow:ellipsis;background:#fffcf7f0;border-radius:6px;padding:0 8px;overflow:hidden}.reader-audio-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.reader-audio-buttons button{border:1px solid var(--line);min-height:36px;color:var(--wood);cursor:pointer;background:#fffcf7f0;border-radius:6px;justify-content:center;align-items:center;gap:5px;font-size:.82rem;font-weight:800;display:inline-flex}.reader-audio-buttons button:disabled{color:#7b69588c;cursor:not-allowed}.reader-page{background:linear-gradient(90deg,#6f482e14,#fffcf700 34px),linear-gradient(#ffffff80,#eddcc347),#fffcf7f2;justify-self:center;width:100%;min-width:0;max-width:880px;padding:clamp(20px,3vw,42px);position:relative;overflow:hidden;box-shadow:inset 14px 0 22px #482d1e14,0 18px 34px #2a1b111f}.reader-page:after{content:"";background:#6f482e24;width:1px;position:absolute;top:16px;bottom:16px;right:12px}.reader-page-turn{animation-duration:.26s;animation-timing-function:ease-out}.reader-page-next{animation-name:readerPageNext}.reader-page-prev{animation-name:readerPagePrev}.reader-page h1{color:var(--wood-dark);margin:0 0 18px;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.45rem,2vw,2.2rem);line-height:1.12}.reader-text p{color:#3d3027;overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word;margin:0 0 1.05em;font-family:Georgia,Times New Roman,serif;font-size:1.06rem;line-height:1.76}@keyframes readerPageNext{0%{opacity:.58;transform:translate(18px)rotateY(-4deg)}to{opacity:1;transform:translate(0)rotateY(0)}}@keyframes readerPagePrev{0%{opacity:.58;transform:translate(-18px)rotateY(4deg)}to{opacity:1;transform:translate(0)rotateY(0)}}.book-source-list{margin-bottom:18px}.book-manifest-list{gap:10px;display:grid}.book-manifest-list article{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;min-width:0;padding-top:12px;display:grid}.book-manifest-list article>*{min-width:0}.book-manifest-list article:first-child{border-top:0;padding-top:0}.book-manifest-list h3,.book-manifest-list p{margin:0}.book-manifest-list h3{color:var(--wood-dark);font-family:Georgia,Times New Roman,serif}.book-manifest-list h3 a{overflow-wrap:anywhere;word-break:break-word;text-decoration:none}.book-manifest-list p,.book-manifest-list small{color:var(--muted);overflow-wrap:anywhere;word-break:break-word;line-height:1.4}footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;padding:22px 0 30px;font-size:.9rem}.loading{min-height:clamp(280px,52vh,620px);color:var(--muted);text-align:center;align-content:center;justify-items:center;padding:clamp(54px,9vw,128px) 30px;display:grid}.loading-spinner{width:48px;height:48px;position:relative}.loading-spinner span{box-sizing:border-box;border:2px solid #0000;border-top-color:#4f4a43;border-radius:999px;width:40px;height:40px;margin:4px;animation:1.05s cubic-bezier(.5,0,.5,1) infinite loading-ring;display:block;position:absolute}.loading-spinner span:first-child{animation-delay:-.32s}.loading-spinner span:nth-child(2){animation-delay:-.2s}.loading-spinner span:nth-child(3){animation-delay:-.08s}@keyframes loading-ring{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.loading-spinner span{animation-duration:2s}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:1100px){.site-header-actions,.site-header nav{flex-wrap:wrap}.library-hero,.theory-hero,.history-page-head,.theory-lanes,.study-layout,.trainer-layout,.study-shelf-grid,.opening-study-layout,.event-grid,.resource-columns,.history-detail-layout,.book-detail-layout,.reader-layout,.auth-grid{grid-template-columns:1fr}.trust-strip,.research-grid,.history-lens-grid,.history-story-grid,.profile-grid,.profile-summary-grid,.profile-stat-grid,.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.research-card-large{grid-column:auto}.concept-grid,.filters,.study-filters,.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search-field,.filter-count{grid-column:1/-1}.stat-strip{justify-content:flex-start}.board-panel,.trainer-board-panel,.history-source-rail,.book-rail,.reader-toc{position:static}.board{width:min(560px,100%);margin:0 auto 28px}.interactive-board-wrap,.trainer-history-controls,.trainer-action-row{padding-left:0;padding-right:0}.interactive-board{width:100%}}@media (max-width:900px){.site-header{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px 0 12px;display:grid;position:static}.site-header-actions{display:contents}.site-header nav{scrollbar-width:none;flex-wrap:nowrap;grid-area:2/1/auto/-1;justify-content:flex-start;gap:8px;width:100%;padding:2px 0 4px;overflow-x:auto}.site-header nav::-webkit-scrollbar{display:none}.site-header nav a{white-space:nowrap;flex:none;padding:6px 9px}.account-link,.account-status,.account-control{grid-area:1/2;justify-self:end;max-width:140px}}@media (max-width:760px){.site-header,main,footer{width:min(1480px,100vw - 32px)}.site-header,footer,.game-heading,.section-title{flex-direction:column;align-items:flex-start}.site-header{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px 0 12px;display:grid;position:static}.brand{min-width:0}.site-header-actions{display:contents}.site-header nav{scrollbar-width:none;flex-wrap:nowrap;grid-area:2/1/auto/-1;justify-content:flex-start;gap:8px;width:100%;padding:2px 0 4px;overflow-x:auto}.site-header nav::-webkit-scrollbar{display:none}.site-header nav a{white-space:nowrap;flex:none;padding:6px 9px}.account-link,.account-status,.account-control{grid-area:1/2;justify-self:end;max-width:118px}.auth-page{place-items:start center;min-height:auto;padding:34px 0}.auth-popup{width:min(100%,390px);padding:26px 20px 22px}.library-hero{padding:20px}.theory-hero,.history-page-head{padding-top:18px}.theory-hero-copy h1,.history-page-head h1{font-size:clamp(2.15rem,14vw,3.6rem)}.hero-archive,.research-card,.history-story-card{grid-template-columns:1fr}.history-filters .search-field{grid-column:1/-1}.hero-archive .history-image{max-height:280px}.lesson-grid,.opening-grid,.key-grid,.related-games,.trust-strip,.card-grid,.book-grid,.profile-grid,.profile-summary-grid,.profile-stat-grid,.source-fact-grid,.related-study-grid,.research-grid,.history-lens-grid,.history-story-grid,.resource-grid,.people-grid,.concept-grid,.filters,.study-filters,.trainer-filters{grid-template-columns:1fr}.book-detail-layout,.reader-layout,.book-rail,.reader-toc,.book-main,.book-actions,.source-fact-grid,.related-study-grid,.format-list,.panel{width:100%;max-width:100%}.page-hero h1,.library-hero h1{font-size:clamp(1.85rem,10vw,3rem);line-height:1.04}.library-hero p{font-size:.92rem}.book-rail .book-cover{justify-self:center}.book-actions{flex-direction:column;align-items:stretch}.book-actions .text-link,.book-actions .text-button{justify-content:center}.person-card-head{flex-direction:column;gap:6px}.move-panel-head,.study-actions,.lesson-action-row,.reader-toolbar,.content-actions,.shelf-head-actions{flex-direction:column;align-items:stretch}.content-actions button,.sync-badge{justify-content:center;width:100%}.reader-controls{grid-template-columns:1fr;display:grid}.trainer-action-row{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.trainer-action-row button{justify-content:center}.trainer-stat-grid{grid-template-columns:1fr}.trainer-moving-piece{font-size:2.6rem}.trainer-dragged-piece{width:54px;height:54px;font-size:2.7rem}.reader-audio-buttons{grid-template-columns:1fr}.book-reader-page,.reader-layout{overflow-x:hidden}.reader-page{max-width:100%}.reader-controls select{width:100%;max-width:none}.segmented-control{width:100%}.segmented-control button{flex:1}.search-field,.filter-count{grid-column:auto}.variation-row,.variation-table div{grid-template-columns:1fr}.game-summary-card{aspect-ratio:auto;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:none;min-height:0;padding:14px}.board{width:min(560px,100%)}.board:before{inset:-7px}.interactive-board-wrap,.trainer-history-controls,.trainer-action-row{padding-left:0;padding-right:0}.trainer-action-row button,.board-controls button,.board-controls span{min-width:0}.book-manifest-list article,.signed-in-card{grid-template-columns:1fr}.game-card-kicker{flex-direction:column;align-items:flex-start;gap:2px}.game-card-kicker span+span{text-align:left}}:root{--ink:#30251d;--muted:#7b6958;--paper:#fbf1e4;--paper-deep:#ead7bf;--wood:#6f482e;--wood-dark:#2c1f18;--wood-soft:#916a4d;--gold:#b2823f;--green:#77714e;--green-dark:#5d4938;--beige-control:#eadfca;--beige-control-light:#fff8ef;--red:#9a4439;--teal:#4c7270;--plum:#725768;--line:#563d2a2e;--surface:#fff8efc7;--surface-solid:#fff8ef;--surface-tint:#eadfca;--control-bg:#fffcf7f0;--shadow:0 18px 42px #3e2a1a21;--shadow-soft:0 8px 24px #2a1b1114;--radius:8px}body{background:linear-gradient(180deg, #fff9f0fa, #f4e4ccf0 52%, #ebd8bcf0), linear-gradient(115deg, #b2823f1a, #fff9f00f 46%, #6f482e14), var(--paper-deep);color:var(--ink);background-attachment:fixed;line-height:1.58}.site-header{background:#fbf1e4e6;border-bottom:1px solid #563d2a24;gap:18px;min-height:68px;padding:10px 0;top:0}.brand{letter-spacing:0;align-items:center;gap:10px;font-size:clamp(1.18rem,1.8vw,1.48rem);display:inline-flex}.brand:before{content:"";background:linear-gradient(90deg,#fff8efe6 50%,#6f482e47 50%) 0 0/50% 50%,linear-gradient(90deg,#6f482e47 50%,#fff8efe6 50%) 0 100%/50% 50%;border:1px solid #563d2a47;border-radius:7px;width:26px;height:26px;display:inline-grid;box-shadow:inset 0 -1px #563d2a1f}.site-header-actions{gap:12px}.site-header nav{gap:6px}.site-header nav a{border-radius:var(--radius);color:#514941;align-items:center;min-height:36px;padding:0 11px;transition:background .16s,color .16s,box-shadow .16s;display:inline-flex}.site-header nav a.active{background:var(--green);color:#fff8ed;box-shadow:inset 0 -2px #17301133,0 7px 16px #3f623129}.account-link,.account-status,.account-control{box-shadow:var(--shadow-soft);background:#fff8efd6;border-color:#563d2a24}.page-hero{margin:0 0 clamp(20px,3vw,32px);padding:clamp(10px,2vw,20px) 0 0}.page-hero h1{text-wrap:balance;max-width:1120px;font-size:clamp(2.25rem,5vw,4.7rem);line-height:1}.page-note{max-width:980px;margin:-14px 0 26px;font-size:1rem}.library-hero{box-shadow:none;background:0 0;border:0;border-radius:0;grid-template-columns:minmax(0,1fr) minmax(240px,auto);align-items:center;gap:clamp(20px,4vw,44px);margin:0 0 28px;padding:clamp(10px,3vw,28px) 0 clamp(18px,4vw,34px)}.library-hero h1{text-wrap:balance;max-width:940px;font-size:clamp(2rem,3.8vw,3.65rem);line-height:1.02}.library-hero p{max-width:860px;margin-top:12px;font-size:1.02rem;line-height:1.62}.hero-actions{gap:12px;margin-top:26px}.primary-link,.secondary-link,.text-link,.text-button,.load-more,.opening-save-button,.study-actions button,.trainer-action-row button,.reader-controls button,.reader-audio-buttons button,.board-controls button{transition:background .16s,border-color .16s,box-shadow .16s,color .16s,transform .16s}.primary-link,.secondary-link{border-radius:var(--radius);min-height:44px;padding:0 17px}.primary-link{background:var(--wood-dark);box-shadow:0 10px 22px #20191529}.secondary-link{background:#fff8efa8}.primary-link:hover,.secondary-link:hover,.load-more:hover,.text-link:hover,.text-button:hover,.opening-save-button:hover,.study-actions button:hover,.trainer-action-row button:hover,.reader-controls button:hover,.reader-audio-buttons button:hover,.board-controls button:hover{transform:translateY(-1px)}.section-title,.game-heading{gap:22px;margin-bottom:24px}.section-title h1,.game-heading h1,.opening-detail h1{text-wrap:balance;font-size:clamp(1.65rem,2.7vw,2.65rem);line-height:1.08}.section-title p,.game-heading p,.opening-detail p,.muted{line-height:1.58}.eyebrow{color:#6d604f;letter-spacing:.08em}.filters,.library-tools,.panel,.table-wrap,.opening-list a,.source-list article,.concept-card,.resource-card,.study-shelf-item,.history-story-card,.book-card,.opening-tile{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-soft);border-color:#563d2a2e}.filters{background:linear-gradient(#fff8efbd,#eee2cfad),#fff8efc7;grid-template-columns:repeat(auto-fit,minmax(168px,1fr));gap:14px;margin:0 0 22px;padding:16px}.filters label{color:var(--muted);gap:7px;font-size:.8rem}.filters input,.filters select{border-radius:var(--radius);background:var(--control-bg);border-color:#563d2a2e;height:42px;box-shadow:inset 0 -1px #563d2a12,0 4px 10px #2a1b1109}.search-field{grid-column:span 2}.search-field svg{bottom:12px}.book-filters .search-field,.game-filters .search-field{grid-column:span 2}.opening-filters{grid-template-columns:minmax(320px,2fr) repeat(2,minmax(190px,.8fr)) minmax(200px,auto)}.filter-count{border-radius:var(--radius);background:#fff8efc2;min-height:42px;padding:0 14px}.library-tools{background:#fff8efc7;gap:14px;margin-bottom:22px;padding:14px 18px}.library-tools>div{min-width:0}.panel{padding:clamp(18px,2vw,24px)}.panel h2,.panel h3{line-height:1.14}.badge{background:#fff8efb8;border-color:#563d2a2e;line-height:1.15}.badge-source{color:#5d4938;background:#eadfca}.badge-gold{color:#604615;background:#f7e0aa}.badge-wood{background:#f3e2cd}.trust-strip{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:18px 0 24px}.trust-strip span{background:#fff8efc7;min-height:92px;padding:14px 15px}.study-shelf{margin:0 0 36px}.study-shelf .panel{padding:clamp(20px,2.5vw,28px)}.study-shelf-grid,.opening-study-layout,.resource-grid,.concept-grid,.history-lens-grid,.resource-columns{gap:18px}.study-shelf-grid{grid-template-columns:repeat(auto-fit,minmax(270px,1fr))}.study-shelf-item{background:#fff8efb8;min-height:98px;padding:15px}.research-grid{gap:20px}.research-card{background:#fff8efcc;grid-template-columns:minmax(150px,220px) minmax(0,1fr);gap:20px;padding:14px}.research-card-large{grid-template-columns:minmax(220px,320px) minmax(0,1fr)}.history-image{background:linear-gradient(145deg,#38271d47,#fff8ef33),#d9c2a2}.concept-grid,.resource-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.game-summary-card{aspect-ratio:auto;background:#fff8efcc;grid-template-rows:auto;grid-template-columns:minmax(120px,150px) minmax(0,1fr);align-items:start;gap:16px;min-height:196px;padding:16px}.game-summary-card .position-thumbnail{border-width:4px;width:100%;max-width:150px}.game-card-body{align-content:start;gap:8px}.game-summary-card h2{font-size:1.08rem;line-height:1.2}.game-summary-card h2.matchup-title{max-height:none}.game-summary-card .player-name,.game-summary-card .player-name-text{max-width:100%}.game-card-context,.game-card-summary{font-size:.88rem}.people-grid,.book-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}.people-card{min-height:260px}.book-grid{align-items:stretch}.book-card{background:#fff8efcc;gap:14px;min-height:380px;padding:18px}.book-cover{border-color:#563d2a33;max-width:198px;box-shadow:0 16px 30px #3e2a1a24}.book-card-copy h2{font-size:1.14rem;line-height:1.18}.opening-tile-grid{grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:18px}.opening-tile{aspect-ratio:auto;background:linear-gradient(#fff8efe0,#eee2cfc7),#f3e2cd;min-height:304px;padding:16px}.opening-list .opening-tile-link{gap:12px}.opening-tile .opening-thumbnail{width:min(100%,150px);max-width:150px}.opening-tile h2{font-size:1.08rem;line-height:1.17}.opening-tile p{font-size:.84rem}.opening-tile-footer{flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:12px}.opening-save-button{color:#5d4938;background:#eadfca;border-color:#3f623138;margin-left:0}.opening-save-button.active,.opening-save-button:hover,.opening-save-button:focus-visible{background:var(--green);color:#fff8ed}.history-story-grid{grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:18px}.history-story-card{background:#fff8efcc;padding:14px}.history-date-block{background:linear-gradient(145deg,#6f482e24,#fff8efdb),#ead7bf}.source-list{gap:16px}.study-layout,.trainer-layout{gap:clamp(22px,3vw,34px)}.study-layout{grid-template-columns:minmax(340px,520px) minmax(420px,1fr)}.trainer-layout{grid-template-columns:minmax(360px,600px) minmax(360px,1fr)}.board-panel,.trainer-board-panel{top:88px;overflow:clip}.board{border-radius:var(--radius);width:min(520px,100%);box-shadow:0 20px 38px #2419103d,0 0 0 1px #24191080}.interactive-board-wrap,.interactive-board{width:min(600px,100%)}.move-arrow-layer{overflow:hidden}.board-controls{justify-content:flex-start;width:min(520px,100%);margin:14px auto 0}.board-controls button,.board-controls span,.study-actions button,.trainer-action-row button,.reader-controls button,.reader-audio-buttons button{border-radius:var(--radius);background:var(--control-bg)}.study-prompt{background:#fff8efcc;width:min(520px,100%)}.move-panel{max-height:min(720px,100vh - 128px)}.move-list{gap:6px}.move-list li{grid-template-columns:48px minmax(0,1fr) minmax(0,1fr);gap:8px}.move-list button{min-height:34px;padding:0 8px}.analysis-box{border-left-color:var(--teal);border-radius:0 var(--radius) var(--radius) 0;background:#e8d3b1b8;padding:14px 16px}.lesson-grid,.opening-grid,.key-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.trainer-rail{gap:16px}.trainer-coach{border-left-width:4px}.trainer-stat-grid{gap:10px}.trainer-stat-grid span,.trainer-candidate-list span,.key-grid button,.related-games a,.format-list div,.related-study-grid a{border-radius:var(--radius);background:#fff8efc2;border-color:#563d2a2e}.content-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.content-actions button{border-radius:var(--radius);min-height:36px;color:var(--wood);cursor:pointer;font:inherit;background:#fff8efc2;border:1px solid #563d2a2e;align-items:center;gap:7px;padding:0 11px;font-size:.86rem;font-weight:850;display:inline-flex}.content-actions button.active,.content-actions button:hover{color:#5d4938;background:#eadfca;border-color:#3f623147}footer{gap:18px;padding-top:26px}@media (max-width:1320px){.site-header{grid-template-columns:minmax(180px,auto) minmax(0,1fr);align-items:flex-start;display:grid}.site-header-actions{grid-template-columns:minmax(0,1fr) auto;justify-self:stretch;display:grid}.site-header nav{scrollbar-width:thin;flex-wrap:nowrap;justify-content:flex-start;padding-bottom:4px;overflow-x:auto}.site-header nav a{flex:none}}@media (max-width:1100px){.site-header,main,footer{width:min(100vw - 36px,1120px)}.library-hero,.study-layout,.trainer-layout,.book-detail-layout,.reader-layout,.history-detail-layout,.opening-study-layout{grid-template-columns:1fr}.board-panel,.trainer-board-panel,.book-rail,.reader-toc,.history-source-rail{position:static}.board,.interactive-board-wrap,.interactive-board,.study-prompt{width:min(620px,100%)}.board-controls{justify-content:center;width:min(620px,100%)}}@media (max-width:760px){.site-header,main,footer{width:min(100vw - 28px,760px)}.site-header{grid-template-columns:minmax(0,1fr) auto;min-height:0;position:static}.brand:before{width:22px;height:22px}.site-header-actions{display:contents}.site-header nav{grid-column:1/-1}.site-header nav a{min-height:34px;padding:0 10px}main{padding-top:20px}.page-hero h1{font-size:clamp(2rem,12vw,3.35rem)}.library-hero{padding:20px}.library-hero h1{font-size:clamp(1.85rem,9vw,2.85rem)}.filters,.book-filters,.game-filters,.opening-filters,.trainer-filters,.history-filters,.people-filters{grid-template-columns:1fr}.search-field,.book-filters .search-field,.game-filters .search-field,.filter-count{grid-column:auto}.library-tools,footer{flex-direction:column;align-items:flex-start}.card-grid,.book-grid,.people-grid,.opening-tile-grid,.history-story-grid,.research-grid,.resource-grid,.concept-grid,.history-lens-grid{grid-template-columns:1fr}.game-summary-card{grid-template-columns:minmax(96px,118px) minmax(0,1fr);gap:12px;min-height:0}.game-summary-card .position-thumbnail{max-width:118px}.opening-tile{min-height:0}.research-card,.research-card-large,.history-story-card,.trust-strip,.lesson-grid,.opening-grid,.key-grid,.related-games,.source-fact-grid,.related-study-grid{grid-template-columns:1fr}.board,.interactive-board-wrap,.interactive-board,.study-prompt{width:100%}.board-controls{grid-template-columns:repeat(5,minmax(0,1fr));width:100%;display:grid}.trainer-action-row{grid-template-columns:repeat(2,minmax(0,1fr))}.content-actions{width:100%}.content-actions button{flex:140px;justify-content:center}}@media (max-width:520px){.game-summary-card{grid-template-columns:1fr}.game-summary-card .position-thumbnail{justify-self:start;width:min(170px,100%);max-width:170px}.stat-strip{grid-template-columns:1fr;width:100%;display:grid}.account-link,.account-status,.account-control{max-width:140px}}.position-square{font-size:1.12rem;overflow:hidden}.opening-thumbnail .position-square,.game-summary-card .position-square{font-size:.98rem}.segmented-control{max-width:100%}.trainer-filters .segmented-control{width:100%;min-width:0}.trainer-filters .segmented-control button{flex:1 1 0;min-width:0}.site-header nav{scrollbar-width:none}.content-actions{align-items:center}@media (max-width:760px){.content-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.content-actions button{flex:none;justify-content:center;height:auto;min-height:42px}}body{background:linear-gradient(180deg, #fff9f0fa, #f4e4ccf0 52%, #ebd8bcf0), linear-gradient(115deg, #b2823f1a, #fff9f00f 46%, #6f482e14), var(--paper-deep);background-attachment:fixed}.site-header{background:#fbf1e4e6}.library-hero{background:0 0}.filters{background:linear-gradient(#fff8efbd,#eee2cfad),#fff8efc7}body:before{z-index:0;content:"";pointer-events:none;background:linear-gradient(90deg,#2c1f1814,#0000 16% 84%,#2c1f1812),repeating-linear-gradient(90deg,#6f482e06 0 1px,#0000 1px 9px),repeating-linear-gradient(0deg,#fff8ef29 0 1px,#0000 1px 11px);position:fixed;inset:0}.app-shell{z-index:1;position:relative}.filters,.library-tools,.panel,.table-wrap,.opening-list a,.source-list article,.concept-card,.resource-card,.study-shelf-item,.history-story-card,.book-card,.opening-tile,.game-summary-card{box-shadow:0 12px 30px #3e2a1a1a,inset 0 1px #fff8efb3}html{-webkit-text-size-adjust:100%}body{overflow-x:hidden}.site-header nav{-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;scroll-padding-inline:14px}.site-header nav a{scroll-snap-align:start}.brand span,.account-name,.library-tools,.filter-count,.panel,.game-heading,.section-title,.book-card,.people-card,.opening-tile,.history-story-card,.research-card,.game-summary-card{min-width:0}@media (max-width:760px){.site-header,main,footer{width:calc(100vw - 20px)}.site-header{gap:10px;padding:10px 0 8px}.brand{max-width:calc(100vw - 134px);font-size:1.12rem}.brand span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-link,.account-status,.account-control{max-width:118px;min-height:38px;padding-inline:10px;font-size:.76rem}.account-control{gap:6px;padding:4px 5px}.account-control button{min-height:30px;padding:0 8px}.account-avatar{width:22px;height:22px}.account-name{max-width:54px}.site-header nav{gap:6px;width:calc(100% + 20px);margin-inline:-10px;padding:4px 10px 8px}.site-header nav a{min-height:40px;padding:0 11px;font-size:.86rem}main{padding-top:14px;padding-bottom:46px}.page-hero{margin-bottom:16px;padding-top:8px}.page-hero h1,.library-hero h1{font-size:clamp(1.9rem,11vw,3rem)}.theory-hero,.history-page-head{gap:18px;margin-bottom:24px}.library-hero{gap:14px;margin-bottom:16px;padding:8px 0 20px}.library-hero p,.theory-hero-copy p,.history-page-head p,.section-title p,.game-heading p,.opening-detail p{font-size:.94rem;line-height:1.5}.hero-actions,.candidate-row{gap:8px}.primary-link,.secondary-link{flex:150px;justify-content:center;min-height:42px;padding-inline:12px}.filters{gap:10px;margin-bottom:16px;padding:12px}.filters label{gap:5px;font-size:.76rem}.filters input,.filters select,.filter-count{height:44px;min-height:44px}.filter-count{text-overflow:ellipsis;white-space:normal;justify-content:center;overflow:hidden}.library-tools{gap:8px;margin-bottom:16px;padding:12px}.panel,.history-story-card,.book-card,.opening-tile,.research-card{padding:14px}.section-title,.game-heading{gap:12px;margin-bottom:16px}.section-title h1,.game-heading h1,.opening-detail h1{font-size:clamp(1.5rem,8vw,2.35rem)}.trust-strip{gap:8px;margin:12px 0 18px}.trust-strip span{min-height:0;padding:12px}.content-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.content-actions button,.text-button,.load-more,.opening-save-button,.study-actions button,.trainer-action-row button,.reader-controls button,.reader-audio-buttons button,.book-actions .text-link,.book-actions .text-button{min-height:44px}.card-grid,.book-grid,.people-grid,.opening-tile-grid,.history-story-grid,.research-grid,.resource-grid,.concept-grid,.history-lens-grid{gap:12px;margin-top:14px}.game-summary-card{gap:10px;padding:12px}.game-summary-card .position-thumbnail{justify-self:start}.opening-list .opening-tile-link{grid-template-columns:minmax(94px,116px) minmax(0,1fr);align-items:start}.opening-tile .opening-thumbnail{width:100%;max-width:116px;margin-bottom:0}.opening-tile-copy{min-width:0}.opening-tile-footer{grid-column:1/-1}.book-card{min-height:0}.book-cover{max-width:168px}.research-card .history-image,.history-story-card .history-date-block{max-height:230px}.study-layout,.trainer-layout,.opening-study-layout{gap:16px}.board,.interactive-board,.interactive-board-wrap{width:min(100%,100vw - 20px)}.board{margin-bottom:14px}.square{font-size:clamp(1.45rem,10vw,3rem)}.board-coordinate{font-size:.62rem}.board-rank-coordinate{left:5px}.board-file-coordinate{bottom:5px}.board-controls{gap:6px;margin-top:10px}.board-controls button,.board-controls span{min-width:0;height:42px;padding-inline:4px;font-size:.82rem}.study-prompt{margin-top:10px;padding:12px}.move-panel{max-height:none}.move-list-scroll{max-height:360px;padding-right:0}.move-list li{grid-template-columns:36px minmax(0,1fr) minmax(0,1fr);gap:5px}.move-list button{min-height:38px;padding:0 7px}.study-actions{grid-template-columns:1fr;display:grid}.trainer-page{gap:12px}.trainer-board-panel{gap:8px}.interactive-board{margin-bottom:16px}.trainer-action-row{gap:7px}.reader-toolbar{gap:10px;padding:10px}.reader-page{padding:18px 14px;box-shadow:0 10px 24px #2a1b111a}.reader-page:after{content:none}footer{gap:10px;padding-top:20px}}@media (max-width:520px){.content-actions,.trainer-action-row,.reader-audio-buttons{grid-template-columns:1fr}.opening-list .opening-tile-link{grid-template-columns:minmax(84px,104px) minmax(0,1fr)}.opening-tile .opening-thumbnail{max-width:104px}.game-summary-card .position-thumbnail{width:min(142px,100%);max-width:142px}.book-cover{max-width:150px}}@media (max-width:380px){.site-header,main,footer{width:calc(100vw - 16px)}.brand{font-size:1.02rem}.account-link,.account-status,.account-control{max-width:108px;padding-inline:8px}.site-header nav{width:calc(100% + 16px);margin-inline:-8px;padding-inline:8px}.site-header nav a{padding-inline:9px}.panel,.library-hero,.filters,.history-story-card,.book-card,.opening-tile,.research-card{padding:12px}.opening-list .opening-tile-link{grid-template-columns:1fr}.opening-tile .opening-thumbnail{max-width:132px}}.account-link,.account-status,.account-control,.account-control button,.auth-popup,.auth-popup input,.auth-popup button,.auth-popup a{letter-spacing:0;font-family:Inter,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.account-link,.account-status,.account-control{box-shadow:none;color:#2e2924;background:#fffcf7e6;border-color:#27241f24;font-size:.88rem;font-weight:650}.account-control button{font-size:.82rem;font-weight:650}.auth-page{z-index:80;background:#1d19156b;place-items:center;max-width:none;min-height:100dvh;padding:24px;display:grid;position:fixed;inset:0}.auth-page:before{content:none}.auth-popup{background:#fffdfa;border:1px solid #27241f1f;border-radius:8px;width:min(388px,100%);padding:28px;position:relative;box-shadow:0 24px 70px #1e171138}.auth-close-button{color:#5d554d;cursor:pointer;background:0 0;border:0;border-radius:999px;place-items:center;width:34px;height:34px;display:inline-grid;position:absolute;top:12px;right:12px}.auth-close-button:hover{color:#27231f;background:#27241f0f}.auth-popup-head{margin-bottom:18px;padding-right:36px}.auth-popup-head h1,.auth-signed-in h1{color:#221f1c;letter-spacing:0;font-family:Inter,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:1.35rem;font-weight:700}.auth-popup-head p{color:#6b6258;font-size:.95rem}.auth-form{gap:8px}.auth-form>label{color:#342f2a;font-size:.9rem;font-weight:650}.auth-form input[type=text],.auth-form input[type=password]{background:#fff;border-color:#27241f2e;border-radius:7px;min-height:44px;font-size:.98rem}.auth-submit,.google-auth-button,.auth-profile-link,.auth-secondary-button{letter-spacing:0;border-radius:7px;min-height:44px;font-size:.95rem;font-weight:650}.auth-submit,.auth-profile-link{color:#fffdfa;background:#24211e}.auth-submit:hover,.auth-profile-link:hover{background:#3a332d}.google-auth-button,.auth-secondary-button{color:#28231f;background:#fff}.auth-error,.auth-notice{border-radius:7px;font-size:.9rem;font-weight:600}.auth-switch,.auth-check{color:#6b6258;font-size:.9rem}.auth-switch button{color:#2f4f24;font-weight:650}.auth-kicker{color:#567143;letter-spacing:0;text-transform:none;font-size:.8rem;font-weight:700}@media (max-width:520px){.auth-page{align-items:end;padding:12px}.auth-popup{width:100%;padding:26px 20px 22px}}.board-controls{background:#fff9ef80;border:1px solid #3d2d1e1f;border-radius:999px;justify-content:center;align-items:center;gap:3px;width:-moz-fit-content;width:fit-content;max-width:min(100%,620px);margin:12px auto 0;padding:3px;display:flex;box-shadow:inset 0 1px #ffffff7a}.board-controls button{width:34px;min-width:34px;height:32px;box-shadow:none;color:#382b1fb8;cursor:pointer;background:0 0;border:0;border-radius:999px;place-items:center;padding:0;display:inline-grid}.board-controls button:hover:not(:disabled),.board-controls button:focus-visible{color:var(--wood-dark);background:#4a3a2917;transform:none}.board-controls button:disabled{color:#57483747;cursor:not-allowed}.board-position-pill{color:#392c1fad;border-left:1px solid #3d2d1e1a;border-right:1px solid #3d2d1e1a;justify-content:center;align-items:baseline;gap:5px;min-width:92px;height:32px;padding:0 10px;font-size:.76rem;font-weight:650;line-height:1;display:inline-flex}.board-position-pill strong{color:var(--wood-dark);font-size:.95rem;font-weight:750}.board-position-pill span{min-width:0;height:auto;color:inherit;font:inherit;background:0 0;border:0;padding:0;display:inline}.position-jump{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:min(560px,100%);margin:10px auto 0}.position-jump label{gap:4px}.position-jump label span{color:#413326b3;font-size:.78rem;font-weight:650}.position-jump input[type=range]{accent-color:var(--teal)}.position-jump-count{color:#41332694;text-align:right;min-width:54px;font-size:.78rem;font-weight:650}.trainer-control-deck{gap:7px;width:min(620px,100%);margin:-12px auto 0;display:grid}.trainer-history-controls{width:-moz-fit-content;width:fit-content;margin:0 auto;padding-left:3px}.trainer-history-controls .board-position-pill{min-width:82px}.trainer-progress-track{background:#4737261f;border-radius:999px;width:min(360px,72%);height:2px;margin:0 auto;overflow:hidden}.trainer-progress-track span{width:var(--trainer-progress);border-radius:inherit;background:var(--teal);height:100%;transition:width .18s;display:block}.trainer-action-row{flex-wrap:wrap;justify-content:center;gap:6px;width:min(620px,100%);margin:0 auto;padding:0;display:flex}.trainer-action-row button{width:38px;min-width:38px;height:36px;min-height:36px;box-shadow:none;color:#382b1fb3;cursor:pointer;background:#fff9ef75;border:1px solid #3d2d1e1f;border-radius:999px;place-items:center;padding:0;display:inline-grid}.trainer-action-row button:hover:not(:disabled),.trainer-action-row button:focus-visible{color:var(--wood-dark);background:#fff9efc7;border-color:#3d2d1e33;transform:none}.trainer-action-row button[aria-pressed=true]{color:var(--teal)}.trainer-action-row button:disabled{color:#57483747;cursor:not-allowed;opacity:1}@media (max-width:760px){.board-controls{gap:2px;width:-moz-fit-content;width:fit-content;max-width:100%;display:flex}.board-controls button{width:32px;min-width:32px;height:32px;padding:0}.board-position-pill{min-width:78px;padding:0 8px;font-size:.72rem}.position-jump{grid-template-columns:1fr;gap:4px}.position-jump-count{justify-self:end}.trainer-control-deck{margin-top:-6px}.trainer-action-row{gap:5px}}@media (max-width:380px){.board-position-pill span:first-child{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.board-position-pill{min-width:58px}}:root{--cit-ink:#231b16;--cit-copy:#4f4338;--cit-muted:#766858;--cit-cream:#fff9ef;--cit-paper:#f7ead7;--cit-caramel:#b47a43;--cit-walnut:#4a2f22;--cit-olive:#5e6f44;--cit-moss:#273f34;--cit-plum:#7b5364;--cit-blue:#506b78;--cit-line:#3a2a1d26;--cit-soft-shadow:0 18px 44px #422b181c}body{color:var(--cit-ink);background:linear-gradient(#fffaf2fa 0%,#f6e8d3f5 54%,#e8d1b2f2 100%),radial-gradient(circle at 8% 12%,#5e6f4421,#0000 28%),radial-gradient(circle at 92% 22%,#506b781f,#0000 24%),#ead5b8}body:before{opacity:.45}.site-header,main,footer{width:min(1518px,100vw - clamp(28px,6vw,96px))}.site-header{-webkit-backdrop-filter:blur(18px)saturate(1.05);backdrop-filter:blur(18px)saturate(1.05);background:#fff9efd6;border-bottom:1px solid #3a2a1d21;gap:clamp(18px,3vw,42px);min-height:72px;padding:12px 0}.brand{color:var(--cit-ink);letter-spacing:-.01em;gap:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.24rem,1.75vw,1.58rem);font-weight:800}.site-header-actions{flex-wrap:nowrap;gap:14px}.site-header nav{scrollbar-width:none;flex-wrap:nowrap;flex:1;justify-content:center;gap:2px;overflow-x:auto}.site-header nav::-webkit-scrollbar{display:none}.site-header nav a{color:#372d24d1;border-radius:999px;min-height:36px;padding:0 12px;font-size:.84rem;font-weight:760}.site-header nav a.active{color:#fff8ec;background:#6a7045;box-shadow:0 9px 18px #45502a2e}.account-link,.account-status,.account-control{box-shadow:none;color:var(--cit-ink);white-space:nowrap;background:#fffcf7db;border-color:#3a2a1d29;border-radius:999px}main{padding-top:clamp(28px,4.5vw,66px)}.home-hero{grid-template-columns:minmax(0,1.02fr) minmax(360px,.72fr);align-items:center;gap:clamp(34px,6vw,88px);min-height:clamp(420px,56vh,640px);margin:0 0 clamp(34px,5vw,62px);display:grid}.home-hero-copy{max-width:900px}.home-hero-copy h1{max-width:840px;color:var(--cit-ink);letter-spacing:0;text-wrap:balance;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(3.2rem,6vw,6.6rem);font-weight:800;line-height:.94}.home-hero-copy>p:not(.eyebrow){max-width:680px;color:var(--cit-copy);margin:24px 0 0;font-size:clamp(1rem,1.35vw,1.18rem);line-height:1.72}.home-hero .eyebrow,.warm-section-title .eyebrow,.study-shelf .eyebrow{color:var(--cit-plum)}.home-hero .hero-actions{margin-top:30px}.home-hero .primary-link,.home-hero .secondary-link{border-radius:999px;min-height:48px;padding:0 19px}.home-hero .primary-link{background:var(--cit-moss);box-shadow:0 14px 28px #273f3433}.home-hero .secondary-link{color:var(--cit-walnut);background:#fff9efa3;border-color:#4a2f2233}.home-hero-visual{isolation:isolate;min-height:420px;position:relative}.home-hero-visual:before{z-index:-1;filter:blur(20px);content:"";background:#5d46301f;border-radius:50%;width:76%;height:54%;position:absolute;bottom:10%;right:3%}.hero-book-stack{z-index:1;align-items:flex-end;gap:18px;display:flex;position:absolute;top:0;right:7%}.hero-book-stack img{aspect-ratio:.62;object-fit:cover;background:#f3e1c6;border:1px solid #3a2a1d3d;border-radius:4px;width:clamp(130px,12vw,182px);box-shadow:0 24px 44px #32201433}.hero-book-stack img:first-child{transform:rotate(-5deg)translateY(18px)}.hero-book-stack img:last-child{transform:rotate(4deg)}.hero-note-card{z-index:2;width:min(330px,76%);box-shadow:var(--cit-soft-shadow);background:linear-gradient(#fffdf7f5,#f7e9d5f0),#fff8ec;border:1px solid #3a2a1d29;border-radius:8px;padding:18px;position:absolute;bottom:58px;right:0}.hero-note-card span{color:var(--cit-blue);letter-spacing:.08em;text-transform:uppercase;font-size:.74rem;font-weight:850;display:block}.hero-note-card strong{color:var(--cit-ink);margin-top:10px;font-family:Georgia,Times New Roman,serif;font-size:1.45rem;line-height:1.08;display:block}.hero-note-card small{color:var(--cit-muted);margin-top:12px;font-size:.88rem;line-height:1.45;display:block}.hero-board-study{z-index:1;aspect-ratio:1;border:8px solid #5b3d2d;border-radius:8px;grid-template-columns:repeat(4,1fr);width:clamp(142px,12vw,176px);display:grid;position:absolute;bottom:0;left:3%;overflow:hidden;transform:rotate(-2deg);box-shadow:0 24px 48px #3220142e}.hero-board-study i{background:#e7c38d}.hero-board-study i:nth-child(2),.hero-board-study i:nth-child(4),.hero-board-study i:nth-child(5),.hero-board-study i:nth-child(7),.hero-board-study i:nth-child(10),.hero-board-study i:nth-child(12),.hero-board-study i:nth-child(13),.hero-board-study i:nth-child(15){background:#7f5438}.hero-board-study i:nth-child(4n+1),.hero-board-study i:nth-child(4n+3){filter:brightness(1.04)}.study-shelf.panel{box-shadow:none;background:0 0;border:0;border-radius:0;margin:0 0 clamp(38px,5vw,64px);padding:0}.study-shelf .section-title{border-bottom:1px solid #3a2a1d24;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:20px;margin-bottom:18px;padding-bottom:14px;display:grid}.study-shelf .section-title h1{color:var(--cit-ink);margin-top:5px;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.55rem,2vw,2.05rem);font-weight:800}.study-shelf .section-title p:not(.eyebrow){max-width:760px;color:var(--cit-muted);font-size:.97rem}.study-shelf-grid{grid-template-columns:1.08fr .92fr 1.08fr;gap:clamp(16px,2.2vw,28px)}.study-shelf-grid article{background:linear-gradient(#fffaf2e6,#f6e7d1d1),#fff9efcc;border:1px solid #3a2a1d26;border-radius:8px;align-content:start;gap:10px;min-height:268px;padding:16px;display:grid;box-shadow:0 14px 34px #422b1817}.study-shelf-grid h2{color:var(--cit-walnut);margin:0 0 2px;font-size:1.35rem}.study-shelf-item{min-height:88px;box-shadow:none;background:#fffcf6d1;border-color:#3a2a1d24;border-radius:7px;padding:13px 14px}.study-shelf-item:hover,.study-shelf-item:focus-visible{background:#fffdf7;border-color:#273f3459;outline:0;box-shadow:0 10px 22px #32201417}.study-shelf-item span{color:var(--cit-blue)}.study-shelf-item strong{color:var(--cit-ink)}.sync-badge{background:#fffcf6b8;border-radius:999px}.warm-section-title{margin-top:0}.warm-section-title h1{max-width:820px;font-size:clamp(2rem,3.4vw,3.7rem);line-height:.98}.research-card,.history-story-card,.book-card,.opening-tile,.concept-card,.resource-card{border-radius:8px}.theory-lanes{border-top:1px solid #3a2a1d24;margin-top:clamp(34px,5vw,62px);padding-top:clamp(24px,4vw,44px)}.concept-manuscript{background:linear-gradient(90deg,#273f3414,#0000 34%),linear-gradient(#fff9eff5,#eedabee0);border:1px solid #3a2a1d29;border-radius:8px;margin-top:clamp(42px,6vw,82px);position:relative;overflow:hidden;box-shadow:0 28px 70px #422b1829}.concept-manuscript:before{content:"";pointer-events:none;background:#7b536447;width:1px;position:absolute;inset:0 auto 0 34px;box-shadow:5px 0 #7b53641a}.concept-manuscript-heading{background:linear-gradient(135deg, #1b241ffa, #273f34f5 48%, #4a2f22fa), var(--cit-moss);grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:24px;min-height:218px;padding:clamp(28px,4vw,48px) clamp(24px,4vw,48px) 28px clamp(54px,5vw,72px);display:grid}.concept-manuscript-heading .eyebrow{color:#f7ead7ad}.concept-manuscript-heading h2{color:#fff8ec;letter-spacing:0;text-wrap:balance;max-width:840px;margin:8px 0 0;font-family:Georgia,Times New Roman,serif;font-size:clamp(2.3rem,4vw,4.35rem);font-weight:800;line-height:.98}.concept-manuscript-heading p:not(.eyebrow){color:#fff8ecc7;max-width:760px;margin:18px 0 0;font-size:clamp(1rem,1.3vw,1.12rem);line-height:1.68}.concept-manuscript-heading .text-link{color:#fff8ec}.concept-manuscript-spread{grid-template-columns:minmax(260px,.78fr) minmax(0,1.22fr);gap:clamp(14px,2vw,20px);padding:clamp(14px,2vw,20px);display:grid}.concept-lead-page{background:linear-gradient(#fffdf8f5,#f8ead6e0),repeating-linear-gradient(0deg,#0000 0 27px,#3a2a1d1a 28px);border:1px solid #3a2a1d2e;border-radius:8px;flex-direction:column;justify-content:space-between;min-height:530px;padding:clamp(22px,3vw,30px);display:flex;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #fffdf8b3}.concept-lead-page:after{content:"";background:#7b53641f;border:1px solid #7b536457;border-top-width:0;width:54px;height:96px;position:absolute;top:22px;right:20px}.manuscript-chapter{width:-moz-fit-content;width:fit-content;color:var(--cit-plum);border-bottom:2px solid #7b536475;padding-bottom:7px;font-family:Georgia,Times New Roman,serif;font-size:1.04rem;font-weight:850;line-height:1}.concept-lead-page h3{max-width:300px;color:var(--cit-ink);margin:18px 0 0;font-family:Georgia,Times New Roman,serif;font-size:clamp(2rem,3.2vw,3.4rem);line-height:.98}.concept-lead-page p{max-width:360px;color:var(--cit-copy);margin:18px 0;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.08rem,1.55vw,1.34rem);line-height:1.42}.analysis-board{aspect-ratio:1;border:12px solid #503528;grid-template-columns:repeat(5,1fr);width:min(100%,260px);display:grid;transform:rotate(-2deg);box-shadow:0 20px 38px #32201433}.analysis-board i{background:#e5c48f}.analysis-board i:nth-child(2n),.analysis-board i:nth-child(5n+1){background:#263f34}.analysis-board i:nth-child(7),.analysis-board i:nth-child(13),.analysis-board i:nth-child(19){position:relative}.analysis-board i:nth-child(7):after,.analysis-board i:nth-child(13):after,.analysis-board i:nth-child(19):after{content:"";background:#fff8ecd1;border-radius:50%;position:absolute;inset:28%;box-shadow:0 0 0 1px #32201433}.notation-strip{flex-wrap:wrap;gap:7px;margin-top:20px;display:flex}.notation-strip span{color:var(--cit-moss);background:#fffdf8b3;border:1px solid #273f342e;border-radius:999px;padding:6px 9px;font-family:Georgia,Times New Roman,serif;font-size:.82rem;font-weight:800}.concept-note-grid{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:minmax(186px,auto);gap:12px;display:grid}.concept-note{background:#fffdf8eb;border:1px solid #3a2a1d26;border-radius:8px;min-width:0;padding:18px;position:relative;overflow:hidden;box-shadow:0 14px 32px #422b1814}.concept-note:first-child,.concept-note:nth-child(4),.concept-note:nth-child(2),.concept-note:nth-child(3),.concept-note:nth-child(5),.concept-note:nth-child(6){grid-column:span 3}.concept-note:nth-child(7){grid-column:span 6;min-height:160px}.concept-note:before{background:linear-gradient(90deg, var(--cit-plum), var(--cit-blue), var(--cit-olive));content:"";height:5px;position:absolute;inset:0 0 auto}.concept-note-number{color:#4a2f2229;font-family:Georgia,Times New Roman,serif;font-size:2.4rem;font-weight:900;line-height:1;position:absolute;top:14px;right:16px}.concept-level{width:-moz-fit-content;width:fit-content;color:var(--cit-blue);letter-spacing:.06em;text-transform:uppercase;background:#506b7817;border:1px solid #506b7838;border-radius:999px;padding:7px 9px;font-size:.72rem;font-weight:850;line-height:1;display:inline-flex}.concept-note h3{color:var(--cit-ink);margin:18px 0 9px;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.35rem,1.8vw,1.8rem);line-height:1.04}.concept-note p{color:var(--cit-copy);margin:0;font-size:.97rem;line-height:1.62}@media (max-width:1060px){.site-header{flex-direction:column;align-items:flex-start;gap:10px}.site-header-actions{width:100%}.site-header nav{justify-content:flex-start}.home-hero{grid-template-columns:1fr;min-height:0}.home-hero-visual{min-height:340px}.hero-book-stack{left:24%;right:auto}.concept-manuscript-spread{grid-template-columns:1fr}.concept-lead-page{min-height:360px}}@media (max-width:760px){.site-header,main,footer{width:calc(100vw - 24px)}.site-header{grid-template-columns:minmax(0,1fr) auto;min-height:0;padding:10px 0;display:grid}.brand{grid-column:1;max-width:100%;font-size:1.28rem}.site-header-actions{display:contents}.site-header nav{grid-column:1/-1;width:auto;margin-inline:0;padding:2px 0 6px}.account-link,.account-status,.account-control{grid-column:2;justify-self:end}.site-header nav a{min-height:36px;padding:0 11px;font-size:.82rem}.home-hero{gap:24px;margin-bottom:34px}.home-hero-copy h1{font-size:clamp(2.65rem,14vw,4.6rem);line-height:.97}.home-hero-copy>p:not(.eyebrow){margin-top:18px;font-size:.98rem;line-height:1.62}.home-hero .hero-actions{grid-template-columns:1fr;margin-top:22px;display:grid}.home-hero .primary-link,.home-hero .secondary-link{justify-content:center}.home-hero-visual{min-height:290px}.hero-book-stack{gap:12px;left:12%}.hero-book-stack img{width:clamp(102px,31vw,142px)}.hero-note-card{width:min(280px,76%);padding:14px;bottom:28px;right:0}.hero-note-card strong{font-size:1.12rem}.hero-board-study{border-width:8px;width:142px}.concept-manuscript:before{left:18px}.concept-manuscript-heading{grid-template-columns:1fr;min-height:0;padding:28px 22px 24px 36px}.concept-manuscript-heading h2{font-size:clamp(2.2rem,11vw,3.4rem);line-height:1}.concept-manuscript-spread{padding:10px}.concept-lead-page{min-height:0}.analysis-board{border-width:10px;width:min(100%,210px)}.concept-note-grid{grid-template-columns:1fr;grid-auto-rows:auto}.concept-note:nth-child(n){grid-column:auto;min-height:0}.study-shelf .section-title{grid-template-columns:1fr;align-items:start;gap:12px}.shelf-head-actions{justify-content:flex-start}.study-shelf-grid{grid-template-columns:1fr}.study-shelf-grid article{min-height:0;padding:14px}.warm-section-title h1{font-size:clamp(1.8rem,10vw,3rem)}}@media (max-width:420px){.site-header-actions{grid-template-columns:1fr}.account-link,.account-status,.account-control{justify-self:end;max-width:100%}.home-hero-visual{min-height:250px}.hero-note-card{width:min(250px,82%)}.hero-board-study{opacity:.78}}.books-hero{box-shadow:none;background:0 0;border:0;align-items:end;padding:18px 0 28px}.books-hero h1{color:#2f241d;max-width:720px;font-size:4.2rem;line-height:.98}.books-hero p{color:#675747;max-width:560px}.books-hero .stat-strip{box-shadow:none;background:#fff8efb3;border:1px solid #57412c24;border-radius:8px}.book-filters{box-shadow:none;background:#fff8ef9e;border:1px solid #57412c24;grid-template-columns:minmax(240px,1.5fr) minmax(190px,.9fr) repeat(3,minmax(150px,.7fr))}.book-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));align-items:start;gap:clamp(20px,3vw,34px) clamp(14px,2.2vw,26px);margin-top:28px}.book-card{min-height:0;box-shadow:none;color:var(--ink);text-align:center;background:0 0;border:0;border-radius:6px;justify-items:center;gap:12px;padding:0 4px 10px;text-decoration:none;display:grid}.book-card:hover,.book-card:focus-visible{box-shadow:none;border-color:#0000;outline:0;transform:none}.book-card:hover .book-cover,.book-card:focus-visible .book-cover{transform:translateY(-4px)rotate(-1deg)}.book-cover{aspect-ratio:.66;width:min(100%,178px);max-width:none;box-shadow:none;background:0 0;border:0;border-radius:0;justify-self:center;padding-right:12px;transition:box-shadow .18s,transform .18s;position:relative;overflow:visible}.book-cover:before{background:repeating-linear-gradient(0deg, #4b37241f 0 1px, transparent 1px 4px), var(--book-page-edge,#e9ddc6);content:"";border:1px solid #4e392629;border-left:0;border-radius:0 7px 7px 0;width:14px;position:absolute;top:9px;bottom:9px;right:1px;box-shadow:7px 9px 16px #2c1f1824}.book-cover:after{content:none}.book-cover-board{background:linear-gradient(90deg, #14100d3d, transparent 14%, transparent 88%, #fff8e81f), linear-gradient(145deg, #ffffff14, #00000029), var(--book-cloth,#6b4a35);border:1px solid #1714113d;border-radius:5px 8px 8px 5px;position:absolute;inset:0 10px 0 0;overflow:hidden;box-shadow:inset 10px 0 16px #0000002e,inset -1px 0 #fffae829,0 18px 28px #3022182e}.book-cover-band,.book-cover-rib{pointer-events:none;position:absolute}.book-cover-band{background:#fff4d63d;width:1px;top:0;bottom:0;left:18%;box-shadow:12px 0 #0000001f}.book-cover-rib{background:color-mix(in srgb, var(--book-stamp,#ead3ad) 70%, transparent);width:24%;height:2px;left:9%}.book-cover-rib-top{top:16%}.book-cover-rib-bottom{bottom:16%}.book-cover-board.has-real-cover{background:#efe3ce}.book-cover-board.has-real-cover:before{z-index:1;content:"";pointer-events:none;background:linear-gradient(90deg,#14100d40,#0000 13% 88%,#fff8e824),linear-gradient(145deg,#ffffff21,#0000 34%,#0000001f);position:absolute;inset:0}.book-cover-image{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.book-card-copy{gap:4px;width:min(100%,210px);display:grid}.book-card-copy h2{color:#35271e;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-family:Georgia,Times New Roman,serif;font-size:.96rem;line-height:1.14;display:-webkit-box;overflow:hidden}.book-card-copy p{color:#746453;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.76rem;line-height:1.34;display:-webkit-box;overflow:hidden}.book-detail-focus{max-width:1180px;margin:0 auto;padding-top:18px}.book-detail-back{margin-bottom:26px}.book-focus-layout{grid-template-columns:minmax(260px,360px) minmax(0,1fr);align-items:center;gap:clamp(36px,7vw,92px)}.book-focus-rail{justify-items:center}.book-focus-rail .book-cover{width:min(100%,340px)}.book-focus-copy{align-content:center;gap:18px;max-width:760px}.book-focus-copy h1{color:#2f241d;text-wrap:balance;max-width:760px;margin:0;font-family:ui-serif,Georgia,Cambria,Times New Roman,serif;font-size:2.65rem;line-height:1.06}.book-author-line,.book-detail-description{color:#675747;max-width:680px;margin:0;font-size:1.02rem;line-height:1.65}.book-author-line{color:#4b3b2f;font-weight:750}.book-action-panel{flex-wrap:wrap;align-items:center;gap:10px;margin-top:4px;display:flex}.book-read-button{color:#fff9ed;background:#2f231c;border:1px solid #2d1f1629;border-radius:7px;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:0 18px;font-weight:850;text-decoration:none;display:inline-flex;box-shadow:0 12px 24px #2d1f162e}.book-read-button:hover,.book-read-button:focus-visible{color:#fff9ed;outline-offset:3px;background:#3c2a20;outline:2px solid #6e804647;transform:translateY(-1px)}.book-save-actions .content-actions{gap:8px;margin-top:0}.book-save-actions .content-actions button{color:#5d4635;background:#fffbf4e6;border-color:#4832212e;border-radius:7px;min-height:46px;padding:0 14px;font-size:.9rem}.book-save-actions .content-actions button.active{color:#465530;background:#edf0df;border-color:#5767355c}.book-save-actions .content-actions button:hover,.book-save-actions .content-actions button:focus-visible{outline-offset:3px;background:#fffdf8;border-color:#5767356b;outline:2px solid #6e804633}.book-detail-facts{border:0;flex-wrap:wrap;gap:8px;max-width:720px;display:flex}.book-detail-facts span{color:#6e5a47;background:#fffbf4a8;border:1px solid #59432d26;border-radius:999px;align-items:center;min-height:30px;padding:0 12px;font-size:.82rem;font-weight:800;line-height:1;display:inline-flex}.book-topic-row{max-width:720px}.book-reader-page{width:min(100%,1400px);margin:0 auto}.reader-toolbar{z-index:5;background:color-mix(in srgb, var(--paper,#fff8ef) 84%, transparent);box-shadow:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:0;border-radius:0;padding:6px 0 12px;position:sticky;top:74px}.reader-controls{align-items:center}.reader-controls button{justify-content:center;width:40px;min-width:40px;padding:0}.reader-controls select{background:#fffcf7f0;border-color:#57412c2e;max-width:min(260px,32vw)}.reader-audio-inline{grid-template-columns:none;gap:6px;display:flex}.reader-audio-inline button{width:38px;min-width:38px}.reader-layout-focus{display:block}.reader-book{perspective:1600px;width:min(100%,1280px);margin:0 auto}.reader-book-spread{background:linear-gradient(90deg,#4630202e,#0000 9% 91%,#4630202e),#d8c7aa;border:1px solid #3e2a1a2e;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:clamp(6px,.8vw,12px);display:grid;position:relative;box-shadow:0 28px 60px #2d1f163d,inset 0 1px #fffae885}.reader-book-spread:before{z-index:2;content:"";pointer-events:none;background:linear-gradient(90deg,#3a26193d,#fffae829 48%,#3a261933);width:28px;position:absolute;top:clamp(6px,.8vw,12px);bottom:clamp(6px,.8vw,12px);left:50%;transform:translate(-50%)}.reader-scan-page{background:linear-gradient(#ffffff4d,#e6d5b233),#f5ebd3;min-width:0;position:relative}.reader-scan-page-left{border-radius:6px 1px 1px 6px;box-shadow:inset -26px 0 36px #432b1b29,inset 1px 0 #ffffff80}.reader-scan-page-right{border-radius:1px 6px 6px 1px;box-shadow:inset 26px 0 36px #432b1b24,inset -1px 0 #ffffff73}.reader-page-image-wrap{place-items:center;height:min(100vh - 176px,860px);min-height:720px;padding:6px;display:grid;position:relative;overflow:hidden}.reader-page-image-wrap img{object-fit:contain;filter:sepia(.08)saturate(.96)contrast(1.03);width:calc(100% - 12px);max-width:calc(100% - 12px);height:calc(100% - 12px);max-height:calc(100% - 12px);display:block;position:absolute;inset:6px}.reader-page-number{color:#503c2b9e;font-family:Georgia,Times New Roman,serif;font-size:.82rem;position:absolute;bottom:10px}.reader-scan-page-left .reader-page-number{left:16px}.reader-scan-page-right .reader-page-number{right:16px}.reader-text-fallback{width:100%;min-height:min(70vh,720px);padding:clamp(22px,4vw,48px)}.reader-text-fallback h2{color:#35271e;margin:0 0 18px;font-family:Georgia,Times New Roman,serif;font-size:1.8rem;line-height:1.12}.reader-save-row{justify-content:center;margin-top:18px;display:flex}.reader-save-row .content-actions{width:auto}@media (max-width:1100px){.book-focus-layout{grid-template-columns:minmax(180px,300px) minmax(0,1fr);gap:34px}.reader-toolbar{position:static}}@media (max-width:760px){.books-hero{padding:6px 0 18px}.books-hero h1{font-size:2.7rem}.book-filters{grid-template-columns:1fr}.book-filters .search-field{grid-column:auto}.book-grid{grid-template-columns:repeat(auto-fill,minmax(138px,1fr));gap:22px 12px}.book-cover{width:min(100%,150px)}.book-detail-focus{padding-top:6px}.book-focus-layout{grid-template-columns:1fr;gap:22px}.book-focus-rail .book-cover{width:min(76vw,260px)}.book-focus-copy h1{font-size:2.05rem}.book-detail-facts{gap:7px}.reader-toolbar{gap:10px;padding:0 0 12px}.reader-controls{grid-template-columns:40px minmax(0,1fr) minmax(0,1fr) auto 40px;width:100%;display:grid}.reader-controls select{width:100%;max-width:none}.reader-book-spread{grid-template-columns:1fr;padding:8px}.reader-book-spread:before{content:none}.reader-scan-page,.reader-scan-page-left,.reader-scan-page-right{border-radius:6px;box-shadow:inset 0 0 28px #432b1b1f}.reader-scan-page+.reader-scan-page{margin-top:8px}.reader-page-image-wrap{min-height:auto;padding:8px}.reader-page-image-wrap img{max-height:none}}@media (max-width:520px){.books-hero h1{font-size:2.3rem}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.book-cover{width:min(100%,132px)}.reader-controls{grid-template-columns:40px minmax(0,1fr) 40px}.reader-controls button[aria-label=Previous\ spread]{grid-area:1/1}.reader-controls button[aria-label=Next\ spread]{grid-area:1/3}.reader-controls select[aria-label=Page]{grid-area:1/2}.reader-controls select[aria-label="Table of contents"],.reader-audio-inline{grid-column:1/-1}.reader-controls select[aria-label="Table of contents"]{grid-row:2}.reader-audio-inline{grid-row:3;justify-content:center}}.opening-index-page{gap:12px;display:grid}.opening-index-head{border-bottom:1px solid #2b261f1f;justify-content:space-between;align-items:flex-end;gap:18px;padding:0 0 14px;display:flex}.opening-index-head .eyebrow{color:#536149;letter-spacing:.05em;margin:0 0 4px;font-size:.72rem;font-weight:850}.opening-index-head h1{color:#211d18;margin:0;font-family:Georgia,Times New Roman,serif;font-size:2.15rem;line-height:1}.opening-index-stats{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.opening-index-stats span{color:#646b5e;text-transform:uppercase;min-width:104px;box-shadow:none;background:#fffdf8;border:1px solid #43533626;border-radius:8px;gap:1px;padding:8px 10px;font-size:.72rem;font-weight:800;line-height:1.1;display:grid}.opening-index-stats strong{color:#24211d;text-transform:none;font-size:1.05rem;line-height:1.1}.opening-index-page .opening-command-bar{box-shadow:none;background:#fffaf2;border-color:#2b261f24;grid-template-columns:minmax(280px,1.65fr) repeat(3,minmax(150px,.72fr)) minmax(150px,auto);align-items:end;gap:9px;margin:0;padding:10px}.opening-index-page .filters label{color:#5e665a;letter-spacing:.03em;text-transform:uppercase;gap:5px;font-size:.72rem;font-weight:850}.opening-index-page .filters input,.opening-index-page .filters select,.opening-index-page .filter-count{color:#2d2924;height:38px;min-height:38px;box-shadow:none;background:#fffdf8;border-color:#2b261f29;border-radius:7px;font-weight:680}.opening-index-page .filters input:focus,.opening-index-page .filters select:focus{border-color:#47643994;box-shadow:0 0 0 3px #6b8f3f2e}.opening-index-page .search-field svg{color:#66705f;bottom:10px}.opening-index-page .filter-count{color:#51594a;white-space:nowrap;background:#eef2e7;border:1px solid #43533629;justify-content:center;align-items:center;padding:0 12px;display:flex}.opening-results-bar{box-shadow:none;background:#fffdf8b8;border-color:#2b261f1f;justify-content:space-between;gap:10px;margin:0;padding:9px 10px}.opening-results-bar>div{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.opening-results-bar .text-button{min-height:34px;box-shadow:none;background:#fffdf8;border-color:#2b261f24}.opening-index-page .opening-tile-grid{grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:10px;margin-top:0}.opening-index-page .opening-tile,.game-summary-card{box-shadow:none;background:#fffdf8;border:1px solid #2b261f24;border-radius:8px}.opening-index-page .opening-tile{aspect-ratio:auto;gap:9px;min-height:0;padding:10px;transition:border-color .14s,box-shadow .14s,transform .14s;display:grid}.opening-index-page .opening-tile:hover,.opening-index-page .opening-tile:focus-within,.game-summary-card:hover,.game-summary-card:focus-visible{border-color:#43642a57;transform:translateY(-1px);box-shadow:0 10px 22px #2a1f1614}.opening-index-page .opening-list .opening-tile-link{min-height:96px;color:inherit;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:12px;text-decoration:none;display:grid}.opening-index-page .opening-tile .opening-thumbnail{border-width:3px;border-radius:7px;justify-self:start;width:96px;max-width:96px;margin:0;box-shadow:0 7px 14px #2a1f1621}.opening-index-page .opening-tile-copy{align-content:center;gap:5px}.opening-tile-meta{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;display:flex}.opening-tile-meta span{color:#5b6355;background:#f4f6ed;border:1px solid #43533624;border-radius:6px;padding:2px 6px;font-size:.68rem;font-weight:850;line-height:1.2}.opening-tile-meta .opening-code{color:#385437;letter-spacing:.03em;background:#e7efe0}.opening-index-page .opening-tile h2,.game-summary-card h2{color:#25211d;letter-spacing:0;margin:0;font-family:Segoe UI,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;font-size:1rem;font-weight:780;line-height:1.18}.opening-index-page .opening-tile h2{-webkit-line-clamp:2}.opening-index-page .opening-tile p{color:#5f584f;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.81rem;font-weight:600;line-height:1.38;display:-webkit-box;overflow:hidden}.opening-index-page .opening-tile-footer{border-top:1px solid #2b261f1a;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-top:0;padding-top:8px;display:flex}.opening-save-button{color:#4e4a42;min-height:31px;box-shadow:none;cursor:pointer;white-space:nowrap;background:#fffaf2;border:1px solid #2b261f24;border-radius:7px;justify-content:center;align-items:center;gap:5px;padding:0 9px;font-size:.74rem;font-weight:800;line-height:1;text-decoration:none;display:inline-flex}.opening-train-link{color:#2f5b46;background:#e8f0e5;border-color:#38543733;margin-left:0}.opening-save-button.active{color:#2f5b46;background:#dfe9d9;border-color:#38543740}.opening-save-button:hover,.opening-save-button:focus-visible{color:#fffdf8;background:#476439;border-color:#38543757;outline:0}.game-summary-card{aspect-ratio:auto;grid-template-rows:auto;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:12px;min-height:128px;padding:11px}.game-summary-card .position-thumbnail{border-width:3px;border-radius:7px;justify-self:start;width:104px;max-width:104px;box-shadow:0 7px 14px #2a1f1621}.game-card-body{gap:5px}.game-card-kicker{color:#6b675d;letter-spacing:.03em;justify-content:space-between;gap:8px;font-size:.68rem;font-weight:820}.game-card-kicker span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.game-result-pill{color:#44523d;background:#eef2e7;border:1px solid #43533624;border-radius:6px;flex:none;padding:2px 6px;font-size:.66rem;line-height:1.2}.game-summary-card h2.matchup-title{gap:3px;max-height:none;display:flex}.game-card-context,.game-card-summary{color:#625a51;font-size:.8rem;line-height:1.34}@media (max-width:980px){.opening-index-page .opening-command-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.opening-index-page .search-field,.opening-index-page .filter-count{grid-column:1/-1}}@media (max-width:760px){.opening-index-head{flex-direction:column;align-items:flex-start;gap:12px}.opening-index-head h1{font-size:1.9rem}.opening-index-stats{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;display:grid}.opening-index-stats span{min-width:0}.opening-index-page .opening-command-bar,.opening-index-page .opening-tile-grid,.card-grid{grid-template-columns:1fr}.opening-results-bar{flex-direction:column;align-items:flex-start}}@media (max-width:460px){.opening-index-stats{grid-template-columns:1fr}.opening-index-page .opening-list .opening-tile-link{grid-template-columns:82px minmax(0,1fr);gap:10px;min-height:82px}.opening-index-page .opening-tile .opening-thumbnail{width:82px;max-width:82px}.opening-index-page .opening-tile-footer{justify-content:stretch}.opening-save-button{flex:1 1 0;min-width:0}.game-summary-card{grid-template-columns:88px minmax(0,1fr)}.game-summary-card .position-thumbnail{width:88px;max-width:88px}}main{padding:18px 0 52px}.page-hero{border-bottom:1px solid #2b261f1f;margin:0 0 12px;padding:4px 0 12px}.page-hero h1{color:#211d18;max-width:none;font-size:2.25rem;line-height:1.04}.filters:not(.opening-command-bar){box-shadow:none;background:#fffaf2;border-color:#2b261f24;gap:9px;margin:0 0 12px;padding:10px}.filters:not(.opening-command-bar) label{color:#635d54;letter-spacing:.02em;gap:5px;font-size:.74rem;font-weight:820}.filters:not(.opening-command-bar) input,.filters:not(.opening-command-bar) select{height:38px;min-height:38px;box-shadow:none;color:#2d2924;background:#fffdf8;border-color:#2b261f29;border-radius:7px}.filters:not(.opening-command-bar) input:focus,.filters:not(.opening-command-bar) select:focus{border-color:#47643994;box-shadow:0 0 0 3px #6b8f3f2e}.library-tools:not(.opening-results-bar){box-shadow:none;background:#fffdf8b8;border-color:#2b261f1f;justify-content:space-between;gap:10px;margin:0 0 12px;padding:9px 10px}.library-tools:not(.opening-results-bar)>div{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.library-tools:not(.opening-results-bar) .text-button{min-height:34px;box-shadow:none;background:#fffdf8;border-color:#2b261f24}.card-grid{grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:10px;margin-top:10px}@media (max-width:760px){main{padding-top:14px;padding-bottom:42px}.page-hero{margin-bottom:10px;padding-bottom:10px}.page-hero h1{font-size:1.9rem}.card-grid{grid-template-columns:1fr}}:root{--cit-ink-final:#231f1a;--cit-muted-final:#70685f;--cit-rule-final:#231f1a1c;--cit-surface-final:#fffefad1;--cit-soft-final:#f7f0e6;--cit-accent-final:#7a5638}body{background:linear-gradient(#fdf8f1f5,#f2e8d8d1),#f5ecde}.site-header{border-bottom:1px solid var(--cit-rule-final);box-shadow:none;background:#fdf8f1f0}.site-header nav a.active{color:#fffaf2;box-shadow:none;background:#2b2620;border:1px solid #231f1a24}.site-header nav a:hover{color:var(--cit-ink-final);background:#231f1a0e}.page-hero,.opening-index-head{border-bottom-color:var(--cit-rule-final)}.opening-index-head .eyebrow,.eyebrow{color:#6f5844}.opening-index-stats span{border-color:var(--cit-rule-final);color:var(--cit-muted-final);box-shadow:none;background:#fffefab8}.filters,.filters:not(.opening-command-bar),.opening-index-page .opening-command-bar,.library-tools,.library-tools:not(.opening-results-bar),.opening-results-bar{border-color:var(--cit-rule-final);box-shadow:none;background:#fffefa94}.filters input,.filters select,.filters:not(.opening-command-bar) input,.filters:not(.opening-command-bar) select,.opening-index-page .filters input,.opening-index-page .filters select{color:var(--cit-ink-final);background:#fffefae6;border-color:#231f1a24}.filters input:focus,.filters select:focus,.filters:not(.opening-command-bar) input:focus,.filters:not(.opening-command-bar) select:focus,.opening-index-page .filters input:focus,.opening-index-page .filters select:focus{border-color:#7a563880;box-shadow:0 0 0 3px #7a56381f}.opening-index-page .filter-count{color:#5f574f;background:#f7f0e6d1;border-color:#231f1a1a}.opening-index-page .opening-tile-grid{grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:8px}.opening-index-page .opening-tile{border-color:var(--cit-rule-final);background:var(--cit-surface-final);min-height:136px;box-shadow:none;grid-template-rows:minmax(98px,auto) auto;grid-template-columns:98px minmax(0,1fr);align-items:start;gap:8px 14px;padding:10px 12px 10px 10px;display:grid;transform:none}.opening-index-page .opening-tile:hover,.opening-index-page .opening-tile:focus-within,.game-summary-card:hover,.game-summary-card:focus-visible{background:#fffefaf5;border-color:#7a56383d;transform:none;box-shadow:0 8px 18px #2b22180e}.opening-index-page .opening-list .opening-tile-link{display:contents}.opening-index-page .opening-tile .opening-thumbnail,.game-summary-card .position-thumbnail,.position-thumbnail{background:0 0;border-radius:5px;box-shadow:none!important;border:0!important}.opening-index-page .opening-tile .opening-thumbnail{grid-area:1/1/span 2;width:98px;max-width:98px}.opening-index-page .opening-tile-copy{grid-area:1/2;align-content:start;gap:5px;padding-top:1px}.opening-tile-meta{gap:6px}.opening-tile-meta span,.game-result-pill,.badge{color:#61584f;background:#f7f0e6bd;border-color:#231f1a1a}.opening-tile-meta .opening-code{color:#35302a;background:#231f1a13}.opening-index-page .opening-tile h2,.game-summary-card h2{color:var(--cit-ink-final);font-size:1rem;font-weight:760;line-height:1.2}.opening-index-page .opening-tile p,.game-card-context,.game-card-summary{color:var(--cit-muted-final);font-size:.81rem;line-height:1.42}.opening-index-page .opening-tile-footer{border-top:0;flex-wrap:wrap;grid-area:2/2;justify-content:flex-start;align-items:center;gap:14px;min-height:20px;margin:0;padding:0;display:flex}.opening-save-button{color:#6b5e52;cursor:pointer;border-radius:0;min-height:0;padding:0;font-size:.77rem;font-weight:760;line-height:1.3;text-decoration:none;display:inline-flex;box-shadow:none!important;background:0 0!important;border:0!important}.opening-train-link{color:var(--cit-accent-final);box-shadow:none!important;background:0 0!important;border:0!important}.opening-save-button.active{color:var(--cit-ink-final);background:0 0!important}.opening-save-button:hover,.opening-save-button:focus-visible{color:var(--cit-ink-final);text-underline-offset:3px;text-decoration:underline;background:0 0!important}.game-summary-card{border-color:var(--cit-rule-final);background:var(--cit-surface-final);min-height:132px;box-shadow:none;grid-template-columns:102px minmax(0,1fr);padding:10px}.game-summary-card .position-thumbnail{width:102px;max-width:102px}.game-card-kicker{color:#756b61}.game-result-pill{padding:2px 6px;font-weight:760}.game-card-summary{color:#5f574f}.text-button,.library-tools .text-button,.library-tools:not(.opening-results-bar) .text-button,.opening-results-bar .text-button,.load-more{color:#5d4635;box-shadow:none;background:#fffefac7;border-color:#231f1a1f}.text-button:hover,.text-button:focus-visible,.load-more:hover,.load-more:focus-visible{color:var(--cit-ink-final);background:#fffefa;border-color:#7a56383d}@media (max-width:760px){.opening-index-page .opening-tile-grid{grid-template-columns:1fr}}@media (max-width:460px){.opening-index-page .opening-tile{grid-template-columns:80px minmax(0,1fr)}.opening-index-page .opening-tile .opening-thumbnail{width:80px;max-width:80px}.opening-index-page .opening-tile-footer{gap:11px}.game-summary-card{grid-template-columns:82px minmax(0,1fr)}.game-summary-card .position-thumbnail{width:82px;max-width:82px}}.site-header{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);min-height:66px;box-shadow:none;background:#fdf8f1f0;border-bottom:1px solid #231f1a1f;gap:clamp(18px,3vw,34px);padding:12px 0 11px}.brand{color:#211d18;letter-spacing:0;flex:none;gap:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.22rem,1.65vw,1.48rem);font-weight:800;line-height:1}.brand:before{content:none}.site-header-actions{flex-wrap:nowrap;flex:auto;justify-content:flex-end;align-items:center;gap:clamp(12px,2vw,20px);min-width:0}.site-header nav{scroll-snap-type:none;scrollbar-width:none;flex-wrap:nowrap;flex:auto;justify-content:flex-end;align-items:center;gap:clamp(13px,1.55vw,22px);min-width:0;padding:0 2px 2px;scroll-padding-inline:18px;overflow-x:auto}.site-header nav a{min-height:36px;box-shadow:none;color:#62594f;white-space:nowrap;background:0 0;border:0;border-radius:4px;align-items:center;padding:0;font-size:.84rem;font-weight:760;line-height:1;text-decoration:none;transition:color .15s;display:inline-flex;position:relative}.site-header nav a:after{content:"";background:0 0;border-radius:2px;height:2px;transition:background .15s;position:absolute;bottom:2px;left:0;right:0}.site-header nav a:hover,.site-header nav a:focus-visible{color:#211d18;background:0 0}.site-header nav a:hover:after,.site-header nav a:focus-visible:after{background:#7a56385c}.site-header nav a:focus-visible,.account-link:focus-visible,.account-control button:focus-visible{outline-offset:4px;outline:2px solid #7a563842}.site-header nav a.active{box-shadow:none;color:#2f3e2e;background:0 0;border:0}.account-link,.account-status,.account-control{min-height:36px;box-shadow:none;color:#211d18;letter-spacing:0;background:#fffefab8;border:1px solid #231f1a24;border-radius:8px;font-size:.8rem}.account-link:hover,.account-link:focus-visible,.account-control button:hover,.account-control button:focus-visible{color:#211d18;background:#fffefa;border-color:#7a56383d}.account-control button{box-shadow:none;letter-spacing:0;background:#f7f0e6b8;border-radius:7px}@media (max-width:1060px){.site-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px 16px;min-height:0;display:grid}.brand{grid-column:1;max-width:100%}.site-header-actions{display:contents}.site-header nav{grid-column:1/-1;justify-content:flex-start;width:calc(100% + 24px);margin-inline:-12px;padding:0 12px 5px}.account-link,.account-status,.account-control{grid-column:2;justify-self:end}}@media (max-width:760px){.site-header{width:calc(100vw - 24px);padding:10px 0 9px}.brand{max-width:calc(100vw - 136px);font-size:1.16rem}.site-header nav{gap:17px;width:calc(100% + 24px);margin-inline:-12px;padding:1px 12px 6px}.site-header nav a{min-height:34px;font-size:.83rem}.account-link,.account-status,.account-control{max-width:124px}}@media (max-width:380px){.site-header{width:calc(100vw - 18px)}.brand{font-size:1.04rem}.site-header nav{width:calc(100% + 18px);margin-inline:-9px;padding-inline:9px}}.site-header{-webkit-backdrop-filter:blur(18px)saturate(1.08);backdrop-filter:blur(18px)saturate(1.08);background:linear-gradient(#fffbf4f5,#faf1e2eb),#faf1e2f0;border-bottom:1px solid #3d302321;width:100%;max-width:none;min-height:76px;margin:0;padding:12px clamp(18px,3vw,36px);overflow:visible;box-shadow:0 10px 28px #3726180f}.site-header .brand{color:#221d18;flex:none;min-width:max-content;font-size:1.32rem;line-height:1}.site-header-actions{flex:auto;justify-content:flex-end;align-items:center;gap:clamp(12px,1.6vw,22px);min-width:0;display:flex}.site-header nav{scrollbar-width:none;flex:auto;justify-content:flex-end;align-items:center;gap:clamp(8px,1.1vw,16px);min-width:0;padding:0;display:flex;overflow:visible}.site-header nav a{color:#5b5147;white-space:nowrap;border-radius:999px;min-height:38px;padding:0 2px;font-size:.82rem;font-weight:800}.site-header nav a:after{height:2px;bottom:5px}.site-header nav a:hover,.site-header nav a:focus-visible{color:#241f19}.site-header nav a.active{color:#31442e}.site-header nav a.active:after{background:#607a48}.account-link,.account-status{color:#fffaf1;background:linear-gradient(#5f7f45,#496834),#536f3d;border:0;border-radius:999px;flex:none;min-height:44px;padding:0 18px;font-size:.88rem;font-weight:850;box-shadow:0 11px 24px #3d512a33,inset 0 1px #ffffff47}.account-link{appearance:none;cursor:pointer;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.account-link:hover,.account-link:focus-visible{color:#fffaf1;background:linear-gradient(#6f8a4d,#54723b),#5d7a42;border:0;box-shadow:0 13px 28px #3d512a3d,inset 0 1px #ffffff52}.account-link:focus-visible,.account-control button:focus-visible{outline:0;box-shadow:0 0 0 3px #fffaf1e6,0 0 0 6px #536f3d47,0 13px 28px #3d512a3d}.account-control{background:#fffbf4d1;border:0;border-radius:999px;flex:none;min-height:44px;padding:4px 5px 4px 8px;box-shadow:0 10px 22px #35261917,inset 0 0 0 1px #3d30231a}.account-control button{color:#fffaf1;background:linear-gradient(#6f533c,#563d2b),#614630;border:0;border-radius:999px;font-weight:850;box-shadow:0 9px 18px #452f1f33,inset 0 1px #fff3}.account-control button:hover{color:#fffaf1;background:linear-gradient(#7b6047,#614631),#6a4e37;border:0}.account-menu{box-shadow:none;background:0 0;padding:0;display:block;position:relative}.account-menu .account-trigger{color:#241f19;background:#fffbf4db;border:0;border-radius:999px;align-items:center;gap:8px;max-width:230px;min-height:44px;padding:4px 12px 4px 6px;display:inline-flex;box-shadow:0 10px 22px #35261917,inset 0 0 0 1px #3d30231a}.account-menu .account-trigger:hover,.account-menu .account-trigger:focus-visible,.account-menu:focus-within .account-trigger,.account-menu:hover .account-trigger{color:#241f19;background:#fffaf1}.account-menu .account-name{min-width:0;max-width:140px;color:inherit;text-overflow:ellipsis;white-space:nowrap;font-weight:800;overflow:hidden}.account-chevron{opacity:.58;border-bottom:2px solid;border-right:2px solid;width:8px;height:8px;transform:translateY(-2px)rotate(45deg)}.account-dropdown{z-index:20;opacity:0;pointer-events:none;background:#fffbf4f7;border:1px solid #3d30231f;border-radius:8px;min-width:190px;padding:7px;transition:opacity .15s,transform .15s;display:grid;position:absolute;top:calc(100% + 9px);right:0;transform:translateY(-4px);box-shadow:0 22px 48px #2d1f1429}.account-menu:hover .account-dropdown,.account-menu:focus-within .account-dropdown{opacity:1;pointer-events:auto;transform:translateY(0)}.account-dropdown a,.account-dropdown button{width:100%;min-height:38px;box-shadow:none;color:#332a22;text-align:left;background:0 0;border:0;border-radius:6px;justify-content:flex-start;align-items:center;padding:0 11px;font-size:.9rem;font-weight:780;text-decoration:none;display:flex}.account-dropdown a:hover,.account-dropdown a:focus-visible,.account-dropdown button:hover,.account-dropdown button:focus-visible{color:#26351f;background:#536f3d1f;outline:0}@media (max-width:1180px){.site-header{grid-template-columns:minmax(0,1fr) auto;gap:9px 16px;padding-block:10px;display:grid}.site-header .brand{grid-column:1}.site-header-actions{display:contents}.site-header nav{-webkit-overflow-scrolling:touch;grid-column:1/-1;justify-content:flex-start;gap:16px;padding:0 0 4px;overflow:auto hidden}.account-link,.account-status,.account-control{grid-area:1/2;justify-self:end}.account-menu .account-trigger{max-width:160px}.account-menu .account-name{max-width:88px}}@media (max-width:760px){.site-header{width:100%;padding-inline:14px}.site-header .brand{max-width:calc(100vw - 132px);font-size:1.16rem}.site-header nav{gap:14px}.site-header nav a{min-height:34px;font-size:.82rem}.account-link,.account-status{min-height:40px;padding-inline:15px;font-size:.84rem}}.education-page{gap:clamp(22px,3vw,36px);padding-top:clamp(24px,3vw,44px);display:grid}.education-hero{border-bottom:1px solid #302a2121;grid-template-columns:minmax(0,1fr) minmax(280px,420px);align-items:end;gap:clamp(22px,4vw,64px);padding-bottom:clamp(24px,3vw,36px);display:grid}.education-hero>div{max-width:820px}.education-hero h1{color:#211d18;letter-spacing:0;text-wrap:balance;margin:8px 0 0;font-family:Georgia,Times New Roman,serif;font-size:clamp(42px,6vw,82px);line-height:.94}.education-hero p{color:#655d51;max-width:720px;margin:18px 0 0;font-size:clamp(16px,1.3vw,20px);line-height:1.55}.education-hero-actions{flex-wrap:wrap;gap:10px;margin-top:22px;display:flex}.education-hero-actions a{color:#211d18;background:#fffdf8;border:1px solid #302a2124;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 14px;font-weight:850;text-decoration:none;display:inline-flex}.education-hero-actions a:hover,.education-hero-actions a:focus-visible{color:#2f6f57;border-color:#2f6f576b;outline:0}.education-hero aside{background:#fffdf8bd;border:1px solid #302a2121;border-radius:8px;gap:10px;padding:18px;display:grid;box-shadow:0 18px 40px #28221914}.education-hero aside article{background:#eef3ee;border-radius:8px;gap:6px;min-height:78px;padding:13px;display:grid}.education-hero aside span{color:#2f6f57;text-transform:uppercase;margin:0;font-size:.76rem;font-weight:850;line-height:1.1}.education-hero aside strong{color:#211d18;font-size:1rem;line-height:1.25}.education-review-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.education-review-grid article{background:#fffdf8cc;border:1px solid #302a2121;border-radius:8px;min-height:220px;padding:18px;box-shadow:0 18px 40px #2822190f}.education-review-grid svg,.education-topics svg{color:#2f6f57}.education-review-grid h2{color:#211d18;margin:12px 0 10px;font-family:Georgia,Times New Roman,serif;font-size:clamp(22px,1.8vw,30px);line-height:1.05}.education-review-grid p{color:#5f564a;margin:0;font-size:.98rem;line-height:1.5}.education-topics{background:#fffaf1;border:1px solid #302a2121;border-radius:8px;gap:16px;padding:20px;display:grid}.education-topics>div{align-items:center;gap:10px;display:flex}.education-topics h2{color:#211d18;margin:0;font-family:Georgia,Times New Roman,serif;font-size:1.5rem}.education-topics ul{flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none;display:flex}.education-topics li{color:#315f4d;background:#fff;border:1px solid #302a2121;border-radius:8px;min-height:34px;padding:7px 11px;font-size:.9rem;font-weight:780}.school-guide-page{gap:clamp(22px,3vw,34px);padding-top:clamp(24px,3vw,44px);display:grid}.school-guide-hero{border-bottom:1px solid #302a2121;max-width:920px;padding-bottom:clamp(20px,3vw,32px)}.school-guide-hero h1{color:#211d18;text-wrap:balance;margin:8px 0 0;font-family:Georgia,Times New Roman,serif;font-size:clamp(42px,6vw,78px);line-height:.96}.school-guide-hero p{color:#655d51;max-width:760px;margin:18px 0 0;font-size:clamp(16px,1.3vw,20px);line-height:1.55}.school-guide-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.school-guide-grid article{background:#fffdf8cc;border:1px solid #302a2121;border-radius:8px;min-height:220px;padding:18px;box-shadow:0 18px 40px #2822190f}.school-guide-grid svg{color:#2f6f57}.school-guide-grid h2{color:#211d18;margin:12px 0 10px;font-family:Georgia,Times New Roman,serif;font-size:clamp(22px,1.8vw,30px);line-height:1.05}.school-guide-grid p{color:#5f564a;margin:0;font-size:.98rem;line-height:1.5}@media (max-width:1040px){.education-review-grid,.school-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:900px){.education-hero{grid-template-columns:1fr}}@media (max-width:640px){.education-review-grid,.school-guide-grid{grid-template-columns:1fr}.education-review-grid article,.school-guide-grid article{min-height:0}}.education-resources-page{gap:clamp(22px,3vw,36px);padding-top:clamp(24px,3vw,44px);display:grid}.education-resources-hero{border-bottom:1px solid #302a2121;grid-template-columns:minmax(0,1fr) minmax(260px,370px);align-items:end;gap:clamp(20px,4vw,64px);padding-bottom:clamp(22px,3vw,34px);display:grid}.education-resources-hero>div{max-width:790px}.education-resources-hero h1{color:#211d18;letter-spacing:0;margin:8px 0 0;font-family:Georgia,Times New Roman,serif;font-size:clamp(42px,6vw,82px);line-height:.94}.education-resources-hero p{color:#655d51;max-width:690px;margin:18px 0 0;font-size:clamp(16px,1.3vw,20px);line-height:1.55}.education-resources-hero aside{background:#fffdf8bd;border:1px solid #302a2121;border-radius:8px;gap:8px;padding:18px;display:grid;box-shadow:0 18px 40px #28221914}.education-resources-hero aside span,.education-resource-card p{color:#2f6f57;text-transform:uppercase;margin:0;font-size:.76rem;font-weight:850;line-height:1.1}.education-resources-hero aside strong{color:#211d18;font-family:Georgia,Times New Roman,serif;font-size:1.42rem;line-height:1.1}.education-resources-hero aside p{color:#62594d;margin:0;font-size:.96rem}.education-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.education-resource-card{--education-resource-accent:#2f6f57;background:#fffdf8cc;border:1px solid #302a2121;border-radius:8px;align-content:space-between;gap:32px;min-height:260px;padding:22px;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 40px #28221914}.education-resource-card:before{background:var(--education-resource-accent);content:"";height:4px;position:absolute;inset:0 0 auto}.education-resource-card h2{color:#211d18;margin:12px 0;font-family:Georgia,Times New Roman,serif;font-size:clamp(26px,2vw,34px);line-height:1.05}.education-resource-card span{color:#5f564a;max-width:620px;font-size:1rem;line-height:1.5;display:block}.education-resource-card a{color:#fffaf1;background:#211d18;border-radius:999px;justify-content:center;justify-self:start;align-items:center;gap:8px;min-height:42px;padding:0 16px;font-weight:850;text-decoration:none;display:inline-flex;box-shadow:0 12px 24px #211d1829}.education-resource-card a:hover,.education-resource-card a:focus-visible{background:var(--education-resource-accent);color:#fffaf1;outline:0}.education-resource-green{--education-resource-accent:#2f6f57}.education-resource-gold{--education-resource-accent:#b67a26}.education-resource-red{--education-resource-accent:#8f4652}.education-resource-card p{color:var(--education-resource-accent)}@media (max-width:900px){.education-resources-hero,.education-resource-grid{grid-template-columns:1fr}}:root{--filter-ink:#24211d;--filter-muted:#6d655d;--filter-line:#24211d1f;--filter-line-strong:#24211d33;--filter-surface:#fffffcdb;--filter-control:#fffefa;--filter-control-hover:#fff;--filter-focus:#59746a;--filter-focus-ring:#59746a29;--filter-soft:#edf2ecad}.filters,.filters:not(.opening-command-bar),.opening-index-page .opening-command-bar,.study-filters,.book-filters,.game-filters,.opening-filters,.history-filters,.people-filters,.trainer-filters{border:1px solid var(--filter-line);background:var(--filter-surface);border-radius:8px;align-items:end;gap:12px;width:100%;margin:0 0 14px;padding:12px;display:grid;box-shadow:0 1px 2px #24211d09}.book-filters{grid-template-columns:minmax(320px,1.65fr) minmax(260px,1fr) minmax(140px,.42fr) minmax(190px,.62fr) minmax(190px,.62fr)}.game-filters{grid-template-columns:minmax(240px,1.35fr) minmax(200px,.95fr) repeat(5,minmax(118px,.58fr))}.opening-filters,.opening-index-page .opening-command-bar{grid-template-columns:minmax(300px,1.55fr) repeat(3,minmax(160px,.58fr)) minmax(150px,auto)}.history-filters{grid-template-columns:minmax(300px,1.6fr) repeat(6,minmax(140px,.62fr))}.people-filters{grid-template-columns:minmax(320px,1.7fr) minmax(150px,.48fr) minmax(170px,.58fr)}.study-filters{grid-template-columns:minmax(320px,1.8fr) minmax(180px,.62fr)}.trainer-filters{grid-template-columns:minmax(280px,1.4fr) minmax(160px,.62fr) auto}.filters label,.filters:not(.opening-command-bar) label,.opening-index-page .filters label,.trainer-mode-field{min-width:0;color:var(--filter-muted);letter-spacing:0;text-transform:none;gap:6px;font-size:.75rem;font-weight:750;line-height:1.18;display:grid}.filters label>span,.trainer-mode-field>span{min-height:16px}.filters input,.filters select,.filters:not(.opening-command-bar) input,.filters:not(.opening-command-bar) select,.opening-index-page .filters input,.opening-index-page .filters select,.opening-index-page .filter-count{border:1px solid var(--filter-line);background:var(--filter-control);width:100%;height:40px;min-height:40px;box-shadow:none;color:var(--filter-ink);border-radius:8px;outline:0;font-size:.86rem;font-weight:650;line-height:1.2;transition:background-color .14s,border-color .14s,box-shadow .14s}.filters input,.filters select,.filters:not(.opening-command-bar) input,.filters:not(.opening-command-bar) select,.opening-index-page .filters input,.opening-index-page .filters select{padding:0 12px}.filters select,.filters:not(.opening-command-bar) select,.opening-index-page .filters select{cursor:pointer}.filters input::placeholder{color:#39332d94}.filters input:hover,.filters select:hover,.filters:not(.opening-command-bar) input:hover,.filters:not(.opening-command-bar) select:hover,.opening-index-page .filters input:hover,.opening-index-page .filters select:hover{border-color:var(--filter-line-strong);background:var(--filter-control-hover)}.filters input:focus,.filters select:focus,.filters:not(.opening-command-bar) input:focus,.filters:not(.opening-command-bar) select:focus,.opening-index-page .filters input:focus,.opening-index-page .filters select:focus{box-shadow:0 0 0 3px var(--filter-focus-ring);border-color:#59746a94}.search-field{position:relative}.book-filters .search-field,.game-filters .search-field,.history-filters .search-field,.opening-filters .search-field,.opening-index-page .opening-command-bar .search-field,.people-filters .search-field,.study-filters .search-field{grid-column:auto}.filters .search-field svg,.filters:not(.opening-command-bar) .search-field svg,.opening-index-page .search-field svg{color:#39332d9e;pointer-events:none;width:17px;height:17px;position:absolute;bottom:11px;left:12px}.filters .search-field input,.filters:not(.opening-command-bar) .search-field input,.opening-index-page .filters .search-field input{padding-left:40px}.filter-count,.opening-index-page .filter-count{border:1px solid var(--filter-line);background:var(--filter-soft);min-height:40px;color:var(--filter-muted);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:5px;padding:0 12px;font-size:.86rem;font-weight:650;line-height:1.2;display:inline-flex}.opening-index-page .opening-command-bar .filter-count{grid-column:auto}.filter-count strong,.opening-index-page .filter-count strong{color:var(--filter-ink);font-size:.95rem;font-weight:780}.library-tools,.library-tools:not(.opening-results-bar),.opening-results-bar{border:1px solid var(--filter-line);box-shadow:none;color:var(--filter-muted);background:#fffffcad;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;margin:0 0 18px;padding:10px 12px;display:flex}.library-tools>div,.library-tools:not(.opening-results-bar)>div,.opening-results-bar>div{align-items:center;gap:7px;min-width:0;display:inline-flex}.library-tools svg,.opening-results-bar svg{color:#39332dbd;flex:none}.library-tools strong,.opening-results-bar strong{color:var(--filter-ink);font-weight:780}.library-tools .text-button,.library-tools:not(.opening-results-bar) .text-button,.opening-results-bar .text-button{border:1px solid var(--filter-line);background:var(--filter-control);min-height:34px;box-shadow:none;color:var(--filter-ink);border-radius:8px;padding:0 10px}.library-tools .text-button:hover,.library-tools .text-button:focus-visible,.opening-results-bar .text-button:hover,.opening-results-bar .text-button:focus-visible{border-color:var(--filter-line-strong);box-shadow:0 0 0 3px var(--filter-focus-ring);background:#fff}@media (max-width:1180px){.book-filters,.game-filters,.opening-filters,.opening-index-page .opening-command-bar,.history-filters,.people-filters,.study-filters,.trainer-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.book-filters .search-field,.game-filters .search-field,.history-filters .search-field,.opening-filters .search-field,.opening-index-page .opening-command-bar .search-field,.people-filters .search-field,.study-filters .search-field{grid-column:span 1}}@media (max-width:760px){.filters,.filters:not(.opening-command-bar),.opening-index-page .opening-command-bar,.book-filters,.game-filters,.opening-filters,.history-filters,.people-filters,.study-filters,.trainer-filters{grid-template-columns:1fr;gap:10px;margin-bottom:12px;padding:10px}.book-filters .search-field,.game-filters .search-field,.history-filters .search-field,.opening-filters .search-field,.opening-index-page .opening-command-bar .search-field,.people-filters .search-field,.study-filters .search-field,.filter-count{grid-column:auto}.filters input,.filters select,.filter-count,.opening-index-page .filter-count{height:42px;min-height:42px}.filters .search-field svg,.filters:not(.opening-command-bar) .search-field svg,.opening-index-page .search-field svg{bottom:12px}.library-tools,.library-tools:not(.opening-results-bar),.opening-results-bar{flex-direction:column;align-items:stretch;gap:8px;margin-bottom:14px;padding:10px}.library-tools>div,.opening-results-bar>div,.library-tools .text-button,.opening-results-bar .text-button{justify-content:center;width:100%}}.book-reader-page{width:min(100%,1360px);margin:0 auto;padding-top:2px}.book-reader-page .reader-layout-focus{grid-template-columns:1fr;gap:14px;display:grid}.book-reader-page .reader-book{width:min(100%,1260px)}.book-reader-page .reader-book-spread{min-height:min(100vh - 222px,790px);padding:clamp(8px,1vw,14px)}.book-reader-page .reader-scan-page{cursor:pointer;outline:0;min-height:min(100vh - 246px,760px)}.book-reader-page .reader-scan-page:focus-visible{box-shadow:inset 0 0 0 3px #59746a3d,inset 0 0 34px #432b1b1a}.book-reader-page .reader-page-image-wrap{width:100%;height:min(100vh - 246px,760px);min-height:610px;padding:clamp(28px,4.2vw,58px) clamp(28px,4vw,60px);display:block}.book-reader-page .reader-text-fallback{scrollbar-width:thin;flex-direction:column;width:100%;height:100%;min-height:0;padding:0;display:flex;overflow:auto}.book-reader-page .reader-text-fallback h2{color:#30251d;margin:0 0 14px;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.15rem,1.45vw,1.55rem);line-height:1.12}.book-reader-page .reader-text{min-height:0}.book-reader-page .reader-text p{color:#302820;overflow-wrap:anywhere;white-space:pre-wrap;margin:0 0 .42em;font-family:Georgia,Times New Roman,serif;font-size:clamp(.92rem,.98vw,1.02rem);line-height:1.45}.book-reader-page .reader-page-number{bottom:12px}.reader-underbar{box-shadow:none;background:#fff8efb8;border:1px solid #57412c24;border-radius:8px;grid-column:1;grid-template-columns:auto minmax(180px,1fr) minmax(0,auto) auto;align-items:center;gap:10px 14px;padding:11px 12px;display:grid}.reader-title-link{min-width:max-content}.reader-underbar-title{gap:2px;min-width:0;display:grid}.reader-underbar-title strong,.reader-underbar-title span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.reader-underbar-title strong{color:#30251d;font-size:.92rem}.reader-underbar-title span{color:#756958;font-size:.78rem;font-weight:760}.reader-underbar .reader-controls{justify-content:flex-end}.reader-underbar .content-actions{justify-content:flex-end;margin:0}@media (max-width:980px){.reader-underbar{grid-template-columns:auto minmax(0,1fr)}.reader-underbar .reader-controls,.reader-underbar .content-actions{grid-column:1/-1;justify-content:center}}@media (max-width:760px){.book-reader-page .reader-book-spread{min-height:0}.book-reader-page .reader-scan-page{min-height:70vh}.book-reader-page .reader-page-image-wrap{height:70vh;min-height:540px;padding:28px 22px}.reader-underbar{grid-template-columns:1fr;align-items:stretch}.reader-title-link,.reader-underbar-title,.reader-underbar .reader-controls,.reader-underbar .content-actions{text-align:center;grid-column:auto;justify-content:center}}.book-reader-page{padding:2px 0 72px}.book-reader-page .reader-layout-focus{gap:12px}.book-reader-page .reader-book-spread{min-height:min(100vh - 300px,720px)}.book-reader-page .reader-scan-page{min-height:min(100vh - 324px,692px)}.book-reader-page .reader-page-image-wrap{height:min(100vh - 324px,692px);min-height:560px;padding:clamp(28px,4vw,52px) clamp(30px,4.2vw,58px)}.book-reader-page .reader-text-fallback h2,.book-reader-page .reader-text p{letter-spacing:0;font-family:Segoe UI,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif}.book-reader-page .reader-text-fallback h2{font-size:1.08rem;font-weight:700;line-height:1.25}.book-reader-page .reader-text p{font-size:1rem;font-weight:400;line-height:1.55}.reader-underbar{z-index:1;background:#fffaf2eb;border-radius:6px;grid-template-columns:auto minmax(160px,1fr) auto auto;width:min(100%,1220px);margin:0 auto;padding:10px 12px;position:relative;bottom:auto;left:auto;right:auto}.reader-underbar-title strong,.reader-underbar-title span,.reader-controls button,.reader-controls select,.reader-underbar .content-actions button{letter-spacing:0;font-family:Segoe UI,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif}.reader-underbar-title strong{font-size:.9rem;font-weight:700}.reader-underbar-title span{font-size:.78rem;font-weight:600}.reader-controls{gap:8px}.reader-controls button,.reader-controls select,.reader-underbar .content-actions button{border-radius:6px;min-height:36px;font-size:.9rem;font-weight:700}.reader-controls button{width:38px}.reader-controls select{width:136px;max-width:42vw}@media (max-width:760px){.book-reader-page{padding-bottom:36px}.book-reader-page .reader-page-image-wrap{height:58vh;min-height:420px}.reader-underbar{grid-template-columns:1fr}}@media (min-height:640px){.detail-trainer-board-panel .interactive-board-wrap,.detail-trainer-board-panel .interactive-board{width:min(680px,100vh - 260px,100%)}}
