:root {
  --page: #10191f;
  --page-deep: #0b1318;
  --surface: #17242c;
  --surface-raised: #1e2e38;
  --surface-soft: #142028;
  --border: #30434e;
  --border-soft: #263943;
  --ink: #eff3f5;
  --secondary: #b7c5ce;
  --muted: #96aab7;
  --amber: #e0b36a;
  --amber-hover: #efc582;
  --on-amber: #182027;
  --teal: #89c3bf;
  --danger: #e5a597;
  --radius: 10px;
  --font: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  color-scheme: dark;
  font-family: var(--font);
  font-synthesis: none;
  background: var(--page);
  color: var(--ink);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  scroll-padding-top: 104px;
}
* { box-sizing: border-box; }
.policy-page { max-width: 880px; font-size: 15px; line-height: 1.85; padding-block: 64px; overflow-wrap: anywhere; }
.policy-page h1 { margin-top: 12px; font-size: clamp(28px, 4vw, 42px); }
.policy-lead { margin-top: 20px; font-size: 16px; color: var(--secondary); }
.policy-page section { padding-block: 32px; border-bottom: 1px solid var(--border-soft); }
.policy-page section h2 { font-size: 21px; margin-bottom: 16px; }
.policy-page section p, .policy-page li { color: var(--secondary); margin-top: 12px; }
.policy-page ol { padding-left: 1.5em; }
.policy-page a { color: var(--amber); text-decoration: underline; text-underline-offset: 4px; }
.policy-header { flex-wrap: wrap; padding-block: 16px; }
.policy-nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; color: var(--secondary); font-size: 14px; }
.policy-nav a { padding-block: 8px; }
.support-shortcuts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; }
.support-shortcuts a { display: inline-flex; align-items: center; min-height: 44px; }
.support-status { margin-top: 24px; padding: 24px !important; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-soft); }
.support-status h2 { margin-bottom: 8px !important; }
.support-field { display: grid; gap: 8px; margin-top: 24px; font-size: 14px; color: var(--ink); }
.support-field input, .support-field select, .support-field textarea { width: 100%; min-width: 0; padding: 12px 16px; border: 1px solid var(--border); border-radius: 6px; background: var(--page-deep); color: var(--ink); line-height: 1.65; caret-color: var(--amber); }
.support-field input, .support-field select { min-height: 48px; }
.support-field textarea { resize: vertical; min-height: 144px; }
.support-field textarea[readonly] { background: var(--surface-soft); }
.support-field small, .support-optional { color: var(--muted); font-size: 12px; }
.support-required { margin-left: 8px; font-size: 12px; color: var(--amber); }
.support-optional { margin-left: 8px; }
.support-field input::placeholder, .support-field textarea::placeholder { color: var(--muted); opacity: 1; }
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.support-actions a.button { color: var(--ink); text-decoration: none; }
.support-message { color: var(--amber) !important; min-height: 24px; font-size: 13px; }
.support-result { margin-top: 32px; border-top: 1px solid var(--border); padding-top: 8px; }
.support-result p { font-size: 13px; }
.account-page { max-width: 980px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); grid-template-areas: "intro intro" "panel notes"; gap: 32px 64px; align-items: start; padding-block: 48px 80px; }
.account-intro { grid-area: intro; min-width: 0; }
.account-notes { grid-area: notes; min-width: 0; }
.account-panel { grid-area: panel; }
.account-intro h1 { font-size: clamp(30px, 3.5vw, 42px); letter-spacing: -.025em; }
.account-lead { margin-top: 12px; font-size: 15px; line-height: 1.8; color: var(--secondary); }
.account-notes { padding-block: 14px; }
.account-notes h2 { font-size: 19px; }
.account-info { margin-block: 16px 24px; }
.account-info dt { margin-top: 18px; color: var(--ink); font-weight: 600; font-size: 14px; }
.account-info dd { color: var(--secondary); font-size: 14px; margin: 5px 0 0; line-height: 1.8; }
.account-help { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-top: 16px; border-top: 1px solid var(--border-soft); font-size: 13px; }
.account-help a, .account-consent a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.account-panel { min-width: 0; padding: 32px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.account-tabs { display: flex; border-bottom: 1px solid var(--border); gap: 18px; }
.account-tabs button { min-height: 45px; background: none; color: var(--muted); padding: 0 2px 12px; font-size: 14px; border-bottom: 2px solid transparent; }
.account-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--amber); }
.account-form-heading { margin-top: 28px; }
.account-form-heading h2, #account-session h2 { font-size: 25px; }
.account-form-heading p, .account-session-note { margin-top: 10px; color: var(--secondary); font-size: 13px; }
.account-notice { margin-top: 18px; padding: 10px 14px; border-left: 2px solid var(--amber); border-radius: 0 4px 4px 0; color: var(--secondary); font-size: 13px; line-height: 1.7; background: var(--page); }
#account-fields { padding: 0; margin: 0; border: 0; min-width: 0; }
.account-field { display: grid; gap: 8px; margin-top: 20px; font-size: 13px; }
.account-field input { width: 100%; min-width: 0; height: 48px; padding: 10px 13px; border: 1px solid var(--border); background: var(--page-deep); color: var(--ink); border-radius: 6px; line-height: 1.5; }
.account-field input:focus-visible { outline-offset: 2px; outline-width: 2px; }
.account-field small { color: var(--muted); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.account-field input:disabled { color: var(--muted); cursor: not-allowed; }
.account-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; color: var(--secondary); font-size: 12px; line-height: 1.9; }
.account-consent input { width: 18px; height: 18px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--amber); }
.account-challenge > p { margin-top: 20px; color: var(--secondary); font-size: 13px; overflow-wrap: anywhere; }
.account-submit { width: 100%; margin-top: 25px; min-height: 48px; }
.account-form-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 17px; font-size: 12px; color: var(--muted); }
.account-message { margin-top: 18px; color: var(--amber); font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.account-message:empty { display: none; }
.account-community { margin-block: 25px; padding: 18px; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 8px; }
.account-community h3 { font-size: 16px; }
.account-community p { font-size: 13px; margin-top: 10px; color: var(--secondary); line-height: 1.85; }
.account-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.account-page + .site-footer .footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; }
@media (max-width: 900px) { .account-page { gap: 28px; grid-template-columns: minmax(0, 1.65fr) minmax(210px, 1fr); } .account-panel { padding: 24px; } }
@media (max-width: 700px) { .account-page { grid-template-columns: 1fr; grid-template-areas: "intro" "panel" "notes"; padding-block: 28px 48px; gap: 24px; } .account-intro, .account-panel, .account-notes { width: 100%; } .account-lead { font-size: 14px; } .account-notes { padding: 0; } .account-panel { padding: 24px 20px; } }
@media (max-width: 600px) { .policy-nav { margin-left: 0; width: 100%; } }
body { margin: 0; min-width: 320px; font-size: 14px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
button, input, select { color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.35; }
ul, ol { margin: 0; padding: 0; }
button { border: 0; }
button, input, select, summary { touch-action: manipulation; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
::selection { color: var(--on-amber); background: var(--amber); }
.container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon, .path-icon, .aside-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { width: 1px; height: 1px; padding: 0; position: absolute; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 20px; background: var(--amber); color: var(--on-amber); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(16,25,31,.96); border-bottom: 1px solid var(--border-soft); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; min-height: 88px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { object-fit: contain; }
.brand strong { display: block; font-size: 18px; font-weight: 700; letter-spacing: .06em; }
.brand-subtitle { display: block; font-size: 12px; color: var(--muted); letter-spacing: .1em; margin-top: 1px; }
.preview-badge { border: 1px solid var(--border); color: var(--muted); font-size: 12px; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.site-nav { display: flex; gap: 28px; align-items: center; margin-left: auto; font-size: 14px; }
.site-nav > a { padding: 16px 0; color: var(--secondary); white-space: nowrap; }
.site-nav > a:hover, .site-nav > a[aria-current], .site-nav > a.active { color: var(--amber); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 12px 21px; min-height: 46px; border: 1px solid transparent; border-radius: 6px; font-size: 14px; font-weight: 600; line-height: 1.45; text-align: center; transition: background .18s, border-color .18s, color .18s; }
.button-primary { background: var(--amber); color: var(--on-amber); }
.button-primary:hover { background: var(--amber-hover); }
.button-outline { border-color: var(--border); background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--surface-raised); border-color: #65808f; }
.button-small { padding: 10px 15px; min-height: 42px; font-size: 13px; }
.button-large { padding: 15px 24px; min-height: 54px; font-size: 15px; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); border-radius: 6px; color: var(--secondary); }
.icon-button:hover { color: var(--ink); background: var(--surface-raised); }
.mobile-menu-toggle { display: none; margin-left: auto; }
.hero { display: grid; grid-template-columns: .92fr 1.25fr; gap: 48px; align-items: center; padding-block: 48px 56px; }
.hero-intro { font-size: 13px; color: var(--secondary); display: flex; align-items: center; gap: 9px; margin-bottom: 24px; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--amber); border-radius: 50%; flex: 0 0 auto; }
.hero h1 { font-size: clamp(36px, 3.65vw, 54px); line-height: 1.3; font-weight: 700; letter-spacing: -.025em; overflow-wrap: anywhere; }
.hero-description { color: var(--secondary); max-width: 440px; font-size: 16px; line-height: 1.85; margin-top: 24px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-actions .button-outline { padding-inline: 17px; }
.system-facts { list-style: none; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 12px; }
.system-facts li { display: flex; align-items: center; gap: 7px; }
.system-facts .icon { width: 16px; height: 16px; }
.release-link { display: inline-flex; align-items: center; gap: 12px; color: var(--secondary); margin-top: 28px; font-size: 12px; }
.release-link .icon { width: 15px; height: 15px; }
.release-link:hover { color: var(--amber); }
.small-tag { border: 1px solid var(--border); padding: 2px 7px; font-size: 12px; color: var(--muted); border-radius: 4px; font-weight: 400; white-space: nowrap; }
.hero-visual { min-width: 0; position: relative; }
.workbench-caption { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: var(--muted); font-size: 12px; gap: 12px; }
.showcase-switch { display: flex; background: var(--page-deep); border-radius: 5px; padding: 3px; border: 1px solid var(--border-soft); }
.showcase-switch button { color: var(--muted); background: transparent; padding: 5px 10px; font-size: 12px; border-radius: 3px; min-height: 30px; }
.showcase-switch [aria-pressed="true"] { background: var(--surface-raised); color: var(--ink); }
.workbench-window { background: var(--page-deep); border: 1px solid #49606b; border-radius: 9px; overflow: hidden; box-shadow: 0 26px 65px #0005; }
.workbench-titlebar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #20323b; color: #d0dde5; font-size: 12px; }
.window-decoration { margin-left: auto; color: #a5b8c4; font-size: 12px; letter-spacing: 4px; }
.showcase-image-button { display: block; width: 100%; padding: 0; background: #10191f; cursor: zoom-in; }
#hero-screenshot { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: top left; }
.workbench-footer { display: flex; align-items: center; gap: 7px; padding: 10px 14px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border-soft); }
.workbench-footer .icon { color: var(--teal); width: 13px; height: 13px; }
.workbench-footer span:last-child { margin-left: auto; }
.hero-mods { display: flex; gap: 8px; margin-top: 12px; }
.hero-mod, .hero-mod-item { display: flex; flex: 1; align-items: center; gap: 9px; min-width: 0; border: 1px solid var(--border-soft); border-radius: 5px; background: var(--surface-soft); padding: 10px; text-align: left; }
.hero-mod img, .hero-mod-item img { width: 34px; height: 34px; border-radius: 3px; object-fit: cover; flex-shrink: 0; }
.hero-mod strong, .hero-mod-item strong { display: block; font-size: 12px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-mod small, .hero-mod-item small { display: block; color: var(--muted); font-size: 12px; }
.hero-mod:hover, .hero-mod-item:hover { border-color: var(--amber); }
.quick-paths { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quick-paths > a { display: flex; align-items: center; gap: 17px; padding: 26px 24px; }
.quick-paths > a:first-child { padding-left: 0; }
.quick-paths > a + a { border-left: 1px solid var(--border); }
.quick-paths > a > span { min-width: 0; }
.quick-paths strong { display: block; font-size: 14px; font-weight: 600; }
.quick-paths a span span { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; }
.quick-paths > a > .icon { color: var(--muted); width: 17px; margin-left: auto; }
.path-icon { width: 27px; height: 27px; color: var(--amber); }
.quick-paths a:hover strong, .quick-paths a:hover > .icon { color: var(--amber); }
.section { padding-block: 72px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 32px; }
.section-context { font-size: 12px; font-weight: 600; color: var(--amber); margin-bottom: 11px; }
h2 { font-size: 32px; letter-spacing: -.025em; font-weight: 700; }
.section-heading p:not(.section-context) { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 620px; }
.inline-link { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--secondary); white-space: nowrap; }
.inline-link:hover { color: var(--amber); }
.inline-link .icon { width: 16px; height: 16px; }
.catalog-stat { display: flex; gap: 22px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.catalog-stat strong { color: var(--ink); font-size: 18px; font-weight: 600; margin-right: 4px; }
.catalog-tools { display: grid; grid-template-columns: minmax(240px, 1fr) auto; align-items: end; gap: 16px; padding: 20px; border: 1px solid var(--border); background: var(--surface-soft); border-radius: 8px; }
.search-field { display: flex; align-items: center; gap: 11px; border: 1px solid var(--border); background: var(--page-deep); border-radius: 5px; min-height: 48px; padding-inline: 14px; min-width: 0; flex: 1; }
.search-field > .icon { color: var(--muted); width: 19px; height: 19px; }
.search-field input { min-width: 0; width: 100%; background: none; border: none; outline: none; padding: 12px 0; color: var(--ink); font-size: 14px; line-height: 22px; caret-color: var(--amber); }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.search-field:focus-within { border-color: var(--amber); box-shadow: 0 0 0 2px #e0b36a24; }
.search-field input:focus-visible { outline: none; }
.search-field input[type="search"]::-webkit-search-cancel-button { display: none; }
.search-clear { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; margin-right: -8px; border-radius: 4px; color: var(--secondary); background: transparent; }
.search-clear:hover { color: var(--ink); background: var(--surface-raised); }
.search-clear .icon { width: 17px; height: 17px; }
.catalog-selects { display: flex; align-items: end; gap: 12px; }
.select-field { display: grid; gap: 8px; font-size: 12px; color: var(--secondary); min-width: 0; }
.select-field select { padding: 10px 25px 10px 10px; height: 48px; border: 1px solid var(--border); border-radius: 5px; background: var(--page-deep); font-size: 14px; max-width: 180px; min-width: 110px; }
.select-field select option { background: var(--page-deep); }
.catalog-results-bar { display: flex; justify-content: space-between; align-items: center; margin-block: 18px; font-size: 12px; color: var(--muted); min-height: 28px; gap: 12px; }
.text-button { display: inline-flex; gap: 7px; align-items: center; background: transparent; color: var(--secondary); padding: 8px 0; font-size: 12px; min-height: 36px; }
.text-button:hover { color: var(--amber); }
.text-button .icon { width: 15px; height: 15px; }
.mods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mod-card { min-width: 0; border: 1px solid var(--border-soft); border-radius: 8px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; transition: border-color .18s; }
.mod-card:hover { border-color: #6b7d84; }
.mod-card__media { display: block; width: 100%; padding: 0; overflow: hidden; background: #0d171d; border-bottom: 1px solid var(--border-soft); position: relative; cursor: pointer; }
.mod-card__media img { width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; object-position: center; }
.mod-card__placeholder { aspect-ratio: 16/9; display: flex; flex-direction: column; gap: 10px; justify-content: center; align-items: center; color: var(--muted); font-size: 12px; background: #12212a; }
.mod-card__placeholder .icon { width: 36px; height: 36px; color: #80959f; }
.mod-card__placeholder:before { content: ""; width: 38px; height: 38px; background: url("assets/brand.png") center/contain no-repeat; opacity: .7; }
.mod-card__body { display: flex; flex-direction: column; gap: 0; flex: 1; min-width: 0; padding: 19px 21px 17px; }
.mod-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.mod-card__meta span:first-child { color: var(--teal); }
.mod-card__title { font-size: 18px; font-weight: 600; line-height: 1.45; }
.mod-card__title button { display: block; width: 100%; overflow-wrap: anywhere; background: none; color: var(--ink); text-align: left; padding: 0; line-height: inherit; font-weight: inherit; font-size: inherit; }
.mod-card__title button:hover { color: var(--amber); }
.mod-card__author { color: var(--muted); font-size: 12px; margin-top: 5px; }
.mod-card__summary { font-size: 14px; color: var(--secondary); line-height: 1.8; margin-top: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 50px; }
.mod-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; min-height: 23px; }
.mod-card__tags > span { max-width: 100%; overflow-wrap: anywhere; font-size: 12px; padding: 2px 7px; border-radius: 3px; color: var(--muted); background: #ffffff06; border: 1px solid var(--border-soft); }
.mod-card__footer { flex-wrap: wrap; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--border-soft); padding-top: 14px; margin-top: auto; font-size: 12px; color: var(--muted); }
.mod-card__tags + .mod-card__footer { margin-top: 17px; }
.mod-card__footer button, .mod-card__button { display: inline-flex; gap: 7px; align-items: center; color: var(--amber); background: none; padding: 7px 0; font-size: 12px; font-weight: 600; min-height: 36px; }
.mod-card__footer .icon { width: 14px; height: 14px; }
.catalog-more { display: flex; justify-content: center; margin-top: 30px; }
.catalog-more .button { min-width: 205px; font-size: 13px; }
.section-footnote { display: flex; justify-content: space-between; gap: 20px; margin-top: 29px; color: var(--muted); font-size: 12px; }
.section-footnote a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.section-footnote a:hover { color: var(--amber); }
.section-footnote .icon { width: 13px; height: 13px; }
.empty-state, .mods-empty, .catalog-empty { grid-column: 1/-1; text-align: center; padding: 60px 24px; border: 1px dashed var(--border); border-radius: 8px; background: var(--surface-soft); color: var(--muted); }
.empty-state h3, .mods-empty h3, .catalog-empty h3 { color: var(--ink); font-size: 20px; margin-bottom: 10px; }
.empty-state button { margin-top: 20px; }
.notice { padding: 18px; border-left: 2px solid var(--amber); background: var(--surface); color: var(--secondary); font-size: 13px; }
.notice a { color: var(--amber); }
.workspace-section { border-block: 1px solid var(--border-soft); background: var(--page-deep); padding-block: 76px; }
.workspace-layout { display: grid; grid-template-columns: .9fr 1.3fr; gap: 64px; }
.workspace-heading h2 { font-size: 34px; }
.workspace-heading > p:not(.section-context) { font-size: 14px; color: var(--secondary); max-width: 330px; margin-top: 20px; line-height: 1.9; }
.workspace-heading .inline-link { margin-top: 25px; }
.workflow-features { display: grid; gap: 26px; }
.workflow-features article { display: flex; gap: 23px; }
.workflow-features article + article { padding-top: 26px; border-top: 1px solid var(--border-soft); }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--amber); border: 1px solid var(--border); background: var(--surface); border-radius: 6px; flex: 0 0 auto; }
.workflow-features h3 { font-size: 17px; font-weight: 600; margin-top: 2px; }
.workflow-features p { font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 8px; }
.guide-shell { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface-soft); }
.guide-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--border); padding: 9px 20px 0; background: var(--surface); }
.guide-tabs button { display: inline-flex; gap: 9px; align-items: center; padding: 16px 18px; min-height: 56px; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 13px; }
.guide-tabs button[aria-selected="true"] { color: var(--amber); border-bottom-color: var(--amber); }
.guide-tabs button:hover { color: var(--ink); }
.guide-tabs .icon { width: 17px; height: 17px; }
.guide-panel { display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: 40px; padding: 32px; }
.guide-main h3 { font-size: 20px; margin-bottom: 28px; }
.steps { list-style: none; counter-reset: steps; display: grid; gap: 25px; }
.steps li { display: flex; gap: 18px; position: relative; counter-increment: steps; }
.steps li::before { content: counter(steps, decimal-leading-zero); display: inline-grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; color: var(--amber); background: var(--surface-raised); border: 1px solid var(--border); border-radius: 50%; font-size: 12px; }
.steps h4 { font-size: 14px; font-weight: 600; padding-top: 4px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.9; }
code { font-family: "Cascadia Code", Consolas, monospace; background: #0c171c; border: 1px solid var(--border-soft); padding: 2px 4px; border-radius: 3px; font-size: .9em; overflow-wrap: anywhere; }
.guide-aside { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 6px; padding: 25px; align-self: start; }
.aside-icon { width: 29px; height: 29px; color: var(--amber); margin-bottom: 18px; }
.guide-aside h4 { font-size: 17px; margin-bottom: 17px; }
.guide-aside > p:not(.small-text) { font-size: 13px; color: var(--secondary); margin-bottom: 14px; }
.check-list { list-style: none; display: grid; gap: 11px; margin-bottom: 22px; }
.check-list li { position: relative; padding-left: 20px; color: var(--secondary); font-size: 12px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); }
.guide-aside .button { width: 100%; font-size: 12px; }
.small-text { font-size: 12px; color: var(--muted); line-height: 1.8; }
.guide-aside .small-text { margin-top: 17px; }
.path-code { display: block; line-height: 1.8; padding: 10px; font-size: 12px; }
.troubleshoot-list { display: grid; gap: 22px; }
.troubleshoot-list article + article { border-top: 1px solid var(--border-soft); padding-top: 20px; }
.troubleshoot-list h4 { font-size: 14px; }
.troubleshoot-list p { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.9; }
.authors-section { padding-block: 78px; border-block: 1px solid var(--border); background: #1b2931; }
.authors-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.authors-copy h2 { font-size: 34px; }
.authors-copy > p:not(.section-context):not(.authors-contact) { font-size: 14px; color: var(--secondary); line-height: 1.9; max-width: 420px; margin-top: 22px; }
.authors-copy > .button { margin-top: 29px; }
.authors-copy > .inline-link { margin-left: 18px; }
.authors-contact { margin-top: 21px; font-size: 12px; color: var(--muted); }
.authors-contact a { color: var(--secondary); }
.publish-preview { border: 1px solid #52636a; border-radius: 9px; background: var(--page-deep); box-shadow: 0 14px 40px #0002; }
.publish-heading { display: flex; gap: 10px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.publish-heading > .icon { color: var(--amber); width: 17px; height: 17px; }
.publish-heading h3 { font-size: 14px; font-weight: 600; }
.publish-heading .small-tag { margin-left: auto; font-size: 12px; }
.release-structure { padding: 22px; }
.release-overview { border: 1px solid var(--border); border-radius: 5px; background: var(--surface); padding: 16px; }
.release-overview > span { font-size: 12px; color: var(--secondary); }
.release-overview p { margin-top: 8px; font-size: 12px; color: var(--muted); }
.release-structure > div:last-child { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.release-structure > div:last-child span { display: grid; place-items: center; min-height: 38px; padding: 8px; background: var(--surface-soft); border: 1px solid var(--border-soft); border-radius: 4px; font-size: 12px; color: var(--muted); }
.publish-rule { display: flex; gap: 12px; border-top: 1px solid var(--border-soft); margin-inline: 22px; padding-block: 20px 17px; }
.publish-rule .icon { width: 19px; height: 19px; color: var(--teal); margin-top: 1px; }
.publish-rule strong { display: block; font-size: 12px; font-weight: 600; }
.publish-rule p { color: var(--muted); font-size: 12px; margin-top: 7px; line-height: 1.8; }
.publish-status { display: flex; align-items: center; gap: 8px; padding: 13px 22px; color: var(--amber); background: #e0b36a09; border-top: 1px solid #e0b36a22; font-size: 12px; }
.publish-status .status-dot { width: 5px; height: 5px; }
.updates-section { padding-bottom: 0; }
.updates-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.release-entry { min-width: 0; border-top: 1px solid var(--border); padding-top: 25px; }
.release-entry-heading { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.release-entry h3 { font-size: 21px; font-weight: 600; }
.release-dot { width: 8px; height: 8px; background: var(--amber); border-radius: 50%; margin-right: 2px; }
.preview-release .release-dot { background: #8b9ba3; }
.release-label { font-size: 12px; color: var(--amber); border: 1px solid #e0b36a55; background: #e0b36a09; padding: 3px 7px; border-radius: 3px; }
.release-label.neutral { border-color: var(--border); color: var(--muted); background: var(--surface); }
.release-entry time { margin-left: auto; font-size: 12px; color: var(--muted); }
.release-notes { padding-left: 20px; color: var(--secondary); font-size: 12px; line-height: 1.9; margin-block: 20px 16px; }
.release-notes li + li { margin-top: 8px; }
.release-entry .small-text { border-left: 2px solid var(--border); padding-left: 12px; }
.candidate-changes { margin: 16px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 14px; font-size: 14px; line-height: 1.7; }
.candidate-changes dt, .candidate-changes dd { padding: 10px 0; margin: 0; border-top: 1px solid var(--border); }
.candidate-changes dt { font-weight: 600; color: var(--ink); }
.candidate-changes dd { color: var(--secondary); }
.faq-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 64px; }
.faq-heading > p:not(.section-context):not(.small-text) { font-size: 13px; color: var(--muted); line-height: 1.9; margin-top: 20px; max-width: 310px; }
.faq-search { margin-top: 25px; width: 100%; }
.faq-search input { font-size: 12px; }
#faq-result-count { margin-top: 12px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 22px 0; gap: 25px; cursor: pointer; font-size: 14px; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > .icon { color: var(--muted); width: 16px; height: 16px; transition: transform .18s; }
.faq-item[open] summary { color: var(--amber); }
.faq-item[open] summary > .icon { transform: rotate(180deg); color: var(--amber); }
.faq-item > div { padding: 0 30px 22px 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.download-section { background: #202e35; border-top: 1px solid #43525a; border-bottom: 1px solid var(--border); padding-block: 62px; }
.download-layout { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.download-layout h2 { font-size: 35px; }
.download-layout > div > p:not(.section-context) { font-size: 13px; color: var(--secondary); margin-top: 18px; }
.download-layout .system-facts { font-size: 12px; margin-top: 18px; }
.download-action { min-width: 260px; text-align: center; }
.download-action .button { width: 100%; }
.download-action > p { font-size: 12px !important; color: var(--muted) !important; margin-top: 14px !important; }
.download-action > a { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--secondary); margin-top: 12px; }
.download-action > a .icon { width: 12px; height: 12px; }
.download-action > a:hover { color: var(--amber); }
.site-footer { padding: 40px 0 24px; background: var(--page-deep); }
.footer-main { display: flex; align-items: center; gap: 35px; padding-bottom: 30px; }
.footer-main > p { max-width: 260px; font-size: 12px; color: var(--muted); }
.footer-main nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 24px; font-size: 12px; color: var(--secondary); }
.footer-main nav a:hover { color: var(--amber); }
.footer-bottom { flex-wrap: wrap; border-top: 1px solid var(--border-soft); padding-top: 20px; display: flex; gap: 25px; justify-content: space-between; font-size: 12px; color: var(--muted); }
.footer-registrations { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.footer-registrations a { white-space: nowrap; }
.back-to-top { position: fixed; bottom: 25px; right: 25px; z-index: 15; background: var(--surface-raised); box-shadow: 0 6px 20px #0004; }
.site-toast { position: fixed; z-index: 90; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 13px 22px; background: #dae5e9; color: #17242c; box-shadow: 0 8px 25px #0005; border-radius: 6px; max-width: min(500px, calc(100vw - 40px)); font-size: 13px; }
.site-dialog { border: 1px solid #576c78; background: var(--surface-soft); color: var(--ink); border-radius: 10px; padding: 24px 28px 28px; box-shadow: 0 32px 100px #0009; max-height: calc(100dvh - 48px); width: min(930px, calc(100vw - 48px)); overflow-y: auto; overscroll-behavior: contain; }
.site-dialog::backdrop { background: #040b10cf; backdrop-filter: blur(5px); }
.dialog-titlebar { position: sticky; top: -24px; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: -24px -28px 20px; padding: 16px 28px; border-bottom: 1px solid var(--border-soft); background: var(--surface-soft); }
.dialog-titlebar .icon-button { width: 44px; height: 44px; flex-shrink: 0; background: transparent; }
.dialog-context { color: var(--muted); font-size: 12px; }
.dialog-heading { overflow-wrap: anywhere; font-size: 28px; margin-bottom: 20px; line-height: 1.5; }
.dialog-description { color: var(--muted); font-size: 13px; margin-top: -9px; margin-bottom: 25px; }
.detail-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; }
.detail-preview img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; background: var(--page-deep); border: 1px solid var(--border); border-radius: 5px; }
.detail-preview .mod-card__placeholder { aspect-ratio: 4/3; border-radius: 5px; }
.detail-meta { display: grid; gap: 0; color: var(--secondary); font-size: 12px; margin-top: 16px; }
.detail-meta > div { border-bottom: 1px solid var(--border-soft); padding-block: 11px; display: grid; gap: 4px; overflow-wrap: anywhere; }
.detail-meta dt { color: var(--muted); font-size: 12px; }
.detail-meta dd { margin: 0; }
.detail-content { min-width: 0; }
.detail-section + .detail-section { border-top: 1px solid var(--border-soft); margin-top: 22px; padding-top: 22px; }
.detail-section h3 { font-size: 16px; margin-bottom: 10px; }
.detail-section p, .detail-section li, .detail-section pre, .detail-note { font-size: 14px; color: var(--secondary); line-height: 1.9; overflow-wrap: anywhere; }
.detail-section pre { font-family: var(--font); white-space: pre-wrap; margin: 0; }
.detail-list { padding-left: 20px; }
.detail-note { margin-top: 16px; padding: 13px 15px; background: var(--surface); border-left: 2px solid var(--amber); color: var(--muted); }
.detail-section .detail-empty { color: var(--muted); }
.detail-install-hint { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.service-details { margin-top: 16px; color: var(--muted); font-size: 13px; }
.service-details summary { cursor: pointer; padding-block: 8px; }
.service-details[open] summary { color: var(--ink); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; align-items: center; }
.detail-actions .button { font-size: 12px; }
.detail-content a { color: var(--amber); }
.download-dialog { width: min(800px, calc(100vw - 48px)); }
.download-options { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.download-option { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; min-width: 0; }
.download-option:first-child { border-color: #a18250; }
.download-option h3, .download-option__title { font-size: 20px; margin-bottom: 10px; }
.download-option p, .download-option__description { font-size: 12px; color: var(--muted); line-height: 1.8; }
.download-option__meta { margin-block: 16px; font-size: 12px; color: var(--secondary); }
.download-option .button { margin-top: 18px; width: 100%; font-size: 12px; }
.download-option code { display: block; margin-top: 15px; font-size: 12px; line-height: 1.8; }
.download-requirements { display: flex; gap: 12px; padding-block: 22px; align-items: start; color: var(--muted); font-size: 12px; }
.download-requirements .icon { width: 17px; height: 17px; margin-top: 3px; }
.preview-dialog { width: min(1500px, calc(100vw - 42px)); padding: 14px; background: var(--page-deep); }
.preview-dialog h2 { font-size: 14px; font-weight: 400; color: var(--secondary); }
.preview-dialog img { width: 100%; height: auto; max-height: calc(100dvh - 130px); object-fit: contain; }
.preview-dialog .dialog-titlebar { top: -14px; margin: -14px -14px 12px; padding: 12px 14px; background: var(--page-deep); }
.copy-fallback { padding: 20px; border: 1px solid var(--border); }
.copy-fallback input, .copy-fallback textarea { width: 100%; padding: 12px; background: var(--page-deep); border: 1px solid var(--border); color: var(--ink); }
body.has-open-dialog { overflow: hidden; }
.site-nav { max-height: calc(100dvh - 76px); overflow-y: auto; }
.preview-notice { border-bottom: 1px solid var(--border-soft); background: var(--surface-soft); color: var(--secondary); }
.preview-notice > .container { display: flex; align-items: baseline; gap: 12px; padding-block: 12px; font-size: 13px; line-height: 1.7; }
.preview-notice__label { color: var(--amber); font-weight: 600; flex: 0 0 auto; }
.preview-notice p { margin: 0; }
.password-input { display: flex; min-width: 0; align-items: center; border: 1px solid var(--border); border-radius: 6px; background: var(--page-deep); }
.account-field .password-input input { min-width: 0; flex: 1; border: 0; background: transparent; height: 46px; }
.password-input:focus-within { border-color: var(--amber); box-shadow: 0 0 0 2px #e0b36a24; }
.password-input input:focus-visible { outline: none; }
.password-input button { flex: 0 0 56px; align-self: stretch; color: var(--secondary); background: transparent; font-size: 13px; border-left: 1px solid var(--border-soft); border-radius: 0 5px 5px 0; }
.password-input button:hover { color: var(--ink); background: var(--surface-raised); }
.account-panel:focus-within { border-color: #536b78; }
.account-tabs button { white-space: nowrap; flex: 1; text-align: center; }
.policy-contents { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-top: 24px; padding-block: 16px; border-block: 1px solid var(--border-soft); font-size: 13px; }
.policy-contents a { min-height: 36px; display: inline-flex; align-items: center; }
.support-shortcuts a { padding: 8px 12px; border: 1px solid var(--border); border-radius: 5px; text-decoration: none; }
.support-shortcuts a[aria-current="true"] { border-color: var(--amber); color: var(--amber); background: var(--surface); }
.support-shortcuts a:hover { background: var(--surface-raised); }
.support-status p { font-size: 14px; }
.policy-page h1, .account-intro h1 { line-height: 1.3; }
.policy-page section, .policy-page h1 { scroll-margin-top: 104px; }
.hero-mod__label { min-width: 0; flex: 1; }
.hero-mod > .icon { width: 13px; height: 13px; color: var(--muted); }
.detail-preview__button { display: block; background: transparent; padding: 0; width: 100%; cursor: zoom-in; }
.detail-meta--wide { margin-top: 0; }
.detail-prose { white-space: pre-wrap; font-size: 13px; color: var(--secondary); line-height: 1.9; overflow-wrap: anywhere; }
.detail-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-block: 10px; }
.detail-tags > span { padding: 3px 8px; border: 1px solid var(--border); border-radius: 3px; font-size: 12px; color: var(--muted); }
.download-option__label { display: inline-block; color: var(--amber); font-size: 12px; margin-bottom: 12px; }
.download-option__meta { margin-block: 12px 0; }
.download-checksum { margin-top: 15px; }
.download-checksum summary { color: var(--muted); font-size: 12px; cursor: pointer; padding-block: 8px; }
.download-checksum .text-button { min-height: 40px; }
.checksum-value { overflow-wrap: anywhere; word-break: break-all; }
.copy-fallback-value { width: 100%; min-height: 100px; padding: 14px; margin-block: 18px; background: var(--page-deep); border: 1px solid var(--border); border-radius: 5px; color: var(--ink); resize: vertical; }
.dialog--compact { width: min(560px, calc(100vw - 40px)); }
.steps p, .troubleshoot-list p, .faq-item > div, .release-notes, .workflow-features p { font-size: 14px; }
.text-button, .mod-card__footer button, .mod-card__button { min-height: 44px; }
.mod-card__title button { min-height: 38px; }

@media (min-width: 1600px) { .hero { padding-block: 56px; gap: 56px; } .hero h1 { font-size: 54px; } }
@media (max-width: 1180px) {
  .container { width: calc(100% - 64px); }
  .site-nav { gap: 18px; font-size: 12px; }
  .preview-badge { display: none; }
  .brand strong { font-size: 16px; }
  .hero { gap: 32px; padding-block: 48px; }
  .hero h1 { font-size: 44px; }
  .hero-description { font-size: 14px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { padding-inline: 15px; font-size: 12px; min-height: 48px; }
  .catalog-tools { grid-template-columns: 1fr; }
  .catalog-tools > .search-field { min-width: 0; }
  .catalog-selects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: start; }
  .select-field select { min-width: 0; max-width: none; width: 100%; }
  .workspace-layout, .faq-layout { gap: 65px; }
  .guide-panel { gap: 35px; grid-template-columns: 1fr 270px; padding: 32px; }
  .authors-layout { gap: 55px; }
  .footer-main { gap: 25px; }
  .footer-main nav { gap: 15px; }
}
@media (max-width: 980px) {
  .header-inner { min-height: 76px; }
  .brand strong { font-size: 17px; }
  .brand-subtitle { font-size: 12px; }
  .mobile-menu-toggle { display: inline-grid; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--page); border-bottom: 1px solid var(--border); padding: 22px 32px; gap: 5px; flex-direction: column; align-items: stretch; font-size: 15px; }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav > a { padding: 12px 8px; }
  .site-nav > button { margin-top: 10px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; }
  .hero h1 { font-size: 38px; }
  .hero-intro { font-size: 12px; margin-bottom: 20px; }
  .hero-description { font-size: 14px; margin-top: 20px; }
  .hero-actions { flex-direction: column; align-items: start; margin-top: 23px; }
  .hero-actions > .button { width: 210px; }
  .system-facts { gap: 12px; font-size: 12px; }
  .release-link { font-size: 12px; gap: 8px; margin-top: 20px; }
  .hero-mods { gap: 7px; }
  .hero-mod, .hero-mod-item { padding: 8px; }
  .hero-mod:nth-child(3), .hero-mod-item:nth-child(3) { display: none; }
  .quick-paths > a { gap: 12px; padding: 22px 15px; }
  .quick-paths a span span { font-size: 12px; }
  .quick-paths strong { font-size: 12px; }
  .path-icon { width: 22px; height: 22px; }
  .quick-paths > a > .icon { display: none; }
  .section { padding-block: 64px; }
  .mods-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .mod-card__body { padding: 16px; }
  .mod-card__title { font-size: 16px; }
  .mod-card__summary { font-size: 14px; }
  .workspace-layout { grid-template-columns: .8fr 1.2fr; gap: 45px; }
  .workspace-heading h2, .authors-copy h2 { font-size: 33px; }
  .workspace-heading > p:not(.section-context) { font-size: 13px; }
  .guide-panel { grid-template-columns: 1fr 245px; gap: 25px; padding: 28px; }
  .guide-tabs { gap: 0; padding-inline: 14px; }
  .guide-tabs button { padding-inline: 12px; font-size: 13px; }
  .guide-aside { padding: 20px; }
  .authors-layout { gap: 30px; }
  .publish-heading { padding: 16px; gap: 8px; }
  .publish-heading h3 { font-size: 12px; }
  .publish-heading .small-tag { display: none; }
  .release-structure { padding: 16px; }
  .publish-rule { margin-inline: 16px; }
  .publish-status { padding-inline: 16px; font-size: 12px; }
  .authors-copy > .inline-link { margin-left: 0; margin-top: 20px; display: flex; }
  .updates-layout { gap: 28px; }
  .release-entry-heading { gap: 8px; }
  .release-entry time { width: 100%; margin: 4px 0 0 20px; }
  .faq-layout { gap: 45px; }
  .footer-main { flex-wrap: wrap; }
  .footer-main nav { margin-left: 0; width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 760px) {
  :root { scroll-padding-top: 90px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 45px 40px; }
  .hero-copy { max-width: 550px; }
  .hero-intro { font-size: 12px; }
  .hero h1 { font-size: clamp(35px, 7vw, 46px); }
  .hero-description { font-size: 14px; max-width: 460px; }
  .hero-actions { flex-direction: row; align-items: stretch; }
  .hero-actions > .button { width: auto; font-size: 13px; padding-inline: 18px; }
  .system-facts { font-size: 12px; gap: 18px; }
  .release-link { font-size: 12px; }
  .release-link, .inline-link, .section-footnote a, .download-action > a, .footer-main nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .authors-contact a { display: inline-flex; min-height: 44px; align-items: center; }
  .mod-card__title button { min-height: 44px; }
  .site-dialog .dialog-titlebar .icon-button { width: 44px; height: 44px; }
  .hero-visual { max-width: 640px; width: 100%; }
  .showcase-switch button { min-height: 44px; padding-inline: 12px; }
  .hero-mod:nth-child(3), .hero-mod-item:nth-child(3) { display: flex; }
  .quick-paths { grid-template-columns: 1fr; }
  .quick-paths > a, .quick-paths > a:first-child { padding: 20px 0; gap: 18px; }
  .quick-paths > a + a { border-left: 0; border-top: 1px solid var(--border-soft); }
  .quick-paths strong { font-size: 14px; }
  .quick-paths a span span { font-size: 12px; }
  .quick-paths > a > .icon { display: block; }
  .path-icon { width: 26px; height: 26px; }
  .section { padding-block: 58px; }
  h2 { font-size: 29px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading > .inline-link, .catalog-stat { margin-top: 18px; }
  .section-heading p:not(.section-context) { font-size: 13px; }
  .catalog-stat { font-size: 12px; gap: 22px; }
  .catalog-tools { padding: 12px; gap: 12px; }
  .catalog-tools > .search-field { min-width: 100%; }
  .catalog-selects { justify-content: stretch; gap: 12px; min-width: 0; }
  .select-field { flex: 1; display: block; min-width: 0; }
  .select-field > span { display: block; font-size: 12px; margin-bottom: 6px; }
  .select-field select { width: 100%; max-width: none; min-width: 0; height: 44px; padding: 8px; font-size: 12px; }
  .search-field input { font-size: 16px; }
  .mods-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .mod-card__body { padding: 15px; }
  .mod-card__title { font-size: 16px; }
  .mod-card__meta { font-size: 12px; gap: 7px; }
  .mod-card__tags { gap: 4px; }
  .mod-card__tags > span { font-size: 12px; padding: 2px 5px; }
  .mod-card__footer { gap: 7px; }
  .mod-card__footer > span { font-size: 12px; }
  .section-footnote { display: block; line-height: 1.8; }
  .section-footnote a { margin-top: 10px; }
  .workspace-section { padding-block: 55px; }
  .workspace-layout { grid-template-columns: 1fr; gap: 35px; }
  .workspace-heading h2 { font-size: 33px; }
  .workspace-heading > p:not(.section-context) { max-width: 480px; }
  .workflow-features { gap: 22px; }
  .workflow-features article + article { padding-top: 22px; }
  .workflow-features article { gap: 18px; }
  .guide-tabs { padding-inline: 5px; gap: 0; }
  .guide-tabs button { flex: 1; justify-content: center; font-size: 13px; padding: 14px 8px; min-height: 52px; gap: 6px; white-space: nowrap; }
  .guide-tabs button .icon { width: 15px; height: 15px; }
  .guide-panel { grid-template-columns: 1fr; padding: 25px 22px; gap: 30px; }
  .guide-main h3 { font-size: 19px; }
  .steps { gap: 23px; }
  .steps li { gap: 14px; }
  .guide-aside { padding: 23px; }
  .guide-aside .button { width: auto; min-width: 180px; }
  .authors-section { padding-block: 55px; }
  .authors-layout { grid-template-columns: 1fr; gap: 35px; }
  .authors-copy > .inline-link { display: inline-flex; margin-left: 20px; }
  .publish-preview { max-width: 580px; }
  .publish-heading { padding: 18px 22px; }
  .publish-heading h3 { font-size: 14px; }
  .publish-heading .small-tag { display: inline; }
  .release-structure { padding: 22px; }
  .publish-rule { margin-inline: 22px; }
  .publish-status { padding-inline: 22px; font-size: 12px; }
  .updates-section { padding-bottom: 0; }
  .updates-layout { grid-template-columns: 1fr; gap: 30px; }
  .release-entry time { margin-left: auto; width: auto; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-heading > p:not(.section-context):not(.small-text) { max-width: 450px; }
  .faq-search { max-width: 420px; }
  .faq-item summary { font-size: 13px; padding-block: 20px; }
  .download-section { padding-block: 48px; }
  .download-layout { flex-direction: column; align-items: stretch; gap: 30px; }
  .download-layout h2 { font-size: 32px; }
  .download-action { text-align: left; min-width: 0; }
  .download-action .button { width: auto; min-width: 220px; }
  .download-action > a { margin-top: 8px; }
  .site-footer { padding-top: 30px; }
  .footer-main { gap: 20px; }
  .footer-main > p { max-width: 100%; }
  .footer-main nav { flex-wrap: wrap; gap: 20px; }
  .site-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 20px; }
  .dialog-titlebar { top: -20px; margin: -20px -20px 20px; padding: 12px 20px; }
  .dialog-heading { font-size: 23px; }
  .detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .detail-preview { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: start; }
  .detail-meta { margin-top: 0; }
  .detail-meta > div { padding-block: 7px; }
  .download-options { gap: 12px; }
  .download-option { padding: 20px; }
  .download-option h3 { font-size: 18px; }
  .preview-dialog { padding: 10px; }
  .preview-dialog .dialog-titlebar { top: -10px; margin: -10px -10px 12px; padding: 10px; }
  .back-to-top { right: 16px; bottom: 16px; }
}
@media (max-width: 430px) {
  .hero h1 { font-size: 36px; }
  .hero-actions { gap: 10px; }
  .hero-actions > .button { padding-inline: 13px; font-size: 12px; }
  .hero-mod:nth-child(3), .hero-mod-item:nth-child(3) { display: none; }
  .workbench-caption { font-size: 12px; }
  .workbench-titlebar { font-size: 12px; padding-inline: 10px; }
  .workbench-footer { font-size: 12px; padding-inline: 10px; }
  .workbench-footer span:last-child { display: none; }
  .mods-grid { grid-template-columns: 1fr; gap: 20px; }
  .mod-card__body { padding: 19px 21px; }
  .mod-card__title { font-size: 19px; }
  .mod-card__summary { font-size: 13px; }
  .mod-card__meta { font-size: 12px; }
  .mod-card__tags > span { font-size: 12px; padding: 3px 7px; }
  .mod-card__footer > span { font-size: 12px; }
  .guide-tabs button { font-size: 12px; padding-inline: 5px; gap: 4px; }
  .guide-tabs button .icon { display: none; }
  .guide-panel { padding-inline: 18px; }
  .publish-heading { padding-inline: 18px; }
  .publish-heading .small-tag { display: none; }
  .release-structure { padding-inline: 18px; }
  .publish-rule { margin-inline: 18px; }
  .publish-status { padding-inline: 18px; font-size: 12px; }
  .release-entry time { width: 100%; margin-left: 20px; }
  .download-options { grid-template-columns: 1fr; }
  .detail-preview { grid-template-columns: 1fr; }
  .detail-preview img { max-height: 220px; }
  .detail-preview .detail-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
}
@media (max-width: 640px) {
  .mods-grid { grid-template-columns: minmax(0, 1fr); }
  .mod-card__body { padding: 20px; }
  .mod-card__summary { font-size: 14px; }
  .guide-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; gap: 4px; }
  .guide-tabs button { min-width: 0; font-size: 13px; border: 1px solid transparent; border-radius: 4px; }
  .guide-tabs button[aria-selected="true"] { background: var(--surface-raised); border-color: var(--border); }
  .guide-tabs button .icon { display: block; width: 16px; height: 16px; }
  .account-tabs { gap: 4px; }
  .account-tabs button { font-size: 13px; }
  .account-field input, .support-field input, .support-field textarea, .support-field select { font-size: 16px; }
  .account-page { padding-top: 32px; }
  .account-panel { padding: 24px 16px; }
  .policy-header { gap: 8px; }
  .policy-nav { gap: 16px; }
  .policy-page { padding-block: 32px 48px; }
  .preview-notice > .container { align-items: flex-start; gap: 8px; font-size: 12px; }
  .preview-notice__label { padding-top: 1px; }
  .support-shortcuts { gap: 8px; }
  .support-shortcuts a { flex: 1 1 calc(50% - 8px); justify-content: center; }
  .support-status { padding: 20px !important; }
  .detail-meta--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .detail-actions { gap: 8px; }
  .detail-actions .button { flex: 1 1 auto; }
  .download-options { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { display: flex; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
