/* Right to Repair - on top of the shared Going Twice style: a workshop green instead of auction gold. */
:root { --accent: #5ce1b0; }
.hud { justify-content: space-between; }
.brand canvas { height: 24px; }
.speed { display: flex; gap: 4px; }
.speed .btn.sm { min-width: 40px; }
.tabs button { position: relative; }
.tabs .count { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; background: var(--pink); color: var(--ink); font-size: 12px; border: 2px solid var(--ink); }
.tabs .dot { top: 4px; right: 4px; }
.scene { display: block; width: 100%; height: auto; aspect-ratio: 320 / 120; margin-bottom: 14px; border: 3px solid var(--ink); box-shadow: inset 0 0 0 2px var(--line), 0 5px 0 var(--ink); image-rendering: pixelated; }
.guide { margin-bottom: 12px; box-shadow: inset 0 0 0 2px var(--mint), 0 5px 0 var(--ink); flex-wrap: nowrap; }
.guide span { color: var(--muted); }
.callout { box-shadow: inset 0 0 0 2px var(--mint), 0 5px 0 var(--ink); }
.cust .acts { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.cust .bar { margin-top: 6px; max-width: 220px; }
.quote { font-style: italic; color: var(--text); opacity: .9; }
.opt { display: flex; flex-direction: column; gap: 4px; width: 100%; text-align: left; background: var(--panel2); color: var(--text); border: 3px solid var(--ink); box-shadow: inset 0 0 0 2px var(--line), 0 4px 0 var(--ink); padding: 10px 12px; cursor: pointer; font: inherit; }
.opt:hover:not(:disabled) { box-shadow: inset 0 0 0 2px var(--mint), 0 4px 0 var(--ink); }
.opt:disabled { opacity: .55; cursor: default; }
.opt.no { text-decoration: line-through; }
.opt .tag { font-size: 10px; }
.modal { max-width: 640px; }
.stars i { color: #ffffff30; font-style: normal; }
footer.foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 16px; color: var(--muted); font-size: 13px; border-top: 3px solid var(--ink); background: #0e0a22; }
@media (max-width: 560px) {
  .hud { gap: 8px; padding: 8px 12px; }
  .brand canvas { height: 18px; }
  .cust { flex-wrap: wrap; }
  .cust .acts { flex-direction: row; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } .toast { animation: none; } }

/* 0.5: the office, the map, hearings, the library */
.scene.short { aspect-ratio: 320 / 80; }
.modal.wide { max-width: 760px; }
.swatch { display: inline-block; width: 10px; height: 10px; border: 2px solid var(--ink); vertical-align: -1px; }
.swatch.big { width: 18px; height: 18px; flex: none; }
.grid.tight { gap: 8px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.ach span { display: block; }
.usmap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); gap: 3px; }
.tile { position: relative; aspect-ratio: 1; min-width: 0; padding: 0; border: 2px solid var(--ink); background: #ffffff10; color: var(--muted); font: 800 11px/1 inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tile.on { background: var(--c); color: var(--ink); }
.tile.home { box-shadow: inset 0 0 0 2px #fff; }
.tile.pick { outline: 3px solid var(--gold); outline-offset: 1px; z-index: 1; }
.tile i { position: absolute; top: 1px; right: 2px; font-style: normal; font-size: 9px; }
.tile .mdot { position: absolute; bottom: 2px; left: 50%; width: 5px; height: 5px; margin-left: -2px; background: var(--blue); border: 1px solid var(--ink); }
.tile.on .mdot { background: #fff; }
.tile:focus-visible, .opt:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.terms { display: grid; gap: 6px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.terms .opt { padding: 8px 10px; }
.hand { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 6px; }
.hmeter { position: relative; height: 18px; border: 3px solid var(--ink); background: #0e0a22; margin-top: 8px; }
.hmeter i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--mint); transition: width .3s steps(4); }
.hmeter b { position: absolute; top: -6px; bottom: -6px; width: 3px; background: var(--gold); }
.stories { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.story { display: flex; flex-direction: column; gap: 6px; padding: 10px; background: var(--panel2); border: 2px solid var(--ink); }
.story.new { box-shadow: inset 0 0 0 2px var(--mint); }
.story.locked { opacity: .55; background: #ffffff06; }
.story .btn { align-self: flex-start; margin-top: auto; }
.tblwrap { overflow-x: auto; }
.newgame { max-width: 680px; margin: 0 auto; }
.newgame select { font: inherit; padding: 8px; background: var(--panel2); color: var(--text); border: 3px solid var(--ink); }
label.opt { cursor: pointer; }
.lot .acts { display: flex; flex-direction: column; gap: 6px; }
select { font: inherit; background: var(--panel2); color: var(--text); border: 2px solid var(--ink); padding: 2px 4px; }
.ticker .tk span { animation-duration: 60s; }
@media (max-width: 560px) {
  .tile { font-size: 9px; }
  .usmap { gap: 2px; }
  .lot { flex-wrap: wrap; }
  .lot .acts { flex-direction: row; width: 100%; }
  .filters button { padding: 5px 8px; font-size: 13px; }
}
.newgame #home-wrap { display: flex; flex-direction: column; gap: 4px; max-width: 360px; }
.newgame #go { display: block; }
.scene.short { max-width: 760px; margin-left: auto; margin-right: auto; }
.hud.nogame .wallet, .hud.nogame .speed { visibility: hidden; }
/* 0.6: the brand watch */
.brand-row { display: flex; gap: 12px; align-items: center; }
.brand-row + .brand-row { border-top: 2px dashed #ffffff14; padding-top: 10px; margin-top: 10px; }
.brand-row .meta { flex: 1; min-width: 0; }
.brand-row .meta > b { font-size: 15px; }
.brand-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.bar.decay { flex: 1; max-width: 220px; }
.spark { display: block; max-width: 100%; }
.spark .mid { stroke: #ffffff22; stroke-width: 1; stroke-dasharray: 3 3; }
@media (max-width: 560px) { .brand-row { flex-wrap: wrap; } .brand-side { flex-direction: row; align-items: center; gap: 8px; width: 100%; justify-content: space-between; } }
.bicon { width: 40px; flex: none; display: flex; justify-content: center; }
