.hero {
  position: relative;
  overflow: hidden;
  min-height: max(680px, calc(100vh - var(--header-h) - var(--peek-h)));
  display: flex;
  align-items: center;
  background: var(--g-hero);
  color: var(--c-white);
}
.hero__grid { width: 100%; display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.hero__copy { max-width: 620px; }
.tag { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 5px 14px 5px 11px; border: 1px solid var(--c-on-dark-line); border-radius: var(--r-pill); background: var(--c-on-dark-fill); color: var(--c-on-dark-2); font-size: 12.5px; letter-spacing: 0.01em; }
.tag__dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--r-pill); background: var(--c-coral); }
.hero .tag__dot { box-shadow: 0 0 0 4px var(--c-dot-ring); }
.hero__title { margin: 26px 0 0; font-size: var(--h1-size); font-weight: var(--weight-regular); line-height: 1.2; letter-spacing: -0.02em; color: var(--c-white); }
.hero__lead { margin-top: 22px; max-width: 33em; font-size: 16px; line-height: 1.75; color: var(--c-on-dark-2); }
.hero__lead strong { font-weight: var(--weight-medium); color: var(--c-white); }
.hero .get-note { color: var(--c-on-dark-3); }
.hero .get-note [data-pkg-ver] { color: var(--c-on-dark-2); }
.plats { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--c-on-dark-line); max-width: 560px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.plats__list { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.plat { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--c-on-dark-2); }
.plat svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--c-white); }
.plat:hover { color: var(--c-white); text-decoration: underline; }
.price-pill { display: inline-flex; align-items: center; flex-wrap: wrap; padding: 4px 12px; border: 1px solid var(--c-on-dark-line); border-radius: var(--r-pill); background: var(--c-on-dark-fill); color: var(--c-on-dark-2); font-size: 12.5px; }
.price-pill b { font-family: var(--font-mono); font-weight: var(--weight-medium); font-size: 12px; color: var(--c-white); margin-inline: 2px; }
.rig-holder { --rig-scale: 1; justify-self: center; position: relative; width: calc(590px * var(--rig-scale)); height: calc(600px * var(--rig-scale)); }
.rig { position: absolute; left: 0; top: 0; width: 540px; height: 600px; transform: scale(var(--rig-scale)); transform-origin: 0 0; }
.rig::before { content: ""; position: absolute; left: 6px; top: 0; width: 560px; height: 600px; background: radial-gradient(closest-side, var(--c-halo-1), var(--c-halo-2) 52%, var(--c-halo-0) 100%); }
.phone { position: absolute; z-index: 1; left: 152px; top: 16px; width: 272px; height: 560px; padding: 3px; border-radius: var(--r-device); background: var(--g-ti); color: var(--c-text); box-shadow: var(--e-device); }
.phone__key { position: absolute; width: 3px; background: var(--g-ti); }
.phone__key--action { left: -3px; top: 104px; height: 26px; border-radius: var(--r-key) 0 0 var(--r-key); }
.phone__key--up { left: -3px; top: 150px; height: 46px; border-radius: var(--r-key) 0 0 var(--r-key); }
.phone__key--down { left: -3px; top: 206px; height: 46px; border-radius: var(--r-key) 0 0 var(--r-key); }
.phone__key--side { right: -3px; top: 170px; height: 74px; border-radius: 0 var(--r-key) var(--r-key) 0; }
.phone__bezel { height: 100%; padding: 9px; border-radius: calc(var(--r-device) - 3px); background: var(--c-bezel); color: var(--c-white); }
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--r-device) - 12px); background: var(--g-screen); color: var(--c-text); }
.phone__screen::before { content: ""; position: absolute; inset: -30% -40%; background: linear-gradient(118deg, var(--c-clear) 0%, var(--c-clear) 36%, var(--c-band-1) 42%, var(--c-clear) 49%, var(--c-clear) 58%, var(--c-band-2) 62%, var(--c-clear) 66%, var(--c-clear) 100%); }
.phone__island { position: absolute; z-index: 1; top: 11px; left: 50%; width: 86px; height: 25px; margin-left: -43px; border-radius: var(--r-pill); background: var(--c-island); }
.float { position: absolute; background: var(--c-white); color: var(--c-text); }
.float--verify { z-index: 3; left: 58px; top: 348px; width: 300px; padding: 16px 18px 8px; border-radius: var(--r-card); box-shadow: var(--e-deep); }
.float--verify::after { content: ""; position: absolute; left: 12px; right: 12px; top: 100%; height: 7px; border-radius: 0 0 var(--r-card) var(--r-card); background: var(--c-lip); box-shadow: 0 6px 14px -6px var(--c-shade-mid); }
.verify__head { display: flex; align-items: center; gap: 11px; padding-bottom: 12px; border-bottom: 1px solid var(--c-border); }
.verify__head .mark { width: 34px; height: 34px; }
.verify__title { font-size: 14px; font-weight: var(--weight-medium); line-height: 1.35; }
.verify__sub { font-size: 11.5px; color: var(--c-muted); line-height: 1.4; }
.verify__row { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 11px; align-items: start; padding-top: 10px; padding-bottom: 10px; }
.verify__row + .verify__row { border-top: 1px solid var(--c-border); }
.check { width: 20px; height: 20px; margin-top: 2px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--c-check-bg); color: var(--c-coral); }
.check svg { width: 11px; height: 11px; }
.verify__k { display: block; font-size: 11px; letter-spacing: 0.02em; color: var(--c-muted); line-height: 1.4; }
.verify__v { display: block; font-size: 13px; line-height: 1.45; color: var(--c-text); }
.verify__v--mono { font-family: var(--font-mono); font-size: 12.5px; }
.float--rule { z-index: 2; left: 300px; top: 100px; display: flex; align-items: center; gap: 10px; padding: 11px 18px 11px 14px; border-radius: var(--r-pill); box-shadow: var(--e-soft); }
.rule__dot { width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-ring); flex-shrink: 0; }
.rule__code { font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; color: var(--c-text); }
.rule__code em { font-style: normal; color: var(--c-accent); }
.band { background: var(--c-bg); color: var(--c-text); padding-top: 22px; padding-bottom: 96px; }
.band__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; }
.band__cap { padding: 3px 12px; border-radius: var(--r-pill); background: var(--c-panel); color: var(--c-accent); font-size: 12.5px; }
.band__item { font-size: 14px; color: var(--c-muted); }
.band__item + .band__item { padding-left: 28px; border-left: 1px solid var(--c-border); }
.band__k { color: var(--c-text); font-weight: var(--weight-medium); margin-right: 8px; }
.gradient-heading { color: var(--c-accent-dark); }
@supports (background-clip: text) {
  .gradient-heading { background: var(--g-heading); background-clip: text; -webkit-background-clip: text; color: var(--c-clear); }
}
.tabs { min-width: 0; }
.tabs__bar { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 32px; }
.tabs__label { flex-shrink: 0; font-size: 13px; color: var(--c-muted); }
[role="tablist"] { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
[role="tab"] { appearance: none; flex-shrink: 0; min-height: 44px; padding: 10px 18px; border: 1px solid var(--c-border); border-radius: var(--r-pill); background: var(--c-white); color: var(--c-text); font: inherit; }
[role="tab"]:hover { border-color: var(--c-accent); }
[role="tab"][aria-selected="true"] { background: var(--c-tab-on); color: var(--c-text); border-color: var(--c-tab-on); }
[role="tabpanel"] { min-width: 0; }
.feature-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature-pair > * { min-width: 0; }
.feature-copy { padding: 44px; border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text); }
.feature-copy p { line-height: 1.85; color: var(--c-muted); margin-bottom: 28px; }
.feature-art { position: relative; min-height: 340px; overflow: hidden; border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text); padding: 40px; }
.rule-sheet { position: relative; width: calc(100% + 40px); margin-top: 28px; padding: 26px; border: 1px solid var(--c-border); border-radius: var(--r-card); background: var(--c-white); color: var(--c-text); box-shadow: var(--e-deep); }
.rule-sheet pre { border: 0; margin: 0; padding: 0; }
.rule-sheet + .rule-sheet { margin-top: 18px; margin-left: 32px; }
.setting-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--c-border); border-radius: var(--r-card); background: var(--c-white); color: var(--c-text); box-shadow: var(--e-soft); }
.setting-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.setting-list li + li { border-top: 1px solid var(--c-border); }
.setting-list li::after { content: "›"; color: var(--c-muted); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; margin-bottom: 32px; border: 1px solid var(--c-border); border-radius: var(--r-card); background: var(--c-white); color: var(--c-text); }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: var(--r-btn); color: var(--c-muted); }
.toc a:hover, .toc a[aria-current="location"] { background: var(--c-panel); color: var(--c-accent-dark); }
.toc--sticky { position: sticky; top: 12px; z-index: 5; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item summary { position: relative; padding: 22px 36px 22px 0; list-style: none; cursor: pointer; font-size: 17px; color: var(--c-text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 22px; color: var(--c-accent); }
.faq-item[open] summary::after { content: "−"; }
.faq-item__body { padding-bottom: 24px; color: var(--c-muted); line-height: 1.85; }
.term-card { padding: 28px; border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text); }
.term-card dt { margin-bottom: 12px; font: var(--weight-regular) 21px/1.4 var(--font-display); }
.term-card dd { margin: 0; color: var(--c-muted); }
.term-card code { color: var(--c-accent-dark); }
.appstore-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; max-width: 100%; padding: 10px 22px; border: 1px solid var(--c-clear); border-radius: var(--r-btn); background: var(--c-accent); color: var(--c-white); box-shadow: var(--e-btn); }
.appstore-btn:hover { background: var(--c-accent-dark); color: var(--c-white); }
.appstore-btn svg { width: 26px; height: 30px; flex-shrink: 0; }
.appstore-btn__copy { display: block; line-height: 1.25; text-align: left; }
.appstore-btn__copy small { display: block; font-size: 11px; margin-bottom: 3px; }
.appstore-btn__copy strong { display: block; font-size: 16px; font-weight: var(--weight-medium); }
.plat-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.plat-card { position: relative; flex: 1 1 calc(50% - 24px); min-width: 0; padding: 32px; border: 1px solid var(--c-border); border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text); }
.plat-card h3 { margin-top: 12px; }
.plat-card > p { color: var(--c-muted); }
.plat-card::before { display: none; content: attr(data-mine); width: fit-content; margin-bottom: 18px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--c-white); color: var(--c-accent-dark); font-size: 12px; }
.plat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.plat-actions > a { flex: 0 1 auto; }
html[data-visitor-os="ios"] .plat-card[data-plat="ios"] { order: -1; }
html[data-visitor-os="mac"] .plat-card[data-plat="mac"] { order: -1; }
html[data-visitor-os="windows"] .plat-card[data-plat="windows"] { order: -1; }
html[data-visitor-os="android"] .plat-card[data-plat="android"] { order: -1; }
html[data-visitor-os="linux"] .plat-card[data-plat="linux"] { order: -1; }
html[data-visitor-os="ios"] .plat-card[data-plat="ios"]::before,
html[data-visitor-os="mac"] .plat-card[data-plat="mac"]::before,
html[data-visitor-os="windows"] .plat-card[data-plat="windows"]::before,
html[data-visitor-os="android"] .plat-card[data-plat="android"]::before,
html[data-visitor-os="linux"] .plat-card[data-plat="linux"]::before { display: block; }
.wx-open-tip { position: fixed; z-index: var(--z-float); bottom: 24px; left: 50%; transform: translateX(-50%); width: min(440px, calc(100% - 32px)); padding: 20px 24px; border: 1px solid var(--c-border); border-radius: var(--r-card); background: var(--c-white); color: var(--c-text); box-shadow: var(--e-deep); line-height: 1.7; }
.wx-open-tip button { min-width: 44px; min-height: 44px; border: 0; border-radius: var(--r-btn); background: var(--c-panel); color: var(--c-accent-dark); }
.fact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0; margin: 24px 0 0; list-style: none; }
.fact-pill, .badge { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 6px 12px; border: 1px solid var(--c-border); border-radius: var(--r-pill); background: var(--c-panel); color: var(--c-text); font-size: 12px; overflow-wrap: anywhere; }
.badge--accent { background: var(--c-tab-on); color: var(--c-accent-dark); border-color: var(--c-tab-on); }
.status-dot { width: 7px; height: 7px; border-radius: var(--r-pill); background: var(--c-coral); flex-shrink: 0; }
.shot-row { display: flex; justify-content: center; align-items: flex-start; flex-wrap: wrap; gap: 32px; }
.official-shot { width: 100%; max-width: 280px; flex-shrink: 0; margin: 0 auto; padding: 0; }
.official-shot img { display: block; width: 100%; height: auto; border-radius: var(--r-shot); }
.official-shot { border: 1px solid var(--c-border); border-radius: var(--r-shot); }
.official-shot figcaption { padding-top: 12px; padding-bottom: 12px; color: var(--c-muted); font-size: 12px; text-align: center; }
.device-entry { display: flex; align-items: flex-start; gap: 20px; min-width: 0; padding: 28px; border: 1px solid var(--c-border); border-radius: var(--r-card); background: var(--c-white); color: var(--c-text); }
.device-entry > svg { width: 32px; height: 44px; flex-shrink: 0; color: var(--c-accent); }
.device-entry > div { min-width: 0; }
.device-entry h3 { margin-bottom: 8px; }
.device-entry p { color: var(--c-muted); }
.device-entry:hover { border-color: var(--c-accent); box-shadow: var(--e-soft); }
.article-card { display: flex; flex-direction: column; align-items: flex-start; padding: 30px; min-width: 0; border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text); }
.article-card h3 { margin-top: 20px; font-size: 22px; line-height: 1.5; }
.article-card h3 a:hover { color: var(--c-accent); }
.article-card p { color: var(--c-muted); margin-bottom: 24px; }
.article-card .text-link { margin-top: auto; }
.callout { margin: 24px 0; padding: 22px 26px; border-left: 3px solid var(--c-accent); border-radius: 0 var(--r-card) var(--r-card) 0; background: var(--c-panel); color: var(--c-text); }
.callout p + p { margin-top: 12px; }
.callout--important { border-left-color: var(--c-coral); }
.store-guide-card { padding: 32px; border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text); }
.store-guide-card p { margin-bottom: 24px; color: var(--c-muted); }
.dl-fab { position: fixed; z-index: var(--z-float); right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 20px; border: 1px solid var(--c-clear); border-radius: var(--r-pill); background: var(--c-accent); color: var(--c-white); box-shadow: var(--e-soft); }
.dl-fab:hover { background: var(--c-accent-dark); color: var(--c-white); }
.dl-fab svg { width: 22px; height: 22px; flex-shrink: 0; }
.table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--c-border); border-radius: var(--r-card); }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th, .data-table td, .prose table th, .prose table td { min-width: 7em; padding: 16px 20px; border-bottom: 1px solid var(--c-border); vertical-align: top; overflow-wrap: normal; word-break: normal; }
.data-table th, .prose table th { background: var(--c-panel); color: var(--c-text); font-weight: var(--weight-medium); }
.data-table td, .prose table td { background: var(--c-white); color: var(--c-text); }
.data-table tr:last-child td { border-bottom: 0; }
.prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; min-width: 0; border-collapse: collapse; text-align: left; }
.prose table code { word-break: normal; }
#install table code { display: inline-block; max-width: 100%; overflow-x: auto; white-space: pre; overflow-wrap: normal; word-break: normal; vertical-align: middle; }
.preview-swatch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.preview-swatch { border: 1px solid var(--c-border); border-radius: var(--r-card); overflow: hidden; background: var(--c-white); color: var(--c-text); }
.preview-swatch span { display: block; min-height: 72px; }
.preview-swatch code { display: block; padding: 12px; }
.sw-bg { background: var(--c-bg); }
.sw-panel { background: var(--c-panel); }
.sw-panel-2 { background: var(--c-panel-2); }
.sw-border { background: var(--c-border); }
.sw-accent { background: var(--c-accent); }
.sw-accent-dark { background: var(--c-accent-dark); }
.sw-text { background: var(--c-text); }
.sw-muted { background: var(--c-muted); }
.sw-coral { background: var(--c-coral); }
.sw-success { background: var(--c-success); }
.sw-warn { background: var(--c-warn); }
.sw-error { background: var(--c-error); }
.sw-tab { background: var(--c-tab-on); }
.sw-violet { background: var(--c-violet-soft); }
.sw-hero { background: var(--g-hero); }
.preview-shot { width: 100%; aspect-ratio: 750 / 1334; display: grid; place-items: center; padding: 24px; text-align: center; border-radius: var(--r-shot); background: var(--c-panel); color: var(--c-muted); }
.preview-fab { position: static; margin-top: 24px; }
.preview-type-title { font: var(--weight-regular) var(--h1-size)/1.2 var(--font-display); }
.preview-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (max-width: 1200px) {
  .rig-holder { --rig-scale: 0.84; }
}
@media (max-width: 1000px) {
  .hero { min-height: 0; }
  .hero__grid { display: flex; flex-direction: column; align-items: flex-start; padding-top: 40px; padding-bottom: 48px; gap: 0; }
  .hero__copy { display: contents; }
  .hero .tag { order: 1; }
  .hero__title { order: 2; }
  .hero__lead { order: 3; }
  .hero .get-actions, .hero .actions { order: 4; }
  .hero .get-note { order: 5; }
  .rig-holder { order: 6; --rig-scale: 0.7; align-self: center; margin-top: 28px; }
  .plats { order: 7; margin-top: 24px; }
  .band__item + .band__item { padding-left: 0; border-left: 0; }
  .tabs__bar { justify-content: flex-start; align-items: flex-start; flex-direction: column; gap: 10px; }
  .feature-copy { padding: 32px; }
}
@media (max-width: 768px) {
  .hero__title { font-size: 28px; }
}
@media (max-width: 640px) {
  .hero__title { margin-top: 20px; }
  .hero__lead { font-size: 15px; }
  .hero .get-actions, .hero .actions { width: 100%; margin-top: 26px; }
  .hero .btn { flex: 1 1 100%; }
  .rig-holder { --rig-scale: 0.56; margin-left: -8px; }
  .band { padding-bottom: 48px; }
  .band__row { justify-content: flex-start; }
  .feature-pair { grid-template-columns: 1fr; gap: 18px; }
  .feature-copy, .feature-art { padding: 24px; }
  .feature-art { min-height: 280px; }
  .plat-card { flex-basis: 100%; padding: 24px; }
  .plat-actions > a { flex: 1 1 100%; }
  .fact-row { justify-content: center; flex-direction: row; }
  .fact-pill { padding: 5px 9px; }
  .shot-row { flex-direction: column; align-items: center; }
  .device-entry { padding: 24px; gap: 16px; }
  .toc { padding: 10px; }
  .toc--sticky { position: static; }
  .dl-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; min-height: 52px; padding: 0; justify-content: center; }
  .dl-fab__text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  body.has-article-fab { padding-bottom: 84px; }
  #install table, #install tbody, #install tr, #install td { display: block; width: 100%; min-width: 0; }
  #install thead { display: none; }
  #install tr { border-bottom: 1px solid var(--c-border); }
  #install td { border-bottom: 0; padding: 12px 16px; }
  #install td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 6px; font-weight: var(--weight-medium); color: var(--c-muted); }
  #install table code { white-space: pre; word-break: normal; overflow-wrap: normal; }
}
@media (max-width: 360px) {
  .rig-holder { --rig-scale: 0.48; margin-left: -6px; }
  .hero__title { font-size: 26px; }
}