@font-face{font-family:Marcellus SC;font-style:normal;font-display:swap;font-weight:400;src:url(./marcellus-sc-latin-ext-400-normal-KmjoMFPz.woff2)format("woff2"),url(./marcellus-sc-latin-ext-400-normal-CbfEGuvh.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:Marcellus SC;font-style:normal;font-display:swap;font-weight:400;src:url(./marcellus-sc-latin-400-normal-BVWXGf4k.woff2)format("woff2"),url(./marcellus-sc-latin-400-normal-BE55TSha.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:Alegreya Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./alegreya-sans-cyrillic-ext-500-normal-BjdEjhHc.woff2)format("woff2"),url(./alegreya-sans-cyrillic-ext-500-normal-CBZLRaMr.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./alegreya-sans-cyrillic-500-normal-kQHBM3cE.woff2)format("woff2"),url(./alegreya-sans-cyrillic-500-normal-gEBUHwKD.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./alegreya-sans-greek-ext-500-normal-8OvC5Vmr.woff2)format("woff2"),url(./alegreya-sans-greek-ext-500-normal-Cp0bGOKK.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./alegreya-sans-greek-500-normal-CjlmbScm.woff2)format("woff2"),url(./alegreya-sans-greek-500-normal-BwxJMQU_.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./alegreya-sans-vietnamese-500-normal-CFLbXWhL.woff2)format("woff2"),url(./alegreya-sans-vietnamese-500-normal-B1LHNMw0.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./alegreya-sans-latin-ext-500-normal-TH5u60nj.woff2)format("woff2"),url(./alegreya-sans-latin-ext-500-normal-CxFoZ42m.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:Alegreya Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./alegreya-sans-latin-500-normal-DS713u5J.woff2)format("woff2"),url(./alegreya-sans-latin-500-normal-vXxrTKJT.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:Alegreya Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-sans-cyrillic-ext-700-normal-Cpzx2u2L.woff2)format("woff2"),url(./alegreya-sans-cyrillic-ext-700-normal-YOec_wOb.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-sans-cyrillic-700-normal-BMO00Gdb.woff2)format("woff2"),url(./alegreya-sans-cyrillic-700-normal-qSextXl4.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-sans-greek-ext-700-normal-ChNZoGr1.woff2)format("woff2"),url(./alegreya-sans-greek-ext-700-normal-BVJ8GoGc.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-sans-greek-700-normal-CTof9pYC.woff2)format("woff2"),url(./alegreya-sans-greek-700-normal-BZuMtSJ5.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-sans-vietnamese-700-normal-CHYTK2w7.woff2)format("woff2"),url(./alegreya-sans-vietnamese-700-normal-D0056cUE.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-sans-latin-ext-700-normal-HuHd3-Mg.woff2)format("woff2"),url(./alegreya-sans-latin-ext-700-normal-CkNjzB9Y.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:Alegreya Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-sans-latin-700-normal-DEbcy2sF.woff2)format("woff2"),url(./alegreya-sans-latin-700-normal-BnzUNlma.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:Alegreya Sans;font-style:normal;font-display:swap;font-weight:800;src:url(./alegreya-sans-cyrillic-ext-800-normal-t99nLxKn.woff2)format("woff2"),url(./alegreya-sans-cyrillic-ext-800-normal-AL7dFV8Q.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:800;src:url(./alegreya-sans-cyrillic-800-normal-D2Jsre_s.woff2)format("woff2"),url(./alegreya-sans-cyrillic-800-normal-BCYhB7NR.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:800;src:url(./alegreya-sans-greek-ext-800-normal-uCdZyMib.woff2)format("woff2"),url(./alegreya-sans-greek-ext-800-normal-Y9Z6K4Rv.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:800;src:url(./alegreya-sans-greek-800-normal-BF_Q3SoR.woff2)format("woff2"),url(./alegreya-sans-greek-800-normal-BLeqXWgY.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:800;src:url(./alegreya-sans-vietnamese-800-normal-BW-pKOU0.woff2)format("woff2"),url(./alegreya-sans-vietnamese-800-normal-DR1LKS7f.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:800;src:url(./alegreya-sans-latin-ext-800-normal-BBRJ-mcX.woff2)format("woff2"),url(./alegreya-sans-latin-ext-800-normal-D8aPPA-q.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:Alegreya Sans;font-style:normal;font-display:swap;font-weight:800;src:url(./alegreya-sans-latin-800-normal-CpHsWMQ0.woff2)format("woff2"),url(./alegreya-sans-latin-800-normal-17etSahV.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}:root{--felt:#e9e1d1;--felt-2:#f3eee3;--lattice:#b98a52;--lattice-a:.26;--lacquer:#b33a16;--lacquer-2:#9a3011;--on-lacquer:#fff4ea;--on-lacquer-2:#ffe4d4;--khadag:#24479e;--teal:#1f6f6a;--teal-ink:#145550;--ink:#1b1410;--ink-2:#5f5040;--ink-3:#715f4c;--mdf:#cfa772;--mdf-edge:#b08654;--burn:#1b1410;--red:#c81f35;--red-side:#8e1222;--yellow:#f1c83a;--yellow-side:#b98d16;--hl:#1f6f6a;--last:#a8894a;--danger:#b3301a;--chest-shadow:0 10px 24px #3b221030;--radius:14px;--display:"Marcellus SC", "Times New Roman", serif;--ui:"Alegreya Sans", system-ui, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--felt:#1d1713;--felt-2:#2a221c;--lattice:#c08a4e;--lattice-a:.12;--ink:#f1e7d7;--ink-2:#c7b59c;--ink-3:#a39079;--danger:#f2694a;--khadag:#3b63c4;--hl:#2aa197;--last:#8a7448;--teal:#1e8079;--teal-ink:#8fe0d6;--chest-shadow:0 10px 28px #0008;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--felt:#1d1713;--felt-2:#2a221c;--lattice:#c08a4e;--lattice-a:.12;--ink:#f1e7d7;--ink-2:#c7b59c;--ink-3:#a39079;--danger:#f2694a;--khadag:#3b63c4;--hl:#2aa197;--last:#8a7448;--teal:#1e8079;--teal-ink:#8fe0d6;--chest-shadow:0 10px 28px #0008;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box;margin:0}html,body{height:100%}body{font:500 17px/1.45 var(--ui);color:var(--ink);background:var(--felt);-webkit-font-smoothing:antialiased}body:before{content:"";z-index:-1;pointer-events:none;opacity:var(--lattice-a);background:var(--lattice);position:fixed;inset:0;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M0 0L56 56M56 0L0 56' stroke='black' stroke-width='3'/%3E%3C/svg%3E");mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M0 0L56 56M56 0L0 56' stroke='black' stroke-width='3'/%3E%3C/svg%3E")}::selection{background:var(--khadag);color:#fff}:focus-visible{outline:3px solid var(--hl);outline-offset:3px;border-radius:6px}a{color:inherit;text-underline-offset:3px}button,select,input{font:inherit;color:inherit}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--lattice);border-radius:10px}::-webkit-scrollbar-track{background:0 0}html{scrollbar-color:var(--lattice) transparent}#app{grid-template-rows:auto auto 1fr;min-height:100%;display:grid}.beam{background:var(--lacquer);color:var(--on-lacquer);align-items:center;gap:22px;min-height:64px;padding:10px clamp(16px,2.4vw,32px);display:flex}.band{background:var(--khadag);height:12px}.brand{font:400 32px/1 var(--display);letter-spacing:.05em;text-decoration:none}.beam nav{flex-wrap:wrap;gap:2px;display:flex}.beam nav a{color:var(--on-lacquer-2);border-radius:8px;padding:9px 12px;font-weight:700;text-decoration:none}.beam nav a:hover{color:var(--on-lacquer);background:#ffffff1a}.beam nav a[aria-current=page]{background:var(--lacquer-2);color:var(--on-lacquer)}.beam .slot{align-items:center;gap:12px;margin-left:auto;font-weight:800;display:flex}.beam small{color:var(--on-lacquer-2);font-weight:500}.btn{cursor:pointer;background:0 0;border:2px solid;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:0 18px;font-weight:700;text-decoration:none;transition:background .2s,color .2s,transform .15s;display:inline-flex}.btn:hover{background:color-mix(in srgb, currentColor 10%, transparent)}.btn:active{transform:translateY(1px)}.btn:disabled,.btn[aria-disabled=true]{opacity:.45;cursor:not-allowed}.btn.primary{background:var(--teal);border-color:var(--teal);color:#fff}.btn.primary:hover{background:color-mix(in srgb, var(--teal) 85%, #000)}.btn.lacquer{background:var(--on-lacquer);border-color:var(--on-lacquer);color:var(--lacquer)}.btn.danger{color:var(--danger)}.btn.big{border-radius:12px;min-height:58px;padding:0 26px;font-size:20px}.seg{flex-wrap:wrap;gap:6px;display:inline-flex}.seg input{opacity:0;pointer-events:none;position:absolute}.seg label{border:2px solid var(--ink-3);cursor:pointer;min-height:46px;color:var(--ink-2);border-radius:10px;align-items:center;padding:0 16px;font-weight:700;transition:background .2s,color .2s,border-color .2s;display:inline-flex}.seg input:disabled+label{cursor:not-allowed;border-style:dashed;gap:8px}.seg input:checked+label{background:var(--khadag);border-color:var(--khadag);color:#fff}.seg input:focus-visible+label{outline:3px solid var(--hl);outline-offset:2px}.field{align-content:start;gap:10px;display:grid}.field>span{font:400 22px/1.1 var(--display)}.field small{color:var(--ink-2)}input[type=text],input[type=number]{border:2px solid var(--ink-3);background:var(--felt-2);border-radius:10px;width:100%;min-height:46px;padding:0 12px}input[type=number]{width:7ch}.switch{border-bottom:2px solid color-mix(in srgb, var(--ink-3) 35%, transparent);justify-content:space-between;align-items:center;gap:16px;padding:14px 0;display:flex}.switch input{width:46px;height:26px;accent-color:var(--teal)}.chest{border-radius:var(--radius);background:var(--felt-2);box-shadow:var(--chest-shadow);padding:22px}.chest .orn{background:var(--khadag);height:22px;-webkit-mask:var(--ulzii) repeat-x center / 26px 22px;-webkit-mask:var(--ulzii) repeat-x center / 26px 22px;mask:var(--ulzii) repeat-x center / 26px 22px;margin:8px -22px}:root{--ulzii:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='22'%3E%3Cg fill='none' stroke='black' stroke-width='2'%3E%3Crect x='7' y='5' width='12' height='12' transform='rotate(45 13 11)'/%3E%3Crect x='10.5' y='8.5' width='5' height='5' transform='rotate(45 13 11)'/%3E%3Cpath d='M0 11h3M23 11h3'/%3E%3C/g%3E%3C/svg%3E")}.page{padding:clamp(18px,3vw,40px) clamp(16px,2.4vw,32px)}@media (width>=861px) and (height<=760px){.page{padding-block:18px}}h1{font:400 clamp(44px, 7vw, 96px)/.95 var(--display);letter-spacing:.02em;text-wrap:balance}h2{font:400 clamp(26px, 2.6vw, 34px)/1.1 var(--display);text-wrap:balance}h3{font:400 24px/1.15 var(--display)}.page:not(.home) h1{font-size:clamp(36px,4.2vw,60px)}.lead{color:var(--ink-2);max-width:60ch;font-size:clamp(18px,1.6vw,22px)}.soon{background:color-mix(in srgb, var(--ink-3) 25%, transparent);color:var(--ink);border-radius:999px;justify-self:start;padding:2px 8px;font-size:14px;font-weight:700}.home{grid-template-columns:minmax(0,1fr) minmax(0,1fr);place-items:center;gap:clamp(20px,4vw,64px);padding-inline:clamp(16px,4vw,80px);display:grid}.home .stage svg{max-height:calc(100vh - 170px)}.home h1{font-size:clamp(44px,6vw,max(84px,4.4vw))}.home .lead{font-size:clamp(18px,1.15vw,28px)}.home .door b{font-size:clamp(22px,1.15vw,30px)}.home .door span{font-size:clamp(15px,.75vw,19px)}.home .intro{align-content:center;gap:22px;width:min(100%,max(680px,34vw));display:grid}.home .doors{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:8px;display:grid}.chest.head{gap:8px;display:grid}.setup form,.read article{background:var(--felt-2);border-radius:var(--radius);box-shadow:var(--chest-shadow);padding:clamp(18px,2vw,28px)}@media (width>=861px) and (height<=820px){.chest.head{gap:4px;padding:14px 20px}.page{padding-block:18px}.page:not(.home) h1{font-size:clamp(36px,3.4vw,48px)}.read article{gap:10px;padding:14px 22px}.read section>*{margin-bottom:8px}.read li{margin-bottom:4px}.read section{line-height:1.38}}.door{background:var(--felt-2);box-shadow:var(--chest-shadow);border-radius:12px;gap:4px;padding:18px 20px;text-decoration:none;transition:transform .2s,box-shadow .2s;display:grid}.door b{font:400 22px/1.1 var(--display)}.door span{color:var(--ink-2);font-size:15px}.door:hover{transform:translateY(-2px)}.door:last-child:nth-child(2n){grid-column:1/-1}.door.main{background:var(--lacquer);color:var(--on-lacquer);grid-column:1/-1}.door.main span{color:var(--on-lacquer-2)}.door.main b{font-size:30px}.door[aria-disabled=true]{pointer-events:none;box-shadow:none}.door[aria-disabled=true] b{opacity:.7}.home .stage{place-items:center;width:100%;display:grid}.home .stage svg{width:min(100%,78vh);height:auto}.setup{grid-template-columns:minmax(0,2fr) minmax(300px,1fr);align-items:start;gap:clamp(20px,3vw,48px);display:grid}.setup form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;gap:22px 36px;display:grid}.setup form>h1,.setup form>.wide{grid-column:1/-1}.setup .names{grid-template-columns:1fr 1fr;gap:12px;display:grid}.setup .names label{gap:6px;font-weight:700;display:grid}.setup aside{gap:16px;display:grid;position:sticky;top:20px}.setup .form-end{display:none}.schedule{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.schedule th,.schedule td{text-align:left;border-bottom:2px solid color-mix(in srgb, var(--ink-3) 30%, transparent);padding:10px 8px}.schedule th{color:var(--ink-2);font-weight:700}.dotc{vertical-align:-1px;border-radius:50%;width:14px;height:14px;margin-right:6px;display:inline-block}.dotc.top{background:var(--red)}.dotc.bottom{background:var(--yellow)}.custom-clock[hidden]{display:none}.custom-clock{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.custom-clock label{align-items:center;gap:8px;font-weight:700;display:flex}#app:has(>.game){height:100vh;overflow:hidden}.game{grid-template-columns:minmax(220px,.8fr) minmax(0,auto) minmax(300px,1.2fr);gap:clamp(14px,2vw,28px);min-height:0;padding:18px clamp(16px,2.4vw,32px);display:grid}.players{flex-direction:column;gap:14px;min-height:0;display:flex}.players>.player{flex:auto}.player>*{flex-shrink:0}.history{flex-direction:column;gap:10px;min-height:0;display:flex}.history .scroll{min-height:0;margin:0 -8px;padding:0 8px;overflow:auto}.moves-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:16px}.moves-table th{text-align:left;color:var(--ink-2);background:var(--felt-2);padding:6px 4px;font-weight:700;position:sticky;top:0}.moves-table td{border-bottom:1px solid color-mix(in srgb, var(--ink-3) 25%, transparent);padding:5px 4px;font-weight:700}.moves-table td.n{color:var(--ink-3);width:3ch;font-weight:500}.moves-table td.now{background:color-mix(in srgb, var(--hl) 22%, transparent);border-radius:6px}.moves-table .res,.moves-table .empty{color:var(--ink-2);font-weight:500}.moves-table .res{color:var(--ink);font-weight:800}.player{flex-direction:column;gap:8px;min-height:0;transition:background .35s,color .35s;display:flex;overflow:hidden}.player .head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 14px;display:flex}.player .name{font:400 30px/1.05 var(--display);align-items:center;gap:10px;display:flex}.player .name i{border-radius:50%;flex:none;width:18px;height:18px}.player.top .name i{background:var(--red)}.player.bottom .name i{background:var(--yellow)}.player .meta{color:var(--ink-2)}.player .clock{font:800 clamp(40px, 3.6vw, 64px)/1 var(--ui);font-variant-numeric:tabular-nums;letter-spacing:-.01em;color:var(--ink-3)}.player .clock.low{color:var(--danger)}.player .stats{color:var(--ink-2);flex-wrap:wrap;gap:6px 14px;display:flex}.player .off{flex-wrap:wrap;align-items:center;gap:6px;min-height:26px;display:flex}.player .off span{color:var(--ink-2);margin-left:4px}.player.active .off span{color:var(--on-lacquer-2)}.player .off i{border-radius:50%;width:24px;height:24px;box-shadow:inset 0 -5px #0003}.player.top .off i{background:var(--red)}.player.bottom .off i{background:var(--yellow)}.player .off i.dead{opacity:.3}.player .orn{align-self:stretch}.player .hint{max-width:40ch;margin-top:auto}.player .actions{flex-wrap:wrap;gap:8px;display:flex}.player.active{background:var(--lacquer);color:var(--on-lacquer)}.player.active .meta,.player.active .stats{color:var(--on-lacquer-2)}.player.active .clock{color:var(--on-lacquer)}.player.active .orn{background:var(--teal)}.player .actions:empty{display:none}@media (width>=861px) and (height<=820px){.player{gap:4px;padding:16px 18px}.player .name{font-size:24px}.player .clock{font-size:40px}.player .hint{font-size:15px}}@media (width>=861px) and (height<=760px){.player{padding:12px 16px}.player .clock{font-size:34px}.player .name{font-size:22px}.player .btn{min-height:40px;padding-block:0}.game{padding-block:12px}}.board-area{place-items:center;min-height:0;display:grid;position:relative}.board-area svg{aspect-ratio:700/744;touch-action:none;filter:drop-shadow(0 16px 22px #3b221055);max-width:100%;height:100%;transition:transform .6s cubic-bezier(.2,.8,.2,1)}.board-area svg.flip{transform:rotate(180deg)}.over{text-align:center;background:color-mix(in srgb, var(--felt-2) 94%, transparent);border-radius:18px;place-content:center;gap:14px;padding:28px;display:grid;position:absolute;inset:8% 10%;box-shadow:0 24px 60px #0006}.over h2{font-size:clamp(30px,3.4vw,46px)}.over .actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.toono{flex:none;width:46px;height:46px}.toono .sector{transition:fill .4s}.score-a,.score-b{font:800 24px/1 var(--ui);font-variant-numeric:tabular-nums}.plate{fill:var(--mdf)}.plate-edge{fill:none;stroke:var(--mdf-edge);stroke-width:10px}.frame{fill:none;stroke:var(--burn);stroke-width:2.5px}.orn-svg{fill:none;stroke:var(--burn);stroke-width:1.6px}.flip .coord{transform:rotate(180deg)}.coord{transform-box:fill-box;transform-origin:50%;fill:var(--burn);font:800 17px var(--ui);text-anchor:middle;dominant-baseline:middle;opacity:.75}.edge{stroke:var(--burn);stroke-width:2.6px;stroke-linecap:round}.edge.jasir{stroke-dasharray:8 8}.edge.route{stroke:var(--hl);stroke-width:8px;opacity:0;transition:opacity .2s}.edge.route.on{opacity:1}.hole{fill:var(--mdf)}.rim{fill:none;stroke:var(--burn);stroke-width:2.6px}.node.last .rim{stroke:var(--last);stroke-width:5px;opacity:.75}.hit{fill:#0000;cursor:pointer}.hit:focus{outline:none}.hit:focus-visible{stroke:var(--hl);stroke-width:6px}.piece{transition:transform .38s cubic-bezier(.2,.8,.2,1),opacity .3s}.piece.top .side{fill:var(--red-side)}.piece.bottom .side{fill:var(--yellow-side)}.piece .body{stroke-width:2px;transition:stroke .2s}.piece.top .body{fill:var(--red);stroke:var(--red-side)}.piece.bottom .body{fill:var(--yellow);stroke:var(--yellow-side)}.piece .crown{fill:none;stroke:#0006;stroke-width:3px;transform-box:fill-box;transform-origin:50%;transition:transform .35s cubic-bezier(.16,1,.3,1),opacity .3s}.piece:not(.promoted) .crown{opacity:0;transform:scale(0)}.piece.selected .body{stroke:var(--hl);stroke-width:6px}.piece.gone{opacity:0}.piece.movable{cursor:pointer}.piece .halo{fill:none;stroke:#e07b1a;stroke-width:5px;opacity:0;pointer-events:none;transition:opacity .2s}.halos .piece.movable:not(.selected) .halo{opacity:.9}.hit.grab{cursor:grab;touch-action:none}.board-area svg{-webkit-user-select:none;user-select:none}.piece .shadow{fill:#0004;transition:transform .2s,opacity .2s}.piece .lift{transition:transform .2s cubic-bezier(.16,1,.3,1)}.piece.lifted{cursor:grabbing;pointer-events:none;transition:none}.piece.lifted .lift{transform:translateY(-12px)scale(1.14)}.piece.lifted .shadow{opacity:.55;transform:translate(8px,10px)scale(1.12)}.flip .piece.lifted .lift{transform:translateY(12px)scale(1.14)}.flip .piece.lifted .shadow{transform:translate(-8px,-10px)scale(1.12)}.target{fill:var(--hl);pointer-events:none;animation:.25s cubic-bezier(.16,1,.3,1) pop}.target.capture{fill:none;stroke:var(--hl);stroke-width:5px;stroke-dasharray:10 7}.target.reenter{fill:none;stroke:var(--hl);stroke-width:5px}@keyframes pop{0%{opacity:0;transform:scale(.3)}}.target{transform-box:fill-box;transform-origin:50%}.read{grid-template-columns:minmax(0,2.4fr) minmax(260px,1fr);gap:clamp(20px,3vw,48px);display:grid}.read article{align-content:start;gap:14px;display:grid}.read section{columns:2 280px;column-gap:clamp(24px,3vw,48px)}.read section>*{margin-bottom:12px}.read section li,.read section p{break-inside:avoid}.read section h2,.read section h3{break-after:avoid}.tabs{flex-wrap:wrap;gap:6px;display:flex}.tabs button{border:2px solid var(--ink-3);min-height:46px;color:var(--ink-2);cursor:pointer;background:0 0;border-radius:10px;padding:0 16px;font-weight:700}.tabs button[aria-selected=true]{background:var(--khadag);border-color:var(--khadag);color:#fff}.read figure[hidden]{display:none}.read ol,.read ul{padding-left:1.3em}.read li{margin-bottom:8px}.read aside{align-content:start;gap:18px;display:grid;position:sticky;top:20px}.read figure{gap:8px;display:grid}.read figcaption{color:var(--ink-2)}.read figure svg{width:100%;height:auto;max-height:calc(100vh - 360px)}.note{background:var(--felt-2);color:var(--ink-2);border-radius:12px;padding:16px 18px}.config{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:clamp(20px,4vw,56px);display:grid}.config-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;gap:16px;display:grid}.config-form>.head,.config-form>.wide{grid-column:1/-1}.config-form .chest{gap:6px;display:grid}.config-form .seg{flex-wrap:nowrap}.config-form .seg label{padding:0 12px}.config-preview{gap:12px;margin:0;display:grid;position:sticky;top:20px}.config-preview .stage{place-items:center;display:grid}.config-preview svg{filter:drop-shadow(0 16px 22px #3b221055);width:min(100%,100vh - 330px);height:auto;transition:transform .6s cubic-bezier(.16,1,.3,1)}.config-preview svg.flip{transform:rotate(180deg)}@media (width>=861px) and (height<=820px){.config-form .switch{padding:8px 0}.config-form .chest{padding:16px 20px}}dialog{background:var(--felt-2);color:var(--ink);border:0;border-radius:16px;max-width:420px;margin:auto;padding:26px;box-shadow:0 30px 80px #0008}dialog::backdrop{background:#0007}dialog .actions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}@media (width<=860px){.beam{flex-wrap:wrap;gap:6px 10px;min-height:0;padding:8px 12px}.brand{font-size:26px}.beam nav a{padding:7px 8px;font-size:15px}.beam nav a[href="#/"]{display:none}.beam .slot{gap:10px;width:100%;margin-left:0;font-size:15px}.beam .slot .names{display:none}.toono{width:30px;height:30px}.band{height:8px}.page{padding:14px 14px 24px}.chest{padding:16px}h1{font-size:40px}.page:not(.home) h1{font-size:36px}h2{font-size:24px}.seg label{min-height:42px;padding:0 12px}.home,.setup,.read,.config,.setup form,.config-form{grid-template-columns:1fr}.home{gap:16px;min-height:0;padding-inline:14px}.home .intro{gap:14px}.home h1{font-size:44px}.home .lead{font-size:17px}.home .stage{order:-1}.home .stage svg{width:min(100%,32vh)}.home .door{padding:12px 14px}.home .door b{font-size:20px}.home .door.main b{font-size:24px}.home .door span{font-size:13px}.setup form{gap:16px}.setup aside,.read aside{position:static}.setup aside>.btn{display:none}.setup .form-end{z-index:2;background:linear-gradient(transparent, var(--felt) 30%);padding:10px 0 12px;display:block;position:sticky;bottom:0}.setup .form-end .btn{width:100%}.schedule th,.schedule td{padding:6px}.read section{columns:1}.tabs{scrollbar-width:none;flex-wrap:nowrap;margin-inline:-14px;padding-inline:14px;overflow-x:auto}.tabs button{flex:none;min-height:42px;padding:0 12px}.read figure svg{max-height:40vh}.config-form{display:contents}.config-form>h1,.config-form>.lead{order:-2}.config{gap:14px}.config-preview{order:-1;position:static}.config-preview figcaption{display:none}.config-preview svg{width:min(100%,30vh)}.switch{padding:10px 0}#app:has(>.game){height:auto;overflow:visible}.game{grid-template-columns:1fr;gap:8px;padding:8px 12px 16px}.players{display:contents}.player.top{grid-row:1}.board-area{grid-row:2}.player.bottom{grid-row:3}.actbar{grid-row:4}.history{grid-row:5}.flipped .player.top{grid-row:3}.flipped .player.bottom{grid-row:1}.board-area svg{width:100%;height:auto;max-height:max(280px,100svh - 430px)}.player{grid-template-columns:1fr auto;align-items:center;gap:0 12px;padding:8px 14px;display:grid}.player .head{display:contents}.player>*,.player .name{grid-column:1}.player .name{font-size:22px}.player .clock{grid-area:1/2/span 3;font-size:34px}.player .meta,.player .stats,.player .off span{font-size:14px}.player .off{min-height:0}.player .off i{width:16px;height:16px;box-shadow:inset 0 -3px #0003}.player .off:not(:has(i)){display:none}.player .orn,.player .actions,.player .hint{display:none}.actbar{background:var(--lacquer);color:var(--on-lacquer);border-radius:12px;grid-template-columns:1fr auto;align-items:center;gap:8px 12px;padding:10px 12px;font-size:15px;display:grid}.actbar .actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.actbar .btn{min-height:40px;padding:0 14px}.actbar:empty{display:none}.history .scroll{max-height:40vh}.over{inset:4%}}@media (width>=861px){.actbar,.ini{display:none}}::view-transition-old(root){animation-duration:.28s}::view-transition-new(root){animation-duration:.28s}:root[data-motion=off] *,:root[data-motion=off] :before{transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}@media (width>=861px) and (height<=760px){.config-form{gap:10px}.chest.head{padding:10px 18px}}
