/* CHIRATTER 2.0 / STEP 1 — short-video-specific overrides */
.feed-creator,.feed-place-name,.feed-tags {display:none}
.chtr-video-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.chtr-video-tile{display:block;min-width:0;color:var(--ink)}
.chtr-video-tile__poster{position:relative;aspect-ratio:9/16;background:#253026;overflow:hidden;border-radius:9px;display:flex;align-items:center;justify-content:center}
.chtr-video-tile__poster img{width:100%;height:100%;object-fit:cover}
.chtr-video-tile__empty{font-weight:900;color:#f6f8f2}
.chtr-video-tile__empty span{color:var(--accent)}
.chtr-video-tile__play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:22px;text-shadow:0 2px 12px #000}
.chtr-video-tile__meta h3{font-size:13px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.chtr-video-pagination{margin-top:24px}
.story-copy .text-link{display:inline-block;margin-top:18px;color:#38532e;text-decoration:underline}
@media(max-width:1100px){.chtr-video-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.chtr-video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.chtr-video-tile__meta h3{font-size:12px}.feed-caption{bottom:24px}}


/* v1.2.5 | production playback presentation. No admin test panels. */
.story-detail-grid > * {min-width:0}
.story-player {position:sticky; flex-direction:column; min-width:0; overflow:hidden}
.story-player video {display:block; width:100%; height:100%; max-height:75vh; object-fit:contain; background:#0c100d}
.chtr-detail-error[hidden], .feed-playback-issue[hidden] {display:none !important}
.chtr-detail-error {position:absolute; top:32%; left:8%; right:8%; z-index:5; box-sizing:border-box; background:#172018ed; border:1px solid #8c9f78; padding:16px; color:#fff; text-align:center; overflow-wrap:anywhere; line-height:1.5; font-size:14px}
.chtr-detail-error p,.feed-playback-issue p {margin:0 0 12px}
.chtr-detail-retry,.feed-retry {background:var(--accent); color:#142115; font:inherit; font-size:13px; font-weight:800; border:0; border-radius:3px; padding:10px 16px; cursor:pointer}
.feed-playback-issue {position:absolute; z-index:6; top:42%; left:50%; transform:translate(-50%,-50%); width:min(85%,280px); box-sizing:border-box; padding:18px 14px; background:#141c16ed; border:1px solid #647e60; text-align:center; font-size:13px; line-height:1.5; color:#fff; overflow-wrap:anywhere}
@media(max-width:760px) {.story-player {position:relative; top:auto; width:min(100%,390px); margin:0 auto}.chtr-detail-error {top:28%}}

/* v1.2.6 | Visible first-reel H1 supports the search topic without interrupting playback. */
.feed-topline .feed-topline-keyword {
  margin:0; font-weight:800; font-size:13px; line-height:1.45;
  letter-spacing:.015em; max-width:55%; color:#f5f7ef; text-align:right;
  text-shadow:0 1px 10px rgba(0,0,0,.75); overflow-wrap:anywhere;
}
@media(max-width:760px) {
  .feed-topline .feed-topline-keyword { font-size:clamp(9px,2.8vw,12px);max-width:54%;letter-spacing:0; }
}
