/* Ratan Matka landing, design 9 "papercut": layered paper, wavy cut edges, punched tags. Flat colours only. */
:root {
  --pc-1: #CFE4FA; --pc-2: #8CC4F5; --pc-3: #3287D7; --pc-4: #1E66AD; --pc-deep: #2A78C2; --pc-ink: #14243A; --pc-page: #F4F8FC;
  --pc-sh: rgba(30, 102, 173, .26); --pc-sh2: rgba(20, 36, 58, .14);
  --ink: #14243A; --muted: #4A5B72; --line: #C3D8EE; --soft: #EAF3FC; --head: #E3EFFB; --accent: #1E66AD; --accent-ink: #14243A;
  --red: #B3261E; --today: #CFE4FA; --amber-dk: #3287D7; --on-amber: #14243A; --page: #F4F8FC;
  --fb: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; --fm: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
  --fw: "Baloo 2", "Nunito", system-ui, sans-serif;
}
body.papercut { background: var(--pc-page); color: var(--ink); font: 400 1.0625rem/1.55 var(--fb); overflow-x: clip; }
.papercut main { overflow-x: clip; display: block; }
.papercut-wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.papercut a { color: var(--pc-4); }
.papercut :focus-visible { outline: 3px solid var(--pc-ink); outline-offset: 3px; border-radius: 4px; }
.papercut .skip { background: var(--pc-ink); }
.papercut h1, .papercut h2, .papercut h3 { font-family: var(--fw); font-weight: 700; line-height: 1.15; }
.papercut-slogan, [lang="hi"].papercut-slogan { font-family: "Mukta", sans-serif; font-weight: 700; letter-spacing: 0; text-transform: none; font-style: normal; }
.flash { animation: pcflash 1.6s; }
@keyframes pcflash { 0% { background: #8CC4F5; } 100% { background: transparent; } }

/* ---------- buttons ---------- */
.papercut .btn, .papercut-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 22px; border-radius: 14px; background: var(--pc-deep); color: #fff !important; font: 800 1.05rem var(--fb); text-decoration: none; border: 0; box-shadow: 4px 4px 0 var(--pc-ink); transition: transform .15s, box-shadow .15s; text-align: center; }
.papercut .btn:hover, .papercut-btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--pc-ink); }
.papercut .btn-sm { min-height: 44px; padding: 6px 16px; font-size: .95rem; box-shadow: 3px 3px 0 var(--pc-ink); }
.papercut-btn2 { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 18px; font-weight: 800; color: var(--pc-ink) !important; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- header ---------- */
.papercut-bar { position: relative; background: var(--pc-1); z-index: 5; --pc-bg: var(--pc-1); }
.papercut-bar-in { display: flex; align-items: center; gap: 12px; min-height: 66px; padding-block: 8px; }
.papercut-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pc-ink) !important; font: 800 1.35rem var(--fw); margin-right: auto; min-height: 44px; }
.papercut-brand img { border-radius: 50%; box-shadow: 2px 2px 0 var(--pc-sh); }
.papercut-nav { display: none; gap: 4px; }
.papercut-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 800; color: var(--pc-ink); text-decoration: none; border-radius: 10px; }
.papercut-nav a:hover { background: var(--pc-2); }
@media (min-width: 720px) { .papercut-nav { display: flex; } }
.papercut-edge { position: absolute; left: 0; width: 100%; height: 44px; top: -43px; display: block; pointer-events: none; z-index: 1; filter: drop-shadow(0 -4px 0 var(--pc-sh2)); }
.papercut-edge path { fill: var(--pc-bg); }
.papercut-bar-edge { top: auto; bottom: -43px; transform: scaleY(-1); filter: drop-shadow(0 4px 0 var(--pc-sh2)); }
.chart-page .papercut-bar-edge path { fill: var(--pc-1); }
.papercut-bar-edge { z-index: 0; }

/* ---------- hero ---------- */
.papercut-hero { position: relative; background: var(--pc-1); overflow: hidden; padding: 18px 0 150px; }
.papercut-hero-in { position: relative; z-index: 3; display: grid; gap: 20px; align-items: center; }
.papercut-date { display: flex; flex-wrap: wrap; gap: 4px 10px; font-weight: 800; font-size: .92rem; color: var(--pc-ink); }
.papercut-date span { background: #fff; padding: 3px 12px; border-radius: 8px 8px 8px 2px; box-shadow: 2px 2px 0 var(--pc-sh); }
.papercut-hero h1 { font-size: clamp(2.3rem, 9vw, 4.2rem); color: var(--pc-ink); margin: 14px 0 6px; font-weight: 800; }
.papercut-hero .papercut-slogan { font-size: clamp(1.6rem, 6vw, 2.4rem); color: var(--pc-4); margin-bottom: 8px; line-height: 1.3; }
.papercut-lede { max-width: 34em; color: var(--pc-ink); font-weight: 600; }
.papercut-cta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 18px; }
.papercut-stack { position: relative; height: 210px; max-width: 360px; width: 100%; margin: 6px auto 0; }
.papercut-sheet { position: absolute; display: block; border-radius: 22px; will-change: transform; }
.papercut-sh1 { inset: 6% 8% 14% 4%; background: var(--pc-2); transform: rotate(-6deg); box-shadow: 6px 7px 0 var(--pc-sh); }
.papercut-sh2 { inset: 12% 4% 8% 12%; background: var(--pc-3); transform: rotate(4deg); box-shadow: 6px 7px 0 var(--pc-sh); }
.papercut-sh3 { inset: 18% 14% 4% 18%; background: #fff; transform: rotate(-1.5deg); box-shadow: 6px 7px 0 var(--pc-sh); display: grid; place-items: center; }
.papercut-sh3 img { width: 44%; max-width: 110px; border-radius: 50%; }
.papercut-sh3::after { content: ""; position: absolute; right: 0; top: 0; width: 34px; height: 34px; background: var(--pc-2); clip-path: polygon(0 0, 100% 100%, 0 100%); border-bottom-left-radius: 0; }
.papercut-dot { position: absolute; border-radius: 50%; display: block; }
.papercut-d1 { width: 46px; height: 46px; background: var(--pc-3); right: 2%; top: -4%; box-shadow: 3px 4px 0 var(--pc-sh); }
.papercut-d2 { width: 26px; height: 26px; background: var(--pc-4); left: 0; bottom: 4%; box-shadow: 2px 3px 0 var(--pc-sh); }
.papercut-layers { position: absolute; left: 0; right: 0; bottom: 0; height: 190px; z-index: 1; pointer-events: none; }
.papercut-ly { position: absolute; left: 0; width: 100%; will-change: transform; filter: drop-shadow(0 -5px 0 var(--pc-sh2)); }
.papercut-l2 { bottom: -40px; height: 190px; } .papercut-l2 path { fill: var(--pc-2); }
.papercut-l3 { bottom: -40px; height: 150px; } .papercut-l3 path { fill: var(--pc-3); }
.papercut-l4 { bottom: -40px; height: 112px; } .papercut-l4 path { fill: var(--pc-4); }
@media (min-width: 860px) {
  .papercut-hero { padding: 36px 0 190px; }
  .papercut-hero-in { grid-template-columns: 1.2fr .8fr; gap: 40px; }
  .papercut-stack { height: 320px; max-width: 420px; }
  .papercut-layers { height: 240px; }
}

/* ---------- sections + ribbons ---------- */
.papercut-sec { position: relative; background: var(--pc-bg); padding: 56px 0 58px; }
.papercut-s-page + .papercut-s-tint, .papercut-sec + .papercut-sec { }
.papercut-rib { display: inline-block; margin: 0 0 8px; font-size: clamp(1.6rem, 6vw, 2.2rem); color: #fff; position: relative; filter: drop-shadow(3px 4px 0 var(--pc-sh)); }
.papercut-rib span { display: block; background: var(--pc-4); padding: 4px 30px 4px 20px; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%); }
.papercut-rib-w { filter: drop-shadow(3px 4px 0 rgba(20, 36, 58, .35)); }
.papercut-rib-w span { background: #fff; color: var(--pc-4); }
.papercut-rib2 { margin-top: 44px; }
.papercut-sub { margin: 4px 0 24px; color: var(--muted); font-weight: 600; max-width: 40em; }
.papercut-s-deep .papercut-sub { color: #fff; }

/* ---------- result tags ---------- */
.papercut-tags { list-style: none; display: grid; gap: 22px 20px; grid-template-columns: 1fr; padding: 12px 8px 16px; }
@media (min-width: 600px) { .papercut-tags { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .papercut-tags { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .papercut-tags { grid-template-columns: repeat(4, 1fr); } }
.papercut-tagwrap { filter: drop-shadow(5px 6px 0 var(--pc-sh)); transform: rotate(-1deg); transition: transform .25s; }
.papercut-tagwrap:nth-child(even) { transform: rotate(1deg); }
.papercut-tagwrap:nth-child(3n) { transform: rotate(-.6deg); }
.papercut-tagwrap:hover, .papercut-tagwrap:focus-within { transform: rotate(0) translateY(-3px); }
.papercut-tag { position: relative; background: #fff; padding: 34px 18px 18px; text-align: center; clip-path: polygon(0 16px, 16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); height: 100%; }
.papercut-tag::after { content: ""; position: absolute; right: 0; bottom: 0; width: 26px; height: 26px; background: var(--pc-2); clip-path: polygon(100% 0, 0 100%, 0 0); }
.papercut-hole { position: absolute; top: 9px; left: 50%; width: 15px; height: 15px; margin-left: -7px; border-radius: 50%; background: var(--pc-bg, #F4F8FC); box-shadow: inset 2px 2px 0 var(--pc-sh); }
.papercut-hole::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 3px; height: 12px; margin-left: -1px; background: var(--pc-3); border-radius: 2px; transform: rotate(8deg); transform-origin: bottom; }
.papercut-tag h3 { font-size: 1.3rem; color: var(--pc-ink); }
.papercut-time { font-size: .92rem; color: var(--muted); font-weight: 700; margin: 0 0 8px; }
.papercut-state { margin-bottom: 8px; }
.papercut-pill { display: inline-block; font-weight: 800; font-size: .8rem; padding: 3px 12px; border-radius: 999px; background: var(--soft); color: #36485F; border: 1.5px solid var(--line); }
.papercut-pill span { display: none; }
[data-state="waiting"] .st-waiting, [data-state="open"] .st-open, [data-state="closed"] .st-closed, [data-state="holiday"] .st-holiday { display: inline; }
[data-state="open"] .papercut-pill { background: var(--pc-1); color: var(--pc-ink); border-color: var(--pc-2); }
[data-state="closed"] .papercut-pill { background: var(--pc-4); color: #fff; border-color: var(--pc-4); }
[data-state="holiday"] .papercut-pill { background: #fff; border-style: dashed; border-color: #6B7C92; }
.papercut-res { font: 700 clamp(1.4rem, 7.2vw, 1.7rem) var(--fm); letter-spacing: -.02em; color: var(--pc-ink); margin: 6px 0 12px; padding: 8px 4px; background: var(--soft); border-radius: 10px; white-space: nowrap; }
[data-state="waiting"] .papercut-res, [data-state="holiday"] .papercut-res { color: #5A6B80; font-weight: 500; }
[data-state="closed"] .papercut-res { color: var(--pc-4); }
.papercut-tag.flash .papercut-res { animation: pcflash 1.6s; }
.papercut-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.papercut-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 10px; background: var(--pc-1); color: var(--pc-ink); font-weight: 800; font-size: .9rem; text-decoration: none; border: 2px solid var(--pc-2); }
.papercut-links a:hover { background: var(--pc-2); }

/* ---------- starline / jackpot index cards, next-up notes ---------- */
.papercut-cards { display: grid; gap: 26px; grid-template-columns: 1fr; padding: 0 8px 8px; }
@media (min-width: 860px) { .papercut-cards.two { grid-template-columns: 1fr 1fr; } }
.papercut-card { background: #fff; border-radius: 6px; padding: 18px 18px 14px; box-shadow: 6px 7px 0 var(--pc-sh); position: relative; border-top: 10px solid var(--pc-3); }
.papercut-card::after { content: ""; position: absolute; right: 0; bottom: 0; width: 28px; height: 28px; background: var(--pc-2); clip-path: polygon(100% 0, 0 100%, 0 0); }
.papercut-card-j { border-top-color: var(--pc-4); background: #fff; }
.papercut-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.papercut-slots { list-style: none; display: grid; grid-template-columns: 1fr; column-gap: 24px; }
@media (min-width: 560px) { .papercut-slots { grid-template-columns: 1fr 1fr; } }
.papercut-slots li { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; border-bottom: 2px dashed var(--line); font-weight: 700; }
.papercut-slots li span { color: var(--muted); font-size: .95rem; }
.papercut-slots b { font: 500 1rem var(--fm); color: #5A6B80; }
.papercut-slots li.has b { font-weight: 700; color: var(--pc-4); }
.papercut-cl { margin-top: 10px; }
.papercut-lk { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--pc-4); text-underline-offset: 4px; }
.papercut-next { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; padding: 4px 8px 6px; margin-top: 4px; }
.papercut-note { flex: 1 1 200px; background: #fff; border-radius: 4px 14px 4px 4px; padding: 12px 16px; box-shadow: 4px 5px 0 var(--pc-sh); display: flex; flex-direction: column; transform: rotate(-.8deg); border-left: 8px solid var(--pc-3); }
.papercut-note:nth-child(even) { transform: rotate(.8deg); border-left-color: var(--pc-4); }
.papercut-note b { font: 700 1.1rem var(--fw); }
.papercut-note span { color: var(--muted); font-weight: 700; font-size: .92rem; }

/* ---------- download ---------- */
.papercut-s-deep { color: #fff; }
.papercut-dlgrid { display: grid; gap: 28px; grid-template-columns: 1fr; padding: 6px 8px; align-items: start; }
@media (min-width: 820px) { .papercut-dlgrid { grid-template-columns: 1.5fr 1fr; } }
.papercut-paper { background: #fff; color: var(--pc-ink); border-radius: 6px 22px 6px 6px; padding: 22px 20px; box-shadow: 7px 8px 0 rgba(20, 36, 58, .35); position: relative; }
.papercut-paper::after { content: ""; position: absolute; right: 0; top: 0; width: 34px; height: 34px; background: var(--pc-2); clip-path: polygon(0 0, 100% 100%, 0 100%); }
.papercut-paper h3 { font-size: 1.5rem; margin-bottom: 12px; }
.papercut-steps { list-style: none; display: grid; gap: 14px; margin-bottom: 20px; }
.papercut-steps li { display: flex; gap: 14px; align-items: flex-start; }
.papercut-n { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--pc-4); color: #fff; font: 800 1.1rem var(--fw); box-shadow: 2px 2px 0 var(--pc-sh); }
.papercut-steps p { color: #36485F; font-size: .98rem; }
.papercut-ver { margin-top: 12px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.papercut-paper .ios-note { margin-top: 12px; }
.papercut-qrtag { background: #fff; color: var(--pc-ink); text-align: center; padding: 38px 20px 20px; max-width: 280px; width: 100%; justify-self: center; transform: rotate(1.5deg); box-shadow: 7px 8px 0 rgba(20, 36, 58, .35); border-radius: 16px 16px 4px 4px; position: relative; }
.papercut-qrtag .papercut-hole { background: var(--pc-4); }
.papercut-qrtag:hover { transform: rotate(0); }
.papercut-qrtag #qr { width: 180px; max-width: 100%; margin: 0 auto 10px; background: #fff; }
.papercut-qrtag #qr svg, .papercut-qrtag #qr img { width: 100%; height: auto; display: block; }
.papercut-qrtag p { font-size: .92rem; font-weight: 700; color: #36485F; }

/* ---------- FAQ ---------- */
.papercut-narrow { max-width: 820px; }
.papercut-faq { display: grid; gap: 14px; padding: 6px 6px 0; }
.papercut-faq details { background: #fff; border-radius: 4px 16px 4px 4px; box-shadow: 4px 5px 0 var(--pc-sh); border-left: 8px solid var(--pc-3); }
.papercut-faq details[open] { border-left-color: var(--pc-4); }
.papercut-faq summary { cursor: pointer; min-height: 52px; padding: 12px 48px 12px 16px; font: 700 1.1rem var(--fw); list-style: none; position: relative; display: flex; align-items: center; }
.papercut-faq summary::-webkit-details-marker { display: none; }
.papercut-faq summary::after { content: "+"; position: absolute; right: 14px; top: 50%; margin-top: -15px; width: 30px; height: 30px; border-radius: 50%; background: var(--pc-1); text-align: center; line-height: 30px; font: 800 1.3rem var(--fb); color: var(--pc-4); }
.papercut-faq details[open] summary::after { content: "–"; }
.papercut-faq details p { padding: 0 18px 16px 16px; color: #36485F; }

/* ---------- footer ---------- */
.papercut-foot { position: relative; background: var(--pc-ink); color: #E3EFFB; padding: 56px 0 30px; margin-top: 0; }
.papercut-foot a { color: #CFE4FA; }
.papercut-foot-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.papercut-foot-top img { border-radius: 50%; }
.papercut-foot-top b { font: 800 1.4rem var(--fw); color: #fff; }
.papercut-foot-sl { color: #CFE4FA; font-size: 1.15rem; }
.papercut-foot h2 { font-size: 1.2rem; color: #fff; margin-bottom: 8px; }
.papercut-flinks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.papercut-flinks a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; background: var(--pc-1); color: var(--pc-ink); font-weight: 800; text-decoration: none; box-shadow: 3px 3px 0 var(--pc-3); }
.papercut-fmk { list-style: none; display: grid; gap: 4px 20px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .papercut-fmk { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .papercut-fmk { grid-template-columns: repeat(3, 1fr); } }
.papercut-fmk li { display: flex; align-items: center; gap: 4px; min-height: 44px; border-bottom: 1px dashed #3C5573; }
.papercut-fmk b { margin-right: auto; font-weight: 700; color: #fff; }
.papercut-fmk a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 52px; font-weight: 700; }
.papercut-copy { margin-top: 22px; color: #B9CDE3; font-size: .9rem; }

/* ---------- motion ---------- */
.js .papercut-rv { transform: translateY(16px); }
.js .papercut-rv.in { transform: none; }
.js .papercut-rv { transition: transform .5s; }
.js .papercut-tagwrap.papercut-rv:not(.in) { transform: translateY(16px) rotate(-3deg); }
@media (prefers-reduced-motion: reduce) { .js .papercut-rv, .js .papercut-tagwrap.papercut-rv:not(.in) { transform: none; } }

/* ---------- shared chart pages ---------- */
.chart-page main { padding-top: 40px; padding-bottom: 20px; }
.chart-page .page { padding-top: 10px; }
.page h1 { font-family: var(--fw); font-weight: 800; }
.page .crumbs a { color: var(--pc-4); }
.page .lead { color: #36485F; }
.today-strip { background: #fff; border: 0; border-radius: 4px 16px 4px 4px; border-left: 8px solid var(--pc-3); box-shadow: 4px 5px 0 var(--pc-sh); }
.today-strip b { color: var(--pc-4); }
.tabs { gap: 8px; border-bottom: 0; }
.tabs a { min-height: 44px; display: inline-flex; align-items: center; border: 2px solid var(--pc-2); border-radius: 12px 12px 4px 4px; background: var(--pc-1); color: var(--pc-ink); margin-bottom: 0; }
.tabs a[aria-selected="true"] { background: var(--pc-4); border-color: var(--pc-4); color: #fff; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; color: var(--pc-4); font-weight: 800; }
.tbl-wrap { border: 0; border-radius: 6px; box-shadow: 6px 7px 0 var(--pc-sh); background: #fff; }
table.chart { color: var(--ink); }
table.chart thead th { color: #36485F; }
table.chart tbody th { color: #36485F; }
table.chart td.today { box-shadow: inset 0 0 0 2px var(--pc-3); }
table.chart td.pend, table.chart td.na, table.chart .na { color: #6B7C92; }
.empty { background: #fff; border-left: 8px solid var(--pc-2); border-radius: 4px 14px 4px 4px; box-shadow: 4px 5px 0 var(--pc-sh); }
.chip { min-height: 44px; display: inline-flex; align-items: center; background: #fff; border: 2px solid var(--pc-2); box-shadow: 2px 3px 0 var(--pc-sh); }
.chip:hover { border-color: var(--pc-3); background: var(--pc-1); }
.page .sec h2 { font-weight: 700; }
@media (max-width: 640px) { .tbl-wrap.fit { box-shadow: none; } .chart-page main { padding-top: 34px; } }
@media (max-width: 380px) { .papercut-bar-in { gap: 8px; } .papercut-brand { font-size: 1.15rem; } .papercut-brand img { width: 34px; height: 34px; } .papercut .btn-sm { padding: 6px 12px; } }
