/* MiSans by Xiaomi; original copyright and license retained in assets/fonts. */
@font-face{font-family:MiSans;src:url("assets/fonts/MiSans-Regular.woff2") format("woff2");font-weight:400 550;font-style:normal;font-display:swap}
@font-face{font-family:MiSans;src:url("assets/fonts/MiSans-Demibold.woff2") format("woff2");font-weight:600 750;font-style:normal;font-display:swap}
@font-face{font-family:MiSans;src:url("assets/fonts/MiSans-Bold.woff2") format("woff2");font-weight:800 900;font-style:normal;font-display:swap}
/* Final shared typography and footer rhythm. */
:root{--site-font:"MiSans","Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif;--type-label:11px;--type-body:clamp(16px,1.05vw,21px)}
html[lang="ja"]{--site-font:"MiSans","Yu Gothic","Meiryo","Noto Sans CJK JP",sans-serif}
html[lang="ko"]{--site-font:"MiSans","Malgun Gothic","Noto Sans CJK KR",sans-serif}
body,body *{font-family:var(--site-font)!important}
body header nav strong{font-weight:700!important;letter-spacing:.035em!important}
body header nav span{font-weight:500!important;letter-spacing:.025em!important}
body :is(.company-copy h1,.project-info h1,.project-info h2,.project-cover h1,.character-copy h1,.character-copy h2,.ship-heading h2,.ship-title h3,.lore-copy h2,.portal-content h1){font-weight:800!important;letter-spacing:-.025em!important}
body :is(.character-bio,.ship-description p,.lore-copy p,.gameplay-description p,.company-copy p){font-weight:500!important;letter-spacing:.01em!important}
body :is(.ship-factions button,.lore-tabs button){font-weight:600!important}
body :is(.ship-factions button,.lore-tabs button)[aria-pressed=true]{font-weight:700!important}
body :is(.character-eyebrow,.company-kicker,.ship-heading>span,.eyebrow){font-weight:600;letter-spacing:.12em!important}
.chapter-site footer.game-footer{display:flex!important;position:fixed;inset:auto 0 0;height:48px;padding:0 4%;margin:0;z-index:65;align-items:center;background:#0b0d10e6;border-top:1px solid #ffffff0c;backdrop-filter:blur(12px)}
.chapter-site .game-footer .footer-bottom{display:flex;width:100%;align-items:center;justify-content:flex-end;gap:28px;font-size:11px;line-height:1.5;font-weight:500;letter-spacing:.025em;color:#747d85}
.chapter-site .game-footer .footer-bottom>a:first-child{margin-right:auto;font-size:11px;font-weight:700;letter-spacing:.12em;color:#a8b0b6}
.chapter-site .game-footer a{color:inherit;text-decoration:none;transition:color .2s}
.chapter-site .game-footer a:hover{color:#fff}
.chapter-site .rotation-toggle{left:16%;bottom:13px;z-index:66;font-size:10px;line-height:14px;color:#747d85}
.chapter-site .chapter-meter{bottom:48px}
.chapter-site .chapter-scroll{bottom:58px}
.home-site .footer-bottom{font-weight:500;letter-spacing:.025em}
@media(max-width:800px){.chapter-site .game-footer .footer-bottom{gap:14px;font-size:9px}.chapter-site .game-footer .footer-bottom>span{display:none}.chapter-site .rotation-toggle{left:30%;font-size:9px}.chapter-site .game-footer .footer-bottom>a:first-child{font-size:10px}}

@media(max-width:800px){
 body.chapter-site header,body.home-site header{height:130px!important;padding:0 4%!important;align-items:flex-start!important}
 body.chapter-site header .game-brand,body.home-site header .brand{position:absolute!important;left:4%;top:6px;width:130px!important;height:52px!important}
 body.chapter-site header nav,body.home-site header nav{position:absolute;left:4%;right:4%;top:67px;display:flex!important;flex-wrap:nowrap!important;gap:22px!important;margin:0!important;overflow-x:auto;scrollbar-width:none;align-items:center;padding-bottom:6px}
 body header nav>a,body header nav>.works-menu{flex:0 0 auto}
 body header nav strong{font-size:13px!important;white-space:nowrap}
 body header nav span{font-size:10px!important;white-space:nowrap}
 body.chapter-site header .game-language{position:absolute!important;right:4%!important;top:16px!important}
 body.home-site header #language{position:fixed;right:4%;top:20px}
 body.home-site header nav{padding-right:0}
 body.home-site .page-rail{margin-top:130px!important;height:calc(100svh - 178px)!important}
 body.home-site footer{height:48px!important}
 body.home-site .footer-bottom{font-size:8px!important;gap:10px!important;white-space:nowrap}
 body.home-site .footer-bottom>span{display:none}
 .chapter-site .game-footer .footer-bottom{white-space:nowrap;font-size:8px;gap:8px}
 .chapter-site .game-footer .footer-bottom>a:first-child{font-size:9px}
 .chapter-site .rotation-toggle{left:34%;font-size:8px;padding:4px}
 .chapter-site .chapter-meter{display:none!important}
 .chapter-site .chapter-scroll{display:none!important}
 .chapter-site:not(.godrop-detail) #world .lore-copy{top:20%;width:84%}
 .chapter-site:not(.godrop-detail) #world .lore-tabs{bottom:8%;width:90%;gap:4px 10px}
 .chapter-site:not(.godrop-detail) #world .lore-copy h2{font-size:32px;margin:10px 0 14px}
 #world .lore-title-logo{width:40px;height:40px;margin-left:12px}
 .chapter-site #ships{padding:150px 5% 64px!important}
 #ships .ship-heading h2{font-size:28px}
 #ships .ship-factions{flex-wrap:nowrap;overflow-x:auto;gap:18px;flex-shrink:0;margin-bottom:12px}
 #ships .ship-factions button{white-space:nowrap;font-size:13px;flex:0 0 auto}
 #ships .ship-factions .faction-option-icon{width:20px;height:20px;flex-basis:20px}
 .chapter-site:not(.godrop-detail) #characters .character-copy{top:19%;width:45%}
 .chapter-site:not(.godrop-detail) #characters .character-copy h2{font-size:32px}
}

.business-email{display:inline-flex;align-self:flex-start;margin-top:22px;color:#eee;font-size:clamp(16px,1.2vw,24px);font-weight:600;text-decoration:none;letter-spacing:.01em;padding-bottom:8px;border-bottom:1px solid #ffffff35}.business-email:hover{border-color:#fff}
#ships .ship-factions{scrollbar-width:none}#ships .ship-description{scrollbar-width:thin;scrollbar-color:#ffffff30 transparent}
@media(max-width:800px){
 .chapter-site.godrop-detail #characters .character-copy{position:absolute;top:19%!important;left:6%;width:46%;margin:0!important;max-width:none}
 .godrop-detail #characters .character-copy h1{font-size:32px!important;margin:12px 0 16px;line-height:1.1}
 .godrop-detail #characters .character-copy .character-bio{font-size:14px!important;line-height:1.75!important;max-height:31vh;overflow-y:auto;scrollbar-width:thin}
 .chapter-site #characters .character-ticket-rail{left:5%;width:90%;height:22%;bottom:9%;padding:0 28px}
 .chapter-site .character-ticket-rail .ticket-scroll-prev{left:-2px}.chapter-site .character-ticket-rail .ticket-scroll-next{right:-2px}
 .chapter-site.godrop-detail .gameplay-chapter{padding:150px 6% 70px}
 .business-email{font-size:17px}
}

@media(max-width:800px){.home-site .works-options{position:fixed;top:123px;left:4%;right:4%;width:auto;min-width:0;z-index:80}.game-language{transform:none!important}}
