*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
  background: #141414;
  color: #f2ede4;
  line-height: 1.55;
  font-size: 17px;
}
main, header.top, footer { max-width: 680px; margin: 0 auto; padding: 0 16px; }

/* header */
header.top { padding-top: 20px; }
.brand { display: flex; align-items: baseline; justify-content: space-between; }
.brand-name { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-name b { color: #ffb43a; }
.lang {
  color: #ffb43a; text-decoration: none; font-weight: 700;
  border: 1px solid #ffb43a55; border-radius: 999px; padding: 4px 14px;
}
.tagline { font-size: 1.05rem; margin: 10px 0 2px; color: #f2ede4; font-weight: 600; }
.offline-note { color: #9d9483; font-size: 0.85rem; margin: 2px 0 12px; }

/* sticky anchor nav */
.anchors {
  position: sticky; top: 0; z-index: 5;
  display: flex; gap: 6px; overflow-x: auto;
  background: #141414; padding: 10px 0; margin: 0 -16px; padding-left: 16px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  border-bottom: 1px solid #2a2a2a;
}
.anchors::-webkit-scrollbar { display: none; }
.anchors a {
  flex: 0 0 auto; color: #f2ede4; text-decoration: none; font-size: 0.85rem; font-weight: 600;
  background: #232323; border: 1px solid #333; border-radius: 999px; padding: 6px 12px;
}

/* sections */
section { padding: 26px 0 8px; border-bottom: 1px solid #262626; }
h2 { font-size: 1.35rem; margin: 0 0 4px; letter-spacing: -0.01em; }
h3 { font-size: 1.02rem; margin: 18px 0 6px; color: #ffb43a; }
.sub { color: #b5ac9c; margin: 0 0 14px; font-size: 0.95rem; }
.muted { color: #9d9483; font-size: 0.9rem; }

/* numbers */
.numgroup h3 { margin-top: 14px; }
.numlist { list-style: none; margin: 0; padding: 0; }
.numlist li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 0; border-bottom: 1px dashed #2c2c2c;
}
.numlabel { font-size: 0.95rem; }
.numcall {
  flex: 0 0 auto; background: #1f6f43; color: #fff; text-decoration: none; font-weight: 800;
  border-radius: 10px; padding: 8px 16px; font-size: 1.05rem; letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.numnote { color: #9d9483; font-size: 0.82rem; text-align: right; max-width: 50%; }

/* metro closures */
.stations { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 6px 0 10px; }
.stations li {
  background: #2b1414; border: 1px solid #a1393966; color: #f2ede4;
  font-weight: 700; border-radius: 8px; padding: 6px 12px; font-size: 0.88rem;
}
.source-link { color: #6fc08b; font-weight: 700; }

/* rights cards */
details.card {
  background: #1d1d1d; border: 1px solid #2e2e2e; border-radius: 12px;
  padding: 0; margin: 8px 0;
}
details.card summary {
  cursor: pointer; font-weight: 700; padding: 12px 14px; font-size: 0.98rem;
  list-style-position: inside;
}
details.card p { margin: 0; padding: 0 14px 14px; color: #d8d2c6; font-size: 0.93rem; }

.cancant-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cancant ul { margin: 0; padding: 12px 12px 12px 28px; border-radius: 12px; font-size: 0.88rem; }
ul.can { background: #12281b; border: 1px solid #1f6f4344; }
ul.cant { background: #2b1414; border: 1px solid #a1393944; }
ul.can li::marker { content: "✅ "; }
ul.cant li::marker { content: "🚫 "; }
.cancant li { margin: 6px 0; }
@media (max-width: 540px) { .cancant-cols { grid-template-columns: 1fr; } }

/* detained */
section.urgent {
  background: #211712; margin: 0 -16px; padding-left: 16px; padding-right: 16px;
  border-top: 2px solid #ffb43a; border-bottom: 2px solid #ffb43a;
}
.saylist { padding-left: 22px; }
.saylist li {
  background: #2b2118; border-radius: 10px; padding: 10px 12px; margin: 8px 0;
  font-weight: 600; font-size: 0.95rem; list-style-position: inside;
}
.dolist { padding-left: 22px; font-size: 0.92rem; }
.dolist li { margin: 6px 0; }
.memorise { margin-bottom: 4px; }
.memorise-items { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 6px 0 14px; }
.memorise-items li {
  background: #ffb43a; color: #141414; font-weight: 800; border-radius: 8px; padding: 6px 12px; font-size: 0.88rem;
}

/* complaints */
.template {
  background: #1d1d1d; border: 1px solid #2e2e2e; border-radius: 12px; padding: 14px;
  white-space: pre-wrap; font-size: 0.82rem; color: #d8d2c6; overflow-x: auto;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}

/* forms & buttons */
.btn {
  display: inline-block; background: #ffb43a; color: #141414; font-weight: 800; border: 0;
  border-radius: 10px; padding: 11px 20px; font-size: 1rem; cursor: pointer; text-decoration: none;
  margin: 8px 0;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
form label { display: block; margin: 12px 0; font-size: 0.92rem; font-weight: 600; }
input, select, textarea {
  display: block; width: 100%; margin-top: 5px; padding: 10px 12px; font-size: 1rem;
  background: #1d1d1d; color: #f2ede4; border: 1px solid #3a3a3a; border-radius: 10px;
  font-family: inherit;
}
.hp { position: absolute; left: -9999px; top: -9999px; height: 1px; overflow: hidden; }

/* helpers directory */
.helper {
  background: #1d1d1d; border: 1px solid #2e2e2e; border-radius: 12px; padding: 12px 14px; margin: 8px 0;
}
.helper .hname { font-weight: 800; }
.helper .hmeta { color: #ffb43a; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.helper .hnote { color: #b5ac9c; font-size: 0.88rem; margin-top: 2px; }
.helper a { color: #6fc08b; font-weight: 700; text-decoration: none; }

/* amplify */
.amp-modes { display: flex; gap: 16px; margin: 10px 0; }
.amp-modes label { display: flex; align-items: center; gap: 6px; margin: 0; }
.amp-modes input { width: auto; display: inline; margin: 0; }
#amp-canvas { width: 100%; height: auto; border-radius: 12px; border: 1px solid #2e2e2e; margin-top: 10px; }
.amp-actions { display: flex; gap: 10px; }

/* footer */
footer { padding: 22px 16px 40px; }
.disclaimer { color: #9d9483; font-size: 0.8rem; border-top: 1px solid #262626; padding-top: 14px; }
