/* EL PUEBLO — page shell, buttons, HUD and core layout */
.ep-page {
  --ep-ink: #10150f;
  --ep-ink-soft: #1a2118;
  --ep-cream: #f2e6cf;
  --ep-cream-dim: #cdbfa6;
  --ep-muted: #948b78;
  --ep-gold: #d6a24a;
  --ep-gold-soft: #e7c98c;
  --ep-coffee: #8a4b32;
  --ep-green: #3f5b46;
  --ep-green-deep: #223326;
  --ep-mist: #a9b5a7;
  --ep-line: rgba(242, 230, 207, 0.14);
  --ep-panel: rgba(14, 19, 14, 0.94);
  --ep-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  margin: 0;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 78% 12%, rgba(214, 162, 74, 0.12), transparent 34rem),
    radial-gradient(circle at 8% 48%, rgba(63, 91, 70, 0.28), transparent 40rem),
    linear-gradient(180deg, #0d120e 0%, #111812 46%, #0b0f0c 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.ep-page *,
.ep-game * {
  box-sizing: border-box;
}

.ep-page [hidden],
.ep-game [hidden] {
  display: none !important;
}

.ep-page a {
  color: var(--ep-gold-soft);
}

.ep-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 14px;
  background: var(--ep-cream);
  color: #111;
  border-radius: 8px;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.ep-skip:focus {
  transform: translateY(0);
}

.ep-page__main {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 80px) 0 0;
}

.ep-kicker,
.ep-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ep-gold);
}

.ep-eyebrow {
  color: var(--ep-cream-dim);
  letter-spacing: 0.12em;
}

.ep-muted {
  color: var(--ep-muted);
}

.ep-lede-small {
  color: var(--ep-cream-dim);
  line-height: 1.7;
}

.ep-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - var(--app-header-h) - 80px);
  padding-bottom: clamp(32px, 6vw, 80px);
}

.ep-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ep-line), transparent);
}

.ep-hero__copy {
  position: relative;
  z-index: 2;
}

.ep-hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--ep-serif);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.ep-hero__title-main {
  font-size: clamp(4.2rem, 10vw, 8.6rem);
  letter-spacing: 0.02em;
  color: var(--ep-cream);
  text-shadow: 0 0 60px rgba(214, 162, 74, 0.16);
}

.ep-hero__title-sub {
  margin-top: 0.15em;
  font-size: clamp(1.55rem, 3.7vw, 3rem);
  font-style: italic;
  font-weight: 500;
  color: var(--ep-gold-soft);
}

.ep-hero__lede {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.8;
  color: var(--ep-cream-dim);
}

.ep-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}

.ep-hero__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 2.2rem 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--ep-line);
  list-style: none;
}

.ep-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ep-hero__facts strong {
  font-family: var(--ep-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  color: var(--ep-cream);
}

.ep-hero__facts span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ep-muted);
}

.ep-hero__note {
  margin: 1.5rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--ep-muted);
}

.ep-hero__art {
  position: relative;
  min-width: 0;
  padding: 10px 0;
}

.ep-hero__svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.42));
}

.ep-hero__stamp {
  position: absolute;
  right: -8px;
  bottom: 4px;
  padding: 12px 16px;
  border: 1px solid rgba(242, 230, 207, 0.3);
  background: rgba(12, 17, 12, 0.78);
  color: var(--ep-cream);
  font-family: var(--ep-serif);
  font-size: 0.86rem;
  line-height: 1.15;
  text-align: right;
  transform: rotate(-2deg);
  backdrop-filter: blur(6px);
}

.ep-hero__stamp span {
  color: var(--ep-gold-soft);
  font-style: italic;
}

/* Buttons */
.ep-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid rgba(242, 230, 207, 0.22);
  border-radius: 999px;
  background: rgba(242, 230, 207, 0.06);
  color: var(--ep-cream);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.ep-btn:hover {
  background: rgba(242, 230, 207, 0.12);
  border-color: rgba(242, 230, 207, 0.4);
  transform: translateY(-1px);
}

.ep-btn:active {
  transform: scale(0.98);
}

.ep-btn:focus-visible,
.ep-icon-btn:focus-visible,
.ep-tab:focus-visible,
.ep-clue-card:focus-visible,
.ep-list-row:focus-visible,
.ep-key:focus-visible,
.ep-pick:focus-within {
  outline: 3px solid var(--ep-gold);
  outline-offset: 3px;
}

.ep-btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, #e0b25f, #b97f32);
  color: #17120b;
  box-shadow: 0 12px 30px rgba(214, 162, 74, 0.22);
}

.ep-btn--primary:hover {
  background: linear-gradient(135deg, #efc67c, #c98d3a);
  color: #120e08;
}

.ep-btn--ghost {
  background: transparent;
  border-color: rgba(242, 230, 207, 0.22);
  color: var(--ep-cream-dim);
}

.ep-btn--text {
  min-height: 38px;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: var(--ep-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ep-btn--large {
  min-height: 52px;
  padding: 14px 24px;
  font-size: 1rem;
}

.ep-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.ep-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(242, 230, 207, 0.22);
  border-radius: 999px;
  background: rgba(10, 14, 10, 0.62);
  color: var(--ep-cream);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.ep-icon-btn:hover {
  background: rgba(214, 162, 74, 0.2);
  border-color: rgba(214, 162, 74, 0.55);
}

.ep-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ep-stack {
  display: grid;
  gap: 10px;
}

.ep-stack .ep-btn {
  justify-content: flex-start;
}

/* Pitch and guide */
.ep-pitch,
.ep-guide {
  padding: clamp(42px, 7vw, 92px) 0;
  border-bottom: 1px solid var(--ep-line);
}

.ep-pitch h2,
.ep-guide h2 {
  margin: 0 0 1.4rem;
  font-family: var(--ep-serif);
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.1;
  color: var(--ep-cream);
}

.ep-pitch__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ep-pitch article {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--ep-line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(242, 230, 207, 0.05), rgba(242, 230, 207, 0.015));
}

.ep-pitch__number {
  display: block;
  margin-bottom: 18px;
  font-family: var(--ep-serif);
  font-size: 1.8rem;
  color: var(--ep-gold);
}

.ep-pitch h3,
.ep-guide h3 {
  margin: 0 0 8px;
  font-family: var(--ep-serif);
  font-size: 1.25rem;
  color: var(--ep-cream);
}

.ep-pitch p,
.ep-guide p {
  margin: 0;
  line-height: 1.7;
  color: var(--ep-cream-dim);
}

.ep-guide {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
}

.ep-guide__controls {
  padding: 24px;
  border: 1px solid var(--ep-line);
  border-radius: 16px;
  background: rgba(10, 14, 10, 0.45);
}

.ep-guide dl {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.ep-guide dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(242, 230, 207, 0.08);
}

.ep-guide dt {
  color: var(--ep-muted);
}

.ep-guide dd {
  margin: 0;
  color: var(--ep-cream);
  font-weight: 700;
}

.ep-footer {
  padding: 32px 20px 48px;
  text-align: center;
  color: var(--ep-muted);
  font-size: 0.82rem;
}

.ep-footer p {
  margin: 6px 0;
}

/* Game shell */
.ep-game {
  --ep-cream: #f2e6cf;
  --ep-cream-dim: #cdbfa6;
  --ep-muted: #948b78;
  --ep-gold: #d6a24a;
  --ep-gold-soft: #e7c98c;
  --ep-coffee: #8a4b32;
  --ep-green: #3f5b46;
  --ep-panel: rgba(14, 19, 14, 0.94);
  --ep-line: rgba(242, 230, 207, 0.14);
  --ep-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: #0a0e0a;
  overflow: hidden;
  color: var(--ep-cream);
  font-family: var(--font-body);
}

body.ep-playing {
  overflow: hidden;
}

body.ep-playing .app-header,
body.ep-playing .ep-page__main,
body.ep-playing .ep-footer {
  display: none;
}

.ep-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

.ep-grain,
.ep-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.ep-grain {
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.ep-vignette {
  background: radial-gradient(circle at center, transparent 42%, rgba(3, 6, 4, 0.42) 100%);
}

/* HUD */
.ep-hud {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
}

.ep-hud__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.ep-hud__actions {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.ep-location {
  max-width: 300px;
  padding: 10px 14px;
  border-left: 2px solid var(--ep-gold);
  background: linear-gradient(90deg, rgba(8, 12, 8, 0.68), transparent);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.ep-location strong {
  display: block;
  font-family: var(--ep-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ep-cream);
}

.ep-location span {
  display: block;
  margin-top: 2px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ep-cream-dim);
}

.ep-objective {
  max-width: 430px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(242, 230, 207, 0.12);
  border-radius: 10px;
  background: rgba(8, 12, 8, 0.58);
  backdrop-filter: blur(6px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.ep-objective__label {
  display: block;
  margin-bottom: 3px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ep-gold);
}

.ep-objective strong {
  display: block;
  font-family: var(--ep-serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ep-cream);
}

.ep-objective__desc {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ep-cream-dim);
}

.ep-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(242, 230, 207, 0.65);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(242, 230, 207, 0.22);
  box-shadow: 0 0 0 0 rgba(214, 162, 74, 0);
  transition: width 0.16s ease, height 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.ep-reticle.is-hover {
  width: 22px;
  height: 22px;
  border-color: var(--ep-gold);
  background: rgba(214, 162, 74, 0.08);
  box-shadow: 0 0 0 5px rgba(214, 162, 74, 0.12);
}

.ep-prompt {
  position: absolute;
  left: 50%;
  bottom: 15%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid rgba(242, 230, 207, 0.2);
  border-radius: 999px;
  background: rgba(7, 10, 7, 0.78);
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  font-size: 0.9rem;
  color: var(--ep-cream);
}

.ep-prompt__key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border: 1px solid var(--ep-gold);
  border-radius: 7px;
  color: var(--ep-gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.ep-toast {
  position: absolute;
  top: max(86px, calc(env(safe-area-inset-top) + 74px));
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: min(560px, calc(100% - 32px));
  padding: 11px 16px;
  border: 1px solid rgba(242, 230, 207, 0.18);
  border-radius: 12px;
  background: rgba(10, 14, 10, 0.9);
  color: var(--ep-cream);
  font-size: 0.9rem;
  line-height: 1.4;
  transform: translate(-50%, -10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.ep-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.ep-toast--clue {
  border-color: rgba(214, 162, 74, 0.5);
}

.ep-toast--error {
  border-color: rgba(215, 104, 91, 0.55);
}

.ep-subtitles {
  position: absolute;
  left: 50%;
  bottom: max(9%, calc(env(safe-area-inset-bottom) + 90px));
  z-index: 30;
  width: min(760px, calc(100% - 40px));
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(5, 8, 5, 0.78);
  color: var(--ep-cream);
  font-family: var(--ep-serif);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.45;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  transform: translateX(-50%);
  backdrop-filter: blur(6px);
}

.ep-hint {
  position: absolute;
  left: max(20px, env(safe-area-inset-left));
  bottom: max(120px, calc(env(safe-area-inset-bottom) + 110px));
  z-index: 25;
  max-width: 360px;
  padding: 10px 14px;
  border-left: 2px solid var(--ep-gold);
  background: rgba(8, 12, 8, 0.62);
  color: var(--ep-cream-dim);
  font-size: 0.82rem;
  line-height: 1.5;
  font-style: italic;
  backdrop-filter: blur(6px);
}

/* Loading and fallback */
.ep-loading,
.ep-fallback {
  position: absolute;
  inset: 0;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 30px;
  background:
    radial-gradient(circle at 50% 38%, rgba(214, 162, 74, 0.12), transparent 24rem),
    linear-gradient(180deg, #0d130e, #080b08);
  text-align: center;
}

.ep-loading[hidden],
.ep-fallback[hidden] {
  display: none;
}

.ep-loading p {
  margin: 0;
  color: var(--ep-cream-dim);
  font-family: var(--ep-serif);
  font-size: 1.05rem;
}

.ep-loading__spinner {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(242, 230, 207, 0.16);
  border-top-color: var(--ep-gold);
  border-radius: 50%;
  animation: epSpin 1.1s linear infinite;
}

.ep-fallback h2 {
  margin: 0;
  font-family: var(--ep-serif);
  font-size: 2rem;
}

.ep-fallback p {
  max-width: 560px;
  margin: 0;
  color: var(--ep-cream-dim);
  line-height: 1.7;
}

@keyframes epSpin {
  to { transform: rotate(360deg); }
}

/* Bell flash */
.ep-game.ep-bell-flash::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 9000;
  background: radial-gradient(circle at 50% 40%, #f6e9c8, #c59650 45%, #1a120a 100%);
  opacity: 0;
  pointer-events: none;
  animation: epBellFlash 2.6s ease-in-out forwards;
}

@keyframes epBellFlash {
  0% { opacity: 0; }
  12% { opacity: 0.85; }
  40% { opacity: 0.34; }
  100% { opacity: 0; }
}

/* Mobile touch */
.ep-touch {
  position: absolute;
  inset: auto 0 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  pointer-events: none;
}

.ep-touch[hidden] {
  display: none;
}

.ep-joystick {
  position: relative;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(242, 230, 207, 0.24);
  border-radius: 50%;
  background: rgba(7, 11, 7, 0.32);
  pointer-events: auto;
  touch-action: none;
  backdrop-filter: blur(5px);
}

.ep-joystick__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border: 1px solid rgba(242, 230, 207, 0.45);
  border-radius: 50%;
  background: rgba(242, 230, 207, 0.16);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.ep-touch__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(64px, 1fr));
  gap: 8px;
  pointer-events: auto;
}

.ep-touch-btn {
  min-width: 64px;
  min-height: 52px;
  padding: 8px 12px;
  border: 1px solid rgba(242, 230, 207, 0.26);
  border-radius: 12px;
  background: rgba(7, 11, 7, 0.56);
  color: var(--ep-cream);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  touch-action: manipulation;
}

.ep-touch-btn--interact {
  grid-column: 1 / -1;
  min-height: 64px;
  border-color: rgba(214, 162, 74, 0.65);
  background: rgba(214, 162, 74, 0.22);
  font-size: 1.1rem;
  color: var(--ep-gold-soft);
}

.ep-rotate {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(5, 8, 5, 0.92);
  text-align: center;
}

@media (max-width: 980px) {
  .ep-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ep-hero__art {
    max-width: 640px;
    margin: 0 auto;
  }

  .ep-hero__title-main {
    font-size: clamp(3.4rem, 13vw, 6.2rem);
  }

  .ep-pitch__grid,
  .ep-guide {
    grid-template-columns: 1fr;
  }

  .ep-hero__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.ep-page {
    padding-top: var(--app-header-h);
  }
}

@media (max-width: 640px) {
  body.ep-page {
    padding-top: var(--app-header-h);
  }

  .ep-page__main {
    width: min(100% - 28px, 1240px);
  }

  .ep-hero__title-main {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .ep-hero__actions .ep-btn {
    width: 100%;
  }

  .ep-hero__stamp {
    display: none;
  }

  .ep-pitch article,
  .ep-guide__controls {
    padding: 18px;
  }

  .ep-hud__top {
    align-items: flex-start;
  }

  .ep-location {
    max-width: 190px;
    padding: 8px 10px;
  }

  .ep-location strong {
    font-size: 0.95rem;
  }

  .ep-objective {
    max-width: calc(100vw - 130px);
    margin-top: 8px;
    padding: 9px 11px;
  }

  .ep-objective__desc {
    display: none;
  }

  .ep-toast {
    top: 190px;
    font-size: 0.82rem;
  }

  .ep-subtitles {
    bottom: max(26%, 190px);
    width: calc(100% - 24px);
    font-size: 0.92rem;
  }

  .ep-hint {
    bottom: 220px;
    max-width: calc(100vw - 40px);
  }

  .ep-prompt {
    bottom: 22%;
    max-width: calc(100vw - 30px);
    font-size: 0.82rem;
  }
}

@media (pointer: coarse) {
  .ep-hud__actions {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ep-page *,
  .ep-game * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
