@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/assets/dm-sans-latin-ext-wght-normal-BOFOeGcA.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/assets/dm-sans-latin-wght-normal-Xz1IZZA0.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Instrument Serif;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/instrument-serif-latin-ext-400-normal-C2je3j2s.woff2)format("woff2"),url(/assets/instrument-serif-latin-ext-400-normal-CFCUzsTy.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Instrument Serif;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/instrument-serif-latin-400-normal-DnYpCC2O.woff2)format("woff2"),url(/assets/instrument-serif-latin-400-normal-BVbkICAY.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Instrument Serif;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/instrument-serif-latin-ext-400-italic-C9HzH3YL.woff2)format("woff2"),url(/assets/instrument-serif-latin-ext-400-italic-D7-lnxEk.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Instrument Serif;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/instrument-serif-latin-400-italic-DKMiL14s.woff2)format("woff2"),url(/assets/instrument-serif-latin-400-italic-u__WvvIK.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.spotlight-card{isolation:isolate;background-color:var(--spotlight-card-surface);box-shadow:var(--spotlight-card-shadow);border-radius:1.5rem;padding:2rem;position:relative;overflow:hidden}.spotlight-card__light,.spotlight-card__grain,.spotlight-card__border,.spotlight-card__edge{border-radius:inherit;pointer-events:none;position:absolute;inset:0}.spotlight-card__light,.spotlight-card__grain{z-index:-1;opacity:0}.spotlight-card__grain{mix-blend-mode:overlay;background-size:160px 160px}.spotlight-card__border,.spotlight-card__edge{z-index:1;-webkit-mask-composite:xor;padding:1px;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor,source-over;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}.spotlight-card__border{background:var(--spotlight-card-border)}.spotlight-card__edge{opacity:0}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--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-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--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}.fixed{position:fixed}.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}.hidden{display:none}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);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, )}.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))}.\[data-square\=\"\$\{value\}\"\]\:visible:is(){visibility:visible}}:root{color:var(--ink);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--serif:"Instrument Serif", Georgia, serif;--surface:#fffefa;--surface-soft:#eef1e8;--canvas:var(--custom-background,#f6f8f1);--sidebar:#fbfcf7;--ink:#212f25;--muted:#58645a;--border:#dce2d7;--accent:var(--custom-accent,#31513d);--selected:#e8eee2;--primary:#254a38;--primary-hover:#1c392b;--primary-text:#f8fff3;--focus:#457a58;--danger:#a03235;--shadow:0 10px 42px #263c2811;--nav-width:224px;--page-padding:clamp(28px, 4.45vw, 76px);--page-max:1450px;font-family:DM Sans Variable,DM Sans,sans-serif;font-weight:450}:root[data-appearance=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--surface:#213027;--surface-soft:#27392e;--canvas:#19241d;--sidebar:#1b271f;--ink:#edf2e8;--muted:#aebcb0;--border:#39483e;--accent:#b0ccab;--selected:#304637;--primary:#bcd4b4;--primary-hover:#d1e3c7;--primary-text:#172a1a;--focus:#bddcb7;--danger:#ff9894;--shadow:0 16px 36px #050e0850}:root[data-contrast=high]{--muted:var(--ink);--border:var(--accent)}*{box-sizing:border-box}html{background:var(--canvas);min-width:280px;scroll-padding:18px}body{background-color:var(--canvas);min-height:100vh;margin:0;font-size:16px;transition:color .25s,background-color .25s;overflow-x:clip}button,select,input{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.38}button,a,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--focus);outline-offset:3px}button,a{touch-action:manipulation}button svg{flex:none}img,svg{vertical-align:middle}h1,h2,h3,p,dl,dd{margin:0}[hidden]{display:none!important}::selection{color:var(--ink);background:#a9c99e75}.muted{color:var(--muted)}.skip-link{z-index:100;background:var(--surface);border:1px solid var(--accent);border-radius:10px;padding:12px 20px;position:fixed;top:9px;left:9px;transform:translateY(-150%)}.skip-link:focus{transform:none}.shell{grid-template-columns:var(--nav-width) minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{background:var(--sidebar);border-right:1px solid var(--border);z-index:5;flex-direction:column;align-self:start;height:100dvh;padding:31px 17px 20px;transition:background .25s;display:flex;position:sticky;top:0}.wordmark{background:0 0;border:0;border-radius:9px;align-items:center;gap:11px;width:max-content;margin-left:12px;display:inline-flex}.wordmark img{border-radius:9px;width:35px;height:35px}.wordmark>span{font-family:var(--serif);letter-spacing:-.057em;padding-bottom:5px;font-size:47px;line-height:.8}.wordmark>span>span{color:#628268}.navigation{gap:5px;margin-top:58px;display:grid}.navigation button,.sidebar-setting{text-align:left;width:100%;min-height:46px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:12px;padding:0 13px;font-size:14px;font-weight:580;transition:color .17s,background .17s;display:flex}.navigation button:hover,.sidebar-setting:hover{background:var(--surface-soft);color:var(--ink)}.navigation button[aria-current],.sidebar-setting[aria-current]{background:var(--selected);color:var(--accent);font-weight:720}.navigation button[aria-current] svg{stroke-width:2.2px}.sidebar-bottom{margin-top:auto}.sidebar-local{border-top:1px solid var(--border);color:var(--muted);align-items:center;gap:9px;margin:15px 7px 0;padding:18px 5px 4px;font-size:12px;display:flex}.local-dot{background:#628b5d;border-radius:50%;flex:none;width:7px;height:7px;display:inline-block}.page-area{min-width:0}.topbar{border-bottom:1px solid var(--border);height:79px;padding:0 var(--page-padding);justify-content:space-between;align-items:center;display:flex}.breadcrumb{font-size:14px;font-weight:680}.top-actions,.heading-actions{align-items:center;gap:10px;display:flex}.top-actions .theme-toggle{border:1px solid var(--border);background:var(--surface);border-radius:11px}.top-settings,.mobile-brand{display:none!important}.screen{min-width:0}.page-width,.home-page{max-width:var(--page-max);padding:50px var(--page-padding) 55px;margin-inline:auto}.hero{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);align-items:center;gap:clamp(28px,4.5vw,75px);display:grid}.hero-copy{align-self:center;min-width:0;padding:12px 0}.local-label{border:1px solid var(--border);background:var(--surface-soft);color:var(--accent);letter-spacing:.12em;white-space:nowrap;border-radius:99px;align-items:center;gap:8px;padding:6px 10px;font-size:10px;font-weight:790;line-height:1.48;display:inline-flex}.hero h1{font-family:var(--serif);letter-spacing:-.037em;margin:22px 0;font-size:clamp(53px,6.25vw,109px);font-weight:400;line-height:.94}.hero h1 em{color:var(--accent);white-space:nowrap;font-weight:400}.hero-intro{letter-spacing:-.009em;color:var(--muted);max-width:340px;font-size:clamp(16px,1.25vw,19px);line-height:1.61}.hero-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:29px;display:flex}.button{white-space:nowrap;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:9px;min-height:41px;padding:9px 15px;font-size:14px;font-weight:675;line-height:1.4;transition:background .16s,border-color .16s,color .16s,transform .16s,box-shadow .16s;display:inline-flex}.button:active:not(:disabled){transform:translateY(1px)}.primary{color:var(--primary-text);background:var(--primary);border-color:var(--primary)}.primary:hover:not(:disabled){background:var(--primary-hover);border-color:var(--primary-hover)}.secondary{color:var(--ink);border-color:var(--border);background:var(--surface)}.secondary:hover:not(:disabled){background:var(--surface-soft);border-color:var(--accent)}@supports (color:color-mix(in lab, red, red)){.secondary:hover:not(:disabled){border-color:color-mix(in srgb,var(--accent) 28%,var(--border))}}.danger{color:#fff;background:#a03235}.danger:hover:not(:disabled){background:#85292b}.hero-play{border-radius:11px;justify-content:flex-start;gap:11px;min-width:147px;height:55px;padding-inline:19px;font-size:16px;box-shadow:0 5px 13px #17382627}.hero-play .hero-arrow{opacity:.7;margin-left:auto}.hero-actions .secondary{min-height:55px}.continue-caption{color:var(--muted);margin-top:12px;font-size:13px}.hero-art{isolation:isolate;aspect-ratio:1.115;background:#dce6d0;border:1px solid #a8ba9d82;border-radius:22px;min-height:310px;position:relative;overflow:hidden;box-shadow:0 15px 41px #2d472318}.hero-fallback,.hero-webgl{position:absolute;inset:0}.hero-fallback{background:#dce6d0 url(/mate-set.webp) 50%/cover no-repeat}.hero-webgl>div{height:100%!important}.art-footer{pointer-events:none;justify-content:space-between;align-items:center;display:flex;position:absolute;inset:auto 16px 13px 18px}.art-footer span{letter-spacing:.17em;color:#263d2e;background:#e6eedbd8;border-radius:6px;padding:7px 9px;font-size:10px;font-weight:770;line-height:1.2}.art-toggle{pointer-events:auto;color:#254238;background:#f2f6e4e0;border:1px solid #ffffff94;border-radius:9px;place-items:center;width:35px;height:35px;transition:background .15s,transform .15s;display:grid}.art-toggle:hover{background:#fafff0;transform:translateY(-2px)}.home-tools{margin-top:clamp(35px,4.9vw,71px)}.home-tools h2{font-family:var(--serif);letter-spacing:-.012em;margin-bottom:18px;font-size:clamp(28px,2.5vw,38px);font-weight:400;line-height:1}.utility-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.utility-wrap.spotlight-card{border-radius:13px;min-width:0;--spotlight-card-surface:var(--surface)!important;--spotlight-card-border:var(--border)!important;--spotlight-card-shadow:none!important}.utility-card{z-index:2;text-align:left;width:100%;min-height:82px;color:var(--ink);border-radius:inherit;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:13px;padding:13px;display:flex;position:relative}.utility-card:focus-visible{outline-offset:-4px}.utility-icon{border-radius:11px;flex:none;place-items:center;width:43px;height:43px;display:inline-grid}.utility-icon.green{color:#315941;background:#e4eddc}.utility-icon.amber{color:#75562c;background:#f4ebd6}.utility-icon.purple{color:#654b78;background:#ece6f1}.utility-copy{flex:1;min-width:0;line-height:1.36}.utility-copy strong{margin-bottom:3px;font-size:15px;font-weight:750;display:block}.utility-copy>span{color:var(--muted);font-size:13px;display:block}.utility-arrow{color:var(--muted);transition:transform .17s}.utility-card:hover .utility-arrow{color:var(--accent);transform:translate(3px)}.icon-button{width:39px;height:39px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:9px;place-items:center;transition:background .16s,color .16s,border .16s;display:inline-grid}.icon-button:hover:not(:disabled),.icon-button[aria-pressed=true]{color:var(--accent);background:var(--selected)}.text-button{color:var(--accent);text-align:left;background:0 0;border:0;align-items:center;gap:7px;padding:5px 1px;font-size:14px;font-weight:690;display:inline-flex}.text-button:hover:not(:disabled){text-underline-offset:4px;text-decoration:underline}.danger-text{color:var(--danger)}.full{width:100%}.push-left{margin-right:auto}.wrap{flex-wrap:wrap}.back{margin-bottom:15px}.page-heading{margin-bottom:26px}.page-heading.split{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.page-heading h1{font-family:var(--serif);letter-spacing:-.032em;overflow-wrap:anywhere;font-size:clamp(49px,6vw,86px);font-weight:400;line-height:.97}.page-heading h1 em{color:var(--accent);font-size:.7em}.page-heading p{color:var(--muted);margin-top:11px;line-height:1.5}.panel,.editor-section{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:15px}.editor-layout{grid-template-columns:minmax(0,1fr) minmax(0,.79fr);align-items:start;gap:clamp(20px,3vw,42px);display:grid}.editor-controls{gap:16px;min-width:0;display:grid}.editor-section{gap:14px;padding:21px;display:grid}.editor-section h2{align-items:center;gap:9px;font-size:18px;font-weight:740;display:flex}.editor-preview{gap:13px;min-width:0;display:grid;position:sticky;top:25px}.editor-preview .full{min-height:49px}.preview-caption{min-height:30px;color:var(--muted);justify-content:space-between;align-items:center;gap:6px;font-size:13px;display:flex}.preview-caption>span:first-child{color:var(--ink);font-weight:740}.preview-caption .icon-button{width:31px;height:31px}.field,.stack{gap:7px;min-width:0;display:grid}.field>span{font-size:14px;font-weight:650}.field-grid,.setup-players{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;display:grid}input:not([type=range],[type=color]),select{border:1px solid var(--border);background:var(--surface);min-width:0;min-height:39px;color:var(--ink);border-radius:8px;padding:7px 10px;line-height:1.4}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' stroke='%23758178' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;background-size:12px;padding-right:31px}input[type=range]{width:100%;accent-color:var(--primary);min-width:30px}input[type=color]{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:7px;width:46px;height:35px;padding:2px 4px}.setup-player{background:var(--canvas);border:1px solid var(--border);border-radius:11px;gap:10px;min-width:0;padding:12px;display:grid}.setup-player-title{align-items:center;gap:8px;font-size:14px;display:flex}.setup-player-title .avatar{border-radius:8px;width:32px;height:32px}.avatar{background:var(--avatar,#dce6d5);width:41px;height:41px;color:var(--avatar-ink,#203b2a);border-radius:11px;flex:none;place-items:center;display:inline-grid}.avatar>svg{width:55%;height:55%}.avatar.small{border-radius:8px;width:27px;height:27px}.avatar-picker{flex-wrap:wrap;align-items:center;gap:3px;display:flex}.avatar-option{background:0 0;border:1px solid #0000;border-radius:9px;padding:2px}.avatar-option:hover,.avatar-option[aria-pressed=true]{border-color:var(--focus)}.setting-row{justify-content:space-between;align-items:center;gap:10px;min-height:39px;font-size:14px;display:flex}.setting-row>span:first-child{min-width:0}.setting-row>span:first-child:has(>svg){align-items:center;gap:7px;display:inline-flex}.setting-label{font-weight:610}.setting-description{color:var(--muted);margin-top:3px;font-size:13px;line-height:1.45;display:block}.switch{border:1px solid var(--border);background:var(--surface-soft);border-radius:20px;flex:none;width:39px;height:23px;padding:2px;transition:background .18s}.switch[data-state=checked]{background:var(--primary);border-color:var(--primary)}.switch-thumb{background:var(--surface);border-radius:50%;width:17px;height:17px;transition:transform .2s cubic-bezier(.2,.85,.3,1.2);display:block;box-shadow:0 1px 3px #0003}.switch[data-state=checked] .switch-thumb{transform:translate(15px)}.range-row{grid-template-columns:minmax(105px,1fr) minmax(60px,1fr) 48px;display:grid}.range-row output{text-align:right;color:var(--muted);font-variant-numeric:tabular-nums}.segmented{border:1px solid var(--border);background:var(--canvas);border-radius:9px;flex-wrap:wrap;gap:2px;min-width:0;padding:3px;display:flex}.segmented button{color:var(--muted);background:0 0;border:1px solid #0000;border-radius:6px;padding:6px 9px;font-size:13px;font-weight:620;transition:background .18s,color .18s}.segmented button:hover{color:var(--ink)}.segmented button[aria-pressed=true]{background:var(--surface);border-color:var(--border);color:var(--ink);box-shadow:0 1px 3px #0001}.time-presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.time-preset{text-align:left;border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:2px;min-width:0;padding:8px;transition:background .18s,border .18s;display:grid}.time-preset:hover,.time-preset[aria-pressed=true]{background:var(--selected);border-color:var(--focus)}.time-preset strong{font-size:13px;font-weight:730}.time-preset span{color:var(--muted);font-size:11px}.board-frame{aspect-ratio:1;border-radius:var(--board-radius,12px);border:1px solid var(--board-border);background:var(--board-border);isolation:isolate;width:100%;position:relative;box-shadow:0 7px 25px #21382720}.board-rotator{transform:rotate(var(--turn-rotation,0deg));transition:transform var(--rotate-time,.45s) cubic-bezier(.22,.64,.22,1);border-radius:inherit;position:absolute;inset:0;overflow:hidden}.board-grid,.piece-layer{position:absolute;inset:0}.board-grid{grid-template:repeat(8,1fr)/repeat(8,1fr);display:grid}.piece-layer{z-index:1;pointer-events:none}.square{background:var(--square);min-width:0;min-height:0;color:var(--square-text);touch-action:none;border:0;border-radius:0;padding:0;transition:background-color .22s;display:block;position:relative}.light-square{--square:var(--light-square);--square-text:var(--light-text)}.dark-square{--square:var(--dark-square);--square-text:var(--dark-text)}.square.last-square{background-color:var(--last-square)}@supports (color:color-mix(in lab, red, red)){.square.last-square{background-color:color-mix(in srgb,var(--last-square) 60%,var(--square))}}.square.selected-square{background-color:var(--selected-square)}.square:focus-visible{z-index:2;outline-offset:-3px;outline:2px solid #fff}.square:focus-visible:before{content:"";pointer-events:none;border:1px solid #183024;position:absolute;inset:1px}.texture-grain .square{background-image:repeating-radial-gradient(at 15% 14%,#10271513 0 .65px,#0000 1px 2px);background-size:6px 7px}.texture-wood .square{background-image:repeating-linear-gradient(7deg,#592c1e13 0,#0000 1px 5px,#4b2a1b18 7px,#0000 10px)}.texture-stone .square{background-image:repeating-linear-gradient(142deg,#0000 0 8px,#ffffff24 9px 10px,#0000 12px 21px,#23382b17 23px 24px,#0000 25px 40px)}.check-square:after{content:"";pointer-events:none;background:radial-gradient(circle,#b13e3dc9 0,#ab3a3a7a 45%,#0000 78%);animation:1.75s ease-in-out 3 check-pulse;position:absolute;inset:0}@keyframes check-pulse{50%{opacity:.6}}.coord{z-index:1;pointer-events:none;transform:rotate(var(--counter-rotation));font-size:clamp(8px,1vw,13px);font-weight:770;line-height:1;position:absolute}.coord.rank{top:5px;left:5px}.coord.file{bottom:5px;right:5px}.coord.rank.reversed{inset:auto 5px 5px auto}.coord.file.reversed{inset:5px auto auto 5px}.legal-dot{background:var(--move-dot);border-radius:50%;position:absolute;inset:39%}@supports (color:color-mix(in lab, red, red)){.legal-dot{background:color-mix(in srgb,var(--move-dot) 74%,transparent)}}.legal-dot{pointer-events:none}.legal-dot.legal-capture{border:3px solid var(--move-dot);background:0 0;inset:5%}.piece-position{width:12.5%;height:12.5%;position:absolute}.piece-facing{width:100%;height:100%;transform:rotate(var(--counter-rotation,0deg));transition:transform var(--rotate-time,.45s) cubic-bezier(.22,.64,.22,1);place-items:center;display:grid}.piece-art{width:calc(94% * var(--piece-scale,1));aspect-ratio:1;filter:drop-shadow(0 2px 1px #1e261d4a);place-items:center;transition:filter .2s;display:grid;position:relative}.piece-art.lifted{filter:drop-shadow(0 5px 2px #1e261d6b)}.piece-picture{width:100%;height:100%}.piece-picture svg,.drag-ghost svg{width:100%;height:100%;display:block}.drag-ghost{z-index:40;aspect-ratio:1;pointer-events:none;filter:drop-shadow(0 8px 5px #19251f60);position:fixed;transform:translate(-50%,-55%)scale(1.13)}.board-ended{filter:saturate(.84)brightness(.93);transition:filter .6s}.three-board{isolation:isolate;aspect-ratio:1;border:1px solid var(--border);touch-action:none;width:100%;position:relative;overflow:hidden}.three-board>div:first-child{height:100%!important}.board-keyboard{pointer-events:none;position:absolute;inset:auto 0 0}.board-keyboard.show-keys{pointer-events:auto;background:var(--surface);z-index:3;justify-items:start;padding:6px;display:grid}.board-keyboard.show-keys .board-frame{width:min(75%,340px)}.keyboard-trigger{clip-path:inset(50%);clip:rect(0 0 0 0);pointer-events:auto;width:1px;height:1px;position:absolute;overflow:hidden}.keyboard-trigger:focus,.show-keys .keyboard-trigger{clip-path:none;clip:auto;width:auto;height:auto;padding:5px;position:relative}.three-coordinates{z-index:2;color:#33443a;pointer-events:none;justify-content:space-between;font-size:10px;display:flex;position:absolute;bottom:8px;left:9px;right:9px}.render-note{color:var(--muted);padding-block:5px;font-size:13px}.game-room{width:100%;max-width:1190px;margin:0 auto;padding:15px clamp(15px,3vw,43px) 28px}.game-room:fullscreen{background:var(--canvas);max-width:none;overflow-y:auto}.game-toolbar{justify-content:space-between;align-items:center;gap:6px;max-width:880px;min-height:39px;margin:0 auto 3px;display:flex}.game-toolbar>div{align-items:center;gap:7px;display:flex}.game-status{color:var(--muted);align-items:center;gap:7px;font-size:13px;font-weight:700;display:inline-flex}.game-status i,.turn-dot{background:#70916c;border-radius:50%;width:7px;height:7px;display:inline-block}.game-layout{justify-content:center;align-items:flex-start;gap:clamp(13px,3vw,32px);display:flex}.game-board-column{flex:0 auto;width:min(100%,100dvh - 335px,650px);min-width:min(100%,300px);position:relative}.game-room.focused{padding-top:25px}.game-room.focused .game-board-column{width:min(100%,100dvh - 206px,735px)}.focus-return{opacity:.55;position:absolute;bottom:2px;right:-45px}.player-bar{align-items:center;gap:10px;min-height:57px;padding:8px 1px;display:flex}.player-bar.opposite{transform:rotate(180deg)}.player-information{flex:1;gap:2px;min-width:0;display:grid}.player-name{overflow-wrap:anywhere;align-items:center;gap:6px;font-size:15px;font-weight:750;display:flex}.player-secondary{min-height:15px;color:var(--muted);align-items:center;gap:7px;font-size:11px;display:flex}.captured-pieces{flex-wrap:wrap;align-items:center;gap:0;min-width:0;display:flex}.captured-pieces span{width:15px;height:15px;margin-left:-3px;display:inline-block}.captured-pieces svg{width:100%;height:100%}.captured-pieces b{margin-left:4px;font-size:10px}.game-clock{background:var(--surface);border:1px solid var(--border);min-width:79px;color:var(--muted);font-variant-numeric:tabular-nums;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:5px 8px;font-size:19px;font-weight:735;line-height:1.1;display:inline-flex}.game-clock.running{color:var(--ink);background:var(--selected);border-color:#8ca888}.game-clock.low{color:var(--danger)}.game-clock.untimed{min-width:48px;font-size:18px}.clock-digits{display:inline-flex}.digit-slot{place-items:center;display:inline-grid}.digit-slot>span{grid-area:1/1}.dock{border:1px solid var(--border);background:var(--surface);width:max-content;max-width:100%;box-shadow:var(--shadow);border-radius:12px;justify-content:center;align-items:center;gap:2px;margin:8px auto 0;padding:4px;display:flex;position:relative}.dock-button{width:clamp(29px,3vw,39px);height:37px;color:var(--muted);background:0 0;border:0;border-radius:7px;place-items:center;transition:background .16s,color .16s,transform .16s;display:grid;position:relative}.dock-button>svg{stroke-width:1.7px;width:18px;height:18px}.dock-button:hover:not(:disabled),.dock-button:focus-visible{background:var(--selected);color:var(--accent);transform:translateY(-2px)}.dock-button:after{z-index:8;content:attr(data-tooltip);border:1px solid var(--border);color:var(--ink);background:var(--surface);white-space:nowrap;opacity:0;pointer-events:none;border-radius:6px;padding:5px 7px;font-size:11px;font-weight:630;transition:opacity .14s,transform .14s;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%,4px)}.dock-button:hover:not(:disabled):after,.dock-button:focus-visible:after{opacity:1;transform:translate(-50%)}.dock-divider{background:var(--border);flex:0 0 1px;width:1px;height:19px}.game-messages{flex-wrap:wrap;justify-content:center;align-items:center;gap:7px 13px;min-height:28px;padding-top:5px;display:flex}.commentary{font-family:var(--serif);color:var(--muted);text-align:center;font-size:19px;font-style:italic}.game-history{flex:0 236px;min-width:166px;margin-top:57px;padding:12px}.section-top{justify-content:space-between;align-items:center;gap:9px;margin-bottom:10px;display:flex}.section-top h2{font-size:16px;font-weight:740}.section-top span{color:var(--muted);font-size:12px}.move-list{scrollbar-width:thin;min-height:112px;max-height:min(42vh,440px);overflow-y:auto}.move-row{min-height:32px;color:var(--muted);border-radius:6px;grid-template-columns:30px 1fr 1fr;align-items:center;gap:4px;padding-inline:4px;font-size:13px;display:grid}.move-row:nth-child(2n){background:var(--canvas)}.move-row button{text-align:left;color:var(--ink);background:0 0;border:1px solid #0000;border-radius:6px;padding:4px 5px;font-weight:650}.move-row button:hover,.move-row button[aria-current]{background:var(--selected);border-color:var(--border)}.move-empty{text-align:center;color:var(--muted);padding:22px 0;font-size:13px}.move-empty svg{margin-bottom:6px}.promotion-options{grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px;display:grid}.promotion-choice{border:1px solid var(--border);background:var(--canvas);text-align:center;border-radius:10px;padding-bottom:8px;font-size:12px;transition:background .16s,transform .16s}.promotion-choice svg{width:100%;padding-inline:4px}.promotion-choice:hover{background:var(--selected);transform:translateY(-3px)}.result-symbol{border:1px solid var(--border);background:var(--selected);width:87px;height:87px;color:var(--accent);border-radius:50%;place-items:center;margin:16px auto 8px;display:grid}.result-modal .modal-head h2{text-transform:none}.result-modal .modal-description{text-transform:capitalize}.modal-overlay{z-index:40;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#17231db3;position:fixed;inset:0}.modal{z-index:41;border:1px solid var(--border);width:min(100% - 32px,460px);max-height:88dvh;color:var(--ink);background:var(--surface);border-radius:15px;gap:14px;padding:20px;display:grid;position:fixed;top:50%;left:50%;overflow-y:auto;translate:-50% -50%;box-shadow:0 18px 60px #0d201e42}.modal.wide{width:min(100% - 28px,650px)}.modal-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.modal-head h2{font-family:var(--serif);font-size:33px;font-weight:400;line-height:.98}.modal-head .icon-button{flex:none}.modal-description{line-height:1.45}.modal-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:8px;display:flex}.toast{z-index:70;border:1px solid var(--border);background:var(--surface);max-width:min(370px,100% - 40px);min-height:43px;color:var(--ink);box-shadow:var(--shadow);border-radius:10px;align-items:center;gap:9px;padding:10px 13px;font-size:14px;display:flex;position:fixed;bottom:19px;right:19px}.toast svg{color:var(--accent);flex:none}.loading{min-height:50vh;color:var(--muted);justify-content:center;align-items:center;gap:8px;display:flex}.loading>span{border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:18px;height:18px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.utility-wrap.spotlight-card{padding:0;transition:box-shadow .2s,transform .2s}.utility-wrap.spotlight-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)!important}.theme-selector{scrollbar-width:thin;gap:8px;margin-bottom:19px;padding:3px 3px 8px;display:flex;overflow-x:auto}.theme-chip{border:1px solid var(--border);background:var(--surface);border-radius:8px;flex:none;align-items:center;gap:8px;padding:6px 9px;font-size:13px;font-weight:680;display:flex}.theme-chip:hover,.theme-chip[aria-pressed=true]{border-color:var(--focus);background:var(--selected)}.theme-swatch{background:conic-gradient(var(--swatch-dark) 25%,var(--swatch-light) 0 50%,var(--swatch-dark) 0 75%,var(--swatch-light) 0);border-radius:4px;flex:none;width:20px;height:20px}.new-theme{color:var(--accent)}.studio-layout{grid-template-columns:minmax(0,.93fr) minmax(0,1fr)}.studio-fields{gap:13px;animation:.22s both field-in;display:grid}@keyframes field-in{0%{opacity:.22;transform:translateY(3px)}}.studio-preview-surface{background:var(--preview-background);border:1px solid var(--border);box-shadow:0 8px 30px var(--preview-accent);border-radius:15px;padding:13px}@supports (color:color-mix(in lab, red, red)){.studio-preview-surface{box-shadow:0 8px 30px color-mix(in srgb,var(--preview-accent) 13%,transparent)}}.studio-preview-surface{transition:background .2s}.studio-preview-surface[data-ambient=true]{background:radial-gradient(ellipse at 50% 0%, var(--preview-accent),var(--preview-background) 75%)}@supports (color:color-mix(in lab, red, red)){.studio-preview-surface[data-ambient=true]{background:radial-gradient(ellipse at 50% 0%, color-mix(in srgb,var(--preview-accent) 34%,var(--preview-background)),var(--preview-background) 75%)}}.color-grid,.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.color-field{border:1px solid var(--border);min-height:58px;color:var(--muted);border-radius:8px;flex-direction:column;justify-content:center;align-items:flex-start;gap:5px;padding:7px;font-size:11px;font-weight:650;display:flex}.color-field input[type=color]{background:0 0;border:0;width:100%;height:24px;padding:0}.color-field input::-webkit-color-swatch-wrapper{padding:0}.color-field input::-webkit-color-swatch{border:0;border-radius:4px}.color-field input::-moz-color-swatch{border:0;border-radius:4px}.collection-option{border:1px solid var(--border);background:var(--canvas);border-radius:8px;place-items:center;gap:3px;padding:5px;font-size:12px;font-weight:650;display:grid}.collection-option span{max-width:100%;display:flex}.collection-option svg{width:min(27px,30%)}.collection-option:hover,.collection-option[aria-pressed=true]{background:var(--selected);border-color:var(--focus)}.empty{text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:15px;justify-items:center;padding:54px 20px 62px;animation:.25s field-in;display:grid}.empty-icon{background:var(--surface-soft);width:52px;height:52px;color:var(--accent);border-radius:14px;place-items:center;margin-bottom:13px;display:inline-grid}.empty h2{font:400 34px/1.05 var(--serif)}.empty p{color:var(--muted);max-width:380px;margin-top:9px;line-height:1.55}.player-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.profile-card{min-width:0;padding:15px}.profile-top{align-items:center;gap:10px;min-width:0;margin-bottom:15px;display:flex}.profile-top>div{flex:1;min-width:0}.profile-top h2{overflow-wrap:anywhere;font-size:18px;font-weight:730}.profile-top div>span{color:var(--muted);font-size:12px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.stats-grid div{text-align:center;background:var(--canvas);border:1px solid var(--border);border-radius:8px;padding:8px 5px}.stats-grid dt{color:var(--muted);font-size:11px;line-height:1.15}.stats-grid dd{font:400 28px/1.1 var(--serif);margin-top:3px}.rivalry{margin-top:18px;padding:16px}.rivalry-trigger{text-align:left;background:0 0;border-radius:8px;width:100%;padding:4px}.rivalry-trigger h2{margin-right:auto}.rivalry-score{text-align:center;background:var(--canvas);border-radius:9px;grid-template-columns:repeat(3,1fr);gap:12px;margin:12px 0;padding:9px;display:grid}.rivalry-score div{justify-content:center;align-items:center;gap:6px;min-width:0;font-size:13px;display:flex}.rivalry-score .avatar{border-radius:7px;width:28px;height:28px}.rivalry-score strong{font:400 27px/1 var(--serif)}.rivalry-matches button{background:0 0;border-radius:8px;width:100%;padding-inline:9px}.rivalry-matches button:hover{background:var(--selected)}.history-filter{gap:8px;margin-bottom:13px;display:flex}.search-field{background:var(--surface);border:1px solid var(--border);min-width:0;color:var(--muted);border-radius:8px;flex:auto;align-items:center;gap:6px;padding-left:9px;display:flex}.search-field input[type=search]{background:0 0;border:0;width:100%}.search-field:focus-within{outline:2px solid var(--focus);outline-offset:2px}.search-field input[type=search]:focus{outline:0}.match-list{overflow:hidden}.match-row{border-bottom:1px solid var(--border);align-items:center;padding-right:8px;display:flex}.match-row:last-child{border-bottom:0}.match-open{text-align:left;background:0 0;border-radius:9px;flex:1;justify-content:flex-start;align-items:center;gap:10px;min-width:0;padding:13px;display:flex}.match-open:hover{background:var(--surface-soft)}.pair-avatars{flex:none;display:flex}.pair-avatars .avatar+.avatar{outline:2px solid var(--surface);margin-left:-7px}.match-text{flex:1;gap:2px;min-width:0;display:grid}.match-text strong{overflow-wrap:anywhere;font-size:14px}.match-text strong span{color:var(--muted);font-weight:550}.match-text>span,.match-result{color:var(--muted);font-size:12px}.match-result{text-align:right;font-weight:700}.match-chevron{color:var(--muted)}.match-actions{align-items:center;display:flex}.match-actions .icon-button{width:32px;height:34px}.replay-page{max-width:1150px}.replay-layout{grid-template-columns:minmax(0,1fr) minmax(185px,.5fr);align-items:start;gap:20px;display:grid}.replay-sidebar{min-width:0;margin-top:57px;padding:13px}.export-actions{flex-wrap:wrap;gap:7px;margin-top:10px;display:flex}.export-actions .button{padding:6px 9px;font-size:13px}.replay-control{flex-wrap:wrap;justify-content:center;gap:4px;display:flex}.replay-control .icon-button{border:1px solid var(--border);background:var(--surface)}.replay-control select{font-size:13px}.replay-position{text-align:center;color:var(--muted);gap:5px;margin-top:7px;font-size:12px;display:grid}.settings-page{max-width:1130px}.settings-layout{grid-template-columns:165px minmax(0,1fr);align-items:start;gap:18px;display:grid}.settings-tabs{gap:4px;display:grid}.settings-tabs button{text-align:left;color:var(--muted);background:0 0;border-radius:8px;padding:9px 10px;font-size:14px;font-weight:620}.settings-tabs button:hover,.settings-tabs button[aria-current]{background:var(--selected);color:var(--accent)}.settings-panel{animation:.2s both field-in}.settings-panel>.button{justify-self:start}.about-mate{align-items:center;gap:12px;display:flex}.about-mate h3{font:400 43px/.95 var(--serif);letter-spacing:-.05em}.about-mate p{color:var(--muted)}@media (width>=1650px){.home-page{padding-top:70px}}@media (width<=1180px){:root{--nav-width:193px}.hero{gap:29px}.hero h1{font-size:clamp(49px,6.4vw,79px)}.utility-card{gap:9px;padding:9px}.utility-icon{width:36px;height:36px}}@media (width<=990px){:root{--nav-width:163px;--page-padding:29px}.navigation{margin-top:46px}.sidebar{padding:27px 12px 16px}.topbar{height:67px}.hero-art{border-radius:16px;min-height:260px}.hero h1{font-size:clamp(43px,6.5vw,66px)}.hero-intro{max-width:270px}.utility-copy>span{font-size:12px}.utility-arrow{display:none}.setup-players{grid-template-columns:1fr}.editor-section{padding:15px}.color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=860px){:root{--nav-width:70px;--page-padding:25px}.sidebar{align-items:center;padding:20px 10px 17px}.sidebar .wordmark{margin:0}.sidebar .wordmark>span,.sidebar .navigation span,.sidebar-setting span,.sidebar-local{display:none}.navigation button,.sidebar-setting{justify-content:center;width:46px;height:46px;padding:0}.navigation{margin-top:31px}.game-layout{flex-wrap:wrap}.game-board-column,.game-room.focused .game-board-column{width:min(100%,590px)}.game-history{flex:100%;max-width:590px;margin-top:0}.focus-return{bottom:-31px;right:4px}}@media (width<=665px){:root{--page-padding:17px}.shell{padding-bottom:67px;display:block}.sidebar{z-index:12;height:auto;padding:4px 4px max(4px,env(safe-area-inset-bottom));border:0;border-top:1px solid var(--border);flex-direction:row;justify-content:center;display:flex;position:fixed;inset:auto 0 0;box-shadow:0 -3px 21px #17271b12}.sidebar>.wordmark,.sidebar-bottom{display:none}.sidebar .navigation{grid-template-columns:repeat(4,1fr);gap:3px;width:min(100%,510px);margin:0}.sidebar .navigation span{font-size:10px;display:block}.navigation button{place-content:center;justify-items:center;gap:3px;width:100%;height:auto;min-height:48px;display:grid}.navigation button svg{width:17px;height:17px}.topbar{height:59px;padding:0 14px}.breadcrumb{display:none}.mobile-brand{gap:7px;margin:0;display:flex!important}.mobile-brand img{border-radius:7px;width:28px;height:28px}.mobile-brand>span{padding-bottom:2px;font-size:35px}.top-actions{gap:4px}.top-settings{display:inline-grid!important}.top-actions .icon-button{width:34px;height:34px}.page-width,.home-page{padding:24px var(--page-padding) 30px}.hero{grid-template-columns:1fr;gap:19px}.hero-copy{padding:2px 0 0}.local-label{padding:4px 8px;font-size:9px}.hero h1{margin:12px 0 11px;font-size:clamp(53px,11vw,79px)}.hero-intro{max-width:320px;font-size:15px;line-height:1.5}.hero-actions{margin-top:14px}.hero-play,.hero-actions .secondary{height:auto;min-height:43px}.hero-play{min-width:112px;padding-inline:13px;font-size:14px}.hero-art{aspect-ratio:1.37;min-height:0}.art-footer{inset:auto 9px 9px 10px}.art-footer span{font-size:8px}.art-toggle{width:30px;height:30px}.home-tools{margin-top:24px}.home-tools h2{margin-bottom:11px;font-size:30px}.utility-grid{grid-template-columns:1fr;gap:6px}.utility-card{min-height:58px;padding:8px 10px}.utility-arrow{display:block}.utility-copy strong{margin-bottom:2px;font-size:14px}.page-heading{margin-bottom:15px}.page-heading h1{font-size:clamp(44px,10.5vw,63px)}.page-heading p{font-size:14px}.page-heading.split{flex-wrap:wrap;gap:11px}.editor-layout,.studio-layout,.replay-layout{flex-direction:column;gap:15px;display:flex}.editor-layout>*,.studio-layout>*,.replay-layout>*{width:100%}.editor-preview{align-self:center;max-width:500px;position:static}.setup-page .editor-preview{z-index:6;background:var(--surface);box-shadow:var(--shadow);border:1px solid var(--border);border-radius:11px;padding:6px;position:sticky;bottom:58px}.setup-page .editor-preview .board-frame,.setup-page .editor-preview .preview-caption{display:none}.setup-page .editor-preview .full{min-height:40px}.setup-players{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-section{gap:10px;padding:12px}.studio-layout .editor-preview{order:-1}.color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.theme-chip{font-size:12px}.game-room{padding:4px 8px 13px}.game-toolbar{min-height:32px;margin-bottom:0}.game-toolbar .icon-button{width:33px;height:33px}.player-bar{min-height:45px;padding-block:4px}.player-bar .avatar{border-radius:8px;width:32px;height:32px}.player-name{font-size:14px}.game-clock{min-width:68px;font-size:17px}.game-layout{gap:10px}.dock-button{width:min(9vw,38px);height:35px}.dock-button>svg{width:16px;height:16px}.coord.rank{top:3px;left:3px}.coord.file,.coord.rank.reversed{bottom:3px;right:3px}.coord.file.reversed{top:3px;left:3px}.replay-sidebar{margin-top:0}.player-cards{grid-template-columns:1fr}.settings-layout{grid-template-columns:1fr;gap:8px}.settings-tabs{scrollbar-width:thin;padding:3px;display:flex;overflow:auto}.settings-tabs button{white-space:nowrap;font-size:13px}.match-open{padding:8px}.match-chevron{display:none}.match-actions .icon-button{width:29px}.modal{width:100%;max-height:88dvh;padding-bottom:max(19px,env(safe-area-inset-bottom));border-radius:16px 16px 0 0;top:auto;bottom:0;translate:-50%}.toast{bottom:66px}:is(.shell[data-page=game]:has(.focused) .sidebar,.shell[data-page=game]:has(.focused) .topbar){display:none}.shell[data-page=game]:has(.focused){padding-bottom:0}}@media (width<=360px){.hero h1{font-size:48px}.utility-arrow{display:none}.setup-players{grid-template-columns:1fr}.settings-panel .setting-row:not(.switch-row,.range-row){flex-wrap:wrap}.match-result{display:none}}:root[data-motion=off] *,:root[data-motion=off] :before,:root[data-motion=off] :after{transition-duration:.01ms!important;animation-duration:.01ms!important}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.setup-bottom{gap:6px;display:flex}.mobile-preview-toggle{display:none}.capture-flight{pointer-events:none;z-index:4;position:fixed}.capture-flight svg{width:100%}.tabletop-action{width:30px;height:30px}.shell[data-page=game]:has(.focused){display:block}:is(.shell[data-page=game]:has(.focused) .sidebar,.shell[data-page=game]:has(.focused) .topbar){display:none}@media (width<=665px){.mobile-preview-toggle{display:inline-flex}.setup-page .editor-preview[data-show-preview=true] .board-frame{width:min(66vw,260px);margin-inline:auto;display:block}.setup-page .editor-preview[data-show-preview=true] .preview-caption{display:flex}}:root[data-ambient=on] .page-area{background-image:radial-gradient(ellipse 72% 310px at 75% 0%,var(--accent),transparent)}@supports (color:color-mix(in lab, red, red)){:root[data-ambient=on] .page-area{background-image:radial-gradient(ellipse 72% 310px at 75% 0%,color-mix(in srgb,var(--accent) 12%,transparent),transparent)}}@media (hover:none){.dock-button:after{display:none}}.result-scene{border:1px solid var(--border);background:#294536;border-radius:11px;height:164px;overflow:hidden}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@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}
