/* DG80 one Instagram-like 24h Story UI on canonical web/Android/iOS. */
#dg80SocialStories[hidden]{display:none!important}
#dg80SocialStories{margin:12px auto 20px;max-width:1100px;min-width:0}
.dg80-story-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 12px;padding:0 4px}
.dg80-story-head h2{margin:0;color:#252746;font-size:18px;font-weight:900;letter-spacing:-.35px}
.dg80-story-head small{font-size:11px;color:#68718d}
.dg80-story-strip{display:flex;gap:15px;overflow:auto hidden;padding:3px 4px 11px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;
 scrollbar-width:thin;scrollbar-color:#d2cbe8 transparent}
.dg80-ring{scroll-snap-align:start;min-width:79px;width:79px;display:flex;flex-direction:column;align-items:center;gap:5px;
 background:transparent;border:0;color:#26304d;font:inherit;cursor:pointer;text-align:center;padding:2px}
.dg80-ring-cover{position:relative;display:flex;justify-content:center;align-items:center;width:73px;height:73px;border-radius:50%;
 padding:4px;box-sizing:border-box;background:linear-gradient(135deg,#ed37a9 7%,#a653ef 49%,#fa9c36);
 box-shadow:0 2px 10px #672aae28;color:#fff}
.dg80-ring-cover>img,.dg80-ring-icon{width:100%;height:100%;border:3px solid #fff;border-radius:50%;
 object-fit:cover;background:#5939a6;display:grid;place-items:center}
.dg80-ring-count{position:absolute;bottom:0;inset-inline-end:-4px;background:#392b73;border-radius:50%;
 font-size:11px;font-weight:900;min-width:22px;height:22px;display:grid;place-items:center;border:2px solid #fff;color:#fff}
.dg80-ring-label{font-size:11px;font-weight:800;max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:auto}
.dg80-create .dg80-ring-cover{background:linear-gradient(135deg,#9064e9,#46c3b8);font-size:33px;font-weight:900}
.dg80-empty-hint{margin:1px 4px 0;padding:10px 13px;border-radius:14px;
 background:#f6f3fd;color:#5c5981;font-size:12px;line-height:1.8;
 text-align:start;overflow-wrap:anywhere;border:1px solid #e9e1f7}
.dg80-ring:focus-visible,.dg80-story-dialog button:focus-visible{outline:3px solid #41deda;outline-offset:3px}
.dg80-story-dialog:not([open]){display:none!important}
.dg80-story-dialog[open]{position:fixed;inset:0;margin:0;padding:0;border:0;max-width:none;max-height:none;
 width:100vw;height:100vh;height:100dvh;background:#090c1b;color:white;display:flex;align-items:stretch;justify-content:center;
 z-index:99999;overflow:hidden}
.dg80-story-dialog::backdrop{background:rgba(6,5,20,.98)}
.dg80-view-card{position:relative;width:100%;height:100%;max-width:500px;min-height:0;overflow:hidden;
 background:linear-gradient(140deg,#1f1747,#161f36);display:flex;flex-direction:column;isolation:isolate}
.dg80-progress{display:flex;gap:4px;width:100%;box-sizing:border-box;padding:calc(env(safe-area-inset-top,0px) + 9px) 12px 7px;
 min-height:23px;z-index:4}
.dg80-progress-track{height:3px;flex:1;min-width:2px;background:#ffffff4c;border-radius:999px;overflow:hidden;direction:ltr}
.dg80-progress-fill{display:block;height:100%;width:100%;transform:scaleX(0);transform-origin:left;
 background:#fff;border-radius:999px;will-change:transform}
.dg80-header{display:flex;gap:6px;align-items:center;padding:7px 12px 10px;z-index:4;
 background:linear-gradient(#070a1777,#070a1700)}
.dg80-header button,.dg80-footer button{background:#0811236a;border:1px solid #ffffff38;color:#fff;
 cursor:pointer;display:flex;align-items:center;justify-content:center}
.dg80-header .dg80-author{background:transparent;border:0;gap:8px;min-width:0;max-width:62%;flex:1;justify-content:flex-start;
 font:inherit;text-align:start}
.dg80-author-avatar{width:38px;height:38px;min-width:38px;border:2px solid #ed78de;border-radius:50%;
 display:grid;place-items:center;background:#6744c7;font-size:22px}
.dg80-author-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800}
.dg80-story-time{font-size:10px;color:#e0e2ee;min-width:0}
.dg80-play-pause,.dg80-close{width:36px;height:36px;min-width:36px;border-radius:50%;font-size:20px}
.dg80-close{font-size:27px}
.dg80-stage{flex:1;min-height:0;position:relative;display:flex;align-items:stretch;justify-content:center;overflow:hidden}
.dg80-scene{width:100%;height:100%;position:relative;display:flex;align-items:center;justify-content:center;
 background:radial-gradient(ellipse at 27% 25%,#aa55b24a,transparent 66%),linear-gradient(160deg,#312c66,#182346 80%)}
.dg80-scene.dg80-text{background:radial-gradient(ellipse at 20% 11%,#f29b7d45,transparent 65%),
 linear-gradient(140deg,#79367f,#35398f 52%,#102f55)}
.dg80-story-symbol{font-size:96px;color:#ffffff66;transform:rotate(-10deg);position:absolute;top:10%;inset-inline-end:16%}
.dg80-image{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;
 user-select:none;pointer-events:none;position:absolute;inset:0}
.dg80-caption{position:absolute;inset-inline:0;bottom:0;padding:80px 22px 25px;
 background:linear-gradient(transparent,#050713bd 53%,#050713e8);
 text-align:center;pointer-events:none;max-height:70%;overflow:hidden}
.dg80-title{display:block;font-size:clamp(21px,5vw,30px);line-height:1.5;text-shadow:0 2px 10px #0008;
 overflow-wrap:anywhere}
.dg80-caption p{font-size:14px;line-height:1.85;margin:7px 0 0;white-space:pre-line;overflow-wrap:anywhere;
 max-height:9em;overflow:hidden;color:#f2f0ff}
.dg80-scene.dg80-text .dg80-caption{bottom:auto;inset-block:32% auto;background:transparent;padding:18px 26px;
 max-height:65%;overflow:auto}
.dg80-scene.dg80-text .dg80-caption p{max-height:none;font-size:17px}
.dg80-tap{position:absolute;z-index:3;top:0;bottom:0;width:32%;border:0;background:transparent;color:transparent;cursor:pointer;
 font-size:0}
.dg80-tap-left{left:0}.dg80-tap-right{right:0}
.dg80-footer{z-index:4;display:flex;justify-content:center;align-items:center;gap:10px;
 padding:12px 20px calc(env(safe-area-inset-bottom,0px) + 16px);min-height:46px}
.dg80-footer button{min-width:52px;min-height:42px;border-radius:999px;font-size:22px;padding:0 12px}
.dg80-footer .dg80-share{background:#7939b2;font-size:23px}.dg80-footer .dg80-like{font-size:26px}
.dg80-feedback{position:absolute;bottom:calc(env(safe-area-inset-bottom,0px) + 69px);inset-inline:20px;
 text-align:center;background:#171b32d9;color:#fff;font-size:12px;border-radius:10px;margin:0;
 pointer-events:none}
.dg80-feedback:empty{display:none}.dg80-media-error{color:#fff}
@media(min-width:700px){.dg80-story-dialog[open]{padding:15px 0}.dg80-view-card{border-radius:24px;
 box-shadow:0 10px 65px #000b}.dg80-progress{padding-top:12px}}
@media(max-width:380px){.dg80-header{padding-inline:8px;gap:3px}
.dg80-story-time{font-size:9px}.dg80-play-pause,.dg80-close{width:33px;height:33px;min-width:33px}}
@media(prefers-reduced-motion:reduce){.dg80-progress-fill{transition:none!important}}

.dg80-video-player{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;
 background:#090c19;pointer-events:none}
.dg80-header .dg80-sound{width:34px;height:34px;min-width:34px;border-radius:50%;font-size:17px}
