#hardware-page{display:none}
body.hardware-view :is(.hero,.content-grid,#world,.facets,#ranking-page,#news-page,#universe-page,#software-page,#site-info-page,.portal-shortcuts,.home-discovery){display:none}
body.hardware-view #hardware-page{display:block;width:min(1540px,calc(100% - 80px));margin:0 auto;padding:48px 0 76px}
body.hardware-view header{border-bottom:1px solid #9396bf24}
.hardware-head{display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:1px solid #8f8abc38;padding:12px 0 26px}
.hardware-head h1{font-size:36px;line-height:1.3;letter-spacing:0;margin:10px 0 12px;max-width:none}
.hardware-head p:not(.section-kicker){color:#b8c1d9;font-size:14px;line-height:1.85;margin:0;max-width:760px}
.hardware-local{display:flex;align-items:center;gap:9px;flex-shrink:0;color:#a4d9c9;border:1px solid #73b9a544;background:#1d55482c;border-radius:30px;padding:11px 16px;font-size:12px}
.hardware-local>span{width:6px;height:6px;border-radius:50%;background:#90d7bd;box-shadow:0 0 14px #83e8bc55}
.hardware-paths{display:flex;flex-wrap:wrap;gap:24px;padding:18px 0 26px;font-size:12px;color:#c4b8e6}
.hardware-paths a:hover{color:#fff}
.hardware-layout{display:grid;grid-template-columns:minmax(340px,.85fr) minmax(0,1.4fr);align-items:start;gap:34px}
.hardware-form{min-width:0;display:grid;gap:18px;scroll-margin-top:125px}
.hardware-edit{display:inline-block;margin:0 0 8px;color:#b6caff;font-size:12px}
.hardware-form-scroll{min-width:0;display:grid;gap:18px}
.hardware-config,.hardware-submit{padding:24px;border:1px solid #9692c138;border-radius:8px;background:#171d31f2}
.hardware-section-title{display:flex;align-items:center;gap:11px;margin-bottom:19px}
.hardware-section-title>span{font:12px ui-monospace,monospace;color:#a69dcd;border:1px solid #9d8cc54d;display:grid;place-items:center;width:28px;height:28px;border-radius:8px}
.hardware-section-title h2{font-size:19px;line-height:1.4;letter-spacing:0;margin:0;font-weight:550}
.hardware-presets{display:flex;flex-wrap:wrap;gap:8px}
.hardware-presets button{border:1px solid #807aab66;border-radius:7px;color:#d0c5ed;background:#3b31553d;padding:9px 11px;font:inherit;font-size:12px;cursor:pointer}
.hardware-presets button:hover,.hardware-presets button[aria-pressed=true]{background:#69528d5c;border-color:#b199da}
.hardware-config fieldset{border:0;border-top:1px solid #a1a4ca24;padding:18px 0 0;margin:20px 0 0;min-width:0}
.hardware-config legend{color:#d9dcef;font-size:13px;font-weight:550;padding:0 9px 0 0}
.hardware-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 14px}
.hardware-wide{grid-column:1/-1}
.hardware-config label{display:grid;gap:8px;font-size:12px;color:#b8c2da;line-height:1.6;min-width:0}
.hardware-config :is(input:not([type=checkbox]),select){width:100%;min-width:0;min-height:42px;border:1px solid #9da6d341;border-radius:7px;background:#0d1327b3;color:#ebedfa;padding:9px 11px;font:inherit;font-size:13px;line-height:1.4;color-scheme:dark;outline-offset:3px}
.hardware-config select{cursor:pointer}
.hardware-config .aigog-select-picker{width:100%}
.hardware-config .universe-picker-trigger{min-height:42px;border-radius:7px;font-size:13px}
.hardware-config :is(input,select):focus-visible{outline:2px solid #b5a3ed;border-color:#b5a3ed}
.hardware-config input::placeholder{color:#71809f;font-size:11px}
.hardware-note{color:#8e9ab7;font-size:11px;line-height:1.85;margin:13px 0 0}
#hardware-profile-note{color:#baaddb}
.hardware-gpu{padding:14px;border:1px solid #7880a238;border-radius:8px;background:#0d14235c;margin-bottom:12px}
.hardware-gpu-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;font-size:11px;color:#bfc4e0}
.hardware-gpu-title button{width:30px;height:28px;padding:0;display:grid;place-items:center;background:#8583a01a;border:1px solid #79779744;color:#d4cee7;border-radius:6px;font-size:20px;cursor:pointer}
.hardware-add{border:1px dashed #8e85b36b;padding:10px;background:#76609e15;color:#c2b3e2;border-radius:7px;font-size:12px;cursor:pointer;width:100%;margin:0 0 10px}
.hardware-add:disabled{opacity:.5;cursor:default}
.hardware-check{display:flex!important;align-items:center;gap:9px!important;font-size:12px;color:#b8c2da;margin:9px 0}
.hardware-check input{accent-color:#a38ace;width:15px;height:15px;flex-shrink:0}
.hardware-help{border-top:1px solid #a1a4ca24;padding-top:18px;margin-top:20px;font-size:12px;color:#a8b3cf}
.hardware-help summary,.hardware-method summary,#hardware-excluded>summary{cursor:pointer;color:#c6b6e7;line-height:1.7}
.hardware-help p{font-size:11px;line-height:1.9;overflow-wrap:anywhere}
.hardware-submit{padding:20px 24px}
.hardware-primary{display:flex;align-items:center;justify-content:space-between;width:100%;padding:15px 18px;color:#fff;border:1px solid #a69ce2;background:#5d58a5;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;margin-top:16px}
.hardware-primary:hover{filter:brightness(1.15)}
.hardware-primary:disabled{opacity:.5;cursor:wait}
.hardware-clear{display:block;padding:0;background:none;border:0;color:#97a4c0;font-size:11px;cursor:pointer;margin:15px 0 0}
#hardware-form-status{color:#e4b896;font-size:12px;line-height:1.8;margin:12px 0 0}
.hardware-results{min-width:0;scroll-margin-top:125px}
.hardware-results-head .hardware-section-title{margin:0 0 8px;justify-content:space-between}
#hardware-match-count{display:inline;width:auto;height:auto;padding:3px 8px;border:0;background:#4a7d6b30;color:#9cdbc5;border-radius:4px;font-family:inherit;font-size:12px;line-height:1.6;white-space:nowrap}
#hardware-result-status{color:#a4b4d2;font-size:11px;line-height:1.8;margin:0 0 12px;min-height:20px}
#hardware-budgets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid #8892bd30;margin-bottom:12px;padding:12px 0}
#hardware-budgets>div{padding:0 16px;border-right:1px solid #8492bb33;min-width:0}
#hardware-budgets>div:first-child{padding-left:0}
#hardware-budgets>div:last-child{border:0}
#hardware-budgets span{display:block;color:#9dabcb;font-size:10px;line-height:1.7;margin-bottom:3px}
#hardware-budgets strong{font-size:19px;font-weight:550;color:#e4defa;font-variant-numeric:tabular-nums}
.hardware-result-search{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 12px;border:1px solid #8e9ac042;border-radius:6px;background:#10162ac9;color:#9faccc}
.hardware-result-search>span{font-size:22px;line-height:1}
.hardware-result-search:focus-within{outline:2px solid #b5a3ed;outline-offset:2px}
.hardware-result-search input{width:100%;min-width:0;background:none;border:0;outline:0;color:#ebedfa;font:inherit;font-size:12px;line-height:1.6;padding:9px 0;color-scheme:dark}
.hardware-result-search input::placeholder{color:#96a4bf}
.hardware-estimate-note{margin:9px 0 14px;font-size:10px;line-height:1.7;color:#9aa8c2}
.hardware-warnings{border:1px solid #bc9e6f38;border-radius:6px;background:#69522c1e;padding:9px 12px;margin-bottom:12px;color:#c4b399;font-size:11px;line-height:1.85}
.hardware-warnings summary{cursor:pointer;color:#d9c7a3}
.hardware-warnings p{margin:9px 0 0}
#hardware-list{display:grid;gap:10px}
.hardware-model{border:1px solid #9b90c13a;border-radius:8px;background:#1b2136ed;padding:16px 18px;min-width:0}
.hardware-model-heading{display:flex;gap:11px;align-items:start}
.hardware-model-index{font:11px ui-monospace,monospace;color:#a898cc;padding-top:4px;min-width:16px}
.hardware-model-heading>div{min-width:0;flex:1}
.hardware-model h3{font-size:16px;line-height:1.5;letter-spacing:0;overflow-wrap:anywhere;margin:0;color:#eeeafa;font-weight:550}
.hardware-model-heading p{margin:5px 0 0;font-size:11px;line-height:1.7;color:#a7b2cb}
.hardware-fit{flex-shrink:0;border:1px solid #7eb29d44;border-radius:4px;color:#a4d7c3;background:#39745a1f;padding:3px 7px;font-size:10px;line-height:1.7;max-width:150px;text-align:center}
.hardware-fit-offload,.hardware-fit-split{color:#d6c095;border-color:#b3976544;background:#76572822}
.hardware-fit-cpu{color:#b8b6e2;border-color:#8a89bd44;background:#64619c22}
.hardware-model-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;margin-top:12px}
.hardware-model-summary{display:flex;flex-wrap:wrap;gap:8px 20px;color:#a0adc6;font-size:11px;line-height:1.8}
.hardware-model-summary strong{font-size:12px;font-weight:500;color:#e3e7f3;margin-left:4px;font-variant-numeric:tabular-nums;white-space:nowrap}
.hardware-model-actions{font-size:11px;color:#a4d4dc}
.hardware-model-actions button{background:none;border:0;padding:0;color:inherit;font:inherit;cursor:pointer}
.hardware-model-more{margin-top:10px;font-size:11px;color:#aab8d2}
.hardware-model-more>summary{cursor:pointer;width:fit-content;color:#b1b8d2;line-height:1.8}
.hardware-model-more[open]{padding-top:10px;border-top:1px solid #9191b326}
.hardware-model-expanded{padding-top:14px}
.hardware-model-expanded p{color:#a4b1cb;line-height:1.85;overflow-wrap:anywhere}
.hardware-model-expanded a{color:#a6d9df;line-height:1.8;overflow-wrap:anywhere}
.hardware-file-link{display:inline-block;padding:7px 10px;border:1px solid #6aaba461;border-radius:5px;background:#275a4a25}
.hardware-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 16px}
.hardware-metrics dt{font-size:10px;color:#97a4c3;line-height:1.8}
.hardware-metrics dd{font-size:16px;color:#dbd5ed;margin:7px 0 0;font-variant-numeric:tabular-nums}
.hardware-memory-bar{height:4px;overflow:hidden;background:#7782a026;border-radius:2px}
.hardware-memory-bar i{display:block;height:100%;background:#78b9b0}
.hardware-row-note{font-size:11px;line-height:1.85;color:#a6acc4;margin:12px 0 0}
.hardware-file{font-family:ui-monospace,monospace;font-size:10px}
#hardware-excluded{margin-top:24px}
#hardware-excluded>summary{font-size:12px;padding:12px 0}
#hardware-excluded-list{display:grid;gap:10px;margin-top:12px}
.hardware-no-fit{opacity:.75;border-color:#987e6a40}
.hardware-no-fit .hardware-fit{color:#ddac99;border-color:#b78c6744;background:#68452922}
.hardware-no-fit .hardware-memory-bar i{background:#a27c62}
.hardware-empty{border:1px dashed #9595ba55;border-radius:8px;padding:24px;color:#bbc4de}
.hardware-empty h3{font-size:18px;margin:0 0 14px}
.hardware-empty p{font-size:13px;line-height:1.9}
.hardware-empty a{font-size:12px;color:#c8b5ee}
.hardware-method{border-top:1px solid #9d98ba36;padding-top:22px;margin-top:38px;color:#98a6c4;font-size:12px;line-height:1.9}
.hardware-method p{max-width:1160px;margin:16px 0}
.hardware-method a{color:#c1b1df}
.hardware-stale #hardware-list,.hardware-stale #hardware-budgets{opacity:.5}
.hardware-stale #hardware-result-status{color:#d3b78c}
#hardware-page [hidden]{display:none!important}
@media(min-width:1650px){.hardware-layout{gap:42px;grid-template-columns:500px minmax(0,1fr)}}
@media(max-width:1100px){body.hardware-view #hardware-page{width:calc(100% - 48px)}.hardware-layout{grid-template-columns:350px minmax(0,1fr);gap:22px}.hardware-config,.hardware-submit{padding:20px}.hardware-model{padding:16px}.hardware-fit{max-width:115px}.hardware-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hardware-local{display:none}#hardware-budgets>div{padding:0 12px}#hardware-budgets>div:first-child{padding-left:0}#hardware-budgets strong{font-size:17px}}
@media(min-width:851px) and (min-height:600px){
  body.hardware-view{overflow:hidden!important}
  body.hardware-view>footer{display:none}
  body.hardware-view #hardware-page{display:flex;flex-direction:column;height:calc(100dvh - var(--hardware-header,104px));padding:18px 0 20px;box-sizing:border-box;min-height:0}
  .hardware-head{flex-shrink:0;padding:0 0 14px}
  .hardware-head h1{font-size:28px;margin:6px 0 7px}
  .hardware-head .section-kicker{margin:0;letter-spacing:0}
  .hardware-head p:not(.section-kicker){font-size:12px}
  .hardware-paths{flex-shrink:0;padding:12px 0 18px}
  .hardware-layout{flex:1;min-height:0;align-items:stretch}
  .hardware-form{display:flex;flex-direction:column;gap:12px;min-height:0}
  .hardware-form-scroll{display:block;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#69728f66 transparent;scrollbar-gutter:stable;padding-right:7px}
  .hardware-form-scroll>.hardware-config+.hardware-config{margin-top:18px}
  .hardware-submit{flex-shrink:0;padding:12px 18px}
  .hardware-submit .hardware-check{margin:0}
  .hardware-primary{padding:11px 14px;margin-top:10px}
  .hardware-clear{margin-top:9px}
  #hardware-form-status:empty{display:none}
  .hardware-results{display:flex;flex-direction:column;min-height:0;overflow:hidden}
  .hardware-results-head{flex-shrink:0;padding-right:12px}
  #hardware-results-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#69728f66 transparent;scrollbar-gutter:stable;padding-right:7px;outline-offset:-2px}
}
@media(max-width:850px){.hardware-layout{grid-template-columns:1fr}.hardware-results{padding-top:12px}.hardware-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.hardware-fit{max-width:180px}.hardware-config{padding:24px}}
@media(min-width:851px) and (min-height:600px) and (max-height:849px){
  .hardware-head .section-kicker{display:none}
  .hardware-head h1{font-size:24px;margin:0 0 5px}
  .hardware-head{padding-bottom:10px}
  .hardware-paths{padding:10px 0 14px}
  #hardware-budgets{padding:9px 0;margin-bottom:10px}
  #hardware-budgets>div{display:flex;align-items:center;flex-wrap:wrap;gap:3px 8px}
  #hardware-budgets span{margin:0}
  #hardware-budgets strong{font-size:16px}
  .hardware-results-head .hardware-section-title{margin-bottom:5px}
  #hardware-result-status{margin-bottom:9px}
}
@media(max-width:550px){body.hardware-view #hardware-page{width:calc(100% - 32px);padding-top:29px}.hardware-head{padding:0 0 22px}.hardware-head h1{font-size:27px;margin:12px 0 15px}.hardware-head p:not(.section-kicker){font-size:12px}.hardware-paths{gap:12px 18px;font-size:11px;padding:17px 0 23px}.hardware-config,.hardware-submit{padding:20px 17px}.hardware-section-title h2{font-size:18px}.hardware-fields{gap:14px 11px}.hardware-config label{font-size:11px}.hardware-config :is(input:not([type=checkbox]),select){font-size:12px;padding:9px}.hardware-presets button{font-size:11px;padding:8px 10px}.hardware-gpu{padding:12px}.hardware-model{padding:15px 13px}.hardware-model h3{font-size:15px}.hardware-model-heading{flex-wrap:wrap;gap:8px}.hardware-model-heading>div{flex-basis:calc(100% - 26px)}.hardware-fit{margin-left:24px;max-width:none;padding:3px 7px}.hardware-model-bottom{gap:8px;margin-top:10px}.hardware-model-summary{gap:5px 14px}.hardware-model-heading p{font-size:10px}.hardware-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.hardware-metrics dd{font-size:16px}#hardware-budgets strong{font-size:18px}#hardware-budgets span{font-size:10px}#hardware-budgets>div{padding:0 10px}.hardware-section-title{margin-bottom:16px}.hardware-result-search input{font-size:12px}}
@media(prefers-reduced-motion:reduce){#hardware-page *{scroll-behavior:auto}}
