/* Shree 777 landing — theme "jhalak" v3: results as stories, on a lively amber stage. Light only, FLAT colours
   only (no gradients anywhere: patterns are SVG shapes, depth is layered solid shapes + shadows). Text on
   amber / accent is always ink #3A2A00; deep gold #906716 only on white / cream. Motion uses transform and
   opacity; prefers-reduced-motion (base.css) stops every animation and the page is complete without it. */
:root {
  --ink: #2a2210; --muted: #5f5440; --line: #ece3cf; --soft: #fff4dc; --head: #ffffff; --accent: #906716; --today: #fff0c7;
  --fb: "Poppins", "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif; --fm: "Poppins", ui-monospace, monospace;
  --red: #b3261e; --shadow: 0 10px 28px rgba(58, 42, 0, .12); --ease: cubic-bezier(.2, .8, .2, 1);
  --dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='3' cy='3' r='1.7' fill='%23e3d8bd'/%3E%3C/svg%3E");
  --dots-amber: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='3' cy='3' r='2' fill='%23E39B12'/%3E%3C/svg%3E");
  --digits: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' font-family='Arial' font-weight='700' font-size='30' fill='%23F7B12B'%3E%3Ctext x='8' y='34'%3E7%3C/text%3E%3Ctext x='70' y='56'%3E3%3C/text%3E%3Ctext x='30' y='100'%3E9%3C/text%3E%3Ctext x='92' y='112'%3E1%3C/text%3E%3C/svg%3E");
}
body { background: var(--page); color: var(--ink); font: 400 16px/1.6 var(--fb); padding-bottom: 96px; }
a { color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font: 700 1rem var(--fb); border-radius: 999px; padding: 13px 24px; border: 0; cursor: pointer; text-align: center; transition: transform .2s var(--ease), background .2s; }
.btn:active { transform: scale(.96); }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn.big { padding: 16px 30px; font-size: 1.08rem; }
.jh-btn-ink { background: var(--on-amber); color: #fff; box-shadow: 0 8px 20px rgba(58, 42, 0, .28); }
.jh-btn-ink:hover { background: #57410a; }
.jh-btn-white { background: #fff; color: var(--on-amber); box-shadow: 0 8px 20px rgba(58, 42, 0, .14); }
.jh-btn-white:hover { background: var(--soft); }
.jh-btn-amber { background: var(--amber); color: var(--on-amber); }
.jh-btn-soft { background: var(--soft); color: var(--on-amber); box-shadow: inset 0 0 0 1.5px var(--amber-dk); }

/* LIVE indicator */
.jh-live { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--red); font: 800 .72rem/1 var(--fb); letter-spacing: .14em; border-radius: 999px; padding: 5px 10px 5px 8px; flex: none; }
.jh-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.jh-live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red); animation: jhping 1.6s var(--ease) infinite; }
.jh-live.sm { font-size: .62rem; padding: 4px 8px 4px 6px; vertical-align: middle; }
@keyframes jhping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

/* header */
.jh-bar { background: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 var(--line); }
.jh-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.jh-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--on-amber); }
.jh-brand span { font: 400 1.4rem/1 var(--fw); }
.jh-nav { display: flex; align-items: center; gap: 2px; }
.jh-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: 7px 12px; border-radius: 999px; font-size: .95rem; }
.jh-nav a:not(.btn):hover { background: var(--soft); }
@media (max-width: 760px) { .jh-nav a:not(.btn) { display: none; } }

/* ticker */
.jh-tick { display: flex; align-items: center; gap: 10px; background: var(--amber-dk); color: var(--on-amber); padding: 0 0 0 max(12px, calc((100% - 1140px) / 2)); overflow: hidden; }
.jh-tick-in { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.jh-tick-in::-webkit-scrollbar { display: none; }
.js .jh-tick.run .jh-tick-in { overflow: hidden; }
.jh-tick-track { list-style: none; display: flex; width: max-content; padding: 9px 0; }
.jh-tick-track li { display: flex; gap: 8px; align-items: baseline; white-space: nowrap; padding: 0 16px; font-size: .88rem; font-weight: 600; }
.jh-tick-track li::after { content: "◆"; font-size: .5rem; margin-left: 16px; opacity: .6; }
.jh-tick-track span { font-weight: 800; letter-spacing: .03em; }
.jh-tick.run .jh-tick-track { animation: jhtick var(--dur, 60s) linear infinite; }
.jh-tick.run:hover .jh-tick-track { animation-play-state: paused; }
@keyframes jhtick { to { transform: translateX(-50%); } }

/* ---------- the amber stage ---------- */
.jh-stage { position: relative; overflow: hidden; background: var(--amber); color: var(--on-amber); padding: 34px 0 86px; isolation: isolate; }
.jh-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.jh-pat { position: absolute; top: 0; left: 0; width: calc(100% + 140px); height: calc(100% + 140px); animation: jhdrift 30s linear infinite; }
.jh-pat text { font: 800 40px var(--fb); fill: var(--amber-dk); opacity: .45; }
.jh-pat circle { fill: var(--amber-lt); }
@keyframes jhdrift { to { transform: translate(-140px, -140px); } }
.jh-blob { position: absolute; border-radius: 50%; }
.jh-blob.b1 { width: 560px; height: 560px; right: -200px; top: -240px; background: var(--amber-lt); animation: jhfloat 14s ease-in-out infinite alternate; }
.jh-blob.b2 { width: 300px; height: 300px; left: -110px; bottom: -150px; background: var(--amber-dk); opacity: .4; animation: jhfloat 11s ease-in-out infinite alternate-reverse; }
.jh-blob.b3 { width: 160px; height: 160px; left: 46%; top: 8%; background: #fff; opacity: .22; animation: jhfloat 9s ease-in-out infinite alternate; }
@keyframes jhfloat { to { transform: translate(30px, 24px) scale(1.08); } }
.jh-orbit { position: absolute; width: 460px; height: 460px; right: 4%; top: -40px; animation: jhspin 70s linear infinite; }
.jh-orbit circle { fill: none; stroke: #fff; stroke-width: 1.4; stroke-dasharray: 3 9; opacity: .7; }
@keyframes jhspin { to { transform: rotate(360deg); } }
.jh-pt { position: absolute; left: var(--x); bottom: -60px; font: 800 calc(var(--s) * 1.5rem)/1 var(--fb); color: #fff; opacity: 0; animation: jhrise var(--t) linear infinite; animation-delay: var(--d); }
@keyframes jhrise { 0% { transform: translateY(0) rotate(0); opacity: 0; } 12% { opacity: .55; } 80% { opacity: .35; } 100% { transform: translateY(-640px) rotate(40deg); opacity: 0; } }

.jh-stage-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); grid-template-areas: "brand next" "tray tray"; gap: 26px 30px; align-items: center; }
.jh-brand-b { grid-area: brand; display: flex; gap: 24px; align-items: center; min-width: 0; }
.jh-logo-w { flex: none; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .35), 0 20px 40px rgba(58, 42, 0, .25); }
.jh-logo { width: 116px; height: 116px; }
.jh-hero-c { min-width: 0; }
.jh-kick { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-weight: 700; font-size: .92rem; }
.jh-stage h1 { font-weight: 400; margin-top: 4px; }
.jh-word { display: block; font: 400 clamp(2.8rem, 7.4vw, 4.6rem)/1 var(--fw); text-shadow: 0 3px 0 var(--amber-lt); }
.jh-tag { display: block; font: 800 clamp(1.35rem, 3.4vw, 2.1rem)/1.15 var(--fb); margin-top: 8px; letter-spacing: -.02em; max-width: 17em; }
.jh-slogan { font-weight: 700; margin-top: 8px; }
.jh-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.jh-meta { font-size: .86rem; font-weight: 600; margin-top: 8px; }
.jh-next { grid-area: next; background: #fff; color: var(--ink); border-radius: 28px; padding: 18px 20px 16px; box-shadow: 0 24px 50px rgba(58, 42, 0, .22); min-width: 0; }
.jh-next-k { display: flex; align-items: center; gap: 8px; font: 700 .82rem var(--fb); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.jh-cd { display: flex; align-items: flex-start; gap: 6px; margin: 10px 0 8px; }
.jh-cd span { flex: 1; background: var(--on-amber); border-radius: 16px; padding: 8px 4px 6px; text-align: center; overflow: hidden; }
.jh-cd b { display: block; font: 800 clamp(2rem, 6vw, 2.7rem)/1 var(--fb); color: #fff; font-variant-numeric: tabular-nums; }
.jh-cd b.tick { animation: jhtk .4s var(--ease); }
@keyframes jhtk { from { transform: translateY(-45%); opacity: .2; } }
.jh-cd small { display: block; font: 700 .6rem var(--fb); letter-spacing: .14em; text-transform: uppercase; color: var(--amber-lt); margin-top: 4px; }
.jh-cd i { font: 800 2rem/1.6 var(--fb); color: var(--on-amber); font-style: normal; }
.jh-cd.due span { background: var(--red); }
.jh-next-n { font-weight: 700; font-size: 1rem; line-height: 1.35; }

/* story tray (an app home) */
.jh-tray { grid-area: tray; background: #fff; color: var(--ink); border-radius: 28px; padding: 14px 18px 8px; box-shadow: 0 18px 40px rgba(58, 42, 0, .18); min-width: 0; }
.jh-tray-h { display: flex; justify-content: space-between; align-items: baseline; font-size: .92rem; }
.jh-tray-h b { font-weight: 800; font-size: 1.05rem; }
.jh-tray-h span { color: var(--muted); font-size: .82rem; }
.jh-rings { list-style: none; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 12px 4px 12px; scrollbar-width: none; }
.jh-rings::-webkit-scrollbar { display: none; }
.jh-ring { flex: none; scroll-snap-align: start; width: 90px; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); text-align: center; -webkit-tap-highlight-color: transparent; }
.jh-rc { position: relative; display: grid; place-items: center; width: 84px; height: 84px; transition: transform .25s var(--ease); }
.jh-rc::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--amber); opacity: 0; }
.jh-ring:not(.seen) .jh-rc::before { animation: jhhalo 2.4s var(--ease) infinite; }
@keyframes jhhalo { 0% { transform: scale(.9); opacity: .55; } 100% { transform: scale(1.28); opacity: 0; } }
.jh-ring:hover .jh-rc, .jh-ring:focus-visible .jh-rc { transform: scale(1.07); }
.jh-ring:active .jh-rc { transform: scale(.94); }
.jh-rs { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.jh-rs circle { fill: none; }
.jh-rs .t { stroke: #efe7d4; stroke-width: 5; }
.jh-rs .p { stroke: var(--amber-dk); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--off, 0); transition: stroke-dashoffset 1s var(--ease), stroke .3s; }
.js .jh-rs .p { animation: jhdraw 1.3s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + .4s); }
@keyframes jhdraw { from { stroke-dashoffset: 100; } }
.jh-ring[data-state="open"] .jh-rs .p { stroke: var(--on-amber); }
.jh-ring.seen .jh-rs .p { stroke: #d6ccb4; }
.jh-ring.w .jh-rs .p { stroke: var(--on-amber); stroke-dasharray: 100; }
.jh-av { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--soft); color: var(--on-amber); font: 800 1.15rem var(--fb); }
.jh-av .ic { width: 28px; height: 28px; }
.jh-ring.s .jh-av { background: var(--amber); }
.jh-ring.k .jh-av { background: var(--on-amber); color: #fff; }
.jh-ring.w .jh-av { background: #fff; color: var(--muted); }
.jh-ring.fresh .jh-rc { animation: jhboing .9s var(--ease) 2; }
@keyframes jhboing { 40% { transform: scale(1.16); } }
.jh-rn { font-size: .78rem; font-weight: 700; line-height: 1.2; margin-top: 6px; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jh-rr { font-size: .72rem; font-weight: 600; color: var(--muted); white-space: nowrap; letter-spacing: .02em; }

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .js .jh-stage .e1 { animation: jhpop .9s var(--ease) both; }
  .js .jh-stage .e2, .js .jh-stage .e3, .js .jh-stage .e4, .js .jh-stage .e5, .js .jh-stage .e6 { animation: jhup .7s var(--ease) both; }
  .js .jh-stage .e2 { animation-delay: .15s; } .js .jh-stage .e3 { animation-delay: .25s; } .js .jh-stage .e4 { animation-delay: .38s; }
  .js .jh-stage .e5 { animation-delay: .5s; } .js .jh-stage .e6 { animation-delay: .6s; }
}
@keyframes jhpop { from { transform: scale(.4) rotate(-20deg); opacity: 0; } 70% { transform: scale(1.06) rotate(3deg); } }
@keyframes jhup { from { transform: translateY(22px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .jh-pt, .jh-orbit { display: none; } }

/* glance strip */
.jh-glance { position: relative; z-index: 3; margin-top: -54px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.jh-gl { background: #fff; border-radius: 22px; padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; min-width: 0; transition: transform .25s var(--ease), opacity .6s, box-shadow .25s; }
.jh-gl:hover { transform: translateY(-3px); }
.jh-gl-k { font: 700 .7rem var(--fb); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.jh-gl b { font: 800 1.9rem/1.1 var(--fb); color: var(--on-amber); font-variant-numeric: tabular-nums; }
.jh-gl b small { font-size: .9rem; color: var(--muted); font-weight: 700; }
.jh-gl .jh-gl-n { font-size: 1.15rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jh-gl .jh-gl-r { font-size: 1.4rem; letter-spacing: .02em; white-space: nowrap; }
.jh-gl-s { font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jh-gbar { display: block; height: 8px; border-radius: 4px; background: var(--soft); overflow: hidden; margin-top: 6px; }
.jh-gbar i { display: block; height: 100%; background: var(--amber-dk); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform 1.2s var(--ease); }
.js .jh-gl:not(.in) .jh-gbar i { transform: scaleX(0); }
@media (max-width: 860px) { .jh-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* bands + section heads */
.jh-band { padding: 56px 0; margin-top: 44px; }
.jh-band.dots { background: var(--page) var(--dots); }
.jh-band.accent { background: var(--amber-lt) var(--digits); }
.jh-band.cream { background: var(--soft); margin-top: 0; }
.jh-band.amber { background: var(--amber) var(--dots-amber); color: var(--on-amber); margin-top: 0; }
.jh-sec { padding-top: 56px; }
.jh-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 4px 14px; margin-bottom: 16px; }
.jh-head h2 { font: 800 clamp(1.7rem, 4.6vw, 2.5rem)/1.1 var(--fb); color: var(--on-amber); letter-spacing: -.02em; }
.jh-head h2 [lang] { display: block; font: 700 1rem "Poppins", "Mukta", sans-serif; color: var(--accent); letter-spacing: 0; }
.jh-band.accent .jh-head h2 [lang], .jh-band.amber h2 [lang] { color: var(--on-amber); }
.jh-head p { color: var(--muted); font-size: .92rem; border-radius: 8px; padding: 0 6px; display: flex; align-items: center; gap: 10px; }
.jh-band.accent .jh-head p, .jh-band.accent .jh-head a { color: var(--on-amber); }

/* state filter */
.jh-filter { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 14px; }
.jh-filter::-webkit-scrollbar { display: none; }
.jh-filter button { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 999px; padding: 8px 14px; font: 700 .88rem var(--fb); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.jh-filter button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sc, var(--on-amber)); }
.jh-filter button b { font-size: .76rem; background: var(--soft); border-radius: 999px; padding: 0 8px; color: var(--accent); }
.jh-filter button[aria-pressed="true"] { background: var(--on-amber); color: #fff; box-shadow: none; }
.jh-filter button[aria-pressed="true"] b { background: var(--amber); color: var(--on-amber); }
.jh-filter button:active { transform: scale(.95); }
.st-closed { --sc: var(--amber-dk); } .st-open { --sc: var(--on-amber); } .st-waiting { --sc: #d6ccb4; } .st-holiday { --sc: #e07a6e; }

/* market cards (flip) */
.jh-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr)); gap: 14px; }
.jh-card { perspective: 1100px; transition: opacity .6s, transform .6s var(--ease); transition-delay: calc(var(--k) * 60ms); }
.jh-card-in { position: relative; border-radius: 24px; }
.jh-face { background: #fff; border-radius: 24px; padding: 14px 16px 12px; box-shadow: 0 6px 18px rgba(58, 42, 0, .07); border-top: 6px solid var(--sc, var(--amber-dk)); }
.jh-card[data-state="closed"] { --sc: var(--amber-dk); } .jh-card[data-state="open"] { --sc: var(--on-amber); }
.jh-card[data-state="waiting"] { --sc: #d6ccb4; } .jh-card[data-state="holiday"] { --sc: #e07a6e; }
.jh-front { position: relative; transition: transform .25s var(--ease), box-shadow .25s; }
.jh-card:hover .jh-front { box-shadow: 0 0 0 3px var(--amber), 0 16px 30px rgba(58, 42, 0, .14); }
.jh-card-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.jh-av.sm { width: 42px; height: 42px; font-size: .85rem; background: var(--soft); box-shadow: inset 0 0 0 2px var(--sc, var(--amber)); }
.jh-av.xs { width: 34px; height: 34px; font-size: .74rem; flex: none; }
.jh-chip { font: 700 .7rem var(--fb); letter-spacing: .04em; border-radius: 999px; padding: 4px 10px; white-space: nowrap; background: var(--amber); color: var(--on-amber); }
.jh-card[data-state="open"] .jh-chip { background: var(--on-amber); color: #fff; }
.jh-card[data-state="waiting"] .jh-chip { background: var(--soft); color: var(--accent); }
.jh-card[data-state="holiday"] .jh-chip { background: #fdecea; color: #8f1d12; }
.jh-card h3 { font-size: 1.05rem; line-height: 1.25; margin-top: 10px; }
.jh-card h3 a { color: var(--ink); text-decoration: none; }
.jh-res { font: 800 1.65rem/1.2 var(--fm); letter-spacing: .02em; margin: 4px 0 0; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--on-amber); }
.jh-card[data-state="waiting"] .jh-res, .jh-card[data-state="holiday"] .jh-res { color: #b3a682; }
.jh-tm { font-size: .8rem; color: var(--muted); }
.jh-card-a { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.jh-mini-b { display: inline-flex; align-items: center; gap: 4px; border: 0; background: var(--soft); color: var(--on-amber); border-radius: 999px; padding: 6px 12px; font: 700 .78rem var(--fb); cursor: pointer; text-decoration: none; transition: background .2s, transform .15s; }
.jh-mini-b .ic { width: 14px; height: 14px; }
.jh-mini-b:hover { background: var(--amber); }
.jh-mini-b:active { transform: scale(.94); }
.jh-mini-b:disabled { opacity: .5; cursor: default; }
.jh-back { background: var(--soft); }
.jh-back-h { font-size: .84rem; color: var(--muted); }
.jh-back-h b { color: var(--ink); }
.jh-l7 { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.jh-l7 li { min-width: 36px; text-align: center; background: #fff; border-radius: 10px; padding: 4px 4px; font: 800 .95rem var(--fm); box-shadow: 0 2px 0 var(--line); }
.jh-l7 li.red { color: var(--red); }
.jh-card.hit .jh-front { box-shadow: 0 0 0 4px var(--amber-dk), 0 16px 30px rgba(58, 42, 0, .18); }
/* flip (JS only: without JS the back simply sits under the front) */
.js .jh-card-in { display: grid; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.3, 1.25, .45, 1); }
.js .jh-face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.js .jh-back { transform: rotateY(180deg); }
.js .jh-card.flipped .jh-card-in { transform: rotateY(180deg); }
.js .jh-card.flipped .jh-l7 li { animation: jhpopin .4s var(--ease) both; animation-delay: calc(var(--j, 0) * 50ms + .3s); }
@keyframes jhpopin { from { transform: scale(.4); opacity: 0; } }
html:not(.js) .jh-back { margin-top: 6px; border-top-style: dashed; }
.jh-cards li[hidden] { display: none !important; }

/* mini jodi chart */
.jh-mc { background: #fff; border-radius: 28px; padding: 16px; box-shadow: var(--shadow); }
.jh-mc-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.jh-mc-chips::-webkit-scrollbar { display: none; }
.jh-mc-chips button { flex: none; border: 0; background: var(--soft); border-radius: 999px; padding: 7px 14px; font: 700 .86rem var(--fb); color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.jh-mc-chips button[aria-selected="true"] { background: var(--on-amber); color: #fff; }
.jh-mc-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 12px 0 8px; font-size: .9rem; color: var(--muted); }
.jh-mc-h b { color: var(--ink); font-size: 1.1rem; }
.jh-mc-h a { margin-left: auto; display: inline-flex; gap: 4px; align-items: center; font-weight: 700; text-decoration: none; }
.jh-mc-g { width: 100%; border-collapse: separate; border-spacing: 6px; table-layout: fixed; }
.jh-mc-g th { font: 700 .72rem var(--fb); color: var(--muted); }
.jh-mc-g td { text-align: center; padding: 0; }
.jh-mc-g td span { display: grid; place-items: center; aspect-ratio: 1; max-width: 56px; margin: 0 auto; border-radius: 50%; background: var(--soft); font: 800 1.05rem var(--fm); color: var(--on-amber); cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.jh-mc-g td.red span { color: var(--red); }
.jh-mc-g td.fut span { background: transparent; border: 1.5px dashed var(--line); cursor: default; }
.jh-mc-g td.today span { background: var(--amber); }
.jh-mc-g td.sel span { background: var(--on-amber); color: #fff; transform: scale(1.12); }
.jh-mc-g td.same span { box-shadow: 0 0 0 3px var(--amber-dk); }
.jh-mc-g td span:hover { transform: scale(1.1); }
.jh-mc-g.pop td span { animation: jhpopin .45s var(--ease) both; animation-delay: calc(var(--i) * 35ms + var(--r, 0) * 45ms); }
.jh-mc-g tr:nth-child(2) td { --r: 1; } .jh-mc-g tr:nth-child(3) td { --r: 2; } .jh-mc-g tr:nth-child(4) td { --r: 3; } .jh-mc-g tr:nth-child(5) td { --r: 4; } .jh-mc-g tr:nth-child(6) td { --r: 5; }

/* starline / jackpot story cards with ring progress */
.jh-arrows { display: inline-flex; gap: 6px; }
.jh-arrows button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 0; background: #fff; cursor: pointer; color: var(--on-amber); box-shadow: 0 4px 12px rgba(58, 42, 0, .12); }
.jh-slots { list-style: none; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 16px; scrollbar-width: none; }
.jh-slots::-webkit-scrollbar { display: none; }
.jh-slot { flex: none; scroll-snap-align: start; width: 124px; background: #fff; border-radius: 26px; padding: 16px 10px 14px; text-align: center; box-shadow: 0 8px 20px rgba(58, 42, 0, .1); display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.jh-slot:hover { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--on-amber), 0 14px 26px rgba(58, 42, 0, .16); }
.jh-sring { position: relative; width: 64px; height: 64px; display: grid; place-items: center; }
.jh-sring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.jh-sring circle { fill: none; }
.jh-sring .t { stroke: #efe7d4; stroke-width: 5; }
.jh-sring .p { stroke: #d6ccb4; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--off, 100); transition: stroke-dashoffset 1s var(--ease); }
.jh-slot.has .jh-sring .p { stroke: var(--on-amber); --off: 0; }
.jh-slot.next .jh-sring .p { stroke: var(--amber-dk); }
.jh-sring em { font: 700 .74rem var(--fb); font-style: normal; color: var(--muted); }
.jh-slot b { font: 800 1.3rem var(--fm); color: #b3a682; margin-top: 4px; }
.jh-slot.has b { color: var(--on-amber); }
.jh-slot.red b { color: var(--red); }
.jh-slot small { font-size: .72rem; font-weight: 600; color: var(--muted); }
.jh-slot.next { box-shadow: 0 0 0 3px var(--amber-dk), 0 8px 20px rgba(58, 42, 0, .1); }
.jh-slot.next small { color: var(--accent); font-weight: 800; font-variant-numeric: tabular-nums; }

/* app section with the phone */
.jh-app { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: center; }
.jh-phone { justify-self: center; width: 270px; height: 540px; border-radius: 44px; background: var(--on-amber); padding: 10px; box-shadow: 0 30px 60px rgba(58, 42, 0, .35), 0 0 0 6px rgba(255, 255, 255, .3); transition: opacity .6s, transform .6s var(--ease); }
.jh-ph-scr { height: 100%; border-radius: 34px; background: var(--ph, var(--amber-lt)); padding: 16px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; transition: background .4s; }
.jh-ph-bars { display: flex; gap: 4px; }
.jh-ph-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(58, 42, 0, .2); overflow: hidden; }
.jh-ph-bars i.done { background: var(--on-amber); }
.jh-ph-bars i.on::after { content: ""; display: block; height: 100%; background: var(--on-amber); transform-origin: 0 50%; animation: jhphb 3s linear forwards; }
@keyframes jhphb { from { transform: scaleX(0); } }
.jh-ph-top { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.jh-ph-top .jh-av { width: 32px; height: 32px; font-size: .7rem; background: #fff; }
.jh-ph-k { margin-top: 70px; font: 700 .66rem var(--fb); letter-spacing: .14em; text-transform: uppercase; }
.jh-ph-r { font: 800 2.15rem/1 var(--fm); letter-spacing: .02em; white-space: nowrap; }
.jh-ph-l7 { display: flex; gap: 4px; flex-wrap: wrap; min-height: 26px; }
.jh-ph-l7 span { background: #fff; border-radius: 8px; padding: 1px 6px; font: 800 .8rem var(--fm); }
.jh-ph-btn { margin-top: auto; background: var(--on-amber); color: #fff; text-align: center; border-radius: 999px; padding: 10px; font-weight: 700; font-size: .85rem; }
.jh-ph-scr.swap > *:not(.jh-ph-bars) { animation: jhslide .4s var(--ease); }
.jh-app-c h2 { font: 800 clamp(1.7rem, 4.6vw, 2.5rem)/1.1 var(--fb); letter-spacing: -.02em; }
.jh-app-c h2 [lang] { display: block; font: 700 1rem "Poppins", "Mukta", sans-serif; }
.jh-app-c > p { margin: 8px 0 14px; font-weight: 500; }
.jh-steps { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; }
.jh-steps li { display: flex; gap: 12px; background: #fff; color: var(--ink); border-radius: 18px; padding: 10px 14px; box-shadow: 0 6px 16px rgba(58, 42, 0, .1); transition: transform .25s var(--ease); }
.jh-steps li:hover { transform: translateX(4px); }
.jh-steps b { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--on-amber); font-weight: 800; }
.jh-steps span { color: var(--muted); font-size: .92rem; }
.jh-steps strong { color: var(--ink); }
.jh-app-a { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.jh-qr-box { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .86rem; }
.jh-qr { width: 112px; height: 112px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 8px 20px rgba(58, 42, 0, .15); }
.jh-qr svg { width: 100%; height: 100%; display: block; }
.jh-app-s { margin-top: 16px; font-size: .9rem; font-weight: 600; }
.jh-app-s b { font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .jh-app { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .jh-phone { width: 230px; height: 460px; }
  .jh-ph-k { margin-top: 44px; }
  .jh-ph-r { font-size: 1.8rem; }
  .jh-qr-box { display: none; }
}

/* index + faq + footer */
.jh-index { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 8px; }
.jh-index li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 8px 6px 6px; box-shadow: 0 4px 12px rgba(58, 42, 0, .07); transition: transform .25s var(--ease), box-shadow .25s, opacity .6s; }
.jh-index li:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--amber), 0 10px 20px rgba(58, 42, 0, .1); }
.jh-index li > span:nth-child(2) { flex: 1; min-width: 0; font-weight: 700; font-size: .95rem; }
.jh-index a { font-weight: 700; font-size: .84rem; text-decoration: none; background: var(--soft); border-radius: 999px; padding: 4px 11px; }
.jh-index a:hover { background: var(--amber); color: var(--on-amber); }
.jh-faq { max-width: 860px; }
.jh-faq details { background: #fff; border-radius: 20px; margin-bottom: 10px; box-shadow: 0 4px 14px rgba(58, 42, 0, .07); overflow: hidden; transition: box-shadow .25s, opacity .6s, transform .6s var(--ease); }
.jh-faq details[open] { box-shadow: 0 0 0 2px var(--amber), 0 10px 24px rgba(58, 42, 0, .1); }
.jh-faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; }
.jh-faq summary::-webkit-details-marker { display: none; }
.jh-faq summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); position: relative; transition: transform .35s var(--ease), background .25s; }
.jh-faq summary i::before, .jh-faq summary i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; background: var(--on-amber); border-radius: 1px; }
.jh-faq summary i::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.jh-faq details[open] summary i { transform: rotate(180deg); background: var(--amber); }
.jh-faq details[open] summary i::after { transform: rotate(0); }
.jh-faq-a { padding: 0 18px 16px; color: var(--muted); }
.jh-faq details[open] .jh-faq-a { animation: jhup .4s var(--ease); }
.jh-foot { margin-top: 60px; background: #fff; border-top: 6px solid var(--amber); padding: 24px 0 30px; color: var(--muted); }
.jh-foot-b { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.jh-foot-b b { font: 400 1.5rem var(--fw); color: var(--on-amber); }
.jh-foot-b span { font-weight: 700; color: var(--accent); }
.jh-foot-l { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0; }
.jh-foot-l a { color: var(--muted); text-decoration: none; }
.jh-foot-l a:hover { color: var(--accent); text-decoration: underline; }
.jh-fine { font-size: .84rem; }

/* sticky download bar -> compact button on scroll */
.jh-dock { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: 10px; max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px; background: #fff; border-radius: 22px; text-decoration: none; color: var(--ink); box-shadow: 0 14px 34px rgba(58, 42, 0, .25), 0 0 0 2px var(--amber); transition: transform .4s var(--ease), opacity .3s; }
.jh-dock img { border-radius: 12px; }
.jh-dock > span:nth-child(2) { flex: 1; min-width: 0; line-height: 1.2; }
.jh-dock b { display: block; }
.jh-dock small { display: block; color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jh-fab { position: fixed; z-index: 41; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; background: var(--on-amber); color: #fff; text-decoration: none; font-weight: 800; border-radius: 999px; padding: 12px 18px 12px 14px; box-shadow: 0 12px 28px rgba(58, 42, 0, .35), 0 0 0 3px var(--amber); opacity: 0; transform: translateY(24px) scale(.8); pointer-events: none; transition: transform .4s var(--ease), opacity .3s; }
.jh-fab .ic { width: 20px; height: 20px; }
html.jh-compact .jh-dock { transform: translateY(150%); opacity: 0; pointer-events: none; }
html.jh-compact .jh-fab { opacity: 1; transform: none; pointer-events: auto; }
html.jh-compact .jh-fab .ic { animation: jhbob 1.6s ease-in-out infinite; }
@keyframes jhbob { 50% { transform: translateY(3px); } }

/* confetti layer */
.jh-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 95; }

/* ---------- the story viewer ---------- */
.jh-lock, .jh-lock body { overflow: hidden; }
.jh-v { position: fixed; inset: 0; z-index: 80; background: rgba(42, 34, 16, .6); display: grid; place-items: center; }
.jh-v-card { position: relative; width: min(420px, 100%); height: 100%; background: var(--bgc, var(--amber)); color: var(--on-amber); display: flex; flex-direction: column; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.jh-v-card::before { content: ""; position: absolute; inset: 0; background: var(--dots-amber); opacity: .18; pointer-events: none; }
@media (min-width: 480px) { .jh-v-card { border-radius: 30px; height: min(780px, calc(100% - 40px)); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); } }
.jh-v-bars { position: relative; display: flex; gap: 4px; padding: 12px 12px 0; }
.jh-v-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(58, 42, 0, .22); overflow: hidden; }
.jh-v-bars i b { display: block; height: 100%; background: var(--on-amber); transform-origin: 0 50%; transform: scaleX(0); }
.jh-v-bars i.done b { transform: none; }
.jh-v-bars i.on b { animation: jhbar var(--dur, 5s) linear forwards; }
.jh-v.paused .jh-v-bars i.on b { animation-play-state: paused; }
@keyframes jhbar { to { transform: none; } }
.jh-v-top { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px 0; }
.jh-v-top .jh-av { width: 42px; height: 42px; font-size: .84rem; background: var(--chip, #fff); box-shadow: 0 0 0 2px var(--on-amber); }
.jh-v-who { flex: 1; min-width: 0; line-height: 1.25; }
.jh-v-who b { display: block; font-size: 1.02rem; }
.jh-v-who small { font-size: .8rem; }
.jh-v-x, .jh-v-pp { width: 42px; height: 42px; border: 1px solid rgba(58, 42, 0, .15); border-radius: 50%; background: var(--chip, #fff); color: var(--on-amber); display: grid; place-items: center; cursor: pointer; }
.jh-v-body { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 18px 22px; gap: 14px; min-height: 0; }
.jh-v-k { font: 700 .8rem var(--fb); letter-spacing: .14em; text-transform: uppercase; }
.jh-v-res { font: 800 clamp(2.5rem, 13.5vw, 3.8rem)/1.05 var(--fm); letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.jh-v-res .pd { opacity: .45; }
.jh-v-parts { display: flex; gap: 8px; }
.jh-v-parts span { flex: 1; background: var(--chip, #fff); border: 1px solid rgba(58, 42, 0, .12); border-radius: 16px; padding: 8px 10px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.jh-v-parts b { display: block; font: 800 1.3rem var(--fm); letter-spacing: 0; text-transform: none; }
.jh-v-l7 { font-size: .8rem; font-weight: 700; }
.jh-v-l7 ol { list-style: none; display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.jh-v-l7 li { width: 40px; text-align: center; background: var(--chip, #fff); border: 1px solid rgba(58, 42, 0, .12); border-radius: 10px; padding: 4px 0; font: 800 .95rem var(--fm); }
.jh-v-l7 li.red { color: var(--red); }
.jh-v-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.jh-v-grid li { background: var(--chip, #fff); border: 1px solid rgba(58, 42, 0, .12); border-radius: 12px; padding: 6px 8px; font-size: .7rem; font-weight: 700; }
.jh-v-grid li b { display: block; font: 800 1.05rem var(--fm); }
.jh-v-grid li.no b { opacity: .45; }
.jh-v-hint { position: relative; z-index: 3; text-align: center; font-size: .74rem; font-weight: 600; padding: 0 16px 8px; pointer-events: none; }
.jh-v-acts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 22px; position: relative; z-index: 3; }
.jh-v-acts a { flex: 1; min-width: 120px; }
.jh-v-acts .btn { padding: 11px 14px; font-size: .92rem; }
.jh-v-acts .jh-btn-soft { background: var(--chip, #fff); box-shadow: inset 0 0 0 1px rgba(58, 42, 0, .25); }
.jh-v-tap { position: absolute; top: 90px; bottom: 120px; z-index: 2; background: transparent; border: 0; cursor: pointer; }
.jh-v-tap.l { left: 0; width: 32%; }
.jh-v-tap.r { right: 0; width: 68%; }
@media (prefers-reduced-motion: no-preference) {
  .jh-v .jh-v-card { animation: jhopen .35s var(--ease); }
  @keyframes jhopen { from { transform: scale(.85) translateY(30px); opacity: 0; } }
  .jh-v-body.slide { animation: jhslide .35s var(--ease); }
  .jh-v-body.slide-b { animation: jhslideb .35s var(--ease); }
}
@keyframes jhslide { from { transform: translateX(28px); opacity: 0; } }
@keyframes jhslideb { from { transform: translateX(-28px); opacity: 0; } }

/* chart pages */
.chart-page .page h1 { font-family: var(--fb); font-weight: 800; color: var(--on-amber); letter-spacing: -.02em; }
.chart-page .today-strip { background: #fff; border-radius: 20px; border-left: 6px solid var(--amber); }
.chart-page .btn-sm { background: var(--amber); color: var(--on-amber); box-shadow: none; }
.chart-page .tbl-wrap { border-radius: 20px; }
.chart-page .chip { border-radius: 999px; }

/* phones */
@media (max-width: 860px) {
  .jh-stage-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "tray" "next"; gap: 18px; }
  .jh-stage { padding: 22px 0 78px; }
}
@media (max-width: 560px) {
  .jh-brand-b { flex-direction: column; align-items: flex-start; gap: 14px; }
  .jh-logo-w { width: 92px; height: 92px; box-shadow: 0 0 0 7px rgba(255, 255, 255, .35), 0 14px 30px rgba(58, 42, 0, .22); }
  .jh-logo { width: 80px; height: 80px; }
  .jh-brand-b { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .jh-hero-c { display: contents; }
  .jh-kick { grid-column: 2; }
  .jh-stage h1, .jh-slogan, .jh-cta, .jh-meta, .jh-stage .ios-note { grid-column: 1 / -1; }
  .jh-stage h1 { margin-top: -4px; }
  .jh-tray { padding: 12px 12px 6px; border-radius: 24px; }
  .jh-ring { width: 78px; }
  .jh-rc { width: 74px; height: 74px; }
  .jh-av { width: 58px; height: 58px; font-size: 1rem; }
  .jh-rings { gap: 10px; }
  .jh-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .jh-face { padding: 11px 11px 10px; border-radius: 20px; border-top-width: 5px; }
  .jh-card-in { border-radius: 20px; }
  .jh-av.sm { width: 34px; height: 34px; font-size: .74rem; }
  .jh-chip { font-size: .6rem; padding: 3px 7px; }
  .jh-card h3 { font-size: .92rem; margin-top: 8px; }
  .jh-res { font-size: 1.12rem; letter-spacing: 0; }
  .jh-tm { font-size: .7rem; }
  .jh-mini-b { padding: 5px 9px; font-size: .72rem; }
  .jh-l7 li { min-width: 30px; font-size: .82rem; }
  .jh-mc { padding: 12px 8px; border-radius: 22px; }
  .jh-mc-g { border-spacing: 3px; }
  .jh-mc-g td span { font-size: .86rem; }
  .jh-gl { padding: 12px; border-radius: 18px; }
  .jh-gl b { font-size: 1.5rem; }
  .jh-gl .jh-gl-r { font-size: 1.05rem; }
  .jh-gl .jh-gl-n { font-size: .98rem; }
  .jh-band { padding: 44px 0; margin-top: 36px; }
  .jh-cd b { font-size: 2.1rem; }
}
@media (max-width: 300px) {
  .jh-glance, .jh-cards { grid-template-columns: minmax(0, 1fr); }
  .jh-brand-b { display: flex; }
  .jh-hero-c { display: block; }
  .jh-word { font-size: 2.3rem; }
  .jh-cd { gap: 3px; }
  .jh-cd b { font-size: 1.3rem; }
  .jh-cd i { font-size: 1.2rem; }
  .jh-cd small { font-size: .5rem; letter-spacing: .04em; }
  .jh-index li { flex-wrap: wrap; border-radius: 16px; }
  .jh-mc-g td span { font-size: .6rem; }
  .jh-mc-g th { font-size: .55rem; }
  .jh-mc-h a { margin-left: 0; }
  .jh-v-res { font-size: 2rem; white-space: normal; }
  .jh-v-parts { flex-direction: column; }
  .jh-v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jh-phone { width: 180px; height: 380px; }
  .jh-ph-r { font-size: 1.3rem; }
  .jh-res, .jh-gl .jh-gl-r { white-space: normal; }
  .jh-app-a .btn { width: 100%; }
  .jh-tick { padding-left: 8px; }
}
.jh-back-h { font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 560px) { .jh-l7 { gap: 4px; } .jh-l7 li { min-width: 0; flex: 0 0 calc(25% - 3px); font-size: .8rem; padding: 3px 0; } }
.jh-sring em { font-size: .95rem; font-weight: 800; color: var(--ink); line-height: 1; text-align: center; }
.jh-sring em small { display: block; font-size: .56rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.jh-gl b { line-height: 1.3; }
@media (max-width: 300px) { .jh-stage h1 { margin-top: 8px; } .jh-word { line-height: 1.15; } }
