.battle-room-lobby{max-width:1040px;margin:40px auto;padding:30px;border:1px solid #b7a4e733;border-radius:24px;background:linear-gradient(145deg,#241e39,#101b2b);color:#eef0ff;display:flex;flex-direction:column;gap:20px}.battle-room-lobby h1{font-size:clamp(28px,4vw,48px);margin:0}.battle-room-lobby p{margin:0;color:#c1bed0}.battle-room-lobby>a.battle-primary{align-self:flex-start;padding:12px 22px;border-radius:12px;text-decoration:none;font-weight:700}.battle-room-decks{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));grid-gap:12px;gap:12px;max-height:360px;overflow:auto}.battle-room-decks button{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #9a7bcc55;border-radius:14px;padding:12px;background:#151627;color:inherit}.battle-room-decks button.selected{border-color:#7de1dd;box-shadow:0 0 0 2px #7de1dd33}.battle-room-decks img{width:46px;border-radius:4px}.battle-room-decks span{display:grid;grid-gap:6px;gap:6px}.battle-room-decks small{font-size:11px;color:#b9b4c9}.battle-room-decks button:disabled{opacity:.45}.battle-room-actions{display:flex;gap:12px;flex-wrap:wrap}.battle-chat form,.battle-room-actions form{display:flex;gap:8px}.battle-chat input,.battle-room-actions input{background:#111a2a;border:1px solid #9a7bcc66;border-radius:10px;color:white;padding:10px;min-width:0}.battle-invite button,.battle-room-actions button,.battle-room-lobby>button,.battle-room-seats+button{border-radius:10px;padding:12px;border:1px solid #aa92cf66;background:#33284e;color:#fff}.battle-room-actions .battle-primary,.battle-room-lobby .battle-primary{background:#ab8ce8;color:#171223}.battle-invite{display:flex;gap:20px;align-items:center}.battle-invite strong{font-size:30px;letter-spacing:4px;color:#81dfd7}.battle-room-seats{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}.battle-room-seats>div{padding:20px;background:#ffffff06;border:1px solid #ffffff17;border-radius:16px}.battle-room-seats span{font-size:10px;letter-spacing:2px}.battle-recent{display:flex;flex-wrap:wrap;gap:8px}.battle-recent small{width:100%}.battle-recent button{padding:8px;background:#ffffff09;color:inherit;border:1px solid #ffffff23;border-radius:8px}.battle-room-controls{position:absolute;right:105px;top:19px;z-index:35;display:flex;gap:8px;align-items:center;pointer-events:auto}.battle-room-controls>span{font-size:9px;max-width:170px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.battle-room-controls button{background:#102034;color:#ecf1ff;border:1px solid #9a7bcc55;border-radius:8px;padding:6px 9px}.battle-your-turn{position:fixed;inset:40% 0 auto;text-align:center;font-size:clamp(36px,7vw,88px);font-weight:900;letter-spacing:4px;color:#c2ffff;text-shadow:0 0 36px #62cfdf;z-index:50;pointer-events:none}.battle-your-turn small{display:block;font-size:14px;letter-spacing:1px}.battle-chat{position:fixed;right:18px;top:72px;bottom:24px;width:min(340px,calc(100vw - 24px));z-index:80;display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:16px;background:#0c1426f5;border:1px solid #b59bec66;color:#eef0ff;box-shadow:0 18px 70px #0009}.battle-chat header{display:flex;justify-content:space-between;align-items:center;font-size:12px}.battle-chat button{padding:6px 10px;color:inherit;background:#392d53;border:0;border-radius:7px}.battle-chat-messages{flex:1 1;overflow:auto;font-size:13px}.battle-chat-messages p{overflow-wrap:anywhere}.battle-chat-messages strong{display:block;font-size:10px;color:#9ddedb}.battle-chat-reactions{display:flex;gap:7px;justify-content:center}.battle-chat form input{flex:1 1}.battle-connection-status,.battle-room-error{position:fixed;top:60px;left:50%;transform:translateX(-50%);padding:10px 14px;max-width:90vw;border-radius:10px;font-size:12px;background:#332746;color:#fff;z-index:90}.battle-room-error button{margin-left:12px}.battle-reactions{position:fixed;left:50%;top:35%;z-index:70;pointer-events:none;display:flex;gap:12px}.battle-reactions>span{animation:room-reaction 3.5s both;font-size:52px;filter:drop-shadow(0 4px 10px #0009)}.battle-reactions small{display:block;font-size:10px;color:white;text-align:center}@keyframes room-reaction{0%{opacity:0;transform:translateY(20px) scale(.7)}15%,70%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-30px)}}@media(max-width:650px){.battle-room-lobby{margin:12px auto;padding:20px;gap:18px}.battle-room-actions{flex-direction:column}.battle-room-actions form{flex-wrap:wrap}.battle-room-actions input{flex:1 1}.battle-room-seats{grid-template-columns:1fr}.battle-room-controls{right:12px;top:44px;gap:5px}.battle-room-controls>span{font-size:7px;max-width:125px}.battle-room-controls button{padding:4px 8px}.battle-chat{right:12px;top:80px;bottom:18px}.battle-invite strong{font-size:23px;letter-spacing:2px}.battle-room-decks{grid-template-columns:1fr}.battle-connection-status,.battle-room-error{top:78px}}@media(prefers-reduced-motion:reduce){.battle-reactions>span{animation:none}}.battle-cost-icon{display:inline-block;width:18px;height:18px;vertical-align:middle;margin-right:4px}.battle-app>.battle-room-controls{right:calc(max(12px,(100vw - 1280px)/2) + 100px)}.battle-room-lobby>.battle-room-controls{position:static;align-self:flex-end}@media(max-width:650px){.battle-app>.battle-room-controls{right:12px}}.battle-programmed{border-top:1px solid #b7a4e733;padding-top:18px}.battle-programmed-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 14px;border:1px solid #b7a4e744;border-radius:12px;background:#ffffff06;color:inherit;text-align:left;cursor:pointer}.battle-programmed-toggle>span:first-child{display:grid;grid-gap:5px;gap:5px}.battle-programmed-toggle strong{font-size:16px}.battle-programmed-toggle small{font-size:11px;color:#c1bed0}.battle-programmed-toggle>span:last-child{font-size:24px}.battle-programmed-card summary:focus-visible,.battle-programmed-toggle:focus-visible{outline:2px solid #81dfd7;outline-offset:3px}.battle-programmed #battle-programmed-list>p{font-size:12px;line-height:1.6;margin:14px 0}.battle-programmed-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.battle-programmed-filters input,.battle-programmed-filters select{color:#eef0ff;background:#111a2a;border:1px solid #9a7bcc66;border-radius:9px;padding:10px;min-width:0}.battle-programmed-filters input{flex:1 1;min-width:180px}.battle-programmed-filters small{font-size:11px;color:#c1bed0}.battle-programmed-category{margin:24px 0}.battle-programmed-category h2{display:flex;align-items:center;gap:8px;font-size:16px;margin:0 0 12px}.battle-programmed-category h2 small{font-size:11px;font-weight:400;color:#c1bed0}.battle-programmed-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));grid-gap:10px;gap:10px;align-items:start}.battle-programmed-card{border:1px solid #b7a4e72b;border-radius:12px;background:#10172580;overflow:hidden}.battle-programmed-card summary{list-style:none;display:flex;align-items:center;gap:12px;padding:12px;cursor:pointer}.battle-programmed-card summary::-webkit-details-marker{display:none}.battle-programmed-card summary>img{width:54px;height:75px;object-fit:contain;flex-shrink:0;border-radius:4px}.battle-programmed-card summary>span{display:grid;grid-gap:6px;gap:6px;min-width:0}.battle-programmed-card strong{font-size:13px;line-height:1.4}.battle-programmed-card small{font-size:10px;color:#bab3cf}.battle-programmed-ready{font-size:9px;color:#94e4d0}.battle-programmed-card-details{border-top:1px solid #b7a4e722;padding:12px;display:grid;grid-gap:12px;gap:12px}.battle-programmed-card-details p{font-size:10px;line-height:1.5}.battle-programmed-card-details>div{display:flex;flex-wrap:wrap;gap:5px}.battle-programmed-card-details>div span{font-size:9px;background:#a284db19;border-radius:5px;padding:4px 6px}.battle-programmed-card-details a{font-size:11px;color:#94e4d0}@media(max-width:650px){.battle-programmed-grid{grid-template-columns:1fr}.battle-programmed-filters input{flex-basis:100%}.battle-programmed-filters select{flex:1 1}}.battle-hub{max-width:1180px;margin:0 auto;padding:12px 8px 48px;color:var(--text,#efedf7)}.battle-hub-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 30px;padding:6px;border:1px solid #a890de33;background:#161526;border-radius:16px;width:-moz-fit-content;width:fit-content}.battle-hub-nav a,.battle-hub-nav button{border:0;background:transparent;color:#c6bfdc;border-radius:11px;padding:12px 24px;text-decoration:none;font-size:14px;font-weight:650;cursor:pointer}.battle-hub-nav [aria-current=page]{background:#a88afa;color:#151027;box-shadow:0 3px 20px #9c6afa30}.battle-hub :is(button,a,input,select):focus-visible,.battle-hub-nav :focus-visible{outline:3px solid #ae91ff;outline-offset:4px}.battle-hub-hero{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;min-height:290px;background:radial-gradient(ellipse at 85% 50%,#7450b32b,transparent 60%);margin-bottom:30px;border-bottom:1px solid #a88afa24}.battle-hub h1{font-size:clamp(30px,4vw,48px);letter-spacing:-1.8px;line-height:1.12;max-width:600px;margin:16px 0}.battle-hub p{color:#b9b3cc;line-height:1.65}.battle-hub h2{font-size:21px;letter-spacing:-.5px}.battle-hub a{color:#c8b4ff}.battle-hub .battle-eyebrow{color:#ac92ed;font-size:10px;letter-spacing:2px}.battle-hub-builder-link{display:inline-block;margin:12px 0 25px;font-weight:650;text-decoration:none}.battle-hero-cards{position:relative;display:flex;justify-content:center;padding:30px 0}.battle-hero-cards img{width:clamp(80px,10vw,135px);border-radius:9px;box-shadow:0 18px 35px #0007;margin:0 -16px;transform:rotate(-12deg) translateY(14px)}.battle-hero-cards img:nth-child(2){transform:translateY(-12px);z-index:1}.battle-hero-cards img:nth-child(3){transform:rotate(12deg) translateY(14px)}.battle-hub-section{margin:30px 0}.battle-hub-section>header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}.battle-hub-section>header h2{margin:0}.battle-hub-section>header :is(span,a){font-size:12px;color:#aaa2bf}.battle-deck-carousel{display:flex;gap:14px;overflow-x:auto;padding:8px 4px 20px;scroll-snap-type:x proximity}.battle-deck-carousel>button{display:flex;align-items:center;gap:16px;flex:0 0 245px;scroll-snap-align:start;background:#201d30;border:1px solid #9a84bd35;color:#f3efff;padding:15px;border-radius:15px;cursor:pointer;text-align:left;transition:border-color .2s,transform .2s,background .2s}.battle-deck-carousel>button:hover{transform:translateY(-3px);border-color:#bfa3ed}.battle-deck-carousel>button.selected{background:#322748;border-color:#b69bf6;box-shadow:0 0 0 2px #b69bf624}.battle-carousel-cover{width:68px;border-radius:5px}.battle-deck-carousel span{display:grid;grid-gap:8px;gap:8px}.battle-deck-carousel span img{width:23px;height:23px}.battle-deck-carousel strong{font-size:15px}.battle-deck-carousel small{color:#a0e1be;font-size:10px}.battle-start-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:18px;gap:18px;margin-top:14px}.battle-hub-callout,.battle-start-grid>section{border:1px solid #a890de30;border-radius:18px;padding:26px;background:linear-gradient(125deg,#241e34,#171721)}.battle-start-grid h2{margin:10px 0}.battle-start-grid p{font-size:13px}.battle-hub .battle-primary{display:inline-block;text-decoration:none;background:#af91ff;color:#160d28;border:0;padding:14px 20px;border-radius:10px;font-weight:700;cursor:pointer}.battle-hub button:disabled{opacity:.5;cursor:default}.battle-start-grid form{display:grid;grid-gap:12px;gap:12px}.battle-start-grid label{display:grid;grid-gap:8px;gap:8px;font-size:12px}.battle-hub input:not([type=checkbox]),.battle-hub select{background:#12111c;border:1px solid #a58bc044;border-radius:9px;padding:12px;color:#eee7fb;max-width:100%;min-width:0}.battle-directory-filters>button,.battle-start-grid form>button{background:#3a3051;border:1px solid #b99add55;border-radius:10px;padding:12px;color:#ece3ff}.battle-match-list{border:1px solid #a890de24;border-radius:15px;overflow:hidden;background:#191722}.battle-match-list article{display:flex;justify-content:space-between;gap:12px;padding:19px;border-bottom:1px solid #a890de22}.battle-match-list article:last-child{border:0}.battle-match-list article>div:first-child{display:grid;grid-gap:5px;gap:5px}.battle-match-list strong{font-size:13px}.battle-match-list small{font-size:11px;color:#a9a2ba}.battle-match-types{display:flex;align-items:center;gap:8px}.battle-match-types img{width:23px;height:23px}.battle-match-types button{font-size:11px;background:#3a3051;border:0;color:#eee2ff;border-radius:7px;padding:9px;cursor:pointer}.battle-hub-empty{padding:24px;text-align:center;font-size:13px}.battle-directory-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:25px}.battle-directory-filters>input{flex:1 1;min-width:170px!important}.battle-directory-filters label{font-size:12px}.battle-directory-pages{display:flex;justify-content:center;gap:20px;font-size:12px}.battle-deck-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));grid-gap:18px;gap:18px}.battle-deck-tile{border:1px solid #a890de2e;background:#1e1a2a;border-radius:16px;overflow:hidden}.battle-deck-art{display:flex;position:relative;justify-content:center;padding:20px;background:radial-gradient(ellipse,#7d56963b,transparent)}.battle-deck-art>img:first-child{height:130px;width:auto;border-radius:6px;box-shadow:0 8px 18px #0005}.battle-deck-art .battle-type-icon{position:absolute;width:30px;height:30px;bottom:14px;right:16px}.battle-deck-tile>div{padding:16px}.battle-deck-tile h3{font-size:16px;margin:0 0 12px}.battle-deck-tile dl{margin:0;display:grid;grid-gap:5px;gap:5px;font-size:11px}.battle-deck-tile dl>div{display:flex;justify-content:space-between;gap:10px}.battle-deck-tile dt{color:#a39aad}.battle-deck-tile dd{margin:0}.battle-deck-tile p{font-size:11px;margin:12px 0}.battle-deck-tile .battle-deck-ready{color:#9bdfb7}.battle-deck-blocked{color:#ddbb8d!important}.battle-deck-links{display:flex;gap:14px;align-items:center;font-size:12px;flex-wrap:wrap}.battle-deck-links button{background:transparent;border:0;color:#c8b4ff;padding:0;text-decoration:underline;cursor:pointer}.battle-preparation{position:relative;text-align:center;padding-top:45px}.battle-preparation>.battle-eyebrow{display:block;margin-top:25px}.battle-preparation h1{margin-left:auto;margin-right:auto}.battle-preparation .battle-deck-carousel{text-align:left}.battle-preparation .battle-invite{justify-content:center;max-width:480px;margin:25px auto}.battle-preparation-seats{display:grid;grid-template-columns:1fr 1fr;grid-gap:24px;gap:24px;margin:35px auto;max-width:750px}.battle-preparation-seats section{border:1px solid #a890de33;padding:25px;border-radius:18px;background:#231d31}.battle-player-avatar{width:48px;height:48px;margin:auto;display:grid;place-items:center;border-radius:50%;background:#70539e;font-size:24px}.battle-seat-cover{height:130px;border-radius:5px}.battle-hub-hint{font-size:11px}.battle-copy-fallback{display:grid;grid-gap:10px;gap:10px;max-width:550px;margin:auto;font-size:12px}.battle-versus{position:relative;display:grid;place-content:center;min-height:75vh;text-align:center;background:radial-gradient(ellipse,#6e42a338,transparent)}.battle-versus>div{display:flex;gap:130px;margin-top:40px}.battle-versus section>img{height:190px;box-shadow:0 15px 40px #0005;border-radius:8px}.battle-versus section b{color:#98e1b3;font-size:25px}.battle-versus-mark{position:absolute;top:45%;left:50%;transform:translateX(-50%);font-size:60px;color:#b597f6}.battle-versus section{animation:battle-ready-entry .4s ease-out}@keyframes battle-ready-entry{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}.battle-unsupported>img{filter:grayscale(1);opacity:.5}.battle-unsupported .flag{font-size:9px;white-space:normal;max-width:100%}.battle-admin-grid{display:grid;grid-gap:12px;gap:12px}.battle-admin-grid details{border:1px solid #a890de33;border-radius:10px;padding:15px;background:#1e1a2a}.battle-admin-grid summary{cursor:pointer;font-size:14px}.battle-admin-grid pre{white-space:pre-wrap;font-size:11px;word-break:break-word}.battle-admin-card{display:flex;gap:20px;padding:15px;border:1px solid #a890de33;border-radius:12px}.battle-admin-card img{width:80px;object-fit:contain;align-self:start}.battle-admin-card p{font-size:12px}.battle-admin-card code{font-size:11px;word-break:break-word}.builder-card-inspector{position:fixed;inset:0;background:#05040ce0;z-index:250;display:grid;place-items:center;padding:20px}.builder-card-inspector section{position:relative;max-width:360px;text-align:center}.builder-card-inspector img{max-height:70vh;width:auto;max-width:100%;border-radius:12px}.builder-card-inspector button{position:absolute;right:-10px;top:-12px;z-index:1}.builder-card-inspector p{font-size:12px}.battle-player-avatar>img{width:100%;height:100%;object-fit:cover;border-radius:50%}.battle-seat-type{width:22px;height:22px;vertical-align:middle;margin-right:6px}.battle-admin-shell:has(.battle-app)>:is(nav,h1,p){display:none}.battle-admin-shell:has(.battle-app){max-width:none;padding:0}@media(max-width:680px){.battle-hub-nav{width:100%;justify-content:space-between;gap:0;margin-bottom:20px}.battle-hub-nav a,.battle-hub-nav button{padding:11px 13px;font-size:13px}.battle-hub{padding:8px 2px 30px}.battle-hub-hero{grid-template-columns:1fr;min-height:auto;padding:10px 0 20px}.battle-hero-cards{padding:20px 0 15px}.battle-hero-cards img{width:90px}.battle-hub h1{letter-spacing:-1px}.battle-start-grid{grid-template-columns:1fr}.battle-start-grid>section{padding:20px}.battle-deck-carousel>button{flex-basis:225px}.battle-match-list article{padding:14px;flex-wrap:wrap}.battle-match-types{width:100%;justify-content:flex-end}.battle-preparation-seats{gap:10px}.battle-preparation-seats section{padding:15px 8px}.battle-preparation-seats h2{font-size:16px}.battle-preparation-seats h3{font-size:13px}.battle-versus>div{gap:55px}.battle-versus section>img{height:120px}.battle-versus-mark{font-size:30px}.battle-versus h2{font-size:16px}.battle-directory-filters>*{max-width:100%}.battle-admin-card{gap:10px}.battle-deck-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}}@media(prefers-reduced-motion:reduce){.battle-versus section{animation:none}.battle-deck-carousel>button{transition:none}}.battle-room-settings{display:grid;grid-gap:12px;gap:12px;margin:20px 0}.battle-room-settings label{font-size:14px;display:block}.battle-room-settings small{display:block;font-size:11px;color:#aaa1ba;margin-left:26px}.battle-room-settings input{accent-color:#aa83ef;margin-right:8px;min-width:0!important;width:auto!important}.battle-observer-toolbar{position:relative;z-index:40;display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:10px 14px;background:#191321;color:#e4dbf0;border-bottom:1px solid #a890de33;font-size:12px}.battle-observer-toolbar strong{flex:1 1;min-width:140px}.battle-observer-toolbar input[type=range]{width:clamp(90px,20vw,230px)}.battle-observer-toolbar button,.battle-observer-toolbar select{background:#30223f;border:1px solid #a890de44;border-radius:8px;color:inherit;padding:7px;cursor:pointer}.battle-observer-toolbar button:disabled{opacity:.4}.battle-hand>.battle-mini-back{display:block;flex:0 0 45px;height:64px;margin:10px 2px;border-radius:5px;background:linear-gradient(140deg,#4e2b8a,#161d54);border:2px solid #7960aa}.battle-entry button{background:transparent;color:#f0f0f3;border:1px solid #ffffff30;box-shadow:none;filter:none;font-weight:550;transition:background .18s,border-color .18s,transform .18s}.battle-entry button:hover{background:#ffffff08;border-color:#ffffff80;box-shadow:none;filter:none}.battle-entry :is(button,a):focus-visible{outline:2px solid #ffffffaa;outline-offset:4px;box-shadow:none}.battle-entry a{color:#ededf2}.battle-entry{max-width:1280px;min-height:75svh;padding:18px 16px 48px}.battle-entry-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.battle-entry-top .battle-hub-nav{margin:0;background:transparent;border:0;padding:0;gap:4px}.battle-entry-top .battle-hub-nav :is(button,a){padding:10px 18px;font-size:13px}.battle-entry-top .battle-hub-nav [aria-current=page]{background:#ffffff0a;box-shadow:none}.battle-entry-tools{display:flex;gap:12px;align-items:center;margin-left:auto}.battle-entry-tools button{cursor:pointer;border:1px solid #ffffff20;background:#ffffff07;color:#e9e7f0;border-radius:12px;min-height:44px}.battle-history-button{font-size:27px;width:44px;line-height:1}.battle-live-button{display:flex;align-items:center;gap:9px;padding:10px 15px;font-size:14px;font-weight:750}.battle-live-button i{width:8px;height:8px;background:#fff;border-radius:50%;box-shadow:0 0 8px #ffffff50;animation:battle-live-pulse 1.8s ease-in-out infinite}.battle-live-button small{color:#8e9b9b;font-size:11px}@keyframes battle-live-pulse{50%{opacity:.35}}.battle-entry-main{min-height:560px;display:flex;flex-direction:column;justify-content:center;padding:35px 0}.battle-deck-source{display:flex;justify-content:center;align-items:center;gap:24px;margin-bottom:8px}.battle-deck-source button{background:transparent;border:0;border-bottom:2px solid transparent;color:#8f8c9e;padding:10px 2px;font-size:12px;cursor:pointer}.battle-deck-source button[aria-pressed=true]{border-color:#ffffffb0;color:#effaf3;font-weight:700}.battle-cover-carousel{gap:22px;padding:58px 22px 36px;min-height:340px;scroll-padding:22px;overscroll-behavior-x:contain;scrollbar-width:none;-ms-overflow-style:none;align-items:center;isolation:isolate}.battle-cover-carousel>button{position:relative;display:flex;flex-direction:column;align-items:center;flex:0 0 156px;gap:12px;background:transparent;border:0;border-radius:0;padding:0;text-align:center;scroll-snap-align:center;transform-origin:50% 65%;box-shadow:none}.battle-cover-carousel>button.selected{background:transparent;border:0;box-shadow:none}.battle-cover-carousel>button:focus-visible,.battle-cover-carousel>button:hover{transform:translateY(-14px) scale(1.12);z-index:3;background:transparent}.battle-cover-carousel .battle-cover-frame{position:relative;display:block;width:100%;aspect-ratio:245/342;border-radius:10px;box-shadow:0 14px 28px #0006;outline:2px solid transparent;outline-offset:4px;transition:outline-color .2s,box-shadow .2s}.battle-cover-carousel .battle-carousel-cover{display:block;width:100%;height:100%;object-fit:cover;border-radius:10px}.battle-cover-carousel>button.selected .battle-cover-frame{outline-color:#55e69b;box-shadow:0 0 25px #55e69b20,0 16px 32px #0006}.battle-cover-carousel>button strong{font-size:11px;font-weight:550;line-height:1.4;color:#bcb8cc;max-width:100%;white-space:normal}.battle-cover-carousel .battle-cover-check{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:5px;padding:5px 8px;border-radius:30px;background:#0b2b20ed;color:#a3ffcd;font-size:9px;white-space:nowrap;box-shadow:0 3px 10px #0004}.battle-cover-check b{width:15px;height:15px;display:grid;place-items:center;background:#55e69b;color:#123727;border-radius:50%;font-size:10px}.battle-cover-placeholder{height:100%;display:grid!important;place-items:center;background:linear-gradient(150deg,#373050,#141b30);color:#aa91ea;letter-spacing:5px}.battle-entry-play{text-align:center;margin-top:22px}.battle-entry .battle-primary{background:transparent!important;color:#f5f5f7!important;border:1px solid #ffffff80!important;border-radius:14px;font-size:18px;font-weight:650!important;padding:17px 42px;box-shadow:none;transition:background .18s,transform .18s;min-height:58px}.battle-entry .battle-primary:hover:not(:disabled){background:#ffffff0b!important;transform:translateY(-2px)}.battle-entry-play .battle-primary{min-width:260px}.battle-entry-empty{text-align:center;font-size:13px;padding:12px}.battle-entry-back{align-self:flex-start;background:transparent;border:0;padding:12px 0;color:#aaa6b9;cursor:pointer;font-size:13px;margin-bottom:24px}.battle-entry-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:24px;gap:24px;width:min(100%,820px);margin:20px auto 70px}.battle-entry-actions>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;min-height:240px;border:1px solid #ffffff40;border-radius:24px;background:transparent;color:#f0f4f1;font-size:clamp(20px,2vw,27px);font-weight:700;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}.battle-entry-actions>button span{font-size:34px;color:#eee;font-weight:400}.battle-entry-actions>button:hover{border-color:#ffffffa0;background:#ffffff05;transform:translateY(-4px)}.battle-entry-create{width:min(100%,470px);margin:0 auto 60px;text-align:center}.battle-entry-create h1,.battle-entry-list h1{font-size:30px;letter-spacing:-1px;margin:0 0 28px}.battle-entry-create .battle-room-settings{display:flex;justify-content:center;flex-wrap:wrap;gap:28px;margin:40px 0}.battle-entry-create label{display:flex;align-items:center;gap:9px;cursor:pointer}.battle-entry-create input{width:22px!important;height:22px;accent-color:#fff;margin:0}.battle-entry-create .battle-primary{width:100%;font-size:16px}.battle-entry-list{width:min(100%,850px);margin:25px auto 45px}.battle-entry .battle-match-list{background:transparent;border:0;border-radius:0}.battle-entry .battle-match-list:empty{display:none}.battle-entry .battle-match-list article{padding:23px 5px;align-items:center;border-bottom:1px solid #ffffff14}.battle-entry .battle-match-list strong{font-size:15px;font-weight:600}.battle-entry .battle-match-list :is(a,button){text-decoration:none;color:#eee;background:transparent;border:1px solid #ffffff40;border-radius:10px;padding:10px 16px;font-size:12px;white-space:nowrap}.battle-entry-invite{display:flex;gap:10px;border-top:1px solid #ffffff14;margin-top:40px;padding-top:24px}.battle-entry-invite input{flex:1 1}.battle-entry-invite .battle-primary{font-size:14px;min-height:48px;padding:12px 24px}.battle-entry-panel-backdrop{position:fixed;inset:0;background:#080b1555;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:140;display:flex;justify-content:flex-end}.battle-entry-panel{width:min(480px,100%);height:100%;overflow-y:auto;overscroll-behavior:contain;background:#171927f5;border-left:1px solid #ffffff18;padding:28px;box-shadow:-20px 0 60px #0003;animation:battle-entry-slide .24s ease-out}.battle-entry-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.battle-entry-panel>header h2{font-size:19px;margin:0}.battle-entry-panel>header button{width:44px;height:44px;border:1px solid #ffffff20;border-radius:12px;background:transparent;color:#fff;font-size:25px;cursor:pointer}.battle-entry-panel .battle-match-list article{flex-wrap:wrap;gap:15px}.battle-entry-panel .battle-match-types{flex-wrap:wrap;justify-content:flex-end;width:100%}@keyframes battle-entry-slide{0%{opacity:0;transform:translateX(30px)}to{opacity:1;transform:none}}.battle-preparation .battle-cover-carousel{padding-top:45px}@media(min-width:1100px){.battle-cover-carousel{gap:26px;min-height:380px}.battle-cover-carousel>button{flex-basis:174px}}@media(max-width:680px){.battle-entry{padding:10px 4px 28px}.battle-entry-top{gap:12px}.battle-entry-top .battle-hub-nav{width:auto;flex:1 1;justify-content:flex-start;gap:0}.battle-entry-top .battle-hub-nav :is(a,button){padding:10px 11px;font-size:12px}.battle-entry-tools{gap:8px}.battle-history-button{width:40px}.battle-live-button{padding:8px 10px;font-size:12px}.battle-entry-main{min-height:65svh;padding:24px 0}.battle-cover-carousel{gap:19px;padding:46px 15px 26px;min-height:310px}.battle-cover-carousel>button{flex-basis:137px}.battle-cover-carousel>button:hover{transform:none}.battle-cover-carousel>button:focus-visible{transform:translateY(-6px) scale(1.04)}.battle-deck-source{gap:28px}.battle-entry-play{margin-top:28px}.battle-entry-play .battle-primary{width:min(85%,330px)}.battle-entry-actions{grid-template-columns:1fr;gap:16px;margin:0 auto 20px}.battle-entry-actions>button{min-height:155px;gap:12px}.battle-entry-list{margin:0 auto 25px;padding:0 8px}.battle-entry .battle-match-list article{padding:18px 0}.battle-entry .battle-match-types{width:auto}.battle-entry-create{padding:0 12px}.battle-entry-panel{padding:22px 18px}.battle-entry-panel .battle-match-types{width:100%}.battle-entry-invite .battle-primary{padding:10px 16px}}@media(prefers-reduced-motion:reduce){.battle-entry-panel,.battle-live-button i{animation:none}.battle-cover-carousel>button,.battle-entry .battle-primary,.battle-entry-actions>button{transition:none}}.battle-entry .battle-replay-more{display:block;margin:24px auto;background:transparent;border:1px solid #ffffff40;border-radius:10px;color:#eee;padding:12px 24px;cursor:pointer}.battle-cover-carousel{position:relative}.battle-cover-carousel>button{transform:translateY(var(--deck-arc,0)) rotate(var(--deck-tilt,0deg));transition:transform .24s cubic-bezier(.2,.75,.25,1)}@media(hover:hover) and (pointer:fine){.battle-cover-carousel{scroll-snap-type:none}.battle-cover-carousel>button:focus-visible,.battle-cover-carousel>button:hover{transform:translateY(-20px) rotate(0deg) scale(1.12)}}@media(hover:none){.battle-cover-carousel>button:hover{transform:translateY(var(--deck-arc,0)) rotate(var(--deck-tilt,0deg))}}.battle-cover-carousel::-webkit-scrollbar{display:none;width:0;height:0}.battle-entry button.battle-resume-match{display:flex;flex-direction:column;align-items:center;gap:5px;width:min(560px,100%);margin:16px auto 22px;padding:16px 22px;border:1px solid #ffffff90;border-radius:14px;background:#ffffff06;color:#f4f6ff;box-shadow:0 0 16px #ffffff08;cursor:pointer;transition:background .18s,border-color .18s}.battle-resume-match strong{font-size:16px}.battle-resume-match span{font-size:12px;color:#bfc8da}.battle-entry button.battle-resume-match:hover{background:#ffffff12;border-color:#fff}.battle-entry button.battle-resume-match:disabled{opacity:.5;cursor:wait}.battle-builder-panel{padding-top:8px}.battle-builder-status{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;font-size:12px}.battle-builder-status p{margin:0}.battle-builder-status label{display:flex;align-items:center;gap:6px}.battle-builder-editor .panel{background:#ffffff03;border-color:#ffffff22;border-radius:12px;box-shadow:none}.battle-builder-editor .builder-head{margin-top:0}.battle-builder-editor button{box-shadow:none}.battle-builder-editor :is(button,input,select):focus-visible{outline-color:#fff}.battle-builder-panel :is(input,select){border-color:#ffffff33!important}.battle-builder-panel .battle-builder-status~.builder-head{padding:16px}@media(max-width:650px){.battle-builder-status{align-items:flex-start;flex-direction:column;gap:5px}}.builder-page-jump{display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap}.builder-page-jump input{width:60px!important;min-width:0!important;padding:6px!important;text-align:center}.battle-entry{color:#edf0f3}.battle-entry-top{border-bottom:1px solid #ffffff20;padding-bottom:12px}.battle-entry-top .battle-hub-nav{gap:6px;flex-wrap:wrap}.battle-entry-top .battle-hub-nav :is(button,a){border:0;border-radius:4px;padding:10px 15px;background:transparent;color:#aeb8c5;min-height:42px;font-weight:600}.battle-entry-top .battle-hub-nav [aria-current=page]{background:#ffffff0c;color:#fff;box-shadow:inset 0 -2px #e5edf5}.battle-entry-top .battle-hub-nav :is(button,a):hover{background:#ffffff09;color:#fff}.battle-entry :is(button,a){-webkit-tap-highlight-color:transparent}.battle-entry .battle-match-list :is(a,button),.battle-entry .battle-primary,.battle-entry-tools button{border-radius:6px}.battle-entry .battle-primary{padding:14px 38px;min-height:52px;font-size:17px}.battle-entry-actions{gap:16px}.battle-entry-actions>button{border-radius:8px;min-height:180px;font-size:23px;font-weight:550;gap:12px;border-color:#ffffff30}.battle-entry-actions>button:hover{transform:translateY(-2px)}.battle-entry-panel-backdrop{background:#080b1577;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.battle-entry-panel{background:#111822;border-color:#ffffff25;box-shadow:-8px 0 24px #0003;padding:24px}.battle-entry-panel>header button{border-radius:5px}.battle-entry .battle-match-list article{padding:16px 5px}.battle-entry .battle-match-list strong{font-size:14px}.battle-cover-carousel .battle-cover-frame{box-shadow:0 5px 12px #0005}.battle-cover-carousel .battle-cover-frame>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:8px}.battle-entry button.battle-resume-match{border-radius:7px;box-shadow:none;padding:12px 18px}.battle-browser-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:28px 0 20px}.battle-browser-heading h1{font-size:25px;margin:0}.battle-loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:55svh;color:#c5ced8;font-size:15px}.battle-loading>span{width:16px;height:16px;border:2px solid #ffffff30;border-top-color:#fff;border-radius:50%;animation:battle-loading-spin .7s linear infinite}@keyframes battle-loading-spin{to{transform:rotate(1turn)}}.battle-preparation-seats section{background:#ffffff03;border:1px solid #ffffff20;border-radius:8px;box-shadow:none}.battle-preparation .battle-primary{border-radius:7px;background:#e6edf5;color:#101820}@media(max-width:680px){.battle-entry-top{gap:8px}.battle-entry-top .battle-hub-nav :is(button,a){padding:10px;font-size:12px}.battle-entry-actions>button{min-height:138px;font-size:21px}.battle-entry-panel{padding:20px 16px}.battle-entry-main{padding:20px 0}.battle-entry-tools{gap:6px}.battle-entry-panel-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}}@media(prefers-reduced-motion:reduce){.battle-loading>span{animation:none}}@media(max-width:680px){.battle-entry-top{display:grid;grid-template-columns:minmax(0,1fr) auto}.battle-entry-top .battle-hub-nav{grid-column:1/-1;display:flex;flex-wrap:nowrap;justify-content:flex-start;width:100%;min-width:0;gap:0;margin:0}.battle-entry-top .battle-hub-nav :is(button,a){padding:10px 11px;white-space:nowrap}.battle-entry-tools{grid-column:2;justify-self:end}}