:root{font-family:Noto Sans SC,Microsoft YaHei,sans-serif;color:#30334b;background:#f7f7fb;font-synthesis:none;font-size:13px;font-weight:400;--purple:#7967b7;--purple-dark:#65519e;--muted:#7b7f94;--line:#e8e8f0;--surface:#fff}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer;color:inherit}button{border:0;background:none}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent}h1,h2,h3,h4,p{margin:0}button,select,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:2px solid #9a82cc}button:not(:disabled),a{transition:background .18s,transform .18s,box-shadow .18s,color .18s}input,select{border:1px solid #dedeea;background:#fff;border-radius:8px;padding:9px 12px;color:#47475c;min-width:0}input:focus,select:focus{outline:2px solid #d9cdee;outline-offset:1px}select{cursor:pointer}input[type=checkbox]{accent-color:var(--purple);width:15px;height:15px}input[type=range]{accent-color:var(--purple);padding:0;height:4px}button:hover:not(:disabled){color:var(--purple-dark)}.muted{color:var(--muted);line-height:1.8}.eyebrow{font-size:9px;font-weight:600;letter-spacing:2.1px;color:#8c87a2;line-height:1.8}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:41px;border:1px solid #e3e0ed;background:#fff;border-radius:9px;padding:10px 18px;font-size:12px;font-weight:500;white-space:nowrap}.button:hover:not(:disabled){background:#f4f0fa;border-color:#c9b8e5}.button.primary{background:#7967b7;border-color:#7967b7;color:#fff;box-shadow:0 5px 10px #7967b714}.button.primary:hover:not(:disabled){background:#6855a5;transform:translateY(-1px)}.button.subtle{background:transparent;box-shadow:none}.button.compact-button{padding:7px 12px;min-height:34px}.text-button{display:inline-flex;gap:7px;align-items:center;color:var(--purple);font-size:11px;padding:7px 0}.icon-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#858398;flex:none}.icon-button:hover:not(:disabled){background:#eeeaf6}.tag{display:inline-flex;align-items:center;gap:6px;border-radius:5px;background:#f1eef7;color:#85729f;font-size:10px;padding:4px 7px;white-space:nowrap;font-weight:400}.count{font-size:11px;color:#9a8bad;font-weight:400;background:#ece8f4;border-radius:5px;padding:2px 6px;margin-left:6px}.spin{animation:spin 1.5s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{min-height:100vh}.sidebar{position:fixed;z-index:30;inset:0 auto 0 0;width:82px;background:#fff;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;padding:24px 12px 18px}.brand-mark{width:43px;height:43px;display:grid;place-items:center;color:#8c77ba;margin-bottom:41px;background:#f3eff9;border-radius:13px;overflow:hidden;padding:0;box-shadow:0 4px 12px #7967b724}.brand-mark:hover{transform:translateY(-1px);box-shadow:0 6px 16px #7967b730}.brand-mark .brand-logo{width:100%;height:100%;display:block}.nav-stack{display:flex;flex-direction:column;gap:13px;width:100%}.nav-item{height:64px;border-radius:10px;color:#8c8b9f;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;position:relative}.nav-item span{font-size:9px;letter-spacing:.2px}.nav-item.active{color:#806ab7;background:#f0ecf8}.nav-item.active:before{content:"";position:absolute;width:3px;height:22px;background:#8b72c0;left:-12px;border-radius:0 3px 3px 0}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;flex-direction:column;gap:12px;padding-top:30px}.user-avatar{width:33px;height:33px;background:#ede6f5;color:#9276b1;border:3px solid #faf7fd;display:grid;place-items:center;border-radius:50%;font-size:12px}.main-shell{margin-left:82px}.topbar{height:77px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#ffffffa8;border-bottom:1px solid var(--line);gap:20px}.breadcrumb{display:flex;align-items:center;gap:17px;color:#9b99aa;font-size:11px}.breadcrumb>span{font-size:19px;color:#4c4665;letter-spacing:3px;font-weight:600}.breadcrumb small{font-size:8px;letter-spacing:1.9px;display:inline-block;margin-left:12px;vertical-align:middle;color:#aaa2b9;font-weight:500}.breadcrumb strong{font-size:11px;font-weight:400;color:#77738b}.topbar-actions{display:flex;align-items:center;gap:15px}.connection{font-size:10px;color:#8d899c;display:flex;align-items:center;gap:6px;white-space:nowrap}.connection i,.live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#bd9b73}.connection.online i,.live-dot{background:#79a392;box-shadow:0 0 0 3px #79a39210}.topbar-divider{height:17px;width:1px;background:#e8e5ee}.profile{display:flex;align-items:center;gap:8px;font-size:11px;color:#78718a}.profile>span{width:27px;height:27px;border-radius:50%;background:#eae3f4;color:#9074b4;display:grid;place-items:center;font-size:10px}.page{padding:34px 38px 20px;max-width:1630px;margin:auto}.page-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:24px}.page-intro h1{font-size:26px;letter-spacing:.5px;font-weight:550;margin:8px 0 9px;line-height:1.5}.page-intro p{color:#8a859a;font-size:12px}.heading-star{color:#b5a4cf;margin-left:10px;font-weight:300}.date-badge{font-size:10px;display:flex;align-items:center;gap:8px;color:#9690a4;padding:10px 12px;border:1px solid #e9e6ef;background:#fff9;border-radius:7px;white-space:nowrap}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}.section-heading h2{font-size:18px;letter-spacing:.5px;font-weight:550;margin-top:4px}.section-heading>.muted{font-size:10px}.panel{background:#fff;border:1px solid #e8e6ef;border-radius:12px}.home-hero{border:1px solid #e7e1f1;border-radius:17px;min-height:365px;overflow:hidden;position:relative;background:radial-gradient(ellipse at 88% 25%,#ece8f9 0%,transparent 47%),linear-gradient(105deg,#f1edf8,#f5f3fc 65%,#efedf7);display:flex;justify-content:space-between}.home-hero:before{content:"";position:absolute;inset:0;opacity:.45;background-image:radial-gradient(#b7abcd 1px,transparent 1px);background-size:23px 23px;-webkit-mask-image:linear-gradient(90deg,transparent 42%,#000);mask-image:linear-gradient(90deg,transparent 42%,#000)}.hero-copy{padding:33px 40px 30px;z-index:1;min-width:430px}.hero-copy>.tag{font-size:9px;letter-spacing:1px;background:#ffffff90;border:1px solid #e1d8ee;color:#9684b1;padding:5px 9px}.tiny-spark{font-size:13px}.hero-copy h2{font-size:37px;letter-spacing:1.3px;line-height:1.53;font-weight:500;color:#504464;margin-top:17px}.hero-copy h2>span{color:#b8a7cc}.hero-copy p{font-size:11px;color:#8c829d;line-height:2;margin:13px 0 23px}.hero-copy>.button{font-size:11px;padding:12px 18px}.hero-copy>small{display:flex;align-items:center;gap:6px;font-size:9px;letter-spacing:.5px;color:#a299b1;margin-top:17px}.hero-art{position:relative;width:53%;flex:1;min-width:350px;height:365px}.orbital{position:absolute;border:1px solid #d1c8e4;border-radius:50%;pointer-events:none}.orbit-one{width:410px;height:410px;left:17%;top:-25px;transform:rotate(-30deg) scaleY(.72)}.orbit-two{width:510px;height:510px;left:5%;top:-70px;transform:rotate(32deg) scaleY(.75);border-color:#ddd5ec}.orbit-one:after{content:"";position:absolute;width:8px;height:8px;background:#c3b4d8;left:72px;top:35px;box-shadow:0 0 0 5px #c3b4d815;border-radius:50%}.hero-star{position:absolute;color:#ae9bc8;font-size:30px;z-index:2}.star-one{left:18%;top:40px}.star-two{right:9%;top:80px;font-size:44px}.star-three{right:18%;bottom:35px;font-size:15px}.hero-card{position:absolute;top:38px;left:42%;height:284px;width:187px;border:1px solid #e8dfea;background:linear-gradient(145deg,#fffcfe,#f1e7ef);border-radius:9px;box-shadow:0 15px 35px #9382b42c;text-align:center;transform:rotate(11deg);color:#9b6b88}.hero-card:after{content:"";position:absolute;inset:7px;border:1px solid #c4a7b75c;pointer-events:none;border-radius:4px}.hero-card .sigil{height:180px;width:172px;margin:0 auto}.hero-card .sigil-icon{transform:translate(-50%,-50%) scale(.8)}.hero-card strong{font-size:20px;font-weight:500;letter-spacing:3px;display:block;margin-top:0}.hero-card small{font-size:6px;letter-spacing:1.8px;display:block;margin-top:7px}.hero-card-front{top:45px}.hero-card-front .sigil{height:162px}.hero-card-label{display:flex;justify-content:space-between;padding:17px 17px 0;font-size:12px}.hero-card-stars{font-size:12px;color:#bb9aab;margin-top:12px}.hero-card-back{left:16%;top:34px;transform:rotate(-14deg);height:264px;width:176px;background:linear-gradient(135deg,#fbfafc,#ede7f4);color:#9180ab}.hero-card-back strong{margin-top:1px}.art-caption{position:absolute;bottom:21px;left:22%;font-size:8px;letter-spacing:1.7px;color:#b0a5c0;font-style:italic}.mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:21px}.mode-card{display:flex;align-items:center;text-align:left;gap:15px;border:1px solid #e6e4ee;background:#fff;border-radius:11px;padding:22px 19px;position:relative;overflow:hidden;min-height:112px}.mode-card:hover{box-shadow:0 5px 22px #82759713;transform:translateY(-3px)}.mode-card>svg{margin-left:auto;color:#b5acc5;flex:none}.mode-icon{width:47px;height:47px;border-radius:12px;background:#f0eaf7;color:#9a80bd;display:grid;place-items:center;flex:none;transform:rotate(-3deg)}.mode-card small{font-size:8px;letter-spacing:1.6px;color:#b0a6bf;display:block;margin-bottom:5px}.mode-card h3{font-size:15px;font-weight:500;letter-spacing:1px}.mode-card p{font-size:9px;line-height:1.8;color:#9690a2;margin-top:6px}.mode-card.peach .mode-icon{background:#faf0e8;color:#cd9b80}.mode-card.peach small{color:#bca08d}.mode-card.sage .mode-icon{background:#eaf2ef;color:#83a69c}.mode-card.sage small{color:#95aaa2}.roster-section{margin-top:33px}.character-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.character-card{--character:#8b78b2;border:1px solid color-mix(in srgb,var(--character) 23%,white);background:linear-gradient(160deg,color-mix(in srgb,var(--character) 7%,white),color-mix(in srgb,var(--character) 14%,white));border-radius:10px;text-align:left;overflow:hidden;position:relative;padding:0;isolation:isolate;min-width:0}.character-card:after{content:"";position:absolute;inset:5px;border:1px solid color-mix(in srgb,var(--character) 17%,transparent);border-radius:6px;pointer-events:none;z-index:3}.character-card:hover{transform:translateY(-5px);box-shadow:0 9px 20px color-mix(in srgb,var(--character) 18%,transparent)}.character-card.selected{outline:2px solid var(--character);outline-offset:2px}.card-top{position:absolute;top:14px;left:14px;right:14px;display:flex;justify-content:space-between;color:var(--character);z-index:4;font-size:9px;letter-spacing:1px}.sigil{position:relative;height:190px;width:100%;color:var(--character);overflow:hidden}.sigil>svg{position:absolute;width:100%;height:100%;left:0;top:0}.sigil-icon{position:absolute;left:50%;top:49%;transform:translate(-50%,-50%);width:76px;height:76px;border-radius:50%;border:1px solid color-mix(in srgb,var(--character) 24%,transparent);display:grid;place-items:center;background:color-mix(in srgb,var(--character) 5%,#ffffff70);box-shadow:0 0 40px color-mix(in srgb,var(--character) 8%,transparent)}.portrait{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}.card-name{padding:0 17px 16px;position:relative;z-index:4}.card-name>span{font-size:8px;letter-spacing:.8px;color:color-mix(in srgb,var(--character) 80%,#51475b)}.card-name h3{font-size:17px;letter-spacing:1.5px;font-weight:500;color:#5e5369;margin-top:6px}.card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:14px;border-top:1px solid color-mix(in srgb,var(--character) 16%,transparent);padding-top:10px;color:var(--character)}.card-bottom>span{font-size:6px;letter-spacing:1.3px;opacity:.8}.page-footer{display:flex;justify-content:space-between;align-items:center;margin-top:28px;padding-top:20px;border-top:1px solid var(--line);font-size:9px;color:#a6a0b2}.page-footer span,.page-footer button{display:flex;align-items:center;gap:6px;font-size:9px;color:#a6a0b2}.setup-toolbar{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--line);padding:13px 16px;border-radius:11px;margin-bottom:30px}.setup-toolbar>label{display:flex;gap:10px;align-items:center;color:#817b91;font-size:11px}.setup-toolbar select{padding:7px 10px}.segmented{display:flex;align-items:center;padding:4px;background:#f5f3f9;border-radius:8px;gap:5px}.segmented>button{display:flex;align-items:center;gap:8px;padding:9px 17px;font-size:11px;border-radius:6px;color:#9d94ab}.segmented>button.active{background:#fff;box-shadow:0 2px 6px #38294a09;color:#8571aa}.formation-teams{display:grid;grid-template-columns:1fr 1fr;gap:22px}.formation-team{border:1px solid var(--line);border-radius:12px;background:#fff;padding:18px}.formation-team.editing{border-color:#c7b7de;box-shadow:0 0 0 3px #c7b7de0b}.team-title{width:100%;display:flex;gap:9px;align-items:center;text-align:left}.team-title strong{font-weight:500;font-size:14px}.team-dot{display:inline-block;width:7px;height:7px;border:2px solid #8b9ec4;transform:rotate(45deg);flex:none}.team-dot.orange{border-color:#d2a185;border-radius:50%;transform:none}.selecting{color:#a794bd;font-size:9px;margin-left:auto}.formation-slots{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:17px}.formation-slot{position:relative;background:color-mix(in srgb,var(--character) 5%,white);border:1px solid color-mix(in srgb,var(--character) 15%,white);border-radius:8px;padding:11px 9px;display:flex;align-items:center;gap:8px;min-height:65px}.mini-avatar{width:37px;height:37px;display:grid;place-items:center;color:var(--character);background:color-mix(in srgb,var(--character) 10%,white);border-radius:50%;flex:none}.formation-slot>div{min-width:0}.formation-slot strong{font-size:11px;font-weight:500;display:block}.formation-slot small{font-size:8px;display:block;color:#9c90a6;margin-top:5px;white-space:nowrap}.formation-slot .icon-button{position:absolute;right:1px;top:0;width:21px;height:21px}.slot-control{font-size:9px;color:#a08eac;display:flex;gap:2px;align-items:center;margin-left:auto;margin-top:10px}.slot-control input{width:11px;height:11px}.empty-slot{border:1px dashed #ded8e8;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:65px;color:#aba1b8;font-size:10px}.pool-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);margin:26px 0 20px}.pool-heading>.muted{font-size:10px}.tabs{display:flex;gap:19px}.tabs>button{position:relative;font-size:11px;color:#9690a5;padding:13px 0}.tabs>button.active{color:#8065ac}.tabs>button.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#9d85c5;border-radius:2px}.tabs>button span{font-size:8px;background:#eae4f3;border-radius:3px;padding:2px 4px;margin-left:3px}.character-card.small .sigil{height:145px}.character-card.small .sigil-icon{transform:translate(-50%,-50%) scale(.8)}.character-card.small .card-name{padding:0 14px 13px}.character-card.small .card-name h3{font-size:14px}.character-card.small .card-bottom{margin-top:10px;padding-top:8px}.selection-grid{row-gap:22px}.setup-submit{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:30px;padding:20px 22px;border:1px solid #e6e0ef;border-radius:11px;background:#f2eff8}.setup-submit>div{display:flex;gap:11px;align-items:center;color:#9b87b6}.setup-submit p{font-size:11px;color:#8b7d9b;line-height:1.8}.library-grid{grid-template-columns:repeat(6,minmax(0,1fr));row-gap:23px}.library-grid .sigil{height:210px}.search{min-width:240px;font-size:11px}.battle-page{padding:24px 25px 14px;max-width:1900px;margin:auto}.battle-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.battle-heading h1{font-size:20px;letter-spacing:.4px;font-weight:500;display:flex;align-items:center;gap:11px;margin-top:5px}.battle-heading h1 .tag{font-size:9px}.battle-heading>div:last-child{display:flex;align-items:center;gap:7px}.initiative-bar{height:57px;background:#fff;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;padding:0 14px;margin-bottom:16px;gap:18px}.initiative-label{display:flex;align-items:center;gap:6px;white-space:nowrap;color:#9b90ac;font-size:10px;border-right:1px solid var(--line);padding-right:16px}.initiative-list{display:flex;align-items:center;gap:7px;overflow-x:auto;flex:1;scrollbar-width:thin}.initiative-list>button{display:flex;gap:7px;align-items:center;white-space:nowrap;padding:9px 11px;color:#8f869e;border:1px solid transparent;font-size:10px;border-radius:7px}.initiative-list>button svg{color:var(--character)}.initiative-list>button.active{background:#f4f0fa;border-color:#e6dcf0;color:#82709f}.initiative-list small{font-size:8px;background:#e9e0f3;padding:2px 4px;border-radius:3px}.initiative-round{font-size:8px;letter-spacing:1px;color:#b0a4c0;white-space:nowrap}.initiative-round b{font-size:19px;color:#9c88b9;margin-left:5px;font-weight:400}.battle-layout{display:grid;grid-template-columns:200px minmax(340px,1fr) 275px;gap:16px;align-items:stretch}.team-panel,.detail-panel{min-height:450px;max-height:calc(100vh - 388px);overflow:hidden;display:flex;flex-direction:column}.panel-title{height:46px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);color:#a69bb5;flex:none}.panel-title span{font-size:11px;display:flex;align-items:center;gap:7px;color:#7e738f}.battle-team{padding:17px 9px 9px;overflow-y:auto;scrollbar-width:thin}.team-caption{display:flex;align-items:center;gap:7px;padding:0 5px;margin-bottom:14px}.team-caption strong{font-size:10px;font-weight:500}.team-caption>span:last-child{margin-left:auto;font-size:8px;color:#a59aaf}.unit-row{width:100%;display:flex;gap:9px;align-items:center;padding:10px 7px;text-align:left;border-radius:7px;position:relative;margin-bottom:4px;border:1px solid transparent}.unit-row:hover,.unit-row.selected{background:#f7f4fb;border-color:#eee7f4}.unit-avatar{position:relative;width:36px;height:36px;border-radius:50%;border:1px solid color-mix(in srgb,var(--character) 22%,white);background:color-mix(in srgb,var(--character) 10%,white);display:grid;place-items:center;color:var(--character);flex:none}.unit-avatar>b{position:absolute;bottom:-2px;right:-2px;font-size:8px;background:var(--character);color:#fff;border-radius:4px;padding:1px 3px}.unit-row-info{flex:1;min-width:0}.unit-row-info>div{display:flex;align-items:center;justify-content:space-between}.unit-row-info strong{font-size:10px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unit-row-info>div>span{font-size:8px;color:#aea4b8}.unit-row-info>i{display:block;height:3px;border-radius:4px;background:#e7e7ed;margin-top:7px;overflow:hidden}.unit-row-info>i>b{display:block;height:100%;background:#93b1a4;border-radius:4px}.unit-row-info small{font-size:7px;display:flex;justify-content:space-between;color:#a99db3;margin-top:5px}.unit-row-info small span{max-width:55px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.turn-dot{position:absolute;width:4px;height:4px;border-radius:50%;background:#a28ac1;top:5px;right:5px}.team-panel-bottom{margin-top:auto;padding:17px 10px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:8px;color:#c0b5cd;border-top:1px solid #f0edf5}.arena-panel{display:flex;flex-direction:column;overflow:hidden}.arena-heading{display:flex;align-items:center;justify-content:space-between;padding:8px 17px;border-bottom:1px solid var(--line);height:46px;flex:none}.arena-heading>div{display:flex;align-items:center;gap:9px;color:#a495b7}.arena-heading strong{font-size:11px;font-weight:500;color:#746481}.arena-heading>div>span{font-size:9px;color:#b0a4bc}.board-legend{display:flex;align-items:center;gap:5px;font-size:8px!important;color:#9e97a9!important}.board-legend i{height:5px;width:5px;border-radius:50%;background:#8fa3c2;margin-left:6px}.board-legend i:last-child{background:#cea88d}.board-viewport{display:flex;align-items:center;justify-content:center;position:relative;flex:1;min-height:360px;max-height:calc(100vh - 480px);background:radial-gradient(ellipse at center,#faf9fc,#f5f5fa);padding:8px 10px;overflow:hidden}.battle-board{height:100%;max-height:540px;width:100%;max-width:730px;min-height:330px;overflow:visible}.coordinate{font-size:10px;fill:#b1a9c2;text-anchor:middle;font-family:inherit}.board-cell{cursor:pointer}.board-cell:hover{fill:#e9e3f25c}.move-mode .board-cell:hover{fill:#d7c9eb99;stroke:#b5a0d0;stroke-width:1px}.board-token{cursor:pointer;transition:transform .25s}.board-token:hover circle:first-of-type{stroke-width:3px}.board-token.defeated{opacity:.35}.zone-label{font-size:7px;text-anchor:middle;fill:#a08aaf}.board-hint{position:absolute;bottom:12px;left:50%;transform:translate(-50%);background:#fffef9ee;box-shadow:0 3px 15px #68558b18;border:1px solid #e5ddef;border-radius:7px;display:flex;align-items:center;gap:7px;white-space:nowrap;padding:9px 12px;color:#9582a9;font-size:10px}.board-hint button{color:#b49cc6;font-size:9px}.arena-status{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 13px;border-top:1px solid var(--line);font-size:8px;color:#b4a9bf;flex:none}.arena-status span:first-child{display:flex;align-items:center;gap:6px}.arena-status span:last-child{white-space:nowrap}.detail-tabs{justify-content:space-around;gap:0;padding:0 10px;border-bottom:1px solid var(--line);height:46px;flex:none}.detail-tabs button{font-size:10px}.log-heading{display:flex;align-items:center;justify-content:space-between;padding:15px 14px 12px;color:#a395af;gap:6px}.log-heading>span{font-size:9px;display:flex;align-items:center;gap:6px;white-space:nowrap}.log-heading input{font-size:8px;width:91px;padding:5px 7px;border-color:#f0ebf4}.event-log{overflow-y:auto;padding:0 14px 12px;scrollbar-width:thin;flex:1}.log-event{padding:10px 0 13px;border-bottom:1px solid #f0ecf5}.log-event summary{display:flex;gap:8px;cursor:pointer;list-style:none}.log-event summary::-webkit-details-marker{display:none}.event-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:6px;color:#a68cb9;background:#f4eef9;flex:none}.log-event.ai .event-icon{color:#8ca39a;background:#eff5f2}.log-event.reaction .event-icon{color:#c29a75;background:#fbf2e9}.log-event summary>div{min-width:0;flex:1}.log-event small{font-size:7px;letter-spacing:1px;color:#b1a3bf;display:flex;justify-content:space-between}.log-event small span{font-size:7px;color:#c5bbcf}.log-event p{font-size:10px;line-height:1.9;color:#8e7e9d;overflow-wrap:anywhere;margin-top:5px}.log-event pre{font-size:9px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;color:#83758f;background:#f8f5fb;border-radius:5px;padding:10px;font-family:inherit;max-height:250px;overflow:auto}.log-event>.text-button{font-size:9px}.unit-detail{padding:18px 16px;overflow:auto;scrollbar-width:thin}.unit-detail-header{display:flex;align-items:center;gap:10px;margin-bottom:22px}.unit-detail-header .unit-avatar{width:43px;height:43px}.unit-detail-header small{color:#b4a4c0;font-size:8px;letter-spacing:1px}.unit-detail-header h3{font-size:15px;font-weight:500;margin-top:3px}.unit-detail-header>.tag{margin-left:auto}.resource{margin-bottom:15px}.resource>div{display:flex;justify-content:space-between;font-size:9px;align-items:center;margin-bottom:6px}.resource span{color:#a29aac;font-size:8px}.resource strong{font-weight:500;color:#88a196;font-size:10px}.resource small{font-size:8px;color:#bbb2c4}.resource i{height:4px;display:block;background:#f1eef5;border-radius:3px;overflow:hidden}.resource b{display:block;height:100%;background:#93b4a6}.resource.mp b{background:#98afcf}.resource.mp strong{color:#92a7c2}.resource.san b{background:#ba9bca}.resource.san strong{color:#ae8cbd}.detail-stat{display:flex;justify-content:space-between;margin:11px 0;font-size:9px;color:#b0a4bb}.detail-stat strong{font-weight:400;color:#82718f}.unit-detail h4{font-size:10px;font-weight:500;margin:21px 0 12px;color:#93829e}.status-tags{display:flex;flex-wrap:wrap;gap:5px}.status-tags .muted,.unit-detail>.muted{font-size:9px}.inventory-row{display:flex;align-items:center;gap:7px;color:#b08ea3;font-size:10px;padding:7px 0}.inventory-row b{margin-left:auto;font-size:9px;font-weight:400}.grave-list{padding:15px;overflow:auto}.grave-list>button{display:flex;align-items:center;gap:8px;width:100%;padding:12px 3px;border-bottom:1px solid var(--line);flex-wrap:wrap;color:#a98eb5}.grave-list strong{font-size:11px;font-weight:500}.grave-list small{font-size:8px;color:#b4a4bf}.empty-state{padding:65px 5px;text-align:center;color:#bcabc9}.empty-state p{font-size:12px;margin:13px 0 8px}.empty-state small{font-size:9px}.action-dock{display:flex;align-items:stretch;margin-top:16px;padding:16px;gap:18px;min-height:115px}.acting-character{display:flex;gap:10px;align-items:center;border-right:1px solid var(--line);padding-right:20px;min-width:185px;max-width:235px}.acting-character>.unit-avatar{width:46px;height:46px}.acting-character small{font-size:8px;color:#b7a8c6}.acting-character h3{font-size:14px;font-weight:500;margin-top:4px;color:#7c698e}.acting-character>div>span{font-size:8px;color:#b6a7c2;display:flex;align-items:center;gap:5px;margin-top:9px}.acting-character b{font-weight:500;color:#9880ad}.acting-character i{display:inline-block;width:2px;height:2px;border-radius:50%;background:#c9becf;margin:0 2px}.skill-strip{display:flex;align-items:stretch;gap:8px;flex:1;overflow-x:auto;padding:1px;scrollbar-width:thin;min-width:0}.skill-button{min-width:89px;max-width:155px;flex:0 0 auto;background:#faf8fd;border:1px solid #eee8f5;border-radius:8px;padding:10px 12px;text-align:left;position:relative}.skill-button:hover:not(:disabled),.skill-button.selected{background:#f0e9f8;border-color:#ba9ad6}.skill-icon{color:#b39ac8;display:block;margin-bottom:8px}.skill-button strong{font-size:10px;display:block;font-weight:500;color:#8e75a2;white-space:nowrap}.skill-button small{font-size:8px;color:#b7a1c7;display:block;margin-top:6px}.utility-actions{display:grid;grid-template-columns:1fr;gap:5px;align-content:center;border-left:1px solid var(--line);padding-left:15px}.utility-actions button{display:flex;align-items:center;gap:7px;font-size:9px;color:#9c8cac;white-space:nowrap;padding:3px}.utility-actions button.active{color:#8463ab;background:#f4eef9}.end-turn{align-self:center;font-size:10px;color:#a08bb3;background:#f3eef9;border-color:#e8dfee;margin-left:auto;padding:10px 13px}.prep-message{display:flex;align-items:center;gap:15px;flex:1;color:#b7a2cc;flex-wrap:wrap}.prep-message>div{flex:1}.prep-message strong{font-size:13px;color:#8a779c;font-weight:500}.prep-message p{font-size:10px;color:#b2a3bd;line-height:1.8;margin-top:7px}.skill-selection-note{display:flex;align-items:center;gap:8px;font-size:10px;color:#9b85b0;background:#f2ecf8;padding:11px 15px;margin-top:10px;border-radius:7px}.skill-selection-note button{color:#8d70aa;font-size:10px;margin-left:auto;display:flex;align-items:center;gap:4px}.skill-selection-note button:last-child{margin-left:8px}.reaction-panel{display:flex;align-items:center;gap:18px;margin-top:15px;background:#fff9f0;border:1px solid #edddc5;border-radius:11px;padding:18px 21px}.reaction-icon{color:#c6a16e;width:49px;height:49px;background:#f8eedb;border-radius:50%;display:grid;place-items:center;flex:none}.reaction-panel .eyebrow{color:#c1a27b}.reaction-panel h3{font-size:14px;color:#a38258;font-weight:500;margin-top:4px}.reaction-panel p{font-size:10px;line-height:1.8;color:#baa17f;margin-top:5px}.reaction-options{margin-left:auto;display:flex;gap:9px;align-items:center}.reaction-options>.button{font-size:11px;color:#b49a76;border-color:#e9dbc8;min-width:70px}.reaction-options>span{font-size:10px;color:#bca17e}.playback-bar{display:flex;align-items:center;gap:18px;margin-top:14px;padding:6px 4px;color:#b1a2bd}.playback-bar>div{display:flex;align-items:center;gap:9px;white-space:nowrap}.playback-bar .eyebrow{font-size:8px;letter-spacing:1.2px}.playback-bar select{font-size:9px;padding:5px 8px;background:transparent;border-color:#e6e0ec;color:#ad98bd}.playback-bar>div>span:not(.eyebrow){font-size:9px}.playback-bar>input{flex:1;min-width:50px;height:3px;opacity:.65}.playback-bar>.text-button{font-size:9px;white-space:nowrap}.result-banner{display:flex;align-items:center;gap:20px;background:linear-gradient(110deg,#eee8f7,#f8f5fc);border:1px solid #ddd1ee;border-radius:11px;padding:20px 24px;margin-top:16px;color:#a48cbd}.result-banner>div{flex:1}.result-banner h2{font-size:20px;font-weight:500;margin:4px 0;color:#89719f}.result-banner p{font-size:10px;line-height:1.8;color:#a794b6}.result-banner .button{font-size:10px}.replay-tag{background:#f5e8d4;color:#ba975f}.simulation-config{display:flex;align-items:flex-end;gap:19px;padding:21px 24px;margin-bottom:26px;flex-wrap:wrap}.simulation-config>label{display:flex;flex-direction:column;gap:8px;font-size:10px;color:#9f90ad;flex:1;min-width:110px}.simulation-config input,.simulation-config select{width:100%;font-size:11px;min-height:39px}.simulation-results{padding:25px;margin-bottom:30px}.simulation-results .section-heading h2{font-size:20px}.sim-progress{height:3px;border-radius:4px;background:#eee9f4;overflow:hidden;margin:19px 0}.sim-progress i{height:100%;display:block;background:#aa91c6;transition:width .5s}.result-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:24px 0}.result-metrics>div{border-right:1px solid var(--line)}.result-metrics>div:last-child{border:0}.result-metrics span{font-size:10px;color:#a493b4}.result-metrics strong{font-size:35px;font-weight:400;color:#9980b4;display:block;margin:9px 0}.result-metrics small{font-size:14px;margin-left:3px}.result-metrics>div:nth-child(2) strong{color:#c29f82}.result-metrics p{font-size:9px;color:#b3a4be}.winrate-bar{height:9px;display:flex;background:#eee9f5;overflow:hidden;border-radius:7px;margin:20px 0 14px}.winrate-bar i{background:#aa94c6}.winrate-bar b{background:#d8b596}.simulation-results>.muted{font-size:10px}.export-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.export-actions a{font-size:10px}.modal-scrim{position:fixed;z-index:100;inset:0;display:flex;align-items:center;justify-content:center;background:#32273f55;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);padding:24px}.modal{background:#fff;border:1px solid #e7deef;border-radius:17px;box-shadow:0 25px 90px #34244133;width:460px;max-width:100%;padding:25px;max-height:90vh;overflow-y:auto;animation:modal-in .2s ease-out}.modal.wide{width:740px}.modal>header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:22px}.modal h2{font-size:18px;font-weight:500;letter-spacing:.3px;color:#7c6b8d}.modal>p{font-size:11px;line-height:1.9;color:#9a8ba8}.modal h3{font-size:14px;font-weight:500;color:#9b82ae}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.modal-actions .button{font-size:11px}.field{display:flex;flex-direction:column;gap:9px;font-size:11px;color:#9c8aa9;margin:20px 0}.field input{width:100%;padding:12px}.code-input{font-size:22px;text-transform:uppercase;letter-spacing:6px}.checkbox{display:flex;align-items:center;gap:8px;font-size:11px;color:#9c87af;margin-top:12px}.modal-note{font-size:10px;line-height:1.9;color:#a792b8;padding:13px;background:#f7f2fb;border-radius:8px;display:flex;align-items:center;gap:9px;margin-top:22px}.confirmation-art{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:#f5effb;color:#b59aca;margin:25px auto 18px}.confirmation-title{text-align:center;font-size:20px!important;color:#89719f!important}.confirmation-target{text-align:center;margin-top:12px!important}.error-text{font-size:11px;color:#c08181;margin-top:15px;line-height:1.8}.room-members{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:25px}.room-members>div{display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:12px;border-radius:8px}.room-members strong{font-size:11px;font-weight:500;color:#9b86ac}.room-members>div>span:last-child{margin-left:auto;font-size:9px}.ready-state{color:#8bab9c}.assignment-list{margin-top:18px}.assignment-list>label{display:flex;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid var(--line)}.assignment-list strong{font-weight:500;font-size:12px;min-width:80px}.assignment-list>label>span:not(.team-dot){font-size:9px;color:#b2a2be}.assignment-list select{margin-left:auto;font-size:11px;max-width:160px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}.settings-row>span{display:flex;align-items:center;gap:10px;color:#b09ac2}.settings-row strong{font-size:12px;font-weight:500;display:block;color:#a18bad}.settings-row small{display:block;font-size:9px;line-height:1.8;margin-top:5px;color:#baa6c6}.help-list p{font-size:11px;line-height:1.9;color:#a694b3;margin-bottom:17px}.help-list b{display:block;color:#937ca5;font-weight:500;margin-bottom:4px}.character-profile{display:grid;grid-template-columns:220px 1fr;gap:28px}.profile-art{background:linear-gradient(145deg,color-mix(in srgb,var(--character) 4%,white),color-mix(in srgb,var(--character) 12%,white));border:1px solid color-mix(in srgb,var(--character) 25%,white);border-radius:10px;text-align:center;align-self:start;padding-bottom:24px}.profile-art .sigil{height:250px}.profile-art>span{font-size:11px;letter-spacing:3px;color:var(--character)}.profile-art h2{font-size:24px;letter-spacing:2px;margin:8px 0;color:var(--character)}.profile-art>p{font-size:10px;color:var(--character);opacity:.7}.profile-skills h3{margin-top:6px}.base-stats{display:flex;justify-content:space-around;border:1px solid var(--line);padding:15px;border-radius:8px;margin:20px 0}.base-stats small{display:block;font-size:9px;color:#b3a2bf}.base-stats strong{display:block;font-weight:400;font-size:22px;color:#9d84b1;margin-top:7px}.profile-skills details{border-bottom:1px solid var(--line);padding:14px 0}.profile-skills summary{display:flex;align-items:center;gap:8px;color:#ac94bc;font-size:11px;list-style:none;cursor:pointer}.profile-skills summary strong{font-size:11px;font-weight:500;flex:1}.profile-skills summary .tag{font-size:8px}.profile-skills details>p{font-size:10px;color:#b49dc4;margin:15px 0}.effect-description{background:#f7f4fa;margin-top:8px;border-radius:5px;padding:8px;display:flex;flex-wrap:wrap;gap:6px}.effect-description>span{font-size:9px;line-height:1.8;color:#ad97ba;overflow-wrap:anywhere}.effect-description b{font-weight:500;color:#95819f}.error-banner{background:#fff2ed;border:1px solid #f2d8cb;color:#bc8d78;padding:12px 18px;margin:16px 30px;display:flex;align-items:center;gap:9px;border-radius:8px;font-size:12px}.error-banner>span{flex:1}.error-banner>button{display:grid;place-items:center;color:#cba28c}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%);background:#fff;border:1px solid #e3d9ec;border-radius:10px;padding:14px 20px;z-index:150;box-shadow:0 8px 35px #65417e1f;display:flex;align-items:center;gap:9px;color:#9d80af;font-size:12px;max-width:90vw}.loading-state{height:70vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:#b399c6}.loading-state h2{font-size:20px;font-weight:400}.loading-state p{font-size:12px;color:#a393b0}@keyframes modal-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.page-intro p,.mode-card p,.card-name>span,.unit-row-info small,.arena-status,.log-event p,.prep-message p,.skill-button small,.resource span,.unit-detail>.muted,.status-tags>.muted,.detail-stat,.modal>p,.help-list p,.settings-row small,.field,.effect-description>span{color:#777087}.skill-button strong,.unit-detail h4,.log-heading,.formation-slot small,.formation-slot strong,.acting-character>div>span,.acting-character small{color:#776581}.skill-button:disabled{opacity:.57}.eyebrow{color:#81758d}.mode-card small,.card-bottom>span{color:#8d8099}.log-event small,.unit-row-info>div>span,.resource small{color:#8b7f97}.resource strong{color:#5d8371}.resource.mp strong{color:#597daa}.resource.san strong{color:#8e62a5}.profile-skills details>p,.effect-description b,.modal-note,.settings-row strong,.checkbox{color:#82708e}.button:disabled{opacity:.55}@media(min-width:1650px){.home-hero{min-height:420px}.hero-copy{padding:45px 55px}.hero-copy h2{font-size:43px}.hero-art{height:420px}.hero-card{top:58px;height:303px;width:200px}.hero-card-back{height:284px;width:185px;top:44px}.hero-card-front .sigil{height:177px}.hero-card .sigil{width:185px}.home-roster .sigil{height:230px}.mode-card{padding:25px}.board-viewport{min-height:470px}.battle-layout{grid-template-columns:230px minmax(400px,1fr) 310px}}@media(max-width:1250px){.page{padding:28px}.topbar{padding:0 28px}.hero-copy{padding:30px;min-width:360px}.hero-copy h2{font-size:32px}.hero-art{min-width:320px}.hero-card-back{left:5%}.hero-card-front{left:35%}.mode-card{gap:10px;padding:17px 14px}.mode-card p{font-size:9px}.mode-icon{width:39px;height:39px}.character-grid{gap:12px}.home-roster .sigil{height:155px}.card-name{padding:0 12px 13px}.card-name h3{font-size:15px}.battle-layout{grid-template-columns:175px minmax(300px,1fr) 240px;gap:12px}.battle-page{padding:20px 18px}.action-dock{gap:12px;padding:13px}.acting-character{min-width:160px;padding-right:12px}.acting-character h3{font-size:12px}.acting-character>.unit-avatar{width:37px;height:37px}.utility-actions{padding-left:10px}.arena-status span:last-child{display:none}.battle-board{min-height:310px}.initiative-label{padding-right:9px}.initiative-bar{gap:10px}.formation-slots{grid-template-columns:1fr}.formation-slot{min-height:60px}.formation-slot small{font-size:9px}.empty-slot{min-height:50px}.library-grid{grid-template-columns:repeat(4,1fr)}.library-grid .sigil{height:210px}}@media(max-width:1050px){.breadcrumb small{display:none}.sidebar{width:72px;padding-left:9px;padding-right:9px}.main-shell{margin-left:72px}.nav-item.active:before{left:-9px}.page{padding:24px}.topbar{padding:0 24px;height:68px}.hero-copy{min-width:320px}.hero-copy h2{font-size:30px}.hero-art{min-width:250px}.hero-card{width:150px;height:250px;left:37%;top:65px}.hero-card .sigil{width:145px;height:150px}.hero-card-front .sigil{height:139px}.hero-card-front strong{font-size:17px}.hero-card-back{width:142px;height:230px;left:5%;top:50px}.hero-card-back .sigil{width:140px;height:155px}.hero-card-back strong{font-size:17px}.hero-card small{font-size:5px;letter-spacing:1px}.hero-card-stars{margin-top:11px}.mode-card{min-height:118px;align-items:flex-start}.mode-card>svg{display:none}.mode-card h3{font-size:13px}.mode-card p{font-size:9px}.mode-card small{font-size:7px;letter-spacing:1px}.mode-icon{width:34px;height:34px}.mode-icon svg{width:20px}.home-roster{grid-template-columns:repeat(3,1fr)}.home-roster .sigil{height:180px}.home-roster .card-name h3{font-size:17px}.battle-layout{grid-template-columns:165px 1fr}.detail-panel{grid-column:1/-1;min-height:200px;max-height:260px}.detail-tabs{justify-content:flex-start;gap:25px;padding-left:20px}.event-log{display:flex;gap:15px;overflow-x:auto}.log-event{min-width:220px;max-width:260px;flex:1;border:0}.log-heading{padding:10px 15px 0}.unit-detail{display:flex;flex-wrap:wrap;gap:18px}.unit-detail-header{width:180px;margin:0}.resource{min-width:130px;flex:1}.unit-detail h4{margin:5px}.team-panel{max-height:610px}.board-viewport{min-height:390px;max-height:530px}.battle-board{max-height:480px}.action-dock{flex-wrap:wrap}.acting-character{min-width:165px}.skill-strip{flex:1;min-width:250px}.utility-actions{display:flex;align-items:center;gap:15px;border:0;margin-left:auto}.end-turn{margin-left:0}.character-card.small .sigil{height:122px}.selection-grid{grid-template-columns:repeat(4,1fr)}.reaction-panel{flex-wrap:wrap}.reaction-options{width:100%;justify-content:flex-end}.result-banner{flex-wrap:wrap}.result-banner>div{min-width:200px}}@media(max-width:750px){.sidebar{width:58px;padding:18px 5px 12px}.brand-mark{width:35px;height:35px;margin-bottom:28px;border-radius:10px}.brand-mark .brand-logo{width:100%;height:100%}.nav-item{height:56px}.nav-item span{font-size:8px;letter-spacing:0}.nav-item.active:before{left:-5px}.nav-stack{gap:10px}.sidebar-bottom{gap:9px}.main-shell{margin-left:58px}.topbar{padding:0 17px;height:62px}.breadcrumb{gap:9px}.breadcrumb>span{font-size:17px}.breadcrumb strong{font-size:10px}.topbar-actions{gap:9px}.topbar-actions>.icon-button,.topbar-divider,.profile>svg{display:none}.profile{font-size:0;gap:0}.profile>span{font-size:10px}.connection{font-size:8px}.page{padding:22px 17px 15px}.page-intro{align-items:flex-start;margin-bottom:23px}.page-intro h1{font-size:21px;line-height:1.5}.page-intro p{font-size:10px;line-height:1.9}.date-badge{display:none}.eyebrow{font-size:7px;letter-spacing:1.7px}.home-hero{min-height:350px}.hero-copy{padding:27px 23px;min-width:0;position:relative;z-index:3;flex:1}.hero-copy h2{font-size:29px;line-height:1.65;margin-top:20px}.hero-copy p{font-size:10px}.hero-copy>.tag{font-size:8px}.hero-copy>small{font-size:7px;max-width:230px;line-height:1.8}.hero-art{min-width:0;position:absolute;inset:0 0 0 40%;opacity:.23;pointer-events:none}.hero-card-front{left:45%;top:70px}.hero-card-back{left:4%;top:45px}.hero-star.star-two{right:10%}.art-caption{display:none}.mode-grid{grid-template-columns:1fr;gap:10px;margin-top:15px}.mode-card{min-height:83px;padding:15px 16px;align-items:center;gap:14px}.mode-card>svg{display:block}.mode-card p{font-size:9px;margin-top:4px}.mode-card small{margin-bottom:4px}.mode-card h3{font-size:14px}.mode-icon{width:40px;height:40px}.roster-section{margin-top:25px}.section-heading h2{font-size:16px}.section-heading .text-button{font-size:9px}.home-roster{grid-template-columns:repeat(2,1fr);gap:12px}.home-roster .sigil{height:160px}.card-name h3{font-size:15px}.page-footer{flex-direction:column;align-items:flex-start;gap:14px}.setup-toolbar{flex-direction:column;align-items:stretch;gap:16px}.segmented{justify-content:space-between;gap:2px}.segmented>button{padding:8px 7px;font-size:10px;gap:5px}.segmented>button svg{width:14px}.setup-toolbar>label{justify-content:space-between}.formation-teams{grid-template-columns:1fr;gap:15px}.formation-slots{grid-template-columns:1fr 1fr}.formation-slot strong{font-size:10px}.formation-slot small{font-size:8px}.formation-team{padding:15px}.mini-avatar{height:30px;width:30px}.pool-heading{align-items:flex-start;flex-direction:column;gap:5px;padding-bottom:5px}.pool-heading>.muted{font-size:8px;align-self:flex-end}.tabs{gap:17px}.tabs>button{font-size:10px}.selection-grid,.library-grid{grid-template-columns:repeat(2,1fr);gap:14px}.character-card.small .sigil{height:150px}.library-grid .sigil{height:180px}.setup-submit{flex-direction:column;align-items:stretch;padding:16px;gap:15px}.setup-submit p{font-size:10px}.setup-submit>.button{align-self:flex-end}.page-intro .search{min-width:0;width:100%;margin-top:10px}.page:has(.library-grid) .page-intro{flex-direction:column;gap:8px}.battle-page{padding:17px 11px}.battle-heading{align-items:flex-start;gap:10px;flex-wrap:wrap}.battle-heading h1{font-size:15px;gap:8px;flex-wrap:wrap}.battle-heading h1 .tag{font-size:8px}.battle-heading .eyebrow{font-size:7px}.battle-heading>div:last-child{margin-left:auto}.battle-heading .compact-button{font-size:9px;min-height:30px;padding:5px 9px}.battle-heading>div:last-child .icon-button{width:25px}.initiative-bar{padding:0 9px;height:51px;margin-bottom:11px;gap:8px}.initiative-label{font-size:0;padding-right:7px;gap:0}.initiative-list{gap:2px}.initiative-list>button{padding:8px;font-size:9px;gap:5px}.initiative-list>button>svg{width:15px}.initiative-round{display:none}.battle-layout{display:flex;flex-direction:column;gap:11px}.team-panel{min-height:0;max-height:none;order:1;flex-direction:row;flex-wrap:wrap;padding:8px;gap:0}.panel-title,.team-panel-bottom{display:none}.battle-team{padding:5px;width:50%;overflow:visible}.team-caption{padding:0 3px;margin-bottom:8px;gap:5px}.team-caption strong{font-size:9px}.team-caption>span:last-child{font-size:7px}.unit-row{gap:6px;padding:8px 4px}.unit-avatar{height:29px;width:29px}.unit-avatar>svg{width:18px}.unit-row-info strong{font-size:9px}.unit-row-info small{font-size:7px}.unit-row-info>div>span{font-size:7px}.arena-panel{order:2}.arena-heading{height:42px;padding:7px 12px}.arena-heading strong{font-size:10px}.board-viewport{padding:2px;min-height:320px;max-height:490px}.battle-board{min-height:300px;max-height:470px}.coordinate{font-size:12px}.arena-status{font-size:7px;padding:10px}.detail-panel{order:3;min-height:190px;max-height:250px}.detail-tabs{height:40px}.event-log{gap:13px}.log-event{min-width:210px}.action-dock{margin-top:11px;padding:12px;gap:13px}.acting-character{border:0;padding:0;width:100%;max-width:none;min-width:0}.acting-character h3{font-size:14px}.acting-character small{font-size:8px}.acting-character>.unit-avatar{height:38px;width:38px}.acting-character>div>span{display:inline-flex;margin:6px 0 0 13px}.acting-character h3{display:inline-block;margin-left:8px}.acting-character>div>small{display:block}.skill-strip{width:100%;flex:auto;min-width:0;padding-bottom:5px}.skill-button{padding:10px;min-width:88px}.skill-button strong{font-size:10px}.utility-actions{margin:0;padding:0;gap:10px}.utility-actions button{font-size:9px}.end-turn{margin-left:auto;font-size:9px;padding:8px;min-height:35px}.prep-message{gap:12px}.prep-message>svg{display:none}.prep-message>div{min-width:100%;margin-bottom:4px}.prep-message p{font-size:10px}.prep-message .button{font-size:10px;flex:1;padding:9px}.reaction-panel{padding:14px;gap:10px}.reaction-icon{width:33px;height:33px}.reaction-icon svg{width:19px}.reaction-panel h3{font-size:12px}.reaction-panel p{font-size:9px}.reaction-options{justify-content:space-between;gap:6px}.reaction-options>.button{font-size:10px;flex:1;min-width:0;padding:8px}.playback-bar{flex-wrap:wrap;gap:10px}.playback-bar>input{order:3;min-width:100%;margin:10px 0}.playback-bar>.text-button{margin-left:auto}.playback-bar>div{gap:7px}.skill-selection-note{flex-wrap:wrap;font-size:9px;padding:10px;gap:6px}.skill-selection-note>span{flex:1}.skill-selection-note>button{font-size:9px}.result-banner{padding:16px;gap:12px}.result-banner h2{font-size:18px}.result-banner>div{min-width:150px}.result-banner>svg{width:23px}.result-banner .button{flex:1;font-size:10px;padding:9px}.simulation-config{padding:16px;gap:14px}.simulation-config>label{min-width:40%;font-size:9px}.simulation-config>.button{width:100%;margin-top:4px}.result-metrics{grid-template-columns:1fr 1fr;gap:20px}.result-metrics>div:nth-child(2){border:0}.result-metrics strong{font-size:28px}.result-metrics span{font-size:9px}.simulation-results{padding:17px}.simulation-results .section-heading h2{font-size:17px}.export-actions{justify-content:flex-start}.modal-scrim{padding:16px}.modal{padding:20px;max-height:90vh;border-radius:13px}.modal h2{font-size:16px}.character-profile{grid-template-columns:1fr;gap:20px}.profile-art{display:grid;grid-template-columns:120px 1fr;text-align:left;padding:10px 15px;position:relative;min-height:140px;align-content:center}.profile-art .sigil{grid-row:1/4;height:130px;width:115px}.profile-art h2{font-size:23px;margin:7px 0}.profile-art>span{align-self:end}.room-members{grid-template-columns:1fr}.assignment-list strong{min-width:50px;font-size:10px}.assignment-list>label{gap:7px}.assignment-list>label>span:not(.team-dot){font-size:8px}.assignment-list select{font-size:10px;max-width:115px}.modal-actions .button{padding:9px 13px;font-size:10px}.error-banner{margin:12px 15px;font-size:10px}.toast{font-size:10px;padding:12px;min-width:230px}.field{font-size:10px}.board-hint{max-width:95%;font-size:9px;white-space:normal}.board-hint button{flex:none}.unit-detail{display:block}.resource{width:100%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}:root[data-reduced=true] *,:root[data-reduced=true] *:before,:root[data-reduced=true] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.avatar-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}.skill-effect{display:block;color:#8b769d;font-size:9px;margin-top:4px}.summon-members{display:flex;flex-direction:column;gap:5px}.summon-members>button{display:flex;align-items:center;justify-content:space-between;border:1px solid #eee7f4;border-radius:6px;padding:7px 8px;color:#867295;font-size:9px}.summon-members>button.active{background:#f1ebf7}.summon-members small{font-size:8px;color:#8b8395}.invite-links{display:flex;flex-direction:column;gap:9px;margin-top:20px}.invite-links>label{display:flex;align-items:center;gap:5px}.invite-links input{width:100%;font-size:10px}.unit-row-select{display:flex;align-items:center;gap:inherit;flex:1;min-width:0;padding:0;text-align:left}.unit-row>.slot-control{flex:none;margin-top:0}.profile-sidebar{min-width:0;align-self:start;display:flex;flex-direction:column;gap:18px}.profile-sidebar>.profile-art{align-self:stretch}.profile-stats{border:1px solid var(--line);border-radius:10px;padding:16px;background:#fff}.profile-stats table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;line-height:1.6}.profile-stats caption{text-align:left;font-size:14px;font-weight:600;color:var(--character);padding-bottom:12px}.profile-stats th,.profile-stats td{width:33.333333%;padding:7px 8px;border-bottom:1px solid var(--line);vertical-align:top;white-space:normal;overflow-wrap:anywhere}.profile-stats th{text-align:left;font-weight:400;color:#625f6a;overflow-wrap:anywhere}.profile-stats thead th{font-size:11px;color:#777087;background:#f8f6fa}.profile-stats td,.profile-stats thead th:not(:first-child){text-align:right}.profile-stats td{font-variant-numeric:tabular-nums;font-weight:600;color:#423f4a}.profile-stats tbody tr:last-child>*{border-bottom:0}.profile-stats>p{font-size:11px;line-height:1.8;color:#777087;margin:12px 0 0}.library-emblem{display:inline-block;flex-shrink:0;background:currentColor;mask-repeat:no-repeat;mask-size:contain;mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;-webkit-mask-position:center;vertical-align:middle}.skill-emblem{width:30px;height:30px;color:var(--character)}.role-traits{display:flex;gap:10px}.role-traits>span+span:before{content:"·";margin-right:10px}.role-traits>span{cursor:help}.trait-definitions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.trait-definitions p{margin:0!important;padding:12px;background:var(--bg,#f8f6f1);border-radius:8px;line-height:1.8!important}.trait-definitions strong{display:block;color:var(--character);font-size:13px}.encyclopedia-passives{border-left:3px solid var(--character);padding:2px 14px;margin:18px 0;background:#faf9f6}.encyclopedia-passives h4{font-size:13px}.encyclopedia-passives p,.encyclopedia-basic{font-size:12px;line-height:1.95;color:#625f6a}.profile-skills .skill-article{font-size:13px;line-height:1.9;color:#423f4a}.profile-skills .effect-description{font-size:12px;line-height:1.9;margin:8px 0;padding:0 0 0 12px;border-left:2px solid #e9e5ed}.profile-skills .skill-cost{line-height:1.85;color:#71657f}.profile-skills summary strong{flex:1;min-width:0}.profile-skills summary .tag{flex-shrink:0}.profile-skills details{padding:14px 0}@media(max-width:750px){.trait-definitions{grid-template-columns:1fr}.profile-skills summary{flex-wrap:wrap}.profile-skills summary strong{font-size:12px}}.cake-stock{color:var(--muted);font-size:10px;white-space:nowrap}.cake-options{display:grid;gap:8px;max-height:55vh;overflow:auto}.cake-option{width:100%;text-align:left}.cake-option span{display:grid;flex:1;gap:4px}.cake-option small{color:var(--muted)}.preview-anchor{display:inline}.character-anchor{display:block;min-width:0}.character-anchor>.character-card{width:100%;height:100%}.character-anchor:has(>.knowledge-link){display:inline}.knowledge-link{color:#346cb1;text-decoration:none;cursor:pointer}.knowledge-link:hover,.knowledge-link:focus-visible{text-decoration:underline;color:#214f8a}.knowledge-popover{position:fixed;z-index:1200;width:17em;max-width:calc(100vw - 24px);max-height:min(34em,calc(100dvh - 24px));overflow:auto;background:#fffdf9;border:1px solid #dcd5c9;border-radius:8px;box-shadow:0 8px 30px #29213826;font-size:14px;line-height:1.65}.preview-body{display:block;width:100%;border:0;background:none;text-align:left;padding:14px;color:#423f4a;font:inherit;cursor:pointer;overflow-wrap:anywhere}.preview-body>strong{display:block;font-size:16px;color:#35303e}.preview-body small{color:#83798d;font-size:11px}.preview-paragraph{display:block;margin:8px 0}.preview-hint{display:block;color:#346cb1;font-size:12px;margin-top:10px}.definition-panel{position:sticky;top:0;align-self:start;max-height:70dvh;overflow:auto;border:1px solid #dcd5e3;border-radius:10px;background:#fdfcff;padding:16px;min-width:0;overflow-wrap:anywhere}.definition-toolbar{display:flex;justify-content:space-between;gap:8px}.definition-panel h3{margin:18px 0 12px}.definition-panel .encyclopedia-prose{font-size:13px;line-height:1.85}.definition-panel .definition-related{background:none;border:0;padding:5px;color:#346cb1;text-align:left;cursor:pointer}.encyclopedia-modal .character-profile.with-definition{grid-template-columns:200px minmax(0,1fr) minmax(220px,280px)}.help-character-list{display:flex;flex-wrap:wrap;gap:20px 28px;padding:24px 0}.mechanics-article{padding:28px;max-width:1000px;margin-top:20px}.mechanics-article nav{display:flex;flex-wrap:wrap;gap:12px 22px;border-bottom:1px solid var(--line);padding-bottom:22px}.mechanics-article nav a{color:#346cb1}.mechanics-article section{scroll-margin-top:24px;margin-top:28px}.mechanics-article .encyclopedia-prose{font-size:14px;line-height:1.95}.definition-help{display:flex;justify-content:center;margin-top:18px;width:100%;text-decoration:none;font-size:13px}.mechanics-search{margin-top:24px}.mechanics-search label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}.mechanics-search>div{display:flex;gap:12px;align-items:center}.mechanics-search input{width:100%;min-width:0;max-width:560px;padding:11px 14px;border:1px solid var(--line);border-radius:6px;background:#fffdf9;color:inherit;font:inherit}.mechanics-search button{flex-shrink:0}.mechanics-result{font-size:13px}.mechanics-entry{padding:14px 0;border-top:1px solid var(--line);scroll-margin-top:24px;overflow-wrap:anywhere}.mechanics-entry h4{font-size:15px;line-height:1.7;margin:0 0 8px;color:#42394d}.mechanics-special{margin-top:36px;scroll-margin-top:24px}.mechanics-character{border:1px solid var(--line);border-radius:8px;margin:12px 0;padding:14px 18px;min-width:0}.mechanics-character summary{cursor:pointer;font-weight:600;line-height:1.8}.mechanics-character summary span{display:inline-block;margin-left:14px;font-size:12px;color:#83798d;font-weight:400}.mechanics-empty{padding:24px 0}.mechanics-article>p,.mechanics-special>p{line-height:1.8}.card-with-info{position:relative;min-width:0}.card-with-info>.character-anchor{height:100%}.card-info{position:absolute;right:10px;top:34px;border:1px solid var(--line);border-radius:50%;background:#fffdf9;color:#346cb1;width:26px;height:26px;cursor:pointer}@media(max-width:1100px){.encyclopedia-modal .character-profile.with-definition{grid-template-columns:180px minmax(0,1fr)}.with-definition>.definition-panel{grid-column:1/-1;grid-row:1;position:static;max-height:45dvh}}@media(max-width:750px){.encyclopedia-modal .character-profile.with-definition{grid-template-columns:1fr}.mechanics-article{padding:18px}.help-character-list{gap:16px 24px}.knowledge-popover{font-size:13px}.definition-panel{max-height:45dvh}}.modal.encyclopedia-modal{width:1060px;padding:28px 32px;scroll-behavior:smooth}.encyclopedia-modal .character-profile{grid-template-columns:220px minmax(0,1fr);gap:36px}.encyclopedia-modal .profile-skills{min-width:0;color:#423f4a}.encyclopedia-modal .profile-skills>h3{font-size:22px;font-weight:650;color:#42394f;margin:8px 0 20px}.encyclopedia-modal .encyclopedia-section-title{font-size:17px;font-weight:650;color:#42394f;margin:28px 0 16px;padding-bottom:10px;border-bottom:1px solid var(--line)}.encyclopedia-modal .trait-definitions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.encyclopedia-modal .trait-definitions>div{padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:#faf9fc}.encyclopedia-modal .trait-definitions h5{font-size:14px;font-weight:650;color:var(--character);margin-bottom:4px}.encyclopedia-modal .encyclopedia-passives{border:0;background:none;padding:0;margin:28px 0}.encyclopedia-prose{font-size:14px;line-height:1.8;color:#514c5c;overflow-wrap:anywhere}.encyclopedia-prose p{margin:10px 0}.encyclopedia-prose h5{font-size:15px;font-weight:650;line-height:1.6;color:#42394f;margin:24px 0 10px}.encyclopedia-prose>:first-child{margin-top:0}.encyclopedia-prose>:last-child{margin-bottom:0}.encyclopedia-prose strong{font-weight:650;color:#42394f}.encyclopedia-prose .prose-label{margin-right:.65em}.encyclopedia-prose .prose-parameters{width:100%;table-layout:fixed;border-collapse:collapse;margin:14px 0;font-size:13px;line-height:1.8;text-align:left}.encyclopedia-prose .prose-parameters th,.encyclopedia-prose .prose-parameters td{padding:9px 12px;border:1px solid var(--line);vertical-align:top;white-space:normal;overflow-wrap:anywhere}.encyclopedia-prose .prose-parameters thead th:first-child{width:34%}.encyclopedia-prose .prose-parameters thead th{background:#f1edf5;color:#645074;font-weight:600}.encyclopedia-prose .prose-parameters tbody th{width:34%;font-weight:600;color:#51445f}.encyclopedia-prose .prose-parameters tbody tr:nth-child(2n){background:#faf9fc}.encyclopedia-prose .prose-parameters td{font-variant-numeric:tabular-nums}.encyclopedia-prose ul,.encyclopedia-prose ol{padding-left:24px;margin:12px 0;list-style:revert}.encyclopedia-prose li{padding-left:4px;margin:8px 0}.encyclopedia-prose li::marker{color:var(--character)}.encyclopedia-prose .prose-levels{list-style:none;padding:0;border-left:2px solid color-mix(in srgb,var(--character) 30%,white)}.encyclopedia-prose .prose-levels li{padding:7px 14px;margin:0}.encyclopedia-prose .prose-levels li:nth-child(odd){background:#f8f6fa}.encyclopedia-prose blockquote{margin:14px 0;padding:10px 16px;border-left:3px solid var(--character);background:#f8f6fa}.encyclopedia-prose code{font-size:.9em;padding:2px 5px;border-radius:4px;background:#f1edf5;color:#645074}.encyclopedia-modal .profile-skills details{padding:18px 20px;margin:12px 0;border:1px solid var(--line);border-radius:12px;background:#fff}.encyclopedia-modal .profile-skills details[open] summary{margin-bottom:14px}.encyclopedia-modal .profile-skills summary{gap:10px;color:#51445f;flex-wrap:wrap}.encyclopedia-modal .profile-skills summary strong{font-size:17px;font-weight:650;flex:1;min-width:100px}.encyclopedia-modal .profile-skills summary .tag{font-size:11px;padding:4px 9px}.encyclopedia-modal summary>svg{transition:transform .15s}.encyclopedia-modal details:not([open]) summary>svg{transform:rotate(-90deg)}.encyclopedia-modal .skill-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:14px 0 0;font-size:13px;line-height:1.7;color:#51445f;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--line)}.encyclopedia-modal .skill-meta>div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;padding:10px 12px;background:#f8f6fa}.encyclopedia-modal .skill-meta dt{font-size:12px;font-weight:600;color:#81738d}.encyclopedia-modal .skill-meta dd{margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.encyclopedia-modal .skill-facts{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.encyclopedia-modal .profile-sidebar{align-self:start;position:sticky;top:0}@media(max-width:750px){.modal.encyclopedia-modal{padding:20px}.encyclopedia-modal .character-profile{grid-template-columns:minmax(0,1fr);gap:24px}.encyclopedia-modal .profile-skills summary strong{font-size:16px}.encyclopedia-modal .trait-definitions,.encyclopedia-modal .skill-meta{grid-template-columns:minmax(0,1fr)}.encyclopedia-modal .profile-skills details{padding:14px}.encyclopedia-modal .profile-sidebar{position:static}.encyclopedia-prose .prose-parameters th,.encyclopedia-prose .prose-parameters td{padding:7px 9px}.encyclopedia-prose{font-size:14px;line-height:1.9}}.auto-controls{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding:18px;margin-top:16px}.auto-controls h3{font-size:15px;margin-bottom:6px}.auto-controls p{color:var(--purple);font-size:11px}.auto-controls small{flex-basis:100%;color:var(--muted);line-height:1.7}.auto-controls label,.expansion-toolbar label,.preset-bar label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--muted)}.auto-controls input[type=number]{width:85px}.stop-button{border-color:#d5a29b;color:#9a4e43;background:#fff8f6}.auto-controls>div{margin-right:auto}.expansion-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:end;padding:18px 0}.expansion-toolbar.panel{padding:20px;margin:20px 0}.expansion-toolbar input[type=number]{width:140px}.management-page>.tabs{margin:22px 0}.editor-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px}.editor-roster{padding:12px;display:flex;flex-direction:column;gap:8px;align-self:start;position:sticky;top:15px}.editor-roster>button{text-align:left;padding:11px;border-radius:7px}.editor-roster>button.active{background:#f0eaf9;color:var(--purple-dark)}.editor-content{padding:24px;min-width:0}.field-table{width:100%;min-width:0}.field-table-heading,.field-row{display:grid;grid-template-columns:minmax(105px,22%) minmax(0,1fr);gap:12px;border-bottom:1px solid var(--line);padding:11px 0;align-items:start}.field-table-heading{color:var(--muted);font-size:11px;font-weight:600}.field-row>div:first-child{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere;min-height:35px}.field-row input:not([type=checkbox]),.field-row select{width:100%}.field-remove{color:#b28e91;flex-shrink:0;font-size:18px;margin-left:auto}.field-row details{min-width:0;padding:4px 0}.field-row summary,.editor-block>summary{cursor:pointer;color:var(--purple-dark);padding:7px 0}.field-row .field-row{grid-template-columns:minmax(80px,28%) minmax(0,1fr)}.editor-block{border:1px solid #e4dfeb;padding:12px;margin-bottom:12px;border-radius:8px;background:#fcfbfe}.editor-block>.text-button{margin-top:12px}.add-field{display:flex;gap:8px;margin:14px 0;flex-wrap:wrap}.add-field>input{flex:1;min-width:100px}.danger-text{color:#a6544b}.save-message{background:#edf5ee;border-radius:8px;padding:12px;margin:15px 0;color:#47725b}.backup-list>div{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:14px 0;flex-wrap:wrap}.backup-list span{flex:1;min-width:160px;font-size:11px}.simulation-expanded{padding:24px;margin-bottom:25px}.simulation-expanded details{margin:14px 0}.preset-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;padding:14px}.preset-choices label{display:flex;gap:8px;align-items:center;font-size:12px}.table-scroll{overflow:auto;max-width:100%}.table-scroll table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}.table-scroll th,.table-scroll td{padding:12px;border-bottom:1px solid var(--line);white-space:nowrap}.table-scroll th{color:#76678a}.task-results{margin-top:18px}.task-results>p{padding:12px 0;color:var(--muted)}.task-results pre{overflow:auto;max-height:400px}.verbose-log{font:12px/1.9 Microsoft YaHei,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;max-height:500px;overflow:auto;background:#faf8fc;border:1px solid #eee9f3;border-radius:8px;padding:15px;color:#4c435b;margin-top:12px}.tournament-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.6fr);gap:20px;align-items:start}.tournament-layout>.panel,.tournament-page>.panel{padding:20px}.tournament-layout h2{margin-bottom:16px;font-size:17px}.bracket-tree{display:flex;overflow:auto;gap:18px;padding-bottom:16px}.bracket-stage{min-width:195px;display:flex;flex-direction:column;gap:14px}.bracket-stage h3{font-size:13px}.series-card{display:flex;flex-direction:column;gap:10px;border:1px solid #e7dfef;border-radius:10px;padding:14px;text-align:left;background:#fcfaff;min-height:125px}.series-card.selected{outline:2px solid var(--purple);outline-offset:1px}.series-card strong{font-size:11px;color:var(--muted)}.series-card span{display:flex;justify-content:space-between;gap:14px;font-size:12px}.series-card small{font-size:10px;color:var(--muted)}.preset-bar{margin:12px 0 20px;max-width:500px}.advanced-combat{margin-top:16px;padding:18px}.advanced-combat>summary{cursor:pointer;font-weight:600;color:var(--purple-dark)}.advanced-combat .expansion-toolbar input{max-width:180px}.advanced-combat p{font-size:11px;line-height:1.9;color:var(--muted)}.advanced-combat select{max-width:230px}.advanced-combat textarea{width:100%;min-height:100px}.event-log{scroll-behavior:smooth}.log-event pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.9}.classic-auth-btn{gap:7px}.role-pill{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:999px;font-size:10px;font-weight:600;line-height:1.4}.role-pill.role-super_admin{background:#efe7fb;color:#624899;border:1px solid #d5c3f1}.role-pill.role-admin{background:#e8f3ee;color:#3f755d;border:1px solid #bfdccc}.role-pill.role-user{background:#f1eff6;color:#746e84;border:1px solid #dfdbe9}.perm-pill-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.perm-pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:6px;font-size:10px;background:#f4f0fa;color:#6c569b;border:1px solid #e2d8f2}.perm-checkboxes{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;margin-top:6px}.perm-checkboxes label{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#544b66;cursor:pointer}.auth-summary-card{background:#faf8fc;border:1px solid #e7e1f1;border-radius:10px;padding:12px 14px;margin:12px 0;display:flex;flex-direction:column;gap:8px}.auth-summary-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#6d647f}.auth-modal-actions-between{justify-content:space-between}.auth-gate-panel{padding:26px;max-width:680px;display:flex;flex-direction:column;gap:14px}.auth-gate-badge{display:flex;align-items:center;gap:10px;font-size:15px;color:#524766;flex-wrap:wrap}.admin-manage-panel h3,.player-manage-panel h3,.admin-users-quick h3{font-size:14px;margin:18px 0 10px;color:#5b4d74;display:flex;align-items:center;gap:8px}.account-toolbar{margin:12px 0}.account-toolbar input{width:100%;max-width:340px}.account-list{display:flex;flex-direction:column;gap:10px;margin-top:10px}.account-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border:1px solid #e6e0ef;border-radius:10px;background:#fcfbfe;flex-wrap:wrap}.account-row-main{display:flex;flex-direction:column;gap:6px;min-width:220px;flex:1}.account-row-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}.account-row-meta{display:flex;flex-wrap:wrap;gap:10px 16px;font-size:11px;color:var(--muted)}.account-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-add-form{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.admin-add-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.admin-add-fields .field{margin:10px 0}.admin-perm-picker{margin:10px 0 16px;display:flex;flex-direction:column;gap:6px}.nav-stack{gap:3px}.nav-item{min-height:53px}@media(max-width:1050px){.tournament-layout{grid-template-columns:1fr}.editor-layout{grid-template-columns:150px minmax(0,1fr)}.auto-controls>div{flex-basis:100%}.detail-panel:has(.event-log){max-height:460px}.event-log{display:block}.log-event{max-width:none;width:100%;min-width:0}.field-row .field-row{display:block}.field-row .field-row>div:first-child{min-height:25px}}@media(max-width:750px){.editor-layout{display:block}.editor-roster{position:static;flex-direction:row;overflow:auto;margin-bottom:14px}.editor-roster>button{flex-shrink:0}.editor-content,.simulation-expanded{padding:14px}.field-row{grid-template-columns:100px minmax(0,1fr);gap:8px}.field-row .field-row{display:block}.editor-block{padding:8px}.auto-controls{padding:14px;gap:10px}.auto-controls label{flex:1;min-width:90px}.auto-controls label:first-of-type{flex-basis:100%}.auto-controls .button{flex:1;font-size:12px}.auto-controls input[type=number]{width:100%}.expansion-toolbar>label{flex:1;min-width:120px}.expansion-toolbar input[type=number]{width:100%}.expansion-toolbar .button{flex:1}.tournament-layout{display:block}.tournament-layout>.panel{margin-bottom:15px}.tournament-page .expansion-toolbar{gap:9px}.bracket-stage{min-width:180px}.advanced-combat{padding:14px}.simulation-expanded .result-metrics{display:block}.task-results pre{font-size:10px}}.bracket-tree{position:relative}.bracket-edges{position:absolute;left:0;top:0;pointer-events:none;overflow:visible}.bracket-edges path{fill:none;stroke:#b5a5cc;stroke-width:1.5}.series-card{position:relative;z-index:1}.sidebar{overflow-y:auto}.ranking-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:22px;margin-top:22px}.ranking-panels h3{font-size:13px;color:#6c5b83;margin-bottom:10px}.tournament-replay{display:flex;flex-direction:column;gap:20px;margin-top:20px;min-width:0}.tournament-replay>.panel{padding:20px;min-width:0}.tournament-replay h2{font-size:17px;margin-bottom:12px}.tournament-replay select{max-width:100%}.tournament-replay .verbose-log{margin-top:14px;max-height:460px;overflow:auto}.round-hp-log{white-space:pre;line-height:1.9}.tournament-replay .muted{font-size:12px;line-height:1.8}.roster-group{min-width:0}.roster-group h3,.roster-group summary{padding:10px 6px;font-size:12px;color:var(--muted)}.roster-group summary{cursor:pointer}.roster-character{display:block;width:100%;text-align:left;padding:11px;border-radius:7px;font-size:12px;overflow-wrap:anywhere}.roster-character.active{background:#f0eaf9;color:var(--purple-dark)}.roster-character small{display:block;margin-top:4px;color:var(--muted);font-size:10px}.disabled-roster{border-top:1px solid var(--line)}.character-enable{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:12px}.character-enable label{display:flex;align-items:center;gap:10px;font-size:14px}.character-enable label span{font-size:11px;color:var(--muted)}.character-enable p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:8px}@media(max-width:750px){.editor-roster{display:flex;flex-direction:column;overflow:visible}.roster-group{width:100%}.roster-group:not(.disabled-roster),.disabled-roster[open]{display:flex;flex-wrap:wrap;align-items:start}.roster-group h3,.roster-group summary{width:100%}.roster-character{width:auto;flex:0 1 auto}}.effect-enable{display:flex;flex-direction:column;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.effect-enable label{display:flex;align-items:center;gap:8px;font-size:12px}.effect-enable small{color:var(--muted);font-size:10px;line-height:1.7}.disabled-effect{background:#f6f4f8;border-style:dashed}.disabled-effect>summary{color:var(--muted)}.main-shell:has(.management-page .editor-layout){height:100dvh;display:flex;flex-direction:column}.main-shell:has(.management-page .editor-layout)>.topbar,.main-shell:has(.management-page .editor-layout)>.error-banner{flex-shrink:0}.management-page:has(.editor-layout){display:flex;flex-direction:column;flex:1;min-height:0;width:100%;margin:0 auto}.management-page:has(.editor-layout)>:not(.editor-layout){flex-shrink:0}.management-page>.editor-layout{flex:1;min-height:0;grid-template-rows:minmax(0,1fr)}.editor-layout>.editor-roster,.editor-layout>.editor-content{min-height:0;overflow:auto;scrollbar-width:thin}.editor-layout>.editor-roster{position:static;align-self:stretch;margin-bottom:0}.editor-layout>.editor-roster>*{flex-shrink:0}@media(max-width:750px){.management-page>.editor-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,min(160px,25%)) minmax(0,1fr);gap:10px}.editor-layout>.editor-roster{padding:8px;gap:4px}.editor-roster .roster-group h3,.editor-roster .roster-group summary{padding:6px}.editor-roster .roster-character{padding:8px 10px}}.training-selection{min-width:0;border:1px solid var(--line);border-radius:10px;padding:16px;margin:8px 0 16px}.training-selection legend{padding:0 6px;font-size:13px;color:var(--purple-dark)}.training-targets{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;padding:8px 0 16px}.training-targets label{display:flex;align-items:center;gap:8px;font-size:12px;cursor:pointer;min-width:0}.training-targets input{flex-shrink:0}.training-selection p{font-size:12px;line-height:1.8;margin-bottom:12px}.training-selection .button.primary:hover:not(:disabled){color:#fff}.management-history{padding:0;gap:6px}.board-cell.cell-selected,.board-cell.cell-selected:hover{fill:#d7c9eb99;stroke:#8a78c5;stroke-width:2px}.cell-skill-picker{flex:none;border-top:1px solid var(--line);padding:6px 13px 12px;background:#faf8fd}.cell-skill-picker header,.cell-skill-picker h3{display:flex;align-items:center;gap:7px}.cell-skill-picker header{justify-content:space-between}.cell-skill-picker h3{font-size:12px;color:#746481}.cell-skill-picker p{margin:4px 0 0;font-size:12px;color:#746481}.cell-skill-list{display:flex;flex-wrap:wrap;gap:6px;max-height:150px;overflow-y:auto;list-style:none;margin:0;padding:2px}.cell-skill-list li{max-width:100%}.cell-skill-list .button{flex-direction:column;align-items:flex-start;gap:2px;min-height:42px}.cell-skill-list small{color:#746481;font-size:10px;overflow-wrap:anywhere}.playoff-settings{width:100%;min-width:0}.playoff-controls{display:flex;flex-wrap:wrap;gap:16px;align-items:end}.playoff-controls label{display:grid;gap:6px}.playoff-controls .checkbox{display:flex;align-items:center}.playoff-graph{position:relative;overflow:auto;max-height:740px;padding:12px}.playoff-graph .bracket-stage{flex-shrink:0;min-width:205px}.playoff-graph .series-card{position:relative;z-index:1;width:100%}.playoff-list{display:flex;flex-direction:column;gap:24px}.playoff-list .bracket-stage{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.playoff-list h3{grid-column:1 / -1}.playoff-round-editor{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:16px;border:1px solid var(--border, #52616e);margin-top:12px;border-radius:10px}.playoff-round-editor input{width:90px}.playoff-create{margin-bottom:20px}.playoff-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-bottom:20px}.setting-field:has(.playoff-settings){grid-column:1 / -1}.settings-page h1{display:flex;align-items:center;gap:12px}.sidebar .nav-stack{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.sidebar .nav-item{flex-shrink:0}.settings-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;align-items:start}.settings-nav{display:flex;flex-direction:column;gap:5px;position:sticky;top:24px}.settings-nav button{border:0;background:transparent;text-align:left;padding:12px 16px;border-radius:12px;color:var(--muted,#787281);cursor:pointer}.settings-nav button.active{background:#eae3f4;color:#75609f;font-weight:600}.settings-content{padding:28px;min-width:0}.settings-content h2{margin:0 0 24px}.settings-fields fieldset{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;min-width:0}.setting-field{display:flex;flex-direction:column;gap:9px;min-width:0}.setting-wide{grid-column:1/-1}.setting-label{display:flex;flex-direction:column;gap:4px}.setting-label label{font-weight:600}.setting-label small,.setting-field code,.settings-runtime{font-size:11px;color:#928b9d;overflow-wrap:anywhere}.setting-field input,.setting-field select,.settings-season input{width:100%;min-width:0}.setting-field input[type=checkbox]{width:auto}.setting-field output{padding:12px;background:#f7f4fa;border-radius:10px;overflow-wrap:anywhere}.setting-field output small{display:block;margin-top:8px}.settings-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px;padding-top:22px;border-top:1px solid #eee8f2}.settings-teams,.settings-season,.settings-list{display:flex;flex-direction:column;gap:12px}.settings-team{padding:16px;border:1px solid #e9e3ee;border-radius:12px;display:flex;flex-direction:column;gap:12px}.settings-members,.settings-team-actions,.settings-inline{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.settings-members>div{display:flex;flex:1 1 200px;gap:3px}.settings-inline>label{flex:1;min-width:100px}.settings-matrix input{min-width:65px}.settings-matrix td,.settings-matrix th{padding:6px}.settings-season-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.settings-list>label{display:flex;gap:6px}.settings-content textarea{width:100%;resize:vertical}.settings-content .field{max-width:520px}.settings-page .save-message{display:flex;align-items:center;gap:8px}@media(max-width:1000px){.settings-layout{grid-template-columns:1fr;gap:16px}.settings-nav{flex-direction:row;overflow-x:auto;position:static}.settings-nav button{white-space:nowrap}.settings-content{padding:20px}}@media(max-width:600px){.settings-fields fieldset{grid-template-columns:1fr}.settings-actions .button{flex:1 1 auto}.settings-team{padding:12px}}@layer xyflow{.react-flow{direction:ltr;color-scheme:light dark;--xy-edge-stroke-default: light-dark(#b1b1b7, #3e3e3e);--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: light-dark(#555, #727272);--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: light-dark(rgba(255, 255, 255, .5), rgba(150, 150, 150, .25));--xy-minimap-background-color-default: light-dark(#fff, #141414);--xy-minimap-mask-background-color-default: light-dark(rgba(240, 240, 240, .6), rgba(60, 60, 60, .6));--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: light-dark(#e2e2e2, #2b2b2b);--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: light-dark(transparent, #141414);--xy-background-pattern-dots-color-default: light-dark(#91919a, #555);--xy-background-pattern-lines-color-default: light-dark(#eee, #333);--xy-background-pattern-cross-color-default: light-dark(#e2e2e2, #333);background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: light-dark(CanvasText, #f8f8f8);--xy-node-border-default: 1px solid light-dark(#1a192b, #3c3c3c);--xy-node-background-color-default: light-dark(#fff, #1e1e1e);--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px light-dark(rgba(0, 0, 0, .08), rgba(255, 255, 255, .08));--xy-node-boxshadow-selected-default: 0 0 0 .5px light-dark(#1a192b, #999);--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: light-dark(#1a192b, #bebebe);--xy-handle-border-color-default: light-dark(#fff, #1e1e1e);--xy-selection-background-color-default: light-dark(rgba(0, 89, 220, .08), rgba(200, 200, 220, .08));--xy-selection-border-default: 1px dotted light-dark(rgba(0, 89, 220, .8), rgba(200, 200, 220, .8));--xy-controls-button-background-color-default: light-dark(#fefefe, #2b2b2b);--xy-controls-button-background-color-hover-default: light-dark(#f4f4f4, #3e3e3e);--xy-controls-button-color-default: light-dark(CanvasText, #f8f8f8);--xy-controls-button-color-hover-default: light-dark(CanvasText, #fff);--xy-controls-button-border-color-default: light-dark(#eee, #5b5b5b);--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: light-dark(#ffffff, #141414);--xy-edge-label-color-default: light-dark(CanvasText, #f8f8f8);--xy-resize-background-color-default: #3367d9}[data-theme=dark] .react-flow,.dark .react-flow{color-scheme:dark}[data-theme=light] .react-flow,.light .react-flow{color-scheme:light}.react-flow.dark{color-scheme:dark}.react-flow.light{color-scheme:light}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane:before{content:"";position:absolute;inset:0}.react-flow__pane.draggable:before{cursor:grab}.react-flow__pane.dragging:before{cursor:grabbing}.react-flow__pane.selection,.react-flow__pane.selection:before{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}}@layer xyflow{.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}}@layer xyflow{.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}}@layer xyflow{.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}}.story-workspace-bar{display:flex;align-items:center;gap:12px;padding:15px 18px;border:1px solid #e7e1ec;background:#fff;border-radius:14px;color:#a18db7}.story-workspace-bar input{flex:1;min-width:0;background:transparent;border:0;font:13px Consolas,monospace;color:#776689;outline:none}.story-editor-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 12px}.story-editor-toolbar>div{display:flex;gap:8px}.story-editor-toolbar>strong{font-size:13px;color:#756583}.story-editor-toolbar>strong span{color:#c69b6b;font-weight:400}.story-editor-layout{display:grid;grid-template-columns:225px minmax(0,1fr);height:65vh;min-height:520px;border:1px solid #e7e0ed;border-radius:15px;overflow:hidden;background:#fff}.story-file-tree{background:#faf8fc;border-right:1px solid #e8e1ee;padding:12px;display:flex;flex-direction:column;gap:9px;overflow:auto}.story-file-tree>label{font-size:11px;color:#9c8ca9;display:grid;gap:6px}.story-file-tree input{width:100%;box-sizing:border-box;border:1px solid #e5ddec;border-radius:7px;background:#fff;padding:8px;color:#7a6988}.story-file-tree>div{display:flex;gap:4px;flex-wrap:wrap}.story-file-tree nav{display:grid;gap:3px}.story-file-tree nav button{border:0;background:transparent;display:flex;text-align:left;align-items:center;gap:7px;color:#9b8daa;padding:9px 7px;border-radius:7px;cursor:pointer;min-width:0}.story-file-tree nav button.selected{background:#ece5f5;color:#8b70aa}.story-file-tree nav span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.story-file-tree nav i{height:5px;width:5px;border-radius:50%;background:#cbb086;flex-shrink:0}.story-file-tree small{margin-top:auto;color:#ac9db7;line-height:1.8;font-size:10px}.story-edit-panes{display:grid;grid-template-columns:1fr 1fr;min-width:0;overflow:hidden}.story-edit-panes.mode-source,.story-edit-panes.mode-graph{grid-template-columns:1fr}.story-source-editor{height:100%;min-width:0;overflow:hidden}.story-graph-pane{min-width:0;border-left:1px solid #e9e3f0}.story-graph-pane[hidden]{display:none}.story-graph-shell{height:100%;display:flex;flex-direction:column}.story-flow-canvas{flex:1;min-height:220px;background:#f8f5fb}.story-node-properties{padding:12px;border-top:1px solid #e5deed;display:grid;gap:8px;max-height:230px;overflow:auto}.story-node-properties>div{display:flex;align-items:center;gap:12px}.story-node-properties strong{font-size:12px;color:#84718e}.story-node-properties span,.story-node-properties small,.story-node-properties p{font-size:10px;color:#aa9bb5;line-height:1.7}.story-node-properties textarea{width:100%;box-sizing:border-box;min-height:70px;border:1px solid #e4dbea;background:#fcfaff;border-radius:7px;padding:9px;font:12px Consolas,monospace;color:#7a668c;resize:vertical}.story-node-properties label{font-size:11px;color:#9a88a8;display:grid;gap:6px}.story-flow-node{border:1px solid #d9cde5!important;border-radius:12px!important;color:#806792!important;background:#fff!important;font:12px system-ui!important;max-width:210px;white-space:pre-wrap}.story-flow-node.kind-gate{border-color:#c6d9cc!important;background:#f4faf5!important}.story-flow-node.kind-if{border-color:#ead8bd!important;background:#fffbf4!important}.story-flow-node.kind-end{border-style:dashed!important}.story-diagnostics{padding:12px 18px;background:#f5f1fa;border-radius:10px;margin-top:12px;display:flex;flex-direction:column;gap:8px}.story-diagnostics strong{font-size:11px;color:#9a88ac}.story-diagnostics button{text-align:left;background:none;border:0;color:#ad7781;cursor:pointer;font-size:12px}.story-editor-empty{display:grid;place-items:center;height:100%;color:#b4a7c1;font-size:12px}.story-editor-layout{position:relative;grid-template-columns:minmax(0,1fr);min-height:0;height:calc(100dvh - 335px)}.story-editor-layout.files-open{grid-template-columns:210px minmax(0,1fr)}.story-file-tree{display:none}.files-open>.story-file-tree{display:flex}.story-source-pane{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.story-source-title{height:33px;flex-shrink:0;display:flex;align-items:center;gap:12px;padding:0 16px;font:12px Consolas,monospace;color:#7a6987;background:#faf8fc;border-bottom:1px solid #ece6f1}.story-source-title span{font:10px system-ui;color:#b19369}.story-source-pane>.story-source-editor{flex:1;min-height:0}.story-files-heading{display:flex;align-items:center;justify-content:space-between}.story-files-heading strong{font-size:12px;font-weight:500;color:#857090}.story-files-scrim,.story-editor-back{display:none}.story-files-toggle{flex-shrink:0}.story-editor-toolbar>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-editor-actions{margin-left:auto}.story-edit-panes{min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.story-flow-canvas{min-height:0}.story-node-properties{max-height:180px;flex-shrink:0}@media(max-width:1100px){.story-editor-toolbar{flex-wrap:wrap}.story-editor-layout{height:calc(100dvh - 350px)}.story-editor-layout.files-open{grid-template-columns:180px minmax(0,1fr)}}@media(max-width:900px){.story-authoring>.sidebar,.story-authoring>.main-shell>.topbar{display:none}.story-authoring>.main-shell{margin:0}.story-editor{padding:12px;max-width:none}.story-editor.workspace-open{height:100dvh;padding:0;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden}.workspace-open>.page-intro{display:none}.story-workspace-bar{padding:9px 12px;border-radius:0;gap:8px;flex-shrink:0}.story-workspace-bar input{font-size:12px}.story-workspace-bar>.button{font-size:11px;padding:8px;min-height:34px}.story-editor-toolbar{margin:0;padding:8px;gap:7px;flex-shrink:0;border-bottom:1px solid #e8e0ed;background:#faf8fc}.story-editor-toolbar>strong{flex:1;font-size:11px;min-width:40px}.story-editor-toolbar .button{font-size:11px;padding:8px;min-height:34px;gap:5px}.story-editor-toolbar .segmented{margin-left:auto}.story-editor-toolbar .segmented>button{font-size:11px;padding:7px 9px}.story-editor-actions{order:1;flex:1;justify-content:flex-end}.story-editor-back{display:flex}.story-editor-layout,.story-editor-layout.files-open{flex:1;height:auto;min-height:180px;grid-template-columns:minmax(0,1fr);border:0;border-radius:0}.story-file-tree{position:absolute;inset:0 auto 0 0;width:min(270px,80%);z-index:12;box-sizing:border-box;box-shadow:8px 0 30px #402b5726;padding:12px}.story-files-scrim{display:block;position:absolute;inset:0;z-index:11;background:#30253b44;border:0}.story-edit-panes.mode-split{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr)}.story-node-properties{max-height:110px;padding:8px}.story-node-properties label,.story-node-properties>small{display:none}.story-node-properties textarea{min-height:40px}.story-node-properties p{margin:0}.story-graph-pane{min-height:0;border-left:0;border-top:1px solid #e9e3f0}.story-diagnostics{margin:0;border-radius:0;max-height:70px;overflow:auto;padding:8px 12px;flex-shrink:0}.story-editor>.story-success,.story-editor>.story-error{margin:0;border-radius:0;padding:8px 12px;font-size:11px;flex-shrink:0}}.story-workspace-picker,.story-workspace-create{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 12px;flex-shrink:0;background:#fff}.story-workspace-picker label{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.story-workspace-picker select,.story-workspace-create input{min-width:0;flex:1;padding:9px;border:1px solid #e7e1ec;border-radius:8px;background:#fff;color:#594568;font:inherit}.story-workspace-picker select{width:100px}.story-workspace-create input{width:130px}.story-chapters,.story-editor{max-width:1680px;margin:auto}.story-chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}.story-chapter{border:1px solid #e9e4ef;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 8px 32px #52496708}.story-chapter-art{height:210px;position:relative;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,hsl(var(--chapter-hue) 30% 92%),#fbf1e7);color:hsl(var(--chapter-hue) 25% 60%);overflow:hidden}.story-chapter-art:after,.story-chapter-art:before{content:"";position:absolute;width:230px;height:230px;border:1px solid #fff9;transform:rotate(35deg);border-radius:50%}.story-chapter-art:before{width:310px;height:310px}.story-chapter-art>span{position:absolute;left:24px;top:20px;font:italic 42px Georgia;opacity:.4}.story-chapter-art i{position:absolute;right:40px;top:45px;font-size:40px}.story-chapter.locked .story-chapter-art{filter:grayscale(.7);opacity:.7}.story-chapter-copy{padding:25px}.story-chapter-copy>small{display:flex;align-items:center;gap:6px;color:#9586b2;font-size:11px;letter-spacing:1px}.story-chapter-copy h3{font-size:21px;margin:15px 0}.story-chapter-copy p{color:#92899d;line-height:1.8;min-height:55px;font-size:13px}.story-entry-list{display:grid;gap:8px;margin-top:20px}.story-lock-reason{display:flex;gap:9px;align-items:center;color:#a59cab;font-size:12px;padding:14px 0}.story-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.story-playing>.sidebar,.story-playing>.main-shell>.topbar{display:none}.story-playing>.main-shell{margin:0}.story-player-shell{position:fixed;inset:0;z-index:100;background:#e9e3ee;height:100dvh;width:100%;overflow:hidden}.story-player-shell[hidden]{display:none}.story-player-error{position:absolute;z-index:8;top:58px;left:12px;right:12px;max-width:650px;margin:auto;padding:12px 14px;background:#fff1eaf5;color:#9b5e58;border:1px solid #edc9bb;border-radius:8px;display:flex;align-items:center;gap:12px;font-size:12px}.story-player-error>span{flex:1}.story-player-error>button{display:grid;place-items:center}.story-player-toolbar{position:absolute;top:0;left:0;right:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));background:linear-gradient(#f9f6fbe8,#f9f6fb00);pointer-events:none}.story-player-toolbar>div{display:flex;gap:6px}.story-player-toolbar button{pointer-events:auto;min-height:36px;background:#fff9;border:1px solid #ffffff80;border-radius:8px;font-size:12px;padding:8px 12px;color:#63526f;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.story-player-toolbar>span{font-size:11px;color:#71617d;text-shadow:0 1px 5px #fff}.story-stage{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;max-height:none;min-height:0;margin:0;border:0;border-radius:0;overflow:hidden;background:#e9e3ee;box-shadow:none}.story-stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.story-stage-shade{position:absolute;inset:0;display:flex;justify-content:center;align-items:safe center;pointer-events:none;padding:64px max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));box-sizing:border-box;overflow:auto}.story-stage-shade.active{background:#33233f42;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);pointer-events:auto}.story-stage-shade.engine-panel-open{visibility:hidden;pointer-events:none}.story-state-card{background:#fffcf8f5;border:1px solid #fff9;border-radius:16px;box-shadow:0 20px 70px #241a3829;padding:26px 32px;width:min(600px,100%);text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px;pointer-events:auto;box-sizing:border-box;margin:auto}.story-state-card small{font-size:9px;letter-spacing:2px;color:#9987a8}.story-state-card h2{font-size:19px;font-weight:500;margin:0;color:#5c506e}.story-state-card p{line-height:1.8;color:#84778f;font-size:13px;margin:0}.story-state-card button{max-width:100%}.story-choices{display:grid;gap:10px;width:min(580px,100%);pointer-events:auto;margin:auto}.story-choice{background:#fffffff2;border:1px solid #fff;border-radius:10px;min-height:48px;padding:13px 18px;display:flex;align-items:center;gap:14px;color:#574963;font:400 14px/1.65 system-ui,sans-serif;box-shadow:0 8px 35px #24133417;cursor:pointer;touch-action:manipulation;text-align:left}.story-choice:hover:enabled{background:#fff;border-color:#bbabc9}.story-choice>span{font-family:Georgia;color:#a08db3}.story-choice>svg:last-child{margin-left:auto;flex-shrink:0}.story-choice:disabled{opacity:.55;cursor:not-allowed}.story-menu-dismiss{position:absolute;inset:0;z-index:6;border:0;background:transparent;cursor:default}.story-player-menu{position:absolute;top:calc(54px + env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));z-index:7;width:160px;display:grid;padding:6px;border:1px solid #e7dfed;background:#fffcf9fa;box-shadow:0 12px 36px #30213e26;border-radius:12px}.story-player-menu .button{justify-content:flex-start;font-size:13px;min-height:42px;border-radius:7px}.story-encounter{width:min(1040px,100%);max-height:100%;overflow:auto;padding:20px;border-radius:16px;pointer-events:auto;box-sizing:border-box;background:#fcfafef7;box-shadow:0 20px 70px #241a3829;margin:auto}.story-section-title{display:flex;gap:12px;align-items:center;color:#8e78ad}.story-section-title small{font-size:9px;letter-spacing:2px}.story-section-title h2{margin:4px 0;font-size:18px;font-weight:500}.story-section-title>span{margin-left:auto;font-size:11px}.story-encounter-teams{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.story-encounter-teams h3{font-size:13px;color:#82758e}.story-encounter-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}.story-encounter-cards .character-card{width:100%}.story-encounter-cards .sigil{height:110px!important}.story-encounter-cards .card-name h3{font-size:14px}.story-skill-list{display:flex;flex-wrap:wrap;gap:4px;margin:7px 0}.story-skill-list span{font-size:10px;background:#f2eef7;border-radius:5px;color:#8f7ca6;padding:4px 6px}.story-waves{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.story-waves span{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:7px;background:#f5f2f8;color:#8b7b9e;font-size:11px}.story-encounter .story-actions{position:sticky;bottom:-20px;background:#fcfafe;padding:12px 0 4px;justify-content:space-between;gap:8px}.story-encounter .story-actions p{color:#91839c;font-size:11px;flex:1;min-width:120px}.story-encounter .story-actions .button{font-size:12px}.story-battle-banner{position:fixed;bottom:18px;right:30px;display:flex;align-items:center;gap:14px;background:#fffcf7f5;box-shadow:0 7px 40px #4f3b6022;border:1px solid #e7dfee;padding:10px 16px;border-radius:16px;z-index:30;color:#88729e;font-size:12px}.story-error,.story-success{margin:12px 30px;padding:12px 18px;border-radius:10px;font-size:13px;display:flex;gap:10px;align-items:center}.story-error{background:#fcebe7;color:#ab655c}.story-success{background:#edf5ef;color:#689378}.story-spinner{width:24px;height:24px;border:2px solid #d9cde6;border-top-color:#9478b3;border-radius:50%;animation:spin 1s linear infinite}@media(max-width:1000px){.story-chapter-grid{grid-template-columns:1fr}.story-chapter{display:grid;grid-template-columns:220px 1fr}.story-chapter-art{height:100%}.story-battle-banner{bottom:8px;right:10px;left:85px;flex-wrap:wrap}}@media(max-width:600px){.story-chapter{display:block}.story-chapter-art{height:150px}.story-encounter-teams{grid-template-columns:1fr}.story-encounter{padding:16px}.story-state-card{padding:22px}.story-state-card h2{font-size:17px}.story-player-toolbar>span{display:none}}@media(max-height:480px)and (orientation:landscape){.story-stage-shade{padding-top:54px;padding-bottom:10px}.story-encounter{padding:14px}.story-encounter-teams{margin:10px 0}.story-state-card{padding:18px;gap:10px}.story-choice{min-height:40px;padding:9px 16px;font-size:13px}.story-choices{gap:8px}}.ac-shell{min-height:100dvh;display:flex;flex-direction:column;overflow-x:clip;background:var(--bg, #f7f6fb)}.ac-topbar{min-height:60px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding:10px 28px;background:#ffffffeb;border-bottom:1px solid var(--line, #e6e3f0)}.ac-topbar-brand{display:flex;align-items:center;gap:11px;min-width:0}.ac-topbar-mark{width:36px;height:36px;border-radius:10px;background:#f1ecf9;color:#7c5cff;display:grid;place-items:center;flex:none;overflow:hidden;padding:0}.ac-topbar-logo{width:100%;height:100%;display:block}.ac-topbar-title{display:flex;flex-direction:column;min-width:0}.ac-topbar-title strong{font-size:1rem;color:#3f3858;line-height:1.25}.ac-topbar-title small{font-size:.65rem;letter-spacing:1.6px;color:#8c87a2;font-weight:600}.ac-topbar-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.ac-topbar-user{display:inline-flex;align-items:center;gap:7px;font-size:.82rem;color:#5b556e}.ac-topbar-user>span{width:26px;height:26px;border-radius:50%;background:#ede6f5;color:#8469b0;display:grid;place-items:center;font-size:.78rem;font-weight:700}.ac-topbar-user>em{font-style:normal;font-weight:600}.ac-mode-switch,.classic-ac-switch{border-color:#d8cef0;color:#5d4ca3;background:#f8f6fc}.ac-mode-switch:hover:not(:disabled),.classic-ac-switch:hover:not(:disabled){background:#eee8fa;border-color:#b7a2e4}.ac-main{flex:1;width:100%;max-width:1440px;margin:0 auto;min-width:0}.ac-page{display:flex;flex-direction:column;gap:14px;padding:20px 24px calc(28px + env(safe-area-inset-bottom,0px));min-width:0}.ac-lobby-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.ac-name-form{display:inline-flex;align-items:center;gap:6px}.ac-name-form input{width:132px;padding:6px 10px;min-height:34px;font-size:.84rem}.ac-section-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px}.ac-lobby-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:16px}.ac-lobby-grid>*{min-width:0}@media(max-width:960px){.ac-lobby-grid{grid-template-columns:1fr}}.ac-mode-pills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.ac-mode-pill{padding:12px 14px;border-radius:12px;border:1.5px solid var(--border, #d8d4e8);background:var(--surface, #fff);text-align:left;cursor:pointer;transition:border-color .16s,background .16s}.ac-mode-pill.active{border-color:var(--accent, #7c5cff);background:#7c5cff14}.ac-mode-pill strong{display:block;font-size:.98rem;margin-bottom:3px}.ac-mode-pill small{color:var(--muted, #6b7280);font-size:.82rem}.ac-arena-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.ac-arena-card{padding:10px 12px;border-radius:10px;border:1.5px solid var(--border, #d8d4e8);background:var(--surface, #fff);text-align:left;cursor:pointer}.ac-arena-card.active{border-color:var(--accent, #7c5cff);background:#7c5cff14}.ac-arena-card strong{display:block;font-size:.9rem}.ac-arena-card p{margin:4px 0 0;font-size:.78rem;color:var(--muted, #6b7280);line-height:1.35}.ac-saved-list{display:flex;flex-direction:column;gap:8px}.ac-saved-item{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 10px;padding:10px 12px;border-radius:10px;border:1px solid var(--border, #e2dff0);background:var(--surface, #fff)}.ac-pve-subhead{margin:12px 0 8px}.ac-pve-saves{margin-top:18px}.ac-hud{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 10px;padding:10px 14px}.ac-hud-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.ac-stat-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;background:#7c5cff14;font-size:.84rem;font-weight:600;white-space:nowrap}.ac-stat-chip.gold{background:#f59e0b24;color:#92400e}.ac-stat-chip.hp{background:#ef44441f;color:#991b1b}.ac-workspace{display:grid;grid-template-columns:270px minmax(0,1fr);gap:14px;align-items:start}.ac-left-col,.ac-center-col{display:flex;flex-direction:column;gap:12px;min-width:0}.ac-syn-list,.ac-standings{display:flex;flex-direction:column;gap:6px}.ac-syn-row{padding:6px 8px;border-radius:8px;border:1px solid var(--border, #e5e2f0);font-size:.82rem}.ac-syn-row.lit{border-color:#7c5cff8c;background:#7c5cff17}.ac-syn-head{display:flex;justify-content:space-between;align-items:center;font-weight:600}.ac-syn-desc{margin-top:2px;font-size:.76rem;color:var(--muted, #6b7280)}.ac-cmd-row{padding:7px 9px;border-radius:8px;border:1px solid var(--border, #e5e2f0);font-size:.8rem}.ac-cmd-row.me{border-color:var(--accent, #7c5cff);background:#7c5cff0f}.ac-cmd-row.dead{opacity:.55}.ac-cmd-top{display:flex;justify-content:space-between;font-weight:600}.ac-cmd-sub{display:flex;justify-content:space-between;margin-top:2px;font-size:.75rem;color:var(--muted, #6b7280)}.ac-board-panel{padding:12px 14px;min-width:0}.ac-board-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.ac-legend{display:flex;flex-wrap:wrap;gap:8px;font-size:.76rem;color:var(--muted, #6b7280)}.ac-legend span{display:inline-flex;align-items:center;gap:4px}.ac-legend i{display:inline-block;width:11px;height:11px;border-radius:3px}.ac-board-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}.ac-board-svg{width:100%;max-height:430px;height:auto;display:block;-webkit-user-select:none;user-select:none;touch-action:manipulation}.ac-intent-bar{margin-top:8px;padding:7px 10px;border-radius:8px;background:#7c5cff14;border-left:3px solid var(--accent, #7c5cff);font-size:.84rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 10px}.ac-inspector{margin-top:8px;padding:8px 10px;border-radius:8px;border:1px solid var(--border, #e2dff0);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:.83rem}.ac-inspector select{max-width:100%;padding:6px 10px;font-size:.82rem}.ac-bench-slot.locked{align-items:center;justify-content:center;color:var(--muted);background:#eeedf3}.ac-bench-row{display:grid;overflow-x:auto;grid-template-columns:repeat(6,minmax(66px,1fr));gap:8px}.ac-bench-slot{min-width:0;min-height:70px;border-radius:10px;border:1.5px dashed var(--border, #d8d4e8);padding:6px 8px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;background:var(--surface, #fff);cursor:pointer;font-size:.8rem;text-align:left;touch-action:manipulation}.ac-bench-slot.filled{border-style:solid}.ac-bench-slot.selected{border-color:var(--accent, #7c5cff);box-shadow:0 0 0 2px #7c5cff40}.ac-shop-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.ac-shop-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.ac-shop-card{position:relative;min-width:0;border-radius:11px;border:1.5px solid var(--border, #d8d4e8);padding:9px 10px;background:var(--surface, #fff);text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:4px;transition:transform .12s,box-shadow .12s;touch-action:manipulation}.ac-shop-card:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 14px #11182714}.ac-shop-card.cost-1{border-color:#9ca3af}.ac-shop-card.cost-2{border-color:#10b981}.ac-shop-card.cost-3{border-color:#3b82f6}.ac-shop-card.cost-4{border-color:#a855f7}.ac-shop-card.cost-5{border-color:#f59e0b;background:linear-gradient(180deg,#fffdf5,#fffbeb)}.ac-shop-card.cost-6{border-color:#e11d48;background:linear-gradient(135deg,#fff1f2,#fffbeb);box-shadow:0 2px 10px #e11d481f}.ac-shop-card.bought{opacity:.38;cursor:default}.ac-shop-hint{position:absolute;top:-8px;right:8px;background:#f59e0b;color:#fff;font-size:.7rem;font-weight:700;padding:1px 6px;border-radius:999px}.ac-shop-top{display:flex;justify-content:space-between;align-items:baseline;gap:6px;font-weight:700;font-size:.88rem}.ac-shop-traits{display:flex;flex-wrap:wrap;gap:4px;font-size:.72rem;color:var(--muted, #6b7280)}.ac-shop-traits span{background:#7c5cff14;padding:1px 5px;border-radius:4px}.ac-report-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;margin-top:8px}.ac-tel-card{padding:8px 10px;border-radius:8px;border:1px solid var(--border, #e2dff0);font-size:.8rem}.ac-tel-bar-wrap{height:6px;border-radius:999px;background:#eceaf6;overflow:hidden;margin-top:4px}.ac-tel-bar{height:100%;border-radius:999px}.ac-aug-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.ac-aug-card{padding:14px;border-radius:12px;border:1.5px solid var(--accent, #7c5cff);background:#7c5cff0d;text-align:left;cursor:pointer;touch-action:manipulation}.ac-aug-card:hover{background:#7c5cff1f}.ac-logs{max-height:140px;overflow-y:auto;font-size:.78rem;color:var(--muted, #4b5563);display:flex;flex-direction:column;gap:3px}@media(max-width:1080px){.ac-workspace{grid-template-columns:1fr}.ac-center-col{order:1}.ac-left-col{order:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ac-left-col>section:last-child{grid-column:1 / -1}}@media(max-width:900px){.ac-shop-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:780px){.ac-aug-choices{grid-template-columns:1fr}.ac-page .button,.ac-shell .modal .button{min-height:36px;padding:7px 12px;font-size:.82rem}}@media(max-width:640px){.ac-topbar{min-height:54px;padding:8px 12px}.ac-topbar-mark{width:30px;height:30px}.ac-topbar-title small{display:none}.ac-topbar-user>em{display:none}.ac-topbar-actions .connection>span{display:none}.ac-page{gap:10px;padding:12px 10px calc(22px + env(safe-area-inset-bottom,0px))}.ac-page .page-intro{flex-direction:column;align-items:stretch;gap:10px;margin-bottom:4px}.ac-lobby-actions{justify-content:space-between}.ac-left-col,.ac-mode-pills,.ac-arena-cards{grid-template-columns:1fr}.ac-hud{padding:8px 10px}.ac-hud-group{gap:6px}.ac-stat-chip{font-size:.76rem;padding:3px 8px}.ac-board-panel{padding:10px}.ac-board-svg{min-width:max(100%,calc(var(--ac-cols, 10) * 38px));max-height:none}.ac-bench-slot{min-height:54px;padding:5px 8px}.ac-shell .modal{padding:16px;max-height:88dvh;overflow-y:auto}}@media(max-width:420px){.ac-name-form{flex:1}.ac-name-form input{flex:1;width:auto;min-width:80px}.classic-ac-switch,.ac-topbar-wiki-btn,.ac-mode-switch{padding:5px 8px;min-height:30px;font-size:11px}}@media(max-width:360px){.ac-shop-row{grid-template-columns:1fr}}.ac-shop-slot-wrap{display:flex;min-width:0}.ac-shop-slot-wrap>.ac-shop-card{width:100%;flex:1}.ac-wiki-popover{position:fixed;z-index:95;background:#fff;border:1px solid #d9d3eb;border-top:3px solid #7c5cff;border-radius:12px;box-shadow:0 18px 42px #1b143a2e,0 4px 12px #1b143a14;padding:11px 12px 10px;display:flex;flex-direction:column;gap:8px;overflow-y:auto;color:#2c2840;font-size:.82rem}.ac-wiki-popover.cost-1{border-top-color:#9ca3af}.ac-wiki-popover.cost-2{border-top-color:#10b981}.ac-wiki-popover.cost-3{border-top-color:#3b82f6}.ac-wiki-popover.cost-4{border-top-color:#a855f7}.ac-wiki-popover.cost-5{border-top-color:#f59e0b}.ac-wiki-popover.cost-6{border-top-color:#e11d48}.ac-wiki-pop-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.ac-wiki-pop-title{display:flex;align-items:center;gap:6px;min-width:0}.ac-wiki-pop-title strong{font-size:.98rem;color:#241f38}.ac-wiki-pop-badges{display:inline-flex;align-items:center;gap:4px;flex:none}.ac-wiki-serial{font-size:.72rem;font-weight:700;padding:1px 6px;border-radius:5px;background:#f1eef9;color:#5b4a9a}.ac-wiki-stars{color:#d97706;font-size:.78rem;letter-spacing:1px}.ac-wiki-cost{font-size:.72rem;font-weight:700;padding:1px 7px;border-radius:999px;background:#f3f4f6;color:#374151}.ac-wiki-cost.cost-1{background:#f3f4f6;color:#4b5563}.ac-wiki-cost.cost-2{background:#ecfdf5;color:#047857}.ac-wiki-cost.cost-3{background:#eff6ff;color:#1d4ed8}.ac-wiki-cost.cost-4{background:#faf5ff;color:#7e22ce}.ac-wiki-cost.cost-5{background:#fffbeb;color:#b45309}.ac-wiki-cost.cost-6{background:linear-gradient(90deg,#ffe4e6,#fef3c7);color:#be123c}.ac-wiki-pop-sub{display:flex;justify-content:space-between;gap:8px;font-size:.74rem;color:#6b7280}.ac-wiki-pop-lead{margin:0;font-size:.79rem;line-height:1.45;color:#4b4760}.ac-wiki-stat-pills{display:flex;flex-wrap:wrap;gap:5px}.ac-wiki-stat-pills>span{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border-radius:6px;background:#f5f3fb;font-size:.74rem;color:#463f63}.ac-wiki-tune-pill{background:#fef3c7!important;color:#92400e!important}.ac-wiki-trait-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.ac-wiki-trait-btn{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;border:1px solid #d9d1f1;background:#f8f6fd;color:#55429d;font-size:.75rem;font-weight:600;cursor:pointer}.ac-wiki-trait-btn:hover{background:#ece6fa}.ac-wiki-pop-skills{display:flex;flex-direction:column;gap:5px;border-top:1px dashed #e5e1f0;padding-top:7px}.ac-wiki-pop-sec{display:flex;align-items:center;gap:5px;font-size:.75rem;font-weight:600;color:#4e4769}.ac-wiki-pop-skill{background:#faf9fd;border:1px solid #ebe8f4;border-radius:7px;padding:5px 7px}.ac-wiki-pop-skill-top{display:flex;justify-content:space-between;gap:6px;font-size:.76rem}.ac-wiki-pop-skill-top span{color:#6b7280;font-size:.71rem;white-space:nowrap}.ac-wiki-pop-skill-desc{margin-top:2px;font-size:.73rem;color:#5b566e;line-height:1.35}.ac-wiki-pop-more{margin-top:2px;display:flex;align-items:center;justify-content:space-between;padding:7px 9px;border-radius:8px;border:1px solid #d8cef0;background:#f5f2fc;color:#5641a6;font-size:.78rem;font-weight:600;cursor:pointer}.ac-wiki-pop-more span{display:inline-flex;align-items:center;gap:5px}.ac-wiki-pop-more:hover{background:#eae3fa}.ac-wiki-modal{max-width:1020px;width:min(1020px,calc(100vw - 24px));max-height:90dvh;display:flex;flex-direction:column;gap:12px;overflow:hidden}.ac-wiki-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:0}.ac-wiki-modal-head h2{display:flex;align-items:center;gap:8px;margin:0 0 2px}.ac-wiki-tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid #e6e2f0;padding-bottom:8px}.ac-wiki-tab{padding:6px 12px;border-radius:8px;border:1px solid #e2ddf0;background:#faf9fd;color:#5d5775;font-size:.84rem;font-weight:600;cursor:pointer}.ac-wiki-tab.active{background:#7967b7;border-color:#7967b7;color:#fff}.ac-wiki-body{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding-right:2px}.ac-wiki-filters{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.ac-wiki-search-wrap{display:flex;align-items:center;gap:7px;flex:1 1 220px;padding:0 10px;border:1px solid #dedaea;border-radius:8px;background:#fff}.ac-wiki-search-wrap input{border:0;padding:7px 0;width:100%;outline:none;font-size:.84rem}.ac-wiki-filter-pills{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.ac-wiki-filter-pills select{padding:5px 8px;font-size:.8rem}.ac-wiki-chip{padding:4px 9px;border-radius:999px;border:1px solid #dcd6ec;background:#f8f6fc;color:#534c70;font-size:.76rem;font-weight:600;cursor:pointer}.ac-wiki-chip.active{background:#7967b7;border-color:#7967b7;color:#fff}.ac-wiki-split{display:grid;grid-template-columns:230px minmax(0,1fr);gap:12px;align-items:start}.ac-wiki-list{display:flex;flex-direction:column;gap:6px;max-height:58dvh;overflow-y:auto;padding-right:3px}.ac-wiki-list-item{padding:8px 10px;border-radius:9px;border:1.5px solid #e5e1f0;background:#fff;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:2px}.ac-wiki-list-item.active{border-color:#7c5cff;background:#f5f2fd}.ac-wiki-list-top{display:flex;justify-content:space-between;font-size:.84rem}.ac-wiki-article{min-width:0;display:flex;flex-direction:column;gap:12px}.ac-wiki-infobox{padding:12px 14px;border-radius:11px;border:1px solid #e1dcf0;border-left:4px solid #7c5cff;background:#fbfafd;display:flex;flex-direction:column;gap:8px}.ac-wiki-infobox.cost-1{border-left-color:#9ca3af}.ac-wiki-infobox.cost-2{border-left-color:#10b981}.ac-wiki-infobox.cost-3{border-left-color:#3b82f6}.ac-wiki-infobox.cost-4{border-left-color:#a855f7}.ac-wiki-infobox.cost-5{border-left-color:#f59e0b}.ac-wiki-infobox.cost-6{border-left-color:#e11d48;background:linear-gradient(135deg,#fff7f8,#fffdf5)}.ac-wiki-info-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.ac-wiki-info-head>div:first-child{display:flex;align-items:center;gap:8px}.ac-wiki-info-head h3{margin:0;font-size:1.15rem}.ac-wiki-info-meta{display:flex;flex-wrap:wrap;gap:6px;font-size:.78rem;color:#5b556e}.ac-wiki-info-meta>span{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border-radius:6px;background:#efecf8}.ac-wiki-lead{margin:0;font-size:.86rem;color:#423d57;line-height:1.5}.ac-wiki-section h4{margin:0 0 6px;font-size:.9rem;color:#3b3456}.ac-wiki-syn-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ac-wiki-syn-card{padding:9px 10px;border-radius:9px;border:1px solid #e5e1f0;background:#fff;display:flex;flex-direction:column;gap:6px}.ac-wiki-syn-card-head{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.ac-wiki-partner-row{display:flex;flex-wrap:wrap;gap:5px}.ac-wiki-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #e6e2f0;border-radius:9px}.ac-wiki-table{width:100%;border-collapse:collapse;font-size:.76rem;min-width:440px}.ac-wiki-table th,.ac-wiki-table td{padding:6px 7px;border-bottom:1px solid #eeebf6;text-align:left;white-space:nowrap}.ac-wiki-table th{background:#f7f5fc;color:#574e78;font-weight:600}.ac-wiki-table tbody tr:last-child td{border-bottom:0}.ac-wiki-basic-box{padding:8px 10px;border-radius:8px;background:#f8f6fc;border:1px solid #e6e1f2;font-size:.82rem}.ac-wiki-passives{margin:6px 0 0;padding-left:18px;font-size:.81rem;color:#46415c;line-height:1.5}.ac-wiki-skill-list{display:flex;flex-direction:column;gap:7px}.ac-wiki-skill-row{padding:8px 10px;border-radius:8px;border:1px solid #e6e1f2;background:#fff}.ac-wiki-skill-row p{margin:4px 0 0;font-size:.8rem;color:#534e68;line-height:1.45}.ac-wiki-skill-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px}.ac-wiki-phase{margin-left:6px;color:#7c5cff;font-size:.76rem}.ac-wiki-skill-tags{display:flex;flex-wrap:wrap;gap:5px;font-size:.72rem}.ac-wiki-skill-tags>span{padding:1px 6px;border-radius:5px;background:#f3f0fa;color:#5a527a}.ac-wiki-syn-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ac-wiki-syn-panel{padding:11px 12px;border-radius:10px;border:1.5px solid #e5e1f0;background:#fff}.ac-wiki-syn-panel.selected{border-color:#7c5cff;background:#f7f4fe}.ac-wiki-syn-panel-head{display:flex;justify-content:space-between;align-items:center;font-size:.94rem}.ac-wiki-tiers{margin:0 0 8px;padding-left:16px;font-size:.8rem;line-height:1.45}.ac-wiki-aug-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.ac-wiki-aug-card{padding:10px 12px;border-radius:10px;border:1px solid #e1dcf0;background:#fbfafd;display:flex;flex-direction:column;gap:4px}.ac-wiki-aug-card p{margin:0;font-size:.79rem;color:#4f4a65;line-height:1.45}.ac-wiki-aug-tier{display:inline-flex;align-items:center;gap:4px;font-size:.73rem;font-weight:700;color:#6d4aff}.ac-wiki-rules{gap:10px}.ac-wiki-rule-card{padding:11px 13px;border-radius:10px;border:1px solid #e4e0ef;background:#fbfafd}.ac-wiki-rule-card h4{display:flex;align-items:center;gap:6px;margin:0 0 6px}.ac-wiki-rule-card p,.ac-wiki-rule-card ul{margin:0;font-size:.84rem;line-height:1.55;color:#46415c}.ac-wiki-rule-card ul{padding-left:18px;margin-bottom:8px}.ac-wiki-arena-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:6px}.ac-wiki-arena-item{padding:8px 10px;border-radius:8px;border:1px solid #e5e1f0;background:#fff;display:flex;flex-direction:column;gap:2px;font-size:.8rem}@media(max-width:900px){.ac-wiki-split{grid-template-columns:1fr}.ac-wiki-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-height:165px}.ac-wiki-syn-grid,.ac-wiki-aug-grid,.ac-wiki-syn-cards,.ac-wiki-arena-list{grid-template-columns:1fr}}@media(max-width:640px){.ac-wiki-modal{width:calc(100vw - 12px);padding:12px!important;max-height:92dvh!important}.ac-wiki-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:148px}.ac-wiki-tab{padding:5px 9px;font-size:.78rem}}.ac-unit-group{transition:transform .42s cubic-bezier(.22,1,.36,1);will-change:transform}.ac-token-lunge{animation:ac-lunge-right .38s cubic-bezier(.22,1,.36,1)}.ac-token-lunge-left{animation:ac-lunge-left .38s cubic-bezier(.22,1,.36,1)}.ac-token-hit{animation:ac-hit-shake .36s ease-in-out}.ac-token-starup{animation:ac-starup-pulse .85s ease-out}@keyframes ac-lunge-right{0%{transform:translate(0) scale(1)}40%{transform:translate(9px,-2px) scale(1.1)}to{transform:translate(0) scale(1)}}@keyframes ac-lunge-left{0%{transform:translate(0) scale(1)}40%{transform:translate(-9px,-2px) scale(1.1)}to{transform:translate(0) scale(1)}}@keyframes ac-hit-shake{0%,to{transform:translate(0)}20%{transform:translate(-5px) scale(.95)}45%{transform:translate(5px) scale(1.04)}70%{transform:translate(-3px)}}@keyframes ac-starup-pulse{0%{transform:scale(1);filter:drop-shadow(0 0 0 rgba(250,204,21,0))}35%{transform:scale(1.22);filter:drop-shadow(0 0 10px rgba(250,204,21,.95))}to{transform:scale(1);filter:drop-shadow(0 0 0 rgba(250,204,21,0))}}.ac-vfx-trail-path{animation:ac-trail-dash .65s ease-out forwards}.ac-vfx-ring{transform-box:fill-box;transform-origin:center;animation:ac-ring-expand .55s ease-out forwards}.ac-vfx-flash{transform-box:fill-box;transform-origin:center;animation:ac-beam-flash .45s ease-out forwards}.ac-vfx-beam{animation:ac-beam-flash .42s ease-out forwards}.ac-vfx-spin{transform-box:fill-box;transform-origin:center;animation:ac-vfx-spin-kf .6s ease-out forwards}.ac-vfx-callout{animation:ac-callout-pop .8s ease-out forwards}.ac-vfx-popup{font-size:13px;font-weight:800;paint-order:stroke;stroke:#0f172aeb;stroke-width:3px;stroke-linejoin:round;animation:ac-popup-float .85s ease-out forwards}.ac-vfx-popup-dmg{fill:#ff6b6b}.ac-vfx-popup-heal{fill:#4ade80}.ac-vfx-popup-shield{fill:#60a5fa}.ac-vfx-popup-summon{fill:#d8b4fe}.ac-vfx-popup-miss{fill:#fde047;font-size:11px}@keyframes ac-trail-dash{0%{opacity:.95;stroke-dashoffset:24}to{opacity:.12;stroke-dashoffset:0}}@keyframes ac-ring-expand{0%{opacity:.95;transform:scale(.45)}to{opacity:0;transform:scale(1.45)}}@keyframes ac-beam-flash{0%{opacity:1}to{opacity:0}}@keyframes ac-vfx-spin-kf{0%{opacity:.95;transform:scale(.6) rotate(0)}50%{opacity:1;transform:scale(1.12) rotate(90deg)}to{opacity:0;transform:scale(1.25) rotate(180deg)}}@keyframes ac-callout-pop{0%{opacity:0}20%{opacity:1}80%{opacity:.95}to{opacity:0}}@keyframes ac-popup-float{0%{opacity:0;transform:translateY(4px) scale(.85)}20%{opacity:1;transform:translateY(-2px) scale(1.06)}to{opacity:0;transform:translateY(-22px) scale(.95)}}.ac-mini-token{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;min-width:24px;border-radius:999px;border:2px solid #5b46e8;background:#1c173d;overflow:hidden}.ac-mini-token-emblem{display:block;width:15px;height:15px;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.ac-mini-token-img{width:100%;height:100%;object-fit:cover}.ac-bench-head{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;font-weight:700}.ac-bench-name,.ac-shop-name-wrap{display:inline-flex;align-items:center;gap:6px;min-width:0}.ac-bench-name span,.ac-shop-name-wrap span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ac-modal-backdrop{position:fixed;inset:0;z-index:95;display:flex;align-items:center;justify-content:center;padding:16px;background:#0f101e8f;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.ac-modal{width:min(560px,100%);max-height:90dvh;overflow-y:auto;background:#fff;border:1px solid #dfd8fb;border-radius:16px;padding:18px 20px;box-shadow:0 24px 60px #110f2a47;color:#1e1b2e;display:flex;flex-direction:column;gap:12px}.ac-token-modal{width:min(860px,100%)}.ac-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ac-modal-head h3{margin:0 0 4px;font-size:1.08rem}.ac-modal-head p{margin:0;font-size:.82rem;color:#5b5773;line-height:1.4}.ac-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 14px;border-radius:10px;border:1px solid #d7d2ee;background:#f8f7fc;color:#272343;font-weight:600;font-size:.86rem;cursor:pointer}.ac-btn:disabled{opacity:.55;cursor:not-allowed}.ac-btn-primary{background:#5b46e8;border-color:#5b46e8;color:#fff}.ac-btn-danger{background:#df4e3b;border-color:#df4e3b;color:#fff}.ac-btn-ghost{background:transparent}.ac-btn-sm{padding:6px 11px;font-size:.82rem}.ac-btn-xs{padding:4px 8px;font-size:.76rem;border-radius:8px}.ac-banner{padding:9px 12px;border-radius:10px;font-size:.83rem;line-height:1.4}.ac-banner-warn{background:#fef3c7;color:#92400e;border:1px solid #fcd34d}.ac-banner-err{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.ac-banner-ok{background:#dcfce7;color:#166534;border:1px solid #86efac}.ac-auth-tabs{display:flex;gap:8px}.ac-auth-body{display:flex;flex-direction:column;gap:12px}.ac-auth-form{display:flex;flex-direction:column;gap:10px}.ac-field{display:flex;flex-direction:column;gap:4px;font-size:.83rem}.ac-field>span{font-weight:600;color:#3e3a56}.ac-field input,.ac-field select{padding:8px 10px;border-radius:9px;border:1px solid #d5cfe9;background:#fcfbff;color:#1e1b2e;font-size:.88rem;width:100%;box-sizing:border-box}.ac-auth-divider{margin-top:4px;font-size:.78rem;color:#6b6782;border-top:1px dashed #e5e1f5;padding-top:8px}.ac-auth-foot-note{font-size:.79rem;color:#5b5773;background:#f5f3fc;padding:8px 11px;border-radius:9px;line-height:1.45}.ac-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.ac-modal-actions-between{justify-content:space-between}.ac-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ac-stat-card{background:#f6f4fe;border:1px solid #e4defa;border-radius:10px;padding:9px 10px}.ac-stat-label{font-size:.74rem;color:#655f80}.ac-stat-val{font-weight:700;font-size:.92rem;margin-top:2px}.ac-token-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:14px;min-height:360px}.ac-token-roster{display:flex;flex-direction:column;gap:6px;max-height:440px;overflow-y:auto;padding-right:4px}.ac-token-unit-btn{display:flex;align-items:center;gap:8px;padding:7px 9px;border-radius:10px;border:1px solid #e5e1f5;background:#faf9fe;cursor:pointer;text-align:left;color:#1e1b2e}.ac-token-unit-btn.active{border-color:#5b46e8;background:#f0ecff}.ac-token-mini-ring{width:28px;height:28px;min-width:28px;border-radius:999px;border:2.2px solid #5b46e8;background:#1c173d;display:inline-flex;align-items:center;justify-content:center;overflow:hidden}.ac-token-mini-emblem{width:18px;height:18px;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.ac-token-mini-img{width:100%;height:100%;object-fit:cover}.ac-token-unit-info{display:flex;flex-direction:column;min-width:0;flex:1}.ac-token-unit-name{font-weight:700;font-size:.84rem}.ac-token-unit-cost{font-size:.72rem}.ac-token-custom-dot{font-size:.68rem;font-weight:700;padding:1px 6px;border-radius:999px;background:#5b46e8;color:#fff}.ac-token-editor{display:flex;flex-direction:column;gap:12px;min-width:0}.ac-token-preview-stage{background:radial-gradient(circle at top,#27214d,#171529);border-radius:12px;padding:14px;color:#f8fafc;display:flex;flex-direction:column;align-items:center;gap:10px}.ac-token-stage-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:.78rem}.ac-token-stage-controls .ac-btn-ghost{color:#e2e8f0;border-color:#ffffff47}.ac-shell .button.primary{color:#fff}.ac-token-board-mock{display:flex;flex-direction:column;align-items:center;gap:5px}.ac-token-mock-name{background:#101222e6;border:1px solid #7c6ef2;padding:2px 10px;border-radius:999px;font-size:.78rem;font-weight:700}.ac-token-mock-ring{width:66px;height:66px;border-radius:999px;border:4px solid #5b46e8;background:#1d183d;display:flex;align-items:center;justify-content:center;overflow:hidden}.ac-token-mock-emblem{width:40px;height:40px;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.ac-token-mock-img{width:100%;height:100%;object-fit:cover}.ac-token-mock-stars{font-size:.74rem;color:#fde047;font-weight:700}.ac-token-actions-group{display:flex;flex-wrap:wrap;gap:8px}.ac-token-url-form{display:flex;gap:8px}.ac-token-url-form input{flex:1;min-width:0;padding:7px 10px;border-radius:9px;border:1px solid #d5cfe9;font-size:.83rem}.ac-token-emblem-title{font-size:.8rem;font-weight:600;margin-bottom:6px}.ac-token-emblem-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:6px}.ac-token-emblem-btn{display:flex;align-items:center;gap:5px;padding:5px 7px;border-radius:8px;border:1px solid #e2dcf7;background:#faf9fe;font-size:.74rem;color:#2a2642;cursor:pointer}.ac-token-emblem-btn.active{border-color:#5b46e8;background:#ede9ff;font-weight:700}.ac-token-emblem-icon{width:16px;height:16px;min-width:16px;background-color:#5b46e8;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.ac-badge-free,.ac-badge-unlocked,.ac-badge-locked{font-size:.74rem;font-weight:700;padding:3px 9px;border-radius:999px}.ac-badge-free{background:#eef2ff;color:#4338ca}.ac-badge-unlocked{background:#dcfce7;color:#166534}.ac-badge-locked{background:#fef3c7;color:#92400e}.ac-pvp-locked-box{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:24px 16px;border-radius:12px;background:#f7f5fe;border:1px dashed #c8bdf7;color:#363056}.ac-pvp-locked-box h4{margin:0}.ac-pvp-locked-box p{margin:0;font-size:.84rem;line-height:1.5;max-width:440px}.ac-pvp-body{display:flex;flex-direction:column;gap:14px}.ac-join-room-bar{display:flex;gap:8px}.ac-join-room-bar input{flex:1;min-width:0;padding:8px 11px;border-radius:10px;border:1px solid #d5cfe9;font-weight:700;letter-spacing:.08em}.ac-create-room-box{background:#f8f6fe;border:1px solid #e4defa;border-radius:12px;padding:12px}.ac-create-room-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ac-checkbox-row{display:flex;align-items:center;gap:7px;font-size:.83rem;cursor:pointer}.ac-room-wait-card{padding:18px;display:flex;flex-direction:column;gap:14px}.ac-room-wait-head{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px}.ac-room-wait-head h2{margin:4px 0 6px}.ac-room-code-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:.88rem}.ac-room-code-badge{display:inline-block;padding:2px 10px;border-radius:8px;background:#ede9fe;color:#4c1d95;font-family:monospace;font-size:1rem;letter-spacing:.1em}.ac-room-invite-box{background:#f7f6fc;border:1px solid #e3def8;border-radius:12px;padding:10px 12px;font-size:.82rem}.ac-room-invite-links{display:flex;flex-direction:column;gap:6px;margin-top:6px}.ac-invite-url-row{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff;border:1px solid #e7e3f6;border-radius:8px;padding:5px 8px}.ac-invite-url-row code{font-size:.78rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ac-room-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:14px}.ac-room-seats-panel h3,.ac-room-config-panel h3{margin:0 0 10px;font-size:.96rem}.ac-seat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ac-seat-card{border-radius:11px;padding:11px 12px;border:1px solid #e3def8;background:#fcfbff;display:flex;flex-direction:column;gap:4px}.ac-seat-card.ready{border-color:#86efac;background:#f0fdf4}.ac-seat-card.empty{border-style:dashed;background:#f8f7fc}.ac-seat-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.ac-host-icon{color:#d97706;vertical-align:-2px}.ac-ready-pill{font-size:.72rem;padding:2px 7px;border-radius:999px;background:#f3f4f6;color:#4b5563;font-weight:700}.ac-ready-pill.ok{background:#dcfce7;color:#166534}.ac-room-config-list{display:flex;flex-direction:column;gap:9px}.ac-room-wait-actions{margin-top:12px;display:flex;justify-content:flex-end;gap:8px}.ac-room-chip{background:#ede9fe!important;color:#4c1d95!important;font-weight:700}.ac-cmd-row.watching{box-shadow:inset 0 0 0 2px #5b46e8}@media(max-width:900px){.ac-token-layout,.ac-room-split{grid-template-columns:1fr}.ac-token-roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:170px}}@media(max-width:640px){.ac-topbar{flex-wrap:wrap;row-gap:6px}.ac-topbar-actions{flex-wrap:wrap;gap:6px}.ac-create-room-grid,.ac-seat-grid,.ac-stats-grid{grid-template-columns:1fr}.ac-token-url-form,.ac-join-room-bar{flex-direction:column}.ac-modal{padding:14px;max-height:92dvh}}@media(max-width:420px){.ac-topbar-auth-btn,.ac-topbar-token-btn,.ac-topbar-wiki-btn,.ac-mode-switch{padding:5px 8px;min-height:30px;font-size:11px}}.ac-tier-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;font-size:.76rem;font-weight:700;border:1px solid transparent;white-space:nowrap}.ac-tier-bronze{background:#f5ebe3;color:#8b4a24;border-color:#d9b498}.ac-tier-silver{background:#f1f5f9;color:#475569;border-color:#cbd5e1}.ac-tier-gold{background:#fef9c3;color:#a16207;border-color:#facc15}.ac-tier-platinum{background:#ccfbf1;color:#0f766e;border-color:#5eead4}.ac-tier-diamond{background:#dbeafe;color:#1d4ed8;border-color:#93c5fd}.ac-tier-king{background:linear-gradient(135deg,#f3e8ff,#fae8ff);color:#7e22ce;border-color:#c084fc}.ac-topbar-rank-pill{font-weight:700!important;gap:4px}.ac-ranked-hero{padding:16px;border-top:3px solid #eab308}.ac-ranked-locked-box{padding:14px;border-radius:12px;background:#fbfafe;border:1px dashed #d7cef6}.ac-ranked-tiers-strip{display:flex;flex-wrap:wrap;gap:6px}.ac-ranked-hero-grid{display:grid;grid-template-columns:1.35fr .9fr;gap:14px;align-items:stretch}.ac-ranked-profile-card{display:flex;flex-direction:column;gap:10px;padding:13px 14px;border-radius:12px;border:1px solid #e4defa;background:#fbfaff}.ac-ranked-profile-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.ac-ranked-profile-top>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.ac-ranked-lp-num{font-size:1.05rem;color:#1e1b2e}.ac-ranked-coins-pill{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;background:#fef3c7;border:1px solid #fcd34d;color:#92400e;font-weight:700;font-size:.8rem}.ac-lp-progress-wrap{display:flex;flex-direction:column;gap:4px}.ac-lp-progress-bar{width:100%;height:9px;border-radius:999px;background:#e7e4f3;overflow:hidden}.ac-lp-progress-fill{height:100%;border-radius:999px;transition:width .35s ease}.ac-lp-progress-labels{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:.74rem;color:#5b556e}.ac-ranked-mini-stats{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:.78rem;color:#3f3858;font-weight:600}.ac-ranked-mini-stats>span{display:inline-flex;align-items:center;gap:4px}.ac-ranked-history-row{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.ac-ranked-hist-chip{font-size:.72rem;font-weight:700;padding:2px 7px;border-radius:6px}.ac-ranked-hist-chip.win{background:#dcfce7;color:#166534}.ac-ranked-hist-chip.loss{background:#fee2e2;color:#991b1b}.ac-ranked-launch-box{display:flex;flex-direction:column;justify-content:space-between;gap:10px;padding:13px 14px;border-radius:12px;border:1px solid #e4defa;background:#f6f4fe}.ac-ranked-launch-actions{display:flex;flex-wrap:wrap;gap:8px}.ac-ranked-start-btn{flex:1;min-width:170px}.ac-auth-ranked-card{display:flex;flex-direction:column;gap:7px;padding:10px 12px;border-radius:11px;background:#f8f6fe;border:1px solid #e1daf9}.ac-auth-ranked-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.ac-auth-ranked-meta{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:.78rem;color:#4b4566;font-weight:600}.ac-standings-8p{max-height:315px;overflow-y:auto;padding-right:3px}.ac-surrender-confirm-btn{background:#fee2e2!important;color:#991b1b!important;border-color:#fca5a5!important;font-weight:700!important}.ac-lb-modal{width:min(760px,100%)}.ac-lb-my-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding:10px 12px;border-radius:11px;background:linear-gradient(135deg,#f5f2ff,#eef2ff);border:1.5px solid #c7bdf7}.ac-lb-my-left,.ac-lb-my-right{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.82rem}.ac-lb-my-rank{font-weight:800;color:#4c1d95}.ac-lb-guest-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border-radius:10px;background:#f8f7fc;border:1px dashed #d5cfe9;font-size:.82rem;color:#4f4a68}.ac-lb-filters{display:flex;flex-wrap:wrap;gap:6px}.ac-lb-list-wrap{max-height:400px;overflow-y:auto;border:1px solid #e7e2f6;border-radius:11px;background:#fcfbff}.ac-lb-list{display:flex;flex-direction:column}.ac-lb-row{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #eeeaf7}.ac-lb-row:last-child{border-bottom:0}.ac-lb-row.me{background:#f3efff}.ac-lb-rank-num{display:inline-flex;align-items:center;justify-content:center;gap:3px;font-weight:800;font-size:.9rem;color:#5b5570}.ac-lb-rank-num.top1{color:#d97706}.ac-lb-rank-num.top2{color:#64748b}.ac-lb-rank-num.top3{color:#b45309}.ac-lb-player{display:flex;flex-direction:column;gap:4px;min-width:0}.ac-lb-name-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;min-width:0}.ac-lb-name-line strong{font-size:.9rem;overflow:hidden;text-overflow:ellipsis}.ac-lb-me-tag{font-size:.68rem;font-weight:800;padding:1px 6px;border-radius:999px;background:#5b46e8;color:#fff}.ac-lb-sub-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.ac-lb-streak-pill{display:inline-flex;align-items:center;gap:2px;font-size:.72rem;font-weight:700;padding:2px 7px;border-radius:999px;background:#ffedd5;color:#c2410c}.ac-lb-score{display:flex;flex-direction:column;align-items:flex-end;gap:2px;white-space:nowrap}.ac-lb-score strong{font-size:.94rem;color:#272343}.ac-ranked-summary-modal{width:min(560px,100%)}.ac-summary-win-title{color:#166534}.ac-summary-loss-title{color:#991b1b}.ac-summary-rank-card{padding:12px 14px;border-radius:12px;border:1px solid #e1daf9;background:#f8f6fe;display:flex;flex-direction:column;gap:9px}.ac-summary-rank-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.ac-summary-rank-top>div:first-child{display:flex;align-items:center;gap:8px}.ac-summary-promo-pill{font-size:.74rem;font-weight:800;padding:2px 8px;border-radius:999px;background:#fef08a;color:#854d0e}.ac-summary-net{font-size:1.25rem;font-weight:900}.ac-summary-net.pos{color:#16a34a}.ac-summary-net.neg{color:#dc2626}.ac-summary-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}@media(max-width:1080px){.ac-standings-8p{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow:visible;gap:6px}}@media(max-width:860px){.ac-ranked-hero-grid{grid-template-columns:1fr}}@media(max-width:640px){.ac-lb-row{grid-template-columns:44px minmax(0,1fr);gap:6px 8px}.ac-lb-score{grid-column:2;align-items:flex-start;white-space:normal}.ac-summary-breakdown{grid-template-columns:1fr}}@media(max-width:420px){.ac-topbar-lb-btn,.ac-topbar-rank-pill{padding:5px 8px;min-height:30px;font-size:11px}.ac-standings-8p{grid-template-columns:1fr}}.ac-inspector-done,.ac-landscape-log-notice,.ac-landscape-rail-tabs,.ac-landscape-lobby-tabs,.ac-landscape-tel-toggle{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-landscape-tel-toggle{display:inline-flex}.ac-shell[data-ac-mobile-landscape=true]{--ac-safe-top: env(safe-area-inset-top);--ac-safe-right: env(safe-area-inset-right);--ac-safe-bottom: env(safe-area-inset-bottom);--ac-safe-left: env(safe-area-inset-left);height:100dvh;padding:var(--ac-safe-top) var(--ac-safe-right) var(--ac-safe-bottom) var(--ac-safe-left)}@media(orientation:portrait){html:has(.ac-shell[data-ac-mobile-landscape=true]){overflow:hidden}.ac-shell[data-ac-mobile-landscape=true]{--ac-safe-top: env(safe-area-inset-right);--ac-safe-right: env(safe-area-inset-bottom);--ac-safe-bottom: env(safe-area-inset-left);--ac-safe-left: env(safe-area-inset-top);position:fixed;top:0;left:0;width:100dvh;height:100dvw;min-height:0;transform-origin:top left;transform:translate(100dvw) rotate(90deg)}.ac-shell[data-ac-mobile-landscape=true] .ac-wiki-modal{width:100%;max-height:100%!important}}.ac-shell[data-ac-mobile-landscape=true] .ac-main{display:flex;flex-direction:column;min-height:0;overflow:auto}.ac-shell[data-ac-mobile-landscape=true] .ac-page{flex:1;min-height:0;margin:0}.ac-shell[data-ac-mobile-landscape=true] .ac-topbar{flex:none;min-height:28px;padding:2px 8px;gap:4px 8px}.ac-shell[data-ac-mobile-landscape=true] .ac-topbar-mark{width:24px;height:24px;border-radius:6px}.ac-shell[data-ac-mobile-landscape=true] .ac-topbar-title strong{font-size:.84rem}.ac-shell[data-ac-mobile-landscape=true] .ac-topbar-title small,.ac-shell[data-ac-mobile-landscape=true] .ac-topbar-actions .connection>span{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-topbar-actions{gap:4px}.ac-shell[data-ac-mobile-landscape=true] .ac-topbar-actions .button{min-height:24px;padding:2px 7px;font-size:11px;gap:4px}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby{padding:3px 8px 5px;gap:4px;overflow:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:"tabs actions" "notice notice" "mode mode"}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby>:is(.ac-ranked-hero,.ac-lobby-grid){grid-area:mode}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .page-intro>:first-child{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .page-intro{grid-area:actions;flex-direction:row;align-items:center;min-height:22px;margin-bottom:0;gap:6px;flex:none}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .page-intro h1{font-size:.92rem;line-height:1.1;margin:0;white-space:nowrap}.ac-shell[data-ac-mobile-landscape=true] .ac-lobby-actions{gap:4px;justify-content:flex-end}.ac-shell[data-ac-mobile-landscape=true] .ac-lobby-dup-action{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-lobby-actions .button,.ac-shell[data-ac-mobile-landscape=true] .ac-name-form input{min-height:22px;padding:1px 7px;font-size:.7rem}.ac-shell[data-ac-mobile-landscape=true] .ac-name-form input{width:92px}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .page-intro .eyebrow,.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .page-intro p{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby>.ac-intent-bar{grid-area:notice;margin:0;flex:none;padding:2px 8px;font-size:.7rem}.ac-shell[data-ac-mobile-landscape=true] .ac-landscape-lobby-tabs{grid-area:tabs;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;flex:none}.ac-shell[data-ac-mobile-landscape=true] .ac-landscape-lobby-tabs button,.ac-shell[data-ac-mobile-landscape=true] .ac-landscape-rail-tabs button{border:1px solid #d7d1ed;border-radius:7px;background:#f5f3fc;color:#3c3657;font-size:.72rem;font-weight:700;padding:3px 6px;min-height:24px;cursor:pointer}.ac-shell[data-ac-mobile-landscape=true] .ac-landscape-lobby-tabs button.active,.ac-shell[data-ac-mobile-landscape=true] .ac-landscape-rail-tabs button.active{background:#5b46e8;border-color:#5b46e8;color:#fff}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-lobby-tab-pane{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-lobby-tab-pane.ac-lobby-tab-active{display:block;flex:1;min-height:0;overflow-y:auto;padding:6px 8px!important}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby :is(.ac-ranked-hero,.ac-pvp-panel)>.ac-section-head{margin-bottom:5px!important;font-size:.82rem}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby :is(.ac-ranked-hero,.ac-pvp-panel) .button{min-height:26px;padding:3px 7px;font-size:.74rem}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-ranked-hero.ac-lobby-tab-active:has(>.ac-ranked-hero-grid){display:flex;flex-direction:column}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-ranked-hero-grid{flex:.25 0 auto;margin-block:auto;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:6px}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby :is(.ac-ranked-profile-card,.ac-ranked-launch-box,.ac-ranked-locked-box,.ac-pvp-locked-box,.ac-create-room-box){padding:6px 8px;gap:5px}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-ranked-mini-stats{gap:3px 8px}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-pvp-panel.ac-lobby-tab-active{display:flex;flex-direction:column}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-pvp-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:"create join" "create rooms";gap:6px;flex:1;min-height:0}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-create-room-box{grid-area:create;align-self:start}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-create-room-box h4{margin-bottom:3px!important}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-create-room-box>:is(.ac-checkbox-row,.button){margin-top:3px!important}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-create-room-box .ac-field{gap:2px}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-create-room-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 6px}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-join-room-bar{grid-area:join;flex-direction:row;align-items:center;gap:4px}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-join-room-bar input{min-width:0;width:0;flex:1}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby :is(.ac-field input,.ac-field select,.ac-join-room-bar input){min-height:26px;padding:3px 5px;font-size:.75rem}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-room-directory{grid-area:rooms;display:flex;flex-direction:column;min-height:0}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-room-directory .ac-saved-list{min-height:0;overflow-y:auto}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-lobby-grid{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-lobby-grid.ac-lobby-grid-mobile-active{display:flex;flex:1;min-height:0}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-lobby-grid.ac-lobby-grid-mobile-active>.ac-lobby-tab-active{width:100%}.ac-shell[data-ac-mobile-landscape=true] .ac-page-lobby .ac-pve-panel.ac-lobby-tab-active{display:grid!important;grid-template-columns:minmax(0,1.55fr) minmax(196px,.95fr);grid-template-rows:minmax(0,1fr);gap:10px;padding:7px 10px!important;overflow:hidden!important}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-setup{display:flex;flex-direction:column;min-height:0;gap:5px;overflow:hidden}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-setup .ac-section-head{margin-bottom:0!important;gap:6px;flex:none}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-setup .ac-section-head h3{font-size:.84rem;line-height:1.15}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-setup .ac-badge-free{font-size:.65rem;padding:1px 6px}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-setup .ac-mode-pills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-bottom:0;flex:none}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-setup .ac-mode-pill{padding:5px 8px;border-radius:8px;display:flex;flex-direction:column;gap:2px}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-setup .ac-mode-pill strong{font-size:.76rem;margin-bottom:0;line-height:1.2}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-setup .ac-mode-pill small{font-size:.64rem;line-height:1.22;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-subhead{margin:1px 0 0;font-size:.73rem;line-height:1.15;flex:none}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-setup .ac-arena-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-bottom:0;flex:1;min-height:0}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-setup .ac-arena-card{padding:5px 7px;border-radius:8px;display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:0}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-setup .ac-arena-card strong{font-size:.73rem;line-height:1.15}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-setup .ac-arena-card p{margin:0;font-size:.62rem;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-start-btn{margin-top:auto;min-height:29px;padding:4px 12px;font-size:.78rem;width:100%;justify-content:center;flex:none}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-saves{margin-top:0;display:flex;flex-direction:column;min-height:0;border-left:1px solid #e6e1f5;padding-left:10px;gap:5px;overflow:hidden}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-saves .ac-section-head{margin-bottom:0!important;flex:none}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-saves .ac-section-head h4{font-size:.75rem;line-height:1.2}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-saves .ac-section-head .button{min-height:22px;padding:1px 7px;font-size:.66rem}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-saves .ac-saved-list{flex:1;min-height:0;overflow-y:auto;gap:5px;padding-right:2px}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-saves .ac-saved-item{padding:5px 8px;border-radius:8px;gap:6px}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-saves .ac-saved-item strong{font-size:.73rem}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-saves .ac-saved-item .muted{font-size:.63rem!important;line-height:1.25}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-saves .ac-saved-item .button{min-height:24px;padding:2px 7px;font-size:.68rem}.ac-shell[data-ac-mobile-landscape=true] .ac-pve-saves>p.muted{margin:4px 0 0;font-size:.7rem!important;line-height:1.4}.ac-shell[data-ac-mobile-landscape=true] .ac-page-playing{padding:3px 5px;gap:4px;overflow:auto;display:flex;flex-direction:column}.ac-shell[data-ac-mobile-landscape=true]:has(.ac-page-playing)>.ac-topbar,.ac-shell[data-ac-mobile-landscape=true] .ac-match-notice,.ac-shell[data-ac-mobile-landscape=true] .ac-board-panel>.ac-intent-bar{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-landscape-log-notice{display:block}.ac-shell[data-ac-mobile-landscape=true] .ac-page>.ac-intent-bar{background:transparent;border:0}.ac-shell[data-ac-mobile-landscape=true] .ac-page-playing>.ac-intent-bar{flex:none;margin:0;padding:3px 8px;font-size:.7rem}.ac-shell[data-ac-mobile-landscape=true] .ac-page-playing .ac-hud{padding:2px 7px;gap:4px 8px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;flex:none}.ac-shell[data-ac-mobile-landscape=true] .ac-page-playing .ac-hud .ac-hud-group{flex-wrap:nowrap;gap:4px}.ac-shell[data-ac-mobile-landscape=true] .ac-page-playing .ac-hud .button{min-height:22px;padding:2px 7px;font-size:.7rem;white-space:nowrap}.ac-shell[data-ac-mobile-landscape=true] .ac-page-playing .ac-hud .ac-stat-chip,.ac-shell[data-ac-mobile-landscape=true] .ac-page-playing .ac-hud .ac-tier-badge{font-size:.69rem;padding:1px 7px}.ac-shell[data-ac-mobile-landscape=true] .ac-page-playing .ac-hud .muted{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-workspace{display:grid!important;grid-template-columns:clamp(96px,15dvmax,142px) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr);gap:4px;flex:1;min-height:158px;overflow:hidden;align-items:stretch}.ac-shell[data-ac-mobile-landscape=true] .ac-left-col{order:1!important;display:flex!important;flex-direction:column!important;gap:4px;height:100%;min-height:0;overflow:hidden}.ac-shell[data-ac-mobile-landscape=true] .ac-landscape-rail-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;flex:none}.ac-shell[data-ac-mobile-landscape=true] .ac-landscape-rail-tabs button{padding:3px 2px;font-size:.68rem}.ac-shell[data-ac-mobile-landscape=true] .ac-left-col>.ac-rail-panel{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-left-col>.ac-rail-panel.ac-rail-active{display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;padding:6px!important}.ac-shell[data-ac-mobile-landscape=true] .ac-synergy-panel{grid-area:synergy;min-width:0;overflow:auto;overflow-wrap:anywhere;padding:4px!important;font-size:.7rem}.ac-shell[data-ac-mobile-landscape=true] .ac-syn-head{flex-wrap:wrap;gap:2px}.ac-shell[data-ac-mobile-landscape=true] .ac-left-col>.ac-rail-panel h4{font-size:.74rem;margin-bottom:4px!important}.ac-shell[data-ac-mobile-landscape=true] .ac-syn-row,.ac-shell[data-ac-mobile-landscape=true] .ac-cmd-row{padding:4px 6px;font-size:.69rem}.ac-shell[data-ac-mobile-landscape=true] .ac-syn-desc{font-size:.64rem}.ac-shell[data-ac-mobile-landscape=true] .ac-standings-8p{display:flex!important;flex-direction:column!important;max-height:none;overflow:visible;gap:3px}.ac-shell[data-ac-mobile-landscape=true] .ac-logs{max-height:none;font-size:.68rem}.ac-shell[data-ac-mobile-landscape=true] .ac-center-col{order:2!important;display:grid!important;grid-template-columns:minmax(0,1fr) clamp(138px,22dvmax,216px);grid-template-rows:minmax(0,1fr) auto;grid-template-areas:"board shop" "bench shop";gap:4px;height:100%;min-height:0;overflow:hidden;position:relative}.ac-shell[data-ac-mobile-landscape=true] .ac-board-panel{grid-area:board;display:grid;grid-template-columns:minmax(0,1fr) min(32dvmax,56%) minmax(0,1fr);grid-template-rows:fit-content(46%) minmax(0,1fr);grid-template-areas:"synergy map toolbar" "synergy map context";min-height:0;gap:3px;padding:3px!important}.ac-shell[data-ac-mobile-landscape=true] .ac-board-toolbar{grid-area:toolbar;align-content:flex-start;justify-content:flex-start;overflow:auto;gap:6px;margin-bottom:0}.ac-shell[data-ac-mobile-landscape=true] .ac-board-toolbar .ac-legend{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-board-toolbar .button{min-height:22px;padding:2px 8px;font-size:.7rem;white-space:normal;max-width:100%}.ac-shell[data-ac-mobile-landscape=true] .ac-board-toolbar .ac-hud-group{min-width:0;flex-wrap:wrap;font-size:.72rem}.ac-shell[data-ac-mobile-landscape=true] .ac-board-scroll{grid-area:map;padding:0;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center}.ac-shell[data-ac-mobile-landscape=true] .ac-board-svg{width:auto!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-width:0!important;display:block}.ac-shell[data-ac-mobile-landscape=true] .ac-board-panel>.ac-inspector{grid-area:context;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;margin:0;padding:6px;background:#fff;overflow:auto;gap:6px;font-size:.72rem}.ac-shell[data-ac-mobile-landscape=true] .ac-board-panel>.ac-inspector .ac-hud-group{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(56px,100%),1fr));gap:4px}.ac-shell[data-ac-mobile-landscape=true] .ac-inspector select{min-width:0;width:100%}.ac-shell[data-ac-mobile-landscape=true] .ac-inspector-done{display:inline-flex;grid-column:1 / -1}.ac-shell[data-ac-mobile-landscape=true] .ac-board-panel>.ac-inspector .button{min-height:28px;min-width:0;padding:2px;font-size:.68rem;white-space:normal}.ac-shell[data-ac-mobile-landscape=true] .ac-telemetry-panel{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-telemetry-panel.ac-tel-mobile-open{display:block;position:absolute;inset:4px;z-index:35;overflow-y:auto;padding:8px!important;box-shadow:0 12px 32px #110f2a47}.ac-shell[data-ac-mobile-landscape=true] .ac-bench-panel{grid-area:bench;display:grid;grid-template-rows:auto minmax(0,1fr);height:88px;min-width:0;padding:3px 6px!important}.ac-shell[data-ac-mobile-landscape=true] .ac-bench-panel .ac-section-head{margin-bottom:2px!important;font-size:.7rem;line-height:1.1}.ac-shell[data-ac-mobile-landscape=true] .ac-bench-hint{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-bench-row{display:grid;grid-template-columns:repeat(var(--ac-bench-columns),minmax(70px,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:4px;overflow-x:auto;overflow-y:hidden}.ac-shell[data-ac-mobile-landscape=true] .ac-bench-slot{min-width:0;min-height:0;padding:1px 6px;border-radius:7px;flex-direction:row;align-items:center;justify-content:space-between;gap:4px;font-size:.7rem}.ac-shell[data-ac-mobile-landscape=true] .ac-bench-name>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ac-shell[data-ac-mobile-landscape=true] .ac-bench-slot>small,.ac-shell[data-ac-mobile-landscape=true] .ac-bench-slot.locked{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-shop-panel{grid-area:shop;min-width:0;overflow:auto;padding:4px 6px!important}.ac-shell[data-ac-mobile-landscape=true] .ac-shop-body{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;align-items:stretch}.ac-shell[data-ac-mobile-landscape=true] .ac-shop-controls{display:flex;flex-direction:column;align-items:stretch;justify-content:center;margin-bottom:0;gap:2px}.ac-shell[data-ac-mobile-landscape=true] .ac-shop-controls>strong{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-shop-controls .ac-hud-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:2px}.ac-shell[data-ac-mobile-landscape=true] .ac-shop-controls .button:first-child{grid-column:1 / -1}.ac-shell[data-ac-mobile-landscape=true] .ac-shop-controls .button{width:100%;min-height:19px;padding:1px 4px;font-size:.64rem;white-space:nowrap;justify-content:center}.ac-shell[data-ac-mobile-landscape=true] .ac-shop-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.ac-shell[data-ac-mobile-landscape=true] .ac-shop-card{padding:3px 5px;gap:2px;border-radius:8px;min-height:0}.ac-shell[data-ac-mobile-landscape=true] .ac-shop-card>small{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-shop-top{flex-wrap:wrap;gap:2px;font-size:.7rem}.ac-shell[data-ac-mobile-landscape=true] .ac-shop-traits{font-size:.6rem;gap:2px}.ac-shell[data-ac-mobile-landscape=true] .ac-shop-hint{font-size:.56rem;padding:0 4px;top:-5px;right:4px}.ac-shell[data-ac-mobile-landscape=true] .ac-mini-token{width:17px;height:17px;min-width:17px}.ac-shell[data-ac-mobile-landscape=true] .ac-mini-token-emblem{width:11px;height:11px}.ac-shell[data-ac-mobile-landscape=true] .ac-aug-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ac-shell[data-ac-mobile-landscape=true] :is(.ac-modal-backdrop,.modal-scrim){padding:max(4px,var(--ac-safe-top)) max(6px,var(--ac-safe-right)) max(4px,var(--ac-safe-bottom)) max(6px,var(--ac-safe-left))}.ac-shell[data-ac-mobile-landscape=true] :is(.ac-modal,.modal){max-width:100%;max-height:100%;overflow-y:auto;padding:10px 14px}.ac-shell[data-ac-mobile-landscape=true] .ac-wiki-modal{width:100%;height:100%;max-height:100%!important;overflow:hidden;padding:8px 12px!important;gap:6px}.ac-shell[data-ac-mobile-landscape=true] .ac-wiki-modal-head h2{font-size:.98rem}.ac-shell[data-ac-mobile-landscape=true] .ac-wiki-modal-head small{display:none}.ac-shell[data-ac-mobile-landscape=true] .ac-wiki-tabs{padding-bottom:4px;gap:4px}.ac-shell[data-ac-mobile-landscape=true] .ac-wiki-tab{padding:4px 8px;font-size:.74rem}.ac-shell[data-ac-mobile-landscape=true] .ac-wiki-body,.ac-shell[data-ac-mobile-landscape=true] .ac-wiki-filters{gap:6px}.ac-shell[data-ac-mobile-landscape=true] .ac-wiki-search-wrap{flex:1 1 160px}.ac-shell[data-ac-mobile-landscape=true] .ac-wiki-search-wrap input{padding:4px 0;font-size:.78rem}.ac-shell[data-ac-mobile-landscape=true] .ac-wiki-split{grid-template-columns:205px minmax(0,1fr);gap:10px;flex:1;min-height:0;align-items:stretch}.ac-shell[data-ac-mobile-landscape=true] .ac-wiki-list{display:flex;flex-direction:column;max-height:100%;height:100%;overflow-y:auto}.ac-shell[data-ac-mobile-landscape=true] .ac-wiki-article{max-height:100%;height:100%;overflow-y:auto;padding-right:4px}
