/* DeckToon 0.18 · Daybreak. Art-led layouts with shared accessible controls. */
@font-face{font-family:Chronicle;src:url('assets/fonts/NotoSansKR-400.woff') format('woff');font-weight:400;font-display:swap}@font-face{font-family:Chronicle;src:url('assets/fonts/NotoSansKR-500.woff') format('woff');font-weight:500;font-display:swap}@font-face{font-family:Chronicle;src:url('assets/fonts/NotoSansKR-700.woff') format('woff');font-weight:700;font-display:swap}
:root{--ui-ink:#273049;--ui-muted:#70778d;--ui-accent:#6962a7;--ui-line:#dcdde8;--ui-paper:#faf9f6;--safe-bottom:env(safe-area-inset-bottom,0px);--sunny-display:Chronicle,system-ui,sans-serif;--sunny-ink:#273049;--gold:#a68a50;--cream:#faf9f6}
body.game-shell{background:#e5e8ef;font-family:Chronicle,system-ui,sans-serif;color:var(--ui-ink);display:block}body.game-shell:before{background:none}.desktop-brand,.rotate-hint{display:none!important}
#app.phone{width:min(100%,430px);max-width:430px;height:100dvh;min-height:0;margin:0 auto;background:var(--ui-paper);border:0;box-shadow:0 0 80px #27304918;container-type:inline-size;overflow:hidden}
#app .play-screen{display:block;height:100dvh;min-height:0;font-family:Chronicle,system-ui,sans-serif;background:#f1f0f7;color:var(--ui-ink)}
#app :is(button,input,select,a,.button),.chronicle-confirm{font-family:inherit}#app h2,#app h3,#app h4{font-family:inherit;text-shadow:none;letter-spacing:-.035em}#app button{cursor:pointer}#app button:disabled{cursor:default;opacity:.45;filter:none}#app :focus-visible{outline:2px solid #6861a9;outline-offset:3px}#app p{line-height:1.7}
#app .button,.chronicle-confirm .button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 18px;border:1px solid #d8d9e5;border-radius:5px;background:#fff;color:#474e69;font:500 12px/1.45 Chronicle,system-ui,sans-serif;box-shadow:none;text-shadow:none;clip-path:none;letter-spacing:0}
#app .button.gold,.chronicle-confirm .button.gold{background:#66609d;border-color:#66609d;color:#fff;box-shadow:0 3px 10px #625d9c1a}#app .button.blue{background:#eef0f9;border-color:#d6d9e9;color:#575d84}#app .button.wide{width:100%}#app .button .ico{width:17px;height:17px}#app .text-button,#app .market-link{color:#6a649d}#app .ico{stroke-width:1.6;flex-shrink:0}
#app :is(input[type=number],input[type=text],input[type=password],input:not([type]),select){color:#384057;background:#fff;border:1px solid #d8dae7;border-radius:5px;box-shadow:none;min-height:40px}#app progress{accent-color:#7770ad;height:4px;border:0;background:#e6e5ee}#app progress::-webkit-progress-bar{background:#e6e5ee;border-radius:4px}#app progress::-webkit-progress-value{background:#8a80b8;border-radius:4px}
#app .player-hud{position:absolute;inset:0 0 auto;height:64px;min-height:64px;padding:8px 24px;display:flex;align-items:center;gap:10px;background:#fafaf9f5;border-bottom:1px solid #dfe0e8;box-shadow:none;z-index:65;color:#273049}
#app .player-avatar{width:43px;height:46px;padding:0;border:1px solid #c9c6df;border-radius:8px;overflow:hidden;background:linear-gradient(130deg,#e2ddf4,#f3e9db);box-shadow:none;flex-shrink:0}#app .player-avatar .character-art{width:100%;height:64px;object-fit:contain;object-position:top;transform:translateY(-4px)}#app .player-info{min-width:105px;line-height:1.3}#app .player-info>b{font-size:12px;color:#32364c;font-weight:700}#app .player-info>span{display:flex;gap:5px;align-items:center}#app .player-info>span>b{font:400 11px Chronicle;color:#73798e}#app .player-info>span small{display:none}#app .player-info>em{font:500 11px Chronicle;color:#9e8457;display:flex;gap:4px;align-items:center;margin-top:3px}#app .player-info>em .ico{width:11px;height:11px}
#app .world-wallet{display:flex;gap:12px;margin-left:auto;min-width:0;flex:0 1 600px;align-items:center}#app .world-wallet button{position:relative;border:0;border-left:1px solid #dddde8;background:none;padding:4px 14px;display:grid;grid-template-columns:20px 1fr;gap:1px 7px;min-width:0;flex:1;border-radius:0;box-shadow:none;height:42px;color:#4a536b}#app .world-wallet button>span{grid-row:1/3;width:20px;height:20px;align-self:center;display:block;filter:none;background:none}#app .world-wallet small{display:block;font:400 11px Chronicle;text-align:left;color:#625b79}#app .world-wallet :is(b,strong){font:500 12px Chronicle;text-align:left;white-space:nowrap}#app .world-wallet .wallet-short{display:none}#app .world-wallet button:after{content:'+';position:absolute;right:0;top:14px;font:400 13px Chronicle;color:#77718a}#app .world-wallet .currency-diamonds>span{color:#5c9fbc}#app .world-wallet .currency-dcc>span{color:#b09758}#app .world-wallet .currency-cash>span{color:#77718a}#app .play-screen.modal-open>.player-hud .world-wallet{visibility:visible}#app .menu-wallet{display:none!important}
#app .bottom-drawer.growth-popup{position:absolute;inset:64px 0 calc(68px + var(--safe-bottom));height:auto;max-height:none;max-width:none;width:100%;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;transform:none;display:flex;flex-direction:column;overflow:hidden;background:#f8f8fb;z-index:60;isolation:isolate}
#app .bottom-drawer:focus{outline:none}#app .drawer-backdrop{position:absolute;inset:64px 0 68px;background:#f8f8fb;z-index:55}#app .drawer-handle{display:none}
#app .bottom-drawer.growth-popup>header{height:56px;min-height:56px;display:flex;align-items:center;justify-content:flex-start;padding:0 30px 0 70px;gap:12px;background:#fafaf9;border-bottom:1px solid #e0e1e9;border-radius:0;position:relative;box-shadow:none}#app .bottom-drawer>header:after{display:none}#app .bottom-drawer>header>div{flex:1;text-align:left}#app .bottom-drawer.growth-popup>header h2{font:500 19px/1.3 Chronicle;color:#32364e;letter-spacing:-.6px;text-shadow:none;margin:0}#app .bottom-drawer.growth-popup>header small{display:block;font:400 11px/1.5 Chronicle;color:#625b79;letter-spacing:1.8px}#app .bottom-drawer>header .menu-emblem{display:none}#app .bottom-drawer.growth-popup>header>.icon-button{position:absolute;left:24px;top:13px;width:30px;height:30px;min-height:30px;padding:6px;border:1px solid #d9d9e5;border-radius:50%;color:#625b79;background:transparent;box-shadow:none;transform:none}#app .bottom-drawer>header>.icon-button .ico{width:17px;height:17px;transform:rotate(180deg)}
#app .growth-popup .drawer-scroll{flex:1;min-height:0;padding:24px 32px 32px;overflow:auto;background:radial-gradient(ellipse at 5% 0,#eceaf66b,transparent 60%),#f8f8fb;color:#373d57;scrollbar-width:thin;scrollbar-color:#ceccd9 transparent;overscroll-behavior:contain}
#app .world-nav{position:absolute;inset:auto 0 0;height:calc(68px + var(--safe-bottom));min-height:calc(68px + var(--safe-bottom));display:flex;padding:0 max(10px,calc((100% - 800px)/2)) var(--safe-bottom);gap:0;background:#fafaf9fa;border-top:1px solid #dcdbe6;box-shadow:0 -4px 25px #39325506;z-index:70;overflow:visible}#app .world-nav:after{display:none}#app .world-nav button{flex:1;min-width:0;min-height:0;padding:8px 2px 6px;border:0;border-radius:0;background:none;box-shadow:none;color:#625b79;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}#app .world-nav .nav-glyph{display:block;width:23px;height:23px;margin:0;background:none;filter:none;transform:none}#app .world-nav .nav-glyph .ico{width:23px;height:23px;display:block;transform:none}#app .world-nav button>span{font:500 11px/1.3 Chronicle;letter-spacing:-.1px;color:inherit;transform:none;filter:none;width:auto;height:auto;white-space:nowrap;background:none;border:0;text-shadow:none;box-shadow:none;margin:0}#app .world-nav button.active{color:#676099;background:#ebe9f348}#app .world-nav button.active:before{content:'';position:absolute;top:-1px;left:30%;right:30%;height:2px;background:#8c80b9;box-shadow:none;border-radius:0}#app .world-nav .nav-dot{width:5px;height:5px;background:#d7a375;border:1px solid #fff;border-radius:50%;right:calc(50% - 17px);top:10px;box-shadow:none}
#app .menu-character{object-fit:contain;object-position:center;image-rendering:auto;filter:none;animation:none;pointer-events:none}
/* Lobby: full-bleed illustration with a quiet navigation edge. */
#app .panel-lobby>header{display:none}#app .panel-lobby .drawer-scroll{padding:0;display:flex;background:#e0eaf4;overflow:auto}#app .chronicle-lobby{position:relative;width:100%;min-height:590px;flex:1;isolation:isolate;overflow:hidden;background:#d4dfe9;color:#2e3650}#app .lobby-landscape{position:absolute;inset:0;z-index:-2;background:url('assets/illustrations/town.webp') center 58%/cover no-repeat;filter:none}#app .chronicle-lobby:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#f7f7fa55,transparent 55%,#f7f6f4b3),linear-gradient(0deg,#f7f5fa9c,transparent 35%)}
#app .lobby-topline{position:absolute;left:32px;right:30px;top:22px;display:flex;align-items:start;justify-content:space-between}#app .lobby-wordmark{text-decoration:none;color:#3d4265;font:700 11px/1.3 Chronicle;letter-spacing:4px;text-align:center;filter:drop-shadow(0 1px 4px #fff)}#app .lobby-wordmark span{display:block;font:500 20px/1.2 Georgia,serif;letter-spacing:3px}#app .lobby-topline>div{display:flex;gap:8px}#app .lobby-topline button{width:35px;height:35px;padding:8px;background:#fbfaf8c9;border:1px solid #ffffffc9;color:#5e5c79;border-radius:6px}#app .lobby-topline button .ico{width:18px;height:18px}
#app .lobby-greeting{position:absolute;top:92px;left:48px;z-index:2}#app .lobby-greeting>small{font:500 11px Chronicle;letter-spacing:2px;color:#625b79;text-shadow:0 1px 5px #fff}#app .lobby-greeting h3{font:500 36px/1.35 Chronicle;letter-spacing:-1.7px;margin:13px 0;color:#3c405f;text-shadow:0 1px 10px #fffc}#app .lobby-greeting p{font:400 11px Chronicle;color:#727389;margin:0;text-shadow:0 1px 6px #fff}
#app .lobby-characters{position:absolute;inset:60px 30% 10px 15%;height:auto;pointer-events:none;z-index:1}#app .lobby-leader{position:absolute;inset:0;width:100%;height:100%;transform:none;filter:drop-shadow(0 12px 7px #34264b25)}#app .lobby-leader>.character-art{width:100%;height:100%;object-fit:contain;object-position:center bottom;animation:none;max-height:none}#app .lobby-character-tag{position:absolute;left:8%;bottom:22%;padding:8px 14px;background:#faf9f2e0;border-left:2px solid #aaa0c5;transform:none;box-shadow:0 4px 15px #3333480b}#app .lobby-character-tag small{display:block;font-size:11px;color:#625b79}#app .lobby-character-tag b{font-size:18px;font-weight:500}
#app .lobby-shortcuts{position:absolute;top:300px;left:34px;display:flex;flex-direction:column;gap:13px;z-index:3}#app .lobby-shortcuts button{width:70px;display:flex;flex-direction:column;align-items:center;gap:5px;border:0;background:none;padding:5px;color:#545671;border-radius:0}#app .lobby-shortcuts .ico{width:30px;height:30px;padding:6px;box-sizing:content-box;border:1px solid #ffffffd4;background:#fbfaf7ce;border-radius:50%;box-shadow:0 3px 12px #4e466b11}#app .lobby-shortcuts span{font:500 11px Chronicle;text-shadow:0 1px 5px #fff}
#app .lobby-speech{position:absolute;left:18%;bottom:60px;padding:12px 20px;background:#fbfaf5df;border:1px solid #fffc;border-radius:4px;box-shadow:0 4px 15px #3333480b;width:auto;z-index:3;transform:none}#app .lobby-speech small{font-size:11px;color:#625b79}#app .lobby-speech p{font-size:12px;color:#48465f;margin:3px 0 0}
#app .lobby-destinations{position:absolute;right:4%;top:170px;width:28%;max-width:320px;z-index:3;display:flex;flex-direction:column;gap:12px}#app .lobby-adventure{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;padding:25px 22px 18px;background:linear-gradient(125deg,#faf8f0f2,#eee9f5e8);border:1px solid #fff;border-radius:5px;box-shadow:0 8px 28px #4d3c6021;clip-path:none;color:#4a4567;text-align:left;min-height:146px}#app .lobby-adventure>small{font:400 11px Chronicle;letter-spacing:1.9px;color:#625b79}#app .lobby-adventure>strong{font:500 28px Chronicle;letter-spacing:-1px;display:flex;align-items:center;justify-content:space-between;width:100%;color:#4b4568}#app .lobby-adventure .ico{width:25px;height:25px}#app .lobby-adventure>span{font-size:11px;color:#625b79}#app .lobby-adventure>em{font:400 11px Chronicle;letter-spacing:1.3px;border-top:1px solid #c9c1d552;width:100%;padding-top:7px;margin-top:6px;color:#625b79}#app .lobby-adventure>em b{font-size:11px;font-weight:500}
#app .lobby-world{display:flex;align-items:center;gap:12px;border:1px solid #fff;background:#fcfaf5e6;padding:16px 20px;border-radius:5px;color:#65627d;box-shadow:0 5px 18px #4d3c6012;text-align:left}#app .lobby-world>.ico{width:24px;height:24px}#app .lobby-world>span{flex:1}#app .lobby-world small{display:block;font-size:11px;letter-spacing:1.7px;color:#625b79}#app .lobby-world b{display:block;font-size:16px;font-weight:500;margin-top:4px}#app .lobby-world>.ico:last-child{width:17px}
#app .lobby-event{position:relative;display:flex;align-items:center;width:100%;min-height:105px;padding:16px;border:1px solid #eee7f8;border-radius:4px;background:linear-gradient(110deg,#77709f,#aea7ca);overflow:hidden;color:#fff;text-align:left;box-shadow:0 6px 24px #4f426d19}#app .lobby-event>span{z-index:1;display:flex;flex-direction:column;gap:7px;width:72%}#app .lobby-event small{font:400 11px Chronicle;letter-spacing:1.4px;color:#ded9ef}#app .lobby-event b{font:500 15px Chronicle;color:#fff}#app .lobby-event em{font:400 11px Chronicle;color:#e0dbea}#app .lobby-event>.character-art{position:absolute;right:-12px;bottom:-40px;width:130px;height:176px;transform:rotate(-8deg);filter:none}#app .lobby-stage-info{display:flex;justify-content:space-between;padding:0 5px;border:0;background:none;font-size:11px;color:#6f6886}#app .lobby-stage-info b{font-size:12px;font-weight:500}
#app .lobby-caption{position:absolute;left:32px;bottom:17px;color:#625b79;font-size:11px;letter-spacing:1px}#app .lobby-caption span{margin-right:8px;color:#77718a}
/* Growth dossier: portrait rail and illustration/data composition. */
#app .growth-page{display:grid;grid-template-columns:105px minmax(0,1fr);gap:26px;max-width:1150px;margin:auto}#app .growth-content{min-width:0}#app .growth-heroes{display:flex;flex-direction:column;gap:8px;padding:0;border:0;background:none;margin:0}#app .growth-heroes button{position:relative;min-height:100px;max-height:110px;padding:0 0 5px;border:1px solid #dcdde8;border-radius:5px;background:linear-gradient(130deg,#e8e7f1,#f3f3f8);box-shadow:none;overflow:hidden;display:grid;grid-template-columns:1fr auto;text-align:left;align-items:end;color:#70738a}#app .growth-heroes button>.character-art{grid-column:1/-1;width:100%;height:75px;object-fit:contain;object-position:50% 25%;margin:0;transform:scale(1.2);transform-origin:center 30%;filter:none}#app .growth-heroes b{font:500 11px Chronicle;padding-left:8px;z-index:1}#app .growth-heroes small{font-size:11px;padding-right:7px;z-index:1}#app .growth-heroes button[aria-pressed=true]{border:1px solid #9a8bb7;background:#eae5f3;box-shadow:inset 3px 0 #9d89ba}#app .growth-heroes .not-owned{opacity:.5}
#app .growth-tabs{display:flex;padding:0;margin:0 0 7px;gap:0;border:0;border-bottom:1px solid #dcdce7;border-radius:0;background:none}#app .growth-tabs button{flex:1;min-height:42px;padding:10px 8px;border:0;border-radius:0;background:none;font:500 12px Chronicle;color:#625b79;box-shadow:none}#app .growth-tabs button[aria-pressed=true]{color:#645a88;background:none;border-bottom:2px solid #8c78ac;box-shadow:none}#app .growth-extras{display:flex;justify-content:flex-end;gap:16px;padding:0 3px 10px;margin:0 0 12px;border:0;background:none}#app .growth-extras button{padding:5px 0;background:none;border:0;color:#625b79;font:400 11px Chronicle}#app .growth-extras button[aria-pressed=true]{color:#675987;text-decoration:underline;text-underline-offset:5px}
#app .character-dossier{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);min-height:510px;gap:0;background:linear-gradient(90deg,transparent,#f9f8fbd9 55%),url('assets/illustrations/hall.webp') 30% 50%/cover;border:1px solid #e3e1ed;border-radius:5px;overflow:hidden}
#app .character-profile.hero-stage{position:relative;height:auto;min-height:480px;display:block;border:0;border-radius:0;background:none;box-shadow:none;padding:0;overflow:hidden;isolation:isolate}#app .character-profile:before{display:none}#app .character-profile>.character-art{position:absolute;width:100%;height:88%;left:0;top:7%;max-width:none;max-height:none;margin:0;object-fit:contain;filter:drop-shadow(0 8px 8px #4f447023);z-index:0;transform:none}#app .character-profile .hero-attribute{position:absolute;left:18px;top:17px;z-index:2;border:0;border-left:2px solid #bca8cc;border-radius:0;padding:3px 8px;background:#faf9f7c9;font:400 11px Chronicle;color:#625b79}#app .hero-nameplate{position:absolute;bottom:32px;left:25px;padding:10px 20px;background:#f9f7f2e0;border-left:2px solid #bca8cc;z-index:2;min-width:120px;text-align:left}#app .hero-nameplate>small{font-size:11px;color:#625b79}#app .hero-nameplate h3{font:500 30px Chronicle;color:#514668;margin:3px 0}#app .hero-nameplate .equipment-stars{font-size:11px;color:#b19862;letter-spacing:3px}#app .appearance-btn{position:absolute;bottom:17px;right:14px;padding:6px 9px;border:1px solid #d0c9de;border-radius:4px;background:#fff9;color:#625b79;font:400 11px Chronicle;display:flex;align-items:center;gap:5px;z-index:3}#app .appearance-btn .ico{width:13px;height:13px}
#app .dossier-data{position:relative;padding:28px 25px;align-self:center;min-width:0}#app .dossier-heading>small{font-size:11px;letter-spacing:1.9px;color:#625b79}#app .dossier-heading h3{font:500 30px Chronicle;color:#4c4362;margin:6px 0}#app .dossier-heading p{font-size:11px;color:#625b79;max-width:300px;margin:0 0 18px}#app .power-ribbon{display:flex;align-items:center;justify-content:flex-start;gap:8px;border:0;border-top:1px solid #d3ccdf;border-bottom:1px solid #d3ccdf;background:none;border-radius:0;padding:11px 0;margin:0 0 18px;color:#9b8355}#app .power-ribbon .ico{width:17px;height:17px}#app .power-ribbon span{font-size:11px}#app .power-ribbon b{font:500 25px/1 Chronicle;color:#9b8355;margin-left:auto}
#app .level-card.level-panel{padding:0;margin:0 0 16px;border:0;border-radius:0;background:none;box-shadow:none}#app .level-panel>div{display:flex;justify-content:space-between;gap:6px;align-items:center}#app .level-panel>div b{font-size:11px;color:#625b79;font-weight:400}#app .level-panel>div span{font-size:11px;color:#625b79}#app .level-panel progress{width:100%;margin:9px 0 13px}#app .level-panel .button{font-size:11px}#app .level-panel p{font-size:11px;color:#625b79;margin-top:6px}#app .stat-chips{border:0;border-top:1px solid #dcd6e4;border-radius:0;display:grid;grid-template-columns:repeat(4,1fr);padding:12px 0;margin:0 0 15px;background:none;box-shadow:none}#app .stat-chips>span{padding:0;text-align:center;border-right:1px solid #e0dbe7;font-size:11px;color:#625b79}#app .stat-chips>span:last-child{border:0}#app .stat-chips b{display:block;font:500 15px Chronicle;color:#5d5273;margin-top:4px}#app .two-actions{display:flex;gap:8px}#app .two-actions>.button{flex:1;font-size:11px}
#app .stats-profile,#app .skill-owner{display:flex;align-items:center;gap:20px;background:#f1eff7;border:1px solid #e2deed;border-radius:5px;padding:10px 24px;margin:0 0 20px;height:112px;overflow:hidden}#app .stats-profile>.character-art,#app .skill-owner>.character-art{width:96px;height:145px;object-fit:contain;transform:none;margin:0}#app .stats-profile h3,#app .skill-owner h3{font-size:21px;color:#544b6b;margin:3px 0}#app .stats-profile :is(small,span),#app .skill-owner :is(small,span){font-size:11px;color:#625b79}
#app .stat-workshop,#app .detail-stats{background:#fff;border:1px solid #e2dfeb;border-radius:5px;box-shadow:none;padding:20px;margin:0 0 16px;color:#71667f}#app .progression-heading{color:#71667f}#app .progression-heading h3{font:500 19px Chronicle;color:#514762}#app .progression-heading small{font-size:11px;color:#625b79}#app .progression-heading>strong{background:none;color:#625b79;border:0;border-radius:0;font:500 27px Chronicle}#app .progression-heading>strong small{font-size:11px}#app .progression-hint{font-size:11px;color:#625b79}#app .bonus-row{background:none;border:0;border-bottom:1px solid #eae6f0;padding:17px 0;border-radius:0}#app .bonus-row h4{color:#615170;font:500 16px Chronicle}#app .bonus-row p{font-size:11px;color:#625b79}#app .bonus-row small{color:#77718a;font-size:11px}#app .bonus-buy .button{font-size:11px}#app .quantity-tabs button,#app .star-tabs button,#app .card-elements button{background:#f1eff6;border:1px solid #e1dcea;border-radius:3px;color:#625b79;font:400 11px Chronicle;box-shadow:none}#app :is(.quantity-tabs,.star-tabs,.card-elements) button[aria-pressed=true]{background:#78709e;color:#fff;border-color:#78709e}#app .detail-stats summary{font-size:11px;color:#625b79}#app .detail-stats dl{background:none}#app .detail-stats dt{font-size:11px;color:#625b79}#app .detail-stats dd{font-size:12px;color:#63536f}#app .detail-stats p{font-size:11px;color:#625b79}
#app .skill-tree{background:none;border:0;padding:15px 0 25px;margin:0;display:flex;gap:18px;justify-content:space-around}#app .tree-wire{display:none}#app .skill-node{background:none;border:0;padding:0;color:#625b79;font-family:inherit}#app .skill-node>span{background:#e8e1f2;border:1px solid #ccc1dd;border-radius:9px;width:64px;height:64px;box-shadow:none}#app .skill-node.selected>span{outline:2px solid #b3a0ca;outline-offset:3px}#app .skill-node b{font:500 11px Chronicle;margin-top:10px}#app .skill-node small{font-size:11px}#app .skill-node>span>i{font:400 11px Chronicle;background:#8b799e;color:#fff;border-radius:3px;border:0;bottom:-4px;right:-5px}
#app .growth-skill.skill-detail-panel{background:#fff;border:1px solid #e1dcea;border-radius:5px;padding:24px;box-shadow:none;grid-template-columns:80px minmax(0,1fr);gap:15px;color:#776484}#app .growth-skill h3{font:500 20px Chronicle;color:#5c486d}#app .growth-skill em{font:400 11px Chronicle;color:#625b79;background:none;border:1px solid #d9cbe3;padding:3px 7px;border-radius:3px}#app .growth-skill .skill-copy>small{font-size:11px;color:#77718a}#app .rpg-skill-description{font-size:11px;color:#625b79}#app .skill-values{background:#f4f0f8;border:0;border-radius:3px;color:#625b79}#app .skill-values b{color:#7b618f}#app .skill-upgrade-row{border-top:1px solid #ebe4f1;padding-top:15px}#app .skill-progress{height:4px}#app .skill-level-caption{font:400 11px Chronicle;color:#77718a}#app .innate-skills article{background:none;border:0;border-left:2px solid #d7c9e3;border-radius:0;padding:3px 15px;color:#625b79}#app .innate-skills h3{font:500 13px Chronicle;color:#766182}#app .innate-skills p,#app .innate-skills small{font-size:11px;color:#77718a}#app .growth-note{font-size:11px;color:#77718a}
/* Equipment: loadout and bag are distinct surfaces. */
#app .equipment-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:25px;align-items:start}#app .equipment-page>.growth-tabs{margin-bottom:24px}#app .paperdoll-card{background:none;border:0;border-radius:0;padding:0;margin:0;box-shadow:none}#app .team-badge{font:400 11px Chronicle;color:#77718a;background:#eee7f5;border:0;border-radius:3px;padding:5px 7px}
#app .paperdoll{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr) 72px;gap:10px;border:1px solid #e1dcea;border-radius:5px;background:linear-gradient(#f9f8fb33,#f8f8f7e0),url('assets/illustrations/hall.webp') 25% 70%/cover;min-height:420px;padding:14px 12px;overflow:hidden}#app .paper-slots{display:flex;flex-direction:column;justify-content:space-between;gap:10px;position:relative;z-index:3}#app .paper-slot{position:relative;min-height:83px;width:100%;padding:5px;border:1px solid var(--rarity-edge);border-radius:6px;background:linear-gradient(135deg,#ffffffd9,var(--rarity-wash));box-shadow:0 3px 8px #6253790b;color:#625b79;overflow:hidden}#app .paper-slot small{display:block;font:400 11px Chronicle;text-align:left;color:#625b79}#app .paper-slot .equipment-icon{width:53px;height:53px;display:block;margin:0 auto}#app .paper-slot .equipment-stars{position:absolute;bottom:4px;left:6px;letter-spacing:1px;font-size:11px;color:#ab8b51}#app .enhance-badge{position:absolute;right:5px;bottom:5px;top:auto;background:#fffc;border:1px solid #d5c7e0;border-radius:3px;color:#625b79;font:400 11px Chronicle;padding:2px 3px}#app .paper-slot.empty{background:#f1eef45e;border-style:dashed;opacity:.6}#app .slot-empty-label{font:400 11px Chronicle;color:#77718a}
#app .paper-character{position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-width:0;z-index:1;overflow:visible;padding-bottom:10px}#app .paper-character>div{position:absolute;inset:18px -45px 20px;z-index:-1;display:block;width:auto;height:auto}#app .paper-character .character-art{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 5px #5f476c22);transform:none;max-width:none;max-height:none}#app .paper-character>strong{font:500 22px Chronicle;color:#6f587e;text-shadow:0 1px 8px #fff}#app .paper-character-level{position:absolute;top:0;font:400 11px Chronicle;background:#fffa;color:#625b79;border:1px solid #d8cce4;border-radius:3px;padding:4px 9px}#app .paper-character>.equipment-stars{color:#ab8b51;font-size:11px;letter-spacing:3px}#app .doll-power{display:flex;align-items:center;gap:5px;font:500 11px Chronicle;color:#9e8555;background:#fff9;padding:4px 10px;margin-top:5px}#app .doll-power .ico{width:13px;height:13px}
#app .paper-stats{display:flex;margin:12px 0;border:1px solid #e1dcea;border-radius:5px;padding:12px;background:#f5f2f9;box-shadow:none}#app .paper-stats>div{flex:1;text-align:center;border-right:1px solid #ddd3e8}#app .paper-stats>div:last-child{border:0}#app .paper-stats small{font-size:11px;color:#625b79}#app .paper-stats b{font:500 19px Chronicle;color:#625b79}#app .paperdoll-card>p{font-size:11px;color:#77718a;text-align:center;margin:10px 0}
#app .enhancement-stones{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:0 0 10px}#app .enhancement-stones>div{display:flex;align-items:center;border:1px solid #e3dbea;border-radius:4px;background:#f3eff8;padding:6px;gap:4px;min-width:0}#app .enhancement-stones .equipment-icon{width:32px;height:32px;flex:none}#app .enhancement-stones span{font:400 11px Chronicle;color:#625b79}#app .enhancement-stones b{display:block;font:500 13px Chronicle;color:#625b79;margin-top:3px}#app .equipment-inventory>.progression-hint{font-size:11px;margin-bottom:18px}
#app .inventory-heading{display:flex;align-items:center;justify-content:space-between;color:#5e466f;margin-bottom:12px}#app .inventory-heading h3{font:500 17px Chronicle;color:#695279}#app .inventory-heading>span{font-size:11px;background:#eee7f5;color:#625b79;border-radius:3px}#app .gear-filters{display:flex;gap:5px;overflow:auto;margin-bottom:14px;padding:0 0 5px}#app .gear-filters button{flex:none;font:400 11px Chronicle;border:1px solid #ddd1e8;background:#fff;border-radius:3px;padding:6px 7px;color:#625b79;box-shadow:none}#app .gear-filters button[aria-pressed=true]{color:#fff;background:#8b749d;border-color:#8b749d}#app .gear-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#app .gear-tile{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;min-height:134px;border:1px solid var(--rarity-edge);border-radius:5px;padding:7px 5px;background:linear-gradient(135deg,#fff,var(--rarity-wash));box-shadow:none;color:#625b79}#app .gear-tile>small{font:400 11px Chronicle;color:var(--rarity-ink);align-self:flex-start}#app .gear-tile .equipment-icon{height:65px;width:65px;margin:0}#app .gear-tile .enhance-badge{top:39px;bottom:auto;font-size:11px}#app .gear-tile .equipment-stars{font-size:11px;letter-spacing:1px;margin:0 0 4px}#app .gear-tile>strong{font:500 11px/1.4 Chronicle;color:#7a6885;text-align:center;overflow-wrap:anywhere}#app .gear-tile>span:last-child{font-size:11px;color:#77718a;margin-top:4px}#app .gear-tile.selected{outline:2px solid #b298c7;outline-offset:1px}
#app .equipment-icon{object-fit:contain;image-rendering:auto;filter:drop-shadow(0 2px 2px #4b3a6113)}#app .auto-sell-panel{margin-top:20px;background:#fff;border:1px solid #e3dae9;border-radius:5px;color:#625b79;box-shadow:none}#app .auto-sell-panel :is(b,p,small){color:#625b79}#app .auto-sell-panel b{font-size:11px}#app .auto-sell-panel small,#app .auto-sell-panel p{font-size:11px}
/* Companions: tall art cards and a composed formation. */
#app .squad-page{max-width:1120px;margin:auto}#app .squad-tabs{display:flex;gap:0;border:0;border-bottom:1px solid #ded7e8;background:none;border-radius:0;margin-bottom:24px;padding:0}#app .squad-tabs button{background:none;border:0;border-radius:0;color:#625b79;box-shadow:none;font:500 12px Chronicle;padding:12px 28px}#app .squad-tabs button[aria-pressed=true]{border-bottom:2px solid #8b72a1;color:#725a8a;background:none}#app .squad-heading h3{font:500 25px Chronicle;color:#695078;margin:5px 0}#app .squad-heading small{font-size:11px;letter-spacing:1px;color:#77718a}#app .squad-heading p{font-size:11px;color:#77718a}#app .squad-count{font:500 28px Chronicle;color:#625b79;background:none;border:0}#app .squad-count small{font-size:11px}#app .squad-current{background:linear-gradient(120deg,#f9f7f9eb,#f0e9f5dd),url('assets/illustrations/hall.webp') center/cover;border:1px solid #e3d9eb;border-radius:5px;padding:24px;box-shadow:none}
#app .squad-line{gap:16px;display:grid;grid-template-columns:repeat(var(--squad-cols),minmax(0,1fr));max-width:650px;margin:22px auto 16px}#app .squad-member{position:relative;padding:0;border:1px solid #d9cfe5;border-radius:5px;background:#fff8;box-shadow:none;overflow:hidden}#app .squad-member>button{height:220px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;background:none;border:0;width:100%;position:relative;overflow:hidden;padding:15px;color:#6d4f82}#app .squad-member .character-art{height:200px;width:100%;object-fit:contain;margin:0;position:absolute;top:0;left:0;max-height:none;filter:none}#app .squad-member b{font:500 16px Chronicle;z-index:2;padding:1px 5px;background:#faf7fa99}#app .squad-member small{font:400 11px Chronicle;z-index:2}#app .squad-member>em{font:400 11px Chronicle;color:#625b79;background:#ece5f4;border-top:1px solid #e3d5ec;border-radius:0;padding:5px;display:block;text-align:center}#app .squad-position{position:absolute;z-index:3;top:9px;left:9px;font:400 11px Chronicle;color:#77718a;background:#faf7fbd9;border:1px solid #e6dced;padding:3px 5px;border-radius:3px}#app .squad-current-footer{font-size:11px;color:#77718a;border-top:1px solid #e4d7ed}#app .squad-current-footer b{font:500 16px Chronicle;color:#625b79}#app .squad-current-footer small{font-size:11px}#app .squad-empty{min-height:220px;border:1px dashed #d2bfe0;border-radius:5px;background:#f9f5fc99;color:#77718a}
#app .squad-tools{display:flex;gap:20px;align-items:center;padding:15px 0 20px}#app .squad-text-button{color:#77718a;background:none;border:0;font:400 11px Chronicle}#app .squad-section-title h3{font:500 16px Chronicle;color:#775d88}#app .squad-section-title small,#app .squad-section-title>span{font:400 11px Chronicle;color:#77718a}#app .squad-roster{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px;margin:12px 0 20px}#app .squad-roster-card{display:flex;position:relative;flex-direction:column;padding:0;border:1px solid #ddd3e7;border-radius:5px;background:linear-gradient(160deg,#eee8f6,#faf7fb);box-shadow:none;min-width:0;overflow:hidden}#app .squad-avatar{position:relative;width:100%;height:215px;min-height:0;border:0;border-radius:0;background:radial-gradient(ellipse at 70% 40%,#fff9,transparent 70%);padding:0;overflow:hidden}#app .squad-avatar .character-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 25%;transform:scale(1.12);filter:none;max-height:none}#app .squad-roster-copy{padding:12px 13px 8px;background:#fff8;border-top:1px solid #ffffff80;z-index:1}#app .squad-roster-copy .roster-job{font:400 11px Chronicle;color:#77718a}#app .squad-roster-copy h4{font:500 17px Chronicle;color:#715582;margin:4px 0}#app .squad-roster-copy h4>small{font:400 11px Chronicle;color:#77718a}#app .squad-roster-copy p{font:400 11px Chronicle;color:#77718a;margin:0 0 5px}#app .squad-roster-copy>span{font:400 11px Chronicle;color:#625b79}#app .squad-roster-action{padding:0 12px 12px;background:#fff8}#app .squad-small-button{min-height:30px;width:100%;padding:5px;border:1px solid #ddcce8;background:#f6f1fa;color:#625b79;border-radius:3px;box-shadow:none;font:400 11px Chronicle}#app .squad-small-button.primary{background:#8f76a5;color:#fff;border-color:#8f76a5}#app .squad-fixed{font:400 11px Chronicle;color:#77718a;display:block;min-height:30px;line-height:30px;text-align:center}#app .roster-card-number{position:absolute;right:10px;top:8px;z-index:2;color:#b29bc177;font:400 21px Georgia}#app .squad-roster-card.deployed{border-color:#bda6d0;box-shadow:inset 0 2px #bda6d0}#app .squad-roster-card.unowned .squad-avatar{filter:grayscale(.8);opacity:.6}#app .squad-collection-link,#app .squad-growth-link{border:1px solid #e3d9eb;border-radius:5px;background:#fff;color:#625b79;box-shadow:none;font:400 11px Chronicle}#app .squad-filters,#app .squad-positions,#app .squad-replacement{border:1px solid #dfd2e8;border-radius:5px;background:#fff;color:#625b79;box-shadow:none}
/* World, actual stages and daily challenges. */
#app .world-atlas{position:relative;isolation:isolate;min-height:380px;margin:22px 0;background:url('assets/illustrations/world.webp') center/cover;border-radius:5px;overflow:hidden;border:1px solid #d8dfea}#app .world-atlas:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#eff3f9d9,transparent 60%);z-index:-1}#app .world-atlas-title{padding:27px 30px}#app .world-atlas-title small{font-size:11px;letter-spacing:2px;color:#8c90ac}#app .world-atlas-title h3{font:500 27px/1.5 Chronicle;color:#58627e;margin:6px 0}#app .world-atlas-title p{font-size:11px;color:#9a9eb4}#app .world-pins{position:absolute;left:6%;right:6%;bottom:60px;display:flex;justify-content:space-between;gap:10px}#app .world-pins button{display:flex;flex-direction:column;align-items:center;gap:7px;border:0;background:none;padding:0;color:#66738e;transform:translateY(calc((var(--pin) - 2)* -8px));text-shadow:0 1px 2px #fff}#app .world-pins b{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#fbf9f4ed;border:1px solid #bfbdc9;box-shadow:0 4px 13px #4c5d7f24;font:500 12px Chronicle}#app .world-pins span{font:500 11px Chronicle;background:#faf8f2ed;padding:5px 10px;border-radius:3px}#app .region-chapter{background:#fff;border:1px solid #e0ddea;border-radius:5px;margin:0 0 13px;overflow:hidden;box-shadow:none;scroll-margin-top:14px}#app .region-chapter summary{padding:0;display:flex;align-items:center;gap:18px;color:#625b79;cursor:pointer}#app .region-chapter summary>img{width:110px;height:95px;object-fit:cover;filter:saturate(.65)}#app .region-chapter summary>span{flex:1}#app .region-chapter summary small{font:400 11px Chronicle;letter-spacing:1.4px;color:#77718a}#app .region-chapter summary b{display:block;font:500 18px Chronicle;color:#71617e;margin:4px 0}#app .region-chapter summary em{font:400 11px Chronicle;color:#77718a}#app .region-chapter summary>i{margin-right:25px;color:#77718a}#app .world-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:7px}#app .world-list button{min-width:0;background:#f8f6fb;border:1px solid #e6e0ee;border-radius:4px;padding:10px;display:flex;gap:12px;align-items:center;color:#625b79;box-shadow:none}#app .world-list button>b{font:400 22px Georgia;color:#77718a;min-width:28px}#app .world-list button>span{flex:1;text-align:left;font:500 11px Chronicle;color:#625b79;min-width:0}#app .world-list small{display:block;font:400 11px Chronicle;color:#77718a;margin-top:5px}#app .world-list em{font:400 11px Chronicle;color:#77718a}#app .world-list button.current{border-color:#b39bca;background:#f0e8f8}#app .world-list button:disabled{opacity:.55}
#app .daily-page{max-width:1100px;margin:auto}#app .daily-card{background:#fff;border:1px solid #e3dbea;border-radius:5px;box-shadow:none;color:#625b79;padding:20px}#app .daily-card h3{font:500 20px Chronicle;color:#745a86}#app .daily-card p,#app .daily-card small{color:#77718a;font-size:11px}#app .daily-card :is(.daily-reward,.daily-badge){background:#f1eaf8;border:1px solid #e0d2eb;border-radius:3px;color:#625b79}#app .daily-lead{border-radius:5px;background:#ede7f4;border:1px solid #e1d5ec;color:#625b79}#app .daily-active{background:#ede7f4;border:1px solid #cbb6df;border-radius:5px;color:#625b79}
/* Currency shop and recruitment. */
#app .currency-tabs{display:flex;background:none;border:0;border-bottom:1px solid #e0dbe8;border-radius:0;padding:0;margin-bottom:16px;gap:0}#app .currency-tabs button{background:none;border:0;border-radius:0;box-shadow:none;min-height:42px;color:#77718a;font:500 12px Chronicle;padding:10px 25px}#app .currency-tabs button[aria-pressed=true]{color:#816191;border-bottom:2px solid #a287b5;background:none}#app .currency-tabs .ico{width:16px;height:16px;vertical-align:middle}#app .shop-categories{display:flex;gap:20px;padding:0 0 15px;margin:0}#app .shop-categories button{background:none;border:0;border-radius:0;color:#77718a;font:400 11px Chronicle;padding:5px 0;box-shadow:none}#app .shop-categories button[aria-pressed=true]{color:#83618f;background:none;text-decoration:underline;text-underline-offset:6px}
#app .summon-banner{position:relative;min-height:230px;width:100%;display:flex;align-items:center;justify-content:space-between;overflow:hidden;background:linear-gradient(90deg,#f5eff9f2,#eee6f733),url('assets/illustrations/summon.webp') center/cover;border:1px solid #e2d5ed;border-radius:5px;box-shadow:none;padding:25px 35px;text-align:left;color:#625b79}#app .summon-banner>div{z-index:2}#app .summon-banner small{font:400 11px Chronicle;letter-spacing:2px;color:#77718a}#app .summon-banner h3{font:500 28px/1.4 Chronicle;color:#80608e;margin:10px 0}#app .summon-banner p{font:400 11px Chronicle;color:#77718a}#app .summon-banner strong{font:500 11px Chronicle;color:#625b79;display:flex;gap:10px;align-items:center}#app .summon-banner .ico{width:16px;height:16px}#app .summon-banner>.character-art{position:absolute;right:8%;bottom:-40px;width:300px;height:360px;max-height:none;z-index:1;filter:none}
#app .section-caption{display:flex;justify-content:space-between;align-items:center;margin:25px 0 14px;color:#625b79}#app .section-caption b{font:500 16px Chronicle;color:#796083}#app .section-caption span{font:400 11px Chronicle;color:#77718a}#app .rpg-shop-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}#app .product-card{position:relative;display:flex;flex-direction:column;align-items:stretch;background:#fff;border:1px solid #e1d7eb;border-radius:5px;padding:0;box-shadow:none;color:#77718a;overflow:hidden;min-width:0}#app .product-art{display:flex;align-items:center;justify-content:center;background:linear-gradient(150deg,#f3edf9,#faf7fc);height:150px;padding:12px;border-bottom:1px solid #eae0f1}#app .product-art .chest-art{width:110px;height:110px;animation:none;filter:drop-shadow(0 6px 4px #64527b13)}#app .product-card h4{font:500 14px Chronicle;color:#625b79;margin:15px 14px 6px;text-align:left}#app .product-card>small{font:400 11px/1.6 Chronicle;color:#77718a;min-height:35px;text-align:left;margin:0 14px 10px}#app .product-price{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:12px 14px;border-top:1px solid #ede4f4;color:#77718a}#app .product-price b{display:flex;align-items:center;gap:5px;font:500 13px Chronicle;color:#625b79}#app .product-price .ico{width:13px;height:13px}#app .product-price i{font:400 11px Chronicle;color:#77718a}#app .product-ribbon{position:absolute;top:9px;left:9px;z-index:2;background:#b2a1c4;color:#fff;border:0;border-radius:3px;font:400 11px Chronicle;padding:4px 7px}
#app .store-link{display:flex;align-items:center;gap:10px;width:100%;padding:16px;border:1px solid #e0d4ea;background:#fff;border-radius:5px;color:#77718a;box-shadow:none;margin-top:18px;font:400 11px Chronicle;text-align:left}#app .store-link b{font:500 11px Chronicle;margin-left:auto;color:#625b79}#app .store-link .ico{width:20px;height:20px}#app .shop-policy{font:400 11px Chronicle;color:#77718a;display:flex;justify-content:center;gap:6px}#app .shop-policy .ico{width:12px;height:12px}#app .utility-product{background:#fff;border:1px solid #e3d9ec;border-radius:5px;box-shadow:none;color:#77718a}#app .utility-product h4{font:500 14px Chronicle;color:#625b79}#app .utility-product p{font:400 11px Chronicle;color:#77718a}#app .utility-product>span{background:#f2ebf8;color:#77718a;border:1px solid #e6d9f0;border-radius:5px}
#app .recruit-stage{position:relative;min-height:490px;border:1px solid #d7d0e8;border-radius:5px;overflow:hidden;isolation:isolate;background:#e7deef}#app .recruit-backdrop{position:absolute;inset:0;background:url('assets/illustrations/summon.webp') center/cover;z-index:-2}#app .recruit-stage:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f1eaf6c9,transparent 70%),linear-gradient(0deg,#f7f3faf2,transparent 50%);z-index:-1}#app .recruit-title{position:absolute;top:35px;left:36px;z-index:3;pointer-events:none}#app .recruit-title>small{font-size:11px;letter-spacing:2px;color:#625b79}#app .recruit-title h3{font:500 35px/1.4 Chronicle;color:#796087;margin:14px 0}#app .recruit-title p{font:400 11px Chronicle;color:#77718a}#app .recruit-title>span{font:400 11px Chronicle;background:#faf7fbd9;border:1px solid #e5d9ef;padding:6px 9px;border-radius:3px;color:#77718a}#app .recruit-heroes{position:absolute;inset:0 0 60px 25%;display:flex;align-items:flex-end;justify-content:center}#app .recruit-heroes .character-art{position:absolute;width:45%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 5px #6f4d871a);max-height:none}#app .recruit-heroes .character-art:nth-child(1){left:3%;height:78%;transform:rotate(-7deg);z-index:1}#app .recruit-heroes .character-art:nth-child(2){left:29%;height:100%;z-index:3}#app .recruit-heroes .character-art:nth-child(3){right:0;height:80%;transform:rotate(5deg);z-index:2}#app .recruit-bottom{position:absolute;bottom:0;left:0;right:0;padding:22px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:4;background:#f8f3fae6;border-top:1px solid #fffd}#app .recruit-bottom small{font-size:11px;color:#77718a}#app .recruit-bottom p{font-size:11px;color:#77718a;margin:5px 0 0}#app .recruit-actions{display:flex;gap:10px}#app .recruit-actions .button{min-width:150px;display:flex;justify-content:space-between;gap:16px;min-height:48px}#app .recruit-actions b{font:500 12px Chronicle;display:flex;align-items:center;gap:5px}#app .recruit-details{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start;margin:15px 0}#app .recruit-details .store-link{margin:0}#app .recruit-details .chest-odds{background:#fff;border:1px solid #e5dcee;border-radius:5px;margin:0;padding:15px;color:#77718a;font:400 11px Chronicle}#app .chest-odds small,#app .chest-odds p{color:#77718a;font-size:11px}
#app .asset-shop-banner,#app .coming-product{background:#f3eff8;border:1px solid #e3d9ec;border-radius:5px;box-shadow:none;color:#77718a}#app .asset-shop-banner h3,#app .coming-product h3{color:#625b79;font:500 22px Chronicle}#app .coming-label{border:1px solid #d5c7e1;border-radius:3px;color:#77718a;background:#faf7fc;font-size:11px}
/* Bags, workbenches, quests and secondary pages share calm surfaces. */
#app .collection-heading{background:none;border:0;border-bottom:1px solid #e4dcea;border-radius:0;padding:0 0 20px;margin:0 0 22px;text-align:left;color:#77718a}#app .collection-heading h3{font:500 25px Chronicle;color:#846694;margin:6px 0}#app .collection-heading small{font-size:11px;letter-spacing:2px;color:#77718a}#app .collection-heading p{font-size:11px;color:#77718a}#app .treasure-heading>.chest-art{width:85px;height:85px;filter:none;animation:none}#app .chest-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:20px}#app .chest-card{background:#fff;border:1px solid #e0d3eb;border-radius:5px;padding:15px;box-shadow:none;color:#77718a;min-width:0}#app .chest-card .chest-art{width:105px;height:105px;max-width:100%;filter:none;animation:none}#app .chest-card h3{font:500 14px Chronicle;color:#625b79}#app .owned-count{background:none;border:1px solid #e2d6ec;border-radius:3px;font:400 11px Chronicle;color:#77718a}#app .chest-card .button{font-size:11px;min-height:37px;padding:7px 8px;width:100%}#app .chest-card details{font:400 11px/1.7 Chronicle;color:#77718a}#app .chest-card details>summary{font-size:11px}
#app .bulk-card-workshop,#app .merge-preview,#app .fusion-banner,#app .training-banner{border:1px solid #e3d7ed;border-radius:5px;background:linear-gradient(135deg,#f8f4fb,#f0e7f8);box-shadow:none;color:#77718a}#app .bulk-card-workshop h3,#app .merge-preview h3,#app .fusion-banner h3,#app .training-banner h3{font:500 22px Chronicle;color:#625b79}#app .bulk-card-workshop p,#app .fusion-banner p,#app .training-banner p{font-size:11px;color:#77718a}#app .bulk-odds,#app .bulk-estimate{background:#fff8;border:1px solid #e7daef;border-radius:4px;color:#77718a}#app .bulk-quantity{background:#fff;border:1px solid #ddcce9;border-radius:5px;box-shadow:none}#app .bulk-quantity>button{background:#eee5f7;border:0;border-radius:0;color:#77718a;box-shadow:none}#app .bulk-quantity input{font:500 22px Chronicle;border:0!important;background:none!important;color:#625b79;text-align:center}#app .batch-presets button{background:#f6effb;border:1px solid #e0ceec;border-radius:3px;color:#77718a;font:400 11px Chronicle;box-shadow:none}#app .bulk-card-workshop details{font-size:11px;color:#77718a}#app .merge-card-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}#app .merge-card-grid>button,#app .fusion-options>button,#app .fusion-slots>button{border:1px solid #dfcfe9;background:#f9f3fc;border-radius:5px;box-shadow:none;color:#77718a}#app .merge-card-grid>button strong{font:500 11px Chronicle;color:#625b79}#app .merge-card-grid>button span{font:400 11px Chronicle;color:#77718a}#app .growth-card-art{height:140px;border-radius:4px;background:linear-gradient(145deg,#eee6f6,#fff9);border:1px solid #e5d7ef;overflow:hidden}#app .growth-card-art>.character-art{width:100%;height:100%;object-fit:contain;filter:none}#app .growth-card-art>b{font-size:11px;color:#b69766;letter-spacing:2px}#app .growth-card-art>small{font:400 11px Chronicle;color:#77718a;background:#fff9;border-radius:3px}
#app .training-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}#app .training-cards article{background:#fff;border:1px solid #e4d9ed;border-radius:5px;box-shadow:none;color:#77718a;padding:24px}#app .training-cards h3{font:500 19px Chronicle;color:#625b79}#app .training-cards b{font:500 21px Chronicle;color:#77718a}#app .training-cards p{font-size:11px;color:#77718a}#app .training-cards article>span{background:#f2eaf9;border-radius:50%;color:#77718a;border:1px solid #e6d8f0}
#app .quest-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}#app .quest-list>article{background:#fff;border:1px solid #e1d4eb;border-radius:5px;box-shadow:none;padding:18px;color:#77718a}#app .quest-list h3{font:500 14px Chronicle;color:#625b79}#app .quest-list p{font-size:11px;color:#77718a}#app .quest-seal{background:#f2eaf8;border:1px solid #e4d6ed;border-radius:50%;color:#77718a}#app .quest-list .button{min-height:36px;font-size:11px;padding:8px 12px}
#app .more-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#app .more-grid button{border:1px solid #e0d5e8;background:#fff;border-radius:5px;box-shadow:none;padding:25px;color:#77718a}#app .more-grid button b{font:500 17px Chronicle;color:#625b79}#app .more-grid small{font-size:11px;color:#77718a}#app .settings-list{background:#fff;border:1px solid #e3d7ec;border-radius:5px;padding:12px 25px;box-shadow:none}#app .settings-list>div{border-bottom:1px solid #eee5f4;color:#77718a;padding:15px 0;font-size:11px}#app .settings-list b{font:500 11px Chronicle;color:#77718a}#app .settings-list input[type=range]{accent-color:#a88abd}#app .setting-actions{display:flex;gap:10px;flex-wrap:wrap}#app .setting-actions>*{flex:1}#app .panel-note{font:400 11px/1.8 Chronicle;color:#77718a}#app .service-notice{background:#f1eaf7;border:1px solid #dfd1ea;border-radius:5px;box-shadow:none;color:#77718a;padding:25px}#app .service-notice h3{font:500 23px Chronicle;color:#625b79}#app .service-notice p{font-size:11px;color:#77718a}#app #coupon-form{max-width:600px;margin:24px auto;color:#77718a;font-size:11px}#app .reserved-assets,#app .pvp-preview{background:#f2ebf8;border:1px solid #e0d1ec;border-radius:5px;color:#77718a;box-shadow:none}#app .pvp-preview h3{font:500 26px Chronicle;color:#625b79}#app .element-table{background:#fff;color:#77718a;border:1px solid #dec9eb;border-radius:3px}#app .element-table th{background:#f2e8f8;color:#77718a;border-color:#e5d4ef}#app .element-table td{color:#77718a;border-color:#e9dcf1}#app .element-table .strong{color:#a17e52;background:#f9f2e6}#app .element-table .weak{color:#77718a;background:#f0e5f7}
/* Dialogs, rewards and native confirmation are one visual language. */
#app .play-screen>.game-submodal{position:absolute;inset:0;z-index:90;max-width:none;display:flex;align-items:center;justify-content:center;padding:22px}#app .play-screen>.game-submodal>.submodal-shade{position:absolute;inset:0;width:100%;height:100%;background:#29263b80;border:0;border-radius:0;box-shadow:none}#app .rpg-dialog{position:relative;width:100%;max-width:500px;max-height:calc(100% - 10px);overflow:auto;border:1px solid #d8c9e6;border-radius:6px;background:#faf7fc;box-shadow:0 15px 80px #30233f40;color:#77718a}#app .rpg-dialog header{background:#f1e9f8;border-bottom:1px solid #e3d3ed;border-radius:0;padding:22px;color:#77718a}#app .rpg-dialog header h3{font:500 19px Chronicle;color:#625b79}#app .rpg-dialog header small{font:400 11px Chronicle;letter-spacing:1.6px;color:#77718a}#app .rpg-dialog .icon-button{background:none;color:#77718a;border:1px solid #dfcdea;border-radius:50%;box-shadow:none}#app .market-order{background:none;border:0;box-shadow:none;padding:24px}#app .market-product{border:0;background:none;color:#77718a}#app .market-product h3{font:500 18px Chronicle;color:#625b79}#app .market-product p{font-size:11px;color:#77718a}#app .market-product strong{font:500 19px Chronicle;color:#77718a}#app .market-total{background:none;border:0;border-top:1px solid #e6d8ef;border-radius:0;color:#77718a}#app .market-total strong{font:500 22px Chronicle;color:#77718a}#app .batch-help,#app .batch-status{font-size:11px;color:#77718a}#app .rpg-dialog .chest-odds{margin:0 24px 24px;border-top:1px solid #e3d3ef;color:#77718a}
#app .gear-detail{padding:0;background:#faf7fc;box-shadow:none;border:0;color:#77718a}#app .gear-detail>header .equipment-icon{width:70px;height:70px}#app .gear-detail>header span{font-size:11px;color:#77718a}#app .gear-deltas{padding:18px 24px;background:none}#app .gear-deltas>div{border-color:#e9dbf2}#app .gear-deltas dt{font-size:11px;color:#77718a}#app .gear-deltas dd{font:500 16px Chronicle;color:#77718a}#app .gear-deltas dd span{color:#77718a}#app .gear-detail>p{font-size:11px;padding:0 24px;color:#77718a}#app .enhance-cost{background:#f1e8f9;border:1px solid #e3d0ef;border-radius:4px;margin:10px 24px;padding:15px;color:#77718a}#app .enhance-cost>b{font:500 12px Chronicle;color:#77718a}#app .enhance-cost .equipment-icon{width:32px;height:32px}#app .gear-actions{padding:10px 24px}#app .gear-detail>small{font:400 11px Chronicle;color:#77718a;display:block;text-align:center;padding:4px 24px 24px}
#app .loot-overlay{background:#2d253d99;backdrop-filter:none;padding:22px}#app .loot-overlay .loot-card{width:100%;max-width:620px;max-height:90%;padding:30px;border:1px solid #dcccE8;border-radius:6px;background:radial-gradient(ellipse at 50% 0,#eee3f8,#faf7fc 65%);box-shadow:0 15px 80px #30233f40;animation:none;color:#77718a}#app .loot-card>small{font:400 11px Chronicle;letter-spacing:2px;color:#77718a}#app .loot-card h2{font:500 27px Chronicle;color:#625b79;margin:12px 0 20px}#app .loot-results{background:#fffc;border:1px solid #e7d8f0;border-radius:5px;padding:15px;color:#77718a}#app .loot-result-row{border-color:#eee4f5}#app .loot-result-row>b{font:500 11px Chronicle;color:#77718a}#app .loot-result-row>strong{font:500 14px Chronicle;color:#77718a}#app .loot-result-row>span{width:60px;height:65px}#app .loot-result-row .growth-card-art{height:60px;margin:0}#app .loot-result-row .growth-card-art .character-art{height:100%;object-fit:contain}#app .loot-card .button{border-radius:4px;background:#82709d;border:1px solid #82709d;color:#fff;box-shadow:none}#app .bulk-result-summary>div{background:#f2e8f9;border:1px solid #dfccee;border-radius:4px;color:#77718a}#app .bulk-result-summary b{font:500 25px Chronicle;color:#77718a}
.chronicle-confirm{padding:30px;border:1px solid #d8c9e4;border-radius:6px;width:calc(100% - 40px);max-width:420px;color:#81608e;background:#faf7fc;box-shadow:0 15px 80px #30233f40}.chronicle-confirm::backdrop{background:#26203791}.chronicle-confirm form{margin:0}.chronicle-confirm .confirm-symbol{font-size:32px;color:#77718a;display:block;margin-bottom:10px}.chronicle-confirm small{font:400 11px Chronicle;letter-spacing:2px;color:#77718a}.chronicle-confirm h2{font:500 20px Chronicle;color:#625b79;letter-spacing:-.5px;margin:10px 0 14px}.chronicle-confirm p{font:400 11px/1.9 Chronicle;color:#77718a;white-space:pre-line;margin:0 0 24px}.chronicle-confirm form>div{display:flex;gap:10px}.chronicle-confirm .button{flex:1;font-size:11px}
/* Battle: retain the canvas viewport and timing; surround it with game UI. */
#app .smooth-arena{position:absolute;top:0;bottom:0;left:50%;width:min(100%,430px);height:100%;min-height:0;transform:translateX(-50%);border-inline:1px solid #d9d3df;background-color:#bec9cc;box-shadow:0 0 40px #4d3e5c12}#app .smooth-arena:after{display:none}#app .play-tools{position:absolute;top:78px;right:calc((100% - min(100%,430px))/2 + 10px);display:flex;flex-direction:column;gap:6px;z-index:40}#app .play-tools .button{width:32px;height:32px;min-height:32px;padding:7px;background:#faf8f1ed;border:1px solid #d4c8df;border-radius:5px;box-shadow:0 3px 8px #51375c12;color:#625b79;font:400 11px Chronicle}#app .play-tools .ico{width:17px;height:17px}
#app .play-screen .smooth-arena .stage-hud{top:78px;left:13px;right:53px;width:auto;transform:none;text-align:left;padding:12px;background:#faf9f2e8;border:1px solid #d8d0dd;border-radius:5px;box-shadow:0 3px 15px #47395312;color:#625b79;text-shadow:none;z-index:20}#app .smooth-arena .stage-hud>small{font:400 11px Chronicle;letter-spacing:1.5px;color:#77718a;display:block;margin-bottom:4px}#app .smooth-arena .stage-hud>span{font:500 15px/1.4 Chronicle;color:#876696;text-shadow:none;display:block;letter-spacing:-.3px}#app .smooth-arena .stage-hud .wave-progress{background:#d8c9e4;height:3px;border:0}#app .smooth-arena .stage-hud .wave-progress>i{background:#aa98bc;box-shadow:none}#app .smooth-arena .stage-hud .hunt-progress{font:400 11px Chronicle;color:#77718a}#app .smooth-arena .stage-hud .boss-strip{position:relative;inset:auto;width:100%;min-width:0;padding:8px;background:#faf0f3eb;border:1px solid #dfc0cf;border-radius:4px;transform:none;color:#77718a;text-shadow:none;box-shadow:none;display:grid;grid-template-columns:1fr auto;font:500 11px Chronicle;margin-top:8px}#app .stage-hud .boss-strip[hidden]{display:none}#app .boss-strip>i{height:4px;border-radius:3px}
#app .control-deck{position:absolute;left:50%;transform:translateX(-50%);right:auto;bottom:calc(68px + var(--safe-bottom));width:min(100%,430px);height:auto;padding:7px 10px 10px;background:linear-gradient(#fbfaf5f5,#f1eaf7f5);border:1px solid #d8cce2;border-bottom:0;box-shadow:0 -3px 18px #5840630d;pointer-events:none;z-index:45}#app .control-deck>*{pointer-events:auto}#app .control-deck .quest-ribbon{margin:0 0 7px;border:1px solid #ddd1e7;border-radius:4px;clip-path:none;padding:6px 9px;background:#f8f3fbe6;color:#77718a;min-height:33px;box-shadow:none}#app .quest-ribbon b{font:400 11px Chronicle;color:#77718a}#app .quest-ribbon small{font:400 11px Chronicle;color:#77718a}#app .quest-ribbon em{font:400 11px Chronicle;color:#77718a}#app .quest-medal{border:0;background:none;color:#77718a;width:20px;height:20px;filter:none}#app .quest-medal .ico{width:16px;height:16px}
#app .world-party{gap:6px}#app .world-party-slot{border-radius:5px;clip-path:none;border:1px solid #cfc3df;background:linear-gradient(150deg,#e8e0f1,#faf8fc);box-shadow:none;overflow:hidden}#app .world-party-slot.selected{border:1px solid #b397c7;box-shadow:inset 0 0 0 1px #e8d9f3}#app .world-party-slot .character-art{height:100%;width:100%;object-fit:contain;object-position:50% 22%;transform:scale(1.13);filter:none;max-height:none}#app .world-party-slot>b{font:400 11px Chronicle;color:#625b79;background:#f6f0fae8;clip-path:none}#app .world-party-slot>small{font:400 11px Chronicle;color:#77718a;background:#faf8fcda}#app .world-party-slot.fallen .character-art{filter:grayscale(1);opacity:.6}#app .world-party-slot.empty{background:#ebe5f3;border:1px dashed #c9b5d9;color:#77718a}#app .world-party-slot.empty .ico{width:20px;height:20px;color:#77718a}#app .world-skill{border:1px solid #d8c8e5;background:#f6effb;border-radius:5px;clip-path:none;box-shadow:none;color:#77718a}#app .world-skill>span{border-radius:5px;border:1px solid #d7c5e6;background:#ded2ee}#app .world-skill>b{font:400 11px Chronicle;color:#77718a;text-shadow:none}#app .world-skill small{font:400 11px Chronicle;color:#77718a}#app .world-skills{gap:7px}#app .world-skill.ultimate{background:#eee4f7;border:1px dashed #d2bce2}#app .skill-book{border:0;color:#77718a;background:none;font:400 11px Chronicle}
#app .play-screen .auto-button{width:62px;height:28px;min-height:28px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:4px;padding:4px 7px;background:#f9f3fbea;border:1px solid #d3bfe2;border-radius:4px;box-shadow:none;clip-path:none;font:500 11px Chronicle;color:#625b79;text-shadow:none;filter:none}#app .auto-button small{font:400 11px Chronicle;color:#77718a}
#app .battle-aside{display:none}#app .modal-open .battle-aside{visibility:hidden}

/* Entry, account creation and result scenes are part of the same world. */
#app .entry{font-family:Chronicle,system-ui,sans-serif;color:#625b79;background:url('assets/illustrations/town.webp') center/cover;min-height:100dvh}#app .entry-shade{background:linear-gradient(90deg,#eee9f4dd,#f9f7fa88),linear-gradient(0deg,#f6f1f8,transparent 80%)}#app .entry .brand{color:#625b79;text-shadow:none}#app .entry .brand h1{font:400 35px Georgia;letter-spacing:3px;color:#625b79}#app .entry .brand p{font:400 11px Chronicle;color:#77718a}#app .auth-box{max-width:380px;background:#fbf8fce8;border:1px solid #ded1e9;border-radius:6px;box-shadow:0 10px 60px #44315117;color:#77718a;padding:25px}#app .auth-box label{color:#77718a;font-size:11px}#app .auth-tabs .button{background:none;border:0;border-radius:0;color:#77718a;font:500 14px Chronicle;box-shadow:none}#app .auth-tabs .button.active{border-bottom:2px solid #a384b9;color:#625b79}#app .auth-note,#app .entry-version{font:400 11px/1.8 Chronicle;color:#77718a}#app .entry-heroes .character-art{object-fit:contain;filter:none}#app .back-site,#app .flow-header{color:#625b79;font-size:11px}#app .flow-body{max-width:680px;margin:auto}#app .realm-list{max-width:680px}#app .realm-card{background:#fcf8fbea;border:1px solid #decde9;border-radius:5px;box-shadow:none;color:#77718a}#app .realm-card b{font:500 18px Chronicle;color:#625b79}#app .realm-card small{font:400 11px Chronicle;color:#77718a}#app .realm-card em{font:400 11px Chronicle;color:#77718a}#app .realm-emblem{background:#e9dff2;border:1px solid #d6c1e4;border-radius:5px;color:#77718a}#app .entry h2{font:500 27px/1.4 Chronicle;color:#625b79}#app .subcopy,#app .hint-box{color:#77718a;font-size:11px}#app .hint-box{border:1px solid #e0cfea;background:#f9f3fce0;border-radius:5px}#app .character-preview{max-width:600px;margin:0 auto;min-height:290px;background:none}#app .character-preview>.character-art{height:100%;max-height:350px;object-fit:contain;filter:none}#app .character-title{color:#77718a;text-shadow:none}#app .character-title h3{font:500 29px Chronicle;color:#625b79}#app .hero-aura{background:radial-gradient(ellipse,#e9ddf477,transparent 70%);border:0;box-shadow:none}#app .character-select{max-width:700px;margin:auto}#app .character-select>button{border:1px solid #dbc9e7;background:#faf5fcbd;border-radius:5px;box-shadow:none;color:#77718a;font-family:inherit}#app .character-select>button[aria-pressed=true]{border:1px solid #ac8dc2;background:#eaddf4;box-shadow:none}#app .character-select .character-art{object-fit:contain;filter:none}#app .hero-description{max-width:650px;margin:20px auto;color:#77718a;background:#faf5fcbd;border:1px solid #e5d5ef;border-radius:5px}#app .hero-description b{color:#77718a}#app #create-form{max-width:550px;margin:auto;padding:0 20px 30px}#app .name-field,#app .selection-note{color:#77718a;font-size:11px}#app .form-error{color:#77718a;font-size:11px}#app .flow-header{padding:20px}#app .top-step{color:#77718a}#app .boot-screen{background:#e7e0ef}#app .boot-mark{color:#f5f0fa}#app .boot-mark h1{font-family:Georgia,serif;letter-spacing:3px}#app .boot-bottom{font-family:Chronicle;color:#d5c8e3}#app .boot-bottom progress::-webkit-progress-value{background:#d3badf}#app .screen-overlay .result-card{background:#faf6fc;border:1px solid #dcc8e9;border-radius:6px;box-shadow:0 15px 50px #3f2b5c22;color:#77718a}#app .result-card h2{font:500 25px Chronicle;color:#625b79}#app .result-card p{font-size:11px;color:#77718a}#toast{font:400 11px/1.6 Chronicle,system-ui;background:#48405dee;color:#f5effb;border:1px solid #79698b;border-radius:5px;box-shadow:0 6px 30px #30223c22;max-width:min(420px,calc(100% - 32px))}
#app.phone{max-width:430px}#app .player-hud{padding:7px 14px}#app .world-wallet{flex:1;gap:5px}#app .world-wallet button{padding:4px 6px;gap:1px 3px;grid-template-columns:14px 1fr}#app .world-wallet button>span,#app .world-wallet .ico{width:14px;height:14px}#app .world-wallet :is(b,strong){font-size:11px}#app .world-wallet small{font-size:11px}#app .world-wallet button:after{display:none}#app .player-info{min-width:86px}#app .growth-popup .drawer-scroll{padding:20px}#app .growth-page{grid-template-columns:1fr;gap:15px}#app .growth-heroes{flex-direction:row;gap:7px}#app .growth-heroes button{flex:1;min-height:78px;max-height:90px}#app .growth-heroes button>.character-art{height:60px}#app .growth-heroes b{font-size:11px}#app .growth-heroes small{font-size:11px}#app .character-dossier{min-height:400px}#app .character-profile.hero-stage{min-height:400px}#app .dossier-data{padding:20px 18px}#app .dossier-heading h3{font-size:25px}#app .equipment-layout{grid-template-columns:1fr;gap:24px}#app .paperdoll{max-width:500px;margin:auto}#app .gear-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}#app .squad-roster{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#app .squad-avatar{height:200px}#app .rpg-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#app .chest-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#app .recruit-stage{min-height:470px}#app .recruit-title{top:25px;left:25px}#app .recruit-title h3{font-size:27px}#app .recruit-heroes{inset:50px 0 80px 10%}#app .recruit-bottom{display:block;padding:18px}#app .recruit-bottom>div:first-child{margin-bottom:12px}#app .recruit-actions .button{flex:1;min-width:0}#app .recruit-details{grid-template-columns:1fr;gap:10px}#app .lobby-greeting{left:30px;top:100px}#app .lobby-greeting h3{font-size:30px}#app .lobby-destinations{width:42%;right:5%;top:280px}#app .lobby-adventure{padding:20px;min-height:130px}#app .lobby-adventure>strong{font-size:23px}#app .lobby-world{padding:13px}#app .lobby-characters{inset:140px 22% 40px -10%}#app .lobby-character-tag{left:25%;bottom:30%}#app .lobby-shortcuts{top:250px;left:15px;gap:12px}#app .lobby-shortcuts button{width:50px}#app .lobby-shortcuts .ico{width:23px;height:23px}#app .lobby-speech{left:25px;bottom:50px;font-size:11px}#app .lobby-speech p{font-size:11px}#app .lobby-event{min-height:85px;padding:12px}#app .lobby-event b{font-size:11px}#app .lobby-event em{font-size:11px}#app .lobby-event>.character-art{right:-30px;width:110px;height:130px;bottom:-20px}#app .lobby-event small{font-size:11px;letter-spacing:.5px}
#app .player-hud{height:60px;min-height:60px;padding:7px 12px;gap:6px}#app .player-avatar{width:36px;height:40px}#app .player-avatar .character-art{height:56px}#app .player-info{min-width:72px}#app .player-info>b{font-size:11px}#app .player-info>span>b{font-size:11px}#app .player-info>em{font-size:11px}#app .world-wallet{gap:3px}#app .world-wallet button{padding:4px 5px;grid-template-columns:11px 1fr;gap:1px 3px;height:35px}#app .world-wallet button>span,#app .world-wallet .ico{width:11px;height:11px}#app .world-wallet :is(b,strong){font-size:11px}#app .world-wallet small{font-size:11px}#app .bottom-drawer.growth-popup{top:60px;bottom:calc(62px + var(--safe-bottom))}#app .world-nav{height:calc(62px + var(--safe-bottom));min-height:calc(62px + var(--safe-bottom));padding:0 4px var(--safe-bottom)}#app .world-nav button{padding:7px 1px 5px;gap:5px}#app .world-nav .nav-glyph,#app .world-nav .nav-glyph .ico{width:21px;height:21px}#app .world-nav button>span{font-size:11px;font-weight:500}#app .bottom-drawer.growth-popup>header{height:48px;min-height:48px;padding:0 16px 0 58px}#app .bottom-drawer.growth-popup>header h2{font-size:16px}#app .bottom-drawer.growth-popup>header small{font-size:11px;letter-spacing:1px}#app .bottom-drawer.growth-popup>header>.icon-button{left:16px;top:10px;width:28px;height:28px;min-height:28px}#app .growth-popup .drawer-scroll{padding:17px 16px 25px}#app .growth-page{gap:12px}#app .growth-heroes button{min-height:75px;max-height:78px}#app .growth-heroes button>.character-art{height:54px}#app .growth-heroes b{font-size:11px;padding-left:5px}#app .growth-heroes small{font-size:11px;padding-right:4px}#app .growth-tabs button{min-height:37px;font-size:11px}#app .growth-extras{gap:16px;padding-bottom:8px;margin-bottom:8px}#app .growth-extras button{font-size:11px}#app .character-dossier{grid-template-columns:1fr;background:linear-gradient(#f7f4fa00,#faf7fc 65%),url('assets/illustrations/hall.webp') 30% top/auto 400px no-repeat;min-height:0}#app .character-profile.hero-stage{height:310px;min-height:310px}#app .character-profile>.character-art{height:94%;top:2%;object-position:center}#app .hero-nameplate{bottom:18px;left:15px;padding:7px 15px;min-width:95px}#app .hero-nameplate h3{font-size:24px}#app .hero-nameplate>small{font-size:11px}#app .hero-nameplate .equipment-stars{font-size:11px}#app .character-profile .hero-attribute{top:12px;left:12px;font-size:11px}#app .appearance-btn{font-size:11px;bottom:15px;right:12px}#app .dossier-data{padding:20px}#app .dossier-heading{display:none}#app .power-ribbon{padding:10px 0;margin-bottom:16px}#app .power-ribbon b{font-size:24px}#app .level-panel>div b{font-size:11px}#app .level-panel>div span{font-size:11px}#app .level-panel .button{font-size:11px}#app .stat-chips b{font-size:17px}#app .stat-chips>span{font-size:11px}#app .two-actions>.button{font-size:11px;min-height:40px}#app .stats-profile,#app .skill-owner{height:95px;padding:8px 15px;gap:12px}#app .stats-profile>.character-art,#app .skill-owner>.character-art{width:75px;height:115px}#app .stats-profile h3,#app .skill-owner h3{font-size:17px}#app .stats-profile :is(small,span),#app .skill-owner :is(small,span){font-size:11px}#app .stat-workshop{padding:16px}#app .progression-heading h3{font-size:17px}#app .progression-heading small{font-size:11px}#app .bonus-row h4{font-size:14px}#app .bonus-row p{font-size:11px;max-width:170px}#app .bonus-buy .button{font-size:11px;padding:8px 10px;min-height:38px}#app .quantity-tabs button{font-size:11px;padding:7px 5px}#app .skill-tree{gap:10px}#app .skill-node>span{width:54px;height:54px}#app .skill-node b{font-size:11px}#app .skill-node small{font-size:11px}#app .growth-skill.skill-detail-panel{padding:18px;gap:10px;grid-template-columns:60px minmax(0,1fr)}#app .growth-skill h3{font-size:17px}#app .growth-skill em{font-size:11px}#app .growth-skill .skill-copy>small{font-size:11px}#app .rpg-skill-description{font-size:11px}#app .equipment-layout{gap:18px}#app .paperdoll{min-height:390px;padding:10px;grid-template-columns:66px minmax(0,1fr) 66px;gap:6px}#app .paper-slot{min-height:81px}#app .paper-slot .equipment-icon{height:53px;width:53px}#app .paper-character>div{inset:20px -38px 25px}#app .paper-character>strong{font-size:21px}#app .paper-character .character-art{height:100%;width:100%}#app .gear-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}#app .gear-tile{min-height:144px}#app .gear-tile .equipment-icon{width:74px;height:74px}#app .gear-tile>strong{font-size:11px}#app .enhancement-stones .equipment-icon{width:30px;height:30px}#app .enhancement-stones span{font-size:11px}#app .enhancement-stones b{font-size:12px}
#app .squad-tabs{margin-bottom:18px}#app .squad-tabs button{font-size:11px;padding:10px 16px}#app .squad-current{padding:16px}#app .squad-heading h3{font-size:20px}#app .squad-heading small{font-size:11px}#app .squad-count{font-size:25px}#app .squad-line{gap:7px;margin:15px 0}#app .squad-member>button{height:155px;padding:10px 3px}#app .squad-member .character-art{height:145px}#app .squad-member b{font-size:12px}#app .squad-member small{font-size:11px}#app .squad-member>em{font-size:11px;padding:4px}#app .squad-position{top:6px;left:6px;font-size:11px;padding:2px 4px}#app .squad-current-footer{font-size:11px}#app .squad-current-footer b{font-size:12px}#app .squad-current-footer small{font-size:11px}#app .squad-empty{min-height:175px}#app .squad-empty b{font-size:11px}#app .squad-empty small{font-size:11px}#app .squad-tools{gap:12px}#app .squad-tools .button{font-size:11px;min-height:37px}#app .squad-section-title h3{font-size:14px}#app .squad-roster{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#app .squad-avatar{height:205px}#app .squad-roster-copy h4{font-size:17px}#app .squad-roster-copy .roster-job{font-size:11px}#app .squad-roster-action{padding-bottom:12px}#app .squad-small-button{font-size:11px;min-height:33px}#app .squad-collection-link,#app .squad-growth-link{font-size:11px}#app .world-atlas{min-height:320px;background-position:center;background-size:auto 100%;margin:18px 0}#app .world-atlas-title{padding:20px}#app .world-atlas-title h3{font-size:24px}#app .world-atlas-title p{font-size:11px}#app .world-pins{left:4%;right:4%;bottom:43px;gap:3px}#app .world-pins b{width:28px;height:28px;font-size:11px}#app .world-pins span{font-size:11px;padding:4px 5px}#app .world-list{grid-template-columns:1fr;padding:9px;gap:6px}#app .region-chapter summary>img{width:80px;height:82px}#app .region-chapter summary{gap:12px}#app .region-chapter summary b{font-size:15px}#app .region-chapter summary small{font-size:11px}#app .region-chapter summary em{font-size:11px}#app .world-list button>span{font-size:11px}#app .world-list small{font-size:11px}#app .world-list em{font-size:11px}
#app .currency-tabs{margin-bottom:12px}#app .currency-tabs button{font-size:11px;padding:9px 18px}#app .shop-categories{gap:20px;padding-bottom:14px}#app .shop-categories button{font-size:11px}#app .summon-banner{min-height:195px;padding:22px}#app .summon-banner h3{font-size:23px}#app .summon-banner small{font-size:11px;letter-spacing:1px}#app .summon-banner p{font-size:11px}#app .summon-banner strong{font-size:11px}#app .summon-banner>.character-art{right:-40px;bottom:-25px;width:220px;height:275px;opacity:.8}#app .summon-banner>div{max-width:72%}#app .rpg-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#app .product-art{height:135px}#app .product-card h4{font-size:13px;margin:13px 12px 6px}#app .product-card>small{font-size:11px;min-height:30px;margin-inline:12px}#app .product-price{padding:10px 12px}#app .product-price b{font-size:12px}#app .product-price i{font-size:11px}#app .section-caption{margin:22px 0 12px}#app .section-caption b{font-size:15px}#app .section-caption span{font-size:11px}#app .recruit-stage{min-height:520px}#app .recruit-title{left:20px;top:22px}#app .recruit-title h3{font-size:27px;margin:10px 0}#app .recruit-title>small{font-size:11px;letter-spacing:1.5px}#app .recruit-title p{font-size:11px}#app .recruit-title>span{font-size:11px}#app .recruit-heroes{inset:140px -15px 95px -15px}#app .recruit-heroes .character-art:nth-child(1){height:85%;left:0;width:48%}#app .recruit-heroes .character-art:nth-child(2){height:100%;left:22%;width:55%}#app .recruit-heroes .character-art:nth-child(3){height:85%;right:0;width:48%}#app .recruit-bottom{padding:15px}#app .recruit-bottom small{font-size:11px}#app .recruit-bottom p{font-size:11px}#app .recruit-actions .button{font-size:11px;min-height:44px;padding:10px 12px;gap:7px}#app .recruit-actions b{font-size:11px}#app .recruit-actions .ico{width:12px;height:12px}#app .store-link{font-size:11px;padding:14px}#app .store-link b{font-size:11px}
#app .chest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#app .chest-card{padding:13px 10px}#app .chest-card h3{font-size:12px}#app .chest-card .chest-art{width:100px;height:100px}#app .chest-card .button{font-size:11px}#app .collection-heading h3{font-size:22px}#app .collection-heading p{font-size:11px}#app .merge-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#app .growth-card-art{height:115px}#app .merge-card-grid>button strong{font-size:11px}#app .merge-card-grid>button span{font-size:11px}#app .training-cards{grid-template-columns:1fr;gap:12px}#app .training-cards article{padding:20px}#app .training-cards h3{font-size:18px}#app .quest-list{grid-template-columns:1fr;gap:12px}#app .quest-list h3{font-size:13px}#app .quest-list>article{padding:14px}#app .more-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#app .more-grid button{padding:20px}#app .more-grid button b{font-size:15px}#app .more-grid small{font-size:11px}#app .settings-list{padding:8px 16px}#app .settings-list>div{font-size:11px}#app .settings-list b{font-size:11px}#app .setting-actions .button{font-size:11px;padding:10px}#app .play-screen>.game-submodal{padding:16px}#app .market-order{padding:20px}#app .market-product h3{font-size:16px}#app .rpg-dialog header{padding:20px}#app .rpg-dialog header h3{font-size:17px}#app .loot-overlay .loot-card{padding:25px 18px}#app .loot-card h2{font-size:23px}#app .control-deck{bottom:calc(62px + var(--safe-bottom));padding:6px 8px 8px}#app .play-tools{top:74px}#app .play-screen .smooth-arena .stage-hud{top:74px;left:10px;right:52px;padding:10px}#app .smooth-arena .stage-hud>span{font-size:13px}#app .smooth-arena .stage-hud>small{font-size:11px}#app .entry .brand h1{font-size:29px}#app .auth-box{max-width:330px;margin-inline:auto;padding:22px}#app .hero-entry .character-preview{min-height:280px}#app .character-heading{padding-top:10px}#app .character-heading h2{font-size:24px}#app .character-select{padding:0 15px;gap:5px}#app .character-select button{padding:5px}#app .character-select .character-art{height:68px}#app .character-select span{font-size:11px}#app .character-select small{font-size:11px}#app .hero-description{margin:15px;max-width:none}#app .realm-entry .flow-body{padding-inline:20px}#app .realm-entry h2{font-size:23px}
#app .chronicle-lobby{min-height:650px}#app .lobby-topline{left:22px;right:20px;top:20px}#app .lobby-wordmark{font-size:11px;letter-spacing:2px}#app .lobby-wordmark span{font-size:17px;letter-spacing:2px}#app .lobby-topline button{width:31px;height:31px;padding:7px}#app .lobby-greeting{left:25px;top:88px}#app .lobby-greeting h3{font-size:28px;margin:9px 0}#app .lobby-greeting>small{font-size:11px;letter-spacing:1.6px}#app .lobby-greeting p{font-size:11px}#app .lobby-landscape{background-position:47% 50%}#app .lobby-characters{inset:170px 15% 65px -16%}#app .lobby-character-tag{bottom:25%;left:22%;padding:6px 10px}#app .lobby-character-tag small{font-size:11px}#app .lobby-character-tag b{font-size:16px}#app .lobby-destinations{top:300px;right:4%;width:44%;gap:10px}#app .lobby-adventure{min-height:120px;padding:16px 13px}#app .lobby-adventure>small{font-size:11px;letter-spacing:.6px}#app .lobby-adventure>strong{font-size:22px}#app .lobby-adventure .ico{width:20px;height:20px}#app .lobby-adventure>span{font-size:11px}#app .lobby-adventure>em{font-size:11px;letter-spacing:.6px}#app .lobby-adventure>em b{font-size:11px}#app .lobby-world{padding:12px 10px;gap:8px}#app .lobby-world>.ico{width:20px;height:20px}#app .lobby-world small{font-size:11px;letter-spacing:.6px}#app .lobby-world b{font-size:14px}#app .lobby-world>.ico:last-child{width:12px;height:12px}#app .lobby-shortcuts{left:12px;top:230px;gap:10px}#app .lobby-shortcuts .ico{width:21px;height:21px;padding:6px}#app .lobby-shortcuts span{font-size:11px}#app .lobby-speech{bottom:55px;left:22px;max-width:80%;padding:10px 14px}#app .lobby-speech small{font-size:11px}#app .lobby-speech p{font-size:11px}#app .lobby-caption{left:22px;bottom:20px;font-size:11px}#app .lobby-stage-info{font-size:11px}#app .lobby-stage-info b{font-size:11px}
@container (max-width:360px){#app .player-hud{padding-inline:8px;gap:5px}#app .player-info{min-width:60px}#app .player-info>b{font-size:11px}#app .world-wallet button{padding-inline:4px;grid-template-columns:9px 1fr}#app .world-wallet button>span,#app .world-wallet .ico{width:9px;height:9px}#app .world-wallet :is(b,strong){font-size:11px}#app .growth-popup .drawer-scroll{padding-inline:12px}#app .growth-heroes{gap:5px}#app .growth-heroes b{font-size:11px}#app .growth-heroes small{display:none}#app .growth-tabs button{font-size:11px}#app .squad-avatar{height:180px}#app .squad-roster-copy h4{font-size:15px}#app .squad-member>button{height:135px}#app .squad-member .character-art{height:130px}#app .squad-member b{font-size:11px}#app .paperdoll{grid-template-columns:61px minmax(0,1fr) 61px;min-height:365px;padding:8px;gap:4px}#app .paper-slot{min-height:76px}#app .paper-slot .equipment-icon{width:48px;height:48px}#app .paper-character>strong{font-size:19px}#app .gear-tile .equipment-icon{width:63px;height:63px}#app .gear-tile>strong{font-size:11px}#app .product-card h4{font-size:11px}#app .product-art{height:120px}#app .product-price b{font-size:11px}#app .world-nav button>span{font-size:11px}#app .lobby-adventure>strong{font-size:19px}}
@media(prefers-reduced-motion:reduce){#app *,#app *:before,#app *:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
/* Semantic battle controls; deliberately sized for the original combat viewport. */
#app .formation-dock{display:flex;gap:8px;align-items:stretch;margin:0 0 7px;height:75px}#app .leader-card,#app .companion-slot{position:relative;display:block;clip-path:none;border-radius:5px;border:1px solid #d7cce3;background:linear-gradient(145deg,#e9e2f0,#faf7fc);box-shadow:none;overflow:hidden;color:#82708f}#app .leader-card{width:75px;height:75px;padding:0;flex:none}#app .companion-dock{display:flex;gap:7px;flex:1;min-width:0;padding:0}#app .companion-slot{width:auto;flex:1;height:75px;padding:0;min-width:0;max-width:none}#app :is(.leader-card,.companion-slot)>.character-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center 20%;transform:scale(1.12);filter:none;max-width:none;max-height:none}#app :is(.leader-card,.companion-slot)>b{position:absolute;left:0;right:0;bottom:7px;display:block;background:#faf6fbe8;border:0;border-radius:0;clip-path:none;padding:3px 0;font:400 11px/1 Chronicle;color:#867292;text-shadow:none;z-index:3}#app .leader-card>small{position:absolute;left:4px;bottom:0;font:400 11px Chronicle;color:#9c86ac;z-index:4}#app :is(.leader-card,.companion-slot)>i{position:absolute;bottom:2px;left:5px;right:5px;height:3px;border:0;border-radius:3px;background:#d7c7e2;z-index:4;overflow:hidden}#app :is(.leader-card,.companion-slot)>i>em{display:block;height:100%;background:#baa2c9;border:0;box-shadow:none}#app :is(.leader-card,.companion-slot).selected{border-color:#b091c7;box-shadow:inset 0 0 0 1px #d8c3e6}#app .companion-slot.fallen>.character-art{filter:grayscale(1);opacity:.5}#app .companion-slot.empty{background:#eee8f4;border:1px dashed #cbb7da}#app .companion-slot.empty>span{display:grid;place-items:center;color:#baa0cc;background:none;height:52px;width:100%;transform:none;clip-path:none;border:0}#app .companion-slot.empty>span .ico{width:19px;height:19px}#app .companion-slot.empty>small{font:400 11px Chronicle;color:#b69bc8;position:absolute;left:0;right:0;bottom:7px;display:block;visibility:visible}
#app .daily-intro{padding:0 0 20px;margin:0 0 20px;border-bottom:1px solid #e2d8eb;color:#897595}#app .daily-intro>small{font:400 11px Chronicle;letter-spacing:2px;color:#aa96b8}#app .daily-intro h3{font:500 26px Chronicle;color:#796083;margin:6px 0}#app .daily-intro p{font:400 11px/1.8 Chronicle;color:#9b87a9}#app .daily-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}#app .daily-card{padding:0;overflow:hidden;border:1px solid #ded4e8;border-radius:5px;background:#fff}#app .daily-art{height:170px;position:relative;overflow:hidden}#app .daily-art>img{width:100%;height:100%;object-fit:cover;filter:saturate(.75)}#app .daily-art:after{background:linear-gradient(transparent,#3629448c)}#app .daily-art h3{position:absolute;left:15px;bottom:15px;color:#fff;font:500 20px Chronicle;text-shadow:0 1px 5px #49355655;z-index:2}#app .daily-count{position:absolute;top:12px;left:12px;background:#faf6fbe6;border:1px solid #fff9;border-radius:3px;color:#927aa3;font:400 11px Chronicle;padding:4px 7px;z-index:2}#app .daily-copy{padding:18px}#app .daily-copy label{font:400 11px Chronicle;color:#9881a9;display:flex;align-items:center;justify-content:space-between}#app .daily-copy select{min-height:32px;font-size:11px;width:100px;color:#9881a9;background:#faf6fc;border:1px solid #dacbe6;border-radius:3px}#app .daily-copy p{font:400 11px/1.8 Chronicle;color:#a28db0}#app .daily-copy p b{font-weight:500;color:#9279a3}#app .daily-reward{border:1px solid #e5d9ef;border-radius:3px;padding:10px;margin:13px 0;color:#a68cb8;background:#f7f0fc}#app .daily-reward small{display:block;font:400 11px Chronicle;color:#b29ac3}#app .daily-reward b{display:block;font:500 11px Chronicle;color:#9c81b0;margin-top:4px}#app .daily-copy .button{font-size:11px}
#app .daily-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#app .daily-grid{grid-template-columns:1fr;gap:18px}#app .daily-art{height:190px}#app .daily-intro h3{font-size:23px}#app .daily-intro p{font-size:11px}#app .daily-copy{padding:18px}#app .daily-copy label{font-size:11px}#app .daily-copy p{font-size:11px}#app .daily-copy .button{font-size:11px}#app .formation-dock{height:70px;gap:7px}#app .leader-card{width:70px;height:70px}#app .companion-slot{height:70px}#app .companion-dock{gap:6px}
#app .skill-rack{display:flex;gap:7px;padding:0;border:0;background:none;align-items:stretch}#app .core-skill{position:relative;flex:1;min-width:0;border:0;border-radius:0;background:none;padding:0;color:#8f739f;box-shadow:none;clip-path:none;display:flex;flex-direction:column;align-items:center;gap:4px}#app .core-skill .skill-frame{width:42px;height:42px;border:1px solid #cfbddf;border-radius:6px;clip-path:none;box-shadow:none;background:#e6d9f0;filter:none;overflow:hidden;position:relative;display:grid;place-items:center}#app .core-skill .skill-frame>*{max-width:100%;max-height:100%}#app .core-skill .skill-frame>.ico{color:#c1a8d1;display:none}#app .core-skill.paused-ultimate .skill-frame>.ico{display:block;width:20px;height:20px}#app .core-skill.paused-ultimate .skill-frame{border-style:dashed;background:#eee5f5}#app .core-skill .skill-label b{font:400 11px/1.3 Chronicle;color:#9377a4;text-shadow:none}#app .core-skill .skill-label small{font:400 11px/1.3 Chronicle;color:#b59dc7}#app .core-skill:disabled{opacity:.5}#app .skill-book{display:flex;flex-direction:column;justify-content:center;align-items:center;width:26px;min-width:26px;border:0;border-radius:0;background:none;color:#ad91bd;box-shadow:none;padding:0;gap:4px}#app .skill-book>.ico{width:16px;height:16px}#app .skill-book>small{font:400 11px Chronicle}
#app .atelier-title{color:#9e82ae;border:0}#app .atelier-title>span{font:400 11px Chronicle;letter-spacing:2px;color:#b49ac6}#app .atelier-title h3{font:500 26px Chronicle;color:#8c6d9e}#app .atelier-title p{font:400 11px Chronicle;color:#a78cb8}#app .atelier-stage{height:400px;border:1px solid #e1d4eb;border-radius:5px;background:linear-gradient(90deg,#f5eff8ad,#fbf6fa85),url('assets/illustrations/hall.webp') 25% center/cover;box-shadow:none}#app .atelier-character{height:94%;width:65%;left:12%;top:0;bottom:auto}#app .atelier-character .character-art{width:100%;height:100%;object-fit:contain;filter:none;max-height:none}#app .atelier-name{color:#ac90bd}#app .atelier-name strong{font:500 26px Chronicle;color:#997aad}#app .atelier-name small{font:400 11px Chronicle;color:#baa1cb}#app .atelier-tag{font:400 11px Chronicle;background:#faf6fbdd;border:1px solid #e1d0ec;color:#b093c3;border-radius:3px}#app .atelier-orbit,#app .atelier-stars{display:none}#app .atelier-socket{border:1px solid #e1d1ed;border-radius:5px;background:#fbf7fcbd;color:#b49ac5;box-shadow:none}#app .atelier-socket small,#app .atelier-socket b{font:400 11px Chronicle;color:#b49ac5}#app .wardrobe-heading{color:#a58bb6}#app .wardrobe-heading b{font:500 17px Chronicle;color:#9678a8}#app .wardrobe-heading span{font:400 11px Chronicle;color:#b59dc7}#app .wardrobe-collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#app .style-card{background:#fff;border:1px solid #e2d3ed;border-radius:5px;box-shadow:none;padding:15px;color:#ac90bd}#app .style-card h3{font:500 15px Chronicle;color:#9c7aaf}#app .style-card p{font:400 11px/1.8 Chronicle;color:#b59bc6}#app .style-art{background:#f1e8f8;border:1px solid #e2d2ed;border-radius:4px}#app .style-art small,#app .style-ownership{font:400 11px Chronicle;color:#b49ac5}#app .style-copy{color:#ad90bf}
#app .skill-rack{gap:5px}#app .core-skill .skill-frame{width:39px;height:39px}#app .core-skill .skill-label b{font-size:11px}#app .core-skill .skill-label small{font-size:11px}#app .atelier-stage{height:330px}#app .wardrobe-collection{grid-template-columns:1fr;gap:12px}
/* Retire inherited display faces and decorative glow from the former UI. */
#app .world-nav :is(button,.ico,.ico path,.nav-glyph){filter:none;box-shadow:none;color:inherit}#app .world-nav button{color:#8e879e}#app .world-nav button.active{color:#6f638f}#app .world-nav .ico path{fill:none;stroke:currentColor;stroke-width:1.6}#app .world-nav button:after{display:none}#app .world-nav button:before{box-shadow:none}#app .growth-tabs button{outline:0;box-shadow:none}#app .hero-nameplate{right:auto;width:auto;min-width:115px;max-width:75%;bottom:24px;left:20px;z-index:3}#app .character-profile:after{display:none}#app .lobby-speech{right:auto;width:auto;max-width:50%;min-width:0}#app .lobby-speech:before,#app .lobby-speech:after,#app .summon-banner:after,#app .summon-banner:before{display:none}#app .lobby-character-tag{max-width:180px}#app .player-hud .world-wallet>button{background:none;box-shadow:none;clip-path:none;border:0;border-left:1px solid #e0dce9;border-radius:0}#app .player-hud .world-wallet>button:before{display:none}#app .player-hud .world-wallet>button:after{content:'+';background:none;border:0;box-shadow:none;font:400 13px Chronicle!important;color:#aaa1ba;width:auto;height:auto;position:absolute;inset:12px 0 auto auto}#app .player-hud :is(.player-info,.player-info b,.player-info em){text-shadow:none;filter:none}#app .player-hud .world-wallet>button :is(span,.ico){filter:none;box-shadow:none}
#app .paper-character{width:100%;height:100%;min-height:360px;overflow:visible}#app .paper-character>div{position:absolute;inset:15px -40px 35px;width:auto;height:auto;display:block;max-width:none;max-height:none}#app .paper-character>div>.character-art{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-width:none;max-height:none;object-fit:contain;transform:none;margin:0}
#app .lobby-speech{max-width:85%}#app .player-hud .world-wallet>button:after{display:none}#app .hero-nameplate{bottom:20px;left:15px;min-width:100px}#app .paper-character{min-height:360px}#app .paper-character>div{inset:25px -36px 35px}
#app .bottom-drawer.growth-popup.panel-lobby>header{display:none}#app .player-hud .world-wallet{width:auto;max-width:none;flex:0 1 600px;grid-template-columns:none}#app .player-hud .world-wallet>button{width:auto;min-width:0;max-width:none;flex:1}#app .world-wallet .wallet-full{display:block;max-width:none;width:auto;overflow:visible;text-overflow:clip;white-space:nowrap}#app .world-wallet .wallet-short{display:none}#app .player-info>em{background:none;border:0;border-radius:0;clip-path:none;width:auto;max-width:none;padding:0;box-shadow:none;color:#9d8559}#app .paperdoll{height:420px;min-height:420px;box-sizing:border-box}#app .paper-character{min-height:0;height:100%;width:100%}#app .paper-character>div{position:absolute;top:14px;left:50%;right:auto;bottom:auto;width:calc(100% + 65px);height:calc(100% - 86px);min-height:0;min-width:0;max-width:none;max-height:none;aspect-ratio:auto;transform:translateX(-50%);margin:0}#app .paper-character>div>.character-art{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-width:none;max-height:none;aspect-ratio:auto;transform:none;object-fit:contain;object-position:center;margin:0}

#app .player-hud .world-wallet{flex:1;max-width:none}#app .paperdoll{height:390px;min-height:390px}#app .paper-character{min-height:0}#app .paper-character>div{top:10px;height:calc(100% - 80px)}
#app .player-hud .world-wallet .wallet-full{display:none}#app .player-hud .world-wallet .wallet-short{display:block;font:500 11px Chronicle!important;white-space:nowrap;overflow:visible;text-overflow:clip;max-width:none}#app .player-hud .world-wallet{width:auto;min-width:0;flex:1}#app .player-hud .world-wallet>button{flex:1;max-width:none;min-width:0;overflow:visible}
body.game-shell{margin:0;padding:0;min-width:0}
/* Explicit layout for the new skill tree and responsive lobby. */
#app .skill-tree{display:flex;align-items:flex-start;justify-content:space-around;gap:16px;padding:20px 0 26px}#app .skill-node{flex:0 0 72px;display:flex;flex-direction:column;align-items:center;min-width:0;overflow:visible;position:relative}#app .skill-node>span{display:grid;place-items:center;position:relative;flex:none;width:64px;height:64px;overflow:hidden;border-radius:8px;box-sizing:border-box}#app .skill-node>span :is(.kit-skill-icon,svg,.painted-icon){display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;border-radius:6px;margin:0}#app .skill-node>span>.ico{width:25px;height:25px}#app .skill-node>span>i{display:none}#app .skill-node b{display:block;margin-top:10px;font:500 11px Chronicle!important;color:#8d729e}#app .skill-node small{display:block;margin-top:3px;font:400 11px Chronicle!important;color:#a98fbb}#app .growth-skill.skill-detail-panel{display:grid;grid-template-columns:70px minmax(0,1fr);gap:14px;align-items:center}#app .skill-detail-art{width:64px;height:64px;position:relative;padding:0;background:#eee4f7;border:1px solid #ddcbe9;border-radius:7px;box-shadow:none}#app .skill-detail-art :is(.kit-skill-icon,svg,.painted-icon){width:100%;height:100%;max-width:100%;max-height:100%;display:block;margin:0;border-radius:6px}#app .skill-detail-art>span{position:absolute;bottom:-14px;left:0;right:0;font:400 11px Chronicle!important;color:#af95c1;text-align:center}#app .skill-copy{display:block;min-width:0;padding:0}#app .skill-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}#app .skill-card-heading h3{margin:0;font-size:20px}#app .skill-copy>small{display:block;margin:6px 0}#app .skill-copy progress{width:100%;height:4px;margin:5px 0}#app .skill-level-caption{display:block;font-size:11px}#app .rpg-skill-description{grid-column:1/-1;margin:14px 0 0;font-size:11px;line-height:1.9}#app .skill-values{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:3px;font-size:11px}#app .skill-values span{display:flex;gap:8px;align-items:baseline}#app .skill-values b{font-size:11px}#app .skill-upgrade-row{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px}#app .growth-price{display:flex;align-items:center;gap:6px;color:#a286b5}#app .growth-price .ico{width:16px;height:16px}#app .growth-price b{font:500 19px Chronicle!important}#app .skill-upgrade-row .button{min-width:155px}#app .innate-skills{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}
#app .lobby-landscape{inset:0}#app .bottom-drawer.panel-lobby .drawer-scroll{padding:0;display:block;overflow:hidden;background:#e2e8f1}#app .chronicle-lobby{min-height:0;height:100%;width:100%;container-type:size}#app .world-tools{display:flex;gap:8px;margin:-8px 0 22px}#app .world-tools>.button{flex:1;min-height:36px;font-size:11px;padding:8px}#app .world-atlas{margin-top:0}#app .daily-count{right:auto;bottom:auto;max-width:max-content}#app .rpg-dialog header{position:relative}#app .rpg-dialog header>.icon-button{position:absolute;right:16px;top:16px;width:29px;height:29px;min-height:29px;padding:6px;display:grid;place-items:center}#app .rpg-dialog header>.icon-button .ico{width:16px;height:16px}#app .chest-market>header{padding-right:55px}#app .gear-detail>header{display:flex;align-items:center;gap:12px;padding-right:55px}#app .gear-detail>header>div{flex:1;min-width:0}#app :is(.companion-slot,.leader-card):before,#app :is(.companion-slot,.leader-card):after{display:none}#app .companion-slot.empty{background:#eee7f5!important;border:1px dashed #c9b3dc;clip-path:none;box-shadow:none}#app .leader-card{background:linear-gradient(145deg,#e8dff0,#faf7fc)}
#app .skill-tree{gap:8px;padding:18px 0 24px}#app .skill-node{flex-basis:60px}#app .skill-node>span{width:52px;height:52px}#app .skill-node b{font-size:11px!important}#app .skill-node small{font-size:11px!important}#app .growth-skill.skill-detail-panel{grid-template-columns:58px minmax(0,1fr);padding:17px;gap:12px}#app .skill-detail-art{width:52px;height:52px}#app .skill-card-heading h3{font-size:17px}#app .skill-card-heading em{font-size:11px;white-space:nowrap}#app .rpg-skill-description{font-size:11px;margin-top:10px}#app .skill-values{padding:10px;gap:7px;font-size:11px}#app .skill-values b{font-size:11px}#app .skill-upgrade-row .button{min-width:130px;font-size:11px}#app .innate-skills{grid-template-columns:1fr;gap:15px;margin-top:22px}#app .world-tools>.button{font-size:11px;padding:8px 4px}#app .lobby-event>span{width:78%}#app .chronicle-lobby{min-height:0}
@media(max-height:700px){#app .lobby-topline{top:15px}#app .lobby-greeting{top:68px}#app .lobby-greeting h3{font-size:23px;line-height:1.35;margin:7px 0}#app .lobby-greeting>small{font-size:11px}#app .lobby-greeting p{font-size:11px}#app .lobby-characters{inset:118px 15% 4px -16%}#app .lobby-shortcuts{top:165px;gap:5px;left:10px}#app .lobby-shortcuts .ico{width:17px;height:17px;padding:5px}#app .lobby-shortcuts span{font-size:11px}#app .lobby-destinations{top:42%;width:46%;right:4%;gap:7px}#app .lobby-adventure{min-height:88px;padding:11px;gap:4px}#app .lobby-adventure>strong{font-size:20px}#app .lobby-adventure>em{padding-top:4px;margin-top:2px;font-size:11px}#app .lobby-adventure>small{font-size:11px}#app .lobby-adventure>span{font-size:11px}#app .lobby-world{padding:9px;gap:6px;min-height:48px}#app .lobby-world b{font-size:12px}#app .lobby-world small{font-size:11px}#app .lobby-world>.ico{width:16px;height:16px}#app .lobby-event{min-height:60px;padding:10px}#app .lobby-event>span{gap:4px}#app .lobby-event b{font-size:11px}#app .lobby-event small{font-size:11px}#app .lobby-event em{font-size:11px}#app .lobby-event>.character-art{width:90px;height:110px;bottom:-20px;right:-25px}#app .lobby-stage-info{font-size:11px}#app .lobby-stage-info b{font-size:11px}#app .lobby-speech{display:none}#app .lobby-caption{bottom:9px;font-size:11px}#app .lobby-character-tag{bottom:16%;left:24%;padding:5px 9px}#app .lobby-character-tag small{font-size:11px}#app .lobby-character-tag b{font-size:12px}}
.prologue-shell,.prologue-shell *{font-family:Chronicle,system-ui,sans-serif}.prologue-shell{background:#f4f0f8;color:#8c759d}.prologue-header{background:#faf7fc;border-color:#e2d5ec}.prologue-header h1{font-weight:500;color:#8f6d9f}.prologue-header>div>span{color:#ac92bd;font-weight:400}.prologue-skip{background:#f1e8f8;color:#a184b2;border:1px solid #deceea!important;border-radius:4px}.prologue-scroll{background:#f5f1f9}.prologue-lead{color:#aa8fbc}.prologue-lead p{color:#9172a2}.prologue-book{background:#faf7fc}.prologue-panel h2{color:#987baa;font-weight:500}.prologue-panel h2 b{background:#eee3f6;color:#b091c4;clip-path:none;border:1px solid #ddc8e9;border-radius:3px;font-weight:500}.prologue-frame{border-radius:4px}.prologue-footer{background:#faf7fc;border-color:#e2d1ed;color:#aa8cbc}.prologue-next{border:1px solid #9278aa!important;background:#9278aa!important;color:#fff!important;border-radius:4px}.prologue-position{color:#af94c0}.prologue-dots button{background:#daccE5}.prologue-dots button[aria-current=step]{background:#a68bbb}.prologue-end{color:#b397c5}.prologue-shell :focus-visible{outline:2px solid #b192c9;outline-offset:3px}
/* A single box model keeps the HUD, tools and canvas deck on the same grid. */
#app *,#app *:before,#app *:after{box-sizing:border-box}
#app .play-screen>.play-tools{width:32px;max-width:32px;padding:0;align-items:stretch}
#app .enhance-badge{height:16px;max-height:16px;min-height:0;display:inline-flex;align-items:center;justify-content:center;padding:0 3px;line-height:1!important;white-space:nowrap}
/* Account and hero creation forms remain reachable on short screens and with a keyboard open. */
#app.phone:has(>.entry){overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d1c5dd transparent}

/* Keep compact navigation labels legible on narrow phones. */
#app .world-nav button>span{font-size:11px;line-height:1.3}
