/* MITAROS · a straightforward dark storefront and community site. */
:root {
  color-scheme: dark;
  --bg: #101113;
  --surface: #191b1f;
  --surface-2: #202328;
  --border: #30343c;
  --text: #eceff4;
  --muted: #aab0bd;
  --gold: #efc45b;
  --green: #22b573;
  --green-hover: #2bca83;
  --danger: #ff9a9a;
  --radius: 9px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, summary, select { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, h4, p { margin: 0 0 16px; }
h1, h2, h3, h4 { font-family: inherit; font-weight: 750; line-height: 1.25; letter-spacing: -.025em; }
h1 { font-size: 34px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
ul, ol { padding-left: 22px; }
li + li { margin-top: 6px; }
small, .small { font-size: 14px; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--border); margin: 26px 0; }
[hidden] { display: none !important; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
input:focus-visible, textarea:focus-visible { outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; top: -100px; left: 16px; padding: 12px 18px; z-index: 100; background: var(--gold); color: #17150e; font-weight: 700; }
.skip:focus { top: 12px; }
.container, .content-wrap { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.content-wrap { margin-block: 32px 64px; }
.container .content-wrap { width: 100%; }
.narrow { max-width: 840px; }
.muted { color: var(--muted); }
.eyebrow { display: block; color: var(--gold); font-size: 12px; line-height: 1.4; font-weight: 750; text-transform: uppercase; letter-spacing: .095em; margin-bottom: 8px; }
.icon { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.text-link { color: var(--gold); font-weight: 650; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #78643c; }
.text-link:hover { color: #ffe29a; }
.button-row, .inline-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.inline-links a { color: var(--gold); font-size: 14px; }
.inline-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 45px; padding: 11px 20px; border: 1px solid transparent; border-radius: 6px; font-size: 15px; line-height: 1.4; font-weight: 700; text-align: center; transition: background .15s, border-color .15s; }
.btn-green { background: var(--green); color: #071e13; border-color: var(--green); }
.btn-green:hover { background: var(--green-hover); border-color: var(--green-hover); }
.btn-gold { background: var(--gold); color: #251c0b; border-color: var(--gold); }
.btn-gold:hover { background: #ffda7d; border-color: #ffda7d; }
.btn-outline { background: #1c2026; border-color: #454b55; color: var(--text); }
.btn-outline:hover { background: #292e35; border-color: #77705a; }
.btn-soft { background: #272c33; border-color: #3e4551; color: #b3bac7; }
.full { width: 100%; }
.notice { padding: 14px 17px; border: 1px solid #53482f; border-left: 3px solid #b99b51; border-radius: 6px; background: #232119; color: #d0c4a6; font-size: 14px; line-height: 1.65; margin: 20px 0; }
.notice p:last-child { margin-bottom: 0; }
.notice a { text-decoration: underline; text-underline-offset: 3px; color: var(--gold); }
.hint, .availability, .modalities-note, .catalog-note { color: #969ead; font-size: 14px; line-height: 1.6; }
.hint { margin: 10px 0 16px; }
.availability { margin: 12px 0 0; }
.modalities-note { margin: 12px 0 0; }
.catalog-note { margin: 16px 0 22px; }

/* Shared masthead: real server artwork remains quietly behind the navigation. */
.preview-strip { padding: 6px 16px; text-align: center; color: #aaaeb6; background: #090a0c; border-bottom: 1px solid #27292e; font-size: 12px; line-height: 1.55; }
.preview-strip b { color: #d8bc79; font-weight: 650; }
.site-header { background-color: #17181b; background-image: linear-gradient(90deg,#101113eb,#141517db 45%,#101113eb), var(--header-image,none); background-size: cover; background-position: center 52%; border-bottom: 1px solid #333332; }
.masthead { min-height: 148px; display: grid; grid-template-columns: 1fr 300px 1fr; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.masthead > .brand { justify-self: center; }
.brand img { width: 270px; height: 106px; object-fit: contain; }
.server-short { justify-self: start; display: flex; flex-direction: column; gap: 4px; color: var(--muted); min-width: 0; }
.server-short > span, .server-short small { font-size: 12px; color: #a9adb5; }
.server-short strong, .server-short b { display: block; color: var(--gold); font-size: 18px; line-height: 1.4; letter-spacing: -.02em; overflow-wrap: anywhere; }
.server-short button { display: inline-flex; gap: 7px; align-items: center; border: 0; padding: 0; background: transparent; color: var(--gold); text-align: left; font-weight: 650; }
.server-short .icon { width: 16px; height: 16px; }
.cart-link { justify-self: end; display: flex; align-items: center; gap: 12px; border: 1px solid #494331; border-radius: 8px; padding: 12px 16px; background: #1b1c1de6; color: var(--gold); font-weight: 700; }
.cart-link:hover { border-color: #9d8146; background: #28271f; }
.cart-link .icon { width: 24px; height: 24px; }
.cart-link small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.cart-link > span:not(.cart-badge) { min-width: 0; }
.cart-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; border-radius: 5px; padding: 0 6px; font-size: 12px; background: #34301f; color: #f1d28a; }
.nav-row { min-height: 51px; display: flex; align-items: center; justify-content: center; border-top: 1px solid #ffffff0c; position: relative; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 38px; }
.nav-links a { display: inline-flex; gap: 7px; align-items: center; position: relative; color: #c3c6ce; padding: 15px 0; font-size: 14px; line-height: 1.4; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current=page] { color: var(--gold); }
.nav-links a[aria-current=page]::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold); }
.nav-links .icon { width: 17px; height: 17px; }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 12px; background: transparent; color: #d7dbe1; border: 1px solid #3b3f46; border-radius: 5px; font-size: 14px; }

/* The catalogue is the page: sidebar, title, and the products. */
.store-layout { width: min(1280px, calc(100% - 48px)); margin: 28px auto 64px; display: grid; grid-template-columns: 250px minmax(0,1fr); align-items: start; gap: 24px; }
.store-sidebar { position: sticky; top: 20px; min-width: 0; }
.store-categories { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.sidebar-title { display: flex; align-items: center; gap: 10px; padding: 18px 17px; margin: 0; font-size: 14px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; color: var(--gold); border-bottom: 1px solid var(--border); list-style: none; }
.sidebar-title::-webkit-details-marker { display: none; }
.sidebar-title .mobile { display: none; }
.store-categories > nav, .store-categories > .sidebar-links { padding: 8px; }
.sidebar-section { display: block; color: #7f8794; font-size: 11px; line-height: 1.4; text-transform: uppercase; letter-spacing: .09em; font-weight: 750; padding: 19px 14px 8px; margin: 0; }
.category-link { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 11px 13px; color: #bfc4cf; border: 1px solid transparent; border-radius: 6px; font-size: 14px; line-height: 1.4; font-weight: 550; margin: 3px 0; }
.category-link .icon { width: 19px; height: 19px; color: #929aa7; }
.category-link:hover { background: #25292f; color: #fff1cf; }
.category-link[aria-current=page] { border-color: #796033; background: #352c1d; color: #f8d17a; }
.category-link[aria-current=page] .icon { color: var(--gold); }
.category-link small, .category-count { margin-left: auto; font-size: 11px; padding: 2px 5px; background: #ffffff08; color: #8e97a5; border-radius: 4px; }
.sidebar-help { margin-top: 17px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: #16181b; font-size: 14px; color: var(--muted); }
.sidebar-help h3 { font-size: 15px; color: #e0e3ea; margin: 0 0 9px; }
.sidebar-help p { margin: 0 0 10px; }
.sidebar-help a { color: var(--gold); font-size: 14px; }
.shop-main { min-width: 0; }
.category-heading { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 23px 25px; margin-bottom: 18px; }
.category-heading h1 { font-size: 28px; margin: 0 0 9px; }
.category-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 680px; }
.category-heading .eyebrow { color: #9098a5; font-size: 11px; margin-bottom: 7px; }
.category-actions { display: flex; align-items: center; gap: 16px; margin-top: 14px; font-size: 14px; }
.category-actions a { color: var(--gold); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 0 0 20px; }
.shop-toolbar > p { margin: 0; font-size: 14px; color: var(--muted); }
.search-box { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: #16181c; color: #929baa; max-width: 100%; }
.search-box:focus-within { border-color: #a18447; }
.search-box .icon { width: 19px; height: 19px; }
.search-box input { width: 100%; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text); font-size: 14px; }
.search-box input::placeholder { color: #8c94a2; opacity: 1; }
.period-toggle { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid #353a43; border-radius: 7px; background: #16181c; }
.period-toggle button { border: 1px solid transparent; border-radius: 4px; background: transparent; color: #aeb6c3; padding: 8px 15px; font-size: 14px; line-height: 1.35; font-weight: 650; white-space: nowrap; }
.period-toggle button:hover { color: #f3d990; background: #27271f; }
.period-toggle button[aria-pressed=true] { color: #1e190d; background: var(--gold); border-color: var(--gold); }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.product-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .15s; }
.product-card:hover { border-color: #635944; }
.product-cover { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; padding: 16px 18px 0; background: #191b1f; }
.product-cover img { width: 100%; height: 265px; object-fit: contain; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid #5d502e; border-radius: 4px; color: #e7c977; background: #27231b; font-size: 11px; font-weight: 700; line-height: 1.3; }
.product-cover .badge, .product-card > .badge { position: absolute; top: 12px; right: 12px; z-index: 1; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 20px 24px 24px; text-align: center; }
.product-body h2, .product-body h3 { font-size: 20px; margin: 0 0 7px; line-height: 1.35; }
.product-body h2 a:hover, .product-body h3 a:hover { color: var(--gold); }
.rank-alias, .product-summary { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0 0 12px; }
.price { display: block; color: var(--gold); font-size: 26px; line-height: 1.3; font-weight: 750; letter-spacing: -.025em; }
.price small { display: block; color: #929aa7; font-size: 12px; line-height: 1.5; font-weight: 400; letter-spacing: 0; margin-top: 3px; }
.product-actions { display: flex; gap: 8px; margin: 17px 0 16px; align-items: stretch; }
.product-actions > .btn { flex: 1; min-width: 0; }
.info-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 45px; width: 45px; min-height: 45px; border: 1px solid #353a43; border-radius: 6px; color: #bfc6d2; background: #111316; font-weight: 700; }
.info-btn:hover { color: var(--gold); border-color: #796237; }
.product-features { list-style: none; padding: 15px 0 0; margin: auto 0 0; border-top: 1px solid #2d3038; text-align: left; color: #b6becb; font-size: 14px; line-height: 1.55; }
.product-features li { display: flex; align-items: flex-start; gap: 8px; }
.product-features li + li { margin-top: 8px; }
.product-features .icon { width: 15px; height: 15px; margin-top: 3px; color: #bfa56e; }
.product-meta { margin: 13px 0 0; font-size: 12px; line-height: 1.5; color: #8b94a3; }
.kit-card .product-cover img { height: 245px; }
.search-results-empty { padding: 32px; color: var(--muted); text-align: center; border: 1px dashed var(--border); border-radius: 8px; }

/* A full product page, with the same restrained hierarchy as the catalogue. */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: #8f97a5; font-size: 13px; line-height: 1.5; margin: 0 0 20px; }
.breadcrumb a { color: #bec5d0; }
.breadcrumb a:hover { color: var(--gold); }
.product-detail { display: grid; grid-template-columns: minmax(230px, .9fr) minmax(0, 1.1fr); gap: 28px; padding: 25px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.detail-image { min-width: 0; align-self: start; }
.detail-image img { width: 100%; max-height: 360px; object-fit: contain; }
.detail-image figcaption { font-size: 12px; color: #8d96a5; line-height: 1.5; text-align: center; margin: 12px 0 0; }
.detail-copy { min-width: 0; }
.detail-copy h1 { font-size: 31px; margin: 12px 0 14px; }
.detail-copy .lead, .detail-copy > p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.detail-copy .price { margin: 18px 0; font-size: 31px; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0 0; }
.detail-actions > .btn { flex: 1; }
.detail-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 18px 0 0; }
.detail-metrics > div { border: 1px solid #303640; background: #14171b; border-radius: 6px; padding: 10px 8px; text-align: center; }
.detail-metrics strong, .detail-metrics b { display: block; color: #e2e6ee; font-size: 19px; line-height: 1.3; }
.detail-metrics span, .detail-metrics small { display: block; color: #8f99aa; font-size: 11px; margin-top: 4px; line-height: 1.4; }
.detail-tabs { display: flex; align-items: center; gap: 22px; padding: 15px 3px; margin: 16px 0 8px; border-bottom: 1px solid var(--border); overflow-x: auto; font-size: 14px; }
.detail-tabs a { color: #b7bfcc; flex-shrink: 0; }
.detail-tabs a:hover { color: var(--gold); }
.detail-section { padding: 24px; margin: 20px 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); scroll-margin-top: 25px; }
.detail-section h2 { font-size: 22px; margin-bottom: 12px; }
.detail-section > p { font-size: 15px; color: var(--muted); }
.detail-section > :last-child { margin-bottom: 0; }
.benefit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.benefit-grid > section, .benefit-grid > div { min-width: 0; padding: 18px; background: #14171b; border: 1px solid #2c323c; border-radius: 6px; }
.benefit-grid h3 { font-size: 16px; color: #dfc98f; margin: 0 0 12px; }
.benefit-list { list-style: none; margin: 0; padding: 0; color: #b2bdcb; font-size: 14px; line-height: 1.7; }
.benefit-list li { position: relative; padding-left: 15px; }
.benefit-list li::before { content: "·"; color: var(--gold); position: absolute; left: 0; font-weight: 700; }
.benefit-list li + li { margin-top: 6px; }
.kit-preview { margin: 18px 0 0; padding: 12px; border: 1px solid #3c3931; border-radius: 6px; background: #121315; }
.kit-preview img { width: 100%; max-height: 650px; object-fit: contain; }
.kit-preview figcaption { padding: 12px 4px 0; color: #939ba7; font-size: 12px; }
.contents-table { width: 100%; border-collapse: collapse; margin: 18px 0 0; font-size: 14px; }
.contents-table th { text-align: left; color: #c9d0da; padding: 11px 13px; background: #24282f; font-weight: 650; }
.contents-table td { padding: 11px 13px; border-bottom: 1px solid #2d323b; color: #b8c1cf; }
.contents-table tr:last-child td { border-bottom: 0; }
.contents-table td:last-child { text-align: right; white-space: nowrap; color: #dfc88f; font-weight: 650; }
.contents-table .amount { color: var(--gold); }
.content-list { list-style: none; padding: 0; margin: 0; }
.content-list li { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #2e343e; padding: 11px 0; font-size: 14px; color: #bcc5d1; }
.content-list li:last-child { border-bottom: 0; }
.content-list .amount { color: var(--gold); white-space: nowrap; }
.compare-panel { margin: 24px 0 0; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.compare-panel > summary { padding: 18px 20px; color: #dbc68f; font-size: 15px; font-weight: 700; cursor: pointer; }
.compare-panel[open] > summary { border-bottom: 1px solid var(--border); }
.compare-panel > p { margin: 16px 20px 20px; }
.compare-table, .table-wrap { width: 100%; overflow-x: auto; scrollbar-color: #4a4f58 #1b1e23; }
.compare-table table, .data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare-table th, .data-table th { background: #23272e; color: #d4c28f; text-align: left; font-weight: 650; }
.compare-table th, .compare-table td, .data-table th, .data-table td { padding: 12px 14px; border-bottom: 1px solid #303641; line-height: 1.5; }
.compare-table td, .data-table td { color: #b7c0cd; white-space: nowrap; }
.compare-table th:first-child, .data-table th:first-child { min-width: 160px; }
.compare-table th small, .data-table th small { display: block; color: #939aa6; font-size: 11px; font-weight: 400; }

/* The community front page is short and grounded in the real world. */
.home-hero { position: relative; min-height: 380px; overflow: hidden; display: flex; align-items: center; isolation: isolate; background-color: #1a201c; background-size: cover; background-position: center 52%; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#0c0f13eb,#111317a6 53%,#11131720),linear-gradient(0deg,#10111388,transparent 55%); z-index: -1; }
.home-hero > img, .home-hero > .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; z-index: -2; }
.home-copy { position: relative; max-width: 590px; padding: 48px 0; }
.home-copy h1 { font-size: 44px; line-height: 1.16; max-width: 590px; letter-spacing: -.04em; margin-bottom: 20px; text-wrap: balance; }
.home-copy h1 em { font-style: normal; color: var(--gold); }
.home-copy p { color: #c7ccd4; font-size: 18px; line-height: 1.65; max-width: 500px; margin-bottom: 24px; }
.home-copy .eyebrow { color: #e5c26e; }
.home-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 28px auto; }
.home-link { display: flex; align-items: flex-start; gap: 15px; padding: 23px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.home-link:hover { background: #20242a; border-color: #65563a; }
.home-link > .icon { width: 26px; height: 26px; color: var(--gold); margin-top: 2px; }
.home-link h2, .home-link h3, .home-link strong { display: block; font-size: 18px; color: #e9edf3; margin: 0 0 7px; line-height: 1.3; }
.home-link p, .home-link span { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.screenshot-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 22px 0 0; }
.screenshot-strip figure, .screenshot-strip a { overflow: hidden; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); }
.screenshot-strip img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.screenshot-strip figcaption { padding: 11px 14px; color: #b4bdca; font-size: 14px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 34px 0 18px; }
.section-heading h2 { font-size: 22px; margin: 0; }
.section-heading a { color: var(--gold); font-size: 14px; }

/* Simple supporting pages, galleries and credits. */
.page-title { padding: 0 0 22px; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.page-title h1 { font-size: 32px; margin-bottom: 12px; }
.page-title > p { color: var(--muted); margin: 0; max-width: 720px; }
.info-panel { padding: 25px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 20px; min-width: 0; }
.info-panel h2 { font-size: 23px; }
.info-panel p { color: #b8c1cf; }
.info-panel > :last-child { margin-bottom: 0; }
.prose { max-width: 840px; color: #bbc2cf; }
.prose h2 { margin-top: 30px; font-size: 23px; color: var(--text); }
.prose h3 { margin-top: 24px; color: #e0c68a; font-size: 18px; }
.prose > :first-child { margin-top: 0; }
.prose li { line-height: 1.75; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.gallery-tabs, .filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 23px; }
.filter-chip { border: 1px solid var(--border); padding: 9px 14px; border-radius: 6px; background: #1a1d23; color: #aeb7c5; font-size: 14px; font-weight: 600; }
.filter-chip:hover { color: #f5d491; border-color: #79653b; }
.filter-chip[aria-pressed=true] { background: #352c1c; border-color: #8b713b; color: var(--gold); }
.photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.photo-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.photo-tile > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.photo-tile figcaption { padding: 15px 16px; color: #bbc4d1; }
.photo-tile figcaption strong { display: block; font-size: 16px; margin-bottom: 3px; line-height: 1.45; }
.photo-tile figcaption span { display: block; font-size: 12px; line-height: 1.5; color: #8f98a8; }
.art-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; }
.art-grid .photo-tile > img, .gallery-art > img { object-fit: contain; aspect-ratio: 1; background: #191b1f; }
.art-grid .photo-tile figcaption { padding: 13px 15px; }
.art-grid .photo-tile figcaption strong { font-size: 15px; }
.download-link { color: var(--gold); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; margin-top: 11px; text-decoration: underline; text-underline-offset: 3px; }
.world-gallery-lead { color: var(--muted); font-size: 15px; max-width: 720px; margin: 0 0 22px; }
.brand-page, .brand-art { background: var(--surface); }
.brand-art > img { padding: 24px; height: 230px; width: 100%; object-fit: contain; background: #15171b; }
.credit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.credit-card { padding: 22px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); min-width: 0; }
.credit-card h3 { font-size: 18px; margin-bottom: 12px; }
.credit-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.credit-card a { color: var(--gold); font-size: 14px; }
.credit-card .eyebrow { font-size: 11px; }
.data-source-note { font-size: 12px; color: #929baa; }
.server-panel { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; background: #191c21; border: 1px solid #5c4d2f; padding: 24px; border-radius: 9px; margin-bottom: 22px; }
.server-info { flex: 1; min-width: 0; }
.server-info > span { color: #939caa; font-size: 12px; }
.server-address { color: var(--gold); font-size: 28px; line-height: 1.4; font-weight: 750; overflow-wrap: anywhere; }
.server-meta { color: #a9b0bd; font-size: 14px; }
.server-mark { color: var(--gold); }
.server-mark .icon { width: 28px; height: 28px; }

/* Review basket. All fields remain dark, including browser autofill. */
.selection-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; align-items: start; gap: 24px; }
.selection-layout > section, .selection-layout > aside { min-width: 0; }
.selection-box { border: 1px solid #40434b; border-radius: var(--radius); padding: 24px; background: var(--surface); }
.selection-box h2 { font-size: 23px; margin: 0 0 12px; }
.cart-item { display: flex; gap: 18px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; margin: 0 0 14px; align-items: center; }
.cart-item img { width: 80px; height: 80px; object-fit: contain; background: #121518; border-radius: 6px; flex: 0 0 auto; }
.cart-item-main { flex: 1; min-width: 0; }
.cart-item h3 { font-size: 17px; margin: 0 0 7px; }
.cart-item p { color: #9ba5b5; font-size: 14px; margin: 0 0 6px; }
.cart-item h3 a:hover { color: var(--gold); }
.cart-remove { background: transparent; border: 1px solid #49414a; border-radius: 5px; color: #c3a7ae; padding: 7px 11px; font-size: 13px; }
.cart-remove:hover { background: #34232b; border-color: #8b5b69; color: #ffc7d3; }
.inline-amount { font-size: 15px; color: var(--gold); font-weight: 700; }
.field-label { display: block; font-size: 14px; color: #cdd3dd; font-weight: 600; margin: 18px 0 8px; }
.field { width: 100%; min-width: 0; border: 1px solid #424a58; padding: 12px 13px; border-radius: 6px; background: #11151a; color: #e9edf4; font-size: 16px; }
.field::placeholder { color: #818b9b; opacity: 1; }
.field:-webkit-autofill { -webkit-text-fill-color: #e9edf4; box-shadow: 0 0 0 100px #11151a inset; caret-color: #e9edf4; }
.form-error { color: var(--danger); font-size: 14px; margin: 10px 0; }
.totals { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; border-top: 1px solid #353b45; padding: 19px 0; color: #bbc4d0; }
.totals strong { color: var(--gold); font-size: 20px; }
.review-name { font-size: 22px; font-weight: 700; color: #e8c77c; overflow-wrap: anywhere; }
.empty { text-align: center; padding: 40px 24px; border: 1px dashed #444b56; border-radius: var(--radius); background: #171a1f; }
.empty h2 { font-size: 24px; }
.empty p { color: var(--muted); }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; max-width: min(540px,calc(100% - 32px)); transform: translate(-50%,15px); opacity: 0; pointer-events: none; color: #e5e9f0; background: #252a31; border: 1px solid #8e7540; border-radius: 8px; padding: 13px 19px; box-shadow: 0 8px 30px #0006; font-size: 14px; line-height: 1.55; transition: opacity .18s, transform .18s; }
.toast.visible { opacity: 1; transform: translate(-50%,0); }

.site-footer { border-top: 1px solid #2b2e34; background: #0c0d0f; padding: 30px 0 25px; margin-top: 42px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 24px; }
.footer-row .brand img { width: 190px; height: 66px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 13px 25px; font-size: 14px; color: #a3aab7; }
.footer-links a:hover { color: var(--gold); }
.footer-meta { border-top: 1px solid #24272d; padding-top: 20px; color: #747d8b; font-size: 12px; line-height: 1.7; }
.footer-meta p { max-width: 1000px; margin: 0; }

@media (min-width: 801px) {
  .store-categories > summary { cursor: default; pointer-events: none; }
  .store-categories:not([open]) > :not(summary) { display: block; }
}
@media (max-width: 1100px) {
  .container, .content-wrap, .store-layout { width: calc(100% - 40px); }
  .masthead { grid-template-columns: 1fr 250px 1fr; gap: 14px; min-height: 132px; }
  .brand img { width: 240px; height: 95px; }
  .server-short strong, .server-short b { font-size: 16px; }
  .cart-link { padding: 10px 12px; font-size: 14px; }
  .cart-link small { display: none; }
  .store-layout { grid-template-columns: 222px minmax(0,1fr); gap: 20px; }
  .category-link { padding: 10px 11px; gap: 9px; }
  .category-heading { padding: 21px; }
  .product-body { padding: 18px 19px 22px; }
  .product-cover { padding: 14px 12px 0; }
  .product-cover img { height: 235px; }
  .product-detail { grid-template-columns: minmax(180px,.85fr) minmax(0,1.15fr); gap: 22px; padding: 22px; }
  .detail-copy h1 { font-size: 28px; }
  .detail-copy .period-toggle { display: flex; }
  .detail-copy .period-toggle button { flex: 1; padding: 8px 9px; font-size: 13px; }
  .detail-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .art-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .selection-layout { grid-template-columns: minmax(0,1fr) 320px; }
  .home-link { padding: 20px 17px; }
}
@media (max-width: 800px) {
  .masthead { grid-template-columns: 1fr auto; gap: 18px; min-height: 105px; }
  .masthead > .brand { justify-self: start; }
  .brand img { width: 215px; height: 84px; }
  .server-short { display: none; }
  .cart-link { padding: 10px 12px; gap: 8px; }
  .cart-link > span:not(.cart-badge) { font-size: 13px; }
  .nav-row { justify-content: flex-start; min-height: 50px; padding-block: 5px; }
  .menu-toggle { display: flex; }
  .nav-links { display: none; position: absolute; z-index: 40; left: -20px; right: -20px; top: 50px; padding: 12px 20px 17px; border-top: 1px solid #363a42; border-bottom: 1px solid #74603b; background: #181b20; box-shadow: 0 12px 26px #0006; }
  .nav-links.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 12px 5px; font-size: 15px; }
  .nav-links a[aria-current=page]::after { left: 5px; right: auto; width: 26px; }
  .store-layout { grid-template-columns: 1fr; margin-top: 20px; gap: 20px; }
  .store-sidebar { position: static; }
  .sidebar-title { padding: 13px 16px; cursor: pointer; border-bottom: 0; font-size: 13px; }
  .sidebar-title .mobile { display: inline-flex; margin-left: auto; font-size: 13px; color: #bfa96e; }
  .store-categories[open] > .sidebar-title { border-bottom: 1px solid var(--border); }
  .store-categories > nav, .store-categories > .sidebar-links { padding: 8px; }
  .store-categories[open] > nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 7px; }
  .sidebar-section { grid-column: 1/-1; padding-top: 12px; }
  .sidebar-help { display: none; }
  .category-heading { margin-bottom: 15px; }
  .category-heading h1 { font-size: 26px; }
  .product-cover img { height: 260px; }
  .product-body { padding: 18px 22px 22px; }
  .product-detail { grid-template-columns: minmax(200px,.95fr) minmax(0,1.05fr); }
  .detail-copy h1 { font-size: 27px; }
  .detail-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .detail-section { padding: 22px; }
  .home-hero { min-height: 350px; background-position: 58% center; }
  .home-hero > img { object-position: 58% center; }
  .home-copy h1 { font-size: 38px; }
  .home-copy { padding: 40px 0; max-width: 530px; }
  .home-links { gap: 12px; }
  .home-link { flex-direction: column; padding: 18px; gap: 12px; }
  .home-link h2, .home-link h3, .home-link strong { font-size: 17px; }
  .screenshot-strip { gap: 12px; }
  .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .selection-layout { grid-template-columns: 1fr; }
  .selection-box { max-width: 100%; }
  .footer-row { align-items: flex-start; }
  .footer-links { max-width: 420px; gap: 12px 22px; }
}
@media (max-width: 560px) {
  .container, .content-wrap, .store-layout { width: calc(100% - 28px); }
  .content-wrap { margin-top: 24px; margin-bottom: 42px; }
  h1 { font-size: 28px; }
  h2 { font-size: 23px; }
  .preview-strip { font-size: 11px; padding: 6px 14px; }
  .masthead { min-height: 88px; gap: 10px; }
  .brand img { width: 183px; height: 72px; }
  .cart-link { border-color: #393c42; padding: 9px; gap: 6px; }
  .cart-link > span:not(.cart-badge) { display: none; }
  .cart-link .icon { width: 21px; height: 21px; }
  .cart-badge { min-width: 21px; height: 22px; padding: 0 5px; }
  .nav-links { left: -14px; right: -14px; padding-inline: 16px; }
  .nav-row { min-height: 46px; }
  .menu-toggle { min-height: 36px; font-size: 13px; }
  .nav-links { top: 46px; }
  .store-layout { margin-top: 16px; gap: 15px; }
  .sidebar-title { padding: 12px 14px; }
  .store-categories[open] > nav { display: block; }
  .category-link { font-size: 14px; min-height: 44px; }
  .category-heading { padding: 18px; }
  .category-heading h1 { font-size: 25px; }
  .category-heading p { font-size: 14px; line-height: 1.6; }
  .category-actions { gap: 13px; flex-wrap: wrap; margin-top: 12px; }
  .shop-toolbar { gap: 10px; margin-bottom: 16px; }
  .shop-toolbar .search-box { width: 100%; }
  .shop-toolbar > p { font-size: 13px; }
  .period-toggle { width: 100%; }
  .period-toggle button { flex: 1; padding: 8px 10px; font-size: 14px; }
  .product-grid { grid-template-columns: 1fr; gap: 17px; }
  .product-cover img { height: 230px; }
  .product-cover { padding: 15px 20px 0; }
  .product-body { padding: 17px 22px 23px; }
  .product-body h2, .product-body h3 { font-size: 21px; }
  .product-actions { margin-top: 16px; }
  .product-features { font-size: 14px; }
  .product-card .badge { top: 10px; right: 10px; }
  .kit-card .product-cover img { height: 225px; }
  .product-detail { display: block; padding: 20px; }
  .detail-image { margin: 0 0 22px; }
  .detail-image img { max-height: 290px; }
  .detail-image figcaption { font-size: 11px; }
  .detail-copy h1 { font-size: 28px; }
  .detail-copy .price { margin: 18px 0; }
  .detail-copy .period-toggle button { padding: 9px 8px; font-size: 13px; }
  .detail-tabs { gap: 19px; font-size: 14px; padding-block: 13px; }
  .detail-section { padding: 19px; margin: 17px 0; }
  .detail-section h2 { font-size: 21px; }
  .detail-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .detail-metrics > div { padding: 10px 5px; }
  .detail-metrics strong, .detail-metrics b { font-size: 18px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 14px; }
  .benefit-grid > section, .benefit-grid > div { padding: 16px; }
  .kit-preview { padding: 6px; }
  .contents-table td, .contents-table th { padding: 10px 7px; }
  .compare-panel > summary { padding: 15px 17px; font-size: 14px; }
  .home-hero { min-height: 345px; }
  .home-hero::before { background: linear-gradient(90deg,#0c0f13e8,#111317b5),linear-gradient(0deg,#10111380,transparent); }
  .home-copy { padding: 34px 0 38px; }
  .home-copy h1 { font-size: 34px; line-height: 1.2; margin-bottom: 16px; }
  .home-copy p { font-size: 16px; line-height: 1.65; margin-bottom: 22px; }
  .home-copy .eyebrow { font-size: 11px; }
  .home-copy .button-row { gap: 9px; }
  .home-copy .btn { padding: 10px 15px; font-size: 14px; }
  .home-links { grid-template-columns: 1fr; gap: 11px; margin-block: 20px; }
  .home-link { flex-direction: row; align-items: flex-start; padding: 18px; gap: 15px; }
  .home-link h2, .home-link h3, .home-link strong { font-size: 18px; margin-bottom: 4px; }
  .home-link > .icon { width: 23px; height: 23px; }
  .screenshot-strip { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .screenshot-strip img { aspect-ratio: 16/8; }
  .section-heading { margin-top: 29px; gap: 15px; }
  .section-heading h2 { font-size: 21px; }
  .section-heading a { font-size: 13px; }
  .page-title { padding-bottom: 18px; margin-bottom: 20px; }
  .page-title h1 { font-size: 28px; }
  .page-title > p { font-size: 15px; }
  .info-panel { padding: 20px; }
  .info-panel h2 { font-size: 22px; }
  .photo-grid { grid-template-columns: 1fr; gap: 16px; }
  .photo-tile > img { aspect-ratio: 16/9; }
  .art-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .art-grid .photo-tile figcaption { padding: 12px; }
  .art-grid .photo-tile figcaption strong { font-size: 14px; }
  .art-grid .download-link { font-size: 12px; }
  .gallery-tabs, .filter-row { gap: 7px; }
  .filter-chip { font-size: 13px; padding: 9px 11px; }
  .credit-grid { grid-template-columns: 1fr; gap: 14px; }
  .credit-card { padding: 19px; }
  .server-panel { padding: 19px; gap: 14px; }
  .server-address { font-size: 23px; }
  .server-panel > .btn { width: 100%; }
  .server-mark { display: none; }
  .selection-box { padding: 21px; }
  .cart-item { gap: 13px; flex-wrap: wrap; padding: 17px; }
  .cart-item img { width: 65px; height: 65px; }
  .cart-item h3 { font-size: 16px; }
  .cart-item p { font-size: 13px; }
  .cart-remove { margin-left: 78px; padding: 6px 11px; }
  .empty { padding: 30px 21px; }
  .site-footer { margin-top: 30px; padding: 24px 0; }
  .footer-row { flex-direction: column; gap: 20px; padding-bottom: 22px; }
  .footer-row .brand img { width: 170px; height: 59px; }
  .footer-links { justify-content: flex-start; gap: 12px 22px; font-size: 13px; }
  .footer-meta { font-size: 11px; }
  .toast { bottom: 16px; padding: 12px 16px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Final layout alignment for the shared navigation and connection page. */
.nav-row > .container { display:flex; align-items:center; justify-content:center; position:relative; min-height:50px; }
.account-link { position:absolute; right:0; top:0; bottom:0; display:flex; align-items:center; font-size:14px; color:var(--muted); }
.account-link:hover { color:var(--gold); }
.back-link { display:inline-block; margin-bottom:14px; color:var(--muted); font-size:14px; }
.back-link:hover { color:var(--gold); }
.join-layout { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.join-address { color:var(--gold); overflow-wrap:anywhere; }
@media(max-width:800px) {
 .nav-row > .container { justify-content:flex-start; min-height:40px; }
 .account-link { position:static; margin-left:auto; padding:8px 0; }
 .nav-links { top:calc(100% + 5px); }
 .join-layout { grid-template-columns:1fr; }
}
@media(max-width:560px) {
 .nav-row > .container { min-height:36px; }
 .menu-toggle { font-size:14px; }
}
