:root {
  --teal: #0F5E5C; --teal-dark: #0A4746; --ink: #14302F; --muted: #2B4F4D;
  --gold: #D4A63A; --gold-line: #C9A04A; --gold-dark: #8C6A12; --gold-light: #F2D27A;
  --red: #C8102E; --card-shadow: 0 2px 12px rgba(15, 94, 92, 0.10);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Atkinson Hyperlegible", system-ui, sans-serif;
  font-size: 22px; line-height: 1.4; color: var(--ink);
  background-color: #DDF2EF;
  background-image: linear-gradient(180deg, #8FD3CF 0%, #B3E2DE 22%, #DDF2EF 55%, #FBF4E6 100%);
  background-attachment: fixed;
}
.serif { font-family: "Playfair Display", Georgia, serif; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
a:focus-visible, button:focus-visible { outline: 4px solid #E0A526; outline-offset: 4px; }

/* sky */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.sky span { position: absolute; border-radius: 999px; background: rgba(255,255,255,.75); filter: blur(18px); }
.sky .glow { top: -18vh; left: 50%; width: 70vw; height: 45vh; margin-left: -35vw; border-radius: 50%; background: rgba(255,240,200,.6); filter: blur(70px); }
.sky .c1 { left: -6vw; top: 7vh; width: 30vw; height: 13vh; }
.sky .c2 { left: 4vw; top: 2vh; width: 15vw; height: 15vh; border-radius: 50%; }
.sky .c3 { right: -4vw; top: 13vh; width: 32vw; height: 14vh; }
.sky .c4 { right: 8vw; top: 7vh; width: 17vw; height: 16vh; border-radius: 50%; }
.sky .c5 { left: -8vw; top: 55vh; width: 36vw; height: 16vh; background: rgba(255,255,255,.65); filter: blur(22px); }
.sky .c6 { right: -7vw; top: 78vh; width: 40vw; height: 17vh; background: rgba(255,255,255,.7); filter: blur(22px); }

main { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 40px 32px 72px; display: flex; flex-direction: column; gap: 36px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 16px; }
.brand-mark { width: 56px; height: 56px; border-radius: 14px; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.brand-name { margin: 0; font-size: 32px; font-weight: 700; color: var(--teal); }
.today { margin: 0; font-size: 22px; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; font-family: inherit; font-size: 26px; font-weight: 700; line-height: 1.2;
  padding: 18px 32px; border-radius: 16px; text-decoration: none; border: 3px solid transparent; cursor: pointer; min-height: 56px; }
.btn svg { flex: none; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-light { background: #fff; color: var(--teal); border-color: var(--gold); }
.btn-light:hover { background: #FFFBF0; color: var(--teal-dark); }
.btn-gold { background: var(--gold-dark); color: #fff; }
.btn-gold:hover { background: #745810; color: #fff; }
.btn-dark { background: #1E3D3C; color: #fff; }
.btn-dark:hover { background: #142B2A; color: #fff; }
.row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }

/* live banner */
.live { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--red); color: #fff;
  text-decoration: none; border-radius: 24px; padding: 32px 40px; box-shadow: 0 6px 24px rgba(200,16,46,.35); }
.live:hover { color: #fff; background: #B00D28; }
.live-left { display: flex; align-items: center; gap: 24px; }
.live-dot { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.8); } 70% { box-shadow: 0 0 0 18px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.live-title { display: block; font-size: 48px; font-weight: 700; line-height: 1.1; }
.live-sub { display: block; font-size: 24px; color: #FFE3E7; }
.live-cta { display: inline-flex; align-items: center; gap: 14px; background: #fff; color: var(--red); font-size: 30px; font-weight: 700; padding: 20px 36px; border-radius: 16px; }
.not-live { display: flex; align-items: center; gap: 20px; background: rgba(255,255,255,.85); border: 3px solid #CFE3E1; border-radius: 24px; padding: 22px 32px; font-size: 26px; color: #2E4544; }
.not-live .dot { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #B9C9C7; }

/* welcome */
.welcome { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; padding: 24px 0 8px; }
.ribbon { display: flex; align-items: center; }
.ribbon-tail { width: 44px; height: 52px; background: #F3E2B3; border: 2px solid var(--gold-line); margin-top: 18px; }
.ribbon-tail.l { border-right: none; margin-right: -6px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 30% 50%); }
.ribbon-tail.r { border-left: none; margin-left: -6px; clip-path: polygon(0 0, 100% 0, 70% 50%, 100% 100%, 0 100%); }
.ribbon-text { position: relative; margin: 0; background: linear-gradient(180deg, #FFFCF4 0%, #F6E9C6 100%); border: 2px solid var(--gold-line); border-radius: 10px;
  padding: 14px 40px; font-style: italic; font-size: 34px; font-weight: 700; color: var(--teal); letter-spacing: .02em; box-shadow: 0 4px 14px rgba(140,106,18,.18); }
.welcome h1 { margin: 0; font-size: 54px; line-height: 1.15; color: #0E3F3E; }
.welcome p { margin: 0; font-size: 28px; color: var(--muted); }
.flourish { display: flex; align-items: center; gap: 12px; }
.flourish i { display: block; width: 70px; height: 2px; background: var(--gold-line); }

/* newest */
.newest { background: #fff; border-radius: 24px; box-shadow: var(--card-shadow); border-top: 6px solid var(--gold); padding: 24px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.newest-media { flex: 1 1 420px; }
.newest-info { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.eyebrow { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: .06em; color: var(--gold-dark); text-transform: uppercase; }
.newest-title { margin: 0; font-size: 36px; line-height: 1.2; font-weight: 700; }
.meta { margin: 0; font-size: 22px; color: var(--muted); }

.thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; background: #1E3D3C center / cover no-repeat; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tile-icon.tile-logo { background: #fff; border: 3px solid var(--gold); width: 112px; height: 112px; overflow: hidden; }
.tile-icon.tile-logo img { width: 88%; height: 88%; object-fit: contain; }
.page-title .tile-icon.tile-logo { width: 100px; height: 100px; }
.thumb-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.thumb .play-circle { position: relative; z-index: 1; }
.thumb:has(.thumb-logo) .play-circle { position: absolute; right: 16px; bottom: 16px; width: 64px; height: 64px; }
.fb-badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: #14302F; font-size: 18px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.play-circle { width: 96px; height: 96px; border-radius: 50%; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.card .play-circle { width: 76px; height: 76px; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 28px; }
.tile { display: flex; align-items: center; gap: 28px; color: #fff; text-decoration: none; border-radius: 24px; padding: 36px; min-height: 200px; }
.tile:hover { color: #fff; filter: brightness(1.08); }
.tile-icon { flex: none; width: 96px; height: 96px; border-radius: 22px; background: rgba(242,210,122,.16); border: 2px solid rgba(242,210,122,.55); display: flex; align-items: center; justify-content: center; }
.tile > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.tile-title { display: block; font-size: 36px; font-weight: 700; line-height: 1.15; }
.tile-sub { display: block; font-size: 22px; }

/* playlist */
.page-title { display: flex; align-items: center; gap: 24px; }
.page-title .tile-icon { width: 88px; height: 88px; }
.page-title h1 { margin: 0; font-size: 52px; line-height: 1.1; }
.page-title p { margin: 4px 0 0; font-size: 24px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.card { display: flex; flex-direction: column; background: #fff; color: var(--ink); text-decoration: none; border-radius: 20px; overflow: hidden;
  border-bottom: 5px solid var(--gold); box-shadow: var(--card-shadow); }
.card:hover { color: var(--ink); box-shadow: 0 6px 22px rgba(15,94,92,.2); }
.card .thumb { border-radius: 0; }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.card-title { font-size: 26px; font-weight: 700; line-height: 1.25; }
.pager { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* watch */
.player { width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 10px 40px rgba(15,94,92,.3); }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.fb-wrap { background: #000; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(15,94,92,.3); min-height: 300px; display: flex; justify-content: center; }
.fb-launch { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(15,94,92,.3); text-decoration: none; }
.fb-launch-pic { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; }
.fb-launch-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.fb-launch-btn { display: flex; align-items: center; justify-content: center; gap: 14px; color: #fff; font-size: 34px; font-weight: 700; padding: 26px 24px; }
.fb-launch:hover .fb-launch-btn { filter: brightness(0.9); }
.fb-launch:focus-visible { outline: 4px solid #E0A526; outline-offset: 4px; }
.watch-title { margin: 0; font-size: 40px; line-height: 1.2; color: #0E3F3E; }

/* messages */
.message { background: rgba(255,255,255,.92); border-radius: 24px; padding: 40px; text-align: center; display: flex; flex-direction: column; gap: 20px; align-items: center; box-shadow: var(--card-shadow); }
.message h2 { margin: 0; font-size: 36px; }
.loading { text-align: center; font-size: 28px; color: var(--muted); padding: 80px 0; }

@media (max-width: 640px) {
  main { padding: 24px 16px 48px; }
  .ribbon-text { font-size: 22px; padding: 10px 18px; }
  .ribbon-tail { display: none; }
  .welcome h1 { font-size: 38px; }
  .live-title { font-size: 34px; }
}
