:root {
  color-scheme: light;
  --bg: #faf9f6;
  --paper: #fff;
  --ink: #282831;
  --muted: #68636b;
  --sub: #68636b;
  --line: #e7e2df;
  --accent: #d7543f;
  --accent-text: #a63e2e;
  --accent-soft: #f7e9e3;
  --sidebar: 224px;
  --font: ui-rounded, 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2,.7,.25,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
button { cursor: pointer; }
button, input, select { min-width: 0; }
button { border: 1px solid var(--line); border-radius: 9px; padding: 8px 13px; color: var(--ink); background: var(--paper); transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease); }
button:hover { background: #f4efeb; }
button:disabled { cursor: default; opacity: .45; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #a63e2e; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 200; padding: 12px 18px; background: var(--paper); border: 2px solid var(--accent-text); border-radius: 8px; }
.skip:focus { top: 12px; }
.ui-icon, .icon { width: 22px; height: 22px; flex: none; vertical-align: middle; }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 8px; background: transparent; border-color: transparent; border-radius: 10px; }
.icon-button img { width: 22px; height: 22px; }
.text-button { padding: 0; border: 0; background: none; border-radius: 3px; display: inline-flex; align-items: center; gap: 7px; color: var(--accent-text); font-weight: 500; }
.text-button:hover { background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.text-button img { width: 17px; height: 17px; }
.quiet-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: transparent; border-color: transparent; color: var(--muted); }
.quiet-button img { width: 19px; height: 19px; }
.quiet-button[aria-pressed=true] { color: var(--accent-text); background: var(--accent-soft); }
.primary-button { background: var(--accent-text); color: #fff; border-color: var(--accent-text); font-weight: 500; }
.primary-button:hover { background: #8f3224; }
.muted, .loading-copy { color: var(--muted); }
.loading-copy { padding: 14px 0; font-size: 14px; }
.warn, .health-note { color: #916025; }

/* Persistent navigation. The entire drawer can scroll on short screens. */
.project-library { width: var(--sidebar); position: fixed; inset: 0 auto 0 0; z-index: 40; display: flex; flex-direction: column; padding: 30px 16px 18px; border-right: 1px solid #e9e5e2; background: #f5f2ef; overflow-y: auto; overscroll-behavior: contain; }
.library-brand-row { display: flex; align-items: center; justify-content: space-between; padding: 0 10px; }
.brand { display: inline-flex; align-items: baseline; gap: 3px; font-size: 27px; font-weight: 650; line-height: 1; letter-spacing: -1.1px; }
.brand span { color: var(--accent); }
.brand i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-left: 1px; }
.brand:hover { text-decoration: none; }
.library-caption { color: var(--muted); font-size: 12px; margin: 12px 10px 32px; }
.library-nav, .library-categories, .library-secondary { display: grid; gap: 5px; }
.library-nav a, .library-categories a, .library-secondary a, .library-footer a { display: flex; align-items: center; gap: 12px; min-height: 43px; padding: 10px 12px; border-radius: 9px; font-size: 14px; transition: background .16s var(--ease), color .16s var(--ease); }
.library-nav img, .library-categories img, .library-secondary img, .library-footer img { width: 21px; height: 21px; flex: none; opacity: .65; }
.library-nav a:hover, .library-categories a:hover, .library-secondary a:hover, .library-footer a:hover { background: #ece7e3; text-decoration: none; }
.library-nav a[aria-current=page], .library-nav a.active, .library-categories a[aria-current=page], .library-categories a.active, .library-footer a[aria-current=page] { color: var(--accent-text); background: var(--accent-soft); font-weight: 500; }
.library-nav a[aria-current=page] img, .library-categories a[aria-current=page] img { opacity: .85; }
.nav-count { margin-left: auto; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); }
.library-label { margin: 28px 12px 10px; }
.library-label h2 { font-size: 12px; letter-spacing: .025em; font-weight: 500; color: var(--muted); }
.library-categories { gap: 7px; }
.library-categories a { min-height: 45px; }
.library-categories a .category-count, .library-categories a small { margin-left: auto; font-size: 12px; color: var(--muted); }
.library-categories a > img:last-child { margin-left: auto; width: 16px; }
.library-secondary { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; }
.library-secondary a { font-size: 12px; color: var(--muted); gap: 10px; padding: 8px 12px; min-height: 36px; }
.library-secondary img { width: 18px; height: 18px; }
.library-footer { margin-top: auto; padding-top: 32px; }
.library-footer a { font-size: 12px; gap: 9px; min-height: 34px; padding: 7px 10px; color: var(--muted); }
.library-footer a strong { margin-left: auto; font-size: 13px; font-weight: 500; }
.library-footer img { width: 17px; height: 17px; }
.library-close, .library-toggle, .library-backdrop { display: none; }
.page-shell { margin-left: var(--sidebar); min-width: 0; }
.topbar { position: absolute; top: 24px; right: 36px; display: flex; align-items: center; justify-content: flex-end; gap: 20px; height: 28px; z-index: 5; }
.workspace-location, .header-shortcut { display: none; }
.current-date { font-size: 13px; color: var(--muted); white-space: nowrap; }
main { max-width: 1550px; padding: 24px 36px 0; margin: auto; }
.intro { margin-bottom: 12px; }
.eyebrow { color: var(--muted); font-size: 13px; font-weight: 500; margin-bottom: 5px; }
h1 { font-size: 40px; line-height: 1.15; letter-spacing: -1.35px; font-weight: 650; }
h2 { font-size: 22px; letter-spacing: -.45px; line-height: 1.3; font-weight: 600; }
.heading-line { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.intro-copy { font-size: 14px; color: var(--muted); margin-top: 8px; max-width: 55ch; }
.sync-label { font-size: 11px; color: var(--muted); text-align: right; max-width: 285px; padding-bottom: 4px; }
.search-actions { display: flex; align-items: center; gap: 12px; margin-top: 19px; }
.global-search { display: flex; align-items: center; gap: 12px; flex: 1; max-width: 710px; height: 44px; padding: 0 12px 0 14px; border: 1px solid #ddd6d1; border-radius: 11px; background: #fdfbf9; transition: border-color .16s, box-shadow .16s; }
.global-search:focus-within { border-color: var(--accent-text); box-shadow: 0 0 0 2px #a63e2e1c; }
.global-search > img { width: 21px; height: 21px; opacity: .6; }
.global-search input { width: 100%; border: 0; background: transparent; color: var(--ink); padding: 8px 0; font-size: 14px; outline: none; }
.global-search input::placeholder { color: #787078; opacity: 1; }
.global-search kbd { flex: none; border: 1px solid #e6e0dc; border-radius: 5px; color: var(--muted); font: 12px/1.6 var(--font); padding: 0 5px; }
.search-actions > button { font-size: 13px; min-height: 40px; }
.back-to-catalog { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--accent-text); margin-bottom: 16px; }
.back-to-catalog img { width: 17px; height: 17px; }
.page-error { color: #8d342a; background: #fff1ed; border: 1px solid #ebc7bc; padding: 14px 18px; border-radius: 10px; font-size: 14px; margin: 20px 0; }

/* The overview answers total -> platforms -> projects in one viewport. */
.overview-section { margin-bottom: 27px; }
body.catalog-page #platform-cards, body.catalog-page .distribution-row, body.catalog-page .hero-motion { display: none; }
body.catalog-page .total-block { width: 100%; }
.overview-summary { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 96px; }
.total-block { display: flex; align-items: center; gap: 24px; min-width: 0; width: calc(100% - 190px); }
.total-online { color: var(--accent); font-size: clamp(44px,4.1vw,64px); font-weight: 650; line-height: 1; letter-spacing: -2.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.total-description { position: relative; flex: 1; min-width: 0; border-left: 1px solid #dcd3ce; padding-left: 24px; }
.total-description h2 { font-size: 21px; margin-bottom: 4px; }
.total-description > p { font-size: 13px; color: var(--muted); }
.total-description .total-stamp { font-size: 12px; margin-top: 2px; }
.total-description .total-note { margin-top: 4px; max-width: 50ch; color: #8b5f2e; }
.total-description .text-button { font-size: 12px; margin-top: 5px; }
.hero-motion { position: absolute; right: 0; top: -15px; width: 180px; height: 120px; flex: none; isolation: isolate; }
.hero-motion > img, .hero-motion > video { display: block; width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; }
.hero-motion > video { opacity: 0; transition: opacity .18s; }
.hero-motion.is-playing > video { opacity: 1; }
.hero-motion.is-playing > .hero-poster { opacity: 0; }
.hero-motion .motion-toggle { position: absolute; bottom: 0; right: 0; z-index: 2; width: 30px; height: 30px; border: 1px solid #e6dfd9; background: #faf9f6e6; padding: 6px; border-radius: 50%; }
.motion-toggle::before { content: ''; position: absolute; inset: -7px; }
.motion-toggle img { width: 16px; height: 16px; }
.motion-toggle .play-glyph { display: none; }
.hero-motion.is-paused .pause-glyph { display: none; }
.hero-motion.is-paused .play-glyph { display: block; }
.distribution-row { display: flex; align-items: center; gap: 14px; margin: 8px 0 19px; font-size: 12px; color: var(--muted); min-height: 26px; }
.platform-shares { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.platform-share, .share-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 12px; }
.platform-share i, .share-item i, .share-dot { width: 9px; height: 9px; display: inline-block; border-radius: 50%; flex: none; background: var(--platform-color,#c9c5ca); }
.platform-cards { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.platform-card { --platform-bg: #f5f0ec; --platform-line: #e6dcd5; --platform-color: #af8470; min-width: 0; display: flex; flex-direction: column; padding: 16px 16px 14px; min-height: 160px; position: relative; color: var(--ink); border: 1px solid var(--platform-line); border-radius: 15px; background: var(--platform-bg); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); isolation: isolate; }
.platform-card[data-platform="rage"] { --platform-bg: #fbf0e7; --platform-line: #edcdbc; --platform-color: #bc743e; }
.platform-card[data-platform="mobile"] { --platform-bg: #fbf0f2; --platform-line: #ebd1d9; --platform-color: #be6c84; }
.platform-card[data-platform="samp"] { --platform-bg: #edf2fa; --platform-line: #cddbee; --platform-color: #638dbb; }
.platform-card[data-platform="crmp"] { --platform-bg: #eef4e9; --platform-line: #d5e1ca; --platform-color: #729760; }
.platform-card[data-platform="mta"] { --platform-bg: #f2f0f3; --platform-line: #ded8e0; --platform-color: #8c8492; }
.platform-card:hover { text-decoration: none; }
@media (hover:hover) and (pointer:fine) {
  .platform-card:hover { transform: translateY(-3px); box-shadow: 0 9px 20px #28202b0b; border-color: var(--platform-color); }
  .platform-card:hover .platform-art { transform: translateY(-2px) rotate(-4deg) scale(1.16); }
}
.platform-card[aria-current=page], .platform-card.active { border-color: var(--platform-color); box-shadow: inset 0 0 0 1px var(--platform-color); }
.platform-card .platform-art { width: 64px; height: 64px; object-fit: contain; flex: none; transform: scale(1.16); transition: transform .32s var(--ease); }
.platform-top { display: flex; align-items: center; gap: 10px; min-height: 64px; }
.platform-title { font-size: 18px; font-weight: 600; letter-spacing: -.3px; line-height: 1.25; }
.platform-count { font-size: 12px; color: var(--muted); margin-top: 4px; }
.platform-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 14px; }
.platform-value { font-size: 32px; font-weight: 600; letter-spacing: -.9px; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.platform-value.empty-value, .platform-card[data-platform="mta"] .platform-value { font-size: 23px; letter-spacing: -.6px; color: var(--muted); }
.platform-subtitle { font-size: 12px; color: var(--muted); margin-top: 4px; min-height: 18px; }
.platform-arrow { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; border: 1px solid var(--platform-line); background: #ffffff30; flex: none; }
.platform-arrow img { width: 18px; height: 18px; }
.platform-card .health-note { font-size: 11px; margin-top: 7px; }

/* A real table keeps values aligned and relationships readable. */
.catalog { margin-top: 24px; }
.catalog-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.catalog-heading h2 { font-size: 23px; }
.catalog-heading p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.catalog-more { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--accent-text); white-space: nowrap; }
.catalog-more img { width: 18px; height: 18px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 12px 0 6px; }
.catalog-filters, .refresh-controls { display: flex; align-items: center; gap: 7px; }
.select-label select { max-width: 180px; height: 35px; border: 1px solid var(--line); border-radius: 8px; background: transparent; padding: 5px 27px 5px 10px; color: var(--muted); font-size: 12px; }
.refresh-controls > button { font-size: 12px; }
.refresh-controls .icon-button { width: 35px; height: 35px; padding: 8px; }
.refresh-controls .icon-button img { width: 18px; height: 18px; }
#auto-refresh[aria-pressed=true] { color: #496343; background: transparent; }
#auto-refresh[aria-pressed=false] { color: #8b5d27; background: #f6ecd8; }
.project-table-wrap { border-radius: 13px; overflow-x: auto; overscroll-behavior-x: contain; }
.project-table { width: 100%; border-collapse: collapse; table-layout: auto; }
.project-table th { padding: 10px 12px; font-size: 12px; color: var(--muted); font-weight: 500; text-align: left; white-space: nowrap; }
.project-table td { padding: 4.5px 12px; border-top: 1px solid var(--line); vertical-align: middle; font-size: 14px; background: #ffffff35; }
.project-table tbody tr { transition: background .15s; }
.project-table tbody tr:hover { background: #f3ede7; }
.project-table tbody tr.is-selected, .project-table tbody tr.selected { background: #fff0e7; }
.project-table .rank-column { width: 40px; color: var(--muted); font-size: 12px; }
.project-table .compare-column { width: 34px; padding-left: 8px; padding-right: 0; }
body:not(.compare-mode) .project-table .compare-column { display: none; }
.project-table input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--accent-text); cursor: pointer; vertical-align: middle; margin: 0; }
.project-table .project-column { width: 42%; }
.project-table .platform-column { min-width: 90px; }
.project-table .online-column { text-align: right; min-width: 100px; font-variant-numeric: tabular-nums; }
.project-table .stamp-column { text-align: right; font-size: 11px; color: var(--muted); min-width: 105px; }
.project-table th.stamp-column { font-size: 12px; }
.stamp-explainer { display: block; font-size: 12px; line-height: 1.2; font-weight: 400; margin-top: 2px; }
.mobile-source-note { display: none; }
.project-table .favorite-column { width: 50px; text-align: right; padding-right: 8px; }
.project-link-row { display: flex; align-items: center; gap: 13px; width: fit-content; max-width: 100%; }
.project-link-row:hover { text-decoration: none; }
.project-link-row:hover .project-name { text-decoration: underline; text-underline-offset: 4px; }
.project-avatar { position: relative; width: 36px; height: 36px; object-fit: contain; flex: none; }
.project-name { font-size: 15px; font-weight: 550; letter-spacing: -.1px; }
.project-meta { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; font-weight: 400; }
.project-row-platform-mobile { display: none; }
.platform-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 8px; border-radius: 6px; background: #f1ece7; color: #665951; white-space: nowrap; }
.platform-pill img { width: 15px; height: 15px; }
.platform-pill[data-platform="rage"] { background: #faede2; color: #85532c; }
.platform-pill[data-platform="mobile"] { background: #faebef; color: #8e485e; }
.platform-pill[data-platform="samp"] { background: #eaf0f9; color: #426c99; }
.platform-pill[data-platform="crmp"] { background: #eaf1e5; color: #536f43; }
.platform-pill[data-platform="mta"] { background: #eeebf0; color: #6f6179; }
.project-online { display: block; font-size: 18px; font-weight: 550; line-height: 1.15; }
.row-status { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.favorite-button, .project-favorite { width: 36px; height: 36px; padding: 7px; border: 0; background: transparent; display: inline-grid; place-items: center; border-radius: 8px; }
.favorite-button img, .project-favorite img { width: 22px; height: 22px; opacity: .55; }
.favorite-button[aria-pressed=true] img, .project-favorite[aria-pressed=true] img { opacity: 1; filter: invert(35%) sepia(39%) saturate(1116%) hue-rotate(326deg) brightness(92%) contrast(88%); }
.project-icon-fallback { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; background: #ebe5df; color: #6e5e58; font-size: 13px; font-weight: 550; }
.compare-panel { padding: 12px 16px; border: 1px solid #e5cbbf; border-radius: 11px; background: #fff1e9; margin: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.compare-panel p { font-size: 13px; }
.compare-panel > div { display: flex; flex: none; gap: 6px; }
.compare-panel button { font-size: 12px; }
.selection-note { min-height: 21px; font-size: 12px; color: #8b4c32; margin-top: 9px; }
.empty { text-align: center; padding: 48px 24px; border-top: 1px solid var(--line); color: var(--muted); }
.empty > img { width: 32px; height: 32px; opacity: .4; margin-bottom: 12px; }
.empty h3 { color: var(--ink); font-size: 18px; font-weight: 550; }
.empty p { margin: 8px auto 18px; max-width: 48ch; font-size: 14px; }

/* Detail analytics retain real history, with a keyboard-readable data view. */
.analytics { padding: 22px 24px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 17px; margin: 24px 0 30px; }
.analytics-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.selected-title { display: flex; align-items: center; gap: 13px; min-width: 0; }
.selected-title h2 { font-size: 21px; margin: 3px 0; }
.selected-title > div > p { font-size: 12px; }
.project-icon { width: 55px; height: 55px; flex: none; display: grid; place-items: center; }
.project-icon img { width: 100%; height: 100%; object-fit: contain; }
.project-link { font-size: 12px; color: var(--accent-text); }
.selected-count { margin-left: auto; text-align: right; display: flex; flex-direction: column; }
.selected-count strong { font-size: 32px; letter-spacing: -1px; font-weight: 550; line-height: 1.1; font-variant-numeric: tabular-nums; }
.selected-count span { font-size: 12px; color: var(--muted); margin-top: 5px; }
.selected-count small { font-size: 11px; color: var(--muted); margin-top: 4px; }
.favorite-selected { border-color: var(--line); }
.health-note { font-size: 13px; margin: 10px 0; }
.analytics-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 12px; }
.metrics, .periods { display: flex; flex-wrap: wrap; gap: 3px; }
.analytics-controls button { font-size: 12px; border: 0; padding: 8px 10px; background: transparent; color: var(--muted); }
.analytics-controls button[aria-pressed=true] { background: var(--accent-soft); color: var(--accent-text); }
.date-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 14px 0 12px; font-size: 12px; color: var(--muted); }
.date-tools form { display: flex; align-items: center; gap: 8px; }
.date-tools input { font-size: 12px; padding: 7px 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.date-tools button { font-size: 12px; padding: 7px 12px; }
.plot-wrap { position: relative; width: 100%; height: 326px; }
#chart { display: block; width: 100%; height: 100%; touch-action: pan-y; }
#chart-message { position: absolute; inset: 30px 32px 30px 58px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 14px; background: #ffffffd9; padding: 24px; pointer-events: none; }
#tooltip { position: absolute; z-index: 5; background: #282831; color: #fff; padding: 12px 14px; border-radius: 9px; min-width: 180px; max-width: min(380px,100%); box-shadow: 0 5px 18px #28283125; pointer-events: none; }
#tooltip time { display: block; font-size: 11px; color: #ddd9e1; margin-bottom: 7px; }
#tooltip p { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; font-size: 12px; margin-top: 5px; }
#tooltip p span { color: #fff !important; }
#tooltip strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0; }
.legend > button, .legend > span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; }
.legend > button { padding: 5px 8px; border-color: var(--line); }
.legend-detail { color: var(--muted); font-size: 11px; }
.dot { width: 10px; height: 3px; display: inline-block; flex: none; border-radius: 2px; }
.legend-remove { display: inline-flex; }
.legend-remove img { width: 15px; height: 15px; }
.chart-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--muted); }
.chart-footer button { font-size: 11px; }
.data-note { font-size: 11px; color: var(--muted); margin-top: 9px; }
.chart-help { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; }
.chart-hint { font-size: 11px; color: var(--muted); }
.chart-help > button { font-size: 12px; white-space: nowrap; }
.chart-data-panel { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.table-scroll { overflow-x: auto; max-height: 420px; }
.chart-data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.chart-data-table caption { text-align: left; padding: 8px 0; color: var(--muted); }
.chart-data-table th { text-align: left; background: #f6f3f0; font-weight: 550; white-space: nowrap; }
.chart-data-table td, .chart-data-table th { padding: 9px 12px; border-bottom: 1px solid var(--line); }
.chart-data-table td:not(:first-child) { font-variant-numeric: tabular-nums; }
.table-pager { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.table-pager button { font-size: 12px; }
.project-page .intro .eyebrow { display: none; }
.project-page .sync-label { max-width: 240px; }
.project-page .intro { margin-bottom: 0; }
.project-page .analytics { margin-top: 22px; }
.comparison-page .selected-count, .comparison-page .project-icon, .comparison-page #project-link { display: none; }
.chart-data-table th { position: sticky; top: 0; z-index: 1; }

/* Provenance is available without taking over the overview. */
.sources { border-top: 1px solid var(--line); margin-top: 38px; padding: 26px 0; }
.sources-heading h2 { font-size: 18px; }
.sources-heading p { color: var(--muted); font-size: 13px; margin-top: 8px; max-width: 80ch; }
.source-list { margin-top: 18px; }
.source-row { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.source-status { display: flex; flex-direction: column; gap: 3px; }
.source-status strong { font-size: 13px; font-weight: 550; }
.source-status small, .source-links small { font-size: 11px; color: var(--muted); }
.source-status .source-error-detail, .source-status .warn { color: #8c602e; }
.source-links { display: flex; align-items: center; gap: 13px; font-size: 12px; color: var(--accent-text); }
.source-links small { min-width: 170px; text-align: right; }
footer { border-top: 1px solid var(--line); padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--muted); }
footer strong { font-size: 13px; color: var(--ink); }
.methodology-dialog { width: min(590px,calc(100% - 32px)); max-height: min(780px,calc(100dvh - 40px)); overflow-y: auto; padding: 26px; border: 1px solid var(--line); border-radius: 17px; color: var(--ink); background: var(--paper); box-shadow: 0 20px 80px #28283126; }
.methodology-dialog::backdrop { background: #25232b45; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.dialog-heading h2 { font-size: 23px; }
.methodology-dialog > p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.methodology-dialog dl { margin: 20px 0; }
.methodology-dialog dl > div { border-top: 1px solid var(--line); padding: 14px 0; }
.methodology-dialog dt { font-weight: 600; font-size: 14px; margin-bottom: 5px; }
.methodology-dialog dd { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.methodology-dialog .methodology-foot { font-size: 12px; }

@media (min-width:1600px) {
  :root { --sidebar: 240px; }
  main { padding-left: 48px; padding-right: 48px; }
  .platform-card { min-height: 188px; padding: 20px; }
  .platform-card .platform-art { width: 72px; height: 72px; }
  .platform-value { font-size: 34px; }
}
@media (max-width:1250px) and (min-width:1001px) {
  :root { --sidebar: 205px; }
  main { padding: 24px 26px 0; }
  .library-nav a, .library-categories a { font-size: 13px; padding: 10px; gap: 10px; }
  .hero-motion { width: 145px; height: 104px; }
  .total-block { gap: 18px; }
  .total-description { padding-left: 18px; }
  .total-description h2 { font-size: 18px; }
  .total-description > p { font-size: 12px; }
  .platform-card { padding: 14px 12px; min-height: 163px; }
  .platform-card .platform-art { width: 49px; height: 49px; }
  .platform-top { gap: 7px; min-height: 49px; }
  .platform-title { font-size: 17px; }
  .platform-count { font-size: 11px; }
  .platform-value { font-size: 26px; }
  .platform-card[data-platform="mta"] .platform-value { font-size: 19px; }
  .platform-arrow { width: 26px; height: 26px; }
  .distribution-row { gap: 12px; font-size: 11px; }
  .platform-shares { gap: 9px; }
  .platform-share, .share-item { font-size: 11px; gap: 5px; }
  .project-table .stamp-column { display: none; }
}
@media (min-width:1251px) and (max-width:1400px) {
  .platform-count { font-size: 11px; }
}
@media (max-width:1000px) {
  .page-shell { margin-left: 0; }
  .topbar { position: static; height: 58px; justify-content: flex-start; padding: 0 24px; border-bottom: 1px solid var(--line); gap: 12px; }
  .workspace-location { display: flex; flex-direction: column; gap: 1px; font-size: 12px; }
  .workspace-location small { color: var(--muted); font-size: 10px; }
  .current-date { margin-left: auto; font-size: 11px; }
  .header-shortcut { display: none; }
  .library-toggle, .library-close { display: inline-grid; }
  .library-toggle { border-color: var(--line); width: 35px; height: 35px; padding: 7px; }
  .project-library { width: min(300px,calc(100vw - 48px)); transform: translateX(-105%); visibility: hidden; transition: transform .25s var(--ease),visibility .25s; z-index: 60; padding-top: 24px; }
  .project-library.is-open, body.library-open .project-library, .project-library[data-open=true] { transform: translateX(0); visibility: visible; }
  .library-backdrop { display: block; position: fixed; inset: 0; z-index: 50; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: #24222a45; }
  .library-backdrop:hover { background: #24222a45; }
  body.library-open, body.drawer-open { overflow: hidden; }
  .library-secondary { margin-top: 18px; }
  .library-footer { padding-top: 20px; }
  main { padding: 22px 24px 0; }
  .intro { margin-bottom: 16px; }
  .eyebrow { display: none; }
  h1 { font-size: 34px; }
  .heading-line { gap: 14px; }
  .sync-label { font-size: 10px; max-width: 240px; }
  .search-actions { margin-top: 16px; }
  .global-search { max-width: none; }
  .total-online { font-size: 48px; }
  .hero-motion { width: 145px; height: 102px; }
  .overview-summary { min-height: 112px; }
  .total-block { gap: 20px; width: calc(100% - 155px); }
  .total-description { padding-left: 20px; }
  .total-description h2 { font-size: 19px; }
  .platform-cards { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .platform-card { grid-column: span 2; min-height: 150px; padding: 13px 15px; }
  .platform-card .platform-art { width: 52px; height: 52px; }
  .platform-top { min-height: 52px; }
  .platform-bottom { margin-top: 14px; }
  .platform-card:nth-last-child(-n+2) { grid-column: span 3; }
  .platform-card[data-platform="mta"] .platform-value { font-size: 24px; }
  .distribution-row { margin: 6px 0 18px; flex-wrap: wrap; gap: 7px 12px; }
  .platform-shares { gap: 7px 12px; }
  .project-table .stamp-column { display: none; }
  .analytics-controls { flex-wrap: wrap; }
  .periods { margin-left: auto; }
  .source-links { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width:600px) {
  html { scroll-padding-top: 12px; }
  .topbar { padding: 0 16px; height: 54px; }
  .topbar .current-date { font-size: 10px; }
  main { padding: 17px 16px 0; }
  h1 { font-size: 30px; letter-spacing: -1px; }
  .heading-line { display: block; }
  .sync-label { display: none; }
  .intro-copy { font-size: 12px; margin-top: 5px; }
  .search-actions { gap: 5px; margin-top: 13px; }
  .search-actions > button { padding: 7px; font-size: 0; width: 36px; height: 38px; }
  .search-actions > button img { width: 22px; height: 22px; }
  .global-search { height: 40px; padding-left: 11px; gap: 9px; }
  .global-search input { font-size: 14px; }
  .global-search kbd { display: none; }
  .overview-section { margin-bottom: 23px; }
  .overview-summary { min-height: 120px; gap: 0; position: relative; align-items: flex-start; }
  .total-block { display: block; padding-top: 3px; max-width: 100%; width: 100%; }
  .total-online { font-size: 45px; letter-spacing: -1.8px; display: block; margin-bottom: 5px; padding-right: 86px; }
  .total-description { border-left: 0; padding: 0; }
  .total-description h2 { font-size: 15px; letter-spacing: -.25px; margin-bottom: 3px; }
  .total-description > p { font-size: 12px; }
  .total-description .total-stamp { font-size: 12px; }
  .total-description .text-button { font-size: 12px; margin-top: 5px; }
  .hero-motion { width: 86px; height: 68px; position: absolute; right: -2px; top: 5px; }
  .hero-motion .motion-toggle { width: 25px; height: 25px; padding: 5px; right: 1px; bottom: -2px; }
  .hero-motion .motion-toggle img { width: 13px; height: 13px; }
  .distribution-row { display: none; }
  .platform-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 17px; }
  .platform-card { padding: 11px 12px; min-height: 125px; border-radius: 12px; }
  .platform-card, .platform-card:nth-last-child(-n+2) { grid-column: auto; }
  .platform-card .platform-art { width: 44px; height: 44px; }
  .platform-top { gap: 7px; min-height: 44px; }
  .platform-title { font-size: 16px; letter-spacing: -.25px; }
  .platform-count { font-size: 10px; margin-top: 2px; }
  .platform-bottom { margin-top: 12px; gap: 4px; }
  .platform-value { font-size: 26px; letter-spacing: -.7px; }
  .platform-arrow { width: 25px; height: 25px; }
  .platform-arrow img { width: 15px; height: 15px; }
  .platform-subtitle { font-size: 11px; min-height: 15px; margin-top: 3px; }
  .platform-card[data-platform="mta"] { grid-column: span 2; flex-direction: row; align-items: center; min-height: 74px; gap: 12px; }
  .platform-card[data-platform="mta"] .platform-top { flex: 1; }
  .platform-card[data-platform="mta"] .platform-bottom { margin-top: 0; flex: 1; justify-content: flex-end; gap: 10px; }
  .platform-card[data-platform="mta"] .platform-value { font-size: 20px; letter-spacing: -.5px; }
  .platform-card[data-platform="mta"] .platform-count { display: none; }
  .catalog { margin-top: 23px; }
  .catalog-heading { gap: 10px; }
  .catalog-heading h2 { font-size: 21px; }
  .catalog-heading p { font-size: 11px; max-width: 27ch; }
  .catalog-more { font-size: 11px; gap: 4px; }
  .catalog-more img { width: 15px; height: 15px; }
  .catalog-toolbar { flex-wrap: wrap; gap: 7px; margin-top: 10px; }
  .catalog-filters { flex: 1; gap: 5px; }
  .select-label { min-width: 0; }
  .select-label select { font-size: 11px; max-width: 145px; padding-left: 8px; height: 33px; }
  .refresh-controls { margin-left: auto; gap: 2px; }
  .refresh-controls > button { font-size: 12px; padding: 5px 7px; }
  .refresh-controls .icon-button { width: 30px; height: 30px; }
  .project-table .rank-column, .project-table .platform-column, .project-table .stamp-column { display: none; }
  .project-table th { padding: 9px 6px; font-size: 11px; }
  .project-table td { padding: 10px 6px; }
  .project-table .project-column { width: auto; }
  .project-table .online-column { min-width: 64px; width: 72px; }
  .project-table .favorite-column { width: 33px; padding-right: 0; padding-left: 1px; }
  .project-table .compare-column { width: 25px; padding-left: 2px; }
  .project-avatar, .project-icon-fallback { width: 30px; height: 30px; }
  .project-link-row { gap: 8px; }
  .project-name { font-size: 12px; line-height: 1.3; word-break: break-word; }
  .project-meta { font-size: 10px; line-height: 1.35; }
  .project-row-platform-mobile { display: inline; }
  .project-online { font-size: 16px; }
  .row-status { font-size: 10px; }
  .favorite-button, .project-favorite { width: 32px; height: 36px; padding: 6px; }
  .favorite-button img, .project-favorite img { width: 21px; height: 21px; }
  .compare-panel { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; }
  .compare-panel > div { width: 100%; }
  .compare-panel .primary-button { flex: 1; }
  .selection-note { font-size: 11px; }
  .analytics { margin: 18px -2px 24px; padding: 16px 12px 14px; border-radius: 13px; }
  .analytics-heading { flex-wrap: wrap; gap: 12px; }
  .selected-title { gap: 8px; flex: 1; }
  .selected-title h2 { font-size: 17px; }
  .project-page .selected-title h2 { display: none; }
  .selected-title > div > p { font-size: 11px; }
  .project-icon { width: 42px; height: 42px; }
  .selected-count strong { font-size: 26px; }
  .selected-count span { font-size: 10px; }
  .selected-count small { font-size: 12px; max-width: 172px; }
  .analytics-heading .favorite-selected { width: 34px; height: 34px; padding: 6px; }
  .analytics-controls { display: block; padding-top: 12px; }
  .metrics { margin-bottom: 9px; }
  .periods { gap: 0; }
  .analytics-controls button { font-size: 11px; padding: 7px 8px; }
  .date-tools { display: block; margin-top: 10px; font-size: 11px; }
  .date-tools form { margin-top: 9px; gap: 5px; }
  .date-tools input { width: 122px; min-width: 0; font-size: 11px; padding: 7px 5px; flex: 1; }
  .date-tools button { font-size: 11px; padding: 7px 8px; }
  .plot-wrap { height: 255px; }
  .chart-help { display: block; }
  .chart-help > button { margin-top: 10px; font-size: 11px; }
  .chart-hint, .data-note, .chart-footer { font-size: 10px; }
  .legend { gap: 5px; }
  .legend > button, .legend > span { font-size: 10px; max-width: 100%; }
  .legend-detail { font-size: 10px; }
  .table-pager { justify-content: space-between; font-size: 11px; }
  .sources { margin-top: 26px; padding-top: 22px; }
  .sources-heading h2 { font-size: 17px; }
  .sources-heading p { font-size: 12px; }
  .source-row { display: block; }
  .source-links { margin-top: 7px; justify-content: flex-start; gap: 10px; }
  .source-links small { min-width: 0; text-align: left; }
  footer { display: block; font-size: 10px; }
  footer p { margin-top: 6px; }
  .methodology-dialog { padding: 19px; }
  .dialog-heading h2 { font-size: 20px; }
}
@media (max-width:360px) {
  main { padding-left: 12px; padding-right: 12px; }
  h1 { font-size: 27px; }
  .platform-card { padding-left: 9px; padding-right: 9px; }
  .platform-top { gap: 5px; }
  .platform-title { font-size: 15px; }
  .platform-count { font-size: 9px; }
  .platform-card .platform-art { width: 39px; height: 39px; }
  .platform-value { font-size: 24px; }
  .platform-card[data-platform="mta"] .platform-value { font-size: 18px; }
  .current-date { display: none; }
  .refresh-controls { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .platform-card:hover { transform: none; }
  .platform-card:hover .platform-art { transform: scale(1.16); }
}
@media (hover:none) {
  .platform-card:hover { transform: none; box-shadow: none; }
  .platform-card:hover .platform-art { transform: scale(1.16); }
}
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] .project-library, html[data-motion="off"] .platform-card, html[data-motion="off"] .platform-art { transition: none; }
html[data-motion="off"] .platform-card:hover { transform: none; box-shadow: none; }
html[data-motion="off"] .platform-card:hover .platform-art { transform: scale(1.16); }

/* Stable DOM wrappers supplied by the view controller. */
.project-avatar { display: grid; place-items: center; }
.project-avatar img { width: 100%; height: 100%; object-fit: contain; }
.project-logo { position: relative; }
.logo-image-pending { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.logo-fallback { display: grid; place-items: center; width: 100%; height: 100%; background: #eae4df; color: #6a5e5b; border-radius: 8px; font-size: 13px; font-weight: 550; }
.row-health, .row-peak { display: block; font-size: 11px; color: #8b602b; margin-top: 3px; }
.row-peak { color: var(--muted); }
.row-favorite { width: 36px; height: 36px; padding: 7px; border: 0; background: transparent; display: inline-grid; place-items: center; border-radius: 8px; }
.row-favorite img { width: 22px; height: 22px; opacity: .55; }
.row-favorite[aria-pressed=true] img { opacity: 1; filter: invert(35%) sepia(39%) saturate(1116%) hue-rotate(326deg) brightness(92%) contrast(88%); }
.library-item-online { margin-left: auto; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.platform-share[data-platform="rage"], .share-dot[data-platform="rage"] { --platform-color: #d9a371; }
.platform-share[data-platform="mobile"], .share-dot[data-platform="mobile"] { --platform-color: #d498a7; }
.platform-share[data-platform="samp"], .share-dot[data-platform="samp"] { --platform-color: #91b5de; }
.platform-share[data-platform="crmp"], .share-dot[data-platform="crmp"] { --platform-color: #9cba8c; }
.platform-share[data-platform="mta"], .share-dot[data-platform="mta"] { --platform-color: #bbb5c1; }
.project-table .online-column { font-size: 18px; font-weight: 550; }
.project-table thead .online-column { font-size: 12px; font-weight: 500; }
@media (min-width:601px) { .project-table .project-meta { display: none; } }
@media (max-width:600px) {
  .topbar .current-date { display: none; }
  .topbar .refresh-controls { margin-left: auto; }
  .workspace-location { flex: 1; }
  .platform-count, .platform-subtitle { font-size: 12px; }
  .project-name { font-size: 13px; }
  .project-meta { font-size: 12px; }
  .mobile-source-note { display: block; font-size: 12px; color: var(--muted); margin: 10px 0 4px; max-width: 48ch; }
  .project-table .online-column { font-size: 17px; }
  .project-table thead .online-column { font-size: 11px; }
  .row-favorite { width: 32px; height: 36px; padding: 5px; }
}
.platform-title, .platform-count, .platform-value, .platform-subtitle { display: block; }
.platform-top > div, .platform-bottom > div { min-width: 0; }
.platform-card .platform-subtitle { max-width: 23ch; }

/* The emblem is the object: no shared tile or frame. */
.project-avatar { width: 44px; height: 44px; }
.project-icon { width: 72px; height: 72px; }
.logo-fallback { background: transparent; border-radius: 0; color: #6746a5; }
.row-about { margin-left: 57px; max-width: 42ch; }
.row-description { color: #6c6762; font-size: 12px; line-height: 1.45; margin: 2px 0 4px; text-wrap: pretty; }
.project-website { display: inline-block; color: #78503c; font-size: 12px; line-height: 1.5; text-underline-offset: 3px; padding-block: 2px; }
.project-website:hover { color: #ac432f; text-decoration: underline; }
.project-website-missing { color: var(--muted); font-size: 11px; }
.selected-about { margin: -3px 0 18px 85px; max-width: 66ch; }
.selected-about > p { font-size: 13px; line-height: 1.55; color: #6c6762; margin: 0 0 4px; text-wrap: pretty; }
@media (max-width: 700px) {
  .project-avatar { width: 40px; height: 40px; }
  .project-icon { width: 64px; height: 64px; }
  .project-link-row { gap: 8px; }
  .row-about { margin-left: 48px; }
  .row-description { font-size: 12px; }
  .project-website { min-height: 28px; display: inline-flex; align-items: center; }
  .selected-about { margin-left: 0; margin-top: 2px; }
}

.project-avatar.is-wordmark { width: 72px; }
.project-row:has(.is-wordmark) .row-about { margin-left: 85px; }
.project-icon.is-wordmark { width: 120px; }
.analytics-heading:has(.is-wordmark) + .selected-about { margin-left: 133px; }
@media (max-width: 700px) {
  .project-avatar.is-wordmark { width: 56px; }
  .project-row:has(.is-wordmark) .row-about { margin-left: 64px; }
  .project-icon.is-wordmark { width: 88px; }
  .analytics-heading:has(.is-wordmark) + .selected-about { margin-left: 0; }
}
/* Keep the name/description column aligned even for wide wordmarks. */
.project-avatar, .project-avatar.is-wordmark { width: 72px; }
.project-avatar img { max-width: 44px; }
.project-avatar.is-wordmark img { max-width: 72px; }
.row-about, .project-row:has(.is-wordmark) .row-about { margin-left: 85px; }
@media (max-width: 700px) {
  .project-avatar, .project-avatar.is-wordmark { width: 56px; }
  .project-avatar img { max-width: 40px; }
  .project-avatar.is-wordmark img { max-width: 56px; }
  .row-about, .project-row:has(.is-wordmark) .row-about { margin-left: 0; margin-top: 7px; }
}

/* Project -> server: the same chart, scoped to one stable server identity. */
.project-depth-nav { display:flex;gap:24px;margin:4px 0 24px;padding-bottom:14px;border-bottom:1px solid var(--line);font-size:14px; }
.project-depth-nav a { color:var(--accent-text); }
.servers-section { margin-top:32px;scroll-margin-top:28px; }
#servers-count { color:var(--muted);font-size:16px;font-weight:400;margin-left:8px; }
#servers-message { color:var(--muted);font-size:14px; }
#servers-message:empty { display:none; }
.server-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px; }
.server-card { display:flex;flex-direction:column;justify-content:space-between;gap:20px;padding:18px;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:var(--paper);transition:background .18s,border-color .18s,transform .18s; }
.server-card:hover { text-decoration:none;background:var(--surface-hover);border-color:var(--accent);transform:translateY(-2px); }
.server-card-title { display:flex;flex-direction:column;gap:6px; }
.server-name { font-size:15px;font-weight:600;line-height:1.4;overflow-wrap:anywhere; }
.server-address { color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums; }
.server-card-count { display:flex;align-items:center;gap:8px; }
.server-online { color:var(--accent-text);font-size:27px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap; }
.server-status { color:var(--muted);font-size:12px; }
.server-card-count img { width:18px;height:18px;margin-left:auto; }
.server-stale .server-online { color:var(--muted); }
@media(max-width:1100px) { .server-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .server-grid { grid-template-columns:1fr;gap:9px; }.server-card { padding:15px;gap:14px; }.project-depth-nav { gap:18px; }.servers-section { scroll-margin-top:70px; } }
@media(prefers-reduced-motion:reduce) { .server-card { transition:none; } }

/* The first HTML paint reserves the same places as the live overview. */
body:not(.data-loading) .catalog-skeleton,
body:not(.project-page) .sk-detail,
body.data-loading.project-page :is(#overview-section,#catalog-section),
body.data-loading.overview-page .catalog-toolbar { display:none !important; }
.data-loading {
  --sk-fill:color-mix(in srgb,var(--accent) 13%,var(--paper));
  --sk-line:color-mix(in srgb,var(--muted) 23%,var(--paper));
}
.sk-shape, .data-loading #total-online::before {
  display:block; border-radius:5px; background:var(--sk-line);
}
.sk-nav { display:flex; align-items:center; gap:12px; min-height:44px; padding:8px 12px; }
.sk-nav .sk-icon { width:18px; height:18px; }
.sk-label { width:38%; max-width:86px; height:10px; }
.sk-small { width:30px; height:9px; margin-left:auto; }
.data-loading #total-online { min-width:0; }
.data-loading #total-online::before { content:""; width:3.5em; height:.76em; background:var(--sk-fill); }
.sk-shares { display:flex; gap:12px; flex-wrap:wrap; padding-block:4px; }
.sk-shares i { width:60px; height:8px; }
.platform-cards .sk-card { --platform-bg:color-mix(in srgb,var(--accent) 4%,var(--paper)); --platform-line:var(--line); pointer-events:none; box-shadow:none; background:var(--platform-bg); border-color:var(--platform-line); }
.sk-card .platform-top, .sk-card .platform-bottom { display:flex; align-items:center; gap:10px; }
.sk-art { flex:none; width:44px; height:40px; border-radius:12px; background:var(--sk-fill); }
.sk-card:nth-child(2n) .sk-art { border-radius:9px; }
.sk-count { width:42%; max-width:108px; height:22px; }
.sk-rows tr { height:74px; }
.sk-rows .sk-rank { width:12px; height:10px; }
.sk-project { display:flex; align-items:center; gap:14px; }
.sk-project > div { flex:1; min-width:0; }
.sk-avatar { flex:none; width:42px; height:40px; border-radius:10px; background:var(--sk-fill); }
.sk-name { width:min(68%,154px); height:13px; }
.sk-sub { margin-top:10px; width:min(90%,240px); height:8px; }
.sk-rows tr:nth-child(even) .sk-name { width:min(52%,110px); }
.sk-tag { width:min(80%,68px); height:16px; }
.sk-number { margin-left:auto; width:min(82%,65px); height:16px; }
.sk-detail { padding:22px 0; }
.sk-chart { width:100%; height:clamp(160px,26vw,310px); margin-top:20px; background:var(--sk-fill); }
@media (max-width:600px) {
  .platform-cards .sk-card:last-child { grid-column:1 / -1; flex-direction:row; align-items:center; min-height:74px; gap:16px; }
  .sk-card:last-child :is(.platform-top,.platform-bottom) { flex:1; margin:0; }
  .sk-art,.sk-avatar { width:32px; height:32px; }
  .sk-rows tr { height:60px; }
  .sk-project { gap:8px; }
  .sk-shares { gap:7px; }
  .sk-shares i { width:36px; }
}
@media (prefers-reduced-motion:no-preference) {
  html:not([data-motion="off"]) .data-loading :is(.sk-card,.sk-nav,.sk-rows tr,.sk-shares,.sk-detail),
  html:not([data-motion="off"]) .data-loading #total-online::before {
    animation:catalog-breathe 1.8s ease-in-out infinite alternate;
  }
  .sk-card:nth-child(2n),.sk-nav:nth-child(2n),.sk-rows tr:nth-child(2n) { animation-delay:-.45s !important; }
  @keyframes catalog-breathe { from { opacity:.52; } to { opacity:1; } }
}
