:root{--z-page-board:1;--z-page-log:2;--z-page-header:70;--z-page-panel:80;--pop-bg:var(--ui-panel);--pop-text:var(--ui-text);--pop-muted:var(--ui-muted);--pop-line:var(--ui-line);--pop-accent:var(--ui-accent);--pop-danger:var(--btn-danger-ink);--pop-shadow:0 10px 30px rgba(0,0,0,.28)}.game-shell{--gold:#dfbd79;--jade:#6ae3bf;--ink:#101b20;min-height:calc(100dvh - env(safe-area-inset-top));background:radial-gradient(ellipse at 65% 0,#173b3c 0,transparent 55%),#091417;color:#e7ede9;font-family:Arial,Noto Sans KR,sans-serif;padding:24px;isolation:isolate}.game-shell *{box-sizing:border-box}.game-shell a,.game-shell button,.game-shell input,.game-shell select{font:inherit}.game-shell a,.game-shell button{transition:background .18s,transform .18s,border-color .18s}.game-shell button:where(:not(.effect-peek)){cursor:pointer;border:1px solid #57716b66;border-radius:8px;padding:10px 16px;background:#182d30;color:#e7ede9}@media (min-width:768px) and (hover:hover) and (pointer:fine){.game-shell button:where(:not(.effect-peek)):hover:not(:disabled){border-color:var(--jade);background:#25433f}}.game-shell button:disabled{opacity:.45;cursor:not-allowed}.game-shell a:focus-visible,.game-shell button:focus-visible{outline:2px solid var(--jade);outline-offset:4px}.game-shell a{color:inherit;text-decoration:none}.game-shell label{display:flex;flex-direction:column;gap:10px;font-size:13px;color:#aebfb9}.game-shell input,.game-shell select{border:1px solid #46615a;background:#091719;color:white;border-radius:7px;padding:12px;min-width:0}.game-shell h1{font-weight:750;line-height:1.2;font-size:34px;margin:12px 0 20px;letter-spacing:-1px}.game-shell h2{font-size:20px;font-weight:650}.game-shell p{color:#adbfba;line-height:1.8}:root{--btn-primary-bg:var(--ui-accent);--btn-primary-hover:var(--ui-accent-hover);--btn-primary-ink:var(--ui-accent-ink);--btn-secondary-bg:var(--ui-control);--btn-secondary-hover:var(--ui-control-hover);--btn-secondary-ink:var(--ui-text);--result-tone:#e8b4c4}@media (prefers-color-scheme:light){:root:not([data-theme=dark]){--result-tone:#b84a70}}:root[data-theme=light]{--result-tone:#b84a70}.game-shell .game-primary{display:inline-flex;align-items:center;justify-content:center;background:var(--btn-primary-bg);color:var(--btn-primary-ink);font-weight:750;border:1px solid var(--btn-primary-bg);border-radius:8px;padding:13px 24px;white-space:nowrap}.game-shell .game-primary:hover{background:var(--btn-primary-hover);color:var(--btn-primary-ink)}.game-panel{background:linear-gradient(145deg,#1c3033e8,#102024f5);border:1px solid #55736b77;border-radius:16px;padding:28px;box-shadow:0 20px 70px #0004}.game-eyebrow{font-size:11px;letter-spacing:3px;color:var(--jade);font-weight:750}.game-header{display:flex;align-items:center;gap:18px;min-height:46px;margin-bottom:30px;font-size:13px}.game-header a,.game-header button{display:inline-flex;align-items:center;gap:8px}.game-header .player-pill{margin-left:auto}.player-pill{background:#1b3534;border:1px solid #49655e;border-radius:24px;padding:8px 14px;display:inline-flex;align-items:center;gap:9px}.online-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--jade);box-shadow:0 0 14px var(--jade)}.identity-form{width:min(440px,100% - 2 * var(--page-gutter));margin:12vh auto;display:flex;flex-direction:column;gap:20px}.lobby-underlay{width:100%;min-height:calc(100dvh - 2 * var(--workflow-edge, 16px))}.lobby-underlay.is-auth-locked .site-actions>:not(.site-theme){visibility:hidden}.lobby-private-placeholder{min-height:72px;border-radius:6px;background:var(--ui-track)}.web-dialog.lobby-auth-dialog[open]{display:grid;place-items:center;padding:max(20px,env(safe-area-inset-top)) var(--page-gutter) max(20px,env(safe-area-inset-bottom));color:var(--ui-muted);opacity:1;transition:opacity .4s ease,display allow-discrete .4s}.web-dialog.lobby-auth-dialog::backdrop{background:color-mix(in srgb,var(--ui-bg) 92%,transparent);backdrop-filter:blur(24px);opacity:1;transition:opacity .4s ease}@starting-style{.web-dialog.lobby-auth-dialog[open]{opacity:0}.web-dialog.lobby-auth-dialog[open]::backdrop{opacity:0}}.web-dialog.lobby-auth-dialog.is-leaving{opacity:0;pointer-events:none}.web-dialog.lobby-auth-dialog.is-leaving::backdrop{opacity:0}.lobby-auth-status{justify-content:center;gap:12px;color:var(--ui-muted);font-size:clamp(16px,2.5vw,20px);font-weight:650;letter-spacing:-.02em}.lobby-auth-dots,.lobby-auth-status{display:inline-flex;align-items:center}.lobby-auth-dots{gap:7px;animation:lobby-auth-pendulum 1.8s ease-in-out infinite alternate}.lobby-auth-dots i{width:5px;height:5px;border-radius:50%;background:currentColor}.match-entry-overlay{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;gap:12px;background:var(--ui-bg);color:var(--ui-muted);font-size:clamp(16px,2.5vw,20px);font-weight:650;pointer-events:auto;opacity:1;transition:opacity .4s ease}.match-entry-overlay.is-leaving{opacity:0;pointer-events:none}.match-entry-overlay.is-dark{background:#161a1e;color:#9aa4ae}.match-entry-overlay.is-error{flex-direction:column;gap:16px;color:var(--ui-text)}.match-entry-overlay.is-error a{color:inherit}.match-entry-overlay.is-dark.is-error{color:#e8ecef}.match-entry-overlay.is-error>div{display:flex;align-items:center;gap:16px;font-size:15px}.match-entry-placeholder{min-height:320px}@media (prefers-reduced-motion:reduce){.match-entry-overlay{transition:none}}.web-dialog.lobby-auth-dialog .identity-form{width:min(440px,100%);max-height:calc(100dvh - max(40px, env(safe-area-inset-top) + env(safe-area-inset-bottom)));margin:0 auto;overflow:auto;animation:lobby-auth-form-in .46s cubic-bezier(.2,.7,.25,1) both}@keyframes lobby-auth-pendulum{0%{gap:8px;transform:translateX(-9px) scaleX(.88)}to{gap:2px;transform:translateX(9px) scaleX(1.08)}}@keyframes lobby-auth-form-in{0%{opacity:0;translate:0 14px}to{opacity:1;translate:0 0}}@media (prefers-reduced-motion:reduce){.web-dialog.lobby-auth-dialog::backdrop,.web-dialog.lobby-auth-dialog[open]{transition-duration:0s}.lobby-auth-dots,.web-dialog.lobby-auth-dialog .identity-form{animation:none}}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:18px 0}.section-heading span{font-size:12px;color:#86a49c}.game-error{background:#512d32dd!important;color:#ffbdba!important;padding:12px 20px;border:1px solid #bd625d;border-radius:10px}.floating-error{position:fixed;top:20px;left:50%;transform:translateX(-50%);z-index:90;max-width:90vw}.setup-cards{display:flex;flex-wrap:wrap;gap:14px;margin:18px 0 30px}.setup-cards .battle-card{width:95px}.waiting-room{max-width:850px;text-align:center;margin:50px auto;padding:45px}.waiting-orbit{display:grid;place-items:center;border:1px solid #708a6966;width:150px;height:150px;margin:35px auto;border-radius:50%;box-shadow:0 0 0 15px #577d5922,0 0 0 30px #577d5911;animation:breathing 3s infinite;color:var(--gold)}.invite-code{display:block;font-size:32px;letter-spacing:8px;color:var(--gold);margin:30px 0}.game-shell .battle-card{display:block;position:relative;padding:0;border:2px solid #71847a;background:#15262a;border-radius:8px;width:100px;aspect-ratio:23/34;box-shadow:0 5px 10px #0009;flex-shrink:0;overflow:visible;transition:transform .18s,box-shadow .18s}.battle-card>img{width:100%;height:100%;object-fit:cover;border-radius:6px;display:block}@media (min-width:768px) and (hover:hover) and (pointer:fine){.game-shell .battle-card:hover{z-index:12;transform:translateY(-5px);background:#193630}}.game-shell .battle-card.dragging{z-index:100;cursor:grabbing;pointer-events:none}.game-shell .battle-card.playable{border-color:#77fbc8;box-shadow:0 0 10px #72ffb855,0 4px 10px #0008}.game-shell .battle-card.selected{border-color:var(--gold);box-shadow:0 0 0 3px #dbb46599,0 0 20px #dbb46544;transform:translateY(-6px)}.cost-gem{position:absolute;z-index:1;top:0;left:0;width:19.6%;aspect-ratio:1;margin:-5.9% 0 0 -5.9%;display:flex;align-items:center;justify-content:center;container-type:size;pointer-events:none}.cost-gem:before{content:"";position:absolute;inset:0;box-sizing:border-box;border:7cqw solid #fff;border-radius:50%;background:linear-gradient(180deg,#777469,#35342f);box-shadow:0 2px 5px #0007}.cost-gem>span{position:relative;display:block;color:#fff;font:700 58cqw/1 Noto Sans KR,Apple SD Gothic Neo,sans-serif;font-variant-numeric:tabular-nums;text-box:trim-both cap alphabetic}.choice-option>b,.game-shell .card-counter b,.game-shell .status-chip>b,.pixi-board .chip b,.pixi-board .opt.card b,.power-medal,.web-dialog.choice-shade .dialog-actions>:is(button,a){display:block;box-sizing:border-box;height:var(--bh);padding-block:calc((var(--bh) - 2 * var(--bb, 0px) - 1cap) / 2) 0;line-height:1;text-align:center;text-box:trim-both cap alphabetic}.web-dialog.choice-shade .dialog-actions>button{padding-block:0}.card-back{background:repeating-linear-gradient(45deg,#162e39,#162e39 8px,#1b3944 0,#1b3944 10px)!important;border:3px double #779396!important}.back-emblem{display:grid;place-items:center;color:var(--gold);font-family:Georgia,serif;font-size:38px;font-style:italic;text-shadow:0 0 15px #b5ede9;height:100%}.card-tooltip-portal{position:fixed;transform:translateY(-100%);display:grid;gap:9px;width:min(260px,calc(100vw - 16px));max-height:min(300px,calc(100dvh - 16px));overflow-y:auto;background:var(--pop-bg);border:1px solid var(--pop-line);border-radius:6px;padding:16px;color:var(--pop-text);text-align:left;font-size:12px;box-shadow:var(--pop-shadow);pointer-events:none;z-index:1000}.card-tooltip-portal.below{transform:none}.card-tooltip-portal em{color:var(--pop-danger);font-style:normal}.match-shell:not(.preparation-shell){padding:12px 22px 30px}.match-shell:not(.preparation-shell):has(.battle-layout){box-sizing:border-box;height:calc(100dvh - env(safe-area-inset-top));min-height:0;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column}.match-shell:not(.preparation-shell):has(.battle-layout)>.game-header{flex:none}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-layout{min-height:0;flex:1;display:flex;flex-direction:column;justify-content:safe center}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-layout>*{flex-shrink:0}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-table{min-height:0;flex:none}.match-shell:not(.preparation-shell)>.game-header{max-width:1480px;margin:0 auto 12px}.battle-layout{max-width:1480px;margin:auto;position:relative}.battle-topline{display:flex;align-items:center;gap:18px;padding:8px 14px;font-size:12px;position:relative;z-index:2}.battle-topline>button{margin-left:auto;padding:6px}.turn-badge{font-family:Georgia,serif;color:var(--gold);letter-spacing:2px}.battle-table{background:radial-gradient(ellipse at center,#274746 0,#182e30 62%,#102125 100%),linear-gradient(90deg,transparent 49.9%,#8adfc40d 50%,transparent 50.1%);border:1px solid #63877b88;border-radius:22px;box-shadow:inset 0 0 0 1px #a5ead31a,inset 0 0 90px #0005,0 18px 70px #0008;padding:18px clamp(24px,7vw,120px) 24px;position:relative;min-height:580px}.battle-table.play-target-active{outline:3px solid #78e8c4;outline-offset:-10px}.enemy-field .main-zone{grid-row:2}.enemy-field .sub-zone{grid-row:1}.player-field{padding:8px 0;max-width:1000px;margin:auto}.player-label{position:absolute;left:-95px;top:28px;font-size:12px;writing-mode:vertical-rl;max-height:130px}.player-label>span:not(.online-dot){font-size:9px;letter-spacing:2px;color:#809c90}.player-role-short{display:none}.player-label small{font-size:10px;color:var(--gold)}.zone-grid{display:grid;grid-template-columns:120px minmax(360px,1fr) 120px;grid-template-rows:133px 133px;gap:8px 24px;align-items:center;justify-items:center}.zone-grid .battle-card{width:83px}.main-zone{grid-column:2;grid-row:1;position:relative}.zone-title{position:absolute;left:50%;transform:translateX(-50%);top:-13px;white-space:nowrap;font-size:8px;letter-spacing:2px;color:#b4b4a1}.main-card-wrap{position:relative}.power-medal{position:absolute;right:-17px;border:2px solid #e2c18e;background:linear-gradient(#624a23,#322617);color:#ffdea4;border-radius:50%;width:35px;--bh:35px;--bb:2px;font-size:22px;font-weight:800;text-shadow:0 1px 3px #000}.sub-zone{grid-column:2;grid-row:2;display:flex;gap:20px;align-items:center;padding:7px 16px;border:1px solid #7dd7bd33;border-radius:10px;background:#13312d44}.sub-slot{position:relative}.reveal-tag{position:absolute;left:50%;transform:translateX(-50%);bottom:-4px;background:#22352bea;color:#dfd6b2;padding:4px;font-size:9px;border:1px solid #9fb09a77;border-radius:4px;white-space:nowrap;pointer-events:none}.game-shell .zone-pile{position:relative;width:85px;height:112px;border:1px dashed #9aaa8355;border-radius:9px;padding:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#0c1b1b66;color:#aab2a2}.zone-pile>span{position:absolute;top:5px;font-size:8px;letter-spacing:2px;z-index:12}.zone-pile>strong{position:absolute;bottom:-9px;right:-8px;border:1px solid #a39f7d;background:#28352b;color:#e8dabc;height:30px;border-radius:18px;padding:3px 7px;font-size:17px;z-index:13}.zone-pile strong small{font-size:9px}.stack-pile{grid-column:1;grid-row:1/3;height:160px!important}.stack-cards{position:absolute;inset:0;pointer-events:none}.stack-card{position:absolute;left:50%;transform:translateX(-50%);width:58px;height:81px;object-fit:cover;border:1px solid #c6d6c4;border-radius:4px;box-shadow:0 2px 5px #0009}.trash-pile{grid-column:3;grid-row:1}.trash-cards{position:absolute;inset:0;pointer-events:none}.trash-card{position:absolute;left:50%;transform:translateX(-50%);width:62px;height:84px;object-fit:cover;border:1px solid #c6d6c4;border-radius:4px;box-shadow:0 2px 5px #0009}.deck-pile{grid-column:3;grid-row:2}.deck-back{display:grid;place-items:center;background:repeating-linear-gradient(40deg,#203b43,#203b43 8px,#315052 9px);width:62px;height:84px;border:2px solid #828f7c;border-radius:5px;color:var(--gold);font-size:32px;font-family:Georgia,serif}.attack-target{box-shadow:0 0 15px #ed8c6255;border-color:#efb181!important}.enemy-hand{position:absolute;left:50%;top:-26px;display:flex;height:25px;gap:2px;opacity:.8;transform:translateX(-50%)}.mini-back{width:13px;height:22px;background:#557378;border:1px solid #c0c1a5;border-radius:2px}.enemy-hand>span{font-size:9px;padding:5px;color:#c2cbb8}.battle-divider{min-height:54px;margin:8px -15px;position:relative;display:flex;align-items:center;justify-content:center;z-index:4}.battle-divider:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:linear-gradient(90deg,transparent,#a3976c66,transparent)}.battle-center-guide{position:relative;display:grid;gap:3px;max-width:min(90%,590px);padding:7px 18px;border:1px solid #a3976c88;border-radius:12px;background:#17332ff2;box-shadow:0 5px 18px #0008;text-align:center}.battle-center-guide strong{color:var(--gold);font-size:10px;letter-spacing:2px}.battle-center-guide span{color:#e6eee5;font-size:11px;line-height:1.3}.battle-center-guide.failed{border-color:#ffba83;background:#472d24f2}.center-guide-close{position:absolute;right:3px;top:3px;padding:2px!important;border:0!important;background:transparent!important;color:#ffe2cd!important}.turn-controls{position:absolute;right:12px;top:49%;display:grid;gap:8px;max-width:min(150px,32vw);z-index:3}.game-shell .turn-button{background:linear-gradient(#d8c498,#b59b63);border:2px solid #eddeb0;color:#392f19;font-weight:800;padding:16px 13px;border-radius:35% 35% 12px 12px;box-shadow:0 4px 0 #55452b;font-size:12px}.game-shell .attack-button{background:#6e3a2b;border-color:#efb28c;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px}.turn-controls p{font-size:11px;color:#e6d6a7}.hand-area{position:relative;min-height:175px;padding:12px 25px 5px}.hand-label{position:absolute;left:0;top:35px;font-size:8px;letter-spacing:2px;color:#9bad99}.hand-label b{display:block;font-size:23px;text-align:center;color:var(--gold);margin-top:8px}.hand-cards{display:flex;justify-content:center;align-items:flex-end;padding:0 40px;min-height:145px}.hand-card{position:relative;margin:0 -7px;transform:translateY(var(--rise)) rotate(var(--angle));transition:transform .2s;flex-shrink:1;min-width:20px}.hand-card .battle-card{width:100px}@media (min-width:768px) and (hover:hover) and (pointer:fine){.hand-card:has(.battle-card:focus-visible),.hand-card:hover{z-index:20}.hand-card:has(.battle-card:focus-visible) .battle-card:not(.dragging),.hand-card:hover .battle-card:not(.dragging){transform:translateY(-16px) scale(1.2);box-shadow:0 16px 30px #000d,0 0 20px #6ae3bf88;filter:brightness(1.08) saturate(1.1)}}.battle-log{border-top:1px solid #69877344;padding:15px;font-size:12px;color:#a3b9ad}.battle-log summary{cursor:pointer}.battle-log ol{max-height:180px;overflow:auto;padding:12px 0;display:flex;flex-direction:column-reverse}.battle-log li{padding:4px 0;list-style:none}.battle-log small{color:var(--gold);margin-right:12px}.effect-viewport{position:fixed;inset:0;z-index:30;overflow:hidden;pointer-events:none;isolation:isolate}.event-fx{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);pointer-events:none;display:flex;align-items:center;flex-direction:column;gap:16px;z-index:1;animation:event-pop var(--event-duration,.4s) ease-in-out both}.event-fx>img{height:175px;box-shadow:0 8px 24px #0008;border:0;border-radius:8px}.card-flight-target{visibility:hidden!important}.card-flight{position:absolute;z-index:2;pointer-events:none;transform-origin:top left;border:0;border-radius:8px;overflow:hidden;box-shadow:0 8px 24px #0009;animation:card-flight var(--flight-duration,.36s) cubic-bezier(.2,.75,.25,1) var(--flight-delay,0s) both}.card-flight>img{display:block;width:100%;height:100%;object-fit:cover}.card-flight-back{display:grid;place-items:center;background:repeating-linear-gradient(135deg,#29292d,#29292d 6px,#3a3a40 7px,#3a3a40 8px);color:#bdbdc6;font-family:Georgia,serif;font-size:clamp(20px,4vw,42px);font-weight:700}.event-fx>strong{background:#29292ef2;border:1px solid #55555d;color:#ededf0;padding:12px 25px;border-radius:30px;text-align:center;font-size:15px;box-shadow:0 8px 30px #0008}.fx-draw>img{animation:draw-fly var(--event-duration,.4s) ease-out}.fx-attack>strong,.fx-damage>strong{background:#572e1e;border-color:#f1b184;font-size:20px}.impact .battle-table{animation:impact var(--impact-duration,.3s)}.choice-shade{position:fixed;inset:0;background:#020c10bd;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:25px}body:has(.choice-shade),body:has(.effect-viewport .card-flight),body:has(.effect-viewport .event-fx){overflow:hidden}.choice-waiting{position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:60;pointer-events:none;max-width:min(90vw,460px)}.choice-waiting>div{display:flex;align-items:center;gap:10px;padding:10px 16px;border:1px solid #bfa976;border-radius:16px;background:#09221df2;box-shadow:0 8px 30px #0008}.choice-waiting h2{margin:0;font-size:14px}.choice-dialog{max-height:calc(100dvh - 24px);overflow:hidden;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;padding:clamp(10px,3vh,28px)}.choice-dialog,.choice-shade>.game-panel{width:min(900px,100%)}.choice-dialog h2,.choice-dialog p,.choice-dialog>button{margin:0}.choice-options{display:flex;justify-content:flex-start;gap:10px;margin:4px 0;width:100%;min-height:0;overflow-x:auto;overflow-y:hidden;padding:8px 4px 14px;scroll-snap-type:x proximity}.choice-option{flex:0 0 auto;scroll-snap-align:start}.choice-options .battle-card{width:clamp(70px,15vw,130px)}.choice-pages{display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px}.choice-pages button{padding:6px 12px}.choice-option{position:relative}.choice-option>button:not(.battle-card){width:100%;min-width:0;overflow-wrap:anywhere}.choice-option>b{position:absolute;right:-7px;top:-10px;background:var(--gold);border-radius:50%;width:28px;--bh:28px;color:#18211a}.choice-option>button.selected{border-color:var(--gold);background:#53614a}.card-detail{max-width:768px;position:relative;display:flex;gap:28px;align-items:center;height:min(560px,calc(100dvh - 24px));overflow:hidden;padding-top:44px}.card-detail>div{min-width:0;max-height:100%;overflow-y:auto}.card-detail>div>.game-primary{margin-top:16px}.card-detail>img{width:230px;border-radius:8px}.card-detail h4{color:var(--gold);font-size:13px;margin:15px 0 5px}.card-detail p{font-size:13px}.modal-close{position:absolute;right:10px;top:10px;padding:5px!important;z-index:2}.pile-detail{position:relative;height:min(560px,calc(100dvh - 24px));display:flex;flex-direction:column;overflow:hidden;padding-top:44px}.pile-detail>h2{flex:none;margin-top:0}.pile-detail>.setup-cards{min-height:0;overflow-y:auto;margin-bottom:0}.modifier-detail{position:relative;height:min(560px,calc(100dvh - 24px));display:flex;flex-direction:column;overflow:hidden;padding-top:44px}.modifier-detail h2{flex:none;margin-top:0}.modifier-list{min-height:0;overflow-y:auto;display:grid;align-content:start;gap:10px}.modifier-list>div{display:grid;grid-template-columns:minmax(110px,1fr) 2fr auto;align-items:center;gap:12px;padding:10px;border:1px solid #bfa97666;border-radius:8px}.modifier-list strong{color:var(--gold)}.modifier-list small{color:#aebfb9}.game-result{position:fixed;z-index:40;left:50%;top:50%;transform:translate(-50%,-50%);background:#2c2c30f5;border:1px solid #48484f;box-shadow:0 0 100px #000b;width:420px;max-width:90vw;border-radius:6px;padding:40px;text-align:center;display:flex;flex-direction:column;gap:18px}.game-result>svg{margin:auto;color:var(--result-tone);width:55px;height:55px}.game-result h1{font-size:60px;color:var(--result-tone);margin:0}.replay-controls{position:sticky;top:0;z-index:35;display:flex;align-items:center;gap:10px;background:#102723f5;padding:10px;border-radius:12px;max-width:1300px;margin:auto}.replay-controls input{flex:1;min-width:30px;padding:0;accent-color:var(--jade)}.replay-controls span,.room-code{font-size:11px}.room-code{color:#9faf9f;letter-spacing:1px}.muted{color:#899f98!important}@keyframes event-pop{0%{opacity:0;transform:translate(-50%,-35%) scale(.85)}20%,70%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-60%) scale(.96)}}@keyframes draw-fly{0%{transform:translate(120px,-100px) rotate(20deg);opacity:0}to{transform:translate(0);opacity:1}}@keyframes card-flight{0%{opacity:.9;transform:translate(0) scale(1)}to{opacity:1;transform:translate(var(--flight-dx),var(--flight-dy)) scale(var(--flight-scale))}}@keyframes impact{20%{transform:translate(-4px,2px)}40%{transform:translate(4px,-2px)}60%{transform:translate(-2px)}}@keyframes breathing{50%{box-shadow:0 0 0 20px #577d5922,0 0 0 38px #577d5911}}@media (max-width:950px){.battle-table{padding-left:50px;padding-right:70px}.player-label{left:-35px}.zone-grid{grid-template-columns:75px minmax(230px,1fr) 75px;gap:5px 12px}.turn-controls{right:3px;max-width:65px}.game-shell .turn-button{padding:13px 7px;font-size:10px}.turn-controls .attack-button{padding:10px 5px;font-size:10px}.zone-pile{width:65px!important}.sub-zone{gap:12px}.zone-grid .battle-card{width:76px}.zone-grid{grid-template-rows:124px 124px}.battle-table{min-height:540px}.game-shell .card-tooltip{display:none}.hand-card .battle-card{width:85px}.hand-cards{min-height:122px}.hand-area{min-height:150px}}@media (max-width:767px){.game-shell{padding:14px 10px}.section-heading{flex-wrap:wrap;gap:8px}.section-heading span{max-width:55%;text-align:right}.game-panel{padding:22px 16px}.game-shell h1{font-size:25px}.room-code{display:none}.setup-cards{gap:10px}.setup-cards .battle-card{width:76px}.match-shell:not(.preparation-shell){padding:8px 3px}.battle-table{padding:8px 38px 15px 24px;border-width:4px;border-radius:20px;min-height:460px}.zone-grid{grid-template-columns:48px minmax(172px,1fr) 48px;grid-template-rows:101px 101px;gap:5px 6px}.zone-grid .battle-card{width:61px}.sub-zone{gap:9px;padding:3px 5px}.player-label{left:-18px;top:30px;font-size:9px;gap:5px}.player-label>span:not(.online-dot){display:inline-flex}.player-label .player-role{width:max-content;padding:2px 3px;border:1px solid #9ed9be88;border-radius:4px;background:#173a32;color:#d8f0df;font-size:7px;letter-spacing:0;writing-mode:horizontal-tb}.player-label .player-role-full{display:none}.player-label .player-role-short{display:inline}.game-shell .zone-pile{width:43px!important;height:75px;border-radius:5px;padding:2px}.stack-card{width:36px;height:51px}.trash-card{width:34px;height:49px}.zone-pile>span{font-size:6px;letter-spacing:1px}.stack-pile{height:130px!important}.zone-pile>strong{height:23px;min-width:23px;font-size:12px;padding:3px;right:-3px}.deck-back{width:35px;height:52px;font-size:20px}.power-medal{width:27px;height:27px;font-size:17px;right:-12px}.turn-controls{right:0;max-width:60px;top:48%}.game-shell .turn-button{width:60px;padding:9px 4px;font-size:10px}.game-shell .attack-button{width:60px;font-size:10px;padding:8px 3px;gap:3px}.turn-controls p{font-size:9px}.hand-cards{padding:0 10px;justify-content:center;min-height:108px}.hand-card .battle-card{width:70px}.hand-card{margin:0 -10px;min-width:15px}.hand-label{font-size:7px;top:20px}.hand-area{padding:8px 12px;min-height:132px;overflow:visible}.hand-label b{font-size:15px}.battle-topline{font-size:10px;gap:8px;padding:6px}.enemy-hand{top:-17px;gap:1px}.mini-back{width:8px;height:14px}.enemy-hand span{font-size:8px;padding:3px}.zone-pile>span{font-size:7px}.zone-pile>strong{font-size:13px}.battle-divider{margin:12px 0}.zone-title{font-size:6px;letter-spacing:1px;top:-10px}.reveal-tag{font-size:7px;padding:2px}.event-fx>img{height:125px}.event-fx>strong{font-size:12px;min-width:190px}.waiting-room{margin:25px 8px}.invite-code{font-size:22px;letter-spacing:4px}}@media (prefers-reduced-motion:reduce){.game-shell :not(.card-flight){animation:none!important;transition:none!important}.hand-card:hover{transform:none}.hand-card:has(.battle-card:focus-visible) .battle-card,.hand-card:hover .battle-card{transform:none}}.aim-arrow{position:fixed;inset:0;width:100%;height:100%;z-index:50;pointer-events:none}.attack-arrow{filter:drop-shadow(0 0 8px #ffad6588)}.play-arrow{filter:drop-shadow(0 0 8px #78e8c4aa)}.game-shell .effect-tags{position:absolute;right:calc(100% + 8px);top:25%;width:max-content;max-width:90px;padding:5px 7px;white-space:normal;line-height:1.2;font-size:9px;color:#f2d5a4;border:1px solid #d3b97b88;border-radius:6px;background:#2b3024;z-index:3}@media(min-width:951px) and (max-height:850px){.match-shell:not(.preparation-shell){padding-top:6px;padding-bottom:8px}.battle-topline{padding:3px 14px}.battle-table{min-height:0;padding-top:4px;padding-bottom:10px}.player-field{padding:4px 0}.zone-grid{grid-template-rows:84px 84px}.zone-grid .battle-card{width:56px}.game-shell .zone-pile{height:75px;width:57px}.trash-card{width:39px;height:48px}.stack-card{width:46px;height:64px}.stack-pile{height:157px!important}.deck-back{width:40px;height:57px;font-size:23px}.sub-zone{padding:4px 15px;gap:26px}.battle-divider{margin:10px -15px 7px}.hand-area{min-height:125px;padding-top:6px;padding-bottom:0}.hand-cards{min-height:112px}.hand-card .battle-card{width:78px}.battle-log{padding:10px 15px}.power-medal{width:28px;height:28px;font-size:18px}.zone-title{font-size:7px;top:-10px}.turn-controls{top:46%}}.card-flight{will-change:transform,opacity}@media (prefers-reduced-motion:reduce){.card-flight{animation-duration:1ms!important;animation-delay:0s!important}}@media(max-width:767px){.game-shell .effect-tags{right:calc(100% + 4px);max-width:48px;font-size:7px;padding:3px}}@media(max-width:767px){.match-shell:not(.preparation-shell):has(.battle-layout){padding-bottom:3px}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-table{padding-top:2px;padding-bottom:2px}.match-shell:not(.preparation-shell):has(.battle-layout) .zone-grid{grid-template-rows:repeat(2,clamp(44px,11dvh,84px))}.match-shell:not(.preparation-shell):has(.battle-layout) .zone-grid .battle-card{width:clamp(36px,7dvh,58px)}.match-shell:not(.preparation-shell):has(.battle-layout) .zone-pile{height:clamp(48px,9dvh,75px)}.match-shell:not(.preparation-shell):has(.battle-layout) .stack-pile{height:clamp(90px,18dvh,130px)!important}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-divider{min-height:clamp(36px,7dvh,54px);margin:3px 0}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-area{min-height:clamp(76px,15dvh,110px);padding-top:2px;padding-bottom:0}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-cards{min-height:clamp(70px,13dvh,100px)}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-card .battle-card{width:clamp(48px,9dvh,70px)}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-log{padding:4px 8px}.modifier-list>div{grid-template-columns:1fr auto}.modifier-list>div>span{grid-column:1/-1}}.hand-cards.long-hand{justify-content:flex-start;overflow-x:auto;padding:18px 20px 10px;scrollbar-color:#6b9582 #102d26}.long-hand>.hand-card{flex-shrink:0;min-width:0;margin:0 5px;transform:none}.long-hand>.hand-card:hover{z-index:20;transform:none}@media (min-width:951px) and (min-height:851px) and (max-height:900px){.battle-table{min-height:560px}.zone-grid{grid-template-rows:129px 129px}.hand-card .battle-card{width:82px}.hand-cards{min-height:125px}.hand-area{min-height:150px}}@media (min-width:768px) and (max-width:950px) and (max-height:850px){.battle-table{min-height:460px}.zone-grid{grid-template-rows:96px 96px}.zone-grid .battle-card{width:66px}.stack-pile{height:160px!important}}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-layout,.match-shell:not(.preparation-shell):has(.battle-layout)>.game-header{max-width:none}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-layout{width:100%;margin-inline:auto}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-log{margin-top:clamp(6px,.625vw,8px)}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-table{background:linear-gradient(135deg,#31584a1a,transparent 48%),linear-gradient(155deg,#152b30,#0e2025 82%,#101f24);border-color:#70c8ad44;border-radius:18px;box-shadow:inset 0 1px 0 #ffffff0b,0 18px 52px #0006}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-divider:before{background:linear-gradient(90deg,transparent,#70d7b52c 18%,#70d7b54a 50%,#70d7b52c 82%,transparent)}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-center-guide{border-color:#70d7b54d;border-radius:10px;background:linear-gradient(135deg,#173530f5,#10272bf5);box-shadow:0 6px 20px #0005}.game-shell .power-medal{display:flex;align-items:center;justify-content:center;padding-bottom:1px}@media (max-width:950px) and (orientation:landscape) and (max-height:500px){.game-shell,.match-shell:not(.preparation-shell){padding:3px 8px}.battle-topline{gap:7px;padding:2px 8px;font-size:8px}.battle-table{min-height:0;padding:2px 42px 2px 20px;border-width:3px;border-radius:16px}.player-field{padding:2px 0}.player-label{left:-16px;top:8px;gap:3px;font-size:7px}.player-label>span:not(.online-dot){font-size:6px;letter-spacing:1px}.zone-grid{grid-template-columns:38px minmax(0,1fr) 38px;grid-template-rows:50px 50px;gap:2px 3px}.zone-grid .battle-card{width:34px}.sub-zone{gap:3px;padding:1px 2px}.game-shell .zone-pile{width:35px!important;height:45px;padding:1px}.zone-pile>span{top:1px;font-size:5px;letter-spacing:.5px}.zone-pile>strong{right:-2px;bottom:-4px;min-width:20px;height:20px;padding:2px;font-size:10px}.stack-pile{height:104px!important}.stack-card{width:28px;height:39px}.trash-card{width:30px;height:43px}.deck-back{width:26px;height:37px;font-size:14px}.battle-divider{margin:3px 0 2px}.turn-controls{top:43%;right:2px;max-width:60px;gap:4px}.game-shell .attack-button,.game-shell .turn-button{width:56px;min-height:30px;padding:5px 3px;font-size:9px}.game-shell .attack-button{gap:2px}.turn-controls p{font-size:7px}.hand-area{min-height:76px;padding:0 4px}.hand-label{top:5px;font-size:6px}.hand-label b{margin-top:2px;font-size:12px}.hand-cards{min-height:76px;padding:0 8px}.hand-card .battle-card{width:48px}}@media (max-width:767px){.battle-center-guide{padding:5px 9px}.battle-center-guide strong{font-size:8px}.battle-center-guide span{font-size:9px}}@media (max-height:420px){.choice-pages button{padding:2px 7px}.battle-divider{min-height:42px}}@media (max-width:400px){.match-shell:not(.preparation-shell){padding-inline:8px}.modifier-list{flex:1 1 auto}.modifier-list>div{min-width:0;overflow-wrap:anywhere}.event-fx{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.event-fx>img{max-width:100%;max-height:30dvh;object-fit:contain}.event-fx>strong{max-width:100%;overflow-wrap:anywhere;padding:8px 12px}}@media (max-width:360px){.zone-pile>strong{display:grid;place-items:center;min-width:28px;height:25px;padding:4px 5px;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}.stack-pile>strong{display:flex;align-items:center;justify-content:center;min-width:33px}.power-medal{padding:2px;line-height:1;font-variant-numeric:tabular-nums}.enemy-hand>span{display:grid;place-items:center;flex:none;height:22px;padding:2px 4px;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}.hand-label{left:2px;top:4px;z-index:2;width:36px;padding:4px 3px;border:1px solid #9bad9966;border-radius:6px;background:#0c211de8;text-align:center;letter-spacing:0;line-height:1.2;font-size:0}.hand-label:before{content:"손패";font-size:7px}.hand-label b{display:grid;place-items:center;min-height:16px;margin-top:3px;line-height:1;font-variant-numeric:tabular-nums}}@media (max-width:767px) and (max-height:600px) and (orientation:portrait){.match-shell:not(.preparation-shell):has(.battle-layout) .zone-grid{grid-template-rows:repeat(2,clamp(42px,10dvh,60px))}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-divider{min-height:32px}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-area{min-height:76px}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-cards{min-height:70px}}.game-shell .battle-card,.game-shell .deck-back,.game-shell .mini-back,.game-shell .stack-card,.game-shell .trash-card{aspect-ratio:23/34;height:auto;flex-shrink:0}.battle-card>img,.card-flight>img,.game-shell .stack-card,.game-shell .trash-card{object-fit:contain}.card-flight{aspect-ratio:800/1117}.card-detail>img{height:auto;max-width:100%;flex-shrink:0}.card-detail>img,.event-fx>img{aspect-ratio:23/34;object-fit:contain}.event-fx>img{width:auto}body:has(.card-detail) .card-tooltip-portal{display:none}@media (hover:none),(pointer:coarse){.card-tooltip-portal{display:none}}.effect-peek{position:fixed;top:calc(var(--game-header-bottom, max(12px, env(safe-area-inset-top))) + 8px);left:50%;z-index:var(--z-page-panel);transform:translateX(-50%);display:flex;align-items:flex-start;gap:12px;width:min(560px,calc(100vw - 24px));max-height:min(34dvh,280px);margin:0;padding:10px 12px;border:0;border-radius:8px;overflow:hidden;text-align:left;background:var(--pop-bg);box-shadow:inset 0 0 0 1px var(--pop-accent),var(--pop-shadow);color:var(--pop-text);font-size:13px;line-height:1.5;cursor:pointer;animation:effect-peek-in .18s ease-out}.effect-peek>img{flex:none;width:64px;aspect-ratio:63/88;object-fit:cover;border-radius:4px}.effect-peek-text{flex:1 1 auto;align-self:stretch;min-width:0;min-height:0;display:grid;align-content:start;gap:8px;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}.effect-peek.more .effect-peek-text{-webkit-mask-image:linear-gradient(#000 calc(100% - 28px),transparent);mask-image:linear-gradient(#000 calc(100% - 28px),transparent)}.effect-peek strong{font-size:14px}.effect-peek strong small{margin-left:6px;font-size:12px;font-weight:500;color:var(--pop-muted)}.effect-peek-effect{display:grid;gap:2px;color:var(--pop-text)}.effect-peek-effect>small{font-size:11px;font-weight:600;color:var(--pop-accent)}@keyframes effect-peek-in{0%{opacity:0;transform:translate(-50%,-4px)}}.effect-peek.leaving{pointer-events:none;animation:effect-peek-out .16s ease-in forwards}@keyframes effect-peek-out{to{opacity:0;transform:translate(-50%,-4px)}}@media (prefers-reduced-motion:reduce){.effect-peek,.effect-peek.leaving{animation:none}}.effect-peek.touch-only{display:none}@media (hover:none),(pointer:coarse){.effect-peek.touch-only{display:flex}}.game-shell .choice-collapse{margin:0 0 12px auto;display:block}.game-shell button.choice-collapsed{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:45;display:inline-flex;align-items:center;gap:6px;min-height:0;margin:0;padding:7px 18px calc(7px + env(safe-area-inset-bottom));border:1px solid var(--jade);border-bottom:0;border-radius:10px 10px 0 0;background:#182d30;color:#ededf0;font-size:13px;font-weight:650;white-space:nowrap;box-shadow:0 -4px 16px #0008}.game-shell button.choice-collapsed:hover:not(:disabled){background:#1f3a3e;border-color:var(--jade)}.battle-table{background:linear-gradient(180deg,#153034d9,#0d2025dd),linear-gradient(90deg,transparent 49.9%,#8adfc408 50%,transparent 50.1%);border:1px solid #62877b55;border-radius:4px;box-shadow:inset 0 1px 0 #a5ead310,0 12px 38px #0004;padding:14px clamp(20px,4vw,64px) 18px}.player-label{position:relative;left:auto;top:auto;display:flex;align-items:center;gap:7px;width:fit-content;max-width:min(100%,420px);min-height:26px;max-height:none;margin:0 0 5px;padding:3px 9px;overflow:hidden;border:1px solid #52776c;border-radius:999px;background:linear-gradient(110deg,#163437ed,#11272bee);line-height:1.2;writing-mode:horizontal-tb;white-space:nowrap}.player-label>strong{display:block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-label .player-role,.player-label small{flex:none}.game-shell .turn-button{min-width:max-content;padding:10px 13px;border:1px solid #79bfa5;border-radius:10px;background:linear-gradient(180deg,#294447,#1a3236);box-shadow:0 2px 8px #0003;color:#e7ede9;white-space:nowrap}@media (min-width:951px) and (max-height:900px){.match-shell:not(.preparation-shell):has(.battle-layout) .zone-grid{grid-template-rows:108px 108px}.match-shell:not(.preparation-shell):has(.battle-layout) .zone-grid .battle-card{width:70px}}@media (max-width:767px){.match-shell:not(.preparation-shell):has(.battle-layout) .battle-table{min-height:0;padding:8px 10px 10px;border-radius:14px}.match-shell:not(.preparation-shell):has(.battle-layout) .player-field{width:100%;padding:3px 0}.match-shell:not(.preparation-shell):has(.battle-layout) .player-label{max-width:100%;min-height:24px;margin-bottom:3px;padding:3px 8px;font-size:9px;gap:5px}.match-shell:not(.preparation-shell):has(.battle-layout) .enemy-hand{position:static;left:auto;top:auto;transform:none;justify-content:center;margin:0 auto 3px}.match-shell:not(.preparation-shell):has(.battle-layout) .zone-grid{grid-template-columns:36px minmax(0,1fr) 36px;grid-template-rows:repeat(2,clamp(52px,8dvh,68px));gap:3px 4px}.match-shell:not(.preparation-shell):has(.battle-layout) .zone-grid .battle-card{width:clamp(34px,5.4dvh,46px)}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-divider{min-height:34px;margin:3px 0}.match-shell:not(.preparation-shell):has(.battle-layout) .turn-controls{position:static;top:auto;right:auto;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;width:100%;max-width:none;margin:5px 0 1px}.match-shell:not(.preparation-shell):has(.battle-layout) .turn-controls .attack-button,.match-shell:not(.preparation-shell):has(.battle-layout) .turn-controls .turn-button{width:auto;min-width:112px;max-width:100%;min-height:38px;padding:8px 12px;border-radius:9px;font-size:12px;white-space:nowrap}.match-shell:not(.preparation-shell):has(.battle-layout) .turn-controls p{flex-basis:100%;margin:0;text-align:center}}.card-detail>img,.card-flight,.event-fx>img,.game-shell .battle-card,.game-shell .deck-back,.game-shell .mini-back,.game-shell .stack-card,.game-shell .trash-card{aspect-ratio:800/1117}.game-shell .battle-card{border:0;border-radius:7px;background:transparent;box-shadow:none}.game-shell .battle-card.card-back{border:0!important;background:linear-gradient(145deg,#26494a,#122a30)}.game-shell .battle-card>img{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;object-fit:cover}.game-shell .battle-card.playable{outline:2px solid #77fbc8;outline-offset:0;box-shadow:0 0 9px #72ffb84a}.game-shell .battle-card.selected{outline:1px solid var(--gold);outline-offset:0;box-shadow:0 0 0 2px #dbb46588,0 0 14px #dbb46533}.match-shell:not(.preparation-shell):has(.battle-layout) .enemy-hand{position:static;display:flex;align-items:center;justify-content:center;width:100%;height:auto;min-height:42px;margin:0 auto 4px;gap:0;opacity:1;transform:none}.match-shell:not(.preparation-shell):has(.battle-layout) .enemy-hand .mini-back{position:relative;width:clamp(29px,9vw,38px);height:auto;flex:0 0 auto;border:1px solid #91b6a6;border-radius:4px;background:linear-gradient(135deg,transparent 46%,#b5d9c522 47% 53%,transparent 54%),linear-gradient(145deg,#315754,#17333a);box-shadow:0 2px 5px #0007,inset 0 0 0 1px #d6f5e21a}.match-shell:not(.preparation-shell):has(.battle-layout) .enemy-hand .mini-back+.mini-back{margin-left:clamp(-22px,-5vw,-14px)}.match-shell:not(.preparation-shell):has(.battle-layout) .enemy-hand>span{display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:22px;margin-left:6px;padding:3px 7px;border:1px solid #57776a88;border-radius:999px;background:#102b2de8;color:#c2d1c8;font-size:9px;line-height:1;white-space:nowrap}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-label{left:50%;top:3px;width:max-content;display:flex;align-items:center;gap:5px;transform:translateX(-50%);padding:3px 8px;border:1px solid #57776a88;border-radius:999px;background:#102b2de8;line-height:1;white-space:nowrap}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-label b{display:inline;margin:0;font-size:10px;line-height:1}@media (max-width:767px){.match-shell:not(.preparation-shell):has(.battle-layout) .turn-controls{position:absolute;top:50%;right:4px;display:grid;width:min(100px,31vw);max-width:none;margin:0;gap:4px;transform:translateY(-50%)}.match-shell:not(.preparation-shell):has(.battle-layout) .turn-controls .attack-button,.match-shell:not(.preparation-shell):has(.battle-layout) .turn-controls .turn-button{width:100%;min-width:0;min-height:32px;padding:6px 5px;border-radius:9px;font-size:10px;line-height:1.2;white-space:normal;word-break:keep-all}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-center-guide{width:calc(100% - 108px);max-width:calc(100% - 108px);margin-right:auto}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-area{display:flex;flex-direction:column;align-items:center;gap:2px;min-height:96px;padding:22px 8px 0}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-label{position:static;transform:none;margin:-19px auto 0;font-size:8px;letter-spacing:.5px}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-label b{font-size:10px}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-cards{width:100%;min-height:72px;flex:1 1 auto;padding:0 4px}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-card .battle-card{width:clamp(44px,15vw,60px)}}.card-detail-content{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;max-height:100%;overflow:hidden}.card-detail-copy{flex:1 1 auto;min-width:0;min-height:0;overflow-y:auto}.card-detail-actions{flex:0 0 auto;padding-top:8px}.card-detail-reveal{width:100%;min-height:42px;white-space:nowrap}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-table{display:block}.match-shell:not(.preparation-shell):has(.battle-layout) .player-field{grid-column:auto;width:100%;max-width:1000px;margin:auto}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-divider{display:grid;grid-template-columns:minmax(0,1fr) 124px;align-items:center;gap:16px;height:104px;min-height:104px;padding:8px 6px}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-center-guide{width:100%;max-width:100%;min-width:0;margin:0;text-align:center;word-break:keep-all}.match-shell:not(.preparation-shell):has(.battle-layout) .turn-controls{position:static;top:auto;right:auto;display:grid;grid-column:auto;grid-row:auto;align-self:center;justify-self:stretch;width:100%;max-width:none;margin:0;gap:6px;transform:none;z-index:5}.match-shell:not(.preparation-shell):has(.battle-layout) .turn-controls .attack-button,.match-shell:not(.preparation-shell):has(.battle-layout) .turn-controls .turn-button{width:100%;min-width:0;min-height:38px;padding:8px 7px;font-size:11px;line-height:1.2;white-space:normal;word-break:keep-all}@media (max-width:767px){.match-shell:not(.preparation-shell):has(.battle-layout) .battle-divider{grid-template-columns:minmax(0,1fr) 92px;gap:8px;height:84px;min-height:84px;padding:6px 4px;margin:3px 0}.match-shell:not(.preparation-shell):has(.battle-layout) .turn-controls .attack-button,.match-shell:not(.preparation-shell):has(.battle-layout) .turn-controls .turn-button{min-height:32px;padding:6px 4px;font-size:10px}.match-shell:not(.preparation-shell):has(.battle-layout) .zone-grid{grid-template-columns:36px minmax(0,1fr) 36px}}.power-medal{right:-10px;bottom:-2px;width:30px;height:30px;padding:0;display:grid;place-items:center;border:1px solid #d4ba7e;background:linear-gradient(145deg,#514426,#252a22);font-size:16px;line-height:1;font-variant-numeric:tabular-nums;text-shadow:0 1px 2px #0008;box-shadow:0 2px 6px #0006}.zone-pile>strong{display:flex;align-items:center;justify-content:center;gap:1px;min-width:30px;height:25px;padding:0 5px;line-height:1;text-align:center;font-size:13px;font-variant-numeric:tabular-nums}.zone-pile>strong small{font-size:8px;line-height:1}@media (min-width:768px){.match-shell:not(.preparation-shell).game-shell:has(.battle-layout){padding:4px 10px 6px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-layout{justify-content:flex-start}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-topline{gap:8px;padding:3px 10px;font-size:10px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-table{min-height:0;padding:6px 10px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-field{padding:2px 0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-label{min-height:22px;margin-bottom:2px;padding:2px 8px;font-size:9px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .enemy-hand{min-height:40px;margin-bottom:2px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .enemy-hand .mini-back{width:28px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .enemy-hand>span{font-size:8px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-grid{grid-template-columns:clamp(62px,6.25vw,80px) minmax(0,1fr) clamp(62px,6.25vw,80px);grid-template-rows:repeat(2,min(clamp(78px,7.35vw,94px),9.75dvh));gap:3px 8px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-zone .battle-card,.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-grid .battle-card{width:min(clamp(45px,4.77vw,61px),6.25dvh)}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-pile{width:clamp(54px,5vw,64px)!important;height:64px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .deck-back,.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .trash-card{width:clamp(36px,3.6vw,46px);height:auto;aspect-ratio:800/1117}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .stack-pile{height:112px!important}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-zone{gap:8px;padding:3px 6px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-divider{height:88px;min-height:88px;margin:2px 0;padding:5px 4px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .turn-controls .attack-button,.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .turn-controls .turn-button{min-height:34px;padding:6px 5px;font-size:10px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-area{display:flex;flex-direction:column;align-items:center;gap:4px;min-height:96px;padding:4px 10px 0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-label{position:static;transform:none;margin:0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-cards{width:100%;flex:none;min-height:76px;padding:0 8px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-card .battle-card{width:clamp(46px,6vw,58px)}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-log{padding:5px 10px}}@media (max-width:767px){.match-shell:not(.preparation-shell):has(.battle-layout) .battle-topline{padding:2px 6px}.match-shell:not(.preparation-shell):has(.battle-layout) .zone-grid{grid-template-columns:43px minmax(0,1fr) 43px}.match-shell:not(.preparation-shell):has(.battle-layout) .zone-pile{height:clamp(40px,6.4dvh,52px)}.match-shell:not(.preparation-shell):has(.battle-layout) .stack-pile{height:clamp(84px,14dvh,116px)!important}.match-shell:not(.preparation-shell):has(.battle-layout) .deck-back,.match-shell:not(.preparation-shell):has(.battle-layout) .trash-card{width:26px;height:auto;aspect-ratio:800/1117}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-label{padding:2px 8px;line-height:12px}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-area{min-height:84px}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-cards{min-height:clamp(62px,9dvh,72px);flex:none}}.match-shell:not(.preparation-shell):has(.battle-layout) .player-field{border-bottom:1px solid #83b5a324}.match-shell:not(.preparation-shell):has(.battle-layout) .player-label{border-radius:3px;border-color:#8db9a85c}.match-shell:not(.preparation-shell):has(.battle-layout) .zone-pile{border-radius:3px;background:#0d252973}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-center-guide{box-shadow:none}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-area{border-radius:3px;border-color:#c4b98755}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-table{border-radius:4px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-label{border-radius:3px}.game-shell{--gold:#d9c18d;--jade:#b8c0c3;--ink:#15191b;--zone-main:#ff686d;--zone-sub:#41ad9c;--zone-neutral:#777777;background:#111416;color:#e5e7e6}.game-shell button:where(:not(.effect-peek)){border-color:#626a6d88;border-radius:4px;background:#252a2c}@media (min-width:768px) and (hover:hover) and (pointer:fine){.game-shell button:where(:not(.effect-peek)):hover:not(:disabled){border-color:#b8c0c3;background:#343a3d}}.game-panel{border-color:#60686b;border-radius:4px;background:linear-gradient(145deg,#2b3032ed,#191d1ff5)}.game-shell .player-label,.player-pill{border-color:#666e71;border-radius:3px;background:#262b2d}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-table{background:linear-gradient(135deg,#ffffff08,transparent 48%),linear-gradient(155deg,#282d2f,#1b1f21 82%,#202426);border-color:#70787b;border-radius:4px;box-shadow:inset 0 1px 0 #ffffff0b,0 12px 32px #0006}.match-shell:not(.preparation-shell):has(.battle-layout) .player-field{border-bottom-color:#737b7e66}.match-shell:not(.preparation-shell):has(.battle-layout) .zone-pile{border-color:#858d90;border-style:solid;border-radius:2px;background:#aeb4b50c;color:#c4c9ca}.match-shell:not(.preparation-shell):has(.battle-layout) .zone-pile>strong{border-color:#989d9e;border-radius:3px;background:#292e30;color:#ece5d5}.match-shell:not(.preparation-shell):has(.battle-layout) .sub-zone{border-color:#9da5a777;border-style:dashed;border-radius:3px;background:#d5d9d90b}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-divider:before{background:linear-gradient(90deg,transparent,#a9b0b355 18%,#a9b0b377 50%,#a9b0b355 82%,transparent)}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-center-guide{border-color:#9aa2a588;border-radius:3px;background:linear-gradient(135deg,#303638f5,#202527f5);box-shadow:0 4px 12px #0006}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-log{border-top-color:#7b838655;color:#c0c5c6}.power-medal{border-color:#d9c18d;background:linear-gradient(145deg,#5b523e,#302d26)}.replay-controls{border:1px solid #626a6d;border-radius:4px;background:#222729f5}@media (max-width:767px) and (max-height:620px) and (orientation:portrait){.match-shell:not(.preparation-shell):has(.battle-layout) .battle-topline{padding-block:0}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-table{padding-block:2px}.match-shell:not(.preparation-shell):has(.battle-layout) .player-field{padding-block:0}.match-shell:not(.preparation-shell):has(.battle-layout) .player-label{min-height:20px;margin-bottom:1px;padding:2px 6px;font-size:8px}.match-shell:not(.preparation-shell):has(.battle-layout) .enemy-hand{min-height:25px;margin-bottom:1px}.match-shell:not(.preparation-shell):has(.battle-layout) .enemy-hand .mini-back{width:16px;height:23px}.match-shell:not(.preparation-shell):has(.battle-layout) .enemy-hand>span{padding:3px;font-size:7px}.match-shell:not(.preparation-shell):has(.battle-layout) .zone-grid{grid-template-rows:repeat(2,46px);row-gap:2px}.match-shell:not(.preparation-shell):has(.battle-layout) .zone-pile{height:36px}.match-shell:not(.preparation-shell):has(.battle-layout) .stack-pile{height:94px!important}.match-shell:not(.preparation-shell):has(.battle-layout) .battle-divider{height:60px;min-height:60px;margin-block:1px;padding:2px}.match-shell:not(.preparation-shell):has(.battle-layout) .turn-controls{gap:2px}.match-shell:not(.preparation-shell):has(.battle-layout) .turn-controls .attack-button,.match-shell:not(.preparation-shell):has(.battle-layout) .turn-controls .turn-button{min-height:25px;padding:3px 4px;font-size:8px}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-area{min-height:80px;padding:14px 5px 0}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-label{margin-top:-12px}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-cards{min-height:60px;padding-inline:2px}.match-shell:not(.preparation-shell):has(.battle-layout) .hand-card .battle-card{width:clamp(32px,6.3dvh,38px)}}@media (min-width:700px) and (max-width:820px) and (min-height:900px){.match-shell:not(.preparation-shell).game-shell:has(.battle-layout){padding:4px 10px 6px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-topline{gap:8px;padding:3px 10px;font-size:10px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-table{min-height:0;padding:6px 10px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-field{padding:2px 0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-label{min-height:22px;margin-bottom:2px;padding:2px 8px;font-size:9px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .enemy-hand{min-height:36px;margin-bottom:2px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-grid{grid-template-columns:60px minmax(0,1fr) 60px;grid-template-rows:repeat(2,clamp(68px,7.1dvh,72px));gap:3px 8px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-zone .battle-card,.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-grid .battle-card{width:min(clamp(40px,5.4vw,44px),6.25dvh)}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-pile{width:54px!important;height:54px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .stack-pile{height:94px!important}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .deck-back,.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .trash-card{width:32px;height:auto;aspect-ratio:800/1117}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-zone{gap:6px;padding:3px 5px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-divider{height:84px;min-height:84px;margin:2px 0;padding:5px 4px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-area{min-height:110px;padding:4px 10px 0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-label{margin:-17px auto 0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-cards{min-height:82px;padding:0 5px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-card .battle-card{width:44px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-log{padding:5px 10px}}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout){--board-gap:8px;--board-row-gap:10px;--hand-size:clamp(88px,14dvh,152px);--hand-peek:calc(var(--hand-size) * 1.39625 - 20px);box-sizing:border-box;width:100%;height:calc(100dvh - env(safe-area-inset-top));min-height:0;padding:8px 16px 0;display:flex;flex-direction:column;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,#303034,#202023 85%);color:#ededf0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout)>.game-header{flex:0 0 36px;min-height:0;width:100%;max-width:none;margin:0 0 4px;gap:8px;display:flex;align-items:center}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout)>.game-header>a,.match-shell:not(.preparation-shell).game-shell:has(.battle-layout)>.game-header>button{min-height:30px;padding:4px 9px;font-size:11px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-color:#414146;background:#303034;border-radius:3px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout)>.game-header>.player-pill{margin-left:auto;min-width:0;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-layout{position:relative;isolation:isolate;flex:1;min-height:0;min-width:0;width:100%!important;max-width:none;margin:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:24px minmax(0,1fr) var(--hand-peek) 20px;gap:4px;overflow:hidden}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-layout *{box-sizing:border-box}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-layout>*{min-width:0;min-height:0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-topline{display:flex;align-items:center;padding:0 4px;gap:10px;font-size:11px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .turn-badge{color:#bdbdc6;font-size:10px;letter-spacing:1px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-topline>button{margin-left:auto;width:26px;height:24px;padding:3px;display:grid;place-items:center}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-table{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 44px minmax(0,1fr);gap:4px;padding:4px 12px 12px;min-height:0;overflow:visible;border:1px solid #414146;border-radius:3px;background:#262629b3;box-shadow:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-field{container-type:size;position:relative;min-height:0;min-width:0;width:100%;max-width:none;padding:0;margin:0;display:grid;grid-template-rows:20px minmax(0,1fr);gap:0;border:none;background:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-label{position:static;inset:auto;writing-mode:horizontal-tb;width:100%;max-width:none;max-height:none;margin:0;padding:0;overflow:hidden;display:flex;flex-direction:row;align-items:center;gap:6px;color:#dedee3;font-size:11px;white-space:nowrap;border:0;border-bottom:1px solid #63636c33;border-radius:0;background:transparent;box-shadow:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-label>strong{overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1;font-weight:600}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-label small{font-size:9px;color:#bdbdc6}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-role{flex:0 0 auto;color:#90909b;font-size:8px;letter-spacing:0;padding:0;border:0;border-radius:0;background:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-turn{color:#8ce0bc}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-role-short{display:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .enemy-hand{flex:0 0 auto;position:static;inset:auto;width:auto;height:15px;min-height:0;margin:0 0 0 auto;display:flex;align-items:center;gap:2px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .enemy-hand .mini-back{position:static;width:9px;height:13px;margin:0;border:1px solid #85858f;border-radius:1px;background:#424248}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .enemy-hand .mini-back:nth-child(n+4){display:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .enemy-hand>span{margin:0 0 0 4px;padding:0;font-size:9px;border:0;background:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-grid{--card-width:min(calc((100cqh - 36px - var(--board-row-gap)) * .3581),calc((100cqw - 4 * var(--board-gap)) / 5));--card-height:calc(var(--card-width) * 1.39625);display:grid;width:100%;height:100%;min-width:0;min-height:0;max-width:none;margin:0;padding:12px 0 10px;box-sizing:border-box;grid-template-columns:repeat(5,var(--card-width));grid-template-rows:repeat(2,var(--card-height));gap:var(--board-row-gap) var(--board-gap);justify-content:center;align-content:center;align-items:center;justify-items:center}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .main-zone{grid-column:2/5;grid-row:1;position:relative;width:var(--card-width);height:var(--card-height);min-width:0;min-height:0;margin:0;padding:0;display:block;border:0;border-radius:3px;background:none;box-shadow:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .main-card-wrap{position:relative;line-height:0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-zone-title,.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-title{position:absolute;inset:auto;top:-12px;left:50%;transform:translateX(-50%);margin:0;padding:0;background:none;color:#aaaab4;font-size:7px;line-height:10px;letter-spacing:.8px;white-space:nowrap}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-zone{position:relative;grid-column:2/5;grid-row:2;display:flex;width:100%;height:var(--card-height);min-height:0;justify-content:space-between;align-items:center;gap:var(--board-gap);padding:0;border:0;background:none;border-radius:0;box-shadow:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-slot{position:relative;min-width:0;flex:0 0 var(--card-width);line-height:0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .enemy-field .main-zone{grid-row:2}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .enemy-field .sub-zone{grid-row:1}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .my-field .sub-zone-title{top:auto;bottom:-12px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .enemy-field .main-zone>.zone-title{top:auto;bottom:-12px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-grid .battle-card{box-sizing:border-box;width:var(--card-width);height:auto;max-width:none;aspect-ratio:800/1117;border-radius:3px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-card{transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-card.selected{box-shadow:0 0 0 2px #bdbdc6,0 0 16px #bdbdc644;transform:translateY(-3px)}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-card.playable{box-shadow:0 0 0 2px #7ed7ba,0 0 10px #7ed7ba33}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .reveal-tag{top:8px;bottom:auto;z-index:3;font-size:10px;line-height:16px;padding:0 4px;max-width:100%;overflow:hidden;white-space:nowrap;color:#d5d9e0;background:#262629dd;border:0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-pile{box-sizing:border-box;position:relative;width:var(--card-width)!important;height:var(--card-height);min-height:0;padding:0;align-self:center;border:1px solid #63636c55;border-radius:3px;background:#333337;box-shadow:none;color:#d5d5dc}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .stack-pile{grid-column:1;grid-row:1/3;height:calc(2 * var(--card-height) + var(--board-row-gap))!important}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .trash-pile{grid-column:5;grid-row:1}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .deck-pile{grid-column:5;grid-row:2}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-pile>span{top:5px;font-size:7px;letter-spacing:.6px;white-space:nowrap}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-pile>strong{right:4px;bottom:4px;min-width:18px;height:20px;padding:0 3px;display:grid;place-items:center;border:0;border-radius:2px;color:#d5d5dc;background:#242427df;font-size:12px;line-height:1}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-pile>strong:has(small){display:flex;align-items:center;gap:2px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-unrevealed .battle-card{background:#000}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-inactive .battle-card{background:#e8b4c4}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-inactive .battle-card>img,.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-unrevealed .battle-card>img{opacity:.72}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-pile strong small{font-size:7px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .stack-cards,.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .trash-cards{position:absolute;inset:0;overflow:hidden;pointer-events:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .stack-card,.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .trash-card{width:calc(var(--card-width) - 6px);height:auto;aspect-ratio:800/1117;object-fit:contain;border:0;border-radius:2px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .deck-back{width:calc(var(--card-width) - 6px);height:calc(var(--card-height) - 6px);display:grid;place-items:center;border:1px solid #bdbdc644;border-radius:2px;background:repeating-linear-gradient(135deg,#29292d,#29292d 6px,#3a3a40 7px,#3a3a40 8px);color:#bdbdc6;font:700 clamp(18px,3vw,32px) Georgia,serif}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .power-medal{width:25px;height:25px;right:-8px;bottom:-6px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0;line-height:1;text-align:center;border:1px solid #bdbdc6;color:#e8b4c4;font-size:14px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .effect-tags{position:absolute;right:calc(100% + 6px);top:50%;transform:translateY(-50%);max-width:var(--card-width);width:max-content;font-size:9px;padding:3px 5px;z-index:4}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-divider{position:relative;inset:auto;width:100%;height:44px;min-height:0;margin:0;padding:4px 8px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-block:1px solid #414146;background:#30303499}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-center-guide{position:relative;flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:0;background:none;text-align:left;font-size:11px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-center-guide strong{flex:0 0 auto;font-size:11px;white-space:nowrap}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-center-guide>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .turn-controls{position:static;inset:auto;transform:none;width:auto;margin:0;display:flex;flex:0 0 auto;align-items:center;gap:6px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .turn-controls button{min-width:0;min-height:30px;padding:5px 12px;border-radius:3px;font-size:11px;display:flex;align-items:center;justify-content:center;gap:5px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .turn-controls button:disabled{opacity:.45}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-area{position:relative;z-index:5;align-self:end;height:var(--hand-peek);min-height:0;min-width:0;padding:0 24px;gap:0;display:flex;flex-direction:row;align-items:flex-end;justify-content:center;border:0;background:none;pointer-events:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-label{position:absolute;inset:auto;bottom:2px;left:4px;transform:none;margin:0;font-size:8px;color:#aaaab4;z-index:30}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-label b{display:inline;margin-left:3px;font-size:10px;color:#d5d5dc}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-cards{height:var(--hand-peek);min-height:0;min-width:0;width:min(760px,100%,calc((var(--hand-count) - 1) * var(--hand-size) * .72 + var(--hand-size)));padding:0 0 4px;display:flex;align-items:flex-end;justify-content:center;overflow:visible;pointer-events:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-card{position:relative;flex:1 1 0;width:0;min-width:0;margin:0;z-index:1;transform:translateY(var(--rise)) rotate(var(--angle));transform-origin:50% 100%;transition:transform .18s ease}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-card:last-child{flex:0 0 var(--hand-size)}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-card .battle-card{width:var(--hand-size);height:auto;max-width:none;aspect-ratio:800/1117;pointer-events:auto}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-card:has(:focus-visible),.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-card:hover{z-index:20}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-log{position:relative;height:20px;min-height:0;padding:0 4px;margin:0;border-top:1px solid #63636c33;overflow:hidden;font-size:9px;line-height:18px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-log[open]{position:absolute;bottom:24px;left:4px;z-index:35;width:min(460px,calc(100% - 8px));height:min(36dvh,280px);padding:8px 12px;overflow:auto;background:#262629f5;border:1px solid #63636c66}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .replay-controls{flex:0 0 auto;min-height:0;margin-bottom:4px;padding:4px}@media (max-width:767px){.match-shell:not(.preparation-shell).game-shell:has(.battle-layout){--board-gap:8px;--hand-size:clamp(72px,13dvh,108px);padding:4px 6px 0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-layout{grid-template-rows:22px minmax(0,1fr) var(--hand-peek) 18px;gap:2px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-table{grid-template-rows:minmax(0,1fr) 38px minmax(0,1fr);padding:4px 6px 12px;gap:4px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-label{font-size:10px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-role-full{display:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-role-short{display:inline}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-zone-title,.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-title{font-size:6px;letter-spacing:0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-pile>span{font-size:6px;letter-spacing:0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .power-medal{width:20px;height:20px;font-size:12px;right:-5px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .reveal-tag{font-size:9px;line-height:14px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-divider{height:38px;padding:3px 5px;gap:6px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-center-guide{flex-direction:column;align-items:flex-start;gap:6px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-center-guide strong{font-size:9px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-center-guide>span{max-width:100%;font-size:8px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .turn-controls{gap:3px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .turn-controls button{min-height:28px;padding:4px 6px;font-size:9px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-area{padding-inline:20px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-log{height:18px;line-height:16px}}@media (max-height:600px){.match-shell:not(.preparation-shell).game-shell:has(.battle-layout){--board-gap:8px;--hand-peek:48px;--hand-size:76px;padding-top:3px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-table{grid-template-rows:minmax(0,1fr) 34px minmax(0,1fr);gap:3px;padding-block:3px 12px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-divider{height:34px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-grid{--card-width:min(calc((100cqh - 32px - var(--board-row-gap)) * .3581),calc((100cqw - 4 * var(--board-gap)) / 5));padding-block:12px 8px}}@media (prefers-reduced-motion:reduce){.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-card,.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-card{transition:none}}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-card .battle-card.dragging{pointer-events:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .trash-cards{overflow:visible}.game-shell{--gold:#bdbdc6;--jade:#58c4a3;--ink:#242427;--zone-main:#e8b4c4;--zone-sub:#58c4a3;--zone-neutral:#85858f;background:#202023;color:#ededf0}.game-shell button:where(:not(.effect-peek)){background:#343438;border-color:#55555d;color:#ededf0}.game-shell input,.game-shell select{background:#262629;border-color:#55555d;color:#ededf0}.game-shell label,.game-shell p{color:#b8b8c1}.choice-dialog,.game-panel,.replay-controls{background:#2c2c30;border-color:#48484f}.game-shell .player-label,.game-shell .player-pill{background:#343438;border-color:#48484f}.game-shell .battle-card.card-back{background:repeating-linear-gradient(45deg,#303034,#303034 8px,#3b3b40 0,#3b3b40 10px)!important;border-color:#666670;color:#bdbdc6}.game-shell .battle-card.selected{border-color:#58c4a3;box-shadow:0 0 0 2px #58c4a3,0 0 16px #58c4a333}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-table{border-color:#414146}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-title{color:#b8b8c1}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .main-zone>.zone-title{color:var(--zone-main)}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-zone-title{color:var(--zone-sub)}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .main-zone .battle-card{border-color:#e8b4c466}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-zone .battle-card{border-color:#58c4a366}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .main-zone .battle-card.selected{box-shadow:0 0 0 2px #e8b4c4,0 0 16px #e8b4c433}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-zone .battle-card.selected{box-shadow:0 0 0 2px #58c4a3,0 0 16px #58c4a333}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .power-medal{background:#383038;border-color:#e8b4c4;color:#f2cfda}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-center-guide strong{color:#d5d5dc}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-divider:before{display:block;background:linear-gradient(90deg,transparent,#58c4a355 18%,#58c4a399 50%,#58c4a355 82%,transparent)}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-center-guide{background:transparent;border:0;border-radius:0;box-shadow:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-turn{color:#7dd8b9}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .enemy-hand .mini-back{border-color:#85858f}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .attack-target{outline-color:#e8b4c4;border-color:#e8b4c4}@media (min-width:768px) and (hover:hover) and (pointer:fine){.game-shell button:where(:not(.effect-peek)):hover:not(:disabled){background:#414146;border-color:#85858f}.game-shell .game-primary:hover:not(:disabled){background:var(--btn-primary-hover);border-color:var(--btn-primary-hover)}}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .main-zone{background:radial-gradient(ellipse,#e8b4c426,#e8b4c408 65%,transparent);box-shadow:0 0 22px #e8b4c41c}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-zone{background:linear-gradient(90deg,#58c4a30c,#58c4a322,#58c4a30c);box-shadow:0 0 22px #58c4a318}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .main-zone>.zone-title{color:#f0bfd0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-zone-title{color:#78dfbe}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .main-zone .battle-card.playable{outline-color:#e8b4c4;box-shadow:0 0 0 2px #e8b4c4,0 0 14px #e8b4c455}.header-battle-log{position:relative;z-index:50}.header-battle-log>summary{display:flex;align-items:center;gap:5px;cursor:pointer;list-style:none;padding:5px 9px;border:1px solid #55555d;border-radius:3px;background:#343438;color:#ededf0;font-size:11px;white-space:nowrap}.header-battle-log>summary::-webkit-details-marker{display:none}.header-log-panel{position:fixed;top:54px;right:16px;width:min(480px,calc(100vw - 32px));max-height:min(65dvh,520px);padding:16px;background:#29292ef5;border:1px solid #62626c;border-radius:6px;box-shadow:0 12px 40px #0008;color:#ededf0}.header-log-panel ol{list-style:none;margin:12px 0 0;padding:0}.header-log-panel li{padding:8px 0;border-top:1px solid #414146;font-size:12px;line-height:1.6}.header-log-panel small{color:#78dfbe;margin-right:6px}.desktop-battle-log{display:none}.choice-shade>.game-panel.choice-dialog{width:min(768px,100%);max-width:768px;max-height:calc(100dvh - 32px);padding:20px;gap:10px}.choice-shade>.game-panel.choice-dialog-text{width:min(440px,100%);max-width:440px}.choice-dialog .choice-options{width:100%;padding:16px 12px;margin:0;gap:12px;flex:0 1 auto;overflow-x:auto;overflow-y:hidden}.choice-dialog-text .choice-options{justify-content:center;flex-wrap:wrap;padding:8px 0}.choice-dialog .choice-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;flex:0 0 auto;margin:0}.game-shell .choice-actions>button{margin:0;padding:10px 16px}@media (min-width:1280px){.match-shell:not(.preparation-shell).game-shell:has(.battle-layout){display:grid;width:100%;max-width:none;margin-inline:0;grid-template-columns:minmax(180px,1fr) minmax(0,768px) minmax(180px,1fr);grid-template-rows:auto minmax(0,1fr);column-gap:18px;row-gap:8px;align-items:stretch;padding:8px 18px 14px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout)>.desktop-battle-log{display:block;grid-column:3;grid-row:2;width:100%;min-width:0;min-height:0;align-self:stretch;overflow:hidden auto;padding:14px 16px;border:1px solid #414146;border-radius:8px;background:#29292ef5;color:#ededf0;box-shadow:0 12px 30px #0005}.desktop-battle-log ol{list-style:none;display:flex;flex-direction:column;gap:8px;margin:12px 0 0;padding:0}.desktop-battle-log li{padding-top:8px;border-top:1px solid #414146;color:#b8b8c1;font-size:11px;line-height:1.5}.desktop-battle-log small{color:#78dfbe;margin-right:6px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout)>.battle-layout{grid-column:2;grid-row:2;width:768px;max-width:768px;height:100%;min-height:0;margin:0 auto}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-table{min-height:0}}.pile-detail>.setup-cards{box-sizing:border-box;padding:16px 12px;gap:12px;scroll-padding-inline:12px}@keyframes green-border-wave{0%,to{filter:drop-shadow(0 0 2px #58c4a355)}50%{filter:drop-shadow(0 0 7px #58c4a3bb)}}.game-shell .battle-card.playable,.game-shell .battle-card.selected,.game-shell .game-primary:not(:disabled),.game-shell .turn-button:not(:disabled){animation:green-border-wave 2.2s ease-in-out infinite}@keyframes turn-fade{0%{opacity:0;transform:translate(-50%,-50%) scale(.94)}20%,75%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-50%) scale(1.04)}}.game-shell .event-fx.fx-turn{animation:turn-fade var(--event-duration,1.6s) ease-in-out both;font-size:clamp(22px,3vw,36px);padding:24px 40px;border:1px solid #58c4a3;background:#152c26f2;color:#caffec;border-radius:10px;box-shadow:0 0 28px #58c4a355}.game-shell .event-fx.fx-turn>strong{background:transparent;border:0;border-radius:0;box-shadow:none;color:inherit;padding:0}.game-shell .event-fx.fx-hand-reveal{flex-direction:column;gap:10px}@media (min-width:768px) and (max-width:1279px){.match-shell:not(.preparation-shell).game-shell:has(.battle-layout){max-width:1440px;margin-inline:auto}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-layout{width:100%;max-width:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .turn-controls button{min-height:44px;min-width:100px}}@media (prefers-reduced-motion:reduce){.game-shell .battle-card.playable,.game-shell .battle-card.selected,.game-shell .game-primary,.game-shell .turn-button{animation:none}}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout){--hand-height:calc(var(--hand-size) * 1.39625);--hand-hidden:calc(var(--hand-height) / 3);--hand-peek:calc(var(--hand-height) - var(--hand-hidden));padding-bottom:0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-layout{grid-template-rows:minmax(0,1fr) calc(var(--hand-peek) - var(--hand-hidden) / 2)}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-area{position:absolute;bottom:calc(-1 * var(--hand-hidden));left:0;width:100%;height:var(--hand-height)}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-cards{height:var(--hand-height);padding-bottom:0}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-card{height:var(--hand-height);transform:none;pointer-events:auto}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-card .battle-card:not(.dragging){transform:translateY(var(--rise)) rotate(var(--angle));transform-origin:50% 100%}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-card:has(:focus-visible) .battle-card:not(.dragging){transform:translateY(calc(-1 * var(--hand-hidden) - 12px)) rotate(0deg)}@media (hover:hover) and (pointer:fine){.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .hand-card:hover .battle-card:not(.dragging){transform:translateY(calc(-1 * var(--hand-hidden) - 12px)) rotate(0deg)}}@media (max-width:767px){.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-layout{grid-template-rows:minmax(0,1fr) calc(var(--hand-peek) - var(--hand-hidden) / 2)}}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-turn-label{display:flex;flex:0 0 auto;flex-direction:column;gap:3px;font-size:11px;white-space:nowrap}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout)>.game-header>.sound-toggle{flex:0 0 auto;padding:4px 6px}@media (max-width:767px){.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-turn-label{font-size:9px;gap:2px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-turn-label .turn-badge{font-size:8px}}.spectator-hand-count{margin-left:auto;padding:4px 8px;border-radius:6px;background:#343442;color:#e2e2ec;font-size:11px;white-space:nowrap}.battle-turn-clock{display:flex;align-items:center;gap:6px}.turn-timer{padding:2px 6px;border:1px solid #547868;border-radius:4px;color:#b8f0d0;background:#23382d;font-variant-numeric:tabular-nums;font-weight:700;white-space:nowrap}.turn-timer.turn-timer-urgent{color:#ffd4c2;border-color:#bb765d;background:#4d2e25}.desktop-battle-log li.log-entry,.header-log-panel li.log-entry{padding:8px 10px;border:1px solid #454550;border-radius:7px;background:#292933}.desktop-battle-log li.log-play,.header-log-panel li.log-play{background:#33304c;border-color:#655485}.desktop-battle-log li.log-draw,.header-log-panel li.log-draw{background:#203b41;border-color:#39646e}.desktop-battle-log li.log-stats,.header-log-panel li.log-stats{background:#293b32;border-color:#416c53}.desktop-battle-log li.log-attack,.desktop-battle-log li.log-damage,.header-log-panel li.log-attack,.header-log-panel li.log-damage{background:#472c31;border-color:#81515a}.desktop-battle-log li.log-turn,.desktop-battle-log li.log-win,.header-log-panel li.log-turn,.header-log-panel li.log-win{background:#443b25;border-color:#7b6940}.log-row+.log-row{margin-top:4px}.log-row-play{font-weight:700;color:#e4d5ff}.log-row-stats{color:#a8ddba;font-size:11px}.desktop-battle-log li.log-reveal,.header-log-panel li.log-reveal{background:#29374b;border-color:#496589}.desktop-battle-log li.log-effect,.header-log-panel li.log-effect{background:#383049;border-color:#65517f}.desktop-battle-log li.log-move,.desktop-battle-log li.log-stack,.header-log-panel li.log-move,.header-log-panel li.log-stack{background:#343842;border-color:#596170}@media (min-width:951px){.match-shell:not(.preparation-shell).game-shell.replay-shell:has(.battle-layout){display:grid;grid-template-columns:minmax(0,1fr) repeat(5,auto);grid-template-rows:auto auto minmax(0,1fr);gap:8px 10px;align-items:center}.match-shell:not(.preparation-shell).game-shell.replay-shell>.battle-layout{grid-column:1/-1;grid-row:3;width:min(100%,768px);max-width:768px;min-height:0;height:100%;margin:0 auto;align-self:stretch}.match-shell:not(.preparation-shell).game-shell.replay-shell>.game-error{grid-column:1/-1;grid-row:4}}.match-shell:not(.preparation-shell).game-shell:has(.viewing-board){overflow:hidden}.match-shell:not(.preparation-shell).game-shell:has(.viewing-board) .viewing-board{display:grid;grid-template-rows:minmax(0,1fr) minmax(0,5fr) minmax(0,1fr);gap:4px;min-height:0;overflow:visible}.match-shell:not(.preparation-shell).game-shell:has(.viewing-board) .viewing-board>.battle-table{grid-row:2;width:100%;height:100%;min-height:0;overflow:visible;box-sizing:border-box}.viewing-hand{container-type:size;position:relative;width:100%;height:100%;min-width:0;min-height:0;padding:18px 8px 4px;box-sizing:border-box;border:1px solid #414146;border-radius:4px;background:#29292e}.viewing-hand-top{grid-row:1}.viewing-hand-bottom{grid-row:3}.viewing-hand-label{position:absolute;top:2px;left:8px;right:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:12px;color:#bdbdc6}.viewing-hand-cards{--view-card-width:min(100cqw,calc(100cqh * 800 / 1117));display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0}.viewing-hand-card{flex:0 0 var(--view-card-width);width:var(--view-card-width);height:100%;min-width:0;margin-left:min(0px,calc((100cqw - var(--view-hand-count) * var(--view-card-width)) / max(1, var(--view-hand-count) - 1)))}.viewing-hand-card:first-child{margin-left:0}.match-shell:not(.preparation-shell).game-shell:has(.viewing-board) .viewing-hand-card>.battle-card{width:100%;height:auto;max-height:100%;aspect-ratio:800/1117;transform:none}.viewing-hand-top .viewing-hand-card{transform:rotate(180deg)}.viewing-hand-card:focus-within,.viewing-hand-card:hover{z-index:2}.spectating-board .viewing-hand-top .viewing-hand-card{transform:none}.replay-shell>.game-header>.replay-share-action{flex:0 0 auto;margin-left:auto}.match-shell:not(.preparation-shell).game-shell.replay-shell>.game-header>a,.match-shell:not(.preparation-shell).game-shell.replay-shell>.game-header>button{box-sizing:border-box;height:36px;min-height:36px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;line-height:1}.match-shell:not(.preparation-shell).game-shell.replay-shell>.game-header>.sound-toggle{width:36px;padding:0}.match-shell:not(.preparation-shell).game-shell.replay-shell>.game-header>h2{margin:0;font-size:18px;line-height:1.1}.match-shell:not(.preparation-shell).game-shell.replay-shell>.game-header>span{line-height:1.2}.effects-control{display:inline-flex;align-items:center;gap:3px;flex:0 0 auto;padding:5px 7px;min-height:30px;font-size:10px;background:#242b35;color:#e9edf4;border:1px solid #4c596a;border-radius:5px}.effects-switch-track{width:24px;height:13px;background:#626c79;border-radius:8px;position:relative}.effects-switch-track:after{content:"";position:absolute;width:9px;height:9px;top:2px;left:2px;border-radius:50%;background:white;transition:transform .15s}.effects-control[aria-checked=true] .effects-switch-track{background:#8572cb}.effects-control[aria-checked=true] .effects-switch-track:after{transform:translateX(11px)}.game-shell .event-fx.card-art-effect{width:min(430px,calc(100vw - 32px));gap:10px;isolation:isolate}.game-shell .card-art-effect>img{height:clamp(170px,29dvh,285px);max-width:78%;object-fit:contain;border-radius:5px;box-shadow:0 0 18px color-mix(in srgb,var(--art-color) 42%,transparent),0 10px 20px #0007}.game-shell .card-art-effect.art-main>img{height:clamp(190px,32dvh,305px)}.game-shell .card-art-effect>strong{color:var(--art-accent);font-size:clamp(12px,2.7vw,16px);padding:7px 10px;background:#171d28e8;border:1px solid color-mix(in srgb,var(--art-color) 50%,transparent)}.card-art-decoration{position:absolute;inset:-18px -12px 36px;z-index:-1;pointer-events:none}.card-art-halo{position:absolute;inset:2%;border-radius:50%;background:radial-gradient(ellipse,var(--art-color),transparent 68%);opacity:.32;animation:card-art-glow var(--event-duration) ease-out both}.card-art-ring{inset:11% 3%;border:1px solid var(--art-accent);opacity:.45;animation:card-art-ring var(--event-duration) ease-out both}.card-art-particle,.card-art-ring{position:absolute;border-radius:50%}.card-art-particle{left:50%;top:46%;width:var(--particle-size);height:var(--particle-size);background:var(--art-accent);box-shadow:0 0 6px var(--art-color);animation:card-art-particle var(--event-duration) ease-out both}.art-feather .card-art-particle,.art-leaves .card-art-particle,.art-petals .card-art-particle,.art-rose .card-art-particle{border-radius:85% 8% 85% 15%;width:calc(var(--particle-size) * 1.6);height:calc(var(--particle-size) * .8);background:var(--art-color)}.art-dawn .card-art-particle,.art-stars .card-art-particle{clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);width:calc(var(--particle-size) * 1.8);height:calc(var(--particle-size) * 1.8)}.art-crystal .card-art-particle,.art-metal .card-art-particle{border-radius:0;clip-path:polygon(50% 0,100% 30%,75% 100%,15% 80%,0 25%)}.art-bullet .card-art-particle,.art-electric .card-art-particle{height:2px;width:calc(var(--particle-size) * 3);border-radius:0;background:linear-gradient(90deg,var(--art-accent),var(--art-color),transparent)}.art-flame .card-art-particle{border-radius:70% 5% 60% 30%;height:calc(var(--particle-size) * 2);background:linear-gradient(var(--art-accent),var(--art-color))}.art-shadow .card-art-particle,.art-soul .card-art-particle{width:calc(var(--particle-size) * 2);height:calc(var(--particle-size) * 3);background:radial-gradient(ellipse,var(--art-accent),var(--art-color) 30%,transparent 70%);box-shadow:none}.art-sand .card-art-particle{width:3px;height:3px}.art-rune .card-art-ring,.art-time .card-art-ring{border:2px dashed var(--art-accent);box-shadow:inset 0 0 0 6px #0000,inset 0 0 0 7px var(--art-color)}.art-shield .card-art-ring{border-radius:35% 35% 50% 50%;border-width:2px}.art-eye .card-art-ring{border-radius:70% 0;transform:rotate(35deg)}.art-rose .card-art-halo,.art-shadow .card-art-halo{background:radial-gradient(ellipse,transparent 25%,var(--art-color) 50%,transparent 72%)}@keyframes card-art-glow{0%,to{opacity:0;transform:scale(.85)}30%,65%{opacity:.35;transform:scale(1.05)}}@keyframes card-art-ring{0%{opacity:0;scale:.8;rotate:-12deg}30%{opacity:.5}to{opacity:0;scale:1.15;rotate:15deg}}@keyframes card-art-particle{0%,8%{opacity:0;transform:rotate(var(--particle-angle)) translateX(48px) rotate(calc(-1 * var(--particle-angle))) scale(.3)}28%{opacity:.85}to{opacity:0;transform:rotate(var(--particle-angle)) translateX(calc(90px + var(--particle-index) * 3px)) rotate(calc(80deg - var(--particle-angle))) scale(.65)}}.player-field{position:relative;isolation:isolate}.field-card-aura{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1;border-radius:inherit}.field-aura-mist{position:absolute;inset:0;opacity:.32;background:radial-gradient(ellipse at 50% 85%,var(--art-color),transparent 78%)}.field-card-aura>i{position:absolute;left:calc(8% + var(--aura-index) * 17%);bottom:3%;width:5px;height:9px;border-radius:80% 10% 80% 10%;background:var(--art-color);opacity:0;animation:field-art-drift 5s ease-in-out calc(var(--aura-index) * -.8s) infinite}.field-card-aura.art-electric>i,.field-card-aura.art-rune>i,.field-card-aura.art-stars>i{border-radius:0;width:3px;height:3px;background:var(--art-accent)}@keyframes field-art-drift{0%,to{opacity:0;transform:translateY(0) rotate(0)}30%{opacity:.45}80%{opacity:0;transform:translateY(-65px) rotate(65deg)}}@media (max-width:767px){.card-art-particle:nth-of-type(n+9){display:none}}@media (prefers-reduced-motion:reduce){.card-art-decoration{display:none}.field-card-aura>i{animation:none}}.character-art{width:clamp(280px,50dvh,400px);height:clamp(280px,50dvh,400px);background-size:300% 400%;background-repeat:no-repeat;filter:drop-shadow(0 0 10px var(--art-color)) drop-shadow(0 12px 18px #000a);animation:character-emerge var(--event-duration) cubic-bezier(.16,.7,.3,1) both}.art-sub .character-art{width:clamp(260px,47dvh,370px);height:clamp(260px,47dvh,370px)}.art-shadow{--material-position:0% 0%}.art-flame,.art-sand{--material-position:50% 0%}.art-petals,.art-rose{--material-position:100% 0%}.art-soul{--material-position:0% 50%}.art-bullet,.art-electric{--material-position:50% 50%}.art-feather,.art-revival,.art-wind{--material-position:100% 50%}.art-leaves{--material-position:0% 100%}.art-crystal,.art-metal,.art-shield{--material-position:50% 100%}.art-dawn,.art-eye,.art-rune,.art-stars,.art-time{--material-position:100% 100%}.card-material,.field-aura-texture{background-image:url(/game-vfx/material-atlas-v2.webp);background-size:300% 300%;background-position:var(--material-position);background-repeat:no-repeat}.card-material{position:absolute;width:125%;height:125%;left:-12.5%;top:-9%;opacity:0;animation:material-bloom var(--event-duration) ease-out both}.card-material-front{z-index:2;top:7%;height:110%;animation-name:material-sweep}.card-art-decoration{inset:-28px -22px 32px}.card-art-halo{opacity:.6}.card-art-ring{opacity:.7}.art-shadow .card-material{filter:brightness(.65) contrast(1.3)}.art-metal .card-material,.art-shield .card-material{filter:saturate(.25) brightness(1.4)}.art-stars .card-material,.art-time .card-material{filter:hue-rotate(155deg)}.art-sand .card-material{filter:saturate(.35) sepia(.8)}.art-dawn .card-material{filter:brightness(1.4)}.game-shell .card-art-effect>.revival-hands{position:absolute;height:150%;max-width:140%;width:auto;bottom:-13%;border-radius:0;box-shadow:none;z-index:3;pointer-events:none;animation:revival-reach var(--event-duration) ease-out both}.field-aura-texture{position:absolute;width:min(65%,350px);aspect-ratio:1;left:-5%;bottom:-38%;opacity:.65;animation:field-material-breathe 9s ease-in-out infinite alternate}.field-aura-second{left:auto;right:-5%;bottom:-30%;animation-delay:-4s;animation-direction:alternate-reverse}.field-card-aura.art-rose .field-aura-texture,.field-card-aura.art-shadow .field-aura-texture{opacity:.8}@keyframes character-emerge{0%,6%{opacity:0;transform:translateY(45px) scale(.8)}22%{opacity:1;transform:translateY(-5px) scale(1.025)}35%,78%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-12px) scale(1.02)}}@keyframes material-bloom{0%,5%{opacity:0;transform:scale(.55) rotate(-12deg)}24%,70%{opacity:.95}to{opacity:0;transform:scale(1.14) rotate(8deg)}}@keyframes material-sweep{0%,12%{opacity:0;transform:translateY(55px) scale(.65) rotate(10deg)}35%,65%{opacity:.8}to{opacity:0;transform:translateY(-25px) scale(1.1) rotate(-8deg)}}@keyframes revival-reach{0%,8%{opacity:0;transform:translateY(85px) scale(.7)}28%,75%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-30px) scale(1.05)}}@keyframes field-material-breathe{0%{transform:translateY(8px) rotate(-8deg) scale(.95)}to{transform:translateY(-12px) rotate(8deg) scale(1.07)}}@media (max-width:767px){.card-material{width:115%;left:-7.5%}.card-art-decoration{inset-inline:-8px}.field-aura-texture{width:70%;bottom:-25%}}@media (prefers-reduced-motion:reduce){.character-art,.field-aura-texture,.revival-hands{animation:none}}.active-motif{position:absolute;width:min(480px,94vw);aspect-ratio:1;top:50%;left:50%;z-index:2;background-image:url(/game-vfx/active-motifs-v2.webp);background-size:400% 500%;background-repeat:no-repeat;pointer-events:none;animation:motif-emerge var(--event-duration) ease-out both}.art-motif-0 .active-motif{display:none}.art-motif-1 .active-motif,.art-motif-16 .active-motif,.art-motif-6 .active-motif{animation-name:motif-sway}.art-motif-15 .active-motif,.art-motif-19 .active-motif,.art-motif-2 .active-motif,.art-motif-7 .active-motif{animation-name:motif-orbit}@keyframes motif-emerge{0%,8%{opacity:0;transform:translate(-50%,-42%) scale(.7)}28%,76%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-54%) scale(1.08)}}@keyframes motif-sway{0%,8%{opacity:0;transform:translate(-50%,-50%) scale(.7) rotate(-14deg)}30%{opacity:1;transform:translate(-50%,-50%) rotate(7deg)}65%{opacity:1;transform:translate(-50%,-50%) rotate(-5deg)}to{opacity:0;transform:translate(-50%,-50%) scale(1.08) rotate(5deg)}}@keyframes motif-orbit{0%,8%{opacity:0;transform:translate(-50%,-50%) scale(.65) rotate(-20deg)}28%,76%{opacity:1}to{opacity:0;transform:translate(-50%,-50%) scale(1.1) rotate(20deg)}}@media (prefers-reduced-motion:reduce){.active-motif{animation:none}}.art-active .card-material{display:none}.game-shell .card-art-effect>strong{position:relative;z-index:4}.art-heart .card-art-particle{background:#ffc3d7;clip-path:polygon(50% 20%,70% 0,100% 20%,100% 50%,50% 100%,0 50%,0 20%,30% 0)}.art-swamp .card-art-particle,.art-water .card-art-particle{border:1px solid var(--art-accent);background:color-mix(in srgb,var(--art-color) 55%,transparent)}.art-bio .card-art-particle{height:calc(var(--particle-size) * 2);border-radius:2px}.active-motif{mask-image:radial-gradient(ellipse,#000 58%,#000d 65%,transparent 73%)}.character-art{mask-image:linear-gradient(transparent,#000 3%,#000 94%,transparent)}.game-shell.lobby-shell,.game-shell.preparation-shell{--workflow-gap:clamp(10px,1.5vw,24px);--workflow-edge:clamp(12px,2vw,28px);box-sizing:border-box;width:100%;max-width:none;min-width:0;height:auto;min-height:100dvh;margin:0 auto;padding:var(--workflow-edge);overflow:visible;display:block}.lobby-shell *,.preparation-shell *{box-sizing:border-box}.lobby-shell .lobby-wrap{width:100%;max-width:1320px;min-width:0;margin:0 auto}.lobby-shell .game-header,.preparation-shell>.game-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;width:100%;min-width:0;min-height:0;height:auto;gap:var(--workflow-gap);margin:0 0 var(--workflow-gap);padding:0;font-size:clamp(11px,1.3vw,13px)}.lobby-shell .game-header>*,.preparation-shell>.game-header>*{min-width:0;max-width:100%}.lobby-shell .game-header .player-pill,.preparation-shell .player-pill{white-space:normal;overflow-wrap:anywhere;margin:0}.lobby-hero{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:var(--workflow-gap);min-width:0;padding:var(--workflow-gap) 0;overflow:hidden}.lobby-hero h1{margin:0;font-size:clamp(28px,4.6vw,62px);line-height:1.15;letter-spacing:-.04em;overflow-wrap:anywhere}.lobby-hero:not(:has(.hero-cards)){grid-template-columns:minmax(0,1fr)}.lobby-hero em{color:var(--gold);font-style:normal}.lobby-hero p{margin:var(--workflow-gap) 0 0;font-size:clamp(12px,1.3vw,16px);line-height:1.65;overflow-wrap:anywhere}.hero-cards{display:flex;justify-content:center;align-items:center;min-width:0;padding:24px 0}.hero-cards img{flex:none;width:clamp(72px,20vw,150px);border-radius:10px;margin-left:-18px;transform:rotate(var(--tilt));box-shadow:0 12px 30px #0006}.hero-cards img:first-child{margin-left:0}.hero-cards img:nth-child(2){z-index:1;transform:translateY(-12px)}.lobby-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--workflow-gap)}.lobby-shell .action-tile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;position:relative;min-width:0;width:100%;gap:var(--workflow-gap);margin:0;padding:var(--workflow-edge);border-radius:12px;background:#28282d}.action-tile>svg:first-child{flex:none;width:24px;height:24px;color:var(--gold)}.action-tile>svg:last-child{position:absolute;right:var(--workflow-edge);top:var(--workflow-edge)}.action-tile strong{font-size:clamp(16px,1.8vw,22px);padding-right:20px;overflow-wrap:anywhere}.action-tile>span{font-size:13px;line-height:1.6;color:#a7b3b0;overflow-wrap:anywhere}.lobby-shell .invite-form{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--workflow-gap);padding:var(--workflow-edge)}.invite-form label{flex:1 1 240px;min-width:0}.invite-form input{width:100%;min-width:0}.invite-actions{display:flex;flex:1 1 220px;gap:var(--workflow-gap)}.invite-actions button{flex:1;min-width:0;margin:0}.lobby-shell .room-list{min-width:0;margin:var(--workflow-gap) 0}.lobby-shell .section-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;column-gap:8px;row-gap:var(--workflow-gap);margin:0 0 var(--workflow-gap)}.lobby-shell .section-heading>button:first-of-type{margin-left:auto}.lobby-shell .section-heading h2{margin:0;font-size:clamp(18px,2vw,24px)}.lobby-note,.lobby-shell .section-heading span{font-size:12px;color:#aaaab4}.public-room-strip{display:flex;flex-wrap:nowrap;gap:var(--workflow-gap);min-width:0;width:100%;padding:2px 2px 12px;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin}.lobby-shell .public-room-card{flex:0 0 clamp(240px,76vw,320px);grid-template-columns:32px minmax(0,1fr);align-items:start;min-width:0;gap:10px;border-radius:12px;background:#28282d;scroll-snap-align:start}.room-copy{min-width:0}.room-copy strong,.room-row small{display:block;overflow-wrap:anywhere}.room-row small{margin-top:6px;color:#aaaab4;font-size:12px}.lobby-shell .public-room-card button{grid-column:2;padding:8px 12px;border:0;background:#3b3b43}.lobby-shell .public-room-card .room-icon{width:32px;height:32px}.lobby-shell .public-room-card .room-icon svg{width:18px;height:18px}.lobby-shell .public-room-card strong{font-size:14px;line-height:1.4}.lobby-shell .room-icon{flex:none;width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:#34343c;color:var(--gold)}.lobby-shell .empty-room{padding:var(--workflow-edge);border:1px dashed #53535e;border-radius:12px;color:#aaaab4}.lobby-shell .replay-room-list{display:flex;flex-direction:column}.lobby-shell .replay-memo{margin:6px 0 0;font-size:13px;line-height:1.5;color:var(--ui-text);overflow-wrap:anywhere}.replay-memo-field{display:grid;gap:6px;font-size:12px;color:var(--ui-muted);text-align:left}.replay-memo-field input{min-height:40px;padding:8px 10px;border:1px solid var(--ui-line);border-radius:6px;background:var(--ui-panel-2);color:var(--ui-text);font-size:14px}.replay-room-list .room-row{display:grid;grid-template-columns:44px minmax(0,1fr);gap:var(--workflow-gap);align-items:center;padding:var(--workflow-edge) 0;border-top:1px solid #53535e}.replay-room-list .room-row>div{min-width:0;overflow-wrap:anywhere}.replay-room-list .room-row>button{grid-column:2;width:100%;min-width:0;margin:0}@media (max-width:429px){.replay-room-list .room-row{grid-template-columns:44px minmax(0,1fr) minmax(0,1fr) 44px}.replay-room-list .room-row>div:nth-child(2){grid-column:2/-1}.replay-room-list .room-row>button{grid-row:2;grid-column:1/3}.replay-room-list .room-row>button+button{grid-column:3/-1}.replay-room-list .room-row>button:only-of-type{grid-column:1/-1}}.preparation-shell .mulligan-panel,.preparation-shell .setup-panel,.preparation-shell .setup-wait,.preparation-shell .turn-order-panel,.preparation-shell .waiting-room{width:var(--page-column);min-width:0;max-width:none;margin:var(--workflow-gap) auto;height:auto;padding:var(--workflow-edge);overflow:visible}.preparation-shell .mulligan-panel,.preparation-shell .setup-wait,.preparation-shell .turn-order-panel{text-align:center}.game-shell.preparation-shell{padding-inline:0}.preparation-shell>.turn-order-note{width:var(--page-column);margin-inline:auto}.preparation-shell h1{font-size:clamp(22px,3vw,32px);line-height:1.3;margin:0 0 var(--workflow-gap);overflow-wrap:anywhere}.preparation-shell p{line-height:1.6;margin:var(--workflow-gap) 0;overflow-wrap:anywhere}.setup-content{display:block;min-width:0}.setup-content>label{display:flex;flex-direction:column;gap:8px;width:100%;max-width:450px}.setup-content select{width:100%;min-width:0}.preparation-shell .setup-panel h3{margin:var(--workflow-gap) 0 0;font-size:15px}.setup-panel h3 span{color:var(--gold);margin-left:8px}.preparation-shell .setup-cards{display:flex;flex-wrap:nowrap;gap:var(--workflow-gap);min-width:0;max-width:100%;margin:0;padding:20px 4px 14px}.preparation-shell .setup-main-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:420px}.preparation-shell .setup-sub-cards{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin}.preparation-shell .setup-card-slot{flex:0 0 clamp(68px,9vw,100px);min-width:0;padding:0;scroll-snap-align:start}.preparation-shell .setup-card-slot>.battle-card{width:100%;max-width:none;aspect-ratio:800/1117;transform:none}.preparation-shell .setup-card-slot>.battle-card.selected{transform:translateY(-8px);outline:2px solid var(--gold);outline-offset:2px}.preparation-shell .setup-confirm-area{display:block;position:static;margin-top:var(--workflow-gap);padding:var(--workflow-gap) 0 0;border-top:1px solid #53535e}.preparation-shell .setup-confirm-area>button{position:static;width:100%;margin:0;min-height:44px}.preparation-shell .setup-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--workflow-gap);max-width:560px;margin:var(--workflow-gap) auto;padding:8px 4px}.preparation-shell .setup-preview .battle-card{width:100%;min-width:0;max-width:none;transform:none}.preparation-shell .mulligan-buttons,.preparation-shell .turn-order-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--workflow-gap);margin-top:var(--workflow-gap)}.preparation-shell .mulligan-buttons button,.preparation-shell .turn-order-buttons button{min-width:0;margin:0;overflow-wrap:anywhere;min-height:44px}.turn-order-note,.turn-order-result{font-size:13px;color:#aaaab4}.setup-mobile-effect{position:fixed;left:12px;right:12px;bottom:12px;z-index:100;max-height:45dvh;padding:16px;overflow-y:auto;border:1px solid #53535e;border-radius:12px;background:#28282df5;box-shadow:0 12px 40px #0008}.setup-mobile-effect-title{display:flex;align-items:center;gap:10px}.setup-mobile-effect-title strong{flex:1;min-width:0}.setup-mobile-effect-title button{flex:none;width:32px;height:32px;padding:0}.setup-mobile-effect h4{font-size:12px;margin:10px 0 4px}.setup-mobile-effect p{font-size:12px}@media (min-width:430px){.lobby-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.lobby-hero{grid-template-columns:minmax(0,1fr) minmax(0,.7fr)}.hero-cards img{width:clamp(90px,12vw,150px)}.invite-actions{flex:0 0 auto}.replay-room-list .room-row{grid-template-columns:44px minmax(0,1fr) auto auto}.replay-room-list .room-row>button{grid-column:auto;width:auto}.setup-mobile-effect{display:none}}@media (min-width:1024px){.lobby-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.lobby-actions[aria-label="AI 선택"]{grid-template-columns:repeat(2,minmax(0,1fr))}}.lobby-shell button:not(.battle-card),.preparation-shell button:not(.battle-card){border:0}.game-shell .game-header,.game-shell.match-shell:not(.preparation-shell):has(.battle-layout)>.game-header{flex-wrap:wrap;width:100%;min-width:0;min-height:40px;height:auto;justify-content:flex-end;gap:clamp(8px,1.2vw,16px);font-size:clamp(12px,1.2vw,14px)}.game-shell .game-header>:first-child,.game-shell.match-shell:not(.preparation-shell):has(.battle-layout)>.game-header>:first-child{margin-inline-end:auto}.game-shell .game-header>:not(:first-child),.game-shell.match-shell:not(.preparation-shell):has(.battle-layout)>.game-header>:not(:first-child){margin-inline-start:0}.game-shell .game-header summary,.game-shell .game-header>a,.game-shell .game-header>button{min-height:36px;padding:8px 10px;display:inline-flex;align-items:center;gap:6px}.game-shell .game-header button,.replay-controls button{border:0;background:#3b3b43}.choice-shade button:not(.battle-card,.effect-peek),.game-result button,.game-result>a,.modifier-detail button{border:0;background:var(--btn-secondary-bg);color:var(--btn-secondary-ink)}.choice-shade button.game-primary,.game-result button.game-primary{background:var(--btn-primary-bg);color:var(--btn-primary-ink)}@media (hover:hover){.choice-shade button:not(.battle-card,.effect-peek):not(.game-primary):hover:not(:disabled),.game-result button:not(.game-primary):hover:not(:disabled){background:var(--btn-secondary-hover);border-color:transparent}}.choice-shade .game-panel,.choice-shade .game-result{background:var(--ui-panel);border-color:var(--ui-line);color:var(--ui-text)}.choice-shade .game-panel :is(h2,h3,strong),.choice-shade .game-result :is(h2,strong){color:var(--ui-text)}.choice-shade .game-panel :is(p,label,small),.choice-shade .game-result p{color:var(--ui-muted)}.choice-shade .card-detail h4{color:var(--ui-soft)}.choice-shade .card-detail p{color:var(--ui-text)}.choice-shade .card-detail p.muted{color:var(--ui-muted)}.choice-shade{padding:var(--page-gutter)}.choice-shade>.game-panel{max-width:100%;max-height:calc(100dvh - 24px)}.choice-shade .choice-dialog{padding:clamp(12px,2vw,24px);overflow-y:auto}.choice-dialog h2{font-size:clamp(18px,2vw,26px);overflow-wrap:anywhere}.choice-dialog p{line-height:1.6;overflow-wrap:anywhere}.choice-dialog .choice-actions{width:100%;gap:10px}.choice-dialog .choice-actions>button{flex:1 1 120px;min-height:36px}.choice-shade .card-detail{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;height:auto;overflow-y:auto;padding:48px 16px 16px}.choice-shade .card-detail>img{width:clamp(84px,24vw,120px);max-height:30dvh;margin:0 auto}.choice-shade .card-detail-content,.choice-shade .card-detail-copy{max-height:none;overflow:visible}.choice-shade .card-detail h2{font-size:22px;overflow-wrap:anywhere}.choice-shade .modifier-detail,.choice-shade .pile-detail{padding:48px 16px 16px;width:min(750px,100%)}.choice-shade .modal-close{right:12px;top:12px;width:36px;height:36px;padding:6px}.choice-shade .game-result{position:relative;left:auto;top:auto;transform:none;width:min(420px,100%);max-width:100%;max-height:calc(100dvh - 24px);overflow-y:auto;padding:clamp(20px,3vw,36px);gap:12px}.choice-shade .game-result h1{font-size:clamp(36px,5vw,60px)}.game-result>a{display:flex;justify-content:center;align-items:center;min-height:40px;padding:8px 12px;border-radius:6px}.game-shell .replay-controls{position:relative;width:100%;max-width:100%;flex-wrap:wrap;justify-content:center;gap:8px;padding:12px;border:0}.replay-controls button,.replay-controls select{min-height:36px;min-width:36px;margin:0}.replay-controls input[type=range]{flex:1 1 160px;max-width:100%}.header-log-panel{left:auto;right:12px;max-width:calc(100vw - 24px);max-height:65dvh;overflow-y:auto}@media (min-width:430px){.choice-shade .card-detail{padding:48px 20px 20px}}@media (min-width:1024px){.choice-shade .card-detail{grid-template-columns:minmax(140px,230px) minmax(0,1fr);gap:24px;align-items:center}.choice-shade .card-detail>img{width:100%;max-height:55dvh}}.game-shell.lobby-shell,.game-shell.preparation-shell{background:radial-gradient(ellipse at 85% 0,var(--ui-bg-glow) 0,transparent 45%),var(--ui-bg);color:var(--ui-text)}:is(.lobby-shell,.preparation-shell) p{color:var(--ui-muted)}:is(.lobby-shell,.preparation-shell) .game-panel{background:var(--ui-panel);border:1px solid var(--ui-line);border-radius:12px;box-shadow:var(--ui-shadow)}:is(.lobby-shell,.preparation-shell) button:not(.battle-card):not(.game-primary){background:var(--ui-control);color:var(--ui-text)}@media (hover:hover){:is(.lobby-shell,.preparation-shell) button:not(.battle-card):not(.game-primary):hover:not(:disabled){background:var(--ui-control-hover)}}:is(.lobby-shell,.preparation-shell) .game-primary{border:0}:is(.lobby-shell,.preparation-shell) .game-eyebrow{color:var(--ui-accent-text)}:is(.lobby-shell,.preparation-shell) .player-pill{background:var(--ui-control);border:0;border-radius:6px;color:var(--ui-text)}:is(.lobby-shell,.preparation-shell) .online-dot{background:var(--ui-accent);box-shadow:none}:is(.lobby-shell,.preparation-shell) input,:is(.lobby-shell,.preparation-shell) select{color:var(--ui-text);border:1px solid var(--ui-line);border-radius:6px}:is(.lobby-shell,.preparation-shell) input:focus,:is(.lobby-shell,.preparation-shell) select:focus{outline:2px solid var(--ui-accent);outline-offset:1px}:is(.lobby-shell,.preparation-shell) label{color:var(--ui-muted);font-size:12px}.preparation-shell .turn-order-note,.preparation-shell .turn-order-result,:is(.lobby-shell,.preparation-shell) .lobby-note,:is(.lobby-shell,.preparation-shell) .section-heading span{color:var(--ui-muted)}.preparation-shell .setup-confirm-area{border-top-color:var(--ui-line)}.preparation-shell .setup-card-slot>.battle-card.selected{outline:3px solid var(--ui-accent);outline-offset:3px}.preparation-shell>.game-header .room-code{color:var(--ui-muted)}.preparation-shell>.game-header>a,.preparation-shell>.game-header>button{border-radius:6px}.lobby-shell .site-header .player-pill{margin:0}.lobby-shell .lobby-wrap{max-width:1280px}.lobby-top{display:grid;gap:var(--workflow-gap);margin-bottom:var(--workflow-gap)}.lobby-shell .lobby-hero{display:block;padding:0;overflow:visible}.lobby-shell .lobby-hero h1{font-size:clamp(24px,2.5vw,32px);letter-spacing:-.02em;margin-top:0}.lobby-shell .lobby-hero p{max-width:640px;margin-top:8px;font-size:14px}.lobby-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-panel);box-shadow:var(--ui-shadow)}.lobby-stats>div{min-width:0;padding:12px 14px}.lobby-stats>div+div{border-left:1px solid var(--ui-line)}.lobby-stats dt{font-size:12px;color:var(--ui-muted)}.lobby-stats dd{margin:4px 0 0;font-size:clamp(20px,2.4vw,28px);font-weight:750;font-variant-numeric:tabular-nums;color:var(--ui-text)}.lobby-grid{align-items:start}.lobby-grid,.lobby-main{display:grid;gap:var(--workflow-gap)}.lobby-main{min-width:0}.lobby-shell .lobby-main .room-list{margin:0}.lobby-shell :is(.public-room-list,.replay-room-list) :is(.empty-room,.lobby-private-placeholder){min-height:76px}@media (max-width:640px){.lobby-shell :is(.public-room-list,.replay-room-list) :is(.empty-room,.lobby-private-placeholder){min-height:96px}}.lobby-start{display:grid;gap:12px;padding:var(--workflow-edge);min-width:0}.lobby-shell .section-heading h2,.lobby-start h2{margin:0;font-size:18px}.lobby-shell .lobby-ai{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;align-items:center;width:100%;margin:0;padding:14px;border-radius:10px;text-align:left}.lobby-ai-faces{grid-row:1/3;display:flex}.lobby-ai-faces img{width:44px;aspect-ratio:800/1117;object-fit:cover;object-position:top;border-radius:6px;border:2px solid var(--ui-panel);box-shadow:0 2px 6px #0003}.lobby-ai-faces img+img{margin-left:-14px}.lobby-ai strong{font-size:16px}.lobby-ai>span:last-child{font-size:12px;color:var(--ui-muted)}.lobby-create{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lobby-shell .lobby-create button{display:grid;justify-items:start;gap:4px;margin:0;padding:12px;border-radius:10px;text-align:left}.lobby-create svg{color:var(--ui-accent-text)}.lobby-create strong{font-size:14px}.lobby-create span{font-size:12px;color:var(--ui-muted)}.lobby-shell .lobby-start .invite-form{display:grid;gap:8px;padding:12px 0 0;border-top:1px solid var(--ui-line)}.lobby-shell .lobby-start .invite-form label{display:grid;gap:6px}.lobby-shell .lobby-start .invite-form input{min-height:40px;padding:8px 10px}.lobby-shell .lobby-start .invite-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.lobby-shell .lobby-start .invite-actions button{min-height:40px;padding:8px}.lobby-shell .room-list.game-panel{padding:var(--workflow-edge)}.lobby-shell .empty-room{border-color:var(--ui-line);color:var(--ui-muted);text-align:center;padding:28px 16px}.public-room-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:10px}.lobby-shell .public-room-card{display:grid;gap:8px;flex:none;margin:0;padding:14px;border:1px solid var(--ui-line);border-radius:10px}.room-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.room-code-label{font-size:16px;letter-spacing:.08em;font-variant-numeric:tabular-nums}.room-status{padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;background:var(--ui-control);color:var(--ui-muted)}.room-status.live{background:color-mix(in srgb,var(--ui-accent) 22%,transparent);color:var(--ui-accent-text)}.room-players{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;font-size:13px;font-weight:600}.room-players span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-players span:last-child{text-align:right}.room-kind,.room-players small{font-size:11px;color:var(--ui-muted)}.lobby-shell .public-room-card button{grid-column:auto;width:100%;min-height:36px;margin:0}.lobby-shell .room-icon{color:var(--ui-accent-text)}.lobby-shell .room-row small{color:var(--ui-muted)}.lobby-shell .replay-room-list .room-row{border-top-color:var(--ui-line)}.lobby-shell .replay-room-list .room-row:first-of-type{border-top:0}.lobby-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:var(--workflow-gap);padding-top:12px;border-top:1px solid var(--ui-line);font-size:12px;color:var(--ui-muted)}.lobby-footer p{margin:0}.lobby-footer a{color:var(--ui-muted);text-decoration:underline}.lobby-shell .identity-form{margin:6vh auto}.lobby-shell .identity-form .game-primary{min-height:44px}.ai-picks{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--workflow-gap)}.lobby-shell .ai-pick{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:center;margin:0;padding:14px;text-align:left}.ai-pick img{width:100%;aspect-ratio:800/1117;object-fit:cover;border-radius:8px;box-shadow:0 6px 16px #0003}.ai-pick-copy{display:grid;gap:4px;min-width:0}.ai-pick-copy strong{font-size:18px}.ai-pick-copy small{font-size:12px;color:var(--ui-accent-text)}.ai-pick-copy span{font-size:13px;color:var(--ui-muted)}.lobby-shell .ai-pick:disabled{opacity:.55}@media (max-width:429px){.lobby-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.lobby-stats>div:nth-child(3){border-left:0}.lobby-stats>div:nth-child(n+3){border-top:1px solid var(--ui-line)}}@media (min-width:768px){.ai-picks{grid-template-columns:repeat(3,minmax(0,1fr))}.lobby-shell .ai-pick{grid-template-columns:minmax(0,1fr);justify-items:start}.ai-pick img{max-width:220px}}@media (min-width:1024px){.lobby-top{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:end}.lobby-grid{grid-template-columns:360px minmax(0,1fr)}.lobby-start{position:sticky;top:16px}}.lobby-notice{display:flex;align-items:flex-start;gap:12px;margin-bottom:var(--workflow-gap);padding:12px 14px;border:1px solid var(--ui-accent);border-radius:10px;background:color-mix(in srgb,var(--ui-accent) 12%,var(--ui-panel))}.lobby-notice p{flex:1;margin:0;color:var(--ui-text);font-size:14px;line-height:1.6}.lobby-shell .lobby-notice button{flex:none;width:32px;height:32px;padding:0;margin:0}:is(.lobby-shell,.preparation-shell) .game-panel{border:0;border-radius:6px;box-shadow:none}:is(.lobby-shell,.preparation-shell) .player-pill,:is(.lobby-shell,.preparation-shell) button:not(.battle-card),:is(.lobby-shell,.preparation-shell) input,:is(.lobby-shell,.preparation-shell) select{border:0;border-radius:4px}:is(.lobby-shell,.preparation-shell) input,:is(.lobby-shell,.preparation-shell) select{background:var(--ui-bg)}.lobby-stats{gap:6px;border:0;border-radius:0;background:none;box-shadow:none}.lobby-stats>div{border-radius:6px;background:var(--ui-panel)}.lobby-stats>div+div{border-left:0}.lobby-shell .lobby-ai,.lobby-shell .lobby-create button{border-radius:4px;background:var(--ui-panel-2)}.lobby-shell .lobby-ai:hover:not(:disabled),.lobby-shell .lobby-create button:hover:not(:disabled){background:var(--ui-control)}.lobby-ai-faces img{border:0;border-radius:3px;box-shadow:0 0 0 2px var(--ui-panel-2)}.lobby-shell .lobby-start .invite-form{border-top:0;padding-top:4px}.lobby-shell .public-room-card{border:0;border-radius:4px;background:var(--ui-panel-2)}.room-status{border-radius:3px}.lobby-shell .empty-room{border:0;border-radius:4px;background:var(--ui-panel-2)}.lobby-shell .replay-room-list .room-row{border-top:0;margin-top:6px;padding:10px;border-radius:4px;background:var(--ui-panel-2)}.lobby-shell .room-icon{border-radius:4px;background:var(--ui-control)}.lobby-notice{border:0;border-radius:6px;background:color-mix(in srgb,var(--ui-accent) 16%,var(--ui-panel))}.lobby-footer{border-top:0;padding-top:4px}.lobby-shell .ai-pick{border-radius:6px}.ai-pick img{border-radius:4px;box-shadow:none}.preparation-shell .setup-confirm-area{border-top:0}.preparation-shell>.game-header .player-pill,.preparation-shell>.game-header>a,.preparation-shell>.game-header>button{background:var(--ui-control);border-radius:4px}.lobby-shell .identity-form{border-radius:6px}@media (max-width:429px){.lobby-stats>div:nth-child(n+3){border-top:0}}.lobby-tabbar{position:sticky;bottom:0;z-index:20;margin:var(--workflow-gap) calc(-1 * var(--workflow-edge)) calc(-1 * var(--workflow-edge));background:var(--ui-bg)}.lobby-shell .lobby-tabbar a{border-radius:4px;text-decoration:none}@media (min-width:1024px){.lobby-tabbar{display:none}}.game-shell.lobby-shell{padding:0}.lobby-shell .lobby-wrap{width:var(--page-column);max-width:none;padding:0 0 16px}.lobby-shell>.identity-form{margin-inline:auto}.lobby-tabbar{margin:var(--workflow-gap) 0 0}.lobby-shell .card-row-media,.lobby-shell .card-row-media:hover:not(:disabled){background:#1b1b1f;color:#f4f4f5}.lobby-shell .card-row-media>:not(.card-row-art){position:relative;z-index:1}.lobby-shell .card-row-media .card-row-art img{opacity:.95}.lobby-shell .ai-pick.card-row-media{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;min-height:200px;overflow:hidden;padding:18px}.lobby-shell .ai-pick.card-row-media .card-row-art:after{background:linear-gradient(0deg,rgb(12 12 14/.92) 0,rgb(12 12 14/.55) 50%,rgb(12 12 14/.1))}.lobby-shell .ai-pick.card-row-media .card-row-art img{object-position:center 25%;transform:scale(1.1);transition:transform .3s}.lobby-shell .ai-pick.card-row-media:hover:not(:disabled) .card-row-art img{transform:scale(1.16)}.lobby-shell .ai-pick .ai-pick-copy strong{color:#fff;font-size:22px}.lobby-shell .ai-pick .ai-pick-copy span{color:rgb(244 244 245/.75)}.lobby-shell .ai-pick .ai-pick-copy small{color:#7dd8b9}@media (min-width:768px){.lobby-shell .ai-pick.card-row-media{min-height:300px}}.game-shell .battle-card.selected,.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-card.selected,.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-zone .battle-card.selected,.preparation-shell .setup-card-slot>.battle-card.selected{outline:3px solid #58c4a3;outline-offset:2px;box-shadow:0 0 0 1px #0b2a22,0 10px 24px #0007}.choice-shade .choice-option>button.selected,.choice-shade .choice-option>button:not(.battle-card).selected{background:#58c4a3;color:#0b2a22;font-weight:800}.choice-shade .choice-option>button:not(.battle-card).selected:before{content:"✓ "}.choice-option>b{background:#58c4a3;color:#0b2a22}.lobby-shell .ai-pick.card-row-media .card-row-art img{object-position:50% 22%;transform:scale(1.85);transform-origin:50% 26%}.lobby-shell .ai-pick.card-row-media:hover:not(:disabled) .card-row-art img{transform:scale(1.93)}.game-shell.lobby-shell{display:flex;flex-direction:column}.lobby-tabbar{margin-top:auto}.lobby-shell .ai-pick.card-row-media .card-row-art:after{background:linear-gradient(0deg,rgb(12 12 14/.96) 0,rgb(12 12 14/.8) 32%,rgb(12 12 14/.2) 70%,rgb(12 12 14/0))}.card-art-rays{position:absolute;inset:-12%;border-radius:50%;pointer-events:none;background:repeating-conic-gradient(from 0deg,color-mix(in srgb,var(--art-color) 55%,transparent) 0deg 3deg,transparent 3deg 18deg);mask-image:radial-gradient(circle,transparent 28%,#000 40%,#000 52%,transparent 70%);animation:card-art-rays var(--event-duration) ease-out both}.card-art-ring-outer{inset:0 -6%;border-style:dashed;border-width:1.5px;animation-name:card-art-ring-outer}.card-art-sigil{position:absolute;left:50%;top:46%;width:62%;aspect-ratio:1;translate:-50% -50%;pointer-events:none;animation:card-art-sigil var(--event-duration) ease-out both}.card-art-sigil>i{position:absolute;inset:0;border:1.5px solid var(--art-accent);opacity:.55;rotate:45deg}.card-art-sigil>i+i{inset:9%;rotate:0deg;border-color:var(--art-color)}.art-heart .card-art-sigil>i,.art-petals .card-art-sigil>i,.art-rose .card-art-sigil>i{border-radius:60% 0}.art-dawn .card-art-sigil>i,.art-stars .card-art-sigil>i{clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);border-width:0;background:color-mix(in srgb,var(--art-accent) 35%,transparent)}.art-rune .card-art-sigil>i,.art-time .card-art-sigil>i{border-radius:50%;border-style:dotted;border-width:3px}.art-bullet .card-art-sigil>i,.art-electric .card-art-sigil>i{clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);border-width:0;background:linear-gradient(135deg,transparent 46%,var(--art-accent) 48%,var(--art-accent) 52%,transparent 54%)}.art-shadow .card-art-sigil>i,.art-soul .card-art-sigil>i{border-radius:50%;border-color:transparent;box-shadow:inset 0 0 18px var(--art-color)}.art-leaves .card-art-sigil>i,.art-wind .card-art-sigil>i{border-radius:80% 10% 80% 10%}.art-crystal .card-art-sigil>i,.art-metal .card-art-sigil>i,.art-shield .card-art-sigil>i{border-width:2px}.card-art-pillars{position:absolute;inset:0;pointer-events:none}.card-art-pillars>i{position:absolute;bottom:8%;left:calc(14% + var(--pillar-index) * 14%);width:6px;height:70%;border-radius:6px;background:linear-gradient(to top,transparent,color-mix(in srgb,var(--art-accent) 80%,transparent) 40%,transparent);filter:blur(1px);opacity:0;transform-origin:bottom;animation:card-art-pillar var(--event-duration) ease-out calc(var(--pillar-index) * 70ms) both}@keyframes card-art-rays{0%{opacity:0;rotate:-20deg;scale:.7}30%{opacity:.55}to{opacity:0;rotate:25deg;scale:1.1}}@keyframes card-art-ring-outer{0%{opacity:0;scale:.9;rotate:20deg}30%{opacity:.45}to{opacity:0;scale:1.22;rotate:-25deg}}@keyframes card-art-sigil{0%{opacity:0;scale:.6;rotate:-30deg}35%{opacity:1}75%{opacity:.8}to{opacity:0;scale:1.08;rotate:30deg}}@keyframes card-art-pillar{0%{opacity:0;transform:scaleY(.2)}35%{opacity:.9;transform:scaleY(1)}to{opacity:0;transform:scaleY(1.1) translateY(-12%)}}@media (prefers-reduced-motion:reduce){.card-art-pillars,.card-art-rays,.card-art-sigil{display:none}}.game-shell .lobby-tabbar a{color:var(--ui-muted);font-size:11px}.game-shell .lobby-tabbar a[aria-current=page]{color:var(--ui-accent-text)}.card-art-effect>.card-art-decoration{inset:auto;left:50%;top:46%;width:min(500px,88vw);aspect-ratio:1;translate:-50% -50%}.card-art-effect .card-art-ring{inset:14%}.card-art-effect .card-art-ring-outer{inset:6%}.card-art-effect .card-art-sigil{width:48%}.card-art-effect .card-art-sigil>i{opacity:.45}.setup-mobile-effect{max-height:34dvh}:is(.lobby-shell,.preparation-shell) button.card-row-media:not(.battle-card):not(.game-primary),:is(.lobby-shell,.preparation-shell) button.card-row-media:not(.battle-card):not(.game-primary):hover:not(:disabled){background:#1b1b1f;color:#f4f4f5}.game-shell.replay-shell>.game-header{flex:0 0 auto;height:auto;min-height:40px;position:relative;z-index:36}.game-shell.match-shell.replay-shell:not(.preparation-shell):has(.battle-layout)>.game-header,.game-shell.match-shell.replay-shell>.game-header{flex:0 0 auto;height:auto}@media (min-width:1280px){.match-shell:not(.preparation-shell).game-shell:has(.battle-layout)>.game-header{grid-column:1/-1;grid-row:1}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout)>.game-header>.header-battle-log{display:none}}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout)>.game-header>.room-code{margin-left:auto}.lobby-shell .public-room-card{grid-template-columns:minmax(0,1fr);align-items:stretch}.lobby-shell .public-room-card .room-card-top{min-width:0}.lobby-shell .public-room-card .room-code-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lobby-shell .public-room-card .room-status{flex:none;white-space:nowrap}.lobby-shell .ai-pick.card-row-media .card-row-art img,.lobby-shell .ai-pick.card-row-media:hover:not(:disabled) .card-row-art img{position:absolute;left:-35%;top:0;width:160%;height:auto;max-width:none;object-fit:fill;transform:translateY(-13%);transition:none}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout){--bar-me:#58c4a3;--bar-enemy:#e070a0;--chip:rgb(255 255 255/.07);--zone:#222227;--zone-2:#1b1b1f;background:radial-gradient(ellipse at 50% 0,#26262b 0,transparent 60%),#141417}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-table{background:#19191d;border:0;border-radius:6px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-label .player-role{padding:2px 6px;border-radius:3px;background:var(--chip);color:#a6a6b0;font-weight:800;letter-spacing:.08em}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .player-label .player-turn{padding:2px 7px;border-radius:3px;background:#58c4a3;color:#0b2a22;font-weight:800}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .enemy-field .player-label .player-turn{background:#e070a0;color:#2a0d1a}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) :is(.zone-pile,.stack-pile,.trash-pile){background:var(--zone);border:0;border-radius:6px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) :is(.stack-pile,.trash-pile,.zone-pile)>span:first-child{padding:2px 6px;border-radius:3px;background:var(--chip);color:#a6a6b0;font-weight:800;letter-spacing:.1em}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) :is(.stack-pile,.trash-pile,.zone-pile)>strong{padding:1px 6px;border-radius:3px;background:rgb(0 0 0/.55);color:#f4f4f5}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .zone-title{color:#8f8f9a;letter-spacing:.14em}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .enemy-field .zone-title{color:#c58aa6}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .my-field .zone-title{color:#7dbfa9}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .sub-zone{background:var(--zone-2);border-radius:6px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .deck-back{border-radius:6px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-divider{background:#1d1d22;border:0;border-radius:6px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .turn-badge{padding:2px 7px;border-radius:3px;background:#facc15;color:#09090b;font-weight:800;letter-spacing:.06em}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .turn-timer{padding:2px 7px;border-radius:3px;background:var(--chip);color:#f4f4f5;font-variant-numeric:tabular-nums}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .turn-timer.turn-timer-urgent{background:#c2410c;color:#fff}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-center-guide strong{padding:2px 7px;border-radius:3px;background:color-mix(in srgb,#58c4a3 20%,transparent);color:#7dd8b9}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .turn-button{background:#58c4a3;background-image:none;border:0;border-radius:4px;color:#0b2a22;font-weight:800}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .turn-button:disabled{background:#2a2a30;color:#6d6d78}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout)>.desktop-battle-log{background:#19191d;border:0;border-radius:6px}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) :is(.desktop-battle-log,.header-log-panel) li.log-entry{background:#222227;border:0;border-left:3px solid #4a4a54;border-radius:4px;color:#c4c4cc}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) :is(.desktop-battle-log,.header-log-panel) li small{color:#7dd8b9}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) :is(.desktop-battle-log,.header-log-panel) li.log-play{border-left-color:#a78bfa}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) :is(.desktop-battle-log,.header-log-panel) li.log-effect{border-left-color:#a78bfa}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) :is(.desktop-battle-log,.header-log-panel) li.log-draw{border-left-color:#4fb3c4}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) :is(.desktop-battle-log,.header-log-panel) li.log-stats{border-left-color:#58c4a3}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) :is(.desktop-battle-log,.header-log-panel) li.log-attack{border-left-color:#f87171}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) :is(.desktop-battle-log,.header-log-panel) li.log-damage{border-left-color:#f87171}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) :is(.desktop-battle-log,.header-log-panel) li.log-move{border-left-color:#8b8b96}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) :is(.desktop-battle-log,.header-log-panel) li.log-reveal{border-left-color:#facc15}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) :is(.desktop-battle-log,.header-log-panel) li.log-stack{border-left-color:#facc15}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) :is(.desktop-battle-log,.header-log-panel) li.log-turn{border-left-color:#facc15}.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) :is(.desktop-battle-log,.header-log-panel) li.log-win{border-left-color:#58c4a3}.game-shell.replay-shell{position:relative}.match-shell:not(.preparation-shell).game-shell.replay-shell:has(.battle-layout)>.game-header{flex-wrap:nowrap;gap:6px}.match-shell:not(.preparation-shell).game-shell.replay-shell:has(.battle-layout)>.game-header>h2{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.match-shell:not(.preparation-shell).game-shell.replay-shell>.game-header>.replay-menu-toggle[aria-expanded=true]{background:var(--jade);color:#082521}.replay-menu-backdrop{position:fixed;inset:0;z-index:40}.replay-menu{position:absolute;top:52px;right:8px;left:8px;z-index:41;display:flex;flex-direction:column;gap:8px;max-width:640px;margin-left:auto;padding:10px;border:1px solid #48484f;border-radius:8px;background:rgb(28 28 32/.96);box-shadow:0 12px 32px rgb(0 0 0/.5);font-size:12px;color:#c4c4cc}.game-shell .replay-menu .replay-controls{padding:0;background:none}.replay-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.replay-share input{width:100%}.game-shell .attack-ban-band{position:absolute;left:0;right:0;bottom:6%;z-index:3;display:flex;align-items:center;justify-content:center;padding:2px 0;font-size:9px;font-weight:800;letter-spacing:.06em;line-height:1.2;color:#fff;white-space:nowrap;background:linear-gradient(90deg,transparent,#b3142ae6 15%,#b3142ae6 85%,transparent);pointer-events:none}.game-shell .battle-card.sealed>img{filter:brightness(.82)}.game-shell .sub-slot .reveal-tag{z-index:5}.game-shell .seal-chains{position:absolute;left:-6%;right:-6%;top:50%;height:8px;z-index:2;pointer-events:none;transform:translateY(-50%) rotate(-28deg);display:grid;place-items:center;background:repeating-linear-gradient(90deg,#d5dbe7 0 7px,#6b7488 7px 8px,transparent 8px 10px);border-radius:4px;box-shadow:0 1px 3px #000a}.game-shell .seal-chains>span{transform:rotate(28deg);padding:1px 5px;border-radius:6px;border:1px solid #c9d1e0;background:#1b2231f0;color:#fff;font-size:8px;font-weight:800;line-height:1.3;white-space:nowrap}.game-shell .status-chip.pending:after{content:"";position:absolute;top:-3px;right:-3px;width:8px;height:8px;border-radius:50%;background:#d8e0ee;box-shadow:0 0 0 2px #1b2231}.game-shell .seal-wait{position:absolute;left:50%;bottom:18%;z-index:2;transform:translateX(-50%);pointer-events:none}.game-shell .seal-wait>span{display:block;padding:1px 6px;border-radius:6px;border:1px dashed #c9d1e0;background:#1b2231e0;color:#d8e0ee;font-size:8px;font-weight:800;line-height:1.3;white-space:nowrap}.game-shell .card-counter{position:absolute;top:-11px;right:-11px;z-index:4;display:flex;flex-direction:column;align-items:center;pointer-events:none}.game-shell .card-counter b{--bh:30px;--bb:2px;min-width:30px;padding-inline:6px;border-radius:15px;font-size:17px;font-weight:900;line-height:1;font-variant-numeric:tabular-nums;color:#fff;background:linear-gradient(#ff5fd2,#c21f9a);border:2px solid #fff;box-shadow:0 0 0 2px #2a0622,0 0 12px #ff4fd8,0 3px 8px #000b;text-shadow:0 1px 2px #5b0647}.game-shell .card-counter small{margin-top:2px;padding:1px 4px;border-radius:5px;border:1px solid #ff8ae6;font-size:8px;font-weight:700;line-height:1.3;white-space:nowrap;color:#fff;background:#1a0b22f0}.game-shell .card-counter.zero b{background:linear-gradient(#5c6273,#3a3f4c);border-color:#aab0bf;box-shadow:0 0 0 2px #15171d,0 3px 8px #000b;text-shadow:none;color:#d7dbe4}.game-shell .card-counter.zero small{border-color:#6a7183;color:#b9bfcc}.game-shell .hand-card .card-counter{right:auto;left:50%;transform:translateX(-50%)}.game-shell .hand-card .card-counter small{display:none}.card-detail .card-detail-counter{display:flex;align-items:center;gap:6px;margin:15px 0 12px;color:var(--gold);font-size:13px;font-weight:700;line-height:20px}.card-detail-counter b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;font-size:12px;font-weight:900;line-height:1;color:#fff;background:linear-gradient(#ff5fd2,#c21f9a);border:1px solid #fff}.card-detail-counter.zero b{background:linear-gradient(#5c6273,#3a3f4c);border-color:#aab0bf;color:#d7dbe4}.game-shell .battle-card.counter-lit{box-shadow:0 0 0 2px #ff5fd2,0 0 16px #ff4fd855}.match-shell.game-shell .battle-card.playable:has(.card-counter),.match-shell:not(.preparation-shell).game-shell:has(.battle-layout) .battle-card.playable:has(.card-counter){outline-color:#ff5fd2;border-color:#ff5fd2;box-shadow:0 0 0 2px #ff5fd2,0 0 14px #ff4fd866;animation:pink-border-wave 2.2s ease-in-out infinite}@keyframes pink-border-wave{0%,to{filter:drop-shadow(0 0 2px #ff4fd855)}50%{filter:drop-shadow(0 0 7px #ff4fd8bb)}}@media (prefers-reduced-motion:reduce){.game-shell .battle-card.playable:has(.card-counter){animation:none}}.game-shell .status-chips{position:absolute;left:calc(100% + 24px);top:0;z-index:3;display:grid;grid-template-rows:repeat(3,30px);grid-auto-flow:column;grid-auto-columns:30px;gap:7px 10px}.game-shell .status-chip{--c:#d8e0ee;position:relative;display:grid;place-items:center;width:30px;height:30px;padding:0;border-radius:50%;border:2px solid #fff;color:#10131c;cursor:pointer;background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--c) 70%,#fff),var(--c) 55%,color-mix(in srgb,var(--c) 55%,#000));box-shadow:0 0 0 2px #0b0f1b,0 0 8px color-mix(in srgb,var(--c) 65%,transparent),0 2px 5px #000a}.game-shell .status-chip.opp{border-style:dashed}.game-shell .status-chip>svg{display:block;width:16px;height:16px;stroke-width:2.4}.game-shell .status-chip>b{position:absolute;right:-8px;bottom:-6px;--bh:16px;--bb:1.5px;min-width:18px;padding-inline:3px;border-radius:8px;border:1.5px solid var(--c);background:#0b0f1b;color:#fff;font-size:10px;font-weight:900;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}.game-shell .status-chip>.chip-tip{position:absolute;left:calc(100% + 12px);top:50%;transform:translateY(-50%);z-index:30;display:none;flex-direction:column;gap:3px;padding:6px 9px;border-radius:7px;background:#0c1222f5;border:1px solid var(--c);box-shadow:0 8px 20px #000c;color:#e8ecf6;font-size:11px;font-weight:600;line-height:1.35;text-align:left;white-space:nowrap;pointer-events:none}.game-shell .status-chips:focus-within,.game-shell .status-chips:hover{z-index:60}.game-shell .status-chip:focus-visible>.chip-tip{display:flex}@media (hover:hover) and (pointer:fine){.game-shell .status-chip:hover>.chip-tip{display:flex}}.game-shell .status-chip.more{--c:#8fa2d6;background:#1d2540;color:#fff}.game-shell .status-chip.static{cursor:default;flex:none}.modifier-list>div{grid-template-columns:30px minmax(110px,1fr) 2fr auto}.modifier-list small,.modifier-list strong{white-space:nowrap}@media (max-width:767px){.modifier-list>div{grid-template-columns:30px 1fr auto}.modifier-list>div>span{grid-column:2/-1}.modifier-list>div>small{grid-row:1;grid-column:3}.game-shell .status-chips{left:calc(100% + 18px);grid-template-rows:repeat(3,22px);grid-auto-columns:22px;gap:5px 8px}.game-shell .status-chip{width:22px;height:22px}.game-shell .status-chip>svg{width:12px;height:12px}.game-shell .status-chip>b{min-width:15px;--bh:13px;font-size:8px;right:-7px;bottom:-5px}.game-shell .card-counter b{min-width:22px;height:22px;font-size:13px}.game-shell .card-counter small{display:none}}.lobby-match-wait{display:grid;gap:6px;padding:16px;border:1px solid var(--ui-accent);border-radius:4px;background:var(--ui-panel-2)}.lobby-match-wait strong{display:flex;align-items:center;gap:8px;font-size:16px}.lobby-match-wait strong b{font-variant-numeric:tabular-nums;color:var(--ui-accent-text)}.lobby-match-wait>span{font-size:12px;line-height:1.5;color:var(--ui-muted)}.lobby-match-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:6px}.lobby-shell .lobby-match-actions button{min-height:40px;margin:0;padding:8px 14px;border-radius:4px}.match-chip-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--ui-accent);animation:match-pulse 1.4s ease-in-out infinite}@keyframes match-pulse{50%{opacity:.3}}@media (prefers-reduced-motion:reduce){.match-chip-dot{animation:none}}.game-shell .game-header .match-chip{display:inline-flex;align-items:center;gap:6px;min-height:36px;margin:0;padding:0 10px;border:1px solid color-mix(in srgb,currentColor 22%,transparent);border-radius:4px;background:transparent;color:inherit;font-size:12px;white-space:nowrap}.match-chip b{font-variant-numeric:tabular-nums}.match-chip-close{opacity:.6}@media (max-width:640px){.game-shell .game-header .match-chip{padding:0 8px}.match-chip .match-chip-close,.match-chip .match-chip-label{display:none}}.lobby-start{grid-template-columns:minmax(0,1fr)}.lobby-shell .lobby-match{display:grid;gap:4px;justify-content:start;justify-items:start;margin:0;padding:16px;border-radius:4px;text-align:left;white-space:normal}.lobby-shell .lobby-match strong{font-size:18px}.lobby-shell .lobby-match span{font-size:12px;opacity:.85}.lobby-invite{display:grid;gap:8px}.lobby-invite[open]>summary{margin-bottom:4px}.lobby-invite>summary{cursor:pointer;color:var(--ui-muted);font-size:13px;padding:6px 0;list-style-position:inside;border-radius:4px}.lobby-invite>summary:focus{outline:none}.lobby-invite>summary:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:2px}.lobby-invite .lobby-create{grid-template-columns:minmax(0,1fr)}.lobby-shell .lobby-invite .lobby-create button{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px}.lobby-shell .lobby-invite .lobby-create strong{font-size:13px;font-weight:600}.lobby-shell .lobby-invite .lobby-create button{background:transparent;border:1px solid var(--ui-accent-text);color:var(--ui-accent-text)}.lobby-shell .lobby-invite .lobby-create button:hover:not(:disabled){background:var(--ui-control)}.lobby-shell .lobby-invite .invite-form{padding-top:8px;border-top:1px solid var(--ui-line)}.lobby-shell .lobby-invite .invite-form label{font-size:12px;color:var(--ui-muted)}.choice-shade .dialog-panel :where(p,label):not(.muted){color:var(--pop-text)}.choice-shade .dialog-panel .muted{color:var(--pop-muted)}.choice-shade .dialog-panel{display:flex;flex-direction:column;width:100%;max-height:calc(100dvh - 32px);overflow:hidden;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-panel);color:var(--ui-text);box-shadow:0 24px 64px rgba(0,0,0,.4)}.choice-shade .dialog-sm{max-width:440px}.choice-shade .dialog-md{max-width:768px}.choice-shade .dialog-lg{max-width:1280px}.choice-shade .dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 16px 12px 20px;border-bottom:1px solid var(--ui-line)}.choice-shade .dialog-head h2{margin:0;font-size:18px;line-height:1.35;color:var(--ui-text);overflow-wrap:anywhere}.choice-shade .dialog-head .dialog-timer{flex:none;align-self:center;font:600 15px var(--font-ui);font-variant-numeric:tabular-nums;color:var(--ui-muted)}.choice-shade .dialog-head .dialog-timer.urgent{color:var(--btn-danger-ink,#e5484d)}.choice-shade .dialog-eyebrow{display:block;margin-bottom:2px;font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--ui-accent-text)}.choice-shade .dialog-head .dialog-close{flex:none;display:grid;place-items:center;width:36px;height:36px;min-height:36px;margin:-4px -4px 0 0;padding:0;border:0;border-radius:6px;background:transparent;color:var(--ui-muted)}.choice-shade .dialog-panel>.dialog-body{flex:1 1 auto;min-height:0;width:auto;max-width:none;height:auto;max-height:none;overflow-y:auto;margin:0;padding:16px 20px;position:static;transform:none;border:0;border-radius:0;background:none;box-shadow:none}.choice-shade .dialog-actions{display:flex;gap:8px;padding:12px 20px 16px;border-top:1px solid var(--ui-line);--bh:40px}.choice-shade .dialog-actions>:is(button,a){flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin:0;padding:8px 14px;border-radius:6px;font-weight:650;text-decoration:none;white-space:nowrap}.choice-shade .dialog-actions>a:not(.game-primary){background:var(--btn-secondary-bg);color:var(--btn-secondary-ink)}.choice-shade .dialog-actions:has(>:nth-child(3)){flex-direction:column}.choice-shade .dialog-body.choice-dialog{align-items:stretch}.choice-shade .dialog-body.choice-dialog,.choice-shade .dialog-body.game-result{display:flex;flex-direction:column;gap:10px;text-align:center}.choice-shade .dialog-body.modifier-detail,.choice-shade .dialog-body.pile-detail{display:flex;flex-direction:column}.choice-shade .dialog-panel>.dialog-body.card-detail{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}.choice-shade .dialog-body.card-detail>img{width:clamp(96px,30vw,140px);max-height:32dvh;margin:0 auto;border-radius:8px}@media (min-width:641px){.choice-shade .dialog-panel>.dialog-body.card-detail{grid-template-columns:200px minmax(0,1fr);gap:24px}.choice-shade .dialog-body.card-detail>img{width:100%;max-height:none;margin:0}}.choice-shade .dialog-body.card-detail h4:first-child{margin-top:0}.choice-shade button.game-danger,.game-shell .game-danger{border:1px solid var(--btn-danger-ink);background:transparent;color:var(--btn-danger-ink)}@media (hover:hover){.choice-shade .dialog-head .dialog-close:hover{background:var(--btn-secondary-bg);color:var(--ui-text)}.choice-shade .dialog-actions>a:not(.game-primary):hover{background:var(--btn-secondary-hover)}.choice-shade .dialog-actions button.game-danger:hover:not(:disabled){background:color-mix(in srgb,var(--btn-danger-ink) 12%,transparent)}}@media (max-width:640px){.choice-shade:has(>.dialog-panel){align-items:flex-end;padding:0}.choice-shade .dialog-panel{max-width:none;max-height:88dvh;border-bottom:0;border-radius:12px 12px 0 0;padding-bottom:env(safe-area-inset-bottom)}}body:has(.match-shell:not(.preparation-shell) .battle-layout){background:#202023}.game-shell .game-header.match-header,.game-shell.match-shell:not(.preparation-shell):has(.battle-layout)>.game-header.match-header{--hdr-btn-bg:var(--ui-control);--hdr-btn-ink:var(--ui-text);--hdr-menu-bg:var(--ui-panel);--hdr-line:var(--ui-line);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;flex-wrap:nowrap;justify-content:normal;position:relative;z-index:var(--z-page-header);min-height:40px;height:auto;font-size:12px}.game-shell.match-shell:not(.preparation-shell):has(.battle-layout)>.game-header.match-header{--hdr-btn-bg:#303034;--hdr-btn-ink:#ededf0;--hdr-menu-bg:#26262b;--hdr-line:#414146}.match-header .match-header-start{justify-self:start;display:flex;min-width:0}.match-header .match-header-center{justify-self:center;display:flex;align-items:center;gap:8px;min-width:0}.match-header .match-header-end{justify-self:end;display:flex;align-items:center;gap:6px;position:relative}.game-shell .match-header .header-battle-log>summary,.game-shell .match-header .match-header-end>button,.game-shell .match-header .match-header-start>a{display:inline-flex;align-items:center;gap:6px;min-height:32px;margin:0;padding:0 10px;border:0;border-radius:4px;background:var(--hdr-btn-bg);color:var(--hdr-btn-ink);font-size:12px;white-space:nowrap}.game-shell .game-header.match-header,.game-shell.match-shell:not(.preparation-shell):has(.battle-layout)>.game-header.match-header{box-sizing:border-box;flex:0 0 68px;height:68px;min-height:68px;padding-block:0;font-size:13px;width:100vw;max-width:none;margin-inline:calc(50% - 50vw);padding-inline:max(var(--page-gutter),calc((100vw - 1280px) / 2))}.game-shell .match-header .header-battle-log>summary,.game-shell .match-header .match-header-end>button,.game-shell .match-header .match-header-start>a{min-height:36px;padding:0 12px;font-size:13px}.game-shell .match-header .match-header-menu-toggle{width:36px;padding:0;justify-content:center}.replay-menu{top:74px}@media (max-width:767px){.replay-menu{top:44px}.game-shell .game-header.match-header,.game-shell.match-shell:not(.preparation-shell):has(.battle-layout)>.game-header.match-header{flex-basis:40px;height:40px;min-height:40px;font-size:12px}.game-shell .match-header .header-battle-log>summary,.game-shell .match-header .match-header-end>button,.game-shell .match-header .match-header-start>a{min-height:32px;height:32px;padding:0 8px;font-size:12px}.game-shell .match-header .match-header-menu-toggle{width:32px;padding:0}}.game-shell .match-header .match-header-center .player-pill{margin:0;min-height:32px;padding:0 12px;border-radius:4px;font-size:12px;white-space:nowrap}.match-header .match-header-backdrop{position:fixed;inset:0;z-index:1;background:transparent}.match-header .match-header-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:2;display:flex;flex-direction:column;gap:6px;width:232px;padding:10px;border:1px solid var(--hdr-line);border-radius:6px;background:var(--hdr-menu-bg);color:var(--hdr-btn-ink);box-shadow:0 12px 32px rgb(0 0 0/.35)}.match-header .match-header-menu[hidden]{display:none}.match-header .match-header-menu-info{display:flex;flex-direction:column;gap:2px;padding:2px 4px 6px;border-bottom:1px solid var(--hdr-line);font-size:12px}.match-header .match-header-menu .room-code{display:inline;color:inherit;opacity:.7;letter-spacing:.5px}.match-header .match-header-menu-settings{display:flex;flex-direction:column;gap:6px}.match-header .match-header-menu-settings:empty{display:none}.game-shell .match-header .match-header-menu-settings>button,.game-shell .match-header .match-header-menu>button{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-height:36px;margin:0;padding:0 10px;border:0;border-radius:4px;background:var(--hdr-btn-bg);color:var(--hdr-btn-ink);font-size:12px}.game-shell .match-header .match-header-end>button.game-danger{background:transparent;box-shadow:inset 0 0 0 1px var(--btn-danger-ink);color:var(--btn-danger-ink)}.game-shell .match-header .match-header-menu-settings>.effects-control>span{margin-right:auto}.sound-toggle .sound-label{display:none}.match-header .match-header-menu .sound-toggle .sound-label{display:inline}.match-header .header-battle-log{z-index:auto}.match-header .header-log-panel{z-index:2}@media (min-width:1280px){.match-header .header-battle-log{display:none}}.match-shell:has(.pixi-board) .match-header .header-battle-log{display:block}.match-shell:has(.pixi-board)>.desktop-battle-log{display:none!important}.match-shell:has(.pixi-board) .header-log-panel{box-sizing:border-box;top:80px;right:max(var(--page-gutter),calc((100vw - 1280px) / 2));width:min(480px,calc(100vw - 2 * var(--page-gutter)))}@media (max-width:767px){.match-shell:has(.pixi-board) .header-log-panel{top:48px}}@media (max-width:640px){.game-shell .match-header .match-header-end{gap:6px}.game-shell .match-header .header-battle-log>summary,.game-shell .match-header .match-header-end>button{box-sizing:border-box;height:32px;min-height:32px}.game-shell .match-header .header-battle-log>summary{width:32px;padding:0;gap:0;justify-content:center;font-size:0}.game-shell .match-header .header-battle-log>summary svg{display:block;flex:none;width:16px;height:16px}}.match-header .match-header-menu-info:last-child{padding-bottom:2px;border-bottom:0}.game-shell.replay-shell>.game-header.match-header{--hdr-btn-bg:#303034;--hdr-btn-ink:#ededf0;--hdr-menu-bg:#26262b;--hdr-line:#414146}.game-shell .replay-header .match-header-center h2{margin:0;font-size:14px;white-space:nowrap}.game-shell .replay-header .match-header-end>button:disabled{opacity:.45}@media (max-width:640px){.game-shell .replay-header .match-header-center h2{font-size:12px}}.replay-menu[hidden]{display:none}.replay-menu .replay-menu-settings{display:flex;flex-direction:column;gap:6px}.replay-menu .replay-menu-settings:empty{display:none}.replay-menu .replay-menu-settings .sound-label{display:inline}.replay-menu .replay-menu-settings>button,.replay-menu .replay-share>button{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-height:36px;margin:0;padding:0 12px;border:0;border-radius:6px;background:var(--ui-control);color:var(--ui-text);font-size:13px}.replay-menu .replay-menu-settings>button:hover:not(:disabled),.replay-menu .replay-share>button:hover:not(:disabled){background:var(--ui-control-hover)}.replay-menu-info{display:flex;flex-direction:column;gap:2px;padding:2px 4px 8px;border-bottom:1px solid var(--ui-line)}.replay-menu-info strong{font-size:13px;color:var(--ui-text)}.replay-menu-info span{opacity:.7;letter-spacing:.5px}.replay-menu-info small,.replay-share small{font-size:11px;color:var(--ui-muted)}.replay-menu .replay-share{flex-direction:column;align-items:stretch;gap:6px;padding-top:8px;border-top:1px solid var(--ui-line)}.game-shell .replay-header .match-header-end>button,.game-shell .replay-header .match-header-start>a{height:44px;min-height:44px}.game-shell .replay-header .match-header-menu-toggle{width:44px}@media (max-width:767px){.game-shell.match-shell.replay-shell:not(.preparation-shell)>.game-header.match-header.replay-header{flex-basis:52px;height:52px;min-height:52px}.replay-menu{top:56px}}.replay-bar{position:fixed;left:0;right:0;bottom:0;z-index:var(--z-page-header);gap:10px;padding:8px max(var(--page-gutter),env(safe-area-inset-right),calc((100vw - 1280px) / 2)) calc(8px + env(safe-area-inset-bottom)) max(var(--page-gutter),env(safe-area-inset-left),calc((100vw - 1280px) / 2));border-top:1px solid var(--ui-line);background:color-mix(in srgb,var(--ui-panel) 94%,transparent);backdrop-filter:blur(8px);color:var(--ui-text)}.replay-bar,.replay-bar-steps{display:flex;align-items:center}.replay-bar-steps{gap:4px}.game-shell .replay-bar button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:6px;background:var(--ui-control);color:var(--ui-text)}.game-shell .replay-bar button:hover:not(:disabled){background:var(--ui-control-hover)}.game-shell .replay-bar button:disabled{opacity:.4}.game-shell .replay-bar .replay-play{width:52px;background:var(--ui-accent);color:var(--ui-accent-ink)}.game-shell .replay-bar .replay-play:hover:not(:disabled){background:var(--ui-accent-hover)}.replay-bar input[type=range]{flex:1 1 auto;min-width:0;accent-color:var(--ui-accent)}.replay-bar .replay-turn{flex:none;min-width:40px;font-size:13px;font-weight:600;text-align:center;font-variant-numeric:tabular-nums}.replay-bar select{flex:none;height:44px;padding:0 8px;border:0;border-radius:6px;background:var(--ui-control);color:var(--ui-text);font-size:13px}@media (max-width:640px){.replay-bar{flex-wrap:wrap;gap:8px}.replay-bar input[type=range]{order:-2;flex:1 1 calc(100% - 48px)}.replay-bar .replay-turn{order:-1}.replay-bar-steps{margin-right:auto}.game-shell.replay-shell>.game-header.match-header{grid-template-columns:auto minmax(0,1fr) auto}.game-shell .replay-header .match-header-center{display:none}.game-shell .replay-header .match-header-end{grid-column:3}}.lobby-shell .replay-tabs{display:flex;gap:4px;margin:0 0 var(--workflow-gap);padding:4px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-track)}.lobby-shell .replay-tabs button[role=tab]{flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:44px;min-height:44px;margin:0;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--ui-muted);font-size:14px;font-weight:600}.lobby-shell .replay-tabs button[role=tab] span{font-size:12px;opacity:.7}.lobby-shell .replay-tabs button[role=tab].active{background:var(--ui-panel);color:var(--ui-text)}@media (hover:hover){.lobby-shell .replay-tabs button[role=tab]:not(.active):hover:not(:disabled){background:var(--ui-panel-2);color:var(--ui-text)}.lobby-shell .replay-tabs button[role=tab].active:hover:not(:disabled){background:var(--ui-panel)}}.lobby-shell .room-options{display:grid;gap:8px;padding:12px 0}.lobby-shell .room-option{display:grid;grid-template-columns:56px 1fr;align-items:center;gap:8px}.lobby-shell .room-option>span{font-size:13px;font-weight:600;color:var(--ui-muted)}.lobby-shell .room-option-choices{display:flex;gap:4px;padding:4px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-track)}.lobby-shell .room-option-choices button[aria-pressed]{flex:1 1 0;height:34px;min-height:34px;margin:0;padding:0 8px;border:0;border-radius:7px;background:transparent;color:var(--ui-muted);font-size:13px;font-weight:600}.lobby-shell .room-option-choices button[aria-pressed=true]{background:var(--ui-panel);color:var(--ui-text)}@media (hover:hover){.lobby-shell .room-option-choices button[aria-pressed=false]:hover{background:var(--ui-panel-2);color:var(--ui-text)}}.lobby-shell .lobby-start .lobby-create{grid-template-columns:1fr}.match-shell .battle-layout.reveal-focus:after{content:"";position:absolute;inset:0;z-index:30;background:rgb(0 0 0/.6);pointer-events:none}.match-shell .battle-layout.reveal-focus .battle-divider,.match-shell .battle-layout.reveal-focus .my-field{position:relative;z-index:31}.match-shell .battle-layout .reveal-callout{position:absolute;left:50%;top:50%;z-index:32;transform:translate(-50%,-50%);padding:8px 14px;border-radius:6px;background:rgb(12 26 22/.92);box-shadow:0 0 0 1px var(--jade),0 8px 24px rgb(0 0 0/.5);color:var(--jade);font-size:14px;font-weight:800;white-space:nowrap;pointer-events:none}@media (max-width:767px){.match-shell .battle-layout .reveal-callout{font-size:12px;padding:6px 10px}}.match-shell .battle-layout.reveal-focus .hand-area{filter:brightness(.4)}.match-shell .battle-layout.reveal-focus .my-field:after{content:"";position:absolute;inset:0;z-index:30;border-radius:inherit;background:rgb(0 0 0/.6);pointer-events:none}.match-shell .battle-layout.reveal-focus .my-field .sub-zone{position:relative;z-index:31}.match-shell .battle-layout.reveal-focus .my-field .sub-unrevealed .battle-card{box-shadow:0 0 0 2px var(--jade),0 0 18px rgb(94 196 160/.55);animation:reveal-pulse 1.4s ease-in-out infinite}@keyframes reveal-pulse{50%{box-shadow:0 0 0 2px var(--jade),0 0 6px rgb(94 196 160/.25)}}@media (prefers-reduced-motion:reduce){.match-shell .battle-layout.reveal-focus .my-field .sub-unrevealed .battle-card{animation:none}}.preparation-shell .deck-pick{display:flex;gap:14px;overflow-x:auto;padding:10px 2px 14px;scroll-snap-type:x mandatory;overscroll-behavior-x:contain}.preparation-shell .deck-pick-card{flex:0 0 clamp(132px,36vw,172px);display:grid;gap:10px;padding:4px 8px 0 0;border:0;background:none!important;box-shadow:none!important;color:inherit;text-align:left;cursor:pointer;scroll-snap-align:start;-webkit-tap-highlight-color:transparent}.preparation-shell .deck-pick-art{position:relative;display:block;aspect-ratio:5/7;overflow:hidden;border-radius:7px 7px 9px 9px;background:#15171c;box-shadow:3px 3px 0 #2b303b,3px 3px 0 1px #0002,0 12px 24px #0003;transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s ease}.preparation-shell .deck-pick-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 30%;transform:scale(1.55);transform-origin:50% 32%}.preparation-shell .deck-pick-art:before{content:"";position:absolute;inset:0 0 auto;z-index:1;height:11%;background:linear-gradient(#0b0d12e6,#0b0d12b3);box-shadow:0 1px 0 #ffffff2e,0 2px 6px #0006;-webkit-mask:radial-gradient(14px 9px at 50% 100%,transparent 98%,#000);mask:radial-gradient(14px 9px at 50% 100%,transparent 98%,#000)}.preparation-shell .deck-pick-art:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#0b0d12f2 78%)}.preparation-shell .deck-pick-art strong{position:absolute;left:11px;right:11px;bottom:10px;z-index:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#fff;font-size:14px;font-weight:800;line-height:1.3;letter-spacing:-.2px;text-shadow:0 1px 4px #000a}.preparation-shell .deck-pick-art i{position:absolute;top:14%;right:8px;z-index:3;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--btn-primary-bg);color:var(--btn-primary-ink);font-style:normal;font-size:13px;font-weight:800;box-shadow:0 2px 6px #0005;animation:deck-pick-check .2s cubic-bezier(.2,.8,.2,1)}@keyframes deck-pick-check{0%{transform:scale(.4);opacity:0}}.preparation-shell .deck-pick-card small{padding:0 2px;background:none;font-size:12px;color:#8a8a96;font-variant-numeric:tabular-nums}.preparation-shell .deck-pick-card:hover .deck-pick-art{transform:translateY(-3px)}.preparation-shell .deck-pick-card.selected .deck-pick-art{transform:translateY(-3px);box-shadow:0 0 0 2px var(--btn-primary-bg),3px 3px 0 2px #2b303b,0 14px 28px #0004}.preparation-shell .deck-pick-card.blocked .deck-pick-art img{filter:grayscale(1);opacity:.55}.preparation-shell .deck-pick-card.blocked small{color:#d05454}@media (prefers-reduced-motion:reduce){.preparation-shell .deck-pick-art,.preparation-shell .deck-pick-art i{transition:none;animation:none}}.match-shell .choice-shade{padding-top:calc(var(--game-header-bottom, 0px) + 16px)}.match-shell .choice-shade .dialog-panel{max-height:100%}@keyframes web-dialog-sheet-in{0%{transform:translateY(32px);opacity:0}}@keyframes web-dialog-sheet-out{to{transform:translateY(32px);opacity:0}}@media (max-width:640px){.match-shell .choice-shade{align-items:flex-end;padding:var(--game-header-bottom,0) 0 0}.match-shell .choice-shade .dialog-panel{max-width:none;border-bottom:0;border-radius:12px 12px 0 0;padding-bottom:env(safe-area-inset-bottom);max-height:min(100%,64dvh)}.match-shell .choice-shade[open]>.dialog-panel{animation-name:web-dialog-sheet-in}.match-shell .choice-shade.web-dialog-closing>.dialog-panel{animation-name:web-dialog-sheet-out}}.match-shell:not(.preparation-shell){color-scheme:dark;--ui-panel:#1c2126;--ui-panel-2:#252b31;--ui-track:#161a1e;--ui-control:#313840;--ui-control-hover:#3c444d;--ui-line:#343c44;--ui-text:#e9eef0;--ui-soft:#d0d8dc;--ui-muted:#9fabb2;--ui-accent:#58c4a3;--ui-accent-hover:#6fd3b4;--ui-accent-ink:#0b2a22;--ui-accent-text:#7dd8b9;--btn-danger-ink:#ff8f86;--result-tone:#e8b4c4;--btn-primary-bg:var(--ui-accent);--btn-primary-hover:var(--ui-accent-hover);--btn-primary-ink:var(--ui-accent-ink);--btn-secondary-bg:var(--ui-control);--btn-secondary-hover:var(--ui-control-hover);--btn-secondary-ink:var(--ui-text);--pop-bg:var(--ui-panel);--pop-text:var(--ui-text);--pop-muted:var(--ui-muted);--pop-line:var(--ui-line);--pop-accent:var(--ui-accent);--pop-danger:var(--btn-danger-ink);--pop-shadow:0 12px 32px rgba(0,0,0,.5)}.tutorial-coach{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:16px;border:0;display:grid;place-items:center;background:rgba(4,8,12,.95);color:#f2f6f8}.tutorial-coach::backdrop{background:transparent}.tutorial-coach.holes{background:transparent;padding-bottom:16vh}.tutorial-coach-shade{position:fixed;inset:0;width:100vw;height:100dvh}.tutorial-coach.holes .tutorial-coach-card{position:relative}.tutorial-coach-card{width:min(520px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:8px;text-align:center}.tutorial-coach-eyebrow{display:block;margin-bottom:8px;color:#6ae3bf;font-size:12px;font-weight:700;letter-spacing:.08em}.tutorial-coach h2{margin:0 0 16px;font-size:30px;font-weight:800;line-height:1.3}.tutorial-coach h2,.tutorial-coach p{word-break:keep-all;text-wrap:balance}.tutorial-coach p{margin:0 0 6px;color:#c9d3d8;font-size:20px;line-height:1.55}.tutorial-coach p strong{color:#fff;font-weight:800;background:linear-gradient(transparent 60%,rgba(106,227,191,.35) 0)}@media (max-width:767px){.tutorial-coach h2{font-size:24px}.tutorial-coach p{font-size:17px}}.tutorial-coach-cards{display:flex;justify-content:center;gap:12px;margin:0 0 16px}.tutorial-coach-card.wide{width:min(640px,100%)}.tutorial-coach-cards figure{flex:1 1 0;max-width:min(190px,calc(28vh * 800 / 1117));margin:0}.tutorial-coach-cards figcaption{margin-top:6px;color:#6ae3bf;font-size:14px;font-weight:700;word-break:keep-all}.tutorial-coach-face{position:relative;aspect-ratio:800/1117}.tutorial-coach-face img{display:block;width:100%;height:100%;border-radius:6px}.tutorial-coach-face i{position:absolute;border-radius:4px}.tutorial-coach-face .upper{left:5.9%;top:64.6%;width:88.1%;height:11.5%;background:rgba(4,8,12,.7)}.tutorial-coach-face .active{left:5.9%;top:76.5%;width:88.1%;height:11.6%;box-shadow:0 0 0 2px #6ae3bf,0 0 12px 2px rgba(106,227,191,.5)}.tutorial-coach-face .cost{left:5.8%;top:76.8%;width:10.8%;height:9.8%;border-radius:50%;box-shadow:0 0 0 3px #ffd84a,0 0 14px 4px rgba(255,216,74,.7)}.tutorial-coach-face .upper.ring{background:none;box-shadow:0 0 0 2px #6ae3bf,0 0 12px 2px rgba(106,227,191,.5)}.tutorial-coach-face .lower{left:5.9%;top:76.5%;width:88.1%;height:11.6%;background:rgba(4,8,12,.7)}.tutorial-coach-face .tutorial-coach-zoom{position:absolute;z-index:1;left:50%;top:70.35%;width:min(520px,calc(100vw - 56px));aspect-ratio:705/128;border-radius:6px;background-repeat:no-repeat;background-size:113.5% 869.6%;background-position:49.6% 73%;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #6ae3bf,0 0 18px 4px rgba(106,227,191,.55),0 10px 30px rgba(0,0,0,.6);animation:tutorial-zoom .3s ease-out both}.tutorial-coach-face .tutorial-coach-zoom.lower-box{top:82.3%;aspect-ratio:705/130;background-size:113.5% 862%;background-position:49.6% 86.5%}@keyframes tutorial-zoom{0%{transform:translate(-50%,-50%) scale(.32)}}@media (prefers-reduced-motion:reduce){.tutorial-coach-face .tutorial-coach-zoom{animation:none}}.tutorial-coach-face .power{left:80.2%;top:4.6%;width:14%;height:11%;box-shadow:0 0 0 3px #ffd84a,0 0 14px 4px rgba(255,216,74,.7)}@media (max-width:767px){.tutorial-coach-cards{gap:8px}.tutorial-coach-cards figcaption{font-size:12px}}.tutorial-coach button{margin-top:18px;min-width:140px;min-height:44px;padding:0 20px;border:0;border-radius:10px;background:#6ae3bf;color:#06231c;font-size:18px;font-weight:800;cursor:pointer}.tutorial-spot{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;overflow:visible;background:transparent;pointer-events:none}.tutorial-spot-hole{position:fixed;border-radius:10px;box-shadow:0 0 0 200vmax rgba(4,8,12,.8),0 0 0 2px #6ae3bf,0 0 18px 4px rgba(106,227,191,.55)}.tutorial-spot-hole:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 3px #6ae3bf,0 0 26px 8px rgba(106,227,191,.7);opacity:0;will-change:opacity;animation:tutorial-pulse 1.4s ease-in-out infinite}.tutorial-spot-label{position:fixed;width:max-content;max-width:min(320px,calc(100vw - 24px));padding:8px 12px;border-radius:8px;background:#6ae3bf;color:#06231c;font-size:16px;font-weight:800;text-align:center;word-break:keep-all}.tutorial-spot-label small{display:block;font-size:11px;font-weight:700;color:#7a1f1f}.tutorial-spot-label.blocked{animation:tutorial-shake .3s ease}@keyframes tutorial-pulse{50%{opacity:1}}@keyframes tutorial-shake{25%{margin-left:-6px}75%{margin-left:6px}}@media (prefers-reduced-motion:reduce){.tutorial-spot-hole:after,.tutorial-spot-label.blocked{animation:none;transition:none}}.tutorial-spot-hole.area{box-shadow:0 0 0 200vmax rgba(4,8,12,.8)}.tutorial-spot-hole.area:after,.tutorial-spot-hole.coin:after{display:none}.tutorial-spot-hole.ring{box-shadow:0 0 0 2px #6ae3bf,0 0 18px 4px rgba(106,227,191,.55)}.tutorial-spot-hole.ring.coin{box-shadow:0 0 0 3px #ffd84a,0 0 16px 4px rgba(255,216,74,.7)}.tutorial-spot-hole.round{border-radius:50%}.tutorial-spot-label{white-space:pre-line}.tutorial-coach p:empty{height:.5em;margin:0}