.live-channel {
  display: grid;
  gap: 22px;
  padding-block: clamp(24px, 6vw, 42px);
  background:
    radial-gradient(circle at 84% 4%, rgba(88, 218, 205, .14), transparent 34%),
    linear-gradient(180deg, rgba(246, 252, 250, .98), rgba(236, 248, 245, .96));
}



.live-channel :is(button, summary) {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.live-channel__header { display: grid; gap: 14px; }
.live-channel__header h2 { margin: 4px 0 8px; font: 800 clamp(1.75rem, 6vw, 2.55rem)/1.04 var(--font-display); }
.live-channel__header p { max-width: 600px; margin: 0; color: var(--ink-soft); line-height: 1.55; }
.live-channel__providers { display: flex; flex-wrap: wrap; gap: 7px; }
.live-channel__providers span { padding: 7px 10px; border: 1px solid rgba(8, 121, 116, .16); border-radius: 999px; color: var(--aqua-deep); background: rgba(255,255,255,.72); font-size: .66rem; font-weight: 800; }
.live-channel__day { width: fit-content; padding: 10px 14px; border-radius: 14px; color: #063d3d; background: rgba(146, 232, 220, .42); font: 800 .78rem/1.2 var(--font-display); text-transform: capitalize; }

.live-channel__player { overflow: hidden; border: 1px solid rgba(8, 87, 84, .14); border-radius: 26px; background: rgba(255,255,255,.88); box-shadow: 0 22px 60px rgba(11, 70, 69, .11); }
.live-channel__stage { position: relative; aspect-ratio: 16 / 9; min-height: 210px; background: #082f31; isolation: isolate; }
.live-channel__media { width: 100%; height: 100%; display: block; border: 0; object-fit: cover; background: #082f31; }
.live-channel__poster { width: 100%; height: 100%; display: flex; align-items: flex-start; justify-content: flex-end; flex-direction: column; gap: 7px; padding: clamp(22px, 6vw, 40px); color: white; background-position: center; background-size: cover; }
.live-channel__poster strong { max-width: 16ch; font: 800 clamp(1.55rem, 6vw, 2.5rem)/1.02 var(--font-display); }
.live-channel__poster small { max-width: 48ch; color: rgba(235, 251, 248, .82); line-height: 1.45; }
.live-channel__onair { position: absolute; z-index: 2; top: 16px; left: 16px; padding: 7px 10px; border-radius: 999px; color: white; background: rgba(218, 40, 53, .92); font-size: .62rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 8px 24px rgba(148, 16, 27, .28); }
.live-channel__play { position: absolute; z-index: 2; inset: 50% auto auto 50%; width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.46); border-radius: 50%; color: #063436; background: rgba(238,255,252,.9); font-size: 1.35rem; text-indent: 4px; box-shadow: 0 18px 50px rgba(0,0,0,.25); backdrop-filter: blur(14px); transform: translate(-50%,-50%); }
.live-channel__chrome { position: absolute; z-index: 2; right: 16px; bottom: 13px; left: 16px; display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 9px; }
.live-channel__chrome i { width: 10px; height: 10px; border-radius: 50%; background: #80eee0; }
.live-channel__chrome b { height: 3px; border-radius: 99px; background: linear-gradient(90deg, #80eee0 18%, rgba(255,255,255,.38) 18%); }
.live-channel__chrome small { color: white; font-size: .58rem; }
.live-channel__signal { display: flex; align-items: flex-end; gap: 4px; height: 28px; }
.live-channel__signal i { width: 4px; height: 12px; border-radius: 999px; background: #7cf2e3; animation: live-signal 1.1s ease-in-out infinite; }
.live-channel__signal i:nth-child(2) { height: 26px; animation-delay: 120ms; }
.live-channel__signal i:nth-child(3) { height: 18px; animation-delay: 240ms; }
.live-channel__now { display: grid; gap: 8px; padding: 22px; }
.live-channel__now > span { color: var(--aqua-deep); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.live-channel__now h3 { margin: 0; font: 800 clamp(1.35rem, 5vw, 1.9rem)/1.08 var(--font-display); }
.live-channel__now p { margin: 0; color: var(--ink-soft); line-height: 1.5; }
.live-channel__now small { color: #6f8483; }
.live-channel__participant-slot { min-height: 0; }
.live-channel__participants { display: grid; grid-template-columns: repeat(auto-fit, minmax(116px, 1fr)); gap: 8px; padding-top: 4px; }
.live-participant { min-width: 0; display: grid; grid-template-columns: 34px minmax(0,1fr); column-gap: 8px; align-items: center; padding: 8px; border: 1px solid rgba(8, 103, 99, .11); border-radius: 13px; background: rgba(237, 249, 247, .74); }
.live-participant i { grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(145deg, #087d77, #62d5c8); font-size: .65rem; font-style: normal; font-weight: 900; }
.live-participant b, .live-participant small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-participant b { font-size: .7rem; }
.live-participant small { color: var(--ink-soft); font-size: .58rem; }

.live-program__header { display: grid; gap: 5px; padding-top: 8px; }
.live-program__header h3 { margin: 0; font: 800 clamp(1.3rem, 5vw, 1.8rem)/1.08 var(--font-display); }
.live-program__header p { margin: 0; color: var(--ink-soft); font-size: .75rem; }
.live-program__empty { min-height: 130px; display: grid; place-items: center; margin: 0; padding: 24px; border: 1px dashed rgba(8, 103, 99, .2); border-radius: 20px; color: var(--ink-soft); text-align: center; }

.live-program-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 74%); gap: 14px; overflow-x: auto; padding: 2px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.live-program-card { min-width: 0; overflow: hidden; scroll-snap-align: start; border: 1px solid rgba(9, 78, 77, .12); border-radius: 22px; background: rgba(255,255,255,.86); transition: border-color .2s ease, transform .2s ease; }
.live-program-card.is-selected { border-color: rgba(7, 150, 141, .58); box-shadow: 0 12px 30px rgba(8, 106, 101, .12); }
.live-program-card__open { width: 100%; display: grid; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.live-program-card__art { min-height: 138px; display: flex; align-items: flex-start; justify-content: space-between; padding: 14px; color: white; background-position: center; background-size: cover; }
.live-program-card__art small, .live-program-card__art b { padding: 6px 8px; border-radius: 999px; background: rgba(4, 39, 41, .62); backdrop-filter: blur(10px); font-size: .62rem; }
.live-program-card__art b.is-live { background: #df2f38; box-shadow: 0 8px 20px rgba(185, 24, 36, .3); }
.live-program-card__copy { display: grid; gap: 6px; padding: 16px 16px 13px; }
.live-program-card__copy > small { color: var(--aqua-deep); font-weight: 800; }
.live-program-card__copy strong { font: 800 1.04rem/1.15 var(--font-display); }
.live-program-card__copy span { min-height: 3.9em; color: var(--ink-soft); font-size: .78rem; line-height: 1.45; }
.live-program-card__copy em { width: fit-content; color: #708583; font-size: .66rem; font-style: normal; font-weight: 800; }
.live-program-card__reminder { width: calc(100% - 26px); min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 13px 13px; border: 1px solid rgba(9, 102, 98, .18); border-radius: 13px; color: var(--aqua-deep); background: rgba(232, 248, 244, .74); font: inherit; font-size: .76rem; font-weight: 800; cursor: pointer; }
.live-program-card__reminder i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.live-program-card__reminder.is-active { color: white; background: var(--aqua-deep); }

.live-admin { overflow: hidden; border: 1px solid rgba(8, 103, 99, .18); border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: 0 14px 40px rgba(6, 70, 68, .08); }
.live-admin__summary { min-height: 64px; display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 10px; padding: 13px 16px; cursor: pointer; list-style: none; }
.live-admin__summary::-webkit-details-marker { display: none; }
.live-admin__summary > span { grid-row: 1 / 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; color: white; background: var(--aqua-deep); }
.live-admin__summary b { font: 800 .92rem/1.15 var(--font-display); }
.live-admin__summary small { color: var(--ink-soft); font-size: .65rem; }
.live-admin__form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; padding: 0 16px 18px; border-top: 1px solid rgba(8, 103, 99, .1); }
.live-admin__field { min-width: 0; display: grid; gap: 6px; padding-top: 13px; }
.live-admin__field > span { color: #385f5e; font-size: .66rem; font-weight: 800; }
.live-admin__field input, .live-admin__field select, .live-admin__field textarea { width: 100%; min-width: 0; min-height: 44px; padding: 10px 11px; border: 1px solid rgba(8, 103, 99, .18); border-radius: 12px; color: var(--ink); background: rgba(250,255,254,.92); font: 700 .74rem/1.35 var(--font-body); outline: none; }
.live-admin__field textarea { min-height: 82px; resize: vertical; }
.live-admin__field:has(textarea), .live-admin__field:has(input[name="embedUrl"]), .live-admin__field:has(input[name="participants"]), .live-admin__field:has(select[name="manageItem"]) { grid-column: 1 / -1; }
.live-admin__field input:focus, .live-admin__field select:focus, .live-admin__field textarea:focus { border-color: #169d94; box-shadow: 0 0 0 3px rgba(22,157,148,.11); }
.live-admin__check { display: flex; align-items: center; flex-direction: row-reverse; justify-content: flex-end; gap: 9px; grid-column: 1 / -1; }
.live-admin__check input { width: 20px; min-height: 20px; }
.live-admin__note, .live-admin__status { grid-column: 1 / -1; margin: 0; padding: 11px 12px; border-radius: 12px; font-size: .68rem; line-height: 1.45; }
.live-admin__note { color: #496c6a; background: rgba(231,247,244,.86); }
.live-admin__status { color: #285957; border: 1px solid rgba(8,103,99,.11); }
.live-admin__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.live-admin__actions button { min-height: 42px; padding: 9px 13px; border-radius: 12px; font: 800 .7rem/1 var(--font-body); cursor: pointer; }
.live-admin__save { border: 0; color: white; background: var(--aqua-deep); }
.live-admin__secondary { border: 1px solid rgba(8,103,99,.2); color: var(--aqua-deep); background: white; }
.live-admin__danger { border: 1px solid rgba(183,43,54,.2); color: #b52a36; background: #fff5f5; }

@keyframes live-signal { 0%,100% { transform: scaleY(.62); opacity: .58; } 50% { transform: scaleY(1); opacity: 1; } }

html[data-theme="dark"] .live-channel { background: radial-gradient(circle at 85% 8%, rgba(39,185,176,.15), transparent 35%), #0a2426; }
html[data-theme="dark"] .live-channel__header p, html[data-theme="dark"] .live-channel__now p { color: #a9c4c1; }
html[data-theme="dark"] .live-channel__player, html[data-theme="dark"] .live-program-card { border-color: rgba(128,229,216,.12); background: rgba(15,47,49,.92); }
html[data-theme="dark"] .live-channel__providers span { color: #9cefe3; border-color: rgba(118,232,217,.16); background: rgba(12,43,45,.78); }
html[data-theme="dark"] .live-channel__now small, html[data-theme="dark"] .live-program-card__copy em { color: #91aaa7; }
html[data-theme="dark"] .live-program-card__copy span { color: #a9c4c1; }
html[data-theme="dark"] .live-channel__day, html[data-theme="dark"] .live-participant { color: #d9fbf6; background: rgba(28,82,80,.78); }
html[data-theme="dark"] .live-admin { border-color: rgba(128,229,216,.14); background: rgba(15,47,49,.95); }
html[data-theme="dark"] .live-admin__field > span, html[data-theme="dark"] .live-admin__summary small, html[data-theme="dark"] .live-admin__note, html[data-theme="dark"] .live-admin__status { color: #a9c4c1; }
html[data-theme="dark"] .live-admin__field input, html[data-theme="dark"] .live-admin__field select, html[data-theme="dark"] .live-admin__field textarea { color: #ebfffb; background: rgba(8,35,37,.92); }

@media (min-width: 720px) {
  body.web-mode .live-channel__player, body.demo-mode .live-channel__player { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr); }
  body.web-mode .live-channel__stage, body.demo-mode .live-channel__stage { min-height: 360px; }
  body.web-mode .live-program-rail, body.demo-mode .live-program-rail { grid-auto-columns: minmax(260px, 32%); }
}

@media (min-width: 1080px) {
  body.web-mode .live-channel, body.demo-mode .live-channel { padding-inline: clamp(28px, 6vw, 76px); }
  body.web-mode .live-channel__header, body.demo-mode .live-channel__header { grid-template-columns: minmax(0,1fr) auto; align-items: end; }
  body.web-mode .live-channel__providers, body.demo-mode .live-channel__providers { grid-column: 1 / -1; }
  body.web-mode .live-admin__form, body.demo-mode .live-admin__form { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (max-width: 360px) {
  .live-program-rail { grid-auto-columns: minmax(236px, 86%); }
  .live-channel__now, .live-channel__poster { padding: 18px; }
  .live-channel__stage { min-height: 186px; }
  .live-channel__play { width: 54px; height: 54px; }
  .live-admin__form { grid-template-columns: 1fr; }
  .live-admin__field { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .live-channel__signal i { animation: none; }
  .live-program-card { transition: none; }
}

/* module=partner; channel=miniapp,web; layer=ui; scenario=live.programme */
#live > .live-hero { display:none; }
#live .live-channel { background:transparent;gap:12px;color:var(--ink,#123b49);padding-top:14px; }
#live .live-channel__header { display:block; }
#live .live-channel__header h2 { display:flex;align-items:center;gap:12px;margin:0 0 2px;font-size:clamp(1.6rem,6vw,2.2rem);line-height:1.2;letter-spacing:-.035em; }
#live .live-channel__header h2::before { content:"";width:13px;height:13px;border-radius:50%;background:#ff565b;box-shadow:0 0 11px #ff677999,inset 0 0 4px #ffeaea; }
#live .live-channel__player { display:flex;flex-direction:column;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none; }
#live .live-channel__stage { aspect-ratio:16 / 9;min-height:0;border-radius:19px;overflow:hidden;border:1px solid var(--line-glass,#d4eef2);box-shadow:0 5px 18px #092e401a;background:#082432; }
#live .live-channel__media { object-fit:contain;background:#082432; }
#live .live-channel__now { display:flex;flex-direction:column;gap:5px;padding:10px 0 3px; }
#live .live-channel__now h3 { order:0;font-size:clamp(1.22rem,4.5vw,1.65rem);line-height:1.2;letter-spacing:-.025em;color:var(--ink,#123b49); }
#live .live-channel__now > span { order:1;font-size:.87rem;color:var(--muted,#3f6a77);text-transform:none;font-weight:500; }
#live .live-channel__now p { order:2;color:var(--muted,#3f6a77);font-size:.9rem;line-height:1.4; }
#live .live-channel__now > small { order:3;font-size:.8rem;color:var(--muted,#3f6a77); }
#live .live-channel__participant-slot { order:4; }
#live .live-participant { background:var(--surface-glass,#ffffff85);border-color:var(--line-glass,#cce6e9);color:var(--ink,#123b49); }
#live .live-participant :is(b,small) { color:inherit;font-size:.8rem; }
#live .live-channel__welcome { width:100%;height:100%;min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center;background:radial-gradient(ellipse at 50% 30%,#257b805c,transparent 60%),#0b202d;color:#eefbff; }
#live .live-channel__welcome strong { font:750 clamp(1.2rem,5vw,1.8rem)/1.2 var(--font-display); }
#live .live-channel__welcome > span:last-child { color:#bad5df;font-size:.9rem; }
#live .live-channel__welcome-orbit { display:grid;place-items:center;width:58px;height:58px;border:1px solid #b2f4e85c;border-radius:50%;background:#8cdbd21a;box-shadow:0 0 52px #8df8e322;color:#9ce6dc;font-size:2rem; }
#live .live-program__header { gap:4px;padding-top:8px; }
#live .live-program__header h3 { font-size:1.25rem;line-height:1.2;color:var(--ink,#123b49); }
#live .live-program__header p { color:var(--muted,#3f6a77);font-size:.8rem; }
#live :is(.live-date-strip,.live-theme-strip) { display:flex;gap:7px;overflow-x:auto;padding:2px 1px 5px;scroll-snap-type:x mandatory;scrollbar-width:none; }
#live :is(.live-date,.live-theme-strip button) { flex:0 0 auto;min-height:40px;min-width:72px;padding:8px 15px;border:1px solid var(--line-glass,#ffffffc2);border-radius:18px;color:var(--ink,#123b49);background:var(--surface-glass,#ffffff8c);font:500 .86rem/1.25 var(--font-body);cursor:pointer;scroll-snap-align:start;backdrop-filter:blur(14px); }
#live :is(.live-date.active,.live-theme-strip button.active) { color:#fff;background:linear-gradient(145deg,#41bec6,#157a8e);border-color:#8be0e5;box-shadow:inset 0 1px 6px #d9ffff66,0 2px 7px #1b859b20; }
#live .live-program-rail { display:grid;grid-auto-flow:row;grid-template-columns:1fr;grid-auto-columns:auto;gap:7px;overflow:visible;padding:0; }
#live .live-program-card { display:grid;grid-template-columns:minmax(0,1fr) 40px;align-items:center;min-height:72px;padding:5px 4px;border:1px solid var(--line-glass,#ffffffd1);border-radius:17px;box-shadow:none;background:var(--surface-card,#ffffffa6);backdrop-filter:blur(16px); }
#live .live-program-card.is-selected { border-color:#5fcbd6;box-shadow:inset 0 0 0 1px #6bcbd43d; }
#live .live-program-card__open { grid-template-columns:55px 65px minmax(0,1fr) 12px;gap:9px;align-items:center;min-height:60px; }
#live .live-program-card__time { padding-left:6px;color:var(--ink,#123b49);font-size:1.05rem;font-weight:750;letter-spacing:-.03em;font-variant-numeric:tabular-nums; }
#live .live-program-card__art { min-height:0;aspect-ratio:1.3;border-radius:10px;padding:0;background-position:center;background-size:cover; }
#live .live-program-card__copy { display:grid;gap:3px;padding:4px 0; }
#live .live-program-card__copy strong { font:750 .93rem/1.2 var(--font-body);color:var(--ink,#123b49); }
#live .live-program-card__copy small { color:var(--muted,#3f6a77);font-size:.77rem;font-weight:500;line-height:1.25; }
#live .live-program-card__copy em { color:var(--muted,#3f6a77);font-size:.68rem;font-weight:500; }
#live .live-program-card__copy em.is-live { color:#dd3b4e; }
#live .live-program-card__arrow { font-size:1.5rem;color:var(--ink,#123b49); }
#live .live-program-card__reminder { width:40px;min-height:44px;margin:0;padding:8px;border:0;background:transparent;color:var(--ink,#123b49); }
#live .live-program-card__reminder svg { width:18px;height:18px; }
#live .live-program-card__reminder span { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
#live .live-program__empty { min-height:130px;background:var(--surface-glass,#ffffff7a);border-color:var(--line-glass,#b6d7dd);color:var(--muted,#3f6a77);font-size:.95rem;line-height:1.5; }
#live button:focus-visible { outline:3px solid #55c7d3;outline-offset:3px; }
html[data-theme="dark"] #live :is(.live-date.active,.live-theme-strip button.active) { color:#063349;background:linear-gradient(145deg,#f0ffff,#75d8e9);border-color:#d1ffff;box-shadow:0 0 10px #6cdef445; }
@media(min-width:900px) { #live .live-channel__player { max-width:850px; }.live-channel .live-program-rail { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:380px) { #live .live-program-card__open { grid-template-columns:46px 52px minmax(0,1fr) 8px;gap:6px; }#live .live-program-card__time { font-size:.95rem;padding-left:3px; }#live .live-program-card__copy strong { font-size:.85rem; } }
