/* Homepage v10: clear identity, a unit-focused pickup, and a compact news feed. */
.topbar { gap: 24px; }

.home-intro { margin: 0 0 20px; }
.home-intro .page-head { margin: 0; align-items: center; }
.home-intro .page-head h1 { font-size: 28px; letter-spacing: -.1px; line-height: 1.15; margin-bottom: 7px; }
.home-intro .page-head .sub { font-size: 14px; line-height: 1.6; max-width: 800px; }
.home-intro .page-head .eyebrow { margin-bottom: 8px; font-size: 9px; letter-spacing: 1.6px; }

/* Only this featured unit card is reframed. Catalog artwork keeps its sizing. */
.hero-feature.hero-unit-feature {
  --hero-surface: #0b2430;
  min-height: 480px;
  margin-bottom: 26px;
  position: relative;
  isolation: isolate;
  background: var(--hero-surface);
  border-color: #3b6477;
  box-shadow: 0 12px 34px #0002;
}
.hero-feature.hero-unit-feature::after { content: none; }
.hero-unit-feature .hero-media { position: absolute; inset: 0 0 0 36%; overflow: hidden; z-index: -1; }
/* Fit to the banner height, not its width: wide desktop panels must not
   enlarge the official artwork until the top and bottom are cropped. */
.hero-unit-feature .hero-media > img.hero-unit-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right top;
}
.hero-unit-feature .hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--hero-surface) 0%, var(--hero-surface) 30%, #0b2430ef 40%, #0b243077 49%, transparent 61%);
}
.hero-unit-feature .hero-copy {
  position: relative;
  z-index: 1;
  width: 53%;
  max-width: 610px;
  padding: 32px 12px 28px 38px;
}
.hero-unit-feature .hero-copy > .eyebrow { color: #9ae0ef; font-size: 10px; letter-spacing: 2px; margin: 0 0 9px; }
.hero-unit-feature .hero-copy h2 {
  font-size: clamp(52px, 5.3vw, 72px);
  line-height: .98;
  letter-spacing: -.6px;
  color: #fff;
  margin: 0 0 7px;
  text-shadow: 0 3px 20px #08172066;
}
.hero-unit-feature .hero-copy > p.hero-variant {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .2px;
  color: #d7edf1;
  margin: 0 0 12px;
  max-width: none;
}
.hero-unit-feature .hero-traits { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; margin: 0 0 12px; }
.hero-unit-feature .hero-role { color: #b9d3df; font-size: 11px; line-height: 1.4; }
.hero-unit-feature .hero-traits .attribute-list { justify-content: flex-start; gap: 9px; }
.hero-unit-feature .hero-traits .attribute-badge { color: #e0eff4; font-size: 12px; gap: 5px; }
.hero-unit-feature .hero-traits .attribute-badge > img { width: 22px; height: 22px; flex-basis: 22px; }
.hero-unit-feature .hero-traits .rarity { color: #f4cc7a; font-size: 13px; letter-spacing: 1.5px; margin: 0; }
.hero-unit-feature .hero-copy > p.hero-description { color: #bcd3de; font-size: 13px; line-height: 1.7; max-width: 370px; margin: 0 0 14px; }
.hero-unit-feature .hero-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.hero-unit-feature .hero-actions .button { margin: 0; padding: 12px 16px; font-size: 12px; }
.hero-unit-feature .hero-actions .button.secondary { background: #143849; color: #d9edf4; border-color: #557c8f; }
.hero-unit-feature .hero-actions .button.secondary:hover { background: #214c5f; border-color: #85bdcf; }
.hero-unit-feature .hero-copy > p.hero-weapon-note { color: #93b5c6; font-size: 11px; line-height: 1.5; margin: 8px 0 12px; max-width: 380px; }
.hero-unit-feature .event-clock { margin: 0; }
.hero-unit-feature .countdown { background: #0c2a38e8; color: #bfe9f3; border-color: #355e72; margin: 0; font-size: 11px; padding: 9px 11px; }
.hero-unit-feature .countdown strong { color: #e2f6fb; }
.hero-unit-feature .countdown small { color: #a9c9d7; }
.hero-unit-feature .battle-ended { margin: 0; font-size: 12px; }
html[data-theme="light"] .hero-feature.hero-unit-feature { border-color: #95b4c1; box-shadow: 0 10px 30px #24465816; }
html[data-theme="light"] .hero-unit-feature .hero-copy > p.hero-variant { color: #d7edf1; }
html[data-theme="light"] .hero-unit-feature .hero-copy > p.hero-description { color: #bcd3de; }
html[data-theme="light"] .hero-unit-feature .hero-copy > p.hero-weapon-note { color: #93b5c6; }
html[data-theme="light"] .hero-unit-feature .hero-traits .attribute-badge { color: #e0eff4; }
html[data-theme="light"] .hero-unit-feature .hero-traits .rarity { color: #f4cc7a; }
html[data-theme="light"] .hero-unit-feature .hero-copy > .eyebrow { color: #9ae0ef; }
html[data-theme="light"] .hero-unit-feature .hero-actions .button.secondary { background: #143849; color: #d9edf4; border-color: #557c8f; }
html[data-theme="light"] .hero-unit-feature .countdown { background: #0c2a38e8; color: #bfe9f3; border-color: #355e72; }

/* One compact feed replaces a wall of separate update cards. */
.home-news.news-panel { overflow: hidden; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 0; }
.news-panel-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 23px 24px 18px; }
.news-panel-heading h2 { font-size: 30px; line-height: 1.15; margin: 0; color: var(--text); }
.news-timezone { color: var(--muted); font-size: 11px; line-height: 1.5; white-space: nowrap; }
.news-list { padding: 0 24px 6px; }
.news-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto 185px;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 17px 0;
  min-width: 0;
}
.news-category { color: var(--accent); font-size: 10px; font-weight: 700; line-height: 1.5; text-transform: uppercase; letter-spacing: 1px; }
.news-category small { font-size: inherit; line-height: inherit; }
.news-copy { min-width: 0; }
.news-copy h3 { font-family: 'DM Sans', Arial, sans-serif; font-size: 15px; font-weight: 700; line-height: 1.5; margin: 0 0 4px; color: var(--text); }
.news-copy p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }
.home-news.news-panel .news-status { margin: 0; width: max-content; max-width: 100%; justify-self: start; white-space: nowrap; font-size: 10px; font-weight: 600; padding: 5px 8px; line-height: 1.4; border-radius: 5px; background: var(--surface-raised); border: 1px solid var(--line); color: var(--muted); }
.home-news.news-panel .news-status[data-tone="upcoming"] { background: var(--soft-accent); color: var(--accent); }
.home-news.news-panel .news-status[data-tone="available"] { background: var(--success-bg); color: var(--success-text); border-color: color-mix(in srgb, var(--success-text) 28%, transparent); }
.home-news.news-panel .news-status[data-tone="completed"] { background: var(--surface-raised); color: var(--muted); }
.home-news.news-panel .news-status[data-tone="ended"] { background: var(--warning-bg); color: var(--warning-text); border-color: color-mix(in srgb, var(--warning-text) 28%, transparent); }
.home-news.news-panel .news-status[data-tone="announced"] { background: var(--soft-accent); color: var(--accent); }
.home-news.news-panel .news-date { display: flex; flex-direction: column; gap: 4px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; min-width: 0; }
.home-news.news-panel .news-date > span { font-size: 11px; color: var(--muted); }
.home-news.news-panel .news-date > strong { color: var(--text); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }

@media (min-width: 1500px) {
  .hero-feature.hero-unit-feature { min-height: 490px; }
  .hero-unit-feature .hero-copy { padding: 34px 16px 28px 44px; }
}
@media (max-width: 1180px) {
  .hero-feature.hero-unit-feature { min-height: 460px; }
  .hero-unit-feature .hero-copy { width: 55%; padding: 35px 12px 32px 28px; }
  .hero-unit-feature .hero-copy h2 { font-size: 60px; }
  .hero-unit-feature .hero-copy > p.hero-variant { font-size: 25px; }
  .hero-unit-feature .hero-media { left: 34%; }
  .hero-unit-feature .hero-media::after { background: linear-gradient(90deg, var(--hero-surface) 0%, var(--hero-surface) 12%, #0b2430dc 23%, transparent 40%); }
  .news-row { grid-template-columns: minmax(0, 1fr) auto 168px; gap: 6px 17px; }
  .news-category { grid-column: 1; grid-row: 1; font-size: 9px; }
  .news-copy { grid-column: 1; grid-row: 2; }
  .home-news.news-panel .news-status { grid-column: 2; grid-row: 1 / 3; }
  .home-news.news-panel .news-date { grid-column: 3; grid-row: 1 / 3; }
}
@media (max-width: 900px) {
  .top-right { gap: 10px; }
  .top-right .private-badge { display: none; }
  .hero-unit-feature .hero-copy h2 { font-size: 56px; }
  .hero-unit-feature .hero-copy > p.hero-description { font-size: 12px; max-width: 310px; }
  .hero-unit-feature .hero-actions .button { padding: 11px 13px; font-size: 11px; }
  .news-panel-heading { padding: 21px 20px 17px; }
  .news-list { padding: 0 20px 4px; }
  .news-row { grid-template-columns: minmax(0, 1fr) auto 156px; column-gap: 13px; }
}
@media (max-width: 620px) {
  .topbar { padding: 0 12px; gap: 10px; min-height: 70px; }
  .theme-toggle { padding: 8px 7px; gap: 4px; font-size: 10px; }
  .theme-toggle .theme-icon { font-size: 15px; }
  .home-intro { margin-bottom: 17px; }
  .home-intro .page-head h1 { font-size: 25px; margin-bottom: 7px; }
  .home-intro .page-head .sub { font-size: 13px; line-height: 1.6; }
  .hero-feature.hero-unit-feature { min-height: 0; border-radius: 12px; margin-bottom: 23px; }
  .hero-unit-feature .hero-media { position: relative; inset: auto; height: auto; aspect-ratio: 1067 / 600; width: 100%; z-index: 0; }
  .hero-unit-feature .hero-media > img.hero-unit-image { inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
  .hero-unit-feature .hero-media::after { background: linear-gradient(0deg, #0b243066, transparent 15%); }
  .hero-unit-feature .hero-copy { width: 100%; max-width: none; padding: 22px 23px 25px; }
  .hero-unit-feature .hero-copy > .eyebrow { font-size: 9px; letter-spacing: 1.7px; margin-bottom: 11px; }
  .hero-unit-feature .hero-copy h2 { font-size: 53px; letter-spacing: -.3px; }
  .hero-unit-feature .hero-copy > p.hero-variant { font-size: 26px; margin-bottom: 16px; }
  .hero-unit-feature .hero-traits { margin-bottom: 15px; gap: 12px; }
  .hero-unit-feature .hero-traits .attribute-badge { font-size: 12px; }
  .hero-unit-feature .hero-traits .rarity { font-size: 13px; }
  .hero-unit-feature .hero-copy > p.hero-description { font-size: 13px; max-width: none; margin-bottom: 17px; }
  .hero-unit-feature .hero-actions { gap: 8px; }
  .hero-unit-feature .hero-actions .button { padding: 11px 14px; font-size: 12px; }
  .hero-unit-feature .hero-copy > p.hero-weapon-note { margin: 10px 0 17px; font-size: 11px; }
  .hero-unit-feature .countdown { font-size: 11px; row-gap: 5px; }
  .hero-unit-feature .countdown small { font-size: 9px; }
  .news-panel-heading { display: block; padding: 21px 19px 16px; }
  .news-panel-heading h2 { font-size: 28px; }
  .news-timezone { display: block; margin-top: 6px; font-size: 11px; }
  .news-list { padding: 0 19px 3px; }
  .news-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding: 18px 0; }
  .news-category { grid-column: 1; grid-row: 1; font-size: 9px; align-self: center; }
  .news-copy { grid-column: 1 / -1; grid-row: 2; }
  .news-copy h3 { font-size: 15px; line-height: 1.45; margin-bottom: 6px; }
  .news-copy p { font-size: 14px; line-height: 1.6; }
  .home-news.news-panel .news-status { grid-column: 2; grid-row: 1; justify-self: end; font-size: 9px; padding: 4px 7px; }
  .home-news.news-panel .news-date { grid-column: 1 / -1; grid-row: 3; flex-direction: row; flex-wrap: wrap; gap: 4px 7px; align-items: baseline; }
  .home-news.news-panel .news-date > span { font-size: 11px; }
  .home-news.news-panel .news-date > strong { font-size: 12px; }
}
@media (max-width: 360px) {
  .topbar { gap: 7px; }
  .theme-toggle { padding: 8px 6px; gap: 4px; }
  .theme-toggle .theme-icon { display: none; }
  .hero-unit-feature .hero-copy { padding-right: 19px; padding-left: 19px; }
  .hero-unit-feature .hero-copy h2 { font-size: 48px; }
  .hero-unit-feature .hero-copy > p.hero-variant { font-size: 24px; }
  .hero-unit-feature .hero-actions .button { font-size: 11px; padding: 11px 12px; }
  .news-panel-heading { padding-right: 16px; padding-left: 16px; }
  .news-list { padding-right: 16px; padding-left: 16px; }
}
