:root {
  --bg: #101113;
  --bg-deep: #0b0c0e;
  --surface: #17191d;
  --surface-2: #1e2126;
  --surface-3: #262a31;
  --text: #f3f4f6;
  --muted: #a4a9b2;
  --muted-2: #747983;
  --line: #30343b;
  --line-strong: #424750;
  --red: #d74736;
  --red-dark: #b63225;
  --amber: #c99543;
  --green: #5c9b77;
  --blue: #5c87a6;
  --violet: #826f9e;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; color-scheme: dark; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #f07a67; outline-offset: 3px; }
.shell { width: min(1380px, calc(100% - 64px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 80; color: #fff; background: #0d0e10; border-bottom: 1px solid #272a2f; }
.header-inner { width: min(1460px, calc(100% - 48px)); height: 68px; margin: 0 auto; display: flex; align-items: center; gap: 22px; }
.brand { margin-right: auto; display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: var(--red); border-radius: 5px; font: 900 12px Consolas, monospace; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; }
.brand small { margin-top: 3px; color: #7e848e; font: 8px Consolas, monospace; }
.desktop-nav { display: flex; align-self: stretch; }
.desktop-nav a { position: relative; padding: 0 14px; display: flex; align-items: center; color: #abb0b8; font-size: 12px; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: #fff; }
.desktop-nav a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--red); }
.header-tool { width: 38px; height: 38px; display: grid; place-items: center; color: #d9dce1; border: 1px solid #363a42; border-radius: 5px; background: #17191d; font-size: 16px; }
.header-tool:hover { color: #fff; border-color: #606672; background: #202329; }
.header-group { min-width: 92px; height: 38px; padding: 0 12px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #fff; border: 1px solid #4b5059; border-radius: 5px; background: #17191d; font-size: 11px; }
.header-group span { width: 21px; height: 21px; display: grid; place-items: center; background: var(--red); border-radius: 4px; font-size: 10px; font-weight: 900; }
.header-group:hover { border-color: var(--red); }
.menu-button { display: none; width: 40px; height: 40px; color: #fff; border: 1px solid #4a4f58; border-radius: 5px; background: #17191d; font-size: 20px; }
.mobile-menu { padding: 7px 18px 14px; border-top: 1px solid #2a2d32; background: #0d0e10; }
.mobile-menu a { padding: 12px 9px; display: block; border-bottom: 1px solid #292c31; color: #b7bbc2; font-size: 12px; }
.mobile-menu a.is-active { padding-left: 13px; color: #fff; border-left: 3px solid var(--red); }

.eyebrow { margin: 0 0 16px; color: #ef7462; font: 700 10px Consolas, monospace; }
.button { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 6px; background: transparent; font-size: 12px; font-weight: 800; }
.button-red { color: #fff; background: var(--red); }
.button-red:hover { background: var(--red-dark); }
.button-line { color: #f4f5f7; border-color: #4b5059; background: #17191d; }
.button-line:hover { border-color: var(--red); color: #fff; background: #22252b; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.34); background: rgba(10,11,13,.56); }
.button-ghost:hover { border-color: #fff; background: rgba(10,11,13,.82); }

.home-hero { position: relative; min-height: 610px; height: calc(100svh - 105px); max-height: 760px; overflow: hidden; border-bottom: 1px solid #26292f; background: #0b0c0e; }
.home-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transform: scale(1.015); }
.home-hero-shade { position: absolute; inset: 0; background: rgba(8,9,11,.68); }
.home-hero-inner { position: relative; z-index: 2; height: 100%; min-height: inherit; padding: 78px 0 82px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.home-hero h1 { max-width: 760px; margin: 0; font-size: 72px; line-height: 1.05; text-shadow: 0 3px 22px rgba(0,0,0,.45); }
.hero-lead { max-width: 680px; margin: 24px 0 0; color: #d0d3d8; font-size: 15px; line-height: 1.85; }
.hero-actions { margin-top: 29px; display: flex; gap: 10px; flex-wrap: wrap; }
.home-stats { margin-top: 34px; padding-top: 19px; display: flex; gap: 31px; border-top: 1px solid rgba(255,255,255,.2); color: #b4b9c1; font-size: 11px; }
.home-stats strong { margin-right: 5px; color: #fff; font: 800 23px Consolas, monospace; }
.hero-release { position: absolute; z-index: 3; right: max(32px, calc((100% - 1380px)/2)); bottom: 28px; width: min(390px, calc(100% - 64px)); min-height: 72px; padding: 15px 56px 15px 18px; display: flex; flex-direction: column; justify-content: center; border: 1px solid rgba(255,255,255,.24); border-radius: 6px; background: rgba(10,11,13,.78); }
.hero-release span { color: #ef7462; font: 700 9px Consolas, monospace; }
.hero-release strong { margin-top: 6px; font-size: 14px; }
.hero-release b { position: absolute; right: 20px; top: 25px; color: #fff; font-size: 19px; }
.hero-release:hover { border-color: var(--red); background: rgba(10,11,13,.94); }

.section { padding: 88px 0; }
.section-heading { margin-bottom: 30px; padding-bottom: 18px; display: flex; justify-content: space-between; align-items: end; gap: 28px; border-bottom: 1px solid var(--line); }
.section-heading small { color: #ef7462; font: 700 10px Consolas, monospace; }
.section-heading h2 { margin: 7px 0 0; font-size: 33px; }
.section-heading > p, .gallery-heading > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.author-section { background: var(--bg); }
.latest-section { background: #131518; border-top: 1px solid #24272c; border-bottom: 1px solid #24272c; }
.category-section { background: var(--bg); }

.author-hall-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.author-hall { position: relative; min-width: 0; min-height: 310px; overflow: hidden; color: #fff; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.author-hall img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.72); transition: transform .35s ease, filter .35s ease; }
.hall-shade { position: absolute; inset: 0; background: rgba(8,9,11,.7); transition: background .25s ease; }
.author-hall > div { position: absolute; z-index: 2; left: 32px; right: 32px; bottom: 30px; }
.author-hall small { color: #f08270; font: 700 9px Consolas, monospace; }
.author-hall strong { display: block; margin: 9px 0 8px; font-size: 29px; }
.author-hall p { max-width: 620px; margin: 0; color: #c8ccd2; font-size: 11px; line-height: 1.72; }
.author-hall b { display: block; margin-top: 20px; color: #fff; font-size: 11px; }
.author-hall i { color: #ef8069; font-style: normal; }
.hall-primary { grid-column: 1 / -1; min-height: 370px; }
.hall-primary strong { font-size: 43px; }
.hall-primary > div { left: 40px; right: 40px; bottom: 38px; }
.author-hall:hover img { transform: scale(1.035); filter: saturate(.94); }
.author-hall:hover .hall-shade { background: rgba(8,9,11,.58); }

.latest-grid, .mod-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.mod-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; content-visibility: auto; contain-intrinsic-size: 440px; transition: border-color .2s ease, transform .2s ease; }
.mod-card:hover { border-color: #565c67; transform: translateY(-2px); }
.mod-media { position: relative; aspect-ratio: 16 / 9; display: block; overflow: hidden; background: var(--surface-2); }
.mod-media > img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s ease; }
.mod-card:hover .mod-media > img { transform: scale(1.025); }
.mod-copy { padding: 21px; display: flex; flex: 1; flex-direction: column; }
.mod-meta { display: flex; justify-content: space-between; gap: 12px; color: #858b95; font: 9px Consolas, monospace; }
.mod-meta span { color: #ef7462; font-weight: 700; }
.mod-card h3 { margin: 13px 0 7px; font-size: 19px; line-height: 1.42; }
.mod-card h3 a:hover { color: #f07c69; }
.mod-subtitle { min-height: 18px; margin: 0; color: #d1d4d9; font-size: 11px; font-weight: 700; line-height: 1.6; }
.mod-description { display: -webkit-box; min-height: 58px; margin: 13px 0 19px; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.mod-actions { margin-top: auto; padding-top: 15px; display: flex; justify-content: space-between; align-items: center; gap: 13px; border-top: 1px solid var(--line); font-size: 10px; }
.mod-actions > span { color: #8e939c; }
.mod-actions a { color: #f07b68; font-weight: 800; }
.mod-actions b { font-size: 13px; }
.type-cover { --cover-accent: var(--red); position: relative; width: 100%; height: 100%; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: #202329; border-top: 4px solid var(--cover-accent); }
.type-cover::after { content: ""; position: absolute; right: 24px; top: 28px; width: 54px; height: 2px; background: var(--cover-accent); opacity: .72; }
.type-cover > span { color: #a9afb8; font: 700 9px Consolas, monospace; }
.type-cover > strong { max-width: 92%; font-size: 25px; line-height: 1.3; }
.type-cover > small { color: #d3d6db; font-size: 10px; }
.cover-skill, .cover-growth { --cover-accent: var(--green); background: #1c2522; }
.cover-danger, .cover-combat { --cover-accent: #e05c4b; background: #2b1b1a; }
.cover-trade, .cover-ported { --cover-accent: var(--amber); background: #292319; }
.cover-interface, .cover-weapon { --cover-accent: var(--blue); background: #1b242a; }
.cover-forge, .cover-world { --cover-accent: #a77b62; background: #28211e; }
.cover-notice { --cover-accent: var(--violet); background: #241f2a; }

.category-links { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-links a { position: relative; min-height: 136px; padding: 23px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.category-links span { color: #ef7462; font: 700 9px Consolas, monospace; }
.category-links strong { margin-top: 24px; font-size: 16px; }
.category-links small { margin-top: 7px; color: var(--muted); }
.category-links b { position: absolute; right: 19px; bottom: 18px; color: #f07b68; }
.category-links a:hover { color: #fff; background: #24272d; }
.category-links a:hover span, .category-links a:hover b { color: #ff8a76; }

.gallery-section { padding: 88px 0 96px; overflow: hidden; background: var(--bg-deep); border-top: 1px solid #24272c; border-bottom: 1px solid #24272c; }
.gallery-heading { margin-bottom: 34px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.gallery-heading h2 { margin: 7px 0 0; font-size: 35px; }
.gallery-window { width: 100%; overflow: hidden; padding: 16px 0 22px; }
.gallery-track { width: max-content; display: flex; gap: 16px; will-change: transform; animation: gallery-marquee 48s linear infinite; }
.gallery-set { display: flex; gap: 16px; }
.gallery-card { position: relative; width: 350px; aspect-ratio: 16 / 10; overflow: hidden; flex: none; border: 1px solid #454a54; border-radius: 8px; background: var(--surface); transform: rotate(1deg); transition: transform .25s ease, border-color .25s ease; }
.gallery-card:nth-child(even) { transform: rotate(-1deg); }
.gallery-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
.gallery-card span { position: absolute; left: 12px; right: 12px; bottom: 11px; padding: 9px 11px; overflow: hidden; color: #fff; background: rgba(8,9,11,.84); border-radius: 5px; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.gallery-card:hover { z-index: 2; border-color: #e0614f; transform: rotate(0) scale(1.025); }
.gallery-window:hover .gallery-track, .gallery-window:focus-within .gallery-track, .gallery-window.is-paused .gallery-track { animation-play-state: paused; }
@keyframes gallery-marquee { to { transform: translateX(calc(-50% - 8px)); } }

.community-band { padding: 76px 0; color: #fff; background: #16181c; }
.community-inner { display: grid; grid-template-columns: minmax(0,1fr) 210px; gap: 54px; align-items: center; }
.community-copy h2 { margin: 0; font-size: 36px; }
.community-copy > p { max-width: 720px; margin: 16px 0 0; color: #b7bbc3; font-size: 12px; line-height: 1.85; }
.community-actions { margin-top: 24px; display: flex; align-items: center; gap: 19px; flex-wrap: wrap; }
.community-actions span { font: 700 12px Consolas, monospace; }
.community-qr { margin: 0; padding: 10px; background: #fff; color: #18191c; border-radius: 7px; }
.community-qr img { width: 100%; height: auto; aspect-ratio: 9 / 16; display: block; object-fit: contain; }
.community-qr figcaption { padding-top: 8px; text-align: center; font-size: 9px; }

.owner-hero { position: relative; min-height: 330px; overflow: hidden; border-bottom: 1px solid var(--line); background: #111214; }
.owner-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; opacity: .22; filter: saturate(.68); }
.owner-hero-shade { position: absolute; inset: 0; background: rgba(12,13,15,.65); }
.owner-hero-inner { position: relative; z-index: 2; min-height: 330px; padding: 52px 0; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.owner-hero h1 { margin: 0; font-size: 52px; }
.owner-hero p:not(.eyebrow) { max-width: 690px; margin: 16px 0 0; color: #c1c5cc; font-size: 13px; line-height: 1.8; }
.owner-facts { margin-top: 23px; display: flex; gap: 24px; color: #9fa4ad; font-size: 11px; }
.owner-facts strong { margin-right: 5px; color: #fff; font: 800 21px Consolas, monospace; }
.owner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.owner-main { padding: 42px 0 84px; background: var(--bg); }
.owner-toolbar { margin-bottom: 26px; padding: 15px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; }
.filter-row { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-row button, .archive-filter-list button { height: 38px; padding: 0 12px; color: #c7cad0; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-2); font-size: 10px; }
.filter-row button span { margin-left: 6px; color: #8c929c; font: 9px Consolas, monospace; }
.filter-row button:hover, .archive-filter-list button:hover { border-color: #5b616c; color: #fff; }
.filter-row button.is-active, .archive-filter-list button.is-active { color: #fff; border-color: var(--red); background: var(--red); }
.filter-row button.is-active span { color: #fff; }
.search-field { width: min(310px,100%); height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 8px; background: #111316; border: 1px solid var(--line); border-radius: 5px; }
.search-field input { width: 100%; min-width: 0; color: #fff; border: 0; outline: 0; background: transparent; font-size: 11px; }
.collection-note { width: 100%; display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.collection-note strong { font-size: 13px; }
.collection-note span { color: var(--muted); font-size: 11px; }
.results-bar { min-height: 39px; display: flex; justify-content: space-between; color: #8f949d; font-size: 10px; }
.wide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.mod-card-wide { display: grid; grid-template-columns: 46% 1fr; min-height: 315px; }
.mod-card-wide .mod-media { height: 100%; aspect-ratio: auto; }
.mod-card-wide .mod-copy { padding: 25px; }
.mod-card-wide h3 { font-size: 22px; }
.mod-card-wide .mod-description { min-height: 76px; -webkit-line-clamp: 4; }
.load-more { min-width: 190px; margin: 31px auto 0; display: flex; }
.empty-state { padding: 70px 20px; text-align: center; color: var(--muted); }

.archive-hero { padding: 62px 0 48px; background: #14161a; border-bottom: 1px solid var(--line); }
.archive-hero h1 { margin: 0; font-size: 49px; }
.archive-hero p:not(.eyebrow) { max-width: 690px; margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.archive-search-panel { margin-top: 29px; display: grid; grid-template-columns: minmax(0,1fr) 180px; gap: 10px; }
.archive-search-panel label { height: 54px; padding: 0 15px; display: flex; align-items: center; gap: 10px; background: #0f1114; border: 1px solid var(--line); border-radius: 6px; }
.archive-search-panel input { width: 100%; min-width: 0; color: #fff; border: 0; outline: 0; background: transparent; }
.archive-search-panel select { padding: 0 14px; color: #fff; border: 1px solid var(--line); border-radius: 6px; background: #0f1114; }
.clear-search { width: 30px; height: 30px; padding: 0; color: #b8bdc5; border: 0; border-radius: 4px; background: #272a30; font-size: 18px; }
.clear-search:hover { color: #fff; background: #343840; }
.archive-main { padding: 32px 0 84px; }
.archive-controls { margin-bottom: 28px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; }
.archive-filter-block { margin-bottom: 15px; display: grid; grid-template-columns: 88px 1fr; gap: 13px; align-items: start; }
.archive-filter-block > strong { padding-top: 10px; font-size: 11px; }
.archive-filter-list { display: flex; gap: 6px; flex-wrap: wrap; }
.archive-control-bottom { padding-top: 15px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); }
.reset-filters { height: 36px; padding: 0 12px; color: #b8bdc5; border: 1px solid var(--line); border-radius: 5px; background: transparent; font-size: 10px; }
.reset-filters:hover { color: #fff; border-color: #5a606a; }
.view-switch { display: inline-flex; padding: 3px; background: #0f1114; border: 1px solid var(--line); border-radius: 6px; }
.view-switch button { height: 30px; padding: 0 11px; color: #8f949d; border: 0; border-radius: 4px; background: transparent; font-size: 10px; }
.view-switch button.is-active { color: #fff; background: #30343b; }
.archive-results { margin-top: 0; }
.mod-grid.is-list { grid-template-columns: 1fr; }
.mod-grid.is-list .mod-card { min-height: 230px; display: grid; grid-template-columns: 330px 1fr; }
.mod-grid.is-list .mod-media { height: 100%; aspect-ratio: auto; }
.mod-grid.is-list .mod-copy { padding: 24px; }
.mod-grid.is-list .mod-description { min-height: 0; -webkit-line-clamp: 2; }

.site-footer { padding: 42px 0 26px; color: #d7dae0; background: #08090b; border-top: 1px solid #22252a; }
.footer-main { display: flex; justify-content: space-between; align-items: start; gap: 40px; }
.footer-brand { font-size: 16px; font-weight: 900; }
.footer-main p { max-width: 600px; margin: 9px 0 0; color: #777d86; font-size: 10px; line-height: 1.75; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: #e26a57; font-size: 10px; }
.footer-nav a:hover { color: #fff; }
.filings { margin-top: 26px; padding-top: 20px; display: flex; justify-content: flex-end; align-items: center; gap: 22px; border-top: 1px solid #26292e; }
.filings a { display: inline-flex; align-items: center; gap: 6px; color: #9297a0; font-size: 10px; }
.filings img { width: 20px; height: 20px; display: block; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .home-hero h1 { font-size: 58px; }
  .latest-grid, .mod-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-links { grid-template-columns: repeat(3,1fr); }
  .wide-grid { grid-template-columns: 1fr; }
  .mod-card-wide { min-height: 300px; }
  .mod-grid.is-list .mod-card { grid-template-columns: 280px 1fr; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { width: calc(100% - 28px); height: 62px; gap: 8px; }
  .brand strong { font-size: 12px; }
  .brand small { font-size: 7px; }
  .brand-mark { width: 36px; height: 36px; }
  .header-tool { margin-left: auto; width: 38px; }
  .header-group { min-width: 38px; width: 38px; padding: 0; }
  .header-group b { display: none; }
  .menu-button { width: 38px; height: 38px; }
  .home-hero { min-height: 620px; height: calc(100svh - 80px); max-height: 720px; }
  .home-hero-inner { padding: 50px 0 112px; justify-content: center; }
  .home-hero-art { object-position: 53% center; }
  .home-hero-shade { background: rgba(8,9,11,.76); }
  .home-hero h1 { font-size: 45px; }
  .hero-lead { font-size: 13px; line-height: 1.75; }
  .home-stats { width: 100%; gap: 12px; justify-content: space-between; }
  .home-stats span { font-size: 9px; }
  .home-stats strong { display: block; font-size: 19px; }
  .hero-release { left: 16px; right: 16px; bottom: 16px; width: auto; min-height: 70px; }
  .section { padding: 58px 0; }
  .section-heading, .gallery-heading { display: block; }
  .section-heading > p, .gallery-heading > p { margin-top: 10px; }
  .section-heading h2, .gallery-heading h2 { font-size: 27px; }
  .author-hall-grid { grid-template-columns: 1fr; }
  .author-hall, .hall-primary { grid-column: auto; min-height: 270px; }
  .author-hall > div, .hall-primary > div { left: 22px; right: 22px; bottom: 24px; }
  .hall-primary strong, .author-hall strong { font-size: 28px; }
  .latest-grid, .mod-grid { grid-template-columns: 1fr; }
  .category-links { grid-template-columns: repeat(2,1fr); }
  .category-links a { min-height: 120px; padding: 17px; }
  .gallery-section { padding: 58px 0 64px; }
  .gallery-heading { margin-bottom: 23px; }
  .gallery-window { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .gallery-track { animation: none; will-change: auto; }
  .gallery-set[aria-hidden="true"] { display: none; }
  .gallery-card { width: 265px; transform: none !important; }
  .community-inner { grid-template-columns: 1fr; }
  .community-qr { width: min(220px,76vw); }
  .owner-hero, .owner-hero-inner { min-height: 310px; }
  .owner-hero-inner { padding: 44px 0; display: block; }
  .owner-hero h1 { font-size: 39px; }
  .owner-actions { margin-top: 24px; }
  .owner-toolbar { display: block; padding: 12px; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 7px; }
  .filter-row button { min-width: max-content; }
  .search-field { margin-top: 10px; width: 100%; }
  .collection-note { display: block; }
  .collection-note span { display: block; margin-top: 7px; line-height: 1.6; }
  .results-bar { gap: 18px; }
  .mod-card-wide { min-height: 0; display: flex; }
  .mod-card-wide .mod-media { aspect-ratio: 16 / 9; }
  .mod-card-wide h3 { font-size: 19px; }
  .archive-hero h1 { font-size: 38px; }
  .archive-search-panel { grid-template-columns: 1fr; }
  .archive-search-panel select { height: 48px; }
  .archive-controls { padding: 14px; }
  .archive-filter-block { grid-template-columns: 1fr; }
  .archive-filter-block > strong { padding-top: 0; }
  .archive-filter-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 7px; }
  .archive-filter-list button { min-width: max-content; }
  .archive-control-bottom { gap: 12px; }
  .mod-grid.is-list .mod-card { min-height: 0; display: flex; }
  .mod-grid.is-list .mod-media { aspect-ratio: 16 / 9; }
  .footer-main { display: block; }
  .footer-nav { margin-top: 23px; }
  .filings { display: block; }
  .filings a { margin-top: 12px; }
  .mod-description, .mod-subtitle { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .gallery-window { overflow-x: auto; }
}
