:root {
  --navy-950: #02050d;
  --navy-900: #040a18;
  --navy-850: #071126;
  --navy-800: #0a1834;
  --navy-700: #0d2858;
  --blue-500: #1475ef;
  --blue-400: #44a2ff;
  --blue-300: #8bcbff;
  --gold-500: #f2ad16;
  --gold-400: #ffc83d;
  --gold-300: #ffe18b;
  --red-400: #ff625e;
  --green-400: #37d58a;
  --white: #f8fbff;
  --muted: #a6b8d8;
  --panel: rgba(5, 15, 38, 0.96);
  --line: rgba(99, 149, 226, 0.35);
  --shadow: #01030a;
  --font: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

/* Campagnewinkel: concrete progressiepaden in plaats van kleine percentages. */
.budget-cashflow {
  display: block;
  margin-top: 6px;
  color: #5d6b7f;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.25;
}

.shop-cashflow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.shop-cashflow article {
  padding: 10px;
  border: 1px solid #d8deea;
  border-radius: 10px;
  background: #fff;
}

.shop-cashflow small,
.shop-cashflow strong { display: block; }
.shop-cashflow small { color: #6a7890; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.08em; }
.shop-cashflow strong { margin-top: 3px; color: #082550; font-size: 1rem; }

.campaign-shop-intro { border-left: 6px solid #ffca28; }
.campaign-shop-paths { display: grid; gap: 14px; }
.shop-path {
  overflow: hidden;
  border: 2px solid #d9e1ee;
  border-radius: 14px;
  background: #f8fafc;
}
.shop-path > header {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  color: #fff;
  background: #0b3267;
}
.shop-path > header > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid #ffca28;
  border-radius: 9px;
  color: #ffca28;
  font-size: 0.72rem;
  font-weight: 950;
}
.shop-path > header small,
.shop-path > header h3 { display: block; margin: 0; }
.shop-path > header small { color: #a7c7f1; font-size: 0.62rem; letter-spacing: 0.1em; }
.shop-path > header h3 { color: #fff; font-size: 1rem; }
.shop-levels { display: grid; gap: 0; }
.shop-level-card {
  grid-template-columns: 52px minmax(0, 1fr);
  border: 0;
  border-bottom: 1px solid #dce4ef;
  border-radius: 0;
  background: #fff;
}
.shop-level-card:last-child { border-bottom: 0; }
.shop-level-card.is-equipped { background: #f0fff6; }
.shop-level-copy dl { display: grid; gap: 5px; margin: 8px 0; }
.shop-level-copy dl div { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 7px; }
.shop-level-copy dt { color: #6c7b91; font-size: 0.58rem; font-weight: 950; letter-spacing: 0.08em; }
.shop-level-copy dd { margin: 0; color: #162c4c; font-size: 0.72rem; font-weight: 750; line-height: 1.35; }
.shop-card-actions {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 7px;
  padding-left: 62px;
}
.shop-card-actions button { flex: 1 1 150px; min-height: 40px; }
.shop-ability-button { border-color: #0d6d46 !important; color: #fff !important; background: #0d6d46 !important; }
.shop-ability-button:disabled { border-color: #b6bec9 !important; color: #707b8b !important; background: #e6e9ed !important; }

.campaign-credit,
.campaign-evaluation,
.finale-offensive {
  margin-top: 12px;
  padding: 13px;
  border: 2px solid #d7e1ef;
  border-left: 6px solid #ffca28;
  border-radius: 12px;
  background: #fff;
}
.campaign-credit strong,
.campaign-credit span { display: block; }
.campaign-credit strong { color: #0c559f; }
.campaign-credit span { margin-top: 3px; color: #4e5e73; font-size: 0.76rem; }
.campaign-evaluation dl { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 9px 0 0; }
.campaign-evaluation dl div { padding: 8px; border-radius: 8px; background: #eef4fb; }
.campaign-evaluation dt { color: #65758c; font-size: 0.6rem; font-weight: 900; }
.campaign-evaluation dd { margin: 3px 0 0; color: #0a2c59; font-size: 0.8rem; font-weight: 900; }
.finale-offensive > small { color: #a26900; font-weight: 950; letter-spacing: 0.1em; }
.finale-offensive > h3 { margin: 3px 0; }
.finale-offensive > p { margin: 0 0 10px; color: #52647b; font-size: 0.75rem; }
.finale-offensive > div { display: grid; gap: 7px; }
.finale-offensive button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  padding: 10px;
  border: 2px solid #1d64ac;
  border-radius: 9px;
  text-align: left;
  background: #f2f7fd;
}
.finale-offensive button strong { color: #0b2b55; }
.finale-offensive button span { grid-column: 1; color: #51637a; font-size: 0.7rem; }
.finale-offensive button em { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #1164ad; font-size: 0.62rem; font-style: normal; font-weight: 950; }
.finale-offensive button:disabled { border-color: #cbd1d9; opacity: 0.58; }

.shop-unlock-flash::after {
  position: fixed;
  z-index: 9999;
  inset: 0;
  pointer-events: none;
  content: "";
  border: 10px solid #ffca28;
  animation: shop-unlock-pulse 850ms steps(5, end) both;
}
@keyframes shop-unlock-pulse { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }

.hq-scene [data-shop-path][data-level="2"] { filter: saturate(1.18) drop-shadow(0 0 8px rgba(255, 202, 40, 0.45)); }
.hq-scene [data-shop-path][data-level="3"] { transform: scale(1.06); filter: saturate(1.35) drop-shadow(0 0 13px rgba(255, 202, 40, 0.7)); }

/* Mobiliteit groeit zichtbaar van scooter naar auto en uiteindelijk de grote Bender-bus. */
.hq-scene-object--desk[data-level="1"] {
  width: 18%;
  height: 11%;
  padding-top: 12px;
  border-radius: 36px 36px 9px 9px;
  background: #f5b700;
  box-shadow: 0 8px 0 #1f2630;
}
.hq-scene-object--desk[data-level="2"] {
  width: 28%;
  height: 14%;
  border: 4px solid #18263c;
  border-radius: 34px 42px 8px 8px;
  color: #ffca28;
  background: #125aa4;
  box-shadow: 0 10px 0 #172132;
}
.hq-scene-object--desk[data-level="3"] {
  z-index: 4;
  left: 5%;
  bottom: 9%;
  width: 46%;
  height: 25%;
  padding-top: 32px;
  border: 7px solid #111c2e;
  border-radius: 18px 34px 10px 10px;
  color: #ffcf32;
  font-size: clamp(0.7rem, 1.3vw, 1.1rem);
  letter-spacing: 0.08em;
  background:
    linear-gradient(90deg, transparent 0 12%, #9ed2fa 12% 27%, transparent 27% 32%, #9ed2fa 32% 47%, transparent 47%),
    linear-gradient(180deg, #0b376d 0 47%, #f4b800 47% 59%, #0a2b59 59%);
  box-shadow: 0 13px 0 #111820, 0 0 30px rgba(20, 117, 239, 0.3);
}
.hq-scene-object--desk[data-level="3"]::before,
.hq-scene-object--desk[data-level="3"]::after {
  position: absolute;
  bottom: -22px;
  width: 30px;
  height: 30px;
  border: 6px solid #121820;
  border-radius: 50%;
  content: "";
  background: #647087;
}
.hq-scene-object--desk[data-level="3"]::before { left: 14%; }
.hq-scene-object--desk[data-level="3"]::after { right: 14%; }

@media (max-width: 620px) {
  .shop-cashflow { grid-template-columns: 1fr 1fr; }
  .shop-level-card { grid-template-columns: 44px minmax(0, 1fr); padding: 10px; }
  .shop-card-actions { padding-left: 0; }
  .campaign-evaluation dl { grid-template-columns: 1fr; }
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--navy-950);
  color: var(--white);
  font-family: var(--font);
}

body {
  min-height: 100vh;
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold-300);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.game-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 600px;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 55% 12%, rgba(34, 104, 220, 0.22), transparent 36%),
    linear-gradient(180deg, #02050d, #071631 55%, #02050d);
}

.game-shell::after {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: 0.17;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, 0.2) 3px 4px);
  mix-blend-mode: multiply;
}

.screen {
  position: absolute;
  inset: 0;
  display: none;
}

.screen--active {
  display: grid;
  animation: screen-in 280ms ease-out both;
}

@keyframes screen-in {
  from { opacity: 0; transform: scale(1.015); }
  to { opacity: 1; transform: scale(1); }
}

.loading-screen {
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(36, 112, 235, 0.32), transparent 34%),
    repeating-linear-gradient(90deg, rgba(255, 202, 40, 0.035) 0 1px, transparent 1px 32px),
    #03091a;
}

.loading-card {
  width: min(620px, 92vw);
  padding: clamp(26px, 5vw, 48px);
  border: 4px solid #ffca28;
  color: #f7fbff;
  background: linear-gradient(145deg, #0c2e68, #06132e 72%);
  box-shadow: 12px 12px 0 #01040c, 0 0 70px rgba(32, 116, 255, 0.26);
  text-align: center;
}

.loading-trophy {
  font-size: clamp(3.2rem, 9vw, 5.8rem);
  filter: drop-shadow(0 0 18px rgba(255, 202, 40, 0.48));
  animation: loading-trophy 850ms steps(2, end) infinite;
}

.loading-card h2 {
  margin: 10px 0 22px;
  color: #ffe27b;
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.1rem);
  font-style: italic;
  line-height: 1.05;
  text-transform: uppercase;
}

.loading-card > p:last-of-type {
  min-height: 24px;
  margin: 14px 0 0;
  color: #c9d9f4;
  font-size: 0.82rem;
}

.loading-track {
  height: 18px;
  padding: 3px;
  border: 2px solid #ffca28;
  background: #020815;
}

.loading-track span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #1475ef, #58b4ff, #ffca28);
  transform-origin: left;
  animation: loading-progress 1.45s steps(12, end) both;
}

.loading-pixels {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
}

.loading-pixels i {
  width: 10px;
  height: 10px;
  background: #ffca28;
  animation: loading-pixel 720ms steps(2, end) infinite;
}

.loading-pixels i:nth-child(2) { animation-delay: 120ms; }
.loading-pixels i:nth-child(3) { animation-delay: 240ms; }

@keyframes loading-progress {
  from { transform: scaleX(0.05); }
  to { transform: scaleX(1); }
}

@keyframes loading-pixel {
  50% { opacity: 0.2; transform: translateY(-5px); }
}

@keyframes loading-trophy {
  50% { transform: translateY(-5px) scale(1.04); }
}

.eyebrow {
  margin: 0;
  color: var(--blue-300) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pixel-btn {
  position: relative;
  min-height: 54px;
  padding: 10px 22px;
  border: 3px solid var(--gold-500);
  color: var(--white);
  background: linear-gradient(180deg, #164b99, #0a2a67);
  box-shadow:
    inset 0 0 0 3px rgba(4, 13, 34, 0.66),
    0 6px 0 var(--shadow),
    0 0 20px rgba(20, 117, 239, 0.13);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: filter 120ms ease, transform 90ms ease, border-color 120ms ease;
}

.pixel-btn::after {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  content: "";
}

.pixel-btn--primary {
  border-color: var(--blue-300);
  background: linear-gradient(180deg, #1477f1, #0b3b91);
  box-shadow:
    inset 0 0 0 3px rgba(4, 13, 34, 0.58),
    0 6px 0 var(--shadow),
    0 0 22px rgba(61, 153, 255, 0.2);
}

.pixel-btn:hover:not(:disabled) {
  z-index: 1;
  filter: brightness(1.18);
  transform: translateY(-2px);
}

.pixel-btn:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow: inset 0 0 0 3px rgba(4, 13, 34, 0.66), 0 2px 0 var(--shadow);
}

.pixel-btn:disabled {
  cursor: not-allowed;
  filter: grayscale(0.7) brightness(0.58);
}

.text-btn {
  padding: 13px 9px;
  border: 0;
  color: var(--blue-300);
  background: none;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.text-btn:hover {
  color: var(--white);
}

/* Startscherm: de achtergrond is beeld; het menu bestaat uit echte HTML-knoppen. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.start-screen {
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(17, 64, 142, 0.28), transparent 55%),
    #01030a;
}

.start-stage {
  position: relative;
  width: min(100vw, 177.7778dvh);
  height: min(100dvh, 56.25vw);
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #02050d;
  box-shadow: 0 0 0 2px rgba(32, 105, 218, 0.32), 0 0 60px rgba(14, 70, 164, 0.3);
}

.start-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.start-stage::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 73% 80%, rgba(36, 132, 255, 0.12), transparent 25%),
    radial-gradient(ellipse at 86% 79%, rgba(255, 193, 37, 0.1), transparent 22%);
  animation: arena-glow 2.6s ease-in-out infinite alternate;
}

@keyframes arena-glow {
  to { opacity: 0.55; filter: brightness(1.22); }
}

.image-menu {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.image-hotspot {
  position: absolute;
  left: 36.35%;
  width: 29.55%;
  height: 10.9%;
  display: grid;
  padding: 0 4%;
  place-items: center;
  border: clamp(2px, 0.3vw, 5px) solid #2f80e9;
  border-radius: 7%;
  color: #f5f8ff;
  background: linear-gradient(180deg, #1559bd 0%, #0b3d92 48%, #061d55 100%);
  box-shadow:
    inset 0 clamp(2px, 0.22vw, 4px) 0 rgba(126, 192, 255, 0.55),
    inset 0 clamp(-6px, -0.4vw, -3px) 0 rgba(2, 9, 31, 0.62),
    0 clamp(5px, 0.5vw, 9px) 0 #020713,
    0 0 clamp(8px, 1vw, 18px) rgba(31, 112, 235, 0.32);
  cursor: pointer;
  touch-action: manipulation;
  transform-origin: center;
  transition: transform 100ms ease, filter 120ms ease, background 120ms ease, border-color 120ms ease;
}

.image-hotspot-label {
  position: relative;
  z-index: 1;
  color: inherit;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(1rem, 3.25vw, 3.35rem);
  font-weight: 950;
  letter-spacing: 0.025em;
  line-height: 1;
  text-shadow: 0 clamp(2px, 0.24vw, 4px) 0 rgba(0, 0, 0, 0.72);
}

.image-hotspot--start {
  top: 52.25%;
}

.image-hotspot--help {
  top: 64.2%;
}

.image-hotspot--settings {
  top: 76.1%;
}

.image-hotspot:hover,
.image-hotspot:focus-visible {
  z-index: 3;
  border-color: #75b5ff;
  color: #ffffff;
  background: linear-gradient(180deg, #0b357f 0%, #061d55 52%, #020c29 100%);
  box-shadow:
    inset 0 0 clamp(18px, 2vw, 38px) rgba(19, 87, 201, 0.52),
    0 clamp(5px, 0.5vw, 9px) 0 #01040d,
    0 0 clamp(12px, 1.5vw, 28px) rgba(46, 128, 255, 0.72);
  outline: 2px solid rgba(117, 181, 255, 0.48);
  outline-offset: 2px;
  transform: scale(1.018);
}

.image-hotspot:active {
  transform: scale(0.985) translateY(2%);
}

.resume-wrap {
  position: absolute;
  top: 2.5%;
  right: 2%;
  z-index: 4;
  display: grid;
  justify-items: end;
  gap: 5px;
}

.resume-ribbon {
  padding: clamp(7px, 0.8vw, 12px) clamp(11px, 1.4vw, 20px);
  border: clamp(1px, 0.18vw, 3px) solid var(--gold-400);
  color: var(--navy-950);
  background: linear-gradient(180deg, #ffe079, #efa611);
  box-shadow: 0 clamp(3px, 0.4vw, 7px) 0 rgba(60, 34, 0, 0.92), 0 0 20px rgba(255, 188, 34, 0.28);
  cursor: pointer;
  font-size: clamp(0.52rem, 1.15vw, 0.92rem);
  font-weight: 900;
  letter-spacing: 0.05em;
}

.resume-ribbon:hover,
.resume-ribbon:focus-visible {
  filter: brightness(1.14);
  transform: translateY(-2px);
}

.resume-day {
  margin: 0;
  padding: 4px 7px;
  color: #e8f2ff;
  background: rgba(2, 8, 21, 0.78);
  font-size: clamp(0.42rem, 0.75vw, 0.66rem);
}

.music-start-notice {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 12;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #ffc800;
  color: #111;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.music-start-notice:not([hidden]) {
  display: block !important;
}

.admin-star-hotspot {
  position: absolute;
  top: 23.5%;
  left: 86.5%;
  z-index: 40;
  width: 10%;
  height: 15%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  opacity: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}

.admin-star-hotspot:hover {
  opacity: 0.14;
  background: radial-gradient(circle, rgba(255, 224, 92, 0.82) 0 18%, rgba(255, 202, 40, 0.24) 28%, transparent 58%);
}

.admin-star-hotspot:focus-visible {
  opacity: 0.28;
  outline: 2px dashed #ffe57b;
  outline-offset: 3px;
  box-shadow: 0 0 22px #ffca28;
}

.admin-login-shortcut {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 60;
  min-height: 36px;
  padding: 8px 12px;
  border: 2px solid #ffca28;
  border-radius: 6px;
  color: #ffffff;
  background: rgba(5, 27, 66, 0.9);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.72);
  font: 900 clamp(0.58rem, 0.78vw, 0.72rem)/1 system-ui, sans-serif;
  letter-spacing: 0.08em;
  cursor: pointer;
  touch-action: manipulation;
}

.admin-login-shortcut:hover,
.admin-login-shortcut:focus-visible {
  color: #071a3a;
  background: #ffca28;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Onboarding met Tommy */
.onboarding-screen.screen--active {
  display: grid;
  grid-template-rows: clamp(86px, 13vh, 124px) minmax(0, 1fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 78%, rgba(255, 199, 37, 0.16), transparent 30%),
    #0b0b0b;
}

.onboarding-brand {
  position: sticky;
  top: 0;
  z-index: 5;
  overflow: hidden;
  width: 100vw;
  border-bottom: 6px solid #050505;
  background: #ffca28;
  box-shadow: 0 7px 0 rgba(255, 202, 40, 0.18);
}

.onboarding-brand img {
  display: block;
  width: calc(100% + 90px);
  max-width: none;
  height: 100%;
  margin-left: -45px;
  object-fit: cover;
  object-position: center;
}

.onboarding-stage {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(500px, 1.15fr);
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  width: min(1450px, 96vw);
  min-height: 0;
  height: 100%;
  margin: 0 auto;
  padding: 16px 0 22px;
}

.tommy-card {
  position: relative;
  align-self: stretch;
  display: grid;
  align-items: end;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-bottom: 8px solid #ffca28;
}

.tommy-glow {
  position: absolute;
  inset: 14% 4% 1%;
  border-radius: 50% 50% 8% 8%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 204, 49, 0.38), rgba(255, 195, 20, 0.08) 42%, transparent 70%);
  filter: blur(3px);
}

.tommy-portrait {
  position: relative;
  z-index: 1;
  display: block;
  width: 110%;
  max-width: none;
  margin-left: -5%;
}

.tommy-portrait > img {
  display: block;
  width: 100%;
  filter: drop-shadow(10px 9px 0 rgba(0, 0, 0, 0.52));
  image-rendering: pixelated;
}

.tommy-mouth {
  position: absolute;
  top: 36.95%;
  left: 55.95%;
  z-index: 2;
  width: 7.6%;
  height: 1.25%;
  border: 1px solid #2a0c08;
  border-radius: 15% 15% 50% 50%;
  background: #401611;
  box-shadow: inset 0 -2px 0 #c87355, 0 1px 0 rgba(255, 192, 141, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scaleY(0.55);
  transform-origin: top center;
}

.tommy-card.is-speaking .tommy-mouth {
  opacity: 0.88;
  animation: tommy-mouth-talking 330ms steps(2, end) infinite;
}

@keyframes tommy-mouth-talking {
  0%, 100% { transform: translateX(-50%) scaleY(0.42); }
  40% { transform: translateX(-50%) scaleY(1.85); }
  70% { transform: translateX(-50%) scaleY(0.9); }
}

.tommy-nameplate {
  position: absolute;
  right: 0;
  bottom: 12px;
  z-index: 2;
  min-width: 210px;
  padding: 12px 17px 10px;
  border: 3px solid #0b0b0b;
  color: #0a0a0a;
  background: #ffca28;
  box-shadow: 7px 7px 0 #050505;
  transform: skewX(-5deg);
}

.tommy-nameplate strong,
.tommy-nameplate small {
  display: block;
  transform: skewX(5deg);
}

.tommy-nameplate strong {
  font-family: Arial Black, Impact, sans-serif;
  font-size: 1.12rem;
  font-style: italic;
  letter-spacing: -0.04em;
}

.tommy-nameplate small {
  margin-top: 2px;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.tommy-dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  min-height: 0;
  max-height: 100%;
  height: 100%;
  padding: clamp(22px, 2.7vw, 38px);
  overflow: hidden;
  border: 5px solid #080808;
  border-radius: 24px;
  color: #101010;
  background: #fffaf0;
  box-shadow: 13px 13px 0 #ffca28;
}

.tommy-dialog::before {
  position: absolute;
  top: 43%;
  left: -35px;
  width: 62px;
  height: 62px;
  border-left: 5px solid #080808;
  border-bottom: 5px solid #080808;
  background: #fffaf0;
  content: "";
  transform: rotate(45deg);
}

.dialog-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
  padding-bottom: 11px;
  border-bottom: 3px solid #111;
  color: #111;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.intro-progress {
  display: flex;
  gap: 5px;
}

.intro-progress span {
  width: clamp(11px, 1.5vw, 20px);
  height: 7px;
  background: #d9d4c9;
  transition: background 140ms ease, transform 140ms ease;
}

.intro-progress span.is-active {
  background: #ffbd16;
  transform: scaleY(1.35);
}

.intro-slides {
  position: relative;
  z-index: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2px 8px 6px 1px;
  scrollbar-color: #d5a41c #eee6d5;
}

.intro-slide {
  animation: dialog-slide 220ms ease-out both;
}

@keyframes dialog-slide {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

.intro-slide .eyebrow {
  color: #9f6d00 !important;
}

.intro-slide h2 {
  max-width: 690px;
  margin: 6px 0 14px;
  color: #0b0b0b;
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(1.75rem, 3.15vw, 3.2rem);
  font-style: italic;
  letter-spacing: -0.065em;
  line-height: 1.05;
  text-transform: uppercase;
}

.intro-slide > p:not(.eyebrow):not(.name-error) {
  max-width: 690px;
  margin: 0 0 13px;
  color: #33302a;
  font-family: Arial, sans-serif;
  font-size: clamp(0.94rem, 1.25vw, 1.1rem);
  line-height: 1.55;
}

.intro-slide .dialog-lead {
  color: #111 !important;
  font-size: clamp(1.08rem, 1.55vw, 1.32rem) !important;
  font-weight: 800;
}

.intro-slide--mission h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.5vw, 2.65rem);
}

.mission-copy {
  display: grid;
  max-width: 710px;
  gap: 10px;
  padding-right: 12px;
}

.mission-copy p {
  margin: 0;
  color: #38342d;
  font-family: Arial, sans-serif;
  font-size: clamp(0.78rem, 0.92vw, 0.92rem);
  line-height: 1.5;
}

.mission-copy strong {
  color: #111;
}

.mission-summary {
  max-width: 680px;
  font-size: clamp(0.84rem, 1vw, 0.98rem) !important;
}

.mission-section {
  padding: 10px 13px;
  border-left: 4px solid #e6aa00;
  border-radius: 0 7px 7px 0;
  background: rgba(255, 247, 218, 0.66);
}

.mission-section h3 {
  margin: 0 0 4px;
  color: #111;
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  letter-spacing: 0.015em;
}

.mission-questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 9px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.mission-questions li {
  position: relative;
  padding: 5px 7px 5px 20px;
  border: 1px solid #e5dfcb;
  border-radius: 6px;
  color: #24211c;
  background: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.7rem, 0.8vw, 0.8rem);
  font-weight: 800;
}

.mission-questions li::before {
  content: "•";
  position: absolute;
  left: 9px;
  color: #ca8e00;
}

.mission-final {
  padding: 10px 13px;
  border: 1px solid #ddc263;
  border-left: 6px solid #111;
  border-radius: 6px;
  color: #111 !important;
  background: #ffdf72;
  box-shadow: none;
}

.mission-closing {
  color: #5d574d !important;
  font-size: clamp(0.72rem, 0.84vw, 0.82rem) !important;
}

.intro-name-row {
  position: relative;
  z-index: 1;
  margin-top: 9px;
}

.intro-name-row .player-name-field {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0;
}

.intro-name-row .player-name-field input {
  min-height: 46px;
  padding: 7px 12px;
  border-width: 2px;
  box-shadow: 4px 4px 0 #ffca28;
  font-size: clamp(0.92rem, 1.45vw, 1.2rem);
}

.intro-name-row .name-error {
  margin: 5px 0 0;
  text-align: right;
}

.tommy-tip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 15px 17px;
  border-left: 7px solid #111;
  color: #171717;
  background: #ffca28;
}

.tommy-tip > span {
  font-size: 2rem;
  font-weight: 900;
}

.tommy-tip p {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.4;
}

.intro-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 11px;
}

.intro-stat-grid div {
  display: grid;
  grid-template-columns: 29px 1fr;
  padding: 8px;
  border: 2px solid #171717;
  background: #fff;
}

.intro-stat-grid span {
  grid-row: 1 / 3;
  align-self: center;
  font-size: 1.05rem;
}

.intro-stat-grid strong {
  color: #111;
  font-family: Arial Black, Impact, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.intro-stat-grid small {
  color: #5b5851;
  font-family: Arial, sans-serif;
  font-size: 0.62rem;
}

.sealed-note {
  padding: 11px 13px;
  border: 2px dashed #a17407;
  background: #fff5d2;
  font-size: 0.82rem !important;
}

.intro-action-guide,
.interface-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.intro-action-guide > div,
.interface-guide > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 4px 10px;
  min-height: 68px;
  padding: 10px 12px;
  border: 2px solid #1b1b1b;
  color: #171717;
  background: #fff;
}

.intro-action-guide > div > span,
.interface-guide > div > span {
  grid-row: 1 / 3;
  color: #8c6500;
  font-family: Arial Black, Impact, sans-serif;
  font-size: 1.35rem;
  text-align: center;
}

.intro-action-guide strong,
.interface-guide strong {
  display: block;
  font-family: Arial Black, Impact, sans-serif;
  font-size: 0.72rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.intro-action-guide small,
.interface-guide small {
  display: block;
  margin-top: 3px;
  color: #58534a;
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  line-height: 1.3;
}

.interface-guide p {
  margin: 0;
}

.tutorial-choice-example {
  margin: 11px 0 10px;
  padding: 12px 14px;
  border: 3px solid #171717;
  background: #fff;
  box-shadow: 6px 6px 0 #ffca28;
}

.tutorial-choice-example > span {
  color: #9f6d00;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.tutorial-choice-example > strong {
  display: block;
  margin: 5px 0 11px;
  color: #111;
  font-family: Arial Black, Impact, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

.tutorial-choice-example > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tutorial-choice-example em {
  padding: 5px 7px;
  color: #17603a;
  background: #ddf4e6;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
}

.tutorial-choice-example em.is-risk {
  color: #8a1f1f;
  background: #fbe0e0;
}

.player-name-field {
  display: grid;
  gap: 7px;
  margin-top: 23px;
  color: #111;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.player-name-field input {
  width: 100%;
  min-height: 70px;
  padding: 12px 18px;
  border: 4px solid #111;
  border-radius: 0;
  color: #111;
  background: #fff;
  box-shadow: 7px 7px 0 #ffca28;
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-style: italic;
}

.player-name-field input::placeholder {
  color: #aaa59c;
}

.name-error {
  margin: 14px 0 0;
  color: #b32323;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.intro-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.intro-spacer {
  flex: 1;
}

.yellow-btn {
  min-height: 58px;
  padding: 12px 22px;
  border: 3px solid #111;
  color: #080808;
  background: #ffca28;
  box-shadow: 6px 6px 0 #111;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: transform 90ms ease, filter 100ms ease;
}

.yellow-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.yellow-btn:active {
  box-shadow: 2px 2px 0 #111;
  transform: translate(4px, 4px);
}

.intro-back {
  color: #403b31;
}

.tommy-dialog .text-btn {
  color: #514a3b;
}

.tommy-dialog .text-btn:hover,
.tommy-dialog .text-btn:focus-visible {
  color: #111;
  background: #ffefb1;
}

/* Panelen */
.panel-screen {
  place-items: center;
  padding: 24px;
  overflow: auto;
  background:
    linear-gradient(rgba(2, 7, 18, 0.87), rgba(2, 7, 18, 0.94)),
    url("assets/bender-title-art.png") center / cover fixed;
}

.panel {
  width: min(790px, 94vw);
  padding: clamp(24px, 4vw, 44px);
  border: 3px solid var(--gold-500);
  background: var(--panel);
  box-shadow: 0 0 0 5px #07152e, 0 18px 0 rgba(0, 0, 0, 0.52), 0 0 50px rgba(10, 84, 184, 0.18);
}

.panel h2 {
  margin: 0.18em 0 0.55em;
  color: var(--gold-300);
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.panel > p:not(.eyebrow),
.panel li {
  color: #d8e5fb;
  font-size: clamp(0.9rem, 1.7vw, 1.06rem);
  line-height: 1.65;
}

.briefing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 25px 0 18px;
}

.briefing-grid div {
  padding: 17px 10px;
  border: 1px solid #24569d;
  background: #081a3c;
  text-align: center;
}

.briefing-grid span,
.briefing-grid strong {
  display: block;
}

.briefing-grid span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.68rem;
}

.briefing-grid strong {
  color: var(--white);
  font-size: 1.12rem;
}

.tip-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 13px 15px;
  border-left: 4px solid var(--gold-400);
  background: rgba(242, 173, 22, 0.1);
}

.tip-box > span {
  font-size: 1.5rem;
}

.tip-box p {
  margin: 0;
  color: #e7edf8;
  font-size: 0.82rem;
  line-height: 1.45;
}

.panel-actions,
.final-actions,
.confirm-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.help-panel {
  width: min(1040px, 94vw);
  margin: 24px auto;
  color: var(--light-text);
  background: #fff;
}

.help-panel h2 {
  color: #171b22;
}

.help-panel > p.help-lead {
  max-width: 820px;
  color: #565d69;
  line-height: 1.6;
}

.help-day-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 12px;
  padding: 0;
  list-style: none;
}

.help-day-flow li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 9px;
  min-height: 108px;
  padding: 13px;
  border: 1px solid #d9dee8;
  border-top: 4px solid var(--gold-400);
  border-radius: 12px;
  background: #f8f9fb;
}

.help-day-flow li > span {
  display: grid;
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  color: #06142d;
  background: var(--gold-300);
  font-weight: 950;
}

.help-day-flow strong { color: #17243b; font-size: 0.82rem; }
.help-day-flow small { color: #687181; font-size: 0.68rem; line-height: 1.4; }

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 12px 0 22px;
}

.help-grid article {
  position: relative;
  min-height: 128px;
  padding: 18px 17px 16px 62px;
  border: 1px solid #d9dee8;
  border-radius: 12px;
  background: #fff;
}

.help-grid h3 {
  margin: 0 0 7px;
  color: #17243b;
  font-size: 1rem;
}

.help-grid p {
  margin: 0;
  color: #687181;
  font-size: 0.78rem;
  line-height: 1.48;
}

.help-icon {
  position: absolute;
  top: 17px;
  left: 17px;
  font-size: 1.8rem;
  color: #0b3e80;
  font-weight: 950;
}

.help-icon--word {
  top: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.keyboard-tip {
  margin-bottom: 22px;
  padding: 12px 14px;
  color: var(--blue-300);
  background: rgba(20, 117, 239, 0.1);
  font-size: 0.76rem;
}

.help-final-tips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.help-final-tips p {
  margin: 0;
  padding: 13px 14px;
  border-left: 4px solid var(--blue-300);
  color: #4d5868;
  background: #f1f6fd;
  font-size: 0.75rem;
  line-height: 1.5;
}

.settings-panel {
  max-width: 650px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.toggle-row:last-of-type {
  margin-bottom: 25px;
}

.toggle-row strong,
.toggle-row small {
  display: block;
}

.toggle-row strong {
  color: var(--white);
  font-size: 1rem;
}

.toggle-row small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
}

.toggle-row input {
  width: 48px;
  height: 25px;
  appearance: none;
  border: 2px solid #42628f;
  border-radius: 0;
  background: #071227;
  cursor: pointer;
  transition: background 150ms ease;
}

.toggle-row input::before {
  display: block;
  width: 17px;
  height: 17px;
  margin: 2px;
  background: #6e82a3;
  content: "";
  transition: transform 150ms ease, background 150ms ease;
}

.toggle-row input:checked {
  border-color: var(--blue-300);
  background: #0f59bd;
}

.toggle-row input:checked::before {
  background: var(--white);
  transform: translateX(23px);
}

/* Speelscherm */
.game-screen.screen--active {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100vw;
  height: 100dvh;
  min-height: 100vh;
  overflow: hidden;
  zoom: 1;
  background:
    radial-gradient(ellipse at 18% -5%, rgba(255, 204, 45, 0.2), transparent 36%),
    radial-gradient(ellipse at 92% 25%, rgba(32, 112, 241, 0.28), transparent 34%),
    linear-gradient(115deg, rgba(255, 202, 40, 0.055) 0 1px, transparent 1px 82px),
    linear-gradient(180deg, #07142d, #050b19 58%, #02050d);
}

.game-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 10px clamp(18px, 2.5vw, 38px);
  overflow: hidden;
  border-bottom: 4px solid #080808;
  color: #080808;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.28), transparent 22%),
    linear-gradient(90deg, #ffbd13, #ffdb62 48%, #ffbd13);
  box-shadow: 0 5px 0 rgba(255, 202, 40, 0.16), 0 12px 34px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(8px);
}

.game-header::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background:
    radial-gradient(circle at 6% 36%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 23% 72%, #111 0 1px, transparent 2px),
    radial-gradient(circle at 76% 25%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 91% 68%, #111 0 1px, transparent 2px);
  background-size: 180px 70px;
}

.game-header > * {
  position: relative;
  z-index: 1;
}

.compact-logo {
  color: #080808;
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(0.9rem, 1.7vw, 1.2rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.compact-logo span {
  color: #080808;
  font-size: 1.22em;
}

.player-chip {
  display: grid;
  min-width: 150px;
  padding: 5px 12px;
  border: 2px solid #080808;
  color: #ffca28;
  background: #080808;
  text-align: center;
  transform: skewX(-5deg);
}

.player-chip span,
.player-chip strong {
  transform: skewX(5deg);
}

.player-chip span {
  font-size: 0.45rem;
  letter-spacing: 0.13em;
}

.player-chip strong {
  overflow: hidden;
  font-family: Arial Black, Impact, sans-serif;
  font-size: 0.72rem;
  font-style: italic;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-actions {
  position: relative;
  display: flex;
  gap: 8px;
}

.icon-btn {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid #080808;
  color: #ffca28;
  background: #080808;
  cursor: pointer;
  font-size: 1.15rem;
}

.phone-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  place-items: center;
  border: 2px solid #080808;
  border-radius: 50%;
  color: #080808;
  background: #fff;
  font-size: 0.65rem;
  font-weight: 900;
}

.phone-button.has-news {
  animation: phone-nudge 1.7s ease-in-out infinite;
}

@keyframes phone-nudge {
  0%, 84%, 100% { transform: rotate(0); }
  88% { transform: rotate(-7deg); }
  94% { transform: rotate(7deg); }
}

.icon-btn:hover {
  border-color: #080808;
  color: #080808;
  background: #fff2bc;
}

.floating-phone {
  position: fixed;
  right: auto;
  bottom: 24px;
  left: 24px;
  z-index: 60;
  display: flex;
  width: 158px;
  min-height: 66px;
  padding: 8px 15px 8px 10px;
  align-items: center;
  gap: 9px;
  border: 3px solid #ffca28;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #1b71dc, #0a347c 72%);
  box-shadow: 0 7px 0 #020713, 0 14px 28px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  cursor: pointer;
  text-align: left;
  transition: filter 130ms ease, transform 110ms ease, box-shadow 130ms ease;
}

.floating-phone::after {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  pointer-events: none;
  content: "";
}

.floating-phone:hover,
.floating-phone:focus-visible {
  filter: brightness(1.14);
  transform: translateY(-3px);
  box-shadow: 0 10px 0 #020713, 0 18px 35px rgba(0, 0, 0, 0.5), 0 0 22px rgba(55, 143, 255, 0.34);
}

.floating-phone:active {
  transform: translateY(4px);
  box-shadow: 0 3px 0 #020713, 0 8px 16px rgba(0, 0, 0, 0.42);
}

.phone-device {
  display: grid;
  width: 42px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid #ffdf72;
  border-radius: 10px;
  background: #061638;
  font-size: 1.55rem;
}

.phone-copy {
  display: grid;
  min-width: 0;
}

.phone-copy small {
  color: #a9d5ff;
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.phone-copy strong {
  color: #fff7d8;
  font-family: Arial Black, Impact, sans-serif;
  font-size: 0.7rem;
  font-style: italic;
  letter-spacing: 0.025em;
}

.floating-phone.tutorial-focus {
  position: fixed !important;
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
  gap: clamp(16px, 1.7vw, 26px);
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: clamp(15px, 1.6vw, 24px) clamp(190px, 14vw, 214px) clamp(15px, 1.6vw, 24px) clamp(15px, 1.6vw, 24px);
}

.campaign-panel,
.action-panel {
  min-width: 0;
}

.action-panel {
  display: flex;
  gap: 10px;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.action-intro { flex: 0 0 auto; }

.campaign-panel {
  align-self: stretch;
  height: 100%;
  min-height: 0;
  padding: 19px;
  overflow: auto;
  border: 2px solid rgba(255, 202, 40, 0.82);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 202, 40, 0.09), transparent 38%),
    rgba(7, 18, 40, 0.94);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.34), inset 0 0 28px rgba(21, 93, 201, 0.09);
}

.game-screen .eyebrow {
  color: #ffd65c !important;
}

.day-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.day-block strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 1.45rem;
  letter-spacing: -0.06em;
}

.phase-badge {
  padding: 5px 7px;
  border: 1px solid rgba(255, 214, 92, 0.72);
  color: #ffd65c;
  background: rgba(255, 202, 40, 0.09);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.day-track {
  height: 6px;
  margin: 11px 0 19px;
  overflow: hidden;
  background: #020817;
}

.day-track span {
  display: block;
  width: 3.33%;
  height: 100%;
  background: linear-gradient(90deg, #b37400, #ffd65c);
  transition: width 350ms ease;
}

.stat-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.stat-card {
  min-width: 0;
  padding: 9px 9px;
  border: 1px solid rgba(114, 169, 255, 0.18);
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(30, 78, 151, 0.2), rgba(255, 202, 40, 0.055));
}

.stat-card--advanced {
  display: none;
}

.stat-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 6px;
  font-size: 0.69rem;
}

.stat-heading span {
  color: #bfcee6;
}

.stat-heading strong {
  color: var(--white);
  font-size: 0.76rem;
}

.meter {
  height: 7px;
  overflow: hidden;
  background: #010715;
}

.meter span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #1264cf, var(--blue-400));
  transition: width 360ms ease;
}

.meter--money span {
  background: linear-gradient(90deg, #a66800, var(--gold-400));
}

.meter--heat span {
  background: linear-gradient(90deg, #e13a38, #ff9d37);
}

.meter--gold span {
  background: linear-gradient(90deg, #bd7e00, #ffe07b);
}

.meter--awareness span {
  background: linear-gradient(90deg, #6a35b8, #c392ff);
}

.meter--trust span {
  background: linear-gradient(90deg, #12828a, #67e8e1);
}

.meter--engagement span {
  background: linear-gradient(90deg, #c13979, #ff8fc2);
}

.meter--energy span {
  background: linear-gradient(90deg, #13a860, #5bf0a7);
}

.meter span.meter--danger {
  background: linear-gradient(90deg, #b9212a, var(--red-400));
  animation: danger-pulse 850ms ease-in-out infinite alternate;
}

@keyframes danger-pulse {
  to { filter: brightness(1.45); }
}

.hidden-votes {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(242, 173, 22, 0.6);
  border-radius: 11px;
  background: linear-gradient(105deg, rgba(255, 202, 40, 0.12), rgba(10, 38, 85, 0.32));
}

.hidden-votes > span {
  font-size: 1.45rem;
}

.hidden-votes small,
.hidden-votes strong {
  display: block;
}

.hidden-votes small {
  color: #b8a97f;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.hidden-votes strong {
  margin-top: 4px;
  color: var(--gold-300);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}

.action-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.action-intro h2 {
  margin: 5px 0 0;
  color: #fff7d8;
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(1.55rem, 2.7vw, 2.7rem);
  font-style: italic;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.trend-signal {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(139, 203, 255, 0.3);
  color: var(--blue-300);
  background: rgba(20, 117, 239, 0.08);
  font-size: 0.65rem;
  font-weight: 900;
}

.phone-boost-indicator {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid #ffca28;
  color: #0b0b0b;
  background: #ffca28;
  font-size: 0.66rem;
  font-weight: 900;
}

.trend-signal span {
  margin-right: 5px;
}

.trend-signal--up {
  border-color: rgba(55, 213, 138, 0.38);
  color: #72efb5;
  background: rgba(55, 213, 138, 0.08);
}

.trend-signal--down {
  border-color: rgba(255, 98, 94, 0.4);
  color: #ff9895;
  background: rgba(255, 98, 94, 0.08);
}

.action-grid {
  display: grid;
  height: clamp(260px, 40vh, 440px);
  flex: 0 0 clamp(260px, 40vh, 440px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-height: 0;
}

.action-card {
  position: relative;
  display: flex;
  min-height: 0;
  padding: 18px 17px 16px;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid rgba(86, 151, 255, 0.34);
  border-left: 6px solid var(--card-accent, #ffca28);
  border-radius: 13px;
  color: var(--white);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--card-accent, #ffca28) 12%, transparent), transparent 42%),
    linear-gradient(180deg, rgba(14, 35, 72, 0.98), rgba(6, 17, 37, 0.98));
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  text-align: left;
  transition: border-color 120ms ease, transform 100ms ease, background 120ms ease;
}

.action-card::before { display: none; }

.action-card:nth-child(1) { --card-accent: #ffca28; }
.action-card:nth-child(2) { --card-accent: #5ea6ff; }
.action-card:nth-child(3) { --card-accent: #58dda1; }
.action-card:nth-child(4) { --card-accent: #ff7f73; }
.action-card:nth-child(5) { --card-accent: #ff70ad; }
.action-card:nth-child(6) { --card-accent: #b994ff; }

.action-card:hover:not(:disabled) {
  z-index: 2;
  border-color: #ffd65c;
  background-color: #173e77;
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0.3), 0 0 0 2px color-mix(in srgb, var(--card-accent) 38%, transparent);
  transform: translateY(-3px);
}

.action-card:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: none;
}

.action-card:disabled {
  cursor: not-allowed;
  filter: grayscale(0.72) brightness(0.58);
}

.action-number {
  position: absolute;
  top: 8px;
  right: 9px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.6rem;
}

.action-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.action-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--card-accent) 58%, transparent);
  border-radius: 11px;
  background: color-mix(in srgb, var(--card-accent) 16%, #07142d);
  font-size: 1.75rem;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45));
}

.action-card h3 {
  margin: 0;
  color: var(--gold-300);
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(0.88rem, 1.15vw, 1.08rem);
  line-height: 1.1;
}

.action-card p {
  min-height: 0;
  margin: 0 0 12px;
  color: #d0daeb;
  font-size: clamp(0.68rem, 0.86vw, 0.78rem);
  line-height: 1.45;
}

.action-effects {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
}

.effect-chip {
  padding: 4px 5px;
  border: 1px solid rgba(73, 125, 194, 0.35);
  color: #aaceff;
  background: rgba(15, 47, 96, 0.68);
  font-size: 0.6rem;
  font-weight: 900;
}

.effect-chip--cost {
  border-color: rgba(255, 181, 51, 0.35);
  color: #ffd675;
  background: rgba(136, 85, 0, 0.17);
}

.effect-chip--good {
  border-color: rgba(55, 213, 138, 0.3);
  color: #72efb5;
  background: rgba(55, 213, 138, 0.08);
}

.action-lock {
  position: absolute;
  inset: auto 8px 8px;
  padding: 6px;
  color: #ffd0cf;
  background: rgba(82, 8, 15, 0.88);
  font-size: 0.56rem;
  font-weight: 900;
  text-align: center;
}

.news-desk {
  display: grid;
  flex: 1 1 100px;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 82px;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(85, 150, 255, 0.42);
  border-radius: 13px;
  background: rgba(5, 16, 36, 0.9);
}

.news-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 202, 40, 0.16);
  background: linear-gradient(90deg, rgba(27, 91, 185, 0.38), rgba(255, 202, 40, 0.11));
}

.news-heading h3 {
  margin: 0;
  color: #ffdd71;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
}

.news-heading > span {
  color: #6f87ad;
  font-size: 0.52rem;
}

.news-feed {
  display: grid;
  min-height: 0;
  max-height: none;
  overflow: auto;
}

.news-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 9px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(68, 162, 255, 0.1);
  color: #bfcee6;
  font-size: 0.72rem;
  line-height: 1.45;
}

.news-item:last-child {
  border-bottom: 0;
}

.news-item time {
  color: var(--gold-300);
  font-weight: 900;
}

/* Gebeurtenissen en meldingen */
dialog {
  color: var(--white);
}

dialog::backdrop {
  background: rgba(0, 3, 10, 0.83);
  backdrop-filter: blur(5px);
}

.event-dialog,
.confirm-dialog {
  width: min(720px, 92vw);
  max-height: 92vh;
  overflow: auto;
  padding: clamp(22px, 4vw, 36px);
  border: 2px solid var(--gold-500);
  background: #0a1323;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.72);
}

.confirm-dialog {
  width: min(610px, 92vw);
  max-height: none;
  overflow: visible;
}

.event-dialog[open],
.confirm-dialog[open] {
  animation: dialog-in 220ms ease-out both;
}

.vote-reminder-dialog {
  width: min(540px, calc(100vw - 28px));
  max-width: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 4px solid var(--gold-500);
  border-radius: 22px;
  color: #081b3d;
  background: #ffffff;
  box-shadow: 10px 12px 0 #020916, 0 0 70px rgba(28, 119, 255, 0.34);
}

.vote-reminder-dialog[open] {
  animation: dialog-in 220ms ease-out both;
}

.vote-reminder-shell {
  position: relative;
  padding: clamp(26px, 5vw, 42px);
  background:
    linear-gradient(90deg, var(--gold-400), var(--gold-300)) top / 100% 9px no-repeat,
    radial-gradient(circle at 100% 0, rgba(255, 203, 40, 0.25), transparent 38%),
    #ffffff;
  text-align: center;
}

.vote-reminder-badge {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  place-items: center;
  border: 4px solid #081b3d;
  border-radius: 15px;
  color: #081b3d;
  background: var(--gold-300);
  box-shadow: 5px 5px 0 #081b3d;
  font-size: 2rem;
  font-weight: 1000;
}

.vote-reminder-shell .eyebrow {
  color: #a66b00;
}

.vote-reminder-shell h2 {
  margin: 8px 0 10px;
  color: #071a3a;
  font-size: clamp(1.9rem, 7vw, 3rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.vote-reminder-shell > p:not(.eyebrow) {
  max-width: 430px;
  margin: 0 auto;
  color: #35445d;
  font-size: 0.88rem;
  line-height: 1.55;
}

.vote-reminder-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 25px;
}

.vote-reminder-actions .pixel-btn {
  display: inline-flex;
  min-width: 180px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.vote-reminder-actions .text-btn {
  color: #123c78;
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.event-art {
  float: right;
  margin: -5px 0 10px 20px;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.35));
}

.event-dialog h2,
.confirm-dialog h2 {
  margin: 8px 0 13px;
  color: var(--gold-300);
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  letter-spacing: -0.06em;
}

.event-dialog > p:not(.eyebrow),
.confirm-dialog > p {
  color: #ccd9ef;
  font-size: 0.88rem;
  line-height: 1.58;
}

.event-choices {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.event-choice {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid #3c577e;
  color: var(--white);
  background: #111e32;
  cursor: pointer;
  text-align: left;
}

.event-choice:hover {
  border-color: #ffca28;
  background: #172944;
}

.event-choice strong,
.event-choice small {
  display: block;
}

.event-choice strong {
  color: var(--white);
  font-size: 0.82rem;
}

.event-choice small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.63rem;
  line-height: 1.38;
}

.event-choice small,
.call-choice-copy small,
.content-choice small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.event-choice > .choice-marker {
  color: var(--gold-300);
  font-size: 1.5rem;
}

.day-report-dialog {
  width: min(860px, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 4px solid #ffca28;
  border-radius: 20px;
  color: #f8fbff;
  background: #06142f;
  box-shadow: 12px 14px 0 #01040c, 0 0 65px rgba(36, 119, 237, 0.32);
}

.day-report-dialog[open] {
  animation: report-in 240ms steps(4, end) both;
}

@keyframes report-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.day-report-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 30px);
  background:
    radial-gradient(circle at 94% 6%, rgba(255, 80, 160, 0.15), transparent 25%),
    radial-gradient(circle at 5% 95%, rgba(35, 126, 255, 0.23), transparent 30%),
    repeating-linear-gradient(0deg, transparent 0 6px, rgba(255, 255, 255, 0.018) 6px 7px),
    #06142f;
}

.day-report-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 16px;
  border-bottom: 3px solid rgba(255, 202, 40, 0.68);
}

.day-report-icon {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  place-items: center;
  border: 3px solid #ffca28;
  border-radius: 15px;
  background: linear-gradient(145deg, #1e72d9, #0b357d);
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.36);
  font-size: 1.9rem;
}

.day-report-header h2 {
  margin: 5px 0 0;
  color: #fff5c9;
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.06;
  text-transform: uppercase;
}

.day-report-summary {
  margin: 17px 0 12px;
  padding: 13px 15px;
  border-left: 6px solid #ffca28;
  color: #e5efff;
  background: linear-gradient(90deg, rgba(35, 105, 210, 0.31), rgba(35, 105, 210, 0.07));
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}

.day-report-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 12px;
  color: #9ebce6;
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
}

.day-report-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.day-report-legend i {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 5px;
  color: #031020;
  font-style: normal;
  font-weight: 900;
}

.day-report-legend .is-plus { background: #5ee6a0; }
.day-report-legend .is-minus { background: #ff7b7b; }

.day-report-changes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.day-report-change {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 11px 13px;
  border: 2px solid rgba(98, 158, 242, 0.42);
  border-radius: 12px;
  background: rgba(8, 28, 65, 0.9);
  box-shadow: inset 5px 0 0 #4d9cff;
}

.day-report-change--up {
  border-color: rgba(85, 224, 156, 0.48);
  box-shadow: inset 5px 0 0 #55e09c;
}

.day-report-change--down {
  border-color: rgba(255, 112, 112, 0.53);
  box-shadow: inset 5px 0 0 #ff7070;
}

.day-report-change-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(2, 11, 28, 0.55);
  font-size: 1.25rem;
}

.day-report-change-copy {
  min-width: 0;
}

.day-report-change-copy strong,
.day-report-change-copy small {
  display: block;
}

.day-report-change-copy strong {
  color: #f7fbff;
  font-size: 0.78rem;
}

.day-report-change-copy small {
  margin-top: 4px;
  color: #9fb8dc;
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
}

.day-report-delta {
  min-width: 55px;
  padding: 8px 7px;
  border-radius: 8px;
  color: #061124;
  background: #5ee6a0;
  font-family: Arial Black, Impact, sans-serif;
  font-size: 0.9rem;
  text-align: center;
}

.day-report-change--down .day-report-delta {
  background: #ff7b7b;
}

.day-report-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px solid rgba(89, 149, 235, 0.25);
}

.day-report-footer p {
  max-width: 420px;
  margin: 0;
  color: #9fb6d8;
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  line-height: 1.45;
}

.day-report-footer .pixel-btn {
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .day-report-dialog {
    width: calc(100vw - 14px);
    max-height: calc(100dvh - 14px);
    border-radius: 13px;
  }

  .day-report-shell {
    padding: 16px;
  }

  .day-report-icon {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  .day-report-changes {
    grid-template-columns: 1fr;
  }

  .day-report-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .day-report-footer .pixel-btn {
    width: 100%;
  }
}

.choice-content {
  min-width: 0;
}

.choice-impact {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.choice-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.choice-hint {
  display: inline-block;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #f5f8ff;
  background: rgba(4, 13, 34, 0.55);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
}

.choice-hint--cost { color: #ffe293; border-color: rgba(255, 202, 40, 0.42); }
.choice-hint--income { color: #8df0c1; border-color: rgba(78, 220, 151, 0.38); }
.choice-hint--risk { color: #ffb0ad; border-color: rgba(255, 105, 101, 0.42); }

.impact-chip {
  display: inline-block;
  padding: 4px 6px;
  border: 0;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
}

.impact-chip--good {
  border-color: rgba(78, 220, 151, 0.38);
  color: #83f2bd;
  background: rgba(34, 139, 92, 0.16);
}

.impact-chip--bad {
  border-color: rgba(255, 105, 101, 0.42);
  color: #ffaaa7;
  background: rgba(173, 42, 48, 0.16);
}

/* Telefoon */
.phone-dialog {
  width: min(390px, calc(100vw - 28px));
  height: min(690px, calc(100vh - 28px));
  padding: 0;
  overflow: hidden;
  border: 8px solid #111;
  border-radius: 34px;
  color: #111;
  background: #f5f3ec;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.72);
}

.phone-shell {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  height: 100%;
  overflow: hidden;
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 14px;
  color: #0b0b0b;
  background: #ffca28;
}

.phone-header small {
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.phone-header h2 {
  margin: 3px 0 0;
  font-family: Arial Black, Impact, sans-serif;
  font-size: 1.55rem;
}

.phone-close {
  width: 39px;
  height: 39px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #111;
  cursor: pointer;
  font-weight: 900;
}

.phone-status {
  margin: 0;
  padding: 11px 18px;
  color: #5d4a18;
  background: #fff3c2;
  font-size: 0.72rem;
  line-height: 1.4;
}

.phone-messages {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 12px;
  overflow: auto;
  background: #e8e6df;
}

.phone-message {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 13px;
  border: 1px solid #d3d0c8;
  border-radius: 14px;
  background: #fff;
}

.phone-message.is-unread {
  border-color: #d59a00;
  box-shadow: inset 4px 0 0 #ffca28;
}

.phone-message-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #fff1b5;
  font-size: 1.25rem;
}

.phone-message small {
  color: #807967;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.phone-message h3 {
  margin: 4px 0 6px;
  color: #111;
  font-size: 0.88rem;
}

.phone-message p {
  margin: 0;
  color: #4c4a44;
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  line-height: 1.45;
}

.phone-message-action {
  margin-top: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  color: #111;
  background: #ffca28;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 900;
}

.phone-message-action:disabled {
  color: #6d695f;
  background: #dedbd2;
  cursor: default;
}

.phone-shell footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px 13px;
  color: #676258;
  background: #f5f3ec;
  font-size: 0.56rem;
}

.phone-shell footer span {
  color: #178c57;
  font-weight: 900;
}

.phone-shell footer small {
  max-width: 220px;
  text-align: right;
}

/* Inkomende telefoongesprekken */
.incoming-call-dialog {
  width: min(420px, calc(100vw - 28px));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  color: #fff;
  background: transparent;
}

.incoming-call-dialog::backdrop {
  background: rgba(0, 5, 16, 0.78);
  backdrop-filter: blur(7px) saturate(1.2);
}

.incoming-call-shell {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 28px 25px 26px;
  overflow: hidden;
  border: 5px solid #ffca28;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 28%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #1267d3, #072356 70%);
  box-shadow: 0 0 0 7px #020713, 12px 14px 0 rgba(0, 0, 0, 0.5), 0 0 55px rgba(48, 139, 255, 0.32);
  text-align: center;
}

.incoming-call-shell::before {
  position: absolute;
  top: 13px;
  left: 18px;
  width: 9px;
  height: 9px;
  background: #6dffb1;
  box-shadow: 16px 0 0 #ffca28, 32px 0 0 #ff6b68;
  content: "";
}

.pixel-phone {
  position: relative;
  z-index: 2;
  display: grid;
  width: 105px;
  height: 164px;
  padding: 13px 12px;
  border: 6px solid #020713;
  border-radius: 18px;
  background: #ffca28;
  box-shadow: inset 0 0 0 4px #ffe58b, 8px 9px 0 rgba(0, 0, 0, 0.45);
  transform-origin: 50% 82%;
  animation: pixel-phone-ring 680ms steps(2, end) infinite;
}

.incoming-call-visual {
  position: relative;
  z-index: 2;
  width: 178px;
  height: 178px;
  overflow: hidden;
  border: 6px solid #020713;
  border-radius: 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05), transparent),
    #082c68;
  box-shadow: 0 0 0 5px #ffca28, 9px 10px 0 rgba(0, 0, 0, 0.42);
  transform-origin: 50% 82%;
  animation: pixel-phone-ring 680ms steps(2, end) infinite;
}

.incoming-call-visual img,
.facetime-video > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  image-rendering: pixelated;
}

.incoming-call-visual img[data-fit="contain"],
.facetime-video > img[data-fit="contain"] {
  object-fit: contain;
  object-position: center bottom;
}

.incoming-caller-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: radial-gradient(circle, #205ca9, #071d49 72%);
  font-size: 4.8rem;
}

.video-scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(255, 255, 255, 0.07) 4px 5px);
  animation: video-scan 1.6s linear infinite;
}

.pixel-phone::before {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 28px;
  height: 4px;
  background: #020713;
  content: "";
  transform: translateX(-50%);
}

.pixel-phone-screen {
  display: grid;
  height: 70px;
  place-items: center;
  border: 4px solid #020713;
  color: #e8f5ff;
  background:
    radial-gradient(circle at 50% 45%, rgba(83, 175, 255, 0.48), transparent 34%),
    #073270;
  font-size: 2rem;
}

.pixel-phone-keypad {
  align-self: end;
  width: 10px;
  height: 10px;
  margin: 0 auto 4px;
  background: #020713;
  box-shadow: -22px 0 #020713, 22px 0 #020713, 0 -19px #020713, -22px -19px #020713, 22px -19px #020713;
}

.call-signal {
  position: absolute;
  top: 70px;
  left: 50%;
  width: 154px;
  height: 154px;
  border: 5px solid rgba(255, 221, 102, 0.68);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: call-signal 1.25s steps(4, end) infinite;
}

.call-signal--two {
  width: 206px;
  height: 206px;
  margin-top: -26px;
  animation-delay: -0.55s;
}

.incoming-call-shell > p {
  z-index: 2;
  margin: 23px 0 4px;
  color: #a8d8ff;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.incoming-call-shell h2 {
  z-index: 2;
  margin: 0;
  color: #fff8d5;
  font-family: Arial Black, Impact, sans-serif;
  font-size: 2rem;
  font-style: italic;
  text-transform: uppercase;
}

.incoming-call-day {
  z-index: 2;
  margin-top: 4px;
  color: #c6d9f4;
  font-size: 0.62rem;
  font-weight: 800;
}

.answer-call-button {
  position: relative;
  z-index: 3;
  display: flex;
  min-width: 190px;
  min-height: 56px;
  margin-top: 22px;
  padding: 10px 20px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 4px solid #020713;
  border-radius: 999px;
  color: #04140c;
  background: #55e897;
  box-shadow: 0 6px 0 #020713;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.answer-call-button span {
  font-size: 1.35rem;
}

.answer-call-button:hover,
.answer-call-button:focus-visible {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.phone-button.is-ringing {
  animation: floating-phone-ring 560ms steps(2, end) infinite !important;
  box-shadow: 0 0 0 6px rgba(255, 202, 40, 0.28), 0 8px 0 #020713, 0 0 40px rgba(255, 202, 40, 0.66);
}

@keyframes pixel-phone-ring {
  0%, 100% { transform: rotate(-5deg) translateX(-4px); }
  50% { transform: rotate(5deg) translateX(4px); }
}

@keyframes floating-phone-ring {
  0%, 100% { transform: rotate(-5deg) translateY(-2px); }
  50% { transform: rotate(5deg) translateY(2px); }
}

@keyframes call-signal {
  0% { opacity: 0; transform: translateX(-50%) scale(0.55); }
  40% { opacity: 0.8; }
  100% { opacity: 0; transform: translateX(-50%) scale(1.18); }
}

.call-dialog {
  width: min(1040px, calc(100vw - 30px));
  max-height: 92dvh;
  padding: 0;
  overflow: auto;
  border: 4px solid #ffca28;
  border-radius: 18px;
  color: #fff;
  background: #06142f;
  box-shadow: 0 0 0 6px #020713, 14px 16px 0 rgba(0, 0, 0, 0.45), 0 0 55px rgba(35, 124, 255, 0.26);
}

.call-dialog[open] {
  animation: call-dialog-in 220ms steps(4, end) both;
}

@keyframes call-dialog-in {
  from { opacity: 0; transform: scale(0.94) translateY(18px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.call-dialog-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  border-bottom: 4px solid #020713;
  color: #071126;
  background: linear-gradient(90deg, #ffbd13, #ffe178);
}

.facetime-layout {
  display: grid;
  grid-template-columns: minmax(275px, 0.82fr) minmax(430px, 1.18fr);
  min-height: 470px;
}

.facetime-video {
  position: relative;
  min-height: 470px;
  margin: 0;
  overflow: hidden;
  border-right: 4px solid #ffca28;
  background:
    radial-gradient(circle at 50% 38%, rgba(41, 111, 215, 0.65), transparent 32%),
    linear-gradient(160deg, #0a3d8a, #031027 70%);
}

.facetime-video::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 255, 255, 0.045) 5px 6px),
    linear-gradient(180deg, transparent 65%, rgba(1, 7, 20, 0.82));
  content: "";
}

.facetime-video > img {
  animation: caller-video-idle 1.9s steps(3, end) infinite alternate;
}

.facetime-video .call-avatar {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 470px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: radial-gradient(circle, #1e5ba7, #061a41 72%);
  box-shadow: none;
  font-size: 7rem;
  animation: caller-video-idle 1.9s steps(3, end) infinite alternate;
}

.facetime-camera-dot,
.facetime-connection,
.facetime-video figcaption {
  position: absolute;
  z-index: 3;
}

.facetime-camera-dot {
  top: 15px;
  left: 16px;
  width: 11px;
  height: 11px;
  border: 3px solid #020713;
  border-radius: 50%;
  background: #ff414c;
  box-shadow: 0 0 12px rgba(255, 65, 76, 0.8);
  animation: call-live-pulse 700ms steps(2, end) infinite;
}

.facetime-connection {
  top: 14px;
  right: 15px;
  color: #73f0a8;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-shadow: 2px 2px #020713;
}

.facetime-video figcaption {
  right: 14px;
  bottom: 13px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e9f4ff;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.facetime-video figcaption i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #58e89b;
  box-shadow: 0 0 9px rgba(88, 232, 155, 0.65);
}

.facetime-conversation {
  min-width: 0;
  align-self: center;
  padding-block: 8px;
}

@keyframes caller-video-idle {
  0% { filter: brightness(0.96); transform: translateY(0) scale(1.005); }
  100% { filter: brightness(1.07); transform: translateY(-4px) scale(1.018); }
}

@keyframes video-scan {
  to { background-position-y: 20px; }
}

.call-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 4px solid #071126;
  border-radius: 14px;
  background: #fff5cb;
  box-shadow: 4px 4px 0 rgba(7, 17, 38, 0.28);
  font-size: 1.75rem;
}

.call-dialog-header small {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.call-dialog-header h2 {
  margin: 3px 0 0;
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(1.15rem, 3vw, 1.7rem);
  font-style: italic;
  text-transform: uppercase;
}

.call-live {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border: 2px solid #071126;
  font-size: 0.6rem;
  font-weight: 900;
}

.call-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e9343d;
  animation: call-live-pulse 700ms steps(2, end) infinite;
}

@keyframes call-live-pulse {
  50% { opacity: 0.24; }
}

.call-dialog blockquote {
  margin: 22px 22px 12px;
  padding: 18px 20px;
  border: 0;
  border-left: 7px solid #ffca28;
  color: #f7fbff;
  background: linear-gradient(90deg, rgba(32, 109, 219, 0.28), rgba(32, 109, 219, 0.08));
  font-family: Arial, sans-serif;
  font-size: clamp(0.92rem, 1.6vw, 1.12rem);
  font-weight: 700;
  line-height: 1.55;
}

.call-question {
  margin: 0 24px 12px;
  color: #a9c9f6;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.call-choices {
  display: grid;
  gap: 10px;
  padding: 0 22px 22px;
}

.call-choice {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 2px solid rgba(104, 168, 255, 0.44);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(105deg, rgba(20, 71, 147, 0.72), rgba(7, 27, 64, 0.96));
  cursor: pointer;
  text-align: left;
  transition: transform 100ms ease, border-color 120ms ease, background 120ms ease;
}

.call-choice:hover,
.call-choice:focus-visible {
  border-color: #ffca28;
  background: linear-gradient(105deg, rgba(34, 101, 207, 0.92), rgba(9, 37, 87, 0.98));
  transform: translateX(4px);
}

.call-choice-letter {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 3px solid #ffca28;
  border-radius: 8px;
  color: #071126;
  background: #ffdf72;
  font-family: Arial Black, Impact, sans-serif;
  font-size: 1rem;
}

.call-choice-copy strong,
.call-choice-copy small {
  display: block;
}

.call-choice-copy strong {
  color: #fff8d5;
  font-size: 0.88rem;
}

.call-choice-copy small {
  margin-top: 4px;
  color: #c1d2ea;
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  line-height: 1.4;
}

.call-choice .choice-impact {
  grid-column: 2 / 4;
  margin-top: 4px;
}

.call-choice .choice-hints {
  grid-column: 2 / 4;
  margin-top: 1px;
}

.call-choice-marker {
  font-size: 1.4rem;
}

.gameover-screen {
  place-items: center;
  padding: 24px;
  overflow: auto;
  background:
    repeating-linear-gradient(135deg, rgba(255, 72, 68, 0.06) 0 10px, transparent 10px 26px),
    radial-gradient(circle at 50% 25%, rgba(255, 72, 68, 0.26), transparent 35%),
    #040713;
}

.gameover-panel {
  width: min(650px, 94vw);
  padding: clamp(28px, 5vw, 50px);
  border: 5px solid #ff514d;
  color: #fff;
  background: #08142c;
  box-shadow: 12px 12px 0 #02040a, 0 0 65px rgba(255, 71, 67, 0.24);
  text-align: center;
}

.gameover-phone {
  margin: 10px 0;
  font-size: 4.5rem;
  animation: gameover-phone 900ms steps(2, end) infinite;
}

@keyframes gameover-phone {
  50% { transform: rotate(7deg) scale(1.06); }
}

.gameover-panel h2 {
  margin: 5px 0 12px;
  color: #ff7571;
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(2.3rem, 7vw, 4.2rem);
  font-style: italic;
  text-transform: uppercase;
}

.gameover-panel > p:not(.eyebrow) {
  max-width: 500px;
  margin: 0 auto 22px;
  color: #d7e1ef;
  font-family: Arial, sans-serif;
  line-height: 1.55;
}

.gameover-stamp {
  display: inline-block;
  margin-bottom: 26px;
  padding: 8px 12px;
  border: 4px solid #ff514d;
  color: #ff7672;
  font-family: Arial Black, Impact, sans-serif;
  font-size: 1.05rem;
  transform: rotate(-3deg);
}

/* Tommy legt het echte speelscherm uit */
.game-tutorial {
  position: fixed;
  inset: 0;
  z-index: 220;
  pointer-events: auto;
}

.tutorial-focus {
  position: relative !important;
  z-index: 210 !important;
  outline: 4px solid #ffca28;
  outline-offset: 5px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.62) !important;
}

.tutorial-card {
  position: fixed;
  z-index: 230;
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0 16px;
  width: min(540px, calc(100vw - 32px));
  min-height: 175px;
  padding: 18px;
  border: 3px solid #111;
  border-radius: 18px;
  color: #111;
  background: #fffaf0;
  box-shadow: 9px 9px 0 #ffca28;
}

.tutorial-card[data-placement="right"] { right: 24px; bottom: 24px; }
.tutorial-card[data-placement="left"] { left: 24px; bottom: 24px; }
.tutorial-card[data-placement="top"] { right: 24px; top: 88px; }

.tutorial-tommy {
  position: relative;
  grid-row: 1 / 3;
  width: 105px;
  height: 138px;
  align-self: end;
  overflow: hidden;
  border-bottom: 4px solid #ffca28;
  background: #111;
}

.tutorial-tommy img {
  position: absolute;
  top: -4px;
  left: -62px;
  width: 230px;
  max-width: none;
  image-rendering: pixelated;
}

.tutorial-mouth {
  position: absolute;
  top: 80px;
  left: 66px;
  z-index: 2;
  width: 17px;
  height: 3px;
  border-radius: 0 0 50% 50%;
  background: #401611;
  opacity: 0;
  transform: translateX(-50%) scaleY(0.5);
  transform-origin: top;
}

.tutorial-card.is-speaking .tutorial-mouth {
  opacity: 0.92;
  animation: tutorial-mouth-talk 300ms steps(2, end) infinite;
}

@keyframes tutorial-mouth-talk {
  0%, 100% { transform: translateX(-50%) scaleY(0.5); }
  50% { transform: translateX(-50%) scaleY(2.4); }
}

.tutorial-copy .eyebrow {
  color: #986b00 !important;
  font-size: 0.62rem;
}

.tutorial-copy h2 {
  margin: 6px 0 8px;
  color: #111;
  font-family: Arial Black, Impact, sans-serif;
  font-size: 1.35rem;
  line-height: 1.05;
}

.tutorial-copy > p:last-child {
  margin: 0;
  color: #49463f;
  font-family: Arial, sans-serif;
  font-size: 0.86rem;
  line-height: 1.45;
}

.tutorial-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.tutorial-actions .text-btn {
  color: #59544a;
  font-size: 0.68rem;
}

.tutorial-actions .yellow-btn {
  min-height: 42px;
  padding: 8px 13px;
  box-shadow: 4px 4px 0 #111;
  font-size: 0.68rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 200;
  max-width: min(540px, 88vw);
  padding: 12px 16px;
  border: 1px solid var(--blue-300);
  color: var(--white);
  background: rgba(7, 28, 62, 0.97);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast--show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast--warning {
  border-color: var(--gold-400);
  background: rgba(75, 43, 3, 0.97);
}

/* Finale */
.final-screen {
  place-items: start center;
  padding: 32px 20px 60px;
  overflow: auto;
  text-align: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 190, 33, 0.23), transparent 26%),
    linear-gradient(rgba(1, 5, 14, 0.78), rgba(1, 5, 14, 0.96)),
    url("assets/bender-title-art.png") center / cover fixed;
}

.final-panel {
  position: relative;
  z-index: 2;
  width: min(790px, 94vw);
  padding: clamp(25px, 4vw, 44px);
  border: 3px solid var(--gold-500);
  background: rgba(4, 12, 29, 0.96);
  box-shadow: 0 0 0 5px #07152e, 0 24px 60px rgba(0, 0, 0, 0.6);
}

.final-trophy {
  margin: 5px 0 -3px;
  font-size: clamp(3.5rem, 9vw, 6rem);
  filter: drop-shadow(0 0 20px rgba(255, 196, 47, 0.48));
  animation: trophy-float 1.8s ease-in-out infinite alternate;
}

@keyframes trophy-float {
  to { transform: translateY(-7px) rotate(2deg); }
}

.final-panel h2 {
  margin: 0.2em 0 0.3em;
  color: var(--gold-300);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.07em;
}

.final-subtitle {
  margin: 0 auto 20px;
  color: #c5d2e8;
  font-size: 0.84rem;
  line-height: 1.5;
}

.vote-reveal {
  width: min(410px, 92%);
  margin: 18px auto 24px;
  padding: 17px;
  border: 2px solid var(--gold-500);
  background: linear-gradient(180deg, #0b2858, #06142e);
  box-shadow: inset 0 0 0 3px rgba(1, 5, 14, 0.55), 0 8px 0 #01040a;
}

.vote-reveal span,
.vote-reveal strong,
.vote-reveal small {
  display: block;
}

.vote-reveal span {
  color: var(--blue-300);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.vote-reveal strong {
  margin: 5px 0 2px;
  color: var(--white);
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  letter-spacing: -0.09em;
  text-shadow: 0 3px 0 #02050d;
}

.vote-reveal small {
  color: var(--gold-300);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
}

.podium {
  display: grid;
  gap: 7px;
  margin: 20px 0;
  text-align: left;
}

.podium-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(71, 111, 172, 0.3);
  background: #071731;
  font-size: 0.75rem;
}

.podium-row--bender {
  border-color: var(--gold-500);
  color: var(--gold-300);
  background: rgba(160, 98, 0, 0.13);
}

.podium-rank {
  color: var(--muted);
  font-weight: 900;
}

.podium-votes {
  color: var(--white);
  font-weight: 900;
}

.final-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 19px 0 24px;
}

.final-breakdown div {
  padding: 12px 8px;
  border: 1px solid rgba(68, 162, 255, 0.25);
  background: #06152e;
}

.final-breakdown small,
.final-breakdown strong {
  display: block;
}

.final-breakdown small {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.56rem;
}

.final-breakdown strong {
  color: var(--white);
  font-size: 0.85rem;
}

.final-vote-cta {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  padding: 18px;
  border: 2px solid var(--gold-500);
  color: #071a3a;
  background: #ffffff;
  box-shadow: 7px 7px 0 #01040a;
  text-align: left;
}

.final-vote-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 3px solid #071a3a;
  border-radius: 13px;
  color: #071a3a;
  background: var(--gold-300);
  font-size: 1.8rem;
  font-weight: 1000;
}

.final-vote-cta small {
  color: #a36800;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.final-vote-cta h3 {
  margin: 3px 0 5px;
  color: #071a3a;
  font-size: 1rem;
}

.final-vote-cta p {
  margin: 0;
  color: #46536a;
  font-size: 0.68rem;
  line-height: 1.45;
}

.final-vote-cta .pixel-btn {
  display: inline-flex;
  min-width: 142px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.final-actions {
  justify-content: center;
}

.confetti {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  top: -25px;
  width: 9px;
  height: 17px;
  opacity: 0.9;
  animation: confetti-fall linear infinite;
}

@keyframes confetti-fall {
  to { transform: translate3d(var(--drift), 110vh, 0) rotate(760deg); }
}

.motion-off *,
.motion-off *::before,
.motion-off *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

@media (max-width: 1050px) {
  .onboarding-stage {
    grid-template-columns: minmax(260px, 0.72fr) minmax(470px, 1.28fr);
    gap: 28px;
    width: 96vw;
  }

  .tommy-dialog {
    padding: 30px;
  }

  .intro-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .action-card {
    min-height: 0;
  }
}

@media (max-width: 780px) {
  body {
    overflow: auto;
  }

  .game-shell {
    min-height: 100dvh;
  }

  .onboarding-screen.screen--active {
    grid-template-rows: 82px auto;
    overflow: auto;
  }

  .onboarding-stage {
    grid-template-columns: 1fr;
    gap: 0;
    width: min(94vw, 650px);
    min-height: auto;
    padding: 14px 0 38px;
  }

  .tommy-card {
    width: min(430px, 88vw);
    min-height: 320px;
    max-height: 360px;
    margin: 0 auto;
  }

  .tommy-portrait {
    width: 390px;
    max-width: 100%;
    margin: 0 auto;
  }

  .tommy-dialog {
    min-height: 500px;
    max-height: none;
    height: auto;
    margin-top: -7px;
    padding: 27px;
    overflow: visible;
    border-radius: 16px;
    box-shadow: 8px 8px 0 #ffca28;
  }

  .tommy-dialog::before {
    display: none;
  }

  .game-screen.screen--active {
    display: block;
    width: 100%;
    height: 100dvh;
    overflow: auto;
    zoom: 1;
  }

  .briefing-grid,
  .final-breakdown {
    grid-template-columns: 1fr;
  }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .help-day-flow,
  .help-final-tips {
    grid-template-columns: 1fr;
  }

  .help-day-flow li {
    min-height: 0;
  }

  .game-layout {
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
    min-height: calc(100dvh - 70px);
    padding: 14px 14px 102px;
  }

  .action-panel {
    display: block;
    height: auto;
  }

  .action-grid {
    grid-template-rows: none;
  }

  .news-desk {
    margin-top: 16px;
  }

  .game-header {
    gap: 8px;
    padding-inline: 12px;
  }

  .compact-logo {
    max-width: 42%;
  }

  .player-chip {
    min-width: 105px;
    padding-inline: 7px;
  }

  .campaign-panel {
    padding: 15px;
  }

  .stat-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .hidden-votes {
    grid-column: 1 / -1;
  }

  .action-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .floating-phone {
    right: auto;
    bottom: 14px;
    left: 14px;
    width: 72px;
    min-height: 72px;
    padding: 8px;
    justify-content: center;
    border-radius: 23px;
  }

  .floating-phone .phone-device {
    width: 48px;
    height: 50px;
    border: 0;
    background: transparent;
    font-size: 1.85rem;
  }

  .floating-phone .phone-copy {
    display: none;
  }

  .facetime-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .facetime-video {
    min-height: 250px;
    max-height: 34dvh;
    border-right: 0;
    border-bottom: 4px solid #ffca28;
  }

  .facetime-video .call-avatar {
    width: 100%;
    height: 100%;
    min-height: 250px;
    font-size: 5.5rem;
  }
}

@media (max-width: 520px) {
  .game-shell {
    min-height: 560px;
  }

  .onboarding-brand img {
    object-fit: cover;
  }

  .tommy-card {
    min-height: 260px;
    max-height: 285px;
  }

  .tommy-nameplate {
    min-width: 170px;
    padding: 9px 12px;
  }

  .tommy-dialog {
    min-height: 520px;
    padding: 22px 18px;
  }

  .dialog-topline {
    margin-bottom: 20px;
  }

  .intro-progress span {
    width: 18px;
  }

  .intro-slides {
    min-height: 350px;
  }

  .intro-slide h2 {
    font-size: 1.85rem;
  }

  .intro-slide--mission h2 {
    font-size: 1.55rem;
  }

  .mission-copy p {
    font-size: 0.8rem;
  }

  .intro-stat-grid {
    grid-template-columns: 1fr;
  }

  .intro-action-guide,
  .interface-guide {
    grid-template-columns: 1fr;
  }

  .intro-actions {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .tutorial-card,
  .tutorial-card[data-placement="right"],
  .tutorial-card[data-placement="left"],
  .tutorial-card[data-placement="top"] {
    right: 12px;
    bottom: 12px;
    left: 12px;
    top: auto;
    grid-template-columns: 1fr;
    width: auto;
    min-height: 0;
    padding: 16px;
  }

  .tutorial-tommy {
    display: none;
  }

  .tutorial-actions {
    justify-content: space-between;
  }

  .phone-dialog {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    border-radius: 24px;
  }

  .call-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 13px;
  }

  .call-dialog-header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 13px;
  }

  .call-avatar {
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
  }

  .facetime-video {
    min-height: 210px;
    max-height: 27dvh;
  }

  .facetime-video .call-avatar {
    width: 100%;
    height: 100%;
    min-height: 210px;
    font-size: 4.8rem;
  }

  .call-live {
    display: none;
  }

  .call-dialog blockquote {
    margin: 14px 13px 10px;
    padding: 14px;
    font-size: 0.88rem;
  }

  .call-question {
    margin-inline: 15px;
  }

  .call-choices {
    padding: 0 13px 15px;
  }

  .call-choice {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 11px;
  }

  .call-choice-letter {
    width: 34px;
    height: 34px;
  }

  .call-choice .choice-impact {
    grid-column: 1 / 4;
  }

  .incoming-call-shell {
    padding: 28px 20px 23px;
  }

  .intro-spacer {
    display: none;
  }

  .yellow-btn {
    flex: 1;
  }

  .compact-logo {
    font-size: 0.68rem;
  }

  .start-image {
    object-position: 58% center;
  }

  .player-chip {
    display: none;
  }

  .panel-screen {
    align-items: start;
    padding: 14px;
  }

  .panel {
    width: 100%;
    margin: 12px 0 25px;
    padding: 21px 17px;
  }

  .panel h2 {
    font-size: 1.9rem;
  }

  .panel-actions,
  .final-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .panel-actions .pixel-btn,
  .final-actions .pixel-btn {
    width: 100%;
  }

  .stat-list,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .action-card {
    min-height: 128px;
  }

  .news-heading > span {
    display: none;
  }

  .event-dialog,
  .confirm-dialog {
    width: calc(100vw - 24px);
    padding: 22px 17px;
  }

  .vote-reminder-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .vote-reminder-actions .pixel-btn {
    width: 100%;
  }

  .final-vote-cta {
    grid-template-columns: 48px 1fr;
    padding: 15px;
  }

  .final-vote-icon {
    width: 46px;
    height: 46px;
  }

  .final-vote-cta .pixel-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .event-choice {
    grid-template-columns: 1fr;
  }

  .podium-row {
    grid-template-columns: 27px 1fr;
  }

  .podium-votes {
    grid-column: 2;
    font-size: 0.68rem;
  }

  .final-screen {
    padding: 14px 10px 40px;
  }
}

@media (max-height: 720px) and (min-width: 781px) {
  .game-layout {
    padding-top: 13px;
  }

  .action-card {
    min-height: 0;
    padding: 14px 14px 12px;
  }

  .action-card p {
    margin-bottom: 8px;
    font-size: 0.7rem;
    line-height: 1.32;
  }

  .action-icon {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }

  .news-feed {
    max-height: 80px;
  }
}

/* Vrolijkere Bender-accenten en verborgen beheeromgeving. */
.game-screen.screen--active::before,
.game-screen.screen--active::after {
  position: fixed;
  z-index: 0;
  width: 180px;
  height: 180px;
  border: 2px dashed rgba(255, 204, 52, 0.15);
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.game-screen.screen--active::before {
  top: 16%;
  right: -105px;
  box-shadow: 0 0 70px rgba(52, 133, 255, 0.22);
}

.game-screen.screen--active::after {
  bottom: -120px;
  left: 18%;
  border-color: rgba(255, 88, 168, 0.12);
  box-shadow: 0 0 85px rgba(255, 70, 157, 0.12);
}

.game-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #135fc8 0 20%, #ff4e9b 20% 34%, #ffca28 34% 70%, #58dda1 70% 84%, #135fc8 84%);
  content: "";
}

.campaign-panel {
  background:
    radial-gradient(circle at 92% 5%, rgba(255, 88, 168, 0.13), transparent 23%),
    linear-gradient(145deg, rgba(255, 202, 40, 0.1), transparent 38%),
    rgba(7, 18, 40, 0.95);
}

.stat-card:nth-child(2n) {
  background: linear-gradient(115deg, rgba(35, 117, 226, 0.16), rgba(8, 25, 57, 0.88));
}

.stat-card:nth-child(3n) {
  background: linear-gradient(115deg, rgba(255, 73, 158, 0.1), rgba(8, 25, 57, 0.88));
}

.action-card {
  box-shadow: inset 5px 0 0 var(--card-accent), 6px 7px 0 rgba(0, 0, 0, 0.24), 0 0 20px color-mix(in srgb, var(--card-accent) 12%, transparent);
}

.action-card:hover:not(:disabled),
.action-card:focus-visible {
  box-shadow: inset 7px 0 0 var(--card-accent), 8px 9px 0 rgba(0, 0, 0, 0.3), 0 0 28px color-mix(in srgb, var(--card-accent) 24%, transparent);
}

.news-desk {
  border-top-color: #ff5ea4;
  background:
    linear-gradient(90deg, rgba(255, 74, 158, 0.08), transparent 28%),
    rgba(7, 20, 46, 0.91);
}

.admin-dialog {
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  color: #f5f9ff;
  background: transparent;
}

.admin-dialog::backdrop {
  background:
    radial-gradient(circle at 50% 15%, rgba(32, 112, 241, 0.28), transparent 32%),
    rgba(1, 4, 13, 0.92);
  backdrop-filter: blur(10px);
}

.admin-login-card {
  position: relative;
  display: grid;
  width: min(460px, calc(100vw - 28px));
  padding: 34px;
  overflow: hidden;
  border: 4px solid #ffca28;
  border-radius: 20px;
  background:
    radial-gradient(circle at 110% -10%, rgba(255, 78, 155, 0.24), transparent 32%),
    linear-gradient(145deg, #0c2d69, #07142f 72%);
  box-shadow: 11px 13px 0 #01040d, 0 0 58px rgba(38, 121, 255, 0.34);
}

.admin-login-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 6px, rgba(255, 255, 255, 0.025) 6px 7px);
  content: "";
}

.admin-login-card > * {
  position: relative;
}

.admin-pixel-lock {
  margin-bottom: 8px;
  font-size: 3.3rem;
  filter: drop-shadow(4px 5px 0 rgba(0, 0, 0, 0.42));
}

.admin-login-card h2,
.admin-dashboard-header h2 {
  margin: 5px 0 10px;
  color: #fff6d2;
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(1.55rem, 5vw, 2.4rem);
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}

.admin-login-card > p:not(.eyebrow):not(.admin-message) {
  margin: 5px 0 22px;
  color: #c9dcf8;
  font-family: Arial, sans-serif;
  line-height: 1.55;
}

.admin-login-card label {
  margin-bottom: 6px;
  color: #93bff8;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.admin-login-card input {
  width: 100%;
  padding: 14px 16px;
  border: 3px solid #ffca28;
  border-radius: 9px;
  color: #071126;
  background: #fffdf4;
  box-shadow: inset 0 -4px 0 rgba(8, 27, 63, 0.13);
  font: 900 1.25rem Arial, sans-serif;
  letter-spacing: 0.2em;
}

.admin-login-card input:focus {
  outline: 3px solid #5ba8ff;
  outline-offset: 3px;
}

.admin-message {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: #90edbc;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  line-height: 1.4;
}

.admin-message.is-warning { color: #ffe17b; }
.admin-message.is-error { color: #ff8a8a; }

.admin-login-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.admin-dashboard-dialog {
  width: min(1220px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
}

.admin-dashboard {
  max-height: calc(100dvh - 24px);
  padding: clamp(18px, 3vw, 30px);
  overflow: auto;
  border: 4px solid #ffca28;
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 3%, rgba(255, 74, 156, 0.15), transparent 23%),
    radial-gradient(circle at 5% 60%, rgba(43, 122, 255, 0.18), transparent 31%),
    #050e21;
  box-shadow: 12px 14px 0 #01040b, 0 0 70px rgba(31, 111, 235, 0.28);
}

.admin-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 3px solid rgba(255, 202, 40, 0.66);
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-status-pill {
  padding: 8px 10px;
  border: 2px solid #58dda1;
  border-radius: 999px;
  color: #90edbc;
  background: rgba(30, 130, 86, 0.17);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.admin-status-pill.is-offline {
  border-color: #ff7979;
  color: #ff9d9d;
}

.admin-refresh-label {
  margin: 12px 0 16px;
  color: #9dbbe5;
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-metrics article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 10px;
  min-height: 112px;
  padding: 17px;
  border: 2px solid rgba(89, 157, 255, 0.5);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(25, 86, 177, 0.38), rgba(7, 24, 55, 0.92));
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.26);
}

.admin-metrics article:nth-child(2) { border-color: rgba(255, 92, 166, 0.56); }
.admin-metrics article:nth-child(3) { border-color: rgba(255, 202, 40, 0.67); }
.admin-metrics article:nth-child(4) { border-color: rgba(88, 221, 161, 0.61); }

.admin-metrics article > span {
  grid-row: 1 / 3;
  font-size: 2.15rem;
}

.admin-metrics small,
.admin-card-title small {
  color: #9fc2ef;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.admin-metrics strong {
  color: #fff5ca;
  font-family: Arial Black, Impact, sans-serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.admin-data-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.admin-data-card {
  min-width: 0;
  padding: 18px;
  border: 2px solid rgba(90, 158, 255, 0.42);
  border-radius: 15px;
  background: rgba(7, 22, 50, 0.88);
  box-shadow: inset 0 0 28px rgba(38, 114, 222, 0.08);
}

.admin-visitors-card {
  margin-top: 14px;
}

.admin-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}

.admin-card-title > span { font-size: 1.8rem; }

.admin-card-title h3 {
  margin: 3px 0 0;
  color: #fff4c9;
  font-family: Arial Black, Impact, sans-serif;
  font-size: 1rem;
  font-style: italic;
  text-transform: uppercase;
}

.admin-table-wrap {
  overflow: auto;
}

.admin-data-card table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
}

.admin-data-card th,
.admin-data-card td {
  padding: 10px 9px;
  border-bottom: 1px solid rgba(137, 180, 239, 0.18);
  text-align: left;
  white-space: nowrap;
}

.admin-data-card th {
  color: #80b4f7;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-data-card tbody tr:hover {
  background: rgba(39, 107, 205, 0.15);
}

.admin-daily-bars {
  display: grid;
  gap: 9px;
}

.admin-day-bar {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 9px;
  color: #dbeaff;
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
}

.admin-day-bar i {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #020918;
}

.admin-day-bar b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #287de9, #ff5aa4, #ffca28);
}

.admin-day-bar strong {
  color: #ffdd70;
  text-align: right;
}

.admin-privacy-note {
  margin: 14px 0 0;
  padding: 11px 13px;
  border-left: 4px solid #ffca28;
  color: #adc5e8;
  background: rgba(255, 202, 40, 0.07);
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  line-height: 1.45;
}

@media (max-width: 820px) {
  .admin-dashboard-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-metrics,
  .admin-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-data-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .admin-login-card {
    padding: 25px 20px;
  }

  .admin-dashboard-dialog,
  .admin-dashboard {
    width: calc(100vw - 12px);
    max-height: calc(100dvh - 12px);
  }

  .admin-dashboard {
    padding: 15px;
    border-radius: 13px;
  }

  .admin-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .admin-metrics article {
    min-height: 92px;
    padding: 12px;
  }

  .admin-metrics article > span {
    font-size: 1.65rem;
  }

  .admin-status-pill {
    display: none;
  }
}

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

/* Vaste dagindeling en marketinglaag. */
.day-moment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 31px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 200, 41, 0.55);
  border-radius: 8px;
  color: #f5f8ff;
  background: rgba(7, 34, 86, 0.88);
  box-shadow: inset 0 0 14px rgba(25, 92, 197, 0.3);
  font-size: 0.66rem;
  letter-spacing: 0.075em;
}

.day-moment span {
  padding: 3px 6px;
  border-radius: 4px;
  color: var(--navy-950);
  background: var(--gold-300);
  font-weight: 900;
}

.day-modifier-card,
.active-campaign-strip {
  display: flex;
  align-items: center;
  width: 100%;
  height: 68px;
  min-height: 68px;
  max-height: 68px;
  flex: 0 0 68px;
  gap: 12px;
  margin: 0;
  padding: 10px 13px;
  overflow: hidden;
  border: 1px solid rgba(77, 148, 255, 0.6);
  border-left: 5px solid #ffca28;
  border-radius: 8px;
  color: #f7faff;
  background: linear-gradient(100deg, rgba(13, 58, 139, 0.92), rgba(7, 25, 64, 0.94));
  box-shadow: 0 7px 18px rgba(0, 7, 27, 0.28), inset 0 0 20px rgba(32, 98, 210, 0.18);
}

.day-modifier-card > span,
.active-campaign-strip > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(255, 219, 92, 0.72);
  border-radius: 7px;
  background: rgba(1, 13, 43, 0.58);
  font-size: 1.35rem;
}

.day-modifier-card div,
.active-campaign-strip div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.day-modifier-card small,
.active-campaign-strip small {
  color: #91bdf8;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.day-modifier-card strong,
.active-campaign-strip strong {
  overflow: hidden;
  color: #ffe374;
  font-size: 0.95rem;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.day-modifier-card p,
.active-campaign-strip p {
  margin: 0;
  overflow: hidden;
  color: #d6e4fb;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.active-campaign-strip {
  border-color: rgba(255, 202, 40, 0.66);
  background: linear-gradient(100deg, rgba(88, 44, 7, 0.94), rgba(15, 34, 87, 0.94));
}

.content-dialog,
.campaign-builder-dialog {
  width: min(940px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 0;
  overflow: auto;
  border-radius: 16px;
  color: #f8fbff;
  background: transparent;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.68);
}

.content-dialog::backdrop,
.campaign-builder-dialog::backdrop {
  background: rgba(1, 5, 16, 0.8);
  backdrop-filter: blur(5px);
}

.content-dialog-shell,
.campaign-builder-shell {
  padding: clamp(18px, 3vw, 30px);
  border: 3px solid #ffca28;
  border-radius: 16px;
  background:
    linear-gradient(rgba(8, 30, 76, 0.97), rgba(3, 14, 39, 0.98)),
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(255,255,255,.025) 4px 5px);
  box-shadow: inset 0 0 0 4px #07122d, inset 0 0 40px rgba(26, 84, 181, 0.28);
}

.content-dialog-shell > header,
.campaign-builder-shell > header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(255, 202, 40, 0.7);
}

.content-dialog-shell h2,
.campaign-builder-shell h2 {
  margin: 3px 0 0;
  color: #fff1b1;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-style: italic;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.content-time {
  display: grid;
  width: 68px;
  height: 50px;
  flex: 0 0 68px;
  place-items: center;
  border: 2px solid #ffca28;
  border-radius: 8px;
  color: #06132e;
  background: #ffcf3d;
  box-shadow: 4px 4px 0 #07132f;
  font-weight: 950;
}

.content-intro {
  margin: 14px 0;
  color: #bed3f3;
}

.content-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.content-choice {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  min-height: 132px;
  padding: 15px;
  border: 2px solid #2d66af;
  border-radius: 10px;
  color: #f7faff;
  text-align: left;
  background: linear-gradient(145deg, #123f82, #071b48);
  box-shadow: 0 5px 0 #020819, inset 0 0 20px rgba(47, 112, 220, 0.18);
  cursor: pointer;
  transition: transform 100ms ease, border-color 100ms ease, filter 100ms ease;
}

.content-choice:hover:not(:disabled),
.content-choice:focus-visible {
  border-color: #ffcf3d;
  filter: brightness(1.16);
  outline: none;
  transform: translateY(-2px);
}

.content-choice:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.content-choice-icon {
  grid-row: 1 / span 3;
  font-size: 1.7rem;
}

.content-choice strong {
  color: #fff1b1;
  font-size: 1rem;
}

.content-choice small {
  color: #c8d8ef;
  line-height: 1.35;
}

.content-choice .choice-impact {
  grid-column: 1 / -1;
  margin-top: 5px;
}

.content-choice .choice-hints {
  grid-column: 2;
  margin-top: 2px;
}

.phone-app-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin: 10px 0;
}

.phone-app-tabs button {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-height: 54px;
  padding: 6px 3px;
  border: 1px solid #244c83;
  border-radius: 7px;
  color: #a9c3e7;
  background: #071a3d;
  font: inherit;
  font-size: 0.61rem;
  font-weight: 850;
  cursor: pointer;
}

.phone-app-tabs button span {
  font-size: 1.1rem;
}

.phone-app-tabs button:hover,
.phone-app-tabs button.is-active {
  border-color: #ffca28;
  color: #06132e;
  background: #ffca28;
}

.phone-pane {
  display: none;
  min-height: 320px;
  overflow: auto;
}

.phone-pane--active {
  display: block;
}

.phone-campaign-status,
.phone-stats-card,
.phone-journal-list {
  display: grid;
  gap: 10px;
}

.campaign-empty,
.campaign-active-card,
.campaign-complete-card,
.phone-stats-card > article,
.phone-journal-item {
  padding: 14px;
  border: 1px solid #2e5f9f;
  border-radius: 9px;
  color: #eaf2ff;
  background: linear-gradient(145deg, #0c2a5d, #061737);
}

.campaign-empty h3,
.campaign-active-card h3,
.campaign-complete-card h3 {
  margin: 0 0 5px;
  color: #ffe276;
  text-transform: uppercase;
}

.campaign-empty p,
.campaign-active-card p,
.campaign-complete-card p {
  margin: 0 0 10px;
  color: #c5d7f0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.campaign-progress {
  height: 9px;
  margin: 9px 0;
  overflow: hidden;
  border: 1px solid #3c6da9;
  border-radius: 99px;
  background: #020a1b;
}

.campaign-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffb818, #ffe16b);
}

.campaign-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 9px 0;
}

.campaign-stat-row span {
  display: grid;
  gap: 2px;
  padding: 7px;
  border-radius: 6px;
  background: rgba(1, 9, 29, 0.64);
  font-size: 0.66rem;
}

.campaign-stat-row strong {
  color: #72e0af;
  font-size: 0.88rem;
}

.phone-primary-action,
.phone-secondary-action {
  width: 100%;
  padding: 10px;
  border: 1px solid #ffca28;
  border-radius: 6px;
  color: #07142e;
  background: #ffca28;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 950;
  cursor: pointer;
}

.phone-secondary-action {
  margin-top: 7px;
  color: #dbe9ff;
  background: #102d61;
}

.phone-primary-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.phone-stats-card > article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.phone-stats-card strong {
  color: #ffe174;
  font-size: 1rem;
}

.phone-stats-card > article small {
  flex: 1 0 100%;
  color: #c7d5eb;
  font-size: 0.65rem;
  line-height: 1.35;
}

.phone-stats-card > article:has(small) {
  flex-wrap: wrap;
}

.phone-journal-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  font-size: 0.73rem;
  line-height: 1.35;
}

.phone-journal-item time {
  color: #ffca28;
  font-weight: 900;
}

.phone-helper-intro {
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid #ffca28;
  border-radius: 8px;
  color: #fff0ad;
  background: #0a2554;
}

.phone-helper-intro p {
  margin: 5px 0 0;
  color: #c5d7f0;
  font-size: 0.73rem;
  line-height: 1.4;
}

.phone-helper-list {
  display: grid;
  gap: 9px;
}

.phone-helper-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 126px;
  overflow: hidden;
  border: 1px solid #2e5f9f;
  border-radius: 9px;
  color: #eaf2ff;
  background: linear-gradient(145deg, #0c2a5d, #061737);
}

.phone-helper-card.is-locked {
  filter: saturate(0.45);
  opacity: 0.68;
}

.phone-helper-card > img {
  width: 100%;
  height: 100%;
  min-height: 126px;
  object-fit: cover;
  object-position: center 22%;
  image-rendering: pixelated;
}

.phone-helper-copy {
  padding: 10px;
}

.phone-helper-copy > small {
  color: #7fe1af;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.phone-helper-card.is-locked .phone-helper-copy > small {
  color: #b8c5d8;
}

.phone-helper-copy h3 {
  margin: 3px 0;
  color: #ffe174;
  font-size: 1rem;
}

.phone-helper-copy p {
  margin: 0 0 6px;
  color: #c5d7f0;
  font-size: 0.7rem;
  line-height: 1.32;
}

.phone-helper-copy button {
  width: 100%;
  margin-top: 7px;
  padding: 8px;
  border: 1px solid #ffca28;
  border-radius: 5px;
  color: #06132e;
  background: #ffca28;
  font: inherit;
  font-size: 0.65rem;
  font-weight: 950;
  cursor: pointer;
}

.phone-helper-copy button:disabled {
  border-color: #4d6380;
  color: #aebbd0;
  background: #172842;
  cursor: not-allowed;
}

.call-choice--ethical-risk {
  border-color: #ff815f;
  background: linear-gradient(105deg, rgba(107, 34, 17, 0.8), rgba(38, 10, 7, 0.97));
}

.outgoing-call-dialog {
  width: min(440px, calc(100vw - 24px));
  padding: 0;
  overflow: hidden;
  border: 4px solid #ffca28;
  border-radius: 22px;
  color: #fff;
  background: #06142f;
  box-shadow: 12px 12px 0 #01040c, 0 0 70px rgba(35, 116, 255, 0.32);
}

.outgoing-call-dialog::backdrop {
  background: rgba(1, 5, 16, 0.86);
  backdrop-filter: blur(5px);
}

.outgoing-call-shell {
  display: grid;
  justify-items: center;
  padding: 24px;
  text-align: center;
}

.outgoing-call-visual {
  position: relative;
  width: 176px;
  height: 176px;
  overflow: hidden;
  border: 4px solid #ffca28;
  border-radius: 50%;
  background: #0d2b60;
  box-shadow: 0 0 0 8px rgba(255, 202, 40, 0.12);
}

.outgoing-call-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  image-rendering: pixelated;
}

.outgoing-call-shell > p {
  margin: 20px 0 5px;
  color: #90b7ee;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.outgoing-call-shell h2 {
  margin: 0 0 7px;
  color: #ffe174;
  font-family: Arial Black, Impact, sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
}

.outgoing-call-shell > span {
  color: #d4e5ff;
  font-size: 0.76rem;
  font-weight: 900;
}

.outgoing-call-dots {
  display: flex;
  gap: 7px;
  margin-top: 16px;
}

.outgoing-call-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #45a3ff;
  animation: outgoing-dot 720ms ease-in-out infinite;
}

.outgoing-call-dots i:nth-child(2) { animation-delay: 120ms; }
.outgoing-call-dots i:nth-child(3) { animation-delay: 240ms; }

@keyframes outgoing-dot {
  50% { opacity: 0.25; transform: translateY(-5px); }
}

.campaign-builder-dialog {
  width: min(1060px, calc(100vw - 22px));
}

.campaign-builder-shell > header {
  justify-content: space-between;
}

.campaign-builder-step {
  margin-top: 17px;
}

.campaign-builder-step h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  color: #fff0a7;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.campaign-builder-step h3 > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 5px;
  color: #06132c;
  background: #ffca28;
}

.campaign-radio-grid,
.campaign-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.campaign-goal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.campaign-channel-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.campaign-radio-grid label,
.campaign-channel-grid label {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 66px;
  padding: 10px 10px 10px 32px;
  border: 1px solid #2d5d9d;
  border-radius: 8px;
  background: #0a2554;
  cursor: pointer;
}

.campaign-radio-grid label:has(input:checked),
.campaign-channel-grid label:has(input:checked) {
  border-color: #ffca28;
  background: #123b7b;
  box-shadow: inset 0 0 18px rgba(49, 113, 223, 0.38);
}

.campaign-radio-grid label:has(input:disabled) {
  opacity: 0.44;
  cursor: not-allowed;
}

.campaign-radio-grid input,
.campaign-channel-grid input {
  position: absolute;
  top: 12px;
  left: 10px;
  accent-color: #ffca28;
}

.campaign-radio-grid strong,
.campaign-channel-grid strong {
  color: #f7faff;
  font-size: 0.78rem;
}

.campaign-radio-grid small,
.campaign-channel-grid small {
  color: #a9c1e3;
  font-size: 0.65rem;
  line-height: 1.3;
}

.campaign-channel-grid label > span {
  font-size: 1.1rem;
}

.campaign-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 10px;
  padding: 13px;
  border: 2px solid #ffca28;
  border-radius: 9px;
  background: rgba(2, 12, 36, 0.78);
}

.campaign-preview > div {
  display: grid;
  gap: 3px;
}

.campaign-preview small {
  color: #8fb6ed;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.campaign-preview strong {
  color: #ffe06b;
  font-size: 1.25rem;
}

.campaign-preview span,
.campaign-builder-message {
  color: #c2d3ec;
  font-size: 0.71rem;
}

.campaign-builder-message {
  min-height: 18px;
  margin: 8px 0;
}

.campaign-builder-message.is-error {
  color: #ff8e95;
}

.campaign-builder-shell > .pixel-btn {
  width: 100%;
}

@media (max-width: 760px) {
  .phone-app-tabs {
    gap: 3px;
  }

  .phone-app-tabs button {
    min-height: 50px;
    font-size: 0.52rem;
  }

  .phone-helper-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .phone-helper-card > img {
    min-height: 120px;
  }

  .day-moment {
    display: none;
  }

  .day-modifier-card,
  .active-campaign-strip {
    padding: 8px 10px;
  }

  .day-modifier-card > span,
  .active-campaign-strip > span {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .content-dialog,
  .campaign-builder-dialog {
    width: calc(100vw - 10px);
    max-height: calc(100dvh - 10px);
  }

  .content-dialog-shell,
  .campaign-builder-shell {
    padding: 14px;
    border-radius: 10px;
  }

  .content-choices,
  .campaign-radio-grid,
  .campaign-goal-grid,
  .campaign-channel-grid {
    grid-template-columns: 1fr;
  }

  .content-choice {
    min-height: 112px;
  }

  .campaign-radio-grid label,
  .campaign-channel-grid label {
    min-height: 56px;
  }

  .campaign-preview {
    grid-template-columns: 1fr;
  }
}
/* === 2026 lichte BitLife-achtige spelupdate === */
:root {
  --light-bg: #f5f4f1;
  --light-card: #ffffff;
  --light-line: #deddd8;
  --light-text: #171717;
  --light-muted: #6e6d68;
  --bender-yellow: #ffc928;
  --bender-blue: #0b2c61;
  --bit-green: #2ea36b;
}

body,
.game-shell {
  background: var(--light-bg);
}

.start-screen {
  background: #030817;
}

.start-stage {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  background: #030817;
}

.start-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-menu {
  inset: auto;
  left: 36.5%;
  top: 50.5%;
  width: 30.5%;
  height: 31%;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 6%;
}

.image-hotspot,
.image-hotspot--start,
.image-hotspot--help,
.image-hotspot--settings {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  border: 3px solid #3d91ff;
  border-radius: 14px;
  background: #0b2c61;
  box-shadow: 0 6px 0 #020814, inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.image-hotspot::before,
.image-hotspot::after {
  display: none;
}

.image-hotspot-label,
.image-hotspot--settings .image-hotspot-label {
  position: static;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0 0.4em;
  color: #fff;
  font-size: clamp(1rem, 2.7vw, 3.35rem);
  line-height: 1;
  letter-spacing: 0.015em;
  text-shadow: 0 3px #020814;
  white-space: nowrap;
}

.image-hotspot--settings .image-hotspot-label {
  font-size: clamp(0.82rem, 2.15vw, 2.7rem);
}

.image-hotspot:hover,
.image-hotspot:focus-visible {
  background: #061b3f;
  border-color: #8fc1ff;
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.game-screen.screen--active {
  background: var(--light-bg);
  color: var(--light-text);
}

.game-screen.screen--active::before,
.game-screen.screen--active::after,
.game-header::before,
.game-header::after {
  display: none;
}

.game-header {
  min-height: 64px;
  background: var(--light-card);
  color: var(--light-text);
  border: 0;
  border-bottom: 1px solid var(--light-line);
  box-shadow: 0 2px 10px rgba(23, 23, 23, 0.05);
}

.compact-logo,
.compact-logo span,
.player-chip,
.player-chip strong,
.player-chip span {
  color: var(--light-text);
  background: transparent;
  text-shadow: none;
  box-shadow: none;
}

.player-chip {
  border: 1px solid var(--light-line);
  border-radius: 999px;
  padding: 8px 18px;
}

.icon-btn {
  width: auto;
  min-width: 54px;
  padding: 0 12px;
  border: 1px solid var(--light-line);
  border-radius: 10px;
  background: #fff;
  color: var(--light-text);
  font-size: 0.7rem;
  box-shadow: none;
}

.game-layout {
  background: var(--light-bg);
  color: var(--light-text);
  gap: 18px;
  padding: 18px;
}

.campaign-panel,
.action-panel {
  background: transparent;
  color: var(--light-text);
  border: 0;
  box-shadow: none;
}

.campaign-panel {
  background: #fff;
  border: 1px solid var(--light-line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(23, 23, 23, 0.06);
}

.campaign-panel::before,
.campaign-panel::after,
.action-panel::before,
.action-panel::after {
  display: none;
}

.game-screen .eyebrow,
.day-block strong,
.phase-badge,
.action-intro h2,
.action-card h3,
.news-heading h3,
.day-modifier-card strong,
.active-campaign-strip strong {
  color: var(--light-text);
  text-shadow: none;
}

.action-intro h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.day-track,
.meter {
  background: #ecebe7;
  border: 0;
  box-shadow: none;
}

.stat-card,
.hidden-votes {
  background: #faf9f7;
  border: 1px solid #e6e4df;
  color: var(--light-text);
  box-shadow: none;
}

.stat-heading span,
.stat-heading strong,
.hidden-votes small,
.hidden-votes strong {
  color: var(--light-text);
}

.meter span,
.day-track span {
  background: var(--bit-green);
  box-shadow: none;
}

.day-track span,
.meter--money span {
  background: var(--bender-yellow);
}

.day-moment,
.trend-signal,
.phone-boost-indicator,
.streak-badge {
  background: #fff;
  color: var(--light-text);
  border: 1px solid var(--light-line);
  border-radius: 999px;
  box-shadow: none;
}

.streak-badge {
  padding: 8px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #9a5500;
  background: #fff5cf;
  border-color: #f0d163;
}

.day-modifier-card,
.active-campaign-strip {
  background: #fff9df;
  color: var(--light-text);
  border: 1px solid #ead37a;
  border-left: 5px solid var(--bender-yellow);
  border-radius: 14px;
  box-shadow: none;
}

.day-modifier-card > span,
.active-campaign-strip > span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #e4d28b;
  border-radius: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
}

.action-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.action-card {
  min-height: 156px;
  padding: 18px;
  background: #fff;
  color: var(--light-text);
  border: 1px solid var(--light-line);
  border-left: 5px solid var(--card-accent, var(--bender-yellow));
  border-radius: 16px;
  box-shadow: 0 5px 16px rgba(23, 23, 23, 0.06);
}

.action-card:hover:not(:disabled),
.action-card:focus-visible {
  background: #fffdf4;
  border-color: #d3b74b;
  box-shadow: 0 9px 22px rgba(23, 23, 23, 0.1);
  transform: translateY(-2px);
}

.action-card:disabled {
  background: #efefed;
  color: #8b8a85;
  opacity: 0.72;
}

.action-number {
  color: var(--light-muted);
  opacity: 0.72;
}

.action-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0 4px;
  background: #f4f4f1;
  color: var(--bender-blue);
  border: 1px solid #d8d8d3;
  border-radius: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  box-shadow: none;
}

.action-card p,
.day-modifier-card p,
.active-campaign-strip p,
.news-item span {
  color: #52514d;
}

.effect-chip,
.impact-chip {
  background: #f0f0ed;
  color: #44433f;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
}

.effect-chip--cost,
.impact-chip--bad {
  background: #fff0ef;
  color: #a3342e;
}

.effect-chip--good,
.impact-chip--good {
  background: #e9f7ef;
  color: #21774e;
}

.news-desk {
  background: #fff;
  color: var(--light-text);
  border: 1px solid var(--light-line);
  border-radius: 16px;
  box-shadow: none;
}

.news-heading,
.news-item {
  background: #fff;
  border-color: #e9e8e4;
}

.news-item time,
.news-heading span {
  color: var(--light-muted);
}

.floating-phone {
  background: var(--bender-yellow);
  color: #111;
  border: 2px solid #111;
  border-radius: 16px;
  box-shadow: 0 6px 0 #111;
}

.phone-dialog,
.campaign-builder-dialog,
.event-dialog,
.day-report-dialog,
.live-event-dialog {
  color: var(--light-text);
}

.phone-shell,
.campaign-builder-shell,
.event-dialog,
.day-report-shell {
  background: #fff;
  color: var(--light-text);
  border-color: #d9d8d3;
  box-shadow: 0 18px 60px rgba(15, 20, 30, 0.22);
}

.phone-header,
.phone-status,
.phone-app-tabs,
.phone-shell footer {
  background: #fff;
  color: var(--light-text);
  border-color: #e7e6e1;
}

.phone-app-tabs {
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.phone-app-tabs button {
  background: #f2f2ef;
  color: #4e4d49;
  border: 0;
  border-radius: 9px;
}

.phone-app-tabs button.is-active {
  background: var(--bender-yellow);
  color: #111;
}

.gear-intro {
  display: grid;
  gap: 5px;
  padding: 14px;
  background: #fff8db;
  border: 1px solid #ead37a;
  border-radius: 13px;
}

.gear-intro p,
.gear-intro span {
  margin: 0;
  color: #5f5b4d;
  font-size: 0.78rem;
}

.gear-group h3 {
  margin: 18px 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gear-list {
  display: grid;
  gap: 8px;
}

.gear-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: #fff;
  border: 1px solid #deddd8;
  border-radius: 13px;
}

.gear-card.is-equipped {
  border-color: #39a46f;
  background: #f1fbf5;
}

.gear-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f0f0ed;
  color: #173d75;
  font-size: 0.65rem;
  font-weight: 900;
}

.gear-card h4,
.gear-card p,
.gear-card em {
  margin: 0;
}

.gear-card p,
.gear-card em,
.gear-card small {
  color: #6b6963;
  font-size: 0.68rem;
  font-style: normal;
}

.gear-card button {
  max-width: 128px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: var(--bender-yellow);
  color: #111;
  font-size: 0.65rem;
  font-weight: 900;
}

.gear-card button:disabled {
  background: #e7e6e2;
  color: #87857f;
}

.campaign-builder-shell {
  max-width: 760px;
}

.campaign-builder-dialog {
  width: min(780px, 95vw);
  max-width: 780px;
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 18px;
  overflow-x: hidden;
}

.campaign-builder-dialog::backdrop {
  background: rgba(7, 16, 30, 0.72);
}

.campaign-builder-shell {
  width: 100%;
  padding: 20px;
}

.campaign-builder-shell header h2 {
  margin: 2px 0 0;
  color: #171717;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.65rem;
  font-style: normal;
  letter-spacing: -0.03em;
  text-shadow: none;
}

.campaign-builder-step,
.campaign-preview {
  background: #faf9f7;
  color: var(--light-text);
  border: 1px solid #e3e2dd;
  box-shadow: none;
}

.campaign-builder-step {
  padding: 10px;
}

.campaign-builder-step h3,
.campaign-builder-step h3 span,
.campaign-radio-grid label strong,
.campaign-radio-grid label small,
.campaign-preview small,
.campaign-preview strong,
.campaign-preview span {
  color: #171717;
  text-shadow: none;
}

.campaign-radio-grid label small,
.campaign-preview span {
  color: #686661;
}

.campaign-builder-step h3 {
  margin: 0 0 8px;
  font-size: 0.76rem;
}

.campaign-builder-step h3 span {
  background: var(--bender-yellow);
}

.campaign-name-step input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #c9c8c3;
  border-radius: 10px;
  background: #fff;
  color: #171717;
  font: inherit;
  font-weight: 700;
}

.campaign-package-grid,
.campaign-duration-grid,
.campaign-goal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.campaign-radio-grid label,
.campaign-channel-grid label {
  background: #fff;
  color: var(--light-text);
  border: 1px solid #dcdad4;
  box-shadow: none;
}

.campaign-radio-grid label:has(input:checked),
.campaign-channel-grid label:has(input:checked) {
  background: #fff7d6;
  border-color: #d5af1f;
}

#contentDialog {
  display: none !important;
}

.video-builder-dialog {
  width: min(900px, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  color: #171717;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(7, 16, 30, 0.34);
}

.video-builder-dialog::backdrop {
  background: rgba(7, 16, 30, 0.74);
  backdrop-filter: blur(5px);
}

.video-builder-dialog[open] {
  animation: dialog-in 220ms ease-out both;
}

.video-builder-shell {
  display: grid;
  gap: 13px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(90deg, var(--bender-yellow), #ffe27a) top / 100% 9px no-repeat,
    #ffffff;
}

.video-builder-shell > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 0 2px;
}

.video-builder-shell > header h2 {
  margin: 3px 0 5px;
  color: #111b30;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-style: normal;
  letter-spacing: -0.045em;
  text-shadow: none;
}

.video-builder-shell > header p:not(.eyebrow) {
  margin: 0;
  color: #696761;
  font-size: 0.72rem;
  line-height: 1.45;
}

.video-builder-step {
  padding: 12px;
  border: 1px solid #e2e1dc;
  border-radius: 12px;
  background: #faf9f6;
}

.video-builder-step h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  color: #171717;
  font-size: 0.78rem;
}

.video-builder-step h3 span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  background: var(--bender-yellow);
  font-size: 0.68rem;
}

.video-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.video-option-grid label {
  position: relative;
  display: grid;
  min-height: 76px;
  align-content: center;
  gap: 4px;
  padding: 11px 12px 11px 34px;
  border: 2px solid #deddd8;
  border-radius: 11px;
  color: #171717;
  background: #ffffff;
  cursor: pointer;
}

.video-option-grid label:has(input:checked) {
  border-color: #1268ce;
  background: #eef6ff;
  box-shadow: inset 0 0 0 1px #1268ce;
}

.video-option-grid input {
  position: absolute;
  top: 14px;
  left: 12px;
  accent-color: #1268ce;
}

.video-option-grid strong,
.video-option-grid small {
  display: block;
}

.video-option-grid strong {
  font-size: 0.74rem;
}

.video-option-grid small {
  color: #6b6963;
  font-size: 0.61rem;
  font-weight: 700;
  line-height: 1.35;
}

.video-builder-preview {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border-left: 5px solid var(--bender-yellow);
  border-radius: 9px;
  background: #eef5ff;
}

.video-builder-preview > small {
  color: #8d6500;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.video-builder-preview > strong {
  color: #0a2b61;
  font-size: 0.82rem;
}

.video-builder-preview > p {
  margin: 0;
  color: #565b64;
  font-size: 0.68rem;
  line-height: 1.42;
}

.video-builder-preview .choice-impact {
  margin-top: 4px;
}

.video-builder-shell > .pixel-btn {
  position: sticky;
  z-index: 3;
  bottom: 0;
  justify-self: end;
  min-width: 220px;
  box-shadow: inset 0 0 0 3px rgba(4, 13, 34, 0.58), 0 6px 0 var(--shadow), 0 -10px 22px #ffffff;
}

@media (max-width: 700px) {
  .video-builder-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 15px;
  }

  .video-builder-shell {
    gap: 10px;
    padding: 16px 13px;
  }

  .video-option-grid {
    grid-template-columns: 1fr;
  }

  .video-option-grid label {
    min-height: 58px;
  }

  .video-builder-shell > .pixel-btn {
    width: 100%;
    justify-self: stretch;
  }
}

.live-event-dialog {
  width: min(980px, 94vw);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(8, 18, 32, 0.28);
  overflow: hidden;
}

.live-event-dialog::backdrop {
  background: rgba(7, 16, 30, 0.72);
  backdrop-filter: blur(4px);
}

.live-event-shell {
  display: grid;
  grid-template-columns: minmax(280px, 44%) 1fr;
  min-height: 540px;
}

.live-event-visual {
  position: relative;
  min-height: 100%;
  background: #111;
  overflow: hidden;
}

.live-event-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 7px;
  background: #e52645;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: liveBlink 1s steps(2, end) infinite;
}

.live-event-chat {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 6px;
}

.live-event-chat span {
  width: fit-content;
  max-width: 90%;
  padding: 7px 9px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.live-event-copy {
  display: flex;
  flex-direction: column;
  padding: 34px;
}

.live-event-copy h2 {
  margin: 8px 0 10px;
  color: #171717;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.live-event-copy > p:not(.eyebrow) {
  color: #55534e;
  line-height: 1.55;
}

.live-event-question {
  margin-top: auto;
  font-weight: 800;
  color: #171717 !important;
}

.live-event-choices {
  display: grid;
  gap: 9px;
}

.live-event-choice {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  text-align: left;
  border: 1px solid #d9d8d3;
  border-radius: 12px;
  background: #fff;
  color: #171717;
}

.live-event-choice > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--bender-yellow);
  font-weight: 900;
}

.live-event-choice:hover,
.live-event-choice:focus-visible {
  border-color: #bea022;
  background: #fff9df;
}

.live-event-copy > small {
  margin-top: 12px;
  color: #77746e;
}

@keyframes liveBlink { 50% { opacity: 0.25; } }

@media (max-width: 900px) {
  .action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-event-shell { grid-template-columns: 1fr; }
  .live-event-visual { min-height: 250px; max-height: 300px; }
  .live-event-copy { padding: 22px; }
  .campaign-package-grid,
  .campaign-duration-grid,
  .campaign-goal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .game-layout { padding: 10px; }
  .campaign-panel { border-radius: 12px; }
  .action-grid { grid-template-columns: 1fr; }
  .gear-card { grid-template-columns: 42px 1fr; }
  .gear-card button { grid-column: 1 / -1; max-width: none; }
  .image-menu { left: 31%; width: 38%; }
}

.meter--manager span {
  background: #5b71d6;
}

.stat-card--manager {
  border-color: #d8dcf2;
  background: #f6f7ff;
}

.identity-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #f0f5ff;
  color: var(--light-text);
  border: 1px solid #b9c9e9;
  border-left: 5px solid #4169a8;
  border-radius: 14px;
}

.identity-card[hidden] { display: none; }

.identity-card > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #173c72;
  color: #fff;
  font-weight: 900;
}

.identity-card small,
.identity-card strong,
.identity-card p {
  display: block;
  margin: 0;
}

.identity-card small { color: #607498; font-size: 0.63rem; letter-spacing: 0.12em; }
.identity-card p { color: #52627c; font-size: 0.76rem; }

.army-intro,
.hq-phone-intro {
  display: grid;
  gap: 6px;
  padding: 15px;
  background: #f0f5ff;
  border: 1px solid #b9c9e9;
  border-radius: 14px;
}

.army-intro > strong { font-size: 2rem; }
.army-intro > div { height: 8px; overflow: hidden; border-radius: 999px; background: #dfe4ed; }
.army-intro > div i { display: block; height: 100%; background: #4169a8; }
.army-intro p,
.hq-phone-intro p { margin: 0; color: #5f6673; font-size: 0.78rem; }

.army-list,
.hq-shop-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.army-card,
.hq-shop-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 11px;
  background: #fff;
  border: 1px solid #deddd8;
  border-radius: 13px;
}

.army-card > span,
.hq-shop-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #efefec;
  color: #193d72;
  font-size: 0.62rem;
  font-weight: 900;
  text-align: center;
}

.army-card h3,
.army-card p,
.hq-shop-card h3,
.hq-shop-card p { margin: 0; }
.army-card p,
.hq-shop-card p { color: #696762; font-size: 0.72rem; }
.army-card small,
.hq-shop-card small { color: #77746e; font-size: 0.62rem; }

.army-card button,
.hq-shop-card button {
  grid-column: 1 / -1;
  padding: 9px;
  border: 0;
  border-radius: 8px;
  background: var(--bender-yellow);
  color: #111;
  font-size: 0.67rem;
  font-weight: 900;
}

.army-card button:disabled,
.hq-shop-card button:disabled { background: #e8e7e3; color: #898781; }
.army-card.is-active { background: #effaf4; border-color: #71ba90; }
.hq-shop-card.is-built { background: #fff9df; border-color: #d7bf5c; }

.army-complete {
  margin-top: 12px;
  padding: 14px;
  border-radius: 13px;
  background: #173d72;
  color: #fff;
  text-align: center;
}
.army-complete p { margin: 4px 0 0; color: #d7e4fa; font-size: 0.75rem; }

.hq-room {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 92px;
  padding: 12px 14px;
  overflow: hidden;
  background: #e9e7e1;
  border: 1px solid #d2d0c9;
  border-radius: 15px;
}

.hq-room::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24px;
  background: #c9bca8;
}

.hq-room.is-built { background: #e9edf3; }
.hq-room.is-complete { box-shadow: inset 0 0 0 2px #e4bd1e; }

.hq-room-title {
  position: absolute;
  top: 10px;
  left: 14px;
  z-index: 2;
}
.hq-room-title small,
.hq-room-title strong { display: block; }
.hq-room-title small { color: #7e7c76; font-size: 0.55rem; letter-spacing: 0.12em; }
.hq-room-title strong { font-size: 0.78rem; }

.hq-object {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 68px;
  height: 36px;
  padding: 4px 7px;
  border: 1px solid #4d5360;
  border-radius: 5px;
  background: #fff;
  color: #252a34;
  font-size: 0.52rem;
  font-weight: 900;
}
.hq-object[hidden] { display: none; }
.hq-object--desk { width: 95px; background: #b98b5c; }
.hq-object--screens { height: 48px; background: #193d72; color: #fff; }
.hq-object--neon { height: 52px; color: #ffc928; background: #101725; text-shadow: 0 0 7px #ffc928; }
.hq-object--coffee { background: #ece8dd; }
.hq-object--editing { height: 45px; background: #292f3a; color: #fff; }
.hq-object--awards { height: 52px; background: #fff5c9; }
.hq-object--war-room { min-width: 105px; border-radius: 50%; background: #7c634e; color: #fff; }

.hq-empty {
  position: relative;
  z-index: 1;
  margin: 30px 0 0;
  color: #73716c;
  font-size: 0.72rem;
}

/* Houd het witte dagrapport ook bij veel tekst goed leesbaar. */
.day-report-shell .day-report-header h2 {
  color: #17191d;
}

.day-report-shell .eyebrow,
.day-report-shell .day-report-legend,
.day-report-shell .day-report-footer p {
  color: #5d6570;
}

.day-report-shell .day-report-summary {
  color: #263341;
  background: #eef5ff;
  border-left-color: var(--bender-yellow);
}

/* BENDER-sitegevoel: wit, helder, Inter-achtig en geel als enige hoofdkleur. */
:root {
  --bender-accent: #ffc800;
  --bender-accent-hover: #ffd633;
  --bender-ink: #11110f;
  --bender-secondary: #686864;
  --bender-surface: #ffffff;
  --bender-page: #f7f7f4;
  --bender-border: #e5e4df;
  --bender-radius: 16px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.game-screen.screen--active,
.hq-screen.screen--active {
  background-color: var(--bender-page);
  background-image:
    linear-gradient(rgba(255, 200, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 200, 0, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  color: var(--bender-ink);
}

body[data-screen="game"] .game-shell::after,
body[data-screen="hq"] .game-shell::after {
  opacity: 0;
}

.game-header {
  overflow: visible;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(18px);
}

.icon-btn,
.phone-primary-action,
.phone-secondary-action,
.hq-back-button,
.hq-space-card button,
.campaign-builder-shell > .pixel-btn {
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

#soundButton,
#musicButton {
  width: auto;
  min-width: 104px;
  padding: 0 15px;
  font-size: 0.67rem;
}

.audio-control.is-off {
  border-color: #d5d8dd;
  color: #767b84;
  background: #eceef1;
}

.music-volume-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 60px;
  z-index: 90;
  width: 270px;
  padding: 16px;
  border: 1px solid #d4d7dc;
  border-radius: 16px;
  color: #171b22;
  background: #fff;
  box-shadow: 0 18px 48px rgba(18, 28, 43, 0.2);
}

.music-volume-panel[hidden] { display: none; }

.music-volume-heading,
.music-volume-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.music-volume-heading {
  margin-bottom: 12px;
  font-size: 0.7rem;
}

.music-volume-heading span {
  color: #174f97;
  font-size: 0.85rem;
  font-weight: 950;
}

.music-volume-panel input[type="range"] {
  width: 100%;
  height: 24px;
  margin: 0;
  accent-color: #174f97;
  cursor: pointer;
}

.music-volume-scale {
  margin-top: 2px;
  color: #858a92;
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.music-mute-button {
  width: 100%;
  min-height: 36px;
  margin-top: 13px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #0b2d61;
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 900;
}

.music-mute-button:hover,
.music-mute-button:focus-visible {
  background: #174f97;
}

@media (max-width: 620px) {
  .game-header {
    flex-wrap: wrap;
    overflow: visible;
  }

  .compact-logo {
    max-width: calc(100% - 118px);
  }

  .header-actions {
    width: 100%;
  }

  .music-volume-panel {
    right: 0;
    left: 0;
    width: 100%;
  }

  #soundButton,
  #musicButton {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 7px;
    font-size: 0.58rem;
  }
}

@property --campaign-mood-hue {
  syntax: "<number>";
  inherits: true;
  initial-value: 32;
}

@property --campaign-mood-strength {
  syntax: "<number>";
  inherits: true;
  initial-value: 9;
}

@property --campaign-mood-spread {
  syntax: "<number>";
  inherits: true;
  initial-value: 14;
}

.game-screen.screen--active {
  --campaign-mood-hue: 30;
  --campaign-mood-strength: 9;
  --campaign-mood-spread: 14;
  transition:
    --campaign-mood-hue 850ms ease,
    --campaign-mood-strength 850ms ease,
    --campaign-mood-spread 850ms ease;
}

.game-screen.screen--active .game-layout {
  background:
    radial-gradient(
      ellipse calc(52% + var(--campaign-mood-spread) * 0.65%) calc(46% + var(--campaign-mood-spread) * 0.5%) at 88% 10%,
      hsl(var(--campaign-mood-hue) 94% 47% / calc(var(--campaign-mood-strength) * 1%)),
      transparent 72%
    ),
    radial-gradient(
      ellipse calc(48% + var(--campaign-mood-spread) * 0.58%) calc(42% + var(--campaign-mood-spread) * 0.45%) at 12% 96%,
      hsl(var(--campaign-mood-hue) 90% 50% / calc(var(--campaign-mood-strength) * 0.78%)),
      transparent 74%
    ),
    radial-gradient(
      ellipse calc(34% + var(--campaign-mood-spread) * 0.38%) calc(30% + var(--campaign-mood-spread) * 0.34%) at 50% 52%,
      hsl(var(--campaign-mood-hue) 92% 51% / calc(var(--campaign-mood-strength) * 0.38%)),
      transparent 76%
    ),
    linear-gradient(#f8f8f5, #f3f4f1);
  transition: background 850ms ease;
}

.phone-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.phone-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid #deddd8;
  border-radius: 999px;
  background: #f5f5f2;
  color: #222;
  font-size: 0.65rem;
  font-weight: 800;
  cursor: pointer;
}

.phone-back:hover,
.phone-back:focus-visible {
  background: var(--bender-accent);
  border-color: var(--bender-accent);
}

.phone-app-tabs button {
  min-height: 42px;
  border-radius: 999px;
}

.phone-app-tabs button:hover {
  background: #fff5c5;
  color: #111;
}

.hq-phone-entrance {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid #ead168;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 200, 0, 0.22), transparent 38%),
    #fffdf4;
}

.hq-phone-entrance > small {
  color: #9c7200;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hq-phone-entrance > strong { font-size: 1.15rem; }
.hq-phone-entrance p { margin: 0; color: #61615d; line-height: 1.5; }
.hq-phone-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.hq-phone-stats span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e7e3d3;
  font-size: 0.68rem;
  font-weight: 800;
}
.hq-phone-coffee { padding: 9px 11px; border-left: 3px solid var(--bender-accent); background: #fff; }

/* Volwaardige, aparte HQ-ruimte. */
.hq-screen {
  overflow: auto;
  color: var(--bender-ink);
}

.hq-screen.screen--active { display: block; }

.hq-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid var(--bender-border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
}

.hq-brand { display: flex; align-items: center; gap: 11px; }
.hq-brand > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--bender-accent);
  color: #000;
  font-size: 1.25rem;
  font-weight: 900;
}
.hq-brand small,
.hq-brand strong { display: block; }
.hq-brand small { color: #77746d; font-size: 0.57rem; letter-spacing: 0.16em; }
.hq-brand strong { font-size: 0.9rem; }

.hq-back-button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  background: var(--bender-accent);
  color: #000;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hq-back-button:hover { transform: scale(1.03); box-shadow: 0 8px 26px rgba(255, 200, 0, 0.28); }

.hq-page {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.75fr);
  gap: 24px;
  width: min(1500px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.hq-room-stage,
.hq-upgrade-panel {
  border: 1px solid var(--bender-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(25, 25, 20, 0.07);
}

.hq-room-stage { padding: clamp(20px, 3vw, 34px); }
.hq-room-heading { max-width: 700px; margin-bottom: 22px; }
.hq-room-heading .eyebrow { margin: 0 0 8px; color: #a37600; font-size: 0.7rem; letter-spacing: 0.16em; }
.hq-room-heading h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 3.1rem); line-height: 1; letter-spacing: -0.045em; }
.hq-room-heading > p:last-child { max-width: 650px; margin: 13px 0 0; color: var(--bender-secondary); }

.hq-scene {
  position: relative;
  min-height: clamp(350px, 51vh, 570px);
  overflow: hidden;
  border: 1px solid #ddd9ca;
  border-radius: 20px;
  background:
    linear-gradient(180deg, transparent 0 69%, rgba(0, 0, 0, 0.035) 69% 70%, transparent 70%),
    linear-gradient(180deg, #fffdf5 0 70%, #d9d0bd 70% 100%);
}

.hq-scene::before {
  position: absolute;
  inset: 0 0 30%;
  content: "";
  background-image: radial-gradient(circle, rgba(255, 200, 0, 0.17) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
}

.hq-scene.is-complete { box-shadow: inset 0 0 0 3px var(--bender-accent), 0 0 34px rgba(255, 200, 0, 0.2); }

.hq-window {
  position: absolute;
  top: 9%;
  left: 6%;
  display: flex;
  gap: 5px;
  width: 28%;
  height: 28%;
  padding: 10px;
  border: 6px solid #252521;
  border-radius: 7px;
  background: linear-gradient(145deg, #d9efff, #fcf6cf);
}
.hq-window i { flex: 1; border-right: 2px solid rgba(20, 20, 20, 0.22); }

.hq-wall-logo {
  position: absolute;
  top: 9%;
  right: 9%;
  color: #111;
  font-size: clamp(1.2rem, 3vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  text-shadow: 0 0 10px #ffc800, 0 0 24px #ffc800;
}

.hq-awards-wall {
  position: absolute;
  top: 23%;
  right: 10%;
  display: flex;
  gap: 6px;
}
.hq-awards-wall span { display: grid; width: 42px; height: 54px; place-items: center; border: 4px solid #20201e; background: #fff0a5; color: #b68100; }

.hq-scene-object { position: absolute; z-index: 2; color: #fff; font-size: 0.68rem; font-weight: 900; text-align: center; }
.hq-scene-object--desk { left: 9%; bottom: 14%; width: 38%; height: 16%; padding-top: 18px; border-radius: 6px 6px 0 0; background: #a46f3d; box-shadow: 0 12px 0 #68401f; }
.hq-scene-object--screens { left: 20%; bottom: 31%; display: flex; width: 26%; height: 19%; align-items: flex-end; justify-content: space-evenly; padding: 9px; border: 5px solid #242526; border-radius: 8px; background: #172e50; }
.hq-scene-object--screens b { position: absolute; top: 8px; left: 10px; color: #ffc800; }
.hq-scene-object--screens i { width: 36%; height: 45%; border-radius: 3px; background: linear-gradient(160deg, #ffc800 0 35%, #46a8d9 35% 62%, #76d89b 62%); }
.hq-scene-object--editing { right: 25%; bottom: 18%; width: 22%; height: 19%; padding: 15px; border: 5px solid #252627; border-radius: 8px; background: #344052; }
.hq-scene-object--editing span { display: block; height: 55%; margin-top: 8px; background: linear-gradient(90deg, #ffc800 40%, #fff 40% 44%, #57a7db 44%); }
.hq-scene-object--coffee { right: 5%; bottom: 15%; width: 15%; min-width: 88px; height: 28%; padding-top: 22px; border: 5px solid #272725; border-radius: 12px 12px 5px 5px; background: #e9e7df; color: #222; box-shadow: inset 0 -18px #b7b2a6; }
.hq-scene-object--coffee::before { content: ""; position: absolute; top: 52%; left: 27%; width: 46%; height: 19%; border: 3px solid #222; border-radius: 3px 3px 12px 12px; background: #ffc800; }
.hq-scene-object--coffee[data-tier="2"] { background: #d8dbe0; box-shadow: inset 0 -18px #80858f; }
.hq-scene-object--coffee[data-tier="3"] { border-color: #111; background: #ffc800; box-shadow: inset 0 -18px #d99a00, 0 0 22px rgba(255, 200, 0, 0.35); }
.hq-scene-object--war-room { left: 48%; bottom: 6%; display: grid; width: 28%; height: 18%; place-items: center; border-radius: 50%; background: #6f5037; box-shadow: 0 13px 0 #3c2b20; }

.hq-scene-empty {
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: min(420px, 80%);
  margin: 0;
  padding: 14px 17px;
  transform: translateX(-50%);
  border: 1px dashed #b7ae94;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: #666158;
  text-align: center;
}

.hq-room-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.hq-room-stats article { padding: 13px 15px; border: 1px solid var(--bender-border); border-radius: 14px; background: #fafaf7; }
.hq-room-stats small,
.hq-room-stats strong { display: block; }
.hq-room-stats small { color: #77746d; font-size: 0.56rem; letter-spacing: 0.08em; }
.hq-room-stats strong { margin-top: 5px; font-size: 1rem; }

.hq-upgrade-panel { align-self: start; max-height: calc(100vh - 116px); overflow: hidden; }
.hq-shop-heading { padding: 22px 22px 16px; border-bottom: 1px solid var(--bender-border); }
.hq-shop-heading small { color: #a37600; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.15em; }
.hq-shop-heading h3 { margin: 4px 0 6px; font-size: 1.45rem; letter-spacing: -0.035em; }
.hq-shop-heading p { margin: 0; color: var(--bender-secondary); font-size: 0.76rem; line-height: 1.45; }
.hq-space-shop { display: grid; gap: 9px; max-height: calc(100vh - 285px); padding: 14px; overflow: auto; }
.hq-space-card { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 11px; padding: 13px; border: 1px solid var(--bender-border); border-radius: 15px; background: #fff; }
.hq-space-card.is-built { background: #f7f7f3; }
.hq-space-card.is-active { border-color: #d8b72c; background: #fffaf0; }
.hq-space-card-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: #f1f1ed; color: #222; font-size: 0.59rem; font-weight: 900; }
.hq-space-card.is-active .hq-space-card-icon { background: var(--bender-accent); }
.hq-space-card small { color: #8a857b; font-size: 0.53rem; font-weight: 800; letter-spacing: 0.07em; }
.hq-space-card h4 { margin: 3px 0 5px; font-size: 0.88rem; }
.hq-space-card p { margin: 0; color: #65615b; font-size: 0.68rem; line-height: 1.4; }
.hq-space-card em { display: inline-block; margin-top: 6px; color: #247747; font-size: 0.64rem; font-style: normal; font-weight: 800; }
.hq-space-card button { grid-column: 1 / -1; min-height: 34px; border: 0; background: var(--bender-accent); color: #111; font-size: 0.65rem; cursor: pointer; }
.hq-space-card button:hover:not(:disabled) { background: var(--bender-accent-hover); }
.hq-space-card button:disabled { background: #ecebe6; color: #89867e; cursor: not-allowed; }

@media (max-width: 980px) {
  .hq-page { grid-template-columns: 1fr; }
  .hq-upgrade-panel { max-height: none; }
  .hq-space-shop { max-height: none; }
}

@media (max-width: 620px) {
  .hq-topbar { align-items: stretch; flex-direction: column; }
  .hq-back-button { width: 100%; }
  .hq-page { width: min(100% - 20px, 760px); padding-top: 12px; }
  .hq-room-stage { padding: 15px; }
  .hq-scene { min-height: 390px; }
  .hq-room-stats { grid-template-columns: 1fr; }
  .phone-back span { display: none; }
  .phone-header { gap: 7px; }
}

/* De hoofdinterface toont bewust alleen de vier cijfers die dagelijks nodig zijn. */
.stat-card--advanced {
  display: none;
}

.hidden-votes {
  display: none;
}

.day-report-video {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 12px 0;
  padding: 14px 16px;
  border: 2px solid #2873ce;
  border-left: 7px solid #ffca28;
  border-radius: 12px;
  color: #0a2348;
  background: linear-gradient(100deg, #edf6ff, #fff9df);
}

.day-report-video[hidden] {
  display: none;
}

.day-report-video-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  color: #fff;
  background: #164f9c;
  box-shadow: 4px 4px 0 #ffca28;
}

.day-report-video small,
.day-report-video strong,
.day-report-video p {
  display: block;
  margin: 0;
}

.day-report-video small {
  color: #54708f;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.day-report-video strong {
  margin-top: 3px;
  font-size: 0.92rem;
}

.day-report-video p {
  margin-top: 3px;
  color: #164f9c;
  font-size: 1.35rem;
  font-weight: 950;
}

.manager-trust-panel {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #cbd4ef;
  border-left: 5px solid #5b71d6;
  border-radius: 14px;
  background: #f6f7ff;
}

.manager-trust-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.manager-trust-heading small,
.manager-trust-heading strong {
  display: block;
}

.manager-trust-heading small {
  margin-bottom: 3px;
  color: #707994;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.manager-trust-heading > strong {
  color: #334aa4;
  font-size: 1rem;
}

.manager-trust-panel p {
  margin: 0;
  color: #5f6574;
  font-size: 0.66rem;
  line-height: 1.35;
}

.manager-trust-panel.is-warning {
  border-color: #e69393;
  border-left-color: #cc3e45;
  background: #fff5f5;
}

.manager-trust-panel.is-warning .manager-trust-heading > strong {
  color: #b3262e;
}

/* De telefoon is een volledig ondoorzichtige, zelfstandig scrollende laag. */
.phone-dialog[open] {
  position: fixed;
  inset: 0;
  margin: auto;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  overscroll-behavior: contain;
}

.phone-dialog::backdrop {
  background: rgba(8, 10, 14, 0.94);
  backdrop-filter: blur(3px);
}

.phone-shell {
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  min-height: 0;
  background: #fff;
}

.phone-header { grid-row: 1; }
.phone-status { grid-row: 2; }
.phone-app-tabs { grid-row: 3; }

.phone-pane {
  grid-row: 4;
  grid-column: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 12px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #f7f7f4;
}

.phone-shell > footer {
  grid-row: 5;
}

body:has(.phone-dialog[open]) {
  overflow: hidden;
}

body:has(.phone-dialog[open]) .floating-phone {
  visibility: hidden;
}

/* Kort, vast en scanbaar dagrapport. */
.day-report-summary {
  display: grid;
  gap: 7px;
  padding: 12px 14px;
}

.day-report-summary > span {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.day-report-summary strong {
  color: #765a00;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.day-report-summary em {
  color: #263341;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 650;
  line-height: 1.35;
}

.day-report-manager-trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid #cbd4ef;
  border-left: 6px solid #5b71d6;
  border-radius: 12px;
  background: #f6f7ff;
}

.day-report-manager-trust[hidden] {
  display: none;
}

.day-report-manager-trust small,
.day-report-manager-trust strong,
.day-report-manager-trust span {
  display: block;
}

.day-report-manager-trust small {
  color: #737c98;
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.day-report-manager-trust strong {
  margin: 2px 0;
  color: #202942;
  font-size: 0.8rem;
}

.day-report-manager-trust span {
  color: #697083;
  font-size: 0.66rem;
}

.day-report-manager-trust b {
  min-width: 55px;
  padding: 8px;
  border-radius: 8px;
  background: #5ee6a0;
  color: #061124;
  text-align: center;
}

.day-report-manager-trust--down {
  border-color: #efb4b4;
  border-left-color: #df555b;
  background: #fff5f5;
}

.day-report-manager-trust--down b {
  background: #ff7b7b;
}

.day-report-change {
  min-height: 64px;
  border-color: #e2e5e9;
  background: #fff;
  box-shadow: inset 5px 0 0 #4d9cff;
}

.day-report-change-copy strong {
  color: #202631;
}

.day-report-change-copy small {
  color: #727b88;
}

.day-report-change-icon {
  border-color: #e2e5e9;
  background: #f2f4f7;
}

@media (max-width: 640px) {
  .phone-dialog {
    width: calc(100vw - 10px);
    height: calc(100dvh - 10px);
    border-width: 5px;
    border-radius: 20px;
  }

  .phone-header {
    padding: 12px 10px 9px;
  }

  .phone-header h2 {
    font-size: 1.15rem;
  }

  .phone-status {
    padding: 8px 12px;
  }

  .phone-app-tabs {
    margin: 6px 8px;
  }

  .phone-app-tabs button {
    min-height: 38px;
    font-size: 0.48rem;
  }

  .phone-pane {
    padding: 9px;
  }

  .day-report-summary > span {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Lokaal eindklassement voor meerdere campagnes op dezelfde browser. */
.leaderboard {
  margin: 22px 0 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 202, 40, 0.45);
  border-radius: 16px;
  background: rgba(5, 19, 45, 0.9);
  text-align: left;
}

.leaderboard > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 17px;
  border-bottom: 1px solid rgba(255, 202, 40, 0.24);
  background: linear-gradient(90deg, rgba(255, 202, 40, 0.13), transparent);
}

.leaderboard header small {
  color: #ffcf3d;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.leaderboard header h3 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 1.05rem;
}

.leaderboard header > span {
  padding: 5px 9px;
  border: 1px solid #ffca28;
  border-radius: 999px;
  color: #ffdf73;
  font-size: 0.58rem;
  font-weight: 900;
}

.leaderboard-head,
.leaderboard-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 64px 112px;
  align-items: center;
  gap: 10px;
}

.leaderboard-head {
  padding: 8px 13px;
  color: #8097ba;
  font-size: 0.54rem;
  font-weight: 900;
  text-transform: uppercase;
}

.leaderboard-list {
  display: grid;
}

.leaderboard-row {
  min-height: 54px;
  padding: 8px 13px;
  border-top: 1px solid rgba(104, 168, 255, 0.13);
  color: #e9f2ff;
}

.leaderboard-row.is-current {
  background: rgba(255, 202, 40, 0.12);
  box-shadow: inset 4px 0 0 #ffca28;
}

.leaderboard-rank {
  color: #ffcf3d;
  font-size: 0.85rem;
  font-weight: 950;
  text-align: center;
}

.leaderboard-player strong,
.leaderboard-player small {
  display: block;
}

.leaderboard-player strong {
  font-size: 0.78rem;
}

.leaderboard-player small {
  margin-top: 2px;
  color: #96aac8;
  font-size: 0.58rem;
}

.leaderboard-score {
  color: #76e2aa;
  text-align: center;
}

.leaderboard-votes {
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: right;
}

@media (max-width: 540px) {
  .leaderboard-head,
  .leaderboard-row {
    grid-template-columns: 28px minmax(0, 1fr) 48px;
  }

  .leaderboard-head span:last-child,
  .leaderboard-votes {
    display: none;
  }
}

/* Mobiele spelmodus: snelle status, grote tikdoelen en een echte liggende layout. */
.mobile-quick-stats {
  display: none;
}

@media (pointer: coarse) {
  button,
  [role="button"],
  .phone-app-tabs button,
  .phone-primary-action,
  .phone-secondary-action {
    min-height: 48px;
    touch-action: manipulation;
  }

  .action-card:hover:not(:disabled),
  .action-card:focus-visible {
    transform: none;
  }
}

@media (max-width: 780px) {
  .mission-questions {
    grid-template-columns: 1fr;
  }

  .mission-section {
    padding: 9px 11px;
  }

  .game-header {
    padding-top: max(10px, env(safe-area-inset-top));
  }

  .game-screen.screen--active .game-layout {
    min-height: calc(100dvh - 112px);
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .mobile-quick-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(78px, 1fr));
    gap: 7px;
    margin: 10px 0;
    padding: 2px 0 7px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: inline proximity;
  }

  .mobile-quick-stats::-webkit-scrollbar { display: none; }

  .mobile-quick-stats article {
    display: grid;
    min-height: 58px;
    padding: 9px 10px;
    align-content: center;
    border: 1px solid #dcdedb;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 12px rgba(22, 28, 36, 0.06);
    scroll-snap-align: start;
  }

  .mobile-quick-stats span {
    color: #777d86;
    font-size: 0.46rem;
    font-weight: 900;
    letter-spacing: 0.08em;
  }

  .mobile-quick-stats strong {
    margin-top: 3px;
    overflow: hidden;
    color: #151922;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .floating-phone {
    bottom: calc(14px + env(safe-area-inset-bottom));
  }

  .phone-dialog,
  .event-dialog,
  .day-report-dialog,
  .live-event-dialog,
  .incoming-call-dialog,
  .outgoing-call-dialog,
  .call-dialog,
  .campaign-builder-dialog {
    max-width: calc(100vw - 10px);
    max-height: calc(100dvh - 10px);
  }
}

@media (max-width: 620px) and (orientation: portrait) {
  .game-screen.screen--active {
    overflow-x: hidden;
  }

  .game-header {
    min-height: 102px;
    padding-inline: 12px;
  }

  .header-actions {
    padding-left: 56px;
  }

  .game-layout {
    display: flex;
    gap: 12px;
    flex-direction: column;
    padding: 10px 10px calc(96px + env(safe-area-inset-bottom));
  }

  .action-panel {
    display: flex;
    order: 1;
    gap: 9px;
  }

  .campaign-panel {
    order: 2;
    padding: 13px;
  }

  .action-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
    align-items: center;
  }

  .action-intro > div:first-child {
    grid-column: 1 / -1;
  }

  .action-intro .eyebrow {
    margin-bottom: 3px;
    font-size: 0.5rem;
  }

  .action-intro h2 {
    margin: 0;
    font-size: clamp(1.35rem, 7vw, 1.75rem);
    line-height: 1.05;
  }

  .day-moment,
  .trend-signal,
  .streak-badge,
  .phone-boost-indicator {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 0.56rem;
  }

  .mobile-quick-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    margin: 2px 0;
    overflow: visible;
  }

  .mobile-quick-stats article {
    min-height: 56px;
    padding: 7px 6px;
  }

  .mobile-quick-stats span {
    font-size: 0.41rem;
  }

  .mobile-quick-stats strong {
    font-size: 0.66rem;
  }

  .day-modifier-card,
  .active-campaign-strip,
  .identity-card {
    min-height: 66px;
    padding: 10px;
  }

  .day-modifier-card p,
  .active-campaign-strip p,
  .identity-card p {
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .action-grid {
    display: grid;
    height: auto;
    flex: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 9px;
  }

  .action-card {
    min-height: 132px;
    padding: 13px 11px 11px;
    border-left-width: 4px;
    border-radius: 14px;
  }

  .action-top {
    gap: 7px;
    margin-bottom: 7px;
  }

  .action-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .action-card h3 {
    font-size: 0.83rem;
  }

  .action-card p {
    display: -webkit-box;
    margin-bottom: 8px;
    overflow: hidden;
    font-size: 0.62rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .action-number {
    top: 6px;
    right: 7px;
    font-size: 0.47rem;
  }

  .effect-chip {
    padding: 4px 6px;
    font-size: 0.52rem;
  }

  .news-desk {
    min-height: 190px;
    max-height: 260px;
    margin-top: 0;
  }

  .stat-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .stat-card {
    min-height: 58px;
    padding: 10px;
  }

  .manager-trust-panel {
    margin-top: 10px;
  }

  .floating-phone {
    top: calc(43px + env(safe-area-inset-top));
    bottom: auto;
    left: 12px;
    width: 48px;
    min-height: 48px;
    padding: 4px;
    border-radius: 15px;
    box-shadow: 0 3px 0 #111;
  }

  .floating-phone .phone-device {
    width: 34px;
    height: 36px;
    font-size: 1.1rem;
  }
}

@media (orientation: landscape) and (max-width: 950px) and (max-height: 560px) {
  html,
  body,
  .game-shell,
  .game-screen.screen--active {
    width: 100%;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .game-header {
    position: relative;
    min-height: 54px;
    height: 54px;
    padding: 6px max(10px, env(safe-area-inset-right)) 6px max(10px, env(safe-area-inset-left));
    flex-wrap: nowrap;
  }

  .compact-logo {
    max-width: none;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .player-chip {
    display: none;
  }

  .header-actions {
    width: auto;
    margin-left: auto;
  }

  .header-actions .icon-btn {
    min-width: 72px;
    height: 46px;
    padding: 0 10px;
    font-size: 0.55rem;
  }

  .header-actions .icon-btn:last-child {
    min-width: 54px;
  }

  .music-volume-panel {
    top: calc(100% + 5px);
    right: 54px;
    left: auto;
    width: 250px;
    padding: 12px;
  }

  .game-screen.screen--active .game-layout {
    display: grid;
    grid-template-columns: minmax(190px, 29vw) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    height: calc(100dvh - 54px);
    min-height: 0;
    padding: 8px max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    overflow: hidden;
  }

  .campaign-panel,
  .action-panel {
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .campaign-panel {
    order: 0;
    padding: 10px;
    border-radius: 12px;
  }

  .day-block {
    margin-bottom: 7px;
  }

  .day-track {
    margin-bottom: 8px;
  }

  .stat-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .stat-card {
    min-height: 47px;
    padding: 7px;
  }

  .stat-heading {
    font-size: 0.52rem;
  }

  .meter {
    height: 5px;
    margin-top: 5px;
  }

  .manager-trust-panel {
    gap: 5px;
    margin-top: 7px;
    padding: 9px;
  }

  .manager-trust-panel p,
  .hidden-votes small {
    display: none;
  }

  .hidden-votes {
    min-height: 44px;
    margin-top: 7px;
    padding: 8px;
  }

  .action-panel {
    display: flex;
    order: 0;
    gap: 6px;
    padding-right: 2px;
  }

  .action-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 6px;
    align-items: center;
  }

  .action-intro > div:first-child {
    min-width: 0;
  }

  .action-intro .eyebrow {
    display: none;
  }

  .action-intro h2 {
    margin: 0;
    overflow: hidden;
    font-size: 1.08rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .day-moment,
  .trend-signal,
  .streak-badge,
  .phone-boost-indicator {
    min-height: 28px;
    padding: 5px 7px;
    font-size: 0.46rem;
  }

  .day-moment {
    display: none;
  }

  .mobile-quick-stats {
    display: none;
  }

  .day-modifier-card,
  .active-campaign-strip,
  .identity-card {
    min-height: 42px;
    padding: 5px 8px;
  }

  .day-modifier-card > span,
  .active-campaign-strip > span,
  .identity-card > span {
    width: 30px;
    min-width: 30px;
    height: 30px;
  }

  .day-modifier-card p,
  .active-campaign-strip p,
  .identity-card p {
    display: none;
  }

  .action-grid {
    display: grid;
    height: auto;
    flex: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, 104px);
    gap: 7px;
  }

  .action-card {
    min-height: 104px;
    padding: 8px 8px 7px;
    border-left-width: 4px;
    border-radius: 11px;
  }

  .action-top {
    gap: 6px;
    margin-bottom: 5px;
  }

  .action-icon {
    width: 31px;
    height: 31px;
    font-size: 0.58rem;
  }

  .action-card h3 {
    font-size: 0.72rem;
  }

  .action-card p {
    display: none;
  }

  .effect-chip {
    padding: 3px 5px;
    font-size: 0.46rem;
  }

  .action-number {
    display: none;
  }

  .news-desk {
    min-height: 110px;
    margin-top: 0;
    flex: 0 0 130px;
  }

  .floating-phone {
    top: calc(3px + env(safe-area-inset-top));
    right: calc(294px + env(safe-area-inset-right));
    bottom: auto;
    left: auto;
    width: 48px;
    min-height: 48px;
    padding: 4px;
    border-radius: 15px;
    box-shadow: 0 3px 0 #111;
  }

  .phone-device {
    width: 34px;
    height: 36px;
    font-size: 1.1rem;
  }

  .phone-copy {
    display: none;
  }

  .phone-dialog,
  .event-dialog,
  .day-report-dialog,
  .live-event-dialog,
  .incoming-call-dialog,
  .outgoing-call-dialog,
  .call-dialog,
  .campaign-builder-dialog {
    width: calc(100vw - 8px);
    height: calc(100dvh - 8px);
    max-width: none;
    max-height: none;
    margin: auto;
  }

  /* In liggende stand blijft de telefoon een echte app, met alle ruimte voor inhoud. */
  .phone-shell {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
  }

  .phone-header {
    grid-row: 1;
    min-height: 52px;
    padding: 6px 12px;
  }

  .phone-header small {
    font-size: 0.48rem;
  }

  .phone-header h2 {
    margin-top: 1px;
    font-size: 1.08rem;
  }

  .phone-close {
    width: 42px;
    height: 42px;
  }

  .phone-status {
    display: none;
  }

  .phone-app-tabs {
    grid-row: 2;
    grid-template-columns: repeat(8, minmax(72px, 1fr));
    gap: 4px;
    margin: 4px 8px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .phone-app-tabs button {
    min-height: 48px;
    padding: 4px 2px;
    font-size: 0.46rem;
  }

  .phone-app-tabs button span {
    font-size: 0.88rem;
  }

  .phone-pane {
    grid-row: 3;
    padding: 8px;
  }

  .phone-shell > footer {
    grid-row: 4;
    min-height: 26px;
    padding: 3px 10px;
  }
}
