:root {
  --release-measure: min(1160px, calc(100% - 72px));
  --release-rule: rgba(255, 236, 198, .19);
  --release-muted: #c4b8a6;
}

.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 590;
  line-height: 1.45;
  text-align: center;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.site-button-main { background: var(--gold); color: #171009; }
.site-button-main:hover { background: #ffe1a1; }
.site-button-store { color: var(--paper); border-color: var(--release-rule); background: #17120f; }
.site-button-store:hover { border-color: var(--gold); background: #201811; }
.site-button:focus-visible, .discovery-page a:focus-visible, .discovery-page summary:focus-visible,
.home-news-feature:focus-visible, .home-channel-group a:focus-visible, .headset-store-link:focus-visible,
.google-play-badge:focus-visible, .hero-android-apk:focus-visible, .hero-download-link:focus-visible,
.home-android .site-text-link:focus-visible, .home-wechat-actions .site-text-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

.site-text-link {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

.home-page .hero { padding-bottom: 90px; }
.home-page .hero h1 { margin-top: 0; }
.home-page .hero-intro { text-wrap: pretty; }
.headset-store-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.7vw, 22px); }
.hero .headset-store-logos { width: min(100%, 520px); margin-top: clamp(20px, 3vw, 32px); }
.headset-store-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 96px;
  padding: 12px 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.headset-store-meta { background: #fff; color: #1c2b33; }
.headset-store-meta img { display: block; width: min(94%, 192px); height: auto; }
.headset-store-pico { background: #0b0b0b; border-color: rgba(255, 255, 255, .45); color: #fff; }
.headset-store-pico img { display: block; width: min(65%, 115px); height: auto; }
.headset-store-link:hover { border-color: var(--gold); box-shadow: 0 5px 15px rgba(0, 0, 0, .33); }
.headset-store-caption { color: inherit; font-size: 12px; font-weight: 600; line-height: 1.3; text-align: center; }
.hero-android { display: flex; flex-wrap: wrap; align-items: center; gap: 4px clamp(8px, 2.5vw, 14px); margin-top: 12px; color: var(--cream); font-size: 13px; }
.hero-android > span, .hero-android-apk { white-space: nowrap; }
.hero-android .google-play-badge { display: inline-grid; align-items: center; width: clamp(104px, 33vw, 132px); min-height: 44px; }
.hero-android-apk { display: inline-flex; align-items: center; min-height: 44px; }
.hero-download-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; font-size: 14px; }
.hero-android-apk:hover, .hero-download-link:hover, .home-android .site-text-link:hover { color: var(--paper); }
.home-page .hero-scroll-cue { min-height: 32px; margin-top: 2px; }

.google-play-badge { display: inline-block; width: 174px; max-width: 100%; border-radius: 8px; }
.google-play-badge img { display: block; width: 100%; height: auto; }
.google-play-badge:hover { outline: 1px solid var(--release-rule); }
.home-android {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px clamp(18px, 3vw, 48px);
  margin-top: clamp(34px, 5vw, 65px);
  padding: 18px 0;
  border-block: 1px solid var(--release-rule);
}
.home-android h3 { margin: 0; color: var(--cream); font-size: 21px; font-weight: 500; }
.home-android p { max-width: 56ch; margin: 8px 0 0; color: var(--release-muted); font-size: 14px; line-height: 1.65; }
.home-android .site-text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }

.home-news { background: #150f0b; }
.home-news-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  margin-top: clamp(24px, 4vw, 54px);
  padding-bottom: clamp(24px, 4vw, 54px);
  border-bottom: 1px solid var(--release-rule);
}
.home-news-feature img { display: block; width: 100%; height: auto; border-radius: 9px; }
.home-news-copy time { color: var(--release-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.home-news-copy h3 { margin: 16px 0 22px; color: var(--paper); font-size: clamp(26px, 3.2vw, 44px); font-weight: 450; letter-spacing: -.025em; line-height: 1.27; text-wrap: balance; }
.home-news-feature:hover .site-text-link { color: var(--paper); }

.home-channels { background: #150f0b; }
.home-channel-groups { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px clamp(24px, 5vw, 72px); margin-top: clamp(26px, 4vw, 48px); }
.home-channel-group h3 { margin: 0 0 12px; color: var(--cream); font-size: clamp(19px, 2.1vw, 26px); font-weight: 500; line-height: 1.35; }
.home-channel-group ul { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--release-rule); }
.home-channel-group li + li { border-left: 1px solid var(--release-rule); }
.home-channel-group a { display: flex; flex-direction: column; align-items: center; min-height: 160px; height: 100%; padding: 20px 7px 16px; color: var(--paper); text-align: center; transition: color .18s ease, background .18s ease; }
.home-channel-group a:hover { color: var(--gold); background: #21170f; }
.home-channel-group a:focus-visible { outline-offset: -3px; }
.home-channel-group img { display: block; width: 50px; height: 50px; object-fit: contain; margin-bottom: 14px; }
.home-channel-group a span { font-size: 15px; font-weight: 540; line-height: 1.4; }
.home-channel-group small { margin-top: 4px; color: var(--release-muted); font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.home-channels-cn .home-channel-group { margin-top: clamp(26px, 4vw, 48px); }
.home-channels-cn .home-channel-group ul { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-channel-note { margin: 14px 0 0; color: var(--release-muted); font-size: 13px; line-height: 1.55; }
.home-wechat-code {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  align-items: center;
  gap: clamp(20px, 4vw, 42px);
  width: min(100%, 830px);
  margin-top: 26px;
  padding: 24px 0;
  border-block: 1px solid var(--release-rule);
  scroll-margin-top: 12px;
}
.home-wechat-code:target { display: grid; }
.home-wechat-code h3 { margin: 0; color: var(--cream); font-size: clamp(22px, 3vw, 32px); font-weight: 500; }
.home-wechat-code p { margin: 10px 0 16px; color: var(--release-muted); font-size: 14px; line-height: 1.6; }
.home-wechat-code img { display: block; width: min(100%, 300px); height: auto; border-radius: 9px; }
.home-wechat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.home-wechat-actions .site-text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }

.discovery-page { background: #0c0907; color: var(--paper); }
.discovery-page ::selection { background: var(--gold); color: #171009; }
.discovery-page [id] { scroll-margin-top: 24px; }
.site-skip-link { position: fixed; z-index: 3; top: 10px; left: 12px; padding: 10px 15px; transform: translateY(-150%); background: var(--gold); color: #171009; }
.site-skip-link:focus { transform: none; }
.discovery-header, .discovery-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 max(36px, calc((100% - 1160px) / 2)); }
.discovery-header { min-height: 74px; border-bottom: 1px solid var(--release-rule); }
.discovery-header nav, .discovery-footer div { display: flex; align-items: center; gap: clamp(13px, 3.1vw, 42px); }
.discovery-header nav a, .discovery-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--release-muted); font-size: 14px; }
.discovery-header .wordmark { color: var(--paper); }
.discovery-header nav a:hover, .discovery-header a[aria-current="page"], .discovery-footer a:hover { color: var(--gold); }
.discovery-header a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.discovery-main { width: var(--release-measure); margin: 0 auto; padding: clamp(42px, 6vw, 90px) 0 clamp(64px, 8vw, 112px); }
.discovery-heading { margin-bottom: clamp(30px, 4.2vw, 52px); }
.discovery-heading h1 { margin: 0; color: var(--paper); font-size: clamp(45px, 6.6vw, 92px); font-weight: 400; line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
.discovery-heading p { margin: 16px 0 0; color: var(--release-muted); font-size: clamp(15px, 1.6vw, 19px); line-height: 1.6; }
.download-page .discovery-heading p { text-wrap: pretty; }
.download-jumps { display: flex; gap: 22px; margin-top: 18px; }
.download-jumps a { display: inline-flex; align-items: center; min-height: 40px; color: var(--cream); font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.download-jumps a:first-child, .download-jumps a:hover { color: var(--gold); }

.headset-downloads h2, .android-copy h2 { margin: 0; color: var(--paper); font-size: clamp(30px, 4vw, 52px); font-weight: 450; line-height: 1.18; letter-spacing: -.035em; }
.headset-downloads h2 { margin-bottom: clamp(22px, 3vw, 36px); }
.headset-store-option h3, .pico-apk-row h3 { margin: 0 0 12px; color: var(--cream); font-size: clamp(17px, 2.1vw, 23px); font-weight: 500; line-height: 1.35; }
.headset-store-option .headset-store-link { min-height: 108px; }
.pico-apk-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 24px; padding: 21px 0; border-block: 1px solid var(--release-rule); }
.pico-apk-row h3 { margin-bottom: 6px; }
.pico-apk-row .download-help { margin: 0; }
.pico-apk-actions { display: grid; grid-template-columns: auto auto; align-items: center; justify-content: start; gap: 6px 16px; }
.pico-apk-actions .download-spec { grid-column: 1 / -1; }
.pico-apk-actions .site-text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.android-download {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  margin-top: clamp(56px, 7vw, 94px);
  padding: clamp(26px, 4vw, 60px);
  background: radial-gradient(ellipse at 84% 50%, #382318 0, #1d140e 46%, #17100b 80%);
  border: 1px solid var(--release-rule);
  border-radius: 15px;
}
.android-copy h2 { font-size: clamp(26px, 3.3vw, 42px); }
.android-intro { max-width: 50ch; margin: 15px 0 16px; color: var(--cream); font-size: 17px; line-height: 1.7; }
.download-spec { margin: 0; color: var(--release-muted); font-size: 13px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.android-buttons { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.android-copy .android-buttons { margin: 27px 0 12px; }
.download-help { max-width: 64ch; margin: 18px 0 22px; color: var(--release-muted); font-size: 14px; line-height: 1.75; }
.install-details { max-width: 540px; border-top: 1px solid var(--release-rule); }
.install-details:last-of-type { border-bottom: 1px solid var(--release-rule); }
.install-details summary { padding: 13px 0; color: var(--cream); font-size: 14px; font-weight: 530; line-height: 1.55; cursor: pointer; }
.install-details summary:hover { color: var(--gold); }
.install-details ol { margin: 0 0 18px; padding-left: 22px; color: var(--release-muted); font-size: 14px; line-height: 1.7; }
.install-details li + li { margin-top: 6px; }
.checksum-details p { margin: 0 0 8px; }
.checksum-details code { color: var(--cream); font-size: 12px; overflow-wrap: anywhere; }
.checksum-details a { display: inline-block; margin-bottom: 15px; font-size: 13px; }
.android-preview { justify-self: center; width: min(65%, 242px); margin: 0; }
.android-preview img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 14px 40px rgba(0,0,0,.46); }

.journal-heading { padding-bottom: 30px; border-bottom: 1px solid var(--release-rule); }
.journal-heading h1 { font-size: clamp(36px, 4.6vw, 63px); }
.journal-article-head { max-width: 870px; margin-bottom: clamp(22px, 3vw, 38px); }
.journal-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--release-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.journal-meta span { padding-left: 20px; border-left: 1px solid var(--release-rule); }
.journal-article-head h2 { margin: 14px 0; color: var(--cream); font-size: clamp(34px, 5vw, 71px); line-height: 1.13; letter-spacing: -.035em; font-weight: 460; text-wrap: balance; }
.journal-article-head p { max-width: 65ch; margin: 14px 0 0; color: var(--release-muted); font-size: clamp(15px, 1.7vw, 18px); line-height: 1.75; }
.journal-film { margin: 0; }
.journal-screen { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 16 / 9; background: #090705; border: 1px solid var(--release-rule); border-radius: 12px; }
.journal-poster, .journal-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.journal-poster:focus-visible { outline-offset: -5px; }
.journal-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.journal-play {
  position: absolute;
  left: clamp(15px, 3vw, 36px);
  bottom: clamp(15px, 3vw, 36px);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 47px;
  padding: 10px 17px;
  border-radius: 8px;
  background: #15100c;
  color: #fff1d8;
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 590;
  transition: background .18s ease, color .18s ease;
}
.journal-play::before { content: ""; width: 9px; height: 12px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.journal-poster:hover .journal-play, .journal-poster:focus-visible .journal-play { background: var(--gold); color: #171009; }
.journal-caption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; padding: 17px 0; border-bottom: 1px solid var(--release-rule); color: var(--release-muted); font-size: 14px; }
.discovery-footer { min-height: 96px; }
.discovery-footer small { color: var(--release-muted); font-size: 12px; }

@media (max-width: 760px) {
  :root { --release-measure: calc(100% - 36px); }
  .home-page .hero { min-height: max(100svh, 700px); padding: 120px 20px 36px; }
  .home-page .hero h1 { font-size: clamp(39px, 10vw, 60px); }
  html[lang="zh-CN"] .home-page .hero h1 { font-size: clamp(28px, 8.6vw, 60px); }
  html[lang="zh-CN"] .home-page .hero h1 br { display: initial; }
  .home-page .hero-intro { margin-top: 20px; }
  .hero .headset-store-link, .headset-store-option .headset-store-link { min-height: 80px; }
  .home-news-feature { grid-template-columns: 1fr; }
  .home-news-copy h3 { margin: 11px 0 13px; }
  .home-channel-groups { grid-template-columns: 1fr; gap: 26px; }
  .home-channel-group a { min-height: 126px; }
  .home-channel-group img { width: 40px; height: 40px; margin-bottom: 11px; }
  .home-channels-cn .home-channel-group ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-channels-cn .home-channel-group li:nth-child(n + 3) { border-top: 1px solid var(--release-rule); }
  .home-channels-cn .home-channel-group li:nth-child(3) { border-left: 0; }
  .home-wechat-code { grid-template-columns: minmax(0, 1fr); }
  .discovery-header, .discovery-footer { padding-right: 18px; padding-left: 18px; }
  .discovery-header { min-height: 66px; }
  .discovery-header .wordmark { gap: 7px; }
  .discovery-header nav a, .discovery-footer a { font-size: 13px; }
  .android-download { grid-template-columns: 1fr; padding: 24px; }
  .android-preview { width: min(52%, 180px); }
  .discovery-footer { flex-wrap: wrap; justify-content: flex-start; align-content: center; gap: 0 18px; text-align: left; }
  .discovery-footer small { flex-basis: 100%; }
}

@media (max-width: 380px) {
  .hero-android { font-size: 12px; }
  .android-buttons .site-button, .pico-apk-actions .site-button { padding-inline: 11px; font-size: 13px; }
  .home-channel-group small { font-size: 11px; }
  .android-download { padding-inline: 18px; }
}

@media (max-width: 350px) {
  html[lang="zh-CN"] .hero-android { column-gap: 6px; font-size: 11px; }
  html[lang="zh-CN"] .hero-android .google-play-badge { width: 103px; }
}
