/* ========== HEADER STYLES ========== */

html {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
  cursor: none;
}
.board-root {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* HEADER BAR */
.board-header {
  flex-shrink: 0;
  height: 85px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 26px;
background: var(--header-bg);
  border-bottom: 3px solid #facc15;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

/* LEFT SIDE (weather + town) */
.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

#weather-emoji {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.6));
}

#weather {
  font-size: 1.25rem;
  font-weight: 500;
}

#town {
  font-size: 1.1rem;
  font-weight: 600;
  color: #7dd3fc;
}

/* STORE NAME / BRAND TITLE */
#store-name {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--logo-color);
  text-shadow: 0 0 14px rgba(250,204,21,0.78);
}

/* RIGHT SIDE (time + date) */
.header-right {
  text-align: right;
}

#time {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--logo-color);
  text-shadow: 0 0 12px rgba(250,204,21,0.8);
}

#date {
  margin-top: 2px;
  font-size: 1.05rem;
  color: #cbd5e1;
}
.weather {
  display: flex;
  align-items: center;
  gap: 18px;
}

.weather-emoji {
  font-size: 3.5rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.weather-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

#weather {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--logo-color);
}

#weather-desc {
  font-size: 1.1rem;
  text-transform: capitalize;
  opacity: 0.9;
}

#town {
  font-size: 1rem;
  font-weight: 600;
  color: #38bdf8;
}
.ticker-weather { color: #38bdf8; }
.ticker-local   { color: #4ade80; }
.ticker-breaking {
  color: #f87171;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(248,113,113,.7);
}
.ticker-promo   { color: var(--logo-color); }


/* ==============================
   WEATHER VARIANTS (PRODUCTION SAFE)
============================== */

/* COMPACT â€” temperature only */
body[data-weather="compact"] #weather-desc,
body[data-weather="compact"] #town {
  display: none;
}

/* VERTICAL â€” stack emoji + text */
body[data-weather="vertical"] .weather {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

/* ICON ONLY â€” emoji only */
body[data-weather="iconOnly"] .weather-text {
  display: none;
}

body[data-weather="iconOnly"] #weather-emoji {
  font-size: 52px;
}

/* ==============================
   CLOCK VARIANTS
============================== */

body[data-clock="large"] #time {
  font-size:64px;
}

body[data-clock="split"] #date {
  font-size:20px;
  margin-top:8px;
}

body[data-clock="minimal"] #date {
  display:none;
}
body[data-clock="minimal"] #time {
  font-size:48px;
  letter-spacing:3px;
}

.weather-emoji img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}
