beast-intro:not(:defined), beast-audio-controls:not(:defined) { display: none; }
beast-intro[hidden], beast-audio-controls[hidden] { display: none !important; }

beast-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: block;
  color: var(--beast-white, #fff);
  font-family: var(--beast-font-body, sans-serif);
  background: var(--beast-navy, #061826);
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: opacity 280ms ease;
}
beast-intro[data-leaving] { opacity: 0; pointer-events: none; }
.beast-intro__dialog {
  box-sizing: border-box;
  min-height: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 82px 20px max(50px, env(safe-area-inset-bottom));
}
.beast-intro__top {
  position: absolute;
  top: max(24px, env(safe-area-inset-top));
  inset-inline: var(--beast-space-page, 32px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--beast-font-display, sans-serif);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.beast-intro__top span:last-child { color: var(--beast-muted, #a8bac7); }
.beast-intro__media {
  position: relative;
  width: min(100%, 1100px);
  aspect-ratio: 16 / 9;
  max-height: 65svh;
  overflow: hidden;
}
.beast-intro__video, .beast-intro__poster, .beast-intro__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.beast-intro__poster[hidden], .beast-intro__video[hidden], .beast-intro__fallback[hidden] { display: none; }
.beast-intro__fallback { object-fit: contain; padding: 2%; box-sizing: border-box; }
beast-intro[data-graphic] .beast-intro__media { aspect-ratio: auto; max-height: none; width: min(100%, 1040px); }
.beast-intro__graphic { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 34px; }
.beast-intro__graphic[hidden] { display: none; }
.beast-intro__coin { width: 100%; height: auto; mask-image: radial-gradient(circle closest-side, #000 0 90%, transparent 100%); animation: beast-arrive 1400ms var(--beast-ease, ease) both; }
.beast-intro__wordmark { color: var(--beast-white, #fff); font-family: var(--beast-font-display, sans-serif); animation: beast-type-arrive 700ms 350ms var(--beast-ease, ease) both; }
.beast-intro__wordmark strong { display: block; font-size: clamp(42px, 7.7vw, 112px); font-weight: 900; font-stretch: 88%; line-height: .9; letter-spacing: -.045em; white-space: nowrap; }
.beast-intro__wordmark span { display: block; margin-top: 25px; font-size: clamp(11px, 1.5vw, 17px); font-weight: 800; letter-spacing: .12em; }
.beast-intro__wordmark i { display: block; width: 64px; height: 5px; background: var(--beast-red, #f9423a); margin-top: 28px; }
@keyframes beast-arrive { from { opacity: 0; transform: translateY(14px) scale(.88) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes beast-type-arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
beast-intro[data-static] .beast-intro__coin, beast-intro[data-static] .beast-intro__wordmark { animation: none; }
.beast-intro__actions { position: relative; margin-top: 10px; text-align: center; }
.beast-intro__enter {
  min-height: 58px;
  min-width: 214px;
  padding: 16px 40px;
  border: 0;
  border-radius: var(--beast-radius-button, 999px);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  background: var(--beast-cyan, #00a8e8);
  color: var(--beast-ink, #02050c);
  cursor: pointer;
  font-family: var(--beast-font-display, sans-serif);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: transform 180ms var(--beast-ease, ease), background 180ms ease;
}
.beast-intro__enter:hover { background: #40c4f7; transform: translateY(-2px); }
.beast-intro__enter:active { transform: translateY(0); }
.beast-intro__enter svg { width: 24px; height: 24px; }
.beast-intro__sound {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px auto 0;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--beast-muted, #a8bac7);
  font: 700 11px var(--beast-font-body, sans-serif);
  letter-spacing: 0.09em;
  cursor: pointer;
}
.beast-intro__sound svg { width: 17px; height: 17px; }
.beast-intro__note {
  margin: 0;
  color: var(--beast-muted, #a8bac7);
  font-size: 10px;
  letter-spacing: 0.03em;
}
.beast-audio {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--beast-white, #fff);
  font-family: var(--beast-font-body, sans-serif);
}
.beast-audio__toggle {
  min-height: 44px;
  border: 1px solid var(--beast-line, #294050);
  border-radius: 999px;
  background: transparent;
  padding: 10px 16px;
  color: inherit;
  font: 750 10px var(--beast-font-body, sans-serif);
  letter-spacing: 0.05em;
  white-space: nowrap;
  cursor: pointer;
}
.beast-audio__toggle[aria-pressed="true"] { border-color: var(--beast-cyan, #00a8e8); color: var(--beast-cyan, #00a8e8); }
.beast-audio__volume { display: flex; align-items: center; }
.beast-audio__volume input { width: 68px; accent-color: var(--beast-cyan, #00a8e8); cursor: pointer; }
.beast-audio__error { max-width: 150px; color: var(--beast-muted, #a8bac7); font-size: 10px; }
.beast-audio__error:empty { display: none; }
.beast-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; border: 0; }
beast-intro :focus-visible, beast-audio-controls :focus-visible { outline: 3px solid var(--beast-white, #fff); outline-offset: 5px; }

@media (max-width: 600px) {
  .beast-intro__top { font-size: 10px; }
  .beast-intro__dialog { padding-inline: 16px; }
  .beast-intro__media { width: calc(100vw - 12px); }
  .beast-intro__graphic { grid-template-columns: 1fr; gap: 8px; justify-items: center; text-align: center; }
  .beast-intro__coin { width: min(70vw, 280px); }
  .beast-intro__wordmark strong { font-size: clamp(34px, 10.8vw, 56px); }
  .beast-intro__wordmark span { margin-top: 13px; font-size: 10px; }
  .beast-intro__wordmark i { width: 42px; height: 3px; margin: 16px auto 0; }
  .beast-intro__actions { margin-top: 32px; }
  .beast-intro__enter { min-height: 56px; width: min(82vw, 320px); }
  .beast-audio { gap: 6px; }
  .beast-audio__volume input { width: 52px; }
}
@media (max-height: 560px) {
  .beast-intro__dialog { padding-block: 56px 22px; }
  .beast-intro__media { width: min(72vw, 540px); max-height: 42svh; }
  .beast-intro__actions { margin-top: 0; }
  .beast-intro__sound { margin-top: 6px; }
  .beast-intro__graphic { grid-template-columns: 0.8fr 1.2fr; gap: 18px; text-align: left; }
  .beast-intro__coin { width: min(30svh, 180px); justify-self: end; }
  .beast-intro__wordmark strong { font-size: clamp(29px, 6vw, 60px); }
  .beast-intro__wordmark span { font-size: 9px; margin-top: 10px; }
  .beast-intro__wordmark i { margin: 12px 0 0; width: 36px; height: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  beast-intro, .beast-intro__enter { transition: none; }
  .beast-intro__enter:hover { transform: none; }
  .beast-intro__coin, .beast-intro__wordmark { animation: none; }
}
