/* Keep the illustrated board; give both languages enough room to breathe. */
.city{grid-template-rows:repeat(4,minmax(194px,auto))}
.place{min-height:194px;height:auto}.place-top{height:auto;min-height:20px;flex-wrap:wrap;gap:6px}
.place-name{overflow-wrap:anywhere}.place-desc{flex-wrap:wrap}.place-art{flex-shrink:0;height:75px}
.hero{flex-wrap:wrap}.hero-copy{flex:1 1 380px}.time-card{max-width:100%}
.hud-label{white-space:normal}.hud-note{white-space:normal}
.section-bar{flex-wrap:wrap}.masthead{flex-wrap:wrap}.toolbar{flex-wrap:wrap}
.brand,.small-btn,.hours-head,.week-total,.time-caption,.hud-label,.hud-note,.section-bar,.section-bar .quiet,.place-index,.place-desc,.map-legend,.goal-sub,.goal-count,.rival-score,.ticker,.footer{font-size:14px}
.place-tag{font-size:12px}.place-tag:not(.rival){color:var(--white)}
.modal-kicker{line-height:1.5}.modal h2{overflow-wrap:anywhere}.intro-top{padding-right:160px}
.room-actions{grid-template-columns:minmax(0,1fr) auto}.room-actions input{min-width:0;width:100%}
.room-player{gap:12px;overflow-wrap:anywhere}.room-player>span{min-width:0}
:lang(bg){--display:"Segoe UI",Arial,sans-serif}
:lang(bg) .hero h1,:lang(bg) .modal h2,:lang(bg) .interior-heading h2{font-weight:900;letter-spacing:-.025em;line-height:1.08}
:lang(bg) .hero h1 .in{letter-spacing:0}
:lang(bg) .progress-drawer summary:after{content:"ОТВОРИ +"}
:lang(bg) .progress-drawer[open] summary:after{content:"ЗАТВОРИ −"}
.progress-drawer summary:after{flex-shrink:0}
:root[data-theme="dark"]{--paper:#141c19;--white:#22332b;--ink:#f3f5ed;--muted:#c3d1c6;--line:#82988b;--green:#354e2a;--orange:#ff986d;--purple:#453655;--mint:#294b3f;--blue:#304e60;--shadow:3px 3px 0 #070d0a}
[data-theme="dark"] body{background-image:radial-gradient(#d3e4d015 .8px,transparent .8px)}
[data-theme="dark"] .hud-cell:nth-child(1){background:#3b3521}
[data-theme="dark"] .hud-cell:nth-child(2){background:#2c4128}
[data-theme="dark"] .hud-cell:nth-child(3){background:#443126}
[data-theme="dark"] .hud-cell:last-child{background:#3a2e49}
[data-theme="dark"] .hud-cell.warn{background:#5c3028}
[data-theme="dark"] .city{background-color:#263b32}
[data-theme="dark"] .town-center{background:#35472d;border-color:#829d70}
[data-theme="dark"] .place.selected{background:#494229}
[data-theme="dark"] .place.current{background:#3b4d29}
[data-theme="dark"] .place.route-step{background:#63512b}
[data-theme="dark"] .place:hover{box-shadow:3px 4px 0 #080f0b}
[data-theme="dark"] .place-tag{background:#d8e9c4;color:#152318}
[data-theme="dark"] .place-tag.rival{background:#cdb7eb;color:#251d31}
[data-theme="dark"] .time-ticks i.empty{background:#607651}
[data-theme="dark"] .mini-meter,[data-theme="dark"] .goal-track{background:#485549}
[data-theme="dark"] .action-heading{background:#354b3c}
[data-theme="dark"] .here-pill{background:#27392e;color:#f3f5ed}
[data-theme="dark"] .location-detail{background:#2e4136}
[data-theme="dark"] .action-key{background:#34483b}
[data-theme="dark"] .action:hover:not(:disabled){background:#3b5231;box-shadow:2px 2px 0 #080f0b}
[data-theme="dark"] .action:disabled{background:#29352e;color:#b4bfb7;border-color:#62766a}
[data-theme="dark"] .action:disabled .action-desc{color:#bdc9c0}
[data-theme="dark"] .action-lock{color:#ffb199}
[data-theme="dark"] .interior-scene{background:color-mix(in srgb,var(--accent) 14%,#22332b)}
[data-theme="dark"] .interior-scene .clerk-quote{background:#1d2c24}
[data-theme="dark"] .end-week{background:#695086;color:#fff;border-color:#ae95ca;box-shadow:3px 3px 0 #080f0b}
[data-theme="dark"] .end-week:hover{background:#7d60a0}
[data-theme="dark"] .progress-drawer summary,[data-theme="dark"] .rival-card,[data-theme="dark"] .online-banner,[data-theme="dark"] .weekend-top{background:#3d304d}
[data-theme="dark"] .journal{background:#1d2c24}
[data-theme="dark"] .journal-head{background:#304237}
[data-theme="dark"] .log-entry{border-color:#465849}
[data-theme="dark"] .log-entry.good .log-text{color:#b9e4a4}
[data-theme="dark"] .log-entry.bill .log-text{color:#ffc0a1}
[data-theme="dark"] .log-entry.event .log-text{color:#dbbce8}
[data-theme="dark"] .log-entry.travel{color:#cad7c9}
[data-theme="dark"] .modal-top{background:#354b2d}
[data-theme="dark"] .modal-top.weekend-top{background:#493858}
[data-theme="dark"] .primary,[data-theme="dark"] .travel-button,[data-theme="dark"] .ticker strong,[data-theme="dark"] .player-token{color:#152018}
[data-theme="dark"] .secondary:hover,[data-theme="dark"] .choice:hover:not(:disabled){background:#425c35}
[data-theme="dark"] .choice,[data-theme="dark"] .welcome-goal,[data-theme="dark"] .pill{background:#30442b}
[data-theme="dark"] .weekend-ledger,[data-theme="dark"] .waiting-note{background:#303e2b}
[data-theme="dark"] .room-player{background:#2a3b30}
[data-theme="dark"] .room-player.active{background:#4a3c27}
[data-theme="dark"] .room-actions input{background:#19271f;color:#f3f5ed}
[data-theme="dark"] .event-stamp{color:#ffbeaa;border-color:#ffbeaa}
[data-theme="dark"] .toast{background:#d9e8cc;color:#122016;box-shadow:3px 3px 0 #ff986d}
[data-theme="dark"] .toast.bad{background:#6b3329;color:#fff2e9}
[data-theme="dark"] button:focus-visible,[data-theme="dark"] input:focus-visible,[data-theme="dark"] summary:focus-visible{outline-color:#ffb88a}
[data-theme="dark"] .float-delta{color:#baf69b}[data-theme="dark"] .float-delta.negative{color:#ffc0a1}
@media(max-width:880px){.hero-copy{flex-basis:100%}.time-card{flex-basis:100%}.city{grid-template-rows:repeat(4,minmax(220px,auto))}}
@media(max-width:560px){.city{grid-template-rows:none}.place{min-height:208px}.place-art{height:80px}.place-name{font-size:15px}.place-desc,.place-index{font-size:13px}.place-tag{font-size:11px}.intro-top{padding-right:26px}.intro-art{display:none}.intro-top h2{font-size:36px}.room-actions{grid-template-columns:1fr}.time-card{grid-template-columns:50px 58px minmax(0,1fr);gap:9px}.hours-head{flex-wrap:wrap}.progress-drawer summary{flex-wrap:wrap}.interior-heading h2{font-size:34px}.modal-shade{padding:12px}.modal{max-height:calc(100dvh - 24px)}}
