/* Grundlage: Schriften, Material-Tokens, Raumlicht, Layout-Ebenen, gemeinsame Bausteine.
   Designrichtung v2 "Wichtelwerkstatt bei Kerzenlicht" (docs/design-v2.md). */

@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display-latin-800-normal.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display-latin-600-italic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
/* Nur noch für bestehende Türchen-Inhalte, in der Oberfläche nicht mehr verwenden */
@font-face {
  font-family: 'Mountains of Christmas';
  src: url('/fonts/mountains-of-christmas-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Mountains of Christmas';
  src: url('/fonts/mountains-of-christmas-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('/fonts/nunito-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Materialfarben (Namen aus v1 bleiben erhalten, Werte sind gedeckt) */
  --c-night: #0c1622; /* Nachtblau */
  --c-night-2: #15202d;
  --c-pine: #1f3d2b; /* Tannengrün */
  --c-pine-deep: #11241a;
  --c-pine-light: #2f5a40;
  --c-red: #8e1b1f; /* Siegellack */
  --c-red-bright: #b12c2f;
  --c-red-deep: #5a0f13;
  --c-gold: #b08d4a; /* Messing/Altgold, matt */
  --c-gold-bright: #e2c684; /* Lichtkante */
  --c-gold-deep: #7a5b28;
  --c-brass-shadow: #5b4320;
  --c-cream: #f1e6d0; /* Elfenbein */
  --c-snow: #fbf6ea;
  --c-ink: #17110c; /* Ruß */
  --c-wood: #4a2e1c; /* Nussbaum */
  --c-wood-dark: #24150c;
  --c-candle: #ffcf8a; /* Kerzenwarm */
  --c-kraft: #b99a6b;

  /* Flächen (keine glatten Zweifarb-Verläufe: mehrere Stufen wie bei echtem Material) */
  --g-gold: linear-gradient(176deg, #d8bd7e 0%, #b9975a 22%, #a5833f 52%, #8f6f33 78%, #ab8a4c 100%);
  --g-red: linear-gradient(176deg, #a8292c 0%, #8e1b1f 46%, #6c1216 100%);
  --g-pine: linear-gradient(176deg, #2c5640 0%, #1f3d2b 48%, #11241a 100%);
  --g-night: radial-gradient(120% 90% at 30% 0%, #1d1611 0%, #130e0b 45%, #0a0706 100%);

  /* Prozedurale Texturen (SVG-Filter, nur als Hintergrundbild verwenden).
     Leistung: /js/textures.js rastert jede davon beim Start EINMAL zu einer kleinen Bitmap (Blob-URL) und
     überschreibt diese Variablen auf :root. Die SVG-Fassung hier ist nur der Rückfall bis dahin. */
  --tx-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.1 0 0 0 -.42'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23f)'/%3E%3C/svg%3E");
  --tx-grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='19' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .85 1.1 0 0 0 -.44'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23f)'/%3E%3C/svg%3E");
  --tx-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.5' numOctaves='3' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .3 0 0 0 0 .16 .75 0 0 0 -.27'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23f)'/%3E%3C/svg%3E");
  --tx-wood: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='256'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .32' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .07 0 0 0 0 .035 0 0 0 0 .015 2.4 0 0 0 -.95'/%3E%3C/filter%3E%3Crect width='512' height='256' filter='url(%23f)'/%3E%3C/svg%3E");
  --tx-wood-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='512'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.3 .011' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .07 0 0 0 0 .035 0 0 0 0 .015 2.4 0 0 0 -.95'/%3E%3C/filter%3E%3Crect width='256' height='512' filter='url(%23f)'/%3E%3C/svg%3E");
  --tx-brushed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='120'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .9' numOctaves='2' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .1 0 0 0 0 .03 1.3 0 0 0 -.5'/%3E%3C/filter%3E%3Crect width='320' height='120' filter='url(%23f)'/%3E%3C/svg%3E");

  /* Schrift */
  --font-display: 'Playfair Display', 'Palatino Linotype', 'Book Antiqua', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Maße */
  --radius-s: 5px;
  --radius-m: 9px;
  --radius-l: 14px;
  /* Schatten fallen nach rechts unten (Hauptlicht links oben): Kontaktschatten + weicher Schlagschatten */
  --shadow-soft: 1px 2px 3px rgba(0, 0, 0, 0.5), 6px 12px 26px rgba(0, 0, 0, 0.4);
  --shadow-deep: 2px 3px 5px rgba(0, 0, 0, 0.6), 12px 26px 56px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 0 18px rgba(255, 207, 138, 0.26);
  --focus-ring: #ffcf8a;

  /* Bewegung */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.3, 1.25, 0.5, 1); /* nur noch ein kurzes Nachfedern */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

/* Die Stube: dunkler Raum, Kerzenlicht von links oben, kühles Fenster rechts, unscharfe Lichter */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--c-cream);
  background-color: #0d0907;
  background-image:
    /* Vignette */
    radial-gradient(125% 95% at 46% 44%, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.42) 82%, rgba(0, 0, 0, 0.74) 100%),
    /* Bokeh der Lichterkette: weiche Scheiben mit etwas hellerem Rand, verschiedene Größen */
    radial-gradient(circle at 7% 15%, rgba(255, 196, 120, 0.17) 0, rgba(255, 196, 120, 0.16) 3.1vmin, rgba(255, 206, 140, 0.24) 3.6vmin, rgba(255, 196, 120, 0) 4.3vmin),
    radial-gradient(circle at 16% 7%, rgba(255, 226, 180, 0.13) 0, rgba(255, 226, 180, 0.12) 1.7vmin, rgba(255, 226, 180, 0.19) 2vmin, rgba(255, 226, 180, 0) 2.6vmin),
    radial-gradient(circle at 25% 19%, rgba(255, 180, 96, 0.1) 0, rgba(255, 180, 96, 0.1) 4.6vmin, rgba(255, 190, 110, 0.15) 5.2vmin, rgba(255, 180, 96, 0) 6.2vmin),
    radial-gradient(circle at 38% 5%, rgba(170, 62, 54, 0.13) 0, rgba(170, 62, 54, 0.12) 2.3vmin, rgba(190, 80, 70, 0.17) 2.7vmin, rgba(170, 62, 54, 0) 3.4vmin),
    radial-gradient(circle at 57% 11%, rgba(255, 214, 150, 0.1) 0, rgba(255, 214, 150, 0.1) 3.4vmin, rgba(255, 214, 150, 0.15) 3.9vmin, rgba(255, 214, 150, 0) 4.8vmin),
    radial-gradient(circle at 71% 4%, rgba(92, 140, 104, 0.11) 0, rgba(92, 140, 104, 0.1) 2vmin, rgba(110, 160, 122, 0.15) 2.4vmin, rgba(92, 140, 104, 0) 3vmin),
    radial-gradient(circle at 84% 17%, rgba(255, 200, 130, 0.12) 0, rgba(255, 200, 130, 0.11) 2.7vmin, rgba(255, 210, 150, 0.18) 3.1vmin, rgba(255, 200, 130, 0) 3.8vmin),
    radial-gradient(circle at 94% 8%, rgba(255, 228, 190, 0.1) 0, rgba(255, 228, 190, 0.1) 4.2vmin, rgba(255, 228, 190, 0.14) 4.7vmin, rgba(255, 228, 190, 0) 5.6vmin),
    radial-gradient(circle at 3% 46%, rgba(255, 186, 104, 0.08) 0, rgba(255, 186, 104, 0.08) 5.4vmin, rgba(255, 186, 104, 0.12) 6vmin, rgba(255, 186, 104, 0) 7.2vmin),
    radial-gradient(circle at 97% 52%, rgba(160, 58, 52, 0.08) 0, rgba(160, 58, 52, 0.08) 3.6vmin, rgba(160, 58, 52, 0.12) 4.1vmin, rgba(160, 58, 52, 0) 5vmin),
    /* kühles Fensterlicht von rechts */
    radial-gradient(46% 58% at 96% 30%, rgba(46, 74, 110, 0.3) 0%, rgba(30, 50, 80, 0.12) 50%, rgba(12, 22, 34, 0) 100%),
    /* Wand: warmes, sehr dunkles Braun, nach unten in Ruß auslaufend */
    linear-gradient(180deg, #1a130e 0%, #17100b 38%, #110b08 70%, #0a0705 100%);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* Kerzenschein: liegt hinter dem Schnee und flackert leicht und unregelmäßig */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(62% 56% at 14% 4%, rgba(255, 190, 112, 0.2) 0%, rgba(255, 170, 90, 0.08) 46%, rgba(255, 170, 90, 0) 100%),
    radial-gradient(40% 30% at 30% 100%, rgba(255, 170, 90, 0.07) 0%, rgba(255, 170, 90, 0) 100%);
  /* Leistung: nur Deckkraft animieren (die Animation selbst sorgt für die eigene GPU-Ebene) */
  animation: candle-flicker 9.7s linear infinite;
}
/* Solange der deckende Kalender-Bildschirm davor liegt (main.js setzt .is-covered), ruht das Flackern */
.is-covered body::before {
  animation-play-state: paused;
}
@keyframes candle-flicker {
  0% {
    opacity: 0.86;
  }
  6% {
    opacity: 0.78;
  }
  9% {
    opacity: 0.92;
  }
  17% {
    opacity: 0.83;
  }
  22% {
    opacity: 0.97;
  }
  31% {
    opacity: 0.8;
  }
  35% {
    opacity: 0.9;
  }
  47% {
    opacity: 0.84;
  }
  56% {
    opacity: 1;
  }
  61% {
    opacity: 0.87;
  }
  73% {
    opacity: 0.94;
  }
  79% {
    opacity: 0.79;
  }
  88% {
    opacity: 0.91;
  }
  100% {
    opacity: 0.86;
  }
}

/* Filmkorn über der ganzen Szene (statisch, wirksam rund 5 %) */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  /* Leistung: Korn liegt HINTER der Oberfläche (nicht über Spielen und Dialogen), eigene Ebene, nie neu gezeichnet */
  z-index: 0;
  pointer-events: none;
  background-image: var(--tx-grain);
  opacity: 0.4;
  transform: translateZ(0);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0.005em;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(176, 141, 74, 0.55);
  color: #fff8e6;
}

/* Ebenen */
#snow-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
#app {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}
#hud {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 60;
  display: flex;
  gap: 8px;
  align-items: center;
  /* in sich geschlossen (ohne paint, sonst würden die Schlagschatten der Knöpfe beschnitten) */
  contain: layout style;
}
#modal-root {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}
#modal-root > * {
  pointer-events: auto;
}
#fx-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  pointer-events: none;
}

/* Ein Bildschirm füllt #app komplett */
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: auto;
  animation: screen-in 0.7s var(--ease-out) both;
}
.screen.is-leaving {
  animation: screen-out 0.35s ease-in both;
  pointer-events: none;
}
@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes screen-out {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* Altgold-Schrift: Vollton mit feiner Prägekante, kein Verlauf */
.gold-text {
  color: #cfae6a;
  text-shadow:
    0 1px 0 rgba(255, 236, 190, 0.2),
    0 -1px 0 rgba(28, 17, 5, 0.9),
    0 3px 12px rgba(0, 0, 0, 0.55);
}

/* Hauptknopf: Siegellack-rot lackiert, in Messing gefasst */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 30px;
  border: 1px solid #6f5527;
  border-radius: 9px;
  background-color: var(--c-red);
  background-image: var(--tx-grain), linear-gradient(176deg, #a8292c 0%, #8e1b1f 46%, #6c1216 100%);
  color: #f6ead4;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  text-shadow:
    0 -1px 0 rgba(40, 4, 6, 0.8),
    0 1px 0 rgba(255, 190, 170, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 208, 188, 0.4),
    inset 1px 0 0 rgba(255, 208, 188, 0.12),
    inset 0 -2px 0 rgba(30, 3, 5, 0.42),
    inset -1px 0 0 rgba(30, 3, 5, 0.3),
    0 0 0 1px #1a0c06,
    0 3px 0 #3a2a12,
    1px 5px 3px rgba(0, 0, 0, 0.55),
    6px 13px 24px rgba(0, 0, 0, 0.42);
  /* Leistung: nur transform wird überblendet, Schatten und Helligkeit wechseln sofort */
  transition: transform 0.14s var(--ease-out);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 208, 188, 0.45),
    inset 1px 0 0 rgba(255, 208, 188, 0.14),
    inset 0 -2px 0 rgba(30, 3, 5, 0.42),
    inset -1px 0 0 rgba(30, 3, 5, 0.3),
    0 0 0 1px #1a0c06,
    0 4px 0 #3a2a12,
    1px 6px 4px rgba(0, 0, 0, 0.5),
    8px 16px 28px rgba(0, 0, 0, 0.42);
}
.btn:active {
  transform: translateY(2px);
  filter: brightness(0.96);
  box-shadow:
    inset 0 2px 3px rgba(30, 3, 5, 0.5),
    inset 0 -1px 0 rgba(255, 208, 188, 0.12),
    0 0 0 1px #1a0c06,
    0 1px 0 #3a2a12,
    0 2px 2px rgba(0, 0, 0, 0.6),
    2px 4px 8px rgba(0, 0, 0, 0.4);
}
.btn:focus-visible,
.hud-btn:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}
.btn[disabled] {
  filter: saturate(0.55) brightness(0.78);
  cursor: not-allowed;
  transform: none;
}

/* Variante: gebürstetes Messing mit gravierter Schrift */
.btn--gold {
  border-color: #4d3a17;
  background-color: var(--c-gold);
  background-image:
    var(--tx-brushed),
    linear-gradient(176deg, #dcc388 0%, #bd9c5d 20%, #a7853f 52%, #94743a 76%, #b3924f 100%);
  color: #2a1b08;
  text-shadow:
    0 1px 0 rgba(255, 240, 200, 0.55),
    0 -1px 0 rgba(60, 40, 10, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 214, 0.75),
    inset 1px 0 0 rgba(255, 246, 214, 0.3),
    inset 0 -2px 0 rgba(70, 48, 14, 0.5),
    inset -1px 0 0 rgba(70, 48, 14, 0.3),
    0 0 0 1px #1a1206,
    0 3px 0 #4a3716,
    1px 5px 3px rgba(0, 0, 0, 0.55),
    6px 13px 24px rgba(0, 0, 0, 0.42);
}
.btn--gold:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 214, 0.8),
    inset 1px 0 0 rgba(255, 246, 214, 0.32),
    inset 0 -2px 0 rgba(70, 48, 14, 0.5),
    inset -1px 0 0 rgba(70, 48, 14, 0.3),
    0 0 0 1px #1a1206,
    0 4px 0 #4a3716,
    1px 6px 4px rgba(0, 0, 0, 0.5),
    8px 16px 28px rgba(0, 0, 0, 0.42);
}
.btn--gold:active {
  box-shadow:
    inset 0 2px 3px rgba(70, 48, 14, 0.55),
    inset 0 -1px 0 rgba(255, 246, 214, 0.3),
    0 0 0 1px #1a1206,
    0 1px 0 #4a3716,
    0 2px 2px rgba(0, 0, 0, 0.6),
    2px 4px 8px rgba(0, 0, 0, 0.4);
}

/* HUD: kleine Rauchglas-Knöpfe in Messingfassung */
.hud-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  min-width: 40px;
  padding: 0 12px;
  border-radius: 20px;
  border: 1px solid #8a6b33;
  background:
    radial-gradient(120% 90% at 30% 0%, rgba(255, 226, 170, 0.2) 0%, rgba(255, 226, 170, 0) 55%),
    linear-gradient(180deg, rgba(48, 36, 26, 0.86) 0%, rgba(18, 12, 8, 0.9) 100%);
  color: var(--c-cream);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 180, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(10, 6, 3, 0.85),
    1px 2px 2px rgba(0, 0, 0, 0.55),
    3px 6px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.14s var(--ease-out);
}
.hud-btn:hover {
  border-color: var(--c-gold-bright);
  filter: brightness(1.25);
}
.hud-btn:active {
  transform: translateY(1px);
  filter: brightness(0.95);
}

/* Toast: Kraftpapier-Anhänger mit Messingöse */
#toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  max-width: min(92vw, 560px);
  padding: 12px 22px 12px 46px;
  border-radius: 4px;
  border: 0;
  background-color: var(--c-kraft);
  background-image:
    radial-gradient(circle at 23px 50%, #150e08 0 4px, #6d5225 4.5px 5.5px, #e2c684 6px 7px, #7a5b28 7.5px 8.5px, rgba(122, 91, 40, 0) 9px),
    var(--tx-paper),
    linear-gradient(170deg, #cbb083 0%, #b99a6b 55%, #a5855a 100%);
  color: #22170d;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 210, 0.45),
    inset 0 -1px 0 rgba(60, 38, 14, 0.4),
    1px 2px 2px rgba(0, 0, 0, 0.6),
    7px 14px 26px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translate(-50%, 16px) rotate(-0.6deg);
  transition:
    opacity 0.3s,
    transform 0.45s var(--ease-out);
  pointer-events: none;
  contain: layout style;
}
#toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) rotate(-0.6deg);
}

/* Schmale Scrollbalken in Messing */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--c-gold-deep) transparent;
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
    opacity: 0.9;
  }
  .screen,
  .screen.is-leaving {
    animation-duration: 0.01s;
  }
  .btn,
  .hud-btn,
  #toast {
    transition-duration: 0.01s;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .btn {
    font-size: 1.1rem;
    padding: 10px 22px;
  }
  .hud-btn .hud-label {
    display: none;
  }
}
