/* Prototype C, "Seva": bright white, bold colour, big type. Easy mode makes everything larger. */
:root {
  --bg: #FFFFFF; --soft: #F4F3F1; --ink: #141414; --muted: #6B6B6B; --line: #ECEAE6;
  --red: #F9393B; --red-d: #D92A2C; --font: Inter, system-ui, -apple-system, sans-serif;
  --fs: 17px; --tabs: 70px; --mini: 0px;
  color-scheme: light;
}
:root.easy { --fs: 20px; }
* { box-sizing: border-box; margin: 0; -webkit-tap-highlight-color: transparent; }
body { font: 400 var(--fs)/1.5 var(--font); color: var(--ink); background: var(--bg); min-height: 100dvh; -webkit-font-smoothing: antialiased; }
body.has-mini { --mini: 72px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
.ic { width: 22px; height: 22px; flex: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 10px; }
#view { max-width: 640px; margin: 0 auto; padding: max(12px, env(safe-area-inset-top)) 16px calc(var(--tabs) + var(--mini) + 36px + env(safe-area-inset-bottom)); outline: none; }

.top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.logo { height: 26px; width: auto; }
.aa { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--soft); font-weight: 700; font-size: 15px; }
.aa.on { background: var(--ink); color: #fff; }
.big-h { font-size: 34px; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 6px; }
.easy .big-h { font-size: 40px; }
.lead { color: var(--muted); margin: 4px 0 14px; }
.center { text-align: center; }
.h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 30px 0 12px; display: flex; justify-content: space-between; align-items: baseline; }
.h2 a { font-size: 16px; color: var(--red); font-weight: 700; }
.kick { color: var(--red); font-weight: 700; font-size: 15px; margin-top: 8px; }
.note { color: var(--muted); font-size: 14px; margin: 6px 0; }
.day { color: var(--muted); font-weight: 600; font-size: 15px; margin: 14px 0 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 22px; border-radius: 16px; background: var(--red); color: #fff; font-weight: 700; font-size: 17px; }
.btn.light { background: var(--soft); color: var(--ink); }
.btn.big { min-height: 60px; font-size: 18px; }
.btn.wide { width: 100%; margin: 6px 0; }
.easy .btn { min-height: 64px; font-size: 20px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 10px; }
.text-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; color: var(--red); font-weight: 700; }
.rp { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); flex: none; }
.rp .ic { width: 20px; height: 20px; }
.rp.dark { background: var(--ink); color: #fff; }
.back { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); box-shadow: 0 4px 16px -6px rgba(0, 0, 0, .3); }
.head-bar { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); font-size: 15px; }
.head-bar .back { box-shadow: none; background: var(--soft); }

/* stories */
.stories { display: flex; gap: 14px; overflow-x: auto; margin: 6px -16px 0; padding: 6px 16px; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.st { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; flex: none; }
.ring { width: 74px; height: 74px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #F9393B, #FFB020, #F9393B); }
.ring.live { background: conic-gradient(from 0deg, #F9393B, #F9393B); }
.ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 85%; border: 3px solid #fff; transform: scale(1); }

/* daily */
.daily { position: relative; border-radius: 26px; overflow: hidden; min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--c); color: #fff; }
.daily > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 85%; }
.daily::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 22%, rgba(0, 0, 0, .35) 45%, color-mix(in srgb, var(--c) 45%, #000) 100%); }
.daily-in, .daily-bar { position: relative; z-index: 2; }
.daily-in { padding: 20px 20px 6px; }
.pill-s { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; background: #fff; color: var(--ink); padding: 6px 12px; border-radius: 999px; }
.pill-s.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.daily h1 { font-size: 32px; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 6px; }
.daily p { font-size: 18px; font-weight: 500; opacity: .95; }
.daily-bar { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 14px 20px 20px; }
.daily-bar .btn.light { background: rgba(255, 255, 255, .95); }

.live-banner { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px 18px; border-radius: 20px; background: linear-gradient(120deg, #F9393B, #B5162E); color: #fff; }
.live-banner > span:nth-child(2) { flex: 1; min-width: 0; }
.live-banner b { display: block; }
.live-banner small { display: block; opacity: .9; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; animation: blink 1.6s infinite; flex: none; }
@keyframes blink { 50% { opacity: .35; } }

/* rows */
.hs { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.hs::-webkit-scrollbar { display: none; }
.hs > * { flex: none; scroll-snap-align: start; }
.cover { position: relative; width: 160px; aspect-ratio: 1; border-radius: 22px; overflow: hidden; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: linear-gradient(145deg, var(--g1), var(--g2)); }
.cover img { position: absolute; right: -18%; bottom: -12%; width: 78%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: center 85%; opacity: .9; box-shadow: 0 0 0 6px rgba(255, 255, 255, .15); }
.cover b { position: relative; font-size: 19px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; max-width: 80%; margin-bottom: auto; }
.cover small { position: relative; font-size: 13px; font-weight: 600; opacity: .9; }
.cover.sm { width: 140px; }
.cover.sm b { font-size: 16px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid .cover { width: auto; }

.pc { width: 230px; }
.pc-img { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--soft); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 85%; }
.pc-img em { position: absolute; left: 10px; top: 10px; font-style: normal; font-weight: 800; font-size: 12px; background: #fff; padding: 5px 10px; border-radius: 999px; }
.pc b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin-top: 10px; line-height: 1.2; }
.pc small { color: var(--muted); font-size: 14px; }

.list { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.row-main { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; min-height: 56px; }
.th { width: 56px; height: 56px; border-radius: 16px; overflow: hidden; flex: none; background: var(--c, var(--soft)); }
.th img { width: 100%; height: 100%; object-fit: cover; object-position: center 85%; transform: scale(1.5); transform-origin: center 85%; }
.rt { flex: 1; min-width: 0; text-align: left; }
.rt b { display: block; font-weight: 700; line-height: 1.3; }
.rt small { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt small .ic { width: 15px; height: 15px; }
.easy .rt b { font-size: 20px; }
.easy .th { width: 64px; height: 64px; }

/* easy home */
.easy-grid { display: grid; gap: 12px; margin-top: 18px; }
.eb { display: flex; align-items: center; gap: 16px; min-height: 104px; padding: 18px 20px; border-radius: 24px; color: #fff; text-align: left; }
.eb .ic { width: 36px; height: 36px; padding: 12px; box-sizing: content-box; background: rgba(255, 255, 255, .2); border-radius: 50%; }
.eb b { display: block; font-size: 22px; font-weight: 800; line-height: 1.2; }
.eb small { display: block; font-size: 17px; opacity: .92; }
.eb.red { background: #E5302F; } .eb.gold { background: #B9770E; } .eb.blue { background: #2F5DAA; } .eb.green { background: #2E7D4F; }

/* listen */
.search { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; border-radius: 16px; background: var(--soft); margin: 8px 0 4px; position: sticky; top: max(8px, env(safe-area-inset-top)); z-index: 5; }
.search input { flex: 1; border: 0; background: none; outline: none; font: inherit; min-width: 0; color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tiles a { min-height: 76px; border-radius: 18px; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: linear-gradient(150deg, var(--c), color-mix(in srgb, var(--c) 55%, #000)); }
.tiles b { font-size: 16px; font-weight: 800; line-height: 1.15; }
.tiles small { font-size: 13px; opacity: .85; font-weight: 600; }

/* detail */
.pl-hero { position: relative; margin: 0 -16px; padding: 0 16px 22px; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: linear-gradient(150deg, var(--g1, #333), var(--g2, #111)); overflow: hidden; }
.pl-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 85%; mix-blend-mode: soft-light; opacity: .9; }
.pl-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .55)); }
.pl-hero > div { position: relative; z-index: 1; }
.pl-hero .back { position: absolute; top: max(12px, env(safe-area-inset-top)); left: 16px; z-index: 2; }
.pl-hero small { font-weight: 700; font-size: 14px; opacity: .9; }
.pl-hero h1 { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.pl-hero p { opacity: .9; font-weight: 600; }
.m-hero { position: relative; margin: 0 -16px; height: 32vh; min-height: 220px; background: var(--c); overflow: hidden; }
.m-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 85%; }
.m-hero .back { position: absolute; top: max(12px, env(safe-area-inset-top)); left: 16px; }
.heart { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 16px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; color: var(--red); }
.m-card { position: relative; margin: -36px 0 0; background: #fff; border-radius: 26px 26px 0 0; padding: 18px 2px 4px; }
.m-d { color: var(--red); font-weight: 700; font-size: 15px; }
.m-card h1 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 2px 0 6px; }
.seg { display: flex; gap: 6px; padding: 4px; background: var(--soft); border-radius: 14px; margin: 22px 0 12px; }
.seg button { flex: 1; min-height: 44px; border-radius: 11px; font-weight: 700; font-size: 14px; color: var(--muted); }
.seg [aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.lyr .v { padding: 12px 0; border-bottom: 1px solid var(--line); }
.lyr .p + .p { margin-top: 14px; }
.tr { font-size: 21px; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
.sa { font-family: "Noto Sans Devanagari", var(--font); font-size: 22px; line-height: 1.6; }
.me { color: var(--muted); margin-top: 3px; }
.easy .tr { font-size: 25px; } .easy .sa { font-size: 26px; }

/* radio */
.radio-card { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: flex-end; color: #fff; margin: 10px 0 14px; background: #222; }
.radio-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 85%; }
.radio-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .75)); }
.radio-card > div { position: relative; z-index: 1; padding: 20px; }
.radio-card h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 10px 0 4px; }
.radio-card p { opacity: .9; }
.offer { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 20px; background: var(--soft); margin-top: 24px; }
.offer > span { flex: 1; }
.offer b { display: block; }
.offer small { color: var(--muted); font-size: 14px; }

/* programmes */
.prog-big { display: block; margin: 18px 0 26px; }
.prog-big b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 12px; }
.prog-big p { color: var(--muted); margin: 2px 0 4px; }
.prog-big small { font-weight: 700; color: var(--red); font-size: 14px; }
.bar { display: block; height: 6px; border-radius: 9px; background: var(--soft); margin-top: 8px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--red); }
.les { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); min-height: 64px; }
.num { width: 40px; height: 40px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; }
.les.done .num { background: var(--ink); color: #fff; }
.les.next .num { background: var(--red); color: #fff; }
.vid { width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; background: #000; margin: 16px 0 4px; }
.read { font-size: 20px; line-height: 1.6; margin: 16px 0; }
.steps { padding-left: 22px; margin: 16px 0; }
.steps li { padding: 8px 0; }
.steps li::marker { font-weight: 800; color: var(--red); }

/* me */
.setting { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; background: var(--soft); margin-top: 14px; }
.setting > span { flex: 1; }
.setting b { display: block; font-size: 18px; }
.setting small { color: var(--muted); font-size: 15px; }
.switch { width: 58px; height: 34px; border-radius: 99px; background: #CFCBC4; position: relative; flex: none; }
.switch i { position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.switch[aria-checked="true"] { background: var(--red); }
.switch[aria-checked="true"] i { left: 27px; }

/* tabs + mini */
#tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
#tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; font-size: 12px; font-weight: 700; color: #8A8A8A; }
.easy #tabs a { font-size: 14px; }
#tabs a[aria-current] { color: var(--red); }
#mini { position: fixed; left: 10px; right: 10px; bottom: calc(var(--tabs) + 6px + env(safe-area-inset-bottom)); z-index: 19; max-width: 620px; margin: 0 auto; }
#mini:not(:empty) { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .3), 0 0 0 1px var(--line); overflow: hidden; position: fixed; }
.mini-open { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
#mini .th { width: 48px; height: 48px; border-radius: 12px; }
#mini .rt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 16px; }
.mb { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
.mb i { display: block; height: 100%; width: 0; background: var(--red); }

/* story */
#story { position: fixed; inset: 0; z-index: 60; display: none; background: #000; color: #fff; }
#story.open { display: block; }
.st-bg { position: absolute; inset: 0; background: center 85% / cover; }
.st-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .25) 40%, rgba(0, 0, 0, .8)); }
.st-in { position: relative; height: 100%; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; padding: max(10px, env(safe-area-inset-top)) 18px calc(28px + env(safe-area-inset-bottom)); }
.st-bars { display: flex; gap: 4px; }
.st-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.st-bars i.done, .st-bars i.now { background: #fff; }
.st-top { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.st-top img { height: 22px; width: auto; }
.x { width: 48px; height: 48px; display: grid; place-items: center; }
.st-body { margin-top: auto; position: relative; z-index: 2; }
.st-body small { font-weight: 800; font-size: 14px; letter-spacing: .02em; color: #FFD1D1; }
.st-body h2 { font-size: 36px; font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin: 6px 0 10px; }
.st-body p { font-size: 18px; opacity: .92; margin-bottom: 18px; }
.st-big { font-size: 26px !important; font-weight: 700; line-height: 1.45; opacity: 1 !important; }
.st-body-t { font-size: 21px !important; line-height: 1.5; }
.st-body .btn { width: 100%; }
.st-prev, .st-next { position: absolute; top: 90px; bottom: 200px; z-index: 1; }
.st-prev { left: 0; width: 34%; }
.st-next { right: 0; width: 66%; }

/* player */
#player { position: fixed; inset: 0; z-index: 50; transform: translateY(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); overflow: clip; }
#player.open { transform: none; }
.pp { height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; background: linear-gradient(170deg, var(--g1), var(--g2) 75%); padding: max(10px, env(safe-area-inset-top)) 22px calc(26px + env(safe-area-inset-bottom)); }
.pp-top { width: 100%; max-width: 520px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; }
.pp-top button { width: 48px; height: 48px; display: grid; place-items: center; }
.pp-art { width: min(76vw, 340px); aspect-ratio: 1; border-radius: 28px; overflow: hidden; margin: auto 0 22px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); }
.pp-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 85%; }
.pp h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.pp > p { opacity: .85; }
.pp #seek { width: 100%; max-width: 520px; accent-color: #fff; height: 28px; margin-top: 14px; }
.pp .times { width: 100%; max-width: 520px; display: flex; justify-content: space-between; font-size: 13px; opacity: .8; font-variant-numeric: tabular-nums; }
.pp-c { display: flex; align-items: center; gap: 28px; margin: 16px 0 18px; }
.pp-c button { width: 56px; height: 56px; display: grid; place-items: center; }
.pp-c .ic { width: 28px; height: 28px; }
.pp-play { width: 84px !important; height: 84px !important; border-radius: 50%; background: #fff; color: var(--ink); }
.pp-play .ic { width: 34px; height: 34px; }
.pp-row { display: flex; gap: 10px; margin-bottom: auto; }
.pp-row > * { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-weight: 700; font-size: 15px; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
