/* IPN TV 1.2 extras — work in both looks (Modern and Classic). */
.xr { margin-top: clamp(26px, 4vw, 44px); }
.xr__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.xr__title { margin: 0; font-size: clamp(22px, 2.2vw, 30px); }
.xr__clear { margin-inline-start: auto; border: 0; background: none; color: inherit; opacity: .7; font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; }
.xr__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.xr__track::-webkit-scrollbar { display: none; }
.xr__card { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; }
.xr__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #111; }
.xr__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.xr__card:hover .xr__thumb img { transform: scale(1.05); }
.xr__thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #E11D2E; width: 38%; }
.xr__dur { position: absolute; bottom: 10px; inset-inline-end: 8px; padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,.8); color: #fff; font-size: 12px; font-weight: 700; direction: ltr; }
.xr__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 26px; opacity: 0; background: rgba(0,0,0,.25); transition: opacity .25s; }
.xr__card:hover .xr__play { opacity: 1; }
.xr__t { font-weight: 600; font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* floating mini player */
.xmini-ph { position: relative; aspect-ratio: 16 / 9; width: 100%; }
.xmini-ph > .player { width: 100%; height: 100%; }
.player.is-mini { position: fixed !important; z-index: 70; width: 360px !important; height: auto !important; aspect-ratio: 16 / 9; bottom: 20px; inset-inline-end: 20px; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.45); animation: xmini-in .35s cubic-bezier(.16,1,.3,1); }
@keyframes xmini-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.xmini-x { display: none; position: absolute; top: 6px; inset-inline-end: 6px; z-index: 3; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.player.is-mini .xmini-x { display: block; }
.btn--wa .ic, .btn--tg .ic { width: 18px; height: 18px; }
.btn--wa:hover { color: #25D366; } .btn--tg:hover { color: #229ED9; }

/* ==== Header menu icons (1.2.1) — each section gets its own colour chip; it lifts and tilts on hover, fills when active ==== */
.nv { --nv: #2563EB; flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; font-style: normal;
  color: var(--nv); background: color-mix(in srgb, var(--nv) 13%, transparent);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1), background-color .25s, color .25s, box-shadow .3s; }
.nv .ic { width: 16px; height: 16px; }
.nv--tv { --nv: #2563EB; }
.nv--live { --nv: #E11D48; }
.nv--videos { --nv: #F43F5E; }
.nv--shows { --nv: #8B5CF6; }
.nv--channels { --nv: #0EA5E9; }
.nv--schedule { --nv: #F59E0B; }
html[data-mode="dark"] .nv { background: color-mix(in srgb, var(--nv) 22%, transparent); color: color-mix(in srgb, var(--nv) 70%, #fff); }
.hdr__link { gap: 8px; }
.hdr__link:hover .nv, .drawer__nav a:hover .nv { transform: translateY(-2px) rotate(-8deg) scale(1.08); }
.hdr__link:hover .nv .ic, .drawer__nav a:hover .nv .ic { animation: nv-pop .5s ease; }
.hdr__link.is-active .nv, .drawer__nav a.is-active .nv { color: #fff; background: linear-gradient(135deg, var(--nv), color-mix(in srgb, var(--nv) 65%, #000)); box-shadow: 0 6px 16px -6px var(--nv); }
.drawer__nav .nv { width: 34px; height: 34px; border-radius: 11px; }
.drawer__nav .nv .ic { width: 19px; height: 19px; }
@keyframes nv-pop { 0% { transform: scale(1); } 40% { transform: scale(.82); } 75% { transform: scale(1.15); } 100% { transform: scale(1); } }
@media (min-width: 1025px) and (max-width: 1200px) { .hdr__link .nv { display: none; } }

/* Event button: stage-coloured pill with a gold crown */
.hdr__sh { position: relative; gap: 8px; padding: 0 16px 0 5px !important; background: linear-gradient(120deg, #FF2E93, #7C3AED 60%, #4F46E5) !important; color: #fff !important; box-shadow: 0 8px 22px -10px rgba(255,46,147,.8); transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s !important; overflow: hidden; }
html[dir="rtl"] .hdr__sh { padding: 0 5px 0 16px !important; }
.hdr__sh::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: sh-shine 5s ease-in-out 2s infinite; pointer-events: none; }
.hdr__sh:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(255,46,147,.95); background: linear-gradient(120deg, #FF2E93, #7C3AED 60%, #4F46E5) !important; }
.hdr__sh-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #FFE08A, #F5B700); color: #5A3300; font-style: normal; }
.hdr__sh-ic .ic { width: 16px; height: 16px; }
.hdr__sh:hover .hdr__sh-ic { animation: nv-pop .5s ease; }
@keyframes sh-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@media (max-width: 1280px) { .hdr__sh, html[dir="rtl"] .hdr__sh { padding: 0 !important; width: 40px; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .nv, .hdr__sh { transition: none !important; } .hdr__sh::after, .nv .ic, .hdr__sh-ic { animation: none !important; } }

/* Slides: <picture> fills the hero; phones crop around the focal point chosen in Studio */
.hero__bg picture, .hero__bg picture img { display: block; width: 100%; height: 100%; }
.hero__bg picture img { object-fit: cover; }
@media (max-width: 760px) { img[style*="--fp"]:not([data-has-m]) { object-position: var(--fp) !important; } }

/* ==== 1.3 Phones: app-style bottom tab bar ============================================================= */
.nv--event { --nv: #F5B700; } .nv--install { --nv: #22C55E; }
.tabbar { display: none; }
@media (max-width: 760px) {
  .tabbar { position: fixed; z-index: 75; inset-inline: 10px; bottom: max(10px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: 66px; padding: 0 4px;
    border-radius: 22px; background: color-mix(in srgb, var(--paper, #fff) 86%, transparent); backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px);
    box-shadow: 0 18px 40px -18px rgba(8,12,30,.55), inset 0 0 0 1px color-mix(in srgb, var(--ink, #0E1726) 10%, transparent); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; color: var(--ink-2, #4B5563); font-size: 10.5px; font-weight: 800; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .tabbar a span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabbar .nv { width: 34px; height: 30px; border-radius: 10px; background: transparent; }
  .tabbar .nv .ic { width: 21px; height: 21px; }
  .tabbar a[aria-current="page"] { color: var(--ink, #0E1726); }
  .tabbar a[aria-current="page"] .nv { background: color-mix(in srgb, var(--nv) 16%, transparent); color: var(--nv); box-shadow: none; }
  .tabbar a:active .nv { transform: scale(.88); }
  .tabbar__live { position: relative; justify-content: flex-end !important; padding-bottom: 9px; }
  .tabbar__fab { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff;
    background: linear-gradient(140deg, #FF4D6D, #E11D48 55%, #9F1239); box-shadow: 0 12px 26px -8px rgba(225,29,72,.85), 0 0 0 5px var(--paper, #fff); transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
  .tabbar__fab .ic { width: 26px; height: 26px; }
  .tabbar__live:active .tabbar__fab { transform: translateX(-50%) scale(.92); }
  .tabbar__live.is-live { color: #E11D48; }
  .tabbar__live.is-live .tabbar__fab::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #FF4D6D; animation: tab-ping 1.6s cubic-bezier(0,0,.2,1) infinite; }
  .tabbar__live:not(.is-live) .tabbar__fab { background: linear-gradient(140deg, #334155, #0E1726); box-shadow: 0 12px 26px -10px rgba(8,12,30,.7), 0 0 0 5px var(--paper, #fff); }
  html[data-mode="dark"] .tabbar { background: rgba(16,22,38,.86); box-shadow: 0 18px 40px -18px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); }
  html[data-mode="dark"] .tabbar__fab { box-shadow: 0 12px 26px -8px rgba(225,29,72,.85), 0 0 0 5px #101626 !important; }
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .totop { bottom: calc(92px + env(safe-area-inset-bottom)) !important; }
  .hdr__live { display: none !important; }
  .mk-toasts { bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
  .player.is-mini { bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
}
@keyframes tab-ping { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.35); opacity: 0; } }

/* ==== 1.3 Phones: footer with shortcut tiles and folding link groups ===================================== */
.ftr-quick { display: none; }
@media (max-width: 760px) {
  .ftr__grid { gap: 14px !important; padding-top: 34px !important; padding-bottom: 14px !important; }
  .ftr__brand { align-items: center !important; text-align: center; }
  .ftr__brand p { margin-inline: auto; }
  .ftr__brand .ftr__social { justify-content: center; }
  .ftr-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ftr-quick .fq { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 10px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); color: #fff; font: 800 13.5px/1.25 var(--font, inherit); text-align: start; cursor: pointer; text-decoration: none; }
  .ftr-quick .fq[hidden] { display: none; }
  .ftr-quick .fq:active { transform: scale(.97); background: rgba(255,255,255,.1); }
  .ftr-quick .nv { width: 36px; height: 36px; border-radius: 12px; background: rgba(255,255,255,.08); color: color-mix(in srgb, var(--nv) 75%, #fff); }
  .ftr-quick .fq--event { background: linear-gradient(135deg, rgba(255,46,147,.3), rgba(124,58,237,.25)); border-color: rgba(255,46,147,.35); }
  .ftr-quick .fq--install { background: linear-gradient(135deg, rgba(34,197,94,.22), rgba(14,165,233,.15)); border-color: rgba(34,197,94,.35); }
  .ftr__col.is-acc { gap: 0 !important; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.04); padding: 0 14px; align-items: stretch !important; }
  .ftr__col.is-acc > h2 { display: flex; align-items: center; justify-content: space-between; margin: 0 !important; padding: 15px 0; cursor: pointer; font-size: 15px !important; }
  .ftr__col.is-acc > h2::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s; opacity: .7; margin-inline-end: 4px; }
  .ftr__col.is-acc.is-open > h2::after { transform: rotate(225deg); }
  .ftr__col.is-acc > a { display: none; padding: 10px 6px; border-radius: 12px; }
  .ftr__col.is-acc.is-open > a { display: flex; }
  .ftr__col.is-acc.is-open { padding-bottom: 8px; background: rgba(255,255,255,.07); }
  .ftr__col.is-acc > a:active { background: rgba(255,255,255,.08); }
  .ftr__col:not(.is-acc) { align-items: center !important; text-align: center; }
  .ftr__col:not(.is-acc) .ftr__social { justify-content: center; }
  .ftr__sh { justify-content: center; }
  .ftr__bottom { text-align: center; align-items: center; font-size: 12px !important; }
}

/* 1.6.1 · Sign in / my account in the header and the phone menu */
.me-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--line, rgba(0,0,0,.12)); color: var(--ink, inherit); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s, transform .2s; }
html[dir="rtl"] .me-btn { padding: 0 10px 0 14px; }
.me-btn:hover { background: var(--sunk, rgba(0,0,0,.05)); transform: translateY(-1px); }
.me-btn .ic { width: 19px; height: 19px; }
.me-btn.is-in { padding: 0 12px 0 4px; } html[dir="rtl"] .me-btn.is-in { padding: 0 4px 0 12px; }
.me-btn__t { max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
.me-av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #E11D48, #7C3AED); color: #fff; font-weight: 800; font-size: 14px; flex: none; }
@media (max-width: 1540px) { .me-btn--hdr .me-btn__t { display: none; } .me-btn--hdr { width: 40px; padding: 0 !important; justify-content: center; border-color: transparent; } .me-btn--hdr.is-in { border-color: transparent; } }
.drawer__me { display: flex; gap: 8px; margin: 10px 0; }
.drawer__me .btn { flex: 1; justify-content: center; }
.drawer__me-acc { flex: 1; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--sunk, rgba(0,0,0,.05)); color: inherit; text-decoration: none; }
.drawer__me-acc > span:nth-child(2) { flex: 1; display: grid; } .drawer__me-acc small { opacity: .7; font-size: 12px; }
.drawer__me-acc .me-av { width: 40px; height: 40px; }
