/* ==========================================================================
   Mono — near-zero chrome. Big type, hairline rules, one accent colour.
   Deliberately the lightest template in the set.
   ========================================================================== */

:root {
    --bg: #ffffff;
    --ink: #0b0b0c;
    --dim: #8a8a8f;
    --hair: #e6e6e8;
    --accent: #e3002b;
    --wa: #0f9d58;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 22px 60px; }

/* Everything fades up once, nothing loops. */
.up { opacity: 0; transform: translateY(12px); animation: up .5s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes up { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------- nav */

.nav { display: flex; align-items: baseline; gap: 20px; padding: 26px 0 20px; }
.nav .name { font-size: 15px; font-weight: 700; letter-spacing: -.2px; }
.nav .links { display: flex; gap: 16px; margin-left: auto; }
.nav .links a { color: var(--dim); font-size: 14px; }
.nav .links a:hover, .nav .links a.on { color: var(--ink); }

/* ------------------------------------------------------------------ lead */

.lead { padding: 28px 0 34px; border-top: 1px solid var(--ink); }
.lead .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--dim); font-size: 13px; }
.lead .meta .live { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; }
.lead .meta .live i { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

.lead h1 { margin-top: 18px; font-size: 15px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--dim); }

.big {
    margin-top: 6px;
    font-size: 132px;
    font-weight: 800;
    line-height: .92;
    letter-spacing: -7px;
    font-variant-numeric: tabular-nums;
}

/* Countdown reads as a clock face made of type, not an icon. It carries eight
   characters, so the size tracks the viewport instead of a fixed 92px. */
.big.count { font-size: min(13vw, 92px); letter-spacing: -5px; font-variant-numeric: tabular-nums; }
.lead .sub { margin-top: 14px; color: var(--dim); font-size: 15px; }
.lead .hindi { margin-top: 10px; font-size: 16px; }

/* ---------------------------------------------------------------- notice */

.notice { padding: 12px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-size: 14px; }
.notice a { border-bottom: 1px solid var(--accent); color: var(--accent); }

/* ------------------------------------------------------------------ list */

.sec { padding: 34px 0 0; }
.sec-h { display: flex; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.sec-h h2 { font-size: 13px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; }
.sec-h span { margin-left: auto; color: var(--dim); font-size: 13px; }

.row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--hair);
}

.row .rname { flex: 1; min-width: 0; font-size: 22px; font-weight: 700; letter-spacing: -.3px; }
.row .rtime { flex: 0 0 auto; color: var(--dim); font-size: 13px; font-variant-numeric: tabular-nums; }
.row .rprev { flex: 0 0 auto; width: 46px; color: var(--dim); font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; }
.row .rnow { flex: 0 0 auto; min-width: 92px; text-align: right; }

.row .rlink { flex: 0 0 auto; color: var(--dim); font-size: 13px; }
.row .rlink:hover { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* -------------------------------------------------------------- key/val */

.kv { list-style: none; }
.kv li { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.kv li i { flex: 1; }
.kv b { font-variant-numeric: tabular-nums; }

.line { margin-top: 12px; color: var(--dim); font-size: 14px; }

.btn { display: inline-block; margin-top: 18px; padding: 12px 26px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.btn:hover { background: var(--accent); }
.btn.alt { margin-left: 8px; background: none; border: 1px solid var(--ink); color: var(--ink); }
.btn.alt:hover { background: var(--ink); color: #fff; }

/* ---------------------------------------------------------- week table */

.rec-wrap { overflow-x: auto; }
.rec { width: 100%; border-collapse: collapse; font-size: 14px; }
.rec th, .rec td { padding: 9px 8px; border-bottom: 1px solid var(--hair); text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rec thead th { border-bottom: 1px solid var(--ink); color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
.rt-date { color: var(--ink); font-weight: 600; text-align: left; }
.rt-dash { color: var(--hair); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 24px; margin-top: 8px; }
.step { padding: 16px 0; border-bottom: 1px solid var(--hair); }
.step b { display: block; font-size: 15px; }
.step span { color: var(--dim); font-size: 14px; }
.step .n { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 1px; }

/* ------------------------------------------------------------------- faq */

.faq-item { border-bottom: 1px solid var(--hair); }
.faq-q { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; width: 100%; padding: 15px 0; background: none; border: 0; color: var(--ink); font-family: inherit; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; }
.faq-ico { color: var(--dim); font-size: 18px; font-style: normal; transition: transform .25s ease; }
.faq-item.open .faq-ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding-bottom: 15px; color: var(--dim); font-size: 15px; }

/* --------------------------------------------------------------- article */

.article { padding: 26px 0 0; }
.article h3 { margin-bottom: 10px; font-size: 20px; font-weight: 700; letter-spacing: -.3px; }
.article p { margin-bottom: 12px; color: #3c3c40; font-size: 15px; }

/* --------------------------------------------------------------- footer */

.foot { margin-top: 40px; padding: 26px 0 0; border-top: 1px solid var(--ink); }
.foot .fname { font-size: 15px; font-weight: 700; }
.foot p { margin-top: 8px; color: var(--dim); font-size: 13px; word-break: break-word; }

.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--wa); border-radius: 50%; color: #fff; }

/* ------------------------------------------------------------ chart page */

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0; }
.filters select, .filters input { padding: 9px 10px; background: none; border: 1px solid var(--hair); color: var(--ink); font-family: inherit; font-size: 14px; }
.btn-sm { display: inline-block; padding: 9px 18px; background: var(--ink); border: 0; color: #fff; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.btn-sm.ghost { background: none; border: 1px solid var(--hair); color: var(--ink); }

@media (max-width: 620px) {
    .big { font-size: 84px; letter-spacing: -4px; }
    .big.wait { font-size: 42px; }
    .row { flex-wrap: wrap; gap: 8px 12px; }
    .row .rname { flex: 1 1 100%; font-size: 19px; }
    .row .rnow { width: auto; margin-left: auto; }
    .row .rlink { flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .up { opacity: 1; transform: none; }
}

/* ------------------------------------------------- day progress + rows */

/* Hairline across the very top: share of today's results already declared. */
.dayline { position: fixed; top: 0; left: 0; right: 0; z-index: 5; height: 2px; background: var(--hair); }
.dayline i { display: block; height: 100%; background: var(--accent); transition: width .8s ease; }

/* Left rule slides in on hover, which is the only "chrome" this design gets. */
.row { position: relative; transition: padding-left .25s ease; }

.row::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background: var(--ink);
    opacity: 0;
    transition: opacity .25s ease;
}

.row:hover::before { opacity: 1; }
.row:hover { padding-left: 6px; }

.row .num { font-size: 26px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.row .left { color: var(--dim); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* The next game due gets a quiet marker rather than a loud badge. */
.row.next::before { opacity: 1; background: var(--accent); }
.up-next { margin-left: 8px; color: var(--accent); font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; vertical-align: middle; }
.row.next .left { color: var(--ink); font-weight: 600; }
