/* ================= 全局变量 ================= */
:root {
  --primary-color: #007bff;
  --primary-hover: #0056b3;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --border-radius: 5px;
  --spacing-sm: 4px;
  --spacing-md: 8px;
  --spacing-lg: 16px;
}

/* ================= 通用基础样式 ================= */
html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  background-color: #f9f9f9;
  width: 100%;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

/* 改善段落和文本间距 */
p, div {
  line-height: 1.4;
}

/* 改善按钮和链接的可点击区域 */
a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
}

/* 按钮专门样式 - 文字居中 */
.btn, button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
}

/* ================= 容器样式 ================= */
.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--spacing-md);
  padding-bottom: 15px;
  background-color: #fff;
  box-shadow: 0px 4px 8px var(--shadow-color);
  border-radius: var(--border-radius);
  /* 使用动态视口高度，避免移动端 100vh 留白 */
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  display: flex;
  flex-direction: column;
}

/* 中等屏幕及以上样式 */
@media screen and (min-width: 768px) {
  body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
  }

  .container {
    max-width: 800px;
    border-radius: 0px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  }
}

/* 小屏幕样式调整 */
@media (max-width: 576px) {
  .container {
    padding: var(--spacing-sm);
    padding-bottom: 15px;
  }
}

/* ================= 通用链接样式 ================= */
a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* ================= 信息卡片组件 ================= */
.info-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: var(--spacing-lg);
  overflow: hidden;
}

.info-card-header {
  background: #f8f9fa;
  padding: var(--spacing-lg);
  border-bottom: 1px solid #e0e0e0;
}

.info-card-header h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.info-card-body {
  padding: var(--spacing-lg);
}
/* ================= 创意首页增强样式 ================= */
.home-page {
  background: linear-gradient(135deg, #fff7f5 0%, #ffefeb 42%, #ffe8e1 100%);
  position: relative;
}

.home-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(220, 38, 38, 0.17), transparent 56%),
    radial-gradient(circle at 82% 16%, rgba(234, 88, 12, 0.16), transparent 54%),
    radial-gradient(circle at 50% 82%, rgba(185, 28, 28, 0.12), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.home-page .container.creative-home {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 30px 60px -35px rgba(127, 29, 29, 0.38);
  backdrop-filter: blur(14px);
}

@supports not (backdrop-filter: blur(1px)) {
  .home-page .container.creative-home {
    background: #ffffff;
  }
}

.info-card--hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 54%, #5f1717 100%);
  color: #f8fafc;
  box-shadow: 0 24px 48px -28px rgba(127, 29, 29, 0.68);
}

.info-card--hero .info-card-body {
  position: relative;
  padding: clamp(2rem, 5vw, 3rem);
  z-index: 1;
}

.hero-body .hero-canvas {
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.38), transparent 56%),
    radial-gradient(circle at 80% 22%, rgba(251, 146, 60, 0.28), transparent 58%),
    radial-gradient(circle at 30% 82%, rgba(220, 38, 38, 0.30), transparent 60%);
  filter: blur(0);
  opacity: 0.75;
  z-index: 0;
  animation: heroPulse 12s ease-in-out infinite;
}

.hero-layout {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  z-index: 1;
}

.hero-text {
  max-width: 520px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.85);
}

.hero-title {
  margin: 0.75rem 0 0.5rem;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  color: #f8fafc;
}

.hero-subtitle {
  margin: 0;
  font-size: 1rem;
  color: rgba(226, 232, 240, 0.85);
}

.hero-nav {
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  width: min(100%, 420px);
}

.hero-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(253, 224, 71, 0.32);
  background: rgba(127, 29, 29, 0.34);
  color: #fff1f2;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.hero-nav-link:hover {
  color: #fff7ed;
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(253, 224, 71, 0.68);
  background: rgba(153, 27, 27, 0.52);
}

.hero-champion {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: min(100%, 520px);
  min-height: 40px;
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(254, 202, 202, 0.55);
  background: rgba(127, 29, 29, 0.38);
  color: #fff7ed;
  cursor: pointer;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.hero-champion:hover {
  transform: translateY(-1px);
  border-color: rgba(253, 224, 71, 0.72);
  background: rgba(153, 27, 27, 0.52);
}

.hero-champion:focus-visible {
  outline: none;
  border-color: rgba(253, 224, 71, 0.85);
  box-shadow: 0 0 0 3px rgba(254, 202, 202, 0.28);
}

.hero-champion-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(253, 224, 71, 0.22);
  color: #fef3c7;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.hero-champion-time {
  font-size: 0.75rem;
  color: rgba(255, 237, 213, 0.88);
  white-space: nowrap;
}

.hero-champion-main {
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff7ed;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-champion-prize {
  flex-shrink: 0;
  max-width: 52%;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fde68a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-champion.is-updating {
  animation: heroChampionFlash 0.85s ease;
}

.info-card--section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  --section-accent: #60a5fa;
  --section-accent-soft: rgba(96, 165, 250, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(240, 249, 255, 0.94));
  box-shadow: 0 18px 32px -26px rgba(15, 23, 42, 0.45);
}

.section-personal {
  --section-accent: #60a5fa;
  --section-accent-soft: rgba(96, 165, 250, 0.18);
}

.section-social {
  --section-accent: #f472b6;
  --section-accent-soft: rgba(244, 114, 182, 0.18);
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.95), rgba(254, 235, 241, 0.94));
}

.section-chat-boost {
  --section-accent: #ef4444;
  --section-accent-soft: rgba(239, 68, 68, 0.2);
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.96), rgba(255, 247, 237, 0.95));
}

.section-game-dynamics {
  --section-accent: #f97316;
  --section-accent-soft: rgba(249, 115, 22, 0.2);
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.96), rgba(255, 237, 213, 0.95));
}

.info-card--section::before {
  content: "";
  position: absolute;
  inset: -60% -10% 50% 40%;
  background: radial-gradient(circle, var(--section-accent-soft), transparent 60%);
  opacity: 0.75;
  pointer-events: none;
}

.info-card--section::after {
  content: "";
  position: absolute;
  height: 4px;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(120deg, transparent, var(--section-accent), transparent);
  opacity: 0.55;
}

.info-card--section .info-card-header {
  background: transparent;
  border-bottom: 0;
  padding: clamp(1.4rem, 4vw, 1.8rem) clamp(1.4rem, 4vw, 2rem) 0.5rem;
  position: relative;
  z-index: 1;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.9rem;
  background: var(--section-accent-soft);
  font-size: 1.2rem;
}

.section-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.section-subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #475569;
  letter-spacing: 0.03em;
}

.info-card--section .info-card-body {
  position: relative;
  z-index: 1;
  padding: clamp(1.4rem, 4vw, 2rem);
  padding-top: clamp(0.8rem, 3vw, 1.2rem);
}

.growth-hub {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.growth-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.growth-perk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0.18rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.34);
  background: rgba(219, 234, 254, 0.92);
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.growth-intro {
  margin: 0;
  color: #334155;
  font-size: 0.85rem;
  line-height: 1.55;
}

.growth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.growth-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  text-align: left;
  text-decoration: none;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.93), rgba(239, 246, 255, 0.88));
  box-shadow: 0 12px 24px -20px rgba(30, 64, 175, 0.45);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.growth-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 16px 28px -18px rgba(30, 64, 175, 0.55);
}

.growth-card-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.growth-card-icon {
  font-size: 1.05rem;
}

.growth-card-title {
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
}

.growth-card-state {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0.08rem 0.5rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.95);
  border: 1px solid rgba(96, 165, 250, 0.38);
  color: #1d4ed8;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.growth-card-desc {
  margin: 0;
  color: #475569;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.growth-card-signal {
  margin: 0;
  color: #1f2937;
  font-size: 0.8rem;
  line-height: 1.45;
}

.growth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

.growth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.79rem;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.growth-btn--primary {
  color: #fff;
  background: linear-gradient(120deg, #3b82f6, #22c55e);
  box-shadow: 0 14px 24px -16px rgba(30, 64, 175, 0.72);
}

.growth-btn--primary:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.growth-btn--ghost {
  color: #1d4ed8;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(96, 165, 250, 0.4);
}

.growth-btn--ghost:hover {
  color: #1e40af;
  text-decoration: none;
  transform: translateY(-1px);
}

.jl-hub {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.jl-hub-head {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.jl-hub-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(236, 72, 153, 0.35);
  background: rgba(253, 242, 248, 0.92);
  color: #be185d;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.jl-hub-intro {
  margin: 0;
  color: #334155;
  font-size: 0.85rem;
  line-height: 1.55;
}

.jl-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.jl-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  padding: 0.82rem 0.85rem;
  border-radius: 14px;
  text-align: left;
  text-decoration: none;
  border: 1px solid rgba(244, 114, 182, 0.24);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 242, 242, 0.88));
  box-shadow: 0 12px 24px -20px rgba(157, 23, 77, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.jl-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(236, 72, 153, 0.45);
  box-shadow: 0 16px 28px -18px rgba(190, 24, 93, 0.5);
}

.jl-card-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.jl-card-icon {
  font-size: 1.02rem;
}

.jl-card-title {
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
}

.jl-card-state {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0.08rem 0.5rem;
  border-radius: 999px;
  background: rgba(252, 231, 243, 0.92);
  border: 1px solid rgba(244, 114, 182, 0.3);
  color: #9d174d;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.jl-card-desc {
  margin: 0;
  color: #475569;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
}

.jl-card-signal {
  margin: 0;
  color: #1f2937;
  font-size: 0.79rem;
  line-height: 1.45;
}

.jl-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

.jl-hub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.79rem;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.jl-hub-btn--primary {
  color: #fff;
  background: linear-gradient(120deg, #ec4899, #f97316);
  box-shadow: 0 14px 24px -16px rgba(190, 24, 93, 0.72);
}

.jl-hub-btn--primary:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.jl-hub-btn--ghost {
  color: #9d174d;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(244, 114, 182, 0.38);
}

.jl-hub-btn--ghost:hover {
  color: #831843;
  text-decoration: none;
  transform: translateY(-1px);
}

.game-dynamics-list {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.chat-boost-live {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  padding: 0.68rem 0.86rem;
  border-radius: 14px;
  border: 1px solid rgba(251, 113, 133, 0.34);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(255, 241, 242, 0.86));
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.chat-boost-live-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
}

.chat-boost-live:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 14px 24px -18px rgba(185, 28, 28, 0.75);
}

.chat-boost-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65);
  animation: chatDotPulse 1.8s ease-out infinite;
}

.chat-boost-live-dot--sub {
  background: rgba(239, 68, 68, 0.6);
  box-shadow: none;
  animation: none;
}

.chat-boost-live-time {
  font-size: 0.75rem;
  color: #7f1d1d;
  font-weight: 700;
}

.chat-boost-live-time--sub {
  color: rgba(127, 29, 29, 0.75);
}

.chat-boost-live-text {
  min-width: 0;
  color: #1f2937;
  font-size: 0.83rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-boost-live-text--sub {
  color: rgba(31, 41, 55, 0.82);
}

.chat-boost-benefits {
  margin-top: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.chat-boost-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.56rem;
  border-radius: 999px;
  background: rgba(254, 226, 226, 0.9);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #991b1b;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.chat-boost-hint {
  margin-top: 0.68rem;
  color: #7c2d12;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  min-height: 1.35rem;
}

.chat-boost-actions {
  margin-top: 0.84rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

.chat-boost-btn {
  min-height: 34px;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.chat-boost-btn--primary {
  color: #fff;
  background: linear-gradient(120deg, #ef4444, #f97316);
  box-shadow: 0 14px 24px -16px rgba(220, 38, 38, 0.8);
}

.chat-boost-btn--primary:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.chat-boost-btn--ghost {
  color: #9a3412;
  background: rgba(255, 247, 237, 0.86);
  border: 1px solid rgba(249, 115, 22, 0.4);
}

.chat-boost-btn--ghost:hover {
  color: #7c2d12;
  text-decoration: none;
  transform: translateY(-1px);
}

.game-dynamic-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(251, 146, 60, 0.24);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 20px -18px rgba(154, 52, 18, 0.5);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.game-dynamic-row:hover {
  transform: translateY(-1px);
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 14px 24px -16px rgba(154, 52, 18, 0.62);
}

.game-dynamic-row:focus-visible {
  outline: none;
  border-color: rgba(249, 115, 22, 0.75);
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.25);
}

.game-dynamic-row.is-updating {
  border-color: rgba(234, 88, 12, 0.62);
  box-shadow: 0 14px 26px -16px rgba(234, 88, 12, 0.65);
  animation: gameRowFlash 0.9s ease;
}

.game-dynamic-main {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
}

.game-dynamic-game {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.16);
  color: #9a3412;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.game-dynamic-time {
  flex-shrink: 0;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 600;
}

.game-dynamic-text {
  min-width: 0;
  color: #1e293b;
  font-size: 0.84rem;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .hero-layout {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 767.98px) {
  .hero-nav {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-champion {
    width: 100%;
    min-height: 52px;
    display: grid;
    grid-template-columns: auto auto auto 1fr;
    grid-template-areas:
      "tag time . ."
      "main main prize .";
    align-items: center;
    column-gap: 0.4rem;
    row-gap: 0.15rem;
    padding: 0.5rem 0.65rem;
  }

  .hero-champion-tag {
    grid-area: tag;
  }

  .hero-champion-time {
    grid-area: time;
  }

  .hero-champion-main {
    grid-area: main;
    max-width: 50vw;
    font-size: 0.76rem;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
  }

  .hero-champion-prize {
    grid-area: prize;
    max-width: 34vw;
    justify-self: start;
    font-size: 0.76rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .chat-boost-benefits {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .chat-boost-chip {
    justify-content: center;
    min-width: 0;
    padding: 0.26rem 0.28rem;
    font-size: 0.7rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .chat-boost-actions {
    width: 100%;
  }

  .chat-boost-btn {
    flex: 1;
    justify-content: center;
  }

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

  .growth-actions {
    width: 100%;
  }

  .growth-btn {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .jl-hub-grid {
    grid-template-columns: 1fr;
  }

  .jl-hub-actions {
    width: 100%;
  }

  .jl-hub-btn {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .game-dynamic-row {
    padding: 0.62rem 0.7rem;
  }

  .game-dynamic-main {
    gap: 0.35rem;
  }
}

@media (max-width: 576px) {
  .growth-perks {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }

  .growth-perk {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.68rem;
    padding: 0.16rem 0.52rem;
  }

  .growth-card {
    padding: 0.78rem 0.78rem;
  }

  .jl-card {
    padding: 0.75rem 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .growth-card,
  .growth-btn,
  .jl-card,
  .jl-hub-btn,
  .chat-boost-live,
  .chat-boost-btn,
  .hero-champion {
    transition: none;
  }

  .growth-card:hover,
  .growth-btn:hover,
  .jl-card:hover,
  .jl-hub-btn:hover,
  .chat-boost-live:hover,
  .chat-boost-btn:hover {
    transform: none;
  }

  .hero-body .hero-canvas {
    animation: none;
  }

  .chat-boost-live-dot,
  .game-dynamic-row.is-updating,
  .hero-champion.is-updating {
    animation: none;
  }
}

@keyframes heroPulse {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(2deg) scale(1.05);
  }
}

@keyframes chatDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.72);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

@keyframes gameRowFlash {
  0% {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.9);
  }
  35% {
    transform: translateY(-1px);
    background: rgba(255, 237, 213, 0.94);
  }
  100% {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.84);
  }
}

@keyframes heroChampionFlash {
  0% {
    transform: translateY(0);
    background: rgba(127, 29, 29, 0.36);
  }
  40% {
    transform: translateY(-1px);
    background: rgba(153, 27, 27, 0.52);
  }
  100% {
    transform: translateY(0);
    background: rgba(127, 29, 29, 0.38);
  }
}
