/* Public HTML and the in-game room share this surface and ui-v2's actual tokens. */
@font-face { font-family: 'Archivo Variable'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url('/wiki/archivo-latin.woff2') format('woff2'); }
@font-face { font-family: 'Archivo Variable'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url('/wiki/archivo-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
html[data-public-surface] { touch-action: auto; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 2rem; }
html[data-public-surface], html[data-public-surface] body { user-select: text; -webkit-user-select: text; -webkit-touch-callout: default; }
html[data-public-surface] body { margin: 0; background: #060b12; }
.public-landing { --landing-ink: #eff3f2; --landing-muted: #a7b8c3; --landing-accent: #a6e6dc; color: var(--landing-ink); background: #060b12; font-family: 'Archivo Variable', 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 1.7; overflow: clip; }
.public-landing *, .public-landing *::before, .public-landing *::after { box-sizing: border-box; }
.public-landing h1, .public-landing h2, .public-landing h3, .public-landing p, .public-landing figure { margin: 0; }
.public-landing a { color: inherit; text-decoration: none; }
.public-landing button, .public-landing a, .public-landing summary, .public-landing select { -webkit-tap-highlight-color: transparent; }
.public-landing :is(a, button, summary, select):focus-visible { outline: 2px solid #b8fff1; outline-offset: 5px; }
.public-landing a:hover { color: var(--landing-accent); }
.landing-container { width: min(100% - 3rem, 1280px); margin-inline: auto; }
.landing-skip { position: fixed; z-index: 60; left: 1rem; top: 1rem; transform: translateY(-180%); background: #a6e6dc; color: #07161a !important; padding: .7rem 1rem; }
.landing-skip:focus { transform: none; }
.landing-header { position: relative; z-index: 2; display: flex; align-items: center; gap: 2rem; min-height: 104px; border-bottom: 1px solid #b9d8e21f; }
.landing-brand { display: block; width: 154px; flex-shrink: 0; }
.landing-brand img { display: block; width: 100%; height: auto; margin-block: -18px; }
.landing-header > nav { display: flex; gap: 2rem; margin-left: auto; font-size: 13px; color: #c0cdd3; }
.landing-header > nav a { display: flex; align-items: center; min-height: 44px; }
.landing-header select { border-color: #c2dce130; background: #0a1521; font-size: 12px; }
.landing-locale-menu { position: relative; font-size: 12px; }
.landing-locale-menu summary { display: flex; align-items: center; justify-content: center; min-width: 70px; min-height: 44px; gap: 1rem; cursor: pointer; list-style: none; border: 1px solid #c2dce130; background: #0a1521; }
.landing-locale-menu nav { position: absolute; z-index: 4; right: 0; min-width: 150px; padding: .5rem; background: #0a1521; border: 1px solid #c2dce130; }
.landing-locale-menu nav a { display: block; padding: .5rem; }
.landing-noscript { color: #a7b8c3; font-size: 12px; margin-top: .8rem !important; }
.landing-hero { position: relative; margin-top: -104px; padding-top: 104px; isolation: isolate; background: #060b12; }
.landing-hero-art { position: absolute; z-index: -2; inset: 0; }
.landing-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.landing-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #060b12c9, #060b1252 52%, #060b1200 80%), linear-gradient(0deg, #060b12, #060b1200 30%, #060b1230); }
.landing-hero-content { min-height: min(720px, calc(100svh - 104px)); padding-block: clamp(4rem, 9vw, 8rem) 4.5rem; }
.landing-kicker { display: flex; align-items: center; gap: .6rem; color: var(--landing-accent); font-size: 11px; font-weight: 600; letter-spacing: .16em; line-height: 1.6; text-transform: uppercase; }
.landing-kicker > span { width: 5px; height: 5px; border-radius: 50%; background: var(--landing-accent); box-shadow: 0 0 12px #90e7d8; }
.public-landing h1 { max-width: 820px; margin-top: 1.8rem; font-size: clamp(2.7rem, 5.7vw, 5.6rem); font-weight: 500; letter-spacing: -.065em; line-height: 1.04; text-wrap: balance; }
.public-landing h1 span, .public-landing h1 em { display: block; }
.public-landing h1 em { color: #a7c6cc; font-style: normal; }
.public-landing .landing-intro { max-width: 470px; margin-top: 1.8rem; color: #b7c7cf; font-size: 15px; line-height: 1.85; }
.landing-entry { width: min(100%, 354px); margin-top: 2rem; scroll-margin-top: 2rem; }
.landing-entry > p { color: #a7b8c3; font-size: 12px; line-height: 1.6; margin-top: .6rem; }
.landing-entry button[data-testid="landing-primary"] { background: #b0ece0; color: #08201e; min-height: 54px; font-size: 15px; border-radius: 3px; box-shadow: 0 0 35px #8bdac718; }
.landing-entry button[data-testid="landing-primary"]:hover { background: #d1fff4; box-shadow: 0 0 40px #8bdac72a; }
.landing-entry button:disabled { cursor: wait; opacity: .65; }
.landing-entry .landing-login { display: block; width: 100%; min-height: 44px; margin-top: .4rem; font-size: 12px; color: #c0cdd3; text-decoration: underline; text-underline-offset: 5px; }
.landing-entry .landing-returning-hint { margin-block: .8rem; color: #b9c9d0; }
.landing-population { margin-top: 1rem; font-size: 11px; color: #aac3cb; }
.landing-connection { margin-top: .75rem; padding: .75rem; border: 1px solid var(--color-v2-line-hi, #2c3c60); border-radius: 4px; background: var(--color-v2-panel, #0d1422); }
.landing-connection p { color: var(--color-v2-ink-2, #a4b1cd); font-size: 12px; line-height: 1.5; margin-bottom: .5rem; }
.landing-consent-host { max-width: 420px; }
.landing-consent-host:not(:empty) { margin-top: 1rem; }
.landing-consent-host > div { position: relative; inset: auto; padding: 0; border: 1px solid var(--color-v2-line, #1d2842); border-radius: 4px; background: var(--color-v2-panel, #0d1422); }
.landing-consent-host > div > div { max-width: none; padding: .75rem; }
.public-landing .consent-heading { font-size: 12px; line-height: 1.5; letter-spacing: normal; }
.public-landing .consent-copy { font-size: 11px; line-height: 1.55; }
.landing-hero-bottom { display: flex; justify-content: space-between; align-items: center; padding-block: 1.8rem; border-bottom: 1px solid #b9d8e226; font-size: 11px; color: #b0c2cb; }
.landing-hero-bottom a { min-height: 44px; display: flex; align-items: center; gap: 2rem; }
.landing-hero-bottom p { color: #8297a5; font-size: 10px; }
.landing-chapters { padding-top: 2rem; }
.landing-chapter { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 7rem); }
.landing-chapter:nth-child(even) { grid-template-columns: 1.15fr 1fr; }
.landing-chapter:nth-child(even) .landing-chapter-copy { order: 2; }
.public-landing h2 { font-size: clamp(2rem, 3.4vw, 3.5rem); font-weight: 500; line-height: 1.13; letter-spacing: -.048em; text-wrap: balance; }
.landing-chapter h2 { margin-block: 1.1rem 1.5rem; }
.landing-chapter-copy > p:not(.landing-kicker) { color: var(--landing-muted); font-size: 14px; line-height: 1.9; margin-bottom: 1rem; }
.landing-text-link { display: inline-flex; gap: 1.6rem; align-items: center; min-height: 44px; margin-top: .7rem; font-size: 12px; color: var(--landing-accent) !important; border-bottom: 1px solid #a6e6dc45; }
.landing-text-link:hover { border-bottom-color: #a6e6dc; }
.landing-chapter-art { position: relative; }
.landing-chapter-art img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 3px; }
.landing-chapter-art figcaption { color: #7e94a3; text-align: right; font-size: 9px; margin-top: .8rem; }
.landing-shipyard { padding-block: 4rem 6rem; border-top: 1px solid #b9d8e226; }
.landing-shipyard > h2 { margin-block: 1rem; }
.landing-shipyard > p:not(.landing-kicker) { color: var(--landing-muted); font-size: 14px; }
.landing-hulls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.landing-hulls article { min-width: 0; }
.landing-hulls img { width: 100%; height: auto; max-height: 320px; object-fit: contain; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.landing-hulls a:hover img { transform: translateY(-6px); }
.landing-hulls h3 { display: flex; justify-content: space-between; padding-top: 1.4rem; border-top: 1px solid #b9d8e22b; font-weight: 500; letter-spacing: .1em; font-size: 14px; }
.landing-hulls h3 span { color: var(--landing-accent); }
.landing-hulls p { max-width: 280px; margin-top: .8rem; color: var(--landing-muted); font-size: 12px; }
.landing-start { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; padding-block: 5rem; border-top: 1px solid #b9d8e226; }
.landing-start h2 { margin-block: 1rem; }
.landing-start ol { list-style: none; margin: 0; padding: 0; }
.landing-start li { display: flex; gap: 1.5rem; padding-block: 1.5rem; border-bottom: 1px solid #b9d8e226; }
.landing-start li:first-child { padding-top: 0; }
.landing-start li > span { padding-top: .2rem; color: #85b4bb; font: 12px 'IBM Plex Mono', monospace; }
.public-landing h3 { font-size: 17px; font-weight: 500; line-height: 1.4; }
.landing-start li p { margin-top: .7rem; color: var(--landing-muted); font-size: 13px; }
.landing-reading { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 3rem; border-block: 1px solid #9fd7d838; background: linear-gradient(115deg, #10282d, #0a131d); }
.landing-reading h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.landing-reading p { color: #aec5cd; font-size: 13px; margin-top: 1.3rem; }
.landing-reading nav a { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; border-bottom: 1px solid #9fd7d830; font-size: 14px; }
.landing-reading nav a > span:first-child { color: #86b2bd; font-size: 10px; }
.landing-reading nav a > span:last-child { margin-left: auto; color: var(--landing-accent); }
.landing-faq { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; padding-block: 6rem; }
.landing-faq details { border-bottom: 1px solid #b9d8e226; }
.landing-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 72px; padding-block: 1rem; cursor: pointer; list-style: none; font-size: 15px; }
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq summary span { color: #a6e6dc; font-size: 20px; }
.landing-faq details[open] summary span { transform: rotate(45deg); }
.landing-faq details p { padding-bottom: 1.5rem; color: var(--landing-muted); font-size: 13px; }
.landing-closing { position: relative; padding: 5rem 1rem; text-align: center; border-block: 1px solid #b9d8e226; background: radial-gradient(ellipse at 50% 100%, #10343980, transparent 65%); }
.landing-closing .landing-kicker { justify-content: center; }
.landing-closing h2 { margin-block: 1.5rem; }
.landing-closing p:not(.landing-kicker) { color: var(--landing-muted); font-size: 14px; }
.landing-button { display: inline-flex; justify-content: center; gap: 2rem; align-items: center; min-height: 52px; padding: .8rem 1.7rem; background: #b0ece0; color: #08201e !important; border-radius: 3px; font-size: 13px; font-weight: 600; }
.landing-button:hover { background: #d1fff4; }
.landing-closing .landing-button { margin-top: 2rem; }
.landing-footer { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; padding-block: 3rem; }
.landing-footer img { width: 144px; height: auto; margin-left: -10px; }
.landing-footer p { color: #8297a5; font-size: 10px; margin-top: -.5rem; }
.landing-footer > nav:not(.landing-languages) { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; max-width: 600px; color: #b0c2cb; font-size: 11px; }
.landing-footer nav a, .landing-footer button { min-height: 44px; display: inline-flex; align-items: center; }
.landing-footer > button { font-size: 11px; color: #b0c2cb; text-decoration: underline; text-underline-offset: 4px; }
.landing-languages { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; width: 100%; font-size: 11px; color: #99afbd; }
.landing-languages a[aria-current="page"] { color: #b0ece0; }
:lang(ja) .public-landing, .public-landing:lang(ja) { font-family: 'Noto Sans CJK JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif; }
.public-landing:lang(ja) :is(h1,h2) { letter-spacing: -.035em; line-height: 1.35; }
@media (min-width: 1600px) { .landing-hero-art img { object-position: center 58%; } }
@media (max-width: 850px) {
  .landing-header { min-height: 88px; gap: 1rem; }
  .landing-header > nav { gap: 1.2rem; }
  .landing-hero { margin-top: -88px; padding-top: 88px; }
  .landing-hero-content { min-height: 700px; }
  .landing-chapter, .landing-chapter:nth-child(even) { gap: 2rem; }
  .landing-start, .landing-faq { gap: 2.5rem; }
  .landing-reading { padding: 2rem; gap: 2rem; }
}
@media (max-width: 640px) {
  .landing-container { width: calc(100% - 2.5rem); }
  .landing-header { min-height: 80px; gap: .7rem; }
  .landing-brand { width: 120px; }
  .landing-header > nav { gap: .7rem; font-size: 11px; }
  .landing-header > nav a:first-child { display: none; }
  .landing-header select { padding-inline: .5rem; max-width: 108px; font-size: 11px; }
  .landing-hero { margin-top: -80px; padding-top: 80px; }
  .landing-hero-content { min-height: 650px; padding-top: 19rem; padding-bottom: 2rem; }
  .landing-hero-art img { object-position: 66% top; }
  .landing-hero::after { background: linear-gradient(0deg, #060b12 0%, #060b12ed 23%, #060b1255 65%, #060b1200 80%, #060b1250); }
  .landing-kicker { font-size: 9px; letter-spacing: .12em; }
  .public-landing h1 { font-size: clamp(2.25rem, 8.7vw, 3.5rem); margin-top: 1rem; letter-spacing: -.06em; max-width: 540px; }
  .public-landing .landing-intro { font-size: 13px; margin-top: 1.2rem; line-height: 1.8; }
  .landing-entry { margin-top: 1.4rem; width: 100%; }
  .landing-hero-bottom { padding-block: .6rem 1rem; flex-wrap: wrap; gap: .1rem; }
  .landing-hero-bottom p { font-size: 8px; }
  .landing-chapters { padding-top: .5rem; }
  .landing-chapter, .landing-chapter:nth-child(even) { grid-template-columns: 1fr; padding-block: 2.8rem; gap: 1.5rem; }
  .landing-chapter:nth-child(even) .landing-chapter-copy { order: 0; }
  .public-landing h2 { font-size: 2.05rem; }
  .landing-chapter h2 { margin-block: .9rem 1.2rem; }
  .landing-chapter-copy > p:not(.landing-kicker) { font-size: 13px; }
  .landing-shipyard { padding-block: 3rem; }
  .landing-hulls { gap: 1.5rem; grid-template-columns: 1fr; margin-top: 1rem; }
  .landing-hulls article { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 1.2rem; }
  .landing-hulls img { max-height: 190px; }
  .landing-hulls h3 { padding-top: .5rem; font-size: 11px; }
  .landing-hulls p { font-size: 12px; padding-top: 1.5rem; }
  .landing-start, .landing-faq { grid-template-columns: 1fr; padding-block: 3rem; gap: 2rem; }
  .landing-reading { grid-template-columns: 1fr; padding: 2rem 1.2rem; gap: 1.5rem; }
  .landing-reading nav a { min-height: 56px; font-size: 13px; }
  .landing-faq summary { font-size: 14px; }
  .landing-closing { padding-block: 3.5rem; }
  .landing-closing p:not(.landing-kicker) { font-size: 13px; }
  .landing-footer { gap: 1.5rem; padding-block: 2rem; }
}
@media (max-width: 640px) and (max-height: 740px) { .landing-hero-content { padding-top: 11rem; min-height: 580px; } }
@media (max-width: 640px) and (max-height: 540px) {
  .landing-hero-content { padding-top: 2rem; }
  .public-landing h1 { font-size: 2rem; }
  .public-landing .landing-intro { font-size: 12px; line-height: 1.65; margin-top: 1rem; }
  .landing-entry { margin-top: 1rem; }
  .landing-hero::after { background: linear-gradient(90deg, #060b12dd, #060b1266), linear-gradient(0deg, #060b12, #060b1233); }
}
@media (prefers-reduced-motion: reduce) { .public-landing *, .public-landing *::before, .public-landing *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
