/* A calmer, colorful lobby; combat keeps its original contrast. */
:root{--coral:#ee647f;--cyan:#5578db}
body{color:#343858;background:radial-gradient(ellipse at 0 5%,#ffdddc 0,transparent 40%),radial-gradient(ellipse at 100% 30%,#d7f4ed 0,transparent 40%),radial-gradient(ellipse at 50% 95%,#e8deff 0,transparent 48%),#f7f5ff;min-height:100vh}
main,.site-header,.site-footer{max-width:1320px}main{padding:0 32px}.site-header{height:84px;padding:0 32px;border-color:#dfe1ef;gap:24px}.brand{letter-spacing:1px;color:#39345c}.brand-mark{color:#ee7298;background:linear-gradient(140deg,#fff1a7,#ffcbdc);width:52px;height:52px;border-radius:18px;display:grid;place-items:center;font-size:36px;transform:rotate(-8deg);text-shadow:none}.brand small{color:#8983a4;font-size:8px}.edition{border:0;padding:0;letter-spacing:1px;color:#8c81a3;font-size:12px}.site-header nav{gap:10px}.text-button{color:#686381;font-size:13px;padding:9px 12px;border-radius:12px}.text-button:hover{background:#fff9}.text-button span{color:#596fc2}.site-header .text-button{background:#ffffff8c;border:1px solid #ffffff}
.section-heading{margin:30px 0 24px;gap:16px}.section-heading .eyebrow{font-size:12px;color:#87819e;letter-spacing:1px;margin-bottom:7px}h1{font-size:34px;letter-spacing:0}h1>span{color:#df6687}h1 em{display:none}.lobby-subtitle{color:#7d7b97;font-size:14px;margin-top:10px}.steps{gap:12px;margin:0;color:#8a86a0;font-size:13px}.steps li{border:0;background:#ffffff90;border-radius:16px;padding:12px 16px;display:flex;align-items:center;gap:7px}.steps b{font:800 13px system-ui;margin:0;border-radius:50%;display:grid;place-items:center;width:24px;height:24px;background:#e9e8f3}.steps li.active{color:#b54368;background:#ffe7ef}.steps li.active b{background:#e97996;color:white}.steps li.done{background:#e4f2ee;color:#42806b}.steps li.done b{background:#aedacd}
.selection-layout{grid-template-columns:360px minmax(0,1fr);gap:24px;align-items:start}.fighter-preview{grid-column:1;grid-row:1;display:block;border:1px solid #fff;border-radius:28px;background:#ffffffb8;box-shadow:0 15px 40px #aaa0c51a;align-self:start}.fighter-preview.is-active{border-color:#fff;box-shadow:0 15px 40px #aaa0c51a}.preview-label{padding:17px 22px;font-size:14px;letter-spacing:0;border:0}.preview-label b{color:#76668a}.preview-label span{font-size:11px;letter-spacing:0;color:#86809a}.portrait-stage{height:390px;margin:0 14px;border-radius:24px;background:radial-gradient(ellipse at 50% 50%,#fff8,transparent 66%),linear-gradient(145deg,color-mix(in srgb,var(--fighter-color) 18%,#eff5ff),#faf0ff)}.portrait-stage canvas{height:98%;width:98%;filter:drop-shadow(0 10px 9px #8c6dae25);animation:none}.portrait-ring{border:2px solid #fff9;box-shadow:0 0 0 20px #ffffff26;inset:12% 10%}.portrait-ring:after{border:0}.giant-number{display:none}.portrait-floor{border:0;background:#a694b322;box-shadow:none;bottom:10px}.fighter-info{padding:18px 22px 22px;background:none}.fighter-info h2{font-size:25px;margin:0 0 9px;color:#393652;letter-spacing:0}.fighter-type,.animation-status{display:none!important}.fighter-info>p{font-size:12px;color:#86809b;white-space:normal;line-height:1.8;min-height:40px}.fighter-details{border-top:1px solid #eeebf4;margin-top:16px}.fighter-details summary{font-size:13px;color:#726b88;padding:14px 0 0;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}.fighter-details summary>span{background:#eee9f8;border-radius:8px;width:24px;text-align:center}.fighter-details[open] summary>span{transform:rotate(45deg)}.mini-stats{margin:14px 0;font-size:11px;color:#827993;border-color:#e7e3ee}.mini-stats b{color:#554e70;font-size:12px}.power-preview>span{color:#c06182;font-size:11px}.power-preview>b{color:#554265;font-size:15px}.power-preview p{color:#847a94;font-size:12px;min-height:0}.skin-picker{gap:5px;flex-wrap:wrap}.skin-picker button{border-radius:10px;background:#f3f0f9;border:1px solid #e4deee;color:#796c8d;font-size:11px;padding:8px 5px}.skin-picker button[aria-pressed=true]{color:#a34468;background:#ffe6ed;border-color:#eca0b7}
.roster-panel{grid-column:2;grid-row:1;padding:22px 24px 0;border-radius:28px;background:#ffffffb8;border:1px solid white;box-shadow:0 15px 40px #aaa0c51a}.player-tabs{display:flex;gap:12px;margin-bottom:20px}.player-tabs button{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;font:600 12px 'Microsoft YaHei',system-ui;padding:12px;background:#f3f1f8;border:1px solid #e9e5f1;color:#87809a;border-radius:14px}.player-tabs button b{font-size:14px;color:#5a526f}.player-tabs button.active{color:#a23b61;background:#ffe7ed;border-color:#ed94ad}#tab-p2.active{color:#4262ac;background:#e7efff;border-color:#96b5ed}.roster-toolbar{margin:0 0 18px;gap:10px}.filters{gap:5px}.filters button{border:0;border-radius:12px;padding:8px 13px;color:#867d99;background:none;font-size:13px}.filters button.active{color:#6f53ae;background:#eee6ff;border:0}.roster-toolbar>.text-button{font-size:12px;padding:8px}.fighter-grid{grid-template-columns:repeat(4,minmax(0,1fr));min-height:342px;gap:12px;align-content:start}.fighter-card{height:165px;border:2px solid transparent;border-radius:19px;background:linear-gradient(150deg,color-mix(in srgb,var(--fighter-color) 12%,#fff),#f2f0fa);box-shadow:none;padding:4px 3px 31px;transition:border-color .15s,background .15s}.fighter-card.is-animated{border-color:transparent}.fighter-card:nth-child(3n+2){background:linear-gradient(145deg,#fff1dc,color-mix(in srgb,var(--fighter-color) 10%,#fff))}.fighter-card:nth-child(3n){background:linear-gradient(145deg,#e8f7f2,color-mix(in srgb,var(--fighter-color) 8%,#fff))}.fighter-card canvas{height:128px;padding:0;width:100%;transition:transform .15s}.fighter-card:hover canvas{transform:translateY(-3px)}.fighter-card b{background:none;color:#5a526e;font-size:13px;font-weight:700;padding:8px 0 9px}.fighter-card.picked-0{border:2px solid #ef819c;background:#ffedf2;box-shadow:0 0 0 3px #ffe8ef}.fighter-card.picked-1{border:2px solid #83a8e7;background:#edf3ff;box-shadow:0 0 0 3px #e5edff}.fighter-card.picked-0.picked-1{border-color:#ef819c #83a8e7 #83a8e7 #ef819c}.animation-tag,.new-tag{display:none}.pick-tag{top:6px;left:6px;border-radius:7px;font:700 10px 'Microsoft YaHei';padding:3px 6px;color:white;background:#ec819c}.pick-tag.right{left:auto;right:6px;background:#80a4e2}.roster-pagination{display:flex;justify-content:center;align-items:center;gap:22px;padding:17px 0 12px;color:#9186a5;font-size:12px}.roster-pagination button{background:#f3eef9;color:#7b6e96;border:1px solid #e9e2f2;padding:7px 12px;border-radius:10px;font-size:12px}.roster-pagination button:disabled{cursor:default;opacity:.35}.selection-action{border-top:1px solid #eae5f3;padding:19px 0 22px;gap:12px}.selection-action>div>span{color:#5d536f;font-size:13px;letter-spacing:0}.selection-action p{color:#a298b0;font-size:11px}.primary{clip-path:none;border-radius:16px;letter-spacing:0;background:linear-gradient(115deg,#f1839e,#dc72a0);box-shadow:0 6px 0 #c95f8a,0 10px 20px #dc81a32a;color:white;font-size:15px;padding:14px 22px;min-height:48px}.primary:active:not(:disabled){transform:translateY(3px);box-shadow:0 3px 0 #c95f8a}.primary:hover:not(:disabled){filter:brightness(1.04)}
.stage-layout{grid-template-columns:minmax(0,1.8fr) 340px;gap:24px}.stage-hero{border:4px solid white;border-radius:24px;box-shadow:0 15px 40px #aaa0c52a;aspect-ratio:16/8}.stage-hero-copy{left:24px;bottom:22px;color:white}.stage-hero-copy>span{display:none}.stage-hero-copy h2{font-size:29px;margin:0}.stage-hero-copy p{font-size:12px;color:#e3e2f1;max-width:90%;line-height:1.7}.stage-grid{gap:10px;margin-top:14px}.stage-card{border:2px solid white;border-radius:15px;background:#fff;color:#67607e}.stage-card>div{padding:9px 10px}.stage-card b{font-size:12px}.stage-card span{color:#9989b2}.stage-card[aria-pressed=true]{border-color:#e27799;box-shadow:0 0 0 3px #ffd9e6}.match-config{background:#ffffffc9;border:1px solid white;border-radius:26px;padding:24px;box-shadow:0 15px 40px #aaa0c51a}.match-config>.eyebrow{color:#9483a2;font-size:11px;letter-spacing:0}.match-config h2{font-size:25px;letter-spacing:0}.match-fighters{border-color:#eee7f4;margin:14px 0;padding:0 0 15px}.match-fighters canvas{height:110px}.match-fighters b{color:#645775;font-size:12px}.match-fighters>strong{color:#c4b1d5;font-size:26px}.field{color:#7b6c8c;font-size:13px;margin:16px 0 10px}.field select{background:#f6f1fc;border:1px solid #e6ddf0;color:#655478;border-radius:12px;font-size:12px;padding:12px 10px}.mode-help{font-size:11px;color:#9c8ea9;min-height:0;line-height:1.8}.more-settings{margin-top:18px;border-top:1px solid #ebe4f3}.more-settings>summary{list-style:none;cursor:pointer;padding:16px 0;color:#746282;font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:8px}.more-settings>summary:before{content:'＋';font-size:18px;color:#bd91c7}.more-settings[open]>summary:before{content:'−'}.more-settings>summary span{font-size:10px;color:#b0a0b8;margin-left:auto}.toggle-row,.config-row{color:#7c6b8a;font-size:12px}.toggle-row small{color:#a293ad;font-size:10px}.quality-field select{width:65%;font-size:11px}.config-row{flex-wrap:wrap}.config-row input[type=range]{width:65px}.battle-start{margin-top:13px}.hint{color:#a99bb3;font-size:10px;text-align:center}.match-rules{color:#ac9db7;font-size:9px;letter-spacing:0}
.site-footer{border:0;color:#ac9cba;margin-top:24px;padding:18px 32px;font-size:10px;letter-spacing:0}.site-footer>span:first-child{display:none}.site-footer>span:last-child{margin:auto}.site-footer b{display:none}dialog{border:2px solid white;border-radius:28px;background:#faf7ff;color:#554461;box-shadow:0 25px 100px #614f8540;padding:32px;max-height:85vh;overflow:auto}dialog::backdrop{background:#4a385570;backdrop-filter:blur(8px)}dialog h2{font-size:27px}.dialog-close{color:#8c76a0;font-size:26px;width:40px;height:40px;background:#eee7f5;border-radius:12px;top:16px;right:16px}.library-intro{color:#9e8bab;font-size:13px;margin-top:10px}.library-links{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.monster-lab-link{margin:0;padding:18px;border:1px solid #e7d8f2;background:linear-gradient(130deg,#fff1f6,#eee5ff);color:#856391;font-size:13px;line-height:1.8;border-radius:17px}.monster-lab-link:nth-child(2n){background:linear-gradient(130deg,#e5f5f1,#fff2da);color:#648b80}.monster-lab-link:hover{border-color:#bb8ada}.help-grid p,.help-note{color:#8a779b}.help-grid h3{color:#c75d84}.help-grid article:last-child h3{color:#6884be}dialog kbd{background:white;color:#8a649a;border-color:#d7c8e2}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #8574cd;outline-offset:3px}.loading-screen{background:radial-gradient(ellipse at 30% 20%,#ffe0ec,transparent 60%),#f5efff;color:#716084}.loading-card{background:#fffc;border-color:white;border-radius:28px;box-shadow:0 20px 60px #ac8dca2a}.loading-card p{color:#9685a5}.loading-star{color:#e780a1}
body.in-battle{background:radial-gradient(ellipse at 50% 0,#353055,transparent 70%),#111325;color:#eff5ff}.in-battle .site-header{border-color:#343045}.in-battle .brand{color:#fff}.in-battle .site-header .text-button{background:#292639;border-color:#39364b;color:#cbc2df}.in-battle .edition,.in-battle .site-footer{color:#9a8dad}.in-battle .arena{border-radius:22px;border-color:#7d648e;box-shadow:0 12px 50px #05030d80}.in-battle .primary{font-size:13px}.in-battle .secondary{border-radius:12px}.in-battle .result-panel{border-radius:24px}.in-battle .eyebrow{color:#ffb5cd}
@media(max-width:1050px){.selection-layout{grid-template-columns:280px minmax(0,1fr);gap:18px}.roster-panel{padding:18px 18px 0}.fighter-card{height:150px}.fighter-card canvas{height:113px}.fighter-grid{min-height:312px;gap:10px}.portrait-stage{height:320px}.player-tabs button{flex-direction:column;gap:3px;padding:9px}.filters button{font-size:12px;padding:8px}.stage-layout{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.match-config{padding:20px}.steps{gap:6px}.steps li{padding:10px;font-size:11px}.edition{display:none}}
@media(max-width:760px){main{padding:0 16px}.site-header{padding:0 16px;height:76px;gap:10px}.brand{font-size:19px;gap:8px}.brand small{display:none}.brand-mark{width:40px;height:40px;font-size:29px;border-radius:13px}.site-header nav{gap:4px}.site-header .text-button{padding:8px;font-size:11px}.section-heading{margin:23px 0 18px;flex-direction:column;align-items:flex-start;gap:18px}h1{font-size:28px}.lobby-subtitle{font-size:12px;margin-top:8px}.steps{width:100%;gap:7px}.steps li{flex:1;justify-content:center;font-size:11px;padding:9px 4px;border-radius:12px}.steps b{width:20px;height:20px;font-size:11px}.selection-layout{grid-template-columns:1fr;gap:16px}.fighter-preview{grid-column:1;grid-row:1;display:grid;grid-template-columns:48% 52%;border-radius:22px}.preview-label{grid-column:1/-1;padding:12px 18px;font-size:12px}.portrait-stage{height:200px;margin:0 0 12px 12px;border-radius:18px;grid-column:1;grid-row:2}.fighter-info{grid-column:2;grid-row:2;padding:6px 17px 15px;min-width:0}.fighter-info h2{font-size:22px;margin:0 0 6px}.fighter-info>p{font-size:11px;min-height:0;line-height:1.7}.fighter-details{margin-top:8px}.fighter-details summary{padding-top:10px;font-size:12px}.fighter-details[open]{position:relative}.fighter-details .mini-stats{flex-direction:column;gap:6px}.power-preview p{font-size:11px}.skin-picker{display:grid;grid-template-columns:1fr 1fr}.roster-panel{grid-column:1;grid-row:2;padding:16px 14px 0;border-radius:22px}.player-tabs{margin-bottom:12px;gap:8px}.player-tabs button{flex-direction:row;font-size:11px;gap:5px;padding:10px 5px}.player-tabs button b{font-size:12px}.roster-toolbar{margin-bottom:12px;align-items:center;gap:5px}.filters{gap:2px;flex-wrap:wrap}.filters button{padding:7px;font-size:11px;border-radius:9px}.roster-toolbar>.text-button{font-size:10px;padding:5px;flex-shrink:0}.fighter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;min-height:228px}.fighter-card{height:111px;border-radius:13px;padding:3px 1px 25px}.fighter-card canvas{height:82px}.fighter-card b{font-size:11px;padding-bottom:6px}.pick-tag{font-size:8px;top:3px;left:3px;padding:2px 4px}.pick-tag.right{right:3px}.roster-pagination{gap:17px;font-size:11px;padding:13px 0}.roster-pagination button{font-size:11px;padding:7px 9px}.selection-action{padding:16px 0 20px;flex-wrap:nowrap;gap:8px}.selection-action>div>span{font-size:11px}.selection-action p{font-size:10px}.selection-action .primary{font-size:12px;padding:11px 13px;gap:10px;border-radius:13px;min-height:44px}.stage-layout{grid-template-columns:1fr;gap:20px}.stage-hero{border-width:3px;border-radius:19px}.stage-hero-copy{left:16px;bottom:15px}.stage-hero-copy h2{font-size:23px}.stage-hero-copy p{font-size:10px;margin-top:5px}.stage-grid{gap:7px}.stage-card{border-radius:12px}.stage-card>div{padding:8px 5px}.stage-card b{font-size:10px}.stage-card span{display:none}.match-config{border-radius:23px;padding:22px}.match-fighters canvas{height:110px}.match-fighters b{font-size:13px}.library-links{grid-template-columns:1fr}.site-footer{margin-top:12px;padding:14px}.help-grid{grid-template-columns:1fr}dialog{padding:26px 22px}.battle-screen{padding-top:16px}.in-battle .arena{border-radius:12px}}
@media(max-width:360px){.site-header .brand small{display:none}.brand{font-size:16px}.brand-mark{width:32px;height:32px;font-size:25px}.site-header{gap:5px}.site-header .text-button{padding:7px 5px;font-size:10px}.fighter-grid{grid-template-columns:repeat(3,minmax(0,1fr));min-height:347px}.filters button{font-size:10px;padding:6px}.player-tabs button{flex-direction:column;gap:2px}.portrait-stage{height:175px}.fighter-info h2{font-size:20px}.selection-action>div{max-width:88px}.selection-action .primary{font-size:11px;padding:11px 10px}.steps li{gap:4px;font-size:10px}}
