.thream-story-tools{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:10px!important;margin-top:14px!important;position:relative!important;z-index:5!important}
.thream-story-tool{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;min-height:48px!important;padding:0 14px!important;border:1px solid #dfe7f2!important;border-radius:15px!important;background:#fff!important;color:#24324a!important;font-size:12px!important;box-shadow:0 3px 10px rgba(15,23,42,.035)!important;cursor:pointer!important}
.thream-story-tool:hover{border-color:#bcd0f8!important;background:#f8fbff!important;color:#155eef!important}
.thream-story-tool span{color:#155eef!important;font-size:14px!important}.thream-story-tool strong{font-size:12px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.thream-story-tool em{margin-left:auto!important;font-style:normal!important;color:#8492a8!important}
.thream-story-tool-media{background:#eef5ff!important;border-color:#eef5ff!important;color:#155eef!important}
.thream-story-popover{position:fixed!important;z-index:10000!important;min-width:250px!important;border:1px solid #dfe7f2!important;border-radius:18px!important;background:rgba(255,255,255,.99)!important;box-shadow:0 24px 70px rgba(15,23,42,.24)!important;padding:10px!important;backdrop-filter:blur(16px)!important;overflow:visible!important}
.thream-location-popover label{display:block!important;margin:2px 4px 8px!important;font-size:11px!important;font-weight:800!important;color:#64748b!important}.thream-location-popover>div{display:flex!important;gap:8px!important}.thream-location-popover input{min-width:0!important;flex:1!important;height:42px!important;min-height:42px!important;border:1px solid #dbe4f0!important;border-radius:12px!important;padding:0 12px!important;font-size:12px!important;outline:none!important}.thream-location-popover button{min-height:42px!important;border-radius:12px!important;background:#155eef!important;color:#fff!important;padding:0 14px!important;font-size:11px!important;font-weight:800!important}
.thream-audience-popover{display:grid!important;gap:5px!important}.thream-audience-popover>button{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;min-height:64px!important;border:0!important;border-radius:14px!important;background:#fff!important;padding:11px 12px!important;text-align:left!important}.thream-audience-popover>button:hover{background:#f4f8ff!important}.thream-audience-popover>button>span{min-width:0!important}.thream-audience-popover strong{display:block!important;font-size:12px!important;color:#172033!important}.thream-audience-popover small{display:block!important;margin-top:4px!important;font-size:10px!important;font-weight:500!important;color:#8492a8!important}.thream-audience-popover em{flex:none!important;color:#155eef!important;font-size:15px!important;font-style:normal!important}
.thream-story-upload.thream-story-has-preview{padding:0!important;background:#09111f!important;border-style:solid!important;border-color:#d7e3f7!important}.thream-story-upload.thream-story-has-preview>:not(.thream-story-preview){opacity:0!important;pointer-events:none!important}.thream-story-preview{position:absolute!important;inset:0!important;z-index:5!important;width:100%!important;height:100%!important;object-fit:contain!important;background:#09111f!important}.thream-story-upload.thream-story-has-preview:after{content:'Click to replace'!important;position:absolute!important;z-index:7!important;right:14px!important;bottom:14px!important;width:auto!important;height:auto!important;border-radius:999px!important;background:rgba(15,23,42,.72)!important;color:#fff!important;padding:7px 11px!important;font-size:10px!important;font-weight:800!important;backdrop-filter:blur(8px)!important}

/* Story strip: always true circles on desktop and mobile. */
.thream-story-strip{overflow:hidden!important;padding:12px 14px!important}
.thream-story-row{display:flex!important;align-items:flex-start!important;gap:14px!important;overflow-x:auto!important;padding:2px 2px 8px!important;scrollbar-width:none!important}
.thream-story-row::-webkit-scrollbar{display:none!important}
.thream-story-bubble{display:flex!important;width:72px!important;min-width:72px!important;max-width:72px!important;flex:0 0 72px!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;padding:0!important;background:transparent!important;border:0!important;overflow:visible!important;text-align:center!important}
.thream-story-bubble>span:first-child{display:block!important;position:relative!important;width:62px!important;height:62px!important;min-width:62px!important;min-height:62px!important;max-width:62px!important;max-height:62px!important;aspect-ratio:1/1!important;border-radius:9999px!important;overflow:hidden!important;box-sizing:border-box!important}
.thream-story-bubble>span:first-child img,.thream-story-bubble>span:first-child video{display:block!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;border-radius:9999px!important;object-fit:cover!important}
.thream-story-bubble>span:last-child{display:block!important;width:72px!important;margin-top:7px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:10px!important;line-height:1.2!important}

/* Story viewer: guarantee it is visible above every Campus layer. */
.thream-story-viewer{position:fixed!important;inset:0!important;z-index:20000!important;display:grid!important;place-items:center!important;background:rgba(2,8,23,.96)!important;backdrop-filter:blur(18px)!important;padding:24px!important;overflow:hidden!important}
.thream-story-viewer-media{display:block!important;width:auto!important;max-width:min(760px,94vw)!important;height:auto!important;max-height:92vh!important;object-fit:contain!important;border-radius:22px!important;background:#030712!important;box-shadow:0 30px 100px rgba(0,0,0,.5)!important}
.thream-story-viewer>div:first-child{z-index:20002!important}

/* Keep Intention / Spotlight accessible without covering page copy. */
.thream-view-switch-wrap{top:auto!important;right:18px!important;bottom:18px!important;left:auto!important;transform:none!important;padding:0!important;z-index:80!important}
.thream-view-switch{border-radius:16px!important;padding:4px!important;box-shadow:0 14px 40px rgba(15,23,42,.16)!important}
.thream-view-switch button{min-height:38px!important;padding-left:11px!important;padding-right:11px!important;font-size:10px!important}

@media(max-width:900px){.thream-story-tools{grid-template-columns:1fr!important}.thream-story-tool{min-height:46px!important}}
@media(max-width:767px){
 .thream-story-popover{left:16px!important;right:16px!important;top:auto!important;bottom:16px!important;width:auto!important;min-width:0!important}
 .thream-story-tools{grid-template-columns:1fr 1fr!important}.thream-story-tool-media{grid-column:1/-1!important}
 .thream-story-strip{padding:10px 4px!important;background:transparent!important;border:0!important;box-shadow:none!important}
 .thream-story-bubble{width:68px!important;min-width:68px!important;max-width:68px!important;flex-basis:68px!important}
 .thream-story-bubble>span:first-child{width:60px!important;height:60px!important;min-width:60px!important;min-height:60px!important;max-width:60px!important;max-height:60px!important}
 .thream-story-bubble>span:last-child{width:68px!important}
 .thream-story-viewer{padding:0!important}.thream-story-viewer-media{max-width:100vw!important;max-height:100dvh!important;border-radius:0!important}
 .thream-view-switch-wrap{right:50%!important;bottom:76px!important;left:auto!important;transform:translateX(50%)!important}
 .thream-view-switch button{min-height:38px!important;padding-left:10px!important;padding-right:10px!important}
}