/* ig-comments-module.css — Instagram Comments (ig-comments-module.js).
   Token-driven (var(--rr-*)). Phone first: at 390px nothing scrolls sideways. */

.igc-section { padding: 4px 2px 40px; }
.igc-muted { color: var(--rr-text-muted); }

/* the switch */
.igc-switch { margin-bottom: 14px; }
.igc-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.igc-switch-label { font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--rr-text-dim); }
.igc-segs { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--rr-border); border-radius: 999px; background: rgba(0,0,0,0.25); }
.igc-seg { background: transparent; border: 0; color: var(--rr-text-muted); border-radius: 999px; padding: 7px 16px; font-size: 13.5px; font-weight: 600; font-family: inherit; cursor: pointer; }
.igc-seg:disabled { cursor: progress; }
.igc-seg.is-on { color: var(--rr-text); }
.igc-seg-off.is-on { background: rgba(255,255,255,0.10); }
.igc-seg-shadow.is-on { background: rgba(88,249,244,0.16); }
.igc-seg-live.is-on { background: rgba(70,227,155,0.20); color: var(--rr-ok); }
.igc-seg:focus-visible, .igc-tab:focus-visible { outline: 2px solid var(--rr-cyan); outline-offset: 2px; }
.igc-switch-sub { font-size: 12.5px; color: var(--rr-text-muted); margin-top: 8px; line-height: 1.45; }

/* stats */
.igc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 14px; }
.igc-stats .rr-stat { background: rgba(0,0,0,0.18); border: 1px solid var(--rr-inner, rgba(255,255,255,0.06)); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.igc-stats .rr-stat-num { font-size: 24px; }

/* tabs */
.igc-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.igc-tab { background: transparent; border: 1px solid var(--rr-border); color: var(--rr-text-muted); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-family: inherit; cursor: pointer; }
.igc-tab.is-active { background: rgba(242,57,247,0.14); border-color: var(--rr-pink); color: var(--rr-text); }
.igc-tab-n { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; opacity: 0.8; }

/* list */
.igc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.igc-row { background: var(--rr-panel); border: 1px solid var(--rr-border); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.igc-row-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.igc-who { font-size: 14.5px; font-weight: 600; color: var(--rr-text); text-decoration: none; overflow-wrap: anywhere; }
a.igc-who:hover { color: var(--rr-cyan); }
.igc-meta { font-size: 12px; color: var(--rr-text-muted); }
.igc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.igc-said { font-size: 14px; line-height: 1.45; color: var(--rr-text); overflow-wrap: anywhere; white-space: pre-wrap; }
.igc-ours { font-size: 13.5px; line-height: 1.45; color: var(--rr-text-dim); border-left: 2px solid var(--rr-pink); padding-left: 10px; overflow-wrap: anywhere; }
.igc-ours-l { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--rr-text-muted); margin-bottom: 2px; }
.igc-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.igc-act { text-decoration: none; font-size: 13px; }
.igc-foot { font-size: 12.5px; color: var(--rr-text-muted); margin-top: 14px; line-height: 1.5; }
