/*!
 * T10T Video Display v6.0 - cinematic feed + grid
 * Loaded after style.css. Everything is scoped to .t10t-v6 / new class names.
 */

/* ---------------------------------------------------------------- tokens */
.t10t-v6{
  --t10t-strip: 22px;
  --t10t-amber: #ffb547;
  --t10t-ink: #f5f1e8;
  --t10t-night: #08080b;
  --t10t-panel: #0e0e13;
  --t10t-chip: #15151b;
  --t10t-line: #24242c;
  --t10t-dim: #a9a59b;
  --t10t-red: #ff4d5e;
  --t10t-blue: #5aa9ff;
  --t10t-green: #3ddc97;
  font-family: system-ui, -apple-system, "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
  color: var(--t10t-ink);
}

/* ---------------------------------------------------------------- toggle (shared) */
.t10t-v6 .t10t-seg{
  display: inline-flex; align-items: center; height: 44px; padding: 0 4px;
  background: rgba(8,8,11,.6); border-radius: 22px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.t10t-v6 .t10t-seg-btn{
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 18px; border-radius: 18px;
  font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none;
  color: var(--t10t-ink) !important; background: transparent;
  transition: background .2s, color .2s;
}
.t10t-v6 .t10t-seg-btn.active{ background: var(--t10t-amber); color: #1a1204 !important; font-weight: 700; }
.t10t-v6 .t10t-seg-btn:focus-visible{ outline: 2px solid var(--t10t-amber); outline-offset: 2px; }

/* ================================================================= FEED */
/* the site header gets out of the way so the video can use the whole screen */
html.t10t-feed-lock #masthead{
  position: fixed !important; top: var(--t10t-top, 0px) !important; left: 0 !important; right: 0 !important; z-index: 60 !important;
  transform: translateY(-130%); visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
}
html.t10t-feed-lock.t10t-hdr-open #masthead{ transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }

.t10t-v6 .t10t-menu-btn{
  all: unset; box-sizing: border-box; width: 44px; height: 44px; border-radius: 50%; margin-inline-start: 8px;
  display: flex; align-items: center; justify-content: center; cursor: pointer; pointer-events: auto;
  background: rgba(8,8,11,.6); color: var(--t10t-ink); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  -webkit-tap-highlight-color: transparent;
}
.t10t-v6 .t10t-menu-btn:focus-visible{ outline: 2px solid var(--t10t-amber); outline-offset: 2px; }

/* dark page around the grid (no white side margins) */
html.t10t-v6-page body,
html.t10t-v6-page #page,
html.t10t-v6-page #content{ background: #08080b !important; }
html.t10t-v6-page #content > .ast-container{ max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
html.t10t-feed-lock,
html.t10t-feed-lock body{ overflow: hidden !important; height: 100% !important; overscroll-behavior: none; }

.t10t-main-content.t10t-v6.feed-view{
  position: fixed !important; left: 0; right: 0; bottom: 0; top: var(--t10t-top, 0px);
  z-index: 20; width: auto !important; max-width: none !important;
  margin: 0 !important; padding: 0 !important; min-height: 0 !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  background: var(--t10t-night) !important; background-image: none !important;
}

.t10t-v6.feed-view .t10t-topbar{
  position: absolute; z-index: 9; top: 10px; inset-inline: 12px;
  display: flex; justify-content: flex-start; pointer-events: none;
}
.t10t-v6.feed-view .t10t-topbar .t10t-seg{ pointer-events: auto; }

.t10t-v6.feed-view .video-feed{
  position: absolute !important; inset: 0 !important;
  display: block !important; width: 100% !important; max-width: none !important; height: 100% !important;
  margin: 0 !important; padding: 0 !important;
  overflow-x: hidden; overflow-y: auto;
  scroll-snap-type: y mandatory; overscroll-behavior: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  background: transparent !important;
}
.t10t-v6.feed-view .video-feed::-webkit-scrollbar{ display: none; }

.t10t-v6.feed-view .video-feed > .video-feed-item{
  position: relative !important; display: block !important;
  width: 100% !important; max-width: none !important; height: 100% !important;
  margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  background: transparent !important; overflow: hidden !important;
  scroll-snap-align: start; scroll-snap-stop: always;
}

/* sponsored / other cards keep their own look, centred in one full snap page */
.t10t-v6.feed-view .video-feed > .video-feed-item:not(.t10t-card){
  display: flex !important; align-items: center; justify-content: center;
}

/* ---------------------------------------------------------------- card */
.t10t-v6 .t10t-stage{
  position: relative; height: 100%; box-sizing: border-box; padding: 12px 0;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.t10t-v6 .t10t-film{
  position: relative; flex: none; height: 100%;
  width: min(100%, calc((var(--t10t-h, calc(100dvh - 64px)) - 24px) * .5625 + 2 * var(--t10t-strip)));
  transition: opacity .25s ease, transform .25s ease;
}
.t10t-v6 .video-feed-item:not(.is-active) .t10t-film{ opacity: .5; transform: scale(.97); }

/* film strips */
.t10t-v6 .t10t-strip{
  position: absolute; top: 0; bottom: 0; width: var(--t10t-strip); z-index: 1; pointer-events: none;
  background: #26262e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='30'%3E%3Crect x='5' y='8' width='12' height='14' rx='3' fill='%2308080b'/%3E%3C/svg%3E") repeat-y;
  background-size: 22px 30px;
}
.t10t-v6 .t10t-strip-s{ left: 0; border-right: 1px solid #3a3a45; }
.t10t-v6 .t10t-strip-e{ right: 0; border-left: 1px solid #3a3a45; }

/* screen */
.t10t-v6 .t10t-screen{
  position: absolute !important; top: 0 !important; bottom: 0 !important;
  left: var(--t10t-strip) !important; right: var(--t10t-strip) !important;
  width: auto !important; height: auto !important; aspect-ratio: auto !important;
  margin: 0 !important; padding: 0 !important; box-shadow: none !important;
  border-radius: 12px; overflow: hidden; background: #0b1a21; cursor: pointer; isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
.t10t-v6 .t10t-video,
.t10t-v6 .t10t-poster{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; border: 0;
}
.t10t-v6 .t10t-video{ z-index: 1; background: #0b1a21; }
.t10t-v6 .t10t-poster{ z-index: 2; transition: opacity .2s ease; }
.t10t-v6 .video-feed-item.is-playing .t10t-poster{ opacity: 0; pointer-events: none; }

/* active glow */
.t10t-v6 .t10t-glow{
  position: absolute; top: 0; bottom: 0; left: var(--t10t-strip); right: var(--t10t-strip); border-radius: 12px; z-index: 3;
  box-shadow: 0 0 0 2px var(--t10t-amber), 0 0 36px 4px rgba(255,181,71,.38);
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.t10t-v6 .video-feed-item.is-active .t10t-glow{ opacity: 1; }

/* ---------------------------------------------------------------- overlays on the screen */
.t10t-v6 .t10t-screen .t10t-video-watermark{
  position: absolute; top: 62px; inset-inline-end: 14px; z-index: 4; pointer-events: none;
}
.t10t-v6 .t10t-wm-badge{
  color: rgba(255,255,255,.55); font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0,0,0,.45);
}
.t10t-v6 .t10t-ctrls{ position: absolute; z-index: 7; top: 12px; inset-inline-end: 12px; display: flex; gap: 8px; }
.t10t-v6 .t10t-ctrl{
  all: unset; box-sizing: border-box; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--t10t-ink); background: rgba(8,8,11,.55);
  -webkit-tap-highlight-color: transparent;
}
.t10t-v6 .t10t-ctrl:focus-visible{ outline: 2px solid var(--t10t-amber); outline-offset: 2px; }
.t10t-v6 .t10t-mute .t10t-svg-mute{ display: none; }
.t10t-v6 .t10t-is-muted .t10t-mute .t10t-svg-volume{ display: none; }
.t10t-v6 .t10t-is-muted .t10t-mute .t10t-svg-mute{ display: block; }

.t10t-v6 .t10t-unmute{
  all: unset; box-sizing: border-box; position: absolute; z-index: 8; top: 66px; inset-inline: 0; margin-inline: auto;
  width: max-content; max-width: calc(100% - 24px); height: 40px; padding: 0 16px; border-radius: 20px;
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  background: rgba(255,181,71,.96); color: #1a1204; font-size: 14px; font-weight: 700; white-space: nowrap;
  animation: t10t-pulse 1.8s ease-in-out infinite;
}
.t10t-v6 .t10t-unmute[hidden]{ display: none !important; }

.t10t-v6 .t10t-flash{
  position: absolute; z-index: 6; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,8,11,.55); color: var(--t10t-ink);
  opacity: 0; transform: scale(.8); pointer-events: none;
}
.t10t-v6 .t10t-flash .t10t-svg{ display: none; }
.t10t-v6 .t10t-flash[data-kind="play"] .t10t-svg-play,
.t10t-v6 .t10t-flash[data-kind="pause"] .t10t-svg-pause{ display: block; }
.t10t-v6 .t10t-flash.go{ animation: t10t-flash .6s ease-out; }
.t10t-v6 .video-feed-item.is-paused .t10t-flash{ opacity: 1; transform: none; animation: none; }
.t10t-v6 .video-feed-item.is-paused .t10t-flash .t10t-svg{ display: none; }
.t10t-v6 .video-feed-item.is-paused .t10t-flash .t10t-svg-play{ display: block; }

.t10t-v6 .t10t-buffer{
  position: absolute; z-index: 6; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid rgba(245,241,232,.25); border-top-color: var(--t10t-amber);
  opacity: 0; pointer-events: none; animation: t10t-spin .8s linear infinite;
}
.t10t-v6 .video-feed-item.is-buffering .t10t-buffer{ opacity: 1; }

.t10t-v6 .t10t-progress{ position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(245,241,232,.25); }
.t10t-v6 .t10t-progress i{ display: block; height: 100%; width: 0; background: var(--t10t-amber); }

.t10t-v6 .t10t-burst{ position: absolute; z-index: 9; color: var(--t10t-red); pointer-events: none; transform: translate(-50%,-50%); animation: t10t-burst .8s ease-out forwards; }

/* ---------------------------------------------------------------- info block */
.t10t-v6 .t10t-info{
  position: absolute; z-index: 5; inset-inline: 12px 76px; bottom: 18px;
  display: flex; flex-direction: column; gap: 10px; isolation: isolate; pointer-events: none;
}
.t10t-v6 .t10t-screen::after{
  content: ""; position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 46%; pointer-events: none;
  background: linear-gradient(to top, rgba(8,8,11,.84), rgba(8,8,11,0));
}
.t10t-v6 .t10t-info a, .t10t-v6 .t10t-info button, .t10t-v6 .t10t-pub-follow{ pointer-events: auto; }

.t10t-v6 .t10t-pub{ display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
.t10t-v6 .t10t-pub-name{
  flex: 0 1 auto; min-width: 0; font-size: 16px; font-weight: 700; color: var(--t10t-ink) !important;
  text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0,0,0,.5);
}

.t10t-v6 .t10t-title{
  margin: 0; font-size: 15px; line-height: 1.55; font-weight: 600; color: var(--t10t-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.t10t-v6 .t10t-chips{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.t10t-v6 .t10t-chip{
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: 13px;
  background: rgba(8,8,11,.55); color: var(--t10t-ink); font-size: 12px; font-weight: 600; line-height: 1;
}

/* avatar with the (+) follow badge (child theme button markup restyled) */
.t10t-v6 .t10t-av{ position: relative; width: 44px; height: 44px; margin-bottom: 8px; flex: none; }
.t10t-v6 .t10t-av-link{ display: block; line-height: 0; }
.t10t-v6 .t10t-av-link img{
  width: 44px !important; height: 44px !important; border-radius: 50% !important; object-fit: cover; display: block;
  border: 2px solid var(--t10t-ink) !important; box-sizing: border-box; background: #2b2b34;
}
.t10t-v6 .t10t-av .t10t-follow-btn{
  position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%);
  box-sizing: border-box; width: 22px !important; height: 22px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
  display: flex !important; align-items: center; justify-content: center;
  border-radius: 50% !important; border: 2px solid var(--t10t-night) !important; box-shadow: none !important;
  background: var(--t10t-amber) !important; color: #1a1204 !important;
  font-size: 0 !important; line-height: 1 !important; cursor: pointer;
  transition: background .2s, transform .15s;
}
.t10t-v6 .t10t-av .t10t-follow-btn i{ display: none !important; }
.t10t-v6 .t10t-av .t10t-follow-btn{
  background-repeat: no-repeat !important; background-position: center !important; background-size: 12px 12px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1204' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") !important;
}
.t10t-v6 .t10t-av .t10t-follow-btn.following{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308080b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") !important;
}
.t10t-v6 .t10t-av .t10t-follow-btn::after{ content: ""; position: absolute; inset: -12px; }
.t10t-v6 .t10t-av .t10t-follow-btn:active{ transform: translateX(-50%) scale(.9); }
.t10t-v6 .t10t-av .t10t-follow-btn.following{ background: var(--t10t-green) !important; }

/* ---------------------------------------------------------------- actions */
.t10t-v6 .t10t-actions{
  position: absolute; z-index: 8; inset-inline-end: calc(var(--t10t-strip) + 8px); bottom: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.t10t-v6 .t10t-act{
  all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 44px; cursor: pointer; color: var(--t10t-ink); -webkit-tap-highlight-color: transparent;
}
.t10t-v6 .t10t-act .t10t-ico{
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(8,8,11,.55); transition: transform .15s ease, background .2s ease, color .2s ease;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.t10t-v6 .t10t-act .count{ font-size: 11.5px; font-weight: 600; line-height: 1; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.t10t-v6 .t10t-act:active .t10t-ico{ transform: scale(.9); }
.t10t-v6 .t10t-act:focus-visible .t10t-ico{ outline: 2px solid var(--t10t-amber); outline-offset: 2px; }
.t10t-v6 .like-btn .t10t-svg{ fill: none; }
.t10t-v6 .like-btn.liked .t10t-ico{ color: var(--t10t-red); background: rgba(255,77,94,.2); }
.t10t-v6 .like-btn.liked .t10t-svg{ fill: currentColor; }
.t10t-v6 .comment-btn .t10t-ico{ color: var(--t10t-blue); }
.t10t-v6 .share-btn .t10t-ico{ color: var(--t10t-green); }
.t10t-v6 .t10t-act-quiet .t10t-ico{ width: 36px; height: 36px; color: var(--t10t-dim); }
.t10t-v6 .t10t-act.pop .t10t-ico{ animation: t10t-pop .45s ease; }

/* tablet + desktop: actions sit beside the film, not on it */
@media (min-width: 700px){
  .t10t-v6 .t10t-info{ inset-inline-end: 12px; }
  .t10t-v6 .t10t-actions{ position: static; align-self: center; inset: auto; }
  .t10t-v6 .t10t-act .t10t-ico{ background: var(--t10t-chip); }
}

/* arrows (desktop) */
.t10t-v6 .t10t-nav{ display: none; }
@media (min-width: 900px){
  .t10t-v6 .t10t-nav{
    position: absolute; z-index: 10; inset-inline-start: 24px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 12px;
  }
  .t10t-v6 .t10t-nav-btn{
    all: unset; box-sizing: border-box; width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    background: var(--t10t-chip); color: var(--t10t-ink); transition: background .2s;
  }
  .t10t-v6 .t10t-nav-btn:hover{ background: #20202a; }
  .t10t-v6 .t10t-nav-btn:focus-visible{ outline: 2px solid var(--t10t-amber); outline-offset: 2px; }
}

/* fullscreen */
.t10t-v6 .t10t-screen:fullscreen{ border-radius: 0; background: #000; }
.t10t-v6 .t10t-screen:fullscreen .t10t-video{ object-fit: contain; }
.t10t-v6 .t10t-screen:-webkit-full-screen{ border-radius: 0; background: #000; }
.t10t-v6 .t10t-screen:-webkit-full-screen .t10t-video{ object-fit: contain; }

/* ================================================================= GRID */
.t10t-main-content.t10t-v6.grid-view{
  width: 100% !important; max-width: 1400px !important; margin: 0 auto !important; padding: 12px !important; box-sizing: border-box;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  background: var(--t10t-night) !important; background-image: none !important; min-height: 60vh;
}
.t10t-v6.grid-view .t10t-topbar{ display: flex; padding: 4px 0 14px; }
.t10t-v6.grid-view .video-grid{
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important;
}
@media (min-width: 700px){  .t10t-v6.grid-view .video-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px !important; } }
@media (min-width: 1000px){ .t10t-v6.grid-view .video-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (min-width: 1280px){ .t10t-v6.grid-view .video-grid{ grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 16px !important; } }

.t10t-v6 .t10t-tile{
  position: relative; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: var(--t10t-chip);
  transition: box-shadow .2s ease, transform .2s ease;
}
.t10t-v6 .t10t-tile:hover,
.t10t-v6 .t10t-tile:focus-within{ box-shadow: 0 0 0 2px var(--t10t-amber), 0 0 22px 3px rgba(255,181,71,.38); }
.t10t-v6 .t10t-tile-link{ position: absolute; inset: 0; z-index: 2; border-radius: 10px; }
.t10t-v6 .t10t-tile-link:focus-visible{ outline: 2px solid var(--t10t-amber); outline-offset: -2px; }
.t10t-v6 .t10t-tile-img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #17323a; }
.t10t-v6 .t10t-tile-strip{
  position: absolute; top: 0; bottom: 0; width: 8px; z-index: 3; pointer-events: none;
  background: #15151b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='12'%3E%3Crect x='2' y='3' width='4' height='6' rx='1.5' fill='%2308080b'/%3E%3C/svg%3E") repeat-y;
  background-size: 8px 12px;
}
.t10t-v6 .t10t-tile-strip-s{ inset-inline-start: 0; }
.t10t-v6 .t10t-tile-strip-e{ inset-inline-end: 0; }
.t10t-v6 .t10t-tile-info{
  position: absolute; z-index: 4; inset-inline: 8px; bottom: 0; padding: 8px;
  display: flex; flex-direction: column; gap: 6px; background: rgba(8,8,11,.55); pointer-events: none;
}
.t10t-v6 .t10t-tile-title{
  font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--t10t-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.t10t-v6 .t10t-tile-row{ display: flex; align-items: center; gap: 8px; min-width: 0; }
.t10t-v6 .t10t-tile-author{
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; pointer-events: auto;
  color: var(--t10t-ink) !important; text-decoration: none; font-size: 11.5px; font-weight: 600;
}
.t10t-v6 .t10t-tile-author img{ width: 18px !important; height: 18px !important; border-radius: 50% !important; object-fit: cover; flex: none; }
.t10t-v6 .t10t-tile-name{ min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t10t-v6 .t10t-tile-views{ flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--t10t-ink); }

/* sponsored cell inside the grid */
.t10t-v6.grid-view .video-grid > .t10t-sponsored-grid-item{ aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; }

.t10t-v6 .t10t-sentinel{ height: 1px; width: 100%; }

/* ================================================================= toast */
#t10t-toast{
  position: fixed; z-index: 1000000; left: 50%; bottom: 90px; max-width: 90vw;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 12px; background: #15151b; color: #f5f1e8;
  font: 600 14px/1.4 system-ui, -apple-system, "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: opacity .25s ease, transform .25s ease;
}
#t10t-toast.show{ opacity: 1; transform: translate(-50%, 0); }

/* ================================================================= comments modal: dark, bottom sheet / side panel */
body #t10t-comments-modal{
  --t10t-bg: #08080b; --t10t-surface: #0e0e13; --t10t-surface-2: #15151b; --t10t-surface-3: #1b1b23;
  --t10t-text: #f5f1e8; --t10t-muted: #a9a59b; --t10t-border: #24242c; --t10t-primary: #ffb547;
  color-scheme: dark;
}
body #t10t-comments-modal .t10t-modal-dialog{
  left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important;
  transform: none !important; width: 100% !important; max-height: 82dvh !important;
  border-radius: 18px 18px 0 0 !important; border-bottom: 0 !important;
}
body #t10t-comments-modal .t10t-modal-body{ max-height: calc(82dvh - 64px) !important; }
body #t10t-comments-modal .t10t-modal-close{ width: 44px !important; height: 44px !important; }
@media (min-width: 900px){
  body #t10t-comments-modal .t10t-modal-backdrop{ background: rgba(0,0,0,.35) !important; }
  body #t10t-comments-modal .t10t-modal-dialog{
    left: 24px !important; right: auto !important; top: 24px !important; bottom: 24px !important;
    width: 420px !important; max-height: none !important; border-radius: 18px !important;
    border-bottom: 1px solid var(--t10t-border) !important; display: flex !important; flex-direction: column;
  }
  body #t10t-comments-modal .t10t-modal-body{ max-height: none !important; flex: 1; min-height: 0; }
}

/* ================================================================= animations */
@keyframes t10t-spin{ to{ transform: rotate(360deg); } }
@keyframes t10t-pop{ 0%{ transform: scale(1); } 40%{ transform: scale(1.28); } 100%{ transform: scale(1); } }
@keyframes t10t-flash{ 0%{ opacity: 0; transform: scale(.7); } 25%{ opacity: 1; transform: scale(1); } 100%{ opacity: 0; transform: scale(1.15); } }
@keyframes t10t-burst{ 0%{ opacity: 1; transform: translate(-50%,-50%) scale(.4); } 30%{ transform: translate(-50%,-60%) scale(1.15); } 100%{ opacity: 0; transform: translate(-50%,-120%) scale(1); } }
@keyframes t10t-pulse{ 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.05); } }

@media (prefers-reduced-motion: reduce){
  .t10t-v6 *, #t10t-toast{ animation: none !important; transition: none !important; }
}
