@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/app/fonts/noto-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/app/fonts/noto-sans-devanagari.woff2") format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}

body.feed-page {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  font-family: "Noto Sans", "Nirmala UI", "Kohinoor Devanagari", sans-serif;
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
  background: var(--page);
}
body.feed-page,
body.feed-page *,
body.feed-page *::before,
body.feed-page *::after,
.feed-card,
.feed-card *,
.feed-search {
  box-sizing: border-box;
}
body.feed-page a { color: inherit; }
body.feed-page header, body.feed-page main, body.feed-page footer, body.feed-page .subbar {
  width: min(1180px, calc(100% - clamp(16px, 4vw, 64px)));
  margin: 0 auto;
}
body.feed-page header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; padding: 12px 0 8px; gap: 10px 16px;
}
body.feed-page .head-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-left: auto; }
body.feed-page .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
body.feed-page .mark { width: 40px; height: 40px; border-radius: 12px; background: var(--field); }
body.feed-page .brand strong { letter-spacing: 0.04em; }
body.feed-page .topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(16, 56, 62, 0.06);
}
body.feed-page .subbar { padding-bottom: 10px; }
body.feed-page .menu {
  display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin: 0; padding: 2px 0;
  scrollbar-width: none; -ms-overflow-style: none;
}
body.feed-page .menu::-webkit-scrollbar { display: none; }
body.feed-page .menu a {
  flex: 0 0 auto; text-align: center; white-space: nowrap; text-decoration: none; background: transparent;
  border: 1px solid transparent; border-radius: 10px; padding: 9px 14px;
  font-weight: 650; color: var(--field-dark); font-size: 14.5px;
  transition: background-color 150ms ease, color 150ms ease;
}
body.feed-page .menu a:hover:not(.on) { background: var(--field-soft); }
body.feed-page .menu a.on { background: var(--field-dark); color: white; border-color: transparent; box-shadow: 0 2px 8px rgba(16, 56, 62, 0.16); }
body.feed-page .langs { display: flex; gap: 2px; background: var(--page); padding: 3px; border-radius: 999px; border: 1px solid var(--line); }
body.feed-page .langs button {
  border: 0; background: transparent; color: var(--field-dark);
  border-radius: 999px; padding: 5px 11px; min-height: 36px; font-weight: 650; cursor: pointer; font: inherit; font-size: 13.5px;
  transition: background-color 150ms ease, color 150ms ease;
}
body.feed-page .langs button:hover:not(.on) { background: rgba(7, 84, 91, 0.08); }
body.feed-page .langs button.on { background: var(--field-dark); color: white; }
body.feed-page .btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--field); color: white; text-decoration: none;
  border-radius: 12px; padding: 10px 16px; min-height: 44px; font-weight: 650; border: 0; cursor: pointer; font: inherit;
  transition: transform 150ms ease, filter 150ms ease;
}
body.feed-page .btn:hover { filter: brightness(0.95); transform: translateY(-1px); }
body.feed-page a.btn.open { padding: 8px 14px; font-size: 14px; min-height: 40px; }
body.feed-page .btn.ghost { background: white; color: var(--field-dark); border: 1px solid var(--line); }
body.feed-page h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.18; margin: 10px 0 12px; }
body.feed-page h2 { font-size: clamp(22px, 3vw, 32px); line-height: 1.25; margin: 8px 0 10px; }
body.feed-page .kicker { color: var(--field); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; margin: 0; }
html[lang="en"] body.feed-page .kicker { text-transform: uppercase; }
body.feed-page .intro { margin: 0; color: var(--muted); font-size: 16px; }
body.feed-page .panel {
  background: white; border: 1px solid var(--line); border-radius: 22px;
  padding: 18px 20px; box-shadow: 0 12px 30px rgba(15, 118, 110, 0.06);
}
body.feed-page footer {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 8px 0 28px; color: var(--muted); font-size: 13px;
}
body.feed-page footer a { color: var(--field-dark); }

#updates { scroll-margin-top: 160px; }
#feed-highlight { margin-top: 0; }
.feed-highlight-head, .feed-card-copy h3 { overflow-wrap: anywhere; word-break: break-word; }
.feed-highlight-head {
  display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; flex-wrap: wrap;
}
.feed-highlight-head h2 { margin: 4px 0; }
.feed-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px;
}
.feed-compact {
  display: flex; flex-direction: column; gap: 8px; min-width: 0; text-decoration: none;
  background: var(--page); border: 1px solid var(--line); border-radius: 16px; padding: 10px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.feed-compact:hover { border-color: var(--field); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16, 56, 62, 0.08); }
.feed-thumb {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #122016;
}
.feed-thumb.is-reel { aspect-ratio: 4 / 5; max-height: none; }
.feed-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.feed-reel img, .feed-reel video, .feed-reel iframe { width: 100%; height: 100%; object-fit: cover; display: block; }
.feed-compact h3 { margin: 0; font-size: 15px; line-height: 1.35; }
.feed-status { color: var(--muted); margin: 8px 0 0; }
.feed-controls { display: grid; gap: 12px; margin: 16px 0; }
.feed-search-row label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 6px; }
.feed-search {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  font: inherit; color: var(--ink); background: white;
}
.feed-filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.feed-filter-row p { margin: 0 4px 0 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.feed-filter-row button, .feed-nav, .feed-expand, .feed-lightbox button {
  border: 1px solid var(--line); background: white; color: var(--field-dark);
  border-radius: 999px; padding: 6px 10px; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer;
}
.feed-filter-row button.on { background: var(--field); color: white; border-color: var(--field); }
.feed-day { margin: 22px 0 10px; font-size: 15px; color: var(--field-dark); }
.feed-card {
  display: grid; grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  gap: 18px; align-items: start; margin: 0 0 14px; padding: 16px;
  background: white; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.06); scroll-margin-top: 150px;
  min-width: 0; max-width: 100%;
}
.feed-card > *,
.feed-frame,
.feed-track,
.feed-slide,
.feed-card-copy,
.feed-reel { min-width: 0; max-width: 100%; }
.feed-card h3 { margin: 8px 0; font-size: 22px; line-height: 1.3; }
.feed-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.feed-badge {
  border-radius: 999px; background: var(--field-soft); color: var(--field-dark);
  padding: 3px 8px; font-size: 12px; font-weight: 650;
}
.feed-summary, .feed-caption, .feed-facts, .feed-facts li {
  overflow-wrap: anywhere; word-break: break-word;
}
.feed-summary, .feed-caption, .feed-facts { color: var(--ink); font-size: 15px; line-height: 1.55; }
.feed-summary { margin: 0 0 8px; }
.feed-facts { margin: 0 0 10px; padding-left: 18px; }
.feed-facts li { margin: 4px 0; }
.feed-card details summary { cursor: pointer; font-weight: 650; color: var(--field-dark); }
.feed-caption { white-space: pre-wrap; color: var(--muted); }
.feed-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.feed-links a {
  text-decoration: none; border-radius: 999px; padding: 6px 10px;
  background: var(--page); border: 1px solid var(--line); color: var(--field-dark); font-size: 13px; font-weight: 650;
  overflow-wrap: anywhere; word-break: break-word;
}
.feed-frame { position: relative; border-radius: 16px; overflow: hidden; background: #122016; }
.feed-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.feed-slide { flex: 0 0 100%; scroll-snap-align: start; min-height: 180px; min-width: 0; display: grid; place-items: center; }
.feed-slide img {
  display: block; width: 100%; max-width: 100%; height: auto;
  max-height: min(520px, 75vh); object-fit: contain; background: #122016;
}
.feed-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; padding: 0; }
.feed-prev { left: 8px; }
.feed-next { right: 8px; }
.feed-counter {
  position: absolute; right: 10px; bottom: 10px; color: white;
  background: rgba(18, 32, 22, 0.78); border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 650;
}
.feed-expand { position: absolute; left: 10px; bottom: 10px; }
.feed-reel {
  width: min(100%, 360px); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  background: #122016; position: relative;
}
.feed-reel video, .feed-reel iframe { object-fit: contain; background: #000; border: 0; }
.feed-play {
  width: 100%; height: 100%; padding: 0; border: 0; background: #122016; cursor: pointer; position: relative;
}
.feed-play img { width: 100%; height: 100%; object-fit: cover; }
.feed-play-icon, .feed-thumb .feed-play-icon {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.92); color: var(--field-dark); font-size: 20px;
}
.feed-lightbox { border: 0; padding: 0; background: transparent; max-width: calc(100vw - 24px); }
.feed-lightbox::backdrop { background: rgba(16, 28, 18, 0.86); }
.feed-lightbox-bar { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.feed-lightbox img { display: block; max-width: min(960px, calc(100vw - 24px)); max-height: calc(100vh - 110px); margin: 0 auto; }
.feed-retry { margin-top: 8px; }

@media (max-width: 980px) {
  .feed-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feed-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body.feed-page .menu { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
  body.feed-page .menu a { flex: 0 0 auto; }
  .feed-strip { grid-template-columns: minmax(0, 1fr); }
  .feed-thumb.is-reel { max-height: none; }
  #updates, .feed-card { scroll-margin-top: 140px; }
  .feed-card { padding: 12px; }
  .feed-slide { min-height: 0; }
}
