.page-heading { text-align: center; padding-block: 78px 58px; }
.page-heading h1 { font-size: clamp(34px, 4.5vw, 54px); }
.page-heading p { font-size: 19px; margin-top: 22px; }
.download-content { padding-bottom: 100px; }
.download-heading { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 14px; font-size: 14px; }
.download-heading .text-button { font-size: 14px; }
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.download-platform { padding: 36px 0; scroll-margin-top: 88px; display: flex; flex-direction: column; }
.download-anchor { display: block; height: 0; scroll-margin-top: 88px; }
.download-license { padding-bottom: 32px; font-size: 14px; }
.platform-symbol { color: #626f85; margin-bottom: 22px; }
.platform-symbol .icon { width: 43px; height: 43px; stroke-width: 1.2; }
.download-platform h2 { font-size: 30px; letter-spacing: -.02em; }
.download-platform > p { font-size: 16px; margin-top: 10px; }
.release-slot { margin-top: 28px; min-height: 110px; }
.release-slot h3 { font-size: 19px; }
.release-slot p { font-size: 14px; }
.release-slot .button { margin-top: 18px; }
.release-actions { display: flex; flex-wrap: wrap; column-gap: 12px; }
#android-lan-controller { border-top: 1px solid var(--line); }
.release-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--secondary); font-size: 13px; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.release-badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #e8f1ff; color: #0f5fdc; }
.release-badge.beta { background: #eff1f5; color: #525964; }
.release-digest { font-size: 12px; margin-top: 12px; }
.release-digest summary { cursor: pointer; color: #0f5fdc; min-height: 44px; padding-top: 10px; }
.release-digest code { display: block; overflow-wrap: anywhere; font-size: 11px; color: #52617a; background: #f3f5f9; border-radius: 6px; padding: 12px; }
.download-message { font-size: 14px; min-height: 20px; }
.download-help { margin-top: 24px; background: var(--soft); border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; }
.download-help h3 { font-size: 19px; }
.download-help p { margin-top: 8px; font-size: 15px; }
.download-faq { margin-top: 24px; border-bottom: 1px solid var(--line); }
.download-faq p { font-size: 15px; padding: 0 0 20px; max-width: 75ch; }
.help-content { padding-bottom: 100px; max-width: 900px; }
.help-search { display: flex; align-items: center; gap: 14px; background: var(--soft); border-radius: 12px; padding: 0 20px; color: #697181; }
.help-search input { min-height: 56px; width: 100%; border: 0; background: transparent; outline-offset: 2px; font-size: 16px; }
.help-search input::placeholder { color: #6c727f; opacity: 1; }
.article-list { margin-top: 32px; }
.article-link { display: flex; gap: 22px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.article-link > span { background: var(--soft); width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #596d8d; flex-shrink: 0; }
.article-link h2 { font-size: 21px; letter-spacing: -.01em; }
.article-link p { font-size: 15px; margin-top: 8px; }
.article-link > .icon { margin-left: auto; color: #747c8a; width: 17px; }
.article-link:hover h2 { color: var(--blue); }
.search-empty { padding: 32px 0; font-size: 16px; }
.help-aside { margin-top: 60px; }
.help-aside h2 { font-size: 28px; }
.help-aside p { margin-top: 20px; max-width: 65ch; }
.help-aside .actions { justify-content: start; margin-top: 20px; }
.article-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 64px; padding-block: 64px 100px; }
.article-sidebar { font-size: 14px; }
.article-sidebar > a { font-size: 14px; }
.back-arrow { transform: rotate(180deg); }
.article-sidebar nav { display: grid; margin-top: 24px; }
.article-sidebar nav a { padding: 13px 0; color: #636a77; }
.article-sidebar nav a[aria-current] { color: var(--blue); font-weight: 500; }
.reading { max-width: 720px; font-size: 17px; line-height: 1.95; }
.reading h1 { font-size: clamp(30px, 3.3vw, 40px); line-height: 1.4; }
.reading h2 { font-size: 26px; line-height: 1.5; margin-top: 48px; margin-bottom: 18px; }
.reading p + p { margin-top: 18px; }
.reading p { color: #50535c; }
.reading .article-intro { font-size: 19px; color: var(--secondary); margin-top: 20px; }
.reading a { color: #0f5fdc; text-decoration: underline; }
.reading ol { color: #50535c; padding-left: 24px; }
.reading li { padding-left: 6px; margin-top: 12px; }
.reading-end { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; font-size: 14px; gap: 20px; }
.reading-end .icon { width: 15px; }
.security-content { max-width: 900px; padding-bottom: 100px; }
.security-lead { display: flex; gap: 24px; align-items: center; background: var(--soft); padding: 32px; border-radius: 14px; }
.security-lead > .icon { color: #5c7395; width: 42px; height: 42px; }
.security-lead p { font-size: 18px; }
.security-reading { margin: 0 auto; }
.account-shell { max-width: 900px; padding-bottom: 100px; }
.account-nav { display: flex; gap: 32px; border-bottom: 1px solid var(--line); font-size: 15px; }
.account-nav a { padding: 0 0 16px; border-bottom: 2px solid transparent; }
.account-nav a[aria-current] { border-color: var(--blue); color: var(--blue); }
.account-panel { padding: 48px 0; min-height: 340px; }
.account-welcome { max-width: 540px; }
.account-welcome > .icon { width: 36px; height: 36px; color: #6a7b96; margin-bottom: 18px; }
.account-welcome h2 { font-size: 30px; }
.account-welcome p { font-size: 16px; margin-block: 18px 24px; }
.account-note { font-size: 13px !important; }
.profile-summary { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.profile-summary h2 { font-size: 26px; }
.profile-summary p { font-size: 15px; margin-top: 10px; overflow-wrap: anywhere; }
.profile-details { margin: 32px 0 0; }
.profile-details div { display: flex; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 15px; }
.profile-details dt { color: var(--secondary); min-width: 100px; }
.profile-details dd { margin: 0; overflow-wrap: anywhere; min-width: 0; }
.profile-summary .button { white-space: normal; }
.account-plans { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.account-plans h3 { font-size: 20px; margin-bottom: 16px; }
.plan-list { display: grid; gap: 14px; }
.plan-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .18s; }
.plan-card:hover { border-color: #b7c9e8; }
.plan-card h4 { font-size: 16px; margin: 0 0 6px; }
.plan-card p { font-size: 14px; margin: 0; color: var(--secondary); }
.plan-action { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.plan-action strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.plan-action span { font-size: 13px; color: var(--secondary); }
.account-error h2, .orders-empty h2 { font-size: 25px; }
.account-error p, .orders-empty p { margin-top: 16px; font-size: 16px; }
.account-error .text-button { margin-top: 18px; }
.orders-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 28px; }
.orders-heading h2 { font-size: 25px; }
.orders-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.orders-table th { font-size: 13px; font-weight: 500; color: var(--secondary); }
.orders-table td, .orders-table th { padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); }
.orders-table td:first-child { overflow-wrap: anywhere; }
.order-id { display: block; font-size: 11px; color: var(--secondary); }
.order-amount { font-variant-numeric: tabular-nums; white-space: nowrap; }
.loading-label { font-size: 15px; }
.loading-label::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #93b5e8; margin-right: 10px; animation: loading-pulse 1.1s ease-in-out infinite alternate; }
.not-found { display: flex; justify-content: center; gap: 24px; padding-bottom: 100px; }
@keyframes loading-pulse { to { opacity: .3; } }
@media (max-width: 900px) {
  .download-grid { grid-template-columns: 1fr; gap: 0; }
  .download-platform { padding: 32px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 800px) {
  .page-heading { padding-block: 56px 40px; }
  .page-heading p { font-size: 17px; }
  .article-shell { grid-template-columns: 1fr; gap: 32px; padding-block: 32px 72px; }
  .article-sidebar nav { display: none; }
  .reading { max-width: none; }
  .download-help { flex-direction: column; align-items: start; gap: 16px; padding: 24px; }
  .plan-card { flex-direction: column; align-items: start; }
}
@media (max-width: 540px) {
  .page-heading { text-align: left; padding-block: 48px 36px; }
  .page-heading h1 { font-size: 34px; line-height: 1.35; }
  .page-heading p { font-size: 16px; line-height: 1.85; }
  .download-grid { grid-template-columns: 1fr; gap: 0; }
  .download-platform { padding: 32px 0; border-bottom: 1px solid var(--line); }
  .download-platform h2 { font-size: 28px; }
  .release-slot { min-height: 90px; }
  .download-help { margin-top: 32px; }
  .download-content, .help-content, .account-shell, .security-content { padding-bottom: 64px; }
  .article-link { gap: 14px; align-items: start; padding-block: 24px; }
  .article-link h2 { font-size: 18px; line-height: 1.5; }
  .article-link p { font-size: 14px; }
  .article-link > .icon { margin-top: 12px; }
  .article-link > span { width: 40px; height: 40px; }
  .help-aside h2 { font-size: 25px; }
  .help-aside p { font-size: 16px; }
  .reading { font-size: 16px; line-height: 1.95; }
  .reading h2 { font-size: 23px; margin-top: 36px; }
  .reading .article-intro { font-size: 17px; }
  .reading-end { flex-direction: column; gap: 12px; }
  .security-lead { padding: 24px; align-items: start; gap: 14px; }
  .security-lead > .icon { width: 28px; height: 28px; margin-top: 3px; }
  .security-lead p { font-size: 16px; }
  .profile-summary { flex-direction: column; align-items: start; }
  .profile-details div { gap: 10px; flex-direction: column; }
  .orders-table { font-size: 12px; }
  .orders-table td, .orders-table th { padding-right: 8px; }
  .not-found { flex-direction: column; align-items: start; }
}
