/* ============ MineAttack Hub ============ */

/* Lokal gehostete Schriften (kein Google-Fonts-CDN — Datenschutz) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/press-start-2p.woff2') format('woff2');
}

:root {
  --bg0: #0a0d12;
  --bg1: #0f141b;
  --bg2: #131a23;
  --bg3: #1a2330;
  --line: rgba(255, 255, 255, 0.07);
  --line2: rgba(255, 255, 255, 0.14);
  --text: #eef2f6;
  --text2: #9aa7b4;
  --text3: #6b7684;
  --green: #4ade60;
  --green-soft: rgba(74, 222, 96, 0.12);
  --red: #ff4655;
  --yt: #ff0033;
  --tw: #a970ff;
  --tt: #5be8f0;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(0, 0, 0, 0.4);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel: "Press Start 2P", "Courier New", monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

/* hidden-Attribut muss auch gegen display:flex/inline-block gewinnen */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg0);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: rgba(74, 222, 96, 0.35); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg0); }
::-webkit-scrollbar-thumb { background: #2a3442; border-radius: 8px; border: 3px solid var(--bg0); }
::-webkit-scrollbar-thumb:hover { background: #37445a; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============ Topbar ============ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 13, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-block { width: 28px; height: 28px; border-radius: 6px; image-rendering: pixelated; }

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.brand-text {
  font-family: var(--pixel);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text);
  white-space: nowrap;
  transform: translateY(1px);
}
.brand-text em, .footer-brand em { font-style: normal; color: var(--green); }

/* --- Suche --- */

.search { position: relative; flex: 1; max-width: 620px; margin: 0 auto; }

#search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 0 16px;
  height: 42px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search.open #search-form,
#search-form:focus-within {
  border-color: rgba(74, 222, 96, 0.55);
  box-shadow: 0 0 0 3px rgba(74, 222, 96, 0.12);
}
.search-icon { width: 17px; height: 17px; color: var(--text3); flex-shrink: 0; }

#search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  min-width: 0;
}
#search-input::placeholder { color: var(--text3); }
#search-input::-webkit-search-cancel-button { display: none; }

.search-clear {
  background: none;
  border: none;
  color: var(--text3);
  cursor: pointer;
  padding: 4px;
  display: flex;
  border-radius: 50%;
}
.search-clear:hover { color: var(--text); background: var(--bg3); }
.search-clear svg { width: 14px; height: 14px; }

.search-kbd {
  font-family: var(--font);
  font-size: 11px;
  color: var(--text3);
  border: 1px solid var(--line2);
  border-radius: 5px;
  padding: 1px 7px;
  flex-shrink: 0;
}

/* --- Vorschläge --- */

.suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg1);
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-height: min(70vh, 560px);
  overflow-y: auto;
}

.suggest-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
  padding: 12px 16px 6px;
}

.suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  cursor: pointer;
}
.suggest-item.active, .suggest-item:hover { background: var(--bg3); }
.suggest-item .avi { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.suggest-item .sthumb { width: 64px; height: 36px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: var(--bg3); }
.suggest-item .s-main { min-width: 0; flex: 1; }
.suggest-item .s-title {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.suggest-item .s-sub { font-size: 12px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-item mark { background: none; color: var(--green); }

.suggest-footer {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px;
  background: none;
  border: none;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.suggest-footer:hover, .suggest-footer.active { background: var(--green-soft); }

/* --- Nav --- */

.nav { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  transition: color 0.12s, background 0.12s;
}
.nav a:hover { color: var(--text); background: var(--bg3); }
.nav a.current { color: var(--text); background: var(--bg3); }

.nav-live {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ffb3b9 !important;
  background: rgba(255, 70, 85, 0.12) !important;
  border: 1px solid rgba(255, 70, 85, 0.35);
}
.nav-live:hover { background: rgba(255, 70, 85, 0.2) !important; }

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
  animation: pulse 1.6s ease-out infinite;
}
.live-dot.big { width: 11px; height: 11px; margin-right: 2px; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 70, 85, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 70, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 70, 85, 0); }
}

.mobile-search-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text2);
  padding: 8px;
  cursor: pointer;
  border-radius: 50%;
}
.mobile-search-btn svg { width: 20px; height: 20px; }

/* ============ Layout ============ */

#main { flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 24px 64px; }

.view { animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.error-banner {
  margin: 16px 0 0;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255, 70, 85, 0.1);
  border: 1px solid rgba(255, 70, 85, 0.3);
  color: #ffb3b9;
  font-size: 13.5px;
  font-weight: 600;
}

/* ============ Hero ============ */

.hero {
  position: relative;
  text-align: center;
  padding: 60px 20px 52px;
  margin: 24px 0 8px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 90% at 50% -10%, rgba(74, 222, 96, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.hero-blocks { position: absolute; inset: 0; pointer-events: none; }
.hb {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  opacity: 0.5;
  animation: float 7s ease-in-out infinite;
}
.hb1 { left: 8%; top: 30%; background: var(--green); animation-delay: 0s; }
.hb2 { left: 16%; top: 62%; background: #7c5236; width: 13px; height: 13px; animation-delay: 1.4s; }
.hb3 { right: 9%; top: 26%; background: #7c5236; animation-delay: 0.7s; }
.hb4 { right: 17%; top: 58%; background: var(--green); width: 12px; height: 12px; animation-delay: 2.2s; }
.hb5 { right: 30%; top: 14%; background: #3b82f6; width: 9px; height: 9px; animation-delay: 3s; opacity: 0.35; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50% { transform: translateY(-14px) rotate(-6deg); }
}

.hero-kicker {
  font-family: var(--pixel);
  font-size: 10px;
  color: var(--green);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.hero-title {
  font-family: var(--pixel);
  font-size: clamp(26px, 5.5vw, 46px);
  margin: 0;
  letter-spacing: 2px;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.45);
}
.hero-title em { font-style: normal; color: var(--green); }

.hero-logo { margin: 4px 0 0; }
.hero-logo img {
  display: block;
  width: min(520px, 88%);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.55));
}
.hero-sub { color: var(--text2); font-size: 15.5px; margin: 18px 0 0; }

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.stat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text2);
}
.stat-chip strong { color: var(--text); font-weight: 800; }
.stat-chip.live-chip { border-color: rgba(255, 70, 85, 0.4); color: #ffb3b9; }
.stat-chip.live-chip strong { color: #ff8a94; }

/* ============ Sections ============ */

.section { margin-top: 44px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: 21px;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}
.section-meta { font-size: 12.5px; color: var(--text3); }
.section-link { font-size: 13.5px; font-weight: 700; color: var(--green); }
.section-link:hover { text-decoration: underline; }

.page-head { margin: 36px 0 22px; }
.page-head h1 {
  font-size: 30px;
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-sub { color: var(--text2); margin: 6px 0 0; font-size: 14.5px; }

/* ============ Live-Cards ============ */

.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
}

.lcard {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.16s, box-shadow 0.16s;
  position: relative;
}
.lcard:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 70, 85, 0.5);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.lthumb { position: relative; aspect-ratio: 16 / 9; background: var(--bg3); overflow: hidden; }
.lthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.lcard:hover .lthumb img { transform: scale(1.045); }

.live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--pixel);
  font-size: 9px;
  padding: 6px 9px 5px;
  border-radius: 6px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(255, 70, 85, 0.5);
}
.live-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.viewer-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.viewer-badge svg { width: 13px; height: 13px; }

.uptime-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  color: #d7dde4;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
}

.lmeta { display: flex; gap: 12px; padding: 14px; }
.lmeta .avi {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--red);
  box-shadow: 0 0 0 2px rgba(255, 70, 85, 0.25);
}
.l-main { min-width: 0; }
.l-name { font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 7px; }
.l-title {
  font-size: 13.5px;
  color: var(--text2);
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.game-chip {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--tw);
  background: rgba(169, 112, 255, 0.12);
  border: 1px solid rgba(169, 112, 255, 0.3);
  padding: 3px 9px;
  border-radius: 999px;
}

/* leere Live-Sektion */
.live-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 44px 20px;
  border: 1px dashed var(--line2);
  border-radius: var(--radius);
  color: var(--text2);
  background: var(--bg1);
}
.live-empty .zzz { font-size: 30px; display: block; margin-bottom: 10px; }
.live-empty strong { color: var(--text); }
.live-empty p { margin: 4px 0 0; font-size: 13.5px; color: var(--text3); }

/* ============ Video-Cards ============ */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 22px 20px;
}

.vcard { display: block; }
.vthumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--line);
  transition: transform 0.16s ease, box-shadow 0.16s, border-color 0.16s;
}
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.vcard:hover .vthumb {
  transform: translateY(-3px);
  border-color: rgba(74, 222, 96, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.vcard:hover .vthumb img { transform: scale(1.05); }

.new-chip {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--green);
  color: #08210d;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
}

.dur-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  letter-spacing: 0.02em;
}

.vmeta { display: flex; gap: 11px; margin-top: 11px; }
.vmeta .avi { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.v-main { min-width: 0; }
.v-title {
  font-size: 14.5px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vcard:hover .v-title { color: var(--green); }
.v-sub { font-size: 12.5px; color: var(--text2); margin-top: 4px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.v-sub .pf-ico { transform: translateY(1px); }
.v-sub mark, .v-title mark, .c-name mark { background: none; color: var(--green); }

.load-more-wrap { text-align: center; margin-top: 30px; }

.btn {
  background: var(--bg2);
  border: 1px solid var(--line2);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.13s, border-color 0.13s;
}
.btn:hover { background: var(--bg3); border-color: rgba(74, 222, 96, 0.5); }

/* ============ Kanal-Cards ============ */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  background: var(--bg2);
  border: 1px solid var(--line2);
  color: var(--text2);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.13s;
}
.chip:hover { color: var(--text); border-color: var(--line2); background: var(--bg3); }
.chip.on { background: var(--text); color: var(--bg0); border-color: var(--text); }
.chip.chip-live.on { background: var(--red); color: #fff; border-color: var(--red); }
.chip .n { opacity: 0.65; font-weight: 600; margin-left: 4px; }

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.ccard {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px 16px;
  text-align: center;
  transition: transform 0.16s ease, border-color 0.16s, box-shadow 0.16s;
  overflow: hidden;
}
.ccard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 58px;
  background: linear-gradient(180deg, var(--pf-tint, rgba(255, 255, 255, 0.04)), transparent);
  pointer-events: none;
}
.ccard:hover {
  transform: translateY(-3px);
  border-color: var(--line2);
  box-shadow: var(--shadow);
}
.ccard.is-live { border-color: rgba(255, 70, 85, 0.45); }

.c-avi-wrap { position: relative; display: inline-block; margin-bottom: 10px; }
.ccard .avi {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg3);
}
.ccard.is-live .avi { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 70, 85, 0.25); }
.c-live-tag {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 5px;
  border: 2px solid var(--bg2);
}

.ccard.is-host { border-color: rgba(251, 191, 36, 0.4); }
.ccard.is-host:hover { border-color: rgba(251, 191, 36, 0.65); }
.c-host {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.c-name { font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 7px; }
.c-title { font-size: 12.5px; color: var(--text3); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-handle { font-size: 12.5px; color: var(--text2); margin-top: 5px; word-break: break-all; }
.c-subs { font-size: 12px; color: var(--text3); margin-top: 3px; font-weight: 600; }
.c-foot {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text3);
  min-height: 18px;
}
.c-foot .live-now { color: #ff8a94; font-weight: 700; }

/* Plattform-Icons */
.pf-ico { width: 15px; height: 15px; flex-shrink: 0; }
.pf-ico.yt { color: var(--yt); }
.pf-ico.tw { color: var(--tw); }
.pf-ico.tt { color: var(--tt); }

/* ============ Suche (Ergebnisse) ============ */

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.results-bar .chips { margin-bottom: 18px; }
.sort { font-size: 13px; color: var(--text2); display: flex; align-items: center; gap: 8px; }
.sort select {
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--line2);
  border-radius: 9px;
  padding: 7px 10px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.result-block { margin-bottom: 34px; }
.result-block h3 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
  margin: 0 0 14px;
}

.no-results {
  text-align: center;
  padding: 70px 20px;
  color: var(--text2);
}
.no-results .pick { font-size: 34px; display: block; margin-bottom: 14px; }
.no-results strong { color: var(--text); font-size: 17px; }
.no-results p { margin: 6px 0 0; font-size: 13.5px; color: var(--text3); }

/* ============ Skeletons ============ */

.skel { pointer-events: none; }
.skel .vthumb, .skel .lthumb { border: 1px solid var(--line); }
.skel-box {
  background: linear-gradient(100deg, var(--bg2) 40%, var(--bg3) 50%, var(--bg2) 60%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 8px;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.skel .avi { background: var(--bg3); }
.skel-line { height: 13px; margin-top: 8px; }
.skel-line.w60 { width: 60%; }

/* ============ Footer ============ */

.footer { border-top: 1px solid var(--line); background: var(--bg1); margin-top: 40px; }
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 34px 24px 40px;
  text-align: center;
  color: var(--text3);
  font-size: 12.5px;
  line-height: 1.7;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--pixel);
  font-size: 11px;
  color: var(--text2);
  margin-bottom: 14px;
}
.footer-brand .brand-block { width: 20px; height: 20px; border-radius: 4px; }
.footer-logo { display: block; height: 44px; width: auto; margin: 0 auto; opacity: 0.92; }
.footer-note { margin-top: 10px; font-size: 11.5px; }

/* ============ Bottom-Nav (Mobile) ============ */

.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line2);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  justify-content: space-around;
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text3);
  padding: 5px 10px;
  border-radius: 10px;
  position: relative;
  min-width: 56px;
}
.bottom-nav a .bn-ico { font-size: 18px; line-height: 1; }
.bottom-nav a.current { color: var(--green); }
.bottom-nav .bn-dot {
  position: absolute;
  top: 2px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.6s ease-out infinite;
}

/* ============ Countdown ============ */

.countdown {
  margin: 30px auto 4px;
  display: inline-block;
  padding: 20px 34px 16px;
  border-radius: 18px;
  background: rgba(74, 222, 96, 0.06);
  border: 1px solid rgba(74, 222, 96, 0.35);
  box-shadow: 0 0 40px rgba(74, 222, 96, 0.08), inset 0 0 30px rgba(74, 222, 96, 0.04);
}
.cd-label {
  font-family: var(--pixel);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 14px;
}
.cd-grid { display: flex; align-items: flex-start; justify-content: center; gap: 12px; }
.cd-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 68px;
  background: var(--bg1);
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 12px 10px 9px;
}
.cd-num {
  font-family: var(--pixel);
  font-size: 24px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgba(74, 222, 96, 0.45);
}
.cd-unit { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text3); }
.cd-sep { font-family: var(--pixel); font-size: 20px; color: var(--text3); padding-top: 14px; }
.cd-date { margin: 13px 0 0; font-size: 13px; font-weight: 600; color: var(--text2); }

/* ============ Mods ============ */

.mods-callout, .callout {
  background: var(--bg1);
  border: 1px solid var(--line2);
  border-left: 3px solid var(--green);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text2);
  margin: 0 0 24px;
  line-height: 1.6;
}
.mods-callout strong, .callout strong { color: var(--text); }
.mods-callout a, .callout a { color: var(--green); font-weight: 700; }
.mods-callout a:hover, .callout a:hover { text-decoration: underline; }

.mods-h2 { font-size: 19px; font-weight: 800; margin: 30px 0 16px; }
.mods-sub { font-size: 13px; color: var(--text3); margin: -10px 0 16px; }

/* --- Modpack-Download --- */

.modpack-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background:
    radial-gradient(ellipse 60% 120% at 8% 0%, rgba(74, 222, 96, 0.12), transparent 60%),
    var(--bg2);
  border: 1px solid rgba(74, 222, 96, 0.4);
  border-radius: 18px;
  padding: 22px 26px;
  margin-bottom: 22px;
  box-shadow: 0 0 36px rgba(74, 222, 96, 0.07);
}
.mp-icon { width: 64px; height: 64px; border-radius: 14px; flex-shrink: 0; image-rendering: pixelated; }
.mp-main { flex: 1; min-width: 0; }
.mp-kicker {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--green);
}
.mp-main h2 { margin: 5px 0 4px; font-size: 21px; font-weight: 900; letter-spacing: -0.01em; }
.mp-ver { font-size: 12.5px; font-weight: 700; color: var(--text3); margin-left: 6px; white-space: nowrap; }
.mp-main > p { margin: 0 0 10px; font-size: 13.5px; color: var(--text2); }
.mp-steps { margin: 0; padding-left: 20px; font-size: 13px; color: var(--text2); display: grid; gap: 3px; }
.mp-steps a { color: var(--green); font-weight: 700; }
.mp-steps a:hover { text-decoration: underline; }
.mp-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.mp-btn {
  background: var(--green);
  border-color: var(--green);
  color: #08210d;
  font-weight: 800;
  font-size: 14.5px;
  padding: 13px 24px;
  white-space: nowrap;
}
.mp-btn:hover { background: #63e87c; border-color: #63e87c; }
.mp-size { font-size: 12px; color: var(--text3); font-weight: 600; }

.mods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
}

.mod-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.16s ease, border-color 0.16s, box-shadow 0.16s;
}
.mod-card:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: var(--shadow); }
.mod-card.featured {
  border-color: rgba(251, 191, 36, 0.45);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.05), var(--bg2) 55%);
  margin-bottom: 6px;
}

.mod-top { display: flex; align-items: center; gap: 14px; }
.mod-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--bg3);
  flex-shrink: 0;
}
.mod-icon-fb { display: flex; align-items: center; justify-content: center; font-size: 24px; }
.mod-id { min-width: 0; flex: 1; }
.mod-id h3 { margin: 0; font-size: 17px; font-weight: 800; }
.mod-meta { font-size: 12.5px; color: var(--text3); font-weight: 600; margin-top: 2px; }
.mod-badge {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.mod-note { margin: 0; font-size: 13.5px; color: var(--text2); line-height: 1.55; }
.mod-warn {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fcd34d;
  line-height: 1.5;
}
.mod-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mod-chips span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text2);
  background: var(--bg3);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 999px;
}
.mod-btn { margin-top: auto; text-align: center; font-size: 13.5px; padding: 9px 18px; }

.mods-video {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  transition: transform 0.16s ease, border-color 0.16s;
}
.mods-video:hover { transform: translateY(-3px); border-color: rgba(74, 222, 96, 0.45); }
.mv-thumb { position: relative; width: 240px; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--bg3); }
.mv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mv-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}
.mv-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #fbbf24; }
.mv-main h3 { margin: 6px 0 6px; font-size: 17px; font-weight: 800; }
.mv-main p { margin: 0; font-size: 13.5px; color: var(--text2); }

/* ============ Regeln ============ */

.rule-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.rs-item {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rs-ico { font-size: 26px; margin-bottom: 4px; }
.rs-item strong { font-size: 15.5px; }
.rs-item span:last-child { font-size: 13px; color: var(--text2); line-height: 1.5; }

.rule-toc { margin-bottom: 26px; }
.rule-toc .chip { text-decoration: none; }

.rule-card {
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 28px;
  margin-bottom: 20px;
  scroll-margin-top: 84px;
}
.rule-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rule-num {
  font-family: var(--pixel);
  font-size: 15px;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(74, 222, 96, 0.35);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rule-head h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.rule-card > p { color: var(--text2); font-size: 14.5px; line-height: 1.65; }
.rule-card h3 { font-size: 15px; font-weight: 800; margin: 20px 0 12px; }
.rule-note { font-size: 13.5px !important; color: var(--text3) !important; }
.callout.ok { border-left-color: var(--green); margin-top: 18px; margin-bottom: 0; }

.penalty-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pstep {
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 700;
}
.pstep small { font-weight: 600; color: var(--text3); }
.pstep.hard { border-color: rgba(255, 70, 85, 0.5); color: #ff8a94; }
.parrow { color: var(--text3); font-weight: 700; }

.rule-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.rule-list li {
  position: relative;
  padding: 10px 14px 10px 42px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
}
.rule-list li::before {
  position: absolute;
  left: 13px;
  top: 9px;
  font-size: 14px;
  font-weight: 900;
}
.rule-list li.no::before { content: "✕"; color: #ff6a76; }
.rule-list li.yes::before { content: "✓"; color: var(--green); }
.rule-list li small { display: block; color: var(--text3); font-size: 12.5px; margin-top: 2px; }

.banner-rule {
  background: rgba(255, 70, 85, 0.09);
  border: 1px solid rgba(255, 70, 85, 0.4);
  color: #ff9aa3;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.rule-quote {
  margin: 20px 0 0;
  padding: 14px 20px;
  border-left: 3px solid var(--green);
  background: var(--green-soft);
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.ban-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ban-grid span {
  background: rgba(255, 70, 85, 0.07);
  border: 1px solid rgba(255, 70, 85, 0.28);
  color: #ffb3b9;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  line-height: 1.4;
}
.ban-grid span::before { content: "✕ "; color: #ff6a76; font-weight: 900; }
.ban-grid span small { display: block; font-weight: 600; color: var(--text3); font-size: 11px; }

.rule-thanks { text-align: center; color: var(--text2); font-size: 15px; margin: 30px 0 10px; }

/* ============ Login & Profil ============ */

.auth-box { flex-shrink: 0; display: flex; align-items: center; }
.auth-login {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #5865f2;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 999px;
  transition: filter 0.13s;
}
.auth-login:hover { filter: brightness(1.12); }
.auth-login svg { width: 17px; height: 17px; }
.auth-avatar { display: block; border-radius: 50%; }
.auth-avatar img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line2);
  transition: border-color 0.13s;
}
.auth-avatar:hover img { border-color: var(--green); }

.vbadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  color: #08210d;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}

/* --- Kanal-Seite --- */

.ch-hero {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 36px 0 30px;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 130% at 0% 0%, var(--pf-tint, rgba(255, 255, 255, 0.04)), transparent 55%),
    var(--bg1);
}
.ch-avi {
  width: 116px !important;
  height: 116px !important;
  border-radius: 50% !important;
  border: 4px solid var(--bg3);
  flex-shrink: 0;
}
.ch-main { min-width: 0; }
.ch-name {
  margin: 4px 0 2px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}
.ch-name .pf-ico { width: 22px; height: 22px; }
.ch-name .vbadge { width: 20px; height: 20px; font-size: 12px; }
.ch-sub { color: var(--text2); font-size: 14.5px; }
.ch-verified-note { color: var(--green); font-size: 12.5px; font-weight: 700; margin-top: 6px; }
.ch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ch-primary { font-weight: 800; }
.ch-primary.ch-yt { background: var(--yt); border-color: var(--yt); color: #fff; }
.ch-primary.ch-yt:hover { filter: brightness(1.15); }
.ch-primary.ch-tw { background: var(--tw); border-color: var(--tw); color: #1a0f2b; }
.ch-primary.ch-tw:hover { filter: brightness(1.1); }
.ch-section { margin-top: 30px; margin-bottom: 16px; }
.ch-others {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.ch-others-label { font-size: 12.5px; font-weight: 700; color: var(--text3); }
.ch-other { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.ch-other:hover { border-color: rgba(74, 222, 96, 0.5); color: var(--text); }

/* --- Mein Profil --- */

.me-banner {
  margin: 24px 0 0;
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}
.me-banner.ok { background: var(--green-soft); border: 1px solid rgba(74, 222, 96, 0.4); color: #a9f0b6; }
.me-banner.err { background: rgba(255, 70, 85, 0.1); border: 1px solid rgba(255, 70, 85, 0.35); color: #ffb3b9; }

.me-login-card {
  max-width: 520px;
  margin: 60px auto;
  text-align: center;
  background: var(--bg1);
  border: 1px solid var(--line2);
  border-radius: 20px;
  padding: 40px 34px;
}
.me-login-card h1 { font-size: 26px; font-weight: 900; margin: 10px 0 12px; }
.me-login-card > p { color: var(--text2); font-size: 14.5px; line-height: 1.6; margin: 0 0 22px; }
.me-discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #5865f2;
  border-color: #5865f2;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 26px;
}
.me-discord-btn:hover { background: #6a76ff; border-color: #6a76ff; }

.me-card {
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 18px;
}
.me-card h2 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.me-note { color: var(--text3); font-size: 12.5px; line-height: 1.55; margin: 4px 0 0; }
.me-account { display: flex; align-items: center; gap: 16px; }
.me-account > div { flex: 1; }
.me-account strong { font-size: 16px; }
.me-avi { width: 52px; height: 52px; border-radius: 50%; }

.me-verify-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }
.me-verify {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.me-verify h3 { margin: 0; font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.me-chan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  background: var(--bg3);
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 700;
}
.me-chan a { color: var(--green); }
.me-chan a:hover { text-decoration: underline; }
.me-handle { color: var(--text3); font-weight: 600; font-size: 12px; }

.me-field { display: block; font-size: 13px; font-weight: 700; color: var(--text2); margin-top: 14px; }
.me-field input {
  display: block;
  width: 100%;
  margin-top: 6px;
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 10px 13px;
}
.me-field input:focus { outline: none; border-color: rgba(74, 222, 96, 0.55); }
.me-save-row { display: flex; align-items: center; gap: 14px; margin-top: 16px; }

/* ============ Rechtliches ============ */

.legal { max-width: 860px; }
.legal-card {
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 16px;
}
.legal-card h2 { margin: 0 0 10px; font-size: 17px; font-weight: 800; }
.legal-card p, .legal-card li { color: var(--text2); font-size: 14px; line-height: 1.7; }
.legal-card p { margin: 0 0 10px; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card ul { margin: 0 0 10px; padding-left: 22px; }
.legal-card a { color: var(--green); font-weight: 600; }
.legal-card a:hover { text-decoration: underline; }
.legal-card code { background: var(--bg3); border-radius: 5px; padding: 1px 6px; font-size: 12.5px; }
.legal-table-wrap { overflow-x: auto; margin-bottom: 10px; }
.legal-table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.legal-table th, .legal-table td {
  text-align: left;
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--text2);
}
.legal-table th { color: var(--text); background: var(--bg2); font-weight: 700; }

.footer-links { margin: 6px 0 2px; }
.footer-links a { color: var(--text2); font-weight: 700; }
.footer-links a:hover { color: var(--green); }

.me-danger { margin-top: 4px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.me-danger .chip { border-color: rgba(255, 70, 85, 0.4); color: #ff8a94; }
.me-danger .chip:hover { background: rgba(255, 70, 85, 0.12); }

/* ============ Responsive ============ */

@media (max-width: 1000px) {
  .search-kbd { display: none; }
  .topbar-inner { gap: 12px; }
}

@media (max-width: 760px) {
  .topbar-inner { height: 58px; padding: 0 14px; }
  .brand-text { font-size: 11px; }
  .brand-logo { height: 34px; }
  .search {
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    max-width: none;
    padding: 10px 14px 12px;
    background: var(--bg1);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .search.open { display: block; }
  .suggest { left: 14px; right: 14px; }
  .mobile-search-btn { display: flex; margin-left: auto; }
  .nav { margin-left: 0; }
  .nav a { padding: 7px 10px; font-size: 13px; }
  #main { padding: 0 14px 48px; }
  .hero { padding: 42px 16px 38px; margin-top: 16px; }
  .hero-sub br { display: none; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px 14px; }
  .live-grid { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .ccard .avi { width: 62px; height: 62px; }
  .c-title { display: none; }
  .page-head h1 { font-size: 24px; }
  .results-bar { flex-direction: column; align-items: flex-start; gap: 4px; }
  .countdown { padding: 16px 14px 12px; display: block; }
  .cd-cell { min-width: 58px; padding: 10px 6px 8px; }
  .cd-num { font-size: 18px; }
  .cd-sep { display: none; }
  .cd-grid { gap: 8px; }
  .mods-video { flex-direction: column; align-items: stretch; }
  .mv-thumb { width: 100%; }
  .auth-login span { display: none; }
  .auth-login { padding: 9px; }
  .ch-hero { flex-direction: column; text-align: center; padding: 24px 16px; gap: 14px; }
  .ch-name { justify-content: center; font-size: 24px; }
  .ch-actions { justify-content: center; }
  .ch-others { justify-content: center; }
  .me-account { flex-wrap: wrap; }
  .modpack-card { flex-direction: column; align-items: stretch; text-align: center; padding: 20px 16px; }
  .mp-icon { margin: 0 auto; }
  .mp-steps { text-align: left; }
  .mp-btn { width: 100%; text-align: center; }
  .rule-card { padding: 20px 16px; }
  .topbar-inner .nav { display: none; }
  .bottom-nav { display: flex; }
  #main { padding-bottom: 90px; }
  .footer-inner { padding-bottom: 96px; }
}

@media (max-width: 420px) {
  .video-grid { grid-template-columns: 1fr; }
  .nav a[data-nav="home"] { display: none; }
}
