:root{--ws-card-back-url:url(/lobby/card-backs/teal-crest.svg);color:#e7eef5;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#101b28;font-family:system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}header{background:#18283a;flex-wrap:wrap;align-items:center;gap:18px;padding:16px 24px;display:flex}h1{margin:0;font-size:22px}main{max-width:1450px;margin:auto;padding:20px}button,input,select,textarea{font:inherit;border:1px solid #587188;border-radius:7px;padding:10px}button{cursor:pointer;color:#fff;background:#294761}button:hover{background:#396789}button:disabled{opacity:.45;cursor:default}a{color:#92cfff}section,form,.panel{background:#1c2c3d;border:1px solid #40566a;border-radius:12px;margin-bottom:16px;padding:16px}.tables{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;display:grid}.table h3{margin-top:0}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}textarea{width:100%;height:150px}#error{color:#ffd5c9;white-space:pre-wrap;background:#542b28;margin:0;padding:0 20px}#error:not(:empty){padding:12px 20px}.board{grid-template-columns:1fr 1fr;gap:14px;display:grid}.stage{grid-template-columns:repeat(3,1fr);gap:6px;margin:10px 0;display:grid}.slot{text-align:center;border:1px dashed #526c83;min-height:100px;padding:4px}.slot small{display:block}.slot .card{max-width:120px}.cards{flex-wrap:wrap;gap:8px;display:flex}.card{text-align:left;background:#263c51;flex-direction:column;width:115px;padding:4px;font-size:11px;display:flex}.card img{object-fit:contain;background:#122233;width:100%;height:145px}.card.selected{outline:4px solid #ffcd54}.card.Reverse{border:3px solid #f19b9b}.card.Rest{border:3px solid #f4d77b}.counts{font-size:14px}.choice{z-index:2;background:#304c64;border:2px solid #f4d77b;position:sticky;top:0;box-shadow:0 5px 20px #0008}.choice h3{margin-top:0}.choice .hint{white-space:pre-wrap}.order{background:#705a20;font-size:14px}.actions{flex-wrap:wrap;gap:6px;margin:10px 0;display:flex}.muted{color:#b4c4d2}.name{font-weight:700}.log{max-height:160px;font-size:13px;overflow:auto}.zone{margin:8px 0}.status{color:#f8d67e;font-size:19px}dialog{background:#1b2b3c;border:1px solid #8ca8be;border-radius:12px;width:min(650px,95vw);max-height:90vh}dialog::backdrop{background:#0009}#detail-content{white-space:pre-wrap}#detail-content img{float:left;width:180px;margin:10px 18px 10px 0}label{margin:8px 0;display:block}@media (width<=700px){.board{grid-template-columns:1fr}main{padding:10px}.card{width:94px}.card img{height:120px}.choice{position:relative}.row{align-items:flex-start}}.table{background:#162637;border:1px solid #3c536a;border-radius:10px;padding:18px}.table button{margin:8px 6px 0 0}.tables{margin-top:16px}.badge{background:#29445b;border-radius:20px;padding:4px 8px;font-size:13px;display:inline-block}.empty{color:#bdd1df;padding:24px}.validation{color:#ffcb9e;margin:4px 0}.deck-totals{color:#a9e1c5;font-size:18px}.deck-card{border:1px solid #3f5a70;border-radius:8px;width:142px;padding:8px;font-size:11px}.deck-card .card{width:100%}.deck-card button:not(.card){margin:6px 3px 0 0;padding:5px 10px}.deck-card strong{overflow-wrap:anywhere;display:block}.deck-preview{max-height:520px;margin:16px 0;overflow:auto}.chat{padding:12px}.chat-log{max-height:130px;font-size:14px;overflow:auto}.chat-log p{overflow-wrap:anywhere;margin:6px 0}.chat form{background:0 0;border:0;margin:8px 0 0;padding:0}.chat input{flex:1;min-width:180px}form>input{width:min(100%,600px);margin:10px 0;display:block}form>input[type=file]{font-size:14px}.stage .slot:nth-child(4){grid-column:1/2;margin-left:20%}.stage .slot:nth-child(5){grid-column:2/4;margin-right:25%}.board>section:first-child{border-color:#5e9c97}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #7ad6ce}#detail-close{z-index:3;float:right;position:sticky;top:0}#detail-content{clear:both}#connection{color:#b3e4cb;font-size:13px}header a{margin-left:auto}details>summary{cursor:pointer;padding:8px 0}.chat-log:empty:before{content:"尚無訊息";color:#9db2c5}.zone[open]{border-top:1px solid #3c536a;padding-top:4px}input,select,textarea{color:#e5f0fa;background:#112334}@media (width<=700px){header{padding:12px}.deck-card{width:120px}.board{gap:8px}.stage .slot{min-height:100px}.chat{order:3}}.sort-list{padding-left:22px}.sort-list li{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0;display:flex}.sort-list li span{flex:1;min-width:150px}.choice-message{color:#c9e8ff;font-weight:600}.workspace-nav{gap:8px;margin-bottom:16px;display:flex}.workspace-nav button{border-radius:20px}main.builder-workspace{max-width:1900px}.builder-shell{--paper:#f5f8f9;--ink:#223d45;--line:#d9e4e5;color:var(--ink);background:var(--paper);border-radius:18px;padding:18px}.builder-shell section,.builder-shell aside{border:1px solid var(--line);background:#fff;border-radius:12px;margin:0;padding:14px}.builder-shell input,.builder-shell select,.builder-shell textarea{color:var(--ink);background:#f8fafb;border:1px solid #c5d5d8;max-width:100%;padding:8px}.builder-shell button{color:#245e61;background:#fff;border:1px solid #bdd4d5}.builder-shell button:hover{background:#e7f5f1}.builder-shell .muted{color:#657c85}.builder-head{margin-bottom:14px!important}.builder-head h2{margin:5px 0;font-size:26px}.builder-head p{margin:5px 0;font-size:13px}.eyebrow{letter-spacing:2px;color:#21877d;font-size:11px;font-weight:700}.builder-layout{grid-template-columns:240px minmax(400px,1fr) 340px;align-items:start;gap:14px;display:grid}.builder-preview{max-height:calc(100vh - 30px);position:sticky;top:12px;overflow:auto}.builder-preview>img{border-radius:8px;width:100%}.builder-preview h3{font-size:17px}.builder-preview p{font-size:12px;line-height:1.65}.builder-effect{white-space:pre-wrap}.catalog-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.catalog-filters label{color:#657b83;margin:0;font-size:11px}.catalog-filters input,.catalog-filters select{width:100%;margin-top:4px;font-size:12px;display:block}.catalog-toolbar,.catalog-pagination{flex-wrap:wrap;align-items:center;gap:6px;padding:12px 0;display:flex}.catalog-toolbar strong{margin-right:auto;font-size:13px}.catalog-toolbar button,.catalog-pagination button{padding:6px 10px;font-size:12px}.catalog-pagination{justify-content:center}.catalog-results.grid{grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:10px;display:grid}.catalog-results{max-height:70vh;padding:3px;overflow:auto}.catalog-card{border:1px solid #d7e3e7;border-top:3px solid #5c8e8a;border-radius:8px;flex-direction:column;min-width:0;display:flex;overflow:hidden}.catalog-image{border-radius:0;padding:0;background:#f4f6f8!important;border:0!important}.catalog-image img{object-fit:contain;width:100%;height:160px;display:block}.catalog-info{flex-direction:column;flex:1;gap:4px;padding:6px;display:flex}.catalog-info strong{font-size:11px;line-height:1.45}.catalog-info small{color:#627780;font-size:10px}.catalog-card>button:last-child{border:0;border-top:1px solid #e0e9e9;border-radius:0;padding:7px 4px;font-size:11px}.catalog-card.color-Yellow{border-top-color:#dfb542}.catalog-card.color-Green{border-top-color:#4a9a6b}.catalog-card.color-Red{border-top-color:#ce6870}.catalog-card.color-Blue{border-top-color:#588cc7}.catalog-results.list .catalog-card{grid-template-columns:65px 1fr 95px;align-items:center;margin-bottom:6px;display:grid}.catalog-results.list .catalog-image img{height:85px}.catalog-results.list .catalog-info strong{font-size:13px}.builder-deck{position:sticky;top:12px}.builder-deck h3{margin:0 0 8px}.builder-deck>input{width:100%;margin-bottom:10px}.builder-total{color:#147b70;padding:12px 0;font-size:20px;display:block}.deck-bars{gap:6px;display:flex}.color-pill{color:#fff;border-radius:12px;padding:5px 9px;font-size:11px}.color-pill.color-Yellow{background:#a78616}.color-pill.color-Green{background:#338153}.color-pill.color-Red{background:#b74b59}.color-pill.color-Blue{background:#3d75a6}.builder-levels{color:#667e88;font-size:11px}.builder-save{flex-wrap:wrap;gap:5px;margin:10px 0;display:flex}.builder-save button{padding:7px;font-size:11px}.builder-save button:first-child{color:#fff;background:#167e75}.builder-deck-list{max-height:50vh;overflow:auto}.builder-deck-list h4{background:#edf4f3;margin:10px 0 3px;padding:7px;font-size:12px}.builder-deck-row{border-bottom:1px solid #edf1f2;align-items:center;gap:4px;padding:5px 0;display:flex}.builder-deck-row b{color:#148175;min-width:26px;font-size:12px}.builder-deck-row button{border:0;padding:5px;font-size:11px}.builder-deck-row button:first-of-type{text-align:left;flex:1;line-height:1.5}.builder-deck textarea{min-height:200px;font-size:11px}.builder-deck details{font-size:12px}.room-layout{grid-template-columns:270px minmax(0,1fr);align-items:start;gap:16px;display:grid}.room-inspector{background:#1c2c3d;border:1px solid #40566a;border-radius:12px;max-height:90vh;padding:14px;position:sticky;top:10px;overflow:auto}.room-inspector>img{border-radius:8px;width:100%}.room-inspector p{white-space:pre-wrap;font-size:12px;line-height:1.6}.room-inspector h2{font-size:17px}.room-inspector .actions{flex-direction:column}.room-inspector .actions button{text-align:left}.duel-mat{flex-direction:column;gap:14px;display:flex}.duel-mat>section{margin:0;position:relative}.player-mat{background:linear-gradient(135deg,#1c3c45,#18303b);border-color:#417778}.own-mat{box-shadow:inset 0 3px #61c9b7}.opponent-mat{box-shadow:inset 0 3px #768eb6}.player-mat h3{margin:0 0 7px;font-size:15px}.player-mat .stage{gap:10px;max-width:650px;margin:12px auto}.player-mat .slot{background:#0d233044;border-radius:10px;min-height:155px}.player-mat .slot small{opacity:.7;font-size:11px}.player-mat .slot:nth-child(4){grid-column:1/2;margin-left:30%}.player-mat .slot:nth-child(5){grid-column:2/4;margin-right:30%}.opponent-mat .stage{direction:rtl}.opponent-mat .slot{direction:ltr}.player-mat .cards{gap:6px}.player-mat .card{border-radius:7px;width:100px}.player-mat .card img{height:132px}.phase-track{flex-wrap:wrap;gap:5px;margin-bottom:10px;display:flex}.phase-track span{color:#b7c8d7;border:1px solid #526c83;border-radius:20px;padding:5px 10px;font-size:11px}.phase-track .active{color:#102d32;background:#5fc3ae;border-color:#5fc3ae;font-weight:700}.room-status{z-index:2;padding:12px;position:sticky;top:0}.room-status .status{margin:5px 0;font-size:16px}.turn-hint{color:#a8d9d2;font-size:12px}.room-header h2{margin:0 0 7px}.room-header p{font-size:13px}.choice{top:5px}.room-workspace{max-width:1600px}.room-workspace .chat{margin-top:16px}.room-workspace .zone>summary{font-size:12px}.room-workspace .opponent-mat .zone:has(summary:first-child){margin-top:8px}@media (width<=1250px){.builder-layout{grid-template-columns:200px minmax(300px,1fr) 290px}.catalog-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=1000px){.builder-layout{grid-template-columns:minmax(0,1fr) 300px}.builder-preview{grid-column:1/-1;max-height:240px;position:static}.builder-preview>img{float:left;width:120px;margin-right:12px}.catalog-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.room-layout{grid-template-columns:220px minmax(0,1fr)}}@media (width<=700px){.builder-shell{padding:8px}.builder-layout{flex-direction:column;display:flex}.builder-catalog,.builder-deck{width:100%;position:static}.builder-deck{order:-1}.builder-deck-list{max-height:200px}.catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-results.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-image img{height:140px}.room-layout{flex-direction:column;display:flex}.room-inspector{order:1;width:100%;max-height:360px;position:static}.room-inspector>img{float:left;width:120px;margin-right:12px}.duel-mat{width:100%}.player-mat .card{width:80px;font-size:10px}.player-mat .card img{height:110px}.player-mat .slot{min-height:135px}.player-mat .stage{gap:4px}.room-status{position:static}}#notice{color:#b5f1d9;background:#174e43;margin:0;padding:0 20px}#notice:not(:empty){padding:12px 20px}.choice{max-height:85vh;scroll-margin-top:12px;overflow:auto}.choice .cards{max-height:38vh;overflow:auto}.choice .hint{max-height:105px;font-size:12px;line-height:1.6;overflow:auto}.choice h3{font-size:16px}.choice-message{font-size:13px}.card[draggable=true]{cursor:grab;touch-action:pan-y}.card.dragging{opacity:.4}.slot.drop-target{outline-offset:-3px;outline:2px dashed #58d6ac;position:relative}.slot.drop-target:after{content:attr(data-drop-label);color:#d6ffef;pointer-events:none;background:#12392ee8;border-radius:5px;padding:3px 7px;font-size:12px;position:absolute;bottom:3px;left:3px}.slot.drag-over{background:#245b48;box-shadow:inset 0 0 0 3px #91f5cf}.is-dragging .card{-webkit-user-select:none;user-select:none}.player-mat .stage{grid-template-columns:repeat(6,minmax(0,1fr))}.player-mat .slot{flex-direction:column;grid-column:span 2;align-items:center;display:flex}.player-mat .slot:nth-child(4){grid-column:2/4;margin:0}.player-mat .slot:nth-child(5){grid-column:4/6;margin:0}.card-back{border-radius:4px;background-image:var(--ws-card-back-url)!important;background-position:50%!important;background-repeat:no-repeat!important;background-size:cover!important}.header-btn{color:#c9e8d5;cursor:pointer;background:#254432;border:1px solid #4a755d;border-radius:6px;padding:4px 10px;font-size:11.5px;font-weight:600;transition:background .15s}.header-btn:hover{color:#fff;background:#366349}.ws-card-back-dialog{color:#eaf3ee;background:#182c23;border:2px solid #5a876e;border-radius:12px;width:min(520px,92vw);padding:0;box-shadow:0 16px 48px #000000b3}.ws-card-back-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0009}.dialog-header{background:#112019;border-bottom:1px solid #3d6350;justify-content:space-between;align-items:center;padding:12px 18px;display:flex}.dialog-header h2{color:#fff;margin:0;font-size:16px}.dialog-close-btn{color:#a8cfbc;cursor:pointer;background:0 0;border:0;padding:4px 8px;font-size:16px}.dialog-close-btn:hover{color:#fff}.dialog-body{flex-direction:column;gap:14px;padding:16px 18px;display:flex}.dialog-desc{color:#b7d6c6;margin:0;font-size:12.5px;line-height:1.5}.preset-buttons{flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}.preset-btn{color:#e2f2ea;cursor:pointer;background:#254434;border:1px solid #4d7a61;border-radius:6px;padding:6px 12px;font-size:12px;font-weight:600}.preset-btn:hover{background:#37644d}.custom-url-row{align-items:center;gap:8px;margin-top:6px;display:flex}.custom-url-row input[type=text]{color:#eaf3ee;background:#112019;border:1px solid #4a755d;border-radius:6px;flex:1;padding:7px 10px;font-size:12px}.file-upload-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#2f5440;border:1px solid #5a8a6e;border-radius:6px;padding:7px 12px;font-size:11.5px}.file-upload-btn:hover{background:#407357}.preview-box{background:#101c16;border:1px solid #2f4d3c;border-radius:8px;justify-content:center;align-items:center;margin-top:6px;padding:12px;display:flex}.card-back-preview-card{background-image:var(--ws-card-back-url);background-position:50%;background-size:cover;border:1.5px solid #d4af37;border-radius:5px;width:90px;height:128px;box-shadow:0 4px 12px #0009}.dialog-footer{background:#112019;border-top:1px solid #3d6350;justify-content:flex-end;gap:10px;padding:12px 18px;display:flex}.btn-dialog-primary{color:#fff;cursor:pointer;background:#3b7558;border:1px solid #63a884;border-radius:6px;padding:6px 16px;font-size:13px;font-weight:700}.btn-dialog-primary:hover{background:#4c9671}.btn-dialog-secondary{color:#ffd8d2;cursor:pointer;background:#45332f;border:1px solid #7a5047;border-radius:6px;padding:6px 14px;font-size:12px}.btn-dialog-secondary:hover{background:#5c413b}body.battle-view{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#93b7a3;height:100dvh;font-family:Segoe UI,Microsoft JhengHei,system-ui,sans-serif;overflow:hidden}.battle-view>header{background:#16291f;border-bottom:1px solid #2f523f;align-items:center;gap:12px;height:32px;min-height:32px;padding:2px 14px;display:flex}.battle-view>header h1{color:#ecf7f1;margin:0;font-size:13.5px}.battle-view>header a,.battle-view #identity,.battle-view #connection{font-size:11px}.battle-view .workspace-nav{display:none}.battle-view #app{grid-template-rows:32px 42px minmax(0,1fr);grid-template-columns:280px minmax(0,1fr);gap:0;width:100%;max-width:none;height:calc(100dvh - 32px);padding:0;display:grid;overflow:hidden}.battle-view .room-layout{display:contents!important}.battle-view .room-inspector{z-index:30;background:#1f2723;border:0;border-right:2px solid #4a5d52;border-radius:0;flex-direction:column;grid-area:1/1/4;height:100%;max-height:none;padding:0;display:flex;position:static;overflow:hidden}.battle-view .room-art-box{background:#121815;border-bottom:2px solid #8a948e;flex:0 0 48%;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.battle-view #room-art-img{object-fit:contain;background:#0e1412;width:100%;height:100%}.battle-view .room-art-placeholder{color:#8fa398;text-align:center;padding:16px;font-size:13px}.battle-view .room-card-detail{color:#111;-webkit-user-select:text;user-select:text;background:#d2d4d3;border-top:1px solid #fff;flex:auto;padding:10px 12px;font-size:12px;line-height:1.5;overflow-y:auto}.battle-view .room-card-detail h3{color:#0b0f0d;background:#b8bcba;border:1px solid #8d9290;border-radius:2px;margin:0 0 4px;padding:4px 8px;font-size:13.5px;font-weight:700}.battle-view .room-card-detail small{color:#2b3b33;margin-bottom:6px;font-size:11px;font-weight:700;display:block}.battle-view .room-card-detail .card-traits{color:#314b3d;margin:3px 0;font-size:11px;font-weight:600}.battle-view .room-card-detail .card-effect{white-space:pre-wrap;color:#141816;margin:6px 0;font-size:11.5px;line-height:1.55}.battle-view .room-card-detail .actions{background:#d2d4d3;flex-direction:column;gap:4px;margin-top:8px;padding:6px 0;display:flex;position:sticky;bottom:0}.battle-view .room-card-detail .actions button{color:#fff;text-align:center;background:#2d5a43;border:1px solid #1b3b2b;border-radius:4px;width:100%;padding:6px 12px;font-size:12px;font-weight:700;transition:background .15s;box-shadow:0 1px 2px #0004}.battle-view .room-card-detail .actions button:hover:not(:disabled){background:#3b7558}.battle-view .room-drawer{color:#dce8e1;background:#242e29;border-top:2px solid #4f6358;flex-shrink:0;max-height:26vh;overflow-y:auto}.battle-view .room-drawer summary{cursor:pointer;color:#dfece4;background:#2d3a34;padding:6px 12px;font-size:11.5px;font-weight:700;list-style:none}.battle-view .room-drawer .chat{margin:0;padding:6px}.battle-view .room-drawer .chat-log{max-height:90px}.battle-view .chat input{width:100%;min-width:80px;padding:5px;font-size:11px}.battle-view .room-header{white-space:nowrap;background:#172920;border-bottom:1px solid #335442;grid-area:1/2;align-items:center;gap:10px;padding:2px 14px;font-size:11.5px;display:flex;overflow:auto}.battle-view .room-header h2{color:#e5f2eb;margin:0;font-size:13px}.battle-view .room-header p{color:#a4ceb9;margin:0 auto 0 0;font-size:11px}.battle-view .room-header button{background:#254434;border:1px solid #4d7a61;border-radius:4px;padding:3px 8px;font-size:11px}.battle-view .room-status{background:#15241d;border:0;border-bottom:2px solid #3c6350;grid-area:2/2;justify-content:space-between;align-items:center;gap:12px;margin:0;padding:3px 14px;display:flex;position:static}.battle-view .phase-track{gap:4px;margin:0;display:flex}.battle-view .phase-track span{color:#8dafa0;background:#0f1c16;border:1px solid #2d4c3c;border-radius:12px;padding:2px 8px;font-size:10.5px}.battle-view .phase-track span.active{color:#17261f;background:#dfc98b;border-color:#f2e3af;font-weight:700}.battle-view .room-status .status{color:#f0f7f3;letter-spacing:.3px;margin:0;font-size:13.5px;font-weight:700}.battle-view .room-status .turn-hint{color:#c4ebd4;white-space:nowrap;background:#1c3829cc;border:1px solid #3d6350;border-radius:12px;margin:0;padding:3px 10px;font-size:11.5px;font-weight:700}.battle-view .ws-done-btn,.battle-view .room-status>button{color:#1b1f1d;cursor:pointer;background:linear-gradient(#fff 0%,#d8dcdb 100%);border:1.5px solid #5a625e;border-radius:6px;flex-shrink:0;min-width:140px;padding:6px 20px;font-size:13.5px;font-weight:700;transition:transform .12s,background .12s;box-shadow:0 2px 5px #00000059}.battle-view .ws-done-btn:hover:not(:disabled),.battle-view .room-status>button:hover:not(:disabled){background:#fff;transform:translateY(-1px);box-shadow:0 3px 8px #0006}.battle-view .ws-done-btn:disabled,.battle-view .room-status>button:disabled{opacity:.45;cursor:default;transform:none}.battle-view .ws-cancel-btn{color:#ffd8d2;cursor:pointer;background:#4a2c28;border:1px solid #75443e;border-radius:6px;flex-shrink:0;padding:5px 14px;font-size:12px;font-weight:600;transition:background .12s}.battle-view .ws-cancel-btn:hover:not(:disabled){color:#fff;background:#613832}.battle-view .waiting-hint{color:#eedda4;margin:0;font-size:11.5px}.battle-view .duel-mat{background:#93b7a3;grid-area:3/2;gap:2px;width:100%;height:100%;min-height:0;padding:6px 14px 8px;position:relative;overflow:hidden auto;flex-direction:column!important;justify-content:space-between!important;align-items:center!important;display:flex!important}.battle-view .ws-center-prompt{text-align:center;color:#fff;text-shadow:-1.5px -1.5px #000,1.5px -1.5px #000,-1.5px 1.5px #000,1.5px 1.5px #000,0 2px 5px #000a;letter-spacing:.3px;pointer-events:none;z-index:8;justify-content:center;align-items:center;width:100%;max-width:980px;height:28px;margin:0 auto;padding:0 12px;font-size:15px;font-weight:800;display:flex;grid-area:2/1/auto/-1!important}.battle-view .opponent-mat{width:100%;max-width:980px;min-height:0;box-shadow:none;background:0 0;border:0;border-bottom:2px solid #54775d;border-radius:0;margin:0 auto;padding:0 105px 4px;position:relative;flex-direction:column!important;align-items:center!important;gap:4px!important;display:flex!important}.battle-view .player-mat h3{color:#c4ebd4;z-index:6;white-space:nowrap;background:#1c3829cc;border:1px solid #3d6350;border-radius:4px;margin:0;padding:2px 8px;font-size:11px;font-weight:700;position:absolute;top:6px;left:8px}.battle-view .opponent-mat .counts{text-align:center;color:#163825;margin:1px 0;font-size:11.5px;font-weight:700}.battle-view .opponent-mat .hand-strip{background:0 0;flex-direction:column;justify-content:center;align-items:center;height:56px;display:flex;border:0!important;margin:0!important;padding:0!important}.battle-view .opponent-mat .hand-strip summary{color:#c4ebd4;background:#213c2c;border:1px solid #436e53;border-radius:10px;margin-bottom:2px;font-weight:700;list-style:none;display:inline-block;padding:1px 10px!important;font-size:10.5px!important}.battle-view .opponent-mat .hand-strip .cards{justify-content:center;align-items:center;gap:4px;max-width:100%;padding:2px;display:flex;overflow:auto hidden}.battle-view .opponent-mat .hand-strip .card-back{border:1px solid #d4af3777;border-radius:3px;flex-shrink:0;width:38px;min-width:38px;height:53px;transition:transform .15s;box-shadow:0 2px 4px #0006}.battle-view .opponent-mat .hand-strip .card-back:hover{transform:translateY(-4px)}.battle-view .stage-cluster{justify-content:center;align-items:center;gap:16px;width:100%;margin:2px auto;display:flex}.battle-view .stage{flex-direction:column!important;align-items:center!important;gap:6px!important;width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;display:flex!important}.battle-view .stage-row{justify-content:center;align-items:center;gap:8px;display:flex}.battle-view .slot{background:#5d826d;border:1.5px solid #486957;border-radius:4px;padding:2px;transition:box-shadow .15s,border-color .15s,transform .15s,background .15s;position:relative;box-shadow:inset 0 0 0 1px #72998344,0 1px 3px #0000002e;flex-direction:column!important;justify-content:center!important;align-items:center!important;width:74px!important;min-width:74px!important;max-width:74px!important;height:102px!important;min-height:102px!important;max-height:102px!important;display:flex!important}.battle-view .slot small{color:#b8d1c2;text-shadow:0 1px 1px #0008;pointer-events:none;position:absolute;bottom:2px;right:4px;font-size:9px!important}.battle-view .slot.drop-target{cursor:pointer;background:#68947b!important;border:2px dashed #fff59d!important;box-shadow:0 0 14px #ffe875cc!important}.battle-view .slot.drag-over{transform:scale(1.05);background:#79ad8f!important;border:2px solid #fff!important;box-shadow:0 0 18px #fffd!important}.battle-view .slot.in-battle{border:2px solid #ffe066!important;box-shadow:0 0 14px #ffe066cc!important}.battle-view .slot:has(.card.selected){border:2px solid #ffe066!important;box-shadow:0 0 14px #ffe066cc!important}.battle-view .climax-slot{background:#5d826d;border:1.5px dashed #7aa48c;border-radius:4px;padding:2px;transition:box-shadow .15s,border-color .15s,transform .15s,background .15s;position:relative;box-shadow:inset 0 0 0 1px #72998344,0 1px 3px #0000002e;flex-direction:column!important;justify-content:center!important;align-items:center!important;width:102px!important;min-width:102px!important;max-width:102px!important;height:74px!important;min-height:74px!important;max-height:74px!important;display:flex!important}.battle-view .climax-slot .cx-label{color:#c4ebd4;letter-spacing:.5px;pointer-events:none;text-shadow:0 1px 2px #0008;font-size:11px;font-weight:700}.battle-view .climax-slot .card{border-radius:3px;padding:0;overflow:hidden;box-shadow:0 2px 5px #0008;width:96px!important;min-width:96px!important;max-width:96px!important;height:68px!important;min-height:68px!important;max-height:68px!important}.battle-view .climax-slot .card img{object-fit:cover!important;width:100%!important;height:100%!important}.battle-view .climax-slot.drop-target{cursor:pointer;background:#68947b!important;border:2px dashed #fff59d!important;box-shadow:0 0 14px #ffe875cc!important}.battle-view .climax-slot.drag-over{transform:scale(1.05);background:#79ad8f!important;border:2px solid #fff!important;box-shadow:0 0 18px #fffd!important}.battle-view .ws-action-bar{z-index:18;justify-content:center;align-items:center;gap:10px;width:100%;margin:4px 0 2px;display:flex}.battle-view .ws-action-bar .ws-done-btn{color:#1a241f;cursor:pointer;background:linear-gradient(#fff 0%,#d8dedb 100%);border:1.5px solid #576960;border-radius:8px;min-width:160px;padding:6px 28px;font-size:15px;font-weight:700;transition:transform .12s,box-shadow .12s,background .12s;box-shadow:0 2px 6px #0006}.battle-view .ws-action-bar .ws-done-btn:hover:not(:disabled){background:#fff;transform:translateY(-1px);box-shadow:0 4px 10px #0007}.battle-view .ws-action-bar .ws-done-btn:disabled{opacity:.55;cursor:not-allowed;color:#2b3b33;box-shadow:none;background:#aab5af;border-color:#72827a;transform:none}.battle-view .ws-action-bar .ws-done-btn.primary-action{color:#2b1f00;background:linear-gradient(#fffae0 0%,#ffd859 100%);border-color:#997814;box-shadow:0 0 14px #ffe65988,0 2px 6px #0006}.battle-view .ws-action-bar .ws-done-btn.primary-action:hover:not(:disabled){background:#fffdf0;transform:translateY(-2px);box-shadow:0 0 20px #ffe659cc,0 4px 12px #0007}.battle-view .ws-action-bar .ws-cancel-btn{color:#ffd2cd;cursor:pointer;background:#5c1e19;border:1px solid #c25950;border-radius:7px;padding:6px 14px;font-size:13px;font-weight:700}.battle-view .ws-action-bar .ws-cancel-btn:hover:not(:disabled){background:#732720}.battle-view .card{background:#1e332b;border:1.5px solid #2b4238;border-radius:4px;flex-direction:column;justify-content:flex-end;padding:0;display:inline-flex;position:relative;overflow:visible}.battle-view .card img{pointer-events:none;border-radius:3px;position:absolute;inset:0;object-fit:cover!important;width:100%!important;height:100%!important}.battle-view .card .card-name{z-index:2;text-align:center;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;background:#000000ba;width:100%;margin-top:auto;padding:1px 3px;font-size:8.5px;line-height:1.15;position:relative;overflow:hidden}.battle-view .card .card-stats{z-index:2;text-align:center;color:#ffec9e;pointer-events:none;background:#0d1f18ea;width:100%;padding:1px 2px;font-size:8px;font-weight:700;position:relative}.battle-view .card .order{z-index:5;color:#111;background:#ffd84d;border:1px solid #000;border-radius:99px;padding:1px 5px;font-size:10px;font-weight:800;position:absolute;top:-8px;right:-6px;box-shadow:0 1px 3px #0008}.battle-view .card.Rest img{transform:rotate(-90deg)scale(.88)}.battle-view .card.Reverse img{filter:saturate(.65)brightness(.85);transform:rotate(180deg)}.battle-view .player-mat .stage .card{margin:0;padding:0;box-shadow:0 1px 3px #0006;width:68px!important;min-width:68px!important;max-width:68px!important;height:96px!important;min-height:96px!important;max-height:96px!important}.battle-view .player-mat .stage .card img{object-fit:cover!important;width:100%!important;height:100%!important}.battle-view .own-mat{width:100%;max-width:980px;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;margin:0 auto;padding:0 105px 4px;position:relative;flex-direction:column!important;align-items:center!important;gap:4px!important;display:flex!important}.battle-view .own-mat .counts{text-align:center;color:#163825;margin:1px 0;font-size:11.5px;font-weight:700}.battle-view .own-mat .hand-strip{z-index:15;background:#5d826d;border-radius:6px;justify-content:center;align-items:center;width:100%;max-width:820px;height:140px;min-height:140px;padding:4px 10px;display:flex;position:relative;box-shadow:0 0 10px #2ee6d655,inset 0 0 10px #0005;border:2px solid #2ee6d6!important;margin:0!important}.battle-view .own-mat .hand-strip>summary{display:none!important}.battle-view .own-mat .hand-strip .cards{justify-content:center;align-items:center;gap:8px;max-width:100%;height:128px;padding:4px 6px;display:flex;overflow:auto visible}.battle-view .own-mat .hand-strip .card{cursor:grab;transition:transform .16s cubic-bezier(.2,0,.2,1),box-shadow .16s,border-color .16s;box-shadow:0 2px 5px #0008;width:82px!important;min-width:82px!important;max-width:82px!important;height:116px!important}.battle-view .own-mat .hand-strip .card:hover{z-index:25;border-color:#fff380;transform:translateY(-9px);box-shadow:0 0 16px 4px #ffe659cc,0 12px 16px #0008}.battle-view .own-mat .hand-strip .card.inline-selectable{cursor:pointer;border-color:#8af5cc}.battle-view .own-mat .hand-strip .card.inline-selected,.battle-view .own-mat .hand-strip .card.selected{z-index:26;border:2px solid #fff380!important;transform:translateY(-9px)!important;box-shadow:0 0 18px 5px #ffe659ee,0 14px 18px #0009!important}.battle-view .own-mat .hand-strip .card.dragging{opacity:.4;transform:scale(.92)}.battle-view .zone-dock{z-index:5;flex-direction:column;gap:4px;width:95px;display:flex;position:absolute;top:26px;left:6px}.battle-view .zone-dock .zone{background:0 0;border:0;margin:0}.battle-view .zone-dock .zone summary{color:#151917;text-align:center;cursor:pointer;background:linear-gradient(#e4e6e5 0%,#c5cac7 100%);border:1px solid #6c7470;border-radius:4px;font-weight:600;list-style:none;box-shadow:0 1px 2px #0004;padding:4px 6px!important;font-size:11px!important}.battle-view .zone-dock .zone summary:hover{background:#f2f4f3}.battle-view .zone-dock .zone[open]{z-index:45;background:#193026;border:2px solid #5a8a6e;border-radius:10px;max-height:72vh;padding:14px;position:fixed;top:14vh;left:calc(280px + 4vw);right:4vw;overflow:auto;box-shadow:0 0 0 100vmax #000000a6}.battle-view .zone-dock .zone[open]>summary{color:#fff;background:#254738;border-color:#639c7c;font-weight:700;padding:6px 12px!important;font-size:14px!important}.battle-view .zone-dock .zone[open]>summary:after{content:"　（點此關閉）";opacity:.8;font-size:11px}.battle-view .zone-dock .cards{flex-wrap:wrap;gap:8px;max-height:56vh;padding:8px 0;display:flex;overflow:auto}.battle-view .zone-dock .card{width:82px;height:116px}.battle-view .pile-dock{z-index:5;flex-direction:column;gap:8px;display:flex;position:absolute;top:26px;right:8px}.battle-view .hidden-pile{cursor:pointer;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;width:66px;display:flex;position:relative}.battle-view .pile-deck{background:linear-gradient(#0a191259, #0a1912a6), var(--ws-card-back-url) center / cover no-repeat, #15241b;color:#fff;border:1.5px solid #d4af37bb;height:88px;transform:rotate(-3deg);box-shadow:-4px 4px #283a2e,-7px 7px #1b2820,-9px 9px 6px #0007}.battle-view .pile-deck span{color:#f2e3af;text-shadow:0 1px 2px #000;font-size:9.5px;font-weight:700}.battle-view .pile-deck strong{color:#ffe66d;text-shadow:0 1px 3px #000;font-size:22px;font-weight:800}.battle-view .pile-deck small{color:#d6e8dd;text-shadow:0 1px 1px #000;font-size:7.5px}.battle-view .pile-stock{color:#eaf5ee;background:linear-gradient(135deg,#1f372a,#13241b);border:1.5px solid #5a806c;height:64px;box-shadow:2px 2px 4px #0006}.battle-view .pile-stock span{color:#a9cfbc;font-size:9.5px;font-weight:700}.battle-view .pile-stock strong{color:#fff;font-size:20px;font-weight:800}.battle-view .pile-stock small{color:#8dafa0;font-size:7.5px}.battle-view .choice{z-index:50;background:#183329f8;border:2px solid #8ec4a8;border-radius:10px;max-width:760px;max-height:calc(100dvh - 90px);margin:0 auto;padding:14px 18px;position:fixed;top:70px;left:300px;right:20px;overflow-y:auto;box-shadow:0 12px 42px #000000b3,0 0 0 100vmax #0000001f}.choice-handle{cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}.choice-handle:active{cursor:grabbing}.battle-view .choice h3{color:#fff;margin:0 0 6px;font-size:15px}.battle-view .choice .choice-message{color:#c9e8d5;margin:4px 0;font-size:12.5px}.battle-view .choice .hint{color:#a4ceb8;white-space:pre-wrap;margin:4px 0;font-size:11.5px}.battle-view .choice .cards{background:#10241c;border:1px solid #325e49;border-radius:6px;flex-wrap:wrap;gap:10px;max-height:48vh;margin:8px 0;padding:8px;display:flex;overflow:auto}.battle-view .choice .card{cursor:pointer;transition:transform .15s,box-shadow .15s,border-color .15s;box-shadow:0 2px 5px #0009;width:82px!important;min-width:82px!important;max-width:82px!important;height:116px!important}.battle-view .choice .card:hover{z-index:5;border-color:#fff380;transform:translateY(-6px);box-shadow:0 0 14px 3px #ffe659cc}.battle-view .choice .card.selected{z-index:6;border:2px solid #fff380!important;transform:translateY(-6px)!important;box-shadow:0 0 16px 4px #ffe659ee!important}.battle-view .choice button:not(.card){color:#fff;cursor:pointer;background:#2a4d40;border:1px solid #699984;border-radius:5px;margin:4px 4px 0 0;padding:7px 14px;font-size:12px;font-weight:700}.battle-view .choice button:not(.card):hover:not(:disabled){background:#3c6e5c}.battle-view #error:not(:empty),.battle-view #notice:not(:empty){z-index:55;font-size:12px;position:fixed;top:32px;left:285px;right:5px}@media (width<=960px){.battle-view #app{grid-template-columns:220px minmax(0,1fr)}.battle-view .own-mat .hand-strip .card{width:68px!important;min-width:68px!important;height:96px!important}.battle-view .own-mat{grid-template-rows:108px 20px 118px;padding:0 80px 4px}.battle-view .opponent-mat{padding:0 80px}.battle-view .choice{left:230px}}@media (width<=700px){.battle-view #app{grid-template-rows:32px 58px minmax(0,1fr);grid-template-columns:140px minmax(0,1fr)}.battle-view .own-mat{padding:0 50px 4px}.battle-view .opponent-mat{padding:0 50px}.battle-view .choice{left:150px}}body.battle-view{--battle-header-h:40px;height:100dvh;min-height:0;overflow:hidden}.battle-view>header{height:var(--battle-header-h);min-height:var(--battle-header-h);flex-wrap:nowrap;gap:8px;padding:3px 10px;overflow:hidden}.battle-view>header h1{flex-shrink:0;font-size:12px}.battle-view>header>a,.battle-view>header>#identity{display:none}.battle-view #connection{white-space:nowrap;font-size:10px}.battle-view #btn-card-back{flex-shrink:0;padding:4px;font-size:10px}.battle-room-tools{flex:1;align-items:center;gap:6px;min-width:0;display:flex}.battle-room-info{flex:1;align-items:center;gap:8px;min-width:0;display:flex;overflow:hidden}.battle-room-info h2{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:12px;overflow:hidden}.battle-room-info p{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:10px;overflow:hidden}.battle-room-tools>button{white-space:nowrap;flex-shrink:0;padding:4px 8px;font-size:10px}.battle-view #app{height:calc(100dvh - var(--battle-header-h));grid-template-rows:46px minmax(0,1fr);grid-template-columns:clamp(200px,20vw,280px) minmax(0,1fr);overflow:hidden}.battle-view .room-inspector{grid-row:1/3;min-height:0}.battle-view .room-status{grid-row:1;gap:6px;min-width:0;padding:3px 8px;overflow:hidden}.battle-view .room-status .status{white-space:nowrap;font-size:11px}.battle-view .phase-track{flex-shrink:1;gap:2px;min-width:0}.battle-view .phase-track span{padding:2px 5px;font-size:9px}.battle-view .room-status .turn-hint{padding:3px 5px;font-size:9px}.battle-view .room-status>button{min-width:0;padding:5px 8px;font-size:11px}.battle-view .duel-mat{--slot-h:min(14cqh,calc((100cqw - 140px)/5),140px);--slot-w:calc(var(--slot-h)*.72);--hand-h:clamp(35px,17cqh,125px);--opp-hand-h:clamp(18px,6cqh,48px);grid-row:2;grid-template-rows:minmax(0,1fr) clamp(12px,3cqh,24px) minmax(0,1.25fr);grid-template-columns:minmax(0,1fr);gap:0;padding:3px 6px;overflow:hidden;container-type:size;justify-content:stretch!important;align-items:stretch!important;display:grid!important}.battle-view :is(.own-mat,.opponent-mat){width:100%;max-width:none;height:100%;min-height:0;overflow:visible;justify-content:center!important;gap:2px!important;padding:0 64px!important;display:flex!important}.battle-view .ws-center-prompt{max-width:none;height:auto;min-height:0;padding:0 4px;font-size:clamp(8px,2cqh,14px);line-height:1.1;grid-row:auto!important}.battle-view .stage-cluster{flex:none;justify-content:center;gap:0;margin:0;position:relative}.battle-view .stage{direction:ltr!important;gap:3px!important}.battle-view .stage-row{gap:4px}.battle-view .slot{width:var(--slot-w)!important;min-width:var(--slot-w)!important;max-width:var(--slot-w)!important;height:var(--slot-h)!important;min-height:var(--slot-h)!important;max-height:var(--slot-h)!important;grid-column:auto!important;margin:0!important}.battle-view .slot small{inset:auto 2px 1px auto;font-size:clamp(5px,1.2cqh,9px)!important}.battle-view .player-mat .stage .card{aspect-ratio:auto;padding:0;width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important}.battle-view .stage .card img{object-fit:contain!important;width:100%!important;height:100%!important}.battle-view .climax-slot{position:absolute;top:50%;transform:translateY(-50%);width:var(--slot-h)!important;min-width:var(--slot-h)!important;max-width:var(--slot-h)!important;height:var(--slot-w)!important;min-height:var(--slot-w)!important;max-height:var(--slot-w)!important}.battle-view .own-mat .climax-slot{right:calc(50% + var(--slot-w)*1.5 + 12px)}.battle-view .opponent-mat .climax-slot{left:calc(50% + var(--slot-w)*1.5 + 12px)}.battle-view .climax-slot .card{width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important}.battle-view .climax-slot .cx-label{font-size:clamp(6px,1.3cqh,11px)}.battle-view .player-mat h3{white-space:normal;max-width:100px;padding:1px 3px;font-size:clamp(7px,1.4cqh,11px);top:1px;left:2px}.battle-view .player-mat .counts{flex-shrink:0;margin:0;font-size:clamp(6px,1.4cqh,11px);line-height:1.1}.battle-view .opponent-mat .hand-strip{height:var(--opp-hand-h);flex-shrink:0;width:100%;min-height:0}.battle-view .opponent-mat .hand-strip summary{display:none!important}.battle-view .opponent-mat .hand-strip .cards{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:2px;width:100%;max-width:280px;height:100%;display:grid;overflow:hidden}.battle-view .opponent-mat .hand-strip .card-back{aspect-ratio:.72;justify-self:center;width:auto;min-width:0;max-width:36px;height:100%}.battle-view .own-mat .hand-strip{height:var(--hand-h);max-height:var(--hand-h);flex-shrink:0;width:calc(100% + 80px);max-width:none;overflow:hidden;min-height:0!important;padding:2px!important}.battle-view .own-mat .hand-strip .cards{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;align-items:center;gap:3px;width:100%;height:100%;padding:1px;display:grid;overflow:hidden}.battle-view .own-mat .hand-strip .card{justify-self:center;width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;max-height:100%!important;max-width:calc(var(--hand-h)*.72)!important;margin:0!important}.battle-view .own-mat .hand-strip .card img{object-fit:contain;width:100%;height:100%}.battle-view .hand-strip .card .card-name{font-size:clamp(5px,1.3cqh,10px);line-height:1.1}.battle-view .card .card-stats{font-size:clamp(5px,1.2cqh,9px);line-height:1.1}.battle-view .ws-action-bar{flex-wrap:nowrap;flex-shrink:0;gap:4px;min-height:0;margin:1px 0}.battle-view .ws-action-bar :is(.ws-done-btn,.ws-cancel-btn){white-space:normal;min-width:0;max-width:100%;padding:3px 9px;font-size:clamp(8px,1.9cqh,14px);line-height:1.2}.battle-view .zone-dock{gap:2px;width:58px;top:20px;left:2px}.battle-view .zone-dock .zone summary{min-height:0;line-height:1.3;padding:2px!important;font-size:clamp(6px,1.4cqh,10px)!important}.battle-view .pile-dock{gap:5px;top:18px;right:3px}.battle-view .hidden-pile{width:50px;height:clamp(28px,10cqh,80px);min-height:0;padding:2px}.battle-view .hidden-pile span{font-size:8px}.battle-view .hidden-pile strong{font-size:clamp(12px,3cqh,23px)}.battle-view .hidden-pile small{display:none}.battle-view .choice{max-height:calc(100dvh - 90px);overflow:auto}.mobile-inspector-close{display:none}@media (width<=900px){.battle-view #app{grid-template-columns:minmax(0,1fr)}.battle-view .room-status,.battle-view .duel-mat{grid-column:1}.battle-view .room-inspector{display:none}.battle-view.battle-inspector-open .room-inspector{left:8px;right:8px;top:var(--battle-header-h);z-index:60;width:auto;height:auto;display:flex;position:fixed;bottom:8px;box-shadow:0 0 0 100vmax #0008}.battle-view .mobile-inspector-close{min-height:40px;display:block}.battle-view .choice{left:8px;right:8px;top:calc(var(--battle-header-h) + 50px)}.battle-view .zone-dock .zone[open]{left:8px;right:8px;top:calc(var(--battle-header-h) + 50px);max-height:calc(100dvh - var(--battle-header-h) - 65px)}.battle-view .room-card-detail .actions button{min-height:40px}}@media (width<=600px){body.battle-view{--battle-header-h:64px}.battle-view>header{flex-wrap:wrap;align-content:center;gap:2px 5px;padding:2px 6px}.battle-view>header h1{font-size:10px}.battle-view #connection,.battle-view #btn-card-back{font-size:9px}.battle-room-tools{flex-basis:100%;gap:4px;height:28px}.battle-room-info{gap:4px}.battle-room-info h2{font-size:10px}.battle-room-info p{font-size:8px}.battle-room-tools>button{min-height:26px;padding:4px;font-size:9px}.battle-view #app{grid-template-rows:60px minmax(0,1fr)}.battle-view .room-status{grid-template-columns:minmax(0,1fr) auto;gap:2px;padding:2px 5px;display:grid}.battle-view .phase-track{grid-column:1/-1;justify-content:space-between}.battle-view .phase-track span{padding:1px 3px;font-size:8px}.battle-view .room-status .status{text-overflow:ellipsis;font-size:9px;overflow:hidden}.battle-view .room-status .turn-hint{display:none}.battle-view .room-status>button{padding:4px;font-size:9px}.battle-view :is(.own-mat,.opponent-mat){padding:0 47px!important}.battle-view .zone-dock{width:40px;top:18px}.battle-view .hidden-pile{width:36px}.battle-view .player-mat h3{max-width:90px}.battle-view .pile-dock{display:flex}.battle-view .own-mat .hand-strip{width:calc(100% + 78px)}}.battle-view .own-mat .hand-strip{display:block}.battle-view .own-mat .hand-strip .cards{grid-template-rows:minmax(0,1fr);height:calc(var(--hand-h) - 8px)!important;width:100%!important}.battle-view .own-mat .hand-strip .card{height:calc(var(--hand-h) - 12px)!important}.battle-view .opponent-mat .hand-strip{display:block}.battle-view .opponent-mat .hand-strip .cards{grid-template-rows:minmax(0,1fr);margin:auto;height:var(--opp-hand-h)!important;width:min(100%,280px)!important}@media (height<=500px){.battle-view .duel-mat{--slot-h:min(12cqh,calc((100cqw - 140px)/5),140px)}}.ws-volume-dialog{width:min(380px,92vw);padding:18px 22px}.ws-volume-dialog h2{margin:0 0 12px;font-size:20px}.ws-volume-dialog label{margin:14px 0;display:block}.ws-volume-dialog output{float:right;opacity:.8}.ws-volume-dialog input[type=range]{width:100%;margin-top:8px;padding:0;display:block}.ws-volume-dialog::backdrop{background:#0009}.ws-undo-banner{z-index:200;color:#fff;background:#2b3f55;border:2px solid #f4d77b;border-radius:10px;align-items:center;gap:10px;padding:10px 16px;font-size:15px;display:flex;position:fixed;top:56px;left:50%;transform:translate(-50%);box-shadow:0 8px 28px #000a}.ws-undo-banner button{padding:6px 14px}.ws-conn-banner{background:#4a2630;border-color:#e06666}.ws-presence-banner{border-color:#9fb3c8;top:104px}.ws-conn-banner,.ws-presence-banner{pointer-events:none;max-width:calc(100vw - 32px);font-size:14px}.ws-cx-flight{z-index:1100;pointer-events:none;position:fixed;inset:0;overflow:hidden}.ws-cx-combo{pointer-events:none;color:#fff;width:min(590px,100vw - 32px);min-height:108px;transform:translate(-50%,calc(var(--cx-index,0)*124px)) skewX(-8deg);isolation:isolate;align-items:center;gap:18px;padding:12px 20px;animation:2.6s both ws-cx-arrive;display:flex;position:absolute;top:24vh;left:50%}.ws-cx-combo:before{content:"";z-index:-2;background:repeating-linear-gradient(0deg,#0000 0 14px,#a8efff35 15px 16px,#0000 17px 29px,#ffe5a130 30px 31px);animation:2.6s both ws-cx-lines;position:absolute;inset:-12px -100vw;-webkit-mask-image:linear-gradient(90deg,#0000,#000 35% 65%,#0000);mask-image:linear-gradient(90deg,#0000,#000 35% 65%,#0000)}.ws-cx-combo:after{content:"";z-index:-1;filter:blur(5px);background:linear-gradient(90deg,#0000,#101e33f5 18%,#153f50f2 68%,#0000);position:absolute;inset:0 -24px}.ws-cx-portrait{border:1px solid #ffe8a980;border-radius:5px;flex:0 0 65px;width:65px;height:84px;overflow:hidden;transform:rotate(-5deg);box-shadow:0 0 12px #64eaff55}.ws-cx-portrait img{object-fit:cover;object-position:center 25%;width:100%;height:100%}.ws-cx-copy{text-shadow:0 2px 6px #0008;flex-direction:column;gap:2px;min-width:0;display:flex}.ws-cx-owner{letter-spacing:1px;color:#a8efff;font-size:11px}.ws-cx-word{white-space:nowrap;isolation:isolate;position:relative}.ws-cx-title,.ws-cx-trail{letter-spacing:2px;color:#ffe5a1;font-size:clamp(30px,7vw,60px);font-style:italic;font-weight:950;line-height:1.05}.ws-cx-title{z-index:1;text-shadow:0 2px #153f50,0 0 20px #ffcf6770;position:relative}.ws-cx-trail{z-index:0;opacity:calc(.28 - var(--cx-layer)*.045);filter:blur(calc(var(--cx-layer)*1.4px));transform:translateX(calc(var(--cx-layer)*-15px));animation:2.6s both ws-cx-trail;position:absolute;inset:0}.ws-cx-character{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;overflow:hidden}.ws-cx-climax{color:#d1e6eb;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.ws-cx-source{animation:.65s ease-out ws-cx-pulse}@keyframes ws-cx-arrive{0%{opacity:0;filter:blur(8px);animation-timing-function:cubic-bezier(.12,.8,.2,1);translate:-120vw}18%{opacity:1;filter:blur();translate:8px}24%,64%{opacity:1;filter:blur();animation-timing-function:cubic-bezier(.7,0,1,.3);translate:0}86%,to{opacity:0;filter:blur(7px);translate:120vw}}@keyframes ws-cx-lines{0%,to{opacity:0;translate:-12vw}12%,24%{opacity:1;translate:0}38%,60%{opacity:.12;translate:4vw}74%{opacity:.9;translate:16vw}88%{opacity:0;translate:30vw}}@keyframes ws-cx-trail{0%,to{opacity:0}12%,22%,72%,84%{opacity:calc(.55 - var(--cx-layer)*.085)}34%,60%{opacity:calc(.15 - var(--cx-layer)*.025)}}@keyframes ws-cx-pulse{0%,to{filter:none}40%{filter:drop-shadow(0 0 12px #ffe5a1)brightness(1.3)}}@media (prefers-reduced-motion:reduce){.ws-cx-combo,.ws-cx-combo:before,.ws-cx-trail,.ws-cx-source{animation:none}.ws-cx-combo{transform:translate(-50%,calc(var(--cx-index,0)*124px));filter:none}.ws-cx-combo:before,.ws-cx-trail{display:none}}.battle-view .duel-mat{position:relative;grid-template-rows:minmax(0,1fr) clamp(14px,3.2cqh,26px) minmax(0,1.3fr)!important}.battle-view .duel-mat>.ws-side,.battle-view .duel-mat>.ws-public-zones{--sh:clamp(38px,min(14.2cqh,calc(29cqw - 10px),190px),190px);--sw:calc(var(--sh)*.72);--side:clamp(76px,15.5cqw,230px);--u:clamp(7px,1.55cqh,16px);--hand-h:clamp(46px,17.5cqh,175px);--opp-hand-h:clamp(14px,5cqh,44px);--cz:1}.battle-view .ws-side{align-items:stretch;gap:calc(var(--u)*.2);flex-direction:column;min-width:0;height:100%;min-height:0;display:flex;overflow:visible;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important}.battle-view .ws-half{grid-template-columns:minmax(0,var(--side)) auto minmax(0,var(--side));justify-content:center;align-items:center;column-gap:calc(var(--sh)*.14);flex:auto;min-height:0;display:grid}.battle-view .ws-col-side{justify-content:center;align-items:center;gap:calc(var(--sh)*.07);flex-direction:column;min-width:0;min-height:0;display:flex}.battle-view .ws-stage{justify-content:center;align-items:center;gap:calc(var(--sh)*.05);flex-direction:column;display:flex}.battle-view .ws-stage-row{justify-content:center;gap:calc(var(--sh)*.09);display:flex}.battle-view .ws-half .ws-mat-slot,.battle-view .ws-half .slot{box-sizing:border-box;background:#5d826d;border:1px solid #486957;border-radius:2px;justify-content:center;align-items:center;padding:2px;transition:box-shadow .15s,border-color .15s,background .15s,transform .15s;display:flex;position:relative;overflow:visible;box-shadow:inset 0 0 0 1px #72998355;width:var(--sw)!important;min-width:var(--sw)!important;max-width:var(--sw)!important;height:var(--sh)!important;min-height:var(--sh)!important;max-height:var(--sh)!important;margin:0!important}.battle-view .ws-half button.ws-mat-slot{cursor:pointer;color:inherit}.battle-view .ws-half .ws-mat-slot.horiz,.battle-view .ws-half .climax-slot{width:var(--sh)!important;min-width:var(--sh)!important;max-width:var(--sh)!important;height:var(--sw)!important;min-height:var(--sw)!important;max-height:var(--sw)!important;position:relative!important;inset:auto!important;transform:none!important}.battle-view .ws-half .slot.in-battle{border:2px solid #ffe066;box-shadow:0 0 14px #ffe066aa}.battle-view .ws-half .slot.drop-target{background:#68947b;border:2px dashed #fff59d;outline:0;box-shadow:0 0 12px #ffe875aa}.battle-view .ws-half .slot.drag-over,.battle-view .ws-half .climax-slot.drag-over{background:#79ad8f;border:2px solid #fff;box-shadow:0 0 18px #fffc}.battle-view .ws-half .ws-slot-label,.battle-view .ws-half .slot>small{font-size:calc(var(--u)*.78);color:#b8d1c2;pointer-events:none;text-shadow:0 1px 1px #0008;display:block;position:absolute;inset:auto 4px 2px auto}.battle-view .ws-half .cx-label{font-size:calc(var(--u)*.95);color:#cfe5d8;position:static}.battle-view .ws-half .slot.drop-target:after{font-size:calc(var(--u)*.85);padding:1px 4px;bottom:2px;left:2px}.battle-view .ws-half .ws-mat-slot .card,.battle-view .ws-half .slot .card{border-radius:3px;flex:none;width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;margin:0!important;padding:0!important}.battle-view .ws-half .ws-mat-slot .card img,.battle-view .ws-half .slot .card img{object-fit:cover!important;width:100%!important;height:100%!important}.battle-view .ws-half .climax-slot .card,.battle-view .ws-half .memory-slot .card{flex:none;transform:rotate(-90deg);width:var(--sw)!important;height:var(--sh)!important;max-width:none!important;max-height:none!important}.battle-view .ws-half .card .card-name{font-size:calc(var(--u)*.78)!important}.battle-view .ws-half .card .card-stats{font-size:calc(var(--u)*.74)!important;padding:0 1px!important}.battle-view .ws-half .card .pos-badge{font-size:calc(var(--u)*.7)}.battle-view .ws-zone-row{justify-content:center;align-items:center;gap:calc(var(--sh)*.06);min-width:0;display:flex}.battle-view .ws-counter-stack{flex-direction:column;align-items:center;min-width:0;line-height:1.12;display:flex}.battle-view .red-counter{color:#d11515;font-size:calc(var(--u)*1.55);text-shadow:0 1px #ffffff80;font-weight:800}.battle-view .cx-counter,.battle-view .hand-counter{color:#18201c;font-size:calc(var(--u)*.98);white-space:nowrap;font-weight:700}.battle-view .deck-3d{width:calc(var(--sw)*.88);height:calc(var(--sh)*.88);background:linear-gradient(145deg,#2a312d,#121715);border:1px solid #75827b;border-radius:4px;flex:none;justify-content:center;align-items:center;margin-left:4px;display:flex;position:relative;transform:rotate(-5deg);box-shadow:-4px 4px #3d4742,-7px 7px #262e2a,-8px 9px 5px #0006}.battle-view .deck-3d:before{content:"Weiβ Schwarz";font-size:calc(var(--u)*.78);color:#cfd8d3;text-align:center;background:#1b221fcc;border:1px solid #6b7871;border-radius:2px;padding:1px 3px;font-weight:800;line-height:1.1}.battle-view .deck-3d.low-deck{border-color:#ff7b6b;box-shadow:-4px 4px #6e2d26,-7px 7px #421915,-8px 9px 6px #f006}.battle-view .ws-stock-area{color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:flex}.battle-view .stock-stack{flex-direction:column;gap:2px;display:flex}.battle-view .stock-card-back{height:calc(var(--u)*.85);width:calc(var(--sw)*.62);background:linear-gradient(90deg,#232b27,#3a4740);border:1px solid #8ca196;border-radius:2px;min-width:22px;display:block;box-shadow:1px 1px 2px #0005}.battle-view .ws-lv-clock{gap:calc(var(--u)*.3);width:100%;max-width:var(--side);padding:calc(var(--u)*.4) calc(var(--u)*.5);box-sizing:border-box;background:#5d826d;border:1px solid #486957;border-radius:3px;flex-direction:column;display:flex}.battle-view .ws-lc-header{font-size:calc(var(--u)*.85);color:#eff7f2;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:2px;font-weight:700;line-height:1.2;display:flex}.battle-view .ws-lc-cards{min-height:calc(var(--u)*1.9);flex-wrap:wrap;align-items:center;gap:2px;display:flex}.battle-view .ws-lc-label{font-size:calc(var(--u)*.85);color:#eff7f2;margin-right:1px}.battle-view .mini-card{font-size:calc(var(--u)*.78);min-width:calc(var(--u)*1.6);height:calc(var(--u)*1.9);color:#fff;background:#20382e;border:1px solid #6d9683;border-radius:3px;padding:0 2px;line-height:1}.battle-view .mini-card.color-Yellow{background:#6b5a12}.battle-view .mini-card.color-Red{background:#6a2424}.battle-view .mini-card.color-Green{background:#1f5632}.battle-view .mini-card.color-Blue{background:#1f4668}.battle-view .mini-slot{width:calc(var(--u)*1.6);height:calc(var(--u)*1.9);font-size:calc(var(--u)*.7);color:#b8d4c3;border:1px dashed #8ab09a;border-radius:2px;justify-content:center;align-items:center;display:inline-flex}.battle-view .color-badges{gap:2px;display:flex}.battle-view .ws-lv-clock .color-pill{font-size:calc(var(--u)*.74);color:#fff;border:1px solid #fff6;border-radius:99px;padding:0 4px;font-weight:700}.battle-view .ws-lv-clock .color-pill.color-Yellow{color:#ffea9f;background:#665518}.battle-view .ws-lv-clock .color-pill.color-Green{color:#aff7c6;background:#1c4d2c}.battle-view .ws-lv-clock .color-pill.color-Red{color:#ffb8b3;background:#612020}.battle-view .ws-lv-clock .color-pill.color-Blue{color:#b5dcff;background:#1b3e5c}.battle-view .ws-lv-clock .color-pill.color-none{color:#b8ccc2;background:#344a40}.battle-view .ws-hand-tray{justify-content:center;align-items:center;gap:calc(var(--sh)*.06);box-sizing:border-box;min-width:0;display:flex;overflow:hidden}.battle-view .ws-side-own .ws-hand-tray{height:var(--hand-h);margin:0 calc(var(--side)*.1);padding:calc(var(--u)*.45) calc(var(--u)*.8);background:#5d826d;border:2px solid #2ee6d6;border-radius:4px;flex:none;box-shadow:0 0 8px #2ee6d655,inset 0 0 10px #0005}.battle-view .ws-side-own .ws-hand-tray.empty{opacity:.55}.battle-view .ws-side-own .ws-hand-tray .card{aspect-ratio:.72;border-radius:4px;flex:0 auto;overflow:visible;width:auto!important;min-width:0!important;max-width:none!important;height:100%!important;margin:0!important;padding:0!important}.battle-view .ws-side-own .ws-hand-tray .card img{border-radius:3px;object-fit:cover!important;width:100%!important;height:100%!important}.battle-view .ws-side-own .ws-hand-tray .card .card-name{font-size:calc(var(--u)*.85)!important}.battle-view .ws-side-own .ws-hand-tray .card .card-stats{font-size:calc(var(--u)*.8)!important}.battle-view .ws-hand-tray .inline-selectable{cursor:pointer;border-color:#b8f5dc}.battle-view .ws-hand-tray .inline-selected{transform:translateY(-6px);box-shadow:0 0 16px 4px #ffe659cc,0 -14px 18px 2px #fff9b3aa;border:2px solid #fff380!important}.battle-view .ws-side-opp .ws-hand-tray{height:var(--opp-hand-h);gap:calc(var(--u)*.4);flex:none}.battle-view .ws-side-opp .ws-hand-tray .card-back{aspect-ratio:.72;border-radius:2px;flex:none;width:auto!important;min-width:0!important;max-width:none!important;height:100%!important;padding:0!important}.battle-view .ws-side-own .ws-action-bar{flex:none;justify-content:center;align-items:center;gap:6px;min-height:0;margin:0;display:flex}.battle-view .ws-side-own .ws-action-bar :is(.ws-done-btn,.ws-cancel-btn){padding:calc(var(--u)*.35) calc(var(--u)*2.2);white-space:normal;border-radius:7px;max-width:100%;font-size:clamp(11px,2.1cqh,17px);line-height:1.2}.battle-view .ws-center-prompt{color:#fff;text-shadow:-1.5px -1.5px #000,1.5px -1.5px #000,-1.5px 1.5px #000,1.5px 1.5px #000,0 2px 5px #000a;font-size:clamp(11px,2.5cqh,20px);font-weight:800}.battle-view .ws-public-zones{z-index:12;pointer-events:none;gap:10px;max-width:90%;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.battle-view .ws-public-group{color:#eaf6ef;pointer-events:auto;background:#12261dd9;border:1px solid #6d9683;border-radius:6px;padding:3px 6px}.battle-view .ws-public-group small{font-size:calc(var(--u)*.85);margin-bottom:2px;display:block}.battle-view .ws-public-cards{gap:3px;display:flex}.battle-view .ws-public-cards .card{width:calc(var(--sw)*.72)!important;height:calc(var(--sh)*.72)!important;min-width:0!important;padding:0!important}.battle-view .ws-public-cards .card img{object-fit:cover!important;width:100%!important;height:100%!important}.zone-viewer{max-height:62vh;overflow:auto}.zone-viewer .card{width:96px}.battle-view .duel-mat>.ws-side{--zh:calc(var(--sh)*.8);--zw:calc(var(--zh)*.72)}.battle-view .ws-half .ws-col-side .ws-mat-slot:not(.slot){width:var(--zw)!important;min-width:var(--zw)!important;max-width:var(--zw)!important;height:var(--zh)!important;min-height:var(--zh)!important;max-height:var(--zh)!important}.battle-view .ws-half .ws-col-side .ws-mat-slot.horiz,.battle-view .ws-half .ws-col-side .climax-slot{width:var(--zh)!important;min-width:var(--zh)!important;max-width:var(--zh)!important;height:var(--zw)!important;min-height:var(--zw)!important;max-height:var(--zw)!important}.battle-view .ws-half .ws-col-side .climax-slot .card,.battle-view .ws-half .ws-col-side .memory-slot .card{width:var(--zw)!important;height:var(--zh)!important}.battle-view .ws-half .deck-3d{width:calc(var(--zw)*.9);height:calc(var(--zh)*.9)}@container (width<=640px){.battle-view .duel-mat>.ws-side,.battle-view .duel-mat>.ws-public-zones{--sh:clamp(34px,calc(23.5cqw - 4px),110px);--side:calc(21.5cqw);--u:clamp(6px,1.3cqh,11px);--cz:0}.battle-view .ws-half{column-gap:calc(var(--sh)*.08)}.battle-view .ws-col-side{justify-content:center;gap:2px}.battle-view .ws-zone-row{flex-direction:column;gap:1px}.battle-view .ws-side .ws-half .ws-col-side .ws-mat-slot:not(.slot){width:calc(var(--side)*.66)!important;min-width:0!important;max-width:none!important;height:calc(var(--side)*.66*1.33)!important;min-height:0!important;max-height:none!important}.battle-view .ws-side .ws-half .ws-col-side .ws-mat-slot.horiz,.battle-view .ws-side .ws-half .ws-col-side .climax-slot{width:calc(var(--side)*.96)!important;height:calc(var(--side)*.68)!important;max-width:none!important;min-height:0!important;max-height:none!important}.battle-view .ws-half .climax-slot .card,.battle-view .ws-half .memory-slot .card{width:calc(var(--side)*.64)!important;height:calc(var(--side)*.9)!important}.battle-view .ws-half .deck-3d{width:calc(var(--side)*.5);height:calc(var(--side)*.7);margin:0 0 0 3px}.battle-view .deck-3d:before{padding:0 1px;font-size:6px}.battle-view .stock-card-back{width:calc(var(--side)*.5);min-width:0}.battle-view .ws-lv-clock{max-width:none;padding:2px}.battle-view .ws-lv-clock .color-badges{display:none}.battle-view .ws-lc-cards{gap:1px}.battle-view .mini-card,.battle-view .mini-slot{min-width:0;width:calc(var(--side)*.19);height:calc(var(--side)*.24);font-size:6px}.battle-view .red-counter{font-size:calc(var(--u)*1.6)}.battle-view .cx-counter,.battle-view .hand-counter{font-size:calc(var(--u)*.9)}.battle-view .ws-side-own .ws-hand-tray{margin:0 2px;padding:3px}}@container (height<=430px){.battle-view .duel-mat>.ws-side,.battle-view .duel-mat>.ws-public-zones{--sh:clamp(28px,min(11cqh,calc(22cqw)),100px);--hand-h:clamp(38px,15cqh,80px);--opp-hand-h:clamp(9px,3.5cqh,22px)}.battle-view .ws-side-own .ws-action-bar :is(.ws-done-btn,.ws-cancel-btn){padding:1px 12px;font-size:clamp(9px,3.4cqh,13px)}}@container (width<=640px){.battle-view .ws-lc-cards{flex-wrap:nowrap;min-height:0}.battle-view .ws-lc-label{display:none}.battle-view .mini-card,.battle-view .mini-slot{width:auto;min-width:0;max-width:calc(var(--side)*.17);height:calc(var(--side)*.22);flex:1 1 0;padding:0;font-size:5px;overflow:hidden}.battle-view .ws-lc-header{font-size:calc(var(--u)*.8)}}@container (width<=640px) and (height>=431px) and (height<=640px){.battle-view .duel-mat>.ws-side{--sh:clamp(28px,min(10.6cqh,calc(23.5cqw - 4px)),90px);--hand-h:clamp(44px,15cqh,100px)}}@container (width<=640px) and (height<=640px){.battle-view .cx-counter,.battle-view .hand-counter{display:none}.battle-view .ws-side .ws-half .ws-col-side .ws-mat-slot:not(.slot){width:calc(var(--side)*.58)!important;height:calc(var(--side)*.58*1.33)!important}}@keyframes wsDrawIn{0%{opacity:0;transform:translateY(-46px)scale(.62)}55%{opacity:1;transform:translateY(5px)scale(1.09)}to{opacity:1;transform:none}}@keyframes wsDrawGlow{0%,to{box-shadow:0 0 #ffe66000}30%{box-shadow:0 0 0 3px #ffe660,0 0 22px 6px #ffe660aa}}.battle-view .ws-hand-tray .card.fx-draw{z-index:3;animation:.55s cubic-bezier(.2,.8,.2,1) both wsDrawIn,1.4s ease-out both wsDrawGlow}.battle-view .ws-side-opp .ws-hand-tray .card-back.fx-draw{animation:.5s cubic-bezier(.2,.8,.2,1) both wsDrawIn,1.2s ease-out both wsDrawGlow}.ws-toast{z-index:90;pointer-events:none;color:#2b2200;white-space:nowrap;background:#ffe66b;border:2px solid #fff6c4;border-radius:99px;padding:4px 14px;font-size:15px;font-weight:800;animation:1.6s ease-out both wsToast;position:fixed;transform:translate(-50%,-100%);box-shadow:0 3px 12px #0007}.ws-toast-opp{color:#0d2a40;background:#bfe3ff;border-color:#eaf6ff}@keyframes wsToast{0%{opacity:0;transform:translate(-50%,-70%)scale(.8)}15%{opacity:1;transform:translate(-50%,-100%)scale(1.06)}75%{opacity:1;transform:translate(-50%,-125%)}to{opacity:0;transform:translate(-50%,-150%)}}.ws-reveal{z-index:80;pointer-events:none;justify-content:center;align-items:center;display:none;position:fixed}.ws-reveal.show{display:flex}.ws-reveal-box{opacity:0;background:#0f1f19ee;border:2px solid #7fc4a3;border-radius:14px;flex-direction:column;align-items:center;gap:8px;max-width:30%;padding:12px 16px 14px;transition:opacity .3s,transform .3s;display:flex;position:absolute;transform:translateY(14px)scale(.9);box-shadow:0 12px 40px #000a}.ws-reveal-box.ws-reveal-opp{top:12%;right:1.5%}.ws-reveal-box.ws-reveal-own{bottom:21%;left:1.5%}.ws-reveal-box.ws-reveal-center{max-width:92%;margin:0;top:50%;left:50%;translate:-50% -50%;box-shadow:0 12px 40px #000a,0 0 0 100vmax #0003}.ws-flip-row{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.ws-reveal-box.multi .ws-flip{width:clamp(80px,15vh,140px)}.ws-reveal-box.in{opacity:1;transform:none}.ws-reveal-box.out{opacity:0;transform:translateY(-10px)scale(.95)}.ws-reveal-damage{border-color:#e07a6b}.ws-reveal-trigger{border-color:#f0cf75}.ws-reveal-title{color:#fff;text-shadow:0 1px 3px #000;font-size:clamp(13px,2.4vh,20px);font-weight:800}.ws-reveal-sub{color:#dff3ea;min-height:1.4em;font-size:clamp(12px,2.1vh,17px);font-weight:700}.ws-reveal-sub.result{color:#ffe27a;font-size:clamp(14px,2.6vh,22px)}.ws-flip{aspect-ratio:.72;perspective:900px;width:clamp(110px,24vh,210px)}.ws-flip-inner{width:100%;height:100%;transform-style:preserve-3d;transition:transform .5s cubic-bezier(.3,.7,.2,1);position:relative}.ws-flip-inner.flipped{transform:rotateY(180deg)}.ws-flip-face{backface-visibility:hidden;border-radius:8px;position:absolute;inset:0;overflow:hidden;box-shadow:0 4px 18px #000b}.ws-flip-back{background:var(--ws-card-back-url,none) center/cover,linear-gradient(145deg,#2a312d,#121715);border:2px solid #8fa398}.ws-flip-front{background:#12241e;border:2px solid #fff;transform:rotateY(180deg)}.ws-flip-front img{object-fit:cover;width:100%;height:100%;display:block}.ws-flip-name{color:#fff;text-align:center;white-space:nowrap;text-overflow:ellipsis;background:#000b;padding:2px 4px;font-size:clamp(9px,1.7vh,13px);position:absolute;bottom:0;left:0;right:0;overflow:hidden}dialog#detail.zone-dialog{flex-direction:column;width:min(1120px,96vw);max-width:96vw;max-height:90vh;padding:16px 18px;display:flex;overflow:hidden}dialog#detail.zone-dialog #detail-content{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.zv-head{align-items:baseline;gap:12px;margin-bottom:10px;display:flex}.zv-head h2{margin:0;font-size:20px}.zv-count{color:#bfe3d2;font-weight:700}.zv-wrap{flex:1;grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:16px;min-height:0;display:grid;overflow:hidden}.zv-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));align-content:start;gap:12px;max-height:68vh;padding:4px 6px 10px 2px;display:grid;overflow:auto}.zv-item{color:#eaf6ef;cursor:pointer;text-align:center;background:#1b3029;border:2px solid #3e6455;border-radius:8px;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:5px;display:flex}.zv-item img{aspect-ratio:.72;object-fit:cover;border-radius:5px;width:100%;display:block}.zv-item.active{border-color:#ffe27a;box-shadow:0 0 14px #ffe27a88}.zv-name{-webkit-line-clamp:2;-webkit-box-orient:vertical;width:100%;font-size:11.5px;line-height:1.3;display:-webkit-box;overflow:hidden}.zv-preview{background:#13241e;border:1px solid #3e6455;border-radius:10px;max-height:68vh;padding:10px;overflow:auto}.zv-preview img{border-radius:8px;width:100%;margin-bottom:8px;display:block}.zv-text h3{margin:4px 0;font-size:16px}.zv-text small{color:#b8d6c7;margin-bottom:6px;display:block}.zv-text p{white-space:pre-wrap;margin:6px 0;font-size:12.5px;line-height:1.65}@media (width<=760px){.zv-wrap{grid-template-columns:minmax(0,1fr)}.zv-preview{display:none}.zv-grid{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));max-height:70vh}}dialog#detail.zone-dialog #detail-content img{max-width:100%;float:none!important;width:100%!important;margin:0!important}dialog#detail.zone-dialog #detail-content{white-space:normal}dialog#detail.zone-dialog .zv-item img{aspect-ratio:.72;height:auto!important}dialog#detail.zone-dialog #detail-close{margin-bottom:6px}.ws-fly{z-index:85;pointer-events:none;will-change:transform,opacity;filter:drop-shadow(0 6px 10px #000a);border-radius:6px;position:fixed;overflow:visible}.ws-fly img{object-fit:cover;border:2px solid #fff;border-radius:6px;width:100%;height:100%;display:block;box-shadow:0 0 14px #fffa}.ws-fly-back{background:var(--ws-card-back-url,none) center/cover,linear-gradient(145deg,#2a312d,#121715);border:2px solid #9fb2a8;box-shadow:0 0 14px #fff8}.ws-fly-count{color:#111;text-align:center;background:#ffd84d;border:1px solid #000;border-radius:99px;min-width:22px;padding:1px 6px;font-size:12px;font-weight:800;position:absolute;top:-8px;right:-8px}@keyframes wsPulseOut{0%{box-shadow:0 0 #ff9a4a00}25%{box-shadow:0 0 0 3px #ff9a4a,0 0 22px 6px #ff9a4ab0}to{box-shadow:0 0 #ff9a4a00}}@keyframes wsPulseIn{0%{box-shadow:0 0 #6bf2a800}25%{box-shadow:0 0 0 3px #6bf2a8,0 0 22px 6px #6bf2a8b0}to{box-shadow:0 0 #6bf2a800}}.battle-view .ws-pulse-out{animation:.65s ease-out wsPulseOut}.battle-view .ws-pulse-in{animation:.65s ease-out wsPulseIn}.ws-action-menu{z-index:9000;color:#f2f7f5;background:#10211cf2;border:1px solid #4a8f7b;border-radius:12px;gap:6px;min-width:150px;max-width:min(320px,100vw - 16px);padding:8px;display:grid;position:fixed;box-shadow:0 10px 30px #0008}.ws-action-menu[hidden]{display:none}.ws-action-menu-title{color:#a9c4bd;white-space:nowrap;text-overflow:ellipsis;padding:0 4px 2px;font-size:12px;overflow:hidden}.ws-action-menu-item{text-align:left;color:#fff;cursor:pointer;font:inherit;background:#1c4a3c;border:1px solid #5fb89a;border-radius:8px;gap:2px;padding:8px 12px;display:grid}.ws-action-menu-item:hover,.ws-action-menu-item:focus-visible{background:#2a7a5f;outline:2px solid #ffe27a}.ws-action-menu-item strong{font-size:15px}.ws-action-menu-item small{color:#cfe8de;white-space:normal;font-size:11px;line-height:1.35}.battle-view .ws-half .slot:has(.card.ws-pop):hover{z-index:6}.battle-view .ws-half .slot .card.ws-pop{transition:translate .18s,box-shadow .18s;position:relative;box-shadow:0 3px 7px #0008}.battle-view .ws-half .slot .card.ws-pop:hover{box-shadow:0 9px 16px #000b,0 0 0 1px #ffe27a99}.battle-view .ws-half .slot .card.ws-pop .card-name,.battle-view .ws-half .slot .card.ws-pop .card-stats,.battle-view .ws-half .slot .card.ws-pop .pos-badge{z-index:4;position:relative}.battle-view .ws-half .slot{position:relative}.battle-view .ws-half .slot .ws-marker-stack{z-index:5;pointer-events:auto;flex-direction:column-reverse;gap:0;display:flex;position:absolute;bottom:-12%;right:-10%}.battle-view .ws-half .slot .ws-marker-stack .card{outline:1px solid #ffe27acc;box-shadow:0 2px 5px #000a;width:calc(var(--sw)*.46)!important;height:calc(var(--sh)*.46)!important;min-width:0!important;margin-top:calc(var(--sh)*-.3)!important}.battle-view .ws-half .slot .ws-marker-stack .card .card-name,.battle-view .ws-half .slot .ws-marker-stack .card .card-stats,.battle-view .ws-half .slot .ws-marker-stack .card .pos-badge{display:none}.card{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.touch-ghost{z-index:9999;pointer-events:none;opacity:.92;border-radius:6px;transform:translate(-50%,-62%)scale(1.12)rotate(-3deg);box-shadow:0 12px 24px #000a;margin:0!important;position:fixed!important}@media (width<=600px){body.battle-view{--battle-header-h:46px}.battle-view>header{height:var(--battle-header-h);min-height:var(--battle-header-h);flex-wrap:nowrap;align-items:center;gap:4px;padding:4px 6px;display:flex;overflow:hidden}.battle-view>header h1,.battle-view>header #identity,.battle-view>header>a{display:none!important}.battle-view>header #connection{flex:none;width:14px;font-size:0!important}.battle-view>header #connection:first-letter{font-size:13px}.battle-view>header .battle-room-tools{display:contents}.battle-view .battle-room-info{flex:1 1 0;order:1;gap:0;min-width:0;overflow:hidden}.battle-view .battle-room-info h2{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:12px;overflow:hidden}.battle-view .battle-room-info p{display:none}.battle-view>header button,.battle-view>header .battle-room-tools>button{white-space:nowrap;border-radius:8px;flex:none;order:2;min-width:36px;height:36px;min-height:36px;margin:0;padding:0 8px;font-size:12px}.battle-view>header button .bl{display:none}.battle-view>header button .bi{font-size:16px;line-height:1}.battle-view #app{grid-template-rows:34px minmax(0,1fr)}.battle-view .room-status{align-items:center;gap:6px;padding:2px 8px;display:flex}.battle-view .room-status .phase-track{display:none}.battle-view .room-status .status{margin:0;font-size:12px}body:not(.battle-view)>header{gap:6px;padding:8px 12px}body:not(.battle-view)>header button .bl{display:none}body:not(.battle-view)>header button{min-height:38px;padding:6px 10px}}@media (width<=900px){.ws-action-menu{width:100%;min-width:0;max-width:none;padding:10px 10px calc(10px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;grid-template-columns:1fr 1fr;gap:8px;box-shadow:0 -8px 30px #000a;inset:auto 0 0!important}.ws-action-menu-title{color:#cfe8de;grid-column:1/-1;font-size:14px}.ws-action-menu-item{align-content:center;min-height:48px}.ws-action-menu-aux{text-align:center;background:#26384b;border-color:#6b87a3}.ws-action-menu{padding:8px 8px calc(8px + env(safe-area-inset-bottom));grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ws-action-menu-title{padding:0 2px;font-size:13px}.ws-action-menu-item{min-height:44px;padding:6px 8px}.ws-action-menu-item strong{font-size:14px}.ws-action-menu-item small{display:none}.ws-action-menu-aux:last-child{grid-column:1/-1;min-height:38px}.ws-action-menu-empty{color:#cfe8de;grid-column:1/-1;padding:6px 4px;font-size:13px}.ws-action-menu-wide{text-align:left;grid-column:1/-1}.ws-action-menu-wide small{margin-top:2px;font-size:11px;line-height:1.35;display:block}}.battle-chat-btn{display:none}@media (width<=900px){.battle-view .battle-chat-btn{justify-content:center;align-items:center;min-height:32px;display:inline-flex}.battle-view.battle-chat-open .room-inspector{left:8px;right:8px;top:var(--battle-header-h);z-index:60;width:auto;height:auto;display:flex;position:fixed;bottom:8px;overflow:auto;box-shadow:0 0 0 100vmax #0008}.battle-view.battle-chat-open .room-art-box,.battle-view.battle-chat-open .room-card-detail{display:none}.battle-view.battle-chat-open .room-drawer .chat-log,.battle-view .room-drawer .log{max-height:34dvh}.battle-view .room-drawer summary{align-items:center;min-height:44px;display:flex}.battle-view .room-drawer .chat input,.battle-view .room-drawer .chat button{min-height:44px;font-size:16px}.battle-view .zone-dock .zone[open]>summary{justify-content:center;align-items:center;min-height:44px;display:flex}.battle-view .zone-dock .cards{max-height:calc(100dvh - var(--battle-header-h) - 190px);justify-content:flex-start}.battle-view .zone-dock .card{aspect-ratio:5/7;width:calc(25% - 6px);height:auto}}@media (width<=600px){.battle-view .battle-chat-btn{padding:4px;font-size:9px}}@media (width<=760px){dialog#detail.zone-dialog{width:calc(100vw - 12px);max-width:none;max-height:92dvh;padding:10px}dialog#detail.zone-dialog #detail-close{min-height:44px}.zv-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:38dvh}.zv-preview{max-height:30dvh;padding:8px;display:block}.zv-preview:empty{display:none}.zv-preview img{float:left;width:90px;margin:0 10px 4px 0}}.zv-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.zv-actions .ws-action-menu-item{flex:220px}.ws-mat-slot{position:relative}.ws-zone-act{z-index:2;color:#1b2a22;pointer-events:none;background:#ffe27a;border-radius:999px;padding:1px 6px;font-size:11px;font-weight:700;position:absolute;top:4px;right:4px}:root{--home-ink:#213c44;--home-muted:#4e6870;--home-accent:#167e78;--home-line:#dce7e8}:root:has(body :is(.home-workspace,.builder-workspace,.waiting-workspace,#login)){--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#eef3f4}body:has(:is(.home-workspace,.builder-workspace,.waiting-workspace,#login)){min-height:100dvh}:is(body:has(.home-workspace),body:has(.builder-workspace)){color:var(--home-ink);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#eef3f4}:is(body:has(.home-workspace)>header,body:has(.builder-workspace)>header){border-bottom:1px solid var(--home-line);color:#24444d;background:#fff;padding:14px 28px}:is(body:has(.home-workspace)>header a,body:has(.builder-workspace)>header a){color:#217a78}:is(body:has(.home-workspace) #connection,body:has(.builder-workspace) #connection){color:#268577}:is(body:has(.home-workspace) .header-btn,body:has(.builder-workspace) .header-btn){color:#35595f;background:#f0f6f5;border-color:#cfdfdf}:is(body:has(.home-workspace) .workspace-nav button,body:has(.builder-workspace) .workspace-nav button){color:#34616b;background:#fff;border-color:#d3e1e2;font-size:13px}.home-workspace{max-width:1500px;padding:24px}.home-workspace button{color:#2d696e;background:#fff;border:1px solid #c8dddf}.home-workspace button:hover{background:#e5f3ef}.home-workspace input{color:var(--home-ink);background:#f7fafb;border:1px solid #cfdfe1}.home-workspace section{border:1px solid var(--home-line);background:#fff;border-radius:18px;margin:0;padding:24px}.home-workspace .home-hero{color:#fff;background:linear-gradient(115deg,#173f48,#246965);border:0;margin-bottom:22px;padding:32px 36px;position:relative;overflow:hidden}.home-hero:after{content:"WS";opacity:.055;pointer-events:none;letter-spacing:-18px;font-size:170px;font-weight:900;position:absolute;top:-22px;right:30px}.home-eyebrow{letter-spacing:3px;color:#a7d6cb;font-size:11px}.home-hero h2{letter-spacing:1px;margin:13px 0;font-size:28px}.home-hero p{color:#c5dedb;margin-bottom:24px;font-size:14px}.home-hero button{margin-right:8px;color:#eaf9f3!important;background:#ffffff0a!important;border-color:#9bd4c9!important;padding:11px 18px!important}.home-hero button:first-of-type{font-weight:700;color:#17453c!important;background:#bce9d7!important;border-color:#bce9d7!important}.home-columns{grid-template-columns:minmax(350px,1.05fr) minmax(420px,1fr);align-items:start;gap:22px;display:grid}.home-section-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.home-section-head h2,.home-library>h2{margin:0 0 18px;font-size:20px}.home-section-head>span{color:#4e6870;font-size:12px}.home-create{gap:8px;margin-bottom:15px;display:flex}.home-create input{flex:1;min-width:0;font-size:12px}.home-create button{background:var(--home-accent);color:#fff;white-space:nowrap;border-color:var(--home-accent);font-size:12px}.home-chips{align-items:center;gap:8px;margin:14px 0 20px;display:flex}.home-chips button{border-radius:20px;padding:6px 13px;font-size:12px}.home-chips button[aria-pressed=true]{color:#116e5d;background:#e0f2ec;border-color:#98c8bb;font-weight:700}.home-empty{color:var(--home-muted);text-align:center;background:#f9fbfb;border:1px dashed #c8dada;border-radius:12px;padding:35px 20px}.home-empty strong{color:#45666e;font-size:17px}.home-empty p{font-size:13px;line-height:1.7}.home-room{border:1px solid #d8e5e6;border-radius:12px;margin-top:12px;padding:18px}.home-room h3{overflow-wrap:anywhere;margin:0;font-size:16px}.home-room .home-status{white-space:nowrap;color:#4e6870;background:#eef1f3;border-radius:20px;padding:4px 8px;font-size:11px}.home-status.waiting{color:#287c52!important;background:#e2f3e9!important}.home-status.playing{color:#506fb1!important;background:#e6edfc!important}.home-seats{grid-template-columns:1fr 1fr;gap:10px;margin:16px 0;display:grid}.home-seats>div{background:#f2f7f8;border-radius:8px;align-items:center;gap:9px;min-width:0;padding:12px;display:flex}.home-seats small{color:#4e6870;font-size:11px}.home-seats strong{overflow-wrap:anywhere;font-size:13px}.home-seats .vacant{color:#3f6b62;background:#f7fbf8;border:1px dashed #bdd9cf}.home-room-actions{align-items:center;gap:8px;display:flex}.home-room-actions small{color:#4e6870;margin-right:auto;font-size:11px}.home-room-actions button{padding:7px 12px;font-size:12px}.home-room-actions button:first-of-type:not(:last-of-type){color:#fff;background:#18847a;border-color:#18847a}.home-library .home-muted{color:var(--home-muted);margin-top:-5px;font-size:12px;line-height:1.7}.home-library>input{width:100%;margin:8px 0 18px;font-size:13px}.home-deck-shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.home-deck{border:1px solid #dbe7e8;border-radius:12px;min-width:0;padding:0 14px 14px;overflow:hidden}.home-deck-cover{border-radius:0;justify-content:center;align-items:center;gap:0;width:calc(100% + 28px);height:140px;margin:0 -14px 13px;display:flex;overflow:hidden;background:linear-gradient(125deg,#dfecea,#eaf0f5)!important;border:0!important;padding:10px!important}.home-deck-cover img{object-fit:contain;filter:drop-shadow(0 4px 5px #23433c35);width:80px;height:112px;transition:transform .16s}.home-deck-cover img:first-child{transform:rotate(-9deg)translate(10px,6px)}.home-deck-cover img:last-child{transform:rotate(9deg)translate(-10px,6px)}.home-deck-cover:hover img{transform:translateY(-3px)}.home-deck>small{letter-spacing:1px;color:#458b7d;font-size:11px}.home-deck h3{margin:7px 0;font-size:15px;line-height:1.5}.home-deck p{color:#4e6870;margin:5px 0 14px;font-size:11px}.home-deck-actions{flex-wrap:wrap;gap:5px;display:flex}.home-deck-actions button{padding:6px 8px;font-size:11px}.home-deck-actions button:first-child{color:#22776b;background:#edf6f2}.deck-dialog{color:#24424b;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#f6f9fa;border:1px solid #c7dcda;width:min(1180px,95vw);max-height:92dvh;padding:22px;overflow:auto;box-shadow:0 20px 90px #102e3655}.deck-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0e293b99}.deck-dialog-head{z-index:2;background:#f6f9faf5;border-bottom:1px solid #dce6e7;justify-content:space-between;align-items:center;padding:10px 0;display:flex;position:sticky;top:-22px}.deck-dialog-head h2{margin:0;font-size:22px}.deck-dialog button{color:#26666b;background:#fff;border:1px solid #bed6d7;font-size:12px}.deck-dialog input,.deck-dialog textarea{color:#23414b;background:#fff;border:1px solid #c4d8dc;font-size:12px}.deck-dialog-layout{grid-template-columns:225px minmax(0,1fr);align-items:start;gap:22px;display:grid}.deck-dialog-preview{background:#fff;border-radius:12px;max-height:68dvh;padding:14px;position:sticky;top:45px;overflow:auto}.deck-dialog-preview img{object-fit:contain;width:100%;max-height:300px}.deck-dialog-preview h3{font-size:16px}.deck-dialog-preview small{color:#4e6870;font-size:11px}.deck-dialog-preview p{font-size:12px;line-height:1.7}.deck-full-effect{white-space:pre-wrap}.deck-summary{color:#477774;font-size:13px}.deck-gallery{grid-template-columns:repeat(auto-fill,minmax(105px,1fr));align-items:start;gap:10px;display:grid}.deck-gallery>h3{color:#4e6870;border-bottom:1px solid #d5e3e5;grid-column:1/-1;margin:0;padding:10px 0 7px;font-size:12px}.deck-tile{text-align:left;border-radius:8px;flex-direction:column;align-items:stretch;min-width:0;display:flex;position:relative;padding:5px!important}.deck-tile img{object-fit:contain;width:100%;height:155px}.deck-tile b{color:#fff;background:#167e78;border-radius:15px;padding:3px 8px;font-size:12px;position:absolute;top:8px;right:7px;box-shadow:0 2px 4px #0002}.deck-tile>span{min-height:30px;margin-top:4px;font-size:11px;line-height:1.5}.deck-tile small{color:#4e6870;overflow-wrap:anywhere;font-size:11px}.deck-dialog-actions{gap:8px;margin:20px 0;display:flex}.deck-dialog-actions button:first-child,.deck-dialog>button:last-child{color:#fff;background:#167e78;border-color:#167e78}.deck-dialog details textarea{height:180px}.gallery-empty{text-align:center;color:#4e6870;grid-column:1/-1;padding:40px}.unknown-art{color:#a85442;background:#f9e9e5;place-items:center;height:155px;display:grid}.import-layout{grid-template-columns:280px minmax(0,1fr);gap:22px;margin:20px 0;display:grid}.import-source input,.import-source textarea{width:100%;margin-bottom:12px;display:block}.import-source textarea{resize:vertical;height:330px}.import-source h3,.import-preview>h3{font-size:15px}.import-source p,.import-status{color:#4e6870;font-size:12px;line-height:1.7}.import-status>span{display:block}.import-status>strong{color:#274d57;font-size:15px}.import-status .valid{color:#247d5e}.import-card-detail{background:#fff;border-radius:10px;max-height:230px;margin-bottom:15px;padding:14px;font-size:12px;overflow:auto}.import-card-detail img{float:left;object-fit:contain;width:115px;max-height:170px;margin-right:15px}.deck-dialog>p{color:#4e6870;font-size:13px}.deck-dialog button:disabled{opacity:.4}.builder-shell .builder-head{padding-right:230px;position:relative}.builder-head>button{color:#fff;background:#167e75;padding:12px 18px;position:absolute;top:28px;right:18px}.builder-head h2{font-size:25px}.builder-head p{color:#4e6870}.builder-shell .catalog-filters:not(.expanded)>label:nth-child(n+5){display:none}.builder-shell .catalog-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.builder-catalog>.catalog-filters+button{color:#3f6b62;background:0 0;border:0;padding:9px 0;font-size:11px}.builder-shell .catalog-results{max-height:67vh}.builder-shell .builder-layout{grid-template-columns:220px minmax(340px,1fr) 370px}.builder-shell .builder-preview{background:#f4f8f7;border:0}.builder-shell .builder-preview img{object-fit:contain;max-height:340px}.builder-shell .builder-deck{border-top:3px solid #3a9b8b}.builder-shell .builder-deck-list.images{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:54vh;padding:3px;display:grid}.builder-deck-list.images h4{grid-column:1/-1;margin:9px 0 2px}.builder-deck-list.images .builder-deck-row{border:1px solid #dbe6e5;border-radius:7px;grid-template-columns:1fr 1fr;align-items:start;gap:3px;padding:4px;display:grid;position:relative}.builder-deck-list.images .deck-row-art{border:0;grid-column:1/-1;padding:0}.builder-deck-list.images .deck-row-art img{object-fit:contain;width:100%;height:117px;display:block}.builder-deck-list.images .builder-deck-row>b{color:#fff;background:#247e73;border-radius:8px;min-width:0;padding:3px 5px;font-size:11px;position:absolute;top:4px;right:4px}.builder-deck-list.images .builder-deck-row>button:not(.deck-row-art):first-of-type{grid-column:1/-1}.builder-deck-list.images .builder-deck-row>button:nth-of-type(2){text-align:left;grid-column:1/-1;min-height:34px;padding:2px;font-size:11px;line-height:1.5}.builder-deck-list.images .builder-deck-row>button:nth-of-type(n+3){background:#f0f6f4;padding:3px;font-size:12px}.builder-deck-list.list .deck-row-art{flex-shrink:0;width:35px;padding:0}.builder-deck-list.list .deck-row-art img{object-fit:contain;width:32px;height:45px;display:block}.builder-deck-list.list .builder-deck-row>button:nth-of-type(2){text-align:left;flex:1}.deck-view-toggle{gap:4px;margin:9px 0;display:flex}.deck-view-toggle button{padding:5px 14px;font-size:11px}.deck-view-toggle button[aria-pressed=true]{color:#1c7262;background:#e2f2ec;border-color:#9fcdbd}.builder-health{color:#9b6e3c;background:#faf3e8;border-radius:6px;padding:8px;font-size:11px;line-height:1.5}.builder-health.valid{color:#2b7958;background:#e6f4eb}@media (width>=1600px){.builder-shell .builder-layout{grid-template-columns:250px minmax(400px,1fr) 420px}.builder-deck-list.images .deck-row-art img{height:145px}}@media (width<=1100px){.home-columns{grid-template-columns:1fr}.home-deck-shelf{grid-template-columns:repeat(3,minmax(0,1fr))}.builder-shell .builder-layout{grid-template-columns:minmax(0,1fr) 340px}.builder-shell .builder-preview{grid-column:1/-1;max-height:210px;position:static}.builder-shell .builder-preview>img{float:left;width:125px;margin-right:15px}}@media (width<=700px){.home-workspace{padding:12px}.home-workspace section{padding:17px}.home-workspace .home-hero{padding:24px}.home-hero h2{font-size:21px}.home-create{flex-direction:column}.home-deck-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}.home-deck-cover{height:120px}.home-deck-cover img{width:65px;height:90px}.home-columns{gap:14px}.deck-dialog{padding:12px}.deck-dialog-layout,.import-layout{grid-template-columns:1fr}.deck-dialog-preview{max-height:210px;position:static}.deck-dialog-preview img{float:left;width:115px;margin-right:12px}.deck-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.deck-tile img{height:130px}.import-source textarea{height:150px}.builder-shell .builder-head{padding-bottom:65px;padding-right:14px}.builder-head>button{inset:auto auto 14px 14px}.builder-shell .builder-layout{display:flex}.builder-shell .catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.builder-shell .builder-deck{order:0}.builder-shell .builder-deck-list.images{grid-template-columns:repeat(4,minmax(0,1fr));max-height:400px}.builder-deck-list.images .deck-row-art img{height:105px}.builder-shell .builder-deck{position:static}.builder-shell .catalog-results{max-height:500px}}.deck-dialog[open]:has(.import-layout){grid-template-rows:auto auto minmax(0,1fr) auto;height:90dvh;display:grid;overflow:hidden}.deck-dialog:has(.import-layout)>.import-layout{min-height:0;margin:8px 0 15px;overflow:hidden}.deck-dialog:has(.import-layout)>.import-layout>div{min-height:0;overflow:auto}.deck-dialog:has(.import-layout)>button:last-child{z-index:2;width:100%;margin:0;padding:12px}.deck-dialog:has(.import-layout)>p{margin:10px 0}.builder-shell .builder-head{padding-top:16px;padding-bottom:16px}.builder-shell .builder-head h2,.builder-shell .builder-head p{margin:4px 0}.builder-shell .catalog-image:focus-visible,.deck-tile:focus-visible,.deck-row-art:focus-visible{outline-offset:2px;outline:3px solid #298d7d}@media (width<=700px){.deck-dialog:has(.import-layout)>.import-layout{display:block;overflow:auto}.deck-dialog:has(.import-layout)>.import-layout>div{overflow:visible}.builder-shell .builder-head{padding-bottom:65px}}body:has(.waiting-workspace):not(.battle-view){color:#213c44;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#eef3f4}body:has(.waiting-workspace):not(.battle-view)>header{color:#24444d;background:#fff;border-bottom:1px solid #dce7e8}body:has(.waiting-workspace):not(.battle-view)>header a{color:#217a78}body:has(.waiting-workspace):not(.battle-view) #connection{color:#268577}.waiting-workspace{max-width:1200px;padding:24px}.waiting-workspace section{background:#fff;border:1px solid #dce7e8;border-radius:16px;padding:25px}.waiting-workspace button{color:#2d696e;background:#fff;border-color:#c8dddf;font-size:13px}.waiting-workspace .workspace-nav button{border-radius:20px}.waiting-workspace .waiting-head{color:#fff;background:linear-gradient(115deg,#173f48,#246965);border:0;padding-right:200px;position:relative}.waiting-head p{color:#c5dedb;margin-bottom:0;font-size:13px;line-height:1.7}.waiting-head>button{color:#ecf8f3;background:#ffffff14;border-color:#8dbbad;position:absolute;top:35px;right:24px}.waiting-progress{color:#4e6870;flex-wrap:wrap;justify-content:center;gap:18px;margin:25px 0;font-size:12px;display:flex}.waiting-progress .active{color:#228174;font-weight:700}.waiting-seats{grid-template-columns:1fr 1fr;gap:22px;display:grid}.waiting-seat.mine{border-top:3px solid #398e7e}.waiting-seat h3{margin:0;font-size:18px}.waiting-presence{color:#4e6870;font-size:11px}.waiting-deck-cover{justify-content:center;align-items:center;width:100%;height:180px;margin:20px 0;padding:10px;display:flex;overflow:hidden;background:linear-gradient(120deg,#dfefea,#edf1f5)!important;border:0!important}.waiting-deck-cover img{object-fit:contain;filter:drop-shadow(0 4px 5px #23433c30);width:115px;height:155px}.waiting-deck-cover img:first-child{transform:rotate(-8deg)translate(12px,5px)}.waiting-deck-cover img:last-child{transform:rotate(8deg)translate(-12px,5px)}.waiting-seat label{color:#4e6870;font-size:12px}.waiting-seat select{color:#24444d;background:#f7fafb;border-color:#cbdde0;width:100%;margin-top:8px;font-size:14px;display:block}.waiting-seat .home-muted{color:#4e6870;font-size:12px;line-height:1.7}.waiting-actions{gap:8px;margin-top:20px;display:flex}.waiting-actions button:last-child:not(:first-child){color:#fff;background:#167e78;border-color:#167e78;flex:1}.waiting-ready{color:#2a8a61;background:#e8f6ed;border-radius:8px;padding:9px 12px;font-size:12px}.waiting-hint{text-align:center;color:#3f6b62;margin:20px 0;font-size:13px}.waiting-workspace .chat{color:#32575e;margin-top:18px}.waiting-workspace .chat input{color:#24444d;background:#f7fafb;border-color:#cbdde0}.waiting-workspace .home-empty{margin:25px 0;font-size:13px}.builder-shell .builder-head{min-height:120px}.builder-head>button:first-of-type{top:16px}.builder-head>button:last-of-type{color:#407c76;background:0 0;border-color:#0000;padding:6px 12px;top:68px}.builder-save-state{color:#3f6b62;margin:5px 0;font-size:11px}.builder-head>button:only-of-type{top:28px}@media (width<=700px){.waiting-workspace{padding:12px}.waiting-workspace .waiting-head{padding:20px}.waiting-head>button{margin-top:14px;position:static}.waiting-seats{grid-template-columns:1fr}.waiting-progress{gap:10px;font-size:11px}.waiting-deck-cover{height:150px}.waiting-deck-cover img{width:95px;height:130px}.builder-shell .builder-head{padding-bottom:105px}.builder-head>button:first-of-type{top:auto;bottom:50px}.builder-head>button:last-of-type{top:auto;bottom:12px}}.waiting-workspace .waiting-head{padding:18px 200px 18px 24px}.waiting-head h2{margin:6px 0;font-size:24px}.waiting-head p{margin-top:6px;font-size:12px}.waiting-progress{margin:18px 0}.waiting-workspace .waiting-seat{padding:18px}.waiting-deck-cover{height:135px;margin:14px 0}.waiting-deck-cover img{width:88px;height:118px}.waiting-actions{margin-top:12px}.waiting-seat .home-muted{font-size:11px;line-height:1.5}.waiting-head>button{top:28px}@media (width<=700px){.waiting-workspace .waiting-head{padding:18px}.waiting-head>button{position:static}.waiting-deck-cover{height:135px}}body:has(#login){color:#213c44;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#eef3f4}body:has(#login)>header{color:#24444d;background:#fff;border-bottom:1px solid #dce7e8;padding:14px 28px}body:has(#login)>header a{color:#217a78}body:has(#login) .header-btn{color:#35595f;background:#f0f6f5;border-color:#cfdfdf}body:has(#login) #app{max-width:720px;padding:60px 24px}#login{color:#213c44;background:#fff;border:1px solid #dce7e8;border-top:4px solid #268a7d;border-radius:18px;padding:32px;box-shadow:0 12px 40px #204a4510}#login h2{margin:0 0 14px;font-size:26px}#login p{color:#4e6870;margin-bottom:24px;font-size:14px;line-height:1.8}#login>input{color:#24444d;background:#f7fafb;border:1px solid #cbdde0;width:100%;max-width:none;margin-bottom:16px;padding:13px 14px}#login>input::placeholder{color:#4e6870}#login>button{color:#fff;background:#167e78;border-color:#167e78;width:100%;padding:13px;font-weight:600}#login>button:hover:not(:disabled){background:#116d67}#login>input:focus-visible{outline-offset:2px;outline:3px solid #a4d9ca}@media (width<=600px){body:has(#login) #app{padding:30px 16px}#login{padding:24px}body:has(#login)>header{padding:12px 16px}}body:has(#login){min-height:100dvh}body:not(.battle-view) :is(#detail,#card-back-dialog){color:#24424b;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#f6f9fa;border:1px solid #c7dcda;border-radius:16px;box-shadow:0 20px 90px #102e3655}body:not(.battle-view) :is(#detail,#card-back-dialog)::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0e293b99}body:not(.battle-view) #detail{max-width:95vw;padding:22px}body:not(.battle-view) #detail h2{font-size:20px;line-height:1.5}body:not(.battle-view) #detail p{font-size:13px;line-height:1.7}body:not(.battle-view) #detail button{color:#26666b;background:#fff;border:1px solid #bed6d7;margin:4px;padding:9px 15px;font-size:13px}body:not(.battle-view) #detail-content>button:first-of-type{color:#fff;background:#167e78;border-color:#167e78}body:not(.battle-view) #card-back-dialog{max-height:90dvh;padding:0;overflow:auto}body:not(.battle-view) #card-back-dialog .dialog-header{color:#24424b;z-index:2;background:#f6f9fa;border-color:#dce7e8;padding:18px;position:sticky;top:0}body:not(.battle-view) #card-back-dialog .dialog-header h2{color:#24424b;font-size:18px}body:not(.battle-view) #card-back-dialog .dialog-desc{color:#4e6870;line-height:1.7}body:not(.battle-view) #card-back-dialog .dialog-body{color:#355960;background:#fff;gap:18px;padding:18px}body:not(.battle-view) #card-back-dialog .dialog-body strong{font-size:12px}body:not(.battle-view) #card-back-dialog :is(.preset-btn,.file-upload-btn,.btn-dialog-secondary,.dialog-close-btn){color:#35595f;background:#f0f6f5;border:1px solid #cfdfdf}body:not(.battle-view) #card-back-dialog :is(.preset-btn,.file-upload-btn,.btn-dialog-secondary,.dialog-close-btn):hover{color:#226c60;background:#e0f0e9}body:not(.battle-view) #card-back-dialog .custom-url-row input{color:#24444d;background:#f7fafb;border-color:#cbdde0;min-width:0}body:not(.battle-view) #card-back-dialog .preview-box{background:#edf3f2;border-color:#dce7e8}body:not(.battle-view) #card-back-dialog .card-back-preview-card{box-shadow:0 4px 12px #204a4528}body:not(.battle-view) #card-back-dialog .dialog-footer{z-index:2;background:#f6f9fa;border-color:#dce7e8;padding:14px 18px;position:sticky;bottom:0}body:not(.battle-view) #card-back-dialog .btn-dialog-primary{color:#fff;background:#167e78;border-color:#167e78}body:not(.battle-view) #card-back-dialog .btn-dialog-primary:hover{background:#116d67}body:not(.battle-view) #card-back-dialog :is(input,button,.file-upload-btn):focus-visible{outline-offset:2px;outline:3px solid #a4d9ca}body:not(.battle-view):has(:is(.home-workspace,.waiting-workspace,.builder-workspace,#login)) #error:not(:empty){color:#a53e32;background:#fff0ed;border-bottom:1px solid #efc8bf}body:not(.battle-view):has(:is(.home-workspace,.waiting-workspace,.builder-workspace,#login)) #notice:not(:empty){color:#286e59;background:#e3f3ec;border-bottom:1px solid #bddfd0}body:not(.battle-view):has(:is(.home-workspace,.waiting-workspace,.builder-workspace,#login)) .header-btn{color:#35595f;background:#f0f6f5;border-color:#cfdfdf}body:not(.battle-view):has(:is(.home-workspace,.waiting-workspace,.builder-workspace,#login)) .header-btn:hover{color:#226c60;background:#e0f0e9}body:not(.battle-view) :is(.builder-shell,.home-workspace,.waiting-workspace,.deck-dialog) input::placeholder,body:not(.battle-view) :is(.builder-shell,.deck-dialog) textarea::placeholder{color:#4e6870;opacity:1}body:not(.battle-view) .waiting-workspace .chat-log:empty:before{color:#4e6870}@media (width<=500px){body:not(.battle-view) #card-back-dialog .custom-url-row{flex-wrap:wrap}body:not(.battle-view) #card-back-dialog .custom-url-row input{flex-basis:100%}body:not(.battle-view) #card-back-dialog .preset-btn{flex:1}body:not(.battle-view) #detail{padding:16px}}body:not(.battle-view) :is(.home-columns,.home-deck-shelf,.home-room,.home-deck,.home-seats>div,.waiting-seats,.waiting-seat,.builder-layout,.builder-catalog,.builder-deck,.builder-preview,.catalog-card,.catalog-info,.deck-dialog-layout>*,.import-layout>*){min-width:0}body:not(.battle-view) :is(.home-workspace,.waiting-workspace,.builder-shell,.deck-dialog,#card-back-dialog,#detail){overflow-wrap:anywhere}body:not(.battle-view) :is(.home-workspace,.waiting-workspace,.builder-shell,.deck-dialog) :is(input,select,textarea){max-width:100%}body:not(.battle-view) .deck-bars{flex-wrap:wrap}.builder-mobile-nav{display:none}body:not(.battle-view) .mobile-card-preview{max-width:600px;margin:auto;padding:12px 0}body:not(.battle-view) .mobile-card-preview>img{object-fit:contain;width:min(100%,220px);max-height:38dvh;margin:0 auto 14px;display:block}body:not(.battle-view) .mobile-card-preview p{font-size:14px;line-height:1.75}@media (width<=700px){body:not(.battle-view):has(:is(#login,.home-workspace,.waiting-workspace,.builder-workspace))>header{flex-wrap:wrap;gap:8px;padding:10px 12px}body:not(.battle-view)>header #identity{overflow-wrap:anywhere;max-width:100%}body:not(.battle-view):has(:is(#login,.home-workspace,.waiting-workspace,.builder-workspace))>header h1{font-size:18px}body:not(.battle-view) :is(.home-workspace,.waiting-workspace,.builder-shell,.deck-dialog,#detail,#card-back-dialog) :is(button,summary,.file-upload-btn){touch-action:manipulation;min-height:44px}body:not(.battle-view) :is(.home-workspace,.waiting-workspace,.builder-shell,.deck-dialog,#detail,#card-back-dialog) :is(input,select,textarea){font-size:16px}body:not(.battle-view) .workspace-nav{flex-wrap:wrap}body:not(.battle-view) .workspace-nav button{min-height:44px;font-size:12px}body:not(.battle-view) .home-hero button{margin:4px 4px 0 0}body:not(.battle-view) .home-section-head{flex-wrap:wrap}body:not(.battle-view) .home-chips{flex-wrap:wrap;gap:6px}body:not(.battle-view) .home-deck-shelf{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}body:not(.battle-view) .home-deck-actions button{flex:1;min-width:75px}body:not(.battle-view) .home-room-actions{flex-wrap:wrap}body:not(.battle-view) .home-seats{gap:6px}body:not(.battle-view) .home-seats>div{flex-wrap:wrap;padding:9px}body:not(.battle-view) .waiting-head>button{width:100%}body:not(.battle-view) .waiting-actions{flex-wrap:wrap}body:not(.battle-view) .waiting-actions button{flex:1;min-width:100px}body:not(.battle-view) .waiting-workspace .chat input{flex-basis:100%;width:100%;min-width:0}body:not(.battle-view) .builder-shell{padding:8px}body:not(.battle-view) .builder-mobile-nav{z-index:3;background:#f5f8f9;border-bottom:1px solid #dce7e8;gap:6px;margin-bottom:10px;padding:8px 0;display:flex;position:sticky;top:0}body:not(.battle-view) .builder-mobile-nav button{flex:1;font-size:14px}body:not(.battle-view) .builder-mobile-nav button[aria-pressed=true]{color:#fff;background:#167e78;border-color:#167e78}body:not(.battle-view) .builder-shell .builder-preview,body:not(.battle-view) .mobile-pane-catalog .builder-deck,body:not(.battle-view) .mobile-pane-deck .builder-catalog{display:none}body:not(.battle-view) .builder-shell .builder-deck-list.images{grid-template-columns:repeat(auto-fill,minmax(min(100%,96px),1fr));max-height:none;overflow:visible}body:not(.battle-view) .builder-shell .builder-deck-list.list{max-height:none}body:not(.battle-view) .builder-shell .catalog-results{max-height:none;overflow:visible}body:not(.battle-view) .catalog-results.grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,105px),1fr))}body:not(.battle-view) .catalog-filters{gap:8px}body:not(.battle-view) .builder-shell .catalog-toolbar{flex-wrap:wrap}body:not(.battle-view) .builder-shell .catalog-toolbar strong{flex-basis:100%}body:not(.battle-view) .builder-save{grid-template-columns:1fr 1fr;display:grid}body:not(.battle-view) .builder-save button:first-child{grid-column:1/-1}body:not(.battle-view) .builder-deck-list.images .builder-deck-row>button:nth-of-type(n+3){font-size:18px}body:not(.battle-view) .builder-deck-list.images .deck-row-art img{height:140px}body:not(.battle-view) .deck-dialog{border-radius:12px;width:calc(100% - 16px);max-width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:12px}body:not(.battle-view) .deck-dialog-head{align-items:center;gap:8px;top:-12px}body:not(.battle-view) .deck-dialog-head h2{min-width:0;font-size:18px}body:not(.battle-view) .deck-dialog-head button{flex-shrink:0}body:not(.battle-view) .deck-dialog-layout{grid-template-columns:minmax(0,1fr)}body:not(.battle-view) .deck-dialog-preview{max-height:220px;position:static;overflow:auto}body:not(.battle-view) .deck-gallery{grid-template-columns:repeat(auto-fill,minmax(min(100%,95px),1fr))}body:not(.battle-view) .deck-gallery>h3{margin-top:8px}body:not(.battle-view) .deck-tile img{height:145px}body:not(.battle-view) .deck-dialog-actions{flex-wrap:wrap}body:not(.battle-view) .deck-dialog-actions button{flex:1;min-width:120px}body:not(.battle-view) .deck-dialog[open]:has(.import-layout){height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}body:not(.battle-view) .import-source textarea{height:140px;min-height:100px}body:not(.battle-view) .deck-dialog:has(.import-layout)>.import-layout{overscroll-behavior:contain}body:not(.battle-view) #card-back-dialog{width:calc(100% - 16px);max-width:calc(100% - 16px);max-height:calc(100dvh - 16px)}body:not(.battle-view) #card-back-dialog .dialog-header{flex-wrap:nowrap;gap:8px}body:not(.battle-view) #card-back-dialog .dialog-header h2{min-width:0;font-size:16px}body:not(.battle-view) #card-back-dialog .dialog-header button{flex-shrink:0}body:not(.battle-view) #card-back-dialog .custom-url-row{flex-wrap:wrap}body:not(.battle-view) #card-back-dialog .custom-url-row input{flex-basis:100%;width:100%}body:not(.battle-view) #card-back-dialog .dialog-footer{padding-bottom:max(12px,env(safe-area-inset-bottom));flex-wrap:wrap}body:not(.battle-view) #card-back-dialog .dialog-footer button{flex:1}body:not(.battle-view) #detail{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}body:not(.battle-view) #detail-content>button{min-width:90px}}@media (width<=360px){body:not(.battle-view) .home-hero{padding:18px}body:not(.battle-view) .home-hero h2{font-size:19px}body:not(.battle-view) .catalog-filters{grid-template-columns:minmax(0,1fr)!important}body:not(.battle-view) .builder-shell section,body:not(.battle-view) .builder-shell aside{padding:10px}body:not(.battle-view) .home-create button{white-space:normal}}@media (height<=450px) and (width<=1000px){body:not(.battle-view) :is(.deck-dialog,#card-back-dialog,#detail){max-height:calc(100dvh - 12px)}body:not(.battle-view) .deck-dialog[open]:has(.import-layout){grid-template-rows:auto minmax(0,1fr) auto;height:calc(100dvh - 12px)}body:not(.battle-view) .deck-dialog:has(.import-layout)>p{display:none}body:not(.battle-view) .deck-dialog-head{padding:4px 0}body:not(.battle-view) #card-back-dialog .preview-box{padding:6px}body:not(.battle-view) #card-back-dialog .card-back-preview-card{width:55px;height:78px}}@media (width<=700px){body:not(.battle-view) .builder-shell .builder-head{gap:8px;min-height:0;display:grid;padding:14px!important}body:not(.battle-view) .builder-head>button{width:100%;margin:0;padding:10px 12px;position:static!important;inset:auto!important}body:not(.battle-view) .builder-head p{line-height:1.6}body:not(.battle-view) .builder-head h2{font-size:22px}body:not(.battle-view):has(:is(#login,.home-workspace,.waiting-workspace,.builder-workspace))>header :is(button,a){align-items:center;min-height:44px;display:inline-flex}body:not(.battle-view) .builder-deck-list.images .builder-deck-row>button:nth-of-type(2){font-size:12px;line-height:1.5}body:not(.battle-view) .catalog-card strong{font-size:12px}body:not(.battle-view) .deck-tile>span{font-size:12px;line-height:1.5}}@media (width<=500px){body:not(.battle-view) #card-back-dialog .preset-buttons{grid-template-columns:minmax(0,1fr);display:grid}body:not(.battle-view) #card-back-dialog .preset-btn{width:100%}}.waiting-bot{border:1px dashed #9db8bf;border-radius:10px;gap:8px;margin-top:12px;padding:12px;display:grid}.waiting-bot label{gap:4px;font-size:13px;display:grid}.waiting-bot select{padding:6px}body:not(.battle-view) main.builder-workspace{max-width:none;padding:12px 16px}.builder-studio{padding:10px}.builder-studio .builder-head>button{position:absolute;left:auto;right:12px;top:16px!important;bottom:auto!important}.builder-studio .builder-head>button:last-child{padding:4px 12px;top:58px!important}.builder-studio .builder-head h2{font-size:21px}.builder-studio .builder-layout{grid-template-columns:minmax(135px,.65fr) minmax(380px,3.3fr) minmax(300px,1.8fr);align-items:stretch;gap:12px;height:calc(100dvh - 240px);min-height:540px;display:grid}.builder-studio .builder-layout>*{min-width:0;min-height:0;padding:12px;position:static;overflow:auto}.builder-studio .studio-library{background:#f1f7f5;flex-direction:column;display:flex}.studio-library h3,.builder-studio .builder-catalog>h3{margin:0 0 8px;font-size:15px}.studio-library p{margin:0 0 12px;font-size:11px;line-height:1.5}.studio-saved-list{flex-direction:column;gap:8px;min-height:0;margin-top:12px;display:flex;overflow:auto}.builder-studio .studio-saved-deck{text-align:left;white-space:normal;overflow-wrap:anywhere;flex-direction:column;flex-shrink:0;gap:6px;padding:12px 8px;display:flex}.builder-studio .studio-saved-deck[aria-current=true]{background:#d9eee7;border-color:#459481;box-shadow:inset 3px 0 #167e78}.builder-studio .builder-deck{border-top:3px solid #3a9b8b;flex-direction:column;gap:6px;display:flex}.builder-studio .builder-deck>h3{margin:0;font-size:15px}.builder-studio .builder-deck>input{margin:0}.builder-studio .builder-total{padding:0;font-size:17px}.builder-studio .builder-levels,.builder-studio .builder-health,.builder-studio .builder-save-state{margin:0}.builder-studio .builder-save,.builder-studio .deck-view-toggle{gap:5px;margin:0}.builder-studio .deck-bars{flex-wrap:wrap}.builder-studio .color-pill{padding:3px 8px}.builder-studio .studio-deck-areas{flex:1;grid-template-rows:minmax(180px,1fr) minmax(120px,.33fr);gap:10px;min-height:310px;display:grid}.builder-studio .studio-deck-areas>section{background:#f7faf9;flex-direction:column;min-height:0;padding:10px;display:flex}.studio-deck-areas h3{color:#366f64;margin:0 0 8px;font-size:12px}.builder-studio .studio-cx-cards{border-color:#bdcec6;background:#edf5ef!important}.builder-studio .builder-deck-list.images{flex:1;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));align-content:start;min-height:0;max-height:none;overflow:auto}.builder-studio .builder-deck-list.list{flex:1;min-height:0;max-height:none;overflow:auto}.builder-studio .builder-deck-list.images .deck-row-art img{height:115px}.builder-studio .builder-deck-list.images .builder-deck-row>button:nth-of-type(2){white-space:normal;min-height:0;font-size:11px}.builder-studio .builder-deck-list.images .builder-deck-row>button:nth-of-type(n+3){min-height:30px}.builder-studio .builder-catalog{flex-direction:column;gap:6px;display:flex}.builder-studio .catalog-filters{flex-shrink:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:40%;overflow:auto}.builder-studio .catalog-toolbar{padding:6px 0}.builder-studio .catalog-toolbar strong{flex-basis:100%}.builder-studio .catalog-results{flex:1;min-height:130px;max-height:none;overflow:auto}.builder-studio .catalog-results.grid{grid-template-columns:repeat(auto-fill,minmax(90px,1fr));align-content:start;gap:7px}.builder-studio .catalog-image img{height:128px}.builder-studio .catalog-info strong,.builder-studio .catalog-info small{font-size:11px}.builder-studio .catalog-pagination{margin-top:auto;padding:4px 0}.builder-studio .builder-deck>details{flex-shrink:0}.builder-studio .builder-deck>details[open]{max-height:220px;overflow:auto}@media (width>=1800px){.builder-studio .builder-layout{grid-template-columns:190px minmax(0,1fr) 460px}.builder-studio .builder-deck-list.images{grid-template-columns:repeat(auto-fill,minmax(115px,1fr))}.builder-studio .builder-deck-list.images .deck-row-art img{height:145px}.builder-studio .catalog-image img{height:150px}}@media (width>=701px) and (width<=1050px){.builder-studio .builder-layout{grid-template-columns:125px minmax(260px,1fr) minmax(240px,.85fr);gap:8px}.builder-studio .builder-layout>*{padding:8px}.builder-studio .builder-deck-list.images{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){body:not(.battle-view) main.builder-workspace{padding:8px}body:not(.battle-view) .builder-studio .builder-head{flex-wrap:wrap;gap:8px;display:flex;padding:12px!important}body:not(.battle-view) .builder-studio .builder-head :is(h2,p,.eyebrow){flex-basis:100%}body:not(.battle-view) .builder-studio .builder-head>button{flex:1;width:auto;min-width:0;font-size:12px;position:static!important}.builder-studio .builder-layout{height:auto;min-height:0;display:block}.builder-studio .builder-layout>*{width:100%;overflow:visible}body:not(.battle-view) .builder-studio .builder-mobile-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.builder-studio .builder-mobile-nav button{white-space:normal;padding:8px 3px;font-size:11px}body:not(.battle-view) .builder-studio .studio-library,body:not(.battle-view) .builder-studio .builder-deck,body:not(.battle-view) .builder-studio .builder-catalog{display:none}body:not(.battle-view) .builder-studio.mobile-pane-library .studio-library,body:not(.battle-view) .builder-studio.mobile-pane-deck .builder-deck,body:not(.battle-view) .builder-studio.mobile-pane-catalog .builder-catalog{display:flex}.builder-studio .studio-saved-list{overflow:visible}.builder-studio .studio-deck-areas{flex-direction:column;min-height:0;display:flex}.builder-studio .builder-deck-list.images{grid-template-columns:repeat(auto-fill,minmax(85px,1fr));max-height:none;overflow:visible}.builder-studio .builder-deck-list.list,.builder-studio .catalog-filters,.builder-studio .catalog-results{max-height:none;overflow:visible}.builder-studio .catalog-results.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.builder-studio .builder-deck-list.images .builder-deck-row>button:nth-of-type(n+3){min-height:44px}}.builder-studio .builder-head{min-height:58px;padding:12px 300px 12px 16px!important}.builder-studio .builder-head .eyebrow,.builder-studio .builder-head p{display:none}.builder-studio .builder-head>button{top:10px!important}.builder-studio .builder-head>button:last-child{right:205px;top:14px!important}.builder-studio .builder-layout{height:calc(100dvh - 195px);min-height:460px}.builder-studio .studio-deck-meta{flex-shrink:0;grid-template-columns:1fr auto;align-items:center;gap:5px 10px;display:grid}.studio-deck-meta>h3{display:none}.studio-deck-meta>input{grid-column:1/-1;width:100%}.studio-deck-meta .builder-save,.studio-deck-meta .builder-health,.studio-deck-meta .builder-save-state,.studio-deck-meta .builder-levels{grid-column:1/-1}.studio-deck-meta .builder-total{font-size:16px}.studio-deck-meta .color-pill{font-size:11px}.builder-studio .studio-deck-areas{grid-template-rows:minmax(110px,1fr) 155px;min-height:260px}.builder-studio .catalog-results.grid{grid-auto-rows:max-content}.builder-studio .catalog-results .catalog-card{flex-shrink:0;min-height:210px}.builder-studio .catalog-results.list .catalog-card{min-height:88px}.builder-studio .catalog-image{flex-shrink:0}.builder-studio .studio-cx-cards .deck-row-art img{height:85px}.builder-studio .studio-cx-cards .builder-deck-row>button:nth-of-type(2){display:none}@media (width<=700px){.builder-studio .builder-layout{height:auto;min-height:0}.builder-studio .studio-deck-areas{min-height:0}.builder-studio .studio-deck-meta{flex-direction:column;align-items:stretch;display:flex}.builder-studio .studio-deck-meta>h3{display:block}.builder-studio .builder-head>button:last-child{right:auto}.builder-studio .studio-cx-cards .deck-row-art img{height:115px}}.builder-studio .studio-deck-meta>input{grid-area:1/1;min-width:0}.builder-studio .studio-deck-meta .builder-total{white-space:nowrap;grid-area:1/2}.builder-studio .studio-deck-meta .builder-levels{grid-area:2/1}.builder-studio .studio-deck-meta .deck-bars{grid-area:2/2;justify-content:flex-end}.builder-studio .studio-deck-meta .builder-save{grid-area:3/1}.builder-studio .studio-deck-meta .deck-view-toggle{grid-area:3/2;justify-content:flex-end}.builder-studio .studio-deck-meta .builder-save-state{grid-area:4/1}.builder-studio .studio-deck-meta .builder-health{grid-area:4/2;padding:4px 6px;font-size:11px}.builder-studio .builder-deck-list.images{grid-auto-rows:max-content}@media (width>=701px) and (width<=1050px){.builder-studio .studio-deck-meta{flex-direction:column;align-items:stretch;display:flex}.builder-studio .studio-deck-meta .deck-bars{justify-content:flex-start}.builder-studio .builder-layout{min-height:650px}}.cover-picker .cover-selected{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0;display:grid}.cover-selected>div{background:#e8f2ed;border-radius:10px;flex-wrap:wrap;justify-content:center;gap:4px;min-width:0;padding:10px;display:flex}.cover-selected strong{text-align:center;width:100%;font-size:12px}.cover-selected img{object-fit:contain;width:100%;height:145px}.cover-selected button{overflow-wrap:anywhere;max-width:100%;font-size:11px}.cover-options{grid-template-columns:repeat(auto-fill,minmax(95px,1fr));gap:9px;max-height:36dvh;display:grid;overflow:auto}.cover-options button{flex-direction:column;min-width:0;padding:5px;display:flex}.cover-options img{object-fit:contain;width:100%;height:130px}.cover-options span{white-space:normal;font-size:11px}.cover-options button[aria-pressed=true]{background:#ddf0e8;border:2px solid #268a78}.cover-picker .deck-dialog-actions{background:#f6f9fa;margin-bottom:0;padding:10px 0;position:sticky;bottom:-22px}@media (width<=500px){.cover-picker .cover-selected{gap:4px}.cover-selected>div{padding:4px}.cover-selected img{height:100px}.cover-selected button{padding:5px;font-size:11px}.cover-options{grid-template-columns:repeat(3,minmax(0,1fr))}.cover-picker .deck-dialog-actions{flex-wrap:wrap;bottom:-12px}}.color-filter{border:1px solid #c9dcd7;border-radius:8px;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:6px;padding:8px;display:flex}.color-filter strong{color:#366f64;margin-right:3px;font-size:13px}.color-filter button{align-items:center;gap:5px;min-height:36px;padding:5px 10px;display:inline-flex}.color-filter button[aria-pressed=true]{color:#fff;background:#167e75;border-color:#167e75}.color-filter .color-Yellow{--filter-color:#e2bd28}.color-filter .color-Green{--filter-color:#32a46b}.color-filter .color-Red{--filter-color:#d95050}.color-filter .color-Blue{--filter-color:#4384d1}.filter-color-dot{background:var(--filter-color);border:1px solid #0003;border-radius:50%;width:10px;height:10px;display:inline-block}@media (width<=700px){.color-filter button{min-height:44px}}.builder-studio .studio-deck-search{box-sizing:border-box;width:100%;margin-top:10px}.studio-saved-row{flex-shrink:0;align-items:center;gap:2px;display:flex}.studio-saved-row .fav-star{width:22px;height:22px;font-size:14px!important}.studio-saved-row .studio-saved-deck{flex:1;min-width:0}.home-deck h3 .fav-star{vertical-align:middle;width:24px;height:24px;margin-right:2px;font-size:15px!important}.home-create .home-table-password{flex:0 150px;min-width:0}@media (width<=700px){.home-create .home-table-password{flex:none}}.home-lock{margin-right:4px;font-size:.9em}.home-room .home-password{background:0 0;border:0;align-items:center;gap:6px;margin-top:8px;padding:0;display:flex}.home-room .home-password input{flex:1;min-width:0}.battle-view .card.tutorial-focus{outline-offset:3px;outline:3px solid #f2c650;box-shadow:0 0 12px #f2c65099}.battle-view #app:has(>.tutorial-coach){grid-template-rows:46px auto minmax(0,1fr)}.battle-view #app>.tutorial-coach{overflow-wrap:anywhere;box-sizing:border-box;grid-area:2/2;min-width:0;margin:4px 8px}.battle-view #app:has(>.tutorial-coach) .duel-mat{grid-row:3}.battle-view #app:has(>.tutorial-coach) .room-inspector{grid-row:1/4}@media (width<=900px){.battle-view #app>.tutorial-coach{grid-column:1}}@media (width<=600px){.battle-view #app:has(>.tutorial-coach){grid-template-rows:34px auto minmax(0,1fr)}}@media (height<=500px){.battle-view #app>.tutorial-coach{max-height:90px;overflow:auto}}@keyframes ws-selectable-pulse{0%,to{box-shadow:0 0 6px 1px #7ef0c499}50%{box-shadow:0 0 16px 4px #7ef0c4dd}}.battle-view .ws-hand-tray.inline-choice .inline-selectable:not(.inline-selected){animation:1.4s ease-in-out infinite ws-selectable-pulse;transform:translateY(-4px);border:2px solid #7ef0c4!important}.battle-view .ws-hand-tray.inline-choice .card:not(.inline-selectable){opacity:.45;filter:grayscale(.5)}@media (prefers-reduced-motion:reduce){.battle-view .ws-hand-tray.inline-choice .inline-selectable:not(.inline-selected){animation:none;box-shadow:0 0 12px 3px #7ef0c4cc}}.battle-view .choice .card .card-caption{z-index:3;text-align:center;color:#fff7c8;background:#1a2f45e6;border-radius:0 0 6px 6px;padding:1px 2px;font-size:11px;line-height:1.3;position:absolute;bottom:-2px;left:0;right:0}.ws-flip-stage{z-index:70;pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.ws-flip-panel{pointer-events:auto;color:#eafff4;background:#0f1f19f0;border:2px solid #7fc4a3;border-radius:14px;flex-direction:column;align-items:center;gap:8px;max-width:94%;padding:12px 18px 16px;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 40px #000a,0 0 0 100vmax #0003}.ws-flip-panel.mine{border-color:#ffe36e}.ws-flip-panel.tone-bad{border-color:#e06666}.ws-flip-panel.tone-good{border-color:#7ef0c4}.ws-flip-title{font-size:clamp(13px,2.2cqh,17px);font-weight:700}.ws-flip-sub{font-size:clamp(13px,2.4cqh,19px);font-weight:700}.tone-bad .ws-flip-sub{color:#ff9d9d}.tone-good .ws-flip-sub{color:#9dffd8}.ws-flip-cards{scrollbar-width:thin;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;max-height:52vh;padding:8px;display:flex;overflow:auto}.ws-flip-card.is-climax{border-color:#ffe36e;box-shadow:0 0 12px #ffe36e88}.ws-flip-cx{color:#17201b;background:#ffe36e;border-radius:5px;padding:2px 5px;font-size:12px;position:absolute;top:4px;right:4px}.ws-flip-hint{text-align:center;color:#b8d6c6;margin:0;font-size:12px;line-height:1.5}.ws-flip-card{--w:clamp(64px,17cqh,124px);width:var(--w);height:calc(var(--w)*1.4);border-radius:8px;flex:none;padding:0;position:relative}.ws-flip-card.face-up{animation:.45s cubic-bezier(.3,1.4,.5,1) ws-flip-in;animation-delay:calc(min(var(--flip-order,0),5)*35ms);background:#fff;border:2px solid #fff;animation-fill-mode:both;overflow:hidden}.ws-flip-card.face-up img{object-fit:cover;width:100%;height:100%;display:block}.ws-flip-card.face-up span{color:#fff;text-align:center;white-space:nowrap;text-overflow:ellipsis;background:#000b;padding:1px 3px;font-size:11px;line-height:1.3;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.ws-flip-card.face-down{background:var(--ws-card-back-url,#2b3f55) center/cover,#2b3f55;cursor:default;border:2px solid #b8c7ff}.ws-flip-card.face-down.ready{cursor:pointer;animation:1.2s ease-in-out infinite ws-flip-bob;box-shadow:0 0 14px 3px #ffe36ecc}.ws-flip-card.face-down.lifting{transition:transform .2s;transform:translateY(-10px)scale(1.06)}.ws-flip-actions button{padding:6px 14px}.ws-flip-bar{background:#ffe36e;height:3px;transition:width .1s linear;position:absolute;bottom:0;left:0}@keyframes ws-flip-in{0%{transform:perspective(600px)rotateY(90deg)}to{transform:perspective(600px)rotateY(0)}}@keyframes ws-flip-bob{50%{transform:translateY(-6px)}}@media (prefers-reduced-motion:reduce){.ws-flip-card.face-up,.ws-flip-card.face-down.ready{animation:none}}@media (width<=600px){.ws-flip-panel{max-width:96%;padding:10px}.ws-flip-card{--w:clamp(64px,20vw,86px)}.ws-flip-cards{gap:5px}.ws-flip-actions button{min-height:44px}}.ws-flip-card[role=button]{cursor:zoom-in}.ws-flip-card[role=button]:focus-visible{outline-offset:3px;outline:3px solid #ffe36e}.effect-progress{text-align:left;background:#153f3422;border-left:3px solid #7ef0c4;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:6px 8px;font-size:12px;line-height:1.5;display:flex}.effect-progress strong{flex-basis:100%}.effect-progress-done{opacity:.7}.cost-preview{text-align:left;border:1px solid #8a9d9188;border-radius:6px;padding:5px 8px;font-size:12px;line-height:1.5}.cost-stock{color:inherit;font-weight:700}.ws-action-bar>.effect-progress,.ws-action-bar>.cost-preview,.ws-action-bar>small{flex-basis:100%}.ws-action-menu .cost-preview{margin-top:4px;padding:3px 5px}.ws-flip-panel .effect-progress{color:#d9f8e9;max-width:100%}.battle-view .ws-side-own .ws-action-bar{flex-wrap:wrap}.inline-effect-context{color:#f0fff7;background:#18392ff5;border-radius:6px;flex-wrap:wrap;flex-basis:100%;justify-content:center;align-items:center;gap:2px 10px;max-width:940px;padding:4px 8px;font-size:11px;line-height:1.35;display:flex}.inline-effect-context .effect-progress{background:0 0;border:0;gap:6px;padding:0;font-size:11px;line-height:1.35;display:inline-flex}.inline-effect-context .effect-progress strong{text-overflow:ellipsis;white-space:nowrap;flex-basis:auto;max-width:35vw;overflow:hidden}.inline-effect-context .effect-progress-done{display:none}.inline-effect-context .cost-preview{border:0;padding:0;font-size:11px;line-height:1.35}.inline-effect-context small{opacity:.8;font-size:10px}@media (width<=900px){.battle-view.battle-inspector-open .room-inspector{overflow:auto}.battle-view.battle-inspector-open .room-inspector>*{flex-shrink:0}.battle-view.battle-inspector-open:not(.battle-chat-open) .room-inspector>.room-drawer{display:none}.battle-view>header{scrollbar-width:none;-webkit-overflow-scrolling:touch;overflow:auto hidden}.battle-view>header::-webkit-scrollbar{display:none}.battle-view>header .header-logout{display:none!important}.battle-view>header button,.battle-view>header .battle-room-tools>button{min-width:32px;padding:0 6px}.battle-view>header{gap:3px}}dialog#detail.zone-dialog #detail-content,dialog#detail.zone-dialog .zv-wrap{flex:auto}@media (orientation:landscape) and (height<=500px){body.battle-view{height:auto!important;overflow:auto!important}.battle-view main#app{height:auto!important;max-height:none!important;overflow:visible!important}.battle-view .duel-mat{height:760px!important;min-height:760px!important;max-height:none!important}}.battle-view .card{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.battle-view .duel-mat>.ws-side-opp:has(.spectate-hand){--opp-hand-h:clamp(40px,11cqh,96px)}.battle-view .ws-side-opp .ws-hand-tray.spectate-hand .card{aspect-ratio:.72;flex:none;width:auto!important;min-width:0!important;max-width:none!important;height:100%!important;padding:0!important}.battle-view .ws-side-opp .ws-hand-tray.spectate-hand .card .card-stats{display:none}@container (width<=640px) and (height<=640px){.battle-view .cx-counter{font-size:9px;line-height:1.1;display:inline}}.battle-view #ws-header #btn-bgm,.battle-view #ws-header .room-sfx,.battle-view #ws-header>.header-practice{display:none!important}.battle-view .room-status h2{white-space:nowrap;text-overflow:ellipsis;color:#f2e3af;min-width:0;margin:0;font-size:13px;line-height:1.3;overflow:hidden}@media (width<=600px){.battle-view .room-status h2{display:none}}.battle-view #notice:not(:empty){cursor:pointer}.ws-cx-cancel:after{background:linear-gradient(90deg,#0000,#1a1036f5 18%,#2b3f7af2 68%,#0000)}.ws-cx-cancel .ws-cx-title,.ws-cx-cancel .ws-cx-trail{color:#cfe8ff}.ws-cx-cancel .ws-cx-title{text-shadow:0 2px #1d2a5c,0 0 20px #7fb8ff90}.ws-cx-cancel .ws-cx-owner{color:#b9d4ff}.ws-cx-cancel .ws-cx-portrait{border-color:#cfe8ff90;box-shadow:0 0 14px #7fb8ff70}@container (width<=640px){.battle-view .ws-half .deck-3d{margin-bottom:9px}.battle-view .ws-half .ws-zone-row>.deck-3d+.ws-counter-stack{margin-top:1px}.battle-view .ws-counter-stack{z-index:2;position:relative}}:root{--ws-brand:#167e78;--ws-brand-strong:#0f5f5a;--ws-brand-soft:#e3f2ef;--ws-accent:#e0b54a;--ws-accent-soft:#fff4d6;--ws-accent-ink:#5a3b00;--ws-danger:#c8463d;--ws-danger-soft:#fbe9e7;--ws-text:#1f3a40;--ws-text-2:#4e6870;--ws-line:#d6e3e4;--ws-surface:#fff;--ws-canvas:#eef3f4;--ws-felt:#1e3a33;--ws-felt-2:#244a40;--ws-panel:#14262a;--ws-panel-2:#1b3237;--ws-on-dark:#e9f4f1;--ws-on-dark-2:#a9c7c0;--ws-radius:12px;--ws-tap:40px}body:not(.battle-view)>header#ws-header{gap:12px;min-height:56px;padding:10px 20px}body:not(.battle-view)>header#ws-header h1{font-size:20px}#ws-header #identity{color:var(--ws-text-2);font-size:13px}#ws-header .ws-menu{margin-left:auto;position:relative}.ws-menu-trigger{align-items:center;gap:8px;min-height:38px;display:inline-flex;background:var(--ws-surface)!important;color:var(--ws-text)!important;border:1px solid var(--ws-line)!important;box-shadow:none!important;border-radius:999px!important;padding:4px 12px 4px 4px!important;font-size:13px!important}.ws-menu-trigger:hover{border-color:var(--ws-brand)!important}.ws-avatar{background:var(--ws-brand);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;font-size:14px;font-weight:700;display:inline-flex}.ws-menu-caret{color:var(--ws-text-2);font-size:10px}.ws-menu-list{z-index:90;background:var(--ws-surface);min-width:200px;color:var(--ws-text);border:1px solid var(--ws-line);border-radius:var(--ws-radius);flex-direction:column;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 32px #0f2a2e33}.ws-menu-list button{all:unset;cursor:pointer;color:var(--ws-text);border-radius:8px;align-items:center;gap:10px;padding:10px 12px;font-size:14px;display:flex}.ws-menu-list button:hover,.ws-menu-list button:focus-visible{background:var(--ws-brand-soft)}.ws-menu-list button.danger{color:var(--ws-danger)}.ws-menu-list button.danger:hover{background:var(--ws-danger-soft)}.ws-menu-list hr{border:0;border-top:1px solid var(--ws-line);margin:4px 2px}.ws-menu-who{color:var(--ws-text-2);margin:4px 12px 6px;font-size:12px}.battle-view #ws-header .ws-menu{flex-shrink:0;order:2;margin-left:0}.battle-view .ws-menu-trigger{min-height:28px;color:var(--ws-on-dark)!important;background:#ffffff14!important;border-color:#ffffff30!important;padding:2px 8px 2px 2px!important;font-size:11px!important}.battle-view .ws-avatar{width:22px;height:22px;font-size:11px}.battle-view .ws-menu-caret{color:var(--ws-on-dark-2)}.workspace-nav{border-bottom:1px solid var(--ws-line);padding-bottom:0;gap:4px!important;margin-bottom:18px!important}.workspace-nav button{align-items:center;gap:6px;display:inline-flex;position:relative;color:var(--ws-text-2)!important;box-shadow:none!important;background:0 0!important;border:0!important;border-bottom:3px solid #0000!important;border-radius:10px 10px 0 0!important;padding:10px 14px!important;font-size:14px!important}.workspace-nav button:hover:not(:disabled){color:var(--ws-text)!important;background:#fff9!important}.workspace-nav button[aria-current=page]{font-weight:700;color:var(--ws-brand-strong)!important;border-bottom-color:var(--ws-brand)!important;background:var(--ws-surface)!important}.workspace-nav button:disabled{opacity:.4}.workspace-nav .nav-icon{font-size:15px}.workspace-nav .nav-account{display:none!important}.nav-badge{background:var(--ws-danger)!important}@media (width<=700px){body:not(.battle-view) .workspace-nav{z-index:70;padding:4px 4px calc(4px + env(safe-area-inset-bottom));background:var(--ws-surface);border-top:1px solid var(--ws-line);border-bottom:0;justify-content:space-around;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 16px #0f2a2e14;flex-wrap:nowrap!important;margin:0!important;display:flex!important}body:not(.battle-view) .workspace-nav button{flex-direction:column;flex:1 1 0;gap:2px;min-width:0;min-height:48px;border-bottom:0!important;border-radius:10px!important;padding:6px 2px!important;font-size:11px!important}body:not(.battle-view) .workspace-nav button[aria-current=page]{background:var(--ws-brand-soft)!important}body:not(.battle-view) .workspace-nav .nav-icon{font-size:18px}body:not(.battle-view) .workspace-nav .nav-text{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}body:not(.battle-view) .workspace-nav .nav-badge{margin:0;position:absolute;top:2px;right:calc(50% - 22px)}body:not(.battle-view) main#app{padding-bottom:84px!important}body:not(.battle-view)>header#ws-header{min-height:52px;padding:8px 12px;flex-wrap:nowrap!important}body:not(.battle-view)>header#ws-header h1{white-space:nowrap;font-size:17px}body:not(.battle-view)>header#ws-header #identity{display:none}body:not(.battle-view)>header#ws-header #connection{white-space:nowrap;font-size:12px}.ws-menu-label{display:none}}.builder-deck-list>.empty,.builder-deck-list .empty{grid-column:1/-1;width:auto;min-height:0}.inline-effect-context .undo-lock{opacity:.85;cursor:help;font-size:12px}.inline-effect-context:not(:has(.effect-progress,.cost-preview,small:not(.undo-lock))){display:none}#error:not(:empty){background:var(--ws-danger-soft);color:#8f2d26;border-bottom:1px solid #f0c9c4}#notice:not(:empty){background:var(--ws-brand-soft);color:var(--ws-brand-strong);border-bottom:1px solid #c4e2dc}.battle-view #error:not(:empty){color:#ffe2dc;background:#5a2320}.battle-view #notice:not(:empty){color:#d6f5ea;background:#173f38}.home-workspace .home-hero{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;display:flex;border-radius:16px!important;margin-bottom:18px!important;padding:20px 26px!important}.home-hero:after{font-size:110px!important;top:-14px!important;right:18px!important}.home-hero .home-eyebrow{display:none}.home-hero h2{margin:0 0 4px!important;font-size:22px!important}.home-hero p{flex-wrap:wrap;align-items:center;gap:6px;display:flex;color:#cfe5e1!important;margin:0!important;font-size:13px!important}.home-hero .home-link{all:unset;cursor:pointer;color:#fff;text-underline-offset:3px;font-size:13px;text-decoration:underline}.home-hero .home-link:hover{color:var(--ws-accent)}.home-hero-actions{z-index:1;flex-wrap:wrap;gap:8px;display:flex;position:relative}.home-hero .home-hero-actions button{min-height:42px;border-radius:10px!important;margin:0!important;font-size:14px!important}.home-hero .home-hero-actions .home-primary{font-weight:800;background:var(--ws-accent)!important;color:var(--ws-accent-ink)!important;border-color:var(--ws-accent)!important;padding:11px 22px!important}.home-hero .home-hero-actions .home-primary:hover{filter:brightness(1.06)}.home-hero .home-hero-actions .home-secondary{font-weight:600;color:#f1fbf8!important;background:#ffffff14!important;border-color:#fff5!important}.home-columns{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}.home-rooms{grid-template-columns:repeat(auto-fill,minmax(330px,1fr));align-items:start;column-gap:14px;display:grid}.home-rooms>:not(.home-room){grid-column:1/-1}.home-rooms .home-room{margin-top:12px}.home-create{gap:8px}.home-create button{font-weight:700;background:var(--ws-brand)!important;color:#fff!important;border-color:var(--ws-brand)!important}.home-room-actions button:first-of-type:not(:last-of-type){background:var(--ws-brand)!important;border-color:var(--ws-brand)!important}.home-empty-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px;display:flex}.home-empty-actions button{min-height:38px}.home-deck-shelf{grid-template-columns:repeat(4,minmax(0,1fr))!important}@media (width<=1100px){.home-deck-shelf{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media (width<=820px){.home-deck-shelf{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.home-deck h3{align-items:center;gap:2px;font-size:15px;display:flex}.home-deck small{color:var(--ws-brand-strong);font-size:11px}.home-deck-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.home-deck-actions button{min-height:36px;padding:6px 12px!important;font-size:13px!important}.home-more{margin-left:auto;position:relative}.home-more-btn{min-width:36px;line-height:1;padding:6px 8px!important;font-size:16px!important}.home-more-list{z-index:20;background:var(--ws-surface);border:1px solid var(--ws-line);border-radius:10px;flex-direction:column;min-width:120px;padding:4px;display:flex;position:absolute;bottom:calc(100% + 4px);right:0;box-shadow:0 10px 24px #0f2a2e2e}.home-more-list button{text-align:left;justify-content:flex-start;background:0 0!important;border:0!important}.home-more-list button:hover{background:var(--ws-brand-soft)!important}.home-more-list .danger{color:var(--ws-danger)!important}@media (width<=700px){.home-workspace .home-hero{gap:12px;padding:16px!important}.home-hero h2{font-size:18px!important}.home-hero-actions{width:100%}.home-hero .home-hero-actions .home-primary{display:none!important}.home-hero .home-hero-actions .home-secondary{flex:1 1 0}.home-rooms{grid-template-columns:minmax(0,1fr)}}.home-hero p .home-link{color:#fff!important;min-height:0!important;box-shadow:none!important;background:0 0!important;border:0!important;margin:0!important;padding:0!important;font-weight:400!important}.home-hero p .home-link:hover{color:var(--ws-accent)!important}body:not(.battle-view) .builder-studio .builder-head{flex-wrap:wrap;align-items:center;gap:6px 14px;position:relative;min-height:0!important;padding:12px 16px!important;display:flex!important}body:not(.battle-view) .builder-studio .builder-head>button.builder-back{font-weight:600;width:auto!important;color:var(--ws-brand-strong)!important;background:0 0!important;border:0!important;min-height:0!important;margin:0!important;padding:6px 4px!important;position:static!important;inset:auto!important}.builder-studio .builder-head h2{margin:0!important;font-size:20px!important}.builder-studio .builder-head>p{color:var(--ws-text-2);flex:220px;font-size:12px;margin:0!important}.builder-studio .builder-head-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto;display:flex!important;position:static!important}.builder-studio .builder-head-actions>button{min-height:38px;padding:8px 14px!important;font-size:14px!important;position:static!important}.builder-studio .builder-head-actions>button:first-child{font-weight:700;background:var(--ws-brand)!important;color:#fff!important;border-color:var(--ws-brand)!important}.builder-studio .builder-head-actions>button:first-child:disabled{background:#9fc9c4!important;border-color:#9fc9c4!important}.builder-more{position:relative}.builder-more-btn{min-height:38px;padding:8px 14px!important;font-size:14px!important}.builder-more-list{z-index:30;background:var(--ws-surface);border:1px solid var(--ws-line);border-radius:12px;flex-direction:column;min-width:180px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 28px #0f2a2e2e}.builder-more-list button{text-align:left;justify-content:flex-start;min-height:0!important;color:var(--ws-text)!important;background:0 0!important;border:0!important;padding:10px 12px!important;font-size:14px!important}.builder-more-list button:hover:not(:disabled){background:var(--ws-brand-soft)!important}.builder-more-list .builder-cancel{color:var(--ws-danger)!important}@media (width>=1051px){.builder-studio .builder-layout{grid-template-columns:200px minmax(0,1fr) minmax(330px,.62fr)!important;height:calc(100dvh - 245px)!important;min-height:460px!important}}@media (width>=1800px){.builder-studio .builder-layout{grid-template-columns:230px minmax(0,1fr) 480px!important}}@media (width>=701px){.builder-studio .builder-deck{flex-direction:column;display:flex}.builder-studio .studio-deck-areas{flex-direction:column;flex:none!important;min-height:0!important;display:flex!important}.builder-studio .studio-deck-areas>section{flex:none!important}.builder-studio .builder-deck .builder-deck-list{flex:none!important;max-height:none!important;overflow:visible!important}}.studio-library h3{font-size:15px}.studio-saved-deck strong{font-size:13px!important}.studio-saved-deck small{color:var(--ws-text-2)!important;font-size:11px!important}body.battle-view{background:var(--ws-felt)!important}.battle-view .duel-mat{background:radial-gradient(ellipse at 50% 50%,var(--ws-felt-2) 0%,var(--ws-felt) 70%)!important}.battle-view #ws-header,.battle-view .room-status{background:var(--ws-panel)!important;border-color:#2c4a48!important}.battle-view :is(.slot,.ws-mat-slot,.ws-lv-clock,.ws-stock-area .stock-card-back-wrap){box-shadow:none;background:#ffffff0d!important;border:1px solid #ffffff2b!important}.battle-view .slot.drop-target,.battle-view .slot[data-drop]{border-color:var(--ws-accent)!important}.battle-view :is(.slot small,.ws-slot-label){opacity:.9;font-weight:600;color:#d6e9e2!important}.battle-view .ws-side-own .ws-hand-tray{background:#0e2421cc!important;border-color:#3fb8a6!important}.battle-view .red-counter{color:#ff7a6b!important;text-shadow:0 1px 2px #0008!important}.battle-view :is(.hand-counter,.cx-counter){color:var(--ws-on-dark)!important}.battle-view .ws-center-prompt{color:#fff!important;text-shadow:0 2px 4px #000c!important}.battle-view .ws-lv-clock{color:var(--ws-on-dark)!important}.battle-view .ws-lv-clock .mini-slot{color:var(--ws-on-dark-2)!important;background:#ffffff10!important;border-color:#ffffff40!important}.battle-view .room-inspector{background:var(--ws-panel)!important;border-color:#2c4a48!important}.battle-view .room-art-box{background:#0b1a1c!important;border-color:#2c4a48!important}.battle-view .room-art-placeholder{color:var(--ws-on-dark-2)!important}.battle-view .room-card-detail{background:var(--ws-panel-2)!important;color:var(--ws-on-dark)!important;border-color:#2c4a48!important}.battle-view .room-card-detail h3{color:#fff!important;background:#ffffff10!important;border-color:#fff2!important}.battle-view .room-card-detail :is(p,li,span,small,b,strong){color:inherit}.battle-view .room-drawer{background:var(--ws-panel)!important;color:var(--ws-on-dark)!important;border-color:#2c4a48!important}.battle-view .room-drawer summary{color:var(--ws-on-dark)!important}.battle-view .phase-track span{color:var(--ws-on-dark-2)!important;background:#0b1a1c!important;border-color:#2c4a48!important}.battle-view .phase-track span.active{background:var(--ws-accent)!important;color:var(--ws-accent-ink)!important;border-color:var(--ws-accent)!important}.battle-view .room-card-detail .card-effect{line-height:1.65;color:var(--ws-on-dark)!important}.battle-view .room-card-detail .card-traits{color:var(--ws-on-dark-2)!important}.card-granted{font-weight:700;color:var(--ws-accent)!important}.room-more{flex-shrink:0;order:3;position:relative}.battle-room-tools .room-more-btn{min-width:32px;line-height:1;padding:3px 8px!important;font-size:16px!important}.room-more-list{right:8px;top:calc(var(--battle-header-h,40px) + 4px);z-index:95;background:var(--ws-panel-2);border:1px solid #35595a;border-radius:12px;flex-direction:column;min-width:180px;padding:6px;display:flex;position:fixed;box-shadow:0 12px 32px #000a}.room-more-list button{all:unset;color:var(--ws-on-dark);cursor:pointer;border-radius:8px;align-items:center;gap:8px;padding:10px 12px;font-size:14px;display:flex}.room-more-list button:hover{background:#ffffff14}.room-more-list button.danger{color:#ff9b8f}.auto-flip-chip{background:var(--ws-accent);color:var(--ws-accent-ink);white-space:nowrap;border-radius:999px;flex-shrink:0;padding:3px 8px;font-size:11px;font-weight:700}@media (width<=600px){.auto-flip-chip{padding:2px 6px;font-size:9px}}@container (width<=640px){.battle-view .ws-center-prompt{background:#0b1a1ccc;border-radius:8px;place-self:center;font-weight:700;max-width:94%!important;text-shadow:none!important;padding:3px 10px!important;font-size:clamp(10px,2.2cqh,13px)!important}}@media (width<=700px){body:not(.battle-view) .builder-studio .builder-head>button.builder-back{display:none!important}}.waiting-actions{flex-wrap:wrap;gap:8px;display:flex}.waiting-actions .waiting-remove-bot{color:var(--ws-danger)!important;border-color:#e8c2bd!important}:is(#login,.home-workspace,.waiting-workspace) .home-chips button{font-weight:600;background:var(--ws-surface)!important;color:var(--ws-text-2)!important;border:1px solid var(--ws-line)!important}:is(#login,.home-workspace,.waiting-workspace) .home-chips button:hover{border-color:var(--ws-brand)!important;color:var(--ws-brand-strong)!important}:is(#login,.home-workspace,.waiting-workspace) .home-chips button[aria-pressed=true]{background:var(--ws-brand)!important;color:#fff!important;border-color:var(--ws-brand)!important}:is(.home-workspace,.waiting-workspace,#login) form:not(.home-password){background:var(--ws-surface)!important;color:var(--ws-text)!important;border:1px solid var(--ws-line)!important;border-radius:var(--ws-radius)!important}:is(.home-workspace,.waiting-workspace,#login) form :is(h3,h4,label,legend){color:var(--ws-text)!important}:is(.home-workspace,.waiting-workspace,#login) form :is(p,small,.muted,.hint){color:var(--ws-text-2)!important}:is(.home-workspace,.waiting-workspace,#login) form button[type=submit],:is(.home-workspace,.waiting-workspace) form .primary{background:var(--ws-brand)!important;color:#fff!important;border-color:var(--ws-brand)!important}:is(.home-workspace,.waiting-workspace,#login) form button[type=submit]:disabled{color:#fff!important;background:#9fc9c4!important;border-color:#9fc9c4!important}.ws-icon{vertical-align:-.2em;flex-shrink:0;display:inline-block}button .ws-icon,a .ws-icon{pointer-events:none}:is(.home-hero-actions,.home-empty-actions,.builder-head-actions,.builder-more-list,.home-more-list,.ws-menu-list,.room-more-list,.waiting-actions) button{align-items:center;gap:6px;display:inline-flex}.workspace-nav .nav-icon{display:inline-flex}.workspace-nav .nav-icon .ws-icon{width:18px;height:18px}@media (width<=700px){body:not(.battle-view) .workspace-nav .nav-icon .ws-icon{width:22px;height:22px}}.ws-menu-list .ws-icon{color:var(--ws-brand)}.ws-menu-list .danger .ws-icon{color:var(--ws-danger)}.room-more-list .ws-icon{color:var(--ws-accent)}.room-more-list .danger .ws-icon{color:#ff9b8f}.fav-star .ws-icon{width:18px;height:18px}.fav-star.on .ws-icon{color:#e0a800}.turn-star{color:var(--ws-accent);vertical-align:-1px;margin-left:3px}.home-lock{vertical-align:-2px;color:var(--ws-accent-ink);margin-right:6px;display:inline-flex}.waiting-lock{vertical-align:-3px;color:var(--ws-accent);margin-right:6px;display:inline-flex}.battle-chat-btn .bi,.battle-room-tools .bi{align-items:center;display:inline-flex}.builder-health .ws-icon{color:var(--ws-brand);vertical-align:-.25em}.add-friend .ws-icon{vertical-align:-1px;margin-right:1px}.ws-menu-floating{z-index:200!important;position:fixed!important}.room-more-list{z-index:200!important}.ws-menu-list button,.battle-view .ws-menu-list button{flex-shrink:0;width:auto!important;min-height:0!important;padding:10px 12px!important;font-size:14px!important}.ws-attack-layer{z-index:150;pointer-events:none;position:fixed;inset:0}.ws-attack-arrow{position:absolute;inset:0;overflow:visible}.ws-attack-path{fill:none;stroke-width:7px;stroke-linecap:round}.ws-attack-ghost{transform-origin:50% 60%;will-change:transform;background:#0b1a1c 50%/cover no-repeat;border:2px solid #e0b54a;border-radius:6px;position:absolute}.ws-attack-impact{border:3px solid #ffe9a8;border-radius:50%;width:24px;height:24px;margin:-12px 0 0 -12px;animation:.5s ease-out forwards ws-attack-ring;position:absolute;box-shadow:0 0 18px #ff6a3d,inset 0 0 12px #ffb36a}.ws-attack-impact:after{content:"";background:radial-gradient(circle,#fff8 0%,#ff6a3d55 40%,#0000 70%);border-radius:50%;animation:.35s ease-out forwards ws-attack-flash;position:absolute;inset:-6px}@keyframes ws-attack-ring{0%{opacity:1;transform:scale(.4)}to{opacity:0;border-width:1px;transform:scale(5.5)}}@keyframes ws-attack-flash{0%{opacity:1;transform:scale(.6)}to{opacity:0;transform:scale(2.2)}}.ws-attack-hit{animation:.4s cubic-bezier(.36,.07,.19,.97) ws-attack-shake}@keyframes ws-attack-shake{0%,to{translate:0}15%{translate:-5px 2px}30%{translate:5px -2px}45%{translate:-4px 1px}60%{translate:3px -1px}75%{translate:-2px}}@media (prefers-reduced-motion:reduce){.ws-attack-hit{animation:none}.ws-attack-impact{animation-duration:10ms}}.zv-head{flex-wrap:wrap;row-gap:4px}.zv-count{white-space:nowrap}@media (width<=600px){.zv-head h2{flex-basis:100%;font-size:18px}}.ws-versus-layer{pointer-events:none;z-index:6;position:absolute;inset:0}.ws-attack-line{position:absolute;inset:0;overflow:visible}.ws-attack-line .glow{stroke:var(--atk,#e0b54a);stroke-width:12px;stroke-linecap:round;opacity:.22}.ws-attack-line .dash{stroke:var(--atk,#e0b54a);stroke-width:4.5px;stroke-linecap:round;stroke-dasharray:10 7;animation:.7s linear infinite ws-attack-flow}.ws-attack-line .head{fill:var(--atk,#e0b54a)}.ws-attack-line .attacker-ring{fill:none;stroke:var(--atk,#e0b54a);stroke-width:3px;filter:drop-shadow(0 0 6px var(--atk,#e0b54a))}.ws-attack-line .target-ring{fill:none;stroke:var(--atk,#e0b54a);stroke-width:2.5px;opacity:.85;animation:1.2s ease-in-out infinite ws-target-pulse}.ws-attack-line.type-Side,.ws-versus.type-Side{--atk:#5fc3e4}.ws-attack-line.type-Direct,.ws-versus.type-Direct{--atk:#ef7a6a}@keyframes ws-attack-flow{to{stroke-dashoffset:-17px}}@keyframes ws-target-pulse{50%{opacity:.35}}.ws-versus{--atk:#e0b54a;pointer-events:auto;width:min(230px,42%);color:var(--ws-on-dark);border:1px solid #2c4a48;border-left:4px solid var(--atk);background:linear-gradient(160deg,#0b1a1cf2,#14262af2);border-radius:12px;padding:8px 10px;font-size:12px;line-height:1.35;animation:.18s ease-out ws-versus-in;position:absolute;top:50%;right:10px;transform:translateY(-50%);box-shadow:0 8px 24px #0008}.ws-versus p{margin:0}.ws-versus-kind{color:var(--atk);letter-spacing:.04em;font-size:12px;font-weight:800}.ws-versus-kind span{color:var(--ws-on-dark-2);letter-spacing:0;font-weight:600}.ws-versus-duel{grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;margin:6px 0 4px;display:grid}.ws-versus-duel .side{text-align:center;flex-direction:column;min-width:0;display:flex}.ws-versus-duel .side small{color:var(--ws-on-dark-2);font-size:10px}.ws-versus-duel .side b{font-variant-numeric:tabular-nums;font-size:20px;line-height:1.1}.ws-versus-duel .side.mine b{color:#8fe0c4}.ws-versus-duel .side.theirs b{color:#f2b8ae}.ws-versus .nm{color:var(--ws-on-dark-2);white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.ws-versus-duel .vs{color:var(--atk);font-size:15px;font-style:italic;font-weight:900}.ws-versus-single{align-items:baseline;gap:6px;min-width:0;display:flex;margin:4px 0!important}.ws-versus-single small{color:var(--ws-on-dark-2);flex-shrink:0;font-size:10px}.ws-versus-result{background:#ffffff12;border-radius:6px;padding:3px 6px;font-weight:700;margin:2px 0 4px!important}.ws-versus-result.tone-win{color:#a8f0d6;background:#167e7833}.ws-versus-result.tone-lose{color:#ffc4bb;background:#c8463d33}.ws-versus-result.tone-draw{color:var(--ws-on-dark)}.ws-versus-damage{color:var(--ws-on-dark-2)}.ws-versus-damage b{color:var(--ws-on-dark);font-variant-numeric:tabular-nums}.ws-versus-damage small{margin-left:2px;font-size:10px}@keyframes ws-versus-in{0%{opacity:0;transform:translate(8px,-50%)}}@media (prefers-reduced-motion:reduce){.ws-attack-line .dash,.ws-attack-line .target-ring,.ws-versus{animation:none}}@media (width<=600px){.ws-versus{width:min(250px,86%);padding:6px 8px;font-size:11px;animation:none;top:6px;left:50%;right:auto;transform:translate(-50%)}.ws-versus-duel{margin:3px 0 2px}.ws-versus-duel .side b{font-size:16px}.ws-versus .nm{display:none}.ws-versus-result{padding:2px 6px}.battle-view .ws-action-bar .ws-step-hint{display:none}}.battle-view .ws-action-bar .ws-step-hint{color:var(--ws-on-dark-2);max-width:min(560px,100%);font-size:12px;line-height:1.4}.login-error[data-v-fe6be9a0]{color:#d9534f;margin:0}.login-link[data-v-fe6be9a0]{text-decoration:underline;color:#217a78!important;box-shadow:none!important;background:0 0!important;border:0!important;padding:4px!important}.login-error[data-v-fadf38a1]{color:#d9534f;margin:0}.admin-accounts[data-v-967f50d8]{margin:12px 0}.admin-accounts h3[data-v-967f50d8]{margin:0;font-size:15px}.admin-accounts-search[data-v-967f50d8]{gap:8px;margin:10px 0;display:flex}.admin-accounts-search input[data-v-967f50d8]{flex:1;min-width:0}.admin-accounts-code[data-v-967f50d8]{background:#eef7f5;border:1px solid #98c8bb;border-radius:10px;margin:10px 0;padding:12px}.admin-accounts-code code[data-v-967f50d8]{letter-spacing:1px;-webkit-user-select:all;user-select:all;font-size:18px}.admin-accounts-code p[data-v-967f50d8]{margin:6px 0;font-size:12px}.admin-accounts-row[data-v-967f50d8]{border-top:1px solid #dbe7e8;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;display:flex}.admin-accounts-row small[data-v-967f50d8]{color:#81959a;overflow-wrap:anywhere;font-size:11px;display:block}.page-picker[data-v-e3b2d452]{text-align:center;border-radius:8px;width:auto;min-width:76px;padding:6px 8px;font-weight:600}.add-friend[data-v-18e4f96a]{white-space:nowrap;vertical-align:middle;margin-left:6px;line-height:1.6;border-radius:12px!important;min-height:0!important;padding:2px 8px!important;font-size:11px!important}.add-friend.pending[data-v-18e4f96a]{color:#7f959b;border:1px dashed #c8dadb;display:inline-block}.fav-star[data-v-e7f18ef6]{cursor:pointer;flex:none;width:30px;height:30px;line-height:1;color:#9aa9ad!important;min-width:0!important;min-height:0!important;box-shadow:none!important;background:0 0!important;border:1px solid #0000!important;border-radius:50%!important;padding:0!important;font-size:17px!important}.fav-star[data-v-e7f18ef6]:hover{color:#c79a1e!important;border-color:#d9c37a!important}.fav-star.on[data-v-e7f18ef6]{color:#e0a800!important}.tutorial-home[data-v-70b960ea]{max-width:1000px;margin:auto;padding:16px;line-height:1.7}.tutorial-home h2[data-v-70b960ea]{margin-bottom:8px}.tutorial-tabs[data-v-70b960ea]{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.tutorial-tabs [aria-pressed=true][data-v-70b960ea]{color:#fff;background:#275947}.tutorial-lesson[data-v-70b960ea]{color:#19372b;background:#f8faf7;border:1px solid #c8d9ce;border-radius:12px;margin:16px 0;padding:18px}.tutorial-lesson fieldset[data-v-70b960ea]{border:1px solid #adc5b5;border-radius:8px}.tutorial-lesson fieldset button[data-v-70b960ea]{margin:5px}.tutorial-lesson select[data-v-70b960ea]{max-width:100%;margin:6px;padding:8px}.tutorial-lesson li[data-v-70b960ea]{margin:9px 0}.tutorial-warning[data-v-70b960ea]{color:#62430d;background:#fff4d8;border-left:4px solid #bd8125;padding:8px}.tutorial-lesson article[data-v-70b960ea]{border-bottom:1px solid #c8d9ce;padding:8px}.tutorial-lesson details[data-v-70b960ea]{margin:12px 0}.tutorial-lesson summary[data-v-70b960ea]{cursor:pointer}.first-pick[data-v-2e77efec]{z-index:80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#08141bcc;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.first-pick-panel[data-v-2e77efec]{color:#eef7f4;text-align:center;background:linear-gradient(160deg,#173a43,#0f2229);border:1px solid #4f8d84;border-radius:18px;width:min(520px,100%);padding:22px 20px;box-shadow:0 18px 50px #0009}.first-pick-eyebrow[data-v-2e77efec]{letter-spacing:3px;color:#9fd8cc;font-size:11px}.first-pick-panel h2[data-v-2e77efec]{color:#fff;margin:6px 0 16px;font-size:22px}.first-pick-cards[data-v-2e77efec]{justify-content:center;gap:clamp(16px,6vw,40px);display:flex}.first-pick-card[data-v-2e77efec]{all:unset;cursor:default;perspective:900px;flex-direction:column;align-items:center;gap:8px;display:flex}.first-pick-card.ready[data-v-2e77efec]{cursor:pointer}.first-pick-inner[data-v-2e77efec]{aspect-ratio:5/7;width:clamp(96px,28vw,140px);transform-style:preserve-3d;transition:transform .6s cubic-bezier(.3,.7,.2,1);display:block;position:relative}.first-pick-card.ready:hover .first-pick-inner[data-v-2e77efec],.first-pick-card.ready:focus-visible .first-pick-inner[data-v-2e77efec]{transform:translateY(-10px)rotate(-2deg)}.first-pick-card.ready .first-pick-back[data-v-2e77efec]{animation:1.4s ease-in-out infinite first-pick-glow-2e77efec;box-shadow:0 0 0 3px #f2d27a,0 0 22px #f2d27a88}.first-pick-card.flipped .first-pick-inner[data-v-2e77efec]{transform:rotateY(180deg)}.first-pick-face[data-v-2e77efec]{backface-visibility:hidden;border-radius:10px;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.first-pick-back[data-v-2e77efec]{background:var(--ws-card-back-url,none) center/cover,linear-gradient(145deg,#2a312d,#121715);border:2px solid #9fb2a8}.first-pick-front[data-v-2e77efec]{color:#1d3a40;background:linear-gradient(160deg,#f4f8f6,#cfe0da);border:2px solid #9fb2a8;transform:rotateY(180deg)}.first-pick-front b[data-v-2e77efec]{letter-spacing:4px;font-size:clamp(26px,8vw,38px)}.first-pick-card.isFirst .first-pick-front[data-v-2e77efec]{color:#5a3b00;background:linear-gradient(160deg,#fff4cf,#f2c75a);border-color:#e0a800;box-shadow:0 0 26px #f2c75aaa}.first-pick-card.picked .first-pick-inner[data-v-2e77efec]{outline-offset:4px;border-radius:10px;outline:3px solid #7fe0c8}.first-pick-owner[data-v-2e77efec]{color:#cfeee6;font-size:13px;font-weight:700}.first-pick-sub[data-v-2e77efec]{color:#c6e2dc;margin:16px 0 0;font-size:13px;line-height:1.6}.first-pick-timer[data-v-2e77efec]{color:#f2d27a;margin:6px 0 0;font-size:12px}@keyframes first-pick-glow-2e77efec{0%,to{box-shadow:0 0 0 3px #f2d27a,0 0 14px #f2d27a66}50%{box-shadow:0 0 0 3px #f2d27a,0 0 28px #f2d27acc}}@media (prefers-reduced-motion:reduce){.first-pick-inner[data-v-2e77efec]{transition:none}.first-pick-card.ready .first-pick-back[data-v-2e77efec]{animation:none}}.card-color[data-v-6e9863e1]{white-space:nowrap;align-items:center;gap:4px;font-weight:600;display:inline-flex}.card-color[data-v-6e9863e1]:before{content:"";background:var(--card-color);border-radius:50%;width:.75em;height:.75em;box-shadow:0 0 0 1px #0003}.tutorial-coach[data-v-f797a9bf]{color:#173d2d;background:#eef7ec;border:1px solid #8eb79e;border-radius:8px;margin:8px 0;padding:8px 12px;font-size:13px;line-height:1.5}.tutorial-coach-head[data-v-f797a9bf]{justify-content:space-between;align-items:center;gap:8px;display:flex}.tutorial-coach p[data-v-f797a9bf]{margin:6px 0}.tutorial-coach button[data-v-f797a9bf]{padding:4px 8px;font-size:12px}.tutorial-coach-details[data-v-f797a9bf]{overscroll-behavior:contain;max-height:28vh;padding-right:6px;overflow:auto}.tutorial-phase-guide[data-v-f797a9bf]{flex-wrap:wrap;gap:5px;display:flex}.tutorial-phase-guide span[data-v-f797a9bf]{border:1px solid #c0d1c3;border-radius:4px;padding:2px 6px}.tutorial-phase-guide .current[data-v-f797a9bf]{color:#fff;background:#285c40}.tutorial-complete[data-v-f797a9bf]{font-weight:700}.tutorial-effect[data-v-f797a9bf]{white-space:pre-wrap;border-left:3px solid #87ad93;padding-left:8px}.tutorial-warning[data-v-f797a9bf]{color:#7b4d0d}.tutorial-coach summary[data-v-f797a9bf]{cursor:pointer}@media (width<=600px){.tutorial-coach-head[data-v-f797a9bf]{align-items:flex-start}.tutorial-coach[data-v-f797a9bf]{font-size:12px}.tutorial-coach-head button[data-v-f797a9bf]{flex-shrink:0;max-width:120px}}dialog.practice-search{color:#e3f0ed;background:#162733;border:1px solid #3c5a66;border-radius:14px;flex-direction:column;width:min(960px,100vw - 24px);max-height:calc(100dvh - 24px);padding:0;display:flex}dialog.practice-search:not([open]){display:none}.practice-search .dialog-header{border-bottom:1px solid #2c4652;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.practice-search .dialog-header h2{margin:0;font-size:17px}.practice-search .ps-filters{flex-wrap:wrap;align-items:center;gap:8px;padding:10px 16px 4px;display:flex}.practice-search .ps-filters input{color:#e3f0ed;background:#0f1d26;border:1px solid #3c5a66;border-radius:8px;flex:1;min-width:140px;padding:6px 8px}.practice-search .ps-from{color:#b9cfca;font-size:13px}.practice-search .ps-target{color:#7fe0c8;white-space:nowrap;font-size:13px}.practice-search .ps-seg{display:flex}.practice-search .ps-seg button{border-radius:0;padding:6px 14px}.practice-search .ps-seg button:first-child{border-radius:8px 0 0 8px}.practice-search .ps-seg button:last-child{border-radius:0 8px 8px 0}.practice-search button{color:#e3f0ed;cursor:pointer;background:#22404c;border:1px solid #3c5a66;border-radius:8px;padding:6px 10px;font-size:13px}.practice-search button[aria-pressed=true]{background:#2f8a7b;border-color:#5bc0ad}.practice-search .ps-grid{flex:1;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;min-height:180px;padding:6px 16px 12px;display:grid;overflow-y:auto}.practice-search .ps-card{background:#1c3340;flex-direction:column;align-items:center;gap:4px;padding:4px;display:flex}.practice-search .ps-card:hover{outline:2px solid #7fe0c8}.practice-search .ps-card:disabled{opacity:.6;cursor:wait}.practice-search .ps-card img{aspect-ratio:5/7;object-fit:cover;border-radius:5px;width:100%}.practice-search .ps-card span{text-align:center;max-height:2.6em;font-size:11px;line-height:1.3;overflow:hidden}.practice-search .ps-muted{color:#93aba6;margin:0;font-size:12px}.practice-search .ps-note{padding:0 16px 4px}.practice-search .ps-error{color:#ff8f87;margin:0 16px}.practice-search .ps-footer{border-top:1px solid #2c4652;justify-content:flex-end;padding:10px 16px;display:flex}.practice-search .ps-footer button{background:#2f8a7b;border-color:#5bc0ad;padding:6px 18px}.practice-panel{z-index:40;color:#e3f0ed;background:#142430e6;border:1px solid #3c5a66;border-radius:12px;width:min(340px,100vw - 20px);max-height:calc(100dvh - 90px);padding:8px 10px;font-size:13px;position:fixed;top:76px;right:10px;overflow-y:auto;box-shadow:0 8px 24px #0006}.practice-panel.collapsed{width:auto}.practice-panel .pp-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.practice-panel button{color:#e3f0ed;cursor:pointer;background:#22404c;border:1px solid #3c5a66;border-radius:7px;min-height:0;padding:3px 8px;font-size:12px;line-height:1.5}.practice-panel button[aria-pressed=true]{background:#2f8a7b;border-color:#5bc0ad;font-weight:700}.practice-panel button:disabled{opacity:.45;cursor:not-allowed}.practice-panel button small{color:#9fd8c9}.practice-panel .pp-row{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.practice-panel .pp-seg{display:flex}.practice-panel .pp-seg button{border-radius:0;padding:4px 14px}.practice-panel .pp-seg button:first-child{border-radius:7px 0 0 7px}.practice-panel .pp-seg button:last-child{border-radius:0 7px 7px 0}.practice-panel .pp-follow{color:#b9cfca;align-items:center;gap:4px;font-size:12px;display:flex}.practice-panel .pp-player{border-top:1px solid #2c4652;margin-top:8px;padding-top:8px}.practice-panel .pp-name{margin-bottom:6px;font-weight:700}.practice-panel .pp-name small{color:#93aba6;margin-left:8px;font-weight:400}.practice-panel .pp-ops{grid-template-columns:repeat(3,1fr);gap:4px;display:grid}.practice-panel .pp-hint{color:#93aba6;margin:8px 0 0;font-size:11px;line-height:1.5}@media (width<=700px){.practice-panel{max-height:55dvh;top:56px}}.builder-total .over[data-v-920d71df]{color:#c0392b}.builder-studio .builder-head[data-v-920d71df]{flex-wrap:wrap;align-items:center;gap:8px 16px;min-height:0;padding:12px 16px!important;display:flex!important}.builder-studio .builder-head[data-v-920d71df] :is(.eyebrow,p){display:none}.builder-head-actions[data-v-920d71df]{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-left:auto;display:flex}.builder-head-actions[data-v-920d71df] button,.builder-head-actions button[data-v-920d71df]{color:#26666b;background:#fff;border:1px solid #bed6d7;border-radius:8px;padding:9px 16px;font-size:15px;font-weight:700;position:static!important}.builder-head-actions[data-v-920d71df] button:first-child{color:#fff;background:#167e75;border-color:#167e75}.builder-head-actions[data-v-920d71df] button:disabled{opacity:.5}.builder-head-actions .builder-cancel[data-v-920d71df]{color:#b3423a;border-color:#e3b9b5}@media (width<=700px){.builder-head-actions[data-v-920d71df]{justify-content:stretch;margin-left:0}.builder-head-actions[data-v-920d71df] button,.builder-head-actions button[data-v-920d71df]{flex:auto;padding:8px 10px;font-size:13px}}@media (width>=701px) and (height<=800px){.builder-studio .builder-layout[data-v-920d71df]{min-height:720px}}.catalog-search[data-v-920d71df]{align-items:stretch;gap:8px;margin-bottom:8px;display:flex}.deck-row-version[data-v-920d71df]{border-radius:6px;grid-column:1/-1;width:100%;min-height:0;padding:2px 4px;font-size:11px}.catalog-search input[data-v-920d71df]{flex:1;min-width:0}.filter-open[data-v-920d71df]{white-space:nowrap}.filter-popout-backdrop[data-v-920d71df]{z-index:80;background:#0e293b80;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.filter-popout[data-v-920d71df]{background:#f6f9fa;border-radius:16px;width:min(760px,100%);max-height:86dvh;padding:0 18px 18px;overflow:auto;box-shadow:0 20px 80px #102e3655}.filter-popout-head[data-v-920d71df]{z-index:1;background:#f6f9fa;border-bottom:1px solid #dce6e7;align-items:center;gap:8px;margin-bottom:8px;padding:14px 0 10px;display:flex;position:sticky;top:0}.filter-popout-head h3[data-v-920d71df]{margin:0;font-size:17px}.filter-popout-head span[data-v-920d71df]{color:#5c7a80;margin-right:auto;font-size:12px}.filter-done[data-v-920d71df]{color:#fff!important;background:#167e75!important;border-color:#167e75!important}.filter-popout .catalog-filters[data-v-920d71df]{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));max-height:none;overflow:visible}.filter-popout .catalog-filters>label[data-v-920d71df]{display:block!important}.builder-studio .filter-popout .effect-filter[data-v-920d71df]{flex-shrink:0;max-height:none!important;overflow:visible!important}.effect-filter[data-v-920d71df]{border:1px solid #c9dcd7;border-radius:8px;flex-shrink:0;max-height:230px;padding:8px;overflow:auto}.effect-filter summary[data-v-920d71df]{cursor:pointer;color:#366f64;font-weight:600}.effect-mode[data-v-920d71df],.effect-options[data-v-920d71df]{flex-wrap:wrap;gap:5px;margin-top:8px;display:flex}.effect-group-title[data-v-920d71df]{color:#366f64;margin:10px 0 0;font-size:12px;font-weight:600}.effect-filter button[data-v-920d71df]{min-height:36px;padding:6px 8px;font-size:12px}.effect-filter button[aria-pressed=true][data-v-920d71df]{color:#fff;background:#167e75;border-color:#167e75}.effect-help[data-v-920d71df]{color:#526e68;margin:7px 0 0;font-size:11px}.effect-card-tags[data-v-920d71df]{color:#167e75;white-space:normal}@media (width<=700px){.effect-filter[data-v-920d71df]{max-height:none}.effect-filter button[data-v-920d71df]{min-height:44px}}.bug-report[data-v-53026eb4]{margin-bottom:22px!important}.bug-form[data-v-53026eb4]{gap:8px;display:grid}.bug-form label[for][data-v-53026eb4]{color:#35595f;font-weight:700}.bug-form textarea[data-v-53026eb4]{box-sizing:border-box;resize:vertical;width:100%;font:inherit;color:var(--home-ink);background:#f7fafb;border:1px solid #cfdfe1;border-radius:10px;padding:10px}.bug-count[data-v-53026eb4]{color:#81959a;justify-self:end}.bug-attach[data-v-53026eb4]{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.bug-attach small[data-v-53026eb4]{color:#718b90}.bug-file-btn[data-v-53026eb4]{color:#2d696e;cursor:pointer;background:#fff;border:1px solid #c8dddf;border-radius:8px;align-items:center;min-height:44px;padding:0 14px;display:inline-flex}.bug-file-btn[data-v-53026eb4]:has(input:disabled){opacity:.5;cursor:not-allowed}.bug-file-btn input[data-v-53026eb4]{opacity:0;width:1px;height:1px;position:absolute}.bug-file-btn[data-v-53026eb4]:focus-within{outline-offset:2px;outline:2px solid #2d8f86}.bug-thumbs[data-v-53026eb4]{flex-wrap:wrap;gap:10px;margin:4px 0;padding:0;list-style:none;display:flex}.bug-thumbs li[data-v-53026eb4],.bug-thumbs a[data-v-53026eb4]{display:block;position:relative}.bug-thumbs img[data-v-53026eb4]{object-fit:cover;background:#f2f7f8;border:1px solid #dbe7e8;border-radius:8px;width:140px;height:100px;display:block}.bug-thumbs li button[data-v-53026eb4]{border-radius:50%;width:28px;height:28px;padding:0;position:absolute;top:4px;right:4px;color:#fff!important;background:#173f48cc!important;border:0!important;min-height:0!important}.bug-processing[data-v-53026eb4]{color:#718b90;border:1px dashed #c8dada;border-radius:8px;justify-content:center;align-items:center;width:140px;height:100px;font-size:12px;display:flex}.bug-error[data-v-53026eb4]{color:#b3403a;margin:0}.bug-submit[data-v-53026eb4]{justify-self:start;padding:0 20px;background:var(--home-accent)!important;color:#fff!important;border-color:var(--home-accent)!important}.bug-submit[data-v-53026eb4]:disabled{opacity:.5}.bug-item[data-v-53026eb4]{border:1px solid #dbe7e8;border-radius:12px;margin-top:12px;padding:14px}.bug-item header[data-v-53026eb4]{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.bug-item header small[data-v-53026eb4]{color:#81959a}.bug-status[data-v-53026eb4]{color:#9a5b16;background:#fbeee0;border-radius:20px;padding:3px 9px;font-size:11px}.bug-status.doing[data-v-53026eb4]{color:#506fb1;background:#e6edfc}.bug-status.fixed[data-v-53026eb4]{color:#287c52;background:#e2f3e9}.bug-status.wontfix[data-v-53026eb4]{color:#7c8c91;background:#eef1f3}.bug-text[data-v-53026eb4]{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 6px;line-height:1.7}.bug-context[data-v-53026eb4]{color:#81959a;font-size:11px;display:block}.bug-note[data-v-53026eb4]{color:#2d696e;background:#eef7f5;border-radius:8px;padding:8px 10px;font-size:13px}.bug-admin[data-v-53026eb4]{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.bug-admin input[data-v-53026eb4]{flex:1;min-width:160px}.account-settings form[data-v-8b91aa99]{gap:10px;max-width:380px;margin-bottom:16px;display:grid}.account-settings h3[data-v-8b91aa99]{color:#e3f0ed;margin:0;font-size:15px}.account-hint[data-v-8b91aa99]{color:#b9cfca;margin:0;font-size:13px}.account-error[data-v-8b91aa99]{color:#ff8f87;margin:0}.friends-page[data-v-18cee5a4]{grid-template-columns:minmax(300px,380px) minmax(0,1fr);align-items:start;gap:22px;display:grid}.friends-page h3[data-v-18cee5a4]{color:#4c6a70;margin:20px 0 8px;font-size:14px}.friends-code[data-v-18cee5a4]{background:#f2f7f8;border-radius:10px;align-items:center;gap:10px;padding:10px 12px;display:flex}.friends-code small[data-v-18cee5a4]{color:#6f8a8f;font-size:11px}.friends-code strong[data-v-18cee5a4]{letter-spacing:1px;color:#1f5d58;margin-right:auto;font-family:ui-monospace,Consolas,monospace;font-size:17px}.friends-code button[data-v-18cee5a4]{padding:5px 10px;font-size:12px}.friends-add[data-v-18cee5a4],.friends-send[data-v-18cee5a4]{background:0 0;border:0;border-radius:0;margin-bottom:0;padding:0}.friends-add[data-v-18cee5a4]{gap:8px;margin-top:12px;display:flex}.friends-add input[data-v-18cee5a4]{flex:1;min-width:0;font-size:13px}.friends-add button[data-v-18cee5a4]{white-space:nowrap;font-size:12px;color:#fff!important;background:#18847a!important;border-color:#18847a!important}.friends-error[data-v-18cee5a4]{color:#c0392b;margin:6px 0 0;font-size:12px}.friends-tip[data-v-18cee5a4]{margin-top:8px!important;font-size:11px!important}.friends-list[data-v-18cee5a4]{gap:6px;margin:0;padding:0;list-style:none;display:grid}.friends-list li[data-v-18cee5a4]{border:1px solid #dbe7e8;border-radius:10px;align-items:center;gap:6px;padding:6px 8px;display:flex}.friends-list li.active[data-v-18cee5a4]{background:#f1f9f6;border-color:#7fbcae}.friends-list li>button[data-v-18cee5a4],.friends-list li>.async-button[data-v-18cee5a4]{white-space:nowrap;padding:5px 9px;font-size:12px}.friends-name[data-v-18cee5a4]{color:#24444d;overflow-wrap:anywhere;font-weight:700}.friends-list li>.friends-name[data-v-18cee5a4]{margin-right:auto}.friends-open[data-v-18cee5a4]{text-align:left;flex:1;align-items:center;gap:8px;min-width:0;display:flex;background:0 0!important;border:0!important;padding:4px!important}.friends-status[data-v-18cee5a4]{color:#8a9ca0;white-space:nowrap;font-size:11px}.friends-status.lobby[data-v-18cee5a4],.friends-status.room[data-v-18cee5a4]{color:#2a8a61}.friends-status.playing[data-v-18cee5a4]{color:#506fb1}.friends-unread[data-v-18cee5a4]{color:#fff;background:#d9534f;border-radius:10px;margin-left:auto;padding:1px 7px;font-size:11px}.friends-chat[data-v-18cee5a4]{flex-direction:column;min-height:480px;display:flex}.friends-chat .home-section-head h2[data-v-18cee5a4]{margin-bottom:8px}.friends-chat .home-section-head>span[data-v-18cee5a4]{align-items:center;gap:10px;display:flex}.friends-remove[data-v-18cee5a4]{padding:4px 9px;font-size:11px;color:#a0524b!important;border-color:#e3c6c2!important}.friends-log[data-v-18cee5a4]{background:#f6f9fa;border-radius:12px;flex-direction:column;flex:1;gap:8px;min-height:300px;max-height:55vh;margin:8px 0 12px;padding:12px;display:flex;overflow-y:auto}.friends-older[data-v-18cee5a4]{align-self:center;padding:5px 12px;font-size:12px}.friends-msg[data-v-18cee5a4]{flex-direction:column;max-width:75%;display:flex}.friends-msg p[data-v-18cee5a4]{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:14px;margin:0;padding:8px 12px;font-size:14px;line-height:1.5}.friends-msg small[data-v-18cee5a4]{color:#8a9ca0;margin-top:2px;font-size:10px}.friends-msg.mine[data-v-18cee5a4]{align-self:flex-end;align-items:flex-end}.friends-msg.mine p[data-v-18cee5a4]{color:#fff;background:#1f7f74;border-bottom-right-radius:4px}.friends-msg.theirs[data-v-18cee5a4]{align-self:flex-start}.friends-msg.theirs p[data-v-18cee5a4]{color:#24444d;background:#fff;border:1px solid #dbe7e8;border-bottom-left-radius:4px}.friends-send[data-v-18cee5a4]{align-items:stretch;gap:8px;display:flex}.friends-send textarea[data-v-18cee5a4]{resize:vertical;min-width:0;height:64px;min-height:44px;font:inherit;color:#24444d;background:#f7fafb;border:1px solid #cfdfe1;border-radius:10px;flex:1;padding:8px 10px;font-size:14px}.friends-send button[data-v-18cee5a4]{white-space:nowrap;color:#fff!important;background:#18847a!important;border-color:#18847a!important}.friends-empty[data-v-18cee5a4]{margin:auto 0}@media (width<=820px){.friends-page[data-v-18cee5a4]{grid-template-columns:1fr}.friends-chat[data-v-18cee5a4]{min-height:0}.friends-log[data-v-18cee5a4]{max-height:50vh}}.friend-invites[data-v-7ba1a758]{z-index:60;gap:10px;max-width:min(320px,100vw - 32px);display:grid;position:fixed;bottom:16px;right:16px}.friend-invite[data-v-7ba1a758]{color:#eaf6f3;background:#173f48;border-radius:14px;padding:14px 16px;box-shadow:0 8px 24px #0005}.friend-invite p[data-v-7ba1a758]{margin:0 0 2px;font-size:15px}.friend-invite small[data-v-7ba1a758]{color:#a9cdc6;font-size:12px}.friend-invite div[data-v-7ba1a758]{gap:8px;margin-top:10px;display:flex}.friend-invite button[data-v-7ba1a758]{color:#ecf8f3;cursor:pointer;background:#ffffff14;border:1px solid #8dbbad;border-radius:8px;flex:1;padding:7px 10px;font-size:13px}.friend-invite button[data-v-7ba1a758]:first-child{color:#17453c;background:#bce9d7;border-color:#bce9d7;font-weight:700}.deck-dialog-footer[data-v-ce6b4edd]{--pad:22px;bottom:calc(-1*var(--pad));z-index:2;margin:12px calc(-1*var(--pad)) calc(-1*var(--pad));padding:12px var(--pad);background:#f6f9faf5;border-top:1px solid #dce6e7;flex-wrap:wrap;align-items:center;position:sticky}.export-base[data-v-ce6b4edd]{color:#26666b;align-items:center;gap:4px;font-size:13px;display:inline-flex}@media (width<=700px){.deck-dialog-footer[data-v-ce6b4edd]{--pad:12px}}.card-versions[data-v-85ae182f]{gap:8px;padding:8px 0 12px;display:flex;overflow-x:auto}.card-versions button[data-v-85ae182f]{border-radius:8px;flex:none;justify-items:center;gap:4px;display:grid;padding:4px!important}.card-versions button[aria-pressed=true][data-v-85ae182f]{box-shadow:0 0 0 2px #167e78;border-color:#167e78!important}.card-versions img[data-v-85ae182f]{object-fit:cover;border-radius:4px;width:64px;height:90px}.card-versions span[data-v-85ae182f]{font-size:11px;font-weight:600}.foil-note[data-v-85ae182f]{color:#7c9399;margin:0 0 10px;font-size:12px}.volume-toggles[data-v-a16c1190]{flex-wrap:wrap;gap:6px 16px;margin:4px 0;display:flex}.volume-toggles label[data-v-a16c1190]{align-items:center;gap:6px;flex-direction:row!important;display:flex!important}.volume-toggles input[data-v-a16c1190]{width:auto!important}.nav-friends{position:relative}.header-practice{border-radius:8px;padding:6px 12px;font-size:13px}.nav-badge{color:#fff;text-align:center;background:#d9534f;border-radius:9px;min-width:18px;margin-left:6px;padding:0 5px;font-size:11px;line-height:18px;display:inline-block}
