:root {
  --ink: #17211d;
  --ink-soft: #52605a;
  --paper: #f4f0e8;
  --paper-deep: #e9e2d7;
  --card: #fffdf9;
  --line: rgba(23, 33, 29, 0.14);
  --accent: #b56f3a;
  --accent-dark: #8c4f24;
  --radius-large: 30px;
  --radius-medium: 18px;
  --shadow: 0 24px 70px rgba(41, 34, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 8%, rgba(181, 111, 58, 0.14), transparent 29rem),
    linear-gradient(145deg, #f8f5ef 0%, var(--paper) 55%, var(--paper-deep) 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50% 50% 46% 46%;
  font: 700 16px/1 Georgia, serif;
}

.brand-name {
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.model-chip {
  padding: 8px 12px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 22px auto 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(42px, 7vw, 94px);
}

.intro {
  padding: 26px 0;
}

.eyebrow,
.detail-label,
.language-caption {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 650px;
  margin: 16px 0 18px;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}

.title-model {
  display: inline-block;
  white-space: nowrap;
}

html[lang^="zh"] .title-copy {
  display: inline-block;
  white-space: nowrap;
}

.subtitle {
  max-width: 560px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.75;
}

.language-block {
  margin-top: clamp(34px, 6vw, 62px);
}

.language-caption {
  margin-bottom: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: none;
}

.language-selector {
  width: fit-content;
  max-width: 100%;
  padding: 5px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-selector button {
  min-height: 42px;
  padding: 0 17px;
  color: var(--ink-soft);
  white-space: nowrap;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.language-selector button[aria-pressed="true"] {
  color: white;
  background: var(--ink);
  box-shadow: 0 6px 18px rgba(23, 33, 29, 0.18);
}

.support-note {
  max-width: 540px;
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.6;
}

.support-note p {
  margin: 0;
}

.support-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 0.45em;
  background: #5d806c;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(93, 128, 108, 0.12);
}

.player-card {
  padding: 14px 14px 18px;
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: #101613;
  border-radius: calc(var(--radius-large) - 10px);
}

video {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: contain;
  background: #101613;
}

.clip-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  color: white;
  background: rgba(15, 20, 17, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.player-details {
  padding: 18px 5px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.detail-label {
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}

h2 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.35;
}

.duration {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.play-button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
  background: var(--accent);
  border: 0;
  border-radius: 15px;
  font-weight: 760;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(181, 111, 58, 0.22);
  transition: transform 160ms ease, background 160ms ease;
}

.play-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.play-icon {
  font-size: 0.72rem;
}

.video-note {
  margin: 14px 5px 2px;
  color: var(--ink-soft);
  font-size: 0.79rem;
  line-height: 1.55;
}

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 10px 0 calc(24px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

noscript p {
  max-width: 620px;
  margin: 0 auto 24px;
  padding: 12px 16px;
  background: #fff3cd;
  border-radius: 12px;
  text-align: center;
}

:focus-visible {
  outline: 3px solid rgba(181, 111, 58, 0.48);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .site-header,
  .shell,
  footer {
    width: min(100% - 28px, 620px);
  }

  .site-header {
    padding-top: 18px;
  }

  .shell {
    margin-top: 0;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .intro {
    padding: 22px 2px 4px;
  }

  h1 {
    margin-top: 12px;
    font-size: clamp(2.3rem, 12vw, 3.55rem);
    letter-spacing: -0.04em;
    line-height: 1.02;
  }

  .language-block {
    margin-top: 30px;
  }

  .player-card {
    border-radius: 24px;
  }

  .media-frame {
    border-radius: 16px;
  }
}

@media (max-width: 430px) {
  .brand-name {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .model-chip {
    padding-inline: 9px;
    font-size: 0.64rem;
  }

  .language-selector {
    width: 100%;
  }

  .language-selector button {
    flex: 1 0 auto;
    padding-inline: 13px;
  }
}

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

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