/* wgf-blizzcon.css - the /blizzcon-2026 hub and announcement pages.
 *
 * Sits on the site's Blizzard palette (static/css/_tokens.css): slate panels, the
 * gold brand ramp, quality-style chips. Every color is a --wgf-* token with a hex
 * fallback, or a neutral alpha of the chrome; the only new hues are the franchise
 * chips, which carry each game's own identity color. Vanilla CSS only (project law).
 */

.bc-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 16px 48px;
}

/* ---------------------------------------------------------------- hero */

.bc-hero,
.bc-article {
  background: var(--wgf-panel-1, #17181c);
  border: 1px solid rgba(255, 209, 0, 0.38);
  border-radius: 10px;
  padding: 24px 22px 20px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.bc-hero {
  background:
    linear-gradient(180deg, rgba(9, 10, 14, 0.78), rgba(23, 24, 28, 0.94)),
    url(/assets/ui/classhall-stone-tile.png) center / 256px auto repeat;
}

.bc-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

@media (min-width: 720px) {
  .bc-hero-grid { grid-template-columns: 96px 1fr; }
}

.bc-hero-crest {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.bc-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 209, 0, 0) 0%, var(--wgf-gold-primary, #ffd100) 45%, rgba(255, 209, 0, 0) 100%);
}

.bc-kicker {
  margin: 0 0 8px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wgf-gold-soft, #e8d48a);
}

.bc-title {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.15;
  color: var(--wgf-gold-primary, #ffd100);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.bc-lead {
  margin: 0 0 14px;
  color: var(--wgf-gold-soft, #e8d48a);
  font-size: 16.5px;
  line-height: 1.5;
  max-width: 76ch;
}

.bc-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 14px;
}

.bc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--wgf-text, #e6e6e6);
}

.bc-pill--live {
  border-color: rgba(255, 80, 80, 0.7);
  color: #ffb3b3;
}

.bc-pill--live::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.6);
  animation: bc-pulse 1.6s ease-out infinite;
}

@keyframes bc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.6); }
  100% { box-shadow: 0 0 0 9px rgba(255, 77, 77, 0); }
}

.bc-pill--soon .bc-cd {
  font-variant-numeric: tabular-nums;
  color: var(--wgf-gold-primary, #ffd100);
}

.bc-count {
  font-size: 13.5px;
  color: rgba(230, 230, 230, 0.72);
}

.bc-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bc-btn {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 209, 0, 0.4);
  color: var(--wgf-gold-soft, #e8d48a);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  background: rgba(255, 209, 0, 0.06);
}

.bc-btn:hover { background: rgba(255, 209, 0, 0.14); }

.bc-btn--gold {
  background: var(--wgf-gold-primary, #ffd100);
  color: #1b1400;
  border-color: var(--wgf-gold-primary, #ffd100);
}

.bc-btn--gold:hover { background: #ffe14d; }

/* ---------------------------------------------------------------- sections */

.bc-section {
  background: var(--wgf-panel-1, #17181c);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 18px 20px 16px;
  margin-bottom: 16px;
}

.bc-h2 {
  margin: 0 0 8px;
  font-size: 21px;
  color: var(--wgf-gold-primary, #ffd100);
}

.bc-h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--wgf-gold-soft, #e8d48a);
  letter-spacing: 0.02em;
}

.bc-note {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: rgba(230, 230, 230, 0.7);
}

/* ---------------------------------------------------------------- chips */

.bc-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  color: #c9c9c9;
  white-space: nowrap;
}

.bc-chip--wow { color: var(--wgf-gold-primary, #ffd100); }
.bc-chip--esports { color: #5db3ff; }
.bc-chip--warcraft3 { color: #7fd1a3; }
.bc-chip--diablo { color: #ff6b5e; }
.bc-chip--overwatch { color: #ffab3d; }
.bc-chip--hearthstone { color: #d9a066; }
.bc-chip--starcraft { color: #8fd0ff; }

/* ---------------------------------------------------------------- timeline */

.bc-timeline,
.bc-segs,
.bc-list,
.bc-rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bc-entry,
.bc-seg {
  display: grid;
  grid-template-columns: 112px 40px 1fr;
  gap: 6px 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.bc-entry:first-child,
.bc-seg:first-child { border-top: 0; }

.bc-entry-when,
.bc-seg-when {
  font-variant-numeric: tabular-nums;
  color: var(--wgf-gold-soft, #e8d48a);
  font-size: 14px;
  padding-top: 2px;
}

.bc-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  margin-bottom: 4px;
}

.bc-entry-panel {
  font-size: 12.5px;
  color: rgba(230, 230, 230, 0.6);
}

.bc-entry-title {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.3;
}

.bc-entry-title a {
  color: var(--wgf-text, #f1f1f1);
  text-decoration: none;
}

.bc-entry-title a:hover { color: var(--wgf-gold-primary, #ffd100); }

.bc-entry-summary,
.bc-seg-desc {
  margin: 0;
  color: rgba(230, 230, 230, 0.82);
  font-size: 14.5px;
  line-height: 1.5;
}

.bc-entry.is-new {
  animation: bc-in 0.6s ease-out;
}

@keyframes bc-in {
  from { background: rgba(255, 209, 0, 0.16); }
  to { background: transparent; }
}

.bc-empty {
  margin: 10px 0 0;
  padding: 14px;
  border: 1px dashed rgba(255, 209, 0, 0.35);
  border-radius: 8px;
  color: var(--wgf-gold-soft, #e8d48a);
  font-size: 14.5px;
}

/* ---------------------------------------------------------------- schedule */

.bc-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.bc-fbtn {
  font: inherit;
  font-size: 13px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(230, 230, 230, 0.8);
  cursor: pointer;
}

.bc-fbtn.is-on {
  border-color: var(--wgf-gold-primary, #ffd100);
  color: var(--wgf-gold-primary, #ffd100);
  background: rgba(255, 209, 0, 0.08);
}

.bc-days {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 900px) {
  .bc-days { grid-template-columns: 1fr 1fr; }
}

.bc-day {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 12px 14px 6px;
  background: rgba(0, 0, 0, 0.18);
}

.bc-seg-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 3px;
}

.bc-seg-title {
  font-weight: 600;
  color: var(--wgf-text, #f1f1f1);
  font-size: 15px;
}

.bc-stage,
.bc-offline {
  font-size: 12px;
  color: rgba(230, 230, 230, 0.55);
}

.bc-offline { color: #ffab3d; }

.bc-seg.is-hidden { display: none; }

.bc-seg.is-now {
  background: rgba(255, 209, 0, 0.07);
  border-left: 3px solid var(--wgf-gold-primary, #ffd100);
  padding-left: 10px;
  margin-left: -13px;
  border-radius: 0 6px 6px 0;
}

.bc-seg.is-past { opacity: 0.55; }

.bc-seg.is-now .bc-seg-when::after {
  content: "on now";
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff8a8a;
}

/* ---------------------------------------------------------------- expect cards */

.bc-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 720px) {
  .bc-cards { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .bc-cards { grid-template-columns: 1fr 1fr 1fr; }
}

.bc-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.18);
}

.bc-status {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 6px;
  border: 1px solid currentColor;
}

.bc-card--confirmed .bc-status { color: #7fd1a3; }
.bc-card--expected .bc-status { color: var(--wgf-gold-primary, #ffd100); }
.bc-card--speculation .bc-status { color: rgba(230, 230, 230, 0.6); }

.bc-card-title {
  margin: 0 0 6px;
  font-size: 16.5px;
  color: var(--wgf-text, #f1f1f1);
}

.bc-card-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(230, 230, 230, 0.82);
}

/* ---------------------------------------------------------------- lists */

.bc-list li {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(230, 230, 230, 0.86);
}

.bc-list li:first-child { border-top: 0; }

.bc-list a {
  color: var(--wgf-gold-soft, #e8d48a);
  font-weight: 600;
}

.bc-watch-note {
  display: block;
  color: rgba(230, 230, 230, 0.7);
  font-size: 13.5px;
}

.bc-list--plain li { padding: 5px 0; border-top: 0; }

.bc-section--sources { opacity: 0.9; }

/* ---------------------------------------------------------------- entry page */

.bc-page--entry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 960px) {
  .bc-page--with-rail { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
}

.bc-when {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--wgf-gold-soft, #e8d48a);
  font-size: 14px;
}

.bc-body p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--wgf-text, #ececec);
  max-width: 74ch;
}

.bc-source {
  margin: 6px 0 12px;
  font-size: 13.5px;
  color: rgba(230, 230, 230, 0.7);
}

.bc-source a { color: var(--wgf-gold-soft, #e8d48a); }

.bc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

.bc-tag {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(230, 230, 230, 0.75);
}

.bc-back a { color: var(--wgf-gold-primary, #ffd100); font-weight: 600; }

.bc-rail {
  background: var(--wgf-panel-1, #17181c);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px 18px;
}

.bc-rail .bc-h2 { font-size: 17px; }

.bc-rail-list li {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.bc-rail-list li:first-child { border-top: 0; }

.bc-rail-list a {
  color: var(--wgf-text, #f1f1f1);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
}

.bc-rail-list a:hover { color: var(--wgf-gold-primary, #ffd100); }

.bc-rail-when {
  display: block;
  font-size: 12.5px;
  color: rgba(230, 230, 230, 0.6);
}

/* ---------------------------------------------------------------- mobile */

@media (max-width: 560px) {
  .bc-title { font-size: 24px; }
  .bc-entry,
  .bc-seg { grid-template-columns: 40px 1fr; gap: 2px 10px; }
  .bc-entry-when,
  .bc-seg-when { grid-column: 1 / -1; }
  .bc-seg.is-now { margin-left: -14px; padding-left: 11px; }
}

/* ---------------------------------------------------------------- Blizzard asset pass */

/* Quality rings: the kit owns the border art (.wgf-qborder in wgf-chrome.css); these
   co-classes only resize the frame, same pattern as the spellbook's ik-qb--sm. */
.wgf-qborder.bc-qb--xs { width: 28px; height: 28px; }
.wgf-qborder.bc-qb--xs > img { width: 20px; height: 20px; }
.wgf-qborder.bc-qb--sm { width: 36px; height: 36px; }
.wgf-qborder.bc-qb--sm > img { width: 26px; height: 26px; }
.wgf-qborder.bc-qb--md { width: 44px; height: 44px; }
.wgf-qborder.bc-qb--md > img { width: 32px; height: 32px; }
.wgf-qborder.bc-qb--xl { width: 84px; height: 84px; }
.wgf-qborder.bc-qb--xl > img { width: 62px; height: 62px; }

.bc-entry-icon,
.bc-seg-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1px;
}

/* the red button is the client's own nine-slice; keep it on the same baseline as the flat ones */
.bc-btn-red { height: 36px; min-width: 150px; font-size: 14px; }

/* section titles carry the spellbook's divider art underneath */
.bc-h2 {
  padding-bottom: 8px;
  background: url(/assets/ui/spellbook-divider.png) left bottom / auto 6px no-repeat;
}

.bc-h2-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bc-h2-row .bc-h2 { margin: 0; flex: 1 1 auto; }

.bc-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.bc-card-head .bc-status { margin-bottom: 2px; }
.bc-card-head .bc-card-title { margin: 0; }

.bc-rail-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.bc-when .wgf-qborder { margin-right: 2px; }

/* ---------------------------------------------------------------- the stream */

.bc-section--stream {
  border-color: rgba(255, 209, 0, 0.3);
}

.bc-stream {
  max-width: 960px;
  margin: 0 auto;
}

/* the client's metal window corners around a 16:9 player */
.bc-stream-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  padding: 12px;
  background:
    url(/assets/ui/ui-frame-metal-cornertopleft-2x.png) top left / 48px auto no-repeat,
    url(/assets/ui/ui-frame-metal-cornertopright-2x.png) top right / 48px auto no-repeat,
    url(/assets/ui/ui-frame-metal-cornerbottomleft-2x.png) bottom left / 48px auto no-repeat,
    url(/assets/ui/ui-frame-metal-cornerbottomright-2x.png) bottom right / 48px auto no-repeat,
    linear-gradient(#0b0c10, #0b0c10);
  box-shadow: 0 0 0 1px rgba(255, 209, 0, 0.28), 0 18px 40px rgba(0, 0, 0, 0.55);
  border-radius: 6px;
}

.bc-stream-player {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 0;
  background: #000;
  display: block;
}

.bc-stream-links {
  margin: 12px 0 0;
  text-align: center;
  font-size: 14px;
  color: rgba(230, 230, 230, 0.75);
}

.bc-stream-links a {
  color: var(--wgf-gold-soft, #e8d48a);
  font-weight: 600;
}

@media (max-width: 560px) {
  .bc-stream-frame { padding: 8px; background-size: 32px auto, 32px auto, 32px auto, 32px auto, auto; }
  .bc-stream-player { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
  .wgf-qborder.bc-qb--xl { width: 64px; height: 64px; }
  .wgf-qborder.bc-qb--xl > img { width: 46px; height: 46px; }
}
