@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Fredoka:wght@500;600;700&family=Lilita+One&family=Nunito:wght@400;600;700;800;900&display=swap");

:root {
  color-scheme: dark;
  --pb-ink: #f8e8bf;
  --pb-soft: #d9ccb0;
  --pb-muted: #b5a887;
  --pb-deep: #102c29;
  --pb-panel: #173b34;
  --pb-panel-light: #214a3e;
  --pb-gold: #e7b957;
  --pb-gold-light: #f5d58c;
  --pb-line: rgba(231, 185, 87, .45);
  --pb-shadow: 0 20px 58px rgba(3, 13, 12, .44);
  font-family: "Nunito", sans-serif;
  background: var(--pb-deep);
  color: var(--pb-ink);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--pb-deep); scroll-behavior: smooth; }
body {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 50% 7%, rgba(67, 92, 66, .43), transparent 43%),
    radial-gradient(ellipse at 88% 55%, rgba(138, 95, 43, .12), transparent 31%),
    linear-gradient(145deg, #102c29 0%, #15332d 57%, #102724 100%);
}
a { color: inherit; }
button { color: inherit; font: inherit; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible {
  outline: 3px solid #ffe7a3;
  outline-offset: 4px;
}
[hidden] { display: none !important; }

.pb-shell {
  width: min(100%, 1160px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top)) 24px max(96px, calc(env(safe-area-inset-bottom) + 80px));
}
.pb-topbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 54px;
  border-bottom: 1px solid rgba(231, 185, 87, .28);
}
.pb-nav, .pb-account { display: flex; min-width: 0; align-items: center; gap: 8px; }
.pb-account { justify-content: flex-end; }
.pb-nav-link, .pb-wallet, .pb-sign-in {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--pb-line);
  border-radius: 999px;
  background: rgba(14, 39, 36, .82);
  color: var(--pb-ink);
  font-size: .76rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, transform .18s ease;
}
.pb-nav-link:hover, .pb-sign-in:hover { background: #285044; transform: translateY(-1px); }
.pb-nav-link:first-child { color: var(--pb-gold-light); }
.pb-wallet { color: var(--pb-gold-light); }
.pb-sign-in { background: #f4e4bf; color: #243b32; }
.pb-brand { display: grid; justify-items: center; color: var(--pb-gold-light); text-decoration: none; text-shadow: 0 2px 0 #614019, 0 5px 15px #0007; }
.pb-brand-kicker { font: 500 .48rem/1.1 "DM Mono", monospace; letter-spacing: .19em; }
.pb-brand-name { font: 1.18rem/.96 "Lilita One", Georgia, serif; letter-spacing: .035em; }
.pb-visit-counter-slot { min-height: 32px; padding-top: 4px; }
.in10city-visit-counter[data-visit-counter="peek-a-boo"] {
  position: relative;
  inset: auto;
  max-width: 100%;
  margin: 0;
}

.pb-screen { animation: pb-arrive .36s ease-out both; }
@keyframes pb-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.pb-eyebrow {
  margin: 0 0 11px;
  color: var(--pb-gold);
  font: 500 .62rem/1.35 "DM Mono", monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.pb-start-screen {
  position: relative;
  display: grid;
  min-height: min(690px, calc(100dvh - 150px));
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, .78fr);
  align-items: center;
  gap: clamp(18px, 5vw, 72px);
  padding: 28px clamp(6px, 3vw, 38px) 52px;
}
.pb-home-copy { position: relative; z-index: 2; max-width: 620px; }
.pb-home-copy h1, .pb-win-copy h1 {
  margin: 0;
  color: #fff0c9;
  font: clamp(3.25rem, 8.8vw, 7rem)/.86 "Lilita One", Georgia, serif;
  letter-spacing: -.015em;
  text-shadow: 0 4px 0 #584322, 0 12px 30px rgba(0, 0, 0, .48);
}
.pb-home-copy h1 em, .pb-win-copy h1 em { color: var(--pb-gold-light); font-style: normal; }
.pb-lede {
  max-width: 490px;
  margin: 21px 0 9px;
  color: #fae9c4;
  font: 600 clamp(1.1rem, 2.25vw, 1.42rem)/1.35 "Fredoka", sans-serif;
}
.pb-instruction { max-width: 430px; margin: 0; color: #d2c6a8; font-size: .92rem; font-weight: 700; line-height: 1.55; }
.pb-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid #edcb78;
  border-radius: 999px;
  background: linear-gradient(#e9bd59, #c99036);
  box-shadow: 0 4px 0 #79532a, 0 8px 18px rgba(0, 0, 0, .24);
  color: #342410;
  font: 600 1rem/1.1 "Fredoka", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease, background .16s ease;
}
.pb-button:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-2px); }
.pb-button:active:not(:disabled) { transform: translateY(1px); }
.pb-button:disabled { cursor: not-allowed; opacity: .55; }
.pb-button-primary { min-width: 166px; }
.pb-start-button { margin-top: 24px; }
.pb-button-arrow { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: rgba(59, 40, 13, .13); }
.pb-small-note { margin: 15px 0 0; color: #a99c7e; font: 500 .62rem/1.3 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.pb-home-status { min-height: 1.3em; margin: 8px 0 0; color: #f0d38d; font-size: .77rem; font-weight: 800; line-height: 1.4; }
.pb-host-stage {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
  align-self: stretch;
}
.pb-host-image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(78%, 280px);
  max-height: 440px;
  object-fit: contain;
  object-position: center bottom;
}
.pb-home-foot {
  position: absolute;
  right: clamp(6px, 3vw, 38px);
  bottom: 19px;
  left: clamp(6px, 3vw, 38px);
  display: flex;
  align-items: center;
  gap: 14px;
  color: #a9976d;
  font: 500 .53rem/1 "DM Mono", monospace;
  letter-spacing: .12em;
}
.pb-foot-rule { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(231,185,87,.45), transparent); }

.pb-level-screen { padding: 24px 0 30px; }
.pb-section-head { max-width: 680px; margin: 10px auto 24px; text-align: center; }
.pb-section-head h1, .pb-room-heading h1, .pb-code-card h1 {
  margin: 0;
  color: #fff0c9;
  font: clamp(2.35rem, 6vw, 4rem)/.98 "Lilita One", Georgia, serif;
  text-shadow: 0 3px 0 #594323;
}
.pb-section-head > p:last-child { margin: 10px auto 0; color: #d3c7aa; font-size: .91rem; line-height: 1.5; }
.pb-level-layout { display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 22px; }
.pb-level-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pb-level-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 142px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 19px 20px 17px 76px;
  border: 1px solid rgba(231, 185, 87, .4);
  border-radius: 5px 17px 5px 17px;
  background: linear-gradient(135deg, rgba(33, 72, 61, .96), rgba(15, 42, 38, .97));
  box-shadow: inset 0 0 0 4px rgba(231, 185, 87, .035), 0 12px 26px rgba(0, 0, 0, .2);
  color: var(--pb-ink);
  text-align: left;
  cursor: pointer;
  transition: transform .17s ease, border-color .17s ease, background .17s ease;
}
.pb-level-card:hover:not(:disabled) { transform: translateY(-3px); border-color: var(--pb-gold-light); background: linear-gradient(135deg, #285644, #173a34); }
.pb-level-card:disabled { cursor: not-allowed; opacity: .68; }
.pb-level-number {
  position: absolute;
  top: 50%;
  left: 17px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(231, 185, 87, .6);
  border-radius: 50%;
  color: var(--pb-gold-light);
  font: 500 .72rem/1 "DM Mono", monospace;
  transform: translateY(-50%);
}
.pb-level-title { color: #f5d58c; font: 1.5rem/1 "Lilita One", Georgia, serif; }
.pb-level-description { margin-top: 7px; color: #d1c6aa; font-size: .76rem; line-height: 1.35; }
.pb-level-state { margin-top: 11px; color: #d4b96d; font: 500 .48rem/1.3 "DM Mono", monospace; letter-spacing: .11em; }
.pb-level-host { display: grid; justify-items: center; align-self: stretch; align-content: center; }
.pb-level-host img { display: block; width: min(100%, 160px); max-height: 225px; object-fit: contain; }
.pb-level-host p { max-width: 155px; margin: 3px 0 0; color: #efcf80; font: 500 .7rem/1.4 "Fredoka", sans-serif; text-align: center; }
.pb-button-quiet, .pb-button-secondary { background: rgba(20, 55, 47, .94); box-shadow: none; color: var(--pb-ink); border-color: var(--pb-line); }
.pb-level-back { margin-top: 22px; }

.pb-room-screen { padding: 18px 0 8px; }
.pb-room-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 15px; }
.pb-room-heading .pb-eyebrow { margin-bottom: 4px; }
.pb-room-heading h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.pb-button-peek { flex: 0 0 auto; min-height: 44px; padding: 7px 13px; background: linear-gradient(140deg, #315847, #183a34); box-shadow: 0 3px 0 #0b211d; color: var(--pb-gold-light); border-color: rgba(231,185,87,.68); font-size: .82rem; }
.pb-peek-mark { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid var(--pb-gold); border-radius: 50%; font: 700 .85rem "DM Mono", monospace; }
.pb-peek-cost { color: #d1c5a5; font: 500 .56rem "DM Mono", monospace; white-space: nowrap; }
.pb-room-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(255px, .72fr); align-items: stretch; gap: 14px; }
.pb-scene-frame {
  position: relative;
  min-width: 0;
  min-height: 365px;
  aspect-ratio: 1024 / 682;
  border: 1px solid rgba(231, 185, 87, .56);
  border-radius: 0;
  background: #0c211f;
  box-shadow: var(--pb-shadow), inset 0 0 0 5px rgba(231, 185, 87, .055);
}
.pb-room-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.pb-hotspots { position: absolute; inset: 0; }
.pb-hotspot {
  position: absolute;
  display: block;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.pb-hotspot:hover, .pb-hotspot:focus-visible { border-color: rgba(255, 227, 151, .92); background: rgba(237, 196, 102, .12); outline: 2px solid rgba(255, 236, 185, .9); outline-offset: 2px; }
.pb-hotspot-one { left: 22%; top: 7%; width: 18%; height: 25%; }
.pb-hotspot-two { right: 8%; top: 22%; width: 23%; height: 42%; }
.pb-hotspot-three { left: 44%; bottom: 8%; width: 32%; height: 25%; }
.pb-hotspot-four { left: 47%; top: 19%; width: 18%; height: 27%; }
.pb-riddle-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px 19px;
  border: 1px solid rgba(231, 185, 87, .44);
  border-radius: 5px 17px 5px 17px;
  background: linear-gradient(155deg, rgba(30, 66, 56, .96), rgba(14, 39, 36, .97));
  box-shadow: 0 14px 32px #06151166, inset 0 0 0 4px rgba(231, 185, 87, .04);
}
.pb-panel-topline { display: flex; justify-content: space-between; gap: 10px; color: var(--pb-gold); font: 500 .53rem/1 "DM Mono", monospace; letter-spacing: .13em; }
.pb-riddle-index { color: #b8ad90; }
.pb-riddle-text { min-height: 90px; margin: 23px 0 13px; color: #fff0c9; font: clamp(1.35rem, 2.4vw, 1.85rem)/1.18 "Fredoka", sans-serif; font-weight: 600; }
.pb-room-feedback { min-height: 48px; margin: 0; color: #e0ce9f; font-size: .82rem; font-weight: 800; line-height: 1.4; }
.pb-riddle-divider { height: 1px; margin: 18px 0 14px; background: linear-gradient(90deg, var(--pb-line), transparent); }
.pb-room-hint-label { margin: 0; color: #b39a5f; font: 500 .5rem/1.3 "DM Mono", monospace; letter-spacing: .12em; }
.pb-room-hint { margin: 6px 0 18px; color: #c9bfa4; font-size: .75rem; line-height: 1.4; }
.pb-code-open { width: 100%; margin-top: auto; font-size: .85rem; }
.pb-room-bottom { display: flex; min-height: 47px; align-items: center; justify-content: flex-end; gap: 12px; color: #c3b894; font-size: .7rem; font-weight: 800; }
.pb-room-bottom .pb-button { min-height: 35px; padding: 6px 13px; font-size: .72rem; }

.pb-code-screen { display: grid; min-height: 620px; place-items: center; padding: 20px 0; }
.pb-code-card {
  width: min(100%, 490px);
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(231, 185, 87, .58);
  border-radius: 7px 20px 7px 20px;
  background: linear-gradient(145deg, rgba(31, 68, 58, .98), rgba(13, 38, 35, .98));
  box-shadow: var(--pb-shadow), inset 0 0 0 5px rgba(231, 185, 87, .04);
  text-align: center;
}
.pb-code-card .pb-eyebrow { margin-bottom: 8px; }
.pb-code-card h1 { font-size: clamp(2.5rem, 8vw, 3.7rem); }
.pb-code-instruction { max-width: 340px; margin: 12px auto 16px; color: #d2c6a9; font-size: .82rem; line-height: 1.45; }
.pb-code-display { display: grid; min-height: 57px; place-items: center; margin: 0 auto 15px; border: 1px solid rgba(231,185,87,.54); border-radius: 5px; background: rgba(7, 23, 21, .62); color: #fff0c9; font: 600 1.55rem/1 "DM Mono", monospace; letter-spacing: .22em; }
.pb-code-clues { min-height: 1.3em; margin: 0 0 9px; color: #f0d38d; font: 500 .72rem/1.3 "DM Mono", monospace; }
.pb-code-feedback { min-height: 1.3em; margin: 0 0 12px; color: #f0d38d; font-size: .76rem; font-weight: 800; }
.pb-code-placeholder { color: #837a62; }
.pb-keypad { display: grid; max-width: 315px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 auto; }
.pb-key {
  min-width: 48px;
  min-height: 49px;
  border: 1px solid rgba(231, 185, 87, .5);
  border-radius: 7px 14px 7px 14px;
  background: linear-gradient(145deg, #f4e4bf, #d9c293);
  box-shadow: 0 3px 0 #927747;
  color: #283a30;
  font: 700 1.12rem/1 "DM Mono", monospace;
  cursor: pointer;
  transition: transform .13s ease, filter .13s ease;
}
.pb-key:hover { filter: brightness(1.07); transform: translateY(-2px); }
.pb-key:active { transform: translateY(1px); }
.pb-key-spacer { display: block; }
.pb-code-actions { display: flex; justify-content: center; gap: 10px; margin-top: 17px; }
.pb-code-actions .pb-button { min-width: 112px; min-height: 42px; font-size: .86rem; }
.pb-text-button { margin-top: 17px; padding: 8px 12px; border: 0; background: transparent; color: #d8c796; font-size: .78rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.pb-result-screen { display: grid; min-height: min(640px, calc(100dvh - 135px)); grid-template-columns: minmax(0, 1fr) minmax(190px, .52fr); align-items: center; gap: 24px; max-width: 900px; margin: 0 auto; }
.pb-result-card { padding: clamp(24px, 5vw, 48px); border: 1px solid rgba(231,185,87,.55); border-radius: 7px 21px 7px 21px; background: linear-gradient(145deg, rgba(32,70,58,.97), rgba(13,37,34,.97)); box-shadow: var(--pb-shadow); text-align: center; }
.pb-result-seal { display: grid; width: 54px; height: 54px; place-items: center; margin: 0 auto 12px; border: 1px solid var(--pb-gold-light); border-radius: 50%; background: rgba(231,185,87,.13); color: var(--pb-gold-light); font: 700 1.4rem "DM Mono", monospace; }
.pb-result-card h1 { margin: 0; color: #fff0c9; font: clamp(2.15rem, 5vw, 3.6rem)/1 "Lilita One", Georgia, serif; }
.pb-result-card > p:not(.pb-eyebrow) { max-width: 370px; margin: 13px auto 0; color: #d5c8a9; font-size: .94rem; line-height: 1.5; }
.pb-result-card .pb-room-result-reward { min-height: 1.25em; margin-top: 8px; color: #f0d38d; font-size: .78rem; font-weight: 800; }
.pb-result-rule { width: 68px; height: 1px; margin: 22px auto; background: var(--pb-gold); }
.pb-result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pb-result-actions .pb-button { min-height: 43px; font-size: .86rem; }
.pb-result-host { display: block; width: 100%; max-height: 360px; object-fit: contain; }

.pb-win-screen { display: grid; min-height: min(660px, calc(100dvh - 140px)); grid-template-columns: minmax(0, 1fr) minmax(240px, .7fr); align-items: center; gap: 22px; padding: 25px clamp(6px, 3vw, 38px); }
.pb-win-copy { max-width: 560px; }
.pb-win-copy h1 { font-size: clamp(3.4rem, 9vw, 6.6rem); }
.pb-win-copy > p:not(.pb-eyebrow) { max-width: 390px; margin: 17px 0 21px; color: #d5c9aa; font-size: 1rem; line-height: 1.5; }
.pb-win-copy .pb-win-reward { margin: -10px 0 17px; color: #f0d38d; font-size: .8rem; font-weight: 800; }
.pb-win-host { position: relative; display: grid; min-height: 360px; place-items: center; }
.pb-win-host img { display: block; width: min(100%, 290px); max-height: 410px; object-fit: contain; }

.pb-overlay { position: fixed; z-index: 2000; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(4, 15, 14, .91); }
.pb-overlay-frame { display: flex; width: min(900px, 100%); flex-direction: column; border: 1px solid rgba(231,185,87,.74); border-radius: 0; background: #0a1c1a; }
.pb-overlay-frame img { display: block; width: 100%; max-height: min(78dvh, 680px); object-fit: contain; }
.pb-overlay-label { margin: 0; padding: 10px 14px; border-top: 1px solid rgba(231,185,87,.48); background: #0a1c1a; color: #fae3a6; font: 600 .85rem "Fredoka", sans-serif; text-align: center; }
.pb-scare-overlay { background: rgba(6, 12, 12, .96); }
.pb-scare-overlay .pb-overlay-frame { border-color: rgba(203, 161, 105, .65); }
.pb-footer { display: flex; justify-content: center; align-items: center; gap: 17px; margin: 16px auto 0; padding: 0 12px 12px; color: rgba(221, 206, 169, .65); font: 500 .48rem/1.4 "DM Mono", monospace; letter-spacing: .07em; text-align: center; }
.pb-footer > span { display: inline-flex; align-items: center; gap: 8px; }
.pb-footer i { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--pb-gold); }
.pb-footer a { color: #e6ce8b; text-underline-offset: 3px; }
.pb-quirkie {
  position: fixed;
  z-index: 90;
  bottom: max(8px, env(safe-area-inset-bottom));
  left: max(8px, env(safe-area-inset-left));
  display: grid;
  width: clamp(60px, 8vw, 88px);
  height: clamp(78px, 14vh, 110px);
  place-items: end center;
  text-decoration: none;
}
.pb-quirkie img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; object-position: bottom; }

@media (max-width: 760px) {
  .pb-shell { padding-right: 17px; padding-left: 17px; }
  .pb-start-screen { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(180px, .64fr); gap: 8px; padding-top: 36px; }
  .pb-home-copy h1 { font-size: clamp(3rem, 8vw, 5.2rem); }
  .pb-host-stage { min-height: 310px; }
  .pb-host-image { width: min(90%, 230px); }
  .pb-level-layout { grid-template-columns: minmax(0, 1fr) 135px; gap: 10px; }
  .pb-level-card { min-height: 132px; padding-left: 64px; }
  .pb-level-number { left: 11px; width: 40px; height: 40px; }
  .pb-level-host img { max-height: 180px; }
  .pb-room-layout { grid-template-columns: minmax(0, 1fr); }
  .pb-scene-frame { min-height: 0; }
  .pb-riddle-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; padding: 15px; }
  .pb-panel-topline { grid-column: 1 / -1; }
  .pb-riddle-text { min-height: auto; margin: 3px 0; }
  .pb-room-feedback { min-height: 0; }
  .pb-riddle-divider, .pb-room-hint-label, .pb-room-hint { display: none; }
  .pb-code-open { grid-column: 2; grid-row: 2 / span 2; width: auto; min-width: 135px; }
  .pb-result-screen { min-height: 580px; grid-template-columns: minmax(0, 1fr) minmax(135px, .48fr); }
  .pb-result-host { max-height: 270px; }
}
@media (max-width: 520px) {
  .pb-shell { padding: max(7px, env(safe-area-inset-top)) 12px max(112px, calc(env(safe-area-inset-bottom) + 100px)); }
  .pb-topbar { grid-template-columns: minmax(0, 1fr) auto; gap: 6px; min-height: 48px; }
  .pb-nav { grid-column: 1; grid-row: 1; gap: 4px; }
  .pb-nav-link, .pb-wallet, .pb-sign-in { min-height: 31px; padding: 5px 8px; font-size: .6rem; }
  .pb-city-link { display: inline-flex; }
  .pb-brand { grid-column: 2; grid-row: 1; }
  .pb-brand-kicker { font-size: .38rem; }
  .pb-brand-name { font-size: .97rem; }
  .pb-account { grid-column: 1 / -1; grid-row: 2; justify-content: flex-end; margin-top: -2px; }
  .pb-visit-counter-slot { min-height: 28px; }
  .pb-start-screen { min-height: 0; grid-template-columns: minmax(0, 1fr) 94px; align-items: center; gap: 0; padding: 24px 2px 47px; }
  .pb-home-copy { grid-column: 1 / -1; grid-row: 1; padding-right: 68px; }
  .pb-home-copy h1 { font-size: clamp(2.65rem, 13vw, 4.05rem); }
  .pb-eyebrow { margin-bottom: 8px; font-size: .51rem; letter-spacing: .15em; }
  .pb-lede { max-width: 320px; margin: 14px 0 7px; font-size: 1rem; }
  .pb-instruction { max-width: 340px; font-size: .77rem; line-height: 1.42; }
  .pb-start-button { min-height: 44px; margin-top: 17px; }
  .pb-small-note { font-size: .49rem; }
  .pb-host-stage { position: absolute; top: 33px; right: -2px; width: 107px; min-height: 152px; }
  .pb-host-image { width: 105px; max-height: 150px; }
  .pb-home-foot { right: 2px; bottom: 14px; left: 2px; gap: 8px; font-size: .42rem; }
  .pb-section-head { margin: 4px auto 18px; }
  .pb-section-head h1 { font-size: 2.55rem; }
  .pb-section-head > p:last-child { font-size: .8rem; }
  .pb-level-layout { grid-template-columns: minmax(0, 1fr) 82px; gap: 8px; }
  .pb-level-grid { gap: 8px; }
  .pb-level-card { min-height: 125px; padding: 15px 9px 13px 55px; }
  .pb-level-number { left: 8px; width: 37px; height: 37px; font-size: .61rem; }
  .pb-level-title { font-size: 1.25rem; }
  .pb-level-description { font-size: .65rem; }
  .pb-level-state { font-size: .41rem; letter-spacing: .07em; }
  .pb-level-host { display: grid; align-self: center; }
  .pb-level-host img { width: 82px; max-height: 145px; }
  .pb-level-host p { max-width: 82px; font-size: .54rem; }
  .pb-level-back { margin-top: 17px; }
  .pb-room-screen { padding-top: 13px; }
  .pb-room-heading { align-items: flex-start; gap: 7px; }
  .pb-room-heading h1 { font-size: 2rem; }
  .pb-button-peek { min-height: 39px; gap: 6px; padding: 6px 8px; font-size: .67rem; }
  .pb-peek-mark { width: 20px; height: 20px; font-size: .7rem; }
  .pb-peek-cost { font-size: .46rem; }
  .pb-room-layout { gap: 9px; }
  .pb-scene-frame { min-height: 0; aspect-ratio: 1024 / 682; }
  .pb-hotspot { min-width: 44px; min-height: 44px; }
  .pb-riddle-panel { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 8px; }
  .pb-panel-topline { font-size: .46rem; }
  .pb-riddle-text { margin: 2px 0; font-size: 1.25rem; }
  .pb-room-feedback { font-size: .7rem; }
  .pb-code-open { grid-column: auto; grid-row: auto; width: 100%; min-height: 40px; }
  .pb-room-bottom { min-height: 42px; font-size: .58rem; }
  .pb-room-bottom .pb-button { min-height: 33px; padding-inline: 10px; font-size: .62rem; }
  .pb-code-screen { min-height: 0; padding: 17px 0; }
  .pb-code-card { padding: 20px 14px; }
  .pb-code-card h1 { font-size: 2.7rem; }
  .pb-code-instruction { font-size: .76rem; }
  .pb-keypad { gap: 7px; }
  .pb-key { min-height: 46px; }
  .pb-code-actions .pb-button { min-width: 0; flex: 1; }
  .pb-result-screen { min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 35px 0; }
  .pb-result-card { padding: 22px 15px; }
  .pb-result-host { display: none; }
  .pb-result-actions { flex-direction: column; }
  .pb-result-actions .pb-button { width: 100%; }
  .pb-win-screen { min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 29px 2px 50px; }
  .pb-win-copy { position: relative; z-index: 1; padding-right: 75px; }
  .pb-win-copy h1 { font-size: clamp(3.3rem, 14vw, 4.5rem); }
  .pb-win-copy > p:not(.pb-eyebrow) { font-size: .84rem; }
  .pb-win-host { position: absolute; top: 32px; right: 0; min-height: 150px; width: 105px; }
  .pb-win-host img { width: 105px; max-height: 150px; }
  .pb-footer { flex-wrap: wrap; gap: 8px 13px; padding-left: 66px; font-size: .42rem; }
  .pb-quirkie { width: 57px; height: 78px; }
  .pb-overlay { padding: 12px; }
  .pb-overlay-frame img { max-height: 72dvh; }
  .pb-overlay-label { padding: 8px; font-size: .73rem; }
}
@media (max-width: 360px) {
  .pb-shell { padding-right: 9px; padding-left: 9px; }
  .pb-home-copy { padding-right: 58px; }
  .pb-host-stage, .pb-win-host { width: 91px; }
  .pb-host-image, .pb-win-host img { width: 91px; }
  .pb-level-card { padding-left: 49px; }
  .pb-level-number { left: 6px; width: 34px; height: 34px; }
  .pb-button-peek { font-size: .6rem; }
  .pb-peek-cost { font-size: .42rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
