*{box-sizing:border-box} :root{--ink:#180e2a;--bg:#221537;--panel:#302047;--cream:#fff5df;--muted:#b8a8c9;--gold:#ffd567;--orange:#ff8a45;--cyan:#67e0e1;--line:#574166;font-family:'Fredoka',sans-serif;color:var(--cream);background:var(--bg)}body{margin:0;min-height:100dvh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 18% 35%,#55305366,transparent 50%),radial-gradient(ellipse at 88% 50%,#244e6555,transparent 50%),#221537}button,input{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;filter:saturate(.3);opacity:.52}button:focus-visible,input:focus-visible{outline:3px solid var(--gold);outline-offset:4px}button svg{width:22px;height:22px;vertical-align:middle}button{transition:transform .14s,background .14s,box-shadow .14s}button:active:not(:disabled){transform:translateY(3px)}button[hidden]{display:none}.world-glow{position:fixed;pointer-events:none;inset:0;background-image:radial-gradient(#cfb4d917 1px,transparent 1px);background-size:9px 9px;mask-image:linear-gradient(transparent,#000 35%,transparent);z-index:-1}.topbar{height:84px;flex:none;border-bottom:1px solid #ffffff13;display:flex;align-items:center;gap:24px;padding:0 4.5%;background:#211432db}.brand{border:0;background:none;display:flex;align-items:center;gap:8px;padding:0;text-align:left}.brand img{height:62px;width:60px;object-fit:contain;transform:scaleX(-1)}.brand span{font-family:'Bangers',cursive;font-size:24px;letter-spacing:1px;line-height:.84;transform:rotate(-4deg);text-shadow:2px 3px var(--ink)}.brand em{font-style:normal;display:block;color:var(--gold);font-size:32px}.brand-caption{font-size:10px;font-weight:500;letter-spacing:2px;color:#b49cc9;margin-left:8px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:9px}.icon-button{border:1px solid #665073;background:#332344;width:43px;height:43px;border-radius:12px;box-shadow:0 3px #180f25;display:grid;place-items:center}.icon-button:hover{background:#4d345e}.connection{font-size:11px;color:#bfafd1;margin-right:12px}.connection:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#efaa69;margin-right:6px}.connection.live:before{background:#8ddeaf}.connection.off{color:#ffd567}main{position:relative;flex:1;width:100%;max-width:1500px;margin:0 auto;padding:23px 4% 22px}.footer{padding:14px 4.5%;font-size:11px;color:#bba5cf;border-top:1px solid #ffffff12;display:flex;justify-content:space-between;gap:12px}.footer-star{color:var(--gold);padding:0 8px}h1,h2,h3,p{margin:0}.comic{font-family:'Bangers',cursive;letter-spacing:1.3px;font-weight:400}.eyebrow{font-size:11px;letter-spacing:2.2px;color:var(--gold);text-transform:uppercase;font-weight:600}.selection-head{text-align:center;margin-bottom:20px;position:relative}.selection-head .eyebrow{display:inline-flex;gap:7px;align-items:center}.selection-head h1{font-size:clamp(30px,4vw,56px);line-height:1.05;margin:10px 0 8px;text-shadow:3px 4px #130a25}.selection-head h1 span{color:var(--gold)}.selection-head p{color:#c3afd5;font-size:14px}.mode-switch{display:inline-flex;background:#170f29;border:1px solid #59416b;border-radius:12px;padding:4px;gap:4px}.mode-switch button{border:0;border-radius:8px;background:transparent;color:#bea8d1;padding:9px 14px;font-weight:500;font-size:12px;display:flex;gap:7px;align-items:center}.mode-switch svg{height:17px;width:17px}.mode-switch button.active{background:#7955a1;color:white;box-shadow:0 2px 6px #08021477}.selection-duel{display:grid;grid-template-columns:1fr 1.72fr 1fr;gap:22px;align-items:center;position:relative}.trainer-preview{position:relative;text-align:center;padding:17px 15px 16px;border:2px solid #755d7488;border-radius:23px;background:linear-gradient(160deg,#52304180,#30203c50);min-width:0;transition:.2s}.trainer-preview.right{background:linear-gradient(210deg,#23526777,#30203c50)}.trainer-preview.selected{border-color:var(--orange);box-shadow:0 0 0 4px #ff94591a,0 12px 40px #11081755}.trainer-preview.right.selected{border-color:var(--cyan);box-shadow:0 0 0 4px #67e0e11a,0 12px 40px #11081755}.trainer-label{display:flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:12px;color:var(--orange);text-transform:uppercase;letter-spacing:1.6px}.right .trainer-label{color:var(--cyan)}.player-pill{color:var(--ink);background:var(--orange);border-radius:6px;padding:4px 6px;letter-spacing:0;font-size:10px}.right .player-pill{background:var(--cyan)}.preview-art{height:clamp(155px,21vw,274px);position:relative;display:flex;align-items:flex-end;justify-content:center;margin-top:3px}.preview-art:before{content:'';position:absolute;bottom:1%;width:90%;height:20%;border-radius:50%;background:radial-gradient(ellipse,#f5916444 0%,#301b3f 64%);border:2px solid #df8c5950;box-shadow:0 8px #160f2877,0 11px #1d122e66}.right .preview-art:before{background:radial-gradient(ellipse,#52d4e844,#1c253d 64%);border-color:#75e4e54d}.preview-art img{height:100%;width:100%;object-fit:contain;position:relative;filter:drop-shadow(0 9px 10px #10041b77);animation:float 4s ease-in-out infinite}.trainer-preview:not(.right) .preview-art img{scale:-1 1}.right .preview-art img{animation-delay:-2s}.dragon-name{font-size:36px;margin:12px 0 0;text-shadow:2px 3px #160f2a}.dragon-type{font-size:11px;text-transform:uppercase;letter-spacing:1.8px;color:#d3b6cc;margin-top:4px}.evo-dots{display:flex;justify-content:center;gap:7px;align-items:center;margin:12px 0;color:#bba4c9;font-size:10px}.evo-dots b{width:7px;height:7px;background:#674f72;border-radius:50%;display:block}.evo-dots b.on{background:var(--gold);box-shadow:0 0 8px #ffc85c50}.evo-dots span{margin-left:5px}.pick-side{border:1px solid #a3716f66;background:#ffffff08;border-radius:9px;padding:8px 12px;color:var(--orange);font-size:11px;font-weight:600;width:100%}.right .pick-side{color:var(--cyan);border-color:#63bfc766}.pick-side:hover{background:#ffffff11}.roster-area{min-width:0;text-align:center}.roster-area>.mode-switch{margin:0 auto 21px}.roster-title{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1px;color:#b9a2d1;margin-bottom:12px}.roster-title strong{color:var(--orange);font-weight:500}.roster-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.dragon-tile{position:relative;background:linear-gradient(140deg,#554164,#362747);border:2px solid #725582;border-bottom-width:4px;border-radius:12px;padding:0;overflow:visible;min-width:0;aspect-ratio:1.07;box-shadow:0 3px #120b20;text-align:center}.dragon-tile:hover{transform:translateY(-4px);background:#694976;border-color:#ceaddb}.dragon-tile img{width:92%;height:79%;object-fit:contain;display:block;margin:0 auto;filter:drop-shadow(0 3px 3px #15082377)}.dragon-tile .tile-name{display:block;font-size:10px;line-height:1;font-weight:500;letter-spacing:.25px;color:#e9d9f4;position:absolute;bottom:7px;left:0;right:0}.dragon-tile.p1{border-color:var(--orange);background:#744a46}.dragon-tile.p2{border-color:var(--cyan);background:#305761}.tile-badge{position:absolute;z-index:2;top:-5px;left:-5px;min-width:23px;padding:4px 3px;border-radius:5px;background:var(--orange);color:#251329;font-size:9px;font-weight:700;box-shadow:0 2px #160e2a}.tile-badge.two{background:var(--cyan);left:auto;right:-5px}.random-tile{background:#2f2241;border-style:dashed;border-bottom-width:2px;color:#a791c2}.random-tile strong{font-family:'Bangers';font-size:45px;line-height:1}.roster-foot{color:#ae97bf;font-size:10px;margin-top:12px}.setup-bottom{display:flex;flex-direction:column;align-items:center;margin-top:24px;gap:13px}.primary-button{display:flex;align-items:center;justify-content:center;gap:13px;border:2px solid #1a0e29;border-radius:13px;background:linear-gradient(#ffe18b,#ffc34e);color:#39203e;box-shadow:0 5px #956135,0 8px #160d26;font-family:'Bangers';font-size:28px;letter-spacing:1.5px;padding:15px 45px;min-width:280px}.primary-button:hover{background:#ffe8a7;transform:translateY(-2px);box-shadow:0 7px #956135,0 10px #160d26}.primary-button svg{width:24px;height:24px}.meal-summary{display:flex;align-items:center;gap:15px;color:#c2aecf;font-size:11px}.meal-summary span{display:flex;gap:5px;align-items:center}.meal-summary svg{width:14px;height:14px;color:#c0a3d7}.instruction-strip{display:flex;justify-content:center;gap:27px;margin-top:22px;font-size:12px;color:#d7c4e6}.instruction-strip span{display:flex;align-items:center;gap:9px}.instruction-strip b{display:grid;place-items:center;width:21px;height:21px;border:1px solid #72578a;border-radius:50%;font-size:10px;color:var(--gold);background:#342144}.instruction-strip i{font-style:normal;color:#79598f}.battle-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;height:42px}.round-tag{display:flex;gap:10px;align-items:center}.round-tag .comic{font-size:25px}.round-tag small{color:var(--muted);font-size:11px}.round-clock{display:flex;gap:7px;align-items:center;color:#d4bddf;font-size:12px}.round-clock strong{font-size:20px;color:var(--cream);font-variant-numeric:tabular-nums}.round-clock svg{width:18px;height:18px}.arena-name{letter-spacing:2px;font-size:10px;color:#b59bc7}.battle-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;position:relative;min-height:520px;height:calc(100dvh - 218px);max-height:800px}.battle-grid:before{content:'';position:absolute;left:50%;top:12%;height:76%;border-left:1px dashed #ba92d44f}.versus{position:absolute;z-index:2;left:50%;top:35%;transform:translate(-50%,-50%) rotate(-7deg);font-family:'Bangers';font-size:31px;color:var(--gold);text-shadow:3px 3px #251030;background:#2d1b41;border:2px solid #5a3c71;padding:9px 7px;border-radius:50%;pointer-events:none}.fighter-panel{--accent:var(--orange);display:flex;flex-direction:column;min-width:0;position:relative;border:1px solid #c8877140;border-radius:22px;background:radial-gradient(ellipse at 50% 40%,#7c39334a,transparent 72%),linear-gradient(#3f26475e,#2a1d3e77);padding:18px 22px 17px;overflow:hidden}.fighter-panel.right{--accent:var(--cyan);border-color:#64bcbd40;background:radial-gradient(ellipse at 50% 40%,#1e859c33,transparent 72%),linear-gradient(#2d365859,#25213d88)}.hud-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.hud-name{display:flex;align-items:center;gap:8px;min-width:0}.hud-name .comic{font-size:27px}.hud-name .player-pill{background:var(--accent);font-size:10px;white-space:nowrap}.score-stars{display:flex;gap:5px}.score-stars svg{width:19px;height:19px;stroke:#826581;fill:#30203c}.score-stars .won svg{fill:var(--gold);stroke:#ffe59b;filter:drop-shadow(0 0 4px #ffd86b66)}.meter-row{display:flex;align-items:center;gap:9px;margin-top:7px}.meter-row>svg{width:16px;height:16px;flex:none;color:#ff97a1}.meter-row.xp>svg{color:#c592ff}.meter-track{height:15px;border:2px solid #191028;border-radius:6px;background:#170e28;flex:1;overflow:hidden;box-shadow:0 1px #80637c55;position:relative}.meter-fill{height:100%;border-radius:3px;background:linear-gradient(#f9a0a2,#e96585);transition:width .4s;position:relative}.meter-fill:after{content:'';position:absolute;top:1px;left:0;right:0;height:3px;background:#ffffff38}.xp .meter-track{height:10px}.xp .meter-fill{background:linear-gradient(#d9b2ff,#a570ea)}.meter-row .meter-number{font-size:10px;width:45px;text-align:right;color:#e3cddd;font-variant-numeric:tabular-nums}.scene{position:relative;flex:1;min-height:140px;display:flex;align-items:flex-end;justify-content:center;overflow:visible;margin:0 14px}.scene:before{content:'';position:absolute;bottom:9%;width:85%;height:17%;border:2px solid #ffc48a44;background:radial-gradient(ellipse,#be8c6d55,#38263d 75%);border-radius:50%;box-shadow:0 8px #1a10277a,0 14px #1a112840}.right .scene:before{border-color:#75d2dc44;background:radial-gradient(ellipse,#5ca6b04a,#28273f 75%)}.scene img{position:absolute;bottom:8%;height:98%;max-height:350px;width:86%;object-fit:contain;filter:drop-shadow(0 7px 7px #11081799);animation:float 4s ease-in-out infinite}.fighter-panel.left .scene img{scale:-1 1}.right .scene img{animation-delay:-2s}.stage-tag{position:absolute;bottom:0;left:50%;transform:translateX(-50%);font-size:10px;background:#211430;border:1px solid #705777;border-radius:20px;padding:5px 11px;color:#d4b5e5;white-space:nowrap}.stage-tag b{color:var(--gold)}.battle-controls{margin-top:16px;flex:none;min-height:172px;position:relative}.munch-button{width:100%;height:163px;border:2px solid var(--accent);border-bottom-width:5px;border-radius:16px;background:linear-gradient(135deg,#9b534466,#6e383d55);box-shadow:0 4px #100a2180,inset 0 0 0 4px #ffcb8e08;display:flex;align-items:center;justify-content:center;gap:20px;position:relative;overflow:hidden}.right .munch-button{background:linear-gradient(135deg,#32798488,#25576b66)}.munch-button:hover:not(:disabled){background:#815046}.right .munch-button:hover:not(:disabled){background:#366b7b}.munch-button .timer-digits{font-family:'Bangers';font-size:76px;color:#ffe4bf;letter-spacing:2px;line-height:1;font-variant-numeric:tabular-nums}.right .timer-digits{color:#c7ffff}.timer-copy{text-align:left}.timer-copy strong{font-family:'Bangers';letter-spacing:1px;font-size:28px;display:block}.timer-copy span{font-size:11px;display:block;margin-top:7px;color:#efd9d5;max-width:160px}.timer-copy svg{margin-bottom:7px;color:var(--accent)}.munch-button.running{background:linear-gradient(135deg,#a65a4788,#72354566)}.munch-button.waiting{background:#423048;border-style:dashed}.munch-button.cpu{cursor:default;opacity:1;filter:none}.timer-progress{position:absolute;bottom:0;left:0;height:4px;width:0;background:var(--accent);opacity:.65;transition:width .25s linear}.encouragement{position:absolute;top:-15px;right:12px;background:var(--gold);color:#4a274a;font-family:'Bangers';font-size:17px;letter-spacing:.7px;padding:6px 12px;transform:rotate(5deg);box-shadow:3px 3px #170d26;border:2px solid #221133;z-index:3;animation:sticker-in .25s ease-out}.control-caption{font-size:10px;color:#c6afcf;text-align:center;margin-top:10px}.moves-heading{text-align:center;margin:0 0 10px;font-family:'Bangers';font-size:23px;letter-spacing:1px}.move-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.move{display:flex;flex-direction:column;align-items:center;justify-content:center;height:117px;border:2px solid #d5936c;border-bottom-width:5px;border-radius:13px;background:linear-gradient(#ba614b,#8a443c);box-shadow:0 4px #140c2280}.move.gem{background:linear-gradient(#875cc3,#613b91);border-color:#c59aee}.move.heal{background:linear-gradient(#458d74,#316553);border-color:#8bd4a8}.move:hover:not(:disabled){transform:translateY(-3px);filter:brightness(1.15)}.move svg{width:30px;height:30px;margin-bottom:6px}.move strong{font-family:'Bangers';font-size:24px;letter-spacing:1px}.move small{font-size:10px;margin-top:4px}.power-moves{display:flex;gap:8px;margin:7px 0}.power-moves button{flex:1;padding:9px 5px;border:1px solid #ffe398;border-bottom-width:3px;border-radius:10px;background:#78559b;color:#fff0c9;font-size:12px;font-weight:600}.power-moves svg{width:17px;height:17px}.power-ready .move{height:75px}.power-ready .move svg{width:20px;height:20px;margin-bottom:2px}.power-ready .move strong{font-size:19px}.power-ready .move small{font-size:9px}.incoming{position:absolute;inset:0;background:#24132ced;z-index:5;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:25px;backdrop-filter:blur(7px)}.incoming>.shield-alert{color:#ffc678;width:57px;height:57px;margin-bottom:18px}.incoming h2{font-family:'Bangers';font-size:38px;letter-spacing:1px;color:var(--gold)}.incoming p{font-size:13px;color:#dfc3e9;margin:9px 0 18px}.block-options{display:flex;gap:12px}.block-options button{border:2px solid #ffd981;border-radius:11px;background:#ffc965;color:#412b42;font-size:18px;padding:13px 27px;font-weight:600;box-shadow:0 4px #805232}.block-options button.no{background:#614369;color:#fff3e3;border-color:#b69ac4;box-shadow:0 4px #21132e}.incoming small{color:#bfa5ce;font-size:11px;margin-top:17px}.overlay{position:absolute;inset:0;z-index:8;display:flex;align-items:center;justify-content:center;background:#1b0e2bbd;backdrop-filter:blur(5px);border-radius:25px}.countdown-number{font-family:'Bangers';font-size:140px;line-height:1;color:var(--gold);text-shadow:5px 6px #1b1029;animation:sticker-in .2s}.countdown-inner{text-align:center}.countdown-inner p{font-family:'Bangers';font-size:25px;letter-spacing:2px;margin-top:16px}.result-card{max-width:530px;width:90%;padding:34px 30px;text-align:center;background:radial-gradient(ellipse at top,#654576,#302044);border:2px solid #e2b46f;border-radius:25px;box-shadow:0 12px 0 #160d24,0 0 80px #ffbb3822}.result-card h2{font-family:'Bangers';font-size:49px;color:var(--gold);letter-spacing:2px}.result-card p{color:#dec7eb;font-size:13px;margin:11px 0 20px}.result-card .winner-art{height:155px;max-width:90%;filter:drop-shadow(0 5px 9px #150720)}.result-card .primary-button{margin:15px auto 0;font-size:23px;min-width:0}.scoreline{display:flex;justify-content:center;gap:21px;align-items:center;font-size:21px;font-weight:600;margin:8px 0}.scoreline span{color:var(--muted);font-size:13px}.secondary-button{border:1px solid #8d6ca0;background:#3a284e;border-radius:10px;padding:11px 17px;font-size:13px;color:#ebd9f4}.result-card .secondary-button{margin-top:17px}dialog{color:var(--cream);background:#302044;border:2px solid #775488;border-radius:23px;max-width:540px;width:calc(100% - 30px);padding:0;max-height:90dvh;box-shadow:0 15px 70px #080310aa}dialog::backdrop{background:#10071bbd;backdrop-filter:blur(7px)}#modal-content{padding:26px}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modal-head h2{font-family:'Bangers';font-size:31px;color:var(--gold);letter-spacing:1px}.modal-head button{height:34px;width:34px;border-radius:9px;background:#463150;border:1px solid #765781;display:grid;place-items:center}.modal-intro{font-size:13px;line-height:1.5;color:#d4bfdc;margin-bottom:18px}.settings-form label{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:14px;margin:12px 0}.settings-form label small{display:block;font-size:10px;color:#b6a0c7;margin-top:4px}.input-unit{display:flex;align-items:center;gap:8px;font-size:11px;color:#c4a9d4}.settings-form input[type=number]{width:78px;background:#1d122e;border:1px solid #836398;color:#fff0db;padding:11px 9px;border-radius:9px;font-size:17px;font-weight:500}.settings-form input[type=checkbox]{width:21px;height:21px;accent-color:#ba89df}.settings-divider{border:0;border-top:1px solid #78588755;margin:19px 0}.settings-note{border:1px solid #a6804955;background:#c6a34c0e;color:#dfc699;font-size:11px;line-height:1.55;padding:12px 14px;border-radius:10px;margin:15px 0}.modal-actions{display:flex;gap:10px;margin-top:20px}.modal-actions .primary-button{min-width:0;flex:1;font-size:22px;padding:11px 14px}.modal-actions .secondary-button{flex:1}.help-step{display:flex;gap:14px;align-items:flex-start;margin:17px 0}.help-step>b{flex:none;background:#6c4984;color:#ffe0a0;font-family:'Bangers';font-size:22px;width:35px;height:35px;border-radius:10px;display:grid;place-items:center}.help-step h3{font-size:16px;margin-bottom:5px}.help-step p{font-size:12px;line-height:1.5;color:#c9afd9}.help-art{width:100%;height:130px;object-fit:cover;object-position:center 62%;border:1px solid #715885;border-radius:12px}.rotate-note{display:none}.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:15px}.loading h1{font-family:'Bangers';font-size:36px}.loading p{color:var(--muted)}.loading-ring{width:50px;height:50px;border:4px solid #573d6b;border-top-color:var(--gold);border-radius:50%;animation:spin 1s linear infinite}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);z-index:50;background:#fff0d3;color:#422349;padding:12px 20px;border-radius:12px;box-shadow:0 5px #15082499;font-size:13px;opacity:0;pointer-events:none;max-width:90vw;text-align:center;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}#effects{position:fixed;inset:0;pointer-events:none;z-index:20;overflow:hidden}.effect-label{position:absolute;font-family:'Bangers';font-size:43px;color:#ffe297;text-shadow:3px 3px #25112f;animation:rise 1.4s forwards;transform:translate(-50%,-50%) rotate(-9deg)}.effect-label.heal{color:#9af5bd}.effect-label.gem{color:#d8b0ff}.projectile{position:absolute;width:54px;height:54px;border-radius:50%;background:radial-gradient(circle at 65% 50%,#fff9c9 10%,#ffcb44 28%,#ff802b 52%,#ee4932 70%,transparent 75%);filter:drop-shadow(0 0 15px #ff8b3a);animation:fireball .65s ease-in both}.projectile.special{width:90px;height:90px;background:radial-gradient(#fff7cf,#ce9aff,#993ae3,transparent 74%);filter:drop-shadow(0 0 15px #ad71ff)}.drop-item{position:absolute;animation:drop-item 1s ease-in both;color:#c9a1ff;filter:drop-shadow(0 0 10px currentColor)}.drop-item svg{width:55px;height:55px;fill:#9974c5}.drop-item.heal{color:#a5efb5}.drop-item.heal svg{fill:#529b76}.scene.evolving:after{content:'';position:absolute;inset:0;border-radius:50%;background:radial-gradient(ellipse,#ffedb77a,transparent 66%);animation:evolution 1s forwards}.scene.hit{animation:shake .4s}.spectator-notice{background:#614276;text-align:center;padding:8px;font-size:12px;color:var(--gold);border-radius:8px;margin-bottom:10px}svg{width:20px;height:20px;flex-shrink:0}.selection-head .eyebrow svg{width:12px;height:12px}.reduced-motion *{animation:none!important;transition:none!important}@keyframes float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-7px) rotate(1deg)}}@keyframes sticker-in{from{opacity:0;scale:.6}to{opacity:1;scale:1}}@keyframes rise{0%{opacity:0;translate:0 15px;scale:.7}20%{opacity:1;scale:1.1}70%{opacity:1}100%{opacity:0;translate:0 -75px}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fireball{from{transform:translate(0,0) scale(.4)}to{transform:translate(var(--travel),10px) scale(1)}}@keyframes drop-item{from{transform:translate(-50%,-130px);opacity:0}30%{opacity:1}80%{transform:translate(-50%,0);opacity:1}100%{transform:translate(-50%,8px);opacity:0}}@keyframes evolution{0%{scale:.1;opacity:0}40%{scale:1;opacity:1}100%{scale:1.6;opacity:0}}@keyframes shake{20%{translate:-8px 0}40%{translate:7px 0}60%{translate:-4px 0}80%{translate:3px 0}}@media(min-width:1450px){.selection-duel{gap:35px}.roster-grid{gap:12px}.selection-head{margin-bottom:28px}.setup-bottom{margin-top:28px}}@media(max-width:1100px){.brand-caption{display:none}.selection-duel{gap:14px;grid-template-columns:1fr 1.7fr 1fr}.trainer-preview{padding:14px 9px}.roster-grid{gap:7px}.dragon-name{font-size:29px}.trainer-label{font-size:10px;letter-spacing:1px}.fighter-panel{padding:15px 17px}.battle-controls{min-height:157px}.munch-button{height:147px}.timer-digits{font-size:65px!important}.timer-copy strong{font-size:24px}.munch-button{gap:15px}.roster-area>.mode-switch{margin-bottom:17px}.mode-switch button{font-size:11px;padding:8px 10px}}@media(max-width:700px) and (orientation:portrait){.topbar{height:73px;padding:0 15px;gap:4px}.brand img{width:40px;height:50px}.brand span{font-size:19px}.brand em{font-size:26px}.top-actions{gap:6px}.icon-button{width:36px;height:38px;border-radius:10px}.connection{display:none}main{padding:20px 15px}.selection-head{margin-bottom:20px}.selection-head h1{font-size:38px}.selection-head p{font-size:12px}.selection-duel{grid-template-columns:1fr 1fr;gap:12px}.roster-area{grid-column:1/-1;grid-row:2}.trainer-preview{padding:12px 8px}.preview-art{height:160px}.dragon-name{font-size:28px;margin-top:4px}.dragon-type{font-size:9px}.evo-dots{margin:9px 0}.roster-grid{grid-template-columns:repeat(6,1fr);gap:6px}.dragon-tile{border-radius:8px;aspect-ratio:.77}.dragon-tile .tile-name{font-size:8px;bottom:5px}.dragon-tile img{height:80%;width:100%}.tile-badge{font-size:8px;min-width:18px;padding:3px}.random-tile strong{font-size:29px}.roster-area>.mode-switch{margin:6px auto 15px}.roster-title{font-size:9px}.setup-bottom{margin-top:21px}.instruction-strip{gap:10px;font-size:10px;margin-top:20px}.instruction-strip i{display:none}.instruction-strip span{gap:5px}.footer{font-size:9px;padding:14px 15px;justify-content:center;text-align:center}.footer>span:last-child{display:none}.arena-name{display:none}.battle-top{height:35px}.round-tag .comic{font-size:20px}.round-tag small{display:none}.round-clock strong{font-size:17px}.battle-grid{gap:10px;height:calc(100dvh - 195px);min-height:460px;max-height:720px}.fighter-panel{padding:10px 9px;border-radius:15px}.hud-title{align-items:flex-start}.hud-name{display:block}.hud-name .comic{font-size:22px;margin-top:4px}.hud-name .player-pill{font-size:8px;padding:3px 5px}.score-stars{gap:2px;margin-top:3px}.score-stars svg{width:13px;height:13px}.meter-row{gap:4px;margin-top:6px}.meter-row>svg{width:12px;height:12px}.meter-number{font-size:8px!important;width:31px!important}.meter-track{height:12px}.xp .meter-track{height:8px}.scene{margin:0;min-height:150px}.scene img{width:108%;max-height:230px}.stage-tag{font-size:8px;padding:5px 7px}.battle-controls{min-height:177px;margin-top:13px}.munch-button{flex-direction:column;gap:3px;height:167px;padding:9px 5px;border-radius:12px}.timer-digits{font-size:53px!important}.timer-copy{text-align:center}.timer-copy strong{font-size:21px}.timer-copy span{font-size:9px;margin-top:4px;max-width:130px}.timer-copy svg{display:none}.encouragement{font-size:12px;right:4px;top:-13px;padding:5px 7px}.control-caption{font-size:8px}.versus{font-size:20px;padding:7px 5px;top:37%}.move-grid{gap:5px}.move{height:121px;border-radius:9px;border-width:1px;border-bottom-width:3px}.move strong{font-size:16px}.move svg{width:23px;height:23px}.move small{font-size:8px}.moves-heading{font-size:18px}.power-moves{gap:4px}.power-moves button{font-size:10px;padding:7px 2px}.power-moves svg{display:none}.power-ready .move{height:85px}.power-ready .move strong{font-size:14px}.incoming{padding:12px 8px}.incoming h2{font-size:27px}.incoming p{font-size:11px}.block-options{flex-direction:column;gap:9px}.block-options button{padding:12px 22px;font-size:16px}.incoming small{font-size:9px}.rotate-note{display:block;text-align:center;font-size:10px;color:#cbb7d6;margin-bottom:9px}.result-card{padding:24px 17px}.result-card h2{font-size:38px}.result-card .winner-art{height:125px}.scoreline{gap:12px;font-size:18px}.scoreline span{font-size:11px}}@media(max-height:650px) and (orientation:landscape){.topbar{height:58px;padding:0 3%}.brand img{height:45px;width:43px}.brand span{font-size:18px}.brand em{font-size:25px}.brand-caption{display:none}.icon-button{height:35px;width:37px;border-radius:9px}.connection{font-size:10px}.top-actions{gap:7px}main{padding:10px 3% 12px}.footer{font-size:9px;padding:9px 3%}.selection-head{margin-bottom:8px}.selection-head h1{font-size:33px;margin:5px 0 3px}.selection-head .eyebrow{font-size:8px;letter-spacing:1.7px}.selection-head p{font-size:10px}.selection-duel{grid-template-columns:1fr 2fr 1fr;gap:17px}.trainer-preview{padding:10px 7px;border-radius:15px}.trainer-label{font-size:9px}.player-pill{font-size:8px;padding:3px 5px}.preview-art{height:135px;margin-top:0}.dragon-name{font-size:26px;margin-top:3px}.dragon-type{font-size:9px;margin-top:2px}.evo-dots{margin:7px 0;font-size:8px;gap:5px}.evo-dots b{width:5px;height:5px}.pick-side{padding:6px;font-size:9px}.roster-area>.mode-switch{margin-bottom:10px}.mode-switch button{padding:6px 10px;font-size:10px}.mode-switch svg{width:14px;height:14px}.roster-title{margin-bottom:7px;font-size:8px}.roster-grid{grid-template-columns:repeat(6,1fr);gap:6px}.dragon-tile{aspect-ratio:.85;border-radius:8px;border-bottom-width:3px}.dragon-tile .tile-name{font-size:8px;bottom:5px}.tile-badge{font-size:8px;padding:3px;min-width:17px}.roster-foot{font-size:9px;margin-top:9px}.random-tile strong{font-size:30px}.setup-bottom{margin-top:12px;gap:9px}.primary-button{padding:10px 32px;font-size:23px;min-width:245px;border-radius:10px}.meal-summary{font-size:9px}.instruction-strip{margin-top:13px;font-size:10px;gap:20px}.instruction-strip b{width:17px;height:17px;font-size:9px}.battle-top{height:28px;margin-bottom:7px}.round-tag .comic{font-size:21px}.round-tag small{font-size:9px}.round-clock{font-size:10px}.round-clock strong{font-size:17px}.arena-name{font-size:9px}.battle-grid{height:calc(100dvh - 142px);min-height:270px;max-height:none;gap:22px}.fighter-panel{padding:9px 15px 10px;border-radius:15px}.hud-title{margin-bottom:4px}.hud-name .comic{font-size:23px}.hud-name .player-pill{font-size:8px}.meter-row{margin-top:4px;gap:6px}.meter-track{height:10px}.xp .meter-track{height:7px}.meter-row>svg{width:12px;height:12px}.meter-row .meter-number{font-size:8px}.scene{min-height:79px;margin:0}.scene img{max-height:170px;height:112%;width:60%;bottom:4%}.scene:before{bottom:5%;height:16%;width:58%}.stage-tag{font-size:8px;padding:3px 8px;bottom:-1px}.battle-controls{min-height:88px;margin-top:9px}.munch-button{height:86px;gap:18px;border-radius:10px;border-bottom-width:4px}.timer-digits{font-size:51px!important}.timer-copy strong{font-size:22px}.timer-copy span{font-size:9px;margin-top:3px;max-width:200px}.timer-copy svg{display:none}.encouragement{font-size:12px;top:-11px;right:6px;padding:4px 7px}.control-caption{font-size:8px;margin-top:5px}.moves-heading{font-size:17px;margin-bottom:5px}.move-grid{gap:9px}.move{height:66px;border-radius:9px;border-bottom-width:3px;display:grid;grid-template-columns:26px auto;grid-template-rows:1fr 1fr;padding:10px;column-gap:6px}.move svg{width:26px;height:26px;grid-row:1/3;margin:0}.move strong{font-size:21px;text-align:left}.move small{font-size:8px;margin:0;text-align:left}.power-moves{margin:4px 0;gap:6px}.power-moves button{padding:5px;font-size:10px}.power-ready .move{height:41px;padding:5px;display:flex;flex-direction:row;gap:5px}.power-ready .move svg{width:17px;height:17px}.power-ready .move strong{font-size:17px}.power-ready .move small{display:none}.power-ready .moves-heading{display:none}.versus{font-size:22px;padding:7px 6px;top:43%}.incoming>.shield-alert{width:30px;height:30px;margin-bottom:7px}.incoming h2{font-size:29px}.incoming p{font-size:11px;margin:6px 0 12px}.block-options button{padding:9px 22px;font-size:15px}.incoming small{font-size:9px;margin-top:12px}.result-card{padding:18px 25px;max-width:460px}.result-card .winner-art{height:85px}.result-card h2{font-size:33px}.result-card p{font-size:11px;margin:6px 0 10px}.result-card .primary-button{font-size:20px;padding:9px 20px;margin-top:10px}.result-card .secondary-button{padding:7px 15px;font-size:11px;margin-top:12px}.scoreline{font-size:18px;margin:4px 0}.countdown-number{font-size:90px}.countdown-inner p{font-size:21px;margin-top:10px}#modal-content{padding:20px}.modal-head h2{font-size:26px}.modal-intro{font-size:11px}}@media(max-height:420px) and (orientation:landscape){.selection-head p,.instruction-strip,.roster-foot{display:none}.selection-head .eyebrow{display:none}.selection-head h1{font-size:29px;margin:0 0 4px}.preview-art{height:105px}.trainer-preview{padding:7px}.evo-dots{margin:5px 0}.dragon-name{font-size:22px}.roster-area>.mode-switch{margin-bottom:8px}.setup-bottom{margin-top:8px;gap:7px}.primary-button{padding:8px 25px;font-size:22px}.footer{padding:7px 3%}.scene img{height:110%;max-height:124px}.battle-grid{min-height:232px;height:calc(100dvh - 138px)}.battle-controls{min-height:75px;margin-top:7px}.munch-button{height:74px}.control-caption{display:none}.fighter-panel{padding-top:7px}.timer-digits{font-size:45px!important}.move{height:56px}.scene{min-height:68px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
