:root {
  color-scheme: dark;
  --bg: #101212;
  --paper: #191c1b;
  --raised: #222624;
  --ink: #eef1ec;
  --muted: #969e99;
  --line: #303632;
  --brand: #a2df78;
  --brand-strong: #b7ed92;
  --brand-soft: #273522;
  --gold: #e9c783;
  --red: #ee9191;
  --sky: #8bd2d6;
}
* { box-sizing: border-box; }
/* Reserve the same icon box before and after the SVG is installed. */
i[data-lucide] { display: inline-block; vertical-align: middle; }
html { scrollbar-gutter: stable; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Segoe UI", Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.5; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
::selection { color: #101810; background: var(--brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.wrap { width: min(1280px, calc(100% - 64px)); margin: 0 auto; }
:is(.lucide, [data-lucide]) { width: 18px; height: 18px; flex: 0 0 auto; stroke-width: 1.8; }
.topbar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(16, 18, 18, .96); backdrop-filter: blur(16px); }
.topbar__inner { display: flex; align-items: center; gap: 40px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 750; white-space: nowrap; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 36px; color: var(--brand); }
.brand__mark :is(.lucide, [data-lucide]) { width: 32px; height: 32px; stroke-width: 2; }
.nav { display: flex; align-items: stretch; gap: 6px; min-width: 0; }
.nav__link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 6px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.nav__link:hover { background: var(--raised); color: var(--ink); }
.nav__link.is-active { background: var(--brand-soft); color: var(--brand); }
.topbar__meta { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.live-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--brand); }
.topbar__meta .primary-button { margin-left: 12px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: 36px; line-height: 1.2; font-weight: 730; overflow-wrap: anywhere; }
h2 { margin-bottom: 6px; font-size: 21px; line-height: 1.35; font-weight: 650; }
h3 { font-weight: 650; }
.eyebrow { margin: 0 0 9px; color: var(--brand); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.lead { max-width: 600px; margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.hero { padding: 38px 0 26px; }
.hero__content { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.page-heading { min-width: 0; }
.source-row { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.source-status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.source-status::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; background: var(--brand); border-radius: 50%; }
.source-status.is-warning { color: var(--gold); }
.source-status.is-warning::before { background: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 26px 0 0; padding: 21px 0; border-block: 1px solid var(--line); }
.stat { min-width: 0; padding: 0 26px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; border-right: 0; }
.stat dt { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; }
.stat dt :is(.lucide, [data-lucide]) { width: 15px; height: 15px; }
.stat dd { margin: 5px 0 0; color: var(--ink); font-size: 26px; font-weight: 650; line-height: 1.3; font-variant-numeric: tabular-nums; }
.stat:nth-child(3) dd { color: var(--brand); }
.stat:last-child dd { font-size: 16px; padding-top: 9px; }
.stat > span { color: var(--muted); font-size: 11px; }
.layout { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 28px; align-items: start; padding: 6px 0 48px; }
.filters { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.filter-head { display: flex; align-items: center; gap: 9px; padding: 18px 18px 0; font-size: 15px; font-weight: 650; }
.filter-head :is(.lucide, [data-lucide]) { color: var(--brand); }
.filter-form { display: grid; gap: 20px; padding: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { display: flex; align-items: center; gap: 5px; color: #bbc2bc; font-weight: 500; font-size: 12px; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: #121514; color: var(--ink); transition: border-color 140ms; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #555e55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 2px #a2df7812; }
.field input, .field select { min-height: 42px; padding: 0 11px; }
.field input::placeholder, .field textarea::placeholder { color: #747c76; }
.field textarea { min-height: 104px; padding: 10px 11px; resize: vertical; }
.field input[type="range"] { min-height: 20px; padding: 0; accent-color: var(--brand); border: 0; box-shadow: none; background: transparent; }
.range-label { justify-content: space-between; }
.range-label span { color: var(--ink); font-variant-numeric: tabular-nums; }
.range-limits { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.primary-button, .ghost-button, .icon-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; font-weight: 650; transition: background 140ms, border-color 140ms, color 140ms; }
.primary-button { color: #172010; background: var(--brand); }
.primary-button:hover { background: var(--brand-strong); }
.ghost-button, .icon-button { color: #c3cac3; background: var(--raised); border-color: var(--line); }
.ghost-button:hover, .icon-button:hover { background: #2d332e; border-color: #4a554b; color: var(--ink); }
.icon-button { width: 40px; height: 40px; min-height: 40px; padding: 0; flex: 0 0 auto; }
.filter-form .ghost-button { margin-top: 2px; background: transparent; }
.search-strip { margin-bottom: 22px; }
.quick-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.quick-tags button { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--muted); font-size: 12px; }
.quick-tags button:hover, .quick-tags button.is-active { color: var(--brand); border-color: #4e683e; background: var(--brand-soft); }
.quick-tags button :is(.lucide, [data-lucide]) { width: 13px; height: 13px; }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.list-head__title { display: flex; align-items: center; gap: 10px; }
.list-head__title h2 { margin: 0; }
.count-badge { padding: 2px 7px; border-radius: 4px; background: var(--raised); color: var(--muted); font-size: 12px; font-weight: 600; }
.list-head__actions { display: flex; gap: 8px; }
.mobile-filters { display: none; }
.server-list { display: grid; gap: 12px; }
.server-card { display: grid; grid-template-columns: 32px 56px minmax(0, 1fr) 184px; gap: 14px; align-items: start; padding: 22px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; transition: border-color 160ms, background 160ms; }
.server-card:hover { background: #1d211f; border-color: #495247; }
.server-card.is-featured { border-color: #536640; }
.server-rank { display: grid; justify-items: center; gap: 8px; padding-top: 2px; color: #768075; font-size: 10px; }
.server-rank strong { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 5px; background: var(--raised); color: #bbc4b8; font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.is-featured .server-rank strong { background: #393022; color: var(--gold); }
.server-rank span { white-space: nowrap; }
.server-icon { width: 56px; height: 56px; border-radius: 7px; object-fit: cover; image-rendering: pixelated; border: 1px solid var(--line); background: #272d27; }
.server-avatar { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid #3b4739; border-radius: 7px; background: #263024; color: #b5d89e; overflow: hidden; }
.server-avatar > span { font-size: 19px; font-weight: 700; }
.server-avatar.avatar--1 { background: #302b20; color: #e8cb8a; border-color: #494131; }
.server-avatar.avatar--2 { background: #223032; color: #9dcfd0; border-color: #35474a; }
.server-avatar.avatar--3 { background: #322729; color: #d8a6b0; border-color: #483a3e; }
.server-avatar > img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; background: transparent; object-fit: cover; }
.server-avatar > img.is-loaded { opacity: 1; }
.mini-avatar { width: 40px; height: 40px; border-radius: 6px; }
.mini-avatar > span { font-size: 14px; }
.profile-avatar { width: 128px; height: 128px; border-radius: 8px; }
.profile-avatar > span { font-size: 44px; }
.server-main { min-width: 0; }
.server-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 7px; }
.server-title h3 { margin: 0; font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.server-title a:hover { color: var(--brand); }
.badge { display: inline-flex; align-items: center; gap: 4px; min-height: 21px; max-width: 100%; padding: 2px 7px; border: 1px solid #544a32; border-radius: 4px; color: var(--gold); background: #2b271e; font-size: 10px; font-weight: 600; }
.badge :is(.lucide, [data-lucide]) { width: 11px; height: 11px; }
.server-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 12px; color: #abb3ad; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.server-meta, .server-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.server-meta { margin-bottom: 10px; color: var(--muted); font-size: 11px; }
.server-meta > span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; }
.server-meta :is(.lucide, [data-lucide]) { width: 13px; height: 13px; }
.server-meta .version { display: block; max-width: 180px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.meta-divider { color: #525b53; }
.online { color: var(--brand); font-weight: 600; }
.online.is-offline { color: #a59191; }
.online.is-offline .live-dot { background: #977a7a; }
.server-tags span { border-radius: 4px; padding: 3px 7px; border: 1px solid #333a34; color: #8f9d90; font-size: 10px; }
.server-actions { display: grid; gap: 10px; min-width: 0; }
.ip-box { display: flex; align-items: center; gap: 4px; min-width: 0; min-height: 38px; padding: 0 5px 0 10px; border: 1px solid #364033; border-radius: 6px; background: #121613; color: #d2dbce; font-family: Consolas, "Courier New", monospace; font-size: 12px; }
.ip-box > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-button { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; padding: 0; border: 0; border-radius: 4px; color: var(--brand); background: #263423; }
.copy-button:hover { background: #3a4d30; }
.copy-button :is(.lucide, [data-lucide]) { width: 14px; height: 14px; }
.meter { height: 3px; overflow: hidden; border-radius: 2px; background: #2d352d; }
.meter span { display: block; height: 100%; background: var(--brand); }
.votes { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; }
.votes :is(.lucide, [data-lucide]) { width: 12px; height: 12px; color: var(--gold); }
.review-link { min-height: 32px; background: transparent; font-size: 11px; }
.review-link :is(.lucide, [data-lucide]) { width: 13px; height: 13px; margin-left: auto; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 250px; padding: 24px; border: 1px dashed var(--line); border-radius: 8px; text-align: center; }
.empty-state > :is(.lucide, [data-lucide]) { width: 28px; height: 28px; color: var(--muted); }
.empty-state h3 { margin: 0; font-size: 16px; }
.empty-state p { margin: 0; color: var(--muted); max-width: 260px; font-size: 12px; }
.list-end { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 24px 0 0; color: #6e786e; font-size: 12px; }
.list-end :is(.lucide, [data-lucide]) { width: 14px; height: 14px; }
.owner-band { border-top: 1px solid var(--line); background: #151815; }
.owner-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; }
.owner-band__title { display: flex; align-items: center; gap: 12px; }
.owner-band__title > :is(.lucide, [data-lucide]) { width: 28px; height: 28px; color: var(--brand); }
.owner-band__title h2 { margin: 0 0 4px; font-size: 18px; }
.owner-band__title p { margin: 0; color: var(--muted); font-size: 12px; }
.owner-band__actions { display: flex; gap: 10px; }
.admin-shell { padding: 36px 0 52px; }
.admin-hero { display: grid; gap: 24px; margin-bottom: 30px; }
.admin-hero h1 { font-size: 32px; }
.admin-stats { margin-top: 0; }
.admin-grid { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 28px; align-items: start; margin-bottom: 28px; }
.panel { min-width: 0; padding: 0; }
.form-panel { display: grid; gap: 18px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.form-panel h2 { font-size: 18px; margin: 0 0 4px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { margin: 0; font-size: 20px; }
.panel-head .icon-button { width: 34px; height: 34px; min-height: 34px; }
.form-note { margin: 0; color: var(--muted); font-size: 12px; }
.form-note:empty { display: none; }
.admin-table { display: grid; gap: 8px; }
.table-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.table-row > div { min-width: 0; }
.table-row strong, .ad-row strong { display: block; margin-bottom: 3px; font-size: 14px; overflow-wrap: anywhere; }
.table-row span, .ad-row span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.table-row__meta { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.table-row > b { color: var(--brand); font-size: 13px; font-variant-numeric: tabular-nums; }
.table-row .icon-button { width: 34px; height: 34px; min-height: 34px; background: transparent; }
.table-row--ad { grid-template-columns: minmax(0, 1fr) auto auto; }
.table-row--ad > b { color: var(--ink); }
.mini-icon { width: 40px; height: 40px; border-radius: 6px; image-rendering: pixelated; background: var(--raised); }
.rate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rate-card { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.rate-card > :is(.lucide, [data-lucide]) { margin-bottom: 12px; color: var(--gold); width: 22px; height: 22px; }
.rate-card:nth-child(2) > :is(.lucide, [data-lucide]), .rate-card:nth-child(2) strong { color: var(--sky); }
.rate-card:nth-child(3) > :is(.lucide, [data-lucide]), .rate-card:nth-child(3) strong { color: var(--brand); }
.rate-card h2 { font-size: 16px; }
.rate-card strong { display: block; margin: 8px 0; color: var(--gold); font-size: 24px; font-weight: 650; }
.rate-card strong small { color: var(--muted); font-size: 12px; font-weight: 400; }
.rate-card p { margin: 0; color: var(--muted); font-size: 12px; }
.ad-row { display: grid; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.ad-row__head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.status-badge { padding: 3px 8px; border-radius: 4px; background: var(--brand-soft); color: var(--brand) !important; font-size: 11px !important; white-space: nowrap; }
.status-badge.is-pending { color: var(--gold) !important; background: #342e23; }
.ad-row dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding-top: 15px; border-top: 1px solid var(--line); }
.ad-row dt { color: var(--muted); font-size: 11px; }
.ad-row dd { margin: 4px 0 0; font-size: 18px; font-weight: 650; }
.server-profile { min-height: 420px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); margin-bottom: 30px; font-size: 12px; }
.back-link:hover { color: var(--brand); }
.profile-card { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 30px; padding: 28px 0; border-block: 1px solid var(--line); }
.profile-icon { width: 128px; height: 128px; border: 1px solid var(--line); border-radius: 8px; image-rendering: pixelated; background: var(--paper); }
.profile-card h1 { font-size: 32px; }
.profile-meta { margin: 22px 0 16px; gap: 16px; font-size: 13px; }
.profile-meta > span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); overflow-wrap: anywhere; }
.profile-meta > span:nth-child(2) { display: block; max-width: 100%; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.profile-ip { display: block; margin-top: 12px; color: var(--muted); font-family: Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); max-width: calc(100% - 32px); padding: 12px 18px; border: 1px solid #4b6240; border-radius: 6px; background: #24311f; color: #def1d3; opacity: 0; pointer-events: none; transition: 180ms ease; z-index: 40; text-align: center; font-size: 13px; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
[hidden] { display: none !important; }
#refresh-data:disabled :is(.lucide, [data-lucide]) { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.footer { border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; color: #747e76; font-size: 11px; }
.footer__links { display: flex; gap: 20px; }
.footer__links a:hover { color: var(--ink); }
@media (max-width: 1120px) {
  .topbar__inner { gap: 20px; }
  .topbar__meta > .live-dot, .topbar__meta > span { display: none; }
  .topbar__meta .primary-button { margin-left: 0; }
  .wrap { width: calc(100% - 40px); }
  .layout { grid-template-columns: 224px minmax(0, 1fr); gap: 20px; }
  .server-card { grid-template-columns: 28px 48px minmax(0, 1fr); gap: 12px; padding: 18px 14px; }
  .server-icon { width: 48px; height: 48px; }
  .server-avatar { width: 48px; height: 48px; }
  .mini-avatar { width: 40px; height: 40px; }
  .profile-avatar { width: 128px; height: 128px; }
  .server-actions { grid-column: 3; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .server-actions .meter, .server-actions .votes { display: none; }
  .review-link { height: 38px; min-width: 120px; }
  .admin-grid { gap: 20px; grid-template-columns: 280px minmax(0, 1fr); }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 130px; }
  .topbar__inner { flex-wrap: wrap; gap: 10px; padding-block: 12px; }
  .brand { font-size: 18px; }
  .nav { order: 3; width: 100%; gap: 6px; }
  .nav__link { flex: 1; justify-content: center; padding: 8px 10px; font-size: 12px; }
  .topbar__meta .primary-button { min-height: 34px; font-size: 12px; }
  .hero { padding-top: 28px; }
  .hero__content { align-items: start; }
  h1 { font-size: 30px; }
  .source-row { gap: 8px; }
  .source-status { display: none; }
  .stats { gap: 0; }
  .stat { padding-inline: 16px; }
  .stat dd { font-size: 23px; }
  .stat:last-child dd { font-size: 13px; }
  .stat > span { display: none; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .filters { display: none; position: static; }
  .filters.is-open { display: block; }
  .filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-form .ghost-button { align-self: end; }
  .mobile-filters { display: inline-flex; }
  .server-card { grid-template-columns: 32px 56px minmax(0, 1fr) 180px; padding: 20px 16px; }
  .server-icon { width: 56px; height: 56px; }
  .server-avatar { width: 56px; height: 56px; }
  .mini-avatar { width: 40px; height: 40px; }
  .profile-avatar { width: 128px; height: 128px; }
  .server-actions { grid-column: auto; grid-template-columns: 1fr; }
  .server-actions .meter, .server-actions .votes { display: flex; }
  .review-link { height: auto; min-height: 32px; }
  .admin-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-panel h2, .form-panel .field:has(textarea), .form-panel .form-note { grid-column: 1 / -1; }
  .form-panel .primary-button { align-self: end; }
  .owner-band__inner { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .topbar__meta .primary-button { width: 34px; height: 34px; padding: 0; }
  .topbar__meta .primary-button span { display: none; }
  .topbar__inner { padding-block: 10px; gap: 8px; }
  .nav__link { padding-inline: 8px; }
  .nav__link :is(.lucide, [data-lucide]) { width: 15px; height: 15px; }
  .hero { padding-top: 25px; padding-bottom: 20px; }
  .hero__content { gap: 12px; }
  h1 { font-size: 27px; }
  .lead { font-size: 13px; }
  .eyebrow { font-size: 10px; }
  .source-row { padding-top: 24px; }
  .source-row .icon-button { width: 34px; height: 34px; min-height: 34px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 16px; row-gap: 18px; margin-top: 22px; }
  .stat { padding: 0 16px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat dd { font-size: 24px; }
  .stat:last-child dd { padding-top: 7px; font-size: 13px; }
  .stat dt { font-size: 11px; }
  .layout { padding-top: 0; padding-bottom: 32px; gap: 16px; }
  .search-strip { margin-bottom: 18px; }
  .quick-tags { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .quick-tags button { flex: 0 0 auto; }
  .list-head { gap: 8px; }
  .list-head__title { gap: 7px; }
  .list-head__title h2 { font-size: 18px; }
  .list-head__actions .ghost-button { width: 34px; height: 34px; min-height: 34px; padding: 0; }
  .list-head__actions .ghost-button span { display: none; }
  .list-head__actions .mobile-filters { width: auto; padding: 0 10px; font-size: 11px; }
  .list-head__actions .mobile-filters span { display: inline; }
  .server-card { position: relative; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .server-rank { position: absolute; top: 11px; right: 12px; padding: 0; }
  .server-rank strong { width: 22px; height: 22px; font-size: 11px; background: transparent; }
  .server-rank span { display: none; }
  .server-icon { width: 48px; height: 48px; }
  .server-avatar { width: 48px; height: 48px; }
  .server-title { padding-right: 16px; align-items: start; gap: 5px; }
  .server-title h3 { width: 100%; font-size: 17px; }
  .server-desc { margin-bottom: 10px; font-size: 12px; }
  .server-meta { gap: 5px; }
  .server-meta .version { max-width: 160px; }
  .server-tags { gap: 4px; }
  .server-tags span { font-size: 9px; padding: 2px 5px; }
  .server-actions { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
  .server-actions .meter, .server-actions .votes { display: none; }
  .ip-box { min-height: 36px; }
  .review-link { min-height: 36px; min-width: 96px; font-size: 10px; padding-inline: 9px; }
  .filter-form { gap: 16px; padding: 16px; }
  .filter-form .field:first-child { grid-column: 1 / -1; }
  .filter-head { padding: 16px 16px 0; }
  .owner-band__title > :is(.lucide, [data-lucide]) { display: none; }
  .owner-band__actions { width: 100%; }
  .owner-band__actions > a { flex: 1; font-size: 12px; padding-inline: 10px; }
  .footer__inner { align-items: start; gap: 14px; flex-direction: column; }
  .footer__links { gap: 16px; }
  .admin-shell { padding-top: 28px; }
  .admin-hero h1 { font-size: 28px; }
  .form-panel { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .form-panel .field, .form-panel .primary-button { grid-column: 1; }
  .table-row { grid-template-columns: 36px minmax(0, 1fr) auto; padding: 12px; gap: 10px; }
  .mini-icon { width: 36px; height: 36px; }
  .mini-avatar { width: 36px; height: 36px; }
  .table-row > b { grid-column: 2; grid-row: 2; font-size: 12px; }
  .table-row > a { grid-column: 3; grid-row: 1 / 3; }
  .table-row--ad { grid-template-columns: minmax(0, 1fr) auto; }
  .table-row--ad > b { grid-column: 1; grid-row: 2; }
  .table-row--ad > span { grid-column: 2; grid-row: 2; }
  .rate-grid { grid-template-columns: 1fr; gap: 10px; }
  .rate-card { padding: 18px; }
  .rate-card > :is(.lucide, [data-lucide]) { float: right; margin: 2px 0 0; }
  .rate-card strong { font-size: 23px; margin: 6px 0; }
  .ad-row { padding: 16px; }
  .ad-row dd { font-size: 16px; }
  .profile-card { grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
  .profile-icon { width: 80px; height: 80px; }
  .profile-avatar { width: 80px; height: 80px; }
  .profile-avatar > span { font-size: 30px; }
  .profile-card h1 { font-size: 28px; }
  .profile-meta { gap: 8px; }
  .profile-actions { gap: 8px; }
  .profile-actions > * { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Community catalog pages */
.catalog-shell { min-height: calc(100vh - 170px); padding-bottom: 48px; }
.catalog-content { padding-top: 12px; }
.catalog-empty { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); padding: 64px 24px; }
.catalog-empty > :is(.lucide, [data-lucide]) { width: 40px; height: 40px; color: var(--brand); }
.catalog-empty .ghost-button { display: inline-flex; margin-top: 12px; }
@media (min-width: 901px) { .topbar__inner { gap: 18px; } .topbar__meta > span { display: none; } .nav__link { padding-inline: 10px; } }
@media (max-width: 900px) { .nav { max-width: 100%; overflow-x: auto; } }

/* Atmospheric Minecraft background shared across the site. */
body { position: relative; isolation: isolate; background: #0d1210; }
body::before {
  content: "";
  position: fixed;
  inset: -12px;
  z-index: -2;
  pointer-events: none;
  background: url("/assets/minecraft-background.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4") center center / cover no-repeat;
  filter: blur(3px);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 14, 12, .38), rgba(8, 14, 12, .58)), radial-gradient(ellipse at center, transparent 25%, rgba(5, 9, 7, .28) 100%);
}
.server-card, .filters, .catalog-empty { background: rgba(25, 28, 27, .92); }
.footer, .owner-band { background: rgba(16, 18, 18, .9); }

body.cabinet-page::before {
  background-image: url("/assets/cabinet-background.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4");
}

.theme-toggle { flex: 0 0 auto; }
:root[data-theme="light"] {
 color-scheme: light;
 --bg: #edf2e9; --paper: #ffffff; --raised: #e8eee4; --ink: #1c2a1b; --muted: #52624f; --line: #c6d1bf;
 --brand: #356a20; --brand-strong: #285317; --brand-soft: #e0efd6; --gold: #866016; --red: #aa3838; --sky: #256c74;
}
html[data-theme="light"] body { background: var(--bg); }
html[data-theme="light"] body::after { background: linear-gradient(180deg, rgba(242, 247, 238, .83), rgba(235, 243, 229, .9)); }
html[data-theme="light"] .topbar { background: rgba(248, 251, 245, .96); }
html[data-theme="light"] :is(.server-card, .filters, .catalog-empty) { background: rgba(255, 255, 255, .94); }
html[data-theme="light"] :is(.footer, .owner-band) { background: rgba(241, 246, 237, .94); }
html[data-theme="light"] :is(.field label, .ghost-button, .icon-button, .server-rank strong, .server-desc, .server-tags span, .footer__inner, .list-end) { color: var(--muted); }
html[data-theme="light"] :is(.field input, .field select, .field textarea, .ip-box) { background: #f7faf4; color: var(--ink); border-color: var(--line); }
html[data-theme="light"] :is(.server-card:hover, .ghost-button:hover, .icon-button:hover) { background: #f0f6eb; border-color: #91ac80; color: var(--ink); }
html[data-theme="light"] .primary-button { color: #fff; }
html[data-theme="light"] .server-tags span { border-color: var(--line); }
html[data-theme="light"] .copy-button { background: var(--brand-soft); }
html[data-theme="light"] .is-featured .server-rank strong, html[data-theme="light"] .status-badge.is-pending { background: #f4ead4; }
html[data-theme="light"] .online.is-offline { color: #965252; }
html[data-theme="light"] .toast { background: #e0efd6; color: #285317; border-color: #91ac80; }
@media (max-width: 900px) { .theme-toggle { margin-left: auto; } }

/* Daytime village background for the light theme, including the cabinet. */
html[data-theme="light"] body::before {
  background-image: url("/assets/minecraft-light-background.webp?rev=3d7f007c0971458ebf98c2fb6f8ba5f4");
}
html[data-theme="light"] body::after {
  background: linear-gradient(180deg, rgba(242, 247, 238, .42), rgba(235, 243, 229, .58));
}

.mod-themes { margin-bottom: 24px; }
.mod-themes h2 { margin-bottom: 14px; font-size: 18px; }
.mod-categories { display: flex; flex-wrap: wrap; gap: 10px; }
.mod-category { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); }
.mod-category:hover { border-color: var(--brand); }
.mod-category.is-active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.mod-category :is(.lucide, [data-lucide]) { color: var(--brand); }
@media (max-width: 600px) { .mod-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .mod-category { padding: 10px 12px; } }

.mod-sort { width: min(100%, 300px); margin-bottom: 24px; }

.mod-controls { display: flex; align-items: end; gap: 16px; margin-bottom: 24px; }
.mod-controls .mod-search { flex: 1; }
.mod-controls .mod-sort { margin-bottom: 0; }
@media (max-width: 600px) { .mod-controls { flex-direction: column; align-items: stretch; } .mod-controls .mod-sort { width: 100%; } }

.catalog-version { width: 180px; flex: 0 0 auto; }
@media (max-width: 600px) { .catalog-version { width: 100%; } }

@media (min-width: 901px) { .topbar__inner { flex-wrap: wrap; gap: 10px 14px; padding-block: 12px; } .nav { flex: 1 1 auto; flex-wrap: wrap; } .topbar__meta { display: none; } .nav__link { padding-inline: 8px; } }

.footer__links { flex-wrap: wrap; }

/* Homepage: immersive introduction fading into the directory. */
.home-page::before, .home-page::after { display: none; }
.home-hero { position: relative; isolation: isolate; min-height: calc(100svh - 100px); display: flex; align-items: center; overflow: hidden; color: #f4f8f1; }
.home-hero::before { content: ''; position: absolute; inset: -8px; z-index: -2; background: url('/assets/home-background.webp?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover no-repeat; filter: blur(2px); }
.home-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 15, 20, .2) 0%, rgba(8, 18, 19, .48) 65%, var(--bg) 100%), linear-gradient(90deg, rgba(3, 12, 16, .72), transparent 85%); }
.home-hero__content { padding-block: 90px 70px; }
.home-hero .eyebrow { color: #b7ed92; }
.home-hero h1 { max-width: 850px; font-size: clamp(40px, 5.5vw, 76px); line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 26px; }
.home-hero__description { max-width: 630px; color: #d0ddd7; font-size: 18px; line-height: 1.8; margin-bottom: 30px; }
.home-explore { padding: 14px 22px; background: #a2df78; color: #172010 !important; }
.home-scroll { display: flex; align-items: center; gap: 10px; margin-top: 65px; color: #c0d0c9; font-size: 13px; width: fit-content; }
.home-directory { background: var(--bg); padding: 52px 0 80px; scroll-margin-top: 120px; }
.home-directory h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; }
.home-categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 32px; }
.home-category { display: flex; flex-direction: column; align-items: start; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); transition: transform .2s, border-color .2s; }
.home-category:hover { transform: translateY(-4px); border-color: var(--brand); }
.home-category__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); margin-bottom: 20px; }
.home-category__icon :is(.lucide, [data-lucide]) { width: 25px; height: 25px; }
.home-category h3 { font-size: 22px; margin-bottom: 8px; }
.home-category p { color: var(--muted); margin-bottom: 24px; }
.home-category__link { display: flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; margin-top: auto; }
@media (max-width: 900px) { .home-categories { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .home-categories { grid-template-columns: 1fr; } .home-hero__content { padding-block: 65px 50px; } .home-hero__description { font-size: 16px; } .home-scroll { margin-top: 40px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .home-category { transition: none; } .home-category:hover { transform: none; } }

.brand__logo { display: block; width: 38px; height: 38px; object-fit: contain; image-rendering: pixelated; }
.brand__mark { width: 38px; height: 38px; }

/* A short mining sequence repeats every ten seconds. */
.brand__mark { position: relative; flex: 0 0 auto; }
.brand__logo { animation: logo-mine-block 10s infinite; }
.brand__pickaxe, .brand__emerald { position: absolute; pointer-events: none; object-fit: contain; image-rendering: pixelated; opacity: 0; }
.brand__pickaxe { width: 33px; height: 33px; left: 12px; top: -8px; transform-origin: 75% 80%; animation: logo-mine-pickaxe 10s infinite; }
.brand__emerald { width: 34px; height: 34px; inset: 2px; animation: logo-mine-emerald 10s infinite; }
.brand__chips { position: absolute; inset: 0; pointer-events: none; }
.brand__chips b { position: absolute; left: 17px; top: 18px; width: 5px; height: 5px; background: #6e766d; opacity: 0; animation: logo-mine-chip 10s infinite; }
.brand__chips b:nth-child(1) { --chip-x: -17px; --chip-y: -12px; }
.brand__chips b:nth-child(2) { --chip-x: 18px; --chip-y: -10px; background: #25ce68; }
.brand__chips b:nth-child(3) { --chip-x: -14px; --chip-y: 16px; background: #25ce68; }
.brand__chips b:nth-child(4) { --chip-x: 16px; --chip-y: 15px; }
@keyframes logo-mine-block { 0%, 73%, 100% { opacity: 1; transform: scale(1); } 75%, 78% { opacity: 1; transform: translateX(-2px); } 76%, 79% { opacity: 1; transform: translateX(2px); } 81%, 94% { opacity: 0; transform: scale(.55); } 98% { opacity: 1; transform: scale(1); } }
@keyframes logo-mine-pickaxe { 0%, 70%, 86%, 100% { opacity: 0; transform: rotate(-35deg); } 72%, 77% { opacity: 1; transform: rotate(-35deg); } 75%, 80% { opacity: 1; transform: rotate(30deg); } 83% { opacity: 0; transform: rotate(30deg); } }
@keyframes logo-mine-emerald { 0%, 80%, 98%, 100% { opacity: 0; transform: scale(.4) translateY(8px); } 84%, 91% { opacity: 1; transform: scale(1) translateY(-2px); } 94% { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes logo-mine-chip { 0%, 79%, 90%, 100% { opacity: 0; transform: translate(0,0); } 81% { opacity: 1; transform: translate(0,0); } 87% { opacity: 0; transform: translate(var(--chip-x),var(--chip-y)) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { .brand__logo { animation: none; } .brand__pickaxe, .brand__emerald, .brand__chips b { animation: none; } }

/* Mining now responds to hovering and clicking the brand. */
.brand__logo, .brand__pickaxe, .brand__emerald, .brand__chips b { animation: none; }
.brand__pickaxe { transition: opacity .15s; transform: rotate(-35deg); }
.brand:hover .brand__pickaxe, .brand:focus-visible .brand__pickaxe { opacity: 1; }
.brand.is-mining .brand__logo { animation: brand-hit-block 1.1s both; }
.brand.is-mining .brand__pickaxe { animation: brand-hit-pickaxe 1.1s both; }
.brand.is-mining .brand__emerald { animation: brand-hit-emerald 1.1s both; }
.brand.is-mining .brand__chips b { animation: brand-hit-chip 1.1s both; }
@keyframes brand-hit-block { 0%, 20% { opacity: 1; transform: scale(1); } 25% { transform: translateX(-2px); } 30% { transform: translateX(2px); opacity: 1; } 40%, 100% { opacity: 0; transform: scale(.5); } }
@keyframes brand-hit-pickaxe { 0% { opacity: 1; transform: rotate(-35deg); } 27% { opacity: 1; transform: rotate(30deg); } 45%, 100% { opacity: 0; transform: rotate(30deg); } }
@keyframes brand-hit-emerald { 0%, 35% { opacity: 0; transform: scale(.4) translateY(8px); } 55%, 100% { opacity: 1; transform: scale(1) translateY(-2px); } }
@keyframes brand-hit-chip { 0%, 30% { opacity: 0; transform: translate(0,0); } 38% { opacity: 1; transform: translate(0,0); } 70%, 100% { opacity: 0; transform: translate(var(--chip-x),var(--chip-y)) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { .brand.is-mining .brand__logo, .brand.is-mining .brand__pickaxe, .brand.is-mining .brand__emerald, .brand.is-mining .brand__chips b { animation: none; } .brand__pickaxe { transition: none; } }

/* CubeCraft: emerald identity. */
:root { --brand: #35e99b; --brand-strong: #70f5bc; --brand-soft: #173b2b; }
.brand { gap: 12px; }
.brand__name { color: #ddffef; font-size: 22px; font-weight: 800; letter-spacing: -1px; }
.brand__accent { color: #35e99b; }
.brand__logo { filter: drop-shadow(0 0 8px rgba(53,233,155,.38)); }
.brand__emerald { filter: drop-shadow(0 0 8px rgba(53,233,155,.45)); }
:root[data-theme="light"] { --brand: #176b44; --brand-strong: #105332; --brand-soft: #d9f1e4; }
html[data-theme="light"] .brand__name { color: #173b2b; }
html[data-theme="light"] .brand__accent { color: #176b44; }

.analytics-controls { display:flex; align-items:end; flex-wrap:wrap; gap:12px; margin:22px 0; }
.analytics-controls .field { min-width:200px; }
.analytics-grid { display:grid; grid-template-columns: 1fr 1fr; gap:22px; }
.analytics-panel { margin-top:22px; }
.analytics-table { overflow-x:auto; }
.analytics-grid table, .analytics-panel table { width:100%; border-collapse:collapse; font-size:13px; }
.analytics-grid th, .analytics-panel th { text-align:left; color:var(--muted); font-weight:600; }
.analytics-grid td, .analytics-grid th, .analytics-panel td, .analytics-panel th { padding:12px 10px; border-bottom:1px solid var(--line); }
.analytics-bar { margin-bottom:18px; }
.analytics-bar > div:first-child { display:flex; justify-content:space-between; gap:12px; margin-bottom:8px; }
.analytics-bar span { font-size:12px; color:var(--muted); }
.analytics-track { height:6px; background:var(--raised); border-radius:3px; }
.analytics-track span { display:block; height:100%; background:var(--brand); border-radius:3px; }
#analytics-status { color:var(--muted); font-size:12px; }
@media(max-width:750px) { .analytics-grid { grid-template-columns:1fr; } .analytics-bar > div:first-child { flex-wrap:wrap; } }

[hidden] { display: none !important; }
.analytics-date-link { border:0; padding:4px 0; color:var(--brand); background:transparent; text-decoration:underline; font:inherit; }
#a-days { overflow-x:auto; }

.account-auth { width: min(100%, 460px); margin: 0 auto 48px; }
.account-auth .form-panel { background: rgba(25,28,27,.94); box-shadow: 0 16px 48px rgba(0,0,0,.18); }
.account-switch { margin: 0; text-align: center; color:var(--muted); font-size:13px; }
.account-text-button { border:0; padding:0; background:transparent; color:var(--brand); font:inherit; text-decoration:underline; }
.account-entry { display:inline-flex; align-items:center; gap:8px; padding:9px 13px; border:1px solid var(--line); border-radius:8px; background:rgba(255,255,255,.06); color:var(--ink); opacity:.75; flex:0 0 auto; transition:opacity .15s, border-color .15s; margin-left:auto; }
.account-entry:hover, .account-entry:focus-visible { opacity:1; border-color:var(--brand); }
html[data-theme="light"] .account-auth .form-panel { background:rgba(255,255,255,.94); }
html[data-theme="light"] .account-entry { background:rgba(255,255,255,.4); }
@media(max-width:600px) { .account-entry { padding:8px 10px; } .account-auth .form-panel { padding:20px; } }

.account-entry { padding:6px 8px; gap:6px; border:0; background:transparent; font-size:12px; font-weight:400; color:var(--muted); opacity:.55; }
.account-entry :is(.lucide, [data-lucide]) { width:15px; height:15px; }
.account-entry:hover, .account-entry:focus-visible { opacity:1; color:var(--ink); }
html[data-theme="light"] .account-entry { background:transparent; }
@media(max-width:600px) { .account-entry { padding:6px 8px; } }

.account-entry.is-signed-in { flex-direction:column; align-items:flex-end; gap:2px; opacity:.8; }
.account-entry__name { color:var(--ink); font-size:12px; max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account-entry__action { display:inline-flex; align-items:center; gap:5px; font-size:11px; color:var(--muted); }

/* Keep account controls compact at the right edge of the header. */
.topbar__inner { position: relative; }
.account-entry { order: 4; margin-left: 4px; }
.theme-toggle { order: 3; margin-left: auto; }
.account-entry.is-signed-in { gap: 0; padding: 2px 4px; line-height: 1.2; }
.account-entry__name { max-width: 105px; font-size: 10px; }
.account-entry__action { font-size: 10px; gap: 4px; }
.account-entry__action :is(.lucide, [data-lucide]) { width: 12px; height: 12px; }
@media (min-width: 901px) {
  .topbar__inner { gap: 8px; padding-block: 8px; }
  .nav { flex: 1 1 0; gap: 2px; }
  .nav__link { padding: 7px 6px; gap: 5px; font-size: 12px; }
  .nav__link :is(.lucide, [data-lucide]) { width: 15px; height: 15px; }
}

@media (min-width: 901px) {
  .topbar__inner { flex-wrap: nowrap; gap: 12px; min-height: 66px; padding-block: 8px; }
  .nav { flex: 0 1 auto; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 2px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav__link { flex: 0 0 auto; }
  .theme-toggle { margin-left: auto; }
  .account-entry { flex: 0 0 auto; margin-left: 0; }
}

/* Restore readable navigation, keeping account controls separate. */
@media (min-width: 901px) {
  .topbar__inner { flex-wrap: wrap; gap: 12px 20px; padding-block: 12px; }
  .brand { order: 0; }
  .nav { order: 5; flex: 1 0 100%; flex-wrap: wrap; overflow: visible; gap: 6px; }
  .nav__link { padding: 9px 13px; gap: 8px; font-size: 14px; }
  .nav__link :is(.lucide, [data-lucide]) { width: 18px; height: 18px; }
  .theme-toggle { order: 3; margin-left: auto; }
  .account-entry { order: 4; }
}

.topbar > .wrap { width: calc(100% - 40px); max-width: none; }
@media (max-width: 600px) { .topbar > .wrap { width: calc(100% - 24px); } }

@media (min-width: 901px) {
  .topbar__inner { display: flex; flex-wrap: nowrap; gap: 18px; min-height: 76px; }
  .brand { order: 0; flex: 0 0 auto; }
  .nav { order: 1; flex: 0 1 auto; flex-wrap: wrap; gap: 6px; overflow: visible; }
  .theme-toggle { order: 2; margin-left: auto; flex: 0 0 auto; }
  .account-entry { order: 3; flex: 0 0 auto; }
}

.material-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.material-card { border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--paper); }
.material-card > img { width:100%; height:180px; object-fit:cover; }
.material-placeholder { height:150px; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand); }
.material-card__body { padding:20px; display:grid; gap:12px; }
.material-card__body h3, .material-card__body p { margin:0; overflow-wrap:anywhere; }
.material-card__body p { color:var(--muted); white-space:pre-line; }
.material-card__body small { color:var(--muted); }
@media(max-width:900px){.material-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.material-grid{grid-template-columns:1fr;}}

.material-card > a > img { display:block; width:100%; height:180px; object-fit:cover; }
.material-detail-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:24px; align-items:start; margin-top:24px; }
.material-cover { width:100%; max-height:460px; object-fit:contain; border-radius:8px; background:var(--raised); }
.material-description { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.8; }
.material-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.material-gallery img { width:100%; height:200px; object-fit:cover; border-radius:8px; }
@media(max-width:750px){.material-detail-layout{grid-template-columns:1fr;}.material-gallery{grid-template-columns:1fr;}}

.material-detail-layout > aside { position:sticky; top:130px; }
.material-bottom-download { justify-self:start; margin-top:12px; min-width:160px; }
@media(max-width:750px){.material-detail-layout > aside { position:static; }}

.skin-catalog .material-card > a > img { height:320px; object-fit:contain; padding:18px; background:var(--raised); image-rendering:pixelated; }
.skin-detail .material-cover { height:360px; object-fit:contain; image-rendering:pixelated; }
.skin-detail .material-gallery img { height:300px; object-fit:contain; image-rendering:pixelated; }
.skin-viewer { text-align:center; background:var(--raised); border-radius:12px; padding:20px; overflow:hidden; }
.skin-viewer canvas { display:block; max-width:100%; margin:auto; touch-action:none; }
.skin-viewer .analytics-controls { justify-content:center; }

.cabinet-shortcut { order:2; margin-left:auto; display:inline-flex; align-items:center; gap:7px; padding:8px 10px; color:var(--muted); font-size:13px; flex:0 0 auto; border-radius:6px; }
.cabinet-shortcut:hover, .cabinet-shortcut.is-active { color:var(--brand); background:var(--brand-soft); }
.cabinet-shortcut + .theme-toggle { order:3; margin-left:0; }
.account-entry { order:4; }
@media(max-width:600px){.cabinet-shortcut{padding:6px;}.cabinet-shortcut span{font-size:12px;}}

.add-server-banner { display:grid; gap:10px; margin:0 16px 16px; padding:20px 16px; border:1px solid var(--brand); border-radius:8px; background:var(--brand-soft); }
.add-server-banner__icon { display:flex; align-items:center; gap:8px; color:var(--brand); }
.add-server-banner__icon :is(.lucide, [data-lucide]):first-child { width:28px; height:28px; }
.add-server-banner strong { font-size:16px; color:var(--ink); }
.add-server-banner > span:not([class]) { font-size:12px; line-height:1.6; color:var(--muted); }
.add-server-banner__action { display:flex; align-items:center; gap:6px; font-size:12px; font-weight:600; color:var(--brand); }
.add-server-banner:hover { border-color:var(--brand-strong); }

.add-server-banner { background:var(--paper); border-color:var(--line); transition:background .18s, border-color .18s; }
.add-server-banner__icon, .add-server-banner__action { color:var(--muted); transition:color .18s; }
.add-server-banner:hover, .add-server-banner:focus-visible { background:var(--brand-soft); border-color:var(--brand); }
.add-server-banner:hover .add-server-banner__icon, .add-server-banner:hover .add-server-banner__action,
.add-server-banner:focus-visible .add-server-banner__icon, .add-server-banner:focus-visible .add-server-banner__action { color:var(--brand); }

/* Subtle violet hover for navigation and category choices. */
:root { --choice-hover-bg: rgba(153, 125, 190, .12); --choice-hover-border: #655771; --choice-hover-ink: #c3afd9; }
:root[data-theme="light"] { --choice-hover-bg: rgba(131, 96, 163, .1); --choice-hover-border: #b5a4c5; --choice-hover-ink: #715187; }
.nav__link:hover, .cabinet-shortcut:hover, .mod-category:hover, .quick-tags button:hover {
  background:var(--choice-hover-bg);
  color:var(--choice-hover-ink);
  border-color:var(--choice-hover-border);
}
.mod-category:hover :is(.lucide, [data-lucide]) { color:var(--choice-hover-ink); }
.home-category:hover { background:var(--choice-hover-bg); border-color:var(--choice-hover-border); }
.home-category:hover .home-category__icon { background:var(--choice-hover-bg); color:var(--choice-hover-ink); }

.site-online-demo { order:2; margin-left:auto; display:inline-flex; align-items:center; gap:7px; color:var(--muted); font-size:11px; white-space:nowrap; }
.site-online-demo :is(.lucide, [data-lucide]) { width:15px; height:15px; }
.site-online-demo strong { color:var(--ink); font-variant-numeric:tabular-nums; }
.site-online-demo small { margin-left:5px; opacity:.65; font-size:9px; }
.site-online-demo + .cabinet-shortcut { margin-left:0; }
@media(max-width:700px){.site-online-demo{display:none;}}

.material-grid .material-card { transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.material-grid .material-card > a { display:block; position:relative; overflow:hidden; }
.material-grid .material-card > a::after { content:''; position:absolute; inset:0; background:rgba(0,0,0,.17); opacity:0; transition:opacity .28s ease; pointer-events:none; }
.material-grid .material-card > a > img, .material-grid .material-placeholder { transition:transform .4s ease; }
.material-grid .material-card:hover, .material-grid .material-card:focus-within { transform:translateY(-4px); box-shadow:0 12px 28px rgba(0,0,0,.22); border-color:var(--choice-hover-border); }
.material-grid .material-card:hover > a > img, .material-grid .material-card:focus-within > a > img,
.material-grid .material-card:hover .material-placeholder { transform:scale(1.06); }
.material-grid .material-card:hover > a::after, .material-grid .material-card:focus-within > a::after { opacity:1; }
@media(prefers-reduced-motion:reduce){.material-grid .material-card, .material-grid .material-card > a > img, .material-grid .material-placeholder, .material-grid .material-card > a::after { transition:none; }.material-grid .material-card:hover, .material-grid .material-card:focus-within, .material-grid .material-card:hover > a > img, .material-grid .material-card:focus-within > a > img { transform:none; }}

/* Contemporary server ranking with restrained motion. */
.server-list { gap:16px; }
.server-card { padding:24px 22px; border-radius:14px; border-color:var(--line); background:rgba(25,28,27,.94); box-shadow:0 3px 12px rgba(0,0,0,.06); transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; }
.server-card.is-featured { border-color:#52634f; }
.server-card:hover, .server-card:focus-within { transform:translateY(-3px); border-color:var(--choice-hover-border); background:#202421; box-shadow:0 10px 26px rgba(0,0,0,.19); }
.server-card .server-avatar { border-radius:12px; transition:transform .3s ease, box-shadow .3s ease; }
.server-card:hover .server-avatar, .server-card:focus-within .server-avatar { transform:scale(1.05); box-shadow:0 4px 14px rgba(0,0,0,.16); }
.server-rank strong { background:transparent; border:1px solid var(--line); border-radius:9px; color:var(--muted); }
.is-featured .server-rank strong { background:rgba(233,199,131,.08); color:var(--gold); border-color:rgba(233,199,131,.22); }
.server-title h3 { font-size:19px; letter-spacing:-.25px; }
.server-title h3 a { transition:color .2s; }
.server-title h3 a:hover { color:var(--choice-hover-ink); }
.server-tags span { padding:4px 8px; border-radius:6px; background:rgba(255,255,255,.025); }
.server-card .ip-box { border-radius:9px; }
.server-card .review-link { border-radius:8px; transition:background .2s, color .2s; }
.server-card .review-link:hover { background:var(--choice-hover-bg); color:var(--choice-hover-ink); }
html[data-theme="light"] .server-card { background:rgba(255,255,255,.95); box-shadow:0 3px 12px rgba(34,50,28,.04); }
html[data-theme="light"] .server-card:hover, html[data-theme="light"] .server-card:focus-within { background:#fff; border-color:var(--choice-hover-border); box-shadow:0 10px 26px rgba(34,50,28,.1); }
@media(max-width:600px){.server-card{padding:18px 16px;border-radius:12px;}.server-title h3{font-size:17px;}}
@media(prefers-reduced-motion:reduce){.server-card,.server-card .server-avatar{transition:none;}.server-card:hover,.server-card:focus-within,.server-card:hover .server-avatar,.server-card:focus-within .server-avatar{transform:none;}}

.floating-themes { position:fixed; left:12px; width:160px; z-index:15; max-height:calc(100vh - 150px); overflow-y:auto; padding:14px 10px; border:1px solid var(--line); border-radius:12px; background:rgba(25,28,27,.97); box-shadow:0 8px 28px rgba(0,0,0,.15); }
.floating-themes > strong { display:block; padding:0 8px 10px; color:var(--ink); font-size:13px; }
.floating-theme { display:block; text-align:left; width:100%; padding:8px; border:0; border-radius:6px; color:var(--muted); background:transparent; font-size:12px; }
.floating-theme.is-active { background:var(--brand-soft); color:var(--brand); }
.floating-theme:hover { background:var(--choice-hover-bg); color:var(--choice-hover-ink); }
html[data-theme="light"] .floating-themes { background:rgba(255,255,255,.97); }
@media(min-width:1500px){}
@media(max-width:1499px) and (min-width:1001px){}
@media(max-width:1000px){.floating-themes { display:none; }}

.floating-themes { top:50%; transform:translateY(-50%); width:180px; padding:18px 12px; max-height:calc(100vh - 200px); border-radius:16px; }
.floating-themes > strong { font-size:14px; font-weight:650; letter-spacing:.2px; padding-bottom:12px; }
.floating-theme { display:flex; align-items:center; gap:10px; padding:9px 10px; font-family:'Segoe UI',Arial,sans-serif; font-size:13px; font-weight:500; line-height:1.4; letter-spacing:.1px; }
.floating-theme :is(.lucide, [data-lucide]) { width:17px; height:17px; flex:0 0 auto; opacity:.85; }
@media(max-width:1499px) and (min-width:1001px){}

.floating-themes { left:clamp(28px, 4vw, 76px); }
@media(min-width:1500px){}
@media(max-width:1499px) and (min-width:1001px){}

.floating-themes { left:auto; right:clamp(28px, 4vw, 76px); }
@media(min-width:1001px){}

.floating-themes { opacity:0; visibility:hidden; pointer-events:none; filter:blur(7px); transform:translateY(-50%) translateX(12px); transition:opacity .35s ease, filter .35s ease, transform .35s ease, visibility .35s; }
.floating-themes.is-visible { opacity:1; visibility:visible; pointer-events:auto; filter:blur(0); transform:translateY(-50%) translateX(0); }
@media(prefers-reduced-motion:reduce){.floating-themes{transition:none;}}

.floating-themes-close { position:absolute; top:10px; right:10px; display:grid; place-items:center; width:24px; height:24px; padding:5px; border:1px solid var(--line); border-radius:2px; background:var(--raised); color:var(--muted); box-shadow:inset 1px 1px rgba(255,255,255,.08), inset -1px -1px rgba(0,0,0,.2); }
.floating-themes-close svg { width:14px; height:14px; shape-rendering:crispEdges; }
.floating-themes-close:hover { background:var(--choice-hover-bg); color:var(--choice-hover-ink); }
.floating-themes > strong { padding-right:24px; }

.floating-themes-close { top:6px; right:6px; border:0; background:transparent; box-shadow:none; }
.floating-themes-close:hover { background:transparent; color:var(--choice-hover-ink); }

.visitor-floating { position:fixed; left:clamp(20px,3vw,60px); top:50%; width:218px; padding:22px 14px 16px; border:1px solid var(--line); border-radius:16px; background:rgba(25,28,27,.94); backdrop-filter:blur(12px); box-shadow:0 12px 32px rgba(0,0,0,.16); z-index:14; opacity:0; visibility:hidden; pointer-events:none; filter:blur(7px); transform:translateY(-50%) translateX(-12px); transition:opacity .35s,filter .35s,transform .35s,visibility .35s; }
.visitor-floating.is-visible { opacity:1; visibility:visible; pointer-events:auto; filter:blur(0); transform:translateY(-50%); }
.visitor-floating > strong { display:block; font-size:14px; letter-spacing:.2px; padding:0 10px 12px; }
.visitor-floating > a { display:flex; align-items:center; gap:10px; padding:11px 10px; border-radius:8px; color:var(--muted); font-size:13px; font-weight:500; line-height:1.4; transition:background .2s,color .2s; }
.visitor-floating > a:hover { background:var(--choice-hover-bg); color:var(--choice-hover-ink); }
.visitor-floating > a :is(.lucide, [data-lucide]) { width:17px; height:17px; }
.visitor-floating-close { position:absolute; top:6px; right:6px; display:grid; place-items:center; width:24px; height:24px; border:0; background:transparent; color:var(--muted); padding:5px; }
.visitor-floating-close svg { width:14px; height:14px; shape-rendering:crispEdges; }
.visitor-floating-close:hover { color:var(--choice-hover-ink); }
html[data-theme="light"] .visitor-floating { background:rgba(255,255,255,.94); }
@media(max-width:1000px){.visitor-floating{display:none;}}
@media(prefers-reduced-motion:reduce){.visitor-floating{transition:none;}}

.visitor-floating { isolation:isolate; overflow:hidden; }
.visitor-floating::before { content:''; position:absolute; inset:-10px; z-index:-1; background:url('/assets/visitor-panel-background.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover no-repeat; filter:blur(5px); opacity:.16; pointer-events:none; }
html[data-theme="light"] .visitor-floating::before { opacity:.09; }

.floating-themes.textures-themes { isolation:isolate; }
.textures-themes::before { content:""; position:absolute; inset:0; z-index:-1; border-radius:16px; background:url("/assets/textures-panel-background.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4") center / cover; filter:blur(4px); opacity:.15; pointer-events:none; }
html[data-theme="light"] .textures-themes::before { opacity:.09; }

.server-card { position:relative; isolation:isolate; }
.rank-gold { position:absolute; inset:0; z-index:-1; overflow:hidden; border-radius:inherit; pointer-events:none; }
.rank-gold span { position:absolute; width:65px; height:65px; background:url('/assets/gold-ingot-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / contain no-repeat; opacity:.13; filter:blur(1.5px); }
.rank-gold span:nth-child(1) { left:39%; top:6px; transform:rotate(-15deg); }
.rank-gold span:nth-child(2) { left:63%; bottom:8px; width:80px; height:80px; transform:rotate(18deg); opacity:.1; }
.rank-gold span:nth-child(3) { right:23%; top:2px; width:45px; height:45px; transform:rotate(-6deg); }
.rank-gold b { position:absolute; width:8px; height:8px; background:#fff0a4; clip-path:polygon(40% 0,60% 0,60% 40%,100% 40%,100% 60%,60% 60%,60% 100%,40% 100%,40% 60%,0 60%,0 40%,40% 40%); opacity:0; filter:blur(.5px); animation:gold-glint 8s infinite; }
.rank-gold b:nth-of-type(1) { left:43%; top:28px; }
.rank-gold b:nth-of-type(2) { left:68%; bottom:40px; animation-delay:3s; }
@keyframes gold-glint { 0%,65%,100% { opacity:0; transform:scale(.6); } 75% { opacity:.4; transform:scale(1); } 85% { opacity:0; transform:scale(.7); } }
html[data-theme="light"] .rank-gold span { opacity:.17; }
@media(prefers-reduced-motion:reduce){.rank-gold b{animation:none;}}

.rank-diamond span { background-image:url("/assets/diamond-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4"); }
.rank-diamond b { background:#bcfff7; }

.rank-iron span { background-image:url("/assets/iron-ingot-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4"); }
.rank-iron b { background:#e6edf5; }

.rank-tnt span { background-image:url("/assets/tnt-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4"); opacity:.1; }
.rank-tnt b { background:#ffc2a3; }

.rank-crafting span { background-image:url("/assets/crafting-table-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4"); opacity:.12; }
.rank-crafting b { background:#e6c49d; }

.rank-tools span:nth-child(1) { background-image:url('/assets/enchanted-sword-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4'); opacity:.1; }
.rank-tools span:nth-child(2) { background-image:url('/assets/iron-pickaxe-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4'); opacity:.09; }
.rank-tools span:nth-child(3) { background-image:url('/assets/diamond-axe-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4'); opacity:.1; }
.rank-tools b { background:#d7c5ed; }

.ranking-trophy { position:absolute; left:14px; bottom:12px; width:34px; height:42px; object-fit:contain; image-rendering:pixelated; pointer-events:none; opacity:.85; }
.trophy--1 { filter:drop-shadow(0 0 4px rgba(255,215,80,.15)); }
.trophy--2 { filter:grayscale(1) brightness(1.25) drop-shadow(0 0 4px rgba(215,225,240,.12)); }
.trophy--3 { filter:sepia(.7) saturate(.8) hue-rotate(-18deg) brightness(.75); }
.server-card:has(.ranking-trophy) .server-rank { padding-bottom:45px; }
@media(max-width:600px){.ranking-trophy{left:16px;bottom:16px;width:26px;height:32px;}.server-card:has(.ranking-trophy){padding-bottom:52px;}}

.favorite-server { min-height:32px; font-size:11px; border-radius:8px; margin-bottom:8px; }
.favorite-server.is-saved { color:var(--choice-hover-ink); background:var(--choice-hover-bg); }
.favorite-server.is-saved :is(.lucide, [data-lucide]) { fill:currentColor; }
.favorites-panel { margin-bottom:24px; }
.saved-server { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 0; border-bottom:1px solid var(--line); }
.saved-server h3 { margin:0 0 5px; }
.saved-server p { margin:0 0 5px; color:var(--muted); }
.saved-server small { color:var(--muted); }
.saved-server-actions { display:flex; gap:8px; }
@media(max-width:600px){.saved-server{align-items:start;flex-direction:column;}}

.saved-server-avatar { flex:0 0 56px; }
.saved-server-info { flex:1; min-width:0; }
.saved-server-info p { overflow-wrap:anywhere; }
@media(max-width:600px){.saved-server{display:grid;grid-template-columns:56px minmax(0,1fr);}.saved-server-actions{grid-column:1 / -1;}}

.material-favorite.is-saved { color:var(--choice-hover-ink); background:var(--choice-hover-bg); }
.material-favorite.is-saved :is(.lucide, [data-lucide]) { fill:currentColor; }
#favorites-materials-panel { padding-top:18px; }
#favorites-materials-panel .field { max-width:280px; margin-bottom:18px; }


.home-category[href="/admin"] { position:relative; isolation:isolate; overflow:hidden; }
.home-category[href="/admin"]::before { content:''; position:absolute; inset:-6px; z-index:-2; background:url('/assets/cabinet-interior.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover no-repeat; filter:blur(2px); }
.home-category[href="/admin"]::after { content:''; position:absolute; inset:0; z-index:-1; background:rgba(16,24,20,.78); }
html[data-theme="light"] .home-category[href="/admin"]::after { background:rgba(247,250,240,.83); }

.home-category[href="/ads"] { position:relative; isolation:isolate; overflow:hidden; }
.home-category[href="/ads"]::before { content:''; position:absolute; inset:-6px; z-index:-2; background:url('/assets/home-ads-background.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover no-repeat; filter:blur(2px); }
.home-category[href="/ads"]::after { content:''; position:absolute; inset:0; z-index:-1; background:rgba(16,24,20,.78); }
html[data-theme="light"] .home-category[href="/ads"]::after { background:rgba(247,250,240,.83); }

.home-category:is([href="/textures"],[href="/textures.html"]) { position:relative; isolation:isolate; overflow:hidden; }
.home-category:is([href="/textures"],[href="/textures.html"])::before { content:''; position:absolute; inset:-6px; z-index:-2; background:url('/assets/home-textures-background.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover no-repeat; filter:blur(2px); }
.home-category:is([href="/textures"],[href="/textures.html"])::after { content:''; position:absolute; inset:0; z-index:-1; background:rgba(16,24,20,.78); }
html[data-theme="light"] .home-category:is([href="/textures"],[href="/textures.html"])::after { background:rgba(247,250,240,.83); }

.home-category:is([href="/shaders"],[href="/shaders.html"]) { position:relative; isolation:isolate; overflow:hidden; }
.home-category:is([href="/shaders"],[href="/shaders.html"])::before { content:''; position:absolute; inset:-6px; z-index:-2; background:url('/assets/home-shaders-background.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover no-repeat; filter:blur(2px); }
.home-category:is([href="/shaders"],[href="/shaders.html"])::after { content:''; position:absolute; inset:0; z-index:-1; background:rgba(16,24,20,.78); }
html[data-theme="light"] .home-category:is([href="/shaders"],[href="/shaders.html"])::after { background:rgba(247,250,240,.83); }

.home-category:is([href="/skins"],[href="/skins.html"]) { position:relative; isolation:isolate; overflow:hidden; }
.home-category:is([href="/skins"],[href="/skins.html"])::before { content:''; position:absolute; inset:-6px; z-index:-2; background:url('/assets/home-skins-background.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover no-repeat; filter:blur(2px); }
.home-category:is([href="/skins"],[href="/skins.html"])::after { content:''; position:absolute; inset:0; z-index:-1; background:rgba(16,24,20,.78); }
html[data-theme="light"] .home-category:is([href="/skins"],[href="/skins.html"])::after { background:rgba(247,250,240,.83); }

.home-category:is([href="/maps"],[href="/maps.html"]) { position:relative; isolation:isolate; overflow:hidden; }
.home-category:is([href="/maps"],[href="/maps.html"])::before { content:''; position:absolute; inset:-6px; z-index:-2; background:url('/assets/home-maps-background.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover no-repeat; filter:blur(2px); }
.home-category:is([href="/maps"],[href="/maps.html"])::after { content:''; position:absolute; inset:0; z-index:-1; background:rgba(16,24,20,.78); }
html[data-theme="light"] .home-category:is([href="/maps"],[href="/maps.html"])::after { background:rgba(247,250,240,.83); }

.home-category:is([href="/modpacks"],[href="/modpacks.html"]) { position:relative; isolation:isolate; overflow:hidden; }
.home-category:is([href="/modpacks"],[href="/modpacks.html"])::before { content:''; position:absolute; inset:-6px; z-index:-2; background:url('/assets/home-modpacks-background.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover no-repeat; filter:blur(2px); }
.home-category:is([href="/modpacks"],[href="/modpacks.html"])::after { content:''; position:absolute; inset:0; z-index:-1; background:rgba(16,24,20,.78); }
html[data-theme="light"] .home-category:is([href="/modpacks"],[href="/modpacks.html"])::after { background:rgba(247,250,240,.83); }

.home-category:is([href="/mods"],[href="/mods.html"]) { position:relative; isolation:isolate; overflow:hidden; }
.home-category:is([href="/mods"],[href="/mods.html"])::before { content:''; position:absolute; inset:-6px; z-index:-2; background:url('/assets/home-mods-background.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover no-repeat; filter:blur(2px); }
.home-category:is([href="/mods"],[href="/mods.html"])::after { content:''; position:absolute; inset:0; z-index:-1; background:rgba(16,24,20,.78); }
html[data-theme="light"] .home-category:is([href="/mods"],[href="/mods.html"])::after { background:rgba(247,250,240,.83); }

.home-category:is([href="/servers"],[href="/servers.html"]) { position:relative; isolation:isolate; overflow:hidden; }
.home-category:is([href="/servers"],[href="/servers.html"])::before { content:''; position:absolute; inset:-6px; z-index:-2; background:url('/assets/home-servers-background.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover no-repeat; filter:blur(2px); }
.home-category:is([href="/servers"],[href="/servers.html"])::after { content:''; position:absolute; inset:0; z-index:-1; background:rgba(16,24,20,.78); }
html[data-theme="light"] .home-category:is([href="/servers"],[href="/servers.html"])::after { background:rgba(247,250,240,.83); }

.admin-sidebar { position:fixed; left:20px; top:120px; width:185px; max-height:calc(100vh - 145px); overflow-y:auto; padding:18px 12px; border:1px solid var(--line); border-radius:14px; background:rgba(25,28,27,.96); z-index:13; }
.admin-sidebar > strong { display:block; padding:0 8px 12px; font-size:13px; }
.admin-sidebar nav { display:grid; gap:4px; }
.admin-sidebar a { display:flex; align-items:center; gap:9px; padding:9px 8px; border-radius:7px; color:var(--muted); font-size:12px; }
.admin-sidebar a :is(.lucide, [data-lucide]) { width:16px; height:16px; }
.admin-sidebar a.is-active { color:var(--brand); background:var(--brand-soft); }
.admin-sidebar a:hover { color:var(--choice-hover-ink); background:var(--choice-hover-bg); }
html[data-theme="light"] .admin-sidebar { background:rgba(255,255,255,.96); }
.admin-with-sidebar { width:calc(100% - 260px); margin-left:230px; max-width:1280px; }
.admin-with-sidebar [id^="admin-"], #materials-management { scroll-margin-top:140px; }
@media(max-width:1000px){.admin-with-sidebar{width:calc(100% - 32px);margin-inline:auto;}.admin-sidebar{position:sticky;top:90px;width:100%;max-height:none;margin-bottom:24px;}.admin-sidebar nav{display:flex;flex-wrap:wrap;}.admin-sidebar > strong{padding-bottom:8px;}}

.home-category:is([href="/commands"],[href="/commands.html"]) { position:relative; isolation:isolate; overflow:hidden; }
.home-category:is([href="/commands"],[href="/commands.html"])::before { content:''; position:absolute; inset:-6px; z-index:-2; background:url('/assets/home-commands-background.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover no-repeat; filter:blur(2px); }
.home-category:is([href="/commands"],[href="/commands.html"])::after { content:''; position:absolute; inset:0; z-index:-1; background:rgba(16,24,20,.78); }
html[data-theme="light"] .home-category:is([href="/commands"],[href="/commands.html"])::after { background:rgba(247,250,240,.83); }

.site-search-link { display:grid; place-items:center; padding:8px; color:var(--muted); order:2; border-radius:6px; flex:0 0 auto; }
.site-search-link:hover { background:var(--choice-hover-bg); color:var(--choice-hover-ink); }
.site-search-form { display:flex; gap:14px; align-items:end; margin-bottom:24px; }
.site-search-form .field:first-child { flex:1; }
.site-search-form .field:nth-child(2) { width:210px; }
@media(max-width:650px){.site-search-form{flex-direction:column;align-items:stretch;}.site-search-form .field:nth-child(2){width:100%;}}

.search-server-card > a:first-child { display:grid; place-items:center; height:180px; background:linear-gradient(135deg,var(--raised),var(--paper)); }
.search-server-card > a:first-child > img { width:76px; height:76px; object-fit:contain; padding:0; image-rendering:pixelated; border-radius:12px; box-shadow:0 6px 18px rgba(0,0,0,.12); }

.skin-editor-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; margin-bottom:40px; }
.editor-tools { display:flex; flex-wrap:wrap; align-items:end; gap:12px; }
.editor-tools .field { flex:1; }
.editor-tools input[type="color"] { min-height:40px; padding:3px; }
.editor-texture { position:relative; width:100%; max-width:512px; aspect-ratio:1; margin:12px auto; background:repeating-conic-gradient(#626862 0% 25%,#464c46 0% 50%) 0 / 16px 16px; }
#skin-paint { display:block; width:100%; height:100%; image-rendering:pixelated; touch-action:none; cursor:crosshair; }
#skin-grid { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.editor-preview { align-content:start; position:sticky; top:120px; text-align:center; }
#editor-view { display:block; max-width:100%; margin:auto; touch-action:none; }
@media(max-width:850px){.skin-editor-layout{grid-template-columns:1fr;}.editor-preview{position:static;}}

.skin-studio { padding:30px 0 48px; }
.studio-heading h1 { font-size:30px; margin-bottom:8px; }.studio-heading p { color:var(--muted); }
.studio-stage { position:relative; display:grid; grid-template-columns:190px minmax(0,1fr) 145px; gap:16px; min-height:660px; border-radius:16px; overflow:hidden; padding:18px; background:linear-gradient(rgba(5,14,9,.15),rgba(5,14,9,.25)),url('/assets/minecraft-light-background.webp?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center/cover; }
.studio-stage[data-background="dark"] { background:#19221c; }.studio-stage[data-background="light"] { background:#e8eee4; }
.studio-settings,.studio-palette { z-index:1; align-self:start; display:grid; gap:14px; background:rgba(13,23,17,.82); color:#eef5ec; backdrop-filter:blur(10px); padding:16px; border-radius:12px; }
.studio-settings h2 { font-size:17px; }.studio-settings label { font-size:12px; }.studio-settings .field label,.studio-palette .field label { color:#d0dad0; }.studio-settings .ghost-button { font-size:12px; }
.studio-view { background:transparent; position:relative; top:auto; padding:0; min-width:0; height:620px; }
.studio-view canvas { width:100%;height:100%; }.studio-hint { position:absolute; bottom:8px; left:0; right:0; font-size:12px; color:#fff; text-shadow:0 1px 4px #000; pointer-events:none; }
.studio-palette input[type="color"] { width:100%; height:40px; border:0; background:transparent; }
.studio-colors { display:grid;grid-template-columns:repeat(2,1fr);gap:10px; }.studio-colors button { width:30px;height:30px;border:2px solid rgba(255,255,255,.35);border-radius:50%;justify-self:center; }
.studio-flat { margin-top:20px; padding:18px; background:var(--paper);border:1px solid var(--line);border-radius:12px; }.studio-flat summary { cursor:pointer; }
.studio-stage:fullscreen { border-radius:0;width:100vw;height:100vh; }.studio-stage:fullscreen .studio-view { height:calc(100vh - 36px); }
@media(max-width:800px){.studio-stage{grid-template-columns:145px minmax(0,1fr) 100px;gap:8px;padding:10px;}.studio-settings,.studio-palette{padding:10px;}.studio-view{height:540px;}}
@media(max-width:600px){.studio-stage{grid-template-columns:1fr 1fr;}.studio-view{grid-column:1/-1;grid-row:1;height:440px;}.studio-settings,.studio-palette{grid-row:2;}.studio-colors{grid-template-columns:repeat(4,1fr);}}

.studio-stage { background-image:linear-gradient(rgba(5,14,9,.14),rgba(5,14,9,.25)),url("/assets/skin-editor-background.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4"); }
#studio-overview[aria-pressed="true"] { color:var(--brand); border-color:var(--brand); }

.studio-stage { background-image:linear-gradient(rgba(5,14,9,.14),rgba(5,14,9,.25)),url('/assets/skin-editor-background-hd.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4'); }

.services-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr));gap:22px; }
.service-card .home-category__icon { margin-bottom:0; }
.service-prices { margin:0; display:grid;gap:12px; }
.service-prices > div { display:flex;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid var(--line); }
.service-prices dt { color:var(--muted); }
.service-prices dd { margin:0;color:var(--brand);font-size:19px;font-weight:650; }
@media(max-width:650px){.services-grid{grid-template-columns:1fr;}}

.service-card:has([data-order-service="modpack"]) { position:relative; isolation:isolate; overflow:hidden; }
.service-card:has([data-order-service="modpack"])::before { content:''; position:absolute; inset:-6px; z-index:-2; background:url('/assets/service-modpack-background.webp?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover; filter:blur(2px); }
.service-card:has([data-order-service="modpack"])::after { content:''; position:absolute; inset:0; z-index:-1; background:rgba(16,24,20,.82); }
html[data-theme="light"] .service-card:has([data-order-service="modpack"])::after { background:rgba(247,250,240,.87); }

.service-card:has([data-order-service="skin"]) { position:relative; isolation:isolate; overflow:hidden; }
.service-card:has([data-order-service="skin"])::before { content:''; position:absolute; inset:-6px; z-index:-2; background:url('/assets/service-skin-background.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover; filter:blur(2px); }
.service-card:has([data-order-service="skin"])::after { content:''; position:absolute; inset:0; z-index:-1; background:rgba(16,24,20,.82); }
html[data-theme="light"] .service-card:has([data-order-service="skin"])::after { background:rgba(247,250,240,.87); }

.service-card:has([data-order-service="build"]) { position:relative; isolation:isolate; overflow:hidden; }
.service-card:has([data-order-service="build"])::before { content:''; position:absolute; inset:-6px; z-index:-2; background:url('/assets/service-build-background.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover; filter:blur(2px); }
.service-card:has([data-order-service="build"])::after { content:''; position:absolute; inset:0; z-index:-1; background:rgba(16,24,20,.82); }
html[data-theme="light"] .service-card:has([data-order-service="build"])::after { background:rgba(247,250,240,.87); }

.service-card:has([data-order-service="design"]) { position:relative; isolation:isolate; overflow:hidden; }
.service-card:has([data-order-service="design"])::before { content:''; position:absolute; inset:-6px; z-index:-2; background:url('/assets/service-design-background.webp?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover; filter:blur(2px); }
.service-card:has([data-order-service="design"])::after { content:''; position:absolute; inset:0; z-index:-1; background:rgba(16,24,20,.82); }
html[data-theme="light"] .service-card:has([data-order-service="design"])::after { background:rgba(247,250,240,.87); }

.home-category:is([href="/services"],[href="/services.html"]) { position:relative; isolation:isolate; overflow:hidden; }
.home-category:is([href="/services"],[href="/services.html"])::before { content:''; position:absolute; inset:-6px; z-index:-2; background:url('/assets/home-services-background.webp?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover no-repeat; filter:blur(2px); }
.home-category:is([href="/services"],[href="/services.html"])::after { content:''; position:absolute; inset:0; z-index:-1; background:rgba(16,24,20,.78); }
html[data-theme="light"] .home-category:is([href="/services"],[href="/services.html"])::after { background:rgba(247,250,240,.83); }

#activity-trend { margin:16px 0; padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--paper); }
#activity-trend svg { display:block; width:100%; height:auto; }

.boost-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:24px; }
.boost-summary { display:grid;grid-template-columns:1fr auto;gap:10px;border-block:1px solid var(--line);padding:18px 0; }.boost-summary span{color:var(--muted);}.boost-summary strong{color:var(--brand);font-size:20px;}
.boost-preview-row { display:flex;align-items:center;gap:12px;padding:14px 10px;border-bottom:1px solid var(--line); }.boost-preview-row > strong{width:24px;color:var(--muted);}.boost-preview-row img{width:40px;height:40px;border-radius:8px;image-rendering:pixelated;}.boost-preview-row div{flex:1;}.boost-preview-row small{display:block;color:var(--muted);}.boost-preview-row.is-selected{background:var(--brand-soft);border-radius:8px;}
.home-category:is([href="/boost"],[href="/boost.html"]) { background:linear-gradient(135deg,var(--paper),var(--brand-soft)); }
@media(max-width:750px){.boost-layout{grid-template-columns:1fr;}.boost-preview-row .badge{font-size:10px;}}

.boost-scroll-layout { display:flex; gap:12px; min-height:380px; }
#boost-preview { position:relative; flex:1; min-width:0; max-height:500px; overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--brand) var(--raised); }
.boost-position-control { display:flex; flex-direction:column; align-items:center; gap:10px; width:32px; font-size:11px; color:var(--muted); }
#boost-scroll { writing-mode:vertical-lr; direction:ltr; height:420px; width:20px; accent-color:var(--brand); }
.boost-preview-row{min-height:88px;}

.boost-server-avatar { width:40px; height:40px; flex:0 0 40px; border-radius:8px; }
.boost-preview-row .boost-server-avatar { flex:0 0 40px; }
.boost-preview-row .boost-server-avatar .server-icon { position:absolute; inset:0; width:40px; height:40px; }
.boost-preview-row[role="button"] { cursor:pointer; }
.boost-preview-row[role="button"]:hover { background:var(--choice-hover-bg); }

.boost-rating-jumps { display:flex; justify-content:center; flex-wrap:wrap; gap:10px; margin-top:16px; }
.boost-rating-jumps .is-active { background:var(--choice-hover-bg); color:var(--choice-hover-ink); border-color:var(--choice-hover-border); }

.boost-rating-jumps .ghost-button.is-active { background:var(--brand-soft); color:var(--brand); border-color:var(--brand); box-shadow:inset 0 0 0 1px var(--brand); }
.boost-preview-row.is-top-target { background:var(--choice-hover-bg); box-shadow:inset 3px 0 var(--choice-hover-ink); border-radius:8px; }
.boost-preview-row.is-top-target > strong { color:var(--choice-hover-ink); }

.ads-boost-panel { margin-top:24px; margin-bottom:32px; }
.ads-boost-panel__intro { display:flex;align-items:center;gap:18px; }
.ads-boost-panel__intro .home-category__icon { margin:0;flex:0 0 48px; }
.ads-boost-panel__action { display:flex;justify-content:space-between;align-items:center;gap:18px; }
.ads-boost-panel__action > strong { color:var(--brand);font-size:24px; }
.ads-boost-panel__action small { font-size:12px;color:var(--muted);font-weight:400; }
@media(max-width:600px){.ads-boost-panel__action{align-items:start;flex-direction:column;}}

.home-category:is([href="/boost"],[href="/boost.html"]) { position:relative; isolation:isolate; overflow:hidden; }
.home-category:is([href="/boost"],[href="/boost.html"])::before { content:''; position:absolute; inset:-6px; z-index:-2; background:url('/assets/home-boost-background.jpg?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / cover no-repeat; filter:blur(2px); }
.home-category:is([href="/boost"],[href="/boost.html"])::after { content:''; position:absolute; inset:0; z-index:-1; background:rgba(16,24,20,.78); }
html[data-theme="light"] .home-category:is([href="/boost"],[href="/boost.html"])::after { background:rgba(247,250,240,.83); }

.boost-explanation { position:relative; padding-right:180px; min-height:175px; overflow:hidden; }
.boost-explanation-coin { position:absolute; right:32px; top:50%; transform:translateY(-50%) rotate(-8deg); width:110px; height:110px; object-fit:contain; image-rendering:pixelated; opacity:.8; filter:drop-shadow(0 0 14px rgba(222,179,54,.2)); pointer-events:none; }
@media(max-width:600px){.boost-explanation{padding-right:100px;}.boost-explanation-coin{width:65px;height:65px;right:15px;opacity:.55;}}

.my-servers-heading { display:flex;justify-content:space-between;align-items:center;gap:16px; }
.my-servers-heading h2 { margin:0; }
.my-server-summary { display:none; }
@media(max-width:600px){.my-servers-heading{align-items:start;flex-direction:column;}}

.server-mode-picker { margin:0;border:1px solid var(--line);border-radius:10px;padding:14px; }
.server-mode-picker legend { color:var(--muted);font-size:12px;padding:0 6px; }
.server-mode-options { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:280px;overflow:auto; }
.server-mode-options label { display:flex;gap:7px;align-items:center;font-size:12px;color:var(--ink); }
.server-mode-options input { accent-color:var(--brand); }
.server-avatar-preview { width:80px;height:80px;object-fit:cover;border-radius:10px; }

.support-shortcut { order:2;display:grid;place-items:center;padding:8px;color:var(--muted);border-radius:6px; }
.support-shortcut:hover { background:var(--choice-hover-bg);color:var(--choice-hover-ink); }
.support-message { padding:12px;border-radius:8px;background:var(--raised);margin:8px 0; }
.support-message small { color:var(--muted); }
.support-message p { white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0; }

.support-shortcut { display:inline-flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap; }
.support-shortcut :is(.lucide, [data-lucide]) { width:16px;height:16px; }
@media(max-width:600px){.support-shortcut span{display:none;}}

.support-heading { display:flex;align-items:center;gap:10px; }
.support-heading :is(.lucide, [data-lucide]) { width:23px;height:23px;color:var(--muted); }

/* Softer daylight palette. */
:root[data-theme="light"] { --bg:#dce2d6; --paper:#e5e9df; --raised:#cfd8c8; --ink:#263123; --muted:#56614e; --line:#b5c0ac; --brand-soft:#ccdfc0; }
html[data-theme="light"] .topbar { background:rgba(221,227,214,.96); }
html[data-theme="light"] body::after { background:linear-gradient(180deg,rgba(220,227,212,.46),rgba(208,220,198,.62)); }
html[data-theme="light"] :is(.server-card,.filters,.catalog-empty,.account-auth .form-panel) { background:rgba(229,233,223,.95); }
html[data-theme="light"] :is(.footer,.owner-band) { background:rgba(215,224,207,.94); }
html[data-theme="light"] :is(.floating-themes,.visitor-floating,.admin-sidebar) { background:rgba(225,231,218,.96); }
html[data-theme="light"] :is(.field input,.field select,.field textarea,.ip-box) { background:#dce3d5; }
html[data-theme="light"] .server-card:hover, html[data-theme="light"] .server-card:focus-within { background:#e8eddf; }
html[data-theme="light"] .home-category::after { background:rgba(222,230,211,.78); }
html[data-theme="light"] .service-card::after { background:rgba(222,230,211,.82); }

/* Cabinet dashboard inspired by the supplied layout. */
body.account-dashboard { background:#151716; }
body.account-dashboard::before,body.account-dashboard::after { display:none; }
.account-dashboard .admin-hero { padding-bottom:22px; }
.account-dashboard .admin-hero h1 { font-size:26px; }
.account-dashboard .admin-hero .eyebrow { display:none; }
.cabinet-dashboard { display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;margin-bottom:60px; }
.cabinet-sidebar { position:sticky;top:105px;align-self:start; }
.cabinet-sidebar nav { display:grid;gap:5px; }
.cabinet-sidebar nav button { display:flex;align-items:center;gap:11px;padding:14px;border:0;border-radius:12px;background:transparent;color:var(--muted);text-align:left;font-size:13px;font-weight:600; }
.cabinet-sidebar nav button.is-active { background:#222624;color:var(--ink); }
.cabinet-sidebar nav button:hover { background:var(--choice-hover-bg);color:var(--choice-hover-ink); }
.cabinet-sidebar #logout { margin-top:24px; width:100%;background:transparent; }
.cabinet-content { min-width:0; }.cabinet-content .analytics-panel,.cabinet-content .favorites-panel { margin-top:0; }
.cabinet-overview-top { display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);gap:18px; }
.cabinet-profile,.cabinet-payment-card { background:#1d201e;border:1px solid var(--line);border-radius:20px;padding:28px; }
.cabinet-profile { display:flex;align-items:center;gap:22px; }
.cabinet-profile-avatar { width:78px;height:78px;flex:0 0 78px;display:grid;place-items:center;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-size:27px;font-weight:750; }
.cabinet-profile-title { display:flex;align-items:center;gap:10px;flex-wrap:wrap; }.cabinet-profile-title h2 { font-size:26px;margin:0; }
.cabinet-profile-info #profile-email { color:var(--muted);font-size:12px;margin:12px 0;overflow-wrap:anywhere; }
.cabinet-profile-links { display:flex;gap:10px;flex-wrap:wrap;margin-top:16px; }.cabinet-profile-links .ghost-button { font-size:12px; }
.cabinet-payment-card h3 { color:var(--muted);font-size:13px;margin-bottom:14px; }.cabinet-payment-card strong { font-size:23px; }.cabinet-payment-card strong small { font-size:11px;color:var(--muted);font-weight:400; }.cabinet-payment-card p { color:var(--muted);font-size:12px;line-height:1.7;margin:12px 0; }
.cabinet-overview-stats { display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px; }
.cabinet-overview-stats button { display:flex;align-items:center;gap:16px;text-align:left;padding:22px;border:1px solid var(--line);border-radius:18px;background:#1d201e;color:var(--ink); }.cabinet-overview-stats button>:is(.lucide, [data-lucide]) { width:36px;height:36px;padding:9px;border-radius:50%;background:var(--raised);color:var(--muted); }.cabinet-overview-stats strong { display:block;font-size:18px; }.cabinet-overview-stats small { color:var(--muted);font-size:12px; }
.account-dashboard .visitor-floating { display:none; }
html[data-theme="light"] body.account-dashboard { background:var(--bg); }
html[data-theme="light"] :is(.cabinet-profile,.cabinet-payment-card,.cabinet-overview-stats button,.cabinet-sidebar nav button.is-active) { background:var(--paper); }
@media(max-width:1150px){.cabinet-overview-top{grid-template-columns:1fr;}.cabinet-dashboard{grid-template-columns:190px minmax(0,1fr);gap:18px;}}
@media(max-width:750px){.cabinet-dashboard{grid-template-columns:1fr;}.cabinet-sidebar{position:static;}.cabinet-sidebar nav{display:flex;flex-wrap:wrap;}.cabinet-sidebar #logout{width:auto;margin-top:10px;}.cabinet-profile{padding:20px;gap:14px;}.cabinet-profile-avatar{width:60px;height:60px;flex-basis:60px;}.cabinet-overview-stats{gap:10px;}}

body.account-dashboard::before, body.account-dashboard::after { display:block; }
.account-dashboard .cabinet-profile,
.account-dashboard .cabinet-payment-card,
.account-dashboard .cabinet-overview-stats button { background:rgba(29,32,30,.94); }
.account-dashboard .cabinet-sidebar { padding:10px;border-radius:14px;background:rgba(21,23,22,.84);backdrop-filter:blur(8px); }
html[data-theme="light"] .account-dashboard .cabinet-sidebar { background:rgba(220,226,214,.88); }
html[data-theme="light"] :is(.cabinet-profile,.cabinet-payment-card,.cabinet-overview-stats button) { background:rgba(229,233,223,.94); }

.cabinet-profile-avatar.profile-steve-default { background-image:url("/assets/default-profile-steve.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4"); background-size:486% auto; background-position:center -10px; background-repeat:no-repeat; image-rendering:pixelated; overflow:hidden; }
.cabinet-profile-avatar > img { display:block;width:100%;height:100%;object-fit:cover; }
@media(max-width:750px){.cabinet-profile-avatar.profile-steve-default{background-position:center -8px;}}

.cabinet-profile { position:relative; isolation:isolate; overflow:hidden; }
.cabinet-profile::before, .cabinet-profile::after { content:''; position:absolute; z-index:-1; background:url('/assets/profile-bed-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center / contain no-repeat; opacity:.1; filter:blur(2px); pointer-events:none; }
.cabinet-profile::before { width:145px;height:110px;right:22px;top:12px;transform:rotate(-12deg); }
.cabinet-profile::after { width:110px;height:90px;right:95px;bottom:-5px;transform:rotate(14deg);opacity:.07; }
html[data-theme="light"] .cabinet-profile::before { opacity:.13; }
html[data-theme="light"] .cabinet-profile::after { opacity:.09; }

.cabinet-payment-card { position:relative; isolation:isolate; overflow:hidden; }
.cabinet-coins { position:absolute;inset:0;z-index:-1;pointer-events:none; }
.cabinet-coins span { position:absolute;width:38px;height:38px;background:url('/assets/boost-coin-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center/contain no-repeat;opacity:.1;filter:blur(1px); }
.cabinet-coins span:nth-child(1){right:15px;top:12px;transform:rotate(15deg);}
.cabinet-coins span:nth-child(2){right:65px;top:40px;width:30px;height:30px;transform:rotate(-20deg);}
.cabinet-coins span:nth-child(3){right:24px;top:95px;transform:rotate(-8deg);}
.cabinet-coins span:nth-child(4){right:88px;bottom:25px;width:46px;height:46px;transform:rotate(20deg);}
.cabinet-coins span:nth-child(5){right:10px;bottom:15px;transform:rotate(-15deg);}
.cabinet-coins span:nth-child(6){left:15px;bottom:9px;width:28px;height:28px;transform:rotate(12deg);}
.cabinet-coins span:nth-child(7){left:40%;top:10px;width:26px;height:26px;transform:rotate(-10deg);}

#support { position:relative;isolation:isolate;overflow:hidden; }
#support::before, #support::after { content:'';position:absolute;z-index:-1;background:url('/assets/logo-emerald-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center/contain no-repeat;filter:blur(2px);opacity:.09;pointer-events:none; }
#support::before { width:120px;height:120px;right:25px;top:20px;transform:rotate(12deg); }
#support::after { width:85px;height:85px;right:130px;bottom:30px;transform:rotate(-18deg);opacity:.06; }

.support-emeralds { position:absolute;inset:0;z-index:-1;pointer-events:none; }
.support-emeralds span { position:absolute;width:65px;height:65px;background:url('/assets/logo-emerald-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center/contain no-repeat;opacity:.09;filter:blur(2px); }
.support-emeralds span:nth-child(1){left:7%;top:70px;transform:rotate(-12deg);}
.support-emeralds span:nth-child(2){left:36%;top:20px;transform:rotate(18deg);}
.support-emeralds span:nth-child(3){right:20%;top:46%;width:80px;height:80px;transform:rotate(-20deg);}
.support-emeralds span:nth-child(4){left:14%;bottom:35px;transform:rotate(10deg);}
.support-emeralds span:nth-child(5){left:46%;bottom:70px;transform:rotate(-8deg);}
.support-emeralds span:nth-child(6){right:15px;bottom:48%;width:45px;height:45px;transform:rotate(15deg);}

.support-emeralds i { position:absolute; width:80px; height:80px; background:url('/assets/logo-pickaxe-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center/contain no-repeat; opacity:.09; filter:blur(2px); pointer-events:none; }
.support-emeralds i:nth-of-type(1) { left:40%; bottom:45px; transform:rotate(-15deg); }
.support-emeralds i:nth-of-type(2) { right:12%; top:110px; transform:rotate(18deg); }
.support-emeralds i:nth-of-type(3) { left:15%; top:45%; width:65px; height:65px; transform:rotate(8deg); }

.support-emeralds b { position:absolute; width:75px; height:75px; background:url('/assets/crafting-table-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center/contain no-repeat; opacity:.09; filter:blur(2px); pointer-events:none; }
.support-emeralds b:nth-of-type(1) { left:58%; top:62px; transform:rotate(-10deg); }
.support-emeralds b:nth-of-type(2) { right:30%; bottom:18px; width:60px; height:60px; transform:rotate(13deg); }

.catalog-pagination { display:flex;flex-direction:column;align-items:center;gap:12px;margin:30px 0 12px; }
.pagination-info { margin:0;color:var(--muted);font-size:12px; }
.pagination-buttons { display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px; }
.pagination-buttons .ghost-button { min-width:38px;border-radius:8px; }
.pagination-buttons .is-current { background:var(--brand-soft);color:var(--brand);border-color:var(--brand); }
.pagination-buttons button:disabled { cursor:default;opacity:.35; }
.pagination-gap { color:var(--muted);padding:0 3px; }
.catalog-content { scroll-margin-top:120px; }

/* Material image viewer: shared by all seven catalog sections. */
.material-cover-link { display: block; border-radius: 8px; cursor: pointer; }
.material-gallery a { cursor: pointer; }
.material-lightbox {
  position: fixed; inset: 0; width: 100%; max-width: none;
  height: 100%; height: 100dvh; max-height: none; margin: 0;
  padding: 16px; border: 0; color: #f0f4f1; background: transparent;
  box-sizing: border-box; overflow: hidden;
}
.material-lightbox::backdrop { background: rgb(3 8 6 / 94%); }
.material-lightbox__panel {
  width: 100%; max-width: 1500px; height: 100%; margin: auto;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px;
}
.material-lightbox__toolbar { display: flex; align-items: center; gap: 16px; min-width: 0; }
.material-lightbox__title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.material-lightbox button {
  display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px;
  padding: 0; border: 1px solid #37463e; border-radius: 8px;
  color: #f0f4f1; background: #19231e; font: 36px/1 sans-serif; cursor: pointer;
}
.material-lightbox button:hover { color: var(--brand); border-color: var(--brand); background: #24362c; }
.material-lightbox button[hidden], .material-lightbox img[hidden] { display: none; }
.material-lightbox__stage { display: flex; align-items: center; gap: 12px; min-height: 0; }
.material-lightbox__picture {
  position: relative; flex: 1; height: 100%; min-width: 0;
  display: grid; place-items: center; touch-action: pan-y pinch-zoom;
}
.material-lightbox__picture img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; user-select: none; }
.material-lightbox__status { position: absolute; padding: 20px; margin: 0; text-align: center; color: #c2d0c7; pointer-events: none; }
.material-lightbox__status:empty { display: none; }
.material-lightbox__caption { margin: 0; text-align: center; color: #c2d0c7; font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .material-lightbox { padding: max(10px, env(safe-area-inset-top)) 8px max(10px, env(safe-area-inset-bottom)); }
  .material-lightbox__stage { position: relative; gap: 0; }
  .material-lightbox__prev, .material-lightbox__next { position: absolute; z-index: 1; bottom: 8px; opacity: .9; }
  .material-lightbox__prev { left: 0; }
  .material-lightbox__next { right: 0; }
  .material-lightbox__caption { font-size: 12px; }
}

/* Both theme symbols exist before the first paint; the head script selects the theme. */
.theme-toggle [data-theme-icon="moon"],
html[data-theme="light"] .theme-toggle [data-theme-icon="sun"] { display: none; }
html[data-theme="light"] .theme-toggle [data-theme-icon="moon"] { display: block; }

/* Availability describes the required account, independently of live online status. */
.server-launcher-availability{min-height:27px;margin:9px 0 6px}.launcher-access{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:4px 9px;border:1px solid var(--line);border-radius:6px;font-size:11px;font-weight:650;line-height:1.45;vertical-align:middle}.launcher-access>span{font-weight:800}.launcher-access--nickname{color:#23df99;background:#123427;border-color:#237453}.launcher-access--microsoft{color:#e9c783;background:#332b1a;border-color:#6a552b}.launcher-access--unknown{color:var(--muted);background:var(--raised);border-color:var(--line)}.launcher-access-note{font-size:12px;color:var(--muted);margin:0 0 17px}.launcher-access-panel{padding:16px;border:1px solid var(--line);border-radius:9px;margin:20px 0;background:var(--bg)}.launcher-access-panel--nickname{border-color:#237453}.launcher-access-panel--microsoft{border-color:#6a552b}.launcher-access-panel h2{font-size:15px;margin:0 0 11px}.launcher-access-panel p{font-size:13px;color:var(--muted);margin:11px 0 6px}.launcher-access-panel small{color:var(--muted);font-size:11px}

/* Launcher entry and first-run guide. */
.home-launcher-card{position:relative;isolation:isolate;overflow:hidden;border-color:color-mix(in srgb,var(--brand) 45%,var(--line));}
.home-launcher-card::before{content:'';position:absolute;inset:0;z-index:-2;background:url('/assets/home-background.webp?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center/cover no-repeat;}
.home-launcher-card::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(125deg,rgba(11,29,21,.94),rgba(11,29,21,.74));}
.home-launcher-card h3{color:#eef8f1}.home-launcher-card p{color:#c4d2c9}.home-launcher-card .home-category__link{color:#35e99b}
.launcher-home-promo{margin:0 auto 28px}.launcher-home-promo .home-category{padding:24px 28px}
.launcher-guide .home-hero{min-height:540px}.launcher-guide .home-hero h1{font-size:clamp(36px,5vw,64px)}
.launcher-meta{color:#c4d2c9;max-width:620px;font-size:14px;line-height:1.7;margin:14px 0 0}.launcher-download-button:disabled{cursor:default;opacity:.65}.launcher-download-button [data-lucide]{width:18px;height:18px}
.launcher-instruction-link{display:inline-flex;align-items:center;gap:8px;color:#d0ddd7;margin-top:22px}.launcher-instruction-link svg{width:16px;height:16px}
.launcher-steps{list-style:none;padding:0;margin:30px 0 36px;display:grid;gap:16px;counter-reset:none}
.launcher-steps li{display:flex;gap:22px;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.launcher-step-number{flex:0 0 44px;height:44px;display:grid;place-items:center;color:var(--brand);background:var(--brand-soft);border-radius:10px;font-size:18px;font-weight:700}
.launcher-steps h3{margin:0 0 8px;font-size:20px}.launcher-steps p,.launcher-info p{margin:0;color:var(--muted);line-height:1.8}.launcher-info p+p{margin-top:12px}
.launcher-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.launcher-info{padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}.launcher-guide .launcher-info h2{font-size:22px;margin:0 0 12px}
.launcher-guide-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.launcher-alternatives{margin-top:24px;color:var(--muted)}.launcher-alternatives summary{cursor:pointer}.launcher-alternatives a{text-decoration:underline;text-underline-offset:3px}
html[data-theme="light"] .home-launcher-card::after{background:linear-gradient(125deg,rgba(241,250,237,.95),rgba(241,250,237,.85))}html[data-theme="light"] .home-launcher-card h3{color:var(--ink)}html[data-theme="light"] .home-launcher-card p{color:var(--muted)}html[data-theme="light"] .home-launcher-card .home-category__link{color:var(--brand)}
@media(max-width:650px){.launcher-guide-grid{grid-template-columns:1fr}.launcher-steps li{padding:18px;gap:14px}.launcher-steps h3{font-size:18px}.launcher-step-number{flex-basis:36px;height:36px;font-size:16px}.launcher-guide .home-hero{min-height:500px}.launcher-guide-actions>*{width:100%;justify-content:center}}

/* Varied Minecraft blocks for the launcher guide. */
.launcher-steps--blocks{grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;margin-top:32px}
.launcher-steps--blocks .launcher-step-card{display:block;position:relative;isolation:isolate;overflow:hidden;min-width:0;min-height:280px;padding:30px;border-radius:16px;background:var(--paper)}
.launcher-step-card::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 100% 100%,rgba(53,233,155,.07),transparent 70%)}
.launcher-step-card--install{grid-column:span 7;border-color:color-mix(in srgb,var(--brand) 28%,var(--line))!important}
.launcher-step-card--account{grid-column:span 5}
.launcher-step-card--server{grid-column:span 5;min-height:330px!important}
.launcher-step-card--files{grid-column:span 7;min-height:330px!important}
.launcher-step-card--play{grid-column:span 12;min-height:300px!important}
.launcher-step-card--server::before{background:radial-gradient(ellipse at 100% 100%,rgba(178,123,65,.12),transparent 75%)}
.launcher-step-card--play::before{background:linear-gradient(105deg,rgba(53,233,155,.07),transparent 68%)}
.launcher-block-top{display:flex;align-items:center;gap:12px;margin-bottom:24px;position:relative;z-index:1}
.launcher-steps--blocks .launcher-step-number{flex:0 0 38px;width:38px;height:38px;font-size:14px;border-radius:9px}
.launcher-block-kicker{font-size:10px!important;line-height:1.5!important;font-weight:700;letter-spacing:1.25px;text-transform:uppercase;color:var(--brand)!important}
.launcher-block-icon{margin-left:auto;width:20px;height:20px;color:var(--muted)}
.launcher-step-copy{position:relative;z-index:1}.launcher-steps--blocks h3{font-size:24px;line-height:1.25;letter-spacing:-.4px;max-width:460px;margin-bottom:14px}.launcher-steps--blocks p{font-size:14px;line-height:1.9}
.launcher-block-art{position:absolute;width:180px;height:180px;object-fit:contain;pointer-events:none;user-select:none;z-index:0;filter:drop-shadow(0 18px 22px rgba(0,0,0,.22));opacity:.8}
.launcher-step-card--install .launcher-step-copy{max-width:71%}.launcher-step-card--install .launcher-block-art{width:200px;height:200px;right:10px;bottom:-15px;transform:rotate(-13deg);opacity:.68}
.launcher-account-mark{display:flex;gap:10px;align-items:center;margin-top:26px;color:var(--muted);font-size:12px}.launcher-account-mark svg{width:28px;height:28px;padding:5px;border:1px solid var(--line);border-radius:7px;color:var(--brand)}
.launcher-step-card--server .launcher-step-copy p{max-width:100%}.launcher-step-card--server .launcher-block-art{width:112px;height:112px;right:16px;bottom:-12px;opacity:.55}
.launcher-block-link{display:inline-flex;align-items:center;gap:7px;color:var(--brand);font-weight:650;font-size:12px;position:relative;z-index:1;margin-top:25px}.launcher-block-link svg{width:15px;height:15px}
.launcher-file-pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:26px}.launcher-file-pills span{display:inline-flex;gap:7px;align-items:center;padding:9px 12px;background:var(--bg);border:1px solid var(--line);border-radius:8px;color:var(--ink);font-size:12px}.launcher-file-pills svg{width:15px;height:15px;color:var(--brand)}
.launcher-steps--blocks .launcher-block-note{position:relative;z-index:1;font-size:12px;line-height:1.7;margin-top:16px;color:var(--muted)}
.launcher-step-card--play .launcher-step-copy{max-width:75%}.launcher-step-card--play .launcher-block-art{width:180px;height:180px;right:24px;bottom:-30px;transform:rotate(10deg);opacity:.4}
.launcher-command-grid{display:flex;flex-wrap:wrap;gap:14px;position:relative;z-index:1;margin-top:20px;max-width:80%}.launcher-command-grid>div{padding:13px 17px;border:1px solid var(--line);background:var(--bg);border-radius:9px;min-width:220px}.launcher-command-grid span{display:block;font-size:10px;color:var(--muted);margin-bottom:6px}.launcher-command-grid code{font-size:13px;color:var(--brand);overflow-wrap:anywhere}
.launcher-guide-grid{grid-template-columns:5fr 7fr;gap:18px}.launcher-guide-grid .launcher-info{position:relative;isolation:isolate;overflow:hidden;padding:30px;border-radius:16px;min-width:0}
.launcher-info--updates{background:linear-gradient(135deg,var(--paper),var(--brand-soft))}.launcher-info-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);background:var(--bg);color:var(--brand);border-radius:10px;margin-bottom:22px}.launcher-info-icon svg{width:19px;height:19px}
.launcher-info .launcher-block-kicker{margin:0 0 8px!important}.launcher-guide .launcher-info h2{position:relative;z-index:1;font-size:24px;line-height:1.25;margin-bottom:15px}.launcher-info>p{position:relative;z-index:1}.launcher-info-foot{display:flex;gap:8px;align-items:center;color:var(--brand);font-size:12px;margin-top:25px}.launcher-info-foot svg{width:16px;height:16px}
.launcher-info--help>p{max-width:85%}.launcher-help-art{right:-30px;bottom:-28px;width:165px;height:165px;opacity:.13;transform:rotate(18deg);z-index:-1}
html[data-theme="light"] .launcher-step-card--install .launcher-block-art{opacity:.7}html[data-theme="light"] .launcher-step-card--play .launcher-block-art{opacity:.28}
@media(min-width:901px) and (max-width:1100px){.launcher-step-card--install .launcher-step-copy{max-width:85%}.launcher-step-card--install .launcher-block-art{opacity:.18}.launcher-steps--blocks .launcher-step-card{padding:24px}.launcher-steps--blocks h3{font-size:22px}}
@media(max-width:900px){.launcher-steps--blocks{grid-template-columns:repeat(2,minmax(0,1fr))}.launcher-steps--blocks .launcher-step-card{grid-column:span 1;padding:24px;min-height:290px!important}.launcher-steps--blocks .launcher-step-card--play{grid-column:span 2;min-height:300px!important}.launcher-step-card--install .launcher-step-copy{max-width:100%}.launcher-step-card--install .launcher-block-art{opacity:.12;right:-30px}.launcher-steps--blocks h3{font-size:22px}.launcher-guide-grid{grid-template-columns:1fr 1fr}.launcher-info--help>p{max-width:100%}.launcher-block-kicker{font-size:9px!important;letter-spacing:.8px}.launcher-step-card--server .launcher-block-art{opacity:.22}}
@media(max-width:650px){.launcher-steps--blocks,.launcher-guide-grid{grid-template-columns:1fr}.launcher-steps--blocks .launcher-step-card,.launcher-steps--blocks .launcher-step-card--play{grid-column:span 1;min-height:0!important;padding:24px}.launcher-block-top{margin-bottom:20px}.launcher-steps--blocks h3{font-size:22px}.launcher-step-card--install .launcher-block-art{width:150px;height:150px;opacity:.1}.launcher-step-card--server{padding-bottom:70px!important}.launcher-step-card--server .launcher-block-art{width:95px;height:95px;opacity:.4}.launcher-step-card--play .launcher-step-copy{max-width:100%}.launcher-command-grid{max-width:100%;gap:10px}.launcher-command-grid>div{width:100%;min-width:0}.launcher-step-card--play .launcher-block-art{width:130px;height:130px;opacity:.08}.launcher-guide-grid .launcher-info{padding:24px}.launcher-guide .launcher-info h2{font-size:22px}.launcher-steps--blocks p{font-size:13px}.launcher-block-icon{flex-shrink:0}.launcher-account-mark{margin-top:22px}}

/* Subtle Minecraft decorations, limited to the advertising page. */
.ads-page .rate-card,.ads-page .ads-boost-panel{position:relative;isolation:isolate;overflow:hidden}
.ads-page .rate-card > *,.ads-page .ads-boost-panel > *{position:relative;z-index:1}
.ads-page .rate-card::before,.ads-page .ads-boost-panel::before,.ads-page .ads-boost-panel::after{content:'';position:absolute;z-index:0;pointer-events:none;user-select:none;background-position:center;background-repeat:no-repeat;background-size:contain;opacity:.095;width:146px;height:146px;right:4px;bottom:-20px}
.ads-page .rate-card:nth-child(1)::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5NiAxMDAiIHN0eWxlPSJpbWFnZS1yZW5kZXJpbmc6cGl4ZWxhdGVkIj48c3ZnIHg9IjgiIHk9IjEwIiB3aWR0aD0iODAiIGhlaWdodD0iODAiIHZpZXdCb3g9IjAgMCAxNiAxNiIgb3ZlcmZsb3c9ImhpZGRlbiI+PGltYWdlIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgaHJlZj0iZGF0YTppbWFnZS9wbmc7YmFzZTY0LGlWQk9SdzBLR2dvQUFBQU5TVWhFVWdBQUFCQUFBQUFRQkFNQUFBRHQzZUpTQUFBQUhsQk1WRVVBQUFBejY4c3J4Nnduc3BxSlp5ZG9UaDVKTmhVT1B6WW9IZ3NJSlNCRHFkVGVBQUFBQVhSU1RsTUFRT2JZWmdBQUFFVkpSRUZVZU5wandBckt5d3ZBTkx1UXNYb3FtRlU1MDlnREtwbGtDYUhaSW93bWdCa3BEWk1uUUFRWWdBeXdBTU9rQ1JBQmhva1RJQUlNbkZBQnFCWW9vd1BOWmdBN3p3OUQvQ3JKbWdBQUFBQkpSVTVFcmtKZ2dnPT0iIHN0eWxlPSJpbWFnZS1yZW5kZXJpbmc6cGl4ZWxhdGVkIiAvPjwvc3ZnPjwvc3ZnPg==");transform:rotate(-12deg);right:3px;bottom:-8px;width:140px;height:140px;image-rendering:pixelated}
.ads-page .rate-card:nth-child(2)::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5NiAxMDAiIHN0eWxlPSJpbWFnZS1yZW5kZXJpbmc6cGl4ZWxhdGVkIj48ZGVmcz48ZmlsdGVyIGlkPSJncmFzcyIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJzUkdCIj48ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iLjU3IDAgMCAwIDAgMCAuNzkgMCAwIDAgMCAwIC4zNSAwIDAgMCAwIDAgMSAwIi8+PC9maWx0ZXI+PC9kZWZzPjxnIHRyYW5zZm9ybT0ibWF0cml4KDIuMjUgMS4yNSAwIDIuNSAxMiAyOCkiPjxzdmcgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiIG92ZXJmbG93PSJoaWRkZW4iPjxpbWFnZSB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGhyZWY9ImRhdGE6aW1hZ2UvcG5nO2Jhc2U2NCxpVkJPUncwS0dnb0FBQUFOU1VoRVVnQUFBQkFBQUFBUUNBTUFBQUFvTFE5VEFBQUFObEJNVkVYLy8vL1kyTmkxdGJYQ25XSzRsRit2ajFXZmhFMldkRUYrWWpkblVDeHpPU0JMS3hoQkl3NDRJUllvSGdzYkZnMFpGQXdSRGdneTZ2andBQUFBamtsRVFWUjQyZ1hCVzFiREFBeER3U3ZaS1NmQUIvdmZKdERtYVhWR1AvOEpuN2RJUFVIZkpuTHZCYlZaTW9aa1pyTjNJWWFtQ1pLeENpNmFzMjdBbkh5OTFxSFJyRWRrREN0RDR6Z0V3aDgwVFFWTFpza21USFB3R01ZY0FCZkc4M3ZGZHZrQnhrVEVncEF3TkV1QzFGUlUrMEp6VHhEbXBPNGNIMDJRaVJIUkFvMlVrUUJKUU1lSXBOS0tJRzhEQ2toWTlBeHVSd0FBQUFCSlJVNUVya0pnZ2c9PSIgc3R5bGU9ImltYWdlLXJlbmRlcmluZzpwaXhlbGF0ZWQiIC8+PC9zdmc+PHBhdGggZD0iTTAgMEgxNlYxNkgwWiIgZmlsbD0iIzAwMCIgb3BhY2l0eT0iLjEzIi8+PC9nPjxnIHRyYW5zZm9ybT0ibWF0cml4KDIuMjUgLTEuMjUgMCAyLjUgNDggNDgpIj48c3ZnIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBvdmVyZmxvdz0iaGlkZGVuIj48aW1hZ2Ugd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBocmVmPSJkYXRhOmltYWdlL3BuZztiYXNlNjQsaVZCT1J3MEtHZ29BQUFBTlNVaEVVZ0FBQUJBQUFBQVFDQU1BQUFBb0xROVRBQUFBTmxCTVZFWFkyTmkxdGJYQ25XSzRsRit2ajFXZmhFMldkRUYrWWpkblVDeHpPU0JMS3hoQkl3NDRJUlltSUJJb0hnc2JGZzBaRkF3UkRnZ0hxdHMxQUFBQWlVbEVRVlI0MmdYQkFVcERVUkFFd2U3WkRSaEI4UDduRk1sUHpCdXIvUDVwK1h4TDV4ZjhDalY3RGN3akdnTHRPWStaUytTd0xFVkRySlRsTlc4Z3ZGQWtlTzV6bnlTaFBTenBkQXBGaEdWNi9WMDczQXFWNWNuWksrRUpJRXRxVFpoYVlhbGpnRkk1TExjV3ZmR3FPQ3p2VXlTOG1MZjlXSXFoUWFxeWFJOENLckFOMG03WEN2MEhBa2hGZHZkYnNDTUFBQUFBU1VWT1JLNUNZSUk9IiBzdHlsZT0iaW1hZ2UtcmVuZGVyaW5nOnBpeGVsYXRlZCIgLz48L3N2Zz48cGF0aCBkPSJNMCAwSDE2VjE2SDBaIiBmaWxsPSIjMDAwIiBvcGFjaXR5PSIuMzEiLz48L2c+PGcgdHJhbnNmb3JtPSJtYXRyaXgoMi4yNSAxLjI1IC0yLjI1IDEuMjUgNDggOCkiPjxzdmcgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiIG92ZXJmbG93PSJoaWRkZW4iPjxpbWFnZSB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGhyZWY9ImRhdGE6aW1hZ2UvcG5nO2Jhc2U2NCxpVkJPUncwS0dnb0FBQUFOU1VoRVVnQUFBQkFBQUFBUUNBTUFBQUFvTFE5VEFBQUFIbEJNVkVXOG1HS3VhVHllV1RKek9TQlZPQ1JMS3hoQkl3NGFGUTBaRkF3T0N3WkhaQW1nQUFBQWFFbEVRVlI0Mm5XUFVRb0RVUWdERTlkRXZmK0ZDeTV2YVNrNytPT0F4S0JuMnRmaW1tb000T0FTQmdZRDg4RVl0Sm5LVEVsS3V1RmdCcE1VbVF6ajRtNUhYeXRTOXp6aXpLdVFsUG8rVVZBTWtTdnVXSzNlMlBLbTNORDEvM3I5bGl0MFRaMzZQZE1mdDhFRE5waU5rRmNBQUFBQVNVVk9SSzVDWUlJPSIgc3R5bGU9ImltYWdlLXJlbmRlcmluZzpwaXhlbGF0ZWQiIC8+PC9zdmc+PC9nPjwvc3ZnPg==");right:-12px;bottom:-28px;width:164px;height:164px;opacity:.075;transform:rotate(8deg);image-rendering:pixelated}
.ads-page .rate-card:nth-child(3)::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5NiAxMDAiIHN0eWxlPSJpbWFnZS1yZW5kZXJpbmc6cGl4ZWxhdGVkIj48c3ZnIHg9IjgiIHk9IjEwIiB3aWR0aD0iODAiIGhlaWdodD0iODAiIHZpZXdCb3g9IjAgMCAxNiAxNiIgb3ZlcmZsb3c9ImhpZGRlbiI+PGltYWdlIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgaHJlZj0iZGF0YTppbWFnZS9wbmc7YmFzZTY0LGlWQk9SdzBLR2dvQUFBQU5TVWhFVWdBQUFCQUFBQUFRQkFNQUFBRHQzZUpTQUFBQUlWQk1WRVVBQUFEYi8rdXYvYzJDOXExQjg0UVgzV0lBcWl3QWxTa0FleGdBVXdBQUxRQzUrbGZjQUFBQUFYUlNUbE1BUU9iWVpnQUFBRU5KUkVGVWVOcGp3QXBtem9UUW5DS3VFOENNaVNwdVVXQUJJUlczMUFVZ2htcVFXaG1VWWRhR3hnZzJhNFV5UEVwQkRJWnBGZTFXRUFQVGdUSmdzR29WVnBzQkRSd1M2aDQyZGRzQUFBQUFTVVZPUks1Q1lJST0iIHN0eWxlPSJpbWFnZS1yZW5kZXJpbmc6cGl4ZWxhdGVkIiAvPjwvc3ZnPjwvc3ZnPg==");right:8px;bottom:-18px;width:132px;height:152px;transform:rotate(-14deg);image-rendering:pixelated}
.ads-page .ads-boost-panel::before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5NiAxMDAiIHN0eWxlPSJpbWFnZS1yZW5kZXJpbmc6cGl4ZWxhdGVkIj48ZGVmcz48ZmlsdGVyIGlkPSJncmFzcyIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJzUkdCIj48ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iLjU3IDAgMCAwIDAgMCAuNzkgMCAwIDAgMCAwIC4zNSAwIDAgMCAwIDAgMSAwIi8+PC9maWx0ZXI+PC9kZWZzPjxnIHRyYW5zZm9ybT0ibWF0cml4KDIuMjUgMS4yNSAwIDIuNSAxMiAyOCkiPjxzdmcgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiIG92ZXJmbG93PSJoaWRkZW4iPjxpbWFnZSB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGhyZWY9ImRhdGE6aW1hZ2UvcG5nO2Jhc2U2NCxpVkJPUncwS0dnb0FBQUFOU1VoRVVnQUFBQkFBQUFBUUJBTUFBQUR0M2VKU0FBQUFIbEJNVkVXUkxSSC8vLy9kMmRuT3pzNitzclBxUXhqYkx4cXhGU2MzTmxZYkdqekpWdEpEQUFBQVRFbEVRVlI0Mm1NSVRZZEFoclFDQ01USEVGWXlWbEkyVWxKa0VPcVkxR3lwMFduSW9HSnAzR0ZoMUtURUlLeWgxTlJoUE5tSlFjalNxTm5TZUpJaGd3c1VNSlJESVQ2VHl3c2dFQUI5TkN5aEUrdE94UUFBQUFCSlJVNUVya0pnZ2c9PSIgc3R5bGU9ImltYWdlLXJlbmRlcmluZzpwaXhlbGF0ZWQiIC8+PC9zdmc+PHBhdGggZD0iTTAgMEgxNlYxNkgwWiIgZmlsbD0iIzAwMCIgb3BhY2l0eT0iLjEzIi8+PC9nPjxnIHRyYW5zZm9ybT0ibWF0cml4KDIuMjUgLTEuMjUgMCAyLjUgNDggNDgpIj48c3ZnIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBvdmVyZmxvdz0iaGlkZGVuIj48aW1hZ2Ugd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBocmVmPSJkYXRhOmltYWdlL3BuZztiYXNlNjQsaVZCT1J3MEtHZ29BQUFBTlNVaEVVZ0FBQUJBQUFBQVFCQU1BQUFEdDNlSlNBQUFBSGxCTVZFV1JMUkgvLy8vZDJkbk96czYrc3JQcVF4amJMeHF4RlNjM05sWWJHanpKVnRKREFBQUFURWxFUVZSNDJtTUlUWWRBaHJRQ0NNVEhFRll5VmxJMlVsSmtFT3FZMUd5cDBXbklvR0pwM0dGaDFLVEVJS3loMU5SaFBObUpRY2pTcU5uU2VKSWhnd3NVTUpSRElUNlR5d3NnRUFCOU5DeWhFK3RPeFFBQUFBQkpSVTVFcmtKZ2dnPT0iIHN0eWxlPSJpbWFnZS1yZW5kZXJpbmc6cGl4ZWxhdGVkIiAvPjwvc3ZnPjxwYXRoIGQ9Ik0wIDBIMTZWMTZIMFoiIGZpbGw9IiMwMDAiIG9wYWNpdHk9Ii4zMSIvPjwvZz48ZyB0cmFuc2Zvcm09Im1hdHJpeCgyLjI1IDEuMjUgLTIuMjUgMS4yNSA0OCA4KSI+PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgb3ZlcmZsb3c9ImhpZGRlbiI+PGltYWdlIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgaHJlZj0iZGF0YTppbWFnZS9wbmc7YmFzZTY0LGlWQk9SdzBLR2dvQUFBQU5TVWhFVWdBQUFCQUFBQUFRQ0FNQUFBQW9MUTlUQUFBQUZWQk1WRVdPam83cVF4amJMeHBXVmxhUkxSR3hGU2NSRVI0OXBhNzFBQUFBWTBsRVFWUjQyazNPd1EzRVFCQUNRV2FBemova2srdzllUi85cElSMlp1ODBVdTgwY2tZR0s2Q29qVXZTUXB0b1orRGRjeG5VY2ptR0xRREZ4MGdOMkM2dnNRYUE1VFZzQlBnek1nZ3M3R09ZUE1EL2gzZFlHUHNZZmJLZU5GSytqbkgzQTRZNkF2NjJJQzA0QUFBQUFFbEZUa1N1UW1DQyIgc3R5bGU9ImltYWdlLXJlbmRlcmluZzpwaXhlbGF0ZWQiIC8+PC9zdmc+PC9nPjwvc3ZnPg==");width:182px;height:182px;right:184px;bottom:-48px;opacity:.07;transform:rotate(-9deg);image-rendering:pixelated}
.ads-page .ads-boost-panel::after{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5NiAxMDAiIHN0eWxlPSJpbWFnZS1yZW5kZXJpbmc6cGl4ZWxhdGVkIj48c3ZnIHg9IjgiIHk9IjEwIiB3aWR0aD0iODAiIGhlaWdodD0iODAiIHZpZXdCb3g9IjAgMCAxNiAxNiIgb3ZlcmZsb3c9ImhpZGRlbiI+PGltYWdlIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgaHJlZj0iZGF0YTppbWFnZS9wbmc7YmFzZTY0LGlWQk9SdzBLR2dvQUFBQU5TVWhFVWdBQUFCQUFBQUFRQkFNQUFBRHQzZUpTQUFBQUhsQk1WRVVBQUFBejY4c3J4Nnduc3BxSlp5ZG9UaDVKTmhVT1B6WW9IZ3NJSlNCRHFkVGVBQUFBQVhSU1RsTUFRT2JZWmdBQUFFVkpSRUZVZU5wandBckt5d3ZBTkx1UXNYb3FtRlU1MDlnREtwbGtDYUhaSW93bWdCa3BEWk1uUUFRWWdBeXdBTU9rQ1JBQmhva1RJQUlNbkZBQnFCWW9vd1BOWmdBN3p3OUQvQ3JKbWdBQUFBQkpSVTVFcmtKZ2dnPT0iIHN0eWxlPSJpbWFnZS1yZW5kZXJpbmc6cGl4ZWxhdGVkIiAvPjwvc3ZnPjwvc3ZnPg==");width:112px;height:112px;right:48px;bottom:-24px;opacity:.06;transform:rotate(13deg);image-rendering:pixelated}
html[data-theme="light"] .ads-page .rate-card::before{opacity:.065}
html[data-theme="light"] .ads-page .ads-boost-panel::before,html[data-theme="light"] .ads-page .ads-boost-panel::after{opacity:.045}
@media(max-width:600px){.ads-page .rate-card::before{width:112px!important;height:112px!important;right:4px!important;bottom:-18px!important;opacity:.07}.ads-page .ads-boost-panel::before{width:138px;height:138px;right:12px;bottom:-24px;opacity:.055}.ads-page .ads-boost-panel::after{width:90px;height:90px;right:138px;bottom:-12px;opacity:.045}}

/* Launcher link shares the header icon dimensions and is rendered server-side. */
.launcher-shortcut { order:2;display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:8px;color:var(--muted);border-radius:6px; }
.launcher-shortcut :is(.lucide,[data-lucide]) { display:block;width:18px;height:18px; }
.launcher-shortcut:hover { background:var(--choice-hover-bg);color:var(--choice-hover-ink); }
/* Two Windows download formats, with a shared installer. */
.launcher-download-options{display:flex;flex-wrap:wrap;align-items:flex-start;gap:20px 24px;max-width:720px}
.launcher-download-option{flex:1 1 230px;min-width:0}
.launcher-download-options .launcher-download-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;width:100%}
.launcher-download-options .launcher-download-button svg{width:18px;height:18px;flex-shrink:0}
.launcher-download-hint{margin:10px 0 0;color:#c4d2c9;font-size:13px;line-height:1.6}
@media(max-width:520px){.launcher-download-options{flex-direction:column;gap:18px}.launcher-download-option{flex:0 1 auto;width:100%}.launcher-download-options>button{width:100%}}

/* Keep the server title and refresh in place; launcher occupies the gap between them. */
.servers-page .hero{padding:18px 0 14px}
.servers-page .hero__content{display:grid;grid-template-columns:minmax(0,1fr) 348px auto;align-items:center;gap:24px}
.servers-page .hero .source-row{justify-self:end;padding-top:0}
.servers-page .hero .eyebrow{margin-bottom:4px}
.servers-page .hero h1{font-size:26px;margin-bottom:4px}
.servers-page .hero .lead{font-size:13px;line-height:1.4}
.servers-launcher{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:10px;min-width:0;width:100%;margin:0;padding:12px 14px;border:1px solid color-mix(in srgb,var(--line) 65%,transparent);border-radius:10px;background:color-mix(in srgb,var(--paper) 75%,transparent);box-shadow:none;transition:background-color 160ms,border-color 160ms}
.servers-launcher::before,.servers-launcher::after{content:'';position:absolute;z-index:-1;pointer-events:none}
.servers-launcher::before{inset:0;background:url('/assets/home-background.webp?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center 60%/cover no-repeat;opacity:.025;transition:opacity 160ms}
.servers-launcher::after{width:76px;height:76px;right:92px;bottom:-18px;background:url('/assets/logo-pickaxe-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4') center/contain no-repeat;opacity:.025;transform:rotate(-14deg);image-rendering:pixelated;transition:opacity 160ms}
html[data-theme="light"] .servers-launcher::before{opacity:.02}
html[data-theme="light"] .servers-launcher::after{opacity:.02}
.servers-launcher__mark{display:block;flex:0 0 32px;width:32px;height:32px;object-fit:contain;image-rendering:pixelated;opacity:.6;filter:saturate(.5);transition:opacity 160ms,filter 160ms}
.servers-launcher__copy{flex:1;min-width:0}
.servers-launcher__copy h2{margin:0 0 3px;font-size:15px;line-height:1.3;color:var(--muted);transition:color 160ms}
.servers-launcher__copy p{margin:0;color:var(--muted);font-size:11px;line-height:1.4}
.servers-launcher__download{flex:0 0 auto;min-height:36px;gap:6px;padding:8px 10px;white-space:nowrap;font-size:12px}
.servers-launcher__download svg{width:16px;height:16px}
.servers-page .servers-launcher .servers-launcher__download{background:transparent;border-color:var(--line);color:var(--muted);transition:color 160ms,background-color 160ms,border-color 160ms}
.servers-launcher:is(:hover,:focus-within){background:color-mix(in srgb,var(--paper) 91%,var(--brand));border-color:color-mix(in srgb,var(--brand) 42%,var(--line))}
.servers-launcher:is(:hover,:focus-within)::before{opacity:.09}
.servers-launcher:is(:hover,:focus-within)::after{opacity:.07}
.servers-launcher:is(:hover,:focus-within) .servers-launcher__mark{opacity:1;filter:saturate(1)}
.servers-launcher:is(:hover,:focus-within) .servers-launcher__copy h2{color:var(--ink)}
.servers-page .servers-launcher:is(:hover,:focus-within) .servers-launcher__download{background:var(--brand);border-color:var(--brand);color:var(--bg)}
@media(prefers-reduced-motion:reduce){.servers-launcher,.servers-launcher::before,.servers-launcher::after,.servers-launcher__mark,.servers-launcher__copy h2,.servers-page .servers-launcher .servers-launcher__download{transition:none}}

.servers-page .hero .stats{margin-top:14px;padding-block:8px}
.servers-page .hero .stat dt{font-size:11px;line-height:1.3}
.servers-page .hero .stat dt svg{width:13px;height:13px}
.servers-page .hero .stat dd{margin-top:3px;font-size:20px;line-height:1.2}
.servers-page .hero .stat:last-child dd{font-size:13px;padding-top:5px}
.servers-page .hero .stat>span{font-size:10px;line-height:1.2}
@media(max-width:1100px){.servers-page .hero__content{grid-template-columns:minmax(0,1fr) 312px auto;gap:18px}.servers-launcher__copy p{display:none}.servers-launcher__copy h2{font-size:14px;margin:0}}
@media(max-width:760px){.servers-page .hero__content{grid-template-columns:minmax(0,1fr) auto;gap:12px}.servers-page .hero .page-heading{grid-column:1;grid-row:1}.servers-page .hero .source-row{grid-column:2;grid-row:1}.servers-launcher{grid-column:1/-1;grid-row:2;max-width:348px;justify-self:center}.servers-launcher__copy p{display:block}}
@media(max-width:600px){.servers-page .hero{padding:16px 0 12px}.servers-page .hero h1{font-size:24px}.servers-page .hero .stats{row-gap:10px;margin-top:12px}.servers-page .hero .stat dd{font-size:19px}.servers-page .hero .stat:last-child dd{font-size:12px}}

/* One compact material download picker, instead of a long list of links. */
.material-download-panel.form-panel{gap:12px;scroll-margin-top:110px}
.material-download-panel h2{margin:0;font-size:20px}
.material-download-panel .material-section-name{margin:0 0 2px;font-size:13px;color:var(--muted)}
.material-download-controls{display:grid;gap:12px;min-width:0}
.material-download-controls .field{gap:6px}
.material-download-controls select{width:100%;text-overflow:ellipsis;padding-right:28px}
.material-download-controls input{font-size:13px}
.material-download-panel :is(a.primary-button,button.ghost-button,a.ghost-button){width:100%;min-height:42px;font-size:13px}
.material-file-detail{margin:0;color:var(--muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere;max-height:54px;overflow:auto}
.material-file-status{margin:0;color:var(--muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.material-file-status:empty{display:none}
.material-download-controls [aria-disabled="true"]{opacity:.5;cursor:default}
.material-download-jump{justify-self:start;margin-top:6px;font-size:13px}
.material-detail-layout .material-cover{aspect-ratio:16/9;object-fit:contain}
.skin-detail .material-cover{aspect-ratio:auto}
.material-install-folder{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--raised);font-size:13px}
.material-install-content ol{list-style:none;counter-reset:install-step;display:grid;gap:16px;padding:0;margin:22px 0}
.material-install-content li{position:relative;counter-increment:install-step;padding-left:40px;line-height:1.7;font-size:14px}
.material-install-content li::before{content:counter(install-step);position:absolute;left:0;top:0;display:grid;place-items:center;width:27px;height:27px;border-radius:7px;background:var(--brand-soft);color:var(--brand);font-size:13px;font-weight:700}
.material-install-note{padding:12px 14px;border-left:3px solid var(--brand);background:var(--raised);border-radius:0 8px 8px 0;color:var(--muted);font-size:13px;line-height:1.7;margin:0 0 18px}
.material-install-links{display:flex;flex-wrap:wrap;gap:8px 16px;margin-bottom:18px}
.material-install-links a{color:var(--brand);font-size:13px;text-decoration:underline;text-underline-offset:3px}
.material-folder-help{border-top:1px solid var(--line);padding-top:14px;color:var(--muted);font-size:13px}
.material-folder-help summary{cursor:pointer;color:var(--ink);font-weight:600}
.material-folder-help p{margin:12px 0 0;line-height:1.7}
.material-detail-loading{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;min-height:450px;margin-top:24px}
.material-detail-loading__cover{aspect-ratio:16/9;border-radius:8px;background:var(--raised);border:1px solid var(--line)}
.material-detail-loading__side{height:320px;padding:24px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}
.material-detail-loading__side p{color:var(--muted)}
@media(max-width:750px){.material-detail-layout>.material-download-panel{grid-row:1}.material-detail-layout>article{grid-row:2}.material-detail-loading{grid-template-columns:1fr;min-height:500px}.material-detail-loading__side{grid-row:1;height:280px}.material-detail-loading__cover{grid-row:2}.material-download-jump{width:100%;justify-content:center}}

/* Standalone installation index and individual guides. */
.instructions-main{padding-top:26px;padding-bottom:48px}
.instructions-breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:12px;margin-bottom:22px}
.instructions-breadcrumbs a:hover{color:var(--brand)}
.instructions-heading{margin-bottom:26px}
.instructions-heading h1{font-size:36px;margin-bottom:10px}
.instructions-heading>p:last-child{margin:0;color:var(--muted);font-size:15px;line-height:1.7;max-width:820px}
.instructions-layout{display:grid;grid-template-columns:244px minmax(0,1fr);align-items:start;gap:28px}
.instructions-sidebar{position:sticky;top:110px;border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:18px}
.instructions-sidebar h2{font-size:16px;margin-bottom:14px}
.instructions-sidebar nav{display:grid;gap:5px}
.instructions-sidebar nav a{display:flex;align-items:center;gap:9px;padding:10px;border-radius:6px;color:var(--muted);font-size:12px;line-height:1.5}
.instructions-sidebar nav a:hover,.instructions-sidebar nav a.is-active{background:var(--brand-soft);color:var(--brand)}
.instructions-sidebar .instructions-launcher-link{margin-top:18px;width:100%;font-size:12px;padding-inline:8px}
.instructions-directory{min-width:0}
.instructions-search{margin-bottom:18px;padding:20px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}
.instructions-search label{display:block;font-size:13px;font-weight:600;margin-bottom:9px}
.instructions-search>div{display:flex;gap:10px}
.instructions-search input{flex:1;min-width:0;width:100%;min-height:42px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:var(--bg);font:inherit}
.instructions-search input:focus{outline:2px solid var(--brand);outline-offset:2px}
.instructions-result-count{font-size:12px;color:var(--muted);margin:0 0 14px}
.instructions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.instructions-card{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;padding:22px;border:1px solid var(--line);border-radius:12px;background:var(--paper);transition:border-color 150ms,background-color 150ms}
.instructions-card:hover{border-color:var(--brand);background:color-mix(in srgb,var(--paper) 95%,var(--brand))}
.instructions-card__icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:var(--raised);color:var(--muted)}
.instructions-card:hover .instructions-card__icon{background:var(--brand-soft);color:var(--brand)}
.instructions-card h2{font-size:19px;margin-bottom:8px}
.instructions-card p{color:var(--muted);font-size:13px;line-height:1.7;margin:0 0 14px}
.instructions-card__more{display:inline-flex;align-items:center;gap:6px;color:var(--brand);font-size:12px;font-weight:600}
.instructions-card__more svg{width:15px;height:15px}
.instructions-article{min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:28px}
.instructions-page code{font-family:Consolas,monospace;color:var(--brand);overflow-wrap:anywhere}
.instructions-article .material-install-content ol{gap:20px;margin-block:26px}
.instructions-article .material-install-content li{font-size:15px}
.instructions-article .material-folder-help+.material-folder-help{margin-top:16px}
.instructions-article__actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:22px;margin-top:24px}
.instructions-empty{padding:22px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--muted);margin-bottom:18px}
.instructions-empty h2{color:var(--ink)}
@media(max-width:1000px){.instructions-grid{grid-template-columns:1fr}}
@media(max-width:800px){.instructions-layout{grid-template-columns:1fr;gap:20px}.instructions-sidebar{position:static;padding:14px}.instructions-sidebar nav{display:flex;overflow-x:auto;padding-bottom:4px}.instructions-sidebar nav a{flex:0 0 auto;white-space:nowrap}.instructions-sidebar .instructions-launcher-link{width:auto;margin-top:12px}.instructions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.instructions-main{padding-top:20px;padding-bottom:32px}.instructions-heading h1{font-size:28px}.instructions-heading>p:last-child{font-size:13px}.instructions-grid{grid-template-columns:1fr}.instructions-card{padding:18px;gap:12px}.instructions-card h2{font-size:18px}.instructions-search{padding:16px}.instructions-search button{padding-inline:12px}.instructions-search button svg{display:none}.instructions-article{padding:18px}.instructions-article .material-install-content li{font-size:13px;padding-left:36px}.instructions-article__actions{display:grid;grid-template-columns:1fr}.instructions-article__actions a{width:100%;font-size:13px}}
@media(prefers-reduced-motion:reduce){.instructions-card{transition:none}}

/* Illustrated installation guides: readable steps, original screenshots, native navigation. */
.instructions-card__preview{grid-column:1/-1;display:flex;align-items:center;justify-content:center;height:168px;margin:-6px -6px 3px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--bg)}
.instructions-card__preview img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain}
.guide-meta{display:flex;flex-wrap:wrap;gap:10px 18px;color:var(--muted);font-size:12px;margin-bottom:18px}
.guide-meta span{display:inline-flex;align-items:center;gap:7px}
.guide-meta svg{width:16px;height:16px;color:var(--brand)}
.guide-intro{font-size:16px;line-height:1.85;margin:0 0 24px}
.instructions-article h2{font-size:21px;line-height:1.45;letter-spacing:-.2px}
.guide-preparation{border:1px solid var(--line);background:var(--raised);border-radius:10px;padding:20px 22px;margin-bottom:24px}
.guide-preparation h2{font-size:16px;margin:0 0 12px}
.guide-preparation ul{padding-left:20px;margin:0;display:grid;gap:10px;color:var(--muted);font-size:14px;line-height:1.8}
.guide-preparation li::marker{color:var(--brand)}
.guide-toc{border-block:1px solid var(--line);padding:22px 0;margin-bottom:18px}
.guide-toc h2{font-size:16px;margin:0 0 12px}
.guide-toc ol{display:grid;gap:9px;margin:0;padding-left:22px;color:var(--muted);font-size:14px;line-height:1.65}
.guide-toc a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}
.guide-toc a:hover{color:var(--brand);text-decoration-color:currentColor}
.guide-image-note{color:var(--muted);font-size:12px;line-height:1.8;margin:0 0 32px}
.guide-step{scroll-margin-top:120px;padding-block:0 32px;margin-bottom:30px;border-bottom:1px solid var(--line)}
.guide-step:last-child{margin-bottom:0}
.guide-step h2{display:flex;align-items:flex-start;gap:13px;margin:0 0 18px}
.guide-step__number{flex:0 0 36px;display:grid;place-items:center;min-height:36px;border:1px solid color-mix(in srgb,var(--brand) 25%,var(--line));background:var(--brand-soft);color:var(--brand);border-radius:8px;font-size:13px;font-weight:700;line-height:1}
.guide-step>p{font-size:15px;line-height:1.9;margin:0 0 16px;overflow-wrap:anywhere}
.guide-figure{margin:22px 0 26px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--bg)}
.instructions-article .guide-figure .material-gallery{display:block;margin:0;padding:18px}
.instructions-article .guide-figure .material-gallery a{display:flex;align-items:center;justify-content:center;overflow:hidden;border:0;border-radius:4px;background:transparent;cursor:pointer}
.instructions-article .guide-figure .material-gallery img{display:block;width:auto;height:auto;max-width:100%;max-height:560px;object-fit:contain;margin:auto;transition:none}
.guide-figure figcaption{padding:13px 18px;border-top:1px solid var(--line);font-size:12px;line-height:1.8;color:var(--muted);background:var(--paper)}
.guide-credit{display:block;font-size:11px;margin-top:5px}
.guide-credit a{text-decoration:underline;text-underline-offset:3px;color:var(--muted)}
.guide-credit a:hover{color:var(--brand)}
.guide-code,.guide-tree{padding:17px 18px;border:1px solid var(--line);border-radius:9px;background:var(--bg);margin:20px 0}
.guide-code>span:first-child,.guide-tree>span{display:block;font-size:11px;line-height:1.7;color:var(--muted);margin-bottom:9px}
.guide-code pre,.guide-tree pre{margin:0;max-width:100%;overflow-x:auto;font-size:13px;line-height:1.85;tab-size:2}
.guide-code pre{white-space:pre-wrap;overflow-wrap:anywhere}
.guide-tree pre{white-space:pre}
.guide-copy{font-size:11px;min-height:34px;padding:7px 10px;margin-top:13px}
.guide-copy-status{display:inline-block;font-size:11px;color:var(--muted);margin-left:10px;line-height:1.7}
.guide-tip{padding:16px 18px;border-left:3px solid var(--brand);background:var(--brand-soft);border-radius:0 8px 8px 0;margin:22px 0}
.guide-tip strong{font-size:13px}
.guide-tip p{font-size:13px;line-height:1.85;margin:6px 0 0}
.guide-step>p.guide-outcome{padding:15px 18px;border:1px solid var(--line);border-radius:9px;color:var(--muted);font-size:13px;line-height:1.8;margin:22px 0 0}
.guide-outcome strong{color:var(--brand)}
.guide-faq,.guide-sources,.guide-related{margin-top:28px}
.guide-faq h2,.guide-sources h2,.guide-related h2{font-size:19px;margin:0 0 16px}
.guide-faq details{font-size:14px}
.guide-faq details p{line-height:1.85;overflow-wrap:anywhere}
.guide-related{display:flex;flex-wrap:wrap;gap:10px}
.guide-related h2{flex:0 0 100%;margin-bottom:4px}
.guide-related>a{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:1 1 220px;padding:14px;border:1px solid var(--line);border-radius:8px;font-size:13px;background:var(--raised)}
.guide-related>a:hover{border-color:var(--brand);color:var(--brand)}
.guide-related>a span{color:var(--brand)}
.guide-toc a:focus-visible,.guide-figure a:focus-visible,.guide-related>a:focus-visible{outline:2px solid var(--brand);outline-offset:4px}
@media(max-width:600px){.instructions-card__preview{height:150px}.guide-intro{font-size:14px}.guide-preparation{padding:16px}.guide-preparation ul{font-size:13px}.guide-step{padding-bottom:24px;margin-bottom:24px}.instructions-article .guide-step h2{font-size:18px;gap:10px}.guide-step__number{flex-basis:30px;min-height:30px}.guide-step>p{font-size:14px;line-height:1.85}.guide-code,.guide-tree{padding:13px}.guide-code pre,.guide-tree pre{font-size:11px}.instructions-article .guide-figure .material-gallery{padding:8px}.guide-figure figcaption{padding:11px 12px;font-size:11px}.guide-copy-status{display:block;margin:8px 0 0}.guide-toc ol{font-size:13px}.guide-image-note{margin-bottom:24px}}

/* Installation summary and grouped download files below the material. */
.material-inline-help{margin-top:30px;padding:22px;border:1px solid color-mix(in srgb,var(--brand) 18%,var(--line));border-radius:10px;background:color-mix(in srgb,var(--paper) 94%,var(--brand))}
.material-inline-help h2,.material-inline-downloads>h2{display:flex;align-items:center;gap:10px;font-size:19px;line-height:1.5;margin:0 0 16px;overflow-wrap:anywhere}
.material-inline-help h2 svg,.material-inline-downloads>h2 svg{flex:0 0 20px;width:20px;height:20px;color:var(--brand)}
.material-inline-help ol{margin:0 0 20px;padding-left:23px;display:grid;gap:9px;color:var(--muted);font-size:14px;line-height:1.8}
.material-inline-help li{padding-left:3px}
.material-inline-help li::marker{color:var(--brand);font-weight:600}
.material-inline-help .material-inline-help__link{display:flex;width:100%;justify-content:center;gap:8px;font-size:12px;white-space:normal;text-align:center;line-height:1.6;background:var(--brand-soft);border-color:transparent;color:var(--brand)}
.material-inline-help__link:hover{border-color:var(--brand);background:color-mix(in srgb,var(--brand-soft) 80%,var(--paper))}
.material-inline-help__link svg{flex:0 0 16px;width:16px;height:16px}
.material-inline-downloads{margin-top:24px;scroll-margin-top:110px;min-width:0}
.material-inline-downloads>h2{padding:17px 19px;background:var(--raised);border:1px solid var(--line);border-radius:9px;margin-bottom:12px;font-size:18px}
.material-files-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:15px;border:1px solid var(--line);border-radius:9px;background:var(--bg)}
.material-loader-tabs{display:flex;flex-wrap:wrap;gap:5px;align-self:center;flex:1 1 250px}
.material-loader-tabs button{font:inherit;font-size:12px;font-weight:600;line-height:1.4;padding:8px 11px;min-height:34px;border-radius:6px;border:1px solid var(--line);background:var(--raised);color:var(--muted);cursor:pointer}
.material-loader-tabs button:hover{border-color:var(--brand);color:var(--ink)}
.material-loader-tabs button[aria-pressed="true"]{border-color:color-mix(in srgb,var(--brand) 40%,var(--line));color:var(--brand);background:var(--brand-soft)}
.material-files-version,.material-files-search{display:grid;gap:5px;font-size:10px;color:var(--muted);min-width:0;flex:0 1 180px}
.material-files-search{flex:1 1 220px}
.material-files-version select,.material-files-search input{font:inherit;font-size:12px;line-height:1.5;color:var(--ink);border:1px solid var(--line);border-radius:6px;min-height:36px;width:100%;max-width:100%;padding:7px 10px;background:var(--paper)}
.material-files-count{font-size:11px;line-height:1.7;color:var(--muted);margin:11px 0}
.material-files-list{display:grid;gap:10px}
.material-file-group{display:grid;grid-template-columns:100px minmax(0,1fr);border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--bg)}
.material-file-group h3{display:flex;align-items:center;justify-content:center;margin:0;padding:15px 10px;font-size:13px;line-height:1.7;font-weight:600;color:var(--brand);text-align:center;overflow-wrap:anywhere;background:var(--brand-soft);border-right:1px solid var(--line)}
.material-file-group>div{min-width:0}
.material-file-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;color:var(--ink);min-width:0;transition:background-color 120ms}
.material-file-row+.material-file-row{border-top:1px solid var(--line)}
.material-file-row:hover{background:var(--raised)}
.material-file-row__body{display:flex;flex-wrap:wrap;align-items:center;gap:7px 9px;min-width:0}
.material-loader-badge{font-size:10px;line-height:1.4;padding:4px 7px;border-radius:4px;font-weight:600;background:var(--brand-soft);color:var(--brand)}
.material-loader-badge--forge{background:color-mix(in srgb,var(--paper) 88%,#d9aa64);color:#d9aa64}
.material-loader-badge--neoforge{background:color-mix(in srgb,var(--paper) 88%,#e5a477);color:#e5a477}
.material-loader-badge--fabric{background:color-mix(in srgb,var(--paper) 88%,#9ccad0);color:#9ccad0}
.material-loader-badge--quilt{background:color-mix(in srgb,var(--paper) 88%,#b5a3df);color:#b5a3df}
[data-theme="light"] .material-loader-badge--forge{color:#81520b}[data-theme="light"] .material-loader-badge--neoforge{color:#8b441a}[data-theme="light"] .material-loader-badge--fabric{color:#235c65}[data-theme="light"] .material-loader-badge--quilt{color:#624294}
.material-file-row__name{font-size:13px;font-weight:600;line-height:1.7;overflow-wrap:anywhere;min-width:0}
.material-file-row__label,.material-file-row__host{flex:0 0 100%;color:var(--muted);font-size:11px;line-height:1.7;overflow-wrap:anywhere}
.material-file-row__action{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;font-size:11px;font-weight:600;color:var(--muted)}
.material-file-row:hover .material-file-row__action{color:var(--brand)}
.material-files-more{display:flex;justify-content:center;width:100%;margin-top:12px;font-size:12px}
.material-files-more[hidden]{display:none}
.material-file-row:focus-visible,.material-loader-tabs button:focus-visible,.material-files-version select:focus-visible,.material-files-search input:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
@media(max-width:600px){.material-inline-help{padding:16px;margin-top:24px}.material-inline-help h2,.material-inline-downloads>h2{font-size:16px}.material-inline-help ol{font-size:13px;gap:8px}.material-inline-help .material-inline-help__link{padding:10px;font-size:11px}.material-inline-help__link svg:last-child{display:none}.material-inline-downloads>h2{padding:14px}.material-files-filters{padding:12px;gap:10px}.material-loader-tabs{flex-basis:100%}.material-loader-tabs button{padding:7px 9px;font-size:11px}.material-files-version,.material-files-search{flex:1 1 100%}.material-file-group{grid-template-columns:1fr}.material-file-group h3{justify-content:flex-start;text-align:left;font-size:12px;padding:9px 12px;border-right:0;border-bottom:1px solid var(--line)}.material-file-row{padding:12px;gap:10px}.material-file-row__action>span{display:none}.material-file-row__name{font-size:12px}.material-file-row__label,.material-file-row__host{font-size:10px}.material-file-row__action svg{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.material-file-row{transition:none}}

/* Quiet Minecraft tools behind the installation navigation. */
.instructions-sidebar{isolation:isolate;overflow:hidden}
.instructions-sidebar::before,.instructions-sidebar::after{content:"";position:absolute;z-index:-1;pointer-events:none;background-position:center;background-size:contain;background-repeat:no-repeat;image-rendering:pixelated}
.instructions-sidebar::before{width:146px;height:146px;right:-29px;top:78px;background-image:url('/assets/logo-pickaxe-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');opacity:.065;transform:rotate(-18deg)}
.instructions-sidebar::after{width:142px;height:142px;left:-31px;bottom:73px;background-image:url('/assets/enchanted-sword-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');opacity:.055;transform:rotate(16deg)}
.instructions-sidebar h2,.instructions-sidebar nav,.instructions-sidebar .instructions-launcher-link{position:relative;z-index:1}
@media(max-width:800px){.instructions-sidebar::before{width:94px;height:94px;right:55px;top:-9px;opacity:.045}.instructions-sidebar::after{width:100px;height:100px;left:auto;right:2px;bottom:-25px;opacity:.04}}

/* Minecraft accents for guide panels; decorations stay behind readable content. */
.instructions-article{background:radial-gradient(ellipse 660px 260px at 100% 0,color-mix(in srgb,var(--brand) 4%,transparent),transparent 80%),var(--paper)}
.guide-preparation,.guide-toc,.guide-faq,.guide-tree,.guide-code,.guide-tip,.guide-step>p.guide-outcome,.guide-related>a,.material-inline-help{position:relative;isolation:isolate;overflow:hidden}
.guide-preparation::after,.guide-toc::after,.guide-faq::after,.guide-tree::after,.guide-code::after,.guide-tip::after,.guide-outcome::after,.guide-related>a::after,.material-inline-help::after{content:"";position:absolute;z-index:-1;pointer-events:none;background-position:center;background-size:contain;background-repeat:no-repeat;image-rendering:pixelated}
.guide-preparation{background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--brand) 6%,transparent),transparent 75%),var(--raised)}
.guide-preparation::after{background-image:url('/assets/crafting-table-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');width:144px;height:144px;right:-14px;bottom:-27px;opacity:.075;transform:rotate(-10deg)}
.guide-toc{padding:22px;border:1px solid var(--line);border-radius:10px;background:linear-gradient(110deg,var(--raised),var(--paper))}
.guide-toc::after{background-image:url('/assets/logo-pickaxe-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');width:188px;height:188px;right:20px;bottom:-26px;opacity:.075;transform:rotate(-17deg)}
.guide-tree,.guide-code{background:radial-gradient(ellipse at 100% 100%,color-mix(in srgb,var(--brand) 4%,transparent),transparent 75%),var(--bg)}
.guide-tree::after{background-image:url('/assets/crafting-table-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');width:108px;height:108px;right:13px;bottom:-18px;opacity:.05}
.guide-code::after{background-image:url('/assets/diamond-axe-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');width:92px;height:92px;right:8px;bottom:-19px;opacity:.055;transform:rotate(15deg)}
.guide-tip::after,.guide-outcome::after{background-image:url('/assets/logo-emerald-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');width:70px;height:70px;right:-10px;bottom:-22px;opacity:.055;transform:rotate(-16deg)}
.guide-faq{padding:22px;border:1px solid var(--line);border-radius:10px;background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--brand) 5%,transparent),transparent 70%),var(--raised)}
.guide-faq::after{background-image:url('/assets/enchanted-sword-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');width:152px;height:152px;right:-26px;bottom:-22px;opacity:.045;transform:rotate(14deg)}
.guide-related>a{background:linear-gradient(115deg,var(--raised),color-mix(in srgb,var(--raised) 96%,var(--brand)))}
.guide-related>a::after{background-image:url('/assets/diamond-axe-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');width:64px;height:64px;right:19px;bottom:-23px;opacity:.065;transform:rotate(-14deg)}
.guide-related>a:nth-of-type(even)::after{background-image:url('/assets/logo-pickaxe-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');transform:rotate(12deg)}
.instructions-card{background:radial-gradient(ellipse at 100% 100%,color-mix(in srgb,var(--brand) 4%,transparent),transparent 75%),var(--paper)}
.material-inline-help::after{background-image:url('/assets/crafting-table-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');width:145px;height:145px;right:0;top:12px;opacity:.055;transform:rotate(-9deg)}
@media(max-width:600px){.guide-toc,.guide-faq{padding:16px}.guide-preparation::after{width:110px;height:110px;right:-21px;bottom:-20px;opacity:.055}.guide-toc::after{width:132px;height:132px;right:-27px;bottom:-21px;opacity:.05}.guide-faq::after{width:108px;height:108px;opacity:.035}.guide-tree::after,.guide-code::after{width:72px;height:72px;opacity:.035}.material-inline-help::after{width:100px;height:100px;right:-18px;opacity:.04}}

/* Different Minecraft items for material download panels and file groups. */
.material-inline-downloads>h2,.material-files-filters,.material-file-group{position:relative;isolation:isolate;overflow:hidden}
.material-inline-downloads>h2::after,.material-files-filters::after,.material-file-group::after,.material-download-panel::after{content:"";position:absolute;z-index:-1;pointer-events:none;background-position:center;background-size:contain;background-repeat:no-repeat;image-rendering:pixelated}
.material-inline-downloads>h2{background:linear-gradient(105deg,var(--raised),color-mix(in srgb,var(--raised) 96%,var(--brand)))}
.material-inline-downloads>h2::after{background-image:url('/assets/diamond-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');width:70px;height:70px;right:22px;bottom:-22px;opacity:.085;transform:rotate(-17deg)}
.material-files-filters{background:radial-gradient(ellipse at 75% 100%,color-mix(in srgb,var(--brand) 4%,transparent),transparent 75%),var(--bg)}
.material-files-filters::after{background-image:url('/assets/iron-ingot-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');width:96px;height:96px;right:235px;bottom:-35px;opacity:.06;transform:rotate(14deg)}
.material-file-group{background:radial-gradient(ellipse at 85% 100%,color-mix(in srgb,var(--brand) 3%,transparent),transparent 75%),var(--bg)}
.material-file-group::after{background-image:url('/assets/iron-pickaxe-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');width:102px;height:102px;right:125px;bottom:-28px;opacity:.07;transform:rotate(-16deg)}
.material-file-group:nth-child(4n+2)::after{background-image:url('/assets/gold-ingot-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');width:87px;height:87px;right:190px;bottom:-28px;opacity:.065;transform:rotate(12deg)}
.material-file-group:nth-child(4n+3)::after{background-image:url('/assets/diamond-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');width:86px;height:86px;right:98px;bottom:-24px;opacity:.065;transform:rotate(-12deg)}
.material-file-group:nth-child(4n+4)::after{background-image:url('/assets/tnt-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');width:82px;height:82px;right:170px;bottom:-27px;opacity:.055;transform:rotate(9deg)}
.material-download-panel{isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--brand) 4%,transparent),transparent 70%),var(--paper)}
.material-download-panel::after{background-image:url('/assets/iron-pickaxe-transparent.png?rev=3d7f007c0971458ebf98c2fb6f8ba5f4');width:145px;height:145px;right:-30px;bottom:-27px;opacity:.055;transform:rotate(14deg)}
@media(max-width:600px){.material-inline-downloads>h2::after{width:54px;height:54px;right:-4px;opacity:.055}.material-files-filters::after{width:86px;height:86px;right:-18px;top:-24px;bottom:auto;opacity:.045}.material-file-group::after,.material-file-group:nth-child(4n+2)::after,.material-file-group:nth-child(4n+3)::after,.material-file-group:nth-child(4n+4)::after{width:70px;height:70px;right:45px;bottom:-24px;opacity:.05}.material-download-panel::after{width:108px;height:108px;opacity:.04}}

/* Stepped colour bands inspired by Minecraft's enchanted-item glint. */
.servers-launcher{background:linear-gradient(110deg,rgba(39,231,164,.035),rgba(99,194,255,.035) 35%,rgba(165,113,246,.045) 65%,rgba(236,195,113,.025)),color-mix(in srgb,var(--paper) 85%,transparent);animation:cc-launcher-enchanted-edge 6s ease-in-out infinite}
.servers-launcher::before{inset:-80% -90%;background:linear-gradient(116deg,transparent 0 35%,rgba(39,236,171,.13) 35% 38%,rgba(84,206,242,.2) 38% 42%,rgba(151,110,247,.24) 42% 46%,rgba(206,143,235,.18) 46% 49%,rgba(241,202,128,.13) 49% 52%,transparent 52% 100%);opacity:.75;transform:translateX(-43%);animation:cc-launcher-enchanted-sweep 3.6s linear infinite;transition:opacity 180ms;will-change:transform}
.servers-launcher:is(:hover,:focus-within){animation:none}
.servers-launcher:is(:hover,:focus-within)::before{opacity:1}
html[data-theme="light"] .servers-launcher::before{opacity:.48}
html[data-theme="light"] .servers-launcher:is(:hover,:focus-within)::before{opacity:.72}
@keyframes cc-launcher-enchanted-sweep{0%,12%{transform:translateX(-43%)}72%,100%{transform:translateX(43%)}}
@keyframes cc-launcher-enchanted-edge{0%,100%{border-color:rgba(51,204,157,.22)}33%{border-color:rgba(104,177,226,.24)}66%{border-color:rgba(164,120,218,.25)}}
@media(prefers-reduced-motion:reduce){.servers-launcher{animation:none}.servers-launcher::before{animation:none;transform:translateX(0);opacity:.3;will-change:auto}.servers-launcher:is(:hover,:focus-within)::before{opacity:.3}}


/* Owner-managed server banners, shared by the public catalog and boost preview. */
.server-banner-link{display:block;width:100%;max-width:468px;aspect-ratio:468/60;border-radius:6px;overflow:hidden;margin:2px 0 13px;border:1px solid var(--line);background:var(--bg)}
.server-banner{display:block;width:100%;height:100%;object-fit:cover}
.server-banner-link:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.boost-banner-editor{margin-top:26px;padding-top:24px;border-top:1px solid var(--line)}
.boost-banner-editor h2{display:flex;align-items:center;gap:9px;font-size:18px;margin:0 0 12px}
.boost-banner-editor h2 svg{width:19px;height:19px;color:var(--brand)}
.boost-banner-editor>.form-note{line-height:1.85;margin:10px 0}
.boost-banner-file-label{display:grid;gap:8px;margin-top:16px;font-size:12px;color:var(--muted)}
.boost-banner-file-label input{max-width:100%;font:inherit;font-size:11px;padding:10px;background:var(--bg);border:1px solid var(--line);border-radius:6px;color:var(--ink)}
.boost-banner-file-label input::file-selector-button{padding:7px 9px;border:1px solid var(--line);border-radius:5px;background:var(--raised);color:var(--ink);font:inherit;cursor:pointer;margin-right:9px}
.boost-banner-frame{display:flex;align-items:center;justify-content:center;aspect-ratio:468/60;margin-top:14px;border:1px dashed color-mix(in srgb,var(--brand) 30%,var(--line));border-radius:7px;overflow:hidden;background:linear-gradient(120deg,var(--bg),var(--brand-soft));min-height:48px}
.boost-banner-frame>img{display:block;width:100%;height:100%;object-fit:cover}
.boost-banner-frame>span{font-size:11px;color:var(--muted);padding:10px;text-align:center}
.boost-banner-frame>[hidden],#boost-banner-controls[hidden],#boost-banner-account[hidden],#boost-banner-remove[hidden]{display:none}
.boost-banner-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.boost-banner-actions button{font-size:12px}
.boost-banner-actions button:disabled{opacity:.5;cursor:default}
.boost-preview-row>div:not(.boost-server-avatar){min-width:0}
.boost-preview-row .boost-rating-banner{display:block;width:100%;max-width:468px;height:auto;aspect-ratio:468/60;object-fit:cover;image-rendering:auto;border-radius:5px;border:1px solid var(--line);margin-top:8px}
@media(max-width:600px){.boost-banner-editor h2{font-size:16px}.boost-banner-actions{display:grid;grid-template-columns:1fr}.boost-banner-actions button{width:100%}.boost-banner-frame>span{font-size:10px}.server-banner-link{margin-bottom:10px}.boost-preview-row .boost-rating-banner{margin-top:6px}}


/* Structured server facts alongside the profile, without country information. */
.server-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:28px}
.server-profile-layout>.profile-card{min-width:0;grid-template-columns:96px minmax(0,1fr);gap:22px}
.server-profile-layout .profile-avatar,.server-profile-layout .profile-icon{width:96px;height:96px}
.server-profile-layout .profile-card h1{overflow-wrap:anywhere}
.server-profile-layout .profile-card .lead{font-size:14px;line-height:1.85;overflow-wrap:anywhere}
.server-profile-layout .profile-meta{gap:8px;font-size:11px}
.server-profile-layout .profile-meta>span{padding:7px 9px}
/* Frosted server statistics with quiet pixel-art navigation and mining tools. */
.server-info-card{position:relative;isolation:isolate;overflow:hidden;min-width:0;padding:22px;border:1px solid var(--line);border-radius:15px;background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--brand) 5%,transparent),transparent 66%),var(--paper);box-shadow:0 12px 32px rgba(0,0,0,.12)}
@supports ((backdrop-filter:blur(20px)) or (-webkit-backdrop-filter:blur(20px))){.server-info-card{background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--brand) 5%,transparent),transparent 66%),color-mix(in srgb,var(--paper) 86%,transparent);-webkit-backdrop-filter:blur(20px) saturate(.8);backdrop-filter:blur(20px) saturate(.8)}}
.server-info-card::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAJFBMVEUAAAAYFxdeXl6CgoKoqKjY2Nj///9kZGT/FBRPTU0vLy81NTVti5pMAAAAAXRSTlMAQObYZgAAAFdJREFUeNqNzzkSwDAIQ9GAgARz//vGFpOltLr/GoZjc8X90gwKfUgUNeZKVbqZ1yKKsAmjPsjrfMFaVoOAiMEB2eAeYe7QzD4zw2GmupoiRhB2E7f55w0LVwN71tkVpQAAAABJRU5ErkJggg=="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEUAAABJNhUoHgsz68sIJSAOPzaJZycrx6wnsppoTh6NJ1OoAAAAAXRSTlMAQObYZgAAADhJREFUGFeVyTkCACAMAkFyqv//sG3Ayu0GgJ+qkh2x51KxdiR7zQGmbleDfBwzazH/9vxiwHWgLn4QANVOSXqPAAAAAElFTkSuQmCC"),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAcElEQVQ4y2NgoDWwcwn+T5Fmz4BU8g0AaabYBRQ7n2xXdAcZ/G90UAZjEJts28lyBcjWw8lK/z9M9ARjEBskRpLzQRp/nkwDYxCbJG+AFIM0/v9/9f/fv91gNlkGgDSDDCHZAJB/0b1AUhhQHAt0BQC1x4L/5kOeogAAAABJRU5ErkJggg==");background-repeat:no-repeat;background-size:104px 104px,138px 138px,92px 92px;background-position:right -20px top 72px,left -31px center,right -8px bottom 58px;image-rendering:pixelated;opacity:.075}
.server-info-card>h2,.server-info-card>dl,.server-info-card>details,.server-info-card>.server-info-updated{position:relative;z-index:1}
.server-info-card h2{font-size:18px;line-height:1.5;margin:0 0 13px}
.server-info-card dl{margin:0}
.server-info-row{display:grid;grid-template-columns:128px minmax(0,1fr);align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.65}
.server-info-row:last-child{border-bottom:0;padding-bottom:2px}
.server-info-row dt{display:flex;align-items:center;gap:8px;color:var(--muted);font-weight:500;min-width:0}
.server-info-row dt svg{width:16px;height:16px;flex:0 0 16px;opacity:.8}
.server-info-row dd{margin:0;min-width:0;overflow-wrap:anywhere;font-weight:600}
.server-info-row dd>small{display:block;font-size:10px;line-height:1.75;font-weight:400;color:var(--muted);margin-top:2px}
.server-info-address{font-size:11px;overflow-wrap:anywhere}
.server-info-copy{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:24px;height:24px;margin-left:3px;padding:3px;border:0;border-radius:4px;background:transparent;color:var(--muted);cursor:pointer}
.server-info-copy svg{width:13px;height:13px}
.server-info-copy:hover{color:var(--brand);background:var(--brand-soft)}
.server-info-status{display:inline-flex;align-items:center;gap:7px}
.server-info-status>span{width:8px;height:8px;border-radius:2px;background:var(--muted);flex:0 0 8px}
.server-info-status--online>span{background:var(--brand);box-shadow:0 0 7px color-mix(in srgb,var(--brand) 20%,transparent)}
.server-info-status--offline>span{background:#cf8b82}
.server-info-version,.server-info-positive{color:var(--brand)}
.server-info-unknown{color:var(--muted);font-weight:400}
.server-info-boosts{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.server-info-boosts>a{color:var(--brand);background:var(--brand-soft);border:1px solid transparent;border-radius:5px;padding:2px 6px;font-size:10px;line-height:1.6;font-weight:500}
.server-info-boosts>a:hover{border-color:var(--brand)}
.server-info-updated{margin:18px 0 0;padding-top:13px;border-top:1px solid var(--line);font-size:10px;line-height:1.75;color:var(--muted)}
.server-info-copy:focus-visible,.server-info-boosts>a:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.server-profile-banner{display:block;width:100%;max-width:468px;height:auto;aspect-ratio:468/60;object-fit:cover;border:1px solid var(--line);border-radius:6px;margin:17px 0}
@media(max-width:1100px){.server-profile-layout{grid-template-columns:1fr;gap:24px}.server-profile-layout>.profile-card{grid-template-columns:128px minmax(0,1fr);gap:30px}.server-profile-layout .profile-avatar,.server-profile-layout .profile-icon{width:128px;height:128px}.server-info-card{max-width:680px;width:100%}.server-info-row{grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr)}}
@media(max-width:600px){.server-profile-layout>.profile-card{grid-template-columns:1fr;gap:20px}.server-profile-layout .profile-avatar,.server-profile-layout .profile-icon{width:80px;height:80px}.server-info-card{padding:18px;border-radius:12px}.server-info-card h2{font-size:17px}.server-info-row{grid-template-columns:112px minmax(0,1fr);gap:10px;font-size:11px;padding:12px 0}.server-info-row dt{gap:7px}.server-info-address{font-size:10px}.server-info-row dt svg{width:15px;height:15px;flex-basis:15px}.server-info-copy{width:22px;height:22px}.server-info-boosts{gap:5px}}


/* Compact provenance for measured and externally reported server facts. */
.server-fact-source{display:block;margin-top:3px;color:var(--muted);font-size:9px;line-height:1.65;font-weight:400;overflow-wrap:anywhere}
.server-fact-source a{text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:2px}
.server-fact-source a:hover{color:var(--brand)}
.server-info-sources{border-top:1px solid var(--line);margin-top:17px;padding-top:13px;font-size:10px;color:var(--muted);line-height:1.85}
.server-info-sources summary{cursor:pointer;color:var(--ink);font-weight:500}
.server-info-sources p{margin:9px 0 0}
.server-info-sources+.server-info-updated{margin-top:12px}

/* Compact daily IP copies alongside votes; demo counts stay visibly marked. */
.server-engagement{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;column-gap:8px;row-gap:4px;min-width:0}
.server-copy-count{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:9px;line-height:1.5;white-space:nowrap}
.server-copy-count :is(.lucide,[data-lucide]){width:11px;height:11px;color:var(--muted)}
.server-copy-count b{font-weight:500;font-variant-numeric:tabular-nums}
.server-copy-count small{font-size:8px;color:var(--gold);border:1px solid color-mix(in srgb,var(--gold) 20%,transparent);border-radius:3px;padding:0 3px}
@media(max-width:600px){.server-actions .favorite-server{grid-column:2;grid-row:1;margin-bottom:0}.server-actions .ip-box{grid-column:1;grid-row:1}.server-actions .review-link{grid-column:2;grid-row:2}.server-actions .server-engagement{grid-column:1;grid-row:2;justify-content:flex-start;gap:4px 12px}.server-actions .server-engagement .votes{display:flex}}
#server-copy-statistics .stats{margin:16px 0 22px}#copies-search{max-width:420px}#copies-table{margin-top:16px}

/* Keep the entire skin visible in mixed search results, including on hover. */
.material-grid .search-skin-card>a:first-child>img{height:180px;object-fit:contain;object-position:center;padding:12px 20px;background:radial-gradient(ellipse at center,color-mix(in srgb,var(--brand) 5%,transparent),transparent 75%),var(--raised);image-rendering:pixelated;transform:none}
