/* ChatBase — 📸 Stories (stories.js). Reuses .sc-modal/.sc-box/.clan-btn/.mm-*. */
.st-rings { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.st-ring { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; color: inherit; width: 64px; }
.st-ring-av { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; background: var(--neo-surface, #222); border: 3px solid; border-image: linear-gradient(135deg, #ff5f6d, #ffc371, #8ab4ff) 1; }
.st-add .st-ring-av { border: 3px dashed rgba(255,255,255,.3); color: #8ab4ff; }
.st-ring small { font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60px; }

.st-preview { width: 100%; aspect-ratio: 9/16; max-height: 300px; border-radius: 14px; margin: 10px auto; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.st-preview span { color: #fff; font-size: 22px; font-weight: 800; text-shadow: 0 2px 6px rgba(0,0,0,.6); text-align: center; padding: 10px; }
#stText, .st-compose input { width: 100%; padding: 9px 11px; border-radius: 9px; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.25); color: inherit; font: inherit; box-sizing: border-box; margin: 6px 0; }
.st-colors { display: flex; gap: 8px; justify-content: center; margin: 8px 0; }
.st-color { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.st-color.on { border-color: #fff; transform: scale(1.15); }

#stViewer { position: fixed; inset: 0; z-index: 100000; background: #000; display: flex; flex-direction: column; }
.st-v-bars { display: flex; gap: 4px; padding: 10px 12px 4px; }
.st-v-bar { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); }
.st-v-bar.done { background: #fff; } .st-v-bar.cur { background: #fff; }
.st-v-head { display: flex; align-items: center; gap: 10px; padding: 4px 14px; color: #fff; }
.st-v-head b { flex: 1; }
.st-v-del, .st-v-x { background: rgba(255,255,255,.15); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 15px; }
.st-v-content { flex: 1; margin: 8px; border-radius: 14px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.st-v-text { color: #fff; font-size: 26px; font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,.7); text-align: center; padding: 20px; }
