* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body {
  width: 100%; height: 100%; overflow: hidden;
  font-family: 'Nunito', system-ui, sans-serif;
  background: #1a1208;
  user-select: none; -webkit-user-select: none;
  touch-action: none;
}

#stage {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at center, #1a1208 0%, #0d0906 70%);
  padding: 0;
}
/* Portrait / too-narrow nudge */
.rotate-nudge {
  position: fixed; inset: 0;
  display: none; align-items: center; justify-content: center;
  background: rgba(8,5,3,0.92);
  color: #ffe1a8;
  z-index: 100;
  font-family: 'Bangers', sans-serif;
  letter-spacing: 2px;
  font-size: 24px;
  text-align: center;
  padding: 24px;
}
.rotate-nudge .icon { font-size: 64px; margin-bottom: 16px; animation: rotSpin 2.2s ease-in-out infinite; display: inline-block; }
@keyframes rotSpin {
  0%, 40% { transform: rotate(0); }
  60%, 100% { transform: rotate(-90deg); }
}
@media (orientation: portrait) and (max-width: 900px) {
  .rotate-nudge { display: flex; flex-direction: column; }
}

/* iPad landscape stage: 1180 x 820 (iPad Pro 11" landscape-ish). Scales to fit viewport. */
#game {
  position: relative;
  width: 1180px; height: 820px;
  transform-origin: center center;
  transform: scale(var(--fit-s, 1)); /* set by fitStage() via CSS custom property */
  background-image: url('assets/Background1.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(0,0,0,0.6);
  border-radius: 22px;
  cursor: grab;
  flex-shrink: 0;
}
#game.dragging { cursor: grabbing; }
#game.chilli-hit { animation: chilliHit 0.55s ease-out; }
@keyframes chilliHit {
  0%   { transform: scale(var(--fit-s,1))           translate(0,0);     box-shadow: 0 0 80px rgba(0,0,0,0.6), inset 0 0 0 0   rgba(0,0,0,0); }
  15%  { transform: scale(calc(var(--fit-s,1)*0.96)) translate(-8px,2px); box-shadow: 0 0 80px rgba(0,0,0,0.6), inset 0 0 0 28px rgba(0,0,0,0.72); }
  32%  { transform: scale(calc(var(--fit-s,1)*0.965)) translate(8px,-2px); box-shadow: 0 0 80px rgba(0,0,0,0.6), inset 0 0 0 28px rgba(0,0,0,0.72); }
  50%  { transform: scale(var(--fit-s,1))           translate(-5px,1px); box-shadow: 0 0 80px rgba(0,0,0,0.6), inset 0 0 0 12px rgba(0,0,0,0.4); }
  70%  { transform: scale(var(--fit-s,1))           translate(3px,0);   box-shadow: 0 0 80px rgba(0,0,0,0.6), inset 0 0 0 4px  rgba(0,0,0,0.2); }
  100% { transform: scale(var(--fit-s,1))           translate(0,0);     box-shadow: 0 0 80px rgba(0,0,0,0.6), inset 0 0 0 0   rgba(0,0,0,0); }
}

/* Background dimmer to keep gameplay readable */
#bg-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(8,6,4,0.35) 0%, rgba(8,6,4,0.25) 50%, rgba(8,6,4,0.55) 100%);
  backdrop-filter: blur(1.5px) saturate(0.85);
  -webkit-backdrop-filter: blur(1.5px) saturate(0.85);
  pointer-events: none;
}

canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}

/* HUD */
.hud {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 24px 32px;
  display: flex; justify-content: space-between; align-items: flex-start;
  pointer-events: none;
  z-index: 5;
  gap: 12px;
}
.hud-right {
  display: flex; align-items: flex-start; gap: 10px;
  pointer-events: none;
}
.hud-right > * { pointer-events: auto; }

.stop-btn {
  pointer-events: auto;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(20, 12, 6, 0.72);
  border: 2px solid rgba(255, 220, 120, 0.35);
  color: #ffe1a8;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.1s ease, background 0.15s ease;
  margin-left: 0;
}
.stop-btn:hover { background: rgba(40, 24, 12, 0.85); transform: translateY(-1px); }
.stop-btn:active { transform: translateY(1px); }
.debug-csv-btn.hidden { display: none; }

.btn-alt {
  background: linear-gradient(180deg, #fff6e1 0%, #ffdc9a 100%) !important;
  color: #7a2a00 !important;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.4) !important;
  border-color: #7a2a00 !important;
}
.hud-card {
  background: rgba(20, 12, 6, 0.72);
  border: 2px solid rgba(255, 220, 120, 0.35);
  border-radius: 18px;
  padding: 12px 22px;
  color: #fff6d8;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.15s ease;
}
.hud-card .label {
  font-family: 'Bangers', sans-serif;
  font-size: 16px; letter-spacing: 3px;
  color: #f8c96c;
  line-height: 1;
  opacity: 0.9;
}
.hud-card .value {
  font-family: 'Bangers', sans-serif;
  font-size: 44px; letter-spacing: 2px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,0.4);
}
.hud-card.timer.urgent {
  border-color: #ff6a3d;
  animation: pulse 0.6s ease-in-out infinite alternate;
}
@keyframes pulse {
  from { transform: scale(1); box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
  to   { transform: scale(1.04); box-shadow: 0 4px 22px rgba(255,90,60,0.55); }
}

.score-icon {
  width: 74px; height: 60px;
  background-image: url('assets/FrenchFries_Score.png');
  background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
  transition: transform 0.2s ease;
}
.score-icon.fire {
  background-image: url('assets/FrenchFries_Score_Fire.png');
  width: 74px; height: 60px;
  animation: fireWobble 0.4s ease-in-out infinite alternate;
}
@keyframes fireWobble {
  from { transform: scale(1) rotate(-3deg); }
  to   { transform: scale(1.08) rotate(3deg); }
}

.combo-badge {
  position: absolute;
  top: 118px; left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.38);
  color: #ff8c2e;
  font-family: 'Bangers', sans-serif;
  letter-spacing: 4px;
  padding: 10px 30px;
  border-radius: 999px;
  font-size: 28px;
  /* box-shadow: 0 0 32px rgba(255, 80, 20, 0.5), 0 4px 18px rgba(0,0,0,0.55); */
  /* text-shadow: 0 0 16px rgba(255, 140, 50, 0.9); */
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}
.combo-badge.visible {
  animation: comboPop 0.52s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes comboPop {
  0%   { transform: translateX(-50%) scale(0.3) rotate(-8deg); opacity: 0; }
  55%  { transform: translateX(-50%) scale(1.25) rotate(4deg);  opacity: 1; }
  75%  { transform: translateX(-50%) scale(0.90) rotate(-2deg); }
  88%  { transform: translateX(-50%) scale(1.08) rotate(1deg);  }
  100% { transform: translateX(-50%) scale(1)    rotate(0deg);  opacity: 1; }
}

/* Drag hint */
.drag-hint {
  position: absolute; bottom: 24%; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 18px; font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.18);
  pointer-events: none;
  z-index: 5;
  animation: hintFloat 1.6s ease-in-out infinite alternate;
}
@keyframes hintFloat {
  from { transform: translate(-50%, 0); opacity: 0.85; }
  to   { transform: translate(-50%, -6px); opacity: 1; }
}
.drag-hint.hidden { display: none; }

/* Overlay screens */
.overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(20,10,4,0.55) 0%, rgba(5,3,2,0.85) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px;
  padding: 32px;
  z-index: 10;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.overlay.hidden { display: none; }

.panel {
  background: linear-gradient(180deg, #fff6e1 0%, #ffe1a8 100%);
  color: #3b1e00;
  border-radius: 28px;
  padding: 40px 48px 36px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55), inset 0 2px 0 rgba(255,255,255,0.6);
  max-width: 560px;
  width: 100%;
  border: 4px solid #c9860a;
}

.title {
  font-family: 'Bangers', sans-serif;
  font-size: 76px;
  letter-spacing: 3px;
  color: #c0450f;
  text-shadow: 3px 3px 0 #ffdc7a, 6px 6px 0 rgba(0,0,0,0.12);
  line-height: 0.95;
  margin-bottom: 10px;
}
.subtitle {
  font-weight: 900;
  font-size: 18px;
  color: #6a3a0a;
  letter-spacing: 0.5px;
  opacity: 0.85;
  margin-bottom: 18px;
}

.rules {
  display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 28px;
  margin: 16px 0 24px;
  padding: 18px 28px;
  background: rgba(255,255,255,0.55);
  border-radius: 18px;
  border: 2px dashed rgba(192, 69, 15, 0.4);
}
.rule {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; color: #3b1e00; text-align: center;
}
.rule .swatch {
  width: 48px; height: 48px;
  background-size: contain; background-repeat: no-repeat; background-position: center;
  flex-shrink: 0;
}
.rule .sw-fry { background-image: url('assets/FrenchFries_1.png'); }
.rule .sw-chilli { background-image: url('assets/Chilli_1.png'); }
.rule strong { color: #c0450f; }
.rule.bad strong { color: #8a2a0e; }

.big-score {
  font-family: 'Bangers', sans-serif;
  font-size: 108px;
  color: #c0450f;
  line-height: 1;
  letter-spacing: 3px;
  text-shadow: 4px 4px 0 #ffdc7a, 8px 8px 0 rgba(0,0,0,0.12);
}
.score-label {
  font-weight: 900;
  font-size: 15px;
  color: #6a3a0a;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 4px;
}

.stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin: 22px 0 12px;
}
.stat {
  background: rgba(255,255,255,0.6);
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(192, 69, 15, 0.25);
}
.stat .n {
  font-family: 'Bangers', sans-serif;
  font-size: 38px;
  color: #c0450f;
  letter-spacing: 1px;
}
.stat .l {
  font-size: 13px; font-weight: 900; color: #6a3a0a;
  letter-spacing: 2px; text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Bangers', sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
  padding: 14px 32px 14px 26px;
  background: linear-gradient(180deg, #ff8a2a 0%, #c0450f 100%);
  color: #fff6e1;
  border: 3px solid #7a2a00;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 6px 0 #7a2a00, 0 10px 20px rgba(0,0,0,0.3);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
  margin-top: 4px;
}
.ps5-btn-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.btn-alt .ps5-btn-icon {
  filter: brightness(0) invert(20%) sepia(100%) saturate(2000%) brightness(55%);
}
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #7a2a00, 0 4px 10px rgba(0,0,0,0.3);
}
.btn:hover { filter: brightness(1.06); }

/* Flash effects on full game for feedback */
.flash-good, .flash-bad {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 4;
}
.flash-good { background: radial-gradient(circle, rgba(255,220,100,0.35) 0%, transparent 70%); }
.flash-bad  { background: radial-gradient(circle, rgba(255,40,40,0.45) 0%, transparent 70%); }
.flash-good.ping { animation: flashPing 0.3s ease-out; }
.flash-bad.ping  { animation: flashPing 0.45s ease-out; }
@keyframes flashPing {
  0% { opacity: 0; }
  30% { opacity: 1; }
  100% { opacity: 0; }
}


/* Final countdown overlay */
#countdown {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bangers', sans-serif;
  font-size: 480px;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  line-height: 1;
  text-shadow: 0 0 80px rgba(255, 100, 30, 0.5);
}
#countdown.ping {
  animation: countdownPop 0.9s ease-out forwards;
}
@keyframes countdownPop {
  0%   { opacity: 0;    transform: scale(1.35); }
  12%  { opacity: 0.32; transform: scale(1); }
  70%  { opacity: 0.28; transform: scale(1); }
  100% { opacity: 0;    transform: scale(0.88); }
}

/* Pre-game controller hint */
#startHint {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 5;
  pointer-events: none;
  animation: fadeInHint 0.5s ease-out;
}
#startHint.hidden { display: none; }
#startHint img {
  width: 300px;
  opacity: 0.22;
  filter: grayscale(0.3);
  transform-origin: 50% 85%;
  animation: hintTilt 1.4s ease-in-out infinite;
}
.start-hint-text {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@keyframes fadeInHint {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes hintTilt {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(-7deg); }
  75%      { transform: rotate(7deg); }
}

/* DualSense connect button — lives in start screen panel */
.btn-ds {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 10px 24px;
  background: rgba(255,255,255,0.45);
  color: #5a3200;
  border: 2px solid rgba(192, 69, 15, 0.3);
  border-radius: 12px;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-ds:hover { background: rgba(255,255,255,0.65); }
.btn-ds.ds-connected {
  background: rgba(40, 200, 100, 0.18);
  border-color: #2ac464;
  color: #1a6e3a;
}

/* ── Leaderboard ─────────────────────────────────────────────────────────── */
.lb-panel {
  min-width: 320px;
  max-width: 460px;
  width: 90vw;
}
.lb-list-wrap {
  position: relative;
  margin-top: 10px;
}
.lb-list-wrap::before,
.lb-list-wrap::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 72px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lb-list-wrap::before {
  top: -4px;
  background: linear-gradient(to bottom, #fff0cc 0%, transparent 100%);
}
.lb-list-wrap::after {
  bottom: -4px;
  background: linear-gradient(to top, #ffe8b8 0%, transparent 100%);
}
.lb-list-wrap.fade-top::before    { opacity: 1; }
.lb-list-wrap.fade-bottom::after  { opacity: 1; }
.lb-list {
  list-style: none;
  padding: 3px 4px 8px;
  margin: 0 -4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: min(440px, 56vh);
  overflow-y: auto;
  scrollbar-width: none;
}
.lb-list::-webkit-scrollbar { display: none; }
.lb-action-btn {
  width: 100%;
  justify-content: center;
  font-size: 22px;
  padding: 10px 16px;
  box-sizing: border-box;
}
.lb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 12px;
  background: rgba(122, 42, 0, 0.07);
  font-family: 'Nunito', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #5a1e00;
}
.lb-row.lb-you {
  background: linear-gradient(135deg, #ff8a2a, #e05010);
  color: #fff6e1;
  box-shadow: 0 0 0 2px #7a2a00, 0 4px 10px rgba(0,0,0,0.2);
  padding: 10px 16px;
}
.lb-rank {
  width: 28px;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  color: #a06030;
}
.lb-rank.gold   { color: #b8880a; font-size: 16px; }
.lb-rank.silver { color: #808080; font-size: 16px; }
.lb-rank.bronze { color: #a05020; font-size: 16px; }
.lb-row.lb-you .lb-rank { color: #ffd580; }
.lb-name { flex: 1; }
.lb-score {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 1px;
}
.lb-sep {
  text-align: center;
  color: rgba(90, 30, 0, 0.3);
  font-size: 18px;
  letter-spacing: 6px;
  padding: 1px 0;
}
.lb-loading {
  text-align: center;
  color: rgba(90, 30, 0, 0.4);
  font-size: 20px;
  padding: 24px 0;
}
#leaderboardScreen .panel {
  animation: lbPanelIn 0.4s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}
@keyframes lbPanelIn {
  from { opacity: 0; transform: scale(0.9) translateY(24px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}

/* ── Satisfaction screen ─────────────────────────────────────────────────── */
.sat-panel { min-width: 360px; }
.sat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.sat-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 12px;
  background: rgba(255,255,255,0.55);
  border: 3px solid rgba(192,69,15,0.2);
  border-radius: 16px;
  cursor: pointer;
  font-family: 'Bangers', sans-serif;
  font-size: 22px;
  color: #3b1e00;
  letter-spacing: 1px;
  transition: background 0.12s, border-color 0.12s, transform 0.1s;
}
.sat-btn:hover, .sat-btn.selected {
  background: rgba(255,181,71,0.55);
  border-color: #c0450f;
  transform: scale(1.04);
}
.sat-emoji { font-size: 36px; line-height: 1; }
.sat-hints { margin-top: 16px; justify-content: center; gap: 24px; }

/* ── Name / Ready screen (step 2) ────────────────────────────────────────── */
.name-ready-row {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 10px 0 4px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.45);
  border-radius: 16px;
  border: 2px dashed rgba(192, 69, 15, 0.38);
}
.name-ready-label {
  font-family: 'Bangers', sans-serif; font-size: 15px; letter-spacing: 2px;
  color: #a05a20; opacity: 0.75; flex-shrink: 0;
}
.name-ready-value {
  font-family: 'Bangers', sans-serif; font-size: 32px; letter-spacing: 1px;
  color: #c0450f; flex: 1; text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.name-edit-inline {
  font-size: 18px !important;
  padding: 8px 16px 8px 12px !important;
  box-shadow: 0 4px 0 #7a2a00, 0 6px 14px rgba(0,0,0,0.22) !important;
  margin-top: 0 !important;
  flex-shrink: 0;
}

/* ── Virtual keyboard overlay ────────────────────────────────────────────── */
.kb-panel {
  max-width: 620px !important;
  padding: 24px 28px 20px !important;
}
.kb-title {
  font-family: 'Bangers', sans-serif; font-size: 42px; letter-spacing: 3px;
  color: #c0450f; text-shadow: 2px 2px 0 #ffdc7a; margin-bottom: 10px;
  text-align: center;
}
.kb-input-wrap {
  background: rgba(255,255,255,0.65);
  border: 2px solid rgba(192, 69, 15, 0.45);
  border-radius: 12px;
  padding: 8px 16px;
  min-height: 52px;
  display: flex; align-items: center;
  margin-bottom: 12px;
  font-family: 'Bangers', sans-serif; font-size: 28px;
  color: #3b1e00; letter-spacing: 2px;
}
.kb-cursor {
  animation: cursorBlink 0.8s step-end infinite;
  color: #c0450f; font-size: 30px; margin-left: 1px;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.kb-dup-warn {
  font-size: 14px;
  color: #c0450f;
  text-align: center;
  margin: -6px 0 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0.85;
}
.kb-grid {
  display: flex; flex-direction: column; gap: 5px; align-items: center;
  margin-bottom: 10px;
}
.kb-row { display: flex; gap: 5px; }
.kb-key {
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.72);
  border: 2px solid rgba(192, 69, 15, 0.28);
  border-radius: 8px;
  font-family: 'Bangers', sans-serif; font-size: 20px; letter-spacing: 1px;
  color: #5a1e00; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.08s ease, transform 0.08s ease;
  flex-shrink: 0;
}
.kb-key:hover  { background: rgba(255,200,120,0.7); }
.kb-key:active { transform: scale(0.92); }
.kb-key.selected {
  background: linear-gradient(180deg, #ff8a2a 0%, #c0450f 100%);
  color: #fff6e1; border-color: #7a2a00;
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}
.kb-wide { width: 130px; }
.kb-done {
  width: 110px;
  background: linear-gradient(180deg, #fff6e1 0%, #ffdc9a 100%);
  color: #7a2a00; border-color: #c9860a;
}
.kb-done.selected {
  background: linear-gradient(180deg, #ff8a2a 0%, #c0450f 100%);
  color: #fff6e1; border-color: #7a2a00;
}
.kb-hints {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  font-size: 16px; font-weight: 800; color: #6a3a0a; opacity: 0.82;
  margin-top: 8px;
}
.kb-hints span { display: flex; align-items: center; gap: 6px; }
.kb-hints .ps5-btn-icon { width: 24px; height: 24px; }

