:root {
  color-scheme: dark;
  --page: #07030f;
  --page-deep: #05020c;
  --text: #f8f8fb;
  --muted: #e8e7ee;
  --yellow: #ffc331;
  --orange: #ff7a3d;
  --purple: #74369a;
  --pink: #d858bd;
  --content: 1528px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--page);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:not(:disabled) {
  cursor: pointer;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 47%, rgba(82, 40, 104, 0.18), transparent 25%),
    var(--page);
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 1640px;
  height: 128px;
  margin: 0 auto;
  padding: 20px 36px 20px 48px;
}

.brand {
  justify-self: start;
  display: block;
  width: min(365px, 100%);
  height: 88px;
  outline: none;
}

.brand-image {
  display: block;
  width: 365px;
  max-width: 100%;
  height: 88px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: screen;
}

.brand:focus-visible,
.icon-button:focus-visible,
.nav-item:focus-visible,
.movie-card:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.floating-voice:focus-visible,
.player-action:focus-visible,
.close-button:focus-visible,
.send-code-button:focus-visible,
.auth-submit:focus-visible,
.logout-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.desktop-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 68px;
}

.nav-item {
  position: relative;
  height: 100%;
  padding: 0;
  border: 0;
  color: #efedf3;
  background: transparent;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: 0;
}

.nav-item::after {
  position: absolute;
  bottom: 16px;
  left: 50%;
  width: 31px;
  height: 4px;
  border-radius: 2px;
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(255, 195, 49, 0.8);
  content: "";
  opacity: 0;
  transform: translateX(-50%) scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-item:hover,
.nav-item.is-active {
  color: var(--yellow);
}

.nav-item.is-active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.header-tools {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 12px;
}

.icon-button {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid rgba(116, 54, 154, 0.55);
  border-radius: 50%;
  background: rgba(10, 5, 20, 0.42);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.icon-button:hover {
  border-color: var(--pink);
  background: rgba(116, 54, 154, 0.18);
  transform: translateY(-2px);
}

.search-glyph {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.search-glyph::after {
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: rotate(48deg);
  transform-origin: left center;
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 398px;
}

.hero-visual {
  position: absolute;
  z-index: 0;
  top: -31px;
  right: 0;
  width: min(60vw, 1010px);
  height: 500px;
  object-fit: cover;
  object-position: 70% center;
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: -40px 0 -40px;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      var(--page-deep) 0%,
      rgba(5, 2, 12, 0.98) 29%,
      rgba(5, 2, 12, 0.84) 41%,
      rgba(5, 2, 12, 0.32) 61%,
      transparent 78%
    ),
    linear-gradient(0deg, var(--page) 0%, transparent 23%, transparent 72%, var(--page) 100%);
  content: "";
}

.hero-inner,
.featured {
  width: min(calc(100% - 96px), var(--content));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 69px;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: 60px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
  overflow-wrap: anywhere;
}

.hero p {
  margin: 21px 0 0;
  color: #f0eff4;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}

.primary-action,
.secondary-action,
.player-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px;
  letter-spacing: 0;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.primary-action {
  width: 322px;
  height: 92px;
  border: 3px solid var(--yellow);
  border-radius: 16px;
  color: #0a0711;
  background: linear-gradient(110deg, #ffb832 0%, #ffd255 55%, #ffb42c 100%);
  box-shadow:
    inset 0 0 0 2px #fff8df,
    0 0 12px rgba(255, 175, 40, 0.72),
    0 6px 24px rgba(0, 0, 0, 0.34);
  font-size: 28px;
  font-weight: 750;
}

.primary-action:hover,
.player-action:hover {
  filter: brightness(1.07);
  transform: translateY(-3px);
}

.play-glyph {
  display: block;
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 27px solid currentColor;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}

.secondary-action {
  width: 283px;
  height: 78px;
  border: 2px solid var(--purple);
  border-radius: 14px;
  color: #f6f3fa;
  background: rgba(9, 4, 19, 0.72);
  box-shadow: inset 0 0 24px rgba(116, 54, 154, 0.06);
  font-size: 24px;
  font-weight: 600;
}

.secondary-action:hover,
.secondary-action[aria-pressed="true"] {
  border-color: var(--pink);
  box-shadow: 0 0 20px rgba(216, 88, 189, 0.26);
  transform: translateY(-2px);
}

.waveform {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 42px;
}

.waveform i {
  display: block;
  width: 4px;
  border-radius: 4px;
  background: currentColor;
}

.waveform i:nth-child(1),
.waveform i:nth-child(5) {
  height: 15px;
}

.waveform i:nth-child(2),
.waveform i:nth-child(4) {
  height: 27px;
}

.waveform i:nth-child(3) {
  height: 39px;
}

.featured {
  position: relative;
  z-index: 3;
  padding-bottom: 58px;
}

.site-footer {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 16px 120px 26px;
  color: #aaa4b2;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--yellow);
  outline-offset: 4px;
}

.featured h2 {
  margin: 0 0 15px;
  font-size: 30px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
}

.movie-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 365 / 294;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #10091e;
  box-shadow: 0 13px 34px rgba(0, 0, 0, 0.25);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  scroll-snap-align: start;
}

.movie-card::after {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  content: "";
  transition: border-color 180ms ease, background 180ms ease;
}

.movie-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-card:hover {
  border-color: rgba(255, 195, 49, 0.58);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  transform: translateY(-5px);
}

.movie-card:hover::after {
  border-color: rgba(255, 195, 49, 0.5);
  background: rgba(255, 195, 49, 0.03);
}

.floating-voice {
  position: fixed;
  z-index: 30;
  right: 27px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--yellow);
  background:
    linear-gradient(var(--page), var(--page)) padding-box,
    linear-gradient(130deg, var(--orange), var(--pink), var(--purple)) border-box;
  border: 6px solid transparent;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.floating-voice:hover,
.floating-voice[aria-pressed="true"] {
  box-shadow: 0 0 28px rgba(216, 88, 189, 0.52), 0 8px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.floating-voice .waveform {
  width: 50px;
  transform: scale(1.2);
}

dialog {
  max-width: none;
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
}

dialog::backdrop {
  background: rgba(3, 1, 8, 0.78);
  backdrop-filter: blur(8px);
}

.dialog-panel {
  position: relative;
  border: 1px solid rgba(147, 74, 181, 0.58);
  border-radius: 8px;
  background: #0e081a;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.66);
}

.search-dialog {
  width: min(92vw, 560px);
}

.search-panel {
  padding: 28px;
}

.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.dialog-heading h2,
.player-copy h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0;
}

.close-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  font-size: 30px;
  line-height: 1;
}

.close-button:hover {
  border-color: var(--pink);
  background: rgba(216, 88, 189, 0.13);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 58px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #c6bfce;
  background: #07040e;
}

.search-field .search-glyph {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

.search-field input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 18px;
}

.search-results {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}

.search-result:hover,
.search-result:focus-visible {
  border-color: var(--purple);
  outline: 0;
  background: rgba(116, 54, 154, 0.15);
}

.search-result small {
  color: var(--yellow);
}

.empty-result {
  margin: 14px 0 0;
  color: #aaa4b2;
  text-align: center;
}

.player-dialog {
  width: min(92vw, 920px);
}

.player-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  overflow: hidden;
}

.player-panel > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.player-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 46px 36px 36px;
}

.player-kicker {
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 15px;
  font-weight: 700;
}

.player-copy p {
  margin: 15px 0 30px;
  color: #c9c4cf;
  font-size: 17px;
  line-height: 1.7;
}

.player-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
}

.player-action {
  min-width: 180px;
  height: 54px;
  border: 0;
  border-radius: 8px;
  color: #090610;
  background: var(--yellow);
  font-size: 18px;
  font-weight: 700;
}

.player-action .play-glyph {
  border-top-width: 10px;
  border-bottom-width: 10px;
  border-left-width: 16px;
}

.auth-dialog {
  width: min(92vw, 480px);
}

.auth-panel {
  min-height: 486px;
  padding: 30px;
}

.auth-heading {
  margin-bottom: 26px;
}

.auth-heading > div {
  display: grid;
  gap: 5px;
}

.auth-heading h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0;
}

.auth-kicker,
.account-status {
  color: var(--yellow);
  font-size: 14px;
  font-weight: 700;
}

.auth-view[hidden] {
  display: none;
}

.auth-loading {
  display: flex;
  min-height: 310px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #c9c4cf;
}

.loading-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: auth-spin 700ms linear infinite;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-form {
  display: grid;
}

.field-label {
  margin-bottom: 8px;
  color: #e8e4ed;
  font-size: 15px;
  font-weight: 650;
}

.auth-field {
  display: flex;
  min-width: 0;
  height: 54px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #07040e;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.auth-field:focus-within {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 195, 49, 0.12);
}

.auth-field.is-invalid {
  border-color: #ff6b7a;
}

.auth-field input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  font-size: 17px;
  letter-spacing: 0;
}

.auth-field input::placeholder {
  color: #827b8b;
}

.auth-field input:read-only {
  opacity: 0.7;
}

.country-code {
  flex: 0 0 auto;
  margin-left: 16px;
  padding-right: 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: #bbb5c2;
}

.code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 142px;
  gap: 10px;
}

.send-code-button,
.auth-submit,
.logout-button {
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0;
  transition: border-color 160ms ease, background 160ms ease, filter 160ms ease;
}

.send-code-button {
  min-width: 142px;
  padding: 0 12px;
  border: 1px solid rgba(255, 195, 49, 0.64);
  color: var(--yellow);
  background: rgba(255, 195, 49, 0.07);
}

.send-code-button:hover:not(:disabled) {
  background: rgba(255, 195, 49, 0.14);
}

.send-code-button:disabled,
.auth-submit:disabled,
.logout-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.field-message,
.auth-message {
  min-height: 19px;
  margin: 5px 0 8px;
  color: #ff8995;
  font-size: 13px;
  line-height: 1.45;
}

.auth-message {
  margin: 10px 0 8px;
  text-align: center;
}

.auth-message.is-success {
  color: #9ed8a6;
}

.auth-submit {
  width: 100%;
  height: 54px;
  border: 0;
  color: #090610;
  background: var(--yellow);
  font-size: 18px;
}

.auth-submit:hover:not(:disabled) {
  filter: brightness(1.08);
}

.account-view {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.account-avatar {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin-bottom: 17px;
  border: 2px solid rgba(255, 195, 49, 0.65);
  border-radius: 50%;
  color: #130b06;
  background: var(--yellow);
  box-shadow: 0 0 24px rgba(255, 195, 49, 0.18);
  font-size: 27px;
  font-weight: 800;
}

.account-view strong {
  margin-top: 7px;
  font-size: 26px;
  letter-spacing: 0;
}

.account-view > p:not(.auth-message) {
  margin: 8px 0 28px;
  color: #aaa4b2;
}

.logout-button {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f3eff6;
  background: rgba(255, 255, 255, 0.04);
}

.logout-button:hover:not(:disabled) {
  border-color: var(--pink);
  background: rgba(216, 88, 189, 0.1);
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 28px;
  max-width: calc(100vw - 40px);
  padding: 12px 20px;
  border: 1px solid rgba(255, 195, 49, 0.45);
  border-radius: 8px;
  color: #fff;
  background: rgba(14, 8, 26, 0.96);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

@media (max-width: 1280px) {
  .site-header {
    padding-inline: 36px;
  }

  .brand,
  .brand-image {
    width: 290px;
  }

  .desktop-nav {
    gap: 42px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero p {
    font-size: 26px;
  }
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 102px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .menu-button span {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .mobile-menu {
    position: absolute;
    top: 88px;
    right: 36px;
    display: grid;
    width: 210px;
    overflow: hidden;
    border: 1px solid rgba(147, 74, 181, 0.55);
    border-radius: 8px;
    background: rgba(12, 6, 22, 0.97);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.46);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu button {
    min-height: 52px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: transparent;
    font-size: 17px;
    text-align: left;
    padding-inline: 20px;
  }

  .mobile-menu button:hover {
    color: var(--yellow);
    background: rgba(116, 54, 154, 0.15);
  }

  .hero {
    min-height: 430px;
  }

  .hero-visual {
    width: 72vw;
  }

  .hero-inner,
  .featured {
    width: calc(100% - 72px);
  }

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

@media (max-width: 720px) {
  .site-header {
    height: 78px;
    padding: 10px 16px 10px 20px;
  }

  .brand,
  .brand-image {
    width: 230px;
    height: 56px;
  }

  .header-tools {
    gap: 8px;
  }

  .icon-button {
    width: 44px;
    height: 44px;
  }

  .mobile-menu {
    top: 70px;
    right: 16px;
  }

  .hero {
    min-height: 0;
  }

  .hero-visual {
    top: 0;
    width: 100%;
    max-width: none;
    height: 320px;
    opacity: 0.86;
    object-position: 74% center;
  }

  .hero::after {
    inset: -16px 0 -20px;
    background:
      linear-gradient(90deg, rgba(5, 2, 12, 0.74), rgba(5, 2, 12, 0.08)),
      linear-gradient(0deg, var(--page) 2%, rgba(7, 3, 15, 0.5) 42%, var(--page) 100%);
  }

  .hero-inner,
  .featured {
    width: auto;
    margin-inline: 20px;
  }

  .hero-inner {
    padding-top: 231px;
    padding-bottom: 42px;
  }

  .hero h1 {
    max-width: 520px;
    font-size: 38px;
    line-height: 1.22;
  }

  .hero p {
    max-width: 520px;
    margin-top: 14px;
    font-size: 19px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    height: 58px;
    border-radius: 10px;
    font-size: 19px;
  }

  .primary-action {
    border-width: 2px;
  }

  .primary-action .play-glyph {
    border-top-width: 11px;
    border-bottom-width: 11px;
    border-left-width: 18px;
  }

  .secondary-action .waveform {
    transform: scale(0.8);
  }

  .featured {
    padding-bottom: 104px;
  }

  .site-footer {
    padding: 16px 88px 28px;
    font-size: 13px;
  }

  .featured h2 {
    margin-bottom: 14px;
    font-size: 25px;
  }

  .movie-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 365px);
    gap: 14px;
    margin-right: -20px;
    padding: 2px 20px 18px 2px;
    overflow-x: auto;
    scroll-padding-left: 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .movie-grid::-webkit-scrollbar {
    display: none;
  }

  .movie-card:hover {
    transform: none;
  }

  .floating-voice {
    right: 16px;
    bottom: 16px;
    width: 68px;
    height: 68px;
    border-width: 4px;
  }

  .floating-voice .waveform {
    transform: scale(0.85);
  }

  .search-panel {
    padding: 20px;
  }

  .auth-panel {
    min-height: 0;
    padding: 22px 20px;
  }

  .auth-heading {
    margin-bottom: 22px;
  }

  .code-row {
    grid-template-columns: minmax(0, 1fr) 126px;
  }

  .send-code-button {
    min-width: 126px;
    padding-inline: 8px;
    font-size: 14px;
  }

  .player-panel {
    display: block;
  }

  .player-panel > img {
    width: 100%;
    height: 48vh;
    min-height: 260px;
    max-height: 420px;
  }

  .player-copy {
    padding: 26px 24px 28px;
  }

  .player-copy h2 {
    font-size: 25px;
  }

  .player-close {
    background: rgba(7, 3, 15, 0.72);
  }

  .toast {
    bottom: 94px;
  }
}

@media (max-width: 460px) {
  .brand,
  .brand-image {
    width: 190px;
  }

  .hero h1 {
    font-size: 35px;
  }
}

@media (max-width: 360px) {
  .code-row {
    grid-template-columns: 1fr;
  }

  .send-code-button {
    width: 100%;
    min-width: 0;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
