:root {
  --ink: #2b160e;
  --muted: #7d675e;
  --saffron: #e66a16;
  --deep: #4d1b0c;
  --cream: #fff9f2;
  --line: #ecdcd0;
  --shadow: 0 18px 50px rgba(84, 37, 11, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", system-ui, sans-serif; }
a { color: inherit; }
.site-header { background: var(--deep); color: white; position: sticky; top: 0; z-index: 10; box-shadow: 0 4px 20px rgba(45, 17, 4, .18); }
.header-inner { max-width: 1180px; margin: auto; padding: 15px 22px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #e8a259; border-radius: 50%; color: #ffd49c; font-size: 22px; }
.brand strong, .brand small { display: block; line-height: 1.1; }
.brand strong { font-family: "Playfair Display", serif; font-size: 20px; }
.brand small { color: #ffd49c; margin-top: 3px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.source-link { color: #ffe2b9; text-decoration: none; font-size: 13px; }
main { min-height: 70vh; }
.hero { position: relative; overflow: hidden; max-width: 1180px; margin: 0 auto; padding: 68px 22px 56px; }
.hero::before { content: ""; position: absolute; width: 330px; height: 330px; right: 5%; top: -130px; border-radius: 50%; background: #ffe5bf; filter: blur(4px); opacity: .58; }
.hero-glow { position: absolute; width: 150px; height: 150px; right: 15%; top: 40px; border-radius: 50%; background: #fff3d8; box-shadow: 0 0 90px 35px #fff3d8; }
.hero > * { position: relative; }
.eyebrow { color: var(--saffron); font-weight: 700; letter-spacing: .16em; font-size: 12px; margin: 0 0 13px; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; }
h1 { max-width: 650px; margin: 0; font-size: clamp(42px, 7vw, 78px); line-height: .98; letter-spacing: -.035em; }
.hero-copy { max-width: 560px; color: var(--muted); font-size: 18px; line-height: 1.6; margin: 22px 0 20px; }
.hero-meta { display: flex; align-items: center; gap: 8px; color: #8e4f2c; font-size: 13px; font-weight: 600; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #35a85a; box-shadow: 0 0 0 5px #dff1df; }
.status { max-width: 1180px; margin: 0 auto 16px; padding: 0 22px; color: var(--muted); font-size: 14px; }
.status.error { color: #aa351d; }
.day-section { max-width: 1180px; margin: 0 auto 58px; padding: 0 22px; }
.day-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 18px; }
.day-heading h2 { margin: 0; font-size: clamp(27px, 4vw, 40px); }
.day-heading p { margin: 0; color: var(--muted); font-size: 14px; text-align: right; }
.category { margin: 25px 0 0; }
.category-heading { display: flex; align-items: baseline; gap: 9px; margin-bottom: 11px; }
.category-heading h3 { margin: 0; font-size: 22px; }
.category-heading span { color: var(--muted); font-size: 13px; }
.media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.media-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow); }
.media-frame { position: relative; aspect-ratio: 1 / .82; background: #f6e4d2; cursor: pointer; }
.media-frame img, .media-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.play-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 51px; height: 51px; display: grid; place-items: center; border-radius: 50%; background: rgba(230, 106, 22, .92); color: white; font-size: 23px; padding-left: 3px; }
.media-info { padding: 12px 13px 14px; }
.media-type { color: var(--saffron); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.media-info p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.35; min-height: 18px; }
.media-share { margin-top: 10px; border: 0; background: #fff2e5; color: #9d4514; padding: 8px 11px; border-radius: 9px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.media-share:hover { background: #ffe3c6; }
.empty { padding: 28px; text-align: center; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }
.noscript-note { max-width: 1180px; margin: 0 auto 48px; padding: 0 22px; color: var(--muted); }
.site-footer { margin-top: 70px; padding: 28px 22px 40px; background: var(--deep); color: #ffe6c7; }
.site-footer > div, .site-footer > p { max-width: 1136px; margin-left: auto; margin-right: auto; }
.site-footer > div { display: flex; gap: 14px; justify-content: space-between; }
.site-footer p { margin-top: 8px; color: #d6aa85; font-size: 13px; }
.media-dialog { width: min(92vw, 900px); padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #1e110c; }
.media-dialog::backdrop { background: rgba(34, 12, 5, .8); }
.media-dialog img, .media-dialog video { display: block; width: 100%; max-height: 82vh; object-fit: contain; }
.dialog-close { position: absolute; z-index: 1; right: 9px; top: 5px; border: 0; background: rgba(0, 0, 0, .55); color: white; width: 34px; height: 34px; border-radius: 50%; font-size: 25px; cursor: pointer; }
@media (max-width: 850px) { .media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .header-inner { padding: 12px 16px; }
  .source-link { font-size: 11px; }
  .hero { padding: 48px 18px 40px; }
  .hero-copy { font-size: 16px; }
  .status, .day-section { padding-left: 16px; padding-right: 16px; }
  .day-heading { align-items: start; flex-direction: column; gap: 6px; }
  .day-heading p { text-align: left; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .media-info { padding: 10px; }
  .media-share { width: 100%; }
  .site-footer > div { display: block; }
  .site-footer > div span { display: block; margin-top: 7px; }
}
