.cg-wrap{box-sizing:content-box;display:block;position:relative}cg-container{width:100%;height:100%;display:block;position:absolute;top:0}cg-board{-webkit-user-select:none;user-select:none;background-size:cover;width:100%;height:100%;line-height:0;position:absolute;top:0;left:0}.cg-wrap.manipulable cg-board{cursor:pointer}cg-board square{pointer-events:none;width:12.5%;height:12.5%;position:absolute;top:0;left:0}cg-board square.move-dest{pointer-events:auto}cg-board square.last-move{will-change:transform}.cg-wrap piece{z-index:2;will-change:transform;pointer-events:none;background-size:cover;width:12.5%;height:12.5%;position:absolute;top:0;left:0}cg-board piece.dragging{cursor:move;z-index:11!important}piece.anim{z-index:8}piece.fading{z-index:1;opacity:.5}.cg-wrap piece.ghost{opacity:.3}.cg-wrap piece svg{pointer-events:none;z-index:2;opacity:.6;width:100%;height:100%;position:relative;top:0;left:0;overflow:hidden}.cg-wrap cg-auto-pieces,.cg-wrap .cg-shapes,.cg-wrap .cg-custom-svgs{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;overflow:visible}.cg-wrap cg-auto-pieces{z-index:2}.cg-wrap cg-auto-pieces piece{opacity:.3}.cg-wrap .cg-shapes{opacity:.6;z-index:2;overflow:hidden}.cg-wrap .cg-custom-svgs{z-index:9}.cg-wrap .cg-custom-svgs svg{overflow:visible}.cg-wrap coords{pointer-events:none;opacity:.8;font-family:sans-serif;font-size:9px;display:flex;position:absolute}.cg-wrap coords.ranks{flex-flow:column-reverse;width:12px;height:100%;top:-20px;left:4px}.cg-wrap coords.ranks.black{flex-flow:column}.cg-wrap coords.ranks.left{align-items:flex-end;left:-15px}.cg-wrap coords.files{text-transform:uppercase;text-align:center;flex-flow:row;width:100%;height:16px;bottom:-4px;left:24px}.cg-wrap coords.files.black{flex-flow:row-reverse}.cg-wrap coords coord{flex:auto}.cg-wrap coords.ranks coord{transform:translateY(39%)}.cg-wrap coords.squares{text-transform:uppercase;text-align:right;flex-flow:column-reverse;width:12.5%;height:100%;bottom:0;left:0}.cg-wrap coords.squares.black{flex-flow:column}.cg-wrap coords.squares.left{text-align:left}.cg-wrap coords.squares coord{padding:6% 4%}.cg-wrap coords.squares.rank2{transform:translate(100%)}.cg-wrap coords.squares.rank3{transform:translate(200%)}.cg-wrap coords.squares.rank4{transform:translate(300%)}.cg-wrap coords.squares.rank5{transform:translate(400%)}.cg-wrap coords.squares.rank6{transform:translate(500%)}.cg-wrap coords.squares.rank7{transform:translate(600%)}.cg-wrap coords.squares.rank8{transform:translate(700%)}cg-board{background-color:#f0d9b5;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4PSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgogICAgIHZpZXdCb3g9IjAgMCA4IDgiIHNoYXBlLXJlbmRlcmluZz0iY3Jpc3BFZGdlcyI+CjxnIGlkPSJhIj4KICA8ZyBpZD0iYiI+CiAgICA8ZyBpZD0iYyI+CiAgICAgIDxnIGlkPSJkIj4KICAgICAgICA8cmVjdCB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBpZD0iZSIgb3BhY2l0eT0iMCIvPgogICAgICAgIDx1c2UgeD0iMSIgeT0iMSIgaHJlZj0iI2UiIHg6aHJlZj0iI2UiLz4KICAgICAgICA8cmVjdCB5PSIxIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBpZD0iZiIgb3BhY2l0eT0iMC4yIi8+CiAgICAgICAgPHVzZSB4PSIxIiB5PSItMSIgaHJlZj0iI2YiIHg6aHJlZj0iI2YiLz4KICAgICAgPC9nPgogICAgICA8dXNlIHg9IjIiIGhyZWY9IiNkIiB4OmhyZWY9IiNkIi8+CiAgICA8L2c+CiAgICA8dXNlIHg9IjQiIGhyZWY9IiNjIiB4OmhyZWY9IiNjIi8+CiAgPC9nPgogIDx1c2UgeT0iMiIgaHJlZj0iI2IiIHg6aHJlZj0iI2IiLz4KPC9nPgo8dXNlIHk9IjQiIGhyZWY9IiNhIiB4OmhyZWY9IiNhIi8+Cjwvc3ZnPg==)}cg-board square.move-dest{background:radial-gradient(#14551e80 22%,#208530 0,#0000004d 0,#0000 0)}cg-board square.premove-dest{background:radial-gradient(#141e5580 22%,#203085 0,#0000004d 0,#0000 0)}cg-board square.oc.move-dest{background:radial-gradient(#0000 0% 80%,#1455004d 80%)}cg-board square.oc.premove-dest{background:radial-gradient(#0000 0% 80%,#141e5533 80%)}cg-board square.move-dest:hover{background:#14551e4d}cg-board square.premove-dest:hover{background:#141e5533}cg-board square.last-move{background-color:#9bc70069}cg-board square.selected{background-color:#14551e80}cg-board square.check{background:radial-gradient(red 0%,#e70000 25%,#a9000000 89%,#9e000000 100%)}cg-board square.current-premove{background-color:#141e5580}.orientation-white .ranks :nth-child(odd),.orientation-white .files :nth-child(2n),.orientation-black .ranks :nth-child(2n),.orientation-black .files :nth-child(odd),coords.squares:nth-of-type(odd) :nth-child(2n),coords.squares:nth-of-type(2n) :nth-child(odd){color:#484848cc}.orientation-white .ranks :nth-child(2n),.orientation-white .files :nth-child(odd),.orientation-black .ranks :nth-child(odd),.orientation-black .files :nth-child(2n),coords.squares:nth-of-type(odd) :nth-child(odd),coords.squares:nth-of-type(2n) :nth-child(2n){color:#fffc}.cg-wrap piece.pawn.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PHBhdGggZD0iTTIyLjUgOWMtMi4yMSAwLTQgMS43OS00IDQgMCAuODkuMjkgMS43MS43OCAyLjM4QzE3LjMzIDE2LjUgMTYgMTguNTkgMTYgMjFjMCAyLjAzLjk0IDMuODQgMi40MSA1LjAzLTMgMS4wNi03LjQxIDUuNTUtNy40MSAxMy40N2gyM2MwLTcuOTItNC40MS0xMi40MS03LjQxLTEzLjQ3IDEu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LjUgMCAxIDEgNSAweiIvPjwvZz48cGF0aCBkPSJNMTcuNSAyNmgxME0xNSAzMGgxNW0tNy41LTE0LjV2NU0yMCAxOGg1IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PC9nPjwvc3ZnPg==)}.cg-wrap piece.knight.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0yMiAxMGMxMC41IDEgMTYuNSA4IDE2IDI5SDE1YzAtOSAxMC02LjUgOC0yMSIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0yNCAxOGMuMzggMi45MS01LjU1IDcuMzctOCA5LTMgMi0yLjgyIDQuMzQtNSA0LTEuMDQyLS45NCAxLjQxLTMuMDQgMC0zLTEgMCAuMTkgMS4yMy0xIDItMSAwLTQuMDAzIDEtNC00IDAtMiA2LTEyIDYtMTJzMS44OS0xLjkgMi0zLjVjLS43My0uOTk0LS41LTItLjUtMyAxLTEgMyAyLjUgMyAyLjVoMnMuNzgtMS45OTIgMi41LTNjMSAwIDEgMyAxIDMiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNOS41IDI1LjVhLjUuNSAwIDEgMS0xIDAgLjUuNSAwIDEgMSAxIDB6bTUuNDMzLTkuNzVhLjUgMS41IDMwIDEgMS0uODY2LS41LjUgMS41IDMwIDEgMSAuODY2LjV6IiBmaWxsPSIjMDAwIi8+PC9nPjwvc3ZnPg==)}.cg-wrap piece.rook.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciI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gZmlsbD0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiIHN0cm9rZS1saW5lam9pbj0ibWl0ZXIiLz48cGF0aCBkPSJNMTEuNSAzN2M1LjUgMy41IDE1LjUgMy41IDIxIDB2LTdzOS00LjUgNi0xMC41Yy00LTYuNS0xMy41LTMuNS0xNiA0VjI3di0zLjVjLTMuNS03LjUtMTMtMTAuNS0xNi00LTMgNiA1IDEwIDUgMTBWMzd6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTExLjUgMzBjNS41LTMgMTUuNS0zIDIxIDBtLTIxIDMuNWM1LjUtMyAxNS41LTMgMjEgMG0tMjEgMy41YzUuNS0zIDE1LjUtMyAyMSAwIi8+PC9nPjwvc3ZnPg==)}.cg-wrap piece.pawn.black{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PHBhdGggZD0iTTIyLjUgOWMtMi4yMSAwLTQgMS43OS00IDQgMCAuODkuMjkgMS43MS43OCAyLjM4QzE3LjMzIDE2LjUgMTYgMTguNTkgMTYgMjFjMCAyLjAzLjk0IDMuODQgMi40MSA1LjAzLTMgMS4wNi03LjQxIDUuNTUtNy40MSAxMy40N2gyM2MwLTcuOTItNC40MS0xMi40MS03LjQxLTEzLjQ3IDEuNDctMS4xOSAyLjQxLTMgMi40MS01LjAzIDAtMi40MS0xLjMzLTQuNS0zLjI4LTUuNjIuNDktLjY3Ljc4LTEuNDkuNzgtMi4zOCAwLTIuMjEtMS43OS00LTQtNHoiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==)}.cg-wrap piece.bishop.black{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0N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ldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0yMi41IDExLjYzVjYiIHN0cm9rZS1saW5lam9pbj0ibWl0ZXIiLz48cGF0aCBkPSJNMjIuNSAyNXM0LjUtNy41IDMtMTAuNWMwIDAtMS0yLjUtMy0yLjVzLTMgMi41LTMgMi41Yy0xLjUgMyAzIDEwLjUgMyAxMC41IiBmaWxsPSIjMDAwIiBzdHJva2UtbGluZWNhcD0iYnV0dCIgc3Ryb2tlLWxpbmVqb2luPSJtaXRlciIvPjxwYXRoIGQ9Ik0xMS41IDM3YzUuNSAzLjUgMTUuNSAzLjUgMjEgMHYtN3M5LTQuNSA2LTEwLjVjLTQtNi41LTEzLjUtMy41LTE2IDRWMjd2LTMuNWMtMy41LTcuNS0xMy0xMC41LTE2LTQtMyA2IDUgMTAgNSAxMFYzN3oiIGZpbGw9IiMwMDAiLz48cGF0aCBkPSJNMjAgOGg1IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PHBhdGggZD0iTTMyIDI5LjVzOC41LTQgNi4wMy05LjY1QzM0LjE1IDE0IDI1IDE4IDIyLjUgMjQuNWwuMDEgMi4xLS4wMS0yLjFDMjAgMTggOS45MDYgMTQgNi45OTcgMTkuODVjLTIuNDk3IDUuNjUgNC44NTMgOSA0Ljg1MyA5IiBzdHJva2U9IiNlY2VjZWMiLz48cGF0aCBkPSJNMTEuNSAzMGM1LjUtMyAxNS41LTMgMjEgMG0tMjEgMy41YzUuNS0zIDE1LjUtMyAyMSAwbS0yMSAzLjVjNS41LTMgMTUuNS0zIDIxIDAiIHN0cm9rZT0iI2VjZWNlYyIvPjwvZz48L3N2Zz4=)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-serif:ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.shrink{flex-shrink:1}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.border{border-style:var(--tw-border-style);border-width:1px}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--font-sans:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-serif:"Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--fs-micro:13px;--fs-small:14px;--fs-body:16px;--fs-lead:17px;--fs-title:20px;--fs-h2:26px;--fs-h1:32px;--fs-display:clamp(34px, 5.6vw, 52px);--bg:#191715;--bg-deep:#131110;--surface:#221f1c;--surface-2:#2a2622;--surface-3:#332e29;--border:#3a342e;--border-strong:#4d453d;--text:#f3ece2;--text-2:#c6bdb1;--text-3:#9b9288;--accent:#a9cc72;--accent-hi:#bcdc86;--accent-ink:#1c2113;--accent-soft:#a9cc7221;--accent-line:#a9cc7257;--q-brilliant:#35c9d4;--q-only:#8aa8c9;--q-best:#a9cc72;--q-excellent:#7fbf8a;--q-good:#9aa392;--q-inaccuracy:#e2bc5c;--q-mistake:#e4914f;--q-blunder:#e2705f;--move-white:#4a4038;--move-black:#1e1b18;--board-light:#ecdfc9;--board-dark:#a38362;--board-mark:#e2bc5c80;--radius-sm:8px;--radius:12px;--radius-lg:18px;--shadow-panel:0 18px 50px #00000057;--shadow-lift:0 8px 24px #00000042;font-size:16px;font-family:var(--font-sans);color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility}*{box-sizing:border-box}html{background:var(--bg);min-width:320px}body{min-width:320px;min-height:100vh;font-size:var(--fs-body);background:var(--bg);margin:0;line-height:1.55}button,input,textarea,select{font:inherit}button{color:inherit}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}.eyebrow,.section-label,.error-code{font-size:var(--fs-micro);letter-spacing:.06em;text-transform:uppercase;color:var(--text-3);font-weight:700;display:block}.eyebrow{color:var(--accent)}.app-shell{flex-direction:column;min-height:100vh;display:flex}.site-header{border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:10;background:#191715db;align-items:center;gap:20px;min-height:66px;padding:0 clamp(16px,3.5vw,48px);display:flex;position:sticky;top:0}.brand{color:var(--text);font-size:var(--fs-title);letter-spacing:.01em;align-items:center;gap:11px;min-height:44px;font-weight:500;text-decoration:none;display:inline-flex}.brand strong{color:var(--accent);font-weight:700}.brand-logo{object-fit:contain;flex:none;width:34px;height:34px}.brand-mark{background:var(--accent);clip-path:polygon(0 0,27% 0,27% 22%,43% 22%,43% 0,58% 0,58% 22%,74% 22%,74% 0,100% 0,88% 88%,50% 100%,12% 88%);border-radius:5px 5px 8px 8px;width:26px;height:29px;display:inline-block;position:relative}.brand-mark i{background:var(--accent-ink);border-radius:50%;width:3px;height:3px;position:absolute;top:11px}.brand-mark i:first-child{left:6px}.brand-mark i:nth-child(2){left:11px}.brand-mark i:nth-child(3){right:6px}.header-tagline{color:var(--text-3);font-size:var(--fs-small);border-left:1px solid var(--border);white-space:nowrap;padding-left:20px}.header-tagline b{color:var(--accent);font-family:var(--font-mono);font-weight:700}.header-sandbox-link{border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-2);font-size:var(--fs-small);margin-left:auto;padding:8px 12px;font-weight:600;text-decoration:none}.header-sandbox-link:hover,.header-sandbox-link[aria-current=page]{border-color:var(--border-strong);background:var(--surface-2);color:var(--text)}footer{border-top:1px solid var(--border);color:var(--text-3);font-size:var(--fs-small);flex-direction:column;gap:14px;padding:20px clamp(16px,3.5vw,48px) 14px;display:flex}.footer-columns{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px 32px;display:grid}.footer-columns>*{flex-direction:column;gap:3px;display:flex}.footer-baseline{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;gap:6px 18px;padding-top:10px;display:flex}footer a{min-height:32px;color:var(--text-2);align-items:center;text-decoration:none;display:flex}footer a:hover{color:var(--text);text-decoration:underline}.primary-button,.secondary-button,.ghost-button{border-radius:var(--radius-sm);min-height:46px;font-size:var(--fs-body);cursor:pointer;white-space:nowrap;border:0;justify-content:center;align-items:center;gap:8px;padding:0 20px;font-weight:600;transition:background-color .15s,border-color .15s,color .15s,transform .15s;display:inline-flex}.primary-button{background:var(--accent);color:var(--accent-ink)}.primary-button:hover{background:var(--accent-hi);transform:translateY(-1px)}.primary-button:disabled{opacity:.55;cursor:progress;transform:none}.secondary-button{border:1px solid var(--border-strong);background:var(--surface-2);color:var(--text-2)}.secondary-button:hover{background:var(--surface-3);color:var(--text)}.secondary-button:disabled{opacity:.5;cursor:default}.secondary-button:disabled:hover{background:var(--surface-2);color:var(--text-2)}.ghost-button{border:1px solid var(--border);min-height:38px;color:var(--text-2);font-size:var(--fs-small);background:0 0;padding:0 14px}.ghost-button:hover{background:var(--surface-2);color:var(--text)}.full{width:100%}.primary-button svg,.secondary-button svg,.ghost-button svg{width:18px;height:18px}label{color:var(--text-2);font-size:var(--fs-small);font-weight:600;display:block}input,textarea{border:1px solid var(--border-strong);background:var(--bg-deep);width:100%;color:var(--text);border-radius:var(--radius-sm);font-size:var(--fs-body);padding:12px 14px;transition:border-color .15s,box-shadow .15s}input::placeholder,textarea::placeholder{color:var(--text-3);opacity:.75}input:focus,textarea:focus{border-color:var(--accent-line);box-shadow:0 0 0 3px var(--accent-soft);outline:0}input:focus-visible{border-color:var(--accent);box-shadow:none}textarea:focus-visible{border-color:var(--accent);box-shadow:0 0 0 2px var(--bg-deep), 0 0 0 4px var(--accent)}textarea{resize:vertical;line-height:1.6;font-family:var(--font-mono);font-size:var(--fs-small)}.field-help{color:var(--text-3);font-size:var(--fs-small);margin:2px 0 0}.sample-cta{color:var(--text-3);font-size:var(--fs-small);text-align:center;margin:14px 0 0}.sample-preview{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-deep);width:100%;color:var(--text-2);text-align:left;cursor:pointer;flex-direction:column;margin-top:18px;padding:0;transition:border-color .12s,background-color .12s;display:flex;overflow:hidden}.sample-preview:hover{border-color:var(--accent-line);background:var(--surface-2)}.sample-preview-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;width:100%;padding:12px 14px;display:flex}.sample-preview-head>span{align-items:baseline;gap:9px;display:flex}.sample-preview-head b{color:var(--accent);font-size:var(--fs-micro);letter-spacing:.06em;text-transform:uppercase}.sample-preview-head small{color:var(--text-3);font-size:var(--fs-micro)}.sample-preview-head>strong{color:var(--text);font-size:var(--fs-small);white-space:nowrap}.sample-preview-head>strong i{color:var(--accent);margin-left:3px;font-style:normal}.sample-preview-matchup{grid-template-columns:minmax(0,1fr) auto minmax(0,1.35fr);align-items:center;gap:14px;width:100%;padding:14px;display:grid}.sample-player{align-items:center;gap:10px;min-width:0;display:flex}.sample-player>i{border-radius:var(--radius-sm);color:#302923;width:34px;height:34px;font-size:var(--fs-micro);background:#eee4d5;border:1px solid #d8cbb9;flex:none;place-items:center;font-style:normal;font-weight:800;display:grid}.sample-player-black>i{border-color:var(--border-strong);background:var(--surface-3);color:var(--text)}.sample-player>span{flex-direction:column;gap:2px;min-width:0;display:flex}.sample-player strong{color:var(--text);font-size:var(--fs-small);line-height:1.25}.sample-player small{color:var(--text-3);font-size:12px;line-height:1.3}.sample-score{color:var(--text);font-family:var(--font-serif);white-space:nowrap;font-size:22px;font-weight:400}.sample-preview-result{border-top:1px solid var(--border);background:var(--surface);width:100%;color:var(--text-3);font-size:var(--fs-micro);flex-wrap:wrap;gap:8px 18px;padding:10px 14px;display:flex}.sample-preview-result b{color:var(--accent)}.sample-preview-result .brilliant b{color:var(--q-brilliant)}.share-nudge{border-top:1px solid var(--border);color:var(--text-3);font-size:var(--fs-small);margin:0;padding:10px 16px}.share-review{border-top:1px solid var(--border);padding:14px 16px 12px}.share-card-frame{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-deep);line-height:0;overflow:hidden}.share-card-canvas{width:100%;height:auto;display:block}.share-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.share-actions .ghost-button{flex:auto;justify-content:center}.share-note{color:var(--text-3);font-size:var(--fs-small);margin:9px 0 0}.share-note.is-error{color:var(--q-blunder)}.rv-hint{border:1px solid var(--accent-line);border-radius:var(--radius-sm);background:var(--accent-soft);flex-wrap:wrap;align-items:flex-end;gap:10px 14px;margin-top:14px;padding:12px 14px;display:flex}.rv-hint-body{flex:220px;min-width:0}.rv-hint-lead{color:var(--text);font-size:var(--fs-small);margin:0 0 7px;font-weight:600}.rv-hint-swap{font-family:var(--font-mono);font-size:var(--fs-micro);overflow-wrap:anywhere;flex-direction:column;gap:2px;margin:0 0 7px;display:flex}.rv-hint-was{color:var(--text-3);text-decoration:line-through}.rv-hint-now{color:var(--text)}.rv-hint-now b{color:var(--accent);font-weight:700}.rv-hint-note{color:var(--text-2);font-size:var(--fs-micro);margin:0}.rv-hint-note b{color:var(--accent)}.rv-hint-close{border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text-2);font:inherit;font-size:var(--fs-micro);cursor:pointer;background:0 0;flex:none;padding:6px 12px}.rv-hint-close:hover{background:var(--surface-2);color:var(--text)}.feedback-panel{border-top:1px solid var(--border);font-size:var(--fs-small);margin-top:14px;padding-top:12px}.footer-columns .feedback-panel{border-top:0;margin-top:2px;padding-top:0}.feedback-ask,.feedback-form-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.feedback-ask{color:var(--text-2);flex-wrap:wrap}.feedback-thumbs{align-items:center;gap:8px;margin-left:auto;display:flex}.feedback-form-head{color:var(--text);margin-bottom:4px;font-weight:600}.feedback-close{color:var(--text-3);font:inherit;font-size:var(--fs-micro);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.feedback-close:hover{color:var(--text)}.feedback-open{color:var(--text-2);font:inherit;text-align:left;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.feedback-open:hover{color:var(--text)}.feedback-form{flex-direction:column;gap:6px;display:flex}.feedback-form label{color:var(--text-2);font-size:var(--fs-micro)}.feedback-form textarea,.feedback-form input{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-deep);color:var(--text);font:inherit;font-size:var(--fs-small);padding:9px 11px}.feedback-form textarea{resize:vertical;min-height:76px}.feedback-form textarea:focus-visible,.feedback-form input:focus-visible{border-color:var(--accent-line);outline:none}.feedback-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:2px;display:flex}.feedback-note{color:var(--text-3);font-size:var(--fs-micro);margin:0}.feedback-note.is-error{color:var(--q-blunder)}.feedback-thanks{color:var(--accent);font-size:var(--fs-small);margin:0}.inline-error,.global-message{color:#f5b9ae;border-radius:var(--radius-sm);font-size:var(--fs-small);background:#8c342829;border:1px solid #e2705f52;margin-top:14px;padding:12px 14px;line-height:1.5}.global-message{width:min(760px,100%)}.panel-message{width:auto;margin:0 18px 18px}.app-body-layout{flex:1;grid-template-columns:304px minmax(0,1fr);align-items:stretch;min-width:0;display:grid;position:relative}.app-body-layout.rail-collapsed{grid-template-columns:minmax(0,1fr)}.app-body-layout.rail-collapsed .app-sidebar,.sidebar-backdrop{display:none}.rail-toggle{border-radius:var(--radius-sm);width:36px;height:36px;color:var(--text-3);cursor:pointer;background:0 0;border:1px solid #0000;flex:none;place-items:center;margin-left:-6px;transition:color .15s,border-color .15s,background-color .15s;display:inline-grid}.rail-toggle:hover{color:var(--text);border-color:var(--border);background:var(--surface-2)}.rail-toggle svg{width:18px;height:18px}.landing-layout{min-width:0}.landing-main{flex-direction:column;justify-content:center;align-items:center;gap:28px;min-width:0;min-height:calc(100dvh - 66px);padding:clamp(32px,6vh,64px) 20px 56px;display:flex}.app-sidebar{border-right:1px solid var(--border);background:var(--bg-deep);flex-direction:column;align-self:start;gap:22px;height:calc(100dvh - 66px);padding:22px 18px 28px;display:flex;position:sticky;top:66px;overflow-y:auto}.sidebar-heading{color:var(--text-3);font-size:var(--fs-micro);letter-spacing:.06em;text-transform:uppercase;font-weight:600;display:block}.sidebar-section{border-top:1px solid var(--border);flex-direction:column;gap:9px;padding-top:20px;display:flex}.sidebar-section a{color:var(--text-2);font-size:var(--fs-small);align-items:center;min-height:44px;padding:5px 0;line-height:1.35;text-decoration:none;display:flex}.sidebar-section a:hover{color:var(--text)}.sidebar-guides a{text-underline-offset:3px;min-height:32px;padding:2px 0;text-decoration-line:underline;text-decoration-color:#c6bdb161;text-decoration-thickness:1px}.sidebar-guides a:hover{text-decoration-color:#f3ece2a6}.app-sidebar .history-panel{background:0 0;border:0;border-radius:0;flex-direction:column;gap:12px;width:auto;padding:0;display:flex}.app-sidebar .history-head{margin-bottom:0}.app-sidebar .profile-card{padding:12px}.app-sidebar .phase-row{grid-template-columns:minmax(0,6rem) 1fr 1.25rem;gap:8px}.app-sidebar .history-list{max-height:320px;overflow-y:auto}.app-sidebar .history-list-label{margin:0}.app-sidebar .history-panel+.sidebar-section{margin-top:auto}.app-sidebar .history-clear{padding:0 2px;text-decoration:none}.import-panel{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);width:min(720px,100%);box-shadow:var(--shadow-panel);padding:clamp(26px,4vw,44px);position:relative}.import-panel.compact{width:100%;box-shadow:none;background:0 0;border:0;border-radius:0;padding:22px 0 0}.import-intro{text-align:center;margin-bottom:26px}.import-intro .eyebrow{margin-bottom:10px}.import-intro h1{font-family:var(--font-serif);font-size:var(--fs-display);letter-spacing:-.02em;margin:0 0 10px;font-weight:400;line-height:1.05}.import-intro p{color:var(--text-2);max-width:480px;font-size:var(--fs-lead);margin:0 auto;line-height:1.6}.import-intro strong{color:var(--text);font-weight:600}.import-intro .url-trick{max-width:none;font-size:var(--fs-body);flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 10px;margin:12px 0 0;display:flex}.url-trick code{font-family:var(--font-mono);color:var(--text-3);white-space:nowrap;font-size:.9em}.url-trick code:last-of-type{color:var(--text)}.url-trick-arrow{color:var(--accent)}.url-trick mark{background:var(--accent);color:var(--accent-ink);border-radius:3px;padding:1px 3px;font-weight:700}.import-tabs{border:0;border-bottom:1px solid var(--border);background:0 0;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:22px;padding:0;display:grid}.import-tabs button{border-radius:var(--radius-sm);min-height:44px;color:var(--text-3);font-size:var(--fs-body);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:8px;font-weight:600;transition:background-color .15s,color .15s;display:flex}.import-tabs button:hover{color:var(--text-2)}.import-tabs button{border-bottom:2px solid #0000;border-radius:0;margin-bottom:-1px}.import-tabs button.active{color:var(--text);border-bottom-color:var(--accent);background:0 0}.import-tabs svg{width:18px;height:18px}.import-form{flex-direction:column;gap:10px;display:flex}.input-action-row{gap:10px;display:flex}.import-form>.primary-button{margin-top:4px}.recent-games{flex-direction:column;gap:6px;max-height:320px;margin-top:18px;display:flex;overflow-y:auto}.recent-games>.section-label{padding:2px 2px 4px}.recent-game{text-align:left;border:1px solid var(--border);background:var(--bg-deep);border-radius:var(--radius-sm);cursor:pointer;color:var(--text-2);grid-template-columns:46px 1fr auto;align-items:center;gap:14px;padding:11px 13px;display:grid}.recent-game:hover{border-color:var(--accent-line);background:var(--surface-2)}.recent-result{color:var(--accent);font-weight:700;font-size:var(--fs-body)}.recent-players{font-size:var(--fs-body);color:var(--text)}.recent-players span{color:var(--text-3);font-size:var(--fs-small)}.recent-players em{color:var(--text-3);margin:0 6px;font-style:normal}.recent-meta{color:var(--text-3);font-size:var(--fs-small);text-transform:capitalize}.assurances{color:var(--text-3);font-size:var(--fs-small);flex-wrap:wrap;justify-content:center;gap:10px 26px;display:flex}.assurances span{align-items:center;gap:8px;display:inline-flex}.assurances svg{width:16px;height:16px;color:var(--accent)}.extension-note{color:var(--text-3);font-size:var(--fs-small);text-align:center;margin:-14px 0 -8px}.extension-note a{color:var(--accent);text-underline-offset:2px;text-decoration:underline}.extension-note a:hover{color:var(--text)}.game-opening{border-bottom:1px solid var(--border);color:var(--text-2);font-size:var(--fs-small);margin:0;padding:10px 20px;line-height:1.4}.game-opening span{color:var(--text-3)}.landing-notes{border-top:1px solid var(--border);gap:34px;width:min(940px,100%);margin-top:20px;padding-top:34px;display:grid}.landing-notes-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:26px;display:grid}.landing-notes h2{font:500 var(--fs-title) / 1.3 var(--font-sans);color:var(--text);margin:0 0 8px}.landing-notes a{color:var(--accent);text-underline-offset:2px;text-decoration:underline}.landing-notes a:hover{color:var(--text)}.landing-notes p{color:var(--text-2);font-size:var(--fs-body);margin:0;line-height:1.65}.landing-notes strong{color:var(--text);font-weight:600}.landing-faq{gap:8px;display:grid}.landing-faq details{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:0 16px}.landing-faq summary{cursor:pointer;font-size:var(--fs-body);padding:13px 0;font-weight:500;list-style-position:inside}.landing-faq summary::marker{color:var(--accent)}.landing-faq details[open] p{padding:0 0 14px}.loading-card{text-align:center}.loading-knight{color:var(--accent);font-size:56px;animation:1.9s ease-in-out infinite float}.loading-card h1{font-family:var(--font-serif);font-weight:400;font-size:var(--fs-h1);margin:8px 0 10px}.loading-card p{color:var(--text-2);margin:0}@keyframes float{50%{transform:translateY(-7px)rotate(-3deg)}}.error-and-import{gap:16px;width:min(760px,100%);display:grid}.route-error-card{border-radius:var(--radius-lg);background:var(--surface);border:1px solid #e2705f47;padding:26px}.route-error-card .error-code{color:var(--q-blunder)}.route-error-card h1{font:400 var(--fs-h2) / 1.25 var(--font-serif);margin:10px 0}.route-error-card p{color:var(--text-2);font-size:var(--fs-body);margin:0}.route-error-card form{flex-direction:column;gap:10px;margin-top:20px;display:flex}.review-layout{flex:1;grid-template-columns:minmax(420px,min(760px,100dvh - 300px)) minmax(400px,620px);justify-content:center;align-items:start;gap:clamp(20px,3vw,42px);width:min(1680px,100% - 40px);margin:0 auto;padding:28px 0 40px;display:grid}.mobile-move-focus{display:none}.board-column{flex-direction:column;gap:10px;min-width:0;display:flex}.player-trailing{margin-left:auto;margin-right:-2px}.board-brand{color:var(--text-2);letter-spacing:.01em;pointer-events:none;align-items:center;gap:9px;font-size:17px;font-weight:500;display:flex}.board-brand img{object-fit:contain;flex:none;width:28px;height:28px}.board-brand strong{color:var(--accent);font-weight:700}.board-and-eval{grid-template-columns:36px minmax(0,1fr);align-items:stretch;gap:10px;display:grid}.board-surface{aspect-ratio:1;border-radius:var(--radius-sm);width:100%;box-shadow:var(--shadow-panel);overflow:hidden}.board-surface cg-board{background-color:var(--board-light);background-image:conic-gradient(var(--board-dark) 25%, var(--board-light) 0 50%, var(--board-dark) 0 75%, var(--board-light) 0);background-size:25% 25%}.board-surface cg-board square.last-move{background-color:var(--board-mark)}.board-surface cg-board square.selected{background-color:#e2bc5c57}.board-surface cg-board square.check{background:radial-gradient(#e2705feb 0%,#c43e2ecc 28%,#96221800 74% 100%)}.board-surface.is-checkmate cg-board square.check{background:radial-gradient(#d64e3cfa 0%,#a8281cf0 46%,#781810b8 82%,#78181099 100%);box-shadow:inset 0 0 0 3px #ffe2da80}.board-surface.cg-wrap cg-board{cursor:default}.board-surface.is-interactive.is-white-turn piece.white,.board-surface.is-interactive.is-black-turn piece.black,.board-surface.is-interactive.is-free piece{pointer-events:auto;cursor:grab}.board-surface.is-interactive cg-board square.move-dest{cursor:pointer}.board-surface coords coord{color:var(--board-light);text-shadow:0 0 2px #000000d9;opacity:1;font-size:10px;font-weight:700}.eval-bar{background:var(--surface-2);border-radius:var(--radius-sm);border:1px solid var(--border);flex-direction:column;display:flex;position:relative;overflow:hidden}.eval-black{background:#2b2621;transition:height .25s}.eval-white{background:#efe7da;transition:height .25s}.eval-bar span{text-align:center;font-size:var(--fs-micro);letter-spacing:-.02em;font-weight:700;position:absolute;left:0;right:0}.eval-bar span.at-bottom{bottom:8px}.eval-bar span.at-top{top:8px}.eval-bar span.on-white{color:#221f1c}.eval-bar span.on-black{color:var(--text)}.eval-bar.is-idle{opacity:.35}.eval-bar.is-idle span{display:none}.player-card{align-items:center;gap:12px;min-height:52px;padding:0 2px;display:flex}.player-token{border-radius:var(--radius-sm);width:38px;height:38px;font-size:var(--fs-lead);flex:none;place-items:center;font-weight:700;display:grid}.player-token.white{color:#221f1c;background:#e8e0d2}.player-token.black{color:var(--text);border:1px solid var(--border-strong);background:#3d3831}.player-identity{flex-direction:column;min-width:0;line-height:1.35;display:flex}.player-identity strong{font-size:var(--fs-lead);white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.player-identity span{color:var(--text-3);font-size:var(--fs-small)}.board-controls{grid-template-columns:46px 46px 1fr 46px 46px 46px;margin-left:46px;display:grid}.board-controls.has-play{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);grid-template-columns:46px 46px 46px 1fr 46px 46px 46px;min-height:46px;overflow:hidden}.board-controls.has-share{grid-template-columns:40px 40px 1fr 40px 40px 40px 40px}.board-controls.has-play.has-share{grid-template-columns:40px 40px 40px 1fr 40px 40px 40px 40px;overflow:visible}.board-controls.has-play.has-share>:first-child{border-start-start-radius:var(--radius-sm);border-end-start-radius:var(--radius-sm)}.board-controls.has-play.has-share>:last-child .share-menu-trigger{border-start-end-radius:var(--radius-sm);border-end-end-radius:var(--radius-sm)}.board-controls button{border:0;border-right:1px solid var(--border);cursor:pointer;color:var(--text-2);background:0 0;place-items:center;transition:background-color .15s,color .15s;display:grid}.board-controls button:hover{background:var(--surface-3);color:var(--text)}.board-controls button:disabled{color:var(--text-3);opacity:.4;cursor:default;background:0 0}.board-controls svg{width:18px;height:18px}.board-controls .current-move{text-align:center;color:var(--text);font-size:var(--fs-body);text-overflow:ellipsis;white-space:nowrap;align-self:center;padding:0 10px;font-weight:600;display:block;overflow:hidden}.board-controls .current-move i{color:var(--text-3);margin-inline:3px;font-style:normal;font-weight:400}.board-controls .flip-button:last-child{border-right:0}.board-controls .share-menu{display:grid}.board-controls .share-menu-trigger{border-right:0}.share-menu{display:inline-grid;position:relative}.share-menu-trigger.is-icon{border:0;border-right:1px solid var(--border);cursor:pointer;color:var(--text-2);background:0 0;place-items:center;transition:background-color .15s,color .15s;display:grid}.share-menu-trigger.is-icon:hover,.share-menu-trigger.is-icon[aria-expanded=true]{background:var(--surface-3);color:var(--text)}.share-menu-panel{z-index:40;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-2);min-width:268px;max-width:calc(100vw - 20px);padding:5px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 16px 34px #0000006b}.share-menu-panel.is-left{left:0;right:auto}.board-controls .share-menu-panel{top:auto;bottom:calc(100% + 6px)}.share-menu-panel button{color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-items:start;gap:2px;padding:8px 10px;display:grid}.share-menu-panel button:hover,.share-menu-panel button:focus-visible{background:var(--surface-3)}.share-menu-panel button[aria-disabled=true]{cursor:default}.share-menu-progress{font-variant-numeric:tabular-nums;color:var(--text-2);font-size:11px;font-weight:600}.share-menu-label{font-size:var(--fs-body);font-variant-numeric:tabular-nums;font-weight:600}.share-menu-detail{color:var(--text-3);font-size:var(--fs-micro);font-weight:400}.share-menu-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.explorer-controls{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);grid-template-columns:auto 1fr auto auto;min-height:46px;margin-left:46px;display:grid;overflow:hidden}.explorer-controls button{border:0;border-right:1px solid var(--border);color:var(--text-2);font:inherit;font-size:var(--fs-small);cursor:pointer;background:0 0;padding:0 14px}.explorer-controls button:hover{background:var(--surface-3);color:var(--text)}.explorer-controls button:disabled{opacity:.4;cursor:default}.explorer-controls button.done{background:var(--surface-2);color:var(--accent);border-right:0;font-weight:700}.explorer-controls>span,.explorer-controls>.sandbox-turn{min-width:0;color:var(--text);font-size:var(--fs-small);text-overflow:ellipsis;white-space:nowrap;place-items:center;padding:0 10px;font-weight:600;display:grid;overflow:hidden}.explorer-controls>.sandbox-turn{grid-template-columns:auto auto;justify-content:center;gap:9px}.sandbox-turn>span{color:var(--text-3);font-size:var(--fs-micro);letter-spacing:.04em;text-transform:uppercase;font-weight:700}.sandbox-turn select{border-color:var(--border);background-color:var(--surface-2);width:auto;min-height:30px;color:var(--text-2);font-size:var(--fs-micro);padding:3px 28px 3px 8px}.board-legend{flex-wrap:wrap;align-items:center;gap:6px 18px;margin-left:46px;display:flex}.board-tools{gap:6px;margin-left:auto;display:flex}.board-tools button{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-height:30px;color:var(--text-2);font:inherit;font-size:var(--fs-micro);cursor:pointer;padding:4px 9px}.board-tools button:hover{border-color:var(--accent-line);color:var(--accent)}.board-tools button[aria-pressed=false]{color:var(--text-3)}.legend-arrow{color:var(--text-2);font-size:var(--fs-small);align-items:center;gap:8px;display:inline-flex}.legend-arrow i{border-top:3px solid var(--q-only);flex:none;width:22px;height:0;position:relative}.legend-arrow i:after{content:"";border:4px solid #0000;border-left-color:var(--q-only);position:absolute;top:-4px;right:-1px}.board-hint{color:var(--text-3);font-size:var(--fs-small);flex-wrap:wrap;align-items:center;gap:6px;margin:0;display:flex}.touch-only{display:none}@media (hover:none),(pointer:coarse){.board-hint:not(.touch-only){display:none}.touch-only{display:flex}}kbd{font:600 var(--fs-micro) / 1 var(--font-sans);border:1px solid var(--border-strong);background:var(--surface-2);color:var(--text-2);border-bottom-width:2px;border-radius:5px;padding:4px 6px}.live-suggestions{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);margin-left:46px;padding:14px 16px}.sandbox-entry{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:min(720px,100%);color:var(--text);justify-content:space-between;align-items:center;gap:18px;margin:0 auto 22px;padding:13px 16px;text-decoration:none;display:flex}.sandbox-entry:hover{border-color:var(--accent-line);background:var(--accent-soft)}.sandbox-entry span{font-weight:700}.sandbox-entry small{color:var(--text-3)}.sandbox-page{width:min(1680px,100% - 40px);margin:0 auto;padding:28px 0 40px}.sandbox-page-head{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:22px;display:flex}.sandbox-page-head h1{color:var(--text);font:600 var(--fs-display)/1.08 var(--font-serif);margin:4px 0 6px}.sandbox-page-head>a{color:var(--text-2);font-size:var(--fs-small)}.play-mode-intro{max-width:42rem;color:var(--text-2);font-size:var(--fs-small);margin:0;line-height:1.45}.play-mode-index{margin-top:28px}.play-mode-index h2{color:var(--text);font:600 var(--fs-small)/1.3 var(--font-sans);margin:0 0 12px}.play-mode-index ul{grid-template-columns:repeat(auto-fill,minmax(16rem,1fr));gap:8px 24px;margin:0;padding:0;list-style:none;display:grid}.play-mode-index a{color:var(--accent)}.sandbox-standfirst{max-width:62ch;color:var(--text-2);font-size:var(--fs-body);margin:0;line-height:1.6}.sandbox-notes{width:100%;margin-top:40px}.sandbox-workspace{grid-template-columns:minmax(420px,min(760px,100dvh - 300px)) minmax(400px,620px);justify-content:center;align-items:start;gap:clamp(20px,3vw,42px);display:grid}.sandbox-board-column .board-and-eval{margin:0}.sandbox-board-column.without-eval .board-and-eval{grid-template-columns:minmax(0,1fr)}.sandbox-panel{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:18px}.sandbox-editor{border-bottom:1px solid var(--border);align-content:start;gap:8px;padding-bottom:16px;display:grid}.sandbox-editor>.sandbox-check{color:var(--text-2);font-size:var(--fs-small);align-items:center;gap:8px;font-weight:600;display:flex}.sandbox-editor-tools{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.sandbox-editor-tools .secondary-button{min-height:30px;font-size:var(--fs-micro);padding:0 10px}.sandbox-editor-tools .secondary-button:disabled{opacity:.45;cursor:default}.sandbox-mode{gap:6px;display:flex}.sandbox-mode .secondary-button{min-height:30px;font-size:var(--fs-micro);padding:0 12px}.sandbox-mode .secondary-button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}.sandbox-mode-hint{color:var(--text-3);font-size:var(--fs-micro);margin:0;line-height:1.4}.sandbox-castling{flex-wrap:wrap;gap:8px 14px;display:flex}.sandbox-castling .sandbox-check{color:var(--text-3);font-size:var(--fs-micro);align-items:center;gap:6px;display:flex}.sandbox-fen-actions{flex-wrap:wrap;gap:6px;display:flex}.sandbox-fen-actions .secondary-button{min-height:38px}.sandbox-turn-select{color:var(--text-3);font-size:var(--fs-micro);align-items:center;gap:6px;margin-left:auto;display:flex}.sandbox-turn-select select{width:auto;min-height:30px;font-size:var(--fs-micro);padding:0 26px 0 8px}.sandbox-section{color:var(--text-2);font:600 var(--fs-small)/1.2 var(--font-sans);margin:0}.sandbox-spares{flex-wrap:wrap;gap:10px;display:flex}.sandbox-spare-group{gap:4px;display:flex}.sandbox-piece{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);cursor:grab;touch-action:none;place-items:center;width:36px;height:36px;padding:3px;display:grid}.sandbox-piece-icon{width:100%;height:100%;display:block}.cg-wrap.sandbox-piece-icon piece{background-position:50%;background-repeat:no-repeat;background-size:contain;width:100%;height:100%;display:block;position:static}.sandbox-piece:hover{border-color:var(--border-strong);background:var(--surface-3)}.sandbox-piece.is-active{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:var(--accent-soft)}.sandbox-board-column.is-placing .cg-wrap{cursor:cell}.sandbox-fen{border-bottom:1px solid var(--border);gap:8px;padding-bottom:16px;display:grid}.sandbox-fen>label{color:var(--text-2);font-size:var(--fs-small);font-weight:600}.sandbox-fen textarea{resize:vertical;width:100%;min-width:0;font:var(--fs-micro)/1.5 var(--font-mono)}.sandbox-fen .sandbox-fen-actions{justify-self:start}.sandbox-error{color:var(--danger);font-size:var(--fs-micro)}.sandbox-settings{gap:14px;margin-top:16px;display:grid}.sandbox-settings label{color:var(--text-3);font-size:var(--fs-small);gap:6px;display:grid}.sandbox-settings select{width:100%}.sandbox-settings .review-options-controls{grid-template-columns:1fr 1fr;gap:6px;display:grid}.sandbox-settings .review-options-controls>span{grid-column:1/-1}.sandbox-settings .review-options-controls select{width:100%}.sandbox-settings .sandbox-check{align-items:center;gap:8px;display:flex}.sandbox-check input{width:16px;height:16px;accent-color:var(--accent);margin:0}.sandbox-engine-state{min-height:1.45em;color:var(--text-3);font-size:var(--fs-small);margin:12px 0 0;line-height:1.45}.sandbox-engine-state.is-error{color:var(--danger)}.board-shell{min-width:0;position:relative}.promotion-guard{z-index:19;position:fixed;inset:0}.promotion-picker{z-index:20;bottom:calc(100% + 8px);left:calc((var(--promotion-file) + .5) * 12.5%);border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-panel);gap:4px;padding:5px;display:flex;position:absolute;transform:translate(-50%)}.promotion-picker button{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);width:46px;height:46px;color:var(--text);cursor:pointer;place-items:center;padding:0;display:inline-grid}.promotion-picker button:hover{border-color:var(--accent-line);background:var(--surface-3)}.promotion-picker button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.promotion-picker button span{font-size:36px;line-height:1}.live-suggestions-head{justify-content:space-between;align-items:center;gap:14px;display:flex}.live-suggestions-head>div{flex-direction:column;gap:2px;display:flex}.live-suggestions-head strong{color:var(--text);font-size:var(--fs-small)}.live-suggestions-head span{color:var(--text-3);font-size:var(--fs-micro)}.live-suggestion-actions{align-items:center;gap:7px;display:flex}.live-suggestion-actions>button{border:1px solid var(--border);border-radius:var(--radius-sm);min-height:32px;color:var(--text-2);font:inherit;font-size:var(--fs-micro);cursor:pointer;background:0 0;padding:4px 9px;font-weight:700}.live-suggestion-actions>button:hover{border-color:var(--border-strong);color:var(--text);background:var(--surface-2)}.live-suggestion-actions>button:disabled{opacity:.45;cursor:default}.live-suggestions-head label{color:var(--text-3);font-size:var(--fs-micro);align-items:center;gap:7px;display:flex}.live-suggestions-head select{border-color:var(--border);background-color:var(--surface-2);width:auto;min-height:32px;color:var(--text-2);font-size:var(--fs-micro);padding:4px 28px 4px 8px}.suggestion-status{color:var(--text-3);font-size:var(--fs-small);text-align:center;margin:18px 0 10px}.suggestion-status.failed{color:var(--q-blunder)}.suggestion-explainer{color:var(--text-3);font-size:var(--fs-micro);margin:9px 0 0}.eval-graph-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);margin-left:46px;padding:14px 16px 12px}.graph-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:10px;display:flex}.graph-heading .section-label{color:var(--text-2)}.graph-heading span{color:var(--text-3);font-size:var(--fs-small)}.eval-graph{aspect-ratio:640/150;background:var(--bg-deep);border-radius:var(--radius-sm);cursor:crosshair;width:100%;height:auto;display:block}.eval-graph:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.graph-midline{stroke:var(--border-strong);stroke-width:1px;stroke-dasharray:4 5}.graph-area{fill:url(#eval-area)}.graph-line{fill:none;stroke:var(--accent);stroke-width:2.2px;vector-effect:non-scaling-stroke}.graph-cursor{stroke:#ffffff47;stroke-width:1px}.graph-dot{fill:var(--bg-deep);stroke:var(--accent);stroke-width:3px}.graph-flag{stroke:var(--bg-deep);stroke-width:1.5px}.graph-flag.brilliant{fill:var(--q-brilliant)}.graph-flag.mistake{fill:var(--q-mistake)}.graph-flag.blunder{fill:var(--q-blunder)}.review-panel{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);height:calc(100dvh - 110px);max-height:calc(100dvh - 110px);box-shadow:var(--shadow-panel);flex-direction:column;display:flex;position:sticky;top:78px;overflow:hidden}.panel-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:14px;padding:18px 20px;display:flex}.panel-header>div:first-child{min-width:0}.panel-header h1{font-size:var(--fs-title);letter-spacing:-.01em;-webkit-line-clamp:2;line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:6px 0 0;font-weight:600;line-height:1.35;display:-webkit-box;overflow:hidden}.panel-header h1 i{color:var(--text-3);margin:0 6px;font-style:normal;font-weight:400}.panel-header-side{flex-direction:column;flex:none;align-items:flex-end;gap:8px;display:flex}.panel-actions{gap:8px;display:flex}.panel-body{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.panel-scroll{overscroll-behavior:contain;flex:0 auto;min-height:0;position:relative;overflow-y:auto}.panel-scroll,.move-rows,.recent-games{scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}.panel-scroll:after,.panel-scroll:before{content:"";pointer-events:none;opacity:0;z-index:2;height:24px;margin-bottom:-24px;transition:opacity .15s;display:block;position:sticky;left:0;right:0}.panel-scroll:before{background:linear-gradient(to bottom, var(--surface), transparent);top:0}.panel-scroll:after{background:linear-gradient(to top, var(--surface), transparent);margin-top:-24px;margin-bottom:0;bottom:0}.panel-scroll[data-scroll-up=true]:before,.panel-scroll[data-scroll-down=true]:after{opacity:1}.analysis-feedback{z-index:2;border-top:1px solid var(--border);background:var(--surface);font-size:var(--fs-micro);flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:4px 16px;padding:8px 20px;display:flex;position:sticky;bottom:0}.analysis-feedback:empty{display:none}.analysis-feedback .feedback-panel{border:0;margin:0;padding:0}.analysis-feedback .contribution-panel{border:0;gap:4px;margin:0;padding:0}.analysis-feedback:has(.feedback-form){display:block}.analysis-feedback:has(.feedback-form) .contribution-panel{margin-bottom:10px}.analyze-cta{margin:18px 20px}.review-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:46px;padding:7px 20px;display:flex}.review-options-controls{align-items:center;gap:6px;min-width:0;display:flex}.review-options-controls>span{color:var(--text-3);font-size:var(--fs-small)}.review-options-controls select{border-color:var(--border);background-color:var(--surface-2);width:auto;min-height:34px;color:var(--text-2);font-size:var(--fs-small);padding:0 28px 0 9px}.review-trigger{border:1px solid var(--accent-line);border-radius:var(--radius-sm);min-height:34px;color:var(--accent);font:inherit;font-size:var(--fs-small);cursor:pointer;background:0 0;flex:none;padding:0 12px;font-weight:700;transition:background-color .12s,border-color .12s,color .12s}.review-trigger:hover{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-hi)}@media (width<=480px){.review-toolbar{gap:6px;padding-inline:16px}.review-options-controls{gap:4px}.review-options-controls>span{display:none}.review-options-controls select{padding-inline:7px 22px}.review-trigger{padding-inline:10px}.sample-preview{flex-direction:column;align-items:flex-start}.sample-preview-result{justify-content:flex-start}.perspective-picker{flex-direction:column;align-items:flex-start}.perspective-picker>div{justify-content:flex-start}.perspective-picker button{max-width:132px}.content-tool{padding-inline:14px}}.analysis-progress{margin:18px 20px}.progress-track{background:var(--bg-deep);border:1px solid var(--border);border-radius:99px;width:100%;height:8px;overflow:hidden}.progress-track span{background:var(--accent);height:100%;transition:width .2s;display:block}.progress-copy{color:var(--text-2);font-size:var(--fs-small);justify-content:space-between;align-items:center;gap:12px;margin:10px 0 14px;display:flex}.progress-copy strong{color:var(--accent)}.analysis-cancel{border:1px solid var(--border);border-radius:var(--radius-sm);min-height:32px;color:var(--text-3);cursor:pointer;font-size:var(--fs-small);background:0 0;padding:0 9px}.analysis-cancel:hover{border-color:var(--border-strong);color:var(--text)}.analysis-summary{border-bottom:1px solid var(--border);padding:14px 20px;position:relative}.scorecard{grid-template-columns:1fr 1fr;gap:10px;display:grid}.scorecard-side{background:var(--bg-deep);border:1px solid var(--border);border-radius:var(--radius);min-width:0;padding:12px 14px}.scorecard-side.is-viewer{border-color:var(--accent-line);box-shadow:inset 0 0 0 1px var(--accent-soft)}.scorecard-player{align-items:center;gap:8px;min-width:0;display:flex}.scorecard-player .player-token{width:24px;height:24px;font-size:var(--fs-small);border-radius:6px}.scorecard-player strong{font-size:var(--fs-small);color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.scorecard-player em{background:var(--accent);color:var(--accent-ink);font-size:var(--fs-micro);border-radius:99px;margin-left:auto;padding:2px 6px;font-style:normal;font-weight:700}.scorecard-figures{align-items:baseline;gap:16px;margin-top:8px;display:flex}.scorecard-figures>div{min-width:0}.scorecard-figures strong{font-family:var(--font-serif);letter-spacing:-.02em;color:var(--accent);font-size:30px;font-weight:400;line-height:1.15;display:block}.scorecard-figures>div+div strong{color:var(--text)}.scorecard-figures span{color:var(--text-3);font-size:var(--fs-micro);display:block}.analysis-meta{color:var(--text-3);font-size:var(--fs-small);margin:0}.classification-summary{flex-wrap:wrap;gap:6px;display:flex}.classification-summary>span{font-size:var(--fs-small);color:var(--text-2);background:var(--surface-3);border-radius:999px;align-items:center;gap:7px;padding:5px 11px 5px 6px;display:inline-flex}.classification-summary strong{color:var(--text);font-weight:600}.scorecard-categories{border-top:1px solid var(--border);gap:4px;margin-top:10px;padding-top:9px}.scorecard-categories>span{font-size:var(--fs-micro);gap:4px;padding:3px 6px 3px 3px}.scorecard-categories .move-badge{min-width:20px;height:19px;padding-inline:5px}.scorecard-categories i{display:none}.perspective-picker{color:var(--text-2);font-size:var(--fs-small);justify-content:space-between;align-items:center;gap:8px 12px;margin-bottom:10px;display:flex}.perspective-picker>span{flex:none;font-weight:600}.perspective-picker>div{flex-wrap:wrap;justify-content:flex-end;gap:5px;min-width:0;display:flex}.perspective-picker button{border:1px solid var(--border);max-width:150px;min-height:28px;color:var(--text-3);font:inherit;font-size:var(--fs-micro);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border-radius:99px;padding:4px 8px;overflow:hidden}.perspective-picker button:hover{border-color:var(--border-strong);color:var(--text)}.perspective-picker button.active{border-color:var(--accent-line);background:var(--accent-soft);color:var(--accent)}.verdict-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg-deep);margin:14px 20px;padding:13px 16px 15px}.verdict-title{align-items:center;gap:12px;margin:6px 0 7px;display:flex}.verdict-title h3{font-size:var(--fs-h2);letter-spacing:-.01em;margin:0;font-weight:600}.verdict-tag{border:1px solid var(--border-strong);font-size:var(--fs-small);color:var(--text);border-radius:999px;align-items:center;gap:7px;margin-left:auto;padding:5px 12px 5px 7px;font-weight:600;display:inline-flex}.verdict-card p{color:var(--text-2);font-size:var(--fs-body);margin:0;line-height:1.5}.verdict-card p.verdict-reason{color:var(--text)}.verdict-card p.verdict-cost{font-size:var(--fs-small);margin-top:6px}.verdict-detail{border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text-3);font-size:var(--fs-micro);justify-content:space-between;align-items:baseline;gap:10px;margin-top:6px;padding:6px 9px;display:flex}.verdict-detail strong{color:var(--accent);font-size:var(--fs-small);font-weight:600}.verdict-detail.continuation{flex-direction:column;align-items:stretch;gap:3px}.verdict-detail.continuation strong{color:var(--text);font-family:var(--font-mono);font-size:var(--fs-micro);flex-wrap:wrap;align-items:center;gap:2px 4px;font-weight:500;line-height:1.35;display:flex}.san-step{align-items:center;gap:3px;display:inline-flex}.san-step i{color:var(--text-3);font-style:normal;font-weight:400;font-size:var(--fs-micro)}.verdict-detail>strong>.san{font-family:var(--font-mono);font-size:var(--fs-micro)}.san{font:inherit;cursor:pointer;border:0;border-radius:5px;padding:2px 5px;transition:background-color .12s,color .12s}.san.by-white,.move-cell.by-white{background:var(--move-white);color:var(--text)}.san.by-black,.move-cell.by-black{background:var(--move-black);color:var(--text-2)}.san:hover{background:var(--surface-3);color:var(--text)}.san.active{background:var(--accent);color:var(--accent-ink)}.verdict-placeholder{color:var(--text-3);border:1px dashed var(--border-strong);border-radius:var(--radius);text-align:center;font-size:var(--fs-small);margin:16px 20px;padding:18px}.move-list{flex-direction:column;flex:1 0 208px;min-height:208px;display:flex}.move-list-heading{border-top:1px solid var(--border);justify-content:space-between;align-items:baseline;gap:12px;padding:12px 20px 8px;display:flex}.move-list-heading .section-label{color:var(--text-2)}.move-list-heading span{color:var(--text-3);font-size:var(--fs-small)}.copy-pgn{border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-3);font-size:var(--fs-micro);cursor:pointer;background:0 0;align-items:center;gap:6px;margin-left:auto;padding:4px 9px;font-weight:600;transition:color .15s,border-color .15s,background-color .15s;display:inline-flex}.copy-pgn:hover{color:var(--text);border-color:var(--border-strong);background:var(--surface-2)}.copy-pgn svg{width:14px;height:14px}.move-rows{flex:1;min-height:0;padding:0 12px 12px;overflow-y:auto}.move-row{grid-template-columns:32px 1fr 1fr;align-items:stretch;gap:1px;display:grid}.move-number{color:var(--text-3);font-size:var(--fs-small);place-items:center;display:grid}.move-cell{min-height:26px;color:var(--text-2);cursor:pointer;font-size:var(--fs-small);text-align:left;background:0 0;border:0;border-radius:5px;justify-self:start;align-items:center;gap:6px;padding:0 7px;font-weight:600;display:flex}.move-cell:hover{background:var(--surface-3);color:var(--text)}.move-cell.active{color:var(--accent-ink);background:var(--accent)}.move-piece{text-align:center;width:13px;color:var(--text-3);flex:none;font-size:13px;line-height:1}.move-san{flex:none}.move-time{color:var(--text-3);font-size:var(--fs-micro);font-variant-numeric:tabular-nums;flex:none;font-weight:500}.move-cell.active .move-piece,.move-cell.active .move-time{color:var(--accent-ink);opacity:.7}.move-cell.active .move-badge{box-shadow:inset 0 0 0 1px #0003}.move-badge{background:var(--surface-3);min-width:18px;height:18px;color:var(--text-2);font-size:var(--fs-micro);border-radius:999px;flex:none;place-items:center;padding:0 4px;font-weight:700;line-height:1;display:inline-grid}.move-badge.brilliant{background:var(--q-brilliant);color:#06262a}.move-badge.only{background:var(--q-only);color:#101c2a}.move-badge.best{background:var(--q-best);color:var(--accent-ink)}.move-badge.excellent{background:var(--q-excellent);color:#10241a}.move-badge.good{background:var(--q-good);color:#1c1f19}.move-badge.inaccuracy{background:var(--q-inaccuracy);color:#2a2210}.move-badge.mistake{background:var(--q-mistake);color:#2b1a0c}.move-badge.blunder{background:var(--q-blunder);color:#2b120e}.move-list-empty{color:var(--text-3);font-size:var(--fs-small);text-align:center;padding:24px 20px}@media (width<=1120px){.review-layout{grid-template-columns:minmax(360px,1fr) minmax(360px,440px);gap:20px}.header-tagline{display:none}}@media (width<=900px){.review-layout{width:min(640px,100% - 24px);padding:10px 0 calc(88px + env(safe-area-inset-bottom));grid-template-columns:1fr}.review-panel{height:auto;max-height:none;position:static}.panel-body,.panel-scroll{overflow:visible}.mobile-move-focus{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);height:156px;min-height:156px;max-height:156px;display:block;overflow:hidden}.mobile-move-focus .verdict-card,.mobile-move-focus .verdict-placeholder{background:0 0;border:0;border-radius:0;margin:0}.mobile-move-focus .verdict-card.is-compact{grid-template:"label title"28px"reason reason"34px"better better"25px"line line"42px/auto minmax(0,1fr);gap:3px 8px;height:154px;padding:7px 11px;display:grid}.mobile-move-focus .section-label{white-space:nowrap;grid-area:label;align-self:center;line-height:1.2}.mobile-move-focus .verdict-title{grid-area:title;min-width:0;margin:0}.mobile-move-focus .verdict-title h3{font-size:var(--fs-title)}.mobile-move-focus .verdict-tag{padding-block:3px}.mobile-move-focus .verdict-cost{font-size:var(--fs-micro);grid-area:reason;align-self:center;margin:0;line-height:1.3}.mobile-move-focus .verdict-detail{grid-area:better;min-height:25px;margin:0;padding:3px 8px}.mobile-move-focus .verdict-detail.is-empty{visibility:hidden}.mobile-move-focus .verdict-detail.continuation{grid-area:line;grid-template-columns:66px minmax(0,1fr);align-items:start;gap:3px 6px;display:grid}.mobile-move-focus .verdict-detail.continuation>span{white-space:nowrap;padding-top:1px}.mobile-move-focus .verdict-detail.continuation strong{align-content:start;gap:0 2px;font-size:11px;line-height:1.25}.mobile-move-focus .verdict-detail.continuation .san{padding:1px 3px;font-size:11px}.mobile-move-focus .verdict-detail.continuation .san-step{gap:1px}.mobile-move-focus .verdict-detail.continuation .san-step i{font-size:11px}.review-layout .board-controls{z-index:24;width:100%;min-height:calc(58px + env(safe-area-inset-bottom));padding:0 max(8px, env(safe-area-inset-left)) env(safe-area-inset-bottom) max(8px, env(safe-area-inset-right));border-top:1px solid var(--border-strong);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#221f1cf5;grid-template-columns:44px 44px minmax(80px,1fr) 44px 44px 44px;margin:0;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -10px 28px #00000052}.review-layout .board-controls.has-share{grid-template-columns:44px 44px minmax(56px,1fr) 44px 44px 44px 44px}.review-layout .board-controls button{min-width:44px;min-height:56px}.move-rows{max-height:58vh}.app-body-layout{grid-template-columns:minmax(0,1fr)}.landing-main{padding:28px 14px 44px}.app-sidebar{z-index:32;width:min(86vw,340px);height:auto;padding:24px 18px max(32px, env(safe-area-inset-bottom));border-right:1px solid var(--border-strong);box-shadow:var(--shadow-panel);border-top:0;transition:transform .22s ease-out;display:flex;position:fixed;top:66px;bottom:0;left:0;transform:translate(0)}.app-body-layout.rail-collapsed .app-sidebar{box-shadow:none;pointer-events:none;display:flex;transform:translate(-105%)}.sidebar-backdrop{z-index:31;cursor:pointer;background:#0000008a;border:0;display:block;position:fixed;inset:66px 0 0}.app-sidebar .history-panel{width:100%;margin:0}.import-panel{padding:26px 20px}.sandbox-workspace{grid-template-columns:1fr}.sandbox-panel{margin-left:0}}@media (width<=560px){:root{--fs-display:clamp(30px, 8vw, 38px)}.site-header{padding-left:max(14px, env(safe-area-inset-left));padding-right:max(14px, env(safe-area-inset-right));gap:12px}.input-action-row{flex-direction:column}.input-action-row .primary-button{width:100%}.sample-preview-head{align-items:flex-start}.sample-preview-head>span{flex-direction:column;align-items:flex-start;gap:2px}.sample-preview-matchup{grid-template-columns:1fr;gap:12px}.sample-score{text-align:center;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;width:100%;font-size:18px;display:grid}.sample-score:before,.sample-score:after{content:"";border-top:1px solid var(--border)}.sandbox-page{width:calc(100% - 24px);padding-top:20px}.sandbox-page-head{flex-direction:column;align-items:flex-start}.import-tabs svg{display:none}.board-and-eval{grid-template-columns:34px minmax(0,1fr);gap:6px}.board-controls,.explorer-controls,.board-legend,.live-suggestions,.eval-graph-card{margin-left:40px}.board-controls{grid-template-columns:40px 40px 1fr 40px 40px 40px}.board-controls.has-share{grid-template-columns:40px 40px 1fr 40px 40px 40px 40px}.board-controls.has-play.has-share{grid-template-columns:40px 40px 40px 1fr 40px 40px 40px 40px}.review-layout .board-controls{grid-template-columns:44px 44px minmax(64px,1fr) 44px 44px 44px}.review-layout .board-controls.has-share{grid-template-columns:44px 44px minmax(44px,1fr) 44px 44px 44px 44px}.board-controls .current-move{font-size:var(--fs-small)}.explorer-controls{grid-template-columns:auto 1fr auto auto}.explorer-controls button{padding-inline:9px}.explorer-controls .sandbox-turn{padding-inline:6px}.sandbox-turn>span{display:none}.sandbox-turn select{width:100%;min-width:0;padding-inline:7px 20px;font-size:11px}.live-suggestions-head{flex-direction:column;align-items:flex-start}.live-suggestion-actions{justify-content:space-between;width:100%}.panel-header,.analysis-summary{padding-left:16px;padding-right:16px}.analysis-feedback{padding:14px 16px 16px}.scorecard{grid-template-columns:1fr}.panel-header{flex-direction:column;align-items:stretch}.panel-header-side{flex-direction:row;justify-content:space-between;align-items:center}.analyze-cta,.analysis-progress,.verdict-card,.verdict-placeholder{margin-left:16px;margin-right:16px}.move-list-heading{padding-left:16px;padding-right:16px}.recent-game{grid-template-columns:40px 1fr}.recent-meta{display:none}.footer-baseline{flex-direction:column}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.header-tools{align-items:center;gap:6px;margin-left:auto;display:flex}.header-tools a{border:1px solid var(--border);border-radius:var(--radius-sm);min-height:44px;color:var(--text-2);font-size:var(--fs-small);align-items:center;padding:8px 12px;font-weight:600;text-decoration:none;display:inline-flex}.header-tools a:hover,.header-tools a[aria-current=page]{border-color:var(--border-strong);background:var(--surface-2);color:var(--text)}.header-install{border:1px solid var(--accent-line);border-radius:var(--radius-sm);background:var(--accent-soft);min-height:44px;color:var(--text);font-family:inherit;font-size:var(--fs-small);cursor:pointer;align-items:center;padding:8px 13px;font-weight:600;display:inline-flex}.header-install:hover{border-color:var(--accent);background:var(--surface-3)}.install-help{z-index:60;place-items:end center;display:grid;position:fixed;inset:0}.install-help-backdrop{cursor:pointer;background:#0000008a;position:absolute;inset:0}.install-help-sheet{width:min(420px,100% - 24px);margin-bottom:max(16px, env(safe-area-inset-bottom));border:1px solid var(--border-strong);border-radius:var(--radius-md,12px);background:var(--surface-2);box-shadow:var(--shadow-panel);gap:12px;padding:22px 20px;display:grid;position:relative}.install-help-sheet h2{font-size:var(--fs-title);margin:0}.install-help-sheet p{color:var(--text-2);font-size:var(--fs-small);margin:0;line-height:1.5}.install-help-sheet ol{color:var(--text-2);font-size:var(--fs-small);gap:6px;margin:0;padding-left:20px;line-height:1.45;display:grid}.install-help-sheet .primary-button{justify-self:start}.install-banner{display:none}@media (width<=560px){.install-banner{border-bottom:1px solid var(--border);background:var(--accent-soft);align-items:center;gap:10px;padding:10px 14px;display:flex}.install-banner p{min-width:0;color:var(--text-2);font-size:var(--fs-small);flex:1;margin:0;line-height:1.4}.install-banner strong{color:var(--text)}.install-banner-action{border:1px solid var(--accent-line);border-radius:var(--radius-sm);background:var(--accent);min-height:36px;color:var(--accent-ink);font-family:inherit;font-size:var(--fs-small);cursor:pointer;flex:none;padding:6px 14px;font-weight:600}.install-banner-close{width:32px;height:32px;color:var(--text-3);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;font-size:20px;line-height:1}.install-banner-close:hover{background:var(--surface-3);color:var(--text)}}.mini-game-page{width:min(1680px,100% - 40px);margin:0 auto;padding:28px 0 40px}.mini-game-head{justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:10px;display:flex}.mini-game-head h1{font:600 var(--fs-title) / 1.1 var(--font-serif);margin:0}.mini-game-title{align-items:baseline;gap:12px;display:flex}.mini-game-title>a{color:var(--text-3);font-size:var(--fs-micro);text-underline-offset:3px}.mini-game-title>a:hover{color:var(--text)}.mini-game-score{color:var(--text-3);font-size:var(--fs-micro);white-space:nowrap;gap:18px;display:flex}.mini-game-score b{color:var(--text);font-size:var(--fs-small);font-weight:700}.mini-game-layout{grid-template-columns:minmax(420px,min(760px,100dvh - 300px)) minmax(400px,620px);justify-content:center;align-items:start;gap:clamp(20px,3vw,42px);display:grid}.mini-game-side{gap:10px;min-width:0;display:grid}.mini-game-board .board-controls{margin-left:0}.mini-game-board{gap:8px;min-width:0;display:grid}.anonymous-player{min-height:36px;color:var(--text-2);justify-content:space-between;align-items:center;font-weight:600;display:flex}.anonymous-player span{font-family:var(--font-mono);color:var(--accent)}.anonymous-player.is-judged{color:var(--text);border-left:3px solid var(--accent);padding-left:9px;font-weight:600}.guess-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);font-size:var(--fs-small);gap:10px;padding:18px;display:grid;position:sticky;top:82px}.guess-round{color:var(--text-3);font-size:var(--fs-small)}.game-settings{gap:5px;display:grid}.mode-picker{flex-wrap:wrap;gap:5px;margin:0;display:flex}.setting-toggle{color:var(--text-3);font-size:var(--fs-micro);cursor:pointer;align-items:center;gap:7px;margin-top:2px;display:flex}.setting-toggle input{width:16px;height:16px;accent-color:var(--accent);flex:none;margin:0}.setting-toggle:hover{color:var(--text-2)}.move-time{color:var(--text-3);font-family:var(--font-mono);font-size:var(--fs-micro);margin-left:7px;font-style:normal}.mode-chip{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-2);font-size:var(--fs-micro);white-space:nowrap;cursor:pointer;flex:auto;padding:6px 10px;font-weight:600;transition:border-color .12s,background .12s,color .12s}.mode-chip:hover:not(:disabled){border-color:var(--border-strong);color:var(--text)}.mode-chip.is-active{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}.mode-chip:disabled{opacity:.4;cursor:not-allowed}.guess-summary .mode-picker{margin:4px 0 0}.guess-facts{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--border);grid-template-columns:1fr 1fr;gap:1px;margin:0;display:grid;overflow:hidden}.guess-facts>div{background:var(--bg-deep);gap:2px;padding:9px 12px;display:grid}.guess-facts dt{color:var(--text-3);font-size:var(--fs-micro);letter-spacing:.06em;text-transform:uppercase;font-weight:600}.guess-facts dd{color:var(--text);margin:0;font-weight:600}.guess-progress{gap:6px;margin:0 0 12px;padding:0;list-style:none;display:flex}.guess-pip{background:var(--border);border-radius:999px;flex:1;height:6px;transition:background .14s}.guess-pip.is-current{background:var(--text-3)}.guess-pip.is-exact{background:var(--q-best)}.guess-pip.is-close{background:var(--q-excellent)}.guess-pip.is-fair{background:var(--q-inaccuracy)}.guess-pip.is-far{background:var(--q-blunder)}.guess-verdict{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.guess-verdict span{color:var(--text);font-weight:600}.guess-verdict b{font-family:var(--font-mono);color:var(--accent);font-weight:700}.guess-result.is-exact .guess-verdict span{color:var(--q-best)}.guess-result.is-close .guess-verdict span{color:var(--q-excellent)}.guess-result.is-fair .guess-verdict span{color:var(--q-inaccuracy)}.guess-result.is-far .guess-verdict span{color:var(--q-blunder)}.guess-graph{gap:6px;margin:0;display:grid}.guess-graph-bars{align-items:flex-end;gap:2px;height:46px;display:flex}.guess-bar{flex:1;align-items:flex-end;min-width:0;height:100%;display:flex}.guess-bar i{background:var(--border-strong);border-radius:2px 2px 0 0;width:100%;display:block}.guess-bar.is-guess i{background:var(--text-2)}.guess-bar.is-actual i{background:var(--accent)}.guess-bar.is-actual.is-guess i{background:linear-gradient(var(--accent), var(--text-2))}.guess-rail{height:52px;margin-top:2px;position:relative}.guess-rail:before{content:"";background:var(--border);border-radius:99px;height:2px;position:absolute;top:25px;left:0;right:0}.guess-rail-gap{background:var(--accent);opacity:.55;border-radius:99px;height:2px;position:absolute;top:25px}.guess-pin{white-space:nowrap;grid-template-columns:auto auto;place-items:center;column-gap:4px;display:grid;position:absolute;transform:translate(-50%)}.guess-pin:before{content:"";border-radius:99px;grid-column:1/-1;width:2px;height:9px}.guess-pin b{font-family:var(--font-mono);font-size:var(--fs-micro);grid-column:1;font-weight:700;line-height:1}.guess-pin i{font-style:normal;font-size:var(--fs-micro);color:var(--text-3);grid-column:2;line-height:1}.guess-pin.is-actual{bottom:27px}.guess-pin.is-actual:before{background:var(--accent);grid-row:2}.guess-pin.is-actual b{color:var(--accent);grid-row:1}.guess-pin.is-actual i{grid-row:1}.guess-pin.is-guess{top:27px}.guess-pin.is-guess:before{background:var(--text-2);grid-row:1}.guess-pin.is-guess b{color:var(--text-2);grid-row:2}.guess-pin.is-guess i{grid-row:2}.guess-graph-axis,.guess-graph figcaption{color:var(--text-3);font-size:var(--fs-micro);font-variant-numeric:tabular-nums;justify-content:space-between;gap:12px;display:flex}.guess-graph figcaption{flex-wrap:wrap}.guess-graph figcaption span:first-child{color:var(--text-2)}.guess-summary{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);gap:14px;max-width:480px;margin:24px auto;padding:22px;display:grid}.guess-summary>*{min-width:0}.guess-summary-head{gap:6px;display:grid}.guess-summary h1{font-family:var(--font-serif);letter-spacing:-.02em;color:var(--accent);align-items:baseline;gap:10px;margin:0;font-size:42px;font-weight:400;line-height:1.05;display:flex}.guess-summary h1 small{font-family:var(--font-body);font-size:var(--fs-small);letter-spacing:0;color:var(--text-3)}.guess-summary-figures{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--border);grid-template-columns:repeat(3,1fr);gap:1px;margin:0;display:grid;overflow:hidden}.guess-summary-figures>div{background:var(--bg-deep);gap:3px;min-width:0;padding:10px 12px;display:grid}.guess-summary-figures dt{color:var(--text-3);font-size:var(--fs-micro);letter-spacing:.06em;text-transform:uppercase;font-weight:600}.guess-summary-figures dd{font-family:var(--font-serif);letter-spacing:-.02em;color:var(--text);align-items:baseline;gap:4px;margin:0;font-size:22px;line-height:1.1;display:flex}.guess-summary-figures dd span{font-family:var(--font-body);font-size:var(--fs-micro);color:var(--text-3)}.guess-summary-figures dd.is-new,.guess-summary-figures dd.is-new span{color:var(--accent)}.guess-summary-rounds{gap:4px;margin:0;padding:0;list-style:none;display:grid}.guess-summary-rounds li{border-radius:var(--radius-sm);background:var(--bg-deep);border-left:3px solid var(--border);overflow:hidden}.guess-summary-rounds li>button{width:100%;min-height:44px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:8px 12px;display:flex}.guess-summary-rounds li>button:hover{background:var(--surface-2)}.guess-summary-rounds li.is-exact{border-left-color:var(--q-best)}.guess-summary-rounds li.is-close{border-left-color:var(--q-excellent)}.guess-summary-rounds li.is-fair{border-left-color:var(--q-inaccuracy)}.guess-summary-rounds li.is-far{border-left-color:var(--q-blunder)}.guess-summary-index{min-width:14px;color:var(--text-3);font-size:var(--fs-micro);font-variant-numeric:tabular-nums}.guess-summary-figures-row{gap:1px;display:grid}.guess-summary-figures-row b{color:var(--text);font-size:var(--fs-small);font-weight:600}.guess-summary-figures-row i{color:var(--text-3);font-size:var(--fs-micro);font-style:normal}.guess-summary-score{color:var(--accent);font-family:var(--font-mono);font-size:var(--fs-small);font-variant-numeric:tabular-nums;margin-left:auto}.guess-summary-open{color:var(--text-3);font-size:var(--fs-micro);white-space:nowrap;opacity:0;transition:opacity .12s}.guess-summary-rounds li>button:hover .guess-summary-open,.guess-summary-rounds li>button:focus-visible .guess-summary-open{opacity:1}.guess-summary-actions{flex-wrap:wrap;gap:8px;display:flex}.guess-summary-actions .primary-button{flex:2 150px}.guess-summary-actions .secondary-button{flex:140px;justify-content:center}.guess-summary .game-settings{border-top:1px solid var(--border);padding-top:12px}.guess-reveal-actions{gap:8px;display:flex}.guess-reveal-actions .primary-button{flex:1}.guess-card label,.guess-result label{color:var(--text-2);font-weight:600}.guess-ask{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 12px;display:flex}.guess-ask output{color:var(--accent);font:700 24px/1 var(--font-mono)}.guess-delta{color:var(--text-3);margin:-2px 0 0}.guess-slider{gap:4px;display:grid}.guess-track{height:34px;position:relative}.guess-track:before,.guess-track:after{content:"";pointer-events:none;border-radius:99px;height:6px;margin-top:-3px;position:absolute;top:50%}.guess-track:before{background:var(--bg-deep);border:1px solid var(--border);left:0;right:0}.guess-track:after{width:calc((100% - 22px) * (var(--guess-fill) / 100%));background:var(--accent);opacity:.85;left:11px}.guess-ticks{pointer-events:none;justify-content:space-between;margin-top:-1px;display:flex;position:absolute;top:50%;left:11px;right:11px}.guess-ticks i{background:var(--border-strong);border-radius:50%;width:2px;height:2px}.guess-ticks i.is-passed{background:var(--accent-ink);opacity:.45}.guess-card input[type=range]{appearance:none;cursor:grab;touch-action:none;background:0 0;border:0;width:100%;height:100%;margin:0;padding:0;position:absolute;inset:0}.guess-card input[type=range]:active{cursor:grabbing}.guess-card input[type=range]:focus{box-shadow:none;outline:none}.guess-card input[type=range]::-webkit-slider-runnable-track{background:0 0;border:0;height:100%}.guess-card input[type=range]::-moz-range-track{background:0 0;border:0;height:100%}.guess-card input[type=range]::-webkit-slider-thumb{appearance:none;border:3px solid var(--bg);background:var(--accent);width:22px;height:22px;box-shadow:var(--shadow-lift);border-radius:50%;transition:transform .12s,background-color .12s}.guess-card input[type=range]::-moz-range-thumb{border:3px solid var(--bg);background:var(--accent);width:22px;height:22px;box-shadow:var(--shadow-lift);border-radius:50%;transition:transform .12s,background-color .12s}.guess-card input[type=range]:hover::-webkit-slider-thumb{background:var(--accent-hi)}.guess-card input[type=range]:hover::-moz-range-thumb{background:var(--accent-hi)}.guess-card input[type=range]:active::-webkit-slider-thumb{transform:scale(1.12)}.guess-card input[type=range]:active::-moz-range-thumb{transform:scale(1.12)}.guess-card input[type=range]:focus-visible::-webkit-slider-thumb{border-color:var(--accent-hi);box-shadow:0 0 0 3px var(--accent-soft)}.guess-card input[type=range]:focus-visible::-moz-range-thumb{border-color:var(--accent-hi);box-shadow:0 0 0 3px var(--accent-soft)}.guess-scale{color:var(--text-3);font-size:var(--fs-micro);font-variant-numeric:tabular-nums;justify-content:space-between;margin:0 11px;display:flex}.guess-scale span{text-align:center;flex:1}.guess-scale span:first-child{text-align:left;margin-left:-11px}.guess-scale span:last-child{text-align:right;margin-right:-11px}.guess-result{gap:10px;display:grid}.guess-result>strong{color:var(--accent);font:700 44px/1 var(--font-mono)}.guess-result p{color:var(--text-2);margin:0 0 4px}.guess-note{color:var(--text-3);font-size:var(--fs-micro);margin:6px 0 0;line-height:1.5}.contribution-panel{border-bottom:1px solid var(--border);gap:8px;margin-bottom:14px;padding-bottom:14px;display:grid}.contribution-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.contribution-row>label b,.contribution-row>.link-button{white-space:nowrap}.contribution-panel>.contribution-row>label{cursor:pointer;align-items:center;gap:8px;margin:0;display:flex}.contribution-panel>label{cursor:pointer;align-items:flex-start;gap:10px;display:flex}.contribution-panel input{accent-color:var(--accent)}.contribution-panel label span{gap:2px;display:grid}.contribution-panel label b{color:var(--text);font-size:var(--fs-small)}.contribution-panel label small,.contribution-panel p{color:var(--text-3);font-size:var(--fs-micro);margin:0;line-height:1.45}.contribution-panel .link-button{font-size:var(--fs-micro);justify-self:start}.contribution-panel.is-compact{border-top:1px solid var(--border);border-bottom:0;margin:8px 0 0;padding:10px 0 0}.contribution-panel.is-compact label b{color:var(--text-2)}@media (width<=900px){.mini-game-layout{grid-template-columns:1fr}.guess-card{position:static}}@media (width<=560px){.header-tools a:first-child{display:none}.header-tools a{padding-inline:9px}.site-header{overflow:hidden}.header-install{padding:8px 10px}.header-tools{scrollbar-width:none;flex-wrap:nowrap;min-width:0;overflow-x:auto}.header-tools::-webkit-scrollbar{display:none}.mini-game-page{width:calc(100% - 24px);padding-top:20px}.mini-game-head{flex-direction:column;align-items:flex-start}.mini-game-score{justify-content:space-between;width:100%}.mini-game-score span{text-align:left}}.content-layout{flex:1;width:100%;max-width:720px;margin:0 auto;padding:clamp(28px,5vw,56px) clamp(16px,4vw,24px) 64px}.content-page h1{font-family:var(--font-serif);font-size:var(--fs-display);letter-spacing:-.02em;margin:0 0 14px;font-weight:400;line-height:1.08}.content-intro{color:var(--text-2);font-size:var(--fs-lead);margin:0 0 32px;line-height:1.6}.content-page h2{font-size:var(--fs-h2);letter-spacing:-.01em;margin:36px 0 12px;font-weight:600}.content-page p{color:var(--text-2);margin:0 0 14px;line-height:1.7}.content-page ul{margin:0 0 16px;padding-left:20px}.content-page li{color:var(--text-2);margin-bottom:8px;line-height:1.7}.content-page b,.content-page strong{color:var(--text);font-weight:600}.content-page a{color:var(--accent);text-underline-offset:2px;text-decoration:underline}.content-page a:hover{color:var(--text)}.content-page code{background:var(--surface-3);font-family:var(--font-mono);word-break:break-all;border-radius:5px;padding:1px 5px;font-size:.9em}.content-page code b{color:var(--accent)}.content-tool{border:1px solid var(--accent-line);border-radius:var(--radius);background:var(--accent-soft);margin:26px 0 34px;padding:18px 20px 20px}.content-page .content-tool h2{font-size:var(--fs-lead);margin:0}.content-tool .import-panel.compact{padding-top:14px}.content-table{border-collapse:collapse;width:100%;font-size:var(--fs-small);margin:0 0 18px;display:block;overflow-x:auto}.content-table th,.content-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:9px 12px}.content-table th{color:var(--text);white-space:nowrap;font-weight:600}.content-table td{color:var(--text-2)}.content-cta{margin:28px 0 0}.content-cta .primary-button{color:var(--accent-ink);text-decoration:none;display:inline-block}.content-cta .primary-button:hover{color:var(--accent-ink);text-decoration:none}.content-related{border-top:1px solid var(--border);margin-top:48px;padding-top:22px}.content-related ul{gap:8px;margin:10px 0 0;padding:0;list-style:none;display:grid}.content-related a{color:var(--text-2);text-decoration:none}.content-related a:hover{color:var(--text);text-decoration:underline}.profile-page{width:min(1180px,100% - 40px);margin:0 auto;padding:44px 0 64px}.profile-hero{text-align:center;max-width:820px;margin:0 auto 34px}.profile-hero h1{font:400 var(--fs-display)/1.08 var(--font-serif);letter-spacing:-.02em;margin:8px 0 12px}.profile-hero>p{max-width:650px;color:var(--text-2);font-size:var(--fs-lead);margin:0 auto;line-height:1.55}.profile-search{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);max-width:650px;box-shadow:var(--shadow-panel);text-align:left;margin:26px auto 0;padding:20px}.profile-search label{color:var(--text-2);font-size:var(--fs-small);margin-bottom:8px;font-weight:600;display:block}.profile-error{max-width:820px;margin:0 auto 24px}.profile-progress,.profile-insights{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);max-width:820px;margin:0 auto 28px;padding:22px}.profile-progress-head{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.profile-progress h2,.profile-insights h2{font-size:var(--fs-title);margin:5px 0 0}.profile-progress-head>strong{color:var(--accent);font-family:var(--font-mono);font-size:var(--fs-small)}.profile-progress p{color:var(--text-3);font-size:var(--fs-small);margin:10px 0 0}.profile-results{gap:28px;display:grid}.profile-summary{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--border);grid-template-columns:repeat(3,1fr);gap:1px;display:grid;overflow:hidden}.profile-summary>div{background:var(--surface);text-align:center;padding:20px}.profile-summary span{color:var(--text-3);font-size:var(--fs-micro);letter-spacing:.06em;text-transform:uppercase;margin-bottom:5px;font-weight:600;display:block}.profile-summary strong{color:var(--text);font:400 28px/1.1 var(--font-serif)}.profile-insights ul{margin:16px 0 0;padding-left:20px}.profile-insights li{color:var(--text-2);margin:9px 0;line-height:1.6}.profile-table-wrap{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);overflow-x:auto}.profile-table{border-collapse:collapse;width:100%;font-size:var(--fs-small)}.profile-table th,.profile-table td{border-bottom:1px solid var(--border);text-align:left;white-space:nowrap;padding:13px 16px}.profile-table th{color:var(--text-3);font-size:var(--fs-micro);letter-spacing:.06em;text-transform:uppercase}.profile-table tbody tr:last-child td{border-bottom:0}.profile-table td:first-child{white-space:normal}.profile-table td:first-child strong,.profile-table td:first-child small{display:block}.profile-table td:first-child small,.profile-table td small{color:var(--text-3)}.profile-table a{color:var(--accent);font-weight:600;text-decoration:none}.profile-table a:hover{text-decoration:underline}.profile-result{font-size:var(--fs-micro);text-transform:uppercase;border-radius:99px;padding:3px 8px;font-weight:700}.profile-result.is-win{color:var(--q-best);background:#9dc06f1f}.profile-result.is-draw{color:var(--text-2);background:var(--surface-3)}.profile-result.is-loss{color:var(--q-blunder);background:#e2705f1f}.profile-article{border-top:1px solid var(--border);max-width:940px;margin:54px auto 0;padding-top:38px}.profile-article>h2{font-size:var(--fs-h2);margin:32px 0 12px}.profile-article>h2:first-child{margin-top:0}.profile-article p,.profile-article li{color:var(--text-2);line-height:1.7}.profile-article ol{padding-left:22px}.profile-article-grid{grid-template-columns:repeat(3,1fr);gap:22px;margin-top:24px;display:grid}.profile-article-grid article{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:18px}.profile-article-grid h3{font-size:var(--fs-title);margin:0 0 8px}.profile-article-grid p{margin:0}@media (width<=760px){.profile-page{width:calc(100% - 24px);padding-top:28px}.profile-summary,.profile-article-grid{grid-template-columns:1fr}.profile-summary>div{text-align:left}.profile-search{padding:16px}}.depth-slider{--depth-fill:50%;margin:0 0 16px}.depth-slider-head{justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:10px;display:flex}.depth-slider-head output{font-family:var(--font-mono);font-size:var(--fs-small);color:var(--accent-ink);background:var(--accent);border-radius:99px;padding:2px 10px;font-weight:700}.depth-slider.is-locked .depth-slider-head output{color:var(--text-2);background:var(--surface-3)}.depth-slider-track{height:36px;position:relative}.depth-slider-track:before,.depth-slider-track:after{content:"";pointer-events:none;border-radius:99px;height:6px;margin-top:-3px;position:absolute;top:50%}.depth-slider-track:before{background:var(--bg-deep);border:1px solid var(--border);left:0;right:0}.depth-slider-track:after{width:calc((100% - 22px) * (var(--depth-fill) / 100%));background:var(--accent);opacity:.85;left:11px}.depth-slider.is-locked .depth-slider-track:after{background:var(--text-3);opacity:.5}.depth-slider-ticks{pointer-events:none;justify-content:space-between;margin-top:-1px;display:flex;position:absolute;top:50%;left:11px;right:11px}.depth-slider-ticks i{background:var(--border-strong);border-radius:50%;width:2px;height:2px}.depth-slider-ticks i.is-passed{background:var(--accent-ink);opacity:.45}.depth-slider input[type=range]{appearance:none;cursor:grab;touch-action:none;background:0 0;border:0;width:100%;height:100%;margin:0;padding:0;position:absolute;inset:0}.depth-slider input[type=range]:active{cursor:grabbing}.depth-slider input[type=range]:focus{box-shadow:none;outline:none}.depth-slider input[type=range]::-webkit-slider-runnable-track{background:0 0;border:0;height:100%}.depth-slider input[type=range]::-moz-range-track{background:0 0;border:0;height:100%}.depth-slider input[type=range]::-webkit-slider-thumb{appearance:none;border:3px solid var(--bg);background:var(--accent);width:22px;height:22px;box-shadow:var(--shadow-lift);border-radius:50%;transition:transform .12s,background-color .12s}.depth-slider input[type=range]::-moz-range-thumb{border:3px solid var(--bg);background:var(--accent);width:22px;height:22px;box-shadow:var(--shadow-lift);border-radius:50%;transition:transform .12s,background-color .12s}.depth-slider input[type=range]:hover::-webkit-slider-thumb{background:var(--accent-hi)}.depth-slider input[type=range]:hover::-moz-range-thumb{background:var(--accent-hi)}.depth-slider input[type=range]:active::-webkit-slider-thumb{transform:scale(1.12)}.depth-slider input[type=range]:active::-moz-range-thumb{transform:scale(1.12)}.depth-slider input[type=range]:focus-visible::-webkit-slider-thumb{border-color:var(--accent-hi);box-shadow:0 0 0 3px var(--accent-soft)}.depth-slider input[type=range]:focus-visible::-moz-range-thumb{border-color:var(--accent-hi);box-shadow:0 0 0 3px var(--accent-soft)}.depth-slider input[type=range]:disabled{cursor:default}.depth-slider input[type=range]:disabled::-webkit-slider-thumb{background:var(--text-3)}.depth-slider input[type=range]:disabled::-moz-range-thumb{background:var(--text-3)}.depth-slider-axis{color:var(--text-3);font-size:var(--fs-micro);letter-spacing:.04em;text-transform:uppercase;justify-content:space-between;margin-top:4px;font-weight:600;display:flex}.analysis-progress .depth-slider{margin-top:16px}.analysis-running-settings{color:var(--text-3);font-size:var(--fs-small);margin:0 0 10px}.engine-build-picker{margin:0 0 16px}.engine-build-picker-label{color:var(--text-2);font-size:var(--fs-small);margin-bottom:6px;font-weight:600;display:block}.engine-build-picker-options{grid-template-columns:1fr 1fr;gap:8px;display:grid}.build-option{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-height:38px;color:var(--text-2);cursor:pointer;text-align:left;justify-content:space-between;align-items:baseline;gap:8px;padding:6px 10px;transition:border-color .12s,background .12s,color .12s;display:flex}.build-option:hover:not(:disabled){border-color:var(--accent)}.build-option strong{font-size:var(--fs-small);font-weight:700}.build-option span{color:var(--text-3);font-size:var(--fs-micro);letter-spacing:.04em;text-transform:uppercase;font-weight:600}.build-option.is-active{border-color:var(--accent);background:var(--accent);color:var(--accent-ink)}.build-option.is-active span{color:inherit;opacity:.75}.engine-build-picker.is-locked .build-option,.build-option:disabled{cursor:default;opacity:.6}.analysis-progress .engine-build-picker{margin-bottom:12px}.analysis-progress .engine-build-picker-options,.engine-build-picker-options{gap:6px}.review-settings-grid .engine-build-picker{margin:0}.recent-games-head{justify-content:space-between;align-items:baseline;gap:12px;padding:2px 2px 4px;display:flex}.link-button{color:var(--text-3);font-size:var(--fs-small);cursor:pointer;text-underline-offset:2px;background:0 0;border:0;padding:0;text-decoration:underline}.link-button:hover{color:var(--text)}.history-panel{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:min(720px,100%);padding:18px}.history-head{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px;display:flex}.history-head .sidebar-heading{line-height:24px}.history-confirm{flex-direction:column;align-items:flex-end;display:flex}.history-title{align-items:center;gap:8px;min-width:0;display:flex}.history-count{border:1px solid var(--border);background:var(--surface-2);min-width:24px;height:24px;color:var(--text-2);font:700 var(--fs-micro) / 1 var(--font-mono);border-radius:999px;flex:none;place-items:center;padding:0 7px;display:inline-grid}.history-list-label{margin:18px 0 8px}.profile-card{border:1px solid var(--accent-line);background:var(--accent-soft);border-radius:var(--radius-sm);padding:16px}.profile-empty{border:1px dashed var(--border-strong);border-radius:var(--radius-sm);color:var(--text-3);font-size:var(--fs-small);margin:0;padding:14px 16px;line-height:1.5}.history-empty{border-top:1px solid var(--border);padding:14px 0 2px}.history-empty strong{color:var(--text);font-size:var(--fs-body);font-weight:600;display:block}.history-empty p{color:var(--text-3);font-size:var(--fs-small);margin:5px 0 0;line-height:1.5}.profile-figures{flex-wrap:wrap;align-items:flex-end;gap:12px 26px;display:flex}.profile-headline{flex-direction:column;display:flex}.profile-headline strong{letter-spacing:-.02em;font-size:clamp(30px,5vw,40px);font-weight:600;line-height:1}.profile-headline span{color:var(--text-3);font-size:var(--fs-small);margin-top:4px}.profile-change{flex-direction:column;display:flex}.profile-change strong{font-size:var(--fs-title);font-weight:600;line-height:1.2}.profile-change span{color:var(--text-3);font-size:var(--fs-small)}.profile-change.up strong{color:var(--q-best)}.profile-change.down strong{color:var(--q-mistake)}.profile-spark{width:100%;height:46px;color:var(--accent);margin-top:14px;display:block}.profile-phases{margin-top:18px}.profile-phases>.section-label{margin-bottom:10px}.phase-row{grid-template-columns:minmax(0,9rem) 1fr 2rem;align-items:center;gap:12px;margin-bottom:7px;display:grid}.phase-name{font-size:var(--fs-small);color:var(--text);flex-direction:column;display:flex}.phase-name i{color:var(--text-3);font-style:normal;font-size:var(--fs-micro)}.phase-bar{background:var(--bg-deep);border:1px solid var(--border);border-radius:99px;height:8px;overflow:hidden}.phase-bar i{background:var(--text-3);border-radius:99px;height:100%;transition:width .25s;display:block}.phase-bar i.is-worst{background:var(--q-mistake)}.phase-count{text-align:right;font-family:var(--font-mono);font-size:var(--fs-small);color:var(--text-2)}.profile-note{color:var(--text-2);font-size:var(--fs-small);margin:12px 0 0;line-height:1.5}.history-list{flex-direction:column;gap:6px;display:flex}.history-panel .history-list{max-height:320px;overflow-y:auto}.history-row{text-align:left;border:1px solid var(--border);background:var(--bg-deep);border-radius:var(--radius-sm);cursor:pointer;color:var(--text-2);flex-direction:column;gap:5px;padding:10px 12px;display:flex}.history-row:hover{border-color:var(--accent-line);background:var(--surface-2)}.history-sides{flex-direction:column;gap:3px;display:flex}.history-side{font-size:var(--fs-small);justify-content:space-between;align-items:baseline;gap:12px;display:flex}.history-name{color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.history-accuracy{color:var(--text-3);font-family:var(--font-mono);flex:none}.history-side.is-mine .history-name{color:var(--text);font-weight:600}.history-side.is-mine .history-accuracy{color:var(--accent);font-weight:700}.history-meta{color:var(--text-3);font-size:var(--fs-micro)}.history-rail{flex-direction:column;gap:10px;min-width:0;max-height:calc(100dvh - 110px);display:flex;position:sticky;top:82px}.history-rail-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.history-rail-scroll{padding-right:2px;overflow-y:auto}.history-list.is-compact .history-row{padding:8px 10px}.history-confirm{flex:none;align-items:center;gap:10px;display:inline-flex}.ghost-button.danger{color:#f5b9ae;border-color:#e2705f73}.ghost-button.danger:hover{color:#f5b9ae;background:#e2705f24}.copy-pgn.is-failed{color:#f5b9ae;border-color:#e2705f73}.history-row.is-current{border-color:var(--accent-line);background:var(--accent-soft);cursor:default}.history-row.is-current .history-name{color:var(--text)}@media (width<=1180px){.history-rail{display:none}}.review-layout.has-rail{grid-template-columns:208px minmax(420px,min(760px,100dvh - 300px)) minmax(400px,620px)}@media (width<=1180px){.review-layout.has-rail{grid-template-columns:minmax(360px,1fr) minmax(360px,440px)}}@media (width<=900px){.review-layout.has-rail{grid-template-columns:1fr}}.play-rules{gap:6px;margin:0;padding:0;list-style:none;display:grid}.play-rules-head,.play-rules li{grid-template-columns:minmax(0,1fr) 108px 64px 30px;align-items:center;gap:6px;display:grid}.play-rules-head span{color:var(--text-3);font-size:var(--fs-micro);letter-spacing:.04em;font-weight:700}.play-field{grid-template-columns:150px minmax(0,1fr);align-items:center;gap:8px;display:grid}.play-field>span{color:var(--text-3);font-size:var(--fs-micro);letter-spacing:.04em;font-weight:700}.play-field input,.play-field select{width:100%;min-height:30px;font-size:var(--fs-micro)}.sandbox-editor>.secondary-button{min-height:30px;font-size:var(--fs-micro);justify-self:start}.play-rules select,.play-rules input{min-height:30px;font-size:var(--fs-micro)}.play-page .sandbox-editor-tools select,.play-rules select,.play-rules input,.play-field select,.play-field input{border:1px solid var(--border);border-radius:var(--radius-sm);background-color:var(--surface-2);color:var(--text)}.play-page .sandbox-editor-tools select,.play-rules select,.play-field select{padding:0 24px 0 8px}.play-rules input,.play-field input{padding:0 8px}.play-page .sandbox-editor-tools select{min-height:30px;font-size:var(--fs-micro)}.play-page .sandbox-editor-tools select:hover,.play-rules select:hover,.play-field select:hover{border-color:var(--border-strong)}.play-rules select:focus-visible,.play-field select:focus-visible,.play-page .sandbox-editor-tools select:focus-visible{border-color:var(--accent);outline:0}.play-rules>li>button{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);min-height:30px;color:var(--text-3);cursor:pointer;padding:0 8px}.play-rules>li>button:hover{border-color:var(--border-strong);color:var(--text)}.play-moves{gap:2px;max-height:320px;margin:16px 0 0;padding:0;list-style:none;display:grid;overflow-y:auto}.play-moves li{border-radius:var(--radius-sm);color:var(--text-2);font-size:var(--fs-micro);justify-content:space-between;gap:10px;padding:4px 8px;display:flex}.play-moves li.is-up{background:var(--accent-soft)}.play-moves li.is-down{background:#e2705f1f}.play-moves li span{color:var(--text-3)}.secondary-button.is-active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
