.nc-story-panel, .nc-story-panel * { box-sizing:border-box }
.nc-story-panel { --nc-story-edge:#344362; --nc-story-red:#ef2437;color:#f5f6fa;background:#0c1530;border:1px solid var(--nc-story-edge);border-radius:12px;margin:0 auto;padding:12px 14px;max-width:100%;font-family:inherit }
.nc-story-panel[hidden],.nc-story-panel [hidden] { display:none!important }
.nc-story-panel button,.nc-story-viewer button,.nc-story-viewer a { touch-action:manipulation }
.nc-story-rail-heading { display:flex;align-items:center;justify-content:space-between;gap:10px }
.nc-story-rail-heading h2 { color:inherit;font-size:1.1rem;line-height:1.25;margin:0;padding:0 }
.nc-story-action,.nc-story-viewer button,.nc-story-viewer-tools a,.nc-story-panel [data-nc-story-more],.nc-story-panel [data-nc-story-cancel] { border:1px solid #536687;background:#1b2943;color:#fff;border-radius:7px;min-height:44px;padding:7px 10px;font-family:inherit;font-weight:700;cursor:pointer }
.nc-story-action { background:#c71024;border-color:#d9162b }
.nc-story-panel button:focus-visible,.nc-story-panel a:focus-visible,.nc-story-viewer summary:focus-visible { outline:3px solid #f6bc4c;outline-offset:2px }
.nc-story-status { margin:6px 0 0;padding:0!important;color:#d8e0f3;font-size:.88rem }
.nc-story-status:empty { display:none }
.nc-story-rail { display:flex;gap:12px;overflow-x:auto;padding:8px 3px;scroll-snap-type:x proximity }
.nc-story-rail:empty { padding:0 }
.nc-story-tile { display:grid;flex:0 0 78px;align-content:start;justify-items:center;gap:4px;width:78px;background:none;border:0;padding:3px;color:#fff!important;font:inherit;font-size:.76rem;font-weight:700;line-height:1.15;text-align:center;cursor:pointer;scroll-snap-align:start;overflow-wrap:anywhere }
.nc-story-ring { display:grid;place-items:center;width:58px;height:58px;padding:2px;border:2px solid var(--nc-story-red);border-radius:50%;background:#0f1e37 }
.nc-story-ring-idle { border-color:#7585a6 }
.nc-story-ring img,.nc-story-owner img,.nc-story-burst img { display:block;width:100%;height:100%;object-fit:cover;border-radius:50% }
.nc-story-tile > small { display:block;color:#ccd5e5;font-weight:400 }
.nc-story-panel [data-nc-story-upload],.nc-story-viewer [data-nc-story-comment] { margin-top:10px;padding:10px;border:1px solid #435473;border-radius:8px }
.nc-story-panel input { width:100%;color:inherit;background:#151f34;border:1px solid #536687;border-radius:5px;padding:8px;margin:5px 0;font:inherit }
.nc-story-panel input:focus-visible { outline:2px solid #f6bc4c }
.nc-story-panel form p { margin:3px 0 8px;padding:0;color:#d8e0f3;font-size:.85rem }
.nc-story-viewer { position:fixed;inset:0;width:min(100%,720px);height:100dvh;max-height:100dvh;max-width:100%;margin:auto;padding:10px clamp(8px,2vw,18px);border:1px solid #314364;background:#0b1121;color:#fff;overscroll-behavior:contain;overflow:auto }
.nc-story-viewer::backdrop { background:#030613ef }
.nc-story-viewer-head { display:flex;align-items:center;gap:8px;justify-content:space-between;margin-bottom:8px;min-width:0 }
.nc-story-owner { display:flex;align-items:center;gap:7px;color:#fff!important;font-weight:800;font-size:.95rem;overflow-wrap:anywhere }
.nc-story-owner img { width:35px;height:35px;flex:none }
.nc-story-viewer time { color:#d2d8e7;font-size:.78rem }
.nc-story-viewer .nc-story-close { flex:none;font-size:1.45rem;line-height:1 }
.nc-story-media { position:relative;display:grid;place-items:center;min-height:140px;height:clamp(180px,55dvh,610px);background:#070c17;border-radius:10px;overflow:hidden }
.nc-story-media>img,.nc-story-media>video { width:100%;height:100%;object-fit:contain;min-width:0;max-height:100% }
.nc-story-viewer-tools { display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:9px }
.nc-story-viewer-tools a { display:inline-flex;align-items:center }
.nc-story-viewer-tools [aria-pressed=true] { background:#a01023 }
.nc-story-viewer-tools button:disabled { opacity:.6;cursor:default }
.nc-story-viewer .nc-story-more-reactions summary { padding:10px 8px;cursor:pointer }
.nc-story-more-reactions>div { display:flex;flex-wrap:wrap;gap:4px }
.nc-story-viewer ol { margin:8px 0 0;padding:0;list-style:none }
.nc-story-viewer li { display:grid;gap:2px;padding:5px 0;overflow-wrap:anywhere }
.nc-story-burst { display:flex;align-items:center;gap:6px;max-width:85%;position:absolute;bottom:13%;left:50%;transform:translateX(-50%);background:#102049;color:#fff;border-radius:28px;border:2px solid #ec4460;padding:5px 11px;font-size:.85rem;font-weight:750;pointer-events:none;animation:nc-story-float 1.8s ease-out both }
.nc-story-burst img { width:38px;height:38px;flex:none }
@keyframes nc-story-float { from { transform:translate(-50%,20px);opacity:.95 } 75% { opacity:1 } to { transform:translate(-50%,-120px);opacity:0 } }
@media (prefers-reduced-motion:reduce) { .nc-story-burst { animation:none } }
