.fm-theory-link{position:relative;z-index:2;display:inline-flex;align-items:center;gap:7px;width:fit-content;margin:12px 0 0;color:#99543d;font:500 13px/1.4 Inter,Arial,sans-serif;text-decoration:none}.fm-theory-link svg{width:18px;height:18px;fill:none;stroke:currentColor}.fm-theory-link:hover{color:#703b2b;text-decoration:underline;text-underline-offset:4px}.fm-theory-link:focus-visible{outline:2px solid #a65f49;outline-offset:5px;border-radius:3px}.fm-theory-training{margin-top:3px;font-size:12px;gap:5px}.fm-theory-training svg{width:15px;height:15px}.fm-theory-dialog{box-sizing:border-box;inset:0;width:min(1110px,calc(100vw - 40px));max-width:none;max-height:92dvh;margin:auto;padding:0;overflow:hidden;border:1px solid #ddcebc;border-radius:18px;background:#fffefa;color:#302d29;box-shadow:0 30px 100px #30251955;font-family:Inter,Arial,sans-serif}.fm-theory-dialog::backdrop{background:#30271e99;backdrop-filter:blur(4px)}.fm-theory-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:23px 30px 21px;margin:0;border-bottom:1px solid #e7ddcf;background:#faf6ef}.fm-theory-eyebrow{display:block;color:#a0523a;font:600 10px/1.4 Inter,Arial,sans-serif;letter-spacing:1px}.fm-theory-dialog-head h2{margin:7px 0 0;padding:0;font:700 32px/1.15 Georgia,serif;color:#302d29}.fm-theory-close{display:grid;place-items:center;flex:none;width:38px;height:38px;padding:9px;border:1px solid #dfd2c2;border-radius:50%;background:#fffefa;color:#8e715b;cursor:pointer}.fm-theory-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}.fm-theory-close:hover{background:#eee3d4}.fm-theory-dialog-body{min-height:160px;max-height:calc(92dvh - 110px);overflow:auto}.fm-theory-content{min-width:0}.fm-theory-tabs{display:flex;gap:26px;padding:0 30px;border-bottom:1px solid #e6d9c9;background:#fffefa}.fm-theory-tabs a{display:flex;align-items:center;min-height:52px;padding:10px 0 9px;border-bottom:2px solid transparent;color:#8b7865;text-decoration:none;font:500 13px/1.4 Inter,Arial,sans-serif}.fm-theory-tabs a[aria-selected=true]{border-bottom-color:#a1573e;color:#995039}.fm-theory-tabs a:hover{color:#703c29}.fm-theory-dialog .fm-theory-scroll{max-height:calc(92dvh - 165px);overflow:auto;overscroll-behavior:contain;scrollbar-color:#ccb9a4 transparent;scrollbar-width:thin}.fm-theory-panel{padding:28px 30px 34px;outline:none}.fm-theory-panel[hidden]{display:none}.fm-theory-panel>.fm-theory-lead{margin:0 0 26px;font-size:17px;line-height:1.75;color:#675441}.fm-theory-plan-grid{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:36px;align-items:start}.fm-theory-step{display:grid;grid-template-columns:34px minmax(0,1fr);gap:14px;padding:0 0 24px}.fm-theory-step-number{display:inline-block;padding-top:4px;color:#b79a7e;font:500 12px/1.5 Inter,Arial,sans-serif;letter-spacing:.06em}.fm-theory-panel h3{margin:0 0 11px;font:700 23px/1.25 Georgia,serif;color:#302d29}.fm-theory-panel p{font-size:15px;line-height:1.8}.fm-theory-step p{margin:0;color:#6c5947}.fm-theory-checklist{padding:23px 21px;border:1px solid #dfd0bc;border-radius:10px;background:#f4ede2}.fm-theory-checklist>svg{width:28px;height:28px;margin-bottom:14px;fill:none;stroke:#a05a40}.fm-theory-checklist h3{font-size:21px}.fm-theory-checklist ul,.fm-theory-board-notes ul{margin:18px 0 0;padding:0;list-style:none}.fm-theory-checklist li,.fm-theory-board-notes li{position:relative;margin:0 0 14px;padding-left:21px;font-size:14px;line-height:1.6;color:#66513c}.fm-theory-checklist li::before,.fm-theory-board-notes li::before{content:'';position:absolute;top:3px;left:0;width:12px;height:15px;background:#ad7856;mask:url('/local/icons/pawn.svg') center/contain no-repeat}.fm-theory-checklist>p{margin:20px 0 0;padding-top:16px;border-top:1px solid #e0d0bc;font-size:12px;line-height:1.7;color:#96806a}.fm-theory-continuations{margin:5px 0 0 48px;padding:23px 0 0;border-top:1px solid #e1d5c4}.fm-theory-continuations article{margin-top:23px}.fm-theory-panel h4{margin:0 0 9px;font-size:15px;line-height:1.5;font-weight:600;color:#6d4d36}.fm-theory-continuations p{margin:0;color:#6c5947}.fm-theory-tactic-head{margin-bottom:24px;padding:23px 25px;border-left:3px solid #a55b3e;background:#f7f1e8}.fm-theory-tactic-head>span{display:block;margin-bottom:9px;color:#9c593f;font-size:11px;font-weight:500}.fm-theory-tactic-head p{margin:10px 0 0;color:#735c46}.fm-theory-board-grid{display:grid;grid-template-columns:minmax(0,520px) minmax(0,1fr);gap:32px;align-items:start}.fm-theory-content .fm-gate-preview{grid-area:auto;width:100%;max-width:none;margin:0}.fm-theory-content .fm-preview-board{width:100%;height:auto;display:block;aspect-ratio:1}.fm-theory-content .fm-preview-piece svg{width:92px;height:92px}.fm-theory-content figcaption{font-size:11px}.fm-theory-content .fm-preview-controls svg{width:19px;height:19px}.fm-theory-content .fm-preview-moves{max-height:180px;margin-bottom:0}.fm-theory-board-notes{padding-top:33px}.fm-theory-board-notes p{margin:0 0 23px;color:#715b45}.fm-theory-source-link,.fm-theory-game-caption>a,.fm-theory-sources a{display:inline-flex;align-items:center;gap:5px;color:#a0523a;font-size:13px;text-decoration:none;line-height:1.5}.fm-theory-source-link svg,.fm-theory-game-caption>a svg,.fm-theory-sources a svg{width:16px;height:16px;fill:none;stroke:currentColor;flex:none}.fm-theory-source-link:hover,.fm-theory-game-caption>a:hover,.fm-theory-sources a:hover{text-decoration:underline;text-underline-offset:3px}.fm-theory-game-caption{margin:0 0 27px;padding-bottom:22px;border-bottom:1px solid #e4d5c3}.fm-theory-game-caption strong{display:block;font-size:15px;line-height:1.6;overflow-wrap:anywhere}.fm-theory-game-caption>span{display:block;margin:7px 0 15px;color:#9b846d;font-size:12px;line-height:1.6}.fm-theory-panel .fm-theory-small{font-size:12px;line-height:1.7;color:#9a836d}.fm-theory-extra-example{margin-top:36px;padding-top:28px;border-top:1px solid #e4d6c4}.fm-theory-extra-example>p{max-width:820px;color:#735d47;margin-bottom:24px}.fm-theory-sources{margin:0;padding-left:23px}.fm-theory-sources li{margin:0 0 25px;padding-left:10px;color:#b29a80}.fm-theory-sources a{font-size:15px;font-weight:500}.fm-theory-sources li p{margin:6px 0 0;color:#8f7964;font-size:13px}.fm-theory-loading{padding:30px;color:#957c65;font-size:15px;line-height:1.6}.fm-theory-retry{margin:0 30px 30px;padding:10px 18px;border:1px solid #c9aa8a;border-radius:6px;color:#995338;background:#f4eadd;font:inherit;cursor:pointer}.fm-theory-locked{max-width:670px;padding:36px 30px}.fm-theory-locked>svg{width:32px;height:32px;margin-bottom:20px;stroke:#a35a40;fill:none}.fm-theory-locked h3{margin:0;font:700 27px/1.2 Georgia,serif}.fm-theory-locked p{font-size:15px;line-height:1.8;color:#8b735b}.fm-theory-locked .fm-primary{display:inline-flex;align-items:center;gap:12px;margin-top:12px;padding:13px 20px;border-radius:7px;background:#a1553b;color:#fffefa;text-decoration:none}.fm-theory-locked .fm-primary svg{width:18px;height:18px}.fm-theory-dialog :focus-visible,.fm-theory-page :focus-visible{outline:2px solid #bb8e64;outline-offset:4px}.fm-theory-page main{width:min(1080px,calc(100% - 40px));margin:30px auto 60px}.fm-theory-page .fm-back{color:#a1553b;font-size:14px}.fm-theory-page-head{margin:26px 0}.fm-theory-page h1{margin:10px 0;font:700 clamp(30px,4vw,44px)/1.15 Georgia,serif}.fm-theory-page .fm-theory-content{border:1px solid #e0d2c0;border-radius:13px;overflow:hidden;background:#fffefa}
@media(max-width:760px){.fm-theory-dialog{width:calc(100vw - 16px);max-height:95dvh;border-radius:12px}.fm-theory-dialog-head{padding:19px 18px;gap:14px}.fm-theory-dialog-head h2{font-size:26px}.fm-theory-close{width:34px;height:34px;padding:7px}.fm-theory-eyebrow{font-size:9px}.fm-theory-dialog-body{max-height:calc(95dvh - 100px)}.fm-theory-tabs{display:grid;grid-template-columns:1fr 1.3fr 1.2fr 1fr;gap:12px;padding:0 17px}.fm-theory-tabs a{font-size:11px;line-height:1.4;min-height:52px}.fm-theory-dialog .fm-theory-scroll{max-height:calc(95dvh - 155px)}.fm-theory-panel{padding:23px 18px 28px}.fm-theory-plan-grid,.fm-theory-board-grid{grid-template-columns:minmax(0,1fr);gap:24px}.fm-theory-panel .fm-theory-panel>.fm-theory-lead{font-size:16px;line-height:1.75}.fm-theory-step{grid-template-columns:26px minmax(0,1fr);gap:10px;padding-bottom:23px}.fm-theory-panel h3{font-size:22px}.fm-theory-panel p{font-size:14px;line-height:1.8}.fm-theory-checklist{padding:21px}.fm-theory-checklist>p{font-size:12px}.fm-theory-continuations{margin-left:36px}.fm-theory-board-notes{padding-top:0}.fm-theory-content figcaption{font-size:10px}.fm-theory-tactic-head{padding:19px 17px}.fm-theory-sources a{font-size:14px}.fm-theory-sources li p{font-size:12px}.fm-theory-sources{padding-left:16px}.fm-theory-sources li{padding-left:5px}.fm-theory-panel .fm-theory-small{font-size:11px}.fm-theory-page main{width:calc(100% - 24px);margin-top:22px}.fm-theory-locked{padding:25px 20px}.fm-theory-locked h3{font-size:24px}.fm-theory-training{font-size:11px;margin-top:2px}.fm-theory-training svg{width:14px;height:14px}}
.fm-theory-content .fm-preview-annotation{margin:15px 0 0;padding:14px 16px;border-left:2px solid #bb8d63;background:#f6efe4;color:#775a3f;font:13px/1.75 Inter,Arial,sans-serif}.fm-preview-annotation[hidden]{display:none!important}@media(max-width:760px){.fm-theory-tabs a{font-size:12px}.fm-theory-content .fm-preview-annotation{font-size:12px;padding:12px 13px}}
