* { box-sizing: border-box; }
:root { --paper: #f6f7f2; --ink: #15251b; --muted: #626e60; --line: #dce2d5; --lime: #cbf575; --dark: #14291e; --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.65 "Inter", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
h1,h2,h3,p { margin: 0; } a { color: inherit; text-decoration: none; } button,input,select { font: inherit; color: inherit; } button { cursor: pointer; } button,a,input,select,summary { -webkit-tap-highlight-color: transparent; } [hidden] { display: none !important; }
:focus-visible { outline: 3px solid #558829; outline-offset: 4px; } ::selection { background: var(--lime); color: var(--ink); }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; } .muted,.small-note,.field-help { color: var(--muted); } .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: -100px; left: 12px; z-index: 100; background: var(--dark); color: #fff; padding: 12px 20px; } .skip:focus { top: 8px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); } .header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; } .brand img { object-fit: contain; } .brand strong { display: block; font-size: 21px; letter-spacing: .5px; line-height: 1.2; } .brand small { display: block; font-size: 8px; letter-spacing: 1.6px; margin-top: 6px; }
.header-actions { display: flex; align-items: center; gap: 24px; font-size: 13px; } .header-actions a { padding-block: 14px; } #language { min-width: 46px; min-height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 12px; font-weight: 700; }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: center; padding-block: 64px 56px; } .eyebrow { font: 10px/1.5 var(--mono); letter-spacing: 1.6px; color: var(--muted); display: flex; gap: 10px; align-items: center; } .dot { width: 7px; height: 7px; border-radius: 50%; background: #5d8b39; }
h1 { font-size: clamp(38px, 4.6vw, 64px); letter-spacing: -2px; line-height: 1.15; font-weight: 650; margin: 20px 0; } .hero-copy { max-width: 480px; font-size: 16px; color: #56624f; } .hero-note { margin-top: 28px; font-size: 12px; letter-spacing: 1px; color: var(--muted); }
.hero-diagram { background: var(--dark); color: #eef6df; padding: 23px 28px 15px; border-radius: 7px; transform: rotate(-1deg); position: relative; box-shadow: 9px 9px 0 #e3e8dc; } .diagram-top { display: flex; justify-content: space-between; color: #aab7a3; font: 9px var(--mono); letter-spacing: 1px; padding-bottom: 13px; }
.stack-row { display: flex; gap: 20px; padding: 14px 0; border-top: 1px solid #ffffff1c; align-items: center; } .stack-row b { color: var(--lime); font: 11px var(--mono); } .stack-row > span { font: 20px var(--mono); letter-spacing: 2px; } .stack-row small { display: block; color: #aab7a3; font: 8px var(--mono); letter-spacing: .8px; margin-top: 5px; } .stack-row i { margin-left: auto; color: var(--lime); font: 25px var(--mono); }
.tool-nav { position: sticky; top: 0; z-index: 10; background: #f6f7f2f5; border-block: 1px solid var(--line); backdrop-filter: blur(12px); } .nav-inner { display: grid; grid-template-columns: repeat(6, 1fr); } .nav-inner a { padding: 19px 10px; display: flex; justify-content: center; align-items: center; gap: 10px; border-right: 1px solid var(--line); min-height: 64px; } .nav-inner a:first-child { border-left: 1px solid var(--line); } .nav-inner a:hover { background: #e9efdf; } .nav-inner span { font: 10px var(--mono); color: var(--muted); } .nav-inner b { font-size: 13px; font-weight: 550; }
.knowledge-entry { margin-bottom: 28px; }
.knowledge-entry a { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; min-height: 52px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 5px; background: #edf2e5; font-size: 14px; }
.knowledge-entry a:hover { background: #e3ecd7; }
.knowledge-entry a span:first-child { font-weight: 600; }
.knowledge-entry a span:nth-child(2) { color: var(--muted); font-size: 12px; }
.knowledge-entry a span:last-child { margin-left: auto; }
.tool-section { padding-block: 60px; border-bottom: 1px solid var(--line); } .tool-section:last-child { border-bottom: 0; } .section-heading { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 26px; } h2 { font-size: clamp(23px, 2.4vw, 33px); line-height: 1.3; letter-spacing: -.8px; margin-top: 10px; font-weight: 600; } h3 { font-size: 16px; font-weight: 600; } .section-description { max-width: 365px; color: var(--muted); font-size: 13px; } .spaced { max-width: none; margin: -7px 0 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; } .filter-bar { display: flex; align-items: end; gap: 22px; flex-wrap: wrap; padding: 22px; } .search-label { display: grid; gap: 5px; flex: 1; min-width: 220px; max-width: 400px; font-size: 12px; } input,select { min-height: 44px; border: 1px solid #bdc8b6; background: #fff; border-radius: 4px; padding: 9px 11px; min-width: 0; width: 100%; } input::placeholder { color: #758070; } input:hover,select:hover { border-color: #7e946b; } .filter-buttons { display: flex; gap: 4px; flex-wrap: wrap; } .filter-buttons button { min-height: 44px; padding: 8px 15px; background: #f3f5ee; border: 1px solid transparent; border-radius: 4px; font-size: 12px; } .filter-buttons button[aria-pressed="true"] { background: var(--dark); color: #fff; } #gpu-count { margin-left: auto; align-self: center; font: 12px var(--mono); }
.table-scroll { overflow-x: auto; } table { border-collapse: collapse; width: 100%; min-width: 680px; text-align: left; } th { font-size: 11px; font-weight: 500; color: var(--muted); background: #f3f5ef; padding: 13px 22px; } td { padding: 17px 22px; border-top: 1px solid #e9ece3; font-size: 13px; font-variant-numeric: tabular-nums; } td strong { font-weight: 600; font-size: 14px; } td small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; } td:nth-child(2),td:nth-child(3),td:nth-child(4) { white-space: nowrap; } tbody tr:hover { background: #fcfdf9; } .compare-add { min-height: 44px; min-width: 70px; background: #fff; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; } .compare-add[aria-pressed="true"] { background: var(--lime); border-color: #a6cc61; } .panel-foot { padding: 15px 22px; font-size: 11px; border-top: 1px solid var(--line); color: var(--muted); } .empty { padding: 28px; color: var(--muted); text-align: center; }
.text-button { background: none; border: 0; padding: 10px 0; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 5px; } .feedback:empty { display: none; } .feedback { font-size: 13px; margin-bottom: 14px; color: #526b33; } .compare-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; } .compare-card { border: 1px solid var(--line); border-radius: 7px; padding: 24px; background: #fff; min-width: 0; } .compare-card .card-top { display: flex; align-items: start; gap: 8px; justify-content: space-between; } .remove-card { background: none; border: 1px solid var(--line); flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 20px; } .compare-card h3 { line-height: 1.4; } .compare-card .category { font: 10px var(--mono); color: var(--muted); margin-bottom: 7px; } .memory-number { margin: 22px 0 12px; font: 42px var(--mono); letter-spacing: -2px; } .memory-number small { font-size: 13px; letter-spacing: 0; } .compare-card dl { margin: 0; font-size: 12px; } .compare-card dl div { padding: 10px 0; display: flex; gap: 12px; justify-content: space-between; border-top: 1px solid #e8ecdf; } .compare-card dt { color: var(--muted); flex-shrink: 0; } .compare-card dd { margin: 0; text-align: right; } .compare-card .card-note { font-size: 11px; color: var(--muted); margin-top: 15px; } .source-link { display: inline-block; font-size: 12px; color: #47652b; text-decoration: underline; text-underline-offset: 3px; padding-block: 12px; }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; } .checklist-panel { padding: 24px; } .panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 12px; } #check-count { font: 12px var(--mono); color: var(--muted); } .check-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid #e8ecdf; cursor: pointer; } .check-item input { width: 20px; height: 20px; min-height: 20px; flex-shrink: 0; margin: 3px 0 0; accent-color: #385c25; } .check-item strong { font-size: 13px; display: block; } .check-item small { font-size: 12px; color: var(--muted); display: block; margin-top: 4px; } .small-note { font-size: 12px; margin-bottom: 16px; } .commands { display: grid; gap: 12px; } .command-card { border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; } summary { cursor: pointer; padding: 17px 20px; font-size: 13px; font-weight: 550; } .command-body { padding: 0 20px 18px; } .command-body p { font-size: 12px; color: var(--muted); } .command-body pre { background: #edf1e7; padding: 16px; overflow-x: auto; font: 12px/1.7 var(--mono); border-radius: 4px; margin-block: 13px; white-space: pre-wrap; overflow-wrap: anywhere; } .command-actions { display: flex; justify-content: space-between; gap: 20px; align-items: center; } .copy-button { min-height: 44px; border: 1px solid var(--line); border-radius: 4px; padding: 8px 15px; background: #fff; font-size: 12px; }
.notice { border-left: 3px solid #9bb957; padding: 15px 19px; background: #edf1e4; font-size: 12px; color: #4e603b; margin-bottom: 22px; } #storage-notice { margin-top: 24px; } .steps-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; margin: 28px 0; } .step-number { display: block; font: 26px var(--mono); color: #728553; margin-bottom: 10px; } .steps-grid h3 { font-size: 14px; margin-bottom: 8px; } .steps-grid p { color: var(--muted); font-size: 12px; } .stress-commands { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
.calculator-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: start; } .form-panel { padding: 26px; } fieldset { border: 0; margin: 0 0 25px; padding: 0 0 24px; border-bottom: 1px solid var(--line); min-width: 0; } fieldset:last-of-type { padding-bottom: 0; margin-bottom: 8px; border-bottom: 0; } legend { padding: 0 0 14px; font-size: 14px; font-weight: 600; } .field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; } .field { display: grid; align-content: start; gap: 6px; min-width: 0; } .field label { font-size: 12px; } .field input,.field select { font-variant-numeric: tabular-nums; font-size: 14px; } .field-error { font-size: 11px; color: #a23520; line-height: 1.4; } .field-error:empty { display: none; } [aria-invalid="true"] { border-color: #a23520; } .field-help { font-size: 11px; margin-bottom: 15px; } .result-column { display: grid; gap: 17px; position: sticky; top: 88px; min-width: 0; } .result-panel { background: var(--dark); color: #f3f8ec; border-radius: 7px; padding: 30px; } .result-eyebrow { color: #b6c5ac; font-size: 12px; } .result-number { font: clamp(32px,3.2vw,46px)/1.3 var(--mono); letter-spacing: -2px; margin: 12px 0 8px; overflow-wrap: anywhere; } .result-number small { font-size: 15px; letter-spacing: 0; color: #b6c5ac; } .result-tag { display: inline-block; padding: 5px 10px; background: #cbf575; color: #203219; border-radius: 3px; font-size: 11px; margin-block: 5px 20px; } .result-tag.warn { background: #ffe0a4; color: #5b3800; } .breakdown { margin: 15px 0 0; } .breakdown > div { display: flex; gap: 15px; justify-content: space-between; align-items: baseline; border-top: 1px solid #ffffff20; padding-block: 12px; font-size: 12px; } .breakdown dt { color: #b6c5ac; } .breakdown dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; } .result-note { font-size: 11px; color: #b6c5ac; margin-top: 16px; } .memory-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 3px; margin: 12px 0 20px; } .memory-bar span:nth-child(1) { background: var(--lime); } .memory-bar span:nth-child(2) { background: #88bba6; } .memory-bar span:nth-child(3) { background: #c6cebc; } .method { border: 1px solid var(--line); border-radius: 5px; } .method > div { padding: 0 20px 20px; font-size: 12px; color: var(--muted); } .method p + p { margin-top: 12px; } .method a { display: inline-block; text-decoration: underline; margin-top: 14px; padding-block: 8px; } .currency-row { display: flex; align-items: center; gap: 16px; font-size: 12px; margin-bottom: 10px; } .source-panel { padding: 22px; background: #eaf0e2; border-radius: 6px; } .source-panel h3 { font-size: 14px; } .source-panel a { display: block; font-size: 12px; padding: 11px 0; border-bottom: 1px solid #d6dfcb; } .source-panel .field-help { margin: 14px 0 0; } .footer { padding-block: 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 11px; color: var(--muted); } .footer a { min-height: 44px; display: inline-flex; align-items: center; } .toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); width: max-content; background: #223b28; color: #fff; box-shadow: 0 6px 25px #0002; border: 1px solid #90aa80; border-radius: 5px; padding: 12px 20px; font-size: 13px; z-index: 30; }
@media (max-width: 1000px) { .wrap { width: calc(100% - 48px); } .hero { gap: 38px; } .nav-inner a { gap: 5px; padding-inline: 5px; } .nav-inner b { font-size: 12px; } .calculator-layout { grid-template-columns: 1.15fr 1fr; gap: 18px; } .compare-card,.form-panel,.result-panel { padding: 20px; } .steps-grid { gap: 18px; } }
@media (max-width: 760px) { html { scroll-padding-top: 118px; } .wrap { width: calc(100% - 36px); } .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 38px; } .hero-diagram { display: none; } h1 { font-size: 43px; } .hero-copy { font-size: 14px; } .hero-note { margin-top: 20px; } .header-inner { min-height: 76px; } .brand strong { font-size: 17px; } .brand small { font-size: 6px; letter-spacing: 1px; } .header-actions { gap: 13px; font-size: 11px; } .nav-inner { grid-template-columns: repeat(3,1fr); width: 100%; } .nav-inner a { min-height: 48px; padding: 11px 5px; border-bottom: 1px solid var(--line); } .nav-inner a:nth-child(3n) { border-right: 0; } .nav-inner a:first-child { border-left: 0; } .nav-inner a:nth-child(n+4) { border-bottom: 0; } .tool-section { padding-block: 38px; } .section-heading { align-items: start; flex-direction: column; gap: 13px; margin-bottom: 22px; } .section-heading > .text-button { align-self: flex-end; margin-top: -12px; } h2 { font-size: 25px; } .section-description { max-width: none; font-size: 12px; } .filter-bar { gap: 12px; padding: 17px; } .search-label { max-width: none; flex-basis: 100%; } .filter-buttons button { padding-inline: 12px; } .compare-grid { grid-template-columns: 1fr; } .compare-card { padding: 22px; } .memory-number { margin: 14px 0; } .guide-grid,.calculator-layout { grid-template-columns: 1fr; gap: 20px; } .stress-commands { grid-template-columns: 1fr; } .steps-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .result-column { position: static; } .result-panel { padding: 26px; } .result-number { font-size: 40px; } .footer { flex-direction: column; gap: 6px; } }
@media (max-width: 370px) { .wrap { width: calc(100% - 28px); } .brand img { width: 31px; height: 31px; } .header-actions { gap: 9px; } .header-actions a { max-width: 48px; line-height: 1.4; } .brand { gap: 7px; } .brand strong { font-size: 16px; } .field-grid { gap: 12px; } .form-panel { padding: 17px; } .field label { font-size: 11px; } h1 { font-size: 38px; } .nav-inner b { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.catalog-coverage { color: var(--muted); font-size: 12px; margin: -8px 0 20px; }
.catalog-filters { padding: 0 22px 18px; display: grid; gap: 12px; border-bottom: 1px solid var(--line); }
.filter-row { display: flex; gap: 18px; align-items: start; }
.filter-label { font-size: 11px; color: var(--muted); width: 98px; flex-shrink: 0; padding-block: 12px; }
.catalog-filters .filter-buttons { gap: 5px; }
.catalog-filters button { padding: 7px 11px; min-height: 40px; font-size: 11px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 22px; }
.catalog-toolbar #gpu-count { margin-left: 0; line-height: 1.7; }
.selection-count { font-size: 12px; margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; color: #466129; text-decoration: underline; text-underline-offset: 4px; }
.catalog-pagination { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 16px 22px; border-top: 1px solid var(--line); }
.catalog-pagination button { min-height: 44px; border: 1px solid var(--line); border-radius: 4px; background: #fff; padding: 8px 15px; font-size: 12px; }
.catalog-pagination span { font-size: 12px; color: var(--muted); }
button:disabled { cursor: default; opacity: .45; }
#catalog-feedback { padding-inline: 22px; }
#specs table { min-width: 860px; }
#specs td { padding-block: 12px; }
#specs td:first-child { max-width: 340px; }
#specs td:nth-child(4),#specs td:nth-child(5) { white-space: nowrap; }
#specs td .source-link { padding-block: 5px; font-size: 10px; }
#specs .table-scroll { scroll-margin-top: 110px; }
.row-details { margin-top: 4px; }
.row-details summary { padding: 4px 0; color: #466129; font-size: 11px; }
.row-details p { max-width: 320px; font-size: 11px; white-space: normal; color: var(--muted); }
.compare-card .memory-number { font-size: 34px; }
.compare-card .memory-number small { display: block; margin-top: 4px; }
@media (max-width: 760px) { .catalog-filters { padding-inline: 17px; gap: 14px; } .filter-row { flex-direction: column; gap: 5px; } .filter-label { padding: 0; width: auto; } .catalog-filters button { min-height: 44px; } .catalog-toolbar { padding-inline: 17px; align-items: start; } .catalog-toolbar #gpu-count { max-width: 200px; font-size: 11px; } .catalog-pagination { padding-inline: 17px; gap: 8px; } .catalog-pagination button { padding-inline: 10px; } .catalog-pagination span { font-size: 11px; } .selection-count { margin-left: 0; } .catalog-coverage { font-size: 11px; } }

.directory-summary { font: 12px/1.7 var(--mono); color: var(--muted); margin-bottom: 14px; }
.directory-note { margin-bottom: 20px; font-size: 12px; }
.directory-panel { margin-bottom: 14px; }
.directory-panel .filter-bar { align-items: center; }
.directory-panel .filter-bar > .muted { margin-left: auto; font: 12px var(--mono); }
.directory-filters { display: grid; gap: 12px; padding: 0 22px 22px; }
.directory-panel table { min-width: 960px; }
.directory-panel td { vertical-align: top; }
.directory-panel td:first-child { width: 30%; overflow-wrap: anywhere; }
.directory-panel td:nth-child(4),.directory-panel td:nth-child(5) { white-space: normal; }
.directory-panel .row-details p { max-width: none; }
.directory-panel .source-link { font-size: 11px; padding-block: 6px; overflow-wrap: anywhere; }
.directory-panel button:disabled { cursor: default; opacity: .5; }
.directory-panel .table-scroll { scroll-margin-top: 110px; }
.directory-coverage { margin-bottom: 24px; }
.directory-coverage ul { margin: 0; padding-left: 18px; }
.directory-coverage li + li { margin-top: 16px; }
.directory-coverage .source-link { padding-block: 4px; }
.preset-bar { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin: 24px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.preset-bar p { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.preset-bar button { flex-shrink: 0; }
.mode-buttons { margin-bottom: 12px; }
.mode-buttons button:disabled { opacity: .45; cursor: default; }
#memory-form,#token-form { scroll-margin-top: 110px; }
@media (max-width: 760px) { .directory-filters { padding-inline: 17px; } .directory-panel .filter-bar > .muted { margin-left: 0; } .directory-panel .filter-bar .text-button { margin-left: auto; } .preset-bar { align-items: start; flex-wrap: wrap; gap: 4px; } .directory-panel .filter-buttons button { padding-inline: 11px; } }
