:root {
  font-family: Calibri, Arial, sans-serif;
  color: #4a5c68;
  background: #fff;
  --brand-navy: #006782;
  --brand-blue: #0082a6;
  --brand-yellow: #ffd000;
  --brand-yellow-dark: #c9a500;
  --brand-yellow-soft: #fff7d1;
  --risk-low: #39956a;
  --risk-low-soft: #e5f5ec;
  --risk-high: #e47b32;
  --risk-high-soft: #fff0e5;
  --surface: #f4f7f8;
  --muted: #67757e;
  --line: #d6e0e4;
  --accent: var(--brand-yellow);
  --card: #fff;
  --shadow: 0 16px 40px rgba(0, 103, 130, 0.1);
}

@media print {
  @page {
    size: A4;
    margin: 14mm;
  }

  html,
  body {
    min-height: auto;
    overflow: visible;
    background: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body::before,
  body::after {
    display: none;
  }

  .app-shell {
    width: 100%;
    padding: 0;
  }

  .topbar {
    margin-bottom: 28px;
  }

  .screen {
    min-height: auto;
  }

  .button-row {
    display: none;
  }

  .result-grid {
    grid-template-columns: repeat(2, 1fr);
    break-inside: avoid;
  }

  .result-card {
    break-inside: avoid;
    box-shadow: 0 4px 0 rgba(39, 55, 70, 0.09);
  }
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  background:
    linear-gradient(135deg, rgba(243, 195, 0, 0.2) 0, rgba(243, 195, 0, 0) 32rem),
    #f2f4f4;
  isolation: isolate;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

body::before {
  top: 12%;
  right: -70px;
  width: 180px;
  height: 180px;
  border: 28px solid rgba(243, 195, 0, 0.2);
  animation: float-shape 8s ease-in-out infinite;
}

body::after {
  bottom: 8%;
  left: -55px;
  width: 120px;
  height: 120px;
  background: rgba(39, 55, 70, 0.08);
  animation: float-shape 10s ease-in-out -3s infinite reverse;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  margin: auto;
  padding: 24px 18px 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 44px;
  border-bottom: 1px solid rgba(39, 55, 70, 0.14);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.company-logo {
  display: block;
  width: clamp(138px, 42vw, 174px);
  height: auto;
  padding: 9px 12px;
  border-radius: 14px;
  background: #fff;
}

.screen {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker {
  padding-left: 10px;
  border-left: 4px solid var(--brand-yellow);
  color: var(--brand-navy);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  font-weight: 800;
}

.intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.intro-meta span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-navy);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 3px 0 rgba(39, 55, 70, 0.08);
}

.intro-meta span:nth-child(1) {
  transform: rotate(-1.5deg);
}

.intro-meta span:nth-child(2) {
  transform: rotate(1deg);
}

.intro-meta span:nth-child(3) {
  transform: rotate(-0.5deg);
}

h1 {
  max-width: 650px;
  margin: 14px 0 20px;
  font-size: clamp(40px, 12vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.07em;
  color: var(--brand-navy);
  animation: title-pop 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

h2 {
  margin: 12px 0;
  font-size: clamp(28px, 7vw, 48px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--brand-navy);
}

p {
  max-width: 580px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.button {
  min-height: 50px;
  padding: 15px 22px;
  border: 2px solid var(--brand-yellow);
  border-color: var(--brand-navy);
  border-radius: 999px;
  color: var(--brand-navy);
  background: var(--brand-yellow);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--brand-navy);
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.button:hover:not(:disabled) {
  border-color: var(--brand-yellow-dark);
  background: #ffd633;
  box-shadow: 0 7px 0 var(--brand-navy);
  transform: translateY(-2px);
}

.button.secondary {
  border-color: var(--brand-navy);
  color: #fff;
  background: var(--brand-navy);
  box-shadow: 0 5px 0 #18232d;
}

.button.secondary:hover:not(:disabled) {
  color: var(--brand-navy);
}

.button:active {
  box-shadow: 0 2px 0 var(--brand-navy);
  transform: translateY(3px);
}

.button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.profile-modal {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: hidden;
  background: rgba(0, 45, 58, 0.62);
}

.profile-confetti {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.profile-confetti span {
  position: absolute;
  top: -24px;
  left: var(--confetti-left);
  width: 10px;
  height: 18px;
  border-radius: 3px;
  background: var(--brand-yellow);
  transform: rotate(24deg);
  animation: confetti-fall var(--confetti-duration) var(--confetti-delay) ease-out both;
}

.profile-confetti span:nth-child(3n) {
  background: var(--brand-blue);
}

.profile-confetti span:nth-child(3n + 1) {
  background: #e47b32;
}

.profile-confetti span:nth-child(4n) {
  width: 7px;
  height: 13px;
  border-radius: 50%;
}

.profile-confetti span:nth-child(5n) {
  transform: rotate(-30deg);
}

.profile-garland {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 0 5%;
  border-top: 3px solid var(--brand-yellow);
  border-radius: 999px;
  pointer-events: none;
}

.profile-garland span {
  position: relative;
  z-index: 1;
  width: 0;
  height: 0;
  margin-top: 0;
  border-right: 13px solid transparent;
  border-left: 13px solid transparent;
  border-top: 26px solid var(--brand-yellow);
}

.profile-garland span:nth-child(3n) {
  border-top-color: var(--brand-blue);
}

.profile-garland span:nth-child(3n + 1) {
  border-top-color: #e47b32;
}

.profile-modal-card {
  width: min(100%, 520px);
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 30px;
  border: 3px solid var(--brand-yellow);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 0 rgba(0, 45, 58, 0.18), 0 24px 60px rgba(0, 45, 58, 0.25);
  text-align: center;
  animation: card-arrive 0.45s cubic-bezier(0.2, 1.2, 0.4, 1) both;
}

.profile-modal-card h2 {
  margin: 12px 0 4px;
  color: var(--brand-navy);
}

.profile-modal-profile {
  margin-bottom: 14px;
  color: var(--brand-blue);
  font-size: clamp(26px, 7vw, 38px);
  font-weight: 900;
  line-height: 1.05;
}

.profile-modal-card p {
  margin: 0 auto 24px;
  max-width: 420px;
  color: var(--muted);
}

@keyframes confetti-fall {
  0% {
    opacity: 0;
    transform: translateY(-20px) rotate(0deg);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(105vh) rotate(520deg);
  }
}


.progress {
  height: 7px;
  margin-bottom: 38px;
  overflow: hidden;
  border: 2px solid rgba(39, 55, 70, 0.12);
  border-radius: 999px;
  background: #dfe4e6;
}

.progress > span {
  display: block;
  height: 100%;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.3) 0 8px,
      transparent 8px 16px
    ),
    var(--accent);
  background-size: 24px 24px;
  transition: width 0.3s;
  animation: progress-stripes 1.1s linear infinite;
}

.game-card,
.result-card {
  padding: 24px;
  border: 1px solid var(--line);
  border: 2px solid rgba(39, 55, 70, 0.12);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 8px 0 rgba(39, 55, 70, 0.09), var(--shadow);
}

.game-card {
  margin-top: 20px;
}

/* Resultaten */

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.result-card {
  padding: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: card-arrive 0.45s cubic-bezier(0.2, 1.2, 0.4, 1) both;
}

.result-card:nth-child(2n) {
  animation-delay: 0.04s;
}

.result-card:hover {
  box-shadow: 0 10px 0 rgba(39, 55, 70, 0.1), var(--shadow);
  transform: translateY(-2px) rotate(0.5deg);
}

.result-card small {
  color: var(--muted);
  font-weight: 700;
}

.score {
  margin-top: 8px;
  color: var(--brand-navy);
  font-size: 34px;
  font-weight: 800;
}

/* Ronde 1: prioriteren */

.priority-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.priority-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-width: 2px;
  border-radius: 16px;
  background: var(--surface);
  cursor: grab;
  touch-action: none;
  user-select: none;
  box-shadow: 0 3px 0 rgba(39, 55, 70, 0.08);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.priority-item:hover {
  border-color: rgba(39, 55, 70, 0.3);
  transform: translateX(3px);
}

.priority-item.is-dragging {
  border-color: var(--brand-yellow-dark);
  box-shadow: 0 10px 24px rgba(39, 55, 70, 0.14);
  opacity: 0.55;
}

.drag-grip {
  color: var(--muted);
  font-size: 22px;
}

.priority-rank {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid var(--brand-navy);
  border-radius: 50%;
  color: var(--brand-navy);
  background: var(--brand-yellow);
  font-size: 13px;
  font-weight: 800;
}

.priority-name {
  font-weight: 700;
}

.priority-hint {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.priority-placeholder {
  border: 2px dashed var(--brand-yellow-dark);
  border-radius: 16px;
  background: var(--brand-yellow-soft);
  transition: height 0.12s;
}

.game-note {
  margin: 14px 0 0;
  font-size: 13px;
}

/* Ronde 2: dilemma */

.dilemma-question {
  padding: 20px;
  margin-bottom: 16px;
  border-left: 5px solid var(--brand-yellow);
  border-radius: 16px;
  background: var(--surface);
}

.question-label {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-navy);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 800;
}

.dilemma-question strong {
  font-size: 20px;
  line-height: 1.3;
}

.dilemma-options {
  display: grid;
  gap: 10px;
}

.dilemma-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 16px;
  color: var(--brand-navy);
  background: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(39, 55, 70, 0.07);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.dilemma-option:hover,
.dilemma-option.is-selected {
  border-color: var(--brand-yellow-dark);
  background: var(--brand-yellow-soft);
  transform: translateX(4px);
}

.dilemma-option.is-selected {
  animation: choice-pop 0.25s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.option-letter {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--brand-navy);
  border-radius: 50%;
  color: var(--brand-navy);
  background: #e7ebed;
  font-size: 13px;
  font-weight: 800;
}

.dilemma-option.is-selected .option-letter {
  background: var(--brand-yellow);
}

.option-check {
  margin-left: auto;
  color: var(--brand-navy);
  font-weight: 800;
}

/* Ronde 3: swipen */

.timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.swipe-round {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.timer-face {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 4px solid var(--brand-yellow);
  border-radius: 50%;
  color: var(--brand-navy);
  background: var(--brand-yellow-soft);
  font-size: 23px;
  font-weight: 800;
  box-shadow: 0 0 0 7px rgba(243, 195, 0, 0.15);
  animation: timer-pulse 1s ease-in-out infinite;
}

.swipe-zone {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 28px;
  border: 2px solid var(--brand-navy);
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(145deg, #33495d, var(--brand-navy));
  box-shadow: 0 8px 0 #18232d, 0 18px 34px rgba(39, 55, 70, 0.18);
  text-align: center;
  cursor: grab;
  touch-action: none;
  transition: transform 0.55s ease-out;
  will-change: transform;
  transform-origin: 50% 100%;
}

.swipe-zone.is-dragging {
  cursor: grabbing;
  transition: none;
}

.swipe-zone.is-exiting-left,
.swipe-zone.is-exiting-right {
  pointer-events: none;
  transition: none;
  animation-duration: 0.55s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-fill-mode: forwards;
  will-change: transform, opacity;
}

.swipe-zone.is-exiting-left {
  animation-name: swipe-exit-left;
}

.swipe-zone.is-exiting-right {
  animation-name: swipe-exit-right;
}

@keyframes swipe-exit-left {
  0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  35% { transform: translate(-34vw, -4px) rotate(-10deg) scale(1.01); }
  100% { opacity: 0; transform: translate(-125vw, 0) rotate(-14deg) scale(0.94); }
}

@keyframes swipe-exit-right {
  0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  35% { transform: translate(34vw, -4px) rotate(10deg) scale(1.01); }
  100% { opacity: 0; transform: translate(125vw, 0) rotate(14deg) scale(0.94); }
}

.swipe-card-content strong {
  display: block;
  max-width: 400px;
  font-size: 25px;
  line-height: 1.18;
}

.swipe-card-content .question-label {
  color: var(--brand-yellow);
}

.swipe-status {
  display: block;
  margin-top: 18px;
  color: var(--brand-yellow);
  font-size: 13px;
}

.swipe-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  color: var(--muted);
}

.swipe-direction-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  letter-spacing: 0.04em;
}

.swipe-direction-hint span {
  color: var(--brand-yellow-dark);
  font-size: 38px;
  line-height: 1;
  font-weight: 700;
  animation: arrow-bounce 0.9s ease-in-out infinite alternate;
}

.swipe-direction-hint strong {
  color: var(--brand-navy);
  font-size: 16px;
  font-weight: 800;
}

/* Ronde 4: budget */

.budget-total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.budget-total span,
.budget-total em {
  color: var(--muted);
  font-size: 13px;
}

.budget-total strong {
  color: var(--brand-navy);
  font-size: 28px;
}

.budget-total small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.budget-total em {
  margin-left: auto;
  font-style: normal;
}

.budget-list {
  display: grid;
  gap: 12px;
}

.budget-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #edf0f1;
}

.budget-label {
  font-weight: 700;
}

.budget-controls {
  display: grid;
  grid-template-columns: 44px 64px 44px;
  gap: 6px;
}

.budget-button {
  width: 44px;
  min-height: 44px;
  border: 1px solid var(--brand-navy);
  border-width: 2px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 0 #18232d;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.budget-button:hover:not(:disabled) {
  border-color: var(--brand-yellow-dark);
  color: var(--brand-navy);
  background: var(--brand-yellow);
  transform: translateY(-1px);
}

.budget-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.budget-input {
  width: 64px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-width: 2px;
  border-radius: 12px;
  color: var(--brand-navy);
  background: #fff;
  text-align: center;
  font: inherit;
  font-weight: 800;
  appearance: textfield;
  -moz-appearance: textfield;
}

.budget-input:focus {
  outline: 3px solid rgba(243, 195, 0, 0.45);
  outline-offset: 1px;
}

.budget-input::-webkit-outer-spin-button,
.budget-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* Ronde 5: risico */

.risk-status {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.risk-card {
  position: relative;
  isolation: isolate;
}

.statement-card {
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 170px;
  place-content: center;
  padding: 24px;
  border: 2px solid var(--brand-yellow);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, #33495d, var(--brand-navy));
  text-align: center;
}

.statement-card strong {
  max-width: 520px;
  font-size: 22px;
  line-height: 1.25;
  text-align: center;
}

.statement-card .question-label {
  color: var(--brand-yellow);
}

.risk-slider-panel {
  padding: 22px 4px 4px;
}

.risk-slider-value {
  min-height: 24px;
  margin-bottom: 16px;
  color: var(--brand-navy);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.risk-slider {
  display: block;
  width: 100%;
  min-height: 44px;
  height: 44px;
  accent-color: var(--brand-yellow);
  cursor: grab;
  touch-action: none;
}

.risk-slider:active {
  cursor: grabbing;
}

.risk-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.archetype-card {
  position: relative;
  padding: 22px 24px;
  margin-top: 24px;
  overflow: hidden;
  border: 2px solid var(--brand-yellow);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  color: #fff;
}

.archetype-card::after {
  position: absolute;
  right: -34px;
  bottom: -48px;
  width: 130px;
  height: 130px;
  border: 20px solid rgba(255, 208, 0, 0.28);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.archetype-card .question-label {
  color: var(--brand-yellow);
}

.archetype-card h3 {
  position: relative;
  z-index: 1;
  margin: 8px 0 6px;
  color: #fff;
  font-size: clamp(24px, 6vw, 36px);
  line-height: 1.05;
}

.archetype-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.spectrum-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.result-profile {
  margin-top: 20px;
  padding: 18px 20px;
  border: 2px solid var(--brand-blue);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 208, 0, 0.22), rgba(255, 255, 255, 0.96));
  box-shadow: 0 5px 0 rgba(0, 75, 94, 0.12);
}

.result-profile-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-profile h3 {
  margin: 0;
  color: var(--brand-blue);
  font-size: clamp(24px, 6vw, 34px);
  line-height: 1.08;
}

.result-profile p {
  margin: 8px 0 0;
  font-size: 15px;
}

.spectrum-result {
  padding: 18px;
  border: 2px solid rgba(0, 103, 130, 0.18);
  border-radius: 18px;
  background: #fff;
}

.spectrum-result h3 {
  margin: 0 0 8px;
  color: var(--brand-navy);
  font-size: 19px;
  line-height: 1.2;
}

.spectrum-result h3 span {
  color: var(--brand-yellow-dark);
}

.spectrum-result p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.spectrum-track {
  position: relative;
  height: 14px;
  margin-top: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d7edf2, var(--brand-blue), var(--brand-navy));
}

.spectrum-marker {
  all: unset;
  position: absolute;
  top: -18px;
  display: block;
  width: 20px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 25'%3E%3Cpolygon points='14,22.8 2,2 26,2' fill='%23ffd000' stroke='%23006782' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
  transform: translateX(-50%);
}

.spectrum-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.spectrum-labels span:last-child {
  text-align: right;
}

.top-variables {
  margin-top: 24px;
  padding: 20px;
  border: 2px solid rgba(0, 103, 130, 0.18);
  border-radius: 18px;
  background: #fff;
}

.top-variables h3 {
  margin: 0 0 4px;
  color: var(--brand-navy);
  font-size: 20px;
}

.top-variables > p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.top-variables ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-variable {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-soft);
}

.top-variable-rank {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: var(--brand-navy);
  font-weight: 900;
}

.top-variable-name {
  color: var(--brand-navy);
  font-weight: 800;
}

.top-variable strong {
  color: var(--brand-blue);
}

.moral-card {
  margin-top: 24px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  color: #fff;
  box-shadow: 0 8px 0 rgba(0, 45, 58, 0.14);
}

.moral-card h3 {
  margin: 0 0 10px;
  color: var(--brand-yellow);
  font-size: 22px;
}

.moral-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  line-height: 1.55;
}

.moral-card p + p {
  margin-top: 14px;
}

.moral-card strong {
  color: var(--brand-yellow);
}

.statement-drag {
  display: grid;
  place-content: center;
  gap: 10px;
  min-height: 170px;
  padding: 24px;
  border: 2px solid var(--brand-yellow);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, #33495d, var(--brand-navy));
  box-shadow: 0 7px 0 #18232d, 0 16px 28px rgba(39, 55, 70, 0.18);
  text-align: center;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: transform 0.18s ease-out, opacity 0.15s;
  will-change: transform;
}

.statement-drag strong {
  font-size: 22px;
  line-height: 1.25;
}

.statement-drag .question-label {
  color: var(--brand-yellow);
}

.statement-drag.is-dragging {
  position: relative;
  z-index: 100;
  opacity: 0.7;
  cursor: grabbing;
  transition: none;
}

.drag-hint {
  color: var(--muted);
  font-size: 12px;
}

.statement-slot {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 10px;
  border: 1px dashed #aeb9bf;
  border-radius: 24px;
  background: #f8f9f9;
}

.statement-slot .statement-drag {
  width: 100%;
}

.statement-space-keeper {
  visibility: hidden;
  display: grid;
  place-content: center;
  gap: 10px;
  width: 100%;
  min-height: 170px;
  padding: 24px;
  border: 1px solid transparent;
}

.slot-placeholder {
  position: absolute;
  inset: 10px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.risk-zones {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 4px;
  margin-top: 14px;
}

.risk-zone {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 120px;
  padding: 18px 12px;
  border: 2px dashed #aeb9bf;
  border-radius: 20px;
  color: var(--brand-navy);
  background: var(--surface);
  text-align: center;
  user-select: none;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.risk-zone > span {
  font-weight: 800;
}

.risk-zone small {
  color: var(--muted);
  font-size: 12px;
}

.risk-zone.low.is-target,
.risk-zone.low.is-selected {
  border-color: var(--risk-low);
  background: var(--risk-low-soft);
  box-shadow: 0 0 0 5px rgba(57, 149, 106, 0.14);
}

.risk-zone.high.is-target,
.risk-zone.high.is-selected {
  border-color: var(--risk-high);
  background: var(--risk-high-soft);
  box-shadow: 0 0 0 5px rgba(228, 123, 50, 0.15);
}

.risk-zone.is-target {
  z-index: 2;
  transform: scale(1.03);
}

.risk-zone.low.is-selected > span {
  color: var(--risk-low);
}

.risk-zone.high.is-selected > span {
  color: var(--risk-high);
}

.risk-zone .statement-drag {
  width: 100%;
  min-height: 92px;
  padding: 14px 10px;
  border-width: 1px;
  box-shadow: none;
  cursor: grab;
  transform: none;
  animation: choice-pop 0.28s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.risk-zone .statement-drag strong {
  font-size: 15px;
}

.risk-zone .statement-drag .question-label {
  margin-bottom: 0;
  font-size: 9px;
}

.risk-zone .statement-drag .drag-hint {
  display: none;
}

.statement-drag.is-compact-drag {
  padding: 14px 10px;
  border-width: 1px;
  box-shadow: none;
}

.statement-drag.is-compact-drag strong {
  font-size: 15px;
}

.statement-drag.is-compact-drag .question-label {
  margin-bottom: 0;
  font-size: 9px;
}

.statement-drag.is-compact-drag .drag-hint {
  display: none;
}

.risk-drag-placeholder {
  width: 100%;
  visibility: hidden;
}

button:focus-visible,
input:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 4px solid rgba(243, 195, 0, 0.55);
  outline-offset: 3px;
}

.priority-item.is-dragging {
  transform: none;
}

@keyframes title-pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes card-arrive {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes choice-pop {
  0% {
    transform: scale(0.96);
  }
  70% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes timer-pulse {
  50% {
    box-shadow: 0 0 0 11px rgba(243, 195, 0, 0.08);
    transform: scale(1.04);
  }
}

@keyframes arrow-bounce {
  to {
    transform: translateX(-5px);
  }
}

.swipe-direction-hint:last-child span {
  animation-name: arrow-bounce-right;
}

@keyframes arrow-bounce-right {
  to {
    transform: translateX(5px);
  }
}

@keyframes progress-stripes {
  to {
    background-position: 24px 0;
  }
}

@keyframes float-shape {
  50% {
    transform: translateY(18px) rotate(8deg);
  }
}

@media (max-width: 480px) {
  .app-shell {
    padding-top: 14px;
  }

  .topbar {
    margin-bottom: 32px;
  }

  .game-card {
    padding: 16px;
  }

  .result-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.intro-meta span:nth-child(1),
.intro-meta span:nth-child(2),
.intro-meta span:nth-child(3) {
  transform: none;
}

/* Extra M&I/Partners blauw uit de merkgids */

body {
  background:
    linear-gradient(135deg, rgba(0, 130, 166, 0.1) 0, rgba(0, 130, 166, 0) 32rem),
    #fff;
}

.topbar {
  border-bottom-color: rgba(0, 103, 130, 0.22);
}

.kicker {
  border-left-color: var(--brand-blue);
  color: var(--brand-navy);
}

h1,
h2 {
  color: var(--brand-navy);
}

.button {
  border-color: var(--brand-navy);
  color: #fff;
  background: var(--brand-blue);
  box-shadow: 0 5px 0 var(--brand-navy);
}

.button:hover:not(:disabled) {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
  background: var(--brand-yellow);
  box-shadow: 0 7px 0 var(--brand-navy);
}

.button.secondary {
  border-color: var(--brand-navy);
  background: var(--brand-navy);
  box-shadow: 0 5px 0 #004b5e;
}

.button.secondary:hover:not(:disabled) {
  color: var(--brand-navy);
  background: var(--brand-yellow);
}

.progress {
  border-color: rgba(0, 103, 130, 0.18);
}

.progress > span {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.25) 0 8px,
      transparent 8px 16px
    ),
    var(--brand-blue);
}

.game-card,
.result-card {
  border-color: rgba(0, 103, 130, 0.18);
}

.priority-item:hover {
  border-color: var(--brand-blue);
}

.priority-rank {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

.dilemma-option:hover,
.dilemma-option.is-selected {
  border-color: var(--brand-blue);
}

.timer-face {
  border-color: var(--brand-blue);
  color: var(--brand-navy);
}

.swipe-zone,
.statement-card {
  border-color: var(--brand-yellow);
  background: linear-gradient(145deg, var(--brand-blue), var(--brand-navy));
}

.swipe-status,
.swipe-card-content .question-label {
  color: var(--brand-yellow);
}

.budget-button {
  border-color: var(--brand-navy);
  background: var(--brand-navy);
  box-shadow: 0 3px 0 #004b5e;
}

.budget-button:hover:not(:disabled) {
  border-color: var(--brand-yellow-dark);
  color: var(--brand-navy);
  background: var(--brand-yellow);
}

.risk-slider {
  accent-color: var(--brand-blue);
}

/* AI-reis: luchtige airportgame-laag */
body {
  background:
    linear-gradient(180deg, #bdeefa 0%, #eafaff 54%, #f8e9ba 100%);
}

body::before {
  top: 9%;
  right: -50px;
  border: 22px solid rgba(255, 255, 255, 0.62);
  box-shadow: -190px 110px 0 -18px rgba(255, 255, 255, 0.5);
}

body::after {
  bottom: 4%;
  left: -30px;
  width: 210px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 250px 25px 0 -10px rgba(255, 255, 255, 0.38);
}

.app-shell {
  width: min(100%, 820px);
  padding-top: 18px;
}

.topbar {
  margin-bottom: 28px;
  border-bottom: 0;
}

.company-logo {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.screen {
  justify-content: flex-start;
}

h1,
h2 {
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.7);
}

h1 {
  margin-top: 20px;
  color: var(--brand-navy);
}

.hero-scene,
.travel-scene,
.destination-scene {
  position: relative;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 30px;
  box-shadow: 0 9px 0 rgba(0, 75, 94, 0.16), 0 18px 35px rgba(0, 103, 130, 0.14);
  isolation: isolate;
}

.hero-scene {
  display: block;
  height: 190px;
  margin-bottom: 22px;
  background: linear-gradient(180deg, #73d4ee 0%, #d5f8ff 68%, #8fcf72 69%, #5ba45b 100%);
}

.hero-scene.hero-image {
  background: #f5d7a2 url("assets/Startscreen.png") center / cover no-repeat;
}

.hero-scene.hero-image > * {
  display: none;
}

.round-transition {
  position: relative;
  display: grid;
  min-height: min(62vh, 560px);
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 30px;
  background: #d5f8ff;
  box-shadow: 0 9px 0 rgba(0, 75, 94, 0.16), 0 18px 35px rgba(0, 103, 130, 0.14);
  isolation: isolate;
  animation: transition-pop 0.35s ease-out both;
}

.round-transition img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.result-transition img {
  object-position: right center;
}

.round-transition-caption {
  position: absolute;
  top: 62%;
  left: 50%;
  width: min(88%, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 24px 18px;
  border: 2px solid rgba(0, 75, 94, 0.14);
  border-radius: 16px;
  color: #fff;
  background: rgba(0, 45, 58, 0.78);
  box-shadow: 0 5px 0 rgba(0, 45, 58, 0.16);
  text-align: center;
  transform: translate(-50%, -50%);
}

.round-transition-caption .kicker {
  margin: 0;
  color: var(--brand-yellow);
  font-size: clamp(1.35rem, 4vw, 2rem);
  letter-spacing: 0.04em;
  animation: transition-text-in 0.55s 0.18s ease-out both;
}

@keyframes transition-pop {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes transition-text-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
  .round-transition {
    min-height: 62vh;
    border-radius: 22px;
  }

  .round-transition img {
    min-height: 340px;
    object-fit: cover;
  }

  .round-transition-caption {
    top: 64%;
    width: 86%;
    align-items: center;
    flex-direction: column;
    gap: 2px;
    padding: 13px 10px 15px;
  }
}

.hero-sun,
.scene-sun,
.destination-sun {
  position: absolute;
  top: 14px;
  right: 22px;
  font-size: 42px;
  filter: drop-shadow(0 4px 0 rgba(255, 168, 0, 0.24));
}

.hero-cloud,
.scene-cloud {
  position: absolute;
  color: #fff;
  font-size: 42px;
  opacity: 0.88;
  animation: cloud-drift 10s ease-in-out infinite alternate;
}

.hero-cloud-one,
.scene-cloud-one {
  top: 22px;
  left: 12%;
}

.hero-cloud-two,
.scene-cloud-two {
  top: 70px;
  left: 58%;
  font-size: 32px;
  animation-delay: -3s;
}

.hero-robot,
.hero-suitcase,
.hero-plane {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(0 6px 0 rgba(0, 75, 94, 0.18));
}

.hero-robot {
  bottom: 31px;
  left: 22%;
  font-size: 65px;
  animation: character-bob 2.5s ease-in-out infinite;
}

.hero-suitcase {
  bottom: 30px;
  left: 38%;
  font-size: 38px;
  transform: rotate(-8deg);
}

.hero-plane {
  top: 42px;
  right: 25%;
  font-size: 44px;
  transform: rotate(-12deg);
  animation: plane-fly 4.5s ease-in-out infinite;
}

.hero-road,
.scene-ground {
  position: absolute;
  right: -5%;
  bottom: 0;
  left: -5%;
  height: 32px;
  background: repeating-linear-gradient(90deg, #4c6970 0 40px, #f8d96b 40px 65px);
  transform: skewY(-2deg);
}

.travel-scene {
  display: none;
  height: 150px;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #83d8ee 0%, #e5fbff 71%, #c9d98a 72%, #78ad69 100%);
}

.travel-scene.round-2,
.travel-scene.round-4 {
  background: linear-gradient(180deg, #8bdcf0 0%, #effcff 70%, #dbd7bf 71%, #aaa999 100%);
}

.travel-scene.round-3 {
  background: linear-gradient(180deg, #6ac8e5 0%, #d7f5ff 70%, #93a7ad 71%, #657a80 100%);
}

.travel-scene.round-5 {
  background: linear-gradient(180deg, #5abde0 0%, #d3f5ff 70%, #f0d48c 71%, #d6ad62 100%);
}

.scene-plane {
  position: absolute;
  z-index: 2;
  bottom: 27px;
  left: 12%;
  font-size: 53px;
  filter: drop-shadow(0 5px 0 rgba(0, 75, 94, 0.2));
  animation: character-bob 2.7s ease-in-out infinite;
}

.music-toggle {
  min-height: 40px;
  padding: 8px 13px;
  border: 2px solid var(--brand-navy);
  border-radius: 999px;
  color: #fff;
  background: var(--brand-navy);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 3px 0 #18232d;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.music-toggle:hover {
  color: var(--brand-navy);
  background: var(--brand-yellow);
  transform: translateY(-1px);
}

.music-toggle:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #18232d;
}

.scene-sign {
  position: absolute;
  z-index: 3;
  top: 30px;
  left: 50%;
  display: flex;
  flex-direction: column;
  width: min(46%, 320px);
  padding: 12px 18px;
  border: 3px solid var(--brand-navy);
  border-radius: 16px;
  color: var(--brand-navy);
  background: var(--brand-yellow);
  box-shadow: 0 5px 0 rgba(0, 75, 94, 0.2);
  transform: rotate(-1deg) translateX(-50%);
}

.scene-sign strong {
  font-size: clamp(16px, 4vw, 22px);
}

.scene-sign small {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
}

.destination-scene {
  display: none;
  height: 180px;
  margin-bottom: 22px;
  background: linear-gradient(180deg, #71d3ed 0%, #dffaff 61%, #55bad0 62%, #47a4bb 77%, #efcf7f 78%, #eac36e 100%);
}

.destination-palm,
.destination-robot,
.destination-cocktail {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(0 5px 0 rgba(0, 75, 94, 0.18));
}

.destination-palm {
  bottom: 22px;
  font-size: 70px;
}

.destination-palm-one {
  left: 8%;
  transform: rotate(-8deg);
}

.destination-palm-two {
  right: 7%;
  transform: rotate(8deg);
}

.destination-robot {
  bottom: 25px;
  left: 47%;
  font-size: 58px;
  animation: character-bob 2.5s ease-in-out infinite;
}

.destination-cocktail {
  right: 30%;
  bottom: 22px;
  font-size: 42px;
  transform: rotate(8deg);
}

.destination-wave {
  position: absolute;
  bottom: 49px;
  left: 0;
  width: 100%;
  color: rgba(255, 255, 255, 0.62);
  font-size: 30px;
  letter-spacing: 18px;
  text-align: center;
}

.travel-scene + .progress {
  margin-bottom: 20px;
}

.priority-setting {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 2px solid var(--brand-navy);
  border-radius: 16px;
  color: var(--brand-navy);
  background: rgba(255, 208, 0, 0.22);
  box-shadow: 0 4px 0 rgba(0, 75, 94, 0.12);
}

.priority-setting strong {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.priority-setting span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

@keyframes cloud-drift {
  from { transform: translateX(-8px); }
  to { transform: translateX(12px); }
}

@keyframes plane-fly {
  0%, 100% { transform: translate(0, 0) rotate(-12deg); }
  50% { transform: translate(18px, -8px) rotate(-8deg); }
}

@keyframes character-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cloud,
  .scene-cloud,
  .hero-plane,
  .hero-robot,
  .scene-plane,
  .destination-robot {
    animation: none;
  }
}

@media (max-width: 480px) {
  .hero-scene {
    height: 160px;
  }

  .travel-scene {
    height: 138px;
  }

  .scene-sign {
    width: 56%;
    padding: 10px 12px;
  }

  .scene-plane {
    left: 6%;
    font-size: 44px;
  }

  .destination-scene {
    height: 155px;
  }

  .destination-palm {
    font-size: 56px;
  }

  .destination-robot {
    font-size: 46px;
  }
}
