:root {
  --nip-red: #d71920;
  --nip-red-dark: #a80f16;
  --nip-ink: #18191f;
  --nip-muted: #657080;
  --nip-line: #e7e9ee;
  --nip-bg: #f6f7fa;
  --nip-paper: #ffffff;
  --nip-teal: #1f7a8c;
  --nip-green: #138a58;
  --nip-saffron: #d78318;
  --nip-blue: #285c9b;
  --nip-shadow: 0 14px 36px rgba(24, 25, 31, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--nip-bg);
  color: var(--nip-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--nip-red);
}

img {
  max-width: 100%;
}

.container-page {
  padding-bottom: 64px;
}

.fw-black {
  font-weight: 950;
}

.top-strip {
  background: #111318;
  color: #f8f9fb;
  font-size: 0.88rem;
}

.top-strip .form-select {
  background-color: #20232b;
  border-color: #303642;
  color: #fff;
  min-width: 140px;
}

.top-strip .form-select:focus,
.filter-panel .form-select:focus,
.filter-panel .form-control:focus,
.auth-panel .form-control:focus,
.post-form .form-control:focus,
.post-form .form-select:focus,
.contact-form .form-control:focus,
.comment-form .form-control:focus {
  border-color: var(--nip-red);
  box-shadow: 0 0 0 0.2rem rgba(215, 25, 32, 0.14);
}

.brand-row {
  background: #fff;
  border-bottom: 1px solid var(--nip-line);
}

.brand-mark {
  align-items: center;
  background: var(--nip-red);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  letter-spacing: 0;
  width: 42px;
}

.brand-name {
  color: var(--nip-ink);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.brand-name span {
  color: var(--nip-red);
}

.brand-tagline {
  color: var(--nip-muted);
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 4px;
  text-transform: uppercase;
}

.navbar-news {
  background: #ffffff;
  border-bottom: 1px solid var(--nip-line);
  box-shadow: 0 8px 20px rgba(24, 25, 31, 0.05);
  z-index: 1030;
}

.navbar-news .nav-link {
  border-bottom: 3px solid transparent;
  color: #222631;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 1rem 0.78rem;
}

.navbar-news .nav-link.active,
.navbar-news .nav-link:hover {
  border-color: var(--nip-red);
  color: var(--nip-red);
}

.btn-nip {
  --bs-btn-bg: var(--nip-red);
  --bs-btn-border-color: var(--nip-red);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--nip-red-dark);
  --bs-btn-hover-border-color: var(--nip-red-dark);
  --bs-btn-hover-color: #fff;
  border-radius: 6px;
  font-weight: 800;
}

.btn-nip-outline {
  --bs-btn-color: var(--nip-red);
  --bs-btn-border-color: var(--nip-red);
  --bs-btn-hover-bg: var(--nip-red);
  --bs-btn-hover-border-color: var(--nip-red);
  --bs-btn-hover-color: #fff;
  border-radius: 6px;
  font-weight: 800;
}

.btn-icon {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  min-height: 40px;
  white-space: nowrap;
}

.breaking-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--nip-line);
  overflow: hidden;
}

.breaking-label {
  background: var(--nip-red);
  color: #fff;
  flex: 0 0 auto;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 10px 16px;
  text-transform: uppercase;
}

.ticker-window {
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.ticker-track {
  animation: ticker 32s linear infinite;
  display: inline-flex;
  gap: 42px;
  padding-left: 100%;
}

.ticker-track a {
  color: #20242d;
  font-size: 0.95rem;
  font-weight: 800;
}

.ticker-track i {
  color: var(--nip-saffron);
  margin-right: 8px;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.page-band {
  padding: 42px 0;
}

.page-band-white {
  background: #fff;
  border-bottom: 1px solid var(--nip-line);
  border-top: 1px solid var(--nip-line);
}

.section-kicker {
  color: var(--nip-red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title h2,
.section-title h1 {
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

.section-title h1 {
  max-width: 820px;
}

.section-title .rule {
  background: var(--nip-red);
  display: inline-block;
  height: 4px;
  margin-right: 8px;
  width: 34px;
}

.hero-news {
  background: #fff;
  padding: 28px 0 38px;
}

.featured-swiper {
  border-radius: 8px;
  box-shadow: var(--nip-shadow);
  overflow: hidden;
}

.feature-slide {
  background: #111318;
  color: #fff;
  min-height: 468px;
  position: relative;
}

.feature-slide img {
  height: 468px;
  object-fit: cover;
  opacity: 0.72;
  width: 100%;
}

.feature-content {
  bottom: 0;
  left: 0;
  padding: 34px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.feature-content h2 {
  font-size: clamp(1.7rem, 3.5vw, 3.2rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.03;
  margin: 12px 0;
  max-width: 760px;
}

.feature-content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  margin-bottom: 0;
  max-width: 680px;
}

.news-chip {
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  color: var(--nip-ink);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 900;
  gap: 6px;
  padding: 6px 10px;
  text-transform: uppercase;
}

.news-chip.red {
  background: var(--nip-red);
  color: #fff;
}

.news-chip.teal {
  background: var(--nip-teal);
  color: #fff;
}

.news-chip.dark {
  background: #20242d;
  color: #fff;
}

.story-mini {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nip-line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 112px 1fr;
  margin-bottom: 14px;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.story-mini:hover,
.news-card:hover,
.category-tile:hover,
.location-tile:hover,
.tag-pill:hover {
  box-shadow: var(--nip-shadow);
  transform: translateY(-2px);
}

.story-mini img {
  height: 104px;
  object-fit: cover;
  width: 112px;
}

.story-mini h3 {
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.24;
  margin: 4px 10px 6px 0;
}

.meta-row {
  align-items: center;
  color: var(--nip-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 12px;
}

.meta-row i {
  color: var(--nip-red);
}

.news-card {
  background: #fff;
  border: 1px solid var(--nip-line);
  border-radius: 8px;
  height: 100%;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.news-card-img {
  aspect-ratio: 16 / 10;
  background: #dfe3ea;
  display: block;
  object-fit: cover;
  width: 100%;
}

.news-card-body {
  padding: 16px;
}

.news-card h3 {
  font-size: 1.08rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.22;
  margin: 10px 0 8px;
}

.news-card p {
  color: var(--nip-muted);
  font-size: 0.94rem;
  margin-bottom: 12px;
}

.clamp-2,
.clamp-3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.clamp-2 {
  -webkit-line-clamp: 2;
}

.clamp-3 {
  -webkit-line-clamp: 3;
}

.content-badge {
  align-items: center;
  border: 1px solid var(--nip-line);
  border-radius: 999px;
  color: #333846;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 900;
  gap: 6px;
  padding: 5px 9px;
  text-transform: uppercase;
}

.content-badge.video {
  color: var(--nip-red);
}

.content-badge.image {
  color: var(--nip-teal);
}

.content-badge.article {
  color: var(--nip-blue);
}

.tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-pill {
  align-items: center;
  background: #fff;
  border: 1px solid var(--nip-line);
  border-radius: 999px;
  color: #303643;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  padding: 9px 14px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.tag-pill i {
  color: var(--nip-saffron);
}

.filter-panel,
.auth-panel,
.dashboard-panel,
.post-form,
.insight-panel,
.contact-form,
.empty-state {
  background: #fff;
  border: 1px solid var(--nip-line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(24, 25, 31, 0.05);
}

.filter-panel,
.post-form,
.contact-form {
  padding: 20px;
}

.filter-panel label,
.post-form label,
.auth-panel label,
.contact-form label {
  color: #333846;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.filter-panel .form-select,
.filter-panel .form-control,
.auth-panel .form-control,
.post-form .form-control,
.post-form .form-select,
.contact-form .form-control {
  border-radius: 6px;
  min-height: 44px;
}

.pagination .page-link {
  border-radius: 6px;
  color: var(--nip-red);
  font-weight: 800;
  margin: 0 3px;
}

.pagination .active .page-link {
  background: var(--nip-red);
  border-color: var(--nip-red);
  color: #fff;
}

.article-shell {
  background: #fff;
  border-bottom: 1px solid var(--nip-line);
  padding: 54px 0 60px;
}

.article-container {
  max-width: 1460px;
}

.article-title {
  font-size: 4.7rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 16px 0 20px;
}

.article-lede {
  color: #4c5666;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.55;
  max-width: 980px;
}

.article-meta {
  font-size: 0.95rem;
  gap: 16px;
}

.article-media {
  border: 1px solid var(--nip-line);
  border-radius: 8px;
  box-shadow: var(--nip-shadow);
  margin-top: 38px;
  overflow: hidden;
}

.article-media img,
.article-media iframe {
  aspect-ratio: 16 / 8.5;
  background: #111318;
  border: 0;
  display: block;
  max-height: 690px;
  object-fit: cover;
  width: 100%;
}

.article-body {
  background: #fff;
  border: 1px solid var(--nip-line);
  border-radius: 8px;
  font-size: 1.16rem;
  line-height: 1.82;
  margin-top: 24px;
  padding: 38px;
}

.article-body p {
  margin-bottom: 1.35rem;
}

.article-body p:first-child {
  color: #303643;
  font-size: 1.24rem;
  font-weight: 650;
}

.article-brief,
.article-highlights,
.article-tags-block,
.author-box,
.comments-panel,
.sidebar-panel {
  background: #fff;
  border: 1px solid var(--nip-line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(24, 25, 31, 0.06);
}

.article-brief {
  padding: 24px;
}

.article-brief h2 {
  font-size: 1.35rem;
  font-weight: 950;
  margin: 6px 0 18px;
}

.article-stat-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.article-stat {
  background: #f8f9fc;
  border: 1px solid var(--nip-line);
  border-radius: 8px;
  padding: 14px 10px;
}

.article-stat i {
  color: var(--nip-red);
  font-size: 1rem;
}

.article-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1.1;
  margin-top: 8px;
}

.article-stat span {
  color: var(--nip-muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-top: 4px;
  text-transform: uppercase;
}

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

.brief-list div {
  align-items: center;
  border-top: 1px solid var(--nip-line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding-top: 12px;
}

.brief-list span {
  color: var(--nip-muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.brief-list strong {
  color: var(--nip-ink);
  font-size: 0.95rem;
  text-align: right;
}

.article-detail-band {
  padding-top: 46px;
}

.article-highlights {
  border-left: 5px solid var(--nip-red);
  padding: 26px 30px;
}

.article-highlights ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.article-highlights li {
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.45;
  padding-left: 30px;
  position: relative;
}

.article-highlights li::before {
  background: var(--nip-red);
  border-radius: 50%;
  content: "";
  height: 10px;
  left: 4px;
  position: absolute;
  top: 8px;
  width: 10px;
}

.article-callout {
  align-items: flex-start;
  background: #151820;
  border-radius: 8px;
  color: #fff;
  display: flex;
  gap: 16px;
  margin: 26px 0;
  padding: 22px;
}

.article-callout i {
  color: var(--nip-saffron);
  font-size: 1.25rem;
  margin-top: 2px;
}

.article-callout strong,
.article-callout span {
  display: block;
}

.article-callout strong {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.article-callout span {
  color: rgba(255, 255, 255, 0.86);
}

.article-tags-block,
.author-box,
.comments-panel {
  margin-top: 24px;
  padding: 26px;
}

.article-tags-block h2,
.author-box h2,
.comments-panel h2 {
  font-size: 1.25rem;
  font-weight: 950;
  margin-bottom: 14px;
}

.author-box {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 76px 1fr;
}

.author-avatar {
  align-items: center;
  background: var(--nip-red);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 1.3rem;
  font-weight: 950;
  height: 76px;
  justify-content: center;
  width: 76px;
}

.author-box p {
  color: var(--nip-muted);
  margin-bottom: 0;
}

.comment-form {
  background: #f8f9fc;
  border: 1px solid var(--nip-line);
  border-radius: 8px;
  margin-bottom: 24px;
  padding: 18px;
}

.comment-form label {
  color: #333846;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.comment-form .form-control {
  border-radius: 6px;
  min-height: 44px;
}

.commenting-as {
  align-items: center;
  color: #4c5666;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.commenting-as i {
  color: var(--nip-red);
}

.comments-list {
  display: grid;
  gap: 16px;
}

.comment-item {
  display: grid;
  gap: 14px;
  grid-template-columns: 46px 1fr;
}

.comment-avatar {
  align-items: center;
  background: #20242d;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 0.86rem;
  font-weight: 950;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.comment-head {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.comment-head strong {
  color: var(--nip-ink);
}

.comment-head span {
  color: var(--nip-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.comment-item p {
  color: #4c5666;
  margin-bottom: 0;
}

.comments-empty {
  align-items: center;
  background: #f8f9fc;
  border: 1px dashed #cfd5df;
  border-radius: 8px;
  color: var(--nip-muted);
  display: flex;
  gap: 10px;
  padding: 16px;
}

.comments-empty i {
  color: var(--nip-red);
}

.detail-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 128px;
}

.sidebar-panel {
  padding: 22px;
}

.sidebar-panel .section-title {
  margin-bottom: 12px;
}

.sidebar-panel .section-title h2 {
  font-size: 1.18rem;
}

.sidebar-panel p {
  color: #4c5666;
  font-weight: 650;
  margin-bottom: 0;
}

.context-list {
  display: grid;
  gap: 14px;
}

.context-list div {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}

.context-list i {
  color: var(--nip-red);
  margin-top: 4px;
}

.context-list span {
  color: #4c5666;
  font-weight: 650;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-shell .stat-grid {
  grid-template-columns: 1fr;
}

.stat-card,
.dashboard-panel,
.insight-panel {
  padding: 20px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--nip-line);
  border-radius: 8px;
}

.stat-card i {
  color: var(--nip-red);
  font-size: 1.25rem;
}

.stat-card strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 950;
  margin-top: 8px;
}

.auth-panel {
  margin: 0 auto;
  max-width: 940px;
  overflow: hidden;
}

.auth-side {
  background: #151820;
  color: #fff;
  min-height: 100%;
  padding: 32px;
}

.auth-side h2 {
  font-weight: 950;
  letter-spacing: 0;
}

.nav-pills .nav-link {
  border-radius: 6px;
  color: var(--nip-red);
  font-weight: 900;
}

.nav-pills .nav-link.active {
  background: var(--nip-red);
}

.history-item,
.saved-item,
.post-row {
  align-items: center;
  border-bottom: 1px solid var(--nip-line);
  display: grid;
  gap: 14px;
  grid-template-columns: 86px 1fr auto;
  padding: 14px 0;
}

.history-item:last-child,
.saved-item:last-child,
.post-row:last-child {
  border-bottom: 0;
}

.history-item img,
.saved-item img,
.post-row img {
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  width: 86px;
}

.post-row .post-type {
  min-width: 92px;
  text-align: center;
}

.category-tile,
.location-tile {
  background: #fff;
  border: 1px solid var(--nip-line);
  border-radius: 8px;
  display: block;
  height: 100%;
  padding: 22px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.category-tile i,
.location-tile i {
  align-items: center;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 1.35rem;
  height: 50px;
  justify-content: center;
  margin-bottom: 18px;
  width: 50px;
}

.category-tile h3,
.location-tile h3 {
  font-size: 1.16rem;
  font-weight: 950;
  margin-bottom: 8px;
}

.category-tile p,
.location-tile p,
.empty-state p {
  color: var(--nip-muted);
}

.empty-state {
  padding: 32px;
  text-align: center;
}

.dashboard-panel .empty-state,
.insight-panel .empty-state,
.post-form .empty-state {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 18px;
}

.site-footer {
  background: #111318;
  color: #d9dde5;
  padding: 38px 0 24px;
}

.mobile-tabbar {
  display: none;
}

.site-footer a {
  color: #d9dde5;
}

.site-footer a:hover {
  color: #fff;
}

.footer-title {
  color: #fff;
  font-weight: 950;
  margin-bottom: 12px;
}

.toast-container {
  z-index: 2000;
}

.toast-nip {
  border: 0;
  border-radius: 8px;
  box-shadow: var(--nip-shadow);
}

.table-responsive {
  border: 1px solid var(--nip-line);
  border-radius: 8px;
}

@media (max-width: 991.98px) {
  .navbar-news .nav-link {
    padding: 0.74rem 0;
  }

  .feature-slide,
  .feature-slide img {
    min-height: 390px;
    height: 390px;
  }

  .feature-content {
    padding: 24px;
  }

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

  .article-shell {
    padding: 42px 0 48px;
  }

  .article-title {
    font-size: 3.15rem;
  }

  .article-lede {
    font-size: 1.16rem;
  }

  .article-media img,
  .article-media iframe {
    aspect-ratio: 16 / 9;
  }

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

  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: calc(102px + env(safe-area-inset-bottom));
  }

  .container-page {
    padding-bottom: 28px;
  }

  .top-strip .form-select {
    min-width: 112px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tagline {
    font-size: 0.66rem;
  }

  .brand-mark {
    height: 36px;
    width: 36px;
  }

  .story-mini,
  .history-item,
  .saved-item,
  .post-row {
    grid-template-columns: 76px 1fr;
  }

  .story-mini img,
  .history-item img,
  .saved-item img,
  .post-row img {
    height: 76px;
    width: 76px;
  }

  .post-row .post-type,
  .history-item .item-action,
  .saved-item .item-action,
  .post-row .item-action {
    grid-column: 1 / -1;
    text-align: left;
  }

  .article-body {
    font-size: 1.04rem;
    padding: 20px;
  }

  .article-title {
    font-size: 2.24rem;
    line-height: 1.08;
  }

  .article-meta {
    font-size: 0.86rem;
  }

  .article-stat-grid {
    grid-template-columns: 1fr;
  }

  .article-highlights,
  .article-tags-block,
  .author-box,
  .comments-panel,
  .sidebar-panel,
  .article-brief {
    padding: 20px;
  }

  .author-box {
    align-items: flex-start;
    grid-template-columns: 56px 1fr;
  }

  .author-avatar {
    font-size: 1rem;
    height: 56px;
    width: 56px;
  }

  .ticker-track {
    animation-duration: 24s;
    gap: 28px;
  }

  .page-band {
    padding: 32px 0;
  }

  .navbar-news {
    display: none;
  }

  .mobile-tabbar {
    bottom: calc(12px + env(safe-area-inset-bottom));
    display: block;
    left: 12px;
    position: fixed;
    right: 12px;
    z-index: 1080;
  }

  .mobile-tabbar-shell {
    align-items: stretch;
    background: rgba(17, 19, 24, 0.92);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(17, 19, 24, 0.24);
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 8px;
  }

  .mobile-tabbar-link {
    align-items: center;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.72);
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    min-height: 64px;
    padding: 8px 4px;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  .mobile-tabbar-link:hover {
    color: #fff;
    transform: translateY(-1px);
  }

  .mobile-tabbar-link.active {
    background: rgba(215, 25, 32, 0.18);
    color: #fff;
  }

  .mobile-tabbar-link.is-cta .mobile-tabbar-icon {
    background: linear-gradient(180deg, #ef3f45 0%, #d71920 100%);
    box-shadow: 0 12px 20px rgba(215, 25, 32, 0.28);
    color: #fff;
  }

  .mobile-tabbar-link.active.is-cta {
    background: rgba(215, 25, 32, 0.22);
  }

  .mobile-tabbar-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: inline-flex;
    font-size: 1rem;
    height: 34px;
    justify-content: center;
    width: 34px;
  }

  .mobile-tabbar-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1;
  }

  .site-footer {
    padding-bottom: calc(118px + env(safe-area-inset-bottom));
  }
}
