:root {
  --bg: #f6efe2; --card: #fffaf1; --ink: #2b2a33; --mute: #7a7480; --line: #e4d9c5;
  --accent: #d9623b; --teal: #2f7f79; --good: #3f9a5b; --ok: #8fae3c; --warn: #e0a02a; --bad: #d1483d; --gold: #c9932b;
  --r: 12px; --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--ink); font: 14px/1.4 var(--font); overscroll-behavior: none; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 1px solid var(--line); background: var(--card); border-radius: 9px; padding: 6px 10px; }
button:hover:not(:disabled) { border-color: var(--accent); }
button:disabled { opacity: .45; cursor: not-allowed; }
small { color: var(--mute); font-size: 12px; }
h2 { margin: 6px 0; font-size: 24px; }
h3 { margin: 4px 0 0; font-size: 17px; }
h4 { margin: 16px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
h4 small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.pos { color: var(--good); } .neg { color: var(--bad); }

#app { display: grid; grid-template-rows: auto auto 1fr; height: 100dvh; }
#hud { display: flex; align-items: center; gap: 10px; padding: 7px 12px; background: var(--card); border-bottom: 1px solid var(--line); flex-wrap: nowrap; overflow: hidden; }
.brand { font-size: 19px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.brand b { color: var(--accent); font-weight: 800; }
.stat { white-space: nowrap; padding: 3px 9px; background: var(--bg); border-radius: 99px; font-variant-numeric: tabular-nums; }
.stat small { margin-left: 1px; }
.grow { flex: 1; }
.clock { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--mute); font-weight: 600; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--card); flex: none; }
.seg button { border: 0; border-radius: 0; padding: 5px 9px; font-size: 11px; background: transparent; white-space: nowrap; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: var(--ink); color: #fff; }
.hbtn { white-space: nowrap; flex: none; }
.hbtn.on { background: var(--teal); color: #fff; border-color: var(--teal); }
#h-bsel { max-width: 170px; border: 1px solid var(--line); border-radius: 9px; padding: 5px; background: var(--card); }

#goal { padding: 6px 12px; background: #fff3d6; border-bottom: 1px solid #ecd9a6; font-size: 13px; }
.g-main { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.g-n { background: var(--gold); color: #fff; border-radius: 99px; padding: 1px 8px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.g-main em { font-style: normal; font-weight: 700; color: var(--teal); margin-left: auto; white-space: nowrap; }
.g-hint { color: #7d6a3c; font-size: 12px; margin-top: 2px; }

#main { display: grid; grid-template-columns: 1fr 360px; min-height: 0; }
#stage { position: relative; overflow: hidden; min-height: 0; background: #d8d2bf; }
#cv { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; display: block; cursor: crosshair; }
/* tilt-shift: a sharp band across the middle, blur growing toward the top and bottom edges, punchy colour */
#cv { filter: saturate(1.32) contrast(1.06) brightness(1.02); }
.ts { position: absolute; left: 0; right: 0; pointer-events: none; z-index: 1; }
.ts-t1 { top: 0; height: 22%; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); mask-image: linear-gradient(to bottom, #000 35%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent); }
.ts-t2 { top: 0; height: 10%; backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); mask-image: linear-gradient(to bottom, #000 30%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); }
.ts-b1 { bottom: 0; height: 27%; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); mask-image: linear-gradient(to top, #000 40%, transparent); -webkit-mask-image: linear-gradient(to top, #000 40%, transparent); }
.ts-b2 { bottom: 0; height: 16%; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); mask-image: linear-gradient(to top, #000 40%, transparent); -webkit-mask-image: linear-gradient(to top, #000 40%, transparent); }
.vig { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(30,25,45,.38) 100%); }
#insp, #toasts, #tools, #facade, #banner { z-index: 3; }
#tools { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none; }
#tools > * { pointer-events: auto; }
.tip { background: rgba(43,42,51,.92); color: #fff; padding: 6px 12px; border-radius: 10px; font-size: 12.5px; max-width: 640px; text-align: center; }
.tip i { color: #ffd98a; font-style: normal; }
.trow { display: flex; gap: 8px; align-items: center; }
.ovb { font-size: 12px; padding: 5px 10px; }
.ovb.on { background: var(--teal); color: #fff; border-color: var(--teal); }
.toolrow { display: flex; gap: 6px; max-width: 100%; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.toolrow::-webkit-scrollbar { display: none; }
.tool { display: flex; flex-direction: column; align-items: center; gap: 0; min-width: 78px; padding: 6px 6px 4px; border-radius: 12px; box-shadow: 0 2px 6px rgba(40,50,50,.15); flex: none; }
.tool .ic { font-size: 22px; line-height: 1.15; }
.tool .nm { font-size: 11px; font-weight: 700; white-space: nowrap; }
.tool small { font-size: 10px; }
.tool.on { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }
.tool.on small { color: #ffe3d6; }
.tool.hand { min-width: 58px; }

#panel { position: relative; }
#insp { position: absolute; left: 8px; right: 8px; top: 58px; max-height: calc(100% - 70px); z-index: 5; overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; box-shadow: 0 6px 20px rgba(40,50,50,.2); display: none; }
#insp.show { display: block; }
.ihead, .ch { display: flex; gap: 8px; align-items: center; }
.ihead .ic, .ch .ic, .row .ic { font-size: 24px; }
.ihead div, .ch div { flex: 1; min-width: 0; }
.ihead b, .ch b { display: block; }
.x { border: 0; background: transparent; font-size: 15px; padding: 4px 6px; }
.frow { display: grid; grid-template-columns: 1fr 110px; gap: 8px; align-items: center; font-size: 12.5px; padding: 2px 0; }
.frow.worst span:first-child { color: var(--bad); font-weight: 700; }
.miss { color: var(--bad); font-size: 12px; text-align: right; }
.bar { display: block; height: 8px; border-radius: 99px; background: #eadfcb; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--good); }
.bar.ok i { background: var(--ok); } .bar.warn i { background: var(--warn); } .bar.bad i { background: var(--bad); } .bar.plain i { background: var(--teal); }
.ten { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.tl { display: flex; justify-content: space-between; gap: 6px; }
.sat { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sat.good { color: var(--good); } .sat.ok { color: #6f8a22; } .sat.warn { color: #b87a10; } .sat.bad { color: var(--bad); }
.note { display: block; color: var(--mute); font-size: 12px; margin-top: 6px; }
.ibtn { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.ibtn button { flex: 1; font-size: 12.5px; white-space: nowrap; }
.danger { color: var(--bad); }
.alert { background: #fde3df; color: #9c2b22; border-radius: 9px; padding: 7px 9px; margin: 8px 0; font-size: 12.5px; }
.alert.soft { background: #fff0cf; color: #7d5a10; }

#toasts { position: absolute; left: 152px; top: 56px; width: min(330px, calc(100% - 20px)); display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.toast { background: rgba(43,42,51,.93); color: #fff; padding: 8px 12px; border-radius: 10px; font-size: 12.5px; border-left: 4px solid #9aa; animation: in .25s ease-out; transition: opacity .45s; }
.toast.good { border-color: #6fd08c; } .toast.bad { border-color: #ff7a6e; } .toast.goal { border-color: #ffd257; background: rgba(90,62,10,.95); }
.toast.city { border-color: #7fc7ff; } .toast.rival { border-color: #ffb13d; }
.toast.out { opacity: 0; }
@keyframes in { from { transform: translateY(-8px); opacity: 0; } }

#panel { display: grid; grid-template-rows: auto 1fr; min-height: 0; background: var(--card); border-left: 1px solid var(--line); }
#tabs { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--line); }
#tabs button { border: 0; border-radius: 0; background: transparent; padding: 7px 2px 5px; display: flex; flex-direction: column; align-items: center; position: relative; border-bottom: 3px solid transparent; }
#tabs button span { font-size: 18px; line-height: 1.2; }
#tabs button small { font-size: 10.5px; }
#tabs button.on { border-bottom-color: var(--accent); background: var(--bg); }
#tabs button.on small { color: var(--ink); font-weight: 700; }
.badge { position: absolute; top: 3px; right: 16%; background: var(--teal); color: #fff; font-style: normal; font-size: 10px; font-weight: 800; border-radius: 99px; min-width: 17px; padding: 0 4px; }
.badge.urgent { background: var(--bad); }
#pbody { overflow: auto; padding: 12px; min-height: 0; overscroll-behavior: contain; }
.sub { display: block; margin-bottom: 8px; }
.big { font-size: 20px; margin: 4px 0 8px; }
.stars { color: var(--gold); letter-spacing: 1px; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px solid #f0e7d6; align-items: baseline; }
.kv b { text-align: right; font-variant-numeric: tabular-nums; }
.kv select { border: 1px solid var(--line); border-radius: 7px; background: var(--card); padding: 3px; }
.mix span { font-size: 17px; margin-left: 2px; }
.price { margin: 4px 0 8px; }
.price input { width: 100%; accent-color: var(--accent); margin: 4px 0 0; }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 10px; margin-bottom: 10px; background: #fff; }
.card.event { border-color: #f0c9a0; background: #fff6ea; }
.card p { margin: 6px 0; font-size: 12.5px; color: #55505c; }
.chip { font-size: 11px; background: var(--bg); border-radius: 99px; padding: 2px 8px; white-space: nowrap; color: var(--mute); font-weight: 700; }
.chip.urgent { background: #fde3df; color: var(--bad); }
.opts { display: flex; flex-direction: column; gap: 5px; }
.opt { display: grid; grid-template-columns: 58px 1fr auto; gap: 8px; align-items: center; text-align: left; font-size: 12.5px; padding: 7px 9px; }
.event .opt { grid-template-columns: 1fr auto; }
.opt:hover:not(:disabled) { background: #eef7f5; border-color: var(--teal); }
.opt.dear { border: 1px dashed var(--line); border-radius: 9px; color: var(--mute); }
.none { font-size: 12.5px; color: var(--bad); padding: 4px 0; }
.link { border: 0; background: transparent; padding: 2px 0; color: var(--teal); font-size: 12px; text-decoration: underline; }
.empty { text-align: center; padding: 22px 10px; color: var(--mute); }
.empty small { display: block; margin-top: 4px; }
.news .n { font-size: 12.5px; padding: 5px 0 5px 8px; border-left: 3px solid var(--line); margin-bottom: 4px; }
.news .n small { margin-right: 6px; font-weight: 700; }
.n.good { border-color: var(--good); } .n.bad { border-color: var(--bad); } .n.goal { border-color: var(--gold); } .n.city { border-color: #5aa9e0; padding: 5px 0 5px 8px; border-left: 3px solid #5aa9e0; font-size: 12.5px; margin-bottom: 4px; } .n.rival { border-color: #e9962a; }
.row { display: flex; gap: 8px; align-items: center; width: 100%; text-align: left; margin-bottom: 5px; padding: 7px 9px; }
.row div { flex: 1; min-width: 0; }
.row b, .row small { display: block; }
.gripe { color: var(--bad) !important; }
.pick { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; width: 100%; text-align: left; margin-top: 7px; padding: 9px 10px; border-radius: var(--r); }
.pick small { grid-column: 1 / -1; }
.pick span { font-weight: 700; color: var(--teal); white-space: nowrap; }
.pick.owned { border: 1px solid #cfe6d5; background: #f1faf3; }
.locked { color: var(--mute); background: var(--bg); border-radius: 9px; padding: 9px; font-size: 12.5px; margin-top: 6px; }
.big-lock { text-align: center; font-size: 30px; padding: 26px 14px; }
.big-lock b, .big-lock small { display: block; font-size: 15px; } .big-lock small { font-size: 12.5px; margin-top: 4px; }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
td, th { text-align: right; padding: 4px 2px; border-bottom: 1px solid #f0e7d6; } td:first-child, th:first-child { text-align: left; }
th { color: var(--mute); font-weight: 600; }
.chart { display: flex; align-items: flex-end; gap: 3px; height: 70px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.chart i { flex: 1; border-radius: 3px 3px 0 0; background: var(--good); } .chart i.neg { background: var(--bad); opacity: .75; }
.share { display: flex; height: 9px; border-radius: 99px; overflow: hidden; background: #e7dfd0; margin-top: 8px; }
.share .me { background: var(--accent); } .share .rv { background: #e9a92a; }
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; }

#city { position: absolute; inset: 0; background: #7fcbe6; display: none; }
#city.show { display: block; }
#ccv { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; filter: saturate(1.3) contrast(1.06); }
.dist { cursor: pointer; }
.dist polygon { stroke: #fff; stroke-width: 4; stroke-linejoin: round; transition: filter .15s; }
.dist:hover polygon { filter: brightness(1.06); }
.dist.on polygon { stroke: var(--ink); stroke-width: 3; }
.dn { font: 800 13px var(--font); text-anchor: middle; fill: var(--ink); pointer-events: none; }
.dm { font-size: 15px; text-anchor: middle; pointer-events: none; }
.dr { font: 600 8.5px var(--font); text-anchor: middle; fill: #5c5560; pointer-events: none; }
.legend { position: absolute; left: 10px; bottom: 10px; z-index: 3; background: rgba(255,250,241,.9); border-radius: 9px; padding: 5px 10px; font-size: 12px; }

#modal { position: fixed; inset: 0; background: rgba(43,42,51,.55); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 20; }
#modal.open { display: flex; }
.sheet { background: var(--card); border-radius: 18px; padding: 24px; width: min(520px, 100%); max-height: 100%; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.logo { font-size: 42px; letter-spacing: -.03em; font-weight: 500; text-align: center; }
.logo b { color: var(--accent); font-weight: 800; }
.sheet h2 { text-align: center; }
.tag { text-align: center; color: #55505c; margin: 4px 0 16px; }
.diffs { display: grid; gap: 7px; }
.diffs label { display: block; cursor: pointer; }
.diffs input { position: absolute; opacity: 0; }
.diffs span { display: block; border: 1.5px solid var(--line); border-radius: var(--r); padding: 9px 12px; }
.diffs small { display: block; }
.diffs input:checked + span { border-color: var(--accent); background: #fff1ea; }
.mbtn { display: flex; gap: 8px; margin: 16px 0 6px; }
.mbtn.col { flex-direction: column; }
.mbtn button { flex: 1; padding: 11px; font-weight: 700; }
.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.how { font-size: 12.5px; color: var(--mute); margin: 12px 0 0; }

@media (max-width: 820px) {
  #main { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  #panel { border-left: 0; border-top: 1px solid var(--line); grid-template-rows: auto auto; padding-bottom: env(safe-area-inset-bottom); }
  #pbody { display: none; height: 46dvh; order: -1; }
  #panel.open #pbody { display: block; }
  #panel #tabs { border-bottom: 0; border-top: 1px solid var(--line); }
  #panel.open #tabs button.on { border-bottom-color: transparent; box-shadow: inset 0 3px 0 var(--accent); }
  #hud { gap: 6px; padding: 6px 8px; flex-wrap: wrap; overflow: visible; }
  #hud .grow { display: none; }
  .brand, .stat small, #h-stars, .stat[title^="Rating"], .stat[title^="Buzz"] { display: none; }
  .stat { padding: 2px 7px; font-size: 12.5px; }
  .clock { font-size: 12px; flex: 1; }
  .seg button { padding: 6px 6px; font-size: 9px; }
  #h-bsel { max-width: 90px; }
  .hbtn { padding: 5px 7px; }
  #goal { font-size: 12px; padding: 5px 8px; }
  .g-hint { display: none; }
  .g-main em { margin-left: 0; }
  .tool { min-width: 64px; }
  .tool small { display: none; }
  .tip { font-size: 11.5px; }
  #insp { left: 6px; right: 6px; top: auto; bottom: calc(100% + 132px); max-height: 46dvh; }
  #toasts { top: 70px; left: 62px; right: 6px; width: auto; }
  .toast { font-size: 12px; padding: 6px 10px; }
}
@media (max-width: 820px) { .legend { font-size: 10px; padding: 3px 7px; left: 6px; right: 6px; bottom: 6px; } }

/* ---------- the building from the street ---------- */
#facade { position: absolute; left: 10px; top: 10px; width: 132px; display: none; flex-direction: column; filter: drop-shadow(0 8px 14px rgba(40,30,20,.3)); }
#facade.show { display: flex; }
.fc-top { height: 10px; border-radius: 6px 6px 0 0; margin: 0 6px; border: 2px solid #5a4a3e; border-bottom: 0; }
.fl { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 7px; border-radius: 0; border: 2px solid #5a4a3e; border-bottom-width: 0; background: #b7a48f; }
button.fl { cursor: pointer; text-align: left; }
.fl .wins { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; flex: 1; }
.fl .wins i { height: 16px; background: #6f7f90; border-radius: 1.5px; box-shadow: inset 0 -5px 0 rgba(0,0,0,.14); }
.fl .wins i.dim { background: #7d8892; }
.fl.mine { background: #f2dcbb; }
.fl.mine .wins i { background: #9fb4c4; }
.fl.mine .wins i.fit { background: #ffe9a8; }
.fl.mine .wins i.lit { background: #ffd257; box-shadow: 0 0 6px rgba(255,210,87,.9), inset 0 -5px 0 rgba(200,120,20,.25); }
.fl.mine.on { background: #ffb38f; outline: 3px solid var(--accent); outline-offset: -3px; position: relative; z-index: 1; }
.fl.mine:hover:not(.on) { background: #ffe9cc; border-color: #5a4a3e; }
.fl .fn { font-size: 11px; font-weight: 800; white-space: nowrap; min-width: 22px; text-align: right; }
.fl.next { background: repeating-linear-gradient(45deg, #e9f4f1, #e9f4f1 6px, #d4ebe6 6px, #d4ebe6 12px); justify-content: space-between; border-style: dashed; border-color: var(--teal); border-bottom-width: 2px; color: #1c6f66; }
.fl.next:hover:not(:disabled) { background: #c9ebe4; border-color: var(--teal); }
.fl.next small { color: #1c6f66; font-weight: 700; }
.fl.next + .fl { border-top-width: 0; }
.fl.lobby { height: 30px; background: #8f7c69; justify-content: center; border-bottom-width: 2px; }
.fl.lobby .door { width: 22px; height: 22px; align-self: flex-end; background: #3f3830; border-radius: 3px 3px 0 0; border: 2px solid #e9d3a5; border-bottom: 0; }
.fc-name { background: #5a4a3e; color: #fff; font-size: 11px; font-weight: 700; padding: 5px 7px; border-radius: 0 0 8px 8px; line-height: 1.25; }
.fc-name small { display: block; color: #e2d3c2; font-weight: 500; font-size: 10px; }

#banner { position: absolute; top: 10px; left: 152px; right: 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.chipb { pointer-events: auto; background: rgba(43,42,51,.93); color: #fff; border-radius: 99px; padding: 5px 6px 5px 14px; font-size: 12.5px; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.25); white-space: nowrap; }
.chipb.pre { background: rgba(120,78,10,.95); }
.chipb button { border-radius: 99px; border: 0; background: #fff; color: var(--ink); font-weight: 800; font-size: 12px; padding: 4px 12px; }
.chipb.pre button { background: #ffd257; }


.ibtn button.on { background: var(--teal); color: #fff; border-color: var(--teal); }
.card.pre { background: #fff6dc; border-color: #ecd08a; }
.chk { font-size: 12.5px; padding: 2px 0; color: var(--mute); }
.chk.ok { color: var(--ink); }
.wide { width: 100%; margin-top: 10px; padding: 10px; font-weight: 800; }
.warnt { color: #b87a10; }
.explain { background: var(--bg); border-radius: var(--r); padding: 10px 12px; margin: 6px 0; font-size: 12.5px; }
.explain p { margin: 6px 0; }
table.pl td:first-child { color: #55505c; }
table.pl tr.sum td, table.pl tr.total td { font-weight: 800; border-top: 1.5px solid var(--ink); }
table.pl tr.sum td:first-child, table.pl tr.total td:first-child { color: var(--ink); }
table.pl tr.total td { font-size: 14px; border-bottom: 3px double var(--ink); }
table.pl tr.below td { color: var(--mute); font-size: 12px; }

/* ---------- menu and briefings ---------- */
#modal.menubg { background:
  linear-gradient(180deg, rgba(255,214,150,.0) 0%, rgba(40,30,50,.55) 100%),
  repeating-linear-gradient(90deg, transparent 0 26px, rgba(60,40,30,.5) 26px 30px),
  repeating-linear-gradient(0deg, #f6c56b 0 30px, #7b5a45 30px 44px),
  #d9a05a; }
#app:not(.live) { visibility: hidden; }
.sheet.menu { width: min(430px, 100%); }
.stage { text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.done { text-align: center; background: #e9f6ec; color: #2c7a45; border-radius: 99px; padding: 4px 10px; font-size: 12.5px; font-weight: 700; margin-bottom: 10px; }
.brief p { margin: 0 0 9px; font-size: 13.5px; line-height: 1.5; color: #3d3a45; }
.reward { text-align: center; font-weight: 700; color: #7d5a10; background: #fff3d6; border-radius: 9px; padding: 6px; margin: 10px 0 0; font-size: 13px; }
.tick { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 13px; cursor: pointer; }
.g-main .link { font-size: 12px; }

@media (max-width: 820px) {
  #facade { width: 50px; left: 6px; top: 6px; }
  .fl { height: 26px; padding: 0 3px; justify-content: center; }
  .fl .wins, .fc-name small, .fl.next small { display: none; }
  .fc-name { font-size: 0; padding: 3px; }
  .fl.lobby { height: 16px; } .fl.lobby .door { width: 12px; height: 12px; }
  #banner { left: 62px; right: 6px; top: 6px; align-items: flex-start; }
  .chipb { font-size: 11px; padding: 4px 5px 4px 10px; white-space: normal; border-radius: 14px; }
}
