:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1d1d1f;
  background: #f5f5f7;
  font-synthesis: none;
  --text: #1d1d1f;
  --muted: #86868b;
  --blue: #0071e3;
  --line: #e5e5e8;
  --surface: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .42; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, canvas:focus-visible { outline: 3px solid #0071e370; outline-offset: 4px; }
input:focus, select:focus { outline: 3px solid #0071e324; border-color: var(--blue); }
input, select { width: 100%; height: 49px; padding: 0 14px; border: 1px solid #d9d9de; border-radius: 12px; background: #fafafa; color: var(--text); font-size: 14px; transition: border-color .15s, outline .15s; }
input::placeholder { color: #a4a4aa; }
select { appearance: auto; cursor: pointer; }
label { display: block; margin: 20px 0 8px; font-size: 12px; font-weight: 550; color: #5b5b62; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(32px, 4vw, 50px); font-weight: 650; letter-spacing: -.045em; line-height: 1.12; }
h2 { font-size: 25px; font-weight: 620; letter-spacing: -.03em; }
h3 { font-size: 14px; font-weight: 600; letter-spacing: -.015em; }
small { font-size: 11px; font-weight: 400; color: var(--muted); }
.muted { color: var(--muted); line-height: 1.7; }
.small { font-size: 12px; }
.wide { width: 100%; }
.center { text-align: center; }
.header { height: 76px; max-width: 1120px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; font-size: 24px; font-weight: 750; letter-spacing: -.065em; white-space: nowrap; }
.brand > span { color: var(--blue); font-size: 30px; margin: -5px 0 0 1px; font-weight: 500; }
.brand i { display: none; }
.header-right { display: flex; align-items: center; gap: 30px; font-size: 11px; color: #85858a; }
.quiet { border: 0; padding: 8px 0; background: transparent; color: #6e6e73; font-size: 12px; white-space: nowrap; }
.quiet:hover, .footer a:hover { color: var(--blue); }
.quiet > span { margin-left: 7px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 12px; min-height: 48px; padding: 13px 20px; font-size: 13px; font-weight: 550; transition: background .15s, box-shadow .15s; }
.button.primary { background: var(--blue); color: white; }
.button.primary:not(:disabled):hover { background: #0077ed; box-shadow: 0 3px 12px #0071e326; }
.button.primary:not(:disabled):active { background: #0065ce; }
.button.secondary { background: #f0f0f3; color: #424247; }
.button.secondary:not(:disabled):hover { background: #e7e7ec; }
.button > span { font-size: 17px; line-height: 1; }
.icon-button { padding: 0; min-width: 49px; background: #edf4fe; color: var(--blue); font-size: 20px; }
.text-link { display: block; color: var(--blue); font-size: 12px; margin-top: 15px; }
.eyebrow { color: #929297; font-size: 10px; font-weight: 550; letter-spacing: .08em; line-height: 1.5; }
.live-dot { display: inline-block; height: 5px; width: 5px; border-radius: 50%; background: #38a36b; margin-right: 6px; vertical-align: middle; }
.home { max-width: 1120px; padding: 0 24px 0; margin: 0 auto; }
.home-heading { text-align: center; padding: 35px 0 42px; }
.product-label { color: #6e6e73; font-size: 12px; font-weight: 500; }
.home-heading h1 { font-size: clamp(37px, 4.3vw, 56px); margin: 15px 0 17px; letter-spacing: -.055em; }
.home-heading h1 span { color: #86868b; margin-left: 12px; }
.home-heading p { font-size: 14px; line-height: 1.65; color: #86868b; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 24px; align-items: stretch; }
.destination { overflow: hidden; background: white; border-radius: 24px; box-shadow: 0 4px 24px #1c243004; }
.destination-image { position: relative; height: 325px; overflow: hidden; background: #d8dde0; }
.destination-image > img { height: 100%; width: 100%; object-fit: cover; object-position: center 58%; display: block; }
.destination-image:after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #15202496); pointer-events: none; }
.destination-label { position: absolute; bottom: 25px; left: 27px; display: flex; gap: 12px; align-items: center; color: white; z-index: 1; }
.destination-label h2 { font-size: 25px; font-weight: 600; letter-spacing: -.035em; }
.destination-label p { font-size: 11px; color: #ffffffe0; margin-top: 6px; }
.place-symbol { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #ffffff25; border: 1px solid #ffffff30; backdrop-filter: blur(20px); }
.place-symbol svg { width: 22px; height: 22px; }
.photo-caption { position: absolute; top: 17px; right: 18px; color: #fff; font-size: 8px; padding: 5px 8px; border-radius: 6px; background: #1d253b30; backdrop-filter: blur(12px); z-index: 1; }
.destination-details { display: grid; grid-template-columns: 1fr 1fr 1fr; margin: 0 27px; padding: 26px 0 24px; border-bottom: 1px solid #eeeef1; }
.destination-details > div { display: flex; flex-direction: column; gap: 5px; padding-left: 23px; border-left: 1px solid #eeeef1; }
.destination-details > div:first-child { padding-left: 0; border-left: 0; }
.destination-details strong { font-size: 26px; font-weight: 550; letter-spacing: -.035em; }
.destination-details span { font-size: 10px; color: #86868b; }
.destination-footer { padding: 23px 28px; display: flex; align-items: center; gap: 12px; }
.subtle-icon { font-size: 25px; font-weight: 300; color: #a2a2a8; }
.destination-footer p { font-size: 11px; color: #86868b; line-height: 1.6; }
.create-panel { padding: 28px; border-radius: 24px; background: white; box-shadow: 0 4px 24px #1c243004; }
.create-panel h2 { margin: 0 0 8px; }
.create-panel > .muted { font-size: 12px; }
.create-panel .primary { margin-top: 24px; }
.create-panel form > label:first-child { margin-top: 26px; }
.select-wrap { position: relative; }
.select-wrap > span { display: none; }
.or-line { display: flex; align-items: center; gap: 13px; color: #a0a0a6; font-size: 10px; margin: 22px 0 15px; }
.or-line:before, .or-line:after { content: ''; height: 1px; background: #ededf0; flex: 1; }
.join-inline { display: flex; gap: 9px; }
.join-inline input { font-size: 12px; }
.mode-note { font-size: 10px; line-height: 1.7; color: #929298; margin: 19px 2px 0; }
.footer { max-width: 1120px; margin: 30px auto 0; padding: 24px; display: flex; justify-content: space-between; gap: 20px; font-size: 10px; color: #98989d; }
.footer-dot { margin: 0 10px; color: #c4c4c9; }
.footer a > span { margin-left: 4px; }
.initial { display: flex; align-items: center; justify-content: center; min-height: 100vh; gap: 4px; font-size: 28px; letter-spacing: -.08em; }
.initial > span { color: var(--blue); }
.initial small { letter-spacing: normal; margin-left: 25px; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); max-width: min(92vw, 560px); padding: 15px 21px; background: #ffffffed; color: #303035; box-shadow: 0 6px 35px #00000018; border: 1px solid #00000008; backdrop-filter: blur(24px); border-radius: 16px; font-size: 12px; line-height: 1.5; opacity: 0; pointer-events: none; transition: .2s; z-index: 100; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.lobby { max-width: 680px; margin: 0 auto; text-align: center; padding: 70px 25px; }
.lobby h1 { font-size: 40px; margin-top: 18px; }
.hero-description { color: #86868b; font-size: 14px; line-height: 1.8; margin: 20px 0; }
.lobby > .hero-description { max-width: 460px; margin: 20px auto 32px; }
.lobby-players { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 32px 0 25px; }
.player-chip { display: flex; align-items: center; gap: 10px; text-align: left; min-width: 0; }
.lobby-players .player-chip { padding: 22px; background: white; border-radius: 18px; }
.avatar { width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #e5f0ff; color: #457abd; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.avatar.player-1 { background: #f9eadf; color: #b77a4b; }
.player-chip > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.player-chip b { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-chip > div > span { font-size: 10px; color: #95959b; }
.player-chip small { font-size: 9px; margin-left: 3px; }
.player-status { font-size: 10px; color: #5f8e6c; white-space: nowrap; margin-left: 8px; }
.empty-player { border: 1px dashed #d4d4d9; background: transparent !important; }
.empty-player .avatar { background: #eaeaee; color: #aaaab0; }
.empty-player b { color: #909097; }
.waiting-dot { width: 5px; height: 5px; background: #b3b3bc; border-radius: 50%; margin-left: auto; }
.invite-box { background: white; border-radius: 18px; padding: 22px; text-align: left; }
.invite-box > span { font-size: 9px; letter-spacing: .07em; color: #97979e; }
.invite-box > div { display: flex; gap: 10px; margin-top: 12px; }
.invite-box input { color: #6b6b75; font-size: 12px; }
.invite-box button { white-space: nowrap; font-size: 11px; }
.lobby-rules { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 25px 0; }
.lobby-rules span { font-size: 10px; padding: 7px 12px; background: #eaeaee; border-radius: 20px; color: #7e7e87; }
.demo-notice { font-size: 10px; line-height: 1.8; color: #a0a0a6; margin-bottom: 20px; }
.start-button { min-width: 260px; margin-top: 10px; }
.start-button + p { margin-top: 15px; }
.connection { font-size: 10px; color: #6e8874; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.connection i { height: 5px; width: 5px; border-radius: 50%; background: #4aa973; }
.connection.offline { color: #b78135; }
.room-code { font-size: 10px; letter-spacing: .08em; color: #9999a0; }

/* Во время раунда панорама занимает весь viewport. HUD не закрывает ссылки провайдера. */
body.in-game { overflow: hidden; }
.in-game .header { position: fixed; inset: 20px 24px auto; height: 44px; max-width: none; margin: 0; padding: 0; pointer-events: none; z-index: 20; }
.in-game .brand { pointer-events: auto; background: #fffffff0; backdrop-filter: blur(24px); border: 1px solid #ffffff70; padding: 10px 17px; border-radius: 16px; font-size: 21px; box-shadow: 0 4px 20px #1828370a; }
.in-game .brand > span { font-size: 25px; }
.in-game .header-right { pointer-events: auto; padding: 4px 15px; background: #fffffff0; backdrop-filter: blur(24px); border: 1px solid #ffffff70; border-radius: 16px; gap: 17px; box-shadow: 0 4px 20px #1828370a; }
.in-game .room-code { display: none; }
.in-game[data-provider="yandex"] .header .brand { visibility: hidden; }
.in-game[data-provider="yandex"] .scene-tag { left: 50%; top: 79px; transform: translateX(-50%); white-space: nowrap; }
.game-stage { position: fixed; inset: 0; height: 100dvh; background: #d5dce2; overflow: hidden; }
.panorama-view { position: absolute; inset: 0; }
.scene-canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.scene-canvas.dragging { cursor: grabbing; }
.game-bar { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 17px; width: 320px; height: 46px; padding: 0 18px; background: #fffffff0; backdrop-filter: blur(24px); border: 1px solid #ffffff70; border-radius: 16px; box-shadow: 0 4px 20px #1828370a; z-index: 20; }
.game-bar .eyebrow { display: none; }
.game-bar strong { display: block; font-size: 11px; font-weight: 500; color: #8c8c95; white-space: nowrap; }
.game-bar strong b { color: #38383f; font-size: 14px; margin-left: 3px; font-weight: 650; }
.game-bar strong small { font-size: 10px; color: #95959e; }
.round-progress { display: flex; gap: 3px; }
.round-progress i { display: block; width: 4px; height: 4px; background: #d6d6dd; border-radius: 5px; }
.round-progress i.current { background: var(--blue); width: 12px; }
.round-progress i.done { background: #8cb9e9; }
.timer { min-width: 49px; font-size: 20px; font-weight: 600; letter-spacing: -.025em; font-variant-numeric: tabular-nums; text-align: right; }
.timer.urgent { color: #d94d3f; }
.timer.loading-timer { font-size: 10px; color: #86868b; }
.scene-loading { height: 100%; display: flex; align-items: center; justify-content: center; gap: 13px; color: #636d75; font-size: 12px; padding: 15px; text-align: center; }
.spinner { width: 18px; height: 18px; border: 2px solid #0071e322; border-top-color: var(--blue); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scene-tag { position: absolute; left: 24px; top: 84px; font-size: 9px; letter-spacing: .04em; padding: 9px 12px; background: #ffffffea; backdrop-filter: blur(20px); color: #5d6369; border-radius: 10px; pointer-events: none; }
.scene-tag b { margin: 0 6px; color: #b4b4bb; }
.compass { position: absolute; top: 85px; right: 24px; width: 43px; height: 43px; background: #ffffffec; backdrop-filter: blur(20px); border: 1px solid #ffffff60; border-radius: 50%; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.compass > span { font-size: 27px; color: #d56d5c; transition: transform .04s linear; }
.compass > b { position: absolute; top: -7px; left: 16px; background: #fff; border-radius: 3px; padding: 2px 3px; font-size: 7px; color: #73737a; }
.compass > small { position: absolute; bottom: -21px; font-size: 9px; color: #4e545b; padding: 3px 5px; background: #ffffffd9; border-radius: 4px; }
.scene-tools { position: absolute; left: 24px; bottom: 125px; display: flex; flex-direction: column; gap: 5px; }
.scene-tools > button { position: relative; width: 35px; height: 35px; border: 1px solid #ffffff70; border-radius: 11px; background: #fffffff0; backdrop-filter: blur(20px); color: #4b535c; font-size: 20px; box-shadow: 0 3px 12px #18283712; }
.scene-tools > button:first-child { font-size: 24px; height: 42px; margin-bottom: 7px; }
.scene-tools small { position: absolute; font-size: 7px; top: 2px; right: 4px; color: #92929a; }
.scene-instruction { position: absolute; bottom: 100px; left: 24px; font-size: 9px; color: #fff; text-shadow: 0 1px 5px #000b; pointer-events: none; }
.scene-instruction > span { padding: 0 6px; }
.guess-card { position: absolute; right: 24px; bottom: 38px; background: #ffffffed; backdrop-filter: blur(30px); border: 1px solid #ffffffa0; border-radius: 16px; padding: 8px; width: 260px; box-shadow: 0 8px 35px #16283925; z-index: 10; transition: width .22s ease; }
.guess-card-heading { display: flex; align-items: center; gap: 8px; height: 35px; padding: 0 5px 6px; }
.guess-card-heading > span { width: 18px; color: var(--blue); }
.guess-card-heading svg { width: 17px; height: 20px; }
.guess-card-heading h3 { font-size: 11px; font-weight: 600; }
.guess-card-heading p { font-size: 8px; color: #98989f; margin-top: 3px; }
.guess-card-heading > .quiet { margin-left: auto; font-size: 22px; padding: 0 2px; color: #9a9aa3; }
.guess-map { height: 160px; border-radius: 9px; overflow: hidden; position: relative; background: #e1e5df; transition: height .22s ease; }
.guess-card > .button { font-size: 11px; min-height: 38px; margin-top: 7px; border-radius: 10px; padding: 10px 9px; }
.guess-card.expanded { width: min(530px, calc(100vw - 48px)); }
.guess-card.expanded .guess-map { height: min(340px, 48dvh); }
@media (hover: hover) and (pointer: fine) {
  .guess-card:hover, .guess-card:focus-within { width: min(530px, calc(100vw - 48px)); }
  .guess-card:hover .guess-map, .guess-card:focus-within .guess-map { height: min(340px, 48dvh); }
}
.guess-map canvas, .result-map canvas { width: 100%; height: 100%; display: block; cursor: crosshair; touch-action: none; }
.map-credit { position: absolute; bottom: 0; right: 0; font: 7px system-ui; background: #ffffffda; color: #7c8379; padding: 3px 5px; pointer-events: none; }
.map-controls { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; border-radius: 7px; overflow: hidden; box-shadow: 0 2px 8px #213f2818; }
.map-controls button { height: 26px; width: 26px; background: white; border: 0; border-bottom: 1px solid #ededee; color: #646d63; font-size: 18px; }
.match-bottom { position: fixed; bottom: 38px; left: 24px; z-index: 10; }
.match-players { display: flex; gap: 22px; padding: 13px 17px; border-radius: 17px; background: #ffffffed; backdrop-filter: blur(24px); box-shadow: 0 4px 25px #18283715; border: 1px solid #ffffff90; }
.match-bottom .avatar { width: 29px; height: 29px; font-size: 10px; }
.match-bottom .player-chip b { font-size: 10px; }
.match-bottom .player-chip > div > span { font-size: 9px; }
.match-bottom > .small { display: none; }
.match-bottom .player-status { font-size: 8px; }
.result-page { max-width: 1120px; margin: 0 auto; padding: 45px 24px; }
.result-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.result-intro h1 { font-size: 39px; margin: 12px 0; }
.result-intro p { font-size: 13px; color: #86868b; }
.round-stamp { font-size: 75px; line-height: 1; letter-spacing: -.06em; color: #d8d8de; }
.round-stamp small { font-size: 20px; color: #aaaab2; letter-spacing: normal; }
.result-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, 1fr); gap: 24px; }
.result-map { height: 460px; background: #dce4d7; border-radius: 20px; overflow: hidden; position: relative; }
.round-score-panel { border-radius: 20px; background: white; padding: 25px; }
.result-player { padding: 24px 0; border-bottom: 1px solid #eeeef2; }
.result-player:nth-of-type(2) { border: 0; }
.result-player-name { display: flex; align-items: center; gap: 9px; }
.result-player-name .avatar { width: 30px; height: 30px; font-size: 11px; }
.result-player-name b { font-size: 12px; font-weight: 550; }
.result-player-name > span:last-child { margin-left: auto; font-size: 11px; color: #85858b; }
.result-player > strong { display: block; font-size: 36px; font-weight: 600; letter-spacing: -.035em; margin-top: 16px; }
.result-player > strong small { font-size: 11px; letter-spacing: normal; }
.score-track { height: 4px; background: #eeeef2; margin-top: 14px; border-radius: 5px; overflow: hidden; }
.score-track i { display: block; height: 100%; background: #7daee9; }
.result-player > p { font-size: 10px; color: #9a9aa2; margin-top: 10px; }
.round-score-panel > .small { margin-top: 12px; font-size: 10px; }
.scoring-note { font-size: 10px; color: #a0a0a7; margin-top: 20px; }
.final-page { max-width: 790px; margin: 0 auto; text-align: center; padding: 44px 25px 65px; }
.winner-mark { width: 63px; height: 63px; border-radius: 50%; background: #e5f0ff; color: #6b9cde; font-size: 34px; margin: 24px auto; display: flex; align-items: center; justify-content: center; }
.final-page h1 { font-size: 39px; }
.final-page > .hero-description { margin: 16px 0 30px; font-size: 12px; }
.final-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; margin: 30px 0; }
.final-totals > div { padding: 25px 28px; border: 1px solid #fff; border-radius: 20px; background: white; }
.final-totals > .winner { border-color: #99bfe94f; background: #edf4fc; }
.final-totals h2 { font-size: 19px; margin: 11px 0; }
.final-totals strong { display: block; color: #3b6da9; font-size: 42px; font-weight: 600; letter-spacing: -.04em; white-space: nowrap; }
.score-decimals { font-size: .65em; letter-spacing: -.025em; }
.final-totals > div > span:last-child { font-size: 10px; color: #99a1b0; }
.history-wrap { overflow: auto; border-radius: 18px; background: white; }
.history { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; min-width: 440px; }
.history th { font-size: 10px; font-weight: 500; color: #98989f; padding: 16px 22px; }
.history td { padding: 13px 22px; border-top: 1px solid #f1f1f4; }
.history td > span { font-size: 10px; color: #b2b2bb; margin-right: 15px; }
.history td small { display: block; font-size: 9px; margin-top: 3px; }
.history td b { font-size: 12px; font-weight: 550; }
.final-page > .start-button { margin-top: 30px; }
.setup-page { max-width: 1000px; margin: 0 auto; padding: 40px 25px; }
.setup-page h1 { font-size: 38px; margin: 12px 0 20px; }
.setup-card { padding: 28px; background: white; border-radius: 20px; margin-top: 24px; }
.setup-card h2 { font-size: 21px; }
.setup-card > p { font-size: 12px; color: #85858b; line-height: 1.9; margin-top: 12px; }
.setup-card .button { margin-top: 20px; }
.setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.setup-stats { display: flex; gap: 20px; flex-wrap: wrap; padding: 16px 0; color: #90909a; font-size: 12px; }
.setup-stats strong { color: #557baa; font-weight: 550; }
.setup-card form > .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.setup-card input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--blue); vertical-align: middle; margin-right: 8px; }
.admin-preview { height: 350px; margin-top: 20px; border-radius: 12px; overflow: hidden; background: #e4e8e1; }
.takes { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 15px; }
.take-item { padding: 15px; border: 1px solid #e8e8ee; border-radius: 12px; flex: 1; min-width: 130px; font-size: 11px; color: #92929a; }
.take-item input { margin-top: 8px; }
.take-item button { margin-top: 9px !important; min-height: 34px; font-size: 10px; }
.point-list { list-style: none; padding: 0; }
.point-list li { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid #eeeef2; font-size: 12px; }
.point-list small { display: block; line-height: 1.7; margin-top: 4px; }
.point-list button { margin: 0 !important; min-height: 34px; }
.danger { color: #ba7469; background: #fff2ef; }
.setup-note { padding: 15px; background: #f3f6fa; border-radius: 11px; font-size: 11px !important; color: #8694a8 !important; }
.hidden { display: none !important; }
@media (min-width: 1500px) {
  .home-heading { padding-top: 55px; padding-bottom: 45px; }
  .destination-image { height: 345px; }
}
@media (max-width: 920px) {
  .home-heading h1 span { display: block; margin-left: 0; margin-top: 3px; }
  .home-grid { grid-template-columns: minmax(0, 1.2fr) minmax(285px, 1fr); gap: 18px; }
  .create-panel { padding: 24px; }
  .destination-image { height: 335px; }
  .destination-label { left: 22px; }
  .destination-label h2 { font-size: 22px; }
  .destination-label p { font-size: 9px; }
  .place-symbol { display: none; }
  .destination-details { margin: 0 22px; }
  .destination-details > div { padding-left: 15px; }
  .destination-details span { font-size: 9px; }
  .in-game .header { inset: 16px 16px auto; }
  .in-game .connection { display: none; }
  .game-bar { top: 16px; width: 280px; }
  .in-game .header-right { padding: 6px 14px; }
  .match-players { gap: 15px; padding: 12px; }
  .match-bottom .player-status { display: none; }
  .scene-instruction { display: none; }
}
@media (max-width: 680px) {
  .header { height: 68px; padding: 0 22px; }
  .brand { font-size: 22px; }
  .header-right { gap: 15px; }
  .desktop-only { display: none; }
  .home { padding: 0 20px; }
  .home-heading { padding: 25px 0 30px; }
  .home-heading h1 { font-size: 40px; margin: 15px 0; }
  .home-heading h1 span { margin-top: 3px; }
  .home-heading p { font-size: 12px; line-height: 1.65; }
  .product-label { font-size: 11px; }
  .home-grid { grid-template-columns: 1fr; gap: 20px; }
  .destination, .create-panel { border-radius: 22px; }
  .destination-image { height: 235px; }
  .destination-label { left: 23px; bottom: 20px; }
  .destination-label h2 { font-size: 25px; }
  .destination-label p { font-size: 10px; }
  .destination-details { padding: 20px 0; margin: 0 24px; }
  .destination-details strong { font-size: 24px; }
  .destination-details span { font-size: 9px; }
  .destination-details > div { padding-left: 20px; }
  .destination-footer { padding: 17px 24px; }
  .destination-footer p { font-size: 10px; }
  .create-panel { padding: 26px; }
  .footer { padding: 20px 22px; margin-top: 18px; font-size: 9px; gap: 15px; }
  .footer-dot { margin: 0 5px; }
  .lobby { padding: 45px 22px; }
  .lobby h1 { font-size: 32px; }
  .lobby > .hero-description { font-size: 12px; }
  .lobby-players { gap: 10px; }
  .lobby-players .player-chip { padding: 17px 13px; gap: 8px; }
  .lobby-players .avatar { width: 29px; height: 29px; font-size: 11px; }
  .lobby-players .player-chip b { font-size: 10px; }
  .lobby-players .player-chip > div > span { font-size: 8px; }
  .invite-box { padding: 18px; }
  .invite-box > div { flex-direction: column; }
  .invite-box .button { min-height: 38px; }
  .in-game .header { inset: 12px 12px auto; height: 37px; }
  .in-game .brand { padding: 9px 11px; border-radius: 12px; font-size: 16px; }
  .in-game .brand > span { font-size: 20px; }
  .in-game .header-right { padding: 4px 10px; border-radius: 12px; }
  .in-game .header-right .quiet { font-size: 10px; }
  .game-bar { top: 12px; width: 174px; height: 37px; padding: 0 11px; gap: 8px; border-radius: 12px; }
  .round-progress { display: none; }
  .game-bar strong { font-size: 10px; }
  .game-bar strong b { font-size: 12px; }
  .timer { font-size: 17px; min-width: 42px; }
  .timer.loading-timer { font-size: 8px; }
  .scene-tag { left: 13px; top: 63px; font-size: 7px; padding: 7px 9px; border-radius: 8px; }
  .scene-tag b { margin: 0 4px; }
  .compass { right: 15px; top: 68px; width: 34px; height: 34px; }
  .compass > b { left: 11px; }
  .compass > span { font-size: 23px; }
  .compass > small { font-size: 7px; bottom: -18px; }
  .scene-tools { left: 13px; bottom: 115px; }
  .scene-tools > button { width: 32px; height: 32px; font-size: 18px; border-radius: 10px; }
  .scene-tools > button:first-child { height: 38px; font-size: 22px; }
  .guess-card { right: 13px; bottom: 26px; width: 202px; padding: 6px; border-radius: 13px; }
  .guess-map { height: 130px; border-radius: 8px; }
  .guess-card-heading { height: 31px; gap: 5px; }
  .guess-card-heading h3 { font-size: 9px; }
  .guess-card-heading p { font-size: 7px; }
  .guess-card-heading > span { width: 15px; }
  .guess-card-heading svg { width: 14px; }
  .guess-card > .button { min-height: 34px; font-size: 9px; margin-top: 5px; padding: 8px 5px; border-radius: 8px; gap: 5px; }
  .guess-card.expanded { width: calc(100vw - 26px); }
  .guess-card.expanded .guess-map { height: min(350px, 50dvh); }
  .match-bottom { left: 13px; bottom: 26px; }
  .match-players { flex-direction: column; gap: 10px; padding: 11px; border-radius: 13px; }
  .match-bottom .avatar { width: 24px; height: 24px; font-size: 9px; }
  .match-bottom .player-chip { gap: 7px; }
  .match-bottom .player-chip b { font-size: 9px; max-width: 80px; }
  .match-bottom .player-chip > div > span { font-size: 8px; }
  .match-bottom .player-chip small { display: none; }
  .in-game:has(.guess-card.expanded) .match-bottom { opacity: 0; pointer-events: none; }
  .result-page { padding: 30px 20px; }
  .result-intro { margin-bottom: 25px; }
  .result-intro h1 { font-size: 29px; }
  .result-intro p { font-size: 12px; }
  .round-stamp { font-size: 55px; }
  .round-stamp small { font-size: 15px; }
  .result-grid { grid-template-columns: 1fr; gap: 18px; }
  .result-map { height: 320px; }
  .round-score-panel { padding: 22px; }
  .result-player { padding: 20px 0; }
  .final-page { padding: 35px 20px; }
  .final-page h1 { font-size: 31px; }
  .final-totals { gap: 12px; }
  .final-totals > div { padding: 19px; }
  .final-totals strong { font-size: clamp(19px,6vw,26px); }
  .final-totals h2 { font-size: 16px; }
  .history { min-width: 0; table-layout: fixed; font-size: 10px; }
  .history th:first-child { width: 40%; }
  .history td, .history th { padding: 12px 9px; overflow-wrap: anywhere; }
  .history td > span { display: block; margin: 0 0 4px; font-size: 8px; }
  .history td b { font-size: 11px; white-space: nowrap; }
  .setup-page { padding: 30px 20px; }
  .setup-grid { grid-template-columns: 1fr; gap: 0; }
  .setup-page h1 { font-size: 31px; }
  .setup-card { padding: 23px; }
  .setup-card form > .form-row { grid-template-columns: 1fr; gap: 0; }
  .setup-stats { gap: 12px; font-size: 11px; }
}
@media (max-width: 375px) {
  .game-bar { width: 148px; left: 51%; padding: 0 9px; }
  .in-game .brand { font-size: 14px; padding: 10px 8px; }
  .in-game .brand > span { font-size: 18px; }
  .guess-card { width: 190px; }
  .match-bottom .avatar { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
.panorama-blur-layer{position:absolute;inset:0;pointer-events:none;z-index:2;overflow:hidden;clip-path:inset(48px 0 30px)}
.panorama-blur-mask{position:absolute;inset:0;pointer-events:none;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);background:rgba(125,125,125,.12)}
#admin-preview{position:relative}
