/* Laxmi Games landing — theme "chudi": stacked glass bangles. Ivory page, glass teal + glass purple rings,
   gold (#c9a227) only for kada rims, thread and decoration; text on light surfaces is ink. */
:root {
  --teal: #17857e; --teal-d: #0f5f59; --teal-l: #e4f3f1; --teal-m: #b9e0dc;
  --purple: #8a4296; --purple-d: #6a2f75; --purple-l: #f5ecf7; --purple-m: #e2c8ea;
  --ink: #1d2a2d; --muted: #566468; --line: #e6e0d0; --bg: #fffbf2; --bg-2: #fff6e2; --red: #c62828;
  --gold: #c9a227; --gold-d: #9c7c12;
  --glass-t: linear-gradient(165deg, #2a9d95 0%, #17857e 38%, #0f5f59 100%);
  --glass-p: linear-gradient(165deg, #a45db1 0%, #8a4296 38%, #6a2f75 100%);
  --r: 18px; --fh: 'Fraunces', Georgia, serif; --fb: 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--fb); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--fh); font-weight: 700; margin: 0; line-height: 1.15; color: var(--ink); }
p { margin: 0; }
a { color: var(--teal-d); }
.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; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 800; border-radius: 999px; padding: 11px 20px; border: 2px solid transparent; cursor: pointer; font-family: var(--fb); font-size: 1rem; min-height: 44px; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-main { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(23, 133, 126, .28); }
.btn-main:hover { background: var(--teal-d); }
.btn-soft { background: #fff; color: var(--purple-d); border-color: var(--purple-m); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.btn-xl { padding: 14px 24px; font-size: 1.05rem; min-height: 52px; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }

/* ---------- header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 251, 242, .94); backdrop-filter: blur(8px); border-bottom: 3px double var(--gold); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--purple); font: 700 1.3rem var(--fh); }
.brand b { font-weight: 700; color: var(--teal); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.nav a:not(.btn):hover { background: var(--teal-l); color: var(--teal-d); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* ---------- hero: the stack */
.hero { background: var(--bg) repeating-radial-gradient(circle at 82% 46%, transparent 0 46px, rgba(201, 162, 39, .16) 46px 48px); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; padding: 52px 0 60px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-d); background: #fff; border: 1px solid var(--gold); padding: 6px 12px; border-radius: 999px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(23, 133, 126, .5); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(23, 133, 126, 0); } 100% { box-shadow: 0 0 0 0 rgba(23, 133, 126, 0); } }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); margin: 18px 0 14px; }
.hero h1 em { font-style: normal; color: var(--purple); }
.hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.meta { font-size: .9rem; color: var(--muted); }
.ios-note { margin-top: 12px; background: var(--purple-l); border: 1px solid var(--purple-m); color: var(--purple-d); border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.hero-stack { width: min(380px, 100%); margin-inline: auto; padding: 0 6px; }
.tally { text-align: center; margin-top: 18px; font-weight: 700; color: var(--muted); }
.tally b { font: 700 1.5rem var(--fh); color: var(--purple-d); }

/* ---------- the ring (one market = one bangle) */
.stack { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ring { --glass: var(--glass-t); --rim: rgba(255, 255, 255, .5); position: relative; height: 140px; margin-top: -30px; padding-bottom: 18px; display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 4px; padding-inline: 24px; color: #fff; border-radius: 46% / 50%; border: 4px solid var(--rim); background: var(--glass); isolation: isolate;
  box-shadow: inset 0 12px 14px -4px rgba(255, 255, 255, .32), inset 0 -16px 20px -4px rgba(0, 0, 0, .28), 0 12px 14px -8px rgba(15, 63, 59, .55); }
.stack > .ring:first-child { margin-top: 0; }
.ring.tone-p { --glass: var(--glass-p); }
.ring::before { content: ""; position: absolute; left: 9%; top: 6%; width: 36%; height: 15%; border-radius: 50%; background: linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, 0)); transform: rotate(-5deg); pointer-events: none; z-index: -1; }
.ring::after { content: ""; position: absolute; inset: 10px; border-radius: 46% / 50%; border: 2px solid rgba(0, 0, 0, .2); box-shadow: 0 0 0 2px rgba(255, 255, 255, .22); pointer-events: none; z-index: -1; }
.ring.kada { --rim: var(--gold); border-width: 5px; }
.ring.kada::after { border-color: rgba(60, 40, 0, .35); box-shadow: 0 0 0 2px rgba(255, 236, 160, .45); }
.face { grid-column: 2; text-align: center; display: grid; gap: 1px; justify-items: center; min-width: 0; }
.hring .face, .ring .face:only-child { grid-column: 1 / -1; }
.nm { font: 800 .9rem/1.15 var(--fb); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; letter-spacing: .01em; }
h4.nm { font-family: var(--fb); }
.res { display: inline-flex; align-items: center; justify-content: center; gap: 5px; margin: 2px 0; }
.pn { font: 700 1.05rem var(--fh); letter-spacing: .04em; }
.jd { font: 700 1.3rem var(--fh); background: var(--bg); color: var(--purple-d); padding: 0 9px; border-radius: 999px; line-height: 1.3; box-shadow: inset 0 0 0 2px rgba(201, 162, 39, .6); }
.jd.red { color: var(--red); }
.tm { font-size: .7rem; font-weight: 700; opacity: .95; white-space: nowrap; }
.state { font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.charm { position: relative; z-index: 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; background: var(--bg); color: var(--ink); border: 3px solid var(--gold); font: 800 .68rem var(--fb); box-shadow: 0 3px 6px rgba(0, 0, 0, .3), inset 0 -4px 6px rgba(201, 162, 39, .25); }
.charm:hover { background: #fff; }
.charm.cj { grid-column: 1; grid-row: 1; } .charm.cp { grid-column: 3; grid-row: 1; }
.ring > .face { grid-row: 1; }
/* clear glass: waiting */
.ring[data-state="waiting"] { --rim: rgba(23, 133, 126, .55); color: var(--ink); background: linear-gradient(165deg, rgba(255, 255, 255, .95), rgba(228, 243, 241, .7)); box-shadow: inset 0 10px 12px -6px rgba(255, 255, 255, .9), inset 0 -12px 16px -8px rgba(23, 133, 126, .3), 0 10px 12px -8px rgba(15, 63, 59, .3); }
.ring.tone-p[data-state="waiting"] { --rim: rgba(138, 66, 150, .5); background: linear-gradient(165deg, rgba(255, 255, 255, .95), rgba(245, 236, 247, .75)); }
.ring[data-state="waiting"].kada { --rim: var(--gold); }
.ring[data-state="waiting"]::after { border-color: rgba(23, 133, 126, .25); box-shadow: none; }
.ring[data-state="waiting"] .jd { background: #fff; color: var(--muted); box-shadow: inset 0 0 0 2px var(--teal-m); }
.ring[data-state="holiday"] { --rim: #b9c2c4; color: var(--muted); background: linear-gradient(165deg, #f4f5f5, #e3e7e8); box-shadow: inset 0 -12px 16px -8px rgba(0, 0, 0, .12), 0 8px 10px -8px rgba(0, 0, 0, .25); }
.ring[data-state="holiday"] .jd { background: #fff; color: var(--muted); box-shadow: none; }
.ring[data-state="holiday"]::after { border-color: rgba(0, 0, 0, .1); box-shadow: none; }
.flash .res { animation: pop .9s; }
@keyframes pop { 30% { transform: scale(1.14); } }

/* hero rings: bigger text, hand-stacked, drop in once */
.hring { height: 108px; margin-top: -34px; padding-bottom: 0; grid-template-columns: minmax(0, 1fr); padding-inline: 34px; animation: drop .7s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(var(--k) * 110ms); }
.hring:nth-child(3n+1) { transform: translateX(-12px) rotate(-1.2deg); }
.hring:nth-child(3n+2) { transform: translateX(10px) rotate(.8deg); }
.hring:nth-child(3n) { transform: translateX(-3px) rotate(-.4deg); }
.hring .nm { font-size: .88rem; }
.hring .pn { font-size: 1.15rem; } .hring .jd { font-size: 1.45rem; }
@keyframes drop { from { opacity: 0; translate: 0 -34px; } to { opacity: 1; translate: 0 0; } }

/* ---------- sections */
.sec { padding: 54px 0 8px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.eyebrow { font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); margin-bottom: 4px; }
.sec h2, .beads-sec h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.updated { font-size: .9rem; color: var(--muted); font-weight: 600; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; color: var(--teal-d); background: #fff; border: 2px solid var(--gold); padding: 8px 14px; border-radius: 999px; min-height: 44px; }
.more-row { display: flex; gap: 8px; flex-wrap: wrap; }
.next-up { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; background: var(--teal-l); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filter button { font: 800 .9rem var(--fb); min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--teal-m); background: #fff; color: var(--teal-d); cursor: pointer; }
.filter button.on { background: var(--purple); border-color: var(--purple); color: #fff; }
.stacks { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 34px 30px; align-items: start; }
.session-h { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; margin-bottom: 16px; flex-wrap: wrap; }
.session-h small { font: 700 .8rem var(--fb); color: var(--muted); margin-left: auto; }
.rim { width: 24px; height: 24px; border-radius: 50%; border: 5px solid var(--gold); box-shadow: inset 0 0 0 1.5px rgba(120, 90, 0, .35), 0 2px 3px rgba(0, 0, 0, .2); flex: none; }
.session[hidden], .ring[hidden] { display: none; }

/* Starline: a string of glass beads */
.beads-sec { margin-top: 56px; padding: 48px 0 52px; background: var(--teal-l); border-block: 3px double var(--gold); }
.beads { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px 0; }
.bead { position: relative; padding: 3px 0; }
.bead::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, var(--gold-d) 6px 8px); }
.bd { position: relative; z-index: 1; width: 86px; height: 86px; margin: 0 auto; border-radius: 50%; display: grid; align-content: center; justify-items: center; gap: 0; color: #fff; background: var(--glass-t); border: 3px solid rgba(255, 255, 255, .55); box-shadow: inset 0 8px 10px -4px rgba(255, 255, 255, .4), inset 0 -10px 14px -4px rgba(0, 0, 0, .3), 0 8px 10px -6px rgba(15, 63, 59, .55); }
.bead:nth-child(even) .bd { background: var(--glass-p); }
.bd::before { content: ""; position: absolute; left: 16%; top: 8%; width: 36%; height: 20%; border-radius: 50%; background: linear-gradient(rgba(255, 255, 255, .65), transparent); transform: rotate(-24deg); }
.bd i { font: 700 .7rem var(--fb); font-style: normal; white-space: nowrap; position: relative; }
.bd b { font: 700 1.1rem var(--fh); letter-spacing: .02em; position: relative; }
.bead:not(.has) .bd { background: #fff; color: var(--ink); border-color: var(--teal); }
.bead:not(.has) .bd b { color: var(--muted); }

/* Jackpot: finger rings, a two-digit stone on a gold band */
.fingers { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 20px 10px; }
.finger { position: relative; width: 88px; height: 116px; margin-inline: auto; }
.finger .band { position: absolute; left: 6px; bottom: 0; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: end center; padding-bottom: 12px; border: 9px solid var(--gold); background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .5), transparent 40%); box-shadow: inset 0 0 0 2px rgba(120, 90, 0, .4), 0 8px 10px -6px rgba(0, 0, 0, .4); }
.finger .band i { font: 800 .64rem var(--fb); font-style: normal; color: var(--ink); white-space: nowrap; }
.finger::before { content: ""; position: absolute; left: 50%; top: 0; width: 60px; height: 56px; margin-left: -30px; background: var(--gold-d); clip-path: polygon(24% 0, 76% 0, 100% 38%, 50% 100%, 0 38%); z-index: 1; }
.finger .stone { position: absolute; left: 50%; top: 3px; width: 54px; height: 49px; margin-left: -27px; z-index: 2; display: grid; place-items: center; padding-bottom: 6px; clip-path: polygon(24% 0, 76% 0, 100% 38%, 50% 100%, 0 38%); background: linear-gradient(150deg, #b06dbd, #8a4296 45%, #6a2f75); color: #fff; }
.finger .stone b { font: 700 1.15rem var(--fh); }
.finger:not(.has) .stone { background: linear-gradient(150deg, #fff, var(--purple-m)); color: var(--muted); }

/* ---------- install */
.install { margin-top: 60px; background: var(--teal-d); color: #fff; padding: 56px 0; border-block: 3px double var(--gold); }
.install-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.install .eyebrow { color: #f0d675; }
.install h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 18px; }
.steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: center; }
.steps b { font: 700 1.15rem var(--fh); }
.steps p { color: #d6ecea; font-size: .95rem; }
.no { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font: 700 1.4rem var(--fh); color: var(--ink); background: radial-gradient(circle at 35% 30%, #fff, #e4f3f1 70%); border: 6px solid var(--gold); box-shadow: inset 0 0 0 2px rgba(120, 90, 0, .35), 0 4px 8px rgba(0, 0, 0, .3); }
.install .meta { color: #cfe7e4; margin-top: 12px; }
.qr-card { background: #fff; color: var(--ink); border: 5px solid var(--gold); border-radius: 26px; padding: 20px; text-align: center; max-width: 280px; margin-inline: auto; }
.qr { width: 180px; height: 180px; margin: 0 auto 12px; display: grid; place-items: center; }
.qr svg { width: 100%; height: 100%; }
.qr-card p { font-size: .9rem; color: var(--muted); }
@media (max-width: 820px) { .install-in { grid-template-columns: 1fr; } }

/* ---------- why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px; text-align: center; }
.disc { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--glass-t); border: 5px solid var(--gold); box-shadow: inset 0 6px 8px -3px rgba(255, 255, 255, .4), inset 0 -8px 10px -4px rgba(0, 0, 0, .3); }
.why > div:nth-child(even) .disc { background: var(--glass-p); }
.disc .ic { width: 26px; height: 26px; }
.why h3 { font-size: 1.15rem; margin-bottom: 6px; }
.why p { color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .why { grid-template-columns: 1fr; } }

/* ---------- chart list */
.chart-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.chart-list li { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 6px 4px 18px; }
.chart-list span { flex: 1; font-weight: 700; min-width: 0; }
.chart-list a { text-decoration: none; font-weight: 800; font-size: .82rem; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--teal-l); color: var(--teal-d); }
.chart-list a + a { background: var(--purple-l); color: var(--purple-d); }

/* ---------- faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 22px; padding: 6px 20px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--purple); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 12px; color: var(--muted); }
.faq-sec { padding-bottom: 60px; }

/* ---------- footer + dock */
.foot { background: var(--teal-d); color: #e3f2f0; padding: 40px 0 110px; }
.foot .brand { color: #fff; }
.foot .brand b { color: var(--teal-m); }
.foot .brand img { background: #fff; border-radius: 50%; padding: 3px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; }
.foot-grid p { margin-top: 10px; color: #c9e6e2; }
.foot-h { font: 800 .85rem var(--fb); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.foot-links { list-style: none; margin: 0; padding: 0; columns: 2; }
.foot-links a { color: #e3f2f0; text-decoration: none; line-height: 2.2; }
.fine { margin-top: 26px; font-size: .82rem; color: #a9d3ce; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 16px; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }
.dock { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 40; width: min(460px, calc(100% - 24px)); display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 10px; border-radius: 999px; background: #fff; border: 3px solid var(--gold); color: var(--ink); text-decoration: none; box-shadow: 0 12px 30px rgba(15, 95, 89, .3); }
.dock img { border-radius: 50%; }
.dock .dk { flex: 1; line-height: 1.2; min-width: 0; }
.dock small { display: block; color: var(--muted); font-size: .78rem; }

/* ---------- small phones */
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; gap: 30px; padding: 36px 0 44px; } .hero { background-position: 50% 78%; } }
@media (max-width: 380px) { .ring { padding-inline: 20px; } .nm { font-size: .84rem; } }

/* ---------- shared chart pages (page_market / page_slots / page_404) */
.chart-page .page { padding: 28px 0 30px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--teal-d); text-decoration: none; font-weight: 700; }
.page h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); color: var(--purple-d); }
.page .lead { margin: 12px 0 18px; color: var(--muted); max-width: 52em; }
.today-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--teal-l); border: 1.5px solid var(--teal-m); border-radius: var(--r); padding: 12px 16px; margin: 0 0 16px; }
.today-strip span { font-weight: 800; color: var(--teal-d); }
.today-strip b { font: 1.6rem var(--fh); letter-spacing: .05em; flex: 1; color: var(--purple-d);  white-space: nowrap; }
.today-strip .btn { background: var(--teal); color: #fff; }
.tabs { display: flex; gap: 8px; margin: 0 0 12px; }
.tabs a { text-decoration: none; font-weight: 800; padding: 9px 18px; border-radius: 999px; color: var(--teal-d); background: var(--teal-l); }
.tabs a[aria-selected="true"] { background: var(--purple); color: #fff; }
.jump { margin: 0 0 8px; font-size: .9rem; font-weight: 700; }
.tbl-wrap { overflow: auto; max-height: 72vh; border-radius: 14px; border: 1.5px solid var(--teal-m); background: #fff; }
table.chart { border-collapse: collapse; width: 100%; color: var(--ink); font-variant-numeric: tabular-nums; }
table.chart th, table.chart td { border: 1px solid var(--line); padding: 7px 6px; text-align: center; }
table.chart thead th { position: sticky; top: 0; background: var(--teal); color: #fff; font-weight: 800; z-index: 1; }
table.chart tbody th { background: var(--bg-2); font-size: .78rem; font-weight: 700; white-space: nowrap; text-align: left; }
table.chart tbody th small { display: block; color: var(--muted); font-weight: 600; }
table.chart.jodi td { font: 1.2rem var(--fh); color: var(--purple-d); }
table.chart.panel td { font-size: .82rem; line-height: 1.15; }
table.chart.panel td b { display: block; font: 1.08rem var(--fh); margin: 2px 0; color: var(--purple-d); }
table.chart .pn { display: block; font-weight: 600; color: var(--muted); }
table.chart td.red, table.chart td.red b { color: var(--red); }
table.chart td.today { background: #fff7cc; outline: 2px solid var(--purple); outline-offset: -2px; }
table.chart td.pend { color: #a7b2b5; }
table.chart td.na, table.chart .na { color: #c3cbcd; }
table.chart.slotchart td { font-weight: 700; white-space: nowrap; font-size: .88rem; }
.fit table.chart.panel { min-width: 640px; }
.empty { padding: 20px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { text-decoration: none; color: var(--teal-d); background: #fff; border: 1.5px solid var(--teal-m); padding: 7px 12px; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.chip:hover { background: var(--teal-l); }
.page .sec { padding-top: 30px; }
.page .sec h2, .beads-sec h2 { font-size: 1.5rem; margin-bottom: 12px; }
table.chart thead th:first-child, table.chart tbody th { width: 1%; padding-inline: 10px; }
@media (max-width: 560px) {
  .page h1 { font-size: 1.8rem; }
  table.chart.jodi td { font-size: 1.02rem; padding: 6px 3px; }
  table.chart th, table.chart td { padding: 6px 3px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* chart fixes (20 Oct): Panel cells in the traditional layout - open panna | jodi | close panna side by
   side, each panna's digits stacked - so a week fits a phone; the first column (week / date) stays put
   while the table scrolls sideways. */
table.chart.panel td { padding: 5px 3px; }
table.chart .pc { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
table.chart.panel td .pc b { display: inline; margin: 0; }
table.chart.panel .pn { font-size: .68rem; line-height: 1.1; }
.fit table.chart.panel { min-width: 0; }
table.chart tbody th { position: sticky; left: 0; z-index: 1; }
table.chart thead th:first-child { left: 0; z-index: 3; }
/* phones: the whole week of a Panel chart fits the screen (no sideways scroll down to 360px wide):
   edge-to-edge table, fixed columns, week label = its start date only, compact panna digits. */
@media (max-width: 560px) {
  .chart-page .tbl-wrap.fit { margin-inline: -16px; border-radius: 0; border-left: 0; border-right: 0; max-height: 70vh; }
  .fit table.chart.panel { table-layout: fixed; width: 100%; }
  .fit table.chart.panel thead th { font-size: .66rem; padding: 6px 0; letter-spacing: 0; }
  .fit table.chart.panel thead th:first-child, .fit table.chart.panel tbody th { width: 46px; padding: 4px 2px 4px 5px; }
  .fit table.chart.panel tbody th { font-size: .6rem; line-height: 1.15; white-space: normal; }
  .fit table.chart.panel tbody th small { display: none; }
  table.chart.panel td { padding: 4px 0; }
  table.chart .pc { gap: 1px; }
  table.chart.panel .pn { font-size: .6rem; line-height: 1.12; font-weight: 700; }
  table.chart.panel td .pc b { font-size: .92rem; letter-spacing: -.02em; }
}
@media (max-width: 380px) { table.chart.panel td .pc b { font-size: .84rem; } table.chart.panel .pn { font-size: .52rem; } }
