:root {
  --bg: #0d0f13;
  --glass: rgba(16, 18, 24, .66);
  --glass-strong: rgba(16, 18, 24, .86);
  --glass-line: rgba(255, 255, 255, .12);
  --panel2: rgba(255, 255, 255, .07);
  --ink: #f5f1e8;
  --muted: #a9a59c;
  --line: rgba(255, 255, 255, .14);
  --yellow: #ffc928;
  --yellow-ink: #2a2100;
  --red: #ff5a4f;
  --green: #3ddc84;
  --blue: #5aa9ff;
  --radius: 16px;
  --cv-h: 100vh;
  --hud-h: 64px;
  --tick-h: 44px;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); }
body {
  font-family: 'Hind Siliguri', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
input { -webkit-user-select: text; user-select: text; }
button { font-family: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.kbd {
  display: inline-block; padding: 0 6px; border: 1px solid #fff5; border-bottom-width: 2px;
  border-radius: 5px; font-size: .8em; font-family: system-ui, sans-serif; line-height: 1.5;
}
.glass-card {
  background: var(--glass-strong);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--glass-line);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

/* ---------- game shell ---------- */
#game { position: fixed; inset: 0; overflow: hidden; background: var(--bg); user-select: none; }
#cv { position: absolute; left: 0; top: 0; display: block; cursor: crosshair; touch-action: manipulation; }
#cv.hovering { cursor: pointer; }

/* HUD */
#hud {
  position: absolute; top: 10px; left: 12px; right: 12px; z-index: 5;
  display: flex; gap: 8px; align-items: stretch; height: var(--hud-h);
}
.pill {
  background: var(--glass);
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  border: 1px solid var(--glass-line);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.brand {
  font-family: 'Galada', serif; font-size: 30px; color: var(--yellow); line-height: 1;
  display: flex; align-items: center; padding: 0 10px 0 4px;
  text-shadow: 0 2px 0 #6b4f00, 0 4px 14px rgba(0, 0, 0, .6);
}
.stat, .meter { padding: 6px 14px; display: flex; flex-direction: column; justify-content: center; min-width: 116px; }
.stat .lbl, .meter .lbl { font-size: 13px; color: #cfcac0; }
.stat b { font-size: 21px; line-height: 1.2; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-money b { color: var(--yellow); }
.meter { flex: 1 1 150px; max-width: 260px; }
.bar { height: 9px; border-radius: 6px; background: rgba(0, 0, 0, .45); overflow: hidden; margin-top: 5px; }
.bar i { display: block; height: 100%; width: 0; border-radius: 6px; transition: width .3s, background .3s; background: linear-gradient(90deg, #2fbf71, var(--green)); }
.meter.warn .bar i { background: linear-gradient(90deg, #f0a500, var(--yellow)); }
.meter.danger .bar i { background: linear-gradient(90deg, #d8322a, var(--red)); }
.meter.danger { animation: pulse .8s infinite alternate; }
@keyframes pulse { to { border-color: var(--red); box-shadow: 0 0 0 2px rgba(255, 90, 79, .4); } }
.hud-btns { display: flex; gap: 8px; margin-left: auto; }
.icon-btn { color: var(--ink); width: 52px; font-size: 20px; cursor: pointer; }
.icon-btn:hover { background: rgba(40, 44, 54, .8); }

#hint {
  position: absolute; left: 50%; bottom: calc(var(--tick-h) + 16px); transform: translateX(-50%); z-index: 4;
  background: rgba(0, 0, 0, .7); padding: 8px 18px; border-radius: 999px; font-size: 15px; white-space: nowrap;
  pointer-events: none; transition: opacity .6s; border: 1px solid var(--glass-line);
}
#hint.fade { opacity: 0; }

#toasts {
  position: absolute; top: calc(var(--hud-h) + 22px); left: 50%; transform: translateX(-50%); z-index: 6;
  width: min(560px, calc(100% - 32px)); display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none;
}
.toast {
  background: rgba(14, 16, 22, .85); backdrop-filter: blur(8px); border: 1px solid var(--glass-line);
  padding: 7px 16px; border-radius: 12px; font-size: 15px; max-width: 100%; text-align: center; animation: toastIn .25s ease-out;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.toast.bad { border-color: var(--red); background: rgba(70, 16, 14, .9); }
.toast.good { border-color: var(--green); background: rgba(12, 52, 30, .9); }
.toast.money { border-color: var(--yellow); background: rgba(70, 54, 6, .9); color: var(--yellow); }
.toast.out { opacity: 0; transform: translateY(-6px); transition: all .4s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } }

#pause-overlay {
  position: absolute; inset: 0; z-index: 12; background: rgba(0, 0, 0, .55); display: grid; place-items: center; text-align: center;
  font-size: 30px; font-weight: 700;
}
#pause-overlay .glass-card { padding: 28px 40px; }
#pause-overlay small { font-size: 15px; font-weight: 400; color: var(--muted); }
#pause-overlay .btn { margin-top: 14px; }

/* ticker */
#ticker {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--tick-h); z-index: 5;
  display: flex; align-items: center; background: rgba(10, 11, 15, .82); backdrop-filter: blur(8px);
  border-top: 1px solid var(--glass-line); overflow: hidden;
}
.tk-label {
  background: linear-gradient(180deg, #ff5a4f, #d8322a); color: #fff; font-weight: 700; padding: 0 16px; height: 100%;
  display: flex; align-items: center; white-space: nowrap; font-size: 15px; z-index: 1; box-shadow: 6px 0 14px rgba(0, 0, 0, .4);
}
.tk-track { flex: 1; overflow: hidden; white-space: nowrap; position: relative; height: 100%; }
#tk-text { position: absolute; top: 50%; left: 0; transform: translate(100%, -50%); white-space: nowrap; font-size: 15px; }

/* side panel */
#side {
  position: absolute; z-index: 5; right: 12px; top: calc(var(--hud-h) + 20px); bottom: calc(var(--tick-h) + 12px); width: 388px;
  background: var(--glass); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 16px; overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
#side.inspecting { background: var(--glass-strong); }
#side h3 { margin: 0 0 4px; font-size: 19px; }
#log { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
#log li { font-size: 14px; padding: 6px 10px; background: var(--panel2); border-radius: 9px; border-left: 3px solid var(--line); }
#log li.money { border-left-color: var(--yellow); }
#log li.case { border-left-color: var(--blue); }
#log li.bad { border-left-color: var(--red); }

/* inspection */
.ins-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ins-emoji { font-size: 40px; line-height: 1; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); }
.ins-kind { font-weight: 700; font-size: 19px; }
.plate {
  display: inline-block; background: linear-gradient(#fff, #e9e9e9); color: #111; border: 2px solid #111; border-radius: 6px;
  padding: 0 8px; font-weight: 700; font-size: 14px; margin-top: 2px; box-shadow: 0 2px 0 rgba(0, 0, 0, .4);
}
.driver { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.avatar { font-size: 34px; line-height: 1; padding-top: 4px; }
.bubble {
  background: #fffdf6; color: #1b1b1b; border-radius: 4px 16px 16px 16px; padding: 9px 13px; flex: 1;
  animation: pop .2s ease-out; box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}
.bubble b { font-size: 13px; color: #6a665e; display: block; }
.bubble p { margin: 2px 0 0; font-size: 16px; }
@keyframes pop { from { transform: scale(.96); opacity: .3; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); }
.chip.red { border-color: var(--red); color: #ffb3ad; background: rgba(255, 90, 79, .12); }
.chip.yellow { border-color: var(--yellow); color: #ffe08a; background: rgba(255, 201, 40, .1); }

.docs { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 4px; }
.docs li {
  display: flex; justify-content: space-between; gap: 8px; padding: 7px 11px; border-radius: 9px;
  background: var(--panel2); font-size: 14px;
}
.docs.fresh li { animation: pop .25s ease-out backwards; }
.docs .st-ok { color: var(--green); }
.docs .st-expired { color: var(--yellow); }
.docs .st-missing { color: var(--red); }

.offer {
  text-align: center; background: linear-gradient(180deg, rgba(90, 70, 8, .55), rgba(60, 46, 5, .55)); border: 1px dashed var(--yellow);
  border-radius: 14px; padding: 8px; margin-bottom: 12px;
}
.offer .amt { font-size: 30px; font-weight: 700; color: var(--yellow); line-height: 1.2; text-shadow: 0 2px 10px rgba(255, 201, 40, .35); }
.offer small { color: #e8d79c; }

.sec-title { font-size: 13px; color: var(--muted); margin: 4px 0 6px; }
.reasons { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.reason {
  text-align: left; background: var(--panel2); color: var(--ink); border: 1px solid var(--line);
  border-radius: 11px; padding: 9px 12px; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; align-items: center;
}
.reason:hover { border-color: var(--yellow); background: rgba(255, 201, 40, .08); }
.reason .tag { font-size: 12px; padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.reason .tag.real { background: #0f2e1c; color: var(--green); }
.reason .tag.fake { background: #3a1210; color: #ffb3ad; }

.actions { display: grid; gap: 8px; }

/* buttons */
.btn {
  border-radius: 12px; padding: 11px 16px; font-size: 16px; font-weight: 600; cursor: pointer;
  color: var(--ink); background: rgba(255, 255, 255, .08); border: 1px solid var(--line); transition: transform .08s, filter .15s;
}
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-tea { background: linear-gradient(180deg, #ffd54a, #f5b400); color: var(--yellow-ink); border-color: transparent; box-shadow: 0 4px 0 #9a7000; }
.btn-case { background: linear-gradient(180deg, #e04a40, #b8302a); color: #fff; border-color: transparent; box-shadow: 0 4px 0 #6e1a16; }
.btn-go { background: linear-gradient(180deg, #2a8a58, #1f6d45); color: #fff; border-color: transparent; box-shadow: 0 4px 0 #0f3d26; }
.btn-tea:active, .btn-case:active, .btn-go:active { box-shadow: 0 1px 0 rgba(0, 0, 0, .4); transform: translateY(3px); }
.btn-ghost { background: rgba(255, 255, 255, .06); }
.btn-big { padding: 14px 24px; font-size: 18px; }

/* screens */
.screen {
  position: fixed; inset: 0; z-index: 20;
  background: radial-gradient(ellipse at 50% 30%, rgba(20, 16, 6, .35) 0%, rgba(8, 9, 12, .82) 75%);
  display: flex; justify-content: center; align-items: flex-start; padding: 24px 16px; overflow-y: auto;
}
.card { max-width: 640px; width: 100%; text-align: center; margin: auto 0; padding: 26px 26px 20px; }
.badge {
  display: inline-block; background: var(--red); color: #fff; padding: 2px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
.title {
  font-family: 'Galada', 'Hind Siliguri', cursive; font-weight: 400; font-size: clamp(54px, 12vw, 96px);
  margin: 18px 0 0; line-height: 1.15; color: var(--yellow); text-shadow: 0 4px 0 #6b4f00, 0 10px 30px rgba(0, 0, 0, .6);
}
.tagline { font-size: 19px; margin: 6px 0 18px; color: #ece5d2; }
.howto {
  text-align: left; list-style: none; padding: 14px 16px; margin: 0 0 22px; background: rgba(0, 0, 0, .3);
  border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 15px;
}
.best { color: var(--yellow); min-height: 1.5em; margin: 14px 0 0; }
.disclaimer {
  font-size: 12.5px; color: #bdb8ad; margin-top: 14px; line-height: 1.55; text-align: left;
  background: rgba(0, 0, 0, .3); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
}
.disclaimer b { color: var(--yellow); }
.name-field small { font-size: 12px; color: #a9a59c; line-height: 1.4; }

.end-title { font-size: clamp(30px, 6vw, 44px); margin: 0; line-height: 1.25; }
.end-desc { color: #ddd5c0; margin: 6px 0 14px; }
.paper {
  background: #f1e9d6; color: #1b1b1b; border-radius: 6px; padding: 12px 16px; text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transform: rotate(-.6deg); margin-bottom: 16px;
  background-image: linear-gradient(rgba(0, 0, 0, .03) 1px, transparent 1px); background-size: 100% 6px;
}
.paper-head {
  font-family: 'Galada', serif; font-size: 22px; border-bottom: 2px solid #1b1b1b; padding-bottom: 2px; margin-bottom: 8px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.paper-head span { font-family: 'Hind Siliguri', sans-serif; font-size: 12px; }
.paper-headline { font-size: 21px; font-weight: 700; line-height: 1.35; }
.rank { font-size: 21px; font-weight: 700; color: var(--yellow); margin-bottom: 12px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.stats div { background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.stats b { display: block; font-size: 20px; }
.stats span { font-size: 13px; color: var(--muted); }
.end-note { color: #ffb3ad; font-size: 15px; }
.row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* boss call */
.modal { position: fixed; inset: 0; z-index: 30; background: rgba(0, 0, 0, .55); display: grid; place-items: center; padding: 16px; }
.call-card { padding: 22px; max-width: 400px; width: 100%; text-align: center; animation: pop .25s ease-out; }
.call-ring { font-size: 48px; animation: ring .5s infinite alternate; display: inline-block; }
@keyframes ring { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
.call-from { font-weight: 700; font-size: 18px; }
#call-text { font-size: 17px; margin: 10px 0 16px; }

/* event chip, banner, facebook comments, achievements */
.evt {
  display: flex; align-items: center; padding: 0 14px; font-weight: 700; font-size: 15px; white-space: nowrap;
  border-color: var(--yellow); color: var(--yellow); animation: pulse .9s infinite alternate;
}
#banner {
  position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); z-index: 8; pointer-events: none;
  text-align: center; padding: 18px 34px 20px; border-radius: 22px; min-width: min(520px, 90vw);
  background: linear-gradient(180deg, rgba(25, 20, 8, .92), rgba(12, 12, 16, .92)); border: 2px solid var(--yellow);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(255, 201, 40, .25);
  animation: bannerIn .45s cubic-bezier(.2, 1.4, .4, 1);
}
#banner.out { opacity: 0; transform: translate(-50%, -60%) scale(.96); transition: all .45s; }
@keyframes bannerIn { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } }
.b-icon { font-size: 56px; line-height: 1.1; }
.b-title { font-size: clamp(26px, 4vw, 38px); font-weight: 700; color: var(--yellow); line-height: 1.3; }
.b-sub { font-size: 16px; color: #e9e2cf; margin-top: 4px; }

#fb {
  position: absolute; left: 14px; bottom: calc(var(--tick-h) + 14px); z-index: 6; width: 300px;
  display: flex; flex-direction: column; gap: 6px; pointer-events: none;
}
.fb-c {
  display: flex; gap: 8px; align-items: flex-start; background: rgba(255, 255, 255, .95); color: #1c1e21;
  border-radius: 14px; padding: 8px 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); animation: fbIn .3s ease-out;
  border-left: 4px solid #e4405f;
}
.fb-c.good { border-left-color: #1877f2; }
.fb-c.out { opacity: 0; transform: translateX(-20px); transition: all .45s; }
@keyframes fbIn { from { opacity: 0; transform: translateX(-24px); } }
.fb-av { font-size: 24px; line-height: 1; }
.fb-body { display: flex; flex-direction: column; font-size: 14px; line-height: 1.35; }
.fb-body b { font-size: 12.5px; color: #050505; }
.fb-body i { font-style: normal; font-size: 11.5px; color: #65676b; margin-top: 2px; }

.offer.demand { background: linear-gradient(180deg, rgba(110, 20, 20, .5), rgba(60, 10, 10, .5)); border-color: var(--red); }
.offer.demand .amt { color: #ff8a80; }

.name-field { display: flex; flex-direction: column; gap: 4px; max-width: 320px; margin: 0 auto 16px; text-align: left; font-size: 14px; color: var(--muted); }
.name-field input {
  font-family: inherit; font-size: 17px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(0, 0, 0, .35); color: var(--ink); outline: none;
}
.name-field input:focus { border-color: var(--yellow); }

#end-ach { margin-bottom: 10px; }
.ach-list { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.ach {
  font-size: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 201, 40, .12);
  border: 1px solid rgba(255, 201, 40, .5); color: #ffe08a;
}

/* ---------- smaller desktops ---------- */
@media (max-width: 1180px) and (min-width: 861px) {
  .brand { display: none; }
  .stat, .meter { min-width: 0; padding: 6px 10px; }
  #side { width: 340px; }
}

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  :root { --hud-h: 92px; --tick-h: 38px; }
  #hud { top: 6px; left: 8px; right: 8px; flex-wrap: wrap; gap: 6px; height: auto; }
  .brand { display: none; }
  .stat { min-width: 0; flex: 1 1 28%; padding: 3px 9px; }
  .stat .lbl, .meter .lbl { font-size: 11px; }
  .stat b { font-size: 16px; }
  .meter { flex: 1 1 30%; padding: 3px 9px; max-width: none; }
  .meter { flex: 1 1 22%; min-width: 0; }
  .hud-btns { margin-left: 0; gap: 5px; }
  .icon-btn { width: 36px; font-size: 16px; }
  .evt { order: 10; }
  #side {
    left: 0; right: 0; width: auto; top: var(--cv-h); bottom: var(--tick-h); border-radius: 0;
    border-left: 0; border-right: 0; background: rgba(16, 18, 24, .96);
  }
  #side.sheet {
    position: fixed; top: auto; bottom: 0; z-index: 15; max-height: 70vh; border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .6); animation: sheetUp .25s ease-out; padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
  @keyframes sheetUp { from { transform: translateY(40%); opacity: .4; } }
  #hint { bottom: auto; top: calc(var(--cv-h) - 44px); font-size: 13px; }
  #toasts { top: calc(var(--hud-h) + 10px); }
  #fb { bottom: auto; top: calc(var(--cv-h) - 150px); left: 8px; width: 62%; }
  .fb-c { padding: 5px 8px; }
  .fb-body { font-size: 12.5px; }
  .evt { flex: 1 1 100%; justify-content: center; padding: 3px 10px; font-size: 13px; }
  #banner { top: calc(var(--cv-h) + 80px); padding: 12px 18px 14px; }
  .b-icon { font-size: 40px; }
  .toast { font-size: 14px; }
  .stats b { font-size: 17px; }
  .card { padding: 20px 16px 16px; }
  #btn-start { position: sticky; bottom: 10px; z-index: 2; box-shadow: 0 4px 0 #9a7000, 0 10px 30px rgba(0, 0, 0, .6); }
}

/* ---------- rotate prompt & mobile tips ---------- */
#rotate {
  position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 24px; text-align: center; background: rgba(8, 9, 12, .94); backdrop-filter: blur(6px);
}
.rot-phone {
  width: 70px; height: 120px; border: 4px solid var(--yellow); border-radius: 14px; display: grid; place-items: center;
  font-size: 34px; animation: rotPhone 2.2s ease-in-out infinite; box-shadow: 0 0 30px rgba(255, 201, 40, .25);
}
@keyframes rotPhone { 0%, 20% { transform: rotate(0); } 50%, 80% { transform: rotate(-90deg); } 100% { transform: rotate(0); } }
.rot-title { font-size: 26px; font-weight: 700; color: var(--yellow); margin-top: 18px; }
#rotate p { margin: 0 0 8px; color: #ddd5c0; max-width: 320px; }
.mobile-tips { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; align-items: center; font-size: 14px; color: #ddd5c0; }
.mobile-tips p { margin: 0; }

/* ---------- phone held sideways (short and wide) ---------- */
body.land { --hud-h: 42px; --tick-h: 34px; }
body.land #hud {
  top: 5px; left: calc(8px + env(safe-area-inset-left)); right: calc(8px + env(safe-area-inset-right));
  flex-wrap: nowrap; gap: 5px; height: var(--hud-h);
}
body.land .brand { display: none; }
body.land .stat, body.land .meter { flex: 1 1 0; min-width: 0; padding: 2px 8px; max-width: none; }
body.land .stat .lbl, body.land .meter .lbl { font-size: 10.5px; line-height: 1.2; }
body.land .stat b { font-size: 14px; }
body.land .bar { height: 6px; margin-top: 3px; }
body.land .evt { flex: 0 1 auto; font-size: 12px; padding: 0 8px; order: 0; }
body.land .hud-btns { margin-left: 0; gap: 5px; }
body.land .icon-btn { width: 36px; font-size: 15px; }
body.land #side {
  left: auto; right: calc(8px + env(safe-area-inset-right)); top: 8px; bottom: 8px; width: min(380px, 48vw); z-index: 15;
  border-radius: 16px; border: 1px solid var(--glass-line); background: rgba(16, 18, 24, .95);
  position: absolute; max-height: none; animation: none;
}
body.land #side:not(.inspecting) { display: none; }
body.land #fb { top: auto; bottom: calc(var(--tick-h) + 8px); left: calc(8px + env(safe-area-inset-left)); width: 260px; }
body.land #toasts { top: calc(var(--hud-h) + 12px); left: 8px; transform: none; width: calc(100% - min(380px, 48vw) - 32px); }
body.land #btn-start { position: sticky; bottom: 8px; z-index: 2; box-shadow: 0 4px 0 #9a7000, 0 10px 30px rgba(0, 0, 0, .6); }
body.land #hint { top: auto; bottom: calc(var(--tick-h) + 10px); }
body.land #banner { top: 50%; padding: 10px 18px 12px; min-width: 0; }
body.land .b-icon { font-size: 34px; }
body.land .b-title { font-size: 24px; }
body.land .screen { padding: 10px; }
body.land .howto { font-size: 13px; gap: 2px; padding: 10px 12px; }
body.land .title { font-size: 52px; margin-top: 8px; }
