/* Radhe Online landing — theme "mehndi". Henna-cream page, fine brown line-art, purple result capsules. */
:root {
  --cream: #fbf3e4; --paper: #fffaf0; --cream2: #f3e6cb; --henna: #7a3b12; --henna2: #8a4a1e; --ink: #2b1608; --muted: #6b4a32;
  --purple: #5f259e; --night: #1a0b33; --gold: #dbb237; --line: rgba(122, 59, 18, .35); --soft: rgba(122, 59, 18, .16); --red: #c0152f;
  --fh: "Cormorant Garamond", Georgia, serif; --fb: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif; --fm: "Courier Prime", "Courier New", monospace;
  --fd: "Noto Serif Devanagari", "Cormorant Garamond", serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--cream); color: var(--ink); font: 400 16px/1.55 var(--fb); padding-bottom: 76px;
  background-image: radial-gradient(circle, rgba(122, 59, 18, .09) 1.2px, transparent 1.6px); background-size: 22px 22px; }
a { color: var(--purple); }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--purple); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.pais { width: 28px; height: 31px; color: var(--henna); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 800; border-radius: 999px; padding: 10px 18px; min-height: 44px; border: 0; cursor: pointer; font-family: var(--fb); font-size: 1rem; line-height: 1.2; white-space: nowrap; }
.btn-purple { background: var(--purple); color: #fff; box-shadow: 0 5px 16px rgba(95, 37, 158, .28); }
.btn-purple:hover { background: #4b1c80; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #e6c35a; }
.btn-line { background: transparent; color: var(--henna); box-shadow: inset 0 0 0 1.6px var(--henna); }
.btn-line:hover { background: rgba(122, 59, 18, .08); }
.btn-xl { padding: 13px 24px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: .92rem; min-height: 44px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251, 243, 228, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); box-shadow: 0 3px 0 -1px var(--cream), 0 4px 0 -1px rgba(219, 178, 55, .7); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--henna); font: 700 1.6rem/1 var(--fh); }
.brand img { width: 40px; height: 40px; }
.brand b { color: var(--purple); font-weight: 700; font-style: italic; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 700; padding: 10px 10px; border-radius: 10px; }
.nav a:not(.btn):hover { color: var(--purple); background: rgba(95, 37, 158, .07); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* hero: the mehndi panel */
.hero { padding: 28px 0 8px; }
.orn { position: relative; max-width: 880px; margin: 0 auto; background: var(--paper); border: 2px solid var(--henna); border-radius: 30px; padding: 7px;
  box-shadow: 0 12px 34px rgba(122, 59, 18, .14); }
.orn::before { content: ""; position: absolute; inset: 7px; border: 1.5px dotted var(--henna); border-radius: 24px; pointer-events: none; }
.orn::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(219, 178, 55, .85); border-radius: 18px; pointer-events: none; }
.orn-in { position: relative; z-index: 1; text-align: center; padding: 34px 20px 28px; display: flex; flex-direction: column; align-items: center; }
.corner { position: absolute; width: 150px; height: 150px; color: var(--henna); z-index: 0; stroke-width: 1.3; }
.corner .dr { stroke-width: 2.4; }
.c-tl { top: 8px; left: 8px; } .c-tr { top: 8px; right: 8px; transform: scaleX(-1); }
.c-bl { bottom: 8px; left: 8px; transform: scaleY(-1); } .c-br { bottom: 8px; right: 8px; transform: scale(-1, -1); }
@media (max-width: 560px) { .corner { width: 96px; height: 96px; } .corner .dr { stroke-width: 3.2; } .orn-in { padding: 36px 14px 84px; } }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--henna); font-weight: 800; letter-spacing: .08em; font-size: .8rem; text-transform: uppercase; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 0 rgba(95, 37, 158, .5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(95, 37, 158, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 37, 158, 0); } }
.mark { width: 88px; height: 88px; margin: 14px auto 2px; }
.hero h1 { font: 700 clamp(3rem, 10vw, 5.2rem)/.95 var(--fh); color: var(--henna); letter-spacing: .01em; }
.hero h1 em { color: var(--purple); font-style: italic; }
.slogan { font: 700 clamp(.98rem, 3.4vw, 1.25rem)/1.6 var(--fd); color: var(--henna); margin: 8px 0 18px; }
.slogan::before, .slogan::after { content: "◆"; color: var(--gold); font-size: .6em; margin: 0 .7em; vertical-align: .15em; }
.newest { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 12px 16px 10px; margin: 0 0 16px; width: min(420px, 100%); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--soft); }
.newest-l { font-size: .84rem; font-weight: 700; color: var(--muted); }
.newest-l b { color: var(--henna); text-transform: uppercase; letter-spacing: .05em; }
.newest-t { font-size: .84rem; color: var(--muted); margin-top: 6px; }
.newest-t .st { font-weight: 800; color: var(--purple); }
.hero .lead { color: var(--muted); font-size: 1.05rem; max-width: 30em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 18px 0 10px; }
.meta { color: var(--muted); font-size: .9rem; }
.ios-note { margin-top: 10px; background: rgba(192, 21, 47, .1); color: #7d0f20; padding: 10px 12px; border-radius: 12px; }
/* the lines draw themselves on load */
@media (prefers-reduced-motion: no-preference) {
  .js .dr { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .15s cubic-bezier(.5, 0, .2, 1) forwards; }
  .js .dr2 { opacity: 0; animation: fadein 1s 1.4s forwards; }
  .js .corner use, .js .corner circle { opacity: 0; animation: fadein .8s 1.2s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

/* result capsule */
.cap { display: flex; align-items: center; justify-content: center; gap: 4px; background: var(--purple); color: #fff; border-radius: 999px; padding: 6px 14px; margin: 12px 0 8px; font-family: var(--fm); font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 2px rgba(219, 178, 55, .8); }
.cap .pn { flex: 1; text-align: center; font-weight: 700; font-size: 1.02rem; color: #f0e2ff; letter-spacing: .08em; }
.cap .jd { font-weight: 700; font-size: 1.85rem; line-height: 1.1; padding: 0 12px; position: relative; color: #fff; }
.cap .jd::before, .cap .jd::after { content: ""; position: absolute; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--gold); }
.cap .jd::before { left: 0; } .cap .jd::after { right: 0; }
.cap .jd.red { color: #ffb3c1; }
.cap.big { margin-block: 8px 4px; padding: 8px 18px; } .cap.big .jd { font-size: 2.7rem; } .cap.big .pn { font-size: 1.3rem; }
.cap.sm { margin: 4px 0 0; padding: 3px 10px; } .cap.sm .jd { font-size: 1.3rem; } .cap.sm .pn { font-size: .85rem; }
[data-state="waiting"] .cap, [data-state="holiday"] .cap { background: #6f5a85; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
[data-state="holiday"] .cap, [data-state="waiting"] .cap { color: #fff; }
.flash .cap { animation: bloom 1.4s; }
@keyframes bloom { 0% { box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 0 rgba(219, 178, 55, .9); } 100% { box-shadow: inset 0 0 0 2px rgba(219, 178, 55, .8), 0 0 0 16px rgba(219, 178, 55, 0); } }

/* just declared */
.just { padding-top: 22px; }
.just-list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.just-list li { background: var(--paper); border: 1.5px dotted var(--henna); border-radius: 18px; padding: 10px 10px 8px; text-align: center; }
.jn { display: block; font: 700 1rem/1.15 var(--fh); color: var(--henna); text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 900px) { .just-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .just-list { grid-template-columns: repeat(2, 1fr); } .just-list li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* facts */
.facts { margin-top: 30px; border-block: 1.5px solid var(--line); background: var(--cream2); position: relative; }
.facts::before, .facts::after { content: ""; position: absolute; left: 0; right: 0; height: 6px; background: radial-gradient(circle, var(--henna) 1.4px, transparent 1.8px) 0 50% / 14px 6px repeat-x; opacity: .7; }
.facts::before { top: 3px; } .facts::after { bottom: 3px; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-in div { padding: 22px 10px; text-align: center; }
.facts b { display: block; font: 700 2.3rem/1 var(--fh); color: var(--purple); }
.facts span { color: var(--muted); font-size: .9rem; font-weight: 700; }
@media (max-width: 640px) { .facts-in { grid-template-columns: repeat(2, 1fr); } .facts-in div { padding: 18px 8px; } }

/* sections */
.sec { padding: 48px 0 6px; }
.sec-head { text-align: center; margin-bottom: 20px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.eyebrow { color: var(--purple); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; }
.sec h2 { font: 700 clamp(2rem, 5vw, 2.8rem)/1.1 var(--fh); color: var(--henna); }
.rule { width: 200px; height: 14px; margin: 4px 0 2px; }
.updated { color: var(--muted); font-size: .9rem; }
.more { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 800; padding: 10px 6px; }
.next-up { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 8px; margin: 0 auto 14px; background: var(--paper); border: 1.5px dotted var(--henna); padding: 8px 16px; border-radius: 999px; color: var(--muted); }
.next-up b { color: var(--henna); }
.filter { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 4px 0 20px; }
.filter button { font: 800 .92rem var(--fb); min-height: 44px; background: transparent; color: var(--henna); border: 1.6px solid var(--henna); padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.filter button.on { background: var(--purple); color: #fff; border-color: var(--purple); }
.session { margin-bottom: 24px; }
.session[hidden] { display: none; }
.session-h { font: 700 1.6rem var(--fh); color: var(--purple); margin: 6px 0 12px; display: flex; align-items: baseline; gap: 10px; font-style: italic; }
.session-h::after { content: ""; flex: 1; border-bottom: 2px dotted var(--henna); opacity: .5; align-self: center; }
.session-h small { font: 700 .84rem var(--fb); color: var(--muted); font-style: normal; order: 2; }
.session-h::after { order: 3; }

/* market cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; }
.card { position: relative; background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px; padding: 16px 18px 12px; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 5px; border: 1px dotted rgba(122, 59, 18, .38); border-radius: 15px; pointer-events: none; }
.card[hidden] { display: none; }
.card > * { position: relative; }
.card .pais { position: absolute; opacity: .55; width: 30px; height: 33px; pointer-events: none; }
.card .p1 { top: 9px; right: 9px; transform: scaleX(-1); }
.card .p2 { bottom: 9px; left: 9px; transform: scaleY(-1); color: var(--purple); opacity: .35; width: 22px; height: 24px; }
.card header { display: flex; flex-direction: column; padding-right: 30px; }
.card h4 { font: 700 1.45rem/1.1 var(--fh); color: var(--henna); text-transform: uppercase; letter-spacing: .03em; }
.st { font-size: .76rem; font-weight: 800; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.card[data-state="closed"] .st { color: #1d6b3f; }
.card[data-state="open"] .st { color: var(--purple); }
.card[data-state="holiday"] .st { color: var(--red); }
.times { display: flex; justify-content: space-between; font-size: .86rem; color: var(--muted); padding-inline: 6px; }
.times b { color: var(--ink); }
.prev { font-size: .82rem; color: var(--muted); margin-top: 4px; padding-inline: 6px; }
.prev b { color: var(--ink); font-family: var(--fm); }
.card footer { display: flex; justify-content: center; gap: 8px; margin-top: 8px; padding-top: 6px; border-top: 1px dotted var(--line); }
.card footer a { text-decoration: none; font-weight: 800; font-size: .92rem; padding: 10px 12px; color: var(--purple); }
.card footer a:hover { text-decoration: underline; }

/* Starline vine */
.vine { list-style: none; position: relative; display: grid; grid-template-columns: 1fr; gap: 12px; padding: 6px 0 6px; max-width: 760px; margin: 0 auto; }
.vine::before { content: ""; position: absolute; top: 0; bottom: 0; left: 8px; width: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 80'%3E%3Cpath d='M14 0C26 20 2 20 14 40C26 60 2 60 14 80' fill='none' stroke='%237a3b12' stroke-width='1.8'/%3E%3C/svg%3E") center top / 28px 80px repeat-y; }
.slot { position: relative; padding-left: 52px; display: flex; align-items: center; }
.node { position: absolute; left: 17px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--henna); }
.slot.has .node { background: var(--purple); border-color: var(--purple); }
.node::after { content: ""; position: absolute; left: 8px; top: 3px; width: 19px; border-top: 1.8px solid var(--henna); }
.leaf { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex: 1; background: var(--paper); border: 1.5px solid var(--henna); border-radius: 4px 30px 4px 30px; padding: 8px 22px 8px 20px; min-height: 46px; }
.slot.has .leaf { background: #f0e4ff; border-color: var(--purple); }
.leaf .t { font: 700 1rem var(--fb); color: var(--henna); }
.leaf b { font: 700 1.25rem var(--fm); color: var(--ink); letter-spacing: .06em; }
.slot.has .leaf b { color: var(--purple); }
.slot.flash .leaf { animation: bloom2 1.4s; }
@keyframes bloom2 { 0% { box-shadow: 0 0 0 0 rgba(219, 178, 55, .9); } 100% { box-shadow: 0 0 0 14px rgba(219, 178, 55, 0); } }
@media (min-width: 820px) {
  .vine { grid-template-columns: 1fr 1fr; column-gap: 0; row-gap: 14px; }
  .vine::before { left: calc(50% - 14px); }
  .slot { padding: 0 34px 0 0; }
  .slot .node { left: auto; right: -5.5px; }
  .slot .node::after { left: auto; right: 8px; }
  .slot:nth-child(even) { padding: 0 0 0 34px; margin-top: 32px; }
  .slot:nth-child(even) .node { right: auto; left: -5.5px; }
  .slot:nth-child(even) .node::after { right: auto; left: 8px; }
  .slot:nth-child(odd) .leaf { border-radius: 30px 4px 30px 4px; }
  .vine { padding-bottom: 32px; }
}

/* Jackpot roundels */
.rounds { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 16px 10px; justify-items: center; }
.round { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.round b { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; font: 700 1.6rem var(--fm); color: var(--ink);
  background: var(--paper); border: 3px dotted var(--henna); outline: 2px dotted rgba(219, 178, 55, .95); outline-offset: 4px; }
.round.has b { color: var(--purple); background-color: #f0e4ff; }
.round.red b { color: var(--red); }
.round:not(.has) b { color: #7a6690; }
.round span { font-size: .78rem; color: var(--muted); font-weight: 800; }
.round.flash b { animation: bloom2 1.4s; }

/* install */
.install { margin-top: 56px; background: var(--purple); color: #fff; position: relative; border-block: 3px solid var(--gold); }
.install::before { content: ""; position: absolute; inset: 8px 0; border-block: 1.5px dotted rgba(255, 255, 255, .5); pointer-events: none; }
.install-in { position: relative; display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: center; padding: 46px 0; }
.install .eyebrow { color: #f1d27a; }
.install h2 { font: 700 clamp(2rem, 4.4vw, 2.7rem)/1.1 var(--fh); margin: 4px 0 16px; color: #fff; }
.steps { list-style: none; display: grid; gap: 10px; margin-bottom: 22px; }
.steps li { display: flex; gap: 14px; align-items: center; background: rgba(26, 11, 51, .35); border: 1px dotted rgba(255, 255, 255, .55); padding: 11px 14px; border-radius: 18px; }
.num { flex: none; width: 40px; height: 40px; border-radius: 50% 50% 50% 8px; background: var(--gold); color: var(--night); display: grid; place-items: center; font: 700 1.5rem var(--fh); }
.steps b { display: block; font-size: 1.05rem; }
.steps li span:not(.num) { color: #e8dbfa; font-size: .94rem; }
.qr-card { background: #fff; color: var(--night); border-radius: 22px; padding: 18px; text-align: center; box-shadow: 0 0 0 5px rgba(219, 178, 55, .85), 0 16px 40px rgba(0, 0, 0, .3); }
.qr { width: 190px; height: 190px; margin: 0 auto 10px; }
.qr svg { width: 100%; height: 100%; }
@media (max-width: 760px) { .install-in { grid-template-columns: 1fr; padding: 40px 0; } .qr-card { display: none; } }

/* why, charts, faq */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why div { position: relative; background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px; padding: 18px 16px 16px; text-align: center; }
.why .pais { margin: 0 auto 4px; display: block; }
.why h3 { font: 700 1.35rem/1.15 var(--fh); color: var(--henna); margin-bottom: 4px; }
.why p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .why { grid-template-columns: 1fr; } }
.chart-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.chart-list li { display: flex; align-items: center; gap: 6px; background: var(--paper); border: 1.5px dotted var(--henna); border-radius: 999px; padding: 4px 6px 4px 18px; }
.chart-list span { flex: 1; font: 700 1.12rem var(--fh); color: var(--henna); text-transform: uppercase; letter-spacing: .03em; }
.chart-list a { text-decoration: none; font-weight: 800; font-size: .88rem; padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; color: var(--purple); }
.chart-list a:hover { background: var(--purple); color: #fff; }
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; padding: 4px 18px; }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; color: var(--henna); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--purple); font: 700 1.7rem/1 var(--fh); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); padding-bottom: 12px; }

/* footer + dock */
.foot { margin-top: 56px; border-top: 2px solid var(--henna); padding: 34px 0 22px; background: var(--cream2); position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 6px; background: radial-gradient(circle, var(--henna) 1.4px, transparent 1.8px) 0 50% / 14px 6px repeat-x; opacity: .6; }
.foot-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 26px; }
.foot p { color: var(--muted); margin-top: 8px; font-size: .94rem; }
.foot-h { font: 700 1.4rem var(--fh); color: var(--henna); margin-bottom: 8px; }
.foot-links { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; font-size: .92rem; }
.foot-links a, .foot-ch a { color: var(--purple); text-decoration: none; font-weight: 700; display: inline-block; padding: 9px 0; }
.foot-links a:hover, .foot-ch a:hover { text-decoration: underline; }
.fine { border-top: 1px dotted var(--henna); margin-top: 22px; padding-top: 14px; font-size: .84rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } .foot-links { grid-template-columns: 1fr 1fr; } }
.dock { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); width: min(520px, calc(100% - 20px)); display: flex; align-items: center; gap: 12px; padding: 9px 10px 9px 12px; background: var(--purple); border: 2px solid var(--gold); border-radius: 999px; text-decoration: none; color: #fff; z-index: 30; box-shadow: 0 10px 28px rgba(26, 11, 51, .4); }
.dock img { width: 40px; height: 40px; border-radius: 50%; }
.dock > span:nth-child(2) { flex: 1; line-height: 1.2; }
.dock b { font-size: .95rem; white-space: nowrap; }
.dock small { display: block; color: #e8dbfa; font-size: .8rem; }

/* shared chart pages: plain, high-contrast tables on cream */
.chart-page .page { padding: 28px 0 8px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { text-decoration: none; font-weight: 700; padding: 8px 0; display: inline-block; }
.page h1 { font: 700 clamp(2.1rem, 6vw, 3.1rem)/1.05 var(--fh); color: var(--henna); }
.page .lead { margin: 10px 0 16px; max-width: 46em; font-size: 1rem; color: var(--muted); }
.today-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--purple); color: #fff; border-radius: 28px; padding: 8px 10px 8px 22px; margin: 0 0 14px; box-shadow: inset 0 0 0 2px rgba(219, 178, 55, .85); }
.today-strip span { font-weight: 800; color: #f1d27a; }
.today-strip b { font: 700 clamp(1.15rem, 5vw, 1.6rem) var(--fm); flex: 1; letter-spacing: .05em; white-space: nowrap; }
.today-strip .btn { background: var(--gold); color: var(--night); }
.tabs { display: inline-flex; background: var(--paper); border: 1.5px solid var(--henna); border-radius: 999px; padding: 3px; gap: 2px; margin: 0 0 10px; }
.tabs a { text-decoration: none; font-weight: 800; padding: 10px 18px; border-radius: 999px; color: var(--henna); min-height: 44px; display: inline-flex; align-items: center; }
.tabs a[aria-selected="true"] { background: var(--purple); color: #fff; }
.jump { margin: 0 0 8px; font-size: .92rem; font-weight: 700; }
.jump a { display: inline-block; padding: 10px 0; }
.tbl-wrap { overflow: auto; max-height: 72vh; border: 1.5px solid var(--henna); border-radius: 16px; background: #fffdf8; }
table.chart { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; color: var(--ink); }
table.chart th, table.chart td { border-bottom: 1px solid #e3d3b4; border-right: 1px solid #e3d3b4; padding: 8px 6px; text-align: center; }
table.chart thead th { position: sticky; top: 0; background: var(--purple); color: #fff; font-weight: 800; font-size: .84rem; z-index: 2; }
table.chart thead th:first-child { position: sticky; left: 0; z-index: 3; background: #4b1c80; }
table.chart thead th:first-child, table.chart tbody th { width: 1%; padding-inline: 12px; }
table.chart tbody th { position: sticky; left: 0; z-index: 1; background: var(--cream2); font-size: .8rem; white-space: nowrap; text-align: left; font-weight: 800; color: var(--henna); }
table.chart tbody th small { display: block; font-weight: 700; color: var(--muted); }
table.chart.jodi td { font: 700 1.1rem var(--fm); }
table.chart.panel td { font-size: .8rem; line-height: 1.15; color: #4a3322; white-space: nowrap; font-family: var(--fm); }
table.chart.panel td .pn { display: inline-block; vertical-align: middle; line-height: 1.12; font-size: .8rem; }
table.chart.panel td b { display: inline-block; vertical-align: middle; margin: 0 5px; font: 700 1.12rem var(--fm); color: var(--ink); }
table.chart td.red, table.chart td.red b { color: var(--red); }
table.chart td.today { background: #fff0bf; box-shadow: inset 0 0 0 2px var(--gold); }
table.chart td.pend, table.chart td.na, table.chart .na { color: #8a7660; }
table.chart.slotchart td { font: 700 .9rem var(--fm); white-space: nowrap; }
.fit table.chart.panel { min-width: 640px; }
.empty { background: var(--paper); border: 1.5px dotted var(--henna); padding: 16px; border-radius: 16px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { text-decoration: none; color: var(--henna); background: var(--paper); border: 1.5px dotted var(--henna); padding: 11px 14px; min-height: 44px; border-radius: 999px; font-weight: 700; font-size: .92rem; }
.chip:hover { border-color: var(--purple); color: var(--purple); }
.page .sec { padding-top: 28px; }
.page .sec h2 { font-size: 1.9rem; margin-bottom: 10px; text-align: center; }
.page .btn { background: var(--purple); color: #fff; }
.page .today-strip .btn { background: var(--gold); color: var(--night); }
.page .wrap > a, .page p a { color: var(--purple); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (max-width: 640px) {
  .fit table.chart.panel { min-width: 0; }
  .tbl-wrap { max-height: 78vh; }
  table.chart th, table.chart td { padding: 5px 2px; }
  table.chart thead th { font-size: .66rem; }
  table.chart thead th:first-child, table.chart tbody th { padding-inline: 4px; }
  table.chart tbody th { font-size: .62rem; }
  table.chart tbody th small, table.chart .wk-y { display: none; }
  table.chart.jodi td { font-size: .9rem; }
  table.chart.panel td { padding: 4px 3px; }
  table.chart.panel td .pn { font-size: .66rem; line-height: 1.08; font-weight: 700; }
  table.chart.panel td b { margin: 0 2px; font-size: .88rem; }
  table.chart.slotchart td { font-size: .74rem; padding-inline: 5px; }
}
@media (max-width: 380px) {
  table.chart.panel td { padding: 3px 1px; }
  table.chart.panel td .pn { font-size: .6rem; }
  table.chart.panel td b { margin: 0 1px; font-size: .8rem; }
  table.chart thead th:first-child, table.chart tbody th { padding-inline: 3px; font-size: .56rem; }
}
/* phone panel chart: narrower digit face so all seven days fit at 360px */
@media (max-width: 640px) {
  table.chart.panel td, table.chart.panel td .pn, table.chart.panel td b { font-family: var(--fb); }
  table.chart.panel td { padding: 3px 1px; }
  table.chart.panel td .pn { font-size: .62rem; font-weight: 700; }
  table.chart.panel td b { margin: 0 1px; font-size: .84rem; font-weight: 800; }
  table.chart thead th:first-child, table.chart tbody th { padding-inline: 3px; }
  table.chart tbody th { font-size: .58rem; }
}
@media (max-width: 640px) {
  table.chart.panel td { padding: 3px 0; }
  table.chart.panel td .pn { font-size: .58rem; }
  table.chart.panel td b { margin: 0 2px; font-size: .78rem; }
  table.chart tbody th { font-size: .55rem; padding-inline: 2px; }
  table.chart thead th:first-child { padding-inline: 2px; font-size: .58rem; }
  table.chart th:last-child, table.chart td:last-child { border-right: 0; }
}
@media (max-width: 640px) {
  .fit table.chart.panel { table-layout: fixed; }
  .fit table.chart.panel thead th:first-child, .fit table.chart.panel tbody th { width: 34px; }
  table.chart.panel td .pn { font-size: .56rem; letter-spacing: -.02em; }
  table.chart.panel td b { margin: 0 1px; font-size: .76rem; }
}
@media (max-width: 640px) { .tbl-wrap { scrollbar-width: none; } .tbl-wrap::-webkit-scrollbar { display: none; } }
