/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@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-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;--tw-ease:initial}}}:root{font-family:var(--cm-font-body);color:var(--cm-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;line-height:1.5}*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{margin:0;overflow:hidden}:root,[data-theme=study]{--cm-bg-app:#faf8f2;--cm-bg-surface:#fff;--cm-bg-surface-alt:#f5f0e8;--cm-bg-hover:#f3f4f6;--cm-bg-active:#e5e7eb;--cm-bg-sidebar:#1e293b;--cm-bg-sidebar-hover:#ffffff0d;--cm-bg-sidebar-active:#ffffff1a;--cm-bg-overlay:#00000080;--cm-bg-overlay-light:#0000004d;--cm-bg-scrim:#00000014;--cm-sidebar-text:#e2e8f0;--cm-text-primary:#1e293b;--cm-text-secondary:#374151;--cm-text-tertiary:#475569;--cm-text-muted:#6b7280;--cm-text-faint:#64748b;--cm-text-disabled:#9ca3af;--cm-text-inverse:#fff;--cm-text-inverse-muted:#ffffffb3;--cm-border-default:#e2e8f0;--cm-border-light:#e5e7eb;--cm-border-medium:#d1d5db;--cm-border-sidebar:#ffffff1a;--cm-accent-primary:#4f46e5;--cm-accent-primary-hover:#4338ca;--cm-accent-primary-bg:#eef2ff;--cm-accent-primary-bg-hover:#e0e7ff;--cm-accent-primary-light:#6366f1;--cm-accent-primary-lighter:#8b5cf6;--cm-accent-primary-text:#4f46e5;--cm-accent-secondary:#3b82f6;--cm-accent-secondary-hover:#1d4ed8;--cm-accent-secondary-deep:#1e40af;--cm-accent-secondary-deeper:#1e3a8a;--cm-accent-secondary-bg:#eff6ff;--cm-accent-secondary-bg-alt:#dbeafe;--cm-accent-secondary-light:#60a5fa;--cm-accent-secondary-muted:#bfdbfe;--cm-accent-secondary-text:#0369a1;--cm-status-success:#16a34a;--cm-status-success-alt:#059669;--cm-status-success-light:#10b981;--cm-status-success-lighter:#6ee7b7;--cm-status-success-bg:#f0fdf4;--cm-status-success-bg-alt:#ecfdf5;--cm-status-success-text:#166534;--cm-status-error:#dc2626;--cm-status-error-light:#ef4444;--cm-status-error-lighter:#fca5a5;--cm-status-error-muted:#fecaca;--cm-status-error-bg:#fef2f2;--cm-status-error-bg-alt:#fee2e2;--cm-status-warning:#f59e0b;--cm-status-warning-dark:#ca8a04;--cm-status-warning-bg:#fffbeb;--cm-status-warning-bg-alt:#fef3c7;--cm-status-warning-light:#fcd34d;--cm-status-warning-lighter:#fde68a;--cm-status-warning-lightest:#fef9c3;--cm-status-info:#f97316;--cm-status-info-bg:#fff7ed;--cm-status-info-muted:#fed7aa;--cm-accent-violet:#7c3aed;--cm-accent-violet-dark:#5b21b6;--cm-accent-violet-light:#8b5cf6;--cm-accent-violet-bg:#faf5ff;--cm-accent-violet-bg-alt:#ede9fe;--cm-accent-violet-muted:#c7d2fe;--cm-accent-violet-lighter:#a5b4fc;--cm-class-best:#26a641;--cm-class-excellent:#57ab5a;--cm-class-good:#8ddb8c;--cm-class-inaccuracy:#d29922;--cm-class-mistake:#e5534b;--cm-class-blunder:#da3633;--cm-skill-tactical:#ef4444;--cm-skill-positional:#3b82f6;--cm-skill-endgame:#8b5cf6;--cm-skill-opening:#f59e0b;--cm-skill-pattern:#10b981;--cm-skill-radar-fill:#6366f126;--cm-skill-radar-stroke:#6366f1;--cm-board-light:#f0d9b5;--cm-board-dark-overlay:#0003;--cm-board-last-move:#9bc70069;--cm-board-selected:#14551e80;--cm-board-check:radial-gradient(ellipse at center, red 0%, #e70000 25%, #a9000000 89%, #9e000000 100%);--cm-board-move-dest:#14551e80;--cm-board-move-dest-hover:#14551e4d;--cm-board-coords-dark:#484848cc;--cm-board-coords-light:#fffc;--cm-eval-bar-black:#403d39;--cm-status-warning-text:#92400e;--cm-status-success-hover:#047857;--cm-font-body:"Source Serif 4", Georgia, serif;--cm-font-heading:"Playfair Display", Georgia, serif;--cm-font-mono:"JetBrains Mono", ui-monospace, monospace;--cm-text-xs:10px;--cm-text-sm:12px;--cm-text-base:14px;--cm-text-lg:16px;--cm-text-xl:20px;--cm-text-2xl:24px;--cm-space-1:4px;--cm-space-2:8px;--cm-space-3:12px;--cm-space-4:16px;--cm-space-5:20px;--cm-space-6:24px;--cm-space-8:32px;--cm-overlay-subtle:#fff3;--cm-overlay-medium:#ffffff4d;--cm-overlay-border:#fff6;--cm-shadow-sm:0 1px 3px #8b6d471f;--cm-shadow-md:2px 4px 12px #8b6d4726;--cm-shadow-lg:3px 8px 20px #8b6d4726;--cm-shadow-xl:4px 12px 30px #8b6d472e;--cm-shadow-focus:0 2px 8px #c9a84c26;--cm-study-walnut:#5c3d2e;--cm-study-baize:#2d5a3d;--cm-study-brass:#c9a84c;--cm-study-brass-highlight:#fff8dc99;--cm-study-brass-shadow:#8b743480;--cm-study-brass-glow:0 0 12px #c9a84c40;--cm-glow-primary:none;--cm-glow-primary-intense:none;--cm-border-glow:var(--cm-border-medium);--cm-transition-fast:.15s ease;--cm-transition-normal:.2s ease;--cm-transition-slow:.3s ease;--cm-radius-sm:4px;--cm-radius-md:8px;--cm-radius-lg:12px;--cm-radius-xl:16px;--cm-radius-full:9999px}[data-theme=grid]{--cm-bg-app:#0a0a0f;--cm-bg-surface:#12121a;--cm-bg-surface-alt:#16161f;--cm-bg-hover:#1c1c28;--cm-bg-active:#252535;--cm-bg-sidebar:#070b14;--cm-bg-sidebar-hover:#00e5ff0d;--cm-bg-sidebar-active:#00e5ff1a;--cm-bg-overlay:#000000b3;--cm-bg-overlay-light:#00000080;--cm-bg-scrim:#00e5ff0a;--cm-sidebar-text:#b0b0c0;--cm-text-primary:#e0e0e8;--cm-text-secondary:#b0b0c0;--cm-text-tertiary:#8888a0;--cm-text-muted:#606078;--cm-text-faint:#5a5a78;--cm-text-disabled:#353548;--cm-text-inverse:#0a0a0f;--cm-text-inverse-muted:#0a0a0fb3;--cm-border-default:#1e293b;--cm-border-light:#1a1a2e;--cm-border-medium:#252540;--cm-border-sidebar:#00e5ff26;--cm-accent-primary:#00e5ff;--cm-accent-primary-hover:#00bcd4;--cm-accent-primary-bg:#00e5ff14;--cm-accent-primary-bg-hover:#00e5ff1f;--cm-accent-primary-light:#4df0ff;--cm-accent-primary-lighter:#80f4ff;--cm-accent-primary-text:#00e5ff;--cm-accent-secondary:#4d8dff;--cm-accent-secondary-hover:#3370e6;--cm-accent-secondary-deep:#25c;--cm-accent-secondary-deeper:#1a44b3;--cm-accent-secondary-bg:#4d8dff26;--cm-accent-secondary-bg-alt:#4d8dff1f;--cm-accent-secondary-light:#6ea3ff;--cm-accent-secondary-muted:#4d8dff33;--cm-accent-secondary-text:#80b8ff;--cm-status-success:#0f8;--cm-status-success-alt:#00cc6a;--cm-status-success-light:#3fa;--cm-status-success-lighter:#6fb;--cm-status-success-bg:#00ff8826;--cm-status-success-bg-alt:#00ff881f;--cm-status-success-text:#0f8;--cm-status-error:#f36;--cm-status-error-light:#ff5580;--cm-status-error-lighter:#ff8099;--cm-status-error-muted:#f363;--cm-status-error-bg:#ff336626;--cm-status-error-bg-alt:#ff33661f;--cm-status-warning:#fa0;--cm-status-warning-dark:#c80;--cm-status-warning-bg:#ffaa0026;--cm-status-warning-bg-alt:#ffaa001f;--cm-status-warning-light:#fc4;--cm-status-warning-lighter:#fd7;--cm-status-warning-lightest:#ffaa0026;--cm-status-info:#f60;--cm-status-info-bg:#ff660026;--cm-status-info-muted:#f603;--cm-accent-violet:#a4f;--cm-accent-violet-dark:#82d;--cm-accent-violet-light:#b6f;--cm-accent-violet-bg:#aa44ff14;--cm-accent-violet-bg-alt:#aa44ff1f;--cm-accent-violet-muted:#a4f3;--cm-accent-violet-lighter:#aa44ff4d;--cm-class-best:#0f8;--cm-class-excellent:#3f9;--cm-class-good:#6fb;--cm-class-inaccuracy:#fc0;--cm-class-mistake:#f64;--cm-class-blunder:#f33;--cm-skill-tactical:#f46;--cm-skill-positional:#4d8dff;--cm-skill-endgame:#b6f;--cm-skill-opening:#fa0;--cm-skill-pattern:#0f8;--cm-skill-radar-fill:#00e5ff1f;--cm-skill-radar-stroke:#00e5ff;--cm-board-light:#1a1a2e;--cm-board-dark-overlay:#00e5ff0f;--cm-board-last-move:#00e5ff26;--cm-board-selected:#00e5ff40;--cm-board-check:radial-gradient(ellipse at center, #f36c 0%, #ff336680 25%, #f360 89%, #f360 100%);--cm-board-move-dest:#00e5ff4d;--cm-board-move-dest-hover:#00e5ff33;--cm-board-coords-dark:#00e5ff66;--cm-board-coords-light:#e0e0e880;--cm-font-body:"IBM Plex Sans", system-ui, sans-serif;--cm-font-heading:"Orbitron", system-ui, sans-serif;--cm-font-mono:"IBM Plex Mono", ui-monospace, monospace;--cm-overlay-subtle:#ffffff26;--cm-overlay-medium:#ffffff40;--cm-overlay-border:#ffffff59;--cm-eval-bar-black:#1a1a2e;--cm-status-warning-text:#fa0;--cm-status-success-hover:#00994d;--cm-shadow-sm:0 0 6px #00e5ff14;--cm-shadow-md:0 0 12px #00e5ff1f;--cm-shadow-lg:0 0 24px #00e5ff26;--cm-shadow-xl:0 0 40px #00e5ff33;--cm-shadow-focus:0 0 8px #00e5ff33;--cm-glow-primary:0 0 12px #00e5ff26;--cm-glow-primary-intense:0 0 20px #00e5ff4d;--cm-border-glow:#00e5ff66}@keyframes stat-pulse{0%{transform:scale(1)}50%{transform:scale(1.15)}to{transform:scale(1)}}.stat-pulse{animation:.2s stat-pulse;display:inline-block}:focus-visible{outline:2px solid var(--cm-accent-primary);outline-offset:2px}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@font-face{font-family:Playfair Display;src:url(./PlayfairDisplay-Regular.B74d1IHM.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:"Source Serif 4";src:url(./SourceSerif4-Regular.DJ5YJwmz.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:JetBrains Mono;src:url(./JetBrainsMono-Regular.BQaDgvhP.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Orbitron;src:url(./Orbitron-Regular.U6xZUhur.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:IBM Plex Sans;src:url(./IBMPlexSans-Regular.CDDApCn2.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:IBM Plex Mono;src:url(./IBMPlexMono-Regular.DMJ8VG8y.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}[data-theme=study] cg-board square.last-move{background-color:var(--cm-board-last-move)}[data-theme=study] cg-board square.selected{background-color:var(--cm-board-selected)}[data-theme=grid] cg-board{background-color:var(--cm-bg-surface-alt);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cg id='a'%3E%3Cg id='b'%3E%3Cg id='c'%3E%3Cg id='d'%3E%3Crect width='1' height='1' id='e' opacity='0'/%3E%3Cuse x='1' y='1' href='%23e'/%3E%3Crect y='1' width='1' height='1' id='f' fill='%2300e5ff' opacity='0.05'/%3E%3Cuse x='1' y='-1' href='%23f'/%3E%3C/g%3E%3Cuse x='2' href='%23d'/%3E%3C/g%3E%3Cuse x='4' href='%23c'/%3E%3C/g%3E%3Cuse y='2' href='%23b'/%3E%3C/g%3E%3Cuse y='4' href='%23a'/%3E%3C/svg%3E")}[data-theme=grid] cg-board square.last-move{background-color:var(--cm-board-last-move)}[data-theme=grid] cg-board square.selected{background-color:var(--cm-board-selected)}[data-theme=grid] cg-board square.check{background:var(--cm-board-check)}[data-theme=grid] cg-board square.move-dest{background:radial-gradient(var(--cm-board-move-dest) 22%, transparent 0)}[data-theme=grid] cg-board square.move-dest:hover{background:var(--cm-board-move-dest-hover)}[data-theme=grid] cg-board square.oc.move-dest{background:radial-gradient(transparent 0%, transparent 80%, var(--cm-board-move-dest) 80%)}[data-theme=grid] .orientation-white .ranks :nth-child(odd),[data-theme=grid] .orientation-white .files :nth-child(2n),[data-theme=grid] .orientation-black .ranks :nth-child(2n),[data-theme=grid] .orientation-black .files :nth-child(odd){color:var(--cm-board-coords-dark)}[data-theme=grid] .orientation-white .ranks :nth-child(2n),[data-theme=grid] .orientation-white .files :nth-child(odd),[data-theme=grid] .orientation-black .ranks :nth-child(odd),[data-theme=grid] .orientation-black .files :nth-child(2n){color:var(--cm-board-coords-light)}[data-theme=study] .cg-wrap{box-shadow:0 0 0 3px var(--cm-study-walnut), 0 0 0 8px var(--cm-study-baize), 0 0 0 10px var(--cm-study-walnut), 3px 6px 20px #8b6d4740;border-radius:2px}[data-theme=grid]:after{content:"";z-index:9999;pointer-events:none;background:repeating-linear-gradient(#0000 0 1px,#ffffff08 1px 2px);position:fixed;inset:0}@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-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--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{.visible{visibility:visible}.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}.inline{display:inline}.table{display:table}.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}.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,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}}body{background:var(--cm-bg-app);min-height:100dvh;overflow-y:auto}button,input,select,textarea{color:inherit;font-family:inherit}button,[role=button],input,select,a.tap-target{min-height:44px}@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-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}@property --tw-ease{syntax:"*";inherits:false}.theme-root.svelte-12qhfyh{display:contents}
