/* Self-hosted fonts (no Google round trips). DM Sans is one variable file for all weights. */
@font-face { font-family: "Bebas Neue"; src: url(/assets/fonts/bebas-neue.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(/assets/fonts/dm-sans.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }
/* Satta Matka Kalyan — "Ticket" theme */
:root {
  --ink: #390d2c; --cream: #f6f1e7; --paper: #fffdf8; --yellow: #ffc93c; --muted: #6b6457; --red: #e2372c;
  --c0: #ff5a4f; --c1: #ffc93c; --c2: #1fb39f; --c3: #3f5be0; --c4: #8a4fff; --c5: #ff8a3d; --c6: #f0478f; --c7: #1f9d55;
  --head: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body); color: var(--ink); background: var(--cream);
  min-height: 100vh; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px 40px; }

/* ── header + nav ─────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px max(16px, calc((100vw - 1080px) / 2 + 16px)); background: var(--ink); box-shadow: 0 2px 0 #000; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: #fff; min-width: 0; }
.brand span { font-family: var(--head); font-size: clamp(24px, 7vw, 34px); letter-spacing: .5px; line-height: 1; white-space: nowrap; }
.brand b { font-weight: 400; color: var(--yellow); }
.bell { flex: none; margin-left: auto; width: 40px; height: 38px; border: 2px solid var(--yellow); border-radius: 10px; background: transparent; font-size: 18px; cursor: pointer; filter: grayscale(1) brightness(1.6); }
.bell.on { background: var(--yellow); filter: none; }
.refresh { display: flex; align-items: center; gap: 6px; flex: none; border: 0; border-radius: 8px; padding: 9px 14px 7px; cursor: pointer;
  font: 400 21px/1 var(--head); letter-spacing: 1px; color: var(--ink); background: var(--yellow); box-shadow: 0 3px 0 #b8860b; }
.refresh:active { transform: translateY(2px); box-shadow: 0 1px 0 #b8860b; }
.refresh svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; margin-top: -2px; }
.refresh.spin svg { animation: spin .7s ease; }
@keyframes spin { to { transform: rotate(360deg); } }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 12px max(16px, calc((100vw - 1080px) / 2 + 16px)) 4px; }
.chips a { flex: none; text-align: center; padding: 7px 14px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); text-decoration: none;
  font-weight: 700; font-size: 13.5px; box-shadow: 0 2px 0 var(--ink); }
.chips a[aria-current="page"] { background: var(--ink); color: var(--yellow); }
.crumbs { max-width: 1080px; margin: 8px auto 0; padding: 0 16px; font-size: 12.5px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs span { color: var(--ink); font-weight: 700; }

/* ── generic blocks ───────────────────────────────────────── */
.hero { text-align: center; padding: 22px 4px 10px; }
.hero h1 { font-family: var(--head); font-weight: 400; font-size: clamp(28px, 7.6vw, 52px); line-height: .98; letter-spacing: .5px; }
.hero p { max-width: 720px; margin: 10px auto 0; font-size: 14.5px; line-height: 1.6; color: #3d382f; }
.card { background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 0 5px 0 var(--ink); padding: 16px 18px; }
.card h2, .content h2 { font-family: var(--head); font-weight: 400; font-size: 27px; letter-spacing: .5px; line-height: 1.05; margin-bottom: 8px; }
.content { display: grid; gap: 18px; margin-top: 26px; }
.content p, .content li, .page p, .page li { font-size: 14.5px; line-height: 1.7; color: #2f2b25; }
.content p + p, .page p + p { margin-top: 8px; }
.content ul, .page ul { padding-left: 20px; display: grid; gap: 4px; margin-top: 4px; }
.content a, .page a { color: #b5420f; font-weight: 700; }
.page h1 { font-family: var(--head); font-weight: 400; font-size: 42px; line-height: 1; margin-bottom: 12px; }
.page h2 { margin-top: 16px; }
.center { text-align: center; }
.note { margin: 12px 0 4px; padding: 11px 14px; border-radius: 12px; border: 2px dashed var(--ink); background: #fff3c9; font-size: 13.5px; line-height: 1.55; }
.muted { color: var(--muted); font-size: 14px; }
.empty { text-align: center; color: var(--muted); }
.kw { margin-top: 22px; padding: 12px; text-align: center; font-size: 12px; line-height: 1.9; color: var(--muted); border: 2px dashed #c9bea8; border-radius: 12px; }
.btn { display: inline-block; border: 2px solid var(--ink); border-radius: 10px; padding: 10px 18px; font: 700 15px var(--body); cursor: pointer;
  color: var(--ink); background: var(--yellow); box-shadow: 0 3px 0 var(--ink); text-decoration: none; }
.btn.ghost { background: var(--paper); }

/* ── lucky + live ─────────────────────────────────────────── */
.lucky { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 18px;
  border-radius: 14px; background: #afb59499; color: #fff; box-shadow: 0 5px 0 #000; }
.lucky small { display: block; font-family: var(--head); font-size: 20px; letter-spacing: 1px; color: #000; }
.lucky b { font-size: 13px; font-weight: 500; color: #3d331d; }
.lucky strong { font-family: var(--head); font-weight: 400; font-size: clamp(32px, 9vw, 40px); letter-spacing: 2px; color: #3b0000; white-space: nowrap; }
.lucky > div { min-width: 0; }

/* WhatsApp channel card */
.wa { display: flex; align-items: center; gap: 12px;  padding: 12px 14px; border: 2px solid var(--ink); border-radius: 14px;
  background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; text-decoration: none; box-shadow: 0 5px 0 var(--ink); }
.wa:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.wa-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #25d366; box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.wa-ico svg { width: 28px; height: 28px; }
.wa-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.wa-txt small { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; opacity: .85; }
.wa-txt b { font-family: var(--head); font-weight: 400; font-size: clamp(21px, 6vw, 27px); letter-spacing: .6px; }
.wa-txt em { font-style: normal; font-size: 12.5px; opacity: .95; }
.wa-btn { flex: none; padding: 9px 13px 7px; border-radius: 999px; background: #fff; color: #128c7e; font: 400 18px/1 var(--head); letter-spacing: 1px; box-shadow: 0 3px 0 rgba(0, 0, 0, .3); }
@media (max-width: 360px) { .wa-btn { display: none; } }
.flinks a.fwa { display: inline-flex; align-items: center; gap: 6px; border-color: #25d366; color: #fff; background: #128c7e; }
.flinks a.fwa svg { width: 15px; height: 15px; }

.live { margin-top: 18px; border-radius: 14px; overflow: hidden; background: var(--ink); color: #fff; box-shadow: 0 5px 0 #000; }
.live h2 { display: flex; align-items: center; gap: 9px; padding: 10px 16px 8px; font-family: var(--head); font-weight: 400; font-size: 16px; letter-spacing: 1.5px;
  background: linear-gradient(-15deg, #0a0505 0 10px, #290933 200px 20px); border-bottom: 2px dashed #444; }
.live h2 i { width: 11px; height: 11px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 10px #ff3b30; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.lrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px; text-decoration: none; border-top: 1px solid #2c2c2c; }
.lrow:first-of-type { border-top: 0; }
.lrow b { display: block; font-family: var(--head); font-weight: 400; font-size: 23px; letter-spacing: .5px; }
.lrow small { font-size: 12px; color: #a59f93; }
.lnum { font-family: var(--head); font-size: 34px; letter-spacing: 2px; color: var(--yellow); white-space: nowrap; }
.lnum.wait { font-family: var(--body); font-size: 15px; letter-spacing: 0; color: #d8d2c5; animation: pulse 1.4s infinite; }
.lempty { padding: 14px 16px; font-size: 14px; line-height: 1.6; color: #d8d2c5; }

/* ── tickets ──────────────────────────────────────────────── */
.day { text-align: center; margin: 28px 0 16px; }
.day h2 { font-family: var(--head); font-weight: 400; font-size: clamp(40px, 11vw, 56px); line-height: .95; letter-spacing: .5px; }
.day p { margin-top: 6px; font-size: 15px; font-weight: 500; color: #5a5347; }
.tickets { display: grid; gap: 22px; }
/* ── Home result list in the "शुभ रिज़ल्ट" colours — maroon, orange-amber, cream ── */
.rlist { --mr: #7b1430; --mr-ink: #3d0b1c; --or: #f28c1b; --am: #ffb000; --cr: #fffaf1; --pe: #f6d9a8;
  max-width: 640px; margin: 0 auto; border: 2px solid var(--pe); border-radius: 16px; overflow: hidden; background: var(--cr); box-shadow: 0 5px 0 var(--pe); }
.rl-sec { padding: 7px 10px 5px; text-align: center; background: var(--mr); color: #ffd98a; font: 400 19px/1 var(--head); letter-spacing: 1.5px; }
.rl { position: relative; display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 4px;
  padding: 7px 11px 7px 11px; border-top: 1.5px solid var(--pe); }
.rl-sec + .rl { border-top: 0; }
/* phones: the list fills the screen (6 px gutter instead of 16) */
/* phones: the list runs edge to edge, on every screen size */
@media (max-width: 600px) { .rlist { margin-left: -14px; margin-right: -14px; border-radius: 10px; } }
/* LIVE UPDATE in the list style */
.rlive { margin-top: 16px; }
.rlive .rl-sec { display: flex; align-items: center; justify-content: center; gap: 8px; }
.rlive .rl-sec i { width: 10px; height: 10px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 8px #ff3b30; animation: pulse 1.2s infinite; }
.rlv { display: block; padding: 8px 10px 7px; text-align: center; text-decoration: none; border-top: 1.5px solid var(--pe); }
.rl-sec + .rlv { border-top: 0; }
.rlv .rlv-name { display: block; font: 800 clamp(18px, 5.7vw, 25px)/1.2 var(--body); letter-spacing: .2px; color: #000; }
.rlv .rl-num { display: block; }
.rlv small { font-size: 12px; font-weight: 600; color: #8a5a3c; }
.rlv-empty { padding: 12px 14px; text-align: center; font-size: 13.5px; color: #8a5a3c; }
/* thick edge stripes: left in the Jodi colour, right in the Panel colour */
.rl::before, .rl::after { content: ""; position: absolute; top: 0; bottom: 0; width: 6px; }
.rl::before { left: 0; background: linear-gradient(var(--or), var(--am)); }
.rl::after { right: 0; background: var(--mr); }
.rl-side { justify-self: center; padding: 7px 0 5px; width: 50px; text-align: center; border-radius: 9px; color: #fff;
  font: 400 15px/1 var(--head); letter-spacing: .6px; text-decoration: none; box-shadow: 0 2px 0 rgba(61, 11, 28, .35); }
.rl-side:first-child { background: linear-gradient(90deg, var(--or), var(--am)); }
.rl-side:last-child { background: var(--mr); }
.rl-mid { text-align: center; min-width: 0; }
/* Market name: heavy plain sans like the result (a condensed face looked too small) */
.rl h3 { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 6px; font: 800 clamp(18px, 5.7vw, 25px)/1.2 var(--body); letter-spacing: .2px; }
.rl h3 a { color: #000; text-decoration: none; }
.rl-tag { flex: none; padding: 2px 5px 1px; border-radius: 5px; background: var(--mr); color: #fff; font: 700 9.5px/1.2 var(--body); letter-spacing: .4px; }
.rl-tag.now { display: inline-flex; align-items: center; gap: 4px; background: #e2372c; }
.rl-tag.now i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
/* Result digits: heavy plain sans in deep navy on cream — the highest contrast, readable in sunlight and by older eyes. */
.rl-num { margin: 3px 0 3px; white-space: nowrap; font: 900 clamp(24px, 8.1vw, 38px)/1 var(--body); letter-spacing: .3px; font-variant-numeric: tabular-nums; color: #142a85; }
.rl-num span { display: inline-block; width: .64em; text-align: center; }
.rl-num .dash { width: .52em; }
.rl-num .wait { width: auto; font-size: 15px; font-weight: 700; color: #8a5a3c; }
/* compact "TODAY'S RESULTS" heading for the list */
.rl-day { margin: 18px 0 10px; text-align: center; }
.rl-day h2 { font: 400 clamp(26px, 7.5vw, 34px)/1 var(--head); letter-spacing: .6px; color: #3d0b1c; }
.rl-day p { display: inline-block; margin-top: 6px; padding: 4px 12px; border-radius: 999px; background: #fde9cc; border: 1.5px solid #f6d9a8; font-size: 12.5px; font-weight: 600; color: #7b1430; }
.rl-day p b { font-weight: 800; }

.rl-foot { display: flex; align-items: center; justify-content: center; gap: 6px; }
.rl small { font-size: 12px; font-weight: 600; color: #8a5a3c; white-space: nowrap; }
.rl .share { gap: 4px; }
.rl .share button { padding: 3px 5px; background: #fde9cc; color: var(--mr); border: 1.5px solid var(--pe); box-shadow: none; }
.rl .share em { display: none; }
.rl .share svg { width: 13px; height: 13px; }
@media (min-width: 900px) { .tickets { grid-template-columns: 1fr 1fr; gap: 24px 22px; } }

.tk { --bg: var(--c0); --fg: #fff; --perf: rgba(255, 255, 255, .75); position: relative; display: grid; grid-template-columns: 1fr 112px;
  border-radius: 16px; background: var(--bg); color: var(--fg); box-shadow: 0 6px 0 var(--ink); scroll-margin-top: 80px; }
.tk-main { padding: 16px 12px 15px 20px; min-width: 0; }
.badge { display: inline-block; padding: 4px 9px 3px; border-radius: 6px; background: rgba(0, 0, 0, .2); font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; }
.tk h3, .tk .tk-name { margin-top: 8px; font-family: var(--head); font-weight: 400; font-size: clamp(26px, 7.5vw, 32px); line-height: 1; letter-spacing: .6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.num { font-family: var(--head); font-size: clamp(44px, 13.5vw, 62px); line-height: 1.05; letter-spacing: 2px; white-space: nowrap; }
.num i { font-style: normal; opacity: .42; }
.last { display: inline-block; margin: 1px 0 2px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .2); font-size: 11.5px; font-weight: 700; }
.tk.old .num { opacity: .88; }
.tk-links { display: flex; gap: 18px; margin-top: 6px; }
.tk-links a { font-weight: 700; font-size: 15.5px; text-decoration: underline; text-decoration-thickness: 2.5px; text-underline-offset: 5px; }
.tk-stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 12px 6px;
  border-left: 2.5px dashed var(--perf); text-align: center; }
.tk-stub::before, .tk-stub::after { content: ""; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); }
.tk-stub::before { top: -12px; }
.tk-stub::after { bottom: -12px; background: var(--ink); box-shadow: 0 -6px 0 var(--cream); }
.tk-stub small { font-size: 12.5px; font-weight: 700; letter-spacing: .5px; }
.tk-stub b { font-family: var(--head); font-weight: 400; font-size: 25px; letter-spacing: .5px; white-space: nowrap; }
.tk-stub hr { width: 56%; margin: 6px 0; border: 0; border-top: 2px solid rgba(255, 255, 255, .45); }

.hourly { margin-top: 28px; }
.hl { --bg: var(--c3); --fg: #fff; border-radius: 16px; background: var(--bg); color: var(--fg); box-shadow: 0 6px 0 var(--ink); padding: 16px 16px 14px; scroll-margin-top: 80px; }
.hl h3 { margin-top: 8px; font-family: var(--head); font-weight: 400; font-size: clamp(26px, 7.5vw, 32px); line-height: 1; letter-spacing: .6px; }
.slots { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.slots li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 9px; border-radius: 8px; background: rgba(0, 0, 0, .18); font-size: 13.5px; }
.slots li b { font-family: var(--head); font-weight: 400; font-size: 17px; letter-spacing: 1px; }
.slots li.wait b { opacity: .45; }
.hl h3 a { color: inherit; text-decoration: none; }
.hl .tk-links { margin-top: 12px; }
.hourlychart + .hourlychart, .chartwrap + .chartwrap { margin-top: 14px; }
.hourlychart .sl { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.hourlychart .sl small { font-size: clamp(11px, 3.2vw, 15px); letter-spacing: .5px; }
.hourlychart .sl b { font-weight: 400; font-size: clamp(18px, 5.6vw, 26px); }
.hourlychart.jackpot td { font-size: clamp(18px, 5.6vw, 26px); }

.c0 { --bg: var(--c0); } .c2 { --bg: var(--c2); } .c3 { --bg: var(--c3); } .c4 { --bg: var(--c4); }
.c5 { --bg: var(--c5); } .c6 { --bg: var(--c6); } .c7 { --bg: var(--c7); }
.c1 { --bg: var(--c1); --fg: #1a1a1a; --perf: rgba(0, 0, 0, .45); }
.c1 .tk-stub hr { border-top-color: rgba(0, 0, 0, .3); }
.c1 .badge, .c1 .last { background: rgba(0, 0, 0, .12); }

@media (max-width: 380px) {
  .tk { grid-template-columns: 1fr 96px; }
  .tk-main { padding-left: 15px; }
  .tk-stub b { font-size: 21px; }
}

/* ── chart lists ──────────────────────────────────────────── */
.clists { display: grid; gap: 18px; margin-top: 30px; }
@media (min-width: 760px) { .clists { grid-template-columns: 1fr 1fr; } }
.clist { background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 5px 0 var(--ink); }
.clist h2 { padding: 10px 16px 7px; font-family: var(--head); font-weight: 400; font-size: 26px; letter-spacing: 1px; color: var(--yellow); background: var(--ink); }
.clist a { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; border-top: 1.5px solid #e6dfd1; text-decoration: none;
  font-weight: 700; font-size: 15px; border-left: 6px solid var(--bg); }
.clist a:hover { background: #fff6dc; }
.clist a span { font-size: 22px; color: var(--muted); }

/* ── tables ───────────────────────────────────────────────── */
.tablewrap { overflow-x: auto; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); box-shadow: 0 5px 0 var(--ink); }
table { width: 100%; border-collapse: collapse; }
.timing th, .otc th { padding: 9px 12px 7px; text-align: left; font-family: var(--head); font-weight: 400; font-size: 19px; letter-spacing: 1px; color: var(--yellow); background: var(--ink); }
.timing td, .otc td { padding: 9px 12px; border-top: 1.5px solid #e6dfd1; font-size: 14px; }
.otc td + td { font-family: var(--head); font-size: 26px; letter-spacing: 2px; }
.otc { min-width: 300px; }
.timing a { color: var(--ink); font-weight: 700; text-decoration: none; }

.latest { margin-top: 12px; padding: 12px; border-radius: 14px; text-align: center; background: var(--ink); color: #fff; box-shadow: 0 5px 0 #000; }
.latest small { font-weight: 700; font-size: 12.5px; letter-spacing: 1px; color: #bdb6a8; }
.latest .num { color: #fff; font-size: 52px; }
.latest .num span { color: var(--yellow); }
.switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 12px; }
.switch a { padding: 9px 15px; border-radius: 10px; border: 2px solid var(--ink); background: var(--paper); text-decoration: none; font-weight: 700; font-size: 14px; box-shadow: 0 3px 0 var(--ink); }
.switch a.on { background: var(--yellow); }
.switch select { flex: 1; min-width: 160px; padding: 9px 12px; border-radius: 10px; border: 2px solid var(--ink); background: var(--paper); font: 700 14px var(--body); box-shadow: 0 3px 0 var(--ink); }
.chart { text-align: center; }
.chart th { position: sticky; top: 0; padding: 9px 4px 7px; font-family: var(--head); font-weight: 400; font-size: 19px; letter-spacing: 1px; color: var(--yellow); background: var(--ink); }
.chart td { padding: 6px 3px; border-top: 1.5px solid #e6dfd1; border-left: 1.5px solid #e6dfd1; font-family: var(--head); font-size: 27px; letter-spacing: 1px; }
.chart td.wk { font: 500 11px/1.35 var(--body); color: var(--muted); white-space: nowrap; border-left: 0; padding: 6px 8px; }
.chart td.red { color: var(--red); }
.chart td.na { color: #cfc5b2; }
.pn { display: flex; align-items: center; justify-content: center; gap: 3px; }
.pn .v { display: flex; flex-direction: column; font-size: 14px; line-height: 1; color: #4a443a; }
.pn b { font-weight: 400; font-size: 26px; }
.jump { position: fixed; right: 16px; bottom: 18px; z-index: 15; border: 2px solid var(--ink); border-radius: 999px; padding: 10px 16px; cursor: pointer;
  font: 400 20px/1 var(--head); letter-spacing: 1px; background: var(--yellow); box-shadow: 0 3px 0 var(--ink); transition: opacity .2s; }
.jump.hide { opacity: 0; pointer-events: none; }
@media (max-width: 420px) { .chart.jodi td { font-size: 22px; } }

/* ── guessing / weekly ────────────────────────────────────── */
.guesses { display: grid; gap: 18px; margin-top: 14px; }
@media (min-width: 760px) { .guesses { grid-template-columns: 1fr 1fr; } }
.gk { --fg: #fff; padding: 14px 18px 16px; border-radius: 16px; background: var(--bg); color: var(--fg); box-shadow: 0 6px 0 var(--ink); }
.gk.c1 { --fg: #1a1a1a; }
.gk header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 2.5px dashed rgba(255, 255, 255, .6); }
.gk.c1 header { border-bottom-color: rgba(0, 0, 0, .35); }
.gk h2 { font-family: var(--head); font-weight: 400; font-size: 30px; letter-spacing: .6px; line-height: 1; }
.tag { padding: 4px 9px 3px; border-radius: 6px; background: rgba(0, 0, 0, .22); font-size: 11.5px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; }
.gk dl { display: grid; grid-template-columns: 96px 1fr; gap: 4px 10px; align-items: baseline; }
.gk dt { font-size: 12px; font-weight: 700; letter-spacing: 1px; opacity: .85; }
.gk dd { font-family: var(--head); font-size: 29px; letter-spacing: 2px; line-height: 1.15; word-break: break-word; }

/* ── 220 patti ────────────────────────────────────────────── */
.hero .sp, .hero .dp, .hero .tp { padding: 1px 6px; border-radius: 5px; border: 1.5px solid var(--ink); }
.sp { background: var(--paper); } .dp { background: #ffe39a; } .tp { background: #ffb3ad; }
.pg span.rj, .calc-out span.rj { background: var(--paper); color: var(--red); }
/* guide calculators + glossary */
.calc { margin-top: 14px; }
.calc label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 14px; }
.calc input { padding: 11px 14px; border: 2px solid var(--ink); border-radius: 10px; font: 400 26px/1 var(--head); letter-spacing: 3px; background: var(--paper); box-shadow: 0 3px 0 var(--ink); }
.calc-out:empty { display: none; }
.calc-out { margin-top: 12px; display: grid; gap: 10px; }
.calc-out p { font-size: 13px; color: var(--muted); }
.calc-out div { display: flex; flex-wrap: wrap; gap: 6px; }
.calc-out span { padding: 4px 7px 2px; border: 1.5px solid var(--ink); border-radius: 6px; font-family: var(--head); font-size: 21px; letter-spacing: 1px; }
.terms dt { margin-top: 14px; font-family: var(--head); font-size: 22px; letter-spacing: .5px; }
.terms dt:first-child { margin-top: 0; }
.terms dd { margin-top: 2px; line-height: 1.6; }
.patti { display: grid; gap: 16px; margin-top: 14px; }
@media (min-width: 760px) { .patti { grid-template-columns: 1fr 1fr; } }
.pg { background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 5px 0 var(--ink); }
.pg h2 { display: flex; align-items: baseline; justify-content: space-between; padding: 9px 14px 6px; font-family: var(--head); font-weight: 400; font-size: 26px;
  letter-spacing: 1px; color: var(--yellow); background: var(--ink); }
.pg h2 small { font-family: var(--body); font-size: 12px; color: #bdb6a8; letter-spacing: 0; }
.pg div { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; }
.pg span { padding: 4px 7px 2px; border: 1.5px solid var(--ink); border-radius: 6px; font-family: var(--head); font-size: 21px; letter-spacing: 1px; }

/* ── faq ──────────────────────────────────────────────────── */
.faq details { border-top: 1.5px solid #e6dfd1; padding: 11px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.faq details p { margin-top: 6px; }

/* ── admin ────────────────────────────────────────────────── */
.field { display: grid; gap: 5px; margin: 8px 0; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.field input { font: 400 22px var(--head); letter-spacing: 1.5px; color: var(--ink); padding: 9px 11px 6px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; }
.field input:focus { outline: 3px solid var(--yellow); }
.arow { margin-top: 14px; }
@media (min-width: 640px) { .arow { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 12px; } .arow h2 { grid-column: 1 / -1; } }
.savebar { position: sticky; bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; padding: 10px;
  border-radius: 14px; background: var(--ink); box-shadow: 0 4px 0 #000; }
.msg { font-size: 14px; font-weight: 700; } .msg.ok { color: #1f9d55; } .msg.err { color: var(--red); }
.savebar .msg.ok { color: #6ee7a0; } .savebar .msg { color: #fff; }

/* ── footer ───────────────────────────────────────────────── */
.foot { margin-top: 30px; padding: 26px 16px 30px; text-align: center; background: var(--ink); color: #bdb6a8; font-size: 12.5px; line-height: 1.7; }
.flinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; margin: 0 auto 16px; }
.flinks a { padding: 5px 12px; border-radius: 999px; border: 1.5px solid #3a3a3a; text-decoration: none; color: #eee6d6; font-weight: 500; }
.flinks a:hover { border-color: var(--yellow); color: var(--yellow); }
.foot p { max-width: 760px; margin: 0 auto; }
.foot .copy { margin-top: 10px; color: #8a8375; }

/* phones: menu as a tidy 3 x 2 grid */
@media (max-width: 560px) {
  .chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .chips a { padding: 7px 4px; font-size: 12.5px; white-space: nowrap; }
  .lucky { padding: 12px 14px; }
  .lucky small { font-size: 18px; }
}

/* ── bottom bar ───────────────────────────────────────────── */
/* Slim: icon and label on one line, so the bar takes little of a phone screen. */
body { padding-bottom: 60px; }
.bbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 560px; margin: 0 auto;
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom)); background: var(--ink); border-radius: 14px 14px 0 0; box-shadow: 0 -2px 0 var(--yellow); }
.bbar a { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 0 5px; border-radius: 10px; text-decoration: none; white-space: nowrap;
  color: #cfc8b9; font-family: var(--head); font-size: clamp(13px, 3.9vw, 16px); letter-spacing: .6px; line-height: 1; }
.bbar svg { width: 18px; height: 18px; flex: none; margin-top: -2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bbar a[aria-current="page"] { color: var(--ink); background: var(--yellow); }
.jump { bottom: 68px; }
.savebar { bottom: 68px; }
.brand img { border-radius: 10px; box-shadow: 0 0 0 2px var(--yellow); }
@media (max-width: 420px) {
  .top { padding-top: 10px; padding-bottom: 10px; gap: 8px; }
  .brand { gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: clamp(19px, 6.2vw, 24px); }
  .refresh { padding: 8px 10px 6px; font-size: 17px; gap: 4px; }
  .refresh svg { width: 14px; height: 14px; }
}

/* ── copy / share ─────────────────────────────────────────── */
.tk-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.tk-foot .tk-links { margin-top: 0; }
.share { display: flex; gap: 6px; }
.share button { display: flex; align-items: center; gap: 4px; border: 0; border-radius: 8px; padding: 6px 8px; cursor: pointer;
  font: 700 12px var(--body); color: inherit; background: rgba(0, 0, 0, .2); }
.share button:active { transform: scale(.94); }
.share svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.share em { font-style: normal; }
.c1 .share button { background: rgba(0, 0, 0, .12); }
.shareall { display: flex; justify-content: center; margin-top: 10px; }
.shareall .share button { padding: 9px 14px; font-size: 14px; color: var(--yellow); background: var(--ink); box-shadow: 0 3px 0 #000; }
.shareall .share em::after { content: " All Results"; }
.toast { position: fixed; left: 50%; bottom: 100px; z-index: 40; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--yellow); font-weight: 700; font-size: 14px;
  box-shadow: 0 4px 0 #000; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
/* ── time table + count charts ── */
.tt { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 14px; }
.tt th, .tt td { padding: 9px 6px; border-bottom: 1.5px solid #e6dfd1; text-align: left; white-space: nowrap; font-size: 13.5px; }
.tt td:first-child { white-space: normal; }
.tt th { background: var(--ink); color: var(--yellow); font: 400 17px var(--head); letter-spacing: .5px; }
.tt td a { font-weight: 800; color: var(--ink); }
.counts { display: grid; gap: 14px; margin-top: 18px; }
.cnt summary { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; cursor: pointer; list-style: none; }
.cnt summary::-webkit-details-marker { display: none; }
.cnt summary h2 { margin: 0; font-size: 24px; }
.cnt summary small { color: var(--muted); font-weight: 700; white-space: nowrap; }
.cnt summary::after { content: "▾"; font-size: 18px; }
.cnt[open] summary::after { content: "▴"; }
.cnt > p { margin-top: 8px; font-size: 14px; line-height: 1.6; }
.cnt .cl a { color: #b5420f; font-weight: 700; }
.jg { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 10px; text-align: center; }
.jg th { font: 400 16px var(--head); color: var(--muted); padding: 2px 0; }
.jg td { padding: 4px 0; border: 1px solid #e3dccb; line-height: 1.1; }
.jg td b { display: block; font-size: 14px; }
.jg td small { font-size: 10.5px; color: var(--muted); }
.jg .h1 { background: #fff6d6; } .jg .h2 { background: #ffe597; } .jg .h3 { background: var(--yellow); }
.jg .h4 { background: var(--ink); color: var(--yellow); } .jg .h4 small { color: #e8e2d4; }
.pc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pc span { padding: 5px 9px; border: 1.5px solid var(--ink); border-radius: 9px; background: #fff3c9; font-size: 12.5px; }
.pc b { margin-right: 4px; font-size: 14.5px; }
.morecharts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px 0 14px; }
.morecharts a { padding: 7px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); font-weight: 800; font-size: 13.5px; text-decoration: none; box-shadow: 0 3px 0 var(--ink); }
/* 🔔 notification invitation — slides up above the bottom bar */
.pushask { position: fixed; left: 12px; right: 12px; bottom: 78px; z-index: 30; max-width: 460px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; align-items: center; padding: 14px 14px 10px;
  border: 2px solid var(--ink); border-radius: 16px; background: var(--paper); box-shadow: 0 5px 0 var(--ink);
  opacity: 0; transform: translateY(28px); transition: opacity .3s, transform .3s; }
.pushask.show { opacity: 1; transform: none; }
.pushask .ic { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px;
  background: var(--ink); font-size: 24px; box-shadow: inset 0 -3px 0 #000; animation: ring 1.4s ease-in-out .5s 2; }
.pushask b { padding-right: 22px; font-size: 16px; font-weight: 800; line-height: 1.25; }
.pushask p { font-size: 13px; line-height: 1.4; color: var(--muted); }
.pushask .row { grid-column: 1 / -1; display: flex; gap: 8px; margin-top: 10px; }
.pushask .row .btn { flex: 1; padding: 10px 6px; font-size: 14.5px; text-align: center; }
.pushask .row .btn.ghost { flex: .7; }
.pushask small { grid-column: 1 / -1; margin-top: 7px; text-align: center; font-size: 11.5px; color: var(--muted); }
.pushask .x { position: absolute; top: 4px; right: 6px; padding: 4px 8px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 12% { transform: rotate(16deg); } 26% { transform: rotate(-14deg); } 40% { transform: rotate(9deg); } 54% { transform: rotate(-6deg); } 68% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .pushask { transition: none; } .pushask .ic { animation: none; } }
@media (max-width: 380px) { .share em { display: none; } .shareall .share em { display: inline; } }

/* ── charts fit the screen: narrow date column, no sideways scrolling ── */
.chart { table-layout: fixed; }
.chart col.dcol { width: clamp(42px, 12.5vw, 96px); }
.chart td.wk { padding: 4px 1px; text-align: center; font: 600 clamp(9px, 2.6vw, 12px)/1.3 var(--body); letter-spacing: 0; color: var(--muted); }
.chart th { font-size: clamp(14px, 4.4vw, 19px); padding: 8px 0 6px; }
.chart.panel td { padding: 5px 0; }
.chart.panel .pn { gap: clamp(1px, .5vw, 4px); }
.chart.panel .pn .v { font-size: clamp(11px, 3.4vw, 15px); line-height: 1.02; }
.chart.panel .pn b { font-size: clamp(20px, 6.2vw, 28px); }
.chart td.na { font-size: clamp(16px, 5vw, 24px); }

/* ── visitor rating ───────────────────────────────────────── */
.rate { text-align: center; }
.rate-now { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 8px; }
.rate-now strong { font-family: var(--head); font-weight: 400; font-size: 46px; line-height: 1; }
.stars { position: relative; font-size: 26px; letter-spacing: 2px; color: #d9cfbb; line-height: 1; }
.stars::before { content: "★★★★★"; position: absolute; inset: 0; width: var(--p, 0%); overflow: hidden; color: #f5a400; white-space: nowrap; }
.rate-now small { width: 100%; font-weight: 700; color: var(--muted); }
.rate-pick { display: flex; justify-content: center; gap: 6px; margin: 8px 0 4px; }
.rate-pick button { width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); cursor: pointer;
  font-size: 26px; line-height: 1; color: #d9cfbb; box-shadow: 0 3px 0 var(--ink); transition: transform .1s; }
.rate-pick button.on { color: #f5a400; background: #fff3c9; }
.rate-pick button:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.rate .msg { min-height: 1.4em; margin-top: 6px; }
/* players' guessing wall */
/* home: wall + WhatsApp channel side by side, about the height of the lucky-number box */ /*
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.duo > a { display: flex; flex-direction: column; gap: 2px; min-width: 0; margin: 0; padding: 5px 8px 6px; border: 2px solid var(--ink); border-radius: 12px; text-decoration: none; box-shadow: 0 3px 0 var(--ink); }
.duo > a:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.duo-top { display: flex; align-items: center; gap: 5px; min-width: 0; }
.duo-top b { font: 400 clamp(13px, 3.6vw, 18px)/1 var(--head); letter-spacing: .3px; white-space: nowrap; }
.duo > a > small { flex: 1; font-size: clamp(9.5px, 2.55vw, 11.5px); line-height: 1.2; }
.duo-btn { align-self: flex-start; padding: 3px 8px 2px; border-radius: 999px; font: 400 clamp(11px, 3vw, 13px)/1 var(--head); letter-spacing: .6px; box-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
.wall-cta { background: var(--yellow); color: var(--ink); }
.wall-cta small { color: #3d382f; }
.duo-ico { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; font-size: 12px; }
.wall-cta .duo-btn { background: var(--ink); color: var(--yellow); }
.wa-sm { align-items: stretch; }
.wa-sm .wa-ico { width: 20px; height: 20px; box-shadow: none; }
.wa-sm .wa-ico svg { width: 13px; height: 13px; }
.wa-sm .wa-txt { line-height: 1; }
.wa-sm .wa-txt small { font-size: 7.5px; letter-spacing: .4px; white-space: nowrap; }
.wa-sm .duo-btn { background: #fff; color: #128c7e; } */
/* Telegram channel: same card as WhatsApp, Telegram blue */
.tg { background: linear-gradient(135deg, #37aee2, #1e88c7); }
.tg .wa-ico { color: #229ed9; }
.tg .wa-btn, .tg.wa-sm .duo-btn { color: #1e88c7; }
.flinks a.ftg { border-color: #37aee2; background: #1e88c7; }
/* home: lucky number as a half-width tile, number under the label */
.lucky-sm { display: flex; flex-direction: column; justify-content: center; gap: 1px; min-width: 0; padding: 5px 9px 6px; border: 2px solid var(--ink); border-radius: 12px;
  background: var(--ink); color: #fff; box-shadow: 0 3px 0 #000; }
.lucky-sm small { font: 400 clamp(12px, 3.4vw, 17px)/1 var(--head); letter-spacing: .5px; color: var(--yellow); white-space: nowrap; }
.lucky-sm b { font-size: clamp(9.5px, 2.55vw, 11.5px); font-weight: 500; color: #d8d2c5; }
.lucky-sm strong { font: 400 clamp(24px, 7.4vw, 34px)/1 var(--head); letter-spacing: 1.5px; color: var(--yellow); white-space: nowrap; }
/* players' wall: which market's posts to show */
.wall-filter { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; font-size: 14px; }
.wall-filter select { flex: 1; min-width: 0; padding: 9px 10px; border: 2px solid var(--ink); border-radius: 10px; background: var(--yellow); font: 700 14px var(--body); box-shadow: 0 2px 0 var(--ink); }
.wpost.mine { border-color: #1f9d55; box-shadow: 0 3px 0 #1f9d55; }
.wpost .me { padding: 1px 7px; border-radius: 999px; background: #1f9d55; color: #fff; font-size: 11.5px; font-weight: 700; }
.wall-link { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 11px 14px; border: 2px solid var(--ink); border-radius: 12px; background: var(--yellow); text-decoration: none; box-shadow: 0 3px 0 var(--ink); font-size: 14px; }
.wall-link span { margin-left: auto; font-size: 22px; }
/* 🏆 today's PASS players */
.wall-top { margin-top: 14px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 12px; background: #fff7d6; }
.wall-top h3 { margin-bottom: 6px; font: 400 21px/1 var(--head); letter-spacing: .5px; }
.wall-top p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 5px 0; border-top: 1px solid #ecdfb6; font-size: 13.5px; }
.wall-top p:first-of-type { border-top: 0; }
.wall-top .rank { width: 24px; text-align: center; }
.wall-top .tag { padding: 1px 8px; border-radius: 999px; background: #1f9d55; color: #fff; font-size: 12px; font-weight: 700; }
.wall-top small { color: var(--muted); }
.wall { margin-top: 18px; }
.wall-form { display: grid; gap: 8px; margin-top: 10px; }
.wall-form select, .wall-form input, .wall-form textarea { width: 100%; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); font: 500 15px var(--body); }
.wall-form textarea { resize: vertical; font: 400 22px/1.25 var(--head); letter-spacing: 1px; }
.wall-list { display: grid; gap: 10px; margin-top: 14px; }
.wpost { border: 2px solid var(--ink); border-radius: 12px; padding: 10px 12px; background: var(--paper); box-shadow: 0 3px 0 var(--ink); }
.wpost header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 13px; }
.wpost header b { font-size: 14px; }
.wpost header .wm { padding: 1px 7px; border-radius: 999px; background: var(--ink); color: var(--yellow); font: 400 14px var(--head); letter-spacing: .5px; }
.wpost header time { color: var(--muted); margin-left: auto; }
.wpost pre { margin: 8px 0 6px; white-space: pre-wrap; word-break: break-word; font: 400 23px/1.25 var(--head); letter-spacing: 1px; }
.wpost .pass { display: inline-block; margin: 0 6px 6px 0; padding: 2px 8px; border-radius: 999px; background: #1f9d55; color: #fff; font-size: 12.5px; font-weight: 700; }
.wpost footer { display: flex; gap: 8px; }
.wpost footer button { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; font: 700 13px var(--body); cursor: pointer; }
.wpost footer button.on { background: #ffe1e1; color: var(--red); }
.wcom { margin-top: 10px; padding-top: 10px; border-top: 1.5px dashed #d9cfbb; }
.wcom-list p { margin-bottom: 6px; padding: 6px 10px; border-radius: 10px; background: #f3ecdd; font-size: 13.5px; line-height: 1.4; word-break: break-word; }
.wcom-form { display: flex; gap: 6px; }
.wcom-form input { flex: 1; min-width: 0; padding: 8px 12px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; font: 500 14px var(--body); }
.wcom-form button { flex: none; width: 40px; border: 0; border-radius: 50%; background: var(--yellow); box-shadow: 0 2px 0 var(--ink); font-size: 16px; cursor: pointer; }
.rate-dist { display: grid; gap: 5px; max-width: 300px; margin: 6px auto 12px; }
.rate-dist div { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.rate-dist span { color: var(--muted); text-align: right; white-space: nowrap; }
.rate-dist i { height: 9px; border-radius: 99px; background: #ece4d3; overflow: hidden; }
.rate-dist b { display: block; height: 100%; border-radius: 99px; background: #f5a400; }
.rate-dist em { font-style: normal; text-align: left; color: var(--ink); }
.rate-send { margin-top: 10px; padding: 11px 22px 9px; border: 2px solid var(--ink); border-radius: 999px; cursor: pointer;
  font: 400 21px/1 var(--head); letter-spacing: 1px; color: var(--ink); background: var(--yellow); box-shadow: 0 3px 0 var(--ink); }
.rate-send:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.rate-send[hidden] { display: none; }
.rate { scroll-margin-top: 90px; }

/* ── result page + chart facts ────────────────────────────── */
.tk.single { margin: 6px 0 22px; }
.tk h3 a { color: inherit; text-decoration: none; }
.hres { font-family: var(--head); font-size: 24px; letter-spacing: 1.5px; }
.facts ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.facts li { padding: 8px 12px; border-radius: 10px; background: #f3ecdd; }

/* ── home long-form content ───────────────────────────────── */
.card h3 { font-family: var(--head); font-weight: 400; font-size: 21px; letter-spacing: .5px; margin: 10px 0 4px; }
.mcols { display: grid; gap: 4px 18px; }
@media (min-width: 640px) { .mcols { grid-template-columns: 1fr 1fr; } }
.content ul.mlinks { list-style: none; padding: 0; gap: 2px; }
.gloss { display: grid; grid-template-columns: minmax(110px, 30%) 1fr; gap: 8px 14px; font-size: 14.5px; line-height: 1.6; }
.gloss dt { font-weight: 700; }
.gloss dd { color: #2f2b25; }
@media (max-width: 480px) { .gloss { grid-template-columns: 1fr; gap: 2px; } .gloss dd { margin-bottom: 8px; } }
.upd { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.foot-upd { text-align: center; margin-top: 22px; }

/* ── admin: one-line entry + saved list ───────────────────── */
.ahead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.ahead h1 { font-family: var(--head); font-weight: 400; font-size: 34px; line-height: 1; }
.ahead h1 small { font-family: var(--body); font-size: 14px; color: var(--muted); margin-left: 6px; }
.aform { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1.3fr auto; gap: 8px; align-items: center; margin-top: 12px; padding: 12px; }
.aform select, .aform input { min-width: 0; padding: 10px 10px 8px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; font: 700 15px var(--body); }
.aform input { font: 400 20px var(--head); letter-spacing: 1px; }
.aform .btn { padding: 10px 16px; }
@media (max-width: 720px) { .aform { grid-template-columns: 1fr 1fr; } .aform select, .aform .btn { grid-column: 1 / -1; } }
.alist { margin-top: 14px; padding: 6px; }
.alist table { min-width: 0; }
.alist td.hres { font-family: var(--head); font-size: 22px; letter-spacing: 1px; }
.acts { white-space: nowrap; text-align: right; }
.acts button { border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); width: 34px; height: 32px; margin-left: 4px; cursor: pointer; font-size: 15px; }
.atabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.atabs button { padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font: 700 14px var(--body); cursor: pointer; box-shadow: 0 2px 0 var(--ink); }
.atabs button.on { background: var(--ink); color: var(--yellow); }
.aform.r4 { grid-template-columns: 1.4fr 1fr 1.4fr auto; }
.aform.r5 { grid-template-columns: 1.4fr 1fr 1fr 1fr auto; }
.aform input[type="date"], .aform input[type="time"] { font: 700 15px var(--body); letter-spacing: 0; }
@media (max-width: 720px) { .aform.r4, .aform.r5 { grid-template-columns: 1fr 1fr; } .aform.r5 #nname { grid-column: 1 / -1; } }
.alist { overflow-x: auto; }
.alist td, .alist th { white-space: nowrap; }
@media (max-width: 560px) {
  .atabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .atabs button { padding: 7px 2px; font-size: 12px; }
  .alist td.hres { font-size: 18px; }
  .aform #gpanna, .aform #rresult { grid-column: 1 / -1; }
  .alist td, .alist th { padding: 7px 8px; }
}

.rl-numz { margin: 3px 0 3px; white-space: nowrap; font: 900 clamp(24px, 8.1vw, 38px)/1 var(--body); letter-spacing: .3px; font-variant-numeric: tabular-nums; color: #e3e147; }
.rl-sidez { justify-self: center; padding: 5px 0 3px; width: 50px; text-align: center; border-radius: 9px; color: #000;
  font: 400 10px/1 var(--head); letter-spacing: .6px; text-decoration: none; box-shadow: 0 2px 0 rgba(61, 11, 28, .35); }
.waitx {
  display: list-item;
}

/* ── Footer ───────────────────────────────────────────────── */
.foot {
  margin-top: 40px;
  padding: 44px 20px 28px;
  color: #f0e6ec;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(132, 204, 22, .16) 0%, transparent 60%),
    radial-gradient(120% 60% at 0% 100%, rgba(14, 165, 233, .18) 0%, transparent 60%),
    linear-gradient(135deg, #2a081f 0%, var(--ink) 55%, #1c0515 100%);
  border-top: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .04) inset;
}

.foot-wrap {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .foot-wrap { grid-template-columns: 1.2fr 2fr; gap: 48px; align-items: start; }
}

/* Brand block */
.foot-brand { display: grid; gap: 10px; }
.foot-logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff;
}
.foot-logo img { border-radius: 10px; box-shadow: 0 0 0 2px var(--yellow); }
.foot-logo span {
  font-family: var(--head); font-size: 26px; letter-spacing: .5px; line-height: 1;
}
.foot-logo b { color: var(--yellow); font-weight: 400; }
.foot-tag { font-size: 13px; line-height: 1.55; color: #b8c4d0; max-width: 320px; }

/* Channel pills */
.foot-channels { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.ch {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px 7px;
  border-radius: 999px;
  text-decoration: none;
  font: 700 13px var(--body);
  color: #fff;
  transition: transform .12s, box-shadow .12s;
}
.ch svg { width: 16px; height: 16px; flex: none; }
.ch:active { transform: translateY(1px); }
.ch-tg { background: linear-gradient(135deg, #37aee2, #1e88c7); box-shadow: 0 3px 0 #145c88; }
.ch-wa { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 3px 0 #0b5e53; }

/* Four columns of links */
.foot-cols {
  display: grid; gap: 24px 18px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .foot-cols { grid-template-columns: repeat(4, 1fr); } }

.foot-col h3 {
  margin: 0 0 8px;
  font: 400 17px/1 var(--head);
  letter-spacing: 1px;
  color: var(--yellow);
  text-transform: uppercase;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-col a {
  color: #d5dee7; text-decoration: none;
  font-size: 13.5px; font-weight: 500; line-height: 1.4;
  transition: color .15s, padding-left .15s;
}
.foot-col a:hover { color: var(--yellow); padding-left: 3px; }

/* Legal band */
.foot-legal {
  max-width: 1080px; margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  font-size: 12.5px; line-height: 1.7; color: #9aa7b4;
}
.foot-legal p { max-width: 720px; margin: 0 auto; }
.foot-legal .copy { margin-top: 10px; color: #6b7885; }

/* Mobile tweak */
@media (max-width: 480px) {
  .foot { padding: 32px 16px 22px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .foot-col a { font-size: 13px; }
}

/* whatapp + telegaram boxing  */
/* ── 60 / 20 / 20 row ─────────────────────────────────────── */
.trio {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.trio-lucky {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 54px;
  padding: 8px 14px;
  background: var(--ink);
  border: 2px solid var(--yellow);
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .35);
  overflow: hidden;
}

.trio-lucky-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.trio-lucky small {
  font-family: var(--head);
  font-size: 13px;
  letter-spacing: .8px;
  line-height: 1;
  color: var(--yellow);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trio-lucky b {
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
  color: #d8c9d2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trio-lucky strong {
  flex: none;
  font-family: var(--head);
  font-size: 26px;
  letter-spacing: 1.5px;
  line-height: 1;
  color: var(--yellow);
  white-space: nowrap;
}

.trio-ch {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .35);
  transition: transform .12s;
}
.trio-ch:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}

.trio-ch.tg {
  background: linear-gradient(135deg, #37aee2, #1e88c7);
}
.trio-ch.wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.trio-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

.trio-ico svg {
  width: 18px;
  height: 18px;
}

/* Small phones — tighten padding, keep everything on one row */
@media (max-width: 420px) {
  .trio { gap: 6px; }
  .trio-lucky { padding: 6px 10px; min-height: 50px; }
  .trio-lucky small { font-size: 11px; }
  .trio-lucky b { font-size: 10px; }
  .trio-lucky strong { font-size: 22px; }
  .trio-ch { min-height: 50px; }
  .trio-ico { width: 26px; height: 26px; }
  .trio-ico svg { width: 16px; height: 16px; }
}