:root{--navy:#163c60;--blue:#347cab;--gold:#f6ba3f;--ink:#303a43;--muted:#78838b;--line:#d8dfe4;--bg:#f3f4f5}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:16px}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Microsoft YaHei",Meiryo,sans-serif;font-size:14px;line-height:1.75;color:var(--ink);background:var(--bg)}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline;color:#175781}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,summary{cursor:pointer}button{background:var(--blue);color:#fff;border:0;padding:9px 16px;min-height:42px;border-radius:3px}input,select,textarea{padding:9px 11px;border:1px solid #bac8d1;border-radius:3px;min-height:42px;min-width:0;background:white;color:var(--ink)}textarea{resize:vertical;width:100%}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible,.tablewrap:focus-visible{outline:3px solid #ecad24;outline-offset:2px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;top:-100px;z-index:90;background:#fff;padding:10px}.skip:focus{top:0}.header{background:#fff;border-top:3px solid var(--navy)}.header-inner{max-width:1180px;margin:auto;display:flex;align-items:center;gap:28px;min-height:61px;padding:6px 12px}.brand{display:flex;align-items:center;gap:8px;color:var(--navy);line-height:1.15}.brand img{width:48px;height:36px;object-fit:contain}.brand>span{font-size:16px;font-weight:900;letter-spacing:.04em}.brand small{display:block;font-size:10px;font-weight:500;letter-spacing:.09em;margin-top:4px}.header-search{display:flex;margin-left:auto;width:330px}.header-search input{width:100%;border-radius:3px 0 0 3px;min-height:36px;font-size:12px;background:#f4f7f9}.header-search button{min-height:36px;font-size:12px;white-space:nowrap;border-radius:0 3px 3px 0}.language-menu{position:relative;z-index:30;min-width:124px}.language-menu summary{display:flex;align-items:center;gap:7px;list-style:none;color:var(--navy);padding:8px 0;font-size:12px}.language-menu summary::-webkit-details-marker{display:none}.language-options{position:absolute;right:0;top:100%;width:245px;max-height:400px;overflow:auto;background:white;border:1px solid var(--line);box-shadow:0 8px 25px #102b4929;padding:10px}.language-options>strong{display:block;padding:5px 10px;border-bottom:1px solid var(--line)}.language-options a,.language-options button{display:flex;justify-content:space-between;width:100%;background:white;color:var(--ink);text-align:left;padding:8px 10px;font-size:13px;min-height:38px}.language-options button:hover{background:#eef5fa}.language-options small{color:var(--muted);font-size:10px}.language-options p{font-size:11px;color:var(--muted);padding:0 10px}.game-header{background:linear-gradient(0deg,#102943 0%,#10294388 26%,#12314c22 70%),url('station.webp') center 46%/cover}.game-header-inner{max-width:1180px;margin:auto;padding:20px 12px;display:flex;gap:50px;align-items:center;min-height:266px}.game-identity{flex:1;color:white;display:flex;flex-direction:column;align-items:flex-start;text-shadow:0 2px 8px #102943}.game-identity img{width:210px;height:142px;object-fit:contain;filter:drop-shadow(0 3px 8px #10294360)}.game-identity strong{font-size:23px;line-height:1.4;margin-top:8px}.game-identity span{font-size:12px;letter-spacing:.1em}.game-identity:hover{color:white;text-decoration:none}.header-collections{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:490px}.header-box{background:#ffffffed;border:1px solid #ffffff70;box-shadow:0 2px 5px #122b4920;border-radius:4px;overflow:hidden}.header-box h2{font-size:14px;margin:0;background:#173a59;color:white;padding:7px 12px;border-left:4px solid var(--gold)}.header-box a{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px;min-height:39px;padding:8px 12px;border-bottom:1px solid #ccd7df}.header-box small{font-size:10px;color:var(--muted);white-space:nowrap}.top-nav{background:var(--blue);border-bottom:3px solid #91bed5}.top-nav nav{max-width:1180px;margin:auto;display:grid;grid-template-columns:repeat(6,1fr)}.top-nav a{text-align:center;color:white;font-weight:700;font-size:13px;padding:11px 5px;border-left:1px solid #ffffff33}.top-nav a:last-child{border-right:1px solid #ffffff33}.top-nav a:hover,.top-nav a[aria-current]{background:#236892;text-decoration:none}.layout{max-width:1180px;margin:24px auto 50px;padding:0 12px;display:grid;grid-template-columns:185px minmax(0,1fr) 236px;gap:16px;align-items:start}main{min-width:0;background:white;padding:18px;border:1px solid #edf0f2}h1{font-size:22px;margin:0 0 7px;line-height:1.5;color:#303941}h2{font-size:18px}h3{font-size:15px}main>.eyebrow{display:none}.eyebrow{font-size:10px;letter-spacing:.12em;color:var(--muted)}.meta,.breadcrumbs{font-size:11px;color:var(--muted)}.breadcrumbs{margin-bottom:14px}.sidebar,.rightbar{min-width:0}.side-box{border:1px solid var(--line);border-top:4px solid #234f6a;background:#fff;margin-bottom:16px}.side-box h2{background:#edf0f3;color:#343e47;font-size:13px;margin:0;padding:8px 10px}.side-box nav a,.side-link{display:block;padding:8px 10px;border-top:1px solid #edf0f2;font-size:12px}.side-box nav a{display:flex;justify-content:space-between;gap:5px}.side-box small{color:#89949c;font-size:10px;white-space:nowrap}.rank-link{display:flex;align-items:center;gap:9px;padding:10px;font-size:12px;border-top:1px solid #edf0f2}.list-number{display:inline-grid;place-items:center;width:23px;height:25px;background:#66a3c1;color:white;flex-shrink:0}.rank-link:nth-of-type(1) .list-number{background:#d9a345}.side-hero{display:flex;align-items:center;gap:10px;padding:7px 10px;border-top:1px solid #edf0f2;font-size:12px}.side-hero img{background:#e2eaf0;border:1px solid #c8d4de;object-fit:cover}.side-hero small{display:block}.side-copy{font-size:12px;padding:3px 11px;line-height:1.9;color:#6b7882}.official-card{display:block;border:1px solid var(--line);margin-bottom:16px;background:#173b5c;color:white}.official-card img{width:100%;height:130px;object-fit:cover;display:block}.official-card span{display:block;font-size:12px;padding:9px;text-align:center}.official-card:hover{color:white}.portal-banner{height:144px;position:relative;overflow:hidden;background:linear-gradient(90deg,#153e64 10%,#1d568199),url('station.webp') center/cover;color:#fff;margin:16px 0 12px;border-bottom:4px solid var(--gold)}.portal-banner>div{position:relative;z-index:1;padding:27px 20px}.portal-banner span{font-size:11px;letter-spacing:.14em;color:#f6c85f}.portal-banner strong{display:block;font-size:21px;max-width:72%;line-height:1.5;margin:3px 0}.portal-banner small{font-size:11px;letter-spacing:.13em}.portal-banner>img{position:absolute;right:4px;top:-9px;width:139px;max-width:31%}.recommend{border:1px solid #d3e3ed;background:#f6fbff;font-size:12px;line-height:2}.recommend>strong{display:block;background:#deedf5;padding:5px 10px;color:#2d5b77}.recommend>div{padding:8px 10px}.home-intro{font-size:13px;line-height:1.85}.toc-title{font-weight:700;text-align:center;font-size:13px;background:#e6eef3;border:1px solid var(--line);padding:7px}.portal-toc{display:grid;grid-template-columns:repeat(4,1fr);border-left:1px solid var(--line)}.portal-toc a{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:9px 4px;font-size:12px;font-weight:700}.portal-toc span{display:grid;place-items:center;font-size:22px;width:35px;height:35px;color:#a87923;background:#fbf1d8;border:1px solid #e8d6a6;border-radius:6px;margin-bottom:4px}.portal-toc small{font-size:9px;font-weight:400;color:#87949f}.section-heading{background:var(--navy);color:white;display:flex;justify-content:space-between;align-items:center;border-left:5px solid #68a9ce;margin:27px 0 12px;padding:8px 11px;gap:8px}.section-heading .eyebrow:empty{display:none}.section-heading h2{font-size:16px;line-height:1.5;margin:0}.section-heading>a{font-size:11px;color:#e3f2ff;white-space:nowrap}.chapter-art{position:relative;overflow:hidden;background:linear-gradient(110deg,#406684,#a9c5d6);height:99px;color:white;padding:17px 22px;margin-bottom:10px}.chapter-art strong{display:block;font-size:26px;text-shadow:0 2px 2px #19375488}.chapter-art span{font-size:11px}.chapter-art img{position:absolute;right:18px;top:-7px;width:128px}.group-title{font-size:13px!important;text-align:center;padding:5px;margin:0!important;border:1px solid var(--line)}.group-title.ssr{background:#f4dfaf;color:#74561d}.group-title.sr{background:#e7def2;color:#65537f}.group-title.r{background:#dceaf2;color:#3d6883}.hero-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-left:1px solid var(--line);margin-bottom:13px}.character{position:relative;display:flex;flex-direction:column;align-items:center;background:white;border:1px solid var(--line);border-top:0;border-left:0;padding:10px 5px 7px;text-align:center}.character:hover{background:#f2f8fc}.character>img{width:78px;height:78px;object-fit:cover;border-radius:4px;border:2px solid #c9d5df;background:#e6edf3;margin-bottom:5px}.character[data-rarity="SSR"]>img{border-color:#dca84d;background:#fcf1d8}.character[data-rarity="SR"]>img{border-color:#a590c2;background:#f1eafa}.rarity{position:absolute;top:7px;left:7px;font-size:9px;padding:0 4px;background:#e8c16f;color:#584314;font-weight:800;z-index:1;border-radius:2px}.rarity.sr{background:#957ab4;color:#fff}.rarity.r{background:#548bab;color:#fff}.character-label{line-height:1.5;width:100%;overflow-wrap:anywhere}.character-label strong{font-size:12px}.character-label small{display:block;font-size:9px;color:#7a8791}.building-art{height:110px;background:linear-gradient(90deg,#153957bd,#15395700),url('station.webp') center 49%/cover;display:flex;align-items:center;padding:20px;color:white;margin-bottom:10px}.building-art strong{font-size:24px;text-shadow:0 2px 3px #173b5c}.building-index,.index-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line);margin-bottom:12px}.building-index{grid-template-columns:repeat(3,minmax(0,1fr))}.building-index a,.index-grid a{font-size:12px;text-align:center;padding:10px 6px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-height:43px}.building-index small,.index-grid small{display:block;font-size:10px;color:#87929a}.index-grid a:hover,.building-index a:hover{background:#f1f7fa}.tablewrap{overflow:auto;width:100%;border:1px solid var(--line);margin:12px 0;background:#fff}table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}th,td{border:1px solid var(--line);padding:10px 9px;text-align:left;line-height:1.65}th{background:#e5edf2;white-space:nowrap;color:#3a5262}td a{font-weight:600}caption{text-align:left;font-size:12px;background:#f4f6f8;padding:7px 10px;color:#5a6d79}tbody tr:nth-child(even){background:#f8fafb}.building-table{min-width:560px}.building-table th:first-child,.building-table td:first-child{position:sticky;left:0;background:#f1f5f7}.lead{font-size:14px;color:#687781}.filter-panel{background:#edf3f7;border:1px solid var(--line);padding:12px;display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:18px 0}.filter-panel>div{flex:1;min-width:110px}.filter-panel label{font-size:11px;display:block;margin-bottom:4px;font-weight:700}.filter-panel input,.filter-panel select{font-size:12px;width:100%;max-width:100%}.filter-panel p{font-size:12px;margin:5px 0}.filter-panel button{font-size:11px;min-height:36px}.character-intro{display:flex;align-items:center;gap:20px}.portrait{width:145px;flex-shrink:0;background:#e4ecf3;position:relative}.portrait img{display:block;width:100%}.article h2,.data-detail h2{border-left:4px solid var(--blue);background:#eaf1f5;color:#324f63;font-size:16px;padding:7px 10px;margin:25px 0 12px}.article h1{font-size:23px}.article p{line-height:1.95}.article a,.text-link{color:var(--blue)}.tag{background:#eaf1f5;padding:3px 8px;font-size:11px}.english-name{font-size:12px;color:#7b8992}.detail-nav{display:flex;gap:17px;border-bottom:1px solid var(--line);padding:12px 0;margin-top:10px;font-size:12px}.data-note,.source{background:#f1f5f8;border-left:3px solid #8eb2c9;padding:12px;font-size:12px;color:#637581;margin:17px 0}.source p{margin:6px 0}.section-note{font-size:11px;color:#7a8790}.bio{border-top:1px solid var(--line);padding:12px 0;font-size:12px}.related{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}.related a{background:white;padding:10px;font-size:12px;text-align:center}.data-summary{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);background:#eff5f9;margin:20px 0}.data-summary>div{text-align:center;padding:12px 4px;border-right:1px solid var(--line)}.data-summary strong{display:block;font-size:25px;color:var(--navy)}.data-summary span{font-size:11px}.search-form{padding:14px;background:#edf3f7}.search-form label{display:block;margin-bottom:7px}.search-form>div{display:flex;gap:8px}.search-form input{flex:1;width:100px}.result{display:block;padding:12px;border-bottom:1px solid var(--line)}.result h2{font-size:15px;margin:0}.result p{font-size:12px;margin:5px 0}.blank-content{border:1px dashed #c9d7e0;background:#f9fbfc;min-height:225px;margin:22px 0;text-align:center;padding:35px 15px;color:#6b7d89}.blank-symbol{font-size:35px;color:#94acbc}.blank-content h2{font-size:18px;margin:5px}.blank-content p{font-size:12px}.empty{padding:30px;text-align:center}.gold-button{display:inline-block;background:var(--gold);color:#193951;padding:8px 14px}.slot-unlocked .slot-status{color:#297351;font-weight:700}footer{max-width:1156px;margin:auto;border-top:2px solid #c7d4dc;padding:24px 0 40px;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#849099}footer strong{font-size:13px;color:#486373}footer p{margin:5px 0}.mobile-nav{display:none}
@media(min-width:1450px){.layout,.header-inner,.game-header-inner,.top-nav nav{max-width:1240px}.layout{grid-template-columns:195px minmax(0,1fr) 250px}}
@media(max-width:1050px){.layout{grid-template-columns:165px minmax(0,1fr);max-width:900px}.rightbar{display:none}.game-header-inner{gap:20px}.header-collections{width:430px}.game-identity strong{font-size:19px}.game-header-inner{min-height:245px}.header-inner{gap:16px}.header-search{width:280px}footer{margin:0 16px}}
@media(max-width:700px){body{font-size:14px}.header-inner{padding:7px 12px;gap:10px;flex-wrap:wrap}.brand>span{font-size:14px}.brand img{width:38px;height:30px}.header-search{order:3;width:100%;margin:0}.header-search input{font-size:16px;min-height:40px}.header-search button{min-height:40px}.language-menu{margin-left:auto;min-width:0}.language-menu summary{font-size:11px}.language-menu summary>span:first-of-type{display:none}.game-header-inner{min-height:173px;padding:13px 16px}.game-header{background-position:center 48%}.game-identity img{width:140px;height:92px}.game-identity strong{font-size:18px}.game-identity span{font-size:10px}.header-collections{display:none}.top-nav nav{grid-template-columns:repeat(3,1fr)}.top-nav a{font-size:12px;padding:9px 3px;border-bottom:1px solid #ffffff22}.layout{display:block;padding:0;margin:10px auto 25px}.sidebar,.rightbar{display:none}main{border:0;padding:14px 12px}h1{font-size:20px}.portal-banner{height:135px;margin-top:12px}.portal-banner>div{padding:25px 15px}.portal-banner strong{font-size:19px;max-width:70%}.portal-banner>img{width:125px;max-width:32%}.portal-toc a{font-size:11px}.portal-toc span{width:32px;height:32px;font-size:20px}.portal-toc small{font-size:9px}.hero-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.character{padding:8px 3px 6px}.character>img{width:66px;height:auto;aspect-ratio:1}.character-label strong{font-size:11px}.character-label small{font-size:9px}.rarity{left:3px;top:4px;font-size:8px}.section-heading{margin-top:24px}.section-heading h2{font-size:16px}.tablewrap table{font-size:12px}th,td{padding:9px 7px}.filter-panel input,.filter-panel select{font-size:16px}.filter-panel>div{min-width:110px}.portrait{width:120px}.character-intro{gap:15px}.article h1{font-size:22px}.detail-nav{gap:13px;flex-wrap:wrap}.building-index a{font-size:11px}.index-grid a{font-size:12px}.related{grid-template-columns:repeat(2,1fr)}footer{padding:24px 0 90px;display:block}footer small{display:block;margin-top:12px}.mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:3px solid var(--blue);z-index:20;box-shadow:0 -2px 12px #163c6014;padding-bottom:env(safe-area-inset-bottom)}.mobile-nav a{padding:12px 3px;text-align:center;font-size:12px;font-weight:700}.search-form input{font-size:16px}.header-box{box-shadow:none}.language-options{max-height:55vh}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Shared additions for both supported editions. */
body{font-size:16px;line-height:1.8}.layout main{min-width:0}h2{font-size:1.25rem;border-bottom:3px solid #2473a5;padding-bottom:6px;margin-top:26px}h3{font-size:1.1rem}.hero-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.character-label strong{font-size:14px}.character-label small{font-size:12px}.rarity{font-size:12px}.top-nav a,.index-grid a,.building-index a,.sidebar nav a,.rightbar a,.detail-nav,.mobile-nav a,.filter-panel label,.filter-panel p,.filter-panel button,.language-menu summary,.language-options a,.language-options strong{font-size:14px}.lead,.home-intro,.source,.data-note,.side-copy,.recommend{font-size:14px}.section-note,.tag,.meta,.breadcrumbs,footer{font-size:13px}.tablewrap table{font-size:14px}.tablewrap{max-width:100%}th,td{overflow-wrap:break-word}.building-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.building-cards>a{display:flex;flex-direction:column;align-items:center;border:1px solid var(--line);padding:10px;text-align:center;background:#fff}.building-cards>a:hover{background:#f0f7fb}.building-cards img,.building-no-art{width:100%;height:132px;object-fit:contain;background:#edf3f7;margin-bottom:9px}.building-no-art{display:grid;place-items:center;color:#526877;font-size:13px}.building-cards strong{font-size:14px;overflow-wrap:anywhere}.building-cards small{font-size:12px;color:#637581}.building-figure{margin:18px 0;text-align:center;background:#edf3f7;padding:16px}.building-figure img{width:auto;max-width:100%;max-height:360px;height:auto;object-fit:contain}.building-figure.client-capture img{max-height:680px}.building-figure figcaption{font-size:13px;color:#566c7c}.skill-heading{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0;margin-top:24px}.skill-heading img{flex-shrink:0;object-fit:contain;border-radius:5px;background:#e9f0f5}.skill-heading small{display:block;font-size:13px;font-weight:400;color:#5d7281}.client-text,section>details{border:1px solid var(--line);background:#f7fafc;padding:10px;margin:12px 0}summary{cursor:pointer;font-size:14px;font-weight:600}.detail-nav{flex-wrap:wrap}.rightbar .side-link{display:block;padding:10px}.result p{font-size:14px}.result h2{font-size:17px;border:0}.header-search input{min-width:0}.tag{display:inline-block}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
@media(max-width:700px){body{font-size:16px}.hero-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.character-label strong{font-size:14px}.character-label small{font-size:12px}.character>img{width:78px;max-width:100%}.rarity{font-size:12px}.building-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.building-cards img,.building-no-art{height:122px}.top-nav a,.index-grid a,.mobile-nav a,.language-menu summary{font-size:14px}.tablewrap table{font-size:14px}.character-intro{flex-wrap:wrap}.data-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-panel>div{min-width:125px}.header-search button{font-size:14px}.building-figure{padding:10px}footer{font-size:13px}.portal-toc{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-toc a{font-size:14px}.portal-toc small{font-size:12px}.section-heading h2{font-size:18px}.game-identity span{font-size:12px}}

.language-options .language-pending{align-items:center;gap:12px;font-size:14px;cursor:not-allowed;color:#65727e;opacity:1}.language-options .language-pending:hover{background:#fff}.language-options .language-pending small{font-size:12px;color:#6b7882;white-space:nowrap}.language-options{z-index:50;max-width:calc(100vw - 24px)}

/* Shared homepage: official art, store badges, communities and category index. */
.official-banner{position:relative;margin:18px 0 0;overflow:hidden;border-bottom:4px solid var(--gold);background:#173550}
.official-banner>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.home-connect{display:flex;flex-wrap:wrap;align-items:center;gap:18px 24px;padding:16px;margin:0 0 24px;background:#20233d;color:#fff;border:1px solid #424c70}
.home-connect h2{border:0;padding:0;margin:0 0 8px;color:#fff;font-size:14px;line-height:1.5}
.download-group{flex:1 1 280px;min-width:0}.social-group{flex:0 0 auto}
.download-badges{display:flex;align-items:center;gap:10px;max-width:360px}
.download-badge{display:block;flex:1 1 0;min-width:0;border:0;background:transparent;padding:0;border-radius:0}
.download-badge img{display:block;width:100%;height:auto}
.home-connect button:disabled{opacity:1;cursor:default;color:inherit}
.social-icons{display:flex;align-items:center;gap:6px}
.social-icon{display:grid;place-items:center;width:46px;height:46px;padding:0;border:0;background:transparent;border-radius:0}
.social-icon img{display:block;width:30px;height:30px;object-fit:contain}
.youtube-mark{display:block;width:46px;height:38px;background-image:url('official-social-panel.png');background-size:413px 132px;background-position:-209px -72px}
.toc-title{font-size:16px;padding:10px;margin:20px 0 0;border:1px solid var(--line);background:#e8eff4;text-align:center;color:#324f63}
.portal-toc a{min-height:106px;font-size:14px;padding:12px 5px}.portal-toc small{font-size:12px}.portal-toc span{width:38px;height:38px;font-size:24px}
html[lang] .brand img{width:52px;height:52px}html[lang="ja"] .brand small{font-size:13px;letter-spacing:.04em}
html[lang] .game-identity img{width:158px;height:160px}
@media(max-width:700px){.home-connect{padding:14px;gap:16px;margin-bottom:20px}.download-badges{max-width:360px}.social-icons{gap:14px}.social-icon{width:44px;height:44px}.portal-toc a{min-height:106px}html[lang] .brand img{width:42px;height:42px}html[lang] .game-identity img{width:116px;height:118px}html[lang="ja"] .game-identity strong{font-size:18px}.official-banner{margin-top:14px}}
/* Building artwork uses the same contained frame across both editions. */
.building-cards>a{padding:12px;gap:0;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.building-cards>a:hover,.building-cards>a:focus-visible{border-color:#79a6c0;box-shadow:0 3px 12px #123f5b12}
.building-cards img,.building-no-art{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#f4f7fa;border-radius:3px;margin:0 0 12px}
.building-cards strong{font-size:15px;line-height:1.5}.building-cards small{margin-top:5px}
.building-figure{display:flex;align-items:center;justify-content:center;width:min(100%,480px);margin:20px auto 24px;padding:0;background:#f4f7fa;border:1px solid #e0e7ed;border-radius:5px;overflow:hidden;line-height:0}
.building-figure img{display:block;width:100%;height:auto;aspect-ratio:4/3;max-height:none;object-fit:contain}
.building-figure.compact{width:min(100%,300px)}
@media(max-width:700px){.building-cards>a{padding:8px}.building-cards img,.building-no-art{height:auto}.building-cards strong{font-size:14px}.building-cards small{font-size:12px}.building-figure{margin:16px auto 20px}}
/* Shared building surfaces preserve the original artwork inside a uniform frame. */
.building-preview{display:block;width:100%;aspect-ratio:4/3;background:#f4f7fa;border-radius:4px;overflow:hidden;margin:0 0 12px;line-height:0}
.building-cards .building-preview img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:transparent;margin:0;border-radius:0}
.resource-stack{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:max-content}
.resource-amount{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:500;line-height:1.6}
.resource-icon{display:block;width:26px;height:auto;flex:none}
.resource-other{display:block;max-width:210px;white-space:normal}
.building-art-mailbox{clip-path:polygon(39.875% 36.5%, 41% 35.1667%, 43% 33%, 45.375% 30.3333%, 47.875% 27.5%, 49.875% 25.3333%, 51.375% 24.5%, 52.75% 24.5%, 54.875% 25%, 56.625% 26.1667%, 58.375% 28.1667%, 60% 30.8333%, 61.5% 34.1667%, 62.625% 37.5%, 63.25% 39.1667%, 64% 38.8333%, 64.875% 39.8333%, 65% 40.8333%, 63.75% 42.3333%, 62.5% 43.8333%, 62.375% 62.6667%, 65.375% 64.6667%, 66.5% 66.1667%, 66.75% 67.3333%, 66.375% 68.5%, 56.75% 79.3333%, 55.625% 80.1667%, 54.625% 80.1667%, 53.625% 79.6667%, 38.625% 67.8333%, 38% 66.8333%, 38% 65.6667%, 38.625% 64.5%, 41.125% 62.5%, 42.125% 62.1667%, 42.125% 38.6667%, 41.5% 39.1667%, 39.875% 38%)}
.building-art-wall{clip-path:polygon(22.0833% 23.8889%, 23.9583% 21.9444%, 24.1667% 18.3333%, 25.2083% 15.2778%, 27.5% 12.5%, 30% 11.3889%, 31.875% 11.6667%, 33.75% 12.7778%, 34.5833% 14.7222%, 35% 18.3333%, 37.5% 21.6667%, 37.9167% 27.7778%, 50.4167% 12.2222%, 52.2917% 11.1111%, 53.125% 11.9444%, 52.9167% 15.8333%, 52.2917% 16.6667%, 52.5% 20.5556%, 37.7083% 34.1667%, 63.125% 52.2222%, 63.9583% 50.2778%, 65.625% 47.7778%, 68.125% 45.2778%, 70.4167% 44.1667%, 72.2917% 44.4444%, 73.75% 45.8333%, 74.5833% 48.3333%, 74.5833% 51.1111%, 76.875% 52.7778%, 77.2917% 59.1667%, 79.7917% 56.1111%, 79.7917% 61.6667%, 77.0833% 65%, 76.6667% 75.5556%, 79.5833% 78.3333%, 79.7917% 88.6111%, 72.9167% 83.8889%, 71.4583% 85.5556%, 68.9583% 87.5%, 66.25% 87.5%, 58.75% 82.2222%, 58.75% 77.5%, 30.4167% 57.2222%, 29.1667% 56.3889%, 27.9167% 55.8333%, 26.0417% 54.1667%, 21.0417% 50.5556%, 20.4167% 49.1667%, 20.4167% 45.5556%, 20.625% 38.6111%, 20.2083% 36.6667%, 20.2083% 30.2778%, 21.25% 28.8889%, 21.25% 25.2778%)}
.building-art-reception{clip-path:polygon(13.125% 40.8333%, 14% 40.8333%, 22.125% 35.5%, 22.125% 34%, 23.5% 33.3333%, 25.375% 34.5%, 25.375% 36%, 46.375% 15.3333%, 47% 15.1667%, 47.75% 13.3333%, 49.5% 13.3333%, 52% 15.8333%, 52% 20.3333%, 83% 46.3333%, 88.125% 54.3333%, 88.125% 89.1667%, 12.25% 89.1667%, 12.25% 50%)}
.resource-cash{clip-path:polygon(60.34% 8%, 65.52% 8%, 79.31% 16%, 86.21% 22%, 89.66% 32%, 89.66% 62%, 79.31% 68%, 72.41% 74%, 60.34% 80%, 44.83% 92%, 34.48% 90%, 17.24% 80%, 10.34% 72%, 10.34% 54%, 17.24% 44%, 31.03% 40%, 39.66% 28%, 48.28% 24%, 53.45% 16%)}
.resource-ammo{clip-path:polygon(66.67% 7.41%, 83.33% 7.41%, 91.67% 14.81%, 91.67% 33.33%, 87.5% 40.74%, 83.33% 44.44%, 83.33% 55.56%, 75% 62.96%, 50% 85.19%, 37.5% 88.89%, 29.17% 88.89%, 16.67% 81.48%, 8.33% 70.37%, 8.33% 59.26%, 16.67% 48.15%, 37.5% 29.63%, 45.83% 22.22%, 54.17% 18.52%, 58.33% 11.11%)}
.resource-power{clip-path:polygon(33.33% 7.41%, 79.17% 7.41%, 83.33% 11.11%, 83.33% 18.52%, 75% 22.22%, 62.5% 44.44%, 62.5% 48.15%, 75% 48.15%, 79.17% 51.85%, 79.17% 55.56%, 70.83% 62.96%, 20.83% 88.89%, 12.5% 88.89%, 12.5% 81.48%, 25% 62.96%, 12.5% 59.26%, 12.5% 48.15%, 20.83% 33.33%, 29.17% 14.81%, 29.17% 11.11%)}
.resource-gas{clip-path:polygon(21.74% 11.11%, 34.78% 7.41%, 73.91% 7.41%, 82.61% 11.11%, 86.96% 14.81%, 86.96% 81.48%, 82.61% 85.19%, 69.57% 88.89%, 34.78% 88.89%, 21.74% 85.19%, 17.39% 81.48%, 17.39% 14.81%)}
/* Guide catalog and shared sidebar navigation. */
.guide-category-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 24px}
.guide-category-nav a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px;border:1px solid #cbdbe6;background:#edf4f8;text-align:center;font-size:14px;font-weight:600}
.guide-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line);border-bottom:0}
.guide-list a{display:flex;align-items:center;min-height:54px;padding:12px 14px;border-bottom:1px solid var(--line);font-size:16px;line-height:1.65}
.guide-list a:nth-child(odd){border-right:1px solid var(--line)}
.guide-list a:hover,.guide-list a:focus-visible{background:#edf5fa}
.guide-side nav a{display:block;padding:9px 11px;line-height:1.65;border-bottom:1px solid #e7edf1;overflow-wrap:anywhere}
.guide-side nav a:last-child{border-bottom:0}
.side-data>summary{padding:10px;font-size:14px;color:#314f64;background:#e7eff5}
.preparation{display:grid;place-items:center;min-height:220px}
.preparation h2{border:0;margin:0;padding:0}
/* Hero roles and two-column skill/effect tables. */
.hero-overview{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;padding:20px;border:1px solid #cfdae3;background:#f4f8fb;margin:18px 0}
.hero-overview-portrait{height:215px;display:flex;align-items:center;justify-content:center}
.hero-overview-portrait img{display:block;width:100%;height:100%;object-fit:contain}
.hero-overview-content h2{font-size:20px;border:0;margin:0 0 10px;padding:0;color:#183f60}
.hero-overview-content p{margin:10px 0;font-size:15px;line-height:1.85}
.hero-facts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px;font-weight:700}
.hero-facts>span{padding:2px 10px;border:1px solid #bfd0dc;background:#fff;border-radius:3px}
.hero-facts .ssr{background:#fff0c9;color:#77500e;border-color:#e8c575}.hero-facts .sr{background:#eee5fa;color:#684487;border-color:#c3addb}.hero-facts .r{background:#e1eff9;color:#22577d;border-color:#a8c7db}
.hero-role-tags{display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:12px 0;list-style:none}
.hero-role-tags li{font-size:13px;padding:3px 9px;background:#e1edf4;color:#345a73;border-radius:3px;line-height:1.6}
.hero-overview-content .section-note{font-size:12px;color:#657685}
.hero-detail-nav{padding:12px;border:1px solid var(--line);background:#f6f9fb;margin:0 0 24px;gap:10px 22px}
.hero-skill-group{margin:22px 0 30px}
.hero-skill-group>h3{font-size:18px;color:#234d6a;margin:0 0 10px}
.skill-level-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:3px solid #2b8db9;gap:2px}
.skill-level-tabs button{min-height:48px;border:0;border-radius:7px 7px 0 0;background:#c8cdd2;color:#243b4a;font-size:18px;font-weight:700;cursor:pointer}
.skill-level-tabs button[aria-selected="true"]{background:#238dbd;color:#fff}
.skill-level-tabs button:focus-visible{outline:3px solid #f0b631;outline-offset:-4px}
.skill-effect-table{table-layout:fixed;font-size:16px;background:#fff;border:1px solid #bfcbd5}
.skill-effect-table thead th{background:#dfe9f0;font-size:16px;text-align:center;padding:12px;color:#354e60}
.skill-effect-table thead th:first-child{width:30%}
.skill-effect-table td,.skill-effect-table tbody th{padding:16px 14px;vertical-align:top;border:1px solid #c9d3dc;background:#fff;white-space:normal}
.skill-effect-table .skill-identity{text-align:center;font-weight:500}
.skill-identity img{display:block;width:72px;height:72px;object-fit:contain;margin:0 auto 8px;border-radius:4px}
.skill-identity strong{display:block;font-size:15px;line-height:1.65;overflow-wrap:anywhere}
.skill-current-value{padding:0 0 11px;margin:0 0 11px;border-bottom:1px dotted #9aa9b4;color:#183f60;font-size:18px;line-height:1.6;font-weight:600}
.skill-description{margin:0 0 12px;line-height:1.9}
.skill-all-values{padding:8px 0;border-top:1px solid #e3e9ee;margin:0;font-size:14px}
.skill-all-values>summary{font-size:14px;color:#44728f}
.skill-all-values ol{display:grid;grid-template-columns:repeat(auto-fit,minmax(68px,1fr));gap:1px;background:#d6e0e7;list-style:none;padding:1px;margin:12px 0 0}
.skill-all-values li{display:flex;flex-direction:column;gap:3px;background:#f4f8fb;text-align:center;padding:6px 3px;font-size:13px}
.skill-all-values li span{font-size:12px;color:#5d7687}.skill-all-values li strong{font-weight:500}

@media(max-width:700px){.hero-overview{grid-template-columns:110px minmax(0,1fr);gap:14px;padding:14px}.hero-overview-portrait{height:180px}.hero-overview-content h2{font-size:18px}.hero-overview-content p{font-size:14px}.hero-overview-content .section-note{font-size:12px}.hero-role-tags{grid-column:1/-1}.skill-effect-table thead th:first-child{width:29%}.skill-effect-table td,.skill-effect-table tbody th{padding:12px 9px}.skill-identity img{width:60px;height:60px}.skill-identity strong{font-size:14px}.skill-current-value{font-size:17px}.skill-description{font-size:15px}.skill-level-tabs button{font-size:17px}.guide-category-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-list{grid-template-columns:1fr}.guide-list a:nth-child(odd){border-right:0}}

.qa-sidebar-posts ul{list-style:none;margin:0;padding:0}.qa-sidebar-posts li{border-top:1px solid var(--line);padding:10px 12px}.qa-sidebar-posts li a{display:block;overflow-wrap:anywhere;font-weight:600}.qa-sidebar-posts small{display:block;color:#637581;font-size:12px;margin-top:4px}.qa-sidebar>.side-link{border-top:1px solid var(--line)}

.equipment-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.equipment-items figure{margin:0;padding:14px 10px;text-align:center;background:#f3f7fa;border:1px solid var(--line)}.equipment-items img{width:80px;height:80px;object-fit:contain}.equipment-items strong,.equipment-items span{display:block}.equipment-items span{font-size:13px;color:#5b6c79}.equipment-section .section-note{margin-top:8px}@media(max-width:700px){.equipment-items{grid-template-columns:repeat(2,minmax(0,1fr))}}

.resource-heading{display:inline-flex;align-items:center;gap:6px}.resource-heading img{width:24px;height:24px;object-fit:contain}.resource-icon{object-fit:contain;max-height:30px}

.hero-exclusive{display:flex;gap:18px;align-items:center;padding:18px;background:#f3f7fa;border:1px solid var(--line);margin:24px 0 12px}.hero-exclusive img{object-fit:contain;flex-shrink:0}.hero-exclusive h3,.hero-exclusive p{margin:3px 0}.hero-sources{margin:12px 0 24px}.hero-sources summary{cursor:pointer;color:var(--blue)}
/* Compact illustrated header lookups and real guide rankings. */
.header-collections{align-items:stretch}.lookup-box>a{display:flex;justify-content:space-between;align-items:center;min-height:61px}.header-box.guide-popular h2{white-space:nowrap}.guide-rank-row{display:flex!important;align-items:center;gap:10px;padding:7px 12px!important;min-height:56px;font-size:14px!important;line-height:1.45}.guide-rank-row img{width:64px;height:42px;object-fit:contain;background:#dce9f1;flex-shrink:0;border:1px solid #b1cadb}.guide-rank-row>span{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.guide-rank-row .rank-number{display:grid;place-items:center;background:#244a69;color:white;border-radius:2px;min-width:20px;height:24px;font-size:13px}.guide-rank-row:nth-child(-n+3) .rank-number{background:#bf8520}.ranking-note{font-size:12px;line-height:1.4;margin:7px 12px;color:#5b6e7a}.header-box .ranking-more{font-size:14px;text-align:center;padding:8px 12px;border-top:1px solid #c6d7e1}.equipment-legendary{background:linear-gradient(145deg,#ffe5a5,#ec9a2e 72%,#ca7017)!important;border:1px solid #d69024!important;border-radius:8px;padding:8px}.equipment-hub{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.equipment-hub>a{display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px 14px;border:1px solid var(--line);background:#f2f7fa}.equipment-hub-art{display:grid;place-items:center;width:128px;height:128px;margin-bottom:14px}.equipment-hub img{width:100%;height:100%;object-fit:contain}.equipment-hub strong{font-size:21px}.equipment-hub p{font-size:14px;margin-bottom:0}.equipment-items img.equipment-legendary{width:96px;height:96px}@media(max-width:700px){.equipment-hub{grid-template-columns:1fr}.equipment-hub>a{padding:16px}.equipment-hub-art{width:108px;height:108px}.guide-rank-row{font-size:14px!important}}

/* K9 reference catalog */
.k9-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.k9-card{display:flex;flex-direction:column;align-items:center;gap:9px;padding:18px 12px;text-align:center;border:1px solid #cbd9e3;background:#f5f8fb;text-decoration:none}.k9-card img{width:min(100%,174px);height:174px;object-fit:contain;border-radius:8px}.k9-card strong{font-size:19px}.k9-card span{color:#536a7a;font-size:14px}.k9-overview{display:flex;align-items:center;gap:24px;padding:24px;background:#f1f6fa;margin:22px 0}.k9-overview>img{width:200px;height:200px;object-fit:contain;border-radius:8px}.k9-overview h2{margin-top:0}.k9-system-art{display:block;width:min(100%,560px);height:auto;margin:20px auto}.hero-exclusive{display:flex;gap:18px;align-items:center;margin:20px 0}.hero-exclusive img{object-fit:contain;flex:none;padding:8px;border-radius:10px}#exclusive{scroll-margin-top:20px}.equipment-table summary{cursor:pointer;font-weight:700;padding:14px;background:#edf4f8}.hero-sources{margin:18px 0;color:#5c6f7d}
@media(max-width:600px){.k9-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.k9-card{padding:12px 8px}.k9-card img{height:132px}.k9-overview{display:block;padding:18px}.k9-overview>img{display:block;margin:0 auto 18px}.hero-exclusive{gap:12px}.hero-exclusive h3{font-size:18px}}

/* September review: compact rankings and resource-first equipment tables. */
.guide-rank-row{min-height:36px;padding:8px 12px!important}.guide-rank-row>span{display:block;overflow:visible}
.k9-banner-frame{width:min(100%,560px);aspect-ratio:1004/408;overflow:hidden;border-radius:10px;margin:20px auto}.k9-banner-frame .k9-system-art{width:100%;max-width:none;height:auto;margin:0}
.equipment-grade{display:flex;align-items:center;gap:8px;white-space:nowrap}.equipment-grade-text{display:grid;gap:2px;line-height:1.5}.equipment-grade-text>span{font-size:.9em;color:#647786}.equipment-grade-icon{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:7px;border:1px solid #0002;flex:none}.equipment-grade-icon img{width:44px;height:44px;object-fit:contain}.grade-white{background:linear-gradient(#ddd,#a7a7a7)}.grade-green{background:linear-gradient(#b7ee9f,#55a83f)}.grade-blue{background:linear-gradient(#a4dffa,#3b8ec6)}.grade-purple{background:linear-gradient(#deb9ef,#a15ccd)}.grade-orange{background:linear-gradient(#ffe5a5,#ec9a2e)}

.k9-card img,.k9-overview>img{object-fit:cover}

/* K9 capture: isolate the building and use the shared catalog frame. */

/* Island entrance: preserve the captured boat, omit surrounding interface. */


/* Equipment entries show contained art and open the complete guide. */
.equipment-hub{grid-template-columns:repeat(2,minmax(0,1fr))}
.equipment-hub-art{position:relative;display:block;flex:none;overflow:hidden}
.equipment-hub-art>img{position:absolute;inset:8px;display:block;width:calc(100% - 16px);height:calc(100% - 16px);max-width:none;object-fit:contain}
@media(max-width:700px){.equipment-hub{grid-template-columns:1fr}}

/* Police-dog portraits use the same close-up crop without level UI. */
.k9-card img,.k9-overview>img{height:auto;aspect-ratio:230/182;object-fit:contain}


@media(min-width:481px) and (max-width:700px){.home-connect{flex-wrap:nowrap}.download-group{flex:1 1 0}.social-icons{gap:6px}}
@media(max-width:480px){.download-group{flex-basis:100%}}

/* Shared blue-and-white category artwork, supplied reference, October 2026. */
.category-icon{display:inline-block;flex:none;width:30px;height:30px;background-image:url('category-icons-v2.png');background-size:400% 200%;background-repeat:no-repeat;vertical-align:middle}
.category-icon.category-icon-0{background-position:0 0}.category-icon.category-icon-1{background-position:33.333333% 0}.category-icon.category-icon-2{background-position:66.666667% 0}.category-icon.category-icon-3{background-position:100% 0}
.category-icon.category-icon-4{background-position:0 100%}.category-icon.category-icon-5{background-position:33.333333% 100%}.category-icon.category-icon-6{background-position:66.666667% 100%}.category-icon.category-icon-7{background-position:100% 100%}
.category-label{display:inline-flex;align-items:center;justify-content:inherit;gap:7px;vertical-align:middle}
.portal-toc .category-icon{display:block;width:72px;height:72px;margin:0 0 6px;border:0;border-radius:0;background-color:transparent;background-image:url('category-icons-v2.png');background-repeat:no-repeat;background-size:400% 200%}
.portal-toc a{min-height:136px}.portal-toc a:hover{background-color:#f1f7fc}
.top-nav a{display:flex;align-items:center;justify-content:center}.top-nav .category-icon{width:32px;height:32px}
.sidebar .category-label,.lookup-box .category-label{justify-content:flex-start;text-align:left}
.mobile-nav .category-label{flex-direction:column;gap:2px}.mobile-nav a{display:flex;align-items:center;justify-content:center}
footer .category-icon{width:24px;height:24px}
@media(max-width:700px){.portal-toc .category-icon{width:64px;height:64px}.top-nav .category-icon{width:28px;height:28px}.top-nav .category-label{gap:4px}.mobile-nav a{min-height:62px;padding:5px 3px}}

/* Shared-library originals: preserve complete transparent artwork. */
img[src*="/assets/library/buildings/"]{clip-path:none;object-fit:contain}
.k9-card img[src*="/assets/library/"],.k9-overview>img[src*="/assets/library/"]{height:auto;aspect-ratio:1;object-fit:contain}
.resource-icon[src*="/assets/library/resources/"]{clip-path:none;object-fit:contain}

/* Original K9 skill icons and expandable electromagnetic artwork. */
.k9-skill-label{display:flex;align-items:center;gap:10px}.k9-skill-label img{flex:none;object-fit:contain;aspect-ratio:1;border-radius:7px}.k9-overview .k9-skill-label img{width:60px;height:60px}.tablewrap .k9-skill-label img{width:48px;height:48px}.electromagnetic-art{margin:16px 0 22px}.electromagnetic-banner{display:block;width:100%;height:auto;border-radius:8px;background:#edf3f7}@media(max-width:600px){.k9-overview .k9-skill-label{font-size:19px}}

/* Repeated upgrade costs: one shared panel with each target's own power. */
.stage-upgrades{margin:24px 0}.stage-nav{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 22px}.stage-nav a{padding:7px 11px;border:1px solid #ccdbe5;border-radius:6px;background:#f4f8fb;font-size:13px;font-weight:700;color:#315775}.stage-nav a:hover{background:#e4eef6;text-decoration:none}.upgrade-stage{border:1px solid #cfdce6;border-radius:12px;overflow:hidden;margin:0 0 22px;background:#fff;scroll-margin-top:18px}.upgrade-stage-header{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#edf4f8;padding:17px 22px;border-bottom:1px solid #d8e3eb}.upgrade-stage-header h3{margin:0;font-size:24px;line-height:1.35;color:#173f60;font-variant-numeric:tabular-nums}.stage-count{display:block;color:#52738b;font-size:12px;font-weight:600;margin-bottom:3px}.stage-duration{text-align:right;max-width:52%}.stage-duration span{display:block;font-size:12px;color:#52738b}.stage-duration strong{display:block;font-size:19px;color:#173f60;line-height:1.45;font-variant-numeric:tabular-nums}.upgrade-stage-body{padding:18px 22px 22px}.upgrade-stage h4{margin:0 0 10px;font-size:13px;font-weight:700;color:#536d7d}.stage-costs{display:grid;grid-template-columns:1.05fr 1.35fr 1.35fr;gap:10px}.stage-resource{display:flex;align-items:center;gap:8px;border-radius:8px;background:#f5f7f9;padding:12px 10px;min-width:0}.stage-resource img{width:32px;height:32px;object-fit:contain;flex:none}.stage-resource span{display:block;font-size:12px;color:#62727b;line-height:1.4}.stage-resource strong{display:block;font-size:17px;line-height:1.5;white-space:nowrap;color:#2c414f;font-variant-numeric:tabular-nums}.stage-core{grid-row:span 2;flex-direction:column;justify-content:center;text-align:center;background:#fff6df;border:1px solid #f0dfb0}.stage-core img{width:52px;height:52px}.stage-core strong{font-size:28px;line-height:1.3;color:#875715}.stage-core span{color:#8b703f}.stage-note{margin:10px 0 16px;font-size:12px;color:#647684;line-height:1.65}.stage-requirements{padding:12px 14px;background:#f5f8fb;border-left:3px solid #8eacc1;border-radius:0 6px 6px 0}.stage-requirements h4{margin-bottom:3px}.stage-requirements p{margin:0;font-size:13px;line-height:1.7}.upgrade-stage .stage-power-title{margin-top:20px;margin-bottom:12px}.stage-track{display:flex;padding:0;margin:0;list-style:none;gap:0}.stage-track li{flex:1;min-width:0;position:relative;text-align:center;padding:0 2px}.stage-track li:before{content:"";position:absolute;left:0;right:0;top:5px;height:2px;background:#cbdde9}.stage-track li:first-child:before{left:50%}.stage-track li:last-child:before{right:50%}.stage-dot{position:relative;display:block;width:12px;height:12px;border:3px solid #547f9f;border-radius:50%;background:white;margin:0 auto 8px}.stage-track li:last-child .stage-dot{border-color:#b48a34;background:#f8e8bd}.stage-step strong{display:block;font-size:14px;color:#315774;line-height:1.6}.stage-step span{display:block;font-size:11px;color:#687b89;line-height:1.5}.stage-power{display:block;font-size:13px;color:#263e50;font-variant-numeric:tabular-nums;margin-top:4px;white-space:nowrap}
@media(max-width:600px){.stage-nav{gap:6px}.stage-nav a{font-size:12px;padding:6px 9px}.upgrade-stage-header{padding:15px 14px;gap:10px}.upgrade-stage-header h3{font-size:22px}.stage-duration strong{font-size:17px}.upgrade-stage-body{padding:14px}.stage-costs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stage-core{grid-column:1/-1;grid-row:auto;flex-direction:row;gap:14px;text-align:left;padding:10px 14px}.stage-core img{width:42px;height:42px}.stage-core strong{font-size:26px}.stage-resource:not(.stage-core){padding:10px 8px;gap:6px}.stage-resource:not(.stage-core) img{width:27px;height:27px}.stage-resource:not(.stage-core) strong{font-size:16px}.stage-track{display:block}.stage-track li{display:flex;align-items:center;gap:12px;text-align:left;padding:9px 0}.stage-track li:before{left:5px;right:auto;top:0;bottom:0;width:2px;height:auto}.stage-track li:first-child:before{left:5px;top:50%}.stage-track li:last-child:before{right:auto;bottom:50%}.stage-dot{margin:0;flex:none}.stage-step{min-width:0}.stage-step strong{font-size:14px}.stage-step span{font-size:12px}.stage-power{margin:0 0 0 auto;font-size:15px}.stage-requirements p{font-size:13px}}
@media(max-width:359px){.stage-resource:not(.stage-core) strong{font-size:14px}.stage-resource:not(.stage-core) img{width:22px;height:22px}.upgrade-stage-header h3{font-size:20px}.stage-duration strong{font-size:15px}}
