/* My Romanian Car — page + in-game overlays. Warm late-80s palette: dusty gold, rust, faded cream paper.
   No backdrop-filter / blend modes over the WebGL canvas (they stall the frame loop); overlays use only colour + opacity. */
:root {
    --mrc-bg: #1c1712; --mrc-panel: #2a231b; --mrc-edge: #5a4a35; --mrc-cream: #efe3c4; --mrc-paper: #f4ead0; --mrc-ink: #2a2118;
    --mrc-gold: #e0b44c; --mrc-rust: #b5532a; --mrc-good: #39e36a; --mrc-warn: #ffb020; --mrc-bad: #ff4a3d; --mrc-muted: #b7a98b;
}
body.mrc-page { background: var(--mrc-bg); color: var(--mrc-cream); overflow-x: clip; }
.mrc-main { max-width: 1280px; margin: 0 auto; padding: 88px 16px 32px; }
.mrc-intro-head { max-width: 860px; margin: 0 auto 14px; text-align: center; }
.mrc-intro-head h1 { font-weight: 800; letter-spacing: 0.02em; color: var(--mrc-gold); margin: 0 0 6px; }
.mrc-intro-head p { color: var(--mrc-cream); opacity: 0.9; margin: 0; }
.mrc-eyebrow { font-size: 0.75rem; letter-spacing: 0.16em; color: var(--mrc-muted) !important; margin-bottom: 4px !important; }
.mrc-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 82vh; background: #000; border: 2px solid var(--mrc-edge); border-radius: 10px; overflow: hidden; user-select: none; -webkit-user-select: none; outline: none; }
.mrc-stage:fullscreen { max-height: none; border: 0; border-radius: 0; aspect-ratio: auto; width: 100vw; height: 100vh; }
.mrc-canvas { display: block; width: 100%; height: 100%; }
.mrc-loading { position: absolute; inset: 0; display: grid; place-items: center; background: var(--mrc-bg); text-align: center; }
.mrc-loading b { display: block; font-size: 1.3rem; color: var(--mrc-gold); } .mrc-loading span { color: var(--mrc-muted); }
.mrc-below { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 10px; }
.mrc-small { font-size: 0.8rem; color: var(--mrc-muted); }
.mrc-help { margin-top: 14px; background: var(--mrc-panel); border: 1px solid var(--mrc-edge); border-radius: 10px; padding: 10px 14px; }
.mrc-help summary { cursor: pointer; font-weight: 700; color: var(--mrc-gold); }
.mrc-help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-top: 8px; }
.mrc-help h3 { font-size: 1rem; color: var(--mrc-gold); }
kbd { background: #3b3126; color: var(--mrc-cream); border: 1px solid #6b5a42; border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; font-size: 0.78em; font-family: inherit; }
.mrc-hide { display: none !important; }

/* ---- HUD ---- */
.mrc-cross { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.85); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5); pointer-events: none; }
.mrc-cross[data-k="good"] { border-color: var(--mrc-good); } .mrc-cross[data-k="warn"] { border-color: var(--mrc-warn); } .mrc-cross[data-k="bad"] { border-color: var(--mrc-bad); }
.mrc-info { position: absolute; left: 50%; top: calc(50% + 22px); transform: translateX(-50%); max-width: min(620px, 92%); text-align: center; pointer-events: none; background: rgba(20, 16, 12, 0.78); border: 1px solid rgba(224, 180, 76, 0.35); border-radius: 8px; padding: 5px 12px; }
.mrc-info-t { font-weight: 700; color: var(--mrc-cream); font-size: 0.92rem; } .mrc-info-s { color: var(--mrc-muted); font-size: 0.78rem; }
.mrc-info[data-k="good"] .mrc-info-t { color: var(--mrc-good); } .mrc-info[data-k="warn"] .mrc-info-t { color: var(--mrc-warn); } .mrc-info[data-k="bad"] .mrc-info-t { color: var(--mrc-bad); }
.mrc-mode { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; gap: 6px; pointer-events: none; flex-wrap: wrap; justify-content: center; max-width: 96%; }
.mrc-mode span { background: rgba(20, 16, 12, 0.72); border: 1px solid #4b3e2e; border-radius: 7px; padding: 3px 9px; font-size: 0.8rem; color: var(--mrc-muted); }
.mrc-mode span.on { color: var(--mrc-cream); border-color: var(--mrc-gold); } .mrc-mode span.on b { color: var(--mrc-gold); } .mrc-mode .hold { color: var(--mrc-cream); border-color: #7a6a52; }
.mrc-hint { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-size: 0.72rem; color: rgba(239, 227, 196, 0.75); pointer-events: none; text-shadow: 0 1px 2px #000; }
.mrc-toasts { position: absolute; left: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; max-width: min(460px, 42%); pointer-events: none; }
.mrc-toast { background: rgba(20, 16, 12, 0.86); border-left: 4px solid var(--mrc-gold); border-radius: 6px; padding: 6px 10px; font-size: 0.85rem; color: var(--mrc-cream); transition: opacity 0.4s; }
.mrc-toast[data-k="good"] { border-color: var(--mrc-good); } .mrc-toast[data-k="warn"] { border-color: var(--mrc-warn); } .mrc-toast[data-k="bad"] { border-color: var(--mrc-bad); }
.mrc-toast.out { opacity: 0; }
.mrc-stats { position: absolute; right: 12px; top: 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; max-width: 60%; pointer-events: none; }
.mrc-stats > span { background: rgba(20, 16, 12, 0.78); border: 1px solid #4b3e2e; border-radius: 7px; padding: 3px 8px; font-size: 0.82rem; }
.mrc-stats .money { color: var(--mrc-gold); font-weight: 800; } .mrc-stats .clock { font-variant-numeric: tabular-nums; }
.mrc-stats .bar { position: relative; width: 64px; padding-left: 22px !important; }
.mrc-stats .bar i { display: block; height: 7px; border-radius: 4px; background: var(--mrc-good); }
.mrc-stats .bar.warn i { background: var(--mrc-warn); } .mrc-stats .bar.bad i { background: var(--mrc-bad); }
.mrc-stats .bar { display: flex !important; align-items: center; gap: 4px; }
.mrc-drive { position: absolute; right: 14px; bottom: 30px; display: grid; grid-template-columns: auto auto; gap: 4px 12px; align-items: center; background: rgba(20, 16, 12, 0.8); border: 1px solid #4b3e2e; border-radius: 10px; padding: 8px 12px; pointer-events: none; }
.mrc-drive .spd b { font-size: 2rem; color: var(--mrc-cream); font-variant-numeric: tabular-nums; } .mrc-drive .spd small { margin-left: 4px; color: var(--mrc-muted); }
.mrc-drive .gear { font-size: 1.7rem; font-weight: 800; color: var(--mrc-gold); text-align: center; }
.mrc-drive .rpm { grid-column: 1 / -1; } .mrc-drive .rpm i { display: block; height: 6px; background: linear-gradient(90deg, var(--mrc-good), var(--mrc-warn) 70%, var(--mrc-bad)); border-radius: 3px; } .mrc-drive .rpm small { color: var(--mrc-muted); font-size: 0.7rem; }
.mrc-drive .lamps { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; }
.mrc-drive .lamps span { font-size: 0.68rem; font-weight: 800; padding: 1px 5px; border-radius: 4px; background: #333; }
.mrc-drive .lamps .r { background: var(--mrc-bad); color: #fff; } .mrc-drive .lamps .a { background: var(--mrc-warn); color: #221; } .mrc-drive .lamps .lim { background: #fff; color: #c00; border: 2px solid #c00; border-radius: 50%; }
.mrc-drive .lamps .blk { background: #1d2b1f; color: #2e5a36; } .mrc-drive .lamps .blk.on { background: #1f8a3a; color: #eaffea; }   /* the indicator arrow, blinking */
.mrc-drive .lamps .radio { background: #1d2b1f; color: #7dff9a; }
.mrc-sub { position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%); max-width: 80%; background: rgba(0, 0, 0, 0.75); color: #fff; padding: 6px 14px; border-radius: 6px; font-size: 0.95rem; text-align: center; pointer-events: none; }
.mrc-fade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; transition: opacity 0.6s; }
.mrc-lock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(20, 16, 12, 0.9); color: var(--mrc-cream); border: 2px solid var(--mrc-gold); border-radius: 12px; padding: 16px 22px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.mrc-lock b { font-size: 1.1rem; color: var(--mrc-gold); } .mrc-lock span { font-size: 0.8rem; color: var(--mrc-muted); }

/* ---- panels ---- */
.mrc-panels { position: absolute; inset: 0; display: none; place-items: center; background: rgba(10, 8, 6, 0.55); padding: 16px; }
.mrc-panels.on { display: grid; }
.mrc-panel { background: var(--mrc-panel); border: 2px solid var(--mrc-edge); border-radius: 12px; padding: 18px 20px; width: min(560px, 100%); max-height: 100%; overflow: auto; color: var(--mrc-cream); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); }
.mrc-panel h3 { color: var(--mrc-gold); font-size: 1.15rem; margin: 0 0 10px; }
.mrc-panel p { font-size: 0.92rem; }
.mrc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mrc-btns.col { flex-direction: column; }
.mrc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #3b3126; color: var(--mrc-cream); border: 1px solid #6b5a42; border-radius: 8px; padding: 8px 14px; font-weight: 700; cursor: pointer; font-size: 0.92rem; }
.mrc-btn:hover { background: #4a3e30; border-color: var(--mrc-gold); }
.mrc-btn.good { background: #2f5d34; border-color: #4f9a56; } .mrc-btn.good:hover { background: #3a7140; }
.mrc-btn.bad { background: #6d2a1f; border-color: #a44533; }
.mrc-btn[disabled] { opacity: 0.45; cursor: default; }
.mrc-row { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin: 8px 0; }
.mrc-menu small { letter-spacing: 0.18em; color: var(--mrc-muted); font-size: 0.72rem; }
.mrc-menu h2 { font-size: 2.2rem; font-weight: 800; color: var(--mrc-gold); margin: 2px 0 8px; }
.mrc-menu-panel { width: min(460px, 100%); }
.mrc-cap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mrc-cap label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; }
.mrc-cap select { background: #1e1914; color: var(--mrc-cream); border: 1px solid #6b5a42; border-radius: 6px; padding: 5px; }
/* the manual: cream paper */
.mrc-manual { width: min(860px, 100%); background: #3a2a1c; padding: 12px; }
.mrc-book { display: flex; flex-direction: column; gap: 10px; }
.mrc-page { background: var(--mrc-paper); color: var(--mrc-ink); border-radius: 6px; padding: 18px 22px; min-height: 380px; font-family: Georgia, 'Times New Roman', serif; box-shadow: inset 0 0 40px rgba(120, 90, 40, 0.25); }
.mrc-page h3 { color: #6a1f16; font-family: inherit; }
/* the parts page: one long page that scrolls inside the book (the buttons under it stay put) */
.mrc-manual:has(.mrc-page.is-scroll) { display: flex; flex-direction: column; overflow: hidden; } .mrc-manual:has(.mrc-page.is-scroll) .mrc-book { flex: 1 1 auto; min-height: 0; }
.mrc-page.is-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #8a7350 #e8dcbc; }
.mrc-page.is-scroll h3[data-cat] { position: sticky; top: -18px; z-index: 1; margin: 14px -6px 6px; padding: 8px 6px 6px; background: var(--mrc-paper); border-bottom: 2px solid #b9a77e; }
.rd-town.rd-pod { color: #b3160f; font-weight: 700; top: -18px; } .rd-town.rd-pod::before { top: 14px; background: #b3160f; }
.mrc-manual.mrc-manual-aro { background: #263320; } .mrc-manual-aro .mrc-page h3 { color: #2f4a1f; } .mrc-manual-aro .mrc-cover h1 { color: #2f4a1f; }
.mrc-page .rd-more { border-style: dashed; opacity: 0.85; } .mrc-page .rd-more p { margin: 4px 0 0; }
.mrc-page .mrc-catn { font-size: 0.75rem; color: #5a4a30; font-weight: 400; margin-left: 6px; } .mrc-page .mrc-jump { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mrc-book-nav { display: flex; gap: 8px; align-items: center; justify-content: space-between; } .mrc-book-nav span { color: var(--mrc-muted); }
.mrc-cover { text-align: center; padding: 40px 10px; } .mrc-cover h1 { font-size: 3rem; color: #7b1d1a; font-weight: 900; letter-spacing: 0.05em; } .mrc-cover h2 { color: #3a2a1c; letter-spacing: 0.12em; } .mrc-cover small { letter-spacing: 0.15em; color: #6b5a42; } .mrc-cover-note { font-style: italic; color: #6b5a42; }
.mrc-tbl { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.mrc-tbl th, .mrc-tbl td { border-bottom: 1px solid rgba(90, 70, 40, 0.3); padding: 4px 6px; vertical-align: top; text-align: left; }
.mrc-tbl tr.ok td { color: #2d6a33; } .mrc-tbl tr.half td:first-child { color: #b3700a; }
.mrc-page kbd { background: #e8dcbc; color: var(--mrc-ink); border-color: #b9a77e; }
.mrc-firing .eng { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 10px 0; flex-wrap: wrap; }
.mrc-firing .eng span { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #6a1f16; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.mrc-firing .eng em { width: 100%; text-align: center; font-size: 0.8rem; color: #6b5a42; }
.mrc-firing .big { text-align: center; font-size: 1.4rem; }
.mrc-toc li { margin: 4px 0; }
/* shops */
.mrc-shop { width: min(720px, 100%); }
.mrc-shop table { width: 100%; font-size: 0.86rem; border-collapse: collapse; }
.mrc-shop td, .mrc-shop th { padding: 5px 6px; border-bottom: 1px solid #4b3e2e; text-align: left; }
.mrc-shop td.p { color: var(--mrc-gold); font-weight: 800; white-space: nowrap; }
.mrc-shop .mrc-btn { padding: 4px 10px; font-size: 0.82rem; }
.mrc-tabs { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; } .mrc-tabs .on { border-color: var(--mrc-gold); color: var(--mrc-gold); }
/* the 1988 intro */
.mrc-introp { position: absolute; inset: 0; background: #000; display: grid; place-items: center; overflow: hidden; }
.mrc-introp .pic { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s; }
.mrc-introp .pic.on { opacity: 0.85; }
.mrc-introp .scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 4px); pointer-events: none; }
.mrc-introp .txt { position: absolute; left: 8%; right: 8%; bottom: 14%; font-family: 'Courier New', monospace; font-size: clamp(1rem, 2.2vw, 1.6rem); color: #f6e7bf; text-shadow: 0 2px 6px #000; min-height: 4em; }
.mrc-introp .yr { position: absolute; left: 6%; top: 8%; font-family: 'Courier New', monospace; color: #fff; font-size: clamp(1rem, 2.4vw, 1.8rem); text-shadow: 0 0 6px #f00; }
.mrc-introp .rec { position: absolute; right: 6%; top: 8%; color: #ff3b30; font-family: monospace; font-weight: 800; animation: mrc-blink 1s steps(2) infinite; }
.mrc-introp .skip { position: absolute; right: 16px; bottom: 12px; color: #bbb; font-size: 0.8rem; font-family: monospace; }
@keyframes mrc-blink { 50% { opacity: 0; } }
@media (max-width: 700px) {
    .mrc-main { padding-top: 76px; }
    .mrc-stats { max-width: 100%; left: 12px; top: auto; bottom: 56px; justify-content: flex-start; }
    .mrc-toasts { max-width: 92%; }
}

/* the manual's part pictures */
.mrc-thumb { width: 96px; height: 72px; object-fit: contain; background: radial-gradient(circle, #fffaf0 0%, #e8dcbc 75%); border: 1px solid #c9b890; border-radius: 6px; }
.mrc-parts td { vertical-align: middle; }
.mrc-where { color: #5b4a35; }
.mrc-page .mrc-btn.mrc-show { margin-top: 3px; padding: 2px 8px; font-size: 0.75rem; background: #4a3a26; color: #ffe8a8; border-color: #8a7350; }
@media (max-width: 900px) { .mrc-thumb { width: 64px; height: 48px; } }
.mrc-boltwhere { color: #8a5a00; }

/* ---- phone controls (ui/touch.js) ---- */
.mrc-stage { touch-action: none; }
.mrc-touch { position: absolute; inset: 0; pointer-events: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.mrc-touch.t-hide > * { display: none !important; }
.mrc-touch .t-look { position: absolute; inset: 0; pointer-events: auto; touch-action: none; }
.mrc-touch .t-joy { position: absolute; width: 104px; height: 104px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.45); background: rgba(20, 16, 12, 0.25); pointer-events: none; }
.mrc-touch .t-joy span { position: absolute; left: 32px; top: 32px; width: 40px; height: 40px; border-radius: 50%; background: rgba(224, 180, 76, 0.85); }
.mrc-touch .t-b { pointer-events: auto; touch-action: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 14px; border: 2px solid rgba(224, 180, 76, 0.6); background: rgba(28, 23, 18, 0.62); color: #f3e7c6; font-weight: 800; font-size: 0.85rem; line-height: 1.05; padding: 0 4px; }
.mrc-touch .t-b small { font-size: 0.62rem; font-weight: 700; opacity: 0.85; }
.mrc-touch .t-b.on { background: rgba(224, 180, 76, 0.75); color: #1c1712; }
.mrc-touch .t-b.lit { border-color: #ffe06a; box-shadow: 0 0 0 2px rgba(255, 224, 106, 0.45) inset; }
.mrc-touch .t-big { width: 78px; height: 78px; border-radius: 50%; font-size: 0.95rem; }
.mrc-touch .t-mid { width: 56px; height: 56px; border-radius: 50%; }
.mrc-touch .t-s { min-width: 46px; height: 42px; }
.mrc-touch .t-top { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.mrc-touch .t-foot, .mrc-touch .t-car { position: absolute; inset: 0; pointer-events: none; }
.mrc-touch[data-mode="car"] .t-foot, .mrc-touch[data-mode="foot"] .t-car { display: none; }
.mrc-touch .t-modes { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.mrc-touch .t-m { width: 62px; height: 46px; }
.mrc-touch .t-act { position: absolute; right: 12px; bottom: 12px; width: 200px; height: 200px; }
.mrc-touch .t-act .t-big { position: absolute; right: 0; bottom: 0; }
.mrc-touch .t-act .t-drop { position: absolute; right: 88px; bottom: 4px; }
.mrc-touch .t-act .t-jump { position: absolute; right: 10px; bottom: 88px; }
.mrc-touch .t-act .t-crouch { position: absolute; right: 74px; bottom: 70px; }
.mrc-touch .t-act .t-enter { position: absolute; right: 70px; bottom: 140px; }
.mrc-touch .t-wheel { position: absolute; right: 218px; bottom: 12px; display: flex; flex-direction: column; gap: 8px; }
.mrc-touch .t-tools { position: absolute; right: 218px; bottom: 140px; display: none; gap: 6px; }
.mrc-touch[data-tool="2"] .t-tools[data-for="2"], .mrc-touch[data-tool="3"] .t-tools[data-for="3"] { display: flex; }
.mrc-touch[data-tool="3"] .t-wheel { display: none; }
.mrc-touch .t-steer { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 12px; }
.mrc-touch .t-steer .t-big { width: 86px; height: 86px; font-size: 1.8rem; }
.mrc-touch .t-pedals { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: flex-end; gap: 8px; }
.mrc-touch .t-ped { width: 64px; height: 92px; border-radius: 12px; }
.mrc-touch .t-ped.t-gas { height: 124px; border-color: rgba(57, 227, 106, 0.7); }
.mrc-touch .t-ped.t-brake { border-color: rgba(255, 74, 61, 0.7); }
.mrc-touch .t-ped.t-clutch { width: 56px; height: 72px; opacity: 0.85; }
.mrc-touch .t-gears { position: absolute; right: 12px; bottom: 146px; display: flex; gap: 8px; }
.mrc-touch .t-gears .t-mid { width: 64px; height: 50px; border-radius: 12px; font-size: 0.72rem; }
.mrc-touch .t-dash { position: absolute; top: 52px; left: 50%; transform: translateX(-50%); display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; max-width: 92%; }
.mrc-touch .t-key { border-color: #ffe06a; }
.mrc-touch .t-rotate { display: none; }
@media (orientation: portrait) { body.mrc-touch-on .mrc-touch .t-rotate { display: grid; place-items: center; position: absolute; inset: 0; background: rgba(20, 16, 12, 0.9); color: #f3e7c6; text-align: center; padding: 20px; pointer-events: auto; z-index: 5; } }
body.mrc-touch-on .mrc-touch .t-rotate > div { display: flex; flex-direction: column; gap: 12px; align-items: center; max-width: 320px; }
body.mrc-touch-on .mrc-touch .t-rotate b { font-size: 1.15rem; } body.mrc-touch-on .mrc-touch .t-rotate span { font-size: 0.85rem; color: var(--mrc-muted); }
.mrc-touch .t-wide { width: 100%; min-height: 48px; border-radius: 12px; font-size: 0.95rem; }
.mrc-touch .t-wide.t-alt { background: rgba(60, 50, 38, 0.8); border-color: rgba(183, 169, 139, 0.6); }
/* playing upright (the phone's rotation is locked and you chose to stay vertical): smaller controls, nothing overlapping */

body.mrc-touch-on .mrc-hint { display: none; }
body.mrc-touch-on .mrc-mode { bottom: auto; top: 54px; }
body.mrc-touch-on .mrc-stats { top: 54px; font-size: 0.72rem; }
body.mrc-touch-on .mrc-toasts { top: 54px; }
body.mrc-touch-on .mrc-drive { bottom: auto; top: 100px; right: 10px; }
.mrc-stats .bar small { font-size: 0.66rem; color: var(--mrc-muted); margin-right: 3px; }
.mrc-stats .bar { width: auto; padding-left: 8px !important; }
.mrc-stats .bar .track { display: block; width: 40px; height: 7px; border-radius: 4px; background: rgba(255,255,255,0.12); overflow: hidden; }
.mrc-hint .need { color: #ffd27a; font-weight: 800; }
body.mrc-touch-on .mrc-hint { display: block; bottom: 66px; }
body.mrc-touch-on .mrc-hint:empty { display: none; }

/* phones while playing: the game is the whole screen (the menu goes back to the page) */
body.mrc-touch-on.mrc-playing { overflow: hidden; }
body.mrc-touch-on.mrc-playing .mrc-stage { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-height: none; aspect-ratio: auto; border: 0; border-radius: 0; z-index: 1100; }
body.mrc-touch-on .mrc-touch .t-top { left: 8px; transform: none; top: 6px; }
body.mrc-touch-on .mrc-toasts { top: 54px; left: 8px; max-width: 44%; }
body.mrc-touch-on .mrc-toast { font-size: 0.75rem; padding: 4px 8px; }
body.mrc-touch-on .mrc-stats { top: 6px; right: 8px; max-width: 60%; }
body.mrc-touch-on .mrc-mode { top: auto; bottom: 62px; }
body.mrc-touch-on .mrc-hint { bottom: auto; top: 50px; left: 46%; right: 8px; text-align: right; font-size: 0.72rem; }
body.mrc-touch-on .mrc-touch .t-dash { top: auto; bottom: 8px; left: 210px; right: 236px; max-width: none; transform: none; }
body.mrc-touch-on .mrc-touch .t-dash .t-s { min-width: 42px; height: 38px; font-size: 0.72rem; }
body.mrc-touch-on .mrc-info { top: calc(50% + 14px); font-size: 0.8rem; }

/* the ignition panel */
.mrc-ign { width: min(760px, 100%); background: #3a2a1c; }
.mrc-ign h3 { color: var(--mrc-gold); }
.mrc-ign .ign-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.mrc-ign section { background: var(--mrc-paper); color: var(--mrc-ink); border-radius: 8px; padding: 10px 12px; text-align: center; }
.mrc-ign h4 { font-size: 1rem; color: #6a1f16; margin: 0 0 4px; }
.mrc-ign svg { width: 100%; max-width: 200px; height: auto; display: block; margin: 0 auto; }
.mrc-ign .ign-tower { cursor: pointer; }
.mrc-ign .ign-status { font-weight: 800; margin: 4px 0; }
.mrc-ign .ign-status.ok { color: #2d8a3a; } .mrc-ign .ign-status.bad { color: #b0301e; }
.mrc-ign .mrc-small { color: #5b4a35; }
.mrc-ign .ign-sum { margin: 10px 0 0; text-align: center; color: var(--mrc-cream); }
.mrc-ign section .mrc-btn { background: #4a3a26; color: #ffe8a8; }
.ign-steps li { margin: 0 0 10px; }
.ign-ok { color: #2d8a3a; font-weight: 800; } .ign-bad { color: #b0301e; font-weight: 800; } .ign-no { color: #7a6a52; font-style: italic; }

/* (portrait, last so it wins) */
@media (orientation: portrait) {
    html body.mrc-portrait-ok .mrc-touch .t-rotate { display: none !important; }
    html body.mrc-touch-on .mrc-touch .t-modes { bottom: auto; top: 54px; left: auto; right: 8px; transform: none; flex-direction: column; }
    html body.mrc-touch-on .mrc-touch .t-m { width: 56px; height: 40px; }
    html body.mrc-touch-on .mrc-touch .t-act { transform: scale(0.85); transform-origin: right bottom; }
    html body.mrc-touch-on .mrc-touch .t-wheel { right: auto; left: 12px; bottom: 150px; flex-direction: row; }
    html body.mrc-touch-on .mrc-touch .t-tools { right: auto; left: 12px; bottom: 214px; }
    html body.mrc-touch-on .mrc-touch .t-steer .t-big { width: 64px; height: 64px; font-size: 1.4rem; }
    html body.mrc-touch-on .mrc-touch .t-steer { gap: 8px; }
    html body.mrc-touch-on .mrc-touch .t-ped { width: 52px; height: 80px; } body.mrc-touch-on .mrc-touch .t-ped.t-gas { height: 104px; } body.mrc-touch-on .mrc-touch .t-ped.t-clutch { width: 46px; height: 62px; }
    html body.mrc-touch-on .mrc-touch .t-gears { bottom: 122px; }
    html body.mrc-touch-on .mrc-touch .t-gears .t-mid { width: 56px; height: 44px; }
    html body.mrc-touch-on .mrc-touch .t-dash { top: 96px; bottom: auto; left: 8px; right: 8px; }
    html body.mrc-touch-on .mrc-stats { max-width: calc(100% - 170px); }
    html body.mrc-touch-on .mrc-toasts { max-width: 70%; top: 140px; }
    html body.mrc-touch-on .mrc-hint { top: auto; bottom: 230px; left: 8px; right: 8px; text-align: center; }
    html body.mrc-touch-on .mrc-mode { bottom: auto; top: 100px; left: 8px; transform: none; }
}
html body.mrc-touch-on .mrc-stats { bottom: auto; left: auto; align-content: flex-start; }

/* the „Reglaje" panel */
.mrc-adj .adj-list { display: flex; flex-direction: column; gap: 10px; }
.mrc-adj .adj-row { text-align: left; }
.mrc-adj .adj-row.off { opacity: 0.6; }
.mrc-adj h4 small { font-weight: 400; color: #6b5a42; }
.mrc-adj .adj-scale { position: relative; height: 16px; border-radius: 8px; background: #d6c9a6; margin: 10px 4px 2px; }
.mrc-adj .adj-scale .zone { position: absolute; top: 0; bottom: 0; background: #6fbf6b; border-radius: 8px; }
.mrc-adj .adj-scale .knob { position: absolute; top: -5px; width: 12px; height: 26px; margin-left: -6px; border-radius: 4px; background: #b0301e; border: 2px solid #2a2118; }
.mrc-adj .adj-scale .knob.ok { background: #2d8a3a; }
.mrc-adj .adj-ends { display: flex; justify-content: space-between; gap: 8px; font-size: 0.72rem; color: #6b5a42; }
.mrc-adj .adj-btns { align-items: center; justify-content: space-between; margin-top: 6px; }
.mrc-adj .adj-val { font-weight: 800; } .mrc-adj .adj-val.ok { color: #2d8a3a; } .mrc-adj .adj-val.bad { color: #b0301e; }
/* portrait car: the dashboard buttons on top, the messages and the speed box under them */
@media (orientation: portrait) {
    html body.mrc-touch-on .mrc-drive { top: 196px; right: 8px; bottom: auto; }
    html body.mrc-touch-on .mrc-toasts { top: 196px; max-width: 52%; }
}

/* faults the book marks now */
.mrc-tbl tr.flt-on td { background: rgba(194, 58, 34, 0.12); color: #7a1d10; }
.flt-tag { color: #fff; background: #c23a22; border-radius: 4px; padding: 0 5px; font-size: 0.72rem; }
.flt-now { color: #b0301e; font-weight: 800; }
.mrc-stats .fault { color: #fff !important; background: rgba(194, 58, 34, 0.85) !important; border-color: #ff6a50 !important; font-weight: 800; }
.mrc-touch .t-b.t-alert { border-color: #ff4a3d; box-shadow: 0 0 0 3px rgba(255, 74, 61, 0.5); }
.mrc-touch .t-b.t-alert::after { content: '!'; position: absolute; top: -4px; right: -4px; width: 16px; height: 16px; border-radius: 50%; background: #ff3b30; color: #fff; font-size: 11px; line-height: 16px; }
.mrc-touch .t-top .t-b { position: relative; }

/* the real cause under a red fault row */
.flt-why { margin-top: 6px; padding: 5px 8px; border-left: 3px solid #c23a22; background: rgba(255, 255, 255, 0.55); color: #3a1a10; font-size: 0.86rem; }
.flt-why .mrc-btn { margin-top: 4px; }

/* where to go: the chip up top + the road map in the book */
.mrc-stats .nav { color: #fff !important; background: rgba(28, 92, 160, 0.88) !important; border-color: #6fb1ff !important; font-weight: 800; }
.rd-map { position: relative; margin: 34px 64px 40px; }
.rd-line { position: relative; height: 8px; border-radius: 4px; background: #6f5a3e; }
.rd-end { position: absolute; top: -6px; font-weight: 800; font-size: 0.85rem; } .rd-end.l { right: 100%; margin-right: 8px; } .rd-end.r { left: 100%; margin-left: 8px; }
.rd-mk { position: absolute; top: -4px; width: 4px; height: 16px; margin-left: -2px; background: #3b2a1a; }
.rd-mk b { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 0.62rem; font-style: normal; color: #4a3826; }
.rd-mk b.up { bottom: 18px; } .rd-mk b.dn { top: 18px; }
.rd-mk.home { background: #2f7a3a; width: 8px; margin-left: -4px; } .rd-mk.home b { color: #2f7a3a; font-weight: 800; }
.rd-mk.dest { background: #1c5ca0; width: 8px; margin-left: -4px; } .rd-mk.dest b { color: #1c5ca0; font-weight: 800; }
.rd-me { position: absolute; top: -5px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #e2321f; border: 2px solid #fff; box-shadow: 0 0 0 2px #e2321f; }
.rd-tbl td:last-child { white-space: nowrap; }
.mrc-drive .fl { grid-column: 1 / -1; font-size: 0.78rem; color: var(--mrc-cream); } .mrc-drive .fl.low { color: #ff6a50; font-weight: 800; }

.mrc-cloud-new { background: rgba(28, 92, 160, 0.18); border: 1px solid #6fb1ff; border-radius: 8px; padding: 6px 10px; font-weight: 700; }

.mrc-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 3px; border: 1px solid #333; vertical-align: -2px; margin-right: 4px; }

.mrc-slots td { vertical-align: middle; } .mrc-slots .slot-act { white-space: nowrap; text-align: right; }

/* the paper */
.mrc-paper .zn { background: #efe8d4; color: #1d1a14; padding: 10px 14px; border: 1px solid #b9ad8c; font-family: Georgia, 'Times New Roman', serif; }
.mrc-paper .zn-head { text-align: center; border-bottom: 3px double #1d1a14; margin-bottom: 6px; } .mrc-paper .zn-head b { display: block; font-size: 2rem; letter-spacing: 0.15em; }
.mrc-paper .zn-head small { font-size: 0.75rem; } .mrc-paper h4 { font-size: 0.9rem; letter-spacing: 0.08em; border-bottom: 1px solid #1d1a14; margin: 8px 0 4px; }
.mrc-paper .zn-ad { border-bottom: 1px dashed #8a7f62; padding: 6px 0; } .mrc-paper .zn-ad p { margin: 0 0 2px; } .mrc-paper .zn-ad small { color: #5a5240; display: block; }
.mrc-paper .zn-pay { color: #7a1d10; margin-right: 8px; } .mrc-paper .zn-ad.mine { background: rgba(47, 122, 58, 0.08); }

.food-pic { display: inline-block; font-size: 1.9rem; line-height: 1; vertical-align: middle; margin-right: 6px; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.35)); }
.mrc-food td { vertical-align: middle; }

/* conversations: a strip at the bottom, like a story game */
.mrc-panel.mrc-talk { position: absolute; left: 50%; bottom: 74px; top: auto; transform: translateX(-50%); width: min(820px, 94%); max-height: 46%; background: rgba(20, 16, 12, 0.92); border: 1px solid #8a6a3a; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.talk-who { display: inline-block; background: #c98a2a; color: #1a120a; font-weight: 800; padding: 2px 10px; border-radius: 6px; margin-bottom: 6px; } .talk-who.me { background: #3f7ab8; color: #fff; }
.talk-t { font-size: 1.12rem; line-height: 1.45; color: #f3e8d2; min-height: 2.9em; margin: 0 0 6px; }
.talk-ch { display: flex; flex-direction: column; gap: 6px; } .talk-ch .mrc-btn { text-align: left; }
.talk-next { color: #b39b72; }
.mrc-stats .story { color: #fff !important; background: rgba(120, 72, 160, 0.86) !important; border-color: #c9a2ff !important; font-weight: 700; max-width: 520px; }
.story-list li { margin: 4px 0; } .story-list li.done { color: #4a7a3a; } .story-list li.now { font-weight: 700; } .story-list li.later { color: #9a8f7a; }

/* the animated intro: cinema bars, grain, the narrator's subtitle, the title card */
.mrc-film { position: absolute; inset: 0; z-index: 30; pointer-events: auto; cursor: pointer; overflow: hidden; }
.mrc-film .bar { position: absolute; left: 0; right: 0; height: 0; background: #000; transition: height 1.4s ease; z-index: 2; } .mrc-film .bar.top { top: 0; } .mrc-film .bar.bot { bottom: 0; }
.mrc-film.on .bar { height: 11%; }
.mrc-film .grain { position: absolute; inset: -50%; opacity: 0.09; background-image: repeating-radial-gradient(circle at 17% 32%, #fff 0 1px, transparent 1px 3px); animation: mrc-grain 0.6s steps(4) infinite; }
@keyframes mrc-grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(1%, 3%); } }
.mrc-film .vig { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 55%, rgba(20, 10, 0, 0.6) 100%); }
.mrc-film .yr { position: absolute; top: 14%; left: 6%; z-index: 3; color: #f4e2b8; font: 700 0.9rem/1 'Courier New', monospace; letter-spacing: 0.25em; opacity: 0; transition: opacity 1.2s; text-shadow: 0 2px 6px #000; } .mrc-film .yr.on { opacity: 0.95; }
.mrc-film .sub { position: absolute; left: 8%; right: 8%; bottom: 15%; z-index: 3; text-align: center; color: #fff7e6; font: italic 600 clamp(1rem, 2.4vw, 1.5rem)/1.4 Georgia, serif; text-shadow: 0 2px 8px #000, 0 0 2px #000; }
.mrc-film .title { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; text-align: center; background: rgba(0, 0, 0, 0.55); opacity: 0; transition: opacity 1.6s; color: #f4e2b8; }
.mrc-film .title.on { opacity: 1; } .mrc-film .title small { letter-spacing: 0.3em; font-size: 0.8rem; text-transform: uppercase; }
.mrc-film .title b { font: 900 clamp(2rem, 6vw, 4.2rem)/1.05 Georgia, serif; letter-spacing: 0.06em; color: #ffd98a; text-shadow: 0 4px 18px #000; } .mrc-film .title i { font: italic 1.3rem Georgia, serif; margin-top: 6px; }
.mrc-film .skip { position: absolute; right: 2%; bottom: 3%; z-index: 5; color: #bfae8a; font-size: 0.75rem; } .mrc-film .skip.hold { color: #ffd98a; font-weight: 700; }

/* working a debt off: the little scene over the shop */
.mrc-work { position: absolute; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; background: rgba(10, 8, 6, 0.55); opacity: 0; transition: opacity 0.3s; cursor: pointer; }
.mrc-work.on { opacity: 1; }
.wk-box { position: relative; width: min(640px, 92%); background: #2a231b; border: 1px solid #8a6a3a; border-radius: 12px; padding: 14px 16px 12px; color: #f3e8d2; box-shadow: 0 12px 34px rgba(0,0,0,0.55); }
.wk-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 1.05rem; }
.wk-clock { font-variant-numeric: tabular-nums; background: #15110c; border: 1px solid #5a4630; border-radius: 6px; padding: 2px 8px; color: #ffcf6a; font-weight: 800; }
.wk-scene { position: relative; height: 130px; margin: 10px 0; background: linear-gradient(#5d7fa3 0%, #9ab8c9 55%, #7a6a46 55%, #6a5a38 100%); border-radius: 8px; overflow: hidden; }
.wk-from, .wk-to { position: absolute; bottom: 30px; font-size: 3.2rem; line-height: 1; }
.wk-from { left: 3%; } .wk-to { right: 3%; }
.wk-pile { position: absolute; left: -40px; bottom: -6px; width: 120px; font-size: 1.2rem; text-align: right; letter-spacing: -4px; }
.wk-man { position: absolute; bottom: 28px; left: 14%; display: flex; flex-direction: column; align-items: center; width: 48px; margin-left: -24px; }
.wk-who { font-size: 2.4rem; line-height: 1; display: inline-block; }
.wk-item { font-size: 1.5rem; line-height: 1; margin-bottom: -6px; transition: opacity 0.15s; }
.wk-tool { position: absolute; right: -14px; bottom: 6px; font-size: 1.3rem; transform-origin: 20% 90%; }
.wk-man.swing .wk-tool { animation: wk-swing 0.25s ease-in-out infinite alternate; }
@keyframes wk-swing { from { transform: rotate(-35deg); } to { transform: rotate(25deg); } }
.wk-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: repeating-linear-gradient(90deg, #5a4a2c 0 18px, #64532f 18px 36px); }
.wk-bar { height: 8px; background: #15110c; border-radius: 4px; overflow: hidden; } .wk-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #c98a2a, #ffcf6a); }
.wk-foot { display: flex; justify-content: space-between; margin-top: 6px; font-size: 0.85rem; color: #b39b72; }
.wk-done { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) scale(0.6); opacity: 0; font-size: 1.8rem; font-weight: 900; color: #7fd36a; text-shadow: 0 2px 6px rgba(0,0,0,0.7); transition: transform 0.35s cubic-bezier(.2,1.6,.4,1), opacity 0.25s; pointer-events: none; }
.wk-done.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (max-width: 560px) { .wk-scene { height: 110px; } .wk-from, .wk-to { font-size: 2.4rem; } .wk-head { font-size: 0.92rem; } }

/* phones: „la ocazie" appears by the road, away from the car */
.mrc-touch .t-act .t-ocazie { position: absolute; right: 70px; bottom: 196px; } .mrc-touch .t-act .t-ocazie.t-off { display: none; }

/* the conversation strip lives on the stage (the game keeps running): above the HUD; on phones at the top, clear of the controls */
.mrc-panel.mrc-talk { z-index: 45; pointer-events: auto; transition: opacity 0.5s; } .mrc-panel.mrc-talk.gone { opacity: 0.55; }
body.mrc-touch-on .mrc-panel.mrc-talk { top: 54px; bottom: auto; max-height: 40%; }

/* the road map: which way you (or the Dacia) face — ◀ Suceava · Rădăuți ▶ */
.rd-me.r::after, .rd-me.l::after { position: absolute; top: -6px; font-size: 17px; line-height: 1; color: #e2321f; text-shadow: 0 0 2px #fff, 0 0 2px #fff; }
.rd-me.r::after { content: '▶'; left: 17px; } .rd-me.l::after { content: '◀'; right: 17px; }

/* the registration desk: the plate as text, and the two boxes for your own number */
.mrc-plate { display: inline-block; background: #f4f4ee; color: #111; border: 3px solid #111; border-radius: 4px; padding: 1px 10px; font: bold 1.15rem "Arial Narrow", Arial, sans-serif; letter-spacing: 1px; }
.mrc-plate-in { font: bold 1rem "Arial Narrow", Arial, sans-serif; text-transform: uppercase; text-align: center; background: #f4f4ee; color: #111; border: 2px solid #111; border-radius: 4px; padding: 2px 4px; }

/* the direction arrow: top centre, turns with you towards the destination */
.mrc-dirarrow { position: absolute; top: 46px; left: 50%; transform: translateX(-50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(20, 16, 12, 0.72); border: 2px solid #c98a2a; box-shadow: 0 4px 14px rgba(0,0,0,0.45); pointer-events: none; z-index: 6; }
.mrc-dirarrow i { position: absolute; inset: 7px; transition: transform 0.3s linear; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 40 40%27%3E%3Cpath d=%27M20 3 L33 30 L20 23 L7 30 Z%27 fill=%27%23ffb43a%27 stroke=%27%23201608%27 stroke-width=%271.6%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E"); }
.mrc-dirarrow small { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 3px; white-space: nowrap; font-weight: 800; font-size: 0.78rem; color: #ffe2a6; text-shadow: 0 1px 2px #000, 0 0 4px #000; }
body.mrc-touch-on .mrc-dirarrow { top: 40px; width: 52px; height: 52px; }

/* the documents: the licence (3 holes) and the talon */
.mrc-acte { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0; } @media (max-width: 560px) { .mrc-acte { grid-template-columns: 1fr; } }
.mrc-acte .act { background: #efe6cf; color: #2a2318; border: 2px solid #8a7a55; border-radius: 6px; padding: 8px 10px; font-family: Georgia, serif; } .mrc-acte .act:first-child { background: #f1d9d6; border-color: #a4605a; }
.mrc-acte h4 { margin: 0 0 4px; font-size: 0.85rem; letter-spacing: 1px; border-bottom: 1px solid currentColor; padding-bottom: 3px; } .mrc-acte p { margin: 3px 0; font-size: 0.86rem; }
.mrc-acte .holes i { display: inline-block; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; border: 2px dashed #8a6a66; } .mrc-acte .holes i.on { background: #17120d; border: 2px solid #17120d; box-shadow: inset 0 0 0 2px #5a1a14; }
.mrc-acte .bad { color: #a1160c; } .mrc-acte .ok { color: #1d6a2a; }

/* one key bar: the keys ride on the mode bar */
.mrc-mode .k { opacity: 0.78; } .mrc-mode .k kbd { font-size: 0.72em; }
/* the road map: villages on the line, the route in words; opened with M it is a folded ACR paper map */
.rd-town { position: absolute; top: 16px; transform: translateX(-50%); font-style: normal; font-size: 0.62rem; white-space: nowrap; color: #5a4a30; } .rd-town::before { content: ""; position: absolute; left: 50%; top: -9px; width: 1px; height: 7px; background: #5a4a30; }
.rd-map { margin-bottom: 26px; } .rd-route { font-size: 0.8rem; line-height: 1.5; }
.mrc-manual.mrc-acr .mrc-page { background: linear-gradient(90deg, rgba(0,0,0,0.07) 0 1px, transparent 1px 33.2%, rgba(0,0,0,0.09) 33.2% calc(33.2% + 1px), transparent calc(33.2% + 1px) 66.5%, rgba(0,0,0,0.09) 66.5% calc(66.5% + 1px), transparent calc(66.5% + 1px)), linear-gradient(0deg, transparent 49.8%, rgba(0,0,0,0.08) 49.8% 50%, transparent 50%), #efe7c9; box-shadow: inset 0 0 40px rgba(120, 90, 40, 0.25); }
.acr-head { background: #f2c400; color: #1a1a1a; border: 2px solid #1a1a1a; padding: 4px 10px; font: bold 0.74rem Arial, sans-serif; letter-spacing: 1px; margin-bottom: 10px; } .acr-head b { background: #1a1a1a; color: #f2c400; padding: 1px 6px; margin-right: 6px; }
.mrc-manual.mrc-acr .rd-line { height: 7px; background: #c8191e; border: 1px solid #5a0d10; } .mrc-manual.mrc-acr .rd-map { padding: 14px 8px 4px; }
.mrc-film .title { padding: 0 8%; }   /* (a chapter's goal under its name can be a long line) */
/* the game runs in a frame laid over the stage (js/my-romanian-car/start.js): fullscreen lasts through its reloads */
.mrc-stage > iframe.mrc-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
body.mrc-in-frame { margin: 0; overflow: hidden; background: #000; }
body.mrc-in-frame #mainNav, body.mrc-in-frame #header-placeholder, body.mrc-in-frame .footer, body.mrc-in-frame .copyright, body.mrc-in-frame > div:has(> .footer), body.mrc-in-frame #footer-placeholder, body.mrc-in-frame .mrc-intro-head, body.mrc-in-frame .mrc-below, body.mrc-in-frame .mrc-help { display: none !important; }
body.mrc-in-frame .mrc-main { margin: 0; padding: 0; max-width: none; }
body.mrc-in-frame .mrc-stage { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-height: none; aspect-ratio: auto; border: 0; border-radius: 0; }
/* the manual's road map: the Iași road, a part of its own (its own line, its places; a clear note while it's shut) */
.rd-iasi { margin: 18px 0 12px; padding: 12px 14px 6px; border: 1px solid rgba(90, 70, 40, 0.45); border-radius: 6px; background: rgba(120, 90, 40, 0.08); }
.rd-iasi h4 { margin: 0; font: 800 1.05rem Georgia, 'Times New Roman', serif; color: #6a1f16; } .rd-iasi h4 small { font-weight: 400; font-size: 0.8rem; color: #5a4a30; margin-left: 6px; }
.rd-iasi .rd-map { margin: 30px 64px 34px; } .rd-iasi .rd-line { background: #8a6a3a; }
.rd-iasi.shut .rd-line { background: repeating-linear-gradient(90deg, #8a6a3a 0 10px, transparent 10px 16px); } .rd-iasi.shut .rd-tbl { opacity: 0.75; }
.rd-lock, .rd-note { font-size: 0.85rem; line-height: 1.45; color: #3b2a1a; margin: 0 0 8px; } .rd-lock { padding: 8px 10px; border-left: 4px solid #8a5a12; background: rgba(138, 90, 18, 0.14); }
.mrc-page .mrc-small { color: #5a4a30; }   /* (on the manual's paper the panels' pale grey could hardly be read) */
/* the direction arrow: full size only on a big (fullscreen) view; in the page's window it is small, and sits under the two rows of chips */
@media (max-width: 1250px) {
    body:not(.mrc-touch-on) .mrc-dirarrow { top: 92px; width: 38px; height: 38px; border-width: 1px; box-shadow: 0 2px 8px rgba(0,0,0,0.4); }
    body:not(.mrc-touch-on) .mrc-dirarrow i { inset: 5px; }
    body:not(.mrc-touch-on) .mrc-dirarrow small { font-size: 0.68rem; margin-top: 2px; }
}
/* a film on (the opening, a chapter's): the crosshair and what it points at are put away */
.mrc-stage:has(.mrc-film) .mrc-cross, .mrc-stage:has(.mrc-film) .mrc-info { display: none; }
.mrc-stage:has(.mrc-film) .mrc-toasts, .mrc-stage:has(.mrc-film) .mrc-stats, .mrc-stage:has(.mrc-film) .mrc-mode, .mrc-stage:has(.mrc-film) .mrc-hint, .mrc-stage:has(.mrc-film) .mrc-drive, .mrc-stage:has(.mrc-film) .mrc-dirarrow { display: none; }   /* (and the game's bars: the map is on during the opening now) */
