.equipment-comparison{padding:12px 0;border-top:1px solid #b8a276;color:#3a3023;font-size:15px}.equipment-comparison h3{margin:0 0 10px;font-size:17px}.equipment-compare-selectors{display:flex;gap:12px;flex-wrap:wrap}.equipment-compare-selectors label{display:flex;align-items:center;gap:8px}.equipment-compare-selectors select{max-width:220px;min-height:44px;font-size:16px}.equipment-comparison dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}.equipment-comparison dl>div{background:#e9dec7;padding:8px;border-radius:6px}.equipment-comparison dd{margin:4px 0 0}.equipment-comparison dd b{font-size:22px}.equipment-comparison small{display:block;font-size:12px;margin-top:3px}.equipment-comparison .positive{color:#245b3e}.equipment-comparison .negative{color:#934329}.equipment-collection-dialog{width:min(900px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:20px;border:2px solid #a58347;border-radius:14px;background:#fbf4df;color:#3a3023;overflow:auto}.equipment-collection-dialog::backdrop{background:#0009}.equipment-collection-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.equipment-collection-dialog h2{font-size:22px;margin:0}.equipment-collection-dialog button,.equipment-collection-dialog select{min-height:44px;min-width:44px;font-size:16px;color:#3a3023;background:#ebd5a5;border:1px solid #a58347;border-radius:7px;padding:8px 14px}.equipment-collection-dialog p{line-height:1.6;font-size:15px}.weekly-drop-list,.duplicate-sale-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}.weekly-drop-list>div,.duplicate-sale-list>label{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #c4b18d;border-radius:7px;background:#fffaf0}.weekly-drop-list span,.duplicate-sale-list span{flex:1;min-width:0;font-size:15px}.weekly-drop-list small,.duplicate-sale-list small{display:block;color:#74674f;font-size:12px;margin-top:4px}.weekly-drop-list b,.duplicate-sale-list b{font-size:14px;white-space:nowrap}.equipment-collection-dialog .gear-icon{width:38px;height:44px;object-fit:contain;flex:none}.duplicate-sale-list input{width:24px;height:24px;accent-color:#805723;flex:none}.duplicate-keep{display:flex;align-items:center;gap:10px;margin:12px 0}.equipment-collection-dialog footer{position:sticky;bottom:-20px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;background:#fbf4df;border-top:1px solid #c4b18d}.rs-collection-tools{display:flex;gap:8px;margin:0 0 8px}.rs-collection-tools button{min-height:44px;padding:6px 16px}body.phone-game dialog.equipment-collection-dialog:not(#orientation-gate){display:flex;flex-direction:column;overflow:hidden;padding:14px;height:390px}body.phone-game dialog.equipment-collection-dialog:not([open]){display:none}body.phone-game .equipment-collection-dialog>[data-collection-body]{flex:1;min-height:0;overflow:auto;padding-right:5px}body.phone-game .equipment-collection-dialog>header{flex:none;margin-bottom:10px}body.phone-game .equipment-collection-dialog footer{bottom:0}body.phone-game .rs-content:has(>.equipment-comparison){overflow-y:auto}body.phone-game #inventory-compare .equipment-comparison{border:0;padding:0}body.phone-game #inventory-compare .equipment-comparison>h3{display:none}body.phone-game #inventory-compare .equipment-comparison dl{margin:8px 0}body.phone-game #inventory-compare .equipment-comparison dl>div{padding:5px 8px}body.phone-game #inventory-compare .equipment-comparison dd small{display:inline;margin-left:6px;font-size:11px}body.phone-game #inventory-compare .equipment-comparison dd b{font-size:20px}body.phone-game .equipment-collection-dialog button,body.phone-game .equipment-collection-dialog select{min-height:max(44px,calc(44px / var(--phone-scale,1)))}@media(max-width:700px){.weekly-drop-list,.duplicate-sale-list{grid-template-columns:1fr}.equipment-collection-dialog{padding:12px}.equipment-collection-dialog footer{bottom:-12px}.equipment-comparison dl{grid-template-columns:repeat(2,minmax(0,1fr))}}:root{color-scheme:dark;--bg:#101615;--panel:#18201f;--line:#303936;--text:#efece3;--muted:#a3aca2;--gold:#e6b978;--green:#8ab6a0;--red:#de9180;font-family:Yu Gothic UI,Yu Gothic,Meiryo,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 60% 0,#22302a44,transparent 60%),var(--bg);color:var(--text);font-size:.875rem}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;border:1px solid var(--line);background:#202927;border-radius:6px;padding:10px 14px;transition:background .18s,border-color .18s,transform .18s}button:hover:not(:disabled){border-color:var(--gold);background:#303a32}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:4px}a{color:inherit;text-decoration:none}.header{height:94px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 4%;gap:24px}.brand{display:flex;align-items:center;gap:13px;font-family:Georgia,serif;font-size:1.4375rem;letter-spacing:3px}.brand small{display:block;font:.875rem Yu Gothic,sans-serif;letter-spacing:3px;color:var(--muted);margin-top:6px}.crest{font-size:2.5rem;color:var(--gold);line-height:1}.header nav{display:flex;align-self:stretch;gap:30px}.nav{border:0;background:transparent;border-radius:0;color:var(--muted);padding:0 2px;font-weight:600}.nav.active{color:var(--gold);box-shadow:inset 0 -2px var(--gold)}.local-badge{font:.875rem monospace;letter-spacing:2px;color:var(--green);display:flex;align-items:center;gap:8px}.local-badge i{width:6px;height:6px;background:var(--green);border-radius:50%}main{max-width:1540px;margin:auto;padding:35px 4% 48px}.eyebrow{color:var(--gold);font:.875rem monospace;letter-spacing:3px;margin:0 0 12px}.intro{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px;gap:20px}h1{font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:1.875rem;font-weight:500;letter-spacing:2px;margin:0 0 10px}.intro p,.subtext{color:var(--muted);font-size:.875rem;line-height:1.9;margin:0}.stats{display:flex;gap:28px}.stats div{min-width:55px}.stats b{display:block;font:1.6875rem Georgia,serif;margin-bottom:5px}.stats small{font-size:.875rem;color:var(--muted)}.workspace{display:grid;grid-template-columns:258px minmax(330px,1fr) 290px;gap:18px;align-items:start}.panel{background:linear-gradient(140deg,#1e2825,#171f1d);border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-head{padding:20px 20px 16px;display:flex;justify-content:space-between;align-items:center;gap:8px}h2{margin:0;font-size:.9375rem;letter-spacing:1px;font-weight:600}.count{font:.875rem monospace;color:var(--muted)}.roster{padding:0 10px 10px;display:grid;gap:3px}.roster-item{width:100%;padding:5px 10px;display:flex;align-items:center;text-align:left;gap:12px;border-color:transparent;background:transparent;position:relative;min-height:63px}.roster-item.selected{background:#c8ba7b0a;border-color:#82775855}.portrait{width:42px;height:49px;image-rendering:auto;flex-shrink:0}.roster-name{font-size:.875rem;font-weight:600}.roster-meta{font-size:.875rem;color:var(--muted);margin-top:4px}.roster-index{margin-left:auto;color:var(--gold);font:.875rem Georgia,serif;border:1px solid #9a82544d;width:22px;height:22px;border-radius:50%;display:grid;place-items:center}.growth-dot{position:absolute;left:40px;top:11px;width:7px;height:7px;border-radius:50%;background:var(--gold)}.panel-foot{border-top:1px solid var(--line);padding:13px 20px;font-size:.875rem;line-height:1.8;color:var(--muted)}.formation-area{padding:0 24px 22px}.formation-picker{display:flex;gap:9px;align-items:center;margin-bottom:16px}.formation-picker select{width:100%;min-width:0;background:#111a16;color:var(--text);border:1px solid #3f4b42;padding:11px;border-radius:5px}.formation-picker span{white-space:nowrap;color:var(--gold);font:.875rem monospace}.field-label{display:flex;justify-content:space-between;margin:16px 0 10px;font-size:.875rem;color:var(--muted);letter-spacing:1px}.grid-field{position:relative;border:1px solid #465143;border-radius:8px;padding:10px;background:radial-gradient(ellipse,#3c4a352e,#0e1713)}.grid-field:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#c1965530,transparent 55%);border-radius:8px}.formation-grid{display:grid;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(5,58px);gap:4px;position:relative}.cell{background:#52624713;border:1px solid #53604b38;border-radius:3px;display:grid;place-items:center;position:relative;padding:0;min-width:0}.cell.occupied{background:#77704d2b;border-color:#bb9c5860}.cell.focus{background:#c69b4926;border-color:var(--gold);box-shadow:0 0 15px #d9b37315}.cell .portrait{width:38px;height:48px}.cell-number{position:absolute;left:5px;top:3px;font:.875rem monospace;color:var(--gold)}.cell.empty:after{content:"\b7";color:#64715a}.formation-desc{margin-top:16px;border-left:2px solid var(--gold);padding-left:12px}.formation-desc b{font-size:.875rem}.formation-desc p{font-size:.875rem;color:var(--muted);margin:6px 0;line-height:1.8}.unlock-bar{margin-top:20px;display:flex;align-items:center;gap:10px;font-size:.875rem;color:var(--muted)}progress{appearance:none;width:70px;height:4px;border:0;background:#364039;border-radius:5px}progress::-webkit-progress-bar{background:#364039;border-radius:5px}progress::-webkit-progress-value{background:var(--gold);border-radius:5px}.bond-panel{margin-top:18px;padding:18px 20px}.bond-panel h2{font-size:.875rem}.bond-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.bond{padding:7px 10px;border:1px solid #56756166;border-radius:4px;background:#6c9b7710;color:#afd1b8;font-size:.875rem}.bond small{font-size:.875rem;color:var(--muted);display:block;margin-top:4px}.party-list{padding:0 16px}.party-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:12px 0}.party-row:last-child{border:0}.party-row .portrait{width:33px;height:42px}.party-row.active{color:var(--gold)}.slot-button{padding:0;width:25px;height:25px;border-radius:50%;font:.875rem Georgia,serif;flex-shrink:0}.party-row .info{flex:1}.party-row .info b{font-size:.875rem}.party-row small{display:block;color:var(--muted);font-size:.875rem;margin-top:5px}.detail-button{font-size:.875rem;padding:5px 7px;background:transparent}.launch-box{padding:18px 18px 20px;background:#0d14112e;border-top:1px solid var(--line)}.launch-box .primary,.launch-box .secondary{width:100%;margin-top:9px}.primary{background:var(--gold);color:#242318;border-color:var(--gold);font-weight:700}.primary:hover:not(:disabled){background:#f3cd94;color:#1f241b}.secondary{background:#26352d;border-color:#4b6353}.launch-box p{font-size:.875rem;color:var(--muted);line-height:1.8;margin:12px 0 0}.discovery{margin-top:18px;padding:18px 20px;border:1px solid #60583d;border-radius:9px;background:linear-gradient(110deg,#57462a20,transparent)}.discovery .eyebrow{font-size:.875rem;margin-bottom:10px}.discovery p{color:#c1c2ac;font-size:.875rem;line-height:1.9;margin:0}.note{color:var(--muted);font-size:.875rem;line-height:1.9;margin-top:22px}.battle-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;gap:15px}.battle-title{display:flex;gap:15px;align-items:center}.battle-title h1{font-size:1.375rem;margin:0}.round-label{font:.875rem monospace;color:var(--gold);padding:6px 10px;border:1px solid #706048;border-radius:4px}.clock{font:1.25rem monospace;color:var(--text)}.arena{position:relative;background:#172320;border:1px solid #485447;border-radius:10px;overflow:hidden}.arena canvas{display:block;width:100%;height:auto;aspect-ratio:1100/510}.arena-top{position:absolute;top:14px;left:20px;right:20px;display:flex;justify-content:space-between;pointer-events:none;font-size:.875rem;text-shadow:0 2px 4px #000}.arena-top strong{display:block;color:var(--gold);font-size:.875rem;letter-spacing:2px;margin-bottom:5px}.battle-message{position:absolute;bottom:12px;left:50%;transform:translate(-50%);background:#0b110dea;padding:9px 22px;border:1px solid #7e765966;border-radius:4px;max-width:92%;text-align:center;font-size:.875rem;white-space:normal}.battle-message.spark{color:#ffe19c;border-color:#e4ba70;box-shadow:0 0 40px #e6b97844}.command-top{display:flex;justify-content:space-between;align-items:center;margin:20px 0 12px}.command-top h2{font-size:.875rem}.command-top span{font-size:.875rem;color:var(--gold)}.commands{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.command-card{padding:13px;background:var(--panel);border:1px solid var(--line);border-radius:7px}.command-card.dead{opacity:1}.command-person{display:flex;gap:8px;align-items:center;margin-bottom:10px}.command-person b{font-size:.875rem}.command-person small{display:block;font:.875rem monospace;color:var(--muted);margin-top:4px}.command-person .portrait{width:30px;height:37px}.action-choice{display:block;width:100%;text-align:left;font-size:.875rem;background:transparent;padding:7px 9px;margin:5px 0}.action-choice.active{border-color:var(--gold);background:#d9b37317;color:var(--gold)}.action-choice small{float:right;color:var(--muted);font-size:.875rem}.battle-controls{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:14px}.battle-controls p{font-size:.875rem;color:var(--muted);line-height:1.8}.battle-controls .primary{min-width:210px;padding:14px}.log{border-top:1px solid var(--line);margin-top:22px;padding-top:14px}.log summary{cursor:pointer;color:var(--muted);font-size:.875rem}.log-lines{max-height:180px;overflow:auto;margin-top:10px;font-size:.875rem;line-height:2;color:var(--muted)}.history-list{display:grid;gap:10px}.history-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:20px}.result-label{font-family:Georgia,serif;letter-spacing:2px;color:var(--gold);width:100px}.empty-state{padding:65px 25px;text-align:center;color:var(--muted);line-height:2}.empty-state b{color:var(--text);font-size:1.125rem}.result-panel{max-width:620px;margin:40px auto;text-align:center;padding:40px}.result-panel h1{font:2.75rem Georgia,serif;letter-spacing:6px;color:var(--gold);margin:16px 0}.result-panel .result-detail{display:flex;justify-content:center;gap:30px;margin:30px 0;color:var(--muted)}.rewards{background:#0e1613;padding:20px;border-radius:6px;margin:20px 0;text-align:left;line-height:2;font-size:.875rem}.result-panel .primary{padding:13px 32px}.save-warning{background:#713b272b;border:1px solid #bd8567;padding:12px;margin-bottom:20px;font-size:.875rem}dialog{color:var(--text);background:#19231f;border:1px solid #65705b;border-radius:12px;width:min(480px,94vw);max-height:90vh;padding:27px;box-shadow:0 30px 120px #0009}dialog::backdrop{background:#050a08bb;backdrop-filter:blur(4px)}.dialog-top{display:flex;align-items:center;gap:18px}.dialog-top .portrait{width:65px;height:78px}.dialog-top h2{font-size:1.5rem;margin:5px 0}.close{margin-left:auto;align-self:start;padding:3px 10px;font-size:1.375rem;background:transparent}.dialog-note{font-size:.875rem;color:var(--muted);line-height:1.9}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:20px 0}.stat-grid div{padding:10px;background:#0e1813;border-radius:5px;text-align:center}.stat-grid small{display:block;color:var(--muted);font-size:.875rem}.stat-grid b{display:block;font:1.375rem Georgia,serif;margin-top:6px}.training-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:.875rem}.training-row small{display:block;color:var(--muted);margin-top:5px;font-size:.875rem}.training-row button{font-size:.875rem}.dialog-footer{margin-top:20px;font-size:.875rem;line-height:1.9;color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);background:#d9bd88;color:#232a20;padding:12px 22px;border-radius:6px;box-shadow:0 8px 30px #0006;opacity:0;pointer-events:none;transition:.2s;z-index:10;max-width:90%;font-size:.875rem}#toast.show{opacity:1;transform:translate(-50%)}@media(min-width:1450px){.formation-grid{grid-template-rows:repeat(5,66px)}}@media(max-width:1120px){.workspace{grid-template-columns:215px minmax(300px,1fr)}.right-col{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:18px}.discovery{margin-top:0;align-self:start}.party-list{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.party-row{flex-wrap:wrap;border:0;gap:5px}.party-row .portrait{display:none}.party-row .info{flex-basis:70%}.right-col>.panel{grid-column:1/-1}.launch-box{display:grid;grid-template-columns:1fr 1fr;gap:10px}.launch-box p{grid-column:1/-1;margin:0}.discovery{grid-column:1/-1}.commands{gap:7px}.command-card{padding:9px}.header{padding:0 3%}main{padding:25px 3%}}@media(max-width:700px){.header{height:78px;gap:12px}.brand{font-size:1rem;letter-spacing:2px;gap:7px}.crest{font-size:1.8125rem}.brand small{font-size:.875rem;letter-spacing:1px}.header nav{gap:13px}.nav{font-size:.875rem}.local-badge{display:none}.intro{align-items:start}h1{font-size:1.5rem}.intro p{font-size:.875rem}.stats{gap:13px}.stats b{font-size:1.25rem}.stats div{min-width:30px}.stats small{font-size:.875rem}.workspace{grid-template-columns:1fr}.roster{grid-template-columns:repeat(2,1fr)}.roster-item{min-height:58px;padding:4px 8px;gap:7px}.roster-index{font-size:.875rem;width:20px;height:20px}.roster-item .portrait{width:33px;height:42px}.panel-head{padding:17px}.formation-area{padding:0 17px 20px}.formation-grid{grid-template-rows:repeat(5,54px)}.right-col{grid-column:auto;display:block}.discovery{margin-top:15px}.party-list{display:block}.party-row{flex-wrap:nowrap;padding:10px 0;border-bottom:1px solid var(--line)}.party-row .portrait{display:block}.party-row .info{flex-basis:auto}.launch-box{display:block}.battle-title{gap:8px}.battle-title h1{font-size:1rem}.round-label{font-size:.875rem;padding:5px}.clock{font-size:.9375rem}.battle-top button{padding:6px;font-size:.875rem}.arena{margin-left:-2%;margin-right:-2%}.arena canvas{min-height:260px;object-fit:contain}.arena-top{left:10px;right:10px;top:8px;font-size:.875rem}.arena-top strong{font-size:.875rem}.battle-message{font-size:.875rem;bottom:8px;width:90%;padding:7px}.commands{grid-template-columns:repeat(2,minmax(0,1fr))}.command-card:last-child{grid-column:1/-1}.command-card:last-child .action-choice{display:inline-block;width:auto;margin-right:5px}.battle-controls{align-items:stretch;flex-direction:column}.battle-controls p{margin:0}.history-row{padding:15px;font-size:.875rem}.result-panel{padding:25px 18px}.result-panel h1{font-size:2.125rem}.note,.formation-picker select{font-size:.875rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.sound-toggle{font-size:.875rem;white-space:nowrap;min-height:40px;padding:6px 10px}[data-sound-toggle]{display:inline-flex;align-items:center;justify-content:center;gap:6px}.sound-switch-track{display:inline-block;position:relative;flex:0 0 38px;width:38px;height:22px;border-radius:999px;background:#bac5d2;box-shadow:inset 0 1px 2px #0002;transition:background .16s}.sound-switch-thumb{position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .16s}[data-sound-toggle][aria-checked=true] .sound-switch-track{background:#397c5c}[data-sound-toggle][aria-checked=true] .sound-switch-thumb{transform:translate(16px)}.sound-switch-state{display:inline-block;min-width:2.2em;font-size:.8em;font-weight:700}.difficulty-picker{display:flex;align-items:center;gap:10px;grid-column:1/-1;font-size:.875rem;color:var(--muted)}.difficulty-picker select{min-height:44px;min-width:0;flex:1;font-size:.875rem}.difficulty-badge{color:#b8d8bc;border:1px solid #5a7559;border-radius:4px;padding:4px 7px;font-size:.875rem;white-space:nowrap}.battle-title{flex:1;min-width:0}.battle-top{gap:10px}.battle-screen .command-person{width:100%;padding:0;border:0;background:transparent;text-align:left;color:var(--text);min-width:0}.battle-screen .command-person:disabled{opacity:1}.command-person>span{min-width:0}.command-status{display:block;font-size:.875rem;color:var(--muted);min-height:16px;margin-bottom:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.command-card.acting{border-color:#ffe19c;background:#52482a;box-shadow:0 0 0 2px #ffe19c,0 0 22px #e6b97835}.command-card.acting .command-status{color:#fff1bf;font-weight:700}.command-card.receiving{border-color:#bd937a;background:#382c24}.command-card.receiving .command-status{color:#f2c8ab}.compact-actions,.compact-help,.orientation-hint{display:none}.command-dock{min-width:0}.battle-screen .battle-message{position:static;transform:none;width:100%;max-width:none;margin:0;border-width:1px 0 0;border-radius:0;min-height:34px;padding:7px 10px}@media(max-width:700px){.header{flex-wrap:wrap;height:auto;min-height:88px;padding-top:12px;padding-bottom:10px;gap:8px 12px}.header .brand{flex:1}.header nav{order:3;width:100%;justify-content:center;min-height:34px}.header .sound-toggle{margin-left:auto}.in-battle .header{display:none}main.battle-screen{padding:10px max(10px,env(safe-area-inset-right)) 18px max(10px,env(safe-area-inset-left))}.battle-top{flex-wrap:wrap;margin-bottom:10px;gap:8px}.battle-title{flex-basis:calc(100% - 100px)}.battle-title h1{font-size:.9375rem}.battle-top .clock{order:2;margin-right:auto;font-size:.875rem}.battle-top button{order:3;min-width:52px;min-height:40px;font-size:.875rem}.battle-title .difficulty-badge{margin-left:auto}.arena{margin:0}.arena canvas{height:310px;min-height:0;aspect-ratio:auto;object-fit:fill}.arena-top{font-size:.875rem}.arena-top strong{letter-spacing:1px}.battle-message{max-width:calc(100% - 16px);width:max-content;padding:6px 9px;font-size:.875rem;bottom:6px}.orientation-hint{display:block;font-size:.875rem;color:var(--muted);text-align:center;margin:8px 0 0}}.battle-settings{display:flex;flex-wrap:wrap;gap:6px 16px;grid-column:1/-1;margin-top:12px;font-size:.875rem;color:var(--muted)}.battle-settings label{display:flex;align-items:center;gap:7px;min-height:36px;cursor:pointer}.battle-settings input{width:17px;height:17px;accent-color:var(--gold)}.workspace{grid-template-columns:230px minmax(390px,1fr) 270px;grid-template-areas:"roster party formation";gap:16px}.workspace>.panel{grid-area:roster}.workspace>.center-col{grid-area:formation;min-width:0}.workspace>.right-col{grid-area:party;display:block;min-width:0}.workspace .formation-area{padding:0 13px 16px}.workspace .panel-head{padding:17px 15px 14px}.workspace .formation-grid{grid-template-rows:repeat(5,38px);gap:3px}.workspace .cell .portrait{width:24px;height:31px}.workspace .grid-field{padding:7px}.workspace .formation-picker{margin-bottom:10px}.workspace .formation-picker select{font-size:.875rem;padding:10px 7px}.workspace .field-label{font-size:.875rem;margin:10px 0 7px;letter-spacing:0}.workspace .formation-desc{margin-top:12px}.workspace .unlock-bar{margin-top:12px;font-size:.875rem;gap:6px}.workspace .party-list{display:block;padding:0 16px}.workspace .party-row{display:grid;grid-template-columns:32px 40px minmax(0,1fr) auto;gap:6px 10px;padding:13px 0;border-bottom:1px solid var(--line);align-items:center}.workspace .party-row .portrait{display:block;width:38px;height:46px}.workspace .party-row .info b,.workspace .party-row .info small{font-size:.875rem}.workspace .slot-button{width:32px;height:38px;border-radius:6px}.workspace .detail-button{grid-column:4;grid-row:1;min-height:40px;font-size:.875rem;padding:6px 9px}.loadout{grid-column:3/-1;grid-row:2;display:flex;gap:10px;margin-top:3px}.loadout>span{flex:1;background:#101a16;padding:7px 10px;border:1px solid #34433a;border-radius:5px}.loadout small{font-size:.875rem;margin:0 0 4px!important}.loadout b{font-size:.875rem;color:var(--text);font-weight:500}.workspace .discovery{margin-top:14px}.workspace .launch-box{display:block}.workspace .launch-box p{margin-top:12px}@media(max-width:1120px){.workspace{grid-template-columns:minmax(360px,1fr) 260px;grid-template-areas:"party formation" "roster formation"}.workspace .roster{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.workspace{grid-template-columns:minmax(0,1fr);grid-template-areas:"party" "roster" "formation"}.workspace .formation-area{max-width:300px;margin:auto}.workspace .party-row{grid-template-columns:28px 30px minmax(0,1fr) auto;gap:6px}.workspace .party-row .portrait{width:30px;height:40px}.workspace .party-row .info small,.workspace .party-row .info b{font-size:.875rem}.workspace .loadout{grid-column:2/-1}.workspace .detail-button{font-size:.875rem}.workspace .slot-button{width:28px}.intro .stats{display:none}}main.battle-screen{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(370px,1fr);gap:12px 18px;max-width:1200px}.battle-screen .battle-top{grid-column:1/-1;margin:0 0 4px}.battle-screen .arena{grid-column:1;align-self:start;margin:0}.battle-screen .arena canvas{height:460px;min-height:0;aspect-ratio:auto;object-fit:fill}.battle-screen .command-dock{grid-column:2;min-width:0}.battle-screen .command-top{margin:0 0 10px;min-height:22px}.battle-screen .command-top h2{font-size:.875rem}.battle-screen .commands{display:grid;grid-template-columns:1fr;gap:7px}.battle-screen .command-card{display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:1fr auto;gap:2px 8px;padding:9px;min-height:79px}.battle-screen .command-card:last-child{grid-column:auto}.battle-screen .command-person{display:flex;flex-direction:row;grid-column:1;grid-row:1;margin:0;gap:6px;min-height:0;align-items:center;text-align:left}.battle-screen .command-person .portrait{width:27px;height:35px}.battle-screen .command-person b{font-size:.875rem}.battle-screen .command-person small{display:block;font-size:.875rem;line-height:1.35;margin-top:3px}.battle-screen .command-status{grid-column:1;grid-row:2;margin:2px 0 0;min-height:12px;font-size:.875rem;text-align:left;padding-left:2px}.battle-screen .command-options{display:grid;grid-column:2;grid-row:1/3;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;align-items:stretch;min-width:0}.battle-screen .command-options:has(.action-choice:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}.battle-screen .command-options .action-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;width:100%;min-width:0;margin:0;padding:7px 3px;min-height:48px;font-size:.875rem;line-height:1.3;overflow-wrap:anywhere}.battle-screen .action-choice small{display:block;float:none;font-size:.875rem;margin-top:5px;white-space:nowrap}.battle-screen .command-card.state-done .command-status{color:#a6b3ac}.battle-screen .command-card.state-done:not(.acting):not(.receiving){background:#141c19}.battle-screen .command-card.state-guarding:not(.acting){border-color:#6599ac;background:#1b3035}.battle-screen .command-card.state-guarding .command-status{color:#a6d6e8}.battle-screen .command-card.acting .command-status{color:#fff1bf}.battle-screen .command-card.dead{opacity:1}.battle-screen .battle-controls{display:block;margin-top:10px}.battle-screen .battle-controls .primary{width:100%;min-width:0;min-height:46px;padding:10px}.battle-screen .log{margin-top:12px;padding-top:8px}.battle-screen .log summary{min-height:30px}.battle-screen .compact-help{display:block;font-size:.875rem;line-height:1.8;color:var(--muted)}@media(max-width:800px){.in-battle .header{display:none}main.battle-screen{display:block;height:auto;max-width:480px;padding:8px max(8px,env(safe-area-inset-right)) 12px max(8px,env(safe-area-inset-left))}.battle-screen .battle-top{display:flex;flex-wrap:wrap;gap:5px 8px;margin-bottom:8px}.battle-screen .battle-title{flex:1;flex-basis:calc(100% - 110px);gap:7px}.battle-screen .battle-title h1{font-size:.875rem}.battle-screen .battle-title .difficulty-badge{margin-left:auto}.battle-screen .battle-top .clock{order:2;margin-right:auto;font-size:.875rem}.battle-screen .battle-top button{order:3;min-height:34px;font-size:.875rem;padding:6px 10px}.battle-screen .arena canvas{height:250px}.battle-screen .arena-top{top:6px;left:8px;right:8px;font-size:.875rem}.battle-screen .arena-top strong{font-size:.875rem;margin-bottom:2px;letter-spacing:1px}.battle-screen .battle-message{font-size:.875rem;min-height:32px;padding:6px 8px}.battle-screen .command-top{margin:10px 0 7px;min-height:19px}.battle-screen .command-top h2,.battle-screen .command-top span{font-size:.875rem}.battle-screen .commands{gap:5px}.battle-screen .command-card{grid-template-columns:98px minmax(0,1fr);gap:1px 5px;padding:6px;min-height:70px;border-radius:6px}.battle-screen .command-person .portrait{width:24px;height:31px}.battle-screen .command-person small{font-size:.875rem;margin-top:2px}.battle-screen .command-status{font-size:.875rem}.battle-screen .command-options{gap:4px}.battle-screen .command-options .action-choice{min-height:48px;font-size:.875rem;padding:5px 2px}.battle-screen .action-choice small{margin-top:4px;font-size:.875rem}.battle-screen .battle-controls{position:sticky;bottom:0;background:var(--bg);padding:5px 0 max(5px,env(safe-area-inset-bottom));margin-top:6px;z-index:2}.battle-screen .log{margin-top:5px}}@media(max-width:360px){.battle-screen .command-card{grid-template-columns:87px minmax(0,1fr)}.battle-screen .command-person{gap:3px}.battle-screen .command-options .action-choice{font-size:.875rem}}.fallen{opacity:1}.fallen .roster-name{text-decoration:line-through}.resources{display:grid;grid-template-columns:1.4fr 1fr 1fr .8fr;gap:6px;color:var(--text);min-width:0}.resources>span{display:flex;flex-direction:column;gap:2px;min-width:0}.resources small{font-size:.875rem;color:var(--muted);margin:0!important;line-height:1.3}.resources b{font:700 1.25rem/1.2 ui-monospace,monospace;white-space:nowrap;letter-spacing:-.7px}.resources em{font-size:.875rem;font-weight:400;font-style:normal;color:var(--muted);letter-spacing:-.4px}.resource-health b{color:#c3e4c0}.resource-life b{color:#efc58c}.resource-life.critical b{color:#ffa592}.workspace .party-row .resources{grid-column:3/-1;grid-row:2;margin:5px 0}.workspace .party-row .loadout{grid-column:3/-1;grid-row:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.workspace .loadout>span{min-width:0}.loadout b{overflow-wrap:anywhere}.loadout .loadout-tech{grid-column:1/-1}.life-stock{color:#e4c694!important}dialog{width:min(620px,94vw)}dialog .resources{margin:18px 0}dialog .resources b{font-size:1.75rem}.detail-stats{grid-template-columns:repeat(3,1fr);margin:14px 0}.life-recovery{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px;background:#1f2d26;border:1px solid #4b5d49;border-radius:6px;margin-bottom:22px;font-size:.875rem}.life-recovery p{font-size:.875rem;color:var(--muted);line-height:1.7;margin:5px 0 0}.life-recovery button{white-space:nowrap;min-height:44px;font-size:.875rem}.equipment-fields{display:grid;gap:12px;margin-top:14px}.equipment-fields label{display:grid;grid-template-columns:48px minmax(0,1fr);gap:6px 10px;align-items:center}.equipment-fields select,.technique-fields select{min-width:0;width:100%;min-height:44px;background:#111b16;color:var(--text);border:1px solid #506350;border-radius:5px;padding:8px;font-size:.875rem}.equipment-fields label>small{grid-column:2;font-size:.875rem;color:var(--muted);line-height:1.7}.technique-fields{display:grid;gap:10px;margin:12px 0}.technique-fields>label{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:.875rem}.skill-description{padding:12px;border:1px solid #4c5545;border-radius:6px;background:#111b16;margin:8px 0}.skill-description>div{display:flex;justify-content:space-between;gap:10px;font-size:.875rem}.skill-description>div>span{white-space:nowrap;color:var(--gold);font-size:.875rem}.skill-description p{font-size:.875rem;line-height:1.8;margin:8px 0 2px;color:#d3d9ce}.skill-description small{display:block;font-size:.875rem;color:var(--muted);margin-top:5px}.skill-description .unavailable{color:#f3b28a}.known-techniques summary{font-size:.875rem;min-height:44px;padding:12px 0;cursor:pointer}.teaching-heading{margin-top:16px}.teaching-list>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--line)}.teaching-list b{font-size:.875rem}.teaching-list button{min-height:44px;font-size:.875rem}main.battle-screen{display:block;max-width:1200px}.battle-screen .battle-top{margin-bottom:12px}.battle-screen .arena{width:100%;margin:0}.battle-screen .arena canvas{height:340px}.battle-screen .command-dock{width:100%;margin-top:14px}.battle-screen .command-top{gap:10px}.battle-screen #turn-clock{margin-left:auto}.skill-guide-button{font-size:.875rem;padding:6px 9px;min-height:36px}.battle-screen .commands{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.battle-screen .command-card{display:flex;flex-direction:column;gap:8px;padding:10px;min-width:0}.battle-screen .command-person{width:100%;min-height:30px}.battle-screen .command-person>b{font-size:.875rem}.battle-screen .command-person .command-status{margin-left:auto;font-size:.875rem;white-space:nowrap;min-height:0;overflow:visible;padding:0;flex-shrink:0}.battle-screen .command-options,.battle-screen .command-options:has(.action-choice:nth-child(4)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:5px}.battle-screen .command-options .action-choice{min-height:48px;font-size:.875rem}.battle-screen .resources{width:100%;margin:1px 0 3px}.battle-screen .resources b{font-size:1.125rem}@media(max-width:800px){main.battle-screen{max-width:480px}.battle-screen .arena canvas{height:210px}.battle-screen .command-dock{margin-top:9px}.battle-screen .commands{grid-template-columns:1fr;gap:6px}.battle-screen .command-card{display:grid;grid-template-columns:143px minmax(0,1fr);grid-template-rows:28px 1fr;gap:4px 6px;min-height:82px;padding:6px}.battle-screen .command-person{grid-column:1;grid-row:1;gap:5px;min-height:0}.battle-screen .command-person .portrait{width:19px;height:25px}.battle-screen .command-person>b{font-size:.875rem}.battle-screen .command-person .command-status{font-size:.875rem;letter-spacing:-.4px}.battle-screen .resources{grid-column:1;grid-row:2;gap:3px;align-self:center;margin:0}.battle-screen .resources b{font-size:1.0625rem}.battle-screen .resources small,.battle-screen .resources em{font-size:.875rem}.battle-screen .command-options,.battle-screen .command-options:has(.action-choice:nth-child(4)){grid-column:2;grid-row:1/3;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.battle-screen .command-options .action-choice{font-size:.875rem;padding:5px 2px;min-height:48px}.battle-screen .action-choice small{font-size:.875rem}.workspace .party-row .resources,.workspace .party-row .loadout{grid-column:2/-1}}@media(max-width:360px){.battle-screen .command-card{grid-template-columns:140px minmax(0,1fr)}.battle-screen .command-options,.battle-screen .command-options:has(.action-choice:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}.life-recovery{flex-direction:column;align-items:stretch}.equipment-fields label{grid-template-columns:35px minmax(0,1fr)}}:root{font-size:100%}body{font-size:1.0625rem;line-height:1.6}button,select{font-size:1rem;min-height:44px}h2,.bond-panel h2{font-size:1.25rem}p,small,b,span,label{overflow-wrap:anywhere}.header{height:auto;min-height:94px;flex-wrap:wrap;padding-block:14px}.header .brand{font-size:1.5rem}.brand small{font-size:.875rem;letter-spacing:1px}.header nav{gap:22px}.nav{font-size:1rem;min-height:48px}.local-badge{font-size:.875rem;letter-spacing:1px}main{padding-top:22px}.party-overview{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:20px}.stats b{font-size:1.5rem}.stats small{font-size:.875rem}.roster-item{min-height:90px;gap:9px}.roster-item>div{min-width:0}.roster-item .portrait{width:48px;height:64px}.roster-name,.workspace .party-row .info b{font-size:1.125rem}.roster-meta{font-size:.875rem;line-height:1.5}.panel-foot,.formation-desc p,.bond small,.note,.discovery p,.launch-box p,.dialog-note,.equipment-fields label>small,.skill-description small,.compact-help,.log-lines{font-size:1rem;line-height:1.75}.workspace .field-label,.workspace .unlock-bar{font-size:.875rem;flex-wrap:wrap}.workspace .formation-picker select,.difficulty-picker select{font-size:1rem}.workspace .cell-number{font-size:.875rem;line-height:1;background:#101615c9;padding:2px;z-index:1}.workspace .slot-button{width:40px;min-height:44px;font-size:1rem}.workspace .party-row .portrait{width:46px;height:60px}.workspace .party-row .info small{font-size:.875rem;line-height:1.65}.workspace .detail-button{font-size:1rem;min-height:48px}.loadout b{font-size:1rem}.loadout small,.resources small{font-size:.875rem}.resources b,.battle-screen .resources b{font-size:1.5rem;letter-spacing:-.5px}.resources em,.battle-screen .resources em{font-size:.875rem;letter-spacing:0}.resources{grid-template-columns:1.4fr 1fr 1fr .8fr;gap:12px}.battle-settings{font-size:1rem}.battle-settings label{min-height:44px}.dialog-top h2{font-size:1.625rem}.dialog-top .portrait{width:76px;height:96px}dialog{max-height:92dvh;padding:24px}dialog .equipment-fields label>small{font-size:1rem}.equipment-fields select,.technique-fields select{font-size:1rem;min-height:48px}.equipment-fields label{grid-template-columns:48px minmax(0,1fr)}.technique-fields>label,.skill-description>div,.skill-description>div>span,.known-techniques summary,.teaching-list b,.teaching-list button{font-size:1rem}.skill-description p{font-size:1.0625rem;line-height:1.75}.skill-description>div{flex-wrap:wrap}.life-recovery{font-size:1rem;flex-wrap:wrap}.life-recovery p,.life-recovery button{font-size:1rem}.life-policy{border-left:3px solid #9b7f53;padding:8px 12px}.dialog-top .close{min-width:44px;min-height:44px;font-size:1.5rem}.battle-screen .battle-title h1{font-size:1.25rem}.battle-title{flex-wrap:wrap}.battle-screen .round-label,.battle-screen .difficulty-badge,.battle-screen .battle-top .clock,.clock small{font-size:.875rem}.battle-screen .battle-top button{font-size:1rem;min-height:44px}.battle-screen .arena canvas{height:370px}.battle-screen .arena-top{font-size:.875rem;line-height:1.4;top:8px}.battle-screen .arena-top strong{display:none}.battle-screen .battle-message{font-size:1rem;line-height:1.6;padding:10px 12px;min-height:48px}.battle-screen .command-top{flex-wrap:wrap;margin:14px 0}.battle-screen .command-top h2{font-size:1.125rem}.battle-screen .command-top span{font-size:1rem}.skill-guide-button{font-size:1rem;min-height:44px}.battle-screen .command-card{gap:12px;padding:12px}.battle-screen .command-person>b{font-size:1.125rem}.battle-screen .command-person .command-status{font-size:.875rem;white-space:normal;letter-spacing:0}.battle-screen .command-person .portrait{width:38px;height:50px}.battle-screen .command-options .action-choice{font-size:1rem;min-height:66px;padding:8px 4px}.battle-screen .action-choice small,.battle-screen .resources small{font-size:.875rem}.battle-screen .resources{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px}.battle-screen .resources>span{flex:0 0 auto}.battle-screen .log summary{font-size:1rem;min-height:44px}.battle-screen .command-card:not(.dead) .action-choice:disabled{opacity:.75}.rewards,.result-detail,.history-row{font-size:1rem}.history-row{flex-wrap:wrap}.warehouse-heading{margin-bottom:22px}.warehouse-heading h1{font-size:1.75rem}.warehouse-heading p{max-width:850px;font-size:1.0625rem;color:var(--muted)}.warehouse-filters{display:flex;flex-wrap:wrap;gap:8px}.warehouse-filters [aria-pressed=true]{border-color:var(--gold);color:var(--gold)}.warehouse-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px;align-items:start}.stock-card{padding:20px}.stock-card p{font-size:1rem;margin:10px 0}.stock-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.stock-heading span{font-size:.875rem;color:var(--gold)}.stock-stats{color:#c3dcc9}.stock-quantity{font-size:1rem;padding:10px 0;border-bottom:1px solid var(--line)}.stock-owner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px}.stock-owner span{font-size:1rem}.stock-owner button{flex-shrink:0}.paid-stock{padding:20px;margin-top:20px}.paid-stock p{font-size:1rem;margin:8px 0}@media(max-width:1120px){.workspace{grid-template-columns:minmax(0,1fr) 270px;grid-template-areas:"party formation" "roster roster"}}@media(max-width:800px){.header{gap:12px;padding:12px}.header nav{order:3;width:100%;gap:16px;justify-content:space-between}.header .local-badge{display:none}.header .brand{font-size:1.25rem}.workspace{grid-template-columns:minmax(0,1fr);grid-template-areas:"party" "formation" "roster"}.workspace .formation-area{max-width:360px;margin:auto}.workspace .grid-field{max-width:280px;margin:auto}.workspace .party-row{grid-template-columns:40px 48px minmax(0,1fr);gap:10px}.workspace .party-row .detail-button{grid-column:2/-1;grid-row:2;justify-self:start}.workspace .party-row .resources{grid-column:1/-1;grid-row:3}.workspace .party-row .loadout{grid-column:1/-1;grid-row:4;grid-template-columns:1fr}.workspace .party-row .loadout>span{display:flex;justify-content:space-between;align-items:center;gap:12px}.workspace .party-row .loadout small{margin:0!important;flex-shrink:0}.workspace .party-row .loadout b{text-align:right}.workspace .party-row .loadout .loadout-tech{display:block}.loadout .loadout-tech b{display:block;text-align:left}main.battle-screen{max-width:560px}.battle-screen .arena canvas{height:250px}.battle-screen .battle-title{flex-basis:100%}.battle-screen .command-card{display:grid;grid-template-columns:minmax(80px,1fr) minmax(190px,2fr);grid-template-rows:auto auto;gap:10px 8px;padding:10px}.battle-screen .command-person{grid-column:1;grid-row:1;display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto;gap:0 4px}.battle-screen .command-person .portrait{grid-column:1;grid-row:1/3;width:32px;height:44px}.battle-screen .command-person>b{grid-column:2;grid-row:1}.battle-screen .command-person>b{font-size:1rem}.battle-screen .command-person .command-status{grid-column:2;grid-row:2;margin:0}.battle-screen .resources{grid-column:2;grid-row:1;gap:8px}.battle-screen .command-options,.battle-screen .command-options:has(.action-choice:nth-child(4)){grid-column:1/-1;grid-row:2;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.battle-screen .command-top #turn-clock{margin-left:0}.battle-screen .battle-controls{position:sticky;bottom:0}.party-overview .stats{flex:1;justify-content:space-between;gap:12px}.party-overview>button{width:100%}dialog{padding:18px}}@media(max-width:360px){.roster{grid-template-columns:1fr}.battle-screen .command-options .action-choice{padding:8px 2px}.battle-screen .command-card{grid-template-columns:minmax(68px,1fr) minmax(170px,2fr);padding:8px;gap:10px 6px}.battle-screen .resources b{font-size:1.375rem}.battle-screen .resources{gap:4px}.resources{gap:7px}.equipment-fields label{grid-template-columns:1fr}.equipment-fields label>small{grid-column:1}}.workspace .party-row{grid-template-columns:40px minmax(0,1fr);gap:8px;align-items:start}.workspace .party-row>.slot-button{margin-top:14px}.workspace .party-details{display:grid;grid-template-columns:46px minmax(0,1fr);gap:8px 10px;width:100%;min-width:0;text-align:left;border-color:transparent;background:transparent;padding:10px 4px;color:var(--text)}.workspace .party-details:hover{border-color:#9e8759;background:#c8b8790a}.workspace .party-details .portrait{grid-column:1;grid-row:1;align-self:center}.workspace .party-details .info{grid-column:2;grid-row:1;min-width:0;align-self:center}.workspace .party-details .resources{grid-column:1/-1;grid-row:2}.workspace .party-details .loadout{grid-column:1/-1;grid-row:3}.battle-screen .arena-top{position:relative;inset:auto;padding:10px 14px;gap:8px;align-items:center;flex-wrap:wrap;background:#101c18}.vitals-legend{font-size:.875rem;white-space:nowrap}.vitals-legend>span{color:var(--gold)}.arena-field{position:relative}.battle-screen .arena canvas{height:390px}#field-vitals{position:absolute;inset:0;pointer-events:none}.field-vital{position:absolute;transform:translate(-50%);min-width:48px;background:#07110fef;border-radius:2px;color:#e5f0e1;font:400 .875rem/1 Arial,sans-serif;white-space:nowrap}.field-values{display:flex;justify-content:center;padding:2px 1px;white-space:nowrap}[data-field-health]{font-size:18px;font-weight:700;line-height:1.1;letter-spacing:0;font-variant-numeric:tabular-nums;white-space:pre}.field-life{position:absolute;bottom:calc(100% + 5px);right:-8px;padding:2px;background:#07110feb;border-radius:3px;color:#efc58c}.field-vital.edge-life .field-life{right:0;bottom:calc(100% + 36px)}.field-vital.critical .field-life{color:#ffb394}.skill-bubble{position:absolute;z-index:3;max-width:calc(100% - 8px);padding:7px 12px;border:1px solid #d7b676;border-radius:10px;background:#fff0cf;color:#26251e;box-shadow:0 3px 12px #0007;font-size:1rem;font-weight:700;line-height:1.3;white-space:nowrap;pointer-events:none}.skill-bubble:after{content:"";position:absolute;left:var(--tail-x,50%);bottom:-7px;width:11px;height:11px;background:#fff0cf;border-right:1px solid #d7b676;border-bottom:1px solid #d7b676;transform:translate(-50%) rotate(45deg)}.field-health-bar{display:block;height:3px;background:#55564e}.field-health-bar i{display:block;height:100%;background:#a7c7a3}.field-vital.downed{border-bottom:1px solid #c9957b}.field-vital.acting{outline:2px solid #ffe19c}.field-vital.receiving{outline:2px solid #f7ab87}.battle-screen .command-card.dead{opacity:1;background:#1b201e}.battle-screen .command-card.dead .portrait{opacity:1}.battle-screen .command-card.dead .command-status{color:#e6ad94}@media(max-width:800px){.battle-screen .arena canvas{height:272px}.battle-screen .arena-top{padding:8px 10px}.vitals-legend{order:3;width:100%;text-align:center}.battle-screen .arena-top>div:last-child{margin-left:auto}.workspace .party-row{grid-template-columns:36px minmax(0,1fr);gap:4px}.workspace .party-row>.slot-button{width:34px}}@media(max-width:800px){.battle-screen .command-options,.battle-screen .command-options:has(.action-choice:nth-child(4)){grid-template-columns:repeat(min(var(--action-count,4),3),minmax(0,1fr))}}.known-techniques{margin-top:24px}.technique-list{display:grid;gap:8px;margin-top:12px}.technique-list>details{border:1px solid #485748;border-radius:6px;background:#111c16}.technique-list summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;min-height:48px;cursor:pointer;font-size:1rem;list-style:none}.technique-list summary::-webkit-details-marker{display:none}.technique-list summary>span{margin-left:auto;color:var(--gold);white-space:nowrap;font-size:.875rem}.technique-list summary:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.technique-list .skill-description{border:0;border-top:1px solid #485748;border-radius:0;margin:0;padding:12px}.skill-power{color:var(--gold)}.admin-link{color:var(--gold);font-size:.875rem;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center}.battle-item-list,.item-targets{display:grid;gap:10px;margin:16px 0}.battle-item-list>button{display:grid;grid-template-columns:minmax(0,1fr) auto;text-align:left;gap:6px 10px;padding:14px}.battle-item-list>button>small{grid-column:1/-1;font-size:1rem}.item-clock{color:var(--gold);font-weight:700}.item-targets>button{display:flex;align-items:center;gap:14px;padding:10px;text-align:left;min-height:64px}.item-targets>button>span{min-width:0}.item-targets small{display:block;font-size:1rem}.battle-screen .item-choice small{white-space:normal;overflow-wrap:anywhere;font-size:.875rem}.consumable-stock{margin-top:24px}.consumable-stock>h2{margin-bottom:12px}@media(max-width:800px){.admin-link{margin-left:auto}}.equipment-menu{margin:22px 0;border:1px solid #637363;border-radius:5px;background:#14211a;box-shadow:inset 0 0 0 3px #afbd9510}.equipment-group+.equipment-group{border-top:1px solid #4b5d4c}.equipment-group h3{display:flex;align-items:center;gap:10px;margin:0;padding:10px 14px;font-size:1rem;color:#dfc28e;background:#c7b77708}.equipment-group h3 small{font-size:.875rem;color:var(--muted);font-weight:400}.equipment-slot{display:flex;align-items:center;gap:9px;width:100%;min-height:48px;border:0;border-top:1px solid #334537;border-radius:0;background:transparent;padding:8px 13px;text-align:left}.equipment-slot:hover:not(:disabled),.equipment-slot:focus-visible{background:#324432}.gear-slot-label{width:64px;flex-shrink:0;font-size:.875rem;color:#afc0ac}.gear-icon{width:25px;height:25px;flex:none;color:#ccbb8b}.equipment-slot b{font-size:1rem;font-weight:500;min-width:0;overflow-wrap:anywhere}.equipment-slot.vacant b{color:#7d8c79}.equipment-slot.vacant .gear-icon{opacity:.4}.gear-chevron{margin-left:auto;color:#b8a277;font-size:1.3rem}.gear-tag{font-size:.875rem;padding:1px 5px;border:1px solid #786947;color:#d7bf8c;white-space:nowrap}dialog:has(.equipment-picker){width:min(640px,calc(100vw - 24px));height:min(750px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:hidden;border-radius:6px;border:1px solid #b0b295}.equipment-picker{height:100%;display:grid;grid-template-rows:auto minmax(70px,1fr) auto auto;background:#1d2c22}.gear-heading{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #75816c;background:#293a2c}.gear-heading p{font-size:.875rem;color:#c4cbb7;margin:0 0 4px}.gear-heading h2{font-size:1.25rem}.gear-heading .portrait{width:34px;height:44px}.gear-heading .close{min-width:44px;min-height:44px;padding:0;align-self:center}.gear-options{overflow-y:auto;overscroll-behavior:contain;padding:5px 8px;background:#17251c;scrollbar-color:#718468 #17251c}.gear-options>button{display:flex;align-items:center;gap:10px;width:100%;min-height:49px;background:transparent;border:1px solid transparent;border-radius:2px;padding:9px 10px;text-align:left}.gear-options>button[aria-pressed=true]{border-color:#d5c38e;background:#cbb46a26}.gear-options>button[aria-pressed=true]:before{content:"\203a";color:#f5d989;font-size:1.35rem;position:absolute;margin-left:-9px}.gear-options>button b{font-size:1rem;font-weight:500;min-width:0;overflow-wrap:anywhere}.gear-options>button>span{margin-left:auto;font-size:.875rem;white-space:nowrap;color:#b6c4b1}.gear-options>button.unavailable{color:#a9b29f}.gear-options>button.unavailable .gear-icon{opacity:.55}.gear-options>button:focus-visible{outline-offset:-3px}.gear-description{padding:14px 18px;border-top:3px double #8d977c;background:#5360472b;max-height:42dvh;overflow:auto}.gear-description-title{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.gear-description-title h3{margin:0;font-size:1.0625rem}.gear-description-title>span{font-size:.875rem;color:#c5cbb8;margin-left:auto}.gear-modifiers{display:flex;gap:20px;flex-wrap:wrap;margin:12px 0 8px;color:#becbb6}.gear-modifiers>span{display:flex;align-items:baseline;gap:7px;font-size:.875rem}.gear-modifiers b{color:#f1e8cc;font-size:1.375rem;font-variant-numeric:tabular-nums}.gear-description p{margin:8px 0 0;font-size:1rem;line-height:1.65}.gear-description .gear-error{color:#f2b5a1}.gear-special{color:#d4deb0}.gear-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:10px;padding:12px 18px max(12px,env(safe-area-inset-bottom));border-top:1px solid #52604a;background:#233025}.gear-actions button{min-height:48px;font-size:1rem}.weapon-equipment-group>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px}.weapon-slot{display:flex;flex-direction:column;align-items:stretch;border:1px solid #455d4b;border-radius:7px;padding:10px 12px;background:radial-gradient(ellipse at 50% 60%,#2b3c30,#18271e)}.weapon-slot-heading{display:flex;align-items:center;gap:8px;min-height:24px}.weapon-slot-heading .gear-slot-label{width:auto}.weapon-slot>b{text-align:center}.equipment-weapon-art{display:block;width:100%;height:118px;object-fit:contain;image-rendering:auto}.equipment-weapon-fallback{display:flex;align-items:center;justify-content:center;min-height:118px}.equipment-weapon-fallback .gear-icon{width:44px;height:44px}dialog:has(.weapon-picker){width:min(840px,calc(100vw - 24px));height:min(670px,calc(100dvh - 24px))}.weapon-picker{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto}.weapon-picker .gear-heading,.weapon-picker .gear-actions{grid-column:1/-1}.weapon-picker .gear-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(146px,max-content);align-content:start;gap:6px;padding:10px}.weapon-picker .gear-options>button{flex-direction:column;align-items:stretch;gap:4px;min-height:146px;border-color:#405443;border-radius:5px;padding:8px;text-align:center}.weapon-picker .gear-options>button>span{margin:0;white-space:normal}.weapon-picker .gear-options>button[aria-pressed=true]{border-color:#d5c38e}.weapon-picker .gear-options>button[aria-pressed=true]:before{content:none}.weapon-picker .gear-options .equipment-weapon-art,.weapon-picker .gear-options .equipment-weapon-fallback{height:80px;min-height:80px}.weapon-picker .gear-description{border-top:0;border-left:1px solid #66765d;max-height:none;min-height:0}.weapon-picker .gear-description>.equipment-weapon-art,.weapon-picker .gear-description>.equipment-weapon-fallback{height:clamp(80px,25dvh,180px);min-height:80px;margin-bottom:14px}.weapon-picker .gear-modifiers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.weapon-picker .gear-modifiers>span{flex-direction:column;gap:2px}@media(max-width:600px){.gear-heading,.gear-description{padding:12px}.gear-options{padding:4px}.gear-options>button{padding:9px 8px;gap:7px}.gear-actions{padding:10px 12px max(10px,env(safe-area-inset-bottom))}.gear-slot-label{width:54px}.equipment-slot{padding:8px 10px;gap:7px}.gear-modifiers{gap:18px}}.family-visit-button{width:100%;min-height:48px;margin-top:16px}.family-destinations{display:grid;gap:10px}.family-destinations button{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;padding:14px;text-align:left}.family-destinations button>span:first-child{display:grid;gap:6px;min-width:0}.family-destinations button>span:last-child{font-size:.875rem;flex-shrink:0}.family-destinations small,.family-aptitudes{color:var(--muted);font-size:.875rem;line-height:1.6}.encounter-actions{display:grid;grid-template-columns:1fr 2fr;gap:12px;margin-top:24px}.encounter-actions button{min-height:48px}@media(max-width:480px){.family-destinations button{align-items:flex-start;flex-direction:column;gap:10px}}.family-destinations button:disabled{opacity:1;cursor:default;color:#aeb8ae;border-color:#334236;background:#19251f}.family-destinations button:disabled b{color:#c7cec4}.workspace .roster{display:flex;flex-direction:column}.workspace .roster-item{width:100%;grid-template-columns:44px minmax(0,1fr);text-align:left;min-height:84px}.workspace .roster-item.chosen{border-color:#f4d18a;box-shadow:inset 3px 0 #f4d18a;background:#50462d}.roster-help,.formation-help{font-size:.875rem;color:var(--muted);line-height:1.7}.roster-help{padding:0 15px 12px;margin:0}.formation-help{margin:12px 0}.reserve-heading{font-size:1rem;color:#b9c6b6;padding:18px 4px 6px;border-top:1px solid var(--line);margin-top:8px}.roster-tools{padding:12px 10px;border-top:1px solid var(--line)}.roster-tools p{font-size:.875rem;line-height:1.5;margin:0 0 10px}.roster-tools>div{display:flex;gap:5px}.roster-tools button{flex:1;min-width:44px;min-height:44px;padding:7px 3px;font-size:.875rem;white-space:nowrap}.workspace .party-row{display:block}.workspace .party-details{padding:12px 4px}.workspace .formation-grid{grid-template-rows:repeat(5,minmax(44px,1fr))}.workspace .cell.occupied{min-height:44px;padding:0}.detail-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.shield-summary{border-left:3px solid #8cb3bf;padding:8px 12px;font-size:1rem;color:#c4dfeb}.shield-summary small{display:block;font-size:.875rem;color:var(--muted);margin-top:6px}.battle-screen .command-card.evading{background:#203c32;border-color:#99d2b5}.battle-screen .command-card.shield-blocked{background:#203748;border-color:#a4d8f1}.battle-screen .command-card.evading .command-status{color:#c8f2d9}.battle-screen .command-card.shield-blocked .command-status{color:#bcddff}@media(max-width:1120px){.workspace{grid-template-areas:"roster formation" "party party"}}@media(max-width:700px){.workspace{grid-template-areas:"roster" "formation" "party"}.workspace .formation-area{max-width:320px}.roster-tools>div{max-width:360px;margin:auto}.roster-tools p{text-align:center}}@media(max-width:360px){.detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}body.in-battle .header{display:none}main.battle-screen{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,31%);grid-template-rows:auto minmax(0,1fr);grid-template-areas:"top top" "arena commands";gap:8px 14px;height:100dvh;max-width:1800px;padding:10px 16px;overflow:hidden}.battle-screen .battle-top{grid-area:top;display:flex;flex-wrap:nowrap;margin:0;min-height:36px;gap:12px}.battle-screen .battle-title{flex:1;flex-basis:auto;min-width:0;display:flex;align-items:center}.battle-screen .battle-title h1{font-size:1.1rem;white-space:nowrap;margin:0}.battle-screen .battle-top .clock{order:0;margin:0;white-space:nowrap}.battle-screen .battle-top button{order:0;min-height:36px;min-width:48px;margin:0;font-size:.875rem;white-space:nowrap}.battle-screen .arena{grid-area:arena;display:flex;flex-direction:column;min-height:0;margin:0;width:100%;align-self:stretch}.battle-screen .arena-top{flex-wrap:nowrap;flex:none;gap:8px;min-height:28px;padding:5px 10px;font-size:.875rem}.battle-screen .arena-top>span:last-child{margin-left:auto;text-align:right}.battle-screen .vitals-legend{order:0;width:auto;font-size:.875rem}.battle-screen .arena-field{flex:1;min-height:0;isolation:isolate}.battle-screen .arena canvas{display:block;width:100%;height:100%;min-height:0;aspect-ratio:auto;object-fit:fill}.battle-screen .battle-message{min-height:36px;padding:7px 10px;font-size:.875rem;line-height:1.45;flex:none}.battle-screen .command-dock{grid-area:commands;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;min-height:0;margin:0;gap:6px}.battle-screen .command-top{display:flex;gap:8px;margin:0;min-height:22px}.battle-screen .command-top h2{font-size:1rem}.battle-screen #turn-clock{font-size:.875rem;margin-left:auto;white-space:nowrap}.order-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.order-progress button{padding:5px 1px;font-size:.875rem;min-height:36px;overflow:hidden;white-space:nowrap;border-radius:4px}.order-progress button:disabled{opacity:.55}.order-progress button.current{background:#6b542e;border-color:#d9b575;color:#ffe0a3}.order-progress button.confirmed{color:#bde0b9;border-color:#537b54}.battle-screen #commands{min-height:0;overflow:hidden}.order-card{display:flex;flex-direction:column;height:100%;min-height:0;border:1px solid #89734b;border-radius:7px;background:#222c25;padding:10px}.order-person{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex:none;margin-bottom:6px}.order-person h3{margin:0;font-size:1.3rem}.order-person>span{font-size:.875rem;color:var(--gold)}.battle-screen .order-card .resources{display:grid;grid-template-columns:1.4fr 1fr 1fr .8fr;flex:none;margin:0 0 8px;gap:7px}.battle-screen .order-card .resources b{font-size:1.35rem}.battle-screen .order-card .resources em{font-size:.875rem}.order-content{overflow:auto;min-height:0;flex:1;scrollbar-color:#7d896d #1b261e}.order-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.order-action{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:9px 8px;min-height:46px;text-align:left;font-size:1rem}.order-action b{font-size:1rem;font-weight:500}.order-action small{font-size:.875rem;white-space:nowrap;color:var(--muted)}.order-action.active{border-color:#d1b16f;background:#48452f}.order-footer{flex:none;padding-top:8px}.order-footer p{font-size:.875rem;color:#d8c794;margin:0 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-footer button{width:100%;min-height:44px;font-size:1rem;padding:8px}.order-item{display:grid;grid-template-columns:1fr auto;gap:5px;width:100%;text-align:left;min-height:58px;margin-bottom:6px}.order-item small{grid-column:1/-1;font-size:.875rem}.target-instruction{font-size:.875rem;line-height:1.5;margin:0 0 7px;color:#dfc382}.target-option{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;width:100%;padding:7px 8px;margin-bottom:5px;text-align:left}.target-option span{font-size:.875rem;color:var(--muted)}#field-targets{position:absolute;inset:0;pointer-events:none;z-index:2}.field-target{position:absolute;transform:translate(-50%,-50%);width:44px;height:48px;min-height:44px;padding:0;border:2px solid #e4c77480;border-radius:8px;background:#cfb46a08;pointer-events:auto}.field-target.suggested{border-color:#f0ce77}.field-target:hover,.field-target:focus-visible{background:#e8ca6d38;border-color:#ffe8a6}.field-target>span{position:absolute;bottom:100%;left:50%;transform:translate(-50%);padding:2px 4px;background:#36291a;color:#edc388;font-size:.875rem;white-space:nowrap}.battle-screen .log{margin:0;padding:0;border:0;min-height:0}.battle-screen .log summary{min-height:25px;font-size:.875rem;padding:3px 0}.battle-screen .log[open]{max-height:40dvh;overflow:auto}.battle-screen .log-lines{max-height:160px}.resolution-card{height:100%;overflow:auto;border:1px solid #bba16b;border-radius:7px;background:#283127;padding:16px}.resolution-card>small{color:var(--gold);font-size:.875rem}.resolution-card h3{font-size:1.4rem;margin:10px 0}.resolution-card .resources{margin:12px 0}.resolution-card .resources b{font-size:1.35rem}.resolution-action{display:flex;flex-wrap:wrap;gap:12px;font-size:1.3rem;margin-top:20px}.resolution-action>span{color:#d1b77c}@media(max-height:600px)and (orientation:landscape){.header{height:60px;min-height:60px;padding:6px 18px;gap:18px;flex-wrap:nowrap}.header .brand{flex:none;font-size:1rem}.header .brand small{font-size:.875rem;margin-top:2px}.header nav{order:0;width:auto;flex:1;justify-content:center;align-self:stretch;gap:18px;min-height:0}.header .nav{font-size:1rem}.header .admin-link{margin:0;font-size:.875rem}main{padding:16px 18px 24px}.workspace{grid-template-columns:minmax(190px,.85fr) minmax(310px,1.6fr) minmax(230px,1fr);grid-template-areas:"roster party formation";gap:12px;overflow-x:auto;align-items:start}.workspace .roster-item{min-height:72px}.workspace .formation-area{padding:0 9px 14px}.workspace .formation-grid{grid-template-rows:repeat(5,44px)}.workspace .panel-head{padding:12px}main.battle-screen{padding:6px 10px;gap:6px 10px;grid-template-columns:minmax(0,1fr) 280px}.battle-screen .battle-title h1{font-size:1rem}.battle-screen .battle-title{gap:8px}.battle-screen .arena-top{font-size:.875rem}.battle-screen .vitals-legend{display:none}.battle-screen .battle-top .clock{font-size:.875rem}.battle-screen .battle-top{min-height:32px}.battle-screen .battle-top button{min-height:32px;padding:4px 10px}.order-card{padding:7px}.order-person{margin-bottom:3px}.order-person h3{font-size:1.1rem}.battle-screen .order-card .resources{margin-bottom:5px}.battle-screen .order-card .resources b{font-size:1.25rem}.order-action{min-height:44px;padding:6px;font-size:.875rem;flex-direction:column;align-items:flex-start;gap:1px}.order-action b{font-size:.9375rem}.order-actions{gap:4px}.order-footer{padding-top:5px}.order-footer p{margin-bottom:3px}.order-progress button{min-height:32px}.battle-screen .command-dock{gap:4px}.battle-screen .command-top h2{font-size:.9375rem}.battle-screen .battle-message{min-height:32px;padding:5px 8px}.resolution-card{padding:10px}.resolution-card h3{margin:5px 0}.resolution-action{margin-top:12px}}.initial-orders{margin:20px 0}.initial-orders>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.initial-orders button{min-height:44px}.initial-orders button[aria-pressed=true]{background:#554c30;border-color:#d6b878}.initial-summary{grid-column:1/-1}.order-footer #confirm-all-orders{min-height:32px;margin-top:5px;padding:4px;font-size:.875rem;border-color:#566747;background:#2a3a29}@media(max-height:600px)and (orientation:landscape){.order-footer #confirm-order{min-height:36px}.order-footer #confirm-all-orders{min-height:28px}}.order-footer{display:grid;grid-template-columns:1fr 1fr;gap:5px}.order-footer p,.order-footer #order-back{grid-column:1/-1}.order-footer #confirm-all-orders{margin:0;min-height:44px}.order-footer #confirm-order{font-size:.875rem}.order-content{scrollbar-width:thin}@media(max-height:600px)and (orientation:landscape){.order-footer #confirm-order,.order-footer #confirm-all-orders{min-height:44px;padding:5px}.order-footer p{margin:0}}@media(max-width:760px)and (orientation:landscape){.workspace{grid-template-columns:minmax(190px,.9fr) minmax(260px,1.1fr);grid-template-areas:"roster formation" "party party";overflow-x:visible}.workspace .formation-area{max-width:none}}@media(max-height:600px)and (orientation:landscape){.order-person{display:none}.order-action{padding:4px 6px}.order-action b,.order-action small{line-height:1.1}}.technique-name{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.technique-weapon{display:inline-flex;align-items:center;flex:none}.technique-weapon .gear-icon{width:22px;height:22px;margin:0}.technique-weapon[data-weapon=sword]{color:#e8aaa6}.technique-weapon[data-weapon=hammer]{color:#9cadce}.technique-weapon[data-weapon=staff]{color:#c7a27a}.technique-weapon[data-weapon=bow]{color:#f2f0e4}.catalogue-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:20px}.catalogue-group{padding:20px;min-width:0}.catalogue-tech{border-top:1px solid #46584e;padding:12px 0}.catalogue-tech summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;min-height:44px}.catalogue-tech summary>span{white-space:nowrap;color:var(--gold,#e8bd78)}.catalogue-tech .technique-name{display:flex;align-items:center;gap:8px}.catalogue-tech .technique-weapon{display:inline-flex;width:24px;height:24px}.catalogue-tech .gear-icon{width:24px;height:24px}.technique-holders{line-height:1.8}.header nav{min-width:0;overflow-x:auto}.header .nav{flex-shrink:0;white-space:nowrap}.header nav{align-items:center;gap:8px;padding-block:3px}.header .nav{min-height:44px;height:auto;padding:9px 14px;border:1px solid #506051;border-radius:7px;background:#1f2d25;color:#dce5d9;line-height:1.25}.header .nav:hover{background:#304335;border-color:#b6aa80;color:#fff0d0}.header .nav.active{background:#51462b;border-color:#dfbb7c;color:#ffe1ab;box-shadow:inset 0 1px #fff1}.header .nav:after{display:none}@media(max-width:900px){.header{gap:10px;padding-inline:10px}.header nav{gap:12px;justify-content:flex-start}}button:disabled:has(canvas[data-character]){opacity:1}#settings-dialog{width:min(540px,calc(100vw - 32px))}.audio-settings{display:grid;gap:24px}.volume-control{display:grid;grid-template-columns:1fr auto;gap:12px}.volume-control output{font-variant-numeric:tabular-nums;color:var(--gold,#e9ba75)}.volume-control input{grid-column:1/-1;width:100%;min-height:36px;accent-color:#e9ba75}.audio-settings-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px}.character-training{display:grid;gap:5px;margin-top:10px;color:var(--ink,#332719)}.character-training progress{display:block;width:100%;height:14px;accent-color:#875b1c}.character-training small{font-size:13px;line-height:1.5}.roster-draggable{touch-action:pan-y pinch-zoom;-webkit-touch-callout:none}.roster-dragging,.roster-dragging *{cursor:grabbing!important;user-select:none;-webkit-user-select:none}.roster-item.roster-drag-source{opacity:1}.roster-item.roster-drag-target{border-color:#f0c888!important;background:#aa813b35!important;box-shadow:inset 0 0 0 2px #f0c888}.roster-item.roster-drag-ghost{position:fixed;left:0;top:0;z-index:10000;pointer-events:none;margin:0;opacity:1!important;background:#26372f!important;border:2px solid #edc88e!important;box-shadow:0 14px 35px #0009;border-radius:8px;transition:none!important;will-change:transform}.roster-drag-accessible{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.match-lobby{max-width:1120px;margin:0 auto}.lobby-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.lobby-heading h1{margin:0;font-size:1.75rem}.lobby-party .panel-head{padding:18px 22px 12px}.lobby-member[data-lobby-detail]{text-align:left;color:var(--text);cursor:pointer}.lobby-member[data-lobby-detail]:hover{background:#2b3e30;border-color:#d7b87d}.lobby-member[data-lobby-detail]:focus-visible{outline:2px solid #e5c28b;outline-offset:3px}.lobby-members{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:0 22px 22px}.lobby-member{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;padding:12px 6px;border:1px solid #455244;background:#111b1644;border-radius:7px}.lobby-member .portrait{width:42px;height:52px;flex:none}.lobby-member>div{min-width:0}.lobby-member b{display:block;font-size:1rem;overflow-wrap:anywhere}.lobby-member span{display:block;font-size:.875rem;color:var(--muted,#b3c1b8);margin-top:5px;white-space:nowrap}.lobby-member-empty{color:var(--muted,#b3c1b8);min-height:80px;border-style:dashed}.lobby-controls{margin-top:18px}.lobby-controls>.difficulty-picker{width:min(380px,100%);margin-bottom:14px;font-size:1rem}.lobby-controls select{background:#18231d;border:1px solid #536450;border-radius:6px;color:#eee8dc;padding:9px 12px;font:inherit}.lobby-modes{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.lobby-mode{min-height:116px;display:flex;align-items:center;text-align:left;gap:18px;padding:20px 24px;border:1px solid #8d784f;background:linear-gradient(130deg,#57432b88,#26372f);color:#f1e5cf;border-radius:10px}.lobby-mode>svg{width:54px;height:54px;flex:none;fill:none;stroke:#edc78b;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.lobby-mode>span:nth-child(2){flex:1}.lobby-mode b{font-size:1.25rem;display:block}.lobby-mode small{font-size:.875rem;display:block;color:#b7c1b4;margin-top:7px}.lobby-mode>span:last-child{font-size:1.5rem;color:#edc78b}.lobby-empty-note{font-size:1rem;color:#edbf99}.lobby-controls>.battle-settings{margin-top:18px}#orientation-gate{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:24px;border:0;border-radius:0;background:radial-gradient(ellipse at 50% 40%,#24382c,#101916 70%);color:#efece3;text-align:center;box-sizing:border-box;overflow:hidden}#orientation-gate[open]{display:grid;place-items:center}#orientation-gate::backdrop{background:#101916}.orientation-message{max-width:24rem}.orientation-message svg{display:block;width:150px;height:122px;margin:0 auto 28px;fill:none;stroke:#e6b978;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.orientation-message .rotation-arrow{stroke:#a9c6b0}.orientation-message h2{font-family:Yu Gothic UI,sans-serif;font-size:1.5rem;margin:0 0 12px}.orientation-message p{font:1rem/1.8 Yu Gothic UI,sans-serif;color:#c2d0c5;margin:0}html.landscape-required{overflow:hidden}@media(max-height:600px)and (orientation:landscape){.header{height:62px;gap:12px;padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.header .brand{font-size:1rem;gap:8px;letter-spacing:1px}.header .brand small{display:none}.header .crest{font-size:1.75rem}.header nav{gap:14px}.header .nav{font-size:.875rem;min-height:44px}.header .admin-link{font-size:.875rem;white-space:nowrap}.header .sound-toggle{font-size:.875rem;min-height:44px}.lobby-heading{margin-bottom:10px}.lobby-heading h1{font-size:1.375rem}.lobby-party .panel-head{padding:10px 14px 8px}.lobby-members{padding:0 14px 12px;gap:7px}.lobby-member{padding:6px 4px;gap:5px}.lobby-member .portrait{width:32px;height:40px}.lobby-member b{font-size:.875rem}.lobby-member span{margin-top:3px}.lobby-controls{margin-top:12px}.lobby-controls>.difficulty-picker{margin-bottom:10px}.lobby-modes{gap:12px}.lobby-mode{min-height:86px;padding:12px 16px;gap:12px}.lobby-mode>svg{width:38px;height:38px}.lobby-mode b{font-size:1.0625rem}.lobby-mode small{margin-top:4px}.lobby-controls>.battle-settings{margin-top:12px}}@media(max-width:720px)and (orientation:landscape){.header .brand>span:last-child{display:none}.header nav{gap:10px}.header{gap:8px}.lobby-member{flex-direction:column;gap:2px;padding:5px 2px}.lobby-member span{font-size:.875rem}.lobby-mode>svg{display:none}.lobby-mode{padding:12px}}main.battle-screen{position:relative;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:"top" "arena";max-width:none}.battle-screen .arena{position:relative;overflow:hidden}.battle-screen .arena-field{container-type:inline-size}.battle-screen .command-dock{position:absolute;left:auto;right:14px;top:clamp(8px,4%,32px);transform:none;width:220px;max-height:calc(96% - 10px);display:flex;flex-direction:column;gap:7px;padding:10px;z-index:4;border:1px solid #b8cfcba3;border-radius:8px;background:#122a2bdf;box-shadow:0 8px 24px #0005;backdrop-filter:blur(2px);pointer-events:auto}.battle-screen .command-dock[hidden]{display:none}.battle-screen .command-top{flex:none;min-height:24px;align-items:center;gap:5px}.battle-screen .command-top h2{font-size:1.5rem;line-height:1.2;overflow-wrap:anywhere;color:#f5ebcc}.battle-screen #turn-clock{font-size:.8125rem}.battle-screen #commands{min-height:0;display:flex;flex-direction:column;overflow:hidden}.battle-screen .order-card{padding:0;border:0;background:transparent;min-height:0;height:auto;display:flex;flex-direction:column;overflow:hidden}.command-energy{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:6px;flex:none;font-size:.875rem;color:#c9dfd8}.command-energy b{font:700 1.4rem/1.2 ui-monospace,monospace;color:#f4eee0}.command-energy small{font-size:1rem;font-weight:400}.battle-screen .order-content{min-height:0;overflow:auto;max-height:none;scrollbar-width:thin;overscroll-behavior:contain}.battle-screen .order-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}.battle-screen .order-action{min-height:44px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:7px 8px;background:#153c406e;border-color:#91b7b35c;gap:4px}.battle-screen .order-action b{font-size:1rem;line-height:1.2}.battle-screen .order-action small{font-size:.875rem;line-height:1.2;color:#e0cab2}.battle-screen .order-action.active{border-color:#f0d18a;background:#856d394f}.battle-screen .order-footer{display:block;flex:none;padding-top:6px}.battle-screen .order-footer button{min-height:44px;width:100%;margin:0;font-size:.9375rem;padding:7px}.battle-screen .order-footer #confirm-all-orders{background:#bb995ce6;color:#141f20;border-color:#dbbd81}.battle-screen .order-progress{display:none}.battle-screen .battle-utility{position:absolute;right:16px;bottom:10px;z-index:7;width:auto;max-width:min(520px,90%);background:#15211cf2;border-radius:5px;padding:0 6px}.battle-screen .battle-utility summary{min-height:28px;cursor:pointer;font-size:.875rem}.battle-screen .battle-utility[open]{max-height:65vh;overflow:auto;padding:8px 12px}.battle-screen .battle-message{padding-right:110px;min-height:32px}.field-actor{position:absolute;transform:translate(-50%,-50%);width:44px;height:48px;min-height:44px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;pointer-events:auto}.field-actor:active:not(:disabled),.field-target:active:not(:disabled){transform:translate(-50%,-50%)}.field-actor.confirmed:after{content:"\2713";position:absolute;right:-3px;top:-5px;color:#b2dcc5;background:#132923ef;border-radius:50%;font:700 12px/17px Arial,sans-serif;width:17px;height:17px;text-align:center}#field-targets .field-actor,#field-targets .field-target,#field-targets button:hover,#field-targets button:focus-visible{background:transparent;border-color:transparent;box-shadow:none;outline:none}.battle-screen .field-vital.selection-highlight{outline:2px solid #fff4ce;outline-offset:1px;box-shadow:0 0 calc(5px + var(--selection-flash,0)*8px) #e9c680bd}.target-phase{padding:10px 8px 14px;border:1px solid #dec48870;border-radius:6px;background:#caa65d0e}.target-phase>span{display:block;font-size:.8125rem;color:#c9dbd4}.target-action-name{display:block;margin:8px 0;font-size:1.375rem;color:#ffe8ae;line-height:1.3}.target-prompt{margin:0;font-size:.9375rem;line-height:1.65;color:#fff4ce}.default-target-hint{margin:0 0 8px;padding:7px 8px;border-left:2px solid #dabb7b;background:#e4be6c0d;font-size:.875rem;line-height:1.45;color:#f3deab}.default-target-hint small{display:block;font-size:.8125rem;color:#d0dfd9}.skill-bubble{background:#193644e8;color:#f4f2e5;border-color:#d3e3df;border-radius:8px;font-size:1.1rem}.skill-bubble:after{background:#193644;border-color:#d3e3df}@container (max-width:900px){.battle-screen .command-dock{width:180px;right:10px;padding:7px;gap:4px}.battle-screen .command-top h2{font-size:1.375rem}.battle-screen #turn-clock{font-size:.75rem}.battle-screen .order-action{padding:5px 6px}.battle-screen .order-action b{font-size:.9375rem}.battle-screen .order-footer button{font-size:.8125rem}.target-phase{padding:8px 7px}.target-action-name{font-size:1.125rem}.target-prompt{font-size:.875rem}.default-target-hint{font-size:.8125rem;padding:5px 6px}.default-target-hint small{font-size:.75rem}.battle-screen .battle-utility{right:10px;bottom:8px}}@media(max-height:600px)and (orientation:landscape){main.battle-screen{grid-template-columns:minmax(0,1fr)}.battle-screen .default-target-hint{display:none}.battle-screen .command-energy{margin-bottom:3px}.command-energy b{font-size:1.125rem}.battle-screen .order-footer{padding-top:4px}.battle-screen .order-actions{gap:3px}.battle-screen .battle-message{font-size:.875rem;line-height:1.3}}.field-vital.enemy .field-life{left:-8px;right:auto}.field-vital.enemy.edge-life .field-life{left:0;right:auto}.field-vital-link{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none;fill:none}.field-vital-link path{stroke-linecap:round;stroke-linejoin:round}.vital-link-outline{stroke:#12231d;stroke-width:4}.vital-link-line{stroke:#b5cba8;stroke-width:1.5}.field-vital-link circle{fill:#dbe8c7;stroke:#12231d;stroke-width:1}.field-vital.selection-highlight .vital-link-line,.field-vital.acting .vital-link-line{stroke:#ffe19c}.battle-screen .field-vital[data-boss]:not([data-boss=""]){border-color:#f3c66e;box-shadow:0 0 5px #d79336a0}.field-vital[data-boss]:not([data-boss=""]):after{content:"BOSS";position:absolute;right:2px;top:100%;padding:2px 4px;border-radius:3px;background:#482b18;color:#ffe3a1;font:700 9px/1 sans-serif;letter-spacing:1px;pointer-events:none}.command-energies{display:grid;grid-template-columns:1fr 1fr;gap:10px;flex:none}.command-energies .command-energy{flex-direction:column;align-items:flex-start;gap:2px}.command-energies .command-energy span{font-size:.75rem}.command-energies .command-energy b{font-size:1.1rem}.command-energies .command-energy small{font-size:.8rem}#field-statuses{position:absolute;inset:0;pointer-events:none;z-index:3}.field-status{position:absolute;transform:translate(-50%);padding:2px 6px;border:1px solid #dcb97299;border-radius:4px;background:#302618e8;color:#ffe19c;font:700 12px/1.2 Yu Gothic UI,sans-serif;white-space:nowrap;box-shadow:0 2px 5px #0008}.field-status.has-vision-status{display:flex;flex-direction:column;align-items:center;gap:2px;padding:0;border:0;background:transparent;box-shadow:none}.vision-status-icon{display:block;width:var(--vision-size,24px);height:var(--vision-size,24px);object-fit:contain;image-rendering:auto}.field-status.has-vision-status>span{padding:2px 6px;border:1px solid #dcb97299;border-radius:4px;background:#302618e8}.prayer-stage{display:block;color:#ffe4a1;font-variant-numeric:tabular-nums}.prayer-stage[data-prayer-stage="2"]{color:#fff2c8;text-shadow:0 0 6px #e8a63f}.command-prayer-ready{display:block;color:#ffe4a1;font-size:12px;margin-top:3px}.phone-game.in-battle .order-action .command-prayer-ready{display:inline;margin:0 0 0 4px;font-size:9px;color:var(--phone-muted)}.phone-game.in-battle .order-action .command-content.has-prayer-cost{font-size:10px;line-height:1.2}#field-statuses .field-status{display:flex;flex-direction:column;align-items:center;gap:1px;padding:0;border:0;background:transparent;box-shadow:none;max-width:124px;font-size:11px;text-shadow:0 1px 3px #000}#field-statuses .status-chip{display:block;max-width:124px;overflow:hidden;text-overflow:ellipsis;padding:1px 4px;border:0;border-radius:3px;background:#12251edf;color:#c3eacb;line-height:1.2}#field-statuses .status-chip.bad{color:#ffc4bc;background:#391d27ed}#field-statuses .status-chip[data-effect=unravel-marks]{color:#fff0ff;background:#48245bf2;border-left:3px solid #e3b2ff;font-weight:800;letter-spacing:.03em}#field-statuses .status-chip.stance,#field-statuses .status-chip.charge{color:#ffe3a2}#field-statuses .status-chip.mixed{color:#f5cfb0}#field-statuses .field-status>small{position:absolute;left:100%;bottom:0;background:#12251edd;padding:1px 3px;border-radius:3px;font-size:9px}#battlefield-effect{position:static;pointer-events:none;color:#78613a;padding:3px 0;font:10px/1.35 sans-serif;overflow-wrap:anywhere}#battlefield-effect:empty{display:none}.battle-status-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(780px,94vw);max-width:94vw;max-height:88dvh;padding:14px 18px;background:#f6edcf;color:#34291e;border:2px solid #b3945c;border-radius:14px;font:14px/1.5 Yu Gothic UI,sans-serif;overflow:auto;overscroll-behavior:contain}.battle-status-dialog::backdrop{background:#0b1b17b8}.battle-status-dialog>header{position:sticky;top:-14px;z-index:1;display:flex;align-items:center;justify-content:space-between;background:#f6edcf;gap:20px;padding:6px 0;border-bottom:1px solid #c8b586}.battle-status-dialog h2{font-size:19px;margin:0}.battle-status-dialog header button{min-width:44px;min-height:38px}.battle-status-dialog .status-live-note{font-size:12px;color:#79684a;margin:6px 0}.battle-status-dialog [data-status-content]{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px}.battle-status-dialog .battlefield-effect{grid-column:1/-1;margin:0}.battle-status-dialog h3{font-size:15px;margin:8px 0}.battle-status-dialog article{border-top:1px solid #cbbb96;padding:6px 0}.battle-status-dialog h4{margin:0 0 4px}.battle-status-dialog p{margin:4px 0}.battle-status-dialog dl{margin:0}.battle-status-dialog dl>div{padding:4px 0}.battle-status-dialog dt{font-weight:700}.battle-status-dialog dt small{font-weight:400;font-size:11px}.battle-status-dialog dd{margin:1px 0 0;font-size:12px;color:#5a4d37}.battle-status-dialog .bad dt{color:#a13439}.battle-status-dialog .good dt{color:#286046}@media(max-width:560px){.battle-status-dialog [data-status-content]{grid-template-columns:1fr}}.guillotine-target-list{display:grid;gap:4px;margin-top:8px}.guillotine-target-list button{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:36px;width:100%;padding:5px 6px;font-size:12px;text-align:left}.guillotine-target-list .instant-ko-chance{font-size:11px;white-space:nowrap}.phone-game.in-battle .order-content:has(.guillotine-target-list){overflow-y:auto}.phone-game.in-battle .order-content:has(.guillotine-target-list)>*{flex-shrink:0}.rewind-target-list button{flex-direction:column;align-items:stretch;gap:3px;line-height:1.4}.rewind-target-list button small{display:block;font-size:11px;white-space:normal;overflow-wrap:anywhere}.phone-game.in-battle .order-content:has(.rewind-target-list) .target-phase{padding:5px 7px}.phone-game.in-battle .order-content:has(.rewind-target-list) .target-action-name{font-size:14px;margin:2px 0}.phone-game.in-battle .order-content:has(.rewind-target-list) .target-phase>span{display:none}.field-ammo{position:absolute;top:100%;left:50%;transform:translate(-50%);margin-top:2px;padding:1px 4px;border-radius:3px;background:#14241e;color:#ffe4a0;white-space:nowrap;font-size:10px;line-height:1.3;font-weight:700;text-shadow:0 1px #000;pointer-events:none}#field-statuses .status-chip.incense-return{color:#f7ddff;background:#352045f5;border-left:3px solid #e2b9ff;font-weight:700;max-width:160px}#field-statuses .status-chip.incense-rage{color:#ffe4ce;background:#532519f5;border-left:3px solid #ff854f;font-weight:700;max-width:160px}.inventory-heading h1{margin:0 0 18px}.inventory-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}.inventory-entry{display:flex;align-items:center;gap:14px;min-height:66px;padding:10px 14px;text-align:left;border:1px solid var(--line);border-radius:8px;background:#17221c;color:var(--text);font-size:1rem;font-weight:600}.inventory-entry:hover{background:#203027;border-color:#778772}.inventory-entry:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.inventory-visual{display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:6px;background:#ffffff08;color:#c9cbb9}.inventory-visual .gear-icon{width:28px;height:28px;color:inherit}.inventory-visual[data-tone=sword]{color:#e8aaa6}.inventory-visual[data-tone=hammer]{color:#9cadce}.inventory-visual[data-tone=staff]{color:#c7a27a}.inventory-visual[data-tone=bow]{color:#f2f0e4}.inventory-visual[data-tone=shield]{color:#b9c8c7}.inventory-visual[data-tone=head]{color:#c2c6d0}.inventory-visual[data-tone=body]{color:#babd96}.inventory-visual[data-tone=clothing]{color:#d6c3a5}.inventory-visual[data-tone=accessory]{color:#dfc785}.inventory-visual[data-tone=herb]{color:#a1c89a}.inventory-visual[data-tone=bottle]{color:#9cbfcf}.inventory-visual[data-tone=ticket]{color:#e7bb7c}.inventory-empty{padding:24px 0;color:var(--muted)}dialog:has(.inventory-detail){width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:auto}.inventory-detail{padding:24px}.inventory-detail-heading{display:flex;align-items:center;gap:14px;padding:0}.inventory-detail-heading .inventory-visual{width:50px;height:50px}.inventory-detail-heading .gear-icon{width:34px;height:34px}.inventory-detail-heading>div{flex:1;min-width:0}.inventory-detail-heading h2{margin:4px 0 0;font-size:1.5rem;line-height:1.35;overflow-wrap:anywhere}.inventory-category{color:var(--muted);font-size:.875rem}.inventory-close{position:static;flex:none;align-self:flex-start;display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;font-size:1.75rem;line-height:1;border:1px solid var(--line);border-radius:8px;color:var(--text);background:#ffffff06}.inventory-description{margin:22px 0;color:var(--text);font-size:1rem;line-height:1.8}.inventory-art{display:flex;justify-content:center;align-items:center;margin:18px 0;border:1px solid var(--line);border-radius:8px;background:#101b15}.inventory-art canvas{display:block;width:190px;height:190px;image-rendering:auto}@media(max-height:500px){.inventory-art canvas{width:130px;height:130px}}.inventory-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.inventory-totals>div{padding:6px;border:0;border-radius:0;background:transparent}.inventory-totals dt{color:var(--muted);font-size:.875rem}.inventory-totals dd{margin:3px 0 0;font-size:1rem;font-weight:400;line-height:1.25}.inventory-totals small{margin-left:6px;color:var(--muted);font-size:.875rem;font-weight:400}.inventory-detail-section{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.inventory-detail-section h3{margin:0 0 12px;font-size:1rem}.inventory-detail-section p{margin:0;color:var(--muted);font-size:1rem;line-height:1.75}.inventory-modifiers{display:flex;flex-wrap:wrap;gap:12px 24px;margin:0}.inventory-modifiers>div{display:flex;gap:10px;align-items:baseline}.inventory-modifiers dt{color:var(--muted)}.inventory-modifiers dd{margin:0;color:var(--gold);font-size:1.75rem;font-weight:700}.inventory-detail-section .inventory-passive{margin-top:12px;color:var(--text)}.inventory-owners{list-style:none;padding:0;margin:0;display:grid;gap:8px}.inventory-owners li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:#101b15}.inventory-owners li>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 14px}.inventory-owners b{font-size:1rem}.inventory-owners span{color:var(--muted);font-size:.875rem}.inventory-owners button{flex:none;min-width:66px;min-height:44px;padding:8px 14px;font-size:1rem}.inventory-status{margin:16px 0 0;min-height:1.5em;color:var(--gold);font-size:.875rem}@media(max-width:700px){.inventory-list{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.inventory-entry{gap:10px;min-height:60px;padding:8px 10px}.inventory-detail{padding:18px}}.inventory-visual[data-tone=axe]{color:#e3b38d}.inventory-performance{margin:0 0 16px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:#be9b531f}.inventory-consumable-effect{padding:14px 16px;border:1px solid var(--line);border-radius:8px;font-size:1.125rem;font-weight:600;line-height:1.6}.inventory-detail-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px}.inventory-detail-footer .inventory-status{margin:0;flex:1}.inventory-detail-footer .inventory-totals{display:flex;justify-content:flex-end;gap:16px;flex:none}.inventory-detail-footer .inventory-totals>div{display:flex;align-items:baseline;gap:6px;padding:0}.inventory-detail-footer .inventory-totals dd{margin:0}:root{--release-bg:#081a1b;--release-surface:#102b2b;--release-text:#f2f3e7;--release-muted:#b3cbc5;--release-line:#355653;--release-accent:#eac378;--release-accent-hover:#ffdf99;--release-ink:#152421;--release-space-1:.5rem;--release-space-2:1rem;--release-space-3:1.5rem;--release-space-4:2rem;--release-radius:.75rem;--release-radius-lg:1.25rem;--release-ease:cubic-bezier(.4,0,.2,1);--release-duration:.18s;--release-shadow:0 12px 40px #0003}body:not(.in-battle){background:radial-gradient(ellipse at 85% 0,#174240 0,transparent 42%),var(--release-bg);color:var(--release-text)}body:not(.in-battle) .header{min-height:82px;height:auto;padding:var(--release-space-2) 3%;gap:var(--release-space-3);flex-wrap:wrap;background:#081b1bea;border-bottom:1px solid var(--release-line)}body:not(.in-battle) .header .brand{color:var(--release-text);font-size:1.15rem;flex-shrink:0}body:not(.in-battle) .header .brand small{color:var(--release-muted);font-size:.7rem}body:not(.in-battle) .header nav{gap:4px;display:flex;flex:1;justify-content:center;flex-wrap:wrap}body:not(.in-battle) .header .nav{padding:9px 10px;min-height:42px;white-space:nowrap;color:var(--release-muted);border-radius:7px;transition:background var(--release-duration) var(--release-ease),color var(--release-duration) var(--release-ease)}body:not(.in-battle) .header .nav.active{background:#24463f;color:var(--release-accent);border-bottom-color:transparent}body:not(.in-battle) .header .nav:hover{color:var(--release-text);background:#24463f}body:not(.in-battle) .panel{border-color:var(--release-line);box-shadow:var(--release-shadow)}body:not(.in-battle) .primary{background:var(--release-accent);color:var(--release-ink);border-color:var(--release-accent)}body:not(.in-battle) .primary:hover{background:var(--release-accent-hover)}body:not(.in-battle) button:focus-visible,body:not(.in-battle) a:focus-visible{outline:3px solid var(--release-accent);outline-offset:3px}.account-bar{display:flex;align-items:center;gap:var(--release-space-3);padding:12px 4%;border-bottom:1px solid var(--release-line);background:#102b2bdd;font-size:.9rem}.account-bar[hidden],.in-battle .account-bar{display:none}.test-label{color:var(--release-accent);border:1px solid #ad905366;border-radius:4px;padding:4px 8px;font-size:.75rem;white-space:nowrap}.account-rank{color:var(--release-muted)}.account-rank strong{color:var(--release-text);font-size:1.3rem;margin:0 6px}.account-rank small{font-variant-numeric:tabular-nums}.account-ril{margin-left:auto;color:var(--release-accent);white-space:nowrap}.account-ril strong{font-size:1.3rem;font-variant-numeric:tabular-nums}.account-daily{color:var(--release-muted);font-size:.8rem;white-space:nowrap}.release-hero{position:relative;isolation:isolate;min-height:380px;padding:clamp(24px,4vw,56px);overflow:hidden;border:1px solid #678974;border-radius:var(--release-radius-lg);display:grid;grid-template-columns:1.05fr 1fr;gap:var(--release-space-4);align-items:center;background:linear-gradient(90deg,#000e,#0009 48%,#0005),url(/assets/fullscreen/grove-wide-v1.webp) center/contain no-repeat,url(/assets/fullscreen/grove-preview-v1.webp) center/contain no-repeat,#000;box-shadow:var(--release-shadow)}.release-hero .eyebrow,.release-lobby-grid .eyebrow{color:var(--release-accent);font-weight:700;font-size:.72rem;letter-spacing:.18em;margin:0 0 16px}.hero-copy h1{font-size:clamp(1.75rem,2.65vw,3rem);letter-spacing:-.03em;line-height:1.45;margin:0 0 18px;font-family:Yu Mincho,Hiragino Mincho ProN,serif;color:#fff6d9;text-shadow:0 2px 10px #061f1f}.hero-copy p{font-size:.95rem;line-height:1.9;color:#d3e8df}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.hero-actions button{min-height:46px}.hero-party{display:flex;justify-content:center;align-items:end;gap:8px;min-width:0;margin-top:45px}.hero-party>button,.empty-party-slot{padding:6px 2px 14px;background:linear-gradient(0deg,#061d21db,#102b2420);border:0;border-bottom:2px solid #d0bf7e99;border-radius:0;flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;box-shadow:none}.hero-party .portrait{width:min(7vw,100px);height:min(9vw,128px);max-width:100%;opacity:1;image-rendering:auto;filter:drop-shadow(0 8px 5px #00181699)}.hero-party b{color:#fff9e6;margin-top:10px;font-size:.95rem;white-space:nowrap}.hero-party small{font-size:.65rem;color:#c9dbca;white-space:nowrap;margin-top:4px}.empty-party-slot>b{font:3.5rem Georgia,serif;height:128px;display:grid;place-items:center;color:#d1e4d6}.empty-party-slot{border-bottom-style:dashed}.release-notice{margin-top:20px;border-left:3px solid var(--release-accent);background:#344437;padding:16px 20px;line-height:1.8;color:#f4e4b8;border-radius:0 8px 8px 0}.release-lobby-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:20px;margin-top:24px}.release-lobby-grid .panel{margin:0;background:var(--release-surface);overflow:hidden;border-radius:var(--release-radius)}.arena-preview img{display:block;width:100%;height:154px;object-fit:cover}.arena-preview>div{padding:22px}.arena-preview h2{margin:0;font-size:1.25rem}.arena-preview p{font-size:.85rem;line-height:1.9;color:var(--release-muted)}.arena-preview strong{color:var(--release-accent);font-weight:500}.arena-preview .eyebrow{margin-bottom:8px}.release-play{padding:24px;display:flex;flex-direction:column;align-items:stretch;gap:12px}.release-play .panel-head{padding:0;border:0;min-height:38px}.release-play h2{font-size:1.2rem}.release-play p{font-size:.9rem;line-height:1.9;color:var(--release-muted);margin:5px 0 12px}.release-play>button{min-height:48px;font-weight:700}.release-play>small{color:#9db9b2;font-size:.75rem;line-height:1.7}.release-play .primary{margin-top:auto}.cpu-level{display:flex;align-items:center;gap:12px;margin-top:auto;color:var(--release-muted);font-size:.85rem}.cpu-level select{flex:1;min-width:0;padding:7px}.rank-chip{background:#d5b26419;border:1px solid #d5b26466;color:var(--release-accent);font:700 1.5rem Georgia,serif;padding:4px 10px;border-radius:6px}.rank-chip small{font:.75rem system-ui}.release-footer{display:flex;justify-content:space-between;gap:20px;margin:20px 0;color:var(--release-muted);font-size:.8rem;line-height:1.7}.release-footer span{color:var(--release-accent)}.recovery-heading{color:#d7c9ff;border-color:#645678}.roster-item.recovering{background:#272337;border-color:#665978}.roster-item.recovering small{color:#d1bfdc;font-size:.72rem}.roster-panel>#open-recovery{margin:0 16px 12px}.roster-panel>.roster-help{margin:12px 16px}.roster-item.recovering .portrait{opacity:1}#party-presets{padding:16px;margin-bottom:16px}.account-settings{border-top:1px solid var(--release-line);padding-top:16px;margin-top:24px}.account-settings p{font-size:.85rem;color:var(--release-muted);line-height:1.8}.account-settings form{display:flex;align-items:end;gap:12px}.account-settings label{display:grid;gap:7px;flex:1}.account-settings input{width:100%;min-width:0}.release-login{max-width:640px;margin:40px auto;padding:clamp(24px,5vw,64px);background:linear-gradient(140deg,#173d36,#102522);border-radius:var(--release-radius-lg)}.release-login h1{font-size:clamp(1.8rem,3vw,3rem);line-height:1.5}.release-login p{line-height:1.9;color:var(--release-muted)}.release-login label{display:grid;gap:10px}.release-login form{display:grid;gap:16px;margin:32px 0 16px}.release-login input{width:100%;min-height:48px}.release-login button{min-height:48px}.release-result{max-width:800px;margin:32px auto}.release-result h1{color:var(--release-accent)}.result-awards{display:flex;justify-content:center;gap:50px;margin:26px 0}.result-awards small{display:block;color:var(--release-muted);font-size:.8rem}.result-awards strong{font-size:2rem;color:var(--release-accent);font-variant-numeric:tabular-nums}.result-awards em{font-size:1rem;font-style:normal;color:#a9e3c1}.release-result .rewards p{margin:8px 0;font-size:.9rem}@media(max-width:1120px){body:not(.in-battle) .header{gap:12px}body:not(.in-battle) .header nav{order:3;flex-basis:100%;justify-content:flex-start}.release-hero{grid-template-columns:1fr .9fr;padding:28px;min-height:340px}.release-lobby-grid{gap:14px;grid-template-columns:1fr 1fr}.arena-preview{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.2fr}.arena-preview img{height:100%;max-height:220px}.release-play{padding:20px}.hero-party{gap:3px}.hero-party small{white-space:normal;text-align:center}}@media(max-width:700px){body:not(.in-battle) .header .brand{font-size:.95rem}body:not(.in-battle) .header nav{justify-content:flex-start;gap:3px}body:not(.in-battle) .header .nav{padding:7px 9px;font-size:.82rem;min-height:36px}.account-bar{gap:8px 14px;flex-wrap:wrap;padding:12px 4%;font-size:.8rem}.account-daily{width:100%;text-align:right}.account-ril strong{font-size:1.15rem}.account-rank strong{font-size:1rem}.release-hero{grid-template-columns:1fr;padding:26px 20px;gap:14px}.hero-copy h1{font-size:1.9rem}.hero-copy p{font-size:.85rem}.hero-actions{gap:8px;margin-top:18px}.hero-actions button{font-size:.8rem;padding:10px 12px}.hero-party{margin-top:8px;gap:6px}.hero-party .portrait{width:56px;height:76px}.hero-party b{font-size:.82rem}.hero-party small{font-size:.58rem}.empty-party-slot>b{height:76px;font-size:2.5rem}.release-lobby-grid{grid-template-columns:1fr}.arena-preview{display:block;grid-column:auto}.arena-preview img{height:160px}.release-footer{flex-direction:column;gap:5px}.account-settings form{flex-direction:column;align-items:stretch}.result-awards{gap:25px}.release-login{margin:10px auto}}@media(prefers-reduced-motion:reduce){body:not(.in-battle) .header .nav{transition:none}}.release-screen{--rs-bg:#101d20;--rs-elevated:#192b2d;--rs-subtle:#203636;--rs-text:#f2eee2;--rs-muted:#b6c8c2;--rs-border:#48645d;--rs-accent:#e4ba70;--rs-accent-hover:#f4d08c;--rs-on-accent:#172520;--rs-error:#ffb3a7;--rs-space-1:.5rem;--rs-space-2:1rem;--rs-space-3:1.5rem;--rs-space-4:2rem;--rs-radius:.75rem;--rs-radius-lg:1.25rem;--rs-shadow:0 3px 8px #06181533,0 14px 30px #06181533;--rs-ease:cubic-bezier(.4,0,.2,1);--rs-duration:.18s;color:var(--rs-text);max-width:1200px;margin:auto;padding:var(--rs-space-3);font-family:Yu Gothic UI,Meiryo,sans-serif;line-height:1.65}.release-screen *{box-sizing:border-box}.release-screen h1,.release-screen h2,.release-screen h3,.release-screen p{margin:0}.release-screen h1{font-size:clamp(1.7rem,3.4vw,2.8rem);line-height:1.2;letter-spacing:-.03em}.release-screen h2{font-size:1.2rem;line-height:1.4}.release-screen button,.release-screen input,.release-screen select{font:inherit}.release-screen button{min-height:44px;border:1px solid var(--rs-border);border-radius:var(--rs-radius);background:var(--rs-subtle);color:var(--rs-text);padding:.7rem 1.2rem;cursor:pointer;transition:background var(--rs-duration) var(--rs-ease),transform var(--rs-duration) var(--rs-ease)}.release-screen button:hover:not(:disabled){background:var(--rs-elevated);border-color:var(--rs-accent)}.release-screen button:active:not(:disabled){transform:translateY(1px)}.release-screen button:disabled{cursor:default;color:var(--rs-muted);background:var(--rs-bg);opacity:1}.release-screen button:focus-visible,.release-screen input:focus-visible,.release-screen summary:focus-visible{outline:3px solid var(--rs-accent);outline-offset:3px}.release-screen button.rs-primary{color:var(--rs-on-accent);background:var(--rs-accent);border-color:var(--rs-accent);font-weight:700}.release-screen button.rs-primary:hover:not(:disabled){background:var(--rs-accent-hover)}.release-screen button.rs-primary:disabled{background:var(--rs-subtle);border-color:var(--rs-border);color:var(--rs-muted)}.rs-heading{display:flex;justify-content:space-between;align-items:center;gap:var(--rs-space-3);margin-bottom:var(--rs-space-3)}.rs-kicker{color:var(--rs-accent);font-size:.8rem;font-weight:700;letter-spacing:.14em;margin-bottom:.5rem!important}.rs-heading-tools{display:flex;align-items:center;gap:var(--rs-space-3)}.rs-wallet{text-align:right;white-space:nowrap}.rs-wallet small{display:block;color:var(--rs-muted);font-size:.75rem}.rs-wallet strong{font-size:1.7rem;line-height:1.3;font-variant-numeric:tabular-nums}.rs-wallet span{font-size:.8rem;margin-left:.4rem;color:var(--rs-accent)}.rs-notice{min-height:1.8rem;margin-bottom:var(--rs-space-2)!important;font-size:.9rem;color:var(--rs-accent)}.rs-notice:empty{min-height:0;margin-bottom:0!important}.rs-notice.rs-error{color:var(--rs-error)}.rs-muted{color:var(--rs-muted);font-size:.85rem;line-height:1.7}.rs-gacha-stage{position:relative;min-height:250px;border:1px solid var(--rs-border);border-radius:var(--rs-radius-lg);overflow:hidden;background:radial-gradient(ellipse at 70% 65%,var(--rs-subtle),var(--rs-bg) 78%);margin-bottom:var(--rs-space-3);box-shadow:var(--rs-shadow)}.rs-family-parade{position:absolute;right:var(--rs-space-3);bottom:var(--rs-space-2);display:flex;align-items:flex-end;gap:0}.rs-portrait{width:76px;height:89px;object-fit:contain;image-rendering:auto;opacity:1}.rs-family-parade .rs-portrait{width:104px;height:121px}.rs-gacha-empty{position:relative;padding:var(--rs-space-4);max-width:55%;min-height:250px;display:flex;flex-direction:column;justify-content:center}.rs-gacha-empty>span{font-size:1.7rem;font-weight:700;line-height:1.6}.rs-gacha-empty p{margin-top:var(--rs-space-2);color:var(--rs-muted)}.rs-gacha-result{position:relative;display:flex;align-items:center;gap:var(--rs-space-3);background:var(--rs-bg);min-height:250px;padding:var(--rs-space-3) var(--rs-space-4);animation:rs-arrive .32s var(--rs-ease)}.rs-gacha-result h2{font-size:2rem}.rs-result-image{width:180px;flex:none;display:grid;place-items:center;min-height:195px;background:radial-gradient(ellipse,var(--rs-subtle),var(--rs-bg) 75%)}.rs-result-image .rs-portrait{width:154px;height:180px}.rs-result-reward{display:block;color:var(--rs-accent);font-size:1.5rem;margin:.8rem 0}.rs-gacha-options{display:grid;grid-template-columns:1fr 1fr;gap:var(--rs-space-3)}.rs-draw-card{background:var(--rs-elevated);border:1px solid var(--rs-border);border-radius:var(--rs-radius-lg);padding:var(--rs-space-3);display:flex;flex-direction:column;justify-content:space-between;gap:var(--rs-space-3)}.rs-draw-card h2{font-size:1.4rem;margin:var(--rs-space-1) 0}.rs-draw-card p{font-size:.9rem;color:var(--rs-muted);max-width:40em}.rs-tag{display:inline-block;color:var(--rs-accent);font-size:.75rem;font-weight:700;letter-spacing:.04em}.rs-draw-bottom{display:flex;align-items:center;justify-content:space-between;gap:var(--rs-space-2)}.rs-draw-bottom strong{font-size:1.5rem;white-space:nowrap}.rs-draw-bottom strong span{font-size:.9rem}.rs-draw-bottom b{font-size:2rem}.rs-probabilities{margin:var(--rs-space-3) 0;font-size:.85rem;color:var(--rs-muted)}.rs-probabilities summary{cursor:pointer;padding:var(--rs-space-1) 0;color:var(--rs-text)}.rs-probabilities>div{display:flex;flex-wrap:wrap;gap:var(--rs-space-2);margin:var(--rs-space-2) 0}.rs-probabilities b{color:var(--rs-accent)}.rs-owned-families{padding:var(--rs-space-3) 0;border-top:1px solid var(--rs-border)}.rs-owned-families h2 span{font-size:.9rem;color:var(--rs-muted);margin-left:var(--rs-space-1)}.rs-owned-families>div{display:flex;flex-wrap:wrap;gap:var(--rs-space-1);margin-top:var(--rs-space-2)}.rs-owned-families>div>span{font-size:.8rem;border:1px dashed var(--rs-border);border-radius:var(--rs-radius);padding:.45rem .7rem;color:var(--rs-muted)}.rs-owned-families>div>span.rs-owned{border-style:solid;color:var(--rs-text);background:var(--rs-subtle)}.rs-shop-toolbar{display:flex;justify-content:space-between;align-items:center;gap:var(--rs-space-3);margin:var(--rs-space-3) 0}.rs-tabs{display:flex;gap:var(--rs-space-1)}.rs-tabs button{min-width:110px;font-size:1.05rem}.rs-tabs button[aria-pressed=true],.rs-category-tabs button[aria-pressed=true]{border-color:var(--rs-accent);color:var(--rs-accent);background:var(--rs-elevated)}.rs-search{display:flex;align-items:center;gap:var(--rs-space-2);color:var(--rs-muted);font-size:.85rem}.release-screen input{border:1px solid var(--rs-border);background:var(--rs-bg);color:var(--rs-text);border-radius:var(--rs-radius);padding:.7rem .85rem;min-width:0;min-height:44px}.rs-search input{max-width:280px}.rs-category-tabs{display:flex;flex-wrap:wrap;gap:var(--rs-space-1);margin-bottom:var(--rs-space-2)}.rs-category-tabs button{font-size:.85rem}.rs-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--rs-space-3);margin-top:var(--rs-space-3)}.rs-product{border:1px solid var(--rs-border);border-radius:var(--rs-radius-lg);background:var(--rs-elevated);overflow:hidden;display:flex;flex-direction:column;min-width:0}.rs-product-art{height:150px;display:grid;place-items:center;background:radial-gradient(ellipse,var(--rs-subtle),var(--rs-bg));border-bottom:1px solid var(--rs-border)}.rs-item-art{width:150px;height:150px;image-rendering:auto;object-fit:contain}.rs-item-symbol{width:84px;height:84px;stroke:var(--rs-accent);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.rs-product-text{padding:var(--rs-space-2) var(--rs-space-3);flex:1}.rs-product-text h2{font-size:1.15rem;margin-bottom:var(--rs-space-1)}.rs-product-text p{font-size:.82rem;color:var(--rs-muted)}.rs-stock{display:block;margin-top:var(--rs-space-2);font-size:.8rem;color:var(--rs-accent)}.rs-product-buy{padding:var(--rs-space-2) var(--rs-space-3) var(--rs-space-3);border-top:1px solid var(--rs-border)}.rs-product-buy>strong{font-size:1.3rem;font-variant-numeric:tabular-nums}.rs-product-buy strong small{font-size:.75rem;font-weight:400;color:var(--rs-muted)}.rs-product-controls{display:flex;gap:var(--rs-space-2);align-items:flex-end;margin:.6rem 0}.rs-product-controls label{display:flex;flex-direction:column;font-size:.75rem;color:var(--rs-muted);gap:.2rem;flex:1}.rs-product-controls input{width:80px}.rs-product-controls button{min-width:105px}.rs-product-buy>small{color:var(--rs-muted);font-size:.75rem}.rs-empty{padding:var(--rs-space-4);text-align:center;border:1px dashed var(--rs-border);border-radius:var(--rs-radius-lg);margin-top:var(--rs-space-3);color:var(--rs-muted)}.rs-fixed-rule{padding:var(--rs-space-2);border-left:3px solid var(--rs-accent);background:var(--rs-elevated)}.rs-recovery-stock{display:flex;align-items:center;gap:var(--rs-space-2);padding:var(--rs-space-3) 0}.rs-recovery-stock strong{color:var(--rs-accent);font-size:1.5rem}.rs-recovery-stock span{font-size:.85rem;color:var(--rs-muted)}.rs-recovery-list{display:grid;grid-template-columns:1fr 1fr;gap:var(--rs-space-3)}.rs-recovery-member{display:flex;align-items:center;gap:var(--rs-space-2);padding:var(--rs-space-3);background:var(--rs-elevated);border:1px solid var(--rs-border);border-radius:var(--rs-radius-lg)}.rs-recovery-member>.rs-portrait{flex:none}.rs-recovery-member>div:nth-child(2){flex:1;min-width:0}.rs-recovery-member p{font-size:.75rem;color:var(--rs-muted)}.rs-life{font-size:.8rem;margin-top:var(--rs-space-1)}.rs-life b{color:var(--rs-accent)}.rs-life meter{display:block;width:100%;height:12px;margin-top:4px;accent-color:var(--rs-accent)}.rs-recovery-actions{display:flex;flex-direction:column;gap:var(--rs-space-1)}.rs-recovery-actions label{font-size:.75rem;color:var(--rs-muted)}.rs-recovery-actions input{display:block;width:100px;margin-top:4px}.rs-recovery-actions button{font-size:.85rem;padding:.6rem .8rem}.rs-preset-current{padding:var(--rs-space-3);border:1px solid var(--rs-border);border-radius:var(--rs-radius-lg);background:var(--rs-elevated)}.rs-preset-portraits{display:flex;gap:var(--rs-space-1);margin:var(--rs-space-2) 0}.rs-preset-portraits>div{min-width:0;text-align:center}.rs-preset-portraits span{display:block;font-size:.75rem}.rs-preset-portraits .rs-portrait{width:65px;height:76px}.rs-preset-current form{display:flex;align-items:flex-end;gap:var(--rs-space-2);margin-bottom:var(--rs-space-2)}.rs-preset-current label{display:flex;flex-direction:column;gap:var(--rs-space-1);font-size:.85rem;max-width:400px;flex:1}.rs-presets{display:grid;grid-template-columns:1fr 1fr;gap:var(--rs-space-3);margin-top:var(--rs-space-3)}.rs-presets article{padding:var(--rs-space-3);border:1px solid var(--rs-border);border-radius:var(--rs-radius-lg);background:var(--rs-elevated)}.rs-presets p{font-size:.85rem;color:var(--rs-muted)}.rs-presets button{margin:.4rem .4rem 0 0}.rs-presets button.rs-quiet{font-size:.8rem;background:transparent}@keyframes rs-arrive{0%{transform:translateY(10px)}to{transform:translateY(0)}}@media(max-width:1000px){.rs-products{grid-template-columns:repeat(2,minmax(0,1fr))}.rs-family-parade .rs-portrait{width:78px;height:91px}.rs-gacha-empty>span{font-size:1.4rem}.rs-recovery-list{grid-template-columns:1fr}.rs-recovery-member>.rs-portrait{width:65px;height:76px}.rs-recovery-actions{flex-direction:row;align-items:flex-end}}@media(max-width:650px){.release-screen{padding:var(--rs-space-2)}.rs-heading{align-items:flex-start;gap:var(--rs-space-2)}.rs-heading-tools{gap:var(--rs-space-1);flex-direction:column;align-items:flex-end}.rs-back{font-size:.8rem!important;padding:.5rem .7rem!important}.rs-wallet strong{font-size:1.4rem}.rs-gacha-options{grid-template-columns:1fr}.rs-family-parade .rs-portrait{width:53px;height:62px}.rs-gacha-empty{padding:var(--rs-space-3);max-width:80%;min-height:245px;justify-content:flex-start}.rs-gacha-stage{min-height:245px}.rs-gacha-empty>span{font-size:1.5rem}.rs-gacha-result{padding:var(--rs-space-2);gap:var(--rs-space-2)}.rs-result-image{width:100px;min-height:155px}.rs-result-image .rs-portrait{width:100px;height:117px}.rs-gacha-result h2{font-size:1.4rem}.rs-result-reward{font-size:1.1rem}.rs-shop-toolbar{flex-direction:column;align-items:stretch;gap:var(--rs-space-2)}.rs-search input{max-width:none;flex:1}.rs-products{grid-template-columns:1fr;gap:var(--rs-space-2)}.rs-product{display:grid;grid-template-columns:100px 1fr}.rs-product-art{height:100%;min-height:120px;border-right:1px solid var(--rs-border);border-bottom:0;grid-row:span 2}.rs-item-art{width:98px;height:130px}.rs-item-symbol{width:60px;height:60px}.rs-product-text,.rs-product-buy{padding:var(--rs-space-2)}.rs-product-controls{gap:var(--rs-space-1)}.rs-product-controls input{width:64px}.rs-product-controls button{min-width:90px}.rs-recovery-member{flex-wrap:wrap;padding:var(--rs-space-2)}.rs-recovery-actions{width:100%;justify-content:flex-end}.rs-recovery-actions label{display:flex;align-items:center;gap:var(--rs-space-1)}.rs-recovery-actions input{width:80px;margin-top:0}.rs-recovery-stock{flex-wrap:wrap;gap:var(--rs-space-1)}.rs-recovery-stock span{width:100%}.rs-presets{grid-template-columns:1fr}.rs-preset-portraits{gap:0}.rs-preset-portraits>div{flex:1}.rs-preset-portraits .rs-portrait{width:52px;height:61px}.rs-preset-current form{align-items:stretch;flex-direction:column}.rs-preset-current form label{max-width:none}}@media(prefers-reduced-motion:reduce){.release-screen *{animation:none!important;transition:none!important}}.rs-gacha-screen{max-width:960px;--rs-stage-height:clamp(240px,38vh,350px);--rs-glow:color-mix(in srgb,var(--rs-accent) 22%,transparent)}.rs-gacha-screen .rs-heading{margin-bottom:var(--rs-space-2)}.rs-gacha-screen h1{font-size:1.5rem;letter-spacing:.08em}.rs-gacha-screen .rs-wallet small{display:none}.rs-gacha-screen .rs-wallet strong{font-size:1.25rem}.rs-gacha-screen .rs-heading-tools{flex-direction:row}.rs-gacha-panel{overflow:hidden;border:1px solid var(--rs-border);border-radius:var(--rs-radius-lg);background:var(--rs-bg);box-shadow:var(--rs-shadow)}.rs-gacha-screen .rs-gacha-stage{min-height:var(--rs-stage-height);margin:0;border:0;border-radius:0;box-shadow:none;background:linear-gradient(0deg,#0009,transparent 65%),url(/assets/fullscreen/grove-wide-v1.webp) center/contain no-repeat,url(/assets/fullscreen/grove-preview-v1.webp) center/contain no-repeat,#000}.rs-gacha-visual{height:var(--rs-stage-height);position:relative;display:grid;place-items:center;padding:var(--rs-space-3);isolation:isolate}.rs-summon-glow{position:absolute;width:360px;max-width:95%;height:100%;background:radial-gradient(ellipse at 50% 65%,var(--rs-glow),transparent 65%);z-index:-1}.rs-summon-glow:after{content:"";position:absolute;bottom:13%;left:15%;width:70%;height:15%;border:1px solid var(--rs-accent);border-radius:50%;box-shadow:0 0 30px var(--rs-glow),inset 0 0 25px var(--rs-glow)}.rs-gacha-visual>.rs-portrait{width:180px;height:210px;max-height:85%;object-fit:contain;align-self:end;margin-bottom:var(--rs-space-3)}.rs-gacha-screen .rs-gacha-options{padding:var(--rs-space-3);gap:var(--rs-space-2);max-width:760px;margin:auto}.rs-gacha-guarantee{grid-column:1 / -1;display:flex;flex-wrap:wrap;justify-content:center;gap:.35rem 1rem;color:var(--rs-text);font-size:.9rem}.rs-exchange-list article{padding:var(--rs-space-3);border:1px solid var(--rs-border);border-radius:var(--rs-radius);margin-top:var(--rs-space-2)}.rs-exchange-symbol{display:grid;place-content:center;width:104px;height:128px;border:3px solid #e7be67;border-radius:10px;background:#17392d;color:#ffe5a5;font-size:48px;font-weight:700;text-align:center;box-shadow:0 0 24px #e7be6740}.rs-exchange-symbol small{font-size:16px}.rs-exchange-list>article{overflow:auto}body.phone-game .rs-detail-pages>[data-rs-guarantee-details]{overflow:auto}.rs-gacha-screen .rs-pull{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.2rem var(--rs-space-2);min-height:92px;text-align:left;padding:var(--rs-space-2) var(--rs-space-3)}.rs-pull>span{font-size:.8rem;font-weight:700}.rs-pull>strong{font-size:1.45rem;grid-row:2;white-space:nowrap}.rs-pull>small{grid-column:2;grid-row:1 / 3;font-size:.85rem;white-space:nowrap}.rs-pull:disabled>strong{font-size:1rem;white-space:normal}.rs-gacha-screen .rs-gacha-result{min-height:var(--rs-stage-height);justify-content:center;background:linear-gradient(90deg,transparent,var(--rs-bg),transparent)}.rs-gacha-screen .rs-result-image{background:none}.rs-gacha-screen .rs-gacha-result h2{font-size:1.8rem}.rs-gacha-screen .rs-gacha-result p:not(.rs-kicker){color:var(--rs-muted);font-size:.9rem}.rs-gacha-screen .rs-result-reward{font-size:1rem;margin:.4rem 0 0}.rs-gacha-screen .rs-probabilities{margin:var(--rs-space-1) 0 0;font-size:.8rem}.rs-gacha-screen .rs-probabilities>summary{width:max-content;max-width:100%;margin-left:auto;color:var(--rs-muted);min-height:44px;display:list-item;align-content:center}.rs-gacha-screen .rs-probabilities[open]{padding:var(--rs-space-2);border:1px solid var(--rs-border);border-radius:var(--rs-radius)}.rs-gacha-screen .rs-probabilities p+p{margin-top:var(--rs-space-1)}.rs-gacha-screen .rs-notice:not(.rs-error){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:650px){.rs-gacha-screen{--rs-stage-height:240px}.rs-gacha-screen .rs-heading-tools{gap:var(--rs-space-1)}.rs-gacha-screen .rs-gacha-options{grid-template-columns:1fr 1fr;padding:var(--rs-space-2);gap:var(--rs-space-1)}.rs-gacha-screen .rs-pull{display:flex;flex-direction:column;justify-content:center;text-align:center;gap:.25rem;padding:.75rem .5rem;min-height:110px}.rs-pull>strong{font-size:1.25rem}.rs-pull>small{font-size:.75rem}.rs-gacha-screen .rs-gacha-result{gap:var(--rs-space-1);padding:var(--rs-space-2)}.rs-gacha-screen .rs-gacha-result h2{font-size:1.4rem}.rs-gacha-screen .rs-result-image{width:110px}}@media(max-height:550px)and (orientation:landscape){.rs-gacha-screen{--rs-stage-height:210px;padding-top:var(--rs-space-1)}.rs-gacha-panel{display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:center}.rs-gacha-screen .rs-gacha-options{grid-template-columns:1fr;width:100%;padding:var(--rs-space-2)}.rs-gacha-screen .rs-pull{min-height:78px;padding:.65rem var(--rs-space-2)}.rs-gacha-screen .rs-pull>strong{font-size:1.2rem}.rs-gacha-screen .rs-pull:disabled>strong{font-size:.9rem}.rs-gacha-visual>.rs-portrait{width:135px;height:158px;margin-bottom:var(--rs-space-1)}.rs-gacha-screen .rs-result-image{width:120px;min-height:150px}.rs-gacha-screen .rs-result-image .rs-portrait{width:120px;height:140px}.rs-gacha-screen .rs-gacha-result{padding:var(--rs-space-2);gap:var(--rs-space-1)}}#gacha-intro-dialog,body.phone-game dialog#gacha-intro-dialog:not(#orientation-gate){position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#000;color:#fff5d9;zoom:1;overflow:hidden;box-shadow:none}#gacha-intro-dialog[open]{display:block}#gacha-intro-dialog::backdrop{background:#000;backdrop-filter:none}#gacha-intro-dialog video{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain;background:#000;background-image:url(/assets/brand/gathering-v3.webp),var(--loading-art);background-position:center;background-size:contain;background-repeat:no-repeat}#gacha-intro-dialog .gacha-intro-skip{position:absolute;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));min-width:108px;min-height:44px;padding:10px 20px;border:1px solid #e3c88a;border-radius:8px;background:#102e24e6;color:#fff5d9;font-size:16px;cursor:pointer}#gacha-intro-dialog .gacha-intro-loading{position:absolute;bottom:max(72px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);margin:0;padding:8px 16px;border-radius:8px;background:#102e24e6;text-align:center;color:#fff5d9;pointer-events:none}.rs-shop-screen .rs-collection-tools{align-items:center;flex-wrap:wrap;justify-content:space-between}.rs-shelf-tabs{display:flex;gap:6px;flex-wrap:wrap}.rs-shelf-tabs button[aria-pressed=true]{background:var(--rs-accent);color:var(--rs-on-accent);border-color:var(--rs-accent)}.rs-shelf-tabs small{font-size:.8em}.rs-shelf-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:8px 0}.rs-shelf-heading h2,.rs-shelf-heading p{margin:0}.rs-shelf-heading p{font-size:.85rem;color:var(--rs-muted);font-variant-numeric:tabular-nums}.rs-product-rank{display:inline-block;font-size:.75rem;font-weight:700;color:var(--rs-accent)}.rs-product-featured{border-color:var(--rs-accent);box-shadow:inset 0 3px 0 var(--rs-accent)}body.phone-game .rs-shop-screen .rs-collection-tools{flex:none;margin:0;gap:6px}body.phone-game .rs-shelf-tabs{flex-wrap:nowrap;gap:4px}body.phone-game .rs-shelf-tabs button{padding:4px 9px;font-size:14px}body.phone-game .rs-shelf-heading{flex:none;margin:0;min-height:24px}body.phone-game .rs-shelf-heading h2{font-size:16px}body.phone-game .rs-shelf-heading p{font-size:12px}body.phone-game .rs-product-rank{font-size:11px;line-height:1.2}body.phone-game .rs-shop-screen .rs-content .rs-products{grid-template-rows:repeat(2,minmax(0,1fr))}body.phone-game .rs-shop-screen .rs-content .rs-products .rs-product-buy{display:contents}body.phone-game .rs-shop-screen .rs-content .rs-products .rs-product-price{display:block;grid-column:2;grid-row:2;text-align:left}body.phone-game .rs-shop-screen .rs-content .rs-products .rs-product-price>strong{font-size:15px}body.phone-game .rs-shop-screen .rs-content .rs-products .rs-product-text>p,body.phone-game .rs-shop-screen .rs-content .rs-products .rs-stock,body.phone-game .rs-shop-screen .rs-content .rs-products [data-rs-total]{display:none}body.phone-game .rs-shop-screen .rs-content .rs-products .rs-product-text h2 button{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rs-price-rank,body.phone-game .rs-shop-screen .rs-content .rs-products .rs-product-rank{display:none}body.phone-game .rs-shop-screen .rs-content .rs-products .rs-price-rank{display:inline;font-weight:700;color:var(--rs-accent)}body.phone-game .rs-shop-screen .rs-content .rs-products .rs-quantity-multiple .rs-product-price>strong{display:none}body.phone-game .rs-shop-screen .rs-content .rs-products .rs-quantity-multiple [data-rs-total]{display:block;font-size:15px;color:var(--rs-text)}.ranked-cpu-option{display:flex;align-items:center;gap:.6rem;margin:.3rem 0;font-size:.85em;line-height:1.4;cursor:pointer}.ranked-cpu-option input{width:1.3rem;height:1.3rem;flex-shrink:0}.ranked-cpu-option small{display:block;font-size:.85em}.mobile-paged{min-width:0;min-height:0;touch-action:pan-y pinch-zoom;overscroll-behavior:contain}.mobile-paged>[hidden],.mobile-pager[hidden]{display:none!important}.mobile-paged:focus-visible{outline:2px solid var(--phone-gold,#a4752b);outline-offset:3px}.mobile-pager{display:flex;flex:none;align-items:center;justify-content:center;gap:16px;min-height:44px;margin:5px 0 0;color:var(--phone-ink,#3e2c1c);user-select:none}.mobile-pager-button{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0 10px;border:1px solid var(--phone-gold,#a4752b);border-radius:10px;background:var(--phone-paper,#f8edcc);color:var(--phone-ink,#3e2c1c);box-shadow:0 2px #68472226;font:700 28px/1 Georgia,serif;cursor:pointer;touch-action:manipulation}.mobile-pager-button:hover:not(:disabled){background:#fff6d9}.mobile-pager-button:active:not(:disabled){transform:translateY(1px);box-shadow:none}.mobile-pager-button:focus-visible{outline:2px solid var(--phone-ink,#3e2c1c);outline-offset:2px}.mobile-pager-button:disabled{color:#9d9585;border-color:#c7bda5;background:#e7deca;box-shadow:none;cursor:default}.mobile-pager-count{min-width:54px;text-align:center;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}@media(prefers-reduced-motion:reduce){.mobile-paged,.mobile-pager-button{transition:none!important}}img.item-illustration{object-fit:contain;flex-shrink:0;vertical-align:middle}body.phone-game{--phone-paper:#f6e9ca;--phone-paper-deep:#e6d1a5;--phone-ink:#39291c;--phone-muted:#716046;--phone-gold:#a56e21;--phone-line:#baa16f;--phone-soft:#fcf5e3;--phone-shadow:#51341733;--phone-forest:#31574a;--text:var(--phone-ink);--muted:var(--phone-muted);--gold:var(--phone-gold);--line:var(--phone-line);--bg:var(--phone-paper);--panel:var(--phone-soft);--release-text:var(--phone-ink);--release-muted:var(--phone-muted);--release-line:var(--phone-line);--release-accent:var(--phone-gold);--release-bg:var(--phone-paper);--release-surface:var(--phone-soft);font-family:Yu Gothic UI,Meiryo,sans-serif;font-size:16px;background:radial-gradient(ellipse at 50% 35%,#8b785c,#413b32);color:var(--phone-ink);height:100dvh;margin:0;overflow:hidden;display:grid;place-items:center;overscroll-behavior:none}.phone-game *{box-sizing:border-box}.phone-game [hidden]{display:none!important}#game-frame{position:relative;flex:none;border-radius:14px;box-shadow:0 0 0 5px #5a432a,0 0 0 7px #bd9860,0 20px 75px #19120888;background:var(--phone-paper);overflow:hidden;isolation:isolate}#game-device{width:var(--phone-width,800px);height:450px;zoom:var(--phone-scale,1);display:flex;flex-direction:column;overflow:hidden;background:radial-gradient(ellipse at 60% 5%,var(--phone-soft),transparent 75%),var(--phone-paper)}body.phone-game .header{height:74px;min-height:74px;padding:0 8px;gap:4px;flex-wrap:nowrap;border:0;border-bottom:1px solid var(--phone-line);background:linear-gradient(var(--phone-soft),var(--phone-paper-deep));box-shadow:0 2px 8px var(--phone-shadow);z-index:2;display:flex;align-items:center}body.phone-game .header nav{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));flex:1;gap:3px;overflow:hidden;width:auto;margin:0}body.phone-game .header nav .nav{height:68px;min-height:68px;padding:3px 2px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--phone-muted);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;font-size:13px;line-height:1.2;white-space:nowrap}.phone-nav-icon{font:28px Georgia,serif;height:30px;color:var(--phone-gold)}body.phone-game .phone-catalogue .phone-tech-rows{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:55px;gap:5px}body.phone-game .phone-catalogue .catalogue-tech summary{height:100%;min-height:0;padding:4px;flex-direction:column;justify-content:center;gap:3px;text-align:center;list-style:none}body.phone-game .phone-catalogue .catalogue-tech summary::-webkit-details-marker{display:none}body.phone-game .phone-catalogue .catalogue-tech .technique-name{font-size:11.5px;line-height:1.2;gap:3px;justify-content:center;overflow-wrap:anywhere}body.phone-game .phone-catalogue .catalogue-tech summary>span{font-size:10px;margin:0;line-height:1.2}body.phone-game .phone-catalogue .technique-weapon,body.phone-game .phone-catalogue .technique-weapon .gear-icon{width:15px;height:15px}.phone-nav-icon svg{display:block;width:1em;height:1em}.phone-catalogue-switch{display:flex;gap:6px}.phone-catalogue-switch button{min-height:36px;padding:5px 16px}.phone-catalogue-switch button[aria-pressed=true]{background:#8b571f;color:#fff8eb}.phone-catalogue-mode{display:flex;flex-direction:column;flex:1;min-height:0}.phone-catalogue-mode[hidden]{display:none}body.phone-game .header nav .nav.active{background:var(--phone-soft);border-color:var(--phone-line);box-shadow:inset 0 -3px var(--phone-gold);color:var(--phone-ink);font-weight:700}body.phone-game .header .admin-link,body.phone-game .header .sound-toggle,body.phone-game #account-bar{display:none!important}body.phone-game #app{height:394px;min-height:0;max-width:none;width:100%;margin:0;padding:10px 12px;overflow:hidden;flex:1;position:relative;color:var(--phone-ink);font-size:16px}.phone-game button,.phone-game select,.phone-game input{font:inherit;color:var(--phone-ink)}.phone-game button,.phone-game select{border:1px solid var(--phone-line);border-radius:7px;background:var(--phone-soft);min-height:44px;padding:7px 12px;cursor:pointer}.phone-game button:hover:not(:disabled){background:var(--phone-paper-deep);border-color:var(--phone-gold)}.phone-game button.primary{background:linear-gradient(#e9c47b,#d4a74f);color:var(--phone-ink);border-color:var(--phone-gold);font-weight:700}.phone-game button:disabled{opacity:1;background:var(--phone-paper-deep);color:var(--phone-muted);cursor:default}.phone-game :is(button,input,select,summary,a):focus-visible{outline:3px solid var(--phone-gold);outline-offset:2px}.phone-game :is(h1,h2,h3,p){margin-top:0}.phone-game h1{font-size:22px}.phone-game h2{font-size:18px}.phone-game h3{font-size:16px}.phone-game .panel{background:var(--phone-soft);color:var(--phone-ink);border:1px solid var(--phone-line);border-radius:9px;box-shadow:none}.phone-game .subtext,.phone-game .eyebrow,.phone-game .count{color:var(--phone-muted)}.phone-game .intro{margin:0 0 10px;min-height:36px;display:flex;align-items:center}.phone-game .intro h1{margin:0;font-size:22px}.phone-game .intro p{font-size:13px;margin:3px 0 0}.phone-game .intro .eyebrow{display:none}.phone-game .panel-head{padding:6px 10px;margin:0;min-height:32px;display:flex;align-items:center;justify-content:space-between}.phone-game .panel-head h2{margin:0;font-size:16px}.phone-game .empty-state{padding:24px 12px;font-size:16px}.phone-page-tabs{display:flex;gap:6px;align-items:center;min-height:44px;flex:none;margin:0 0 8px}.phone-page-tabs button{min-height:40px;font-size:14px;padding:6px 14px}.phone-page-tabs button[aria-pressed=true]{background:var(--phone-gold);color:var(--phone-soft)}.phone-tab-panels{min-height:0;flex:1;overflow:hidden}.phone-tab-panel{height:100%;min-height:0;overflow:hidden}.phone-game .mobile-pager{flex:none;margin:4px 0 0;min-height:40px}.phone-game .mobile-pager button{min-height:40px}.phone-home{display:grid;height:100%;grid-template-columns:minmax(0,1fr) 230px;grid-template-rows:42px minmax(0,1fr);gap:8px 12px}.phone-player{grid-column:1/-1;display:flex;align-items:center;gap:14px;padding:0 4px}.phone-player h1{margin:0;font-size:22px}.phone-player span{font-size:14px;color:var(--phone-muted)}.phone-player b{color:var(--phone-gold);font-size:20px}.phone-game .phone-home .release-hero{display:flex;flex-direction:column;min-height:0;padding:12px;border-radius:10px;overflow:hidden;background:linear-gradient(0deg,#000c,transparent 85%),url(/assets/fullscreen/grove-wide-v1.webp) center/cover no-repeat,url(/assets/fullscreen/grove-preview-v1.webp) center/cover no-repeat,#000;box-shadow:none;border:1px solid var(--phone-line)}.phone-game .phone-home .hero-copy{display:none}.phone-game .phone-home .hero-party{display:flex;justify-content:center;align-items:flex-end;gap:2px;width:100%;min-width:0;flex:1;padding:0;margin:0}.phone-game .phone-home .hero-party>button,.phone-game .phone-home .empty-party-slot{width:20%;height:100%;min-width:0;min-height:0;max-width:none;background:transparent;border:0;color:#fff4d8;box-shadow:none;padding:0 0 8px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;border-radius:0}.phone-game .phone-home .hero-party .portrait{width:100%;height:auto;max-height:calc(100% - 24px);min-height:0;flex:none;max-width:100%;aspect-ratio:96/112;object-fit:contain;object-position:center bottom}.phone-game .phone-home .hero-party b{font-size:15px;line-height:24px;flex:none}.phone-game .phone-home .hero-party small{display:none}.phone-game .phone-home .empty-party-slot>b{font-size:32px}.phone-home-actions{display:flex;justify-content:center;gap:8px;margin-top:16px;padding:8px 0}.phone-home-actions button{flex:0 1 270px;min-height:48px;font-size:16px}.phone-game .phone-home .release-notice{padding:7px;margin:5px 0 0;background:#fff1cc;color:var(--phone-ink);font-size:12px;border:0;border-radius:5px}.phone-home-side{display:flex;flex-direction:column;gap:8px;min-height:0}.phone-game .phone-home .arena-preview{display:flex;min-height:64px;padding:8px;gap:8px;align-items:center}.phone-game .phone-home .arena-preview img{width:72px;height:48px;border-radius:5px;object-fit:cover}.phone-game .phone-home .arena-preview h2{font-size:15px;margin:0}.phone-game .phone-home .arena-preview p{font-size:11px;margin:3px 0 0}.phone-game .phone-home .arena-preview .eyebrow{display:none}.phone-game .phone-home .release-play{padding:8px;display:flex;flex-direction:column;gap:5px;flex:1;min-height:0}.phone-game .phone-home .release-play .panel-head{padding:0;min-height:22px}.phone-game .phone-home .release-play p,.phone-game .phone-home .release-play>small,.phone-game .phone-home .rank-chip{display:none}.phone-game .phone-home .release-play button{min-height:42px;padding:7px;font-size:14px}.phone-game .phone-home .cpu-level{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:0}.phone-game .phone-home .cpu-level select{min-height:28px;padding:2px 6px;font-size:12px}.phone-game .phone-home .release-play .count{font-size:11px}.phone-party{display:flex;flex-direction:column;height:100%;min-height:0}.phone-party-main{display:grid;grid-template-columns:320px minmax(0,1fr);gap:10px;height:100%}.phone-party .roster-panel{display:flex;flex-direction:column;min-height:0;padding:0 8px 4px}.phone-party .roster-panel .panel-head{padding:3px 0}.phone-party .roster-panel .roster-help,.phone-party .roster-panel>.family-visit-button,.phone-party .roster-panel>#open-recovery{display:none}.phone-party .roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:65px;gap:4px;padding:0;margin:0;overflow:hidden;min-height:0;flex:1;align-content:start;max-height:none}.phone-party .roster .reserve-heading{display:none}.phone-party .roster-item{display:flex;gap:3px;padding:3px;min-height:0;background:var(--phone-paper);border:1px solid var(--phone-line);font-size:13px;max-width:100%}.phone-party .roster-item.selected{border-color:var(--phone-gold);background:var(--phone-paper-deep)}.phone-party .roster-item.chosen{outline:2px solid var(--phone-gold);outline-offset:-2px}.phone-party .roster-item .portrait{width:42px;height:49px;flex:none}.phone-party .roster-name{font-size:13px}.phone-party .roster-meta{font-size:10px;line-height:1.3;overflow-wrap:anywhere}.phone-party .roster-item small{font-size:10px}.phone-party .roster-tools{padding:0;display:flex;gap:5px;align-items:center;min-height:36px}.phone-party #roster-selection{font-size:11px;line-height:1.3;margin:0;flex:1}.phone-party #selected-detail{min-height:34px;font-size:12px;padding:3px 10px}.phone-party .formation-area{padding:0 10px 8px}.phone-party .formation-picker{margin:0;gap:6px}.phone-party .formation-picker select{min-height:30px;font-size:13px;padding:3px 8px;max-width:100%}.phone-party .formation-picker>span{display:none}.phone-party .field-label{font-size:11px;margin:4px 0}.phone-party .grid-field{max-width:250px;margin:auto;padding:0}.phone-party .formation-grid{grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(5,36px);gap:2px;height:188px;max-height:none}.phone-party .cell{padding:0;min-height:0;border-radius:4px}.phone-party .cell.empty{background:var(--phone-paper-deep)}.phone-party .cell .portrait{width:33px;height:36px;object-fit:contain}.phone-party .formation-help{font-size:11px;line-height:1.3;margin:4px 0}.phone-party .formation-desc{font-size:13px;line-height:1.65;margin:0}.phone-party .formation-desc p{margin:6px 0}.phone-party .party-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px}.phone-party .party-row{padding:0;border:0;min-width:0}.phone-party .party-details{display:grid;grid-template-columns:50px 1fr;gap:5px;padding:8px;min-height:104px;background:var(--phone-paper);border:1px solid var(--phone-line);width:100%;text-align:left}.phone-party .party-details .portrait{width:50px;height:59px}.phone-party .party-details .info b{font-size:16px}.phone-party .party-details .info small{font-size:11px;line-height:1.4;display:block}.phone-party .party-details>.resources,.phone-party .party-details>.loadout{display:none}.phone-party .bond-panel{padding:12px}.phone-party .bond-list{display:grid;gap:8px}.phone-party .bond{padding:8px;background:var(--phone-paper)}.phone-catalogue,.phone-history{display:flex;flex-direction:column;height:100%;min-height:0}.phone-catalogue .catalogue-groups{min-height:0;flex:1;display:block;overflow:hidden}.phone-catalogue .catalogue-group{height:100%;padding:8px;display:flex;flex-direction:column;min-height:0}.phone-catalogue .catalogue-group>h2{display:none}.phone-tech-rows{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:62px;gap:6px;flex:1;min-height:0;align-content:start;overflow:hidden}.phone-game .catalogue-tech{margin:0;padding:0;min-width:0;border:1px solid var(--phone-line);border-radius:6px;background:var(--phone-paper)}.phone-game .catalogue-tech summary{min-height:60px;padding:8px;font-size:14px;display:flex;align-items:center;justify-content:space-between;gap:5px;cursor:pointer}.phone-game .catalogue-tech summary>span{font-size:11px;flex:none}.phone-game .technique-name{font-size:14px}.phone-game .technique-weapon{width:22px;height:22px}.phone-game .art-element{font-size:11px;color:var(--phone-muted)}.phone-history .history-list{flex:1;min-height:0;align-content:start;grid-auto-rows:65px;gap:7px;overflow:hidden}.phone-history .history-row{padding:8px;font-size:12px;gap:8px}.phone-history .history-row .result-label{font-size:14px;width:86px;letter-spacing:1px}.phone-history .history-row time{font-size:10px}body.phone-game dialog:not(#orientation-gate){zoom:var(--phone-scale,1);width:740px;height:370px;max-width:none;max-height:none;margin:auto;padding:12px;border:2px solid var(--phone-line);border-radius:12px;background:var(--phone-paper);color:var(--phone-ink);overflow:hidden;box-shadow:0 10px 50px #271c1488;font-size:16px}body.phone-game dialog::backdrop{background:#281c1466;backdrop-filter:blur(3px)}.phone-game dialog .dialog-top{height:52px;gap:10px;margin-bottom:8px}.phone-game dialog .dialog-top .portrait{width:44px;height:51px}.phone-game dialog .dialog-top h2{font-size:21px;margin:0}.phone-game dialog .dialog-top .eyebrow{font-size:11px;margin:0}.phone-game dialog .close{width:44px;height:44px;min-height:44px;padding:0;align-self:center;margin-left:auto;font-size:24px;flex:none}.phone-dialog-layout{display:flex;flex-direction:column;height:100%;min-height:0}.phone-dialog-layout .phone-tab-panels{flex:1}.phone-dialog-layout .phone-page-tabs{gap:5px;min-height:38px;margin-bottom:6px}.phone-dialog-layout .phone-page-tabs button{font-size:13px;min-height:36px;padding:5px 12px}.phone-dialog-layout .resources{display:flex;gap:15px;justify-content:space-between;margin:8px 0}.phone-dialog-layout .resources small{font-size:12px}.phone-dialog-layout .resources b{font-size:20px}.phone-dialog-layout .resources em{font-size:12px}.phone-dialog-layout .stat-grid{margin:8px 0;gap:6px}.phone-dialog-layout .stat-grid>div{background:var(--phone-soft);padding:8px}.phone-dialog-layout .stat-grid small{font-size:12px}.phone-dialog-layout .stat-grid b{font-size:20px;margin:0}.phone-dialog-layout .family-aptitudes{font-size:13px;line-height:1.5;margin:8px 0}.phone-dialog-layout .shield-summary{font-size:12px}.phone-dialog-layout .life-recovery{padding:8px;display:flex;align-items:center;gap:10px;background:var(--phone-soft)}.phone-dialog-layout .life-recovery p{font-size:12px;margin:3px 0}.phone-dialog-layout .save-warning{font-size:12px;padding:6px;margin:0 0 6px}.phone-dialog-layout .equipment-fields{margin:0}.phone-dialog-layout .equipment-group{margin:0 0 6px}.phone-dialog-layout .equipment-group h3{font-size:14px;margin:0 0 4px}.phone-dialog-layout .equipment-slot{min-height:44px;padding:5px;font-size:13px}.phone-dialog-layout .dialog-note{font-size:12px;line-height:1.4;margin:4px 0}.phone-dialog-layout .initial-orders{padding:0;margin:0}.phone-dialog-layout .initial-orders>div{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.phone-dialog-layout .initial-orders button{font-size:13px;min-height:42px;margin:0;padding:5px}.phone-dialog-layout .known-techniques{padding:0;margin:0}.phone-dialog-layout .technique-list{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.phone-dialog-layout .technique-list>details{margin:0;background:var(--phone-soft);border:1px solid var(--phone-line)}.phone-dialog-layout .technique-list summary{font-size:13px;min-height:45px;padding:6px}.phone-dialog-layout .skill-description{padding:10px;background:var(--phone-soft);line-height:1.6;font-size:14px;margin:0}.phone-dialog-layout .skill-description small{font-size:12px}.phone-dialog-layout .skill-description p{margin:8px 0}.phone-dialog-layout .technique-holders{font-size:13px;line-height:1.7}.phone-game #settings-dialog .audio-settings{padding:0;display:flex;flex-direction:column;gap:8px}.phone-game #settings-dialog .volume-control{display:grid;grid-template-columns:1fr auto;gap:2px;margin:0}.phone-game #settings-dialog input[type=range]{grid-column:1/-1;width:100%;height:38px;margin:0;accent-color:var(--phone-gold)}.phone-game #settings-dialog .audio-settings-actions{display:flex;gap:8px;align-items:center}.phone-game #settings-dialog .subtext{font-size:12px;margin:0}.phone-game #settings-dialog .account-settings{border:0;padding:8px 0;margin:0}.phone-game #settings-dialog .account-settings form{display:flex;align-items:flex-end;gap:12px}.phone-game #settings-dialog .account-settings input{display:block;min-height:40px;padding:6px;background:var(--phone-soft);border:1px solid var(--phone-line);margin-top:5px}.phone-game #settings-dialog .account-settings p{font-size:13px;line-height:1.5}.phone-admin-link{display:inline-flex;align-items:center;min-height:44px;color:var(--phone-gold)}.phone-game #toast{zoom:var(--phone-scale,1);font-size:13px;bottom:calc(50% - 205px * var(--phone-scale,1));padding:8px 14px;background:var(--phone-gold);color:var(--phone-soft);max-width:650px;z-index:100}body.phone-game.in-battle #game-device{zoom:1;width:100%;height:100%}body.phone-game.in-battle .header{height:44px;min-height:44px}.phone-game.in-battle .header nav .nav{min-height:40px;height:40px;font-size:10px}.phone-game.in-battle .phone-nav-icon{font-size:16px;height:18px}@media(prefers-reduced-motion:reduce){.phone-game *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}body.phone-game .phone-page-tabs>button[aria-pressed=true],body.phone-game .phone-page-tabs>button[aria-pressed=true]:hover{background:#80531c;color:var(--phone-soft);border-color:#80531c}.phone-page-tabs>select{max-width:300px;min-width:160px;min-height:40px}.phone-page-tabs>.mobile-pager{margin:0 0 0 auto;gap:8px}.phone-page-tabs>.mobile-pager .mobile-pager-count{min-width:42px}body.phone-game .header nav{order:0;flex-basis:0}.phone-game .header,.phone-home,.mobile-paged{user-select:none;touch-action:pan-y pinch-zoom}.phone-game input,.phone-game textarea{user-select:text}body.phone-game #settings-dialog .audio-settings{gap:6px}body.phone-game #settings-dialog .volume-control{font-size:14px;line-height:20px}body.phone-game #settings-dialog input[type=range]{height:30px;min-height:30px}body.phone-game #settings-dialog .command-memory-setting{min-height:34px;display:flex;align-items:center;gap:6px;font-size:14px}body.phone-game #settings-dialog .command-memory-setting input{width:18px;height:18px;accent-color:var(--phone-gold)}body.phone-game .phone-home .release-hero{gap:0;align-items:stretch}.phone-home-actions{width:100%;flex:none}.phone-home-actions button{white-space:nowrap;padding:7px 8px}body.phone-game .phone-home .hero-party{min-height:0;align-self:stretch}body.phone-game .phone-home .empty-party-slot>b{height:100px}body.phone-game .phone-home .arena-preview{flex:none;height:76px}body.phone-game .phone-home .arena-preview>div{padding:0;min-width:0}body.phone-game .phone-home .arena-preview p{line-height:1.4}body.phone-game .phone-home .arena-preview strong{color:#80531c}body.phone-game .phone-home .release-play{flex:1;padding:8px;gap:5px}body.phone-game .phone-home .release-play .primary{margin:0}body.phone-game .phone-home .release-play .panel-head{flex:none}body.phone-game .phone-home .release-play:has(#start-cpu){flex:1.3;padding-bottom:12px}body.phone-game .phone-party-organized>.phone-tab-panels{padding:0 22px}body.phone-game .phone-party-organized>.phone-page-tabs{padding:0 22px}.phone-edge-host{position:relative}.phone-party .mobile-pager-count{display:none}.phone-party .phone-edge-pager{position:absolute;inset:50% 0 auto;display:flex;justify-content:space-between;pointer-events:none;margin:0;height:60px;z-index:3;transform:translateY(-50%)}body.phone-game .phone-party .phone-edge-pager button{pointer-events:auto;min-width:22px;width:22px;height:60px;min-height:60px;padding:0;background:transparent;border:0;box-shadow:none;color:#80531c;font:32px Georgia,serif;opacity:.48}body.phone-game .phone-party .phone-edge-pager button:hover{opacity:.85;background:transparent}body.phone-game .phone-party .phone-edge-pager button:disabled{opacity:.15}.phone-members{display:grid;grid-template-columns:205px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 18px;gap:6px 10px}.phone-members>section,.phone-rest-members{display:flex;flex-direction:column;min-height:0;padding:6px}.phone-members h2,.phone-rest-members h2{font-size:16px;margin:0 0 5px;min-height:24px;line-height:24px}.phone-member-list{display:grid;min-height:0;gap:4px;flex:1;align-content:start}.phone-active-members .phone-member-list{grid-template-rows:repeat(5,minmax(0,1fr));align-content:stretch}.phone-reserve-members .phone-member-list{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));padding:0 16px}.phone-rest-members .phone-member-list{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));padding:0 16px}body.phone-game .phone-party-organized .phone-member-list .roster-item{height:100%;min-height:0;min-width:0;padding:3px;gap:4px}.phone-party-organized .phone-member-list .roster-item>div{min-width:0}.phone-party-organized .phone-member-list .portrait{width:32px;height:38px}.phone-party-organized .phone-member-list .roster-name{font-size:13px}.phone-party-organized .phone-member-list .roster-meta{font-size:10px;line-height:1.2;margin-top:2px}.phone-party-organized .phone-member-list small{font-size:10px}.phone-members-hint{grid-column:1/-1;margin:0;font-size:11px;color:var(--phone-muted)}.phone-member-empty{grid-column:1/-1;padding:12px;font-size:13px;color:var(--phone-muted)}.phone-care{display:flex;flex-direction:column;padding:10px;gap:8px}.phone-care-rule{margin:0;font-size:14px}.phone-care>.phone-rest-members{flex:1;border:0;padding:0}.phone-care>.phone-rest-members>h2{display:none}.phone-care>#open-recovery{align-self:flex-end;min-height:44px}.phone-party-organized .roster-item.recovering{color:var(--phone-ink);background:var(--phone-paper-deep);border-color:var(--phone-line)}.phone-party-organized .roster-item.recovering small{color:var(--phone-muted)}.phone-formation-page{display:grid;grid-template-columns:320px minmax(0,1fr);gap:10px}.phone-formation-info{display:flex;flex-direction:column;padding:10px;gap:8px}.phone-party .phone-formation-info .formation-desc{flex:1;min-height:0;overflow:hidden;font-size:13px}.phone-party .phone-formation-info .formation-desc p{font-size:12px;line-height:1.5}.phone-formation-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;flex:none}.phone-formation-actions button{font-size:12px;min-height:40px;padding:5px}body.phone-game .phone-party [data-roster],body.phone-game .phone-party [data-slot][data-member]{touch-action:none;cursor:grab}body.phone-game .phone-party .cell.roster-drag-target{border:2px solid #80531c;background:#e7bd6a;box-shadow:inset 0 0 0 2px #fff3cf}body.phone-game .formation-drag-ghost{display:flex;align-items:center;justify-content:center;padding:0;min-height:0}body.phone-game .roster-drag-ghost{color:#fff3d8}body.phone-game .phone-home .release-notice{line-height:1.4;flex:none}.phone-party .phone-tab-panel{min-width:0}.phone-party .phone-tab-panel:has(>.party-list){display:flex;flex-direction:column}.phone-party .party-list{flex:1;grid-auto-rows:104px;align-content:start;min-height:0;overflow:hidden}.phone-party .party-details .info{min-width:0}.phone-party .party-details .info small{overflow-wrap:anywhere}.phone-party .phone-formation-notes{display:flex;flex-direction:column;padding:12px;gap:8px}.phone-notes-body{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);min-height:0;gap:14px;flex:1}.phone-party .phone-notes-body .formation-desc{font-size:14px;overflow:hidden}.phone-party .phone-notes-body .formation-desc p{font-size:13px;line-height:1.6}.phone-party .phone-notes-body .bond-panel{margin:0;padding:8px;min-height:0;display:flex;flex-direction:column}.phone-party .bond-list{flex:1;min-height:0;align-content:start;gap:6px;margin-top:8px}.phone-party .bond{color:var(--phone-ink);font-size:13px}.phone-party .bond small{font-size:12px;line-height:1.4}.phone-party-shortcuts{display:flex;gap:8px;flex:none}.phone-party-shortcuts button{flex:1;font-size:14px;margin:0;min-height:44px}body.phone-game #settings-dialog .account-settings form{flex-direction:row;align-items:flex-end}body.phone-game #settings-dialog .account-settings label{min-width:0;flex:1}body.phone-game #settings-dialog .account-settings form button{white-space:nowrap;flex:none}body.phone-game #settings-dialog .account-settings input{width:100%;min-width:0}body.phone-game #phone-reader[open]{display:flex;flex-direction:column}.phone-reader-pages{flex:1;min-height:0;overflow:hidden}.phone-reader-pages article{padding:16px;background:var(--phone-soft);border:1px solid var(--phone-line);border-radius:8px;white-space:pre-wrap;font-size:16px;line-height:1.8;height:100%;overflow-wrap:anywhere}.phone-game #phone-reader .dialog-top h2{font-size:19px}body.phone-game .phone-result{display:grid;grid-template-columns:290px minmax(0,1fr);gap:16px;width:100%;max-width:none;height:100%;margin:0;padding:18px}.phone-result-overview{display:flex;flex-direction:column;align-items:stretch;min-height:0}.phone-game .phone-result h1{font-size:32px;letter-spacing:3px;margin:10px 0}.phone-result-overview>.eyebrow{font-size:12px;letter-spacing:1px;margin:0}.phone-result-overview>p{font-size:13px;line-height:1.4;margin:0 0 8px}.phone-game .phone-result .result-awards{gap:18px;margin:14px 0}.phone-result .result-awards strong{font-size:27px;color:#80531c}.phone-result .result-awards em{color:var(--phone-forest);font-size:14px}.phone-result-overview>button{margin-top:auto;min-height:48px}.phone-result-details{display:flex;flex-direction:column;min-height:0}.phone-result-details .rewards{margin:0;padding:12px;flex:1;min-height:0;overflow:hidden;background:var(--phone-paper-deep);display:grid;grid-auto-rows:minmax(36px,auto);align-content:start;gap:8px}.phone-game .phone-result .rewards p{margin:0;padding:8px;border-bottom:1px solid var(--phone-line);font-size:14px;line-height:1.5}body.phone-game .phone-catalogue .catalogue-tech .technique-name,body.phone-game .phone-character-detail .technique-list .technique-name{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:3px;width:100%;min-width:0}body.phone-game .phone-catalogue .catalogue-tech .technique-name-long,body.phone-game .phone-character-detail .technique-list .technique-name.technique-name-long{font-size:10px;line-height:1.2}body.phone-game .technique-label{min-width:0;overflow-wrap:anywhere;word-break:normal;text-align:center}body.phone-game .technique-name .technique-weapon{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}body.phone-game .phone-character-detail .technique-weapon .gear-icon{width:14px;height:14px}body.phone-game .history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;margin:0 0 7px}body.phone-game .history-heading h1{font-size:23px;margin:0}body.phone-game .history-heading p{font-size:13px;margin:0}body.phone-game .history-heading p span{margin-left:14px}body.phone-game .history-totals{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex:none}body.phone-game .history-totals section{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 13px;border:1px solid var(--phone-line);border-radius:8px;background:var(--phone-soft)}body.phone-game .history-totals small{font-size:12px}body.phone-game .history-totals b{font-size:17px;word-spacing:8px;font-variant-numeric:tabular-nums}body.phone-game .history-win{color:#23604d}body.phone-game .history-loss{color:#a03938}body.phone-game .history-draw{color:#6a6280}body.phone-game .history-legacy{font-size:9px;color:var(--phone-muted);margin-top:4px}body.phone-game .history-recent-title{font-size:13px;margin:9px 0 5px;flex:none}body.phone-game .phone-history .history-list{grid-auto-rows:minmax(0,1fr);grid-template-rows:repeat(5,minmax(0,1fr));gap:5px;align-content:stretch;min-height:0}body.phone-game .phone-history .history-row{display:grid;grid-template-columns:60px 200px minmax(0,1fr) 91px 8px;gap:8px;padding:5px 8px;text-align:left;min-height:0;border:1px solid var(--phone-line);border-left:3px solid currentColor;border-radius:6px;background:var(--phone-soft);overflow:hidden;box-shadow:none}body.phone-game .phone-history .history-row .result-label{width:auto;color:inherit;font:700 13px/1.2 Yu Gothic UI,Meiryo,sans-serif;letter-spacing:0}body.phone-game .history-match,body.phone-game .history-loot,body.phone-game .history-reward{min-width:0;color:var(--phone-ink);font-size:11px}body.phone-game .history-match b,body.phone-game .history-match small{display:block;font-size:10px;line-height:1.4}body.phone-game .history-match small{color:var(--phone-muted)}body.phone-game .history-loot{font-size:10px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}body.phone-game .history-reward{text-align:right;font-size:11px;white-space:nowrap}body.phone-game .history-reward time{display:block;font-size:9px;color:var(--phone-muted)}body.phone-game .phone-party-organized{display:grid;grid-template-columns:68px minmax(0,1fr) 116px;gap:8px;min-height:0;container-type:inline-size}body.phone-game .phone-party-organized>.phone-page-tabs{display:flex;flex-direction:column;gap:8px;padding:0;border:0;min-width:0;align-items:stretch}body.phone-game .phone-party-organized>.phone-page-tabs>button{min-height:58px;width:100%;padding:8px 4px;font-size:16px}body.phone-game .phone-party-organized>.phone-page-tabs>.mobile-pager{display:none}body.phone-game .phone-party-organized>.phone-tab-panels{padding:0;min-width:0;min-height:0}body.phone-game .phone-party-organized .phone-members{grid-template-columns:180px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:8px;height:100%}body.phone-game .phone-party-organized .phone-members>section{padding:6px;min-width:0}body.phone-game .phone-party-organized .phone-members h2{font-size:17px;margin-bottom:6px}body.phone-game .phone-reserve-members{position:relative}body.phone-game .party-reserve-heading{position:absolute;top:6px;left:6px;right:6px;height:24px;pointer-events:none}body.phone-game .phone-reserve-members>h2{position:relative;pointer-events:none}body.phone-game .party-search-count{position:absolute;left:42px;top:0;font-size:11px;font-weight:400;color:var(--phone-muted);white-space:nowrap}body.phone-game .party-reserve-search{position:absolute;right:0;top:-2px;height:28px;width:calc(100% - 100px);max-width:360px;display:flex;gap:0;margin:0;pointer-events:auto}body.phone-game .party-reserve-search input{box-sizing:border-box;flex:1;min-width:0;width:0;height:28px;min-height:0;margin:0;padding:2px 7px;font:16px/22px Yu Gothic UI,sans-serif;color:var(--phone-ink);background:var(--phone-soft);border:1px solid var(--phone-line);border-radius:5px;touch-action:manipulation}body.phone-game .party-reserve-search input::-webkit-search-cancel-button{display:none}body.phone-game .party-reserve-search button{flex:none;width:28px;height:28px;min-height:0;padding:0;margin:0;border:0;background:transparent;color:var(--phone-ink);font:22px/28px sans-serif;box-shadow:none}body.phone-game .phone-party-organized .phone-member-list{gap:5px;padding:0}body.phone-game .phone-party-organized .phone-member-list .roster-item{padding:4px;gap:5px;align-items:center}body.phone-game .phone-party-organized .phone-active-members .portrait{width:42.9px;height:50.6px;flex:none}body.phone-game .phone-party-organized .phone-reserve-members .portrait,body.phone-game .phone-party-organized .phone-rest-members .portrait{width:52.8px;height:62.7px;flex:none}body.phone-game .phone-party-organized .phone-member-list .roster-name{font-size:14px;line-height:1.3;font-weight:700;overflow-wrap:anywhere}body.phone-game .phone-party-organized .phone-member-list .roster-meta{font-size:11px;line-height:1.3;margin-top:3px}body.phone-game .phone-party-organized .roster-meta span{display:block}body.phone-game .party-tools-rail{display:flex;flex-direction:column;gap:14px;min-width:0;min-height:0}body.phone-game .party-tools-rail .party-equipment-actions{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;width:100%}body.phone-game .party-tools-rail button{width:100%;min-height:max(48px,calc(44px / var(--phone-scale,1)));padding:7px;font-size:14px;white-space:normal;line-height:1.35}body.phone-game .party-tools-rail .party-equipment-actions button{padding:7px 5px;font-size:14px;white-space:normal;line-height:1.35;text-align:center}body.phone-game .party-sort-control label{display:flex;flex-direction:column;gap:5px;font-size:12px}body.phone-game .party-sort-control select{width:100%;min-height:max(44px,calc(44px / var(--phone-scale,1)));padding:6px;font-size:13px}body.phone-game .party-page-tools{margin-top:auto}body.phone-game .party-page-tools .mobile-pager{display:grid;grid-template-columns:1fr;gap:8px;margin:0}body.phone-game .party-page-tools .mobile-pager-count{display:block;text-align:center;grid-row:1;font-size:13px}body.phone-game .party-page-tools .mobile-pager-button{min-height:max(48px,calc(44px / var(--phone-scale,1)));min-width:100%;font-size:16px}body.phone-game .roster-drag-ghost .roster-meta,body.phone-game .roster-drag-ghost small{color:#f5e5bd}@container (max-width:850px){body.phone-game .phone-party-organized .phone-members{grid-template-columns:160px minmax(0,1fr)}body.phone-game .phone-party-organized .phone-reserve-members .roster-item{flex-direction:column;justify-content:center;gap:2px;text-align:center}body.phone-game .phone-party-organized .phone-reserve-members .roster-meta{font-size:10px;margin-top:1px}body.phone-game .phone-party-organized .phone-reserve-members .portrait{height:53.9px;width:46.2px}}.gaisou-form-picker{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:6px 0}body.phone-game .gaisou-form-picker button{min-height:38px;padding:5px;font-size:14px}.gaisou-form-picker small{grid-column:1/-1;font-size:11px;line-height:1.3;color:#80531c}.gaisou-form-picker button[aria-pressed=true]{background:#ecd18f;border-color:#9e6a25;box-shadow:inset 0 0 0 1px #9e6a25}#arena-countdown{display:block;font-size:10px;line-height:1.3;margin-top:3px;font-variant-numeric:tabular-nums;white-space:nowrap}body.phone-game .phone-home .arena-preview:has(#arena-countdown){height:92px;min-height:92px}html{-webkit-text-size-adjust:100%;text-size-adjust:100%;--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px)}body.phone-game{padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);box-sizing:border-box;color-scheme:light}body.phone-game .phone-nav-icon{display:flex;align-items:center;justify-content:center;flex:none;line-height:1}.phone-nav-icon svg{display:block;width:22px;height:22px}body.phone-game .phone-party-organized .roster-name,body.phone-game .phone-party-organized .roster-meta{line-height:1.3}body.phone-game .phone-party-organized .roster-meta>span{display:inline-block;max-width:100%}body.phone-game #settings-dialog .display-settings{overflow:auto;min-height:0;padding:8px 14px 14px;overscroll-behavior:contain;touch-action:pan-y;font-size:15px;line-height:1.55}.display-settings h3{font-size:20px;margin:0 0 10px}.display-settings h4{font-size:16px;margin:12px 0 8px}.display-settings p{margin:8px 0}.display-settings ol{padding-left:24px;margin:8px 0}.display-settings li{margin:8px 0}body.phone-game .display-settings button{min-height:max(44px,calc(44px / var(--phone-scale,1)));padding:8px 20px;font-size:16px}.display-settings [data-display-message]:empty{display:none}.guide-environments{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}body.phone-game .guide-environments button[aria-pressed=true],body.phone-game .guide-environments button[aria-pressed=true]:hover{background:#80551f;color:#fff8e7;border-color:#80551f}.display-settings .guide-steps{list-style:none;counter-reset:guide-step;padding:0;margin:12px 0}.display-settings .guide-steps li{counter-increment:guide-step;display:grid;grid-template-columns:24px 56px minmax(0,1fr);gap:12px;align-items:start;border-top:1px solid #c8af7c;padding:14px 0;margin:0}.guide-steps li:before{content:counter(guide-step);font-weight:700;color:#80551f}.guide-diagram{display:block;width:56px;height:56px;color:#80551f}.guide-steps strong{font-size:17px}.display-settings .guide-steps p{margin:6px 0 0}.display-settings a{color:#734509;text-decoration:underline;text-underline-offset:3px}.guide-copy{margin-top:16px}.guide-copy input,.browser-guide-actions input{width:100%;box-sizing:border-box;font-size:16px}[data-copy-message]:empty,[data-display-message]:empty{display:none}body.phone-game .phone-home{position:relative}body.phone-game .browser-guide-card{position:absolute;z-index:8;left:12px;right:12px;bottom:12px;max-height:calc(100% - 24px);overflow:auto;box-sizing:border-box;padding:16px 20px;border:2px solid #b4843c;border-radius:14px;background:#fcf5e3;color:#3b2b1b;box-shadow:0 8px 24px #35291950;font-size:max(18px,calc(14px / var(--phone-scale,1)));line-height:1.5}.browser-guide-card h2,.browser-guide-dialog h2{font-size:22px;line-height:1.3;margin:0 0 10px}.browser-guide-card p,.browser-guide-dialog p{margin:8px 0}.browser-guide-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:14px 0}.browser-guide-actions [data-game-url],.browser-guide-actions [data-copy-message]{order:2;flex-basis:100%}body.phone-game .browser-guide-card button{min-height:max(44px,calc(44px / var(--phone-scale,1)));padding:8px 20px;font-size:17px}body.phone-game dialog#browser-guide-dialog{zoom:1;width:min(600px,calc(100vw - 32px - var(--safe-left) - var(--safe-right)));max-height:calc(100dvh - 32px - var(--safe-top) - var(--safe-bottom));height:fit-content;box-sizing:border-box;overflow:auto;padding:24px;border:2px solid #b4843c;border-radius:16px;background:#fcf5e3;color:#3b2b1b;font-size:16px;line-height:1.6;overscroll-behavior:contain}body.phone-game .browser-guide-dialog button{min-height:44px;padding:10px 18px;font-size:16px}.browser-guide-dialog::backdrop{background:#30271980}.guide-note,.guide-reminder{font-size:14px;color:#6d5a40;line-height:1.5}body.phone-game #settings-dialog .phone-page-tabs>button{min-height:max(44px,calc(44px / var(--phone-scale,1)));font-size:17px;white-space:normal;line-height:1.25}body.phone-game #settings-dialog .display-settings{font-size:max(16px,calc(14px / var(--phone-scale,1)))}body.phone-game #settings-dialog .display-settings>h3{display:none}body.phone-game .browser-guide-card .guide-reminder{font-size:max(14px,calc(12px / var(--phone-scale,1)))}body.phone-game .login-display-guide{min-height:max(44px,calc(44px / var(--phone-scale,1)));font-size:16px}body.phone-game .release-login:has(.login-display-guide){grid-template-rows:24px minmax(0,1fr) 76px 56px}body.phone-game .release-login:has(.login-display-guide):has(#google-login){grid-template-rows:24px minmax(0,1fr) 52px 56px}body.phone-game .release-login:has(.login-display-guide)>p:not(.eyebrow):not(#login-message){grid-row:3}body.phone-game .release-login>.login-display-guide{grid-column:1;grid-row:4;height:auto;min-height:max(44px,calc(44px / var(--phone-scale,1)));align-self:start}html:fullscreen,html:-webkit-full-screen{background:#413b32}body.phone-game #orientation-gate{padding:max(24px,var(--safe-top)) max(24px,var(--safe-right)) max(24px,var(--safe-bottom)) max(24px,var(--safe-left))}body.phone-game .release-login{width:100%;height:100%;max-width:none;min-height:0;margin:0;padding:22px 26px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);grid-template-rows:24px minmax(0,1fr) 52px 48px;column-gap:32px;row-gap:10px;align-items:start;background:var(--phone-soft);border:1px solid var(--phone-line);border-radius:12px;color:var(--phone-ink)}body.phone-game .release-login>.eyebrow{grid-column:1;grid-row:1;margin:0;font-size:11px;letter-spacing:1px;line-height:1.5;color:var(--phone-muted)}body.phone-game .release-login>h1{grid-column:1;grid-row:2;align-self:center;margin:0;font-size:29px;line-height:1.5;letter-spacing:1px;color:var(--phone-ink)}body.phone-game .release-login>p:not(.eyebrow):not(#login-message){grid-column:1;grid-row:3 / 5;align-self:start;margin:0;font-size:14px;line-height:1.75;color:var(--phone-muted)}body.phone-game .release-login #email-login{grid-column:2;grid-row:1 / 3;align-self:center;display:flex;flex-direction:column;gap:12px;margin:0;min-width:0}body.phone-game .release-login label{display:flex;flex-direction:column;gap:8px;font-size:15px;color:var(--phone-ink)}body.phone-game .release-login input{display:block;width:100%;height:52px;min-height:52px;padding:9px 12px;border:1px solid var(--phone-line);border-radius:7px;background:var(--phone-paper);color:var(--phone-ink);font-size:16px}body.phone-game .release-login input::placeholder{color:var(--phone-muted)}body.phone-game .release-login button{min-height:52px;height:52px;padding:8px 12px;font-size:16px}body.phone-game .release-login #google-login{grid-column:2;grid-row:3;width:100%;background:var(--phone-paper);color:var(--phone-ink)}body.phone-game .release-login #login-message{grid-column:2;grid-row:4;align-self:start;margin:0;font-size:14px;line-height:1.6;color:var(--phone-muted);overflow-wrap:anywhere}body.phone-game #app>.empty-state:only-child{height:100%;margin:0;padding:24px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;text-align:center;color:var(--phone-ink)}body.phone-game #app>.empty-state:only-child h1{font-size:24px;line-height:1.35;margin:0}body.phone-game #app>.empty-state:only-child p{max-width:600px;margin:0;font-size:16px;line-height:1.65;overflow-wrap:anywhere;color:var(--phone-muted)}body.phone-game #app>.empty-state:only-child button{min-height:52px;padding:10px 22px;font-size:16px}body.phone-game .phone-home-side:has(#cancel-match){display:grid;grid-template-rows:76px minmax(0,1fr);gap:8px}body.phone-game .phone-home-side:has(#cancel-match) .release-play:has(#start-cpu){display:none}body.phone-game .phone-home .release-play:has(#cancel-match){gap:12px}body.phone-game .phone-home .release-play:has(#cancel-match) #start-pvp,body.phone-game .phone-home #cancel-match{height:52px;min-height:52px;flex:none;font-size:14px}body.phone-game .phone-home #cancel-match{border-color:var(--phone-gold);background:var(--phone-paper);color:var(--phone-ink)}body.phone-game .phone-home .release-play.pvp-limit-reached:has(#start-pvp){gap:4px;padding:10px 12px;background:linear-gradient(150deg,#31574a,#1d3c32);border-color:#8e8356;color:#fff4d8}body.phone-game .phone-home .pvp-limit-reached .panel-head h2{color:#fff4d8;font-size:14px}body.phone-game .phone-home .pvp-limit-reached:has(#start-pvp)>p:not(.pvp-quota),body.phone-game .phone-home .pvp-limit-reached>small{display:none}body.phone-game .phone-home .pvp-limit-reached:has(#start-pvp)>.pvp-quota{display:block;margin:0;font-size:12px;line-height:1.5;color:#e7dac0}.pvp-membership-offer{display:flex;flex-direction:column;gap:4px;min-height:0}.pvp-member-price{font-size:13px;line-height:1.2;color:#f0ce87}.pvp-member-price strong{font-size:28px;font-weight:750;font-variant-numeric:tabular-nums}.pvp-member-benefit{font-size:14px;line-height:1.35;font-weight:700;letter-spacing:.02em}body.phone-game .phone-home .pvp-membership-offer button{width:100%;min-height:max(44px,calc(44px / var(--phone-scale,1)));display:flex;align-items:center;justify-content:space-between;gap:4px;padding:8px 10px;flex:none;font-size:14px}.pvp-membership-offer button span{font-size:22px;line-height:1}.pvp-member-note{font-size:10px;line-height:1.5;color:#e0d6c0}body.phone-game .release-screen{--rs-bg:var(--phone-paper,#f5e9cb);--rs-elevated:var(--phone-paper,#f5e9cb);--rs-subtle:var(--phone-paper-deep,#ead6aa);--rs-text:var(--phone-ink,#382914);--rs-muted:var(--phone-muted,#705b3a);--rs-border:var(--phone-line,#c8ae78);--rs-accent:var(--phone-gold,#8b5b12);--rs-accent-hover:var(--phone-paper-deep,#ead6aa);--rs-on-accent:var(--phone-paper,#fff2cf);--rs-error:#a3261b;--rs-shadow:0 2px 5px #38291412;--rs-space-1:6px;--rs-space-2:10px;--rs-space-3:14px;--rs-space-4:18px;--rs-radius:8px;--rs-radius-lg:12px;width:100%;height:100%;max-width:none;min-height:0;margin:0;padding:10px 12px;display:flex;flex-direction:column;gap:8px;font-size:15px;line-height:1.45;position:relative;overflow:hidden}body.phone-game .release-screen{box-sizing:border-box;--rs-accent:color-mix(in srgb,var(--phone-gold,#a56e21) 78%,var(--phone-ink,#39291c))}body.phone-game #app:has(>.release-screen){padding:0}body.phone-game .release-screen [hidden]{display:none!important}body.phone-game .rs-notice:empty{display:none}body.phone-game .release-screen h1{font-size:23px;line-height:1.2;letter-spacing:.03em}body.phone-game .release-screen h2{font-size:18px;line-height:1.35}body.phone-game .release-screen h3{font-size:20px;margin:0 0 12px}body.phone-game .release-screen button{min-height:44px;padding:6px 12px;font-size:15px;line-height:1.25;border-radius:var(--rs-radius);touch-action:manipulation}body.phone-game .release-screen input{height:44px;min-height:44px;padding:6px 10px;font-size:16px;background:var(--rs-bg)}body.phone-game .release-screen button.rs-primary{background:var(--rs-accent);color:var(--rs-on-accent)}body.phone-game .release-screen button.rs-primary:disabled{background:var(--rs-subtle);color:var(--rs-muted)}body.phone-game .rs-heading{height:44px;min-height:44px;margin:0!important;gap:12px;align-items:center}body.phone-game .rs-heading>.rs-kicker,body.phone-game .rs-heading .rs-kicker{display:none}body.phone-game .rs-heading-tools{flex-direction:row;align-items:center;gap:14px}body.phone-game .rs-wallet small{display:none}body.phone-game .rs-wallet strong{font-size:20px}body.phone-game .rs-wallet span{font-size:13px}body.phone-game .rs-back{min-width:116px;font-size:14px!important;padding:6px 10px!important}body.phone-game .rs-content{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;gap:6px;position:relative}body.phone-game .rs-notice:not(:empty){position:absolute!important;z-index:8;left:50%;bottom:10px;transform:translate(-50%);width:max-content;max-width:calc(100% - 32px);height:auto;padding:8px 16px;margin:0!important;border:1px solid var(--rs-border);border-radius:var(--rs-radius);background:var(--rs-bg);color:var(--rs-text);box-shadow:var(--rs-shadow);font-size:14px;pointer-events:none}body.phone-game .rs-notice.rs-error{color:var(--rs-error)}body.phone-game .rs-muted{font-size:13px;line-height:1.4}body.phone-game .rs-content>.mobile-pager,body.phone-game .rs-preset-saved>.mobile-pager{flex:none;margin-top:0}body.phone-game .rs-gacha-screen .rs-gacha-panel{display:grid;grid-template-columns:minmax(0,1fr) 262px;flex:1;min-height:0;width:100%;align-items:stretch;background:var(--rs-subtle)}body.phone-game .rs-gacha-screen .rs-gacha-stage{height:100%;min-height:0;background:linear-gradient(0deg,#0008,transparent 60%),url(/assets/fullscreen/grove-wide-v1.webp) center/contain no-repeat,url(/assets/fullscreen/grove-preview-v1.webp) center/contain no-repeat,#000}body.phone-game .rs-gacha-visual{height:100%;min-height:0;padding:12px}body.phone-game .rs-gacha-visual>.rs-portrait{width:180px;height:210px;max-height:85%;align-self:center;margin:15px 0 0}body.phone-game .rs-summon-glow{--rs-glow:#ffdc7666}body.phone-game .rs-summon-glow:after{border-color:#efcc77}body.phone-game .rs-gacha-screen .rs-gacha-options{display:flex;flex-direction:column;justify-content:center;width:100%;max-width:none;margin:0;padding:14px;gap:12px}body.phone-game .rs-gacha-screen .rs-pull{display:grid;grid-template-columns:1fr;gap:4px;min-height:92px;padding:10px 14px;text-align:left}body.phone-game .rs-gacha-screen .rs-pull>span{font-size:14px}body.phone-game .rs-gacha-screen .rs-pull>strong{grid-row:auto;font-size:24px}body.phone-game .rs-gacha-screen .rs-pull>small{grid-column:auto;grid-row:auto;font-size:14px}body.phone-game .rs-gacha-screen .rs-pull:disabled>strong{font-size:17px}body.phone-game .rs-gacha-screen .rs-gacha-info{min-height:44px;padding:4px;font-size:13px;background:transparent}body.phone-game .rs-gacha-screen .rs-gacha-result{height:100%;min-height:0;padding:16px;gap:10px;justify-content:center;background:linear-gradient(90deg,transparent,#173126db,transparent);color:#fff5d9}body.phone-game .rs-gacha-screen .rs-result-image{width:135px;min-height:0;flex:none}body.phone-game .rs-gacha-screen .rs-result-image .rs-portrait{width:135px;height:158px}body.phone-game .rs-gacha-screen .rs-gacha-result h2{font-size:25px;overflow-wrap:anywhere}body.phone-game .rs-gacha-screen .rs-gacha-result p:not(.rs-kicker),body.phone-game .rs-gacha-screen .rs-result-reward,body.phone-game .rs-gacha-result .rs-kicker{color:#ffe4a6;font-size:14px}body.phone-game .rs-gacha-screen .rs-notice:not(.rs-error){position:absolute!important;width:1px;height:1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}body.phone-game .rs-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;flex:none}body.phone-game .rs-detail-pages{flex:1;min-width:0;min-height:0;overflow:hidden}body.phone-game .rs-detail-pages>article{box-sizing:border-box;height:100%;margin:0;min-width:0;max-width:100%;overflow:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;padding:12px 18px;border:1px solid var(--rs-border);border-radius:var(--rs-radius-lg);background:var(--rs-elevated);font-size:15px;line-height:1.55;overflow-wrap:anywhere}body.phone-game .rs-detail-pages>article h3{font-size:18px;margin-bottom:8px}body.phone-game .rs-detail-pages>article p{margin:8px 0}body.phone-game .rs-detail-pages>article>:last-child{margin-bottom:0}body.phone-game .rs-detail-pages p+p{margin-top:12px}body.phone-game .rs-detail-pages>[data-rs-character-rates]{overflow:auto;min-width:0;max-width:100%;box-sizing:border-box}body.phone-game [data-rs-rate-family]{max-width:100%}body.phone-game .rs-rates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px}body.phone-game .rs-rates span{min-width:0;padding:8px 10px;border:1px solid var(--rs-border);border-radius:var(--rs-radius);font-size:14px}body.phone-game .rs-rates b{display:block;font-size:22px;color:var(--rs-accent)}body.phone-game .rs-shop-toolbar{display:flex;flex-direction:row;align-items:center;gap:8px;min-height:44px;margin:0;flex:none}body.phone-game .rs-tabs,body.phone-game .rs-category-tabs{display:flex;flex-wrap:nowrap;gap:4px;margin:0;flex:none}body.phone-game .rs-tabs button{min-width:56px;padding:6px 8px;font-size:15px}body.phone-game .rs-category-tabs button{padding:6px 9px;font-size:14px;white-space:nowrap}body.phone-game .rs-tabs button[aria-pressed=true],body.phone-game .rs-category-tabs button[aria-pressed=true]{background:var(--rs-accent);color:var(--rs-on-accent);border-color:var(--rs-accent)}body.phone-game .rs-search{min-width:0;flex:1}body.phone-game .rs-search input{width:100%;max-width:none;min-width:0;font-size:14px}body.phone-game .rs-products{flex:1;min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:6px 10px;margin:0}body.phone-game .rs-product{display:grid;grid-template-columns:62px minmax(0,1fr) 300px;min-height:0;align-items:center;border-radius:var(--rs-radius);background:var(--rs-elevated)}body.phone-game .rs-product-art{grid-row:auto;min-height:0;height:100%;border:0;background:radial-gradient(ellipse,var(--rs-subtle),transparent)}body.phone-game .rs-product-art .rs-item-art{width:58px;height:60px}body.phone-game .rs-product-art .rs-item-symbol{width:44px;height:44px}body.phone-game .rs-product-text{min-width:0;padding:0 8px}body.phone-game .rs-product-text h2{margin:0;font-size:16px;line-height:1.2}body.phone-game .rs-product-text h2 button{padding:0;min-height:40px;text-align:left;font-size:16px;font-weight:700;background:transparent;border:0;width:100%;border-radius:4px}body.phone-game .rs-product-text h2 button:after{content:" \203a";color:var(--rs-muted);margin-left:6px}body.phone-game .rs-product-text>p{display:none}body.phone-game .rs-stock{margin:0;font-size:12px;color:var(--rs-muted)}body.phone-game .rs-product-buy{padding:4px 8px;display:grid;grid-template-columns:106px 1fr;column-gap:6px;align-items:center;border:0}body.phone-game .rs-product-buy>strong{font-size:17px;white-space:nowrap;align-self:end}body.phone-game .rs-product-buy strong small{font-size:11px}body.phone-game .rs-product-buy>small{grid-column:1;grid-row:2;font-size:11px;white-space:nowrap;align-self:start}body.phone-game .rs-product-controls{display:flex;grid-column:2;grid-row:1 / 3;align-items:center;gap:6px;margin:0}body.phone-game .rs-product-controls label{display:block;flex:none}body.phone-game .rs-product-controls label>span{display:none}body.phone-game .rs-product-controls input{width:60px;min-height:52px;height:52px;padding:4px}body.phone-game .rs-product-controls button{min-width:94px;min-height:52px;font-size:14px;padding:6px}body.phone-game .rs-products .rs-product{position:relative;grid-template-columns:42px minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) auto;gap:0 6px;padding:4px 6px}body.phone-game .rs-products .rs-product-art{grid-column:1;grid-row:1 / 3}body.phone-game .rs-products .rs-product-art .rs-item-art{width:42px;height:54px}body.phone-game .rs-products .rs-product-art .rs-item-symbol{width:40px;height:44px}body.phone-game .rs-products .rs-product-text{grid-column:2;grid-row:1;padding:0;align-self:center}body.phone-game .rs-products .rs-product-text h2 button{min-height:0;font-size:16px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.phone-game .rs-products .rs-product-text h2 button:before{content:"";position:absolute;inset:0}body.phone-game .rs-products .rs-stock{font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.phone-game .rs-products .rs-product-buy{display:contents}body.phone-game .rs-products .rs-product-price{grid-column:2;grid-row:2;display:flex;align-items:baseline;flex-wrap:wrap;gap:0 6px;min-width:0;line-height:1.2}body.phone-game .rs-products .rs-product-price>strong{font-size:17px;white-space:nowrap}body.phone-game .rs-products .rs-product-price>small{font-size:10px;color:var(--rs-muted);white-space:nowrap}body.phone-game .rs-products .rs-product-controls{grid-column:3;grid-row:1 / 3;position:relative;z-index:1;gap:4px}body.phone-game .rs-products .rs-product-controls input{width:40px;min-height:max(48px,calc(44px / var(--phone-scale,1)));height:48px;font-size:16px;text-align:center}body.phone-game .rs-products .rs-product-controls button{min-width:62px;min-height:max(48px,calc(44px / var(--phone-scale,1)));font-size:14px;padding:4px}body.phone-game .rs-shop-screen .rs-shop-pager{gap:18px;min-height:max(52px,calc(44px / var(--phone-scale,1)))}body.phone-game .rs-shop-screen .rs-shop-pager button{min-width:150px;min-height:max(52px,calc(44px / var(--phone-scale,1)));font-size:18px;font-weight:700;padding:6px 20px}body.phone-game .rs-shop-screen .rs-shop-pager .mobile-pager-count{min-width:76px;font-size:17px}body.phone-game .rs-product-detail{flex:1;grid-template-columns:210px minmax(0,1fr);grid-template-rows:1fr 70px;padding:12px;gap:10px}body.phone-game .rs-product-detail .rs-product-art{grid-row:1 / 3}body.phone-game .rs-product-detail .rs-item-art{width:190px;height:230px}body.phone-game .rs-product-detail .rs-item-symbol{width:135px;height:135px}body.phone-game .rs-product-detail .rs-product-text{align-self:center;padding:0}body.phone-game .rs-product-detail .rs-product-text h2{font-size:23px;margin-bottom:10px}body.phone-game .rs-product-detail .rs-product-text>p{display:block;font-size:15px;line-height:1.5;color:var(--rs-text)}body.phone-game .rs-product-detail .rs-stock{margin-top:10px;font-size:14px}body.phone-game .rs-product-detail .rs-product-buy{grid-template-columns:1fr auto;padding:0}body.phone-game .rs-product-detail .rs-product-buy>strong{font-size:21px}body.phone-game .rs-product-detail .rs-product-controls input,body.phone-game .rs-product-detail .rs-product-controls button{height:52px}body.phone-game .rs-empty{display:grid;place-items:center;flex:1;min-height:0;padding:16px;margin:0;font-size:16px}body.phone-game .rs-products:empty,body.phone-game .rs-presets:empty{display:none}body.phone-game .rs-recovery-summary{display:flex;justify-content:space-between;align-items:center;gap:10px;flex:none;min-height:40px}body.phone-game .rs-fixed-rule{max-width:430px;padding:4px 8px;font-size:13px;line-height:1.4;background:none}body.phone-game .rs-recovery-stock{display:grid;grid-template-columns:auto auto;gap:0 8px;padding:0;white-space:nowrap;font-size:13px}body.phone-game .rs-recovery-stock strong{font-size:18px}body.phone-game .rs-recovery-stock span{grid-column:1 / 3;font-size:12px}body.phone-game .rs-recovery-list{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);flex:1;min-height:0;gap:6px}body.phone-game .rs-recovery-member{flex-wrap:nowrap;gap:6px;padding:6px 8px;min-height:0;border-radius:var(--rs-radius)}body.phone-game .rs-recovery-member>.rs-portrait{width:61px;height:72px;flex:none}body.phone-game .rs-recovery-member h2{font-size:18px}body.phone-game .rs-recovery-member p{font-size:11px}body.phone-game .rs-tag{font-size:11px;color:var(--rs-muted)}body.phone-game .rs-life{font-size:12px;margin-top:2px}body.phone-game .rs-life meter{height:8px;margin-top:1px}body.phone-game .rs-recovery-actions{width:108px;flex:none;flex-direction:column;align-items:stretch;gap:4px}body.phone-game .rs-recovery-actions label{display:flex;align-items:center;gap:3px;font-size:11px;white-space:nowrap}body.phone-game .rs-recovery-actions input{width:65px;height:36px;min-height:36px;padding:4px;margin:0;font-size:15px}body.phone-game .rs-recovery-actions button{min-height:52px;font-size:13px;padding:4px}body.phone-game .rs-preset-layout{display:grid;grid-template-columns:1fr 1fr;gap:12px;flex:1;min-height:0}body.phone-game .rs-preset-current,body.phone-game .rs-presets article{padding:12px;min-height:0;border-radius:var(--rs-radius-lg)}body.phone-game .rs-preset-current{display:flex;flex-direction:column;gap:6px}body.phone-game .rs-preset-portraits{display:flex;gap:2px;justify-content:space-between;margin:4px 0}body.phone-game .rs-preset-portraits>div{flex:1;min-width:0;text-align:center}body.phone-game .rs-preset-portraits .rs-portrait{width:58px;height:68px}body.phone-game .rs-preset-portraits span{font-size:11px;white-space:nowrap}body.phone-game .rs-preset-current form{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:0}body.phone-game .rs-preset-current label{display:flex;flex-direction:row;align-items:center;gap:6px;max-width:none;font-size:13px;white-space:nowrap}body.phone-game .rs-preset-current label input{width:100%}body.phone-game .rs-preset-current form>button{min-height:52px}body.phone-game .rs-preset-current>.rs-muted{margin-top:auto;font-size:12px}body.phone-game .rs-preset-saved{display:flex;flex-direction:column;min-height:0;gap:6px}body.phone-game .rs-presets{flex:1;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr);min-height:0;gap:0;margin:0}body.phone-game .rs-presets article{display:flex;flex-direction:column;justify-content:center;gap:4px}body.phone-game .rs-presets article h2{font-size:19px;overflow-wrap:anywhere}body.phone-game .rs-presets article>p{font-size:13px}body.phone-game .rs-presets .rs-preset-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}body.phone-game .rs-presets button{min-height:52px;padding:6px;margin:0;font-size:14px}body.phone-game .rs-presets button.rs-quiet{font-size:13px;background:transparent}@media(prefers-reduced-motion:reduce){body.phone-game .release-screen *{animation:none!important;transition:none!important}}body.phone-game .rs-gacha-screen .rs-gacha-options.rs-gacha-locked{min-width:0;gap:8px;padding:12px}body.phone-game .rs-gacha-locked .rs-onboarding-note{font-size:12px;line-height:1.4}body.phone-game .rs-gacha-locked>.rs-use-reward{min-height:40px;padding:6px 10px;font-size:14px}body.phone-game .rs-gacha-screen .rs-gacha-locked .rs-pull{min-height:60px;padding:6px 10px;gap:1px}body.phone-game .rs-gacha-screen .rs-gacha-locked .rs-pull>span,body.phone-game .rs-gacha-screen .rs-gacha-locked .rs-pull:disabled>strong{font-size:13px}body.phone-game .rs-gacha-screen .rs-gacha-locked .rs-pull>small{font-size:11px}body.phone-game .rs-gacha-options:has([data-rs-draw=ticket]){gap:8px;padding:10px}body.phone-game .rs-gacha-options:has([data-rs-draw=ticket]) .rs-pull{min-height:66px;padding:6px 12px;gap:2px;grid-template-columns:1fr auto}body.phone-game .rs-gacha-options:has([data-rs-draw=ticket]) .rs-pull>strong{font-size:22px;grid-row:2;grid-column:1/-1}body.phone-game .phone-inventory-screen{height:100%;min-height:0;display:grid;grid-template-rows:max(52px,calc(44px / var(--phone-scale,1))) minmax(0,1fr);gap:8px;color:var(--phone-ink)}body.phone-game .inventory-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:0;border:0}body.phone-game .inventory-heading h1{flex:none;margin:0;font-size:22px;line-height:1.2}body.phone-game .warehouse-filters{display:flex;flex:none;flex-wrap:nowrap;gap:4px;margin:0 0 0 auto}body.phone-game .warehouse-filters button{min-height:44px;padding:7px 8px;font-size:15px;white-space:nowrap;background:var(--phone-paper);border:1px solid var(--phone-line);color:var(--phone-ink)}body.phone-game .warehouse-filters button[aria-pressed=true]{background:color-mix(in srgb,var(--phone-gold) 78%,var(--phone-ink));border-color:var(--phone-gold);color:var(--phone-soft,var(--phone-paper))}body.phone-game .inventory-list{min-height:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;align-content:stretch}body.phone-game .inventory-entry{min-height:0;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:8px;text-align:center;background:var(--phone-paper);border:1px solid var(--phone-line);color:var(--phone-ink);font-size:15px;line-height:1.3;border-radius:8px;box-shadow:0 2px color-mix(in srgb,var(--phone-ink) 10%,transparent)}body.phone-game .inventory-entry:hover{background:color-mix(in srgb,var(--phone-paper) 85%,var(--phone-gold));border-color:var(--phone-gold)}body.phone-game .inventory-entry:active{transform:translateY(1px)}body.phone-game .inventory-entry>span:last-child{overflow-wrap:anywhere}body.phone-game .inventory-visual{width:54px;height:54px;background:radial-gradient(ellipse,color-mix(in srgb,var(--phone-gold) 20%,transparent),transparent 72%);color:var(--phone-ink)}body.phone-game .inventory-visual .gear-icon{width:50px;height:50px;filter:drop-shadow(0 2px 1px var(--phone-shadow))}body.phone-game .inventory-entry[hidden],body.phone-game .inventory-detail-pane[hidden],body.phone-game .inventory-owners>li[hidden]{display:none!important}body.phone-game .inventory-pages{flex:none;display:flex;align-items:center;justify-content:center}body.phone-game .inventory-pages .mobile-pager{margin:0;gap:6px}body.phone-game .inventory-pages .mobile-pager-button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:96px;min-height:max(48px,calc(44px / var(--phone-scale,1)));padding:0 10px;font-family:inherit;font-size:16px;font-weight:700;line-height:1.2;border-radius:8px;white-space:nowrap}body.phone-game .inventory-pages .inventory-page-arrow{font:700 32px/1 Georgia,serif}body.phone-game .inventory-pages .mobile-pager-count{min-width:50px;font-size:16px}body.phone-game .inventory-pages .mobile-pager-button:not(:disabled){background:color-mix(in srgb,var(--phone-gold) 78%,var(--phone-ink));border-color:var(--phone-gold);color:var(--phone-soft,var(--phone-paper))}body.phone-game .inventory-pages .mobile-pager-button:hover:not(:disabled){background:var(--phone-gold)}body.phone-game .inventory-pages .mobile-pager-button:disabled{background:var(--phone-paper-deep);color:var(--phone-muted);border-color:var(--phone-line)}body.phone-game .inventory-empty{grid-row:2;grid-column:1;margin:0;display:grid;place-items:center;color:var(--phone-ink)}body.phone-game .phone-inventory-screen:has(.inventory-empty) .inventory-list{display:none}body.phone-game dialog:has(.inventory-detail){width:740px;max-width:none;height:370px;max-height:none;overflow:hidden;padding:0;background:var(--phone-paper);color:var(--phone-ink);border-color:var(--phone-line)}body.phone-game .inventory-detail{height:100%;box-sizing:border-box;display:grid;grid-template-rows:50px minmax(0,1fr) 34px;gap:9px;padding:14px 18px}body.phone-game .inventory-detail-heading{gap:10px;border:0;background:transparent;min-height:0}body.phone-game .inventory-detail-heading .inventory-visual{width:44px;height:44px}body.phone-game .inventory-detail-heading h2{font-size:20px;margin:2px 0 0;line-height:1.2}body.phone-game .inventory-category{font-size:12px;color:var(--phone-ink)}body.phone-game .inventory-close{min-width:48px;width:48px;height:48px;min-height:48px;border-color:var(--phone-line);color:var(--phone-ink);background:transparent}body.phone-game .inventory-detail-columns{min-height:0;display:grid;grid-template-columns:200px minmax(0,1fr);gap:18px}body.phone-game .inventory-detail-artwork{display:grid;grid-template-rows:minmax(0,1fr);min-height:0}body.phone-game .inventory-art{min-height:0;margin:0;background:color-mix(in srgb,var(--phone-gold) 12%,var(--phone-paper));border-color:var(--phone-line)}body.phone-game .inventory-art canvas{width:174px;height:174px;max-width:100%;max-height:100%;object-fit:contain}body.phone-game .inventory-symbol-art>.inventory-visual{width:100px;height:100px;background:transparent}body.phone-game .inventory-symbol-art .gear-icon{width:90px;height:90px}body.phone-game .inventory-symbol-art:has(.individual-item-art)>.inventory-visual{width:100%;height:100%}body.phone-game .inventory-symbol-art .individual-item-art{width:100%;height:100%;max-height:260px;object-fit:contain}body.phone-game .inventory-totals{display:flex;gap:16px;margin:0}body.phone-game .inventory-totals>div{display:flex;align-items:baseline;gap:6px;padding:0;text-align:right;background:transparent;border:0}body.phone-game .inventory-totals dt{font-size:12px;color:var(--phone-ink);white-space:nowrap}body.phone-game .inventory-totals dd{font-size:14px;margin:0;color:var(--phone-ink);font-weight:400}body.phone-game .inventory-totals small{font-size:11px;margin-left:3px;color:var(--phone-ink)}body.phone-game .inventory-detail-information{min-height:0;min-width:0;display:flex;flex-direction:column;gap:8px}body.phone-game .inventory-detail-tabs{display:flex;gap:6px;flex:none}body.phone-game .inventory-detail-tabs button{min-height:44px;padding:7px 16px;font-size:15px;background:transparent;color:var(--phone-ink);border:1px solid var(--phone-line)}body.phone-game .inventory-detail-tabs button[aria-selected=true]{background:color-mix(in srgb,var(--phone-gold) 78%,var(--phone-ink));border-color:var(--phone-gold);color:var(--phone-soft,var(--phone-paper))}body.phone-game .inventory-detail-pane{min-height:0;flex:1;overflow-y:auto}body.phone-game .inventory-description{margin:0 0 6px;font-size:14px;line-height:1.45;color:var(--phone-ink)}body.phone-game .inventory-detail-section{margin:8px 0 0;padding:8px 0 0;border-color:var(--phone-line)}body.phone-game .inventory-detail-section h3{margin:0 0 6px;font-size:14px;color:var(--phone-ink)}body.phone-game .inventory-detail-section p{font-size:14px;line-height:1.5;color:var(--phone-ink)}body.phone-game .inventory-modifiers{gap:6px 14px;font-size:14px}body.phone-game .inventory-modifiers>div{gap:6px}body.phone-game .inventory-modifiers dt{color:var(--phone-ink)}body.phone-game .inventory-modifiers dd{font-size:26px;font-weight:700;color:var(--phone-ink)}body.phone-game .inventory-detail-section .inventory-passive{margin-top:8px;color:var(--phone-ink)}body.phone-game .inventory-owners{display:grid;grid-template-rows:repeat(3,48px);gap:5px;height:154px}body.phone-game .inventory-owners li{height:48px;box-sizing:border-box;padding:3px 8px;gap:8px;background:transparent;border-color:var(--phone-line)}body.phone-game .inventory-owners li>div{gap:6px;min-width:0}body.phone-game .inventory-owners b{font-size:15px;color:var(--phone-ink)}body.phone-game .inventory-owners span{font-size:12px;color:var(--phone-ink)}body.phone-game .inventory-owners button{min-height:40px;min-width:56px;padding:5px 12px;font-size:14px;color:var(--phone-ink);background:var(--phone-paper);border-color:var(--phone-line)}body.phone-game .inventory-owner-pages{display:flex;justify-content:center;min-height:44px;margin-top:5px}body.phone-game .inventory-status{margin:0;font-size:12px;line-height:18px;min-height:18px;color:var(--phone-ink)}body.phone-game .inventory-detail :focus-visible,body.phone-game .phone-inventory-screen :focus-visible{outline:2px solid var(--phone-ink);outline-offset:2px}body.phone-game .inventory-performance{margin:0 0 8px;padding:0 0 8px;border:0;border-bottom:1px solid var(--phone-line);border-radius:0;background:transparent}body.phone-game .inventory-performance h3{font-size:14px}body.phone-game .inventory-performance .inventory-passive{font-size:15px;font-weight:400}body.phone-game .inventory-consumable-effect{padding:10px 12px;border-color:var(--phone-line);background:#b27f251f;font-size:18px;font-weight:600}body.phone-game .inventory-detail-footer{margin:0;padding-top:8px;border-top:1px solid var(--phone-line);min-width:0;gap:12px}body.phone-game .inventory-detail-footer .inventory-status{min-width:0;font-size:11px}body.phone-game .phone-inventory-screen{--stock-gap:12px;--stock-radius:8px;--stock-title:28px;--stock-label:max(18px,calc(15px / var(--phone-scale,1)));--stock-body:max(16px,calc(14px / var(--phone-scale,1)));--stock-selected:color-mix(in srgb,var(--phone-paper) 70%,var(--phone-gold));--stock-shadow:0 2px 5px var(--phone-shadow)}body.phone-game .inventory-category-screen{grid-template-rows:52px minmax(0,1fr);gap:var(--stock-gap)}body.phone-game .inventory-category-heading{display:flex;align-items:center;gap:24px;background:transparent;border:0;padding:0 8px}body.phone-game .inventory-category-heading h1{font-family:Yu Mincho,serif;font-size:32px;line-height:1.2;margin:0}body.phone-game .inventory-category-heading p{margin:0;font-size:var(--stock-body);color:var(--phone-muted)}body.phone-game .inventory-categories{min-height:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--stock-gap)}body.phone-game .inventory-category-card{min-height:0;min-width:0;padding:0;overflow:hidden;display:grid;grid-template-rows:minmax(0,1fr) 66px;border:1px solid var(--phone-line);border-radius:var(--stock-radius);background:var(--phone-soft);box-shadow:var(--stock-shadow);color:var(--phone-ink);transition:border-color .15s,box-shadow .15s}body.phone-game .inventory-category-art{display:block;min-height:0;background-image:url(/assets/ui/inventory-categories-v1.webp);background-size:400% 100%;background-position:var(--category-position) center;background-repeat:no-repeat}body.phone-game .inventory-category-label{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 12px;font-family:Yu Mincho,serif;font-size:24px;font-weight:700;white-space:nowrap;border-top:1px solid var(--phone-line)}body.phone-game .inventory-category-label>span{font:32px/1 Georgia,serif;color:var(--phone-gold)}body.phone-game .inventory-category-card:hover{box-shadow:inset 0 0 0 2px var(--phone-gold),var(--stock-shadow)}body.phone-game .inventory-category-card:active{transform:translateY(1px)}body.phone-game .inventory-browser-screen{gap:var(--stock-gap)}body.phone-game .inventory-browser-screen .inventory-heading{justify-content:flex-start;gap:16px}body.phone-game .inventory-browser-screen .inventory-heading h1{font-family:Yu Mincho,serif;font-size:var(--stock-title)}body.phone-game .inventory-browser-screen .inventory-back{position:static;width:auto;height:auto;flex:none;min-height:max(48px,calc(44px / var(--phone-scale,1)));padding:6px 16px;margin:0;align-self:center;font-size:var(--stock-body);font-weight:600}body.phone-game .inventory-browser-screen .inventory-heading .inventory-manage{margin-left:auto;min-height:max(48px,calc(44px / var(--phone-scale,1)));font-size:var(--stock-body)}body.phone-game .inventory-browser{min-height:0;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:var(--stock-gap)}body.phone-game .inventory-shelf{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px}body.phone-game .inventory-browser .inventory-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}body.phone-game .inventory-browser .inventory-entry{display:grid;grid-template-rows:minmax(0,1fr) auto;justify-items:stretch;align-items:stretch;gap:4px;padding:6px 8px;border-radius:var(--stock-radius);font-size:var(--stock-body);overflow:hidden}body.phone-game .inventory-browser .inventory-entry[aria-pressed=true]{background:var(--stock-selected);border-color:var(--phone-gold);box-shadow:inset 0 0 0 2px var(--phone-gold),var(--stock-shadow)}body.phone-game .inventory-browser .inventory-entry>.inventory-visual{min-width:0;min-height:0;width:100%;height:100%;background:none}body.phone-game .inventory-browser .inventory-entry .inventory-visual :is(.gear-icon,canvas){display:block;width:100%;height:100%;min-height:0;object-fit:contain}body.phone-game .inventory-entry-caption{display:flex;align-items:center;justify-content:space-between;gap:6px;text-align:left;line-height:1.25;font-size:var(--stock-body)}body.phone-game .inventory-entry-caption>span{min-width:0;overflow-wrap:anywhere}body.phone-game .inventory-entry-caption small{flex:none;font-size:.85em;font-weight:400}body.phone-game .inventory-shelf .inventory-pages{min-height:0}body.phone-game .inventory-shelf .mobile-pager-button{min-width:84px;min-height:max(44px,calc(44px / var(--phone-scale,1)));font-size:var(--stock-body)}body.phone-game .inventory-shelf .inventory-empty{grid-column:1;grid-row:1;padding:20px;line-height:1.6;font-size:var(--stock-body);text-align:center}body.phone-game .inventory-preview{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;padding:12px 16px;border:1px solid var(--phone-line);border-radius:var(--stock-radius);background:var(--phone-soft);box-shadow:var(--stock-shadow)}body.phone-game .inventory-preview-heading{min-width:0;padding:0;border:0;background:none}body.phone-game .inventory-preview-heading h2{margin:0;font-size:24px;line-height:1.2;overflow-wrap:anywhere}body.phone-game .inventory-preview-heading p{margin:4px 0 0;font-size:var(--stock-body);color:var(--phone-muted)}body.phone-game .inventory-preview-content{min-height:0;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:12px}body.phone-game .inventory-preview-properties{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}body.phone-game .inventory-preview .inventory-art{height:100%;border:0;border-radius:0;background:radial-gradient(ellipse,color-mix(in srgb,var(--phone-gold) 12%,transparent),transparent 70%);margin:0}body.phone-game .inventory-preview .inventory-art :is(canvas,.inventory-visual,.gear-icon){height:100%;width:100%;object-fit:contain;max-height:100%}body.phone-game .inventory-preview .inventory-modifiers{gap:6px 16px;font-size:var(--stock-body);padding-block:8px;border-top:1px solid var(--phone-line)}body.phone-game .inventory-preview .inventory-modifiers dd{font-size:22px;color:var(--phone-ink)}body.phone-game .inventory-preview :is(.inventory-description,.inventory-passive){font-size:var(--stock-body);line-height:1.5;margin:6px 0;color:var(--phone-ink)}body.phone-game .inventory-preview-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--phone-line);padding-top:8px}body.phone-game .inventory-preview-footer .inventory-totals{gap:10px;flex-wrap:wrap}body.phone-game .inventory-preview-footer .inventory-totals>div{display:block;text-align:left}body.phone-game .inventory-preview-footer .inventory-totals dt,body.phone-game .inventory-preview-footer .inventory-totals dd{font-size:var(--stock-body)}body.phone-game .inventory-preview-footer .inventory-more{flex:none;min-height:max(44px,calc(40px / var(--phone-scale,1)));font-size:var(--stock-body);padding:6px 10px}body.phone-game .inventory-preview-empty{grid-row:1 / -1;align-self:center;text-align:center;font-size:var(--stock-body);line-height:1.7;color:var(--phone-muted)}@media(prefers-reduced-motion:reduce){body.phone-game .inventory-category-card{transition:none}}body.phone-game dialog:has(.phone-equipment-picker){width:740px;height:370px;max-width:none;max-height:none;padding:0;overflow:hidden;background:var(--phone-paper);border-color:var(--phone-line);color:var(--phone-ink)}body.phone-game .phone-equipment-picker{height:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);grid-template-rows:50px minmax(0,1fr) 50px;gap:8px 14px;padding:10px 14px;background:var(--phone-paper);color:var(--phone-ink)}body.phone-game .phone-equipment-picker .gear-heading{grid-column:1/-1;padding:0 0 5px;min-height:0;gap:10px;background:transparent;border-color:var(--phone-line)}body.phone-game .phone-equipment-picker .gear-heading p{font-size:12px;margin:0 0 2px;color:var(--phone-ink)}body.phone-game .phone-equipment-picker .gear-heading h2{font-size:20px;color:var(--phone-ink)}body.phone-game .phone-equipment-picker .gear-heading .close{min-height:44px;min-width:48px;color:var(--phone-ink)}body.phone-game .phone-gear-list{display:grid;grid-template-rows:minmax(0,1fr) 44px;gap:3px;min-width:0;min-height:0}body.phone-game .phone-equipment-picker .gear-options{padding:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(4,minmax(0,1fr));grid-auto-rows:auto;gap:3px;min-height:0;overflow:hidden;background:transparent}body.phone-game .phone-equipment-picker .gear-options>button{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;align-content:center;gap:0 8px;width:100%;min-height:0;padding:2px 8px;border:1px solid var(--phone-line);border-radius:6px;color:var(--phone-ink);background:transparent;text-align:left}body.phone-game .phone-equipment-picker .gear-options>button:hover{background:color-mix(in srgb,var(--phone-gold) 15%,var(--phone-paper))}body.phone-game .phone-equipment-picker .gear-options>button[aria-pressed=true]{background:color-mix(in srgb,var(--phone-gold) 30%,var(--phone-paper));border-color:var(--phone-gold);box-shadow:inset 3px 0 var(--phone-gold)}body.phone-game .phone-equipment-picker .gear-options>button[aria-pressed=true]:before{content:none}body.phone-game .phone-equipment-picker .gear-options>button[hidden],body.phone-game .phone-equipment-picker [data-phone-gear-pane][hidden]{display:none!important}body.phone-game .phone-equipment-picker .gear-options>button b{font-size:15px;line-height:1.2;color:var(--phone-ink);font-weight:600}body.phone-game .phone-equipment-picker .gear-options>button>span:last-child{font-size:11px;line-height:1.2;color:var(--phone-ink);margin:2px 0 0;grid-column:2;white-space:normal}body.phone-game .phone-equipment-picker .gear-options .equipment-weapon-art,body.phone-game .phone-equipment-picker .gear-options .equipment-weapon-fallback,body.phone-game .phone-equipment-picker .gear-options>button>.gear-icon{grid-row:1/3;grid-column:1;width:40px;height:40px;min-height:0;margin:0;object-fit:contain;color:var(--phone-ink)}body.phone-game .phone-equipment-picker .gear-options .equipment-weapon-fallback .gear-icon{width:30px;height:30px;color:var(--phone-ink)}body.phone-game .phone-gear-pages{height:44px;display:flex;justify-content:center}body.phone-game .phone-gear-pages .mobile-pager,body.phone-game .phone-gear-copy-controls .mobile-pager{margin:0}body.phone-game .phone-equipment-picker .gear-description{display:grid;grid-template-rows:30px 40px minmax(0,1fr);gap:6px;padding:0 0 0 12px;margin:0;min-height:0;min-width:0;max-height:none;overflow:hidden;border:0;border-left:1px solid var(--phone-line);background:transparent}body.phone-game .phone-equipment-picker .gear-description-title{gap:7px;min-height:0;flex-wrap:nowrap;overflow:visible;color:var(--phone-ink)}body.phone-game .phone-equipment-picker .gear-description-title>.gear-icon{display:none}body.phone-game .phone-equipment-picker .gear-description-title h3{font-size:16px;line-height:1.2;color:var(--phone-ink)}body.phone-game .phone-equipment-picker .gear-description-title>span{font-size:11px;white-space:nowrap;color:var(--phone-ink)}body.phone-game .phone-gear-tabs{display:flex;gap:6px}body.phone-game .phone-gear-tabs button{min-height:40px;min-width:70px;padding:5px 12px;font-size:14px;color:var(--phone-ink);border-color:var(--phone-line);background:transparent}body.phone-game .phone-gear-tabs button[aria-selected=true]{background:var(--phone-gold);border-color:var(--phone-gold)}body.phone-game .phone-gear-overview{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-rows:minmax(0,1fr);gap:6px 12px;align-items:center}body.phone-game .phone-gear-overview>.equipment-weapon-art,body.phone-game .phone-gear-overview>.equipment-weapon-fallback{width:100%;height:146px;max-height:100%;min-height:0;margin:0;object-fit:contain}body.phone-game .phone-gear-symbol{display:grid;place-items:center;height:100%}body.phone-game .phone-gear-symbol .gear-icon{width:88px;height:88px;color:var(--phone-ink)}body.phone-game .phone-equipment-picker .gear-modifiers{display:grid;grid-template-columns:1fr 1fr;gap:12px 6px;margin:0;color:var(--phone-ink)}body.phone-game .phone-equipment-picker .gear-modifiers>span{display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-size:11px;white-space:nowrap}body.phone-game .phone-equipment-picker .gear-modifiers b{font-size:22px;color:var(--phone-ink)}body.phone-game .phone-equipment-picker .phone-gear-error-note{grid-column:1/-1;font-size:12px;line-height:1.4;margin:0;color:var(--phone-ink)}body.phone-game .phone-gear-overview:has(.phone-gear-error-note){grid-template-rows:minmax(0,1fr) auto}body.phone-game .phone-gear-copy{display:grid;grid-template-rows:minmax(0,1fr) 44px;gap:4px;min-height:0;min-width:0}body.phone-game .phone-gear-copy-pages{position:relative;min-height:0;min-width:0;overflow:hidden}body.phone-game .phone-gear-text-page{margin:0;min-height:0;box-sizing:border-box}body.phone-game .phone-gear-probe{position:absolute;visibility:hidden;pointer-events:none;height:auto;top:0;left:0}body.phone-game .phone-equipment-picker .phone-gear-text-page p{font-size:15px;line-height:1.5;margin:0 0 8px;color:var(--phone-ink);overflow-wrap:anywhere}body.phone-game .phone-equipment-picker .phone-gear-text-page p:last-child{margin-bottom:0}body.phone-game .phone-gear-copy-controls{display:flex;justify-content:center;height:44px}body.phone-game .phone-equipment-picker .gear-actions{grid-column:1/-1;min-height:0;grid-template-columns:1fr 1.5fr;gap:10px;padding:0;border:0;background:transparent}body.phone-game .phone-equipment-picker .gear-actions button{min-height:48px;color:var(--phone-ink);border-color:var(--phone-line);background:var(--phone-paper);font-size:16px}body.phone-game .phone-equipment-picker .gear-actions .primary{background:var(--phone-gold);border-color:var(--phone-gold)}body.phone-game .phone-character-detail{height:100%;min-height:0;display:grid;grid-template-rows:52px 44px minmax(0,1fr);gap:6px;color:var(--phone-ink)}body.phone-game .phone-character-detail>.dialog-top{height:52px;min-height:0;margin:0}body.phone-game .phone-character-detail>.phone-page-tabs{height:44px;min-height:0;gap:5px;margin:0}body.phone-game .phone-character-detail>.phone-page-tabs>button{height:42px;min-height:42px;padding:5px 10px;font-size:13px;white-space:nowrap;flex:none}body.phone-game .phone-character-detail>.phone-page-tabs>button[aria-pressed=true]{color:var(--phone-soft);background:color-mix(in srgb,var(--phone-gold) 78%,var(--phone-ink));border-color:var(--phone-gold)}body.phone-game .phone-character-detail>.phone-page-tabs>.mobile-pager{margin:0 0 0 auto;gap:5px;min-height:42px}body.phone-game .phone-character-detail>.phone-page-tabs>.mobile-pager button{min-width:40px;width:40px;min-height:42px;height:42px;padding:0}body.phone-game .phone-character-detail>.phone-page-tabs .mobile-pager-count{min-width:42px;font-size:12px}body.phone-game .phone-character-detail>.phone-tab-panels{width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}body.phone-game .phone-character-detail .phone-tab-panel{width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}body.phone-game .phone-character-detail .phone-tab-panel[hidden]{display:none!important}body.phone-game .phone-character-stats{display:flex;flex-direction:column;gap:6px;justify-content:flex-start;padding:0}body.phone-game .phone-character-stats .resources{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;min-height:0;padding:0}body.phone-game .phone-character-stats .resources>span{padding:6px 10px;background:var(--phone-soft);border:1px solid var(--phone-line);border-radius:6px}body.phone-game .phone-character-stats .resources small{font-size:12px;color:var(--phone-muted)}body.phone-game .phone-character-stats .resources b{font-size:21px;line-height:1.25;color:var(--phone-ink);margin:0}body.phone-game .phone-character-stats .resources em{font-size:12px;color:var(--phone-muted)}body.phone-game .phone-character-stats .detail-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}body.phone-game .phone-character-stats .detail-stats>div{padding:6px;background:var(--phone-soft);border:1px solid var(--phone-line);border-radius:6px}body.phone-game .phone-character-stats .detail-stats small{font-size:12px;line-height:1.2}body.phone-game .phone-character-stats .detail-stats b{font-size:21px;line-height:1.25;margin:2px 0 0}body.phone-game .phone-character-stats .family-aptitudes{font-size:13px;line-height:1.45;margin:0;color:var(--phone-ink)}body.phone-game .phone-character-stats .shield-summary{font-size:12px;line-height:1.4;margin:0;color:var(--phone-muted)}body.phone-game .phone-character-stats .save-warning{font-size:12px;line-height:1.4;padding:5px 8px;margin:0;border-color:var(--phone-line);background:var(--phone-paper-deep);color:var(--phone-ink)}body.phone-game .phone-character-detail .equipment-group{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;border:0;background:transparent}body.phone-game .phone-character-detail .equipment-group h3{display:flex;align-items:center;min-height:22px;height:22px;margin:0;padding:0 2px;background:transparent;color:var(--phone-ink);font-size:14px;line-height:1.3}body.phone-game .phone-character-detail .equipment-group h3 small{font-size:12px;color:var(--phone-muted)}body.phone-game .phone-character-detail .equipment-group>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:8px;padding:0;min-height:0;min-width:0;flex:1}body.phone-game .phone-character-detail .equipment-slot{min-width:0;min-height:0;width:100%;height:100%;margin:0;padding:8px 12px;border:1px solid var(--phone-line);border-radius:7px;background:var(--phone-soft);color:var(--phone-ink);text-align:left;box-shadow:none}body.phone-game .phone-character-detail .equipment-slot:hover:not(:disabled){background:var(--phone-paper-deep);border-color:var(--phone-gold)}body.phone-game .phone-character-detail .equipment-slot:disabled{color:var(--phone-muted);background:var(--phone-paper-deep)}body.phone-game .phone-character-detail .gear-slot-label{width:auto;font-size:13px;color:var(--phone-ink)}body.phone-game .phone-character-detail .equipment-slot b{font-size:15px;line-height:1.25;color:var(--phone-ink);font-weight:600}body.phone-game .phone-character-detail .equipment-slot.vacant b{color:var(--phone-muted)}body.phone-game .phone-character-detail .gear-tag{font-size:11px;border-color:var(--phone-line);color:var(--phone-muted)}body.phone-game .phone-character-detail .gear-chevron{color:var(--phone-gold);font-size:20px;line-height:1}body.phone-game .phone-character-detail .gear-icon{color:var(--phone-gold)}body.phone-game .phone-character-detail [data-phone-equipment-group=weapon] .weapon-slot{display:grid;grid-template-rows:24px minmax(0,1fr) 22px;gap:4px}body.phone-game .phone-character-detail [data-phone-equipment-group=weapon] .weapon-slot-heading{min-height:0;height:24px;display:flex;align-items:center}body.phone-game .phone-character-detail [data-phone-equipment-group=weapon] .equipment-weapon-art,body.phone-game .phone-character-detail [data-phone-equipment-group=weapon] .equipment-weapon-fallback{height:100%;min-height:0;max-height:135px;width:100%;margin:0;object-fit:contain}body.phone-game .phone-character-detail [data-phone-equipment-group=weapon] .equipment-weapon-fallback .gear-icon{width:52px;height:52px}body.phone-game .phone-character-detail [data-phone-equipment-group=armor]>div{grid-template-rows:repeat(2,minmax(0,1fr))}body.phone-game .phone-character-detail [data-phone-equipment-group=armor] .equipment-slot{display:grid;grid-template-columns:45px 1fr 20px;grid-template-rows:22px minmax(0,1fr);gap:2px 8px;padding:7px 10px}body.phone-game .phone-character-detail [data-phone-equipment-group=armor] .gear-slot-label{grid-column:1/3;grid-row:1}body.phone-game .phone-character-detail [data-phone-equipment-group=armor] .equipment-slot>.gear-icon{grid-column:1;grid-row:2;width:30px;height:30px}body.phone-game .phone-character-detail [data-phone-equipment-group=armor] .equipment-slot>b{grid-column:2;grid-row:2;text-align:left;font-size:14px}body.phone-game .phone-character-detail [data-phone-equipment-group=armor] .equipment-slot>.gear-chevron{grid-column:3;grid-row:1/3;margin:0;justify-self:end}body.phone-game .phone-character-detail [data-phone-equipment-group=armor] .weapon-slot-heading{grid-column:1/-1;grid-row:1;min-height:0;height:22px}body.phone-game .phone-character-detail [data-phone-equipment-group=armor] .equipment-weapon-art,body.phone-game .phone-character-detail [data-phone-equipment-group=armor] .equipment-weapon-fallback{grid-column:1;grid-row:2;width:38px;height:38px;min-height:0;margin:0;object-fit:contain}body.phone-game .phone-character-detail [data-phone-equipment-group=armor] .equipment-weapon-fallback .gear-icon{width:30px;height:30px}body.phone-game .phone-character-detail [data-phone-equipment-group=accessory] .equipment-slot{display:grid;grid-template-columns:minmax(0,1fr) 22px;grid-template-rows:24px minmax(0,1fr) 28px;gap:4px;align-items:center;text-align:center}body.phone-game .phone-character-detail [data-phone-equipment-group=accessory] .gear-slot-label{grid-column:1;grid-row:1;text-align:left}body.phone-game .phone-character-detail [data-phone-equipment-group=accessory] .gear-chevron{grid-column:2;grid-row:1;margin:0}body.phone-game .phone-character-detail [data-phone-equipment-group=accessory] .gear-icon{grid-column:1/-1;grid-row:2;justify-self:center;width:62px;height:62px}body.phone-game .phone-character-detail [data-phone-equipment-group=accessory] .equipment-slot b{grid-column:1/-1;grid-row:3;text-align:center}body.phone-game .phone-character-detail .life-recovery{height:100%;display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:24px;align-content:center;align-items:center;margin:0;padding:24px;background:var(--phone-soft);border:1px solid var(--phone-line);font-size:18px}body.phone-game .phone-character-detail .life-recovery p{font-size:14px;line-height:1.6;margin:10px 0 0}body.phone-game .phone-character-detail .life-recovery button{min-height:52px;font-size:16px;padding:10px}body.phone-game .phone-character-detail .initial-orders,body.phone-game .phone-character-detail .known-techniques{display:grid;grid-template-rows:23px 23px minmax(0,1fr) 44px;gap:5px;height:100%;min-height:0;margin:0;padding:0}body.phone-game .phone-character-detail .initial-orders h2,body.phone-game .phone-character-detail .known-techniques h2{font-size:16px;line-height:23px;margin:0}body.phone-game .phone-character-detail .dialog-note{font-size:12px;line-height:1.4;margin:0}body.phone-game .phone-character-detail .initial-orders>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:7px;min-height:0;min-width:0}body.phone-game .phone-character-detail .initial-orders button{height:100%;min-height:0;padding:5px 8px;line-height:1.3;overflow-wrap:anywhere;font-size:14px;color:var(--phone-ink)}body.phone-game .phone-character-detail .initial-orders button[aria-pressed=true]{background:color-mix(in srgb,var(--phone-gold) 78%,var(--phone-ink));color:var(--phone-soft);border-color:var(--phone-gold)}body.phone-game .phone-character-detail .initial-orders button:disabled{background:var(--phone-paper-deep);color:var(--phone-muted)}body.phone-game .phone-character-detail .technique-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:7px;min-height:0;min-width:0}body.phone-game .phone-character-detail .technique-list>details{height:100%;min-height:0;border:1px solid var(--phone-line);border-radius:6px;background:var(--phone-soft);overflow:hidden}body.phone-game .phone-character-detail .technique-list summary{height:100%;min-height:0;display:flex;align-items:center;justify-content:space-between;gap:5px;padding:8px;list-style:none}body.phone-game .phone-character-detail .technique-list summary::marker{content:""}body.phone-game .phone-character-detail .technique-list summary::-webkit-details-marker{display:none}body.phone-game .phone-character-detail .technique-list .technique-name{font-size:14px;line-height:1.4;color:var(--phone-ink)}body.phone-game .phone-character-detail .technique-list summary>span{font-size:11px;white-space:nowrap;color:var(--phone-muted)}body.phone-game .phone-character-detail .initial-orders>.mobile-pager,body.phone-game .phone-character-detail .known-techniques>.mobile-pager{margin:0;min-height:44px}body.phone-game .phone-character-detail .initial-orders>.mobile-pager button,body.phone-game .phone-character-detail .known-techniques>.mobile-pager button{min-height:44px;height:44px}body.phone-game .phone-character-detail .phone-all-equipment{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px}body.phone-game .phone-character-detail .phone-all-equipment>.equipment-slot{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:18px minmax(0,1fr) 24px;gap:3px;padding:6px 8px;text-align:center;align-items:center;overflow:hidden}body.phone-game .phone-all-equipment .gear-slot-label,body.phone-game .phone-all-equipment .weapon-slot-heading{grid-column:1;grid-row:1;width:100%;height:18px;min-height:0;text-align:center;justify-content:center;font-size:12px}body.phone-game .phone-character-detail .phone-all-equipment .equipment-weapon-art,body.phone-game .phone-character-detail .phone-all-equipment .equipment-weapon-fallback,body.phone-game .phone-character-detail .phone-all-equipment .equipment-slot>.gear-icon{grid-column:1;grid-row:2;width:100%;height:100%;min-height:0;max-height:56px;object-fit:contain;margin:0;justify-self:center}body.phone-game .phone-character-detail .phone-all-equipment .equipment-slot>.gear-icon{width:32px;height:32px}body.phone-game .phone-all-equipment .equipment-weapon-fallback .gear-icon{width:32px;height:32px}body.phone-game .phone-character-detail .phone-all-equipment .equipment-slot>b{grid-column:1;grid-row:3;margin:0;font-size:13px;line-height:1.2;text-align:center}body.phone-game .phone-all-equipment .gear-chevron{position:absolute;right:6px;top:5px;font-size:16px}body.phone-game .phone-all-equipment .gear-tag{display:none}body.phone-game .phone-character-detail .initial-orders>div{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:5px}body.phone-game .phone-character-detail .initial-orders>div>button{font-size:13px;padding:4px;line-height:1.2}body.phone-game .phone-character-detail .technique-list{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:5px}body.phone-game .phone-character-detail .technique-list summary{padding:4px;gap:3px;flex-direction:column;justify-content:center;text-align:center}body.phone-game .phone-character-detail .technique-list .technique-name{font-size:11.5px;line-height:1.2;overflow-wrap:anywhere;min-width:0}body.phone-game .phone-character-detail .technique-list summary>span{font-size:10px}body.phone-game .phone-character-detail .technique-weapon{width:14px;height:14px}body.phone-game .phone-character-detail .art-element{font-size:10px}body.phone-game .phone-character-stats .resources>span,body.phone-game .phone-character-stats .detail-stats>div{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;gap:3px}body.phone-game .phone-character-stats .resources small,body.phone-game .phone-character-stats .detail-stats small{display:block;font-size:13px;line-height:1.3}body.phone-game .phone-character-stats .resources b,body.phone-game .phone-character-stats .detail-stats b{display:block;font:600 23px/1.3 Yu Gothic UI,Meiryo,sans-serif;margin:0;text-align:center}body.phone-game .phone-character-stats .resources em{font:400 12px/1.3 Yu Gothic UI,Meiryo,sans-serif}body.phone-game .phone-character-stats .family-aptitudes,body.phone-game .phone-character-stats .shield-summary{text-align:center;width:100%}.character-story{line-height:1.7;text-align:left}.character-story h3{font-size:1.1em;margin:0 0 .55em}.character-story h4{font-size:1em;margin:1em 0 .35em}.character-story p{margin:.4em 0 .9em}body.phone-game .phone-character-detail .character-story{padding:16px 24px;overflow:auto;font-size:16px;max-width:850px;margin:0 auto}body.phone-game.in-battle #game-device>.header{display:none}body.phone-game.in-battle #app.battle-screen{height:100%;padding:4px;gap:6px;grid-template-columns:clamp(100px,12%,140px) minmax(0,1fr);grid-template-rows:minmax(0,1fr);grid-template-areas:"top arena";color:#fff1d1;overflow:hidden}.phone-game.in-battle .battle-top{height:100%;min-height:0;min-width:0;margin:0;padding:8px 4px;gap:9px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;color:var(--phone-ink);overflow-y:auto;overscroll-behavior:contain}.phone-game.in-battle .battle-title{display:flex;flex:none;flex-direction:column;align-items:stretch;gap:7px}.phone-game.in-battle .battle-title h1{display:none}.phone-game.in-battle .round-label{padding:6px 3px;font-size:12px;white-space:nowrap;background:var(--phone-soft);color:var(--phone-ink);border-color:var(--phone-line);text-align:center}.phone-game.in-battle .battle-top .difficulty-badge{font-size:12px;padding:4px;white-space:normal;line-height:1.35;color:var(--phone-forest);border-color:var(--phone-line)}.phone-game.in-battle .battle-top .clock{font-size:12px;line-height:1.4;color:var(--phone-ink);text-align:left}.phone-game.in-battle .battle-top button{width:100%;min-height:44px;padding:6px 3px;font-size:12px;white-space:normal}.phone-game.in-battle .battle-rail-actions{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding-top:4px}.phone-game.in-battle .battle-rule{font-size:11px;line-height:1.35;color:var(--phone-muted)}.phone-game.in-battle .battle-top>.battle-identities{display:flex;flex:none;flex-direction:column;gap:12px;padding-bottom:9px;border-bottom:1px solid var(--phone-line)}.phone-game.in-battle .battle-top .team-identity{max-width:100%;width:100%;text-align:left;gap:3px}.phone-game.in-battle .battle-top .team-identity b{font-size:14px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}.phone-game.in-battle .battle-top .team-identity small{font-size:10px;line-height:1.3;white-space:normal;overflow-wrap:anywhere;text-wrap:balance}.phone-game.in-battle .battle-top .team-identity.enemy b:before,.phone-game.in-battle .battle-top .team-identity.player b:before{display:block;font-size:10px;line-height:1.2;color:var(--phone-muted);font-weight:400}.phone-game.in-battle .battle-top .team-identity.enemy b:before{content:"\76f8\624b"}.phone-game.in-battle .battle-top .team-identity.player b:before{content:"\81ea\5206"}@media(max-height:480px){.phone-game.in-battle .battle-top{padding:4px 2px;gap:5px}.phone-game.in-battle .battle-top>.battle-identities{gap:7px;padding-bottom:5px}.phone-game.in-battle .battle-top .team-identity{gap:1px}.phone-game.in-battle .battle-top .team-identity b{font-size:12px;line-height:1.2}.phone-game.in-battle .battle-top .team-identity small{font-size:10px;line-height:1.15}.phone-game.in-battle .battle-title{gap:3px}.phone-game.in-battle .battle-top .difficulty-badge{padding:2px;font-size:11px}.phone-game.in-battle .battle-rule{font-size:10px}.phone-game.in-battle .battle-rail-actions{gap:6px;padding-top:0}}.phone-game.in-battle .arena{min-height:0;border-color:var(--phone-line);border-radius:7px}.phone-game.in-battle .arena-field{min-height:0}.phone-game.in-battle .arena-top{position:absolute;inset:0 auto auto 0;height:0;min-height:0;padding:0;overflow:hidden;pointer-events:none;visibility:hidden}.phone-game.in-battle .battle-message{display:none}.phone-game.in-battle .command-dock{top:8px;right:10px;bottom:8px;width:180px;max-height:none;padding:6px;gap:3px;border:1px solid var(--phone-line);border-radius:8px;background:linear-gradient(145deg,#fff4dfef,#e7d2acf5);color:var(--phone-ink);box-shadow:0 5px 16px #0005;backdrop-filter:none}.phone-game.in-battle .command-top{min-height:23px;height:23px;margin:0;gap:3px}.phone-game.in-battle .command-top h2{font-size:18px;line-height:1.2;color:var(--phone-ink);letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.phone-game.in-battle #turn-clock{font-size:10px;color:var(--phone-gold);white-space:nowrap}.phone-game.in-battle #commands,.phone-game.in-battle .order-card{flex:1;min-height:0;overflow:hidden}.phone-game.in-battle .order-card{height:100%;gap:0}.phone-game.in-battle .command-energies{flex:none;gap:6px;height:30px;margin-bottom:3px}.phone-game.in-battle .command-energies .command-energy{gap:0;margin:0;color:var(--phone-muted);line-height:1.1}.phone-game.in-battle .command-energies .command-energy span{font-size:10px}.phone-game.in-battle .command-energies .command-energy b{font-size:14px;color:var(--phone-ink);line-height:1.2}.phone-game.in-battle .command-energies .command-energy small{font-size:10px}.phone-game.in-battle .order-content{display:flex;flex-direction:column;flex:1;min-height:0;gap:0;overflow:hidden}.phone-game.in-battle .order-actions,.phone-game.in-battle .phone-order-items{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:44px;gap:3px;min-height:0;flex:1;align-content:start;overflow:hidden}.phone-game.in-battle .phone-order-items{grid-auto-rows:76px}.phone-game.in-battle .order-actions[data-command-list].command-scroll-list{flex:1 1 0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#a77b3f #eee0c0;scroll-padding:4px}.phone-game.in-battle .command-scroll-list.has-more-below{mask-image:linear-gradient(to bottom,#000 calc(100% - 10px),#0004)}.phone-game.in-battle .order-action{height:44px;min-height:44px;padding:5px 6px;gap:3px;flex-direction:row;background:var(--phone-soft);color:var(--phone-ink);border-color:var(--phone-line);border-radius:5px;overflow:hidden}.phone-game.in-battle .order-action b{font-size:13px;line-height:1.25;font-weight:600;min-width:0;overflow-wrap:anywhere}.phone-game.in-battle .order-action small{font-size:10px;line-height:1.2;color:var(--phone-muted);flex:none}.phone-game.in-battle .order-action.active{border-color:var(--phone-gold);background:#f1d593;box-shadow:inset 3px 0 var(--phone-gold)}.phone-game.in-battle .order-item{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:20px 16px minmax(0,1fr);align-content:center;height:76px;min-height:76px;margin:0;padding:4px 6px;gap:1px 4px;background:var(--phone-soft);border-color:var(--phone-line);text-align:left}.phone-game.in-battle .order-item b{font-size:12px;grid-column:2;align-self:center}.phone-game.in-battle .order-item span,.phone-game.in-battle .order-item small{font-size:10px;line-height:1.2}.phone-game.in-battle .order-item span{grid-column:2}.phone-game.in-battle .order-item small{grid-column:1/-1;align-self:center;white-space:normal}.phone-game.in-battle .order-item-art{grid-column:1;grid-row:1/3;width:40px;height:38px;object-fit:contain;pointer-events:none}.phone-game.in-battle .command-dock .mobile-pager{height:44px;min-height:44px;margin:4px 0 0;gap:8px;flex:none}.phone-game.in-battle .command-dock .mobile-pager-button{height:44px;min-height:44px;width:44px;min-width:44px;padding:0;font-size:24px}.phone-game.in-battle .command-dock .mobile-pager-count{font-size:11px;min-width:36px}.phone-game.in-battle .order-footer{flex:none;padding-top:4px}.phone-game.in-battle .order-footer button{height:44px;min-height:44px;padding:4px;font-size:12px}.phone-game.in-battle .order-footer #confirm-all-orders{color:var(--phone-ink);background:linear-gradient(#eac67f,#d6aa53);border-color:var(--phone-gold)}.phone-game.in-battle .order-content>.joint-order-hint,.phone-game.in-battle .order-content>.subtext{flex:none;margin:0 0 3px;padding:3px;font-size:10px;line-height:1.25;color:var(--phone-muted);background:var(--phone-soft);border:0}.phone-game.in-battle .target-phase{background:var(--phone-soft);border-color:var(--phone-line);padding:8px;min-height:0;overflow:hidden}.phone-game.in-battle .target-phase>span{font-size:10px;color:var(--phone-muted)}.phone-game.in-battle .target-action-name{font-size:16px;line-height:1.25;margin:7px 0;color:var(--phone-ink)}.phone-game.in-battle .target-prompt,.phone-game.in-battle .target-phase>p{font-size:12px;line-height:1.45;margin:5px 0;color:var(--phone-ink)}.phone-game.in-battle .battle-utility{display:none}.phone-game.in-battle .target-phase:has(.target-item-description){overflow-y:auto;overscroll-behavior:contain}.phone-game.in-battle .field-actor,.phone-game.in-battle .field-target{background:transparent;border:1px solid transparent;padding:0;box-shadow:none}@container (min-width:901px){.phone-game.in-battle .command-dock{right:14px;width:220px;padding:8px}.phone-game.in-battle .command-top h2{font-size:21px}.phone-game.in-battle #turn-clock{font-size:12px}.phone-game.in-battle .order-action b{font-size:15px}.phone-game.in-battle .order-action small{font-size:12px}.phone-game.in-battle .arena-top{right:245px}}.phone-game.in-battle .command-energies{height:auto;grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,auto);gap:3px 8px;margin-bottom:4px}.phone-game.in-battle .command-energies .command-energy b{font-size:15px}.phone-game.in-battle .command-energies .command-energy small{font-size:11px}.phone-game.in-battle .field-vital{display:flex;align-items:center;gap:4px;min-width:66px;height:21px;padding:3px 5px;border:1px solid #a4b99c80;border-radius:8px;background:#091510f2;font:700 13px/1 Arial,sans-serif;font-variant-numeric:tabular-nums;box-shadow:0 2px 3px #0005}.phone-game.in-battle .field-health-bar{width:34px;height:5px;overflow:hidden;border-radius:3px;background:#465147;flex:none}.phone-game.in-battle .field-health-bar i{background:#96c76f;border-radius:3px}.phone-game.in-battle .field-values{display:block;padding:0;text-align:right;min-width:22px}.phone-game.in-battle .field-vital.hp-medium .field-health-bar i{background:#e6c26a}.phone-game.in-battle .field-vital.hp-low .field-health-bar i{background:#de7665}.phone-game.in-battle .field-vital.downed{border-color:#78625a;color:#c4b7a7}body.phone-game .kagura-command{display:flex;flex-direction:column;gap:3px;width:100%;min-height:48px;margin-bottom:5px;padding:6px 8px;background:linear-gradient(120deg,#513650,#342938);border-color:#bc9959;color:#ffe9ac;text-align:left}body.phone-game .kagura-command b{font-size:15px;letter-spacing:1px}.kagura-command small{font-size:10px;line-height:1.25;color:inherit}.surrender-outcome{white-space:nowrap}.battle-screen .match-connection-notice{position:absolute;z-index:12;top:10px;left:50%;transform:translate(-50%);width:310px;max-width:calc(100% - 24px);box-sizing:border-box;padding:12px 16px;border:1px solid #d8b46d;border-radius:9px;background:#162d26;color:#fff0ce;box-shadow:0 4px 16px #0006;text-align:center;font-size:12px;line-height:1.5}.battle-screen .match-connection-notice[hidden],.battle-screen .match-connection-notice [hidden]{display:none!important}.battle-screen .match-connection-notice strong{display:block;font-size:15px;color:#ffe0a0}.battle-screen .match-connection-notice p{margin:5px 0 0}.battle-screen .match-connection-notice [data-connection-countdown]{font-weight:700;font-variant-numeric:tabular-nums;color:#ffe0a0}.battle-screen .match-connection-notice button{display:block;min-height:44px;width:100%;margin-top:9px;padding:6px 12px;border:1px solid #d8b46d;background:#f0d393;color:#302519;font-size:13px;border-radius:6px}.battle-screen .match-connection-notice[data-state=recovered]{border-color:#a0c88e}.battle-screen .arena-field{--battle-dock-width:220px;--battle-dock-right:14px}.battle-screen .arena-field:before{content:"";position:absolute;inset:0 calc(var(--battle-dock-width) + var(--battle-dock-right) + 6px) 0 0;border:1px solid #b99a61;border-radius:7px;z-index:2;pointer-events:none}.battle-screen .arena-field:after{content:"";position:absolute;inset:0 0 0 auto;width:calc(var(--battle-dock-width) + var(--battle-dock-right) + 3px);background:#f2e5c3;border-left:1px solid #b99a61;z-index:2;pointer-events:none}.battle-screen .command-dock{top:8px;bottom:8px;max-height:none;background:linear-gradient(145deg,#fff5df,#edddba);color:#34291e;border-color:#b99a61;box-shadow:none;backdrop-filter:none}.battle-screen .command-dock .command-top h2{color:#34291e}.battle-screen .command-dock #turn-clock{color:#70501e}.battle-screen .command-dock .command-energy,.battle-screen .command-dock .command-energy b{color:#34291e}.battle-screen .command-dock .order-action{background:#fff8e8;color:#34291e;border-color:#bea778}.battle-screen .command-dock .order-action small{color:#645334}.battle-screen .command-dock .order-action.active{background:#e9ca89;border-color:#9f742e}.battle-screen .command-dock .target-phase{background:#fff8e8;border-color:#bea778}.battle-screen .command-dock .target-phase>span,.battle-screen .command-dock .target-action-name,.battle-screen .command-dock .target-prompt{color:#34291e}.battle-screen .command-dock[data-mode=commentary] #commands{flex:1;overflow:auto}.battle-commentary{min-height:100%;display:flex;flex-direction:column;color:#34291e;gap:12px;overflow-wrap:anywhere}.commentary-current{padding:12px 2px 6px}.commentary-actor{font-size:20px;font-weight:700;margin:0 0 12px}.commentary-current h3{font-size:28px;line-height:1.25;margin:0 0 12px;letter-spacing:0}.commentary-target{font-size:14px;line-height:1.4;margin:0 0 12px}.commentary-result{font-size:29px;font-weight:800;line-height:1.25;margin:0;color:#a22726}.commentary-result.heal{color:#276438}.commentary-result.pending,.commentary-result.support,.commentary-result.evade{font-size:20px;color:#70501e}.commentary-current .commentary-wait{font-size:22px;line-height:1.5}.commentary-history{border-top:1px solid #c5a76b;margin-top:auto;padding-top:10px}.commentary-history h4{font-size:14px;margin:0 0 8px}.commentary-history ul{list-style:none;padding:0;margin:0;display:grid;gap:9px}.commentary-history li{display:grid;grid-template-columns:1fr;gap:2px;font-size:14px;line-height:1.3}.commentary-history small{font-size:12px;color:#695537}@container (max-width:900px){.battle-screen .arena-field:before{right:196px}.battle-screen .arena-field:after{width:193px}.battle-screen .commentary-current h3{font-size:24px}}@media(max-height:480px){.battle-commentary{gap:7px}.commentary-current{padding:6px 0 2px}.commentary-actor{font-size:17px;margin-bottom:7px}.commentary-current h3{font-size:24px;margin-bottom:8px}.commentary-target{font-size:12px;margin-bottom:8px}.commentary-result{font-size:26px}.commentary-current .commentary-wait{font-size:19px}.commentary-history{padding-top:7px}.commentary-history ul{gap:6px}.commentary-history li{font-size:12px}.commentary-history small{font-size:11px}}body.in-battle #app.battle-screen{--hud-surface:rgba(9,20,17,.82);--hud-control:rgba(16,31,25,.88);--hud-hover:#354637;--hud-text:#fff3d9;--hud-muted:#d5cfbd;--hud-gold:#e4c17f;--hud-line:#b9975b99;--hud-soft-line:#b9975b40;--hud-radius:8px;--hud-space:10px;--hud-shadow:0 2px 5px #0003,0 8px 20px #0003;--hud-small:12px;--hud-body:14px;--hud-title:18px;color:var(--hud-text);background-color:#0b1914;background-image:linear-gradient(to bottom,#05100e70,#05100e00 28%,#05100e20 80%,#05100e80),linear-gradient(#09120b66,#09120b66),var(--battle-scene,none);background-size:cover;background-position:center;background-repeat:no-repeat}body.phone-game.in-battle #game-frame{box-shadow:0 10px 40px #0005;border-radius:10px;background:#0b1914}.phone-game.in-battle .battle-screen .arena{background:transparent;border-color:transparent;border-radius:0;box-shadow:none}.battle-screen .arena-field:before,.battle-screen .arena-field:after{display:none}.phone-game.in-battle .battle-screen .battle-top{padding:8px 0;gap:9px;position:relative;z-index:3;overflow-x:hidden;color:var(--hud-text)}.battle-screen .battle-hud-card{padding:var(--hud-space);border:1px solid var(--hud-line);border-radius:var(--hud-radius);background:var(--hud-surface);box-shadow:var(--hud-shadow);min-width:0;flex:none}.phone-game.in-battle .battle-screen .battle-hud-heading{margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid var(--hud-soft-line);font-size:var(--hud-small);line-height:1.3;font-weight:500;color:var(--hud-gold);letter-spacing:.04em}.phone-game.in-battle .battle-screen .battle-identities{display:flex;flex-direction:column;gap:12px;padding:0;border:0;min-width:0}.phone-game.in-battle .battle-screen .team-identity{display:flex;flex-direction:column;gap:4px;max-width:100%;color:var(--hud-text)}.phone-game.in-battle .battle-screen .team-identity.player{border-top:1px solid var(--hud-soft-line);padding-top:10px}.phone-game.in-battle .battle-screen .team-identity b{font-size:var(--hud-body);line-height:1.4;overflow-wrap:anywhere;word-break:normal;font-weight:700}.phone-game.in-battle .battle-screen .battle-top .team-identity:is(.enemy,.player) b:before{display:none}.phone-game.in-battle .battle-screen .battle-team-label{font-size:var(--hud-small);line-height:1.2;color:var(--hud-muted)}.phone-game.in-battle .battle-screen .battle-team-rank{display:block;font-size:var(--hud-small);font-weight:500;color:var(--hud-gold);margin-bottom:2px}.phone-game.in-battle .battle-screen .battle-team-type{font-size:11px;line-height:1.3;padding:2px 7px;align-self:flex-start;border:1px solid var(--hud-soft-line);border-radius:20px;color:var(--hud-muted)}.phone-game.in-battle .battle-screen .battle-title{padding:12px 6px}.phone-game.in-battle .battle-screen .round-label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0 4px;background:transparent;border:0;box-shadow:none;font-size:12px;line-height:1.2;color:var(--hud-gold);white-space:nowrap;text-align:center;font-variant-numeric:tabular-nums}.phone-game.in-battle .battle-screen .battle-turn-count{display:flex;align-items:baseline;gap:4px;max-width:100%}.phone-game.in-battle .battle-screen .round-label b{font-size:26px;font-weight:600}.phone-game.in-battle .battle-screen .battle-turn-caption{font-size:10px;color:var(--hud-muted)}.phone-game.in-battle .battle-screen .battle-field-info{margin-top:auto;display:flex;flex-direction:column;gap:8px}.phone-game.in-battle .battle-screen .battle-field-info .battle-hud-heading{margin-bottom:0}.phone-game.in-battle .battle-screen .difficulty-badge{padding:0;border:0;background:transparent;color:var(--hud-text);font-size:var(--hud-body);font-weight:700;line-height:1.4;white-space:normal}.phone-game.in-battle .battle-screen .clock{align-self:flex-start;padding:4px 7px;border:1px solid var(--hud-soft-line);border-radius:20px;font-size:var(--hud-small);color:var(--hud-gold);background:#6d87502b;line-height:1.4}.phone-game.in-battle .battle-screen .battle-rule{font-size:11px;color:var(--hud-muted);line-height:1.5}.phone-game.in-battle .battle-screen .battlefield-effect{font-size:var(--hud-small);color:var(--hud-gold);line-height:1.4}.battle-screen .battlefield-effect:empty{display:none}.phone-game.in-battle .battle-screen .command-dock{padding:12px;top:8px;bottom:64px;gap:8px;border-color:var(--hud-line);border-radius:var(--hud-radius);background:var(--hud-surface);color:var(--hud-text);box-shadow:var(--hud-shadow);backdrop-filter:none}.phone-game.in-battle .battle-screen .command-top{height:auto;min-height:24px;padding:0 0 8px;margin:0;border-bottom:1px solid var(--hud-soft-line);gap:6px}.phone-game.in-battle .battle-screen .command-top h2{font-size:var(--hud-title);color:var(--hud-text);line-height:1.3}.phone-game.in-battle .battle-screen #turn-clock{font-size:11px;color:var(--hud-gold)}body.phone-game.in-battle .battle-screen #turn-clock.is-urgent,body.phone-game #item-clock.is-urgent{font-size:22px;font-weight:800;line-height:1.2;color:#ff7773}.phone-game.in-battle .battle-screen .command-top:has(.is-urgent){flex-wrap:wrap}.phone-game.in-battle .battle-screen #turn-clock.is-urgent{flex-basis:100%;margin-left:0}.phone-game.in-battle .battle-screen .command-dock[data-mode=commentary]{bottom:auto;max-height:calc(100% - 120px)}.phone-game.in-battle .battle-screen .command-dock[data-mode=commentary] .command-top h2{font-size:15px;font-weight:500;color:var(--hud-gold)}.phone-game.in-battle .battle-screen .command-dock[data-mode=commentary] #commands{flex:0 1 auto;overflow:auto}.phone-game.in-battle .battle-screen .battle-commentary{min-height:0;gap:12px;color:var(--hud-text)}.phone-game.in-battle .battle-screen .commentary-current{padding:4px 0 6px}.phone-game.in-battle .battle-screen .commentary-actor{font-size:20px;margin:0 0 10px;line-height:1.35}.phone-game.in-battle .battle-screen .commentary-current h3{font-size:27px;margin:0 0 14px;line-height:1.3}.phone-game.in-battle .battle-screen .commentary-target{font-size:var(--hud-body);line-height:1.45;color:var(--hud-muted);padding-top:10px;border-top:1px solid var(--hud-soft-line);margin-bottom:12px}.phone-game.in-battle .battle-screen .commentary-result{font-size:27px;color:var(--hud-gold);line-height:1.35}.phone-game.in-battle .battle-screen .commentary-result.heal{color:#badeac}.phone-game.in-battle .battle-screen .commentary-result:is(.pending,.support,.evade){font-size:var(--hud-title)}.phone-game.in-battle .battle-screen .commentary-current .commentary-wait{font-size:var(--hud-title)}.phone-game.in-battle .battle-screen .commentary-history{border-color:var(--hud-soft-line);color:var(--hud-muted)}.phone-game.in-battle .battle-screen .commentary-history small{color:var(--hud-muted)}.phone-game.in-battle .battle-screen .battle-rail-actions{position:absolute;right:10px;bottom:8px;width:180px;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr) 60px;gap:7px;z-index:4}.phone-game.in-battle .battle-screen .battle-rail-actions button{min-width:0;height:44px;min-height:44px;padding:6px;border:1px solid var(--hud-line);border-radius:var(--hud-radius);background:var(--hud-surface);color:var(--hud-text);box-shadow:var(--hud-shadow);font-size:var(--hud-body);white-space:nowrap}.phone-game.in-battle .battle-screen .battle-rail-actions .confirm-surrender{border-color:#ff8d7d;color:#ffb5a9}.phone-game.in-battle .battle-screen .battle-rail-actions .sound-toggle{gap:5px;justify-content:center}.phone-game.in-battle .battle-screen .sound-switch-track{width:30px;height:20px;flex:none}.phone-game.in-battle .battle-screen .sound-switch-thumb{width:14px;height:14px}.phone-game.in-battle .battle-screen [data-sound-toggle][aria-checked=true] .sound-switch-thumb{transform:translate(10px)}.phone-game.in-battle .battle-screen .sound-switch-state{font-size:11px;color:var(--hud-text)}.phone-game.in-battle .battle-screen .command-dock[data-mode=commentary]~.battle-rail-actions{grid-template-columns:1fr}.phone-game.in-battle .battle-screen .command-dock button{background:var(--hud-control);color:var(--hud-text);border-color:var(--hud-soft-line)}.phone-game.in-battle .battle-screen .command-dock :is(.command-energy,.command-energy b,.target-phase>span,.target-action-name,.target-prompt,.target-phase>p){color:var(--hud-text)}.phone-game.in-battle .battle-screen .command-dock :is(.order-action,.order-item,.target-phase,.mobile-pager-button,.order-footer button,.kagura-partner-picker select){background:var(--hud-control);color:var(--hud-text);border-color:var(--hud-soft-line)}.phone-game.in-battle .battle-screen .command-dock .order-action.active{background:#9c804640;border-color:var(--hud-gold);box-shadow:inset 3px 0 var(--hud-gold)}.phone-game.in-battle .battle-screen .command-dock :is(.order-action small,.order-item small,.command-energy span,.command-energy small,.subtext,.mobile-pager-count){color:var(--hud-muted)}.phone-game.in-battle .battle-screen .command-dock .order-content>:is(.joint-order-hint,.subtext){background:transparent;color:var(--hud-muted)}.phone-game.in-battle .battle-screen :is(.selected-technique-summary){background:var(--hud-control);color:var(--hud-muted);border-color:var(--hud-gold)}.phone-game.in-battle .battle-screen .command-dock[data-mode=targets] .order-content{display:block;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.phone-game.in-battle .battle-screen .command-dock[data-mode=targets] .target-phase{overflow:visible}.phone-game.in-battle .battle-screen .command-dock .order-footer #confirm-all-orders{background:#d7b477;color:#15231c;border-color:var(--hud-gold)}.phone-game.in-battle .battle-screen :is(.command-dock,.battle-rail-actions) button:hover:not(:disabled){background:var(--hud-hover);color:var(--hud-text);border-color:var(--hud-gold)}.phone-game.in-battle .battle-screen :is(.command-dock,.battle-rail-actions) button:disabled{background:var(--hud-control);color:#9caa9c;box-shadow:none}.battle-screen #commands .order-action[data-action^="tech:"]:disabled,.battle-screen #commands .kagura-command:disabled{background:var(--hud-control);border-color:var(--hud-soft-line);color:#aeb9ad}.battle-screen #commands .order-action[data-action^="tech:"]:disabled :is(b,small,.technique-name,.technique-label),.battle-screen #commands .kagura-command:disabled :is(b,small){color:#aeb9ad}.phone-game.in-battle .battle-screen :is(button,select):focus-visible{outline:2px solid var(--hud-gold);outline-offset:2px}@container (min-width:901px){.phone-game.in-battle .battle-screen .battle-rail-actions{right:14px;width:220px}}@media(max-height:480px){.phone-game.in-battle .battle-screen .battle-top{padding:6px 0;gap:6px}.phone-game.in-battle .battle-screen .battle-hud-card{padding:7px}.phone-game.in-battle .battle-screen .battle-hud-heading{margin-bottom:6px;padding-bottom:4px}.phone-game.in-battle .battle-screen .battle-identities{gap:6px}.phone-game.in-battle .battle-screen .team-identity.player{padding-top:6px}.phone-game.in-battle .battle-screen .battle-field-info{gap:4px}.phone-game.in-battle .battle-screen .command-dock{padding:9px}.phone-game.in-battle .battle-screen .command-dock:not([data-mode=commentary]){padding:6px;gap:3px}.phone-game.in-battle .battle-screen .command-dock:not([data-mode=commentary]) .command-top{padding-bottom:3px}.phone-game.in-battle .battle-screen .command-dock[data-mode=items] .command-energies{display:none}.phone-game.in-battle .battle-screen .commentary-current h3{font-size:24px}}body.phone-game .phone-result{--result-gold:#d6ac62;--result-bronze:#785326;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 70px 49px 62px minmax(0,1fr) max(52px,calc(44px / var(--phone-scale,1)));width:min(100%,840px);height:100%;margin:0 auto;padding:10px 38px 16px;gap:7px;overflow:hidden;border:1px solid #bf995b;border-radius:12px;background:radial-gradient(ellipse at top,#fff8e4,#f2e2bd);box-shadow:inset 0 0 0 4px #e4c78e,inset 0 0 0 6px #fff8e3,0 3px 12px #60452022;text-align:center}body.phone-game .phone-result>.eyebrow{margin:0;align-self:center;font-size:12px;line-height:1.2;letter-spacing:1.5px;color:#715128}body.phone-game .phone-result .result-title-plaque{position:relative;display:flex;align-items:center;justify-content:center;margin:0 50px;padding:4px 28px;font:700 44px/1.1 Georgia,Yu Mincho,serif;letter-spacing:6px;color:#ffe8a9;text-shadow:0 2px 1px #291b13;border:2px solid #dfb966;outline:1px solid #76522a;outline-offset:2px;border-radius:7px;background:linear-gradient(#684424,#3d2b1d 60%,#51371f);box-shadow:inset 0 0 0 3px #a27c41,inset 0 0 0 5px #523a25,0 4px #b58c46,0 6px 10px #52381933;animation:none}.result-title-plaque:before,.result-title-plaque:after{content:"\25c6";position:absolute;top:50%;transform:translateY(-50%);font-size:22px;color:#b58a46;text-shadow:0 1px #fff4d4}.result-title-plaque:before{left:-38px}.result-title-plaque:after{right:-38px}body.phone-game .phone-result .battle-identities{display:grid;grid-template-columns:1fr 1fr;position:relative;gap:46px;padding:0;border:0;background:none;min-height:0}body.phone-game .phone-result .battle-identities:after{content:"VS";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font:700 14px Georgia,serif;color:#92672c}body.phone-game .phone-result .team-identity{text-align:center!important;width:100%;max-width:none;min-width:0;padding:5px 12px;border:1px solid #c7a76e;border-radius:5px;background:linear-gradient(#fff9e9,#eedbbb);box-shadow:inset 0 0 0 2px #fff7df}body.phone-game .phone-result .team-identity b{display:block;font-size:17px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.phone-game .phone-result .team-identity small{display:block;font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.phone-game .phone-result .result-awards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0;padding:0;border:0;animation:none}body.phone-game .phone-result .result-awards>div{position:relative;padding:5px 8px;border:1px solid #b38b50;border-radius:6px;background:linear-gradient(#fff8e8,#f0dcb0);box-shadow:inset 0 0 0 3px #fff4d8;min-width:0}body.phone-game .phone-result .result-awards small{display:block;font-size:12px;line-height:1.3;color:#76532c}body.phone-game .phone-result .result-awards strong{display:block;font:700 28px/1.25 Georgia,Yu Gothic UI,sans-serif;color:#735022;font-variant-numeric:tabular-nums}body.phone-game .phone-result .result-awards em{font-size:14px;font-style:normal;color:#34624c}body.phone-game .result-notes{min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:0 5px;scrollbar-width:thin}body.phone-game .phone-result .result-reason{margin:0 0 3px;font-size:12px;line-height:1.3;color:#786445}body.phone-game .phone-result .rewards{display:block;margin:0;padding:0;border:0;background:none}body.phone-game .phone-result .rewards p{margin:1px 0;padding:1px 0;border:0;border-radius:0;background:none;box-shadow:none;font-size:12px;line-height:1.4;color:#584730}body.phone-game .phone-result #back-home{width:100%;min-height:46px;margin:0;border:2px solid #a17230;border-radius:7px;background:linear-gradient(#f4d891,#dfb45e);box-shadow:inset 0 0 0 2px #fff0ba,0 3px #8b622c;color:#4d321a;font-size:19px;font-weight:700;letter-spacing:2px}body.phone-game .phone-result[data-result=loss] .result-title-plaque{background:linear-gradient(#51423a,#352d28 60%,#514133);color:#f4dfb3}body.phone-game .phone-result[data-result=draw] .result-title-plaque{font-size:36px;background:linear-gradient(#555140,#38372e);color:#f4e8bf}body.phone-game .phone-result .result-title-plaque{background:transparent url(/assets/brand/result-plaque.svg) center/100% 100% no-repeat;border:0;outline:0;border-radius:0;box-shadow:none;font-weight:900;text-shadow:0 2px 0 #4b3018,0 3px 2px #20140f;letter-spacing:4px}body.phone-game .phone-result[data-result=loss] .result-title-plaque,body.phone-game .phone-result[data-result=draw] .result-title-plaque{background:transparent url(/assets/brand/result-plaque.svg) center/100% 100% no-repeat}body.phone-game .phone-result .result-title-plaque:before,body.phone-game .phone-result .result-title-plaque:after{content:"\2727";font-size:32px}body.phone-game .phone-result .battle-identities:after{content:"VS";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:8px 5px;background:#614324;border:1px solid #bc9355;outline:1px solid #e7c880;color:#ffe4ac;font:700 14px Georgia;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}body.phone-game .phone-result .result-awards>div{padding-left:42px;box-shadow:inset 0 0 0 3px #fff4d8,inset 0 0 0 4px #c6a36a,0 2px #b39154}body.phone-game .phone-result .result-awards>div:before{content:"\2726";position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#a97932;font:30px Georgia;text-shadow:0 1px #fff5d5}body.phone-game .phone-result .result-awards>div:first-child:before{content:"\272a"}body.phone-game .phone-result .rewards p{text-align:center}body.phone-game .phone-result #back-home{position:relative;display:flex;align-items:center;justify-content:center;width:min(100%,360px);justify-self:center;padding:0 36px;line-height:1.2;clip-path:polygon(16px 0,calc(100% - 16px) 0,100% 50%,calc(100% - 16px) 100%,16px 100%,0 50%);border-radius:0;background:linear-gradient(#fbe4a5,#eac373 40%,#cea050 85%,#f6d995);box-shadow:inset 0 0 0 2px #fff0ba,inset 0 0 0 4px #a17230}body.phone-game .phone-result #back-home:before,body.phone-game .phone-result #back-home:after{content:"\25c6";position:absolute;top:50%;transform:translateY(-50%);color:#87602e;font-size:14px}body.phone-game .phone-result #back-home:before{left:15px}body.phone-game .phone-result #back-home:after{right:15px}.opponent-record{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px 16px;padding:6px 12px;border:1px solid #b38b50;border-radius:6px;background:#fff4d8;color:#735022;text-align:center}.opponent-record>span{font-size:14px}.opponent-record>strong{font-size:26px;line-height:1.2;font-variant-numeric:tabular-nums}.opponent-record>small{flex-basis:100%;font-size:11px;line-height:1.2;color:#786445}body.phone-game .phone-result:has(>.opponent-record){grid-template-rows:auto 54px 45px auto 58px minmax(0,1fr) max(52px,calc(44px / var(--phone-scale,1)));gap:5px;padding-top:8px;padding-bottom:12px}.title-screen{--title-bg:#000;--title-ink:#fff2d5;--title-gold:#dfb76f;--title-line:#dfb76f70;position:fixed;inset:0;z-index:100;isolation:isolate;overflow:hidden;background:var(--title-bg);color:var(--title-ink);padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}body.showing-title #game-frame{visibility:hidden}.title-composition{position:relative;width:100%;height:100%;isolation:isolate;container-type:size}.title-composition>*{--brand-width:min(100cqw,clamp(340px,29cqw,500px));--brand-height:calc(var(--brand-width)*330/720);--scene-height:min(calc(100cqw*866/1817),max(1px,calc((100cqh - var(--brand-height) - 72px)/.8)),max(1px, calc(100cqh - 84px) ));--scene-width:calc(var(--scene-height)*1817/866);--overlap:min(calc(var(--scene-height)*.2),max(0px,calc(var(--brand-height) - 12px)));--vertical-bias:.5;--brand-top:max(0px,calc((100cqh - var(--brand-height) - var(--scene-height) + var(--overlap) - 72px)*var(--vertical-bias)));--scene-top:calc(var(--brand-top) + var(--brand-height) - var(--overlap));--start-top:calc(var(--scene-top) + var(--scene-height) + 12px)}@container (aspect-ratio < 1/1){.title-composition>*{--scene-height:min(calc(100cqw*866/1817),max(1px,calc(100cqh - var(--brand-height) - 92px)));--overlap:-20px;--vertical-bias:.4}}.title-scene,.title-scene-backdrop{position:absolute;left:50%;top:var(--scene-top,35%);width:var(--scene-width,100%);height:var(--scene-height,45%);transform:translate(-50%);object-fit:contain;z-index:0}.title-scene{visibility:hidden}.title-scene-backdrop{background-image:url(/assets/brand/gathering-v3.webp),var(--loading-art);background-position:center;background-size:contain;background-repeat:no-repeat}.title-scene.is-ready{visibility:visible}.title-brand{position:absolute;left:50%;top:var(--brand-top,5%);width:var(--brand-width,min(340px,100%));aspect-ratio:720/330;transform:translate(-50%);margin:0;z-index:1;pointer-events:none}.title-brand:before{content:"";position:absolute;inset:-8px -22px;z-index:-1;background:radial-gradient(ellipse,#10261e99 0%,#10261e55 52%,transparent 74%)}.title-brand>svg{display:block;width:100%;height:100%;filter:drop-shadow(0 2px 2px #0a191de6)}.title-border{position:absolute;inset:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border:1px solid var(--title-line);z-index:2;pointer-events:none}body.phone-game .title-start,body.phone-game .title-start:hover:not(:disabled){position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;color:var(--title-ink);z-index:3}.title-start-label{position:absolute;top:calc(var(--start-top,88%) + 28px);left:50%;transform:translate(-50%);width:max-content;max-width:100%;font-family:Yu Gothic UI,Meiryo,sans-serif;font-size:clamp(14px,1.2vw,20px);font-weight:500;line-height:1.5;letter-spacing:.12em;text-align:center;text-shadow:0 2px 4px #071a13}.title-start-label:before,.title-start-label:after{content:"";display:inline-block;vertical-align:middle;width:clamp(12px,3vw,42px);height:1px;margin-inline:12px;background:var(--title-gold)}body.phone-game .title-start:focus-visible{outline:2px solid var(--title-gold);outline-offset:-4px}@media(max-width:400px){.title-start-label{letter-spacing:.06em}.title-start-label:before,.title-start-label:after{width:12px;margin-inline:8px}}.title-roster-total{position:absolute;top:var(--start-top,84%);left:50%;transform:translate(-50%);width:max-content;max-width:100%;color:var(--title-gold);font-family:Meiryo,sans-serif;font-size:clamp(13px,1.1vw,18px);font-weight:500;line-height:1.5;letter-spacing:.04em;text-align:center}body.phone-game dialog#equipment-management-dialog{width:760px;max-width:calc(100vw / var(--phone-scale) - 16px);height:416px;max-height:calc(100dvh / var(--phone-scale) - 10px);zoom:var(--phone-scale);padding:14px 18px;border:1px solid var(--phone-gold);border-radius:12px;background:var(--phone-soft);color:var(--phone-ink);overflow:hidden}#equipment-management-dialog[open]{display:flex;flex-direction:column;gap:8px}#equipment-management-dialog .em-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}#equipment-management-dialog h2{font-size:22px;margin:0}#equipment-management-dialog h3{font-size:15px;margin:0 0 8px}#equipment-management-dialog p{font-size:11px;line-height:1.5;margin:3px 0;color:var(--phone-muted)}#equipment-management-dialog button,#equipment-management-dialog select{font:inherit;font-size:12px;min-height:30px;padding:5px 9px;border-radius:6px}#equipment-management-dialog .em-heading button{font-size:22px;min-width:36px}#equipment-management-dialog .em-tabs{display:flex;gap:6px;margin-left:auto;flex-shrink:0}#equipment-management-dialog .em-heading{border-bottom:1px solid var(--phone-line);padding-bottom:8px}#equipment-management-dialog .em-heading [data-em-help]{font-size:13px;min-height:max(44px,calc(44px / var(--phone-scale,1)));min-width:90px;margin:0 12px;padding:8px 12px;flex:none}#equipment-management-dialog .em-tabs [aria-pressed=true]{background:var(--phone-paper-deep);border-color:var(--phone-gold)}#equipment-management-dialog .em-content{flex:1;min-height:0;display:flex;gap:20px;overflow:auto}#equipment-management-dialog .em-policies{width:270px;flex-shrink:0}#equipment-management-dialog .em-policies label{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:5px;font-size:14px}#equipment-management-dialog .em-policies select{width:116px}#equipment-management-dialog .em-locks{flex:1;min-width:0}#equipment-management-dialog .em-character{width:100%;margin-bottom:6px}#equipment-management-dialog .em-character-controls{display:flex;gap:5px;align-items:start}#equipment-management-dialog .em-character-controls .em-character{flex:1;min-width:0}#equipment-management-dialog .em-reserve-policy{flex:none}#equipment-management-dialog .em-lock-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px}#equipment-management-dialog .em-lock-grid button{text-align:left;min-width:0;padding:4px 7px;line-height:1.2}#equipment-management-dialog .em-lock-grid span{display:flex;justify-content:space-between;font-size:10px;gap:4px}#equipment-management-dialog .em-lock-grid i{font-style:normal;color:var(--phone-muted)}#equipment-management-dialog .em-lock-grid b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;margin-top:3px}#equipment-management-dialog .em-lock-grid [aria-pressed=true]{background:#e6d4ad;border-color:#8c622a;box-shadow:inset 3px 0 #8c622a}#equipment-management-dialog .em-lock-grid [aria-pressed=true] i{color:#70491b;font-weight:700}#equipment-management-dialog .em-actions{display:flex;gap:6px;flex-wrap:wrap;border-top:1px solid var(--phone-line);padding-top:8px}#equipment-management-dialog .em-reset{margin-left:auto;color:#88463b}#equipment-management-dialog .em-status{min-height:17px;margin:0}#equipment-management-dialog .em-results{width:100%}#equipment-management-dialog .em-results ol{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}#equipment-management-dialog .em-results li{display:flex;flex-direction:column;padding:6px 9px;border:1px solid var(--phone-line);border-radius:5px;font-size:12px;gap:3px}#equipment-management-dialog .em-results small{color:var(--phone-muted);font-size:10px}#equipment-management-dialog .em-item-art{width:32px;height:32px;vertical-align:middle;margin-right:8px;image-rendering:auto}.inventory-visual>canvas[data-weapon-art]{width:100%;height:100%;object-fit:contain;image-rendering:auto}body.phone-game dialog#equipment-help-dialog{width:500px;height:fit-content;max-height:calc(100dvh / var(--phone-scale,1) - 16px);max-width:calc(100vw / var(--phone-scale,1) - 20px);padding:22px;background:var(--phone-soft);overflow:auto}#equipment-help-dialog h2{font-size:20px;margin:0 0 14px}#equipment-help-dialog .em-help-copy{font-size:15px;line-height:1.7}#equipment-help-dialog .em-help-copy p{margin:0 0 12px}#equipment-help-dialog footer{display:flex;gap:16px;margin-top:20px}#equipment-help-dialog footer button{flex:1;font-size:15px;min-height:max(44px,calc(44px / var(--phone-scale,1)));padding:10px 14px}body.phone-game .phone-members{grid-template-rows:minmax(0,1fr)}.party-equipment-actions{display:flex;gap:10px;align-items:center;margin-left:auto;padding-left:12px}body.phone-game .party-equipment-actions button{min-height:max(40px,calc(44px / var(--phone-scale,1)));padding:5px 12px;font-size:13px;white-space:nowrap}body.phone-game .inventory-heading .inventory-manage{font-size:12px;padding:5px 9px;min-height:29px;margin-left:12px}.equipment-slot .equipment-lock-mark{color:#795122;font-size:10px;font-weight:700;margin-left:3px}body.phone-game .phone-equipment-picker .gear-actions:has(#gear-lock){grid-template-columns:1fr 1.2fr 1.2fr}body.phone-game .phone-equipment-picker:has(.gear-aptitudes){grid-template-rows:66px minmax(0,1fr) 50px}body.phone-game .phone-equipment-picker .gear-heading .gear-aptitudes{font-size:11px;line-height:1.25;margin:3px 0 0;color:var(--phone-muted)}body.phone-game .phone-gear-list.no-gear-candidates{grid-template-rows:auto minmax(0,1fr) 44px}.phone-gear-list .gear-empty{font-size:13px;margin:4px 0;color:var(--phone-muted)}body.phone-game .phone-equipment-picker .gear-options>button{grid-template-columns:28px minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr);gap:0 6px}body.phone-game .phone-equipment-picker .gear-options>button b{font-size:13px;line-height:1.1;grid-column:2;grid-row:1}body.phone-game .phone-equipment-picker .gear-options>button>span:last-child{font-size:10px;margin:0;grid-column:3;grid-row:1}body.phone-game .phone-equipment-picker .gear-options .equipment-weapon-art,body.phone-game .phone-equipment-picker .gear-options .equipment-weapon-fallback,body.phone-game .phone-equipment-picker .gear-options>button>.gear-icon{grid-row:1;width:26px;height:26px}body.phone-game .phone-equipment-picker .gear-options .equipment-weapon-fallback .gear-icon{width:24px;height:24px}body.phone-game .phone-equipment-picker .no-gear-candidates .gear-options{grid-template-rows:40px}body.phone-game .phone-character-detail .command-visibility,body.phone-game .phone-character-detail .initial-orders{display:grid;grid-template-rows:20px 18px minmax(0,1fr) 32px 14px;gap:4px;height:100%;min-height:0;margin:0;padding:0}body.phone-game .phone-character-detail .command-visibility h2,body.phone-game .phone-character-detail .initial-orders h2{font-size:15px;line-height:20px;margin:0}body.phone-game .phone-character-detail .command-visibility>.dialog-note,body.phone-game .phone-character-detail .initial-orders>.dialog-note{font-size:11px;margin:0;line-height:18px}body.phone-game .phone-character-detail .command-edit-list{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:4px;min-height:0}.command-edit-row{display:flex;gap:8px;align-items:center;border:1px solid var(--phone-line);border-radius:6px;padding:3px 8px;background:var(--phone-soft);min-width:0;min-height:0}.command-edit-row>label{display:flex;align-items:center;gap:5px;font-size:12px;flex:none}.command-edit-row input{width:18px;height:18px;accent-color:var(--phone-gold)}.command-edit-name{display:flex;justify-content:space-between;align-items:center;gap:8px;flex:1;min-width:0}.command-edit-name .technique-name{font-size:13px}.command-edit-name .command-cost{font-size:11px;white-space:nowrap}body.phone-game .command-edit-row>button{min-height:28px;height:28px;min-width:32px;padding:0;font-size:18px}body.phone-game .phone-character-detail .initial-orders>.initial-command-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:5px;min-height:0}body.phone-game .phone-character-detail .initial-command-list>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:12px;padding:4px 6px}.initial-command-list .technique-name{display:flex;justify-content:center;align-items:center;gap:3px;font-size:12px;line-height:1.2}.initial-command-list .command-cost{font-size:11px}body.phone-game .phone-character-detail .initial-orders>.initial-command-pages,body.phone-game .phone-character-detail .command-edit-pages{display:block;height:32px;min-height:0}body.phone-game .phone-character-detail .command-edit-pages .mobile-pager,body.phone-game .phone-character-detail .initial-command-pages .mobile-pager{height:32px;min-height:32px;margin:0;gap:8px}body.phone-game .phone-character-detail .command-edit-pages .mobile-pager button,body.phone-game .phone-character-detail .initial-command-pages .mobile-pager button{height:32px;min-height:32px;min-width:38px;width:38px;padding:0;font-size:22px}.command-settings-status{font-size:10px;line-height:14px;margin:0;color:var(--phone-muted)}.command-edit-name .technique-weapon,.initial-command-list .technique-weapon,.command-content .technique-weapon,.target-action-name .technique-weapon{width:15px;height:15px;flex:none}.command-edit-name .technique-weapon>svg,.initial-command-list .technique-weapon>svg,.command-content .technique-weapon>svg,.target-action-name .technique-weapon>svg{width:15px;height:15px;margin:0}body.phone-game .phone-character-stats .resource-life{display:grid;grid-template-columns:1fr auto;gap:0 5px;align-items:center}.phone-character-stats .resource-life>small{grid-column:1/-1}body.phone-game .phone-character-stats .life-recovery-trigger{font-size:11px;line-height:1.2;min-height:26px;padding:3px 7px;margin:0;border-radius:5px}body.phone-game dialog#life-recovery-dialog{width:420px;height:fit-content;max-width:90vw;max-height:calc(100dvh / var(--phone-scale) - 16px);padding:18px 22px;background:var(--phone-soft);overflow:auto}#life-recovery-dialog header{display:flex;align-items:center;justify-content:space-between}#life-recovery-dialog h2{font-size:20px;margin:0}#life-recovery-dialog .close{font-size:22px}#life-recovery-dialog .life-recovery-name{font-size:14px;margin:2px 0 12px;color:var(--phone-muted)}#life-recovery-dialog dl{display:grid;gap:10px;font-size:15px;margin:0}#life-recovery-dialog dl>div{display:flex;justify-content:space-between;gap:10px}#life-recovery-dialog dd{margin:0;text-align:right;font-weight:700}#life-recovery-dialog dd small{display:block;font-size:12px;color:var(--phone-muted);font-weight:400;margin-top:3px}#life-recovery-dialog .life-recovery-reason{min-height:18px;font-size:13px;color:#805035;margin:10px 0}#life-recovery-dialog #use-life-bud{width:100%;min-height:38px;font-size:15px}#life-recovery-dialog [role=status]{font-size:12px;min-height:16px;margin:6px 0 0}.em-inventory{width:100%}.em-inventory table{width:100%;border-collapse:collapse;font-size:12px}.em-inventory th,.em-inventory td{padding:6px 9px;border-bottom:1px solid var(--phone-line);text-align:right}.em-inventory th:first-child{text-align:left}.phone-game.in-battle .order-fixed,.phone-game.in-battle .order-tools{display:flex;flex:none;gap:4px;margin-bottom:3px}.phone-game.in-battle .order-tools{margin-top:3px;margin-bottom:0}.phone-game.in-battle .order-fixed>button,.phone-game.in-battle .order-tools>button{flex:1;height:28px;min-height:28px;padding:3px;font-size:11px;border-radius:5px;justify-content:center}.phone-game.in-battle .order-content:has(.order-fixed){overflow:hidden}.phone-game.in-battle .order-actions[data-command-list]{grid-auto-rows:40px;flex-shrink:0}.phone-game.in-battle .order-actions[data-command-list]>.order-action{height:40px;min-height:40px;padding:3px 5px;display:block;text-align:left}.phone-game.in-battle .command-content{display:block;min-width:0}.phone-game.in-battle .command-content .technique-name{display:flex;align-items:center;gap:2px;font-size:12px;line-height:1.15}.phone-game.in-battle .command-content .technique-label{min-width:0;overflow-wrap:anywhere}.phone-game.in-battle .command-content .command-cost{display:inline;font-size:10px}.phone-game.in-battle .command-unavailable{margin-left:4px;font-size:9px;color:#975044}.phone-game.in-battle .order-content:has(.order-fixed)>.mobile-pager{height:32px;min-height:32px;margin:4px 0 0}.phone-game.in-battle .order-content:has(.order-fixed)>.mobile-pager button{height:32px;min-height:32px;width:32px;min-width:32px;font-size:20px}.phone-game.in-battle .command-empty{font-size:11px;line-height:1.3;margin:5px 0;padding:0}.phone-game.in-battle .target-action-name{display:block}.phone-game.in-battle .target-action-name .technique-name{font-size:15px;display:flex;align-items:center;gap:3px}.phone-game.in-battle .target-action-name .command-cost{display:block;font-size:11px;margin-top:5px}#commands .order-action[data-action^="tech:"]:disabled,#commands .kagura-command:disabled{opacity:1;background:#dedede;border-color:#949494;color:#666;box-shadow:none}#commands .order-action[data-action^="tech:"]:disabled :is(b,small,.technique-name,.technique-label),#commands .kagura-command:disabled :is(b,small){color:#666}body.phone-game dialog#detail-dialog:has(>.phone-character-detail),body.phone-game dialog#detail-dialog:has(>.phone-equipment-picker){width:calc(var(--phone-width,800px) - 20px);height:432px;padding:10px;max-width:calc(100vw / var(--phone-scale,1) - 12px);max-height:calc(100dvh / var(--phone-scale,1) - 12px)}body.phone-game .phone-character-detail{grid-template-columns:116px minmax(0,1fr);grid-template-rows:50px minmax(0,1fr);gap:8px 10px}body.phone-game .phone-character-detail>.dialog-top{grid-column:1/-1;height:50px}body.phone-game .phone-character-detail>.phone-page-tabs{grid-column:1;grid-row:2;display:flex;flex-direction:column;align-items:stretch;height:100%;gap:3px;overflow:auto}body.phone-game .phone-character-detail>.phone-page-tabs>button{width:100%;flex:1;min-height:max(42px,calc(44px / var(--phone-scale,1)));height:auto;padding:4px;font-size:14px;white-space:normal}body.phone-game .phone-character-detail>.phone-page-tabs>.mobile-pager{display:none}body.phone-game .phone-character-detail>.phone-tab-panels{grid-column:2;grid-row:2}body.phone-game .phone-character-detail .phone-equipment-page{display:grid;grid-template-rows:auto minmax(0,1fr);gap:6px}body.phone-game .phone-character-detail .equipment-aptitudes{margin:0;font-size:14px;line-height:1.35;color:var(--phone-ink)}body.phone-game .phone-character-detail .phone-all-equipment{min-height:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:6px}body.phone-game .phone-character-detail .phone-all-equipment>.equipment-slot{grid-template-rows:22px minmax(0,1fr) 34px;padding:4px;gap:2px}body.phone-game .phone-character-detail .phone-all-equipment>.both-hands{grid-column:span 2}body.phone-game .phone-character-detail .phone-all-equipment .gear-slot-label{height:auto;font-size:14px;line-height:1.2}body.phone-game .phone-character-detail .phone-all-equipment .equipment-slot>b{font-size:14px;white-space:normal;overflow-wrap:anywhere;line-height:1.2}body.phone-game .phone-character-detail .phone-all-equipment .equipment-weapon-art,body.phone-game .phone-character-detail .phone-all-equipment .equipment-weapon-fallback{max-height:none;min-width:0;width:100%;height:100%;display:block;object-fit:contain;position:relative;overflow:hidden}body.phone-game .phone-character-detail .phone-all-equipment .equipment-weapon-fallback .gear-icon{width:100%;height:100%;max-width:96px;max-height:100%;margin:0}body.phone-game .phone-character-detail .phone-character-stats .resources{gap:4px}body.phone-game .phone-character-detail .phone-character-stats .resources>span{padding:5px 2px}body.phone-game dialog#detail-dialog:has(>.phone-equipment-picker){padding:0}body.phone-game .phone-equipment-picker{grid-template-columns:minmax(232px,30%) minmax(0,1fr);grid-template-rows:66px minmax(0,1fr) 50px;padding:10px;gap:8px}body.phone-game .phone-equipment-picker .gear-heading .gear-aptitudes{font-size:13px;line-height:1.3;margin:2px 0 0;white-space:normal}body.phone-game .phone-gear-inspection{grid-column:1;grid-row:2;display:grid;grid-template-rows:minmax(132px,1fr) minmax(0,1fr);gap:8px;min-width:0;min-height:0}body.phone-game .phone-equipment-picker .gear-current{display:grid;grid-template-rows:minmax(0,1fr) max(44px,calc(44px / var(--phone-scale,1)));gap:4px;min-width:0;min-height:0}body.phone-game .phone-equipment-picker .gear-current-body{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px;align-items:center;min-width:0;min-height:0}body.phone-game .phone-equipment-picker .gear-current-body p{font-size:13px;margin:0 0 4px;line-height:1.3}body.phone-game .phone-equipment-picker .gear-current-body h3{font-size:16px;margin:0;line-height:1.35;overflow-wrap:anywhere}body.phone-game .phone-equipment-picker .gear-current-body>.equipment-weapon-art,body.phone-game .phone-equipment-picker .gear-current-body>.equipment-weapon-fallback{display:block;position:relative;width:100%;height:100%;min-height:0;min-width:0;object-fit:contain;margin:0}body.phone-game .phone-equipment-picker .gear-current-actions{display:grid;grid-template-columns:64px minmax(0,1fr);gap:6px}body.phone-game .phone-equipment-picker .gear-current-actions button{min-height:max(44px,calc(44px / var(--phone-scale,1)));padding:3px 5px;font-size:12px;line-height:1.15;color:var(--phone-ink);background:var(--phone-paper);border-color:var(--phone-line)}body.phone-game .phone-equipment-picker .gear-current-actions button[aria-pressed=true]{background:var(--phone-gold)}body.phone-game .phone-gear-list{grid-column:2;grid-row:2;grid-template-rows:20px minmax(0,1fr) 44px;border-left:1px solid var(--phone-line);padding-left:8px;gap:4px}body.phone-game .phone-gear-list-label{margin:0;font-size:13px;line-height:1.3}body.phone-game .phone-equipment-picker .gear-options{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));grid-auto-flow:row;gap:5px;align-content:stretch}body.phone-game .phone-equipment-picker .gear-options>button{grid-template-columns:minmax(38px,36%) minmax(0,1fr);grid-template-rows:minmax(0,1fr) 14px;padding:4px;gap:2px 4px;min-height:max(54px,calc(44px / var(--phone-scale,1)));align-content:stretch}body.phone-game .phone-equipment-picker .gear-options>button b{grid-column:2;grid-row:1;font-size:13px;line-height:1.25;align-self:center}body.phone-game .phone-equipment-picker .gear-options>button>span:last-child{grid-column:2;grid-row:2;font-size:10px;margin:0;white-space:normal}body.phone-game .phone-equipment-picker .gear-options .equipment-weapon-art,body.phone-game .phone-equipment-picker .gear-options .equipment-weapon-fallback{grid-column:1;grid-row:1/3;width:100%;height:100%;min-height:0;min-width:0;position:relative;display:block;object-fit:contain;margin:0}body.phone-game .phone-equipment-picker .gear-options .equipment-weapon-fallback .gear-icon{width:100%;height:100%;margin:0;object-fit:contain}body.phone-game .phone-equipment-picker .no-gear-candidates{grid-template-rows:auto minmax(0,1fr) 44px}body.phone-game .phone-equipment-picker .no-gear-candidates .phone-gear-list-label,body.phone-game .phone-equipment-picker .no-gear-candidates .gear-options{display:none}body.phone-game .phone-equipment-picker .gear-empty{font-size:14px;margin:0;line-height:1.5}body.phone-game .phone-equipment-picker .gear-description{padding:5px 0 0;border:0;border-top:1px solid var(--phone-line);grid-template-rows:20px max(44px,calc(44px / var(--phone-scale,1))) minmax(0,1fr);gap:3px}body.phone-game .phone-equipment-picker .gear-description-title h3{font-size:13px;line-height:1.2}body.phone-game .phone-equipment-picker .gear-description-title>span{display:none}body.phone-game .phone-equipment-picker .phone-gear-tabs button{min-height:max(44px,calc(44px / var(--phone-scale,1)));min-width:64px;padding:3px 10px;font-size:13px}body.phone-game .phone-gear-overview{grid-template-columns:48px minmax(0,1fr);gap:6px}body.phone-game .phone-gear-overview>.equipment-weapon-art,body.phone-game .phone-gear-overview>.equipment-weapon-fallback{height:100%;width:100%;min-width:0;max-height:100%;display:block;object-fit:contain;position:relative;overflow:hidden}body.phone-game .phone-gear-overview .equipment-weapon-fallback .gear-icon{width:100%;height:100%;max-width:100%;max-height:100%;margin:0}body.phone-game .phone-equipment-picker .gear-modifiers{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));height:100%;gap:3px;align-items:center}body.phone-game .phone-equipment-picker .gear-modifiers>span{font-size:10px;line-height:1.1;gap:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between}body.phone-game .phone-equipment-picker .gear-modifiers b{font-size:14px;line-height:1.1}body.phone-game .phone-equipment-picker .phone-gear-copy{display:block;overflow:auto;overscroll-behavior:contain;font-size:13px;line-height:1.5}body.phone-game .phone-equipment-picker .phone-gear-copy p{font-size:13px;line-height:1.5;margin:0 0 6px}body.phone-game .phone-equipment-picker .gear-actions button{min-height:max(48px,calc(44px / var(--phone-scale,1)));font-size:15px;padding:5px}.reserve-order-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px}body.phone-game .phone-character-detail .phone-all-equipment .equipment-weapon-fallback .individual-item-art,body.phone-game .phone-equipment-picker .equipment-weapon-fallback .individual-item-art{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;margin:0}.reserve-order-bar h2{margin:0!important}.reserve-order-bar label{display:flex;align-items:center;gap:8px;font-size:13px}body.phone-game .reserve-order-bar select{min-height:max(44px,calc(44px / var(--phone-scale,1)));min-width:128px;padding:6px 10px;font-size:14px}body.phone-game .phone-reserve-members .phone-member-list{grid-auto-flow:row;grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:repeat(4,minmax(0,1fr));padding:0 16px}body.phone-game .phone-character-detail{grid-template-rows:max(58px,calc(52px / var(--phone-scale,1))) minmax(0,1fr);touch-action:pan-y pinch-zoom}body.phone-game .phone-character-detail>.dialog-top{height:100%;margin:0;min-width:0}body.phone-game .phone-character-detail>.dialog-top>div:not(.portrait){min-width:0}body.phone-game .phone-character-detail .dialog-top h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.phone-game .phone-character-detail .detail-character-nav{display:flex;align-items:center;gap:6px;margin-left:auto;flex:none}body.phone-game .phone-character-detail .detail-character-nav button{width:max(46px,calc(44px / var(--phone-scale,1)));height:max(46px,calc(44px / var(--phone-scale,1)));padding:0;font-size:30px;line-height:1}body.phone-game .phone-character-detail .detail-character-position{font-size:13px;font-weight:700;white-space:nowrap;color:var(--phone-ink)}body.phone-game .phone-character-detail .dialog-top .close{width:max(58px,calc(52px / var(--phone-scale,1)));height:max(58px,calc(52px / var(--phone-scale,1)));min-height:58px;margin-left:6px;font-size:36px;border:2px solid var(--phone-gold);background:var(--phone-soft);color:var(--phone-ink)}.battle-preparing{display:grid;place-items:center;width:100%;height:100%;min-height:0;padding:20px;background:#080909}.screen-art-frame{position:relative;margin:0;overflow:hidden;aspect-ratio:21/10;max-width:100%;background:#000;border-radius:12px}.screen-art-frame img{display:block;width:100%;height:100%;object-fit:contain}.screen-art-frame img[data-fullscreen-art]{background:#000}.screen-art-frame img[data-fullscreen-art]:not([data-art-ready]){visibility:hidden}.screen-art-frame figcaption{position:absolute;bottom:0;left:0;right:0;background:#000c;color:#fff3dd;text-align:center;font-weight:700;font-size:clamp(16px,2.4vw,28px);line-height:1.25;padding:5px 12px}.battle-preparing .screen-art-frame{width:min(68%,960px);height:auto;max-height:100%;aspect-ratio:21/10;border:1px solid #725d3d;border-radius:12px;box-shadow:0 8px 28px #0008}.battle-preparing .screen-art-frame{background:#000}.battle-preparing figcaption{background:#000c;color:#fff3dd}.battle-preparing .screen-art-frame img{object-fit:contain}.release-hero:has(>.battle-preparing),body.phone-game .phone-home .release-hero:has(>.battle-preparing){padding:0;gap:0;border:0;background:none;display:block}.release-hero>.battle-preparing{position:absolute;inset:0}.screen-art-frame .screen-art-retry{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 16px;max-height:100%;overflow:auto;font-size:16px;overflow-wrap:anywhere}.screen-art-retry strong{font-size:20px}body.phone-game .screen-art-retry button{min-height:max(44px,calc(44px / var(--phone-scale,1)));padding:8px 20px;background:#80551f;color:#fff8e7;border-color:#80551f;font-size:16px;flex:none}body.phone-game #game-device:has(#app>.battle-preparing)>.header{display:none}body.phone-game #app:has(>.battle-preparing){height:100%;padding:0}@media(max-height:500px){.screen-art-frame figcaption{font-size:17px;padding:3px 8px}}@media(max-height:500px){.battle-preparing{padding:12px}.battle-preparing .screen-art-frame{width:68%;max-height:100%}}.account-panel{max-width:min(620px,94vw);max-height:90dvh;overflow:auto;padding:18px;border:1px solid #b89354;border-radius:12px;background:#fff5e1;color:#392c1f}.account-panel h1,.account-panel h2,.account-panel h3{margin:8px 0}.account-panel p{white-space:pre-wrap;overflow-wrap:anywhere}.account-panel label,.account-settings label{display:flex;flex-direction:column;gap:4px}.account-panel form,.account-settings form{display:grid;gap:8px;margin:12px 0}.account-panel button,.account-settings button{min-height:44px}.account-settings{overflow:auto}.account-settings input{min-width:0;width:100%}.account-settings [data-account-notices]{font-size:13px;white-space:pre-wrap}.phone-player .public-identity{display:flex;align-items:center;gap:12px}.phone-player [data-edit-profile]{margin-left:auto;min-height:44px;font-size:13px}.battle-identities{display:flex;gap:14px;justify-content:space-between;min-width:0;flex:1}.team-identity{display:flex;flex-direction:column;min-width:0;max-width:50%;line-height:1.15}.team-identity b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-identity small{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-identity.player{text-align:right}.phone-result-details>.battle-identities{flex:none;gap:12px;width:100%;padding:4px}.account-restricted{margin:auto}.account-restricted>div{display:flex;gap:12px}.rs-preset-card{display:block;width:100%;text-align:left}.rs-preset-card .rs-preset-portraits{pointer-events:none}.battle-identity-header{display:none!important}body.in-battle .header{position:relative}body.in-battle .header>:not(.battle-identity-header){visibility:hidden;pointer-events:none}body.in-battle .header>.battle-identity-header{display:flex!important;position:absolute;inset:8px 18px;align-items:center;pointer-events:none;color:var(--phone-ink)}.battle-identity-header .team-identity{width:48%;max-width:48%}.battle-identity-header b{font-size:18px}.battle-identity-header small{font-size:14px}body.phone-game .rs-presets-screen .rs-content{overflow:hidden}body.phone-game .rs-preset-current{overflow-y:auto;overscroll-behavior:contain}body.phone-game .rs-preset-current>*{flex-shrink:0}body.phone-game #settings-dialog .account-settings{overflow-y:auto;overscroll-behavior:contain}body.phone-game #settings-dialog .account-settings form{flex-wrap:wrap}body.phone-game #settings-dialog .account-settings [data-public-id-form]>p{flex-basis:100%;order:2;margin:0}body.phone-game dialog#settings-dialog{zoom:1;width:min(860px,calc(100% - 24px - var(--safe-left) - var(--safe-right)));height:min(580px,var(--settings-height, calc(100dvh - 16px) ));max-height:none;font-size:16px}body.phone-game #settings-dialog .dialog-top{height:44px;min-height:44px;flex:none;margin-bottom:6px}body.phone-game #settings-dialog .phone-page-tabs{flex:none;align-items:stretch}body.phone-game #settings-dialog .phone-page-tabs>button{min-height:44px;font-size:16px;padding:6px 12px}body.phone-game #settings-dialog .phone-page-tabs>.mobile-pager{display:none}body.phone-game #settings-dialog .phone-tab-panel{overflow-y:auto;overscroll-behavior:contain;padding:8px 4px}body.phone-game #settings-dialog .account-settings form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px 12px;margin:8px 0 14px}body.phone-game #settings-dialog .account-settings input{font-size:16px;min-height:44px;margin:0;padding:8px 10px}body.phone-game #settings-dialog .account-settings form button{grid-column:2;grid-row:1;min-height:44px}body.phone-game #settings-dialog .team-name-label{display:flex;justify-content:space-between;gap:8px;align-items:center}body.phone-game #settings-dialog [data-name-count]{font-size:13px;font-weight:400;white-space:nowrap}body.phone-game #settings-dialog [data-account-message]{margin:4px 0 12px;font-size:15px;color:#31574a}body.phone-game #settings-dialog [data-account-message][data-error=true]{color:#9e3425}.account-public-id{margin:14px 0;padding:12px;background:var(--phone-soft);border:1px solid var(--phone-line);border-radius:8px}.account-public-id span{display:block;font-weight:700}.account-public-id code{display:block;margin:6px 0;font:inherit;overflow-wrap:anywhere;user-select:all}.account-public-id p{margin:0}body.phone-game.keyboard-open #settings-dialog{top:calc(var(--settings-top,8px) + var(--safe-top));bottom:auto;margin:0 auto}body.phone-game.keyboard-open #settings-dialog .phone-page-tabs,body.phone-game.keyboard-open #settings-dialog .account-settings>h3{display:none}@media(max-width:480px){body.phone-game #settings-dialog .account-settings form{grid-template-columns:minmax(0,1fr)}body.phone-game #settings-dialog .account-settings form button{grid-column:1;grid-row:3}body.phone-game #settings-dialog .phone-page-tabs>button{padding:6px;font-size:14px}}body.phone-game.keyboard-open #settings-dialog{padding:8px}body.phone-game.keyboard-open #settings-dialog .dialog-top{position:relative;height:0;min-height:0;margin:0;z-index:1}body.phone-game.keyboard-open #settings-dialog .dialog-top h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}body.phone-game.keyboard-open #settings-dialog .dialog-top .close{position:absolute;top:20px;right:0;margin:0}body.phone-game.keyboard-open #settings-dialog .phone-tab-panels,body.phone-game.keyboard-open #settings-dialog .account-settings{overflow:visible}body.phone-game.keyboard-open #settings-dialog .account-settings{padding:0}body.phone-game.keyboard-open #settings-dialog .account-settings>:not([data-team-name-form]):not([data-account-message]):not(.settings-profile){display:none}body.phone-game.keyboard-open #settings-dialog .account-settings form{grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;margin:0;padding-right:52px}body.phone-game.keyboard-open #settings-dialog .account-settings label{gap:2px}body.phone-game.keyboard-open #settings-dialog .team-name-label{font-size:14px;line-height:18px}body.phone-game.keyboard-open #settings-dialog .account-settings input{font-size:18px;height:44px}body.phone-game.keyboard-open #settings-dialog .account-settings form button{grid-column:2;grid-row:1;height:44px;align-self:end}body.phone-game.keyboard-open #settings-dialog [data-account-message]{margin:2px 0 0;line-height:18px;font-size:14px}.membership-settings{display:flex;flex-direction:column;gap:6px;min-width:0;min-height:0;color:var(--phone-ink,#39291c)}.membership-settings [hidden]{display:none!important}.membership-settings [data-membership-options]{flex:1;min-height:0}.membership-overview{display:flex;flex-direction:column;gap:6px;height:100%}.membership-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;flex:1;min-height:0}.membership-card{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid #baa16f;border-radius:10px;background:#fcf5e3;min-width:0}.membership-card[data-plan=premium]{border-color:#aa732b;background:linear-gradient(125deg,#fff6de,#eed8a8)}.membership-card-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}.membership-card-heading small{display:block;font-size:12px;color:#716046;line-height:1.2}.membership-card-heading h3{margin:2px 0 0;font-size:18px;line-height:1.2}.membership-price{display:flex;align-items:baseline;white-space:nowrap;line-height:1.35}.membership-price strong{font-size:26px;color:#80531c}.membership-price span{font-size:13px}.membership-benefits{display:grid;grid-template-columns:1fr auto;gap:3px 8px;align-content:center;margin:0;flex:1;font-size:14px;line-height:1.3}.membership-benefits dt{color:#716046}.membership-benefits dd{margin:0;text-align:right;font-weight:700;color:#39291c}.membership-settings .membership-purchase{width:100%;margin:0;min-height:44px;padding:6px;font-size:16px;border-color:#80531c;background:#80531c;color:#fff8eb}.membership-settings .membership-purchase:disabled{background:#e6d1a5;color:#716046;border-color:#baa16f;opacity:1}.membership-actions{display:flex;gap:8px;justify-content:center;flex:none}.membership-settings .membership-actions button,.membership-settings .membership-detail-nav button{min-height:44px;margin:0;padding:6px 12px;font-size:14px}.membership-legal{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;justify-content:center;font-size:12px;line-height:1.3;color:#716046;flex:none}.membership-legal a{color:#65431d;text-decoration:underline;text-underline-offset:3px}.membership-details{height:100%;display:flex;flex-direction:column;gap:8px}.membership-details article{flex:1;min-height:0;padding:14px 18px;border:1px solid #baa16f;border-radius:10px;background:#fcf5e3}.membership-details h3{font-size:20px;margin:0 0 12px}.membership-details p{font-size:16px;line-height:1.6;margin:10px 0}.membership-detail-nav{display:flex;gap:10px;align-items:center}.membership-detail-nav button:first-child{margin-right:auto}.membership-detail-nav span{font-size:14px}body.phone-game #settings-dialog .membership-settings.phone-tab-panel{overflow:visible;padding:0}body.phone-game #settings-dialog .membership-settings [data-membership-message]{margin:0;min-height:18px;font-size:13px;line-height:1.35;color:#716046}body.phone-game #settings-dialog .membership-details p{font-size:16px;line-height:1.6;margin:10px 0}@media(min-width:600px)and (max-height:500px){body.phone-game #settings-dialog .phone-dialog-layout:has(.membership-settings:not([hidden])){display:grid;grid-template-columns:70px minmax(0,1fr) 48px;grid-template-rows:44px minmax(0,1fr);gap:8px}body.phone-game #settings-dialog .phone-dialog-layout:has(.membership-settings:not([hidden]))>.dialog-top{grid-column:1/-1;grid-row:1;margin:0}body.phone-game #settings-dialog .phone-dialog-layout:has(.membership-settings:not([hidden]))>.phone-page-tabs{grid-column:2;grid-row:1;z-index:1;margin:0}body.phone-game #settings-dialog .phone-dialog-layout:has(.membership-settings:not([hidden]))>.phone-page-tabs>button{white-space:nowrap;flex-shrink:0}body.phone-game #settings-dialog .phone-dialog-layout:has(.membership-settings:not([hidden]))>.phone-page-tabs>button:nth-of-type(4){white-space:normal;flex-shrink:1;max-width:150px;font-size:12px;line-height:1.2;padding:4px 8px}body.phone-game #settings-dialog .phone-dialog-layout:has(.membership-settings:not([hidden]))>.phone-tab-panels{grid-column:1/-1;grid-row:2}}@media(max-height:375px){.membership-card{padding:6px 10px;gap:4px}.membership-overview,.membership-settings{gap:4px}.membership-card-heading h3{font-size:17px}.membership-price strong{font-size:24px}.membership-benefits{gap:2px 6px}}@media(max-width:599px){.membership-cards{grid-template-columns:minmax(0,1fr)}.membership-card-heading h3{font-size:17px}.membership-card{padding:8px 10px}.membership-actions{gap:4px}.membership-settings .membership-actions button{padding:6px;font-size:12px}}.native-account-settings{margin-block:16px;padding-block:12px;border-top:1px solid currentColor}.native-account-settings p{line-height:1.5}.native-account-settings .native-apple-button{display:block;background:#111;color:#fff;border:1px solid #ddd;border-radius:8px;min-height:44px;padding:12px 18px;margin-block:10px;max-width:100%;white-space:normal}.account-deletion-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:14px 18px;overflow:auto;font-size:14px;line-height:1.45}.account-deletion-dialog .dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}.account-deletion-dialog h2{font-size:20px;margin:0}.account-deletion-dialog p{margin:7px 0}.account-deletion-dialog label{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:14px}.account-deletion-dialog input[type=checkbox]{width:18px;height:18px;margin:0;flex:none}.account-deletion-dialog button{min-height:36px;padding:7px 14px;font-size:14px}#account-deletion-dialog button[data-delete]{background:#8c3125;color:#fff;border:1px solid #8c3125}#account-deletion-dialog button[data-delete]:disabled{background:#e0d3bc;color:#665c4b;border-color:#b5a68d}body dialog.account-deletion-dialog button[data-cancel]{background:#eee0c1;color:#392c1f;border:1px solid #b5a68d}.account-deletion-dialog [data-message]:empty{display:none}.phone-party .formation-editor{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:10px;min-height:0}.phone-party .formation-editor .formation-dropzone{display:flex;flex-direction:column;min-width:0;min-height:0}.phone-party .formation-editor .formation-area{display:flex;flex-direction:column;flex:1;min-height:0;padding:0 10px 8px}.phone-party .formation-editor .grid-field{width:100%;max-width:none;flex:1;min-height:0;margin:0;padding:0}.phone-party .formation-editor .formation-grid{height:100%;grid-template-rows:repeat(5,minmax(0,1fr));gap:3px}.phone-party .formation-editor .cell{position:relative;min-height:0}.phone-party .formation-editor .cell .portrait{position:absolute;inset:0;display:block;height:100%;width:100%;max-height:none;object-fit:contain}.phone-party .formation-editor .cell.empty{background:transparent;border-color:transparent}.phone-party .formation-editor .cell.focus{outline:3px solid #9d6012;outline-offset:-2px;background:#e8bd68}.phone-party .formation-editor .cell.exchange-ready{border:2px dashed #97641c;background:#efddb5}.phone-party .formation-editor .formation-help{min-height:18px;font-size:12px;margin:6px 0 0}.phone-party .formation-editor .formation-drop-ready{outline:3px solid #9d6012;outline-offset:-3px;background:#f1e0b9}.formation-library{display:flex;flex-direction:column;min-width:0;min-height:0;padding:10px;gap:8px}.formation-library-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none}.formation-library-heading h2{font-size:16px;margin:0}.formation-library-heading button{min-height:44px;padding:6px 12px;font-size:13px}.formation-card-list{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;display:flex;flex-direction:column;gap:7px;padding:3px;touch-action:pan-y}.formation-card{display:grid;grid-template-columns:54px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:3px 9px;text-align:left;align-items:center;flex:none;min-height:78px;padding:8px;color:#382716;background:#fbf2dc;border:1px solid #b69760;border-radius:8px;touch-action:pan-y;user-select:none}.formation-card svg{grid-row:1/3;width:54px;height:54px;fill:#916025}.formation-card b{font-size:15px}.formation-card-effect{grid-column:2/-1;font-size:12px;line-height:1.45}.formation-card svg .effect-target{fill:#9b6418}.formation-card svg .effect-other{fill:#79705c}.formation-card svg text{fill:#fff8df;font:700 8px Arial,sans-serif}.phone-party .formation-editor .formation-slot-number{position:absolute;top:2px;left:2px;z-index:1;padding:1px 4px;border-radius:4px;background:#483821;color:#fff2cd;font:700 11px/1.3 Arial,sans-serif;pointer-events:none}.phone-party .formation-editor .formation-effect-slot .formation-slot-number{background:#926016;border:1px solid #f9d783}.formation-card[aria-pressed=true]{background:#ead19a;box-shadow:inset 0 0 0 2px #97641c}.formation-equipped{grid-column:3;grid-row:1;font-size:11px;color:#67400e;white-space:nowrap}.formation-library-footer{flex:none;display:flex;justify-content:flex-end}.formation-library-footer button{font-size:12px;min-height:36px}.formation-card-ghost{position:fixed;z-index:1000;pointer-events:none;opacity:1;box-shadow:0 8px 24px #30251466}.phone-party .formation-editor .formation-dropzone{overflow-y:auto;overscroll-behavior:contain}.phone-party .formation-editor .formation-area{flex-shrink:0;min-height:390px}.phone-party .formation-editor .grid-field{min-height:240px}.formation-member-info{flex:none;display:grid;grid-template-columns:48px minmax(0,1fr);gap:5px 8px;margin-top:8px;padding:8px;border:1px solid #b69760;border-radius:8px;background:#fbf2dc;color:#382716}.formation-member-info>.portrait{grid-column:1;grid-row:1/4;width:48px;height:68px;object-fit:contain;align-self:center;background:#eadbb8;border-radius:5px}.formation-member-heading{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}.formation-member-heading b{display:block;font-size:16px}.formation-member-heading small{display:block;font-size:11px;margin-top:2px}.formation-member-heading button{flex:none;min-width:56px;min-height:44px;padding:4px 8px;font-size:12px}.formation-member-stats{grid-column:2;display:flex;flex-wrap:wrap;gap:4px 10px;margin:0}.formation-member-stats>div{display:flex;align-items:baseline;gap:4px;white-space:nowrap}.formation-member-stats dt{font-size:11px}.formation-member-stats dd{font-size:13px;font-weight:700;margin:0}.formation-member-loadout{grid-column:2;display:flex;flex-wrap:wrap;gap:3px 12px;border-top:1px solid #d9c69d;padding-top:5px;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.formation-member-hint{grid-column:1/-1;margin:0;min-height:76px;display:flex;align-items:center;font-size:12px;line-height:1.6}.family-conflict{animation:family-conflict-pulse .65s ease-out 2!important}@keyframes family-conflict-pulse{0%,to{outline:3px solid transparent;outline-offset:3px}35%,65%{outline:4px solid #b34429;outline-offset:3px;box-shadow:0 0 0 7px #e6a25b66}}.cpu-hub{--cpu-line:#baa16f;--cpu-green:#284c3e;--cpu-paper:#fbf3e1;color:#39291c;display:flex;flex-direction:column;height:100%;min-height:0;padding:10px 14px;background:#f6e9ca;gap:7px}.cpu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.cpu-heading h1{font-size:23px;margin:0}.cpu-heading small{color:#8b6227;letter-spacing:2px;font-size:10px}.cpu-heading>div:last-child{display:flex;gap:7px}.cpu-hub button{color:#39291c;background:#fcf5e3;border:1px solid var(--cpu-line);min-height:34px;padding:6px 12px;font-size:13px;box-shadow:none;border-radius:6px}.cpu-hub button.primary{color:#fff7e5;background:var(--cpu-green);border-color:#284c3e}.cpu-hub button:focus-visible,.cpu-hub select:focus-visible{outline:3px solid #ac742a;outline-offset:2px}.cpu-hub button:disabled{cursor:default;color:#85745a;background:#e4dbc6;opacity:1}.cpu-tabs{display:flex;gap:8px;flex-shrink:0}.cpu-tabs button{min-width:145px;font-weight:700}.cpu-tabs small{margin-left:8px}.cpu-hub [aria-pressed=true]{background:#e6bd77;border-color:#96652b}.cpu-status{font-size:12px;color:#6e4723;line-height:1.4;margin:0;min-height:0;flex-shrink:0}.cpu-status:empty{display:none}.cpu-content{min-height:0;flex:1;overflow:hidden}.cpu-adventure-layout,.cpu-tournament-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:12px;height:100%;min-height:0}.cpu-stage-list,.cpu-ranks{overflow:auto;min-height:0}.cpu-stage-list label{display:grid;gap:3px;font-size:11px;color:#746043}.cpu-stage-list select{font:inherit;font-size:13px;padding:6px;border:1px solid var(--cpu-line);border-radius:5px;background:#fff7e6;color:#39291c;width:100%}.cpu-stage-buttons{display:grid;gap:5px;margin-top:7px}.cpu-stage-buttons button{display:grid;grid-template-columns:24px 1fr;text-align:left;gap:2px 7px;padding:8px}.cpu-stage-buttons span{grid-row:span 2;align-self:center;font-weight:700;color:#8e642c}.cpu-stage-buttons strong{font-size:13px}.cpu-stage-buttons small{font-size:10px}.cpu-stage-list>p{font-size:10px;line-height:1.6;margin:8px 0}.cpu-detail{background:var(--cpu-paper);border:1px solid var(--cpu-line);border-radius:8px;overflow:auto;min-height:0}.cpu-stage-banner{background-position:center 48%;background-size:cover;padding:18px;color:#fff9e5;min-height:122px;display:flex;flex-direction:column;justify-content:flex-end;text-shadow:0 2px 3px #000}.cpu-stage-banner small{font-size:11px}.cpu-stage-banner h2{font-size:25px;margin:4px 0}.cpu-stage-banner p{font-size:12px;margin:0}.cpu-detail-body{padding:12px 14px}.cpu-opponents{display:flex;gap:7px;justify-content:space-around}.cpu-opponents>div{display:grid;justify-items:center;min-width:0;flex:1}.cpu-opponents .portrait{width:48px;height:48px}.cpu-opponents canvas{width:48px;height:48px}.cpu-opponents small{font-size:9px;white-space:nowrap}.cpu-launch{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0;flex-wrap:wrap}.cpu-launch p{font-size:11px;margin:0}.cpu-reward{border-top:1px solid var(--cpu-line);padding-top:9px}.cpu-reward-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.cpu-reward h3{font-size:14px;margin:0}.cpu-reward-heading>b{font-size:11px;color:#39704a}.cpu-reward-options{display:flex;gap:8px;margin-top:7px}.cpu-reward-options>div{flex:1;min-width:0;text-align:center;border:1px solid #d6c29b;border-radius:7px;padding:8px;background:#fff9ed}.cpu-hub .cpu-item{display:block;width:70px;height:70px;object-fit:contain;margin:0 auto 5px}.cpu-reward-options strong{font-size:12px;display:block}.cpu-reward p{font-size:11px;line-height:1.6;margin:5px 0 8px}.cpu-reward-options button{width:100%;font-size:12px}.cpu-special-reward{display:block;font-size:17px;margin-top:12px}.cpu-ranks{display:grid;gap:5px;align-content:start}.cpu-ranks button{display:grid;grid-template-columns:28px 1fr auto;align-items:center;text-align:left;padding:8px}.cpu-ranks strong{font-size:21px;color:#8c622d}.cpu-ranks small{font-size:10px}.cpu-tournament-detail>header{padding:16px 18px;background:#294d3f;color:#fff5df}.cpu-tournament-detail h2{margin:2px 0;font-size:26px}.cpu-tournament-detail header p{font-size:12px;margin:5px 0 0}.cpu-tournament-detail header small{font-size:11px;color:#efcf92}.cpu-practice-rule{font-size:11px;line-height:1.6;margin:0 0 10px}.cpu-three-rounds{display:flex;justify-content:center;align-items:center;gap:10px;background:#eee1c4;padding:17px;font-size:15px}.cpu-three-rounds b{color:#a07535}.cpu-run-status{display:flex;justify-content:space-between;color:#295b41;font-size:14px}.cpu-bracket{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0;align-items:stretch}.cpu-bracket>div{display:flex;flex-direction:column;justify-content:space-around;gap:4px}.cpu-bracket h4{font-size:10px;text-align:center;margin:0 0 3px}.cpu-bracket p{font-size:10px;line-height:1.4;border:1px solid #cdb98f;border-radius:4px;margin:0;padding:4px;overflow-wrap:anywhere;background:#f5ead4}.cpu-bracket p.is-player{background:#315c46;color:#fff6df;border-color:#315c46}.cpu-bracket p.is-eliminated{color:#857966;text-decoration:line-through}.cpu-reservation{display:flex;align-items:center;gap:10px;background:#e6d3a4;padding:6px 9px;border-radius:6px;font-size:11px;flex-shrink:0}.cpu-reservation strong{white-space:nowrap}.cpu-reservation button{margin-left:auto}.cpu-result-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.cpu-result-actions button{flex:1}.cpu-entry-buttons{display:grid;gap:7px}.phone-game #app[data-phone-view=cpu]{overflow:hidden;padding:0}.phone-game .cpu-heading button{height:auto}.phone-game .cpu-hub{font-size:13px}.phone-game .cpu-hub h1{font-size:20px}.phone-game .cpu-hub h2{font-size:23px}.phone-game .cpu-hub .cpu-stage-list select{height:auto}.phone-game .cpu-hub p{max-width:none}.phone-game .cpu-hub .cpu-item{width:64px;height:64px}.cpu-detail-tabs{display:flex;gap:5px;padding:6px 12px 0}.cpu-hub .cpu-detail-tabs button{min-height:28px;padding:3px 12px;font-size:12px}.cpu-detail[data-panel=battle] .cpu-reward{display:none}.cpu-detail[data-panel=reward] .cpu-detail-body>:not(.cpu-reward){display:none}.cpu-detail[data-panel=reward] .cpu-reward{border:0;padding-top:0}.cpu-stage-banner{min-height:76px;padding:10px 15px}.cpu-stage-banner h2{font-size:22px}.cpu-tournament-detail>header{padding:8px 15px}.cpu-tournament-detail header p{margin:2px 0 0}.cpu-practice-rule{font-size:10px;line-height:1.4;margin-bottom:6px}.cpu-bracket{margin:6px 0;gap:5px}.cpu-bracket p{font-size:9px;padding:2px 4px}.cpu-bracket h4{font-size:9px}.cpu-stage-list>p{font-size:9px}.cpu-hub .cpu-ranks button{min-height:31px;line-height:1.15;padding:4px 8px;overflow:visible}.cpu-hub .cpu-stage-buttons button{min-height:35px;padding:5px 7px;line-height:1.2}.cpu-hub .cpu-stage-buttons strong{font-size:12px}.cpu-hub .cpu-stage-buttons small{font-size:9px}.cpu-hub .cpu-ranks strong{line-height:1;font-size:21px}.cpu-ranks{gap:4px}.cpu-hub .cpu-reward-options>div{display:flex;flex-direction:column;align-items:center}.cpu-hub .cpu-reward-options>div p{flex:1}.cpu-hub .cpu-stage-buttons{gap:4px}.cpu-hub .cpu-stage-list select{min-height:30px;padding:4px}.cpu-detail{scrollbar-width:thin;scrollbar-color:#baa16f #f6e9ca}.cpu-heading{min-height:35px}.cpu-hub .cpu-tabs button{min-height:31px;padding:4px 10px}.cpu-detail[data-panel=reward] .cpu-stage-banner{min-height:0;padding:7px 14px}.cpu-detail[data-panel=reward] .cpu-stage-banner p,.cpu-detail[data-panel=reward] .cpu-stage-banner small,.cpu-tournament-detail[data-panel=reward]>header>p,.cpu-tournament-detail[data-panel=reward]>header>small{display:none}.cpu-detail[data-panel=reward] .cpu-stage-banner h2,.cpu-tournament-detail[data-panel=reward]>header h2{font-size:19px;margin:0}.cpu-hub .cpu-detail[data-panel=reward] .cpu-item{width:44px;height:44px;margin-bottom:3px}.cpu-hub .cpu-reward-options>div{padding:6px}.cpu-hub .cpu-reward-options p{font-size:10px;line-height:1.4;margin:4px 0}.cpu-hub .cpu-reward-options button{min-height:30px;padding:4px 5px}.cpu-hub .cpu-reward>.primary{min-height:32px;margin-top:5px}.cpu-tournament-detail .cpu-launch{margin:0 0 7px}.cpu-hub .cpu-detail[data-panel=reward] .cpu-reward-options:has(>div:only-child)>div{display:grid;grid-template-columns:76px 1fr;column-gap:10px;text-align:left}.cpu-hub .cpu-detail[data-panel=reward] .cpu-reward-options:has(>div:only-child) .cpu-item{grid-row:span 2;width:70px;height:70px}.cpu-hub .cpu-detail[data-panel=reward] .cpu-reward-options:has(>div:only-child) strong{align-self:end}@media(max-width:600px){.cpu-adventure-layout,.cpu-tournament-layout{grid-template-columns:170px minmax(0,1fr);gap:8px}.cpu-hub{padding:7px}.cpu-detail-body{padding:8px}.cpu-reward-options{gap:4px}.cpu-reward-options>div{padding:5px}.cpu-opponents small{font-size:8px}}.cpu-item-stats{font-size:10px;color:#7b5b2d;display:block;margin-top:3px}.cpu-hub .cpu-detail[data-panel=reward] .cpu-reward-options:has(>div:only-child) .cpu-item{grid-row:span 3}.cpu-hub{--cpu-paper:#fffdf4;--cpu-green:#235742;--cpu-ink:#203d32;--cpu-muted:#506358;--cpu-line:#a8b9a5;--cpu-accent:#e4c27c;--cpu-soft:#eef4e9;--cpu-contrast:#fffdf4;--cpu-space:8px;--cpu-radius:8px;--cpu-shadow:0 2px 4px #173d2310,0 6px 16px #173d231c;color:var(--cpu-ink);padding:12px 18px;gap:10px;background:#000 url(/assets/fullscreen/adventure-meadow-preview-v1.webp) center/contain no-repeat;background-image:url(/assets/fullscreen/adventure-meadow-wide-v1.webp),url(/assets/fullscreen/adventure-meadow-preview-v1.webp)}.cpu-hub--tournament{background-image:url(/assets/fullscreen/tournament-sky-wide-v1.webp),url(/assets/fullscreen/tournament-sky-preview-v1.webp)}.cpu-heading{min-height:65px;align-items:center;flex-shrink:0}.cpu-heading>div:first-child{padding:0 8px;text-shadow:0 1px 5px var(--cpu-paper),0 0 12px var(--cpu-paper)}.cpu-heading small{font-size:9px;font-weight:800;letter-spacing:3px;color:var(--cpu-green)}.phone-game .cpu-heading h1,.cpu-heading h1{font-size:28px;font-weight:800;letter-spacing:.06em;line-height:1.2;margin:1px 0}.cpu-heading p{font-size:11px;font-weight:600;margin:3px 0 0;color:var(--cpu-ink)}.cpu-heading>div:last-child{align-items:center;gap:8px}.cpu-completion{background:var(--cpu-paper);padding:7px 12px;border-radius:var(--cpu-radius);font-size:11px;font-weight:700;color:var(--cpu-green);box-shadow:var(--cpu-shadow)}.cpu-hub button,.cpu-hub select{background:var(--cpu-paper);color:var(--cpu-ink);border-color:var(--cpu-line);border-radius:var(--cpu-radius)}.cpu-hub button:hover:not(:disabled){background:var(--cpu-soft);border-color:var(--cpu-green);color:var(--cpu-ink)}.cpu-hub button.primary:hover:not(:disabled){background:var(--cpu-ink);color:var(--cpu-contrast)}.cpu-hub button:focus-visible,.cpu-hub select:focus-visible{outline-color:var(--cpu-green)}.cpu-hub [aria-pressed=true]{background:var(--cpu-green);border-color:var(--cpu-green);color:var(--cpu-contrast)}.cpu-hub [aria-pressed=true] span,.cpu-hub [aria-pressed=true] strong{color:var(--cpu-accent)}.cpu-adventure-layout{grid-template-columns:205px minmax(12px,1fr) minmax(340px,430px);gap:12px}.cpu-tournament-layout{grid-template-columns:108px minmax(12px,1fr) minmax(520px,680px);gap:12px}.cpu-detail{grid-column:3;background:var(--cpu-paper);border-color:var(--cpu-line);border-radius:var(--cpu-radius);box-shadow:var(--cpu-shadow);scrollbar-color:var(--cpu-line) var(--cpu-paper)}.cpu-stage-list,.cpu-ranks{grid-column:1;scrollbar-width:thin;scrollbar-color:var(--cpu-line) transparent}.cpu-stage-list label{padding:8px;background:var(--cpu-paper);border-radius:var(--cpu-radius);color:var(--cpu-muted);box-shadow:var(--cpu-shadow)}.cpu-stage-list>p{background:var(--cpu-paper);border-radius:var(--cpu-radius);padding:7px 8px;margin:7px 0 0;color:var(--cpu-muted);font-size:9px;box-shadow:var(--cpu-shadow)}.cpu-hub .cpu-stage-buttons{gap:6px}.cpu-hub .cpu-stage-buttons button{min-height:37px;padding:6px 8px;box-shadow:var(--cpu-shadow)}.cpu-hub .cpu-ranks{gap:6px}.cpu-hub .cpu-ranks button{grid-template-columns:26px 1fr;min-height:34px;padding:5px 8px;box-shadow:var(--cpu-shadow)}.cpu-ranks button>span{font-size:11px}.cpu-ranks button>small{grid-column:2;font-size:9px}.cpu-ranks button>strong{grid-row:span 2}.cpu-stage-banner{min-height:88px;padding:12px 14px}.cpu-detail-tabs{padding:7px 12px 0;gap:6px}.cpu-detail-body{padding:10px 12px}.cpu-opponents{gap:4px;margin:0 0 4px}.cpu-opponents small{font-size:9px}.cpu-launch{margin:10px 0 0;gap:6px}.cpu-launch .primary{flex:1;min-height:36px}.cpu-launch p{font-size:10px}.cpu-hub .cpu-stage-list select{background:var(--cpu-soft);color:var(--cpu-ink)}.cpu-hub .cpu-reward-options>div{background:var(--cpu-paper);border-color:var(--cpu-line)}.cpu-reward-heading>b,.cpu-item-stats{color:var(--cpu-green)}.cpu-tournament-detail>header{background:var(--cpu-green);padding:8px 12px}.cpu-tournament-detail>header>small,.cpu-tournament-detail>header>p{display:none}.cpu-tournament-detail>header h2{font-size:22px;line-height:1.2;margin:0}.cpu-tournament-detail .cpu-launch{margin:0 0 6px}.cpu-tournament-detail .cpu-launch button{min-height:32px;padding:4px 9px}.cpu-run-status{font-size:12px;color:var(--cpu-green)}.cpu-bracket{gap:7px;margin:6px 0}.cpu-bracket h4{font-size:10px;color:var(--cpu-muted)}.cpu-bracket p{background:var(--cpu-soft);border-color:var(--cpu-line);font-size:10px;line-height:1.2;padding:3px 5px}.cpu-bracket p.is-player{background:var(--cpu-green);color:var(--cpu-contrast)}.cpu-three-rounds{background:var(--cpu-soft);border-radius:var(--cpu-radius);padding:24px 12px;margin:14px 0;color:var(--cpu-green)}.cpu-rules{font-size:10px;color:var(--cpu-muted);margin-top:8px;border-top:1px solid var(--cpu-line);padding-top:5px}.cpu-rules summary{cursor:pointer;min-height:24px;padding:4px 0}.cpu-rules p{margin:3px 0;line-height:1.6}.cpu-status:not(:empty),.cpu-reservation{background:var(--cpu-paper);color:var(--cpu-ink);border-radius:var(--cpu-radius);padding:6px 10px}body.phone-game #app:has(>.cpu-hub){padding:0}.cpu-boss-notice{padding:8px 12px;border-left:3px solid #a96c26;background:#efdfb9;color:#573519}.cpu-boss-notice strong{font-size:14px}.cpu-boss-notice p{margin:4px 0 0;font-size:12px}.cpu-opponents .cpu-boss-preview small{color:#884211;font-weight:700}body.phone-game .header nav{grid-template-columns:repeat(2,minmax(0,1fr)) minmax(90px,1.45fr) repeat(7,minmax(0,1fr))}body.phone-game .header nav .nav{font-size:12px}body.phone-game .phone-home .release-play:has(#start-pvp){justify-content:flex-start;gap:8px;padding:12px;overflow:auto}body.phone-game .phone-home .release-play:has(#start-pvp)>p{display:block;font-size:13px;line-height:1.5;margin:0;flex:none}body.phone-game .phone-home .release-play:has(#start-pvp) .panel-head{justify-content:space-between}.release-lobby-grid{grid-template-columns:1.1fr 1fr}@media(max-width:600px){.cpu-hub{padding:12px 14px}.cpu-adventure-layout{grid-template-columns:185px minmax(12px,1fr) minmax(340px,410px)}.cpu-tournament-layout{grid-template-columns:100px minmax(12px,1fr) minmax(500px,650px)}}.cpu-heading>div:first-child{padding:5px 12px;background:linear-gradient(90deg,#fffdf4f5 70%,#fffdf400);border-radius:var(--cpu-radius);text-shadow:none}.cpu-hub{line-height:1.35}.cpu-heading{line-height:1.2}.cpu-heading small{display:block;line-height:1.2}.cpu-hub [aria-pressed=true] small{color:var(--cpu-contrast)}.cpu-stage-list label{font-size:10px;line-height:1.2;padding:6px;gap:4px}.phone-game .cpu-hub .cpu-stage-list select{height:28px;min-height:28px;font-size:12px;line-height:1.2;padding:3px 5px}.cpu-hub .cpu-stage-buttons{gap:4px;margin-top:6px}.cpu-hub .cpu-stage-buttons button{min-height:33px;padding:4px 7px}.cpu-stage-list>p{line-height:1.4;font-size:9px;padding:5px 7px;margin-top:6px}.cpu-hub .cpu-bracket p{font-size:9px;line-height:1.15;padding:2px 4px;min-height:15px}.cpu-hub .cpu-bracket>div{gap:3px}.cpu-hub .cpu-bracket h4{font-size:9px;line-height:1.15;margin:0}.cpu-hub .cpu-reward-options p{font-size:10px;line-height:1.3;margin:3px 0}.cpu-hub .cpu-detail[data-panel=reward] .cpu-detail-body{padding:8px 12px}.cpu-hub .cpu-detail[data-panel=reward] .cpu-reward-options{margin-top:5px}.cpu-hub .cpu-detail[data-panel=reward] .cpu-reward-options>div{padding:5px}body.phone-game .header .brand{flex:0 0 28px}.cpu-tournament-detail{position:relative}.cpu-tournament-detail>.cpu-detail-tabs{position:absolute;top:0;right:0;padding:7px 12px}.cpu-tournament-detail>header{min-height:44px;display:flex;align-items:center;padding-right:175px}.cpu-tournament-detail>.cpu-detail-tabs [aria-pressed=true]{background:var(--cpu-accent);color:var(--cpu-ink);border-color:var(--cpu-accent)}.cpu-hub--adventure .cpu-adventure-layout{grid-template-columns:205px minmax(12px,1fr) minmax(400px,600px)}.cpu-detail:not([data-panel=story]) .cpu-story,.cpu-detail[data-panel=story] .cpu-opponents,.cpu-detail[data-panel=story] .cpu-reward{display:none}.cpu-story{color:var(--cpu-ink);font-size:15px;line-height:1.85}.cpu-story h3{font-size:16px;margin:0 0 8px;color:var(--cpu-green)}.cpu-story p{margin:0 0 12px;overflow-wrap:anywhere}.cpu-story details{border-top:1px solid var(--cpu-line);padding:8px 0}.cpu-story summary{cursor:pointer;font-weight:700;min-height:28px}.cpu-story details p{margin:8px 0}.cpu-story .cpu-prologue{border-top:0;padding-top:0}.cpu-hub--adventure .cpu-launch{padding-top:10px;border-top:1px solid var(--cpu-line)}.cpu-hub--adventure .cpu-launch p{flex-basis:100%;font-size:12px;line-height:1.6}.cpu-hub--adventure .cpu-launch .primary{min-height:40px;font-size:15px}.cpu-chapter-search input{width:100%;min-width:0;min-height:38px;font:inherit}.cpu-chapter-picker{position:sticky;top:0;z-index:2;background:var(--cpu-paper);padding:6px;border-radius:8px}.adventure-result-story{background:#fff8e9;border:1px solid #bba579;border-radius:8px;padding:12px 16px;color:#302d25;text-align:left}.result-panel .adventure-result-story h2{font-size:17px;margin:0 0 8px}.result-panel .adventure-result-story p{font-size:15px;line-height:1.8;margin:0}.cpu-hub--adventure .cpu-detail{display:flex;flex-direction:column;overflow:hidden}.cpu-hub--adventure .cpu-stage-banner{flex-shrink:0;min-height:68px;padding:8px 14px}.cpu-hub--adventure .cpu-detail-tabs{flex-shrink:0}.cpu-hub--adventure .cpu-detail-body{overflow:auto;min-height:0;flex:1;scrollbar-width:thin;overscroll-behavior:contain}.cpu-hub--adventure .cpu-detail>.cpu-launch{flex-shrink:0;background:var(--cpu-paper);padding:8px 12px;margin:0;flex-wrap:nowrap}.cpu-hub--adventure .cpu-detail>.cpu-launch p{flex:1;min-width:0;font-size:11px}.cpu-hub--adventure .cpu-detail>.cpu-launch button{flex:0 0 42%;font-size:14px}.cpu-hub--adventure .cpu-detail[data-panel=reward]>.cpu-launch{display:none}body.phone-game .phone-result:has(.adventure-result-story){grid-template-rows:auto 44px 38px 44px minmax(0,1fr) max(52px,calc(44px / var(--phone-scale,1)))}body.phone-game .phone-result:has(.adventure-result-story) .result-title-plaque{font-size:32px}body.phone-game .phone-result .rewards .adventure-result-story p{text-align:left;font-size:15px;line-height:1.75;color:#302d25}body.phone-game .phone-home .release-play:has(#start-pvp)>button{flex:none;min-height:44px;height:auto}body.phone-game .phone-home .release-play:has(#start-pvp) .panel-head{min-height:26px;flex:none}:root{--ux-bg:var(--phone-paper,#f5e9cb);--ux-surface:var(--phone-soft,#fff8e8);--ux-subtle:var(--phone-paper-deep,#ead6aa);--ux-text:var(--phone-ink,#382914);--ux-muted:var(--phone-muted,#705b3a);--ux-line:var(--phone-line,#c8ae78);--ux-accent:var(--phone-forest,#285541);--ux-on-accent:#fff8e8;--ux-space:8px;--ux-radius:8px;--ux-touch:max(44px,calc(44px / var(--phone-scale,1)));--ux-shadow:0 2px 8px #261e1426}body.phone-game .experience-dialog{display:none;flex-direction:column;background:var(--ux-bg);color:var(--ux-text);padding:16px;gap:12px}body.phone-game .experience-dialog[open]{display:flex}.experience-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none}.experience-dialog h2{font-size:23px;margin:0;line-height:1.3}.experience-dialog h3{font-size:17px;margin:12px 0 6px}.experience-dialog>header button{width:var(--ux-touch);font-size:25px;flex:none}.experience-body{overflow:auto;min-height:0;flex:1;overscroll-behavior:contain;touch-action:pan-y;font-size:16px;line-height:1.6;padding:0 4px 6px;scroll-padding-bottom:65px}.experience-body p{margin:6px 0}.experience-lead{font-weight:700;font-size:18px}.experience-dialog button,.experience-dialog select{min-height:var(--ux-touch);height:auto;font-size:15px;border:1px solid var(--ux-line);border-radius:var(--ux-radius);padding:6px 12px;background:var(--ux-surface);color:var(--ux-text)}.experience-dialog button.primary{background:var(--ux-accent);color:var(--ux-on-accent);border-color:var(--ux-accent)}.experience-dialog footer{display:flex;gap:8px;position:sticky;bottom:-6px;padding:10px 0 4px;background:var(--ux-bg);margin-top:12px}.experience-dialog footer .primary{flex:1}.experience-dialog button:focus-visible{outline:3px solid var(--ux-accent);outline-offset:2px}.experience-dialog button:disabled{color:var(--ux-muted);background:var(--ux-subtle);opacity:1}.experience-dialog button:not(:disabled):hover{box-shadow:inset 0 0 0 2px var(--ux-line)}.experience-dialog .experience-status{color:var(--ux-accent);font-weight:700}.experience-dialog summary{cursor:pointer;min-height:40px;padding:6px 0;font-weight:700}.family-introduction{background:var(--ux-surface);border-left:4px solid var(--ux-accent);padding:8px 12px;margin:0 0 8px;font-size:14px;line-height:1.5}.family-introduction p{margin:3px 0 0}.family-introduction b{font-size:16px}.reward-selectors{display:flex;gap:16px}.reward-selectors label{display:flex;flex:1;flex-direction:column;gap:4px}.reward-comparison{padding:8px 12px;background:var(--ux-surface);border:1px solid var(--ux-line);border-radius:var(--ux-radius);margin:12px 0}.reward-comparison dl{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:8px 0}.reward-comparison dt{font-size:13px}.reward-comparison dd{margin:0;font-variant-numeric:tabular-nums}.reward-member-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.phone-game .result-continue{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr);gap:8px;min-height:0;align-items:stretch}body.phone-game .result-continue button,body.phone-game .phone-result .result-continue #back-home{width:100%;height:100%;min-height:var(--ux-touch);font-size:15px;letter-spacing:0;padding:6px;border:1px solid var(--ux-line);border-radius:var(--ux-radius);background:var(--ux-surface);color:var(--ux-text);box-shadow:none;clip-path:none}body.phone-game .result-continue #continue-battle{background:var(--ux-accent);color:var(--ux-on-accent);border-color:var(--ux-accent);font-size:17px}body.phone-game .result-continue #back-home:before,body.phone-game .result-continue #back-home:after{display:none}body.phone-game .phone-result .result-awards strong{font-size:23px}.result-use-rewards{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.result-use-rewards button{min-height:44px}.header .nav{position:relative}.header .nav .nav-notice{position:absolute;right:1px;top:0;font:700 8px/1.3 Yu Gothic UI,sans-serif;padding:1px 4px;border-radius:5px;background:var(--ux-accent);color:var(--ux-on-accent);white-space:nowrap;pointer-events:none}.header #nav-party,.header #nav-shop{border-left-color:var(--ux-line)}body.phone-game .cpu-heading button,body.phone-game .cpu-launch button{min-height:var(--ux-touch);font-size:14px}body.phone-game .cpu-detail-tabs button{min-height:40px;padding:6px 14px;font-size:13px}.cpu-stage-buttons button[data-next-stage=true]{border-left:4px solid var(--ux-accent)}.cpu-received{display:flex;flex-direction:column;gap:10px;padding:8px 0}.cpu-received strong{font-size:17px;line-height:1.5}.cpu-received button{min-height:var(--ux-touch)}body.phone-game .rs-gacha-screen .rs-gacha-result .rs-family-introduction{font-size:14px;line-height:1.5;max-width:30em;margin:8px 0}body.phone-game .rs-gacha-screen .rs-gacha-result .rs-use-reward{min-height:44px;font-size:14px;margin:4px 6px 0 0;padding:7px 12px;background:var(--ux-surface);color:var(--ux-text);border-color:var(--ux-line)}.rs-onboarding-note{font-size:14px;line-height:1.5;margin:0;color:var(--ux-text)}body.phone-game .rs-products.shop-readable{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px}body.phone-game .rs-products.shop-readable .rs-product{grid-template-columns:44px minmax(0,1fr) 118px;gap:0 7px;padding:7px}body.phone-game .rs-products.shop-readable .rs-product-text{align-self:start;padding-top:2px}body.phone-game .rs-products.shop-readable .rs-product-text h2 button{font-size:16px;white-space:normal;overflow:visible;text-overflow:clip;min-height:25px;line-height:1.3}body.phone-game .rs-products.shop-readable .rs-product-text>p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.4;margin:3px 0}body.phone-game .rs-products.shop-readable .rs-stock{font-size:11px;line-height:1.25}body.phone-game .rs-products.shop-readable .rs-product-buy{display:flex;flex-direction:column;justify-content:center;gap:4px;grid-row:1/3;grid-column:3}body.phone-game .rs-products.shop-readable .rs-product-price{position:static;display:flex;flex-direction:column;font-size:13px;text-align:center}body.phone-game .rs-products.shop-readable .rs-product-controls{display:flex;gap:4px}body.phone-game .rs-products.shop-readable .rs-product-controls input{width:44px}body.phone-game .rs-products.shop-readable .rs-product-controls button{min-width:62px}.shop-use-purchase{max-width:240px;font-size:13px!important}.phone-game.in-battle .command-explained{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:3px;min-width:0;height:44px}.phone-game.in-battle .command-explained .order-action{width:100%;min-width:0}.phone-game.in-battle .command-info{min-height:44px;height:44px;padding:0;border:1px solid var(--ux-line);border-radius:5px;background:var(--ux-surface);color:var(--ux-accent);font:700 18px Georgia,serif}.phone-game.in-battle .battle-help-tools{display:flex;gap:4px;margin-bottom:4px}.phone-game.in-battle .battle-help-tools button{min-height:32px;height:32px;font-size:11px;flex:1;background:var(--ux-surface);color:var(--ux-text)}.phone-game.in-battle .selected-technique-summary{padding:6px;margin:0 0 4px;font-size:12px;line-height:1.4;background:var(--ux-surface);color:var(--ux-text);border-left:3px solid var(--ux-accent);flex:none}.phone-game.in-battle .selected-technique-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.battle-help-clock{font-size:13px;color:var(--ux-muted)}.order-review-list{padding:0;margin:6px 0;list-style:none}.order-review-list li{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:10px;padding:6px 10px;font-size:14px;line-height:1.3;border-bottom:1px solid var(--ux-line);align-items:center}.battle-status-detail{padding-left:20px}.battle-status-detail li{padding:6px 0}.battle-status-detail p{font-size:14px}@media(prefers-reduced-motion:reduce){.experience-dialog *{animation:none!important;transition:none!important}}dialog.experience-dialog.cpu-reward-dialog{width:min(850px,94vw);height:min(520px,90dvh);max-height:90dvh;padding:18px;display:flex;flex-direction:column;overflow:hidden}dialog.cpu-reward-dialog:not([open]){display:none}dialog.cpu-reward-dialog>header{flex:none;margin-bottom:10px}dialog.cpu-reward-dialog>header h2{font-size:22px;margin:0}dialog.cpu-reward-dialog .experience-body{display:flex;flex-direction:column;gap:10px;flex:1;min-height:0;overflow:hidden}.cpu-reward-dialog .cpu-reward-receipt{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.cpu-reward-dialog .cpu-reward-receipt p{font-size:20px;line-height:1.4;margin:0}.cpu-reward-dialog .cpu-receipt-icons{display:flex;justify-content:center;gap:12px}.cpu-reward-dialog .cpu-receipt-icons img{width:80px;height:80px;object-fit:contain}.cpu-reward-dialog .cpu-reward-tiles{flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:10px}.cpu-reward-dialog button.cpu-reward-tile{min-width:0;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:8px;padding:10px;text-align:left;overflow:hidden;white-space:normal}.cpu-reward-dialog .cpu-reward-tile-title{display:flex;align-items:center;gap:8px;min-width:0}.cpu-reward-dialog .cpu-reward-tile-title>span{display:flex;flex-direction:column;gap:4px;min-width:0}.cpu-reward-dialog .cpu-reward-tile strong{font-size:17px;line-height:1.3}.cpu-reward-dialog .cpu-reward-tile small{font-size:13px;line-height:1.4}.cpu-reward-dialog .cpu-reward-tile :is(img,canvas,svg){width:52px;height:64px;flex:none;object-fit:contain}.cpu-reward-dialog .experience-body>footer{flex:none;display:flex;justify-content:center;align-items:center;gap:16px;margin:0}.cpu-reward-dialog footer button{min-width:64px;min-height:44px;font-size:18px}.cpu-reward-dialog footer [data-reward-ok]{min-width:180px}.cpu-reward-dialog .cpu-reward-error{flex:none;margin:0;font-size:14px;color:#f49c85}.cpu-reward-dialog .cpu-reward-error:empty,.cpu-reward-dialog .cpu-reward-pages:empty{display:none}@media(max-height:480px){dialog.experience-dialog.cpu-reward-dialog{padding:12px}.cpu-reward-dialog .cpu-reward-tile :is(img,canvas,svg){width:36px;height:44px}.cpu-reward-dialog button.cpu-reward-tile{padding:7px;gap:6px}.cpu-reward-dialog .cpu-reward-tile strong{font-size:15px}.cpu-reward-dialog .cpu-reward-tile small{font-size:12px}.cpu-reward-dialog .cpu-reward-receipt p{font-size:18px}}.cpu-hub{--cpu-paper:#142332;--cpu-soft:#203243;--cpu-green:#edbd70;--cpu-ink:#f2eee5;--cpu-muted:#bdc7ce;--cpu-line:#69798866;--cpu-accent:#f3be68;--cpu-contrast:#102030;--cpu-radius:4px;--cpu-shadow:none;--cpu-panel:#101e2beF;--cpu-rail:clamp(185px,22%,240px);--cpu-serif:"Yu Mincho","Hiragino Mincho ProN",Georgia,serif;padding:0;gap:0;color:var(--cpu-ink);color-scheme:dark;background:#000 url(/assets/fullscreen/adventure-dawn-preview-v1.webp) center/contain no-repeat;background-image:url(/assets/fullscreen/adventure-dawn-wide-v1.webp),url(/assets/fullscreen/adventure-dawn-preview-v1.webp);position:relative;isolation:isolate}.cpu-hub:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#000000ee 0%,#000000dc 19%,#00000020 48%,transparent 80%)}.cpu-hub--tournament{--cpu-rail:clamp(145px,17%,195px);background-image:url(/assets/fullscreen/tournament-dawn-wide-v1.webp),url(/assets/fullscreen/tournament-dawn-preview-v1.webp)}.cpu-hub--tournament:before{background:linear-gradient(90deg,#000000ed,#00000040 48%,#00000010)}.cpu-hub .cpu-heading{min-height:48px;height:48px;padding:4px 18px;gap:12px}.cpu-hub .cpu-heading>div:first-child{padding:0;background:none;border-radius:0;text-shadow:0 1px 6px #081421}.cpu-hub .cpu-heading small{color:var(--cpu-muted);font-size:8px;letter-spacing:.2em}body.phone-game .cpu-hub .cpu-heading h1{font-family:var(--cpu-serif);font-size:21px;line-height:1.2;font-weight:600;letter-spacing:.04em;margin:1px 0}.cpu-hub .cpu-heading p{display:none}.cpu-hub .cpu-heading>div:last-child{gap:12px}.cpu-hub .cpu-completion{background:#102030b3;box-shadow:none;color:var(--cpu-ink);border-radius:3px;padding:6px 9px;font-size:12px;font-weight:400;font-variant-numeric:tabular-nums}body.phone-game .cpu-hub .cpu-heading button{min-height:36px;font-size:12px;padding:5px 12px;background:#102030d9}.cpu-hub button,.cpu-hub select,.cpu-hub input{color:var(--cpu-ink);background:var(--cpu-paper);border:1px solid var(--cpu-line);box-shadow:none;border-radius:var(--cpu-radius);font-family:inherit}.cpu-hub button{transition:background-color .15s,border-color .15s;color:var(--cpu-ink)}.cpu-hub button:hover:not(:disabled){background:#2b3d4e;border-color:#b5c0c8;color:#fff6e4}.cpu-hub button:focus-visible,.cpu-hub select:focus-visible,.cpu-hub input:focus-visible{outline:2px solid var(--cpu-accent);outline-offset:-2px}.cpu-hub button.primary{background:linear-gradient(120deg,#f4c978,#d59a43);border:1px solid #f9d991;color:#241c10;box-shadow:0 2px 12px #eab86625,inset 0 1px #fff4c880;font-weight:700}.cpu-hub button.primary:hover:not(:disabled){background:linear-gradient(120deg,#ffdc9e,#e8b25f);color:#241c10;border-color:#ffe9af}.cpu-hub button:disabled{color:#9ba8b3;background:#20303e;border-color:#50627280;box-shadow:none;opacity:1}.cpu-hub [aria-pressed=true],.cpu-hub [aria-pressed=true] span,.cpu-hub [aria-pressed=true] strong,.cpu-hub [aria-pressed=true] small{color:var(--cpu-accent)}.cpu-hub .cpu-content{min-height:0}.cpu-hub .cpu-adventure-layout,.cpu-hub .cpu-tournament-layout{grid-template-columns:var(--cpu-rail) minmax(0,1fr);gap:0}.cpu-hub .cpu-stage-list,.cpu-hub .cpu-ranks{padding:4px 14px 10px 18px;grid-column:1;scrollbar-color:#60728480 transparent}.cpu-hub .cpu-stage-list{display:flex;flex-direction:column;overflow:hidden}.cpu-hub .cpu-chapter-picker{position:static;border-radius:0;padding:0 0 7px;background:none;flex:none;display:grid;gap:5px}.cpu-hub .cpu-stage-list label{padding:0;background:none;border-radius:0;box-shadow:none;font-size:0;gap:0;color:var(--cpu-muted)}.cpu-hub .cpu-chapter-search input{font-size:12px;min-height:32px;padding:5px 9px;border-radius:4px;background:#0a1926c9}.cpu-hub .cpu-chapter-search input::placeholder{color:#b2bec9;opacity:1}body.phone-game .cpu-hub .cpu-stage-list select{height:30px;min-height:30px;padding:3px 6px;font-size:11px;background:#122331e8}.cpu-hub .cpu-stage-buttons{display:flex;flex-direction:column;gap:2px;min-height:0;overflow:auto;overscroll-behavior:contain;margin:0;scrollbar-width:thin;scrollbar-color:#62778888 transparent;flex:1}.cpu-hub .cpu-stage-buttons button{position:relative;flex:none;min-height:38px;grid-template-columns:34px minmax(0,1fr);gap:2px 4px;padding:5px 3px 5px 12px;background:transparent;border:0;border-left:2px solid #7786924d;border-radius:0;box-shadow:none;line-height:1.2}.cpu-hub .cpu-stage-buttons button:before{content:"";position:absolute;left:-1px;top:15px;width:4px;height:4px;background:#8a969e;border-radius:50%}.cpu-hub .cpu-stage-buttons span{font:17px var(--cpu-serif);color:#b8c4cb;white-space:nowrap;font-variant-numeric:tabular-nums}.cpu-hub .cpu-stage-buttons strong{font-size:12px;font-weight:500;color:#dbe2e5;overflow-wrap:anywhere}.cpu-hub .cpu-stage-buttons small{font-size:9px;color:#a3b0bc}.cpu-hub .cpu-stage-buttons button[aria-pressed=true]{background:linear-gradient(90deg,#dba55320,transparent);border-left-color:var(--cpu-accent)}.cpu-hub .cpu-stage-buttons button[aria-pressed=true]:before{background:var(--cpu-accent);box-shadow:0 0 9px #ffcf7390}.cpu-hub .cpu-stage-buttons button[aria-pressed=true] strong,.cpu-hub .cpu-stage-buttons button[aria-pressed=true] span{color:#ffe2ab}.cpu-hub .cpu-stage-buttons button[data-next-stage=true]{border-left-width:2px}.cpu-hub .cpu-stage-list>p{flex:none;color:var(--cpu-muted);background:none;padding:6px 0 0;margin:4px 0 0;border-radius:0;border-top:1px solid var(--cpu-line);font-size:9px;line-height:1.45;box-shadow:none}.cpu-hub .cpu-detail{grid-column:2;border:0;border-radius:0;box-shadow:none;min-width:0;scrollbar-color:#73889670 transparent;color:var(--cpu-ink)}.cpu-hub--adventure .cpu-detail{display:grid;grid-template-rows:minmax(80px,1fr) 40px minmax(0,100px) auto;overflow:hidden;background:transparent}.cpu-hub--adventure .cpu-stage-banner{min-height:0;padding:12px 20px;background:linear-gradient(0deg,#0b182be8,#0b182b20 92%);text-shadow:0 2px 8px #06101ce8}.cpu-hub .cpu-stage-banner small{font-size:11px;color:#dde0df}body.phone-game .cpu-hub .cpu-stage-banner h2{font:600 28px/1.35 var(--cpu-serif);letter-spacing:.025em;margin:4px 0 6px;color:#fff7e9;overflow-wrap:anywhere}.cpu-hub .cpu-stage-banner p{font-size:12px;color:#e0e5e8}.cpu-hub .cpu-detail-tabs{position:static;padding:0 20px;gap:16px;background:var(--cpu-panel);border-top:1px solid var(--cpu-line);flex:none}body.phone-game .cpu-hub .cpu-detail-tabs button{min-height:40px;padding:6px 10px;background:none;color:var(--cpu-muted);border:0;border-bottom:2px solid transparent;border-radius:0;font-size:12px}body.phone-game .cpu-hub .cpu-detail-tabs button[aria-pressed=true]{color:var(--cpu-accent);border-bottom-color:var(--cpu-accent);background:none}.cpu-hub .cpu-detail-body{min-height:0;padding:9px 20px;overflow:auto;overscroll-behavior:contain;background:var(--cpu-panel);scrollbar-width:thin;scrollbar-color:#82909f70 transparent}.cpu-hub .cpu-story{color:#e4e7e6;font-size:14px;line-height:1.75}.cpu-hub .cpu-story h3{color:var(--cpu-muted);font-size:10px;font-weight:500;margin:0 0 3px}.cpu-hub .cpu-story p{margin:0 0 8px}.cpu-hub .cpu-story details{border-color:var(--cpu-line);padding:5px 0}.cpu-hub .cpu-story summary{min-height:28px;color:var(--cpu-muted);font-size:12px}.cpu-hub .cpu-detail[data-panel=story] .cpu-boss-notice{display:none}.cpu-hub--adventure .cpu-detail>.cpu-launch{margin:0;padding:7px 20px 10px;min-height:58px;gap:16px;background:var(--cpu-panel);border-top:1px solid var(--cpu-line);flex-wrap:nowrap}.cpu-hub--adventure .cpu-detail>.cpu-launch p{font-size:10px;line-height:1.5;color:var(--cpu-muted)}body.phone-game .cpu-hub--adventure .cpu-detail>.cpu-launch button{flex:0 0 42%;min-height:var(--ux-touch);font-size:15px}.cpu-hub--adventure .cpu-detail[data-panel=battle]{grid-template-rows:76px 40px minmax(0,1fr) auto}.cpu-hub--adventure .cpu-detail[data-panel=reward]{grid-template-rows:48px 40px minmax(0,1fr)}.cpu-hub--adventure .cpu-detail[data-panel=reward] .cpu-stage-banner{padding:7px 20px}body.phone-game .cpu-hub .cpu-detail[data-panel=reward] .cpu-stage-banner h2{font-size:21px;margin:0}.cpu-hub .cpu-detail[data-panel=reward]>.cpu-launch{display:none}.cpu-hub .cpu-reward{border-color:var(--cpu-line)}.cpu-hub .cpu-reward h3{font-size:15px;color:var(--cpu-ink)}.cpu-hub .cpu-reward-heading>b,.cpu-hub .cpu-item-stats{color:var(--cpu-accent)}.cpu-hub .cpu-reward-options>div{background:#2536468c;border-color:var(--cpu-line);border-radius:4px}.cpu-hub .cpu-reward p{color:var(--cpu-muted)}.cpu-hub .cpu-reward-options p{font-size:12px;line-height:1.6;margin:6px 0}.cpu-hub .cpu-reward-options strong{color:#f7e4bc;font-size:14px}.cpu-hub .cpu-reward-options .cpu-item-stats{font-size:12px}.cpu-hub .cpu-reward-options button,.cpu-hub .cpu-reward>.primary{min-height:var(--ux-touch);font-size:13px}.cpu-hub .cpu-boss-notice{padding:6px 9px;background:#d4a65715;border-color:var(--cpu-accent);color:#e8d6b8;margin-bottom:7px}.cpu-hub .cpu-boss-notice strong{font-size:12px;color:#f5d295}.cpu-hub .cpu-boss-notice p{font-size:11px}.cpu-hub .cpu-opponents .cpu-boss-preview small{color:var(--cpu-accent)}.cpu-hub .cpu-ranks{display:flex;flex-direction:column;gap:0;padding-top:10px}.cpu-hub .cpu-ranks button{grid-template-columns:minmax(0,1fr) auto;gap:4px;min-height:40px;flex:none;border:0;border-left:2px solid transparent;border-bottom:1px solid var(--cpu-line);border-radius:0;background:none;padding:6px 8px;box-shadow:none}.cpu-hub .cpu-ranks button strong{display:none}.cpu-hub .cpu-ranks button>span{font:15px/1.3 var(--cpu-serif);color:#e2e4df;white-space:nowrap}.cpu-hub .cpu-ranks button>small{grid-column:2;color:var(--cpu-muted);font-size:9px}.cpu-hub .cpu-ranks button[aria-pressed=true]{background:linear-gradient(90deg,#dba55324,transparent);border-left-color:var(--cpu-accent)}.cpu-hub .cpu-ranks button[aria-pressed=true]>*{color:var(--cpu-accent)}.cpu-hub--tournament .cpu-detail{margin:4px 18px 12px 0;background:#101e2bdd;border:1px solid #7d8a974d;border-radius:5px;display:flex;flex-direction:column;overflow:hidden}.cpu-hub .cpu-tournament-detail>header{min-height:45px;padding:7px 180px 7px 16px;flex:none;background:none;border-bottom:1px solid var(--cpu-line)}body.phone-game .cpu-hub .cpu-tournament-detail>header h2{font:600 25px/1.2 var(--cpu-serif);color:#fff3df}.cpu-hub .cpu-tournament-detail>.cpu-detail-tabs{position:absolute;top:0;right:0;border:0;padding:0 12px;background:none;gap:7px}.cpu-hub .cpu-tournament-detail .cpu-detail-body{flex:1;display:flex;flex-direction:column;background:none;padding:7px 16px;min-height:0}.cpu-hub .cpu-tournament-detail .cpu-detail-body>p{font-size:11px;color:var(--cpu-muted);margin:0 0 5px}.cpu-hub .cpu-bracket{--bracket-gap:22px;--bracket-height:164px;flex:1;min-height:180px;margin:0;gap:var(--bracket-gap);grid-template-columns:1.35fr 1.2fr 1fr .65fr}.cpu-hub .cpu-bracket>.cpu-bracket-round{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:16px minmax(0,1fr);justify-content:stretch;gap:0;min-width:0}.cpu-hub .cpu-bracket h4{font-size:10px;font-weight:500;line-height:1.2;color:var(--cpu-muted);margin:0;text-align:center}.cpu-hub .cpu-bracket-teams{display:grid;grid-template-rows:repeat(16,minmax(0,1fr));height:var(--bracket-height);min-width:0}.cpu-hub .cpu-bracket p{position:relative;grid-row:var(--bracket-row) / span var(--bracket-span);align-self:center;display:flex;align-items:center;justify-content:center;min-width:0;min-height:18px;height:auto;padding:2px 4px;margin:0;font-size:10px;line-height:1.2;text-align:center;background:#192d40b3;border:1px solid #73879880;border-radius:2px;color:#e1e5e6;overflow-wrap:anywhere}.cpu-hub .cpu-bracket p:after{content:"";position:absolute;top:50%;left:100%;width:calc(var(--bracket-gap) / 2);border-top:1px solid #d9b5759c;pointer-events:none}.cpu-hub .cpu-bracket p:nth-child(odd):before{content:"";position:absolute;left:calc(100% + var(--bracket-gap) / 2);top:50%;height:calc(var(--bracket-height) / 16 * var(--bracket-span));border-right:1px solid #d9b5759c;pointer-events:none}.cpu-hub .cpu-bracket-round:not(:first-child) .cpu-bracket-teams{position:relative}.cpu-hub .cpu-bracket-round:not(:first-child) .cpu-bracket-teams p{background-image:linear-gradient(90deg,#24364877,transparent)}.cpu-hub .cpu-bracket-round:not(:first-child) .cpu-bracket-teams:before{content:"";position:absolute;inset:0 auto 0 calc(var(--bracket-gap) / -2);width:calc(var(--bracket-gap) / 2);pointer-events:none}.cpu-hub .cpu-bracket-round:nth-child(2) .cpu-bracket-teams:before{background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(12.5% - .5px),#d9b5759c calc(12.5% - .5px),#d9b5759c calc(12.5% + .5px),transparent calc(12.5% + .5px),transparent 25%)}.cpu-hub .cpu-bracket-round:nth-child(3) .cpu-bracket-teams:before{background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(25% - .5px),#d9b5759c calc(25% - .5px),#d9b5759c calc(25% + .5px),transparent calc(25% + .5px),transparent 50%)}.cpu-hub .cpu-bracket-round:nth-child(4) .cpu-bracket-teams:before{background:linear-gradient(to bottom,transparent calc(50% - .5px),#d9b5759c calc(50% - .5px),#d9b5759c calc(50% + .5px),transparent calc(50% + .5px))}.cpu-hub .cpu-bracket-round:last-child p:before,.cpu-hub .cpu-bracket-round:last-child p:after{display:none}.cpu-hub .cpu-bracket p.is-player{color:#ffdaa0;border-color:#e0b473;background:#a6793430;font-weight:700}.cpu-hub .cpu-bracket p.is-eliminated{color:#94a5b3;text-decoration:line-through;text-decoration-color:#94a5b380}.cpu-hub .cpu-rules{margin:3px 0 0;padding-top:0;color:var(--cpu-muted);font-size:10px;border-color:var(--cpu-line);flex:none}.cpu-hub .cpu-rules summary{min-height:24px;padding:3px 0}.cpu-hub .cpu-tournament-detail>.cpu-launch{order:3;flex:none;display:flex;flex-wrap:nowrap;gap:10px;padding:7px 16px;margin:0;background:#0c1a29c9;border-top:1px solid var(--cpu-line)}body.phone-game .cpu-hub .cpu-tournament-detail>.cpu-launch .primary{order:3;flex:0 1 240px;font-size:15px;min-height:var(--ux-touch);margin-left:auto}.cpu-hub .cpu-tournament-detail>.cpu-launch [data-abandon]{order:0;background:none;color:var(--cpu-muted);font-size:11px;border-color:transparent;padding:4px;flex:none}.cpu-hub .cpu-tournament-detail>.cpu-launch [data-abandon-cancel]{order:1;flex:none;font-size:11px}.cpu-hub .cpu-run-status{order:2;display:flex;align-items:center;gap:10px;margin-left:auto;font-size:11px;color:var(--cpu-muted);flex:none}.cpu-hub .cpu-run-status strong{font-weight:400}.cpu-hub .cpu-run-status span{color:#f0e7d5;white-space:nowrap}.cpu-hub .cpu-three-rounds{flex:1;background:none;color:#e6d5b5;min-height:125px;margin:0;padding:16px 0;font-size:18px;font-family:var(--cpu-serif)}.cpu-hub .cpu-three-rounds b{color:var(--cpu-accent)}.cpu-hub .cpu-status:not(:empty),.cpu-hub .cpu-reservation{background:#152739f5;color:#f5d59b;border-radius:0;border-block:1px solid var(--cpu-line);margin:0;padding:5px 18px;font-size:11px}.cpu-hub .cpu-reservation button{min-height:32px}body.phone-game:has(.cpu-hub){background:#111c28}body.phone-game #game-frame:has(.cpu-hub){border-radius:8px;background:#122130;box-shadow:0 0 0 1px #66798b66,0 16px 50px #0005}body.phone-game #game-device:has(.cpu-hub){background:#122130}body.phone-game .header:has(~#app .cpu-hub){background:linear-gradient(100deg,#0c1925,#1c2a39);border-bottom:1px solid #6d81914d;box-shadow:none}body.phone-game #game-device:has(.cpu-hub) .header .brand{color:#bfc8cf}body.phone-game #game-device:has(.cpu-hub) .header .nav{background:none;color:#c4cbd0;border:0;border-bottom:2px solid transparent;border-radius:0;box-shadow:none;text-shadow:none;font-weight:400}body.phone-game #game-device:has(.cpu-hub) .header .nav.active{color:#f4c880;border-bottom-color:#f4c880;box-shadow:none;background:linear-gradient(0deg,#efb75e0e,transparent)}body.phone-game #game-device:has(.cpu-hub) .header .phone-nav-icon{color:inherit}body.phone-game #game-device:has(.cpu-hub) .phone-screen-arrow{color:#bac4cf;background:none;border-color:transparent;box-shadow:none}body.phone-game #game-device:has(.cpu-hub) .nav .nav-notice{background:#293d50;color:#e8cc9d}body.phone-game #game-device:has(.cpu-hub) .brand .crest{color:#bec8d1}.cpu-hub--adventure .cpu-detail[data-panel=story]{grid-template-columns:minmax(0,1fr) minmax(200px,29%);grid-template-rows:minmax(100px,1fr) 40px 88px}.cpu-hub--adventure .cpu-detail[data-panel=story]>.cpu-stage-banner{grid-column:1/-1}.cpu-hub--adventure .cpu-detail[data-panel=story]>.cpu-detail-tabs{grid-column:1;grid-row:2}.cpu-hub--adventure .cpu-detail[data-panel=story]>.cpu-detail-body{grid-column:1;grid-row:3}.cpu-hub--adventure .cpu-detail[data-panel=story]>.cpu-launch{grid-column:2;grid-row:2/4;display:flex;flex-direction:column-reverse;align-items:stretch;justify-content:center;gap:9px;padding:14px 16px 14px 8px}body.phone-game .cpu-hub--adventure .cpu-detail[data-panel=story]>.cpu-launch button{flex:none;width:100%;font-size:15px}.cpu-hub--adventure .cpu-detail[data-panel=story]>.cpu-launch p{flex:none;text-align:center;font-size:10px}.cpu-hub--adventure .cpu-detail[data-panel=story] .cpu-story h3{display:none}@media(prefers-reduced-motion:reduce){.cpu-hub button{transition:none}}.cpu-hub{--cpu-space-sm:8px;--cpu-space-md:16px;--cpu-space-lg:24px;--cpu-font-body:16px;--cpu-font-large:20px;--cpu-selection-bg:#59472c;--cpu-footer-shadow:0 -4px 16px #0004}.cpu-hub .cpu-tournament-picker{height:100%;padding:var(--cpu-space-md) var(--cpu-space-lg);display:flex;flex-direction:column;gap:var(--cpu-space-md);overflow:auto;background:var(--cpu-panel)}.cpu-hub .cpu-tournament-picker h2{font-size:var(--cpu-font-large);margin:0;font-weight:500}.cpu-hub .cpu-rank-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(88px,1fr);gap:var(--cpu-space-md);flex:1}.cpu-hub .cpu-rank-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--cpu-space-sm);padding:var(--cpu-space-sm);border-color:var(--cpu-line);background:var(--cpu-paper)}.cpu-hub .cpu-rank-grid strong{font:44px/1 var(--cpu-serif);color:var(--cpu-accent);white-space:nowrap}.cpu-hub .cpu-rank-grid strong small{font-size:22px;margin-left:3px}.cpu-hub .cpu-rank-grid button>span{font-size:var(--cpu-font-body);line-height:1.5;white-space:nowrap}.cpu-hub .cpu-tournament-picker>p{font-size:14px;margin:0;color:var(--cpu-muted)}.cpu-hub--tournament[data-tournament-view=bracket]>.cpu-heading{display:none}.cpu-hub--tournament .cpu-tournament-layout{display:block;padding:var(--cpu-space-sm) var(--cpu-space-md);height:100%}.cpu-hub--tournament .cpu-tournament-detail{height:100%;margin:0}.cpu-hub .cpu-tournament-detail>header{gap:var(--cpu-space-md);min-height:48px;padding:4px 210px 4px var(--cpu-space-md)}.cpu-hub .cpu-tournament-detail [data-tournament-back]{font-size:var(--cpu-font-body);min-height:40px;padding:4px var(--cpu-space-sm);border:0;background:transparent;color:var(--cpu-muted)}body.phone-game .cpu-hub .cpu-tournament-detail>header h2{font-size:26px;white-space:nowrap}body.phone-game .cpu-hub .cpu-tournament-detail>.cpu-detail-tabs button{font-size:var(--cpu-font-body);min-height:48px}.cpu-hub .cpu-tournament-detail .cpu-detail-body{padding:var(--cpu-space-sm) var(--cpu-space-md)}.cpu-hub .cpu-bracket{--bracket-height:216px;min-height:240px;grid-template-columns:1.25fr 1.15fr 1fr 1fr;--bracket-gap:22px}.cpu-hub .cpu-bracket>.cpu-bracket-round{grid-template-rows:24px minmax(0,1fr)}.cpu-hub .cpu-bracket h4{font-size:var(--cpu-font-body)}.cpu-hub .cpu-bracket p{font-size:18px;min-height:26px;line-height:1.2;padding:1px 5px}.cpu-hub .cpu-bracket p>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cpu-hub .cpu-tournament-detail>.cpu-launch{position:relative;min-height:58px;padding:6px var(--cpu-space-md)}.cpu-hub .cpu-tournament-detail>.cpu-launch>p{font-size:13px;color:var(--cpu-muted);margin:0;max-width:220px}.cpu-hub .cpu-tournament-detail .cpu-run-status{font-size:14px;margin-left:auto}body.phone-game .cpu-hub .cpu-tournament-detail>.cpu-launch .primary{font-size:18px;flex-basis:240px}.cpu-hub .cpu-tournament-detail>.cpu-launch [data-abandon],.cpu-hub .cpu-tournament-detail>.cpu-launch [data-abandon-cancel]{font-size:13px}.cpu-hub .cpu-tournament-detail .cpu-rules{font-size:13px;border:0;margin:0}.cpu-hub .cpu-tournament-detail .cpu-rules summary{min-height:36px;display:flex;align-items:center}.cpu-hub .cpu-tournament-detail .cpu-rules[open] p{position:absolute;bottom:100%;left:0;width:min(480px,90%);margin:0;padding:var(--cpu-space-md);background:var(--cpu-paper);border:1px solid var(--cpu-line);z-index:4;font-size:var(--cpu-font-body);box-shadow:var(--cpu-footer-shadow)}.cpu-hub .cpu-reward-claim{display:none;flex:none;align-items:center;justify-content:space-between;gap:var(--cpu-space-md);padding:var(--cpu-space-sm) var(--cpu-space-md);background:var(--cpu-paper);border-top:1px solid var(--cpu-accent);box-shadow:var(--cpu-footer-shadow);z-index:2;min-height:64px;order:4}.cpu-hub .cpu-detail[data-panel=reward]>.cpu-reward-claim{display:flex}.cpu-hub--adventure .cpu-detail[data-panel=reward]:has(>.cpu-reward-claim){grid-template-rows:48px 40px minmax(0,1fr) auto}.cpu-hub .cpu-reward-selection{min-width:0;flex:1}.cpu-hub .cpu-reward-selection small{display:block;font-size:12px;color:var(--cpu-accent);margin-bottom:3px}.cpu-hub .cpu-reward-selection strong{font-size:var(--cpu-font-body);overflow-wrap:anywhere}.cpu-hub .cpu-reward-claim>p{font-size:var(--cpu-font-body);margin:0}body.phone-game .cpu-hub .cpu-reward-claim button{min-height:var(--ux-touch);font-size:var(--cpu-font-body);padding:var(--cpu-space-sm) var(--cpu-space-md);min-width:210px}.cpu-hub .cpu-reward-options .cpu-reward-option{border:2px solid var(--cpu-line);padding:var(--cpu-space-sm);transition:background-color .15s,border-color .15s}.cpu-hub .cpu-reward-options .cpu-reward-option.is-selected{border-color:var(--cpu-accent);background:var(--cpu-selection-bg)}body.phone-game .cpu-hub .cpu-reward-option button[aria-pressed=true],body.phone-game .cpu-hub .cpu-reward-option button[aria-pressed=true]:hover{background:var(--cpu-accent);color:var(--cpu-contrast);border-color:var(--cpu-accent);font-weight:700}.cpu-hub .cpu-reward-options [data-reward-choice]{min-height:var(--ux-touch);margin-top:auto;font-size:var(--cpu-font-body)}.cpu-hub .cpu-detail[data-panel=reward] .cpu-reward-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:var(--cpu-space-sm)}.cpu-hub .cpu-reward-options .portrait{width:72px;height:72px;flex:none}@media(prefers-reduced-motion:reduce){.cpu-hub .cpu-reward-option{transition:none}}body.phone-game .cpu-hub .cpu-journey-picker{height:100%;min-height:0;padding:8px 24px 12px;display:flex;flex-direction:column;gap:10px;overflow:hidden;background:linear-gradient(0deg,#07121dcc,transparent 85%)}body.phone-game .cpu-hub .cpu-journey-picker .cpu-chapter-picker{display:flex;flex-direction:row-reverse;gap:12px;padding:0;align-items:center}body.phone-game .cpu-hub .cpu-journey-picker .cpu-chapter-picker label{flex:1;max-width:380px}body.phone-game .cpu-hub .cpu-journey-picker .cpu-chapter-search{margin-left:auto}body.phone-game .cpu-hub .cpu-journey-picker :is(input,select){height:40px;min-height:40px;width:100%;font-size:14px;background:#0d1d2adb;border-color:#a1b0be55}body.phone-game .cpu-hub .cpu-journey-picker h2{font:500 20px/1.4 var(--cpu-serif);margin:0;color:var(--cpu-ink)}body.phone-game .cpu-hub .cpu-card-track{position:relative;display:flex;flex-direction:row;flex:1;min-height:0;gap:16px;overflow-x:auto;overflow-y:hidden;margin:0;padding:4px 2px 8px;scroll-snap-type:none;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:thin;scrollbar-color:#ba956470 transparent}body.phone-game .cpu-hub .cpu-card-track .cpu-journey-card{position:relative;isolation:isolate;flex:0 0 calc((100% - 48px)/4);min-width:190px;min-height:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:8px;padding:18px;text-align:left;overflow:hidden;border:1px solid #9cacb66b;border-radius:7px;background:#10212ce6;box-shadow:0 5px 15px #0004;scroll-snap-align:center;user-select:none;cursor:grab;white-space:normal;color:var(--cpu-ink)}body.phone-game .cpu-hub .cpu-card-track .cpu-journey-card:before{display:none}body.phone-game .cpu-hub .cpu-card-track .cpu-journey-card:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#091421 4%,#0b1727db 28%,#14253d15 75%);pointer-events:none}body.phone-game .cpu-hub .cpu-journey-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;pointer-events:none}body.phone-game .cpu-hub .cpu-journey-card:nth-child(3n+1) img{object-position:25% center}body.phone-game .cpu-hub .cpu-journey-card:nth-child(3n+2) img{object-position:75% center}body.phone-game .cpu-hub .cpu-card-track .cpu-journey-card[aria-pressed=true]{border-color:#f0c785;box-shadow:inset 0 0 0 1px #e6b76f,0 4px 16px #0006;background-color:#152b3b}body.phone-game .cpu-hub .cpu-card-track .cpu-journey-card:hover{border-color:#f0c785}body.phone-game .cpu-hub .cpu-card-track .cpu-journey-card .cpu-card-day{position:absolute;top:12px;left:16px;font:36px/1.2 var(--cpu-serif);color:#fff0d5;text-shadow:0 2px 8px #000;grid-row:auto}body.phone-game .cpu-hub .cpu-card-track .cpu-journey-card strong{font:600 20px/1.45 var(--cpu-serif);color:#fff2df;overflow-wrap:anywhere}body.phone-game .cpu-hub .cpu-card-track .cpu-journey-card small{font-size:14px;line-height:1.4;color:#d6dce0}body.phone-game .cpu-hub .cpu-card-track .cpu-journey-card[data-next-stage=true] small{color:#f6cf8e}body.phone-game .cpu-hub .cpu-card-track .cpu-card-badge{position:absolute;top:17px;right:14px;color:#f0c785;font-size:12px;letter-spacing:.1em;background:#0c192adc;padding:4px 6px;border:1px solid #d4a66370;border-radius:3px}body.phone-game .cpu-hub .cpu-journey-card[data-locked=true] img{filter:saturate(.45) brightness(.72)}body.phone-game .cpu-hub .cpu-card-track.is-dragging{scroll-snap-type:none}body.phone-game .cpu-hub .cpu-card-track.is-dragging button{cursor:grabbing}body.phone-game .cpu-hub .cpu-journey-picker>p{font-size:12px;line-height:1.5;margin:0;padding:0;border:0;background:none;color:#c1ccd4;flex:none;max-height:none}body.phone-game .cpu-hub .cpu-stage-list>p br{display:none}body.phone-game .cpu-hub .cpu-carousel-row{display:grid;grid-template-columns:56px minmax(0,1fr) 56px;gap:12px;flex:1;min-height:0;align-items:center}body.phone-game .cpu-hub .cpu-carousel-row>.cpu-card-track{height:100%;min-width:0}body.phone-game .cpu-hub .cpu-carousel-row>[data-carousel-step]{width:56px;min-width:0;min-height:72px;font:38px/1 Georgia,serif;padding:8px;background:#0c1b2bd9;border-color:#acb5bc66;border-radius:5px}body.phone-game .cpu-hub .cpu-carousel-row>[data-carousel-step]:disabled{color:#8d9daa;border-color:#65788740;background:#10213199}body.phone-game .cpu-hub .cpu-rank-grid:not(:has(>button:nth-child(4))){justify-content:center}body.phone-game .cpu-hub .cpu-card-track .cpu-rank-card{flex-basis:calc((100% - 32px) / 3);max-width:300px;align-items:center;text-align:center;background:linear-gradient(160deg,#15233150,#0d192beb),url(/assets/fullscreen/tournament-dawn-preview-v1.webp) center/cover}body.phone-game .cpu-hub .cpu-card-track .cpu-rank-card strong{font:64px/1 var(--cpu-serif);margin:auto 0;color:#f1c78a;text-shadow:0 3px 12px #000}body.phone-game .cpu-hub .cpu-card-track .cpu-rank-card strong small{font-size:20px;color:inherit}body.phone-game .cpu-hub .cpu-card-track .cpu-rank-card .cpu-rank-state{position:absolute;top:14px;right:16px;font-size:20px;color:var(--cpu-accent)}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-adventure-layout{display:block;height:100%;padding:0 16px 12px}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-detail{height:100%;grid-column:auto;border:1px solid #768b9b55;border-radius:6px}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-stage-banner{position:relative;padding-top:48px}body.phone-game .cpu-hub [data-adventure-back]{position:absolute;top:5px;left:12px;min-height:40px;font-size:15px;background:#0b1925d9;padding:5px 10px}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-detail[data-panel=story]{grid-template-columns:minmax(0,1fr) minmax(190px,26%);grid-template-rows:minmax(115px,1fr) 44px 112px}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-detail[data-panel=battle]{grid-template-rows:126px 44px minmax(0,1fr) auto}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-detail[data-panel=reward] .cpu-stage-banner{padding:8px 16px 8px 165px;justify-content:center}body.phone-game .cpu-hub .cpu-tournament-detail .cpu-detail-body{padding-block:4px}body.phone-game .cpu-hub .cpu-tournament-detail .cpu-bracket{min-height:232px;--bracket-height:208px}body.phone-game .cpu-hub .cpu-village-track:not(:has(>button:nth-child(4))){justify-content:center}body.phone-game .cpu-hub .cpu-village-track .cpu-journey-card{flex-basis:calc((100% - 32px)/3);max-width:320px}body.phone-game .cpu-hub .cpu-village-back{align-self:flex-start;flex:none;min-height:40px;padding:5px 12px;background:#0b1925d9;font-size:15px}body.phone-game .cpu-hub[data-adventure-view=cards] .cpu-journey-picker{gap:6px}body.phone-game{--read-body:max(17px,calc(14.5px / var(--phone-scale,1)));--read-label:max(14px,calc(13px / var(--phone-scale,1)));--read-control:max(16px,calc(14px / var(--phone-scale,1)));--read-title:max(20px,calc(18px / var(--phone-scale,1)))}body.phone-game:not(.in-battle) .header nav{grid-template-columns:repeat(2,minmax(0,1fr)) minmax(0,1.45fr) repeat(7,minmax(0,1fr));gap:2px}body.phone-game:not(.in-battle) .header nav .nav{font-size:max(15px,calc(13px / var(--phone-scale,1)));padding-inline:1px}body.phone-game:not(.in-battle) .header .phone-nav-icon svg{width:28px;height:28px}body.phone-game #app :is(.intro p,.subtext,.phone-member-empty),body.phone-game dialog :is(.dialog-note,.subtext,.family-introduction){font-size:var(--read-label);line-height:1.45}body.phone-game :is(.phone-page-tabs,.mobile-pager) :is(button,select,.mobile-pager-count){font-size:var(--read-control)}body.phone-game .phone-page-tabs>select{max-width:360px}body.phone-game .cpu-hub{--cpu-font-body:var(--read-body);font-size:var(--read-body)}body.phone-game .cpu-hub--adventure{--cpu-rail:clamp(225px,25%,280px)}body.phone-game .cpu-hub .cpu-heading{height:56px;min-height:56px;padding-inline:16px}body.phone-game .cpu-hub .cpu-heading small{font-size:var(--read-label);letter-spacing:.08em}body.phone-game .cpu-hub :is(.cpu-completion,.cpu-heading button,.cpu-chapter-search input,.cpu-stage-list select){font-size:var(--read-label)}body.phone-game .cpu-hub .cpu-heading button{min-height:40px}body.phone-game .cpu-hub :is(.cpu-chapter-search input,.cpu-stage-list select){height:38px;min-height:38px}body.phone-game .cpu-hub .cpu-stage-list{padding:4px 12px 8px 16px}body.phone-game .cpu-hub .cpu-stage-buttons button{min-height:62px;padding:7px 4px 7px 10px;grid-template-columns:30px minmax(0,1fr);gap:3px 5px}body.phone-game .cpu-hub .cpu-stage-buttons strong{font-size:var(--read-control);font-weight:600;line-height:1.3}body.phone-game .cpu-hub .cpu-stage-buttons small{font-size:var(--read-label);line-height:1.3}body.phone-game .cpu-hub .cpu-stage-list>p{font-size:var(--read-label);line-height:1.45;max-height:5.8em;overflow:auto}body.phone-game .cpu-hub :is(.cpu-stage-banner small,.cpu-stage-banner p,.cpu-story summary,.cpu-launch p,.cpu-reward-heading>b,.cpu-reward-selection small,.cpu-opponents small,.cpu-practice-rule,.cpu-boss-notice p,.cpu-reservation,.cpu-status){font-size:var(--read-label);line-height:1.45}body.phone-game .cpu-hub :is(.cpu-story,.cpu-reward p,.cpu-reward-options p,.cpu-reward-options .cpu-item-stats,.cpu-boss-notice strong){font-size:var(--read-body);line-height:1.6}body.phone-game .cpu-hub :is(.cpu-detail-tabs button,.cpu-launch button,.cpu-reward-options strong,.cpu-reward button){font-size:var(--read-control)}body.phone-game .cpu-hub .cpu-detail-tabs{padding-inline:16px;gap:8px}body.phone-game .cpu-hub .cpu-detail-tabs button{min-height:44px;padding:6px 8px}body.phone-game .cpu-hub .cpu-detail-body{padding:10px 16px}body.phone-game .cpu-hub--adventure .cpu-detail[data-panel=story]{grid-template-columns:minmax(0,1fr) minmax(175px,28%);grid-template-rows:minmax(80px,1fr) 44px 140px}body.phone-game .cpu-hub--adventure .cpu-detail[data-panel=story]>.cpu-launch{padding:12px;gap:12px}body.phone-game .cpu-hub--adventure .cpu-detail[data-panel=story]>.cpu-launch :is(button,p){font-size:var(--read-control)}body.phone-game .cpu-hub--adventure .cpu-detail[data-panel=story]>.cpu-launch p{font-size:var(--read-label)}body.phone-game .cpu-hub--adventure .cpu-detail[data-panel=battle]{grid-template-rows:90px 44px minmax(0,1fr) auto}body.phone-game .cpu-hub--adventure .cpu-detail[data-panel=reward]{grid-template-rows:48px 44px minmax(0,1fr)}body.phone-game .cpu-hub--adventure .cpu-detail[data-panel=reward]:has(>.cpu-reward-claim){grid-template-rows:48px 44px minmax(0,1fr) auto}body.phone-game .cpu-hub .cpu-opponents{gap:8px;flex-wrap:wrap}body.phone-game .cpu-hub .cpu-opponents>div{flex:1 0 78px}body.phone-game .cpu-hub .cpu-opponents small{white-space:normal;text-align:center;overflow-wrap:anywhere}body.phone-game .cpu-hub .cpu-reward-options{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}body.phone-game .cpu-hub .cpu-reward-claim button{min-width:175px}body.phone-game .cpu-hub :is(.cpu-tournament-picker>p,.cpu-tournament-detail .cpu-rules,.cpu-tournament-detail .cpu-run-status,.cpu-tournament-detail>.cpu-launch>p,.cpu-tournament-detail>.cpu-launch [data-abandon],.cpu-tournament-detail>.cpu-launch [data-abandon-cancel]){font-size:var(--read-label)}body.phone-game .cpu-hub .cpu-tournament-detail .cpu-detail-body>p{font-size:var(--read-label)}body.phone-game .phone-home :is(.phone-player>span,.phone-player button,.release-play p,.release-play small,.arena-preview p,.release-notice,.pvp-member-note){font-size:var(--read-label);line-height:1.4}body.phone-game .phone-home :is(.hero-member span,.phone-home-actions button,.release-play button){font-size:var(--read-control)}body.phone-game .phone-home .arena-preview:has(#arena-countdown){height:auto;min-height:108px}body.phone-game #arena-countdown{font-size:var(--read-label);white-space:normal}body.phone-game .phone-home-side{overflow:auto;overscroll-behavior:contain}body.phone-game .phone-home .hero-party b,body.phone-game .phone-home :is(.arena-preview h2,.release-play .panel-head h2){font-size:var(--read-control)}body.phone-game .phone-home .release-play:has(#start-pvp) :is(p,small,.ranked-cpu-option span){font-size:var(--read-label);line-height:1.4}body.phone-game .phone-home .phone-play-copy{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}body.phone-game .phone-home .phone-play-copy>p{display:block;margin:0 0 8px}body.phone-game .phone-home .pvp-limit-reached .phone-play-copy{flex:none}body.phone-game .phone-home .pvp-limit-reached .phone-play-copy>p:not(.pvp-quota){display:none}body.phone-game .phone-party-organized .phone-members{grid-template-columns:210px minmax(0,1fr)}body.phone-game .phone-party-organized .phone-reserve-members .phone-member-list{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}body.phone-game .phone-party-organized .phone-member-list .roster-name{font-size:var(--read-control);line-height:1.15}body.phone-game .phone-party-organized .phone-member-list :is(.roster-meta,small){font-size:var(--read-label);line-height:1.1;margin-top:1px}body.phone-game .phone-party-organized .phone-active-members .roster-item{padding:3px;gap:5px}body.phone-game .phone-party-organized .phone-reserve-members .roster-item{flex-direction:column;justify-content:center;gap:4px;text-align:center}body.phone-game .phone-party-organized :is(.party-tools-rail button,.party-sort-control select,.phone-page-tabs>button){font-size:var(--read-control)}body.phone-game .phone-party-organized :is(.party-sort-control label,.party-search-count,.party-page-tools .mobile-pager-count,.phone-care-rule){font-size:var(--read-label)}body.phone-game .phone-party-organized .phone-members h2{min-height:30px}body.phone-game .party-reserve-search{height:32px}body.phone-game .party-reserve-search input{height:32px;font-size:var(--read-control)}body.phone-game :is(.phone-formation-info,.phone-notes-body) .formation-desc{overflow:auto}body.phone-game .phone-party :is(.formation-card-effect,.formation-equipped,.formation-member-heading small,.formation-member-stats dt,.formation-member-loadout,.formation-member-hint,.formation-help,.field-label){font-size:var(--read-label);line-height:1.4}body.phone-game .phone-party :is(.formation-card b,.formation-library-heading button,.formation-library-footer button,.formation-member-heading button,.formation-member-stats dd){font-size:var(--read-control)}body.phone-game .phone-catalogue .phone-tech-rows,body.phone-game .phone-character-detail .technique-list{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));grid-auto-rows:auto;gap:6px;align-content:stretch}body.phone-game .phone-catalogue .catalogue-tech .technique-name,body.phone-game .phone-character-detail .technique-list .technique-name{font-size:var(--read-control);line-height:1.3}body.phone-game .phone-catalogue .catalogue-tech summary>span,body.phone-game .phone-character-detail .technique-list summary>span{font-size:var(--read-label);line-height:1.3}body.phone-game :is(.phone-catalogue,.phone-character-detail) .art-element{font-size:var(--read-label)}body.phone-game .phone-catalogue-switch button{font-size:var(--read-control)}body.phone-game .phone-reader-pages article{font-size:var(--read-body);line-height:1.75;overflow:auto;overscroll-behavior:contain}body.phone-game :is(.inventory-entry,.warehouse-filters button,.inventory-pages .mobile-pager-count){font-size:var(--read-control)}body.phone-game .inventory-entry{padding:6px;overflow-wrap:anywhere}body.phone-game :is(.inventory-heading button,.inventory-category,.inventory-totals dt,.inventory-totals small,.inventory-owners span,.inventory-status,.inventory-detail-footer .inventory-status){font-size:var(--read-label)}body.phone-game :is(.inventory-description,.inventory-detail-section p,.inventory-modifiers,.inventory-totals dd){font-size:var(--read-body);line-height:1.5}body.phone-game :is(.inventory-detail-tabs button,.inventory-owners b,.inventory-owners button,.inventory-detail-section h3){font-size:var(--read-control)}body.phone-game .inventory-close{font-size:24px}body.phone-game #inventory-compare .equipment-comparison :is(label,dt,dd small){font-size:var(--read-label)}body.phone-game .release-screen :is(.rs-muted,.rs-wallet span,.rs-gacha-info,.rs-onboarding-note,.rs-fixed-rule,.rs-recovery-stock span,.rs-tag,.rs-life,.rs-stock,.rs-rates span,.rs-preset-portraits span,.rs-preset-current>.rs-muted,.rs-shelf-tabs small){font-size:var(--read-label);line-height:1.4}body.phone-game .release-screen :is(.rs-back,.rs-category-tabs button,.rs-tabs button,.rs-gacha-locked>.rs-use-reward,.rs-gacha-locked .rs-pull>span,.rs-gacha-locked .rs-pull:disabled>strong,.rs-pull>small,.rs-recovery-actions button,.rs-presets button,.rs-shelf-tabs button){font-size:var(--read-control)}body.phone-game .rs-back{font-size:var(--read-control)!important}body.phone-game .rs-detail-pages>article{font-size:var(--read-body)}body.phone-game .rs-detail-pages>article h3{font-size:var(--read-title)}body.phone-game .rs-gacha-screen .rs-gacha-options{overflow:auto;overscroll-behavior:contain;justify-content:safe center;flex-shrink:0}body.phone-game .rs-gacha-screen .rs-gacha-options>*{flex-shrink:0}body.phone-game .rs-products .rs-product-text h2 button{font-size:var(--read-control);line-height:1.3}body.phone-game .rs-products .rs-product-price :is(strong,small),body.phone-game .rs-products .rs-product-price{font-size:var(--read-label);line-height:1.4}body.phone-game .rs-products .rs-product-price>strong{font-size:var(--read-body)}body.phone-game .rs-products.shop-readable .rs-product{grid-template-columns:44px minmax(0,1fr) 110px;padding:2px 7px;gap:2px 7px}body.phone-game .rs-products.shop-readable .rs-product-text h2 button{font-size:var(--read-control);min-height:0}body.phone-game .rs-products.shop-readable .rs-product-text>p{font-size:var(--read-label);-webkit-line-clamp:2;line-height:1.4}body.phone-game .rs-products.shop-readable .rs-stock{font-size:var(--read-label)}body.phone-game .rs-products .rs-product-controls button{font-size:var(--read-label);white-space:normal;min-width:62px}body.phone-game .rs-product-detail .rs-product-text>p{font-size:var(--read-body)}body.phone-game .rs-product-detail .rs-product-text{max-height:100%;overflow:auto}body.phone-game .rs-shop-screen .rs-content .rs-products .rs-product-price>strong{font-size:var(--read-body)}body.phone-game .rs-shop-screen .rs-content .rs-products .rs-product-text h2 button{white-space:normal;overflow:visible;overflow-wrap:anywhere}body.phone-game .rs-shop-screen :is(.rs-shelf-heading p,.rs-collection-tools button){font-size:var(--read-label)}body.phone-game .rs-gacha-screen .rs-gacha-guarantee{font-size:var(--read-label)}body.phone-game .cpu-hub--adventure .cpu-detail>.cpu-launch button{font-size:var(--read-control)}body.phone-game .cpu-hub .cpu-reward h3{font-size:var(--read-control)}body.phone-game .phone-history .history-list{grid-template-rows:repeat(2,minmax(0,1fr))}body.phone-game .phone-history .history-row{grid-template-columns:62px minmax(140px,1fr) minmax(0,1.25fr) 116px 8px;gap:8px;padding:6px 8px}body.phone-game .phone-history .history-row .result-label{font-size:var(--read-control)}body.phone-game :is(.history-heading p,.history-totals small,.history-legacy,.history-recent-title,.history-match,.history-match b,.history-match small,.history-loot,.history-reward,.history-reward time){font-size:var(--read-label);line-height:1.4}body.phone-game .phone-history .empty-state{font-size:var(--read-body)}body.phone-game .phone-history .history-row>span[aria-hidden]{font-size:20px}body.phone-game dialog .dialog-top .eyebrow{font-size:var(--read-label)}body.phone-game .phone-character-detail>.phone-page-tabs>button{font-size:var(--read-control)}body.phone-game .phone-character-detail .phone-character-stats{overflow:auto;overscroll-behavior:contain}body.phone-game .phone-character-detail .phone-character-stats>*{flex-shrink:0}body.phone-game .phone-character-detail :is(.family-introduction>b,.character-training>b,.initial-command-list>button>b){font-size:var(--read-control)}body.phone-game .phone-character-detail :is(.command-visibility,.initial-orders,.known-techniques) h2{font-size:var(--read-control)}body.phone-game .phone-character-detail .training-explanation summary{font-size:var(--read-label);padding:7px 0;cursor:pointer;color:var(--phone-gold)}body.phone-game .phone-character-detail .training-explanation small{display:block;font-size:var(--read-body);line-height:1.6}body.phone-game .phone-character-stats :is(.resources small,.detail-stats small,.resources em,.family-aptitudes,.shield-summary,.save-warning,.life-recovery-trigger){font-size:var(--read-label);line-height:1.4}body.phone-game .phone-character-detail :is(.equipment-aptitudes,.gear-slot-label,.dialog-note,.command-visibility>.dialog-note,.initial-orders>.dialog-note,.command-cost,.command-settings-status,.detail-character-position){font-size:var(--read-label);line-height:1.4}body.phone-game .phone-character-detail .phone-all-equipment :is(.gear-slot-label,.equipment-slot>b){font-size:var(--read-label)}body.phone-game .phone-character-detail :is(.command-edit-name .technique-name,.initial-command-list .technique-name,.command-edit-row>label){font-size:var(--read-control)}body.phone-game .phone-character-detail :is(.command-visibility,.initial-orders){grid-template-rows:auto auto minmax(0,1fr) 44px auto;gap:6px}body.phone-game .phone-character-detail :is(.command-edit-pages,.initial-command-pages) .mobile-pager{height:44px;min-height:44px}body.phone-game .phone-character-detail :is(.command-edit-pages,.initial-command-pages) .mobile-pager button{height:44px;min-height:44px}body.phone-game .phone-equipment-picker :is(.gear-heading .gear-aptitudes,.gear-current-body p,.phone-gear-list-label,.gear-current-actions button,.gear-options>button>span:last-child,.gear-modifiers>span){font-size:var(--read-label);line-height:1.3}body.phone-game .phone-equipment-picker :is(.gear-options>button b,.phone-gear-tabs button,.gear-description-title h3,.gear-modifiers b){font-size:var(--read-control)}body.phone-game .phone-equipment-picker :is(.phone-gear-copy,.phone-gear-copy p){font-size:var(--read-body);line-height:1.5}body.phone-game .phone-equipment-picker .gear-heading p{font-size:var(--read-label)}body.phone-game .phone-equipment-picker :is(.gear-current-body h3,.gear-actions button){font-size:var(--read-control)}body.phone-game .phone-equipment-picker .gear-options{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}body.phone-game .phone-equipment-picker .gear-options>button{grid-template-rows:minmax(0,1fr) auto}body.phone-game #settings-dialog :is(.subtext,.account-settings p,.volume-control,.command-memory-setting){font-size:var(--read-label);line-height:1.4}body.phone-game #settings-dialog .phone-tab-panel{overflow:auto;overscroll-behavior:contain}body.phone-game #equipment-management-dialog :is(p,label,.em-tabs button,.em-lock-grid span,.em-lock-grid b,.em-results small,.em-results li,.em-inventory table){font-size:var(--read-label);line-height:1.4}body.phone-game #equipment-management-dialog :is(button,select,h3){font-size:var(--read-label)}body.phone-game #equipment-management-dialog :is(.em-heading [data-em-help],.em-actions button){font-size:var(--read-label);min-height:40px}body.phone-game #equipment-management-dialog .em-actions{flex-shrink:0}body.phone-game :is(.release-login>p:not(.eyebrow),.phone-result-overview>p,.phone-result .rewards p){font-size:var(--read-body);line-height:1.5}body.phone-game :is(.phone-result-overview>.eyebrow,.phone-result .result-awards em,.rs-recovery-member p,.rs-recovery-actions label,.rs-preset-current label,.rs-presets article>p,#life-recovery-dialog small){font-size:var(--read-label)}body.phone-game .rs-gacha-screen .rs-pull>span{font-size:var(--read-control)}body.phone-game .release-screen :is(.rs-recovery-stock,.rs-empty){font-size:var(--read-label)}body.phone-game .rs-preset-current form>button{font-size:var(--read-control)}body.phone-game .phone-party .formation-editor h2{font-size:var(--read-control)}body.phone-game .phone-party .formation-editor .formation-slot-number{font-size:var(--read-label)}body.phone-game #settings-dialog .sound-switch-state{font-size:14px}body.phone-game .phone-result :is(.eyebrow,.result-awards small,.result-reason,.team-identity small,.opponent-record>span,.opponent-record>small){font-size:var(--read-label);line-height:1.4}body.phone-game .cpu-result-actions button{font-size:var(--read-control)}body.phone-game .phone-result .result-continue :is(button,#back-home){font-size:var(--read-control)}body.phone-game.in-battle .battle-top :is(.team-identity small,.difficulty-badge,.battle-rule,.round-label,.clock){font-size:13px;line-height:1.35}body.phone-game.in-battle .battle-screen :is(.battle-hud-heading,.battle-team-label,.battle-turn-caption,.sound-switch-state){font-size:13px;line-height:1.35}body.phone-game.in-battle .battle-top :is(.team-identity b,button){font-size:14px;line-height:1.3}body.phone-game.in-battle #turn-clock{font-size:13px}body.phone-game.in-battle .command-energies{height:auto;min-height:38px}body.phone-game.in-battle .command-energies :is(.command-energy span,.command-energy small){font-size:13px}body.phone-game.in-battle .command-content .technique-name{font-size:14px;line-height:1.25}body.phone-game.in-battle .command-content :is(.command-cost,.command-unavailable){font-size:13px;line-height:1.3}body.phone-game.in-battle .order-actions[data-command-list]{grid-auto-rows:minmax(52px,auto)}body.phone-game.in-battle .order-actions[data-command-list]>.order-action{height:auto;min-height:52px}body.phone-game.in-battle .order-content:has(.order-fixed){overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}body.phone-game.in-battle .order-actions[data-command-list].command-scroll-list{min-height:104px}body.phone-game.in-battle :is(.order-fixed>button,.order-tools>button,.order-footer button,.battle-help-tools button){font-size:14px;height:auto;min-height:34px}body.phone-game.in-battle .order-footer #confirm-all-orders{min-height:44px}body.phone-game.in-battle :is(.order-action small,.order-item span,.order-item small,.target-action-name .command-cost,.selected-technique-summary,.battle-first-tip,.command-empty){font-size:13px;line-height:1.4}@container (max-width:850px){body.phone-game .phone-party-organized .phone-members{grid-template-columns:200px minmax(0,1fr)}body.phone-game .phone-party-organized .phone-reserve-members .phone-member-list{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}body.phone-game .phone-party-organized .phone-reserve-members .roster-item{flex-direction:row;text-align:left;gap:5px}}body.phone-game .release-screen:is(.rs-gacha-screen,.rs-shop-screen){--rs-bg:#142723;--rs-elevated:#203730;--rs-subtle:#2a443a;--rs-text:#fff1d4;--rs-muted:#c4d0bc;--rs-border:#526356;--rs-accent:#e3bd77;--rs-accent-hover:#f5d59a;--rs-on-accent:#1d3028;--rs-shadow:0 2px 5px #091b1833,0 8px 20px #091b1833;--rs-radius:6px;--rs-radius-lg:10px;background:var(--rs-bg);color:var(--rs-text);padding:12px 16px;gap:8px;color-scheme:dark}body.phone-game .release-screen:is(.rs-gacha-screen,.rs-shop-screen) .rs-heading{margin:0;min-height:44px}body.phone-game .release-screen:is(.rs-gacha-screen,.rs-shop-screen) h1{font-size:26px;font-weight:800;letter-spacing:.08em}body.phone-game .release-screen:is(.rs-gacha-screen,.rs-shop-screen) .rs-wallet strong{font-size:24px;color:var(--rs-accent);font-variant-numeric:tabular-nums}body.phone-game .release-screen:is(.rs-gacha-screen,.rs-shop-screen) .rs-back{background:transparent;border-color:var(--rs-border);color:var(--rs-text)}body.phone-game .release-screen:is(.rs-gacha-screen,.rs-shop-screen) :is(button,input,select):focus-visible{outline:2px solid var(--rs-accent);outline-offset:2px}body.phone-game .release-screen:is(.rs-gacha-screen,.rs-shop-screen) button:disabled{background:var(--rs-bg);color:var(--rs-muted);border-color:var(--rs-border)}body.phone-game .release-screen:is(.rs-gacha-screen,.rs-shop-screen) button:hover:not(:disabled){background:var(--rs-subtle);color:var(--rs-text)}body.phone-game .release-screen.rs-gacha-screen .rs-gacha-panel{border-color:var(--rs-border);grid-template-columns:minmax(0,1fr) 300px;background:var(--rs-elevated);box-shadow:var(--rs-shadow)}body.phone-game .release-screen.rs-gacha-screen .rs-gacha-stage{background:linear-gradient(90deg,#10262044,#10262000),url(/assets/fullscreen/grove-wide-v1.webp) center/cover no-repeat,var(--rs-bg)}body.phone-game .release-screen.rs-gacha-screen .rs-gacha-visual{padding:0;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}body.phone-game .rs-summon-glow:after{display:none}body.phone-game .release-screen.rs-gacha-screen .rs-gacha-options{overflow:visible;justify-content:center;gap:8px;padding:16px}body.phone-game .release-screen.rs-gacha-screen .rs-gacha-guarantee{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:13px;margin-bottom:4px}body.phone-game .rs-gacha-guarantee span{padding:8px;border-bottom:1px solid var(--rs-border);color:var(--rs-muted)}body.phone-game .rs-gacha-guarantee b{display:block;color:var(--rs-accent);font-size:22px;font-variant-numeric:tabular-nums}body.phone-game .release-screen.rs-gacha-screen .rs-pull{min-height:72px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:2px 8px;padding:10px 14px;background:var(--rs-accent);border-color:var(--rs-accent);color:var(--rs-on-accent);box-shadow:var(--rs-shadow)}body.phone-game .release-screen.rs-gacha-screen .rs-pull>span{font-size:13px;grid-column:1;grid-row:1}body.phone-game .release-screen.rs-gacha-screen .rs-pull>strong{font-size:22px;grid-column:1;grid-row:2;line-height:1.2}body.phone-game .release-screen.rs-gacha-screen .rs-pull>small{font-size:15px;grid-column:2;grid-row:1 / 3}body.phone-game .release-screen.rs-gacha-screen .rs-pull:disabled{background:var(--rs-subtle);color:var(--rs-muted);box-shadow:none;border-color:var(--rs-border)}body.phone-game .release-screen.rs-gacha-screen .rs-pull:disabled>strong{font-size:16px}body.phone-game .release-screen.rs-gacha-screen [data-rs-draw=ticket]{background:transparent;color:var(--rs-accent);border-color:var(--rs-accent);min-height:64px}body.phone-game .release-screen.rs-gacha-screen .rs-gacha-info{font-size:14px;min-height:40px;color:var(--rs-text);padding:4px 8px;border-color:var(--rs-border)}body.phone-game .release-screen.rs-gacha-screen .rs-detail-heading{gap:12px}body.phone-game .release-screen.rs-gacha-screen .rs-detail-heading h2{font-size:18px;white-space:nowrap}body.phone-game .rs-gacha-screen .rs-detail-heading select{min-width:0;flex:1;max-width:280px;padding:6px 10px;background:var(--rs-subtle);color:var(--rs-text);border:1px solid var(--rs-border);border-radius:var(--rs-radius);height:44px;font-size:15px}body.phone-game .release-screen.rs-gacha-screen .rs-gacha-guide>article{padding:14px 20px;background:var(--rs-elevated);border-color:var(--rs-border);font-size:16px;line-height:1.5;overflow:auto;scrollbar-gutter:auto}body.phone-game .release-screen.rs-gacha-screen .rs-gacha-guide h3{display:flex;align-items:center;gap:12px;font-size:20px;margin:0 0 10px}body.phone-game .rs-gacha-guide h3 small{font-size:13px;color:var(--rs-accent);border-right:1px solid var(--rs-border);padding-right:12px;font-variant-numeric:tabular-nums}body.phone-game .rs-gacha-guide h4{color:var(--rs-accent);font-size:17px;margin:0 0 8px}body.phone-game .release-screen.rs-gacha-screen .rs-gacha-guide p{font-size:16px;margin:6px 0;line-height:1.5}body.phone-game .rs-gacha-guide .rs-rule-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}body.phone-game .rs-gacha-guide .rs-rule-columns:has(>section:last-child:nth-child(2)){grid-template-columns:1fr 1fr}body.phone-game .rs-gacha-guide .rs-rule-columns>section+section{border-left:1px solid var(--rs-border);padding-left:20px}body.phone-game .rs-gacha-guide .rs-rates{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}body.phone-game .release-screen.rs-gacha-screen .rs-gacha-guide .rs-rates span{font-size:13px;padding:7px 12px;background:var(--rs-bg);border:0;border-left:2px solid var(--rs-accent);border-radius:0}body.phone-game .rs-gacha-guide .rs-rates b{font-size:22px;color:var(--rs-accent);line-height:1.25}body.phone-game .rs-gacha-guide .rs-detail-footnote{color:var(--rs-muted)}body.phone-game .rs-supply-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}body.phone-game .rs-supply-grid>div{display:grid;grid-template-columns:52px 1fr;align-items:center;gap:4px 10px;padding:10px;background:var(--rs-bg);border-radius:var(--rs-radius)}body.phone-game .rs-supply-grid .rs-item-symbol{width:48px;height:64px;grid-row:1/3}body.phone-game .rs-supply-grid strong{font-size:24px;color:var(--rs-accent)}body.phone-game .rs-character-rate-layout{display:grid;grid-template-columns:1fr 1.6fr;gap:24px}body.phone-game .rs-character-rate-layout select{display:block;width:100%;background:var(--rs-bg);color:var(--rs-text);padding:8px;border:1px solid var(--rs-border);border-radius:var(--rs-radius);font-size:16px;margin-top:6px}body.phone-game [data-rs-rate-members]>div{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:5px 8px;border-bottom:1px solid var(--rs-border);font-size:16px}body.phone-game [data-rs-rate-members] small{font-size:12px;color:var(--rs-muted);margin-left:8px}body.phone-game [data-rs-rate-members] b{white-space:nowrap;font-size:16px;color:var(--rs-accent)}body.phone-game .rs-guarantee-names{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 16px;margin-top:12px}body.phone-game .rs-guarantee-names span{padding:4px 8px;border-left:2px solid var(--rs-border);font-size:16px}body.phone-game .release-screen.rs-shop-screen .rs-shop-toolbar{gap:12px}body.phone-game .release-screen.rs-shop-screen :is(.rs-tabs,.rs-category-tabs,.rs-shelf-tabs) button{background:transparent;border-color:transparent;color:var(--rs-muted);font-size:15px;padding:6px 10px;min-height:40px}body.phone-game .release-screen.rs-shop-screen :is(.rs-tabs,.rs-category-tabs,.rs-shelf-tabs) button[aria-pressed=true]{background:var(--rs-subtle);color:var(--rs-text);border-bottom:2px solid var(--rs-accent);border-radius:4px 4px 0 0}body.phone-game .release-screen.rs-shop-screen .rs-tabs{border-right:1px solid var(--rs-border);padding-right:12px}body.phone-game .release-screen.rs-shop-screen .rs-search input{background:var(--rs-bg);color:var(--rs-text);border-color:var(--rs-border);font-size:14px;height:40px;min-height:40px}body.phone-game .release-screen.rs-shop-screen input::placeholder{color:var(--rs-muted)}body.phone-game .release-screen.rs-shop-screen .rs-collection-tools{border-bottom:1px solid var(--rs-border);padding-bottom:4px}body.phone-game .release-screen.rs-shop-screen .rs-collection-tools>button{font-size:13px;min-height:36px;background:transparent;border-color:var(--rs-border);color:var(--rs-muted)}body.phone-game .release-screen.rs-shop-screen .rs-shelf-tabs small{font-size:12px;margin-left:6px;color:var(--rs-muted)}body.phone-game .release-screen.rs-shop-screen .rs-shelf-heading{margin:0;min-height:0}body.phone-game .release-screen.rs-shop-screen .rs-shelf-heading h2{display:none}body.phone-game .release-screen.rs-shop-screen .rs-shelf-heading p{font-size:12px;color:var(--rs-muted);margin-top:3px}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:12px}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product{display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:minmax(36px,1fr) 28px 54px;align-items:center;gap:4px 12px;padding:12px;background:var(--rs-elevated);border:1px solid var(--rs-border);border-radius:var(--rs-radius-lg);box-shadow:var(--rs-shadow)}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product-featured{border-color:var(--rs-accent);box-shadow:inset 0 2px 0 var(--rs-accent),var(--rs-shadow)}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product-art{grid-column:1;grid-row:1/3;background:radial-gradient(ellipse,var(--rs-subtle),transparent);height:100%;min-height:0}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-item-art{width:76px;height:90px;max-height:100%;object-fit:contain}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-item-symbol{width:64px;height:74px;max-height:100%;stroke:var(--rs-accent)}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product-text{grid-column:2;grid-row:1;padding:0;align-self:center}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product-text h2 button{color:var(--rs-text);font-size:18px;line-height:1.3;min-height:0;white-space:normal;overflow:visible;overflow-wrap:anywhere}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product-text h2 button:after{display:none}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product-price{grid-column:2;grid-row:2;align-self:start;display:block}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product-price>strong{font-size:19px;color:var(--rs-accent);line-height:1.25}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product-price small{font-size:12px;color:var(--rs-muted)}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-price-rank{color:var(--rs-text);font-size:13px}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product-controls{grid-column:1/3;grid-row:3;display:flex;justify-content:space-between;gap:8px;align-self:end;border-top:1px solid var(--rs-border);padding-top:6px}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product-controls label{display:flex;align-items:center;gap:6px;flex:1;color:var(--rs-muted);font-size:13px}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product-controls label>span{display:block}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product-controls input{width:48px;min-height:50px;height:50px;padding:4px;background:var(--rs-bg);color:var(--rs-text);border-color:var(--rs-border);font-size:16px}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product-controls button{min-height:50px;min-width:80px;padding:6px 16px;background:var(--rs-accent);color:var(--rs-on-accent);border-color:var(--rs-accent);font-size:16px;font-weight:700}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product-controls button:disabled{background:var(--rs-bg);color:var(--rs-muted);border-color:var(--rs-border)}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-quantity-multiple [data-rs-total]{font-size:16px;color:var(--rs-accent)}body.phone-game .release-screen.rs-shop-screen .rs-shop-pager{min-height:40px;gap:20px}body.phone-game .release-screen.rs-shop-screen .rs-shop-pager button{min-height:40px;min-width:110px;padding:4px 16px;font-size:15px;background:transparent;border-color:var(--rs-border);color:var(--rs-text)}body.phone-game .release-screen.rs-shop-screen .rs-shop-pager .mobile-pager-count{font-size:14px;color:var(--rs-muted)}body.phone-game .release-screen.rs-shop-screen .rs-product-detail{background:var(--rs-elevated);border-color:var(--rs-border);padding:14px;grid-template-columns:110px minmax(0,1fr) 270px}body.phone-game .release-screen.rs-shop-screen .rs-product-detail .rs-product-text>p{color:var(--rs-muted)}body.phone-game .release-screen.rs-shop-screen .rs-product-detail button{background:var(--rs-accent);color:var(--rs-on-accent)}@media(prefers-reduced-motion:reduce){body.phone-game .release-screen:is(.rs-gacha-screen,.rs-shop-screen) *{animation:none!important;transition:none!important}}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product-controls label{flex-direction:row}body.phone-game .release-screen.rs-gacha-screen .rs-gacha-guide>article{padding:10px 20px}body.phone-game .release-screen.rs-gacha-screen .mobile-pager{min-height:40px;color:var(--rs-text)}body.phone-game .release-screen.rs-gacha-screen .mobile-pager button,body.phone-game .release-screen.rs-gacha-screen [data-rs-detail-back]{background:var(--rs-subtle);color:var(--rs-text);border-color:var(--rs-border)}body.phone-game .release-screen.rs-gacha-screen .mobile-pager-count{color:var(--rs-muted)}body.phone-game .release-screen.rs-gacha-screen .rs-gacha-guide .rs-rates span{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:9px 10px}body.phone-game .release-screen.rs-gacha-screen .rs-gacha-guide .rs-rates b{font-size:20px}body.phone-game .rs-guarantee-names{gap:4px 16px;margin-top:8px}body.phone-game .rs-guarantee-names span{padding:3px 8px;line-height:1.25}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product{grid-template-rows:minmax(44px,1fr) 24px 58px;padding:8px 10px;gap:2px 8px}body.phone-game .release-screen.rs-shop-screen .rs-content .rs-products .rs-product-text h2 button{font-size:17px;line-height:1.25}body.phone-game .rs-character-rate-layout [data-rs-rate-members]>div{font-size:15px;line-height:1.3;padding:3px 6px}body.phone-game .rs-character-rate-layout [data-rs-rate-members] b{font-size:15px}body.phone-game .rs-member-rate-pager{display:flex;align-items:center;gap:12px;margin-top:6px;color:var(--rs-muted)}body.phone-game .release-screen.rs-gacha-screen .rs-member-rate-pager button{min-height:32px;padding:2px 12px;background:var(--rs-subtle);color:var(--rs-text);border-color:var(--rs-border)}body.phone-game .rs-character-rate-layout>div:first-child>p{font-size:14px!important;line-height:1.35!important}body.phone-game .rs-character-rate-layout label{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:14px;white-space:nowrap}body.phone-game .rs-character-rate-layout select{flex:1;min-width:0;margin:0;font-size:15px}body.phone-game .cpu-launch .cpu-launch-rule{display:block;white-space:nowrap}body.phone-game .release-screen.rs-gacha-screen .rs-gacha-stage:has(.rs-gacha-keyart){background:var(--rs-bg)}body.phone-game .rs-gacha-keyart{display:block;width:100%;height:100%;object-fit:contain}body.phone-game .rs-exchange-balance{display:flex;gap:24px;margin:16px 0;color:var(--rs-muted)}body.phone-game .rs-exchange-balance strong{color:var(--rs-accent);font-size:24px;margin-left:8px}body.phone-game .rs-gacha-guide [data-rs-exchange-open]{background:var(--rs-accent);color:var(--rs-on-accent);min-height:44px;padding:8px 24px}body.phone-game dialog:not(#orientation-gate).cpu-reward-dialog{--reward-bg:#132822;--reward-surface:#223c32;--reward-text:#fff2d8;--reward-muted:#c3d2c5;--reward-gold:#f0c677;zoom:1;width:min(960px,94vw);height:min(570px,94dvh);max-height:94dvh;box-sizing:border-box;padding:20px;gap:14px;background:var(--reward-bg);color:var(--reward-text);border:1px solid #8a7953;border-top:3px solid var(--reward-gold);border-radius:14px;box-shadow:0 16px 64px #0009}body.phone-game .cpu-reward-dialog::backdrop{background:#071811ad;backdrop-filter:blur(6px)}body.phone-game .cpu-reward-dialog>header{margin:0;padding:0 0 12px;border-bottom:1px solid #53634f}body.phone-game .cpu-reward-dialog>header h2{color:var(--reward-text);font-size:24px;letter-spacing:.04em}body.phone-game .cpu-reward-dialog .experience-body{gap:12px;overflow:hidden}body.phone-game .cpu-reward-dialog .cpu-reward-tiles{gap:14px;padding-bottom:4px}body.phone-game .cpu-reward-dialog .cpu-reward-tiles[data-reward-columns="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}body.phone-game .cpu-reward-dialog>header button[hidden]{display:none}body.phone-game .cpu-reward-dialog button.cpu-reward-tile{position:relative;display:grid;grid-template-rows:minmax(60px,1fr) auto auto;align-content:stretch;gap:10px;padding:14px;background:linear-gradient(155deg,#304d3e,var(--reward-surface));color:var(--reward-text);border:1px solid #687a5b;border-bottom:4px solid #0a1c16;border-radius:10px;box-shadow:inset 0 1px #a4b88944,0 4px #071811;transition:border-color .15s,background .15s,transform .12s;text-align:left;cursor:pointer}body.phone-game .cpu-reward-dialog button.cpu-reward-tile:hover:not(:disabled){background:#335443;box-shadow:inset 0 1px #dfd5ae66,0 4px #071811;border-color:#b6b283}body.phone-game .cpu-reward-dialog button.cpu-reward-tile:active:not(:disabled){transform:translateY(3px);box-shadow:inset 0 1px #dfd5ae66}body.phone-game .cpu-reward-dialog button.cpu-reward-tile[aria-pressed=true]{background:linear-gradient(155deg,#5b5132,#35442c);border-color:var(--reward-gold);border-bottom-color:#9f7739;box-shadow:inset 0 0 0 1px var(--reward-gold),0 4px #071811}body.phone-game .cpu-reward-dialog .cpu-reward-select-mark{position:absolute;top:10px;right:10px;font-size:12px;line-height:1.4;color:var(--reward-muted);background:#132822dd;border:1px solid #687a5b;border-radius:4px;padding:3px 8px}body.phone-game .cpu-reward-dialog [aria-pressed=true] .cpu-reward-select-mark{background:var(--reward-gold);color:#253424;border-color:var(--reward-gold);font-weight:700}body.phone-game .cpu-reward-dialog .cpu-reward-tile-art{display:flex;align-items:center;justify-content:center;min-height:0;background:radial-gradient(ellipse,#d8bd7040,transparent 68%)}body.phone-game .cpu-reward-dialog .cpu-reward-tile-art :is(img,canvas,svg,.portrait){width:140px;height:140px;max-height:100%;max-width:100%;object-fit:contain;opacity:1;flex:none;margin:0}body.phone-game .cpu-reward-dialog .cpu-reward-tile-art .portrait canvas{width:100%;height:100%}body.phone-game .cpu-reward-dialog .cpu-reward-tile-title{display:flex;flex-direction:column;align-items:flex-start;gap:3px}body.phone-game .cpu-reward-dialog .cpu-reward-tile strong{font-size:20px;line-height:1.3;color:var(--reward-text)}body.phone-game .cpu-reward-dialog .cpu-reward-tile small{font-size:14px;line-height:1.5;color:var(--reward-muted)}body.phone-game .cpu-reward-dialog .cpu-reward-description{margin:0;min-height:42px}body.phone-game .cpu-reward-dialog .experience-body>footer{position:static;background:transparent;padding:0;margin:0;gap:14px;flex-shrink:0}body.phone-game .cpu-reward-dialog .experience-body>footer.cpu-reward-decision{display:grid;grid-template-columns:auto minmax(0,1fr) auto}body.phone-game .cpu-reward-dialog .cpu-reward-pages{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:14px;color:var(--reward-muted)}body.phone-game .cpu-reward-dialog .cpu-reward-selection{font-size:14px;line-height:1.4;margin:0;color:var(--reward-muted)}body.phone-game .cpu-reward-dialog .cpu-reward-pages:empty+.cpu-reward-selection{grid-column:1/3}body.phone-game .cpu-reward-dialog footer button{background:var(--reward-surface);color:var(--reward-text);border-color:#687a5b;min-width:44px;min-height:44px;font-size:16px;padding:8px 14px}body.phone-game .cpu-reward-dialog footer button.primary{flex:0 1 auto;min-width:210px;background:linear-gradient(#ffdb91,#dfad5a);color:#253020;border:1px solid #ffdb91;border-bottom:3px solid #a57732;box-shadow:0 3px #071811;font-weight:700}body.phone-game .cpu-reward-dialog footer button.primary:active:not(:disabled){transform:translateY(2px);box-shadow:none}body.phone-game .cpu-reward-dialog footer button:disabled{background:#21362c;border-color:#52634e;color:#9eac9b;box-shadow:none;cursor:default;opacity:1}body.phone-game .cpu-reward-dialog button:focus-visible{outline:3px solid #fff3ba;outline-offset:2px}body.phone-game .cpu-reward-dialog .cpu-reward-receipt{background:radial-gradient(ellipse,#b79d4933,transparent 70%);gap:14px}body.phone-game .cpu-reward-dialog .cpu-receipt-icons{align-items:center;min-height:0}body.phone-game .cpu-reward-dialog .cpu-receipt-icons :is(img,canvas,svg,.portrait){width:110px;height:110px;object-fit:contain;margin:0;opacity:1}body.phone-game .cpu-reward-dialog .cpu-reward-receipt p{color:var(--reward-text);font-size:22px;line-height:1.4}body.phone-game .cpu-reward-dialog .cpu-reward-complete{color:var(--reward-gold);font-size:14px;letter-spacing:.1em;font-weight:700}body.phone-game .cpu-reward-dialog .cpu-reward-error{color:#ffd3be;font-size:13px;line-height:1.35}@media(max-height:480px){body.phone-game dialog:not(#orientation-gate).cpu-reward-dialog{padding:12px 14px;gap:8px}body.phone-game .cpu-reward-dialog>header{padding-bottom:7px}body.phone-game .cpu-reward-dialog>header h2{font-size:20px}body.phone-game .cpu-reward-dialog .experience-body{gap:8px}body.phone-game .cpu-reward-dialog .cpu-reward-tiles{gap:10px}body.phone-game .cpu-reward-dialog button.cpu-reward-tile{padding:8px 10px;gap:5px;grid-template-rows:minmax(44px,1fr) auto auto}body.phone-game .cpu-reward-dialog .cpu-reward-tile-art :is(img,canvas,svg,.portrait){width:80px;height:80px}body.phone-game .cpu-reward-dialog .cpu-reward-select-mark{top:6px;right:6px;padding:2px 6px;font-size:11px}body.phone-game .cpu-reward-dialog .cpu-reward-tile strong{font-size:17px}body.phone-game .cpu-reward-dialog .cpu-reward-tile small{font-size:13px;line-height:1.4}body.phone-game .cpu-reward-dialog .cpu-reward-description{min-height:36px}body.phone-game .cpu-reward-dialog .cpu-reward-tiles[data-reward-columns="2"] .cpu-reward-tile{grid-template-columns:52px minmax(0,1fr);grid-template-rows:52px minmax(0,1fr);align-items:start}body.phone-game .cpu-reward-dialog .cpu-reward-tiles[data-reward-columns="2"] .cpu-reward-tile-art{grid-column:1;grid-row:1;height:52px}body.phone-game .cpu-reward-dialog .cpu-reward-tiles[data-reward-columns="2"] .cpu-reward-tile-title{grid-column:2;grid-row:1;padding-right:24px;align-self:center}body.phone-game .cpu-reward-dialog .cpu-reward-tiles[data-reward-columns="2"] .cpu-reward-description{grid-column:1/3;grid-row:2}body.phone-game .cpu-reward-dialog .cpu-reward-tiles[data-reward-columns="2"] .cpu-reward-select-mark{font-size:0;width:20px;height:20px;padding:0}body.phone-game .cpu-reward-dialog .cpu-reward-tiles[data-reward-columns="2"] [aria-pressed=true] .cpu-reward-select-mark:after{content:"\2713";display:block;text-align:center;font-size:14px}body.phone-game .cpu-reward-dialog .experience-body>footer{gap:10px}body.phone-game .cpu-reward-dialog .cpu-reward-selection{font-size:13px}body.phone-game .cpu-reward-dialog footer button.primary{min-width:190px;font-size:15px}body.phone-game .cpu-reward-dialog .cpu-reward-receipt{gap:8px}body.phone-game .cpu-reward-dialog .cpu-reward-receipt p{font-size:18px}body.phone-game .cpu-reward-dialog .cpu-receipt-icons :is(img,canvas,svg,.portrait){width:75px;height:75px}}@media(prefers-reduced-motion:reduce){body.phone-game .cpu-reward-dialog *{animation:none!important;transition:none!important}}body.phone-game .release-screen.rs-shop-hub .rs-content{display:flex;min-height:0;overflow:hidden}body.phone-game .rs-shop-hub .shop-destinations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;flex:1;min-height:0}body.phone-game .rs-shop-hub .shop-destination{display:flex;flex-direction:column;min-width:0;min-height:0;padding:0;overflow:hidden;text-align:left;background:var(--rs-elevated);color:var(--rs-text);border:1px solid var(--rs-border);border-radius:var(--rs-radius-lg);box-shadow:var(--rs-shadow)}body.phone-game .shop-destination img{display:block;flex:1;min-height:0;width:100%;object-fit:cover;object-position:50% 58%}body.phone-game .shop-destination-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;flex:none;width:100%;border-top:2px solid var(--rs-accent)}body.phone-game .shop-destination-caption strong{display:block;font-size:24px;line-height:1.25}body.phone-game .shop-destination-caption small{display:block;font-size:15px;color:var(--rs-muted);margin-top:6px;line-height:1.35}body.phone-game .shop-destination-caption b{font-size:32px;color:var(--rs-accent)}body.phone-game .shop-destination-premium .shop-destination-caption{background:#1d293b;border-color:#d5ad60}body.phone-game .rs-shop-hub :is(.shop-destination,.shop-membership-entry):hover{border-color:var(--rs-accent);filter:brightness(1.05)}body.phone-game .rs-shop-hub :is(.shop-destination,.shop-membership-entry):active{transform:translateY(1px)}body.phone-game .rs-shop-hub :is(.shop-destination,.shop-membership-entry):focus-visible{outline:3px solid var(--rs-accent);outline-offset:-5px}body.phone-game .shop-premium-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px;flex:1;min-height:0}body.phone-game .shop-premium-art{width:100%;height:100%;min-height:0;object-fit:cover;border:1px solid var(--rs-border);border-radius:var(--rs-radius-lg)}body.phone-game .shop-premium-options{display:flex;flex-direction:column;justify-content:center;gap:16px;min-width:0}body.phone-game .shop-payment-label{font-size:15px;color:var(--rs-muted);margin:0}body.phone-game .shop-premium-options .shop-membership-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:86px;text-align:left;padding:16px 22px;background:var(--rs-accent);color:var(--rs-on-accent);border:1px solid var(--rs-accent);border-radius:var(--rs-radius-lg)}body.phone-game .shop-membership-entry strong{display:block;font-size:24px;line-height:1.3}body.phone-game .shop-membership-entry small{display:block;font-size:15px;line-height:1.35;margin-top:4px}body.phone-game .shop-membership-entry b{font-size:32px}body.phone-game .shop-ril-coming{padding:18px 22px;border:1px solid var(--rs-border);border-radius:var(--rs-radius-lg);background:var(--rs-elevated)}body.phone-game .shop-ril-coming>div{display:flex;align-items:center;justify-content:space-between;gap:12px}body.phone-game .shop-ril-coming h2{font-size:22px;margin:0;color:var(--rs-text)}body.phone-game .shop-coming-badge{padding:4px 10px;border:1px solid var(--rs-border);border-radius:30px;font-size:13px;color:var(--rs-muted);white-space:nowrap}body.phone-game .shop-ril-coming p{font-size:15px;line-height:1.5;color:var(--rs-muted);margin:10px 0 0}@media(max-width:1000px){body.phone-game .rs-shop-hub .shop-destinations{gap:12px}body.phone-game .shop-destination-caption{padding:10px 14px}body.phone-game .shop-destination-caption strong{font-size:21px}body.phone-game .shop-destination-caption small{font-size:14px;margin-top:4px}body.phone-game .shop-premium-layout{gap:16px;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}body.phone-game .shop-premium-options{gap:10px}body.phone-game .shop-premium-options .shop-membership-entry{min-height:74px;padding:12px 16px}body.phone-game .shop-ril-coming{padding:12px 16px}body.phone-game .shop-ril-coming p{margin-top:6px}}body.phone-game #settings-dialog{--settings-gap:12px;--settings-radius:8px}body.phone-game #settings-dialog .settings-audio-grid:not([hidden]){display:grid;grid-template-columns:1fr 1fr;gap:var(--settings-gap);padding:0;align-content:start}body.phone-game #settings-dialog :is(.settings-sound,.settings-controls){min-width:0;padding:10px 12px;background:var(--phone-soft);border:1px solid var(--phone-line);border-radius:var(--settings-radius)}body.phone-game #settings-dialog .settings-sound{display:flex;flex-direction:column;gap:8px}body.phone-game #settings-dialog .settings-sound .volume-control{font-size:14px;line-height:20px}body.phone-game #settings-dialog .settings-sound input[type=range]{height:36px;min-height:36px}body.phone-game #settings-dialog .settings-sound .audio-settings-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px}body.phone-game #settings-dialog .settings-sound .audio-settings-actions>label{grid-column:1/-1;grid-row:2;display:flex;align-items:center;gap:6px;min-height:32px;font-size:14px}body.phone-game #settings-dialog .settings-sound .audio-settings-actions button{min-height:44px;padding:4px 8px;font-size:14px}body.phone-game #settings-dialog .settings-audio-grid .subtext{font-size:13px;line-height:1.4;margin:0}body.phone-game #settings-dialog .settings-controls .command-memory-setting{display:flex;align-items:center;min-height:44px;font-size:14px;line-height:1.4;gap:8px}body.phone-game #settings-dialog .settings-controls .command-memory-setting input{flex:none;width:18px;height:18px}body.phone-game #settings-dialog .settings-controls .subtext+.command-memory-setting{margin-top:12px;padding-top:6px;border-top:1px solid var(--phone-line)}body.phone-game #settings-dialog .settings-account-grid:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-rows:minmax(0,1fr) auto;gap:6px 16px;padding:0;overflow:visible}body.phone-game #settings-dialog .settings-profile{min-width:0;grid-column:1;grid-row:1}body.phone-game #settings-dialog .settings-profile h3{font-size:16px;line-height:22px;margin:0 0 6px}body.phone-game #settings-dialog .settings-profile form{gap:6px 8px;margin:0 0 6px}body.phone-game #settings-dialog .settings-profile form button{font-size:14px;padding:6px 10px}body.phone-game #settings-dialog .settings-profile .team-name-label{font-size:14px;line-height:20px}body.phone-game #settings-dialog .settings-profile [data-name-count]{font-size:12px}body.phone-game #settings-dialog .settings-profile [data-account-message]{margin:2px 0 6px;font-size:13px;line-height:1.4}body.phone-game #settings-dialog .settings-profile .account-public-id{padding:8px 10px;margin:8px 0 0;font-size:13px;line-height:1.4}body.phone-game #settings-dialog .settings-profile .account-public-id code{font-size:15px;margin:4px 0}body.phone-game #settings-dialog .settings-profile .account-public-id p{font-size:12px;line-height:1.4}body.phone-game #settings-dialog .settings-account-grid .native-account-settings{display:grid;grid-column:2;grid-row:1;grid-template-columns:1fr auto;gap:6px;align-content:start;min-width:0;margin:0;padding:0 0 0 16px;border-top:0;border-left:1px solid var(--phone-line)}body.phone-game #settings-dialog .settings-account-grid .native-account-settings h3{font-size:16px;line-height:22px;margin:0;align-self:center}body.phone-game #settings-dialog .settings-account-grid .native-account-settings p{grid-column:1/-1;font-size:13px;line-height:1.4;margin:0}body.phone-game #settings-dialog .settings-account-grid .native-apple-button{grid-column:1/-1;width:100%;font-size:14px;min-height:44px;padding:6px 10px;margin:0}body.phone-game #settings-dialog .settings-account-grid .settings-environment{grid-column:2;grid-row:1;font-size:12px;line-height:1.2;min-height:44px;padding:4px 6px;max-width:150px}body.phone-game #settings-dialog .settings-account-grid [data-native-account-message]:empty,body.phone-game #settings-dialog .settings-profile [data-account-message]:empty{display:none}body.phone-game #settings-dialog .settings-account-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;grid-column:1/-1;min-height:44px}body.phone-game #settings-dialog .settings-account-actions :is(button,a){display:inline-flex;align-items:center;font-size:13px;line-height:1.3;min-height:44px;padding:4px 10px;margin:0}body.phone-game #settings-dialog .settings-account-actions [data-account-delete]{color:#8c3125;margin-left:auto}body.phone-game #settings-dialog .settings-account-grid:not(:has(.native-account-settings)) .settings-profile{grid-column:1/-1}body.phone-game #settings-dialog .settings-account-grid:not(:has(.native-account-settings)) .settings-profile .account-public-id{margin-top:14px}@media(min-width:600px)and (max-height:500px){body.phone-game:not(.keyboard-open) #settings-dialog .phone-dialog-layout{display:grid;grid-template-columns:56px minmax(0,1fr) 44px;grid-template-rows:44px minmax(0,1fr);gap:8px}body.phone-game:not(.keyboard-open) #settings-dialog .phone-dialog-layout>.dialog-top{grid-column:1/-1;grid-row:1;margin:0}body.phone-game:not(.keyboard-open) #settings-dialog .phone-dialog-layout>.phone-page-tabs{grid-column:2;grid-row:1;z-index:1;margin:0}body.phone-game:not(.keyboard-open) #settings-dialog .phone-dialog-layout>.phone-page-tabs>button{white-space:nowrap;flex-shrink:0;font-size:14px;padding:4px 8px}body.phone-game:not(.keyboard-open) #settings-dialog .phone-dialog-layout>.phone-page-tabs>button:nth-of-type(4){white-space:normal;flex-shrink:1;max-width:150px;font-size:12px;line-height:1.2}body.phone-game:not(.keyboard-open) #settings-dialog .phone-dialog-layout>.phone-tab-panels{grid-column:1/-1;grid-row:2}}body.phone-game.keyboard-open #settings-dialog .settings-account-grid:not([hidden]){display:block}body.phone-game.keyboard-open #settings-dialog .settings-account-grid>.settings-profile{display:block}body.phone-game.keyboard-open #settings-dialog .settings-profile>:not([data-team-name-form]):not([data-account-message]){display:none}body.phone-game.keyboard-open #settings-dialog .settings-profile form{margin:0}body.phone-game.keyboard-open #settings-dialog .settings-profile [data-account-message]{margin:2px 0 0;line-height:18px;font-size:14px}body.phone-game dialog:not(#orientation-gate).membership-dialog{zoom:1;box-sizing:border-box;width:min(860px,calc(100% - 24px - var(--safe-left) - var(--safe-right)));height:min(580px,calc(100dvh - 16px));padding:12px;font-size:16px}body.phone-game dialog.membership-dialog[open]{display:flex;flex-direction:column;gap:8px}body.phone-game .membership-dialog .dialog-top{height:44px;min-height:44px;flex:none;margin:0}body.phone-game .membership-dialog .membership-settings{flex:1;overflow:visible;margin:0;padding:0;border:0}body.phone-game .membership-dialog [data-membership-message]{margin:0;font-size:13px;line-height:1.35;min-height:18px}
