/* ==========================================================================
   Blockspo – Design angelehnt an buildguide3d.com
   Dunkles Navy, Blau-Akzent, DM Serif Display + Poppins (selbst gehostet)
   ========================================================================== */

@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url('/assets/vendor/fonts/poppins-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url('/assets/vendor/fonts/poppins-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url('/assets/vendor/fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('/assets/vendor/fonts/poppins-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('/assets/vendor/fonts/poppins-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1E9F; }
@font-face { font-family: 'DM Serif Display'; font-weight: 400; font-display: swap; src: url('/assets/vendor/fonts/dm-serif-display-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'DM Serif Display'; font-weight: 400; font-display: swap; src: url('/assets/vendor/fonts/dm-serif-display-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1E9F; }

:root {
  color-scheme: dark;
  --bg: #0d1b2a;
  --bg-deep: #08121d;
  --surface: #112133;
  --surface-2: #16293e;
  --surface-3: #1e354e;
  --border: rgba(231, 246, 255, 0.08);
  --border-strong: rgba(231, 246, 255, 0.16);
  --text: #e7f6ff;
  --muted: #8fa3b8;
  --accent: #0085ff;
  --accent-hover: #2b97ff;
  --accent-soft: rgba(0, 133, 255, 0.14);
  --success: #3ecf8e;
  --danger: #ff5c6c;
  --warning: #ffb547;
  --star: #ffc940;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --container: 1200px;
  --header-h: 68px;
}

/* Legacy-Viewer (viewer.css aus dem WP-Plugin) an die neue Palette anpassen */
body {
  --bg3d-bg0: var(--bg-deep);
  --bg3d-bg1: var(--surface);
  --bg3d-bg2: var(--surface-2);
  --bg3d-bg3: var(--surface-3);
  --bg3d-border: #24405c;
  --bg3d-accent: #4fb0ff;
  --bg3d-accent2: var(--accent);
  --bg3d-text: var(--text);
  --bg3d-text-dim: var(--muted);
  --bg3d-radius: var(--radius);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img, svg { max-width: 100%; display: block; }
a { color: #6cbcff; text-decoration: none; }
a:hover { color: #9ed2ff; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0 0 0.5em; color: #fff; letter-spacing: 0.005em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--accent); color: #fff; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--tight { padding-block: clamp(28px, 4vw, 48px); }
.section--band { background: linear-gradient(180deg, var(--bg-deep), #0a1726); border-block: 1px solid var(--border); }
.section-gap { margin-top: 48px; }
.eyebrow { margin: 0 0 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-hover); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section__head h2 { margin: 0; }
.page-head { margin-bottom: 24px; }
.page-head h1 { margin-bottom: 6px; }
.visually-h3 { font-size: 1.35rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.92rem; line-height: 1; white-space: nowrap;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .1s;
  color: var(--text); background: var(--surface-2);
}
.btn:hover { color: #fff; background: var(--surface-3); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { background: transparent; border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--outline { background: transparent; border-color: var(--accent); color: #6cbcff; }
.btn--outline:hover { background: var(--accent-soft); }
.btn--light { background: #fff; color: #06335f; }
.btn--light:hover { background: #e7f6ff; color: #06335f; }
.btn--danger { background: rgba(255, 92, 108, .14); color: #ff8a96; border-color: rgba(255, 92, 108, .35); }
.btn--danger:hover { background: rgba(255, 92, 108, .24); color: #ffb3bb; }
.btn--sm { min-height: 34px; padding: 0 12px; font-size: 0.84rem; }
.btn--lg { min-height: 50px; padding: 0 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn.is-active { border-color: var(--accent); color: #9ed2ff; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font-size: 0.82rem; cursor: pointer; }
.link-btn:hover { color: var(--danger); }
.icon-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--text); cursor: pointer; list-style: none; }
.icon-btn:hover { background: var(--surface-2); color: #fff; }
.icon-btn svg { width: 22px; height: 22px; fill: currentColor; }
.badge-dot { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 0.68rem; font-weight: 600; line-height: 18px; text-align: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 18, 29, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.site-header__brand { color: #fff; flex-shrink: 0; }
.logo { height: 21px; width: auto; }
.logo--lg { height: 34px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { padding: 8px 12px; border-radius: var(--radius-sm); color: var(--muted); font-weight: 500; font-size: 0.92rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; background: var(--surface-2); }
.site-search { flex: 1; max-width: 320px; margin-left: auto; }
.site-search input { width: 100%; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); }
.site-search input:focus { border-color: var(--accent); outline: none; }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.menu { position: relative; }
.menu__trigger { list-style: none; cursor: pointer; border-radius: 50%; }
.menu__trigger::-webkit-details-marker, .mobile-nav summary::-webkit-details-marker { display: none; }
.menu__panel, .mobile-nav__panel {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid;
}
.menu__panel a, .menu__panel button, .mobile-nav__panel a { display: block; width: 100%; padding: 9px 12px; border-radius: 7px; color: var(--text); text-align: left; background: none; border: 0; cursor: pointer; font-size: 0.92rem; }
.menu__panel a:hover, .menu__panel button:hover, .mobile-nav__panel a:hover { background: var(--surface-2); color: #fff; }
.menu__panel form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--border); }
.menu__name { margin: 4px 12px 8px; font-weight: 600; line-height: 1.3; }
.menu__name small { display: block; color: var(--muted); font-weight: 400; }
.mobile-nav { position: relative; display: none; }

/* ---------- Flash & Toast ---------- */
.flash { margin: 16px 0; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid; font-size: 0.92rem; }
.flash--success { background: rgba(62, 207, 142, .1); border-color: rgba(62, 207, 142, .35); color: #9ff0c9; }
.flash--error { background: rgba(255, 92, 108, .1); border-color: rgba(255, 92, 108, .35); color: #ffb3bb; }
.flash--info { background: var(--accent-soft); border-color: rgba(0, 133, 255, .35); color: #b5dcff; }
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; gap: 8px; }
.toast { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--surface-3); border: 1px solid var(--border-strong); box-shadow: var(--shadow); font-size: 0.9rem; animation: toast-in .2s ease-out; }
.toast--error { border-color: rgba(255, 92, 108, .5); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(64px, 11vw, 132px) clamp(48px, 8vw, 88px); border-bottom: 1px solid var(--border); }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: #1b2640 url('/assets/img/home-hero.jpg') center 42% / cover no-repeat; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 27, 42, .94) 0%, rgba(13, 27, 42, .8) 38%, rgba(13, 27, 42, .3) 72%, rgba(13, 27, 42, .4) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 32%); }
.hero__content { max-width: var(--container); }
.hero h1 { max-width: 24ch; font-size: clamp(2rem, 4.4vw, 3.5rem); margin-bottom: 20px; }
.hero__lead { max-width: 56ch; font-size: clamp(1rem, 1.6vw, 1.15rem); color: #c9dcec; }
.hero__search { display: flex; gap: 8px; max-width: 680px; margin-top: 28px; padding: 8px; background: rgba(8, 18, 29, .85); border: 1px solid var(--border-strong); border-radius: 16px; }
.hero__search input, .hero__search select { height: 48px; border: 0; background: transparent; padding: 0 12px; }
.hero__search input { flex: 1; min-width: 0; }
.hero__search select { border-left: 1px solid var(--border-strong); max-width: 190px; }
.hero__search input:focus, .hero__search select:focus { outline: none; }
.hero__search .btn { min-height: 48px; }
.hero__stats { display: flex; gap: clamp(24px, 5vw, 56px); margin: 36px 0 0; }
.hero__stats div { display: flex; flex-direction: column-reverse; }
.hero__stats dt { color: var(--muted); font-size: 0.85rem; }
.hero__stats dd { margin: 0; font-family: var(--font-display); font-size: 2.2rem; line-height: 1.1; color: #fff; }
.hero__layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: clamp(16px, 3vw, 40px); }
/* großzügige Bühne, ragt etwas in den oberen/unteren Hero-Abstand hinein */
.hero__showcase { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; align-self: stretch; min-height: clamp(500px, 70vh, 780px); margin: clamp(-80px, -5vw, -32px) 0 clamp(-48px, -3vw, -16px); }
.hero__stage { position: relative; min-height: 0; }
.hero__stage::before { content: ''; position: absolute; left: 14%; right: 14%; bottom: 4%; height: 20%; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 133, 255, .3), transparent 70%); filter: blur(8px); pointer-events: none; }
.hero__stage .bg3d-viewer-container { position: absolute !important; inset: 0; height: 100%; min-height: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.hero__caption { display: inline-flex; align-items: center; gap: 8px; justify-self: center; margin-top: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(8, 18, 29, .72); border: 1px solid var(--border-strong); color: #c9dcec; font-size: .8rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero__caption a { color: #fff; font-weight: 500; }
.hero__caption-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: live-pulse 2s ease-out infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(62, 207, 142, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(62, 207, 142, 0); } }
@media (max-width: 900px) { .hero__layout { grid-template-columns: 1fr; } .hero__showcase { display: none; } }

/* ---------- Grid & Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { position: relative; display: block; aspect-ratio: 724 / 400; background: radial-gradient(circle at 50% 60%, #1b2f47, var(--bg-deep)); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { display: grid; place-items: center; height: 100%; color: var(--surface-3); }
.card__placeholder svg { width: 56px; fill: currentColor; }
.card__media .format-badge { position: absolute; top: 10px; right: 10px; }
.card__media .status { position: absolute; top: 10px; left: 10px; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.card__title { margin: 0; font-size: 1.12rem; line-height: 1.25; }
.card__title a { color: #fff; }
.card__title a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card__author { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--muted); font-size: 0.85rem; }
.card__author:hover { color: var(--text); }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.card__stats { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.8rem; }
.card__stats > span { display: inline-flex; align-items: center; gap: 4px; }
.card__stats svg { width: 14px; height: 14px; fill: currentColor; }

.card--placeholder { border-style: dashed; border-color: var(--border-strong); background: linear-gradient(180deg, rgba(17, 33, 51, .55), var(--surface)); }
.card--placeholder:hover { transform: none; box-shadow: none; border-color: rgba(0, 133, 255, .5); }
.card__media--placeholder { display: grid; place-items: center; background: repeating-linear-gradient(45deg, rgba(231, 246, 255, .03) 0 12px, transparent 12px 24px), radial-gradient(circle at 50% 60%, #16293e, var(--bg-deep)); }
.card__media--placeholder svg { width: 46px; height: 46px; fill: var(--surface-3); }
.card--placeholder .card__title { color: var(--muted); }
.card--placeholder .card__body p { margin: 0; }
.card__cta { margin-top: auto; padding-top: 4px; font-weight: 600; font-size: .88rem; }

.format-badge { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 0.66rem; font-weight: 600; letter-spacing: .06em; background: rgba(8, 18, 29, .85); border: 1px solid var(--border-strong); color: #b5dcff; backdrop-filter: blur(6px); }
.format-badge--mcstructure { color: #9ff0c9; }
.format-badge--glb, .format-badge--gltf { color: #ffd08a; }
.status { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; }
.status--pending { background: rgba(255, 181, 71, .16); color: var(--warning); }
.status--approved { background: rgba(62, 207, 142, .16); color: var(--success); }
.status--rejected { background: rgba(255, 92, 108, .16); color: var(--danger); }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: #c9dcec; font-size: 0.76rem; font-weight: 500; }
.chip--tag { color: #9ed2ff; }
.chip--tag:hover { background: var(--accent-soft); color: #fff; }

.stars { position: relative; display: inline-flex; align-items: center; gap: 6px; line-height: 1; }
.stars__track { position: relative; font-size: 0.85rem; letter-spacing: 1px; color: var(--surface-3); }
.stars__track::before { content: '★★★★★'; position: absolute; inset: 0; width: var(--value); overflow: hidden; color: var(--star); }
.stars__text { font-weight: 600; font-size: 0.9rem; color: var(--star); }

.avatar { flex-shrink: 0; border-radius: 50%; object-fit: cover; background: var(--surface-3); }
.avatar--initials { display: inline-grid; place-items: center; width: var(--size); height: var(--size); font-size: calc(var(--size) * .4); font-weight: 600; color: #fff; background: linear-gradient(135deg, hsl(var(--hue) 55% 42%), hsl(calc(var(--hue) + 40) 60% 30%)); }

.empty { display: grid; justify-items: center; gap: 4px; padding: 56px 20px; text-align: center; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty svg { width: 44px; fill: var(--surface-3); margin-bottom: 8px; }
.empty h3 { margin: 0; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 36px; }
.pagination__item { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid var(--border); color: var(--text); }
.pagination__item:hover { background: var(--surface-2); color: #fff; }
.pagination__item.is-current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination__gap { align-self: center; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form__row--4 { grid-template-columns: repeat(4, 1fr); }
.field { display: grid; gap: 6px; font-size: 0.9rem; }
.field > span:first-child { font-weight: 500; }
.field input, .field select, .field textarea, .filter-bar input, .filter-bar select, .comment-form textarea, .embed-box textarea {
  width: 100%; padding: 10px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--bg-deep); color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field input, .field select, .filter-bar input, .filter-bar select { height: 44px; }
.field textarea, .comment-form textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus, .filter-bar input:focus, .filter-bar select:focus, .comment-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__hint { color: var(--muted); font-size: 0.8rem; }
.field__error { color: #ff8a96; font-size: 0.82rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px !important; }

.filter-bar { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-bottom: 28px; padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
/* Zeile 1: Suche + Filtern, Zeile 2: sechs Dropdowns mit genug Platz für ihre Beschriftung */
.filter-bar .field--search { grid-column: 1 / span 5; }
.filter-bar > .btn { grid-column: 6; grid-row: 1; }
/* kompaktere Dropdown-Buttons, damit z. B. „Alle Schwierigkeiten“ vollständig passt (überschreibt select.css) */
.filter-bar .select__trigger { padding-inline: 11px 9px; font-size: .88rem; }

/* ---------- Home ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step__num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 600; }
.step p { margin: 0; color: #c9dcec; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.format-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.format-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.format-list svg { width: 26px; fill: var(--accent); flex-shrink: 0; }
.format-list strong, .format-list small { display: block; line-height: 1.3; }
.format-list small { color: var(--muted); }
/* „Jetzt dabei sein!“ */
.join { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--border); border-radius: 24px; background: radial-gradient(ellipse at 0% 0%, rgba(0, 133, 255, .22), transparent 55%), linear-gradient(135deg, #0c2440, var(--surface) 60%); overflow: hidden; }
.join__media { position: relative; padding-bottom: 18px; }
.join__media > img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.join__skins { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); display: flex; align-items: flex-end; gap: clamp(2px, 1vw, 10px); pointer-events: none; }
.join__skin { height: clamp(84px, 12vw, 148px); width: auto; image-rendering: pixelated; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .6)); }
.join__skin:nth-child(even) { margin-bottom: 10px; }
.join__content h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin-bottom: 14px; }
.join__lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: #d5e6f3; margin-bottom: 20px; }
.join__perks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.join__perks li { display: flex; align-items: center; gap: 12px; }
.join__perks li::before { content: '✓'; display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); border: 1px solid rgba(0, 133, 255, .4); color: #6cbcff; font-size: .78rem; font-weight: 600; }
.join__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.join__team { margin: 26px 0 0; color: var(--muted); font-size: .88rem; }


/* ---------- Build-Detail ---------- */
.breadcrumb { display: flex; gap: 8px; margin-bottom: 12px; font-size: 0.85rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.build-head { margin-bottom: 20px; }
.build-head h1 { margin-bottom: 10px; }
.build-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--muted); font-size: 0.9rem; }
.author-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; }
.meta-stat { display: inline-flex; align-items: center; gap: 5px; }
.meta-stat svg { width: 16px; fill: currentColor; }
.build-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.build-main { display: grid; gap: 20px; min-width: 0; }
.build-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.viewer-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-deep); }
.action-bar { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 !important; background: none !important; border: 0 !important; }
.action, .action-bar .bg3d-mat-bar-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text); font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.action:hover, .action-bar .bg3d-mat-bar-btn:hover { background: var(--surface-2); color: #fff; }
.action svg { width: 17px; height: 17px; fill: currentColor; }
.action__count { padding-left: 7px; margin-left: 2px; border-left: 1px solid var(--border-strong); color: var(--muted); }
.action.is-active { border-color: var(--accent); background: var(--accent-soft); color: #9ed2ff; }
.action[data-toggle="like"].is-active svg { fill: #ff6b81; }
.action--quiet { margin-left: auto; color: var(--muted); }
.prose { color: #d5e6f3; }
.prose p:last-child { margin-bottom: 0; }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.panel { padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.panel__title { margin: 0 0 14px; font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rating-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.rating-panel .panel__title { margin-bottom: 6px; }
.rating-summary { display: flex; align-items: center; gap: 10px; margin: 0; }
.rating-summary .stars__track { font-size: 1.2rem; }
.rate { display: grid; justify-items: end; gap: 2px; }
.rate__label { font-size: 0.8rem; color: var(--muted); }
.rate__stars { display: flex; }
.rate__stars button { background: none; border: 0; padding: 0 3px; font-size: 1.9rem; line-height: 1; color: var(--surface-3); cursor: pointer; transition: color .1s, transform .1s; }
/* Hover: alle Sterne einfärben, die hinter dem Mauszeiger liegenden wieder ausblenden */
.rate__stars button.is-on, .rate__stars:hover button { color: var(--star); }
.rate__stars button:hover ~ button { color: var(--surface-3); }
.rate__stars button:active { transform: scale(.9); }
.comment-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 18px; }
.comment { display: flex; gap: 12px; }
.comment__body { flex: 1; min-width: 0; }
.comment__meta { display: flex; gap: 10px; align-items: baseline; margin: 0 0 2px; font-size: 0.88rem; }
.comment__meta a { color: var(--text); }
.comment__meta time { color: var(--muted); font-size: 0.8rem; }
.comment__text p { margin: 0 0 .4em; overflow-wrap: anywhere; }
.comment-form { display: grid; gap: 10px; }
.comment-form__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.info-list { margin: 0; display: grid; gap: 10px; font-size: 0.9rem; }
.info-list div { display: flex; justify-content: space-between; gap: 12px; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; text-align: right; font-weight: 500; }
.creator-card__head { display: flex; align-items: center; gap: 12px; color: var(--text); }
.creator-card__head strong { display: block; font-size: 1.05rem; }
.creator-card__stats { margin: 12px 0; font-size: 0.85rem; }
.rank { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 600; letter-spacing: .03em; background: var(--surface-3); color: #c9dcec; }
.rank--builder { background: rgba(0, 133, 255, .18); color: #9ed2ff; }
.rank--architect { background: rgba(62, 207, 142, .18); color: #9ff0c9; }
.rank--master { background: rgba(163, 113, 255, .2); color: #d2b8ff; }
.rank--legend { background: rgba(255, 201, 64, .2); color: var(--star); }
.embed-box summary { display: flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; list-style: none; }
.embed-box summary svg { width: 18px; fill: currentColor; }
.embed-box[open] summary { margin-bottom: 12px; }
.embed-box textarea { font: 0.78rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; margin-bottom: 10px; resize: none; }
.disclaimer { margin-top: 40px; color: var(--muted); font-size: 0.75rem; max-width: 80ch; }
.dialog { width: min(480px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.dialog::backdrop { background: rgba(3, 8, 14, .7); backdrop-filter: blur(3px); }
.dialog__body { display: grid; gap: 14px; padding: 24px; }
.dialog__body h2 { margin: 0; font-size: 1.5rem; }
.dialog__body p { margin: 0; }
.dialog__actions { display: flex; justify-content: flex-end; gap: 8px; }

/* ---------- Creator ---------- */
.creator-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.creator-tile { display: grid; justify-items: center; gap: 6px; padding: 28px 16px; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); transition: border-color .2s, transform .2s; }
.creator-tile:hover { border-color: var(--border-strong); transform: translateY(-3px); color: #fff; }
.creator-tile strong { font-size: 1.05rem; margin-top: 6px; }
.profile__banner { height: clamp(120px, 20vw, 200px); background: linear-gradient(120deg, hsl(var(--hue) 60% 22%), hsl(calc(var(--hue) + 60) 55% 16%) 60%, var(--bg)), repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 24px, transparent 24px 48px); background-blend-mode: overlay; border-bottom: 1px solid var(--border); }
.profile__head { display: flex; align-items: flex-end; gap: 20px; margin-top: -56px; flex-wrap: wrap; }
.profile__head .avatar { border: 4px solid var(--bg); }
.profile__identity { flex: 1; min-width: 200px; }
.profile__identity h1 { margin: 0; }
.profile__identity p { margin: 0; }
.profile__layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.profile__about { display: grid; gap: 14px; }
.profile__stats { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.profile__stats div { display: flex; flex-direction: column-reverse; padding: 10px; background: var(--surface-2); border-radius: var(--radius-sm); }
.profile__stats dt { color: var(--muted); font-size: 0.78rem; }
.profile__stats dd { margin: 0; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.profile__links { display: flex; gap: 16px; margin: 0; }

/* ---------- Auth & Account ---------- */
.auth { display: grid; place-items: center; }
.auth__card { width: min(460px, 100%); padding: clamp(24px, 4vw, 36px); }
.auth__card h1 { font-size: 2.2rem; }
.account-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.account-head h1 { margin: 0; font-size: 2rem; }
.account-head p { margin: 0; }
.account-head > div { flex: 1; }
.tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.tabs__item { padding: 10px 14px; color: var(--muted); font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs__item:hover { color: var(--text); }
.tabs__item[aria-current="page"] { color: #fff; border-color: var(--accent); }
.notification-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.notification { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.notification p { margin: 0; }
.notification.is-unread { border-color: rgba(0, 133, 255, .45); background: linear-gradient(90deg, var(--accent-soft), var(--surface) 40%); }
.settings { display: grid; gap: 20px; max-width: 760px; }
.avatar-upload { display: flex; align-items: center; gap: 20px; }
.avatar-upload p { margin: 8px 0 0; }

/* ---------- Upload ---------- */
.upload__form { display: grid; gap: 20px; max-width: 900px; }
.dropzone { position: relative; display: grid; justify-items: center; gap: 6px; padding: 44px 20px; text-align: center; border: 2px dashed var(--border-strong); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, background-color .15s; }
.dropzone:hover, .dropzone.is-dragover { border-color: var(--accent); background: var(--accent-soft); }
.dropzone.has-file { border-style: solid; border-color: var(--success); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--surface-2); font-size: 1.4rem; }
.upload__footer { display: grid; gap: 12px; justify-items: start; }
.upload__footer p { margin: 0; }
.progress { width: 100%; height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #4fb0ff); transition: width .15s; }

.format-help { display: grid; gap: 12px; max-width: 900px; margin-bottom: 24px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.format-help__title { margin: 0; font-size: 1.5rem; }
.format-help p { margin: 0; }
.format-help__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.format-help__card { padding: 16px; background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.format-help__edition { margin: 0 0 10px !important; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-hover); }
.format-help__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.format-help__card li { line-height: 1.45; }
.format-help__tag { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: rgba(62, 207, 142, .14); color: var(--success); font-size: .68rem; font-weight: 600; vertical-align: 1px; }
.format-help code { padding: 1px 5px; border-radius: 4px; background: var(--surface-2); font-size: .82em; }
@media (max-width: 900px) { .format-help__grid { grid-template-columns: 1fr; } }

/* ---------- Moderation ---------- */
.mod-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.mod-item { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.mod-item__thumb { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-deep); text-align: center; padding: 4px; }
.mod-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mod-item h3 { margin: 0 0 4px; }
.mod-item p { margin: 0; }
.mod-item__actions { display: grid; gap: 8px; justify-items: end; }
.mod-item__actions form { margin: 0; }
.mod-item__reject { display: flex; gap: 6px; }
.mod-item__reject input { height: 34px; padding: 0 10px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--bg-deep); min-width: 200px; }
.invite-link { margin-bottom: 16px; }
.chip--warn { color: #ffd08a; border-color: rgba(255, 190, 90, .35); background: rgba(255, 190, 90, .1); }
.admin-filter { grid-template-columns: minmax(0, 1fr) 180px 180px auto; }
.admin-filter .field--search { grid-column: auto; }
.admin-filter > .btn { grid-column: auto; grid-row: auto; }
.admin-user__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.admin-user__side { display: grid; gap: 20px; }
.admin-user h2 { margin: 0 0 12px; font-size: 1.1rem; }
.admin-user__side form { margin: 0; }
.admin-user__danger { border-color: rgba(255, 92, 108, .35); }
@media (max-width: 800px) {
  .admin-filter { grid-template-columns: 1fr 1fr; }
  .admin-filter .field--search { grid-column: 1 / -1; }
  .admin-user__grid { grid-template-columns: 1fr; }
}
.invite-link p { margin: 0 0 10px; }
.invite-link__row { display: flex; gap: 8px; }
.invite-link__row input { flex: 1; min-width: 0; height: 34px; padding: 0 10px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--bg-deep); color: inherit; font-family: ui-monospace, monospace; font-size: 13px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { color: var(--muted); font-weight: 500; background: var(--surface); }
.table tr:last-child td { border-bottom: 0; }
.table__details { max-width: 320px; overflow-wrap: anywhere; }
.table__actions { display: flex; gap: 6px; }
.table__actions form { margin: 0; }

/* ---------- Static & Error ---------- */
.prose-page { max-width: 760px; }
.prose-page .lead { font-size: 1.1rem; color: #c9dcec; }
.prose-page h2 { margin-top: 1.4em; font-size: 1.4rem; }
.error-page { text-align: center; max-width: 640px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 48px; background: var(--bg-deep); border-top: 1px solid var(--border); font-size: 0.9rem; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-block: 48px 32px; }
.site-footer__brand { display: inline-block; color: #fff; margin-bottom: 14px; }
.site-footer__grid nav { display: grid; align-content: start; gap: 8px; }
.site-footer__grid nav a { color: var(--muted); width: fit-content; }
.site-footer__grid nav a:hover { color: var(--text); }
.site-footer__title { margin: 0 0 6px; font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.78rem; }
.site-footer__legal p { margin: 0; }
.site-footer__legal p:last-child { max-width: 70ch; }

/* ---------- Embed (iframe) ---------- */
body.embed { min-height: 0; height: 100vh; overflow: hidden; background: var(--bg-deep); }
.embed__viewer { flex: 1; min-height: 0; }
.embed__viewer .bg3d-viewer-container { height: 100%; border-radius: 0; }
.embed__footer { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; background: var(--surface); border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--muted); }
.embed__footer span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Skins ---------- */
.skin-figure { display: block; width: 100%; height: auto; image-rendering: pixelated; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .5)); }
.chip--team { margin-left: 4px; background: var(--accent-soft); border-color: rgba(0, 133, 255, .4); color: #9ed2ff; font-size: .7rem; font-weight: 600; letter-spacing: .03em; }
.profile__side { display: grid; gap: 16px; align-content: start; }
.skin-showcase { display: grid; justify-items: center; gap: 12px; margin: 0; padding: 28px 16px 16px; border-radius: var(--radius-sm); background: radial-gradient(ellipse at 50% 88%, rgba(0, 133, 255, .24), transparent 58%), linear-gradient(180deg, var(--surface-2), var(--bg-deep)); }
.skin-showcase .skin-figure { width: auto; max-width: 100%; height: clamp(200px, 24vw, 250px); }
.skin-showcase figcaption { color: var(--muted); font-size: .8rem; }
.creator-tile__badges { display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Kontakt ---------- */
.contact-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(56px, 9vw, 112px) clamp(40px, 6vw, 72px); background: #0f1a2d; border-bottom: 1px solid var(--border); }
.contact-hero__art { position: absolute; inset: 0 0 0 30%; z-index: -1; background: url('/assets/img/contact.jpg') 50% 42% / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
.contact-hero h1 { position: relative; padding-top: 24px; font-size: clamp(2.6rem, 6vw, 4.2rem); }
.contact-hero h1::before { content: ''; position: absolute; top: 0; left: 0; width: 72px; height: 5px; border-radius: 3px; background: var(--accent); }
.contact-hero__lead { max-width: 44ch; margin: 0; font-size: clamp(1rem, 1.6vw, 1.15rem); color: #c9dcec; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-card { padding: 26px; border-radius: var(--radius); background: linear-gradient(150deg, #0a8dff, #0062c4 70%, #0b4a93); color: #fff; box-shadow: 0 14px 34px rgba(0, 92, 190, .3); }
.contact-card h2 { color: #fff; font-size: 1.6rem; margin-bottom: 18px; }
.contact-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-card li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.contact-card svg { width: 22px; height: 22px; flex-shrink: 0; fill: currentColor; margin-top: 1px; }
.contact-card a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.quick-links { display: grid; gap: 8px; }
.quick-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); font-size: .9rem; }
.quick-links a:hover { background: var(--surface-3); color: #fff; }
.quick-links svg { width: 18px; height: 18px; fill: var(--muted); flex-shrink: 0; }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.team-member { display: grid; justify-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: var(--radius-sm); color: var(--text); font-size: .82rem; text-align: center; }
.team-member span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-member:hover { background: var(--surface-2); color: #fff; }
.team-member .skin-figure { width: auto; height: 86px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); transition: transform .2s; }
.team-member:hover .skin-figure { transform: translateY(-4px); }
.contact-form h2 { margin-bottom: 4px; }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Moderation: Kontaktanfragen ---------- */
.message-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.message { display: grid; gap: 10px; }
.message__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.message__head p { margin: 4px 0 0; }
.message__head form { margin: 0; }
.message__text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #d5e6f3; }

@media (max-width: 900px) {
  .join, .contact-layout { grid-template-columns: 1fr; }
  .contact-hero__art { inset: 0 -25% 0 25%; opacity: .6; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .filter-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-bar .field--search { grid-column: 1 / span 2; }
  .filter-bar > .btn { grid-column: 3; }
  .site-search { display: none; }
}
@media (max-width: 900px) {
  .site-nav { display: none; }
  .mobile-nav { display: block; }
  .site-header__actions { margin-left: auto; }
  .build-layout, .profile__layout, .split { grid-template-columns: 1fr; }
  .build-side { position: static; }
  .steps { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > div { grid-column: 1 / -1; }
  .form__row--4 { grid-template-columns: repeat(2, 1fr); }
  .mod-item { grid-template-columns: 120px minmax(0, 1fr); }
  .mod-item__actions { grid-column: 1 / -1; justify-items: stretch; }
}
@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .hide-sm { display: none; }
  .hero__search { flex-direction: column; }
  .hero__search select { border-left: 0; border-top: 1px solid var(--border-strong); max-width: none; }
  .hero::after { background: linear-gradient(180deg, rgba(13, 27, 42, .55) 0%, rgba(13, 27, 42, .86) 45%, var(--bg) 100%); }
  .filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar .field--search { grid-column: 1 / -1; }
  .filter-bar > .btn { grid-column: 1 / -1; grid-row: auto; }
  .form__row, .form__row--4, .format-list { grid-template-columns: 1fr; }
  .action--quiet { margin-left: 0; }
  .rate { justify-items: start; }
  .mod-item__reject { flex-wrap: wrap; }
  .mod-item__reject input { min-width: 0; flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
