.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.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-wrap piece.pawn.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PHBhdGggZD0iTTIyLjUgOWMtMi4yMSAwLTQgMS43OS00IDQgMCAuODkuMjkgMS43MS43OCAyLjM4QzE3LjMzIDE2LjUgMTYgMTguNTkgMTYgMjFjMCAyLjAzLjk0IDMuODQgMi40MSA1LjAzLTMgMS4wNi03LjQxIDUuNTUtNy40MSAxMy40N2gyM2MwLTcuOTItNC40MS0xMi40MS03LjQxLTEzLjQ3IDEuNDctMS4xOSAyLjQxLTMgMi40MS01LjAzIDAtMi40MS0xLjMzLTQuNS0zLjI4LTUuNjIuNDktLjY3Ljc4LTEuNDkuNzgtMi4zOCAwLTIuMjEtMS43OS00LTQtNHoiIGZpbGw9IiNmZmYiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==)}.cg-wrap piece.bishop.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxnIGZpbGw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9Ik0xMS41IDMwYzMuNS0xIDE4LjUtMSAyMiAwTTEyIDMzLjVjNi0xIDE1LTEgMjEgMCIgZmlsbD0ibm9uZSIvPjwvZz48L3N2Zz4=)}.cg-wrap piece.king.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0yMi41IDExLjYzVjZNMjAgOGg1IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PHBhdGggZD0iTTIyLjUgMjVzNC41LTcuNSAzLTEwLjVjMCAwLTEtMi41LTMtMi41cy0zIDIuNS0zIDIuNWMtMS41IDMgMyAxMC41IDMgMTAuNSIgZmlsbD0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiIHN0cm9rZS1saW5lam9pbj0ibWl0ZXIiLz48cGF0aCBkPSJNMTEuNSAzN2M1LjUgMy41IDE1LjUgMy41IDIxIDB2LTdzOS00LjUgNi0xMC41Yy00LTYuNS0xMy41LTMuNS0xNiA0VjI3di0zLjVjLTMuNS03LjUtMTMtMTAuNS0xNi00LTMgNiA1IDEwIDUgMTBWMzd6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTExLjUgMzBjNS41LTMgMTUuNS0zIDIxIDBtLTIxIDMuNWM1LjUtMyAxNS41LTMgMjEgMG0tMjEgMy41YzUuNS0zIDE1LjUtMyAyMSAwIi8+PC9nPjwvc3ZnPg==)}.cg-wrap piece.pawn.black{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIg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TQtMyA2IDUgMTAgNSAxMFYzN3oiIGZpbGw9IiMwMDAiLz48cGF0aCBkPSJNMjAgOGg1IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PHBhdGggZD0iTTMyIDI5LjVzOC41LTQgNi4wMy05LjY1QzM0LjE1IDE0IDI1IDE4IDIyLjUgMjQuNWwuMDEgMi4xLS4wMS0yLjFDMjAgMTggOS45MDYgMTQgNi45OTcgMTkuODVjLTIuNDk3IDUuNjUgNC44NTMgOSA0Ljg1MyA5IiBzdHJva2U9IiNlY2VjZWMiLz48cGF0aCBkPSJNMTEuNSAzMGM1LjUtMyAxNS41LTMgMjEgMG0tMjEgMy41YzUuNS0zIDE1LjUtMyAyMSAwbS0yMSAzLjVjNS41LTMgMTUuNS0zIDIxIDAiIHN0cm9rZT0iI2VjZWNlYyIvPjwvZz48L3N2Zz4=)}:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}html,body{margin:0}:root{--bg:#eceff2;--panel:#fff;--panel-2:#f5f7f9;--line:#dbe0e6;--ink:#161a21;--muted:#5f6977;--accent:#2c6cb0;--accent-soft:#e2ecf7;--white-side:#f7f7f4;--black-side:#2a2d33;--ev-w-bg:#f2f3ef;--ev-w-ink:#1b1d21;--ev-b-bg:#2a2d33;--ev-b-ink:#f2f3f5;--warn-bg:#fdf1d6;--warn-ink:#5c4200;--warn-line:#ecd192;--err-bg:#fbe4e2;--err-ink:#7a1f17;--err-line:#eeb9b3;--info-bg:#e2ecf7;--info-ink:#173b63;--info-line:#b9d0ea;--explore:#9a5c00;--line-bg:#fbf5e8;--line-bg-strong:#f6e7c4;--shadow:0 1px 2px #141e2d0f, 0 4px 18px #141e2d0f;--win:#2a78d6;--draw:#a3a29c;--loss:#e34948;--sans:"IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mono:"IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#111318;--panel:#1a1d24;--panel-2:#20242c;--line:#2b313b;--ink:#e6e9ee;--muted:#8d96a4;--accent:#5ea3ea;--accent-soft:#1d2d40;--ev-w-bg:#e9eae6;--ev-w-ink:#16181c;--ev-b-bg:#0b0c0f;--ev-b-ink:#e9eaee;--warn-bg:#33290f;--warn-ink:#f1d895;--warn-line:#5a4a1c;--err-bg:#3a1c1a;--err-ink:#f4bcb5;--err-line:#613430;--info-bg:#182638;--info-ink:#bcd6f4;--info-line:#2c4561;--explore:#e3b35a;--line-bg:#231e14;--line-bg-strong:#342a14;--shadow:0 1px 2px #0000004d, 0 6px 22px #00000040;--win:#3987e5;--draw:#b4b3ad;--loss:#e66767}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#111318;--panel:#1a1d24;--panel-2:#20242c;--line:#2b313b;--ink:#e6e9ee;--muted:#8d96a4;--accent:#5ea3ea;--accent-soft:#1d2d40;--ev-w-bg:#e9eae6;--ev-w-ink:#16181c;--ev-b-bg:#0b0c0f;--ev-b-ink:#e9eaee;--warn-bg:#33290f;--warn-ink:#f1d895;--warn-line:#5a4a1c;--err-bg:#3a1c1a;--err-ink:#f4bcb5;--err-line:#613430;--info-bg:#182638;--info-ink:#bcd6f4;--info-line:#2c4561;--explore:#e3b35a;--line-bg:#231e14;--line-bg-strong:#342a14;--shadow:0 1px 2px #0000004d, 0 6px 22px #00000040;--win:#3987e5;--draw:#b4b3ad;--loss:#e66767}[hidden]{display:none!important}*{box-sizing:border-box}html,body{background:var(--bg)}body{color:var(--ink);font-family:var(--sans);-webkit-text-size-adjust:100%;padding-block-start:14px;padding-block-end:28px;padding-inline-start:16px;padding-inline-end:16px;font-size:15px;line-height:1.45}button,select,textarea,input{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app{flex-direction:column;gap:14px;max-width:1120px;margin:0 auto;display:flex}.page{flex-direction:column;gap:14px;display:flex}.top{flex-direction:column;gap:10px;display:flex}.brand{flex-wrap:wrap;align-items:center;gap:4px 10px;display:flex}.brand h1{letter-spacing:-.01em;margin:0;font-size:19px;font-weight:700}.brand p{color:var(--muted);margin:0 0 0 auto;font-size:13px}.menu-btn{background:0 0;border:0;border-radius:8px;place-items:center;width:40px;height:40px;margin-left:-8px;display:grid}.menu-btn:hover{background:var(--panel)}.menu-btn svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;width:22px;height:22px}.scrim{z-index:20;opacity:0;pointer-events:none;background:#0a0e1461;transition:opacity .2s;position:fixed;top:0;bottom:0;left:0;right:0}.scrim.open{opacity:1;pointer-events:auto}.drawer{z-index:21;background:var(--panel);border-right:1px solid var(--line);width:min(300px,84vw);box-shadow:var(--shadow);padding:calc(env(safe-area-inset-top,0px) + 16px) 10px 16px;flex-direction:column;gap:4px;transition:transform .22s;display:flex;position:fixed;top:0;bottom:0;left:0;transform:translate(-102%)}.drawer.open{transform:none}.drawer-head{align-items:center;gap:10px;padding:4px 10px 12px;font-size:17px;font-weight:700;display:flex}.logo{box-shadow:0 0 0 1px var(--line);border-radius:8px;flex:none;display:block}.drawer a{color:var(--ink);border-radius:8px;flex-direction:column;gap:1px;padding:10px 12px;text-decoration:none;display:flex}.drawer a:hover{background:var(--panel-2)}.drawer a[aria-current=page]{background:var(--accent-soft)}.drawer a[aria-current=page] strong{color:var(--accent)}.drawer a span{color:var(--muted);font-size:12.5px}.drawer{overflow-y:auto}.site-home{color:inherit;align-items:center;gap:10px;text-decoration:none;display:flex}.monogram{background:var(--accent);width:32px;height:32px;color:var(--panel);letter-spacing:.02em;border-radius:8px;flex:none;place-items:center;font-size:13px;font-weight:700;display:grid}.drawer-head .monogram{width:30px;height:30px}.crumb{color:var(--muted);align-items:center;gap:6px;font-size:14px;display:flex}.crumb b{color:var(--ink);font-weight:600}.nav-group{flex-direction:column;gap:2px;display:flex}.nav-group-btn{text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;width:100%;padding:10px 12px;display:flex}.nav-group-btn:hover{background:var(--panel-2)}.nav-group-btn.has-current strong{color:var(--accent)}.nav-group-btn .logo{border-radius:5px}.nav-group-btn .chev{fill:none;width:18px;height:18px;stroke:var(--muted);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;margin-left:auto;transition:transform .18s}.nav-group-btn[aria-expanded=true] .chev{transform:rotate(90deg)}.drawer a.nav-icon-link{flex-direction:row;align-items:center;gap:10px}.drawer a.nav-icon-link div{flex-direction:column;gap:1px;display:flex}.sun-icon{box-shadow:none}.nav-group-btn .logo,.nav-icon-link .logo{border-radius:5px}.nav-group-items{border-left:1px solid var(--line);flex-direction:column;gap:2px;margin-left:22px;padding-left:10px;display:flex}.hero{padding:28px 2px 8px}.hero h2{letter-spacing:-.02em;margin:0 0 6px;font-size:clamp(28px,6vw,40px);line-height:1.1}.hero p{color:var(--muted);max-width:56ch;margin:0;font-size:16px}.projects h3{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:10px 2px;font-size:13px}.project-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:14px;display:grid}.project-card{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px;flex-direction:column;gap:12px;padding:16px;display:flex}.project-head{align-items:flex-start;gap:12px;display:flex}.project-head h4{margin:0 0 3px;font-size:17px}.project-head p{color:var(--muted);margin:0;font-size:14px}.project-links{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.project-links a{color:var(--ink);background:var(--panel-2);border-radius:8px;flex-direction:column;padding:8px 10px;text-decoration:none;display:flex}.project-links a:hover{background:var(--accent-soft)}.project-links a:hover strong{color:var(--accent)}.project-links span{color:var(--muted);font-size:12.5px}.project-tags{color:var(--muted);font-family:var(--mono);margin:0;font-size:12px}.import{background:var(--panel);border:1px solid var(--line);border-radius:10px;align-items:flex-end;gap:8px;padding:6px 6px 6px 12px;display:flex}.import textarea{resize:none;min-width:0;font-family:var(--mono);background:0 0;border:0;outline:none;flex:1;height:34px;max-height:160px;padding:6px 0;font-size:13.5px;line-height:1.5}.import textarea.collapsed{height:34px;color:var(--muted);cursor:pointer;padding:0;line-height:34px;overflow:hidden}.clear-btn{width:30px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:50%;flex:none;align-self:center;place-items:center;display:grid}.clear-btn:hover{background:var(--panel-2);color:var(--ink)}.clear-btn svg{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;width:16px;height:16px}.import textarea::placeholder{color:var(--muted);font-family:var(--sans);font-size:14.5px}.import:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.btn-primary{background:var(--accent);color:#fff;border:0;border-radius:7px;min-height:34px;padding:7px 16px;font-weight:600}.btn-primary:disabled{opacity:.6;cursor:default}.btn-secondary{border:1px solid var(--line);background:var(--panel-2);border-radius:7px;align-items:center;gap:6px;min-height:34px;padding:6px 12px;font-weight:600;display:inline-flex}.btn-secondary:hover{border-color:var(--accent)}.btn-secondary svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.notice{border:1px solid;border-radius:10px;padding:10px 12px;font-size:14px}.notice.warn{background:var(--warn-bg);color:var(--warn-ink);border-color:var(--warn-line)}.notice.error{background:var(--err-bg);color:var(--err-ink);border-color:var(--err-line)}.notice.info{background:var(--info-bg);color:var(--info-ink);border-color:var(--info-line)}.layout{grid-template-columns:1fr;align-items:start;gap:16px;display:grid}@media (min-width:900px){.layout{grid-template-columns:minmax(0,560px) minmax(0,1fr)}.side{top:calc(env(safe-area-inset-top,0px) + 14px);position:sticky}}.boardcol{flex-direction:column;gap:6px;min-width:0;display:flex}.player{align-items:center;gap:8px;min-height:26px;padding-left:22px;font-size:14px;display:flex}.player .dot{border:1px solid var(--muted);border-radius:50%;flex:none;width:11px;height:11px}.player[data-color=white] .dot{background:#f5f5f2}.player[data-color=black] .dot{background:#1c1e22}.player .pcolor{color:var(--muted);flex:none;font-size:13px}.player .pcolor:has(+.pname):after{content:" ·"}.player .pname{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.player .elo{color:var(--muted);font-family:var(--mono);font-size:12.5px}.boardrow{align-items:stretch;gap:8px;display:flex}.evalbar{--white:50%;background:var(--black-side);border:1px solid var(--line);border-radius:4px;flex:none;width:14px;position:relative;overflow:hidden}.evalbar .fill{height:var(--white);background:var(--white-side);transition:height .35s;position:absolute;bottom:0;left:0;right:0}.evalbar.flipped .fill{top:0;bottom:auto}.evalbar:after{content:"";background:#c83c3c8c;height:1px;position:absolute;top:50%;left:0;right:0}.boardwrap{flex:1;min-width:0}.boardsize{aspect-ratio:1;width:100%;max-width:100%;position:relative}.board{position:absolute;top:0;bottom:0;left:0;right:0}.cg-wrap{border-radius:4px;width:100%;height:100%;overflow:hidden}cg-board{background-color:#dfe5ea;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Crect width='8' height='8' fill='%23dfe5ea'/%3E%3Cpath fill='%237e97aa' d='M1 0h1v1H1zM3 0h1v1H3zM5 0h1v1H5zM7 0h1v1H7zM0 1h1v1H0zM2 1h1v1H2zM4 1h1v1H4zM6 1h1v1H6zM1 2h1v1H1zM3 2h1v1H3zM5 2h1v1H5zM7 2h1v1H7zM0 3h1v1H0zM2 3h1v1H2zM4 3h1v1H4zM6 3h1v1H6zM1 4h1v1H1zM3 4h1v1H3zM5 4h1v1H5zM7 4h1v1H7zM0 5h1v1H0zM2 5h1v1H2zM4 5h1v1H4zM6 5h1v1H6zM1 6h1v1H1zM3 6h1v1H3zM5 6h1v1H5zM7 6h1v1H7zM0 7h1v1H0zM2 7h1v1H2zM4 7h1v1H4zM6 7h1v1H6z'/%3E%3C/svg%3E")}cg-board square.last-move{background-color:#e6c83c6b}cg-board square.selected{background-color:#2c6cb073}cg-board square.move-dest{background:radial-gradient(#143c6473 20%,#0000 22%)}cg-board square.oc.move-dest{background:radial-gradient(#0000 0% 78%,#143c6459 80%)}cg-board square.check{background:radial-gradient(red 0%,#e70000 25%,#a9000000 89%,#9e000000 100%)}.cg-wrap coords{font-family:var(--sans);font-size:10px;font-weight:600}.cg-wrap coords.ranks{top:1px;left:2px}.cg-wrap coords.ranks coord{transform:translateY(0)}.cg-wrap coords coord{color:#56697a}.cg-wrap coords coord:nth-child(2n){color:#eef2f5}.navbar{grid-template-columns:repeat(4,1fr) auto auto;gap:6px;margin-top:4px;padding-left:22px;display:grid}.navbar button{border:1px solid var(--line);background:var(--panel);border-radius:8px;place-items:center;min-height:44px;display:grid}.navbar button:disabled{opacity:.38;cursor:default}.navbar button.labeled{justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:14px;font-weight:600;display:flex}@media (max-width:420px){.navbar button.labeled{padding:0 10px}.navbar button.labeled span{display:none}}.navbar svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.status{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;padding-left:22px;font-size:13px;display:flex}.side{flex-direction:column;gap:14px;min-width:0;display:flex}.card{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px;overflow:hidden}.card-head{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;padding:10px 12px;display:flex}.card-head h2{text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin:0;font-size:13px;font-weight:600}.evalchip{font-family:var(--mono);text-align:center;font-variant-numeric:tabular-nums;background:var(--panel-2);border:1px solid var(--line);border-radius:6px;min-width:62px;padding:2px 9px;font-size:15px;font-weight:600}.evalchip[data-side=w]{background:var(--ev-w-bg);color:var(--ev-w-ink);border-color:var(--line)}.evalchip[data-side=b]{background:var(--ev-b-bg);color:var(--ev-b-ink);border-color:var(--ev-b-bg)}.engine-name{flex-direction:column;flex:130px;min-width:0;display:flex}.engine-name strong{white-space:nowrap;font-size:14px}.engine-name span{color:var(--muted);font-size:12.5px;font-family:var(--mono);font-variant-numeric:tabular-nums}.controls{align-items:center;gap:8px;margin-left:auto;display:flex}.controls select{border:1px solid var(--line);background:var(--panel-2);border-radius:6px;padding:4px 6px;font-size:13px}.switch{cursor:pointer;align-items:center;display:inline-flex;position:relative}.switch input{opacity:0;width:1px;height:1px;position:absolute}.switch .track{background:var(--line);border-radius:11px;width:38px;height:22px;transition:background .2s;position:relative}.switch .track:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #0000004d}.switch input:checked+.track{background:var(--accent)}.switch input:checked+.track:after{transform:translate(16px)}.switch input:disabled+.track{opacity:.45;cursor:not-allowed}.switch input:focus-visible+.track{outline:2px solid var(--accent);outline-offset:2px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.lines{margin:0;padding:0;list-style:none}.line{border-bottom:1px solid var(--line);cursor:pointer;grid-template-columns:16px 64px minmax(0,1fr);align-items:baseline;gap:10px;min-height:44px;padding:9px 12px;display:grid}.line:last-child{border-bottom:0}.line:hover{background:var(--panel-2)}.line .rank{color:var(--muted);font-family:var(--mono);font-size:12px}.line .ev{font-family:var(--mono);text-align:center;font-variant-numeric:tabular-nums;border-radius:5px;padding:1px 0;font-size:13.5px;font-weight:600}.line .ev.w{background:var(--ev-w-bg);color:var(--ev-w-ink);box-shadow:inset 0 0 0 1px var(--line)}.line .ev.b{background:var(--ev-b-bg);color:var(--ev-b-ink)}.line .pv{font-family:var(--mono);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13.5px;line-height:1.55;display:-webkit-box;overflow:hidden}.line .pv .num{color:var(--muted)}.line .pv .san.first{color:var(--accent);font-weight:600}.line.pending{cursor:default}.line.pending .ev{color:var(--muted)}.skel{background:var(--panel-2);border-radius:5px;width:70%;height:10px;animation:1.2s ease-in-out infinite pulse;display:inline-block}@keyframes pulse{50%{opacity:.45}}.line.empty{color:var(--muted);cursor:default;font-size:14px;display:block}.lines{min-height:389px}.lines .line{height:61px;overflow:hidden}.lines .line.played{height:84px}.lines .line.empty{height:auto}.gamehead{border-bottom:1px solid var(--line);align-items:center;gap:8px;min-height:58px;padding:8px 12px;display:flex}.gamehead-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.gamehead-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:14.5px;overflow:hidden}.gamehead-text span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;overflow:hidden}.gamehead.exploring{background:var(--panel-2)}.gamehead.exploring .gamehead-text span{color:var(--explore)}.gamehead button{border:1px solid var(--line);background:var(--panel);color:var(--ink);white-space:nowrap;border-radius:6px;min-height:32px;padding:4px 10px;font-size:13px}.moves{height:300px;font-family:var(--mono);font-variant-numeric:tabular-nums;grid-template-columns:38px 1fr 1fr;align-content:start;padding:6px 6px 10px;font-size:14px;display:grid;overflow-y:auto}.moves .mn{color:var(--muted);text-align:right;padding:5px 6px}.moves .mv{text-align:left;font-family:var(--mono);background:0 0;border:0;border-radius:5px;padding:5px 8px;font-size:14px}.moves .mv:hover{background:var(--panel-2)}.moves .mv.cur{background:var(--accent);color:#fff}.moves .mv.explore{color:var(--explore);font-style:italic}.moves .mv.explore.cur{background:var(--explore);color:var(--panel);font-style:normal}.moves .mv.ghost{color:var(--muted);cursor:default}.moves .res{text-align:center;color:var(--muted);grid-column:1/-1;padding:8px;font-weight:600}.nomoves{color:var(--muted);font-family:var(--sans);grid-column:1/-1;margin:6px;font-size:14px}.fenrow{border-top:1px solid var(--line);align-items:center;gap:6px;padding:10px 12px;display:flex}.fenrow label{letter-spacing:.07em;text-transform:uppercase;color:var(--muted);font-size:11.5px;font-weight:600}.fenrow input{min-width:0;font-family:var(--mono);border:1px solid var(--line);background:var(--panel-2);border-radius:6px;flex:1;padding:5px 7px;font-size:12px}.fenrow button{border:1px solid var(--line);background:var(--panel);border-radius:6px;min-height:30px;padding:4px 10px;font-size:13px}.howto{color:var(--muted);font-size:13.5px}.howto summary{cursor:pointer;width:max-content;max-width:100%;padding:2px 0}.howto-body{background:var(--panel);border:1px solid var(--line);color:var(--ink);border-radius:10px;margin-top:6px;padding:10px 12px}.howto-body p{margin:0 0 6px}.howto-body pre{font-family:var(--mono);background:var(--panel-2);border-radius:6px;margin:0 0 8px;padding:6px 8px;font-size:13px;overflow-x:auto}.howto-body ul{flex-direction:column;gap:3px;margin:0 0 6px;padding-left:18px;display:flex}.howto-body code,.notice code{font-family:var(--mono);background:var(--panel-2);border-radius:4px;padding:0 4px;font-size:.92em}.explore-actions{flex:none;gap:6px;display:flex}.moves .moves-tools{grid-column:1/-1;justify-content:flex-end;padding:0 4px 4px;display:flex}.moves .moves-tools button{color:var(--accent);font-family:var(--sans);background:0 0;border:0;padding:2px 4px;font-size:12.5px;font-weight:600}.moves .moves-tools button:hover{text-decoration:underline}.moves .vars{flex-direction:column;grid-column:1/-1;gap:4px;margin:3px 2px 5px;display:flex}.moves .var{font-family:var(--mono);background:var(--line-bg);border-left:3px solid var(--explore);border-radius:0 6px 6px 0;grid-template-columns:20px minmax(0,1fr);align-items:start;padding:2px 6px 2px 2px;font-size:13.5px;line-height:1.9;display:grid}.moves .var.active{background:var(--line-bg-strong)}.moves .var-toggle{width:20px;height:25px;color:var(--explore);background:0 0;border:0;border-radius:4px;place-items:center;padding:0;display:grid}.moves .var-toggle:hover{background:color-mix(in oklab, var(--explore) 18%, transparent)}.moves .var-toggle svg{fill:none;stroke:currentColor;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;width:13px;height:13px;transition:transform .12s}.moves .var-toggle[aria-expanded=true] svg{transform:rotate(90deg)}.moves .var-body{flex-direction:column;gap:3px;min-width:0;display:flex}.moves .var-kids{flex-direction:column;gap:3px;margin:1px 0;display:flex}.moves .var .var{border-left:2px solid color-mix(in oklab, var(--explore) 55%, transparent);background:0 0;border-radius:0;padding:0 0 0 2px}.moves .var .var.active{border-left-color:var(--explore);background:0 0}.moves .var-summary{text-align:left;font:inherit;color:var(--explore);text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;min-width:0;padding:0;overflow:hidden}.moves .var-summary .pv-san{font-weight:500}.moves .var-count{font-family:var(--sans);color:var(--muted);margin-left:8px;font-size:11.5px}.moves .var .vn{color:var(--muted);margin-right:3px}.moves .var .mv.v{color:var(--explore);padding:1px 4px;font-size:13.5px;font-weight:500}.moves .var .mv.v.cur{background:var(--explore);color:var(--panel)}.line.played{cursor:default;background:var(--panel-2)}.line.played:hover{background:var(--panel-2)}.line.played .rank{color:var(--accent)}.line.played.unlisted{background:var(--line-bg-strong);box-shadow:inset 3px 0 0 var(--explore)}.line.played.unlisted .san.first{color:var(--explore)}.line.played .who{font-family:var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);align-items:center;gap:6px;margin-bottom:1px;font-size:11.5px;font-weight:600;display:flex}.line.played .pv{-webkit-line-clamp:3}.tag{text-transform:none;letter-spacing:0;border-radius:4px;padding:0 6px;font-size:11.5px;font-weight:600}.tag.ok{background:var(--accent-soft);color:var(--accent)}.tag.off{background:var(--explore);color:var(--panel)}.foot{color:var(--muted);text-align:center;font-size:12px}@media (max-width:420px){.line{grid-template-columns:12px 58px minmax(0,1fr);gap:8px;padding-inline-start:10px;padding-inline-end:10px}.player,.navbar,.status{padding-left:0}.evalbar{width:10px}.boardrow{gap:6px}}@media (prefers-reduced-motion:reduce){.evalbar .fill,.switch .track,.switch .track:after,.drawer,.scrim,.seg,.pie-slice,.pie-legend li{transition:none}.skel{animation:none}}.stats-form{flex-wrap:wrap;align-items:flex-end;gap:12px 16px;padding:14px;display:flex;overflow:visible}.field{border:0;flex-direction:column;gap:5px;min-width:0;margin:0;padding:0;display:flex}.field>span,.field legend{letter-spacing:.05em;text-transform:uppercase;color:var(--muted);padding:0;font-size:12px;font-weight:600}.stats-form>.field:first-child{flex:200px}.field input{border:1px solid var(--line);background:var(--panel-2);border-radius:7px;outline:none;min-height:36px;padding:6px 10px}.field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.dates{flex-wrap:wrap;gap:12px;display:flex}.stats-form .btn-primary{min-height:36px}.seg-control{flex-wrap:wrap;gap:4px;display:flex}.seg-control button{border:1px solid var(--line);background:var(--panel-2);border-radius:7px;min-height:36px;padding:6px 11px;font-size:14px}.seg-control button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}.chips button{background:var(--panel)}.chips button span{color:var(--muted);font-family:var(--mono);margin-left:3px;font-size:12.5px}.chips button[aria-pressed=true] span{color:inherit;opacity:.8}.stats-note{color:var(--muted);margin:0;font-size:14px}.stats-head{flex-wrap:wrap;align-items:baseline;gap:4px 10px;display:flex}.stats-head strong{font-size:17px}.stats-head span{color:var(--muted);font-size:13px}.tiles{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;display:grid}.tile{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px;flex-direction:column;gap:2px;padding:12px 14px;display:flex}.tile-label{color:var(--muted);font-size:13px}.tile-value{letter-spacing:-.01em;font-size:30px;font-weight:600;line-height:1.2}.tile-split{gap:14px;display:flex}.tile-split .player{font-variant-numeric:tabular-nums;min-height:22px;padding-left:0;font-size:13.5px}.legend{color:var(--muted);gap:12px;margin-left:auto;font-size:12.5px;display:flex}.legend span{align-items:center;gap:5px;display:inline-flex}.sw{border-radius:3px;width:10px;height:10px;display:inline-block}.sw.win,.seg.win{background:var(--win)}.sw.draw,.seg.draw{background:var(--draw)}.sw.loss,.seg.loss{background:var(--loss)}.tile-split .player{color:var(--muted);gap:5px;font-weight:400}.tile-split .player b{color:var(--ink);font-weight:600}.card-head .filters{flex-wrap:wrap;gap:8px 14px;margin-left:auto;display:flex}.card-head>.seg-control.small{margin-left:auto}.seg-control.small button{background:var(--panel);min-height:32px;padding:4px 10px;font-size:13px}.seg-control.small button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}.chart-body{flex-direction:column;gap:10px;padding:12px;display:flex}.chart-body>.legend{margin-left:0}.axis-note{text-align:center;color:var(--muted);margin:0;font-size:12.5px}.dim{opacity:.38}.seg,.pie-slice,.pie-legend li{transition:opacity .12s}.tip{z-index:30;pointer-events:none;background:var(--ink);color:var(--panel);white-space:nowrap;box-shadow:var(--shadow);font-variant-numeric:tabular-nums;border-radius:7px;padding:6px 9px;font-size:12.5px;line-height:1.5;position:fixed;transform:translate(-50%,calc(-100% - 12px))}.tip .tip-row{opacity:.72;align-items:center;gap:6px;display:inline-flex}.tip .tip-row.on{opacity:1;font-weight:600}.tip .sw{outline:1px solid #80808080}.pies{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px 16px;padding:12px;display:grid}.pie-card h3{text-align:center;margin:0 0 6px;font-size:14px;font-weight:600}.pie{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 20px;display:flex}.pies .pie{flex-direction:column}.pie-figure{aspect-ratio:1;flex:none;width:168px;position:relative}.pie-figure svg{width:100%;height:100%;display:block;overflow:visible}.pie-slice{stroke:var(--panel);stroke-width:2px;vector-effect:non-scaling-stroke;stroke-linejoin:round;cursor:default;outline:none}circle.pie-slice{stroke-width:22px;vector-effect:none}.pie-slice:focus-visible{opacity:1;filter:drop-shadow(0 0 2px var(--accent))}.pie-empty{stroke:var(--panel-2)}.pie-center{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.pie-center strong{font-size:24px;font-weight:600;line-height:1.1}.pie-center span{color:var(--muted);font-size:12px}.pie-legend{flex-direction:column;gap:3px;min-width:190px;margin:0;padding:0;font-size:13.5px;list-style:none;display:flex}.pie-legend li{grid-template-columns:12px minmax(0,1fr) auto 40px;align-items:center;gap:8px;display:grid}.pie-legend .pl-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pie-legend .pl-n{font-variant-numeric:tabular-nums;text-align:right}.pie-legend .pl-p{font-variant-numeric:tabular-nums;text-align:right;color:var(--muted)}.pies .pie-legend{min-width:160px}.rbars{grid-template-columns:34px minmax(0,1fr);gap:6px;display:grid}.rbars-y{height:220px;color:var(--muted);font-size:11px;position:relative}.rbars-y span{line-height:1;position:absolute;right:0;transform:translateY(50%)}.rbars-plot{border-bottom:1px solid var(--muted);align-items:stretch;gap:3px;height:220px;display:flex;position:relative}.rbars-plot .grid{border-top:1px dashed var(--line);pointer-events:none;height:0;position:absolute;left:0;right:0}.rbar{flex-direction:column-reverse;flex:1 1 0;gap:2px;min-width:0;max-width:56px;margin:0 auto;display:flex;position:relative}.rbar .seg{cursor:default;border-radius:3px;flex-basis:0;min-width:0;min-height:2px}.rbars-x{gap:3px;margin-top:4px;display:flex}.rbars-x>div{font-variant-numeric:tabular-nums;white-space:nowrap;flex-direction:column;flex:1 1 0;align-items:center;min-width:0;max-width:56px;margin:0 auto;font-size:11.5px;display:flex;overflow:visible}.rbars-x small{color:var(--muted);font-size:11px}.table-wrap{overflow-x:auto}.openings{border-collapse:collapse;width:100%;font-size:13.5px}.openings th{text-align:left;letter-spacing:.04em;color:var(--muted);border-bottom:1px solid var(--line);white-space:nowrap;padding:8px;font-size:11.5px;font-weight:600}.openings td{border-bottom:1px solid var(--line);padding:7px 8px}.openings tr:last-child td{border-bottom:0}.openings .num{text-align:right;font-variant-numeric:tabular-nums}.openings .muted{color:var(--muted)}.openings .ranked{font-weight:700}.openings th.ranked{color:var(--ink)}.openings .oname{min-width:180px}.openings .barcol{width:22%;min-width:90px}.openings .short{text-decoration:none;display:none}.minibar{gap:2px;height:10px;display:flex}.minibar .seg{border-radius:2px;min-width:2px}@media (max-width:560px){.openings .barcol,.openings .rank,.openings .long{display:none}.openings .short{display:inline}.openings th,.openings td{padding-inline-start:5px;padding-inline-end:5px}.openings{font-size:13px}.pies .pie{flex-flow:row;justify-content:flex-start}.pies .pie-figure{width:120px}.pies .pie-center strong{font-size:20px}.pies .pie-legend{flex:1;min-width:0}.pie-card h3{text-align:left}.openings .oname{min-width:0;padding-left:12px}.card-head .filters,.card-head>.seg-control.small{margin-left:0}}.line .pv .san.pick{border-radius:4px;margin:0 -2px;padding:0 2px}.line .pv .san.pick:hover{background:var(--accent-soft);color:var(--accent)}.cg-wrap.promo{z-index:5;background:#0a0e1473;border-radius:4px;position:absolute;top:0;bottom:0;left:0;right:0}.cg-wrap.promo button{background:radial-gradient(#f3f5f7 20%,#9fb0be 85%);border:0;border-radius:50%;width:12.5%;height:12.5%;padding:0;transition:border-radius .12s,background .12s;position:absolute;box-shadow:0 1px 4px #0006}.cg-wrap.promo button:hover{background:radial-gradient(#fff 20%,#e0a93a 90%);border-radius:8%}.cg-wrap.promo button:focus-visible{background:radial-gradient(#fff 20%,#e0a93a 90%);border-radius:8%}.cg-wrap.promo piece{width:100%;height:100%;transition:transform .12s;display:block;position:static;transform:scale(.82)}.cg-wrap.promo button:hover piece{transform:scale(1)}.linkish{color:var(--accent);background:0 0;border:0;padding:4px 0;font-size:13px;font-weight:600}.linkish:hover{text-decoration:underline}.spare-row{background:var(--panel);border:1px solid var(--line);border-radius:8px;grid-template-columns:repeat(8,1fr);gap:0;height:auto;display:grid;overflow:visible}.spare-row button{aspect-ratio:1;touch-action:none;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.spare-row button:hover{background:var(--panel-2)}.spare-row button.on{background:var(--accent-soft);box-shadow:inset 0 0 0 2px var(--accent)}.spare-row piece{cursor:grab;width:88%;height:88%;display:block;position:static}.spare-row svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linejoin:round;stroke-linecap:round;width:44%;height:44%}.spare-row .tool:first-child svg{fill:currentColor;stroke:none}.boardsize.placing cg-board{cursor:crosshair}.editor .boardcol{gap:8px}.editor-hint{color:var(--muted);margin:0;font-size:13px}.editor-body{flex-direction:column;gap:14px;padding:12px;display:flex}.castles{grid-template-columns:1fr 1fr;gap:6px 12px;font-size:14px;display:grid}.castles label{align-items:center;gap:7px;min-height:30px;display:flex}.castles label.off{color:var(--muted)}.castles input{width:17px;height:17px;accent-color:var(--accent)}.editor-actions{flex-wrap:wrap;gap:6px;display:flex}.editor-actions button,.editor-foot button:not(.btn-primary){border:1px solid var(--line);background:var(--panel-2);border-radius:7px;min-height:36px;padding:6px 12px;font-size:14px}.field input.mono{font-family:var(--mono);font-size:12.5px}.editor-foot{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding:12px;display:flex}.editor-foot .btn-primary{min-height:36px}:root{--rv-blunder:#d03b3b;--rv-only:#2a78d6;--rv-sacrifice:#13a06d}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--rv-blunder:#e66767;--rv-only:#5ea3ea;--rv-sacrifice:#2cc28b}}:root[data-theme=dark]{--rv-blunder:#e66767;--rv-only:#5ea3ea;--rv-sacrifice:#2cc28b}.glyph{font-family:var(--sans);letter-spacing:-.02em;margin-left:1px;font-weight:800}.glyph.blunder{color:var(--rv-blunder)}.glyph.only{color:var(--rv-only)}.glyph.sacrifice{color:var(--rv-sacrifice)}.moves .mv .glyph{color:#fff;vertical-align:1px;border-radius:10px;place-items:center;min-width:19px;height:19px;margin-left:6px;padding:0 4px;font-size:11.5px;line-height:1;display:inline-grid}.moves .mv .glyph.blunder{background:var(--rv-blunder)}.moves .mv .glyph.only{background:var(--rv-only)}.moves .mv .glyph.sacrifice{background:var(--rv-sacrifice)}.moves .mv.cur .glyph{box-shadow:0 0 0 2px #fff}.moves .mv.rv-blunder:not(.cur){background:color-mix(in oklab, var(--rv-blunder) 16%, transparent)}.moves .mv.rv-only:not(.cur){background:color-mix(in oklab, var(--rv-only) 16%, transparent)}.moves .mv.rv-sacrifice:not(.cur){background:color-mix(in oklab, var(--rv-sacrifice) 16%, transparent)}.lane{background:var(--panel);border:1px solid var(--line);border-radius:10px;flex-direction:column;gap:4px;padding:6px 12px;display:flex}.lane-row{align-items:center;gap:12px;display:flex}.lane-player{flex:1 1 0;min-width:0}.lane-player .player{min-height:22px;padding-left:0}.lane-player .player.right{flex-direction:row-reverse}.lane-player .player.right .pcolor:has(+.pname):after{content:none}.lane-player .player.right .pcolor:has(+.pname):before{content:"· "}.lane-metrics{flex-wrap:wrap;justify-content:center;gap:6px 18px;display:flex}.lane-metric{grid-template-columns:28px auto 28px;align-items:center;gap:6px;font-size:13px;display:grid}.lane-label{color:var(--muted);white-space:nowrap;font-size:12.5px}.lane-val{text-align:center;font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:5px;padding:2px 0;font-size:14px;font-weight:600}.lane-val.muted{color:var(--muted);font-weight:400}.lane-val.lead{color:var(--accent)}button.lane-val{cursor:pointer;background:var(--panel-2);box-shadow:inset 0 0 0 1px var(--line)}button.lane-val:hover{box-shadow:inset 0 0 0 1px var(--accent)}.lane-status{color:var(--muted);align-items:center;gap:10px;font-size:12px;display:flex}.lane-progress{background:var(--panel-2);border-radius:2px;flex:1;height:3px;overflow:hidden}.lane-progress i{background:var(--accent);height:100%;transition:width .3s;display:block}@media (max-width:700px){.lane-row{flex-wrap:wrap}.lane-metrics{flex-basis:100%;order:3;grid-template-columns:1fr 1fr;gap:4px 12px;display:grid}.lane-metric{grid-template-columns:26px 1fr 26px}.lane-label{text-align:center}}cg-board square.rv-blunder{background-color:#d03b3b61}cg-board square.rv-only{background-color:#2a78d657}cg-board square.rv-sacrifice{background-color:#13a06d61}.rv-badge{z-index:3;pointer-events:none;min-width:4.4%;height:4.4%;font-family:var(--sans);color:#fff;letter-spacing:-.03em;border-radius:999px;place-items:center;padding:0 .5%;font-size:clamp(10px,2.3cqi,15px);font-weight:800;display:grid;position:absolute;transform:translate(-72%,-28%);box-shadow:0 1px 3px #00000073,0 0 0 2px #ffffffd9}.boardsize{container-type:inline-size}.rv-badge.blunder{background:#d03b3b}.rv-badge.only{background:#2a78d6}.rv-badge.sacrifice{background:#13a06d}.tag.rv{color:#fff}.tag.rv.blunder{background:var(--rv-blunder)}.tag.rv.only{background:var(--rv-only)}.tag.rv.sacrifice{background:var(--rv-sacrifice)}.dbar{cursor:default;outline-offset:1px;flex-direction:column-reverse;flex:1 1 0;min-width:0;max-width:40px;margin:0 auto;display:flex;position:relative}.dbar:hover{background:color-mix(in oklab, var(--ink) 5%, transparent)}.dbar:focus-visible{background:color-mix(in oklab, var(--ink) 5%, transparent)}.dbar .seg{border-radius:0;flex:none;min-height:2px}.dbar .seg+.seg{border-bottom:1px solid var(--panel)}.dbar .seg:last-child{border-radius:3px 3px 0 0}.rbars-x>.dlabel{max-width:40px;overflow:visible}.rbars-x>.dlabel span{color:var(--muted);font-size:11px}.op-actions{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.op-actions button:not(.btn-primary){border:1px solid var(--line);background:var(--panel);border-radius:8px;min-height:40px;padding:6px 12px;font-size:14px;font-weight:600}.op-actions button:disabled{opacity:.4;cursor:default}.op-actions .btn-primary{min-height:40px;margin-left:auto}.op-current{flex-direction:column;gap:8px;padding:12px;display:flex}.op-title{align-items:flex-start;gap:10px;display:flex}.op-title h2{letter-spacing:-.01em;margin:0;font-size:18px;font-weight:700;line-height:1.3}.op-eco{font-family:var(--mono);background:var(--accent-soft);color:var(--accent);border-radius:6px;flex:none;margin-top:2px;padding:2px 7px;font-size:12.5px;font-weight:600}.op-note{color:var(--muted);margin:0;font-size:13px}.op-line{font-family:var(--mono);font-size:13.5px;line-height:1.9}.op-line .num{color:var(--muted);margin:0 2px 0 4px}.op-line>span:first-child .num{margin-left:0}.op-line button{font-family:var(--mono);background:0 0;border:0;border-radius:5px;padding:1px 5px;font-size:13.5px}.op-line button:hover{background:var(--panel-2)}.op-line button.cur{background:var(--accent);color:#fff}.op-count{color:var(--muted);margin-left:auto;font-size:12.5px}.op-empty{color:var(--muted);margin:0;padding:12px;font-size:14px}.op-next,.op-results{margin:0;padding:0;list-style:none;overflow-y:auto}.op-next{height:330px}.op-results{border-top:1px solid var(--line);max-height:300px}.op-next li+li,.op-results li+li{border-top:1px solid var(--line)}.op-next button{text-align:left;background:0 0;border:0;grid-template-columns:76px minmax(0,1fr) auto;align-items:baseline;gap:10px;width:100%;min-height:44px;padding:8px 12px;display:grid}.op-next button:hover,.op-results button:hover{background:var(--panel-2)}.op-san{font-family:var(--mono);color:var(--accent);white-space:nowrap;font-size:14px;font-weight:600}.op-name{font-size:14px}.op-name.via{color:var(--muted)}.op-via{font-size:12.5px}.op-lines{font-family:var(--mono);color:var(--muted);background:var(--panel-2);border-radius:10px;padding:1px 8px;font-size:12px}.op-search{padding:12px}.op-search .field input{width:100%}.op-results button{text-align:left;background:0 0;border:0;align-items:flex-start;gap:10px;width:100%;padding:8px 12px;display:flex}.op-rname{flex-direction:column;gap:1px;min-width:0;display:flex}.op-rname strong{font-size:14px;font-weight:600}.op-rname span{font-family:var(--mono);color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}@media (max-width:420px){.op-next button{grid-template-columns:64px minmax(0,1fr) auto;gap:8px}.op-actions .btn-primary{flex:100%;margin-left:0}}.book-icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linejoin:round;stroke-linecap:round;flex:none;width:14px;height:14px}.moves .mv .book-icon{vertical-align:-2px;color:var(--muted);margin-left:6px}.moves .mv.cur .book-icon{color:inherit}.lane-book{cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:0;display:inline-flex}.lane-book:hover{color:var(--ink);text-decoration:underline}.bookbar{flex-direction:column;gap:6px;height:78px;padding:8px 12px;display:flex}.bk-head{min-width:0;color:var(--muted);align-items:center;gap:8px;display:flex}.bk-head strong{min-width:0;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:14px;overflow:hidden}.bk-head .op-eco{margin:0 6px 0 0;padding:1px 6px;font-size:12px}.bk-link{color:var(--accent);white-space:nowrap;background:0 0;border:0;flex:none;padding:0;font-size:12.5px;font-weight:600}.bk-link:hover{text-decoration:underline}.bk-moves{white-space:nowrap;scrollbar-width:thin;align-items:center;gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.bk-note{color:var(--muted);font-size:13px}.bk-move{border:1px solid var(--line);background:var(--panel-2);min-height:28px;font-family:var(--mono);border-radius:6px;flex:none;padding:2px 9px;font-size:13px}.bk-move:hover{border-color:var(--accent)}.bk-move.played{background:var(--accent-soft);border-color:var(--accent);color:var(--accent);font-weight:600}.sc-root,.sc-tip{--sc-bg:#0a0e1b;--sc-bg-2:#101733;--sc-raise:#171e3b;--sc-ink:#f5f1e8;--sc-ink-dim:#939bba;--sc-hair:#f5f1e824;--sc-morning:#ee9150;--sc-afternoon:#f4d06f;--sc-evening:#cc6a8e;--sc-night:#6f7fd0;--sc-display:"Fraunces", Georgia, "Times New Roman", serif;--sc-text:"Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif}.sc-root,.sc-root *,.sc-root :before,.sc-root :after,.sc-tip,.sc-tip *{box-sizing:border-box}.sc-root{--sc-accent:var(--sc-morning);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background-color:var(--sc-bg);background-image:radial-gradient(120% 70% at 50% -8%, var(--sc-bg-2), var(--sc-bg) 62%);color:var(--sc-ink);font-family:var(--sc-text);text-align:left;background-repeat:no-repeat;padding:clamp(2rem,5vh,4rem) 16px clamp(3rem,9vh,6rem);font-size:1rem;line-height:1.6}.sc-root :where(button,select,input){font:inherit;color:inherit}.sc-h2{font-family:var(--sc-display);text-wrap:balance;margin:0 0 .8rem;font-size:1.55rem;font-weight:450;line-height:1.2}.sc-p{max-width:62ch;margin:0 0 .9rem}.sc-root strong{font-variant-numeric:tabular-nums;font-weight:600}.sc-zone-morning{background:var(--sc-morning)}.sc-zone-afternoon{background:var(--sc-afternoon)}.sc-zone-evening{background:var(--sc-evening)}.sc-zone-night{background:var(--sc-night)}.sc-chip{border-radius:50%;flex:none;width:.85rem;height:.85rem;display:inline-block}.sc-chip-lg{width:1.5rem;height:1.5rem}.sc-clock{text-align:center;flex-direction:column;align-items:center;width:min(100%,40rem);margin:0 auto 7rem;display:flex}.sc-city-row{color:var(--sc-ink-dim);flex-wrap:wrap;justify-content:center;align-items:baseline;gap:.5rem .75rem;margin-bottom:5vh;display:flex}.sc-city-row select,.sc-city-row input{border:0;border-bottom:1px solid var(--sc-hair);color:var(--sc-ink);background:0 0;border-radius:0;outline:none;padding:.2rem .1rem;font-size:1rem}.sc-city-row select option{background:var(--sc-raise);color:var(--sc-ink)}.sc-city-row select:focus-visible{border-bottom-color:var(--sc-accent)}.sc-city-row input:focus-visible{border-bottom-color:var(--sc-accent)}.sc-custom{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.sc-custom input{width:7rem}.sc-custom .sc-tz{width:12rem}.sc-time{font-family:var(--sc-display);font-variant-numeric:tabular-nums;letter-spacing:.01em;white-space:nowrap;font-size:clamp(2.9rem,13vw,5.6rem);font-weight:450;line-height:1}.sc-ampm{font-family:var(--sc-text);vertical-align:.4em;color:var(--sc-accent);margin-left:.2em;font-size:.3em;font-weight:500;transition:color .9s}.sc-where{max-width:62ch;margin:1.1rem 0 0}.sc-zone-name{color:var(--sc-accent);cursor:help;background:0 0;border:0;border-bottom:1px dotted;padding:0;font-weight:600;transition:color .9s}.sc-zone-name:focus-visible{outline:2px solid var(--sc-ink);outline-offset:3px}.sc-swatch:focus-visible{outline:2px solid var(--sc-ink);outline-offset:3px}.sc-real{max-width:62ch;color:var(--sc-ink-dim);font-variant-numeric:tabular-nums;margin:.1rem 0 0;font-size:.9rem}.sc-arc{width:min(100%,32rem);margin-top:4.5vh;position:relative}.sc-arc-track{background:var(--sc-hair);border-radius:6px;height:12px;position:relative;overflow:hidden}.sc-arc-seg{cursor:help;position:absolute;top:0;bottom:0}.sc-arc-dot{background:var(--sc-ink);width:14px;height:14px;box-shadow:0 0 0 3px var(--sc-bg), 0 0 12px 3px #f5f1e873;pointer-events:none;border-radius:50%;position:absolute;top:6px;transform:translate(-50%,-50%)}.sc-arc-labels{height:1.4rem;margin-top:.5rem;position:relative}.sc-arc-labels span{color:var(--sc-ink-dim);white-space:nowrap;font-size:.8rem;position:absolute;top:0;transform:translate(-50%)}.sc-arc-labels span.sc-l{transform:none}.sc-arc-labels span.sc-r{transform:translate(-100%)}.sc-arc-mark{cursor:help;border-radius:4px;outline:none;padding:0 .15rem}.sc-arc-mark:hover{color:var(--sc-ink)}.sc-arc-mark:focus-visible{color:var(--sc-ink)}.sc-arc-mark:focus-visible{box-shadow:0 0 0 2px var(--sc-hair)}.sc-arc-mark:after{content:attr(data-tip);background:var(--sc-raise);color:var(--sc-ink);border:1px solid var(--sc-hair);white-space:nowrap;opacity:0;pointer-events:none;z-index:5;border-radius:6px;padding:.35rem .55rem;font-size:.8rem;transition:opacity .12s;position:absolute;top:calc(100% + .45rem);left:50%;transform:translate(-50%);box-shadow:0 8px 20px #00000073}.sc-arc-mark.sc-l:after{left:0;transform:none}.sc-arc-mark.sc-r:after{left:auto;right:0;transform:none}.sc-arc-mark:hover:after,.sc-arc-mark:focus:after{opacity:1}.sc-arc-note{max-width:62ch;color:var(--sc-ink-dim);margin:.4rem 0 0;font-size:.85rem}.sc-explain{flex-direction:column;gap:3.6rem;width:min(100%,34rem);margin:0 auto;display:flex}.sc-anchors{margin:1.2rem 0 1.6rem;padding:0;list-style:none}.sc-anchors li{border-top:1px solid var(--sc-hair);grid-template-columns:6.6rem minmax(0,1fr);gap:0 1rem;padding-block-start:.95rem;padding-block-end:.95rem;display:grid}.sc-anchors li:last-child{border-bottom:1px solid var(--sc-hair)}.sc-a-time{font-family:var(--sc-display);font-variant-numeric:tabular-nums;cursor:help;align-self:start;align-items:center;gap:.55rem;font-size:1.5rem;line-height:1.2;display:flex}.sc-a-name{font-weight:600}.sc-a-text{max-width:62ch;margin:0}.sc-a-live{color:var(--sc-ink-dim);font-variant-numeric:tabular-nums;margin-top:.2rem;font-size:.88rem;display:block}.sc-legend{grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));gap:.6rem;margin-top:1.1rem;display:grid}.sc-swatch{border:1px solid var(--sc-hair);text-align:left;cursor:help;background:0 0;border-radius:10px;align-items:center;gap:.7rem;padding:.7rem .85rem;display:flex}.sc-swatch:hover{border-color:var(--sc-ink-dim)}.sc-swatch b{font-weight:600;display:block}.sc-swatch small{color:var(--sc-ink-dim);font-size:.82rem;display:block}.sc-days{gap:1.7rem;margin:1.3rem 0 2rem;display:grid}.sc-day-head{flex-wrap:wrap;justify-content:space-between;gap:.1rem 1rem;margin-bottom:.6rem;display:flex}.sc-day-head b{font-weight:600}.sc-day-head span{color:var(--sc-ink-dim);font-variant-numeric:tabular-nums;font-size:.9rem}.sc-bar{background:var(--sc-hair);border-radius:7px;height:14px;position:relative;overflow:hidden}.sc-z{cursor:help;position:absolute;top:0;bottom:0}.sc-ticks{height:2.7rem;margin-top:.3rem;position:relative}.sc-tick{font-variant-numeric:tabular-nums;white-space:nowrap;flex-direction:column;align-items:center;padding-top:.4rem;line-height:1.25;display:flex;position:absolute;top:0;transform:translate(-50%)}.sc-tick:before{content:"";background:var(--sc-ink-dim);width:1px;height:.3rem;position:absolute;top:0;left:50%}.sc-tick.sc-edge-l{align-items:flex-start;transform:none}.sc-tick.sc-edge-l:before{left:0}.sc-tick.sc-edge-r{align-items:flex-end;transform:translate(-100%)}.sc-tick.sc-edge-r:before{left:auto;right:0}.sc-tick b{font-size:.8rem;font-weight:600}.sc-tick i{color:var(--sc-ink-dim);font-size:.75rem;font-style:normal}.sc-tablewrap{margin:.4rem 0 1.2rem;overflow-x:auto}.sc-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;min-width:22rem;font-size:.92rem}.sc-table th,.sc-table td{border-top:1px solid var(--sc-hair);text-align:right;vertical-align:bottom;padding:.6rem .5rem;font-weight:400}.sc-table thead th{color:var(--sc-ink-dim);white-space:nowrap;border-top:0;font-size:.82rem;font-weight:500;line-height:1.3}.sc-table tbody th{text-align:left;padding-left:0;padding-right:.75rem;line-height:1.35}.sc-table td{white-space:nowrap}.sc-table tbody th .sc-chip{vertical-align:-.05rem;cursor:help;margin-right:.5rem}.sc-table td:last-child,.sc-table thead th:last-child{padding-right:0}.sc-tip{z-index:9999;background:var(--sc-raise);max-width:min(19rem,100vw - 24px);color:var(--sc-ink);font-family:var(--sc-text);border:1px solid var(--sc-hair);text-align:left;pointer-events:none;border-radius:8px;padding:.7rem .85rem;font-size:.88rem;line-height:1.45;position:fixed;box-shadow:0 10px 28px #00000080}.sc-tip-head{align-items:center;gap:.5rem;margin-bottom:.3rem;display:flex}.sc-tip-head b{font-weight:600}@media (prefers-reduced-motion:reduce){.sc-root *{transition:none!important}}
