/* NN_MOBILE_LOCKED_20261111_V1 — homepage-only desktop-safe update. */
body.nn-mobile-layout-v1 .nn-mobile-category-grid,
body.nn-mobile-layout-v1 .nn-mobile-layout-date,
body.nn-mobile-layout-v1 .masthead > .nn-mobile-social { display:none; }

@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1 .masthead-shell { overflow:visible; }
  body.nn-mobile-layout-v1 .masthead {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    grid-template-rows:auto auto auto auto !important;
    align-items:center !important;
    gap:5px 8px !important;
    min-height:0 !important;
    padding:7px 9px 6px !important;
  }
  body.nn-mobile-layout-v1 .masthead .brand {
    grid-column:1 / -1 !important;
    grid-row:1 !important;
    align-items:center !important;
    justify-self:start !important;
    gap:7px !important;
    min-width:0;
    max-width:100%;
  }
  body.nn-mobile-layout-v1 .masthead .brand-mark {
    width:47px !important;
    height:48px !important;
    flex:0 0 auto;
  }
  body.nn-mobile-layout-v1 .masthead .brand-type { display:flex; flex-direction:column; gap:0; min-width:0; }
  body.nn-mobile-layout-v1 .masthead .brand strong {
    font-size:clamp(15px,4.1vw,20px) !important;
    line-height:1.08 !important;
    margin:0 !important;
  }
  body.nn-mobile-layout-v1 .masthead .brand small {
    font-size:10px !important;
    line-height:1.1 !important;
    letter-spacing:1.5px !important;
    margin:1px 0 0 !important;
  }
  body.nn-mobile-layout-v1 .masthead .brand .tagline {
    display:block !important;
    font-size:clamp(8px,2.55vw,10px) !important;
    line-height:1.1 !important;
    margin:1px 0 0 !important;
    letter-spacing:0 !important;
    white-space:normal !important;
  }
  body.nn-mobile-layout-v1 .masthead .head-actions { display:contents !important; }
  body.nn-mobile-layout-v1 .masthead .langs {
    grid-column:1 !important;
    grid-row:2 !important;
    justify-self:start !important;
    align-self:center !important;
    margin:0 !important;
  }
  body.nn-mobile-layout-v1 .masthead .langs a { padding:5px 10px !important; font-size:12px !important; }
  body.nn-mobile-layout-v1 .masthead .nn-reader-header-mobile {
    display:block !important;
    position:static !important;
    grid-column:2 !important;
    grid-row:2 !important;
    justify-self:end !important;
    align-self:center !important;
    max-width:100%;
    min-width:0;
    z-index:150;
  }
  body.nn-mobile-layout-v1 .masthead .nn-reader-header-mobile :is(.nn-reader-header-guest, summary) {
    max-width:100%;
    min-height:30px;
    padding:4px 7px;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  body.nn-mobile-layout-v1 .masthead .nn-reader-display-name { max-width:clamp(58px,25vw,120px) !important; }
  body.nn-mobile-layout-v1 .masthead > .nn-mobile-social {
    display:flex !important;
    grid-column:1 / -1 !important;
    grid-row:3 !important;
    width:100% !important;
    padding:3px 0 !important;
    margin:0 !important;
    min-width:0;
    background:transparent;
  }
  body.nn-mobile-layout-v1 .masthead .search {
    display:flex !important;
    grid-column:1 / -1 !important;
    grid-row:4 !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    height:40px !important;
    min-height:40px !important;
    margin:0 !important;
    padding:0 !important;
  }
  body.nn-mobile-layout-v1 .masthead .search input,
  body.nn-mobile-layout-v1 .masthead .search button { height:40px !important; }
  body.nn-mobile-layout-v1 .masthead .search input { flex:1 1 auto !important; min-width:0; font-size:13px; }
  body.nn-mobile-layout-v1 .masthead .nn-menu-toggle { display:none !important; }
  body.nn-mobile-layout-v1 .mainnav { display:none !important; }

  body.nn-mobile-layout-v1 .nn-mobile-category-grid {
    position:relative;
    z-index:40;
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:5px;
    padding:5px 9px 8px;
    background:var(--card);
    border-bottom:2px solid var(--gold);
  }
  body.nn-mobile-layout-v1 .nn-mobile-category-grid > a,
  body.nn-mobile-layout-v1 .nn-mobile-category-more > summary {
    box-sizing:border-box;
    min-width:0;
    min-height:43px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:4px 2px;
    color:var(--deep);
    background:#edf3ef;
    border:1px solid #d7e4dc;
    border-radius:5px;
    font:600 clamp(10px,2.7vw,12px)/1.17 Hind,Arial,sans-serif;
    overflow-wrap:anywhere;
    text-decoration:none;
  }
  body.nn-mobile-layout-v1 .nn-mobile-category-grid > .nn-mobile-category-district {
    background:#f0e2bd;
    border-color:var(--gold);
  }
  body.nn-mobile-layout-v1 .nn-mobile-category-more { min-width:0; position:relative; }
  body.nn-mobile-layout-v1 .nn-mobile-category-more > summary { cursor:pointer; list-style:none; height:100%; }
  body.nn-mobile-layout-v1 .nn-mobile-category-more > summary::-webkit-details-marker { display:none; }
  body.nn-mobile-layout-v1 .nn-mobile-category-more-panel {
    position:absolute;
    z-index:1000;
    top:calc(100% + 4px);
    right:0;
    width:min(280px,calc(100vw - 18px));
    max-height:50vh;
    overflow:auto;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:5px;
    padding:9px;
    background:var(--card);
    border:1px solid var(--gold);
    border-radius:8px;
    box-shadow:0 9px 30px #0003;
  }
  body.nn-mobile-layout-v1 .nn-mobile-category-more-panel a {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:5px;
    border:1px solid var(--border);
    border-radius:5px;
    color:var(--ink);
    text-align:center;
    font:600 12px/1.2 Hind,Arial,sans-serif;
  }
  body.nn-mobile-layout-v1 .nn-mobile-layout-date {
    display:inline-block !important;
    flex:1 1 auto;
    min-width:0;
    margin-right:8px;
    font:600 clamp(11px,3vw,13px)/1.2 Hind,Arial,sans-serif;
  }
  body.nn-mobile-layout-v1 .nn-panchang-bar { display:flex; align-items:center; gap:6px; }
  body.nn-mobile-layout-v1 .nn-panchang-scroll { display:none !important; }
}

@media screen and (max-width:359px) {
  body.nn-mobile-layout-v1 .masthead .nn-reader-header-mobile :is(.nn-reader-header-guest, summary) { font-size:11px !important; padding:4px 5px; }
  body.nn-mobile-layout-v1 .nn-mobile-category-grid { gap:4px; padding-left:6px; padding-right:6px; }
  body.nn-mobile-layout-v1 .nn-mobile-category-grid > a,
  body.nn-mobile-layout-v1 .nn-mobile-category-more > summary { font-size:10px; }
}
