:root{color:#f4ece2;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;--gold:#e1bc77;--primary-action-border:#b78bd39c;--menu-padding:20px;--menu-width:calc(6 * 84px + 5 * 8px + 2 * var(--menu-padding) + 2px);--spell-ratio:1.6;--poker-ratio:1.4;--poker-width:76px;--poker-height:calc(var(--poker-width) * var(--poker-ratio));--card-width:150px;--spell-hand-scale:1.13;--topbar-height:30px;background:#19131c;font-family:Inter,system-ui,sans-serif}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:1px solid var(--primary-action-border);color:#ecdef6;background:0 0;border-radius:6px;padding:9px 14px;transition:filter .15s}button:hover:enabled{filter:brightness(1.15)}button:disabled{cursor:default;opacity:.45}button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline-offset:3px;outline:3px solid #ffdb7e}input{color:#fff;background:#201d27;border:1px solid #777080;border-radius:7px;min-width:0;padding:12px}input[type=range]{accent-color:var(--gold);width:100%;padding:0}.secondary,.quiet{color:#e2d9d1;background:#ffffff12;border-color:#0000}.quiet{padding:6px 10px}small{font-size:.8em}h1,h2,p{margin-top:0}h2{font-size:22px}button small{display:block}label{color:#c7bccb;display:block}.player-nickname{white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom;unicode-bidi:isolate;max-width:100%;max-height:1.5em;line-height:1.5;display:inline-block;overflow:hidden}.nickname-input{white-space:nowrap;text-overflow:ellipsis;unicode-bidi:isolate;width:100%;max-width:100%;height:48px;padding:10px 12px;line-height:24px;overflow:hidden}.entrance{background:#241e2bea;border:1px solid #5b4256;border-radius:18px;width:min(480px,100% - 32px);margin:10vh auto;padding:36px;box-shadow:0 24px 90px #0006}.entrance h1{letter-spacing:-2px;margin:8px 0 20px;font-size:46px}.entrance p{color:#d4c7d0}.entrance form{gap:12px;display:grid}.nickname-screen{padding:24px 32px}.nickname-screen h1{letter-spacing:-1px;margin:0 0 20px;font-size:30px}.nickname-error{color:#efb391;overflow-wrap:anywhere;margin:0}.main-menu h1{text-align:center;margin-bottom:32px}.main-menu-actions{gap:24px;display:grid}.main-menu-actions>button{width:100%;min-height:50px}.main-menu-actions>button:disabled{justify-content:center;align-items:center;gap:10px;display:flex}.main-menu-actions>button small{font-size:12px}.friends-menu{margin:6vh auto}.friends-menu,.play-menu,.lobby{width:min(var(--menu-width),calc(100% - 32px));padding:var(--menu-padding)}.submenu-header{align-items:center;gap:14px;margin-bottom:28px;display:flex}.submenu-header h1{letter-spacing:-1px;margin:0;font-size:30px;line-height:1.2}.menu-back{border:0;flex-shrink:0;place-items:center;width:44px;height:44px;margin-right:8px;padding:0;display:grid}.menu-back svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}.play-menu{color:#f4ece2;background:#241e2b;border:1px solid #5b4256;border-radius:10px;margin:0 auto 24px}.play-mode-browser{grid-template-columns:56px minmax(0,1fr);align-items:start;width:100%;display:grid}.play-mode-tabs{z-index:1;display:grid;position:relative}.play-mode-tab{color:#d4c7d0;background:#302536;border:1px solid #77647d70;border-radius:6px 0 0 6px;place-items:center;width:57px;height:56px;padding:7px;display:grid}.play-mode-tab+.play-mode-tab{margin-top:-1px}.play-mode-tab[aria-selected=true]{z-index:1;background:#493845;border-color:#e1bc77;box-shadow:inset 0 0 12px #e1bc771a}.play-mode-tab:hover:enabled{filter:none;background:#493845}.play-mode-tab:disabled{opacity:1;background:#29242e}.play-mode-tab:disabled .play-mode-icon{filter:grayscale();opacity:.4}.play-mode-icon{background-position:50%;background-repeat:no-repeat;background-size:contain;width:40px;height:40px}.play-mode-icon-duel{background-image:url(/assets/duel-v1-CUF1NVOL.png)}.play-mode-icon-four{background-image:url(/assets/four-v1-ClotuICv.png)}.play-mode-icon-arena{background-image:url(/assets/arena-v1-JFm0iROb.png)}.play-mode-panels{min-width:0}.play-mode{aspect-ratio:488/350;isolation:isolate;color:#f4ece2;background:radial-gradient(at 50% 30%,#214c3f,#261c25 75%);border:1px solid #77647d70;border-radius:0 9px 9px;width:100%;min-width:0;display:block;position:relative;overflow:hidden}.play-mode[hidden]{display:none}.play-mode-art{z-index:-2;background-position:top;background-repeat:no-repeat;background-size:100% 100%;position:absolute;inset:0 0 -30px}.play-mode-duel .play-mode-art{background-image:url(/assets/duel-concept-v2-BBgxaQD4.png)}.play-mode-four .play-mode-art{background-image:url(/assets/four-concept-v2-CQLxeQp2.png)}.play-mode:after{z-index:-1;content:"";background:linear-gradient(#0000 0%,#17111c18 20%,#17111c70 42%,#17111ccc 78%,#17111cf5 100%);position:absolute;inset:0}.play-mode-content{text-align:left;gap:8px;display:grid;position:absolute;bottom:20px;left:20px;right:20px}.play-mode-players{color:#e1bc77;letter-spacing:1.5px;text-transform:uppercase;font-size:12px;font-weight:600}.play-mode-content>strong{letter-spacing:-.7px;font-size:36px;font-weight:650;line-height:1.1}.play-mode-description{color:#d4c7d0;text-wrap:balance;max-width:48ch;min-height:3em;font-size:14px;line-height:1.5}.play-deck-selection .deck-selector-control,.lobby .deck-selector-control{width:100%;max-width:none;margin-left:0}.play-deck-selection{gap:24px;margin-top:24px;display:grid}.play-search-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:0;display:flex}.play-search-actions button{min-height:44px}.search-wait{text-align:center;padding:32px 0 16px}.search-wait h2{margin-top:24px}.search-wait p{color:#c7bccb;line-height:1.5}.search-elapsed,.search-players{justify-content:center;align-items:baseline;gap:12px;display:flex}.search-elapsed strong,.search-players strong{font-variant-numeric:tabular-nums;color:#e1bc77;font-size:24px}.search-deck{justify-content:center;align-items:center;gap:10px;display:flex}.search-deck>span:last-child{overflow-wrap:anywhere;min-width:0}.search-class,.search-class img{object-fit:contain;flex:none;width:32px;height:32px;display:block}.search-orbit{border:3px solid #ffffff12;border-top-color:#e1bc77;border-radius:50%;width:42px;height:42px;margin:auto;animation:1.5s linear infinite search-spin;display:block}@keyframes search-spin{to{transform:rotate(360deg)}}.matched-preparation{max-width:640px}.matched-preparation h1{font-size:28px}.matched-preparation ul{margin:24px 0;padding:0;list-style:none}.matched-preparation li{border-bottom:1px solid #ffffff12;grid-template-columns:1fr auto;gap:6px 16px;padding:14px 0;display:grid}.matched-preparation li small{color:#c7bccb;grid-column:1/-1}@media (prefers-reduced-motion:reduce){.search-orbit{border-color:#e1bc77;animation:none}}@media (width<=620px){.play-mode-content>strong{font-size:30px}}@media (width<=480px){.play-mode{aspect-ratio:1}.play-mode-art{inset:0}}.friends-menu .friends-form{gap:24px}.room-options{grid-template-columns:1fr;gap:24px;display:grid}.room-option{background:#ffffff08;border:0;border-radius:12px;gap:20px;min-width:0;padding:24px;display:grid}.room-option-heading{gap:8px;display:grid}.room-option h2{margin:0;font-size:21px}.room-option p{margin:0;font-size:14px;line-height:1.5}.room-option-detail{color:#bfb2c2;gap:8px;font-size:14px;line-height:1.5;display:grid}.room-option-detail input{text-transform:uppercase;letter-spacing:1px;width:100%}.room-option>button{width:100%;min-height:44px;margin:0}.room-option>.room-join-active{border-color:var(--gold);color:#ffe0a0;box-shadow:0 0 14px #e1bc7726}.room-option>.room-join-active:hover,.room-option>.room-join-active:focus-visible{border-color:#ffe0a0;box-shadow:0 0 18px #e1bc7740}.room-invitation{gap:10px;margin:20px 0;display:grid}.room-invitation label{color:#d4c7d0;font-size:14px;line-height:1.5}.room-invitation-control{background:#ffffff12;border-radius:7px;min-width:0;display:flex;position:relative}.room-invitation input{color:#e2d9d1;text-overflow:ellipsis;background:0 0;border:0;border-radius:7px 0 0 7px;flex:1;width:100%;min-width:0;height:44px;font-size:13px}.room-invitation button{background:0 0;border:0;border-radius:0 7px 7px 0;flex-shrink:0;place-items:center;width:44px;height:44px;margin:0;padding:0;display:grid}.room-invitation button:hover:enabled{background:#ffffff09}.room-copy-feedback{z-index:2;color:#f4ece2;pointer-events:none;background:#403248;border-radius:7px;max-width:100%;padding:8px 12px;font-size:13px;line-height:1.4;position:absolute;bottom:calc(100% + 8px);right:0;box-shadow:0 4px 16px #0005}@media (width<=640px){.room-option{padding:20px}.submenu-header h1{font-size:25px}.submenu-header{gap:10px;margin-bottom:22px}}.join{border-top:1px solid #5b4256;gap:12px;margin-top:18px;padding-top:18px;display:grid}.lobby .deck-picker{gap:24px;margin-top:24px;padding-top:24px}.play-deck-selection .deck-class-control,.lobby .deck-class-control{min-width:0;overflow-x:auto}.play-deck-selection .class-menu,.lobby .class-menu{flex-wrap:nowrap}.lobby>ul{padding:0;list-style:none}.lobby>ul>li{padding:15px 0}.lobby>ul>li+li{border-top:1px solid #ffffff15}.lobby>ul>li span{color:#bfb2c2;font-size:13px;display:block}.lobby [data-resource-start-hint]:empty{display:none}.lobby-actions{justify-content:flex-end;margin-top:24px;display:flex}.lobby-actions>button{min-height:44px;margin:0}.lobby select{width:100%;font:inherit;color:#fff;background:#201d27;border:1px solid #777080;border-radius:7px;margin:8px 0;padding:12px}.deck-note{font-size:13px}.turn-notice{z-index:90;pointer-events:none;color:#fff0c3;text-shadow:0 2px 3px #09060c,0 0 5px #09060c,0 0 12px #09060c,0 0 8px #f8d27c;font-size:32px;font-weight:700;animation:4.2s ease-out both turn-notice-in;position:absolute;top:72px;left:50%;transform:translate(-50%)}.turn-notice.opponent-turn{color:#e1d9ed;text-shadow:0 2px 3px #09060c,0 0 5px #09060c,0 0 12px #09060c,0 0 9px #bca8ce77;font-size:30px}@keyframes turn-notice-in{0%{opacity:0;transform:translate(-50%,8px)}10%,85%{opacity:1;transform:translate(-50%)}to{opacity:0}}.turn-notice.blind-increase{color:#ffe09a;animation-name:blind-notice-in}@keyframes blind-notice-in{0%,to{opacity:0}10%,30%,50%,70%,85%{opacity:1}20%,40%,60%{opacity:.45}}@media (prefers-reduced-motion:reduce){.turn-notice{animation:none}}.notifications{top:76px;right:max(16px, env(safe-area-inset-right));z-index:200;pointer-events:none;gap:10px;width:min(360px,100% - 32px);max-height:calc(100dvh - 92px);display:grid;position:fixed;overflow-y:auto}.game-shell>.notifications{top:calc(var(--topbar-height) + 16px)}.notification{color:#eee1f4;overflow-wrap:anywhere;pointer-events:auto;background:#302438;border:1px solid #77647d70;border-radius:8px;padding:16px 48px 16px 16px;font-size:14px;line-height:1.5;position:relative;box-shadow:0 5px 24px #0006}.notification.error{background:#713a42}.notification button{place-items:center;width:32px;height:32px;margin:0;padding:0;font-size:22px;display:grid;position:absolute;top:6px;right:6px}.topbar{height:var(--topbar-height);background:#151118;justify-content:space-between;align-items:center;gap:6px;padding:0 8px;display:flex}.topbar>button{white-space:nowrap;flex-shrink:0;height:24px;padding:3px 7px;font-size:12px}.topbar-room>span{white-space:nowrap;font-size:12px}.topbar small{color:#b2a1b5}.scene-viewport{isolation:isolate;height:calc(100dvh - var(--topbar-height));background:#19131c;justify-content:center;align-items:flex-end;display:flex;position:relative;overflow:hidden}.scene-viewport:before{content:"";z-index:-1;background:linear-gradient(0deg,#160f17bb,transparent 65%),var(--room);filter:blur(24px)brightness(.55);pointer-events:none;background-position:50%;background-size:cover;position:absolute;inset:-32px}.scene-viewport.has-side-gaps .scene:after{content:"";z-index:2;pointer-events:none;background:linear-gradient(90deg,#19131c99,#0000 18px calc(100% - 18px),#19131c99);position:absolute;inset:0}.scene{isolation:isolate;background-image:linear-gradient(0deg,#160f17bb,transparent 50%),var(--room);--personal-left:1%;--personal-bottom:18px;--personal-piles-height:150px;--personal-piles-gap:22px;background-position:top;background-size:cover;flex-shrink:0;width:1920px;height:1036px;position:relative;overflow:hidden}.layout-preview-controls{z-index:2000;background:#151118f2;border:1px solid #a58aac;border-radius:8px;padding:10px;font-size:13px;position:fixed;top:48px;right:12px;box-shadow:0 3px 12px #0008}.layout-preview-controls label{align-items:center;gap:10px;display:flex}.layout-preview-controls select{height:32px;padding:3px 8px}.layout-preview-controls small{color:#d2c3d7;margin-top:6px;font-size:10px;display:block}.layout-preview-overlay{z-index:100;pointer-events:none;position:absolute;inset:0}.layout-preview-overlay svg{width:100%;height:100%;display:block;overflow:visible}.layout-preview-overlay rect{fill:#ff699626;stroke:#ff6996;stroke-width:2px}.layout-preview-overlay text{fill:#fff;stroke:#251320;stroke-width:3px;paint-order:stroke;stroke-linejoin:round;font:16px Arial}.layout-preview-overlay rect[fill=black]{fill:#0000;stroke:none}.layout-preview-overlay.expansion rect[fill=white]{fill:#ffbb4d22;stroke:#ffbb4d}.layout-preview-overlay rect[fill=\#606060]{fill:#b596e91a;stroke:#b596e9;stroke-dasharray:10 8}body[data-ui-blocks=actual] dialog{outline-offset:3px;outline:3px solid #ff6996}.table-art{z-index:-1;object-fit:fill;pointer-events:none;width:96%;height:49%;position:absolute;top:20%;left:2%}.table-art.full-scene{width:100%;height:100%;top:0;left:0}.scene:before{content:"";pointer-events:none;z-index:0;background:url(/assets/player-surface-v6-CUrgYKET.png) 50%/100% 100% no-repeat;width:102%;height:calc(42% - 28px);position:absolute;bottom:0;left:-1%}.scene-art-picker{color:#d5c8d9;white-space:nowrap;align-items:center;gap:4px;font-size:12px;display:flex}.scene-art-picker select{border-radius:5px;width:112px;height:30px;padding:3px 7px;font-size:12px}.topbar-room{scrollbar-width:thin;align-items:center;gap:5px;min-width:0;display:flex;overflow-x:auto}.back-art-picker select{width:100px}.mana-art-picker select{width:78px}.topbar .scene-art-picker{gap:3px;font-size:10px}.topbar .scene-art-picker select{border-radius:4px;width:96px;height:22px;padding:1px 4px;font-size:10px}.topbar .back-art-picker select{width:86px}.topbar .mana-art-picker select{width:62px}@media (width<=1250px){.topbar .scene-art-picker select{width:86px}}@media (width<=1050px){.topbar .scene-art-picker select{width:76px}}@media (width<=740px){.scene-art-picker{font-size:0}.scene-art-picker select{width:80px}.topbar-room{gap:5px!important}.topbar-room small{display:none}.topbar{gap:8px;overflow-x:auto}.topbar-room,.topbar>button{flex-shrink:0}.topbar .scene-art-picker{font-size:0}.topbar .scene-art-picker select{width:72px}}.dealer-art{pointer-events:none;z-index:-2;width:14%;height:auto;position:absolute;top:28%;left:50%;transform:translate(-50%,-100%)}.hud,.player-hud{color:#fff;background:#08091088;border:0;border-radius:10px}.turn-flow{color:#f0e7f6;z-index:4;width:max-content;max-width:calc(100% - 24px);position:absolute;top:6px;left:50%;transform:translate(-50%)}.flow-turn{align-items:stretch;gap:12px;margin:0;padding:0;list-style:none;display:flex}.flow-group{--flow-shape:polygon(0 0,calc(100% - 9px) 0,100% 50%,calc(100% - 9px) 100%,0 100%,9px 50%);isolation:isolate;filter:drop-shadow(0 2px 2px #09050a66)drop-shadow(0 4px 6px #09050a55);--flow-divider:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 34' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='street' x2='0' y2='1'%3E%3Cstop stop-color='%234b403d'/%3E%3Cstop offset='1' stop-color='%23322a2d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M.5 0H6.5L15.5 17L6.5 34H.5L9.5 17Z' fill='url(%23street)'/%3E%3Cpath d='M.5 0L9.5 17L.5 34M6.5 0L15.5 17L6.5 34' fill='none' stroke='%236d5869' stroke-opacity='.65' stroke-width='1'/%3E%3C/svg%3E");flex:none;position:relative}.flow-group:before{content:"";z-index:-1;clip-path:var(--flow-shape);pointer-events:none;background:linear-gradient(155deg,#51444ff2,#362c3df2);position:absolute;inset:0}.flow-group:after{content:"";background:var(--flow-divider) center/100% 100% no-repeat;pointer-events:none;width:16px;position:absolute;top:0;bottom:0;right:0}.flow-street{align-items:stretch;margin:0;padding:0 9px;list-style:none;display:flex}.flow-street>li+li:before{content:"";background:var(--flow-divider) center/100% 100% no-repeat;pointer-events:none;width:16px;position:absolute;top:0;bottom:0;left:-9px}.flow-tile{isolation:isolate;box-sizing:border-box;background:0 0;border:0;flex-direction:row;flex:none;justify-content:center;align-items:center;gap:8px;width:auto;padding:4px 12px;display:flex;position:relative}.flow-turn>[hidden]{display:none}.flow-overflow{flex:0 0 24px;justify-content:center;align-items:center;font-size:26px;display:flex}.flow-identity{align-items:center;gap:6px;display:flex}.flow-player{color:#d6c5de}.flow-player .class-icon{width:26px;height:26px;color:var(--chip);flex-shrink:0}.flow-name{text-overflow:ellipsis;white-space:nowrap;max-width:84px;font-size:14px;font-weight:600;line-height:18px;overflow:hidden}.current-player{color:#fff9e9}.current-player .flow-identity{filter:drop-shadow(0 0 5px #ffe5a980)}.current-player .flow-name{text-shadow:0 0 4px #ffe3a099,0 0 9px #eac87566}.flow-reply-label{color:#ffe3a0;text-align:center;white-space:nowrap;text-shadow:0 1px 2px #0009;pointer-events:none;background:#24202eee;border-radius:5px;margin-top:5px;padding:3px 7px;font-size:12px;font-weight:400;position:absolute;top:100%;left:50%;transform:translate(-50%);box-shadow:0 3px 12px #0005}.flow-current-stage{color:#f5d793}.receiving-resources .flow-mana,.receiving-resources .flow-draw{animation:3s ease-out both street-resource-icon;animation-delay:var(--resource-time,0s)}.receiving-resources{animation:3s ease-out both street-resource-section;animation-delay:var(--resource-time,0s)}.receiving-resources .flow-resources{animation:3s ease-out both street-resource-fade;animation-delay:var(--resource-time,0s)}@keyframes street-resource-icon{0%{filter:brightness()}18%,32%{filter:brightness(1.8)drop-shadow(0 0 6px)}55%,to{filter:brightness()}}@keyframes street-resource-section{0%,28%{filter:drop-shadow(0 0 5px #d5b66b33)}48%,67%{filter:drop-shadow(0 0 12px #e7c78b99);color:#fff2d4}to{filter:drop-shadow(0 0 5px #d5b66b33)}}@keyframes street-resource-fade{0%,74%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.receiving-resources,.receiving-resources .flow-mana,.receiving-resources .flow-draw,.receiving-resources .flow-resources{animation:none}}.flow-current-stage>strong,.flow-end>strong{white-space:nowrap;font-size:16px;font-weight:600;line-height:21px}.flow-end{color:#dcccb0}.flow-stage{isolation:isolate;flex:none;justify-content:center;align-items:center;gap:8px;min-height:34px;padding:4px 12px;display:flex;position:relative}.flow-stage:after{content:"";z-index:-1;clip-path:var(--flow-shape);pointer-events:none;background:linear-gradient(155deg,#4b403d,#322a2d);position:absolute;inset:0 -9px}.flow-stage:not(:last-child):after{right:0}.flow-closing{color:#fff0c9}.flow-resources{align-items:center;gap:8px;display:flex}.flow-mana,.flow-draw{align-items:center;gap:2px;font-size:13px;font-weight:500;display:flex}.flow-mana{color:#a1dcf6;position:relative}.flow-mana-value{color:#fff5db;text-shadow:0 1px 2px #101823,0 0 3px #101823,0 0 5px #101823;pointer-events:none;place-items:center;font-size:14px;font-weight:700;line-height:1;display:grid;position:absolute;inset:0}.flow-mana svg{flex:none;width:24px;height:24px}.flow-draw{color:#d2aae9}.flow-draw svg{flex:none;width:21px;height:26px}.flow-blind-rise{color:#e6bd72;flex-shrink:0;display:flex;position:relative}.flow-blind-rise svg{width:21px;height:21px}.flow-status{color:#cfb4de;font-size:14px;position:absolute;bottom:-19px}.flow-wait{text-align:center;color:#d3c2df;margin-top:14px;font-size:15px;display:block}.turn-countdown{text-align:center;color:#f0e7f6;font-variant-numeric:tabular-nums;margin-top:8px;font-size:15px;display:block}.resource-row.mana[data-mana-reset]{position:relative}.resource-row.mana[data-mana-reset]:after{content:attr(data-mana-reset);color:#bce7ff;white-space:nowrap;pointer-events:none;animation:1.4s ease-out both mana-reset-note;animation-delay:var(--mana-reset-elapsed,0s);background:#171423ed;border-radius:4px;padding:2px 5px;font-size:15px;font-weight:600;position:absolute;top:100%;left:50%;transform:translate(-50%)}@keyframes mana-reset-note{0%{opacity:0;translate:0 3px}15%,75%{opacity:1;translate:0}to{opacity:0;translate:0 -3px}}@media (prefers-reduced-motion:reduce){.resource-row.mana[data-mana-reset]:after{animation:none}}.player{z-index:3;position:absolute}.player-hud{text-align:left;flex-direction:column;align-items:stretch;gap:5px;width:max-content;padding:8px 12px;font-size:15px;display:flex;position:relative}.hud-name{justify-content:center;align-items:center;gap:8px;display:flex}.hud-name .class-icon{width:26px;height:26px}.hud-name strong{white-space:nowrap;text-overflow:ellipsis;max-width:185px;overflow:hidden}.hud-action{color:#cec2cb;white-space:nowrap;flex-shrink:0;font-size:12px}.player-hud:disabled{opacity:1}.player-hud strong{display:block}.player-hud small{color:#cec2cb}.active .player-hud{background:#17120deb;box-shadow:0 0 0 2px #e6c67b,0 0 22px #e4ae4a55,inset 0 0 14px #e4ae4a12}.class-icon{width:36px;height:36px;color:var(--chip);flex-shrink:0;align-self:center}.class-icon svg{fill:none;stroke:currentColor;stroke-width:3.5px;stroke-linejoin:round;stroke-linecap:round;width:100%;height:100%}.class-icon img{object-fit:contain;width:100%;height:100%;display:block}.resources{white-space:nowrap;grid-template-columns:repeat(3,minmax(64px,1fr));align-items:center;gap:0;padding:3px 0;font-size:13px;display:grid}.resources .resource-row{justify-content:center;padding:0 6px}.mana{color:#90ceff}.chip-icon{background:var(--chip);border:2px dashed #ffffffb0;border-radius:50%;width:13px;height:13px;display:inline-block}.poker-hand{gap:8px;margin:12px 0;display:flex}.hand-summary{color:#dfd2ba;text-align:center;white-space:nowrap;text-shadow:0 1px 3px #0008;cursor:help;font-size:12px;line-height:16px}.bankroll{color:#fff0d4;text-shadow:0 1px 3px #000c;align-items:center;gap:10px;display:flex}.resource-row{align-items:center;gap:6px;min-height:20px;display:flex}.spell-back.hud-spells{width:22px;height:22px;box-shadow:none;color:#d2c8ba;background:0 0;border:0;border-radius:0;flex-shrink:0;display:inline-flex}.hud-spells svg{fill:#493451;stroke:currentColor;stroke-width:1.1px;width:100%;height:100%}.hud-spells path{fill:#cbb5d3;stroke:none}.poker-wrap{position:relative}.poker{width:var(--poker-width);height:var(--poker-height);color:#191b24;background:#fff4df;border:1px solid #736956;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative;box-shadow:0 1px #b9aa91,0 2px #716552}.poker:disabled{opacity:1}.poker.red{color:#c32a38}.rank{font:700 24px Georgia,serif;position:absolute;top:2px;left:5px}.suit{font-size:calc(var(--poker-width) * 42 / 76);-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;line-height:1}.property{color:#416185;z-index:3;font-size:19px;line-height:1;position:absolute;top:4px;right:5px}.poker.back{background:transparent var(--poker-back-image,url(/assets/poker-back-v1-CLededA8.png)) center/100% 100% no-repeat;color:#eec2ca;border:0}.folded .poker{filter:grayscale();opacity:.65}.wake{z-index:7;position:absolute;top:50%;left:50%}.targetable{cursor:crosshair!important;outline:3px solid #e8c879!important;box-shadow:0 0 18px #ffe28188!important}.poker.targetable{box-shadow:none!important;outline:none!important}.poker-wrap:has(>.poker.targetable):before{content:"";width:100%;height:var(--poker-height);pointer-events:none;z-index:3;border-radius:5px;outline:3px solid #e8c879;position:absolute;top:0;left:0;box-shadow:0 0 18px #ffe28188}.board{width:640px;height:var(--poker-height);z-index:4;position:absolute;top:34%;left:50%;transform:translate(-50%)}.board-cards{justify-content:center;align-items:flex-start;height:100%;display:flex}.board-item{isolation:isolate;width:var(--poker-width);height:var(--poker-height);z-index:var(--board-index);flex-shrink:0;transition:margin-left .25s;position:relative}.board-item+.board-item{margin-left:calc(var(--board-step) - var(--poker-width))}.board-item:hover,.board-item:focus-within{z-index:30}.board-item .poker-wrap{width:var(--poker-width);height:var(--poker-height);outline:none}.board-item .poker-wrap:focus-visible{outline-offset:3px;border-radius:5px;outline:2px solid #e8c879}.board-heading{color:#c6b795;text-shadow:0 1px 3px #000;pointer-events:none;font-size:11px;position:absolute;bottom:calc(100% + 10px);left:0}.deck-poker{position:absolute;top:0;left:-115px;transform:rotate(-4deg)}.board-reserved{pointer-events:none}.board-reserved .card-slot{background:#211b201c;border-style:dashed;place-items:center;height:100%;display:grid}.card-slot>span{color:#bcaa81;writing-mode:vertical-rl;text-orientation:mixed;letter-spacing:1px;font-size:11px}.card-slot{width:var(--poker-width);height:var(--poker-height);border:1px dashed #d8e6d233;border-radius:5px}.table-pots{z-index:4;color:#fff0d4;text-shadow:0 1px 3px #000c;justify-content:center;align-items:center;gap:12px;display:flex;position:absolute;bottom:calc(66% + 12px);left:50%;transform:translate(-50%)}.table-bets{top:calc(34% + var(--poker-height) + 20px);z-index:4;color:#fff0d4;text-shadow:0 1px 3px #000c;width:0;position:absolute;left:50%}.table-bet{white-space:nowrap;align-items:center;gap:10px;width:max-content;display:flex;position:absolute;transform:translate(-50%)}.local-bet{left:-120px}.opponent-bet{left:135px}.table-bet.empty-bet{pointer-events:none;width:26px;min-height:13px}.bet-chip-flight{z-index:125;pointer-events:none;will-change:transform;transform-origin:50%;align-items:flex-start;width:26px;height:11px;display:flex;position:fixed;top:0;left:0}.bet-chip-flight .chip-stacks{padding:0}.pot-plaque{white-space:nowrap;color:#fff0d4;align-items:center;gap:6px;font-size:18px;line-height:1.2;display:flex}.pot-plaque span,.pot-plaque strong{font-size:inherit;font-weight:600}.pot-plaque strong{font-variant-numeric:tabular-nums}.pot-chips{align-items:flex-end;display:flex}.chip-amount{flex-direction:column;gap:3px;line-height:1.2;display:flex}.chip-amount strong{font-variant-numeric:tabular-nums;font-size:19px}.chip-amount small{color:#e7d8ba;text-overflow:ellipsis;white-space:nowrap;max-width:110px;font-size:11px;overflow:hidden}.chip-stacks{align-items:flex-end;padding-bottom:2px;display:inline-flex}.mini-chip-stack{width:26px;height:calc(11px + (var(--layers) - 1) * 2px);z-index:var(--stack);filter:drop-shadow(1px 3px 2px #0007);flex-shrink:0;display:inline-block;position:relative}.mini-chip-stack+.mini-chip-stack{margin-left:-9px}.mini-chip-stack:nth-child(3n+2){transform:translateY(2px)}.mini-chip-stack:nth-child(3n){transform:translateY(-1px)}.chip-stacks.triangle,.chip-stacks.trapezoid{width:56px;height:62px;position:relative}.chip-stacks.trapezoid{width:72px}.chip-stacks.triangle .mini-chip-stack,.chip-stacks.trapezoid .mini-chip-stack{margin:0;position:absolute;bottom:0;transform:none}.chip-stacks.triangle .mini-chip-stack:first-child{z-index:0;bottom:9px;left:2px}.chip-stacks.triangle .mini-chip-stack:nth-child(2){z-index:0;bottom:11px;left:26px}.chip-stacks.triangle .mini-chip-stack:nth-child(3){z-index:1;bottom:0;left:15px}.chip-stacks.trapezoid .mini-chip-stack:nth-child(4n+1){left:calc(12px + var(--pile-offset));z-index:0;bottom:12px}.chip-stacks.trapezoid .mini-chip-stack:nth-child(4n+2){left:calc(36px + var(--pile-offset));z-index:0;bottom:10px}.chip-stacks.trapezoid .mini-chip-stack:nth-child(4n+3){left:calc(1px + var(--pile-offset));z-index:1;bottom:1px}.chip-stacks.trapezoid .mini-chip-stack:nth-child(4n){left:calc(43px + var(--pile-offset));z-index:1;bottom:0}.flop-card{animation:.14s ease-out both flop-reveal}@keyframes flop-reveal{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.flop-card{animation:none}}.mini-chip-stack i{left:0;bottom:calc(var(--layer) * 2px);background:linear-gradient(160deg,#ffffff50,transparent 65%),var(--chip);width:26px;height:11px;box-shadow:0 2px 0 color-mix(in srgb,var(--chip),#17111b 45%),inset 0 1px #ffffff60;border:2px dashed #f8eddbbd;border-radius:50%;position:absolute}.journal{left:var(--personal-left);bottom:calc(var(--personal-bottom) + var(--personal-piles-height) + var(--personal-piles-gap));color:#312b29;isolation:isolate;border:3px solid #0000;width:18%;height:18%;padding:14px 6px 5px;position:absolute}.journal:before{content:"";z-index:-2;pointer-events:none;background:url(/assets/dealer-clipboard-v1-BRdG1E0Z.png) 50%/100% 100% no-repeat;position:absolute;inset:-20px -10px -12px}.journal:after{content:"";z-index:-1;pointer-events:none;background:repeating-linear-gradient(0deg,#0000 0 23px,#9d805021 23px 24px);position:absolute;inset:14px 6px 5px}.journal>.clip{display:none}.log-scroll{scroll-behavior:auto;scrollbar-width:thin;scrollbar-color:#8b8271 #e9dcc2;height:100%;font-size:13px;line-height:20px;overflow:auto}.log-scroll>div{overflow-wrap:anywhere;padding:0 3px;overflow:hidden}.log-result-group{overflow-wrap:anywhere;margin:0;padding:0}.log-result-group>.summary-title{padding:0 3px}.log-result-players{border-left:2px solid #8d816d44;margin-left:7px;padding-left:5px}.log-result-players>div{padding:0 3px}.log-scroll .private-label{line-height:14px}.log-chips{white-space:nowrap}.log-chips .chip-icon{--chip:#365e80;vertical-align:-1px;border-width:1.5px;border-color:#eff6fc;width:11px;height:11px;box-shadow:0 0 0 1px #24405f}.dealer-entry{text-align:left;background:#756b5710;font-weight:400}.stage-entry{text-align:left;color:#554c3e;letter-spacing:.03em;background:#8d816d19;border-radius:3px;font-weight:400}.summary-title{color:#483f34;text-align:left;background:#8d816d22}.private-entry{color:#514757;background:#8c789510;border-left:2px solid #8d839066;margin-left:7px}.private-label{color:#655171;white-space:nowrap;background:#81708c26;border-radius:3px;margin-right:4px;padding:1px 5px;font-size:10px;font-weight:600;display:inline-block}.spell-piles{left:1%;bottom:var(--personal-bottom);justify-content:flex-start;align-items:end;gap:10px;width:21%;display:flex;position:absolute}.spell-piles .pile .spell-pile.magic-back{width:var(--poker-width);height:calc(var(--poker-width) * var(--spell-ratio))}.spell-piles .previous-card .poker{width:100%;height:100%}.pile{color:#f1dfca;background:0 0;justify-items:center;gap:14px;padding:0;font-size:12px;display:grid}.spell-back{color:#bb8ee7;background:repeating-linear-gradient(45deg,#382052 0 5px,#462560 5px 8px);border:2px solid #b9a4ca;border-radius:4px;place-items:center;width:49px;height:38px;font-size:23px;display:grid;box-shadow:0 3px #d2c8ba,0 5px #49314f}.spell-pile{color:#c4a2e8;background:repeating-linear-gradient(45deg,#382052 0 5px,#462560 5px 8px);border:3px solid #b9a4ca;font-size:29px}.deck-poker,.spell-pile.stacked{box-shadow:inset 0 1px #fff7,.5px 1px #efe5d4,1px 2px #d9ccba,1.5px 3px #eadfcd,2px 4px #d4c5af,2.5px 5px #e4d7c2,3px 6px #cebea6,3.5px 7px #dfd0b8,4px 8px #b4a187,5px 11px 8px #0005}.previous-pair{width:118px;height:var(--poker-height);display:block;position:relative}.previous-card{width:var(--poker-width);perspective:500px;transform-origin:50% 90%;height:100%;transition:transform .25s,left .25s;position:absolute;top:0;left:14px;transform:rotate(-8deg)}.previous-card:nth-child(2){top:0;left:28px;transform:rotate(8deg)}.previous-card-inner{width:100%;height:100%;transform-style:preserve-3d;transition:transform .25s;display:block;position:relative}.previous-card.revealed .previous-card-inner{transform:rotateY(180deg)}.previous-card .poker{backface-visibility:hidden;position:absolute;inset:0}.previous-back{background-color:#0000;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border:0}.previous-face{transform:rotateY(180deg)}.previous-hand[aria-pressed=true] .previous-card{transform:none}.previous-hand[aria-pressed=true] .previous-card:first-child{left:0}.previous-hand[aria-pressed=true] .previous-pair{width:calc(var(--poker-width) * 2 + 5px)}.previous-hand[aria-pressed=true] .previous-card:nth-child(2){left:calc(var(--poker-width) + 5px);top:0}.previous-hand[aria-pressed=true]{z-index:15;position:relative}.previous-hand{position:relative}.previous-hand[aria-disabled=true]{cursor:help}.previous-hand[aria-disabled=true]:hover:after,.previous-hand[aria-disabled=true]:focus-visible:after{content:attr(data-tooltip);color:#f8ecdc;z-index:30;background:#282130f5;border-radius:5px;width:210px;padding:8px;font-size:12px;position:absolute;bottom:calc(100% + 12px);left:0}.previous-wait{fill:none;stroke:#fff2ce;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 2px #000);width:14px;height:20px;animation:2s ease-in-out infinite previous-wait;position:absolute;top:5px;right:11px}@keyframes previous-wait{0%,to{opacity:.3}50%{opacity:.8}}.spell-area{width:64%;left:21%;bottom:var(--personal-bottom);z-index:10;position:absolute;container-type:inline-size}.spell-hint{color:#efe1c6;justify-content:center;align-items:flex-end;gap:8px;min-height:28px;margin-top:4px;font-size:12px;display:flex}.spell-hand{width:calc(100% / var(--spell-hand-scale));margin-left:calc((100% - 100% / var(--spell-hand-scale)) / 2);margin-top:calc(240px * (var(--spell-hand-scale) - 1));transform:scale(var(--spell-hand-scale));transform-origin:bottom;margin-bottom:calc(max(0,var(--count) - 5)*3px * var(--spell-hand-scale));--step:min(calc(var(--card-width) + 16px),calc((100cqw / var(--spell-hand-scale) - var(--card-width)) / max(1,var(--count) - 1)));justify-content:center;display:flex}.spell{flex:0 0 var(--card-width);width:var(--card-width);color:#302824;height:240px;transform:translateY(calc(var(--arc) * 1px)) rotate(var(--angle));transform-origin:50% 90%;z-index:var(--order);margin-left:calc(var(--step) - var(--card-width));background:linear-gradient(135deg,#fff4e2,#e9d9bd);border:1px solid #b5a180;border-top-color:#fff4de;border-radius:7px;padding:4px;transition:transform .24s ease-out,box-shadow .16s;position:relative;box-shadow:inset 0 1px #fff9,0 1px #dac9aa,0 2px #8e795d,1px 7px 10px #0007}.spell:first-child{margin-left:0}.spell:where(:not(.pile-inspection .spell)):is(:hover,:has(:focus-visible)),.spell.selected{z-index:50;transform:translateY(-32px)rotate(0);box-shadow:inset 0 1px #fffc,0 1px #e1d3b9,0 2px #8e795d,2px 14px 24px #0009}.spell.selected{outline:3px solid #f6c95e}.spell.dragging{transform:translate(var(--drag-x,0px),calc(-32px + var(--drag-y,0px))) rotate(0deg);pointer-events:none;z-index:70;transition:none}.spell.dragging.cast-ready{outline-color:#75de9e;box-shadow:0 0 24px #75de9e66}.spell-play{touch-action:none;-webkit-user-select:none;user-select:none;text-align:center;width:100%;height:100%;color:inherit;cursor:default;background:radial-gradient(at 30% 80%,#fff5,#0000 75%);border:0;border-radius:3px;flex-direction:column;padding:0;font-size:12px;display:flex;position:relative;overflow:visible;box-shadow:inset 0 0 0 1px #8d775528}.spell-art img{-webkit-user-drag:none;object-fit:cover;border-radius:inherit;width:100%;height:100%;display:block}.spell.playable{border-color:#cfb474}.spell-play:disabled{opacity:1}.spell-art{color:#c7aec9;background:radial-gradient(#665070,#292336);border-radius:4px;flex:0 0 46%;place-items:center;width:100%;height:46%;font-size:48px;display:grid;position:relative;overflow:hidden;box-shadow:0 1px #fff7,0 -1px #6f584c}.spell-art:after{content:"";border-radius:inherit;pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #bda98b,inset 0 2px 5px #0006}.gem{isolation:isolate;z-index:4;filter:drop-shadow(1px 3px 2px #171326aa);color:#fff;text-shadow:-1px 0 #082444,1px 0 #082444,0 -1px #082444,0 1px #082444,0 2px 3px #03182bcc;place-items:center;width:34px;height:38px;font-size:20px;font-weight:600;line-height:1;display:grid;position:absolute;top:-4px;left:-4px}.gem svg{z-index:-1;width:100%;height:100%;position:absolute;inset:0}.spell .spell-title{z-index:2;color:#fff0d4;text-shadow:0 1px 1px #351521;background:linear-gradient(#854350,#682a3b 60%,#562231);border-radius:2px;flex-shrink:0;width:calc(100% + 6px);min-height:26px;margin:2px -3px 0;padding:4px 6px;font-size:13px;line-height:1.2;display:block;position:relative;box-shadow:inset 0 1px #d9a09266,inset 0 -1px #351521,0 3px 3px #35201855}.spell-title:before,.spell-title:after{content:"";background:#3c1925;width:3px;height:3px;position:absolute;bottom:-3px}.spell-title:before{clip-path:polygon(0 0,100% 0,100% 100%);left:0}.spell-title:after{clip-path:polygon(0 0,100% 0,0 100%);right:0}.spell-paper{isolation:isolate;background:radial-gradient(at 45% 60%,#f5ecdc,#e4d7c1);border-radius:0 0 3px 3px;flex-direction:column;flex:1;width:100%;min-height:0;padding:5px 4px 3px;display:flex;position:relative;box-shadow:inset 0 3px 5px #6b503421,inset 0 -1px #fff8}.effect{flex-shrink:0;padding:0 0 4px;font-size:13px;font-weight:600;line-height:1.3;display:block;overflow:visible}.effect.short{font-size:14px;line-height:1.3}.spell-meta{flex-shrink:0;justify-content:center;align-items:center;gap:4px;min-height:14px;margin-top:auto;display:flex}.target-label{color:#76695b;margin:0;font-size:10px;line-height:1.25}.burnable-icon{color:#ab4c29;flex-shrink:0;place-items:center;width:14px;height:14px;display:grid}.burnable-icon svg{width:14px;height:14px}.spell-meta:has(.burnable-icon) .target-label{white-space:nowrap;font-size:9px}.spell:has(.burnable-icon) .effect{padding-bottom:2px;line-height:1.2}.empty-hand{color:#bdadba;height:180px;padding:65px 10px}.actions{right:1%;bottom:var(--personal-bottom);z-index:12;background:#16131dcc;border:0;border-radius:8px;gap:5px;width:11.5%;padding:8px;font-size:13px;display:grid;position:absolute}.actions>strong{text-align:center;margin-bottom:3px;font-size:13px}.actions button{padding:6px}.poker-options{gap:5px;display:grid}.poker-option-row{min-width:0;display:flex;position:relative}.actions .poker-option-row>.poker-option{width:100%;min-width:0;padding-right:28px}.poker-option-label{min-width:0}.actions .poker-help{color:#b5aebc;width:16px;height:16px;min-height:0;box-shadow:none;cursor:help;background:0 0;border:1px solid #aaa3ae55;border-radius:50%;padding:0;font-size:11px;line-height:1;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.actions .poker-help:hover,.actions .poker-help:focus-visible{color:#eee8f2;background:#ffffff08;border-color:#c9c0d0aa}.actions .poker-option{--action-color:#a59baa;text-align:left;color:#e5d9e9;min-height:38px;box-shadow:none;background:#ffffff06;border:1px solid #0000;border-radius:6px;align-items:center;gap:10px;padding:8px 10px;font-size:15px;display:flex}.actions .poker-option[data-action=Call]{--action-color:#74bd97}.actions .poker-option[data-action=BetOrRaise]{--action-color:#e3a449}.actions .poker-option[data-action=AllIn]{--action-color:#df7885}.actions .poker-option[data-action=Fold]{--action-color:#b394cf}.actions .poker-option:hover:not(:disabled){background:#ffffff0e}.actions .poker-option.selected-poker{background:color-mix(in srgb,var(--action-color) 13%,#211a29);border-color:color-mix(in srgb,var(--action-color) 60%,#65516d);box-shadow:0 0 9px color-mix(in srgb,var(--action-color) 16%,transparent);color:#fff1e7}.poker-radio{border:2px solid var(--action-color);opacity:.65;box-sizing:border-box;border-radius:50%;flex:none;width:16px;height:16px;position:relative}.selected-poker .poker-radio{opacity:1}.selected-poker .poker-radio:after{content:"";background:var(--action-color);width:6px;height:6px;box-shadow:0 0 5px color-mix(in srgb,var(--action-color) 40%,transparent);border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.poker-option-label small{color:#cbb9d1;font-size:11px;display:block}.actions .finish-poker{background:color-mix(in srgb,var(--chip) 13%,#211a29);color:#f7eaf8;border:1px solid color-mix(in srgb,var(--chip) 65%,#65516d);min-height:38px;box-shadow:0 0 9px color-mix(in srgb,var(--chip) 16%,transparent);border-radius:6px;margin-top:9px;padding:10px;font-size:15px;font-weight:600;animation:1.9s ease-in-out infinite finish-turn-pulse}.actions .finish-poker:hover:not(:disabled){background:color-mix(in srgb,var(--chip) 20%,#211a29)}.actions .finish-poker:disabled{color:#e5d9e9;opacity:1;box-shadow:none;cursor:default;background:#ffffff06;border-color:#0000;font-weight:400;animation:none}@keyframes finish-turn-pulse{0%,to{color:#f7eaf8;border-color:color-mix(in srgb,var(--chip) 60%,#65516d);box-shadow:0 0 6px color-mix(in srgb,var(--chip) 12%,transparent)}50%{color:color-mix(in srgb,var(--chip) 55%,#fff);border-color:color-mix(in srgb,var(--chip) 85%,#fff);box-shadow:0 0 12px color-mix(in srgb,var(--chip) 30%,transparent)}}@media (prefers-reduced-motion:reduce){.actions .finish-poker{animation:none}}.actions .poker-option:disabled{opacity:.55;cursor:default}.actions .chip-icon{vertical-align:-2px;border-color:color-mix(in srgb,var(--chip) 35%,#eee4f2);width:14px;height:14px;box-shadow:0 0 0 1.5px #100b17,inset 0 0 0 1px color-mix(in srgb,var(--chip) 65%,#24182d);flex-shrink:0}.poker-raise{background:#ffffff06;border:1px solid #0000;border-radius:6px;overflow:hidden}.poker-raise.chosen-raise{background:#b8752517;border-color:#e3b452;box-shadow:0 0 9px #e3a44920}.actions .poker-raise .poker-option{width:100%;box-shadow:none;background:0 0;border:0}.actions .poker-raise .poker-option.selected-poker{box-shadow:none;background:0 0;border:0}.raise-control{background:0 0;border:0;border-radius:0;gap:8px;margin:0;padding:0 10px 10px;display:grid}.raise-total{color:#f0d5ad;justify-content:center;align-items:center;gap:5px;font-size:14px;display:flex}.poker-choice-error{color:#eebd9f;font-size:12px}.raise-control output{font-variant-numeric:tabular-nums}.raise-control input{accent-color:#e3a449}.poker-layout-picker select{width:140px}.actions-grouped,.actions-columns{box-sizing:border-box;width:12.5%}.actions-grouped .poker-options{grid-template-rows:auto 60px auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.actions-grouped .poker-option-row:is([data-poker-action=Check],[data-poker-action=Call]){grid-area:1/1}.actions-grouped .poker-raise{grid-area:1/2}.actions-grouped .raise-slot{grid-area:2/1/auto/-1;align-self:center}.actions-grouped .poker-option-row[data-poker-action=Fold]{grid-area:3/1}.actions-grouped .poker-option-row[data-poker-action=AllIn]{grid-area:3/2}.actions-grouped .poker-option{gap:6px;min-height:44px;padding:8px}.actions-grouped .poker-option:is([data-action=Fold],[data-action=AllIn]){min-height:34px;font-size:13px}.actions-grouped .raise-control{padding:0 4px}.actions-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:10px}.actions-columns>strong{grid-column:1/-1}.actions-columns .poker-options{grid-area:2/1/4}.actions-columns .raise-slot{grid-area:2/2;align-self:start;align-items:center;min-height:104px;display:flex}.actions-columns .raise-control{box-sizing:border-box;width:100%;min-width:0;padding:0}.actions-columns .raise-control input{width:100%;min-width:0}.actions-columns .raise-total{flex-wrap:wrap;font-size:13px}.actions-columns .inactive-raise{opacity:.4}.actions-columns .poker-option{gap:5px;padding:8px 6px;font-size:13px}.actions-columns .poker-radio{width:13px;height:13px}.actions-columns .finish-poker{grid-area:3/2;align-self:end;margin-top:0}.actions-columns .poker-choice-error{grid-area:4/1/auto/-1}.aim{pointer-events:none;z-index:60;width:100%;height:100%;position:absolute;inset:0}.results{z-index:80;background:radial-gradient(at top,#494052f5,#211b2afa 65%);border:1px solid #bba578;border-radius:16px;width:50%;max-height:60%;padding:20px 24px;position:absolute;top:16%;left:25%;overflow:auto;box-shadow:0 10px 40px #0008,inset 0 1px #eedbad30}.results h2{text-align:center;color:#f2dfb9;text-shadow:0 0 20px #d9b66a55;margin:0 0 18px;font-size:30px}.results p{margin:10px 0;font-size:20px}.result-players{gap:10px;display:grid}.result-player{background:#ffffff05;border:1px solid #ffffff14;border-radius:12px;align-items:center;gap:16px;padding:12px 16px;display:flex}.result-player.result-winner{border-color:color-mix(in srgb,var(--chip) 65%,#fff);background:linear-gradient(110deg,color-mix(in srgb,var(--chip) 20%,#292330),#29233070);box-shadow:0 0 22px color-mix(in srgb,var(--chip) 20%,transparent),inset 0 0 20px color-mix(in srgb,var(--chip) 8%,transparent)}.result-avatar{border:1px solid var(--chip);width:36px;height:36px;color:var(--chip);box-shadow:0 0 12px color-mix(in srgb,var(--chip) 35%,transparent);background:#17131e;border-radius:50%;flex:none;place-items:center;display:grid}.result-avatar svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:26px;height:26px}.result-avatar img{object-fit:contain;width:28px;height:28px}.result-identity{flex-wrap:wrap;flex:1;align-items:center;gap:8px;min-width:0;display:flex}.result-identity>small{color:#c9c0d0;font-size:16px}.result-identity>strong{overflow-wrap:anywhere;min-width:0;max-width:100%;font-size:25px}.result-identity>span{color:#ded6e6;font-size:21px}.result-payment{text-align:right;white-space:nowrap;flex:none;gap:6px;min-width:104px;margin-left:auto;display:grid}.result-payment>strong{color:#fff0cc;font-size:32px}.result-payment>small{color:#c4bacb;font-size:18px}.results .chip-icon{vertical-align:-1px;width:20px;height:20px;box-shadow:0 0 8px color-mix(in srgb,var(--chip) 40%,transparent)}.result-payment>strong .chip-icon{vertical-align:-.15em;width:1em;height:1em}.victory-celebration{z-index:140;pointer-events:none;width:100vw;height:100dvh;position:fixed;inset:0}.result-money{white-space:nowrap}.result-pots{--chip:#c5a25e;color:#cfc3ab;border-top:1px solid #bba57830;margin-top:16px}.result-pots p{justify-content:space-between;gap:12px;display:flex}.result-cards{flex:none;align-items:center;gap:8px;display:flex}.result-from-hand{outline:2px solid var(--chip);outline-offset:2px;box-shadow:0 0 12px color-mix(in srgb,var(--chip) 45%,transparent)}.result-card-origin{color:#4a3a55;font-size:11px;line-height:1;position:absolute;bottom:4px}.results .next-deal-countdown{text-align:center;color:#bdb2c8;font-size:18px}.match-end-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px;display:flex}.settlement-effects{z-index:90;pointer-events:none;position:absolute;inset:0}.settlement-verdict{color:#ffe3a0;text-align:center;max-width:60%;animation:1.1s linear both settlement-verdict-life;animation-delay:var(--settlement-time);background:#24202eee;border-radius:10px;padding:10px 18px;font-size:21px;position:absolute;top:20%;left:50%;transform:translate(-50%)}@keyframes settlement-verdict-life{0%,75%{opacity:1}to{opacity:0;visibility:hidden}}.chip-flight{opacity:0;animation:.7s cubic-bezier(.2,.65,.35,1) both chip-payout-flight;animation-delay:calc(var(--settlement-time) + var(--flight-delay));position:absolute;top:0;left:0}.chip-flight .chip-stacks{transform:translate(-50%,-50%)}.chip-flight[data-effect-kind=return]{animation-duration:.5s}@keyframes chip-payout-flight{0%{opacity:0;transform:translate(var(--start-x),var(--start-y)) scale(.85)}10%{opacity:1}50%{opacity:1;transform:translate(var(--mid-x),var(--mid-y)) scale(1.05)}90%{opacity:1}to{opacity:0;transform:translate(var(--end-x),var(--end-y)) scale(.8)}}.payout-label{left:var(--end-x);top:calc(var(--end-y) - 42px);white-space:nowrap;color:#ffe3a0;text-shadow:0 1px 2px #0009;animation:3.2s linear both payout-label-life;animation-delay:var(--settlement-time);background:#24202eee;border-radius:8px;padding:7px 12px;position:absolute;transform:translate(-50%,-100%);box-shadow:0 3px 12px #0005}.payout-label strong{text-align:center;font-size:23px;display:block}.payout-label small{margin-top:3px;font-size:12px;display:block}.payout-label .chip-icon{--chip:#d4af65;vertical-align:-1px}.refund-label{top:calc(var(--end-y) + 34px);color:#d6e9ed;font-size:14px}.tips-label{top:calc(var(--end-y) + 46px);font-size:13px}@keyframes payout-label-life{0%,33%{opacity:0}38%,87%{opacity:1}to{opacity:0}}.settlement-bank{animation:1.1s linear both settlement-bank-drain;animation-delay:var(--settlement-time)}@keyframes settlement-bank-drain{0%,32%{opacity:1}to{opacity:0}}.settlement-playing .results{animation:1.15s linear both settlement-results-reveal;animation-delay:var(--settlement-time)}@keyframes settlement-results-reveal{0%,99%{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}.payout-winner .poker-hand{filter:drop-shadow(0 0 9px #eac57688)}.payout-winner .bankroll,.bankroll.payout-winner{animation:3.2s linear both payout-stack-glow;animation-delay:var(--settlement-time);border-radius:8px}@keyframes payout-stack-glow{0%,33%,to{box-shadow:0 0 #0000}40%,70%{box-shadow:0 0 0 2px #e6c67b88,0 0 22px #e4ae4a88}}.settlement-still .settlement-bank{display:none}.settlement-still .results,.settlement-still .payout-label,.settlement-still .bankroll{animation:none}.settlement-still .payout-label{opacity:1}@media (prefers-reduced-motion:reduce){.chip-flight{display:none}.settlement-playing .results,.payout-label,.payout-winner .bankroll,.bankroll.payout-winner{animation:none}.payout-label{opacity:1}.settlement-bank{display:none}}dialog{color:#f8ecdc;background:#282130;border:1px solid #76677d;border-radius:14px;width:min(740px,94vw);max-height:calc(100dvh - 32px);margin:16px auto;padding:16px;top:0;bottom:auto;box-shadow:0 20px 100px #000a}dialog.choice-near-target{width:min(560px,94vw)}dialog::backdrop{background:#09060dc9}dialog header{justify-content:space-between;align-items:start;gap:15px;display:flex}dialog h2{margin-bottom:14px}.choice-toggle{color:#eee1cd;background:#ffffff18;border-radius:50%;flex-shrink:0;place-items:center;width:42px;height:42px;padding:7px;display:grid}.choice-toggle svg{fill:none;stroke:currentColor;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;width:100%;height:100%}.choice-toggle.collapsed{z-index:80;color:#ffe079;opacity:.65;background:#201b2955;outline:2px solid #e1bc7777;width:42px;height:42px;position:fixed;box-shadow:0 0 14px #ffcf6344}.choice-toggle.collapsed:hover,.choice-toggle.collapsed:focus-visible{opacity:1;background:#201b29cc}.choice-toggle.collapsed svg{width:100%;height:100%}dialog footer{justify-content:center;margin-top:20px;display:flex}dialog footer button{min-width:100px}.choice-info{text-align:center;background:#403248;border-radius:6px;flex-direction:column;align-items:center;gap:8px;padding:16px;display:flex}.log-preview{cursor:help;width:100%;color:inherit;text-align:left;font:inherit;text-underline-offset:3px;background:0 0;border-radius:2px;padding:0;-webkit-text-decoration:underline #83624366;text-decoration:underline #83624366;display:block}.log-preview span{color:#7b496e}.log-spell{cursor:help;text-underline-offset:3px;-webkit-text-decoration:underline #83624388;text-decoration:underline #83624388}dialog p{color:#d1c1d6}.choices{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;display:grid}.choices button{background:#403248;flex-direction:column;align-items:center;gap:8px;padding:16px;display:flex}.choices small{line-height:1.5}.choice-property .ui-symbol{width:52px;height:52px}.choice-face{color:#201b21;background:#f1e6d0;border-radius:6px;margin:4px;padding:15px;font:700 29px Georgia,serif;display:inline-block}.inspection{flex-wrap:wrap;justify-content:center;gap:15px;display:flex}.spell[data-card-layout=full]{width:230px;height:calc(230px * var(--spell-ratio));aspect-ratio:5/8;flex:0 0 230px;min-height:0;transform:none;margin:0!important}.spell[data-card-layout=full] .spell-play{cursor:default;height:100%;min-height:0;overflow:visible}.spell[data-card-layout=full] .spell-art{flex:0 0 180px;height:180px;min-height:180px}.spell[data-card-layout=full] .effect{font-size:16px;overflow:visible}.spell[data-card-layout=full] .spell-title{font-size:18px}.spell[data-card-layout=full] .spell-paper{flex:1;min-height:0;padding:12px 8px 6px}.spell[data-card-layout=full] .spell-meta .target-label{font-size:12px}.choices button[aria-pressed=true]{outline:2px solid var(--gold);background:#5c465d}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.log-hover{z-index:90;pointer-events:none;color:#f8ecdc;background:#282130f5;border:1px solid #76677d;border-radius:10px;width:min(600px,100vw - 16px);max-height:calc(100dvh - 16px);padding:16px;position:fixed;overflow:hidden;box-shadow:0 10px 40px #0008}.log-hover[hidden]{display:none}.log-hover h2{margin-bottom:8px;font-size:17px}.log-hover p{color:#d1c1d6;margin-bottom:10px;font-size:12px}.spell-log-hover{width:calc(150px * var(--scene-scale,1));box-shadow:none;background:0 0;border:0;padding:0;overflow:visible}.spell-log-hover .spell{zoom:var(--scene-scale,1);flex:0 0 150px;width:150px;height:240px;margin:0;animation:none;transform:translate(0,0)}.choice-info.chosen{outline:2px solid var(--gold);background:#5c465d}.choices .poker{zoom:var(--scene-scale,1)}@media (prefers-reduced-motion:reduce){.previous-wait{opacity:.6;animation:none}}.dialog-close{color:#d9cbdc;background:#ffffff0c;border:1px solid #ffffff20;border-radius:6px;flex-shrink:0;place-items:center;width:32px;height:32px;padding:0;font-size:26px;line-height:1;display:grid}.dialog-close:hover{color:#fff;background:#ffffff20}dialog.menu-dialog{color:#f4ece2;background:#241e2b;border:1px solid #5b4256;border-radius:18px;width:min(480px,100% - 32px);margin:0 auto;padding:32px;top:50%;transform:translateY(-50%);box-shadow:0 24px 90px #0006}.menu-dialog header{align-items:center;gap:16px;margin-bottom:24px}.menu-dialog h2{letter-spacing:-.5px;margin:0;font-size:24px;line-height:1.2}.menu-dialog .dialog-close{color:#e2d9d1;background:#ffffff12;border:1px solid #ffffff20;border-radius:7px;place-items:center;width:44px;min-width:44px;height:44px;padding:10px;display:grid}.menu-dialog .dialog-close svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;width:20px;height:20px}.menu-dialog input{color:#f8ecdc;background:#201b27;border:1px solid #77647d;border-radius:7px;width:100%;height:44px;margin-top:10px;padding:10px 12px;font-size:15px}.menu-dialog footer{gap:12px;margin-top:16px}.menu-dialog footer button{border:1px solid #77647d;border-radius:7px;flex:1;height:36px;padding:6px 10px;font-size:13px;line-height:22px}.menu-dialog-error{color:#efb391;margin:14px 0 0}.menu-dialog-message{overflow-wrap:anywhere;margin:0;font-size:15px;line-height:1.5}@media (width<=400px){dialog.menu-dialog{padding:24px}}.deck-picker{border-top:1px solid #5b4256;gap:10px;margin-top:20px;padding-top:18px;display:grid}.deck-picker select{width:100%}.entrance>button{margin:12px 6px 0 0}.class-menu{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.class-option{white-space:nowrap;color:#cbbdd2;background:#ffffff05;border:1px solid #66546d;flex:1;justify-content:center;align-items:center;gap:8px;min-width:112px;padding:10px 14px;font-size:13px;display:flex}.class-option.active{color:#f5e8ff;background:#9c6bc224;border-color:#c5a1df;box-shadow:inset 0 0 13px #9c6bc213}.class-option .class-icon{width:25px;height:25px;color:inherit;flex:none}.deck-create{color:#ecdef6;border:1px solid var(--primary-action-border);background:0 0;justify-content:center;align-items:center;gap:10px;transition:border-color .2s,box-shadow .2s;display:flex;position:relative;box-shadow:0 0 13px #a36cce21,inset 0 0 13px #ac7cd314}.deck-create .hud-spells{color:#cfb0e7;filter:drop-shadow(0 0 4px #a673ca66);width:27px;height:27px}.deck-create:hover:enabled,.deck-create:focus-visible{filter:none;border-color:#d0a6ed;box-shadow:0 0 20px #b782e038,inset 0 0 18px #b782e020}.deck-builder{width:calc(100% - 64px);max-width:1780px;height:calc(100dvh - 76px);min-height:640px;padding:var(--menu-padding);color:#f4ece2;background:#241e2b;border:1px solid #5b4256;border-radius:10px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) clamp(270px,20vw,310px);column-gap:24px;margin:16px auto;display:grid;overflow:hidden}.deck-builder header{flex-shrink:0;align-items:flex-start}.deck-builder h2{margin:0;font-size:21px}.deck-builder h3{margin:0;font-size:16px}.deck-class-control{flex-grow:1;flex-shrink:0;align-items:center;gap:12px;margin-left:0;display:flex}.deck-class-control .class-menu{flex:1}.deck-saved-control{flex:1;min-width:160px;max-width:440px}.deck-builder select,.deck-builder input,.deck-builder textarea{width:100%;font:inherit;color:#f8ecdc;background:#201b27;border:1px solid #77647d;border-radius:6px;margin-top:6px;padding:8px}.deck-columns{display:contents}.deck-columns>.deck-pool{grid-area:2/1}.deck-columns>.deck-list-panel{grid-area:1/2/span 2;padding:6px 14px 14px}.deck-pool,.deck-list-panel{flex-direction:column;min-width:0;min-height:0;display:flex}.deck-list-heading{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;margin-top:6px;display:flex}.deck-controls{flex-direction:column;flex-shrink:0;display:flex}.deck-pool{isolation:isolate;background:#211a28;border-radius:10px;position:relative;overflow:hidden}.deck-pool:before,.deck-pool:after{content:"";z-index:1;pointer-events:none;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);height:10px;position:absolute;left:0;right:0}.deck-pool:before{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.deck-pool:after{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.deck-help{color:#bbaec1;margin:7px 0;font-size:12px}.deck-help-touch{display:none}@media (hover:none),(pointer:coarse){.deck-help-mouse{display:none}.deck-help-touch{display:inline}}.deck-card-art-control{white-space:nowrap;align-items:center;gap:8px;margin:0 0 0 auto;font-size:12px;display:flex}.deck-builder .deck-card-art-control select{width:auto;max-width:100%;margin-top:0}.deck-catalog{--catalog-card-scale:1.13;z-index:0;grid-template-columns:repeat(auto-fill,calc(var(--card-width) * var(--catalog-card-scale)));overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#74617b #201b27;flex:1;align-content:start;align-items:start;gap:14px 24px;min-height:0;padding:12px 24px;display:grid;position:relative;overflow-y:auto}.deck-catalog .spell{zoom:var(--catalog-card-scale);margin:0;animation:none;transform:none}.deck-catalog .spell:hover,.deck-catalog .spell:focus-within{z-index:auto;transform:none}.deck-catalog .spell.deck-added{outline-offset:2px;border-color:#d1afea;outline:2px solid #bd91e6;box-shadow:inset 0 1px #fff9,0 1px #dac9aa,0 2px #8e795d,0 0 13px #b58be666}.deck-catalog .spell.deck-added:before{content:"";border-radius:inherit;pointer-events:none;z-index:6;border:2px solid #c6a0e7;animation:3.6s ease-in-out infinite deck-added-glow;position:absolute;inset:-3px;box-shadow:0 0 12px #c797e65c,inset 0 0 6px #c797e61c}@keyframes deck-added-glow{0%,to{border-color:#c6a0e7;box-shadow:0 0 12px #c797e65c,inset 0 0 6px #c797e61c}50%{border-color:#d2afea;box-shadow:0 0 14px #ca9de86b,inset 0 0 7px #ca9de824}}@media (prefers-reduced-motion:reduce){.deck-catalog .spell.deck-added:before{animation:none}}.deck-compose-actions{flex-wrap:wrap;flex-shrink:0;gap:8px;margin-top:6px;display:flex}.deck-compose-actions>button{white-space:nowrap;flex:1}.deck-builder .deck-compose-actions>button{padding:8px;font-size:13px}.deck-clear{justify-content:center;align-items:center;gap:6px;display:flex}.deck-clear svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.deck-copies{color:#eee2f6;z-index:4;background:#241e2bdf;border-radius:4px;padding:2px 5px;font-size:10px;position:absolute;top:4px;right:4px}.deck-list-panel{background:#211a28;border-radius:10px;padding:16px}.deck-name-field{flex-shrink:0;align-items:center;min-width:0;display:flex;position:relative}.deck-builder .deck-name-field input{text-align:center;flex:1;min-width:0;height:30px;min-height:30px;margin:0;padding:3px 6px;font-size:18px}.deck-builder .deck-name-display{color:#f4ece2;text-align:center;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;width:100%;min-width:0;height:30px;min-height:30px;padding:2px 0;font-size:18px;font-weight:600;display:flex}.deck-name-display svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;color:#bfa5d0;flex:none;width:18px;height:18px}.deck-name-display span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.deck-name-field>[hidden]{display:none}.deck-name-saved{color:#a6e7c8;pointer-events:none;place-items:center;width:20px;height:20px;animation:1.8s ease-out both deck-name-saved;display:grid;position:absolute;top:50%;right:0;translate:0 -50%}.deck-name-saved svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}@keyframes deck-name-saved{0%{opacity:0}15%,75%{opacity:1;filter:drop-shadow(0 0 5px #8decc9)}to{opacity:0}}.deck-save-dirty{animation:2.2s ease-in-out infinite deck-save-pulse}@keyframes deck-save-pulse{0%,to{box-shadow:0 0 0 1px #e2c38b22,0 0 #e2c38b00}50%{box-shadow:0 0 0 2px #e2c38b99,0 0 14px #e2c38b44}}@media (prefers-reduced-motion:reduce){.deck-name-saved{filter:drop-shadow(0 0 3px #8decc9);animation:none}.deck-save-dirty{animation:none;box-shadow:0 0 0 2px #e2c38b99}}.deck-total{font-variant-numeric:tabular-nums;color:#dfbb86;font-size:18px}.deck-total.complete{color:#9ad1aa}.deck-list{flex:1;min-height:0;padding:3px 5px 4px 0;overflow-y:auto}.deck-row{text-align:left;background:#ffffff16;border:0;align-items:center;gap:4px;width:100%;margin-bottom:5px;padding:1px 3px 1px 1px;display:flex}.deck-row img,.deck-thumb{object-fit:cover;width:52px;height:43px;box-shadow:none;border:0;border-radius:4px;flex-shrink:0}.deck-row>span{flex:1;min-width:0}.deck-row strong{font-size:13px;display:block}.deck-row>.deck-row-mana{flex:none;place-items:center;width:28px;height:28px;display:grid;position:relative}.deck-row-mana .ui-symbol{width:28px;height:28px}.deck-row-mana .ui-symbol img{object-fit:contain;border-radius:0;width:100%;height:100%}.deck-row-mana>b{color:#fff;text-shadow:-1px -1px 1px #073a67,1px 1px 1px #073a67,0 1px 3px #001327;place-items:center;font-size:13px;font-weight:500;line-height:1;display:grid;position:absolute;inset:0}.deck-multiple{color:#ebce9b;white-space:nowrap;font-size:13px}.deck-empty{padding:24px 8px;font-size:14px}.deck-list-panel>button{flex-shrink:0;width:100%;margin-top:6px;font-size:15px}.deck-builder,.deck-picker{--deck-control-height:44px}.deck-builder button:where(:not(.spell-play):not(.spell-hit):not(.deck-row):not(.dialog-close)),.deck-picker button{height:var(--deck-control-height);min-height:var(--deck-control-height);border:1px solid #77647d;border-radius:7px;padding:10px 14px;font-size:15px;line-height:22px}.deck-class-control .class-option{color:#b8acbf;min-width:84px;height:56px;min-height:56px;box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;flex:1 0 84px;gap:3px;padding:4px 8px;font-size:12px;line-height:16px;position:relative}.deck-class-control .class-option .class-icon{width:28px;height:28px;transition:filter .18s,transform .18s}.deck-class-control .class-option.active{color:#ffe0a0;box-shadow:none;background:0 0;font-weight:600}.deck-class-control .class-option.active .class-icon{filter:drop-shadow(0 0 8px #e1bc7780);transform:scale(1.1)}.deck-class-control .class-option:hover:enabled{color:#f5e8ff}.deck-builder input,.deck-builder select,.deck-picker select{height:var(--deck-control-height);min-height:var(--deck-control-height);color:#f8ecdc;background:#201b27;border:1px solid #77647d;border-radius:7px;padding:10px 12px;font-size:15px;line-height:22px}.deck-draft-status{color:#c4b5cf;margin:0;padding:11px 0;font-size:14px}.spell.targetable{outline-offset:3px;outline:2px solid #87d9ef;box-shadow:0 0 14px #69c6e877}.deck-code-actions{--deck-control-height:34px;flex-shrink:0;align-items:center;gap:12px;min-width:0;margin-top:8px;display:flex}.deck-builder .deck-code-actions .deck-code-help{flex:none;width:28px;padding:2px}.deck-code-actions .deck-code-help svg{width:18px;height:18px}.deck-builder .deck-code-actions>button:not(.deck-code-help){white-space:nowrap;flex:1;place-items:center;min-width:0;padding:6px 8px;font-size:13px;display:grid}.deck-code-actions>button:not(.deck-code-help) svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}.deck-delete-dialog .deck-delete-confirm{color:#fff0ed;background:#8d4653}dialog.deck-help-dialog{overscroll-behavior:contain;scrollbar-color:#74617b #241e2b;width:min(620px,100% - 32px);max-height:calc(100dvh - 48px);overflow-y:auto}.deck-help-dialog h2{min-width:0}.deck-help-dialog .dialog-close{flex:none}.deck-help-section+.deck-help-section{margin-top:16px}.deck-help-section h3{color:#e2c398;margin:0 0 5px;font-size:15px}.deck-help-section p{text-align:justify;text-align-last:left;-webkit-hyphens:none;hyphens:none;margin:0;font-size:14px;line-height:1.55}@media (width<=480px){.deck-code-actions{gap:10px}}@media (width<=400px){.deck-builder .deck-code-actions .deck-code-help{width:24px;padding:0}}.deck-commit{--deck-control-height:34px;border-top:1px solid #77618266;flex-direction:column;flex-shrink:0;gap:8px;margin-top:8px;padding-top:8px;display:flex}.deck-feedback{color:#c4b5cf;flex-shrink:0;margin:12px 0 0;font-size:13px;line-height:1.45}.deck-commit-actions{flex-direction:column;gap:6px;display:flex}.deck-builder .deck-commit-actions button{white-space:nowrap;justify-content:center;align-items:center;gap:6px;width:100%;padding:6px 8px;font-size:13px;display:flex}.deck-commit-actions svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}.deck-save-hint{cursor:help;border-radius:7px;display:block}.deck-save-hint>button:disabled{pointer-events:none}.deck-save-hint:focus-visible{outline-offset:3px;outline:2px solid #c5a1df}@media (width<=1000px){.deck-class-control{flex-wrap:wrap;flex-shrink:1;width:auto;min-width:0}}@media (width<=700px){.deck-builder{width:calc(100% - 24px);height:auto;min-height:calc(100dvh - 96px);padding:var(--menu-padding);margin:12px;overflow:visible}.deck-class-control{flex-basis:100%;width:100%;margin-left:0}.deck-saved-control{max-width:none}.class-option{font-size:11px}.class-option .class-icon{width:21px;height:21px}}@media (width<=900px){.deck-builder{grid-template-rows:auto auto auto;grid-template-columns:minmax(0,1fr);row-gap:14px;height:auto;overflow:visible}.deck-columns>.deck-list-panel{grid-area:3/1}.deck-catalog{flex:none;height:50dvh;max-height:none}.deck-list{flex:none;height:280px;min-height:120px;max-height:280px}}:is(.spell-slot,.spell-stack)>.spell:hover,:is(.spell-slot,.spell-stack)>.spell.selected,:is(.spell-slot,.spell-stack)>.spell.dragging{animation:none;translate:none}:is(.spell-slot,.spell-stack)>.spell:has(:focus-visible){animation:none;translate:none}@media (prefers-reduced-motion:reduce){:is(.spell-slot,.spell-stack)>.spell{animation:none;translate:none}}:is(.spell-slot,.spell-stack):is(:hover,:has(:focus-visible))>.spell.playable:not(.dragging,.mana-short):has(>.spell-play>.spell-hit[data-action=spell]:enabled){filter:drop-shadow(0 0 2px #dcf6ff)drop-shadow(0 0 7px #83c8ffb3)drop-shadow(0 0 15px #9b6fe388);animation:2.4s ease-in-out infinite spell-magic-glow;translate:none}@keyframes spell-magic-glow{50%{filter:drop-shadow(0 0 3px #ecfaff)drop-shadow(0 0 10px #83c8ffcc)drop-shadow(0 0 20px #a780ed99)}}:is(.spell-slot,.spell-stack):is(:hover,:has(:focus-visible))>.spell.mana-short .gem{filter:drop-shadow(0 0 3px #ffb9a3)drop-shadow(0 0 8px #ff433fdd)drop-shadow(0 0 13px #c5232977)}@media (prefers-reduced-motion:reduce){:is(.spell-slot,.spell-stack):is(:hover,:has(:focus-visible))>.spell.playable:not(.dragging,.mana-short):has(>.spell-play>.spell-hit[data-action=spell]:enabled){animation:none}}:is(.scene:has(.hand-summary:hover) .combination-frame,.scene:has(.hand-summary:focus-visible) .combination-frame){outline-color:#ebcf8c;box-shadow:0 0 12px #e4bf6655}.spell-paper:before{content:"";z-index:-1;border-radius:inherit;pointer-events:none;opacity:.14;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='.45'/%3E%3C/svg%3E");position:absolute;inset:0}.combination-frame{width:100%;height:var(--poker-height);pointer-events:none;z-index:3;outline-offset:2px;border-radius:5px;outline:2px solid #0000;transition:outline-color .22s,box-shadow .3s;position:absolute;top:0;left:0}.hud-action.all-in{color:#ffd096;font-weight:700}.all-in-chip{background:linear-gradient(160deg,#ffffff50,transparent 65%),var(--chip);color:#fff;text-shadow:0 1px 1px #0009;width:42px;height:23px;box-shadow:0 2px 0 color-mix(in srgb,var(--chip),#17111b 45%),inset 0 1px #ffffff60;filter:drop-shadow(1px 3px 2px #0007);border:2px dashed #f8eddbbd;border-radius:50%;place-items:center;font-size:11px;font-weight:700;line-height:1;display:inline-grid}.poker.ethereal{background:linear-gradient(125deg,#fff8e8 20%,color-mix(in srgb,var(--ethereal-color,#c4ace1) 17%,#fff8ed) 46%,color-mix(in srgb,var(--ethereal-color,#c4ace1) 27%,#fff) 62%,#fff4df 85%);border-color:color-mix(in srgb,var(--ethereal-color,#c4ace1) 65%,#b6a9c6);box-shadow:inset 0 0 0 1px #fff9,0 0 9px color-mix(in srgb,var(--ethereal-color,#c4ace1) 35%,transparent);animation:ethereal-edge var(--ethereal-duration,7s) ease-in-out var(--ethereal-delay,0s) infinite;-webkit-mask-image:linear-gradient(#000 0 72%,#000b 86%,#0003 97%,#0000 100%);mask-image:linear-gradient(#000 0 72%,#000b 86%,#0003 97%,#0000 100%);-webkit-mask-size:100% 106%;mask-size:100% 106%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.poker.ethereal .rank,.poker.ethereal .suit{z-index:1}.poker-wrap:has(.poker.ethereal):after{content:"";left:8px;right:8px;top:calc(var(--poker-height) * .79);height:calc(var(--poker-height) * .27);pointer-events:none;background:radial-gradient(ellipse at 22% 0,color-mix(in srgb,var(--ethereal-color,#c4ace1) 42%,transparent),transparent 65%),radial-gradient(ellipse at 78% 0,color-mix(in srgb,var(--ethereal-color,#c4ace1) 32%,transparent),transparent 65%);filter:blur(2px);opacity:.65;animation:ethereal-mist var(--ethereal-duration,7s) ease-in-out var(--ethereal-delay,0s) infinite;position:absolute}@keyframes ethereal-edge{0%,to{-webkit-mask-position:0 0;mask-position:0 0}50%{-webkit-mask-position:0 -5px;mask-position:0 -5px}}@keyframes ethereal-mist{0%,to{opacity:.55;transform:translate(-2px)scaleX(.94)}50%{opacity:.72;transform:translate(2px,3px)scaleX(1.06)}}@media (prefers-reduced-motion:reduce){.poker.ethereal{animation:none}.poker-wrap:has(.poker.ethereal):after{animation:none}}.poker.ethereal .property{color:#397b91}.poker-wrap[data-poker-property=Precious]>.poker{background:#eff5fa url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2076%20104%22%20preserveAspectRatio%3D%22none%22%3E%3Cpolygon%20points%3D%223%2C0%2073%2C0%2070%2C4%206%2C4%22%20fill%3D%22%23fffefc%22%2F%3E%3Cpolygon%20points%3D%2273%2C0%2076%2C3%2072%2C6%2070%2C4%22%20fill%3D%22%23eff4f8%22%2F%3E%3Cpolygon%20points%3D%2276%2C3%2076%2C101%2072%2C98%2072%2C6%22%20fill%3D%22%23dce7ef%22%2F%3E%3Cpolygon%20points%3D%2276%2C101%2073%2C104%2070%2C100%2072%2C98%22%20fill%3D%22%23d4e0e9%22%2F%3E%3Cpolygon%20points%3D%2273%2C104%203%2C104%206%2C100%2070%2C100%22%20fill%3D%22%23dae6ef%22%2F%3E%3Cpolygon%20points%3D%223%2C104%200%2C101%204%2C98%206%2C100%22%20fill%3D%22%23e5eef4%22%2F%3E%3Cpolygon%20points%3D%220%2C101%200%2C3%204%2C6%204%2C98%22%20fill%3D%22%23f4f9fc%22%2F%3E%3Cpolygon%20points%3D%220%2C3%203%2C0%206%2C4%204%2C6%22%20fill%3D%22%23fff%22%2F%3E%3Cpolygon%20points%3D%226%2C4%2070%2C4%2072%2C6%2072%2C98%2070%2C100%206%2C100%204%2C98%204%2C6%22%20fill%3D%22%23eff5fa%22%2F%3E%3Cpolygon%20points%3D%226%2C4%2038%2C4%2038%2C21%2015%2C52%204%2C52%22%20fill%3D%22%23e5eef6%22%2F%3E%3Cpolygon%20points%3D%2238%2C4%2070%2C4%2072%2C52%2061%2C52%2038%2C21%22%20fill%3D%22%23fcfdfe%22%2F%3E%3Cpolygon%20points%3D%2272%2C52%2070%2C100%2038%2C100%2038%2C83%2061%2C52%22%20fill%3D%22%23dfeaf3%22%2F%3E%3Cpolygon%20points%3D%2238%2C100%206%2C100%204%2C52%2015%2C52%2038%2C83%22%20fill%3D%22%23edf4f9%22%2F%3E%3Cpolygon%20points%3D%2238%2C21%2061%2C52%2038%2C83%2015%2C52%22%20fill%3D%22%23f4f8fc%22%20stroke%3D%22%23c9d9e5%22%20stroke-opacity%3D%22.28%22%20stroke-width%3D%22.4%22%2F%3E%3Cpath%20d%3D%22M38%204V21M72%2052H61M38%20100V83M4%2052H15%22%20stroke%3D%22%23bfcfdd%22%20stroke-opacity%3D%22.22%22%20stroke-width%3D%22.4%22%2F%3E%3C%2Fsvg%3E) 50%/100% 100% no-repeat;border-color:#9faebb;box-shadow:inset 1px 1px 1px #fff9,inset -1px -1px 1px #8fa6b344,0 0 8px #e2eaf333}.poker-wrap[data-poker-property=Precious]>.poker:after{content:"";pointer-events:none;border-radius:inherit;opacity:.2;animation:crystal-faces var(--property-duration,8s) ease-in-out var(--property-delay,0s) infinite;background:linear-gradient(125deg,#0000 25%,#fff5 43%,#e2f4ff33 53%,#0000 68%);position:absolute;inset:1px}.poker-wrap[data-poker-property=Precious]>.poker :is(.rank,.suit){z-index:1}@keyframes crystal-faces{0%,to{opacity:.15}50%{opacity:.5}}@media (prefers-reduced-motion:reduce){.poker-wrap[data-poker-property=Precious]>.poker:after{opacity:.25;animation:none}}.poker-particles{width:100%;height:var(--poker-height);pointer-events:none;z-index:4;position:absolute;top:0;left:0}.poker-particle-flight{pointer-events:none;width:0;height:0;position:absolute}.poker-particle-flight i{color:#cbe5ff;offset-anchor:center;pointer-events:none;border-radius:50%;position:absolute;box-shadow:0 0 4px}.conductive-arc{pointer-events:none;position:absolute;inset:0}.conductive-arc i,.conductive-arc svg{width:100%;height:100%;display:block}.conductive-arc svg{filter:drop-shadow(0 0 2px #65d9aa99)}.conductive-arc polyline{fill:none;stroke-linecap:round;stroke-linejoin:round}.arc-glow{stroke:#409a87;stroke-width:2.1px;opacity:.55}.arc-core{stroke:#d2fff0;stroke-width:.85px}@media (prefers-reduced-motion:reduce){.poker-particles{display:none}}.property-ambient{width:100%;height:var(--poker-height);pointer-events:none;position:absolute;top:0;left:0}.property-ambient i{opacity:0;pointer-events:none;animation-duration:var(--property-duration,8s);animation-delay:var(--property-delay,0s);animation-timing-function:ease-in-out;animation-iteration-count:infinite;position:absolute}.property-ambient i+i{animation-delay:calc(var(--property-delay,0s) - 2.7s)}.protected-field{width:calc(100% + 32px);height:calc(var(--poker-height) + 32px);pointer-events:none;z-index:2;transform-origin:50%;animation:shield-sway 7s ease-in-out var(--shield-sway-delay,0s) infinite,shield-region 16s ease-in-out var(--shield-region-delay,0s) infinite;position:absolute;top:-16px;left:-16px;overflow:visible;-webkit-mask-image:radial-gradient(17% 20%,#000 20%,#0000 100%),linear-gradient(90deg,#0000,#000 15% 85%,#0000),linear-gradient(#0000,#000 12% 88%,#0000);mask-image:radial-gradient(17% 20%,#000 20%,#0000 100%),linear-gradient(90deg,#0000,#000 15% 85%,#0000),linear-gradient(#0000,#000 12% 88%,#0000);-webkit-mask-position:20% 20%,50%,50%;mask-position:20% 20%,50%,50%;-webkit-mask-size:180% 180%,100% 100%,100% 100%;mask-size:180% 180%,100% 100%,100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-composite:source-in;mask-composite:intersect}.shield-cell{fill:var(--cell-color,#f5e66c);fill-opacity:.16;stroke:none}.shield-grid{fill:none;stroke:#c59445;stroke-opacity:.42;stroke-width:1.4px;stroke-linejoin:round;stroke-linecap:round}.shield-cell-glint{animation:shield-glint 10s ease-in-out calc(var(--shield-glint-delay,0s) + var(--cell-delay,0s)) infinite}@keyframes shield-sway{0%,to{transform:translate(-.6px)rotate(-.6deg)}50%{transform:translate(.6px,-.5px)rotate(.6deg)}}@keyframes shield-region{0%,to{-webkit-mask-position:20% 20%,50%,50%;mask-position:20% 20%,50%,50%}25%{-webkit-mask-position:80% 32%,50%,50%;mask-position:80% 32%,50%,50%}50%{-webkit-mask-position:62% 80%,50%,50%;mask-position:62% 80%,50%,50%}75%{-webkit-mask-position:20% 60%,50%,50%;mask-position:20% 60%,50%,50%}}@keyframes shield-glint{0%,35%,70%,to{fill-opacity:.16}52%{fill-opacity:.23}}@media (prefers-reduced-motion:reduce){.protected-field,.shield-cell-glint{animation:none}}.poker-wrap[data-poker-property=DualSuit] .property-ambient i{background:radial-gradient(#fff2cb88,#0000 72%);border-radius:50%;width:14px;height:21px;animation-name:property-dual;top:42%;left:calc(50% - 15px)}.poker-wrap[data-poker-property=DualSuit] .property-ambient i+i{animation-delay:calc(var(--property-delay,0s) - var(--property-duration,8s)/2);left:50%}.repeating-return{pointer-events:none;z-index:2;width:100%;height:14px;position:absolute;top:-12px;left:0;overflow:visible}.repeating-return path{fill:none;stroke-linecap:round;stroke-linejoin:round}.repeating-return .return-glow{stroke:#f3a048;stroke-width:3px;filter:blur(1.2px);opacity:.28}.repeating-return .return-strand{stroke:#f3a044;stroke-width:1.2px;opacity:.78}.repeating-return .return-core{stroke:#ffe7b7;stroke-width:.4px;opacity:.7}.repeating-return .return-pulse{stroke:#fff2b0;stroke-width:2px;stroke-dasharray:3 97;filter:blur(.35px);animation:return-pulse 3s linear var(--property-delay,0s) infinite}.repeating-return .return-pulse-second{animation-delay:calc(var(--property-delay,0s) + .75s)}@keyframes return-pulse{0%{opacity:0;stroke-dashoffset:3px}7%,90%{opacity:.95}to{opacity:0;stroke-dashoffset:-100px}}@media (prefers-reduced-motion:reduce){.repeating-return .return-pulse{display:none}}@keyframes property-dual{0%,to{opacity:.08}50%{opacity:.55}}@media (prefers-reduced-motion:reduce){.property-ambient{display:none}}.poker-wrap[data-poker-property=Sharp] .property-ambient i:first-child{filter:blur(2.3px);background:linear-gradient(90deg,#0000,#c84b6266 30%,#ed939b99 55%,#0000);border-radius:50%;width:12px;height:83%;animation-name:property-blade-wash;top:7%;left:4px;-webkit-mask-image:linear-gradient(#0000,#000 20% 80%,#0000);mask-image:linear-gradient(#0000,#000 20% 80%,#0000)}@keyframes property-blade-wash{0%,12%{opacity:0;transform:translateY(-4px)}28%{opacity:.85}49%,to{opacity:0;transform:translateY(4px)}}@media (prefers-reduced-motion:reduce){.poker-wrap[data-poker-property=Conductive]>.poker{animation:none;translate:none}}.choices.spell-choices{grid-template-columns:repeat(auto-fit,230px);justify-content:center;align-items:start;display:grid}.choices .spell-play{color:inherit;background:radial-gradient(at 30% 80%,#fff5,#0000 75%);gap:0;padding:0}.choices .spell-play[aria-pressed=true]{background:radial-gradient(at 30% 80%,#fff5,#0000 75%);outline:none}.spell-choice.chosen{outline:3px solid var(--gold);box-shadow:0 0 16px #e1bc7755}.spell-choice .choice-selected{color:#725323;margin-top:auto;padding-top:5px;font-size:11px;line-height:1.2}.spell-choices>button{align-self:end;min-height:44px}.spell-choice .spell-play:enabled{cursor:pointer}.poker.resistant{background:repeating-linear-gradient(0deg,#0000 0 2px,#52616c08 2px 3px,#0000 3px 5px),linear-gradient(115deg,#e1e5e7 0%,#d2d8dc 38%,#c5cdd2 72%,#cdd4d8 100%);border:1px solid #7c8992;box-shadow:inset 1px 1px #ffffffb3,inset -1px -1px #61717d77,inset 0 0 0 1px #edf2f433,0 2px 3px #141b254d}.dual-suit{font-size:calc(var(--poker-width) * 29 / 76);letter-spacing:-3px}.deck-picker .deck-create{border-color:#b78bd39c}.log-spell-group{overflow-wrap:anywhere;margin:0;padding:0}.log-group-heading{color:#553a50;font-weight:600}.log-group-effects{margin:0}.log-group-effects>div,.log-cast-line{padding:0 3px}.resource-row,.hud-action{border-radius:4px}.bet-chip-trail{z-index:124;background:var(--chip);filter:blur(3px);pointer-events:none;border-radius:50%;width:15px;height:7px;position:fixed}.poker-card-tooltip{z-index:180;color:#f8ecdc;pointer-events:none;background:linear-gradient(145deg,#3a2c45f5,#211b2bf5);border:1px solid #a58fbb88;border-radius:10px;width:max-content;max-width:min(290px,100vw - 24px);padding:12px 15px;font-size:14px;line-height:1.45;position:fixed;box-shadow:0 8px 24px #0008,0 0 12px #aa89cf18}.poker-card-tooltip strong{color:#ffe7b5;font-size:18px;display:block}.tooltip-property{color:#d7b6ee;margin-top:5px;font-weight:600;display:block}.poker-card-tooltip p{color:#e1d5e7;text-align:justify;text-align-last:left;-webkit-hyphens:none;hyphens:none;unicode-bidi:isolate;margin:5px 0 0;overflow:hidden}.editor-help-tooltip{overscroll-behavior:contain;pointer-events:auto;scrollbar-color:#74617b #302536;overflow-y:auto}.editor-help-tooltip .tooltip-section{margin-top:12px}.editor-help-tooltip .tooltip-section strong{color:#e2c398;font-size:14px}.editor-help-tooltip .tooltip-section p{margin-top:3px}.ui-symbol{vertical-align:-.4em;outline-offset:2px;flex:none;justify-content:center;align-items:center;width:1.6em;height:1.6em;line-height:1;display:inline-flex;position:relative}body[data-mana-art=v9] .ui-symbol[data-symbol=mana] img{content:url(/assets/mana-v9-Bu6gjxiD.png)}body[data-mana-art=v8] .ui-symbol[data-symbol=mana] img{content:url(/assets/mana-v8-btDSJyu3.png)}body[data-mana-art=v7] .ui-symbol[data-symbol=mana] img{content:url(/assets/mana-v7-CASsy5Jc.png)}body[data-mana-art=v6] .ui-symbol[data-symbol=mana] img{content:url(/assets/mana-v6-CGdLrXUZ.png)}.ui-symbol img{object-fit:contain;pointer-events:none;width:100%;height:100%;display:block}.ui-symbol[data-symbol-tip]{cursor:help;pointer-events:auto}.ui-symbol:focus-visible{border-radius:4px;outline:2px solid #c99a46}.ui-symbol.symbol-pair{width:2.5em}.symbol-pair img{width:55%;margin:0 -5%}.symbol-amount{white-space:nowrap}.spell-hit,.hud-hit{border-radius:inherit;width:100%;height:100%;box-shadow:none;color:inherit;z-index:1;border:0;padding:0;position:absolute;inset:0;background:0 0!important}.spell-hit{touch-action:none}.spell-hit:disabled,.hud-hit:disabled{opacity:1}.spell-play>.spell-art,.spell-play>.spell-title,.spell-play>.spell-paper,.spell-play>.deck-copies{pointer-events:none}.spell-play>.spell-paper,.spell-play .ui-symbol[data-symbol-tip]{z-index:2}.spell-play .effect{z-index:2;position:relative}.gem .ui-symbol[data-symbol-tip]{pointer-events:auto}.spell-hit:focus-visible{outline-offset:3px;outline:3px solid #e6b957}.player-hud>.hud-name,.player-hud>.resources{pointer-events:none}.player-hud .ui-symbol[data-symbol-tip]{z-index:2}.player-hud .resources .ui-symbol{width:24px;height:24px}.player-hud.framed-hud{width:310px;height:136px;box-shadow:none;background:0 0;border-radius:12px;padding:0;display:block}.active .player-hud.framed-hud{box-shadow:none;background:0 0}.framed-hud:before{content:"";background:var(--player-hud-frame) center/100% 100% no-repeat;pointer-events:none;z-index:2;position:absolute;inset:0}.poker-hand-cloth{background:var(--player-hud-cloth) center/100% 100% no-repeat;pointer-events:none;z-index:0;width:296px;height:194px;position:absolute;top:112px;left:7px}.active .framed-hud:before{filter:brightness(1.12)drop-shadow(0 0 2px #fff5d7aa)drop-shadow(0 0 8px #ffe3a680)}.hud-portrait{pointer-events:none;z-index:1;background:radial-gradient(at 50% 30%,#5d4235,#211a22) 0 0/300% no-repeat;border-radius:45% 45% 5% 5%/14% 14% 5% 5%;place-items:center;width:28%;height:80%;display:grid;position:absolute;top:10%;left:7.5%;overflow:hidden}.hud-details{pointer-events:none;z-index:5;flex-direction:column;justify-content:space-between;gap:4px;display:flex;position:absolute;inset:calc(20% + 5px) calc(8% + 5px) calc(19% + 5px) calc(40% + 5px)}.framed-hud .hud-name{justify-content:center;gap:7px}.framed-hud .hud-name strong{text-overflow:ellipsis;min-width:0;font-size:16px;overflow:hidden}.framed-hud .hud-name .class-icon{flex-shrink:0;width:25px;height:25px}.framed-hud .resources{justify-content:space-between;gap:6px;padding:0;font-size:15px;display:flex}.framed-hud .resources .resource-row{gap:3px;padding:0}.framed-hud .resources .ui-symbol{flex-shrink:0;width:21px;height:21px}.hud-status{color:#98939a;text-shadow:0 1px 2px #0008;justify-content:center;align-items:center;gap:7px;min-height:19px;display:flex}.hud-status small{color:inherit;font-size:13px}.framed-hud .hud-action{color:inherit;font-size:14px}.framed-hud .hud-hit{z-index:4}.framed-hud .ui-symbol[data-symbol-tip]{pointer-events:auto;z-index:5}.framed-hud .resource-row[data-symbol-tip]{pointer-events:auto;cursor:help}.flow-resources [data-symbol-tip]{cursor:help}.folded-in-deal .hud-portrait{filter:grayscale()}.folded-in-deal .hud-name strong{color:#98939a}.player.local{left:calc(var(--personal-left) - 14px);width:310px;top:34%}.local .poker-hand{z-index:3;justify-content:center;gap:6px;width:100%;margin:4px 0 0;position:relative}.local .poker-hand .poker-wrap{transform-origin:bottom;transform:rotate(-3deg)}.local .poker-hand .poker-wrap:nth-child(2){transform:rotate(3deg)}.player.opponent{--poker-width:44px;--poker-height:calc(var(--poker-width) * var(--poker-ratio));width:310px;top:9%;right:4%}.opponent .poker-hand{width:96px;height:88px;margin:0;display:block;position:absolute;top:134px;left:54px}.opponent .poker-hand .poker-wrap{z-index:1;transform-origin:50% 100%;position:absolute;top:0;left:14px;transform:rotate(-5deg)}.opponent .poker-hand .poker-wrap:nth-child(2){z-index:2;top:0;left:38px;transform:rotate(5deg)}.opponent .poker-hand .poker{width:var(--poker-width);height:var(--poker-height);box-shadow:0 3px 6px #0005}.local .hand-summary-area{z-index:3;flex-direction:column;align-items:center;gap:3px;width:100%;margin:12px 0 0;padding:0 10px;display:flex;position:relative}.local .hand-summary{white-space:normal;font-weight:700}.scene>.local-bankroll{z-index:3;white-space:nowrap;position:absolute;top:476.24px;left:317.2px}.scene>.opponent-bankroll{z-index:3;white-space:nowrap;position:absolute;top:311.24px;left:1485.2px}.player.opponent .opponent-spells{justify-content:center;width:60px;top:134px;left:162px;right:auto}.scene.multiplayer .player[data-table-seat=upper-left]{top:5%;left:calc(3% + 200px);right:auto}.scene.multiplayer .player[data-table-seat=top-center]{top:5%;left:calc(50% + 165px);right:auto}.scene.multiplayer .player[data-table-seat=upper-right]{top:calc(5% + 30px);right:calc(4% - 80px)}.scene.multiplayer .player[data-table-seat=lower-right]{top:43%;right:4%}.scene.multiplayer .table-bet[data-table-seat=local]{left:-280px}.scene.multiplayer .table-bet[data-table-seat=upper-left]{left:-140px}.scene.multiplayer .table-bet[data-table-seat=top-center]{left:0}.scene.multiplayer .table-bet[data-table-seat=upper-right]{left:140px}.scene.multiplayer .table-bet[data-table-seat=lower-right]{left:280px}.scene[data-player-count="3"] .table-bet[data-table-seat=local]{left:-160px}.scene[data-player-count="3"] .table-bet[data-table-seat=upper-left]{left:0}.scene[data-player-count="3"] .table-bet[data-table-seat=upper-right]{left:160px}.scene[data-player-count="4"] .table-bet[data-table-seat=local]{left:-210px}.scene[data-player-count="4"] .table-bet[data-table-seat=upper-left]{left:-70px}.scene[data-player-count="4"] .table-bet[data-table-seat=upper-right]{left:70px}.scene[data-player-count="4"] .table-bet[data-table-seat=lower-right]{left:210px}.table-bet[data-table-seat=departed]{display:none}.scene.multiplayer>.opponent-bankroll[data-table-seat=upper-left]{top:275px;left:510px}.scene.multiplayer>.opponent-bankroll[data-table-seat=top-center]{top:280px;left:1362px}.scene.multiplayer>.opponent-bankroll[data-table-seat=upper-right]{top:330px;left:1640px}.scene.multiplayer>.opponent-bankroll[data-table-seat=lower-right]{top:485.48px;left:1425.2px}.hud-spells{vertical-align:middle;width:24px;height:24px;display:inline-flex}.hud-spells .ui-symbol{width:100%;height:100%}.flow-mana>.ui-symbol{width:24px;height:24px}.flow-draw>.ui-symbol{width:21px;height:26px}.poker-wrap[data-poker-property=Conductive]>.property{z-index:5}.property .ui-symbol{width:28px;height:28px}.sleeping-blanket{left:-3px;top:calc(var(--poker-height) * (1 - var(--blanket-height,.27)) + 2px);width:calc(100% + 6px);height:calc(var(--poker-height) * var(--blanket-height,.27));object-fit:fill;pointer-events:none;z-index:2;filter:drop-shadow(0 1px 1px #3d2c4340);position:absolute}.sleeping-letters{pointer-events:none;z-index:4;width:10px;height:12px;position:absolute;top:8px;right:-1px}.sleeping-letters i{color:#92749f;text-shadow:0 0 2px #fff9;opacity:0;animation:sleeping-exhale 4.4s ease-in-out var(--sleep-delay,0s) infinite;font:700 11px Georgia,serif;position:absolute;top:0;left:0}.sleeping-letters i:nth-child(2){animation-delay:calc(var(--sleep-delay,0s) + .34s)}.sleeping-letters i:nth-child(3){animation-delay:calc(var(--sleep-delay,0s) + .68s)}@keyframes sleeping-exhale{0%,43%{opacity:0;transform:translate(0)scale(.8)}53%{opacity:.85}78%{opacity:.5}92%,to{opacity:0;transform:translate(5px,-22px)scale(1.1)}}@media (prefers-reduced-motion:reduce){.sleeping-letters{display:none}}.property-target-feedback :is(.property,.dual-suit) .ui-symbol{animation:2s ease-in-out property-target-highlight}.property-target-message{color:#ffe1a6;text-align:center;pointer-events:none;z-index:140;background:#302534ee;border-radius:6px;width:max-content;max-width:260px;padding:6px 10px;font-size:14px;line-height:1.3;animation:2s ease-in-out property-target-message;position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%)}@keyframes property-target-highlight{0%,to{filter:none;transform:scale(1)}12%,78%{filter:brightness(1.2)drop-shadow(0 0 5px #edc67d99);transform:scale(1.15)}}@keyframes property-target-message{0%,to{opacity:0}12%,85%{opacity:1}}@media (prefers-reduced-motion:reduce){.property-target-feedback :is(.property,.dual-suit) .ui-symbol{filter:brightness(1.2)drop-shadow(0 0 5px #edc67d99);animation:none}.property-target-message{animation:none}}.poker .suit .ui-symbol{vertical-align:-.15em;width:1.2em;height:1.2em}.poker .suit.dual-suit .ui-symbol{width:1.5em}.symbol-tooltip{z-index:300;pointer-events:none}.symbol-tooltip .ui-symbol{width:22px;height:22px}.symbol-tooltip .symbol-tooltip-title{align-items:center;gap:8px;line-height:1.25;display:flex}.symbol-tooltip-title .ui-symbol{flex-shrink:0}.spell[data-card-layout=full] .effect .ui-symbol{width:1.5em;height:1.5em}.spell[data-card-layout=full] .effect .symbol-pair{width:2.3em}.spell.bonus-active>.spell-play{box-shadow:0 0 0 2px #fbb35d,0 0 16px #ef8d36a0,inset 0 0 7px #ffa13a55}.deck-order-note{color:#d3c3d9;flex-basis:100%;font-size:14px}.deck-content-card{flex-direction:column;align-items:center;gap:6px;display:flex}.deck-content-card .spell{flex:none}dialog.pile-dialog{height:fit-content;width:min(max(260px,calc(150px * var(--scene-scale,1) * var(--spell-hand-scale) * var(--pile-columns) + 15px * (var(--pile-columns) - 1) + 48px)),94vw);margin:auto;inset:0}.inspection.pile-inspection{grid-template-columns:repeat(var(--pile-columns),minmax(0,1fr));align-items:start;gap:15px;display:grid}.pile-inspection>.deck-order-note,.pile-inspection>p{grid-column:1/-1}.inspection.pile-inspection .spell{zoom:calc(var(--scene-scale,1) * var(--spell-hand-scale));flex:0 0 150px;width:150px;height:240px;min-height:0;margin:0;transition:none;animation:none;transform:translate(0,0)}.pile-inspection .deck-content-card .spell{flex:none}.poker.magic-back{background:transparent var(--spell-back-image,url(/assets/spell-back-v1-BsEmqpr4.png)) center/100% 100% no-repeat;width:var(--poker-width);height:calc(var(--poker-width) * var(--spell-ratio));border:0}.poker.magic-back .magic-symbol{display:none}.magic-symbol{text-shadow:0 0 5px #ffffff30;font-size:36px;font-style:normal;line-height:1}.opponent-spells{align-items:center;gap:10px;width:190px;display:flex;position:absolute;top:96px;right:calc(100% + 22px)}.opponent-pile{color:#cfc1d7;flex-direction:column;align-items:center;gap:3px;font-size:10px;display:flex}.opponent-pile:is(button){cursor:pointer;background:0 0;border:0;padding:0}.opponent-pile:is(button):hover{filter:brightness(1.15)}.opponent-pile .magic-symbol{font-size:23px}.opponent-pile .poker{width:31.5px;height:calc(31.5px * var(--spell-ratio));border-width:1px;place-items:center;font-size:17px;display:grid;box-shadow:2px 2px #382344,4px 4px #211726}.player.opponent .opponent-pile .poker{width:var(--poker-width);height:calc(var(--poker-width) * var(--spell-ratio));transform-origin:bottom;transform:rotate(5deg);box-shadow:0 3px 6px #0005}.player.opponent .opponent-pile{gap:0;width:60px;position:relative}.player.opponent .opponent-pile .poker.discard-stack{box-shadow:2px 2px #665163,4px 4px #30232e,0 3px 6px #0005}.player.opponent .opponent-pile small{white-space:nowrap;color:#fff8ee;text-shadow:0 1px 2px #000b;background:#151018b3;border-radius:3px;padding:2px 3px;font-size:12px;font-weight:500;line-height:1.25;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.remote-aim{z-index:105;pointer-events:none;width:100vw;height:100vh;position:fixed;inset:0}.aim,.remote-aim{--aim-color:#ecad43;overflow:visible}:is(.aim,.remote-aim) [data-aim-path]{stroke-linecap:round;stroke-linejoin:round}.aim-glow{stroke:var(--aim-color);stroke-width:9px;filter:blur(3px);opacity:.27}.aim-strand{stroke:var(--aim-color);stroke-width:3.4px;opacity:.85}.aim-core{stroke:#ffedbf;stroke-width:1.3px;opacity:.9}.aim-tip{fill:var(--aim-color);stroke:#ffe8ae;stroke-width:.6px}.aim-source{fill:#fff0cb;stroke:var(--aim-color);stroke-width:1.5px}.aim-ring{fill:none;stroke:var(--aim-color);stroke-width:1.4px;opacity:0}:is(.aim,.remote-aim)[data-locked=true] .aim-ring{opacity:.85}:is(.aim,.remote-aim)[data-locked=true] .aim-glow{opacity:.4}.aim-pulse{stroke:#fff3ce;stroke-width:2.2px;stroke-dasharray:18 982;opacity:.7;animation:2.8s linear infinite aim-thread-pulse}@keyframes aim-thread-pulse{0%{stroke-dashoffset:0}to{stroke-dashoffset:-1000px}}@media (prefers-reduced-motion:reduce){.aim-pulse{display:none}}.remote-aim-target{filter:drop-shadow(0 0 7px var(--aim-color))}.presentation-card,.presentation-poker{z-index:130;pointer-events:none;transform-origin:50%;perspective:700px;will-change:transform,opacity;position:fixed;top:0;left:0}.presentation-card{width:150px;height:240px}.presentation-card>.spell{width:150px;height:240px;margin:0;animation:none;transform:none}.presentation-card>.spell .spell-play{opacity:1;width:100%;height:100%}.local-cast>.spell{box-shadow:0 0 12px #e9d7ff88,0 0 28px var(--chip),inset 0 0 8px #fff9}.discard-dive>.spell,.discard-dive>.presentation-cover{backface-visibility:hidden}.presentation-back,.presentation-cover{background:transparent var(--spell-back-image,url(/assets/spell-back-v1-BsEmqpr4.png)) center/100% 100% no-repeat;border:0;border-radius:8px;font-size:0;position:absolute;inset:0;box-shadow:0 5px 12px #0006}.presentation-poker{--poker-width:66px;--poker-height:calc(var(--poker-width) * var(--poker-ratio));width:var(--poker-width);height:var(--poker-height)}.presentation-poker .poker{width:66px;height:calc(66px * var(--poker-ratio));opacity:1;margin:0}.card-trail{z-index:129;filter:blur(3px);pointer-events:none;background:radial-gradient(#e6d5ff77,#0000 70%);border-radius:50%;width:18px;height:32px;position:fixed;top:-16px;left:-9px}.ash-particle{z-index:131;pointer-events:none;background:#b1a395;border-radius:40%;width:4px;height:4px;position:fixed;top:-2px;left:-2px}.chip-impact{border:2px solid var(--impact-color);width:44px;height:44px;box-shadow:0 0 16px var(--impact-color);z-index:130;pointer-events:none;background:radial-gradient(circle,#e5d9f9cc,#0000 42%);border-radius:50%;position:fixed;top:-22px;left:-22px}.lost-chip{background:var(--chip);z-index:131;pointer-events:none;border:2px dashed #f5eed0aa;border-radius:50%;width:20px;height:10px;position:fixed;top:-5px;left:-10px;box-shadow:0 2px #211624}.chip-loss-label{z-index:132;color:#f0adbb;text-shadow:0 2px 3px #1b1424;pointer-events:none;font-size:23px;font-weight:700;position:fixed;top:0;left:0}.symbol-alternatives{vertical-align:middle;white-space:nowrap;align-items:center;gap:2px;display:inline-flex}.symbol-alternatives>.ui-symbol{width:1.7em}.symbol-sequence{white-space:nowrap;vertical-align:middle;display:inline-flex}.symbol-sequence .ui-symbol{margin:0 -1px}:is(.spell-slot,.spell-stack)>.spell.chosen{z-index:45;animation:none;transform:translateY(-32px)rotate(0)translate(0,0)}.spell-hand .choice-selected,.choice-pool .choice-selected{display:none}.choice-confirm{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.choice-confirm button{white-space:nowrap;color:#fff0d4;background:#65416f}.spell-hint:has(.choice-confirm){text-align:center;align-items:center;height:28px;font-size:13px}.spell-hint .choice-confirm{flex-wrap:nowrap;flex-shrink:0}.spell-hint .choice-confirm button{border-radius:4px;padding:3px 8px;font-weight:750;line-height:18px}.choice-submit-label{animation:1.1s ease-in-out 2 choice-attention-pulse;display:inline-block}dialog.card-choice-dialog{height:fit-content;width:min(calc(166px * var(--pool-columns,6) + 74px),94vw);margin:auto;inset:0;overflow:auto}.card-choice-dialog footer{z-index:60;background:#282130;padding:16px 0 4px;position:sticky;bottom:-16px}.choice-pool{background:#1b152480;border:1px solid #76677d;border-radius:10px;min-width:0;padding:40px 20px 24px}.choice-hand{--step:min(166px,calc((min(980px,94vw - 74px) - 150px) / max(1,var(--count) - 1)));justify-content:center;display:flex}.choice-pool .spell{--angle:0deg;--arc:0;flex:0 0 150px;width:150px;height:240px;animation:none;translate:none}.choice-hand .spell{margin-left:calc(var(--step) - 150px)}.choice-hand .spell:first-child{margin-left:0}.choice-pool .spell.chosen,.choice-poker.chosen{outline:3px solid var(--gold);z-index:45;transform:translateY(-20px);box-shadow:0 0 16px #e1bc7755}.choice-grid{grid-template-columns:repeat(auto-fit,150px);justify-content:center;gap:38px 18px;max-height:60dvh;display:grid;overflow:auto}.choice-grid .spell{margin:0}.choice-poker{color:#eee1cd;background:0 0;flex:0 0 110px;align-self:center;padding:0;transition:transform .2s;position:relative}.choice-poker .poker{margin:auto}.choice-poker small{margin-top:8px;display:block}.choice-poker:hover,.choice-poker:focus-visible{z-index:50;transform:translateY(-24px)}.choice-hand .choice-poker{margin:0 6px}@media (width<=600px){.choice-hand{--step:135px;justify-content:flex-start;overflow-x:auto}.choice-pool{padding:38px 12px 24px}.choice-grid{grid-template-columns:repeat(auto-fit,150px)}}.log-private-previews{white-space:nowrap;font-size:11px}.log-private-previews .log-preview{color:#70577d;display:inline}.information{grid-template-columns:repeat(auto-fit,minmax(100px,150px));justify-content:center;align-items:start}.choice-info.card-info{background:0 0;gap:6px;padding:0}.information .spell{flex:none;width:150px;height:240px;margin:0;animation:none;transform:translate(0,0)}.information .spell:hover,.information .spell:focus-within{box-shadow:inherit;transform:none}.information .card-info.chosen{background:0 0;outline:3px solid #f6c95e;box-shadow:0 0 12px #f6c95e55}.information .poker{zoom:1}.choice-face .ui-symbol{width:52px;height:52px}.log-hover:has(.information){overflow:auto}.spell-play .gem{pointer-events:none;filter:drop-shadow(0 0 2px #100c18);background:0 0;border-radius:0;place-items:center;gap:1px;width:34px;min-width:0;height:34px;padding:0;display:grid;top:-6px;left:-6px}.spell-play .gem .ui-symbol{z-index:0;grid-area:1/1;width:34px;height:34px;position:relative;inset:auto}:is(.spell-slot,.spell-stack):hover>.spell.mana-ready .gem .ui-symbol{filter:drop-shadow(0 0 1px #d7ffe480)drop-shadow(0 0 5px #70e69a99)}.gem b{z-index:1;min-width:13px;font:inherit;text-shadow:-1px -1px 1px #073a67,1px 1px 1px #073a67,0 1px 3px #001327;pointer-events:none;place-items:center;font-size:16px;font-weight:500;line-height:1;display:grid;position:absolute;inset:0}.burnable-badge{z-index:5;place-items:center;width:44px;height:52px;display:grid;position:absolute;bottom:-4px;right:-4px}.burnable-badge>.ui-symbol{width:44px;height:52px}.spell-class-emblems{z-index:5;pointer-events:none;filter:drop-shadow(0 1px 1px #211306b3);gap:2px;display:flex;position:absolute;top:-4px;left:50%;transform:translate(-50%)}.spell-class-emblems>img{object-fit:contain;width:20px;height:20px;display:block}.poker-wrap>.sleeping-blanket{pointer-events:auto}.poker-wrap>.wake{width:66px;height:44px;box-shadow:none;color:#fff1c2;opacity:0;pointer-events:none;background:0 0;border:0;border-radius:5px;margin:-22px 0 0 -33px;padding:0;transition:opacity .14s,transform .18s;transform:scale(.9)}:is(.poker-wrap:hover:not(:has(>.property:hover))>.wake:enabled,.poker-wrap>.wake:enabled:focus-visible){opacity:1;pointer-events:auto;transform:scale(1)}.wake-sun,.wake-mana{pointer-events:none;place-items:center;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.wake-sun{width:30px;height:30px;left:0}.wake-mana{width:34px;height:34px;right:0}.wake-sun>.ui-symbol,.wake-mana>.ui-symbol{width:100%;height:100%}.wake-cost{color:#fff1d0;text-shadow:-1px -1px 1px #073a67,1px 1px 1px #073a67,0 1px 3px #001327;pointer-events:none;font:700 16px/1 Inter,system-ui,sans-serif;animation:1.15s ease-in-out infinite paused wake-cost-pulse;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.wake:enabled:focus-visible .wake-cost{animation-play-state:running}.poker-wrap:hover:not(:has(>.property:hover))>.wake:enabled .wake-cost{animation-play-state:running}@keyframes wake-cost-pulse{0%,to{opacity:.8;transform:translate(-50%,-50%)scale(1)}50%{opacity:1;transform:translate(-50%,-50%)scale(1.18)}}@media (prefers-reduced-motion:reduce){.wake{transition:none}.wake-cost{opacity:1;animation:none}}.spell[data-card-art]{box-shadow:none;filter:none;background:0 0;border-color:#0000;padding:7px}.spell[data-card-art]:is(.selected,.chosen){box-shadow:0 0 16px #e1bc7755}.deck-catalog .spell[data-card-art].deck-added{box-shadow:0 0 13px #b58be666}.spell[data-card-art] .spell-play{box-shadow:none;background:0 0}.spell[data-card-art] .spell-art{height:48%;box-shadow:none;border-radius:5px;flex-basis:48%}.spell[data-card-art]:after{content:"";background:var(--spell-frame) center/100% 100% no-repeat;z-index:1;pointer-events:none;position:absolute;inset:-1px}.spell[data-card-art] .spell-art:after{box-shadow:none}.spell[data-card-art] .spell-title{box-shadow:none;background:0 0;width:100%;margin:2px 0 0;padding:4px 1px;position:static}.spell-nameplate{z-index:3;fill:#fff0d4;stroke:#392216;stroke-width:1.2px;paint-order:stroke;pointer-events:none;width:calc(100% + 16px);height:calc(100% + 16px);font-weight:700;position:absolute;top:-8px;left:-8px;overflow:visible}.spell[data-card-art] .spell-title:before,.spell[data-card-art] .spell-title:after{display:none}.spell[data-card-art] .spell-paper{box-shadow:none;background:0 0;padding:0}.spell[data-card-layout=compact][data-card-art] .spell-paper{inset:var(--spell-text-inset);clip-path:none;flex:none;width:auto;min-height:0;padding:0;position:absolute}.spell[data-card-layout=compact][data-card-art] .effect{margin-top:auto;margin-bottom:auto;padding-bottom:0;font-size:14px;line-height:1.2}.spell[data-card-layout=compact][data-card-art] .effect.short{font-size:14px}.spell[data-card-layout=compact][data-card-art] .spell-meta{min-height:11px;margin:0;position:absolute;bottom:-8px;left:0;right:0}.spell[data-card-layout=compact][data-card-art] .target-label{font-size:8.5px;line-height:1.15}.spell[data-card-art] .effect .ui-symbol{vertical-align:-.3em;width:1.4em;height:1.4em}.spell[data-card-art] .spell-paper:before{display:none}.spell[data-card-layout=full][data-card-art] .spell-art{flex-basis:180px;height:180px}.spell[data-card-art] .spell-title:has(.full-nameplate){background:var(--spell-frame) center 54%/100% 800% no-repeat;border-radius:5px;min-height:42px;padding:0;position:relative}.spell-nameplate.full-nameplate{width:100%;height:100%;inset:0}.spell[data-card-layout=full][data-card-art] .spell-paper{background:#f5e9d5;border-radius:0 0 5px 5px;padding:0}.spell[data-card-layout=full][data-card-art] .spell-paper .effect{font-size:15px;line-height:1.3}.spell[data-card-layout=full][data-card-art] .spell-paper:has(.target-label) .effect:not(.short){font-size:15px;line-height:1.3}.spell[data-card-layout=full][data-card-art] .effect .ui-symbol{width:1.5em;height:1.5em}.flow-player.current-player .flow-identity{animation:1.9s ease-in-out infinite active-tile-pulse}.active .framed-hud .hud-action{color:#ffe3a0;animation:1.9s ease-in-out infinite active-status-pulse}.spell-count.full{color:#ffe3a0;text-shadow:0 0 3px #ffe3a033;animation:1.9s ease-in-out infinite active-status-pulse}.framed-hud .class-icon[data-card-tooltip]{pointer-events:auto;cursor:help}@keyframes active-tile-pulse{0%,to{filter:brightness()drop-shadow(0 0 5px #ffe5a955)}50%{filter:brightness(1.2)drop-shadow(0 0 11px #ffe5a999)}}@keyframes active-status-pulse{0%,to{opacity:.75;text-shadow:0 0 3px #ffe3a033}50%{opacity:1;text-shadow:0 0 9px #ffe3a0aa}}@media (prefers-reduced-motion:reduce){.flow-player.current-player .flow-identity,.active .framed-hud .hud-action,.spell-count.full{animation:none}}.position-tip[data-card-tooltip],.spell-count[data-card-tooltip]{pointer-events:auto;cursor:help}:is(.spell-slot,.spell-stack){flex:0 0 var(--card-width);width:var(--card-width);height:240px;margin-left:calc(var(--step) - var(--card-width));z-index:var(--order);pointer-events:none;position:relative}:is(.spell-slot,.spell-stack):before{content:"";transform:translateY(calc(var(--arc)*1px)) rotate(var(--angle));transform-origin:50% 90%;pointer-events:auto;position:absolute;inset:0}:is(.spell-slot,.spell-stack):first-child{margin-left:0}:is(.spell-slot,.spell-stack)>.spell{isolation:isolate;z-index:1;margin-left:0}:is(.spell-slot,.spell-stack)>.spell:not(.dragging){pointer-events:auto}:is(.spell-slot,.spell-stack):is(:hover,:has(:focus-visible)){z-index:70}:is(.spell-slot,.spell-stack):has(.selected,.dragging){z-index:70}:is(.spell-slot,.spell-stack):has(>.spell.chosen){z-index:80}:is(.spell-slot,.spell-stack):is(:hover,:has(:focus-visible)):has(>.spell.chosen){z-index:90}.spell-stack-under{width:var(--card-width);z-index:0;pointer-events:none;visibility:hidden;height:240px;transition:visibility 0s .24s;position:absolute;top:0;left:0}.spell-stack:is(:hover,:has(:focus-visible))>.spell-stack-under,.spell-stack-casting>.spell-stack-under{visibility:visible;transition-delay:0s}.spell-stack:has(>.spell:is(.selected,.dragging))>.spell-stack-under{visibility:visible;transition-delay:0s}:is(.spell-slot,.spell-stack):is(:hover,:has(:focus-visible))>.spell:where(:not(.chosen,.dragging)){animation:none;transform:translateY(-32px)rotate(0)translate(0,0)}.spell-stack:has(>.spell.dragging)>.spell.dragging{transform:translate(var(--drag-x,0px),calc(-32px + var(--drag-y,0px))) rotate(0deg)}.spell-stack-under>.spell{margin:0;animation:none;translate:none}.spell-stack-under *{pointer-events:none!important}.spell-hand .spell:before{content:"";z-index:-1;pointer-events:none;border-radius:7px;position:absolute;inset:1px;box-shadow:-3px 2px 5px #0005}.spell:is(.selected,.dragging)>.spell-stack-count,.spell-stack-casting>.spell>.spell-stack-count,.presentation-card .spell-stack-count{display:none}.spell-stack-count{z-index:8;color:#ffe3a0;pointer-events:auto;cursor:help;background:#24202eee;border-radius:4px;padding:2px 4px;font-size:11px;font-weight:700;position:absolute;top:40px;left:1px;box-shadow:0 2px 5px #0008}.spell-hand .spell-stack-count{padding:3px 6px;font-size:15px}.pile-stack-count{pointer-events:none;cursor:default}.choice-stack-count{cursor:pointer;white-space:nowrap}.gem .mana-surcharge,.gem .mana-discount,.spell.conductive-target .gem .mana-cost-value{display:none}.scene:has(.poker-wrap[data-poker-property=Conductive]:hover .targetable) .spell.selected .gem .mana-cost-value{display:none}.spell.conductive-target .gem .mana-discount{color:#caffec;display:grid}.scene:has(.poker-wrap[data-poker-property=Conductive]:hover .targetable) .spell.selected .gem .mana-discount{color:#caffec;display:grid}.poker-wrap[data-poker-property=Conductive] .poker{box-shadow:0 0 8px #4be5ce88}.poker-wrap:is([data-poker-property=Sharp],[data-poker-property=Fiery]) .poker{box-shadow:0 0 8px #ff675d88}.spell.ravenous-target .gem .mana-cost-value{display:none}.scene:has(.poker-wrap[data-poker-property=Ravenous]:hover .targetable) .spell.selected .gem .mana-cost-value{display:none}.spell.ravenous-target .gem .mana-surcharge{color:#fff2e9;display:grid}.scene:has(.poker-wrap[data-poker-property=Ravenous]:hover .targetable) .spell.selected .gem .mana-surcharge{color:#fff2e9;display:grid}.spell.ravenous-target .gem .ui-symbol{animation:.85s ease-in-out infinite ravenous-mana-pulse}.scene:has(.poker-wrap[data-poker-property=Ravenous]:hover .targetable) .spell.selected .gem .ui-symbol{animation:.85s ease-in-out infinite ravenous-mana-pulse}@keyframes ravenous-mana-pulse{0%,to{filter:drop-shadow(0 0 3px #ff5147)}50%{filter:drop-shadow(0 0 10px #ff3025)}}.presentation-cast:not(.local-cast){pointer-events:auto}.presentation-cast .spell-hit{pointer-events:none}@media (width>=600px) and (width<=1400px) and (orientation:landscape){:root{--topbar-height:42px}.topbar{gap:8px}.topbar-room{overscroll-behavior-x:contain;flex:1;overflow-x:auto}.topbar-room>*{flex-shrink:0}.topbar .scene-art-picker select{height:32px;font-size:12px}.topbar>button{height:32px;padding:5px 9px}.poker .rank{-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;line-height:1}.player-hud{-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none}.framed-hud .hud-name strong{font-size:12px;line-height:1.2}.framed-hud .resources{gap:4px;font-size:11px;line-height:1.2}.framed-hud .hud-status,.framed-hud .hud-action,.framed-hud .hud-status small{font-size:10px;line-height:1.2}.player.opponent .opponent-pile,.local .hand-summary{-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none}.player.opponent .opponent-pile small{font-size:8px;line-height:1.15}.local .hand-summary{font-size:8px;font-weight:500;line-height:11px}.journal .log-scroll{font-size:11px;line-height:17px}.journal .log-scroll .private-label{font-size:10px;line-height:13px}.journal .log-private-previews{font-size:10px}.spell-area{width:60%}.actions{overscroll-behavior:contain;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;gap:5px;width:16%;max-height:calc(42% - 46px);overflow-y:auto}.actions .poker-option,.actions .finish-poker{min-height:38px;font-size:14px}.actions .poker-option-label small{font-size:10px}.actions .poker-help{width:24px;height:24px;font-size:14px;right:4px}.raise-control input[type=range]{touch-action:pan-x;min-height:28px}dialog{overscroll-behavior:contain;width:min(900px,96vw);max-height:calc(100dvh - 24px);margin:12px auto;padding:14px;overflow:auto}dialog header{gap:10px}dialog h2{font-size:19px}dialog footer button,.dialog-close{min-height:40px}.dialog-close{width:40px;height:40px}.choices{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.choices button{padding:12px}.choice-pool{padding:30px 12px 18px}.choice-hand{overscroll-behavior-x:contain;justify-content:flex-start;overflow-x:auto}.choice-grid{gap:28px 14px;max-height:55dvh}.inspection.pile-inspection{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px}}@supports (-webkit-touch-callout:none){dialog{-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none}dialog h2,.deck-builder h2{overflow-wrap:anywhere;margin-bottom:10px;font-size:16px;line-height:1.25}dialog h3,.deck-builder h3{font-size:14px;line-height:1.25}.spell[data-card-layout=compact][data-card-art] .effect{text-align:center;margin:0;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}}@media (prefers-reduced-motion:reduce){.spell.ravenous-target .gem .ui-symbol{filter:drop-shadow(0 0 5px #ff5147);animation:none}.scene:has(.poker-wrap[data-poker-property=Ravenous]:hover .targetable) .spell.selected .gem .ui-symbol{filter:drop-shadow(0 0 5px #ff5147);animation:none}}.topbar-tools{flex-shrink:0;align-items:center;gap:6px;display:flex}.audio-controls{vertical-align:middle;align-items:center;gap:5px;display:inline-flex}.audio-controls .audio-toggle{white-space:nowrap;height:24px;padding:3px 7px;font-size:12px}.audio-controls input[type=range]{accent-color:#c7b38d;cursor:pointer;width:65px;min-width:65px;height:22px;padding:0}.entrance .audio-controls{justify-content:center;margin:8px 0;display:flex}.topbar-tools>button{white-space:nowrap;height:24px;padding:3px 7px;font-size:12px}.hand-guide-hover{color:#dfd2ba;cursor:help;text-underline-offset:3px;background:0 0;border:0;align-items:center;gap:5px;padding:0;font-family:inherit;font-size:12px;line-height:16px;-webkit-text-decoration:underline #dfd2ba88;text-decoration:underline #dfd2ba88;transition:color .15s,text-decoration-color .15s;display:inline-flex}.hand-guide-hover:hover{color:#ffe3a0;text-decoration-color:#ffe3a0}.hand-guide-help-icon{border:1px solid;border-radius:50%;flex-shrink:0;place-items:center;width:14px;height:14px;font-size:10px;line-height:1;text-decoration:none;display:inline-grid}.flow-help{flex-shrink:0;align-items:center;display:flex}.turn-guide-launch{color:#ebcd72;justify-content:center;width:28px;height:100%;text-decoration:none}.turn-guide-launch .hand-guide-help-icon{width:22px;height:22px;font-size:14px}.turn-guide-launch:hover,.turn-guide-launch:focus-visible{color:#fff0a9}.turn-guide-table{border-collapse:collapse;width:100%;margin:5px 0 14px;font-size:16px;line-height:1.5}.turn-guide-table th,.turn-guide-table td{text-align:left;border-bottom:1px solid #65516b;padding:9px 7px}.turn-guide-table thead{color:#ebcd72}.turn-guide-dialog .hand-guide-scroll>p{font-size:16px;line-height:1.5}.turn-guide-dialog .hand-guide-scroll>p:first-child{margin-bottom:5px}.turn-guide-dialog .hand-guide-scroll{flex:auto;min-height:0;overflow-y:auto}.turn-guide-positions{gap:5px;margin:5px 0 10px;padding-left:22px;display:grid}.turn-guide-dialog .hand-guide-notes{font-size:16px;line-height:1.5}.turn-guide-dialog .hand-guide-notes h3{font-size:16px}.turn-guide-table .current-player-count{color:#fff0c5;background:#dfbd6820;font-weight:600}dialog.hand-guide-dialog.turn-guide-dialog{width:min(780px,94vw);height:min(760px,85dvh)}@media (width<=520px){.turn-guide-table th,.turn-guide-table td{padding:7px 4px}.turn-guide-table{font-size:15px}}.hand-summary:focus-visible,.hand-guide-hover:focus-visible{outline-offset:3px;outline:2px solid #eac775}@media (width>=600px) and (width<=1400px) and (orientation:landscape){.hand-guide-hover{-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;font-size:8px;line-height:11px}}.hand-guide-launch{margin:6px 0}dialog.hand-category-choice-dialog{width:min(900px,94vw);overflow:auto}dialog.hand-guide-dialog{box-sizing:border-box;width:min(620px,94vw);max-height:85dvh;overflow:hidden}dialog.hand-guide-dialog[open]{flex-direction:column;display:flex}.hand-guide-dialog>header,.hand-guide-dialog>p{flex-shrink:0}.hand-guide-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;padding-right:5px;overflow-y:auto}.hand-guide-dialog>p{color:#d9ccdc;line-height:1.4}.hand-guide-list{grid-template-columns:1fr;gap:8px;margin:0;padding:0;list-style:none;display:grid}.hand-guide-row{background:#19151e;border:1px solid #4d4056;border-radius:9px;grid-template-columns:64px max-content minmax(0,1fr);align-items:start;gap:7px 12px;padding:10px;display:grid}.hand-guide-row.current-category{background:#342a1e;border-color:#eac775}.hand-category-icon{object-fit:contain;flex-shrink:0;grid-row:span 2;width:64px;height:64px}.hand-category-copy{text-align:left;flex-direction:column;gap:4px;min-width:0;display:flex}.hand-category-copy strong{color:#f7e6c6;font-size:15px}.hand-category-copy small{color:#d5c5d8;font-size:12px;line-height:1.35}.hand-guide-row .hand-category-copy{display:contents}.hand-guide-row .hand-category-copy strong{grid-area:1/2;line-height:1.35}.hand-guide-row .hand-category-copy small{grid-area:1/3;font-size:15px;font-weight:400}.hand-category-example{grid-area:2/2/auto/-1;gap:4px;display:flex}.hand-example-card{width:34px;height:calc(34px * var(--poker-ratio));color:#17131b;white-space:nowrap;background:#f9eed7;border:1px solid #b59458;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;font-size:13px;font-weight:700;display:inline-flex}.hand-example-card.red{color:#b8202c}.hand-guide-notes{color:#d5c5d8;background:#19151e;border:1px solid #4d4056;border-radius:9px;gap:12px;margin-top:16px;padding:14px;font-size:12px;line-height:1.5;display:grid}.hand-guide-notes h3{color:#f7e6c6;margin:0 0 4px;font-size:13px}.hand-guide-notes p{margin:0}.hand-category-choice-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.hand-category-choice-heading p{color:#d5c5d8;margin:0;font-size:13px}.hand-category-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.hand-category-choices>button,.hand-category-preview{align-items:center;gap:12px;min-width:0;padding:12px;display:flex}.hand-category-choices>button{text-align:left;background:#19151e;border:1px solid #76677d;border-radius:9px}.hand-category-choices>button:hover{background:#342a1e;border-color:#eac775}.hand-category-choices .hand-category-icon,.hand-category-preview .hand-category-icon{width:48px;height:48px}@media (width<=680px){.hand-guide-list{grid-template-columns:1fr}.hand-category-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.hand-category-choices{grid-template-columns:1fr}.hand-category-choice-heading{align-items:flex-start}.hand-guide-row{grid-template-columns:48px minmax(0,1fr);column-gap:8px;padding:8px}.hand-guide-row .hand-category-icon{grid-row:span 3;width:48px;height:48px}.hand-guide-row .hand-category-copy small{grid-area:2/2}.hand-guide-row .hand-category-example{grid-area:3/2}}.choice-attention{animation:1.5s ease-in-out infinite choice-attention-pulse}@keyframes choice-attention-pulse{0%,to{opacity:1;color:#ffe5a5;text-shadow:0 0 8px #e8b45f55}50%{opacity:.65;color:#efe1c6;text-shadow:0 0 2px #e8b45f00}}@media (prefers-reduced-motion:reduce){.choice-attention{color:#ffe5a5;animation:none}.choice-submit-label{animation:none}}.resource-image{color:#c7aec9;background:radial-gradient(#665070,#292336);position:relative;overflow:hidden}.resource-placeholder{pointer-events:none;place-items:center;font-size:32px;display:grid;position:absolute;inset:0}.resource-image img[data-resource-src],.spell-art img[data-resource-src]{opacity:0}.resource-image img[data-resource-ready=true],.spell-art img[data-resource-ready=true]{opacity:1}.resource-image-ready>.resource-placeholder{display:none}.spell[data-resource-frame]:not([data-frame-ready]){background-color:#eadbbf;border-radius:8px}.spell[data-resource-frame]:not([data-frame-ready]) .spell-nameplate{fill:#442d47;stroke:#eadbbf}.deck-thumb.resource-image{flex:none;width:36px;height:30px;display:block}.deck-thumb.resource-image img{object-fit:cover;width:100%;height:100%}.deck-thumb .resource-placeholder{font-size:18px}.resource-status{color:#d1c4d7;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:10px 0;font-size:13px;display:flex}.resource-status progress{accent-color:#d5b071;width:150px;height:8px}.resource-status button{padding:5px 9px;font-size:12px}.resource-status[hidden],.resource-status [hidden]{display:none!important}[data-loading-state=Error]{color:#efb391}[data-player-resources]{color:#bbacc8;grid-column:1/-1;font-size:12px}[data-player-resources][data-loading-state=Ready],[data-player-resources][data-loading-state=ReadyWithFallback]{color:#aad4a6}.topbar .resource-status{max-width:210px;margin:0;font-size:11px}.topbar .resource-status[data-loading-state=Ready]{display:none}.app-screen:not(.editor-screen){grid-template-rows:auto minmax(0,1fr) auto minmax(0,4fr);grid-template-columns:minmax(0,1fr);min-height:100dvh;display:grid}.app-header{z-index:150;background:#19131cf5;flex-shrink:0;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:12px;height:60px;padding:8px 24px;display:grid;position:sticky;top:0}.app-header h1{text-align:center;letter-spacing:-1px;grid-column:2;margin:0;font-size:30px;line-height:1.1}.app-header>.settings-button{align-self:center;width:40px;height:40px}.settings-button{background:0 0;border:1px solid #0000;flex-shrink:0;place-items:center;width:44px;height:44px;padding:0;display:grid}.settings-button svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:23px;height:23px}.settings-button[aria-pressed=true]{color:#d5b1ef;background:0 0}.topbar .settings-button{width:28px;height:28px;padding:4px}.topbar .settings-button svg{width:20px;height:20px}.app-screen>.entrance,.app-screen>.play-menu{grid-row:3;margin-top:20px;margin-bottom:20px}.editor-screen>.deck-builder{margin-top:0}.deck-builder>.submenu-header{z-index:3;flex-wrap:wrap;grid-area:1/1;row-gap:8px;min-width:0;position:relative}.deck-builder>.submenu-header h1{white-space:nowrap;line-height:44px}.deck-builder .deck-catalog-help{color:#c4b0d0;background:0 0;border-color:#0000;place-items:center;width:44px;padding:9px;display:grid}.deck-catalog-help svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}.deck-builder .deck-catalog-help:is(:hover,:focus-visible){color:#f4ece2;background:#ffffff09}.deck-builder .deck-screen-help{place-items:center;width:44px;height:56px;min-height:56px;margin:0 12px 0 0;padding:8px;display:grid}.deck-screen-help svg{width:28px;height:28px}.deck-selector-control{--deck-control-height:44px;background:#ffffff12;border-radius:7px;flex:1;align-items:stretch;min-width:240px;max-width:380px;margin-left:auto;display:flex;position:relative}.deck-selector{flex:1;min-width:0}.deck-selector summary{color:#e2d9d1;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:0 7px 7px 0;align-items:center;gap:10px;height:44px;padding:8px 12px;font-size:15px;list-style:none;display:flex}.deck-selector summary::-webkit-details-marker{display:none}.deck-selector summary:hover,.deck-selector[open] summary{color:#f4ece2;background:#ffffff09}.deck-selector summary:focus-visible{outline-offset:3px;outline:2px solid #c5a1df}.deck-selector-value{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.deck-selector-chevron{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:22px;height:14px;transition:transform .15s}.deck-selector[open] .deck-selector-chevron{transform:rotate(180deg)}.deck-selector[open] summary{background:#302536;border-bottom-right-radius:0}.deck-selector-control:has(.deck-selector[open])>.deck-new{border-bottom-left-radius:0}.deck-icon{flex:none;width:18px;height:18px;display:inline-flex}.deck-icon .ui-symbol{width:100%;height:100%}.main-menu .deck-icon{width:24px;height:24px}.deck-selector .deck-icon{width:22px;height:22px}.deck-selector-control .deck-new{color:#e2d9d1;background:#ffffff16;border:0;border-radius:7px 0 0 7px;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:10px;display:grid}.deck-selector-menu{z-index:10;scrollbar-color:#74617b #302536;background:#302536;border-radius:0 0 7px 7px;width:100%;max-height:min(420px,50dvh);padding:0;position:absolute;top:100%;left:0;overflow-y:auto;box-shadow:-10px 2px 18px -6px #0009,0 12px 32px #0008}.deck-selector-menu ul{margin:0;padding:0;list-style:none}.deck-selector-row{color:#e2d9d1;border-radius:0;align-items:center;gap:4px;display:flex}.deck-selector-row:last-child{border-radius:0 0 7px 7px}.deck-selector-row:nth-child(odd){background:#ffffff08}.deck-selector-row:nth-child(2n){background:#ffffff12}.deck-selector-row.selected{color:#ffe0a0}.deck-selector-row:hover{filter:brightness(1.12)}.deck-selector .deck-selector-choice{min-width:0;height:auto;min-height:44px;color:inherit;text-align:left;background:0 0;border:0;border-radius:0;flex-direction:column;flex:1;justify-content:center;align-items:flex-start;gap:2px;padding:10px 12px;font-size:15px;line-height:20px;display:flex}.deck-selector-choice>span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.deck-selector-choice small{color:#d3a894;font-size:11px}.deck-selector .deck-selector-delete,.deck-selector-control .deck-selector-edit{color:#e2d9d1;background:0 0;border:0;place-items:center;width:40px;min-width:40px;height:34px;min-height:34px;margin-right:4px;padding:8px 10px;display:grid}.deck-selector-control>.deck-selector-edit{border-radius:0;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;position:absolute;top:0;right:44px}.deck-selector-control:has(>.deck-selector-edit) .deck-selector summary{padding-right:88px}.deck-selector-control:has(>.deck-selector-edit) .deck-selector-chevron{position:absolute;top:15px;right:12px}.deck-selector-delete svg,.deck-selector-edit svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.deck-selector-delete:hover:enabled{color:#ffb3b3}.deck-selector-edit:hover:enabled{color:#ffe0a0}.deck-selector-control .deck-new:hover:enabled{background:#ffffff20}.deck-selector-empty{color:#bfb2c2;padding:12px 10px;font-size:13px;line-height:1.4}.deck-new-icon{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;flex:none;width:22px;height:22px}.deck-new-attention .deck-new-icon{animation:2.6s ease-in-out infinite deck-new-pulse}@keyframes deck-new-pulse{0%,to{color:#e2d9d1;filter:drop-shadow(0 0 1px #e2c38b22)}50%{color:#ffe0a0;filter:drop-shadow(0 0 6px #e2c38baa)}}@media (prefers-reduced-motion:reduce){.deck-new-attention .deck-new-icon{color:#ffe0a0;animation:none}}.editor-screen :is(.deck-builder,.deck-import-dialog,.app-header) button:where(.secondary,.quiet){border-color:#0000}.settings-screen{width:min(740px,100% - 32px)}.settings-section{border-top:1px solid #ffffff18;padding:24px 0}.settings-section:last-child{padding-bottom:0}.settings-section h2{margin:0 0 18px;font-size:19px}.settings-nickname{align-items:center;gap:16px;display:flex}.settings-nickname .player-nickname{flex:1;min-width:0}.settings-nickname button{flex:none}.settings-nickname-hint{color:#c7bccb;margin:12px 0 0;font-size:13px}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;display:grid}.settings-field{gap:8px;min-width:0;display:grid}.settings-field select{width:100%;min-width:0;height:44px;font:inherit;color:#f8ecdc;background:#201b27;border:1px solid #77647d;border-radius:6px;padding:8px}#app select:not([multiple]):not([size]){appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='m3 3 7 6 7-6' fill='none' stroke='%23d5c8d9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 16px center;background-repeat:no-repeat;background-size:20px 12px;padding-right:48px}.settings-screen .audio-controls{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;margin:0;display:grid}.settings-screen .audio-controls label{gap:10px;display:grid}.settings-screen .audio-controls input[type=range]{width:100%;max-width:none}.settings-screen .audio-toggle{min-width:100px;height:auto;min-height:44px;padding:10px 14px;font-size:15px}.settings-check{align-items:center;gap:12px;min-height:44px;display:flex}.settings-check input{accent-color:#b78bd3;width:20px;height:20px;margin:0}@media (prefers-reduced-motion:no-preference){body[data-card-sway=true] :is(.spell-slot,.spell-stack):not(:hover):not(:has(:focus-visible))>.spell:not(.dragging,.selected,.chosen){animation:card-idle-sway 5.2s ease-in-out calc(var(--order,0) * -.41s) infinite}}@keyframes card-idle-sway{0%,to{translate:0}50%{translate:0 -3px}}@media (width<=520px){.app-header{padding:8px 16px}.app-header h1{font-size:28px}.settings-screen{padding:24px}.settings-grid,.settings-screen .audio-controls{grid-template-columns:1fr}.deck-builder .submenu-header h1{font-size:22px}}@media (width<=900px){.deck-selector-control{flex:220px}}@media (width<=520px){.deck-selector-control{flex-basis:100%;min-width:0;max-width:none}.deck-selector-menu{width:100%;left:0;right:auto}.deck-builder .deck-screen-help{margin-right:0}}
