* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Press Start 2P', cursive, sans-serif;
  user-select: none;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #87ceeb !important; /* Forza lo stesso azzurro del cielo */
}

#webgl-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 1;
}

/* --- UI OVERLAY --- */
#ui-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important;
}

/* PULSANTI AZIONE (START / CONTINUE) */
.btn-retro {
  padding: 20px 50px;
  font-size: 1.2rem;
  color: white;
  background: #43b047;
  border: 5px solid #fff;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 0 #286e2b, 0 10px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.1s ease;
  pointer-events: auto;
}

.btn-retro:hover {
  transform: scale(1.06);
  background: #4de052;
}

.btn-retro:active {
  transform: translateY(4px);
  box-shadow: 0 3px 0 #286e2b;
}

/* BOX MENÙ */
.menu-card {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.85);
  border: 5px solid #fff;
  border-radius: 20px;
  padding: 45px 40px;
  max-width: 850px;
  width: 92%;
  text-align: center;
  color: white;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* WELCOME SCREEN */
#welcome-screen h1 {
  font-size: 2.4rem;
  color: #e52521;
  text-shadow: 4px 4px 0px #fbd000, 6px 6px 0px #000;
  margin-bottom: 25px;
  line-height: 1.4;
}

#welcome-screen p {
  font-size: 0.8rem;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 35px;
}

/* SELEZIONE PERSONAGGIO */
#name-screen {
  display: none;
}

.subtitle {
  font-size: 0.7rem;
  color: #fbd000;
  margin-bottom: 12px;
}

#name-screen h2 {
  font-size: 1.3rem;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 25px;
}

.char-selector {
  display: flex;
  gap: 30px;
  margin-bottom: 35px;
  width: 100%;
  justify-content: center;
}

.char-card {
  flex: 1;
  padding: 25px 20px;
  min-height: 260px;
  background: rgba(30, 30, 30, 0.9);
  border: 5px solid #555;
  border-radius: 18px;
  color: #aaa;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: all 0.2s ease;
}

.char-card img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.8));
  transition: transform 0.2s ease;
}

.char-card:hover img {
  transform: scale(1.12);
}

.char-card.selected-mario {
  border-color: #e52521;
  background: rgba(139, 0, 0, 0.88);
  color: #fff;
  box-shadow: 0 0 25px rgba(229, 37, 33, 0.7);
  transform: scale(1.05);
}

.char-card.selected-luigi {
  border-color: #43b047;
  background: rgba(30, 89, 33, 0.88);
  color: #fff;
  box-shadow: 0 0 25px rgba(67, 176, 71, 0.7);
  transform: scale(1.05);
}

.input-group {
  width: 100%;
  margin-bottom: 35px;
}

#hero-name-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  border: 4px solid #fbd000;
  border-radius: 10px;
  background: #000;
  color: #fff;
  outline: none;
  text-align: center;
}

/* --- HUD TRASPARENTE A SCHERMO INTERO --- */
#hud {
  display: none;
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none;
  z-index: 100;
}

/* Posizionamento Angoli */
.hud-top-left {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.hud-bottom-left {
  position: absolute;
  bottom: 25px;
  left: 25px;
  display: flex;
  align-items: center;
}

.hud-bottom-right {
  position: absolute;
  bottom: 25px;
  right: 25px;
  display: flex;
  align-items: center;
}

/* 1. Unico Box Rimanente: Profilo Giocatore (Icona + Nome) */
.hud-profile {
  background: rgba(0, 0, 0, 0.75);
  padding: 8px 16px;
  border-radius: 10px;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 0.85rem;
  text-shadow: 2px 2px 0px #000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

#hud img {
  max-width: 48px !important;
  max-height: 48px !important;
  width: 48px !important;
  height: 48px !important;
  object-fit: contain;
  display: inline-block;
}

#hud-char-icon {
  max-width: 44px !important;
  max-height: 44px !important;
  width: 44px !important;
  height: 44px !important;
}

.hud-stat-clean {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 3px 3px 0px #000, -1px -1px 0px #000, 1px -1px 0px #000, -1px 1px 0px #000;
}

.count-prefix {
  color: #fff;
  font-size: 1.2rem;
  margin-right: 2px;
  text-shadow: 3px 3px 0px #000;
}

/* Icone e Emoji Ingrandite */
.hud-icon-lg {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(3px 3px 0px #000);
}

.emoji-fallback-lg {
  font-size: 2.2rem;
  line-height: 1;
  filter: drop-shadow(3px 3px 0px #000);
}

/* --- BARRA VITA BOSS (Bowser/Kamek) ---
   Mostrata solo mentre il giocatore è sull'arena del boss (vedi
   UIManager.showBossHealthBar/hideBossHealthBar, pilotate da main.js). */
.boss-hp-bar {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.75);
  padding: 16px 32px;
  border-radius: 14px;
  border: 4px solid #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
  z-index: 90;
  pointer-events: none;
}

.boss-hp-bar.hidden {
  display: none !important;
}

.boss-hp-name {
  color: #fff;
  font-size: 1.3rem;
  letter-spacing: 2px;
  text-shadow: 3px 3px 0px #000;
}

.boss-hp-blocks {
  display: flex;
  gap: 6px;
}

.boss-hp-block {
  width: 40px;
  height: 28px;
  background: #fbd000;
  border: 3px solid #000;
  border-radius: 3px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease;
}

/* A block turns dark once the boss has taken that hit -- see
   UIManager.updateBossHealthBar, which blackens hitsTaken blocks starting
   from the right end. */
.boss-hp-block.hit {
  background: #222;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* --- PULSANTE PAUSA / SETTINGS IN GIOCO --- */
.pause-btn {
position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border: 3px solid #fff;
    border-radius: 8px;
    padding: 11px 16px;
    font-size: 0.8rem;
    cursor: pointer;
    z-index: 100;
    pointer-events: auto;
    box-shadow: 0 4px 0 #000;
    transition: transform 0.1s ease, background 0.2s ease;
}

.pause-btn:hover {
  background: #e52521;
  transform: scale(1.05);
}

.pause-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #000;
}

/* OVERLAY SCURO A SCHERMO INTERO (Blocca tutti i click sotto) */
.pause-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 75px 20px 20px 20px; /* Spazio in alto per non coprire col pannello */
  pointer-events: auto;
}

.pause-overlay.hidden {
  display: none !important;
}

/* 🔴 TASTO RESUME (In alto a destra, sopra il tasto Settings oscurato) */
.resume-btn {
  position: absolute;
    top: 20px;
    right: 20px;
    background: #e52521;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 8px;
    padding: 10px 41px;
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 201;
    box-shadow: 0 4px 0 #8b0000;
    transition: transform 0.1s ease, background 0.2s ease;
}

.resume-btn:hover {
  background: #ff3b30;
  transform: scale(1.05);
}

.resume-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #8b0000;
}

/* PANNELLO IMPOSTAZIONI */
.settings-panel {
  width: 380px;
  background: rgba(0, 0, 0, 0.95);
  border: 5px solid #fff;
  border-radius: 16px;
  padding: 24px 20px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  /* The controls list grew (camera + interact rows) — cap the panel's
     height and let it scroll internally instead of overflowing the
     viewport on shorter screens. */
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.settings-header {
  display: flex;
  justify-content: center; /* Titolo centrato */
  align-items: center;
  margin-bottom: 20px;
}

.settings-header h2 {
  font-size: 1.1rem;
  color: #fbd000;
  text-shadow: 2px 2px 0px #000;
  margin: 0;
  text-align: center;
}

/* REGOLATORI VOLUME (SLIDER) */
.setting-item {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.setting-item label {
  font-size: 0.65rem;
  color: #fff;
}

.slider-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-group input[type="range"] {
  flex: 1;
  accent-color: #fbd000;
  cursor: pointer;
  height: 8px;
  background: #333;
  border-radius: 4px;
  border: 1px solid #fff;
}

.slider-group span {
  font-size: 0.65rem;
  width: 45px;
  text-align: right;
  color: #fbd000;
}

.settings-divider {
  border: 0;
  height: 2px;
  background: #555;
  margin: 16px 0;
}

/* SEZIONE COMANDI DI GIOCO */
.controls-section h3 {
  font-size: 0.7rem;
  color: #43b047;
  text-shadow: 1px 1px 0px #000;
  margin-bottom: 16px;
  text-align: left;
}

.control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.keys-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.key-row {
  display: flex;
  gap: 4px;
}

.key-badge {
  background: #fff;
  color: #000;
  font-size: 0.65rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 2px solid #000;
  box-shadow: 0 3px 0 #aaa;
  font-weight: bold;
}

.key-badge.wide {
  width: auto;
  padding: 0 16px;
}

.control-label {
  font-size: 0.65rem;
  color: #fff;
}

/* --- OVERLAY GAME OVER --- */
.game-over-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.game-over-overlay.hidden {
  display: none !important;
}

.game-over-card {
  width: 580px !important;
  max-width: 90vw;
  padding: 35px 40px !important;
  text-align: center;
  border: 4px solid #e52521 !important;
  box-shadow: 0 0 35px rgba(229, 37, 33, 0.7) !important;
}

.game-over-title {
  font-size: 2.2rem;
  color: #e52521;
  text-shadow: 3px 3px 0px #000;
  margin-bottom: 15px;
  animation: pulse-red 1.2s infinite alternate ease-in-out;
}

.game-over-card img,
#game-over-img {
  max-width: 320px !important;
  max-height: 250px !important;
  width: 100%;
  height: auto;
  margin: 25px auto !important;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(229, 37, 33, 0.6));
}

@keyframes pulse-red {
  0% {
    transform: scale(1);
    text-shadow: 3px 3px 0px #000, 0 0 10px #e52521;
  }
  100% {
    transform: scale(1.06);
    text-shadow: 3px 3px 0px #000, 0 0 25px #e52521;
  }
}

.btn-red {
  background-color: #e52521 !important;
  box-shadow: 0 4px 0 #8b0000 !important;
  margin-top: 15px;
}

.btn-red:hover {
  background-color: #ff3b30 !important;
}

/* --- OVERLAY VITTORIA --- */
.win-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.win-overlay.hidden {
  display: none !important;
}

.win-card {
  width: 580px !important;
  max-width: 90vw;
  padding: 35px 40px !important;
  text-align: center;
  border: 4px solid #fbd000 !important;
  box-shadow: 0 0 35px rgba(251, 208, 0, 0.7) !important;
}

.win-title {
  font-size: 2.2rem;
  color: #fbd000;
  text-shadow: 3px 3px 0px #000;
  margin-bottom: 15px;
  animation: pulse-gold 1.2s infinite alternate ease-in-out;
}

/* Stesso trattamento dell'immagine del game over, con l'alone dorato della
   scheda di vittoria al posto di quello rosso. */
.win-card img,
#win-img {
  max-width: 320px !important;
  max-height: 220px !important;
  width: 100%;
  height: auto;
  margin: 20px auto !important;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(251, 208, 0, 0.6));
}

@keyframes pulse-gold {
  0% {
    transform: scale(1);
    text-shadow: 3px 3px 0px #000, 0 0 10px #fbd000;
  }
  100% {
    transform: scale(1.06);
    text-shadow: 3px 3px 0px #000, 0 0 25px #fbd000;
  }
}

.btn-gold {
  background-color: #fbd000 !important;
  color: #3a2a00 !important;
  box-shadow: 0 4px 0 #a68600 !important;
  margin-top: 15px;
}

/* "REACH PRINCESS PEACH" è quasi il doppio di "RESTART GAME" e con il
   padding standard di btn-retro andava a capo dentro il pulsante. Si
   toccano solo margini interni e corpo del testo: colori, bordo e ombra
   restano quelli di tutti gli altri tasti. */
#win-peach-btn {
  padding-left: 28px;
  padding-right: 28px;
  font-size: 1.05rem;
  white-space: nowrap;
}

/* L'immagine della schermata finale (the_end.png, 801x997) contiene DUE
   personaggi invece dell'uno del peach_logo per cui erano tarati i limiti
   qui sopra: con il tetto condiviso di 220px veniva disegnata a 177x220,
   cioe' ~85px a testa, e non si capiva chi fossero. Qui sale a 300px.

   Il tetto pero' NON e' fisso: il resto della scheda (titolo, riga di
   testo, margini, pulsante) occupa circa 320px, quindi a 300px di immagine
   la card arriva a 619px e su una finestra bassa non ci sta piu' — a
   800x560 sbordava sopra e sotto. calc(100vh - 340px) e' esattamente
   "quanto spazio resta all'immagine", e min() lascia i 300px pieni finche'
   ce n'e' abbastanza: 300 a 700px di finestra, 280 a 620, 220 a 560.

   width:auto invece del 100% ereditato: cosi' e' l'altezza a guidare e la
   larghezza segue le proporzioni, senza le bande vuote ai lati che
   object-fit lasciava dentro un riquadro piu' largo dell'immagine.
   La scheda di vittoria precedente non e' toccata. */
#victory-finale-img {
  width: auto;
  max-width: 100% !important;
  max-height: min(300px, calc(100vh - 340px)) !important;
}

.btn-gold:hover {
  background-color: #ffe14d !important;
}
/* --- TASTO MUTE IN ALTO A DESTRA --- */
.mute-button {
  position: absolute;
  top: 20px;
  right: 200px;/* Posizionato a sinistra del tasto Pause/Settings */
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: 3px solid #fff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 100;
  pointer-events: auto;
  box-shadow: 0 4px 0 #000;
  transition: transform 0.1s ease, background 0.2s ease;
}

.mute-button:hover {
  background: #fbd000;
  transform: scale(1.05);
}

.mute-button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #000;
}

/* --- PULSANTE TORNA AL MENU PRINCIPALE (Nel Pannello di Pausa) --- */
#btn-return-menu {
  width: 100%;
  margin-top: 15px;
  padding: 12px 10px;
  font-size: 0.65rem;
  color: #fff;
  background: #e52521;
  border: 3px solid #fff;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 0 #8b0000;
  transition: transform 0.1s ease, background 0.2s ease;
  pointer-events: auto;
  font-family: 'Press Start 2P', cursive, sans-serif;
}

#btn-return-menu:hover {
  background: #ff3b30;
  transform: scale(1.03);
}

#btn-return-menu:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #8b0000;
}

/* --- LOADING SCREEN --- */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loading-title {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 20px;
  text-shadow: 3px 3px 0 #e52521;
  animation: pulse-red 1s infinite alternate;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 8px solid #333;
  border-top: 8px solid #fbd000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}
.loading-bar-container {
  width: 60%;
  max-width: 400px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 10px;
  margin-top: 25px;
  overflow: hidden;
  background: #333;
  box-shadow: 0 4px 0 #000;
}

.loading-bar {
  width: 0%;
  height: 100%;
  background: #fbd000; /* Giallo Mario */
  transition: width 0.1s linear;
}

#loading-text {
  color: #fff;
  margin-top: 15px;
  font-size: 0.8rem;
  text-shadow: 2px 2px 0 #000;
}

/* --- INTERACTIONS (js/interactions/) --- */

/* Toad's 25-coin quest progress, docked under the boss HP bar's spot at
   top-center so it never overlaps the star/coin counters at the corners. */
.quest-hud {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fbd000;
  padding: 10px 22px;
  border-radius: 12px;
  border: 3px solid #fff;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 #000;
  z-index: 88;
  pointer-events: none;
}

.quest-hud.hidden {
  display: none !important;
}

/* Sequential quest objective panel — top-right, docked just under the
   pause button (see QuestManager._renderObjective). */
.quest-objective {
  position: absolute;
  top: 74px;
  right: 20px;
  max-width: 250px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  border: 3px solid #fbd000;
  font-size: 0.6rem;
  line-height: 1.7;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 0 #000;
  text-align: left;
  z-index: 89;
  pointer-events: none;
}

.quest-objective.hidden {
  display: none !important;
}

/* "Get off Yoshi to use the Warp Star" warning — bottom-center, sits above
   the interaction prompt so the two never overlap. */
.yoshi-warp-warning {
  position: absolute;
  bottom: 150px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(80, 0, 0, 0.85);
  color: #fff;
  padding: 10px 22px;
  border-radius: 10px;
  border: 3px solid #e52521;
  font-size: 0.68rem;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 0 #000;
  white-space: nowrap;
  z-index: 97;
  pointer-events: none;
}

.yoshi-warp-warning.hidden {
  display: none !important;
}

/* "Premi E per ..." prompt, bottom-center — out of the way of the
   bottom-left/bottom-right HUD stat boxes. */
.interaction-prompt {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  border: 3px solid #fbd000;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 #000;
  z-index: 95;
  pointer-events: none;
  white-space: nowrap;
}

.interaction-prompt.hidden {
  display: none !important;
}

/* Brief quest feedback toast, top-center — sits below the quest HUD/boss
   HP bar rather than on top of them. */
.toast {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #43b047;
  padding: 12px 26px;
  border-radius: 12px;
  border: 3px solid #43b047;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 0 #000;
  max-width: 70vw;
  text-align: center;
  z-index: 96;
  pointer-events: none;
}

.toast.hidden {
  display: none !important;
}

/* Peach's ending speech bubble, anchored to the left side of the frame per
   spec (the fixed cinematic camera keeps Peach herself off to the right). */
.dialogue-box {
  position: absolute;
  left: 5vw;
  bottom: 12vh;
  width: min(480px, 42vw);
  background: rgba(0, 0, 0, 0.85);
  border: 4px solid #fbd000;
  border-radius: 16px;
  padding: 22px 26px;
  color: #fff;
  z-index: 200;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.dialogue-box.hidden {
  display: none !important;
}

.dialogue-speaker {
  color: #ff6fae;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-shadow: 2px 2px 0 #000;
}

.dialogue-text {
  font-size: 0.75rem;
  line-height: 1.7;
  letter-spacing: 0.5px;
}

.dialogue-hint {
  margin-top: 16px;
  font-size: 0.55rem;
  color: #fbd000;
  opacity: 0.85;
}