/* Colors, typography and motion. Geometry is owned by layout.css. */
#scene-title:focus { outline: none; }
.gold { border: 1px solid #817451; border-radius: 7px; color: var(--gold); background: #312d23; font-size: .85rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.adventure-notice { color: #bde3c8; font-size: .8rem; }
.battle-tools > strong { color: var(--gold); font-size: .85rem; }
.journey-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 11px; }
.journey-panel h2 { font-size: clamp(1.22rem, 3vw, 1.85rem); letter-spacing: -.035em; }
.journey-copy { color: var(--muted); line-height: 1.6; font-size: .89rem; }
.journey-tags span, .floors li { border: 1px solid var(--line); border-radius: 5px; background: #192b2c; color: #d9e3d8; font-size: .77rem; }
.journey-banner { isolation: isolate; background: radial-gradient(ellipse at 84% 20%, #4c6753 0%, #263f3b 30%, #172a2b 68%); }
.town-scene { border-radius: 8px; }
.ui-icon { object-fit: contain; vertical-align: middle; }
.room-art { object-fit: contain; }
.journey-panel .primary { color: #1c2424; background: var(--gold); font-weight: 800; border-color: #d0b475; }
.journey-panel .primary:hover:not(:disabled) { background: #ffe7a9; color: #121d1e; }
.town-services .journey-panel h2 { font-size: 1.13rem; }
.shop summary { cursor: pointer; color: var(--gold); font-weight: 800; }
.shop summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.shop-row { border-bottom: 1px solid var(--line); }
.shop-item small, .room-actions small { color: var(--muted); font-size: .75rem; }
.shop-actions button { font-size: .75rem; }
.gear { font-size: .83rem; }
.travel-party progress { accent-color: #a2d5aa; }
.travel-vitals { color: var(--muted); font-size: .75rem; line-height: 1.4; }
.equipped { color: var(--gold); font-size: .75rem; }
.member-detail-trigger { text-align: left; }
.member-detail-link { color: var(--gold); font-size: .75rem; }
.member-detail { color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--unit-color); border-radius: 12px; box-shadow: 0 18px 55px #0009; }
.member-detail::backdrop { background: #080e13c7; }
.confirmation { color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.confirmation::backdrop { background: #080e13c7; }
.member-detail-meta { color: var(--muted); font-size: .85rem; }
.member-detail-stats { font-variant-numeric: tabular-nums; }
.member-detail-stats > div { background: #192b2c; border-radius: 6px; }
.member-detail-stats dt { color: var(--muted); font-size: .75rem; }
.member-detail-stats dd { font-size: .93rem; font-weight: 700; }
.member-detail h3 { color: var(--gold); font-size: .9rem; }
.member-detail-gear p { font-size: .88rem; }
.equipment-slot { border-top: 1px solid var(--line); }
.equipment-compare, .party-equipment { font-size: .75rem; line-height: 1.6; }
.equipment-icon { border-radius: 6px; color: #192b2c; font-weight: bold; }
.shop-row[data-locked='true'] { opacity: .55; }
.shop-item strong { font-size: 1rem; }
.equipment-dialog h2 { font-size: 1.15rem; }
.equipment-member { border: 1px solid var(--line); border-radius: 8px; }
.equipment-member label { font-size: .8rem; }
.equip-member { text-align: left; white-space: normal; }
.equip-member span { font-size: .8rem; }
.new-equipment { font-weight: bold; line-height: 1.6; }
.level-up { color: var(--gold); }
.member-detail-skill { border-top: 1px solid var(--line); }
.member-detail-skill h4 { font-size: .9rem; }
.member-detail-skill small { color: var(--gold); }
.member-detail-skill p { color: var(--muted); line-height: 1.5; font-size: .85rem; }
.floors { list-style: none; }
.floors li[aria-current='step'] { color: #fff0bd; border-color: #ae955e; background: #3c3627; }
.route-board { isolation: isolate; border: 1px solid #8f9a6a; border-radius: 14px; background: #adb67a center / cover; }
.route-board svg { pointer-events: none; }
.route-board path { fill: none; stroke: #4c5534; stroke-width: 2; stroke-dasharray: 5 6; opacity: .65; vector-effect: non-scaling-stroke; }
.route-board path.passed { stroke: #294734; stroke-width: 5; stroke-dasharray: none; opacity: 1; }
.route-board path.open { stroke: #fff1a6; stroke-width: 5; stroke-dasharray: 9 5; opacity: 1; filter: drop-shadow(0 1px 1px #374524); }
.route { transform: translate(-50%, -50%); border: 2px solid #7d805e; border-radius: 12px; text-align: center; line-height: 1.35; color: #343b27; background: #f4eddb; box-shadow: 0 3px 0 #4e513b55; }
.route-icon { object-fit: contain; }
.route-symbol { font-size: 1.4rem; color: #74561e; }
.member-dialogue { border-left: 3px solid #9ba968; background: #203d36; color: #f2f5df; line-height: 1.65; }
.route-kind { font-size: .75rem; color: #515b40; }
.route strong { font-size: .88rem; }
.route .route-state { font-size: .75rem; color: #505b43; }
.route:disabled { opacity: 1; cursor: default; }
.route:not(:disabled) { opacity: 1; border-color: #335739; background: #fffbea; box-shadow: 0 3px 0 #335739; }
.route:not(:disabled) .route-state { color: #fff9dc; background: #355438; border-radius: 4px; }
.route:not(:disabled):hover, .route:focus-visible { background: #ecf0d1; border-color: #233d26; outline-color: #fff6ae; }
.route[data-visited='true'] { opacity: 1; background: #dce6c6; border-color: #536c46; }
.route[aria-current='location'] { border-color: #fff0a3; box-shadow: 0 0 0 2px #354f32; }
.route-hints { list-style: none; font-size: .75rem; line-height: 1.45; }
.route-hints li { border: 1px solid var(--line); border-radius: 6px; color: #bfccbc; }
.route-hints .available-reward { border-color: #8c956a; color: #f3e4b7; background: #293c31; }
.travel-canvas { border-radius: 6px 6px 0 0; }
.room-actions button { text-align: left; }
.result-card { border: 42px solid transparent; border-image-slice: 260 fill; border-image-width: 42px; border-radius: 0; background: none; color: #493622; text-align: center; }
.result-card .eyebrow, .result-card .journey-copy { color: #655135; }
.result-card .journey-tags span { background: #fff9e8; color: #493622; border-color: #ccb88a; }
.result-emblem { object-fit: contain; }
.region-card[data-locked="true"] { opacity: .65; }
.route-backdrop { pointer-events: none; }
.cavern-map { background: #191c36; }
.cavern-map path { stroke: #aba1ca; }
.cavern-map path.passed { stroke: #b8a4ed; }
.cavern-map path.open { stroke: #f4eaff; }
.ending-portraits { border-radius:12px; }
.ending-roster { list-style:none; font-size:14px; }
.dialogue-bubble { box-sizing: border-box; color: #fff1d2; background: #253533; border: 1px solid #a9bca4; border-radius: .8rem; white-space: normal; line-height: 1.6; pointer-events: none; }
.member-dialogue, .room-card, .room-actions, .room-actions button, .room-actions small { white-space: normal; }
