/* Schedule page (adverCamsTimes.aspx / aaswuCamsTimes.aspx), drawn by scripts/mc-schedule.js.
   Colors and type follow the MyCam live-schedule mockup. Everything is scoped under .mcs
   and prefixed mcs- so the site's own stylesheets can't collide with it. ASCII only. */

.mcs {
  --bg: #0B0B0F; --surface: #15151B; --surface-2: #1D1D25; --line: rgba(255,255,255,.07);
  --text: #F5F5F7; --text-2: #9A9AA3; --text-3: #5A5A66;
  --pink: #E91E63; --pink-soft: rgba(233,30,99,.16); --green: #34C759; --amber: #FF9F0A; --r: 18px;
  color: var(--text); font-family: Heebo, Inter, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-align: start; line-height: 1.35;
  margin: 0 auto; padding: 8px 0 30px; box-sizing: border-box;
  /* The site puts every page inside table cells, and a table cell grows to fit its
     content's widest unbreakable line. The swipeable rows (days, language chips) are wide
     by nature, so they stretched the whole page past a phone's screen. Zero width with a
     100% minimum fills the cell without ever pushing it wider. (The page caps the width,
     through .content, on large screens.) */
  width: 0; min-width: 100%;
}
.mcs[dir="ltr"] { font-family: Inter, Heebo, -apple-system, "Segoe UI", sans-serif; }
.mcs *, .mcs *:before, .mcs *:after { box-sizing: border-box; }
.mcs a { color: inherit; text-decoration: none; }
.mcs img { max-width: none; }
.mcs button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mcs-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.mcs :focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

/* Top line */
.mcs-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 6px 24px 0; }
.mcs-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--surface-2); border-radius: 20px; padding: 8px 14px; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.mcs-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: mcs-pulse 1.6s infinite; }
.mcs-pill.mcs-none i { background: var(--text-3); animation: none; }
.mcs-intro { font-size: 13px; color: var(--text-2); }
@keyframes mcs-pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(52,199,89,.25); } 50% { box-shadow: 0 0 0 7px rgba(52,199,89,.05); } }

/* Hero: three pictures and the show's details */
.mcs-hero { position: relative; margin: 14px 24px 6px; border-radius: 26px; overflow: hidden; min-height: 340px; background: var(--surface); display: grid; grid-template-columns: 1.25fr 1fr; isolation: isolate; }
.mcs-art { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; min-height: 340px; background: radial-gradient(120% 90% at 30% 20%, #3a0f24 0%, #15151B 60%); }
.mcs-art .mcs-pic { position: relative; overflow: hidden; background: #1d1d25; }
.mcs-art .mcs-pic:first-child { grid-row: 1 / span 2; }
.mcs-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; animation: mcs-fade .5s; }
.mcs-art:after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to left, var(--surface) 0%, transparent 22%); }
.mcs[dir="ltr"] .mcs-art:after { background: linear-gradient(to right, var(--surface) 0%, transparent 22%); }
.mcs-art.mcs-empty { display: flex; align-items: center; justify-content: center; font-size: 110px; }
.mcs-txt { padding: 34px 32px; display: flex; flex-direction: column; justify-content: center; gap: 12px; z-index: 1; }
.mcs-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.mcs-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: mcs-pulse 1.6s infinite; }
.mcs-eyebrow.mcs-busy { color: var(--amber); } .mcs-eyebrow.mcs-busy i { background: var(--amber); }
.mcs-eyebrow.mcs-quiet { color: var(--text-2); } .mcs-eyebrow.mcs-quiet i { display: none; }
.mcs-hero h1 { margin: 0; font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--text); }
.mcs-hero h1 small { display: block; font-size: 16px; font-weight: 300; color: var(--text-2); margin-top: 8px; letter-spacing: 0; }
.mcs-headline { font-size: 14px; color: var(--text-2); max-width: 520px; }
/* Names and headlines can be English on the Hebrew page or the reverse: let each take its
   own direction for punctuation, while keeping the page's alignment. */
.mcs-headline, .mcs-name, .mcs-nm b, .mcs-tip .mcs-tn span:last-child { unicode-bidi: plaintext; }
.mcs-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mcs-tag { background: var(--surface-2); border-radius: 20px; padding: 5px 11px; font-size: 12px; color: var(--text-2); }
.mcs-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--pink); color: #fff !important; border-radius: 14px; padding: 14px 24px; font-size: 16px; font-weight: 700; box-shadow: 0 10px 30px rgba(233,30,99,.35); width: fit-content; margin-top: 4px; }
.mcs-cta:hover { filter: brightness(1.08); }
.mcs-cta.mcs-busy { background: var(--amber); color: #111 !important; box-shadow: 0 10px 30px rgba(255,159,10,.25); }
.mcs-cta.mcs-quiet { background: var(--surface-2); color: var(--text) !important; box-shadow: none; }
.mcs-cta2 { font-size: 14px; color: var(--pink) !important; font-weight: 500; }
.mcs-dots { position: absolute; bottom: 16px; inset-inline-end: 24px; display: flex; gap: 6px; z-index: 2; }
.mcs-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.mcs-dots i.mcs-on { background: var(--pink); width: 18px; border-radius: 3px; }
.mcs-countdown { font-size: 56px; font-weight: 300; letter-spacing: -.02em; color: var(--pink); line-height: 1; font-variant-numeric: tabular-nums; direction: ltr; }
.mcs-note { font-size: 11px; color: var(--text-3); padding: 0 24px; margin: 4px 0 0; min-height: 14px; }

/* Quality badges (static: every show broadcasts in HD with HQ audio) */
.mcs-q { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 700; letter-spacing: .03em; border-radius: 6px; padding: 3px 6px; background: rgba(11,11,15,.7); border: 1px solid rgba(255,255,255,.14); color: #fff; }
.mcs-q svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linejoin: round; }
.mcs-q.mcs-v { color: #7CD4FF; border-color: rgba(124,212,255,.35); }
.mcs-q.mcs-a { color: #FFD166; border-color: rgba(255,209,102,.35); }
.mcs-meta .mcs-q { font-size: 12px; padding: 5px 9px; }
.mcs-meta .mcs-q svg { width: 14px; height: 14px; }

/* Filters */
.mcs-filters { display: flex; gap: 8px; padding: 10px 24px 0; flex-wrap: wrap; align-items: center; }
.mcs-chip { background: var(--surface); border-radius: 20px; padding: 8px 14px; font-size: 13px; color: var(--text-2); }
.mcs-chip.mcs-on { background: var(--pink-soft); color: var(--pink); font-weight: 500; }

/* Rows of cards */
.mcs-row { padding: 22px 0 6px; }
.mcs-hd { display: flex; align-items: baseline; gap: 12px; padding: 0 24px; margin-bottom: 12px; }
.mcs-hd h2 { margin: 0; font-size: 20px; font-weight: 700; color: var(--text); }
.mcs-hd span { font-size: 13px; color: var(--text-2); }
.mcs-hd .mcs-n { margin-inline-start: auto; font-size: 12px; color: var(--text-3); }
/* Cards wrap onto as many lines as they need - never cut off at the edge. */
.mcs-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; padding: 6px 24px 14px; }

.mcs-card { min-width: 0; background: var(--surface); border-radius: var(--r); overflow: hidden; position: relative; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s; display: flex; flex-direction: column; }
.mcs-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(233,30,99,.35); z-index: 2; }
.mcs-ph { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(160deg, #2a1420, #15151B); display: flex; align-items: center; justify-content: center; font-size: 46px; font-weight: 700; color: rgba(255,255,255,.18); overflow: hidden; }
.mcs-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
/* Fade in on the first draw only; the script adds mcs-ready after it, so the 30-second
   refresh never makes the pictures blink. */
.mcs:not(.mcs-ready) .mcs-ph img { animation: mcs-fade .4s; }
.mcs-ph:after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgba(21,21,27,.85), transparent); }
.mcs-badge { position: absolute; top: 10px; inset-inline-start: 10px; border-radius: 20px; padding: 4px 9px; font-size: 11px; font-weight: 700; z-index: 2; display: flex; align-items: center; gap: 5px; }
.mcs-badge.mcs-live { background: var(--green); color: #000; }
.mcs-badge.mcs-live i { width: 6px; height: 6px; border-radius: 50%; background: #000; animation: mcs-blink 1s infinite; }
.mcs-badge.mcs-busy { background: var(--amber); color: #000; }
.mcs-badge.mcs-away { background: rgba(21,21,27,.85); color: var(--text); border: 1px solid var(--line); }
.mcs-badge.mcs-exp { background: rgba(233,30,99,.9); color: #fff; }
.mcs-badge.mcs-soon { background: rgba(255,159,10,.95); color: #000; }
.mcs-badge.mcs-later { background: rgba(21,21,27,.85); color: var(--text-2); border: 1px solid var(--line); }
.mcs-qs { position: absolute; bottom: 8px; inset-inline-start: 10px; display: flex; gap: 4px; z-index: 2; }
.mcs-info { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.mcs-nm { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 7px; min-width: 0; }
.mcs-nm b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.mcs-sw { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.08); }
.mcs-tm { font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.mcs-lg { display: flex; gap: 4px; margin-top: 3px; flex-wrap: wrap; }
.mcs-lg span { font-size: 10px; background: rgba(255,255,255,.08); border-radius: 6px; padding: 2px 6px; color: var(--text-2); }
.mcs-go { margin-top: auto; padding-top: 8px; }
.mcs-go a { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--pink); color: #fff !important; border-radius: 10px; min-height: 34px; padding: 4px 8px; font-size: 13px; font-weight: 700; text-align: center; }
.mcs-go a.mcs-busy { background: var(--amber); color: #111 !important; }
.mcs-go a.mcs-quiet { background: var(--surface-2); color: var(--text) !important; font-weight: 500; }
.mcs-go a.mcs-free { background: transparent; color: var(--pink) !important; min-height: 24px; font-weight: 500; }
.mcs-empty-row { margin: 0 24px; background: var(--surface); border-radius: var(--r); padding: 22px 26px; color: var(--text-2); font-size: 14px; }

/* Week */
.mcs-days { display: flex; gap: 6px; padding: 0 24px; margin: 6px 0 4px; overflow-x: auto; scrollbar-width: none; }
.mcs-days::-webkit-scrollbar { display: none; }
.mcs-days button { flex: 0 0 auto; min-width: 66px; background: var(--surface) !important; border-radius: 14px; padding: 8px 10px; text-align: center; }
.mcs-days button small { display: block; font-size: 11px; color: var(--text-2); }
.mcs-days button b { font-weight: 500; font-size: 16px; color: var(--text); }
.mcs-days button.mcs-on { background: var(--pink) !important; }
.mcs-days button.mcs-on small { color: #FBD3E0; } .mcs-days button.mcs-on b { color: #fff; font-weight: 700; }
.mcs-grid { margin: 8px 24px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.mcs-hg { background: var(--surface); border-radius: 14px; padding: 10px 12px; min-height: 76px; }
.mcs-hg .mcs-h { font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; display: flex; justify-content: space-between; }
.mcs-hg .mcs-h b { color: var(--text); font-weight: 500; }
.mcs-who { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.mcs-dot { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; transition: transform .15s; border: 2px solid var(--surface); box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.mcs-dot:hover, .mcs-dot.mcs-open { transform: scale(1.15); }
.mcs-dot.mcs-nocolor { background: #3A3A46; color: #fff; }
.mcs-dot.mcs-livedot { box-shadow: 0 0 0 2px var(--green); }
.mcs-hg.mcs-none { opacity: .45; } .mcs-hg.mcs-none .mcs-who { font-size: 11px; color: var(--text-3); }
.mcs-hg.mcs-past { opacity: .3; }
.mcs-hg.mcs-now { outline: 2px solid var(--pink); outline-offset: -2px; }
.mcs-foot { font-size: 12px; color: var(--text-3); padding: 26px 24px 0; margin: 0; }

/* Tooltip: name, hours and three pictures */
.mcs-tip { pointer-events: none; display: none; position: absolute; z-index: 1000; background: #15151B; color: #F5F5F7; border-radius: 14px; padding: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.08); max-width: calc(100vw - 16px); }
.mcs-tip .mcs-tn { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin: 0 2px 4px; }
.mcs-tip .mcs-tt { font-size: 12px; color: #9A9AA3; margin: 0 2px 8px; }
.mcs-tip .mcs-tp { display: flex; gap: 4px; }
.mcs-tip .mcs-tp img { width: 150px; height: 84px; object-fit: cover; border-radius: 8px; background: #1D1D25; }

/* Skeleton while the script starts */
.mcs-sk { grid-column: 1 / -1; min-height: 340px; background: linear-gradient(90deg, #15151B 25%, #1D1D25 50%, #15151B 75%); background-size: 200% 100%; animation: mcs-shimmer 1.4s infinite; }
@keyframes mcs-shimmer { to { background-position: -200% 0; } }
@keyframes mcs-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mcs-blink { 50% { opacity: .3; } }

.mcs-noscript { color: #F5F5F7; font-size: 14px; padding: 0 24px; }

@media (max-width: 800px) {
  .mcs-top, .mcs-hd, .mcs-track, .mcs-days, .mcs-filters, .mcs-note, .mcs-foot { padding-inline: 16px; }
  /* Two compact cards to a line on a phone. */
  .mcs-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mcs-info { padding: 8px 9px 10px; }
  .mcs-nm { font-size: 14px; gap: 5px; }
  .mcs-tm, .mcs-lg span { font-size: 11px; }
  .mcs-go a { font-size: 12px; min-height: 32px; border-radius: 9px; }
  .mcs-ph { font-size: 30px; }
  .mcs-badge { top: 7px; inset-inline-start: 7px; font-size: 10px; padding: 3px 7px; }
  .mcs-qs { bottom: 6px; inset-inline-start: 7px; gap: 3px; }
  .mcs-card .mcs-q { font-size: 9px; padding: 2px 4px; }
  .mcs-card .mcs-q svg { width: 10px; height: 10px; }
  .mcs-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .mcs-filters::-webkit-scrollbar { display: none; }
  .mcs-chip { flex: 0 0 auto; }
  .mcs-hero { grid-template-columns: 1fr; margin: 12px 16px 0; min-height: 0; }
  .mcs-art { min-height: 220px; }
  .mcs-art:after { background: linear-gradient(to top, var(--surface) 0%, transparent 35%) !important; }
  .mcs-txt { padding: 10px 20px 22px; }
  .mcs-hero h1 { font-size: 28px; } .mcs-countdown { font-size: 42px; }
  .mcs-grid, .mcs-empty-row { margin-inline: 16px; }
  .mcs-tip .mcs-tp img { width: 96px; height: 54px; }
}
@media (max-width: 340px) {
  .mcs-track { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .mcs *, .mcs *:before, .mcs *:after { animation: none !important; transition: none !important; } }
