/* DPBoss Satta Matka – site styles. Mobile first, light theme only.
   Look: classic DPBoss colours (peach ground, magenta bars, maroon, navy numbers), cleaner layout. */

:root {
    --brand: #6E0F1A;
    --brand-dark: #4E0A12;
    --brand-soft: #FFE3EF;
    --accent: #D6006F;
    --accent-soft: #FFE3EF;
    --gold: #FFD400;
    --navy: #12207A;
    --bg: #FFD3A6;
    --surface: #FFF8EF;
    --tint: #FFE9D2;
    --border: #E8A4C4;
    --line: #F3C9DA;
    --text: #2A0A10;
    --text-2: #6B4A3A;
    --live: #0A7A36;
    --live-bg: #DDF3E5;
    --open: #7A4A00;
    --open-bg: #FFF1B8;
    --wait: #5E5049;
    --wait-bg: #EFE4DA;
    --red: #C4001A;
    --red-bg: #FFE1E5;
    --cold: #12207A;
    --cold-bg: #E3E8FA;
    --radius: 14px;
    --radius-sm: 10px;
    --wrap: 1120px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 var(--font);
    padding-bottom: 64px;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }
button, input, select { font: inherit; color: inherit; }

.i { width: 22px; height: 22px; flex: none; }
.i-sm { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 50; background: var(--surface); padding: 8px 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.red { color: var(--red) !important; }
.num { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* ---------- Header ---------- */

.site-header {
    position: sticky; top: 0; z-index: 20;
    background: var(--brand); color: #fff;
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.logo:hover { color: #fff; }
.logo img { border-radius: 50%; background: #fff; }
.main-nav { display: none; gap: 4px; }
.main-nav a { color: #fff; text-decoration: none; padding: 8px 12px; border-radius: var(--radius-sm); font-size: .95rem; }
.main-nav a:hover { background: var(--brand-dark); color: #fff; }

.crumbs { font-size: .85rem; color: var(--text-2); padding-top: 12px; padding-bottom: 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--text-2); }
.crumbs .sep { color: var(--border); }

/* ---------- Devotional header banner ---------- */

.hbanner-wrap { max-width: var(--wrap); margin: 10px auto 0; padding: 0 16px; }
.hbanner {
    display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text);
    background: var(--surface); border: 2px solid var(--brand); border-radius: var(--radius);
    padding: 8px 14px 8px 8px; box-shadow: 0 0 0 3px var(--accent-soft);
}
.hbanner:hover { color: var(--text); }
.hbanner-img {
    width: 96px; height: 96px; object-fit: cover; object-position: 50% 18%;
    border-radius: 8px; border: 2px solid var(--accent); flex: none; background: #7A1F3D;
}
.hbanner-text { display: flex; flex-direction: column; gap: 4px; text-align: center; flex: 1; min-width: 0; }
.hbanner-text strong { font-size: 1.02rem; line-height: 1.3; font-style: italic; font-weight: 800; color: var(--text); }
.hbanner-text span { font-size: .82rem; color: var(--brand); font-weight: 600; }
@media (min-width: 900px) {
    .hbanner-img { width: 130px; height: 110px; }
    .hbanner-text strong { font-size: 1.35rem; }
    .hbanner-text span { font-size: .95rem; }
}

/* ---------- Hero / headings ---------- */

.hero { padding: 28px 0 8px; text-align: center; }
.hero h1 { color: var(--brand); font-size: 1.9rem; }
.hero-sub { color: var(--text-2); max-width: 640px; margin: 0 auto 14px; }
.notice {
    max-width: 720px; margin: 0 auto;
    background: var(--accent-soft); border: 1px solid #F3D9A8; color: #5A3A00;
    border-radius: var(--radius-sm); padding: 10px 14px; font-size: .92rem;
}
.page-head { padding-top: 16px; }
.page-head h1 { color: var(--brand); }

.section { padding-top: 28px; padding-bottom: 8px; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-head--center { flex-direction: column; text-align: center; }
.section-head--center p { max-width: 640px; margin: 0; }
.eyebrow {
    display: inline-block; background: var(--accent); color: var(--text);
    font-weight: 700; font-size: .85rem; padding: 6px 16px; border-radius: 999px;
}

.live-meta { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .85rem; color: var(--text-2); margin: 0; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(26,127,75,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(26,127,75,0); } 100% { box-shadow: 0 0 0 0 rgba(26,127,75,0); } }

/* ---------- Result cards ---------- */

.cards { display: grid; gap: 10px; grid-template-columns: 1fr; }
.cards--single { max-width: 520px; margin: 8px auto 10px; }
.rcard {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 12px 14px; transition: border-color .2s;
}
.rcard--big { border-top: 3px solid var(--accent); }
.rcard--live, .rcard--delayed { border-color: #E9B4B4; }
.rtop { display: flex; align-items: center; gap: 6px; }
.rname { margin: 0; font-size: 1rem; line-height: 1.3; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rname a { color: var(--brand); text-decoration: none; }
.fav { border: 0; background: none; padding: 2px 4px; font-size: 1rem; line-height: 1; cursor: pointer; color: #DCCFBF; }
.fav[aria-pressed="true"] { color: var(--accent); }
.rtop .chip { margin-left: auto; }
.rres {
    font-size: 1.6rem; font-weight: 800; margin: 6px 0 8px; white-space: nowrap; color: var(--text);
    font-variant-numeric: tabular-nums; letter-spacing: .04em; text-align: center;
}
.rcard--big .rres { font-size: 1.85rem; }
.rfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #F2EADF; padding-top: 8px; }
.rinfo { margin: 0; display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.rtime { font-size: .78rem; color: var(--text-2); }
.rlinks { display: flex; gap: 6px; flex: none; }
.rlinks a {
    font-size: .8rem; font-weight: 700; text-decoration: none; padding: 6px 12px; border-radius: 6px;
    border: 1px solid var(--border); color: var(--brand); background: var(--surface);
}
.rlinks a:first-child { background: var(--brand); border-color: var(--brand); color: #fff; }
.rlinks a:hover { border-color: var(--brand); }
.rnotice { font-size: .82rem; color: var(--open); background: var(--open-bg); border-radius: 6px; padding: 4px 8px; margin: 8px 0 0; text-align: center; }
.rcard.flash { animation: flash 2.4s ease-out; }
.rcard.flash .rres { animation: pop .6s ease-out; }
@keyframes flash { 0% { background: var(--accent-soft); } 100% { background: var(--surface); } }
@keyframes pop { 0% { transform: scale(1.25); } 100% { transform: scale(1); } }
.rcard[hidden] { display: none; }

.chip { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; letter-spacing: .02em; }
.chip--result { background: var(--live-bg); color: var(--live); }
.chip--result::before { content: "✓ "; }
.chip--open { background: var(--open-bg); color: var(--open); }
.chip--live { background: var(--red); color: #fff; animation: blink 1.1s steps(2, start) infinite; }
.chip--delayed { background: #FFE7CC; color: #9A4A00; }
.chip--waiting, .chip--closed, .chip--holiday { background: var(--wait-bg); color: var(--wait); }
@keyframes blink { to { opacity: .45; } }
.rcard--closed .rres { color: var(--wait); }

.timer { font-size: .8rem; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.timer:empty { display: none; }
.timer b { color: var(--brand); }
.timer .dots::after { content: "…"; display: inline-block; width: 1.2em; text-align: left; animation: dots 1.2s steps(4, end) infinite; overflow: hidden; vertical-align: bottom; }
@keyframes dots { 0% { width: 0; } 100% { width: 1.2em; } }

/* Live now strip */
.live-now {
    display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; padding: 10px 14px;
    background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--red);
    border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600;
}
.live-now-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex: none; animation: blink 1.1s steps(2, start) infinite; }
.live-now a { color: var(--brand); }

/* Session tabs */
.tabs { display: flex; gap: 6px; margin: 0 0 12px; overflow-x: auto; }
.tabs button {
    flex: 1; min-height: 40px; border: 1px solid var(--border); background: var(--surface); border-radius: 999px;
    font-weight: 600; font-size: .88rem; color: var(--text-2); cursor: pointer; padding: 0 14px;
}
.tabs button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Ticker */
.ticker { display: flex; align-items: center; background: var(--text); color: #fff; font-size: .85rem; overflow: hidden; }
.ticker-tag { background: var(--accent); color: var(--text); font-weight: 800; padding: 8px 12px; flex: none; text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; }
.ticker-track { overflow: hidden; flex: 1; }
.ticker-move { display: inline-flex; gap: 28px; white-space: nowrap; padding-left: 16px; animation: ticker 40s linear infinite; }
.ticker-move a { color: #fff; text-decoration: none; }
.ticker-move b { color: var(--accent); margin-right: 4px; }
.ticker:hover .ticker-move { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

.hero-badge {
    display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--red);
    background: var(--red-bg); padding: 4px 12px; border-radius: 999px; margin: 0 0 10px;
}
.hero-badge .pulse { background: var(--red); box-shadow: none; animation: blink 1.1s steps(2, start) infinite; }
.section--tight { padding-top: 14px; }

/* Ribbon headers (Starline) */
.ribbon {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px;
    background: var(--brand); color: #fff; border-bottom: 3px solid var(--accent);
}
.ribbon h3 { margin: 0; color: #fff; font-size: 1rem; font-style: italic; letter-spacing: .03em; text-transform: uppercase; }
.ribbon-btn { background: #fff; color: var(--brand); font-weight: 800; font-size: .78rem; padding: 4px 12px; border-radius: 6px; text-decoration: none; font-style: italic; }

/* Starline */
.sl-grid { display: grid; gap: 14px; }
.sl-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.wheel { position: relative; width: 230px; height: 230px; margin: 16px auto 10px; }
.wheel-svg { width: 100%; height: 100%; }
.wheel-spin { transform-origin: 110px 110px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wheel-center {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    pointer-events: none; text-align: center;
}
.wheel-center strong { font-size: 1.25rem; letter-spacing: .05em; }
.wheel-label { font-size: .7rem; font-weight: 700; color: var(--text-2); text-transform: uppercase; }
.wheel-center .timer { font-size: .72rem; }
.sl-table { font-size: .88rem; }
.sl-table th { background: var(--tint); font-size: .75rem; color: var(--text-2); padding: 8px 4px; border-top: 1px solid var(--border); }
.sl-table td { text-align: center; padding: 7px 4px; border-top: 1px solid var(--border); }
.sl-table td.strong { color: var(--brand); }

/* Delhi satta */
.satta-grid { display: grid; gap: 10px; }
.scard {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px;
}
.sname { margin: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; }
.sname a { color: var(--text); text-decoration: none; }
.stime { margin: 2px 0 0; font-size: .8rem; color: var(--text-2); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.snums { display: grid; grid-template-columns: auto auto auto; align-items: center; gap: 4px 8px; text-align: center; }
.sold { color: var(--text-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.sarrow { color: var(--text-2); }
.snew { background: var(--accent-soft); color: var(--brand); font-weight: 800; font-size: 1.2rem; padding: 2px 10px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.slink { grid-column: 1 / -1; font-size: .78rem; font-weight: 700; }

/* Guessing */
.guess-grid { display: grid; gap: 12px; }
.guess-grid--one { max-width: 520px; }
.gcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.gcard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.gcard-head h3 { margin: 0; font-size: 1rem; }
.gcard-head a { color: var(--brand); text-decoration: none; }
.gdate { font-size: .75rem; color: var(--text-2); }
.grow { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px dashed var(--border); }
.glabel { width: 52px; flex: none; font-size: .72rem; font-weight: 800; color: var(--text-2); text-transform: uppercase; }
.reels { display: flex; gap: 6px; }
.reel {
    width: 38px; height: 46px; display: grid; place-items: center; border-radius: 8px;
    background: var(--brand); color: #fff; font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums;
    box-shadow: inset 0 -6px 0 rgba(0,0,0,.18);
}
.reel.rolling { animation: roll .09s linear infinite; }
@keyframes roll { 0% { transform: translateY(-3px); } 50% { transform: translateY(3px); } 100% { transform: translateY(-3px); } }
.reel.landed { animation: land .35s ease-out; }
@keyframes land { 0% { transform: scale(1.3); background: var(--accent); color: var(--text); } 100% { transform: scale(1); } }
.gchips { display: flex; flex-wrap: wrap; gap: 6px; }
.gchips span { background: var(--tint); border: 1px solid var(--border); border-radius: 6px; padding: 2px 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gresult { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pf { font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.pf--pass { background: var(--live-bg); color: var(--live); }
.pf--fail { background: var(--red-bg); color: var(--red); }
.dots { display: inline-flex; gap: 4px; }
.d { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; font-size: .75rem; font-weight: 800; }
.d--pass { background: var(--live-bg); color: var(--live); }
.d--fail { background: var(--red-bg); color: var(--red); }
.d--na { background: var(--wait-bg); color: var(--wait); }

/* Notice board */
.notice-board {
    background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius); padding: 16px;
    box-shadow: 0 0 0 4px var(--accent-soft);
}
.nb-title { text-align: center; color: var(--brand); margin-bottom: 12px; }
.notice-board ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nb-item { padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 500; }
.nb-item--info { background: var(--tint); }
.nb-item--warning { background: var(--red-bg); color: #8E1C1C; }
.nb-item--success { background: var(--live-bg); color: #145C38; }
.nb-foot { text-align: center; font-size: .85rem; margin: 12px 0 0; }

/* Chart link index, how-to box */
.chart-index { display: grid; gap: 18px; }
.link-list { display: grid; grid-template-columns: 1fr; gap: 6px; }
.link-list a {
    display: block; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; font-size: .92rem;
}
.link-list a:hover { border-color: var(--brand); }
.how-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.how-result { text-align: center; font-size: 2rem; font-weight: 800; color: var(--brand); margin: 4px 0 10px; letter-spacing: .04em; }
.how-parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; text-align: center; }
.how-parts div { background: var(--tint); border-radius: var(--radius-sm); padding: 8px; }
.how-parts b { display: block; font-size: 1.2rem; }
.how-parts span { font-size: .75rem; color: var(--text-2); }

/* Mobile menu */
.mobile-menu { position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; color: #fff; padding: 8px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu-panel {
    position: absolute; right: 0; top: 46px; width: 230px; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.15); padding: 6px; z-index: 40;
}
.mobile-menu-panel a { display: block; padding: 11px 12px; color: var(--text); text-decoration: none; border-radius: 8px; font-weight: 600; }
.mobile-menu-panel a:hover { background: var(--tint); }
.mt { margin-top: 24px; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 44px; padding: 0 18px; border-radius: var(--radius-sm);
    font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; background: none;
}
.btn--sm { min-height: 36px; padding: 0 12px; font-size: .88rem; }
.btn--accent { background: var(--accent); color: var(--text); }
.btn--accent:hover { background: #E8960A; color: var(--text); }
.btn--line { border-color: var(--brand); color: var(--brand); }
.btn--line:hover { background: var(--brand-soft); }
.btn--ghost { border-color: var(--border); color: var(--text-2); background: var(--surface); }

.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; }

/* ---------- Search ---------- */

.search { position: relative; display: block; width: 100%; max-width: 280px; }
.search .i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-2); }
.search input {
    width: 100%; height: 42px; padding: 0 12px 0 36px;
    border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface);
}
.search input:focus, select:focus, input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------- Cards / stats ---------- */

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.card-title { font-size: 1rem; margin-bottom: 12px; }
.trend-grid { display: grid; gap: 12px; }

.bars { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; height: 170px; align-items: end; }
.bar { display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.bar-count { font-size: .72rem; color: var(--text-2); margin-bottom: 4px; }
.bar-fill { width: 100%; max-width: 30px; border-radius: 6px 6px 3px 3px; background: #F2D3A0; }
.bar--hot .bar-fill { background: var(--accent); }
.bar--cold .bar-fill { background: #A9BCD3; }
.bar-digit { font-weight: 700; margin-top: 6px; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .88rem; margin: 12px 0 0; color: var(--text-2); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--hot { background: var(--accent); }
.dot--cold { background: #A9BCD3; }
.dot--red { background: var(--red); }

.jodi-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.jchip {
    font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums;
    background: var(--tint); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px;
}
.jchip small { font-weight: 500; color: var(--text-2); font-size: .75rem; }
.jchip--red { color: var(--red); background: var(--red-bg); border-color: #F3C5C5; }

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; }
.stat-label { display: block; font-size: .78rem; color: var(--text-2); }
.stat-value { font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }

/* ---------- Links grids ---------- */

.chart-links { display: grid; grid-template-columns: 1fr; gap: 8px; }
.chart-link {
    display: flex; align-items: center; gap: 8px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px;
}
.chart-link > :first-child { flex: 1; font-weight: 600; color: var(--text); }
.chart-link a:not(:first-child) {
    font-size: .85rem; font-weight: 600; text-decoration: none; padding: 4px 10px;
    border-radius: 6px; background: var(--brand-soft); color: var(--brand);
}

.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qlink {
    display: flex; align-items: center; gap: 8px; padding: 12px; font-weight: 600; font-size: .9rem;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); text-decoration: none;
}
.qlink .i { color: var(--accent); }

.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool-card {
    display: flex; flex-direction: column; gap: 4px; padding: 14px; text-decoration: none; color: var(--text);
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.tool-card:hover { border-color: var(--accent); color: var(--text); }
.tool-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--brand); display: grid; place-items: center; }
.tool-name { font-weight: 700; color: var(--brand); }
.tool-desc { font-size: .82rem; color: var(--text-2); line-height: 1.4; }

.pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 14px; }
.pill {
    padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; text-decoration: none;
    background: var(--surface); border: 1px solid var(--border); color: var(--text);
}
.pill--on, .pill:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.guide-list { display: grid; gap: 10px; }
.guide-card {
    display: flex; flex-direction: column; gap: 6px; padding: 16px; text-decoration: none; color: var(--text);
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.guide-title { font-weight: 700; color: var(--brand); font-size: 1.05rem; }
.guide-sum { color: var(--text-2); font-size: .92rem; }

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); font-size: .92rem; }
.table thead th { background: var(--tint); font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--text-2); white-space: nowrap; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table--markets td:first-child { white-space: nowrap; }

.heat td { text-align: center; background: rgba(244, 165, 28, calc(var(--h) * .55)); }
.heat th { text-align: center; }
.patti td { font-variant-numeric: tabular-nums; word-spacing: 6px; line-height: 1.8; }
.patti th[scope=row] { font-size: 1.1rem; color: var(--brand); text-align: center; }

/* ---------- Charts ---------- */

.chart-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.chart-wrap {
    overflow: auto; max-height: 75vh; border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--surface); -webkit-overflow-scrolling: touch;
}
.chart { font-variant-numeric: tabular-nums; }
.chart th, .chart td { border: 1px solid var(--border); text-align: center; padding: 6px 4px; }
.chart thead th {
    position: sticky; top: 0; z-index: 2; background: var(--brand); color: #fff;
    font-size: .8rem; font-weight: 600; padding: 8px 4px;
}
.chart .wk {
    position: sticky; left: 0; z-index: 1; background: var(--tint);
    font-size: .68rem; font-weight: 500; color: var(--text-2); line-height: 1.25; min-width: 78px;
}
.chart .wk span { color: var(--border); }
.chart thead th:first-child { left: 0; z-index: 3; }
.chart--jodi td { font-size: 1.15rem; font-weight: 700; min-width: 42px; }
.chart--panel td { min-width: 70px; }
.chart .pc { white-space: nowrap; }
.chart .pc .pn { display: inline-block; vertical-align: middle; font-size: .72rem; line-height: 1.15; color: var(--text-2); }
.chart .pc b { display: inline-block; vertical-align: middle; font-size: 1.05rem; margin: 0 4px; }
.chart .red b, .chart td.red { color: var(--red); }
.chart tbody tr:nth-child(even) td { background: #FFFCF7; }

/* ---------- Tools ---------- */

.picker { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 16px; }
.picker label { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; color: var(--text-2); }
.picker select { height: 44px; min-width: 180px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); }

.tool-box { margin: 8px 0 20px; }
.big-input { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.big-input input {
    height: 64px; font-size: 2rem; font-weight: 700; text-align: center; letter-spacing: .3em;
    border: 2px solid var(--border); border-radius: var(--radius-sm); background: var(--bg);
}
.tool-out { margin-top: 14px; min-height: 60px; }
.tool-out .big { font-size: 2.4rem; font-weight: 800; color: var(--brand); margin: 0; line-height: 1.1; }
.tool-out .ok { color: var(--live); font-weight: 600; }
.tool-out .bad { color: var(--red); font-weight: 600; }

.cut-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 10px; }
.cut { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); text-align: center; padding: 6px; }
.cut b { display: block; font-size: 1.2rem; }
.cut span { color: var(--accent); font-weight: 700; }

.jgrid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.jcell {
    background: rgba(122, 31, 61, calc(.06 + var(--h) * .55)); border-radius: 5px; text-align: center; padding: 4px 0;
    color: var(--text); font-variant-numeric: tabular-nums;
}
.jcell b { display: block; font-size: .85rem; }
.jcell span { display: block; font-size: .68rem; }
.jcell--red b { color: var(--red); }
.jgrid--red .jcell--hit { background: var(--red); color: #fff; }
.jgrid--red .jcell--hit b { color: #fff; }
.jgrid--red .jcell--dim { background: var(--wait-bg); color: var(--wait); }
.chart .wk--name { text-align: left; font-size: .8rem; font-weight: 700; padding: 6px 8px; min-width: 110px; }
.chart .wk--name a { color: var(--brand); text-decoration: none; }
.chart--starline td { font-size: .82rem; white-space: nowrap; padding: 6px 8px; }
.chart--satta td { font-size: .95rem; font-weight: 700; min-width: 40px; }
.chart--satta td.blank { background: var(--wait-bg) !important; }

/* ---------- Prose / FAQ ---------- */

.prose { max-width: 820px; }
.prose p, .prose li { color: #33333B; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.page { padding-top: 16px; padding-bottom: 20px; }
.page h1 { color: var(--brand); }

.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 16px 14px; margin: 0; color: var(--text-2); }

/* ---------- Footer / bottom nav ---------- */

.site-footer { background: var(--brand-dark); color: #F1DCE3; margin-top: 40px; padding: 32px 0 20px; font-size: .9rem; }
.site-footer a { color: #fff; display: block; text-decoration: none; padding: 3px 0; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.footer-brand { font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: 4px; }
.footer-head { font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.footer-note { border-top: 1px solid rgba(255,255,255,.15); margin-top: 20px; padding-top: 14px; }
.footer-copy { font-size: .8rem; opacity: .8; margin: 0; }

.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr);
    background: var(--surface); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a, .bottom-nav button {
    border: 0; background: none; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px;
    font-size: .7rem; font-weight: 600; color: var(--text-2); text-decoration: none;
}
.bottom-nav a:hover, .bottom-nav a.on, .bottom-nav button:hover { color: var(--brand); }
.bottom-nav button.spinning .i { animation: spin .8s linear infinite; }

@media (max-width: 639px) {
    .table th, .table td { padding: 8px 10px; }
}

/* ---------- Larger screens ---------- */

@media (min-width: 640px) {
    .sl-grid, .satta-grid, .guess-grid { grid-template-columns: repeat(2, 1fr); }
    .link-list { grid-template-columns: repeat(2, 1fr); }
    .chart-links { grid-template-columns: repeat(2, 1fr); }
    .tool-grid { grid-template-columns: repeat(3, 1fr); }
    .stat-row { grid-template-columns: repeat(4, 1fr); }
    .quick-links { grid-template-columns: repeat(4, 1fr); }
    .guide-list { grid-template-columns: repeat(2, 1fr); }
    .cut-row { grid-template-columns: repeat(10, 1fr); }
    .jcell b { font-size: 1rem; }
}

@media (min-width: 900px) {
    body { padding-bottom: 0; }
    h1, .hero h1 { font-size: 2.2rem; }
    .bottom-nav { display: none; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .cards--featured { grid-template-columns: repeat(3, 1fr); }
    .satta-grid, .guess-grid { grid-template-columns: repeat(3, 1fr); }
    .chart-index { grid-template-columns: repeat(3, 1fr); }
    .link-list { grid-template-columns: 1fr; }
    .cards--single { grid-template-columns: 1fr; }
    .trend-grid { grid-template-columns: 1fr 1fr; }
    .chart-links { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 1100px) {
    .main-nav { display: flex; }
    .main-nav a { padding: 8px 10px; font-size: .92rem; }
    .cards { grid-template-columns: repeat(3, 1fr); }
    .mobile-menu { display: none; }
}


/* =====================================================================
   DPBoss theme
   ===================================================================== */

.site-header { background: var(--surface); color: var(--brand); border-bottom: 3px solid var(--accent); box-shadow: 0 2px 10px rgba(110, 15, 26, .08); }
.header-row { height: 62px; }
.logo { color: var(--accent); gap: 8px; }
.logo:hover { color: var(--accent); }
.logo-mark { font-size: 1.7rem; font-weight: 900; font-style: italic; letter-spacing: -.5px; color: var(--accent); line-height: 1; }
.logo-sub { font-size: .7rem; font-weight: 800; letter-spacing: .18em; color: var(--brand); line-height: 1.1; }
.main-nav a { color: var(--brand); font-weight: 700; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--accent); color: #fff; }
.mobile-menu summary { color: var(--brand); border: 1px solid var(--border); border-radius: 10px; background: #fff; min-width: 44px; min-height: 44px; display: grid; place-items: center; }

.hbanner { border-color: var(--accent); box-shadow: 0 0 0 3px #FFE9D2; background: var(--surface); }
.hbanner-img { border-color: var(--gold); }
.hbanner-text strong { color: var(--brand); }
.hbanner-text span { color: var(--accent); }

/* Section bars: the DPBoss magenta strip */
.bar-head {
    margin: 0; background: var(--accent); color: #fff; text-align: center; font-size: 1.15rem; font-weight: 800;
    letter-spacing: .02em; padding: 9px 12px; text-transform: uppercase; font-style: italic;
}
.bar-head--dark { background: var(--brand); }
.box { background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius); overflow: hidden; }
.box-body { padding: 14px; }
.section--gap { margin-top: 14px; }
.section-head h2 { color: var(--brand); }
.section-head--bar { display: block; margin-bottom: 12px; }
.section-head--bar h2 {
    background: var(--brand); color: #fff; text-align: center; border-radius: var(--radius-sm); padding: 9px 12px;
    font-size: 1.1rem; font-weight: 800; font-style: italic; text-transform: uppercase;
}
.eyebrow { background: var(--accent); color: #fff; }

/* Notice strip (Hindi) */
.notice-strip {
    display: flex; align-items: center; gap: 10px; background: var(--brand); color: #FFF3D6;
    border-radius: var(--radius-sm); padding: 10px 14px; margin: 12px 0 0; font-size: 1rem; line-height: 1.45;
}
.notice-strip b { flex: none; background: var(--gold); color: #3A0008; font-size: .72rem; padding: 3px 10px; border-radius: 999px; }

.hero { padding: 18px 0 4px; }
.hero h1 { color: var(--brand); font-style: italic; font-weight: 900; }
.hero-badge { background: #fff; color: var(--live); border: 1px solid #BFE6CC; }
.hero-badge .pulse { background: var(--live); }

/* Lucky number */
.lucky { display: grid; grid-template-columns: 1fr; }
.lucky > div { padding: 14px; text-align: center; }
.lucky > div + div { border-top: 1px solid var(--line); }
.lucky-label { display: block; font-weight: 800; color: var(--brand); font-size: .9rem; }
.lucky-big { font-size: 2rem; font-weight: 900; font-style: italic; color: var(--navy); letter-spacing: .08em; }
.lucky-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; margin-top: 6px; font-weight: 700; color: var(--navy); font-size: .95rem; }
.lucky-list span { display: flex; justify-content: space-between; border-bottom: 1px dotted var(--line); padding: 2px 0; }
.lucky-list b { color: var(--accent); }

/* Live result box */
.live-box .box-body { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; }
.live-item { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); text-decoration: none; display: block; color: inherit; }
.live-item:last-child { border-bottom: 0; }
.live-item strong { display: block; color: var(--brand); font-size: 1.05rem; }
.live-item .lnum { display: block; font-size: 1.7rem; font-weight: 900; font-style: italic; color: var(--navy); letter-spacing: .04em; }
.live-item small { color: var(--text-2); }
.live-tagline { text-align: center; font-weight: 700; color: var(--brand); margin: 10px 0 0; }

/* Result cards: name and big number in the middle, Jodi | Panel on the sides */
.rcard { background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius); padding: 12px; }
.rcard--live, .rcard--delayed { border-color: var(--live); box-shadow: 0 0 0 3px var(--live-bg); }
.rcard--open { border-color: var(--accent); }
.rcard--big { border-top-width: 2px; border-color: var(--accent); }
.rname a { color: var(--brand); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
.rres { color: var(--navy); font-style: italic; font-weight: 900; font-size: clamp(1.2rem, 6vw, 1.85rem); letter-spacing: .01em; margin: 4px 0 6px; }
.rcard--closed .rres, .rcard--holiday .rres { color: var(--navy); opacity: .55; }
.rcard--big .rres { font-size: clamp(1.2rem, 6vw, 2.1rem); }
.rgrid { display: grid; grid-template-columns: 54px minmax(0, 1fr) 54px; gap: 6px; align-items: center; }
.rside {
    display: flex; align-items: center; justify-content: center; text-align: center; min-height: 64px;
    font-weight: 800; font-size: .85rem; text-decoration: none; border-radius: 10px;
    background: var(--brand-soft); color: #8A0040; border: 1px solid var(--border); line-height: 1.15;
}
.rside:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.rmid { min-width: 0; text-align: center; }
.rmid .rtop { justify-content: center; }
.rmid .rtop .chip { margin-left: 0; }
.rmeta { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .78rem; color: var(--text-2); }
.rstats { font-size: .75rem; font-weight: 700; text-decoration: none; color: var(--accent); }
.fav { color: #E0B8C8; font-size: 1.15rem; min-width: 32px; min-height: 32px; }
.fav[aria-pressed="true"] { color: var(--accent); }
.timer b { color: var(--accent); }

.chip--result { background: var(--wait-bg); color: var(--wait); }
.chip--open { background: var(--gold); color: #3A0008; }
.chip--live { background: var(--live); color: #fff; }
.chip--waiting { background: var(--navy); color: #fff; }
.chip--delayed { background: #FFE1CC; color: #8A3A00; }

.live-now { background: var(--surface); border: 2px solid var(--live); border-left-width: 6px; }
.live-now-dot { background: var(--live); }
.tabs button { background: var(--surface); border-color: var(--border); color: var(--brand); font-weight: 700; }
.tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.ticker { background: var(--brand); }
.ticker-tag { background: var(--gold); color: #3A0008; }
.ticker-move b { color: var(--gold); }

.ribbon { background: var(--accent); border-bottom-color: var(--brand); }
.ribbon-btn { color: var(--accent); }
.sl-box, .scard, .gcard, .card, .how-box, .tool-card, .guide-card, .link-list a, .chart-link, .qlink, .faq details, .stat {
    background: var(--surface); border-color: var(--border);
}
.scard, .gcard, .card { border-width: 2px; }
.snew { background: var(--navy); color: #fff; }
.reel { background: var(--accent); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #B0005B; color: #fff; }
.pill--on, .pill:hover { background: var(--accent); border-color: var(--accent); }
.tool-icon { background: var(--brand-soft); color: var(--accent); }
.tool-name { color: var(--accent); }
.link-list a:hover, .tool-card:hover { border-color: var(--accent); }

.chart thead th { background: var(--brand); }
.chart .wk { background: var(--tint); }
.chart td b, .chart--jodi td { color: var(--navy); }
.chart .red b, .chart td.red, .chart--jodi td.red { color: var(--red); }
.chart tbody tr:nth-child(even) td { background: #FFF3E6; }
.chart td.hit { background: var(--gold) !important; outline: 2px solid var(--accent); outline-offset: -2px; }
.chart.dim td:not(.hit):not(.wk) { opacity: .35; }
.chart-find { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.chart-find input { width: 120px; height: 44px; border: 2px solid var(--border); border-radius: var(--radius-sm); text-align: center; font-size: 1.2rem; font-weight: 800; letter-spacing: .15em; background: #fff; }
.chart-find output { font-weight: 700; color: var(--brand); font-size: .9rem; }

.how-result { color: var(--navy); font-style: italic; }
.site-footer { background: var(--brand-dark); }
.footer-head { color: var(--gold); }
.bottom-nav { background: var(--surface); border-top: 2px solid var(--accent); }
.bottom-nav a:hover, .bottom-nav a.on, .bottom-nav button:hover { color: var(--accent); }

/* Stats pages */
.stat-hero { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 16px; }
.stat-hero h1 { color: #fff; margin: 0 0 10px; font-style: italic; }
.stat-hero .pill-row { margin: 0 0 12px; }
.stat-hero .pill { background: transparent; border-color: #F3B9D2; color: #fff; }
.stat-hero .pill--on { background: var(--gold); border-color: var(--gold); color: #3A0008; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.kpis div { background: rgba(255,255,255,.1); border-radius: 10px; padding: 8px 4px; }
.kpis b { display: block; font-size: 1.5rem; color: var(--gold); font-weight: 900; }
.kpis span { font-size: .72rem; }
.stat-grid { display: grid; gap: 14px; margin-top: 14px; }
.bars--navy .bar-fill { background: var(--navy); }
.bars--navy .bar--hot .bar-fill { background: var(--accent); }
.bars--navy .bar--cold .bar-fill { background: #9AA6D6; }
.heatmap { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.heatmap a {
    aspect-ratio: 1; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-decoration: none; font-weight: 800; font-size: .8rem; line-height: 1.05;
    background: rgba(214, 0, 111, calc(.06 + var(--h) * .9)); color: var(--text);
}
.heatmap a small { font-size: .6rem; font-weight: 600; opacity: .8; }
.heatmap a.hot { color: #fff; }
.heat-legend { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--text-2); margin-top: 8px; }
.heat-legend i { width: 18px; height: 12px; border-radius: 3px; display: inline-block; background: rgba(214, 0, 111, var(--h)); border: 1px solid var(--line); }
.gap-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.gap-row:first-child { border-top: 0; }
.gap-j { width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.05rem; flex: none; }
.gap-j.red { background: var(--red); color: #fff !important; }
.gap-bar { flex: 1; min-width: 0; }
.gap-bar b { font-size: .9rem; }
.gap-track { height: 7px; border-radius: 7px; background: var(--brand-soft); margin-top: 4px; }
.gap-track span { display: block; height: 7px; border-radius: 7px; background: var(--accent); }
.gap-last { font-size: .75rem; color: var(--text-2); white-space: nowrap; }
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.week-grid div { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 8px 2px; }
.week-grid small { display: block; font-size: .7rem; font-weight: 700; color: var(--text-2); }
.week-grid b { font-size: 1.35rem; color: var(--navy); }
.split { display: flex; height: 26px; border-radius: 8px; overflow: hidden; }
.split span { display: block; }
.split-legend { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-top: 6px; font-size: .82rem; font-weight: 700; }
.panna-list { display: flex; flex-wrap: wrap; gap: 8px; }
.panna-list span { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; font-weight: 800; color: var(--navy); }
.panna-list small { color: var(--text-2); font-weight: 600; }
.stats-note { font-size: .78rem; color: var(--text-2); text-align: center; margin: 14px 0 0; }

@media (min-width: 640px) {
    .lucky { grid-template-columns: 1fr 1fr; }
    .lucky > div + div { border-top: 0; border-left: 1px solid var(--line); }
    .live-box .box-body { grid-template-columns: repeat(3, 1fr); }
    .live-item { border-right: 1px solid var(--line); }
    .rgrid { grid-template-columns: 84px minmax(0, 1fr) 84px; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .heatmap a { font-size: .9rem; }
}
@media (min-width: 1100px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .cards--featured { grid-template-columns: repeat(3, 1fr); }
}

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

@media print {
    .site-header, .bottom-nav, .site-footer, .chart-tools, .pill-row { display: none; }
    .chart-wrap { max-height: none; overflow: visible; border: 0; }
}

/* ---------- v1.4: highlighted markets and badges ---------- */
.rcard--hl { border-width: 3px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.rcard--hl-yellow { background: #FFF200; border-color: #E2B400; }
.rcard--hl-pink   { background: #FFD6E8; border-color: #D6006F; }
.rcard--hl-green  { background: #D3F8DA; border-color: #1E9E45; }
.rcard--hl-blue   { background: #D9E7FF; border-color: #12207A; }
.rcard--hl-orange { background: #FFE0C2; border-color: #E06A00; }
.rcard--hl-red    { background: #FFD1D1; border-color: #C4001A; }
.rcard--hl .rside { background: rgba(255,255,255,.55); }
.rcard--hl-yellow .rname a, .rcard--hl-yellow .rres { color: #12207A; }
.rbadge {
    display: inline-block; vertical-align: middle; flex-shrink: 0;
    font-size: .62rem; font-weight: 800; letter-spacing: .5px; line-height: 1;
    padding: 4px 6px; border-radius: 6px; background: #C4001A; color: #fff;
    animation: rbadge-blink 1.2s steps(2, start) infinite;
}
@keyframes rbadge-blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .rbadge { animation: none; } }

/* ---------- v1.5: guessing forum ---------- */
.fm-layout { display: grid; gap: 16px; }
@media (min-width: 900px) { .fm-layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } }
.fm-main, .fm-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fm-form { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.fm-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: .9rem; }
.fm-form small { font-weight: 400; color: var(--muted, #6B4A3A); }
.fm-form input, .fm-form select { font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; min-height: 44px; width: 100%; box-sizing: border-box; }
.fm-row { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .fm-row { grid-template-columns: 1fr 1fr; } .fm-row--3 { grid-template-columns: 1fr 1fr 1fr; } }
.fm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fm-list { display: flex; flex-direction: column; gap: 10px; }
.fm-post { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.fm-post--pass { border: 2px solid #1E9E45; background: #F0FFF3; }
.fm-post header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fm-market { font-size: .78rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--navy, #12207A); color: #fff; text-decoration: none; }
.fm-post time { margin-left: auto; }
.fm-post dl { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 0; }
.fm-post dt { font-size: .72rem; text-transform: uppercase; color: var(--muted, #6B4A3A); }
.fm-post dd { margin: 0; font-weight: 800; font-size: 1.05rem; color: var(--navy, #12207A); letter-spacing: .5px; }
.fm-msg { margin: 6px 0 0; font-size: .9rem; overflow-wrap: anywhere; }
.fm-pass { font-size: .72rem; font-weight: 800; color: #fff; background: #1E9E45; border-radius: 6px; padding: 2px 6px; vertical-align: middle; }
.fm-fail { font-size: .8rem; color: #C4001A; vertical-align: middle; }
.fm-leaders { list-style: none; margin: 0; padding: 6px 12px 12px; }
.fm-leaders li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.fm-leaders li:last-child { border-bottom: 0; }
.fm-alert { margin: 12px 12px 0; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.fm-alert--ok { background: #E3F8E8; color: #136B2E; }
.fm-alert--bad { background: #FFE3E3; color: #9B0015; }

/* ---------- v1.7: starline / jackpot with many slots ---------- */
.sl-now { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
.sl-now > div { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.sl-now span { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--muted, #6B4A3A); }
.sl-now b { font-size: 1.5rem; font-weight: 900; color: var(--navy, #12207A); letter-spacing: .5px; }
.sl-now small { font-size: .78rem; color: var(--muted, #6B4A3A); }
.sl-scroll { max-height: 440px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sl-scroll thead th { position: sticky; top: 0; z-index: 1; }
