:root {
  color-scheme: light;
  --paper: #f5f5f5;
  --surface: #ffffff;
  --ink: #0a0a0a;
  --muted: #606060;
  --line: #d4d4d4;
  --accent: #3155e7;
  --focus: #3155e7;
  --radius: 6px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
h1, h2, h3, p, ol, figure { margin: 0; }
ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
svg.lucide { width: 18px; height: 18px; flex: 0 0 auto; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, summary:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 4px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -70px; left: 16px; padding: 10px 16px; background: var(--ink); color: white; z-index: 20; }
.skip-link:focus { top: 8px; }
.site-topbar { background: var(--paper); }
.topbar-inner, .harness-page { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.topbar-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 650; white-space: nowrap; }
.site-switch { display: flex; align-items: center; gap: 2px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.site-switch a { display: flex; align-items: center; min-height: 34px; padding: 6px 12px; border-radius: 4px; color: var(--muted); font-weight: 650; font-size: 12px; white-space: nowrap; }
.site-switch a:hover { color: var(--ink); }
.site-switch a[aria-current] { color: white; background: var(--ink); }
.page-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 80px; padding: 26px 0 52px; border-bottom: 1px solid var(--line); }
.hero-copy { min-width: 0; }
.eyebrow, .section-index { font-size: 11px; line-height: 1.6; font-weight: 750; color: var(--accent); }
.eyebrow { margin-bottom: 16px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: 80px; line-height: .92; font-weight: 700; }
.title-suffix { display: block; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 68px; font-weight: 800; line-height: 1.08; }
.page-intro { margin-top: 24px; font-size: 16px; font-weight: 650; line-height: 1.9; color: #303030; text-wrap: pretty; max-width: 590px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-stats > * { display: grid; align-content: center; gap: 2px; padding: 14px 18px; }
.hero-stats > :first-child { padding-left: 0; }
.hero-stats > * + * { border-left: 1px solid #ddd; }
.hero-stats strong { font-size: 23px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.hero-stats span { display: flex; gap: 4px; align-items: center; font-size: 11px; color: var(--muted); font-weight: 600; }
.hero-stats svg { width: 12px; height: 12px; }
.hero-stats a:hover span { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-actions .primary-button { flex: none; }
.hero-actions .secondary-button { border-color: var(--ink); background: white; }
.hero-showcase { min-width: 0; }
.hero-preview { display: block; width: 100%; padding: 0; background: transparent; }
.hero-preview img { width: 100%; height: 420px; object-fit: contain; }
.hero-showcase figcaption { display: flex; gap: 14px; align-items: center; border-top: 1px solid var(--ink); padding: 14px 0; margin-top: 14px; }
.spotlight-rank { font-size: 14px; font-weight: 800; flex-shrink: 0; padding-right: 14px; border-right: 1px solid var(--line); }
.spotlight-rank span, .hero-showcase figcaption div > span { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.hero-showcase figcaption strong { font-size: 16px; }
.hero-showcase figcaption > .icon-button { margin-left: auto; }
.editorial-section { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 30px; padding: 52px 0; border-bottom: 1px solid var(--line); }
.section-index { padding-top: 12px; }
.section-content, .catalog-content { min-width: 0; }
.section-heading { margin-bottom: 28px; }
.section-heading h2 { font-size: 42px; font-weight: 750; line-height: 1.3; }
.section-heading p { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 8px; }
.video-section { scroll-margin-top: 24px; padding-block: 36px; }
.video-content { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: center; gap: 32px; }
.video-details { min-width: 0; }
.video-details h2 { font-size: 24px; font-weight: 750; line-height: 1.35; }
.video-meta { margin-top: 6px; font-size: 12px; color: var(--muted); }
.video-meta span { margin-inline: 5px; }
.video-details h3 { margin-top: 18px; font-size: 20px; font-weight: 600; line-height: 1.6; text-wrap: pretty; }
.video-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; margin-top: 14px; }
.video-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; font-weight: 650; }
.video-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.video-companions { color: var(--accent); }
.video-player { aspect-ratio: 16 / 9; width: 100%; background: #171717; position: relative; }
.video-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-cover { position: absolute; inset: 0; display: grid; place-items: center; }
.video-cover img { width: 100%; height: 100%; object-fit: contain; }
.video-cover:focus-visible { outline-offset: 4px; }
.video-play { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #ffffff50; border-radius: 6px; background: #0a0a0aea; color: white; font-size: 12px; font-weight: 650; box-shadow: 0 2px 12px #0004; }
.video-cover:hover .video-play, .video-cover:focus-visible .video-play { background: #0a0a0a; border-color: white; }
.video-play svg { width: 20px; height: 20px; }
.video-loading { position: absolute; inset: 0; display: grid; place-items: center; background: #171717; color: white; font-size: 13px; pointer-events: none; }
.catalog-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-top: 12px; font-size: 11px; color: var(--muted); }
.video-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; cursor: pointer; color: var(--ink); font-size: 12px; }
.video-filter input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.video-filter input:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.card-labels { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 8px; }
.video-badge { color: var(--accent); font-size: 10px; white-space: nowrap; }
.top-picks-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pick-card { min-width: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--surface); }
.pick-preview { display: grid; place-items: center; width: 100%; height: 170px; padding: 12px; background: #eee; border-bottom: 1px solid var(--line); }
.pick-preview:hover { background: #e5e5e5; }
.pick-preview img { width: 100%; height: 146px; object-fit: contain; }
.pick-symbol { color: var(--tone); display: grid; justify-items: center; gap: 12px; font-size: 13px; font-weight: 600; }
.pick-symbol svg { width: 52px; height: 52px; }
.pick-content { padding: 18px; }
.pick-rank { font-size: 11px; font-weight: 800; }
.pick-rank > span { font-weight: 500; color: var(--muted); margin-left: 6px; }
.pick-content h3 { font-size: 18px; line-height: 1.55; margin: 8px 0 10px; min-height: 56px; text-wrap: pretty; }
.pick-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; }
.pick-bottom .catalog-stars strong { font-size: 15px; }
.ranking-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.catalog-layout { scroll-margin-top: 24px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-button { display: flex; align-items: center; gap: 7px; text-align: left; min-height: 42px; padding: 9px 12px; background: transparent; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.filter-button svg { width: 15px; height: 15px; }
.filter-count { margin-left: 2px; font-size: 10px; font-variant-numeric: tabular-nums; }
.filter-button:hover { background: #e9e9e9; color: var(--ink); }
.filter-button.active { background: var(--ink); color: white; }
.filter-button.active .filter-count { color: #d7d8dc; }
.catalog-toolbar { display: flex; align-items: center; gap: 20px; justify-content: space-between; }
.search-field { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 0 13px; width: min(290px, 40%); min-height: 44px; color: var(--muted); }
.search-field:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.search-field input { border: 0; outline: none; min-width: 0; width: 100%; background: transparent; font-size: 13px; padding: 11px 0; }
.search-field input::placeholder { color: #76777c; }
.sort-label { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.sort-label svg { width: 15px; height: 15px; }
.category-section { margin-top: 28px; scroll-margin-top: 20px; }
.category-section + .category-section { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.category-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.category-symbol { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 6px; flex-shrink: 0; }
.category-visual .category-symbol { color: #315aba; background: #eaf0fd; }
.category-essential .category-symbol { color: #496318; background: #eaf2d8; }
.category-heading h2 { font-size: 21px; font-weight: 650; display: flex; gap: 10px; align-items: center; }
.category-heading p { margin-top: 3px; font-size: 12px; color: var(--muted); }
.total-count { font-size: 12px; color: var(--muted); font-weight: 400; }
.featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tone-lime { --tone: #54751a; --tone-soft: #eef4df; }
.tone-blue { --tone: #3c62ba; --tone-soft: #edf1fb; }
.tone-coral { --tone: #b85234; --tone-soft: #fbeee8; }
.tone-violet { --tone: #7b50ae; --tone-soft: #f2ecf8; }
.tone-ink { --tone: #30353e; --tone-soft: #eceef1; }
.featured-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); min-width: 0; transition: border-color 160ms, box-shadow 160ms; }
.featured-card:hover { border-color: #b2b5b9; box-shadow: 0 4px 14px #14151a08; }
.feature-preview { position: relative; display: block; width: 100%; height: 294px; flex-shrink: 0; padding: 12px 16px 10px; background: var(--tone-soft); border-bottom: 1px solid var(--line); }
.feature-preview:focus-visible { outline-offset: -4px; }
.preview-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 22px; font-size: 10px; color: var(--tone); margin-bottom: 9px; }
.rank-tag { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.feature-preview img { width: 100%; height: 240px; object-fit: contain; object-position: center; transition: transform 220ms; }
.feature-preview:hover img { transform: translateY(-2px); }
.preview-expand { position: absolute; bottom: 9px; right: 9px; width: 26px; height: 26px; display: grid; place-items: center; background: white; color: #3d4047; border: 1px solid var(--line); border-radius: 4px; opacity: 0; transition: opacity 160ms; }
.feature-preview:hover .preview-expand, .feature-preview:focus-visible .preview-expand { opacity: 1; }
.preview-expand svg { width: 13px; height: 13px; }
.preview-source { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid #ececec; color: var(--muted); font-size: 11px; }
.preview-source a { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; }
.preview-source a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.preview-source svg { width: 12px; height: 12px; }
.feature-content { display: flex; flex-direction: column; flex: 1; padding: 17px 18px 16px; }
.card-name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kind-label { font-size: 10px; color: var(--tone); flex-shrink: 0; }
.plugin-name { display: block; font-size: 11px; font-weight: 450; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.feature-content h3 { font-size: 17px; line-height: 1.5; font-weight: 650; margin-top: 5px; text-wrap: balance; }
.title-button { color: inherit; font: inherit; background: transparent; padding: 0; text-align: left; }
.title-button:hover { text-decoration: underline; text-decoration-color: #a7a9ae; text-underline-offset: 4px; }
.feature-description { font-size: 12px; color: var(--muted); margin-top: 6px; min-height: 39px; line-height: 1.7; }
.feature-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 18px; }
.catalog-stars { display: inline-flex; flex-wrap: wrap; gap: 5px; align-items: center; font-variant-numeric: tabular-nums; }
.catalog-stars svg { width: 14px; height: 14px; color: #6e7379; }
.catalog-stars strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.catalog-stars small { font-size: 10px; color: var(--muted); }
.feature-actions { display: flex; align-items: center; gap: 8px; }
.install-button { min-height: 34px; padding: 7px 14px; display: inline-flex; justify-content: center; align-items: center; gap: 7px; background: #f5f5f5; border: 1px solid var(--line); border-radius: 5px; font-size: 12px; white-space: nowrap; transition: background 160ms, border-color 160ms; }
.feature-actions .install-button { min-width: 74px; }
.install-button:hover { background: #eceef0; border-color: #999da4; }
.install-button svg { width: 14px; height: 14px; }
.icon-button { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 5px; background: transparent; flex: 0 0 auto; color: #60636a; }
.icon-button:hover { color: var(--ink); background: #eceef0; }
.plugin-icon { width: 42px; height: 42px; border-radius: 8px; background: var(--tone-soft); color: var(--tone); display: grid; place-items: center; flex: 0 0 auto; }
.plugin-icon svg { width: 21px; height: 21px; }
.empty-state { padding: 72px 16px; display: grid; justify-items: center; gap: 16px; color: var(--muted); border-bottom: 1px solid var(--line); }
.empty-state > svg { width: 32px; height: 32px; }
.empty-state h3 { color: var(--ink); font-size: 17px; font-weight: 500; }
.text-button { background: none; text-decoration: underline; text-underline-offset: 5px; font-size: 13px; padding: 8px; }
.method-note { margin-top: 24px; scroll-margin-top: 24px; font-size: 12px; color: var(--muted); }
.method-note summary { cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 12px 0; list-style: none; }
.method-note summary::-webkit-details-marker { display: none; }
.method-note summary svg { width: 15px; height: 15px; }
.details-chevron { margin-left: auto; }
.method-note[open] .details-chevron { transform: rotate(180deg); }
.method-body { padding: 0 0 18px 23px; max-width: 800px; }
.method-body p { margin: 12px 0; line-height: 1.8; }
.method-body a { display: inline-flex; gap: 6px; align-items: center; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.method-body a svg { width: 13px; height: 13px; }
.site-footer { margin-top: 50px; padding: 24px 0 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 10px; color: var(--muted); }
.site-footer > div { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-divider { margin-inline: 8px; color: #b8bac1; }
.dialog-open { overflow: hidden; }
dialog { color: var(--ink); background: var(--surface); padding: 0; width: min(680px, calc(100% - 40px)); max-height: min(880px, calc(100dvh - 48px)); border: 1px solid var(--line); border-radius: 8px; overscroll-behavior: contain; box-shadow: 0 24px 100px #0003; }
dialog::backdrop { background: #14151a66; }
dialog[open] { animation: dialog-enter 160ms ease-out; }
.dialog-shell { padding: 22px 28px 26px; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 14px; }
.dialog-heading { display: flex; gap: 14px; align-items: center; }
.dialog-heading .plugin-icon { width: 46px; height: 46px; }
.dialog-heading h2 { font-size: 22px; font-weight: 600; line-height: 1.4; margin-top: 4px; text-wrap: balance; }
#dialogDescription { margin: 16px 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.dialog-preview { margin: 18px 0; }
.dialog-preview img { width: 100%; height: 260px; object-fit: contain; background: var(--paper); }
.dialog-preview figcaption { font-size: 10px; color: var(--muted); margin-top: 6px; }
.dialog-preview figcaption a { margin-left: 6px; text-decoration: underline; text-underline-offset: 3px; }
.dialog-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; gap: 16px; font-variant-numeric: tabular-nums; }
.dialog-metrics div { display: grid; gap: 4px; }
.dialog-metrics strong { font-size: 18px; font-weight: 550; overflow-wrap: anywhere; }
.dialog-metrics span { font-size: 10px; color: var(--muted); }
.install-note { display: flex; align-items: flex-start; gap: 9px; margin: 20px 0; font-size: 12px; color: #70542f; line-height: 1.8; }
.install-note svg { width: 16px; height: 16px; margin-top: 3px; }
.prompt-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.prompt-heading label { font-size: 14px; font-weight: 550; }
.prompt-heading span { font-size: 10px; color: var(--muted); }
#installPrompt { display: block; width: 100%; min-height: 178px; height: 178px; padding: 14px; border: 1px solid var(--line); border-radius: 5px; resize: vertical; background: var(--paper); font-size: 11px; line-height: 1.8; }
.dialog-actions { display: flex; gap: 12px; margin-top: 16px; }
.primary-button, .secondary-button { min-height: 42px; padding: 9px 16px; display: flex; justify-content: center; align-items: center; gap: 8px; border-radius: 5px; font-size: 13px; }
.primary-button { background: var(--ink); color: white; flex: 1; font-weight: 650; }
.primary-button:hover { background: #333; }
.secondary-button { border: 1px solid var(--line); }
.secondary-button:hover { background: var(--paper); }
.primary-button svg, .secondary-button svg { width: 15px; height: 15px; }
.verification-note { margin-top: 16px; font-size: 10px; color: var(--muted); }
.verification-note a { text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.copy-toast { position: fixed; bottom: max(28px, env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 12px); background: var(--ink); color: white; border: 1px solid #41434a; border-radius: 6px; padding: 12px 20px; font-size: 13px; opacity: 0; pointer-events: none; z-index: 100; max-width: calc(100% - 32px); width: max-content; text-align: center; transition: opacity 150ms, transform 150ms; }
.copy-toast.visible { opacity: 1; transform: translate(-50%, 0); }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1150px) {
  .video-content { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .topbar-inner, .harness-page { width: calc(100% - 56px); }
  .page-heading { gap: 36px; }
  h1 { font-size: 72px; }
  .title-suffix { font-size: 62px; }
  .hero-preview img { height: 370px; }
  .editorial-section { grid-template-columns: 120px minmax(0, 1fr); gap: 24px; }
  .catalog-toolbar { flex-wrap: wrap; }
  .search-field { flex: 1; min-width: 210px; }
  .pick-content { padding: 14px; }
  .pick-content h3 { font-size: 16px; min-height: 50px; }
  .feature-content { padding: 14px; }
  .feature-content h3 { font-size: 15px; }
  .plugin-icon { width: 36px; height: 36px; }
}
@media (max-width: 900px) {
  .topbar-inner, .harness-page { width: calc(100% - 40px); }
  .site-switch a { padding-inline: 9px; }
  .page-heading { gap: 24px; padding: 20px 0 40px; }
  h1 { font-size: 60px; }
  .title-suffix { font-size: 52px; }
  .page-intro { font-size: 14px; }
  .hero-stats > * { padding: 12px 8px; }
  .hero-stats strong { font-size: 20px; }
  .hero-stats span { font-size: 10px; }
  .hero-preview img { height: 300px; }
  .hero-showcase figcaption { gap: 10px; }
  .spotlight-rank { padding-right: 10px; }
  .hero-showcase figcaption div > span { font-size: 10px; }
  .hero-showcase figcaption strong { font-size: 14px; }
  .hero-actions .primary-button, .hero-actions .secondary-button { padding-inline: 12px; font-size: 12px; }
  .editorial-section { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-block: 36px; }
  .section-index { padding: 0; }
  .section-heading h2 { font-size: 36px; }
  .pick-preview { height: 150px; }
  .pick-preview img { height: 126px; }
  .feature-content h3 { font-size: 16px; }
  .featured-grid { gap: 12px; }
  .site-footer { flex-direction: column; gap: 10px; }
}
@media (max-width: 650px) {
  .video-content { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .video-details h2 { font-size: 22px; }
  .video-details h3 { margin-top: 12px; font-size: 18px; }
  .video-links { margin-top: 10px; }
  .topbar-inner, .harness-page { width: calc(100% - 32px); }
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 20px; padding-bottom: 16px; min-height: 116px; }
  .site-brand { font-size: 16px; }
  .site-brand img { width: 24px; height: 24px; }
  .site-switch { width: 100%; justify-content: space-between; gap: 0; }
  .site-switch a { justify-content: center; flex: 1; padding: 6px; font-size: 11px; }
  .page-heading { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 14px 0 28px; }
  .eyebrow { font-size: 10px; margin-bottom: 14px; }
  h1 { font-size: 60px; }
  .title-suffix { font-size: 49px; }
  .page-intro { font-size: 14px; margin-top: 18px; line-height: 1.85; }
  .hero-stats { margin-top: 18px; }
  .hero-stats strong { font-size: 21px; }
  .hero-stats > * { padding: 12px 10px; }
  .hero-actions { margin-top: 18px; }
  .hero-showcase { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; }
  .hero-preview img { height: 114px; }
  .hero-showcase figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; margin: 0; padding-block: 10px; }
  .hero-showcase .spotlight-rank { grid-column: 1 / -1; border: 0; padding: 0; }
  .spotlight-rank span { display: inline; margin-left: 8px; }
  .hero-showcase figcaption > .icon-button { grid-column: 2; grid-row: 2; }
  .hero-showcase figcaption strong { font-size: 15px; }
  .editorial-section { padding-block: 28px; }
  .section-heading { margin-bottom: 20px; }
  .section-heading h2 { font-size: 30px; }
  .section-heading p { font-size: 12px; }
  .section-index { font-size: 10px; }
  .top-picks-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pick-card { display: grid; grid-template-columns: 100px minmax(0, 1fr); }
  .pick-preview { height: 100%; min-height: 170px; padding: 8px; border-bottom: 0; border-right: 1px solid var(--line); }
  .pick-preview img { height: 140px; }
  .pick-symbol { font-size: 11px; }
  .pick-symbol svg { width: 36px; height: 36px; }
  .pick-content { padding: 14px; }
  .pick-content h3 { font-size: 15px; min-height: 0; margin: 7px 0; }
  .pick-bottom { margin-top: 12px; gap: 6px; }
  .pick-bottom .catalog-stars strong { font-size: 14px; }
  .pick-bottom .install-button { padding-inline: 10px; }
  .ranking-heading { align-items: baseline; }
  .ranking-heading .sort-label { display: block; font-size: 10px; }
  .filter-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .filter-button { min-height: 40px; padding: 7px; font-size: 12px; gap: 5px; justify-content: center; }
  .filter-button svg { width: 13px; height: 13px; }
  .filter-count { font-size: 9px; }
  .catalog-toolbar { display: grid; gap: 12px; }
  .search-field { width: 100%; }
  .search-field input { font-size: 16px; padding: 10px 0; }
  .search-field input::placeholder { font-size: 12px; }
  .sort-label { display: none; }
  .category-heading h2 { font-size: 19px; }
  .category-heading p { font-size: 11px; }
  .category-heading { margin-bottom: 16px; gap: 10px; }
  .category-symbol { width: 36px; height: 36px; }
  .category-section { margin-top: 22px; }
  .featured-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .feature-preview { height: 254px; }
  .feature-preview img { height: 200px; }
  .preview-source a { min-height: 40px; }
  .feature-content { padding: 16px 18px; }
  .feature-content h3 { font-size: 19px; }
  .feature-description { min-height: 0; font-size: 12px; }
  .install-button, .icon-button { min-height: 40px; }
  .icon-button { width: 40px; height: 40px; }
  .site-footer { margin-top: 32px; font-size: 9px; }
  .site-footer > div { gap: 16px; }
  .method-body { padding-left: 0; }
  dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); }
  .dialog-shell { padding: 16px 18px 22px; }
  .dialog-top { margin-bottom: 12px; }
  .dialog-heading h2 { font-size: 19px; }
  .dialog-heading { gap: 10px; }
  .dialog-preview img { height: 200px; }
  .dialog-metrics { gap: 10px; }
  .dialog-metrics strong { font-size: 15px; }
  .dialog-metrics span { font-size: 9px; }
  .prompt-heading { flex-wrap: wrap; gap: 4px; }
  .dialog-actions { gap: 8px; }
  .primary-button, .secondary-button { font-size: 12px; padding: 9px 12px; }
  #installPrompt { font-size: 12px; }
}
@media (min-width: 651px) and (max-height: 800px) {
  .topbar-inner { min-height: 88px; }
  .page-heading { padding-top: 20px; padding-bottom: 36px; }
  h1 { font-size: 68px; }
  .title-suffix { font-size: 58px; }
  .page-intro { margin-top: 18px; }
  .hero-preview img { height: 360px; }
  .hero-stats { margin-top: 20px; }
  .top-picks { padding-top: 36px; }
}
@media (max-width: 650px) and (max-height: 760px) {
  .topbar-inner { padding-top: 14px; padding-bottom: 12px; gap: 10px; min-height: 102px; }
  .page-heading { padding-top: 8px; gap: 16px; }
  h1 { font-size: 48px; }
  .title-suffix { font-size: 40px; }
  .page-intro { font-size: 13px; margin-top: 14px; }
  .hero-stats { margin-top: 14px; }
  .hero-stats > * { padding-block: 8px; }
  .hero-actions { margin-top: 14px; }
  .hero-preview img { height: 86px; }
  .top-picks { padding-top: 20px; }
  .top-picks .section-index { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
