:root {
  --bg-dark: #070b14;
  --gold-accent: #fbbf24;
  --danger-red: #ef4444;
  --moral-green: #10b981;
  --text-light: #f8fafc;
  --font-pixel-hebrew: 'Courier New','Rubik','Heebo','Miriam Fixed','Arial Hebrew',monospace,sans-serif
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  image-rendering: pixelated
}
body,
html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-pixel-hebrew);
  direction: rtl
}
#game-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none
}
#game-canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  max-width: min(100vw,177.78vh);
  max-width: min(100vw,177.78dvh);
  max-height: min(100vh,56.25vw);
  max-height: min(100dvh,56.25vw);
  background: #1e88e5;
  box-shadow: 0 0 50px rgba(0,0,0,.9);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block
}
@media (max-width:960px) {
  #game-wrapper {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding-top: 0
  }
}
@media (max-width:900px) and (orientation:portrait) {
  #game-wrapper {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0
  }
  #game-canvas {
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    max-width: 100vw;
    max-height: none;
    margin: 0
  }
}
.hidden {
  display: none!important
}
.overlay-screen {
  position: absolute;
  inset: 0;
  background: rgba(7,11,20,.84);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  z-index: 40
}
.boot-overlay {
  background: 0 0;
  align-items: flex-start;
  padding-top: clamp(22px,4.5vh,42px)
}
.boot-layout {
  width: 100%;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center
}
.boot-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(23,41,82,.92);
  border: 2px solid rgba(147,197,253,.65);
  box-shadow: 0 3px 0 #090d16,0 6px 14px rgba(0,0,0,.35);
  color: #e2e8f0;
  font-family: var(--font-pixel-hebrew);
  font-size: .98rem;
  font-weight: 900;
  padding: 6px 24px;
  border-radius: 999px;
  margin-bottom: 6px;
  letter-spacing: .4px;
  text-shadow: 1px 1px 0 #090d16;
  cursor: pointer
}
.boot-logo {
  font-size: clamp(4.1rem, 8.2vw, 6.2rem);
  font-weight: 900;
  line-height: 1.04;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 10px;
  -webkit-text-stroke: 3px #090d16;
  text-shadow: 0 4px 0 #38bdf8,0 7px 0 #1d4ed8,0 11px 0 #090d16,4px 11px 0 #090d16,-4px 11px 0 #090d16,0 16px 24px rgba(0,0,0,.55)
}
.boot-subtitle {
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
  font-weight: 900;
  color: #fff;
  max-width: 590px;
  line-height: 1.45;
  margin-bottom: 18px;
  text-shadow: 2px 2px 0 #090d16,-2px -2px 0 #090d16,2px -2px 0 #090d16,-2px 2px 0 #090d16,0 3px 0 #090d16,0 5px 12px rgba(0,0,0,.55)
}
.boot-controls-box {
  width: 100%;
  max-width: 530px;
  background: rgba(0,0,0,.8);
  border: 2px solid rgba(100,116,139,.72);
  box-shadow: inset 0 0 0 2px rgba(15,23,42,.95),0 12px 28px rgba(0,0,0,.55);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: clamp(18px,3.8vh,34px)
}
.controls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: right
}
.control-item {
  background: rgba(15,23,42,.82);
  border: 1.5px solid rgba(71,85,105,.7);
  padding: 11px 14px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px
}
.control-item.highlight-door {
  border-color: rgba(16,185,129,.78);
  background: rgba(6,78,59,.55)
}
.key-pill {
  display: inline-block;
  align-self: flex-start;
  background: rgba(30,41,59,.95);
  border: 1px solid rgba(148,163,184,.6);
  color: #f8fafc;
  font-weight: 900;
  font-size: .76rem;
  padding: 2px 9px;
  border-radius: 5px
}
.control-label {
  font-size: .95rem;
  font-weight: 900;
  color: #f8fafc;
  text-shadow: 1px 1px 0 #090d16
}
.boot-cta-btn {
  min-width: min(420px,90vw);
  background: linear-gradient(180deg,#3b82f6 0,#2563eb 52%,#1d4ed8 100%);
  color: #fff;
  border: 3px solid #93c5fd;
  padding: 15px 36px;
  font-size: 1.28rem;
  font-weight: 900;
  font-family: var(--font-pixel-hebrew);
  border-radius: 14px;
  cursor: pointer;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.45),0 6px 0 #0f172a,0 12px 24px rgba(0,0,0,.65),0 0 26px rgba(59,130,246,.65);
  text-shadow: 0 2px 0 #090d16;
  transition: transform .1s,box-shadow .1s,filter .1s;
  animation: pulseScale 1.4s infinite ease-in-out
}
.boot-cta-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px)
}
.boot-cta-btn:active {
  transform: translateY(3px);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.35),0 3px 0 #0f172a,0 6px 14px rgba(0,0,0,.6)
}
.modal-card {
  max-width: 620px;
  width: 100%;
  background: #0f172a;
  border: 4px solid #3b82f6;
  box-shadow: inset 0 0 0 3px #1e293b,0 12px 0 #000;
  border-radius: 8px;
  padding: 26px 30px;
  text-align: center
}
.danger-card {
  border-color: var(--danger-red)
}
.moral-card {
  background: #022c22;
  border-color: #10b981
}
.big-icon {
  font-size: 3.2rem;
  margin-bottom: 10px
}
.screen-title {
  font-size: 1.95rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 2px 2px 0 #000
}
.screen-desc {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 20px
}
.retirement-stats {
  background: rgba(0,0,0,.4);
  border: 2px solid #059669;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 18px;
  font-size: .92rem;
  color: #a7f3d0
}
.boot-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px
}
.cta-btn {
  background: #2563eb;
  color: #fff;
  border: 3px solid #93c5fd;
  padding: 12px 24px;
  font-size: 1.08rem;
  font-weight: 900;
  font-family: var(--font-pixel-hebrew);
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 5px 0 #1e3a8a,0 8px 16px rgba(0,0,0,.6);
  text-shadow: 1px 1px 0 #000;
  transition: transform .1s
}
.cta-btn:hover {
  background: #3b82f6;
  transform: translateY(-2px)
}
.cta-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #1e3a8a
}
.secondary-btn {
  background: #334155;
  border-color: #94a3b8;
  box-shadow: 0 4px 0 #0f172a
}
.pulse-btn {
  animation: pulseScale 1.2s infinite steps(4)
}
@keyframes pulseScale {
  0%,
  100% {
    transform: scale(1)
  }
  50% {
    transform: scale(1.03)
  }
}
.reality-screen {
  background: #000
}
.reality-box {
  max-width: 680px;
  text-align: center;
  padding: 32px;
  border: 3px solid #334155;
  background: #090d16
}
.reality-tag {
  color: var(--gold-accent);
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 14px
}
.reality-quote {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 16px
}
.reality-source {
  font-size: .88rem;
  color: #94a3b8;
  margin-bottom: 28px
}
.receipt-overlay {
  background: rgba(6,10,20,.58)
}
.receipt-torn-wrapper {
  position: relative;
  width: 100%;
  max-width: 470px;
  display: flex;
  flex-direction: column;
  filter: drop-shadow(8px 10px 0 #090d16)
}
.receipt-torn-wrapper::after,
.receipt-torn-wrapper::before {
  content: '';
  position: absolute;
  top: 26px;
  bottom: 42px;
  width: 16px;
  background: #d5c7a3;
  border: 3px solid #090d16;
  z-index: -1
}
.receipt-torn-wrapper::before {
  left: -10px;
  transform: skewY(4deg)
}
.receipt-torn-wrapper::after {
  right: -10px;
  transform: skewY(-4deg)
}
.receipt-teeth-top {
  width: 100%;
  height: 18px;
  display: block;
  margin-bottom: -1px
}
.receipt-teeth-bottom {
  width: 100%;
  height: 26px;
  display: block;
  margin-top: -1px
}
.receipt-paper {
  width: 100%;
  background: #f4eed3;
  color: #090d16;
  padding: 10px 26px 14px;
  border-left: 4px solid #090d16;
  border-right: 4px solid #090d16;
  position: relative
}
.receipt-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px
}
.receipt-flag-box {
  display: inline-flex;
  padding: 2px;
  background: #fff;
  border: 2px solid #94a3b8;
  box-shadow: 0 2px 0 rgba(0,0,0,.25);
  margin-bottom: 2px
}
.receipt-org {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: .3px
}
.receipt-main-title {
  font-size: clamp(1.35rem, 3.2vw, 1.68rem);
  font-weight: 900;
  color: #090d16;
  line-height: 1.2
}
.receipt-dashed-line {
  width: 100%;
  border-top: 3px dashed #c8bc9e;
  margin: 12px 0
}
.receipt-rows {
  display: flex;
  flex-direction: column;
  gap: 12px
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px
}
.receipt-label-group {
  display: flex;
  align-items: center;
  gap: 8px
}
.receipt-px-icon {
  flex-shrink: 0;
  filter: drop-shadow(2px 2px 0 rgba(9, 13, 22, .35))
}
.receipt-row-text,
.receipt-row-val {
  font-size: clamp(1.3rem, 3vw, 1.62rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .5px;
  -webkit-text-stroke: 2px #090d16;
  paint-order: stroke fill;
  text-shadow: 2px 2px 0 #090d16,-2px -2px 0 #090d16,2px -2px 0 #090d16,-2px 2px 0 #090d16,0 3px 0 #090d16
}
.row-gold .receipt-row-text,
.row-gold .receipt-row-val {
  color: #fbbf24
}
.row-red .receipt-row-text,
.row-red .receipt-row-val {
  color: #f87171
}
.row-blue .receipt-row-text,
.row-blue .receipt-row-val {
  color: #60a5fa
}
.row-green .receipt-row-text,
.row-green .receipt-row-val {
  color: #86efac
}
.receipt-row-state {
  display: flex;
  flex-direction: column;
  gap: 6px
}
.receipt-state-top {
  display: flex;
  justify-content: flex-start;
  align-items: center
}
.receipt-state-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-right: 36px
}
.receipt-pixel-bar {
  flex: 1;
  height: 24px;
  background: #3b4254;
  border: 3px solid #090d16;
  border-radius: 5px;
  padding: 2px;
  display: grid;
  grid-template-columns: repeat(10,1fr);
  gap: 2px;
  box-shadow: inset 0 2px 0 rgba(0,0,0,.45),0 2px 0 rgba(0,0,0,.25)
}
.receipt-bar-seg {
  height: 100%;
  background: #22d3ee;
  border-top: 3px solid #a5f3fc;
  border-bottom: 3px solid #0891b2;
  border-radius: 1px
}
.receipt-bar-seg.empty {
  background: 0 0;
  border: none
}
.receipt-chunky-actions {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-top: 4px
}
.chunky-arcade-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 76px;
  padding: 10px 8px;
  border: 3.5px solid #090d16;
  border-radius: 10px;
  font-family: var(--font-pixel-hebrew);
  cursor: pointer;
  transition: transform 80ms,box-shadow 80ms,filter 80ms
}
.chunky-btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: clamp(1.02rem, 2.2vw, 1.24rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  -webkit-text-stroke: 1.6px #090d16;
  paint-order: stroke fill;
  text-shadow: 2px 2px 0 #090d16,-1.5px -1.5px 0 #090d16,1.5px -1.5px 0 #090d16,-1.5px 1.5px 0 #090d16,0 2.5px 0 #090d16
}
.chunky-btn-icon {
  flex-shrink: 0
}
.chunky-green {
  background: linear-gradient(180deg,#22c55e 0,#16a34a 100%);
  box-shadow: inset 0 3px 0 #86efac,inset 0 -4px 0 #15803d,0 6px 0 #090d16
}
.chunky-orange {
  background: linear-gradient(180deg,#fb923c 0,#ea580c 100%);
  box-shadow: inset 0 3px 0 #fed7aa,inset 0 -4px 0 #9a3412,0 6px 0 #090d16
}
.chunky-blue {
  background: linear-gradient(180deg,#475d8c 0,#31436b 100%);
  box-shadow: inset 0 3px 0 #93c5fd,inset 0 -4px 0 #1e293b,0 6px 0 #090d16
}
.chunky-arcade-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px)
}
.chunky-arcade-btn:active {
  transform: translateY(4px);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.3),0 2px 0 #090d16
}
.share-feedback {
  margin-top: 10px;
  text-align: center;
  font-size: .95rem;
  font-weight: 900;
  color: #15803d
}
@media (max-width:520px) {
  .receipt-torn-wrapper {
    max-width: 96vw
  }
  .receipt-paper {
    padding: 8px 14px 12px
  }
  .receipt-state-bottom {
    padding-right: 0
  }
  .receipt-chunky-actions {
    gap: 8px
  }
  .chunky-arcade-btn {
    min-height: 64px;
    padding: 8px 4px
  }
}
.top-quick-bar {
  position: absolute;
  top: max(8px,env(safe-area-inset-top,8px));
  left: max(12px,env(safe-area-inset-left,12px));
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 8px
}
.quick-top-btn {
  background: rgba(15,23,42,.9);
  border: 2.5px solid #fbbf24;
  box-shadow: 0 3px 0 #090d16;
  color: #fef08a;
  font-family: var(--font-pixel-hebrew);
  font-weight: 900;
  font-size: .9rem;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  touch-action: manipulation;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px
}
.quick-top-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #090d16
}
.touch-controls {
  position: absolute;
  bottom: max(14px,env(safe-area-inset-bottom,14px));
  left: max(14px,env(safe-area-inset-left,14px));
  right: max(14px,env(safe-area-inset-right,14px));
  display: flex;
  flex-direction: row;
  direction: ltr;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 25
}
@media (max-width:900px) and (orientation:portrait) {
  .touch-controls {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    flex-shrink: 0;
    min-height: clamp(160px,24dvh,215px);
    background: radial-gradient(circle at 50% 0,rgba(56,189,248,.14) 0,transparent 65%),linear-gradient(180deg,#162033 0,#0b111e 48%,#050811 100%);
    border-top: 4px solid #38bdf8;
    box-shadow: inset 0 3px 0 rgba(186,230,253,.28),0 -8px 24px rgba(0,0,0,.65);
    padding: 16px 14px calc(18px + env(safe-area-inset-bottom,0px));
    align-items: center;
    justify-content: space-between;
    pointer-events: auto
  }
}
.touch-actions {
  display: flex;
  flex-direction: row;
  direction: ltr;
  align-items: center;
  justify-content: center;
  gap: clamp(12px,3.8vw,22px);
  pointer-events: auto;
  touch-action: none
}
.touch-actions.actions-disabled {
  visibility: hidden;
  pointer-events: none
}
.touch-btn.console-round-btn {
  position: relative;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-pixel-hebrew);
  font-weight: 900;
  cursor: pointer;
  touch-action: none;
  pointer-events: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1.05;
  transition: transform 60ms ease,box-shadow 60ms ease,filter 60ms ease;
  box-shadow: 0 8px 0 #04070e,0 12px 22px rgba(0,0,0,.8),inset 0 3px 6px rgba(255,255,255,.35),inset 0 -4px 8px rgba(0,0,0,.45)
}
.console-dpad-btn {
  width: clamp(82px,22vw,104px);
  height: clamp(82px,22vw,104px);
  background: radial-gradient(circle at 50% 28%,#3b4c66 0,#1e293b 62%,#0f172a 100%);
  border: 4px solid #94a3b8
}
.console-btn-symbol {
  font-size: clamp(2rem, 6.2vw, 2.55rem);
  color: #f8fafc;
  text-shadow: 0 3px 0 #090d16,0 0 10px rgba(56,189,248,.5);
  line-height: 1
}
.console-btn-sub {
  font-size: clamp(.72rem, 2.2vw, .86rem);
  color: #cbd5e1;
  margin-top: 3px;
  text-shadow: 0 2px 0 #090d16
}
.console-spin-btn {
  width: clamp(78px,20.5vw,98px);
  height: clamp(78px,20.5vw,98px);
  background: radial-gradient(circle at 50% 26%,#fbbf24 0,#d97706 58%,#92400e 100%);
  border: 4px solid #fef08a
}
.console-jump-btn {
  width: clamp(86px,23vw,108px);
  height: clamp(86px,23vw,108px);
  background: radial-gradient(circle at 50% 26%,#60a5fa 0,#2563eb 58%,#1e3a8a 100%);
  border: 4px solid #bfdbfe
}
.ps-badge {
  font-size: clamp(.75rem, 2.2vw, .9rem);
  font-weight: 900;
  line-height: 1;
  opacity: .92;
  margin-bottom: 1px;
  text-shadow: 0 2px 0 #090d16
}
.ps-square {
  color: #fef08a
}
.ps-cross {
  color: #93c5fd
}
.console-btn-icon {
  font-size: clamp(1.25rem, 3.8vw, 1.55rem);
  line-height: 1.05
}
.console-btn-label {
  font-size: clamp(.84rem, 2.5vw, 1rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 0 #090d16;
  margin-top: 1px
}
.touch-btn.console-round-btn.pressed,
.touch-btn.console-round-btn:active {
  transform: translateY(5px) scale(.95);
  filter: brightness(1.18);
  border-color: #fde047;
  box-shadow: 0 2px 0 #04070e,0 0 18px rgba(250,204,21,.65),inset 0 3px 6px rgba(255,255,255,.45)
}
@media (max-width:760px),
(max-height:620px) {
  .overlay-screen {
    align-items: flex-start;
    padding: 10px
  }
  .boot-overlay {
    padding-top: 8px
  }
  .boot-logo {
    font-size: clamp(2.3rem, 7vw, 3.1rem);
    margin-bottom: 4px
  }
  .boot-subtitle {
    font-size: .88rem;
    margin-bottom: 8px
  }
  .boot-controls-box {
    padding: 10px;
    margin-bottom: 10px
  }
  .controls-grid {
    gap: 8px
  }
  .control-item {
    padding: 6px 8px
  }
  .control-label {
    font-size: .78rem
  }
  .boot-cta-btn {
    padding: 10px 18px;
    font-size: 1rem;
    min-width: min(340px,88vw)
  }
  .modal-card,
  .reality-box {
    padding: 16px 14px;
    margin: auto 0
  }
  .screen-title {
    font-size: 1.4rem
  }
  .reality-quote {
    font-size: 1.15rem
  }
}
.map-overlay {
  background: 0 0;
  justify-content: flex-start;
  align-items: center;
  padding: 20px;
  pointer-events: none
}
.map-side-panel {
  pointer-events: auto;
  width: 390px;
  max-width: 94vw;
  max-height: 92dvh;
  overflow-y: auto;
  background: rgba(15,23,42,.94);
  border: 4px solid #fbbf24;
  box-shadow: 0 10px 0 #090d16,0 18px 34px rgba(0,0,0,.75);
  border-radius: 12px;
  padding: 16px;
  text-align: right
}
@media (max-width:760px) {
  .map-overlay {
    justify-content: center;
    align-items: flex-end;
    padding: 10px
  }
  .map-side-panel {
    width: 100%;
    max-height: 58dvh;
    padding: 12px
  }
}
.map-panel-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 2px 2px 0 #090d16
}
.map-nir-oz-badge {
  background: rgba(127,29,29,.85);
  border: 2px solid #f87171;
  color: #fef2f2;
  font-weight: 900;
  font-size: .92rem;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  text-align: center
}
.map-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px
}
.map-stage-btn {
  background: #1e293b;
  border: 2px solid #475569;
  color: #e2e8f0;
  font-family: var(--font-pixel-hebrew);
  font-weight: 900;
  font-size: .84rem;
  padding: 8px 10px;
  border-radius: 7px;
  cursor: pointer;
  text-align: right;
  transition: transform 80ms,border-color 80ms
}
.map-stage-btn:hover {
  border-color: #93c5fd;
  transform: translateY(-1px)
}
.map-stage-btn.active-stage {
  background: #1d4ed8;
  border-color: #fde047;
  color: #fef08a;
  box-shadow: 0 3px 0 #090d16
}
.final-summary-card {
  max-width: 680px;
  border-color: #fbbf24
}
.final-doors-giant {
  font-size: clamp(1.8rem, 3.6vw, 2.65rem);
  font-weight: 900;
  color: #fde047;
  background: rgba(2,6,23,.85);
  border: 3px solid #f59e0b;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 14px 0 18px;
  text-shadow: 3px 3px 0 #090d16
}
.final-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px
}
.final-stat-box {
  background: rgba(30,41,59,.9);
  border: 2px solid #475569;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 900
}
.final-stat-box strong {
  font-size: 1.55rem;
  color: #38bdf8
}
.final-achievements {
  background: rgba(15,23,42,.8);
  border: 2px solid #334155;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 18px;
  font-size: .92rem;
  color: #cbd5e1;
  line-height: 1.6
}