:root {
	--sand: #d8c9a5;
	--sand-light: #eee6d3;
	--paper: #f5efdf;
	--olive: #59643a;
	--olive-deep: #293126;
	--olive-mid: #758052;
	--rock: #6f7068;
	--rock-light: #a5a391;
	--ink: #20251f;
	--orange: #df6b2d;
	--orange-dark: #a8441b;
	--line: #918c78;
	--white: #fffdf5;
	--header-width: 248px;
	--container: 1320px;
	--section-gap: 112px;
	--radius: 6px;
	--display: clamp(36px, 5vw, 64px);
	--h1: clamp(28px, 3vw, 42px);
	--h2: clamp(28px, 3.2vw, 44px);
	--h3: clamp(21px, 2.2vw, 30px);
	--body: 17px;
	--font: "Noto Sans TC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--sand); color: var(--ink); font-family: var(--font); font-size: var(--body); line-height: 1.8; overflow-x: hidden; }
body.nav-open { overflow: hidden; }

img { display: block; width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; }

figure { margin: 0; }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; background: var(--orange); color: var(--white); padding: 10px 16px; border-radius: 0 0 var(--radius) var(--radius); }
.skip-link:focus { top: 0; }

.section-shell { width: min(calc(100% - 80px), var(--container)); margin: 0 auto; }
.section-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; color: var(--olive-deep); }
.section-kicker::before { content: ""; width: 28px; height: 4px; background: var(--orange); }
.section-heading { max-width: 820px; margin: 0; font-size: var(--h2); line-height: 1.28; letter-spacing: -0.02em; }
.section-intro { max-width: 690px; margin: 20px 0 0; color: #4c5148; line-height: 1.85; }
.section-rule { height: 1px; margin-top: 38px; background: rgba(32, 37, 31, 0.18); overflow: hidden; }
.section-rule::after { content: ""; display: block; width: 0; height: 100%; background: var(--orange); transition: width 0.8s cubic-bezier(0.2, 0.65, 0.2, 1); }
section.is-visible .section-rule::after { width: 28%; }

.action-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 18px; border: 1px solid var(--ink); border-radius: var(--radius); font-size: 15px; font-weight: 800; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.action-link::after { content: "↗"; font-size: 18px; }
.action-link:hover, .action-link:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.action-link.orange { background: var(--orange); border-color: var(--orange); color: var(--white); }
.action-link.orange:hover, .action-link.orange:focus-visible { background: var(--orange-dark); border-color: var(--orange-dark); }

a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

header.site-header { position: fixed; inset: 0 auto 0 0; z-index: 100; width: var(--header-width); height: 100vh; background: var(--olive-deep); color: var(--paper); border-right: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-direction: column; padding: 32px 26px 24px; transition: background-color 0.25s; }
header.site-header.is-scrolled { background: #222a21; }
header .brand-lockup { display: block; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
header .brand-mark { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border: 2px solid var(--orange); border-radius: var(--radius); color: var(--orange); font-size: 22px; font-weight: 900; transform: rotate(-3deg); }
header h1 { margin: 0; font-size: 24px; line-height: 1.32; letter-spacing: 0.01em; }
header .site-title-en { display: block; margin-top: 8px; color: #b9bca8; font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; }
header .menu-toggle { display: none; border: 1px solid rgba(255, 255, 255, 0.32); border-radius: var(--radius); background: transparent; color: var(--paper); padding: 10px 12px; cursor: pointer; }
header .site-nav { margin-top: 34px; }
header .site-nav-list { list-style: none; margin: 0; padding: 0; }
header .site-nav-list li { border-top: 1px solid rgba(255, 255, 255, 0.13); }
header .site-nav-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
header .site-nav-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 2px; color: #c8c9bb; font-size: 14px; font-weight: 600; transition: color 0.2s, padding-left 0.2s; }
header .site-nav-list a::after { content: ""; width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; }
header .site-nav-list a:hover, header .site-nav-list a:focus-visible, header .site-nav-list a.is-active { padding-left: 8px; color: var(--white); }
header .site-nav-list a.is-active::after { background: var(--orange); border-color: var(--orange); }
header .header-status { margin-top: auto; padding-top: 24px; color: #aeb19f; font-size: 12px; line-height: 1.7; }
header .header-status strong { display: block; margin-bottom: 5px; color: var(--sand-light); font-size: 13px; }

main { margin-left: var(--header-width); }

#command { min-height: 100vh; padding: 46px 0 74px; background: var(--sand); }
#command .command-topline { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 54px; padding-bottom: 14px; border-bottom: 1px solid rgba(32, 37, 31, 0.4); font-size: 13px; font-weight: 800; letter-spacing: 0.05em; }
#command .command-topline span:last-child { color: var(--orange-dark); }
#command .command-layout { display: grid; grid-template-columns: minmax(300px, 0.78fr) minmax(540px, 1.45fr); gap: 62px; align-items: center; }
#command .command-copy { padding-bottom: 12px; }
#command .command-label { display: inline-block; margin-bottom: 20px; padding: 5px 10px; border-left: 5px solid var(--orange); background: rgba(245, 239, 223, 0.58); font-size: 13px; font-weight: 800; }
#command h2 { max-width: 560px; margin: 0; font-size: clamp(38px, 5.3vw, 72px); line-height: 1.14; letter-spacing: -0.035em; }
#command .command-lead { max-width: 570px; margin: 27px 0 0; font-size: 18px; line-height: 1.85; color: #41473e; }
#command .command-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
#command .tactical-figure { position: relative; isolation: isolate; padding: 20px 0 24px 20px; perspective: 1200px; }
#command .tactical-figure::before { content: ""; position: absolute; z-index: -1; left: 0; right: 26px; top: 42px; bottom: 0; background: var(--orange); border-radius: var(--radius); transform: rotate(-1.5deg); }
#command .tactical-figure::after { content: ""; position: absolute; z-index: 3; left: 12%; right: 7%; top: 54%; height: 3px; background: rgba(245, 239, 223, 0.85); transform: rotate(-8deg); transform-origin: left center; }
#command .tactical-media { position: relative; overflow: hidden; border: 2px solid var(--olive-deep); border-radius: var(--radius); background: var(--olive-deep); transform: rotateX(2deg) rotateZ(1deg); }
#command .tactical-media img { aspect-ratio: 16/10; object-fit: cover; object-position: center; filter: saturate(0.76) contrast(1.04); clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(0.22, 0.7, 0.18, 1); }
#command.is-visible .tactical-media img { clip-path: inset(0 0 0 0); }
#command .map-marker { position: absolute; z-index: 5; display: flex; align-items: center; gap: 7px; padding: 6px 9px; background: var(--paper); border: 1px solid var(--olive-deep); border-radius: 4px; color: var(--ink); font-size: 12px; font-weight: 800; line-height: 1.2; }
#command .map-marker b { display: grid; place-items: center; width: 22px; height: 22px; background: var(--orange); color: var(--white); border-radius: 3px; }
#command .map-marker.marker-a { left: 13%; top: 26%; }
#command .map-marker.marker-b { right: 10%; top: 37%; }
#command .map-marker.marker-c { left: 45%; bottom: 16%; }
#command .tactical-caption { display: flex; justify-content: space-between; gap: 20px; margin-top: 14px; padding: 0 4px; font-size: 13px; font-weight: 600; color: #33382f; }
#command .command-index-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 72px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(32, 37, 31, 0.5); border-bottom: 1px solid rgba(32, 37, 31, 0.5); }
#command .command-index-list li { min-height: 118px; padding: 20px 22px; border-right: 1px solid rgba(32, 37, 31, 0.24); }
#command .command-index-list li:last-child { border-right: 0; }
#command .command-index-list a { display: flex; height: 100%; flex-direction: column; justify-content: space-between; gap: 16px; }
#command .command-index-list strong { font-size: 18px; }
#command .command-index-list span { color: #585d53; font-size: 13px; line-height: 1.6; }

#defense { padding: var(--section-gap) 0; background: var(--paper); }
#defense .defense-head { display: grid; grid-template-columns: 1fr 0.72fr; gap: 80px; align-items: end; }
#defense .defense-guide { max-width: 520px; margin: 0 0 3px auto; color: #55594f; }
#defense .defense-list { margin-top: 64px; border-top: 2px solid var(--ink); }
#defense .defense-row { display: grid; grid-template-columns: 150px minmax(220px, 0.8fr) 1.25fr 170px; gap: 28px; align-items: start; padding: 28px 0; border-bottom: 1px solid rgba(32, 37, 31, 0.26); }
#defense .defense-role { font-size: 13px; font-weight: 800; color: var(--orange-dark); }
#defense .defense-row h3 { margin: 0; font-size: 22px; line-height: 1.45; }
#defense .defense-row p { margin: 0; color: #53584e; }
#defense .defense-tag { justify-self: end; padding: 5px 8px; border: 1px solid var(--olive-mid); border-radius: 4px; color: var(--olive-deep); font-size: 12px; font-weight: 800; }
#defense .unit-strip { display: grid; grid-template-columns: 280px 1fr; margin-top: 72px; background: var(--olive-deep); color: var(--sand-light); border-radius: var(--radius); overflow: hidden; }
#defense .unit-intro { padding: 34px; border-right: 1px solid rgba(255, 255, 255, 0.16); }
#defense .unit-intro h3 { margin: 0 0 16px; font-size: 25px; }
#defense .unit-intro p { margin: 0; color: #bdc0af; font-size: 15px; }
#defense .unit-list { display: grid; grid-template-columns: repeat(3, 1fr); }
#defense .unit-list article { padding: 32px; border-right: 1px solid rgba(255, 255, 255, 0.14); }
#defense .unit-list article:last-child { border-right: 0; }
#defense .unit-list strong { display: block; margin-bottom: 10px; color: var(--orange); font-size: 17px; }
#defense .unit-list p { margin: 0; color: #d1d1c3; font-size: 14px; }

#enemy { padding: var(--section-gap) 0; background: var(--rock); color: var(--white); }
#enemy .enemy-layout { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 86px; }
#enemy .enemy-principle { position: sticky; top: 46px; align-self: start; }
#enemy .section-kicker { color: var(--sand-light); }
#enemy .enemy-principle h2 { margin: 0; max-width: 430px; font-size: var(--h2); line-height: 1.26; }
#enemy .enemy-principle p { max-width: 430px; margin: 24px 0 0; color: #e0ddcf; }
#enemy .enemy-principle strong { display: block; margin-top: 34px; color: var(--orange); font-size: 20px; }
#enemy .enemy-list { border-top: 1px solid rgba(255, 255, 255, 0.48); }
#enemy .enemy-entry { display: grid; grid-template-columns: 110px 210px 1fr; gap: 24px; padding: 27px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
#enemy .enemy-code { color: var(--sand); font-size: 13px; font-weight: 800; }
#enemy .enemy-entry h3 { margin: 0; font-size: 21px; }
#enemy .enemy-entry p { margin: 0; color: #e2e0d7; font-size: 15px; }
#enemy .enemy-entry em { font-style: normal; color: #ffd3b8; }

#map-strategy { padding: var(--section-gap) 0; background: var(--sand-light); }
#map-strategy .map-head { display: grid; grid-template-columns: 1fr 0.75fr; gap: 80px; align-items: end; margin-bottom: 52px; }
#map-strategy .map-head .section-intro { margin: 0 0 3px auto; }
#map-strategy .map-board { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.65fr); border: 2px solid var(--olive-deep); border-radius: var(--radius); overflow: hidden; background: var(--olive-deep); }
#map-strategy .map-photo { position: relative; overflow: hidden; min-height: 590px; }
#map-strategy .map-photo img { width: 100%; height: 100%; min-height: 590px; object-fit: cover; object-position: center; filter: saturate(0.65) sepia(0.08); clip-path: inset(0 0 100% 0); transition: clip-path 0.95s cubic-bezier(0.18, 0.7, 0.2, 1); }
#map-strategy.is-visible .map-photo img { clip-path: inset(0 0 0 0); }
#map-strategy .map-photo figcaption { position: absolute; left: 22px; bottom: 20px; max-width: 330px; padding: 10px 12px; background: var(--paper); border-radius: 4px; color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.6; }
#map-strategy .route-console { padding: 34px 30px; background: var(--olive-deep); color: var(--sand-light); }
#map-strategy .route-console h3 { margin: 0 0 22px; font-size: 23px; }
#map-strategy .route-tab-list { display: grid; gap: 7px; }
#map-strategy .route-tab { display: flex; justify-content: space-between; gap: 14px; padding: 11px 12px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 4px; color: #c9cbbb; font-size: 14px; font-weight: 700; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
#map-strategy .route-tab::after { content: "→"; }
#map-strategy .route-tab:hover, #map-strategy .route-tab:focus-visible, #map-strategy .route-tab.is-active { background: var(--orange); border-color: var(--orange); color: var(--white); }
#map-strategy .route-panel { display: none; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.25); }
#map-strategy .route-panel.is-active { display: block; }
#map-strategy .route-panel strong { display: block; margin-bottom: 12px; color: var(--orange); font-size: 18px; }
#map-strategy .route-panel.is-active strong { color: #ffd0b3; }
#map-strategy .route-panel p { margin: 0; color: #d0d2c4; font-size: 15px; }
#map-strategy .route-panel ul { margin: 18px 0 0; padding: 0; list-style: none; }
#map-strategy .route-panel li { padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.13); font-size: 13px; color: #ebe8db; }

#tech { padding: var(--section-gap) 0; background: var(--olive-deep); color: var(--paper); }
#tech .tech-head { display: grid; grid-template-columns: 1fr 0.72fr; gap: 70px; align-items: end; }
#tech .section-kicker { color: var(--sand); }
#tech .tech-head .section-intro { margin: 0; color: #c2c5b5; }
#tech .tech-tree { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid rgba(255, 255, 255, 0.32); border-left: 1px solid rgba(255, 255, 255, 0.22); }
#tech .tech-branch { position: relative; min-height: 245px; padding: 29px 28px; border-right: 1px solid rgba(255, 255, 255, 0.22); border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
#tech .tech-branch::before { content: ""; position: absolute; left: 28px; top: -5px; width: 10px; height: 10px; background: var(--orange); border-radius: 50%; }
#tech .tech-branch span { display: block; margin-bottom: 18px; color: #9da68b; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; }
#tech .tech-branch h3 { margin: 0 0 14px; font-size: 22px; }
#tech .tech-branch p { margin: 0; color: #c9cbbb; font-size: 15px; }
#tech .tech-note { display: flex; justify-content: space-between; gap: 30px; margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.25); color: #b8bcaa; font-size: 14px; }
#tech .tech-note strong { color: var(--sand-light); }

#challenge { padding: var(--section-gap) 0; background: var(--paper); }
#challenge .challenge-head { display: grid; grid-template-columns: 1.1fr 0.7fr; gap: 70px; align-items: end; margin-bottom: 56px; }
#challenge .challenge-head .section-intro { margin: 0; }
#challenge .challenge-split { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 22px; }
#challenge .challenge-visual { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--radius); background: var(--rock); }
#challenge .challenge-visual img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: center; filter: saturate(0.65) contrast(1.02); }
#challenge .challenge-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; background: rgba(41, 49, 38, 0.9); color: var(--paper); }
#challenge .challenge-overlay span { display: block; margin-bottom: 7px; color: #f4a276; font-size: 13px; font-weight: 800; }
#challenge .challenge-overlay h3 { margin: 0 0 12px; font-size: 27px; }
#challenge .challenge-overlay p { max-width: 640px; margin: 0; color: #d8dacd; font-size: 15px; }
#challenge .endless-panel { display: flex; flex-direction: column; justify-content: space-between; padding: 38px; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); }
#challenge .endless-panel .mode-label { font-size: 13px; font-weight: 800; color: var(--orange-dark); }
#challenge .endless-panel h3 { margin: 16px 0 18px; font-size: 30px; line-height: 1.3; }
#challenge .endless-panel p { margin: 0; color: #4e5349; }
#challenge .endless-checks { margin: 36px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
#challenge .endless-checks li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(32, 37, 31, 0.24); font-size: 14px; font-weight: 700; }
#challenge .endless-checks li span { color: var(--olive); }
#challenge .ranking-strip { display: grid; grid-template-columns: 240px repeat(3, 1fr); margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
#challenge .ranking-strip strong, #challenge .ranking-strip span { padding: 18px 20px; border-right: 1px solid var(--line); }
#challenge .ranking-strip span:last-child { border-right: 0; }
#challenge .ranking-strip strong { background: var(--olive-deep); color: var(--paper); }
#challenge .ranking-strip span { background: var(--sand-light); font-size: 14px; font-weight: 700; }

#guide { padding: var(--section-gap) 0; background: var(--sand); }
#guide .guide-head { display: grid; grid-template-columns: 1fr 0.7fr; gap: 70px; align-items: end; margin-bottom: 56px; }
#guide .guide-head .section-intro { margin: 0; }
#guide .guide-layout { display: grid; grid-template-columns: 1.22fr 0.78fr; gap: 52px; }
#guide .guide-feature { display: grid; grid-template-columns: 0.92fr 1.08fr; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
#guide .guide-feature figure { min-height: 420px; overflow: hidden; }
#guide .guide-feature img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: center; filter: saturate(0.72); }
#guide .guide-feature-copy { padding: 32px; }
#guide .guide-feature-copy span { display: block; margin-bottom: 18px; color: var(--orange-dark); font-size: 13px; font-weight: 800; }
#guide .guide-feature-copy h3 { margin: 0; font-size: 29px; line-height: 1.35; }
#guide .guide-feature-copy p { margin: 20px 0 26px; color: #50554b; }
#guide .guide-list { border-top: 2px solid var(--ink); }
#guide .guide-entry { padding: 24px 0; border-bottom: 1px solid rgba(32, 37, 31, 0.32); }
#guide .guide-entry span { display: block; margin-bottom: 7px; color: var(--olive); font-size: 12px; font-weight: 800; }
#guide .guide-entry h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.55; }
#guide .guide-entry p { margin: 0; color: #585c52; font-size: 14px; }
#guide .guide-entry a { display: inline-block; margin-top: 13px; border-bottom: 2px solid var(--orange); font-size: 13px; font-weight: 800; }

footer.site-footer { margin-left: var(--header-width); background: #1f261e; color: var(--paper); }
footer .footer-shell { width: min(calc(100% - 80px), var(--container)); margin: 0 auto; padding: 70px 0 30px; }
footer .footer-statement { display: grid; grid-template-columns: 1.15fr 0.65fr; gap: 70px; align-items: end; padding-bottom: 52px; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
footer .footer-statement strong { display: block; max-width: 760px; font-size: clamp(30px, 4.4vw, 58px); line-height: 1.18; letter-spacing: -0.03em; }
footer .footer-statement p { max-width: 430px; margin: 0; color: #afb5a4; }
footer .footer-nav-list { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; }
footer .footer-nav-list a { font-size: 14px; font-weight: 700; color: #d2d5c8; }
footer .footer-nav-list a:hover, footer .footer-nav-list a:focus-visible { color: var(--orange); }
footer .footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; color: #8f9787; font-size: 12px; }
footer .footer-bottom strong { color: #c8cdbd; }

@media (max-width: 1280px) {
	:root { --header-width: 218px; --section-gap: 96px; }
	.section-shell { width: min(calc(100% - 56px), var(--container)); }
	header.site-header { padding: 28px 21px 22px; }
	header h1 { font-size: 21px; }
	#command .command-layout { grid-template-columns: minmax(280px, 0.8fr) minmax(440px, 1.2fr); gap: 42px; }
	#command h2 { font-size: clamp(36px, 5vw, 62px); }
	#defense .defense-row { grid-template-columns: 110px minmax(180px, 0.7fr) 1.25fr 140px; gap: 20px; }
	#enemy .enemy-layout { gap: 58px; }
	#map-strategy .map-board { grid-template-columns: 1.5fr 0.7fr; }
	footer .footer-shell { width: min(calc(100% - 56px), var(--container)); }
}
@media (max-width: 960px) {
	:root { --section-gap: 82px; }
	body.nav-open::after { content: ""; position: fixed; z-index: 88; inset: 0; background: rgba(16, 20, 16, 0.46); }
	header.site-header { position: sticky; top: 0; width: 100%; height: auto; min-height: 76px; padding: 12px 24px; display: grid; grid-template-columns: 1fr auto; align-items: center; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
	header .brand-lockup { display: flex; align-items: center; gap: 15px; padding: 0; border: 0; }
	header .brand-mark { width: 42px; height: 42px; margin: 0; font-size: 18px; }
	header h1 { font-size: 17px; }
	header .site-title-en { display: none; }
	header .menu-toggle { display: block; position: relative; z-index: 102; }
	header .site-nav { display: none; position: absolute; z-index: 101; left: 0; right: 0; top: 100%; margin: 0; padding: 18px 24px 26px; background: var(--olive-deep); border-top: 1px solid rgba(255, 255, 255, 0.14); }
	body.nav-open header .site-nav { display: block; }
	header .site-nav-list a { padding: 14px 2px; font-size: 15px; }
	header .header-status { display: none; }
	main { margin-left: 0; }
	#command { min-height: auto; padding-top: 34px; }
	#command .command-layout { grid-template-columns: 1fr 1.08fr; gap: 32px; }
	#command .command-index-list { margin-top: 52px; }
	#command .command-index-list li { min-height: 102px; padding: 17px 15px; }
	#defense .defense-head, #map-strategy .map-head, #tech .tech-head, #challenge .challenge-head, #guide .guide-head { grid-template-columns: 1fr; gap: 24px; }
	#defense .defense-guide, #map-strategy .map-head .section-intro { margin: 0; }
	#defense .defense-row { grid-template-columns: 90px 180px 1fr; gap: 18px; }
	#defense .defense-tag { grid-column: 2/4; justify-self: start; }
	#defense .unit-strip { grid-template-columns: 230px 1fr; }
	#defense .unit-list { grid-template-columns: 1fr; }
	#defense .unit-list article { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
	#defense .unit-list article:last-child { border-bottom: 0; }
	#enemy .enemy-layout { grid-template-columns: 1fr; gap: 44px; }
	#enemy .enemy-principle { position: static; }
	#map-strategy .map-board { grid-template-columns: 1.35fr 0.75fr; }
	#tech .tech-tree { grid-template-columns: repeat(2, 1fr); }
	#challenge .challenge-split { grid-template-columns: 1.1fr 0.9fr; }
	#challenge .ranking-strip { grid-template-columns: 180px repeat(3, 1fr); }
	#guide .guide-layout { grid-template-columns: 1fr; }
	footer.site-footer { margin-left: 0; }
}
@media (max-width: 768px) {
	:root { --body: 16px; --section-gap: 72px; }
	.section-shell { width: calc(100% - 36px); }
	.section-heading { font-size: clamp(28px, 7vw, 38px); }
	header.site-header { padding: 11px 18px; }
	#command .command-topline { margin-bottom: 34px; }
	#command .command-topline span:last-child { display: none; }
	#command .command-layout { display: flex; flex-direction: column; gap: 34px; }
	#command .command-copy { width: 100%; }
	#command h2 { font-size: clamp(36px, 9vw, 50px); }
	#command .tactical-figure { width: 100%; padding: 12px 0 18px 12px; order: 2; }
	#command .command-copy { order: 1; }
	#command .map-marker { font-size: 11px; }
	#command .map-marker.marker-b { right: 4%; }
	#command .tactical-caption { display: block; }
	#command .tactical-caption span:last-child { display: block; margin-top: 5px; }
	#command .command-index-list { grid-template-columns: 1fr 1fr; }
	#command .command-index-list li { border-bottom: 1px solid rgba(32, 37, 31, 0.24); }
	#command .command-index-list li:nth-child(2) { border-right: 0; }
	#command .command-index-list li:nth-child(3), #command .command-index-list li:nth-child(4) { border-bottom: 0; }
	#defense .defense-list { margin-top: 44px; }
	#defense .defense-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
	#defense .defense-tag { grid-column: auto; justify-self: start; margin-top: 8px; }
	#defense .unit-strip { grid-template-columns: 1fr; }
	#defense .unit-intro { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
	#enemy .enemy-entry { grid-template-columns: 72px 1fr; gap: 12px; }
	#enemy .enemy-entry p { grid-column: 2; }
	#map-strategy .map-board { grid-template-columns: 1fr; }
	#map-strategy .map-photo, #map-strategy .map-photo img { min-height: 420px; }
	#map-strategy .route-console { padding: 28px 24px; }
	#tech .tech-tree { grid-template-columns: 1fr 1fr; }
	#tech .tech-branch { min-height: 220px; padding: 25px 22px; }
	#tech .tech-note { display: block; }
	#tech .tech-note span { display: block; margin-top: 7px; }
	#challenge .challenge-split { grid-template-columns: 1fr; }
	#challenge .challenge-visual, #challenge .challenge-visual img { min-height: 430px; }
	#challenge .endless-panel { min-height: 390px; padding: 30px; }
	#challenge .ranking-strip { grid-template-columns: 1fr 1fr; }
	#challenge .ranking-strip strong, #challenge .ranking-strip span { border-bottom: 1px solid var(--line); }
	#challenge .ranking-strip span:nth-child(2) { border-right: 0; }
	#challenge .ranking-strip span:nth-child(3), #challenge .ranking-strip span:nth-child(4) { border-bottom: 0; }
	#guide .guide-feature { grid-template-columns: 1fr; }
	#guide .guide-feature figure, #guide .guide-feature img { min-height: 340px; }
	footer .footer-shell { width: calc(100% - 36px); padding-top: 58px; }
	footer .footer-statement { grid-template-columns: 1fr; gap: 24px; }
	footer .footer-bottom { display: block; }
	footer .footer-bottom span { display: block; margin-top: 5px; }
}
@media (max-width: 500px) {
	:root { --section-gap: 62px; }
	body { font-size: 16px; }
	.section-shell { width: calc(100% - 28px); }
	.section-kicker { margin-bottom: 14px; }
	.section-intro { line-height: 1.78; }
	.action-link { width: 100%; justify-content: space-between; }
	header .brand-mark { width: 38px; height: 38px; }
	header h1 { max-width: 210px; font-size: 15px; }
	header .menu-toggle { padding: 8px 10px; font-size: 14px; }
	#command { padding-top: 25px; }
	#command .command-label { font-size: 12px; }
	#command h2 { font-size: clamp(32px, 10vw, 38px); line-height: 1.2; }
	#command .command-lead { font-size: 16px; }
	#command .command-actions { display: grid; grid-template-columns: 1fr; }
	#command .tactical-figure { padding-left: 7px; }
	#command .tactical-figure::before { right: 12px; top: 24px; }
	#command .map-marker { padding: 4px 6px; }
	#command .map-marker b { width: 18px; height: 18px; }
	#command .map-marker.marker-a { left: 7%; top: 22%; }
	#command .map-marker.marker-b { right: 2%; top: 37%; }
	#command .map-marker.marker-c { left: 34%; bottom: 12%; }
	#command .command-index-list { grid-template-columns: 1fr; }
	#command .command-index-list li { min-height: auto; padding: 15px 4px; border-right: 0; border-bottom: 1px solid rgba(32, 37, 31, 0.24); }
	#command .command-index-list li:nth-child(3) { border-bottom: 1px solid rgba(32, 37, 31, 0.24); }
	#command .command-index-list li:last-child { border-bottom: 0; }
	#command .command-index-list a { gap: 5px; }
	#defense .unit-intro, #defense .unit-list article { padding: 25px 22px; }
	#enemy .enemy-entry { grid-template-columns: 1fr; }
	#enemy .enemy-entry p { grid-column: auto; }
	#map-strategy .map-photo, #map-strategy .map-photo img { min-height: 320px; }
	#map-strategy .map-photo figcaption { left: 12px; right: 12px; bottom: 12px; }
	#tech .tech-tree { grid-template-columns: 1fr; }
	#tech .tech-branch { min-height: auto; }
	#challenge .challenge-visual, #challenge .challenge-visual img { min-height: 390px; }
	#challenge .challenge-overlay { padding: 22px; }
	#challenge .ranking-strip { grid-template-columns: 1fr; }
	#challenge .ranking-strip strong, #challenge .ranking-strip span { border-right: 0; border-bottom: 1px solid var(--line); }
	#challenge .ranking-strip span:nth-child(2), #challenge .ranking-strip span:nth-child(3) { border-bottom: 1px solid var(--line); }
	#challenge .ranking-strip span:last-child { border-bottom: 0; }
	#guide .guide-feature figure, #guide .guide-feature img { min-height: 270px; }
	#guide .guide-feature-copy { padding: 24px 20px; }
	#guide .guide-feature-copy h3 { font-size: 24px; }
	footer .footer-shell { width: calc(100% - 28px); }
	footer .footer-nav-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
	#command .tactical-media img, #map-strategy .map-photo img { clip-path: none; }
}