.undo-reward-dialog{width:min(500px,100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;padding:36px 34px 24px!important}.undo-reward-dialog h2{letter-spacing:.04em;margin:12px 28px 14px 0;line-height:1.5}.undo-reward-dialog .undo-reward-detail{font-size:16px;line-height:1.8}.undo-reward-token{color:#e7cb85;justify-content:center;align-items:center;gap:12px;margin:12px 0;font-size:48px;line-height:1.4;display:flex}.undo-reward-token b{font-size:38px;font-weight:400}.undo-reward-dialog .undo-reward-note{color:#b6c0bf;font-size:13px}.undo-reward-dialog footer{flex-direction:column;gap:0;margin-top:10px;padding-top:6px;display:flex}.undo-reward-dialog .small-ornate{text-align:center;white-space:normal;overflow-wrap:normal;width:100%;min-width:0;height:auto;min-height:44px;padding:12px 18px;line-height:1.35}.undo-secondary{grid-template-columns:1fr;gap:0;display:grid}.undo-reward-dialog .feature-close{top:20px;right:22px}@media (width<=390px){.undo-reward-dialog{padding:32px 28px 24px!important}.undo-secondary{grid-template-columns:1fr}.undo-reward-dialog h2{font-size:21px}}.undo-reward-dialog button:focus-visible{filter:brightness(1.3);text-underline-offset:4px;outline:none;text-decoration:underline}.undo-reward-dialog :is(h2,.undo-reward-detail,.undo-reward-note){text-wrap:balance}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--gold:#d8bb7c;--ivory:#ece4d2;--muted:#aaa89c;--line:#a78a5042;--ink:#101719;color:var(--ivory);font-synthesis:none;background:#080f14;font-family:Noto Serif SC,Songti SC,STSong,Georgia,serif}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,select{font:inherit}button,summary,select{cursor:pointer}button{color:var(--ivory);-webkit-tap-highlight-color:transparent;background:0 0;border:0;transition:filter .18s,opacity .18s,transform .18s}button:disabled{opacity:.35;cursor:default}button:not(:disabled):hover{filter:brightness(1.25)}button:not(:disabled):active{transform:translateY(1px)}button:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible{outline-offset:4px;outline:2px solid #eed296}[hidden]{display:none!important}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.ornate,.small-ornate,.mode-card,.color-options button{text-shadow:0 2px 5px #000;letter-spacing:.12em;color:#dcc698;filter:drop-shadow(0 4px 8px #0006);background:url(/art/button.png) 50%/100% 170% no-repeat;padding:14px 28px}.ornate{min-height:70px;font-size:19px;font-weight:600}.small-ornate{min-height:44px;padding:10px 23px;font-size:12px}.full{width:100%}.seal{clip-path:polygon(22% 0,78% 0,100% 22%,100% 78%,78% 100%,22% 100%,0 78%,0 22%);color:#d6c399;background:radial-gradient(at 40% 20%,#414239,#172129 60%,#080e12);border:1px solid #90754288;width:42px;height:42px;font-size:22px;box-shadow:inset 0 0 0 3px #0b1118,inset 0 0 16px #ab853c22}.muted{opacity:.45}.text-button{color:var(--gold);letter-spacing:.15em;text-underline-offset:6px;padding:12px 20px;font-size:13px;-webkit-text-decoration:underline #b99d6359;text-decoration:underline #b99d6359}.start-screen{z-index:20;isolation:isolate;background:#081017;position:fixed;inset:0;overflow:auto}.splash-art,.splash-shade,.splash-dust{pointer-events:none;position:absolute;inset:0}.splash-art{z-index:-4;background:url(/art/hall.webp) 50%/cover no-repeat}.splash-shade{z-index:-2;background:linear-gradient(90deg,#050b13b8 0%,#060d177d 33%,#0000 62%),linear-gradient(#0000 68%,#040910b0)}.opening-board{z-index:-3;pointer-events:none;filter:drop-shadow(0 22px 35px #0007);width:min(74vw,1450px);height:auto;position:absolute;bottom:-1%;right:-5%}.splash-dust{z-index:1;overflow:hidden}.splash-dust i{left:var(--x);top:var(--y);width:var(--size);height:var(--size);animation:dust-drift var(--t) var(--delay) ease-in-out infinite;opacity:.35;background:#ead2a2;border-radius:100%;position:absolute;box-shadow:0 0 9px #e9c27188}.start-content{z-index:2;flex-direction:column;justify-content:center;align-items:center;width:min(480px,42vw);min-height:100dvh;margin-left:6vw;padding:34px 0 40px;display:flex;position:relative}.title-logo{width:112%;margin:0 0 8px;line-height:0}.title-logo img{filter:drop-shadow(0 4px 12px #000a);width:100%;height:auto}.start-choices{text-align:center;background:radial-gradient(#08121ccd,#0000 72%);width:100%;max-width:430px;padding:6px 13px 12px}fieldset{border:0;min-width:0;margin:0 0 17px;padding:0}legend{letter-spacing:.32em;color:#c4baa2;align-items:center;gap:15px;margin:0 auto 9px;font-size:13px;display:flex}legend:before,legend:after{content:"";background:linear-gradient(90deg,#0000,#ab89517d);width:26px;height:1px}legend:after{transform:rotate(180deg)}.mode-options{gap:6px;display:flex}.mode-card{opacity:.74;background-size:100% 165%;flex:1;min-height:79px;padding:15px;position:relative}.mode-card b{letter-spacing:.12em;font-size:16px;font-weight:500;line-height:1.8;display:block}.mode-card small{letter-spacing:.02em;color:#aba797;white-space:nowrap;font-size:10px;display:block}.mode-emblem{display:none}.mode-card.chosen,.color-options .chosen{opacity:1;filter:brightness(1.25)drop-shadow(0 0 9px #cdb47b35);color:#ffdf99}.mode-card.chosen:after,.color-options .chosen:after{content:"◆";color:#d3af64;text-shadow:0 0 9px #fed590;font-size:9px;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.color-options{justify-content:center;gap:8px;display:flex}.color-options button{opacity:.65;background-size:100% 165%;flex:1;justify-content:center;align-items:center;gap:9px;height:57px;padding:10px 20px;font-size:14px;display:flex;position:relative}.color-options small{color:#b2ac9d;letter-spacing:0;font-size:10px}.stone{border-radius:50%;flex-shrink:0;width:16px;height:16px;display:inline-block;box-shadow:0 1px 5px #000a}.white-stone{background:radial-gradient(circle at 30% 25%,#fffdf4,#c0b8a5 55%,#706c5e);border:1px solid #f3e2b888}.black-stone{background:radial-gradient(circle at 30% 25%,#8a9297,#27363d 40%,#070c12);border:1px solid #bea97488}.difficulty-label{color:#b9af9a;letter-spacing:.13em;justify-content:center;align-items:center;gap:16px;height:34px;margin:4px 0 12px;font-size:12px;display:flex}select{appearance:none;color:#dac69c;background-color:#0000;background-image:linear-gradient(45deg,#0000 50%,#c8aa71 50%),linear-gradient(135deg,#c8aa71 50%,#0000 50%),linear-gradient(135deg,#283236,#11191f);background-position:calc(100% - 16px),calc(100% - 12px),0 0;background-repeat:no-repeat;background-size:4px 4px,4px 4px,100% 100%;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;border:1px solid #b2965759;border-radius:0;padding:8px 32px 8px 15px;font-size:12px}option{background:#172027}.primary{letter-spacing:.3em;width:100%;min-height:76px;font-size:20px}.start-tools{z-index:3;gap:12px;display:flex;position:absolute;top:25px;right:30px}.loading{color:#bbae94;padding:0 25px;font-size:11px}.progress{background:#98846533;width:80%;height:2px;margin:12px auto}.progress i{background:linear-gradient(90deg,#8d7140,#e2c48b);width:0;height:100%;transition:width .2s;display:block}.failed{color:#e5b7a9}.topbar{z-index:5;background:linear-gradient(#192029,#0b1218);border-bottom:1px solid #ad8c503d;align-items:center;gap:26px;height:76px;padding:0 28px;display:flex;position:relative;box-shadow:0 5px 28px #0005}.brand{flex-shrink:0;width:179px;padding:0;line-height:0}.brand img{object-fit:contain;width:100%;height:auto;max-height:70px}.live-turn{white-space:nowrap;align-items:center;gap:10px;margin-left:auto;font-size:13px;display:flex}.live-turn small{color:#9b9e96;border-left:1px solid var(--line);margin-left:10px;padding-left:16px;font-size:10px}.live-turn i,.turn-orb{background:radial-gradient(circle at 30% 20%,#fff6db,#a49779);border-radius:50%;flex-shrink:0;width:12px;height:12px;display:inline-block;box-shadow:0 0 14px #fff3ba20}.live-turn i.dark,.turn-orb.dark{background:radial-gradient(circle at 30% 20%,#8196a0,#18252b);border:1px solid #889b9666}.topbar nav{align-items:center;gap:9px;display:flex}.arena{isolation:isolate;width:100%;height:100%;position:relative}#canvas-host{position:absolute;inset:0}canvas{touch-action:none;width:100%;height:100%;display:block}.arena-bottom{pointer-events:none;justify-content:space-between;align-items:center;display:flex;position:absolute;bottom:18px;left:28px;right:28px}.arena-bottom>span{letter-spacing:.08em;color:#cacdc08c;text-shadow:0 2px 5px #000;font-size:10px}.arena-bottom>div{pointer-events:auto;gap:6px;display:flex}.peek{z-index:2;min-width:150px;position:absolute;top:16px;left:24px}.panel{z-index:9;scrollbar-width:thin;background:linear-gradient(105deg,#111921f7,#1c2428f7),url(/art/hall.webp) 50%/cover;border-left:1px solid #b79b5b70;width:330px;max-width:calc(100vw - 24px);padding:29px 26px;transition:transform .25s;position:fixed;top:76px;bottom:0;right:0;overflow:auto;transform:translate(110%);box-shadow:-20px 0 45px #0005}.panel-open .panel{transform:translate(0)}.panel-heading{letter-spacing:.16em;color:#c1ae84;margin-bottom:27px;font-size:12px}.turn-head{align-items:center;gap:11px;margin-bottom:26px;display:flex}.turn-head h2{letter-spacing:.07em;margin:0 0 8px;font-size:19px;font-weight:500}.turn-head p{color:#a9b0ad;margin:0;font-size:11px;line-height:1.7}.piece-card,.history-section{border-top:1px solid var(--line);margin-top:22px;padding-top:21px}.section-title{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.section-title h2{color:#d6c5a2;margin:0;font-size:13px;font-weight:500}.section-title>span{color:#95a1a1;font-size:10px}#piece-idle,#piece-rules{color:#acb1aa;font-size:12px;line-height:1.9}#piece-name{color:#e0cdab;margin:12px 0;font-size:18px;font-weight:500}.history{color:#bec3bc;scrollbar-width:thin;max-height:230px;font-family:Georgia,Songti SC,serif;font-size:13px;overflow:auto}.history-row{border-bottom:1px solid #a58b5020;grid-template-columns:30px 1fr 1fr;padding:8px 10px;display:grid}.history-row span:first-child{color:#858d85}.empty{color:#85918d;font-size:12px}.coordinate-board{margin:24px 0}.coordinate-board summary,.extras summary{color:#b4b4a5;justify-content:space-between;padding:9px 0;font-size:11px;list-style:none;display:flex}.coordinate-board[open] summary{margin-bottom:10px}#square-grid{grid-template-columns:repeat(8,1fr);gap:2px;display:grid}.square{color:#0d1920;border:0;height:29px;padding:0;font-family:Georgia,serif;font-size:13px}.square.light{background:#c2b9a5}.square.dark{background:#43575d}.square.white-piece{color:#fff4d8}.square.selected{outline-offset:-2px;outline:2px solid #efc673}.square.legal{box-shadow:inset 0 0 0 2px #d9a74f}.panel-new{width:100%;min-height:58px;margin-top:16px;font-size:15px}.cinematic{pointer-events:none;text-align:center;text-shadow:0 2px 20px #000,0 1px 5px #000;position:absolute;bottom:9%;left:0;right:0}.cinematic h2{letter-spacing:.35em;color:#eddbb0;margin:0;font-size:30px;font-weight:500}.cinematic p{letter-spacing:.16em;color:#d6ccb8;font-size:12px}.hero-active .arena-bottom,.hero-active .peek{opacity:0;pointer-events:none}.hero-active .arena:before,.hero-active .arena:after{content:"";z-index:2;pointer-events:none;background:#020508b3;height:5%;position:absolute;left:0;right:0}.hero-active .arena:before{top:0}.hero-active .arena:after{bottom:0}.capture-switch-video.small-ornate{z-index:4;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));--art-height:34px;color:#e7cc91;width:auto;min-width:116px;min-height:44px;font-size:13px;position:absolute}.capture-switch-video[hidden]{display:none}dialog{color:var(--ivory);scrollbar-width:thin;background:radial-gradient(at top,#33404535,#0000),#121d25;border:1px solid #ad8d51a1;width:min(430px,100vw - 36px);max-height:88dvh;padding:30px;overflow:auto;box-shadow:0 0 0 4px #111820,0 0 0 5px #80683e66,0 25px 100px #000b}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#03080eb3}dialog h2{letter-spacing:.16em;color:#e0cdab;margin:4px 0 25px;font-size:24px;font-weight:500}.dialog-close{color:#b7a47d;padding:2px 9px;font-size:28px;position:absolute;top:8px;right:12px}.toggle{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:17px 0;font-size:13px;display:flex}.toggle b{letter-spacing:.08em;font-weight:500}.toggle small{color:#9ea7a4;margin-top:7px;font-size:10px;line-height:1.6;display:block}.toggle input{accent-color:#c6a36a;flex-shrink:0;width:18px;height:18px}.range-label,.select-label{color:#c2bdac;justify-content:space-between;align-items:center;gap:25px;margin:20px 0;font-size:12px;display:flex}input[type=range]{accent-color:#c7ab73;cursor:pointer;max-width:60%}.extras{border-top:1px solid var(--line);margin-top:20px;padding-top:10px}.extras summary{margin-bottom:12px}.promotion-choices{gap:10px;display:flex}.promotion-choices button{background:linear-gradient(#46504a,#1c2930);border:1px solid #bba16b88;flex:1;padding:14px 5px;font-size:12px}.promotion-choices span{margin-bottom:10px;font-size:35px;display:block}.toast{color:#e1d1ac;z-index:40;opacity:0;pointer-events:none;background:#101a22ee;border:1px solid #9f855065;max-width:90vw;padding:12px 23px;font-size:12px;line-height:1.6;transition:opacity .2s,transform .2s;position:fixed;bottom:28px;left:50%;transform:translate(-50%,10px);box-shadow:0 8px 30px #0005}.toast.visible{opacity:1;transform:translate(-50%)}.menu-open #game-shell{visibility:hidden}.reduce-motion *,.reduce-motion :before,.reduce-motion :after{transition:none!important;animation:none!important}@keyframes dust-drift{0%,to{opacity:.1;transform:translate(0,0)}50%{opacity:.6;transform:translate(14px,-40px)}}html,body{background:#04080c;width:100%;height:100%}#app{width:1280px;height:960px;transform:translate(-50%,-50%) scale(var(--stage-scale,1));transform-origin:50%;isolation:isolate;position:absolute;top:50%;left:50%;overflow:hidden}.start-screen{width:1280px;height:960px;overflow:hidden}.splash-art{background-position:50%;background-size:cover}.splash-shade{background:radial-gradient(at 50% 33%,#020b15a8 0%,#030c1560 24%,#0000 52%),linear-gradient(#0000 55%,#02060c22)}.start-content{justify-content:flex-start;width:430px;height:960px;min-height:0;margin:0 auto;padding:45px 0 0}.title-logo{width:128%;margin:0 0 -9px}.start-choices{background:radial-gradient(#06101cb3,#0000 70%);max-width:430px;padding:0 8px 8px}.opening-board{filter:drop-shadow(0 18px 24px #0009);width:1320px;max-width:none;bottom:-60px;left:-20px;right:auto}.start-tools{top:25px;right:28px}.topbar{height:76px}.layout{height:884px}.panel{top:76px;bottom:0}#canvas-host canvas{width:100%!important;height:100%!important}dialog{max-height:840px;transform:scale(var(--stage-scale,1));transform-origin:50%}.toast{max-width:1100px}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.topbar .seal{width:56px;height:56px;font-size:25px}.topbar .small-ornate{min-height:54px;font-size:14px}.live-turn{font-size:16px}.live-turn small{font-size:12px}.arena-bottom .small-ornate{min-height:54px;font-size:14px}.toggle{font-size:16px}.toggle small{font-size:12px}.range-label,.select-label{font-size:14px}.toggle input{width:22px;height:22px}.mode-card{background-size:100% 175%;flex-direction:column;justify-content:center;align-items:center;gap:7px;height:96px;min-height:96px;padding:18px 26px;display:flex}.mode-card b{margin:0;font-size:16px;line-height:1.2}.mode-card small{white-space:nowrap;margin:0;font-size:10px;line-height:1.2}.mode-card.chosen:after,.color-options .chosen:after{content:"";background:#d3af64;width:7px;height:7px;bottom:1px;transform:translate(-50%)rotate(45deg);box-shadow:0 0 9px #fed59066}.color-options button{gap:9px;padding-left:29px;padding-right:29px}.splash-art{background-image:url(/art/opening-stone-wide.webp);background-position:50%;background-size:100% 100%}.splash-beam,.splash-candlelight{pointer-events:none;z-index:-1;mix-blend-mode:screen;position:absolute;inset:0}.splash-beam{clip-path:polygon(42% 0,59% 0,75% 86%,28% 86%);opacity:.55;background:radial-gradient(at 51% -8%,#acdafa42,#0000 66%);animation:9s ease-in-out infinite beam-breathe}.splash-candlelight i{width:var(--glow-size);height:calc(var(--glow-size) * 1.3);animation:candle-breathe var(--t) var(--delay) ease-in-out infinite;opacity:.5;background:radial-gradient(#ffc98648 0%,#e8792026 28%,#0000 69%);position:absolute;transform:translate(-50%,-50%)}.splash-dust i{opacity:.5;animation-name:lit-dust-drift;box-shadow:0 0 7px #f5d498aa}.splash-dust i:nth-child(7n){filter:blur(1px);background:#b8d8e6}@keyframes beam-breathe{0%,to{opacity:.32}48%{opacity:.67}71%{opacity:.46}}@keyframes candle-breathe{0%,to{opacity:.32;transform:translate(-50%,-50%)scale(.96)}18%{opacity:.68}33%{opacity:.44}62%{opacity:.76;transform:translate(-50%,-51%)scale(1.05)}80%{opacity:.48}}@keyframes lit-dust-drift{0%{opacity:0;transform:translate(-9px,24px)}25%{opacity:.45}60%{opacity:.8}to{opacity:0;transform:translate(17px,-70px)}}.splash-beam{clip-path:polygon(44% 0,62% 0,56% 27%,43% 65%,30% 70%,34% 32%);opacity:.15;background:url(/art/opening-stone-wide.webp) 50%/100% 100% no-repeat;animation:8.5s ease-in-out infinite painted-beam-breathe;-webkit-mask-image:radial-gradient(at 53% 4%,#000 5%,#000b 23%,#0000 66%);mask-image:radial-gradient(at 53% 4%,#000 5%,#000b 23%,#0000 66%)}.splash-candlelight i{background-image:url(/art/opening-stone-wide.webp);background-size:1280px 960px;background-position:calc(var(--glow-size) / 2 - var(--candle-x)) calc(var(--glow-size) * .65 - var(--candle-y));filter:saturate(1.12)brightness(1.12);animation:candle-paint-flicker var(--t) var(--delay) linear infinite;opacity:.3;background-repeat:no-repeat;transform:translate(-50%,-50%);-webkit-mask-image:radial-gradient(#000 8%,#000c 24%,#0000 68%);mask-image:radial-gradient(#000 8%,#000c 24%,#0000 68%)}@keyframes painted-beam-breathe{0%,to{opacity:.06}42%{opacity:.25}72%{opacity:.13}}@keyframes candle-paint-flicker{0%,to{opacity:.19}14%{opacity:.46}22%{opacity:.24}35%{opacity:.6}43%{opacity:.35}66%{opacity:.5}73%{opacity:.21}87%{opacity:.43}}.audio-status{color:#bfb49b;text-align:center;min-height:1.6em;margin:8px 0;font-size:12px;line-height:1.6}.render-background-paused .splash-art,.render-background-paused .splash-beam,.render-background-paused .splash-candlelight i,.render-background-paused .splash-dust i,.render-background-paused .result-art,.render-background-paused .result-dust i{animation-play-state:paused!important}#presentation-overlay{z-index:8;pointer-events:none;color:#e0d3b7;animation:.4s ease-out presentation-reveal;position:absolute;inset:76px 0 0}#presentation-overlay[hidden]{display:none}#presentation-overlay button,#presentation-overlay article{pointer-events:auto}.presentation-open .arena-bottom,.presentation-open #piece-peek{visibility:hidden}.presentation-open .panel{display:none}.eyebrow{letter-spacing:.24em;color:#b6a27b;text-transform:uppercase;font-size:12px}.presentation-heading{text-shadow:0 4px 14px #000;z-index:2;position:absolute;top:37px;left:65px}.presentation-heading h2{letter-spacing:.25em;color:#ead5a1;margin:8px 0;font-size:48px;font-weight:500}.presentation-heading>p:last-child{letter-spacing:.18em;color:#b9b4a8;margin:0;font-size:15px}.presentation-close{min-width:142px;position:absolute;top:20px;right:34px}.catalog-card{scrollbar-width:thin;clip-path:polygon(0 14px,14px 0,calc(100% - 14px) 0,100% 14px,100% calc(100% - 14px),calc(100% - 14px) 100%,14px 100%,0 calc(100% - 14px));background:linear-gradient(125deg,#233039eb,#101820f2 45%,#182128e8);border:1px solid #9c7c4680;width:392px;max-height:704px;padding:24px 25px 20px;position:absolute;top:90px;right:42px;overflow:auto;box-shadow:0 0 0 3px #091018,0 0 0 4px #95784b40,0 18px 48px #0008}.catalog-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.catalog-tabs button{letter-spacing:.08em;color:#aea797;min-height:43px;padding:10px 14px;font-size:13px}.catalog-tabs .chosen{color:#fff0bd;filter:brightness(1.3)drop-shadow(0 0 8px #e2bd5c33)}.catalog-colors{justify-content:center;gap:17px;margin:20px 0 15px;display:flex}.catalog-colors button{color:#a8aaa6;border-bottom:1px solid #0000;align-items:center;gap:6px;padding:7px 0;font-size:11px;display:flex}.catalog-colors [aria-pressed=true]{color:#e4cb93;border-color:#bd9458}.catalog-story{color:#bfc3be;border-top:1px solid #ac8c4c33;margin:0 0 20px;padding-top:17px;font-size:14px;line-height:1.85}.catalog-movement{align-items:center;gap:21px;display:flex}.catalog-movement>div:last-child{flex:1}.catalog-movement h3{letter-spacing:.1em;color:#e1c490;margin:6px 0 8px;font-size:19px;font-weight:500}.catalog-movement p{color:#c4c8c2;margin:0;font-size:13px;line-height:1.75}.move-diagram{border:1px solid #c2a57066;flex-shrink:0;grid-template-rows:repeat(5,minmax(0,1fr));grid-template-columns:repeat(5,minmax(0,1fr));width:125px;height:125px;display:grid;box-shadow:0 5px 16px #0007}.diagram-cell{justify-content:center;align-items:center;min-width:0;min-height:0;font-size:23px;font-style:normal;line-height:1;display:flex}.diagram-cell.light{background:#66726d50}.diagram-cell.dark{background:#080e145c}.diagram-cell.move{color:#e8bc70}.diagram-cell.capture{color:#d18872}.diagram-cell.origin{color:#fcf2da;text-shadow:0 1px 5px #000;font-size:22px}.diagram-caption{color:#8d9c9f;letter-spacing:.06em;margin:9px 0 21px;font-size:10px}.catalog-details{border-top:1px solid #ac8c4c33;margin:0;padding-top:17px}.catalog-details dt{color:#c7ad7b;letter-spacing:.14em;margin-bottom:7px;font-size:12px}.catalog-details dd{color:#b6bdb9;margin:0 0 16px;font-size:13px;line-height:1.8}.catalog-details dd:last-child{margin-bottom:0}.catalog-model-controls{text-align:center;justify-content:space-between;align-items:center;width:635px;display:flex;position:absolute;bottom:44px;left:80px}.catalog-model-controls span{letter-spacing:.2em;color:#e7cf9e;font-size:20px}.catalog-model-controls small{color:#9da9a8;margin-top:10px;font-size:12px;display:block}.catalog-model-controls .seal{place-items:center;width:52px;height:52px;padding:0;line-height:1;display:grid}.catalog-model-controls .seal svg{width:24px;height:24px;display:block}body.results-open #canvas-host{visibility:hidden}#presentation-overlay.awards-screen{pointer-events:auto;background:#060b11;grid-template-columns:56% 44%;animation:.55s ease-out result-screen-reveal;display:grid;overflow:hidden}#presentation-overlay.awards-screen[hidden]{display:none}.result-portrait{background:#070e15 url(/art/castle-window-panorama.webp) 44%/cover no-repeat;margin:0;position:relative;overflow:hidden}.result-art-host,.result-art-vignette,.result-dust{position:absolute;inset:0}.result-art-host{background:linear-gradient(#060c1166,#04090bbb)}.result-hero-art{object-fit:cover;object-position:center top;opacity:0;width:100%;height:100%;transition:opacity .55s;display:block}.result-hero-art.loaded{opacity:1}.result-hero-art[hidden]{display:none}.result-art-vignette{pointer-events:none;z-index:1;background:linear-gradient(90deg,#03080c18,#0000 24% 70%,#060b11),linear-gradient(#03080c55,#03080c22 15%,#0000 64%,#060b1166 88%,#060b11 100%)}.result-art-rule{pointer-events:none;z-index:2;clip-path:polygon(0 0,30% 0,30% 3%,1px 3%,1px 97%,30% 97%,30% 100%,0 100%);border:1px solid #bc925327;border-right:0;position:absolute;inset:38px 28px 40px 35px}.result-dust{z-index:2;pointer-events:none}.result-dust i{left:var(--x);top:var(--y);opacity:.28;background:#ffdc91;border-radius:50%;width:2px;height:2px;position:absolute;box-shadow:0 0 8px #ffd585}.result-dust i:nth-child(4n){filter:blur(.7px);width:3px;height:3px}.result-copy{z-index:3;background:radial-gradient(at 82% 16%,#5f483b20,#0000 54%),linear-gradient(90deg,#060b11,#090f17);flex-direction:column;padding:66px 52px 40px 28px;display:flex;position:relative}.result-heading .eyebrow{letter-spacing:.3em;color:#b9a277;align-items:center;gap:13px;margin:0;font-size:13px;display:flex}.result-heading .eyebrow span{background:#a4824a;width:29px;height:1px;position:relative}.result-heading .eyebrow span:after{content:"";background:#ad8a4c;width:5px;height:5px;position:absolute;top:-2px;right:0;transform:rotate(45deg)}.result-heading h2{letter-spacing:.12em;background:linear-gradient(#fff1c8,#dbb66b 64%,#977447);color:#0000;filter:drop-shadow(0 5px 14px #000);-webkit-background-clip:text;background-clip:text;margin:25px 0 14px;font-size:66px;font-weight:500;line-height:1.2}.result-reason{letter-spacing:.24em;color:#a5b1b6;margin:0;font-size:17px}.result-totals{border-bottom:1px solid #b79a6040;gap:47px;margin:32px 0 31px;padding:0 0 26px;display:flex}.result-totals>div{align-items:baseline;gap:14px;display:flex}.result-totals strong{color:#e6dbc1;font-family:Georgia,serif;font-size:35px;font-weight:400;line-height:1}.result-totals span{letter-spacing:.08em;color:#889ba3;font-size:13px}.result-section-title{letter-spacing:.16em;color:#c5b18c;justify-content:space-between;align-items:center;margin:0 0 16px;font-size:13px;display:flex}.result-section-title small{color:#71868e;letter-spacing:0;font-size:11px}.result-heroes{flex-direction:column;gap:13px;display:flex}.result-hero-card{text-align:left;color:#dcd1b8;cursor:pointer;background:linear-gradient(112deg,#1d293180,#10171d44);border:1px solid #8a784a40;border-left:2px solid #9384654d;justify-content:space-between;align-items:center;gap:18px;width:100%;min-height:127px;padding:21px 30px 20px 23px;transition:background .25s,border-color .25s,box-shadow .25s;display:flex;position:relative}.result-hero-card:hover{background:linear-gradient(112deg,#3c382f85,#111d2444);border-color:#a78b5077}.result-hero-card[aria-pressed=true]{background:linear-gradient(112deg,#4c423188,#1d28315c);border-color:#a68a506e #a68a506e #a68a506e #e7c278;box-shadow:inset 0 0 22px #e4bb5210}.result-hero-info{flex-direction:column;gap:9px;display:flex}.result-hero-info>strong{letter-spacing:.12em;color:#e2d1ac;font-size:24px;font-weight:400}.result-hero-info>small{letter-spacing:.08em;color:#84999f;font-size:11px}.award-badges{letter-spacing:.1em;color:#bd9f60;flex-wrap:wrap;gap:13px;font-size:11px;display:flex}.award-badges span+span{border-left:1px solid #9e844859;padding-left:13px}.result-capture-count{text-align:center;flex-direction:column;gap:5px;min-width:49px;display:flex}.result-capture-count b{color:#ecce86;font-family:Georgia,serif;font-size:36px;font-weight:400;line-height:1}.result-capture-count small{letter-spacing:.06em;color:#93a1a3;font-size:11px}.result-choice-mark{color:#edc97b;opacity:0;font-size:8px;position:absolute;top:calc(50% - 5px);left:-5px}.result-hero-card[aria-pressed=true] .result-choice-mark{opacity:1}.result-empty{color:#8498a0;margin:25px 0 0;font-size:14px;line-height:2}.result-actions{align-items:center;gap:16px;margin-top:auto;padding-top:26px;display:flex}.result-actions .ornate{letter-spacing:.14em;width:258px;min-height:73px;padding:18px 31px;font-size:23px}.result-actions .small-ornate{letter-spacing:.1em;width:164px;min-height:55px;padding:15px 22px;font-size:15px}@keyframes result-screen-reveal{0%{opacity:0}to{opacity:1}}@keyframes result-art-breathe{0%{transform:scale(1)}to{transform:scale(1.025)}}@keyframes result-mote{0%,to{opacity:.1;transform:translateY(5px)}50%{opacity:.58;transform:translate(9px,-23px)}}.reduce-motion .result-hero-art,.reduce-motion .result-dust i,.reduce-motion #presentation-overlay.awards-screen{animation:none}.reduce-motion .result-hero-art{transition:none}@media (prefers-reduced-motion:reduce){.result-hero-art,.result-dust i,#presentation-overlay.awards-screen{animation:none}.result-hero-art{transition:none}}@keyframes presentation-reveal{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}.catalog-tabs button{min-height:54px;font-size:14px}.catalog-colors button{min-height:50px;font-size:12px}.catalog-story{font-size:15px;line-height:1.8}.catalog-movement p,.catalog-details dd{font-size:14px}.diagram-caption{font-size:11px}@font-face{font-family:WizardSerif;src:url(/art/WizardSerif-Regular.ttf)format("truetype");font-style:normal;font-weight:400 500;font-display:block}@font-face{font-family:WizardSerif;src:url(/art/WizardSerif-Bold.ttf)format("truetype");font-style:normal;font-weight:600 900;font-display:block}:root{font-family:WizardSerif,Songti SC,STSong,Noto Serif SC,Georgia,serif}#app *,dialog *,#orientation-notice *{text-decoration:none!important}button,input,select{font-family:inherit}button,button *,summary.small-ornate{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}button:is(.ornate,.small-ornate,.mode-card,.text-button),summary.small-ornate,.color-options button,.catalog-colors button,.promotion-choices button{--art-height:38px;--cap:calc(var(--art-height) * 400 / 445);--label-gap:9px;isolation:isolate;box-sizing:border-box;text-align:center;white-space:nowrap;letter-spacing:.08em;text-shadow:0 2px 5px #000;vertical-align:middle;border:0;flex-shrink:0;justify-content:center;align-items:center;min-width:max-content;min-height:48px;line-height:1.3;display:inline-flex;position:relative;padding:8px calc(var(--cap) + var(--label-gap))!important;background:0 0!important}button:is(.ornate,.small-ornate,.mode-card,.text-button):before,summary.small-ornate:before,.color-options button:before,.catalog-colors button:before,.promotion-choices button:before{content:"";z-index:-1;pointer-events:none;height:var(--art-height);box-sizing:border-box;border-style:solid;border-width:0 var(--cap);border-image-source:url(/art/button-trim.png);border-image-slice:0 400 fill;border-image-width:0 var(--cap);border-image-repeat:stretch;position:absolute;inset:50% 0 auto;transform:translateY(-50%)}button.ornate{--art-height:60px;min-height:74px}button.small-ornate,summary.small-ornate{font-size:13px}summary.small-ornate{list-style:none}summary.small-ornate::-webkit-details-marker{display:none}button.text-button{--art-height:34px;margin-top:8px;font-size:13px}button.mode-card{--art-height:50px;flex:1;min-width:0;height:74px;min-height:74px;font-size:17px}.mode-card b{letter-spacing:inherit;font-weight:600;line-height:1.3;font-size:inherit!important}.mode-card.chosen:after,.color-options .chosen:after{display:none}.mode-card.chosen,.color-options .chosen,.catalog-tabs .chosen,.catalog-colors [aria-pressed=true]{color:#ffdf99;filter:brightness(1.22)drop-shadow(0 0 7px #cdb47b45)}.color-options button{--art-height:44px;gap:10px;min-width:0;height:62px;min-height:62px;font-size:16px}.color-options small{font-size:11px}.android-adaptive .topbar .small-ornate{--art-height:34px;--label-gap:8px;min-height:44px;font-size:13px}.android-adaptive .topbar nav{gap:4px}.android-adaptive .topbar .brand{align-items:center;min-height:44px;display:flex}.android-adaptive .seal,.seal{flex-shrink:0;place-items:center;padding:0;line-height:1;display:grid}.android-adaptive .icon-action,.icon-action{flex:none;place-items:center;width:44px;min-width:44px;height:44px;padding:10px;display:grid}.icon-action svg,.seal svg{aspect-ratio:1;flex:none;display:block;width:24px!important;height:24px!important}.catalog-tabs{gap:7px}.catalog-card{container-type:inline-size}.catalog-tabs button{--art-height:30px;--label-gap:7px;min-height:48px!important;font-size:13px!important}.catalog-colors{gap:14px}.catalog-colors button{--art-height:34px;--label-gap:9px;justify-content:center;border:0!important;min-height:48px!important;font-size:14px!important}.catalog-colors button[aria-pressed=false]{opacity:.68}@container (width<=310px){.catalog-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}.promotion-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.promotion-choices button{--art-height:48px;--label-gap:9px;gap:8px;min-height:62px;font-size:15px}.promotion-choices span{margin:0;font-family:Georgia,serif;font-size:23px;line-height:1}.result-actions .ornate{--art-height:54px;--label-gap:10px;min-height:70px;font-size:20px}.result-actions .small-ornate{--art-height:38px;min-height:54px;font-size:14px}@media (width<=700px){.android-adaptive button.mode-card{--art-height:44px;--label-gap:9px;height:68px;min-height:68px;font-size:15px}.android-adaptive .color-options button{--art-height:38px;--label-gap:9px;gap:8px;font-size:15px}.android-adaptive .primary{--art-height:54px;--label-gap:10px;font-size:21px}.android-adaptive .arena-bottom .small-ornate{--art-height:34px;--label-gap:8px;font-size:13px}.android-adaptive .result-actions .ornate,.android-adaptive .result-actions .small-ornate{--art-height:40px;--label-gap:8px;width:auto;min-width:max-content;font-size:17px}}@media (width<=440px){.android-adaptive .topbar{gap:4px;padding:0 6px}.android-adaptive .topbar .brand{width:44px}.android-adaptive .topbar .live-turn{gap:3px;font-size:11px}.android-adaptive .topbar nav{gap:0}.android-adaptive .topbar .small-ornate{--art-height:26px;--label-gap:6px;letter-spacing:.03em;min-height:44px;font-size:11px}.android-adaptive .topbar .icon-action{width:36px;min-width:36px;height:44px;padding:10px 6px}.android-adaptive button.mode-card{--art-height:40px;--label-gap:8px}.android-adaptive .promotion-choices button{--art-height:40px;--label-gap:7px;font-size:14px}}@media (width<=359px){.android-adaptive .topbar .brand{display:none}.catalog-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}.android-adaptive .result-actions{gap:0 8px}.android-adaptive .result-actions :is(.ornate,.small-ornate){min-height:calc(var(--art-height) + 12px)}.android-adaptive .result-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));align-items:stretch;gap:0 8px;padding-top:12px;display:grid}.android-adaptive .result-actions :is(.ornate,.small-ornate){--art-height:38px;--cap:34px;--label-gap:6px;letter-spacing:0;white-space:normal;width:100%;min-width:0;height:auto;min-height:48px;margin:0;font-size:15px;line-height:1.3}.android-adaptive .catalog-tabs{gap:0 8px}.android-adaptive .catalog-tabs button{min-height:44px!important}#start-tutorial.text-button{color:#dfc486;width:100%;margin:0 auto;display:flex}#settings-tutorial{margin-top:12px}body.tutorial-open #undo,body.tutorial-open #view-result,body.tutorial-open #panel-toggle,body.tutorial-open .peek,body.tutorial-open .arena-bottom,body.tutorial-open .panel{display:none!important}body.tutorial-open .topbar{flex-wrap:nowrap;display:flex}body.tutorial-open .topbar nav{flex-wrap:nowrap;margin-left:0;display:flex}body.tutorial-open .topbar .live-turn{min-width:0;overflow:hidden}body.tutorial-open #live-title{text-overflow:ellipsis;overflow:hidden}body.tutorial-open .topbar .brand{width:clamp(66px,15vw,162px);display:flex}body.tutorial-open #canvas-host{bottom:var(--tutorial-card-height,0px)}body.tutorial-open .cinematic{bottom:calc(var(--tutorial-card-height,0px) + 6%)}#tutorial-card{z-index:7;box-sizing:border-box;color:#d9cfb9;height:242px;box-shadow:none;isolation:isolate;background:0 0;border:0;flex-direction:column;gap:10px;padding:34px 48px 30px;display:flex;position:absolute;bottom:8px;left:max(12px,50% - 370px);right:max(12px,50% - 370px)}#tutorial-card[hidden],#tutorial-card [hidden]{display:none!important}#tutorial-card:before,#tutorial-picker:before{content:"";z-index:-1;pointer-events:none;border:56px solid #0000;border-image:url(/art/tutorial-panel-frame.png) 260;position:absolute;inset:0}#tutorial-card:after,#tutorial-picker:after{content:"";z-index:-2;pointer-events:none;background:radial-gradient(at 50% 0,#24323a 0%,#101a21 75%);position:absolute;inset:22px;box-shadow:0 12px 26px #0008}#tutorial-card,#tutorial-picker{font-family:WizardSerif,Songti SC,STSong,Noto Serif SC,serif}.tutorial-heading{flex:none;align-items:center;gap:8px;min-width:0;display:flex}.tutorial-heading-copy{flex:1;min-width:0}.tutorial-progress{letter-spacing:.12em;color:#c6ab71;margin:0 0 3px;font-size:12px;line-height:1.4}#tutorial-title{color:#ecd29c;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:21px;font-weight:600;line-height:1.5;overflow:hidden}#tutorial-card .tutorial-lessons{--art-height:36px;--label-gap:6px;min-height:46px;font-size:13px}#tutorial-card .tutorial-collapse{--art-height:36px;--cap:16px;--label-gap:0px;width:42px;min-width:42px;min-height:46px;padding:0!important}.tutorial-collapse svg{color:#e2c487;filter:drop-shadow(0 2px 1px #211507);width:18px;height:18px;transition:transform .15s;display:block}.is-collapsed .tutorial-collapse svg{transform:rotate(180deg)}.tutorial-copy{overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;min-height:0;overflow:auto}#tutorial-description{color:#c1c3bb;margin:0 0 5px;font-size:14px;line-height:1.8}.tutorial-instruction{flex-wrap:wrap;align-items:baseline;gap:4px 9px;font-size:14px;line-height:1.7;display:flex}#tutorial-step-label{display:none}#tutorial-hint{color:#eee0bc;flex:1;min-width:150px;margin:0}#tutorial-route{color:#d8bd84;letter-spacing:.08em;white-space:nowrap;flex:none;font-family:inherit;font-size:13px}.tutorial-actions{flex-wrap:nowrap;flex:none;justify-content:center;gap:6px;margin-top:auto;display:flex}#tutorial-card .tutorial-actions button{--art-height:40px;--label-gap:5px;width:124px;min-width:0;min-height:48px;font-size:14px}#tutorial-card .tutorial-next{color:#ffdf99;filter:brightness(1.12)}.tutorial-complete-title{color:#e9cc8a;letter-spacing:.16em;text-shadow:0 2px 12px #a8763128;margin:0;font-size:30px;font-weight:500;line-height:1.5}#tutorial-card.is-complete{justify-content:center;align-items:center;gap:18px}#tutorial-card.is-complete .tutorial-actions{margin:0}#tutorial-card.is-complete .tutorial-actions .tutorial-next{--art-height:52px;width:216px;min-height:62px;font-size:17px}.tutorial-open .toast{bottom:calc(var(--tutorial-card-height,0px) + 12px)}#tutorial-picker{width:min(580px,calc(var(--viewport-width,100vw) - var(--inset-left,0px) - var(--inset-right,0px) - 28px));max-height:calc(var(--viewport-height,100dvh) - var(--inset-top,0px) - var(--inset-bottom,0px) - 28px);overscroll-behavior:contain;touch-action:pan-y;box-shadow:none;isolation:isolate;background:0 0;border:0;padding:38px 44px 36px;overflow:hidden;transform:none}#tutorial-picker[open]{flex-direction:column;display:flex}.tutorial-picker-heading{flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex}#tutorial-picker h2{margin:4px 0 0;font-size:26px;line-height:1.4}#tutorial-picker .dialog-close{color:#dbc08a;flex:none;width:44px;min-width:44px;height:44px;padding:0;font-family:inherit;position:static}#tutorial-picker-description{color:#b9c3bf;flex:none;margin:12px 0 5px;font-size:13px;line-height:1.7}#tutorial-picker-progress{color:#cbb484;flex:none;margin:0 0 14px;font-size:12px;line-height:1.7}.tutorial-lesson-list{overscroll-behavior:contain;scrollbar-width:thin;gap:0;min-height:0;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.tutorial-lesson-list li{min-width:0}#tutorial-picker .tutorial-lesson{--art-height:44px;--label-gap:5px;letter-spacing:.04em;grid-template-columns:22px minmax(0,1fr) 14px;align-items:center;gap:6px;width:100%;min-width:0;min-height:62px;font-size:14px;display:grid}#tutorial-picker .tutorial-lesson-number{color:#aa986e;letter-spacing:0;text-align:center;min-width:0;font-size:12px}#tutorial-picker .tutorial-lesson-title{white-space:nowrap;text-align:left;letter-spacing:0;min-width:0;font-size:15px;font-weight:600;line-height:1.5}#tutorial-picker .tutorial-lesson-mark{color:#a99e84;letter-spacing:0;text-align:center;min-width:0;font-size:13px}.tutorial-lesson.is-complete .tutorial-lesson-mark{color:#e6ca8c}#tutorial-picker .tutorial-lesson[aria-current=step]{color:#ffe3a5;filter:brightness(1.2)}#tutorial-picker .tutorial-lesson[aria-current=step] .tutorial-lesson-number{color:#f3d7a1}@media (width<=700px){#tutorial-card{gap:9px;height:278px;padding:34px 29px 26px;left:4px;right:4px}#tutorial-card:before{border-width:48px}#tutorial-card:after{inset:19px}.tutorial-heading{gap:5px}#tutorial-title{font-size:16px}.tutorial-progress{font-size:11px}#tutorial-card .tutorial-lessons{--art-height:30px;--label-gap:4px;min-height:42px;font-size:12px}#tutorial-card .tutorial-collapse{--art-height:30px;--cap:12px;width:30px;min-width:30px;min-height:42px}#tutorial-description,#tutorial-hint{font-size:13px;line-height:1.8}.tutorial-instruction{gap:6px}#tutorial-route{font-size:12px}.tutorial-actions{gap:4px}#tutorial-card .tutorial-actions button{--art-height:33px;--label-gap:3px;width:98px;min-height:45px;font-size:13px}#tutorial-picker{padding:36px 30px 30px}#tutorial-picker h2{font-size:23px}#tutorial-picker .tutorial-lesson{--art-height:40px;--label-gap:3px;grid-template-columns:20px minmax(0,1fr) 13px;gap:5px;min-height:56px}}@media (width<=440px){#tutorial-picker{width:calc(var(--viewport-width,100vw) - var(--inset-left,0px) - var(--inset-right,0px) - 12px);max-width:calc(var(--viewport-width,100vw) - var(--inset-left,0px) - var(--inset-right,0px) - 12px);padding-left:20px;padding-right:20px}#tutorial-picker:before{border-width:46px}#tutorial-picker:after{inset:18px}#tutorial-picker .tutorial-lesson{--art-height:38px;--label-gap:2px;grid-template-columns:20px minmax(0,1fr) 12px;gap:4px}}@media (width<=359px){#tutorial-card{padding-left:25px;padding-right:25px}#tutorial-card .tutorial-actions{width:100%}#tutorial-card .tutorial-actions button{--art-height:30px;--label-gap:2px;flex:1;width:auto;font-size:12px}#tutorial-card .tutorial-lessons{--art-height:27px;--label-gap:3px}.tutorial-progress{letter-spacing:.04em;font-size:10px}}@media (height<=650px){#tutorial-card{gap:7px;height:216px;padding-top:26px;padding-bottom:24px}#tutorial-card .tutorial-actions button{min-height:44px}#tutorial-picker{padding-top:28px;padding-bottom:24px}#tutorial-picker-description{margin-top:6px}#tutorial-picker-progress{margin-bottom:7px}}@media (height<=450px){#tutorial-card{gap:5px;height:184px;padding-top:23px;padding-bottom:22px}#tutorial-card .tutorial-progress{margin-bottom:0;font-size:10px}#tutorial-title{font-size:16px}#tutorial-card .tutorial-lessons,#tutorial-card .tutorial-collapse{min-height:40px}#tutorial-card.is-complete{gap:8px}}@media (prefers-reduced-motion:reduce){.tutorial-collapse svg{transition:none}}#start-screen{--menu-button-height:76px;--menu-button-art-height:56px;--menu-button-font-size:15px;--menu-label-gap:8px;--menu-column-gap:8px}#start-screen .mode-options,#start-screen .color-options,#start-screen .start-actions{gap:var(--menu-column-gap);grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}#start-screen .start-choices .mode-card,#start-screen .start-choices .color-options button,#start-screen .start-actions button,#start-screen #resume-game{--art-height:var(--menu-button-art-height);--label-gap:var(--menu-label-gap);width:100%;min-width:0;height:var(--menu-button-height);min-height:var(--menu-button-height);font-size:var(--menu-button-font-size);letter-spacing:.06em;white-space:normal;flex-direction:row;justify-content:center;align-items:center;gap:6px;margin:0;font-weight:600;line-height:22px;display:flex}#start-screen .start-choices .color-options small{display:none}#start-screen .start-choices legend{margin-bottom:8px}#start-screen .difficulty-label{margin-top:6px;margin-bottom:18px}#start-screen #resume-game{width:calc((100% - var(--menu-column-gap))/2);margin:8px auto 0}#game-shell .topbar{flex-wrap:nowrap;align-items:center;display:flex}#game-shell .topbar .brand{flex:none;align-items:center;width:clamp(52px,14vw,175px);min-width:52px;min-height:44px;display:flex}#game-shell .topbar .brand img{object-fit:contain;width:100%;height:auto;display:block}#game-shell .topbar .live-turn{min-width:0;font-size:12px;overflow:hidden}#game-shell .topbar #live-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}#game-shell .topbar nav{flex-wrap:nowrap;flex:none;align-items:center;display:flex}#game-shell .topbar .small-ornate{--art-height:44px;--label-gap:5px;white-space:nowrap;min-height:52px;font-size:13px}#game-shell .topbar .icon-action{width:36px;min-width:36px;height:44px;padding:10px 6px}@media (width<=700px){#start-screen{--menu-button-height:74px;--menu-button-art-height:54px;--menu-button-font-size:14px;--menu-label-gap:4px}#game-shell .topbar{gap:4px;padding:0 6px}#game-shell .topbar .live-turn{gap:4px;font-size:12px}#game-shell .topbar .live-turn i{width:8px;height:8px}#game-shell .topbar nav{gap:0}#game-shell .topbar .small-ornate{--art-height:38px;--label-gap:4px;letter-spacing:.03em;min-height:52px;font-size:12px}}@media (width>=360px) and (width<=389px){#game-shell .topbar .small-ornate{--art-height:34px;font-size:11px}#game-shell .topbar .icon-action{width:32px;min-width:32px;padding:10px 4px}}@media (width<=359px){#start-screen{--menu-button-art-height:44px;--menu-button-font-size:12px;--menu-label-gap:3px}#start-screen .start-choices{padding-left:0;padding-right:0}#game-shell .topbar .brand{width:52px}#game-shell .topbar .small-ornate{--art-height:30px;--label-gap:2px;min-height:50px;font-size:11px}#game-shell .topbar .live-turn i{display:none}#game-shell .topbar .icon-action{width:28px;min-width:28px;padding:10px 2px}}#tutorial-picker.tutorial-picker-roomy{--lesson-art-height:44px;--lesson-cap:calc(var(--lesson-art-height) * 400 / 445);--lesson-label-inset:calc(var(--lesson-cap) + 6px);width:min(580px,calc(var(--viewport-width,100vw) - var(--inset-left,0px) - var(--inset-right,0px) - 8px));max-width:calc(var(--viewport-width,100vw) - var(--inset-left,0px) - var(--inset-right,0px) - 8px);padding-inline:24px}#tutorial-picker.tutorial-picker-roomy .tutorial-picker-heading,#tutorial-picker.tutorial-picker-roomy #tutorial-picker-description,#tutorial-picker.tutorial-picker-roomy #tutorial-picker-progress{padding-left:var(--lesson-label-inset)}#tutorial-picker.tutorial-picker-roomy .tutorial-lesson{--art-height:var(--lesson-art-height);--cap:var(--lesson-cap);--label-gap:6px;grid-template-columns:22px minmax(0,1fr) 14px;gap:6px;min-height:50px}#tutorial-picker.tutorial-picker-roomy .tutorial-lesson-number{color:#dbc18a;font-variant-numeric:tabular-nums;text-align:left;font-size:15px;font-weight:700}@media (width<=440px){#tutorial-picker.tutorial-picker-roomy{padding-inline:28px;padding-bottom:36px}}#tutorial-title{white-space:normal;text-overflow:clip;overflow-wrap:normal;word-break:normal;line-height:1.35;overflow:visible}#start-screen .title-logo{z-index:2;width:min(420px,100% - 44px);margin:0;position:absolute;top:clamp(68px,8vh,88px);left:50%;transform:translate(-50%)}#start-screen .start-content{width:min(460px,100% - 28px);height:490px;min-height:0;margin:0;padding:0;display:block;position:absolute;top:clamp(224px,34vh,286px);left:50%;transform:translate(-50%)}#start-screen .start-choices{width:100%;max-width:430px;margin:auto}#start-screen .start-actions{grid-template-columns:minmax(0,1fr);gap:0;display:grid}#start-screen .start-actions button{height:66px;min-height:66px;font-size:20px;line-height:1.25}#start-screen .start-choices legend{min-height:20px;margin-bottom:6px}#start-screen #resume-game{width:calc(100% - 32px);max-width:398px;position:absolute;top:408px;left:50%;transform:translate(-50%)}#start-screen #loading{position:absolute;top:400px;left:0;right:0}#start-screen.choosing-difficulty .start-choices,#start-screen.choosing-difficulty .start-tools{visibility:hidden;pointer-events:none}#home-difficulty-dialog{width:min(470px,calc(var(--viewport-width,100vw) - 28px));max-height:calc(var(--viewport-height,100dvh) - 28px);isolation:isolate;color:#e6d1a7;box-shadow:none;text-align:center;overscroll-behavior:contain;background:0 0;border:0;margin:auto;padding:42px 48px 32px;position:fixed;inset:0;overflow:auto;transform:none}#home-difficulty-dialog::backdrop{background:#02070cc2}#home-difficulty-dialog:before{content:"";z-index:-1;pointer-events:none;border:58px solid #0000;border-image:url(/art/tutorial-panel-frame.png) 260;position:absolute;inset:0}#home-difficulty-dialog:after{content:"";z-index:-2;pointer-events:none;background:radial-gradient(at 50% 0,#24343f,#0d1720 80%);position:absolute;inset:22px;box-shadow:0 12px 36px #0009}.home-difficulty-eyebrow{color:#b8a477;letter-spacing:.2em;margin:0 0 6px;font-size:12px}#home-difficulty-title{color:#ebd39b;letter-spacing:.08em;margin:0 0 20px;font-size:23px;font-weight:600}.home-difficulty-options{gap:5px;display:grid}#home-difficulty-dialog [data-difficulty]{--art-height:66px;--label-gap:7px;justify-content:center;align-items:center;width:100%;min-width:0;min-height:84px;display:flex}#home-difficulty-dialog [data-difficulty] span{font-size:18px;line-height:1.2}#home-difficulty-dialog [data-difficulty][aria-pressed=true]{color:#ffe1a5;filter:brightness(1.2)drop-shadow(0 0 7px #a9864244)}#home-difficulty-dialog .home-difficulty-cancel{--art-height:38px;min-height:52px;margin-top:15px;font-size:14px}@media (width<=359px){#start-screen .title-logo{top:62px}#start-screen .start-content{top:228px}#home-difficulty-dialog{padding:36px 29px 26px}#home-difficulty-title{font-size:20px}#home-difficulty-dialog [data-difficulty]{--art-height:66px;min-height:84px}}@media (width>=1000px) and (height<=650px){#start-screen .title-logo{width:min(36%,360px);top:calc(50% - 84px);left:25%}#start-screen .start-content{width:50%;max-width:500px;top:50%;left:73%;transform:translate(-50%,-50%)}}@media (height<=550px){#home-difficulty-dialog{padding-top:28px;padding-bottom:24px}#home-difficulty-title{margin-bottom:12px;font-size:20px}#home-difficulty-dialog [data-difficulty]{--art-height:58px;min-height:72px}#home-difficulty-dialog .home-difficulty-cancel{margin-top:8px}}#start-screen .start-content{height:550px;max-height:calc(var(--viewport-height,100dvh) - clamp(224px,34vh,286px) - 12px);overscroll-behavior:contain;scrollbar-width:thin;overflow-y:auto}#start-screen #resume-game{margin:10px auto 0;position:relative;top:auto;left:auto;transform:none}#start-screen #loading{position:relative;top:auto}@media (width>=560px){#start-screen .start-actions{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px}#start-screen #start-game{grid-column:1/-1}}@media (width>=560px) and (width<=999px) and (height<=650px){#start-screen{--menu-button-height:60px;--menu-button-art-height:46px}#start-screen .title-logo{width:280px;top:16px}#start-screen .start-content{max-height:calc(var(--viewport-height,100dvh) - 162px);top:150px}#start-screen .start-choices fieldset{margin-bottom:8px}#start-screen .start-choices legend{margin-bottom:2px}#start-screen .start-actions button{height:62px;min-height:62px}}@media (width>=1000px) and (height<=650px){#start-screen .start-content{max-height:calc(var(--viewport-height,100dvh) - 22px)}}#start-screen .start-choices{padding:0 0 8px}#start-screen .start-choices button{--art-height:48px;--cap:calc(var(--art-height) * 400 / 445);--home-text-inset:calc(var(--art-height) * 315 / 445 + 3px);--home-label-max:15;--home-label-min:12;min-width:0;height:60px;min-height:60px;font-size:calc(var(--home-fitted-size,var(--home-label-max)) * 1px);letter-spacing:0;white-space:nowrap;overflow-wrap:normal;line-height:1.2;padding:0 var(--home-text-inset)!important}#start-screen .start-choices button:before{height:var(--art-height);border-width:0 var(--cap);border-image-slice:0 400 fill;border-image-width:0 var(--cap)}#start-screen .start-choices button.mode-card,#start-screen .start-choices .color-options button{--art-height:48px;height:60px;min-height:60px;font-size:calc(var(--home-fitted-size,var(--home-label-max)) * 1px);line-height:1.2}#start-screen .start-choices .home-button-label{width:100%;min-width:0;max-width:100%;line-height:inherit;letter-spacing:0;text-wrap:balance;display:block}#start-screen .start-choices fieldset{margin-bottom:6px}#start-screen .start-choices .start-actions{row-gap:0}#start-screen .start-choices .start-actions button{--art-height:76px;--home-label-max:20;--home-label-min:14;--home-text-inset:calc(var(--art-height) * 340 / 445 + 3px);height:86px;min-height:86px;font-size:calc(var(--home-fitted-size,var(--home-label-max)) * 1px);line-height:1.1}#start-screen .start-choices #resume-game{--art-height:48px;--home-label-max:15;--home-label-min:12;width:100%;max-width:none;height:60px;min-height:60px;font-size:calc(var(--home-fitted-size,var(--home-label-max)) * 1px);margin-top:4px;line-height:1.2}html:not(:lang(zh)) #start-screen .start-choices legend{letter-spacing:.04em}@media (width<=359px){#start-screen .start-choices button{--home-label-max:14}#start-screen .start-choices .start-actions button{--home-label-max:19}}@media (width>=560px){#start-screen .start-content{width:min(520px,100% - 28px)}#start-screen .start-choices{max-width:500px}#start-screen .start-choices .start-actions button{--home-label-max:18}#start-screen .start-choices #start-game{--home-label-max:21}}html:lang(th) #start-screen .start-choices button{line-height:1.4}@media (width>=560px) and (width<=999px) and (height<=650px){#start-screen .start-content{max-height:calc(var(--viewport-height,100dvh) - 144px);top:132px}}@media (width>=1000px) and (height<=650px){#start-screen .start-content{width:50%}}#settings-dialog.magic-panel,#promotion-dialog.magic-panel,#side-panel.magic-panel{isolation:isolate;box-shadow:none;color:var(--ivory);background:0 0;border:0;padding:22px;font-family:WizardSerif,Songti SC,STSong,Noto Serif SC,Georgia,serif;overflow:hidden}#settings-dialog.magic-panel:before,#promotion-dialog.magic-panel:before,#side-panel.magic-panel:before,.catalog-screen .catalog-card:before{content:"";z-index:-1;pointer-events:none;border:54px solid #0000;border-image:url(/art/tutorial-panel-frame.png) 260;position:absolute;inset:0}#settings-dialog.magic-panel:after,#promotion-dialog.magic-panel:after,#side-panel.magic-panel:after,.catalog-screen .catalog-card:after{content:"";z-index:-2;pointer-events:none;background:radial-gradient(at 50% 0,#27363ef5,#101a21fc 72%);position:absolute;inset:20px;box-shadow:0 12px 32px #0009}#settings-dialog.magic-panel,#promotion-dialog.magic-panel{width:min(520px,calc(var(--viewport-width,100vw) - var(--inset-left,0px) - var(--inset-right,0px) - 20px));max-width:calc(var(--viewport-width,100vw) - var(--inset-left,0px) - var(--inset-right,0px) - 20px);max-height:calc(var(--viewport-height,100dvh) - var(--inset-top,0px) - var(--inset-bottom,0px) - 24px)}#settings-dialog.magic-panel{height:min(770px,calc(var(--viewport-height,100dvh) - var(--inset-top,0px) - var(--inset-bottom,0px) - 24px))}#settings-dialog.magic-panel[open],#promotion-dialog.magic-panel[open],#side-panel.magic-panel:not([hidden]){flex-direction:column;display:flex}#side-panel.magic-panel{width:370px;max-width:calc(100% - 8px)}.magic-panel-heading{flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:74px;padding:6px 14px 12px;display:flex}.magic-panel-heading h2{letter-spacing:.12em;min-width:0;margin:0;font-size:23px;line-height:1.6}.magic-panel-heading .panel-heading{margin:0;font-size:14px}.magic-panel-scroll{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#947b4c88 transparent;touch-action:pan-y;-webkit-overflow-scrolling:touch;flex:auto;min-width:0;min-height:0;padding:0 16px 22px;overflow:auto}.magic-panel-scroll>:first-child{margin-top:0}#settings-dialog .magic-panel-heading,#settings-dialog .magic-panel-scroll{padding-inline:24px}#settings-dialog .i18n-setting-row{flex-wrap:wrap;gap:8px 14px}#settings-dialog .i18n-label{flex:1 0 auto;min-width:0;max-width:100%}#settings-dialog .i18n-language-field{flex:none;max-width:100%;margin-left:auto}#settings-dialog .magic-panel-scroll>.full{--art-height:44px;--label-gap:10px;min-height:60px;margin:3px 0}#settings-dialog .magic-panel-scroll .toggle{gap:14px}#settings-dialog .magic-panel-scroll .select-label{flex-wrap:wrap;gap:12px}#settings-dialog .magic-panel-scroll .range-label{gap:12px}#settings-dialog .magic-panel-scroll select{flex:none;max-width:100%}#settings-dialog .magic-panel-scroll input[type=range]{min-width:0}#settings-dialog .extras{border:0;margin-top:3px;padding-top:0}#settings-dialog .extras summary,#settings-dialog .extras>button{--art-height:44px;--label-gap:10px;color:#dcc698;justify-content:center;min-width:0;min-height:60px;margin:3px 0;font-size:13px}#settings-dialog .extras[open] summary{color:#dcc698}#settings-dialog .demo-selectors{grid-template-columns:minmax(0,1fr);gap:12px;margin:8px 0 16px;display:grid}#settings-dialog .demo-selectors .select-label{gap:8px;min-width:0;margin:0}#settings-dialog .demo-selectors select{min-width:0}@media (width>=560px){#settings-dialog .demo-selectors{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#settings-dialog .demo-selectors .select-label{flex-direction:column;align-items:stretch}#settings-dialog .demo-selectors select{width:100%}}#promotion-dialog .magic-panel-heading{justify-content:center;min-height:65px}#side-panel .magic-panel-scroll .panel-new{--art-height:46px;min-height:62px;font-size:16px}button.magic-square-control{isolation:isolate;clip-path:none;width:64px;min-width:64px;height:56px;min-height:56px;box-shadow:none;color:#e8ce94;text-shadow:0 2px 5px #000;background:0 0;border:0;flex:0 0 64px;place-items:center;padding:12px;line-height:1;display:grid;position:relative}button.magic-square-control:before{content:"";z-index:-1;pointer-events:none;border:22px solid #0000;border-image:url(/art/tutorial-panel-frame.png) 260;position:absolute;inset:0}button.magic-square-control:after{content:"";z-index:-2;pointer-events:none;background:radial-gradient(at 50% 0,#344047,#111d25 78%);position:absolute;inset:8px}button.magic-square-control svg{width:25px;height:25px;display:block}.magic-panel-heading button.dialog-close{flex-basis:56px;width:56px;min-width:56px;height:48px;min-height:48px;padding:10px;font-size:24px;position:relative;inset:auto}.magic-panel-heading button.dialog-close:before{border-width:20px}.catalog-screen .catalog-card,.android-adaptive .catalog-screen .catalog-card{isolation:isolate;height:auto;max-height:none;box-shadow:none;clip-path:none;background:0 0;border:0;padding:38px 32px 36px;position:relative;inset:auto;overflow:visible}.catalog-screen .catalog-card:before{border-width:48px}.catalog-screen .catalog-card:after{inset:18px}.catalog-screen .catalog-model-controls>div{flex:1;min-width:0}.catalog-screen .catalog-model-controls span{line-height:1.6}.catalog-screen .catalog-model-controls small{line-height:1.7}.catalog-screen .catalog-model-controls button.catalog-nav{flex:0 0 64px}.catalog-screen .catalog-card .catalog-movement,.catalog-screen .catalog-card .catalog-movement>div{min-width:0}.catalog-screen .catalog-card .catalog-details dd{overflow-wrap:anywhere}.catalog-screen .catalog-info-heading{display:none}.catalog-info-scroll{min-width:0}body.catalog-open #game-shell :is(#undo,#panel-toggle),body.catalog-open #game-shell .live-turn{display:none!important}body.catalog-open #game-shell .topbar nav{flex:1;justify-content:flex-end;min-width:0;margin-left:auto}body.catalog-open #game-shell .topbar .catalog-return{white-space:normal;overflow-wrap:anywhere;flex:0 auto;min-width:0;max-width:240px;line-height:1.3}@media (aspect-ratio>3/4){.android-adaptive #presentation-overlay.catalog-screen{padding-top:18px;padding-bottom:18px;overflow:hidden}.catalog-screen>.catalog-header{display:none}.catalog-body{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);align-items:stretch;gap:clamp(12px,2vw,28px);height:100%}.catalog-model-column{flex-direction:column;min-height:0;display:flex}.catalog-model-viewport{flex:auto;height:auto;min-height:0}.android-adaptive .catalog-screen .catalog-model-controls{flex:none}.catalog-screen .catalog-card,.android-adaptive .catalog-screen .catalog-card{height:100%;min-height:0;max-height:100%;display:flex;overflow:hidden}.catalog-info-scroll{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#947b4c88 transparent;touch-action:pan-y;flex:1;min-height:0;padding-right:4px;overflow:auto}.catalog-screen .catalog-info-heading{margin:0 0 22px;display:block;position:static}.catalog-screen .catalog-info-heading .eyebrow{margin-top:0}}@media (aspect-ratio>3/4) and (width<=700px){.catalog-header{min-height:82px}.android-adaptive .catalog-screen .presentation-heading h2{font-size:25px}.catalog-screen .catalog-card,.android-adaptive .catalog-screen .catalog-card{padding:28px 24px}.catalog-screen .catalog-card:before{border-width:42px}.catalog-screen .catalog-card:after{inset:16px}.android-adaptive .catalog-screen .catalog-model-controls{gap:6px;padding-inline:0}.catalog-screen .catalog-model-controls button.catalog-nav{flex-basis:46px;width:46px;min-width:46px;height:48px;min-height:48px}.catalog-screen .catalog-model-controls button.catalog-nav:before{border-width:18px}.catalog-screen .catalog-model-controls span{letter-spacing:.03em;font-size:14px}.android-adaptive .catalog-screen .catalog-model-controls small{font-size:10px}.catalog-screen .catalog-colors{gap:5px}.catalog-screen .catalog-colors button{--art-height:30px;--label-gap:4px}}@container (width<=260px){.catalog-movement{flex-direction:column;align-items:flex-start;gap:12px}}html:not(:lang(zh)) .magic-panel-heading h2{overflow-wrap:anywhere;letter-spacing:0}html:not(:lang(zh)) #settings-dialog .magic-panel-scroll>.full,html:not(:lang(zh)) #settings-dialog .extras summary,html:not(:lang(zh)) #settings-dialog .extras>button{white-space:normal;overflow-wrap:anywhere;letter-spacing:0;min-width:0;max-width:100%;line-height:1.35}html:not(:lang(zh)) #settings-dialog .toggle>span{overflow-wrap:anywhere;min-width:0}html:not(:lang(zh)) #settings-dialog .demo-selectors label{overflow-wrap:anywhere}@media (aspect-ratio>3/4){html:not(:lang(zh)) .catalog-screen .presentation-heading{flex:1;min-width:0}html:not(:lang(zh)) .catalog-screen .presentation-heading :is(h2,p){overflow-wrap:anywhere;letter-spacing:0}html:not(:lang(zh)) .catalog-screen .presentation-close{--art-height:44px;--label-gap:6px;white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:48%;min-height:64px;font-size:13px;line-height:1.3}html:not(:lang(zh)) .catalog-header{gap:12px;padding-block:12px}html:not(:lang(zh)) .catalog-screen .catalog-model-controls :is(span,small),html:not(:lang(zh)) .catalog-screen .catalog-card :is(p,h3,dt,dd,.eyebrow){overflow-wrap:anywhere;letter-spacing:0}html:not(:lang(zh)) .catalog-screen .catalog-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}html:not(:lang(zh)) .catalog-screen .catalog-tabs button{--art-height:36px;--label-gap:5px;white-space:normal;overflow-wrap:anywhere;min-width:0;line-height:1.25;min-height:54px!important;font-size:14px!important}html:not(:lang(zh)) .catalog-screen .catalog-colors{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}html:not(:lang(zh)) .catalog-screen .catalog-colors button{--art-height:30px;--label-gap:3px;white-space:normal;overflow-wrap:anywhere;min-width:0;line-height:1.3;font-size:12px!important}@container (width<=280px){html:not(:lang(zh)) .catalog-screen .catalog-tabs{grid-template-columns:minmax(0,1fr)}}}@media (width<=440px){#settings-dialog.magic-panel,#promotion-dialog.magic-panel,#side-panel.magic-panel{padding:18px}#settings-dialog.magic-panel:before,#promotion-dialog.magic-panel:before,#side-panel.magic-panel:before{border-width:46px}#settings-dialog.magic-panel:after,#promotion-dialog.magic-panel:after,#side-panel.magic-panel:after{inset:17px}.magic-panel-heading{gap:8px;min-height:70px;padding:5px 11px 12px}.magic-panel-heading h2{letter-spacing:.1em;font-size:21px}.magic-panel-scroll{padding:0 14px 18px}#settings-dialog .magic-panel-heading,#settings-dialog .magic-panel-scroll{padding-inline:22px}#settings-dialog .magic-panel-scroll .toggle{font-size:14px}#settings-dialog .magic-panel-scroll .toggle small{font-size:11px}#settings-dialog .magic-panel-scroll>.full{--art-height:40px;--label-gap:9px;min-height:58px;font-size:13px}.catalog-screen .catalog-card,.android-adaptive .catalog-screen .catalog-card{padding:32px 27px}.catalog-screen .catalog-card:before{border-width:44px}.catalog-screen .catalog-card:after{inset:16px}.catalog-screen .catalog-model-controls span{letter-spacing:.08em;font-size:15px}.catalog-screen .catalog-model-controls small{font-size:10px}}@media (width<=359px){#settings-dialog .magic-panel-scroll .range-label,#settings-dialog .magic-panel-scroll .select-label{font-size:13px}#promotion-dialog .magic-panel-heading h2{font-size:19px}.catalog-screen .catalog-card,.android-adaptive .catalog-screen .catalog-card{padding:30px 25px}.catalog-screen .catalog-model-controls button.catalog-nav{flex-basis:56px;width:56px;min-width:56px}.android-adaptive .catalog-screen .catalog-model-controls{gap:6px;padding-inline:0}.android-adaptive .catalog-screen .catalog-model-controls span{font-size:14px}}@media (width<=379px){#promotion-dialog .promotion-choices{grid-template-columns:minmax(0,1fr)}}#settings-dialog .settings-actions{grid-template-columns:minmax(0,1fr);gap:4px 12px;display:grid}#settings-dialog .settings-actions>button{--art-height:44px;--label-gap:8px;color:#dcc698;white-space:normal;overflow-wrap:anywhere;width:100%;min-width:0;min-height:60px;margin:0;font-size:13px}#settings-dialog #extras>summary[hidden]{display:none!important}@media (aspect-ratio>3/4){#settings-dialog .settings-actions{grid-template-columns:repeat(2,minmax(0,1fr))}#settings-dialog .settings-actions>button{--art-height:36px;--label-gap:3px;min-height:52px}}@media (aspect-ratio>3/4) and (width<=559px){.android-adaptive #presentation-overlay.catalog-screen{padding-inline:8px;padding-top:10px;padding-bottom:10px}.catalog-body{gap:8px}.android-adaptive #presentation-overlay.catalog-screen .catalog-card{padding:28px 26px}.catalog-screen .catalog-tabs{gap:4px}.catalog-screen .catalog-tabs button,.catalog-screen .catalog-colors button{--art-height:30px;--label-gap:1px;min-height:44px!important;font-size:11px!important}.catalog-screen .catalog-model-controls button.catalog-nav{flex:0 0 46px;width:46px;min-width:46px;height:46px;min-height:46px;padding:8px}.catalog-screen .catalog-model-controls small{display:none!important}.catalog-screen .catalog-model-controls span{font-size:12px}.catalog-screen .catalog-info-heading .eyebrow{font-size:20px}}.catalog-screen .catalog-card,.android-adaptive #presentation-overlay.catalog-screen .catalog-card{padding-inline:clamp(36px,4vw,48px)}.catalog-screen .catalog-colors button{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}@container (width<=280px){html:not(:lang(zh)) .catalog-screen .catalog-colors{grid-template-columns:minmax(0,1fr)}}@media (width<=440px){.android-adaptive #game-shell .topbar nav{flex:1 1 0;min-width:0}.android-adaptive #game-shell .topbar nav .small-ornate{--art-height:24px;--label-gap:2px;letter-spacing:0;flex:1 1 0;min-width:0}.android-adaptive #game-shell .topbar nav .icon-action{flex:0 0 28px}.android-adaptive .arena-bottom{width:100%;max-width:100%;padding-inline:8px}.android-adaptive .arena-bottom>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:100%;display:grid}.android-adaptive .arena-bottom .small-ornate{--art-height:34px;--label-gap:2px;letter-spacing:0;width:100%;min-width:0}}#settings-dialog .settings-actions{gap:0 8px;margin-top:8px;padding-bottom:0}#settings-dialog .settings-actions>button{--art-height:36px;min-height:44px;margin:0}#settings-dialog .magic-panel-scroll{padding-bottom:24px}#side-panel .magic-panel-heading,#side-panel .magic-panel-scroll,#promotion-dialog .magic-panel-scroll{padding-inline:24px}#promotion-dialog .magic-panel-scroll{padding-bottom:24px}#side-panel .magic-panel-scroll .panel-new{--art-height:40px;min-height:50px}#settings-dialog .settings-exit{margin-top:0}#settings-dialog #return-menu{grid-column:1/-1}#settings-dialog .settings-actions{grid-template-columns:minmax(0,1fr)}#settings-dialog .settings-actions>button{--art-height:38px;min-height:48px}#settings-dialog .depth-distance-setting{border-bottom:1px solid #bda36735;min-width:0;padding:16px 0 19px}#settings-dialog .depth-distance-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px;display:flex}#settings-dialog .depth-distance-heading label{overflow-wrap:anywhere;min-width:0}#settings-dialog .depth-distance-heading output{color:#dcc08b;font-variant-numeric:tabular-nums;flex:none;font-size:13px}#settings-dialog .depth-distance-slider{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}#settings-dialog .depth-distance-slider span{color:#c0b59b;font-size:12px}#settings-dialog .depth-distance-slider input[type=range]{width:100%;min-width:0;max-width:100%;min-height:32px;margin:0}#settings-dialog .depth-distance-setting.is-disabled{opacity:.45}#start-screen.home-start-screen .start-tools{gap:2px}#start-screen.home-start-screen .title-logo{width:min(520px,100% - 44px);margin:0;top:35%;left:50%;transform:translate(-50%,-50%)}#start-screen.home-start-screen .title-logo picture img{aspect-ratio:9/4;object-fit:contain;display:block}#start-screen.home-start-screen .start-content{width:min(198px,100% - 48px);max-width:none;height:auto;max-height:none;top:auto;bottom:clamp(28px,6vh,56px);left:50%;overflow:visible;transform:translate(-50%)}#start-screen.home-start-screen .start-choices{background:0 0;width:100%;max-width:none;padding:0}#start-screen.home-start-screen .start-choices .start-actions{grid-template-columns:minmax(0,1fr);gap:0;display:grid}#start-screen.home-start-screen .start-choices .start-actions button{--art-height:44px;--cap:calc(var(--art-height) * 400 / 445);letter-spacing:.08em;height:50px;min-height:50px;margin:0;font-size:18px;font-weight:400;line-height:1.15;padding:0 calc(var(--art-height) * 340 / 445 + 3px)!important}#start-screen.home-start-screen .start-choices #start-game{grid-column:auto;font-size:18px}#start-screen.home-start-screen .home-button-label{letter-spacing:.08em;font-weight:400}#start-screen.home-start-screen.choosing-difficulty .title-logo{filter:brightness(.62)}#home-difficulty-dialog.home-start-flow{width:min(448px,100vw - 24px);max-height:calc(100dvh - 28px);padding:38px 42px 36px;overflow:auto}#home-difficulty-dialog.home-start-flow .home-difficulty-eyebrow{letter-spacing:.12em;margin:0 26px 9px;font-size:12px;line-height:1.5}#home-difficulty-dialog.home-start-flow #home-difficulty-title{margin:0 15px 10px;font-size:25px;font-weight:700;line-height:1.3}#home-difficulty-dialog.home-start-flow .home-flow-hint{color:#b7ac94;margin:0 0 14px;font-size:13px;line-height:1.6}#home-difficulty-dialog.home-start-flow .home-difficulty-options{gap:0;display:grid}#home-difficulty-dialog.home-start-flow .home-difficulty-options button{--art-height:48px;--cap:calc(var(--art-height) * 400 / 445);letter-spacing:.04em;width:100%;min-width:0;height:50px;min-height:50px;font-size:19px;line-height:1.2;padding:0 calc(var(--art-height) * 315 / 445 + 3px)!important}#home-difficulty-dialog.home-start-flow .home-difficulty-options button:before{height:var(--art-height);border-width:0 var(--cap);border-image-slice:0 400 fill;border-image-width:0 var(--cap)}#home-difficulty-dialog.home-start-flow [data-flow-back]{color:#cbb786;letter-spacing:.08em;background:0 0;border:0;width:fit-content;min-width:100px;height:44px;min-height:44px;margin:0 auto;padding:8px 16px;font-size:14px;line-height:1.3;display:block}#home-difficulty-dialog.home-start-flow .home-flow-resume:not([hidden]){border-top:1px solid #c9a56c33;margin-top:12px;padding-top:6px}#home-difficulty-dialog.home-start-flow #resume-game{--art-height:42px;--cap:calc(var(--art-height) * 400 / 445);width:100%;min-width:0;height:56px;min-height:56px;margin:0;font-size:15px;line-height:1.2}@media (width<=359px){#home-difficulty-dialog.home-start-flow{padding:38px 32px 34px}#home-difficulty-dialog.home-start-flow #home-difficulty-title{font-size:23px}#home-difficulty-dialog.home-start-flow .home-difficulty-options button{font-size:18px}}@media (height<=650px){#home-difficulty-dialog.home-start-flow{padding-top:34px;padding-bottom:34px}}@media (height<=470px){#start-screen.home-start-screen .title-logo{width:min(380px,100% - 44px);top:28%}#start-screen.home-start-screen .start-content{bottom:20px}#start-screen.home-start-screen .start-choices .start-actions{gap:0}#home-difficulty-dialog.home-start-flow{padding-top:26px}}@media (width<=559px) and (orientation:portrait){.android-adaptive #start-screen.home-start-screen .splash-art{background-image:url(/art/opening-stone-portrait.webp);background-position:50%;background-size:cover;width:100%;height:100%}.android-adaptive #start-screen.home-start-screen .splash-beam,.android-adaptive #start-screen.home-start-screen .splash-candlelight{display:none}#start-screen.home-start-screen .title-logo{width:min(300px,100% - 52px);top:35%}#start-screen.home-start-screen .title-logo picture img{aspect-ratio:1402/1122;object-fit:contain;width:100%;height:auto;max-height:min(38dvh,260px);display:block}}#home-difficulty-dialog.home-start-flow [hidden]{display:none!important}#start-screen.home-start-screen .start-actions button[data-home-flow-control]{--flow-label-max:18}#home-difficulty-dialog.home-start-flow .home-difficulty-options button[data-home-flow-control]{--flow-label-max:19}#home-difficulty-dialog.home-start-flow #resume-game[data-home-flow-control]{--flow-label-max:15}#home-difficulty-dialog.home-start-flow [data-flow-back][data-home-flow-control]{--flow-label-max:14;max-width:100%}#start-screen.home-start-screen .home-flow-label,#home-difficulty-dialog.home-start-flow .home-flow-label{letter-spacing:0;white-space:nowrap;text-wrap:balance;width:100%;min-width:0;max-width:100%;line-height:1.2;display:block;font-size:var(--flow-fitted-size,18px)!important}#start-screen.home-start-screen .home-flow-label{font-weight:400}#start-screen.home-start-screen .start-actions .home-flow-label{transform:translateY(-.085em)}html:lang(th) #start-screen.home-start-screen .start-actions .home-flow-label{transform:none}html:lang(zh) #start-screen.home-start-screen .home-flow-label{letter-spacing:.08em}html:lang(th) #start-screen.home-start-screen .home-flow-label,html:lang(th) #home-difficulty-dialog.home-start-flow .home-flow-label{line-height:1.35}#home-difficulty-dialog.home-start-flow #home-difficulty-title,#home-difficulty-dialog.home-start-flow .home-difficulty-eyebrow,#home-difficulty-dialog.home-start-flow .home-flow-hint{white-space:normal;overflow-wrap:anywhere;text-wrap:balance;min-width:0;max-width:100%}html:not(:lang(zh)) #home-difficulty-dialog.home-start-flow #home-difficulty-title,html:not(:lang(zh)) #home-difficulty-dialog.home-start-flow .home-difficulty-eyebrow,html:not(:lang(zh)) #home-difficulty-dialog.home-start-flow .home-flow-hint{letter-spacing:0}@media (width<=359px){#home-difficulty-dialog.home-start-flow .home-difficulty-options button[data-home-flow-control]{--flow-label-max:18}}
