.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}.battle-preparing.startup-brand{position:fixed;inset:0;z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:0;margin:0;padding:24px;background:#222;color:#eee;border:0;border-radius:0;overflow:auto;text-align:center}.startup-brand-logo{display:block;width:min(220px,42vh);height:auto;max-width:70%;object-fit:contain;flex-shrink:0}.startup-brand-spinner{display:block;width:24px;height:24px;border:2px solid #50533f;border-top-color:#a6f80f;border-radius:50%;animation:codiq-loading 1s linear infinite;flex-shrink:0}.startup-brand-status{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:100%;font-size:15px;line-height:1.6;color:#c8c8c8;overflow-wrap:anywhere}.startup-brand-status strong{color:#fff;font-size:16px;font-weight:600}.startup-brand-status button{min-height:44px;background:#a6f80f;border-color:#a6f80f;color:#202220;font-size:15px;font-weight:600}.startup-brand-status button:hover{background:#b7ff3b;border-color:#b7ff3b}@keyframes codiq-loading{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.startup-brand-spinner{animation:none}}.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 #battle-effect-overflow{position:absolute;z-index:8;pointer-events:none;max-width:none;max-height:none}.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 .command-top:has(#battle-honki){display:grid;grid-template-columns:minmax(0,1fr) auto auto;flex-wrap:nowrap;gap:4px}.battle-screen .command-top:has(#battle-honki) h2{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.battle-screen .command-top #battle-honki{position:relative;flex:none;display:inline-flex;align-items:center;justify-content:center;gap:4px;width:auto;height:24px;min-height:24px;min-width:58px;margin:0;padding:2px 6px;font-size:11px;line-height:1;letter-spacing:0;background:#172723;color:#c5c4ae;border:1px solid #788577;border-radius:6px;box-shadow:none;opacity:1}.battle-screen .command-top #battle-honki:after{content:"";position:absolute;inset:-4px 0}.battle-screen .command-top #battle-honki[aria-pressed=true]{background:linear-gradient(135deg,#120e19,#37213f);color:#ffe2a0;border-color:#deb969;box-shadow:0 0 7px #8b5fb36b}.battle-screen .command-top #battle-honki:disabled{color:#aaa899;border-color:#656e64;cursor:default}.battle-screen .command-top #battle-honki .honki-dots{display:flex;gap:3px}.battle-screen .command-top #battle-honki>span{font-size:inherit}.battle-screen .command-top #battle-honki .honki-dots i{width:5px;height:5px;border:1px solid #c7b782;border-radius:50%;background:#d9c38b}.battle-screen .command-top #battle-honki .honki-dots .spent{background:transparent;border-color:#73786d}.battle-screen .command-dock[data-kakugo=on]{border-color:#efc75e!important}.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 #battle-canvas,.battle-screen #field-targets button{touch-action:none}.target-slide-preview{position:absolute;top:6px;transform:translate(-50%);max-width:90px;padding:4px 8px;border:1px solid #dcc187;border-radius:7px;background:#10271ff2;color:#fff1cc;font-size:14px;font-weight:700;overflow-wrap:anywhere;text-align:center;pointer-events:none;z-index:4}.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}.command-item-explained{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:3px;margin-bottom:6px;min-width:0}.command-item-explained .order-item{margin-bottom:0;min-width:0}body.phone-game.in-battle .battle-screen .command-item-explained{height:76px;margin:0}body.phone-game.in-battle .battle-screen .command-item-explained .order-item{height:74px;min-height:0;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;border:0;background:transparent;padding:4px;gap:2px 4px}body.phone-game.in-battle .battle-screen .command-item-explained .order-item-art{width:34px;height:38px}body.phone-game.in-battle .battle-screen .command-item-explained .order-item b{white-space:normal;overflow-wrap:anywhere;line-height:1.2}.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:var(--status-max-width,186px);font-size:16.5px;text-shadow:0 1px 2px #000,1px 0 1px #000,-1px 0 1px #000,0 -1px 1px #000}#field-statuses .status-chip{display:block;box-sizing:border-box;max-width:min(186px,var(--status-max-width,186px));overflow:hidden;white-space:normal;overflow-wrap:anywhere;padding:1px 4px;border:0;border-radius:3px;background:#12251e8c;color:#c3eacb;line-height:1.2}#field-statuses .field-status:has(>.status-chip[data-effect=hampri-fury]){margin-top:calc(1.2em + 2px)}#field-statuses .vision-status-icon{position:absolute;left:50%;bottom:calc(100% + 2px);transform:translate(-50%);pointer-events:none}#field-statuses .status-chip.bad{color:#ffc4bc;background:#391d278c}#field-statuses .status-chip[data-effect=unravel-marks]{color:#fff0ff;background:#48245b8c;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 .status-notice{animation:status-notice-fade 1.4s linear both;animation-delay:var(--status-age,0ms)}@keyframes status-notice-fade{0%,70%{opacity:1}to{opacity:0}}#field-statuses .field-status{pointer-events:none}#field-statuses .field-status>small{position:absolute;left:100%;bottom:0;background:#12251e8c;padding:1px 3px;border-radius:3px;font-size:13.5px}#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}}dialog.battle-status-dialog,body.phone-game dialog.battle-status-dialog:not(#orientation-gate){zoom:1;width:min(1080px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:min(540px,calc(100dvh - 20px));max-height:calc(100dvh - 20px);padding:10px 14px;font-size:15px;overflow:hidden}.battle-status-dialog[open]{display:flex;flex-direction:column;gap:6px}.battle-status-dialog>header{position:static;flex:none;padding:0 0 5px;gap:12px;min-height:40px}.battle-status-dialog>header h2{font-size:20px;white-space:nowrap}.battle-status-dialog>header .status-live-note{flex:1;margin:0;font-size:12px;text-align:right}.battle-status-dialog>header form{margin:0}body.phone-game .battle-status-dialog>header button{min-width:40px;min-height:38px;height:38px;padding:0;font-size:24px;background:#fff9e8;color:#4d3b23;border:1px solid #b3945c;border-radius:8px;box-shadow:none}.battle-status-dialog>.battlefield-effect{flex:none;font-size:12px;margin:0;line-height:1.3}.battle-status-dialog [data-status-content]{flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.battle-status-dialog .status-team{min-height:0;display:flex;flex-direction:column;gap:3px}.battle-status-dialog .status-team h3{flex:none;margin:0;font-size:16px;line-height:1.3;color:#685135}.battle-status-dialog .status-team-units{flex:1;min-height:0;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:3px}body.phone-game .battle-status-dialog .status-unit,.battle-status-dialog .status-unit{display:grid;grid-template-columns:minmax(70px,.8fr) minmax(0,1.8fr) 20px;align-items:center;gap:6px;width:100%;min-width:0;min-height:0;height:100%;margin:0;padding:3px 8px;background:#fffaea;color:#3c3022;border:1px solid #d5c49c;border-radius:7px;box-shadow:none;font:inherit;line-height:1.2;text-align:left;clip-path:none}body.phone-game .battle-status-dialog .status-unit[aria-pressed=true]{border-color:#43684e;background:#e8eedb;box-shadow:inset 3px 0 #43684e}.battle-status-dialog .status-unit-name{min-width:0;font-size:16px;font-weight:700;overflow-wrap:anywhere}.battle-status-dialog .status-unit-summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-width:0;color:#426047;font-size:13px;line-height:1.3;overflow-wrap:anywhere}.battle-status-dialog .status-unit-summary.has-bad{color:#a13439}.battle-status-dialog .status-unit-count{text-align:center;font-size:12px;border-radius:12px;background:#eee2c4;padding:2px 0;color:#766448}.battle-status-dialog .status-selected{flex:none;height:90px;padding:7px 10px;border:1px solid #b8ad89;border-radius:8px;background:#fffcf0;min-width:0}.battle-status-dialog .status-selected>header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:28px}.battle-status-dialog [data-status-title]{font-size:15px;line-height:1.3;min-width:0;color:#335840}.battle-status-dialog [data-tone=bad] [data-status-title]{color:#a13439}.battle-status-dialog .status-selected nav{display:flex;align-items:center;gap:7px;flex:none;font-size:12px;font-variant-numeric:tabular-nums}body.phone-game .battle-status-dialog [data-status-step]{width:38px;min-width:38px;height:28px;min-height:28px;padding:0;margin:0;font-size:23px;line-height:1;background:#f7edd2;color:#4b5f43;border:1px solid #baa675;border-radius:6px;box-shadow:none}.battle-status-dialog [data-status-description]{margin:3px 0 0;font-size:14px;line-height:1.4;color:#4c4130;overflow-wrap:anywhere}.battle-status-dialog button:focus-visible{outline:2px solid #8e6830;outline-offset:1px}@media(max-width:700px){.battle-status-dialog [data-status-content]{gap:8px}.battle-status-dialog .status-unit-name{font-size:14px}.battle-status-dialog .status-unit-summary{font-size:12px}body.phone-game .battle-status-dialog .status-unit{grid-template-columns:minmax(60px,.8fr) minmax(0,1.8fr) 17px;padding:2px 5px;gap:4px}.battle-status-dialog>header .status-live-note{font-size:11px}.battle-status-dialog .status-selected{height:94px}.battle-status-dialog [data-status-description]{font-size:13px}}.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:#3520458c;border-left:3px solid #e2b9ff;font-weight:700;max-width:min(240px,var(--status-max-width,240px))}#field-statuses .status-chip.incense-rage{color:#ffe4ce;background:#5325198c;border-left:3px solid #ff854f;font-weight:700;max-width:min(240px,var(--status-max-width,240px))}.order-footer #confirm-fixed-area{grid-column:1/-1}.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 .home-portrait-window{position:relative;display:block;overflow:visible}.hero-party .home-portrait-window>canvas{position:absolute;left:-50%;top:0;width:200%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:inherit;pointer-events:none}.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}}.rarity-badge{--rarity-top:#59616a;--rarity-bottom:#28323b;--rarity-edge:#b5c1ca;display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:none;padding:5px 12px;border:2px solid var(--rarity-edge);border-radius:10px;background:linear-gradient(145deg,var(--rarity-top),var(--rarity-bottom));color:#fff9e9;box-shadow:inset 0 0 0 2px #ffffff14,0 3px 7px #1c201e38;text-align:center;white-space:nowrap}.rarity-badge>span{font-size:14px;font-weight:700;line-height:1.2;letter-spacing:.04em}.rarity-badge>b{font:800 40px/1 Georgia,Times New Roman,serif;letter-spacing:0;color:inherit;text-shadow:0 2px 2px #0007}.rarity-badge[data-rarity=S]{--rarity-top:#b17813;--rarity-bottom:#57300b;--rarity-edge:#f6d883;color:#fff3bd}.rarity-badge[data-rarity=SS]{--rarity-top:#634287;--rarity-bottom:#170e29;--rarity-edge:#f7dc9c;color:#fff3cc;box-shadow:0 0 14px #b788d866,inset 0 0 9px #f7dc9c33}.rarity-badge[data-rarity=A]{--rarity-top:#9554b2;--rarity-bottom:#4f246c;--rarity-edge:#e4c0fa}.rarity-badge[data-rarity=B]{--rarity-top:#397ac3;--rarity-bottom:#183d7d;--rarity-edge:#b0dafa}.rarity-badge[data-rarity=C]{--rarity-top:#287e70;--rarity-bottom:#124a42;--rarity-edge:#99dfc1}.rarity-badge[data-rarity=D]{--rarity-top:#6d792d;--rarity-bottom:#3c491e;--rarity-edge:#d2de8e}.rarity-badge[data-rarity=E]{--rarity-top:#a3673c;--rarity-bottom:#583620;--rarity-edge:#e8bd92}.rarity-badge[data-rarity=F]{--rarity-top:#677989;--rarity-bottom:#364753;--rarity-edge:#c2d0dc}.rarity-badge[data-rarity=G]{--rarity-top:#5a625e;--rarity-bottom:#303a34;--rarity-edge:#b8c9bc}.rs-gacha-character-result>.rs-result-copy{display:flex;flex-direction:column;min-width:0;min-height:0;max-height:100%;flex:1}.rs-result-identity{display:flex;align-items:center;gap:16px;flex:none}.rs-result-name{min-width:0}.rs-result-name p{margin:4px 0;line-height:1.4}ruby.character-name{ruby-position:over;ruby-align:center}ruby.character-name rt{font:500 12px/1.2 Yu Gothic UI,Meiryo,sans-serif;letter-spacing:.03em;color:inherit}.rs-bundle-card>strong:has(ruby.character-name){padding-top:9px;line-height:1.3}.rs-bundle-card ruby.character-name rt{font-size:9px;letter-spacing:0}.rs-gacha-character-result .rarity-badge{flex-direction:column;gap:2px;width:96px;height:104px;padding:8px}.rs-gacha-character-result .rarity-badge>b{font-size:64px}.rs-gacha-character-result .rarity-badge[data-rarity=SS]>b{font-size:46px}.rs-gacha-character-result .rs-result-reward{flex:none;margin:10px 0 4px}.rs-gacha-character-result .rs-family-introduction{min-height:0;overflow-y:auto;overscroll-behavior-y:contain}.release-campaign-dialog{width:min(520px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;box-sizing:border-box;padding:28px 30px 24px;border:1px solid #c8b484;border-radius:18px;color:#f7f0db;background:radial-gradient(ellipse at 50% 0%,#365347 0,transparent 65%),linear-gradient(155deg,#173c30,#0b201a);box-shadow:0 16px 70px #0009,inset 0 1px #ffedbd66;text-align:center}.release-campaign-dialog::backdrop{background:#04130eda;backdrop-filter:blur(4px)}.release-campaign-dialog .release-campaign-eyebrow{margin:0 0 9px;color:#dfc68d;font-size:13px;font-weight:800;letter-spacing:.18em}.release-campaign-dialog h2{margin:0;font-size:clamp(25px,4vw,34px);line-height:1.35;color:#fff8e7}.release-campaign-dialog .release-campaign-until{display:inline-block;margin:15px 0;padding:5px 18px;color:#edd9a9;border-bottom:1px solid #a58c55;font-size:15px;font-weight:700}.release-campaign-offers{display:grid;gap:10px}.release-campaign-offers section{padding:14px 10px;border:1px solid #bba66d66;border-radius:10px;background:linear-gradient(135deg,#fff5d818,#fff5d805)}.release-campaign-offers span,.release-campaign-offers small{display:block;font-size:13px}.release-campaign-offers strong{display:block;margin:4px 0;font-size:25px;color:#f1d696}.release-campaign-offers section:last-child strong{font-size:21px}.release-campaign-dialog .release-campaign-progress{margin:14px 0 8px;font-size:15px;color:#e8d5a3;font-weight:700}.release-campaign-dialog .release-campaign-rules,.release-campaign-dialog .release-campaign-thanks{margin:9px 0;font-size:12px;line-height:1.6;color:#c2d1c7}.release-campaign-dialog .release-campaign-thanks{padding-top:10px;border-top:1px solid #bba66d44}.release-campaign-dialog .release-campaign-error{font-size:13px;color:#ffc7aa;margin:8px 0;min-height:0}.release-campaign-dialog button{display:block;width:100%;min-height:46px;margin-top:12px;border:1px solid #f1dfb2;border-radius:9px;color:#302817;background:linear-gradient(#f7ebc6,#d2b573);font-size:18px;font-weight:800;box-shadow:inset 0 1px 1px #fff9}.release-campaign-dialog button:disabled{cursor:wait}@media(max-height:500px)and (min-width:600px){.release-campaign-dialog{width:min(760px,calc(100vw - 24px));padding:14px 22px}.release-campaign-dialog h2{font-size:24px}.release-campaign-dialog h2 br{display:none}.release-campaign-offers{grid-template-columns:1fr 1fr}.release-campaign-offers section{padding:8px}.release-campaign-dialog .release-campaign-until{margin:7px 0}.release-campaign-dialog .release-campaign-thanks{font-size:11px;margin:5px 0;padding-top:6px}.release-campaign-dialog button{margin-top:6px}}.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-item-result{display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);gap:clamp(12px,2vw,28px)}.rs-gacha-screen .rs-gacha-item-result .rs-result-image{width:100%;height:clamp(180px,36vh,320px);min-height:0;max-width:320px;justify-self:center}.rs-gacha-screen .rs-gacha-item-result .rs-result-image :is(.rs-item-symbol,.rs-item-art){width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 6px 10px #0006)}.rs-gacha-screen .rs-gacha-item-result>div:last-child{min-width:0;overflow-wrap:anywhere}.rs-gacha-screen .rs-gacha-item-result [data-rs-supply-result]{line-height:1.65;text-wrap:pretty}.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}body.phone-game{--menu-header-height:56px;--menu-button-height:51px;--menu-label-size:14px;--menu-icon-font:25px;--menu-icon-height:27px;--menu-icon-size:30px;--menu-nav-gap:5px}.phone-game *{box-sizing:border-box}.phone-game [hidden]{display:none!important}html:has(>body.phone-game){height:100%;overflow:hidden;overscroll-behavior:none}body.phone-game{position:fixed;inset:0;width:100%;touch-action:manipulation;-webkit-touch-callout:none}body.phone-game,body.phone-game *{-webkit-user-select:none;user-select:none}body.phone-game input,body.phone-game textarea,body.phone-game [contenteditable=true]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}body.phone-game .account-public-id code{-webkit-user-select:all;user-select:all;-webkit-touch-callout:default}body.phone-game.native-game{touch-action:pan-x pan-y}#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:var(--menu-header-height);min-height:var(--menu-header-height);padding:0 18px;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:var(--menu-nav-gap);overflow:hidden;width:auto;margin:0}body.phone-game .header nav .nav{height:var(--menu-button-height);min-height:var(--menu-button-height);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:var(--menu-label-size);line-height:1.2;white-space:nowrap}.phone-nav-icon{font:var(--menu-icon-font) Georgia,serif;height:var(--menu-icon-height);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;width:var(--phone-viewport-width,100%);height:var(--phone-viewport-height,100dvh)}body.phone-game.phone-edge-to-edge{--screen-scale:var(--phone-scale,1);padding:0}body.phone-game.phone-edge-to-edge:is(.in-pvp-result,.in-cpu-result){--screen-scale:1}body.phone-game.phone-edge-to-edge #game-frame{position:fixed;inset:0;border-radius:0;box-shadow:none}body.phone-game.phone-edge-to-edge:not(.in-battle):not(.in-pvp-result):not(.in-cpu-result) #game-device{height:var(--phone-height,450px)}body.phone-game.phone-edge-to-edge:not(.in-battle) #game-device>.header{padding-left:max(8px,calc(var(--safe-left) / var(--phone-scale)));padding-right:max(8px,calc(var(--safe-right) / var(--phone-scale)));padding-top:calc(var(--safe-top) / var(--phone-scale));height:calc(var(--menu-header-height) + var(--safe-top) / var(--phone-scale));min-height:calc(var(--menu-header-height) + var(--safe-top) / var(--phone-scale))}body.phone-game.phone-edge-to-edge:not(.in-battle) #app{padding:0}body.phone-game.phone-edge-to-edge:not(.in-battle) #app>:only-child{width:100%;max-width:none;height:100%;margin:0;border-style:solid;border-color:transparent;border-width:0 calc(var(--safe-right) / var(--screen-scale)) calc(var(--safe-bottom) / var(--screen-scale)) calc(var(--safe-left) / var(--screen-scale));background-origin:border-box;background-clip:border-box;border-radius:0}body.phone-game dialog:not(#orientation-gate):not(#gacha-intro-dialog){--dialog-scale:var(--phone-scale,1);position:fixed;right:auto;bottom:auto;left:calc((var(--phone-viewport-width,100vw) + var(--safe-left) - var(--safe-right)) / (2 * var(--dialog-scale)));top:calc((var(--phone-viewport-height,100dvh) + var(--safe-top) - var(--safe-bottom)) / (2 * var(--dialog-scale)));max-width:calc((var(--phone-viewport-width,100vw) - var(--safe-left) - var(--safe-right) - 16px) / var(--dialog-scale));max-height:calc((var(--phone-viewport-height,100dvh) - var(--safe-top) - var(--safe-bottom) - 16px) / var(--dialog-scale));margin:0;translate:-50% -50%;box-sizing:border-box}body.phone-game.keyboard-open dialog#settings-dialog:not(#orientation-gate){top:calc(var(--settings-top,8px) + var(--safe-top));bottom:auto;margin:0;translate:-50% 0}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 dialog#game-help-dialog{--help-ink:#283e32;--help-muted:#5c685a;--help-gold:#cbab68;zoom:1;transform:none;position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(920px,calc(100vw - 24px - var(--safe-left) - var(--safe-right)));height:min(480px,calc(100dvh - 20px - var(--safe-top) - var(--safe-bottom)));max-width:none;max-height:none;padding:0;border:2px solid var(--help-gold);border-radius:18px;background:#fbf3df;color:var(--help-ink);overflow:hidden;box-shadow:0 16px 70px #071c1980;font-size:18px;line-height:1.5;overscroll-behavior:contain}body.phone-game #game-help-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}#game-help-dialog::backdrop{background:#081d18b8;backdrop-filter:blur(4px)}body.phone-game #game-help-dialog .game-help-header{display:flex;align-items:center;gap:14px;padding:12px 24px;border-bottom:1px solid #c8b57d;background:#183e30;color:#fff2cc}.game-help-header>div{display:flex;align-items:baseline;gap:18px;flex:1;min-width:0}.game-help-kicker{font-size:13px;color:#dcc993;letter-spacing:.07em}.game-help-header b{font-size:19px}.game-help-count{font-size:14px;white-space:nowrap;color:#e4d7b9}body.phone-game #game-help-dialog button{min-width:84px;min-height:44px;padding:8px 20px;border:1px solid #b8a16f;border-radius:9px;background:#fff9ec;color:var(--help-ink);font-size:17px;line-height:1.3;box-shadow:none;touch-action:manipulation}body.phone-game #game-help-dialog button.primary{background:#24583f;color:#fff8e6;border-color:#24583f;font-weight:700}body.phone-game #game-help-dialog button:disabled{opacity:.45;cursor:default}body.phone-game #game-help-dialog button:focus-visible{outline:3px solid #d9a748;outline-offset:2px}body.phone-game #game-help-dialog .game-help-close{min-width:44px;padding:5px;background:transparent;border-color:#688273;color:#fff3d2;font-size:24px}.game-help-content{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:24px;min-width:0;min-height:0;padding:20px 24px;overflow:clip;align-items:center}.game-help-visual{min-width:0;border:1px solid #77907870;border-radius:14px;background:radial-gradient(ellipse at 50% 40%,#375b46,#183e30);color:#ffebbb;overflow:hidden;align-self:stretch;display:grid;place-items:center}.game-help-visual svg{width:100%;height:100%;min-height:0;display:block;object-fit:contain}.game-help-visual svg text{fill:#fff0cd;font-size:18px;font-family:inherit;font-weight:600}.help-unit{fill:#e4cf91;stroke:#e8dba9;stroke-width:2}.help-unit-detail{fill:none;stroke:#365341;stroke-width:3;stroke-linecap:round}.help-swap-unit{fill:#a7c3b3;animation:help-swap 5s infinite}.help-ground,.help-route{fill:none;stroke:#95ac9766;stroke-width:2}.help-route{stroke:#deca91;stroke-dasharray:5 6}.help-battle-target{color:#91aa97;animation-duration:7.5s;animation-timing-function:step-end;animation-iteration-count:infinite}.help-battle-target .help-unit{fill:currentColor;stroke:currentColor}.help-target{fill:none;stroke:currentColor;stroke-width:4}.help-pick-1{animation-name:help-pick-first}.help-pick-2{animation-name:help-pick-second}.help-pick-3{animation-name:help-pick-third}.help-pick-4{animation-name:help-pick-fourth}.help-pick-5{animation-name:help-pick-fifth}.help-finger{fill:#fff5dd;stroke:#a9874d;stroke-width:2;stroke-linejoin:round}.help-slide-finger{animation:help-slide 7.5s linear infinite}.help-slot{fill:#446550;stroke:#b8bf94;stroke-width:2}.help-drag-finger{animation:help-drag-pointer 5s infinite}.help-drag-unit{animation:help-drag 5s infinite}.game-help-copy{min-width:0;min-height:0}.game-help-copy h2{font-size:clamp(20px,2.7vw,26px);line-height:1.3;margin:0 0 12px;color:var(--help-ink);font-family:inherit;outline:none}.game-help-copy p{font-size:18px;line-height:1.5;margin:0 0 10px;color:var(--help-ink)}.game-help-copy p:last-child{margin-bottom:0}.game-help-copy p:has(strong){padding:8px 10px;border-left:4px solid #a77c2e;background:#ead9a854;border-radius:4px}body.phone-game #game-help-dialog .game-help-footer{display:flex;align-items:center;gap:20px;padding:12px 24px;border-top:1px solid #d7cba8}.game-help-progress{display:flex;gap:7px;justify-content:center;flex:1}.game-help-progress i{width:22px;height:5px;background:#daceb0;border-radius:4px}.game-help-progress .is-read{background:#47705a}.help-growth-demo{width:75%;text-align:center;padding:16px 0}.help-demo-label{display:block;font-size:18px;color:#e5d2a4}.help-growth-bar{height:11px;background:#102a23;border-radius:8px;margin:18px 0;overflow:hidden}.help-growth-bar i{display:block;width:70%;height:100%;background:#cadd96;border-radius:8px;animation:help-growing 4s infinite;transform-origin:left}.help-growth-gain{font-weight:700;font-size:26px;color:#f7e3ac}.help-spark-gain{margin-top:15px;font-size:20px;animation:help-spark 4s infinite}.help-spark-gain span{color:#ffde7b;font-size:26px}.help-mode-demo{width:84%;padding:10px 0;display:grid;gap:10px}.help-mode-demo>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #d4c69a40;padding:12px 0}.help-mode-demo>div:last-child{border:0}.help-mode-demo b{font-size:18px;white-space:nowrap}.help-mode-demo span{font-size:16px;color:#dfd4b0;white-space:nowrap}body.phone-game #settings-dialog .game-help-settings{min-height:0;padding:12px;overflow:auto;touch-action:pan-y}.game-help-topics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}body.phone-game #settings-dialog .game-help-topics button{display:flex;align-items:center;gap:12px;text-align:left;padding:18px 16px;min-height:66px;background:#fff8e7;border:1px solid #bca776;border-radius:10px;font-size:19px;color:#284b37}.game-help-topics button span{color:#9a7c3e;font-size:14px}.game-help-topics button b{flex:1}.game-help-topics button i{font-style:normal;font-size:24px}body.phone-game #settings-dialog .game-help-replay{min-height:44px;padding:10px 18px;font-size:17px}@keyframes help-slide{0%,10%{transform:translate(48px,125px);opacity:1}22%,28%{transform:translate(124px,125px);opacity:1}40%,46%{transform:translate(200px,125px);opacity:1}58%,64%{transform:translate(276px,125px);opacity:1}76%,84%{transform:translate(352px,125px);opacity:1}90%,96%{transform:translate(352px,156px);opacity:1}97%{transform:translate(352px,156px);opacity:0}98%,to{transform:translate(48px,125px);opacity:0}}@keyframes help-pick-first{0%,to{color:#ffdf7f}16%{color:#91aa97}}@keyframes help-pick-second{0%,34%,to{color:#91aa97}16%{color:#ffdf7f}}@keyframes help-pick-third{0%,52%,to{color:#91aa97}34%{color:#ffdf7f}}@keyframes help-pick-fourth{0%,70%,to{color:#91aa97}52%{color:#ffdf7f}}@keyframes help-pick-fifth{0%,to{color:#91aa97}70%{color:#ffdf7f}}@keyframes help-drag{0%,30%{transform:translate(0)}65%,to{transform:translate(212px)}}@keyframes help-drag-pointer{0%,30%{transform:translate(108px,132px)}65%,83%{transform:translate(320px,132px)}95%,to{transform:translate(320px,158px)}}@keyframes help-swap{0%,64%{transform:translate(0)}78%,to{transform:translate(-212px)}}@keyframes help-growing{0%,15%{transform:scaleX(.4)}60%,to{transform:scaleX(1)}}@keyframes help-spark{0%,45%{opacity:.55}65%,to{opacity:1}}@media(max-height:430px)and (orientation:landscape){body.phone-game #game-help-dialog .game-help-header{padding:7px 16px}.game-help-content{padding:12px 16px;gap:18px;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr)}.game-help-copy h2{margin-bottom:8px;font-size:20px}.game-help-copy p{font-size:16px;line-height:1.45;margin-bottom:8px}body.phone-game #game-help-dialog .game-help-footer{padding:8px 16px}.help-mode-demo{width:89%;padding:0;gap:2px}.help-mode-demo>div{flex-direction:column;padding:3px 0;gap:0}.help-mode-demo b{font-size:16px}.help-mode-demo span{font-size:14px}.help-growth-demo{width:92%;padding:0}.help-growth-bar{margin:12px 0}.help-growth-gain{font-size:22px}.help-spark-gain{margin-top:8px;font-size:16px}}@media(max-height:350px)and (orientation:landscape){body.phone-game #game-help-dialog .game-help-header,body.phone-game #game-help-dialog .game-help-footer{padding:6px 12px}.game-help-content{padding:10px 12px;gap:12px;grid-template-columns:minmax(0,.6fr) minmax(0,1.4fr)}.game-help-copy h2{font-size:18px}.game-help-copy p{font-size:15px}.game-help-copy p:has(strong){padding:5px 8px}.help-spark-gain{font-size:14px}.help-spark-gain span{font-size:20px}}@media(max-width:599px)and (orientation:portrait){body.phone-game dialog#game-help-dialog{height:min(760px,calc(100dvh - 24px - var(--safe-top) - var(--safe-bottom)))}.game-help-header>div{display:block}.game-help-kicker{display:block;font-size:12px}.game-help-header b{font-size:17px}body.phone-game #game-help-dialog .game-help-header{padding:10px 14px;gap:8px}.game-help-content{grid-template-columns:1fr;grid-template-rows:minmax(100px,.8fr) minmax(0,1fr);padding:16px;gap:16px}.game-help-copy h2{font-size:22px;margin-bottom:10px}.game-help-copy p{font-size:17px;line-height:1.5}body.phone-game #game-help-dialog .game-help-footer{padding:10px 14px;gap:10px}.game-help-topics{grid-template-columns:1fr}}@media(max-width:599px)and (max-height:650px)and (orientation:portrait){.game-help-content{grid-template-rows:minmax(72px,.55fr) minmax(0,1fr);padding:12px;gap:12px}.game-help-copy h2{font-size:20px;margin-bottom:8px}.game-help-copy p{font-size:16px;line-height:1.45;margin-bottom:8px}}@media(prefers-reduced-motion:reduce){#game-help-dialog svg *,#game-help-dialog .help-growth-bar i,#game-help-dialog .help-spark-gain{animation:none!important}#game-help-dialog .help-slide-finger{transform:translate(48px,125px)}#game-help-dialog .help-pick-1{color:#ffdf7f}#game-help-dialog .help-drag-finger{transform:translate(108px,132px)}}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}.character-profile-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin-bottom:10px}.character-profile-heading h2{margin:0;font-size:22px;line-height:1.4}.character-detail-identity{display:flex;align-items:center;gap:14px;min-width:0;flex:1}.character-detail-copy{min-width:0}.character-detail-copy .eyebrow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.character-detail-identity .rarity-badge{min-width:104px;height:54px}.character-profile-story{padding:14px 18px;margin:18px 0;border-left:4px solid #a87a37;border-radius:0 8px 8px 0;background:#fffceca6}.character-story .character-profile-story p,.character-story .character-profile-features p{margin-bottom:0}body.phone-game .phone-character-detail .character-story{width:100%;min-width:0;padding:16px 24px 24px;font-size:18px;overflow-wrap:anywhere;scrollbar-gutter:stable}@media(max-width:700px){body.phone-game .phone-character-detail .character-story{padding:12px 14px 20px}.character-profile-story{padding:12px 14px}.character-profile-heading{gap:6px 12px}}.character-dossier{--dossier-forest:#183d34;--dossier-deep:#102820;--dossier-gold:#dab776;--dossier-paper:#fff8e5;--dossier-ink:#352b1e;--dossier-muted:#706047;--dossier-line:#c9b17d;--dossier-space:16px;--dossier-radius:10px;--dossier-title:22px;--dossier-body:18px;--dossier-leading:1.8;--dossier-shadow:0 6px 18px #142c2526}body.phone-game .phone-character-detail .character-story.character-dossier{display:grid;grid-template-columns:minmax(160px,30%) minmax(0,1fr);gap:var(--dossier-space);width:100%;height:100%;max-width:none;min-height:0;margin:0;padding:0;overflow:hidden;scrollbar-gutter:auto;font-size:var(--dossier-body);color:var(--dossier-ink)}.character-dossier-art{position:relative;isolation:isolate;display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;margin:0;padding:var(--dossier-space) 8px 14px;overflow:hidden;border:1px solid var(--dossier-line);border-radius:var(--dossier-radius);box-shadow:var(--dossier-shadow);background:radial-gradient(ellipse at 50% 42%,#b4b48245,transparent 68%),linear-gradient(150deg,var(--dossier-forest),var(--dossier-deep));color:var(--dossier-paper);text-align:center}.character-dossier-art:before{content:"";position:absolute;inset:5px;z-index:-1;border:1px solid #dab77640;border-radius:6px;pointer-events:none}.character-dossier-label{color:var(--dossier-gold);font-size:14px;letter-spacing:.22em;font-weight:700;line-height:1.4}.character-dossier-portrait{position:relative;min-height:0;min-width:0}body.phone-game .phone-character-detail .character-dossier-portrait>.portrait{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;margin:0;opacity:1;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 10px 7px #0006)}.character-dossier-art figcaption{display:grid;gap:2px;padding:6px 4px 0;line-height:1.4}.character-dossier-art figcaption strong{font-size:28px;font-family:Yu Mincho,Hiragino Mincho ProN,serif;letter-spacing:.05em;overflow-wrap:anywhere}.character-dossier-art figcaption span{font-size:16px;color:var(--dossier-gold)}.character-dossier-art figcaption .character-gacha-rarity{font-size:14px;font-weight:400;line-height:1.4;letter-spacing:.02em;color:#d6d0bd}.character-dossier-copy{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:4px 14px 24px 0;line-height:var(--dossier-leading);scrollbar-color:var(--dossier-line) transparent}.character-dossier-copy:focus-visible{outline:2px solid var(--dossier-line);outline-offset:-2px;border-radius:4px}.character-dossier .character-profile-heading{margin:0 0 8px;padding-bottom:8px;border-bottom:1px solid var(--dossier-line)}.character-dossier .character-profile-heading h2{font-size:var(--dossier-title);letter-spacing:.08em}.character-dossier .character-profile-introduction{margin:0 0 var(--dossier-space);color:var(--dossier-muted)}.character-dossier .character-profile-story{margin:0 0 20px;padding:14px 16px 16px;border:1px solid #c9b17d80;border-left:3px solid var(--dossier-line);border-radius:0 var(--dossier-radius) var(--dossier-radius) 0;background:var(--dossier-paper)}.character-dossier .character-profile-story h3,.character-dossier .character-profile-features h3{font-size:20px;line-height:1.5;letter-spacing:.02em;margin:0 0 8px;color:var(--dossier-forest)}.character-dossier .character-profile-features{padding:0 2px}.character-dossier .character-profile-features h3{padding-bottom:8px;border-bottom:1px solid var(--dossier-line)}.character-dossier :is(.character-profile-story,.character-profile-features) p{margin:0;font-size:var(--dossier-body);line-height:var(--dossier-leading)}body.phone-game .phone-character-detail>.phone-page-tabs>button[aria-pressed=true]{background:linear-gradient(135deg,#305b49,#173c31);border-color:#a98b4e;color:#fff7df;box-shadow:inset 3px 0 #d7b575}@media(max-width:700px){.character-dossier{--dossier-space:12px}body.phone-game .phone-character-detail .character-story.character-dossier{grid-template-columns:minmax(136px,28%) minmax(0,1fr)}.character-dossier-copy{padding-right:8px}.character-dossier .character-profile-story{padding:12px}.character-dossier-art figcaption strong{font-size:25px}}body.phone-game dialog#detail-dialog:has(>.phone-character-detail){--book-leather:url(/assets/screens/character-chronicle-leather-v1.webp);--book-parchment:url(/assets/screens/character-chronicle-parchment-v1.webp);--book-forest:#123b2e;--book-ivory:#fff4d8;--book-ink:#31281d;--book-gold:#d6b16a;--book-brass:#93713c;--book-shadow:0 14px 45px #080f0ce6;--book-gap:10px;--book-radius:6px;padding:16px;border:2px solid var(--book-brass);border-radius:var(--book-radius);border-image:var(--book-leather) 180 fill / 30px / 0 stretch;background:var(--book-forest);box-shadow:var(--book-shadow);color:var(--book-ink)}body.phone-game dialog#detail-dialog:has(>.phone-character-detail)::backdrop{background:linear-gradient(#13170b22,#080c0744),url(/assets/screens/character-chronicle-archive-v1.webp) center/cover;backdrop-filter:none}body.phone-game #detail-dialog .phone-character-detail{--book-tabs:max(116px,calc(112px / var(--phone-scale,1)));--book-spine:calc(var(--book-tabs) + 10px + (100% - var(--book-tabs) - 10px) * .3 + 8px);position:relative;isolation:isolate;grid-template-columns:var(--book-tabs) minmax(0,1fr);gap:8px var(--book-gap)}body.phone-game #detail-dialog .phone-character-detail:before{content:"";position:absolute;z-index:-1;left:var(--book-spine);right:-6px;top:-6px;bottom:-6px;border:0 solid var(--book-brass);border-image:var(--book-parchment) 180 fill / 28px / 0 stretch;background:var(--book-ivory);pointer-events:none}body.phone-game #detail-dialog .phone-character-detail:after{content:"";position:absolute;left:calc(var(--book-spine) - 10px);top:-13px;bottom:-13px;width:10px;background:repeating-linear-gradient(0deg,transparent 0 56px,#443017 57px,#d6b16a 59px,#725125 63px,transparent 65px 72px),linear-gradient(90deg,#13231b,#263226 24%,#090f0c 50%,#554329 80%,#141a12);box-shadow:2px 0 4px #30201066;pointer-events:none}body.phone-game #detail-dialog .phone-character-detail>.dialog-top{display:grid;grid-template-columns:44px minmax(0,calc(var(--book-spine) - 74px)) minmax(0,1fr) auto;gap:10px;align-items:center;position:relative;z-index:1}body.phone-game #detail-dialog .character-detail-identity{gap:10px;padding-right:4px}body.phone-game #detail-dialog .character-detail-copy{flex:1}body.phone-game #detail-dialog .character-detail-copy h2{color:var(--book-ivory);font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:25px;line-height:1.3}body.phone-game #detail-dialog .character-detail-copy .eyebrow{color:#ded0ab;letter-spacing:.08em;font-size:12px}body.phone-game #detail-dialog .character-detail-copy h2:has(ruby.character-name){margin-top:6px}body.phone-game #detail-dialog .phone-character-detail:has(.character-detail-copy ruby.character-name){grid-template-rows:max(72px,calc(64px / var(--phone-scale,1))) minmax(0,1fr)}body.phone-game #detail-dialog .character-detail-identity .rarity-badge{min-width:92px;flex:none;border-color:var(--book-gold);box-shadow:0 3px 8px #0008,inset 0 0 0 1px #fff2;border-radius:4px}body.phone-game #detail-dialog .phone-character-detail .detail-character-nav{justify-content:flex-end;gap:8px;margin-left:0;min-width:0}body.phone-game #detail-dialog .phone-character-detail .detail-character-position{color:var(--book-ink)}body.phone-game #detail-dialog .phone-character-detail :is(.detail-character-nav button,.dialog-top .close){border:2px solid var(--book-brass);border-radius:var(--book-radius);background:var(--book-ivory) var(--book-parchment) center/100% 100%;box-shadow:0 2px 3px #301b1266,inset 0 0 0 2px #fff7;color:var(--book-ink)}body.phone-game #detail-dialog .phone-character-detail>.phone-page-tabs{gap:4px}body.phone-game #detail-dialog .phone-character-detail>.phone-page-tabs>button{border:1px solid var(--book-brass);border-radius:3px;border-image:var(--book-parchment) 180 fill / 9px / 0 stretch;background:var(--book-ivory);color:var(--book-ink);font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:16px;box-shadow:0 2px 3px #0005;position:relative}body.phone-game #detail-dialog .phone-character-detail>.phone-page-tabs>button[aria-pressed=true]{border-image-source:var(--book-leather);background:var(--book-forest);color:var(--book-ivory);box-shadow:0 0 0 1px var(--book-gold),0 2px 4px #0007}body.phone-game #detail-dialog .phone-character-detail button:focus-visible{outline:3px solid #e8bd61;outline-offset:-3px}body.phone-game #detail-dialog .phone-character-detail>.phone-page-tabs>button:hover{filter:brightness(1.08)}body.phone-game #detail-dialog .phone-character-detail>.phone-page-tabs>button:active{filter:brightness(.93)}body.phone-game #detail-dialog .phone-character-detail .character-story.character-dossier{grid-template-columns:minmax(148px,30%) minmax(0,1fr);gap:var(--dossier-space)}body.phone-game #detail-dialog .character-dossier-art{border:0 solid var(--book-gold);border-image:var(--book-leather) 180 fill / 19px / 0 stretch;padding:16px 10px 14px;border-radius:3px;box-shadow:0 3px 8px #0006}body.phone-game #detail-dialog .character-dossier-art:before{border:0;inset:0;background:radial-gradient(ellipse at 50% 44%,#b7ba7755,transparent 62%)}body.phone-game #detail-dialog .character-dossier-art figcaption strong{color:var(--book-ivory)}body.phone-game #detail-dialog .character-dossier-art figcaption span{color:var(--book-gold)}body.phone-game #detail-dialog .character-dossier-copy{padding:10px 22px 28px 18px;scrollbar-color:var(--book-brass) #eee0bc;scrollbar-width:thin}body.phone-game #detail-dialog .character-dossier-copy::-webkit-scrollbar{width:7px}body.phone-game #detail-dialog .character-dossier-copy::-webkit-scrollbar-thumb{background:var(--book-brass);border:1px solid var(--book-gold);border-radius:4px}body.phone-game #detail-dialog .character-dossier-copy::-webkit-scrollbar-track{background:#eee0bc}body.phone-game #detail-dialog .character-profile-heading h2{font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:27px;color:var(--book-forest)}body.phone-game #detail-dialog .character-profile-introduction{color:var(--book-ink)}body.phone-game #detail-dialog .character-profile-story{border:1px solid #b7a06a;background:#fffbec70;box-shadow:inset 0 0 0 3px #f3e8ca;border-radius:2px;padding:14px 16px 16px}body.phone-game #detail-dialog .character-dossier :is(.character-profile-story,.character-profile-features) h3{font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:21px}body.phone-game #detail-dialog .phone-character-detail:not([data-detail-tab=\30ad\30e3\30e9])>.phone-tab-panels{padding:10px 12px;border:0 solid var(--book-brass);border-image:var(--book-parchment) 180 fill / 22px / 0 stretch;background:var(--book-ivory)}body.phone-game #detail-dialog .phone-character-detail:not([data-detail-tab=\30ad\30e3\30e9]):after{display:none}@media(max-width:700px){body.phone-game dialog#detail-dialog:has(>.phone-character-detail){padding:12px}body.phone-game #detail-dialog .character-dossier-copy{padding:8px 12px 22px}body.phone-game #detail-dialog .character-dossier-art{padding:14px 7px 12px}body.phone-game #detail-dialog .character-detail-copy h2{font-size:22px}body.phone-game #detail-dialog .character-profile-heading h2{font-size:25px}}body.phone-game dialog#detail-dialog:has(>.phone-character-detail){width:calc(var(--phone-width, 980px) - 32px);height:426px;padding:8px 12px 10px;border:1px solid #b79659;border-image:none;border-radius:12px;background:linear-gradient(135deg,#234c3d,#12372c 65%);box-shadow:0 12px 45px #07130dcc,inset 0 2px #e4c99066}body.phone-game #detail-dialog .phone-character-detail,body.phone-game #detail-dialog .phone-character-detail:has(.character-detail-copy ruby.character-name){grid-template-columns:minmax(0,1fr);grid-template-rows:42px 39px minmax(0,1fr);gap:0;isolation:isolate}body.phone-game #detail-dialog .phone-character-detail:before,body.phone-game #detail-dialog .phone-character-detail:after{display:none}body.phone-game #detail-dialog .phone-character-detail>.dialog-top{grid-row:1;grid-column:1;grid-template-columns:34px minmax(0,1fr) auto 36px;height:42px;gap:8px;margin:0 2px 0 0;padding:0 2px}body.phone-game #detail-dialog .phone-character-detail>.dialog-top>.portrait{width:32px;height:36px}body.phone-game #detail-dialog .character-detail-copy{display:flex;align-items:center;gap:14px;min-width:0}body.phone-game #detail-dialog .character-detail-copy .eyebrow{flex:0 1 auto;max-width:170px;font-size:12px;letter-spacing:.03em}body.phone-game #detail-dialog .character-detail-copy h2,body.phone-game #detail-dialog .character-detail-copy h2:has(ruby.character-name){margin:0;font-size:24px;line-height:1.2;white-space:nowrap}body.phone-game #detail-dialog .phone-character-detail .detail-character-nav{margin:0;gap:9px}body.phone-game #detail-dialog .phone-character-detail .detail-character-position{color:#fff2d5;font-size:13px;white-space:nowrap}body.phone-game #detail-dialog .phone-character-detail :is(.detail-character-nav button,.dialog-top .close){width:34px;min-width:34px;height:34px;min-height:34px;margin:0;padding:0;border:1px solid #bc9d65;border-radius:5px;background:#244e3c;box-shadow:inset 0 1px #fff1;color:#ffefd1;font-size:24px;line-height:1}body.phone-game #detail-dialog .phone-character-detail>.phone-page-tabs{grid-row:2;grid-column:1;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));height:39px;min-height:0;gap:5px;margin:0;padding:0;overflow:visible}body.phone-game #detail-dialog .phone-character-detail>.phone-page-tabs>.mobile-pager{display:none}body.phone-game #detail-dialog .phone-character-detail>.phone-page-tabs>button{width:100%;height:39px;min-height:0;padding:0 4px;border:1px solid #8e8459;border-bottom:0;border-image:none;border-radius:6px 6px 0 0;background:#2a4c3c;color:#edddbd;box-shadow:inset 0 1px #fff1;font-family:Yu Gothic UI,Meiryo,sans-serif;font-size:max(17px,calc(15px / var(--phone-scale,1)));font-weight:700;line-height:1.2}body.phone-game #detail-dialog .phone-character-detail>.phone-page-tabs>button[aria-pressed=true]{background:#fff8e9;color:#1d4334;border-color:#d1ad6d;box-shadow:inset 0 2px #bd8b40;border-image:none}body.phone-game #detail-dialog .phone-character-detail>.phone-tab-panels,body.phone-game #detail-dialog .phone-character-detail:not([data-detail-tab=\30ad\30e3\30e9])>.phone-tab-panels{grid-row:3;grid-column:1;padding:10px 12px;border:1px solid #d1b888;border-top:0;border-image:none;border-radius:0 0 6px 6px;background:linear-gradient(125deg,#fffaf0,#f9efd9);box-sizing:border-box;min-height:0}body.phone-game #detail-dialog .phone-character-detail[data-detail-tab=\30b3\30de\30f3\30c9\8a2d\5b9a]>.phone-tab-panels{padding:8px 10px 0}@media(max-width:700px){body.phone-game dialog#detail-dialog:has(>.phone-character-detail){width:calc(var(--phone-width,800px) - 20px);padding:6px 8px 8px}body.phone-game #detail-dialog .character-detail-copy{gap:8px}body.phone-game #detail-dialog .character-detail-copy .eyebrow{max-width:128px}body.phone-game #detail-dialog .character-detail-copy h2{font-size:23px}}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 .order-actions[data-command-list].command-scroll-list:has(>.command-energies){grid-template-rows:max-content}.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:3px;min-width:58px;height:20px;padding:2px 4px;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:26px;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{min-width:30px;height:18px;border-color:#78625a;color:#c4b7a7;font-size:12px}.phone-game.in-battle .field-vital.downed .field-health-bar{width:12px;height:3px}.phone-game.in-battle .field-vital.downed .field-values{min-width:8px}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,cover,var(--battle-scene-size,cover);background-position:center,center,var(--battle-scene-position,center);background-repeat:no-repeat}body.phone-game.in-battle #game-frame{box-shadow:0 10px 40px #0005;border-radius:10px;background:#0b1914}@media(orientation:landscape)and (pointer:coarse){body.phone-game.in-battle #game-frame{position:fixed;inset:0;width:100%!important;height:100%!important;border-radius:0;box-shadow:none}body.phone-game.in-battle #app.battle-screen{padding:max(4px,var(--safe-top)) max(4px,var(--safe-right)) max(4px,var(--safe-bottom)) max(4px,var(--safe-left))}}@media(orientation:landscape)and (pointer:coarse)and (min-width:740px)and (max-height:340px){body.phone-game.in-battle #app.battle-screen{grid-template-columns:140px minmax(0,1fr)}}.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 #battle-status-details{flex:none;min-height:36px;padding:6px 3px;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:18px;font-weight:700;line-height:1.2;white-space:nowrap}.phone-game.in-battle .battle-screen #battle-status-details:hover{background:var(--hud-hover);border-color:var(--hud-gold)}.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:nowrap}.phone-game.in-battle .battle-screen #turn-clock.is-urgent{margin-left:0}.phone-game.in-battle .battle-screen .command-dock[data-mode=commentary]{bottom:auto;max-height:calc(100% - 16px)}.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 .commentary-history li{grid-template-columns:5.4em minmax(0,1fr);align-items:center;column-gap:8px;font-size:12px;line-height:1.4;min-height:27px;border-bottom:1px solid var(--hud-soft-line);padding:3px 0}.phone-game.in-battle .battle-screen .commentary-history li:last-child{border-bottom:0}.phone-game.in-battle .battle-screen .commentary-history li b{white-space:nowrap;color:var(--hud-text)}.phone-game.in-battle .battle-screen .commentary-history li span{color:var(--hud-muted);overflow-wrap:anywhere}.phone-game.in-battle .battle-screen .commentary-history ul{gap:0}.phone-game.in-battle .battle-screen .commentary-history{padding-top:9px}.phone-game.in-battle .battle-screen .commentary-history h4{font-size:13px;margin-bottom:6px}@media(max-height:340px){.phone-game.in-battle .battle-screen .commentary-current:has(.commentary-wait){padding:0}.phone-game.in-battle .battle-screen .commentary-current .commentary-wait{font-size:16px;margin:0 0 4px}.phone-game.in-battle .battle-screen .commentary-current:has(.commentary-wait) .commentary-target{font-size:12px;padding-top:0;margin:0;border-top:0}}.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}body dialog#surrender-dialog,body.phone-game dialog#surrender-dialog{zoom:1;width:min(440px,calc(100vw - 32px));height:fit-content;max-width:calc(100vw - 32px);max-height:calc(100dvh - 24px);margin:auto;padding:26px 24px;border:2px solid #b99b68;border-radius:14px;background:#fcf5e3;color:#39291c;overflow:auto;box-shadow:0 12px 48px #17130d88;font-size:18px}#surrender-dialog::backdrop{background:#14251ecc;backdrop-filter:blur(3px)}#surrender-dialog h2{margin:0;font-size:24px;line-height:1.5;letter-spacing:0}#surrender-dialog p{margin:12px 0 24px;color:#716046;line-height:1.6}#surrender-dialog .surrender-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}#surrender-dialog button{min-height:52px;padding:12px 8px;border:1px solid #b99b68;border-radius:8px;background:#fffaf0;color:#39291c;font-size:18px;font-weight:700}#surrender-dialog [data-surrender-confirm]{background:#85442f;border-color:#85442f;color:#fff7e5}#surrender-dialog button:hover{filter:brightness(.95)}#surrender-dialog button:focus-visible{outline:3px solid #31574a;outline-offset:3px}.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.in-growth-result .header{display:none}body.in-growth-result,body.phone-game.in-growth-result #game-device,body.phone-game.in-growth-result #app{background:#0c2a20}.growth-screen{box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;width:min(100%,1080px);height:100%;margin:auto;padding:12px 24px;border:0;border-radius:0;background:radial-gradient(ellipse at 25% 0,#19463366,transparent 65%),#0c2a20;color:#f4eedf;overflow:hidden}.growth-screen header{display:flex;align-items:center;gap:16px}.growth-screen h1{margin:0;font-family:Georgia,Yu Mincho,serif;font-weight:500;font-size:28px;line-height:1.2;color:#eadbb8}.growth-screen-members{display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:6px;min-height:0}.growth-screen-member{display:grid;grid-template-columns:62px minmax(156px,1.35fr) minmax(0,2.65fr);align-items:center;gap:12px;min-height:0;padding:3px 12px;border:1px solid #b39c72;border-radius:8px;background:radial-gradient(ellipse at 35% 20%,#fffdf2aa,transparent 75%),linear-gradient(115deg,#f0dfb7,#fbf2d9 40%,#f2e3bf);box-shadow:inset 0 0 0 1px #fff9e588,inset 0 0 12px #b69b6030;color:#243a2d}.growth-screen-portrait{height:100%;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.growth-screen-portrait .portrait{width:60px;height:70px;max-width:100%;max-height:100%;object-fit:contain;opacity:1}.growth-screen-name{min-width:0}.growth-screen-name h2{margin:0;font-size:20px;line-height:1.15;color:#243a2d}.growth-screen-name p{margin:2px 0 0;font-size:14px;line-height:1.2;color:#514a39}.growth-screen-progress{position:relative;height:5px;margin-top:5px;border-radius:8px;background:#d9cba6;box-shadow:inset 0 0 0 1px #a18e5955;overflow:hidden}.growth-screen-progress span,.growth-screen-progress i{position:absolute;top:0;bottom:0;border-radius:8px}.growth-screen-progress span{left:0;width:var(--growth-after);background:#6c9566}.growth-screen-progress i{left:var(--growth-before);width:max(0%,calc(var(--growth-after) - var(--growth-before)));background:#97bd7f}.growth-screen-gains{min-width:0;padding-left:16px;border-left:1px solid #b39c7277}.growth-screen-gains ul{display:flex;flex-wrap:wrap;gap:3px 18px;list-style:none;padding:0;margin:0;font-size:16px;line-height:1.3}.growth-screen-gains li{display:flex;align-items:baseline;gap:6px;white-space:nowrap}.growth-screen-stat-values{font-variant-numeric:tabular-nums;color:#514a39}.growth-screen-stat-values strong{color:#243a2d}.growth-screen-gains b{color:#207348;font-size:18px}.growth-screen-gains p{font-size:14px;margin:0;color:#635b48}.growth-screen-gains>strong{display:block;font-size:13px;color:#80601f}.growth-screen-member.has-many-gains .growth-screen-gains ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px 6px;font-size:11px;line-height:1.05}.growth-screen-member.has-many-gains .growth-screen-gains li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 2px}.growth-screen-member.has-many-gains li>span:first-child{grid-column:1/-1}.growth-screen-member.has-many-gains .growth-screen-gains b{font-size:12px}.growth-screen footer{display:flex;justify-content:center}.growth-screen footer button.primary{width:min(100%,360px);min-height:max(48px,calc(44px / var(--phone-scale,1)));margin:0;font-size:20px;color:#173b2c;border:1px solid #b39c72;background:linear-gradient(180deg,#e4d5b1,#cdb990 42%,#b29a70 55%,#ddcba2);box-shadow:inset 0 1px 1px #fff2ccad,inset 0 -1px 2px #75634766}.growth-screen footer button.primary:hover{background:linear-gradient(180deg,#efe2c4,#d9c59d 45%,#c6ae81 60%,#e5d4b2)}@media(max-height:400px){.growth-screen{padding:8px 16px;gap:6px}.growth-screen h1{font-size:25px}.growth-screen-name h2{font-size:18px}.growth-screen-name p{font-size:13px}.growth-screen-progress{margin-top:3px;height:4px}.growth-screen-member{gap:8px;padding:2px 8px}.growth-screen-gains{padding-left:10px}.growth-screen-gains ul{font-size:14px}.growth-screen-member.has-many-gains .growth-screen-gains ul{font-size:10px}.growth-screen-member.has-many-gains .growth-screen-gains b{font-size:11px}}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}body.phone-game .phone-result.adventure-result[data-result]{grid-template-rows:auto auto auto minmax(0,1fr) auto auto;gap:5px;padding:12px 28px;width:min(100%,940px)}body.phone-game .phone-result.adventure-result[data-result] .result-title-plaque{margin:0;min-height:0;padding:0;background:none;border:0;outline:0;box-shadow:none;color:#805728;font:700 40px/1.15 Georgia,Yu Mincho,serif;letter-spacing:3px;text-shadow:0 1px #fff8e4}body.phone-game .phone-result.adventure-result .result-title-plaque:before,body.phone-game .phone-result.adventure-result .result-title-plaque:after{content:"";position:static;transform:none;width:90px;height:1px;background:linear-gradient(90deg,transparent,#c49a58);margin:0 22px}body.phone-game .phone-result.adventure-result .result-title-plaque:after{transform:rotate(180deg)}body.phone-game .phone-result.adventure-result>.adventure-result-subtitle{margin:0;color:#695134;font-size:15px;line-height:1.4}body.phone-game .phone-result.adventure-result .result-notes{padding:10px 20px;background:#fffaf0;border:1px solid #e5cfaa;border-radius:10px;text-align:left}body.phone-game .phone-result.adventure-result .adventure-result-story{padding:0;border:0;background:none;border-radius:0}body.phone-game .phone-result.adventure-result .adventure-result-story h2{font-size:20px;line-height:1.4;margin:0 0 8px;color:#443625}body.phone-game .phone-result.adventure-result .adventure-result-story p{font-size:17px;line-height:1.75;margin:0;color:#443b2d;text-align:left;max-width:none}body.phone-game .phone-result.adventure-result .adventure-result-details{margin-top:8px;color:#786445;font-size:12px}body.phone-game .phone-result.adventure-result .adventure-result-details summary{cursor:pointer;padding:5px 0;min-height:28px}body.phone-game .phone-result.adventure-result .adventure-result-details .rewards p{text-align:left;font-size:13px;line-height:1.5}body.phone-game .phone-result.adventure-result .result-awards{display:block}body.phone-game .phone-result.adventure-result .result-awards>div{padding:0;border:0;box-shadow:none;background:none}body.phone-game .phone-result.adventure-result .result-awards>div:before{display:none}body.phone-game .phone-result.adventure-result .result-awards :is(small,strong){display:inline;font:400 13px/1.4 Yu Gothic UI,sans-serif;color:#785d38}body.phone-game .phone-result.adventure-result .result-continue{grid-template-columns:1fr;grid-template-rows:auto;gap:2px 18px;width:min(100%,420px);justify-self:center}body.phone-game .phone-result.adventure-result .result-continue :is(button,#back-home){min-height:36px;height:auto;padding:5px 12px;font-size:15px;line-height:1.3;background:none;border:0;border-radius:6px;box-shadow:none;color:#58442c;letter-spacing:0;clip-path:none}body.phone-game .phone-result.adventure-result .result-continue #continue-battle{grid-column:1/-1;min-height:44px;background:#265744;color:#fff8e6;border:1px solid #b99252;border-radius:12px;font-size:18px;font-weight:700}body.phone-game .phone-result.adventure-result .result-continue #continue-battle:after{content:" \203a";margin-left:10px}body.phone-game .phone-result.adventure-result .result-continue :is(button,#back-home):focus-visible{outline:2px solid #987036;outline-offset:1px}body dialog#training-result-dialog,body.phone-game dialog#training-result-dialog{zoom:1;width:min(960px,calc(100vw - 24px));height:fit-content;max-width:none;max-height:calc(100dvh - 24px);box-sizing:border-box;margin:auto;padding:18px;border:2px solid #c49a58;border-radius:16px;background:#fff5df;color:#352f25;overflow:hidden;box-shadow:0 12px 60px #0008;font-size:16px}#training-result-dialog[open]{display:flex;flex-direction:column;gap:14px}#training-result-dialog::backdrop{background:#061810b8;backdrop-filter:blur(3px)}#training-result-dialog header,#training-result-dialog footer{flex:none}#training-result-dialog header small{font-size:13px;color:#776343}#training-result-dialog h2{margin:3px 0 0;font-size:26px;line-height:1.2;color:#265744}#training-result-dialog .training-result-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;min-height:0;overflow:auto;padding:4px}#training-result-dialog .training-result-card{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #dcc49a;border-radius:12px;background:#fffaf0;min-width:0}#training-result-dialog .training-result-card.has-stat-gain{border-color:#b2914c;animation:training-growth-glow 1.2s ease-out}#training-result-dialog .training-result-portrait{width:64px;height:76px;flex:none;display:flex;align-items:center;justify-content:center;overflow:hidden}#training-result-dialog .training-result-portrait .portrait{width:64px;height:76px;max-width:100%;max-height:100%;object-fit:contain;opacity:1}#training-result-dialog .training-result-info{min-width:0}#training-result-dialog h3{font-size:19px;line-height:1.35;margin:0 0 7px;overflow-wrap:anywhere}#training-result-dialog ul{display:flex;flex-wrap:wrap;gap:4px 14px;list-style:none;margin:0;padding:0;font-size:17px;line-height:1.5}#training-result-dialog li{white-space:nowrap}#training-result-dialog li b{color:#20734e;font-size:20px}#training-result-dialog .training-result-info p{margin:0;font-size:16px;color:#6c604b}#training-result-dialog .training-result-milestone{display:block;margin:0 0 5px;font-size:14px;color:#956819}#training-result-dialog footer{display:flex;align-items:center;justify-content:flex-end;gap:12px}#training-result-dialog footer p{margin:0;font-size:12px;color:#776343}#training-result-dialog footer button{min-height:48px;min-width:160px;margin:0;padding:10px 20px;border:1px solid #b99252;border-radius:10px;background:#265744;color:#fff8e6;font-family:inherit;font-size:18px;font-weight:700;line-height:1.3;cursor:pointer}#training-result-dialog footer button:focus-visible{outline:3px solid #ba8b35;outline-offset:2px}body .result-panel .training-result-open{display:block;min-height:40px;margin:4px auto;padding:5px 14px;font-size:15px}@keyframes training-growth-glow{0%{box-shadow:0 0 18px #edc75a,inset 0 0 20px #ffeab2}to{box-shadow:0 0 0 transparent,inset 0 0 0 transparent}}@media(max-height:450px){body dialog#training-result-dialog,body.phone-game dialog#training-result-dialog{padding:12px;gap:8px}#training-result-dialog h2{font-size:23px}#training-result-dialog .training-result-card{padding:8px}}@media(prefers-reduced-motion:reduce){#training-result-dialog .training-result-card.has-stat-gain{animation:none}}body.phone-game .phone-result.tournament-result[data-result]{--tournament-ink:#443625;--tournament-muted:#71593b;--tournament-line:#d4b77f;display:grid;grid-template-rows:auto minmax(72px,1fr) auto auto auto auto;width:min(100%,940px);padding:16px 30px;gap:10px}body.phone-game .phone-result.tournament-result>.eyebrow{font-size:18px;font-weight:700;letter-spacing:.08em;color:var(--tournament-muted);padding-bottom:8px;border-bottom:1px solid var(--tournament-line)}body.phone-game .phone-result.tournament-result .tournament-result-title{display:flex;align-items:center;justify-content:center;margin:0;padding:8px 0;font:700 38px/1.3 Yu Mincho,serif;letter-spacing:.03em;color:#275642;text-shadow:0 1px #fff9ea;overflow-wrap:anywhere}body.phone-game .phone-result.tournament-result[data-result=loss] .tournament-result-title,body.phone-game .phone-result.tournament-result[data-result=draw] .tournament-result-title{color:var(--tournament-ink);font-size:32px}body.phone-game .phone-result.tournament-result .tournament-result-opponents{display:flex;justify-content:center;gap:10px;margin:0;font-size:16px;line-height:1.4;color:var(--tournament-muted);min-width:0}body.phone-game .phone-result.tournament-result .tournament-result-opponents span{max-width:46%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.phone-game .phone-result.tournament-result .result-awards{display:block;background:#fff9ec;border:1px solid var(--tournament-line);border-radius:10px;padding:12px 18px}body.phone-game .phone-result.tournament-result .result-awards>div{display:flex;align-items:center;justify-content:center;gap:20px;padding:0;border:0;background:none;box-shadow:none}body.phone-game .phone-result.tournament-result .result-awards>div:before{display:none}body.phone-game .phone-result.tournament-result .result-awards small{font-size:17px;color:var(--tournament-muted)}body.phone-game .phone-result.tournament-result .result-awards strong{font-size:24px;line-height:1.3;color:var(--tournament-ink)}body.phone-game .phone-result.tournament-result .result-notes{padding:0;overflow:visible;text-align:left}body.phone-game .phone-result.tournament-result .tournament-result-rules{font-size:16px;color:var(--tournament-muted);max-height:140px;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}body.phone-game .phone-result.tournament-result .tournament-result-rules summary{cursor:pointer;padding:9px 4px;line-height:1.4;font-weight:700}body.phone-game .phone-result.tournament-result .tournament-result-rules :is(.result-reason,.rewards p){font-size:16px;line-height:1.6;text-align:left;color:var(--tournament-ink);margin:4px 0;padding:0 10px}body.phone-game .phone-result.tournament-result .result-continue{display:grid;grid-template-columns:1.5fr 1fr;gap:10px;padding:0;margin:0}body.phone-game .phone-result.tournament-result .result-continue:has(#back-home[hidden]){grid-template-columns:1fr}body.phone-game .phone-result.tournament-result .result-continue :is(button,#back-home){display:flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:max(46px,calc(44px / var(--phone-scale,1)));height:auto;padding:8px 12px;border:1px solid var(--tournament-line);border-radius:10px;clip-path:none;background:#fff9ec;box-shadow:none;color:var(--tournament-ink);font-size:18px;line-height:1.3;letter-spacing:0;margin:0}body.phone-game .phone-result.tournament-result #back-home:before,body.phone-game .phone-result.tournament-result #back-home:after{display:none}body.phone-game .phone-result.tournament-result .result-continue #continue-battle{background:#275642;color:#fff6dd;border-color:#275642;font-size:21px;font-weight:700}body.phone-game .phone-result.tournament-result :is(button,summary):focus-visible{outline:3px solid #8c642c;outline-offset:2px}body.phone-game .phone-result.tournament-result button:hover:not(:disabled){filter:brightness(1.05)}body.phone-game .phone-result.tournament-result button:disabled{cursor:wait}@media(max-height:480px){body.phone-game .phone-result.tournament-result[data-result]{padding:10px 24px;gap:6px}body.phone-game .phone-result.tournament-result .tournament-result-title{font-size:32px;padding:4px 0}body.phone-game .phone-result.tournament-result .result-awards{padding:8px 12px}body.phone-game .phone-result.tournament-result .tournament-result-rules{max-height:105px}body.phone-game .phone-result.tournament-result .tournament-result-rules summary{padding:5px 4px}body.phone-game .phone-result.tournament-result:has(.tournament-result-rules[open]){grid-template-rows:auto minmax(48px,1fr) auto auto auto auto}}body.phone-game .phone-result.tournament-champion[data-result]{--bg:#102c24;--bg-elevated:#284e38;--text:#fff2cf;--text-muted:#e5d3a6;--accent:#efc774;--border:#c69a50;--radius:10px;--space-1:8px;--space-2:16px;--shadow-md:inset 0 0 0 3px #775d30,inset 0 0 0 5px #dec18a,inset 0 0 35px #091e19,0 3px 12px #60452022;--tournament-ink:var(--text);--tournament-muted:var(--text-muted);--tournament-line:var(--border);grid-template-rows:minmax(110px,1fr) auto auto auto;gap:var(--space-1);padding:18px 32px;background:radial-gradient(ellipse at 30% 24%,var(--bg-elevated),transparent 65%),var(--bg);border-color:var(--accent);box-shadow:var(--shadow-md);color:var(--text)}.tournament-champion-hero{display:flex;align-items:center;justify-content:center;gap:18px;min-height:0;position:relative;isolation:isolate}.tournament-champion-hero:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 25% 50%,#f8d46a33,transparent 55%);animation:tournament-crown-glow 1.5s ease-out both}.tournament-champion-trophy{display:block;flex:0 1 30%;width:30%;height:100%;min-width:0;object-fit:contain;filter:drop-shadow(0 5px 8px #091e1977);animation:tournament-crown-enter .9s ease-out both}.tournament-champion-copy{min-width:0;text-align:left}body.phone-game .tournament-champion .tournament-champion-copy>.eyebrow{font:700 20px/1.4 Yu Mincho,serif;letter-spacing:.22em;color:var(--accent);margin:0 0 6px}body.phone-game .phone-result.tournament-champion .tournament-result-title{display:block;padding:0;margin:0;font-size:46px;line-height:1.35;color:var(--text);text-shadow:0 3px 0 #715024,0 0 22px #edc57744;letter-spacing:.02em;white-space:nowrap}.tournament-champion-winner{margin:10px 0 0;font-size:20px;line-height:1.3;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.phone-game .phone-result.tournament-champion .result-awards{padding:9px 16px;background:#f4da9510;border-color:var(--border);border-radius:var(--radius);box-shadow:inset 0 1px #ffedc326}body.phone-game .phone-result.tournament-champion .result-awards strong{color:var(--accent)}body.phone-game .phone-result.tournament-champion .tournament-result-rules summary{padding:4px;color:var(--text-muted);font-weight:400}body.phone-game .phone-result.tournament-champion .tournament-result-rules{max-height:96px}body.phone-game .phone-result.tournament-champion .result-continue #continue-battle{background:linear-gradient(#ffe7a6,#d7a94f);color:#352612;border-color:var(--accent);box-shadow:inset 0 1px #fff7dc,0 3px #765625}body.phone-game .phone-result.tournament-champion .result-continue #back-home{background:#0b211b66;color:var(--text);border-color:var(--border)}body.phone-game .phone-result.tournament-champion :is(button,summary):focus-visible{outline-color:var(--accent)}body.phone-game .phone-result.tournament-champion:has(.tournament-result-rules[open]){grid-template-rows:minmax(65px,1fr) auto auto auto}body.phone-game .phone-result.tournament-champion:has(.tournament-result-rules[open]) .tournament-result-title{font-size:32px}body.phone-game .phone-result.tournament-champion:has(.tournament-result-rules[open]) .tournament-champion-copy>.eyebrow{font-size:14px;margin:0}body.phone-game .phone-result.tournament-champion:has(.tournament-result-rules[open]) .tournament-champion-winner{font-size:16px;margin:3px 0 0}@keyframes tournament-crown-enter{0%{transform:translateY(12px) scale(.94);filter:drop-shadow(0 0 24px #ffe8a6)}to{transform:none;filter:drop-shadow(0 5px 8px #091e1977)}}@keyframes tournament-crown-glow{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@media(max-height:480px){body.phone-game .phone-result.tournament-champion[data-result]{padding:12px 24px;gap:6px}body.phone-game .phone-result.tournament-champion .tournament-result-title{font-size:40px}.tournament-champion-hero{gap:12px}.tournament-champion-winner{font-size:18px;margin-top:6px}body.phone-game .phone-result.tournament-champion .tournament-result-rules{max-height:86px}}@media(prefers-reduced-motion:reduce){.tournament-champion-trophy,.tournament-champion-hero:before{animation:none}}body.phone-game.in-formation-result .header{display:none}body.in-formation-result,body.phone-game.in-formation-result #game-device,body.phone-game.in-formation-result #app{background:#0c2a20}.formation-result-screen{grid-template-rows:auto minmax(0,1fr) auto auto;text-align:center}.formation-result-screen header{justify-content:center}.formation-result-list{min-height:0;overflow:auto;display:grid;gap:12px;align-content:safe center;padding:4px;overscroll-behavior:contain}.formation-result-card{width:min(100%,760px);margin:auto;display:grid;grid-template-columns:minmax(140px,210px) minmax(0,1fr);align-items:center;gap:24px;padding:14px 24px;border:1px solid #c3a268;border-radius:12px;background:radial-gradient(ellipse at 20% 0,#fffaf0,transparent 80%),#f1e2bf;color:#352f25;text-align:left}.formation-result-card svg{display:block;width:100%;max-height:220px;background:#123d2e;border:1px solid #b89a62;border-radius:8px;padding:8px}.formation-result-empty rect{fill:#eff2db08;stroke:#cdbb8140}.formation-result-occupied rect{fill:#ece0b9;stroke:#d2b36c}.formation-result-target rect{fill:#e3b957;stroke:#ffe7a3}.formation-result-card svg text{font:700 17px Yu Gothic,sans-serif;fill:#163b2c}.formation-result-card svg .formation-result-enemy{font-size:12px;fill:#e9ddba}.formation-result-label{margin:0 0 6px;color:#826334;font-size:15px;letter-spacing:.12em}.formation-result-card h2{margin:0 0 12px;color:#234d38;font:700 32px/1.2 Yu Mincho,serif;overflow-wrap:anywhere}.formation-result-effect{margin:0;font-size:17px;line-height:1.6;overflow-wrap:anywhere}.formation-result-guide{margin:0;color:#e1d8bd;font-size:15px;line-height:1.4}@media(max-height:400px){.formation-result-card{padding:10px 18px;gap:18px;grid-template-columns:160px minmax(0,1fr)}.formation-result-card svg{max-height:182px}.formation-result-card h2{font-size:29px}.formation-result-effect{font-size:16px}}body.phone-game.in-pvp-result .header{display:none}body.phone-game.in-pvp-result #game-device{zoom:1;width:100%;height:100%}body.phone-game.in-pvp-result #app{padding:0;height:100%;overflow:hidden}body.phone-game .ranked-result{--ranked-green:#214d3d;--ranked-ink:#49381f;container-type:inline-size;display:grid;grid-template-columns:35% minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;position:relative;width:100%;max-width:none;height:100%;min-height:0;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:#f6ebd0 url(/assets/screens/pvp-result-v1.webp) center/100% 100% no-repeat;color:var(--ranked-ink);box-shadow:none;text-align:center}.ranked-result *{box-sizing:border-box}.ranked-result-banner{align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8% 0 0 22%;gap:10px;min-width:0}.ranked-result .ranked-result-title{margin:0;outline:none;color:#ffdf89;font:700 clamp(44px,6.5cqw,94px)/1.4 "Yu Mincho","Hiragino Mincho ProN",serif;letter-spacing:.06em;text-shadow:0 3px 1px #332617,0 0 15px #e6bc5940;white-space:nowrap}.ranked-result[data-result=loss] .ranked-result-title{color:#f0e8d1}.ranked-result[data-result=draw] .ranked-result-title{font-size:clamp(27px,3.8cqw,56px);letter-spacing:0;color:#f0e8d1}.ranked-result-judged{color:#ffe7ae;font-size:clamp(15px,1.9cqw,24px);letter-spacing:.25em}.ranked-result-content{min-height:0;min-width:0;display:grid;grid-template-rows:minmax(0,1fr) auto auto;align-items:center;padding:2% 13% 2% 1%;gap:4px}.ranked-result-meta{position:absolute;top:10px;right:8%;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;color:#79694f;font-size:clamp(13px,1.7cqw,22px);line-height:1.4}.ranked-result-opponent{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:3px 6px;border-radius:4px;background:#fff5dfdd}.ranked-result-cpu{flex:none;padding:1px 7px;border:1px solid #9c8b67;border-radius:4px;font-size:.8em}.ranked-result .ranked-result-rating{align-self:center;min-width:0}.ranked-result h2{font:500 clamp(15px,2cqw,25px)/1.3 "Yu Gothic UI","Hiragino Kaku Gothic ProN",sans-serif;color:#79613f;letter-spacing:.1em;margin:0 0 3px}.ranked-result-values{display:flex;align-items:baseline;justify-content:center;gap:clamp(10px,2cqw,28px);font-family:Georgia,Yu Mincho,serif;font-variant-numeric:lining-nums tabular-nums;line-height:1.15;white-space:nowrap}.ranked-result-before{font-size:clamp(31px,4.5cqw,68px);color:#8b7a59}.ranked-result-arrow{font-family:serif;font-size:clamp(24px,3.5cqw,50px);color:#a17b36}.ranked-result-after{font-size:clamp(43px,6.7cqw,100px);font-weight:700;color:var(--ranked-green);text-shadow:0 1px #fff}.ranked-result-delta{font:700 clamp(23px,2.6cqw,38px)/1.15 Georgia,"Yu Mincho",serif;color:#257048;letter-spacing:.02em}.ranked-result-delta[data-sign=minus]{color:#985248}.ranked-result-delta[data-sign=zero]{color:#79694f}.ranked-result-stats{display:grid;grid-template-columns:1.3fr 1fr;border-top:1px solid #bda67b;padding-top:clamp(8px,1.4cqw,18px);gap:12px}.ranked-result-stats section{min-width:0}.ranked-result-streak{border-left:1px solid #cbb791;padding-left:12px}.ranked-result-stats p{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:0 .35em;margin:0;font-size:clamp(16px,2.4cqw,32px);line-height:1.3}.ranked-result-count{display:inline-flex;align-items:baseline;gap:.12em;white-space:nowrap}.ranked-result-stats strong{font:700 clamp(24px,3.4cqw,48px)/1.15 Georgia,"Yu Mincho",serif;color:var(--ranked-green)}.ranked-result-stats small{font-size:.7em;margin-left:.2em}.ranked-result-versus{border-top:1px solid #cbb791;padding-top:5px;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:2px 12px}.ranked-result-versus h2{font-size:clamp(13px,1.7cqw,22px);letter-spacing:0}.ranked-result-versus strong{font:700 clamp(19px,2.7cqw,37px)/1.25 "Yu Mincho",serif;color:var(--ranked-green);white-space:nowrap}.ranked-result-versus small{display:block;width:100%;font:clamp(10px,1.25cqw,16px)/1.4 sans-serif;color:#79613f}.ranked-result[data-result=win] .ranked-result-banner{position:relative;justify-content:center;padding-bottom:9%}.ranked-result .ranked-result-notices{position:absolute;bottom:2%;left:14%;right:4%;max-height:32%;overflow:auto;padding:3px;background:transparent;border:0;color:#fff0c4}.ranked-result .ranked-result-notices:empty{display:none}.ranked-result .ranked-result-notices p{margin:2px 0;font-size:clamp(11px,1.4cqw,18px);line-height:1.3;color:#fff0c4;text-shadow:0 1px 2px #071b12}body.phone-game .ranked-result-notices button{min-height:30px;margin:2px 0;padding:4px 7px;font-size:clamp(11px,1.4cqw,18px);line-height:1.2;color:#fff0c4;background:#102d24cc;border:1px solid #d1b375;border-radius:5px}.ranked-result-notices .result-use-rewards{display:flex;flex-direction:column;gap:2px;margin:0}body.phone-game .ranked-result .ranked-result-details{flex:none;min-width:48px;min-height:44px;margin:0 0 0 auto;padding:3px 9px;background:#fff8e1b3;border:1px solid #bca678;border-radius:7px;box-shadow:none;color:#78603b;font-family:inherit;font-weight:500;font-size:clamp(13px,1.6cqw,20px);line-height:1.3}body.phone-game .ranked-result .result-continue{grid-column:1/-1;display:grid;grid-template-columns:1.5fr 1fr;gap:clamp(12px,2cqw,28px);margin:0 8% 3%;padding:0;min-width:0}body.phone-game .ranked-result .result-continue button{width:100%;min-width:0;min-height:48px;height:clamp(48px,6.5cqw,84px);padding:6px 12px;margin:0;border:1px solid #b39354;border-radius:10px;clip-path:none;background:#f9f1df;color:#4f4028;box-shadow:inset 0 1px #fff,0 2px 3px #53401926;font-size:clamp(18px,2.6cqw,34px);font-weight:700;line-height:1.3;letter-spacing:.03em;white-space:nowrap}body.phone-game .ranked-result .result-continue #continue-battle{background:linear-gradient(#2a5b46,#163d2f);color:#fff0c7;box-shadow:inset 0 1px #ffffff36,0 2px 3px #53401926;font-size:clamp(18px,2.6cqw,34px)}.ranked-result .result-continue button:before,.ranked-result .result-continue button:after{display:none!important}.ranked-result button:focus-visible{outline:3px solid #b99349;outline-offset:2px}.ranked-result button:disabled{cursor:wait;filter:saturate(.3);opacity:.7}body.phone-game dialog.ranked-result-dialog{zoom:1;width:min(680px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 28px);height:auto;margin:auto;padding:18px;border:2px solid #b39354;border-radius:14px;background:#fff5e2;color:#49381f;box-shadow:0 10px 45px #0006;text-align:left;font-size:17px;overflow:hidden}.ranked-result-dialog[open]{display:flex;flex-direction:column;gap:12px}.ranked-result-dialog::backdrop{background:#061810b8;backdrop-filter:blur(3px)}.ranked-result-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none}.ranked-result-dialog header h2{font-size:23px;margin:0}.ranked-result-dialog .ranked-result-detail-body{overflow:auto;min-height:0;overscroll-behavior:contain}body.phone-game .ranked-result-dialog button{min-height:44px;padding:8px 16px;font-size:17px;line-height:1.4;color:#244e3c;background:#fffaf0;border:1px solid #bca778;border-radius:8px}body.phone-game .ranked-result-dialog .rewards p,.ranked-result-dialog .ranked-result-detail-body>p{font-size:17px;line-height:1.65;text-align:left;margin:0 0 10px}@container (max-width:720px){.ranked-result-stats p{gap:.14em}.ranked-result-stats strong{font-size:25px}.ranked-result-content{padding-right:10%;padding-top:4%}.ranked-result-stats{padding-top:7px}.ranked-result-streak{padding-left:6px}.ranked-result .ranked-result-details{min-height:32px}}@media(max-height:390px){.ranked-result-content{padding-top:3%;gap:1px}.ranked-result h2{font-size:15px}.ranked-result-stats{padding-top:5px}body.phone-game .ranked-result .result-continue{margin-bottom:2%}}.ranked-result-meta:empty{display:none}.ranked-result-versus-identity{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px 10px;width:100%;min-width:0;margin-bottom:2px}.ranked-result-versus-identity .ranked-result-opponent{max-width:100%;padding:0;background:none;white-space:normal;overflow-wrap:anywhere;font-size:clamp(13px,1.65cqw,21px);font-weight:700;line-height:1.3}.ranked-result-opponent-id{max-width:100%;font:clamp(10px,1.15cqw,15px)/1.3 sans-serif;color:#79613f;overflow-wrap:anywhere}.ranked-result-rating[data-direction=down] .ranked-result-after{color:#985248}.ranked-result-rating[data-motion=counting] .ranked-result-after{text-shadow:0 1px #fff,0 0 12px #d4b36855}.ranked-result-rating[data-motion=done] .ranked-result-after{animation:rating-settle .26s ease-out}@keyframes rating-settle{0%{transform:scale(1.035);text-shadow:0 1px #fff,0 0 14px #d4b368aa}to{transform:scale(1);text-shadow:0 1px #fff}}@media(prefers-reduced-motion:reduce){.ranked-result-rating[data-motion] .ranked-result-after{animation:none}}.friend-lobby{box-sizing:border-box;max-width:1600px;margin:0 auto;padding:22px 28px;color:#f5eedb;background:linear-gradient(135deg,#173e2e,#0b281f);border:1px solid #b59c68;border-radius:12px;height:100%;overflow:auto}.friend-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.friend-heading h1{margin:0;font-size:38px}.friend-heading .eyebrow{margin:0;color:#ceb982}.friend-lobby button{border:1px solid #b59c68;min-height:52px;padding:10px 24px;color:#f5eedb;background:#173e2e;border-radius:8px;font-size:23px}.friend-lobby button.primary{color:#322c1c;background:linear-gradient(#fff7df,#d6bd85);font-weight:700}.friend-lobby button:disabled{opacity:.5}.friend-lobby button:focus-visible,.friend-lobby input:focus-visible{outline:3px solid #e9d39b;outline-offset:3px}.friend-rules{padding:12px 18px;background:#061e1680;border-radius:7px;color:#d5dfcf;font-size:22px;margin:14px 0}.friend-entry{display:grid;grid-template-columns:1fr 1fr;gap:22px}.friend-entry>article,.friend-player{border:1px solid #688367;border-radius:10px;padding:22px;background:#123829}.friend-entry h2{font-size:28px;margin:0 0 12px}.friend-entry p{font-size:23px;line-height:1.6}.friend-entry button{margin-right:10px}.friend-entry form{display:flex;flex-wrap:wrap;align-items:center;gap:15px}.friend-entry label{width:100%;font-size:22px}.friend-entry input{box-sizing:border-box;width:210px;min-height:64px;font-size:38px;letter-spacing:.22em;text-align:center;padding:6px;background:#f7efd8;color:#24382a;border:2px solid #b59c68;border-radius:7px}.friend-room-heading{display:flex;align-items:center;gap:28px;margin:8px 0 15px}.friend-room-heading>div{display:flex;align-items:center;gap:22px}.friend-room-heading span{font-size:24px}.friend-room-heading strong{font-size:54px;letter-spacing:.22em;color:#f4dca2;font-variant-numeric:tabular-nums}.friend-room-heading p{font-size:21px;line-height:1.5;margin:0}.friend-players{display:grid;grid-template-columns:1fr 1fr;gap:20px}.friend-player{padding:15px 20px}.friend-player.is-self{border-color:#ddc587}.friend-player-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.friend-player-heading h2{font-size:25px;margin:0}.friend-player-heading span{font-size:18px;color:#c3d0bd}.friend-team{display:flex;justify-content:space-around;gap:5px;margin-top:10px}.friend-team>div{display:flex;flex-direction:column;align-items:center;min-width:0;flex:1}.friend-team canvas{width:100px;height:114px;max-width:100%;object-fit:contain}.friend-team small{font-size:18px;text-align:center}.friend-ready-state{margin:12px 0 0;color:#ead69f;font-size:23px;text-align:center}.friend-waiting{font-size:22px;color:#c3d0bd;text-align:center;padding:45px 0}.friend-actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin:18px 0 0}.friend-message{min-height:28px;margin:12px 0 0;font-size:22px;color:#f6d79f}.friend-result{text-align:center;padding-top:55px}.friend-result h1{font-size:60px;margin:10px}.friend-result>p{font-size:26px}.friend-result-note{margin:28px 0;padding:22px;border:1px solid #688367;border-radius:10px;font-size:24px}#start-friend-battle{white-space:nowrap}.friend-return-button{position:absolute;right:30px;bottom:14px;z-index:8;background:#183d2d;color:#f4dda6;border:1px solid #b59c68;padding:10px 22px;border-radius:8px;font-size:22px}@media(max-width:650px){body:not(.phone-game) .friend-entry,body:not(.phone-game) .friend-players{grid-template-columns:1fr}body:not(.phone-game) .friend-lobby{padding:16px}body:not(.phone-game) .friend-room-heading{flex-wrap:wrap}body:not(.phone-game) .friend-lobby button{font-size:18px}body:not(.phone-game) .friend-rules{font-size:16px}}body.phone-game .friend-lobby{padding:10px 16px;display:flex;flex-direction:column;gap:5px;overflow:auto}body.phone-game .friend-heading{min-height:34px;flex-shrink:0}body.phone-game .friend-heading h1{font-size:24px;line-height:1.1}body.phone-game .friend-heading .eyebrow{font-size:9px;line-height:1.1;letter-spacing:.15em}body.phone-game .friend-lobby button{min-height:38px;padding:7px 16px;font-size:16px;line-height:1.2}body.phone-game .friend-lobby button:disabled{background:#284837;color:#a4b8a7;border-color:#688367}body.phone-game .friend-rules{padding:7px 10px;margin:0;font-size:13px;line-height:1.4;flex-shrink:0}body.phone-game .friend-entry{flex:1;min-height:0;gap:12px}body.phone-game .friend-entry>article{padding:18px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}body.phone-game .friend-entry h2{font-size:23px;margin:0 0 10px}body.phone-game .friend-entry p{font-size:15px;line-height:1.5;margin:0 0 16px}body.phone-game .friend-entry form{gap:10px}body.phone-game .friend-entry label{font-size:16px}body.phone-game .friend-entry input{width:150px;min-height:48px;font-size:30px}body.phone-game .friend-entry button{margin:0 0 8px}body.phone-game .friend-room-heading{gap:22px;margin:0;min-height:45px;flex-shrink:0}body.phone-game .friend-room-heading>div{gap:14px}body.phone-game .friend-room-heading span{font-size:15px}body.phone-game .friend-room-heading strong{font-size:35px;line-height:1.1}body.phone-game .friend-room-heading p{font-size:13px;line-height:1.4}body.phone-game .friend-players{flex:1;min-height:125px;gap:12px}body.phone-game .friend-player{padding:8px 10px;display:flex;flex-direction:column;min-height:0}body.phone-game .friend-player-heading h2{font-size:17px;line-height:1.2;overflow-wrap:anywhere}body.phone-game .friend-player-heading span{font-size:11px;flex-shrink:0}body.phone-game .friend-team{flex:1;min-height:0;margin-top:3px;align-items:end}body.phone-game .friend-team>div{height:100%;justify-content:end}body.phone-game .friend-team canvas{width:60px;height:78px;max-height:calc(100% - 16px);min-height:30px}body.phone-game .friend-team small{font-size:12px;line-height:1.2;white-space:nowrap}body.phone-game .friend-ready-state{font-size:15px;line-height:1.2;margin:5px 0 0}body.phone-game .friend-waiting{font-size:16px;padding:20px 0;margin:auto}body.phone-game .friend-actions{gap:12px;margin:2px 0 0;flex-shrink:0}body.phone-game .friend-message{min-height:18px;margin:0;font-size:13px;line-height:1.4;flex-shrink:0}body.phone-game .friend-result{justify-content:center;gap:8px;padding:20px}body.phone-game .friend-result h1{font-size:44px;margin:0}body.phone-game .friend-result>p{font-size:17px;margin:0}body.phone-game .friend-result-note{font-size:17px;padding:14px;margin:8px 0 12px}body.phone-game .friend-return-button{font-size:15px;min-height:38px;right:20px;bottom:10px;padding:8px 14px}body.phone-game.in-cpu-result .header{display:none}body.phone-game.in-cpu-result #game-device{zoom:1;width:100%;height:100%}body.phone-game.in-cpu-result #app{padding:0;height:100%;overflow:hidden}body.phone-game .illustrated-result{container-type:inline-size;position:relative;display:grid;grid-template-columns:34% minmax(0,1fr);width:100%;max-width:none;height:100%;min-height:0;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:#f6ebd0 url(/assets/screens/adventure-result-parchment-v1.webp) center/100% 100% no-repeat;color:#49381f;box-shadow:none;text-align:center}body.phone-game .illustrated-result[data-kind=tournament]{background-image:url(/assets/screens/tournament-result-parchment-v1.webp)}.illustrated-result *{box-sizing:border-box}.cpu-result-banner{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:42% 2% 0 20%;gap:0}.illustrated-result .cpu-result-verdict{margin:0;outline:0;font:700 clamp(42px,6.5cqw,96px)/1.35 "Yu Mincho","Hiragino Mincho ProN",serif;color:#ffe096;letter-spacing:.05em;text-shadow:0 2px 2px #30200b,0 0 10px #d5a64466;white-space:nowrap}.illustrated-result[data-result=draw] .cpu-result-verdict{font-size:clamp(22px,3.6cqw,52px);letter-spacing:0}.cpu-result-banner-label{margin:0;color:#ffe5a0;font:700 clamp(15px,2.2cqw,30px)/1.5 "Yu Mincho",serif;letter-spacing:.08em;text-shadow:0 2px #1c2e1f}.cpu-result-content{min-width:0;min-height:0;display:flex;flex-direction:column;padding:9% 24% 7.5% 4%;gap:clamp(4px,.7cqw,10px)}[data-kind=tournament] .cpu-result-content{padding-right:19%}.cpu-result-heading{flex:none;min-width:0}.cpu-result-kicker{margin:0 0 .25em;font:500 clamp(13px,1.8cqw,25px)/1.35 "Yu Mincho",serif;color:#77613d;letter-spacing:.08em}.illustrated-result .cpu-result-name{margin:0;padding:0 0 .25em;font:700 clamp(22px,3.6cqw,52px)/1.3 "Yu Mincho","Hiragino Mincho ProN",serif;color:#193d2d;border-bottom:1px solid #b18b47;overflow-wrap:anywhere}.cpu-result-winner{margin:.4em 0 0;font:600 clamp(14px,2cqw,28px)/1.3 "Yu Mincho",serif;overflow-wrap:anywhere}.cpu-result-story{flex:1;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:3px;text-align:left}.cpu-result-story h3{margin:0;text-align:center;font:600 clamp(14px,1.9cqw,27px)/1.45 "Yu Mincho",serif;color:#705734}.illustrated-result .cpu-result-story-copy{min-height:0;overflow:hidden;margin:0;padding:0;font:500 clamp(15px,2cqw,27px)/1.65 "Yu Mincho","Hiragino Mincho ProN",serif;color:#493b28;white-space:pre-line;overflow-wrap:anywhere}.cpu-result-story-pages{display:flex;align-items:center;justify-content:center;gap:14px;font-size:clamp(12px,1.4cqw,20px);min-height:30px}body.phone-game .illustrated-result .cpu-result-story-pages button{min-width:44px;min-height:30px;margin:0;padding:0 10px;border:1px solid #ba9b66;border-radius:6px;background:#fff7e1b3;color:#4e6547;font-size:22px;line-height:1.2;box-shadow:none}.cpu-result-rounds{flex:1;min-height:0;display:flex;align-items:center;justify-content:space-around;list-style:none;padding:2% 0;margin:0}.cpu-result-rounds li{position:relative;flex:1;display:flex;align-items:center;flex-direction:column;gap:3px;min-width:0;font:600 clamp(14px,1.9cqw,26px)/1.3 "Yu Mincho",serif}.cpu-result-rounds li+li:before{content:"";position:absolute;right:72%;top:clamp(18px,2.5cqw,36px);width:56%;height:1px;background:#bc995b}.cpu-result-round-seal{z-index:1;display:grid;place-items:center;width:clamp(36px,5cqw,72px);height:clamp(36px,5cqw,72px);border:3px double #b79757;border-radius:50%;background:#eee0be;color:#958363;font:700 clamp(22px,3cqw,42px)/1 Georgia,serif;box-shadow:0 2px 4px #64482122}[data-state=won] .cpu-result-round-seal{background:radial-gradient(circle at 35% 25%,#65835b,#204d39 70%);color:#ffe6a5;border-color:#dfb957;box-shadow:0 0 0 3px #c69c4633,inset 0 0 7px #e3c87b66}[data-state=won] .cpu-result-round-state{color:#285940}[data-state=stopped] .cpu-result-round-state{color:#915041}.cpu-result-round-state{font-size:.85em;color:#978871}body.phone-game .illustrated-result .result-awards{flex:none;display:block;margin:0;padding:5px 0;border:0;border-top:1px solid #cbb583;background:none;box-shadow:none;animation:none;color:#705b36}body.phone-game .illustrated-result .result-awards>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px 8px;margin:0;padding:0;border:0;background:none;box-shadow:none}body.phone-game .illustrated-result .result-awards :is(small,strong){display:inline;font:500 clamp(13px,1.7cqw,24px)/1.4 "Yu Mincho",serif;color:#705b36}.illustrated-result .cpu-result-reward-caption{width:100%;margin:0;font:700 clamp(14px,2cqw,27px)/1.35 "Yu Mincho",serif;color:#31523c}body.phone-game .illustrated-result .result-continue{flex:none;display:flex;flex-direction:column;gap:4px;margin:0;padding:0;width:100%;min-width:0}body.phone-game .illustrated-result .result-continue button{width:100%;min-height:44px;height:clamp(44px,5.5cqw,76px);margin:0;padding:5px 12px;border:3px double #d7b365;border-radius:12px;background:linear-gradient(#2b614b,#103d2d);color:#fff1c7;box-shadow:inset 0 1px 2px #fff5,0 2px 3px #51341b55;font:700 clamp(17px,2.5cqw,34px)/1.3 "Yu Mincho",serif;letter-spacing:.04em;clip-path:none}.illustrated-result #continue-battle:after{content:" \203a";margin-left:8px}body.phone-game .illustrated-result .result-continue #continue-battle{border:3px double #d7b365;border-radius:12px;background:linear-gradient(#2b614b,#103d2d);box-shadow:inset 0 1px 2px #fff5,0 2px 3px #51341b55}body.phone-game .illustrated-result .result-continue #back-home{height:30px;min-height:30px;border:0;background:none;box-shadow:none;color:#705b36;font-size:clamp(13px,1.5cqw,21px)}body.phone-game .illustrated-result .result-continue.has-tournament-return{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:8px}body.phone-game .illustrated-result .result-continue.has-tournament-return #back-home{height:100%;min-height:44px;padding:5px 6px;border:1px solid #ae8950;border-radius:10px;background:#fff7e1cc;box-shadow:0 2px 3px #51341b22;color:#654d29;font-size:clamp(14px,1.7cqw,24px);letter-spacing:0}.illustrated-result button:focus-visible{outline:3px solid #a27834;outline-offset:2px}.illustrated-result button:disabled{opacity:.55}.cpu-result-notices{flex:none;max-height:15%;overflow:auto;font-size:13px}body.phone-game .illustrated-result .cpu-result-notices p{margin:0;color:#49381f}@media(max-height:390px){.cpu-result-content{padding-top:9%;padding-bottom:6.5%;gap:3px}.cpu-result-story-pages{min-height:28px}.cpu-result-rounds{padding:0}.cpu-result-winner{margin-top:.2em}.illustrated-result .cpu-result-name{font-size:clamp(21px,3.8cqw,40px)}}.title-screen{--title-bg:#163e30;--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-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-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}.equipment-manager{--em-bg:var(--party-paper-soft,var(--phone-soft));--em-ink:var(--party-ink,var(--phone-ink));--em-muted:var(--party-muted,var(--phone-muted));--em-accent:var(--party-accent,#285942);--em-gold:var(--party-line,var(--phone-gold));--em-line:var(--party-line,var(--phone-line));--em-radius:8px;--em-space:6px;--em-text:max(13px,calc(12px / var(--phone-scale,1)));--em-shadow:0 2px 5px #30271b14;color:var(--em-ink)}#party-equipment-manager{display:flex;flex-direction:column;gap:var(--em-space);height:100%;min-height:0;position:relative}#party-equipment-manager .em-heading{display:flex;align-items:center;gap:6px;border-bottom:1px solid var(--em-line);padding-bottom:6px;flex:none}#party-equipment-manager .em-heading>div{display:none}#party-equipment-manager .em-tabs{display:flex;flex:1;gap:5px;min-width:0}#party-equipment-manager :is(button,select,summary){font-size:var(--em-text);line-height:1.25;border-radius:var(--em-radius)}#party-equipment-manager .em-tabs button{flex:none;min-width:140px;min-height:max(36px,calc(34px / var(--phone-scale,1)));padding:4px}:is(#party-equipment-manager,#equipment-management-dialog) .em-tabs [aria-pressed=true]{background:var(--em-accent);color:var(--em-bg);border-color:var(--em-accent);font-weight:700}#party-equipment-manager .em-content{display:flex;flex:1;min-height:0;overflow:hidden}:is(#party-equipment-manager,#equipment-management-dialog) .em-locks{display:flex;flex-direction:column;min-height:0;min-width:0;flex:1;gap:4px}:is(#party-equipment-manager,#equipment-management-dialog) .em-locks h3{font-size:var(--em-text);margin:0}#party-equipment-manager .em-locks h3{display:none}:is(#party-equipment-manager,#equipment-management-dialog) .em-lock-hint{font-size:max(11px,calc(10px / var(--phone-scale,1)));color:var(--em-muted);line-height:1.3;margin:0}:is(#party-equipment-manager,#equipment-management-dialog) .em-character-controls{display:flex;align-items:center;gap:6px;flex:none}:is(#party-equipment-manager,#equipment-management-dialog) .em-character{flex:1;min-width:0;width:100%;margin:0;min-height:34px;font-size:var(--em-text);background:var(--em-bg);color:var(--em-ink)}:is(#party-equipment-manager,#equipment-management-dialog) .em-reserve-policy select{width:128px;min-height:34px;font-size:var(--em-text);padding:4px;background:var(--em-bg);color:var(--em-ink)}:is(#party-equipment-manager,#equipment-management-dialog) .em-lock-grid{flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:var(--em-space);min-height:0;overflow:hidden}:is(#party-equipment-manager,#equipment-management-dialog) .em-slot{display:grid;grid-template-columns:minmax(0,1fr) 64px;min-width:0;min-height:0;border:1px solid var(--em-line);border-radius:var(--em-radius);background:var(--em-bg);box-shadow:var(--em-shadow);overflow:hidden}:is(#party-equipment-manager,#equipment-management-dialog) .em-slot button{border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--em-ink);padding:4px;min-height:0;min-width:0}:is(#party-equipment-manager,#equipment-management-dialog) .em-slot-item{display:grid;grid-template-columns:minmax(38px,36%) minmax(0,1fr);gap:5px;align-items:center;text-align:left;height:100%}:is(#party-equipment-manager,#equipment-management-dialog) .em-slot-art{display:block;position:relative;height:100%;min-height:0;min-width:0;overflow:hidden}:is(#party-equipment-manager,#equipment-management-dialog) .em-slot-art :is(img,canvas,svg){position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;image-rendering:auto;margin:0}:is(#party-equipment-manager,#equipment-management-dialog) .em-slot-copy{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0}:is(#party-equipment-manager,#equipment-management-dialog) .em-slot-copy small{color:var(--em-muted);font-size:12px;line-height:1.2}:is(#party-equipment-manager,#equipment-management-dialog) .em-slot-copy b{font-size:var(--em-text);line-height:1.25;white-space:normal;overflow-wrap:anywhere;margin:0}:is(#party-equipment-manager,#equipment-management-dialog) .em-slot-lock{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:12px;border-left:1px solid var(--em-line)!important;color:var(--em-muted)!important}:is(#party-equipment-manager,#equipment-management-dialog) .em-slot-lock svg{width:18px;height:18px}:is(#party-equipment-manager,#equipment-management-dialog) .em-slot-lock span{font-size:18px;line-height:1;display:block}:is(#party-equipment-manager,#equipment-management-dialog) .em-slot-locked .em-slot-lock{background:var(--phone-paper-deep);color:#795122!important;font-weight:700}:is(#party-equipment-manager,#equipment-management-dialog) .em-slot-empty{border-style:dashed;background:transparent}:is(#party-equipment-manager,#equipment-management-dialog) .em-empty-art{display:flex;height:100%;align-items:center;justify-content:center;font-size:28px;color:var(--em-muted)}:is(#party-equipment-manager,#equipment-management-dialog) .em-locks>.mobile-pager{flex:none;height:27px;min-height:27px;margin:0;justify-content:center;gap:10px}:is(#party-equipment-manager,#equipment-management-dialog) .em-locks>.mobile-pager button{min-height:27px;height:27px;padding:1px 10px;font-size:18px}:is(#party-equipment-manager,#equipment-management-dialog) .em-locks>.mobile-pager .mobile-pager-count{display:block;font-size:var(--em-text)}#party-equipment-manager .em-actions{display:flex;align-items:stretch;gap:6px;border-top:1px solid var(--em-line);padding-top:6px;flex:none}:is(#party-equipment-manager,#equipment-management-dialog) .em-actions [data-em-action=auto]{background:var(--em-accent);border-color:var(--em-accent);color:var(--em-bg);font-weight:700}#party-equipment-manager .em-actions>button{min-height:max(40px,calc(36px / var(--phone-scale,1)));padding:4px 10px}#party-equipment-manager .em-actions [data-em-action=auto]{flex:none;padding-inline:18px}:is(#party-equipment-manager,#equipment-management-dialog) .em-other-actions{position:relative;margin-left:auto;align-self:stretch;display:flex;align-items:center}:is(#party-equipment-manager,#equipment-management-dialog) .em-other-actions summary{list-style:none;border:1px solid var(--em-line);border-radius:var(--em-radius);padding:10px 8px;background:var(--em-bg);cursor:pointer;white-space:nowrap}:is(#party-equipment-manager,#equipment-management-dialog) .em-other-actions summary:after{content:" \25be"}:is(#party-equipment-manager,#equipment-management-dialog) .em-other-menu{position:absolute;right:0;bottom:calc(100% + 6px);z-index:5;min-width:240px;padding:8px;display:flex;flex-direction:column;gap:6px;border:1px solid var(--em-gold);border-radius:var(--em-radius);background:var(--em-bg);box-shadow:0 6px 18px #30271b33}:is(#party-equipment-manager,#equipment-management-dialog) .em-other-menu button{width:100%;min-height:44px;text-align:left;white-space:normal;line-height:1.4}:is(#party-equipment-manager,#equipment-management-dialog) .em-other-actions:not([open]) .em-other-menu{display:none}#party-equipment-manager .em-reset{color:#884638}#party-equipment-manager .em-status{font-size:12px;line-height:1.3;min-height:0;margin:0;color:var(--em-muted)}#party-equipment-manager .em-status:empty{display:none}#party-equipment-manager .em-inventory{width:100%;height:100%;overflow:auto;min-height:0;font-size:var(--em-text)}#party-equipment-manager .em-inventory h3{font-size:var(--em-text);margin:0 0 8px}#party-equipment-manager .em-inventory table{width:100%;border-collapse:collapse}#party-equipment-manager .em-inventory :is(th,td){padding:6px;text-align:left;border-bottom:1px solid var(--em-line);font-size:var(--em-text)}#party-equipment-manager .em-inventory td{white-space:nowrap}:is(#party-equipment-manager,#equipment-management-dialog) :is(button,select,summary):focus-visible{outline:3px solid var(--party-gold,#dfba71);outline-offset:-3px}@media(max-width:900px){#party-equipment-manager .em-lock-hint{display:none}#party-equipment-manager .em-slot button{padding:2px}#party-equipment-manager .em-slot-lock{gap:2px}}#party-equipment-manager{--em-card-label:max(11px,calc(10px / var(--phone-scale,1)));--em-card-name:max(13px,calc(11px / var(--phone-scale,1)));--em-lock-size:34px}#party-equipment-manager .em-lock-hint{display:none}#party-equipment-manager .em-heading{padding-bottom:4px}#party-equipment-manager .em-character-controls{gap:8px}#party-equipment-manager .em-character{max-width:390px}#party-equipment-manager .em-lock-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}#party-equipment-manager .em-slot{display:block;position:relative}#party-equipment-manager .em-slot-item{width:100%;height:100%;display:grid;grid-template-columns:minmax(30px,32%) minmax(0,1fr);grid-template-rows:28px minmax(0,1fr);gap:2px 6px;text-align:left;padding:4px 6px;font-size:var(--em-card-name)}#party-equipment-manager .em-slot-art{grid-row:2;grid-column:1;width:100%;height:100%}#party-equipment-manager .em-slot-copy{display:contents}#party-equipment-manager .em-slot-copy small{grid-row:1;grid-column:1/-1;font-size:var(--em-card-label);line-height:22px;text-align:left;padding-right:var(--em-lock-size);white-space:nowrap}#party-equipment-manager .em-slot-copy b{grid-row:2;grid-column:2;align-self:center;line-height:1.2;font-size:var(--em-card-name)}#party-equipment-manager .em-slot-lock{position:absolute;right:0;top:0;width:var(--em-lock-size);height:var(--em-lock-size);padding:4px;border:0!important;border-radius:0 7px;font-size:0;gap:0;background:transparent}#party-equipment-manager .em-slot-lock svg{width:20px;height:20px}#party-equipment-manager .em-slot-lock:disabled{opacity:.35}#party-equipment-manager .em-slot-locked{border-color:var(--em-gold)}#party-equipment-manager .em-actions{padding-top:4px}#party-equipment-manager .em-actions>button{min-height:36px}#party-equipment-manager .em-other-actions summary{padding:8px}@media(max-width:740px){#party-equipment-manager .em-slot-item{grid-template-rows:24px minmax(0,1fr);padding:3px 4px;gap:0 4px}#party-equipment-manager .em-slot-copy small{line-height:20px}#party-equipment-manager .em-lock-grid{gap:5px}#party-equipment-manager .em-character{min-height:30px;padding:3px 6px}#party-equipment-manager .em-reserve-policy select{min-height:30px;width:120px}}#party-equipment-manager .em-tabs button{min-height:32px}#party-equipment-manager .em-slot-sword .em-slot-item{grid-template-columns:minmax(0,1fr);grid-template-rows:22px minmax(0,1fr) auto;gap:0;padding:3px 7px 5px}#party-equipment-manager .em-slot-sword .em-slot-art{grid-row:2;grid-column:1}#party-equipment-manager .em-slot-sword .em-slot-copy b{grid-row:3;grid-column:1;text-align:center;line-height:1.15}body dialog#equipment-displacement-dialog,body.phone-game dialog#equipment-displacement-dialog{zoom:1;width:min(520px,calc(100vw - 32px));height:fit-content;max-width:calc(100vw - 32px);max-height:calc(100dvh - 24px);margin:auto;padding:20px;border:2px solid #b99b68;border-radius:12px;background:#fcf5e3;color:#39291c;overflow:auto;box-shadow:0 12px 48px #17130d88;font-size:16px}#equipment-displacement-dialog::backdrop{background:#14251ecc;backdrop-filter:blur(3px)}#equipment-displacement-dialog h2{margin:0;font-size:22px;line-height:1.4;letter-spacing:0}#equipment-displacement-dialog p{margin:10px 0;line-height:1.6;color:#59472d;overflow-wrap:anywhere}#equipment-displacement-dialog .equipment-displacement-items{margin:10px 0;padding:10px 10px 10px 32px;border:1px solid #c9af7e;border-radius:6px;background:#f1e3c5;font-weight:700;line-height:1.5;overflow-wrap:anywhere}#equipment-displacement-dialog footer{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}#equipment-displacement-dialog button{min-height:48px;padding:10px 8px;border:1px solid #b99b68;border-radius:8px;background:#fffaf0;color:#39291c;font-size:16px;font-weight:700}#equipment-displacement-dialog [data-equipment-displacement-confirm]{background:#315944;border-color:#315944;color:#fffaf0}#equipment-displacement-dialog button:focus-visible{outline:3px solid #315944;outline-offset:3px}:is(#party-equipment-manager,#equipment-management-dialog) .em-actions [data-em-action=auto-character]{background:var(--em-bg);border-color:var(--em-accent);color:var(--em-accent);font-weight:700}#party-equipment-manager .em-actions :is([data-em-action=auto],[data-em-action=auto-character]){flex:1;padding-inline:8px;line-height:1.3}:is(#party-equipment-manager,#equipment-management-dialog)[aria-busy=true] .em-status:before{content:"";display:inline-block;vertical-align:-2px;width:12px;height:12px;margin-right:6px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:em-equipment-wait .8s linear infinite}@keyframes em-equipment-wait{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){:is(#party-equipment-manager,#equipment-management-dialog)[aria-busy=true] .em-status:before{animation:none}}body.phone-game dialog#equipment-wait-dialog{--wait-gold:#d5bb7b;--wait-ink:#fff2cf;zoom:1;position:fixed;inset:auto;margin:0;translate:-50% -50%;left:calc((var(--phone-viewport-width,100vw) + var(--safe-left) - var(--safe-right)) / 2);top:calc((var(--phone-viewport-height,100dvh) + var(--safe-top) - var(--safe-bottom)) / 2);width:min(960px,calc(var(--phone-viewport-width,100vw) - var(--safe-left) - var(--safe-right) - 40px));height:min(460px,calc(var(--phone-viewport-height,100dvh) - var(--safe-top) - var(--safe-bottom) - 24px));max-width:none;max-height:none;box-sizing:border-box;padding:clamp(14px,2.8vh,28px) clamp(18px,3vw,38px);border:2px solid var(--wait-gold);border-radius:18px;background:radial-gradient(ellipse at 50% 35%,#254e3a,#102e24 90%);color:var(--wait-ink);box-shadow:inset 0 0 0 4px #14372b,inset 0 0 0 5px #d5bb7b88,0 18px 60px #06171099;overflow:clip;font-family:inherit;text-align:center;line-height:1.4}#equipment-wait-dialog[open]{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto 8px auto;gap:clamp(6px,1.4vh,12px)}#equipment-wait-dialog::backdrop{background:#071c1766;backdrop-filter:blur(4px)}#equipment-wait-dialog .em-wait-kicker{display:flex;align-items:center;justify-content:center;gap:18px;font-size:clamp(12px,1.6vw,17px);letter-spacing:.08em;color:#eddaab}#equipment-wait-dialog .em-wait-kicker:before,#equipment-wait-dialog .em-wait-kicker:after{content:"";height:1px;width:70px;background:linear-gradient(90deg,transparent,#d5bb7b,transparent)}#equipment-wait-dialog h2{margin:0;font-size:clamp(20px,3.3vw,36px);line-height:1.25;letter-spacing:.04em;outline:none;color:var(--wait-ink)}#equipment-wait-dialog .em-wait-portraits{display:grid;grid-template-columns:repeat(var(--wait-count,5),minmax(0,1fr));gap:clamp(8px,1.8vw,22px);min-height:0;padding:12px 6px 0;align-items:stretch}#equipment-wait-dialog figure{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:7px;min-width:0;min-height:0;margin:0}#equipment-wait-dialog .em-wait-face{position:relative;min-height:0;overflow:hidden;border:1px solid #d5bb7b;border-radius:9px;background:radial-gradient(ellipse at 50% 65%,#42694b,#14392d);box-shadow:inset 0 0 0 3px #d5bb7b1f}#equipment-wait-dialog .em-wait-face:before{content:"";position:absolute;left:12%;right:12%;bottom:3%;height:6%;background:radial-gradient(ellipse,#071f1c70,transparent 70%);pointer-events:none}#equipment-wait-dialog .em-wait-face canvas{position:absolute;height:var(--party-crop-height,100%)!important;width:auto!important;max-width:none;max-height:none;top:var(--party-crop-top,0%);left:var(--party-crop-left,50%);transform:translate(-50%);transform-origin:var(--wait-origin-x,50%) var(--wait-origin-y,94%);margin:0;opacity:1}#equipment-wait-dialog .em-wait-working canvas[data-portrait-source]{animation:em-wait-sway var(--wait-sway-duration,3.6s) ease-in-out var(--wait-sway-delay,0s) infinite}#equipment-wait-dialog .em-wait-placeholder{position:absolute;inset:0;display:grid;place-items:center;font-size:32px;color:#e9d6a3}#equipment-wait-dialog .em-wait-face:has(canvas[data-portrait-source]) .em-wait-placeholder{display:none}#equipment-wait-dialog figcaption{min-height:1.4em;font-size:clamp(13px,1.9vw,20px);font-weight:700;line-height:1.3;overflow-wrap:anywhere;color:var(--wait-ink)}#equipment-wait-dialog .em-wait-gear{position:absolute;inset:0;z-index:2;pointer-events:none}#equipment-wait-dialog .em-wait-gear svg{position:absolute;left:50%;top:78%;width:30px;height:30px;margin:-15px;opacity:0;fill:#cfb675;stroke:#fff1c8;stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 6px #fff0b4)}#equipment-wait-dialog .em-wait-touched .em-wait-face{border-color:#f2d78e;box-shadow:inset 0 0 0 3px #e4c47555,0 0 12px #d8bd6c44}#equipment-wait-dialog .em-wait-working .em-wait-face{box-shadow:inset 0 0 0 3px #f7df9b99,0 0 18px #f1d28c66}#equipment-wait-dialog.em-wait-complete .em-wait-face{border-color:#fff4c9;box-shadow:inset 0 0 0 3px #fff3c8bb,0 0 22px #f6dfa788}body.phone-game dialog#equipment-wait-dialog.em-wait-single{width:min(580px,calc(var(--phone-viewport-width,100vw) - var(--safe-left) - var(--safe-right) - 40px))}#equipment-wait-dialog.em-wait-single .em-wait-portraits{width:min(240px,72%);justify-self:center}#equipment-wait-dialog p{margin:0;color:var(--wait-ink);font-size:clamp(14px,1.9vw,20px);line-height:1.4}#equipment-wait-dialog .em-wait-track{position:relative;justify-self:center;width:76%;height:8px;overflow:hidden;border:1px solid #b2ab7780;border-radius:8px;background:#0c231d}#equipment-wait-dialog .em-wait-track i{position:absolute;left:0;top:0;width:25%;height:100%;background:radial-gradient(ellipse,#fff5cb,#dcbf6c55 35%,transparent 72%);animation:em-wait-scan 2.8s ease-in-out infinite alternate}#equipment-wait-dialog .em-wait-note{min-height:1.4em;align-self:center}#equipment-wait-dialog .em-wait-note p{font-size:clamp(12px,1.4vw,15px);color:#dacda9}@keyframes em-wait-sway{0%,to{transform:translate(-50%) rotate(-.55deg)}50%{transform:translate(-50%) rotate(.55deg)}}@keyframes em-wait-scan{to{transform:translate(300%)}}@media(max-height:350px)and (orientation:landscape){body.phone-game dialog#equipment-wait-dialog{padding:12px 18px;gap:5px}#equipment-wait-dialog h2{font-size:20px}#equipment-wait-dialog .em-wait-kicker{font-size:12px}#equipment-wait-dialog .em-wait-portraits{padding-top:9px}#equipment-wait-dialog figcaption{font-size:13px}#equipment-wait-dialog p{font-size:13px}#equipment-wait-dialog .em-wait-note p{font-size:11px}}@media(max-width:599px)and (orientation:portrait){body.phone-game dialog#equipment-wait-dialog{height:min(440px,calc(var(--phone-viewport-height,100dvh) - var(--safe-top) - var(--safe-bottom) - 32px));padding:18px 12px}#equipment-wait-dialog h2{font-size:22px}#equipment-wait-dialog .em-wait-portraits{gap:7px;padding-inline:0}#equipment-wait-dialog .em-wait-gear svg{width:23px;height:23px;margin:-11.5px}#equipment-wait-dialog figcaption{font-size:13px}}@media(prefers-reduced-motion:reduce){#equipment-wait-dialog .em-wait-working canvas[data-portrait-source],#equipment-wait-dialog .em-wait-track i{animation:none}#equipment-wait-dialog .em-wait-track i{left:37.5%}}:is(#party-equipment-manager,#equipment-management-dialog) .em-actions :is([data-em-action=auto],[data-em-action=auto-character]){flex:1;min-width:0;padding-inline:8px;white-space:normal;line-height:1.3}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 #detail-dialog .phone-character-detail .command-visibility{--command-name-size:19.63px;--command-grip-size:44px;position:relative;display:grid;grid-template-rows:34px minmax(0,1fr) 45px;gap:7px;height:100%;min-height:0;margin:0;padding:0}#detail-dialog .command-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}body.phone-game #detail-dialog .command-settings-heading h2{font-size:19px;line-height:1.2;margin:0;white-space:nowrap;color:#193d31}#detail-dialog .command-settings-heading h2 small{font-size:12px;font-weight:400;color:#8c7658;margin-left:10px}#detail-dialog .command-initial-control{display:flex;align-items:center;gap:10px;font-size:13px;white-space:nowrap;color:#796342;min-width:0;position:relative}#detail-dialog .command-initial-control:after{content:"\2304";position:absolute;right:10px;pointer-events:none;color:#344337;font-size:18px}body.phone-game #detail-dialog .command-initial-control select{appearance:none;-webkit-appearance:none;background:#fffaf0;color:#302b20;border:1px solid #c8a76d;border-radius:5px;min-height:0;height:32px;width:210px;font-size:16px;line-height:normal;padding:0 28px 0 9px;text-overflow:ellipsis}body.phone-game #detail-dialog .command-visibility .command-edit-list{display:block;position:relative;overflow:hidden;min-height:0;min-width:0;margin:0;padding:0}#detail-dialog .command-order-block{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr));grid-auto-flow:column;gap:5px 9px;height:100%;min-height:0;box-sizing:border-box}#detail-dialog .command-order-block[hidden]{display:none}#detail-dialog .command-visibility .command-edit-row{display:flex;align-items:center;position:relative;gap:8px;padding:6px 8px;border:1px solid #d9bb85;border-radius:5px;box-sizing:border-box;min-width:0;min-height:0;background:linear-gradient(115deg,#fffaf0,#f6ecd9);box-shadow:0 1px 2px #66471a0b}#detail-dialog .command-order-number{display:flex;align-items:center;justify-content:center;flex:none;min-width:16px;color:#a17b41;font:12px Georgia,serif;font-variant-numeric:tabular-nums}#detail-dialog .command-visibility .command-edit-row>label{height:100%;gap:0;cursor:pointer;flex:none}#detail-dialog .command-visibility .command-edit-row input{width:max(21px,calc(21px / var(--phone-scale,1)));height:max(21px,calc(21px / var(--phone-scale,1)));margin:0;accent-color:#ad813c}.command-visibility-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}body.phone-game #detail-dialog .command-visibility .command-edit-name{display:flex;align-items:center;flex:1;min-width:0;width:0;height:auto;min-height:0;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0 2px;margin:0;overflow:hidden;text-align:left;color:#342d21}body.phone-game #detail-dialog .command-visibility .command-edit-name .technique-name{display:flex;align-items:center;justify-content:flex-start;gap:3px;width:max-content;max-width:none;min-width:100%;flex:none;font:700 max(var(--command-name-size),calc(var(--command-name-size) / var(--phone-scale,1)))/1.2 "Yu Gothic UI",Meiryo,sans-serif;white-space:nowrap;margin:0}body.phone-game #detail-dialog .command-visibility .command-edit-name .technique-label{display:block;flex:none;overflow:visible;white-space:nowrap;font:inherit;min-width:0}#detail-dialog .command-visibility .technique-weapon{flex:none;width:max(17px,calc(17px / var(--phone-scale,1)));height:max(17px,calc(17px / var(--phone-scale,1)))}#detail-dialog .command-visibility .technique-weapon .gear-icon{width:100%;height:100%}#detail-dialog .command-name-playing .technique-name{animation:command-name-travel var(--command-name-duration) linear 2 both}@keyframes command-name-travel{0%,15%{transform:translate(0)}70%,90%{transform:translate(var(--command-name-travel))}to{transform:translate(0)}}body.phone-game #detail-dialog .command-visibility .command-edit-row>[data-command-drag]{align-self:stretch;flex:none;min-width:max(var(--command-grip-size),calc(var(--command-grip-size) / var(--phone-scale,1)));width:max(var(--command-grip-size),calc(var(--command-grip-size) / var(--phone-scale,1)));min-height:0;height:auto;padding:0;margin:-3px -3px -3px 0;border:1px solid #dbc69f;border-radius:4px;background:#f0e3c8;box-shadow:none;color:#816a40;font-size:29px;line-height:1;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}#detail-dialog .command-visibility .command-drag-origin{opacity:.3;border-style:dashed}#detail-dialog .command-visibility .command-edit-row[data-command-drop=before]{box-shadow:0 -3px #b17d26}#detail-dialog .command-visibility .command-edit-row[data-command-drop=after]{box-shadow:0 3px #b17d26}#detail-dialog .command-visibility .command-order-ghost{position:absolute;z-index:10;margin:0;pointer-events:none;border:1px solid #b17d26;box-shadow:0 6px 14px #40290055;background:#fff7e5;opacity:.96}#detail-dialog .command-order-footer{display:flex;align-items:center;gap:10px;min-width:0;border-top:1px solid #d3ae6d;margin:0 -10px;padding:0 10px;background:#f0e1bf88}#detail-dialog .command-order-pages{display:flex;align-items:center;justify-content:center;gap:7px;margin-left:auto;white-space:nowrap;font-size:14px;color:#655239}#detail-dialog [data-command-page-count]{min-width:44px;text-align:center;font-variant-numeric:tabular-nums}body.phone-game #detail-dialog .command-order-footer button{flex:none;height:33px;min-height:0;padding:0 12px;margin:0;font-size:15px;white-space:nowrap;border-radius:5px;background:#fff8e9;border:1px solid #bea16c;box-shadow:0 1px 2px #79562812;line-height:1.2;color:#634f30}body.phone-game #detail-dialog .command-order-pages button{width:32px;padding:0;font-size:23px}#detail-dialog .command-order-footer .command-settings-status{flex:0 1 auto;min-width:0;max-width:240px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:15px;line-height:1.3;margin:0;color:#637159}#detail-dialog .command-settings-status[data-state=dirty],#detail-dialog .command-settings-status[data-state=error]{padding:6px 10px;border:1px solid #c18b29;border-radius:5px;background:#ffe0a0;color:#6f430c;font-weight:700}#detail-dialog .command-settings-status[data-state=dirty]:before{content:"\25cf  ";color:#b07913}#detail-dialog .command-settings-status[data-state=saved]{color:#28583c}body.phone-game #detail-dialog .command-order-footer>[data-command-save]{background:linear-gradient(#2c5944,#1e4434);color:#fff7df;border-color:#234c39;font-weight:700;padding:0 16px}body.phone-game #detail-dialog .command-order-footer button:disabled{opacity:.45}body.phone-game #detail-dialog .command-order-pages .command-page-drag-target{background:#e8bc60;outline:2px solid #a37d30}@media(min-width:701px)and (max-width:850px){#detail-dialog .command-visibility .command-edit-row{padding-block:4px}body.phone-game #detail-dialog .command-visibility .command-edit-row>[data-command-drag]{margin-block:-1px}}@media(max-width:700px){body.phone-game #detail-dialog .phone-character-detail .command-visibility{--command-name-size:18.74px;--command-grip-size:38px}#detail-dialog .command-order-block{gap:4px 6px}#detail-dialog .command-visibility .command-edit-row{gap:6px;padding:3px 6px}body.phone-game #detail-dialog .command-visibility .command-edit-row>[data-command-drag]{margin:-1px -2px -1px 0}#detail-dialog .command-order-footer{gap:7px}#detail-dialog .command-settings-heading h2 small{margin-left:6px}body.phone-game #detail-dialog .command-initial-control select{width:186px}}@media(prefers-reduced-motion:reduce){#detail-dialog .command-name-playing .technique-name{transform:translate(var(--command-name-travel))}}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:max(116px,calc(112px / var(--phone-scale,1))) 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:0;height:auto;padding:4px;font-size:14px;line-height:1.2;white-space:nowrap}body.phone-game .phone-character-detail>.phone-page-tabs>select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}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)}.gear-modifiers.gear-comparison>span{display:grid;grid-template-columns:auto auto;gap:2px 8px;align-items:baseline}.gear-modifiers.gear-comparison>span>span{grid-column:1/-1}.gear-modifiers.gear-comparison small{font-variant-numeric:tabular-nums;white-space:nowrap}.gear-modifiers.gear-comparison b.positive{color:#9ee1b3}.gear-modifiers.gear-comparison b.negative{color:#ffad9c}body.phone-game .phone-equipment-picker .gear-modifiers.gear-comparison>span{display:grid;grid-template-columns:minmax(0,1fr) auto 30px;grid-template-rows:auto;gap:4px;align-items:baseline;justify-content:normal}body.phone-game .phone-equipment-picker .gear-modifiers.gear-comparison>span>span{font-size:11px;grid-column:auto}body.phone-game .phone-equipment-picker .gear-modifiers.gear-comparison small{font-size:11px;line-height:1.2}body.phone-game .phone-equipment-picker .gear-modifiers.gear-comparison b{font-size:14px;line-height:1.2}body.phone-game .phone-equipment-picker .gear-modifiers.gear-comparison b.positive{color:#196c3c}body.phone-game .phone-equipment-picker .gear-modifiers.gear-comparison b.negative{color:#b02c24}body.phone-game .phone-equipment-picker .gear-modifiers.gear-comparison{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(4,minmax(0,1fr));gap:3px}body.phone-game .phone-equipment-picker .gear-modifiers.gear-comparison b{text-align:right}.battle-preparing{display:grid;place-items:center;width:100%;height:100%;min-height:0;padding:20px;background:#163e30}.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,.battle-preparing .screen-art-frame img[data-fullscreen-art]{background:#103629}.battle-preparing figcaption{background:#103629cc;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}.tournament-final-intro figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px}.tournament-final-intro figcaption strong{font-size:1.3em;white-space:nowrap;color:#f1cb81}.tournament-final-intro figcaption span{font-size:.8em}.tournament-final-intro figcaption button{flex:none;background:#fff3dd;color:#213d30;font-size:16px;padding:8px 14px}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-comparison{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid #aa824c;border-radius:10px;background:#fcf7ec;overflow:hidden;flex:1;min-height:0;text-align:center}.membership-comparison th,.membership-comparison td{padding:8px;border:0;border-right:1px solid #c9b593;border-bottom:1px solid #c9b593;vertical-align:middle;background:transparent;font-size:18px;line-height:1.3}.membership-comparison tr>:last-child{border-right:0}.membership-comparison tfoot td{border-bottom:0}.membership-comparison thead th{background:#f6ead2}.membership-comparison [data-column=premium]{background:#f9edcf}.membership-comparison [data-current=true]{background:#eef0e2}.membership-comparison tbody th{text-align:left;font-size:16px;font-weight:600}.membership-comparison tbody td{font-weight:600;font-variant-numeric:tabular-nums}.membership-row-icon{display:inline-block;width:1.6em;margin-right:5px;text-align:center;font-size:22px;vertical-align:middle}.membership-plan-heading h3{margin:0 0 4px;font-size:20px;line-height:1.2}.membership-price{display:flex;align-items:baseline;justify-content:center;white-space:nowrap;line-height:1.3;gap:2px}.membership-price strong{font-size:24px;color:#80531c}.membership-price span{font-size:13px}.membership-current-badge{display:inline-block;margin-top:4px;padding:2px 16px;border-radius:20px;background:#5e7949;color:#fff;font-size:12px;font-weight:600}.membership-settings .membership-free-plan{width:100%;margin:0;min-height:44px;padding:6px;font-size:16px;border:1px solid #a1a58a;background:#e4e6d9;color:#596344;opacity:1}.membership-settings .membership-comparison [data-current=true] button:disabled{background:#74835a;color:#fff;border-color:#74835a;opacity:1}body.phone-game #settings-dialog .membership-settings p.membership-receipt-note,body.phone-game .membership-dialog p.membership-receipt-note{margin:0;font-size:12px;line-height:1.4;text-align:center;color:#655139;flex:none}.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:500px){.membership-overview,.membership-settings{gap:3px}.membership-comparison th,.membership-comparison td{padding:2px 6px;font-size:15px;line-height:1.2}.membership-comparison tbody th,.membership-comparison tbody td{padding-block:0}.membership-comparison tbody th{font-size:13px}.membership-row-icon{font-size:16px;margin-right:3px;width:1.5em;line-height:1.4}.membership-plan-heading h3{font-size:16px;margin-bottom:2px}.membership-price strong{font-size:18px}.membership-price span{font-size:11px}.membership-plan-heading .membership-price{display:inline-flex}.membership-current-badge{font-size:11px;margin:0 0 0 6px;padding:1px 8px}.membership-settings .membership-purchase,.membership-settings .membership-free-plan{min-height:34px;padding:4px;font-size:13px;line-height:1.2;white-space:normal}.membership-settings .membership-actions button{min-height:32px;padding:4px 8px;font-size:13px}body.phone-game #settings-dialog .membership-settings p.membership-receipt-note,body.phone-game .membership-dialog p.membership-receipt-note{font-size:11px;line-height:1.3}.membership-legal{font-size:11px;gap:4px 10px}}@media(max-width:599px){.membership-comparison th,.membership-comparison td{padding:5px 3px;font-size:13px}.membership-comparison tbody th{font-size:12px}.membership-row-icon{display:none}.membership-plan-heading h3{font-size:14px}.membership-price strong{font-size:17px}.membership-settings .membership-purchase,.membership-settings .membership-free-plan{font-size:12px;white-space:normal}.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}body.phone-game dialog:not(#orientation-gate).ril-purchase-dialog,.ril-purchase-dialog{zoom:1;box-sizing:border-box;width:min(900px,calc(100% - 24px));max-width:900px;max-height:calc(100dvh - 16px);height:auto;padding:16px 20px;background:linear-gradient(135deg,#173d32,#0b241e);border:1px solid #bba475;border-radius:14px;color:#f2eddb;box-shadow:0 18px 60px #0009,inset 0 0 0 4px #c7b17d18;font:16px/1.4 sans-serif;overflow:auto}.ril-purchase-dialog::backdrop{background:#071510b8;backdrop-filter:blur(4px)}body.phone-game .ril-purchase-dialog[open],.ril-purchase-dialog[open]{display:flex;flex-direction:column;gap:10px}.ril-purchase-dialog .dialog-top{display:flex;align-items:center;justify-content:space-between;flex:none;height:34px;margin:0;color:#e2ce98}.ril-purchase-dialog .dialog-top h2{margin:0;font-size:24px;letter-spacing:.08em;color:inherit}.ril-purchase-dialog .close{background:transparent;color:#f3e6c3;border:0;font-size:28px;min-width:40px;min-height:36px;cursor:pointer}.ril-purchase-dialog .ril-purchase-balance{margin:0;font-size:14px;text-align:right;color:#d6dcca}.ril-purchase-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ril-purchase-card{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;padding:16px;border:1px solid #a28d5b;border-radius:9px;background:linear-gradient(145deg,#234b3b,#122d25);box-shadow:inset 0 1px #ffedc333,0 4px 15px #0002}.ril-purchase-badge{align-self:flex-start;border-radius:3px;padding:2px 8px;font-size:12px;background:#e3d1a0;color:#28382b}.ril-purchase-card h3{font-size:23px;color:#fff3d2;white-space:nowrap;margin:2px 0 0}.ril-purchase-price{color:#cbd5c5;font-size:13px;margin:0}.ril-purchase-quantity{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin:3px 0}.ril-purchase-dialog select{font:inherit;color:#f7f2de;background:#102b22;border:1px solid #ac9e73;border-radius:5px;min-height:36px;width:85px;padding:4px 10px}.ril-purchase-total{display:flex;flex-direction:column;gap:2px;border-block:1px solid #b5a16d55;padding:9px 0;color:#d3ddcc;font-size:12px}.ril-purchase-total strong{font-size:23px;color:#f2df9b;font-variant-numeric:tabular-nums;white-space:nowrap}.ril-purchase-total small{font-size:12px;color:#aee0b4}.ril-purchase-payment{align-self:flex-end;font-size:16px;margin-top:4px;font-variant-numeric:tabular-nums}.ril-purchase-dialog .ril-purchase-buy{font:700 16px/1.3 sans-serif;min-height:42px;border:1px solid #e0cc99;border-radius:6px;background:linear-gradient(#eddfb5,#bba069);color:#202c22;box-shadow:inset 0 1px #fff8;cursor:pointer}.ril-purchase-dialog button:disabled{cursor:default;filter:saturate(.35);opacity:.65}.ril-purchase-dialog :is(button,select):focus-visible{outline:2px solid #fff1b8;outline-offset:3px}.ril-purchase-dialog .ril-purchase-status{font-size:13px;line-height:1.5;margin:0;min-height:20px;color:#f0dfb6}.ril-purchase-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#b9cbb9}.ril-purchase-footer button{font:inherit;background:transparent;color:#e8d8ae;border:1px solid #a7966d;border-radius:5px;padding:7px 11px;cursor:pointer}@media(max-height:480px)and (min-width:600px){body.phone-game dialog:not(#orientation-gate).ril-purchase-dialog,.ril-purchase-dialog{padding:9px 16px;gap:5px}.ril-purchase-card{padding:9px 13px;gap:3px}.ril-purchase-dialog .dialog-top{height:29px}.ril-purchase-dialog .dialog-top h2,.ril-purchase-card h3,.ril-purchase-total strong{font-size:21px}.ril-purchase-total{padding:5px 0}.ril-purchase-dialog .ril-purchase-buy{min-height:34px}.ril-purchase-quantity{margin:0}.ril-purchase-dialog select{min-height:30px}.ril-purchase-dialog .ril-purchase-balance{position:absolute;top:15px;right:65px}.ril-purchase-footer button{padding:5px 9px}}@media(max-width:599px){body.phone-game dialog:not(#orientation-gate).ril-purchase-dialog,.ril-purchase-dialog{padding:12px;gap:8px}.ril-purchase-cards{grid-template-columns:1fr;gap:8px}.ril-purchase-card{display:grid;grid-template-columns:1fr 1fr;padding:10px 12px;gap:3px 12px}.ril-purchase-badge{grid-column:1;font-size:11px;justify-self:start}.ril-purchase-card h3{grid-column:1;grid-row:2;font-size:21px}.ril-purchase-price{grid-column:1;grid-row:3}.ril-purchase-quantity{grid-column:1;grid-row:4}.ril-purchase-total{grid-column:2;grid-row:1/4;align-self:center;border:0;padding:0}.ril-purchase-total strong{font-size:21px}.ril-purchase-payment{grid-column:2;grid-row:4;align-self:center;text-align:right;font-size:14px}.ril-purchase-dialog .ril-purchase-buy{grid-column:1/-1;margin-top:5px;min-height:36px}.ril-purchase-dialog .dialog-top h2{font-size:21px}.ril-purchase-dialog .ril-purchase-status{font-size:12px}.ril-purchase-footer{font-size:11px}}@media(max-height:480px)and (min-width:600px){body.phone-game .ril-purchase-dialog .dialog-top{min-height:29px;height:29px}.ril-purchase-dialog .close{min-height:29px;height:29px;font-size:23px}.ril-purchase-card{gap:2px;padding:7px 12px}.ril-purchase-badge{font-size:11px;line-height:1.25;padding:2px 7px}.ril-purchase-card h3{font-size:20px;line-height:1.2;margin:1px 0 0}.ril-purchase-price{font-size:12px;line-height:1.25}.ril-purchase-total{line-height:1.2;gap:1px;padding:4px 0}.ril-purchase-total strong{font-size:20px;line-height:1.25}.ril-purchase-total small{font-size:11px;line-height:1.25}.ril-purchase-payment{margin:2px 0;font-size:15px;line-height:1.25}.ril-purchase-dialog .ril-purchase-status{font-size:12px;line-height:1.3;min-height:16px}.ril-purchase-footer{line-height:1.25}}@media(max-height:480px)and (min-width:600px){body.phone-game dialog.ril-purchase-dialog .dialog-top .close{min-height:29px;height:29px;width:36px;padding:0}body.phone-game dialog.ril-purchase-dialog .ril-purchase-footer button{min-height:28px;height:28px;padding:3px 9px;font-size:12px;line-height:1.2}}.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-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-filters{display:flex;gap:6px;align-items:center;flex:none;min-width:0;flex-wrap:wrap}.formation-filters select,.formation-filters input{min-width:0;min-height:36px;font-size:14px;padding:5px 7px}.formation-filters select{flex:0 1 120px}.formation-filters input{flex:1 1 120px;width:120px}.formation-filter-count{font-size:12px;white-space:nowrap}.formation-card[hidden]{display:none}.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-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:hidden;overscroll-behavior:none}.formation-member-info[hidden]{display:none}.formation-screening-summary{flex:none;margin:0 0 5px;font-size:12px;line-height:1.5;color:#24583f;overflow-wrap:anywhere}.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}.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=detail] .cpu-detail[data-panel=battle]{grid-template-rows:90px 44px minmax(0,1fr) auto}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-detail[data-panel=battle] .cpu-stage-banner{padding:6px 160px 6px 20px;justify-content:center}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-detail[data-panel=battle] [data-adventure-back]{left:auto;right:16px;top:12px}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-detail[data-panel=battle] .cpu-stage-banner h2{font-size:26px;line-height:1.2;margin:2px 0}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-detail[data-panel=battle] .cpu-stage-banner :is(small,p){font-size:14px;line-height:1.35}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-detail[data-panel=battle] .cpu-detail-body{display:flex;align-items:center;gap:16px;padding:6px 16px;overflow:hidden}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-detail[data-panel=battle] .cpu-opponents{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));flex:1;min-width:0;gap:8px;margin:0;align-items:end}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-detail[data-panel=battle] .cpu-opponents>div{min-width:0;gap:3px}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-detail[data-panel=battle] .cpu-opponents :is(.portrait,canvas){width:60px;height:60px}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-detail[data-panel=battle] .cpu-opponents small{font-size:15px;line-height:1.25;text-align:center;overflow-wrap:anywhere}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-detail[data-panel=battle] .cpu-boss-notice{flex:0 0 27%;padding:6px 10px;min-width:0;margin:0}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-detail[data-panel=battle] .cpu-boss-notice strong{display:block;font-size:15px;line-height:1.3}body.phone-game .cpu-hub[data-adventure-view=detail] .cpu-detail[data-panel=battle] .cpu-boss-notice p{font-size:12px;line-height:1.4;margin:3px 0 0}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:var(--menu-nav-gap)}body.phone-game:not(.in-battle) .header nav .nav{font-size:var(--menu-label-size);padding-inline:1px}body.phone-game:not(.in-battle) .header .phone-nav-icon svg{width:var(--menu-icon-size);height:var(--menu-icon-size)}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 .phone-catalogue .catalogue-tech .catalogue-family{display:block;max-width:100%;font-size:var(--read-label);line-height:1.15;white-space:normal;overflow-wrap:anywhere;color:var(--phone-muted)}body.phone-game .phone-catalogue .catalogue-tech summary:has(.catalogue-family){gap:1px}body.phone-game .phone-catalogue .catalogue-group:has(.catalogue-family) .phone-tech-rows{grid-template-rows:repeat(2,minmax(0,1fr))}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(1120px,96vw);height:min(740px,96dvh);max-height:96dvh;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:32px;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-columns:minmax(0,1fr);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:17px;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;container-type:size;background:radial-gradient(ellipse,#d8bd7040,transparent 68%)}body.phone-game .cpu-reward-dialog .cpu-reward-tile-art :is(img,canvas,svg,.portrait){width:min(280px,100cqw,100cqh);height:min(280px,100cqw,100cqh);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:30px;line-height:1.3;color:var(--reward-text)}body.phone-game .cpu-reward-dialog .cpu-reward-tile small{font-size:21px;line-height:1.5;color:var(--reward-muted)}body.phone-game .cpu-reward-dialog .cpu-reward-description{margin:0;min-height:42px;align-self:stretch;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin}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:20px;color:var(--reward-muted)}body.phone-game .cpu-reward-dialog .cpu-reward-selection{font-size:21px;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:48px;min-height:48px;font-size:22px;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;overflow:auto;justify-content:safe center;padding:8px}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:180px;height:180px;object-fit:contain;margin:0;opacity:1}body.phone-game .cpu-reward-dialog .cpu-reward-receipt p{color:var(--reward-text);font-size:38px;line-height:1.4;flex-shrink:0;overflow-wrap:anywhere}body.phone-game .cpu-reward-dialog .cpu-reward-receipt p:only-child{font-size:clamp(36px,4.6vw,64px);font-weight:700}body.phone-game .cpu-reward-dialog footer button[data-reward-ok]{font-size:28px;min-height:58px;padding:12px 24px}body.phone-game .cpu-reward-dialog .cpu-reward-complete{color:var(--reward-gold);font-size:20px;letter-spacing:.1em;font-weight:700}body.phone-game .cpu-reward-dialog .cpu-reward-error{color:#ffd3be;font-size:18px;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:26px}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;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:min(160px,100cqw,100cqh);height:min(160px,100cqw,100cqh)}body.phone-game .cpu-reward-dialog .cpu-reward-select-mark{top:6px;right:6px;padding:2px 6px;font-size:15px}body.phone-game .cpu-reward-dialog .cpu-reward-tile strong{font-size:22px}body.phone-game .cpu-reward-dialog .cpu-reward-tile small{font-size:17px;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-kind=character] .cpu-reward-description{min-height:26px}body.phone-game .cpu-reward-dialog .cpu-reward-tiles[data-reward-kind=item] .cpu-reward-tile{grid-template-rows:minmax(100px,1fr) auto minmax(36px,.8fr)}body.phone-game .cpu-reward-dialog .cpu-reward-tiles[data-reward-columns="2"] .cpu-reward-tile{grid-template-columns:70px minmax(0,1fr);grid-template-rows:minmax(70px,auto) 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:70px}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:17px}body.phone-game .cpu-reward-dialog footer button.primary{min-width:190px;font-size:19px}body.phone-game .cpu-reward-dialog .cpu-reward-receipt{gap:8px}body.phone-game .cpu-reward-dialog .cpu-reward-receipt p{font-size:26px}body.phone-game .cpu-reward-dialog .cpu-reward-receipt p:only-child{font-size:clamp(30px,4.6vw,42px)}body.phone-game .cpu-reward-dialog footer button[data-reward-ok]{font-size:22px;min-height:50px;padding:8px 18px}body.phone-game .cpu-reward-dialog .cpu-receipt-icons :is(img,canvas,svg,.portrait){width:104px;height:104px}}@media(prefers-reduced-motion:reduce){body.phone-game .cpu-reward-dialog *{animation:none!important;transition:none!important}}body.phone-game .cpu-reward-dialog.showing-receipt>header h2{margin:0;line-height:1.2}body.phone-game .cpu-reward-dialog .cpu-receipt-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(280px,1fr);align-items:stretch;justify-content:stretch;gap:16px;padding:2px;background:none;min-height:0;flex:1;overflow:auto;overscroll-behavior:contain}body.phone-game .cpu-reward-dialog .cpu-receipt-cards[data-receipt-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}body.phone-game .cpu-reward-dialog .cpu-receipt-cards[data-receipt-count="0"],body.phone-game .cpu-reward-dialog .cpu-receipt-cards[data-receipt-count="1"]{grid-template-columns:minmax(0,1fr)}body.phone-game .cpu-reward-dialog .cpu-receipt-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;padding:18px;min-width:0;min-height:0;border:1px solid #867449;border-top:3px solid var(--reward-gold);border-radius:14px;background:linear-gradient(150deg,#304638,#192e27);box-shadow:0 5px 14px #0003;text-align:center}body.phone-game .cpu-reward-dialog .cpu-receipt-label{font-size:21px;font-weight:700;letter-spacing:.06em;color:var(--reward-gold);text-align:left}body.phone-game .cpu-reward-dialog .cpu-receipt-art{display:flex;align-items:center;justify-content:center;min-height:0;container-type:size;background:radial-gradient(ellipse,#ddc67b20,transparent 70%)}body.phone-game .cpu-reward-dialog .cpu-receipt-art :is(img,canvas,svg,.portrait){width:min(100cqw,100cqh);height:min(100cqw,100cqh);max-width:100%;max-height:100%;object-fit:contain;opacity:1;margin:0;flex:none;filter:drop-shadow(0 6px 4px #0004)}body.phone-game .cpu-reward-dialog .cpu-receipt-art .portrait canvas{width:100%;height:100%}body.phone-game .cpu-reward-dialog .cpu-receipt-caption h3{font-size:30px;line-height:1.3;margin:0 0 6px;color:var(--reward-text);overflow-wrap:anywhere}body.phone-game .cpu-reward-dialog .cpu-receipt-caption p{font-size:19px;line-height:1.4;margin:0;color:var(--reward-muted)}body.phone-game .cpu-reward-dialog .cpu-receipt-coin{display:grid;place-items:center;width:90px;height:90px;border-radius:50%;border:7px double #f3cb75;background:linear-gradient(135deg,#ffe6a0,#ba852c);box-shadow:5px 5px #9c702b,0 12px 24px #0003;color:#806025;font:700 48px Georgia;transform:rotate(-12deg)}body.phone-game .cpu-reward-dialog .cpu-receipt-ticket{font-size:70px;color:var(--reward-gold)}body.phone-game .cpu-reward-dialog [data-receipt-kind=currency] h3{font-size:46px}body.phone-game .cpu-reward-dialog [data-receipt-count="1"] .cpu-receipt-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);padding:22px 36px;column-gap:28px}body.phone-game .cpu-reward-dialog [data-receipt-count="1"] .cpu-receipt-label{grid-column:1/-1}body.phone-game .cpu-reward-dialog [data-receipt-count="1"] .cpu-receipt-caption{align-self:center;text-align:left}body.phone-game .cpu-reward-dialog [data-receipt-count="1"] h3{font-size:42px}body.phone-game .cpu-reward-dialog [data-receipt-count="1"] .cpu-receipt-caption p{font-size:24px}body.phone-game .cpu-reward-dialog .cpu-receipt-caption .cpu-reward-complete{display:block;margin-bottom:18px}@media(max-height:480px){body.phone-game .cpu-reward-dialog.showing-receipt>header h2{font-size:23px}body.phone-game .cpu-reward-dialog.showing-receipt footer button[data-reward-ok]{min-height:44px;font-size:20px;line-height:1.3;padding:7px 20px}body.phone-game .cpu-reward-dialog .cpu-receipt-cards{gap:10px;grid-auto-rows:minmax(215px,1fr)}body.phone-game .cpu-reward-dialog .cpu-receipt-card{padding:10px;gap:5px}body.phone-game .cpu-reward-dialog .cpu-receipt-label{font-size:16px}body.phone-game .cpu-reward-dialog .cpu-receipt-caption h3{font-size:23px;margin-bottom:3px}body.phone-game .cpu-reward-dialog .cpu-receipt-caption p{font-size:15px}body.phone-game .cpu-reward-dialog [data-receipt-kind=currency] h3{font-size:34px}body.phone-game .cpu-reward-dialog [data-receipt-count="1"] .cpu-receipt-card{padding:12px 22px;column-gap:12px}body.phone-game .cpu-reward-dialog [data-receipt-count="1"] h3{font-size:32px}body.phone-game .cpu-reward-dialog [data-receipt-count="1"] .cpu-receipt-caption p{font-size:20px}body.phone-game .cpu-reward-dialog .cpu-receipt-caption .cpu-reward-complete{font-size:17px;margin-bottom:12px}body.phone-game .cpu-reward-dialog .cpu-receipt-coin{width:60px;height:60px;border-width:5px;font-size:32px}}@media(max-width:550px)and (min-height:481px){body.phone-game .cpu-reward-dialog .cpu-receipt-cards{grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:330px}body.phone-game .cpu-reward-dialog [data-receipt-count="1"] .cpu-receipt-card{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto;padding:14px}body.phone-game .cpu-reward-dialog [data-receipt-count="1"] .cpu-receipt-caption{text-align:center}body.phone-game .cpu-reward-dialog [data-receipt-count="1"] h3{font-size:28px}}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}body.phone-game.in-battle .battle-screen .battle-top{gap:2px;padding:0}body.phone-game.in-battle .battle-screen .battle-hud-card{padding:3px}body.phone-game.in-battle .battle-screen .battle-hud-heading{margin-bottom:4px;padding-bottom:4px}body.phone-game.in-battle .battle-screen .battle-identities{gap:2px}body.phone-game.in-battle .battle-screen .team-identity{gap:0}body.phone-game.in-battle .battle-screen .team-identity.player{padding-top:2px}body.phone-game.in-battle .battle-screen .battle-title{padding:2px 3px}body.phone-game.in-battle .battle-screen .battle-title .round-label{flex-direction:row;justify-content:space-between;gap:2px;padding:0}body.phone-game.in-battle .battle-screen .battle-turn-caption{font-size:11px;line-height:14px}body.phone-game.in-battle .battle-screen .battle-turn-count{align-items:center;gap:2px;line-height:24px}body.phone-game.in-battle .battle-screen .round-label b{font-size:22px;line-height:24px}body.phone-game.in-battle .battle-screen .battle-field-info{gap:1px;order:1;margin-top:0}body.phone-game.in-battle .battle-screen .battle-field-info .clock{padding:0 4px}body.phone-game.in-battle .battle-screen .battle-field-info .battle-rule{font-size:12px;line-height:16px}body.phone-game.in-battle .battle-screen .battle-rail-actions{position:static;width:100%;flex:none;grid-template-columns:minmax(0,1fr);gap:3px;margin:auto 0 0;padding:0}body.phone-game.in-battle .battle-screen .battle-rail-actions button{height:32px;min-height:32px;padding:3px}body.phone-game.in-battle .battle-screen .command-dock:not([data-mode=commentary]){bottom:8px;padding:6px;gap:3px}body.phone-game.in-battle .battle-screen .command-top{display:grid;grid-template-columns:minmax(0,1fr) 94px;align-items:center;height:32px;min-height:32px;flex:none;padding-bottom:3px}body.phone-game.in-battle .battle-screen #turn-clock{min-width:0;max-width:100%;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.phone-game.in-battle .battle-screen #turn-clock.is-urgent{font-size:20px;line-height:26px}body.phone-game.in-battle .battle-screen .command-energies{gap:4px 8px;margin-bottom:5px;min-height:0}body.phone-game.in-battle .battle-screen .command-energy{min-width:0;line-height:1.1}body.phone-game.in-battle .battle-screen .command-energy span{font-size:13px;line-height:14px}body.phone-game.in-battle .battle-screen .command-energy b{display:flex;align-items:baseline;gap:3px;font-family:inherit;font-size:18px;line-height:22px;white-space:nowrap;font-variant-numeric:tabular-nums}body.phone-game.in-battle .battle-screen .command-energy small{font-size:12px;font-weight:400;white-space:nowrap}body.phone-game.in-battle .battle-screen .order-content:has(.order-actions[data-command-list]){overflow:hidden}body.phone-game.in-battle .battle-screen .order-actions[data-command-list].command-scroll-list{min-height:0;grid-auto-rows:minmax(38px,auto);gap:3px;scrollbar-color:var(--hud-gold) transparent}body.phone-game.in-battle .battle-screen .command-explained{height:auto;min-height:38px;grid-template-columns:minmax(0,1fr) 36px;gap:0;border:1px solid var(--hud-soft-line);border-radius:5px;background:var(--hud-control)}body.phone-game.in-battle .battle-screen .command-explained:has(.order-action.active){border-color:var(--hud-gold);background:#9c804640;box-shadow:inset 3px 0 var(--hud-gold)}body.phone-game.in-battle .battle-screen .command-explained .order-action{height:auto;min-height:36px;padding:2px 5px;display:block;text-align:left;border:0;background:transparent;box-shadow:none;touch-action:pan-y}body.phone-game.in-battle .battle-screen .command-explained .command-content .technique-name{font-size:14px;line-height:16px;flex-wrap:nowrap}body.phone-game.in-battle .battle-screen .command-explained .command-content .technique-label{flex:1 1 0;white-space:nowrap;text-align:left}body.phone-game.in-battle .battle-screen .command-explained .command-content :is(.command-cost,.command-unavailable){font-size:12px;line-height:14px}body.phone-game.in-battle .battle-screen .command-explained .command-info{height:auto;min-height:36px;padding:0;border:0;background:transparent;box-shadow:none;color:var(--hud-gold);font-family:inherit;font-size:12px;font-weight:500;line-height:1.2;touch-action:pan-y}body.phone-game.in-battle .battle-screen .command-explained .command-info:hover{background:#e4c17f18;color:var(--hud-gold)}body.phone-game.in-battle .battle-screen :is(.order-fixed>button,.order-tools>button,.battle-help-tools button){height:28px;min-height:28px;font-size:13px;line-height:18px;padding:3px}body.phone-game.in-battle .battle-screen .order-footer{padding-top:3px}body.phone-game.in-battle .battle-screen .order-footer #confirm-all-orders{height:36px;min-height:36px;font-size:14px}body.phone-game.in-battle .battle-screen .battle-teams .battle-hud-heading{display:none}body.phone-game.in-battle .battle-screen .battle-top .battle-team-type{padding:0 6px;font-size:11px;line-height:14px}body.phone-game.in-battle .battle-screen .battle-field-info .battle-hud-heading{display:none}body.phone-game.in-battle .battle-screen .battle-top{overflow:visible}body.phone-game.in-battle .battle-screen .battle-teams{min-height:0;flex:none;overflow:visible}body.phone-game.in-battle .battle-screen .battle-teams .team-identity{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}body.phone-game.in-battle .battle-screen .battle-teams .team-identity b{grid-column:1/-1;grid-row:2;font-size:13px;line-height:16px;overflow:visible;white-space:normal;overflow-wrap:anywhere}body.phone-game.in-battle .battle-screen .battle-team-type{grid-column:2;grid-row:1}body.phone-game.in-battle .battle-screen .battle-team-label{font-size:11px;line-height:14px}body.phone-game.in-battle .battle-screen .order-actions .order-fixed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) minmax(max-content,1fr);gap:3px;min-height:34px;align-self:start}body.phone-game.in-battle .battle-screen .order-actions .order-fixed>button{height:34px;min-height:34px;padding:2px;font-size:12px;white-space:nowrap}body.phone-game.in-battle #field-statuses button.field-status{pointer-events:auto;cursor:pointer;min-width:30px;min-height:22px;height:auto;padding:0;touch-action:manipulation}body.phone-game.in-battle #field-statuses button.field-status:focus-visible{outline:2px solid var(--hud-gold);outline-offset:2px}body.phone-game.in-battle .battle-screen .command-explained .command-content{font-size:12px;line-height:14px}body.phone-game.in-battle .battle-screen .command-explained .command-content .command-cost{display:block}.life-rest-locked :is(canvas[data-character],.portrait){filter:grayscale(1);opacity:1}.rs-recovery-member [data-life-countdown]{font-variant-numeric:tabular-nums}#life-recovery-dialog #use-life-tonic{margin-top:10px}.rs-recovery-screen{background:var(--phone-paper,#fbf3df);color:var(--phone-ink,#493423)}.rs-life-rules{display:flex;flex-direction:column;gap:4px;line-height:1.4}.rs-life-rules b{font-size:16px}.rs-life-rules span{font-size:14px}body.phone-game .rs-recovery-summary{padding:8px 10px;border:1px solid #c9b593;border-radius:8px;background:#f7ecd6;gap:12px}body.phone-game .rs-recovery-summary .rs-recovery-stock span{font-size:12px;color:#665139}body.phone-game dialog#life-recovery-dialog{max-height:calc(100dvh / var(--phone-scale,1) - 16px);overflow-y:auto}#life-recovery-dialog #use-life-tonic{width:100%;min-height:40px}@media(max-width:739px){body.phone-game .rs-recovery-list{grid-template-columns:1fr}body.phone-game .rs-recovery-summary{gap:8px;padding:6px 8px}.rs-life-rules b{font-size:14px}.rs-life-rules span{font-size:12px}body.phone-game .rs-recovery-actions{width:160px}body.phone-game .rs-recovery-member [data-life-status],body.phone-game .rs-recovery-member [data-life-countdown]{font-size:15px}}#life-recovery-dialog dl{grid-template-columns:repeat(3,1fr);gap:8px}#life-recovery-dialog dl>div{display:block}#life-recovery-dialog dd{text-align:left}#life-recovery-dialog .life-recovery-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}#life-recovery-dialog .life-recovery-actions button{min-height:48px!important;margin:0!important;font-size:14px}#life-recovery-dialog .life-recovery-guide{font-size:13px;line-height:1.4;margin:8px 0}#life-recovery-dialog [data-life-status],#life-recovery-dialog [data-life-countdown]{font-size:14px;margin:6px 0}@media(max-height:500px){.membership-comparison .membership-row-icon{line-height:1.125}}body.phone-game .phone-character-detail .phone-character-stats{gap:4px}body.phone-game .phone-character-detail .phone-character-stats .family-introduction{display:grid;grid-template-columns:1fr auto;gap:3px 8px;padding:5px 10px;margin:0;line-height:1.3}body.phone-game .phone-character-detail .phone-character-stats .family-introduction>p{grid-column:1/-1;grid-row:2;margin:0}body.phone-game .phone-character-detail .phone-character-stats .character-training{grid-column:2;grid-row:1;margin:0;display:block}body.phone-game .phone-character-detail .phone-character-stats :is(.resources>span,.detail-stats>div){padding:3px 4px;gap:0}body.phone-game .phone-character-detail .phone-character-stats :is(.resources small,.detail-stats small,.resources em,.family-aptitudes,.shield-summary,.save-warning){line-height:1.2}body.phone-game .phone-character-detail .phone-character-stats .life-recovery-trigger{padding:2px 8px;min-height:0;margin:0;line-height:1.2}.rs-bundle-results{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px}.rs-bundle-results>header{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--rs-text)}.rs-bundle-results h2{font-size:20px;margin:0}.rs-bundle-results h2 span{font-size:13px;color:var(--rs-accent);margin-left:10px}.rs-bundle-results>header p{font-size:12px;margin:0;color:var(--rs-muted)}.rs-bundle-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;min-height:0}body.phone-game .release-screen.rs-gacha-screen .rs-bundle-card{position:relative;min-width:0;min-height:0;padding:5px 6px;display:grid;grid-template-rows:minmax(0,1fr) auto auto;gap:2px;align-items:center;text-align:center;border:1px solid #cda66099;border-radius:8px;background:radial-gradient(ellipse at 50% 40%,#48635480,transparent 72%),#203730;box-shadow:inset 0 0 16px #e3bd7709;color:#fff1d4;overflow:hidden}.rs-bundle-card>strong{font-size:14px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.rs-bundle-card>small{font-size:11px;line-height:1.2;color:#e3bd77;white-space:nowrap}.rs-bundle-badge{position:absolute;top:5px;left:6px;font-size:11px;color:#e3bd77;z-index:1;line-height:1}:is(.rs-bundle-card,.rs-gacha-character-result)[data-gacha-rarity=A]{--gacha-rank-light:#ffd1c8;--gacha-rank-glow:#ff685abb;--gacha-rank-soft:#e64b4333;--gacha-rank-top:#c6423a;--gacha-rank-bottom:#6b2026}.rs-gacha-character-result[data-gacha-rarity=A] .rarity-badge{--rarity-top:var(--gacha-rank-top);--rarity-bottom:var(--gacha-rank-bottom);--rarity-edge:var(--gacha-rank-light)}:is(.rs-bundle-card,.rs-gacha-character-result)[data-gacha-rarity=SS]{--gacha-rank-light:#ffe5ad;--gacha-rank-glow:#c38cf3dd;--gacha-rank-soft:#b172df44;--gacha-rank-top:#68468d;--gacha-rank-bottom:#1c122b}:is(.rs-bundle-card,.rs-gacha-character-result)[data-gacha-rarity=S]{--gacha-rank-light:#fff2b0;--gacha-rank-glow:#ffcf50dd;--gacha-rank-soft:#ffc34344;--gacha-rank-top:#c28a24;--gacha-rank-bottom:#694008}body.phone-game .release-screen.rs-gacha-screen .rs-bundle-card:is([data-gacha-rarity=A],[data-gacha-rarity=S],[data-gacha-rarity=SS]){border-color:var(--gacha-rank-light);background:radial-gradient(ellipse at 50% 30%,var(--gacha-rank-soft),transparent 75%),#203730;box-shadow:inset 0 0 14px var(--gacha-rank-soft),0 0 5px var(--gacha-rank-glow);animation:rs-rank-card-glow 2.8s ease-in-out infinite}.rs-bundle-card:is([data-gacha-rarity=A],[data-gacha-rarity=S],[data-gacha-rarity=SS]) .rs-bundle-badge{display:grid;place-items:center;top:4px;left:5px;width:32px;height:36px;font:800 28px/1 Georgia,Times New Roman,serif;border:1px solid var(--gacha-rank-light);border-radius:6px;color:#fff9e9;background:linear-gradient(145deg,var(--gacha-rank-top),var(--gacha-rank-bottom));text-shadow:0 1px 3px #160a20;box-shadow:0 0 9px var(--gacha-rank-glow),inset 0 0 6px #fff5;overflow:hidden}.rs-gacha-character-result:is([data-gacha-rarity=A],[data-gacha-rarity=S],[data-gacha-rarity=SS]) .rarity-badge{position:relative;overflow:hidden;border-color:var(--gacha-rank-light);box-shadow:0 0 16px var(--gacha-rank-glow),inset 0 0 12px #fff5;animation:rs-rank-badge-glow 2.8s ease-in-out infinite}:is(.rs-bundle-card,.rs-gacha-character-result):is([data-gacha-rarity=A],[data-gacha-rarity=S],[data-gacha-rarity=SS]) :is(.rs-bundle-badge,.rarity-badge):after{content:"";position:absolute;pointer-events:none;top:-30%;bottom:-30%;left:-60%;width:45%;background:linear-gradient(90deg,transparent,#fffbe9aa,transparent);transform:translate(-180%) skew(-20deg);animation:rs-rank-shine 3.8s ease-in-out infinite}@keyframes rs-rank-card-glow{0%,to{box-shadow:inset 0 0 14px var(--gacha-rank-soft),0 0 4px var(--gacha-rank-glow)}50%{box-shadow:inset 0 0 24px var(--gacha-rank-soft),0 0 9px var(--gacha-rank-glow)}}@keyframes rs-rank-badge-glow{0%,to{box-shadow:0 0 10px var(--gacha-rank-glow),inset 0 0 8px #fff3}50%{box-shadow:0 0 22px var(--gacha-rank-glow),inset 0 0 12px #fff6}}@keyframes rs-rank-shine{0%,55%{transform:translate(-180%) skew(-20deg)}90%,to{transform:translate(480%) skew(-20deg)}}@media(prefers-reduced-motion:reduce){body.phone-game .release-screen.rs-gacha-screen .rs-bundle-card[data-gacha-rarity],.rs-gacha-character-result[data-gacha-rarity] .rarity-badge{animation:none}:is(.rs-bundle-card,.rs-gacha-character-result)[data-gacha-rarity] :is(.rs-bundle-badge,.rarity-badge):after{display:none;animation:none}}.rs-bundle-art{display:flex;align-items:center;justify-content:center;min-height:0;height:100%;overflow:hidden}.rs-bundle-art :is(.rs-portrait,.rs-item-art,.rs-item-symbol,img){height:100%;max-height:180px;width:100%;max-width:180px;object-fit:contain;opacity:1}.rs-bundle-art .rs-portrait{aspect-ratio:44/54;width:auto;max-width:100%}.rs-bundle-ticket{font-size:32px;color:#e3bd77}.rs-bundle-ticket small{display:block;font-size:11px}.rs-bundle-results>footer{display:flex;align-items:center;justify-content:center;gap:10px;text-align:center}.rs-bundle-results>footer>button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:34px;padding:5px 20px;font-size:14px}.rs-bundle-results>footer>button small{font-size:12px;white-space:nowrap}body .rs-gacha-result .rs-kicker.rs-guarantee-label{display:table;width:max-content;max-width:100%;padding:5px 12px;border:1px solid #b58c48;border-radius:6px;background:#214b3b;color:#fff8e5;font-size:20px;font-weight:800;line-height:1.3;letter-spacing:.04em;text-shadow:none;white-space:nowrap}.rs-bundle-detail{position:relative;max-width:min(760px,92vw);max-height:88vh;padding:26px 18px 14px;background:#142723;color:#fff1d4;border:1px solid #e3bd77;border-radius:12px;overflow:auto}.rs-bundle-detail::backdrop{background:#000a}.rs-bundle-detail>.close{position:absolute;right:6px;top:6px;z-index:2}.rs-bundle-detail>.rs-gacha-result{background:transparent;min-height:190px;padding:10px}.rs-bundle-detail .rs-result-image{background:transparent}.rs-bundle-detail>p{font-size:14px;line-height:1.5}.rs-full-portrait-detail>.rs-gacha-result{height:100%;min-height:0;box-sizing:border-box;gap:22px;padding:18px 12px;align-items:center}.rs-full-portrait-detail .rs-result-image{box-sizing:border-box;width:260px;height:304px;min-height:0;padding:8px;border:1px solid #b99c67;border-radius:10px;background:radial-gradient(ellipse at 50% 65%,#d2b37c29,#fff8e112);box-shadow:inset 0 0 16px #b99c670d;flex-shrink:0}.rs-full-portrait-detail .rs-result-image .rs-portrait{display:block;width:100%;height:100%;max-width:100%;object-fit:contain}.rs-full-portrait-detail:has(>p){display:flex;flex-direction:column}.rs-full-portrait-detail:has(>p)>.rs-gacha-result{height:auto;flex:1}.rs-full-portrait-detail:has(>p) .rs-result-image{width:auto;height:100%;max-height:304px;aspect-ratio:260/304}.rs-full-portrait-detail>p{flex:none;margin:6px 12px 0;max-height:4.5em;overflow:auto;overscroll-behavior:contain}body.phone-game .release-screen.rs-gacha-screen:has(.rs-bundle-results) .rs-content{min-height:0;overflow:hidden}body.phone-game .release-screen.rs-gacha-screen .rs-bundle-pull{border-color:#ffe1a0;background:linear-gradient(120deg,#c89437,#f3d68c 55%,#d7ad54);color:#153b2b}@media(max-height:550px)and (orientation:landscape){body.phone-game .release-screen.rs-gacha-screen .rs-gacha-options{gap:5px;padding:8px 12px}body.phone-game .release-screen.rs-gacha-screen .rs-pull{min-height:58px;padding:5px 10px}body.phone-game .release-screen.rs-gacha-screen .rs-pull>strong{font-size:19px}.rs-bundle-results,.rs-bundle-grid{gap:5px}.rs-bundle-results h2{font-size:18px}}@media(max-width:740px){.rs-bundle-grid{gap:4px}.rs-bundle-results>header p{display:none}.rs-bundle-card>strong{font-size:12px}.rs-bundle-card>small{font-size:10px}.rs-bundle-badge{font-size:9px}.rs-bundle-results>footer>button{min-height:30px;font-size:13px}}body:is(.phone-game,body) .release-screen.rs-gacha-screen .rs-gacha-links{display:flex;flex-direction:column;gap:6px;min-width:0}body:is(.phone-game,body) .release-screen.rs-gacha-screen .rs-pull{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;text-align:center}body:is(.phone-game,body) .release-screen.rs-gacha-screen .rs-pull>span{grid-column:1;grid-row:1}body:is(.phone-game,body) .release-screen.rs-gacha-screen .rs-pull>strong{grid-column:1;grid-row:2;font-size:20px;white-space:normal}body:is(.phone-game,body) .release-screen.rs-gacha-screen .rs-pull>small{grid-column:1;grid-row:3}body:is(.phone-game,body) .release-screen.rs-gacha-screen.rs-gacha-courtyard{--rs-bg:#fff3d9;--rs-text:#382713;--rs-muted:#715935;--rs-border:#a87c37;--rs-accent:#e4bd6a;--rs-on-accent:#173e30;--rs-subtle:#efe1bf;--gacha-forest:#163e30;--gacha-paper:#fff4dc;--gacha-gold:#ad7d31;position:relative;isolation:isolate;padding:0;gap:0;background:url(/assets/brand/gacha-courtyard-v1.webp) center/100% 100% no-repeat,var(--gacha-paper);color-scheme:light;min-height:390px}body.phone-game .release-screen.rs-gacha-screen.rs-gacha-courtyard{min-height:0}body:is(.phone-game,body) .rs-gacha-courtyard .rs-heading{position:absolute;inset:12px 18px auto;z-index:2;height:auto;align-items:flex-start;pointer-events:none}body:is(.phone-game,body) .rs-gacha-courtyard .rs-heading>div:first-child{padding:0 16px 12px;background:radial-gradient(ellipse,#fff5dded 35%,#fff5ddad 60%,#fff5dd00 75%);color:var(--rs-text)}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-heading h1{font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:44px;font-weight:800;letter-spacing:.12em;text-shadow:0 1px #fff6dc}body:is(.phone-game,body) .rs-gacha-courtyard .rs-gacha-subtitle{font-size:13px;letter-spacing:.04em}body:is(.phone-game,body) .rs-gacha-courtyard .rs-heading-tools{gap:10px;align-items:center;pointer-events:auto}body:is(.phone-game,body) .rs-gacha-courtyard .rs-wallet{padding:5px 18px;border:3px double #d6b66e;border-radius:10px;background:linear-gradient(120deg,#123c30f5,#15261ef5);box-shadow:0 3px 9px #36260e55;text-align:center}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-wallet small{display:block;font-size:12px;line-height:1.2;color:var(--gacha-paper)}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-wallet strong{font-family:Georgia,Yu Mincho,serif;font-size:28px;line-height:1.2;white-space:nowrap;color:var(--gacha-paper)}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-wallet strong span{font:14px Yu Gothic UI,Meiryo,sans-serif;margin-left:5px}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-back{min-height:44px;padding:6px 14px;background:var(--gacha-paper);color:var(--rs-text);border:3px double var(--gacha-gold);box-shadow:0 2px 4px #34200d44}body:is(.phone-game,body) .rs-gacha-courtyard .rs-content{position:relative;flex:1;min-height:0;min-width:0;display:flex}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-panel{display:flex;flex:1;flex-direction:column;justify-content:flex-end;min-height:0;width:100%;border:0;border-radius:0;background:none;box-shadow:none}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-stage{display:none}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:82px 40px;align-items:stretch;justify-content:center;gap:4px 32px;width:80%;max-width:850px;margin:0 auto;padding:19px 0 4px;overflow:visible;flex:none}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-options>.rs-pull{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:12px 10px 6px;border:4px double var(--gacha-gold);border-radius:12px;background:linear-gradient(115deg,#fffaf0,#f1dfb7);box-shadow:inset 0 0 0 2px #fff7e0,0 3px #7a501d,0 6px 8px #76502444;color:var(--rs-text)}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-options>.rs-bundle-pull{background:linear-gradient(115deg,#e5bc62,#fff0b4 48%,#d4a444);color:var(--gacha-forest)}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-options>.rs-pull>strong{font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:27px;line-height:1.2;font-weight:900;white-space:nowrap}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-options>.rs-pull>small{font-family:Georgia,Yu Mincho,serif;font-size:23px;line-height:1.15;font-weight:700;white-space:nowrap}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-bundle-pull>span{position:absolute;top:-17px;left:50%;transform:translate(-50%);padding:4px 16px;white-space:nowrap;border:2px solid #c69c53;border-radius:5px;background:var(--gacha-forest);color:var(--gacha-paper);font-size:15px;line-height:1.2;box-shadow:0 2px 4px #36251344}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-links{grid-column:1/-1;flex-direction:row;align-items:stretch;justify-content:center;gap:20px}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-links button{min-height:40px;padding:3px 10px;color:var(--rs-text);background:transparent;box-shadow:none;border:0;border-radius:0;font-size:14px}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-links .rs-pull{display:flex;flex-direction:row;gap:8px;align-items:center}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-links .rs-pull>strong{font-size:14px;white-space:nowrap}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-links .rs-pull>small{font-size:12px;white-space:nowrap}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-info{text-decoration:underline;text-underline-offset:5px}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard button:hover:not(:disabled){background:#fff2cf;color:var(--rs-text);filter:brightness(1.05)}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-options>.rs-pull:disabled{background:linear-gradient(115deg,#e9dfc8,#e2d0aa);color:#71634c;border-color:#b4a183;box-shadow:inset 0 0 0 2px #f3e9d1,0 2px #918068}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-options>.rs-pull:disabled>strong{font-size:20px}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-notice.rs-error{position:absolute;z-index:3;top:85px;left:20%;right:20%;padding:8px 12px;border:1px solid #a64b33;border-radius:6px;background:#fff4df;color:#972c19;box-shadow:0 2px 8px #39200a33}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard button:focus-visible{outline:3px solid #173e30;outline-offset:3px}@media(max-width:700px)and (orientation:portrait){body:is(.phone-game,body) .rs-gacha-courtyard .rs-heading{inset:10px 8px auto;gap:4px}body:is(.phone-game,body) .rs-gacha-courtyard .rs-heading-tools{gap:4px;flex-direction:column}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-wallet strong{font-size:22px}body:is(.phone-game,body) .rs-gacha-courtyard .rs-gacha-subtitle{max-width:130px}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-options{width:94%;gap:4px 10px}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-options>.rs-pull>strong{font-size:18px}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-bundle-pull>span{font-size:11px;padding:4px 6px}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-links{gap:2px}}.rs-bundle-card[data-gacha-rarity=SS] .rs-bundle-badge{width:42px;font-size:22px}body.phone-game .rs-gacha-result .rs-kicker:not(.rs-guarantee-label){color:inherit}.rs-gacha-result .rs-result-description{margin:.65em 0 0;line-height:1.6;overflow-wrap:anywhere}body.phone-game .rs-gacha-result .rs-result-copy>p.rs-result-description{color:inherit;font-size:14px}body.phone-game .rs-bundle-results>header p[data-auto-sale-receipt]{display:block;min-width:0;max-width:62%;flex:1;text-align:right;font-size:max(12px,calc(12px / var(--phone-scale,1)));line-height:1.3;overflow-wrap:anywhere}.rs-gacha-exchanges{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;min-width:0}.rs-gacha-exchanges:has(>button:only-child){grid-template-columns:minmax(0,1fr)}body .release-screen .rs-gacha-exchange{display:flex;align-items:center;gap:12px;min-width:0;min-height:58px;padding:8px 12px;border:2px solid #8c9f92;border-radius:10px;background:linear-gradient(115deg,#1c5142,#102e27);color:#fff3d4;box-shadow:0 3px #483a1e,0 4px 8px #36240d33;text-align:left}body .release-screen .rs-gacha-exchange[data-rs-exchange-tier=S]{border-color:#bb913e;background:linear-gradient(115deg,#f7e8bd,#dfbe71);color:#35260e}.rs-ticket-symbol{flex:none;display:grid;place-items:center;width:36px;height:40px;border:1px solid #c2cebf;border-radius:4px;outline:1px solid #788c7b;outline-offset:-5px;background:#e8e7d0;color:#22483a;font:800 26px Georgia,serif}[data-rs-exchange-tier=S] .rs-ticket-symbol{border-color:#9d742c;outline-color:#b48c3c;background:#e2bd66;color:#4e3613}.rs-ticket-copy{display:flex;flex:1;align-items:baseline;flex-wrap:wrap;gap:2px 12px;min-width:0}.rs-ticket-copy strong{font-size:18px;font-weight:800;line-height:1.3;white-space:nowrap}.rs-ticket-copy small{font-size:13px;line-height:1.3;white-space:nowrap;opacity:.85}.rs-ticket-arrow{font-size:27px;line-height:1;flex:none}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard.rs-gacha-has-exchanges .rs-gacha-options{grid-template-rows:82px auto 36px;gap:10px 24px;padding-bottom:8px}body:is(.phone-game,body) .rs-gacha-courtyard .rs-gacha-exchanges{gap:24px}body:is(.phone-game,body) .rs-gacha-courtyard .rs-gacha-exchange:hover:not(:disabled){background:linear-gradient(115deg,#28614f,#184337);color:#fff3d4}body:is(.phone-game,body) .rs-gacha-courtyard [data-rs-exchange-tier=S]:hover:not(:disabled){background:linear-gradient(115deg,#fff1cb,#e7ca82);color:#35260e}@media(max-width:900px){body .release-screen .rs-gacha-exchange{gap:7px;padding:6px 8px}.rs-ticket-symbol{width:29px;height:34px;font-size:23px}.rs-ticket-copy{gap:1px 7px}.rs-ticket-copy strong{font-size:15px}.rs-ticket-copy small{font-size:12px}.rs-gacha-exchanges{gap:10px}body:is(.phone-game,body) .rs-gacha-courtyard .rs-gacha-exchanges{gap:10px}}@media(max-width:550px)and (orientation:portrait){.rs-gacha-exchanges{grid-template-columns:minmax(0,1fr)}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard.rs-gacha-has-exchanges .rs-gacha-options{gap:6px 10px}.rs-ticket-copy strong{font-size:16px}.rs-gacha-exchanges .rs-gacha-exchange{min-height:48px}}@media(max-height:550px)and (orientation:landscape){body:is(.phone-game,body) .release-screen.rs-gacha-screen.rs-gacha-has-exchanges:not(.rs-gacha-courtyard) .rs-gacha-options{gap:2px;padding:2px}body:is(.phone-game,body) .release-screen.rs-gacha-screen.rs-gacha-has-exchanges:not(.rs-gacha-courtyard) .rs-gacha-options>.rs-pull{min-height:48px;padding:3px;gap:1px}body:is(.phone-game,body) .release-screen.rs-gacha-screen.rs-gacha-has-exchanges:not(.rs-gacha-courtyard) .rs-gacha-options>.rs-pull>strong{font-size:17px;line-height:1.1}body:is(.phone-game,body) .release-screen.rs-gacha-screen.rs-gacha-has-exchanges:not(.rs-gacha-courtyard) .rs-gacha-options>.rs-pull>small{font-size:13px;line-height:1.1}body:is(.phone-game,body) .release-screen.rs-gacha-screen.rs-gacha-has-exchanges:not(.rs-gacha-courtyard) .rs-gacha-options>.rs-pull>span{font-size:11px;line-height:1.1}body:is(.phone-game,body) .release-screen.rs-gacha-screen.rs-gacha-has-exchanges:not(.rs-gacha-courtyard) .rs-gacha-exchanges{grid-template-columns:minmax(0,1fr);gap:4px}body:is(.phone-game,body) .release-screen.rs-gacha-screen.rs-gacha-has-exchanges:not(.rs-gacha-courtyard) .rs-gacha-exchange{min-height:44px;padding:4px 8px}body:is(.phone-game,body) .release-screen.rs-gacha-screen.rs-gacha-has-exchanges:not(.rs-gacha-courtyard) .rs-ticket-symbol{width:25px;height:28px;font-size:21px}body:is(.phone-game,body) .release-screen.rs-gacha-screen.rs-gacha-has-exchanges:not(.rs-gacha-courtyard) .rs-gacha-links{gap:4px;flex-direction:row;align-items:stretch}body:is(.phone-game,body) .release-screen.rs-gacha-screen.rs-gacha-has-exchanges:not(.rs-gacha-courtyard) .rs-gacha-links>.rs-pull{display:flex;flex:1;min-width:0;min-height:36px;padding:3px;flex-direction:column;align-items:center;gap:0}body:is(.phone-game,body) .release-screen.rs-gacha-screen.rs-gacha-has-exchanges:not(.rs-gacha-courtyard) .rs-gacha-links>.rs-pull strong{font-size:14px;line-height:1.2}body:is(.phone-game,body) .release-screen.rs-gacha-screen.rs-gacha-has-exchanges:not(.rs-gacha-courtyard) .rs-gacha-info{flex:1;min-width:0;min-height:26px;padding:3px;font-size:12px;line-height:1.2}}body .rs-wallet .rs-gacha-ticket-balance{display:block;margin-top:3px;padding-top:3px;border-top:1px solid #d6b66e66;font-size:12px;line-height:1.3;color:inherit;white-space:nowrap}body .rs-gacha-courtyard .rs-wallet .rs-gacha-ticket-balance{color:var(--gacha-paper)}.rs-gacha-ticket-balance b{font-size:14px;margin:0 3px}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-links .rs-ticket-bundle{border:1px solid var(--gacha-gold);border-radius:6px;background:#f5e5b8;padding:3px 9px}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-links:has(.rs-ticket-bundle){gap:10px}@media(max-width:700px)and (orientation:portrait){body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-links:has(.rs-ticket-bundle){flex-wrap:wrap;gap:3px 8px}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-options:has(.rs-ticket-bundle){grid-template-rows:82px auto auto}body:is(.phone-game,body) .release-screen.rs-gacha-courtyard .rs-gacha-links .rs-ticket-bundle{flex-direction:column;gap:0}}@media(max-height:550px)and (orientation:landscape){body:is(.phone-game,body) .release-screen.rs-gacha-screen:not(.rs-gacha-courtyard) .rs-gacha-links:has(.rs-ticket-bundle){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}body:is(.phone-game,body) .release-screen.rs-gacha-screen:not(.rs-gacha-courtyard) .rs-gacha-links:has(.rs-ticket-bundle) .rs-gacha-info{grid-column:1/-1}}@media(max-height:550px)and (orientation:landscape){body:is(.phone-game,body) .release-screen.rs-gacha-screen:not(.rs-gacha-courtyard) .rs-gacha-links:has(.rs-ticket-bundle){gap:2px}body:is(.phone-game,body) .release-screen.rs-gacha-screen:not(.rs-gacha-courtyard) .rs-gacha-links:has(.rs-ticket-bundle)>.rs-pull{padding:2px}body:is(.phone-game,body) .release-screen.rs-gacha-screen:not(.rs-gacha-courtyard) .rs-gacha-links:has(.rs-ticket-bundle)>.rs-pull>strong{font-size:14px;line-height:1.1}body:is(.phone-game,body) .release-screen.rs-gacha-screen:not(.rs-gacha-courtyard) .rs-gacha-links:has(.rs-ticket-bundle)>.rs-pull>small{font-size:12px;line-height:1.1}}body .release-screen.rs-gacha-screen .go-canvas,.rs-gacha-confirm{--bg:#f5e9cb;--bg-elevated:#fff8e9;--bg-subtle:#ead8b1;--text:#382915;--text-muted:#705a38;--border:#b89250;--accent:#164535;--accent-hover:#225c47;--accent-contrast:#fff2ce;--green-deep:#0c3027;--green-light:#366b51;--gold:#d5ad5f;--gold-light:#fff0b8;--gold-mid:#ecd291;--gold-edge:#946728;--gold-shadow:#624922;--cream-glow:#fffdf3;--ink-shadow:#31221530;--shadow-deep:#261b1844;--outer:#ded7c9;--font-sans:"Yu Gothic UI",Meiryo,sans-serif;--font-title:"Yu Mincho","Hiragino Mincho ProN",serif;--radius:12px;--radius-lg:18px;--dur-fast:.15s;--ease:cubic-bezier(.4,0,.2,1);--shadow-sm:0 3px 0 var(--gold-shadow),0 5px 10px var(--ink-shadow);--shadow-md:0 4px 14px var(--ink-shadow),0 12px 26px var(--shadow-deep)}body .release-screen.rs-gacha-screen .go-canvas .go-symbols{position:absolute;width:0;height:0;overflow:hidden}body .release-screen.rs-gacha-screen .go-canvas .go-icon{fill:none;stroke:currentColor;stroke-width:1.2;stroke-linejoin:round;stroke-linecap:round;pointer-events:none}body .release-screen.rs-gacha-screen .go-canvas{position:absolute;left:0;top:0;width:1280px;height:620px;overflow:hidden;transform-origin:top left;background:var(--bg);border:1px solid var(--gold-edge)}body .release-screen.rs-gacha-screen .go-canvas button{position:relative;font:inherit;cursor:pointer;border:1px solid var(--border);border-radius:var(--radius);color:var(--text);background:var(--bg-elevated);transition:filter var(--dur-fast) var(--ease),box-shadow var(--dur-fast) var(--ease)}body .release-screen.rs-gacha-screen .go-canvas button:hover{filter:brightness(1.055)}body .release-screen.rs-gacha-screen .go-canvas button:active{filter:brightness(.96)}body .release-screen.rs-gacha-screen .go-canvas button:focus-visible{outline:3px solid var(--accent-hover);outline-offset:4px}body .release-screen.rs-gacha-screen .go-canvas .go-corner{position:absolute;width:29px;height:29px;color:var(--gold-edge);z-index:1}body .release-screen.rs-gacha-screen .go-canvas .go-corner.go-tl{top:6px;left:6px}body .release-screen.rs-gacha-screen .go-canvas .go-corner.go-tr{top:6px;right:6px;transform:scaleX(-1)}body .release-screen.rs-gacha-screen .go-canvas .go-corner.go-bl{bottom:6px;left:6px;transform:scaleY(-1)}body .release-screen.rs-gacha-screen .go-canvas .go-corner.go-br{bottom:6px;right:6px;transform:scale(-1)}body .release-screen.rs-gacha-screen .go-canvas .go-sidebar{position:absolute;inset:0 auto 0 0;width:296px;padding:20px 21px;display:flex;flex-direction:column;gap:16px;z-index:2;background:linear-gradient(90deg,var(--bg-subtle),var(--bg-elevated) 9%,var(--bg-elevated) 91%,var(--bg-subtle));border-right:5px ridge var(--gold);box-shadow:3px 0 10px var(--ink-shadow)}body .release-screen.rs-gacha-screen .go-canvas .go-sidebar:before{content:"";position:absolute;inset:7px 10px;pointer-events:none;border:1px solid color-mix(in srgb,var(--border) 52%,transparent);border-radius:5px}body .release-screen.rs-gacha-screen .go-canvas .go-heading{position:relative;min-height:84px;display:flex;align-items:center;justify-content:center;padding:2px 0 14px;border:3px double var(--gold);border-radius:var(--radius);color:var(--gold-light);background:radial-gradient(ellipse at 50% 0,var(--green-light),transparent 85%),linear-gradient(var(--accent),var(--green-deep));box-shadow:0 2px 0 var(--gold-shadow),inset 0 1px 0 var(--gold-light)}body .release-screen.rs-gacha-screen .go-canvas .go-heading h1{font:800 42px/1.15 var(--font-title);letter-spacing:.13em;padding-left:.13em;text-shadow:0 2px 2px var(--green-deep),0 -1px 0 var(--gold-mid)}body .release-screen.rs-gacha-screen .go-canvas .go-heading .go-corner{color:var(--gold);width:25px;height:25px}body .release-screen.rs-gacha-screen .go-canvas .go-title-scroll{position:absolute;bottom:8px;left:26px;width:190px;height:20px;color:var(--gold)}body .release-screen.rs-gacha-screen .go-canvas .go-gift{position:relative;min-height:120px;padding:11px 20px 10px;border:3px double var(--border);border-radius:var(--radius);background:radial-gradient(ellipse at 50% 35%,var(--cream-glow),transparent 70%),linear-gradient(120deg,var(--bg-subtle),var(--gold-light) 45%,var(--bg-subtle));text-align:center;box-shadow:inset 0 0 0 3px color-mix(in srgb,var(--cream-glow) 65%,transparent),0 2px 5px var(--ink-shadow)}body .release-screen.rs-gacha-screen .go-canvas .go-gift>span:not(.go-gift-rule){position:relative;font-size:21px;line-height:1.4;font-weight:700;z-index:1}body .release-screen.rs-gacha-screen .go-canvas .go-gift strong{position:relative;display:block;font:800 52px/1.13 var(--font-title);color:var(--accent);z-index:1;text-shadow:0 1px 0 var(--cream-glow)}body .release-screen.rs-gacha-screen .go-canvas .go-gift small{font:700 25px/1 var(--font-title);margin-left:7px;color:var(--text)}body .release-screen.rs-gacha-screen .go-canvas .go-gift .go-gift-daily{font-size:21px;margin:0 5px 0 0}body .release-screen.rs-gacha-screen .go-canvas .go-laurel{position:absolute;width:31px;height:66px;top:37px;color:var(--gold-edge);opacity:.65}body .release-screen.rs-gacha-screen .go-canvas .go-laurel.go-left{left:8px}body .release-screen.rs-gacha-screen .go-canvas .go-laurel.go-right{right:8px;transform:scaleX(-1)}body .release-screen.rs-gacha-screen .go-canvas .go-gift-rule{display:block;margin:2px auto 0;width:112px;height:1px;background:linear-gradient(90deg,transparent,var(--border),transparent)}body .release-screen.rs-gacha-screen .go-canvas .go-balances{padding:3px 3px 6px;border-block:1px solid var(--border);display:grid;grid-template-rows:42px 42px;gap:3px;box-shadow:0 1px 0 var(--cream-glow),inset 0 1px 0 var(--cream-glow)}body .release-screen.rs-gacha-screen .go-canvas .go-balance-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}body .release-screen.rs-gacha-screen .go-canvas .go-balance-row>span{font-size:20px;color:var(--text-muted);white-space:nowrap}body .release-screen.rs-gacha-screen .go-canvas .go-balance-row strong{font:800 30px/1.1 var(--font-title);white-space:nowrap}body .release-screen.rs-gacha-screen .go-canvas .go-balance-row strong small{font:600 17px/1 var(--font-sans);margin-left:4px}body .release-screen.rs-gacha-screen .go-canvas .go-balance-row.go-ticket strong{color:var(--accent)}body .release-screen.rs-gacha-screen .go-canvas .go-balance-row.go-ticket.empty strong{color:var(--text-muted)}body .release-screen.rs-gacha-screen .go-canvas .go-exchange-list{display:grid;gap:13px}body .release-screen.rs-gacha-screen .go-canvas .go-exchange{display:flex;align-items:center;gap:8px;min-height:56px;padding:7px 10px;border:3px double var(--border);background:linear-gradient(120deg,var(--bg-elevated),var(--bg-subtle));box-shadow:0 2px 0 var(--border),inset 0 1px 0 var(--cream-glow)}body .release-screen.rs-gacha-screen .go-canvas .go-rank{position:relative;flex:none;display:grid;place-items:center;width:34px;height:36px;font:800 28px/1 var(--font-title);border:3px double var(--gold);border-radius:5px 5px 13px 13px;background:linear-gradient(140deg,var(--green-light),var(--green-deep));color:var(--gold-light);text-shadow:0 1px 0 var(--green-deep);box-shadow:0 2px 3px var(--ink-shadow)}body .release-screen.rs-gacha-screen .go-canvas .go-exchange b{font-size:19px;white-space:nowrap}body .release-screen.rs-gacha-screen .go-canvas .go-exchange .go-qty{font-size:18px;margin-left:auto;white-space:nowrap}body .release-screen.rs-gacha-screen .go-canvas .go-exchange .go-arrow{font-size:24px;line-height:1;color:var(--gold-edge)}body .release-screen.rs-gacha-screen .go-canvas .go-exchange.go-s{background:linear-gradient(115deg,var(--gold-light),var(--gold-mid))}body .release-screen.rs-gacha-screen .go-canvas .go-exchange.go-s .go-rank{color:var(--text);background:linear-gradient(135deg,var(--gold-light),var(--gold));border-color:var(--gold-edge);text-shadow:0 1px 0 var(--gold-light)}body .release-screen.rs-gacha-screen .go-canvas .go-details{display:flex;align-items:center;justify-content:space-between;margin-top:auto;min-height:44px;padding:8px 10px;font-size:18px;white-space:nowrap;border:3px double var(--border);background:linear-gradient(var(--bg-elevated),var(--bg));box-shadow:inset 0 1px 0 var(--cream-glow)}body .release-screen.rs-gacha-screen .go-canvas .go-details span{font-size:23px;color:var(--gold-edge)}body .release-screen.rs-gacha-screen .go-canvas .go-main{position:absolute;inset:0 0 0 296px;background:var(--bg)}body .release-screen.rs-gacha-screen .go-canvas .go-illustration{position:absolute;inset:0;background:url(/assets/brand/gacha-courtyard-v1.webp) center 20%/auto 106% no-repeat,var(--bg)}body .release-screen.rs-gacha-screen .go-canvas .go-main:after{content:"";position:absolute;inset:4px;pointer-events:none;border:1px solid color-mix(in srgb,var(--gold-light) 60%,transparent)}body .release-screen.rs-gacha-screen .go-canvas .go-back{position:absolute;top:20px;right:24px;min-width:104px;min-height:45px;padding:6px 15px;border:3px double var(--gold);background:linear-gradient(var(--bg-elevated),var(--bg));box-shadow:var(--shadow-sm);font-size:20px;z-index:2}body .release-screen.rs-gacha-screen .go-canvas .go-back>span{font-size:25px;line-height:1;color:var(--gold-edge)}body .release-screen.rs-gacha-screen .go-canvas .go-actions{position:absolute;inset:auto 24px 23px;display:grid;gap:20px;z-index:2}body .release-screen.rs-gacha-screen .go-canvas .go-single-row{display:grid;grid-template-columns:1fr 1fr;gap:22px}body .release-screen.rs-gacha-screen .go-canvas .go-draw{position:relative;min-width:0;min-height:126px;padding:22px 22px 14px;border:2px solid var(--gold-edge);background:linear-gradient(166deg,var(--cream-glow),var(--bg-elevated) 42%,var(--bg-subtle));box-shadow:inset 0 0 0 2px var(--gold-light),inset 0 0 0 4px var(--border),var(--shadow-sm);text-align:center;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}body .release-screen.rs-gacha-screen .go-canvas .go-draw:before{content:"";position:absolute;inset:6px;border:1px solid color-mix(in srgb,var(--gold-edge) 65%,transparent);border-radius:8px;pointer-events:none}body .release-screen.rs-gacha-screen .go-canvas .go-draw .go-name{position:relative;font:800 32px/1.22 var(--font-title);white-space:nowrap;text-shadow:0 1px 0 var(--cream-glow);z-index:2}body .release-screen.rs-gacha-screen .go-canvas .go-draw .go-price{position:relative;font:800 27px/1.2 var(--font-title);letter-spacing:.02em;white-space:nowrap;z-index:2}body .release-screen.rs-gacha-screen .go-canvas .go-draw.go-single.go-ticket .go-price{color:var(--accent)}body .release-screen.rs-gacha-screen .go-canvas .go-draw.go-ten{background:radial-gradient(ellipse at 18% 0,var(--cream-glow),transparent 60%),linear-gradient(150deg,var(--gold-light),var(--gold-mid) 40%,var(--gold));border-color:var(--gold-shadow)}body .release-screen.rs-gacha-screen .go-canvas .go-draw.go-ten .go-name{color:var(--accent);font-size:32px}body .release-screen.rs-gacha-screen .go-canvas .go-draw.go-ten .go-price{color:var(--accent)}body .release-screen.rs-gacha-screen .go-canvas .go-ten-bonus{position:absolute;left:50%;top:-15px;transform:translate(-50%);min-width:248px;padding:4px 18px 5px;border:3px double var(--gold);border-radius:5px;background:linear-gradient(var(--green-light),var(--accent));color:var(--gold-light);font:700 19px/1.1 var(--font-sans);box-shadow:0 2px 3px var(--ink-shadow);white-space:nowrap;z-index:3}body .release-screen.rs-gacha-screen .go-canvas .go-draw.go-batch{min-height:80px;padding:15px 27px;flex-direction:row;justify-content:flex-start;gap:20px;border-color:var(--gold-edge);background:radial-gradient(ellipse at 30% 0,var(--green-light),transparent 75%),linear-gradient(var(--accent),var(--green-deep));color:var(--accent-contrast);box-shadow:inset 0 0 0 2px var(--gold),inset 0 0 0 4px var(--green-deep),var(--shadow-sm)}body .release-screen.rs-gacha-screen .go-canvas .go-draw.go-batch:before{border-color:color-mix(in srgb,var(--gold) 60%,transparent)}body .release-screen.rs-gacha-screen .go-canvas .go-draw.go-batch .go-corner{color:var(--gold);width:22px;height:22px}body .release-screen.rs-gacha-screen .go-canvas .go-draw.go-batch .go-name{font-size:28px;text-shadow:0 2px 2px var(--green-deep)}body .release-screen.rs-gacha-screen .go-canvas .go-draw.go-batch .go-price{margin-left:auto;font-size:26px}body .release-screen.rs-gacha-screen .go-canvas .go-draw.go-batch[hidden]{display:none}body .release-screen.rs-gacha-screen .go-canvas .go-batch-icon{width:48px;height:40px;color:var(--gold-light);flex:none;stroke-width:1.4}body .release-screen.rs-gacha-screen .go-canvas .go-batch-title{display:flex;align-items:center;gap:15px}body .release-screen.rs-gacha-screen .go-canvas .go-batch-arrow{font:36px/1 var(--font-title);color:var(--gold)}body .release-screen.rs-gacha-screen .go-canvas .go-bonus{display:inline-block;padding:4px 8px;border:1px solid var(--gold);border-radius:4px;background:var(--gold-light);color:var(--text);font-size:17px;line-height:1.3;font-weight:700;white-space:nowrap}body .release-screen.rs-gacha-screen .go-canvas .go-bonus[hidden]{display:none}.rs-gacha-confirm{width:550px;max-width:90vw;margin:auto;padding:28px 30px;border:5px double var(--border);border-radius:var(--radius-lg);color:var(--text);background:var(--bg-elevated);text-align:center;box-shadow:var(--shadow-md)}.rs-gacha-confirm::backdrop{background:color-mix(in srgb,var(--accent) 60%,transparent);backdrop-filter:blur(3px)}.rs-gacha-confirm h2{font-size:27px;margin:0 0 18px}.rs-gacha-confirm .times{font-size:62px;font-weight:800;color:var(--accent);line-height:1.2}.rs-gacha-confirm .times span{font-size:26px;margin-left:6px}.rs-gacha-confirm .usage{margin-top:16px;font-size:24px}.rs-gacha-confirm .remaining{margin-top:8px;color:var(--text-muted);font-size:19px}.rs-gacha-confirm .buttons{display:grid;grid-template-columns:1fr 1.45fr;gap:20px;margin-top:28px}.rs-gacha-confirm button{min-height:56px;padding:9px 12px;font-size:20px;font-weight:700}.rs-gacha-confirm .accept{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast)}body .release-screen.rs-gacha-landing{padding:0;overflow:hidden;background:var(--rs-elevated);min-height:0;display:flex;flex-direction:column}body .release-screen.rs-gacha-landing>.rs-content{position:relative;flex:1;min-height:0;padding:0;overflow:hidden;display:block;width:100%}body .release-screen.rs-gacha-landing>.rs-notice{position:absolute;z-index:5;inset:12px 20% auto;margin:0;pointer-events:none}body .release-screen.rs-gacha-landing>.rs-notice:empty{display:none}body .release-screen.rs-gacha-landing>.rs-notice:not(:empty){padding:8px 12px;background:#fff4df;border:1px solid #a64b33;border-radius:6px;color:#8a2518}body .rs-gacha-screen .go-viewport{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden}body .rs-gacha-screen .go-fit{position:relative;flex:none}body .release-screen.rs-gacha-screen .go-canvas,body .release-screen.rs-gacha-screen .go-canvas *{box-sizing:border-box}body .release-screen.rs-gacha-screen .go-canvas{font-family:var(--font-sans);font-size:22px;line-height:1.35;color:var(--text)}body .release-screen.rs-gacha-screen .go-canvas h1,body .release-screen.rs-gacha-screen .go-canvas button{margin:0}body .release-screen.rs-gacha-screen .go-canvas button{font-family:var(--font-sans);min-width:0;text-transform:none}body .release-screen.rs-gacha-screen .go-canvas svg{display:block;max-width:100%;pointer-events:none}body .release-screen.rs-gacha-screen .go-canvas .go-heading h1{color:var(--gold-light);font:800 42px/1.15 var(--font-title);letter-spacing:.13em}body .release-screen.rs-gacha-screen .go-canvas .go-back{font-size:20px}body .release-screen.rs-gacha-screen .go-canvas .go-draw{font-family:var(--font-title)}body .release-screen.rs-gacha-screen .go-canvas button:disabled{cursor:default;filter:saturate(.25);opacity:.68}body .release-screen.rs-gacha-screen .go-canvas button:hover:not(:disabled){filter:brightness(1.055)}body .release-screen.rs-gacha-screen .go-canvas .go-details{margin-top:auto}body .release-screen.rs-gacha-screen .go-canvas .go-draw[hidden],body .release-screen.rs-gacha-screen .go-canvas .go-bonus[hidden]{display:none}.rs-gacha-confirm{max-height:calc(100dvh - 24px);overflow:auto;font-family:var(--font-sans);line-height:1.35}.rs-gacha-confirm button{border:1px solid var(--border);border-radius:var(--radius);color:var(--text);background:var(--bg-elevated);cursor:pointer}.rs-gacha-confirm button:focus-visible{outline:3px solid var(--accent-hover);outline-offset:3px}.rs-gacha-confirm p{margin-bottom:0}.rs-gacha-confirm .buttons{margin-top:22px}.rs-bundle-results.rs-small-bundle .rs-bundle-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(var(--gacha-result-rows),minmax(0,1fr));max-width:920px;width:100%;justify-self:center}.rs-bundle-results.rs-small-bundle .rs-bundle-card{min-height:0}@media(max-height:450px){.rs-gacha-confirm{padding:14px 24px}.rs-gacha-confirm h2{font-size:22px;margin-bottom:10px}.rs-gacha-confirm .times{font-size:40px}.rs-gacha-confirm .usage{font-size:20px;margin-top:8px}.rs-gacha-confirm .remaining{font-size:17px}.rs-gacha-confirm .buttons{margin-top:16px}.rs-gacha-confirm button{min-height:44px}}@media(prefers-reduced-motion:reduce){body .release-screen.rs-gacha-screen .go-canvas button{transition:none}}body .rs-gacha-screen .go-portrait-view{display:block;overflow:auto}body .release-screen.rs-gacha-screen .go-canvas.go-portrait{position:relative;width:100%;height:auto;overflow:visible}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-sidebar{position:relative;width:100%;padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:12px;border-right:0;border-bottom:4px ridge var(--gold)}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-heading{grid-column:1/-1;min-height:70px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-title-scroll{left:50%;transform:translate(-50%)}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-gift{padding:10px 5px;min-height:105px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-gift>span:not(.go-gift-rule){font-size:17px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-gift strong{font-size:40px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-gift small{font-size:20px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-laurel{width:22px;height:50px;top:40px;opacity:.4}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-balances{grid-template-rows:1fr 1fr;gap:5px;padding:5px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-balance-row{flex-wrap:wrap;gap:1px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-balance-row>span{font-size:17px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-balance-row strong{margin-left:auto;font-size:24px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-exchange-list{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-exchange{gap:5px;padding:6px;flex-wrap:wrap}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-exchange b{font-size:14px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-exchange .go-qty{font-size:15px;margin-left:auto}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-exchange .go-arrow{display:none}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-rank{width:27px;height:30px;font-size:23px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-details{grid-column:1/-1;min-height:42px;font-size:17px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-main{position:relative;inset:auto;min-height:410px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-illustration{background-size:auto 106%}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-back{top:12px;right:12px;font-size:17px;min-height:42px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-actions{inset:auto 12px 18px;gap:16px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-single-row{gap:12px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-draw{min-height:100px;padding:19px 6px 12px;gap:9px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-draw .go-name,body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-draw.go-ten .go-name{font-size:20px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-draw .go-price{font-size:19px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-corner{width:18px;height:18px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-ten-bonus{font-size:11px;min-width:0;padding:4px 6px;top:-12px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-draw.go-batch{min-height:68px;padding:12px 16px;gap:9px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-batch-icon{width:30px;height:26px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-batch-title{gap:4px;flex-direction:column;align-items:flex-start}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-bonus{font-size:12px;padding:1px 5px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-batch-arrow{display:none}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-draw.go-batch .go-price{font-size:18px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-draw.go-ten .go-name{font-size:16px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-draw.go-batch{display:grid;grid-template-columns:30px minmax(0,1fr);gap:4px 10px;min-height:85px}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-batch-icon{grid-row:1/3}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-batch-title{grid-column:2;flex-direction:row;flex-wrap:wrap}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-draw.go-batch .go-price{grid-column:2;margin-left:0;justify-self:start}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-batch-title .go-name{font-size:20px}body .release-screen.rs-gacha-screen .go-canvas .go-draw.go-single{color:var(--text)}body .release-screen.rs-gacha-screen .go-canvas .go-draw:disabled{background:linear-gradient(var(--bg-elevated),var(--bg-subtle));color:var(--text-muted);border-color:var(--border);opacity:.8;filter:saturate(.4)}body .release-screen.rs-gacha-screen .go-canvas .go-draw:disabled .go-name,body .release-screen.rs-gacha-screen .go-canvas .go-draw:disabled .go-price{color:var(--text-muted);text-shadow:none}body.phone-game .release-screen.rs-gacha-screen.rs-gacha-landing{width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;gap:0;background:#f5e9cb}body.phone-game .release-screen.rs-gacha-screen .rs-gacha-options>.rs-pull[data-rs-draw=ticket]{background:var(--rs-accent);color:var(--rs-on-accent);border-color:var(--rs-accent)}body.phone-game dialog:not(#orientation-gate).rs-gacha-confirm{zoom:1;width:min(550px,calc(100vw - 24px));height:auto;min-height:0;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:28px 30px;border:5px double var(--border);border-radius:var(--radius-lg);color:var(--text);background:var(--bg-elevated);overflow:auto;box-shadow:var(--shadow-md)}@media(max-height:450px){body.phone-game dialog:not(#orientation-gate).rs-gacha-confirm{padding:14px 24px}}body .release-screen.rs-gacha-screen .go-canvas.go-portrait .go-gift .go-gift-daily{font-size:17px}body .release-screen.rs-gacha-screen>.rs-notice.rs-persistent:not(:empty){position:absolute;z-index:8;inset:12px 20% auto;transform:none;clip-path:none;white-space:normal;overflow:visible;width:auto;height:auto;min-height:0;margin:0;padding:8px 12px;border:1px solid var(--rs-border);border-radius:6px;background:#fff4df;color:#705a38;pointer-events:none}body.phone-game .release-screen.rs-shop-catalogue{--rs-bg:#f5efe3;--rs-elevated:#fffaf0;--rs-subtle:#eee1c5;--rs-text:#372c22;--rs-muted:#786d5e;--rs-border:#d7cbb7;--rs-accent:#94672e;--rs-accent-hover:#62472f;--rs-on-accent:#fff8ed;padding:0;gap:0;background:var(--rs-bg);color:var(--rs-text);color-scheme:light}body.phone-game .rs-shop-catalogue .rs-content{display:grid;grid-template-columns:29% minmax(0,1fr);gap:0;height:100%;min-height:0;overflow:hidden;padding:0}body.phone-game .rs-shop-catalogue .shop-scene{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:0;padding:22px;background:linear-gradient(180deg,#170e0955,transparent 35%,transparent 65%,#170e0988),url(/assets/screens/shop-interior-v1.webp) center/cover;color:#fff7e6}body.phone-game .rs-shop-catalogue .shop-scene h1{font:500 clamp(26px,3vw,46px)/1.25 "Yu Mincho","Hiragino Mincho ProN",serif;letter-spacing:.16em;margin:0;color:#fff9ed;text-shadow:0 2px 8px #160f09}body.phone-game .rs-shop-catalogue .shop-scene-title p{margin:6px 0;font-size:13px;letter-spacing:.14em;color:#fff9ed;text-shadow:0 1px 5px #160f09}body.phone-game .rs-shop-catalogue .shop-scene-actions{display:flex;align-items:flex-start;flex-direction:column;gap:6px}body.phone-game .rs-shop-catalogue .shop-scene-actions button{background:#251c15c9;color:#fff5df;border:1px solid #b7946377;border-radius:3px;font-size:13px;min-height:36px;padding:6px 12px;max-width:100%;text-align:left}body.phone-game .rs-shop-catalogue .shop-scene-actions [data-rs-home]{min-width:0;font-size:12px!important;min-height:32px;background:transparent;border-color:transparent}body.phone-game .rs-shop-catalogue .shop-catalogue{display:flex;flex-direction:column;min-width:0;min-height:0;padding:0 18px;background:#f5efe3}body.phone-game .rs-shop-catalogue .shop-catalogue-header{display:flex;align-items:center;gap:10px;min-height:57px;border-bottom:1px solid #d7cbb788;flex:none}body.phone-game .rs-shop-catalogue .shop-shelves{display:flex;gap:15px;min-width:0;align-self:stretch;align-items:stretch}body.phone-game .rs-shop-catalogue .shop-shelves button{padding:7px 0 5px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;font-size:16px;white-space:nowrap;color:#766854;font-family:Yu Mincho,Hiragino Mincho ProN,serif}body.phone-game .rs-shop-catalogue .shop-shelves button[aria-pressed=true]{border-bottom-color:#94672e;color:#34271a;font-weight:700}body.phone-game .rs-shop-catalogue .shop-wallet-slot{margin-left:auto;white-space:nowrap}body.phone-game .rs-shop-catalogue .rs-wallet strong{font:500 23px/1.2 Georgia,Yu Mincho,serif;color:#51402a}body.phone-game .rs-shop-catalogue .rs-wallet span{font:inherit;font-size:12px;margin-left:4px}body.phone-game .rs-shop-catalogue .shop-search-toggle{padding:6px;min-width:34px;min-height:36px;border:0;background:transparent;color:#51402a}body.phone-game .rs-shop-catalogue .shop-search-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}body.phone-game .rs-shop-catalogue .shop-filters{display:flex;gap:8px;padding:6px 0;flex:none}body.phone-game .rs-shop-catalogue .shop-filters :is(input,select){height:34px;min-height:34px;border:1px solid var(--rs-border);border-radius:3px;background:#fffaf1;color:var(--rs-text);padding:4px 8px;font-size:14px;min-width:0}body.phone-game .rs-shop-catalogue .shop-filters input{flex:1;width:0}body.phone-game .rs-shop-catalogue .shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));flex:1;min-height:0;gap:0;padding-top:8px;overflow:hidden}body.phone-game .rs-shop-catalogue .shop-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:0;padding:7px 10px;border:0;border-right:1px solid #d7cbb777;border-bottom:1px solid #d7cbb777;border-radius:0;background:transparent;box-shadow:none;color:var(--rs-text);position:relative;gap:3px;overflow:hidden;text-align:center}body.phone-game .rs-shop-catalogue .shop-tile:nth-child(3n){border-right-color:transparent}body.phone-game .rs-shop-catalogue .shop-tile[aria-pressed=true]{background:linear-gradient(120deg,#ead9aeaa,#eeddb955);box-shadow:inset 3px 0 #9c702f}body.phone-game .rs-shop-catalogue .shop-tile-art{display:flex;justify-content:center;align-items:center;flex:1;min-height:0;width:100%;overflow:hidden}body.phone-game .rs-shop-catalogue .shop-tile-art :is(img,canvas,svg){width:100%;height:100%;max-width:160px;max-height:150px;object-fit:contain}body.phone-game .rs-shop-catalogue .shop-tile>strong{font:600 clamp(15px,1.6vw,21px)/1.2 "Yu Mincho","Hiragino Mincho ProN",serif;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:none}body.phone-game .rs-shop-catalogue .shop-tile-effect{font-size:12px;color:var(--rs-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;line-height:1.4;flex:none}body.phone-game .rs-shop-catalogue .shop-tile-price{font:500 20px/1.2 Georgia,Yu Mincho,serif;flex:none}body.phone-game .rs-shop-catalogue .shop-tile-price small{font:12px/1.2 sans-serif}body.phone-game .rs-shop-catalogue .shop-tile-rank{margin-left:8px;color:var(--rs-muted)}body.phone-game .rs-shop-catalogue .shop-page-foot{display:flex;align-items:center;justify-content:space-between;min-height:34px;flex:none;gap:8px}body.phone-game .rs-shop-catalogue .shop-footnote{font-size:11px;color:var(--rs-muted)}body.phone-game .rs-shop-catalogue .mobile-pager{gap:12px;margin:0;min-height:32px;padding:0;background:none;border:0}body.phone-game .rs-shop-catalogue .mobile-pager button{background:transparent;border:0;min-width:36px;min-height:32px;padding:2px 6px;color:#68513a;font-size:24px}body.phone-game .rs-shop-catalogue .mobile-pager-count{font:15px Georgia,serif;min-width:40px;color:#68513a}body.phone-game .rs-shop-catalogue .shop-checkout{display:flex;align-items:center;gap:12px;min-height:66px;border-top:1px solid #b6a185;flex:none;padding:9px 0}body.phone-game .rs-shop-catalogue .shop-selected-name{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;text-align:left;flex:1;min-width:0;border:0;border-radius:0;background:transparent;padding:0;color:var(--rs-text)}body.phone-game .rs-shop-catalogue .shop-selected-name strong{font:600 17px/1.2 Yu Mincho,Hiragino Mincho ProN,serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}body.phone-game .rs-shop-catalogue .shop-selected-name :is(span,small){font:11px/1.2 sans-serif;color:var(--rs-muted)}body.phone-game .rs-shop-catalogue .shop-quantity{display:flex;gap:3px;align-items:center;flex:none}body.phone-game .rs-shop-catalogue .shop-quantity button{width:34px;min-height:38px;padding:0;border:1px solid #cebea5;border-radius:3px;background:#eee6d7;font-size:21px;color:#58412c}body.phone-game .rs-shop-catalogue .shop-quantity input{width:43px;min-height:38px;height:38px;padding:0 2px;border:1px solid #cebea5;border-radius:3px;background:#fffcf6;text-align:center;font-size:16px;color:#372c22;appearance:textfield;-moz-appearance:textfield}body.phone-game .rs-shop-catalogue .shop-quantity input::-webkit-inner-spin-button{appearance:none}body.phone-game .rs-shop-catalogue .shop-total{display:flex;flex-direction:column;align-items:flex-end;gap:2px;min-width:66px;flex:none}body.phone-game .rs-shop-catalogue .shop-total small{font-size:11px;color:var(--rs-muted)}body.phone-game .rs-shop-catalogue .shop-total strong{font:500 19px/1.2 Georgia,Yu Mincho,serif;white-space:nowrap}body.phone-game .rs-shop-catalogue .shop-trade{min-height:42px;min-width:112px;border:1px solid #806242;border-radius:3px;background:#4d3726;color:#fff4dd;font:500 18px/1.2 Yu Mincho,Hiragino Mincho ProN,serif;padding:8px 18px}body.phone-game .rs-shop-catalogue .shop-trade:disabled{background:#e4dccd;color:#8c8171}body.phone-game .rs-shop-catalogue .shop-empty{flex:1;display:grid;place-items:center;font-size:16px}body.phone-game .rs-shop-catalogue:has(.shop-empty) .shop-grid{display:none}body.phone-game .rs-shop-catalogue .shop-bulk{font-size:12px;border:1px solid var(--rs-border);background:transparent;min-height:34px}body.phone-game .rs-shop-catalogue .rs-notice:not(:empty){position:absolute;bottom:76px;right:20px;max-width:65%;z-index:5;background:#fffaf2;border:1px solid #c0ab86;box-shadow:0 3px 14px #372c2233;border-radius:4px;padding:8px 14px;margin:0;font-size:14px;color:#372c22}body.phone-game .rs-shop-catalogue .rs-notice.rs-error{color:#a12e22;border-color:#a12e22}body.phone-game .rs-shop-catalogue .shop-detail{min-height:0;overflow:auto;flex:1;padding:10px 0}body.phone-game .rs-shop-catalogue .shop-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;font-size:12px;color:var(--rs-muted)}body.phone-game .rs-shop-catalogue .shop-detail-heading button{background:transparent;color:var(--rs-text);border:1px solid var(--rs-border)}body.phone-game .rs-shop-catalogue .rs-product-detail{display:grid;grid-template-columns:100px minmax(0,1fr);background:transparent;box-shadow:none;border:0;gap:14px;padding:10px}body.phone-game .rs-shop-catalogue .rs-product-detail .rs-product-art{grid-column:1;grid-row:1}body.phone-game .rs-shop-catalogue .rs-product-detail .rs-product-art :is(img,canvas,svg){width:100px;height:110px;object-fit:contain}body.phone-game .rs-shop-catalogue .rs-product-detail .rs-product-text{grid-column:2;grid-row:1;overflow:visible;max-height:none}body.phone-game .rs-shop-catalogue .rs-product-detail .rs-product-text>p{display:block;white-space:normal;font-size:14px;line-height:1.6;overflow:visible;color:var(--rs-text)}body.phone-game .rs-shop-catalogue .rs-product-detail .rs-product-buy{grid-column:1/-1;display:flex;gap:14px;align-items:center;flex-wrap:wrap;min-width:0}body.phone-game .rs-shop-catalogue .rs-product-detail .rs-product-controls{display:flex;gap:8px;align-items:center}body.phone-game .rs-shop-catalogue .rs-product-detail .rs-product-controls label{display:flex;gap:6px;align-items:center}body.phone-game .rs-shop-catalogue .rs-product-detail input{width:60px;background:#fffcf6;color:var(--rs-text)}body.phone-game .rs-shop-catalogue .rs-product-detail [data-rs-trade]{background:#4d3726;color:#fff4dd;min-width:85px}@media(max-width:1000px){body.phone-game .rs-shop-catalogue .rs-content{grid-template-columns:26% minmax(0,1fr)}body.phone-game .rs-shop-catalogue .shop-scene{padding:15px}body.phone-game .rs-shop-catalogue .shop-catalogue{padding:0 12px}body.phone-game .rs-shop-catalogue .shop-catalogue-header{min-height:43px;gap:6px}body.phone-game .rs-shop-catalogue .shop-shelves{gap:12px}body.phone-game .rs-shop-catalogue .shop-shelves button{font-size:14px;min-height:40px}body.phone-game .rs-shop-catalogue .rs-wallet strong{font-size:20px}body.phone-game .rs-shop-catalogue .shop-tile{padding:4px 7px;gap:2px}body.phone-game .rs-shop-catalogue .shop-tile-effect{font-size:11px}body.phone-game .rs-shop-catalogue .shop-tile-price{font-size:17px}body.phone-game .rs-shop-catalogue .shop-checkout{min-height:58px;gap:8px;padding:7px 0}body.phone-game .rs-shop-catalogue .shop-trade{min-width:92px;padding:8px 12px;font-size:16px}body.phone-game .rs-shop-catalogue .shop-selected-name strong{font-size:15px}body.phone-game .rs-shop-catalogue .shop-total strong{font-size:16px}body.phone-game .rs-shop-catalogue .shop-total{min-width:55px}}@media(max-width:740px){body.phone-game .rs-shop-catalogue .rs-content{grid-template-columns:21% minmax(0,1fr)}body.phone-game .rs-shop-catalogue .shop-scene{padding:10px}body.phone-game .rs-shop-catalogue .shop-scene h1{font-size:26px}body.phone-game .rs-shop-catalogue .shop-scene-title p{font-size:10px;letter-spacing:0}body.phone-game .rs-shop-catalogue .shop-scene-actions button{font-size:11px;padding:5px 7px}body.phone-game .rs-shop-catalogue .shop-catalogue{padding:0 8px}body.phone-game .rs-shop-catalogue .shop-shelves{gap:10px}body.phone-game .rs-shop-catalogue .shop-shelves button{font-size:13px}body.phone-game .rs-shop-catalogue .shop-checkout{gap:5px}body.phone-game .rs-shop-catalogue .shop-selected-name small{display:none}body.phone-game .rs-shop-catalogue .shop-trade{min-width:76px;padding:5px 7px;font-size:15px}body.phone-game .rs-shop-catalogue .shop-quantity button{width:28px}body.phone-game .rs-shop-catalogue .shop-quantity input{width:32px}body.phone-game .rs-shop-catalogue .shop-footnote{font-size:10px}}@media(orientation:portrait)and (max-width:600px){body.phone-game .rs-shop-catalogue .rs-content{grid-template-columns:1fr;grid-template-rows:100px minmax(0,1fr)}body.phone-game .rs-shop-catalogue .shop-scene{flex-direction:row;background-position:center 65%}body.phone-game .rs-shop-catalogue .shop-scene-actions{flex-direction:row;align-items:flex-end;gap:3px}body.phone-game .rs-shop-catalogue .shop-scene-actions [data-weekly-equipment]{display:none}body.phone-game .rs-shop-catalogue .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}body.phone-game .rs-shop-catalogue .shop-checkout{flex-wrap:wrap}body.phone-game .rs-shop-catalogue .shop-selected-name{flex-basis:100%}body.phone-game .rs-shop-catalogue .shop-trade{margin-left:auto}}body.phone-game .rs-shop-catalogue .shop-catalogue-header{min-height:62px}body.phone-game .rs-shop-catalogue .shop-tile>strong{font-size:16px}body.phone-game .rs-shop-catalogue .shop-tile-effect{font-size:11px}body.phone-game .rs-shop-catalogue .shop-tile-price{font-size:17px}body.phone-game .rs-shop-catalogue .shop-tile{padding:5px 8px;gap:2px}body.phone-game .rs-shop-catalogue .shop-tile-art{position:relative}body.phone-game .rs-shop-catalogue .shop-tile-art :is(img,canvas,svg){position:absolute;inset:0;margin:auto;width:100%;height:100%;max-width:150px;max-height:150px}body.phone-game .rs-shop-catalogue .shop-checkout{min-height:56px;padding:7px 0}body.phone-game .rs-shop-catalogue .shop-page-foot,body.phone-game .rs-shop-catalogue .mobile-pager{min-height:28px}body.phone-game .rs-shop-catalogue .mobile-pager button{min-height:28px;box-shadow:none}body.phone-game .rs-shop-catalogue .shop-scene h1{font-size:32px}body.phone-game .rs-shop-catalogue .shop-shelves button:hover:not(:disabled){background:#ead9b6;color:#49341e}body.phone-game .release-screen.rs-shop-catalogue .shop-scene-actions .rs-back{color:#fff5df;border-color:#b7946377;background:#251c15c9}body.phone-game .release-screen.rs-shop-catalogue .shop-scene-actions button:hover:not(:disabled){color:#fffaf0;background:#594128}body.phone-game .rs-shop-catalogue .shop-tile>strong{font-size:18px}body.phone-game .rs-shop-catalogue .shop-tile-effect{font-size:12px}body.phone-game .rs-shop-catalogue .shop-shelves{gap:6px;align-items:center}body.phone-game .rs-shop-catalogue .shop-shelves button{font-size:20px;font-family:inherit;font-weight:700;min-height:44px;padding:6px 12px;border:1px solid #c3a778;border-radius:7px;background:linear-gradient(#fffaf0,#f0e3c8);box-shadow:0 3px #c7ac80;color:#695031}body.phone-game .rs-shop-catalogue .shop-shelves button[aria-pressed=true]{background:linear-gradient(#b0813d,#88602c);border-color:#805927;color:#fff8e9;box-shadow:inset 0 1px #e5c58c,0 3px #68461f}body.phone-game .rs-shop-catalogue .shop-shelves button:active{transform:translateY(1px)}body.phone-game .rs-shop-catalogue .shop-scene-actions{align-items:stretch;gap:9px}body.phone-game .rs-shop-catalogue .shop-scene-actions button{font-size:19px;min-height:54px;padding:10px 12px;border-color:#bd9a65;border-radius:6px;line-height:1.3;box-shadow:0 3px #21150bc9}body.phone-game .rs-shop-catalogue .shop-scene-actions [data-rs-home]{font-size:18px!important;min-height:48px}body.phone-game .rs-shop-catalogue .shop-selected-name small{display:inline-block;font-size:13px;color:#795326;text-decoration:underline;text-underline-offset:3px}body.phone-game .rs-shop-catalogue .shop-tile:focus-visible{outline-offset:-3px}body.phone-game .rs-shop-catalogue .shop-grid{gap:8px;padding:4px 2px}body.phone-game .rs-shop-catalogue .shop-tile{border:1px solid #d0b58b;border-radius:11px;background:linear-gradient(#fffdf6,#f7edda);box-shadow:0 3px #c7af87;padding:7px 9px;gap:3px}body.phone-game .rs-shop-catalogue .shop-tile:nth-child(3n){border-right-color:#d0b58b}body.phone-game .rs-shop-catalogue .shop-tile[aria-pressed=true]{background:linear-gradient(#fff3d4,#f1dcae);border:2px solid #ab742e;box-shadow:0 3px #a57639;padding:6px 8px}body.phone-game .rs-shop-catalogue .shop-tile[aria-pressed=true]:after{content:"\2713";position:absolute;top:6px;right:7px;width:20px;height:20px;border-radius:50%;background:#aa7737;color:#fffaf0;font:700 14px/20px sans-serif}body.phone-game .rs-shop-catalogue .shop-tile>strong{font-size:18px;line-height:1.2}body.phone-game .rs-shop-catalogue .shop-tile-price{font-size:15px;line-height:1.2}body.phone-game .rs-shop-catalogue .shop-tile-price .shop-tile-stock{display:inline-block;margin-left:8px;font-size:13px;font-weight:700;line-height:1.2;color:#31533e;white-space:nowrap}body.phone-game .rs-shop-catalogue .shop-tile-art{min-height:35px}body.phone-game .phone-home-ranked{--bg:#112d24;--bg-elevated:#244738;--text:#fff2d2;--text-muted:#e1d1ae;--accent:#e3bb70;--border:#b68c4f;--radius:10px;--space-1:4px;--space-2:8px;--shadow-sm:inset 0 0 0 3px #112a22,inset 0 0 0 4px #a2814266;grid-template-columns:minmax(0,1fr) 27%;grid-template-rows:40px minmax(0,1fr);gap:8px 12px}body.phone-game .phone-home-ranked .phone-player{grid-column:1;grid-row:1;min-width:0;padding:0;gap:8px}body.phone-game .phone-home-ranked .phone-player h1{font-size:24px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}body.phone-game .phone-home-ranked .phone-player button{flex:none;min-height:36px;padding:5px 10px;font-size:14px}body.phone-game .phone-home-ranked .release-hero{grid-column:1;grid-row:2;padding:12px 10px 26px}body.phone-game .phone-home-ranked .hero-party>button{justify-content:center;padding:0}body.phone-game .phone-home-ranked .hero-party .portrait{max-height:calc(100% - 52px)}body.phone-game .phone-home-ranked .hero-party b{margin-top:2px;font-size:18px;line-height:1.4;text-shadow:0 2px 3px #000}body.phone-game .phone-home-ranked .training-summary{color:var(--text);font-size:15px;line-height:1.4;white-space:nowrap;text-shadow:0 1px 4px #000,0 1px 2px #000}body.phone-game .phone-home-ranked .training-summary.is-complete{color:#ffda72}body.phone-game .phone-home-ranked .phone-home-actions:empty{display:none}body.phone-game .phone-home-ranked .phone-home-side{grid-column:2;grid-row:1/3;display:flex;overflow:visible;min-width:0;gap:0}body.phone-game .phone-home-ranked .phone-home-side:has(#cancel-match){display:flex;grid-template-rows:none;gap:0}body.phone-game .phone-home-ranked .lobby-rank-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--space-1);padding:10px 12px;height:100%;min-height:0;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);background:radial-gradient(ellipse at 50% 28%,var(--bg-elevated),transparent 60%),var(--bg);color:var(--text)}body.phone-game .phone-home-ranked .lobby-rank-card .panel-head{justify-content:center;min-height:24px;padding:0;flex:none}body.phone-game .phone-home-ranked .lobby-rank-card .panel-head h2{font-family:Yu Mincho,serif;font-size:20px;line-height:1.2;letter-spacing:.06em;color:var(--accent)}.lobby-rank-emblem{--rank-light:#aa7640;--rank-metal:#674321;--rank-dark:#382617;--rank-laurel:#b39250;flex:1 1 130px;min-height:0;max-height:140px;text-align:center}.lobby-rank-emblem svg{display:block;height:100%;width:100%;filter:drop-shadow(0 3px 3px #0008)}.lobby-rank-emblem[data-rank=G]{--rank-light:#927857;--rank-metal:#5d5040;--rank-dark:#302b25;--rank-laurel:#9e8760}.lobby-rank-emblem[data-rank=F]{--rank-light:#ac784b;--rank-metal:#715034;--rank-dark:#36271c}.lobby-rank-emblem[data-rank=D]{--rank-light:#c2c9c8;--rank-metal:#738787;--rank-dark:#354c50;--rank-laurel:#b5c0b4}.lobby-rank-emblem[data-rank=C]{--rank-light:#cce0df;--rank-metal:#83a6ac;--rank-dark:#365463;--rank-laurel:#cfdbd1}.lobby-rank-emblem[data-rank=B]{--rank-light:#ffdc80;--rank-metal:#bc8e37;--rank-dark:#6e481c;--rank-laurel:#ddbc6a}.lobby-rank-emblem[data-rank=A]{--rank-light:#fff3c1;--rank-metal:#e3b95b;--rank-dark:#8d5b24;--rank-laurel:#f6d687}.lobby-rating{font-size:15px;text-align:center;line-height:1.1;flex:none;color:var(--text)}.lobby-rating strong{font:700 29px/1 Georgia,serif;margin-left:6px;font-variant-numeric:tabular-nums}.lobby-rank-progress{display:grid;gap:3px;text-align:center;font-size:14px;line-height:1.4;flex:none}.lobby-rank-progress progress{appearance:none;width:100%;height:10px;overflow:hidden;border:1px solid var(--border);border-radius:20px;background:var(--bg);color:var(--accent)}.lobby-rank-progress progress::-webkit-progress-bar{background:var(--bg)}.lobby-rank-progress progress::-webkit-progress-value{background:linear-gradient(#ffdf90,#bf8d3b);border-radius:20px}.lobby-rank-progress progress::-moz-progress-bar{background:linear-gradient(#ffdf90,#bf8d3b);border-radius:20px}body.phone-game .phone-home-ranked .lobby-rank-card .arena-preview:has(#arena-countdown){height:auto;min-height:66px;flex:none;padding:7px 0;margin:3px 0 0;background:transparent;border:0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);border-radius:0;gap:7px;color:var(--text)}body.phone-game .phone-home-ranked .arena-preview img{width:64px;height:43px;border:1px solid var(--border)}body.phone-game .phone-home-ranked .arena-preview h2{font-size:15px;line-height:1.2;color:var(--text)}body.phone-game .phone-home-ranked .arena-preview p,body.phone-game .phone-home-ranked .arena-preview strong{display:block;font-size:12px!important;line-height:1.2!important;color:var(--text-muted);font-weight:400;margin:2px 0 0}body.phone-game .phone-home-ranked #arena-countdown{display:block;font-size:11px!important;color:var(--text-muted);line-height:1.3}body.phone-game .phone-home-ranked .phone-play-copy{flex:none;overflow:visible;min-height:0}body.phone-game .phone-home-ranked .phone-play-copy .pvp-quota{display:block;text-align:center;font-size:14px;line-height:1.3;color:var(--text);margin:0}body.phone-game .phone-home-ranked .lobby-rank-card #start-pvp,body.phone-game .phone-home-ranked .lobby-rank-card #cancel-match{min-height:42px;height:auto;flex:none;margin:0;padding:6px;font-size:17px;line-height:1.3;border-radius:7px}body.phone-game .phone-home-ranked .lobby-rank-card #start-pvp{background:linear-gradient(#ffe0a0,#d5a550);border:1px solid #e8c17b;box-shadow:inset 0 1px #fff3ce,0 2px #74532b;color:#302718}body.phone-game .phone-home-ranked .lobby-rank-card #start-pvp:disabled{background:#9b885f;color:#fff4d8}body.phone-game .phone-home-ranked .lobby-rank-card #cancel-match{background:transparent;color:var(--text);border-color:var(--border)}body.phone-game .phone-home-ranked .lobby-rank-card:has(#cancel-match){gap:2px}body.phone-game .phone-home-ranked .lobby-rank-card:has(#cancel-match) #start-pvp{height:20px;min-height:20px;padding:0;border:0;box-shadow:none;background:transparent;font-size:14px}body.phone-game .phone-home-ranked .lobby-rank-card:has(#cancel-match) .lobby-rank-emblem{max-height:82px;min-height:0}body.phone-game .phone-home-ranked .lobby-rank-card.pvp-limit-reached .lobby-rank-emblem{max-height:76px;min-height:0}body.phone-game .phone-home-ranked .lobby-rank-card.pvp-limit-reached .arena-preview{display:none}body.phone-game .phone-home-ranked .pvp-membership-offer{flex:none}body.phone-game .phone-home-ranked .pvp-member-note{font-size:12px;line-height:1.3}body.phone-game .phone-party-organized .phone-member-list .training-summary{display:block;font-size:13px;line-height:1.2;white-space:nowrap;color:#705026;font-variant-numeric:tabular-nums}body.phone-game .phone-party-organized .phone-member-list .training-summary.is-complete{color:#815600;font-weight:700}body.phone-game .phone-party-organized .phone-active-members .roster-item>div{display:flex;flex-wrap:wrap;align-items:center;column-gap:6px;row-gap:1px}body.phone-game .phone-party-organized .phone-active-members .roster-name{width:100%;font-size:16px}body.phone-game .phone-party-organized .phone-active-members .roster-meta{display:flex;gap:4px;width:100%;white-space:nowrap}body.phone-game .phone-party-organized .phone-active-members .roster-meta>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:11px;line-height:1.2}body.phone-game .phone-party-organized .phone-active-members .roster-meta>span:last-child{flex:none;font-size:11px;line-height:1.2;white-space:nowrap}body.phone-game .phone-party-organized .phone-active-members .training-summary{font-size:12px}@media(max-width:740px){body.phone-game .phone-home-ranked{grid-template-columns:minmax(0,1fr) 250px;gap:6px}body.phone-game .phone-home-ranked .phone-player h1{font-size:20px}body.phone-game .phone-home-ranked .phone-player button{font-size:12px;padding:5px}body.phone-game .phone-home-ranked .hero-party b{font-size:16px}body.phone-game .phone-home-ranked .training-summary{font-size:13px}body.phone-game .phone-home-ranked .training-summary.is-complete{white-space:normal;max-width:100px}body.phone-game .phone-home-ranked .release-hero{padding-inline:4px}}body.phone-game .phone-party-organized.party-ledger{--party-bg:#eadbc0;--party-paper:#f9efd7;--party-paper-soft:#fff8e7;--party-ink:#30271b;--party-muted:#655c49;--party-line:#b49b65;--party-accent:#285942;--party-accent-hover:#397456;--party-gold:#dfba71;--party-radius:8px;--party-space:7px;--party-shadow:0 2px 5px #101e1633;--party-label:max(13px,calc(12px / var(--phone-scale,1)));--party-body:max(16px,calc(14px / var(--phone-scale,1)));--party-title:max(19px,calc(16px / var(--phone-scale,1)));--party-dur:.12s;--party-ease:cubic-bezier(.2,.6,.2,1);display:grid;grid-template-columns:1fr 1fr;grid-template-rows:36px minmax(0,1fr);gap:var(--party-space);height:100%;min-height:0;padding:7px;background:var(--party-bg) url(/assets/screens/party-courtyard-v1.webp) center/cover;border-radius:var(--party-radius);box-shadow:inset 0 0 0 1px #c8b07970;color:var(--party-ink)}body.phone-game #app:has(>.party-ledger){padding:5px 6px}body.phone-game:has(#app>.party-ledger) .header{background:linear-gradient(#fff8e3de,#f6e9cadb),url(/assets/screens/party-courtyard-v1.webp) center 24%/cover}body.phone-game .phone-party-organized.party-ledger>.phone-page-tabs{grid-area:1/1/2/3;display:flex;flex-direction:row;gap:0;padding:0;align-self:stretch;max-width:850px;overflow:visible}body.phone-game .phone-party-organized.party-ledger>.phone-page-tabs>button{min-height:0;height:100%;flex:1;width:auto;padding:4px 12px;border-radius:0;font-size:var(--party-body);line-height:1.2;background:var(--party-paper);color:var(--party-ink);border-color:var(--party-line);box-shadow:var(--party-shadow)}body.phone-game .phone-party-organized.party-ledger>.phone-page-tabs>button:first-child{border-radius:var(--party-radius) 0 0 var(--party-radius)}body.phone-game .phone-party-organized.party-ledger>.phone-page-tabs>button:nth-child(5){border-radius:0 var(--party-radius) var(--party-radius) 0}body.phone-game .phone-party-organized.party-ledger>.phone-page-tabs>button[aria-pressed=true]{background:linear-gradient(#396c4c,#214f39);color:#fff8e6;font-weight:700;box-shadow:inset 0 0 0 2px #e8d49f60}body.phone-game .phone-party-organized.party-ledger>.party-tools-rail{grid-area:1/2;display:flex;align-items:flex-end;min-height:0;gap:0}body.phone-game .phone-party-organized.party-ledger .party-equipment-actions{flex-direction:row;justify-content:flex-end;gap:8px;height:100%;width:auto}body.phone-game .phone-party-organized.party-ledger .party-equipment-actions button{width:auto;min-height:0;height:100%;padding:4px 18px;font-size:var(--party-body);white-space:nowrap;line-height:1.2;background:var(--party-paper-soft);box-shadow:var(--party-shadow)}body.phone-game .phone-party-organized.party-ledger .party-equipment-actions button.primary{background:linear-gradient(#efd59e,#cba65d)}body.phone-game .phone-party-organized.party-ledger>.phone-tab-panels{grid-area:2/1/3/3;padding:0;overflow:hidden}body.phone-game .phone-party-organized.party-ledger .phone-members{grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:8px;height:100%}body.phone-game .phone-party-organized.party-ledger .phone-members>section,body.phone-game .phone-party-organized.party-ledger .phone-care{border:1px solid var(--party-line);border-radius:var(--party-radius);padding:7px;background:radial-gradient(ellipse at top,#fff9e6aa,transparent 70%),var(--party-paper);box-shadow:inset 0 0 0 2px #fffbee80,var(--party-shadow)}body.phone-game .phone-party-organized.party-ledger .phone-members h2{min-height:25px;margin:0 0 5px;line-height:25px;font-size:var(--party-title);font-weight:700}body.phone-game .phone-party-organized.party-ledger .phone-active-members h2{display:flex;align-items:center;gap:12px;white-space:nowrap}body.phone-game .phone-party-organized.party-ledger .party-active-count{font:700 var(--party-body)/1.2 "Yu Gothic UI",Meiryo,sans-serif}body.phone-game .phone-party-organized.party-ledger .phone-member-list{gap:5px;padding:0;min-height:0}body.phone-game .phone-party-organized.party-ledger .phone-active-members .phone-member-list{grid-template-rows:repeat(5,minmax(0,1fr))}body.phone-game .phone-party-organized.party-ledger .phone-reserve-members .phone-member-list{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:6px}body.phone-game .phone-party-organized.party-ledger .phone-member-list .roster-item{display:flex;min-height:0;height:100%;padding:0;gap:0;overflow:hidden;border:1px solid var(--party-line);border-radius:6px;background:var(--party-paper-soft);color:var(--party-ink);opacity:1;box-shadow:inset 0 0 0 1px #fffbe880;transition:border-color var(--party-dur) var(--party-ease),box-shadow var(--party-dur) var(--party-ease)}body.phone-game .phone-party-organized.party-ledger .phone-member-list .roster-item:hover{border-color:#5b7143;box-shadow:inset 0 0 0 2px #59805b}body.phone-game .phone-party-organized.party-ledger .phone-member-list .roster-item.chosen,body.phone-game .phone-party-organized.party-ledger .phone-member-list .roster-item.roster-drag-target{border-color:#9b651c;box-shadow:inset 0 0 0 3px #d4a348}body.phone-game .phone-party-organized.party-ledger .phone-active-members .roster-item{flex-direction:row;justify-content:flex-start;text-align:left;background:linear-gradient(100deg,#f3eccb,#dde4c7);border-color:#7c956b;border-left:4px solid #446e4c}body.phone-game .phone-party-organized.party-ledger .phone-reserve-members .roster-item{flex-direction:column;text-align:center;justify-content:flex-start}.party-portrait{position:relative;display:block;min-width:0;min-height:0;overflow:hidden;flex:none;isolation:isolate}.party-portrait>canvas.portrait{position:absolute;left:50%;top:-12%;transform:translate(-50%);display:block;width:auto!important;height:260%!important;max-width:none;max-height:none;aspect-ratio:96/112;opacity:1;image-rendering:auto;pointer-events:none}body.phone-game .phone-party-organized.party-ledger .phone-active-members .party-portrait{width:31%;height:100%}body.phone-game .phone-party-organized.party-ledger .phone-reserve-members .party-portrait{width:100%;flex:1;min-height:0;background:var(--party-bg)}.party-portrait-waist:before{content:"";position:absolute;inset:-3px;z-index:-1;background:url(/assets/screens/party-courtyard-v1.webp) center 48%/cover;filter:blur(1.5px)}.party-portrait-waist>canvas.portrait{height:164%!important;top:-4%}.party-portrait-active>canvas.portrait{height:var(--party-crop-height,160%)!important;top:var(--party-crop-top,0%);left:var(--party-crop-left,50%)}body.phone-game .phone-party-organized.party-ledger .party-member-copy{min-width:0;flex:none;padding:2px 5px;position:relative}body.phone-game .phone-party-organized.party-ledger .phone-active-members .party-member-copy{display:block;flex:1;padding:0 5px}body.phone-game .phone-party-organized.party-ledger .phone-reserve-members .party-member-copy{width:100%;padding:1px 4px;background:var(--party-paper);border-top:1px solid #bfa46b80}body.phone-game .phone-party-organized.party-ledger .phone-member-list .roster-name{width:100%;font-size:var(--party-title);line-height:1.1;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}body.phone-game .phone-party-organized.party-ledger .phone-member-list .roster-meta{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;margin:1px 0 0;font-size:var(--party-label);line-height:1.15;white-space:nowrap;color:var(--party-muted)}body.phone-game .phone-party-organized.party-ledger .phone-active-members .roster-meta{justify-content:flex-start}body.phone-game .phone-party-organized.party-ledger .phone-member-list .roster-meta>span{display:block;font-size:inherit;line-height:inherit}body.phone-game .phone-party-organized.party-ledger .phone-member-list .roster-meta>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}body.phone-game .phone-party-organized.party-ledger .phone-member-list .roster-meta>span:last-child{flex:none}body.phone-game .phone-party-organized.party-ledger .phone-member-list .training-summary{font-size:var(--party-label);font-weight:700;line-height:1.15;color:var(--party-accent);margin-top:1px}body.phone-game .phone-party-organized.party-ledger .phone-member-list .training-summary.is-complete{color:#78530d}body.phone-game .phone-party-organized.party-ledger .phone-active-members .roster-name{font-size:max(17px,calc(15px / var(--phone-scale,1)));line-height:1.05}body.phone-game .phone-party-organized.party-ledger .phone-active-members :is(.roster-meta,.training-summary){font-size:max(12px,calc(11px / var(--phone-scale,1)));line-height:1.05;margin:0}body.phone-game .phone-party-organized.party-ledger .phone-reserve-members .roster-name{font-size:max(17px,calc(15px / var(--phone-scale,1)));line-height:1.05}body.phone-game .phone-party-organized.party-ledger .phone-reserve-members :is(.roster-meta,.training-summary){font-size:max(12px,calc(11px / var(--phone-scale,1)));line-height:1.05;margin:0}body.phone-game .phone-party-organized.party-ledger .phone-member-list small{font-size:var(--party-label);line-height:1.15}body.phone-game .phone-party-organized.party-ledger .party-reserve-heading{position:static;display:flex;align-items:center;gap:7px;flex:none;width:100%;height:30px;margin-bottom:5px;pointer-events:auto}body.phone-game .phone-party-organized.party-ledger .party-reserve-heading h2{position:relative;flex:none;margin:0;min-width:45px;pointer-events:auto}body.phone-game .phone-party-organized.party-ledger .party-search-count{position:static;margin-left:4px;font-size:var(--party-label)}body.phone-game .phone-party-organized.party-ledger .party-reserve-search{position:relative;top:auto;right:auto;display:flex;flex:1;min-width:0;width:auto;max-width:none;height:100%;margin:0}body.phone-game .phone-party-organized.party-ledger .party-reserve-search input{width:100%;height:100%;font-size:var(--party-body);line-height:1.2;padding:3px 27px 3px 10px;background:var(--party-paper-soft);border-color:var(--party-line)}body.phone-game .phone-party-organized.party-ledger .party-reserve-search button{position:absolute;right:0;top:0;height:100%;width:27px;line-height:1;background:transparent;font-size:22px;z-index:2}body.phone-game .phone-party-organized.party-ledger .party-sort-control{width:128px;flex:none;height:100%}body.phone-game .phone-party-organized.party-ledger .party-sort-control label{display:block;font-size:0;height:100%}body.phone-game .phone-party-organized.party-ledger .party-sort-control select{font-size:var(--party-label);min-height:0;height:100%;padding:2px 5px;background:var(--party-paper-soft)}body.phone-game .phone-party-organized.party-ledger .party-page-tools{margin-top:5px;flex:none}body.phone-game .phone-party-organized.party-ledger .party-page-tools .mobile-pager{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;max-width:440px;margin:0 auto;align-items:center}body.phone-game .phone-party-organized.party-ledger .party-page-tools .mobile-pager-count{grid-row:auto;font-size:var(--party-label);min-width:68px;white-space:nowrap;color:var(--party-ink)}body.phone-game .phone-party-organized.party-ledger .party-page-tools .mobile-pager-button{min-height:28px;height:28px;width:100%;min-width:0;font-size:var(--party-label);padding:1px 8px;line-height:1.2}body.phone-game .phone-party-organized.party-ledger .phone-care{height:100%;gap:5px}body.phone-game .phone-party-organized.party-ledger .phone-care-rule{font-size:var(--party-label);line-height:1.25}body.phone-game .phone-party-organized.party-ledger .phone-rest-members{background:transparent;box-shadow:none}body.phone-game .phone-party-organized.party-ledger .phone-rest-members .roster-item{flex-direction:row;text-align:left}body.phone-game .phone-party-organized.party-ledger .phone-rest-members .party-portrait{width:32%;height:100%;background:#d8dfc5}body.phone-game .phone-party-organized.party-ledger .phone-rest-members .party-portrait>.portrait{width:170%!important;height:auto!important;top:0}body.phone-game .phone-party-organized.party-ledger .phone-rest-members .party-member-copy{flex:1}body.phone-game .phone-party-organized.party-ledger .phone-rest-members .roster-meta{justify-content:flex-start}body.phone-game .phone-party-organized.party-ledger .phone-rest-members small{display:block;white-space:normal;overflow-wrap:anywhere}body.phone-game .phone-party-organized.party-ledger .party-care-footer{display:flex;align-items:center;gap:12px;flex:none;min-height:30px}body.phone-game .phone-party-organized.party-ledger .party-care-footer .party-page-tools{flex:1;margin:0}body.phone-game .phone-party-organized.party-ledger .party-care-footer #open-recovery{min-height:30px;margin-left:auto;padding:3px 15px;font-size:var(--party-body)}body.phone-game .phone-party-organized.party-ledger .phone-formation-page{height:100%}body.phone-game .phone-party-organized.party-ledger :is(button,input,select):focus-visible{outline:3px solid #daac51;outline-offset:1px;position:relative;z-index:1}body.phone-game .phone-party-organized.party-ledger .phone-member-empty{font-size:var(--party-body)}@container (max-width:850px){body.phone-game .phone-party-organized.party-ledger .phone-members{grid-template-columns:minmax(0,1fr) minmax(0,1.85fr)}body.phone-game .phone-party-organized.party-ledger .phone-members>section{padding:5px}body.phone-game .phone-party-organized.party-ledger .phone-reserve-members .phone-member-list{gap:5px}body.phone-game .phone-party-organized.party-ledger .phone-active-members .party-portrait{width:29%}body.phone-game .phone-party-organized.party-ledger .party-equipment-actions button{padding-inline:10px}body.phone-game .phone-party-organized.party-ledger .party-reserve-heading{gap:4px}body.phone-game .phone-party-organized.party-ledger .party-sort-control{width:110px}}@media(prefers-reduced-motion:reduce){body.phone-game .phone-party-organized.party-ledger .roster-item{transition:none}}body.phone-game .phone-party-organized.party-ledger .phone-party-equipment>.party-equipment-host{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;padding:8px}body.phone-game .phone-party-organized.party-ledger .phone-party-help{height:100%;display:flex;flex-direction:column;padding:12px 16px;gap:10px;background:var(--party-paper);border:1px solid var(--party-line);border-radius:var(--party-radius);overflow:auto}body.phone-game .phone-party-help>h2{font-size:var(--party-title);margin:0}body.phone-game .party-help-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;flex:1;min-height:0;overflow:auto}body.phone-game .party-help-cards article{padding:10px 12px;background:var(--party-paper-soft);border:1px solid var(--party-line);border-radius:var(--party-radius)}body.phone-game .party-help-cards h3{font-size:var(--party-body);color:var(--party-accent);margin:0 0 6px}body.phone-game .party-help-cards p{font-size:var(--party-label);line-height:1.5;margin:0 0 6px;color:var(--party-ink)}body.phone-game .party-help-more{align-self:flex-end;min-height:max(44px,calc(44px / var(--phone-scale,1)));font-size:var(--party-body);padding:4px 18px}body.phone-game .phone-party-organized.party-ledger .phone-party-equipment{grid-template-columns:clamp(214px,25%,254px) minmax(0,1fr)}body.phone-game .phone-party-organized.party-ledger .phone-party-equipment .phone-active-members h2{font-size:var(--party-body);gap:6px}body.phone-game .phone-party-organized.party-ledger .phone-party-equipment .party-active-count{font-size:var(--party-label);margin-left:auto}body.phone-game .phone-party-organized.party-ledger .phone-party-equipment .phone-active-members .party-portrait{width:27%;min-width:54px}body.phone-game .party-ledger.has-saved-teams{position:relative;grid-template-columns:minmax(0,1fr) auto}body.phone-game .party-ledger.has-saved-teams>.phone-page-tabs{grid-area:1/1;max-width:none}body.phone-game .party-ledger>.saved-teams-open{grid-area:1/2;min-height:0;padding:4px 18px;border:1px solid #a08047;border-radius:8px;background:linear-gradient(#fff2cd,#dfbd78);color:#273e2e;font-size:16px;font-weight:700;white-space:nowrap}.saved-teams-layer{position:absolute;inset:0;z-index:40;display:flex;flex-direction:column;gap:5px;min-height:0;padding:12px 16px;background:linear-gradient(125deg,#10392ff7,#07261efc),url(/assets/screens/party-courtyard-v1.webp) center/cover;border:2px solid #c5a363;border-radius:8px;color:#fff3d8;box-shadow:0 4px 20px #0006;overflow:hidden}.saved-teams-layer *{box-sizing:border-box}.saved-teams-layer button{min-height:30px;padding:4px 12px;background:#163e33;color:#fff2d4;border:1px solid #b49b65;border-radius:6px;font-size:14px;line-height:1.2;white-space:nowrap}.saved-teams-layer button.primary{background:linear-gradient(#fff4d1,#d9b773);color:#24382d;font-weight:700}.saved-teams-layer button:disabled{opacity:.4;cursor:default}.saved-teams-layer button:focus-visible,.saved-teams-layer input:focus-visible,.saved-teams-layer summary:focus-visible{outline:2px solid #ffe7a8;outline-offset:2px}.st-heading,.st-footer,.st-list-intro,.st-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0}.st-heading{border-bottom:1px solid #b49b6560;padding-bottom:6px}.st-heading h2{margin:0;font-size:22px;color:#fff2ce;font-family:serif}.st-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}.st-list-intro{min-height:28px;margin-bottom:5px}.st-list-intro p,.st-footer small{font-size:13px;margin:0;color:#ded7bc}.saved-teams-layer:has(.st-list){overflow:clip;overscroll-behavior:none;touch-action:none}.st-body:has(.st-list){display:flex;flex-direction:column;overflow:clip;overscroll-behavior:none;touch-action:none}.st-list{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:6px;flex:1;min-height:0}.st-row,.st-empty{display:flex;align-items:center;gap:12px;min-height:0;padding:3px 12px;background:linear-gradient(100deg,#f7ecd4,#eaddbb);border:1px solid #ba9959;border-radius:7px;color:#2b382e}.st-row-copy{width:140px;flex-shrink:0;min-width:0}.st-row-copy b{display:block;font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.st-row-copy small{display:block;font-size:12px;margin-top:5px;color:#6b6047}.st-row-actions{display:flex;gap:5px;margin-left:auto;align-items:center}.st-row-actions button{padding:6px 10px}.st-stored{background:linear-gradient(100deg,#d9d7c6,#c1c5b4)}.st-empty{justify-content:space-between;background:#153e31;color:#d7cbac;border-style:dashed}.st-empty span{font-size:14px}.st-people{display:flex;align-items:end;justify-content:center;gap:8px;flex:1;min-width:0}.st-people>div{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;flex:1;max-width:90px}.st-people canvas.portrait{width:38px;height:38px;min-width:0;object-fit:contain;background:transparent;border:0}.st-people small{font-size:11px;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.st-slot{position:absolute;top:0;left:2px;font-size:10px;color:inherit;opacity:.6}.st-pagination{justify-content:center;gap:12px;font-size:13px}.st-pagination button{min-width:32px}.st-footer{min-height:32px;border-top:1px solid #b49b6560;padding-top:5px}.st-footer>button.primary{margin-left:auto;min-width:155px}.st-message{font-size:13px;line-height:1.3;margin:0;color:#ffe6a5;min-height:17px;flex-shrink:0}.st-save,.st-edit{max-width:650px;margin:10px auto;font-size:14px}.st-save label{display:block;margin-bottom:6px}.st-save input{display:block;width:100%;height:38px;padding:7px 10px;font-size:16px;border:1px solid #c2ab7b;border-radius:6px;background:#fff6dd;color:#27382c}.st-save .st-people,.st-edit .st-people{margin:12px 0;justify-content:space-between}.st-save .st-people canvas.portrait,.st-edit .st-people canvas.portrait{width:64px;height:64px}.st-save p,.st-edit p{margin:8px 0;color:#ded7bc}.st-edit>div:last-child{display:flex;gap:10px}.st-edit h3,.st-preview h3{margin:2px 0 8px;font-size:20px;color:inherit}.st-preview{display:grid;grid-template-columns:160px minmax(0,1fr);gap:18px;padding:6px}.st-formation{display:flex;flex-direction:column;gap:7px;font-size:14px;text-align:center;color:#f0dbac}.st-formation>small{font-size:12px;line-height:1.5;text-align:left}.st-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;width:150px;height:150px;padding:5px;background:#092c23;border:1px solid #bda672;border-radius:7px}.st-grid i{display:flex;align-items:center;justify-content:center;border:1px solid #728d7155;border-radius:4px;font-size:13px;font-style:normal}.st-grid i.occupied{background:#e2c990;color:#183e2d;font-weight:700;border-color:#f3dfb7}.st-preview .st-people{padding:5px;background:#1c493a;border-radius:7px;margin-bottom:8px}.st-preview .st-people canvas.portrait{width:48px;height:48px}.st-gear{font-size:12px;line-height:1.6}.st-gear>div{display:flex;gap:8px;border-bottom:1px solid #ead7a622;padding:3px 0}.st-gear b{width:80px;flex-shrink:0;color:#e3c68b}.st-warning,.st-error{font-size:13px;line-height:1.5;background:#71501f80;border:1px solid #b99555;border-radius:5px;padding:7px;margin:8px 0}.st-warning p{margin:2px 0}.st-warning label,.st-row-actions label{display:flex;align-items:center;gap:6px;cursor:pointer}.st-warning label{margin-top:6px;color:#fff6da}.st-error{background:#74312999;border-color:#c47d64}.saved-teams-layer input[type=checkbox]{width:18px;height:18px;accent-color:#48744a;margin:0;flex-shrink:0}.st-moves{font-size:12px;margin:8px 0;color:#e5d6b1}.st-moves summary{cursor:pointer}.st-moves p{margin:3px 0}body.phone-game:has(#app>.party-ledger){--roster-bg:#103629;--roster-surface:#0c291f;--roster-raised:#193f31;--roster-text:#f4eedf;--roster-muted:#ccd6c9;--roster-line:#536f5b;--roster-gold:#b39c72;--roster-gold-light:#d2c19d;--roster-gold-dark:#756347;--roster-gold-metal:linear-gradient(112deg,transparent 17%,#fff8df8c 29%,#fff8e633 34%,transparent 48%,#705a321a 68%,#fff4d45c 85%,transparent 95%),linear-gradient(180deg,#e4d5b1 0%,#cdb990 37%,#b29a70 50%,#c3ac80 60%,#ddcba2 100%);--roster-gold-rim:#fff2ccad;--roster-gold-glow:#e7ce8d26;--roster-ink:#202c23;--roster-focus:#e7d5aa;--roster-progress:#8cd9b3;--roster-radius:5px;--roster-gap:6px;--roster-shadow:0 2px 6px #04150c38;--roster-duration:.15s;--roster-ease:cubic-bezier(.4,0,.2,1)}body.phone-game:has(#app>.party-ledger) .header{height:var(--menu-header-height);min-height:var(--menu-header-height);padding:0 18px;background:linear-gradient(100deg,#0b281ff2,#163e30ed),url(/assets/screens/party-courtyard-v1.webp) center 24%/cover;border-bottom:1px solid var(--roster-gold-dark);box-shadow:var(--roster-shadow)}body.phone-game:has(#app>.party-ledger) .header nav{gap:var(--menu-nav-gap)}body.phone-game.phone-edge-to-edge:not(.in-battle):has(#app>.party-ledger) #game-device>.header{height:calc(var(--menu-header-height) + var(--safe-top) / var(--phone-scale));min-height:calc(var(--menu-header-height) + var(--safe-top) / var(--phone-scale))}body.phone-game:has(#app>.party-ledger) .header nav .nav{height:var(--menu-button-height);min-height:var(--menu-button-height);border-radius:var(--roster-radius);color:var(--roster-text);background:transparent;font-size:var(--menu-label-size);gap:1px}body.phone-game:has(#app>.party-ledger) .header .phone-nav-icon{font-size:var(--menu-icon-font);height:var(--menu-icon-height);color:var(--roster-gold-light)}body.phone-game:has(#app>.party-ledger) .header nav .nav.active{color:var(--roster-ink);border-color:var(--roster-gold-light);background:var(--roster-gold-metal);box-shadow:inset 0 1px 1px var(--roster-gold-rim),inset 0 -2px 2px #75634766,0 0 8px var(--roster-gold-glow),var(--roster-shadow)}body.phone-game:has(#app>.party-ledger) .header nav .nav.active .phone-nav-icon{color:var(--roster-ink)}body.phone-game:has(#app>.party-ledger) .header nav .nav:hover:not(.active){background:var(--roster-raised);border-color:var(--roster-line)}body.phone-game:has(#app>.party-ledger) #app{background:var(--roster-bg);padding:4px 10px 7px}body.phone-game .phone-party-organized.party-ledger{grid-template-rows:37px minmax(0,1fr);gap:var(--roster-gap);padding:0;background:linear-gradient(#103629ed,#09271ef5),url(/assets/screens/party-courtyard-v1.webp) center/cover;color:var(--roster-text);box-shadow:none;border-radius:var(--roster-radius)}body.phone-game .phone-party-organized.party-ledger>.phone-page-tabs{max-width:none;gap:5px}body.phone-game .phone-party-organized.party-ledger>.phone-page-tabs>button{background:var(--roster-surface);color:var(--roster-muted);border-color:var(--roster-line);border-radius:var(--roster-radius);box-shadow:none;font-size:21px;font-weight:700;padding:2px 12px}body.phone-game .phone-party-organized.party-ledger>.phone-page-tabs>button[aria-pressed=true]{background:linear-gradient(120deg,#5d563e,#3a4934);color:var(--roster-text);border-color:var(--roster-gold);box-shadow:inset 0 1px var(--roster-gold-rim),0 0 5px var(--roster-gold-glow)}body.phone-game .phone-party-organized.party-ledger .party-roster-members{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1.22fr) minmax(0,1fr);gap:var(--roster-gap);height:100%}body.phone-game .phone-party-organized.party-ledger .party-roster-members>section{padding:4px 5px 5px;background:var(--roster-surface);border:1px solid var(--roster-line);border-radius:var(--roster-radius);box-shadow:var(--roster-shadow);overflow:hidden;color:var(--roster-text)}body.phone-game .phone-party-organized.party-ledger .party-roster-members>.phone-active-members{border-color:var(--roster-gold-light) var(--roster-gold) var(--roster-gold-dark);box-shadow:inset 0 1px var(--roster-gold-rim),0 0 7px var(--roster-gold-glow)}.party-active-heading{display:flex;align-items:center;gap:18px;min-width:0}body.phone-game .party-roster-members .party-active-heading{height:27px;min-height:27px;margin:-4px -5px 4px;padding:0 8px;color:var(--roster-ink);background:var(--roster-gold-metal);box-shadow:inset 0 1px var(--roster-gold-rim),inset 0 -1px #75634780,0 2px 6px var(--roster-gold-glow)}body.phone-game .phone-party-organized.party-ledger .party-roster-members h2{min-height:0;line-height:1.2;margin:0;font-size:19px;color:inherit;white-space:nowrap}body.phone-game .party-roster-members .party-active-count{font-size:15px}.party-deploy-status{padding:1px 10px;border:1px solid var(--roster-gold-dark);border-radius:4px;background:var(--roster-surface);color:var(--roster-text);font-size:11px;white-space:nowrap}.party-swap-hint{margin-left:0;padding:1px 12px;font-size:17px;font-weight:700;line-height:1.2;white-space:nowrap;border-radius:4px;border:1px solid #f2dfb0;background:#173e30;color:#fff8e6;box-shadow:0 1px 3px #30271440}body.phone-game .party-roster-members .party-active-heading button{font-size:12px;height:24px;min-height:24px;padding:1px 12px;color:var(--roster-text);background:var(--roster-surface);border:1px solid var(--roster-gold-dark);border-radius:4px}.party-member-detail{margin-left:auto}body.phone-game .phone-party-organized.party-ledger .party-roster-members .phone-active-members .phone-member-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:var(--roster-gap)}body.phone-game .phone-party-organized.party-ledger .party-roster-members .roster-item{position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;height:100%;min-width:0;padding:0;gap:0;text-align:left;touch-action:pan-x;cursor:pointer;background:linear-gradient(#103629c9,#071c16e6),url(/assets/screens/party-courtyard-v1.webp) center/cover;border:1px solid var(--roster-line);border-radius:var(--roster-radius);box-shadow:inset 0 0 0 1px #d2c19d12;color:var(--roster-text);opacity:1;overflow:hidden;isolation:isolate;transition:border-color var(--roster-duration) var(--roster-ease),box-shadow var(--roster-duration) var(--roster-ease)}body.phone-game .phone-party-organized.party-ledger .party-roster-members .phone-active-members .roster-item{border:1px solid var(--roster-gold);border-top-color:var(--roster-gold-light);background-color:var(--roster-raised);box-shadow:inset 0 1px 1px var(--roster-gold-rim),inset 1px 0 #e7ce8d40,inset 0 -1px #75634780,0 0 5px var(--roster-gold-glow)}body.phone-game .phone-party-organized.party-ledger .party-roster-members .roster-item:hover{border-color:var(--roster-gold-light);box-shadow:inset 0 0 0 1px var(--roster-gold)}body.phone-game .phone-party-organized.party-ledger .party-roster-members .roster-item.swap-source{border-color:var(--roster-focus);box-shadow:inset 0 0 0 2px var(--roster-gold-light)}body.phone-game .phone-party-organized.party-ledger .party-roster-members .party-portrait{position:absolute;inset:0;width:100%;height:100%;flex:1;min-height:0;margin:0;background:transparent;z-index:0}body.phone-game .party-roster-members .party-portrait:before{display:none}body.phone-game .party-roster-members .party-portrait-full>canvas.portrait{top:var(--party-crop-top,0%);left:var(--party-crop-left,50%);height:var(--party-crop-height,100%)!important;width:auto!important;opacity:1;transform:translate(-50%)}body.phone-game .phone-party-organized.party-ledger .party-roster-members .party-member-copy{position:absolute;bottom:0;left:0;right:0;z-index:1;width:100%;flex:none;padding:3px 7px 4px;background:transparent;border:0;color:var(--roster-text);text-shadow:0 1px 3px #000,0 0 5px #061d14b3}body.phone-game .phone-party-organized.party-ledger .party-roster-members .roster-name{font-size:18px;line-height:1.15}body.phone-game .phone-party-organized.party-ledger .party-roster-members .roster-meta{display:flex;justify-content:space-between;gap:3px;line-height:1.2;font-size:13px;color:var(--roster-muted);margin:1px 0}body.phone-game .phone-party-organized.party-ledger .party-roster-members .training-summary{display:flex;align-items:center;gap:6px;font-size:13px;line-height:1.2;color:var(--roster-progress)}body.phone-game .phone-party-organized.party-ledger .party-roster-members .phone-member-list .training-summary.is-complete{color:var(--roster-progress)}.party-training-track{display:block;height:4px;flex:1;min-width:14px;border:1px solid var(--roster-line);border-radius:2px;background:var(--roster-surface);overflow:hidden}.party-training-track>i{display:block;width:var(--training-fill,0%);height:100%;background:var(--roster-progress)}.party-swap-badge{display:none;position:absolute;top:4px;right:4px;padding:2px 6px;border-radius:3px;background:var(--roster-gold-light);color:var(--roster-ink);font-size:11px;font-weight:700}.swap-source>.party-swap-badge{display:block}body.phone-game .party-roster-members .party-empty-slot{display:grid;place-items:center;border-radius:var(--roster-radius);background:var(--roster-raised);border:1px dashed var(--roster-gold-dark);color:var(--roster-muted);font-size:14px}body.phone-game .party-roster-members .party-empty-slot.swap-source{border:2px solid var(--roster-focus)}body.phone-game .phone-party-organized.party-ledger .party-roster-members .party-reserve-heading{height:26px;margin:0 1px 4px;gap:9px}body.phone-game .phone-party-organized.party-ledger .party-reserve-search{flex:1;max-width:420px}body.phone-game .phone-party-organized.party-ledger .party-reserve-search input,body.phone-game .phone-party-organized.party-ledger .party-sort-control select{font-size:14px;background:var(--roster-raised);color:var(--roster-text);border-color:var(--roster-line);border-radius:4px}body.phone-game .phone-party-organized.party-ledger .party-reserve-search input{font-size:max(16px,calc(16px / var(--phone-scale,1)));padding-block:0;line-height:1}body.phone-game .phone-party-organized.party-ledger .party-reserve-search input::placeholder{color:var(--roster-muted);opacity:1}body.phone-game .phone-party-organized.party-ledger .party-reserve-search button{color:var(--roster-text)}body.phone-game .phone-party-organized.party-ledger .party-sort-control{margin-left:auto;order:4;width:124px}.party-swap-instruction{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--roster-muted)}.party-selecting .party-swap-instruction{color:var(--roster-gold-light)}.party-reserve-scroll{position:relative;flex:1;min-height:0;min-width:0;display:flex}body.phone-game .phone-party-organized.party-ledger .party-roster-members .phone-reserve-members .phone-member-list{display:grid;grid-template-rows:minmax(0,1fr);grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 36px)/5.6);gap:var(--roster-gap);align-content:stretch;height:100%;min-height:0;padding:0 24px 5px;overflow-x:auto;overflow-y:hidden;touch-action:pan-x;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--roster-gold) var(--roster-raised)}.party-reserve-scroll .phone-member-list::-webkit-scrollbar{height:5px}.party-reserve-scroll .phone-member-list::-webkit-scrollbar-track{background:var(--roster-raised)}.party-reserve-scroll .phone-member-list::-webkit-scrollbar-thumb{background:var(--roster-gold);border-radius:5px}body.phone-game .party-reserve-scroll .party-scroll-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);height:46px;min-height:46px;width:27px;padding:0;font:30px/1 Georgia,serif;border:1px solid #8ba28d99;border-radius:5px;background:#123c31bd;color:var(--roster-text)}.party-scroll-previous{left:0}.party-scroll-next{right:0}body.phone-game .party-reserve-scroll .party-scroll-arrow:disabled{color:#91a193;background:#123c316b;border-color:#51695780}body.phone-game .party-reserve-scroll:not(.can-scroll) .party-scroll-arrow{display:none}body.phone-game .phone-party-organized.party-ledger .party-roster-members .phone-member-empty{grid-column:1/-1;color:var(--roster-muted)}body.phone-game .phone-party-organized.party-ledger .party-roster-members .party-page-tools{display:none}body.phone-game .phone-party-equipment .party-active-heading{display:block}body.phone-game .phone-party-equipment .party-active-heading>:not(h2),body.phone-game .phone-party-equipment .party-empty-slot,body.phone-game .phone-party-equipment .party-swap-badge,body.phone-game .phone-party-equipment .party-training-track{display:none}body.phone-game .phone-party-organized.party-ledger .party-roster-members :is(button,input,select):focus-visible,body.phone-game:has(#app>.party-ledger) .header button:focus-visible{outline:2px solid var(--roster-focus);outline-offset:-2px}@container (max-width:900px){body.phone-game .phone-party-organized.party-ledger .party-roster-members .roster-name{font-size:18px}body.phone-game .phone-party-organized.party-ledger .party-roster-members .party-member-copy{padding-inline:4px}body.phone-game .phone-party-organized.party-ledger .party-reserve-search{max-width:260px}.party-deploy-status{font-size:10px;padding-inline:6px}.party-swap-instruction{font-size:13px}}@media(prefers-reduced-motion:reduce){body.phone-game .phone-party-organized.party-ledger .party-roster-members .roster-item{transition:none}}#rehabilitation-notice-dialog{width:min(540px,92vw);height:auto;max-height:88dvh;padding:24px 28px;background:#143d30;color:#fff3d5;border:2px solid #cbb783;box-shadow:0 20px 70px #0008;font-family:Yu Gothic UI,Meiryo,sans-serif;overflow:auto}body.phone-game dialog#rehabilitation-notice-dialog{width:660px;height:auto;max-width:calc(94vw / var(--phone-scale,1));max-height:calc(90dvh / var(--phone-scale,1));padding:24px 28px;background:#143d30;color:#fff3d5;overflow:auto}#rehabilitation-notice-dialog h2{margin:0 0 16px;color:#f3d89e;font-size:24px;line-height:1.35}#rehabilitation-notice-dialog p{font-size:16px;line-height:1.7;color:#fff3d5}#rehabilitation-notice-dialog .rehabilitation-notice-members{display:flex;flex-wrap:wrap;gap:8px 18px;padding:12px 16px;list-style:none;background:#0e2d23;border-radius:6px;font-size:21px;font-weight:700}#rehabilitation-notice-dialog .rehabilitation-notice-members li{display:flex;align-items:center;gap:12px;flex:1 1 180px;min-width:0;color:#fff3d5}#rehabilitation-notice-dialog .rehabilitation-notice-members .portrait{display:block;flex:none;width:80px;height:94px;object-fit:contain}#rehabilitation-notice-location{font-weight:700}#rehabilitation-notice-dialog footer{display:flex;justify-content:flex-end;margin-top:20px}#rehabilitation-notice-dialog button{min-height:46px;padding:10px 22px;background:#efdbac;color:#322b1b;border:1px solid #cbb783;font-size:16px;font-weight:700}@media(max-height:420px){#rehabilitation-notice-dialog{padding:16px 24px}#rehabilitation-notice-dialog h2{margin-bottom:8px;font-size:22px}#rehabilitation-notice-dialog p{margin:8px 0}#rehabilitation-notice-dialog .rehabilitation-notice-members{margin:8px 0;padding:8px 12px}#rehabilitation-notice-dialog footer{margin-top:12px}}body.phone-game:has(#app>.rs-shop-inspector){--shop-bg:#0c2a20;--shop-surface:#12392c;--shop-raised:#1d4435;--shop-text:#f4eedf;--shop-muted:#c3d0c3;--shop-line:#577360;--shop-gold:#b39c72;--shop-gold-light:#d2c19d;--shop-ink:#202c23;--shop-metal:linear-gradient(112deg,transparent 17%,#fff8df8c 29%,#fff8e633 34%,transparent 48%,#705a321a 68%,#fff4d45c 85%,transparent 95%),linear-gradient(180deg,#e4d5b1,#cdb990 37%,#b29a70 50%,#c3ac80 60%,#ddcba2)}body.phone-game:has(#app>.rs-shop-inspector) .header{height:var(--menu-header-height);min-height:var(--menu-header-height);padding:0 18px;background:linear-gradient(100deg,#0b281f,#163e30);border-bottom:1px solid var(--shop-gold);box-shadow:0 2px 6px #04150c38}body.phone-game.phone-edge-to-edge:not(.in-battle):has(#app>.rs-shop-inspector) #game-device>.header{height:calc(var(--menu-header-height) + var(--safe-top) / var(--phone-scale));min-height:calc(var(--menu-header-height) + var(--safe-top) / var(--phone-scale))}body.phone-game:has(#app>.rs-shop-inspector) .header nav{gap:var(--menu-nav-gap)}body.phone-game:has(#app>.rs-shop-inspector) .header nav .nav{height:var(--menu-button-height);min-height:var(--menu-button-height);border-radius:5px;color:var(--shop-text);background:transparent;font-size:var(--menu-label-size);gap:1px}body.phone-game:has(#app>.rs-shop-inspector) .header .phone-nav-icon{font-size:var(--menu-icon-font);height:var(--menu-icon-height);color:var(--shop-gold-light)}body.phone-game:has(#app>.rs-shop-inspector) .header nav .nav.active{color:var(--shop-ink);border-color:var(--shop-gold-light);background:var(--shop-metal);box-shadow:inset 0 1px 1px #fff2ccad,inset 0 -2px 2px #75634766,0 0 8px #e7ce8d26}body.phone-game:has(#app>.rs-shop-inspector) .header nav .nav.active .phone-nav-icon{color:var(--shop-ink)}body.phone-game:has(#app>.rs-shop-inspector) .header nav .nav:hover:not(.active){background:var(--shop-raised);border-color:var(--shop-line)}body.phone-game .release-screen.rs-shop-inspector{--rs-bg:var(--shop-bg);--rs-elevated:var(--shop-surface);--rs-subtle:var(--shop-raised);--rs-text:var(--shop-text);--rs-muted:var(--shop-muted);--rs-border:var(--shop-line);--rs-accent:var(--shop-gold);--rs-error:#ffb7a4;color-scheme:dark;background:var(--shop-bg);color:var(--shop-text)}body.phone-game .rs-shop-inspector .rs-content{grid-template-columns:minmax(0,.17fr) minmax(0,.51fr) minmax(0,.32fr);grid-template-rows:minmax(0,1fr);gap:0;padding:0;overflow:hidden;border-bottom:1px solid var(--shop-gold)}body.phone-game .rs-shop-inspector .shop-scene{flex-direction:column;padding:18px 10px 10px;border-right:1px solid #a18c5e80;background:linear-gradient(180deg,#112d2033,transparent 45%,#0a1915c9),url(/assets/screens/shop-interior-v1.webp) center/cover}body.phone-game .rs-shop-inspector .shop-scene h1{font-size:29px;letter-spacing:.1em;white-space:nowrap}body.phone-game .rs-shop-inspector .shop-scene-title p{font-size:10px;letter-spacing:.02em}body.phone-game .rs-shop-inspector .shop-scene-actions{flex-direction:column;align-items:stretch;gap:8px}body.phone-game .release-screen.rs-shop-inspector .shop-scene-actions button{display:block;min-height:42px;padding:7px;font-size:13px;line-height:1.35;max-width:100%;border:1px solid var(--shop-gold);border-radius:5px;background:#10291fdb;color:var(--shop-text);box-shadow:inset 0 1px #fff2cc30,0 2px 4px #07120c66}body.phone-game .release-screen.rs-shop-inspector .shop-scene-actions [data-weekly-equipment]{display:block}body.phone-game .release-screen.rs-shop-inspector .shop-scene-actions [data-rs-home]{font-size:13px!important;min-height:38px}body.phone-game .release-screen.rs-shop-inspector .shop-scene-actions button:hover:not(:disabled){background:var(--shop-raised);color:var(--shop-text)}body.phone-game .rs-shop-inspector .shop-catalogue{padding:6px 9px;background:linear-gradient(135deg,#143c2d,#0a251d);overflow:hidden}body.phone-game .rs-shop-inspector .shop-catalogue-header{display:grid;grid-template-columns:minmax(0,1fr) 32px;grid-template-rows:34px 21px;gap:2px 5px;min-height:59px;border:0;padding-bottom:2px}body.phone-game .rs-shop-inspector .shop-shelves{gap:5px;grid-column:1;grid-row:1;align-self:stretch}body.phone-game .rs-shop-inspector .shop-shelves button{flex:1;min-width:0;min-height:32px;padding:4px 7px;font-weight:700;font-family:inherit;font-size:14px;line-height:1.2;color:var(--shop-text);border:1px solid var(--shop-gold);border-radius:4px;background:var(--shop-bg);box-shadow:inset 0 1px #d2c19d26}body.phone-game .rs-shop-inspector .shop-shelves button[aria-pressed=true]{color:var(--shop-ink);background:var(--shop-metal);border-color:var(--shop-gold-light);box-shadow:inset 0 1px #fff2ccad,0 0 6px #e7ce8d26}body.phone-game .rs-shop-inspector .shop-shelves button:hover:not([aria-pressed=true]){background:var(--shop-raised);color:var(--shop-text)}body.phone-game .rs-shop-inspector .shop-wallet-slot{grid-row:2;grid-column:1/-1;justify-self:end;max-width:100%;margin:0;align-self:center}body.phone-game .rs-shop-inspector .rs-wallet{display:flex;align-items:center;gap:7px;padding:0;border:0;background:transparent;box-shadow:none}body.phone-game .rs-shop-inspector .rs-wallet>small{display:block;font-size:10px;color:var(--shop-muted)}body.phone-game .rs-shop-inspector .rs-wallet strong{font-family:inherit;font-size:15px;font-weight:600;line-height:1.2;color:var(--shop-text)}body.phone-game .rs-shop-inspector .rs-wallet span{font-size:10px}body.phone-game .rs-shop-inspector .shop-search-toggle{grid-column:2;grid-row:1;min-width:32px;min-height:32px;padding:5px;border:1px solid var(--shop-line);border-radius:4px;color:var(--shop-text)}body.phone-game .rs-shop-inspector .shop-search-toggle svg{width:19px;height:19px}body.phone-game .rs-shop-inspector .shop-search-toggle:hover{background:var(--shop-raised)}body.phone-game .rs-shop-inspector .shop-filters{padding:3px 0 5px;gap:5px}body.phone-game .rs-shop-inspector .shop-filters :is(input,select){height:32px;min-height:32px;background:var(--shop-bg);color:var(--shop-text);border-color:var(--shop-line);font-size:13px;padding:3px 6px}body.phone-game .rs-shop-inspector .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(88px,1fr));gap:7px;padding:3px 2px 4px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--shop-gold) transparent}body.phone-game .rs-shop-inspector .shop-tile{display:grid;grid-template-columns:33% minmax(0,1fr);align-items:center;gap:5px;padding:4px 6px;border:1px solid #9e8c61;border-radius:5px;background:linear-gradient(130deg,#204536,#102d23);color:var(--shop-text);box-shadow:inset 0 1px #d2c19d33,0 2px 4px #061b144d;text-align:left}body.phone-game .rs-shop-inspector .shop-tile:nth-child(3n){border-right-color:#9e8c61}body.phone-game .rs-shop-inspector .shop-tile[aria-pressed=true]{padding:4px 6px;border:1px solid #e6d3aa;background:linear-gradient(125deg,#47513a,#15392b 70%);box-shadow:inset 0 0 0 1px #e6d3aa88,0 0 6px #ead8ad55}body.phone-game .rs-shop-inspector .shop-tile[aria-pressed=true]:after{top:4px;right:4px;width:15px;height:15px;font:700 11px/15px sans-serif;color:var(--shop-ink);background:var(--shop-metal);box-shadow:0 0 3px #f6e4b9}body.phone-game .rs-shop-inspector .shop-tile:hover:not(:disabled){border-color:var(--shop-gold-light);background-color:var(--shop-raised)}body.phone-game .rs-shop-inspector .shop-tile-art{display:block;align-self:stretch;min-height:0;min-width:0;width:100%;height:100%}body.phone-game .rs-shop-inspector .shop-tile-art :is(img,canvas,svg){max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 3px 4px #0008)}body.phone-game .rs-shop-inspector .shop-tile-copy{display:flex;flex-direction:column;min-width:0;gap:2px}body.phone-game .rs-shop-inspector .shop-tile-copy>strong{font:700 14px/1.2 Yu Gothic UI,Meiryo,sans-serif;white-space:normal;overflow-wrap:anywhere;padding-right:10px}body.phone-game .rs-shop-inspector .shop-tile-effect{display:block;font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;color:#bde3c5}body.phone-game .rs-shop-inspector .shop-tile-price{width:auto;font:600 12px/1.2 Yu Gothic UI,Meiryo,sans-serif;white-space:nowrap;color:var(--shop-text);margin-top:0}body.phone-game .rs-shop-inspector .shop-tile-price small{font-size:10px}body.phone-game .rs-shop-inspector .shop-tile-rank{margin-left:6px;color:var(--shop-gold-light)}body.phone-game .rs-shop-inspector .shop-tile-stock{font:10px/1.2 Yu Gothic UI,Meiryo,sans-serif;color:var(--shop-muted)}body.phone-game .rs-shop-inspector .shop-page-foot{min-height:28px;gap:5px}body.phone-game .rs-shop-inspector .shop-footnote{font-size:10px;line-height:1.25;max-width:64%;color:var(--shop-muted)}body.phone-game .rs-shop-inspector .mobile-pager{gap:4px;min-height:28px}body.phone-game .rs-shop-inspector .mobile-pager button{min-height:28px;min-width:30px;color:var(--shop-text);font-size:24px}body.phone-game .rs-shop-inspector .mobile-pager-count{min-width:42px;font:13px/1.2 Yu Gothic UI,Meiryo,sans-serif;color:var(--shop-text)}body.phone-game .rs-shop-inspector .shop-sell-heading{display:flex;align-items:center;gap:6px;min-width:0}body.phone-game .rs-shop-inspector .shop-sell-title{font-size:14px;white-space:nowrap}body.phone-game .rs-shop-inspector .shop-bulk{min-height:32px;padding:3px 5px;font-size:11px;line-height:1.25;color:var(--shop-text);border-color:var(--shop-line)}body.phone-game .rs-shop-inspector .shop-inspector{display:flex;flex-direction:column;min-height:0;min-width:0;margin:8px 9px 8px 0;overflow:hidden;border:1px solid var(--shop-gold);border-radius:5px;background:linear-gradient(140deg,#194232,#09291e);box-shadow:inset 0 0 0 1px #d2c19d26,0 2px 8px #061b1466}body.phone-game .rs-shop-inspector .shop-inspector-heading{flex:none;margin:0;padding:5px 11px;font-size:17px;line-height:1.3;background:var(--shop-metal);color:var(--shop-ink);box-shadow:inset 0 1px #fff2ccad,inset 0 -1px #75634780}body.phone-game .rs-shop-inspector .shop-inspector-content{display:flex;flex-direction:column;min-height:0;flex:1}body.phone-game .rs-shop-inspector .shop-inspector-scroll{min-height:0;flex:1;overflow:auto;padding:6px 11px 8px;scrollbar-width:thin;scrollbar-color:var(--shop-gold) transparent;overscroll-behavior:contain;touch-action:pan-y}body.phone-game .rs-shop-inspector .shop-inspector-art{height:64px;display:flex;justify-content:center;align-items:center;background:radial-gradient(ellipse,#6583603d,transparent 68%);margin-bottom:4px}body.phone-game .rs-shop-inspector .shop-inspector-art :is(img,canvas,svg){width:100%;height:100%;max-width:132px;object-fit:contain;filter:drop-shadow(0 4px 5px #0008)}body.phone-game .rs-shop-inspector .shop-inspector-name{font-size:19px;line-height:1.3;margin:0 0 5px;overflow-wrap:anywhere;color:var(--shop-text)}body.phone-game .rs-shop-inspector .shop-inspector-meta{display:flex;flex-wrap:wrap;gap:4px 6px;font-size:10px;line-height:1.3;color:var(--shop-muted)}body.phone-game .rs-shop-inspector .shop-inspector-meta>span:not(:last-child){border:1px solid var(--shop-line);border-radius:3px;padding:1px 4px}body.phone-game .rs-shop-inspector .shop-inspector-meta>span:last-child{margin-left:auto;align-self:center;white-space:nowrap}body.phone-game .rs-shop-inspector .shop-inspector-effects{display:flex;flex-wrap:wrap;gap:4px 12px;margin:8px 0 6px;padding:7px 0;border-block:1px solid #809d8155;font-size:18px;line-height:1.25;color:#a9ebc3;font-weight:700}body.phone-game .rs-shop-inspector .shop-inspector-description{font-size:13px;line-height:1.6;margin:7px 0;color:var(--shop-text);overflow-wrap:anywhere}body.phone-game .rs-shop-inspector .shop-inspector-stock{font-size:11px;line-height:1.35;margin:7px 0;color:var(--shop-muted)}body.phone-game .rs-shop-inspector .shop-inspector-compare{margin-top:7px;border-top:1px solid var(--shop-line);color:var(--shop-text)}body.phone-game .rs-shop-inspector .shop-inspector-compare>summary{cursor:pointer;padding:8px 0;font-size:12px;line-height:1.3;min-height:32px;color:var(--shop-gold-light)}body.phone-game .rs-shop-inspector .equipment-comparison{padding:6px 0;margin:0;border:0;background:none;box-shadow:none;color:var(--shop-text);font-size:12px}body.phone-game .rs-shop-inspector .equipment-comparison h3{font-size:13px;margin-bottom:6px}body.phone-game .rs-shop-inspector .equipment-compare-selectors{display:flex;flex-direction:column;gap:5px}body.phone-game .rs-shop-inspector .equipment-compare-selectors label{display:flex;gap:5px;align-items:center;min-width:0;color:var(--shop-muted)}body.phone-game .rs-shop-inspector .equipment-compare-selectors select{min-width:0;flex:1;width:0;min-height:32px;height:32px;padding:3px;font-size:12px;background:var(--shop-bg);color:var(--shop-text);border-color:var(--shop-line)}body.phone-game .rs-shop-inspector .equipment-comparison dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:8px 0}body.phone-game .rs-shop-inspector .equipment-comparison dl>div{background:#041b1566;padding:5px;border-color:var(--shop-line)}body.phone-game .rs-shop-inspector .equipment-comparison :is(dt,dd,small,p){color:var(--shop-muted);font-size:11px}body.phone-game .rs-shop-inspector .equipment-comparison .positive{color:#a9ebc3}body.phone-game .rs-shop-inspector .equipment-comparison .negative{color:#ffb7a4}body.phone-game .rs-shop-inspector .shop-checkout{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px 5px;min-height:0;flex:none;padding:8px 9px 9px;margin:0;border-top:1px solid var(--shop-gold);background:#0a281ff5}body.phone-game .rs-shop-inspector .shop-quantity{gap:3px}body.phone-game .rs-shop-inspector .shop-quantity button{width:29px;min-height:33px;height:33px;padding:0;font-size:19px;border:1px solid var(--shop-gold);border-radius:4px;color:var(--shop-text);background:var(--shop-raised)}body.phone-game .rs-shop-inspector .shop-quantity input{width:35px;min-height:33px;height:33px;padding:0 1px;font-size:15px;border:1px solid var(--shop-line);background:var(--shop-bg);color:var(--shop-text)}body.phone-game .rs-shop-inspector .shop-total{min-width:0;align-items:flex-end}body.phone-game .rs-shop-inspector .shop-total small{font-size:10px;color:var(--shop-muted)}body.phone-game .rs-shop-inspector .shop-total strong{font:600 13px/1.3 Yu Gothic UI,Meiryo,sans-serif;color:var(--shop-text)}body.phone-game .rs-shop-inspector .shop-trade{grid-column:1/-1;width:100%;min-width:0;min-height:39px;padding:6px;font:700 18px/1.3 Yu Gothic UI,Meiryo,sans-serif;border:1px solid var(--shop-gold-light);border-radius:5px;background:var(--shop-metal);color:var(--shop-ink);box-shadow:inset 0 1px 1px #fff2ccad,inset 0 -2px 2px #75634766,0 0 8px #e7ce8d33}body.phone-game .rs-shop-inspector .shop-trade:hover:not(:disabled){filter:brightness(1.08)}body.phone-game .rs-shop-inspector .shop-trade:disabled{background:var(--shop-raised);color:#b7c0b4;border-color:var(--shop-line);box-shadow:none;opacity:1}body.phone-game .rs-shop-inspector .shop-inspector-empty{padding:22px 14px;margin:auto 0;font-size:14px;line-height:1.7;color:var(--shop-muted)}body.phone-game .rs-shop-inspector .shop-empty{font-size:14px;text-align:center}body.phone-game .rs-shop-inspector .rs-notice:not(:empty){bottom:110px;right:16px;max-width:65%;background:#173e31;color:var(--shop-text);border-color:var(--shop-gold);font-size:13px}body.phone-game .rs-shop-inspector .rs-notice.rs-error{color:#ffcab9;border-color:#d08e75}body.phone-game .rs-shop-inspector :is(button,input,select,summary):focus-visible{outline:2px solid #ffe2a1;outline-offset:2px}body.phone-game:has(#app>.phone-home-ranked){--lobby-bg:#0c2a20;--lobby-surface:#12392c;--lobby-raised:#1d4435;--lobby-text:#f4eedf;--lobby-muted:#c3d0c3;--lobby-line:#577360;--lobby-gold:#b39c72;--lobby-gold-light:#d2c19d;--lobby-gold-dark:#756347;--lobby-ink:#202c23;--lobby-metal:linear-gradient(112deg,transparent 17%,#fff8df8c 29%,#fff8e633 34%,transparent 48%,#705a321a 68%,#fff4d45c 85%,transparent 95%),linear-gradient(180deg,#e4d5b1,#cdb990 37%,#b29a70 50%,#c3ac80 60%,#ddcba2);--lobby-rim:#fff2ccad;--lobby-glow:#e7ce8d26;--lobby-shade:#061b13c9;--lobby-radius:7px;--lobby-space:6px;--lobby-shadow:0 2px 6px #04150c38;--lobby-identity-height:56px;--lobby-identity-space:8px;--lobby-profile-height:40px;--lobby-identity-offset:5px;--lobby-team-name-size:28px;--lobby-team-name-color:#f4dda6;--lobby-duration:.15s;--lobby-ease:cubic-bezier(.4,0,.2,1)}body.phone-game:has(#app>.phone-home-ranked) .header{height:var(--menu-header-height);min-height:var(--menu-header-height);padding:0 18px;background:linear-gradient(100deg,#0b281f,#163e30);border-bottom:1px solid var(--lobby-gold);box-shadow:var(--lobby-shadow)}body.phone-game.phone-edge-to-edge:not(.in-battle):has(#app>.phone-home-ranked) #game-device>.header{height:calc(var(--menu-header-height) + var(--safe-top) / var(--phone-scale));min-height:calc(var(--menu-header-height) + var(--safe-top) / var(--phone-scale))}body.phone-game:has(#app>.phone-home-ranked) .header nav{gap:var(--menu-nav-gap)}body.phone-game:has(#app>.phone-home-ranked) .header nav .nav{height:var(--menu-button-height);min-height:var(--menu-button-height);border-radius:5px;color:var(--lobby-text);background:transparent;font-size:var(--menu-label-size);gap:1px}body.phone-game:has(#app>.phone-home-ranked) .header .phone-nav-icon{font-size:var(--menu-icon-font);height:var(--menu-icon-height);color:var(--lobby-gold-light)}body.phone-game:has(#app>.phone-home-ranked) .header nav .nav.active{color:var(--lobby-ink);border-color:var(--lobby-gold-light);background:var(--lobby-metal);box-shadow:inset 0 1px 1px var(--lobby-rim),inset 0 -2px 2px #75634766,0 0 8px var(--lobby-glow)}body.phone-game:has(#app>.phone-home-ranked) .header nav .nav.active .phone-nav-icon{color:var(--lobby-ink)}body.phone-game:has(#app>.phone-home-ranked) .header nav .nav:hover:not(.active){background:var(--lobby-raised);border-color:var(--lobby-line)}body.phone-game:has(#app>.phone-home-ranked) #app{background:radial-gradient(ellipse at 15% 0%,var(--lobby-surface),transparent 65%),var(--lobby-bg)}body.phone-game .phone-home-ranked{--bg:var(--lobby-bg);--bg-elevated:var(--lobby-surface);--text:var(--lobby-text);--text-muted:var(--lobby-muted);--accent:var(--lobby-gold-light);--border:var(--lobby-gold);color:var(--lobby-text);color-scheme:dark}body.phone-game .phone-home-ranked{grid-template-rows:var(--lobby-identity-height) minmax(0,1fr);row-gap:0}body.phone-game .phone-home-ranked .phone-player{padding:calc(var(--lobby-identity-space) - var(--lobby-identity-offset)) 0 calc(var(--lobby-identity-space) + var(--lobby-identity-offset));gap:var(--lobby-identity-space)}body.phone-game .phone-home-ranked .phone-player h1{margin:0;color:var(--lobby-team-name-color);font-family:Yu Gothic UI,Hiragino Kaku Gothic ProN,Meiryo,sans-serif;font-size:var(--lobby-team-name-size);font-weight:800;line-height:1.2;letter-spacing:.02em;text-shadow:0 2px 3px #04150c80}body.phone-game .phone-home-ranked .phone-player button{display:inline-flex;align-items:center;justify-content:center;height:var(--lobby-profile-height);min-height:var(--lobby-profile-height);margin:0;padding:0 10px;line-height:1.2;color:var(--lobby-text);background:linear-gradient(140deg,var(--lobby-surface),var(--lobby-bg));border:1px solid var(--lobby-gold);border-radius:var(--lobby-radius);box-shadow:inset 0 1px #fff2cc30}body.phone-game .phone-home-ranked .release-hero:not(:has(>.battle-preparing)){position:relative;border:1px solid var(--lobby-gold-light);border-radius:var(--lobby-radius);background:linear-gradient(0deg,var(--lobby-shade),#061b1333 40%,transparent 70%),url(/assets/fullscreen/grove-wide-v1.webp) center/cover no-repeat,url(/assets/fullscreen/grove-preview-v1.webp) center/cover no-repeat,var(--lobby-bg);box-shadow:inset 0 0 0 2px #d2c19d33,var(--lobby-shadow)}.lobby-party-label{position:absolute;top:0;left:0;z-index:1;margin:0;padding:5px 14px 6px;border:0;border-right:1px solid var(--lobby-gold);border-bottom:1px solid var(--lobby-gold);border-radius:0 0 12px;background:linear-gradient(110deg,#0c2a20f5,#12392ce0);color:var(--lobby-text);font:700 13px/1.3 Yu Mincho,serif;letter-spacing:.08em;pointer-events:none;box-shadow:0 1px 4px #04150c40}body.phone-game .phone-home-ranked .hero-party b{align-self:stretch;margin-top:2px;padding:2px 0;border-bottom:1px solid #d2c19d75;background:linear-gradient(90deg,transparent,#061b138c 15%,#061b138c 85%,transparent);color:var(--lobby-text)}body.phone-game .phone-home-ranked .hero-party .training-summary{align-self:stretch;padding:3px 0 2px;background:linear-gradient(90deg,transparent,#061b1370 15%,#061b1370 85%,transparent)}body.phone-game .phone-home-ranked .hero-party .training-summary.is-complete{font-size:12px;white-space:normal;max-width:100%;text-wrap:balance}body.phone-game .phone-home-ranked .lobby-rank-card{padding:8px 10px 10px;border-color:var(--lobby-gold-light);border-radius:var(--lobby-radius);background:radial-gradient(ellipse at 50% 25%,#29503b80,transparent 65%),var(--lobby-bg);box-shadow:inset 0 0 0 2px #061b13,inset 0 0 0 3px #d2c19d75,var(--lobby-shadow)}body.phone-game .phone-home-ranked .lobby-rank-card .panel-head{min-height:32px;margin:-5px -7px 2px;padding:4px 7px;background:var(--lobby-metal);border-radius:4px;box-shadow:inset 0 1px var(--lobby-rim),inset 0 -1px #75634780}body.phone-game .phone-home-ranked .lobby-rank-card .panel-head h2{color:var(--lobby-ink);font-size:19px}body.phone-game .phone-home-ranked .lobby-rank-progress progress{border-color:var(--lobby-gold);background:var(--lobby-bg)}body.phone-game .phone-home-ranked .lobby-rank-progress progress::-webkit-progress-value{background:var(--lobby-metal);box-shadow:inset 0 1px var(--lobby-rim)}body.phone-game .phone-home-ranked .lobby-rank-progress progress::-moz-progress-bar{background:var(--lobby-metal);box-shadow:inset 0 1px var(--lobby-rim)}body.phone-game .phone-home-ranked .lobby-rank-card .arena-preview:has(#arena-countdown){border-color:var(--lobby-gold-dark)}body.phone-game .phone-home-ranked .arena-preview img{border-color:var(--lobby-gold)}body.phone-game .phone-home-ranked .lobby-rank-card #start-pvp,body.phone-game .phone-home-ranked .lobby-rank-card #pvp-open-membership{color:var(--lobby-ink);background:var(--lobby-metal);border:1px solid var(--lobby-gold-light);border-radius:var(--lobby-radius);box-shadow:inset 0 1px 1px var(--lobby-rim),inset 0 -2px 2px #75634766,0 0 8px var(--lobby-glow),var(--lobby-shadow)}body.phone-game .phone-home-ranked .lobby-rank-card #start-pvp:disabled{background:var(--lobby-surface);color:var(--lobby-muted);border-color:var(--lobby-line);box-shadow:none}body.phone-game .phone-home-ranked .lobby-rank-card:has(#cancel-match) #start-pvp{background:transparent;border:0;box-shadow:none;color:var(--lobby-muted)}body.phone-game .phone-home-ranked .pvp-member-price,body.phone-game .phone-home-ranked .pvp-member-benefit{color:var(--lobby-text)}body.phone-game .phone-home-ranked .pvp-member-note{color:var(--lobby-muted)}body.phone-game .phone-home-ranked .phone-home-actions button{color:var(--lobby-text);background:var(--lobby-surface);border-color:var(--lobby-gold)}body.phone-game .phone-home-ranked .release-notice{color:var(--lobby-text);background:var(--lobby-surface);border:1px solid var(--lobby-gold)}body.phone-game .phone-home-ranked button{transition:background-color var(--lobby-duration) var(--lobby-ease),box-shadow var(--lobby-duration) var(--lobby-ease)}body.phone-game .phone-home-ranked .phone-player button:hover,body.phone-game .phone-home-ranked #cancel-match:hover{background:var(--lobby-raised)}body.phone-game .phone-home-ranked .lobby-rank-card .primary:hover:not(:disabled){box-shadow:inset 0 1px 3px var(--lobby-rim),0 0 9px var(--lobby-glow)}body.phone-game .phone-home-ranked button:active:not(:disabled){box-shadow:inset 0 2px 4px #04150c66}body.phone-game:has(#app>.phone-home-ranked) .header button:focus-visible,body.phone-game .phone-home-ranked button:focus-visible{outline:2px solid var(--lobby-gold-light);outline-offset:-3px}@media(prefers-reduced-motion:reduce){body.phone-game .phone-home-ranked button{transition:none}}@media(max-width:740px){body.phone-game:has(#app>.phone-home-ranked){--lobby-identity-height:52px;--lobby-profile-height:36px;--lobby-team-name-size:22px}}body.phone-game.phone-edge-to-edge:has(#app>.phone-home-ranked){--lobby-identity-offset:0px}body.phone-game .phone-home-ranked{grid-template-rows:var(--lobby-identity-height) minmax(0,1fr) 64px;column-gap:12px}body.phone-game .phone-home-ranked .lobby-bottom-actions{grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:9px;min-width:0}.lobby-match-controls{display:flex;min-width:0;gap:5px}body.phone-game .phone-home-ranked .lobby-bottom-actions button{display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;min-width:0;min-height:0;width:100%;height:100%;margin:0;padding:5px 8px;border:3px double var(--lobby-gold-light);border-radius:9px;color:var(--lobby-text);background:linear-gradient(120deg,#174638,#09291e);box-shadow:inset 0 0 0 2px #061b13,inset 0 0 0 3px #b39c7260,0 2px 3px #0005;font:700 22px/1.2 Yu Mincho,serif}body.phone-game .phone-home-ranked .lobby-bottom-actions #start-pvp{background:var(--lobby-metal);color:var(--lobby-ink);box-shadow:inset 0 0 0 2px #fff1ce,inset 0 0 0 3px #756347,0 2px 3px #0005}.lobby-bottom-actions #start-pvp:before{content:"\2694";font-family:serif;font-size:34px;line-height:1}.lobby-bottom-actions svg{width:34px;height:30px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:var(--lobby-gold-light)}.lobby-bottom-actions small{font:700 10px/1 sans-serif;border:1px solid #70896e;border-radius:3px;padding:3px;color:#f4eedf;background:#405e38}body.phone-game .phone-home-ranked .lobby-bottom-actions button:disabled{opacity:.55}body.phone-game .phone-home-ranked .lobby-match-controls:has(#cancel-match) #start-pvp{font:14px/1.3 sans-serif;white-space:normal;flex:1}.lobby-match-controls:has(#cancel-match) #start-pvp:before{display:none}body.phone-game .phone-home-ranked .lobby-match-controls #cancel-match{font-size:18px;flex:1}body.phone-game dialog#live-spectator-dialog.live-spectator-dialog{zoom:1;box-sizing:border-box;width:min(1200px,96vw);max-width:96vw;height:92dvh;max-height:92dvh;margin:auto;padding:12px;overflow:hidden;border:2px solid #cbb17c;border-radius:14px;background:#102c23;color:#fff1d1;box-shadow:0 10px 50px #0008}body.phone-game dialog#live-spectator-dialog.live-spectator-dialog[open]{display:flex;flex-direction:column;gap:8px}body.phone-game dialog#live-spectator-dialog.live-spectator-dialog::backdrop{background:#001910bb;backdrop-filter:blur(4px)}body.phone-game dialog#live-spectator-dialog.live-spectator-dialog>header{display:flex;align-items:center;gap:12px;flex:none}body.phone-game dialog#live-spectator-dialog.live-spectator-dialog h2{font-size:20px;margin:0;flex:1;white-space:nowrap}body.phone-game dialog#live-spectator-dialog.live-spectator-dialog h2 small{font:12px sans-serif;color:#d6dcad}body.phone-game dialog#live-spectator-dialog.live-spectator-dialog button{color:#fff1d1;background:#204536;border:1px solid #cbb17c;border-radius:6px;min-height:36px;padding:5px 14px;white-space:nowrap}body.phone-game dialog#live-spectator-dialog.live-spectator-dialog [data-spectator-close]{font-size:24px;min-width:42px}body.phone-game dialog#live-spectator-dialog.live-spectator-dialog p{margin:0;font-size:14px;line-height:1.4}.spectator-list{overflow:auto;min-height:0;display:grid;gap:10px}.spectator-match{padding:12px;border:1px solid #9c8a61;border-radius:9px;background:#183d30}.spectator-match-teams{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:16px;align-items:center}.spectator-match h3{margin:0;font-size:18px;overflow-wrap:anywhere}.spectator-match p{color:#dbc99d}.spectator-versus{color:#cbb17c}.spectator-members{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.spectator-members>span{display:grid;justify-items:center;min-width:0}.spectator-members canvas{width:100%;height:70px;min-height:0;max-width:90px;object-fit:contain}.spectator-members small{width:100%;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.spectator-match footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;border-top:1px solid #577360;padding-top:8px}.spectator-player{flex:1;min-height:0;position:relative;background:#081915}.spectator-player iframe{display:block;width:100%;height:100%;border:0}body.phone-game dialog#live-spectator-dialog.live-spectator-dialog [hidden]{display:none!important}@media(max-width:740px){body.phone-game .phone-home-ranked .lobby-bottom-actions button{font-size:18px;gap:6px}.lobby-bottom-actions svg{width:27px}body.phone-game dialog#live-spectator-dialog.live-spectator-dialog{padding:8px}.spectator-match{padding:8px}.spectator-match-teams{gap:8px}.spectator-members canvas{height:48px}.spectator-members small{font-size:10px}body.phone-game dialog#live-spectator-dialog.live-spectator-dialog h2{font-size:17px}}body.phone-game dialog#live-spectator-dialog.live-spectator-dialog :is(h2,h3,small){color:#fff1d1}body.phone-game dialog#live-spectator-dialog.live-spectator-dialog .spectator-intro{color:#dfd4b7}body.phone-game .phone-home-ranked .lobby-rank-card.pvp-limit-reached{gap:2px}body.phone-game .phone-home-ranked .lobby-rank-card.pvp-limit-reached .lobby-rank-emblem{min-height:40px;max-height:58px}body.phone-game .phone-home-ranked .pvp-membership-offer{gap:2px}body.phone-game .phone-home-ranked .pvp-member-price strong{font-size:22px;line-height:1.1}body.phone-game .phone-home-ranked .pvp-member-benefit{font-size:12px;line-height:1.2}body.phone-game .phone-home-ranked .lobby-rank-card .pvp-member-note{font-size:11px;line-height:1.2}.match-intro{container-type:inline-size;position:absolute;inset:0;z-index:30;display:grid;grid-template-columns:44% 12% 44%;grid-template-rows:9% 25% minmax(0,1fr) 17% 7%;padding:2% 3%;gap:3px 0;overflow:hidden;background:linear-gradient(#071b12aa,#071b1210 58%,#071b12bb),url(/assets/backgrounds/grove-v1.png) center/cover;color:#fff0c4;border:2px solid #c09b59;border-radius:12px;box-shadow:inset 0 0 0 3px #302b18,inset 0 0 0 5px #c09b59;font-family:Yu Mincho,Hiragino Mincho ProN,serif;text-align:center}.match-intro *{box-sizing:border-box}.match-intro-title{grid-column:1/-1;margin:0;align-self:center;font-size:clamp(19px,3cqw,42px);font-weight:600;line-height:1.2;letter-spacing:.08em;text-shadow:0 2px 3px #000}.match-intro-team{grid-row:2;min-width:0;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3px 8px 3px 28%;border:1px solid #b79753;border-radius:7px;background:linear-gradient(110deg,#102c24ed,#122f27ba);box-shadow:inset 0 0 0 3px #b797532b;visibility:hidden;will-change:transform}.match-intro-enemy{grid-column:1}.match-intro-player{grid-column:3}.match-intro-role{font-size:clamp(12px,1.65cqw,22px);line-height:1.2;color:#dbc896}.match-intro-team h2{max-width:100%;margin:2px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(17px,2.45cqw,36px);line-height:1.2;color:#fff2cf}.match-intro-rating{display:flex;align-items:center;justify-content:center;gap:6px;min-height:0;font-size:clamp(12px,1.7cqw,24px);line-height:1.4}.match-intro-rating strong{font:700 clamp(22px,3.3cqw,46px)/1.15 Georgia,serif}.match-intro .lobby-rank-emblem{position:absolute;left:2%;top:3%;width:27%;height:94%;min-height:0;max-height:none;filter:drop-shadow(0 2px 3px #0008)}.match-intro-cpu{border:1px solid #b79753;border-radius:3px;padding:2px 4px;font:12px/1.2 sans-serif}.match-intro-party{grid-row:3;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;min-width:0;min-height:0;overflow:visible;padding:4px 0 0;visibility:hidden;will-change:transform}.match-intro-member{min-width:0;height:100%;display:flex;align-items:end;justify-content:center}.match-intro canvas.portrait{display:block;flex:none;width:155%;max-width:none;height:100%;min-height:0;object-fit:contain;object-position:bottom;filter:drop-shadow(0 4px 3px #0009);opacity:1}.match-intro .match-intro-member-small canvas.portrait{width:77.5%;height:50%}.match-intro-party.match-intro-enemy canvas{transform:scaleX(-1)}.match-intro-vs{grid-column:2;grid-row:3;align-self:center;justify-self:center;position:relative;z-index:2;width:160%;isolation:isolate;visibility:hidden}.match-intro-letters{display:block;position:relative;z-index:1;font:italic 900 clamp(68px,12.5cqw,172px)/1.1 Georgia,serif;letter-spacing:-.13em;padding-right:.13em;color:#ffe9a0;background:linear-gradient(165deg,#fffdf0 8%,#fff0b0 28%,#d59a38 47%,#fff9d8 49%,#ffe29a 54%,#bb731d 85%,#f8d482);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-text-stroke:.6px #ffe9b0;filter:drop-shadow(1px 2px 0 #794918) drop-shadow(1px 3px 0 #452814) drop-shadow(0 5px 6px #071810) drop-shadow(0 0 12px #f9bd5655)}.match-intro-letters:after{content:"VS";position:absolute;inset:0;padding-right:.13em;background:linear-gradient(115deg,transparent 35%,#fff9dc55 43%,#fffef0 49%,#fff9dc55 55%,transparent 63%) 160% 0/300% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-stroke:0;opacity:0}.match-intro-vs:before,.match-intro-vs:after{content:"";position:absolute;pointer-events:none;z-index:0;opacity:0;border-radius:50%}.match-intro-vs:before{inset:-45%;background:radial-gradient(ellipse at 47% 51%,#fff7d9aa,#ffdc7970 13%,#e999252f 36%,transparent 67%);filter:blur(4px)}.match-intro-vs:after{inset:-5% -40%;background:radial-gradient(ellipse at 55% 50%,#fff7d8cc,#ffda7866 15%,#edaa3733 35%,transparent 64%);transform:rotate(-28deg);filter:blur(8px)}.match-intro-embers{position:absolute;inset:0;z-index:2;pointer-events:none}.match-intro-embers i{position:absolute;left:50%;top:50%;width:max(1px,var(--size));height:max(2px,calc(var(--size)*1.5));border-radius:70% 35% 65% 40%;background:radial-gradient(ellipse at 40% 35%,#fffef1,#ffe19b 40%,#e8a43b 72%,transparent);box-shadow:0 0 5px 1px #ffc46bcc;opacity:0}.match-intro-record{grid-column:1/-1;grid-row:4;align-self:center;justify-self:center;min-width:36%;max-width:80%;padding:3px 20px;border:2px solid #b79a5e;border-radius:9px;background:linear-gradient(#fff4d8,#ecdbb3);color:#30271a;box-shadow:inset 0 0 0 2px #fff5d2,0 2px 6px #0005}.match-intro-record h2{margin:0;font:600 clamp(12px,1.6cqw,22px)/1.3 "Yu Mincho",serif;white-space:nowrap}.match-intro-record strong{display:block;font:700 clamp(20px,3.2cqw,44px)/1.1 "Yu Mincho",serif;word-spacing:.2em}.match-intro-record small{display:block;font:clamp(10px,1.25cqw,16px)/1.1 sans-serif}.match-intro-status{grid-column:1/-1;grid-row:5;display:flex;align-items:center;justify-content:center;gap:10px;align-self:center;font:clamp(13px,1.9cqw,25px)/1.4 sans-serif;color:#ffdb82;text-shadow:0 1px 2px #000}.match-intro-spinner{width:1em;height:1em;flex:none;border:2px solid #b59e62;border-top-color:#ffe399;border-radius:50%;animation:match-intro-turn 1.4s linear infinite}.match-intro .match-intro-cancel{position:absolute;top:2%;right:3%;min-width:48px;min-height:44px;margin:0;padding:4px 10px;background:#102d24dd;color:#ffe4ad;border:1px solid #b79753;border-radius:6px;font:clamp(13px,1.6cqw,20px)/1.3 sans-serif;box-shadow:none}.match-intro-cancel:disabled{opacity:.5}.match-intro-cancel:focus-visible{outline:3px solid #ffe4ad;outline-offset:2px}@keyframes match-intro-turn{to{transform:rotate(1turn)}}.match-intro.is-playing .match-intro-team,.match-intro.is-playing .match-intro-party,.match-intro.is-playing .match-intro-vs{visibility:visible}.is-playing .match-intro-team.match-intro-enemy,.is-playing .match-intro-party.match-intro-enemy{animation:match-intro-enter-left .68s cubic-bezier(.16,1,.3,1) .04s both}.is-playing .match-intro-team.match-intro-player,.is-playing .match-intro-party.match-intro-player{animation:match-intro-enter-right .68s cubic-bezier(.16,1,.3,1) .1s both}.is-playing .match-intro-vs{animation:match-intro-strike .46s cubic-bezier(.2,.8,.25,1) .55s both}.is-playing .match-intro-vs:before{animation:match-intro-bloom 2.25s ease-out .59s both}.is-playing .match-intro-vs:after{animation:match-intro-flare 1.35s ease-out .61s both}.is-playing .match-intro-letters:after{animation:match-intro-polish 1.4s ease-in-out .74s both}.is-playing .match-intro-embers i{animation:match-intro-ember var(--life) cubic-bezier(.16,.55,.3,1) var(--delay) both}.is-complete .match-intro-embers{display:none}@keyframes match-intro-enter-left{0%{transform:translate(-125%)}75%{transform:translate(2%)}90%{transform:translate(-.6%)}to{transform:translate(0)}}@keyframes match-intro-enter-right{0%{transform:translate(125%)}75%{transform:translate(-2%)}90%{transform:translate(.6%)}to{transform:translate(0)}}@keyframes match-intro-strike{0%{transform:scale(1.9);opacity:0}45%{opacity:1}70%{transform:scale(.95)}to{transform:scale(1);opacity:1}}@keyframes match-intro-bloom{0%{opacity:0;transform:scale(.35)}12%{opacity:1}50%{opacity:.45}to{opacity:0;transform:scale(1.25)}}@keyframes match-intro-flare{0%{opacity:0;transform:rotate(-28deg) scale(.4)}12%{opacity:.95}to{opacity:0;transform:rotate(-18deg) scale(1.4)}}@keyframes match-intro-polish{0%{opacity:0;background-position:160% 0}15%,60%{opacity:1}to{opacity:0;background-position:-60% 0}}@keyframes match-intro-ember{0%{opacity:0;transform:translate(var(--sx),var(--sy)) rotate(var(--turn)) scale(.5)}12%{opacity:1}55%{opacity:.85}to{opacity:0;transform:translate(var(--x),var(--y)) rotate(calc(var(--turn) + 95deg)) scale(.2)}}@media(prefers-reduced-motion:reduce){.match-intro-spinner,.match-intro.is-playing .match-intro-team,.match-intro.is-playing .match-intro-party,.match-intro.is-playing .match-intro-vs,.match-intro.is-playing .match-intro-vs:before,.match-intro.is-playing .match-intro-vs:after,.match-intro.is-playing .match-intro-letters:after,.match-intro.is-playing .match-intro-embers i{animation:none!important}}body.phone-game:has(#app:is(.technique-library,.history-journal)){--journal-bg:#103629;--journal-surface:#0b281f;--journal-raised:#1b4233;--journal-text:#f4eedf;--journal-muted:#c7d4c6;--journal-line:#60765c;--journal-gold:#d2bd8b;--journal-gold-deep:#947c4d;--journal-ink:#26372b;--journal-paper:#f3e6c8;--journal-paper-muted:#56604c;--journal-win:#efd18e;--journal-loss:#e9aaa0;--journal-metal:linear-gradient(112deg,transparent 20%,#fff8df77 32%,transparent 48%,#fff4d444 85%),linear-gradient(#e4d5b1,#b29a70 52%,#ddcba2);--journal-space:8px;--journal-radius:6px;--journal-radius-lg:10px;--journal-small:13px;--journal-body:16px;--journal-title:24px;--journal-shadow:0 2px 4px #04150c33,0 6px 16px #04150c26;--journal-duration:.15s;--journal-ease:cubic-bezier(.4,0,.2,1)}body.phone-game:has(#app:is(.technique-library,.history-journal)) .header{background:linear-gradient(100deg,var(--journal-surface),var(--journal-raised));border-color:var(--journal-gold-deep);box-shadow:var(--journal-shadow)}body.phone-game:has(#app:is(.technique-library,.history-journal)) .header .nav{color:var(--journal-text);background:transparent;border-color:transparent}body.phone-game:has(#app:is(.technique-library,.history-journal)) .header .phone-nav-icon{color:var(--journal-gold)}body.phone-game:has(#app:is(.technique-library,.history-journal)) .header .nav.active{color:var(--journal-ink);background:var(--journal-metal);border-color:var(--journal-gold)}body.phone-game:has(#app:is(.technique-library,.history-journal)) .header .nav.active .phone-nav-icon{color:var(--journal-ink)}body.phone-game #game-device>#app:is(.technique-library,.history-journal){color:var(--journal-text);padding:10px max(12px,calc(var(--safe-right) / var(--phone-scale,1))) max(10px,calc(var(--safe-bottom) / var(--phone-scale,1))) max(12px,calc(var(--safe-left) / var(--phone-scale,1)));background:linear-gradient(#103629ed,#09271ef5),url(/assets/screens/party-courtyard-v1.webp) center/cover}body.phone-game #app.technique-library>.intro{flex:none;margin:0 0 8px;min-height:46px}#app.technique-library>.intro>div{width:100%;display:grid;grid-template-columns:1fr auto;gap:3px 14px}#app.technique-library>.intro h1{font-size:var(--journal-title);line-height:1.15;margin:0;color:var(--journal-text);letter-spacing:.04em}#app.technique-library>.intro p{grid-column:1;grid-row:2;font-size:var(--journal-small);line-height:1.3;color:var(--journal-muted);margin:0}#app.technique-library .phone-catalogue-switch{grid-column:2;grid-row:1/3;align-self:center;gap:6px}body.phone-game #app.technique-library .phone-catalogue-switch button{min-height:42px;padding:4px 20px;font-size:18px;background:var(--journal-surface);color:var(--journal-muted);border-color:var(--journal-line)}body.phone-game #app.technique-library .phone-catalogue-switch button[aria-pressed=true]{background:var(--journal-metal);color:var(--journal-ink);border-color:var(--journal-gold);font-weight:700}#app.technique-library .library-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(275px,1fr);gap:12px;flex:1;min-height:0}#app.technique-library .phone-catalogue-mode{min-height:0}#app.technique-library .phone-page-tabs{min-height:40px;margin:0 0 7px;gap:6px;align-items:center}body.phone-game #app.technique-library .phone-page-tabs :is(button,select){min-height:38px;height:38px;font-size:15px;background:var(--journal-raised);color:var(--journal-text);border-color:var(--journal-line);padding:4px 10px}#app.technique-library .phone-page-tabs>select{max-width:250px;min-width:145px}body.phone-game #app.technique-library .phone-page-tabs>select{appearance:none;-webkit-appearance:none;color-scheme:dark;padding-right:30px;background-image:linear-gradient(45deg,transparent 50%,var(--journal-gold) 50%),linear-gradient(135deg,var(--journal-gold) 50%,transparent 50%);background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%;background-size:5px 5px;background-repeat:no-repeat}#app.technique-library .phone-page-tabs>.mobile-pager{margin-left:auto}#app.technique-library .mobile-pager :is(button,.mobile-pager-count){font-size:15px;color:var(--journal-text)}#app.technique-library .mobile-pager button{background:var(--journal-raised);border-color:var(--journal-line)}#app.technique-library .mobile-pager button:disabled{opacity:.45}body.phone-game #app.technique-library .catalogue-group{padding:7px;background:var(--journal-surface);border:1px solid var(--journal-line);border-radius:var(--journal-radius-lg);box-shadow:var(--journal-shadow)}body.phone-game #app.technique-library .phone-tech-rows{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:7px}body.phone-game #app.technique-library .phone-tech-rows[data-library-count="1"]{grid-template-columns:1fr;grid-template-rows:1fr}body.phone-game #app.technique-library .catalogue-tech{background:linear-gradient(120deg,var(--journal-raised),var(--journal-surface));border:1px solid var(--journal-line);border-radius:var(--journal-radius);overflow:hidden;transition:border-color var(--journal-duration) var(--journal-ease),background-color var(--journal-duration) var(--journal-ease)}body.phone-game #app.technique-library .catalogue-tech.library-selected{border-color:var(--journal-gold);box-shadow:inset 0 0 0 1px var(--journal-gold-deep)}body.phone-game #app.technique-library .catalogue-tech summary{position:relative;padding:5px 9px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-height:0;height:100%;text-align:left;color:var(--journal-text);isolation:isolate}#app.technique-library .library-card-glyph{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:58px;height:58px;opacity:.12;color:var(--journal-gold);z-index:-1;pointer-events:none}#app.technique-library .library-card-glyph svg{width:100%;height:100%}#app.technique-library :is(.library-card-glyph,.library-preview-emblem)>.gear-icon{width:100%;height:100%;object-fit:contain}body.phone-game #app.technique-library .catalogue-tech .technique-name{font-size:17px;line-height:1.2;white-space:normal;justify-content:flex-start;gap:5px}#app.technique-library .technique-name .technique-label{min-width:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}body.phone-game #app.technique-library .catalogue-tech :is(.catalogue-family,.library-card-holders,summary>span:not(.library-card-glyph)){font-size:var(--journal-small);line-height:1.2;color:var(--journal-muted);max-width:100%;margin:0}body.phone-game #app.technique-library .catalogue-tech .catalogue-family{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#app.technique-library .library-card-holders{position:absolute;right:8px;bottom:5px}#app.technique-library .phone-tech-rows[data-library-count="1"] .catalogue-tech summary{align-items:center;text-align:center;gap:10px}body.phone-game #app.technique-library .phone-tech-rows[data-library-count="1"] .catalogue-tech .technique-name{font-size:26px;justify-content:center}#app.technique-library .phone-tech-rows[data-library-count="1"] .library-card-glyph{position:static;transform:none;width:78px;height:78px;opacity:.85;z-index:auto}#app.technique-library .phone-tech-rows[data-library-count="1"] .library-card-holders{position:static}#app.technique-library .phone-tech-rows>.subtext{grid-column:1/-1;grid-row:1/-1;align-self:center;justify-self:center;color:var(--journal-muted);font-size:var(--journal-body);text-align:center}#app.technique-library .library-preview{position:relative;overflow:auto;min-height:0;padding:14px 18px;background:radial-gradient(ellipse at top,#fff8e8aa,transparent 70%),var(--journal-paper);border:1px solid var(--journal-gold);border-radius:var(--journal-radius-lg);color:var(--journal-ink);box-shadow:inset 0 0 0 4px #e3d0a766,var(--journal-shadow);scrollbar-width:thin}#app.technique-library .library-preview-kicker{display:block;color:var(--journal-paper-muted);font-size:var(--journal-small);letter-spacing:.18em;margin-bottom:5px}#app.technique-library .library-preview-emblem{position:absolute;top:12px;right:16px;width:54px;height:54px;color:var(--journal-gold-deep);opacity:.28;pointer-events:none}#app.technique-library .library-preview-emblem svg{width:100%;height:100%}#app.technique-library .library-preview h2{font-size:24px;line-height:1.25;margin:0 45px 7px 0;overflow-wrap:anywhere}#app.technique-library .library-preview-cost{display:inline-block;padding:3px 10px;border:1px solid var(--journal-gold-deep);border-radius:4px;font-size:14px;margin-bottom:8px}#app.technique-library .library-preview-description{border-top:1px solid #b49b6566;padding-top:8px;font-size:16px;line-height:1.55}#app.technique-library .library-preview-description .skill-description{margin:0;padding:0;border:0;background:none;color:var(--journal-ink)}#app.technique-library .library-preview-description .skill-description p{font-size:16px;line-height:1.55;margin:0 0 5px;color:var(--journal-ink)}#app.technique-library .library-preview-description .skill-description small{display:block;font-size:13px;line-height:1.4;color:var(--journal-paper-muted);margin:3px 0}#app.technique-library .library-holders{margin-top:10px;padding-top:8px;border-top:1px solid #b49b6566}#app.technique-library .library-holders h3{font-size:13px;font-weight:500;color:var(--journal-paper-muted);margin:0 0 5px}#app.technique-library .library-holder-list{display:grid;grid-template-columns:1fr 1fr;gap:5px}#app.technique-library .library-holder{display:flex;align-items:center;gap:4px;min-width:0}#app.technique-library .library-holder canvas.portrait{width:35px;height:41px;flex:none}#app.technique-library .library-holder>span{min-width:0}#app.technique-library .library-holder b{display:block;font-size:14px;line-height:1.2}#app.technique-library .library-holder small{display:block;font-size:11px;color:var(--journal-paper-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#app.technique-library .library-more-holders{font-size:12px;color:var(--journal-paper-muted)}body.phone-game #app.technique-library .library-open-detail{margin-top:10px;width:100%;min-height:36px;font-size:14px;background:var(--journal-bg);color:var(--journal-text);border-color:var(--journal-gold-deep)}#app.technique-library .library-empty-copy{font-size:16px;line-height:1.6;color:var(--journal-paper-muted)}body.phone-game #app.history-journal .history-heading{margin:0 0 9px;min-height:42px}#app.history-journal .history-heading h1{font-size:var(--journal-title);line-height:1.2}#app.history-journal .history-heading h1 small{display:block;font-size:var(--journal-small);font-weight:400;letter-spacing:.08em;color:var(--journal-muted);margin-top:3px}#app.history-journal .history-heading p{display:flex;align-items:center;gap:7px;font-size:14px;color:var(--journal-muted)}#app.history-journal .history-heading p>b{display:grid;place-items:center;min-width:38px;height:38px;background:var(--journal-metal);border:1px solid var(--journal-gold);border-radius:5px;color:var(--journal-ink);font:700 27px Georgia,serif}#app.history-journal .history-heading p span{font-size:14px}#app.history-journal .history-heading p span b{font-size:21px;color:var(--journal-text);font-variant-numeric:tabular-nums}body.phone-game #app.history-journal .history-totals{gap:10px}body.phone-game #app.history-journal .history-totals section{display:flex;align-items:center;padding:10px 14px;min-height:69px;background:linear-gradient(110deg,var(--journal-raised),var(--journal-surface));border:1px solid var(--journal-gold-deep);border-radius:var(--journal-radius);box-shadow:var(--journal-shadow);color:var(--journal-text)}#app.history-journal .history-totals small{font-size:14px;color:var(--journal-muted);white-space:nowrap}#app.history-journal .history-totals b{display:flex;justify-content:space-around;flex:1;gap:10px;font-size:24px;font-variant-numeric:tabular-nums}body.phone-game #app.history-journal .history-win{color:var(--journal-win)}body.phone-game #app.history-journal .history-loss{color:var(--journal-loss)}body.phone-game #app.history-journal .history-draw{color:var(--journal-muted)}#app.history-journal .history-recent-title{display:flex;align-items:center;gap:12px;font-size:15px;color:var(--journal-gold);margin:10px 0 7px}#app.history-journal .history-recent-title:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,var(--journal-gold-deep),transparent)}body.phone-game #app.history-journal .history-list{gap:8px}body.phone-game #app.history-journal .history-row{grid-template-columns:75px minmax(140px,1.25fr) minmax(0,1fr) 112px 12px;gap:10px;padding:8px 10px;background:var(--journal-surface);border:1px solid var(--journal-line);border-left:3px solid var(--journal-gold-deep);border-radius:var(--journal-radius);box-shadow:var(--journal-shadow);color:var(--journal-text)}body.phone-game #app.history-journal .history-row.history-win{border-left-color:var(--journal-win)}body.phone-game #app.history-journal .history-row.history-loss{border-left-color:var(--journal-loss)}body.phone-game #app.history-journal .history-row .result-label{display:grid;place-items:center;height:100%;width:auto;border-right:1px solid var(--journal-line);padding-right:10px;color:var(--journal-gold);font-size:19px;font-weight:700;letter-spacing:.07em}body.phone-game #app.history-journal .history-row.history-loss .result-label{color:var(--journal-loss)}body.phone-game #app.history-journal .history-row.history-draw .result-label{color:var(--journal-muted);font-size:16px}body.phone-game #app.history-journal .history-match b{font-size:16px;line-height:1.4;color:var(--journal-text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}body.phone-game #app.history-journal .history-match small,body.phone-game #app.history-journal .history-loot{font-size:13px;line-height:1.4;color:var(--journal-muted)}body.phone-game #app.history-journal .history-reward{font-size:16px;color:var(--journal-gold)}body.phone-game #app.history-journal .history-reward time{font-size:12px;color:var(--journal-muted);margin-top:5px}body.phone-game #app.history-journal .history-row>span[aria-hidden]{color:var(--journal-gold)}#app.history-journal .mobile-pager{margin-top:6px}body.phone-game #app.history-journal .mobile-pager button,body.phone-game #app.history-journal .synergy-records{background:var(--journal-raised);border-color:var(--journal-line);color:var(--journal-text);min-height:34px;font-size:14px}#app.history-journal .mobile-pager-count{color:var(--journal-muted);font-size:14px}#app.history-journal .history-legacy{font-size:12px;color:var(--journal-muted)}#app.history-journal .history-empty{grid-column:1/-1;grid-row:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;padding:16px;text-align:center;color:var(--journal-muted);border:1px solid var(--journal-line);border-radius:var(--journal-radius-lg);background:var(--journal-surface)}#app.history-journal .history-empty h3{font-size:21px;color:var(--journal-gold);margin:0 0 8px}#app.history-journal .history-empty p{font-size:15px;line-height:1.5;margin:0}#app.history-journal .history-empty-mark{width:64px;height:64px;margin-bottom:12px;color:var(--journal-gold-deep)}body.phone-game:has(#app:is(.technique-library,.history-journal)) :is(button,summary,select):focus-visible{outline:2px solid var(--journal-gold);outline-offset:-2px}body.phone-game #app:is(.technique-library,.history-journal) :is(button,summary):hover{border-color:var(--journal-gold)}body.phone-game #app:is(.technique-library,.history-journal) button:active{filter:brightness(.92)}@media(prefers-reduced-motion:reduce){#app.technique-library .catalogue-tech{transition:none}}@container (max-width:900px){#app.technique-library .library-layout{grid-template-columns:minmax(0,1.1fr) minmax(260px,1fr);gap:8px}#app.technique-library .library-preview{padding:11px 13px}body.phone-game #app.technique-library .phone-catalogue-switch button{padding-inline:14px}body.phone-game #app.history-journal .history-row{grid-template-columns:62px minmax(130px,1fr) minmax(0,1fr) 102px 10px;gap:7px}#app.history-journal .history-totals b{font-size:21px;gap:6px}}body .release-screen.rs-recovery-screen{--rs-bg:#f8ecd1;--rs-elevated:#fff6e1;--rs-subtle:#f1dfb7;--rs-text:#3c3424;--rs-muted:#6d6047;--rs-border:#b79b64;--rs-accent:#866024;--rs-accent-hover:#f6e7c4;--rs-error:#a3261b;width:100%;max-width:none;min-height:620px;padding:24px 28px;display:flex;flex-direction:column;gap:14px;position:relative;isolation:isolate;background:#d2cfaa url(/assets/screens/recovery-garden-v1.webp) center/cover no-repeat;color:var(--rs-text)}body .release-screen.rs-recovery-screen>.rs-heading{width:min(90%,1080px);margin:0;gap:14px;flex:none;padding:7px 12px 7px 6px;background:linear-gradient(90deg,#fff7e8eb,#fff7e8b8 65%,transparent);border-radius:5px}body .release-screen.rs-recovery-screen .rs-heading h1{color:#294532;font-family:Yu Mincho,serif;font-size:30px;letter-spacing:.04em}body .release-screen.rs-recovery-screen>.rs-notice:empty{display:none}body .release-screen.rs-recovery-screen .rs-content{display:flex;flex-direction:column;align-items:flex-start;gap:12px;flex:1;min-height:0}body .release-screen.rs-recovery-screen .rs-recovery-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;width:min(90%,1080px);min-height:78px;padding:10px 16px;border:1px solid #c7ad71;border-radius:7px;background:linear-gradient(105deg,#173e30f5,#0d2f24ee);box-shadow:inset 0 0 0 3px #c9b98024,0 3px 9px #21312528;color:#fff5dd}body .release-screen.rs-recovery-screen .rs-life-rules{min-width:0;gap:3px}body .release-screen.rs-recovery-screen .rs-life-rules b{font-size:16px;line-height:1.3}body .release-screen.rs-recovery-screen .rs-life-rules span{font-size:13px;line-height:1.35;color:#e3e9d5}body .release-screen.rs-recovery-screen .rs-recovery-stock{display:flex;align-items:center;gap:9px;min-width:0;padding:0 0 0 14px;border-left:1px solid #c7ba8c70;white-space:nowrap;font-size:14px}body .release-screen.rs-recovery-screen .rs-care-icon{display:block;flex:none;width:42px;height:46px;object-fit:contain}body .release-screen.rs-recovery-screen .rs-recovery-stock strong{font-size:22px;color:#f7df96;font-variant-numeric:tabular-nums}body .release-screen.rs-recovery-screen .rs-recovery-summary .rs-recovery-stock span{display:block;margin-top:2px;font-size:12px;line-height:1.3;color:#e3e9d5}body .release-screen.rs-recovery-screen .rs-recovery-list{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,minmax(min-content,1fr));gap:10px;flex:1;width:67%;max-width:820px;min-height:0}body .release-screen.rs-recovery-screen .rs-recovery-member{display:grid;grid-template-columns:86px minmax(0,1fr) 154px;align-items:center;gap:12px;min-height:0;padding:12px 14px;border:1px solid #b89a59;border-radius:7px;background:linear-gradient(115deg,#fff8e7f7,#f4e5c2f5);box-shadow:inset 0 0 0 3px #a4834321,0 3px 8px #24332324}body .release-screen.rs-recovery-screen .rs-recovery-member>.rs-portrait{width:86px;height:100px;max-width:100%;align-self:center}body .release-screen.rs-recovery-screen .rs-care-info{min-width:0}body .release-screen.rs-recovery-screen .rs-care-info h2{font-size:22px;line-height:1.25;margin:2px 0;color:#303729}body .release-screen.rs-recovery-screen .rs-care-info p{font-size:13px;line-height:1.35;color:var(--rs-muted)}body .release-screen.rs-recovery-screen .rs-care-info [data-life-status]{display:block;font-size:14px;line-height:1.3;font-weight:700;color:#6c6043}body .release-screen.rs-recovery-screen .rs-life{font-size:15px;line-height:1.3;margin-top:3px}body .release-screen.rs-recovery-screen .rs-life b{color:#866024}body .release-screen.rs-recovery-screen .rs-life meter{display:block;width:100%;height:9px;margin:3px 0;accent-color:#5b8970}body .release-screen.rs-recovery-screen .rs-recovery-actions{display:flex;flex-direction:column;align-items:stretch;gap:5px;width:auto;min-width:0}body .release-screen.rs-recovery-screen button{color:#493b26;background:linear-gradient(#fff7e2,#f0deb7);border-color:#b29459;box-shadow:inset 0 1px #fff9e5,0 2px 2px #48381915}body .release-screen.rs-recovery-screen button:hover:not(:disabled){background:#fff8e7;border-color:#886529}body .release-screen.rs-recovery-screen button:disabled{background:#e9ddc1;color:#84765c;border-color:#c8b790;box-shadow:none}body .release-screen.rs-recovery-screen .rs-recovery-actions button{min-height:48px;padding:5px 9px;font-size:14px;line-height:1.3;white-space:normal}body .release-screen.rs-recovery-screen .rs-content>.mobile-pager{width:67%;max-width:820px;margin:0;gap:10px}body .release-screen.rs-recovery-screen .mobile-pager-count{padding:5px 13px;border-radius:5px;background:#fff5dded;color:#493b26;font-size:16px}body .release-screen.rs-recovery-screen .mobile-pager-button{min-height:42px;min-width:44px;padding:0 10px;font-size:24px}body .release-screen.rs-recovery-screen .rs-notice:not(:empty){position:absolute;z-index:8;bottom:12px;left:50%;transform:translate(-50%);width:max-content;max-width:calc(100% - 24px);padding:8px 14px;border:1px solid #b79b64;border-radius:7px;background:#fff6e5;color:#423b29;box-shadow:0 3px 12px #153b3033}body .release-screen.rs-recovery-screen .rs-notice.rs-error{color:#a3261b}body .release-screen.rs-recovery-screen .rs-empty{width:67%;padding:24px;border:1px solid #b79b64;border-radius:7px;background:#fff3ddef;color:#493b26;flex:none}body.phone-game .release-screen.rs-recovery-screen{height:100%;min-height:0;padding:6px 18px;gap:6px;overflow:hidden}body.phone-game .release-screen.rs-recovery-screen>.rs-heading{width:90%;height:36px;min-height:36px;padding:2px 8px 2px 4px}body.phone-game .release-screen.rs-recovery-screen .rs-heading h1{font-size:23px}body.phone-game .release-screen.rs-recovery-screen .rs-back{min-height:36px;padding:4px 12px!important}body.phone-game .release-screen.rs-recovery-screen .rs-content{gap:6px}body.phone-game .release-screen.rs-recovery-screen .rs-recovery-summary{width:94%;min-height:52px;padding:4px 10px;gap:10px}body.phone-game .release-screen.rs-recovery-screen .rs-life-rules b{font-size:14px}body.phone-game .release-screen.rs-recovery-screen .rs-life-rules span{font-size:12px}body.phone-game .release-screen.rs-recovery-screen .rs-recovery-stock{font-size:13px;gap:6px;padding-left:9px}body.phone-game .release-screen.rs-recovery-screen .rs-care-icon{width:34px;height:38px}body.phone-game .release-screen.rs-recovery-screen .rs-recovery-stock strong{font-size:18px}body.phone-game .release-screen.rs-recovery-screen .rs-recovery-stock span{font-size:12px}body.phone-game .release-screen.rs-recovery-screen .rs-recovery-list{width:72%;gap:7px;grid-template-rows:repeat(2,minmax(min-content,1fr));overflow:auto}body.phone-game .release-screen.rs-recovery-screen .rs-recovery-member{grid-template-columns:66px minmax(0,1fr) 180px;gap:8px;padding:5px 10px}body.phone-game .release-screen.rs-recovery-screen .rs-recovery-member>.rs-portrait{width:66px;height:78px}body.phone-game .release-screen.rs-recovery-screen .rs-care-info h2{display:inline;font-size:20px;margin:1px 0;line-height:1.1}body.phone-game .release-screen.rs-recovery-screen .rs-care-info>p:first-of-type{display:inline;margin-left:8px}body.phone-game .release-screen.rs-recovery-screen .rs-care-info p{font-size:13px;line-height:1.2}body.phone-game .release-screen.rs-recovery-screen .rs-care-info [data-life-status]{font-size:14px;line-height:1.15}body.phone-game .release-screen.rs-recovery-screen .rs-life{font-size:14px;line-height:1.15;margin-top:2px}body.phone-game .release-screen.rs-recovery-screen .rs-life meter{height:7px;margin:2px 0}body.phone-game .release-screen.rs-recovery-screen .rs-recovery-actions button{min-height:max(44px,calc(40px / var(--phone-scale,1)));padding:4px 6px;font-size:14px}body.phone-game .release-screen.rs-recovery-screen .rs-content>.mobile-pager{width:72%;min-height:36px}body.phone-game .release-screen.rs-recovery-screen .mobile-pager-button{min-height:36px;min-width:40px}@media(max-width:739px){body.phone-game .release-screen.rs-recovery-screen .rs-recovery-list{width:84%;grid-template-rows:minmax(min-content,60%);align-content:start}body.phone-game .release-screen.rs-recovery-screen .rs-content>.mobile-pager{width:84%}body.phone-game .release-screen.rs-recovery-screen .rs-recovery-summary{width:100%;gap:7px}body.phone-game .release-screen.rs-recovery-screen .rs-care-icon{width:28px;height:34px}body.phone-game .release-screen.rs-recovery-screen .rs-recovery-stock{padding-left:7px;gap:4px}}
