:root {
  --bg: #030505;
  --panel: rgba(3, 8, 8, .82);
  --panel-2: rgba(4, 12, 12, .92);
  --line: rgba(156, 255, 52, .34);
  --line-orange: rgba(255, 100, 12, .40);
  --lime: #9dff34;
  --lime-2: #45ff64;
  --lime-3: #dfff61;
  --red: #ff2d16;
  --orange: #ff7a00;
  --orange2: #ffb000;
  --text: #f7fff5;
  --muted: rgba(229, 255, 225, .64);
  --glass: rgba(255, 255, 255, .045);
  --free-bg: linear-gradient(160deg, #f1ff75 0%, #a6ff37 33%, #42ff65 70%, #13be46 100%);
  --busy-bg: linear-gradient(160deg, #ffd042 0%, #ff7a00 32%, #ff351a 70%, #a50909 100%);
  --unknown-bg: linear-gradient(160deg, #222 0%, #101010 100%);
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; }
body {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  background: #000;
  font-family: Bahnschrift, 'Arial Narrow', 'Arial Black', Impact, system-ui, sans-serif;
}
button { font: inherit; }

.screen {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  padding: clamp(10px, 1.25vh, 18px);
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 10%, rgba(157,255,52,.24), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(255,98,0,.23), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(40,255,103,.18), transparent 38%),
    linear-gradient(180deg, #050808 0%, #0a0502 44%, #020302 100%);
}
.screen::before {
  content: '';
  position: absolute;
  inset: -2px;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(157,255,52,.03) 1px, transparent 1px),
    linear-gradient(rgba(157,255,52,.035) 1px, transparent 1px),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.026) 3px 4px);
  background-size: 36px 36px, 36px 36px, 100% 6px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0 72%, transparent 100%);
  animation: gridDrift 18s linear infinite;
}
.screen::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.56), transparent 18%, transparent 82%, rgba(0,0,0,.56)),
    radial-gradient(circle at 50% 45%, transparent 0 62%, rgba(0,0,0,.42) 100%);
}
@keyframes gridDrift { from { background-position: 0 0, 0 0, 0 0; } to { background-position: 36px 36px, -36px 36px, 0 30px; } }

.map-layer {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  transition: opacity .85s ease, transform .85s ease, filter .85s ease;
}
.map-layer::before,
.map-layer::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
  inset: 0;
}
.map-layer::before {
  background:
    radial-gradient(circle at 0 0, rgba(157,255,52,.16), transparent 20%),
    radial-gradient(circle at 100% 0, rgba(255,97,0,.14), transparent 20%),
    radial-gradient(circle at 0 100%, rgba(255,97,0,.10), transparent 24%),
    radial-gradient(circle at 100% 100%, rgba(157,255,52,.10), transparent 24%);
  filter: blur(1px);
}
.map-layer::after {
  inset: 2px;
  border: 1px solid rgba(157,255,52,.12);
  clip-path: polygon(0 32px, 32px 0, calc(100% - 32px) 0, 100% 32px, 100% calc(100% - 32px), calc(100% - 32px) 100%, 32px 100%, 0 calc(100% - 32px));
}

.video-layer {
  position: absolute;
  inset: 0;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  background: #000;
  transition: opacity .9s ease;
}
.promo-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 52%, rgba(0,0,0,.50) 100%),
    linear-gradient(180deg, rgba(0,0,0,.18), transparent 30%, rgba(0,0,0,.26));
}
body.mode-video .video-layer { opacity: 1; pointer-events: auto; }
body.mode-video .map-layer { opacity: 0; transform: scale(.985); filter: blur(7px) brightness(.55); }
body.mode-map .map-layer { opacity: 1; transform: scale(1); filter: none; }

.bg { position:absolute; inset:0; pointer-events:none; z-index: 0; }
.bg-grid { background: none; }
.bg-noise {
  opacity: .33;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.017) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(157,255,52,.035) 80px 81px, transparent 81px 160px);
}
.bg-glow { filter: blur(54px); opacity: .70; animation: floatGlow 10s ease-in-out infinite alternate; }
.bg-glow-1 { width: 55vw; height: 16vh; left: 18vw; top: -2vh; background: rgba(157,255,52,.28); }
.bg-glow-2 { width: 70vw; height: 22vh; right: -12vw; bottom: -3vh; background: rgba(255,89,0,.24); animation-delay: -3s; }
@keyframes floatGlow { from { transform: translate3d(-12px,-6px,0) scale(1); } to { transform: translate3d(14px,10px,0) scale(1.05); } }

.frame {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: clamp(12px, 1.55vh, 20px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(10px, 1.25vh, 16px);
  border: 1px solid rgba(157,255,52,.40);
  background:
    linear-gradient(180deg, rgba(157,255,52,.075), rgba(255,86,0,.045) 45%, rgba(0,0,0,.34)),
    rgba(2, 5, 5, .82);
  clip-path: polygon(0 26px, 26px 0, calc(100% - 26px) 0, 100% 26px, 100% calc(100% - 26px), calc(100% - 26px) 100%, 26px 100%, 0 calc(100% - 26px));
  box-shadow:
    inset 0 0 70px rgba(157,255,52,.085),
    inset 0 0 36px rgba(255,86,0,.055),
    0 0 44px rgba(0,0,0,.80),
    0 0 24px rgba(157,255,52,.07);
  overflow: hidden;
}
.frame::before,
.frame::after { content:''; position:absolute; pointer-events:none; }
.frame::before {
  inset: 10px;
  border: 1px solid rgba(255,255,255,.075);
  clip-path: polygon(0 18px, 18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px));
}
.frame::after {
  inset: 0;
  background: linear-gradient(115deg, transparent 0 32%, rgba(157,255,52,.10) 37%, rgba(255,120,0,.06) 40%, transparent 46%);
  transform: translateX(-120%);
  animation: sweep 8.5s ease-in-out infinite;
}
@keyframes sweep { 0%, 72% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

.topbar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'headline stats';
  gap: clamp(8px, .8vh, 12px) clamp(12px, 1.4vw, 20px);
  align-items: center;
}
.brand { grid-area: brand; display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  color: var(--lime);
  font-size: clamp(30px, 3.6vh, 50px);
  font-weight: 1000;
  transform: skewX(-10deg);
  text-shadow: 0 0 16px rgba(157,255,52,.86), 0 0 32px rgba(157,255,52,.28);
  animation: brandPulse 3s ease-in-out infinite;
}
@keyframes brandPulse { 0%,100% { transform: skewX(-10deg) scale(1); filter: brightness(1); } 50% { transform: skewX(-10deg) scale(1.07); filter: brightness(1.18); } }
.brand-text strong {
  display: block;
  font-size: clamp(31px, 4.1vh, 58px);
  line-height: .82;
  font-weight: 1000;
  letter-spacing: .045em;
  font-style: italic;
  background: linear-gradient(90deg, #fff, #dfff61 34%, #ff8a00 78%, #fff);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(157,255,52,.22));
  animation: titleFlow 6s linear infinite;
}
@keyframes titleFlow { from { background-position: 0% 50%; } to { background-position: 220% 50%; } }
.brand-text span {
  display: block;
  margin-top: 4px;
  color: rgba(157,255,52,.92);
  font-size: clamp(10px, 1.05vh, 14px);
  font-weight: 900;
  letter-spacing: .42em;
  text-shadow: 0 0 14px rgba(157,255,52,.44);
}
.headline-wrap {
  grid-area: headline;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
}
.headline {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(7px, .85vh, 11px) clamp(14px, 2vw, 24px);
  border: 1px solid rgba(157,255,52,.54);
  background:
    linear-gradient(90deg, rgba(157,255,52,.08), rgba(255,110,0,.16) 52%, rgba(157,255,52,.08)),
    rgba(0,0,0,.24);
  color: #fff;
  font-size: clamp(16px, 1.65vh, 27px);
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .18em;
  white-space: nowrap;
  clip-path: polygon(0 12px, 12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: inset 0 0 20px rgba(157,255,52,.08), 0 0 18px rgba(157,255,52,.10);
}
.headline-sub {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
  color: var(--muted);
  font-size: clamp(11px, 1vh, 14px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding-right: 2px;
}
.stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(2, minmax(122px, 1fr));
  gap: clamp(8px, 1vw, 14px);
  min-width: min(43vw, 450px);
}
.stat {
  position: relative;
  min-height: clamp(56px, 5.7vh, 76px);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(0,0,0,.26));
  clip-path: polygon(0 13px, 13px 0, calc(100% - 13px) 0, 100% 13px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px));
  box-shadow: inset 0 0 22px rgba(255,255,255,.035), 0 0 18px rgba(0,0,0,.28);
}
.stat::after {
  content:'';
  position:absolute;
  inset:-50% -90%;
  background: linear-gradient(110deg, transparent 0 44%, rgba(255,255,255,.14) 50%, transparent 57%);
  animation: scan 5.7s ease-in-out infinite;
}
@keyframes scan { 0%,60% { transform: translateX(-75%); } 85%,100% { transform: translateX(75%); } }
.stat span, .stat b { position: relative; z-index: 1; }
.stat span {
  color: rgba(241,255,236,.75);
  font-size: clamp(11px, 1.0vh, 14px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.stat b { font-size: clamp(34px, 4.1vh, 56px); font-weight: 1000; line-height: .8; }
.stat-free { border-color: rgba(157,255,52,.58); background: linear-gradient(135deg, rgba(157,255,52,.18), rgba(0,0,0,.20)); }
.stat-free b { color: var(--lime); text-shadow: 0 0 15px rgba(157,255,52,.65); }
.stat-busy { border-color: rgba(255,95,0,.62); background: linear-gradient(135deg, rgba(255,63,20,.18), rgba(0,0,0,.20)); }
.stat-busy b { color: var(--orange2); text-shadow: 0 0 15px rgba(255,94,0,.70); }

.layout-panel {
  position: relative;
  z-index: 2;
  min-height: 0;
  overflow: hidden;
  padding: clamp(12px, 1.22vh, 17px);
  border: 1px solid rgba(157,255,52,.38);
  background:
    radial-gradient(circle at 45% 0%, rgba(157,255,52,.08), transparent 35%),
    radial-gradient(circle at 86% 100%, rgba(255,84,0,.07), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(0,0,0,.24)),
    rgba(1, 5, 5, .80);
  clip-path: polygon(0 20px, 20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px));
  box-shadow: inset 0 0 34px rgba(157,255,52,.055), inset 0 0 24px rgba(255,87,0,.04);
}
.layout-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .44;
}
.layout-panel::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), var(--orange), transparent);
  opacity: .75;
  filter: drop-shadow(0 0 8px rgba(157,255,52,.55));
}
.club-layout { position: relative; z-index: 1; width:100%; height:100%; }
.rows-layout {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: 1.72fr .98fr .98fr .98fr .98fr .98fr;
  gap: clamp(10px, 1.03vh, 15px);
}

.zone-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: clamp(190px, 21vw, 285px) minmax(0,1fr);
  align-items: stretch;
  gap: clamp(12px, 1.15vw, 20px);
  padding: clamp(10px, 1vh, 14px);
  border: 1px solid rgba(157,255,52,.32);
  background:
    linear-gradient(120deg, rgba(157,255,52,.10), rgba(255,255,255,.025) 36%, rgba(255,91,0,.08)),
    rgba(2, 7, 7, .70);
  clip-path: polygon(0 15px, 15px 0, calc(100% - 15px) 0, 100% 15px, 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0 calc(100% - 15px));
  box-shadow: inset 0 0 28px rgba(157,255,52,.055), 0 0 15px rgba(0,0,0,.26);
  overflow: hidden;
}
.zone-card::before {
  content:'';
  position:absolute;
  left: 12px; right: 12px; top: 7px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 11px, transparent 11px 19px, var(--orange) 19px 22px, transparent 22px 30px);
  opacity:.68;
  filter: drop-shadow(0 0 7px rgba(157,255,52,.45));
}
.zone-card::after {
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, transparent 0 56%, rgba(255,255,255,.05) 61%, transparent 67%);
  transform: translateX(-120%);
  animation: zoneSweep 9.8s ease-in-out infinite;
}
@keyframes zoneSweep { 0%, 78% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.zone-title {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: 0 clamp(12px, 1vw, 18px) 0 8px;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(157,255,52,.55);
  overflow: hidden;
}
.zone-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  background: linear-gradient(var(--lime), var(--orange));
  box-shadow: 0 0 12px rgba(157,255,52,.6);
}
.zone-title .zone-main,
.zone-title .zone-sub { display:block; line-height: .92; white-space: nowrap; max-width: 100%; }
.zone-title .zone-main {
  color: var(--lime);
  font-size: clamp(21px, 2.05vh, 32px);
  font-weight: 1000;
  letter-spacing: .035em;
}
.zone-title .zone-sub {
  margin-top: 3px;
  color: #fff2df;
  font-size: clamp(20px, 1.9vh, 30px);
  font-weight: 1000;
  letter-spacing: .18em;
  text-shadow: 0 0 14px rgba(255,112,0,.50);
}
.zone-title.single .zone-sub { display:none; }
.zone-title.compact .zone-main { font-size: clamp(19px, 1.85vh, 28px); color: #fff2df; }
.zone-title.compact .zone-sub { font-size: clamp(20px, 1.9vh, 29px); letter-spacing: .08em; color: var(--lime); }
.zone-body,
.combo-wrap { position: relative; z-index: 2; min-width:0; min-height:0; height:100%; }
.zone-body-row,
.zone-body-grid {
  display:grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: clamp(8px, .78vw, 13px);
  height: 100%;
}
.zone-body-grid { grid-template-rows: repeat(3, minmax(0, 1fr)); }
.zone-party { grid-template-columns: clamp(190px, 21vw, 285px) minmax(0,1fr); }
.combo-wrap {
  display:grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(10px, 1vw, 15px);
}
.combo-part {
  position:relative;
  min-height: 0;
  padding: clamp(7px, .72vh, 10px);
  border: 1px solid rgba(157,255,52,.26);
  background: linear-gradient(180deg, rgba(157,255,52,.055), rgba(255,255,255,.02));
  clip-path: polygon(0 12px, 12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px));
}
.combo-title {
  margin-bottom: clamp(6px, .62vh, 9px);
  color: rgba(255,255,255,.85);
  font-size: clamp(13px, 1.25vh, 20px);
  font-weight: 1000;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pc {
  position: relative;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  background: transparent;
  cursor: default;
  animation: pcIn .46s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes pcIn { from { opacity: 0; transform: translateY(8px) scale(.965); } to { opacity: 1; transform: translateY(0) scale(1); } }
.pc::before,
.pc::after { content:''; position:absolute; inset:0; border-radius: clamp(11px, 1vh, 17px); }
.pc::before {
  background: var(--free-bg);
  border: 2px solid rgba(230,255,185,.95);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.55),
    inset 0 -12px 18px rgba(0,80,22,.22),
    0 0 15px rgba(157,255,52,.42),
    0 0 34px rgba(69,255,100,.18);
  animation: freePulse 3.25s ease-in-out infinite;
}
.pc::after {
  inset: -2px;
  border: 2px solid rgba(157,255,52,.90);
  box-shadow: 0 0 16px rgba(157,255,52,.62), inset 0 0 14px rgba(255,255,255,.08);
  background: linear-gradient(120deg, rgba(255,255,255,.18), transparent 28%, transparent 72%, rgba(255,255,255,.10));
  mix-blend-mode: screen;
}
.pc span {
  position: relative;
  z-index: 2;
  color: #062b0c;
  font-size: clamp(21px, 2.12vh, 34px);
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,.62), 0 0 12px rgba(255,255,255,.18);
}
.pc::marker { display:none; }
.pc-free::before { animation: freePulse 3.25s ease-in-out infinite; }
.pc-free::after { animation: limeFramePulse 2.8s ease-in-out infinite; }
@keyframes freePulse { 0%,100% { filter: brightness(1) saturate(1.02); transform: scale(1); } 50% { filter: brightness(1.14) saturate(1.20); transform: scale(1.016); } }
@keyframes limeFramePulse { 0%,100% { opacity: .86; } 50% { opacity: 1; box-shadow: 0 0 22px rgba(157,255,52,.80), 0 0 40px rgba(69,255,100,.24); } }
.pc-busy::before {
  background: var(--busy-bg);
  border-color: rgba(255,215,140,.66);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.36),
    inset 0 -12px 18px rgba(70,0,0,.32),
    0 0 14px rgba(255,70,22,.50),
    0 0 32px rgba(255,122,0,.18);
  animation: busyPulse 2.8s ease-in-out infinite;
}
.pc-busy::after {
  border-color: rgba(255,88,0,.98);
  box-shadow: 0 0 18px rgba(255,72,20,.74), inset 0 0 18px rgba(255,255,255,.06);
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(255,255,255,.16) 48%, transparent 54%),
    repeating-linear-gradient(45deg, rgba(0,0,0,.10) 0 4px, transparent 4px 9px);
  mix-blend-mode: normal;
  animation: busyBorder 2.4s ease-in-out infinite;
}
@keyframes busyPulse { 0%,100% { filter: brightness(1) saturate(1.04); } 50% { filter: brightness(1.08) saturate(1.20); } }
@keyframes busyBorder { 0%,100% { opacity: .88; } 50% { opacity: 1; box-shadow: 0 0 24px rgba(255,75,22,.86), 0 0 38px rgba(255,122,0,.25); } }
.pc-busy span { color: #fffaf2; text-shadow: 0 2px 0 rgba(70,0,0,.34), 0 0 12px rgba(255,255,255,.25); }
.pc-reserved::before { background: linear-gradient(160deg, #fff354, #ffb000 42%, #ff7a00); border-color: rgba(255,230,120,.75); }
.pc-reserved::after { border-color: rgba(255,188,0,.92); box-shadow: 0 0 18px rgba(255,188,0,.60); }
.pc-reserved span { color: #321800; }
.pc-offline::before, .pc-unknown::before { background: var(--unknown-bg); border-color: #494949; box-shadow: inset 0 0 16px rgba(255,255,255,.03); }
.pc-offline::after, .pc-unknown::after { border-color: rgba(255,255,255,.12); box-shadow: none; }
.pc-offline span, .pc-unknown span { color: #fff; }
.zone-comfort .pc span { font-size: clamp(19px, 1.92vh, 31px); }

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: var(--lime);
  box-shadow: 0 0 0 7px rgba(157,255,52,.12), 0 0 18px rgba(157,255,52,.80);
  animation: liveBlink 1.7s ease-in-out infinite;
}
@keyframes liveBlink { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: .82; } }
.live-dot.is-demo { background: #ffd84b; box-shadow: 0 0 0 7px rgba(255,216,75,.12), 0 0 18px rgba(255,216,75,.72); }
.live-dot.is-error { background: #ff2d16; box-shadow: 0 0 0 7px rgba(255,45,22,.14), 0 0 18px rgba(255,45,22,.78); }

.error-box {
  width: 100%; height: 100%; display: grid; place-content: center; gap: 12px; text-align: center;
  color: #fff; border: 1px solid rgba(255,98,0,.46); background: rgba(0,0,0,.48);
  clip-path: polygon(0 18px, 18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px));
  box-shadow: inset 0 0 30px rgba(255,80,0,.08);
}
.error-box b { font-size: clamp(24px, 3vh, 44px); color: var(--orange); text-shadow: 0 0 16px rgba(255,95,0,.55); }
.error-box span { color: var(--muted); font-size: clamp(12px, 1.4vh, 18px); }

@media (max-aspect-ratio: 10/16) {
  .screen { padding: 1.15vh 2vw; }
  .frame { padding: 1.28vh 2.05vw; gap: .95vh; }
  .topbar { gap: .65vh 1.25vw; }
  .brand-text strong { font-size: 3.55vh; }
  .brand-mark { font-size: 3.05vh; }
  .brand-text span { font-size: .92vh; letter-spacing: .36em; }
  .headline { font-size: 1.35vh; padding: .55vh 1.4vw; letter-spacing: .14em; }
  .headline-sub { font-size: .86vh; }
  .stats { min-width: 34vw; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { min-height: 5.05vh; padding: .65vh 1.45vw; }
  .stat span { font-size: .85vh; letter-spacing: .10em; }
  .stat b { font-size: 3.05vh; }
  .layout-panel { padding: 1.08vh 1.55vw; }
  .rows-layout { gap: .78vh; grid-template-rows: 1.82fr .99fr .99fr .99fr .99fr .99fr; }
  .zone-card, .zone-party { grid-template-columns: 21.5vw minmax(0,1fr); padding: .82vh 1.35vw; gap: 1.15vw; }
  .zone-title { padding-right: .75vw; }
  .zone-title .zone-main { font-size: 1.54vh; letter-spacing: .015em; }
  .zone-title .zone-sub { font-size: 1.43vh; letter-spacing: .13em; }
  .zone-title.compact .zone-main, .zone-title.compact .zone-sub { font-size: 1.43vh; }
  .zone-body-row, .zone-body-grid { gap: .56vh .66vw; }
  .combo-wrap { gap: .76vw; }
  .combo-part { padding: .62vh .9vw; }
  .combo-title { font-size: 1.05vh; margin-bottom: .54vh; }
  .pc span { font-size: 1.72vh; }
  .zone-comfort .pc span { font-size: 1.54vh; }
}

@media (max-width: 760px) {
  .topbar { grid-template-columns: 1fr; grid-template-areas: 'headline' 'stats'; }
  .stats { width: 100%; min-width: 0; }
  .headline-wrap { grid-template-columns: 1fr; }
  .headline-sub { justify-content: center; }
  .zone-card, .zone-party { grid-template-columns: 1fr; gap: 8px; }
  .zone-title { align-items: center; padding: 0; }
  .zone-title::before { display: none; }
}

@media (orientation: landscape) {
  .screen { max-width: min(100vw, 100vh * .5625); margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* v7: white free PCs + orange HUD theme. Backend and layout logic unchanged. */
:root {
  --bg: #050302;
  --panel: rgba(12, 6, 2, .84);
  --panel-2: rgba(16, 8, 3, .92);
  --line: rgba(255, 122, 0, .40);
  --line-orange: rgba(255, 122, 0, .52);
  --lime: #ff7a00;
  --lime-2: #ffb000;
  --lime-3: #fff1d6;
  --text: #fff8ee;
  --muted: rgba(255, 226, 200, .68);
  --glass: rgba(255, 122, 0, .055);
  --free-bg: linear-gradient(160deg, #ffffff 0%, #fffaf0 26%, #ece9dd 66%, #c8c2b5 100%);
  --busy-bg: linear-gradient(160deg, #ffd042 0%, #ff7a00 32%, #ff351a 70%, #a50909 100%);
}

.screen {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,122,0,.26), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(255,64,18,.25), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(255,170,0,.16), transparent 38%),
    linear-gradient(180deg, #080402 0%, #110702 45%, #020100 100%);
}
.screen::before {
  background:
    linear-gradient(90deg, rgba(255,122,0,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,122,0,.042) 1px, transparent 1px),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.024) 3px 4px);
}
.map-layer::before {
  background:
    radial-gradient(circle at 0 0, rgba(255,122,0,.17), transparent 20%),
    radial-gradient(circle at 100% 0, rgba(255,92,0,.15), transparent 20%),
    radial-gradient(circle at 0 100%, rgba(255,96,0,.12), transparent 24%),
    radial-gradient(circle at 100% 100%, rgba(255,178,40,.10), transparent 24%);
}
.map-layer::after { border-color: rgba(255,122,0,.18); }
.bg-noise {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.017) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(255,122,0,.04) 80px 81px, transparent 81px 160px);
}
.bg-glow-1 { background: rgba(255,122,0,.25); }
.bg-glow-2 { background: rgba(255,64,18,.25); }
.frame {
  border-color: rgba(255,122,0,.46);
  background:
    linear-gradient(180deg, rgba(255,122,0,.10), rgba(255,74,0,.052) 45%, rgba(0,0,0,.36)),
    rgba(7, 3, 1, .84);
  box-shadow:
    inset 0 0 70px rgba(255,122,0,.10),
    inset 0 0 36px rgba(255,72,0,.07),
    0 0 44px rgba(0,0,0,.80),
    0 0 28px rgba(255,122,0,.10);
}
.frame::after {
  background: linear-gradient(115deg, transparent 0 32%, rgba(255,122,0,.12) 37%, rgba(255,199,90,.08) 40%, transparent 46%);
}
.brand-mark {
  color: var(--orange);
  text-shadow: 0 0 16px rgba(255,122,0,.86), 0 0 34px rgba(255,90,0,.32);
}
.brand-text strong {
  background: linear-gradient(90deg, #fff, #fff1dc 28%, #ff9a17 70%, #fff);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(255,122,0,.25));
}
.brand-text span {
  color: rgba(255,170,60,.95);
  text-shadow: 0 0 14px rgba(255,122,0,.48);
}
.headline {
  border-color: rgba(255,122,0,.58);
  background:
    linear-gradient(90deg, rgba(255,122,0,.10), rgba(255,80,0,.18) 52%, rgba(255,122,0,.10)),
    rgba(0,0,0,.26);
  box-shadow: inset 0 0 20px rgba(255,122,0,.10), 0 0 18px rgba(255,122,0,.12);
}
.stat-free {
  border-color: rgba(255,255,255,.62);
  background: linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,122,0,.11));
}
.stat-free b {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255,255,255,.68), 0 0 24px rgba(255,122,0,.38);
}
.layout-panel {
  border-color: rgba(255,122,0,.34);
  background:
    linear-gradient(180deg, rgba(255,122,0,.08), rgba(255,255,255,.02) 42%, rgba(255,80,0,.04)),
    rgba(6, 3, 1, .82);
  box-shadow: inset 0 0 34px rgba(255,122,0,.07), inset 0 0 24px rgba(255,87,0,.04);
}
.layout-panel::after {
  background: linear-gradient(90deg, transparent, #ff7a00, #ffb000, transparent);
  filter: drop-shadow(0 0 9px rgba(255,122,0,.62));
}
.zone-card {
  border-color: rgba(255,122,0,.38);
  background:
    linear-gradient(120deg, rgba(255,122,0,.12), rgba(255,255,255,.025) 36%, rgba(255,60,0,.09)),
    rgba(7, 3, 1, .72);
  box-shadow: inset 0 0 28px rgba(255,122,0,.065), 0 0 15px rgba(0,0,0,.26);
}
.zone-card::before {
  background: repeating-linear-gradient(90deg, #ff7a00 0 11px, transparent 11px 19px, #ffb000 19px 22px, transparent 22px 30px);
  filter: drop-shadow(0 0 7px rgba(255,122,0,.55));
}
.zone-title { text-shadow: 0 0 14px rgba(255,122,0,.60); }
.zone-title::before {
  background: linear-gradient(#ff7a00, #ffb000);
  box-shadow: 0 0 12px rgba(255,122,0,.72);
}
.zone-title .zone-main { color: #ff9a17; }
.zone-title .zone-sub { color: #fff2df; text-shadow: 0 0 14px rgba(255,112,0,.55); }
.zone-title.compact .zone-main { color: #fff2df; }
.zone-title.compact .zone-sub { color: #ff9a17; }
.combo-part {
  border-color: rgba(255,122,0,.30);
  background: linear-gradient(180deg, rgba(255,122,0,.065), rgba(255,255,255,.02));
}
.pc::before,
.pc-free::before {
  background: var(--free-bg);
  border: 2px solid rgba(255,255,255,.95);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.78),
    inset 0 -13px 18px rgba(40,30,18,.18),
    0 0 16px rgba(255,255,255,.36),
    0 0 32px rgba(255,122,0,.14);
}
.pc::after,
.pc-free::after {
  border-color: rgba(255,255,255,.88);
  box-shadow: 0 0 17px rgba(255,255,255,.48), 0 0 32px rgba(255,122,0,.18), inset 0 0 14px rgba(255,255,255,.13);
  background: linear-gradient(120deg, rgba(255,255,255,.28), transparent 28%, transparent 72%, rgba(255,255,255,.14));
  mix-blend-mode: screen;
}
.pc span,
.pc-free span {
  color: #15110a;
  text-shadow: 0 1px 0 rgba(255,255,255,.86), 0 0 10px rgba(255,255,255,.22);
}
.pc-free::before { animation: whiteFreePulse 3.25s ease-in-out infinite; }
.pc-free::after { animation: whiteFramePulse 2.8s ease-in-out infinite; }
@keyframes whiteFreePulse { 0%,100% { filter: brightness(1) saturate(1); transform: scale(1); } 50% { filter: brightness(1.08) saturate(1.04); transform: scale(1.012); } }
@keyframes whiteFramePulse { 0%,100% { opacity: .86; } 50% { opacity: 1; box-shadow: 0 0 24px rgba(255,255,255,.62), 0 0 42px rgba(255,122,0,.24); } }
.pc-busy::before {
  background: var(--busy-bg);
  border-color: rgba(255,215,140,.66);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.36),
    inset 0 -12px 18px rgba(70,0,0,.32),
    0 0 14px rgba(255,70,22,.50),
    0 0 32px rgba(255,122,0,.18);
}
.pc-busy::after {
  border-color: rgba(255,88,0,.98);
  box-shadow: 0 0 18px rgba(255,72,20,.74), inset 0 0 18px rgba(255,255,255,.06);
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(255,255,255,.16) 48%, transparent 54%),
    repeating-linear-gradient(45deg, rgba(0,0,0,.10) 0 4px, transparent 4px 9px);
  mix-blend-mode: normal;
}
.pc-busy span { color: #fffaf2; text-shadow: 0 2px 0 rgba(70,0,0,.34), 0 0 12px rgba(255,255,255,.25); }
.live-dot {
  background: #ff7a00;
  box-shadow: 0 0 0 7px rgba(255,122,0,.13), 0 0 18px rgba(255,122,0,.82);
}


/* v8: image/price slideshow вместо видео */
.image-layer {
  position: absolute;
  inset: 0;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  background: #030100;
  overflow: hidden;
  transition: opacity .85s ease;
}
.image-backdrop {
  position: absolute;
  inset: -44px;
  background-position: center;
  background-size: cover;
  filter: blur(34px) brightness(.52) saturate(1.24);
  transform: scale(1.08);
  opacity: .72;
  transition: background-image .35s ease, transform 7s ease;
}
.image-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,122,0,.24), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(255,45,22,.18), transparent 30%),
    linear-gradient(90deg, rgba(0,0,0,.70), transparent 18%, transparent 82%, rgba(0,0,0,.70)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 5px);
}
.image-layer::after {
  content: '';
  position: absolute;
  inset: 18px;
  z-index: 4;
  pointer-events: none;
  border: 1px solid rgba(255,122,0,.40);
  clip-path: polygon(0 36px,36px 0,calc(100% - 36px) 0,100% 36px,100% calc(100% - 36px),calc(100% - 36px) 100%,36px 100%,0 calc(100% - 36px));
  box-shadow: inset 0 0 28px rgba(255,122,0,.10), 0 0 28px rgba(255,122,0,.10);
}
.image-vignette {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(circle at 50% 48%, transparent 0 58%, rgba(0,0,0,.58) 100%);
}
.image-stage {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(28px, 4vh, 70px) clamp(28px, 5vw, 88px);
}
.image-frame {
  position: relative;
  width: min(92vw, calc(100vh * 1.72));
  height: min(78vh, calc(92vw / 1.72));
  border-radius: clamp(16px, 2.4vw, 34px);
  padding: clamp(8px, 1vh, 14px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,122,0,.10) 24%, rgba(0,0,0,.35)),
    rgba(0,0,0,.38);
  border: 1px solid rgba(255,122,0,.46);
  box-shadow:
    0 0 42px rgba(255,122,0,.18),
    0 0 90px rgba(255,45,22,.10),
    inset 0 0 44px rgba(255,122,0,.08);
  overflow: hidden;
}
.image-frame::before {
  content: '';
  position: absolute;
  inset: -40%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 42%, rgba(255,255,255,.20) 48%, transparent 56%);
  animation: imageSweep 5.6s ease-in-out infinite;
}
.slide-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: clamp(10px, 1.6vw, 22px);
  background: rgba(0,0,0,.82);
  opacity: 0;
  transform: scale(.985) translateY(8px);
  filter: brightness(.92) saturate(1.04);
  transition: opacity .55s ease, transform 1.2s ease, filter .55s ease;
}
.slide-image.is-active {
  opacity: 1;
  transform: scale(1.018) translateY(0);
  filter: brightness(1) saturate(1.08);
  animation: imageKenburns 10s ease-in-out infinite alternate;
}
.slide-image.is-switching {
  opacity: 0;
  transform: scale(1.045) translateY(-8px);
  filter: blur(8px) brightness(.74);
}
.image-hud {
  position: absolute;
  left: clamp(28px, 5vw, 88px);
  right: clamp(28px, 5vw, 88px);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  pointer-events: none;
}
.image-hud-top { top: clamp(18px, 2.5vh, 42px); }
.image-hud-bottom { bottom: clamp(18px, 2.5vh, 42px); }
.image-brand,
.image-period,
.slide-title {
  border: 1px solid rgba(255,122,0,.36);
  background: linear-gradient(135deg, rgba(255,122,0,.13), rgba(0,0,0,.42));
  box-shadow: inset 0 0 18px rgba(255,122,0,.08), 0 0 20px rgba(255,122,0,.10);
  backdrop-filter: blur(10px);
}
.image-brand { padding: 12px 16px; border-radius: 18px; line-height: 1; }
.image-brand b { display: block; font-size: clamp(18px, 2.4vw, 34px); letter-spacing: .09em; color: #fff; text-shadow: 0 0 16px rgba(255,122,0,.55); }
.image-brand span { display: block; margin-top: 4px; color: rgba(255,190,120,.84); letter-spacing: .22em; font-size: clamp(9px, .9vw, 13px); }
.image-period { padding: 10px 14px; border-radius: 999px; color: #ffd6a0; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: clamp(10px, 1vw, 14px); }
.slide-title { max-width: min(70vw, 900px); padding: 12px 18px; border-radius: 18px; font-size: clamp(18px, 2vw, 32px); font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: #fff6e8; text-shadow: 0 0 16px rgba(255,122,0,.36); }
.slide-dots { display: flex; gap: 8px; padding: 10px 12px; border-radius: 999px; background: rgba(0,0,0,.34); border: 1px solid rgba(255,122,0,.30); }
.slide-dots span { width: 22px; height: 6px; border-radius: 99px; background: rgba(255,220,190,.35); box-shadow: 0 0 8px rgba(255,122,0,.12); transition: width .3s ease, background .3s ease, box-shadow .3s ease; }
.slide-dots span.active { width: 42px; background: linear-gradient(90deg,#fff0d4,#ff8a15,#ff3218); box-shadow: 0 0 14px rgba(255,122,0,.55); }
body.mode-image .image-layer { opacity: 1; pointer-events: auto; }
body.mode-image .map-layer { opacity: 0; transform: scale(.985); filter: blur(7px) brightness(.55); }
body.mode-map .image-layer { opacity: 0; pointer-events: none; }
body.mode-map .map-layer { opacity: 1; transform: scale(1); filter: none; }
@keyframes imageSweep { 0%, 28% { transform: translateX(-45%) rotate(0deg); opacity: 0; } 42% { opacity: .95; } 62%, 100% { transform: translateX(45%) rotate(0deg); opacity: 0; } }
@keyframes imageKenburns { from { transform: scale(1.004); } to { transform: scale(1.035); } }
@media (orientation: portrait) {
  .image-frame { width: min(90vw, calc(72vh * .72)); height: min(78vh, calc(90vw * 1.38)); }
  .slide-image { object-fit: contain; }
  .image-hud { left: clamp(16px, 4vw, 42px); right: clamp(16px, 4vw, 42px); }
  .image-hud-bottom { align-items: flex-end; }
  .slide-title { font-size: clamp(15px, 2.4vw, 24px); }
}
@media (max-width: 720px) {
  .image-hud { flex-direction: column; align-items: stretch; }
  .image-hud-top { align-items: flex-start; }
  .image-hud-bottom { align-items: flex-start; }
  .slide-dots { align-self: flex-start; }
}


/* === v9: fullscreen images + white/orange PC map override === */
:root {
  --line: rgba(255, 122, 0, .40);
  --lime: #ffffff;
  --lime-2: #f4f4f4;
  --lime-3: #ffffff;
  --free-bg: linear-gradient(160deg, #ffffff 0%, #f4f4f4 38%, #dcdcdc 100%);
  --busy-bg: linear-gradient(160deg, #ffd042 0%, #ff7a00 30%, #ff351a 70%, #a50909 100%);
}

.screen {
  background:
    radial-gradient(circle at 14% 8%, rgba(255,122,0,.22), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(255,61,18,.20), transparent 31%),
    radial-gradient(circle at 48% 100%, rgba(255,122,0,.12), transparent 38%),
    linear-gradient(180deg, #050302 0%, #0c0501 46%, #020101 100%);
}
.screen::before {
  background:
    linear-gradient(90deg, rgba(255,122,0,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,122,0,.035) 1px, transparent 1px),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.020) 3px 4px);
}
.layout-panel {
  border-color: rgba(255,122,0,.38);
  box-shadow: inset 0 0 34px rgba(255,122,0,.055), inset 0 0 24px rgba(255,87,0,.04);
}
.stat-free {
  border-color: rgba(255,255,255,.56);
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,122,0,.08));
}
.stat-free b {
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255,255,255,.60), 0 0 24px rgba(255,122,0,.26);
}
.pc::before {
  background: var(--free-bg);
  border-color: rgba(255,255,255,.96);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.92),
    inset 0 -12px 18px rgba(0,0,0,.14),
    0 0 15px rgba(255,255,255,.32),
    0 0 34px rgba(255,122,0,.13);
}
.pc::after {
  border-color: rgba(255,255,255,.86);
  box-shadow: 0 0 16px rgba(255,255,255,.40), 0 0 34px rgba(255,122,0,.14), inset 0 0 14px rgba(255,255,255,.12);
  background: linear-gradient(120deg, rgba(255,255,255,.32), transparent 28%, transparent 72%, rgba(255,255,255,.18));
}
.pc span {
  color: #111111;
  text-shadow: 0 1px 0 rgba(255,255,255,.65), 0 0 10px rgba(255,255,255,.38);
}
.pc-free::after { animation: whiteFramePulse 2.8s ease-in-out infinite; }
@keyframes whiteFramePulse {
  0%,100% { opacity: .82; }
  50% { opacity: 1; box-shadow: 0 0 22px rgba(255,255,255,.70), 0 0 40px rgba(255,122,0,.20); }
}

/* Images: only the picture, full screen, no HUD, no frame, no black bars. */
.image-layer {
  position: absolute;
  inset: 0;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  background: #000;
  overflow: hidden;
  transition: opacity .85s ease;
}
.image-layer::before,
.image-layer::after,
.image-backdrop,
.image-vignette,
.image-hud,
.slide-dots,
.image-brand,
.image-period,
.slide-title {
  display: none !important;
}
.image-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0 !important;
}
.image-frame {
  position: absolute;
  inset: 0;
  width: 100vw !important;
  height: 100vh !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #000 !important;
  box-shadow: none !important;
  overflow: hidden;
}
.image-frame::before { display: none !important; }
.slide-image {
  position: absolute;
  inset: 0;
  width: 100vw !important;
  height: 100vh !important;
  display: block;
  object-fit: cover !important;
  object-position: center center;
  border-radius: 0 !important;
  background: #000 !important;
  opacity: 0;
  transform: scale(1.02);
  filter: brightness(.92) saturate(1.02);
  transition: opacity .70s ease, transform 1.55s cubic-bezier(.2,.8,.2,1), filter .70s ease;
}
.slide-image.is-active {
  opacity: 1;
  transform: scale(1);
  filter: brightness(1) saturate(1.04);
  animation: fullscreenImageMotion 12s ease-in-out infinite alternate;
}
.slide-image.is-switching {
  opacity: 0;
  transform: scale(1.055);
  filter: blur(8px) brightness(.70);
}
@keyframes fullscreenImageMotion {
  from { transform: scale(1); }
  to { transform: scale(1.028); }
}
body.mode-image .image-layer { opacity: 1; pointer-events: auto; }
body.mode-image .map-layer { opacity: 0; transform: scale(.985); filter: blur(7px) brightness(.55); }
body.mode-map .image-layer { opacity: 0; pointer-events: none; }
body.mode-map .map-layer { opacity: 1; transform: scale(1); filter: none; }
@media (orientation: portrait) {
  .image-frame {
    width: 100vw !important;
    height: 100vh !important;
  }
  .slide-image {
    object-fit: cover !important;
  }
}

/* === v10 fixes: PC colors final override === */
.pc.pc-free::before {
  background: linear-gradient(160deg, #ffffff 0%, #f7f7f2 34%, #dedbd2 72%, #c9c2b5 100%) !important;
  border-color: rgba(255,255,255,.98) !important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.96),
    inset 0 -12px 18px rgba(0,0,0,.14),
    0 0 15px rgba(255,255,255,.34),
    0 0 34px rgba(255,122,0,.13) !important;
}
.pc.pc-free::after {
  border-color: rgba(255,255,255,.88) !important;
  box-shadow: 0 0 18px rgba(255,255,255,.46), 0 0 34px rgba(255,122,0,.16), inset 0 0 14px rgba(255,255,255,.13) !important;
}
.pc.pc-free span {
  color: #111111 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.7), 0 0 10px rgba(255,255,255,.35) !important;
}
.pc.pc-busy::before {
  background: linear-gradient(160deg, #ffd042 0%, #ff7a00 30%, #ff351a 70%, #a50909 100%) !important;
  border-color: rgba(255,114,34,.94) !important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.33),
    inset 0 -16px 20px rgba(65,0,0,.28),
    0 0 20px rgba(255,55,22,.60),
    0 0 42px rgba(255,122,0,.32),
    0 0 68px rgba(165,9,9,.20) !important;
  animation: busyPulse 2.8s ease-in-out infinite !important;
}
.pc.pc-busy::after {
  border-color: rgba(255,94,22,.96) !important;
  box-shadow: 0 0 24px rgba(255,75,22,.86), 0 0 38px rgba(255,122,0,.25), inset 0 0 14px rgba(255,255,255,.12) !important;
  background: linear-gradient(120deg, rgba(255,255,255,.22), transparent 30%, transparent 72%, rgba(255,213,130,.18)) !important;
  animation: busyBorder 2.4s ease-in-out infinite !important;
}
.pc.pc-busy span {
  color: #fffaf2 !important;
  text-shadow: 0 2px 0 rgba(70,0,0,.34), 0 0 12px rgba(255,255,255,.25), 0 0 20px rgba(255,68,24,.36) !important;
}

/* === v11: ручная бронь ПК из админки — синий цвет + время === */
.pc.pc-reserved::before {
  background: linear-gradient(160deg, #b9ecff 0%, #248dff 34%, #0752e5 72%, #041d78 100%) !important;
  border-color: rgba(151,220,255,.96) !important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.58),
    inset 0 -16px 22px rgba(0,20,90,.36),
    0 0 22px rgba(35,147,255,.70),
    0 0 48px rgba(0,103,255,.34),
    0 0 78px rgba(0,71,255,.18) !important;
  animation: reservedBluePulse 2.8s ease-in-out infinite !important;
}
.pc.pc-reserved::after {
  border-color: rgba(135,218,255,.98) !important;
  box-shadow: 0 0 24px rgba(70,180,255,.88), 0 0 42px rgba(0,95,255,.32), inset 0 0 16px rgba(255,255,255,.14) !important;
  background: linear-gradient(120deg, rgba(255,255,255,.28), transparent 30%, transparent 72%, rgba(122,220,255,.18)) !important;
  animation: reservedBlueBorder 2.4s ease-in-out infinite !important;
}
.pc.pc-reserved .pc-number,
.pc.pc-reserved span {
  color: #f5fcff !important;
  text-shadow: 0 2px 0 rgba(0,18,75,.42), 0 0 12px rgba(255,255,255,.36), 0 0 18px rgba(61,172,255,.46) !important;
}
.pc.pc-has-booking {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  row-gap: clamp(1px, .18vh, 4px);
  padding: clamp(3px, .35vh, 6px) 2px;
}
.pc.pc-has-booking .pc-number {
  align-self: end;
  font-size: clamp(17px, 1.72vh, 29px);
}
.pc-book-time {
  position: relative;
  z-index: 2;
  align-self: start;
  max-width: 96%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #e5f7ff;
  font-size: clamp(7px, .78vh, 12px);
  font-weight: 1000;
  line-height: 1;
  letter-spacing: .02em;
  text-shadow: 0 1px 0 rgba(0,15,70,.55), 0 0 8px rgba(255,255,255,.25);
}
.zone-comfort .pc.pc-has-booking .pc-number {
  font-size: clamp(16px, 1.55vh, 27px);
}
@keyframes reservedBluePulse {
  0%,100% { filter: brightness(1) saturate(1.06); }
  50% { filter: brightness(1.13) saturate(1.24); }
}
@keyframes reservedBlueBorder {
  0%,100% { opacity: .88; }
  50% { opacity: 1; box-shadow: 0 0 29px rgba(70,180,255,.96), 0 0 48px rgba(0,95,255,.38), inset 0 0 16px rgba(255,255,255,.16); }
}
.stat-reserved {
  border-color: rgba(60,170,255,.62);
  background: linear-gradient(135deg, rgba(0,103,255,.18), rgba(0,0,0,.20));
}
.stat-reserved b {
  color: #8fd8ff;
  text-shadow: 0 0 15px rgba(60,170,255,.72), 0 0 24px rgba(0,103,255,.32);
}
.stats { grid-template-columns: repeat(3, minmax(104px, 1fr)); }

/* === v12: кастомный ПКМ и скролл сайта === */
html {
  scrollbar-color: rgba(255,122,0,.92) rgba(12,6,2,.92);
  scrollbar-width: thin;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 13px;
  height: 13px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #070301, #160802);
  border-left: 1px solid rgba(255,122,0,.16);
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #fff0cf, #ff8a12 45%, #d03a10);
  border: 3px solid #120702;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(255,122,0,.38);
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #fff7e8, #ffad33 45%, #ff4b14);
}
.upgrade-context-menu {
  position: fixed;
  z-index: 9999;
  min-width: 235px;
  padding: 9px;
  border: 1px solid rgba(255,122,0,.48);
  border-radius: 20px;
  background: rgba(8, 4, 2, .94);
  color: #fff8ee;
  box-shadow: 0 24px 72px rgba(0,0,0,.62), 0 0 34px rgba(255,122,0,.18);
  backdrop-filter: blur(16px);
  display: none;
  overflow: hidden;
}
.upgrade-context-menu.is-open {
  display: block;
  animation: contextMenuIn .13s ease-out both;
}
.upgrade-context-menu::before {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff7a00, #fff0cf, #ff3218, transparent);
  opacity: .78;
}
.upgrade-context-title {
  padding: 8px 10px 9px;
  color: #ffd3a0;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,122,0,.16);
  margin-bottom: 5px;
}
.upgrade-context-menu button,
.upgrade-context-menu .context-line {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #fff8ee;
  padding: 9px 10px;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
  cursor: default;
}
.upgrade-context-menu button { cursor: pointer; }
.upgrade-context-menu button:hover {
  transform: none;
  background: rgba(255,122,0,.15);
  box-shadow: inset 0 0 0 1px rgba(255,122,0,.18);
}
.upgrade-context-menu .context-muted {
  color: rgba(255,226,200,.68);
  font-size: 12px;
}
.upgrade-context-menu .context-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff7a00;
  box-shadow: 0 0 12px rgba(255,122,0,.65);
  flex: 0 0 auto;
}
.upgrade-context-menu .context-dot.blue { background:#168cff; box-shadow:0 0 12px rgba(22,140,255,.7); }
.upgrade-context-menu .context-dot.white { background:#fff; box-shadow:0 0 12px rgba(255,255,255,.55); }
@keyframes contextMenuIn { from { opacity:0; transform:scale(.96) translateY(-3px); } to { opacity:1; transform:scale(1) translateY(0); } }

/* === v13: нормальный вид синих ручных броней на мониторе === */
.pc.pc-has-booking {
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  overflow: visible !important;
}
.pc.pc-has-booking .pc-number {
  position: relative !important;
  z-index: 3 !important;
  align-self: center !important;
  justify-self: center !important;
  transform: translateY(-9%) !important;
  font-size: clamp(20px, 2.05vh, 35px) !important;
  line-height: .95 !important;
}
.zone-comfort .pc.pc-has-booking .pc-number {
  font-size: clamp(18px, 1.88vh, 32px) !important;
}
.pc-book-time {
  position: absolute !important;
  z-index: 4 !important;
  left: 8% !important;
  right: 8% !important;
  bottom: 8% !important;
  max-width: none !important;
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  padding: clamp(2px, .22vh, 4px) clamp(4px, .35vw, 8px) !important;
  border-radius: 999px !important;
  border: 1px solid rgba(190,232,255,.74) !important;
  background: rgba(0,22,86,.38) !important;
  color: #eefaff !important;
  font-size: clamp(8px, .92vh, 14px) !important;
  font-weight: 1000 !important;
  line-height: 1.05 !important;
  letter-spacing: .01em !important;
  text-align: center !important;
  text-shadow: 0 1px 0 rgba(0,12,56,.72), 0 0 8px rgba(255,255,255,.30) !important;
  box-shadow: inset 0 0 12px rgba(255,255,255,.08), 0 0 14px rgba(46,156,255,.26) !important;
}
.pc.pc-reserved::before {
  background: linear-gradient(160deg, #d9f5ff 0%, #3ea8ff 32%, #075fff 70%, #031b74 100%) !important;
  border-color: rgba(187,233,255,.98) !important;
}
.pc.pc-reserved::after {
  inset: -2px !important;
  border-color: rgba(143,219,255,.98) !important;
}
@media (max-aspect-ratio: 10/16) {
  .pc-book-time { font-size: clamp(7px, .72vh, 11px) !important; left: 5% !important; right: 5% !important; }
  .pc.pc-has-booking .pc-number { transform: translateY(-7%) !important; }
}

/* === v15: custom cursor for public monitor/site === */
@media (pointer:fine) {
  html, body, a, button, .pc, .upgrade-context-menu, .upgrade-context-menu * { cursor: none !important; }
  .upgrade-cursor {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10050;
    pointer-events: none;
    opacity: 0;
    transition: opacity .14s ease;
  }
  .upgrade-cursor.is-visible { opacity: 1; }
  .upgrade-cursor i {
    position: absolute;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px rgba(255,255,255,.9), 0 0 20px rgba(255,122,0,.75);
  }
  .upgrade-cursor b {
    position: absolute;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 1px solid rgba(255,122,0,.78);
    border-radius: 50%;
    box-shadow: 0 0 22px rgba(255,122,0,.28);
    transform: scale(1);
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
  }
  .upgrade-cursor.is-hover b {
    transform: scale(1.55);
    background: rgba(255,122,0,.08);
    border-color: rgba(255,255,255,.76);
  }
}

@media (min-width:761px) and (max-width:1100px){.topbar{grid-template-columns:1fr;grid-template-areas:"headline" "stats"}}
