/* ==========================================================================
   आज का कानपुर — एडमिन पैनल (मोबाइल पहले)
   Admin panel — built for phones first
   ========================================================================== */

:root {
  color-scheme: light;

  --red: #c8102e;
  --red-dark: #9c0c23;
  --red-soft: #fdeef0;
  --ink: #16181d;
  --ink-2: #434a54;
  --muted: #6d7580;
  --line: #e2e6ea;
  --line-2: #eef1f4;
  --bg: #ffffff;
  --bg-2: #f4f6f8;
  --ok: #1f7a4d;
  --ok-soft: #eaf6ef;
  --warn: #8a6100;
  --warn-soft: #fdf4e3;

  --sans: 'Noto Sans Devanagari', 'Nirmala UI', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --r: 12px;
  --bar-top: 56px;
  --bar-bottom: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --shadow: 0 1px 3px rgba(16, 20, 28, .09), 0 1px 2px rgba(16, 20, 28, .05);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  padding-top: var(--bar-top);
  padding-bottom: calc(var(--bar-bottom) + var(--safe-b) + 12px);
  overscroll-behavior-y: none;
}
body.is-auth { padding-top: 0; padding-bottom: 0; background: var(--bg); }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.35; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.ic { width: 22px; height: 22px; flex: none; }

/* ===== ऊपर की पट्टी ===== */

.appbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--bar-top);
  display: flex; align-items: center; gap: 10px;
  padding: 0 12px;
  background: var(--red); color: #fff;
  box-shadow: 0 1px 6px rgba(16, 20, 28, .18);
}
.appbar__title {
  font-size: 17px; font-weight: 600; flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.appbar__back, .appbar__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin: 0 -6px;
  border-radius: 50%; color: #fff;
}
.appbar__back:active, .appbar__icon:active { background: rgba(255, 255, 255, .18); }
.appbar__logo {
  display: grid; place-items: center;
  width: 34px; height: 34px; flex: none;
  background: rgba(255, 255, 255, .16); border-radius: 9px;
  font-weight: 700; font-size: 18px;
}
.appbar__right { display: flex; align-items: center; }

/* ===== नीचे की पट्टी ===== */

.tabbar {
  position: fixed; inset: auto 0 0 0; z-index: 50;
  display: flex; align-items: stretch;
  height: calc(var(--bar-bottom) + var(--safe-b));
  padding-bottom: var(--safe-b);
  background: var(--bg);
  border-top: 1px solid var(--line);
  box-shadow: 0 -1px 8px rgba(16, 20, 28, .06);
}
.tab {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 6px 2px;
  color: var(--muted); font-size: 11px; font-weight: 500;
}
.tab .ic { width: 23px; height: 23px; }
.tab.is-on { color: var(--red); }
.tab:active { background: var(--bg-2); }

.tab--main { color: var(--red); }
.tab__fab {
  display: grid; place-items: center;
  width: 42px; height: 30px; margin-top: -14px; margin-bottom: 1px;
  background: var(--red); color: #fff;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(200, 16, 46, .4);
}
.tab__fab .ic { width: 20px; height: 20px; }

/* ===== स्क्रीन ===== */

.screen { padding: 14px 14px 24px; max-width: 760px; margin-inline: auto; }
.screen--form { padding-bottom: 30px; }

/* ===== संदेश ===== */

.alert {
  padding: 12px 14px; border-radius: var(--r);
  font-size: 14.5px; margin-bottom: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.alert strong { display: block; margin-bottom: 2px; }
.alert a { color: var(--red); font-weight: 600; text-decoration: underline; }
.alert--ok { background: var(--ok-soft); border-color: #c3e4d1; color: #15542f; }
.alert--bad { background: var(--red-soft); border-color: #f3c9d1; color: #8c0c22; }
.alert--warn { background: var(--warn-soft); border-color: #f0dcb0; color: var(--warn); }

/* ===== डैशबोर्ड ===== */

.hello { margin-bottom: 16px; }
.hello__hi { color: var(--muted); font-size: 14px; }
.hello__name { font-size: 24px; }
.hello__role { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.hello__date { color: var(--muted); font-size: 13px; }

.bigaction {
  display: flex; align-items: center; gap: 14px;
  background: var(--red); color: #fff;
  padding: 16px; border-radius: var(--r);
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(200, 16, 46, .26);
}
.bigaction:active { background: var(--red-dark); }
.bigaction__ic {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  background: rgba(255, 255, 255, .2); border-radius: 50%;
}
.bigaction__text strong { display: block; font-size: 17px; }
.bigaction__text small { display: block; font-size: 12.5px; opacity: .9; margin-top: 2px; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 22px; }
.tile {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 6px; text-align: center;
}
.tile__num { display: block; font-size: 21px; font-weight: 700; color: var(--red); }
.tile__lbl { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

.sect { margin-bottom: 22px; }
.sect__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 10px;
}
.sect__head h2 { font-size: 17px; }
.sect__head a { font-size: 13.5px; color: var(--red); font-weight: 600; }

.panel {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px;
}
.panel p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 12px; }

.blank {
  background: var(--bg); border: 1px dashed var(--line);
  border-radius: var(--r); padding: 22px 16px;
  text-align: center; color: var(--muted); font-size: 14.5px;
}

.count { color: var(--muted); font-size: 13.5px; margin-bottom: 10px; }
.count span { opacity: .8; }

/* ===== सूची (छोटी) ===== */

.rows { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.row { display: flex; gap: 11px; padding: 10px 12px; border-bottom: 1px solid var(--line-2); align-items: center; }
.row:last-child { border-bottom: 0; }
.row:active { background: var(--bg-2); }
.row__thumb img { width: 80px; height: 60px; object-fit: cover; border-radius: 8px; background: var(--bg-2); }
.row__body { min-width: 0; flex: 1; }
.row__title {
  display: block; font-size: 14.5px; font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.row__meta { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ===== खोज ===== */

.searchbar {
  position: relative; display: flex; align-items: center;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 0 14px; margin-bottom: 12px;
}
.searchbar__ic { color: var(--muted); }
.searchbar input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  padding: 12px 10px; font-size: 16px;
}
.searchbar input:focus { outline: none; }
.searchbar__clear { color: var(--muted); padding: 6px; font-size: 15px; }

/* ===== खबर कार्ड ===== */

.cards { display: flex; flex-direction: column; gap: 12px; }

.ncard, .ucard {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.ncard__top { display: flex; gap: 12px; padding: 12px; }
.ncard__img {
  width: 92px; height: 69px; flex: none;
  object-fit: cover; border-radius: 9px; background: var(--bg-2);
}
.ncard__info { min-width: 0; flex: 1; }
.ncard__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 5px; }
.ncard__title {
  font-size: 15px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ncard__meta { font-size: 11.5px; color: var(--muted); margin-top: 5px; }

.ncard__acts { display: flex; border-top: 1px solid var(--line-2); }
.ncard__acts form { flex: 1; display: flex; }
.act {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 10px 6px;
  background: transparent; border: 0; border-left: 1px solid var(--line-2);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer;
  width: 100%;
}
.ncard__acts > :first-child .act,
.ncard__acts > .act:first-child { border-left: 0; }
.act .ic { width: 17px; height: 17px; }
.act:active { background: var(--bg-2); }
.act--danger { color: var(--red); }

/* ===== गोली / pill ===== */

.pill {
  display: inline-block;
  font-size: 11px; font-weight: 600; line-height: 1.6;
  padding: 1px 8px; border-radius: 999px;
  background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line);
}
.pill--cat { background: var(--red-soft); color: var(--red); border-color: #f3c9d1; }
.pill--hot { background: var(--red); color: #fff; border-color: var(--red); }
.pill--lead { background: #1d2330; color: #fff; border-color: #1d2330; }
.pill--demo { background: #f0f2f5; color: var(--muted); }
.pill--admin { background: #e8edff; color: #27409c; border-color: #cbd6ff; }
.pill--reporter { background: #eaf6ef; color: var(--ok); border-color: #c3e4d1; }
.pill--me { background: var(--red); color: #fff; border-color: var(--red); }
.pill--off { background: #f0f2f5; color: var(--muted); }
.pill--warn { background: var(--warn-soft); color: var(--warn); border-color: #f0dcb0; }

/* ===== बटन ===== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px;
  border-radius: var(--r); border: 1px solid transparent;
  font-size: 15.5px; font-weight: 600; cursor: pointer;
  background: var(--bg-2); color: var(--ink);
}
.btn--primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn--primary:active { background: var(--red-dark); }
.btn--ghost { background: var(--bg); border-color: var(--line); color: var(--ink); }
.btn--ghost:active { background: var(--bg-2); }
.btn--danger { background: var(--bg); border-color: #f3c9d1; color: var(--red); }
.btn--danger:active { background: var(--red-soft); }
.btn--block { width: 100%; }
.btn--big { width: 100%; min-height: 52px; font-size: 16.5px; }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn .ic { width: 18px; height: 18px; }

.pages { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 18px; font-size: 14px; color: var(--muted); }

/* ===== फॉर्म ===== */

.nform { display: block; }

.fgroup {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px; margin-bottom: 14px;
}
.fgroup__head {
  font-size: 15px; margin-bottom: 12px;
  padding-bottom: 9px; border-bottom: 1px solid var(--line-2);
  display: flex; align-items: baseline; gap: 8px;
}
.fgroup__opt { font-size: 12.5px; color: var(--muted); font-weight: 400; }

.nform label, .contactish label {
  display: block; font-size: 13.5px; font-weight: 600;
  margin: 14px 0 6px; color: var(--ink-2);
}
.nform .fgroup > label:first-of-type { margin-top: 0; }
.req { color: var(--red); }

.nform input[type="text"],
.nform input[type="password"],
.nform input[type="search"],
.nform select,
.nform textarea {
  width: 100%;
  font-size: 16px;                   /* 16px से कम होने पर मोबाइल ज़ूम करता है */
  padding: 12px 13px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  -webkit-appearance: none; appearance: none;
}
.nform textarea { line-height: 1.65; resize: vertical; }
.nform select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d7580' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 12px center; background-size: 20px;
  padding-left: 40px;
}
.nform input:focus, .nform select:focus, .nform textarea:focus {
  border-color: var(--red); outline: none;
  box-shadow: 0 0 0 3px var(--red-soft);
}
.hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

/* पासवर्ड + दिखाएं */
.pw { position: relative; display: flex; }
.pw input { flex: 1; padding-right: 72px !important; }
.pw__eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); cursor: pointer;
}

/* फाइल चुनने का बड़ा बटन */
.picker {
  display: flex !important; align-items: center; gap: 13px;
  padding: 16px 14px; margin: 0 !important;
  border: 2px dashed var(--line); border-radius: var(--r);
  background: var(--bg-2); cursor: pointer;
}
.picker:active { background: #eceff3; border-color: var(--red); }
.picker__ic { width: 28px; height: 28px; color: var(--red); }
.picker__text strong { display: block; font-size: 15px; color: var(--ink); }
.picker__text small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; font-weight: 400; }
.picker input[type="file"] {
  position: absolute; width: 1px; height: 1px; opacity: 0;
  overflow: hidden; clip: rect(0 0 0 0);
}

.preview:not(:empty) { margin-top: 12px; }
.preview img, .preview video {
  width: 100%; border-radius: 10px; background: var(--bg-2);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.preview--grid:not(:empty) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.preview__file {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 13px; font-size: 13.5px;
}
.preview__file strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview__file span { color: var(--muted); margin-right: auto; font-size: 12.5px; }
.preview__warn { color: var(--red); font-size: 13px; margin-top: 8px; font-weight: 600; }

/* पहले से मौजूद तस्वीर/वीडियो */
.media-now { margin-bottom: 12px; }
.media-now img, .media-now video {
  width: 100%; border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; background: #000;
}
.checkline {
  display: flex !important; align-items: center; gap: 9px;
  margin: 9px 0 0 !important; font-size: 14px; font-weight: 500 !important; color: var(--ink-2);
}
.checkline input { width: 20px; height: 20px; accent-color: var(--red); }

.gal-now { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.gal-now__item { display: block !important; margin: 0 !important; position: relative; }
.gal-now__item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; }
.gal-now__rm {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin-top: 5px; font-size: 12px; color: var(--red); font-weight: 600;
}
.gal-now__rm input { width: 17px; height: 17px; accent-color: var(--red); }

/* तीन हिस्सों वाला चुनाव */
.segment { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--bg-2); padding: 4px; border-radius: 10px; }
.segment__item { margin: 0 !important; }
.segment__item input { position: absolute; opacity: 0; pointer-events: none; }
.segment__item span {
  display: block; text-align: center; padding: 11px 4px;
  border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); cursor: pointer;
}
.segment__item input:checked + span { background: var(--red); color: #fff; }
.segment__item input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

/* चालू/बंद स्विच */
.switch {
  display: flex !important; align-items: center; gap: 13px;
  margin: 0 0 14px !important; padding: 12px;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  font-weight: 400 !important;
}
.switch:last-of-type { margin-bottom: 0 !important; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__box {
  position: relative; flex: none;
  width: 46px; height: 27px; border-radius: 999px;
  background: #cfd5dc; transition: background .18s ease;
}
.switch__box::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 21px; height: 21px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: transform .18s ease;
}
.switch input:checked + .switch__box { background: var(--red); }
.switch input:checked + .switch__box::after { transform: translateX(19px); }
.switch input:focus-visible + .switch__box { outline: 2px solid var(--red); outline-offset: 2px; }
.switch__text strong { display: block; font-size: 14.5px; font-weight: 600; }
.switch__text small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }

/* भूमिका चुनना */
.rolepick { display: grid; gap: 9px; }
.rolepick__item { margin: 0 !important; }
.rolepick__item input { position: absolute; opacity: 0; pointer-events: none; }
.rolepick__box {
  display: block; padding: 13px; border: 2px solid var(--line);
  border-radius: 10px; cursor: pointer;
}
.rolepick__box strong { display: block; font-size: 15px; }
.rolepick__box small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; font-weight: 400; }
.rolepick__item input:checked + .rolepick__box { border-color: var(--red); background: var(--red-soft); }

.more { margin-top: 14px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.more summary {
  font-size: 14px; font-weight: 600; color: var(--red);
  cursor: pointer; padding: 12px 0; list-style: none;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: '＋ '; }
.more[open] summary::before { content: '− '; }

/* सहेजने की पट्टी */
.formbar {
  position: sticky; bottom: calc(var(--bar-bottom) + var(--safe-b));
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  padding: 12px 0 4px;
  background: linear-gradient(to bottom, rgba(244, 246, 248, 0), var(--bg-2) 28%);
}
.formbar .btn--primary { width: 100%; }

.danger-zone { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ===== उपयोगकर्ता ===== */

.ucard__top { display: flex; gap: 12px; padding: 13px; }
.ucard.is-off { opacity: .66; }
.avatar {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red-soft); color: var(--red);
  font-size: 19px; font-weight: 700;
}
.avatar--big { width: 64px; height: 64px; font-size: 27px; margin-inline: auto; }
.ucard__info { min-width: 0; flex: 1; }
.ucard__name { font-size: 16px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ucard__meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.ucard__sub { font-size: 12px; color: var(--muted); margin-top: 5px; }

.ucard__more { border-top: 1px solid var(--line-2); }
.ucard__more summary {
  padding: 13px; font-size: 14px; font-weight: 600; color: var(--red);
  cursor: pointer; list-style: none;
}
.ucard__more summary::-webkit-details-marker { display: none; }
.ucard__more summary::after { content: ' ▾'; }
.ucard__more[open] summary::after { content: ' ▴'; }
.ucard__panel { padding: 0 13px 14px; display: grid; gap: 10px; }
.ucard__panel .inline { display: block; }
.ucard__panel .btn { width: 100%; }
.pwreset { border-top: 1px solid var(--line-2); padding-top: 10px; }
.pwreset label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.pwreset input[type="password"] {
  width: 100%; font-size: 16px; padding: 11px 72px 11px 13px;
  min-height: 46px; border: 1px solid var(--line); border-radius: 10px; -webkit-appearance: none;
}
.pwreset .btn { margin-top: 9px; }

.mecard {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 14px; text-align: center; margin-bottom: 16px;
}
.mecard__name { font-size: 20px; margin-top: 10px; }
.mecard__sub { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.mecard__meta { display: flex; justify-content: center; gap: 6px; margin-top: 10px; flex-wrap: wrap; }

.logout { margin-top: 16px; }

/* ===== लॉगिन ===== */

.auth {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 28px 20px calc(28px + var(--safe-b));
  max-width: 420px; margin-inline: auto;
}
.auth__brand { text-align: center; margin-bottom: 26px; }
.auth__mark {
  display: grid; place-items: center; margin-inline: auto;
  width: 62px; height: 62px; border-radius: 14px;
  background: var(--red); color: #fff; font-size: 32px; font-weight: 700;
}
.auth__name { font-size: 25px; margin-top: 12px; color: var(--red); }
.auth__tag { font-size: 14px; color: var(--muted); margin-top: 4px; }

.auth__form label { display: block; font-size: 13.5px; font-weight: 600; margin: 14px 0 6px; color: var(--ink-2); }
.auth__form input[type="text"], .auth__form input[type="password"] {
  width: 100%; font-size: 16px; padding: 13px 14px; min-height: 50px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg); -webkit-appearance: none;
}
.auth__form .pw input { padding-right: 72px; }
.auth__form input:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px var(--red-soft); }
.auth__form .btn { margin-top: 22px; }
.auth__note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 22px; line-height: 1.6; }
.auth__back { text-align: center; margin-top: 14px; font-size: 14px; }
.auth__back a { color: var(--red); font-weight: 600; }

/* ===== संदेश बॉक्स ===== */

.msgbox {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 18px; text-align: center; margin-top: 10px;
}
.msgbox h2 { font-size: 19px; margin-bottom: 8px; }
.msgbox p { color: var(--ink-2); font-size: 14.5px; margin-bottom: 18px; }

/* ==========================================================================
   बड़ी स्क्रीन — टैबलेट / कंप्यूटर
   ========================================================================== */

@media (min-width: 700px) {
  .screen { padding: 22px 20px 36px; }
  .tiles { gap: 12px; }
  .tile__num { font-size: 25px; }
  .ncard__img { width: 130px; height: 98px; }
  .ncard__title { font-size: 16.5px; }
  .preview--grid:not(:empty) { grid-template-columns: repeat(4, 1fr); }
  .gal-now { grid-template-columns: repeat(4, 1fr); }
  .formbar { grid-template-columns: auto auto; justify-content: end; }
  .formbar .btn--primary { width: auto; min-width: 220px; }
}

@media (min-width: 1000px) {
  body { padding-bottom: 20px; }
  .tabbar {
    position: fixed; inset: var(--bar-top) auto 0 0;
    flex-direction: column; justify-content: flex-start;
    width: 212px; height: auto;
    border-top: 0; border-right: 1px solid var(--line);
    padding: 14px 10px; gap: 4px;
  }
  .tab {
    flex: none; flex-direction: row; justify-content: flex-start;
    gap: 12px; padding: 12px 14px; border-radius: 10px;
    font-size: 15px; width: 100%;
  }
  .tab.is-on { background: var(--red-soft); }
  .tab--main { order: -1; background: var(--red); color: #fff; }
  .tab--main:active { background: var(--red-dark); }
  .tab__fab { width: 26px; height: 26px; margin: 0; background: transparent; box-shadow: none; }
  .screen { margin-left: 212px; max-width: 900px; margin-right: auto; }
  .formbar { bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ===== भेजते समय की प्रगति ===== */

.sending {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: rgba(16, 20, 28, .62);
  padding: 24px;
}
.sending__box {
  background: var(--bg); border-radius: 14px;
  padding: 22px 20px; width: 100%; max-width: 340px;
  text-align: center; box-shadow: 0 12px 34px rgba(0, 0, 0, .3);
}
.sending__title { font-size: 16.5px; font-weight: 600; }
.sending__bar {
  height: 8px; border-radius: 999px; background: var(--line);
  margin: 14px 0 10px; overflow: hidden;
}
.sending__bar i {
  display: block; height: 100%; width: 0;
  background: var(--red); border-radius: 999px;
  transition: width .2s ease;
}
.sending__pct { font-size: 14px; font-weight: 600; color: var(--red); }
.sending__note { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.55; }

/* यूट्यूब लिंक की मदद */
.ythelp {
  display: flex; align-items: flex-start; gap: 11px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px; margin-bottom: 4px;
}
.ythelp .ic { color: var(--red); flex: none; }
.ythelp p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
