/* Gemensam design för översikt, samling, detaljsida och underhåll. */
:root {
    color-scheme: light;
    --bg: #f8f7f3;
    --bg-card: #f8f7f3;
    --bg-elevated: #fffefa;
    --border: #cbc9c1;
    --border-light: #e4e2db;
    --text: #22221f;
    --text-secondary: #57574f;
    --text-muted: #727269;
    --accent: #22221f;
    --accent-soft: #48483f;
    --highlight: #22221f;
    --highlight-soft: #eeede7;
    --series-edition: #4669d8;
    --series-original: #148c78;
    --success: #148c78;
    --shadow-sm: none;
    --shadow: none;
    --shadow-lg: 0 8px 24px rgba(25, 25, 20, .12);
    --radius: 2px;
    --gray-900: var(--bg);
    --gray-800: var(--bg-card);
    --gray-700: var(--border);
    --gray-600: var(--border);
    --gray-500: var(--text-muted);
    --gray-400: var(--text-secondary);
    --gray-300: var(--text);
    --panel: var(--bg-card);
    --panel-alt: var(--bg);
    --panel-hover: var(--highlight-soft);
    --heading: var(--text);
}
.dark {
    color-scheme: dark;
    --bg: #191a18;
    --bg-card: #191a18;
    --bg-elevated: #23241f;
    --border: #494a42;
    --border-light: #32332d;
    --text: #eeede7;
    --text-secondary: #c1c0b6;
    --text-muted: #a09f93;
    --accent: #eeede7;
    --accent-soft: #cfcec3;
    --highlight: #eeede7;
    --highlight-soft: #292a25;
    --series-edition: #8da8ff;
    --series-original: #4dd4b4;
    --success: #4dd4b4;
    --shadow: none;
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, .25);
}
* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    background-image: none;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--highlight-soft); color: var(--text); }
.font-mono, .stat-value, .track-position, .track-duration { font-family: 'DM Mono', monospace; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.site-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1rem; letter-spacing: -.025em; white-space: nowrap; }
.site-brand::before { content: ''; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: radial-gradient(circle, var(--bg-card) 0 3px, var(--accent) 3px 7px, var(--text) 7px 10px, var(--text-secondary) 10px 11px, var(--text) 11px); }
.site-navigation { display: flex; align-items: center; gap: 6px; }
.site-nav-link { padding: 8px 12px; border-radius: 10px; color: var(--text-secondary); text-decoration: none; font-size: .875rem; font-weight: 500; }
.site-nav-link:hover, .site-nav-link[aria-current="page"] { color: var(--accent); background: var(--highlight-soft); }
.theme-toggle, .site-header #dark-toggle { display: inline-flex; justify-content: center; align-items: center; width: 38px; height: 38px; padding: 9px; margin-left: 6px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 11px; color: var(--text-secondary); }
.theme-toggle svg, .site-header #dark-toggle svg { width: 18px; height: 18px; }
.theme-toggle:hover, .site-header #dark-toggle:hover { border-color: var(--accent); color: var(--accent); background: var(--highlight-soft); }
.hero { padding: 48px 0 0; }
.hero-label, .page-eyebrow { color: var(--accent); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.hero-title { font-size: clamp(2.25rem, 6vw, 3.75rem); letter-spacing: -.045em; }
.hero-subtitle, .page-subtitle { color: var(--text-secondary); }
.hero .stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 24px; margin-top: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); box-shadow: var(--shadow-sm); }
.hero .stat-value { font-size: clamp(1.5rem, 4vw, 2.25rem); }
.stat-label { color: var(--text-muted); font-size: .7rem; }
.grid-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: 24px; }
.grid-layout > *, .recent-grid > *, .record-grid > *, .featured { min-width: 0; }
.col-span-12 { grid-column: 1 / -1; }
.card, .info-card, .control-bar { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card:hover { border-color: var(--border); box-shadow: var(--shadow); }
.card-header, .info-header { padding: 20px 24px; background: transparent; border-bottom: 1px solid var(--border-light); }
.card-title, .section-title { color: var(--text-secondary); font-family: 'DM Sans', sans-serif; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
:root:not(.dark) .section-title { color: var(--text-secondary); }
.card-body { padding: 24px; }
.featured { gap: 14px; }
.featured-cover { display: block; width: 80px; height: 80px; min-width: 80px; max-width: 80px; flex: 0 0 80px; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.featured-year, .tag { background: var(--highlight-soft); color: var(--accent); border-radius: 6px; }
.featured-artist { font-size: .9rem; }
.recent-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.recent-item, .record-card { display: block; padding: 8px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-card); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.recent-item:hover, .record-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.recent-cover-wrapper, .cover-wrapper, .cover-container { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 11px; background: var(--border-light); }
.recent-cover-wrapper > img, .cover-wrapper > img, .cover-container > .cover-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-width: 0; max-width: none; object-fit: cover; }
.recent-info, .record-info { padding: 10px 3px 3px; margin-top: 0; }
.recent-artist, .record-artist { font-size: .85rem; }
.recent-title, .record-title { font-size: .8rem; color: var(--text-secondary); }
.badge { border-radius: 6px; background: var(--highlight-soft); color: var(--accent); }
.badge-box { background: #6366f1; color: #fff; }
.badge-picture { background: #db2777; color: #fff; }
.format-card, .fun-stat { background: var(--bg); border: 1px solid var(--border-light); border-radius: 12px; }
.format-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fun-stat-value { letter-spacing: -.02em; }
.bar-fill { background: var(--accent); }
.chart-container { height: 300px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 12px; font-size: .85rem; color: var(--text-secondary); }
.chart-legend > span { display: inline-flex; align-items: center; gap: 9px; }
.chart-legend strong { padding: 1px 7px; border-radius: 6px; background: var(--bg); color: var(--text); font-size: .75rem; font-weight: 500; }
.legend-line { display: inline-block; width: 24px; border-top: 3px solid var(--series-edition); }
.legend-line-original { border-top: 3px dashed var(--series-original); }
.chart-note { margin-top: 10px; color: var(--text-muted); font-size: .8rem; line-height: 1.6; }
.cta-section { padding: 32px 0; }
.cta-btn { background: var(--accent); color: var(--bg-card); border-radius: 12px; box-shadow: var(--shadow); }
.cta-btn:hover { background: var(--accent-soft); }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 24px 0; margin-top: 32px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .8rem; }
.site-footer a { color: var(--text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.collection-page header:not(.site-header) { padding: 28px 0; }
.header-top { margin-bottom: 24px; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -.04em; }
.view-toggle { border-radius: 12px; }
.view-btn.active, .sort-btn.active { background: var(--highlight-soft); color: var(--accent); }
.sort-btn { font-size: .78rem; }
.search-input { background: var(--bg); border-radius: 11px; }
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--highlight-soft); }
.control-bar.sticky { border-radius: 0 0 var(--radius) var(--radius); }
.control-bar .stats-row { flex-wrap: wrap; }
.action-links { padding: 0 8px; }
.tooltip { border-radius: 14px; box-shadow: var(--shadow-lg); }
.tooltip-wrap > .tooltip { display: none; }
.tooltip-floating { position: fixed; inset: auto; width: 300px; bottom: auto; transform: none; transition: none; opacity: 1; visibility: visible; z-index: 1000; overflow: auto; }
.tooltip-floating[hidden] { display: none; }
.tooltip-floating .tooltip-cover { flex: 0 0 56px; }
.tooltip-floating .tooltip-row { gap: 12px; align-items: start; }
.tooltip-floating .tooltip-label { flex: 0 0 94px; }
.tooltip-floating .tooltip-value { min-width: 0; flex: 1; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.back-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; margin-left: -10px; border-radius: 9px; font-size: .85rem; color: var(--text-secondary); text-decoration: none; }
.back-link:hover { color: var(--accent); background: var(--highlight-soft); }
.release-page .back-link { margin-top: 24px; margin-bottom: 24px; }
.release-page .cover-container { border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.release-page .info-card { backdrop-filter: none; }
.release-page .info-row { border-color: var(--border-light); gap: 16px; }
.release-page .section-title { margin-bottom: 16px; }
.release-page .info-header .section-title { margin-bottom: 0; }
.release-page .text-amber-400 { color: var(--accent); }
.release-page .badge { position: static; }
.release-page .badge-gold { background: var(--highlight-soft); color: var(--accent); }
.release-page .badge-outline { background: var(--bg); color: var(--text-secondary); border-color: var(--border); }
.release-page .track-list { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.release-page .track-item { padding: 14px 20px; border-color: var(--border-light); }
.release-page .track-position, .release-page .track-duration { font-family: 'DM Mono', monospace; }
.release-page .notes-box { background: var(--bg); border-color: var(--border); }
.release-page .action-btn { border-radius: 12px; font-family: inherit; }
.release-page .action-btn-secondary { border-color: var(--border); box-shadow: var(--shadow-sm); }
.release-page .action-btn-spotify { background: #087f45; color: #fff; }
.release-page .gallery-item { border-radius: 12px; }
.release-page .gallery-item img { display: block; }
.release-page #copy-select { border: 1px solid var(--border); border-radius: 10px; }
.maintenance-page .maintenance-panel { max-width: 840px; margin: 32px auto; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); box-shadow: var(--shadow); }
.maintenance-panel h1 { margin-bottom: 12px; font-size: 1.8rem; letter-spacing: -.03em; }
.maintenance-panel p { margin: 12px 0; color: var(--text-secondary); }
.maintenance-panel button { padding: 10px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--highlight-soft); color: var(--accent); }
.maintenance-panel #status { margin-top: 20px; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 12px; }
.log-page { padding: 0; }
.log-page .header { margin-top: 20px; padding: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.log-page .header h1 { color: var(--text); font-size: 1.8rem; letter-spacing: -.03em; }
.log-page .controls, .log-page .controls form { flex-wrap: wrap; }
.log-page .controls input { min-width: 0; }
.log-page input, .log-page .controls button { background: var(--bg-card); border-color: var(--border); border-radius: 10px; color: var(--text); }
.log-page .controls button:hover { background: var(--highlight-soft); color: var(--accent); }
.log-page .log-entry, .log-page .stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.log-page .log-entry { border-left: 3px solid var(--series-original); font-family: 'DM Mono', monospace; font-size: .8rem; overflow-wrap: anywhere; }
.log-page .stat-value { color: var(--text); }
.log-page .timestamp, .log-page .details, .log-page .stat-label { color: var(--text-muted); }
.log-page .message { color: var(--text-secondary); }
.log-page .release-id { color: var(--accent); }
@media (max-width: 1024px) {
    .grid-layout { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .recent-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .recent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .chart-container { height: 260px; }
}
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .site-header { padding: 18px 0; gap: 8px; }
    .site-brand { font-size: .9rem; gap: 7px; }
    .site-brand::before { width: 24px; height: 24px; flex-basis: 24px; }
    .site-nav-link { padding: 7px 8px; font-size: .8rem; }
    .site-navigation { gap: 0; }
    .theme-toggle, .site-header #dark-toggle { width: 34px; height: 34px; margin-left: 4px; padding: 7px; }
    .hero { padding-top: 32px; }
    .hero .stats-row { padding: 20px 12px; gap: 12px; }
    .hero .stat-label { font-size: .6rem; letter-spacing: .03em; }
    .grid-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .card-header, .info-header { padding: 18px; }
    .card-body { padding: 18px; }
    .chart-legend { gap: 10px 16px; font-size: .8rem; }
    .recent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .header-top { gap: 10px; }
    .page-eyebrow { font-size: .65rem; }
    .release-page .info-row { padding: 14px 18px; }
    .maintenance-page .maintenance-panel { padding: 20px; }
}
/* Arkivets typografi och öppna ytor låter omslagen stå för färgen. */
.container { max-width: 1320px; padding-inline: 40px; }
.site-header { padding: 20px 0; border-bottom-color: var(--text); }
.site-brand { font-size: 1rem; font-weight: 600; letter-spacing: -.04em; }
.site-brand::before { content: none; }
.site-navigation { gap: 20px; }
.site-nav-link { padding: 5px 0; border-radius: 0; border-bottom: 1px solid transparent; }
.site-nav-link:hover, .site-nav-link[aria-current="page"] { background: none; color: var(--text); border-bottom-color: var(--text); }
.theme-toggle, .site-header #dark-toggle { border: 0; border-radius: 0; background: none; margin-left: 0; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px; padding: 54px 0 34px; text-align: left; }
.hero-heading { min-width: 0; }
.hero-title { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 400; letter-spacing: -.055em; line-height: 1.05; }
.hero-subtitle { font-size: .9rem; margin-top: 16px; max-width: 32ch; line-height: 1.6; }
.hero .stats-row { background: none; border: 0; border-radius: 0; padding: 0 0 4px; margin: 0; gap: 24px; box-shadow: none; }
.hero .stat { text-align: left; }
.hero .stat-value { font-family: inherit; font-size: 1.7rem; font-variant-numeric: tabular-nums; font-weight: 400; }
.hero .stat-label { text-transform: none; letter-spacing: 0; font-size: .75rem; }
.grid-layout { margin-top: 0; gap: 32px; }
.card, .info-card { border: 0; border-top: 1px solid var(--border); border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.card:hover { box-shadow: none; }
.card-header, .info-header { padding: 17px 0; border-bottom: 0; }
.card-title, .section-title { font-family: Arial, Helvetica, sans-serif; font-size: .72rem; letter-spacing: .07em; font-weight: 500; color: var(--text); }
.card-body { padding: 0 0 16px; }
.featured-cover { border-radius: 0; }
.featured-year { padding: 0; border-radius: 0; background: none; color: var(--text-muted); }
.featured-artist { font-weight: 500; }
.featured-title { font-size: .8rem; }
.recent-section { border-top-color: var(--text); }
.recent-section .card-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-link { font-size: .8rem; text-underline-offset: 4px; color: var(--text-secondary); }
.recent-grid { gap: 24px; }
.recent-item, .record-card { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.recent-item:hover, .record-card:hover { box-shadow: none; }
.recent-cover-wrapper, .cover-wrapper, .cover-container { border-radius: 0; }
.recent-item:hover .recent-cover, .record-card:hover .record-cover { transform: none; box-shadow: none; opacity: .9; }
.record-card:hover .cover-wrapper { box-shadow: none; }
.recent-info, .record-info { padding: 12px 0 0; }
.recent-artist, .record-artist { font-weight: 500; font-size: .875rem; }
.recent-title, .record-title { font-size: .8rem; margin-top: 3px; }
.badge, .badge-box, .badge-picture { border-radius: 0; background: var(--bg-elevated); color: var(--text); font-size: .6rem; font-weight: 400; padding: 3px 6px; }
.format-grid { gap: 0 20px; }
.format-card { display: flex; align-items: baseline; justify-content: space-between; flex-direction: row-reverse; gap: 8px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--border-light); border-radius: 0; background: none; }
.format-card:hover { border-color: var(--border-light); }
.format-value { font-family: inherit; font-size: 1.15rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.format-label { text-transform: none; font-size: .8rem; letter-spacing: 0; color: var(--text-secondary); }
.fun-grid { gap: 24px; }
.fun-stat { padding: 0; border: 0; border-radius: 0; background: none; }
.fun-stat-label { font-size: .7rem; text-transform: none; letter-spacing: 0; }
.fun-stat-value { font-size: 1.45rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.fun-stat-sub { font-size: .75rem; }
.bar-item { padding: 10px 0; gap: 10px; }
.bar-name { font-size: .82rem; font-weight: 400; }
.bar-track { height: 2px; }
.bar-fill { opacity: .65; }
.chart-legend { gap: 12px 24px; }
.chart-legend strong { padding: 0; background: none; color: var(--text-muted); }
.chart-note { font-size: .75rem; }
.chart-container { min-width: 0; overflow: hidden; }
.chart-container canvas { max-width: 100%; }
.condition-bar { height: 5px; border-radius: 0; }
.cta-section { text-align: left; padding: 24px 0; }
.cta-btn { font-size: .85rem; font-weight: 400; padding: 12px 20px; border-radius: 0; box-shadow: none; }
.cta-btn:hover { transform: none; box-shadow: none; }
.site-footer { font-size: .75rem; margin-top: 24px; }
.collection-page header:not(.site-header) { padding: 32px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.collection-page .header-top { order: 2; margin: 0; }
.page-title { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; text-align: left; letter-spacing: -.045em; }
.view-toggle { border: 0; padding: 0; background: none; border-radius: 0; }
.view-btn { border-radius: 0; }
.view-btn.active { background: var(--highlight-soft); color: var(--text); }
.control-bar { padding: 16px 0; border: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; background: var(--bg); top: 0; margin-bottom: 28px; }
.control-bar.sticky { border-radius: 0; box-shadow: none; padding: 12px 0; }
.control-bar .stats-row { border: 0; margin: 0; padding: 0; }
.search-input { border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: none; padding-block: 10px; font-size: .85rem; }
.search-input:focus { box-shadow: none; }
.sort-btn { border-radius: 0; padding: 5px 7px; font-weight: 400; }
.sort-btn.active { background: none; border-bottom-color: var(--text); color: var(--text); }
.sort-btn:hover { background: var(--highlight-soft); }
.sort-label { font-weight: 400; font-size: .65rem; }
.filter-group { gap: 3px; }
.action-links { padding: 0; margin-top: 5px; }
.action-link { padding: 5px 5px 5px 0; border-radius: 0; }
.tooltip { border-radius: 2px; background: var(--bg-elevated); }
.tooltip-header { background: none; }
.tooltip-cover { border-radius: 0; }
.back-link { border-radius: 0; }
.release-page .cover-container { border: 0; border-radius: 0; box-shadow: none; }
.release-page h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; line-height: 1.12; letter-spacing: -.04em; }
.release-page .text-amber-400 { color: var(--text-secondary); }
.release-page .badge-gold, .release-page .badge-outline { border: 0; border-radius: 0; background: none; color: var(--text-secondary); padding: 0 12px 0 0; font-size: .8rem; }
.release-page .info-row { padding: 12px 0; }
.release-page .track-list { border-radius: 0; border: 0; border-top: 1px solid var(--border); background: none; }
.release-page .track-item { padding: 12px 0; }
.release-page .notes-box { border: 0; border-left: 1px solid var(--border); border-radius: 0; padding: 0 0 0 16px; background: none; }
.release-page .action-btn { border-radius: 0; padding: 11px 16px; font-weight: 400; font-size: .85rem; }
.release-page .action-btn-spotify { background: var(--text); color: var(--bg); }
.release-page .action-btn-spotify:hover { background: var(--text-secondary); transform: none; }
.release-page .action-btn-secondary:hover { transform: none; }
.release-page .gallery-item, .release-page #copy-select { border-radius: 0; }
.maintenance-page .maintenance-panel, .log-page .header { padding: 24px 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; background: none; }
.maintenance-panel h1, .log-page .header h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.maintenance-panel button, .maintenance-panel #status, .log-page input, .log-page .controls button, .log-page .log-entry, .log-page .stat-card { border-radius: 0; }
.fade-in { animation: none; }
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; gap: 28px; }
    .hero .stats-row { max-width: 540px; }
}
@media (max-width: 640px) {
    .container { padding-inline: 20px; }
    .site-header { padding: 14px 0; }
    .site-navigation { gap: 14px; }
    .site-nav-link { padding: 5px 0; }
    .hero { padding: 32px 0 28px; }
    .hero .stats-row { padding: 0; gap: 16px; }
    .hero .stat-label { font-size: .7rem; letter-spacing: 0; }
    .grid-layout { gap: 28px; }
    .card-header, .info-header { padding: 15px 0; }
    .card-body { padding: 0 0 8px; }
    .recent-grid { gap: 22px 14px; }
    .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fun-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .fun-stat-label { min-height: 2.8em; }
    .fun-stat-value { font-size: 1.25rem; }
    .fun-stat-sub { font-size: .7rem; }
    .collection-page header:not(.site-header) { padding: 28px 0; }
    .control-bar .stats-row { gap: 12px; }
    .release-page .info-row { padding: 12px 0; }
    .maintenance-page .maintenance-panel { padding: 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
