/* Flyers TV, Podcast and Plus.Fan: one section with a shared look. Content first (artwork, photos, a player),
   sentence-case headings, rounded panels. Used by tv.html, podcast.html and plus.html. */

body[data-page="tv"] { background: #0a1430; }
.mx h1, .mx h2, .mx h3 { text-transform: none; letter-spacing: -.02em; }
.mx-label { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #aab6dc; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 0 rgba(255, 59, 48, .7); animation: mx-live 1.8s infinite; }
@keyframes mx-live { 70% { box-shadow: 0 0 0 9px rgba(255, 59, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); } }

/* ---------- Top of each page: a backdrop, the three section tabs, then the page's own content ---------- */
.mx-hero { position: relative; isolation: isolate; overflow: hidden; padding: 164px 0 72px; }
.mx-hero::before { content: ""; position: absolute; inset: -80px; z-index: -2; background: var(--art, none) center / cover no-repeat, #0f1d47; filter: blur(48px) brightness(.5) saturate(1.25); }
.mx-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 20, 48, .55) 0%, rgba(10, 20, 48, .2) 45%, #0a1430 100%); }
/* A real photograph behind the page instead of blurred artwork */
.mx-hero.photo::before { inset: 0; filter: none; background-position: var(--art-pos, 50% 35%); }
.mx-hero.photo::after { background: linear-gradient(90deg, rgba(10, 20, 48, .94) 0%, rgba(10, 20, 48, .8) 48%, rgba(10, 20, 48, .55) 100%), linear-gradient(0deg, #0a1430 0%, rgba(10, 20, 48, 0) 34%); }

.mx-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.mx-tabs a { padding: 9px 18px; border-radius: 999px; font-size: 15px; font-weight: 650; color: #dfe4f2; white-space: nowrap; transition: background .15s, color .15s; }
.mx-tabs a:hover { background: rgba(255, 255, 255, .1); }
.mx-tabs a[aria-current="page"] { background: #fff; color: #0a1430; }

/* ---------- Flyers TV: the featured stream ---------- */
.mx-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; margin-top: 44px; }
.mx-logo { width: 104px; height: auto; margin-bottom: 22px; }
.mx-status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 14px; font-weight: 650; }
.mx-feature h1 { margin-top: 18px; font-size: clamp(34px, 4.3vw, 60px); font-weight: 800; line-height: 1.04; }
.mx-when { margin-top: 14px; font-size: 18px; color: #d6dae6; }
.mx-buy { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mx-buy .btn { text-transform: none; letter-spacing: 0; font-weight: 750; }
.mx-fine { margin-top: 16px; max-width: 52ch; font-size: 14px; line-height: 1.55; color: #aab6dc; }
.mx-screen { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0f1d47; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .14); }
.mx-screen img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.mx-screen:hover img { transform: scale(1.03); }
.mx-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(10, 20, 48, .55); border: 2px solid #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, border-color .2s, transform .2s; }
.mx-play::after { content: ""; position: absolute; left: 33px; top: 25px; border-left: 24px solid #fff; border-block: 15px solid transparent; transition: border-color .2s; }
a:hover > .mx-play, a:hover .mx-thumb .mx-play { background: var(--gold); border-color: var(--gold); transform: scale(1.06); }
a:hover > .mx-play::after, a:hover .mx-thumb .mx-play::after { border-left-color: #0a1430; }
.mx-play.sm { left: 12px; top: auto; bottom: 12px; width: 40px; height: 40px; margin: 0; border-width: 1.5px; }
.mx-play.sm::after { left: 15px; top: 11px; border-left-width: 12px; border-block-width: 8px; }

/* ---------- Sections under the top ---------- */
.mx-sec { padding-top: 64px; }
.mx-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 22px; }
.mx-sec-head h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; }
.mx-sec-head p { font-size: 15px; color: #aab6dc; }
.mx-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mx-chips button { padding: 8px 15px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #dfe4f2; font: 600 14px/1 var(--body); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.mx-chips button:hover { border-color: #fff; }
.mx-chips button[aria-pressed="true"] { background: #fff; border-color: #fff; color: #0a1430; }

.mx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 20px; }
.mx-card { display: block; }
.mx-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0f1d47; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.mx-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.mx-card:hover .mx-thumb img { transform: scale(1.05); }
.mx-price { position: absolute; right: 10px; top: 10px; padding: 5px 9px; border-radius: 8px; background: rgba(10, 20, 48, .82); font-size: 13px; font-weight: 700; }
.mx-card h3 { margin-top: 12px; font-size: 18px; font-weight: 700; line-height: 1.25; }
.mx-card:hover h3 { color: var(--gold); }
.mx-card p { margin-top: 4px; font-size: 14px; color: #aab6dc; }

.mx-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.mx-facts div { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; align-items: center; padding: 22px 24px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.mx-facts svg { grid-row: span 2; width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mx-facts b { font-size: 18px; font-weight: 700; }
.mx-facts span { font-size: 14px; color: #aab6dc; }

/* Two tiles that lead to the other pages in the section */
.mx-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding-bottom: 96px; }
.mx-tile div { min-width: 0; }
.mx-tile { display: flex; align-items: center; gap: 20px; padding: 26px 28px; border-radius: 18px; background: linear-gradient(135deg, rgba(27, 58, 132, .55), rgba(19, 38, 90, .5)); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.mx-tile:hover { border-color: rgba(246, 208, 0, .7); transform: translateY(-2px); }
.mx-tile svg { flex: none; width: 56px; height: 56px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .1); fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mx-tile h3 { margin-top: 4px; font-size: 22px; font-weight: 800; }
.mx-tile p:not(.mx-label) { margin-top: 4px; font-size: 15px; color: #c9d0e6; }
.mx-tile i { margin-left: auto; font-style: normal; font-size: 22px; color: var(--gold); transition: transform .2s; }
.mx-tile:hover i { transform: translateX(4px); }

/* ---------- Podcast ---------- */
.pd-top { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 44px; }
.pd-cover { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 22px; background: #0f1d47; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .14); }
.pd-top h1 { margin-top: 10px; font-size: clamp(40px, 5.4vw, 76px); font-weight: 800; line-height: 1; }
.pd-desc { margin-top: 16px; max-width: 58ch; font-size: 18px; line-height: 1.6; color: #d6dae6; }
.pd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; }
.pd-actions .btn { text-transform: none; letter-spacing: 0; font-weight: 750; }
.pd-on { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pd-on span { margin-right: 4px; font-size: 14px; color: #aab6dc; }
.pd-app { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 650; transition: border-color .15s, background .15s; }
.pd-app:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.pd-app svg { width: 22px; height: 22px; }

.pd-list { list-style: none; margin: 0; padding: 0; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.pd-ep { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; padding: 22px 24px; transition: background .15s; }
.pd-ep + .pd-ep { border-top: 1px solid var(--line); }
.pd-ep:hover { background: rgba(255, 255, 255, .04); }
.pd-ep.now { background: rgba(246, 208, 0, .07); }
.pd-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: #0a1430; display: grid; place-items: center; cursor: pointer; transition: transform .15s, background .15s; }
.pd-btn:hover { transform: scale(1.07); background: var(--gold); }
.pd-btn svg { width: 20px; height: 20px; fill: currentColor; }
.pd-btn .ic-pause, .pd-toggle .ic-pause, .playing > .pd-btn .ic-play, .pd-bar.playing .ic-play { display: none; }
.playing > .pd-btn .ic-pause, .pd-bar.playing .ic-pause { display: block; }
.pd-ep.now .pd-btn { background: var(--gold); }
.pd-ep h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.pd-meta { margin-top: 5px; font-size: 14px; font-weight: 600; color: #aab6dc; }
.pd-ep.now .pd-meta { color: var(--gold); }
.pd-text { margin-top: 8px; max-width: 80ch; font-size: 16px; line-height: 1.6; color: #c9d0e6; overflow-wrap: anywhere; }
.pd-wait, .pd-fail { padding: 26px 24px; font-size: 16px; color: #d6dae6; }
.pd-fail a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }

.pd-live { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); margin-top: 56px; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, rgba(27, 58, 132, .55), rgba(19, 38, 90, .5)); border: 1px solid var(--line); }
.pd-live img { width: 100%; height: 100%; max-height: 340px; object-fit: cover; }
.pd-live div { padding: 32px 36px; align-self: center; }
.pd-live h2 { margin: 8px 0 10px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.12; }
.pd-live p:not(.mx-label) { max-width: 62ch; font-size: 16px; line-height: 1.6; color: #d6dae6; }
.pd-live .btn { margin-top: 20px; text-transform: none; letter-spacing: 0; font-weight: 750; }

/* A clip from the podcast: only the video is shown. Instagram's player is drawn at a fixed 328px wide, where its
   layout is known (a 54px header, then the video at 231 x 410 with black bars either side, then likes and comments),
   and the frame crops it to the video and enlarges it. If Instagram changes that layout, adjust --clip-x and --clip-y. */
.pd-clip { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: center; padding: 28px; border-radius: 22px; background: linear-gradient(135deg, rgba(27, 58, 132, .5), rgba(19, 38, 90, .45)); border: 1px solid var(--line); }
.pd-clip-frame { --clip-x: -48.5px; --clip-y: -54px; position: relative; width: 300px; aspect-ratio: 231 / 410; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .14); }
.pd-clip-frame iframe { position: absolute; left: 0; top: 0; width: 328px; max-width: none; height: 640px; border: 0; transform-origin: 0 0; transform: scale(1.2987) translate(var(--clip-x), var(--clip-y)); }
.pd-clip-text h2 { margin: 10px 0 12px; font-size: clamp(28px, 3.2vw, 44px); font-weight: 800; line-height: 1.06; }
.pd-clip-text p:not(.mx-label) { max-width: 44ch; font-size: 18px; line-height: 1.55; color: #d6dae6; }
.pd-clip-text .pd-clip-hint { margin-top: 10px; font-size: 14px; color: #aab6dc; }
.pd-clip-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pd-clip-actions .btn { text-transform: none; letter-spacing: 0; font-weight: 750; }
@media (max-width: 900px) {
  .pd-clip { grid-template-columns: 1fr; gap: 24px; padding: 18px 14px 22px; }
  .pd-clip-text { order: -1; }
  .pd-clip-frame { margin-inline: auto; }
  .pd-clip-actions .btn { flex: 1 1 100%; }
}
/* The player: slides up from the bottom of the screen once an episode is playing */
.pd-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: rgba(9, 17, 42, .96); border-top: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.pd-bar .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1.6fr) auto; gap: 22px; align-items: center; }
.pd-bar-what { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pd-bar-what img { flex: none; width: 46px; height: 46px; border-radius: 8px; object-fit: cover; }
.pd-bar-what b { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-bar-what span { display: block; font-size: 13px; color: #aab6dc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-ctl { display: flex; align-items: center; gap: 8px; }
.pd-ctl button { border: 0; background: none; color: #fff; cursor: pointer; display: grid; place-items: center; }
.pd-skip { width: 40px; height: 40px; border-radius: 50%; font: 700 12px/1 var(--body); transition: background .15s; }
.pd-skip:hover { background: rgba(255, 255, 255, .12); }
.pd-ctl .pd-toggle { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #0a1430; }
.pd-ctl .pd-toggle:hover { background: var(--gold); }
.pd-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.pd-seek { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; font-size: 13px; font-variant-numeric: tabular-nums; color: #aab6dc; }
.pd-seek input { width: 100%; height: 18px; margin: 0; background: transparent; accent-color: var(--gold); cursor: pointer; }
.pd-close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: #aab6dc; font-size: 22px; line-height: 1; cursor: pointer; }
.pd-close:hover { background: rgba(255, 255, 255, .12); color: #fff; }
body.has-bar { padding-bottom: 76px; }

/* ---------- Plus.Fan ---------- */
.pl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 64px; align-items: center; margin-top: 44px; }
.pl-grid h1 { margin-top: 10px; font-size: clamp(44px, 5.6vw, 80px); font-weight: 800; line-height: 1; }
.pl-lede { margin-top: 16px; max-width: 46ch; font-size: 20px; line-height: 1.5; color: #e3e7f2; }
.pl-perks { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; }
.pl-perks li { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; align-items: center; }
.pl-perks svg { grid-row: span 2; width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: rgba(255, 255, 255, .1); fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pl-perks b { font-size: 18px; font-weight: 700; }
.pl-perks span { font-size: 15px; color: #c9d0e6; }
.pl-card { padding: 28px; border-radius: 22px; background: #fff; color: var(--ink-text, #0e1c41); box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .7); }
.pl-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: #eef0f6; }
.pl-switch button { min-height: 42px; border: 0; border-radius: 999px; background: transparent; color: #5a6282; font: 650 15px/1 var(--body); cursor: pointer; transition: background .15s, color .15s; }
.pl-switch button[aria-pressed="true"] { background: #0e1c41; color: #fff; }
.pl-switch i { margin-left: 6px; padding: 3px 7px; border-radius: 999px; background: var(--gold); color: #0a1430; font-style: normal; font-size: 12px; font-weight: 700; }
.pl-price { display: flex; align-items: baseline; gap: 10px; margin-top: 26px; }
.pl-price b { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.pl-price span { font-size: 17px; color: #5a6282; }
.pl-note { margin-top: 8px; min-height: 2.9em; font-size: 15px; line-height: 1.45; color: #5a6282; }
.pl-incl { list-style: none; margin: 16px 0 22px; padding: 16px 0 0; border-top: 1px solid #dfe2ec; display: grid; gap: 9px; font-size: 15px; }
.pl-incl li { position: relative; padding-left: 26px; }
.pl-incl li::before { content: ""; position: absolute; left: 3px; top: 4px; width: 6px; height: 11px; border-right: 2.5px solid #1a8f4c; border-bottom: 2.5px solid #1a8f4c; transform: rotate(45deg); }
.pl-card .btn { text-transform: none; letter-spacing: 0; font-weight: 750; }
.pl-login { display: block; margin-top: 14px; text-align: center; font-size: 15px; font-weight: 600; color: #16306f; text-decoration: underline; text-underline-offset: 3px; }
.pl-fine { margin-top: 16px; font-size: 13px; line-height: 1.5; color: #5a6282; text-align: center; }
.pl-card :focus-visible { outline-color: #16306f; }

/* ---------- Narrower screens ---------- */
@media (max-width: 1100px) {
  .mx-feature { grid-template-columns: 1fr; gap: 32px; }
  .mx-screen { order: -1; max-width: 720px; }
  .mx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-grid { grid-template-columns: 1fr; gap: 40px; }
  .pl-card { max-width: 460px; }
  .pd-bar .wrap { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 12px; }
  .pd-seek { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 760px) {
  .mx-hero { padding: 128px 0 48px; }
  .mx-tabs { display: flex; }
  .mx-tabs a { flex: 1; padding: 10px 8px; text-align: center; font-size: 14px; }
  .mx-feature, .pd-top, .pl-grid { margin-top: 28px; }
  .mx-logo { width: 84px; margin-bottom: 16px; }
  .mx-when { font-size: 16px; }
  .mx-buy .btn, .pd-actions .btn { flex: 1 1 100%; }
  .mx-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .mx-play::after { left: 25px; top: 19px; border-left-width: 18px; border-block-width: 11px; }
  .mx-sec { padding-top: 44px; }
  .mx-grid { grid-template-columns: 1fr; gap: 24px; }
  .mx-facts { grid-template-columns: 1fr; gap: 10px; margin-top: 44px; }
  .mx-duo { grid-template-columns: minmax(0, 1fr); padding-bottom: 64px; }
  .mx-tile { padding: 20px; gap: 16px; }
  .pd-top { grid-template-columns: 1fr; gap: 24px; }
  .pd-cover { width: 168px; border-radius: 18px; }
  .pd-desc { font-size: 16px; }
  .pd-ep { gap: 14px; padding: 18px 16px; }
  .pd-btn { width: 44px; height: 44px; }
  .pd-ep h3 { font-size: 18px; }
  .pd-text { font-size: 15px; }
  .pd-live { grid-template-columns: 1fr; }
  .pd-live img { max-height: 220px; }
  .pd-live div { padding: 24px 20px; }
  .pd-bar-what img { display: none; }
  .pd-skip { width: 36px; height: 36px; }
  body.has-bar { padding-bottom: 112px; }
  .pl-lede { font-size: 18px; }
  .pl-card { padding: 22px 20px; }
  .pl-price b { font-size: 54px; }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
/* Very small phones: the clip is drawn a little smaller so it fits the screen. */
@media (max-width: 359px) { .pd-clip-frame { zoom: .86; } }

/* Podcast clip: the button shown in the clip's frame until the visitor asks for the Instagram player. */
.pd-clip-ask { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; padding: 28px; border: 0; background: none; color: #fff; text-align: center; cursor: pointer; font: inherit; }
.pd-clip-ask b { justify-self: center; padding: 14px 22px; border-radius: 999px; background: var(--gold); color: #0a1430; font-size: 17px; font-weight: 800; }
.pd-clip-ask small { font-size: 13px; line-height: 1.45; color: #aab6dc; }
