/* Home portada - EroSubs */
:root {
  color-scheme: dark;
}

body.home-body .home-header,
body.home-body .home-drawer,
body.home-body .drawer-backdrop,
body.home-body .mobile-bottom-nav,
body.home-body .home-footer {
  display: none !important;
}

body.home-body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(33, 37, 41, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 93, 141, 0.12), transparent 24%),
    /*linear-gradient(180deg, #03070f 0%, #08101d 38%, #04070d 100%);*/
    linear-gradient(180deg, #212529 0%, #08101d 38%, #04070d 100%);
  color: #f4f7ff;
  overflow-x: hidden;
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
}

body.home-body .home-shell a {
  color: inherit;
  text-decoration: none;
}
.site-banner { text-align: center; padding: 8px 0;margin-top: 0px;max-width: 1440px;margin-left: auto;margin-right: auto;}
.home-shell {
  position: relative;
  min-height: 100vh;
  /*padding-top: 88px;*/
  padding-bottom: 88px;
  --bg: #06101c;
  --bg-soft: rgba(10, 18, 31, 0.88);
  --card: rgba(12, 19, 33, 0.86);
  --card-strong: rgba(9, 15, 28, 0.96);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f6f9ff;
  --muted: #a8b4d1;
  --accent: #39a4ff;
  --accent-2: #ff6b93;
  --accent-3: #f8c94b;
  --glow: rgba(57, 164, 255, 0.34);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  color: var(--text);
}

.home-shell::before,
.home-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

.home-shell::before {
  width: 520px;
  height: 520px;
  /*top: 120px;*/
  right: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 150, 255, 0.22), transparent 70%);
  filter: blur(12px);
}

.home-shell::after {
  width: 420px;
  height: 420px;
  /*top: 460px;*/
  left: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 147, 0.16), transparent 68%);
  filter: blur(14px);
}

.home-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(4, 10, 19, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.home-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.home-brand img {
  display: block;
  height: 34px;
  width: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  margin-left: 4px;
}

.desktop-nav a {
  position: relative;
  padding: 9px 12px;
  border-radius: 999px;
  color: rgba(236, 242, 255, 0.92);
  font-size: 0.97rem;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transform: translateY(-1px);
}

.desktop-nav a.is-active {
  background: rgba(57, 164, 255, 0.16);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(57, 164, 255, 0.12) inset;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.top-search {
  width: min(360px, 34vw);
  position: relative;
}

.top-search input,
.hero-search input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  color: #f6f9ff;
  border-radius: 999px;
  padding: 12px 50px 12px 18px;
  font-size: 0.98rem;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.top-search input::placeholder,
.hero-search input::placeholder {
  color: rgba(237, 242, 255, 0.58);
}

.top-search input:focus,
.hero-search input:focus {
  border-color: rgba(57, 164, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(57, 164, 255, 0.1);
}

.search-button {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #1f76d1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(18, 85, 173, 0.32);
  cursor: pointer;
}

.avatar-chip {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
  flex: 0 0 auto;
}

.avatar-chip img,
.hero-art img,
.news-thumb img,
.card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-header {
  display: none;
}

.mobile-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mobile-icon-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-brand img {
  height: 32px;
  width: auto;
}

.home-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(82vw, 320px);
  padding: 90px 18px 18px;
  background: rgba(5, 10, 18, 0.98);
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  transform: translateX(-102%);
  transition: transform 220ms ease;
  z-index: 80;
}

.home-drawer.is-open {
  transform: translateX(0);
}

.drawer-links {
  display: grid;
  gap: 10px;
}

.drawer-links a {
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(245, 248, 255, 0.94);
  font-weight: 700;
}

.drawer-links a:hover {
  background: rgba(57, 164, 255, 0.12);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 70;
}

.drawer-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.home-main {
  position: relative;
  z-index: 1;
  top:30px;
}

.home-section {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.88fr);
  gap: 24px;
  padding: 34px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(7, 13, 24, 0.94), rgba(13, 20, 37, 0.76)),
    radial-gradient(circle at top left, rgba(57, 164, 255, 0.14), transparent 35%),
    radial-gradient(circle at bottom right, rgba(255, 107, 147, 0.08), transparent 42%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 35%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 35%);
  pointer-events: none;
}

.hero-copy,
.hero-art,
.stats-strip,
.section-card,
.support-card,
.footer-shell {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-height: 360px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(243, 247, 255, 0.84);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.77rem;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 4.85rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-title .accent {
  color: var(--accent);
  text-shadow: 0 0 28px rgba(57, 164, 255, 0.18);
}

.hero-subtitle {
  margin: 0;
  color: rgba(240, 245, 255, 0.84);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.5;
  max-width: 44ch;
}

.hero-search {
  position: relative;
  max-width: 620px;
}

.hero-search button {
  right: 8px;
  width: 42px;
  height: 42px;
}

.theme-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 2px;
}

.theme-switcher-label {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.theme-switcher button {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(247, 250, 255, 0.9);
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.theme-switcher button:hover,
.theme-switcher button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
}

.theme-switcher button.is-active {
  background: linear-gradient(135deg, rgba(57, 164, 255, 0.22), rgba(255, 107, 147, 0.12));
  border-color: rgba(57, 164, 255, 0.32);
  box-shadow: 0 0 0 1px rgba(57, 164, 255, 0.08) inset;
}

.hero-aside {
  display: flex;
  align-items: stretch;
}

.hero-art {
  width: 100%;
  min-height: 420px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(4, 10, 19, 0.12), rgba(4, 10, 19, 0.86)),
    var(--hero-art) center center / cover no-repeat;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(5, 9, 17, 0.9));
}

.hero-art-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
  z-index: 1;
}

.hero-art-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero-art-title {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.08;
  font-weight: 900;
}

.hero-art-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(245, 248, 255, 0.82);
  font-size: 0.96rem;
}

.hero-art-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.stats-strip {
  margin-top: -34px;
  padding: 0 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.stat-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px 18px 17px;
  background: linear-gradient(180deg, rgba(16, 24, 41, 0.96), rgba(10, 16, 29, 0.92));
}

.stat-item + .stat-item {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(57, 164, 255, 0.11);
  color: var(--accent);
  font-size: 1.15rem;
}

.stat-value {
  display: block;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 4px;
  color: rgba(240, 244, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-stack {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.section-card {
  padding: 12px;
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.34rem;
  line-height: 1.1;
  font-weight: 900;
}

.section-title .icon {
  color: var(--accent);
}

.section-link {
  color: var(--accent);
  font-weight: 800;
}

.rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.card-link {
  display: block;
}

.media-card {
  position: relative;
  height: 100%;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.media-card:hover {
  transform: translateY(-2px);
  border-color: rgba(57, 164, 255, 0.24);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(5, 9, 17, 0.78));
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(36, 125, 212, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.card-body {
  padding: 12px 12px 14px;
  display: grid;
  gap: 6px;
}

.card-title {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.18;
  font-weight: 800;
}

.card-line,
.card-time {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.22;
}

.card-time {
  color: rgba(255, 255, 255, 0.62);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.panel-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 18px;
  border-radius: 22px;
  background: var(--card-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.panel-list {
  display: grid;
  gap: 12px;
}

.panel-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  color: #fff;
}

.panel-rank {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 800;
}

.panel-item strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.22;
}

.panel-item small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.panel-score {
  color: var(--catalog-accent);
  font-weight: 900;
  font-size: 0.9rem;
}

.panel-splash {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(57, 164, 255, 0.12), rgba(255, 107, 147, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.news-thumb {
  width: 112px;
  height: 86px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.news-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 800;
}

.news-time {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.support-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 22px;
  /*background:
    linear-gradient(135deg, rgba(255, 107, 147, 0.18), rgba(57, 164, 255, 0.06)),
    rgba(12, 18, 31, 0.9);*/
  border: 2px solid rgba(255, 255, 255, 0.18);
  /*box-shadow: var(--shadow);*/
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.support-copy {
  display: grid;
  gap: 8px;
}

.support-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 900;
}

.support-text {
  margin: 0;
  color: rgba(240, 244, 255, 0.82);
  line-height: 1.5;
}

.support-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  padding: 15px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f65f88, #dd4064);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(221, 64, 100, 0.28);
}

.home-footer {
  max-width: 1440px;
  margin: 20px auto 0;
  padding: 0 18px;
}

.footer-shell {
  padding: 20px 2px 0;
  color: rgba(243, 247, 255, 0.74);
  font-size: 0.95rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(240, 244, 255, 0.84);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-note {
  margin-top: 12px;
  color: rgba(219, 225, 240, 0.62);
  line-height: 1.5;
}

.mobile-bottom-nav {
  display: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-shell[data-theme="classic"] {
  --accent: #56a7ff;
  --accent-2: #7bd7ff;
  --accent-3: #ffd56b;
  --line: rgba(255, 255, 255, 0.08);
}

.home-shell[data-theme="classic"] .hero-card {
  background:
    linear-gradient(135deg, rgba(8, 17, 28, 0.94), rgba(10, 20, 38, 0.76)),
    radial-gradient(circle at top left, rgba(86, 167, 255, 0.16), transparent 35%),
    radial-gradient(circle at bottom right, rgba(123, 215, 255, 0.08), transparent 42%);
}

.home-shell[data-theme="black"] {
  --accent: #39a4ff;
  --accent-2: #ff6b93;
  --accent-3: #f8c94b;
  --line: rgba(255, 255, 255, 0.09);
}

.home-shell[data-theme="black"] .hero-card {
  background:
    linear-gradient(135deg, rgba(6, 11, 20, 0.95), rgba(12, 18, 32, 0.76)),
    radial-gradient(circle at top left, rgba(57, 164, 255, 0.14), transparent 35%),
    radial-gradient(circle at bottom right, rgba(255, 107, 147, 0.08), transparent 42%);
}

.home-shell[data-theme="custom"] {
  --accent: #d0b6ff;
  --accent-2: #ffb25d;
  --accent-3: #76e4ff;
  --line: rgba(255, 255, 255, 0.08);
}

.home-shell[data-theme="custom"] .hero-card {
  background:
    linear-gradient(135deg, rgba(12, 11, 22, 0.95), rgba(20, 14, 33, 0.76)),
    radial-gradient(circle at top left, rgba(208, 182, 255, 0.15), transparent 35%),
    radial-gradient(circle at bottom right, rgba(255, 178, 93, 0.11), transparent 42%);
}

@media (max-width: 1200px) {
  .desktop-nav {
    gap: 4px;
  }
  .stat-icon {
    font-size: 1.2rem;
  }

  .desktop-nav a {
    padding-inline: 10px;
    font-size: 0.94rem;
  }

  .top-search {
    width: min(310px, 28vw);
  }

  .rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .home-shell {

  }
  .stat-icon {
    font-size: 1.5rem;
  }

  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: block;
  }

  .hero-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .hero-copy {
    min-height: auto;
  }

  .hero-art {
    min-height: 300px;
  }

  .stats-strip {
    margin-top: -18px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    overflow-x: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .rail > * {
    scroll-snap-align: unset;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .support-card {
    grid-template-columns: 1fr;
  }

  .support-cta {
    width: 100%;
  }

  .footer-top {
    align-items: flex-start;
  }

  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    padding: 8px 6px 6px;
    border-radius: 22px;
    background: rgba(8, 14, 25, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
  }

  .mobile-bottom-nav a {
    display: grid;
    gap: 3px;
    justify-items: center;
    color: rgba(243, 247, 255, 0.74);
    font-size: 0.72rem;
    font-weight: 700;
  }

  .mobile-bottom-nav i {
    font-size: 1.05rem;
    color: var(--accent);
  }

  .home-footer {
    padding-bottom: 70px;
  }
}

@media (max-width: 640px) {
  .home-shell {

  }
  .stat-icon {
    font-size: 1.8rem;
  }

  .home-header-inner,
  .mobile-header-inner {
    padding-inline: 14px;
  }

  .hero-card {
    border-radius: 24px;
    padding: 18px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 12vw, 3rem);
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .hero-art {
    min-height: 230px;
    border-radius: 20px;
  }

  .hero-art-title {
    font-size: 1.25rem;
  }

  .hero-art-meta {
    font-size: 0.84rem;
  }

  .stats-strip {
    padding-inline: 12px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-item {
    padding: 14px;
  }

  .stat-value {
    font-size: 1.22rem;
  }

  .section-title {
    font-size: 1.12rem;
  }

  .panel-card {
    padding: 16px;
  }

  .panel-splash {
    grid-template-columns: 84px 1fr;
  }

  .news-thumb {
    width: 84px;
    height: 72px;
  }

  .footer-top {
    gap: 10px;
  }

  .footer-links {
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .stat-icon {
    font-size: 1.8rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .hero-search input,
  .top-search input {
    padding-left: 14px;
  }
}
@media (max-width: 320px) {
  .stat-icon {
    font-size: 1.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .card-badge {
    top: 0px;
    left: 0px;
    padding: 0px;
    border-radius: 5px;
    font-size: 0.5rem;
  }
  .media-card {
    border-radius: 5px;
  }
  .rail{

  }
  .section-card{
    padding: 8px;
  }
  .home-section{
    width: auto;
    padding-left: 12px;
    padding-right: 12px;
  }
  .content-stack{
    gap: 10px;
  }
  .card-link{
    margin: 0 !important;
  }
}