:root{--celadon-table:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"),radial-gradient(ellipse 90% 70% at 50% 55%,#6d8a7c 0%,#4f6a5e 60%,#3a4f46 100%)}body,html{margin:0;padding:0;height:100%}body{font-family:Roboto,sans-serif;overflow-y:auto}#__next{min-height:100%}.App{min-height:100%}.App,.Lobby{display:flex;flex-direction:column}.Lobby{min-height:100vh;min-height:100dvh;width:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:none;padding:1rem 0;background-image:url(/_next/static/media/lobby_background.e752d86b.webp);background-size:cover;background-position:50%;background-repeat:no-repeat}.Lobby,.LobbyContent{box-sizing:border-box;align-items:center}.LobbyContent{justify-content:center;background-color:#ffffffd9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:24px;width:calc(100% - 2rem);max-width:430px;margin:auto 1rem;padding:.5rem 1.25rem 1rem;box-shadow:0 12px 32px #0f172a24}.LobbyContent,.LobbyForm{display:flex;flex-direction:column}.LobbyForm{width:100%;align-items:stretch;gap:.75rem}.LobbyTablist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:.25rem;gap:.25rem;width:100%;padding:.25rem;border-radius:999px;background-color:#0f172a14;border:1px solid #0f172a14;box-sizing:border-box}.LobbyTab{position:relative;-webkit-appearance:none;appearance:none;border:0;margin:0;padding:.55rem .4rem .65rem;border-radius:999px;background-color:initial;color:#334155;font:inherit;font-size:.8125rem;font-weight:600;line-height:1.2;white-space:nowrap;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;transition:background-color .15s ease,color .15s ease}.LobbyTab:hover{background-color:#1976d214;color:#0f172a}.LobbyTab:focus-visible{outline:2px solid #1976d2;outline-offset:2px}.LobbyTab[aria-selected=true]{background-color:#1976d2;color:#fff}.LobbyTab[aria-selected=true]:after{content:"";position:absolute;left:28%;right:28%;bottom:4px;height:0;border-bottom:2px solid;border-radius:2px;pointer-events:none}@media (forced-colors:active){.LobbyTab[aria-selected=true]:after{border-bottom:3px solid Highlight}}.LobbyTabPanels{width:100%;min-height:218px;padding:.9rem 1rem;border-radius:16px;background-color:#ffffff9e;border:1px solid #0f172a14;box-sizing:border-box;display:flex;flex-direction:column}.LobbyTabPanel[hidden]{display:none}.LobbyTabPanelBody{gap:.75rem}.LobbySubCard,.LobbyTabPanelBody{display:flex;flex-direction:column;align-items:stretch}.LobbySubCard{gap:.65rem;padding:.75rem;border-radius:12px;background-color:#ffffffb8;border:1px solid #0f172a14;box-sizing:border-box}.LobbyFieldRow{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.LanguageSelection{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:.25rem .75rem}@media (max-width:420px){.LobbyContent{padding:.5rem .9rem 1rem}.LobbyTabPanels{padding:.85rem .75rem}}.GamePage{height:100vh;height:100dvh;width:100%;padding:.5rem max(.5rem,env(safe-area-inset-right,0px)) max(.5rem,env(safe-area-inset-bottom,0px)) max(.5rem,env(safe-area-inset-left,0px));grid-gap:.5rem;gap:.5rem;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);overflow:clip;overscroll-behavior:none;align-items:stretch;justify-items:stretch;color:#f4eedf;background-color:#4f6a5e;background-image:var(--celadon-table)}.GameStatusBanner{--cream:#f4eedf;--ink:#2d2620;width:min(100%,36rem);min-width:0;justify-self:center;display:flex;flex-direction:column;align-items:stretch;gap:.3rem;color:var(--cream)}.StatusBar{display:grid;grid-template-columns:2.5rem minmax(0,1fr) 2.5rem;grid-gap:.5rem}.StatusBar,.StatusCenter{align-items:center;gap:.5rem}.StatusCenter{display:flex;flex-wrap:wrap;justify-content:center;min-width:0}.StatusPill{display:inline-flex;align-items:center;gap:.5rem;max-width:100%;padding:.4rem 1rem;border-radius:999px;font-family:Songti SC,STSong,"Noto Serif SC","Noto Serif CJK SC",Georgia,serif;font-weight:700;font-size:1.05rem;line-height:1.2;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--cream);background:#14201b52;box-shadow:inset 0 0 0 1px #f4eedf38;transition:background-color .2s ease,color .2s ease}.StatusPill.MyTurn,.StatusPill.Won{color:var(--ink);background:linear-gradient(180deg,#fffdf6,#efe4cc);box-shadow:inset 0 0 0 1px #a8906a,0 2px 0 #0000002e,0 0 18px #f4eedf59}.TurnSeal{flex:none;display:inline-block;width:.7rem;height:.7rem;border-radius:2px;box-shadow:inset 0 0 0 1px #ffffff59}.TurnSeal.Red{background:#b8322a}.TurnSeal.Blue{background:#2c4a86}.StatusTimer{display:inline-flex;align-items:center;gap:.15rem;margin-left:.25rem;padding-left:.6rem;border-left:1px solid;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:600;font-size:.9rem;opacity:.85}.GamePage .StatusAction{border-radius:999px;padding:.3rem 1.1rem;font-weight:700;letter-spacing:.04em;color:#fff;background:#b8322a;box-shadow:0 2px 0 #7d1f19}.GamePage .StatusAction:hover{background:#c93a31;box-shadow:0 2px 0 #7d1f19}.StatusMenuButton.MuiIconButton-root{color:var(--cream);background:#14201b52;box-shadow:inset 0 0 0 1px #f4eedf38}.StatusMenuButton.MuiIconButton-root:hover{background:#14201b80}.StatusSubline{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.15rem .5rem;text-align:center;font-size:.85rem;line-height:1.35;color:#f4eedfcc}.StatusDot{opacity:.6}.RoomCode{font-family:Menlo,ui-monospace,monospace;letter-spacing:.08em;color:var(--cream);padding:0 .35rem;border-radius:4px;background:#14201b59}.StatusAlert{color:#ffd9a0;font-weight:600}.BoardStage{width:100%;height:100%;min-width:0;min-height:0;display:grid;place-items:center;container:board-stage/size}.BoardContainer{--board-frame:9px;--ink:#2d2620;--vermilion:#b8322a;--indigo:#22396b;--gold:#c79a2e;width:min(100%,(100dvh - 8rem) * 460/587);max-width:100%;max-height:100%;width:min(100cqi - 2 * var(--board-frame),(100cqb - 2 * var(--board-frame)) * 460/587);height:auto;height:min(100cqb - 2 * var(--board-frame),(100cqi - 2 * var(--board-frame)) * 587/460);aspect-ratio:460/587;background-color:#f2e8d2;background-image:url(/_next/static/media/map.0bf694e8.svg);background-size:100% 100%;background-repeat:no-repeat;background-position:50%;display:flex;justify-content:center;align-items:center;border-radius:2px;box-shadow:0 0 0 var(--board-frame) var(--ink),0 16px 34px 8px #28190a59;box-sizing:border-box;container:board/size}.GridContainer{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(12,minmax(0,1fr));width:100%;height:100%;border:0}.GridItem{color:#000}.GridItem,.Square{display:flex;justify-content:center;align-items:center;border:0}.Square{--side:#0000;position:relative;width:66%;height:62%;margin:0;padding:0;border-radius:min(.9cqw,.7cqh);line-height:1;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;outline:0 solid #0000;outline-offset:.45cqh;transition:translate .12s ease,filter .12s ease}.SquareFontEn{font-size:min(2cqh,2.75cqw);font-family:Georgia,Times New Roman,serif;font-weight:700}.SquareFontEn.SquareTextLong{font-size:min(1.64cqh,2.25cqw);letter-spacing:-.01em}.SquareFontZh{font-size:min(3.5cqh,4.8cqw);font-family:Songti SC,STSong,"Noto Serif SC","Noto Serif CJK SC","Source Han Serif SC",SimSun,serif;font-weight:900;letter-spacing:.04em}.Red{--side:var(--vermilion);--side-dark:#7d1f19}.Blue{--side:var(--indigo);--side-dark:#142546}.Blue,.Red{color:var(--side);background:linear-gradient(180deg,#fffdf6,#ece0c6);box-shadow:inset 0 0 0 1px #a8906a,inset 0 1px 0 1px #ffffffb3,0 .42cqh 0 var(--side),0 .75cqh .7cqh #2d1e0f59}.Concealed{color:#fff;background:var(--side);box-shadow:inset 0 0 0 1px #0000001f,0 .42cqh 0 var(--side-dark),0 .75cqh .7cqh #2d1e0f59}.Concealed:after,.FaceDown:after{content:"";position:absolute;inset:min(.6cqh,.8cqw);border-radius:min(.5cqw,.4cqh);pointer-events:none;box-shadow:inset 0 0 0 1px #ffffff73,inset 0 2px 3px #00000040}.Transparent{background:#0000;cursor:default}.FaceDown{color:#efe2c4;background:#2d2620;box-shadow:inset 0 0 0 1px #0000001f,0 .42cqh 0 #15110e,0 .75cqh .7cqh #2d1e0f59}@media (hover:hover){.Blue:hover,.FaceDown:hover,.Red:hover{filter:brightness(1.05)}}.LastMoveToSquare:before{--b:2px;--l:22%;content:"";position:absolute;inset:-.55cqh;pointer-events:none;background:linear-gradient(var(--vermilion) 0 0) 0 0 /var(--l) var(--b),linear-gradient(var(--vermilion) 0 0) 0 0 /var(--b) 40%,linear-gradient(var(--vermilion) 0 0) 100% 0 /var(--l) var(--b),linear-gradient(var(--vermilion) 0 0) 100% 0 /var(--b) 40%,linear-gradient(var(--vermilion) 0 0) 0 100% /var(--l) var(--b),linear-gradient(var(--vermilion) 0 0) 0 100% /var(--b) 40%,linear-gradient(var(--vermilion) 0 0) 100% 100% /var(--l) var(--b),linear-gradient(var(--vermilion) 0 0) 100% 100% /var(--b) 40%;background-repeat:no-repeat}.LastMoveFromSquare{outline:1.5px dashed var(--vermilion);outline-offset:-1px}.Square.Moving{z-index:3}.LostDialog.MuiPaper-root{background:#f6efe0;color:#2d2620;border-radius:10px;box-shadow:0 0 0 6px #2d2620,0 18px 40px #00000073}.LostTitle.MuiDialogTitle-root{font-family:Songti SC,STSong,"Noto Serif SC",Georgia,serif;font-weight:800;letter-spacing:.06em;padding-bottom:.25rem}.LostSection+.LostNote,.LostSection+.LostSection{margin-top:1rem;padding-top:1rem;border-top:1px solid #2d262026}.LostHeading{display:flex;align-items:center;gap:.5rem;margin:0 0 .6rem;font-size:.9rem;font-weight:700}.MiniTiles{display:flex;flex-wrap:wrap;gap:.55rem .5rem}.MiniTile{position:relative;display:inline-grid;place-items:center;min-width:3.4rem;height:1.9rem;padding:0 .45rem;box-sizing:border-box;border-radius:4px;font-family:Songti SC,STSong,"Noto Serif SC","Noto Serif CJK SC",Georgia,serif;font-weight:900;font-size:.95rem;white-space:nowrap;background:linear-gradient(180deg,#fffdf6,#ece0c6);box-shadow:inset 0 0 0 1px #a8906a,0 3px 0 var(--tile-side),0 4px 5px #2d1e0f40;color:var(--tile-side)}.MiniTile.Red{--tile-side:#b8322a}.MiniTile.Blue{--tile-side:#22396b}.LostCount{position:absolute;top:-.55rem;right:-.45rem;min-width:1.1rem;height:1.1rem;padding:0 .2rem;box-sizing:border-box;border-radius:999px;display:grid;place-items:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.65rem;font-weight:700;color:#fff;background:#2d2620}.LostEmpty,.LostNote{margin:0;font-size:.85rem;color:#6b645a}.RulesPage{min-height:100vh;min-height:100dvh;background:#f6efe0;color:#3a322b;padding:1.25rem max(1rem,env(safe-area-inset-right,0px)) 3rem max(1rem,env(safe-area-inset-left,0px));box-sizing:border-box}.RulesPageInner{max-width:860px;margin:0 auto;display:flex;flex-direction:column;gap:1rem}.RulesPageInner>.MuiButton-outlined{align-self:flex-start;color:#2d2620;border-color:#2d262059}.RulesPageInner>.MuiButton-outlined:hover{border-color:#2d2620;background-color:#2d26200d}.RulesSheet{padding:clamp(.25rem,2vw,1rem) 0}.RulesH1{margin:0 0 1.75rem;text-align:center;font-family:Songti SC,STSong,"Noto Serif SC","Noto Serif CJK SC",Georgia,serif;font-weight:900;font-size:clamp(1.7rem,5vw,2.4rem);letter-spacing:.08em;color:#2d2620}.RulesContent{display:flex;flex-direction:column;gap:2.25rem;font-size:1rem;line-height:1.75;color:#3a322b}.RulesContent p{margin:0}.RulesH2{display:flex;align-items:center;gap:.6rem;margin:0 0 .9rem;padding-bottom:.5rem;border-bottom:1px solid #2d26202e;font-size:1.35rem;letter-spacing:.06em}.RulesH2,.RulesH3{font-family:Songti SC,STSong,"Noto Serif SC","Noto Serif CJK SC",Georgia,serif;font-weight:800;color:#2d2620}.RulesH3{margin:0 0 .2rem;font-size:1.05rem}.RulesOrList{list-style:none;padding-left:0}.RulesOrList li{padding-left:1.1rem;position:relative}.RulesOrList li:before{content:"";position:absolute;left:.15rem;top:.72em;width:.4rem;height:.4rem;border-radius:1px;background:#b8322a}.RulesOrList li+li{margin-top:0}.RulesOr{display:block;margin:.15rem 0 .15rem -1.1rem;font-size:.8rem;font-weight:700;letter-spacing:.08em;color:#9a8f82;text-transform:uppercase}.RulesOrList li:has(.RulesOr):before{top:calc(.72em + 1.55rem)}.RulesBoardLayout{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:1.5rem;gap:1.5rem;align-items:start}@media (min-width:720px){.RulesBoardLayout{grid-template-columns:minmax(0,.9fr) minmax(0,1fr)}}.RulesBoard{max-width:340px;width:100%;margin:8px auto;box-shadow:0 0 0 7px #2d2620,0 10px 24px #28190a4d;border-radius:2px;line-height:0}.RulesBoard img{width:100%;height:auto;display:block}.RulesLegend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1rem}.RulesLegend li{display:flex;align-items:flex-start;gap:.9rem}.RulesLegend p{font-size:.95rem;color:#5b5148}.RulesLegendIcon{flex:none;width:72px;height:45px;border-radius:6px;box-shadow:inset 0 0 0 1px #2d262026,0 1px 0 #2d26201f}.RulesPieces{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(8.5rem,1fr));grid-gap:1.1rem .9rem;gap:1.1rem .9rem}.RulesPieces li{display:flex;flex-direction:column;align-items:center;gap:.45rem}.RulesPieceTile.MiniTile{min-width:5.2rem;height:2.5rem;font-size:1.15rem}.RulesPieceMeta{display:flex;gap:.5rem;align-items:center;font-size:.8rem;color:#6b645a;white-space:nowrap}.RulesRank{padding:0 .45rem;border-radius:999px;color:#22396b;box-shadow:inset 0 0 0 1px #22396b66}.RulesList{margin:.6rem 0 0;padding-left:1.3rem}.RulesList li::marker{color:#b8322a}.RulesList li+li{margin-top:.3rem}.RulesCards{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));grid-gap:1rem;gap:1rem}.RulesCard{padding:1rem 1.15rem;border-radius:6px;background:#fffdf6b3;box-shadow:inset 0 0 0 1px #2d262024}.RulesSpecial{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.9rem}.RulesSpecial li{display:flex;align-items:flex-start;gap:.9rem}.RulesSpecial .MiniTile{flex:none;min-width:4.4rem;margin-top:.1rem}.RulesLead{margin-bottom:1rem!important}.RulesSubList{margin:.35rem 0 0;padding-left:1.2rem;list-style:"– ";color:#5b5148}.RulesModes{display:flex;flex-direction:column;gap:1rem}.RulesModeCard .RulesH3{font-size:1.15rem}.RulesModeCard .RulesList{margin-top:.5rem}.RulesTagline{color:#b8322a;font-weight:600}.RulesFootnote{font-size:.85rem;color:#6b645a}.RulesFootnote a{color:#b8322a}.RulesDrawer.MuiPaper-root{max-height:88dvh;max-width:860px;margin:0 auto;background:#f6efe0;color:#3a322b;border-radius:16px 16px 0 0;box-shadow:0 -10px 40px #0006;overflow:hidden;display:flex;flex-direction:column}.RulesDrawerHeader{position:relative;flex:none;display:flex;justify-content:center;align-items:center;padding:1.1rem 3.5rem .8rem;border-bottom:1px solid #2d262026}.RulesDrawerHandle{position:absolute;top:.45rem;left:50%;translate:-50% 0;width:2.6rem;height:.3rem;border-radius:999px;background:#2d262040}.RulesDrawerTitle{margin:0;font-family:Songti SC,STSong,"Noto Serif SC","Noto Serif CJK SC",Georgia,serif;font-weight:900;font-size:1.25rem;letter-spacing:.08em;color:#2d2620}.RulesDrawerClose.MuiIconButton-root{position:absolute;right:.6rem;top:50%;translate:0 -45%;color:#2d2620}.RulesDrawerBody{overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:1.25rem clamp(1rem,4vw,2rem) calc(1.5rem + env(safe-area-inset-bottom, 0px))}.Landing{--ink:#2d2620;--paper:#f6efe0;--paper2:#fffdf6;--verm:#b8322a;--verm-d:#7d1f19;--indigo:#22396b;--gold:#c79a2e;--cream:#f4eedf;--serif:"Songti SC","STSong","Noto Serif SC","Noto Serif CJK SC",Georgia,serif;position:relative;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;overflow-x:hidden;color:var(--cream);background-color:#4f6a5e;background-image:var(--celadon-table)}.Battlefield{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0}.BattlefieldBoard{position:absolute;left:50%;top:58%;width:900px;aspect-ratio:460/587;background-color:#f2e8d2;background-size:100% 100%;transform:translate(-70%,-46%) perspective(1400px) rotateX(56deg) rotate(-20deg);transform-style:preserve-3d;box-shadow:0 0 0 14px var(--ink),0 60px 120px #00000073}.BattlefieldFog{position:absolute;inset:0;background:radial-gradient(ellipse 60% 55% at 72% 50%,#3a4f4600 40%,#3a4f468c 100%),linear-gradient(180deg,#3a4f46d9,#3a4f4600 35%,#3a4f4600 68%,#34473ff5 86%)}.Piece3D{--w:122px;--h:62px;--d:26px;position:absolute;width:0;height:0;transform-style:preserve-3d}.Piece3D.blue{--side:#22396b;--side-l:#2f4c86;--side-d:#182a50}.Piece3D.red{--side:#b8322a;--side-l:#cc4337;--side-d:#86231d;transform:rotate(180deg)}.Piece3DFace{position:absolute;left:calc(var(--w) / -2);top:calc(var(--h) * -1);width:var(--w);height:var(--h);box-sizing:border-box;transform-origin:50% 100%;backface-visibility:hidden}.Piece3DFace.Front{transform:translateY(calc(var(--d) / 2)) rotateX(-90deg);border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#fffdf6,#ece0c6);box-shadow:inset 0 0 0 2px #a8906a,inset 0 -9px 0 var(--side);display:grid;place-items:center;padding-bottom:8px;font:900 34px/1 var(--serif);letter-spacing:.04em;color:var(--side);white-space:nowrap}.BattlefieldBoard.En .Piece3DFace.Front{font-size:21px;letter-spacing:0}.Piece3DFace.Back{transform:translateY(calc(var(--d) / -2)) rotate(180deg) rotateX(-90deg);border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,var(--side-l) 0,var(--side) 100%);box-shadow:inset 0 0 0 1px #0003}.Piece3DFace.Back:after{content:"";position:absolute;inset:7px;border-radius:3px;box-shadow:inset 0 0 0 1.5px #ffffff73,inset 0 3px 4px #00000040}.Piece3DFace.Side{width:var(--d);left:calc(var(--d) / -2);background:var(--side-d)}.Piece3DFace.Right{transform:translateX(calc(var(--w) / 2)) rotate(-90deg) rotateX(-90deg)}.Piece3DFace.Left{transform:translateX(calc(var(--w) / -2)) rotate(90deg) rotateX(-90deg)}.Piece3DFace.Top{left:calc(var(--w) / -2);top:calc(var(--d) / -2);width:var(--w);height:var(--d);transform:translateZ(var(--h));border-radius:3px;background:var(--side-l)}.Piece3DShadow{position:absolute;left:calc(var(--w) / -2 - 10px);top:calc(var(--d) / -2 - 8px);width:calc(var(--w) + 20px);height:calc(var(--d) + 26px);border-radius:50%;transform:translateY(10px);background:radial-gradient(closest-side,#1e140a73,#1e140a00)}.Piece3DRing{position:absolute;left:calc(var(--w) / -2 - 16px);top:calc(var(--d) / -2 - 16px);width:calc(var(--w) + 32px);height:calc(var(--d) + 32px);border-radius:10px;box-shadow:0 0 0 4px var(--gold),0 0 24px 6px #c79a2e8c}.LandingTagline{position:absolute;left:7vw;top:12vh;z-index:1;margin:0;font:900 54px/1.25 var(--serif);letter-spacing:.18em;color:var(--cream);text-shadow:0 2px 12px #00000059;pointer-events:none}.LandingTagline small{display:block;margin-top:.4rem;font:500 15px/1.8 -apple-system,BlinkMacSystemFont,PingFang SC,sans-serif;letter-spacing:.2em;opacity:.8;text-shadow:none}.LandingMain{position:relative;z-index:1;flex:1 1;display:flex;justify-content:flex-end;align-items:center;padding:24px 9vw 8px 20px}.LandingCard{width:100%;max-width:420px;margin:8px;padding:30px 28px 28px;box-sizing:border-box;border-radius:3px;background:var(--paper);color:#3a322b;box-shadow:0 0 0 8px var(--ink),0 22px 50px #0006}.LandingTitle{display:flex;align-items:center;gap:18px;margin:4px 0 8px;font:900 52px/1.1 var(--serif);letter-spacing:.2em;text-indent:.2em;color:var(--ink)}.LandingTitle:after,.LandingTitle:before{content:"";flex:1 1;height:0;border-top:1px solid #2d262073;border-bottom:1px solid #2d262073;padding-top:3px}.Landing.Latin .LandingTitle{letter-spacing:.04em;text-indent:.04em}.LandingRulesLink{display:block;width:-moz-fit-content;width:fit-content;margin:0 auto 20px;font-size:15px;color:var(--verm);text-decoration:none}.LandingRulesLink:hover{text-decoration:underline}.LandingForm{display:flex;flex-direction:column}.LandingLabel{margin-bottom:6px;font-size:13px;font-weight:600;color:#5b5148}.LandingInput{width:100%;height:44px;padding:0 14px;box-sizing:border-box;border-radius:6px;border:1px solid #2d262047;background:var(--paper2);color:var(--ink);font-size:16px;font-family:inherit}.LandingInput::placeholder{color:#a2978a}.LandingInput:focus{outline:2px solid #22396b73;outline-offset:1px;border-color:var(--indigo)}.LandingInput.Error{border-color:var(--verm)}.LandingTabs{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:4px;gap:4px;margin:18px 0;padding:4px;border-radius:10px;background:#2d262014;box-shadow:inset 0 1px 3px #2d26202e}.LandingTab{min-width:0;height:58px;padding:0 4px;border:0;border-radius:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;font:800 15px/1.1 var(--serif);color:#7a6f63;background:#0000;transition:transform .12s ease,background .12s ease,color .12s ease}.LandingTab span{white-space:nowrap}.LandingTab .MuiSvgIcon-root{font-size:20px;opacity:.8}.LandingTab:hover:not(.On){color:#4f463d;background:#fffdf68c}.LandingTab.On{color:var(--indigo);background:linear-gradient(#fffdf6,#ece0c6);box-shadow:inset 0 0 0 1px #a8906a,0 3px 0 var(--indigo),0 5px 8px #2d1e0f38;transform:translateY(-1px)}.LandingTab.On .MuiSvgIcon-root{opacity:1}.Landing.Latin .LandingTab{font-size:13.5px;letter-spacing:-.005em}.LandingCta:focus-visible,.LandingLevel:focus-visible,.LandingSegItem:focus-visible,.LandingTab:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.LandingPanel{border-top:1px solid #2d262024;padding-top:16px;display:flex;flex-direction:column}.LandingPanels{display:grid}.LandingPanels>.LandingPanel{grid-area:1/1}.LandingPanel.Inactive{visibility:hidden}.LandingNote{margin:0 0 14px;font-size:14px;line-height:1.6;color:#5b5148}.LandingRow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.LandingRowStack{flex-direction:column;align-items:stretch;gap:8px}.LandingRowLabel{font-size:14px;color:#3a322b;white-space:nowrap}.LandingSeg{display:flex;gap:8px}.LandingRowStack .LandingSeg .LandingSegItem{flex:1 1}.LandingSegItem{min-width:52px;height:34px;padding:0 10px;border:0;border-radius:5px;cursor:pointer;font:800 15px/1 var(--serif);color:#7a6f63;background:#0000;box-shadow:inset 0 0 0 1px #2d262033}.LandingSegItem.On{color:var(--indigo);background:linear-gradient(#fffdf6,#ece0c6);box-shadow:inset 0 0 0 1px #a8906a,0 3px 0 var(--indigo)}.LandingLevels{display:grid;grid-template-columns:repeat(var(--levels,6),minmax(0,32px));justify-content:space-between;grid-gap:4px;gap:4px}.LandingLevel{width:100%;height:auto;aspect-ratio:1;padding:0;border:0;border-radius:50%;cursor:pointer;font:700 12px/1 -apple-system,BlinkMacSystemFont,sans-serif;color:#9a8f82;background:#0000;box-shadow:inset 0 0 0 1.5px #2d26204d}.LandingLevel.Below{color:var(--indigo);background:#22396b26;box-shadow:none}.LandingLevel.On{color:#fff;background:var(--indigo);box-shadow:none}.LandingCta{position:relative;display:inline-flex;align-items:center;justify-content:center;width:100%;height:52px;margin-top:6px;border:0;border-radius:999px;cursor:pointer;font:800 18px/1 var(--serif);letter-spacing:.2em;color:#fff;background:var(--verm);box-shadow:0 3px 0 var(--verm-d),0 8px 18px #7d1f194d}.LandingCta:hover:not(:disabled){background:#c93a31}.LandingCta:disabled{opacity:.7;cursor:default}.LandingCtaSecondary{width:auto;flex:none;height:44px;margin-top:0;padding:0 18px;font-size:16px;letter-spacing:.08em;color:var(--verm);background:#0000;box-shadow:inset 0 0 0 1.5px var(--verm)}.LandingCtaSecondary:hover:not(:disabled){background:#b8322a12}.LandingCtaSecondary.Ready{color:#fff;background:var(--verm);box-shadow:0 3px 0 var(--verm-d)}.LandingSubhead{margin:0 0 10px;font:800 13px/1 -apple-system,BlinkMacSystemFont,PingFang SC,sans-serif;letter-spacing:.08em;color:#7a6f63}.LandingOr{display:flex;align-items:center;gap:10px;margin:18px 0 14px;font-size:12px;color:#9a8f82}.LandingOr:after,.LandingOr:before{content:"";flex:1 1;height:1px;background:#2d262024}.LandingJoin{display:flex;gap:8px}.LandingCode{flex:1 1;min-width:0;letter-spacing:.15em;text-transform:uppercase}.LandingCode::placeholder{letter-spacing:.04em;text-transform:none}.LandingError{min-height:1.3em;margin:6px 0 0;font-size:13px;color:var(--verm)}.LandingFooter{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:12px;padding:10px 20px calc(26px + env(safe-area-inset-bottom, 0px));font-size:13px;color:#f4eedfd9}.LandingLangs{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px}.LandingLang{display:inline-flex;align-items:center;gap:8px}.LandingPill{display:inline-flex;overflow:hidden;border-radius:999px;box-shadow:inset 0 0 0 1px #f4eedf59}.LandingPill button{padding:4px 11px;border:0;cursor:pointer;font:600 12px/1.4 -apple-system,BlinkMacSystemFont,PingFang SC,sans-serif;color:var(--cream);background:#0000}.LandingPill button.On{color:var(--ink);background:#f4eedfeb}.LandingStore{display:inline-flex;border-radius:6px;transition:opacity .15s ease}.LandingStore:hover{opacity:.85}@media (max-width:760px){.BattlefieldBoard{width:500px;top:26%;transform:translate(-50%,-63%) perspective(900px) rotateX(52deg) rotate(-14deg)}.Piece3D{--w:62px;--h:32px;--d:14px}.Piece3DFace.Front{font-size:18px;padding-bottom:4px;box-shadow:inset 0 0 0 1.5px #a8906a,inset 0 -5px 0 var(--side)}.BattlefieldBoard.En .Piece3DFace.Front{font-size:11px}.Piece3DFace.Back:after{inset:4px}.Piece3DRing{left:calc(var(--w) / -2 - 9px);top:calc(var(--d) / -2 - 9px);width:calc(var(--w) + 18px);height:calc(var(--d) + 18px);box-shadow:0 0 0 3px var(--gold),0 0 14px 4px #c79a2e8c}.BattlefieldFog{background:linear-gradient(180deg,#3a4f46bf,#3a4f4600 22%,#3a4f4600 30%,#3a4f46e6 45%)}.LandingTagline{left:20px;top:18px;font-size:24px}.LandingTagline small{display:none}.LandingMain{justify-content:flex-start;flex-direction:column;align-items:stretch;padding:262px 14px 8px}.LandingCard{max-width:none;width:auto;margin:6px;padding:24px 20px 22px}.LandingTitle{font-size:44px}}@media (min-width:761px) and (max-width:1100px){.LandingMain{padding-right:4vw}.LandingTagline{font-size:40px}}.Landing.Latin .LandingTagline{letter-spacing:.02em}.Landing.Latin .LandingSubhead,.Landing.Latin .LandingTagline small{letter-spacing:.03em}.Landing.Latin .LandingCta{letter-spacing:.02em}@media (max-width:359px){.Landing.Latin .LandingTab{font-size:11.5px}}.LandingPanel>.LandingCta:last-child{margin-top:auto}@media (min-width:761px) and (max-width:1000px){.LandingTagline{position:relative;left:auto;top:auto;margin:32px auto 0;text-align:center}.LandingMain{justify-content:center;padding:24px 20px 16px}}.LobbyMain{flex:1 1;display:flex;justify-content:center;align-items:flex-start;padding:40px 16px}.LobbyCard.LandingCard{max-width:480px}.LobbyMatch{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:16px 0 0}.LobbySearching{display:flex;align-items:center;justify-content:center;gap:10px;margin:0;font-size:14px;color:var(--indigo)}.LobbyCancel.LandingCta{width:100%;height:52px}.LobbySection{margin-top:22px;padding-top:16px;border-top:1px solid #2d262024}.LobbyH2{display:flex;align-items:center;gap:8px;margin:0 0 10px;font:800 15px/1.3 var(--serif);letter-spacing:.04em;color:var(--ink)}.LobbyCount{min-width:1.4rem;padding:1px 7px;border-radius:999px;font:700 12px/1.4 -apple-system,BlinkMacSystemFont,sans-serif;text-align:center;color:#fff;background:var(--indigo)}.LobbyPlayers{list-style:none;margin:0;padding:0;max-height:40dvh;overflow-y:auto;border-radius:8px;background:#fffdf6b3;box-shadow:inset 0 0 0 1px #2d26201f}.LobbyPlayers li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;font-size:14px;color:#3a322b}.LobbyPlayers li+li{border-top:1px solid #2d262014}.LobbyPlayerName{display:inline-flex;align-items:center;gap:8px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.LobbyYou{flex:none;padding:0 6px;border-radius:4px;font-size:11px;font-weight:700;color:var(--indigo);box-shadow:inset 0 0 0 1px #22396b66}.LobbyStatus{flex:none;display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#6b5f52}.LobbyStatus i{width:8px;height:8px;border-radius:50%;background:#a2978a}.LobbyStatus.inviting i,.LobbyStatus.matching i{background:var(--gold);box-shadow:0 0 0 3px #c79a2e40}.LobbyStatus.in_game i{background:var(--verm)}.LobbyEmpty{margin:0;padding:18px 14px;border-radius:8px;text-align:center;font-size:14px;color:#7a6f63;background:#fffdf6b3}.LobbyDiscord,.LobbyEmpty{box-shadow:inset 0 0 0 1px #2d26201f}.LobbyDiscord{display:block;border:0;border-radius:8px}.LobbyLeave{display:block;width:100%;height:44px;margin-top:20px;border:0;border-radius:999px;cursor:pointer;font:700 15px/1 var(--serif);letter-spacing:.06em;color:#5b5148;background:#0000;box-shadow:inset 0 0 0 1px #2d26204d}.LobbyLeave:hover{color:var(--ink);background:#2d26200d}@media (max-width:760px){.LobbyMain{padding:18px 8px 24px}}.LandingTitle:after,.LandingTitle:before{min-width:28px}.LobbyCard .LandingTitle{font-size:40px}body,html{background-color:#4f6a5e}html:has(.RulesPage),html:has(.RulesPage) body{background-color:#f6efe0}.LegalContent{gap:1.6rem}.LegalContent section>p+p,.LegalContent section>p+ul{margin-top:.6rem}.LegalUpdated{margin-bottom:.6rem!important;font-size:.85rem;color:#8a7f72}.LegalLink{color:#b8322a;word-break:break-word}.NoticePage{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:24px;box-sizing:border-box;background-color:#4f6a5e;background-image:var(--celadon-table)}.NoticeCard{min-width:min(320px,100%);max-width:420px;padding:28px 28px 24px;box-sizing:border-box;border-radius:3px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;background:#f6efe0;color:#2d2620;box-shadow:0 0 0 8px #2d2620,0 22px 50px #0006}.NoticeCard p{margin:0;font-family:Songti SC,STSong,"Noto Serif SC",Georgia,serif;font-weight:800;font-size:1.1rem}.NoticeCard .NoticeSub{font-family:inherit;font-weight:400;font-size:.9rem;color:#6b5f52}.AnnotGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(4.6rem,1fr));grid-gap:.6rem;gap:.6rem;padding-top:4px}.AnnotTile{--tile-side:#b8322a;--tile-side-d:#7d1f19;position:relative;height:2.3rem;border:0;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:4px;cursor:pointer;font:900 .95rem/1 Songti SC,STSong,"Noto Serif SC",Georgia,serif;white-space:nowrap;color:#fff;background:var(--tile-side);box-shadow:0 3px 0 var(--tile-side-d),0 4px 6px #2d1e0f40;transition:transform .1s ease,filter .1s ease}.AnnotTile.Blue{--tile-side:#22396b;--tile-side-d:#142546}.AnnotTile:after{content:"";position:absolute;inset:3px;border-radius:3px;pointer-events:none;box-shadow:inset 0 0 0 1px #fff6}.AnnotTile:hover{filter:brightness(1.08)}.AnnotTile:active{transform:translateY(2px);box-shadow:0 1px 0 var(--tile-side-d)}.AnnotTile.Clear{color:#5b5148;background:#0000;box-shadow:inset 0 0 0 1px #2d26204d}.AnnotTile.Clear:after{display:none}.DialogText{margin:0;font-size:.95rem;line-height:1.6;color:#4a4037}.DialogActions.MuiDialogActions-root{gap:8px;padding:0 24px 20px}.DialogBtn{height:40px;padding:0 20px;border:0;border-radius:999px;cursor:pointer;font:700 15px/1 Songti SC,STSong,"Noto Serif SC",Georgia,serif;letter-spacing:.06em;color:#5b5148;background:#0000;box-shadow:inset 0 0 0 1px #2d26204d}.DialogBtn:hover{background:#2d26200d}.DialogBtn.Danger{color:#fff;background:#b8322a;box-shadow:0 3px 0 #7d1f19}.DialogBtn.Danger:hover{background:#c93a31}.LandingFooterRow{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 18px}.LandingSocial{display:flex;align-items:center;gap:10px}.LandingSocial a{width:36px;border-radius:50%;display:grid;place-items:center;color:var(--ink);background:#f4eedfeb;box-shadow:0 2px 6px #0000002e;transition:transform .12s ease,background .12s ease}.LandingSocial a:hover{transform:translateY(-1px);background:#fffdf6}.LandingSocial img{display:block;width:18px;height:18px;border-radius:4px}.LandingSocial .MuiSvgIcon-root{font-size:20px}.LandingStoreBadge{display:block;width:auto;height:40px}@media (max-width:760px){.Landing{min-height:100vh;min-height:100dvh}.LandingMain{flex:1 1;justify-content:flex-end;padding:0 10px;min-height:0}.LandingCard{padding:16px 16px 14px}.LandingTitle{font-size:34px;margin:0 0 4px}.LandingRulesLink{margin-bottom:10px;font-size:14px}.LandingLabel{margin-bottom:4px}.LandingInput{height:40px}.LandingTabs{margin:12px 0}.LandingTab{height:50px}.LandingPanel{padding-top:10px}.LandingRow{margin-bottom:10px}.LandingRowStack{gap:6px}.LandingCta{height:46px;font-size:17px}.LandingSubhead{margin-bottom:8px}.LandingOr{margin:10px 0 8px}.LandingCtaSecondary{height:40px}.LandingError{margin-top:4px}.LandingFooter{gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom, 0px))}.LandingLangs{gap:6px 14px;flex-wrap:nowrap}.LandingLang{gap:6px;white-space:nowrap}.LandingSocial{gap:8px}.LandingSocial a{width:34px;height:34px}.LandingStoreBadge{height:34px}.LandingTagline{font-size:22px}}@media (max-width:760px) and (max-height:760px){.LandingTagline{display:none}}@media (max-width:359px){.LandingLangs{flex-wrap:wrap}}@media (min-width:1001px){.LandingMain{min-height:100vh;min-height:100dvh;box-sizing:border-box;padding-top:16px;padding-bottom:16px}.LandingFooter{position:absolute;left:7vw;bottom:22px;align-items:flex-start;padding:0}.LandingFooterRow,.LandingLangs{justify-content:flex-start}}@media (max-width:760px){.LandingTagline{display:none}.LandingMain{justify-content:center;padding-top:12px;padding-bottom:4px}}.LandingSocial{flex-wrap:wrap;justify-content:center}.LandingSocial a{width:auto;min-width:36px;height:36px;padding:0 14px 0 10px;box-sizing:border-box;border-radius:999px;display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:500;text-decoration:none}.LandingHandle{white-space:nowrap}@media (min-width:1001px){.LandingSocial{justify-content:flex-start}}@media (max-width:760px){.Landing{justify-content:center}.LandingMain{flex:none;padding-top:12px;padding-bottom:0}.LandingFooter{padding-top:14px;gap:12px}.LandingSocial a{width:38px;min-width:0;height:38px;padding:0;justify-content:center}.LandingHandle{display:none}}@media (max-width:760px) and (max-height:700px){.LandingMain{padding-top:6px}.LandingTabs{margin:10px 0}.LandingFooter{padding-top:10px;gap:8px}.LandingSocial a{width:34px;height:34px}.LandingStoreBadge{height:32px}}@media (min-width:761px) and (max-width:1000px){.LandingTagline{margin-top:16px;font-size:34px}.LandingFooter{padding-bottom:14px}}@media (min-width:761px) and (max-width:1000px) and (max-height:960px){.LandingTagline{display:none}.Landing{justify-content:center}.LandingMain{flex:none;padding-top:12px;padding-bottom:0}.LandingFooter{padding-top:14px}.LandingCard{padding:16px 18px 14px}.LandingTitle{font-size:36px;margin:0 0 4px}.LandingRulesLink{margin-bottom:10px}.LandingInput{height:40px}.LandingTabs{margin:12px 0}.LandingTab{height:50px}.LandingPanel{padding-top:10px}.LandingRow{margin-bottom:10px}.LandingCta{height:46px}.LandingOr{margin:10px 0 8px}.LandingFooter{gap:10px}.LandingSocial a{width:36px;min-width:0;padding:0;justify-content:center}.LandingHandle{display:none}.LandingStoreBadge{height:34px}}.Battlefield{inset:-24px;filter:blur(1.2px) saturate(.85) brightness(1.04)}.Battlefield:after{content:"";position:absolute;inset:0;background:#3a4f461f}.LandingH1{margin:0;display:flex;flex-direction:column;align-items:stretch;font:inherit}.LandingAltName{margin:-6px 0 2px;text-align:center;font:600 15px/1.3 var(--serif);letter-spacing:.5em;text-indent:.5em;color:#6b5f52}.Landing.Latin .LandingAltName{font-size:14px;letter-spacing:.04em;text-indent:0}@media (max-width:760px){.LandingAltName{font-size:14px;margin-bottom:4px}}.VisuallyHidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.LandingH1 .LandingTitle{margin-bottom:4px}.LandingRulesLink{margin-top:0}@media (max-width:760px) and (max-height:700px){.LandingTitle{font-size:30px}.LandingRulesLink{margin-bottom:6px}}@media (min-width:1001px) and (max-height:760px){.LandingRulesLink{margin-bottom:14px}.LandingTabs{margin:14px 0}}.LandingCard{position:relative}.LandingRulesCorner{position:absolute;top:12px;right:14px;display:inline-flex;align-items:center;gap:4px;padding:3px 9px 3px 7px;border-radius:999px;font-size:13px;font-weight:600;color:var(--verm);text-decoration:none;box-shadow:inset 0 0 0 1px #b8322a59;transition:background .12s ease}.LandingRulesCorner:hover{background:#b8322a12}.LandingRulesCorner .MuiSvgIcon-root{font-size:16px}.LandingAltName{margin-bottom:14px}@media (max-width:760px){.LandingRulesCorner{top:8px;right:8px;font-size:12px}.LandingAltName{margin-bottom:10px}}@media (max-width:760px),(min-width:761px) and (max-width:1000px) and (max-height:960px){.LandingCard .LandingH1{margin-top:18px}}.LandingRulesCorner{gap:5px;padding:5px 13px 5px 10px;font-size:15px}.LandingRulesCorner .MuiSvgIcon-root{font-size:19px}@media (max-width:760px){.LandingRulesCorner{font-size:14px;padding:4px 11px 4px 8px}.LandingCard .LandingH1{margin-top:24px}}@media (max-width:760px) and (max-height:700px){.LandingAltName{margin-bottom:8px}}@media (min-width:761px) and (max-width:1000px) and (max-height:960px){.LandingCard .LandingH1{margin-top:26px}}.BoardContainer,.GridContainer{position:relative}.GridContainer{z-index:1}.SelectedSquare{translate:0 -.55cqh;scale:1.06;outline:2.5px solid var(--gold);outline-offset:.35cqh;z-index:2;animation:SelectedGlow 1.6s ease-in-out infinite}.Blue.SelectedSquare,.Red.SelectedSquare{box-shadow:inset 0 0 0 1px #a8906a,inset 0 1px 0 1px #ffffffb3,0 .42cqh 0 var(--side),0 1.4cqh 1.4cqh #2d1e0f61}@keyframes SelectedGlow{0%,to{filter:drop-shadow(0 0 0 rgba(199,154,46,0))}50%{filter:drop-shadow(0 0 .9cqh rgba(199,154,46,.75))}}.Transparent.MoveHint:after{content:"";width:min(.95cqh,1.3cqw);height:min(.95cqh,1.3cqw);border-radius:50%;background:var(--gold);box-shadow:0 0 0 min(.3cqh,.4cqw) #c79a2e47;animation:HintAppear .22s ease-out both}.Transparent.MoveHint{cursor:pointer}.AttackHint:before{content:"";position:absolute;top:50%;left:50%;translate:-50% -50%;width:min(.95cqh,1.3cqw);height:min(.95cqh,1.3cqw);border-radius:50%;background:var(--gold);box-shadow:0 0 0 min(.3cqh,.4cqw) #c79a2e4d;z-index:1;animation:HintAppear .22s ease-out both}@keyframes HintAppear{0%{scale:.2;opacity:0}to{scale:1;opacity:1}}.TraceLayer{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:visible}.TracePath{fill:none;stroke:#e8892a;stroke-width:4.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:.1 12;stroke-opacity:.95;filter:drop-shadow(0 0 1px rgba(255,250,235,.9)) drop-shadow(0 0 3px rgba(255,170,60,.45));animation:TraceFade .45s ease-out both}.TraceArrow{fill:#e8892a;fill-opacity:.6;stroke:#fff8ec;stroke-width:1;stroke-opacity:.6}@keyframes TraceFade{0%{opacity:0}to{opacity:1}}.FxLayer{position:absolute;inset:0;pointer-events:none}.FxLayer.Under{z-index:0}.Ghost{position:absolute;width:13.2%;height:5.17%;translate:-50% -50%;cursor:default;animation:GhostFade .6s ease-in forwards}@keyframes GhostFade{0%{opacity:1;scale:1;filter:none}to{opacity:0;scale:.7;filter:grayscale(1) blur(2px)}}.Flipping{animation:PieceFlip .6s cubic-bezier(.3,.1,.3,1);z-index:2}.Flipping:after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg,#4a4038,#2d2620);box-shadow:inset 0 0 0 1px #15110e;animation:FlipBack .6s step-end forwards}@keyframes PieceFlip{0%{transform:perspective(400px) rotateY(0deg);translate:0 0;scale:1}45%{transform:perspective(400px) rotateY(90deg);translate:0 -.8cqh;scale:1.15}55%{transform:perspective(400px) rotateY(90deg);translate:0 -.8cqh;scale:1.15}to{transform:perspective(400px) rotateY(0deg);translate:0 0;scale:1}}@keyframes FlipBack{0%{opacity:1}50%{opacity:0}to{opacity:0}}@media (prefers-reduced-motion:reduce){.AttackHint:before,.Flipping,.Flipping:after,.SelectedSquare,.TracePath,.Transparent.MoveHint:after{animation:none}}