/* WAR ROOM - command corridor (dense ops floor, not empty sleek void) */
html, body.floor-body {
  margin: 0;
  height: 100%;
  background: #07080a;
  color: #d8e0d4;
  font-family: var(--font, "IBM Plex Sans", system-ui, sans-serif);
  overflow: hidden;
}

/* ---- Command HUD ---- */
.floor-hud {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px 16px;
  background:
    linear-gradient(180deg, rgba(4, 8, 6, 0.92) 0%, rgba(4, 8, 6, 0.55) 75%, transparent 100%);
  border-bottom: 1px solid rgba(47, 158, 74, 0.15);
  pointer-events: none;
}
.floor-hud > * { pointer-events: auto; }
.floor-hud-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.floor-brand {
  font-family: var(--mono, ui-monospace, monospace);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  color: #3ecf6a;
  text-decoration: none;
  text-shadow: 0 0 12px rgba(62, 207, 106, 0.35);
}
.floor-hud-sub {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(180, 200, 185, 0.55);
}
.floor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.floor-chip {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border: 1px solid rgba(90, 120, 100, 0.35);
  background: rgba(8, 16, 12, 0.85);
  color: rgba(180, 200, 185, 0.75);
}
.floor-chip.on {
  border-color: rgba(62, 207, 106, 0.55);
  color: #7dff9f;
  box-shadow: 0 0 8px rgba(62, 207, 106, 0.15);
}
.floor-chip.off {
  border-color: rgba(200, 90, 50, 0.45);
  color: #e8a070;
}
.floor-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.floor-btn {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(90, 140, 110, 0.4);
  background: rgba(10, 18, 14, 0.92);
  color: #c8d8cc;
  padding: 10px 12px;
  text-decoration: none;
  cursor: pointer;
}
.floor-btn.primary {
  background: #1f6b38;
  border-color: #3ecf6a;
  color: #e8ffe8;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(62, 207, 106, 0.2);
}
.floor-btn:hover { filter: brightness(1.1); }

/* ---- Stage: bunker war room ---- */
.floor-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(30, 80, 50, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 35% at 80% 30%, rgba(180, 70, 30, 0.06), transparent 50%),
    linear-gradient(180deg, #0c1210 0%, #080b0a 45%, #050706 100%);
}

/* scanline overlay on stage */
.floor-stage::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: 0.04;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 2px,
    rgba(0, 0, 0, 0.5) 2px 3px
  );
}

.floor-world {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  will-change: transform;
}

/* Back wall = map / monitor bank */
.floor-wall {
  position: absolute;
  left: 0;
  bottom: 30vh;
  width: 100%;
  height: 50vh;
  pointer-events: none;
  background:
    /* tactical grid */
    linear-gradient(rgba(47, 158, 74, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 158, 74, 0.04) 1px, transparent 1px),
    repeating-linear-gradient(
      90deg,
      #0e1412 0 90px,
      #101816 90px 92px
    );
  background-size: 40px 40px, 40px 40px, auto;
  border-bottom: 1px solid rgba(62, 207, 106, 0.12);
}
.floor-wall::before {
  /* hanging map strip */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 12%;
  height: 42%;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(62, 207, 106, 0.06) 0 80px,
      rgba(224, 122, 47, 0.05) 80px 160px,
      rgba(100, 140, 180, 0.05) 160px 240px
    ),
    linear-gradient(180deg, rgba(8, 20, 14, 0.9), rgba(6, 12, 10, 0.6));
  border-top: 1px solid rgba(62, 207, 106, 0.2);
  border-bottom: 1px solid rgba(62, 207, 106, 0.15);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
}
.floor-wall::after {
  content: "WAR ROOM  //  STONKS WAR  //  RH CHAIN 4663";
  position: absolute;
  left: 24px;
  top: 8px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(62, 207, 106, 0.35);
}

.floor-far {
  position: absolute;
  left: 0;
  bottom: 30vh;
  width: 100%;
  height: 28vh;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    /* monitor bank silhouettes */
    linear-gradient(#0a100e 0 0),
    linear-gradient(#0a100e 0 0),
    linear-gradient(#0a100e 0 0);
  background-size: 70px 90px, 50px 70px, 90px 110px;
  background-repeat: repeat-x;
  background-position: 0 bottom, 90px bottom, 160px bottom;
  filter: drop-shadow(0 0 1px rgba(62, 207, 106, 0.2));
}

/* Cable tray / pipe above floor */
.floor-rail {
  position: absolute;
  left: 0;
  bottom: 30vh;
  width: 100%;
  height: 14px;
  z-index: 2;
  background:
    linear-gradient(180deg, #1a2820, #0e1612),
    repeating-linear-gradient(90deg, #243028 0 24px, #152018 24px 48px);
  border-top: 1px solid rgba(62, 207, 106, 0.25);
  border-bottom: 2px solid #050806;
  box-shadow:
    0 -2px 12px rgba(62, 207, 106, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.5);
}
.floor-rail::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 4px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 40px,
    rgba(62, 207, 106, 0.35) 40px 80px
  );
}

/* Command floor - rubber tiles / deck */
.floor-ground {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30vh;
  min-height: 170px;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(62, 207, 106, 0.12) 0 2px, transparent 2px),
    repeating-linear-gradient(
      90deg,
      #121a16 0 48px,
      #0e1411 48px 49px,
      #101814 49px 96px
    ),
    linear-gradient(180deg, #1a2420 0%, #0c1210 45%, #070a08 100%);
  box-shadow: inset 0 24px 50px rgba(0, 0, 0, 0.35);
}
.floor-ground::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg,
    #1f6b38,
    #3ecf6a 30%,
    #e07a2f 55%,
    #3ecf6a 80%,
    #1f6b38);
  opacity: 0.75;
}
.floor-ground::after {
  content: "";
  position: absolute;
  inset: 10px 0 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 22px,
      rgba(0, 0, 0, 0.15) 22px 23px
    ),
    radial-gradient(ellipse 140px 40px at 25% 50%, rgba(0, 0, 0, 0.25), transparent),
    radial-gradient(ellipse 100px 30px at 75% 60%, rgba(0, 0, 0, 0.2), transparent);
  pointer-events: none;
}

.floor-path-marks {
  position: absolute;
  left: 0;
  bottom: 16vh;
  width: 100%;
  height: 10px;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 36px,
    rgba(62, 207, 106, 0.18) 36px 52px,
    transparent 52px 100px
  );
}

.floor-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.25;
  background-image:
    radial-gradient(1px 1px at 12% 25%, rgba(120, 255, 160, 0.4), transparent),
    radial-gradient(1px 1px at 55% 55%, rgba(255, 180, 100, 0.25), transparent),
    radial-gradient(1px 1px at 80% 30%, rgba(120, 255, 160, 0.3), transparent);
  background-size: 200px 200px, 240px 240px, 180px 180px;
  animation: dust-drift 22s linear infinite;
}
@keyframes dust-drift {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 200px 30px, -140px 20px, 90px -40px; }
}

/* Briefing board at entry */
.floor-title-board {
  position: absolute;
  left: 36px;
  bottom: calc(30vh + 20px);
  width: 300px;
  z-index: 4;
  background: #0c1612;
  color: #c8e0d0;
  border: 2px solid #2a5a3c;
  box-shadow:
    0 0 0 1px rgba(62, 207, 106, 0.2),
    6px 8px 0 rgba(0, 0, 0, 0.5),
    inset 0 0 30px rgba(62, 207, 106, 0.05);
  padding: 14px 14px 12px;
}
.floor-title-board .eyebrow {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3ecf6a;
}
.floor-title-board h1 {
  margin: 6px 0 6px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 20px;
  letter-spacing: 0.12em;
  color: #e8ffe8;
  text-shadow: 0 0 16px rgba(62, 207, 106, 0.35);
}
.floor-title-board p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(180, 200, 185, 0.75);
}
.floor-title-board .blink {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  background: #3ecf6a;
  box-shadow: 0 0 8px #3ecf6a;
  animation: sitrep-blink 1.4s step-end infinite;
  vertical-align: middle;
}
@keyframes sitrep-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ---- Stations (zones) ---- */
.floor-zone {
  position: absolute;
  bottom: 30vh;
  width: 280px;
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
}

.floor-landmark {
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 200px;
  height: 140px;
  margin-left: -100px;
  margin-bottom: 6px;
  pointer-events: none;
}
.floor-landmark .lm-body {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background: #0e1612;
  border: 2px solid #2a4a38;
  box-shadow:
    0 0 12px rgba(62, 207, 106, 0.08),
    6px 0 0 rgba(0, 0, 0, 0.3);
}

/* Ops desk - wide console */
.floor-landmark.ops .lm-body {
  width: 190px;
  height: 95px;
  border-radius: 2px;
}
.floor-landmark.ops .lm-body::before {
  content: "";
  position: absolute;
  left: 12px; right: 12px; top: 12px;
  height: 40px;
  background:
    linear-gradient(90deg, #1a3a28, #0e2018 40%, #1a3028),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(62,207,106,0.15) 18px 20px);
  border: 1px solid #3ecf6a55;
  box-shadow: inset 0 0 12px rgba(62, 207, 106, 0.2);
}

/* Deploy bay - crate bay */
.floor-landmark.deploy .lm-body {
  width: 110px;
  height: 85px;
  border-color: #5a4030;
}
.floor-landmark.deploy .lm-body::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 20px;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  border: 2px dashed #e07a2f88;
  border-radius: 2px;
}

/* Unit bay - grid of cells */
.floor-landmark.units .lm-body {
  width: 170px;
  height: 80px;
  background:
    repeating-linear-gradient(90deg, #0e1612 0 28px, #1a2820 28px 30px),
    #0e1612;
}
.floor-landmark.units .lm-body::before {
  content: "";
  position: absolute;
  inset: 10px;
  background:
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(62,207,106,0.12) 18px 19px);
}

/* Briefing - tall shelves */
.floor-landmark.brief .lm-body {
  width: 130px;
  height: 115px;
}
.floor-landmark.brief .lm-body::before {
  content: "";
  position: absolute;
  inset: 10px 14px;
  background: repeating-linear-gradient(
    0deg,
    #1a2820 0 12px,
    #0e1612 12px 16px
  );
}

/* Comms - dish / radio */
.floor-landmark.comms .lm-body {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border-color: #e07a2f88;
}
.floor-landmark.comms .lm-body::before {
  content: "";
  position: absolute;
  inset: 22%;
  border: 2px solid #e07a2f66;
  border-radius: 50%;
}
.floor-landmark.comms .lm-body::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: #e07a2f;
  border-radius: 50%;
  box-shadow: 0 0 10px #e07a2f;
}

/* Battle net - dual pillars */
.floor-landmark.battle .lm-body {
  width: 200px;
  height: 120px;
  background:
    linear-gradient(90deg, #0e1612 0 28px, transparent 28px 172px, #0e1612 172px),
    linear-gradient(#121a16, #0a100e);
  border-color: #4a3028;
}
.floor-landmark.battle .lm-body::before,
.floor-landmark.battle .lm-body::after {
  content: "";
  position: absolute;
  top: 14px;
  width: 20px;
  bottom: 0;
  background: repeating-linear-gradient(0deg, #2a2018 0 10px, #1a1410 10px 14px);
}
.floor-landmark.battle .lm-body::before { left: 44px; }
.floor-landmark.battle .lm-body::after { right: 44px; }

/* Station board - CRT / ops brief */
.floor-board {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #101a16 0%, #0c1410 100%);
  color: #c8e0d0;
  border: 2px solid #2a5a3c;
  box-shadow:
    0 0 0 1px rgba(62, 207, 106, 0.15),
    0 0 20px rgba(62, 207, 106, 0.06),
    5px 7px 0 rgba(0, 0, 0, 0.45);
  padding: 12px 12px 12px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.floor-board::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, #1f6b38, #3ecf6a, #1f6b38);
  opacity: 0.8;
}
.floor-board:hover,
.floor-board.is-near {
  transform: translateY(-8px);
  border-color: #3ecf6a;
  box-shadow:
    0 0 0 1px rgba(62, 207, 106, 0.4),
    0 0 28px rgba(62, 207, 106, 0.18),
    6px 12px 0 rgba(0, 0, 0, 0.5);
}
.floor-board .callsign {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(62, 207, 106, 0.7);
  margin-bottom: 4px;
}
.floor-board .chip {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-block;
  padding: 2px 6px;
  margin-bottom: 6px;
  font-weight: 700;
}
.floor-board .chip.open {
  background: rgba(62, 207, 106, 0.15);
  color: #7dff9f;
  border: 1px solid #3ecf6a88;
}
.floor-board .chip.shut {
  background: rgba(180, 70, 40, 0.15);
  color: #e8a070;
  border: 1px solid #e07a2f66;
}
.floor-board h2 {
  margin: 0 0 4px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e8ffe8;
}
.floor-board p {
  margin: 0;
  font-size: 11.5px;
  color: rgba(180, 200, 185, 0.75);
  line-height: 1.35;
}
.floor-board .detail {
  margin-top: 6px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(120, 150, 130, 0.7);
}

/* ---- Decor: racks, consoles, maps ---- */
.floor-decor {
  position: absolute;
  bottom: 30vh;
  z-index: 3;
  pointer-events: none;
  transform: translateX(-50%);
}
.floor-decor.post {
  width: 16px;
  height: 86px;
  background: linear-gradient(90deg, #1a2820, #0e1612);
  border: 1px solid #2a4a38;
}
.floor-decor.post .tag {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  margin-bottom: 6px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 8px;
  letter-spacing: 0.14em;
  background: #0c1612;
  color: #7dff9f;
  border: 1px solid #2a5a3c;
  padding: 3px 6px;
  white-space: nowrap;
}
.floor-decor.rack {
  width: 36px;
  height: 100px;
  background:
    repeating-linear-gradient(0deg, #0e1612 0 8px, #1a2820 8px 10px),
    #0e1612;
  border: 2px solid #2a4a38;
  box-shadow: 0 0 10px rgba(62, 207, 106, 0.08);
}
.floor-decor.rack::after {
  content: "";
  position: absolute;
  left: 6px; right: 6px; top: 10px;
  height: 6px;
  background: #3ecf6a;
  opacity: 0.5;
  box-shadow: 0 20px 0 #e07a2f66, 0 40px 0 #3ecf6a44, 0 60px 0 #3ecf6a33;
}
.floor-decor.console {
  width: 54px;
  height: 42px;
  background: #0e1612;
  border: 2px solid #2a4a38;
  border-radius: 2px 2px 0 0;
}
.floor-decor.console::before {
  content: "";
  position: absolute;
  left: 6px; right: 6px; top: 6px;
  height: 18px;
  background: radial-gradient(ellipse at 50% 40%, #1a4a30, #0a1810);
  border: 1px solid #3ecf6a44;
  box-shadow: inset 0 0 8px rgba(62, 207, 106, 0.25);
}
.floor-decor.console::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: 6px;
  height: 4px;
  background: repeating-linear-gradient(90deg, #3a342c 0 4px, #1a1814 4px 8px);
}
.floor-decor.cable {
  width: 80px;
  height: 8px;
  bottom: calc(30vh + 4px) !important;
  background: repeating-linear-gradient(
    90deg,
    #2a2018 0 6px,
    #1a1410 6px 10px
  );
  border-radius: 4px;
  opacity: 0.7;
}
.floor-decor.map {
  width: 70px;
  height: 54px;
  background:
    linear-gradient(rgba(62,207,106,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62,207,106,0.08) 1px, transparent 1px),
    #0c1612;
  background-size: 8px 8px, 8px 8px, auto;
  border: 2px solid #2a5a3c;
  box-shadow: 0 0 12px rgba(62, 207, 106, 0.1);
}
.floor-decor.map::after {
  content: "";
  position: absolute;
  left: 20%; top: 30%;
  width: 6px; height: 6px;
  background: #e07a2f;
  border-radius: 50%;
  box-shadow: 30px 10px 0 #3ecf6a, 12px 22px 0 #e07a2f88;
}
.floor-decor.banner {
  width: 70px;
  height: 80px;
}
.floor-decor.banner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 18px;
  margin-left: -1.5px;
  background: #2a4a38;
}
.floor-decor.banner .flag {
  position: absolute;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  width: 66px;
  padding: 7px 3px;
  background: #0e2018;
  color: #7dff9f;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-align: center;
  font-weight: 700;
  border: 1px solid #3ecf6a66;
  box-shadow: 0 0 10px rgba(62, 207, 106, 0.15);
}
.floor-decor.portrait {
  width: 52px;
  height: 64px;
  background: #0c1612;
  border: 2px solid #2a5a3c;
  box-shadow: 0 0 10px rgba(62, 207, 106, 0.12), 3px 3px 0 rgba(0,0,0,0.4);
  overflow: hidden;
}
.floor-decor.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: pixelated;
  filter: contrast(1.05) saturate(0.9);
}

/* Goblin */
.floor-player {
  position: absolute;
  bottom: calc(30vh - 2px);
  left: 260px;
  width: 118px;
  height: 118px;
  margin-left: -59px;
  z-index: 6;
  transform-origin: center bottom;
  will-change: left, bottom, transform;
  filter: drop-shadow(0 12px 0 rgba(0, 0, 0, 0.45));
}
.floor-player.face-left { transform: scaleX(-1); }
.floor-player.is-jump {
  filter: drop-shadow(0 20px 8px rgba(0, 0, 0, 0.3));
}
.floor-player-sprite {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  pointer-events: none;
  user-select: none;
}
.floor-player.is-run .floor-player-sprite {
  animation: gob-step-squash 0.22s ease-in-out infinite;
}
@keyframes gob-step-squash {
  0%, 100% { transform: scale(1, 1); }
  50% { transform: scale(1.02, 0.97); }
}

.floor-hint {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 40;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(180, 220, 190, 0.9);
  background: rgba(6, 12, 10, 0.88);
  border: 1px solid rgba(62, 207, 106, 0.25);
  padding: 9px 14px;
  max-width: min(92vw, 580px);
  text-align: center;
  box-shadow: 0 0 16px rgba(62, 207, 106, 0.08);
}
.floor-hint kbd {
  display: inline-block;
  padding: 1px 5px;
  border: 1px solid rgba(62, 207, 106, 0.35);
  margin: 0 2px;
  font-size: 9px;
  color: #7dff9f;
}
.floor-hint strong { color: #7dff9f; }

.floor-touch {
  position: fixed;
  right: 14px;
  bottom: 52px;
  z-index: 40;
  display: none;
  grid-template-columns: repeat(3, 48px);
  gap: 8px;
}
.floor-touch button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(62, 207, 106, 0.3);
  background: rgba(8, 16, 12, 0.92);
  color: #c8e0d0;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 800px), (pointer: coarse) {
  .floor-touch { display: grid; }
  .floor-hint { font-size: 9px; bottom: 10px; }
  .floor-zone { width: 230px; }
  .floor-player { width: 90px; height: 90px; margin-left: -45px; }
  .floor-title-board { width: 210px; left: 12px; }
  .floor-title-board h1 { font-size: 15px; }
  .floor-chips { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .floor-player.is-run .floor-player-sprite,
  .floor-dust,
  .floor-title-board .blink { animation: none !important; }
}

/* Flat mode */
.floor-flat {
  display: none;
  min-height: 100vh;
  padding: 80px 20px 40px;
  max-width: 920px;
  margin: 0 auto;
  background: #07080a;
}
.floor-flat h1 {
  font-family: var(--mono, ui-monospace, monospace);
  color: #3ecf6a;
  letter-spacing: 0.12em;
}
.floor-flat p { color: rgba(180, 200, 185, 0.7); }
.floor-flat-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.floor-flat-list a {
  display: block;
  padding: 14px 16px;
  background: #0c1612;
  color: #c8e0d0;
  text-decoration: none;
  border: 1px solid #2a5a3c;
}
.floor-flat-list a strong {
  display: block;
  font-family: var(--mono, ui-monospace, monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: #7dff9f;
}
body.floor-flat-mode .floor-stage,
body.floor-flat-mode .floor-hint,
body.floor-flat-mode .floor-touch { display: none !important; }
body.floor-flat-mode .floor-flat { display: block; }
body.floor-flat-mode { overflow: auto; }
