/* Murli Manthan - a calm, sacred reading room at dawn.
   Maroon night sky, a single point of light, gold and cream like the channel's videos. */
:root {
  --night: #140305;
  --deep: #2a0708;
  --maroon: #5b100d;
  --ember: #8a1d12;
  --gold: #f6cf72;
  --gold-2: #e8a23a;
  --gold-soft: #ffe7b0;
  --cream: #fff6e6;
  --ink: #4b0e0b;
  --text: #fbefe0;
  --muted: rgba(251, 239, 224, .66);
  --faint: rgba(251, 239, 224, .4);
  --line: rgba(255, 226, 170, .16);
  --glass: rgba(255, 240, 220, .055);
  --glass-2: rgba(255, 240, 220, .09);
  --right: #4fcf8f;
  --wrong: #f07a6a;
  --r: 22px;
  --display: "Rozha One", "Tiro Devanagari Hindi", Georgia, serif;
  --quote: "Tiro Devanagari Hindi", Georgia, serif;
  --body: "Mukta", "Nirmala UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6;
  background: var(--night); overflow-x: hidden;
}
.sky {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(255, 150, 60, .28), transparent 60%),
    radial-gradient(900px 600px at 85% 30%, rgba(160, 30, 20, .35), transparent 70%),
    radial-gradient(900px 700px at 10% 80%, rgba(90, 15, 30, .45), transparent 70%),
    linear-gradient(180deg, #2b0709 0%, #3d0b0b 30%, #1d0507 70%, var(--night) 100%);
}
#motes { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
a { color: var(--gold); text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 10px; }
::selection { background: rgba(246, 207, 114, .35); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px;
  padding: 12px max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right));
  background: linear-gradient(180deg, rgba(25, 4, 6, .86), rgba(25, 4, 6, .55));
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold); }
.brand-orb { width: 38px; height: 38px; animation: breathe 5s var(--ease) infinite; }
.brand-name { font-family: var(--display); font-size: 25px; line-height: 1; letter-spacing: .3px; white-space: nowrap; }
.nav { display: flex; gap: 4px; margin-left: 18px; }
.nav a {
  color: var(--muted); padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15.5px; transition: .25s var(--ease);
}
.nav a:hover { color: var(--text); background: var(--glass); }
.nav a.on { color: var(--ink); background: linear-gradient(135deg, var(--gold-soft), var(--gold-2)); font-weight: 700; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--line); }
.lang button { padding: 4px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.lang button.on { background: var(--gold); color: var(--ink); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(246, 207, 114, .6);
  display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--ember)); font-weight: 800; color: var(--cream);
}
.tabbar { display: none; }

/* ---------- layout ---------- */
main { max-width: 1120px; margin: 0 auto; padding: 0 20px 90px; outline: none; }
.page { animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.section { margin-top: 56px; }
.eyebrow { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); opacity: .85; font-weight: 600; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--gold); margin: 0; line-height: 1.2; }
h2 { font-size: clamp(26px, 3.4vw, 34px); }
h3 { font-size: 24px; }
.muted { color: var(--muted); }
.row { display: flex; align-items: center; gap: 12px; }
.grid2 { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }

/* ---------- the light ---------- */
.orb { position: relative; width: var(--s, 260px); aspect-ratio: 1; margin: 0 auto; }
.orb::before {
  content: ""; position: absolute; inset: -30%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 190, 90, .35), rgba(255, 120, 40, .12) 40%, transparent 70%);
  animation: glow 6s var(--ease) infinite;
}
.orb::after {
  content: ""; position: absolute; inset: -12%; border-radius: 50%; opacity: .5;
  background: repeating-conic-gradient(from 0deg, rgba(255, 220, 150, .16) 0 2deg, transparent 2deg 12deg);
  -webkit-mask: radial-gradient(circle, #000 25%, transparent 68%); mask: radial-gradient(circle, #000 25%, transparent 68%);
  animation: turn 120s linear infinite;
}
.orb img { position: relative; z-index: 1; width: 100%; height: 100%; animation: breathe 6s var(--ease) infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes glow { 0%, 100% { opacity: .75; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes turn { to { transform: rotate(360deg); } }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 40px 0 10px; }
.hero .orb { --s: min(250px, 58vw); margin-bottom: 8px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 54px); margin-top: 6px; }
.hero .date-sub { color: var(--muted); margin-top: 4px; font-size: 16px; }
.essence {
  max-width: 760px; margin: 26px auto 0; font-family: var(--quote); font-style: italic; font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.65; color: var(--cream); text-wrap: balance;
}
.essence::before, .essence::after { color: var(--gold); font-size: 1.3em; }
.essence::before { content: "“"; } .essence::after { content: "”"; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 17px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-gold {
  color: #3a0807; background: linear-gradient(135deg, #ffe8a8, var(--gold) 45%, var(--gold-2));
  box-shadow: 0 10px 30px -10px rgba(246, 170, 60, .7), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(246, 170, 60, .85), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-ghost { color: var(--gold); border: 1.5px solid rgba(246, 207, 114, .5); background: rgba(255, 220, 160, .04); }
.btn-ghost:hover { background: rgba(255, 220, 160, .1); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- cards ---------- */
.card {
  position: relative; border-radius: var(--r); padding: 26px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 236, 210, .085), rgba(255, 236, 210, .025));
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 240, 220, .08);
}
.card.link { cursor: pointer; transition: transform .35s var(--ease), border-color .35s; }
.card.link:hover { transform: translateY(-4px); border-color: rgba(246, 207, 114, .4); }
.card .kicker { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); opacity: .8; font-weight: 600; }
.card h3 { margin: 6px 0 6px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: rgba(246, 207, 114, .12); color: var(--gold-soft); border: 1px solid rgba(246, 207, 114, .2);
}
.pill.ok { background: rgba(79, 207, 143, .14); color: #a9f0c9; border-color: rgba(79, 207, 143, .3); }

/* murli words: cream paper, gold edge, as in the videos */
.murli {
  position: relative; background: var(--cream); color: var(--ink); border-radius: 18px; padding: 18px 22px 18px 26px;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .7);
}
.murli::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: 18px 0 0 18px; background: linear-gradient(var(--gold), var(--gold-2)); }
.murli .lbl { font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; color: #a06b1c; font-weight: 700; }
.murli .q { font-family: var(--quote); font-style: italic; font-size: 19px; line-height: 1.65; margin-top: 4px; }

/* score ring */
.ring { --p: 0; --s: 110px; position: relative; width: var(--s); height: var(--s); flex: none; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring .bg { stroke: rgba(255, 240, 220, .12); }
.ring .fg { stroke: url(#gold); stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease); }
.ring .val { font-family: var(--display); color: var(--gold); font-size: calc(var(--s) * .3); line-height: 1; }
.ring .val small { font-family: var(--body); font-size: .42em; color: var(--muted); font-weight: 600; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.stat { text-align: center; padding: 18px 10px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--gold); line-height: 1.1; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* day strip */
.days { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.days::-webkit-scrollbar { display: none; }
.day {
  flex: none; width: 66px; padding: 10px 0 8px; border-radius: 18px; text-align: center; scroll-snap-align: start;
  background: var(--glass); border: 1px solid var(--line); transition: .25s var(--ease); line-height: 1.25;
}
.day:hover { border-color: rgba(246, 207, 114, .4); }
.day.on { background: linear-gradient(160deg, #ffe8a8, var(--gold-2)); color: var(--ink); border-color: transparent; }
.day small { display: block; font-size: 12px; opacity: .75; }
.day b { display: block; font-size: 24px; font-weight: 800; }
.day i { display: block; width: 6px; height: 6px; margin: 4px auto 0; border-radius: 50%; }
.day i.done { background: var(--right); }
.day.on i.done { background: var(--ink); }

/* videos */
.videos { display: grid; grid-template-columns: repeat(2, 1fr) repeat(3, minmax(0, .42fr)); gap: 14px; }
.vid { position: relative; border-radius: 16px; overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 16/9; border: 1px solid var(--line); }
.vid.short { aspect-ratio: 9/16; }
.vid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; opacity: .9; }
.vid:hover img { transform: scale(1.05); opacity: 1; }
.vid .play {
  position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(20, 3, 5, .6); border: 1.5px solid rgba(255, 231, 176, .7); backdrop-filter: blur(4px);
}
.vid .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 9px; font-size: 14px; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }

/* revision card image */
.hosts { border-radius: 16px; overflow: hidden; aspect-ratio: 2.4; margin: -6px -6px 18px; }
.hosts img { width: 100%; height: 100%; object-fit: cover; object-position: center 78%; }

/* ---------- exam ---------- */
.focus { max-width: 760px; margin: 0 auto; padding-top: 26px; }
.exam-top { display: flex; align-items: center; gap: 14px; }
.exam-top h2 { font-size: 24px; flex: 1; }
.counter { padding: 5px 14px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 14.5px; white-space: nowrap; }
.bar { height: 6px; border-radius: 999px; background: rgba(255, 240, 220, .1); margin: 16px 0 30px; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transition: width .6s var(--ease); }
.question { font-size: clamp(23px, 3vw, 30px); font-weight: 700; line-height: 1.4; color: #fff; text-wrap: balance; }
.options { display: grid; gap: 12px; margin-top: 26px; }
.opt {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 15px 18px; border-radius: 18px;
  background: rgba(255, 240, 220, .06); border: 1.5px solid rgba(255, 226, 170, .22); font-size: 19px; font-weight: 600; color: #fff;
  transition: background .3s, border-color .3s, transform .2s var(--ease), opacity .3s;
}
.opt:hover:not([disabled]) { background: rgba(255, 240, 220, .1); border-color: rgba(246, 207, 114, .55); transform: translateX(4px); }
.opt .k {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px;
  background: rgba(246, 207, 114, .16); color: var(--gold);
}
.opt.right { background: rgba(79, 207, 143, .18); border-color: var(--right); }
.opt.right .k { background: var(--right); color: #fff; }
.opt.wrong { background: rgba(240, 122, 106, .16); border-color: var(--wrong); animation: shake .4s; }
.opt.wrong .k { background: var(--wrong); color: #fff; }
.opt.dim { opacity: .45; }
.opt[disabled] { cursor: default; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.reveal { margin-top: 22px; animation: rise .5s var(--ease) both; }
.verdict { font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.verdict.ok { color: var(--right); }
.context { color: var(--muted); margin: 14px 4px 0; font-size: 16.5px; }
.exam-foot { display: flex; justify-content: flex-end; margin-top: 30px; }
.note {
  display: flex; align-items: center; gap: 14px; justify-content: space-between; flex-wrap: wrap; padding: 14px 18px; border-radius: 16px;
  background: rgba(246, 207, 114, .08); border: 1px dashed rgba(246, 207, 114, .35); margin-bottom: 22px; font-size: 15.5px;
}
.result { text-align: center; }
.result .ring { --s: 190px; margin: 18px auto; }
.result h2 { font-size: clamp(30px, 4vw, 42px); }
.closing { display: grid; gap: 12px; margin-top: 30px; text-align: left; }
.review { margin-top: 40px; text-align: left; display: grid; gap: 12px; }
.review-item { padding: 16px 18px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); }
.review-item .q { font-weight: 700; }
.review-item .a { font-size: 15.5px; margin-top: 4px; }

/* ---------- revision ---------- */
.player {
  position: sticky; top: 74px; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 20px; margin: 22px 0;
  background: rgba(40, 7, 8, .82); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.play-btn { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, #ffe8a8, var(--gold-2)); color: var(--ink); }
.seek { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 999px; background: rgba(255, 240, 220, .15); outline: none; }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(246, 207, 114, .25); }
.seek::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 0; }
.time { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--muted); min-width: 92px; text-align: right; }
.speed { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--gold-soft); }
.chapters { display: grid; gap: 34px; margin-top: 10px; }
.chapter h3 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.chapter h3 span { font-family: var(--body); font-size: 14px; color: var(--faint); font-weight: 700; }
.talk { display: grid; gap: 10px; margin-top: 16px; }
.line { max-width: 82%; padding: 12px 16px; border-radius: 6px 20px 20px 20px; background: rgba(255, 240, 220, .08); font-size: 17px; }
.line.b { justify-self: end; border-radius: 20px 6px 20px 20px; background: rgba(246, 207, 114, .1); }
.line .who { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .6px; margin-bottom: 2px; }
.line.s .who { color: #ffbfa8; } .line.b .who { color: #bcd6ff; text-align: right; }

/* ---------- archive ---------- */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal .wd { text-align: center; font-size: 13px; color: var(--faint); font-weight: 700; padding-bottom: 4px; }
.cell {
  aspect-ratio: 1; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(255, 240, 220, .03); border: 1px solid transparent; color: var(--faint); font-weight: 700; font-size: 17px; line-height: 1.1;
}
.cell.has { background: var(--glass); border-color: var(--line); color: var(--text); cursor: pointer; transition: .25s var(--ease); }
.cell.has:hover { border-color: rgba(246, 207, 114, .5); transform: translateY(-2px); }
.cell small { font-size: 11.5px; font-weight: 700; margin-top: 3px; color: var(--gold); }
.cell.done { background: linear-gradient(160deg, rgba(79, 207, 143, .22), rgba(79, 207, 143, .06)); border-color: rgba(79, 207, 143, .35); }
.cell.today { box-shadow: 0 0 0 2px var(--gold) inset; }

/* ---------- leaderboard ---------- */
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--line); }
.tabs button { padding: 8px 18px; border-radius: 999px; font-weight: 600; color: var(--muted); }
.tabs button.on { background: var(--gold); color: var(--ink); }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 14px; align-items: end; margin: 30px 0 22px; }
.pod { text-align: center; padding: 20px 10px 16px; border-radius: 22px 22px 14px 14px; background: var(--glass); border: 1px solid var(--line); }
.pod.p1 { padding-top: 30px; background: linear-gradient(170deg, rgba(246, 207, 114, .2), rgba(246, 207, 114, .04)); border-color: rgba(246, 207, 114, .4); }
.pod .avatar { width: 58px; height: 58px; margin: 0 auto 8px; font-size: 22px; }
.pod.p1 .avatar { width: 72px; height: 72px; }
.pod .medal { font-family: var(--display); color: var(--gold); font-size: 28px; line-height: 1; }
.pod .nm { font-weight: 700; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pod .sc { color: var(--gold-soft); font-weight: 700; }
.ranks { display: grid; gap: 8px; }
.rank { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-radius: 16px; background: var(--glass); border: 1px solid transparent; }
.rank.you { border-color: var(--gold); background: rgba(246, 207, 114, .1); }
.rank .n { width: 30px; text-align: center; font-weight: 800; color: var(--faint); }
.rank .avatar { width: 36px; height: 36px; font-size: 14px; }
.rank .nm { flex: 1; font-weight: 600; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank .sc { font-weight: 800; color: var(--gold); white-space: nowrap; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty .orb { --s: 90px; margin-bottom: 18px; }

/* ---------- profile ---------- */
.me-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.me-head .avatar { width: 84px; height: 84px; font-size: 32px; }
.months { display: grid; gap: 10px; }
.mbar { display: grid; grid-template-columns: 130px 1fr auto; gap: 14px; align-items: center; font-size: 15px; }
.mbar .track { height: 10px; border-radius: 999px; background: rgba(255, 240, 220, .1); overflow: hidden; }
.mbar .track i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); border-radius: 999px; }
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cert { padding: 18px; border-radius: 18px; background: linear-gradient(160deg, rgba(246, 207, 114, .16), rgba(246, 207, 114, .03)); border: 1px solid rgba(246, 207, 114, .35); }
.field { display: grid; gap: 6px; margin-top: 14px; }
.field input[type=text] {
  font: inherit; color: var(--text); padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); outline: none;
}
.field input:focus { border-color: var(--gold); }
.switch { display: flex; align-items: center; gap: 12px; margin-top: 16px; cursor: pointer; }
.switch input { width: 44px; height: 26px; appearance: none; -webkit-appearance: none; border-radius: 999px; background: rgba(255, 240, 220, .18); position: relative; transition: .25s; cursor: pointer; flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .25s var(--ease); }
.switch input:checked { background: var(--right); }
.switch input:checked::after { transform: translateX(18px); }
table.hist { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.hist td, .hist th { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.hist th { color: var(--faint); font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- modal, toast ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(10, 2, 3, .72); backdrop-filter: blur(6px); animation: fade .25s; }
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.modal-card { position: relative; width: min(460px, 100%); padding: 34px 28px 28px; border-radius: 26px; text-align: center; background: linear-gradient(170deg, #3a0b0b, #1d0507); border: 1px solid rgba(246, 207, 114, .3); box-shadow: 0 40px 80px -30px #000; animation: rise .4s var(--ease); }
.modal-card.wide { width: min(980px, 100%); padding: 14px; }
.modal-x { position: absolute; top: 10px; right: 14px; font-size: 28px; color: var(--muted); line-height: 1; padding: 4px 8px; z-index: 2; }
.modal .orb { --s: 96px; margin-bottom: 10px; }
.frame { aspect-ratio: 16/9; width: 100%; border: 0; border-radius: 16px; background: #000; }
.frame.short { aspect-ratio: 9/16; max-height: 80vh; width: auto; margin: 0 auto; display: block; }
#gbtn { display: flex; justify-content: center; margin-top: 22px; min-height: 44px; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 60; padding: 12px 22px; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 700; transition: .35s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.foot { text-align: center; color: var(--faint); font-size: 13px; margin-top: 70px; }

/* ---------- phone ---------- */
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .nav { display: none; }
  .brand-name { font-size: 22px; }
  .grid2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .videos { grid-template-columns: 1fr 1fr; }
  .videos .vid.short { display: none; }
  .tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; justify-content: space-around;
    padding: 8px 6px max(8px, env(safe-area-inset-bottom)); background: rgba(24, 4, 6, .9); border-top: 1px solid var(--line);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  .tabbar a { display: grid; justify-items: center; gap: 2px; font-size: 11.5px; color: var(--faint); padding: 4px 8px; font-weight: 600; min-width: 58px; }
  .tabbar a.on { color: var(--gold); }
  .tabbar svg { width: 23px; height: 23px; }
  .player { top: 66px; gap: 10px; padding: 10px 12px; }
  .time { min-width: 0; font-size: 12.5px; }
  .line { max-width: 92%; }
  .mbar { grid-template-columns: 96px 1fr auto; }
  .card { padding: 20px; }
  .podium { gap: 8px; }
  .toast { bottom: 90px; }
}
@media (max-width: 420px) {
  .lang button { padding: 4px 9px; }
  .brand-name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print { .topbar, .tabbar, #motes { display: none; } }
