:root{--bg:#101817;--panel:#19221f;--line:#35413a;--text:#ebe9dc;--muted:#9ca79b;--gold:#d9be85;--mint:#a6d5ba;--copper:#d6a084}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Space Grotesk,Noto Sans TC,sans-serif;font-size:14px}button,input{font:inherit}button{cursor:pointer;color:inherit;transition:background .12s,transform .06s;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button:hover:not(:disabled){filter:brightness(1.13)}[hidden]{display:none!important}header{max-width:1500px;margin:auto;padding:25px 42px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;color:var(--text);text-decoration:none;align-items:center;font-size:23px;font-weight:600;letter-spacing:2px}.brand b{font-size:21px;font-weight:400;color:var(--gold)}.brand small{display:block;font-size:8px;letter-spacing:2.5px;margin-top:3px;color:var(--muted)}.brand-mark{font-size:39px;color:var(--gold)}.top-actions{display:flex;gap:18px;align-items:center}.prototype{color:var(--muted);font-size:11px}.quiet{background:none;border:1px solid var(--line);padding:10px 15px;font-size:12px;border-radius:5px}main{max-width:1440px;margin:auto;padding:35px 42px 0}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:9px;letter-spacing:2.3px;color:var(--gold);font-weight:500}h1{font-size:30px;letter-spacing:2px;font-weight:500;margin:10px 0}p{line-height:1.7}.intro p{color:var(--muted);margin:0;font-size:12px}.mode{font-size:13px;border:1px solid var(--line);padding:13px 18px;border-radius:24px;display:flex;align-items:center;gap:8px}.mode i{height:6px;width:6px;border-radius:50%;background:var(--mint)}.mode span{color:var(--muted);font-size:10px;margin-left:14px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start}.table{position:relative;min-height:650px;border:1px solid #53604c;border-radius:13px;background:radial-gradient(ellipse at center,#34463866,transparent 65%),repeating-linear-gradient(35deg,transparent,transparent 3px,#ffffff02 3px,#ffffff02 4px),#202f27;box-shadow:inset 0 0 0 7px #17221d,inset 0 0 0 8px #48533c,0 20px 60px #0003;padding:25px 34px 18px;overflow:hidden}.table:before{content:"";position:absolute;inset:50px 25px;border:1px solid #bfbd7a12;border-radius:45%;pointer-events:none}.table-top,.table-bottom{display:flex;justify-content:space-between;position:relative;color:#adba9c;font-size:10px;letter-spacing:1.2px}.table-top #round{color:var(--gold)}.table-bottom{margin-top:22px;font-size:8px;color:#899581}.fighter-row{display:flex;align-items:center;justify-content:center;gap:24px;position:relative;padding:26px 0 14px;min-height:234px}.side-label{writing-mode:vertical-rl;letter-spacing:3px;color:var(--muted);font-size:9px}.character-card{width:132px;height:178px;border:1px solid #c49d79;flex-shrink:0;border-radius:8px;background:linear-gradient(150deg,#433b32,#242926);position:relative;overflow:hidden;box-shadow:0 10px 20px #0004}.character-card.teal{border-color:#a0bfa1;background:linear-gradient(150deg,#3d5144,#1c2928)}.sigil{height:100%;display:flex;align-items:center;justify-content:center;font-size:80px;color:#d9b793;background:radial-gradient(circle at 50% 43%,#d4bc8530,transparent 60%);text-shadow:0 0 30px #d9be8533}.teal .sigil{color:var(--mint)}.sigil:after{content:"";position:absolute;inset:19px 12px 40px;border:1px solid #dbd1a426;border-radius:50%}.portrait{width:100%;height:100%;object-fit:contain;background:#131c18}.card-series{position:absolute;top:8px;left:8px;font-size:7px;letter-spacing:1px;color:#e7d2a7;background:#17201dd9;padding:3px}.card-name{position:absolute;bottom:0;left:0;right:0;text-align:center;padding:8px 3px;background:#14221de8;font-size:12px;letter-spacing:1px}.fighter-info{width:230px}.fighter-info h2{font-size:22px;margin:7px 0 13px;letter-spacing:1px;font-weight:500}.fighter-info .eyebrow{font-size:8px;color:var(--muted)}.hp-label{display:flex;justify-content:space-between;font-size:10px;margin-bottom:7px}.hp-label b{font-weight:500;letter-spacing:1px}.hp-bar{height:6px;background:#101916;border-radius:10px;overflow:hidden}.hp-bar div{background:var(--mint);height:100%;transition:width .5s}.enemy .hp-bar div{background:var(--copper)}.stats{display:flex;justify-content:space-between;color:#bac6b6;font-size:10px;margin:9px 0 13px}.equipped{border:1px solid #a3b29b30;background:#101c1838;border-radius:5px;display:flex;align-items:center;gap:9px;padding:8px 9px;font-size:10px}.equipped b{font-size:19px;font-weight:400;color:var(--gold)}.equipped small{font-size:8px;color:var(--muted);margin-left:auto}.equipped img{width:24px;height:30px;object-fit:contain}.field-center{display:flex;align-items:center;justify-content:center;gap:15px;margin:15px 0 0;position:relative}.field-line{height:1px;flex:1;background:linear-gradient(90deg,transparent,#a7ac6a50)}.field-line:last-child{transform:rotate(180deg)}.field-medallion{color:var(--gold);border:1px solid #b8ba7f50;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;font-size:27px;background:#1d2c25}.field-center .eyebrow{font-size:7px}.field-center h2{font-weight:500;font-size:16px;margin:4px 0}.field-center p{font-size:10px;margin:0;color:var(--muted)}.panel{background:var(--panel);border:1px solid var(--line);padding:24px;border-radius:10px;min-height:650px}.panel h2{margin:8px 0;font-size:23px;font-weight:500}.muted{color:var(--muted);font-size:11px;margin:0 0 17px}.panel h3{font-size:11px;font-weight:500;color:var(--gold);margin:19px 0 10px;letter-spacing:1px}.panel h3 span{color:var(--text);margin-left:8px}.choices{display:flex;flex-direction:column;gap:7px}.choice{width:100%;display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;padding:7px 9px;background:#111c17;border:1px solid #364339;border-radius:5px;text-align:left}.choice.selected,.equip-choice.selected{border-color:var(--gold);background:#c4aa6d10}.choice-name{font-size:11px}.choice small{font-size:9px;color:var(--muted)}.mini{display:block;width:26px;height:28px;overflow:hidden;position:relative}.mini .sigil{font-size:24px}.mini .sigil:after{display:none}.upload{display:block;padding:9px;text-align:center;border:1px dashed #576453;border-radius:5px;font-size:10px;color:var(--mint);cursor:pointer;margin-top:9px}.upload input{position:absolute;width:1px;height:1px;opacity:0}.upload:focus-within{outline:2px solid var(--gold)}.equipment-choices{display:grid;gap:5px}.equip-choice{display:flex;align-items:center;gap:8px;border:1px solid #364339;background:#111c17;padding:8px 10px;border-radius:4px;font-size:10px}.equip-choice>span:first-child{font-size:17px;color:var(--gold);width:20px}.equip-choice small{margin-left:auto;color:var(--muted);font-size:9px}.demo-note{font-size:10px;color:var(--muted);line-height:1.8;border-left:2px solid #786f4d;padding-left:10px;margin:18px 0}.primary{background:var(--gold);color:#20291f;border:0;border-radius:5px;padding:14px 16px;font-size:12px;font-weight:600;display:flex;justify-content:space-between;gap:18px;align-items:center}.primary:disabled{opacity:.5}.full{width:100%}.input-label{font-size:10px;color:var(--muted);display:block;margin:10px 0}.input-label input{display:block;width:100%;padding:8px;background:#101916;color:var(--text);border:1px solid var(--line);border-radius:4px;margin-top:5px}#uploadStatus{font-size:10px;color:var(--gold)}.hand-area{margin-top:28px}.hand-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.hand-heading h2{font-size:20px;font-weight:500;margin:7px 0 0}.hand-heading h2 span{font-size:11px;color:var(--muted);margin-left:12px}.hand-heading p{color:var(--muted);font-size:10px}.hand{display:flex;gap:12px;min-height:195px;overflow-x:auto;padding:4px 2px 12px}.empty-hand{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:12px;border:1px dashed var(--line);width:100%;min-height:180px;border-radius:8px;color:var(--muted);font-size:12px}.empty-hand span{font-size:10px;letter-spacing:4px}.skill{width:157px;min-width:145px;flex:1;max-width:215px;min-height:204px;background:linear-gradient(145deg,#344238,#1a2720);border:1px solid #66745c;border-radius:8px;padding:13px;text-align:left;position:relative}.skill-top{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:var(--mint);letter-spacing:2px}.cost{border:1px solid #899b77;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;font-size:12px;color:var(--gold);letter-spacing:0}.skill-icon{font-size:40px;color:var(--gold);text-align:center;height:65px;display:grid;place-items:center}.skill h3{margin:6px 0;font-weight:500;font-size:15px;letter-spacing:1px}.skill p{font-size:10px;color:#bac3b1;min-height:32px;margin:5px 0 12px}.play-label{font-size:9px;color:var(--gold);border-top:1px solid #ffffff15;display:block;padding-top:8px}.skill:disabled{opacity:.45}.skill:hover:not(:disabled){transform:translateY(-4px);border-color:var(--gold)}.energy{display:flex;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;margin:25px 0 15px;font-size:11px}.energy b{color:var(--gold);letter-spacing:4px}.pending{font-size:10px;color:var(--mint);line-height:1.8;margin-bottom:20px}.deck-info{display:flex;justify-content:space-between;margin:13px 0 26px;color:var(--muted);font-size:10px}.logs{padding:0;margin:0;list-style:none;max-height:290px;overflow:auto;scrollbar-color:#58614d transparent}.logs li{padding:11px 0;border-bottom:1px solid #344036;font-size:10px;line-height:1.7;color:var(--muted)}.logs li:first-child{color:var(--text)}.result{position:absolute;inset:0;z-index:3;background:#101b15dd;backdrop-filter:blur(5px);display:grid;place-items:center;text-align:center}.result>div{padding:30px}.result h2{font-size:42px;font-weight:500;color:var(--gold);margin:18px 0}.result p{color:var(--muted);font-size:12px}.result button{margin:25px auto}.clash{animation:clash .45s ease-out}@keyframes clash{40%{transform:translateY(-10px);filter:brightness(1.7)}}footer{border-top:1px solid var(--line);margin-top:20px;padding:23px 0;display:flex;gap:20px;align-items:center;font-size:11px;color:var(--gold)}footer span{color:var(--muted);font-size:9px}footer span:last-child{margin-left:auto}dialog{background:#1b2820;color:var(--text);border:1px solid #768065;border-radius:12px;max-width:590px;width:90%;padding:30px}dialog::backdrop{background:#000a;backdrop-filter:blur(4px)}dialog h2{font-weight:500}dialog ol{padding-left:20px;font-size:12px;line-height:1.9}dialog li{padding:5px}.close{position:absolute;right:15px;top:10px;background:none;border:0;color:var(--muted);font-size:28px}@media(min-width:1450px){.table{min-height:680px}.fighter-row{min-height:246px}}@media(max-width:1050px){header{padding:20px 24px}main{padding:25px 24px 0}.game-layout{grid-template-columns:minmax(0,1fr) 295px;gap:15px}.panel{padding:18px}.table{padding:23px 18px;min-height:650px}.fighter-row{gap:14px}.character-card{width:110px;height:155px}.fighter-info{width:190px}.fighter-info h2{font-size:19px}.side-label{display:none}.field-center{gap:8px}.field-line{display:none}.hand-heading p{max-width:260px;text-align:right}}@media(max-width:760px){header{padding:16px}.brand{font-size:19px;gap:7px}.brand-mark{font-size:31px}.brand small{font-size:6px}.top-actions{gap:6px}.prototype{display:none}.quiet{padding:8px;font-size:10px}main{padding:25px 15px 0}.intro{align-items:start;gap:15px}.intro h1{font-size:23px}.intro .eyebrow{font-size:7px}.intro p{font-size:10px}.mode{font-size:10px;padding:9px;white-space:nowrap}.mode span{display:none}.game-layout{grid-template-columns:1fr}.table{min-height:565px;padding:22px}.fighter-row{min-height:200px;padding:18px 0 9px;gap:23px}.character-card{width:112px;height:151px}.fighter-info{width:180px}.field-center{margin:12px 0}.panel{min-height:0}.choices{display:grid;grid-template-columns:1fr}.equipment-choices{grid-template-columns:1fr 1fr}.hand-heading{display:block}.hand-heading p{text-align:left;max-width:100%;font-size:9px}.hand{gap:9px}.skill{min-width:145px;flex:none}.logs{max-height:180px}footer{flex-wrap:wrap;gap:9px}footer span:last-child{display:none}.table-bottom{margin-top:15px}.demo-note{margin:12px 0}.table-top,.field-center p{font-size:9px}.field-medallion{width:38px;height:38px;font-size:22px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}:root{--bg:#fff9ed;--panel:#fffef8;--line:#292d38;--text:#292d38;--muted:#72717b;--gold:#efb94e;--mint:#308b70;--copper:#cf685c}body{background:radial-gradient(#c6ba9d40 1px,transparent 1px) 0 0/16px 16px,var(--bg);font-family:Avenir Next,PingFang TC,Noto Sans TC,sans-serif}header{border-bottom:2px solid var(--line);background:#fffdf7}.brand-mark{color:#e59340}.brand b{color:#cf7444}.quiet{background:#fffef8;border:2px solid var(--line);border-radius:9px;box-shadow:2px 2px #292d38}.main-nav{max-width:1440px;margin:0 auto;display:flex;gap:8px;align-items:center;padding:17px 42px}.main-nav button{background:none;border:2px solid transparent;border-radius:25px;padding:9px 17px;font-size:12px;font-weight:600}.main-nav button.active{background:#ffd776;border-color:var(--line);box-shadow:2px 2px 0 var(--line)}#saveStatus{margin-left:auto;font-size:10px;color:var(--muted)}.eyebrow{color:#a15c2d;font-weight:700}.primary{background:#ffd36c;border:2px solid var(--line);border-radius:9px;box-shadow:3px 3px 0 var(--line);font-weight:700}.primary:hover:not(:disabled){transform:translate(-1px,-1px)}.primary:active:not(:disabled){transform:translate(2px,2px);box-shadow:none}.panel{background:#fffef8;border:2px solid var(--line);box-shadow:4px 4px #d0c4ae}.table{background:radial-gradient(#5d927040 1px,transparent 1px) 0 0/9px 9px,#dcebd5;border:3px solid var(--line);box-shadow:inset 0 0 0 7px #f7e5af,inset 0 0 0 9px #32382b,5px 5px #292d38}.table:before{border-color:#5e8c532b}.table-top,.table-bottom,.table-top #round{color:#435b3d;font-weight:600}.character-card{border:2px solid var(--line);background:#f3c9b3;box-shadow:4px 4px #292d384d;transform:rotate(-2deg)}.character-card.teal{background:#b9d7c2;border:2px solid var(--line);transform:rotate(2deg)}.sigil{color:#a55c42;text-shadow:none;background:radial-gradient(circle,#fff6,transparent)}.teal .sigil{color:#357a64}.sigil:after{border-color:#292d3833}.card-name{background:#fffaf0;color:var(--text);border-top:2px solid var(--line)}.card-series{color:#fff;background:#292d38}.portrait{background:#f5ecdc;padding-bottom:32px}.mini .portrait{padding:0}.hp-bar{background:#c9c9ab;border:1px solid #4a5d40;height:9px}.hp-bar div{background:#73b980}.enemy .hp-bar div{background:#e49177}.stats{color:#4b644e}.equipped{background:#fff8e8;border:1px solid #5c7051}.equipped b{color:#996a30}.equipped small{color:#64735f}.fighter-info .eyebrow{color:#52714c}.field-medallion{background:#fff2c5;color:#a76a25;border:2px solid var(--line);box-shadow:2px 2px #292d38}.field-center p{color:#5c7054}.field-line{background:#90a97b}.choice,.equip-choice{background:#fffaf0;border:1px solid #c9bda8;color:var(--text)}.choice.selected,.equip-choice.selected{border:2px solid var(--line);background:#ffe9a8}.upload{background:#e4f1df;border:2px dashed #769164;color:#416344}.demo-note{background:#fff2c7;padding:10px;border:0;border-radius:7px;color:#725b39}.input-label input{background:#fff;color:var(--text);border-color:#b5aa96}.skill{background:#fffbef;border:2px solid var(--line);box-shadow:3px 3px #292d38;max-width:190px}.skill:nth-child(3n+2){background:#e5efdf}.skill:nth-child(3n+3){background:#f9e1d6}.skill-top{color:#5d7260}.skill-icon{color:#bd7445}.cost{background:#ffd776;border:2px solid var(--line);color:var(--text)}.skill p{color:#706759}.play-label{color:#a35c31;border-top-color:#b9aa8e}.skill:disabled{opacity:.5}.energy{border-color:#c4bca9}.energy b{color:#c48221}.pending{color:#37735d}.logs li{border-color:#d7cebb}.result{background:#fff9eddc}.result h2{color:#b56f31}.empty-hand{background:#fffaf0;border-color:#b8ab95}.mode{background:#e5efdf;border:2px solid #6c815e}.prototype{background:#ede5f5;padding:6px 9px;border:1px solid #baabc9;border-radius:20px;color:#6b557f}dialog{background:#fffbef;color:var(--text);border:3px solid var(--line);box-shadow:7px 7px #292d38;border-radius:18px}.close{color:var(--text)}footer{border-top:2px solid #d5cbb7;color:#a15c2d}.hand-heading h2{font-weight:700}.top-actions{gap:12px}#lobby{max-width:1440px;padding:22px 42px 35px;margin:auto}.lobby-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.lobby-heading h1{font-weight:800;font-size:30px;letter-spacing:1px}.lobby-heading p{color:var(--muted);font-size:12px;margin:6px 0}.sticker{background:#e4d9f3;border:2px solid var(--line);border-radius:15px;padding:13px 20px;transform:rotate(5deg);text-align:center;font-size:11px;font-weight:700;box-shadow:3px 3px 0 var(--line);line-height:1.6}.home-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:25px}.hero-comic{position:relative;background:radial-gradient(#d68c3025 1px,transparent 1px) 0 0/8px 8px,#ffdd85;padding:38px;border:3px solid var(--line);border-radius:20px;box-shadow:6px 6px 0 var(--line);overflow:hidden;min-height:340px}.comic-kicker{font-size:10px;letter-spacing:2px;font-weight:800;background:#fff;border:2px solid var(--line);padding:6px 10px;border-radius:6px;display:inline-block;transform:rotate(-3deg)}.hero-comic h2{font-size:34px;line-height:1.4;letter-spacing:1px;margin:22px 0 10px;position:relative;z-index:1}.hero-comic p{font-size:12px;line-height:1.9;position:relative;z-index:1}.hero-comic .primary{background:#fffef8;margin-top:22px;position:relative;z-index:1}.hero-orbit{position:absolute;right:28px;top:70px;font-size:180px;color:#f4ae41;transform:rotate(13deg);line-height:1.2}.hero-orbit span{position:absolute;top:45px;left:30px;border:3px solid var(--line);border-radius:25px;background:#f5a798;color:var(--text);font-weight:900;font-size:36px;text-align:center;width:115px;height:135px;display:grid;place-items:center;line-height:1.1;transform:rotate(-20deg);box-shadow:6px 6px 0 var(--line)}.lobby-panel{border:2px solid var(--line);border-radius:16px;box-shadow:4px 4px #d0c4ae;background:#fffdf7;padding:25px}.section-title{display:flex;align-items:center;justify-content:space-between}.lobby-panel h2{font-size:18px;margin:0}.text-button{border:0;background:none;color:#8c623c;font-weight:600;padding:10px 0;font-size:11px;text-decoration:underline;text-underline-offset:4px}.deck-title{font-size:12px;color:var(--muted);margin:10px 0 20px}.loadout-mini{display:flex;gap:19px;align-items:center}.mini-portrait{width:90px;height:115px;border:2px solid var(--line);border-radius:9px;background:#dcebd5;overflow:hidden;transform:rotate(-3deg);display:grid;place-items:center;font-size:50px;color:#357a64;flex-shrink:0}.mini-portrait img{width:100%;height:100%;object-fit:contain}.loadout-mini b{font-size:18px}.loadout-mini p{font-size:11px;color:var(--muted);margin:6px 0}.loadout-mini small{font-size:10px}.twelve-tags{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin:24px 0 13px}.twelve-tags span{background:#f2e8cd;border:1px solid #bca983;border-radius:6px;display:grid;place-items:center;height:28px;font-size:18px}.pill{font-size:9px;background:#e5efdf;padding:6px 10px;border-radius:20px;display:inline-block;color:#52714c}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px;margin-top:30px}.quick-tile{background:#deedd7;border:2px solid var(--line);border-radius:15px;padding:23px;text-align:left;box-shadow:4px 4px 0 var(--line);display:grid;grid-template-columns:45px 1fr;gap:8px 13px}.quick-tile.pink{background:#f8dcd2}.quick-tile.purple{background:#e9e0f6}.quick-tile>span{font-size:35px;grid-row:span 3}.quick-tile b{font-size:18px}.quick-tile small{font-size:10px;color:#746c66}.quick-tile em{font-size:10px;font-style:normal;margin-top:5px;font-weight:600}.speech-note{display:flex;align-items:center;gap:17px;margin-top:28px;border:2px solid #b7ad98;background:#fffdf8;border-radius:14px;padding:17px;font-size:11px}.speech-note b{background:#ffd776;white-space:nowrap;padding:5px 9px;border:1px solid #a98e51;border-radius:6px;transform:rotate(-4deg)}.privacy-foot{text-align:center;color:var(--muted);font-size:10px;margin:29px 0 0}.collection-toolbar,.deck-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.filter-tabs{display:flex;gap:8px}.filter-tabs button{border:2px solid transparent;background:none;border-radius:20px;padding:9px 15px;font-size:12px}.filter-tabs .active{background:#e3eedb;border-color:var(--line)}.collection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:23px}.collection-card{background:#fffdf8;border:2px solid var(--line);border-radius:14px;padding:9px;text-align:left;box-shadow:4px 4px #292d38;overflow:hidden}.collection-card:hover{transform:translateY(-4px)}.collection-art{height:195px;background:radial-gradient(#a1c99755 1px,transparent 1px) 0 0/8px 8px,#dcebd5;border:1px solid #a6b49a;border-radius:8px;display:grid;place-items:center;position:relative;overflow:hidden;color:#357a64}.collection-art>span:not(.card-tag){font-size:86px}.item-card .collection-art{background:#f6e2c1;color:#ba834c}.collection-art img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0;padding-bottom:25px;background:#fffdf3}.card-tag{position:absolute;bottom:9px;left:9px;background:#fffaf0;border:1px solid var(--line);border-radius:5px;padding:4px 7px;font-size:9px;font-weight:700}.collection-body{padding:15px 6px 4px}.collection-body small{font-size:8px;color:var(--muted)}.collection-body h3{font-size:17px;margin:6px 0 12px}.collection-body p{display:flex;justify-content:space-between;font-size:11px;font-weight:600;border-top:1px dashed #c9bda8;padding-top:9px;margin-bottom:5px}.deck-workshop{display:grid;grid-template-columns:340px 1fr;gap:25px;align-items:start}.deck-toolbar label{font-size:12px}.deck-toolbar select{margin-left:10px}.form-label{display:block;font-size:11px;font-weight:600;margin:22px 0}.form-label input,.form-label select,select{width:100%;display:block;background:#fffdf8;border:2px solid #ada592;border-radius:8px;padding:12px;color:var(--text);font:inherit;margin-top:8px}.deck-toolbar select{display:inline-block;width:auto;max-width:230px}.deck-counter{border:2px dashed #7fa370;border-radius:10px;background:#edf3e5;padding:19px;display:flex;align-items:center;justify-content:space-between}.deck-counter b{font-size:23px}.deck-counter span{font-size:9px;color:var(--muted)}.deck-counter.invalid{background:#fff0df;border-color:#c1935f}#deckMessage{font-size:10px;color:#718166}.skill-catalog{display:grid;grid-template-columns:1fr 1fr;gap:17px}.catalog-card{border:2px solid var(--line);background:#fffdf8;border-radius:13px;padding:18px;box-shadow:3px 3px #ccc2ad;display:grid;grid-template-columns:45px 1fr;gap:13px}.catalog-symbol{font-size:38px;color:#b07842;text-align:center}.catalog-symbol span{display:block;font-size:8px;color:var(--muted);margin-top:10px}.catalog-card small{font-size:9px;color:#7a9470}.catalog-card h3{margin:6px 0;font-size:17px}.catalog-card p{font-size:10px;color:var(--muted);margin:0;min-height:34px}.quantity{grid-column:span 2;display:flex;justify-content:flex-end;align-items:center;gap:17px;margin-top:8px}.quantity button{width:29px;height:29px;border:2px solid var(--line);border-radius:7px;background:#ffd776;font-weight:700}.quantity button:disabled{opacity:.3}.quantity b{font-size:16px}.ai-notice{background:#fff0c9;border:1px dashed #c4984d;border-radius:10px;padding:14px;font-size:11px;margin:15px 0}.ai-notice p{margin:6px 0 0;font-size:10px}.big-upload{padding:30px;text-align:center;display:block;background:#e7f0df;border:2px dashed #719161;border-radius:12px;margin:15px 0;cursor:pointer;font-size:15px}.big-upload input{display:block;max-width:100%;margin:12px auto 0;font-size:11px}.draft-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:22px 0}.draft-layout .form-label{margin:0 0 14px}.draft-layout small{font-size:9px;color:var(--muted)}.draft-stats{font-size:18px;font-weight:700}.draft-preview .collection-art{height:255px}.draft-preview .collection-art img{padding:0}.draft-preview .pill{margin-top:10px}.detail-art{background:#e5efdf;border:2px solid var(--line);border-radius:12px;height:270px;display:grid;place-items:center;font-size:90px;color:#357a64;overflow:hidden}.detail-art img{width:100%;height:100%;object-fit:contain}.detail-stats{font-weight:600}#newCardStatus{font-size:11px;color:#8d6a35}.close{z-index:2}@media(max-width:1050px){.hero-orbit{right:-35px;opacity:.45}.hero-comic{padding:28px}.hero-comic h2{font-size:30px}.quick-tile{padding:17px;grid-template-columns:30px 1fr}.quick-tile b{font-size:15px}.quick-tile>span{font-size:28px}.skill-catalog{grid-template-columns:1fr}.deck-workshop{grid-template-columns:300px 1fr}}@media(max-width:760px){.main-nav{padding:13px 15px;gap:2px;flex-wrap:wrap}.main-nav button{padding:8px 11px;font-size:11px}#saveStatus{width:100%;font-size:8px;margin:6px 0 0}#lobby{padding:17px 17px 25px}.lobby-heading{align-items:start;gap:15px;margin-bottom:22px}.lobby-heading h1{font-size:23px;line-height:1.5}.lobby-heading p{font-size:10px}.sticker{font-size:9px;padding:9px 10px;flex-shrink:0}.home-grid{grid-template-columns:1fr;gap:23px}.hero-comic{min-height:320px;padding:27px}.hero-orbit{right:10px;opacity:.6}.hero-comic h2{font-size:29px}.quick-grid{grid-template-columns:1fr;gap:17px}.quick-tile{padding:18px;grid-template-columns:40px 1fr}.quick-tile>span{font-size:32px}.quick-tile b{font-size:17px}.speech-note{font-size:10px;gap:10px}.privacy-foot{font-size:8px}.collection-toolbar{gap:10px;align-items:start}.filter-tabs{gap:2px;flex-wrap:wrap}.filter-tabs button{padding:8px;font-size:10px}.collection-toolbar .primary{padding:10px;font-size:10px;white-space:nowrap}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.collection-art{height:175px}.collection-body{padding:12px 3px 3px}.collection-body h3{font-size:15px}.collection-body p{font-size:9px}.collection-body small{font-size:7px}.deck-workshop{grid-template-columns:1fr}.deck-toolbar select{max-width:160px}.draft-layout{grid-template-columns:1fr 1fr;gap:14px}.draft-preview .collection-art{height:230px}.form-label input,.form-label select,select{font-size:11px;padding:10px}.draft-stats{font-size:14px}.top-actions{gap:5px}.fighter-row{gap:17px}.portrait{padding-bottom:30px}}.grade-badge{position:absolute;top:9px;right:9px;z-index:1;background:#fffaf0;border:2px solid var(--line);border-radius:8px;width:30px;height:34px;display:grid;place-items:center;font-size:21px!important;font-weight:900;box-shadow:2px 2px 0 var(--line)}.grade-S{background:#ffd56c}.grade-A{background:#ebd4fa}.grade-B{background:#cce9f3}.grade-C{background:#daedcd}.grade-D{background:#ece9df}.consent{font-size:10px;line-height:1.8;display:block;margin:16px 0}.consent input{vertical-align:middle;margin-right:8px}.evaluation-banner{display:flex;gap:18px;align-items:center;background:#ffedb9;border:2px solid var(--line);border-radius:12px;padding:17px;margin:20px 0}.grade-letter{font-size:60px;line-height:1;min-width:55px;text-align:center;color:#a66d31;text-shadow:2px 2px white}.evaluation-banner>div>b{font-size:12px}.evaluation-banner p{font-size:11px;margin:8px 0}.evaluation-banner small{font-size:9px;color:#897047;line-height:1.8;display:block}.hero-comic .primary{max-width:290px}.palette-mint{--frame:#dcebd5}.palette-peach{--frame:#f7d8c5}.palette-lavender{--frame:#e7def5}.palette-gold{--frame:#ffe8a8}.collection-card[class*=palette-],.draft-preview .collection-art{background:var(--frame,#dcebd5)}.draft-preview .collection-art{border:5px solid var(--frame,#dcebd5);outline:2px solid #292d38}.clock-group{display:flex;align-items:center;gap:12px}.clock-group b{font-size:18px;border:2px solid #556a46;background:#fff3c6;padding:3px 8px;border-radius:8px;color:#3b543c;font-variant-numeric:tabular-nums}.clock-group #roundTimer{font-size:9px}.clock-group b.urgent{color:#b94a3d;background:#ffe2d9;border-color:#b94a3d}@media(max-width:760px){.clock-group{gap:7px}.clock-group b{font-size:14px;padding:2px 5px}.clock-group #round{display:none}}.table .hand-area{position:relative;margin-top:18px;border-top:1px dashed #7c946a;padding-top:14px}.table .hand-heading{margin-bottom:9px;display:flex;align-items:center}.table .hand-heading .eyebrow{font-size:7px}.table .hand-heading h2{font-size:14px;margin:4px 0 0}.table .hand-heading h2 span{font-size:9px;margin-left:6px}.table .hand-heading p{font-size:8px;max-width:220px;color:#5c7054}.table .hand{min-height:139px;padding:4px 2px 10px;gap:9px}.table .skill{width:105px;min-width:94px;max-width:122px;height:137px;min-height:137px;padding:9px;flex:1;box-shadow:2px 3px #292d38}.table .skill-top{font-size:7px;letter-spacing:1px}.table .cost{width:20px;height:20px;font-size:10px}.table .skill-icon{font-size:29px;height:41px}.table .skill h3{font-size:12px;margin:7px 0}.table .skill p{display:none}.table .play-label{font-size:7px;padding-top:7px;margin-top:6px}.table .empty-hand{min-height:130px;font-size:10px;background:#fff6}.table .table-bottom{margin-top:13px}.table .fighter-row{min-height:197px;padding:20px 0 8px}.table .character-card{height:150px;width:112px}.table .field-center{margin-top:8px}.table .table-top{align-items:center}.skill.unavailable{filter:saturate(.5);opacity:.65}.character-card[role=button],.equipped[role=button]{cursor:zoom-in}.character-card[role=button]:focus-visible,.equipped[role=button]:focus-visible{outline:3px solid #c48a30;outline-offset:4px}.card-preview{width:430px;max-width:calc(100vw - 36px);text-align:center;padding:25px}.card-preview h2{font-size:23px;margin:12px 0 20px}.large-skill{border:3px solid var(--line);background:radial-gradient(#c0984f22 1px,transparent 1px) 0 0/7px 7px,#ffe8b5;border-radius:16px;padding:20px;box-shadow:5px 5px #292d38;position:relative;max-width:270px;margin:auto;min-height:305px}.large-cost{font-size:11px;background:#fffdf7;border:2px solid var(--line);padding:6px 10px;border-radius:20px;display:inline-block}.large-symbol{font-size:80px;color:#ad703d;line-height:1.2;margin:10px 0}.large-skill h3{font-size:24px;margin:10px 0}.large-skill p{font-size:13px;line-height:1.9;background:#fff8e7;border-radius:8px;padding:12px;margin:15px 0 0}.preview-timer-note{font-size:10px;color:#8f6d3b;margin:21px 0 14px}.large-portrait{border:3px solid var(--line);background:#e5efdf;border-radius:12px;width:220px;height:280px;margin:auto;display:grid;place-items:center;overflow:hidden}.large-portrait .portrait{padding:0}.large-portrait .sigil{width:100%;font-size:110px}.large-portrait .sigil:after{display:none}.card-preview .detail-stats{font-size:13px}.card-preview>p{font-size:11px}.table .skill:hover{cursor:zoom-in}@media(max-width:760px){.table .fighter-row{min-height:180px;gap:15px}.table .character-card{width:101px;height:136px}.table .fighter-info{width:170px}.table .hand-heading{display:block}.table .hand-heading p{max-width:none;text-align:left;font-size:8px;margin:5px 0}.table .skill{min-width:94px;flex:none;width:94px}.table .hand{min-height:147px}.table .hand-area{margin-top:13px}.table .field-center{gap:10px}.table{padding:21px 16px}.large-skill{min-height:275px}.large-symbol{font-size:65px}.large-skill h3{font-size:21px}}#duelMain{padding-top:8px}#duelMain .intro{margin-bottom:16px}#duelMain .intro h1{font-size:24px}#duelMain .intro p{font-size:11px}#duelMain .game-layout{grid-template-columns:minmax(0,1fr) 280px;gap:22px}.table{background:radial-gradient(#bd905818 1px,transparent 1px) 0 0/10px 10px,#f4dfb9;border:3px solid #4c392c;box-shadow:inset 0 0 0 9px #d49a66,inset 0 0 0 12px #574533,5px 5px #49372c;padding:21px 30px 16px;min-height:0;border-radius:15px}.table:before{inset:55px 22px 190px;border:2px solid #b696672f;border-radius:7px}.table .table-top{color:#795d3f;font-size:9px}.opponent-hand{display:flex;justify-content:center;height:31px;margin-top:10px;overflow:hidden;gap:0}.opponent-hand i{display:grid;place-items:center;width:38px;height:49px;border:2px solid #584b3c;border-radius:6px;background:repeating-linear-gradient(45deg,#b5c2b6,#b5c2b6 4px,#c5d2c5 4px 8px);font-style:normal;font-size:17px;color:#586c5c;box-shadow:2px 2px #6d5b4140;margin-right:-5px}.opponent-hand i:first-child{transform:rotate(-9deg);margin-top:3px}.opponent-hand i:last-child{transform:rotate(9deg);margin-top:3px}.table .fighter-row{display:grid;grid-template-columns:90px 151px 70px;grid-template-rows:auto;justify-content:center;align-items:center;gap:13px 27px;padding:10px 0 8px;min-height:0}.table .side-label{display:block;writing-mode:horizontal-tb;position:absolute;right:0;top:8px;font-size:8px;letter-spacing:1px;color:#8d7355}.table .character-card{width:151px;height:207px;border:3px solid #393632;border-radius:10px;transform:none;box-shadow:3px 4px #79644966;display:flex;flex-direction:column;overflow:hidden;background:#f9f0d9;position:relative;grid-column:2;grid-row:1}.table .character-card.copper{border-color:#664937;background:#f5dbbd}.table .character-card.teal{border-color:#435b46;background:#dbe8ce}.board-card-head{height:27px;display:flex;align-items:center;gap:5px;padding:3px 6px;border-bottom:2px solid #665940;background:#fff9e8;flex-shrink:0}.board-card-title{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700;flex:1}.board-grade{width:18px;height:18px;border:1px solid #786143;background:#ffdb75;border-radius:4px;display:grid;place-items:center;font-size:12px}.board-card-art{position:relative;flex:1;min-height:0;margin:5px 5px 0;border:2px solid #7a806b;border-radius:4px;background:#f8f0d9;overflow:hidden}.board-card-art .portrait{object-fit:contain;padding:0;background:#fff9ed}.board-card-art .sigil{font-size:69px;color:#6d7d64;background:radial-gradient(#ffffffb0,transparent)}.board-card-art .sigil:after{inset:10px;border-radius:8px;border-color:#b6ad83}.copper .board-card-art .sigil{color:#b77c5b}.board-heart{position:absolute;right:3px;bottom:3px;background:#ffcfca;border:1.5px solid #6a4940;border-radius:10px;padding:2px 5px;color:#8a443d;font-size:11px;font-weight:800;box-shadow:1px 1px #6a49404a}.board-card-stats{display:flex;justify-content:space-between;align-items:center;padding:5px 7px 2px;height:29px;flex-shrink:0}.board-attack{font-size:17px;background:#fff7df;border:1px solid #8d785c;padding:1px 5px;border-radius:5px;line-height:1.1}.board-shield{font-size:11px;color:#567d83;font-weight:700}.board-health{padding:2px 7px 5px;flex-shrink:0}.board-health .hp-bar{height:5px;border:0;background:#b4b596}.board-health small{font-size:7px;color:#69705d;display:block;text-align:center;margin-top:2px}.board-zone-label{font-size:8px;letter-spacing:1px;color:#9b825f;display:block;text-align:center;margin-bottom:7px}.board-equip-slot{grid-column:1;grid-row:1;align-self:center}.board-equipment{border:2px solid #8c7b5e;box-shadow:2px 3px #b099734f;border-radius:7px;background:#fff5df;width:90px;height:121px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:7px;gap:5px;cursor:zoom-in}.board-item-icon{font-size:34px;color:#ae8453;line-height:1.2}.board-item-name{font-size:9px;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.board-equipment small{font-size:9px;color:#98724a;border-top:1px solid #dcc8a9;width:100%;padding-top:4px}.board-equipment img{width:100%;height:62px;object-fit:contain;background:#fffaee}.board-equipment.empty-slot{border:2px dashed #bd9d72;box-shadow:none;background:#d7bc8b22;color:#ac916b}.board-piles{grid-column:3;grid-row:1;align-self:center;display:flex;align-items:center;flex-direction:column}.board-deck{width:63px;height:86px;position:relative;border:3px double #6c6a57;border-radius:6px;background:repeating-linear-gradient(45deg,#cad3bf,#cad3bf 4px,#dce2d0 4px 8px);box-shadow:3px 3px #aaa58d,5px 5px #d3c6a2;display:grid;place-items:center}.board-deck>span{font-size:32px;color:#69806a}.board-deck>b{position:absolute;bottom:4px;right:4px;border:1px solid #7c8066;background:#fff7df;border-radius:4px;padding:1px 4px;font-size:8px}.board-discard{font-size:8px;color:#9a815e;border:1px dashed #bda77e;border-radius:4px;margin-top:12px;padding:6px 7px}.board-recent{position:absolute;right:19px;bottom:11px;display:flex;align-items:center;flex-direction:column}.board-recent .board-zone-label{font-size:7px;letter-spacing:0;margin-bottom:4px}.empty-skill{border:1px dashed #c5af88;border-radius:4px;width:40px;height:47px;display:grid;place-items:center;color:#b59b77}.board-used-card{background:#e8e5f0;border:2px solid #81748a;border-radius:5px;width:43px;height:55px;padding:4px;box-shadow:2px 2px #9b839a44;cursor:zoom-in;display:grid;place-items:center}.board-used-card>span{font-size:20px;color:#7e6787}.board-used-card>small{font-size:6px;white-space:nowrap}.table .field-center{margin:9px -7px;gap:12px;min-height:47px;border-top:1px solid #c8aa7d;border-bottom:1px solid #c8aa7d;padding:7px 0;background:#e2c99a33}.field-center .eyebrow{display:none}.table .field-center h2{font-size:13px;color:#8e7047}.table .field-center p{color:#a18b65;font-size:8px}.table .field-medallion{width:33px;height:33px;font-size:20px;box-shadow:none;border-color:#a78f64;background:#ffefc3}.table .field-line{background:#c6ac80}.table .hand-area{margin:14px -13px -5px;border-top:2px solid #b69566;padding:11px 9px 0;background:#edd1a166;border-radius:0 0 7px 7px}.table .hand-heading .eyebrow{display:none}.table .hand-heading h2{font-size:11px;color:#7e623d}.table .hand-heading p{font-size:7px;color:#a18b66}.table .hand{min-height:122px;gap:8px;justify-content:center;align-items:flex-end;padding:5px 5px 9px}.table .skill{width:88px;min-width:81px;max-width:105px;height:118px;min-height:118px;flex:0 1 105px;transform-origin:bottom center;padding:7px;border-radius:7px}.table .skill:nth-child(1){transform:rotate(-5deg) translateY(3px)}.table .skill:nth-child(2){transform:rotate(-2deg)}.table .skill:nth-child(4){transform:rotate(2deg)}.table .skill:nth-child(5),.table .skill:nth-child(6){transform:rotate(5deg) translateY(3px)}.table .skill:hover{transform:translateY(-8px)!important;z-index:2}.table .skill-icon{font-size:27px;height:31px}.table .skill h3{font-size:10px;margin:6px 0}.table .skill-top{font-size:6px}.table .cost{width:18px;height:18px;font-size:9px}.table .play-label{font-size:6px;margin-top:4px;padding-top:5px}.table .table-bottom{display:none}#battlePanel{min-height:0;padding:20px}#battlePanel h2{font-size:20px}#battlePanel .logs{max-height:280px}.table .fighter-row.enemy{border-bottom:0}.table .fighter-row.friendly{padding-top:8px}.table .clock-group b{background:#ffe7b3;color:#795836;border-color:#a28b61}.table .clock-group #round{color:#967a52}#duelMain footer{margin-top:24px}@media(max-width:1050px){#duelMain .game-layout{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.table{padding:20px 22px 15px}.table .fighter-row{column-gap:17px;grid-template-columns:80px 143px 60px}.table .character-card{width:143px;height:198px}.board-equipment{width:80px;height:112px}.board-recent{right:0}.board-deck{width:55px;height:77px}.table .skill{min-width:72px;width:78px}.table .skill h3{font-size:9px}}@media(max-width:760px){#duelMain .game-layout{grid-template-columns:1fr;gap:16px}#duelMain{padding:4px 10px 0}#duelMain .intro{display:none}.table{padding:18px 17px 12px;border-radius:12px}.table .table-top{font-size:8px}.table .fighter-row{grid-template-columns:69px 132px 52px;column-gap:17px;padding:7px 0;min-height:0}.table .character-card{width:132px;height:183px}.board-card-head{height:24px;padding:3px 5px}.board-card-title{font-size:9px}.board-card-art{margin:4px 4px 0}.board-heart{font-size:10px}.board-attack{font-size:15px}.board-card-stats{height:26px;padding:4px 6px 2px}.board-health small{font-size:6px}.board-equipment{width:69px;height:101px;padding:5px}.board-item-icon{font-size:28px}.board-item-name,.board-equipment small{font-size:8px}.board-equipment img{height:48px}.board-deck{width:48px;height:69px}.board-deck>span{font-size:25px}.board-zone-label{font-size:7px}.board-discard{font-size:7px;padding:5px}.table .side-label{display:none}.board-recent{right:-3px;bottom:6px}.board-recent .board-zone-label{font-size:6px}.board-used-card{width:34px;height:43px}.empty-skill{width:32px;height:33px}.board-used-card>span{font-size:17px}.board-used-card>small{font-size:5px}.table .field-center{margin:7px -3px;min-height:42px;padding:6px 0}.table .field-center h2{font-size:12px}.table .field-center p{font-size:7px}.opponent-hand{height:23px;margin-top:7px}.opponent-hand i{width:30px;height:39px;font-size:13px}.table .hand-area{margin:10px -5px -3px;padding:9px 0 0}.table .hand-heading{display:flex;gap:6px;margin-bottom:5px}.table .hand-heading h2{font-size:10px;white-space:nowrap}.table .hand-heading p{font-size:6px;max-width:155px;margin:0;text-align:right}.table .hand{justify-content:flex-start;gap:6px;min-height:113px;padding:4px 5px 8px}.table .skill{min-width:65px;width:68px;max-width:72px;flex-shrink:0;height:105px;min-height:105px;padding:6px}.table .skill-icon{font-size:24px;height:28px}.table .skill h3{font-size:8px;letter-spacing:0;margin:5px 0}.table .cost{width:16px;height:16px;font-size:8px}.table .skill-top{font-size:6px}.table .play-label{font-size:5px;padding-top:4px}.table:before{inset:50px 15px 140px}.clock-group{gap:6px}.table .clock-group b{font-size:13px}.table .clock-group #roundTimer{font-size:7px}#battlePanel{border-radius:10px;padding:17px}#battlePanel .logs{max-height:130px}}@media(prefers-reduced-motion:reduce){.table .skill{transform:none!important}}.table .fighter-row{max-width:430px;margin-left:auto;margin-right:auto;width:100%}.table .board-recent,.table .side-label{right:-12px}@media(max-width:760px){.table .board-recent{right:0;bottom:-1px}.in-battle header{padding:8px 12px}.in-battle header .brand small{display:none}.in-battle .main-nav{padding:8px 10px}.in-battle #saveStatus{display:none}.in-battle .table .fighter-row{max-width:330px}.in-battle .table .character-card{height:172px}.in-battle .opponent-hand{height:20px}.in-battle .table .hand{min-height:111px}}.creation-steps{display:flex;justify-content:space-between;gap:7px;padding:0;list-style:none;font-size:9px;margin:18px 0}.creation-steps li{background:#eae5d7;border:1px solid #b5aa93;padding:7px;border-radius:7px}.creation-steps .active{background:#ffe2a0}#originalPreview{text-align:center;margin:16px 0}#originalPreview img{width:100%;max-height:230px;object-fit:contain;background:#eee7d6;border:2px solid #c3b89c;border-radius:9px}#originalPreview p{font-size:10px;margin-top:8px}.locked-card-facts{margin:0;background:#f2ecdb;padding:16px;border:1px solid #cbbd9f;border-radius:9px}.locked-card-facts dt{font-size:9px;color:#8f7959;margin:0 0 4px}.locked-card-facts dd{font-size:13px;font-weight:700;margin:0 0 14px}.locked-card-facts dd:last-child{margin-bottom:0}.result-actions{display:flex;gap:12px;justify-content:space-between;align-items:center;margin:20px 0 0}.result-actions .quiet,.result-actions .primary{font-size:11px}.skill-art{display:block;width:100%;object-fit:cover;object-position:center;border:1px solid #313440;border-radius:5px;background:#fff4df}.table .skill{height:150px;min-height:150px}.table .skill .skill-art{height:64px;margin:3px 0 0}.skill-art-large{display:block;width:min(100%,360px);height:auto!important;aspect-ratio:1;object-fit:cover;margin:10px auto 16px;border:2px solid #30333c;border-radius:12px}.catalog-symbol{overflow:hidden}.catalog-skill-art{display:block;width:100%;height:94px;object-fit:cover;border-radius:7px}.catalog-symbol>span{position:relative;display:block;font-size:10px;margin-top:5px}.board-used-card .used-skill-art{display:block;width:100%;height:32px;object-fit:cover;border-radius:3px}@media(max-width:760px){.table .skill{height:132px;min-height:132px}.table .skill .skill-art{height:49px}.board-used-card .used-skill-art{height:24px}}.catalog-card{grid-template-columns:96px minmax(0,1fr);align-items:start}.catalog-skill-art{width:94px;height:94px}.bound-skill-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bound-skill-option{border:2px solid #30333c;border-radius:12px;background:#fff3d6;padding:10px;text-align:left;display:flex;flex-direction:column;gap:6px}.bound-option-art{width:100%;aspect-ratio:1;object-fit:cover;border-radius:7px}.bound-skill-option p{font-size:11px;margin:0}.bound-skill-option small{font-size:10px}.bound-skill-option:disabled{opacity:.45}.skill-category-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.skill-category-tabs button.active{background:#ffdb74}.bound-skills-list{display:grid;gap:8px;padding:0;list-style:none}.bound-skills-list li{background:#fff1d2;border:1px solid #c5b99b;border-radius:8px;padding:9px}.rating-split{display:flex;gap:12px;flex-wrap:wrap}.rating-split span{padding:8px;border-radius:8px;background:#f1e2bf}.skill-table-wrap{overflow-x:auto;border:2px solid #30333c;border-radius:12px;background:#fffdf7}.skill-data-table{width:100%;border-collapse:collapse;text-align:left}.skill-data-table th,.skill-data-table td{padding:14px 12px;border-bottom:1px solid #dfd4ba;font-size:12px}.skill-data-table thead{background:#ffdf8f}.skill-data-table th:first-child{min-width:110px}.skill-data-table td:last-child{white-space:nowrap;font-weight:700;color:#815921}.bound-skill-option{min-height:150px}.skill-art,.skill-art-large{display:grid;place-items:center;background:#ffefc6;color:#93723c}.skill-art-large{font-size:70px}.table .skill{height:123px;min-height:123px}.table .skill .skill-art{height:35px;border:0;font-size:28px}@media(max-width:760px){.skill-data-table th,.skill-data-table td{padding:10px 8px;font-size:10px}.table .skill{height:112px;min-height:112px}.table .skill .skill-art{height:28px}}.hand-area,#matchTimer{display:none!important}.inline-skills{margin:10px 0 0;padding:14px;background:#fff0cf;border:2px solid #a48b61;border-radius:12px}.inline-skills-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.inline-skills .bound-skill-option{min-height:120px;background:#fffaf0}.skill-category-badge{font-size:11px;font-weight:700;border-radius:6px;padding:4px 8px;align-self:flex-start;background:#eadbc3}.category-\653b\64ca  .skill-category-badge{background:#ffd5cc;color:#963c2c}.category-\9632\79a6  .skill-category-badge{background:#d5e6ff;color:#345c8e}.category-\6062\5fa9  .skill-category-badge{background:#d7edcb;color:#416a2c}.category-\8b77\76fe  .skill-category-badge{background:#e8d9fa;color:#725298}.table:before{bottom:20px}.danger-button{border:2px solid #b54f40;color:#9d382c;background:#fff1ec;border-radius:9px;padding:12px;margin-top:16px;font-weight:700}.delete-undo{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff0ce;border:1px solid #c5ad7d;padding:12px 16px;border-radius:10px;margin-bottom:18px}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quality-odds{margin-bottom:24px}.quality-odds h2{margin-top:0}.quality-odds p{line-height:1.85}@media(max-width:600px){.quick-grid{grid-template-columns:1fr}}.settings-stack{display:grid;gap:24px}.settings-stack p,.settings-stack li{line-height:1.85}.settings-stack li+li{margin-top:10px}.settings-stack h2{margin-top:0}.settings-stack a{color:#80512d;text-decoration:underline}.whole-entry{cursor:pointer}.whole-entry:hover{outline:3px solid #bd7445;outline-offset:3px}.home-start{display:block;width:100%;margin:24px 0;font-size:22px}.detail-art{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;display:flex;justify-content:center;background:#f2ead8}.detail-art img{width:100%!important;height:auto!important;max-height:58vh;object-fit:contain!important;display:block}.large-portrait img,.board-card-art img{object-fit:contain!important}body.in-battle{overflow:hidden}body.in-battle>header,body.in-battle>.main-nav,body.in-battle #duelMain>.intro,body.in-battle #duelMain>footer{display:none}body.in-battle #duelMain{position:fixed;inset:0;max-width:none;margin:0;padding:0;z-index:20;background:#fff7e6}body.in-battle .game-layout{display:block;height:100%;margin:0}body.in-battle .table{height:100dvh;min-height:0;box-sizing:border-box;padding:38px 16px 90px;display:flex;flex-direction:column;justify-content:space-evenly;border-width:8px;border-radius:0;overflow:hidden}body.in-battle aside{position:absolute;bottom:9px;left:16px;right:16px;z-index:5}body.in-battle #battlePanel{display:flex;align-items:center;gap:16px;padding:10px 14px;border:2px solid #555849;border-radius:12px;box-shadow:none;margin:0;background:#fff9ec}body.in-battle #battlePanel>.eyebrow,body.in-battle #tacticHelp,body.in-battle .deck-info,body.in-battle #pending,body.in-battle #next{display:none!important}body.in-battle #tacticTitle{font-size:16px;margin:0;white-space:nowrap}body.in-battle .energy{border:0;margin:0;padding:0;flex:1;display:flex;gap:12px;justify-content:center}body.in-battle #resolve{width:auto;min-width:140px;margin:0;padding:12px 25px}body.in-battle .table-top{position:absolute;top:12px;right:18px;left:160px;padding:0}body.in-battle .opponent-hand,body.in-battle .table-bottom{display:none}body.in-battle .field-center{margin:8px 0;padding:6px;min-height:36px;flex-shrink:0}body.in-battle .field-center .eyebrow,body.in-battle .field-center p{display:none}body.in-battle .field-center h2{font-size:16px;margin:0}body.in-battle .fighter-row{flex:1;min-height:0;max-height:280px;display:flex;align-items:center;justify-content:center;position:relative;gap:18px}body.in-battle .table .character-card{height:min(29vh,260px);width:180px;flex-shrink:0;display:flex;flex-direction:column}body.in-battle .board-card-art{min-height:0;flex:1;height:auto}body.in-battle .board-card-art .portrait{height:100%;width:100%;object-fit:contain}body.in-battle .board-equip-slot{position:static;width:90px;flex-shrink:0}body.in-battle .board-equipment{width:90px;height:135px}body.in-battle .board-piles{display:none}body.in-battle .table .board-recent{position:static;width:90px;flex-shrink:0}body.in-battle .side-label{position:absolute;top:0;right:0;font-size:10px}.battle-exit{position:absolute;top:10px;left:12px;z-index:6;padding:7px 12px}body.in-battle .inline-skills{position:absolute;bottom:87px;left:12px;right:12px;z-index:8;margin:0;max-height:42vh;overflow:auto;background:#fff9ec;border:3px solid #353744;box-shadow:0 -7px 30px #0003}body.in-battle .bound-skill-options{grid-template-columns:repeat(4,minmax(0,1fr))}.bound-skill-option p{font-size:12px}#battleEffects{position:absolute;inset:0;pointer-events:none;z-index:10;overflow:hidden}.battle-effect{position:absolute;left:20%;right:20%;text-align:center;animation:cast-pop 1.6s ease both}.battle-effect b{display:inline-block;padding:15px 25px;border:3px solid #343541;border-radius:16px;background:#ffe18c;box-shadow:6px 6px #343541;color:#302b27;font-size:22px}.from-player{bottom:32%}.from-cpu{top:32%}.fx-attack b{background:#ffad99}.fx-heal b{background:#b4e2b6}.fx-guard b{background:#b8d9f1}.casting .character-card{animation:card-cast .65s ease}@keyframes cast-pop{0%{opacity:0;transform:scale(.5) rotate(-5deg)}20%,70%{opacity:1;transform:scale(1)}to{opacity:0;transform:translateY(-40px)}}@keyframes card-cast{50%{transform:scale(1.06);filter:drop-shadow(0 0 18px #ffd04d)}}@media(max-width:600px){body.in-battle #battlePanel{gap:6px;padding:8px}body.in-battle .energy{display:block;font-size:11px}body.in-battle .energy b{font-size:15px}body.in-battle #resolve{min-width:85px;padding:12px}body.in-battle .table .character-card{width:142px}body.in-battle .fighter-row{gap:8px}body.in-battle .board-equip-slot,body.in-battle .table .board-recent{width:65px}body.in-battle .board-equipment{width:65px;height:108px}body.in-battle .bound-skill-options{grid-template-columns:repeat(2,minmax(0,1fr))}.battle-effect{left:5%;right:5%}.battle-effect b{font-size:17px}}body.in-battle:has(#inlineSkills:not([hidden])) .table{padding-bottom:290px}body.in-battle:has(#inlineSkills:not([hidden])) .table .character-card{height:20vh;max-height:180px}body.in-battle:has(#inlineSkills:not([hidden])) .fighter-row{max-height:190px}body.in-battle .inline-skills{max-height:185px}.inline-skills-heading{margin-bottom:6px}.bound-skill-option{padding:8px}.bound-skill-option p{margin:4px 0;line-height:1.4}@media(max-width:600px){body.in-battle:has(#inlineSkills:not([hidden])) .table{padding-bottom:335px}body.in-battle:has(#inlineSkills:not([hidden])) .table .character-card{height:16vh;min-height:115px;width:120px}body.in-battle .inline-skills{max-height:235px}body.in-battle .bound-skill-option{padding:6px}.bound-skill-option strong{font-size:13px}.bound-skill-option p{font-size:11px}.bound-skill-option small{font-size:10px}body.in-battle:has(#inlineSkills:not([hidden])) .board-equipment{height:90px}body.in-battle:has(#inlineSkills:not([hidden])) .board-recent{display:none}}body.in-battle .bound-skill-option{min-height:0;gap:3px}body.in-battle .inline-skills{padding:10px}body.in-battle .inline-skills-heading{margin:0 0 7px}body.in-battle .inline-skills-heading .quiet{padding:5px 10px}body.in-battle .bound-skill-options{gap:7px}.health-shield{display:block;color:#286c8c;background:#deeff5;border:1px solid #7da8b7;border-radius:5px;font-size:10px;line-height:1.3;margin-top:3px;padding:2px 4px;text-align:center}.effect-description{display:inline-block;margin:5px 0 0;padding:8px 14px;border:2px solid #343541;border-radius:10px;background:#fff9e8;color:#343541;font-size:15px;box-shadow:3px 3px #343541}.battle-effect b{display:table;margin:auto}.damage-number b{font-size:34px;color:#d44131;background:#fff6eb;border:0;text-shadow:2px 2px white;box-shadow:none;padding:6px}.damage-cpu{top:23%;bottom:auto}.damage-player{bottom:26%;top:auto}.battle-effect{animation-duration:2s}body.in-battle .board-health{flex-shrink:0}body.in-battle:has(#inlineSkills:not([hidden])) .table .character-card{min-height:142px}@media(max-width:600px){body.in-battle:has(#inlineSkills:not([hidden])) .table .character-card{min-height:135px}.health-shield{font-size:9px}.effect-description{font-size:12px}.damage-number b{font-size:27px}}.combat-status{position:absolute;width:215px;padding:14px;background:#fffaf0f5;border:3px solid #363945;border-radius:15px;box-shadow:5px 5px #b4a17d;z-index:3;text-align:left}.status-cpu{left:4%;top:16%}.status-player{right:4%;bottom:18%}.combat-status h3{margin:0 0 8px;font-size:17px;color:#414849}.status-row{display:flex;justify-content:space-between;gap:10px;padding:4px 0;border-bottom:1px solid #dfd3b9;font-size:13px}.status-row b{color:#296b58;font-size:16px}.attack-breakdown,.status-note{font-size:11px;line-height:1.5;margin:5px 0;color:#736451}.status-row:first-of-type b{font-size:24px;color:#a04a35}.category-\6e1b\50b7  .skill-category-badge{background:#dce7ee;color:#285779}@media(max-width:1050px){.combat-status{width:160px;padding:9px}.status-cpu{left:12px;top:13%}.status-player{right:12px;bottom:19%}.status-row{font-size:11px}.status-row b{font-size:13px}.combat-status h3{font-size:14px}.attack-breakdown,.status-note{font-size:10px}}@media(max-width:700px){.combat-status{right:10px;left:auto;width:140px;padding:7px;box-shadow:3px 3px #b4a17d}.status-cpu{top:9%}.status-player{bottom:15%}.combat-status h3{font-size:12px;margin-bottom:3px}.status-row{font-size:10px;padding:2px 0}.status-row:first-of-type b{font-size:18px}.attack-breakdown,.status-note{font-size:9px;margin:3px 0}.status-row b{font-size:11px}body.in-battle .table .fighter-row{transform:translate(-70px)}body.in-battle .table .board-recent{display:none}body.in-battle:has(#inlineSkills:not([hidden])) .status-player{bottom:344px}body.in-battle:has(#inlineSkills:not([hidden])) .status-cpu{top:7%}body.in-battle:has(#inlineSkills:not([hidden])) .status-note{display:none}body.in-battle:has(#inlineSkills:not([hidden])) .combat-status{padding:5px}.status-row:last-child{border-bottom:0}}.category-\865b\5f31  .skill-category-badge{background:#e8dcf3;color:#74458a}.skill-category-guide{margin-bottom:20px}.skill-category-guide p{line-height:1.8}.skill-category-tabs{flex-wrap:wrap}.battle-hand{position:absolute;bottom:88px;left:12px;right:12px;z-index:6;background:#fff7e9;border:2px solid #41434d;border-radius:12px;padding:9px}.hand-summary{font-size:12px;margin-bottom:6px;color:#64543f}.hand-card-row{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}.tactical-hand-card{flex:0 0 130px;min-height:125px;border:2px solid #40424c;border-radius:9px;background:#fffdf3;padding:8px;text-align:left}.tactical-hand-card>b{display:block;font-size:17px}.hand-cost{display:block;color:#92651d;margin-top:3px;font-size:12px}.tactical-hand-card p{font-size:11px;line-height:1.45;margin:5px 0}.tactical-hand-card.category-\80fd\91cf {background:#ffe38b}.tactical-hand-card:disabled{opacity:.5}body.in-battle .table{padding-bottom:300px}body.in-battle .table .character-card{height:19vh;min-height:150px}body.in-battle .status-player{bottom:310px}body.in-battle .inline-skills{bottom:280px;max-height:170px}body.in-battle .bound-skill-options{grid-template-columns:repeat(5,minmax(0,1fr))}body.in-battle #passTurn{white-space:nowrap}body.in-battle:has(#inlineSkills:not([hidden])) .status-player{bottom:310px}@media(max-width:700px){.tactical-hand-card{flex-basis:105px;min-height:125px}.hand-summary{font-size:10px}body.in-battle .table{padding-bottom:295px}body.in-battle .table .character-card{height:16vh;min-height:140px;width:120px}body.in-battle .status-cpu{top:7%}body.in-battle .combat-status{padding:5px}.combat-status .status-note{display:none}body.in-battle .status-player{bottom:305px}body.in-battle .inline-skills{max-height:185px;bottom:278px}body.in-battle .bound-skill-options{grid-template-columns:repeat(3,minmax(0,1fr))}body.in-battle #resolve{min-width:85px;font-size:12px;padding:10px}body.in-battle #passTurn{font-size:11px;padding:9px 5px}body.in-battle .energy{font-size:10px}body.in-battle #tacticTitle{font-size:12px}}body.in-battle .table,body.in-battle:has(#inlineSkills:not([hidden])) .table{display:grid;grid-template-rows:minmax(220px,1fr) 38px minmax(220px,1fr);gap:4px;padding:44px 16px 205px;align-content:stretch}body.in-battle .table .fighter-row,body.in-battle:has(#inlineSkills:not([hidden])) .fighter-row{height:100%;max-height:none;min-height:220px;flex:none}body.in-battle .table .character-card,body.in-battle:has(#inlineSkills:not([hidden])) .table .character-card{height:228px!important;min-height:228px!important;max-height:228px!important;width:166px!important;box-sizing:border-box;flex-shrink:0}body.in-battle .board-card-head{flex:0 0 25px}body.in-battle .board-card-art{flex:1 1 auto;min-height:120px!important;max-height:none;height:auto!important}body.in-battle .board-card-stats{flex-shrink:0}body.in-battle .board-card-art .portrait{height:100%;max-height:100%;object-fit:contain!important}body.in-battle .field-center{margin:0;min-height:30px;padding:0}.battle-hand{bottom:80px;padding:7px}.tactical-hand-card{min-height:85px;max-height:85px;flex-basis:110px;padding:6px}.tactical-hand-card p{display:none}.hand-summary{margin-bottom:4px}.tactical-hand-card>b{font-size:17px}.hand-card-row{padding-bottom:2px}.battle-hand{max-height:115px}body.in-battle aside{bottom:8px}body.in-battle .status-player,body.in-battle:has(#inlineSkills:not([hidden])) .status-player{bottom:225px}body.in-battle .inline-skills{bottom:205px;max-height:200px}body.in-battle:has(#inlineSkills:not([hidden])) .inline-skills{bottom:205px}body.in-battle #battlePanel{min-height:56px}body.in-battle .field-center h2{font-size:14px}body.in-battle .table .board-recent{display:none}@media(max-width:700px){body.in-battle .table,body.in-battle:has(#inlineSkills:not([hidden])) .table{padding:40px 10px 200px;grid-template-rows:minmax(220px,1fr) 30px minmax(220px,1fr)}body.in-battle .table .fighter-row{transform:translate(-65px)}body.in-battle .table .character-card,body.in-battle:has(#inlineSkills:not([hidden])) .table .character-card{width:150px!important}.combat-status{width:135px}.status-cpu,body.in-battle:has(#inlineSkills:not([hidden])) .status-cpu{top:55px}.status-player,body.in-battle:has(#inlineSkills:not([hidden])) .status-player{bottom:215px}.tactical-hand-card{flex-basis:94px;min-height:82px;max-height:82px}.hand-summary{font-size:9px}}@media(max-height:720px){body.in-battle .table,body.in-battle:has(#inlineSkills:not([hidden])) .table{grid-template-rows:220px 30px 220px;overflow-y:auto;padding-bottom:200px}.battle-hand,body.in-battle aside{position:fixed}.battle-hand{bottom:78px}.combat-status{display:none}body.in-battle .table .fighter-row{transform:none}}.eyebrow,.comic-kicker,.prototype{display:none!important}.muted,.bound-skills-list small,.loadout-mini p,.quick-tile small,.collection-body p,.board-zone-label,.side-label,.attack-breakdown,.status-note,.hand-summary,.board-health small,.deck-info{color:#343742!important}.lobby-heading{margin-bottom:24px}.lobby-heading h1{margin-bottom:0}#renameStatus:empty,#upgradeStatus:empty{display:none}.rating-split{margin:16px 0}.brand small{display:none}.battle-mode-options{display:grid;gap:14px;margin-top:24px}.room-code-display{display:block;text-align:center;font-size:clamp(28px,7vw,46px);letter-spacing:.12em;padding:20px;background:#ffe08a;border:3px solid #303340;border-radius:16px;margin:14px 0}#roomLink{width:100%;box-sizing:border-box}.brand-avatar{width:52px;height:52px;object-fit:contain;border-radius:12px;flex-shrink:0;background:#fff}.status-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}.status-heading h3{margin:0 0 8px}.status-details-button{display:none}.status-detail-view .status-row{font-size:14px;padding:8px 0}.status-detail-view .status-row b{font-size:16px}.status-detail-view .attack-breakdown,.status-detail-view .status-note{font-size:13px}@media(max-width:1100px),(max-height:800px),(pointer:coarse){body.in-battle{height:100dvh;overscroll-behavior:none}body.in-battle #duelMain{height:100dvh;overflow:hidden}body.in-battle .table,body.in-battle:has(#inlineSkills:not([hidden])) .table{--hand-height:clamp(88px,16dvh,126px);height:100%;width:100%;min-height:0;padding:calc(38px + env(safe-area-inset-top,0px)) 8px calc(74px + env(safe-area-inset-bottom,0px));border-width:5px;gap:5px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(112px,35%);grid-template-rows:minmax(0,1fr) 24px minmax(0,1fr) var(--hand-height);grid-template-areas:"enemy enemy-status" "field field" "player player-status" "hand hand"}body.in-battle #cpuSlot{grid-area:enemy}body.in-battle #playerSlot{grid-area:player}body.in-battle .table .fighter-row,body.in-battle:has(#inlineSkills:not([hidden])) .table .fighter-row{container-type:size;position:relative;transform:none!important;min-width:0;min-height:0;height:100%;max-height:none;width:100%;max-width:none;margin:0;gap:6px;padding:0;display:flex;align-items:center;justify-content:center}body.in-battle .table .character-card,body.in-battle:has(#inlineSkills:not([hidden])) .table .character-card{height:min(100cqh,calc((100cqw - 50px)*1.37),260px)!important;width:auto!important;aspect-ratio:166/228;min-height:0!important;max-height:100%!important;min-width:0;box-shadow:2px 2px #b4a17e;border-width:2px;overflow:hidden}body.in-battle .board-card-head{flex:0 0 21px;height:21px;padding:2px 4px;min-width:0}.board-card-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.in-battle .board-card-title{font-size:clamp(8px,2vw,11px)}body.in-battle .board-grade{font-size:10px;padding:1px 3px}body.in-battle .table .board-card-art{flex:1 1 0;min-height:0!important;max-height:none;margin:3px 3px 0;overflow:hidden}body.in-battle .board-card-art .portrait{height:100%;width:100%;object-fit:contain!important}body.in-battle .board-heart{font-size:10px;padding:2px 4px;bottom:3px;right:2px}body.in-battle .board-card-stats{flex:0 0 23px;height:23px;padding:2px 4px}body.in-battle .board-attack{font-size:14px}body.in-battle .board-shield{font-size:9px}body.in-battle .board-health{flex:0 0 23px;padding:0 4px 3px;min-height:0}body.in-battle .board-health small{display:none}body.in-battle .health-shield{font-size:8px;padding:1px;margin-top:2px;white-space:nowrap}body.in-battle .hp-bar{height:4px}body.in-battle .board-equip-slot{width:44px;min-width:0;flex:0 0 44px;align-self:center}body.in-battle .board-zone-label{display:none}body.in-battle .board-equipment,body.in-battle:has(#inlineSkills:not([hidden])) .board-equipment{width:44px;height:min(74cqh,102px);min-height:44px;padding:3px;border-width:1px;border-radius:6px;box-shadow:1px 2px #b7a582;overflow:hidden}body.in-battle .board-equipment img{width:100%;height:44%;object-fit:contain}body.in-battle .board-item-icon{font-size:22px}body.in-battle .board-item-name,body.in-battle .board-equipment small{font-size:7px;line-height:1.2}body.in-battle .board-recent,body.in-battle .board-piles,body.in-battle .side-label{display:none!important}body.in-battle .field-center{grid-area:field;position:static;height:24px;min-height:0;padding:0;margin:0;gap:6px;overflow:hidden}body.in-battle .field-center h2{font-size:11px;white-space:nowrap}body.in-battle .field-medallion{width:22px;height:22px;font-size:15px;border-width:1px}body.in-battle .combat-status,body.in-battle:has(#inlineSkills:not([hidden])) .combat-status{display:block!important;position:static!important;align-self:center;width:100%;height:auto;max-height:100%;min-width:0;margin:0;padding:6px;border:2px solid #363945;border-radius:9px;box-shadow:2px 2px #b4a17d;overflow:auto}body.in-battle .status-cpu{grid-area:enemy-status}body.in-battle .status-player{grid-area:player-status}body.in-battle .status-heading{gap:2px}body.in-battle .combat-status h3{font-size:12px;margin:0}body.in-battle .status-details-button{display:block;font-size:10px;padding:4px;border:0;border-radius:4px;background:#eee0bf;min-height:26px}body.in-battle .combat-status .status-row{font-size:10px;padding:3px 0;gap:3px;line-height:1.2;min-height:19px;align-items:center}body.in-battle .combat-status .status-row b{font-size:12px;white-space:nowrap}body.in-battle .combat-status .status-row:first-of-type b{font-size:15px}body.in-battle .combat-status .attack-breakdown,body.in-battle .combat-status .status-note,body.in-battle .combat-status .status-detail-row{display:none}body.in-battle .battle-hand{grid-area:hand;position:static;left:auto;right:auto;bottom:auto;margin:0;min-width:0;width:100%;height:100%;max-height:none;padding:5px;border-width:2px;display:flex;flex-direction:column;overflow:hidden}body.in-battle .hand-summary{font-size:9px;line-height:1.2;margin:0 0 3px;flex-shrink:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.in-battle .hand-card-row{min-height:0;min-width:0;flex:1;align-items:stretch;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;gap:6px;padding:0 0 2px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}body.in-battle .tactical-hand-card{flex:0 0 82px;width:82px;min-height:44px;max-height:none;height:100%;padding:5px;scroll-snap-align:start}body.in-battle .tactical-hand-card>b{font-size:14px}body.in-battle .hand-cost{font-size:10px}body.in-battle .tactical-hand-card p{display:none}body.in-battle aside{position:absolute;bottom:calc(5px + env(safe-area-inset-bottom,0px));left:9px;right:9px;z-index:12}body.in-battle #battlePanel{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;min-height:56px;height:auto;padding:6px;border-width:2px}body.in-battle #tacticTitle{display:none}body.in-battle .energy{display:block;min-width:0;margin:0;padding:0;border:0;line-height:1.25}body.in-battle .energy span{font-size:9px}body.in-battle .energy b{display:block;font-size:14px;white-space:nowrap}body.in-battle #resolve,body.in-battle #passTurn{min-width:76px;min-height:44px;width:auto;margin:0;padding:8px 11px;font-size:13px;white-space:nowrap}body.in-battle #battlePanel:has(#resolve[hidden]) .energy{grid-column:1/-1;text-align:center}body.in-battle .battle-exit{top:calc(7px + env(safe-area-inset-top,0px));left:10px;padding:6px 8px;font-size:10px;min-height:28px;max-width:110px}body.in-battle .table-top{top:calc(11px + env(safe-area-inset-top,0px));left:124px;right:10px;font-size:9px;white-space:nowrap;gap:3px}body.in-battle #phaseLabel{overflow:hidden;text-overflow:ellipsis}body.in-battle #roundTimer{display:none}body.in-battle .clock-group{gap:3px}body.in-battle .inline-skills,body.in-battle:has(#inlineSkills:not([hidden])) .inline-skills{grid-area:hand;position:static;bottom:auto;left:auto;right:auto;min-width:0;max-height:none;height:100%;padding:5px;margin:0;display:flex;flex-direction:column;border-width:2px;box-shadow:none;overflow:hidden;z-index:9}body.in-battle:has(#inlineSkills:not([hidden])) .battle-hand{visibility:hidden}body.in-battle .inline-skills-heading{font-size:10px;margin-bottom:4px;flex-shrink:0;gap:4px}body.in-battle .inline-skills-heading .quiet{font-size:10px;padding:3px 8px;min-height:27px}body.in-battle .bound-skill-options{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:145px;gap:5px;flex:1;min-height:0;overflow-x:auto;overflow-y:hidden}body.in-battle .bound-skill-option{min-height:0;height:100%;max-height:100%;overflow:auto;padding:4px;gap:1px}body.in-battle .bound-skill-option strong{font-size:11px}body.in-battle .bound-skill-option small{font-size:8px}body.in-battle .bound-skill-option p{font-size:10px;line-height:1.3;margin:2px 0}body.in-battle .damage-number b{font-size:24px}.result{overflow:auto}.result>div{max-height:80dvh;overflow:auto}}@media(min-width:600px)and (max-height:520px){body.in-battle .table,body.in-battle:has(#inlineSkills:not([hidden])) .table{--hand-height:82px;grid-template-columns:minmax(0,1fr) minmax(110px,.8fr) minmax(0,1fr) minmax(110px,.8fr);grid-template-rows:minmax(0,1fr) 20px var(--hand-height);grid-template-areas:"enemy enemy-status player player-status" "field field field field" "hand hand hand hand";padding-top:34px;padding-bottom:69px;gap:4px}body.in-battle .combat-status{padding:4px!important}body.in-battle .combat-status .status-row{min-height:16px;padding:2px 0;font-size:9px}body.in-battle .combat-status .status-row b{font-size:11px}body.in-battle .combat-status h3{font-size:10px}body.in-battle .table .character-card,body.in-battle:has(#inlineSkills:not([hidden])) .table .character-card{height:min(100cqh,calc((100cqw - 42px)*1.37),220px)!important}body.in-battle .board-equip-slot{width:36px;flex-basis:36px}body.in-battle .board-equipment{width:36px}body.in-battle .damage-cpu{inset:22% 52% auto 2%}body.in-battle .damage-player{inset:22% 2% auto 52%}}@media(max-width:760px){body:not(.in-battle)>header{padding:12px;gap:8px;flex-wrap:wrap}.brand{min-width:0;letter-spacing:0}.brand b{font-size:17px}.brand-avatar{width:42px;height:42px}.top-actions{gap:6px;margin-left:auto}.top-actions button{font-size:10px;padding:7px 9px}.main-nav{max-width:100%;padding:10px;flex-wrap:nowrap;overflow-x:auto}.main-nav button{flex-shrink:0}.lobby-panel{min-width:0}dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);overflow:auto}}@media(min-width:700px)and (min-height:600px)and (max-width:1100px){body.in-battle .combat-status{padding:9px!important}body.in-battle .combat-status h3{font-size:15px}body.in-battle .combat-status .status-row{font-size:12px;padding:5px 0}body.in-battle .combat-status .status-row b{font-size:16px}body.in-battle .table .character-card,body.in-battle:has(#inlineSkills:not([hidden])) .table .character-card{height:min(100cqh,calc((100cqw - 66px)*1.37),300px)!important}body.in-battle .board-equip-slot{width:60px;flex-basis:60px}body.in-battle .board-equipment{width:60px;height:min(75cqh,150px)}body.in-battle .board-item-name,body.in-battle .board-equipment small{font-size:9px}}@media(max-width:1100px),(max-height:800px),(pointer:coarse){body.in-battle .combat-status [data-stat=\4e0b\4e00\6b21\653b\64ca] b{font-size:16px;color:#a04a35}body.in-battle .board-card-art .sigil{font-size:min(60px,30cqh)}}.status-detail-view .status-note,.status-detail-view .attack-breakdown{display:block!important}.status-detail-view .status-row{display:flex!important}.rules-section{margin:20px 0}.rules-section h3{font-size:17px;margin:0 0 10px}.rules-section ol{padding-left:24px;margin:0}.rules-section li{line-height:1.8;margin:8px 0}#rules{width:min(860px,calc(100vw - 24px));max-height:calc(100dvh - 36px);overflow:auto;padding:26px}#rules>h2{padding-right:30px}@media(min-width:761px){body:not(.in-battle)>header{max-width:1360px;padding:9px 24px;min-height:56px}.brand-avatar{width:38px;height:38px}.brand b{font-size:20px}body:not(.in-battle)>.main-nav{max-width:1360px;padding:6px 24px;min-height:40px}.main-nav button{padding:6px 14px}#lobby{max-width:1360px;padding:10px 24px 16px;min-width:0}.lobby-heading{margin-bottom:12px}.lobby-heading h1{font-size:24px;margin:0;line-height:1.4}.home-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:18px}.hero-comic{min-height:0;height:clamp(155px,28dvh,240px);padding:18px 24px;border-radius:16px}.hero-comic h2{font-size:clamp(23px,2.4vw,32px);margin:0 0 8px;line-height:1.3}.hero-comic .primary{margin-top:10px;padding:10px 16px}.hero-orbit{transform:scale(.72);transform-origin:right center;right:14px;top:8px}.loadout-preview{padding:18px;min-width:0}.loadout-preview h2{font-size:18px}.loadout-preview .section-title{margin-bottom:8px}.loadout-mini{gap:14px}.loadout-mini .mini-portrait{width:75px;height:104px;flex-shrink:0}.loadout-mini b{font-size:19px}.loadout-mini p{margin:5px 0;font-size:12px}.home-start{margin:12px 0 0;padding:10px 18px;font-size:19px;min-height:44px}.quick-grid{margin-top:14px;gap:18px}.quick-tile{min-height:78px;padding:12px 18px;grid-template-columns:36px 1fr}.quick-tile>span{font-size:29px}.quick-tile b{font-size:17px}.quick-tile em{margin-top:2px}.privacy-foot{margin-top:14px;padding:8px 0}.speech-note{margin-top:14px;padding:10px}}.settings-menu{display:grid;gap:12px}.settings-item,.rules-section{border:2px solid var(--line);border-radius:12px;background:#fffdf6;padding:0;overflow:hidden}.settings-item>summary,.rules-section>summary{cursor:pointer;padding:15px 18px;font-size:17px;font-weight:700;list-style:none;display:flex;justify-content:space-between;gap:12px}.settings-item>summary:after,.rules-section>summary:after{content:"\ff0b"}.settings-item[open]>summary:after,.rules-section[open]>summary:after{content:"\2212"}.settings-item[open]>summary,.rules-section[open]>summary{background:#ffe5a3;border-bottom:1px solid #cbbd9f}.settings-item>form,.settings-item>p,.settings-item>h3,.settings-item>progress,.settings-item>.rules-section{margin:14px 18px}.settings-item .form-label{margin:0 0 12px}.rules-section>ol{padding:12px 22px 16px 42px}.settings-menu{max-width:960px;margin:auto}.rules-content .rules-section{margin:12px 0}.status-heading h3{overflow-wrap:anywhere;min-width:0;max-width:100%}.matching-scene{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:20px;padding:25px 10px;text-align:center;background:radial-gradient(#f5c86b 1px,transparent 1px) 0 0/12px 12px,#fff4d5;border-radius:20px;margin:20px 0}.matching-scene>strong{font-size:27px;color:#c65e48;transform:rotate(-10deg)}.matching-scene>p{width:100%;margin:8px 0 0;font-weight:700}.chibi-mascot{position:relative;width:85px;height:78px;border:3px solid #343742;border-radius:44% 44% 38% 38%;box-shadow:0 8px #35374418;display:flex;align-items:center;justify-content:center;gap:21px;animation:chibi-bounce .8s ease-in-out infinite alternate;background:#b8e1c3}.chibi-mascot.peach{background:#ffbba8;animation-delay:-.4s}.chibi-mascot i{height:11px;width:7px;border-radius:50%;background:#343742;margin-top:-6px}.chibi-mascot b{position:absolute;top:35px;font-size:19px}.chibi-mascot:after{content:"";position:absolute;left:10px;right:10px;top:38px;height:10px;border-left:10px solid #ef8c9188;border-right:10px solid #ef8c9188;border-radius:9px}.matching-dots{width:100%;letter-spacing:8px;color:#bf8c34;animation:matching-pulse 1s ease-in-out infinite alternate}@keyframes chibi-bounce{0%{transform:translateY(3px) rotate(-7deg) scale(1.03,.96)}to{transform:translateY(-12px) rotate(7deg) scale(.98,1.04)}}@keyframes matching-pulse{to{opacity:.25;transform:translate(5px)}}.character-card,.board-equipment,.collection-card{touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.holding-card{filter:brightness(1.08);outline:3px solid #f0bc4f}.card-zoom-dialog{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;text-align:center}.card-zoom-dialog .enlarged-card{margin:12px auto!important;width:min(100%,300px)!important;height:auto!important;min-height:0!important;aspect-ratio:166/228;max-height:none!important;display:flex!important;flex-direction:column;transform:none!important;pointer-events:none}.card-zoom-dialog .enlarged-card .board-card-head{height:38px;flex-shrink:0;font-size:17px}.card-zoom-dialog .enlarged-card .board-card-title{font-size:17px}.card-zoom-dialog .enlarged-card .board-card-art{flex:1;min-height:0;height:260px}.card-zoom-dialog .enlarged-card .portrait{height:100%;width:100%;object-fit:contain}.card-zoom-dialog .enlarged-card .board-card-stats{height:40px}.card-zoom-dialog .enlarged-card .board-equipment img{object-fit:contain}.card-zoom-dialog .enlarged-card>img{width:100%;height:70%;object-fit:contain}.card-zoom-dialog .enlarged-card .board-item-name{font-size:20px}.card-zoom-dialog .enlarged-card .collection-art{flex:1;min-height:260px}.card-zoom-dialog .enlarged-card .collection-body{flex-shrink:0}.card-hit .character-card{animation:chibi-hit .5s ease}.card-lunge .character-card{animation:chibi-lunge .55s ease}@keyframes chibi-hit{20%,60%{transform:translate(-5px) rotate(-4deg)}40%,80%{transform:translate(5px) rotate(4deg)}}@keyframes chibi-lunge{40%{transform:translateY(-15px) rotate(-5deg) scale(1.04)}70%{transform:translateY(3px) scale(.98)}}@media(prefers-reduced-motion:reduce){.chibi-mascot,.matching-dots,.card-hit .character-card,.card-lunge .character-card{animation:none!important}}.friends-home{float:right;margin-top:-44px;position:relative;z-index:1;background:#fff6da}.s-marquee{overflow:hidden;border:2px solid #d8a332;border-radius:24px;background:#fff0b0;color:#70451c;box-shadow:0 3px #d8a33233;padding:7px 14px;margin:0 0 12px;min-height:34px}.s-marquee-track{display:inline-block;white-space:nowrap;animation:s-announcement 28s linear infinite;padding-left:100%;font-weight:700}.s-marquee:hover .s-marquee-track{animation-play-state:paused}@keyframes s-announcement{to{transform:translate(-100%)}}.friend-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 14px;border-bottom:1px solid #e2d5bc}.friend-row>b{flex:1;min-width:100px;overflow-wrap:anywhere}.friend-row button{padding:7px 12px;font-size:12px}.friend-code{letter-spacing:2px;background:#ffe7a3;border-radius:8px;padding:6px 10px}#onlineDialog .settings-item,#onlineDialog .form-label{margin:12px 0}#onlineDialog .settings-item p{padding:0 14px}#onlineDialog{max-height:calc(100dvh - 28px);overflow:auto}#onlineDialog form input{font-size:16px}@media(max-width:760px){.friends-home{float:none;margin:0 0 12px;padding:8px 16px}.s-marquee{font-size:12px}.lobby-heading h1{padding-right:0}.chibi-mascot{width:65px;height:62px}.chibi-mascot b{top:27px}.chibi-mascot:after{top:30px}.matching-scene{gap:14px}.card-zoom-dialog .enlarged-card{max-width:260px!important}}@media(prefers-reduced-motion:reduce){.s-marquee-track{animation:none;white-space:normal;padding-left:0}}.tactical-hand-card.unavailable{opacity:.55}.tactical-hand-card.unavailable:hover{filter:none}.card-zoom-dialog .enlarged-card .board-card-art .sigil{height:100%;display:grid;place-items:center}.home-dashboard{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);grid-template-areas:"upload loadout" "library friends" "start settings";grid-template-rows:minmax(180px,1.8fr) minmax(86px,.8fr) 52px;gap:18px 24px;width:100%;height:clamp(350px,calc(100dvh - 210px),530px);margin-top:14px}.home-dashboard>button,.home-dashboard>.home-loadout{margin:0;float:none;min-width:0;min-height:0;border:3px solid #343742;border-radius:18px;box-shadow:4px 4px #343742;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:18px;color:#343742;overflow:hidden}.home-upload{grid-area:upload;background:radial-gradient(#d6a73f33 1px,transparent 1px) 0 0/10px 10px,#ffdf8b;gap:8px}.home-upload>b{font-size:clamp(25px,3.2vw,42px)}.home-upload-symbol{font-size:36px;line-height:1}.home-upload>span:last-child{font-size:15px}.home-dashboard>.home-loadout{grid-area:loadout;background:#fffdf7;align-items:stretch;justify-content:center;padding:20px;cursor:pointer}.home-loadout>h2{font-size:20px;margin:0 0 16px}.home-loadout .loadout-mini{min-width:0;gap:16px}.home-loadout .mini-portrait{width:78px;height:108px;flex:0 0 78px}.home-character-info{min-width:0}.home-character-info>b{font-size:21px;overflow-wrap:anywhere}.home-character-info p{font-size:12px;margin:5px 0}.home-character-info small{font-size:11px;overflow-wrap:anywhere}.home-library{grid-area:library;background:#dcebd4;gap:8px}.home-library>b{font-size:25px}.home-library>span{font-size:12px}.home-dashboard>.home-friends{grid-area:friends;background:#e7dff5;font-size:27px;font-weight:800}.home-dashboard>.home-start{grid-area:start;font-size:21px;padding:8px 18px;border-radius:12px;min-height:0}.home-dashboard>.home-settings{grid-area:settings;background:#f8dace;font-size:20px;font-weight:700;padding:8px;border-radius:12px}.room-friends{border:2px solid #d5c4a2;background:#fff9e9;border-radius:12px;padding:10px;margin:16px 0;max-height:230px;overflow:auto}.room-friends h3{font-size:16px;margin:4px 4px 8px}.room-friends .friend-row{padding:9px 4px}.room-friends p{font-size:13px}.battle-mode-options{display:grid;gap:10px}.battle-mode-options>button{margin:0;min-height:46px;padding:11px 16px}@media(max-width:760px){.home-dashboard{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-rows:minmax(170px,1.6fr) minmax(80px,.8fr) 48px;height:clamp(340px,calc(100dvh - 245px),530px);gap:14px 12px;margin-top:8px}.home-dashboard>button,.home-dashboard>.home-loadout{padding:12px;border-width:2px;border-radius:14px;box-shadow:3px 3px #343742}.home-upload>b{font-size:26px}.home-upload>span:last-child{font-size:12px}.home-upload-symbol{font-size:28px}.home-loadout>h2{font-size:14px;margin:0 0 10px}.home-loadout .loadout-mini{flex-wrap:wrap;gap:8px;justify-content:center}.home-loadout .mini-portrait{width:46px;height:62px;flex-basis:46px}.home-character-info{text-align:center;flex:1 1 75px}.home-character-info>b{font-size:15px}.home-character-info p{font-size:10px;margin:2px 0}.home-character-info small{font-size:9px}.home-library>b{font-size:21px}.home-library>span{font-size:10px}.home-dashboard>.home-friends{font-size:24px}.home-dashboard>.home-start{font-size:18px;border-radius:10px}.home-dashboard>.home-settings{font-size:18px;border-radius:10px}}@media(max-width:380px){.home-upload>b{font-size:23px}.home-loadout>h2{font-size:12px}.home-character-info>b{font-size:13px}.home-library>b{font-size:18px}.home-dashboard>.home-friends{font-size:20px}.home-dashboard>.home-start{font-size:16px}}.home-dashboard>.home-upload{position:relative;display:flex;align-items:flex-start;text-align:left;justify-content:center;overflow:hidden;background:radial-gradient(#d6a73f33 1px,transparent 1px) 0 0/9px 9px,#ffdf8b;padding:22px 26px}.home-upload-copy{position:relative;z-index:2;max-width:76%;display:flex;flex-direction:column;gap:16px}.home-upload-copy>b{font-size:clamp(21px,2.45vw,32px);line-height:1.4;letter-spacing:1px}.home-upload-cta{display:inline-block;align-self:flex-start;background:#fffdf5;border:2px solid #343742;border-radius:10px;box-shadow:3px 3px #343742;padding:10px 13px;font-size:13px;font-weight:700}.home-upload-decor{position:absolute;right:12px;bottom:8px;width:128px;height:155px;pointer-events:none}.upload-vs{position:absolute;right:0;top:0;display:grid;place-content:center;text-align:center;transform:rotate(-12deg);background:#f5a995;border:3px solid #343742;border-radius:20px;box-shadow:5px 5px #343742;width:88px;height:95px;font-size:24px;font-weight:900;line-height:1.05}.upload-spark{position:absolute;font-size:36px;color:#edac2c}.spark-one{top:-14px;left:5px;transform:rotate(12deg)}.spark-two{bottom:0;right:-4px;font-size:30px}.upload-pal{position:absolute;bottom:0;left:0;width:62px;height:56px;display:flex;gap:16px;align-items:center;justify-content:center;background:#bce2c2;border:3px solid #343742;border-radius:45% 45% 38% 38%;transform:rotate(9deg);box-shadow:3px 3px #34374233}.upload-pal i{height:8px;width:5px;background:#343742;border-radius:50%;margin-top:-10px}.upload-pal b{position:absolute;top:24px;font-size:16px}.home-upload:hover .upload-pal{transform:rotate(-6deg) translateY(-3px)}@media(max-width:760px){.home-dashboard>.home-upload{padding:15px 12px;justify-content:flex-start}.home-upload-copy{max-width:100%;gap:9px}.home-upload-copy>b{font-size:clamp(16px,4vw,22px);letter-spacing:0;line-height:1.4}.home-upload-cta{font-size:10px;line-height:1.4;padding:7px 8px;max-width:100%;border-radius:8px}.home-upload-decor{width:100px;height:92px;right:9px;bottom:8px}.upload-vs{width:59px;height:63px;border-radius:14px;font-size:17px;border-width:2px;box-shadow:3px 3px #343742}.upload-pal{width:43px;height:39px;border-width:2px;gap:11px}.upload-pal i{height:6px;width:4px;margin-top:-6px}.upload-pal b{top:16px;font-size:12px}.upload-spark{font-size:25px}.spark-two{font-size:23px;right:-3px}.spark-one{top:-8px;left:8px}}@media(max-width:380px){.home-upload-copy>b{font-size:15px}.home-upload-cta{font-size:9px}.home-upload-decor{transform:scale(.82);transform-origin:right bottom}}.impact-burst{position:absolute;left:50%;width:180px;height:180px;margin:-90px 0 0 -90px;pointer-events:none;z-index:12}.impact-cpu{top:23%}.impact-player{top:66%}.impact-burst>i{position:absolute;display:block}.impact-ring{inset:18%;border:7px solid #fff1a1;border-radius:50%;box-shadow:0 0 0 4px #ef9b3b,0 0 40px #ffe77d;animation:impact-ring .65s ease-out both}.impact-flash{inset:7%;background:#fff7ce;clip-path:polygon(50% 0,59% 30%,85% 10%,73% 40%,100% 50%,73% 59%,90% 89%,59% 72%,50% 100%,40% 72%,10% 90%,29% 59%,0 50%,30% 40%,10% 10%,40% 30%);animation:impact-pop .45s ease-out both}.impact-slash{height:10px;width:210px;left:-15px;top:80px;background:#fff;border:2px solid #e5a14c;border-radius:50%;transform:rotate(-38deg);box-shadow:0 0 16px #fff3b0;animation:impact-slash .5s ease-out both}.impact-spark{height:5px;width:20px;background:#ffd773;left:80px;top:85px;transform:rotate(var(--angle));border-radius:6px;animation:impact-spark .7s ease-out both}.damage-number{z-index:13}.damage-number b{animation:damage-bounce .65s cubic-bezier(.2,.9,.4,1.3);text-shadow:2px 2px 0 white,-2px -2px 0 white,0 4px 0 #fff7}@keyframes impact-ring{0%{transform:scale(.25);opacity:1}to{transform:scale(1.7);opacity:0}}@keyframes impact-pop{0%{transform:scale(.1) rotate(-10deg);opacity:0}25%{transform:scale(1.1);opacity:1}to{transform:scale(.9) rotate(12deg);opacity:0}}@keyframes impact-slash{0%{opacity:0;translate:-65px 45px;scale:.2 1}30%{opacity:1;scale:1 1}to{opacity:0;translate:50px -35px;scale:1.2 .1}}@keyframes impact-spark{0%{opacity:1;transform:rotate(var(--angle)) translate(10px) scale(.3)}to{opacity:0;transform:rotate(var(--angle)) translate(100px) scale(1)}}@keyframes damage-bounce{0%{scale:.3;translate:0 15px}45%{scale:1.25;translate:0 -12px}to{scale:1;translate:0 0}}@media(max-width:760px){.impact-burst{width:120px;height:120px;margin:-60px 0 0 -60px;left:31%}.impact-slash{width:140px;left:-10px;top:55px}.impact-spark{left:50px;top:55px}.impact-cpu{top:23%}.impact-player{top:64%}}@media(min-width:600px)and (max-height:520px){.impact-cpu{top:30%;left:15%}.impact-player{top:30%;left:65%}}@media(prefers-reduced-motion:reduce){.impact-burst{display:none}.damage-number b{animation:none}}.equipment-locked{position:relative;filter:grayscale(1);opacity:.75}.equipment-lock-badge{position:absolute;z-index:3;top:4px;left:2px;right:2px;font-size:9px;background:#603e64;color:#fff;padding:3px 2px;border-radius:5px;text-align:center}.category-\5c01\9396\88dd\5099 {background:#e8d9ef!important}.impact-burst{left:35%}.impact-ring{animation-duration:1.15s}.impact-flash{animation-duration:.95s}.impact-slash{animation-duration:1s}.impact-spark{animation-duration:1.2s}@keyframes impact-ring{0%{transform:scale(.25);opacity:1}40%{opacity:1}to{transform:scale(1.7);opacity:0}}@keyframes impact-pop{0%{transform:scale(.1) rotate(-10deg);opacity:0}25%,60%{transform:scale(1.1);opacity:1}to{transform:scale(.9) rotate(12deg);opacity:0}}@keyframes impact-slash{0%{opacity:0;translate:-65px 45px;scale:.2 1}30%,60%{opacity:1;scale:1 1}to{opacity:0;translate:50px -35px;scale:1.2 .1}}@media(max-width:760px){.impact-burst{left:31%}}@media(min-width:600px)and (max-height:520px){.impact-cpu{left:15%}.impact-player{left:65%}}.comic-tap{position:fixed;z-index:2147483000;pointer-events:none;transform:translate(-50%,-50%);font-size:18px;font-weight:900;color:#343742;text-shadow:2px 2px white,-2px -2px white;background:#ffe088;clip-path:polygon(50% 0,62% 25%,90% 10%,80% 40%,100% 60%,72% 68%,75% 100%,48% 80%,20% 100%,24% 68%,0 50%,25% 35%,10% 10%,40% 25%);padding:17px;animation:comic-tap .5s ease-out both}.comic-page-enter{animation:comic-page-enter .16s ease-out}.bound-skill-option:not(:disabled):hover,.bound-skill-option:not(:disabled):focus-visible{transform:translateY(-3px) rotate(-1deg);box-shadow:3px 5px #e4b948}.choosing-skill{animation:choose-card .4s ease-out}.skill-aura{position:absolute;width:180px;height:180px;margin:-90px 0 0 -90px;pointer-events:none;z-index:11;--aura:#ffc94b;color:var(--aura)}.aura-shield{--aura:#74c8f3}.aura-heal{--aura:#77d7a0}.aura-energy{--aura:#ffd046}.aura-lock{--aura:#bc8ed6}.aura-ring{position:absolute;inset:10%;border:7px double var(--aura);border-radius:50%;box-shadow:0 0 25px var(--aura),inset 0 0 15px #fff;animation:aura-ring 1.2s ease-out both}.aura-ring-two{inset:23%;border-width:3px;animation-delay:.15s}.aura-symbol{position:absolute;inset:0;display:grid;place-items:center;font-size:58px;color:var(--aura);text-shadow:3px 3px #fff,-3px -3px #fff;animation:aura-symbol 1.1s ease-out both}.aura-dot{position:absolute;top:85px;left:85px;background:var(--aura);height:10px;width:10px;clip-path:polygon(50% 0,65% 35%,100% 50%,65% 65%,50% 100%,35% 65%,0 50%,35% 35%);animation:aura-dot 1.2s ease-out both;transform:rotate(var(--angle))}.aura-lock .aura-ring{border-radius:14px;rotate:45deg}.aura-shield .aura-ring{border-radius:25% 25% 45% 45%}.aura-heal .aura-symbol{filter:drop-shadow(0 0 8px #39bd85)}@keyframes comic-tap{0%{opacity:0;scale:.2;rotate:-12deg}30%{opacity:1;scale:1.1}to{opacity:0;scale:1.25;translate:0 -25px;rotate:8deg}}@keyframes comic-page-enter{0%{opacity:.3;transform:translateY(7px) scale(.99)}to{opacity:1;transform:none}}@keyframes choose-card{50%{filter:drop-shadow(0 0 12px #ffd776);transform:rotate(-3deg) scale(1.04)}}@keyframes aura-ring{0%{opacity:0;scale:.25}30%,65%{opacity:1}to{opacity:0;scale:1.4}}@keyframes aura-symbol{0%{opacity:0;scale:.1;translate:0 20px}25%,65%{opacity:1;scale:1}to{opacity:0;translate:0 -25px;scale:1.1}}@keyframes aura-dot{0%{opacity:0;transform:rotate(var(--angle)) translate(12px) scale(.2)}30%{opacity:1}to{opacity:0;transform:rotate(var(--angle)) translate(105px) scale(1.4)}}@media(max-width:760px){.skill-aura{width:120px;height:120px;margin:-60px 0 0 -60px}.aura-symbol{font-size:42px}.aura-dot{top:55px;left:55px}.comic-tap{font-size:14px;padding:12px}}@media(prefers-reduced-motion:reduce){.comic-tap,.skill-aura{display:none}.comic-page-enter,.choosing-skill{animation:none}.bound-skill-option:hover{transform:none}}.main-nav .shop-nav{margin-left:auto;background:#ffe4a4;border-color:#343742;box-shadow:2px 2px #343742;white-space:nowrap}.main-nav .shop-nav.active{background:#ffc96c}.shop-hero{background:radial-gradient(#bc8b3925 1px,transparent 1px) 0 0/10px 10px,#ffe6a4;border:3px solid #343742;border-radius:20px;box-shadow:5px 5px #343742;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 30px}.shop-badge{display:inline-block;background:#fffdf7;border:2px solid #343742;border-radius:20px;font-size:12px;font-weight:700;padding:4px 12px}.shop-hero h2{font-size:29px;margin:12px 0 6px}.shop-hero p{font-size:13px;margin:0}.shop-hero .chibi-mascot{flex-shrink:0;margin-right:20px}.shop-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 18px}.shop-tabs .active{background:#ffd776;border-color:#343742}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.shop-product{position:relative;min-width:0;padding:18px;background:#fffdf7;border:2px solid #343742;border-radius:16px;box-shadow:4px 4px #d3c7af;display:flex;flex-direction:column}.shop-product-art{position:relative;display:grid;place-items:center;background:#fff0c2;min-height:110px;border-radius:12px;font-size:60px;color:#b87927;margin-bottom:14px}.shop-product-art span{position:absolute;top:8px;right:18px;font-size:34px}.shop-pink .shop-product-art{background:#f8dcd5;color:#bb695a}.shop-mint .shop-product-art{background:#e1eed9;color:#4b856e}.shop-category{font-size:12px;font-weight:700}.shop-product h3{font-size:20px;margin:8px 0}.shop-product p{font-size:13px;line-height:1.7;flex:1;margin:0 0 16px}.shop-product button:disabled{background:#eee8dc;color:#746c60;border-color:#b8ac97;cursor:default;box-shadow:none}.shop-status{font-size:13px;text-align:center;margin:24px 0 12px}.shop-hero .chibi-mascot{animation:chibi-bounce 1.2s ease-in-out infinite alternate}@media(max-width:760px){.shop-hero{padding:18px;gap:12px}.shop-hero h2{font-size:22px}.shop-hero p{font-size:12px}.shop-hero .chibi-mascot{margin-right:0;width:58px;height:56px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.shop-product{padding:12px}.shop-product-art{min-height:88px;font-size:45px}.shop-product h3{font-size:17px}.shop-product p{font-size:12px}.shop-tabs{margin:20px 0 14px;gap:7px}.shop-tabs button{padding:8px 12px}}@media(max-width:480px){.main-nav #saveStatus{display:none}.shop-grid{grid-template-columns:1fr}.shop-product-art{min-height:100px}.shop-hero h2{font-size:20px}}@media(prefers-reduced-motion:reduce){.shop-hero .chibi-mascot{animation:none}}.main-nav .sponsor-nav{background:#f9d8d1;white-space:nowrap;border:2px solid #343742;box-shadow:2px 2px #343742}.main-nav .sponsor-nav.active{background:#ffa99c}.shop-price{font-size:28px;color:#a44830;margin:0 0 16px}.sponsor-panel{max-width:640px;margin:24px auto}.sponsor-panel p{line-height:1.7}.sponsor-panel button:disabled{cursor:default;background:#eee8dc;color:#746c60}@media(max-width:480px){.main-nav{gap:6px;flex-wrap:wrap}.main-nav button{padding:8px 10px;font-size:13px}.main-nav .shop-nav{margin-left:auto}.main-nav .sponsor-nav{margin-left:0}}@keyframes comic-button-pop{0%,to{filter:brightness(1);scale:1}40%{filter:brightness(1.12);scale:1.045}70%{scale:.98}}.comic-button-pop{animation:comic-button-pop .32s ease-out!important}.sound-toggle{white-space:nowrap}.in-battle #soundToggle{display:block!important;position:fixed;right:18px;top:48px;z-index:120;font-size:12px;padding:6px 10px;background:#fff9e9}.in-battle header:has(#soundToggle){display:block!important;height:0;padding:0;border:0;overflow:visible}.in-battle header .brand,.in-battle header .top-actions>:not(#soundToggle){display:none!important}@media(max-width:600px){.sound-toggle{font-size:12px;padding:7px 9px}.in-battle #soundToggle{top:44px;right:10px}}@media(prefers-reduced-motion:reduce){.comic-button-pop{animation:none!important}}.art-loading{background:linear-gradient(120deg,#efe6cf,#fff7e1,#efe6cf);min-height:60px;object-fit:contain}.main-nav #saveStatus{display:none!important}.account-session{padding:12px 0 18px}.account-session-actions{display:flex;gap:12px;flex-wrap:wrap}.account-session p{overflow-wrap:anywhere}.account-session button:disabled{opacity:.5;cursor:default}.hand-type-tabs,.hand-deck-tools,.hand-deck-summary{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:16px 0}.hand-type-tabs .active{background:#ffd776}.hand-deck-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.hand-deck-heading>b{background:#ffdf8c;padding:8px 12px;border-radius:12px;white-space:nowrap}.hand-deck-editor{margin-top:24px}.hand-deck-tools select{min-width:180px;flex:1}.hand-pick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hand-pick-card{border:2px solid #343742;border-radius:14px;background:#fff8e8;padding:15px;display:flex;flex-direction:column;min-width:0}.hand-pick-card>div:first-child{display:flex;justify-content:space-between;gap:10px}.hand-pick-card>div:first-child>span{white-space:nowrap;color:#9c6224}.hand-pick-card p{font-size:14px;line-height:1.6;flex:1}.hand-count-controls{display:flex;justify-content:space-between;align-items:center;gap:10px}.hand-count-controls button{min-width:42px}.hand-count-controls button:disabled{opacity:.35;cursor:default}.hand-deck-summary>b{font-size:14px;background:#efe7d2;padding:8px 12px;border-radius:10px}@media(max-width:1050px){.hand-pick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.hand-pick-grid{grid-template-columns:1fr}.hand-type-tabs{gap:6px}.hand-type-tabs button{padding:8px 10px}.hand-deck-heading h2{font-size:20px}.hand-deck-tools select{width:100%;flex-basis:100%}}.hand-library-panel{-webkit-text-size-adjust:100%;text-size-adjust:100%}.hand-library-panel .skill-data-table{table-layout:fixed}.hand-library-panel .skill-data-table th,.hand-library-panel .skill-data-table td{font-size:15px;line-height:1.7;vertical-align:top;white-space:normal;overflow-wrap:anywhere}.hand-library-panel .skill-data-table th:first-child{min-width:0;width:82px}.hand-library-panel .skill-data-table th:nth-child(2){width:64px}.hand-library-panel .skill-data-table tbody td:last-child{font-size:15px;line-height:1.7;font-weight:400;color:var(--text);white-space:normal}@media(max-width:600px){.hand-library-panel .skill-data-table th,.hand-library-panel .skill-data-table td{font-size:15px;padding:10px 8px}.hand-library-panel .skill-data-table th:first-child{width:68px}.hand-library-panel .skill-data-table th:nth-child(2){width:50px}}.sponsor-bank-row{margin:22px 0}.sponsor-bank-row>label{display:block;font-weight:700;margin-bottom:8px}.sponsor-bank-row>div{display:flex;gap:12px;align-items:stretch}.sponsor-bank-row input{min-width:0;flex:1;font-size:20px;font-weight:700;letter-spacing:1px;border:2px solid #343742;border-radius:12px;padding:12px;background:#fff8e5;color:#292d38;font-variant-numeric:tabular-nums}.sponsor-bank-row button{flex-shrink:0;white-space:nowrap}.sponsor-copy-status{min-height:24px;color:#287053;font-weight:700}@media(max-width:600px){.sponsor-bank-row>div{flex-wrap:wrap}.sponsor-bank-row input{flex-basis:100%;width:100%;font-size:20px}.sponsor-bank-row button{width:100%}}.match-clock{margin:18px auto 24px;max-width:300px;text-align:center}.match-timer{display:block;font-size:clamp(36px,8vw,58px);font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:.06em;color:#292d39;text-shadow:2px 3px #ffe18a}.match-clock-track{height:12px;margin-top:10px;border:2px solid #292d39;border-radius:20px;overflow:hidden;background:#fff9e9}.match-clock-track i{display:block;height:100%;width:0;background:#ffcd54;transition:width 1s linear}.friend-light{display:inline-block;width:11px;height:11px;margin-right:9px;border-radius:50%;background:#b7b9b3;border:1px solid #969b95;vertical-align:middle;flex:none}.friend-light.online{background:#35ce72;border-color:#168c46;box-shadow:0 0 0 3px #35ce7226,0 0 9px #35ce7280}.friend-invite-toast{position:fixed;inset:auto 18px 22px auto;z-index:10000;margin:0;width:min(390px,calc(100vw - 36px));padding:20px;border:3px solid #292d39;border-radius:20px;background:#fff7dc;color:#292d39;box-shadow:5px 6px #292d39;animation:invite-arrive .25s ease-out}.friend-invite-toast strong{display:block;font-size:20px}.friend-invite-toast>div{display:flex;gap:10px;margin-top:14px}.friend-invite-toast button{flex:1}.friend-invite-toast .invite-message:empty{display:none}@keyframes invite-arrive{0%{transform:translateY(25px) scale(.92);opacity:0}to{transform:none;opacity:1}}@media(prefers-reduced-motion:reduce){.friend-invite-toast{animation:none}.match-clock-track i{transition:none}}.equality-status{margin:6px 0;padding:6px 9px;border:2px solid #78639b;border-radius:9px;background:#efe4ff;color:#4d386e;font-size:13px;font-weight:800}.main-nav .mail-nav{white-space:nowrap;background:#e8efff}.mail-nav #mailUnread{display:inline-block;min-width:18px;margin-left:5px;padding:1px 5px;border-radius:20px;background:#d84f4f;color:#fff;font-size:11px}.mail-nav #mailUnread[hidden]{display:none}.mail-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.mail-layout{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2fr);gap:20px}.mail-list{display:flex;flex-direction:column;gap:10px}.mail-entry{text-align:left;padding:14px;border:2px solid #343742;border-radius:12px;background:#fff9ed}.mail-entry b,.mail-entry span{display:block}.mail-entry span{font-size:12px;margin-top:8px}.mail-entry.unread{background:#fff0bb}.mail-entry.selected{background:#dff0df}.mail-detail{min-width:0;padding:20px;border:2px solid #c7bca0;border-radius:16px;background:#fffdf5}.mail-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.mail-rewards{padding:15px;margin:20px 0;border:2px dashed #c58c2d;background:#fff0b9;border-radius:12px}.mail-empty{text-align:center;padding:30px}.mail-empty>b{font-size:48px}@media(max-width:600px){.mail-layout{grid-template-columns:1fr}.mail-heading h2{font-size:20px}.mail-heading button{padding:8px}.mail-detail{padding:15px}}.admin-entry{margin-bottom:18px;background:#ead6ff!important}.comm-admin-dialog{width:min(960px,calc(100vw - 24px));max-width:960px}.admin-private{padding:10px 14px;border-radius:12px;background:#f0e1ff;color:#584076;font-weight:800}.comm-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.comm-skill-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:330px;overflow:auto;padding:4px}.comm-skill-picker label{display:block;padding:10px;border:2px solid #b9abc6;border-radius:10px;background:#fffdf7}.comm-skill-picker small{display:block;line-height:1.5;margin-top:5px}.comm-skill-picker input{margin-right:6px}.comm-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.comm-actions button{flex:1}.comm-template-select{width:100%;padding:12px}.comm-preview-dialog{width:min(430px,calc(100vw - 24px));padding:28px}.comm-preview-card{position:relative;padding:16px;border-radius:22px;color:#35303d}.comm-preview-art{position:relative;aspect-ratio:1}.comm-preview-art img{width:100%;height:100%;object-fit:contain;border-radius:12px;background:#fffdf2}.commemorative-card{position:relative;isolation:isolate;border:4px solid #c99a37!important;background:linear-gradient(135deg,#fff3b0,#fff9ed 28%,#e5ddff 65%,#d8f6ee)!important;box-shadow:0 0 0 2px #fff6cf,5px 6px #55465e,0 0 20px #d7b34e40!important;overflow:hidden}.commemorative-card:after{content:"";position:absolute;inset:-30%;z-index:2;pointer-events:none;background:linear-gradient(115deg,transparent 36%,#fff7 43%,#f9e7ff55 48%,transparent 56%);transform:translate(-55%);transition:transform .7s;mix-blend-mode:soft-light}.commemorative-card:hover:after,.commemorative-card:focus-visible:after{transform:translate(35%)}.comm-event{display:block;font-size:12px;font-weight:900;color:#8c6122;letter-spacing:.05em;margin:5px 0 10px}.comm-serial{display:block;font:700 11px ui-monospace,monospace;color:#655277;letter-spacing:.03em;margin:8px 0}.comm-detail-band{padding:14px;margin:16px 0;background:linear-gradient(110deg,#fff0b7,#eadfff,#dbf9ed);border:2px solid #caa34a;border-radius:12px}.comm-detail-band b,.comm-detail-band span{display:block}.comm-detail-band span{font-family:ui-monospace,monospace;margin-top:7px}.battle-comm-serial{font:700 8px ui-monospace,monospace;text-align:center;color:#785720;padding:3px}.comm-preview-card h3{font-size:23px;margin:14px 0 6px}@media(max-width:600px){.comm-editor-grid,.comm-skill-picker{grid-template-columns:1fr}.comm-actions{gap:8px}.comm-admin-dialog{padding:22px 14px}.comm-skill-picker{max-height:260px}.comm-serial{font-size:10px}}@media(prefers-reduced-motion:reduce){.commemorative-card:after{transition:none}}.comm-editor-grid input[type=range]{width:100%;min-height:24px;padding:0;accent-color:#986db8}.preparing-action{animation:action-ready .35s ease-in-out infinite alternate;filter:drop-shadow(0 0 9px #ffcf54)}.network-action-status{position:absolute;bottom:88px;right:18px;z-index:12;padding:6px 12px;border:2px solid #343742;border-radius:15px;background:#fff0b9;color:#343742;font-size:13px;font-weight:800;pointer-events:none}.network-action-status[hidden]{display:none}.network-action-pending #resolve,.network-action-pending #endTurn,.network-action-pending .bound-skill-option{pointer-events:none;opacity:.7}@keyframes action-ready{0%{transform:translateY(0) rotate(-1deg)}to{transform:translateY(-4px) rotate(1deg)}}@media(prefers-reduced-motion:reduce){.preparing-action{animation:none;outline:3px solid #eab841}}.limited-entry-banner{position:absolute;inset:0;z-index:14;display:grid;align-content:center;justify-items:center;gap:12px;padding:20px;box-sizing:border-box;pointer-events:none;overflow:hidden}.limited-banner-fallback{position:fixed}.limited-banner-row{display:flex;align-items:center;justify-content:center;gap:10px;width:fit-content;max-width:min(850px,100%);box-sizing:border-box;padding:14px 24px;border:4px solid #34283f;border-radius:18px 6px;background:linear-gradient(115deg,#fff3ac,#fffbed 55%,#e8d7ff);box-shadow:5px 6px #34283f,0 0 24px #ffe98170;transform:rotate(-2deg);animation:limited-banner-pop 2s ease both}.limited-banner-row.entry-cpu{transform:rotate(2deg);background:linear-gradient(115deg,#ffe0df,#fffbed 55%,#d9f5ee)}.limited-banner-row strong{font-size:clamp(19px,3vw,38px);line-height:1.3;text-align:center;overflow-wrap:anywhere;color:#45304b;font-weight:900;text-shadow:1px 2px 0 #fff}.limited-banner-star{font-size:clamp(23px,4vw,42px);color:#d89a24;-webkit-text-stroke:1px #674766;flex:none}.limited-board-shake{animation:limited-board-jolt .45s ease-out}@keyframes limited-board-jolt{0%,to{translate:0 0}12%,58%{translate:-5px 2px}28%,74%{translate:5px -2px}44%,88%{translate:-3px -1px}}@keyframes limited-banner-pop{0%{opacity:0;scale:.65;translate:0 12px}12%,78%{opacity:1;scale:1;translate:0 0}to{opacity:0;scale:1.04;translate:0 -12px}}@media(max-width:650px){.limited-entry-banner{padding:12px;gap:9px}.limited-banner-row{border-width:3px;padding:10px 12px;gap:6px;box-shadow:3px 4px #34283f}.limited-banner-row strong{font-size:clamp(15px,4.1vw,23px)}.limited-banner-star{font-size:23px}}@media(prefers-reduced-motion:reduce){.limited-board-shake{animation:none}.limited-banner-row{animation:limited-banner-fade 2s ease both;transform:none}@keyframes limited-banner-fade{0%,to{opacity:0}12%,80%{opacity:1}}}.field-info{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:24px;max-width:100%;padding:0 5px;border:0;border-radius:12px;background:transparent;color:inherit;touch-action:manipulation;flex-shrink:0}.field-info strong{font-size:14px;line-height:1.2}.field-info .field-medallion{display:inline-flex;align-items:center;justify-content:center;margin:0;flex-shrink:0}#fieldDetails{width:min(420px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:28px 24px;overflow:auto;border:3px solid var(--line);border-radius:20px;background:var(--bg);color:var(--text);box-shadow:5px 6px 0 var(--line)}#fieldDetails h2{padding-right:24px;font-size:21px}#fieldDetails p{font-size:16px;line-height:1.7}#fieldDetailsWarning{color:#9b432d;font-weight:600}#fieldDetails::backdrop{background:#292d3870}#confirmFieldDetails{min-height:42px;padding:8px 20px}@media(max-width:760px){.field-info strong{font-size:12px}.field-info{gap:5px}}#partnerTour{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;border:0;background:transparent;overflow:hidden;color:var(--text);pointer-events:none}#partnerTour::backdrop{background:#292d3880;backdrop-filter:none}.tour-focus{position:fixed;border:4px solid #ffd15f;border-radius:22px;box-shadow:0 0 0 4px #fff8,0 0 28px #ffd15f;pointer-events:none}.tour-card{position:fixed;left:50%;transform:translate(-50%);width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 24px);overflow:auto;padding:20px;background:#fff9ed;border:3px solid #292d38;border-radius:22px;box-shadow:5px 6px #292d38;pointer-events:auto}.tour-top,.tour-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.tour-count{font-weight:800;color:#95600d}.tour-card h2{font-size:22px;margin:12px 0}.tour-copy{font-size:16px;line-height:1.65;margin:12px 0 20px}.tour-actions button{min-height:44px;padding:9px 18px}.tour-top button{min-height:36px}.tour-actions button:disabled{opacity:.4}@media(max-height:520px){.tour-card{width:min(540px,calc(100vw - 28px));padding:12px}.tour-copy{font-size:14px;margin:8px 0}.tour-card h2{font-size:18px;margin:6px 0}}#battleLesson{position:fixed;inset:0;z-index:120;pointer-events:none}.battle-lesson-focus{position:fixed;border:3px solid #ffd15f;border-radius:14px;box-shadow:0 0 0 3px #fff9,0 0 24px #ffc944;pointer-events:none}.battle-lesson-card{position:fixed;left:50%;transform:translate(-50%);width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 20px);overflow:auto;pointer-events:auto;padding:16px 20px;background:#fff9ed;color:#292d38;border:3px solid #292d38;border-radius:20px;box-shadow:4px 5px #292d38}.battle-lesson-card h2{font-size:20px;margin:10px 0}.battle-lesson-card p{font-size:15px;line-height:1.65;margin:10px 0}.battle-lesson-card button{min-height:40px;padding:7px 14px}.battle-lesson-count{color:#97611a}.battle-lesson-hint{display:block;font-size:13px;color:#9b641b}.battle-lesson-card .tour-top button{padding:3px 6px}.battle-lesson-card [data-lesson-next]{display:block;margin-left:auto;margin-top:10px}@media(max-width:600px){.battle-lesson-card{padding:12px 14px}.battle-lesson-card p{font-size:14px;line-height:1.5}.battle-lesson-card h2{font-size:18px}}@media(max-height:520px){.battle-lesson-card{width:min(480px,calc(100vw - 24px));padding:8px 12px}.battle-lesson-card h2{font-size:17px;margin:4px 0}.battle-lesson-card p{font-size:13px;margin:4px 0}}.skill-draw-page{max-width:1120px;margin:0 auto}.draw-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.draw-heading h2{margin:6px 0;font-size:clamp(21px,3vw,29px)}.draw-kicker{font-weight:700;color:#a76526;font-size:13px}.coin-wallet{display:flex;align-items:center;gap:10px;background:#fff1bd;border:2px solid #292d38;border-radius:18px;padding:10px 20px;box-shadow:3px 4px #292d38;min-width:150px}.coin-wallet>span{font-size:34px;color:#d89a21;text-shadow:1px 2px #fff1bd}.coin-wallet small{display:block;font-size:12px}.coin-wallet strong{display:block;font-size:25px}.draw-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.draw-tabs button{padding:9px 17px;min-height:42px}.draw-tabs .active{background:#ffda71}.draw-stage{display:grid;grid-template-columns:1fr 1fr;align-items:center;position:relative;border:3px solid #292d38;border-radius:24px;box-shadow:5px 6px #292d38;background:radial-gradient(#e7b84a33 1px,transparent 1px) 0 0/14px 14px,#fff0cb;padding:30px 34px 18px;overflow:hidden}.draw-stage-copy{position:relative;z-index:1}.draw-stage-copy h3{font-size:clamp(23px,4vw,34px);margin:18px 0 10px}.draw-stage-copy p{line-height:1.6}.draw-pool-badge,.draw-status{display:inline-block;border:2px solid #292d38;border-radius:30px;padding:5px 12px;font-size:13px;font-weight:700;background:#fffdf4}.draw-status{background:#e4dcf4;margin-top:10px}.draw-machine{position:relative;height:245px;width:100%;display:grid;place-items:center}.draw-fan-card{position:absolute;width:110px;height:155px;border:4px solid #292d38;border-radius:15px;box-shadow:4px 5px #292d38;display:grid;place-items:center;font-size:47px;top:40px}.fan-left{background:#c5e5d2;transform:translate(-72px) rotate(-19deg)}.fan-right{background:#f0bfd1;transform:translate(72px) rotate(19deg)}.fan-front{background:linear-gradient(140deg,#fff7c7,#ffcd60);transform:rotate(-4deg);font-size:59px}.fan-front b{font-size:12px;letter-spacing:4px;border-bottom:2px solid #292d38;width:100%;text-align:center;padding:7px}.fan-front i{font-size:15px;letter-spacing:3px;font-style:normal;padding-bottom:8px}.draw-pop{position:absolute;bottom:3px;transform:rotate(-6deg);border:3px solid #292d38;border-radius:12px;background:#fffdf5;padding:7px 18px;font-size:19px;font-weight:900;box-shadow:3px 3px #292d38}.draw-spark{position:absolute;font-size:36px;color:#d39828;font-style:normal}.spark-a{top:8px;right:14%}.spark-b{bottom:28px;left:8%}.draw-buttons{grid-column:1/-1;display:flex;justify-content:center;gap:16px;margin-top:25px}.draw-buttons button{width:220px;display:flex;flex-direction:column;gap:6px;align-items:center;padding:12px;border-radius:15px;opacity:.75}.draw-buttons b{font-size:20px}.draw-buttons span{font-size:13px}.draw-buttons .draw-ten{background:#f0bfd1}.draw-footnote{grid-column:1/-1;text-align:center;font-size:13px;margin:16px 0 0;color:#615743}.draw-pool-details,.coin-rules{margin-top:24px}.draw-pool-details summary,.coin-rules summary{font-size:17px;font-weight:800;cursor:pointer;min-height:30px}.draw-pool-details>p,.coin-rules>p{line-height:1.65}.draw-skill-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.draw-skill-grid article{display:flex;gap:10px;align-items:flex-start;border:2px solid #d4c4a4;border-radius:14px;background:#fffdf5;padding:12px}.draw-skill-grid h4{font-size:15px;margin:0 0 7px}.draw-skill-grid p{font-size:13px;line-height:1.5;margin:0}.draw-skill-symbol{color:#b98632;font-size:24px}.draw-skill-odds{margin-left:auto;font-size:12px;font-weight:800;color:#91632c;white-space:nowrap}.draw-empty{text-align:center;padding:40px 20px}.draw-empty>span{font-size:52px}.draw-empty p{line-height:1.6}.draw-empty button{padding:10px 18px}.coin-rules table{width:100%;border-collapse:collapse;margin-top:16px}.coin-rules th,.coin-rules td{padding:12px;text-align:left;border-bottom:1px solid #d4c4a4}.coin-rules td:not(:first-child){font-weight:800;color:#307f64}.coin-today{display:flex;justify-content:space-between;gap:15px;margin-top:15px}.coin-result{margin-top:12px;padding:12px;border:2px solid #c49838;border-radius:12px;background:#fff0ba;font-size:18px;font-weight:800}@media(max-width:650px){.draw-heading{align-items:flex-start;gap:10px}.coin-wallet{min-width:100px;padding:8px 10px;gap:6px}.coin-wallet>span{font-size:25px}.coin-wallet strong{font-size:22px}.draw-heading h2{font-size:21px;max-width:210px}.draw-stage{grid-template-columns:1fr;padding:20px 16px 16px}.draw-stage-copy{text-align:center}.draw-stage-copy h3{margin:12px 0 7px;font-size:26px}.draw-stage-copy p{margin:6px 0}.draw-machine{height:225px}.draw-buttons{gap:12px;margin-top:12px}.draw-buttons button{min-width:0;flex:1;padding:12px 7px}.draw-tabs{gap:7px}.draw-tabs button{flex:1;padding:8px 7px;font-size:13px}.draw-skill-grid{grid-template-columns:1fr}.draw-skill-grid article{padding:11px}.coin-rules td,.coin-rules th{padding:10px 6px}}@media(prefers-reduced-motion:no-preference){.draw-machine .fan-front{animation:draw-card-float 3s ease-in-out infinite}@keyframes draw-card-float{50%{transform:translateY(-8px) rotate(3deg)}}}.draw-stage{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.draw-buttons{min-width:0;width:100%}.draw-buttons button{flex:1 1 0;width:0;min-width:0;max-width:220px}@media(max-width:650px){.draw-stage{grid-template-columns:minmax(0,1fr)}.draw-heading h2{font-size:20px}.draw-stage-copy h3{font-size:24px}}.draw-heading h2 span{display:inline-block}.coin-result small{display:block;margin-top:6px;font-size:12px;font-weight:500}.coin-result button{margin-left:8px;padding:4px 10px;font-size:13px}.draw-nav{white-space:nowrap}@media(max-width:650px){.draw-stage{padding:16px 14px 14px}.draw-stage-copy h3{font-size:22px;margin:9px 0 6px}.draw-stage-copy p{font-size:14px}.draw-status{margin-top:5px}.draw-machine{height:170px}.draw-fan-card{width:90px;height:125px;top:25px}.fan-left{transform:translate(-58px) rotate(-19deg)}.fan-right{transform:translate(58px) rotate(19deg)}.fan-front{font-size:43px}.fan-front b{font-size:10px;padding:5px;letter-spacing:3px}.fan-front i{font-size:12px;padding-bottom:5px}.draw-pop{font-size:16px;padding:5px 13px}.draw-buttons{margin-top:8px}.draw-footnote{font-size:12px;margin-top:12px}}.account-battle-stats{margin:16px 0;padding:16px;border:2px solid #d2bea1;border-radius:16px;background:#fff9e8}.account-battle-stats h3{margin:0 0 12px}.battle-stats-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;text-align:center}.battle-stats-summary>div{background:#ffe7a3;border-radius:12px;padding:12px 6px}.battle-stats-summary strong{display:block;font-size:25px}.battle-stats-summary span{display:block;margin-top:4px;font-size:12px}.battle-stats-row{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;border-top:1px solid #d2bea1;margin-top:14px;padding-top:12px}.battle-stats-row small{flex-basis:100%;font-size:12px}.home-dashboard{grid-template-areas:"upload loadout" "library friends" "start settings" "draw draw";grid-template-rows:minmax(180px,1.4fr) minmax(90px,.8fr) 48px 44px;height:clamp(400px,calc(100dvh - 210px),570px)}.home-dashboard>.home-draw{grid-area:draw;background:#e5dcf3;flex-direction:row;gap:8px;font-size:18px;font-weight:800;padding:6px 14px;border-radius:12px}@media(max-width:760px){.home-dashboard{grid-template-rows:minmax(170px,1.6fr) minmax(80px,.8fr) 48px 44px;height:clamp(400px,calc(100dvh - 245px),570px)}.home-dashboard>.home-draw{font-size:16px}.battle-stats-summary strong{font-size:22px}}.home-dashboard{grid-template-areas:"upload loadout" "library friends" "start settings";grid-template-rows:minmax(180px,1.4fr) minmax(90px,.8fr) 48px;height:clamp(350px,calc(100dvh - 210px),530px)}.draw-stage{padding-top:56px}.draw-pool-button{position:absolute;right:14px;top:12px;z-index:2;min-height:34px;padding:5px 10px;font-size:12px;background:#fffdf5}.draw-pool-dialog{width:min(860px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;padding:25px;border:3px solid #292d38;border-radius:20px;background:#fff9ed;color:#292d38}.draw-pool-dialog h2{font-size:21px;padding-right:25px}.draw-pool-dialog>p{line-height:1.65}.draw-pool-dialog::backdrop{background:#292d3870}.owned-draw-ticket{display:flex;align-items:center;gap:15px;padding:16px;background:#fff0bf;border:2px solid #d1bb80;border-radius:15px;margin-bottom:16px}.owned-draw-ticket>span{font-size:36px}.owned-draw-ticket p{font-size:13px;line-height:1.6;margin-bottom:0}@media(max-width:760px){.home-dashboard{grid-template-rows:minmax(170px,1.6fr) minmax(80px,.8fr) 48px;height:clamp(340px,calc(100dvh - 245px),530px)}}@media(max-width:650px){.draw-stage{padding-top:56px}.draw-pool-dialog{padding:20px 15px}.draw-pool-dialog h2{font-size:18px}.draw-pool-button{font-size:11px;right:12px;top:11px}}.admin-mode-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0 22px}.admin-mode-tabs button{padding:10px 16px;min-height:42px}.admin-mode-tabs .active{background:#ffdc77}.reward-picker{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:12px;align-items:end}.reward-picker>button{grid-column:1/-1;padding:10px}.admin-reward-list{margin:14px 0}.admin-reward-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border:1px solid #d3c3a5;border-radius:10px;margin-bottom:8px;background:#fff7dc}.admin-reward-preview{margin:14px 0;padding:14px;border-radius:12px;background:#fff1cf}#commRewardPanel textarea{width:100%;font:inherit;color:inherit;border:2px solid #b8ad96;border-radius:10px;padding:10px;background:#fffdf7}#skillRewardTemplate{width:100%;padding:10px;font:inherit;border:2px solid #b8ad96;border-radius:10px;background:#fffdf7}#commRewardPanel .comm-actions{flex-wrap:wrap}@media(max-width:650px){.reward-picker{grid-template-columns:1fr}.reward-picker>button{grid-column:auto}.admin-mode-tabs button{flex:1;padding:9px 8px}.admin-reward-list>div{align-items:flex-start}.admin-reward-list b{overflow-wrap:anywhere}}.owned-draw-ticket button{padding:8px 13px;margin-top:10px;margin-right:8px}.draw-skill-grid article button{padding:7px 12px;margin-top:12px}.ticket-effect{padding:14px;border:2px solid #d4bc7c;border-radius:12px;background:#fff0c8;line-height:1.65}.ticket-slot{display:flex;align-items:flex-start;gap:10px;border:2px solid #d4c4a4;border-radius:12px;padding:12px;margin:10px 0;cursor:pointer;background:#fffdf6}.ticket-slot:has(input:checked){border-color:#a97622;background:#fff0bd}.ticket-slot input{margin-top:4px}.ticket-slot p{font-size:13px;line-height:1.6;margin:6px 0 0}.ticket-use-note{font-size:13px;line-height:1.65}#ticketReplaceSummary{font-weight:800;color:#946122}.ticket-reveal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.ticket-reveal-grid:has(>article:only-child){grid-template-columns:1fr}.ticket-reveal-card{border:3px solid #292d38;border-radius:18px;background:linear-gradient(135deg,#fff6ce,#ffe4a0);padding:18px;box-shadow:3px 4px #292d38}.ticket-reveal-card>span{font-size:28px;color:#ac7730}.ticket-reveal-card h3{font-size:19px;margin:8px 0}.ticket-reveal-card p{font-size:14px;line-height:1.6}.ticket-reveal-card button{padding:8px 14px}.skill-draw-history article{padding:14px 0;border-bottom:1px solid #d4c4a4}.skill-draw-history time{display:block;font-size:12px;margin-bottom:8px}.skill-draw-history p{line-height:1.6}@media(max-width:600px){.ticket-reveal-grid{grid-template-columns:1fr}.ticket-slot{padding:10px}}@media(prefers-reduced-motion:no-preference){.ticket-reveal-card{animation:ticket-reveal .35s ease-out}@keyframes ticket-reveal{0%{opacity:0;transform:translateY(12px) rotate(-3deg)}to{opacity:1;transform:none}}}.draw-buttons button:not(:disabled){opacity:1}.draw-buttons button:disabled{opacity:.45}.initiative-scene{position:absolute;inset:0;z-index:90;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff5dce8;gap:10px;border-radius:16px;pointer-events:auto}.initiative-title,.initiative-result{font-size:clamp(20px,4vw,32px);font-weight:900;color:#2b2e3a}.initiative-pointer{font-size:28px;color:#b16c36;margin-bottom:-25px;z-index:2}.initiative-wheel{position:relative;flex:none;width:190px;height:190px;border:7px solid #303440;border-radius:50%;background:conic-gradient(#bde6ca 0deg 180deg,#ffd17e 180deg 360deg);box-shadow:5px 6px #303440;transition:transform 1.6s cubic-bezier(.12,.7,.1,1)}.initiative-wheel span{position:absolute;top:82px;font-size:17px;font-weight:900;color:#303440}.initiative-wheel span:first-child{right:8px}.initiative-wheel span:last-child{left:3px}.initiative-result{min-height:38px}.table{position:relative}@media(max-height:600px){.initiative-wheel{width:150px;height:150px}.initiative-wheel span{top:60px;font-size:14px}.initiative-scene{gap:4px}}body.battle-complete .fighter-status,body.battle-complete .battle-status,body.battle-complete .combat-status{display:none!important}body.battle-complete .result{z-index:100!important}.coin-result{display:flex;flex-direction:column;align-items:center;gap:10px;overflow-wrap:anywhere}.coin-result button{margin:0;min-height:44px}.coin-result .settlement-error{font-size:12px;font-weight:500;line-height:1.5}.duel-result-actions{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;margin-top:22px}.duel-result-actions button{min-height:48px;padding:13px 22px!important;margin:0!important}.draw-animating{position:relative;min-height:340px;overflow:hidden}.draw-animating>:not(.draw-cinematic){visibility:hidden}.draw-cinematic{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:radial-gradient(circle,#fff9de 15%,#ffdc7b);isolation:isolate;color:#292d38;overflow:hidden}.draw-burst-lines{position:absolute;inset:-100%;z-index:-1;background:repeating-conic-gradient(from 0deg,#f6b83944 0 8deg,transparent 8deg 23deg);animation:draw-ray-spin 8s linear infinite}.draw-comic-word{font-size:clamp(22px,5vw,32px);font-weight:900;transform:rotate(-7deg);text-shadow:2px 2px white}.draw-flip-card{width:110px;height:148px;border:4px solid #292d38;border-radius:14px;box-shadow:6px 7px #292d38;background:linear-gradient(135deg,#e7dafa,#ffdd78);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;animation:draw-card-charge 1.4s ease-in-out both}.draw-flip-card b{font-size:55px}.draw-flip-card span{font-size:14px;font-weight:900}.draw-cinematic-stars{font-size:28px;color:#ad7021;letter-spacing:20px;animation:draw-stars .55s ease-in-out infinite alternate}.drawn-card-reveal{animation:draw-result-pop .45s cubic-bezier(.15,.7,.25,1.3) both}.drawn-card-reveal:nth-child(2n){animation-delay:.08s}.drawn-card-reveal:nth-child(3n){animation-delay:.14s}@keyframes draw-ray-spin{to{transform:rotate(360deg)}}@keyframes draw-card-charge{0%{transform:scale(.6) rotate(-16deg)}35%{transform:scale(1) rotate(8deg)}55%{transform:rotate(-8deg)}80%{transform:rotateY(180deg) scale(1.08)}to{transform:rotateY(360deg) scale(1)}}@keyframes draw-stars{0%{opacity:.5;transform:scale(.8)}to{opacity:1;transform:scale(1.1)}}@keyframes draw-result-pop{0%{opacity:0;transform:translateY(20px) scale(.85) rotate(-4deg)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.draw-flip-card,.draw-burst-lines,.draw-cinematic-stars,.drawn-card-reveal{animation:none}}@media(max-width:600px){.duel-result-actions{gap:12px}.duel-result-actions button{min-width:130px;font-size:15px!important}}.potential-stage{margin-top:24px;background:linear-gradient(145deg,#f5fff4,#d9eddf);border:3px solid #292d38;box-shadow:5px 6px #292d38}.potential-stage-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.potential-stage h3{font-size:clamp(22px,3vw,30px);margin:14px 0}.potential-wallet{display:flex;flex-direction:column;align-items:center;min-width:110px;background:#fff9dc;border:2px solid #292d38;border-radius:18px;padding:12px}.potential-wallet>span{font-size:32px;color:#52836d}.potential-wallet b{font-size:24px}.potential-odds{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.potential-odds span{background:#fffdf5;border:1px solid #b5c6b8;padding:8px 12px;border-radius:12px}.potential-stage .draw-buttons{margin-bottom:18px}.potential-manage{margin-top:10px}.potential-note{font-size:13px;line-height:1.6}.potential-editor-stats{display:flex;flex-wrap:wrap;gap:14px;margin:16px 0;padding:12px;background:#e1eddf;border-radius:12px}.potential-step{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #dbcdb1}.potential-step>div{flex:1}.potential-step small{display:block;margin-top:5px;font-size:12px}.potential-step button{min-width:44px;min-height:44px;font-size:20px}.potential-step>strong{min-width:20px;text-align:center}@media(max-width:600px){.potential-stage-heading{align-items:flex-start}.potential-stage .draw-buttons{gap:10px}.potential-stage .draw-buttons b{font-size:17px}.potential-wallet{min-width:90px;padding:10px}.potential-stage h3{font-size:22px}}button:active:not(:disabled),summary:active{transform:translate(1px,2px);filter:brightness(1.04)}.potential-cinematic{background:radial-gradient(circle,#f5fff0 10%,#b3e0c3 70%,#78bea6);min-height:340px}.potential-cinematic .draw-burst-lines{background:repeating-conic-gradient(from 10deg,#49987935 0 7deg,transparent 7deg 22deg)}.potential-cinematic .draw-flip-card{position:relative;z-index:2;background:linear-gradient(135deg,#e6fff1,#86cfad);border-color:#284e42;box-shadow:6px 7px #284e42}.potential-cinematic .draw-comic-word{position:relative;z-index:3;color:#265c47}.potential-charge-orbit{position:absolute;width:200px;height:200px;border:4px dashed #fff4a9;border-radius:50%;top:calc(50% - 100px);left:calc(50% - 100px);font-size:34px;color:#fff7bb;animation:potential-orbit 2s linear infinite}.potential-back-card{position:absolute;top:calc(50% - 70px);width:100px;height:140px;display:grid;place-items:center;font-size:40px;background:#fff2ba;border:3px solid #284e42;border-radius:14px;box-shadow:4px 4px #284e42;z-index:1}.potential-back-card.back-left{left:calc(50% - 100px);transform:rotate(-20deg);animation:potential-fan-left .7s ease-out both}.potential-back-card.back-right{left:50%;transform:rotate(20deg);animation:potential-fan-right .7s ease-out both}.potential-cinematic .draw-cinematic-stars{position:relative;z-index:3;color:#286d52}@keyframes potential-orbit{to{transform:rotate(360deg)}}@keyframes potential-fan-left{0%{transform:rotate(0) translate(50px);opacity:0}to{transform:rotate(-20deg);opacity:1}}@keyframes potential-fan-right{0%{transform:rotate(0) translate(-50px);opacity:0}to{transform:rotate(20deg);opacity:1}}@media(prefers-reduced-motion:reduce){.potential-charge-orbit,.potential-back-card{animation:none}}.home-dashboard>.home-ranked{background:#ffdf88}.rank-preparation{--rank-color:#9b6c40;--rank-tint:#f2e1c6;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px}.rank-tier-1{--rank-color:#397eac;--rank-tint:#d8eff8}.rank-tier-2{--rank-color:#b94d39;--rank-tint:#ffe2c8}.rank-tier-3{--rank-color:#8550a7;--rank-tint:#ebdcfa}.rank-tier-4{--rank-color:#b18b24;--rank-tint:#fff1b3}.rank-hero{display:flex;flex-direction:column;align-items:center;text-align:center;border:3px solid #292d38;border-radius:22px;box-shadow:5px 6px #292d38;background:radial-gradient(circle at center,#fffdf1 0,var(--rank-tint) 70%);padding:24px;position:relative;overflow:hidden}.rank-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(var(--rank-color) 1px,transparent 1px) 0 0/13px 13px;opacity:.12;pointer-events:none}.rank-hero>*{position:relative}.rank-kicker{background:#292d38;color:#ffe188;border-radius:24px;padding:6px 15px;font-weight:800}.rank-hero h2{font-size:23px;margin:16px 0 6px}.rank-badge{text-align:center;display:flex;flex-direction:column;align-items:center;color:#292d38}.rank-badge-art{width:240px;height:225px;background-image:url(assets/rank-badges-v1.png);background-size:500% auto;background-repeat:no-repeat;filter:drop-shadow(0 5px 0 #292d3833)}.rank-badge>b{font-size:27px;font-weight:900}.rank-badge-small .rank-badge-art{width:105px;height:105px}.rank-badge-small>b{font-size:15px}.rank-stars{display:flex;justify-content:center;gap:10px;font-size:28px;font-weight:900;color:#9f731a;margin-top:12px}.rank-stars i{font-style:normal;color:#c1b8a0}.rank-stars i.earned{color:#e6a726;text-shadow:1px 2px #80551f}.rank-start{width:min(330px,100%);margin:12px 0;min-height:52px;font-size:19px}.rank-match-note{font-size:13px;line-height:1.7;max-width:380px}.rank-side{background:#fffdf4;border:3px solid #292d38;border-radius:22px;padding:24px;box-shadow:4px 5px #292d38}.rank-rules summary{font-size:19px;font-weight:800;cursor:pointer}.rank-rules p{font-size:14px;line-height:1.7}.rank-tiers{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.rank-tiers span{padding:6px 9px;border:1px solid #d8c7a7;border-radius:10px;font-size:12px}.rank-tiers .current{background:var(--rank-tint);border-color:var(--rank-color);font-weight:800}.rank-leaderboard{padding:0;list-style:none;margin:0}.rank-leaderboard li{display:grid;grid-template-columns:24px 1fr;gap:8px;border-bottom:1px solid #e5d6b8;padding:10px}.rank-leaderboard small{grid-column:2}.rank-leaderboard li.self{background:#fff0bb}.rank-versus{display:flex;align-items:center;justify-content:center;gap:20px;margin:14px 0}.rank-versus>div{text-align:center}.rank-versus>div>span{display:block;font-weight:700;margin-top:8px}.rank-versus>b{font-size:28px;color:#b46c2b}.rank-result{margin:12px 0}.rank-result p{font-size:13px}.rank-battle-label{font-size:11px;font-weight:800;color:#8c5e22;margin-bottom:6px}@media(max-width:760px){.rank-preparation{grid-template-columns:1fr;gap:18px}.rank-hero{padding:20px 15px}.rank-badge-art{width:210px;height:200px}.rank-hero h2{font-size:21px}.rank-side{padding:20px}.rank-versus{gap:12px}.rank-versus .rank-badge-art{width:98px;height:98px}.rank-versus .rank-badge>b{font-size:13px}}.rank-preparation{display:block;max-width:720px;margin:0 auto}.rank-preview-trigger{background:transparent;border:0;box-shadow:none;padding:8px;cursor:pointer;color:#292d38}.rank-preview-trigger small{display:block;font-size:12px;margin-top:8px}.rank-preview-trigger:hover{transform:scale(1.03)}.rank-preview-trigger:focus-visible{outline:3px solid #b17d26;border-radius:18px}.rank-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-height:65dvh;overflow:auto;padding:6px}.rank-preview-item{border:2px solid var(--rank-color,#9b6c40);background:var(--rank-tint,#f2e1c6);border-radius:18px;padding:16px;text-align:center}.rank-preview-item p{font-size:13px}.rank-preview-item .current{font-weight:900;color:#8f4d0c}.leaderboard-page{max-width:850px;margin:auto}.leaderboard-page>p{font-size:14px}.rank-leaderboard li{grid-template-columns:32px minmax(0,1fr)}.rank-leaderboard li>span{overflow-wrap:anywhere}.rank-leaderboard small{font-size:13px}@media(max-width:420px){.rank-preview-grid{gap:8px}.rank-preview-item{padding:10px 4px}.rank-preview-item .rank-badge>b{font-size:14px}}.rank-badge-art{background-size:contain;background-position:center!important}.rank-preview-grid{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;gap:16px;max-height:none;padding:10px 8px 20px}.rank-preview-item{flex:0 0 220px;scroll-snap-align:center;position:relative}.rank-preview-item.current-tier{outline:3px solid #d89520;outline-offset:2px}.rank-preview-item .rank-badge-art{width:180px;height:170px}.rank-preview-item .rank-badge>b{font-size:19px}.leaderboard-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.leaderboard-tabs .active{background:#ffdc79}.rank-preview-item p{white-space:nowrap}@media(max-width:420px){.rank-preview-item{flex-basis:210px}}svg.rank-badge-art{background:none;overflow:hidden}.rank-match-animation{position:relative;overflow:hidden;padding:24px 12px 18px;background:repeating-conic-gradient(from 10deg at 50% 45%,#fff0bb 0deg 9deg,#fff9e6 9deg 18deg);border:3px solid #292d38;border-radius:20px;min-width:260px}.rank-match-animation .rank-versus{position:relative;gap:20px}.rank-match-animation .rank-versus>div:first-child{animation:rank-entry-left .65s cubic-bezier(.2,.8,.2,1) both}.rank-match-animation .rank-versus>div:last-child{animation:rank-entry-right .65s cubic-bezier(.2,.8,.2,1) both}.rank-match-animation .rank-versus>b{font-size:40px;color:#e45438;text-shadow:2px 3px #292d38;animation:rank-entry-vs .7s .35s both}.rank-entry-caption{text-align:center;font-weight:900;animation:rank-entry-vs .5s .7s both}.rank-entry-progress{height:7px;background:#e7dbc1;border-radius:8px;overflow:hidden;margin:16px 8px 0}.rank-entry-progress i{display:block;height:100%;background:#e5a327;transform-origin:left;animation:rank-entry-load 3s linear both}@keyframes rank-entry-left{0%{transform:translate(-160%) rotate(-14deg);opacity:0}to{transform:none;opacity:1}}@keyframes rank-entry-right{0%{transform:translate(160%) rotate(14deg);opacity:0}to{transform:none;opacity:1}}@keyframes rank-entry-vs{0%{transform:scale(0);opacity:0}70%{transform:scale(1.2);opacity:1}to{transform:scale(1);opacity:1}}@keyframes rank-entry-load{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@media(prefers-reduced-motion:reduce){.rank-match-animation .rank-versus>div,.rank-match-animation .rank-versus>b,.rank-entry-caption{animation:none}}.season-home-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;border:2px solid #292d38;border-radius:16px;padding:15px 20px;margin:0 0 22px;background:#fff0b6;box-shadow:3px 4px #292d38}.season-home-banner>.season-banner-copy{display:flex;flex-direction:column;gap:5px}.season-home-banner b{font-size:20px}.season-home-banner small{font-size:12px}.season-home-banner>strong{font-size:18px;color:#925418;font-variant-numeric:tabular-nums}.season-home-banner .season-profile-cta{font-size:13px;padding:9px 14px}.rank-title-picker{display:flex;flex-direction:column;gap:8px;width:min(330px,100%);font-size:14px;font-weight:800;margin-top:12px}.rank-title-picker select{font:inherit;border:2px solid #292d38;border-radius:10px;padding:10px;width:100%;background:#fffdf4}.rank-title-note{font-size:12px;line-height:1.6;max-width:330px}.rank-profile-badges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rank-profile-badges section{border:2px solid #d8bc75;border-radius:14px;padding:12px 5px;background:#fff7db;text-align:center}.rank-profile-badges h4{font-size:14px;margin:4px 0}.rank-profile-badges .rank-stars{font-size:19px;gap:4px}.player-rank-profile>h3{font-size:23px;overflow-wrap:anywhere}.rank-profile-title,.rank-equipped-title{font-weight:900;color:#965913;background:#fff0b9;border-radius:9px;padding:7px;font-size:12px}.rank-player-link{border:0;box-shadow:none;background:none;color:#705021;font-weight:800;padding:0;text-align:left;text-decoration:underline;cursor:pointer;font:inherit;overflow-wrap:anywhere}.season-title-burst{position:relative;background:#fff0a5;border:2px solid #8f5c16;border-radius:12px;padding:8px;margin-top:12px;max-width:160px;animation:season-title-arrive .8s .7s both;box-shadow:0 0 18px #ffcb4f}.season-title-burst span{display:block;font-size:11px;color:#8f5c16}.season-title-burst b{font-size:14px;line-height:1.5;display:block}.has-season-title{animation:season-title-shake .4s .8s}.has-season-title:after{content:"\2726";position:absolute;right:4%;top:1%;font-size:35px;color:#d79413;animation:season-title-spark 1s .6s both;pointer-events:none}@keyframes season-title-arrive{0%{transform:scale(.1) rotate(-10deg);opacity:0}70%{transform:scale(1.12);opacity:1}to{transform:none;opacity:1}}@keyframes season-title-shake{25%{transform:translate(-4px)}50%{transform:translate(4px)}75%{transform:translate(-2px)}}@keyframes season-title-spark{0%{opacity:0;transform:rotate(0) scale(0)}to{opacity:1;transform:rotate(100deg) scale(1)}}@media(max-width:480px){.season-home-banner{padding:12px;gap:10px}.season-home-banner>strong{font-size:15px}.season-title-burst{padding:6px;max-width:112px}.season-title-burst b{font-size:12px}.rank-profile-badges .rank-badge>b{font-size:13px}}@media(prefers-reduced-motion:reduce){.season-title-burst,.has-season-title,.has-season-title:after{animation:none}}.setting-switch{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;gap:16px}.switch-pill{display:inline-flex;align-items:center;justify-content:center;min-width:62px;padding:7px 14px;border-radius:30px;background:#dedbd3;color:#666;font-weight:900;border:2px solid #a4a096}.setting-switch[aria-checked=true] .switch-pill{background:#9bdbb6;border-color:#357753;color:#16492d}.settings-tutorials{display:grid;gap:12px;margin:16px 0}.owner-auto-battle{position:fixed;right:12px;top:12px;z-index:10050;display:flex;flex-direction:column;gap:5px;max-width:220px;padding:7px;background:#fff6d7;border:2px solid #292d38;border-radius:13px;box-shadow:3px 3px #292d38}.owner-auto-battle[hidden]{display:none}.owner-auto-battle button{font-weight:900;font-size:16px;padding:9px 18px}.owner-auto-battle button[aria-pressed=true]{background:#aee6bf}.owner-auto-battle small{font-size:11px;line-height:1.4;max-width:190px}@media(max-width:480px){.owner-auto-battle{max-width:150px}.owner-auto-battle button{padding:7px 12px;font-size:14px}.owner-auto-battle small{max-width:135px}}.battle-history-toggle{padding:6px 10px;font-size:12px;min-height:32px}.battle-history-tabs{display:flex;gap:8px;margin:12px 0}.battle-history-row{border-bottom:1px solid #d6c5a1;padding:12px 0}.battle-history-row b,.battle-history-row small{display:block}.battle-history-row small{font-size:12px;color:#82714e;margin-bottom:6px}.battle-history-row p{font-size:14px;line-height:1.6;margin:6px 0}#battleHistoryDialog [data-history-list]{max-height:58dvh;overflow:auto}#battleHistoryDialog{max-width:560px}@media(max-width:760px){.table-top{flex-wrap:wrap;gap:6px}.battle-history-toggle{font-size:11px}}.gift-recipient-list{max-height:42dvh;overflow:auto}.gift-recipient-list article{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #dfd2b7;padding:12px 2px}.gift-recipient-list small{display:block;font-size:12px;margin-top:5px}.gift-recipient-list button{font-size:12px;padding:8px 12px;white-space:nowrap}#commDelivery,#skillRewardDelivery{margin-top:16px}.settings-menu>.setting-switch{font-size:16px}.setting-switch .switch-pill{font-size:14px}.settings-menu>.admin-entry{font-size:15px}body.in-battle #roundTimer{display:inline-flex;font-size:12px;font-weight:900;font-variant-numeric:tabular-nums;padding:4px 8px;border:1px solid #ad8c52;border-radius:8px;background:#fff4cd;white-space:nowrap}body.in-battle .table-top{flex-wrap:wrap;gap:8px}body.in-battle .clock-group{gap:6px}@media(max-width:760px){body.in-battle #roundTimer{font-size:11px}}body.in-battle .table-top .owner-auto-battle{position:static;inset:auto;z-index:auto;max-width:none;padding:0;border:0;box-shadow:none;background:transparent}body.in-battle .table-top .owner-auto-battle[hidden]{display:none}body.in-battle .table-top .owner-auto-battle button{padding:6px 10px;min-height:32px;font-size:12px}body.in-battle .table-top .owner-auto-battle small{display:none}@media(max-width:760px){body.in-battle .table-top{left:100px;right:12px;justify-content:flex-end;gap:5px}body.in-battle .table-top #phaseLabel{display:none}body.in-battle #roundTimer{padding:5px;font-size:10px}body.in-battle .battle-history-toggle{padding:6px;font-size:10px}body.in-battle .table-top .owner-auto-battle button{font-size:11px;padding:6px}.owner-auto-battle button{white-space:nowrap}}button.season-home-banner{width:100%;text-align:left;cursor:pointer;color:#292d38;font-family:inherit}button.season-home-banner:focus-visible{outline:3px solid #a96b20;outline-offset:4px}.season-profile-cta{pointer-events:none}.battle-history-tabs button{min-height:44px;flex:1}.battle-history-tabs button[aria-pressed=true]{background:#ffdb7d;border-color:#292d39;font-weight:800}.bug-card{border:4px dashed #4b3c72!important;background:repeating-linear-gradient(135deg,#f3edff 0 16px,#e6def5 16px 32px)!important;box-shadow:5px 5px #30303b!important;animation:none!important}.bug-card-label{display:block;background:#393044;color:#fff;font-weight:900;padding:5px 10px;border-radius:5px;letter-spacing:.08em}.bug-card .card-tag{background:#393044;color:#fff}.board-equipment.bug-card{position:relative}.board-equipment .bug-card-label{font-size:11px;padding:3px 5px}.gift-draft-swipe{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;border:2px solid #30303b;border-radius:12px;margin:10px 0;background:#fffaf0}.gift-draft-name{flex:1;min-width:65%;padding:12px;scroll-snap-align:start;display:flex;flex-direction:column}.gift-draft-delete{flex:0 0 auto;margin:8px;color:#8f2334;background:#ffe4e5;scroll-snap-align:end}@media(max-width:600px){.gift-draft-name{min-width:calc(100% - 40px);box-sizing:border-box}.gift-draft-swipe{scrollbar-width:thin}}.balance-test-label{display:inline-block;border:2px solid #514779;border-radius:8px;background:#eee6ff;color:#30244d;padding:4px 9px;font-size:13px;font-weight:800}[data-balance-report]{overflow-x:auto}[data-balance-report] table{width:100%;border-collapse:collapse}[data-balance-report] th,[data-balance-report] td{padding:8px;border-bottom:1px solid #ddd;text-align:left}.season-rewards{padding:24px;margin-top:24px;border:3px solid #292d38;border-radius:22px;background:#fffbed}.season-rewards table{width:100%;border-collapse:collapse;text-align:left}.season-rewards td,.season-rewards th{padding:12px 8px;border-bottom:1px solid #d7c7a6}.season-opening{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:24px;border:0;color:#fff7d8;background:radial-gradient(ellipse at center,#684b9b,#19132e 65%);overflow:hidden}.season-opening::backdrop{background:#19132e}.season-opening-copy{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;min-height:100%;animation:season-arrive .9s cubic-bezier(.2,.9,.3,1.2) both}.season-opening-copy>span{letter-spacing:.2em;color:#ffdd84;font-weight:900}.season-opening-copy>strong{font-size:clamp(100px,28vw,260px);font-weight:1000;line-height:1.1;color:#ffdf89;text-shadow:6px 8px 0 #47235f,-2px -2px 0 #fff1c0;transform:rotate(-5deg)}.season-opening-copy h2{font-size:clamp(22px,5vw,46px)}.season-opening-copy p{max-width:600px}.season-opening-rays{position:absolute;inset:-100%;background:repeating-conic-gradient(from 0deg,transparent 0deg 18deg,#ffe4a31a 18deg 24deg);animation:season-rays 14s linear infinite}.season-opening-copy button{margin-top:20px;min-width:220px}@keyframes season-arrive{0%{opacity:0;transform:scale(.65) translateY(80px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes season-rays{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.season-opening-copy,.season-opening-rays{animation:none}}.season-title-emblem{display:inline-block;width:112px;height:112px;max-width:100%;vertical-align:middle;overflow:visible}.season-title-emblem text{fill:#ffdb53;stroke:#9b5b0b;stroke-width:2;paint-order:stroke fill;font-family:Impact,Arial Black,sans-serif;font-weight:900;font-style:italic;filter:drop-shadow(2px 3px 0 #422503)}.rank-equipped-title:has(.season-title-emblem),.rank-profile-title:has(.season-title-emblem){background:transparent;padding:0;text-align:center}.rank-equipped-title .season-title-emblem{width:72px;height:72px}.rank-profile-title .season-title-emblem{width:144px;height:144px}.equipped-title-preview{margin:10px 0;text-align:center;max-width:330px}.equipped-title-preview .season-title-emblem{width:140px;height:140px}.season-title-burst:has(.season-title-emblem){background:transparent;border:0;box-shadow:none;padding:0;margin:6px auto}.season-title-burst .season-title-emblem{width:108px;height:108px}.earned-title-item{display:inline-block;vertical-align:top;margin:8px}.entrance-title-emblem .season-title-emblem{width:64px;height:64px}@media(max-width:480px){.rank-equipped-title .season-title-emblem{width:58px;height:58px}.season-title-burst .season-title-emblem{width:82px;height:82px}}.card-forge{isolation:isolate;position:relative;overflow:hidden;display:flex;align-items:center;flex-direction:column;padding:26px 16px;border:3px solid #292d38;border-radius:24px;background:radial-gradient(ellipse at 50% 35%,#5e4386,#201b39 70%);color:#fff5d5;text-align:center;min-height:430px}.forge-kicker{font-weight:900;letter-spacing:.22em;color:#ffdf88}.forge-art{position:relative;width:min(300px,80vw);height:260px;display:grid;place-items:center;perspective:800px}.forge-card{position:relative;width:140px;height:198px;border:4px solid #ffdd82;border-radius:16px;box-shadow:0 0 24px #e7bf7670,inset 0 0 20px #ffdf8933;background:linear-gradient(140deg,#40395e,#1b223e);display:flex;align-items:center;justify-content:space-between;flex-direction:column;padding:13px 8px;overflow:hidden;animation:forge-float 3s ease-in-out infinite}.forge-card>span{font-size:13px;letter-spacing:.18em;font-weight:900}.forge-card>b{font-size:72px;color:#ffe4a0;text-shadow:3px 3px #895d42}.forge-card>small{font-size:10px;letter-spacing:.1em}.forge-scan{position:absolute;inset:0;background:linear-gradient(transparent 40%,#bce8ff88 50%,transparent 60%);transform:translateY(-110%);animation:forge-scan 2.4s ease-in-out infinite}.forge-orbit{position:absolute;width:250px;height:250px;border-radius:50%;border:1px solid #ffe19a99;border-top:5px solid #ffdf88;border-bottom:5px solid #d5c2ff;animation:forge-orbit 8s linear infinite;opacity:.75}.forge-orbit.second{width:285px;height:215px;border-style:dashed;animation-direction:reverse;animation-duration:13s}.forge-spark{position:absolute;color:#ffdc82;font-size:32px;font-style:normal;animation:forge-spark 2s ease-in-out infinite}.forge-spark.one{left:8px;top:48px}.forge-spark.two{right:12px;bottom:35px;animation-delay:.6s}.forge-spark.three{right:10px;top:20px;animation-delay:1.2s}.card-forge h3{font-size:23px;margin:12px 0}.forge-time{font-size:13px;margin:0;color:#e3d3ef;font-variant-numeric:tabular-nums}.forge-steps{list-style:none;padding:0;display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:18px 0}.forge-steps li{border:1px solid #8b7d9e;border-radius:30px;padding:7px 11px;color:#bfb4d1;font-size:13px}.forge-steps li.active{background:#ffe2a0;border-color:#ffe2a0;color:#2e2540;font-weight:900;box-shadow:0 0 14px #ffe2a044}.forge-steps li.complete{color:#b5e6c7;border-color:#b5e6c7}.forge-note{font-size:12px;line-height:1.7;max-width:440px;margin:0;color:#dfd2e9}.card-forge[data-stage=assessing] .forge-scan{animation-duration:1.5s}.card-forge[data-stage=saving] .forge-card{box-shadow:0 0 32px #ffdd8288;border-color:#fff6d6}.forge-reveal{animation:forge-reveal .8s ease-out both}@keyframes forge-float{50%{transform:translateY(-8px) rotateY(12deg) rotate(2deg)}}@keyframes forge-orbit{to{transform:rotate(360deg)}}@keyframes forge-scan{to{transform:translateY(110%)}}@keyframes forge-spark{50%{opacity:.3;transform:scale(.65) rotate(20deg)}}@keyframes forge-reveal{0%{opacity:.2;transform:translateY(16px);filter:brightness(1.7)}to{opacity:1;transform:none;filter:brightness(1)}}@media(prefers-reduced-motion:reduce){.forge-card,.forge-orbit,.forge-scan,.forge-spark,.forge-reveal{animation:none}.forge-scan{display:none}}dialog.creation-modal{width:min(680px,calc(100vw - 24px));padding:32px 26px;background:radial-gradient(ellipse at 50% 20%,#4c3b70,#211b39 75%);color:#fff4d6;border:3px solid #e5c374;box-shadow:8px 10px #151126;border-radius:26px;overflow-x:hidden}.creation-modal .close{color:#ffe5a1;background:#2b2144;border:1px solid #9c845d;border-radius:50%;width:38px;height:38px;min-height:0;padding:0;line-height:1;position:absolute;right:14px;top:14px;z-index:4}.creation-modal h2{color:#ffe3a0;margin:10px 36px 8px 0;font-size:28px}.forge-select-kicker{font-size:11px;letter-spacing:.18em;color:#d0b4e9;font-weight:900}.forge-select-intro{margin:0 0 22px;color:#dfd1eb;font-size:14px}.creation-modal .forge-upload{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;min-height:235px;padding:28px 16px;background:radial-gradient(ellipse at center,#55437655,#26203d);border:2px dashed #c8ad79;border-radius:22px;color:#fff1c7;cursor:pointer;overflow:hidden}.forge-upload-star{font-size:56px;color:#ffe09c;line-height:1;text-shadow:0 0 24px #ffe09c55}.forge-upload strong{font-size:21px}.forge-upload-button{display:inline-block;background:#ffe0a0;color:#30223d;border-radius:30px;padding:10px 28px;font-size:15px;font-weight:900}.creation-modal .forge-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.forge-upload:focus-within{outline:3px solid #e2c4ff;outline-offset:4px}.creation-modal #originalPreview{margin:20px 0;text-align:center}.creation-modal #originalPreview img{max-height:240px;border:2px solid #d5bc84;border-radius:16px;max-width:100%;object-fit:contain}.creation-modal #originalPreview p{color:#dac8e6;font-size:12px}.creation-modal .consent{font-size:14px;line-height:1.7;color:#f2e6fa;margin:20px 0 10px;display:flex;align-items:flex-start;gap:10px}.creation-modal .consent input{accent-color:#dfbc79;flex-shrink:0;width:20px;height:20px;margin-top:3px}.forge-privacy{font-size:12px;color:#d1bedf;margin-bottom:18px}.forge-privacy summary{cursor:pointer;color:#e2c8eb}.forge-privacy p{line-height:1.8;margin:10px 0}.creation-modal #realAnalyze{background:#ffdfa0;color:#34263e;border-color:#c6a16a;box-shadow:3px 4px #130f21;margin-top:8px}.creation-modal #newCardStatus{color:#e7cb97;font-size:14px;line-height:1.7}.creation-modal.has-result>.forge-select-kicker,.creation-modal.has-result>.forge-select-intro,.creation-modal.has-result>.big-upload{display:none}.creation-modal .locked-card-facts dt{color:#ccb5e6}.creation-modal .locked-card-facts dd{color:#fff4db}.creation-modal #draftCardName{background:#302641;color:#fff4db;border-color:#a48b73}.creation-modal .evaluation-banner{background:#392b50;color:#fff0c4;border-color:#e5c374}.creation-modal.forge-active{padding:0;height:min(84dvh,740px);overflow:hidden}.creation-modal.forge-active>:not(#cardDraft):not(.close){display:none!important}.creation-modal.forge-active>#cardDraft{display:block;width:100%;height:100%;margin:0}.creation-modal.forge-active .card-forge{height:100%;min-height:0;border:0;border-radius:22px;justify-content:center;padding:42px 18px 24px;box-sizing:border-box}.creation-modal.forge-active .forge-note{font-size:11px;max-width:340px}.rank-preparation{position:relative;padding-top:76px}.rank-preparation .season-rewards-trigger{position:absolute;top:15px;right:15px;min-height:36px;padding:8px 12px;font-size:13px;border-radius:12px;z-index:1}.rank-preparation .rank-hero{margin-top:0}.season-rewards-trigger:focus-visible{outline:3px solid #9765be;outline-offset:3px}@media(max-width:480px){dialog.creation-modal{padding:28px 18px;border-radius:22px}.creation-modal h2{font-size:25px}.creation-modal .forge-upload{min-height:200px}.creation-modal.forge-active{padding:0;height:min(86dvh,720px)}.creation-modal.forge-active .forge-art{transform:scale(.9);margin:-10px 0}.creation-modal.forge-active .forge-steps{margin:12px 0}.rank-preparation .season-rewards-trigger{top:12px;right:12px;font-size:12px;padding:7px 10px}}body:not(.in-battle)>header{position:sticky;top:0;z-index:60;max-width:none;width:100%;margin:0;background:#fffdf6;padding-inline:max(16px,calc((100vw - 1312px)/2));box-shadow:0 1px #292d38}body:not(.in-battle)>.main-nav{position:sticky;top:var(--lobby-header-height,64px);z-index:59;max-width:none;width:100%;margin:0;background:#fff9ed;flex-wrap:wrap;overflow:visible;padding-inline:max(16px,calc((100vw - 1312px)/2));border-bottom:1px solid #e6dcc6}.main-nav button{white-space:nowrap}@media(max-width:760px){body:not(.in-battle)>header{padding:9px 10px;gap:7px;flex-wrap:nowrap}.brand{gap:7px}.brand-avatar{width:34px;height:34px}.brand b{font-size:15px}.top-actions{gap:5px;flex-shrink:0}.top-actions button{padding:7px 8px;font-size:10px}body:not(.in-battle)>.main-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:8px 10px;min-height:0;overflow:visible;flex-wrap:wrap}.main-nav button{width:100%;min-width:0;min-height:34px;padding:6px 3px;font-size:11px;letter-spacing:0;justify-content:center;text-align:center;margin:0!important;box-shadow:2px 2px #292d38}.main-nav button.active{box-shadow:2px 2px #292d38}.main-nav #saveStatus{display:none}}@media(max-width:350px){.brand b{font-size:12px}.brand-avatar{width:28px;height:28px}.top-actions button{font-size:9px;padding:6px}.main-nav button{font-size:10px}}.creation-modal .locked-card-facts{background:#fff6e5;color:#25212c;border:2px solid #c7ae7c}.creation-modal .locked-card-facts dt{color:#332b3d;font-weight:800;font-size:13px}.creation-modal .locked-card-facts dd,.creation-modal .locked-card-facts dd b,.creation-modal .locked-card-facts small{color:#25212c!important}.creation-modal #draftCardName{color:#211c29;background:#fffdf6;border:2px solid #76647b;caret-color:#211c29}.creation-modal #draftCardName::placeholder{color:#62576d}.creation-modal .rating-split span,.creation-modal .rating-split b,.creation-modal .pill{color:#2b2334;font-weight:800}.creation-modal .result-actions .quiet,.creation-modal .result-actions .primary{color:#25212c;font-weight:900}.creation-modal .bound-skills-list{color:#2b2334;background:#fff5df;padding:16px 16px 16px 32px;border:1px solid #c7ae7c;border-radius:12px}.creation-modal .bound-skills-list b,.creation-modal .bound-skills-list small{color:#2b2334!important}.rank-draw-note{font-weight:900;color:#3e3857}#lobby[data-lobby-page=home],#lobby[data-lobby-page=ranked]{padding-top:10px;padding-bottom:14px}#lobby>.lobby-heading[hidden]{display:none!important}#lobby[data-lobby-page=home] .season-home-banner{margin:0 0 10px;min-height:0;padding:9px 13px;gap:10px;flex-wrap:nowrap;border-radius:13px}#lobby[data-lobby-page=home] .season-home-banner b{font-size:16px}#lobby[data-lobby-page=home] .season-home-banner small{font-size:10px}#lobby[data-lobby-page=home] .season-home-banner>strong{font-size:13px;white-space:nowrap}#lobby[data-lobby-page=home] .season-profile-cta{font-size:11px;padding:5px 9px}#lobby[data-lobby-page=home] .s-marquee{margin-bottom:8px;padding-block:4px;font-size:11px}.home-dashboard{grid-template-areas:"upload loadout" "start settings" "library friends";grid-template-rows:180px 50px 70px;height:auto;gap:12px 18px;margin-top:0}.home-dashboard>.home-upload{padding:15px 18px;justify-content:flex-start}.home-upload-copy{max-width:85%;gap:10px}.home-upload-copy>b{font-size:22px;line-height:1.3}.home-upload-cta{padding:8px 10px;font-size:12px}.home-upload-decor{transform:scale(.6);transform-origin:right bottom;right:8px;bottom:5px}.home-dashboard>.home-loadout{padding:12px 16px}.home-loadout>h2{font-size:17px;margin-bottom:9px}.home-loadout .loadout-mini{flex-wrap:nowrap;gap:10px;align-items:center}.home-loadout .mini-portrait{width:52px;height:72px;flex:0 0 52px}.home-character-info>b{font-size:16px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.home-character-info p{margin:3px 0;font-size:11px}.home-character-info small{font-size:10px}.home-dashboard>.home-start,.home-dashboard>.home-settings{min-height:46px;margin:0;font-size:19px}.home-dashboard>.home-library,.home-dashboard>.home-friends{padding:10px}.home-library>b,.home-dashboard>.home-friends{font-size:20px}.home-library>span{font-size:11px}.rank-preparation{padding-top:0}.rank-preparation .rank-hero{padding:54px 20px 18px;gap:0}.rank-hero>.season-rewards-trigger{position:absolute;top:12px;right:12px;z-index:2;margin:0}.rank-hero>.rank-kicker{position:absolute;top:15px;left:16px;font-size:12px;padding:5px 10px}.rank-hero h2{font-size:19px;line-height:1.3;margin:4px 0}.rank-season-label{font-size:13px;margin:4px 0 8px}.rank-hero .rank-preview-trigger{padding:0;margin:0}.rank-hero .rank-badge-art{width:170px;height:155px}.rank-hero .rank-badge>b{font-size:23px}.rank-hero .rank-preview-trigger small{font-size:11px;margin-top:3px}.rank-hero .rank-stars{font-size:23px;margin-top:8px;gap:8px}.rank-hero>p:not(.rank-season-label){font-size:12px;line-height:1.5;margin:5px 0}.rank-hero .rank-start{min-height:44px;margin:8px 0;padding:10px 14px;font-size:17px}.rank-hero>button[data-action=decks]{font-size:12px;min-height:34px;padding:7px 12px}@media(max-width:760px){#lobby[data-lobby-page=home],#lobby[data-lobby-page=ranked]{padding:10px 12px 14px}.home-dashboard{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:152px 46px 58px;height:auto;gap:10px;margin-top:0}.home-dashboard>.home-upload{padding:12px}.home-upload-copy{max-width:100%;gap:8px}.home-upload-copy>b{font-size:16px;line-height:1.25}.home-upload-cta{padding:7px;font-size:10px;line-height:1.3}.home-upload-decor{transform:scale(.42);right:4px;bottom:3px}.home-dashboard>.home-loadout{padding:10px}.home-loadout>h2{font-size:13px;margin-bottom:7px}.home-loadout .loadout-mini{flex-wrap:nowrap;gap:7px;justify-content:flex-start}.home-loadout .mini-portrait{width:38px;height:54px;flex-basis:38px}.home-character-info{text-align:left;flex:1;min-width:0}.home-character-info>b{font-size:13px}.home-character-info p{font-size:10px;margin:2px 0}.home-character-info small{font-size:9px}.home-dashboard>.home-start,.home-dashboard>.home-settings{font-size:17px;padding:8px}.home-library>b,.home-dashboard>.home-friends{font-size:18px}.home-library>span{font-size:9px}#lobby[data-lobby-page=home] .season-home-banner{padding:8px 10px;margin-bottom:10px;gap:8px}#lobby[data-lobby-page=home] .season-banner-copy small,#lobby[data-lobby-page=home] .season-profile-cta{display:none}#lobby[data-lobby-page=home] .season-home-banner b{font-size:14px;white-space:nowrap}#lobby[data-lobby-page=home] .season-home-banner>strong{font-size:12px;white-space:nowrap;margin-left:auto}#lobby[data-lobby-page=home] .season-home-banner:after{content:"\203a";font-size:20px;font-weight:900}.rank-preparation .rank-hero{padding:51px 12px 14px}.rank-hero>.season-rewards-trigger{font-size:11px;padding:7px 9px;top:10px;right:10px}.rank-hero>.rank-kicker{font-size:11px;left:12px;top:13px}.rank-hero h2{font-size:17px;margin:3px 0}.rank-hero .rank-badge-art{width:145px;height:135px}.rank-hero .rank-badge>b{font-size:21px}.rank-hero .rank-start{font-size:16px}}@media(max-width:760px)and (max-height:700px){.home-dashboard{grid-template-rows:128px 44px 52px;gap:8px}.home-upload-copy>b{font-size:14px}.home-upload-decor{display:none}.home-loadout>h2{font-size:12px;margin-bottom:5px}.home-character-info>b{font-size:12px}.rank-hero .rank-badge-art{width:110px;height:104px}.rank-hero h2{font-size:16px}.rank-season-label{margin:3px 0 5px}.rank-hero .rank-stars{font-size:21px;margin-top:5px}.rank-hero .rank-badge>b{font-size:19px}.rank-hero .rank-start{margin:6px 0}}@media(max-width:760px)and (max-height:620px){.rank-preparation .rank-hero{padding-top:46px;padding-bottom:10px}.rank-hero .rank-badge-art{width:94px;height:88px}.rank-hero .rank-badge>b{font-size:18px}.rank-hero .rank-preview-trigger small{font-size:10px;margin-top:2px}.rank-hero .rank-stars{font-size:20px;margin-top:3px}.rank-hero>p:not(.rank-season-label){margin:3px 0}.rank-hero>button[data-action=decks]{min-height:30px;padding:5px 10px}.rank-season-label{font-size:12px;margin:2px 0 3px}}#lobby[data-lobby-page=home],#lobby[data-lobby-page=ranked]{height:calc(var(--lobby-viewport-height,100dvh) - var(--lobby-navigation-height,146px));display:flex;flex-direction:column;min-height:0;box-sizing:border-box;padding-bottom:16px}#lobby[data-lobby-page=home]>.season-home-banner,#lobby[data-lobby-page=home]>.s-marquee{flex-shrink:0}#lobby[data-lobby-page=home]>.home-dashboard{flex:1;min-height:0;height:auto;grid-template-rows:minmax(110px,1.15fr) minmax(46px,.38fr) minmax(64px,.85fr)}#lobby[data-lobby-page=home] .home-library{gap:5px}#lobby[data-lobby-page=home] .home-library>b{line-height:1.2}#lobby[data-lobby-page=home] .home-library>span{line-height:1.4}#lobby[data-lobby-page=ranked]>.rank-preparation{flex:1;min-height:0;width:100%;display:flex;max-width:900px}#lobby[data-lobby-page=ranked] .rank-hero{flex:1;min-height:0;width:100%;display:flex;flex-direction:column;justify-content:space-between;gap:3px;box-sizing:border-box}#lobby[data-lobby-page=ranked] .rank-preview-trigger{flex:1 1 0;min-height:100px;align-self:stretch;display:flex;align-items:center;justify-content:center;flex-direction:column}#lobby[data-lobby-page=ranked] .rank-preview-trigger .rank-badge{flex:1;min-height:0;justify-content:center;width:100%}#lobby[data-lobby-page=ranked] .rank-badge-art{flex:1 1 0;min-height:70px;max-height:220px;height:auto;width:min(260px,52vw)}#lobby[data-lobby-page=ranked] .rank-badge>b{flex-shrink:0;font-size:clamp(21px,3vw,28px)}#lobby[data-lobby-page=ranked] .rank-hero>h2,#lobby[data-lobby-page=ranked] .rank-hero>p,#lobby[data-lobby-page=ranked] .rank-hero>.rank-stars,#lobby[data-lobby-page=ranked] .rank-hero>.rank-start,#lobby[data-lobby-page=ranked] .rank-hero>button[data-action=decks]{flex-shrink:0}@media(max-width:760px){#lobby[data-lobby-page=home]>.home-dashboard{grid-template-rows:minmax(105px,1.15fr) minmax(46px,.38fr) minmax(64px,.85fr)}#lobby[data-lobby-page=home] .home-upload-decor{display:block;transform:scale(.48)}#lobby[data-lobby-page=ranked] .rank-badge-art{max-height:190px;width:min(230px,52vw)}#lobby[data-lobby-page=ranked] .rank-preview-trigger{min-height:105px}}@media(max-width:760px)and (max-height:560px){#lobby[data-lobby-page=home]>.home-dashboard{grid-template-rows:minmax(90px,1.15fr) minmax(44px,.38fr) minmax(55px,.85fr)}#lobby[data-lobby-page=home] .home-upload-decor{display:none}#lobby[data-lobby-page=ranked] .rank-preview-trigger{min-height:88px}#lobby[data-lobby-page=ranked] .rank-preview-trigger small{font-size:10px}}dialog.draw-animating{position:fixed!important;inset:auto!important;top:var(--draw-top,0px)!important;left:var(--draw-left,0px)!important;width:var(--draw-width,100vw)!important;height:var(--draw-height,100dvh)!important;max-width:none!important;max-height:none!important;min-height:0!important;margin:0!important;padding:0!important;transform:none!important;border:0!important;border-radius:0!important;box-sizing:border-box;overflow:hidden!important}dialog.draw-animating>.draw-cinematic{inset:0;min-height:0;padding:16px;text-align:center;box-sizing:border-box}@media(max-height:420px){.draw-cinematic{gap:6px}.draw-cinematic .draw-flip-card{width:80px;height:108px}.draw-cinematic .draw-flip-card b{font-size:38px}}.updates-dialog{width:min(620px,calc(100vw - 24px));max-height:85dvh;padding:28px;color:#292c38;background:#fffbed;border:4px solid #292c38;border-radius:24px;box-shadow:7px 8px #292c38;overflow:auto}.updates-dialog h2{margin:0 34px 8px 0;font-size:26px;font-weight:800}.updates-intro,.updates-note{color:#55515b;font-size:13px}.updates-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.updates-tabs button{flex:1;white-space:nowrap;color:#292c38}.updates-tabs [aria-pressed=true]{background:#ffdc78}.updates-list{display:grid;gap:12px}.updates-list article{border:2px solid #292c38;border-radius:16px;background:#fffef8;padding:16px}.updates-list h3{margin:6px 0;font-size:17px;color:#292c38}.updates-list p{margin:0;color:#34343e}.updates-date{font-size:12px;font-weight:700;color:#805b23!important}.updates-note{margin-bottom:0}.top-actions #updatesBtn{white-space:nowrap}@media(max-width:600px){body>header .top-actions{gap:5px;flex-shrink:0}body>header .top-actions>.quiet:not([hidden]){padding:9px 7px;font-size:12px}body>header .brand{min-width:0;gap:6px}body>header .brand b{font-size:clamp(12px,3.4vw,17px);letter-spacing:0}body>header .brand-avatar{width:36px;height:36px}.updates-dialog{padding:22px 16px}.updates-tabs button{padding:9px 7px;font-size:13px}}@media(max-width:600px){body>header .brand>span{min-width:0}body>header .brand b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}summary,a,[role=button]{touch-action:manipulation}
