/* TapHub Stories & Community v1.2: home structure unchanged except stories position. */
.th-story-strip{margin:12px 10px 15px;padding:11px;border-radius:18px;background:linear-gradient(140deg,#211735,#121629);border:1px solid #67438e70;box-shadow:0 7px 24px #0005}
.th-story-strip h2{font-size:15px;letter-spacing:.02em;margin:0 0 9px;color:#f4eaff}
.th-story-row{display:flex;gap:8px;overflow-x:auto;padding:5px 1px 9px;scroll-snap-type:x proximity}
.th-story-circle{min-width:68px;flex:0 0 68px;scroll-snap-align:start}
.th-story-circle img{width:56px;height:56px;border:2px solid #b66cfa;box-shadow:0 0 12px #ab5aff45}
.th-story-circle.th-seen img{border-color:#767784;box-shadow:none;filter:saturate(.55)}
.th-story-circle.th-seen span{color:#aaa7b4}
.th-story-viewer{position:relative;max-width:min(100%,480px);margin:auto;min-height:240px;overflow:hidden;border-radius:16px;background:#070810}
.th-story-viewer img,.th-story-viewer video{width:100%;height:min(72vh,670px);max-height:72vh;object-fit:contain;border-radius:16px}
.th-story-viewer .th-viewer-button{position:absolute;z-index:2;display:grid;place-items:center;border:1px solid #ffffff55;background:#0908189f;color:#fff;backdrop-filter:blur(6px);border-radius:50%;width:36px;height:36px;cursor:pointer;min-height:36px}
.th-story-viewer .th-viewer-back{top:48%;left:7px}.th-story-viewer .th-viewer-next{top:48%;right:7px}
.th-story-viewer .th-viewer-close{top:10px;right:10px}.th-story-viewer .th-viewer-like{bottom:12px;right:13px;border-radius:22px;width:auto;padding:0 11px;gap:6px;display:flex}
.th-story-viewer .th-viewer-like.liked{background:#803a78;color:#fff}
.th-story-viewer .th-viewer-count{position:absolute;bottom:15px;left:12px;background:#060913a6;padding:5px 9px;border-radius:12px;color:white;font-size:12px}
.th-story-viewer .th-viewer-progress{position:absolute;top:0;left:0;right:0;height:3px;background:#ffffff42;z-index:2}
.th-story-viewer .th-viewer-progress span{display:block;width:100%;height:100%;background:#c48bff}
.th-story-create-trigger{min-height:38px;padding:8px 13px;border-radius:12px;background:linear-gradient(110deg,#883be0,#a939dc);color:#fff;border:1px solid #d09aff55;font-weight:700}
.th-story-mine-controls{display:flex;justify-content:space-between;gap:8px;align-items:center;border-bottom:1px solid #ffffff1b;padding:8px 0}
.th-story-mine-controls button{background:#4a2139;color:#fff;border:1px solid #a56377;border-radius:8px;padding:5px 8px}
.th-ideas-section{margin:14px 0;padding:13px;border:1px solid #7652a260;border-radius:16px;background:linear-gradient(140deg,#241735,#15172a);box-shadow:0 7px 20px #0004}
.th-ideas-section h3{font-size:17px;margin:0 0 7px}.th-ideas-section p{line-height:1.45;margin:5px 0 9px}.th-idea-item{border-top:1px solid #ffffff1d;padding:10px 0}
.th-ideas-section input,.th-ideas-section textarea,.th-ideas-section select{width:100%;max-width:100%;box-sizing:border-box;border-radius:9px;padding:9px;background:#121526;color:#fff;border:1px solid #78638c}
.th-ideas-section form{display:grid;gap:7px}.th-ideas-section .th-idea-actions{display:flex;gap:6px;flex-wrap:wrap}
@media(max-width:380px){.th-story-circle{min-width:61px;flex-basis:61px}.th-story-circle img{width:51px;height:51px}.th-ideas-section{padding:10px}.th-story-strip{margin:9px 6px}}

.th-v12-help{display:grid;gap:10px}.th-v12-help section{padding:13px;border-radius:14px;background:linear-gradient(130deg,#241731,#15192c);border:1px solid #9b70b13d}.th-v12-help p{margin:6px 0;line-height:1.45}.th-v12-help h2{font-size:16px;margin:0 0 7px}.th-viewer-button:focus-visible,.th-story-circle:focus-visible,.th-story-create-trigger:focus-visible{outline:2px solid #f2d8ff;outline-offset:2px}
