/* ============================================================
   topdevphone — TIKT TAK
   Vertical full-bleed clip feed + LIVE presence surface.

   NOTE ON THEMING: the clip/live surface is deliberately dark in
   BOTH themes — it is a media viewport, the same way a video
   player stays black on a white page. Everything that is chrome
   rather than surface (comment sheet, composer, LIVE list) uses
   the shared CSS variables and follows light/dark properly.

   Every generated scene below is pure CSS: no images, no network,
   no canvas. `.tt-sc-<name>` is chosen from a client-side
   whitelist (see nui/js/apps/tikttak.js).
   ============================================================ */

.tt-root {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #050508;
  overflow: hidden;
  --tt-dur: 12s;
}

/* ---------- top tabs ---------- */
.tt-tabs {
  position: absolute; top: 0; left: 0; right: 0; z-index: 6;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 12px 14px 26px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
  pointer-events: auto;
}
.tt-tab {
  font-size: 15px; font-weight: 700; letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.58);
  padding: 4px 2px; position: relative;
  transition: color 0.16s ease;
}
.tt-tab.on { color: #fff; }
.tt-tab.on::after {
  content: ''; position: absolute; left: 50%; bottom: -6px;
  width: 22px; height: 2.5px; border-radius: 2px; transform: translateX(-50%);
  background: linear-gradient(90deg, #00f2ea, #ff0050);
}
/* On the LIVE tab the strip floats over the themed panel, not over a dark
   clip, so its ink switches to the shared text tokens (correct in both
   light and dark). */
.tt-root.tt-panel .tt-tabs { background: linear-gradient(180deg, var(--bg-primary) 62%, rgba(0, 0, 0, 0)); }
.tt-root.tt-panel .tt-tab { color: var(--text-secondary); }
.tt-root.tt-panel .tt-tab.on { color: var(--text-primary); }
.tt-tab-live { display: inline-flex; align-items: center; gap: 5px; }
.tt-tab-live i {
  width: 6px; height: 6px; border-radius: 50%; background: #ff0050;
  animation: ttBlink 1.4s ease-in-out infinite;
}
@keyframes ttBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- pager ---------- */
.tt-stage {
  position: absolute; inset: 0; overflow: hidden;
  touch-action: none; background: #050508;
}
.tt-stage.hidden, .tt-livepanel.hidden, .tt-fab.hidden { display: none; }
.tt-stage.tt-stage-flat { overflow-y: auto; touch-action: auto; }

.tt-track {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  will-change: transform;
}
/* Eased settle after the finger lifts — mirrors the home pager. */
.tt-track.settling { transition: transform var(--tt-ms, 340ms) var(--tt-ease, ease); }
.tt-stage-flat .tt-track { position: relative; display: block; height: auto; min-height: 100%; transform: none !important; }

.tt-clip {
  flex: 0 0 100%; position: relative; overflow: hidden;
  background: #050508; color: #fff;
}

.tt-bg { position: absolute; inset: 0; }
.tt-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tt-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 26%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 42%);
}
.tt-shade.strong { background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0.55) 100%); }

/* ---------- right action rail ---------- */
.tt-rail {
  position: absolute; right: 9px; bottom: 92px; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 17px;
}
.tt-av {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800; color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.tt-av.sm { width: 28px; height: 28px; font-size: 12px; border-width: 1.5px; }
.tt-av-0 { background: linear-gradient(140deg, #00f2ea, #0a84ff); }
.tt-av-1 { background: linear-gradient(140deg, #ff0050, #bf5af2); }
.tt-av-2 { background: linear-gradient(140deg, #ff9500, #ff2d78); }
.tt-av-3 { background: linear-gradient(140deg, #30d158, #00f2ea); }
.tt-av-4 { background: linear-gradient(140deg, #bf5af2, #0a84ff); }
.tt-av-5 { background: linear-gradient(140deg, #ffcc00, #ff0050); }

.tt-av-wrap { position: relative; margin-bottom: 4px; }
.tt-follow {
  position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  background: #ff0050; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; cursor: pointer;
  border: 1.5px solid rgba(0, 0, 0, 0.35);
  transition: background 0.18s ease, transform 0.12s ease;
}
.tt-follow:active { transform: translateX(-50%) scale(0.9); }
.tt-follow.on { background: rgba(255, 255, 255, 0.22); }

.tt-act {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: #fff; font-size: 11.5px; font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}
.tt-act .ic { width: 31px; height: 31px; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5)); }
.tt-act:active { transform: scale(0.9); }
.tt-act.liked { color: #ff0050; }
.tt-act.liked .ic { color: #ff0050; }

.tt-disc {
  width: 40px; height: 40px; border-radius: 50%; margin-top: 4px;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 50%, #3a3a41 0 26%, #0d0d11 27% 100%);
  border: 3px solid rgba(255, 255, 255, 0.12);
  animation: ttSpin 4.5s linear infinite;
}
.tt-disc .ic { width: 15px; height: 15px; color: rgba(255, 255, 255, 0.85); }
@keyframes ttSpin { to { transform: rotate(360deg); } }

/* ---------- bottom-left overlay ---------- */
.tt-info {
  position: absolute; left: 14px; right: 74px; bottom: 26px; z-index: 3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}
.tt-handle { font-size: 15.5px; font-weight: 800; display: flex; align-items: center; gap: 7px; }
.tt-you {
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.5px;
  padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.2);
}
.tt-caption {
  margin-top: 5px; font-size: 13.5px; line-height: 1.35;
  color: rgba(255, 255, 255, 0.94); word-break: break-word;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tt-sound {
  margin-top: 8px; display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255, 255, 255, 0.88); overflow: hidden;
}
.tt-sound .ic { width: 13px; height: 13px; flex: 0 0 auto; }
.tt-marq { overflow: hidden; white-space: nowrap; flex: 1; }
.tt-marq > span { display: inline-block; animation: ttMarq 13s linear infinite; }
@keyframes ttMarq { 0%, 12% { transform: translateX(0); } 88%, 100% { transform: translateX(-45%); } }

/* ---------- progress + heart pop ---------- */
.tt-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px; z-index: 5;
  background: rgba(255, 255, 255, 0.16);
}
.tt-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #00f2ea, #ff0050); }
.tt-clip.active .tt-progress i { animation: ttProgress var(--tt-dur) linear infinite; }
@keyframes ttProgress { from { width: 0; } to { width: 100%; } }

.tt-heartpop {
  position: absolute; left: 50%; top: 46%; z-index: 5;
  transform: translate(-50%, -50%) scale(0.2); opacity: 0; pointer-events: none;
  color: #ff0050;
}
.tt-heartpop .ic { width: 108px; height: 108px; filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.5)); }
.tt-heartpop.pop { animation: ttHeartPop 0.78s ease-out; }
@keyframes ttHeartPop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.2) rotate(-14deg); }
  35% { opacity: 1; transform: translate(-50%, -50%) scale(1.12) rotate(6deg); }
  70% { opacity: 1; transform: translate(-50%, -50%) scale(0.98) rotate(-3deg); }
  100% { opacity: 0; transform: translate(-50%, -54%) scale(1.15); }
}

/* ---------- FAB ---------- */
.tt-fab {
  position: absolute; right: 16px; bottom: 26px; z-index: 7;
  width: 52px; height: 52px; border-radius: 17px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #00f2ea, #ff0050);
  color: #fff; box-shadow: 0 8px 22px rgba(255, 0, 80, 0.35);
}
.tt-fab .ic { width: 25px; height: 25px; }
.tt-fab:active { transform: scale(0.94); }

/* ---------- empty / error / loading states ---------- */
.tt-state {
  min-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 60px 34px; text-align: center;
}
.tt-state.small { min-height: 160px; padding: 34px 24px; }
.tt-state-ic .ic, .tt-state.small > .ic { width: 46px; height: 46px; opacity: 0.4; color: rgba(255, 255, 255, 0.8); }
.tt-state-title { font-size: 17px; font-weight: 800; color: #fff; }
.tt-state-sub { font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.6); }
.tt-state-btn { max-width: 200px; margin-top: 8px; }

.tt-loading {
  min-height: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: rgba(255, 255, 255, 0.6); font-size: 13px;
}
.tt-spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2); border-top-color: #00f2ea;
  animation: ttSpin 0.8s linear infinite;
}

/* ---------- handle claim ---------- */
.tt-claim {
  position: absolute; inset: 0; z-index: 8;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 40px 26px; text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, #10202a 0%, #050508 62%);
  overflow-y: auto;
}
.tt-claim-logo {
  width: 68px; height: 68px; border-radius: 21px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #00f2ea, #ff0050);
  box-shadow: 0 10px 28px rgba(255, 0, 80, 0.3);
}
.tt-claim-logo .ic { width: 34px; height: 34px; color: #fff; }
.tt-claim-title { font-size: 25px; font-weight: 900; color: #fff; letter-spacing: -0.4px; }
.tt-claim-sub { font-size: 13px; color: rgba(255, 255, 255, 0.62); line-height: 1.45; max-width: 260px; }
.tt-claim-strip { display: flex; gap: 6px; margin: 6px 0 4px; }
.tt-claim-strip .tt-scene.chip { position: relative; inset: auto; width: 34px; height: 46px; }
.tt-claim-field {
  display: flex; align-items: center; gap: 6px; width: 100%; max-width: 260px;
  background: rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 11px 13px;
  color: rgba(255, 255, 255, 0.55); font-size: 15px; font-weight: 700;
}
.tt-claim-input {
  flex: 1; background: none; border: 0; outline: none;
  color: #fff; font-size: 15px; font-weight: 600;
}
.tt-claim-hint { font-size: 11.5px; color: rgba(255, 255, 255, 0.42); }
.tt-claim-btn { width: 100%; max-width: 260px; margin-top: 6px; }

/* ---------- LIVE list panel ---------- */
.tt-livepanel {
  position: absolute; inset: 0; z-index: 3;
  padding: 62px 14px 90px; overflow-y: auto;
  background: var(--bg-primary);
  color: var(--text-primary);
}
.tt-livepanel::-webkit-scrollbar { width: 0; }
.tt-live-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.tt-live-h1 { flex: 1; font-size: 21px; font-weight: 800; }
.tt-golive {
  width: auto; padding: 9px 14px; font-size: 13px;
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(140deg, #00f2ea, #ff0050);
}
.tt-golive .ic { width: 16px; height: 16px; }
.tt-live-note {
  font-size: 11.5px; line-height: 1.45; color: var(--text-tertiary);
  margin-bottom: 14px;
}
.tt-live-list { display: flex; flex-direction: column; gap: 10px; }
.tt-live-row {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: var(--bg-secondary); border-radius: var(--radius-card-lg); padding: 10px;
}
.tt-live-row:active { transform: scale(0.99); filter: brightness(0.94); }
.tt-live-thumb {
  position: relative; width: 62px; height: 82px; flex: 0 0 auto;
  border-radius: 11px; overflow: hidden; background: #050508;
}
.tt-live-thumb .tt-scene, .tt-live-thumb .tt-media { position: absolute; inset: 0; }
.tt-live-pill {
  position: absolute; left: 4px; top: 4px;
  font-size: 8.5px; font-weight: 900; letter-spacing: 0.6px;
  padding: 2px 5px; border-radius: 5px; background: #ff0050; color: #fff;
}
.tt-live-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tt-live-host { font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.tt-live-host .tt-you { background: var(--bg-tertiary); color: var(--text-secondary); font-style: normal; }
.tt-live-sub {
  font-size: 12.5px; color: var(--text-secondary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tt-live-meta { font-size: 11.5px; color: var(--text-tertiary); display: flex; align-items: center; gap: 5px; }
.tt-live-meta .ic { width: 13px; height: 13px; }
.tt-livepanel .tt-state-title { color: var(--text-primary); }
.tt-livepanel .tt-state-sub { color: var(--text-secondary); }
.tt-livepanel .tt-state-ic .ic { color: var(--text-tertiary); }
.tt-livepanel .tt-loading { color: var(--text-secondary); }

/* ---------- overlays ---------- */
.tt-overlays { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
.tt-overlays > * { pointer-events: auto; }

.tt-sheet-wrap { position: absolute; inset: 0; }
.tt-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); }
.tt-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 72%;
  display: flex; flex-direction: column;
  background: var(--bg-secondary); color: var(--text-primary);
  border-radius: 18px 18px 0 0; padding: 8px 0 10px;
  animation: ttSheetIn 0.24s cubic-bezier(0.25, 0.9, 0.3, 1);
}
@keyframes ttSheetIn { from { transform: translateY(100%); } }
.tt-grab { width: 38px; height: 4px; border-radius: 3px; background: var(--separator); margin: 4px auto 8px; }
.tt-sheet-head {
  display: flex; align-items: center; padding: 0 14px 10px;
  border-bottom: 1px solid var(--separator);
}
.tt-sheet-title { flex: 1; text-align: center; font-size: 14.5px; font-weight: 800; }
.tt-sheet-x { color: var(--text-secondary); display: flex; }
.tt-sheet-x .ic { width: 18px; height: 18px; }
.tt-clist { flex: 1; overflow-y: auto; padding: 10px 14px; min-height: 160px; }
.tt-clist::-webkit-scrollbar { width: 0; }
.tt-clist .tt-state-sub { color: var(--text-secondary); }
.tt-clist .tt-state.small .ic { color: var(--text-tertiary); }

.tt-crow { display: flex; gap: 10px; padding: 8px 0; }
.tt-cmain { flex: 1; min-width: 0; }
.tt-cbody { font-size: 13.5px; line-height: 1.4; word-break: break-word; }
.tt-cbody b { color: var(--text-primary); }
.tt-cmeta { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; }

.tt-composer {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px 2px; border-top: 1px solid var(--separator);
}
.tt-cinput {
  flex: 1; min-width: 0; background: var(--bg-tertiary); border: 0; outline: none;
  border-radius: 999px; padding: 10px 14px;
  color: var(--text-primary); font-size: 13.5px;
}
.tt-cpost {
  width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #00f2ea, #ff0050); color: #fff;
}
.tt-cpost .ic { width: 17px; height: 17px; }
.tt-cpost:active { transform: scale(0.92); }

/* ---------- full-screen overlay (composer / live stage) ---------- */
.tt-full {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: var(--bg-primary); color: var(--text-primary);
  animation: ttFullIn 0.22s ease;
}
@keyframes ttFullIn { from { opacity: 0; transform: translateY(12px); } }
.tt-full-head { flex: 0 0 auto; }
.tt-full-body { flex: 1; overflow-y: auto; padding: 0 16px 30px; }
.tt-full-body::-webkit-scrollbar { width: 0; }

.tt-preview {
  position: relative; width: 100%; height: 210px;
  border-radius: var(--radius-card-lg); overflow: hidden; background: #050508;
}
.tt-preview .tt-scene, .tt-preview .tt-media { position: absolute; inset: 0; }
.tt-scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tt-scenebtn {
  position: relative; height: 58px; border-radius: 11px; overflow: hidden;
  border: 2px solid transparent; padding: 0;
}
.tt-scenebtn.on { border-color: #ff0050; }
.tt-scene.chip { position: absolute; inset: 0; border-radius: 9px; }
.tt-pick { margin-top: 12px; }
.tt-hint { margin-top: 12px; font-size: 12px; color: var(--text-tertiary); }
.tt-cap { width: 100%; resize: none; }
.tt-caplen { text-align: right; font-size: 11px; color: var(--text-tertiary); margin-top: 4px; }
.tt-select { width: 100%; }
.tt-post { margin-top: 18px; }
.tt-modal-note {
  text-align: center; font-size: 12.5px; line-height: 1.45;
  color: var(--text-secondary); margin-bottom: 14px;
}

/* ---------- live stage ---------- */
.tt-livestage { background: #050508; color: #fff; display: block; }
.tt-ls-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  display: flex; align-items: center; gap: 8px; padding: 12px 12px 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}
.tt-ls-x { color: #fff; display: flex; }
.tt-ls-x .ic { width: 22px; height: 22px; }
.tt-ls-host { font-size: 14.5px; font-weight: 800; }
.tt-ls-viewers {
  margin-left: auto; display: flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 700;
  background: rgba(0, 0, 0, 0.45); border-radius: 999px; padding: 5px 10px;
}
.tt-ls-viewers .ic { width: 14px; height: 14px; }
.tt-ls-title {
  position: absolute; top: 54px; left: 14px; right: 14px; z-index: 4;
  font-size: 13px; color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.tt-ls-broadcast {
  position: absolute; top: 80px; left: 14px; z-index: 4;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 0, 80, 0.9); color: #fff;
}
.tt-hearts { position: absolute; right: 26px; bottom: 130px; z-index: 4; pointer-events: none; }
.tt-heart {
  position: absolute; bottom: 0; right: 0; color: #ff0050;
  animation: ttFloat var(--tt-d, 1800ms) ease-out forwards;
}
.tt-heart .ic { width: 26px; height: 26px; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.5)); }
@keyframes ttFloat {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  15% { opacity: 1; transform: translate(0, -14px) scale(1.05); }
  100% { opacity: 0; transform: translate(var(--tt-x, 0), -180px) scale(0.8); }
}
.tt-ls-chat {
  position: absolute; left: 12px; right: 74px; bottom: 74px; z-index: 4;
  max-height: 42%; overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%);
          mask-image: linear-gradient(180deg, transparent, #000 22%);
}
.tt-ls-chat::-webkit-scrollbar { width: 0; }
.tt-chat-row {
  font-size: 12.5px; line-height: 1.35; color: #fff; word-break: break-word;
  background: rgba(0, 0, 0, 0.42); border-radius: 12px; padding: 6px 10px;
  align-self: flex-start; max-width: 100%;
}
.tt-chat-row b { color: #00f2ea; }
.tt-chat-row.sys { color: rgba(255, 255, 255, 0.6); font-style: italic; background: rgba(0, 0, 0, 0.28); }
.tt-ls-bar {
  position: absolute; left: 12px; right: 12px; bottom: 20px; z-index: 5;
  display: flex; align-items: center; gap: 8px;
}
.tt-ls-bar .tt-cinput { background: rgba(255, 255, 255, 0.16); color: #fff; }
.tt-ls-bar .tt-cinput::placeholder { color: rgba(255, 255, 255, 0.55); }
.tt-ls-heart {
  width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 0, 80, 0.22); color: #ff2d78;
}
.tt-ls-heart .ic { width: 19px; height: 19px; }
.tt-ls-heart:active { transform: scale(0.9); }
.tt-ls-end { position: absolute; left: 12px; right: 12px; bottom: 68px; z-index: 5; width: auto; }
.tt-livestage .tt-ls-end + .tt-ls-bar { bottom: 20px; }

/* ============================================================
   GENERATED SCENES — pure CSS, no assets, no network.
   Each scene stacks three layers (.l1 .l2 .l3).
   ============================================================ */
.tt-scene { position: absolute; inset: 0; overflow: hidden; background: #0b0b12; }
.tt-scene > i { position: absolute; inset: 0; display: block; }

/* fallback — unknown token */
.tt-sc-fallback { background: linear-gradient(160deg, #1b1b24, #33323f); }
.tt-sc-fallback .l1 {
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.09) 50%, transparent 70%);
  animation: ttSweep 5s linear infinite;
}
@keyframes ttSweep { from { transform: translateX(-60%); } to { transform: translateX(60%); } }

/* neon — grid + glow + scanlines */
.tt-sc-neon { background: radial-gradient(120% 90% at 50% 110%, #14203f 0%, #05060f 70%); }
.tt-sc-neon .l1 {
  background:
    repeating-linear-gradient(90deg, rgba(0, 242, 234, 0.22) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(255, 0, 80, 0.18) 0 1px, transparent 1px 42px);
  transform-origin: 50% 100%;
  animation: ttGrid 6s linear infinite;
}
@keyframes ttGrid { from { background-position: 0 0, 0 0; } to { background-position: 0 0, 0 42px; } }
.tt-sc-neon .l2 {
  background: radial-gradient(50% 34% at 50% 42%, rgba(0, 242, 234, 0.4), transparent 70%);
  animation: ttBreathe 4.2s ease-in-out infinite;
}
.tt-sc-neon .l3 {
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 2px, transparent 2px 4px);
  opacity: 0.55;
}
@keyframes ttBreathe { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }

/* sunset — bands + rising sun + haze */
.tt-sc-sunset { background: linear-gradient(180deg, #23124a 0%, #a3306b 52%, #ff7a3d 100%); }
.tt-sc-sunset .l1 {
  background: radial-gradient(circle at 50% 68%, #ffd166 0 12%, rgba(255, 209, 102, 0) 13%);
  animation: ttRise 9s ease-in-out infinite alternate;
}
@keyframes ttRise { from { transform: translateY(6%); } to { transform: translateY(-8%); } }
.tt-sc-sunset .l2 {
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 5px, transparent 5px 16px);
  top: 58%;
  animation: ttDrift 7s linear infinite;
}
@keyframes ttDrift { from { background-position: 0 0; } to { background-position: 60px 0; } }
.tt-sc-sunset .l3 { background: linear-gradient(0deg, rgba(20, 5, 30, 0.75), transparent 45%); }

/* rain — streaks + gloom + flash */
.tt-sc-rain { background: linear-gradient(180deg, #10151c 0%, #1b2530 100%); }
.tt-sc-rain .l1 {
  background: repeating-linear-gradient(104deg, rgba(180, 220, 255, 0.3) 0 1px, transparent 1px 13px);
  animation: ttRain 0.7s linear infinite;
}
@keyframes ttRain { from { background-position: 0 0; } to { background-position: -60px 220px; } }
.tt-sc-rain .l2 {
  background: repeating-linear-gradient(96deg, rgba(180, 220, 255, 0.16) 0 1px, transparent 1px 27px);
  animation: ttRain 1.25s linear infinite;
}
.tt-sc-rain .l3 { background: rgba(210, 235, 255, 0.9); opacity: 0; animation: ttFlash 7s steps(1) infinite; }
@keyframes ttFlash { 0%, 96% { opacity: 0; } 97% { opacity: 0.22; } 98% { opacity: 0; } 99% { opacity: 0.16; } }

/* drift — rotating conic + soft orb */
.tt-sc-drift { background: #07070d; }
.tt-sc-drift .l1 {
  background: conic-gradient(from 0deg, #ff0050, #bf5af2, #00f2ea, #30d158, #ff0050);
  opacity: 0.42; animation: ttSpin 16s linear infinite;
}
.tt-sc-drift .l2 {
  background: radial-gradient(38% 26% at 50% 50%, rgba(255, 255, 255, 0.5), transparent 72%);
  animation: ttBreathe 6s ease-in-out infinite;
}
.tt-sc-drift .l3 { background: radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.85) 100%); }

/* pulse — concentric rings */
.tt-sc-pulse { background: radial-gradient(120% 90% at 50% 50%, #0d2030 0%, #05060b 70%); }
.tt-sc-pulse .l1, .tt-sc-pulse .l2, .tt-sc-pulse .l3 {
  border-radius: 50%; inset: 32%;
  border: 2px solid rgba(0, 242, 234, 0.6);
  animation: ttRing 3.4s ease-out infinite;
}
.tt-sc-pulse .l2 { animation-delay: 1.1s; border-color: rgba(255, 0, 80, 0.6); }
.tt-sc-pulse .l3 { animation-delay: 2.2s; border-color: rgba(255, 255, 255, 0.45); }
@keyframes ttRing {
  0% { transform: scale(0.2); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* noir — sliding diagonal bars */
.tt-sc-noir { background: linear-gradient(160deg, #16161a, #303036); }
.tt-sc-noir .l1 {
  background: repeating-linear-gradient(58deg, rgba(255, 255, 255, 0.09) 0 22px, transparent 22px 52px);
  animation: ttSlide 8s linear infinite;
}
@keyframes ttSlide { from { background-position: 0 0; } to { background-position: 160px 0; } }
.tt-sc-noir .l2 {
  background: repeating-linear-gradient(58deg, rgba(0, 0, 0, 0.35) 0 8px, transparent 8px 40px);
  animation: ttSlide 13s linear infinite reverse;
}
.tt-sc-noir .l3 { background: radial-gradient(120% 90% at 50% 40%, transparent 35%, rgba(0, 0, 0, 0.8) 100%); }

/* wave — layered blobs */
.tt-sc-wave { background: linear-gradient(180deg, #041f2e, #0a3f4a); }
.tt-sc-wave .l1 {
  background: radial-gradient(60% 26% at 20% 74%, rgba(0, 242, 234, 0.55), transparent 70%);
  animation: ttSway 8s ease-in-out infinite alternate;
}
.tt-sc-wave .l2 {
  background: radial-gradient(56% 24% at 78% 62%, rgba(48, 209, 88, 0.42), transparent 70%);
  animation: ttSway 11s ease-in-out infinite alternate-reverse;
}
.tt-sc-wave .l3 {
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 9px);
}
@keyframes ttSway { from { transform: translate(-8%, 4%); } to { transform: translate(8%, -4%); } }

/* confetti — falling dots */
.tt-sc-confetti { background: linear-gradient(180deg, #1a0f2e, #3b1350); }
.tt-sc-confetti .l1 {
  background:
    radial-gradient(circle, #00f2ea 0 2.2px, transparent 2.6px) 0 0 / 46px 74px,
    radial-gradient(circle, #ffcc00 0 2px, transparent 2.4px) 22px 30px / 58px 92px;
  animation: ttFall 5.5s linear infinite;
}
.tt-sc-confetti .l2 {
  background: radial-gradient(circle, #ff0050 0 2.4px, transparent 2.8px) 10px 12px / 70px 110px;
  animation: ttFall1 8s linear infinite;
}
@keyframes ttFall { from { background-position-y: -110px, -110px; } to { background-position-y: 110px, 110px; } }
@keyframes ttFall1 { from { background-position-y: -110px; } to { background-position-y: 110px; } }
.tt-sc-confetti .l3 { background: radial-gradient(120% 90% at 50% 30%, transparent 45%, rgba(0, 0, 0, 0.6) 100%); }
