/* Warm brass, slate and illustrated heraldry; layout rules remain in style.css. */
:root { background: #141f23; color: #f0e6cf; }
body { background: radial-gradient(ellipse at 30% 0, #33423b55, transparent 65%), repeating-linear-gradient(115deg, #ffffff02 0 1px, transparent 1px 7px); }
header { border-bottom: 1px solid #b4995833; padding-bottom: 9px; }
.brand { display: flex; align-items: center; gap: 12px; }
.crest { width: 38px; height: 45px; flex: none; filter: drop-shadow(0 3px 3px #0006); }
header .eyebrow { color: #c0ab7f; font-size: 9px; letter-spacing: 2.2px; }
h1 { color: #f3e6c8; text-shadow: 0 2px 0 #0005; }
header button { border-color: #a28a5666; color: #e5d0a2; }
.resource { background: linear-gradient(125deg, #37413a, #263632); border-color: #b9a06d4d; box-shadow: inset 0 1px #e6d7a912, 0 3px 8px #0002; }
.resource-label { display: inline-flex; align-items: center; gap: 8px; color: #ded0ad; }
.resource b { color: #f6dfac; font-family: Georgia, serif; text-shadow: 0 2px #0004; }
.game-icon { display: inline-block; width: 25px; height: 25px; vertical-align: middle; flex: none; filter: drop-shadow(0 2px 1px #0003); }
.resource .game-icon { width: 24px; height: 24px; }
.command-bar { background: linear-gradient(90deg, #293c36, #24342f); border-color: #b69c5c55; box-shadow: inset 0 1px #f4dfac0a; }
.map-viewport { background: radial-gradient(ellipse, #33483c, #192b29); border: 1px solid #b49b5d66; box-shadow: inset 0 0 30px #09191666, 0 6px 18px #0002; }
.map-wrap { border-color: #d7bd7b99; border-radius: 8px; box-shadow: 0 0 0 3px #172c2a, 0 0 0 4px #b69d5c55, 0 8px 22px #06130d66; }
.map-wrap::after { content: ''; position: absolute; inset: 5px; border: 1px solid #f4e1a72e; border-radius: 4px; pointer-events: none; }
.map-badge { background: #263e32eb; color: #f2e1b6; border-color: #d9bb7180; font-size: 8px; letter-spacing: 1.2px; box-shadow: 0 2px 5px #1b2c2855; }
.panel { background: linear-gradient(135deg, #2a3835, #1e2e2d); border-color: #b3a17444; border-radius: 9px; box-shadow: inset 0 1px #f3e3b30b, 0 3px 8px #0002; }
.panel h2 { color: #efddaf; font-family: Georgia, serif; letter-spacing: .2px; }
.panel p { color: #c0c6b4; }
.siege { border-top: 2px solid #c1a164; }
#timer { font-family: Georgia, serif; font-size: 36px; color: #f5e7c8; }
.rival-panel { border-left: 2px solid #aa7858; }
button { background: linear-gradient(#394941, #2d3c36); border-color: #8c957d66; box-shadow: inset 0 1px #f6e2b211; }
button:hover { background: linear-gradient(#4b5c4a, #3b4b3e); border-color: #c6b079; }
button:active:not(:disabled) { box-shadow: inset 0 2px 5px #14262088; }
.tools button { font-size: 12px; }
.tools button > .game-icon { margin-right: 6px; }
.tools button > span { color: #bac5ac; }
.tools .active { border-color: #e6c482; background: linear-gradient(120deg, #6b5f3b, #3c4935); box-shadow: inset 0 0 0 1px #e7c78022; }
.primary { background: linear-gradient(120deg, #ecd397, #c89c53); color: #263428; border-color: #e8cd8e; text-shadow: 0 1px #fff1b64d; }
.primary:hover { background: linear-gradient(120deg, #f4deaa, #deb56b); }
#raid { background: linear-gradient(120deg, #557e69, #345e51); border-color: #96b48d; }
.quiet { background: #152a2422; }
dialog { background: linear-gradient(135deg, #2c3b35, #172d2b); border-color: #b8a16b; }
.save-panel { background: #34473c88; border-color: #9b9a7355; }
.status { color: #d9d5be; }
aside { scrollbar-color: #8b9979 #1d302b; }
footer { color: #9aab96; }
.hero-panel { border-color: #b6a0cb88; background: linear-gradient(135deg, #34394b, #223936); }
.hero-panel .eyebrow { color: #cbb7e0; font-size: 9px; letter-spacing: 1.5px; }
.hero-panel .tools { grid-template-columns: 1fr; }
.hero-recruit { border-color: #d7bf7a; background: linear-gradient(120deg, #625579, #395c66); min-height: 70px; }
.hero-recruit > .game-icon { width: 35px; height: 35px; }
.hero-panel .hero-stats { color: #f1d99a; font-weight: 700; }
#hero-stock { display: block; font-size: 12px; color: #d3dcd1; }
#hero-progress { width: 100%; height: 9px; accent-color: #b6d9d0; margin-top: 8px; }
#scout, #scout-return { margin-top: 9px; }
#scout { border-color: #9db6a4; background: linear-gradient(120deg, #364a45, #263b39); }
#scout span { display: block; margin-top: 3px; color: #c0d0bd; font-size: 10px; }
.scout-report { border-color: #98b99b88; }
#scout-inspection { border-top: 1px solid #99b18a55; padding-top: 12px; color: #f1dfb1; min-height: 60px; }
.siege #scout-work { color: #f4d99b; padding: 9px; border: 1px solid #c2a36288; border-radius: 6px; background: #524c3322; }
.panel .rival-history { font-size: 11px; color: #aecaab; }
@media (max-width: 1100px) { .resource-label { gap: 5px; } .resource .game-icon { width: 20px; height: 20px; } }
@media (max-width: 700px) { header { padding-bottom: 5px; } .brand { gap: 7px; } .crest { width: 28px; height: 34px; } header .eyebrow { font-size: 7px; letter-spacing: 1px; } .resource-label { gap: 3px; } .resource .game-icon { width: 16px; height: 16px; } .map-badge { font-size: 6px; } }
@media (max-height: 600px) and (min-width: 701px), (max-height: 500px) and (orientation: landscape) { header { padding-bottom: 3px; } .crest { width: 24px; height: 28px; } #timer { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { button { transition: none; } }

@media (max-width: 700px) { .resource { flex-direction: column; justify-content: center; align-items: center; padding: 4px; } .resource-label { flex-direction: column; gap: 1px; font-size: 9px; } }
