/* Site parts in the reel "cartoon room" look. Colours come from the theme's CSS variables. */
.garib-muted, .garib-empty { color: var(--muted); }
.garib-section { margin: 0 0 2.5rem; }

/* ---------- Progress meter, same as the reels ---------- */
.g-meter { background: #fff; border: 3px solid var(--ink, #2A2420); border-radius: 22px; box-shadow: 0 6px 0 var(--ink, #2A2420); padding: 18px 20px 16px; transition: transform .12s ease, box-shadow .12s ease; }
.g-meter p { margin: 0; }
.g-meter__tag { font: 700 14px/1 var(--font-body); color: var(--muted); letter-spacing: .02em; }
.g-meter__nums { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 10px 0 12px !important; }
.g-meter__amt { font: 400 clamp(40px, 8vw, 54px)/1 var(--font-head); }
.g-meter__goal { font: 400 22px/1 var(--font-head); color: var(--ink, #2A2420); }
.g-meter__bar { height: 26px; background: #fff; border: 3px solid var(--ink, #2A2420); border-radius: 99px; overflow: hidden; }
.g-meter__bar span { display: block; height: 100%; background: var(--green, #3DBE4E); border-right: 3px solid var(--ink, #2A2420); border-radius: 99px; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .12); }
.g-meter__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 10px !important; font-size: 14px; color: var(--muted); }
.g-meter__foot b { color: var(--ink, #2A2420); }

/* ---------- Top 3 podium ---------- */
.g-podium { list-style: none; margin: 8px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: clamp(8px, 2vw, 18px); max-width: 760px; margin-inline: auto; }
.g-podium__spot { display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
.g-podium__spot--1 { order: 2; }
.g-podium__spot--2 { order: 1; }
.g-podium__spot--3 { order: 3; }
.g-podium--1 .g-podium__spot--1 { grid-column: 2; }
.g-podium--2 .g-podium__spot--1 { order: 1; grid-column: 2; }
.g-podium--2 .g-podium__spot--2 { order: 2; grid-column: 1; grid-row: 1; }
.g-podium__who { position: relative; display: grid; justify-items: center; gap: 2px; text-align: center; background: #fff; border: 3px solid var(--ink, #2A2420); border-radius: 18px; box-shadow: 0 4px 0 var(--ink, #2A2420); padding: 12px 8px 10px; margin-bottom: 12px; }
.g-podium__name { font-weight: 700; font-size: clamp(14px, 2.4vw, 18px); line-height: 1.25; max-width: 100%; overflow-wrap: anywhere; }
.g-podium__amt { font: 400 clamp(19px, 3.6vw, 28px)/1.1 var(--font-head); }
.g-podium__crown { position: absolute; top: -26px; left: 50%; transform: translateX(-50%) rotate(-6deg); width: 46px; height: 31px; fill: var(--accent); stroke: var(--ink, #2A2420); stroke-width: 3; stroke-linejoin: round; }
.g-podium__block { display: grid; place-items: center; border: 3px solid var(--ink, #2A2420); border-bottom-width: 0; border-radius: 16px 16px 0 0; box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .12); }
.g-podium__rank { font: 400 clamp(40px, 8vw, 64px)/1 var(--font-head); }
.g-podium__spot--1 .g-podium__block { height: clamp(120px, 22vw, 170px); background: var(--accent); }
.g-podium__spot--2 .g-podium__block { height: clamp(86px, 16vw, 124px); background: var(--blue, #3B82D6); }
.g-podium__spot--3 .g-podium__block { height: clamp(64px, 12vw, 92px); background: var(--green, #3DBE4E); }
.g-podium__spot--1 .g-podium__who { background: #FFF7DC; margin-top: 22px; }
.g-podium__spot--1 .g-podium__amt { font-size: clamp(22px, 4.4vw, 34px); color: var(--red); }
.g-podium::after { content: ""; grid-column: 1 / -1; order: 4; height: 12px; margin-top: -1px; background: var(--wood, #B9793F); border: 3px solid var(--ink, #2A2420); border-radius: 6px; }

/* ---------- Top supporters + moving wall ---------- */
.g-board h2 { margin-top: 0; }
.g-top { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.g-top__item { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; background: #fff; border: 3px solid var(--ink, #2A2420); border-radius: 16px; box-shadow: 0 4px 0 var(--ink, #2A2420); padding: 10px 16px; }
.g-top__rank { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--ink, #2A2420); display: grid; place-items: center; font: 400 19px var(--font-head); background: var(--surface-2); color: var(--ink, #2A2420); }
.g-top__name { font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.g-top__amt { font: 400 22px var(--font-head); white-space: nowrap; }
.g-top__item--1 { background: var(--accent); padding: 16px; }
.g-top__item--1 .g-top__rank { background: var(--red); color: #fff; width: 46px; height: 46px; font-size: 22px; }
.g-top__item--1 .g-top__name { font-size: 20px; }
.g-top__item--1 .g-top__amt { font-size: 30px; color: #fff; -webkit-text-stroke: 5px var(--ink, #2A2420); paint-order: stroke fill; }
.g-top__item--2 .g-top__rank { background: var(--blue, #3B82D6); color: #fff; }
.g-top__item--3 .g-top__rank { background: var(--green, #3DBE4E); color: #fff; }

.g-wall { position: relative; height: 250px; overflow: hidden; background: #fff; border: 3px solid var(--ink, #2A2420); border-radius: 18px; box-shadow: 0 4px 0 var(--ink, #2A2420); }
.g-wall:not(.g-wall--moving) { height: auto; max-height: 300px; overflow-y: auto; }
.g-wall::before, .g-wall::after { content: ""; position: absolute; left: 0; right: 0; height: 34px; z-index: 1; pointer-events: none; }
.g-wall::before { top: 0; background: linear-gradient(#fff, rgba(255, 255, 255, 0)); }
.g-wall::after { bottom: 0; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.g-wall:not(.g-wall--moving)::before, .g-wall:not(.g-wall--moving)::after { display: none; }
.g-wall ul { list-style: none; margin: 0; padding: 0 18px; }
.g-wall li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 2px dashed var(--line); }
.g-wall li span:first-child { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.g-wall li span:last-child { color: var(--muted); white-space: nowrap; }
.g-wall--moving .g-wall__track { animation: g-wall var(--g-dur, 30s) linear infinite; }
.g-wall--moving:hover .g-wall__track, .g-wall--moving:focus .g-wall__track, .g-wall--moving:active .g-wall__track { animation-play-state: paused; }
@keyframes g-wall { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .g-wall--moving { height: auto; max-height: 300px; overflow-y: auto; }
  .g-wall--moving .g-wall__track { animation: none; }
  .g-wall--moving .g-wall__track ul[aria-hidden] { display: none; }
}
.g-board__count { color: var(--muted); font-size: 14px; margin-top: 12px; font-weight: 600; }

.garib-leaders { list-style: none; counter-reset: g; margin: 0; padding: 6px 18px; background: #fff; border: 3px solid var(--ink, #2A2420); border-radius: 18px; box-shadow: 0 4px 0 var(--ink, #2A2420); }
.garib-leaders li:last-child { border-bottom: 0; }
.garib-leaders li { counter-increment: g; display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 2px dashed var(--line); }
.garib-leaders li::before { content: counter(g); flex: 0 0 34px; height: 34px; border-radius: 50%; border: 3px solid var(--ink, #2A2420); background: var(--accent); font: 400 16px var(--font-head); display: grid; place-items: center; }
.garib-leaders span { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.garib-leaders strong { white-space: nowrap; }

/* ---------- Simple meter (episode posts) ---------- */
.garib-meter { background: #fff; border: 3px solid var(--ink, #2A2420); border-radius: 18px; padding: 16px 18px; }
.garib-meter__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 10px; }
.garib-meter__top span { color: var(--muted); }
.garib-meter__bar { height: 20px; background: #fff; border: 3px solid var(--ink, #2A2420); border-radius: 99px; overflow: hidden; }
.garib-meter__bar span { display: block; height: 100%; min-width: 6px; background: var(--green, #3DBE4E); border-radius: 99px; }
.garib-meter__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- Transparency table ---------- */
.garib-table { overflow-x: auto; background: #fff; border: 3px solid var(--ink, #2A2420); border-radius: 18px; box-shadow: 0 5px 0 var(--ink, #2A2420); }
.garib-table table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; }
.garib-table th, .garib-table td { padding: 12px 14px; text-align: left; border-bottom: 2px dashed var(--line); }
.garib-table th { background: var(--accent); font-weight: 700; border-bottom: 3px solid var(--ink, #2A2420); }
.garib-table td:nth-child(n+3), .garib-table th:nth-child(n+3) { text-align: right; white-space: nowrap; }
.garib-table tr:last-child td { border-bottom: 0; }
@media (max-width: 480px) { .garib-table th, .garib-table td { padding: 10px 8px; font-size: 14px; } }

/* ---------- UPI box ---------- */
.garib-upi { text-align: center; background: #fff; border: 3px solid var(--ink, #2A2420); border-radius: 22px; box-shadow: 0 6px 0 var(--ink, #2A2420); padding: 24px 18px; max-width: 440px; margin: 0 auto 2rem; }
.garib-upi img { width: min(250px, 100%); height: auto; }
.garib-upi__id { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 14px 0; }
.garib-upi__id span { color: var(--muted); }
.garib-upi__id code { font-size: 17px; background: var(--surface-2); padding: 6px 10px; border-radius: 8px; border: 2px solid var(--ink, #2A2420); overflow-wrap: anywhere; }
.garib-copy { border: 3px solid var(--ink, #2A2420); background: var(--accent); color: var(--ink, #2A2420); border-radius: 12px; padding: 7px 16px; font: 700 15px var(--font-body); cursor: pointer; box-shadow: 0 3px 0 var(--ink, #2A2420); }
.garib-copy:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink, #2A2420); }

/* ---------- Post cards ---------- */
.garib-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.garib-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 3px solid var(--ink, #2A2420); border-radius: 20px; box-shadow: 0 5px 0 var(--ink, #2A2420); padding: 16px; text-decoration: none; color: var(--ink, #2A2420); min-width: 0; transition: transform .12s ease, box-shadow .12s ease; }
.garib-card:hover { color: var(--ink, #2A2420); transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink, #2A2420); }
.garib-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; border: 2px solid var(--ink, #2A2420); margin-bottom: 4px; }
.garib-card strong { font-size: 18px; line-height: 1.3; }
.garib-card__date { font-size: 13px; color: var(--red); font-weight: 700; }
.garib-card__text { font-size: 15px; color: var(--muted); font-weight: 400; }
.garib-more { font-weight: 700; }
