.tmc-stories-root{
  --tmc-stories-drawer-width:174px;
  --tmc-stories-trigger-size:50px;
  position:fixed;
  right:0;
  top:50%;
  z-index:140;
  display:block;
  width:var(--tmc-stories-trigger-size);
  height:var(--tmc-stories-trigger-size);
  pointer-events:none;
  transform:translateY(-50%);
}
.tmc-stories-root[hidden]{display:none!important}
.tmc-has-stories{padding-bottom:0}
.tmc-stories-root button,
.tmc-stories-root a{
  -webkit-tap-highlight-color:transparent;
}
.tmc-stories-root button:focus,
.tmc-stories-root button:focus-visible,
.tmc-stories-root a:focus,
.tmc-stories-root a:focus-visible{
  outline:none!important;
}
.tmc-stories-trigger{
  pointer-events:auto;
  position:absolute;
  right:0;
  top:50%;
  z-index:3;
  width:var(--tmc-stories-trigger-size);
  height:var(--tmc-stories-trigger-size);
  border:1px solid rgba(128,255,150,.45);
  border-radius:18px 0 0 18px;
  color:#06130a;
  background:
    radial-gradient(circle at 28% 22%,rgba(255,255,255,.95) 0 12%,transparent 26%),
    linear-gradient(135deg,#a7ff35 0%,#32e85e 44%,#00c99b 100%);
  box-shadow:
    0 0 0 7px rgba(51,255,102,.12),
    0 0 30px rgba(46,255,99,.5),
    0 18px 38px rgba(0,0,0,.34);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  isolation:isolate;
  transform:translateY(-50%);
  transition:transform .32s cubic-bezier(.2,.9,.2,1), box-shadow .2s ease, border-radius .2s ease;
  animation:tmcStoriesPulse 1.9s ease-in-out infinite;
}
.tmc-stories-trigger:before{
  content:"";
  position:absolute;
  inset:-9px -1px -9px -14px;
  z-index:-2;
  border-radius:25px 0 0 25px;
  border:1px solid rgba(120,255,160,.18);
  border-right:none;
  background:
    radial-gradient(80px 110px at 100% 50%,rgba(111,255,51,.22),transparent 72%),
    linear-gradient(180deg,rgba(5,18,18,.9),rgba(4,11,18,.96));
  box-shadow:0 18px 42px rgba(0,0,0,.34),inset 0 0 0 1px rgba(255,255,255,.04);
  backdrop-filter:blur(12px) saturate(130%);
  -webkit-backdrop-filter:blur(12px) saturate(130%);
}
.tmc-stories-trigger:hover{transform:translateY(-50%) translateX(-2px) scale(1.04);box-shadow:0 0 0 8px rgba(51,255,102,.12),0 0 34px rgba(46,255,99,.54),0 18px 34px rgba(0,0,0,.34)}
.tmc-stories-root.is-open .tmc-stories-trigger{animation:none;transform:translate(calc(-1 * var(--tmc-stories-drawer-width)),-50%);border-radius:18px 0 0 18px;box-shadow:0 0 0 1px rgba(255,255,255,.12),0 0 24px rgba(46,255,99,.34),0 16px 34px rgba(0,0,0,.34)}
.tmc-stories-root.is-open .tmc-stories-trigger:before{opacity:0}
.tmc-stories-trigger__spark{position:absolute;inset:-10px;border-radius:24px;background:conic-gradient(from 120deg,#90ff2c,#03d174,#09f1c7,#90ff2c);filter:blur(12px);opacity:.42;z-index:-1}
.tmc-stories-trigger__icon{font:900 19px/1 Inter,sans-serif;transform:translateX(1px);transition:transform .2s ease}
.tmc-stories-root.is-open .tmc-stories-trigger__icon{transform:rotate(180deg)}
.tmc-stories-trigger__text{position:absolute;right:64px;top:50%;transform:translateY(-50%) translateX(8px);opacity:0;white-space:nowrap;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(4,12,20,.86);color:#ecfff0;padding:8px 11px;font:800 11px/1 Inter,sans-serif;letter-spacing:.04em;text-transform:uppercase;box-shadow:0 12px 26px rgba(0,0,0,.28);transition:opacity .18s ease,transform .18s ease}
.tmc-stories-trigger:hover .tmc-stories-trigger__text{opacity:1;transform:translateY(-50%) translateX(0)}
.tmc-stories-root.is-open .tmc-stories-trigger__text{display:none}
.tmc-stories-drawer{
  pointer-events:auto;
  position:absolute;
  right:0;
  top:50%;
  width:var(--tmc-stories-drawer-width);
  max-height:min(620px,calc(100dvh - 44px));
  padding:14px 13px 15px 13px;
  border-radius:30px 0 0 30px;
  border:1px solid rgba(120,255,160,.2);
  background:
    radial-gradient(110px 190px at 100% 50%,rgba(111,255,51,.22),transparent 68%),
    radial-gradient(150px 210px at 18% 0%,rgba(0,201,155,.18),transparent 70%),
    linear-gradient(180deg,rgba(5,18,18,.88) 0%,rgba(4,11,18,.96) 100%);
  backdrop-filter:blur(14px) saturate(130%);
  -webkit-backdrop-filter:blur(14px) saturate(130%);
  box-shadow:
    0 24px 58px rgba(0,0,0,.45),
    inset 0 0 0 1px rgba(255,255,255,.04),
    inset -28px 0 42px rgba(32,233,100,.06);
  opacity:0;
  visibility:hidden;
  transform:translate(112%,-50%) scale(.98);
  transition:opacity .26s ease,visibility .26s ease,transform .32s cubic-bezier(.2,.9,.2,1);
}
.tmc-stories-root.is-open .tmc-stories-drawer{opacity:1;visibility:visible;transform:translate(0,-50%) scale(1)}
.tmc-stories-drawer__head{padding:2px 4px 10px;color:#fff}
.tmc-stories-drawer__head strong{display:block;font:900 14px/1.1 Inter,sans-serif;letter-spacing:.02em}
.tmc-stories-drawer__head span{display:block;margin-top:3px;color:rgba(230,255,238,.62);font:700 9px/1.2 Inter,sans-serif;text-transform:uppercase;letter-spacing:.08em}
.tmc-stories-rail{
  position:relative;
  z-index:1;
  width:100%;
  max-height:calc(min(620px,100dvh - 44px) - 52px);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:11px;
  overflow-x:hidden;
  overflow-y:auto;
  padding:2px 2px 4px;
  border-radius:18px;
  scrollbar-width:none
}
.tmc-stories-rail::-webkit-scrollbar{display:none}
.tmc-story-pill{flex:0 0 auto;width:auto;background:transparent!important;border:0;color:#fff;text-align:center;cursor:pointer;opacity:.98;display:flex;flex-direction:column;align-items:center;padding:0;appearance:none;-webkit-appearance:none}
.tmc-story-pill:hover,.tmc-story-pill:focus,.tmc-story-pill:active{background:transparent!important;box-shadow:none!important;outline:none}
.tmc-story-pill__ring{width:54px;height:86px;padding:0;border-radius:8px;margin:0 auto;background:transparent;border:4px solid #20e964;box-shadow:none;transition:transform .16s ease,border-color .16s ease}
.tmc-story-pill:hover .tmc-story-pill__ring{transform:scale(1.06);box-shadow:none}
.tmc-story-pill__ring.is-seen{background:transparent;border-color:#8b949e;box-shadow:none}
.tmc-story-pill__inner{width:100%;height:100%;border-radius:4px;overflow:hidden;border:0;background:transparent;position:relative}
.tmc-story-pill__inner img,.tmc-story-pill__inner video{width:100%;height:100%;object-fit:cover;object-position:center top;display:block;transform:none!important;border-radius:4px}
.tmc-story-pill__label{display:none}
.tmc-story-pill__inner.tmc-story-thumb-fallback{background:transparent}
.tmc-story-pill__inner .tmc-story-thumb-fallback__icon{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(212,222,234,.46);
  font:700 12px/1 Inter,sans-serif;
  text-shadow:none;
}

.tmc-story-viewer{position:fixed;inset:0;z-index:220;background:rgba(7,12,20,.36);backdrop-filter:blur(3px) saturate(105%);-webkit-backdrop-filter:blur(3px) saturate(105%);display:none;align-items:center;justify-content:center;gap:26px;padding:20px}
.tmc-story-viewer.is-open{display:flex}
.tmc-story-viewer__shell{position:relative;width:min(420px,34vw);height:min(88vh,760px);background:#000;border-radius:14px;overflow:hidden;box-shadow:0 28px 64px rgba(0,0,0,.55)}
.tmc-story-progress{position:absolute;left:10px;right:10px;top:10px;display:flex;gap:5px;z-index:8}
.tmc-story-progress span{height:3px;flex:1;border-radius:999px;background:rgba(255,255,255,.25);overflow:hidden}
.tmc-story-progress i{display:block;height:100%;width:0;background:#fff;opacity:.95;transition:width .15s linear}
.tmc-story-head{position:absolute;left:12px;right:12px;top:20px;display:flex;justify-content:space-between;align-items:center;z-index:8;color:#fff}
.tmc-story-head__title{font:600 14px/1.3 Inter,sans-serif;max-width:82%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 6px rgba(0,0,0,.65)}
.tmc-story-head__controls{display:flex;align-items:center;gap:8px}
.tmc-story-topbtn{
  width:28px;
  height:28px;
  border:none;
  border-radius:0;
  background:transparent;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  padding:0;
  opacity:.95;
}
.tmc-story-topbtn:hover{opacity:1}
.tmc-story-topbtn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tmc-story-topbtn.is-disabled{opacity:.45;pointer-events:none}
.tmc-story-topbtn.is-muted{color:#d8d8d8}
.tmc-story-topbtn.is-playing{color:#fff}
.tmc-story-close{
  border:none;
  background:transparent;
  color:#fff;
  width:28px;
  height:28px;
  cursor:pointer;
  font-size:28px;
  line-height:1;
  opacity:.95;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
}
.tmc-story-close:hover{opacity:1}
.tmc-story-stage{position:relative;flex:1;display:flex;align-items:center;justify-content:center;background:#000;height:100%}
.tmc-story-stage img,.tmc-story-stage video{width:100%;height:100%;object-fit:cover}
.tmc-story-like-burst{
  position:absolute;
  left:50%;
  top:50%;
  z-index:9;
  width:112px;
  height:112px;
  transform:translate(-50%,-50%) scale(.35) rotate(-8deg);
  pointer-events:none;
  color:#ff3040;
  opacity:0;
  filter:drop-shadow(0 14px 24px rgba(0,0,0,.34));
  animation:tmcStoryLikeBurst .86s cubic-bezier(.18,.89,.32,1.28) forwards;
}
.tmc-story-like-burst svg{width:100%;height:100%;display:block;fill:currentColor;stroke:#fff;stroke-width:1.4}
.tmc-story-like-burst:before,
.tmc-story-like-burst:after{
  content:"";
  position:absolute;
  inset:18px;
  border-radius:50%;
  border:2px solid rgba(255,48,64,.58);
  animation:tmcStoryLikeRing .72s ease-out forwards;
}
.tmc-story-like-burst:after{animation-delay:.06s;border-color:rgba(255,255,255,.38)}
.tmc-story-overlay{position:absolute;transform:translate(-50%,-50%);text-shadow:0 2px 8px rgba(0,0,0,.6);font-family:Inter,sans-serif;line-height:1.2;max-width:86%;word-break:break-word}
.tmc-story-overlay--link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:.45em .8em;border-radius:999px;background:rgba(0,0,0,.38);border:1px solid rgba(255,255,255,.46);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);box-shadow:0 10px 24px rgba(0,0,0,.25)}
.tmc-story-overlay--image img{width:auto;max-width:100%;height:auto;display:block}
.tmc-story-comments-layer{
  position:absolute;
  left:12px;
  right:12px;
  bottom:86px;
  z-index:8;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:7px;
  pointer-events:none;
}
.tmc-story-public-comment{
  max-width:min(88%,360px);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#fff;
  font-family:Inter,sans-serif;
  filter:drop-shadow(0 7px 8px rgba(0,0,0,.54));
  animation:tmcStoryCommentIn .36s ease both;
  animation-delay:var(--tmc-comment-delay,0ms);
}
.tmc-story-public-comment__text{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:17px;
  font-weight:800;
  line-height:1.15;
  letter-spacing:-.02em;
  text-shadow:0 2px 2px rgba(0,0,0,.9),0 8px 18px rgba(0,0,0,.72);
}
.tmc-story-public-comment__author{
  display:block;
  max-width:180px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px;
  font-weight:700;
  line-height:1.1;
  color:rgba(255,255,255,.82);
  text-shadow:0 2px 5px rgba(0,0,0,.9);
}
.tmc-story-nav{position:absolute;top:50%;width:44px;height:44px;margin-top:-22px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(25,27,32,.74);cursor:pointer;z-index:9;backdrop-filter:blur(5px)}
.tmc-story-nav::before{content:'';display:block;width:10px;height:10px;border-top:2px solid #fff;border-right:2px solid #fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(45deg)}
.tmc-story-nav--prev{left:-64px}
.tmc-story-nav--prev::before{transform:translate(-40%,-50%) rotate(-135deg)}
.tmc-story-nav--next{right:-64px}
.tmc-story-actions{position:absolute;left:0;right:0;bottom:0;padding:12px 12px 12px;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.78) 45%,rgba(0,0,0,.92) 100%);color:#fff;z-index:9}
.tmc-story-replybar{display:flex;align-items:center;gap:10px}
.tmc-story-replybar input{flex:1;min-width:0;height:44px;border:1px solid rgba(255,255,255,.6);background:rgba(255,255,255,.12);backdrop-filter:blur(4px);color:#fff;border-radius:999px;padding:0 18px;font:500 16px/1 Inter,sans-serif}
.tmc-story-replybar input:focus,
.tmc-story-replybar input:focus-visible{
  outline:none!important;
  border-color:rgba(255,255,255,.72);
  box-shadow:0 0 0 1px rgba(255,255,255,.16),0 10px 24px rgba(0,0,0,.24);
}
.tmc-story-replybar input::placeholder{color:rgba(255,255,255,.9)}
.tmc-story-iconbtn{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:#fff;cursor:pointer;padding:0}
.tmc-story-iconbtn svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.15;stroke-linecap:round;stroke-linejoin:round}
.tmc-story-iconbtn#tmcStoryLike svg{fill:transparent;stroke:currentColor}
.tmc-story-iconbtn#tmcStoryLike.is-liked{color:#ff3040}
.tmc-story-iconbtn#tmcStoryLike.is-liked svg{fill:#ff3040;stroke:#ff3040}
.tmc-story-feedback{min-height:14px;color:#b6f5c0;font:500 11px/1.2 Inter,sans-serif;margin:6px 2px 0}

.tmc-story-side{width:178px;height:316px;border-radius:14px;overflow:hidden;position:relative;background:#0d0f14;opacity:.68;transform:scale(.95);transition:all .2s ease;cursor:pointer}
.tmc-story-side:hover{opacity:.9;transform:scale(.98)}
.tmc-story-side[hidden]{display:none!important}
.tmc-story-side img,.tmc-story-side video{width:100%;height:100%;object-fit:cover;display:block;transform:none!important}
.tmc-story-side::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08) 0%,rgba(0,0,0,.45) 100%)}
.tmc-story-side__label{position:absolute;left:10px;right:10px;bottom:10px;z-index:2;color:#fff;font:600 12px/1.25 Inter,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 2px 6px rgba(0,0,0,.6)}

@media (max-width:1100px){
  .tmc-story-side{display:none}
  .tmc-story-nav--prev{left:8px}
  .tmc-story-nav--next{right:8px}
  .tmc-story-viewer{padding:0;overflow:hidden}
  .tmc-story-viewer__shell{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}
}
@media (max-width:767px){
  .tmc-stories-root{--tmc-stories-drawer-width:140px;--tmc-stories-trigger-size:46px;right:0;top:50%;bottom:auto;width:var(--tmc-stories-trigger-size);height:var(--tmc-stories-trigger-size);transform:translateY(-50%)}
  .tmc-stories-trigger{width:var(--tmc-stories-trigger-size);height:var(--tmc-stories-trigger-size);border-radius:17px 0 0 17px}
  .tmc-stories-trigger:before{inset:-8px -1px -8px -12px;border-radius:23px 0 0 23px}
  .tmc-stories-root.is-open .tmc-stories-trigger{border-radius:17px 0 0 17px}
  .tmc-stories-trigger__text{display:none}
  .tmc-stories-drawer{
    position:absolute;
    right:0;
    top:50%;
    bottom:auto;
    width:var(--tmc-stories-drawer-width);
    max-height:min(430px,calc(100dvh - 36px));
    border-radius:26px 0 0 26px;
    padding:11px 10px 12px 10px;
    transform:translate(112%,-50%) scale(.98);
  }
  .tmc-stories-root.is-open .tmc-stories-drawer{transform:translate(0,-50%) scale(1)}
  .tmc-stories-drawer__head strong{font-size:13px}
  .tmc-stories-drawer__head span{display:none}
  .tmc-stories-rail{
    width:100%;
    max-height:calc(min(430px,100dvh - 36px) - 42px);
    gap:10px;
    padding:2px 0 4px;
  }
  .tmc-story-pill{width:auto}
  .tmc-story-pill__ring{width:50px;height:80px;border-radius:8px}
  .tmc-story-pill__inner{border-radius:4px}
  .tmc-story-pill__label{display:none}
  .tmc-story-nav{display:none}
  .tmc-story-head{top:16px}
  .tmc-story-head__controls{gap:6px}
  .tmc-story-topbtn,.tmc-story-close{width:26px;height:26px}
  .tmc-story-topbtn svg{width:18px;height:18px}
  .tmc-story-close{font-size:24px}
  .tmc-story-actions{padding:10px 10px 10px}
  .tmc-story-comments-layer{left:10px;right:10px;bottom:74px;gap:6px}
  .tmc-story-public-comment{max-width:90%}
  .tmc-story-public-comment__text{font-size:15px}
  .tmc-story-public-comment__author{font-size:10px;max-width:150px}
  .tmc-story-replybar{gap:8px}
  .tmc-story-replybar input{height:42px;padding:0 15px;font-size:17px}
  .tmc-story-iconbtn{width:32px;height:32px}
  .tmc-story-iconbtn svg{width:24px;height:24px}
}

html.tmc-story-open,
body.tmc-story-open{
  overflow:hidden !important;
  overscroll-behavior:none;
}
body.tmc-story-open{
  position:fixed;
  width:100%;
  inset:0;
}

@keyframes tmcStoriesPulse{
  0%,100%{box-shadow:0 0 0 7px rgba(51,255,102,.12),0 0 30px rgba(46,255,99,.5),0 18px 38px rgba(0,0,0,.34)}
  50%{box-shadow:0 0 0 13px rgba(51,255,102,.04),0 0 46px rgba(46,255,99,.72),0 18px 38px rgba(0,0,0,.34)}
}
@keyframes tmcStoryLikeBurst{
  0%{opacity:0;transform:translate(-50%,-50%) scale(.35) rotate(-12deg)}
  16%{opacity:1;transform:translate(-50%,-50%) scale(1.18) rotate(4deg)}
  32%{opacity:1;transform:translate(-50%,-50%) scale(.94) rotate(-2deg)}
  52%{opacity:1;transform:translate(-50%,-50%) scale(1.03) rotate(0)}
  100%{opacity:0;transform:translate(-50%,-50%) scale(1.22) rotate(0)}
}
@keyframes tmcStoryLikeRing{
  0%{opacity:.8;transform:scale(.45)}
  100%{opacity:0;transform:scale(1.75)}
}
@keyframes tmcStoryCommentIn{
  from{opacity:0;transform:translateY(10px) scale(.98)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
