/*
 * Ghost Release OS — account UI styles.
 * Consumes the site-wide --tgp-* design tokens from tgp-buyer-ui; every
 * usage declares a fallback so the planner still renders correctly if that
 * plugin is ever deactivated. All selectors are scoped under .tgp-ros to
 * avoid any global leakage.
 */

.tgp-ros {
  color: var(--tgp-text, #f4f4f5);
  font-family: var(--tgp-font, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  display: block;
  width: 100%;
}

/* The hidden attribute always wins, even over display rules on the class. */
.tgp-ros [hidden] { display: none !important; }

/* ── Sub navigation ─────────────────────────────────────────────────── */

.tgp-ros-subnav {
  display: flex;
  gap: 4px;
  margin: 0 0 20px;
  padding: 4px;
  background: var(--tgp-surface, #111113);
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--tgp-r-full, 999px);
  width: fit-content;
  max-width: 100%;
  /* Dropdown groups hang below the bar — clipping here would hide them. */
  overflow: visible;
}
.tgp-ros-subnav__item {
  padding: 8px 18px;
  border-radius: var(--tgp-r-full, 999px);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tgp-text-dim, #a1a1aa);
  text-decoration: none;
  white-space: nowrap;
  transition: color 120ms ease, background 120ms ease;
}
.tgp-ros-subnav__item:hover { color: var(--tgp-text, #f4f4f5); }
.tgp-ros-subnav__item.is-active {
  background: var(--tgp-surface-high, #18181b);
  color: var(--tgp-text, #f4f4f5);
}

/* ── Layout ─────────────────────────────────────────────────────────── */

.tgp-ros-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tgp-ros-hero, .tgp-ros-stats, .tgp-ros-quick { grid-column: 1 / -1; }
.tgp-ros-panel { padding-bottom: 12px; }
/* Stacked panels on a tab should never touch. */
.tgp-ros .tgp-ros-panel + .tgp-ros-panel,
.tgp-ros .tgp-ros-panel + .tgp-card,
.tgp-ros .tgp-card + .tgp-ros-panel { margin-top: 20px; }
.tgp-ros-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }

@media (max-width: 900px) {
  .tgp-ros-grid, .tgp-ros-detail__grid { grid-template-columns: 1fr; }
}

/* ── Hero ───────────────────────────────────────────────────────────── */

.tgp-ros-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 28px;
  flex-wrap: wrap;
}
.tgp-ros-hero__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tgp-accent, #9333ea);
  margin: 0 0 6px;
}
.tgp-ros-hero__title { margin: 0 0 10px; font-size: 24px; letter-spacing: -0.02em; }
.tgp-ros-hero__title a { color: inherit; text-decoration: none; }
.tgp-ros-hero__title a:hover { text-decoration: underline; }
.tgp-ros-hero__meta { display: flex; align-items: center; gap: 12px; margin: 0; }
.tgp-ros-hero__date { color: var(--tgp-text-dim, #a1a1aa); font-size: 13.5px; }
.tgp-ros-hero__countdown { text-align: right; min-width: 180px; }
.tgp-ros-hero__days { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; display: block; }
.tgp-ros-hero__days-label { color: var(--tgp-text-dim, #a1a1aa); font-size: 12.5px; display: block; margin-bottom: 10px; }
.tgp-ros-hero__progress-label { color: var(--tgp-text-faint, #71717a); font-size: 11.5px; display: block; margin-top: 6px; }

/* ── Progress bar ───────────────────────────────────────────────────── */

.tgp-ros-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.tgp-ros-progress__bar {
  height: 100%;
  border-radius: 999px;
  background: var(--tgp-gradient, linear-gradient(135deg, #9333ea 0%, #6d28d9 100%));
  transition: width 300ms ease;
}
.tgp-ros-progress--table { width: 90px; }

/* ── Stats ──────────────────────────────────────────────────────────── */

.tgp-ros-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 640px) { .tgp-ros-stats { grid-template-columns: 1fr; } }
.tgp-ros-stat { padding: 18px 22px; }
.tgp-ros-stat__value { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; display: block; }
.tgp-ros-stat__limit { color: var(--tgp-text-faint, #71717a); font-size: 18px; font-weight: 600; }
.tgp-ros-stat__label { color: var(--tgp-text-dim, #a1a1aa); font-size: 12.5px; }

/* ── Task list ──────────────────────────────────────────────────────── */

.tgp-ros-tasklist { list-style: none; margin: 0; padding: 0 22px 10px; }
.tgp-ros-tasklist__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
}
.tgp-ros-tasklist__item:last-child { border-bottom: 0; }
.tgp-ros-tasklist__item.is-done .tgp-ros-tasklist__title {
  text-decoration: line-through;
  color: var(--tgp-text-faint, #71717a);
}
.tgp-ros-tasklist__title { flex: 1; font-size: 13.5px; min-width: 0; }
.tgp-ros-tasklist__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tgp-text-faint, #71717a);
  font-size: 12px;
  white-space: nowrap;
}
.tgp-ros-overdue, .tgp-ros-tasklist__item.is-overdue .tgp-ros-tasklist__meta { color: var(--tgp-red, #ef4444); }

.tgp-ros-check { position: relative; display: inline-flex; cursor: pointer; }
.tgp-ros-check input { position: absolute; opacity: 0; width: 20px; height: 20px; cursor: pointer; }
.tgp-ros-check__box {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--tgp-border-strong, rgba(255, 255, 255, 0.14));
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 120ms ease, border-color 120ms ease;
}
.tgp-ros-check input:checked + .tgp-ros-check__box {
  background: var(--tgp-accent, #9333ea);
  border-color: var(--tgp-accent, #9333ea);
}
.tgp-ros-check input:checked + .tgp-ros-check__box::after {
  content: '';
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}
.tgp-ros-check input:focus-visible + .tgp-ros-check__box {
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.3);
}

.tgp-ros-task-date {
  background: transparent;
  border: 1px solid transparent;
  color: var(--tgp-text-faint, #71717a);
  font-size: 12px;
  border-radius: 6px;
  padding: 2px 4px;
  font-family: inherit;
  color-scheme: dark;
}
.tgp-ros-task-date:hover, .tgp-ros-task-date:focus {
  border-color: var(--tgp-border-strong, rgba(255, 255, 255, 0.14));
  color: var(--tgp-text, #f4f4f5);
  outline: none;
}
.tgp-ros-lock { font-size: 10px; }

.tgp-ros-phase { padding: 4px 0 0; }
.tgp-ros-phase__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--tgp-text-faint, #71717a);
  margin: 12px 22px 0;
}

.tgp-ros-addtask { display: flex; gap: 8px; padding: 14px 22px; }
.tgp-ros-addtask .tgp-field { height: 38px; font-size: 13px; }

/* ── Track rows / inventory ─────────────────────────────────────────── */

.tgp-ros-trackrow-list { list-style: none; margin: 0; padding: 0 22px 12px; }
.tgp-ros-trackrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
}
.tgp-ros-trackrow:last-child { border-bottom: 0; }
.tgp-ros-trackrow__cover {
  width: 40px; height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.tgp-ros-trackrow__cover--empty { background: var(--tgp-surface-high, #18181b); display: inline-block; }
.tgp-ros-trackrow__name { flex: 1; font-size: 13.5px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tgp-ros-trackrow__meta { color: var(--tgp-text-faint, #71717a); font-size: 12px; white-space: nowrap; }

.tgp-ros-inventory { list-style: none; margin: 0; padding: 0 22px 12px; }
.tgp-ros-inventory__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
  flex-wrap: wrap;
}
.tgp-ros-inventory__item:last-child { border-bottom: 0; }
.tgp-ros-inventory__item.is-highlighted {
  background: var(--tgp-accent-soft, rgba(147, 51, 234, 0.1));
  border-radius: var(--tgp-r-md, 10px);
  padding-left: 12px;
  padding-right: 12px;
}
.tgp-ros-inventory__cover { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.tgp-ros-inventory__info { flex: 1; min-width: 200px; }
.tgp-ros-inventory__title { margin: 0 0 2px; font-size: 14.5px; font-weight: 600; }
.tgp-ros-inventory__meta { margin: 0; font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-inventory__actions { display: flex; align-items: center; gap: 12px; }

.tgp-ros-preview {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--tgp-border-strong, rgba(255, 255, 255, 0.14));
  background: rgba(255, 255, 255, 0.06);
  color: var(--tgp-text, #f4f4f5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 120ms ease;
}
.tgp-ros-preview:hover { background: rgba(255, 255, 255, 0.12); }
.tgp-ros-preview.is-playing { background: var(--tgp-accent, #9333ea); border-color: var(--tgp-accent, #9333ea); }

/* ── Forms ──────────────────────────────────────────────────────────── */

.tgp-ros-form { padding: 0 22px 20px; }
.tgp-ros-onboarding .tgp-ros-form { padding-top: 4px; }
.tgp-ros-onboarding__intro { padding: 0 22px; color: var(--tgp-text-dim, #a1a1aa); font-size: 13.5px; margin: 0 0 16px; }
.tgp-ros-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .tgp-ros-form__grid { grid-template-columns: 1fr; } }
.tgp-ros-field--wide { grid-column: 1 / -1; }
.tgp-ros-form__note { color: var(--tgp-text-faint, #71717a); font-size: 12px; margin: 14px 0; padding: 0 22px; }
.tgp-ros-form .tgp-ros-form__note { padding: 0; }
.tgp-ros-form__actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.tgp-ros-form__error { color: var(--tgp-red, #ef4444); font-size: 13px; margin: 10px 0 0; }
.tgp-ros-form__status { color: var(--tgp-green, #10b981); font-size: 12.5px; }
.tgp-ros-textarea { height: auto; padding: 12px 16px; resize: vertical; }
select.tgp-field { appearance: auto; color-scheme: dark; }
input.tgp-field[type='date'] { color-scheme: dark; }

/* ── Releases grid ──────────────────────────────────────────────────── */

.tgp-ros-relgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.tgp-ros-relcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--tgp-border, #27272a);
  border-radius: 14px;
  background: var(--tgp-surface-2, #18181b);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.tgp-ros-relcard:hover {
  border-color: var(--tgp-border-strong, #3f3f46);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.tgp-ros-relcard__art {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.tgp-ros-relcard__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.tgp-ros-relcard:hover .tgp-ros-relcard__art img { transform: scale(1.04); }
.tgp-ros-relcard__ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tgp-ros-relcard__status {
  position: absolute;
  top: 10px;
  left: 10px;
  backdrop-filter: blur(6px);
}
.tgp-ros-relcard__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 15px 15px;
  min-width: 0;
}
.tgp-ros-relcard__title {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--tgp-text, #fafafa);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tgp-ros-relcard__meta {
  font-size: 12.5px;
  color: var(--tgp-text-dim, #a1a1aa);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tgp-ros-relcard__date { font-size: 12px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-relcard__progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.tgp-ros-relcard__progress .tgp-ros-progress { flex: 1; }
.tgp-ros-relcard__progress small { color: var(--tgp-text-faint, #71717a); font-size: 11px; }
.tgp-ros-relcard__go {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: var(--tgp-text-faint, #71717a);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.tgp-ros-relcard:hover .tgp-ros-relcard__go {
  opacity: 1;
  transform: translateX(0);
  color: #c084fc;
}
@media (max-width: 640px) {
  .tgp-ros-relgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tgp-ros-relcard__go { display: none; }
}
@media (max-width: 440px) {
  .tgp-ros-relgrid { grid-template-columns: 1fr; }
}
.tgp-ros-dim { color: var(--tgp-text-faint, #71717a); }

/* ── Detail head ────────────────────────────────────────────────────── */

.tgp-ros-detail__head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 14px; }
.tgp-ros-back { color: var(--tgp-text-dim, #a1a1aa); text-decoration: none; font-size: 13px; font-weight: 500; }
.tgp-ros-back:hover { color: var(--tgp-text, #f4f4f5); }
.tgp-ros-linked-track { padding: 6px 22px 18px; border-top: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08)); margin-top: 6px; }

/* ── Panels / quick actions ─────────────────────────────────────────── */

.tgp-ros-panel__empty { padding: 6px 22px 18px; color: var(--tgp-text-dim, #a1a1aa); font-size: 13.5px; }
.tgp-ros-quick { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Calendar ───────────────────────────────────────────────────────── */

.tgp-ros-cal-nav { display: flex; gap: 6px; }
.tgp-ros-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--tgp-border, rgba(255, 255, 255, 0.08));
  border-top: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
  margin: 0;
}
.tgp-ros-cal-dow {
  background: var(--tgp-surface, #111113);
  padding: 8px 6px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tgp-text-faint, #71717a);
}
.tgp-ros-cal-day {
  background: var(--tgp-surface, #111113);
  min-height: 86px;
  padding: 6px;
  font-size: 11.5px;
  color: var(--tgp-text-faint, #71717a);
  position: relative;
}
.tgp-ros-cal-day.is-other { opacity: 0.35; }
.tgp-ros-cal-day.is-today .tgp-ros-cal-num {
  background: var(--tgp-accent, #9333ea);
  color: #fff;
  border-radius: 50%;
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tgp-ros-cal-num { display: inline-block; margin-bottom: 4px; }
.tgp-ros-cal-event {
  display: block;
  background: var(--tgp-accent-soft, rgba(147, 51, 234, 0.1));
  color: #c084fc;
  border-left: 2px solid var(--tgp-accent, #9333ea);
  border-radius: 4px;
  padding: 3px 6px;
  margin-bottom: 3px;
  font-size: 10.5px;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tgp-ros-cal-event.is-released { background: var(--tgp-green-soft, rgba(16, 185, 129, 0.12)); color: var(--tgp-green, #10b981); border-left-color: var(--tgp-green, #10b981); }
@media (max-width: 720px) {
  .tgp-ros-cal-day { min-height: 56px; }
  .tgp-ros-cal-event { font-size: 9px; padding: 2px 3px; }
}

/* ── Button reset + custom buttons ──────────────────────────────────────
   The theme paints every <button> with its own purple block style; the
   planner owns its buttons, so reset hard (ID scope + !important) and
   restyle. .tgp-ros-btn is the planner's own button family. */

#tgp-ros-root button {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-shadow: none !important;
  white-space: normal !important;
  min-height: 0 !important;
  width: auto;
  margin: 0;
  font-family: inherit;
  line-height: 1.2;
}
#tgp-ros-root button:not(.tgp-btn):not(.tgp-ros-btn):not(.tgp-ros-relpick__item):not(.tgp-ros-stickerchip):not(.tgp-ros-swatch):not(.tgp-ros-fontcard):not(.tgp-ros-biolinks__swatch):not(.tgp-ros-bl-chip):not(.tgp-ros-mfnav__btn):not(.tgp-ros-scal__chip):not(.tgp-ros-scal__more):not(.tgp-ros-scal__timechip):not(.tgp-ros-mgr__hint):not(.tgp-ros-asst__try):not(.tgp-ros-mgr__send):not(.tgp-ros-dd__tpl):not(.tgp-ros-dd__mv):not(.tgp-ros-dd__linkbtn):not(.tgp-ros-rpdd__toggle):not(.tgp-ros-captools__btn):not(.tgp-ros-captools__chip):not(.tgp-ros-captools__tag):not(.tgp-ros-captools__tagmore):not(.tgp-ros-scal__coachhead):not(.tgp-ros-scal__sumrefresh):not(.tgp-ros-set-mode):not(.tgp-ros-seertpl):not(.tgp-ros-adpop__opt):not(.tgp-ros-ctmodal__pf):not(.tgp-ros-rpdd__sortbtn):not(.tgp-ros-msbar__type):not(.tgp-ros-aibtn):not(.tgp-ros-cal-sug):not(.tgp-ros-trend__chipbtn):not(.tgp-ros-trend__tab):not(.tgp-ros-trend__pricebtn):not(.tgp-ros-trend__wish) {
  background-color: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: inherit;
  box-shadow: none;
}
#tgp-ros-root .tgp-ros-modal__close { padding: 4px 8px; }
#tgp-ros-root .tgp-ros-preview {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--tgp-border-strong, rgba(255, 255, 255, 0.14));
  border-radius: 50%;
}
#tgp-ros-root .tgp-ros-preview:hover { background: rgba(255, 255, 255, 0.12); }
#tgp-ros-root .tgp-ros-preview.is-playing { background: var(--tgp-accent, #9333ea); border-color: var(--tgp-accent, #9333ea); }

#tgp-ros-root .tgp-ros-btn,
#tgp-ros-root .tgp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px !important;
  border-radius: 9px !important;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent !important;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease, opacity 120ms ease;
}
#tgp-ros-root .tgp-ros-btn:disabled,
#tgp-ros-root .tgp-btn:disabled { opacity: 0.4; cursor: not-allowed; }
#tgp-ros-root .tgp-ros-btn:focus-visible,
#tgp-ros-root .tgp-btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--tgp-bg, #0a0a0b), 0 0 0 4px rgba(168, 85, 247, 0.6) !important; }

#tgp-ros-root .tgp-ros-btn--primary,
#tgp-ros-root .tgp-btn--primary {
  background: var(--tgp-accent, #8b5cf6) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
#tgp-ros-root .tgp-ros-btn--primary:hover:not(:disabled),
#tgp-ros-root .tgp-btn--primary:hover:not(:disabled) { filter: brightness(1.1); }
#tgp-ros-root .tgp-ros-btn--primary:active:not(:disabled),
#tgp-ros-root .tgp-btn--primary:active:not(:disabled) { filter: brightness(0.95); }

#tgp-ros-root .tgp-ros-btn--ghost,
#tgp-ros-root .tgp-btn--ghost {
  background: transparent !important;
  color: var(--tgp-text-dim, #a1a1aa) !important;
  border-color: var(--tgp-border, rgba(255, 255, 255, 0.12)) !important;
}
#tgp-ros-root .tgp-ros-btn--ghost:hover:not(:disabled),
#tgp-ros-root .tgp-btn--ghost:hover:not(:disabled) {
  color: var(--tgp-text, #f4f4f5) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

#tgp-ros-root .tgp-ros-btn--soft,
#tgp-ros-root .tgp-btn--soft {
  background: rgba(147, 51, 234, 0.14) !important;
  color: #d8b4fe !important;
  border-color: rgba(147, 51, 234, 0.35) !important;
}
#tgp-ros-root .tgp-ros-btn--soft:hover:not(:disabled),
#tgp-ros-root .tgp-btn--soft:hover:not(:disabled) {
  background: rgba(147, 51, 234, 0.24) !important;
  color: #ecd7fe !important;
}

#tgp-ros-root .tgp-ros-btn--danger,
#tgp-ros-root .tgp-btn--danger {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #fca5a5 !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
}
#tgp-ros-root .tgp-ros-btn--danger:hover:not(:disabled),
#tgp-ros-root .tgp-btn--danger:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.22) !important;
  color: #fecaca !important;
}

#tgp-ros-root .tgp-ros-btn--sm,
#tgp-ros-root .tgp-btn--sm { height: 32px; padding: 0 12px !important; border-radius: 7px !important; font-size: 12.5px; }

/* Re-assert the planner card / chip / segment styles over theme button CSS. */
#tgp-ros-root .tgp-ros-choice {
  background: transparent !important;
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.1)) !important;
  border-radius: 10px !important;
  color: var(--tgp-text-dim, #a1a1aa) !important;
  padding: 13px 14px !important;
  box-shadow: none;
}
#tgp-ros-root .tgp-ros-choice:hover { color: var(--tgp-text, #f4f4f5) !important; border-color: rgba(255, 255, 255, 0.22) !important; }
#tgp-ros-root .tgp-ros-choice.is-selected {
  border-color: var(--tgp-accent, #8b5cf6) !important;
  background: rgba(139, 92, 246, 0.07) !important;
  color: var(--tgp-text, #f4f4f5) !important;
}

#tgp-ros-root .tgp-ros-chip {
  background: transparent !important;
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.1)) !important;
  border-radius: 999px !important;
  color: var(--tgp-text-dim, #a1a1aa) !important;
  padding: 7px 14px !important;
  box-shadow: none;
}
#tgp-ros-root .tgp-ros-chip:hover { color: var(--tgp-text, #f4f4f5) !important; border-color: rgba(255, 255, 255, 0.22) !important; }
#tgp-ros-root .tgp-ros-chip.is-selected {
  border-color: var(--tgp-accent, #8b5cf6) !important;
  background: rgba(139, 92, 246, 0.12) !important;
  color: #e9d5ff !important;
}

#tgp-ros-root .tgp-ros-seg__opt {
  background: transparent !important;
  border: 0 !important;
  border-radius: 7px !important;
  color: var(--tgp-text-dim, #a1a1aa) !important;
  padding: 7px 14px !important;
  box-shadow: none;
}
#tgp-ros-root .tgp-ros-seg__opt:hover { color: var(--tgp-text, #f4f4f5) !important; }
#tgp-ros-root .tgp-ros-seg__opt.is-selected {
  background: var(--tgp-accent, #8b5cf6) !important;
  color: #fff !important;
}

/* ── Onboarding wizard ──────────────────────────────────────────────── */

.tgp-ros-wizard {
  display: grid;
  grid-template-columns: 236px 1fr;
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

.tgp-ros-wizard__aside {
  border-right: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.015);
  padding: 28px 22px;
}
.tgp-ros-wizard__overline {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tgp-text-faint, #71717a);
  margin: 0 0 8px;
}
.tgp-ros-wizard__title {
  margin: 0 0 26px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--tgp-text, #f4f4f5);
  line-height: 1.35;
}

.tgp-ros-wizard__rail { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tgp-ros-wizard__rail-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 9px;
  border-radius: 8px;
  color: var(--tgp-text-faint, #71717a);
}
.tgp-ros-wizard__rail-item.is-done { cursor: pointer; }
.tgp-ros-wizard__rail-item.is-done:hover { background: rgba(255, 255, 255, 0.03); }
.tgp-ros-wizard__rail-num {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.12));
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tgp-ros-wizard__rail-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tgp-ros-wizard__rail-text strong { font-size: 12.5px; font-weight: 600; }
.tgp-ros-wizard__rail-text small { font-size: 11px; }
.tgp-ros-wizard__rail-item.is-active { color: var(--tgp-text, #f4f4f5); }
.tgp-ros-wizard__rail-item.is-active .tgp-ros-wizard__rail-num {
  border-color: var(--tgp-accent, #8b5cf6);
  color: var(--tgp-accent-2, #a78bfa);
}
.tgp-ros-wizard__rail-item.is-active small { color: var(--tgp-text-faint, #71717a); }
.tgp-ros-wizard__rail-item.is-done { color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-wizard__rail-item.is-done .tgp-ros-wizard__rail-num {
  border-color: transparent;
  background: rgba(139, 92, 246, 0.15);
  color: var(--tgp-accent-2, #a78bfa);
}

.tgp-ros-wizard__main { min-width: 0; display: flex; flex-direction: column; }
.tgp-ros-wizard__main form { display: flex; flex-direction: column; flex: 1; }

@media (max-width: 820px) {
  .tgp-ros-wizard { grid-template-columns: 1fr; }
  .tgp-ros-wizard__aside {
    border-right: 0;
    border-bottom: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
    padding: 20px 22px 14px;
  }
  .tgp-ros-wizard__rail { flex-direction: row; gap: 6px; }
  .tgp-ros-wizard__rail-item { padding: 4px; }
  .tgp-ros-wizard__rail-text { display: none; }
}

.tgp-ros-step { display: none; padding: 26px 30px 8px; }
.tgp-ros-step.is-active { display: block; animation: tgp-ros-step-in 200ms ease both; }
@keyframes tgp-ros-step-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.tgp-ros-step__q {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--tgp-text, #f4f4f5);
  margin: 24px 0 10px;
}
.tgp-ros-step__q:first-child { margin-top: 0; }
.tgp-ros-step__hint { color: var(--tgp-text-faint, #71717a); font-size: 12.5px; margin: -4px 0 10px; }

.tgp-ros-bigfield { height: 48px; font-size: 15px; font-weight: 550; }

.tgp-ros-tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tgp-text-faint, #71717a);
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.1));
  border-radius: 5px;
  padding: 2px 7px;
}

/* Spotify connect (wizard step 1) */
.tgp-ros-spconnect {
  margin: 0 0 24px;
  padding: 16px 18px 14px;
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.1));
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
}
.tgp-ros-spconnect__head { display: flex; align-items: center; gap: 9px; margin: 0 0 6px; }
.tgp-ros-spconnect__head h3 { font-size: 13.5px; font-weight: 600; margin: 0; }
.tgp-ros-spconnect__dot {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #1db954;
}
.tgp-ros-spconnect__row { display: flex; gap: 8px; margin-top: 10px; }
.tgp-ros-spconnect__row .tgp-field { flex: 1; height: 40px; font-size: 13px; }
.tgp-ros-spconnect__skip {
  margin-top: 10px;
  color: var(--tgp-text-faint, #71717a) !important;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.tgp-ros-spconnect__skip:hover { color: var(--tgp-text-dim, #a1a1aa) !important; }

.tgp-ros-spconnect__selected {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.1));
  border-left: 2px solid #1db954;
  background: rgba(255, 255, 255, 0.02);
}
.tgp-ros-spconnect__selected img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.tgp-ros-spconnect__selected .tgp-ros-spsel__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.tgp-ros-spconnect__selected strong { font-size: 13.5px; }
.tgp-ros-spconnect__selected small { color: var(--tgp-text-dim, #a1a1aa); font-size: 12px; }
.tgp-ros-spsel__badge { color: #34d399; font-size: 11.5px; font-weight: 600; }

/* Choice cards */
.tgp-ros-choice-grid { display: grid; gap: 8px; }
.tgp-ros-choice-grid--4 { grid-template-columns: repeat(4, 1fr); }
/* Cards with descriptions stack as full-width rows — nothing ever clips. */
.tgp-ros-choice-grid--3 { grid-template-columns: 1fr; }
.tgp-ros-choice-grid--3 .tgp-ros-choice {
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
}
.tgp-ros-choice-grid--3 .tgp-ros-choice__label { flex-shrink: 0; min-width: 104px; }
.tgp-ros-choice-grid--3 .tgp-ros-choice__sub { flex: 1; }
@media (max-width: 720px) {
  .tgp-ros-choice-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .tgp-ros-choice-grid--3 .tgp-ros-choice { flex-direction: column; gap: 3px; }
  .tgp-ros-choice-grid--3 .tgp-ros-choice__label { min-width: 0; }
}

.tgp-ros-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}
.tgp-ros-choice__label { font-size: 13px; font-weight: 600; }
.tgp-ros-choice__sub { font-size: 11.5px; color: var(--tgp-text-faint, #71717a); line-height: 1.45; }
.tgp-ros-choice:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--tgp-bg, #0a0a0b), 0 0 0 4px rgba(168, 85, 247, 0.6); }

/* Chips */
.tgp-ros-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.tgp-ros-chip {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 550;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}
.tgp-ros-chip:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--tgp-bg, #0a0a0b), 0 0 0 4px rgba(168, 85, 247, 0.6); }
.tgp-ros-chip-add { margin-top: 8px; max-width: 300px; }
.tgp-ros-chip-add .tgp-field { height: 36px; font-size: 12.5px; }

/* Slider */
.tgp-ros-slider { padding: 2px 0; }
.tgp-ros-slider__value { display: flex; align-items: baseline; gap: 9px; margin-bottom: 12px; }
.tgp-ros-slider__num {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--tgp-text, #f4f4f5);
}
.tgp-ros-slider__unit { color: var(--tgp-text-dim, #a1a1aa); font-size: 13px; }
.tgp-ros-slider__hint { color: var(--tgp-text-faint, #71717a); font-size: 12.5px; margin: 10px 0 0; }

.tgp-ros-slider input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--tgp-accent, #8b5cf6) var(--fill, 22%), rgba(255, 255, 255, 0.12) var(--fill, 22%));
  outline: none;
  cursor: pointer;
}
.tgp-ros-slider input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.tgp-ros-slider input[type='range']::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.tgp-ros-slider input[type='range']:focus-visible { box-shadow: 0 0 0 2px var(--tgp-bg, #0a0a0b), 0 0 0 4px rgba(168, 85, 247, 0.6); }

.tgp-ros-wizard__summary {
  margin: 22px 0 8px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.1));
  font-size: 13px;
  color: var(--tgp-text-dim, #a1a1aa);
}
.tgp-ros-wizard__summary strong { color: var(--tgp-text, #f4f4f5); }
.tgp-ros-wizard__summary:empty { display: none; }

.tgp-ros-wizard__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 18px 30px 22px;
  border-top: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
}
.tgp-ros-wizard__count { color: var(--tgp-text-faint, #71717a); font-size: 12px; }
.tgp-ros-wizard__next { min-width: 150px; }
#tgp-ros-onboarding-error { padding: 0 30px 18px; }

/* Segmented control (release type / status pickers) */
.tgp-ros-seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
  border-radius: 9px;
}
.tgp-ros-seg__opt {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}
.tgp-ros-seg__opt:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.5); }

/* ── Row hover polish ───────────────────────────────────────────────── */

.tgp-ros-stat:hover, .tgp-ros-metric:hover { border-color: rgba(255, 255, 255, 0.16); }
.tgp-ros-tasklist__item, .tgp-ros-trackrow, .tgp-ros-inventory__item, .tgp-ros-result { transition: background 120ms ease; }
.tgp-ros-inventory__item:hover { background: rgba(255, 255, 255, 0.02); }

/* ── Growth tab ─────────────────────────────────────────────────────── */

.tgp-ros-growth { display: grid; gap: 16px; }
.tgp-ros-growth__connections { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .tgp-ros-growth__connections { grid-template-columns: 1fr; } }
/* Before anything is linked there is a single card — one search wires both. */
.tgp-ros-connect--solo { grid-column: 1 / -1; }
.tgp-ros-connect--solo .tgp-ros-connect__row { max-width: 560px; }
.tgp-ros-connect__bundle {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--tgp-text-dim, #a1a1aa);
}
.tgp-ros-connect__bundle .tgp-ros-connect__brand { margin-right: 2px; }
.tgp-ros-connect__bundle .tgp-ros-connect__brand + .tgp-ros-connect__brand { margin-left: -6px; margin-right: 8px; }

.tgp-ros-connect__brand {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: baseline;
}
.tgp-ros-connect__brand--spotify { background: #1db954; }
.tgp-ros-connect__brand--songstats { background: #6366f1; }

.tgp-ros-connect__profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 22px 20px;
}
.tgp-ros-connect__profile img { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.tgp-ros-connect__names { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tgp-ros-connect__names strong { font-size: 14.5px; }
.tgp-ros-connect__names a { color: var(--tgp-accent-2, #a855f7); font-size: 12.5px; text-decoration: none; }
.tgp-ros-connect__names a:hover { text-decoration: underline; }
.tgp-ros-connect__names .tgp-ros-dim { font-size: 12px; }

.tgp-ros-connect__search { padding: 0 22px 20px; }
.tgp-ros-connect__hint { color: var(--tgp-text-dim, #a1a1aa); font-size: 12.5px; margin: 0 0 10px; }
.tgp-ros-connect__row { display: flex; gap: 8px; }
.tgp-ros-connect__row .tgp-field { height: 40px; font-size: 13px; flex: 1; }

.tgp-ros-suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--tgp-accent-soft, rgba(147, 51, 234, 0.1));
  border: 1px solid rgba(147, 51, 234, 0.25);
  border-radius: var(--tgp-r-md, 10px);
  padding: 10px 14px;
  margin: 0 0 12px;
  font-size: 13px;
}

/* Round icon-only action (e.g. Downloads in My Tracks). */
#tgp-ros-root .tgp-ros-iconbtn,
.tgp-ros-iconbtn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--tgp-border-strong, rgba(255, 255, 255, 0.14));
  background: rgba(255, 255, 255, 0.06);
  color: var(--tgp-text-dim, #a1a1aa);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}
#tgp-ros-root .tgp-ros-iconbtn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--tgp-text, #f4f4f5);
}

/* Release performance rows + per-release stats modal. */
.tgp-ros-perf { padding: 0 22px; margin-bottom: 16px; }
.tgp-ros-perf .tgp-ros-release-link { text-decoration: none; color: inherit; }
.tgp-ros-perf .tgp-ros-release-link:hover strong { text-decoration: underline; }
#tgp-ros-root .tgp-ros-statsmodal {
  max-width: 560px;
  padding: 0 !important;
  overflow: hidden;
}
#tgp-ros-root .tgp-ros-statsmodal__hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px 22px;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(139, 92, 246, 0.22), transparent 55%),
    radial-gradient(120% 160% at 100% 0%, rgba(34, 197, 94, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
#tgp-ros-root .tgp-ros-statsmodal__hero .tgp-ros-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
}
#tgp-ros-root .tgp-ros-statsmodal__art {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06) center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--tgp-text-dim, #a1a1aa);
}
#tgp-ros-root .tgp-ros-statsmodal__id { min-width: 0; }
#tgp-ros-root .tgp-ros-statsmodal__kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tgp-accent, #a78bfa);
  margin-bottom: 4px;
}
#tgp-ros-root .tgp-ros-statsmodal__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.tgp-ros-statsmodal__meta {
  color: var(--tgp-text-dim, #a1a1aa);
  font-size: 12.5px;
  margin: 4px 0 0;
}
.tgp-ros-statsmodal__meta:empty { display: none; }

#tgp-ros-root .tgp-ros-statsmodal__body { padding: 22px 28px 6px; }
#tgp-ros-root .tgp-ros-statsmodal__heroes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
#tgp-ros-root .tgp-ros-statsmodal__herostat {
  background: linear-gradient(150deg, rgba(139, 92, 246, 0.14), rgba(139, 92, 246, 0.04));
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 14px;
  padding: 16px 18px;
}
#tgp-ros-root .tgp-ros-statsmodal__herovalue {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
#tgp-ros-root .tgp-ros-statsmodal__herolabel {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--tgp-text-dim, #a1a1aa);
}

#tgp-ros-root .tgp-ros-statsmodal__pop {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 14px 18px 15px;
  margin-bottom: 16px;
}
#tgp-ros-root .tgp-ros-statsmodal__poprow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
#tgp-ros-root .tgp-ros-statsmodal__poplabel {
  font-size: 12.5px;
  font-weight: 600;
}
#tgp-ros-root .tgp-ros-statsmodal__popvalue {
  font-size: 20px;
  font-weight: 800;
}
#tgp-ros-root .tgp-ros-statsmodal__popvalue small {
  font-size: 12px;
  font-weight: 600;
  color: var(--tgp-text-dim, #a1a1aa);
}
#tgp-ros-root .tgp-ros-statsmodal__meter {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
#tgp-ros-root .tgp-ros-statsmodal__meterfill {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #8b5cf6, #22c55e);
  transition: width 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
#tgp-ros-root .tgp-ros-statsmodal__pophint {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--tgp-text-dim, #a1a1aa);
}

#tgp-ros-root .tgp-ros-statsmodal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 10px;
}
#tgp-ros-root .tgp-ros-statsmodal__stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 12px 14px;
}
#tgp-ros-root .tgp-ros-statsmodal__statvalue {
  display: block;
  font-size: 17px;
  font-weight: 700;
}
#tgp-ros-root .tgp-ros-statsmodal__statlabel {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--tgp-text-dim, #a1a1aa);
}

#tgp-ros-root .tgp-ros-statsmodal__empty {
  text-align: center;
  padding: 18px 10px 12px;
  color: var(--tgp-text-dim, #a1a1aa);
}
#tgp-ros-root .tgp-ros-statsmodal__emptyicon {
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
  opacity: 0.8;
}
#tgp-ros-root .tgp-ros-statsmodal__empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

#tgp-ros-root .tgp-ros-statsmodal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 28px 24px;
}
#tgp-ros-root .tgp-ros-statsmodal__share { display: inline-flex; gap: 8px; margin-left: auto; }

#tgp-ros-root .tgp-ros-statsmodal__extra { padding: 0 28px; }
#tgp-ros-root .tgp-ros-statsmodal__extra:empty { display: none; }
#tgp-ros-root .tgp-ros-statsmodal__subhead {
  margin: 4px 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tgp-text-dim, #a1a1aa);
}
#tgp-ros-root .tgp-ros-statsmodal__sources {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
#tgp-ros-root .tgp-ros-statsmodal__source {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 9px 13px;
}
#tgp-ros-root .tgp-ros-statsmodal__srcname { font-size: 12.5px; font-weight: 600; }
#tgp-ros-root .tgp-ros-statsmodal__srcval { font-size: 12px; color: var(--tgp-text-dim, #a1a1aa); white-space: nowrap; }
#tgp-ros-root .tgp-ros-statsmodal__pls { list-style: none; margin: 0 0 16px; padding: 0; }
#tgp-ros-root .tgp-ros-statsmodal__pls li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 2px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
#tgp-ros-root .tgp-ros-statsmodal__pls li:last-child { border-bottom: 0; }
#tgp-ros-root .tgp-ros-statsmodal__pls small { color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-statsmodal__pls b { font-weight: 700; white-space: nowrap; }
#tgp-ros-root .tgp-ros-statsmodal__skl { display: grid; gap: 8px; margin-bottom: 16px; }
#tgp-ros-root .tgp-ros-statsmodal__skl span {
  display: block;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.04) 75%);
  background-size: 200% 100%;
  animation: tgp-ros-shimmer 1.4s ease infinite;
}

#tgp-ros-root .tgp-ros-medialib__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 12px 0 !important;
  color: var(--tgp-text-dim, #a1a1aa);
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px dashed rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  cursor: pointer;
}
#tgp-ros-root .tgp-ros-medialib__more:hover { color: var(--tgp-text, #f4f4f5); border-color: rgba(168, 85, 247, .45) !important; }

.tgp-ros-catalog { padding: 4px 22px 16px; }
.tgp-ros-catalog__head {
  color: var(--tgp-text-dim, #a1a1aa);
  font-size: 12.5px;
  margin: 8px 0 2px;
}
.tgp-ros-catalog .tgp-ros-result img { width: 40px; height: 40px; border-radius: 6px; }

.tgp-ros-result-list { list-style: none; margin: 12px 0 0; padding: 0; }
.tgp-ros-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
}
.tgp-ros-result:last-child { border-bottom: 0; }
.tgp-ros-result img { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.tgp-ros-result__info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.tgp-ros-result__info strong { font-size: 13.5px; }
.tgp-ros-result__info small { color: var(--tgp-text-faint, #71717a); font-size: 11.5px; }

.tgp-ros-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  padding: 4px 22px 20px;
}
.tgp-ros-metric {
  background: var(--tgp-surface-high, #18181b);
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--tgp-r-md, 10px);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tgp-ros-metric__value { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.tgp-ros-metric__label { color: var(--tgp-text-dim, #a1a1aa); font-size: 11.5px; }
.tgp-ros-delta { font-size: 11.5px; font-weight: 700; margin-top: 4px; }
.tgp-ros-delta small { font-weight: 500; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-delta.is-up { color: var(--tgp-green, #10b981); }
.tgp-ros-delta.is-down { color: var(--tgp-red, #ef4444); }

.tgp-ros-growth__actions { display: flex; align-items: center; gap: 12px; }
.tgp-ros-growth__synced { font-size: 12px; }

.tgp-ros-chart { padding: 4px 22px 8px; }
.tgp-ros-chart svg { width: 100%; height: 160px; display: block; border-radius: 8px; }
.tgp-ros-chart__labels {
  display: flex;
  justify-content: space-between;
  color: var(--tgp-text-faint, #71717a);
  font-size: 11.5px;
  margin-bottom: 6px;
}
.tgp-ros-chart-select { height: 36px; font-size: 12.5px; width: auto; padding: 0 32px 0 12px; }

/* ── Modal ──────────────────────────────────────────────────────────── */

.tgp-ros-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.tgp-ros-modal[hidden] { display: none; }
.tgp-ros-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); }
.tgp-ros-modal__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--tgp-surface-high, #18181b);
}
.tgp-ros-modal__close {
  background: transparent;
  border: 0;
  color: var(--tgp-text-dim, #a1a1aa);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.tgp-ros-modal__close:hover { color: var(--tgp-text, #f4f4f5); }

/* ── Mobile ─────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  /* Sub navigation: swipeable pill bar, full width. */
  .tgp-ros-subnav {
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tgp-ros-subnav::-webkit-scrollbar { display: none; }
  .tgp-ros-subnav__item { padding: 8px 14px; font-size: 13px; flex-shrink: 0; }

  /* Wizard */
  .tgp-ros-step { padding: 18px 16px 6px; }
  .tgp-ros-wizard__aside { padding: 16px 16px 12px; }
  .tgp-ros-wizard__nav { padding: 14px 16px 18px; }
  .tgp-ros-wizard__count { display: none; }
  .tgp-ros-wizard__nav .tgp-ros-btn--ghost { flex-shrink: 0; }
  .tgp-ros-wizard__next { flex: 1; min-width: 0; }
  #tgp-ros-onboarding-error { padding: 0 16px 14px; }
  .tgp-ros-bigfield { height: 44px; font-size: 14px; }
  .tgp-ros-spconnect { padding: 14px 14px 12px; }
  .tgp-ros-spconnect__row { flex-direction: column; }
  .tgp-ros-spconnect__row .tgp-ros-btn { width: 100%; }
  .tgp-ros-spconnect__selected { flex-wrap: wrap; }
  .tgp-ros-choice-grid--4 { grid-template-columns: 1fr 1fr; }
  .tgp-ros-slider__num { font-size: 26px; }

  /* Dashboard */
  .tgp-ros-hero { padding: 18px 16px; }
  .tgp-ros-hero__title { font-size: 19px; }
  .tgp-ros-hero__countdown { text-align: left; min-width: 0; width: 100%; }
  .tgp-ros-hero__days { font-size: 30px; }
  .tgp-ros-stat { padding: 14px 16px; }
  .tgp-ros-stat__value { font-size: 22px; }
  .tgp-ros-quick { flex-direction: column; }
  .tgp-ros-quick .tgp-btn, .tgp-ros-quick .tgp-ros-btn { width: 100%; }
  .tgp-ros-tasklist { padding: 0 16px 10px; }
  .tgp-ros-tasklist__meta { white-space: normal; text-align: right; }
  .tgp-ros-trackrow__meta { display: none; }

  /* Tables (releases list, growth releases): scroll sideways, don't crush. */
  .tgp-ros table.tgp-table { display: block; overflow-x: auto; white-space: nowrap; }

  /* Forms & modal */
  .tgp-ros-modal { padding: 10px; align-items: flex-end; }
  .tgp-ros-modal__panel { max-height: 94vh; }
  .tgp-ros-modal__panel.tgp-ros-optmodal,
  .tgp-ros-modal__panel.tgp-ros-linkmodal { padding: 18px 16px 20px; }
  .tgp-ros-form__actions { flex-wrap: wrap; }
  .tgp-ros-form__actions .tgp-btn, .tgp-ros-form__actions .tgp-ros-btn { flex: 1; min-width: 45%; }
  .tgp-ros-seg { width: 100%; }
  .tgp-ros-seg__opt { flex: 1; text-align: center; }

  /* Growth tab */
  .tgp-ros-connect__row { flex-direction: column; }
  .tgp-ros-connect__row .tgp-btn, .tgp-ros-connect__row .tgp-ros-btn { width: 100%; }
  .tgp-ros-connect__profile { padding: 4px 16px 16px; flex-wrap: wrap; }
  .tgp-ros-metric-grid { grid-template-columns: 1fr 1fr; padding: 4px 16px 16px; gap: 10px; }
  .tgp-ros-metric__value { font-size: 18px; }
  .tgp-ros-chart { padding: 4px 16px 8px; }
  .tgp-ros-growth__actions { flex-wrap: wrap; }
  .tgp-ros-inventory { padding: 0 16px 12px; }
}

/* ── Label CRM ──────────────────────────────────────────────────────── */

.tgp-ros-labellist { list-style: none; margin: 0; padding: 0 22px 16px; }
.tgp-ros-labelrow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
}
.tgp-ros-labelrow:last-child { border-bottom: 0; }
.tgp-ros-labelrow.is-due { border-left: 3px solid #f59e0b; padding-left: 12px; margin-left: -15px; }
.tgp-ros-labelrow__info { flex: 1; min-width: 0; }
.tgp-ros-labelrow__name { margin: 0; font-size: 14px; font-weight: 600; }
.tgp-ros-labelrow__name a { color: inherit; text-decoration: none; }
.tgp-ros-labelrow__name a:hover { text-decoration: underline; }
.tgp-ros-labelrow__meta { margin: 2px 0 0; font-size: 12px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-labelrow__feedback {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--tgp-text-dim, #a1a1aa);
  font-style: italic;
}
.tgp-ros-labelrow__controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tgp-ros-labelrow__status { max-width: 170px; font-size: 12.5px !important; padding: 7px 10px !important; }
.tgp-ros-labelrow__followup { max-width: 140px; font-size: 12.5px !important; padding: 7px 10px !important; }

/* ── Content planner ────────────────────────────────────────────────── */

.tgp-ros-contentlist { list-style: none; margin: 0; padding: 0 22px 16px; }
.tgp-ros-contentrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
}
.tgp-ros-contentrow:last-child { border-bottom: 0; }
.tgp-ros-contentrow.is-due { border-left: 3px solid #f59e0b; padding-left: 12px; margin-left: -15px; }
.tgp-ros-contentrow__platform {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tgp-text-dim, #a1a1aa);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
  border-radius: 6px;
  padding: 4px 8px;
  min-width: 74px;
  text-align: center;
}
.tgp-ros-contentrow__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tgp-ros-contentrow__info strong { font-size: 13.5px; }
.tgp-ros-contentrow__info small { font-size: 11.5px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-contentrow__status { max-width: 150px; flex-shrink: 0; font-size: 12.5px !important; padding: 7px 10px !important; }

/* ── Smart link block (release detail) ──────────────────────────────── */

.tgp-ros-smartlink {
  margin: 4px 22px 18px;
  padding: 14px 16px;
  background: var(--tgp-surface-high, #18181b);
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--tgp-r-md, 10px);
}
.tgp-ros-smartlink__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tgp-ros-smartlink__url {
  font-size: 13px;
  color: var(--tgp-accent, #9333ea);
  text-decoration: none;
  word-break: break-all;
}
.tgp-ros-smartlink__url:hover { text-decoration: underline; }
.tgp-ros-smartlink__dests { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tgp-ros-smartlink .tgp-ros-form__note { padding: 0; margin: 8px 0 0; }
.tgp-ros-smartlink__stats { margin: 8px 0 0; font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); }

/* ── Release health score ───────────────────────────────────────────── */

.tgp-ros-health {
  margin: 18px 22px 4px;
  padding: 14px 16px;
  background: var(--tgp-surface-high, #18181b);
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--tgp-r-md, 10px);
}
.tgp-ros-health__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.tgp-ros-health__score { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.tgp-ros-health__score small { font-size: 13px; color: var(--tgp-text-faint, #71717a); font-weight: 500; }
.tgp-ros-health__label { font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-health__bars { display: flex; flex-direction: column; gap: 7px; }
.tgp-ros-health__cat { display: flex; align-items: center; gap: 10px; }
.tgp-ros-health__catlabel { width: 86px; flex-shrink: 0; font-size: 11.5px; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-health__track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  overflow: hidden;
}
.tgp-ros-health__fill {
  display: block;
  height: 100%;
  background: var(--tgp-accent, #9333ea);
  border-radius: 999px;
}
.tgp-ros-health__next {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--tgp-text-dim, #a1a1aa);
}

@media (max-width: 720px) {
  .tgp-ros-labellist, .tgp-ros-contentlist { padding: 0 16px 12px; }
  .tgp-ros-labelrow { flex-wrap: wrap; }
  .tgp-ros-labelrow__controls { width: 100%; }
  .tgp-ros-labelrow__status, .tgp-ros-labelrow__followup { max-width: none; flex: 1; }
  .tgp-ros-contentrow { flex-wrap: wrap; }
  .tgp-ros-contentrow__status { max-width: none; width: 100%; }
  .tgp-ros-smartlink, .tgp-ros-health { margin-left: 16px; margin-right: 16px; }
}

/* ── AI advisor (dashboard) ─────────────────────────────────────────── */

.tgp-ros-advisorlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tgp-ros-advice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09));
  border-left-width: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}
.tgp-ros-advice.is-action { border-left-color: var(--tgp-accent, #9333ea); }
.tgp-ros-advice.is-warning { border-left-color: #d97706; }
.tgp-ros-advice.is-info { border-left-color: rgba(255, 255, 255, 0.25); }
.tgp-ros-advice__main { flex: 1; min-width: 0; }
.tgp-ros-advice__title { margin: 0; font-size: 13.5px; font-weight: 600; }
.tgp-ros-advice__badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(147, 51, 234, 0.18);
  color: #c084fc;
  vertical-align: middle;
}
.tgp-ros-advice__body { margin: 4px 0 0; font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-advice__action {
  display: inline-block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tgp-accent-soft, #c084fc);
  text-decoration: none;
}
.tgp-ros-advice__action:hover { text-decoration: underline; }
.tgp-ros-advice__dismiss { flex-shrink: 0; opacity: 0.55; }
.tgp-ros-advice__dismiss:hover { opacity: 1; }

/* ── Toasts ─────────────────────────────────────────────────────────── */

.tgp-ros-toasts {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: min(380px, calc(100vw - 32px));
	pointer-events: none;
}
.tgp-ros-toast {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 12px;
	background: #17171b;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
	color: #f4f4f5;
	font-family: var(--tgp-font, 'Inter', sans-serif);
	font-size: 13px;
	line-height: 1.45;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: auto;
}
.tgp-ros-toast.is-in { opacity: 1; transform: translateY(0); }
.tgp-ros-toast__icon { flex-shrink: 0; display: inline-flex; margin-top: 1px; }
.tgp-ros-toast.is-success .tgp-ros-toast__icon { color: #4ade80; }
.tgp-ros-toast.is-error .tgp-ros-toast__icon { color: #f87171; }
.tgp-ros-toast.is-info .tgp-ros-toast__icon { color: #c084fc; }

/* ── Content Studio ─────────────────────────────────────────────────── */

/* The base .tgp-card has no body padding — give the studio a real one so
   sections don't hug the card edges. The head's own padding is zeroed since
   the card now provides it. */
.tgp-ros-studio.tgp-card { padding: 24px 26px 28px; }
.tgp-ros-studio .tgp-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	padding: 0;
	margin: 0 0 22px;
}
.tgp-ros-studio__sub {
	margin: 4px 0 0;
	font-size: 12.5px;
	color: var(--tgp-text-dim, #a1a1aa);
}
.tgp-ros-credits {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: #c084fc;
	background: rgba(147, 51, 234, 0.12);
	border: 1px solid rgba(147, 51, 234, 0.3);
	white-space: nowrap;
	flex-shrink: 0;
}
.tgp-ros-studio__controls {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	align-items: flex-end;
	margin: 0 0 8px;
}
.tgp-ros-studio__control {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}
.tgp-ros-studio__control .tgp-field { max-width: 260px; min-width: 190px; }
.tgp-ros-studio__controllabel {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--tgp-text-faint, #71717a);
}
.tgp-ros-studio__go { display: inline-flex; align-items: center; gap: 7px; }

/* Release picker — grouped sub-panel with visual chips */
.tgp-ros-studio__picker {
	display: flex;
	flex-direction: column;
	gap: 13px;
	padding: 18px 20px 20px;
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09));
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.02);
	margin: 0 0 22px;
}
.tgp-ros-relpick {
	display: flex;
	gap: 9px;
	flex-wrap: wrap;
}
#tgp-ros-root .tgp-ros-relpick__item {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 7px 15px 7px 8px !important;
	border-radius: 999px !important;
	border: 1px solid var(--tgp-border-strong, rgba(255, 255, 255, 0.14)) !important;
	background: var(--tgp-surface-2, #1c1c1f) !important;
	color: var(--tgp-text-dim, #a1a1aa);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
#tgp-ros-root .tgp-ros-relpick__item:hover {
	border-color: rgba(168, 85, 247, 0.5) !important;
	color: var(--tgp-text, #fafafa);
}
#tgp-ros-root .tgp-ros-relpick__item.is-active {
	border-color: var(--tgp-accent, #a855f7) !important;
	background: rgba(147, 51, 234, 0.18) !important;
	color: #fff;
	box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.18);
}
#tgp-ros-root .tgp-ros-relpick__item.is-active::before {
	content: '✓';
	position: absolute;
	top: -5px;
	right: -4px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--tgp-accent, #a855f7);
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	box-shadow: 0 0 0 2px var(--tgp-surface, #141416);
}
.tgp-ros-relpick__thumb {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	object-fit: cover;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	background: var(--tgp-surface-3, #232326);
	color: var(--tgp-text-faint, #71717a);
	font-size: 15px;
	line-height: 1;
}
#tgp-ros-root .tgp-ros-relpick__item.is-active .tgp-ros-relpick__thumb { color: #e9d5ff; background: rgba(147, 51, 234, 0.35); }
.tgp-ros-relpick__name {
	max-width: 200px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
#tgp-ros-root .tgp-ros-relpick__item--new { border-style: dashed !important; }

/* Smart suggestions (track intelligence brief) */
.tgp-ros-brief {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px 20px 20px;
	border: 1px solid rgba(147, 51, 234, 0.28);
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(147, 51, 234, 0.07), rgba(147, 51, 234, 0.02));
	margin: 0 0 22px;
}
.tgp-ros-brief__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}
.tgp-ros-brief__heading { display: flex; align-items: flex-start; gap: 11px; min-width: 0; }
.tgp-ros-brief__icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	background: rgba(147, 51, 234, 0.18);
	color: #c084fc;
}
.tgp-ros-brief__title { margin: 0; font-size: 13.5px; font-weight: 650; color: var(--tgp-text, #fafafa); }
.tgp-ros-brief__basis { margin: 2px 0 0; font-size: 11.5px; color: #c084fc; }
.tgp-ros-brief__summary {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--tgp-text-dim, #a1a1aa);
}
.tgp-ros-brief__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tgp-ros-brief__group { display: flex; flex-direction: column; gap: 8px; }
.tgp-ros-brief__label {
	margin: 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--tgp-text-faint, #71717a);
}
.tgp-ros-brief__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tgp-ros-brief__lyrics { margin-top: 4px; }
.tgp-ros-brief__lyrics summary {
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
	color: var(--tgp-text-muted, #a1a1aa);
	user-select: none;
}
.tgp-ros-brief__lyrics summary:hover { color: var(--tgp-text, #f4f4f5); }
.tgp-ros-brief__lyricstext {
	margin: 10px 0 0;
	padding: 14px 16px;
	max-height: 260px;
	overflow-y: auto;
	white-space: pre-wrap;
	word-break: break-word;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.7;
	color: var(--tgp-text-muted, #a1a1aa);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
	border-radius: 10px;
}
#tgp-ros-root .tgp-ros-sugchip {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	padding: 7px 13px !important;
	border-radius: 999px !important;
	border: 1px solid var(--tgp-border-strong, rgba(255, 255, 255, 0.14)) !important;
	background: var(--tgp-surface-2, #1c1c1f) !important;
	color: var(--tgp-text-dim, #a1a1aa);
	font-size: 12.5px;
	font-weight: 500;
	text-align: left !important;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
	white-space: normal !important;
	line-height: 1.35;
}
#tgp-ros-root .tgp-ros-sugchip:hover {
	border-color: rgba(168, 85, 247, 0.6) !important;
	background: rgba(147, 51, 234, 0.12) !important;
	color: var(--tgp-text, #fafafa);
}
#tgp-ros-root .tgp-ros-sugchip--quote { font-style: italic; }
#tgp-ros-root .tgp-ros-chipbtn--ai {
	color: #c084fc !important;
	border-color: rgba(147, 51, 234, 0.45) !important;
	background: rgba(147, 51, 234, 0.12) !important;
}
#tgp-ros-root .tgp-ros-chipbtn--ai:hover { background: rgba(147, 51, 234, 0.22) !important; }

/* Readiness chips (inside the picker panel) */
.tgp-ros-readiness {
	display: flex;
	gap: 9px;
	flex-wrap: wrap;
	align-items: center;
	padding-top: 14px;
	border-top: 1px dashed var(--tgp-border, rgba(255, 255, 255, 0.09));
}
.tgp-ros-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 600;
	border: 1px solid transparent;
}
.tgp-ros-chip.is-ok { color: #4ade80; background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.25); }
.tgp-ros-chip.is-off { color: #fbbf24; background: rgba(217, 119, 6, 0.1); border-color: rgba(217, 119, 6, 0.3); }
.tgp-ros-chip.is-hint { color: var(--tgp-text-dim, #a1a1aa); background: rgba(255, 255, 255, 0.04); border-color: var(--tgp-border, rgba(255, 255, 255, 0.09)); }
.tgp-ros-chipbtn {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	padding: 4px 12px !important;
	border-radius: 999px !important;
	font-size: 11.5px !important;
	font-weight: 600 !important;
	color: #c084fc !important;
	background: rgba(147, 51, 234, 0.14) !important;
	border: 1px solid rgba(147, 51, 234, 0.4) !important;
	cursor: pointer;
	transition: background 0.15s ease;
	white-space: nowrap !important;
}
.tgp-ros-chipbtn:hover { background: rgba(147, 51, 234, 0.28) !important; }

.tgp-ros-studio__media { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09)); }

/* Uniform section labels + notes inside the studio */
.tgp-ros-studio__media > .tgp-label,
.tgp-ros-medialib > .tgp-label {
	display: block;
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--tgp-text-faint, #71717a);
}
.tgp-ros-studio .tgp-ros-form__note { padding: 0; margin: 14px 0 0; }

/* Creator cards */
.tgp-ros-creators {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px;
}
.tgp-ros-creator {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 16px !important;
	padding-top: 18px !important;
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09)) !important;
	border-radius: 14px !important;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)) !important;
	cursor: pointer;
	text-align: left !important;
	transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
	position: relative;
	min-width: 0;
	white-space: normal !important;
}
.tgp-ros-creator__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tgp-ros-creator__body strong { font-size: 13.5px; }
.tgp-ros-creator__body small { font-size: 11.5px; line-height: 1.45; color: var(--tgp-text-faint, #8b8b93); }
.tgp-ros-creator:hover:not(.is-locked) {
	border-color: var(--tgp-accent, #9333ea) !important;
	background: rgba(147, 51, 234, 0.06) !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px -14px rgba(147, 51, 234, 0.55);
}
.tgp-ros-creator:hover:not(.is-locked) .tgp-ros-creator__icon { transform: scale(1.08) rotate(-3deg); }
.tgp-ros-creator.is-locked { cursor: pointer; }
.tgp-ros-creator.is-locked .tgp-ros-creator__icon { filter: grayscale(0.75); opacity: 0.6; }
.tgp-ros-creator.is-locked .tgp-ros-creator__body { opacity: 0.55; }
.tgp-ros-creator__icon {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	color: #fff;
	transition: transform 0.18s ease;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 14px -6px rgba(0, 0, 0, 0.6);
}
.tgp-ros-creator__icon svg { width: 20px; height: 20px; }
.tgp-ros-creator__icon.is-image { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.tgp-ros-creator__icon.is-card { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.tgp-ros-creator__icon.is-video { background: linear-gradient(135deg, #db2777, #f472b6); }
.tgp-ros-creator__icon.is-lyrics { background: linear-gradient(135deg, #d97706, #fbbf24); }
.tgp-ros-creator__icon.is-stock { background: linear-gradient(135deg, #059669, #34d399); }
.tgp-ros-creator__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tgp-ros-creator__body strong { font-size: 13px; font-weight: 650; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-creator__body small { font-size: 11.5px; line-height: 1.4; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-creator__lock {
	position: absolute;
	top: 8px;
	right: 8px;
	font-size: 10px;
	font-weight: 700;
	color: #fbbf24;
	background: rgba(251, 191, 36, 0.12);
	border: 1px solid rgba(251, 191, 36, 0.35);
	border-radius: 999px;
	padding: 2px 8px;
	line-height: 1.5;
}

/* Skeleton loaders */
.tgp-ros-skel {
	display: block;
	height: 12px;
	border-radius: 6px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.11) 50%, rgba(255, 255, 255, 0.05) 75%);
	background-size: 200% 100%;
	animation: tgp-ros-shimmer 1.4s ease infinite;
	margin: 6px 0;
}
.tgp-ros-skel--btn { width: 100px; height: 28px; border-radius: 8px; margin-top: 12px; }
@keyframes tgp-ros-shimmer { to { background-position: -200% 0; } }
.tgp-ros-idea.is-skeleton { min-height: 140px; }
.tgp-ros-stockitem.is-skeleton {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.04) 75%) !important;
	background-size: 200% 100% !important;
	animation: tgp-ros-shimmer 1.4s ease infinite;
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.07)) !important;
	cursor: default;
}

.tgp-ros-spinner--sm { width: 12px; height: 12px; border-width: 2px; display: inline-block; vertical-align: -1px; }

.tgp-ros-ideas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.tgp-ros-idea {
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09));
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
}
.tgp-ros-idea__head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.tgp-ros-idea__title { margin: 0; font-size: 13.5px; font-weight: 600; }
.tgp-ros-idea__tags { display: flex; gap: 5px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.tgp-ros-idea__hook { margin: 0; font-size: 13px; font-style: italic; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-idea__how { margin: 0; font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-idea__time { margin: 0; font-size: 11.5px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-idea__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.tgp-ros-idea__caption {
  border-top: 1px dashed var(--tgp-border, rgba(255, 255, 255, 0.12));
  padding-top: 8px;
  font-size: 12.5px;
}
.tgp-ros-idea__caption p { margin: 0 0 6px; }
.tgp-ros-idea__hashtags { color: var(--tgp-accent-soft, #c084fc); word-break: break-word; }
.tgp-ros-idea__cta { color: var(--tgp-text-dim, #a1a1aa); }

/* Stock picker */
.tgp-ros-stockpick { margin-top: 14px; }
.tgp-ros-stockpick__bar { display: flex; gap: 8px; }
.tgp-ros-stockpick__bar .tgp-field { flex: 1; max-width: 380px; }
.tgp-ros-stockpick__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.tgp-ros-stockitem {
  position: relative;
  display: block;
  padding: 0 !important;
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09)) !important;
  border-radius: 10px;
  overflow: hidden;
  background: none !important;
  cursor: pointer;
  aspect-ratio: 9 / 14;
}
.tgp-ros-stockitem img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tgp-ros-stockitem span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 8px 6px;
  font-size: 10.5px;
  color: #fff;
  text-align: left;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}
.tgp-ros-stockitem:hover { border-color: var(--tgp-accent, #9333ea) !important; }
.tgp-ros-stockitem:disabled { opacity: 0.5; cursor: wait; }

/* Media library */
.tgp-ros-medialib { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09)); }
.tgp-ros-medialib__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.tgp-ros-mediacard {
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09));
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
}
.tgp-ros-mediacard__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #0a0a0c;
}
video.tgp-ros-mediacard__media { aspect-ratio: 9 / 16; max-height: 300px; }
.tgp-ros-mediacard__pending {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--tgp-text-dim, #a1a1aa);
}
/* ── Upload your track modal ── */
.tgp-ros-audioup__drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  padding: 30px 20px;
  border: 1.5px dashed var(--tgp-border, rgba(255, 255, 255, 0.14));
  border-radius: 12px;
  cursor: pointer;
  color: var(--tgp-text-muted, #a1a1aa);
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.tgp-ros-audioup__drop:hover,
.tgp-ros-audioup__drop.is-drag {
  border-color: var(--tgp-accent, #8b5cf6);
  background: rgba(139, 92, 246, 0.06);
  color: var(--tgp-text, #f4f4f5);
}
.tgp-ros-audioup__drop strong { font-size: 14px; }
.tgp-ros-audioup__drop small { font-size: 12px; opacity: 0.7; }
.tgp-ros-audioup__current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}
.tgp-ros-audioup__file {
  font-size: 13px;
  font-weight: 600;
  color: var(--tgp-text, #f4f4f5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* ── Artwork modal (upload or AI cover) ── */
.tgp-ros-artupmodal { max-width: 560px; }
.tgp-ros-artup__current {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 12px;
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09));
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.tgp-ros-artup__thumb {
  width: 84px;
  height: 84px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0a0a0c;
}
.tgp-ros-artup__currentmeta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.tgp-ros-artup__currentmeta > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--tgp-text, #f4f4f5);
}
.tgp-ros-artup__drop { padding: 22px 16px; }
.tgp-ros-artup__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--tgp-text-faint, #71717a);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tgp-ros-artup__divider::before,
.tgp-ros-artup__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--tgp-border, rgba(255, 255, 255, 0.09));
}
.tgp-ros-artup__ai { display: flex; flex-direction: column; gap: 12px; }
.tgp-ros-artup__ai .tgp-ros-btn--primary { align-self: flex-start; }

.tgp-ros-audioup__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 30px 20px;
  font-size: 13px;
  color: var(--tgp-text-muted, #a1a1aa);
}

.tgp-ros-mediacard__pending--failed {
  padding: 16px;
  text-align: center;
  color: #fca5a5;
}
.tgp-ros-mediacard__why {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--tgp-text-dim, #a1a1aa);
  word-break: break-word;
}
.tgp-ros-mediacard__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
}
.tgp-ros-mediacard__kind { font-size: 11px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-mediacard__actions { display: flex; gap: 4px; }

.tgp-ros-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--tgp-accent, #9333ea);
  border-radius: 50%;
  animation: tgp-ros-spin 0.8s linear infinite;
}
@keyframes tgp-ros-spin { to { transform: rotate(360deg); } }

/* Link-a-track modal */
.tgp-ros-modal__panel.tgp-ros-linkmodal { max-width: 480px; padding: 22px 24px 24px; }
.tgp-ros-linkmodal .tgp-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 0;
	margin: 0 0 8px;
}
.tgp-ros-linkmodal__heading { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.tgp-ros-linkmodal__icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(147, 51, 234, 0.16);
	color: #c084fc;
	margin-top: 1px;
}
.tgp-ros-linkmodal__target {
	margin: 3px 0 0;
	font-size: 12px;
	font-weight: 600;
	color: #c084fc;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.tgp-ros-linkmodal__note {
	margin: 0 0 14px;
	padding: 0 0 0 48px;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--tgp-text-dim, #a1a1aa);
}
.tgp-ros-linkmodal__empty {
	margin: 4px 0 6px;
	padding: 18px;
	text-align: center;
	font-size: 13px;
	color: var(--tgp-text-dim, #a1a1aa);
	border: 1px dashed var(--tgp-border, rgba(255, 255, 255, 0.09));
	border-radius: 12px;
}
.tgp-ros-linklist {
	list-style: none;
	margin: 0;
	padding: 2px;
	display: flex;
	flex-direction: column;
	gap: 9px;
	max-height: 350px;
	overflow-y: auto;
	overscroll-behavior: contain;
}
#tgp-ros-root .tgp-ros-linkitem {
	display: flex !important;
	align-items: center;
	gap: 13px;
	width: 100%;
	padding: 11px 13px !important;
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09)) !important;
	border-radius: 12px !important;
	background: rgba(255, 255, 255, 0.025) !important;
	cursor: pointer;
	text-align: left !important;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
	white-space: normal !important;
}
#tgp-ros-root .tgp-ros-linkitem:hover:not(:disabled) {
	border-color: var(--tgp-accent, #9333ea) !important;
	background: rgba(147, 51, 234, 0.07) !important;
}
#tgp-ros-root .tgp-ros-linkitem:hover:not(:disabled) .tgp-ros-linkitem__cta {
	background: var(--tgp-accent, #8b5cf6);
	border-color: var(--tgp-accent, #8b5cf6);
	color: #fff;
}
#tgp-ros-root .tgp-ros-linkitem:disabled:not(.is-linking):not(.is-linked) { opacity: 0.45; cursor: default; }
#tgp-ros-root .tgp-ros-linkitem.is-linked {
	border-color: rgba(34, 197, 94, 0.5) !important;
	background: rgba(34, 197, 94, 0.07) !important;
}
.tgp-ros-linkitem img,
.tgp-ros-linkitem__ph {
	width: 44px;
	height: 44px;
	border-radius: 9px;
	object-fit: cover;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.06);
	color: var(--tgp-text-faint, #71717a);
	font-size: 18px;
}
.tgp-ros-linkitem__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tgp-ros-linkitem__info strong { font-size: 13.5px; font-weight: 600; color: var(--tgp-text, #f4f4f5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tgp-ros-linkitem__info small { font-size: 11.5px; color: var(--tgp-text-dim, #a1a1aa); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tgp-ros-linkitem__cta {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #c084fc;
	padding: 5px 14px;
	border-radius: 999px;
	background: rgba(147, 51, 234, 0.14);
	border: 1px solid rgba(147, 51, 234, 0.4);
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.tgp-ros-linkitem__ctacheck { display: none; }
#tgp-ros-root .tgp-ros-linkitem.is-linking .tgp-ros-linkitem__cta { opacity: 0.75; }
#tgp-ros-root .tgp-ros-linkitem.is-linked .tgp-ros-linkitem__cta {
	color: #4ade80;
	background: rgba(34, 197, 94, 0.12);
	border-color: rgba(34, 197, 94, 0.45);
}
#tgp-ros-root .tgp-ros-linkitem.is-linked .tgp-ros-linkitem__ctacheck { display: inline; }

/* Options modals (image + video): the base card has no body padding, so the
   modal provides its own and zeroes the head's. */
.tgp-ros-modal__panel.tgp-ros-optmodal { max-width: 520px; padding: 22px 24px 24px; }
.tgp-ros-optmodal .tgp-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0;
	margin: 0 0 20px;
}
.tgp-ros-optmodal .tgp-ros-form__actions {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09));
}
.tgp-ros-optmodal .tgp-ros-form__note { padding: 0; margin: 0; }
.tgp-ros-optmodal [data-ros-vopt-trim-input] { max-width: 130px; }
.tgp-ros-videoopts { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.tgp-ros-videoopts__group { display: flex; flex-direction: column; gap: 9px; }
.tgp-ros-stylegrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 10px;
}
.tgp-ros-style {
	display: flex !important;
	flex-direction: column;
	gap: 3px;
	padding: 12px 14px !important;
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09)) !important;
	border-radius: 10px !important;
	background: rgba(255, 255, 255, 0.02) !important;
	cursor: pointer;
	text-align: left !important;
	transition: border-color 0.15s ease, background 0.15s ease;
	white-space: normal !important;
}
.tgp-ros-style strong { font-size: 12.5px; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-style small { font-size: 10.5px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-style:hover { border-color: rgba(147, 51, 234, 0.5) !important; }
.tgp-ros-style.is-selected {
	border-color: var(--tgp-accent, #9333ea) !important;
	background: rgba(147, 51, 234, 0.1) !important;
}

/* ── Waveform part picker (video modal) ─────────────────────────────── */

.tgp-ros-wave {
	position: relative;
	height: 64px;
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09));
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.02);
	overflow: hidden;
	cursor: ew-resize;
	touch-action: none;
	user-select: none;
}
.tgp-ros-wave__canvas { position: absolute; inset: 6px 8px; width: calc(100% - 16px); height: calc(100% - 12px); display: block; pointer-events: none; }
.tgp-ros-wave__sel {
	position: absolute;
	top: 0;
	bottom: 0;
	border: 1px solid rgba(167, 139, 250, 0.85);
	border-radius: 8px;
	background: rgba(147, 51, 234, 0.14);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
	pointer-events: none;
}
.tgp-ros-wave__progress {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 2px;
	background: #fff;
	opacity: 0.9;
	pointer-events: none;
}
.tgp-ros-wave__bar { display: flex; align-items: center; gap: 10px; }
#tgp-ros-root .tgp-ros-wave__play {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	flex: 0 0 auto;
	border: 1px solid rgba(147, 51, 234, 0.5) !important;
	border-radius: 50% !important;
	background: rgba(147, 51, 234, 0.15) !important;
	color: var(--tgp-accent-soft, #c084fc);
	cursor: pointer;
	transition: background 0.15s ease;
}
#tgp-ros-root .tgp-ros-wave__play:hover { background: rgba(147, 51, 234, 0.3) !important; }
.tgp-ros-wave__play .tgp-ros-wave__ic-pause { display: none; }
.tgp-ros-wave__play.is-playing .tgp-ros-wave__ic-play { display: none; }
.tgp-ros-wave__play.is-playing .tgp-ros-wave__ic-pause { display: block; }
.tgp-ros-wave__time { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-wave__hint { font-size: 11.5px; color: var(--tgp-text-faint, #71717a); }

/* ── Lyrics overlay options ─────────────────────────────────────────── */

.tgp-ros-lyrictoggle { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; }
.tgp-ros-lyrictoggle input { position: absolute; opacity: 0; pointer-events: none; }
.tgp-ros-lyrictoggle__box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	border: 1px solid var(--tgp-border-strong, rgba(255, 255, 255, 0.14));
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.03);
	color: transparent;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tgp-ros-lyrictoggle input:checked + .tgp-ros-lyrictoggle__box {
	background: var(--tgp-accent, #9333ea);
	border-color: var(--tgp-accent, #9333ea);
	color: #fff;
}
.tgp-ros-lyrictoggle__text { font-size: 13px; font-weight: 600; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-lyrics-note { margin: 0; }
.tgp-ros-lyricstyles { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.tgp-ros-stylegrid--lyrics { grid-template-columns: repeat(3, 1fr); }
.tgp-ros-stylegrid--lyrics .tgp-ros-style { align-items: center; text-align: center !important; }
.tgp-ros-style-demo--bold { font-weight: 800; letter-spacing: 0.01em; }
.tgp-ros-style-demo--minimal { font-weight: 500; color: var(--tgp-text-dim, #a1a1aa) !important; }
.tgp-ros-style-demo--karaoke { font-weight: 800; color: #c4b5fd !important; text-transform: uppercase; }

/* ── Post to socials ────────────────────────────────────────────────── */

.tgp-ros-postmodal { max-width: 1020px; width: min(1020px, calc(100vw - 32px)); }
.tgp-ros-postmodal .tgp-card__head { margin-bottom: 12px; }

/* Format chips — heavy specificity: the theme resets button styling. */
#tgp-ros-root .tgp-ros-postmodal__chips {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}
#tgp-ros-root .tgp-ros-postmodal__chips .tgp-ros-studio__controllabel { white-space: nowrap; }
#tgp-ros-root .tgp-ros-posttones__chips {
	display: flex;
	gap: 6px;
	flex-wrap: nowrap;
	flex: 0 1 auto;
	min-width: 0;
	padding: 2px 0;
	align-items: center;
	overflow-x: auto;
	scrollbar-width: none;
}
#tgp-ros-root .tgp-ros-posttones__chips::-webkit-scrollbar { display: none; }
#tgp-ros-root .tgp-ros-postmodal__chips { flex-wrap: nowrap; }
#tgp-ros-root .tgp-ros-postmodal__regen { margin-left: auto; }
#tgp-ros-root .tgp-ros-tonechip { white-space: nowrap; }
/* Single style-selector pill — any label length, always one line. */
#tgp-ros-root button.tgp-ros-stylesel {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	padding: 6px 14px !important;
	border: 1px solid rgba(147, 51, 234, 0.5) !important;
	border-radius: 999px !important;
	background: rgba(147, 51, 234, 0.14) !important;
	color: #e9d5ff !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	width: auto !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}
#tgp-ros-root button.tgp-ros-stylesel:hover { background: rgba(147, 51, 234, 0.28) !important; border-color: var(--tgp-accent, #9333ea) !important; }
#tgp-ros-root button.tgp-ros-stylesel svg { opacity: 0.7; }

#tgp-ros-root .tgp-ros-postmodal__gear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px !important;
	height: 32px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--tgp-text-dim, #a1a1aa) !important;
	cursor: pointer;
	border-radius: 8px !important;
	transition: color 0.15s ease, transform 0.3s ease;
}
#tgp-ros-root .tgp-ros-postmodal__gear:hover { color: #fff !important; transform: rotate(45deg); }
#tgp-ros-root .tgp-ros-tonechip--more.is-selected {
	background: var(--tgp-accent, #9333ea) !important;
	border-color: var(--tgp-accent, #9333ea) !important;
	color: #fff !important;
}

/* "More" styles float in a popover anchored to the chips row (opens
   inward from the right edge) so the modal never grows or clips it. */
#tgp-ros-root .tgp-ros-postmodal__chips { position: relative; }
.tgp-ros-morepop {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: auto;
	z-index: 40;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	width: 340px;
	max-width: min(340px, 80vw);
	padding: 12px;
	background: #17171d;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.85);
}
.tgp-ros-postmodal__headactions { display: inline-flex; align-items: center; gap: 4px; }
#tgp-ros-root .tgp-ros-postmodal__headactions .tgp-ros-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	margin: 0;
}
.tgp-ros-acctmodal { max-width: 460px; }
.tgp-ros-acctmodal .tgp-ros-form__note { margin-top: 12px; }
#tgp-ros-root .tgp-ros-acctmodal__disconnect:hover { color: #fb7185 !important; }
#tgp-ros-root .tgp-ros-postmodal__regen { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; }
#tgp-ros-root .tgp-ros-tonechip {
	display: inline-flex !important;
	align-items: center;
	padding: 5px 12px !important;
	border-radius: 999px !important;
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.12)) !important;
	background: rgba(255, 255, 255, 0.04) !important;
	color: var(--tgp-text-dim, #a1a1aa) !important;
	font-size: 11.5px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	cursor: pointer;
	width: auto !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
#tgp-ros-root .tgp-ros-tonechip:hover { color: var(--tgp-text, #f4f4f5) !important; border-color: rgba(255, 255, 255, 0.25) !important; }
#tgp-ros-root .tgp-ros-tonechip.is-selected {
	background: var(--tgp-accent, #9333ea) !important;
	border-color: var(--tgp-accent, #9333ea) !important;
	color: #fff !important;
}
#tgp-ros-root .tgp-ros-tonechip:disabled { opacity: 0.5; cursor: default; }

/* Preview beside a calm vertical stack of the two network cards. */
.tgp-ros-postmodal__cols {
	display: grid;
	grid-template-columns: 210px 1fr;
	gap: 16px;
	align-items: start;
}
.tgp-ros-postmodal__stack { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tgp-ros-postcard__head .tgp-ros-postrow__icon { width: 28px; height: 28px; border-radius: 8px; }
.tgp-ros-postcard__fcrow { display: flex; align-items: center; gap: 10px; }
.tgp-ros-postcard__fcrow .tgp-ros-postcard__fclabel { flex-shrink: 0; }
.tgp-ros-postcard__fcrow .tgp-ros-postcard__fc { flex: 1; min-height: 36px; }
.tgp-ros-postmodal__preview {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09));
	background: #000;
	aspect-ratio: 9 / 16;
	align-self: start;
}
.tgp-ros-postmodal__preview video { display: block; width: 100%; height: 100%; object-fit: cover; }

.tgp-ros-postcard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px;
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09));
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.02);
	transition: border-color 0.15s ease, opacity 0.15s ease;
	min-width: 0;
}
.tgp-ros-postcard.is-connected.is-off { opacity: 0.45; }
.tgp-ros-postcard.is-posting { border-color: rgba(147, 51, 234, 0.55); }
.tgp-ros-postcard.is-done { border-color: rgba(52, 211, 153, 0.55); }
.tgp-ros-postcard.is-error { border-color: rgba(244, 63, 94, 0.55); }
.tgp-ros-postcard__head { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; }
/* Status gets its own full-width line under the account row — long
   messages never crush the header or stretch the spinner. */
.tgp-ros-postcard__state {
	flex-basis: 100%;
	order: 10;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 6px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--tgp-text-dim, #a1a1aa);
	text-align: left;
}
.tgp-ros-postcard__state:empty { display: none; }
.tgp-ros-postcard__state .tgp-ros-spinner,
.tgp-ros-postcard__state .tgp-ros-spinner--sm {
	width: 12px !important;
	height: 12px !important;
	flex: 0 0 auto !important;
	margin-top: 1px;
}
.tgp-ros-postcard.is-done .tgp-ros-postcard__state { color: #34d399; }
.tgp-ros-postcard.is-error .tgp-ros-postcard__state { color: #fb7185; }
.tgp-ros-postcard__toggle { display: inline-flex; cursor: pointer; flex: 0 0 auto; }
.tgp-ros-postcard__toggle input { position: absolute; opacity: 0; pointer-events: none; }
.tgp-ros-postcard__togglebox {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 7px;
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.14));
	background: rgba(255, 255, 255, 0.03);
	color: transparent;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tgp-ros-postcard__toggle input:checked + .tgp-ros-postcard__togglebox {
	background: var(--tgp-accent, #9333ea);
	border-color: var(--tgp-accent, #9333ea);
	color: #fff;
}
.tgp-ros-postcard__toggle input:focus-visible + .tgp-ros-postcard__togglebox { outline: 2px solid var(--tgp-accent-soft, #c084fc); outline-offset: 2px; }
.tgp-ros-postcard__caption { min-height: 118px; font-size: 13px; line-height: 1.55; }
.tgp-ros-postcard__caption.is-loading,
.tgp-ros-postcard__fc.is-loading {
	color: transparent;
	background-image: linear-gradient(100deg, rgba(255, 255, 255, 0.03) 40%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.03) 60%);
	background-size: 200% 100%;
	animation: tgp-ros-caption-shimmer 1.4s linear infinite;
	pointer-events: none;
}
@keyframes tgp-ros-caption-shimmer {
	from { background-position: 200% 0; }
	to { background-position: -200% 0; }
}
#tgp-ros-root .tgp-ros-postcard__writing {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	color: #e9d5ff !important;
	opacity: 1 !important;
}
.tgp-ros-aidots { display: inline-flex; gap: 3px; }
.tgp-ros-aidots i {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	animation: tgp-ros-dot 1s ease-in-out infinite;
}
.tgp-ros-aidots i:nth-child(2) { animation-delay: 0.15s; }
.tgp-ros-aidots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tgp-ros-dot {
	0%, 100% { opacity: 0.25; transform: translateY(0); }
	50% { opacity: 1; transform: translateY(-3px); }
}
.tgp-ros-postcard__count { align-self: flex-end; font-size: 10.5px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-postcard__count.is-over { color: #fb7185; font-weight: 700; }
.tgp-ros-postcard__fclabel { font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-postcard__fc { min-height: 44px; font-size: 12px; color: var(--tgp-accent-soft, #c084fc); }

/* Schedule panel + scheduled list */
.tgp-ros-schedpanel {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin-top: 14px;
	padding: 13px 14px;
	border: 1px solid rgba(147, 51, 234, 0.35);
	border-radius: 12px;
	background: rgba(147, 51, 234, 0.06);
}
.tgp-ros-schedpanel .tgp-ros-form__note { margin: 0; }
.tgp-ros-schedpanel__quick { display: flex; gap: 6px; flex-wrap: wrap; }
.tgp-ros-schedpanel__row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tgp-ros-schedpanel__input { flex: 1; min-width: 190px; color-scheme: dark; }
.tgp-ros-schedlist { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.tgp-ros-schedrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 12px;
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09));
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.02);
	font-size: 12px;
	color: var(--tgp-text-dim, #a1a1aa);
}
.tgp-ros-schedrow.is-failed { border-color: rgba(244, 63, 94, 0.4); color: #fb7185; }
#tgp-ros-root .tgp-ros-schedrow__cancel {
	border: 0 !important;
	background: transparent !important;
	color: var(--tgp-text-faint, #71717a) !important;
	font-size: 16px !important;
	line-height: 1 !important;
	cursor: pointer;
	padding: 2px 6px !important;
	border-radius: 6px !important;
	width: auto !important;
}
#tgp-ros-root .tgp-ros-schedrow__cancel:hover { color: #fb7185 !important; background: rgba(244, 63, 94, 0.12) !important; }

.tgp-ros-postmodal__actions { margin-top: 14px; align-items: center; flex-wrap: wrap; }
.tgp-ros-postmodal__actions [data-ros-sched-toggle] { display: inline-flex; align-items: center; gap: 6px; }
.tgp-ros-postmodal__note { flex: 1; text-align: right; font-size: 10.5px; color: var(--tgp-text-faint, #71717a); min-width: 180px; }

@media (max-width: 760px) {
	.tgp-ros-postmodal__cols { grid-template-columns: 1fr; }
	.tgp-ros-postmodal__preview { display: none; }
}

/* Platform + generate — one toolbar row inside the promoting card */
.tgp-ros-studio__toolbar {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding-top: 14px;
	border-top: 1px dashed var(--tgp-border, rgba(255, 255, 255, 0.09));
}
#tgp-ros-root .tgp-ros-studio__platform { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 10px; margin: 0 !important; width: auto; }
#tgp-ros-root .tgp-ros-studio__platform .tgp-ros-studio__controllabel { margin: 0 !important; }
#tgp-ros-root .tgp-ros-studio__platform .tgp-field { width: auto !important; min-width: 170px; margin: 0 !important; }
#tgp-ros-root .tgp-ros-studio__toolbar .tgp-ros-studio__go { margin-left: auto !important; }
@media (max-width: 700px) {
	#tgp-ros-root .tgp-ros-studio__platform { width: 100%; }
	#tgp-ros-root .tgp-ros-studio__platform .tgp-field { flex: 1; }
	#tgp-ros-root .tgp-ros-studio__toolbar .tgp-ros-studio__go { width: 100%; justify-content: center; margin-left: 0 !important; }
}
.tgp-ros-postcard__head .tgp-ros-postrow__info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgp-ros-postcard__head .tgp-ros-postrow__info small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Legacy account rows (connect screen) */
.tgp-ros-postlist { display: flex; flex-direction: column; gap: 10px; }
.tgp-ros-postrow {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09));
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.02);
}
.tgp-ros-postrow__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: 0 0 auto;
	border-radius: 10px;
	color: #fff;
}
.tgp-ros-postrow__icon.is-instagram { background: linear-gradient(135deg, #a855f7, #ec4899, #f97316); }
.tgp-ros-postrow__icon.is-tiktok { background: #111; border: 1px solid rgba(255, 255, 255, 0.16); }
.tgp-ros-postrow__info { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.tgp-ros-postrow__info strong { font-size: 13px; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-postrow__info small { font-size: 11.5px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-iconbtn--post { color: var(--tgp-accent-soft, #c084fc); }

/* Media-card action buttons */
#tgp-ros-root .tgp-ros-sharebtn {
	display: inline-flex !important;
	align-items: center;
	gap: 5px;
	padding: 6px 12px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, var(--tgp-accent, #9333ea), #c026d3) !important;
	color: #fff !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	cursor: pointer;
	width: auto !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	transition: filter 0.15s ease, transform 0.15s ease;
}
#tgp-ros-root .tgp-ros-sharebtn:hover { filter: brightness(1.15); transform: translateY(-1px); }
#tgp-ros-root .tgp-ros-iconbtn--dl:hover { color: var(--tgp-text, #f4f4f5); border-color: rgba(255, 255, 255, 0.3); }
#tgp-ros-root .tgp-ros-iconbtn--del:hover { color: #fb7185; border-color: rgba(244, 63, 94, 0.5); background: rgba(244, 63, 94, 0.1); }

/* Media-card overlay chips + tidy action row */
.tgp-ros-mediacard { position: relative; }
.tgp-ros-mediacard__kindchip {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(8, 8, 12, 0.72);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: var(--tgp-text-dim, #d4d4d8);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.03em;
	pointer-events: none;
	z-index: 2;
	max-width: calc(100% - 16px);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tgp-ros-mediacard__postedchip {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(6, 78, 59, 0.8);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(52, 211, 153, 0.5);
	color: #6ee7b7;
	font-size: 10px;
	font-weight: 700;
	z-index: 2;
	white-space: nowrap;
}
.tgp-ros-mediacard__meta { justify-content: flex-end; }
.tgp-ros-mediacard__actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; width: 100%; }

/* Naked bold glyphs — no circles, no borders; identical for <a>/<button>. */
#tgp-ros-root .tgp-ros-mediacard__actions .tgp-ros-iconbtn {
	width: 32px !important;
	height: 32px !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 8px !important;
	border: 0 !important;
	background: transparent !important;
	color: #d4d4d8 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: color 0.15s ease, transform 0.15s ease !important;
}
#tgp-ros-root .tgp-ros-mediacard__actions .tgp-ros-iconbtn svg { width: 18px; height: 18px; }
#tgp-ros-root .tgp-ros-mediacard__actions .tgp-ros-iconbtn:hover {
	background: transparent !important;
	color: #ffffff !important;
	transform: translateY(-1px) scale(1.12);
}
#tgp-ros-root .tgp-ros-mediacard__actions .tgp-ros-iconbtn--post:hover { color: #d8b4fe !important; }
#tgp-ros-root .tgp-ros-mediacard__actions .tgp-ros-iconbtn--del:hover { color: #fb7185 !important; }

/* Stock item hover CTA */
.tgp-ros-stockitem__use {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	background: rgba(147, 51, 234, 0.55);
	opacity: 0;
	transition: opacity 0.15s ease;
}
.tgp-ros-stockitem:hover .tgp-ros-stockitem__use { opacity: 1; }

/* ── Upgrade / plans ────────────────────────────────────────────────── */

.tgp-ros-notice {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09));
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  margin-bottom: 16px;
}
.tgp-ros-notice.is-success { border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.08); }
.tgp-ros-notice.is-warning { border-color: rgba(217, 119, 6, 0.4); background: rgba(217, 119, 6, 0.08); }

.tgp-ros-upgrade__toggle { margin: 4px 0 16px; }
.tgp-ros-planlist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.tgp-ros-plancard {
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09));
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.tgp-ros-plancard.is-featured { border-color: var(--tgp-accent, #9333ea); }
.tgp-ros-plancard.is-current { background: rgba(147, 51, 234, 0.05); }
.tgp-ros-plancard__name { margin: 0; font-size: 15px; font-weight: 700; }
.tgp-ros-plancard__price { margin: 4px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.tgp-ros-plancard__tag { margin: 2px 0 0; font-size: 12px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-plancard__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: var(--tgp-text-dim, #a1a1aa);
}
.tgp-ros-plancard__perks li { padding-left: 18px; position: relative; }
.tgp-ros-plancard__perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--tgp-accent-soft, #c084fc);
  font-weight: 700;
}
.tgp-ros-plancard__cta { margin-top: auto; padding-top: 6px; }
.tgp-ros-upgrade__manage { display: flex; align-items: center; gap: 12px; margin-top: 18px; }

/* ── Video modal: background picker + text controls ─────────────────── */

.tgp-ros-seg--mini .tgp-ros-seg__opt { padding: 5px 11px !important; font-size: 12px; }
.tgp-ros-seg--wrap { flex-wrap: wrap; }

.tgp-ros-bgpick { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.tgp-ros-bgpick__search { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tgp-ros-bgpick__search .tgp-field { flex: 1; min-width: 160px; }
.tgp-ros-bgpick__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding: 2px;
}
.tgp-ros-stockitem--bg { aspect-ratio: 3 / 4; border-radius: 9px; }
.tgp-ros-stockitem--bg.is-selected {
  outline: 2px solid var(--tgp-accent, #8b5cf6);
  outline-offset: 1px;
}
.tgp-ros-stockitem__novideo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--tgp-text-dim, #a1a1aa);
  background: rgba(255, 255, 255, 0.04) !important;
  padding: 0 !important;
}

.tgp-ros-bgpick__upload {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  padding: 18px 16px;
  border: 1px dashed var(--tgp-border, rgba(255, 255, 255, 0.14));
  border-radius: 12px;
  color: var(--tgp-text-dim, #a1a1aa);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease;
}
.tgp-ros-bgpick__upload:hover { border-color: var(--tgp-accent, #8b5cf6); color: var(--tgp-text, #f4f4f5); }

.tgp-ros-bgpick__chosen {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.08);
  font-size: 12.5px;
  color: var(--tgp-text, #f4f4f5);
}
.tgp-ros-bgpick__chosen img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 7px;
  display: block;
}
.tgp-ros-bgpick__chosen span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tgp-ros-textopts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 14px;
}
.tgp-ros-textopts__col { display: flex; flex-direction: column; gap: 7px; }

/* ── Video modal: modern sectioned layout ───────────────────────────── */

.tgp-ros-videomodal { max-width: 640px; }
.tgp-ros-videomodal .tgp-ros-videoopts { gap: 14px; }
.tgp-ros-videomodal .tgp-ros-videoopts__group {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 15px 17px 17px;
  gap: 11px;
}
.tgp-ros-videomodal .tgp-ros-videoopts__group[hidden] { display: none; }
.tgp-ros-videomodal .tgp-ros-videoopts > .tgp-ros-form__note {
  padding: 0 4px;
}

/* ── Sticker previews: look like the actual rendered badges ─────────── */

.tgp-ros-stickerrow { display: flex; flex-wrap: wrap; gap: 10px 9px; padding-top: 4px; }
#tgp-ros-root .tgp-ros-stickerchip {
  position: relative;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em !important; /* The scoped button reset normalises letter-spacing. */
  white-space: nowrap !important;
  padding: 9px 16px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  opacity: 0.55;
  filter: saturate(0.55);
  transform: rotate(-1.2deg);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
  transition: transform 140ms ease, opacity 140ms ease, filter 140ms ease, box-shadow 140ms ease;
}
#tgp-ros-root .tgp-ros-stickerchip:nth-child(even) { transform: rotate(1.4deg); }
#tgp-ros-root .tgp-ros-stickerchip:hover {
  opacity: 0.9;
  filter: saturate(0.9);
  transform: rotate(0deg) translateY(-2px);
}
#tgp-ros-root .tgp-ros-stickerchip.is-selected {
  opacity: 1;
  filter: none;
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 0 0 2px var(--tgp-surface, #0f0f13), 0 0 0 4px var(--tgp-accent, #8b5cf6), 0 5px 16px rgba(0, 0, 0, 0.45);
}
#tgp-ros-root .tgp-ros-stickerchip.is-selected::before {
  content: '✓ ';
  font-weight: 900;
}
#tgp-ros-root .tgp-ros-stickerchip--outnow { background: #facc15; color: #111015; }
#tgp-ros-root .tgp-ros-stickerchip--single { background: #f43f5e; color: #fff; }
#tgp-ros-root .tgp-ros-stickerchip--presave { background: #8b5cf6; color: #fff; }
#tgp-ros-root .tgp-ros-stickerchip--spotify { background: #1db954; color: #fff; }
#tgp-ros-root .tgp-ros-stickerchip--everywhere { background: #1c1c22; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 3px 12px rgba(0, 0, 0, 0.4); }
#tgp-ros-root .tgp-ros-stickerchip--linkbio { background: #ffffff; color: #111015; }
#tgp-ros-root .tgp-ros-stickerchip--follow { background: #0ea5e9; color: #fff; }
#tgp-ros-root .tgp-ros-stickerchip--custom {
  background: rgba(196, 181, 253, 0.14);
  color: #c4b5fd;
  box-shadow: inset 0 0 0 1px rgba(196, 181, 253, 0.55), 0 3px 12px rgba(0, 0, 0, 0.4);
}
#tgp-ros-root .tgp-ros-stickerchip--custom.is-selected { background: #c4b5fd; color: #111015; }
.tgp-ros-sticker-custominput { margin-top: 8px; max-width: 320px; }

/* ── Visualizer colour sub-block (inside the Motion group) ──────────── */

.tgp-ros-vizcolor {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.tgp-ros-vizcolor[hidden] { display: none; }
#tgp-ros-root .tgp-ros-swatch--grad { border-color: rgba(255, 255, 255, 0.35) !important; }

/* ── Colour swatches ────────────────────────────────────────────────── */

.tgp-ros-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding-top: 2px; }
#tgp-ros-root .tgp-ros-swatch,
#tgp-ros-root input.tgp-ros-swatch--picker {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  max-width: 30px;
  padding: 0 !important;
  margin: 0;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
  box-sizing: border-box;
}
#tgp-ros-root .tgp-ros-swatch:hover { transform: scale(1.14); }
#tgp-ros-root .tgp-ros-swatch.is-selected,
#tgp-ros-root input.tgp-ros-swatch--picker.is-active {
  box-shadow: 0 0 0 2px var(--tgp-surface, #0f0f13), 0 0 0 4px var(--tgp-accent, #8b5cf6);
}
#tgp-ros-root .tgp-ros-swatch--auto {
  background:
    linear-gradient(135deg, transparent 44%, rgba(255, 255, 255, 0.65) 46%, rgba(255, 255, 255, 0.65) 54%, transparent 56%),
    rgba(255, 255, 255, 0.06) !important;
}
#tgp-ros-root input.tgp-ros-swatch--picker {
  -webkit-appearance: none !important;
  -moz-appearance: none;
  appearance: none !important;
  background: conic-gradient(#f43f5e, #facc15, #34d399, #22d3ee, #8b5cf6, #f43f5e) !important;
  overflow: hidden;
}
#tgp-ros-root input.tgp-ros-swatch--picker::-webkit-color-swatch-wrapper { padding: 0; opacity: 0; }
#tgp-ros-root input.tgp-ros-swatch--picker::-webkit-color-swatch { border: none; opacity: 0; }
#tgp-ros-root input.tgp-ros-swatch--picker::-moz-color-swatch { border: none; opacity: 0; }

/* ── Font picker: live typeface previews ────────────────────────────── */

.tgp-ros-textopts__col--full { flex: 1 0 100%; }
.tgp-ros-fontgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 9px;
  padding-top: 2px;
}
#tgp-ros-root .tgp-ros-fontcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 13px 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09));
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease, transform 120ms ease;
}
#tgp-ros-root .tgp-ros-fontcard:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.22); }
#tgp-ros-root .tgp-ros-fontcard.is-selected {
  border-color: var(--tgp-accent, #8b5cf6);
  background: rgba(139, 92, 246, 0.12);
  box-shadow: 0 0 0 1px var(--tgp-accent, #8b5cf6);
}
.tgp-ros-fontcard strong {
  font-size: 17px;
  font-weight: 400; /* The typeface itself carries the weight. */
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
}
.tgp-ros-fontcard small { font-size: 10.5px; color: var(--tgp-text-faint, #71717a); }

@media (max-width: 720px) {
  .tgp-ros-studio.tgp-card { padding: 18px 16px 22px; }
  .tgp-ros-brief { padding: 14px 14px 16px; }
  .tgp-ros-studio__controls { flex-direction: column; align-items: stretch; }
  .tgp-ros-studio__control .tgp-field { max-width: none; width: 100%; }
  .tgp-ros-studio__controls .tgp-ros-btn { width: 100%; justify-content: center; }
  .tgp-ros-studio__picker { padding: 14px 14px 16px; }
  #tgp-ros-root .tgp-ros-relpick__item { width: 100%; justify-content: flex-start; }
  .tgp-ros-relpick__name { max-width: none; }
  .tgp-ros-creators { grid-template-columns: 1fr; }
  .tgp-ros-ideas { grid-template-columns: 1fr; }
  .tgp-ros-medialib__grid { grid-template-columns: repeat(2, 1fr); }
  .tgp-ros-planlist { grid-template-columns: 1fr; }
  .tgp-ros-toasts { bottom: 16px; right: 16px; left: 16px; }
  .tgp-ros-stylegrid--lyrics { grid-template-columns: 1fr; }
  .tgp-ros-wave__hint { display: none; }
  .tgp-ros-bgpick__grid { grid-template-columns: repeat(3, 1fr); }
  .tgp-ros-textopts { flex-direction: column; gap: 12px; }
  .tgp-ros-videomodal .tgp-ros-videoopts__group { padding: 13px 13px 15px; border-radius: 12px; }
  .tgp-ros-fontgrid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Thank-you prompt (outside .tgp-ros) ────────────────────────────── */

.tgp-ros-ty-prompt { font-family: var(--tgp-font, 'Inter', sans-serif); }

/* ── Mobile: Post to socials + Content Studio ───────────────────────── */
@media (max-width: 640px) {
	.tgp-ros-postmodal { max-height: 93vh; }
	#tgp-ros-root .tgp-ros-postmodal__chips { flex-wrap: wrap; }
	#tgp-ros-root .tgp-ros-postmodal__chips .tgp-ros-studio__controllabel { width: 100%; padding-top: 0; }
	#tgp-ros-root .tgp-ros-postmodal__regen { margin-left: auto; }
	.tgp-ros-postmodal__cols { grid-template-columns: 1fr; }
	.tgp-ros-postmodal__preview { display: none; }
	.tgp-ros-postcard__caption { min-height: 96px; }
	.tgp-ros-postmodal__actions { flex-direction: column; align-items: stretch; }
	/* flex:1 comes from the generic form-actions ROW rule — in this stacked
	   column it turns flex-basis 0 and collapses the buttons to text height. */
	.tgp-ros-postmodal__actions .tgp-ros-btn { width: 100%; justify-content: center; flex: none !important; min-width: 0; }
	.tgp-ros-schedpanel__row { flex-direction: column; align-items: stretch; }
	.tgp-ros-schedpanel__row .tgp-ros-btn { flex: none !important; }
	.tgp-ros-schedpanel__input { min-width: 0; width: 100%; }
	.tgp-ros-morepop { position: fixed; left: 12px; right: 12px; top: auto; width: auto; max-width: none; }
	.tgp-ros-postmodal__headactions [data-ros-accounts-open] span { display: none; }
	.tgp-ros-mediacard__kindchip { font-size: 9px; padding: 2px 7px; }
	.tgp-ros-mediacard__postedchip { font-size: 9px; padding: 2px 7px; }
	.tgp-ros-postrow { flex-wrap: wrap; }
	.tgp-ros-postrow .tgp-ros-btn { width: 100%; justify-content: center; }
}

/* ── Growth page: chart readability + breathing room ────────────────── */
.tgp-ros-chart__plot { position: relative; }
.tgp-ros-chart__ymax,
.tgp-ros-chart__ymin {
	position: absolute;
	left: 10px;
	font-size: 10.5px;
	font-weight: 700;
	color: var(--tgp-text-faint, #9b9ba3);
	background: rgba(10, 10, 12, 0.72);
	padding: 2px 7px;
	border-radius: 999px;
	pointer-events: none;
	z-index: 2;
}
.tgp-ros-chart__ymax { top: 8px; }
.tgp-ros-chart__ymin { bottom: 8px; }
.tgp-ros-chart__dot {
	position: absolute;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #c084fc;
	border: 2px solid #17171d;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 2;
}
.tgp-ros-chart__labels { margin-bottom: 10px; }

#tgp-ros-root .tgp-ros-growth { display: flex; flex-direction: column; gap: 20px; }
#tgp-ros-root .tgp-ros-growth .tgp-card.tgp-ros-panel { padding: 24px 26px 26px !important; }
#tgp-ros-root .tgp-ros-growth .tgp-card__head { margin-bottom: 16px; }
#tgp-ros-root .tgp-ros-growth .tgp-ros-metric-grid { gap: 14px; }
#tgp-ros-root .tgp-ros-growth .tgp-ros-metric { padding: 16px 18px; }
#tgp-ros-root .tgp-ros-growth .tgp-ros-chart { margin-top: 6px; }
#tgp-ros-root .tgp-ros-growth .tgp-ros-form__note { margin-top: 12px; }
#tgp-ros-root .tgp-ros-growth .tgp-ros-perf .tgp-ros-result { padding: 13px 4px; }
#tgp-ros-root .tgp-ros-growth .tgp-ros-catalog { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--tgp-border, rgba(255, 255, 255, 0.09)); }
#tgp-ros-root .tgp-ros-growth .tgp-ros-catalog__head { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tgp-text-faint, #8b8b93); }
#tgp-ros-root .tgp-ros-growth .tgp-ros-result img { border-radius: 8px; margin-right: 4px; }

/* ── Personalised plan, IG audit, playlists, milestones, artwork text ── */
.tgp-ros-growth__headbtns { display: inline-flex; gap: 8px; align-items: center; }
.tgp-ros-plan__focus { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: #e9d5ff; }
.tgp-ros-plan__weeks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.tgp-ros-plan__week {
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09));
	border-radius: 12px;
	padding: 14px 16px;
	background: rgba(255, 255, 255, 0.02);
}
.tgp-ros-plan__week strong { display: block; font-size: 13px; color: var(--tgp-text, #f4f4f5); margin-bottom: 8px; }
.tgp-ros-plan__week ul { margin: 0; padding-left: 17px; }
.tgp-ros-plan__week li { font-size: 12.5px; line-height: 1.55; color: var(--tgp-text-dim, #a1a1aa); margin-bottom: 5px; }
.tgp-ros-plan__habits { margin: 14px 0 0; font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); }

.tgp-ros-igaudit__score { display: flex; align-items: baseline; gap: 3px; margin-bottom: 8px; }
.tgp-ros-igaudit__score strong { font-size: 34px; color: #c084fc; }
.tgp-ros-igaudit__score span { font-size: 14px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-igaudit__summary { margin: 0 0 6px; font-size: 14px; line-height: 1.6; color: var(--tgp-text, #e4e4e7); }
.tgp-ros-igaudit__label { margin: 18px 0 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--tgp-text-faint, #8b8b93); }
.tgp-ros-igaudit__list { margin: 0; padding-left: 17px; }
.tgp-ros-igaudit__list li { font-size: 13px; line-height: 1.6; color: var(--tgp-text-dim, #a1a1aa); margin-bottom: 4px; }
.tgp-ros-igaudit__fix {
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09));
	border-radius: 12px;
	padding: 12px 15px;
	margin-bottom: 9px;
	background: rgba(255, 255, 255, 0.02);
}
.tgp-ros-igaudit__fix strong { font-size: 13.5px; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-igaudit__fix p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-igaudit__action { color: #c084fc !important; font-weight: 600; }

.tgp-ros-plrow__followers { font-size: 13px; font-weight: 700; color: var(--tgp-text, #e4e4e7); white-space: nowrap; }
.tgp-ros-plrow__followers small { font-weight: 500; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-activity { margin: 0; padding: 0; list-style: none; }
.tgp-ros-activity li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 13px; }
.tgp-ros-activity__date { flex: 0 0 46px; color: var(--tgp-text-faint, #71717a); font-size: 12px; padding-top: 1px; }
.tgp-ros-activity__text { color: var(--tgp-text-dim, #c6c6cd); line-height: 1.5; }
.tgp-ros-activity__text small { color: var(--tgp-text-faint, #71717a); }

.tgp-ros-artup__texttoggle { margin-top: 10px; }
.tgp-ros-artup__textfields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
@media (max-width: 640px) {
	.tgp-ros-artup__textfields { grid-template-columns: 1fr; }
	.tgp-ros-plan__weeks { grid-template-columns: 1fr; }
}

/* ── Meta Ads panel ── */
.tgp-ros-adspromote { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.tgp-ros-adspromote__form { display: grid; grid-template-columns: 1fr 90px 130px auto; gap: 8px; align-items: center; }
.tgp-ros-adstable { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 6px; }
.tgp-ros-adstable th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--tgp-text-faint, #8b8b93); padding: 6px 8px 6px 0; }
.tgp-ros-adstable td { padding: 7px 8px 7px 0; border-top: 1px solid rgba(255,255,255,.06); color: var(--tgp-text-dim, #c6c6cd); }
@media (max-width: 700px) { .tgp-ros-adspromote__form { grid-template-columns: 1fr 1fr; } }

/* ── Ads page ── */
.tgp-ros-adspage { display: flex; flex-direction: column; gap: 18px; }
.tgp-ros-adnotice { padding: 11px 15px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.tgp-ros-adnotice--ok { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .35); color: #6ee7b7; }
.tgp-ros-adnotice--err { background: rgba(248, 113, 113, .08); border: 1px solid rgba(248, 113, 113, .3); color: #fca5a5; }

.tgp-ros-adhero__title { margin: 0 0 6px; font-size: 19px; }
.tgp-ros-adhero__points { margin: 12px 0 16px; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--tgp-text-dim, #c6c6cd); }
.tgp-ros-adconnect__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tgp-ros-adconnect__who { display: flex; align-items: center; gap: 10px; font-size: 14px; }

/* Builder steps */
.tgp-ros-adbuilder { display: flex; flex-direction: column; gap: 4px; }
.tgp-ros-adstep { padding: 14px 0; border-top: 1px dashed rgba(255, 255, 255, .08); }
.tgp-ros-adstep:first-of-type { border-top: 0; }
.tgp-ros-adstep__label { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; font-size: 13.5px; font-weight: 700; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-adstep__num { display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 21px; border-radius: 50%; background: linear-gradient(135deg, #a855f7, #f0abfc); color: #18181b; font-size: 11.5px; font-weight: 800; flex: 0 0 auto; }
.tgp-ros-adstep__row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.tgp-ros-adstep__row > .tgp-field { flex: 1 1 220px; }
.tgp-ros-adstep__row--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; }
.tgp-ros-adstep textarea.tgp-field { width: 100%; margin-bottom: 8px; }
.tgp-ros-adfield { display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--tgp-text-faint, #8b8b93); }
.tgp-ros-adfield__pair { display: flex; gap: 6px; }

/* Creative picker */
.tgp-ros-adcreatives { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; margin-bottom: 12px; }
#tgp-ros-root .tgp-ros-adcreative {
	display: flex !important; flex-direction: column !important; gap: 6px !important;
	padding: 6px !important; border-radius: 12px !important;
	background: rgba(255, 255, 255, .03) !important;
	border: 2px solid rgba(255, 255, 255, .08) !important;
	cursor: pointer; text-align: left; transition: border-color .15s ease, transform .15s ease;
}
#tgp-ros-root .tgp-ros-adcreative:hover { transform: translateY(-2px); border-color: rgba(168, 85, 247, .45) !important; }
#tgp-ros-root .tgp-ros-adcreative.is-selected { border-color: #a855f7 !important; box-shadow: 0 0 0 3px rgba(168, 85, 247, .22) !important; }
.tgp-ros-adcreative__thumb { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 8px; background: rgba(255, 255, 255, .06) center / cover no-repeat; overflow: hidden; }
.tgp-ros-adcreative__thumb--video video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.tgp-ros-adcreative__badge { position: absolute; right: 6px; bottom: 6px; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; font-size: 10px; }
.tgp-ros-adcreative__name { font-size: 11px; line-height: 1.35; color: var(--tgp-text-dim, #c6c6cd); font-weight: 600; padding: 0 2px 2px; }

/* Own-video upload tile + Meta spec sheet */
#tgp-ros-root .tgp-ros-adcreative--upload { border-style: dashed !important; }
#tgp-ros-root .tgp-ros-adcreative--upload.is-busy { opacity: .6; pointer-events: none; }
.tgp-ros-adcreative__thumb--upload { display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--tgp-text-dim, #a1a1aa); background: rgba(168, 85, 247, .07); }
#tgp-ros-root .tgp-ros-adreqs {
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  padding: 14px 18px 12px;
}
#tgp-ros-root .tgp-ros-adreqs__title { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-adreqs ul { margin: 0; padding-left: 18px; }
#tgp-ros-root .tgp-ros-adreqs li { font-size: 12.5px; line-height: 1.65; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-adreqs li strong { color: var(--tgp-text, #f4f4f5); font-weight: 600; }
#tgp-ros-root .tgp-ros-adreqs__warns { margin: 10px 0 2px; font-size: 12.5px; line-height: 1.6; color: #fbbf24; }

.tgp-ros-advidgen { border: 1px dashed rgba(168, 85, 247, .3); border-radius: 12px; padding: 12px 14px; background: rgba(168, 85, 247, .04); }
.tgp-ros-advidgen__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tgp-ros-advidgen__title { font-size: 12.5px; font-weight: 600; color: var(--tgp-text-dim, #c6c6cd); }
.tgp-field--inline { width: auto; }

/* AI copy variants */
.tgp-ros-adcopyvariants { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 10px; }
#tgp-ros-root .tgp-ros-adcopyvariant {
	display: flex !important; flex-direction: column !important; gap: 6px !important;
	padding: 12px 13px !important; border-radius: 12px !important; text-align: left !important;
	background: rgba(255, 255, 255, .03) !important;
	border: 2px solid rgba(255, 255, 255, .08) !important;
	cursor: pointer; transition: border-color .15s ease;
}
#tgp-ros-root .tgp-ros-adcopyvariant:hover { border-color: rgba(168, 85, 247, .45) !important; }
#tgp-ros-root .tgp-ros-adcopyvariant.is-selected { border-color: #a855f7 !important; }
.tgp-ros-adcopyvariant__angle { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #c084fc; }
.tgp-ros-adcopyvariant__primary { font-size: 12.5px; line-height: 1.5; color: var(--tgp-text, #e4e4e7); white-space: pre-line; }
.tgp-ros-adcopyvariant__meta { font-size: 11.5px; color: var(--tgp-text-faint, #8b8b93); }

.tgp-ros-adbuilder__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, .08); }
.tgp-ros-adbuilder__foot .tgp-ros-form__note { margin: 0; flex: 1 1 240px; }

/* Report */
.tgp-ros-adreportcard__headactions { display: flex; align-items: center; gap: 8px; }
.tgp-ros-adkpis { margin-bottom: 14px; }
.tgp-ros-adtablewrap { overflow-x: auto; }
.tgp-ros-adstable__name small { display: block; color: var(--tgp-text-faint, #8b8b93); font-size: 10.5px; text-transform: capitalize; }
.tgp-ros-adstable__actions { white-space: nowrap; text-align: right; }
#tgp-ros-root .tgp-ros-adact {
	display: inline-flex !important; align-items: center; justify-content: center;
	width: 28px !important; height: 28px !important; margin-left: 4px !important; padding: 0 !important;
	border-radius: 8px !important; border: 1px solid rgba(255, 255, 255, .1) !important;
	background: rgba(255, 255, 255, .04) !important; color: var(--tgp-text-dim, #c6c6cd) !important;
	font-size: 12px !important; line-height: 1 !important; cursor: pointer;
}
#tgp-ros-root .tgp-ros-adact:hover { border-color: rgba(168, 85, 247, .5) !important; color: #e9d5ff !important; }
#tgp-ros-root .tgp-ros-adact--del:hover { border-color: rgba(248, 113, 113, .5) !important; color: #fca5a5 !important; }
.tgp-ros-adstatus { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: capitalize; }
.tgp-ros-adstatus.is-live { background: rgba(52, 211, 153, .12); color: #6ee7b7; }
.tgp-ros-adstatus.is-paused { background: rgba(251, 191, 36, .1); color: #fcd34d; }
.tgp-ros-adstatus.is-other { background: rgba(255, 255, 255, .06); color: var(--tgp-text-faint, #8b8b93); }

.tgp-ros-adchart { margin-top: 14px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 13px 15px; }
.tgp-ros-adchart__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 13px; }
.tgp-ros-adbars { display: flex; align-items: flex-end; gap: 3px; height: 70px; overflow-x: auto; padding-bottom: 2px; }
.tgp-ros-adbar { flex: 1 0 8px; max-width: 26px; display: flex; align-items: flex-end; height: 100%; }
.tgp-ros-adbar__fill { display: block; width: 100%; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #a855f7, rgba(168, 85, 247, .35)); }
.tgp-ros-adoptimize { margin-top: 14px; }

@media (max-width: 640px) {
	.tgp-ros-adstep__row--grid { grid-template-columns: 1fr 1fr; }
	.tgp-ros-adcreatives { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
	.tgp-ros-adconnect__bar { flex-direction: column; align-items: flex-start; }
}

/* Ads page spacing: the base .tgp-card has no body padding — give every ads
   card generous breathing room (theme resets require the pinned selector). */
#tgp-ros-root .tgp-ros-adspage .tgp-card { padding: 26px 28px 28px !important; }
.tgp-ros-adspage { gap: 22px; }
.tgp-ros-adspage .tgp-card__head { padding: 0; margin: 0 0 18px; }
.tgp-ros-adnotice { padding: 13px 18px; }
.tgp-ros-adhero__text { max-width: 760px; }
.tgp-ros-adhero__title { margin: 0 0 10px; }
.tgp-ros-adhero__points { margin: 16px 0 22px; gap: 8px; }
.tgp-ros-adstep { padding: 20px 0; }
.tgp-ros-adstep:first-of-type { padding-top: 4px; }
.tgp-ros-adstep__label { margin: 0 0 14px; }
.tgp-ros-adstep__row { margin-bottom: 10px; }
.tgp-ros-adcreatives { margin-bottom: 14px; }
.tgp-ros-advidgen { padding: 14px 16px 15px; }
.tgp-ros-adcopyvariants { margin: 2px 0 12px; }
.tgp-ros-adbuilder__foot { padding-top: 18px; }
.tgp-ros-adkpis { margin: 2px 0 18px; }
.tgp-ros-adoptimize { margin-top: 18px; }
.tgp-ros-adchart { margin-top: 16px; padding: 15px 17px; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-adspage .tgp-card { padding: 18px 16px 20px !important; }
}

/* ── Ads hero v2: premium not-connected state ── */
.tgp-ros-adhero2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: center; padding: 10px 4px 6px; }
.tgp-ros-adhero2__eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; background: rgba(168, 85, 247, .1); border: 1px solid rgba(168, 85, 247, .3); color: #d8b4fe; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.tgp-ros-adhero2__title { margin: 16px 0 12px; font-size: 30px; line-height: 1.18; font-weight: 800; color: var(--tgp-text, #f4f4f5); letter-spacing: -.01em; }
.tgp-ros-adhero2__grad { display: block; background: linear-gradient(92deg, #a855f7, #f0abfc 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.tgp-ros-adhero2__sub { margin: 0 0 22px; max-width: 480px; font-size: 14.5px; line-height: 1.65; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-adhero2__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
#tgp-ros-root .tgp-ros-adhero2__btn { padding: 13px 26px !important; font-size: 14.5px !important; box-shadow: 0 8px 28px rgba(168, 85, 247, .35) !important; }
.tgp-ros-adhero2__ctanote { font-size: 12px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-adhero2__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.tgp-ros-adbadge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); font-size: 11.5px; font-weight: 600; color: var(--tgp-text-dim, #c6c6cd); }
.tgp-ros-adbadge svg { color: #6ee7b7; flex: 0 0 auto; }

/* The fake Instagram ad card */
.tgp-ros-adhero2__visual { position: relative; display: flex; justify-content: center; padding: 18px 8px; }
.tgp-ros-admock { width: 250px; border-radius: 18px; background: #101014; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(168, 85, 247, .06); overflow: hidden; transform: rotate(2deg); }
.tgp-ros-admock__head { display: flex; align-items: center; gap: 9px; padding: 11px 13px; }
.tgp-ros-admock__avatar { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(from 200deg, #a855f7, #f0abfc, #6366f1, #a855f7); flex: 0 0 auto; }
.tgp-ros-admock__lines { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.tgp-ros-admock__lines b { font-size: 11.5px; color: #e4e4e7; font-weight: 700; }
.tgp-ros-admock__lines i { font-size: 10px; font-style: normal; color: #71717a; }
.tgp-ros-admock__ig { color: #a1a1aa; }
.tgp-ros-admock__art { position: relative; aspect-ratio: 1 / 1; background: #18181b center / cover no-repeat; }
.tgp-ros-admock__art--grad { background: linear-gradient(135deg, #312e81, #7c3aed 55%, #db2777); }
.tgp-ros-admock__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(10, 10, 12, .55); border: 1px solid rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(4px); }
.tgp-ros-admock__eq { position: absolute; left: 12px; bottom: 10px; display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.tgp-ros-admock__eq i { width: 3.5px; border-radius: 2px; background: rgba(255, 255, 255, .85); animation: tgpRosEq 1.1s ease-in-out infinite; }
.tgp-ros-admock__eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.tgp-ros-admock__eq i:nth-child(2) { height: 85%; animation-delay: .15s; }
.tgp-ros-admock__eq i:nth-child(3) { height: 55%; animation-delay: .3s; }
.tgp-ros-admock__eq i:nth-child(4) { height: 95%; animation-delay: .45s; }
.tgp-ros-admock__eq i:nth-child(5) { height: 60%; animation-delay: .6s; }
@keyframes tgpRosEq { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.tgp-ros-admock__ctabar { display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; background: rgba(168, 85, 247, .12); border-top: 1px solid rgba(168, 85, 247, .25); color: #d8b4fe; font-size: 12px; font-weight: 700; }
.tgp-ros-admock__caption { display: flex; flex-direction: column; gap: 6px; padding: 11px 13px 14px; }
.tgp-ros-admock__caption i { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .09); }

/* Floating stat chips */
.tgp-ros-adfloat { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: rgba(20, 20, 26, .92); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); font-size: 11px; color: var(--tgp-text-dim, #c6c6cd); animation: tgpRosFloat 5s ease-in-out infinite; }
.tgp-ros-adfloat b { color: #6ee7b7; font-size: 12px; }
.tgp-ros-adfloat svg { color: #6ee7b7; }
.tgp-ros-adfloat--ctr { top: 8%; right: 4%; }
.tgp-ros-adfloat--reach { bottom: 14%; left: 0; animation-delay: 1.4s; }
.tgp-ros-adfloat--reach b { color: #d8b4fe; }
.tgp-ros-adfloat--bars { top: 30%; left: 4%; gap: 3px; align-items: flex-end; padding: 9px 11px; animation-delay: 2.6s; }
.tgp-ros-adfloat--bars i { display: block; width: 4.5px; border-radius: 2px; background: linear-gradient(180deg, #f0abfc, #a855f7); }
@keyframes tgpRosFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* How it works */
.tgp-ros-adhow { margin-top: 30px; padding-top: 24px; border-top: 1px dashed rgba(255, 255, 255, .09); }
.tgp-ros-adhow__title { margin: 0 0 16px; font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--tgp-text-faint, #8b8b93); }
.tgp-ros-adhow__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tgp-ros-adhowstep { position: relative; padding: 16px 16px 17px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .07); transition: border-color .2s ease, transform .2s ease; }
.tgp-ros-adhowstep:hover { transform: translateY(-3px); border-color: rgba(168, 85, 247, .35); }
.tgp-ros-adhowstep__icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(168, 85, 247, .12); border: 1px solid rgba(168, 85, 247, .28); color: #d8b4fe; margin-bottom: 11px; }
.tgp-ros-adhowstep b { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tgp-text, #f4f4f5); margin-bottom: 6px; }
.tgp-ros-adhowstep__num { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 10px; font-weight: 800; color: var(--tgp-text-faint, #8b8b93); flex: 0 0 auto; }
.tgp-ros-adhowstep p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--tgp-text-dim, #a1a1aa); }

@media (max-width: 900px) {
	.tgp-ros-adhero2 { grid-template-columns: 1fr; gap: 26px; }
	.tgp-ros-adhero2__title { font-size: 25px; }
	.tgp-ros-adhow__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.tgp-ros-adhow__grid { grid-template-columns: 1fr; }
	.tgp-ros-adfloat--bars { display: none; }
}

/* ── Premium page heads (all planner views) ── */
.tgp-ros-pagehead { position: relative; padding: 26px 4px 22px; }
/* No per-header glow — the shared root washes carry the light, exactly
   like the overview page. */
.tgp-ros-pagehead::before { content: none; }
.tgp-ros-pagehead__eyebrow { position: relative; display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: rgba(168, 85, 247, .09); border: 1px solid rgba(168, 85, 247, .26); color: #d8b4fe; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.tgp-ros-pagehead__title { position: relative; margin: 13px 0 7px; font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-pagehead__grad { background: linear-gradient(92deg, #a855f7, #f0abfc 80%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.tgp-ros-pagehead__sub { position: relative; margin: 0; max-width: 560px; font-size: 13.5px; line-height: 1.6; color: var(--tgp-text-dim, #a1a1aa); }
@media (max-width: 640px) { .tgp-ros-pagehead { padding: 20px 2px 16px; } .tgp-ros-pagehead__title { font-size: 22px; } }

/* ── Premium empty states (all planner views) ── */
#tgp-ros-root .tgp-empty { padding: 46px 24px 48px; text-align: center; }
#tgp-ros-root .tgp-empty__icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 17px; background: rgba(168, 85, 247, .1); border: 1px solid rgba(168, 85, 247, .3); color: #d8b4fe; box-shadow: 0 10px 30px rgba(168, 85, 247, .12); }
#tgp-ros-root .tgp-empty__title { margin: 0; font-size: 16.5px; font-weight: 800; color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-empty__sub { margin: 7px auto 0; max-width: 420px; font-size: 13px; line-height: 1.65; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-empty__cta { margin: 18px 0 0; }

/* ── Dashboard polish ── */
.tgp-ros-hero { position: relative; overflow: hidden; }
.tgp-ros-hero::after { content: ''; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .16), transparent 70%); pointer-events: none; }
.tgp-ros-hero__kicker { background: linear-gradient(92deg, #a855f7, #f0abfc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.tgp-ros-hero__days { background: linear-gradient(135deg, #e9d5ff, #a855f7); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.tgp-ros-stat { position: relative; overflow: hidden; }
.tgp-ros-stat::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: linear-gradient(90deg, rgba(168, 85, 247, .8), transparent 65%); }

/* ── GLOBAL planner spacing (user feedback: content must never hug borders).
   Every card on every view gets real padding; modals & stat tiles keep their
   own tuned values. Pinned + !important per the theme-reset gotcha. ── */
#tgp-ros-root .tgp-card:not(.tgp-ros-stat):not(.tgp-ros-modal__panel) { padding: 24px 26px 26px !important; }
#tgp-ros-root .tgp-ros-stat { padding: 20px 24px !important; }
#tgp-ros-root .tgp-card__head { padding: 0 !important; margin: 0 0 16px !important; }
#tgp-ros-root .tgp-ros-panel { padding-bottom: 24px !important; }
.tgp-ros-relgrid { gap: 18px; }
#tgp-ros-root .tgp-ros-relcard__body { padding: 15px 17px 17px; gap: 5px; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-card:not(.tgp-ros-stat):not(.tgp-ros-modal__panel) { padding: 18px 16px 20px !important; }
}

/* ── Ads builder v2: chips, preview, budget, hints ── */
.tgp-ros-adstep__hint { margin: -6px 0 14px; font-size: 12.5px; line-height: 1.6; color: var(--tgp-text-faint, #8b8b93); max-width: 640px; }
.tgp-ros-adchips { display: flex; flex-wrap: wrap; gap: 8px; }
#tgp-ros-root .tgp-ros-adchip {
	display: inline-flex !important; align-items: center; gap: 5px;
	padding: 8px 15px !important; border-radius: 999px !important;
	background: rgba(255, 255, 255, .04) !important;
	border: 1.5px solid rgba(255, 255, 255, .1) !important;
	color: var(--tgp-text-dim, #c6c6cd) !important;
	font-size: 12.5px !important; font-weight: 600 !important; line-height: 1 !important;
	cursor: pointer; transition: border-color .15s ease, color .15s ease, background .15s ease;
}
#tgp-ros-root .tgp-ros-adchip:hover { border-color: rgba(168, 85, 247, .5) !important; color: #e9d5ff !important; }
#tgp-ros-root .tgp-ros-adchip.is-selected { background: rgba(168, 85, 247, .16) !important; border-color: #a855f7 !important; color: #e9d5ff !important; }
.tgp-ros-adfield--block { display: flex; flex-direction: column; gap: 9px; margin-bottom: 16px; }
.tgp-ros-adfield--block > .tgp-field { max-width: 420px; margin-top: 2px; }

/* Creative columns + live preview */
.tgp-ros-adcreative-cols { display: grid; grid-template-columns: 1fr 200px; gap: 18px; align-items: start; margin-bottom: 14px; }
.tgp-ros-adpreview { border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; padding: 12px 13px 13px; background: rgba(255, 255, 255, .02); }
.tgp-ros-adpreview__label { margin: 0 0 9px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tgp-text-faint, #8b8b93); }
.tgp-ros-adpreview__stage { border-radius: 10px; overflow: hidden; background: #101014; min-height: 120px; display: flex; align-items: center; justify-content: center; }
.tgp-ros-adpreview__stage video, .tgp-ros-adpreview__stage img { display: block; width: 100%; max-height: 300px; object-fit: contain; }
.tgp-ros-adpreview .tgp-ros-form__note { margin: 9px 0 0; }

/* Budget row with currency */
.tgp-ros-adbudget { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tgp-ros-adbudget__custom { display: inline-flex; align-items: center; gap: 7px; }
.tgp-ros-adbudget__custom .tgp-field { width: 90px; }
.tgp-ros-adbudget__cur { font-size: 15px; font-weight: 800; color: #d8b4fe; }
.tgp-ros-adbudget__per { font-size: 12px; color: var(--tgp-text-faint, #8b8b93); }

/* Variant letter badges + all-variants toggle */
.tgp-ros-adcopyvariant__letter { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; margin-right: 7px; border-radius: 50%; background: linear-gradient(135deg, #a855f7, #f0abfc); color: #18181b; font-size: 10px; font-weight: 800; }
.tgp-ros-adallvars { margin: 2px 0 14px; }
.tgp-ros-adallvars .tgp-ros-lyrictoggle__text strong { color: var(--tgp-text, #f4f4f5); }

@media (max-width: 760px) {
	.tgp-ros-adcreative-cols { grid-template-columns: 1fr; }
	.tgp-ros-adpreview { max-width: 260px; }
}
/* Notes inside labeled ad fields must not inherit the label's uppercase. */
.tgp-ros-adfield .tgp-ros-form__note { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 12px; margin: 4px 0 0; }

/* Video template chips + ad counter */
.tgp-ros-advidgen__title { display: block; margin: 0 0 10px; font-size: 12.5px; font-weight: 700; color: var(--tgp-text, #e4e4e7); }
.tgp-ros-advidgen__tpls { margin-bottom: 10px; }
.tgp-ros-advidgen .tgp-ros-form__note { margin: 0 0 12px; }
.tgp-ros-advidgen__row { margin-bottom: 10px; }
.tgp-ros-adcount { font-size: 12px; font-weight: 700; color: #d8b4fe; white-space: nowrap; padding: 7px 13px; border-radius: 999px; background: rgba(168, 85, 247, .1); border: 1px solid rgba(168, 85, 247, .28); }

/* ── Ads step-4 layout fixes: identical labels whether <label> or <div>,
   top-aligned grid, notes never inherit the label uppercase. ── */
#tgp-ros-root .tgp-ros-adfield { font-size: 11.5px !important; }
#tgp-ros-root .tgp-ros-adfield > span:first-child {
	display: block; font-size: 11.5px !important; font-weight: 600 !important;
	text-transform: uppercase !important; letter-spacing: .04em !important;
	color: var(--tgp-text-faint, #8b8b93) !important; line-height: 1.3 !important; margin: 0 !important;
}
.tgp-ros-adstep__row--grid { align-items: start; }
#tgp-ros-root .tgp-ros-adfield .tgp-ros-form__note,
#tgp-ros-root .tgp-ros-adfield .tgp-ros-adestimate { text-transform: none !important; letter-spacing: 0 !important; }
#tgp-ros-root .tgp-ros-adfield .tgp-ros-form__note { font-weight: 500; font-size: 12px; margin: 6px 0 0; }
label.tgp-ros-adfield { margin: 0; }

/* Reach estimate line */
.tgp-ros-adestimate { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0 4px; padding: 11px 14px; border-radius: 11px; background: rgba(110, 231, 183, .06); border: 1px solid rgba(110, 231, 183, .22); font-size: 12.5px; line-height: 1.55; color: #a7f3d0; font-weight: 500; }
.tgp-ros-adestimate__icon { color: #6ee7b7; flex: 0 0 auto; margin-top: 1px; }

/* Track-part picker */
.tgp-ros-adpart { margin: 4px 0 12px; padding: 13px 15px 14px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .08); }
.tgp-ros-adpart__label { display: block; margin-bottom: 10px; font-size: 12.5px; font-weight: 600; color: var(--tgp-text-dim, #c6c6cd); }
.tgp-ros-adpart__wave { position: relative; display: flex; align-items: flex-end; gap: 2px; height: 52px; cursor: pointer; border-radius: 8px; overflow: hidden; }
.tgp-ros-adpart__wave i { flex: 1 1 0; min-width: 2px; border-radius: 2px 2px 0 0; background: rgba(255, 255, 255, .18); }
.tgp-ros-adpart__win { position: absolute; top: 0; bottom: 0; border-radius: 8px; background: rgba(168, 85, 247, .22); border: 1.5px solid #a855f7; box-shadow: 0 0 14px rgba(168, 85, 247, .35); pointer-events: none; }
.tgp-ros-adpart__row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.tgp-ros-adpart__time { font-size: 12px; font-weight: 700; color: #d8b4fe; font-variant-numeric: tabular-nums; }

/* Stock clip grid */
.tgp-ros-adstock { margin: 4px 0 12px; padding: 13px 15px 14px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .08); }
.tgp-ros-adstockgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 10px; }
#tgp-ros-root .tgp-ros-adstockclip {
	position: relative; aspect-ratio: 9 / 14; border-radius: 10px !important; overflow: hidden;
	/* No !important on background — the inline thumbnail must win. */
	background: rgba(255, 255, 255, .06) center / cover no-repeat;
	background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important;
	border: 2px solid rgba(255, 255, 255, .1) !important; cursor: pointer; padding: 0 !important;
	transition: border-color .15s ease, transform .15s ease;
}
#tgp-ros-root .tgp-ros-adstockclip:hover { transform: translateY(-2px); border-color: rgba(168, 85, 247, .5) !important; }
#tgp-ros-root .tgp-ros-adstockclip.is-selected { border-color: #a855f7 !important; box-shadow: 0 0 0 3px rgba(168, 85, 247, .25) !important; }
.tgp-ros-adstockclip span { position: absolute; right: 5px; bottom: 5px; padding: 2px 7px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 10px; font-weight: 700; }
.tgp-ros-advidgen__lyr { flex: 0 0 auto; }

/* ── Waveform part-picker v2: SoundCloud-style centered bars; the selected
   window is the LIT region (no overlay box), draggable, with a playhead. ── */
.tgp-ros-adpart__wave { position: relative; display: flex; align-items: center; gap: 0; height: 68px; padding: 8px 4px; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .05); overflow: hidden; }
.tgp-ros-adpart__wave:active { cursor: grabbing; }
.tgp-ros-adpart__wave i { flex: 1 1 0; min-width: 1px; margin: 0 1px; border-radius: 99px; background: rgba(255, 255, 255, .13); transition: background .12s ease, box-shadow .12s ease, transform .12s ease; }
.tgp-ros-adpart__wave i.is-in { background: linear-gradient(180deg, #f0abfc, #a855f7); box-shadow: 0 0 10px rgba(168, 85, 247, .45); transform: scaleY(1.06); }
.tgp-ros-adpart__wave .tgp-ros-adpart__win { display: none; }
.tgp-ros-adpart__head { position: absolute; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .7); display: none; pointer-events: none; }
.tgp-ros-adpart__time { color: #d8b4fe; }
.tgp-ros-adpart__time::before { content: ''; }

/* Hook generator + stock hover-preview + manage-creatives link */
.tgp-ros-adstep__manage { margin-left: auto; font-size: 12px !important; font-weight: 600; color: #c084fc !important; text-decoration: none !important; text-transform: none; letter-spacing: 0; }
.tgp-ros-adstep__manage:hover { color: #e9d5ff !important; text-decoration: underline !important; }
#tgp-ros-root .tgp-ros-adstockclip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tgp-ros-adstockclip__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 10px; font-style: normal; pointer-events: none; opacity: .85; }
#tgp-ros-root .tgp-ros-adstockclip:hover .tgp-ros-adstockclip__play { opacity: 0; }
[data-ros-adb-hookrow] .tgp-field { flex: 1 1 260px; }

/* Self-serve campaign lifecycle: funding chip, go-live toggle, fresh-row glow */
.tgp-ros-adfund { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.tgp-ros-adfund--ok { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .3); color: #6ee7b7; }
.tgp-ros-adfund--warn { background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .35); color: #fcd34d; }
.tgp-ros-adbuilder__launch { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tgp-ros-adgolive { margin: 0; }
.tgp-ros-adgolive .tgp-ros-lyrictoggle__text strong { color: var(--tgp-text, #f4f4f5); }
.tgp-ros-adbuilder__foot { flex-direction: column; align-items: flex-start; gap: 12px; }
.tgp-ros-adbuilder__foot .tgp-ros-form__note { flex: none; max-width: 640px; }
@keyframes tgpRosFreshRow { 0% { background: rgba(168, 85, 247, .25); } 100% { background: transparent; } }
.tgp-ros-adstable tr.is-fresh td { animation: tgpRosFreshRow 3s ease-out forwards; }

/* Stock search loading: shimmering placeholder tiles + status line */
.tgp-ros-adstockmsg { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; margin: 0 0 2px; font-size: 12.5px; font-weight: 600; color: #d8b4fe; }
.tgp-ros-adstockskel { position: relative; display: block; aspect-ratio: 9 / 14; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .045); animation: tgpRosSkelPulse 1.4s ease-in-out infinite; }
.tgp-ros-adstockskel::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .14), transparent); animation: tgpRosSkelSweep 1.4s ease-in-out infinite; animation-delay: inherit; }
@keyframes tgpRosSkelPulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes tgpRosSkelSweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ── Seedance panel (Canvas + AI video) ── */
.tgp-ros-seedpanel { margin-top: 14px; padding: 18px 20px 20px; border-radius: 14px; border: 1px dashed rgba(168, 85, 247, .35); background: rgba(168, 85, 247, .045); }
.tgp-ros-seedpanel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.tgp-ros-seedpanel__head strong { font-size: 14.5px; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-seedpanel .tgp-label { margin: 12px 0 8px; }
.tgp-ros-seedpanel__row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tgp-ros-seedpanel > .tgp-field { width: 100%; margin-top: 14px; }
.tgp-ros-seedpanel__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.tgp-ros-seedpanel__foot .tgp-ros-form__note { margin: 0; flex: 1 1 240px; }
.tgp-ros-creator__icon.is-canvas { background: rgba(30, 215, 96, .12); color: #1ed760; }
.tgp-ros-creator__icon.is-aivideo { background: rgba(168, 85, 247, .14); color: #d8b4fe; }

/* ── Release playbook accordion ── */
.tgp-ros-playbook details { border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; margin-bottom: 10px; background: rgba(255, 255, 255, .02); overflow: hidden; }
.tgp-ros-playbook summary { display: flex; align-items: center; gap: 12px; padding: 14px 17px; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 700; color: var(--tgp-text, #f4f4f5); transition: background .15s ease; }
.tgp-ros-playbook summary::-webkit-details-marker { display: none; }
.tgp-ros-playbook summary::after { content: '▾'; margin-left: auto; color: var(--tgp-text-faint, #71717a); transition: transform .2s ease; }
.tgp-ros-playbook details[open] summary::after { transform: rotate(180deg); }
.tgp-ros-playbook summary:hover { background: rgba(168, 85, 247, .06); }
.tgp-ros-pb__when { flex: 0 0 auto; padding: 4px 11px; border-radius: 999px; background: rgba(168, 85, 247, .12); border: 1px solid rgba(168, 85, 247, .3); color: #d8b4fe; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.tgp-ros-pb__body { padding: 2px 18px 16px; }
.tgp-ros-pb__body ul { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.tgp-ros-pb__body li { font-size: 13px; line-height: 1.65; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-pb__body li strong { color: var(--tgp-text, #e4e4e7); }

/* Seedance panel v2: own-image upload row + audio toggle */
.tgp-ros-seedpanel__upload { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding: 13px 15px; border-radius: 11px; background: rgba(255, 255, 255, .025); border: 1px dashed rgba(255, 255, 255, .14); }
.tgp-ros-seedpanel__upload input[type="file"] { font-size: 12.5px; color: var(--tgp-text-dim, #c6c6cd); }
.tgp-ros-seedpanel__uploaded { font-size: 12px; font-weight: 700; color: #6ee7b7; }
.tgp-ros-seedpanel__upload textarea { width: 100%; }
.tgp-ros-seedpanel__audio { margin-top: 12px; }
.tgp-ros-seedpanel__audio .tgp-ros-lyrictoggle__text strong { color: var(--tgp-text, #f4f4f5); }

/* ── Release detail: premium treatment to match the other pages ── */
.tgp-ros-detail__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tgp-ros-health__score { font-size: 40px !important; font-weight: 800 !important; letter-spacing: -.03em; background: linear-gradient(135deg, #e9d5ff, #a855f7); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.tgp-ros-health__score small { -webkit-text-fill-color: initial; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-health { position: relative; padding: 18px 20px 20px; border-radius: 14px; background: rgba(168, 85, 247, .05); border: 1px solid rgba(168, 85, 247, .18); overflow: hidden; }
.tgp-ros-health::after { content: ''; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .14), transparent 70%); pointer-events: none; }
.tgp-ros-health__fill { background: linear-gradient(90deg, #a855f7, #f0abfc) !important; }
#tgp-ros-root .tgp-ros-phase__label { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: rgba(168, 85, 247, .09); border: 1px solid rgba(168, 85, 247, .25); color: #d8b4fe !important; font-size: 10.5px !important; font-weight: 800 !important; letter-spacing: .07em; text-transform: uppercase; margin: 18px 0 10px; }

/* ── Release detail layout: the playbook spans BOTH columns below the
   form/checklist pair — no more dead space under the shorter column. ── */
.tgp-ros-detail__grid { gap: 18px; }
.tgp-ros-detail__grid > .tgp-ros-playbook { grid-column: 1 / -1; }

/* ── Release checklist: collapsible phases + sticky details column ── */
details.tgp-ros-phase { border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; margin-bottom: 10px; background: rgba(255, 255, 255, .015); overflow: hidden; }
.tgp-ros-phase__sum { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none; }
.tgp-ros-phase__sum::-webkit-details-marker { display: none; }
.tgp-ros-phase__sum::after { content: '▾'; color: var(--tgp-text-faint, #71717a); transition: transform .2s ease; }
details.tgp-ros-phase[open] .tgp-ros-phase__sum::after { transform: rotate(180deg); }
.tgp-ros-phase__sum:hover { background: rgba(168, 85, 247, .05); }
#tgp-ros-root .tgp-ros-phase__sum .tgp-ros-phase__label { margin: 0; }
.tgp-ros-phase__progress { flex: 1 1 60px; max-width: 140px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.tgp-ros-phase__bar { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #a855f7, #f0abfc); }
.tgp-ros-phase__count { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--tgp-text-faint, #8b8b93); white-space: nowrap; }
details.tgp-ros-phase > .tgp-ros-tasklist { padding: 2px 16px 12px; margin: 0; }

/* Wide screens: the details/smart-link column pins while the checklist
   scrolls — no more dead space under the shorter column. */
@media (min-width: 901px) {
	.tgp-ros-detail__grid > section:first-child {
		position: sticky;
		top: 110px;
		max-height: calc(100vh - 130px);
		overflow-y: auto;
		scrollbar-width: thin;
	}
}

/* ── Release detail layout v3: details | readiness on row one, then the
   checklist FULL WIDTH with phases side by side — nothing towers, nothing
   sticks, no dead space. ── */
@media (min-width: 901px) {
	.tgp-ros-detail__grid > section:first-child { position: static !important; max-height: none !important; overflow-y: visible !important; }
}
.tgp-ros-checklist { grid-column: 1 / -1; }
.tgp-ros-phasegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 900px) { .tgp-ros-phasegrid { grid-template-columns: 1fr; } }
div.tgp-ros-phase { border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; background: rgba(255, 255, 255, .015); overflow: hidden; margin: 0; }
div.tgp-ros-phase.is-complete { opacity: .65; }
div.tgp-ros-phase .tgp-ros-phase__sum { cursor: default; }
div.tgp-ros-phase .tgp-ros-phase__sum::after { content: none; }
div.tgp-ros-phase > .tgp-ros-tasklist { padding: 2px 16px 12px; margin: 0; }
.tgp-ros-readiness .tgp-ros-health { height: 100%; }

/* ── Seedance panel v3: labelled fields, real breathing room ── */
.tgp-ros-seedpanel { padding: 22px 24px 24px; }
.tgp-ros-seedpanel__label { margin: 16px 0 9px; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--tgp-text-faint, #8b8b93); }
.tgp-ros-seedpanel__silent { margin: 12px 0 0; padding: 9px 13px; border-radius: 10px; background: rgba(30, 215, 96, .07); border: 1px solid rgba(30, 215, 96, .2); color: #6ee7b7; font-size: 12px; font-weight: 600; display: inline-block; }
.tgp-ros-seedpanel__grid { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, .08); }
.tgp-ros-seedpanel__fields { display: flex; gap: 14px; flex-wrap: wrap; }
.tgp-ros-seedpanel__grid .tgp-ros-adfield { display: flex; flex-direction: column; gap: 7px; }
.tgp-ros-seedpanel__grid .tgp-field { min-width: 170px; }
.tgp-ros-seedpanel__custom { margin-top: 14px; }
.tgp-ros-seedpanel__foot { margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, .08); }

/* ── Release detail v4: overview strip + hidden editor + calm checklist ── */
.tgp-ros-detail__grid { grid-template-columns: 1fr !important; }
.tgp-ros-overview { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.tgp-ros-overview__score { display: flex; flex-direction: column; gap: 5px; min-width: 210px; padding-right: 30px; border-right: 1px dashed rgba(255, 255, 255, .09); }
.tgp-ros-overview__num { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1; background: linear-gradient(135deg, #e9d5ff, #a855f7); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.tgp-ros-overview__num small { font-size: 14px; font-weight: 600; -webkit-text-fill-color: initial; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-overview__scorelabel { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tgp-text-faint, #8b8b93); }
.tgp-ros-overview__track { display: block; width: 100%; max-width: 190px; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.tgp-ros-overview__track > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #a855f7, #f0abfc); }
.tgp-ros-overview__next { font-size: 12px; color: #d8b4fe; margin-top: 3px; }
.tgp-ros-overview__facts { display: flex; gap: 34px; flex-wrap: wrap; flex: 1; }
.tgp-ros-overview__fact { display: flex; flex-direction: column; gap: 7px; }
.tgp-ros-overview__fact > span:first-child { font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--tgp-text-faint, #8b8b93); }
.tgp-ros-overview__fact strong { font-size: 14px; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-overview__link { font-size: 13px; font-weight: 600; color: #c084fc !important; text-decoration: none !important; }
.tgp-ros-overview__link:hover { text-decoration: underline !important; }
#tgp-ros-root .tgp-ros-overview__edit { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; }
#tgp-ros-root .tgp-ros-overview__edit.is-active { border-color: #a855f7 !important; color: #e9d5ff !important; }
.tgp-ros-editor { margin-top: -2px; }

/* Checklist rows: quiet by default, controls surface on hover */
.tgp-ros-checklist__meta { display: flex; align-items: center; gap: 12px; }
.tgp-ros-checklist__bar { width: 120px; }
div.tgp-ros-phase .tgp-ros-tasklist__item { border-top: 1px solid rgba(255, 255, 255, .04); padding: 9px 0; }
div.tgp-ros-phase .tgp-ros-tasklist__item:first-child { border-top: 0; }
#tgp-ros-root .tgp-ros-task-date { background: transparent; border: 1px solid transparent; border-radius: 7px; padding: 3px 7px; font-size: 12px; color: var(--tgp-text-faint, #8b8b93); width: 118px; transition: border-color .15s ease, background .15s ease; }
#tgp-ros-root .tgp-ros-tasklist__item:hover .tgp-ros-task-date,
#tgp-ros-root .tgp-ros-task-date:focus { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); color: var(--tgp-text-dim, #c6c6cd); }
#tgp-ros-root .tgp-ros-tasklist .tgp-pill.is-danger { font-size: 9.5px; padding: 2px 8px; }
@media (max-width: 760px) {
	.tgp-ros-overview { gap: 20px; }
	.tgp-ros-overview__score { border-right: 0; padding-right: 0; }
	#tgp-ros-root .tgp-ros-overview__edit { margin-left: 0; }
}

/* [hidden] must always win — display rules on toggles were overriding it
   (the canvas panel showed the ai-video audio toggle because of this). */
#tgp-ros-root [hidden] { display: none !important; }

/* Calendar loading skeleton: a shimmering ghost of the month grid */
.tgp-ros-calskel { position: relative; overflow: hidden; animation: tgpRosSkelPulse 1.5s ease-in-out infinite; }
.tgp-ros-calskel::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(100deg, transparent, rgba(168, 85, 247, .09), transparent); animation: tgpRosSkelSweep 1.5s ease-in-out infinite; animation-delay: inherit; }
.tgp-ros-calskel__dow { display: block; width: 26px; height: 9px; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.tgp-ros-calskel__num { display: block; width: 16px; height: 16px; border-radius: 6px; background: rgba(255, 255, 255, .07); margin: 2px 0 6px; }
.tgp-ros-calskel__evt { display: block; height: 8px; width: 80%; border-radius: 99px; background: rgba(168, 85, 247, .18); }

/* Content studio: release-select loading state */
.tgp-ros-chipskel { display: inline-block; width: 110px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, .06); margin-right: 8px; animation: tgpRosSkelPulse 1.3s ease-in-out infinite; position: relative; overflow: hidden; }
.tgp-ros-chipskel::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(100deg, transparent, rgba(168, 85, 247, .12), transparent); animation: tgpRosSkelSweep 1.3s ease-in-out infinite; animation-delay: inherit; }
.tgp-ros-ctxloading { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #d8b4fe; margin-left: 6px; }
.tgp-ros-studio.is-ctxloading .tgp-ros-creators { opacity: .45; pointer-events: none; transition: opacity .2s ease; }

/* Background artwork generation badge — page stays fully usable */
.tgp-ros-artgenbadge { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 9999; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: rgba(20, 20, 26, .96); border: 1px solid rgba(168, 85, 247, .4); box-shadow: 0 12px 40px rgba(0, 0, 0, .5), 0 0 24px rgba(168, 85, 247, .15); color: #e9d5ff; font-size: 13px; font-weight: 700; animation: tgpRosFloat 4s ease-in-out infinite; }

/* Artwork style-reference attach */
.tgp-ros-artup__ref { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.tgp-ros-artup__reflabel { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1.5px dashed rgba(168, 85, 247, .4); color: #d8b4fe; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.tgp-ros-artup__reflabel:hover { border-color: #a855f7; background: rgba(168, 85, 247, .07); }
.tgp-ros-artup__refok { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #6ee7b7; }
#tgp-ros-root .tgp-ros-artup__refclear { background: none !important; border: 0 !important; color: var(--tgp-text-faint, #8b8b93) !important; font-size: 15px !important; cursor: pointer; padding: 0 2px !important; line-height: 1 !important; }
#tgp-ros-root .tgp-ros-artup__refclear:hover { color: #fca5a5 !important; }

/* Top-up packs + stores sticker chip */
.tgp-ros-topups { margin-top: 28px; padding-top: 22px; border-top: 1px dashed rgba(255, 255, 255, .09); }
.tgp-ros-topups__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 12px; }
.tgp-ros-topup { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .08); }
.tgp-ros-topup strong { font-size: 15px; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-topup .tgp-ros-dim { font-size: 12px; }
.tgp-ros-topup__balance { font-size: 11.5px; font-weight: 700; color: #6ee7b7; }
.tgp-ros-topup .tgp-ros-btn { margin-top: 6px; }
#tgp-ros-root .tgp-ros-stickerchip--stores { background: #101014 !important; color: #fff !important; border: 1px solid rgba(255,255,255,.25) !important; }

/* Media lightbox */
.tgp-ros-lightbox { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; }
.tgp-ros-lightbox__backdrop { position: absolute; inset: 0; background: rgba(5, 5, 8, .92); backdrop-filter: blur(6px); }
.tgp-ros-lightbox__stage { position: relative; margin: 0; max-width: min(92vw, 1100px); max-height: 90vh; display: flex; }
.tgp-ros-lightbox__stage img, .tgp-ros-lightbox__stage video { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
/* The lightbox lives on <body>, outside #tgp-ros-root — every property is
   pinned or the theme's global button reset restyles the close control. */
button.tgp-ros-lightbox__close {
  position: absolute !important;
  top: 22px !important;
  right: 26px !important;
  z-index: 2;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  background: rgba(16, 16, 22, .78) !important;
  color: #fff !important;
  line-height: 1 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45) !important;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
button.tgp-ros-lightbox__close:hover { background: rgba(60, 60, 74, .9) !important; transform: scale(1.06); }
button.tgp-ros-lightbox__close svg { display: block; }
img.tgp-ros-mediacard__media { cursor: zoom-in; }

/* ── Autopilot ─────────────────────────────────────────────────────── */
.tgp-ros-ap { display: flex; flex-direction: column; gap: 22px; }

/* Locked pitch */
.tgp-ros-ap__pitch { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; overflow: hidden; position: relative; }
.tgp-ros-ap__pitch::after { content: ''; position: absolute; top: -120px; right: -100px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .16), transparent 70%); pointer-events: none; }
.tgp-ros-ap__benefits { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tgp-ros-ap__benefits li { position: relative; padding-left: 26px; font-size: 13.5px; line-height: 1.5; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-ap__benefits li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 17px; height: 17px; border-radius: 50%; background: rgba(168, 85, 247, .15); border: 1px solid rgba(168, 85, 247, .4); color: #d8b4fe; font-size: 10px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.tgp-ros-ap__ctanote { font-size: 12px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-ap__pitchvis { position: relative; z-index: 1; }
.tgp-ros-ap__weekmock { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.tgp-ros-ap__mockday { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px 14px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .07); min-height: 110px; }
.tgp-ros-ap__mockday.is-on { background: rgba(168, 85, 247, .09); border-color: rgba(168, 85, 247, .4); box-shadow: 0 6px 24px rgba(168, 85, 247, .16); }
.tgp-ros-ap__mockdow { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tgp-text-faint, #8b8b93); }
.tgp-ros-ap__mockreel { width: 34px; height: 52px; border-radius: 8px; background: linear-gradient(160deg, #a855f7, #6d28d9); background-size: cover; background-position: center; display: inline-flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.tgp-ros-ap__mockreel svg { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.tgp-ros-ap__mocktime { font-size: 10px; font-weight: 700; color: #d8b4fe; }
.tgp-ros-ap__mockoff { font-size: 10px; color: var(--tgp-text-faint, #71717a); margin-top: 18px; font-style: italic; }
.tgp-ros-ap__mockcaption { margin: 14px 0 0; text-align: center; font-size: 12px; color: var(--tgp-text-faint, #8b8b93); }

/* Hero switch */
.tgp-ros-ap__hero { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; position: relative; overflow: hidden; }
.tgp-ros-ap__hero::after { content: ''; position: absolute; top: -140px; left: 30%; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .12), transparent 70%); pointer-events: none; }
.tgp-ros-ap__heromain { display: flex; align-items: center; gap: 22px; min-width: 0; }
.tgp-ros-ap__herotitle { margin: 0 0 6px; font-size: 22px; font-weight: 800; color: var(--tgp-text, #f4f4f5); letter-spacing: -.01em; }
.tgp-ros-ap__herotitle .tgp-ros-adhero2__grad { display: inline; }
.tgp-ros-ap__herosub { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--tgp-text-dim, #a1a1aa); max-width: 460px; }
.tgp-ros-ap__switch { position: relative; display: inline-block; flex: 0 0 auto; cursor: pointer; }
.tgp-ros-ap__switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.tgp-ros-ap__track { display: block; width: 74px; height: 40px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.tgp-ros-ap__thumb { position: absolute; top: 5px; left: 5px; width: 32px; height: 32px; border-radius: 50%; background: #d4d4d8; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background .25s ease; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.tgp-ros-ap__switch input:checked + .tgp-ros-ap__track { background: linear-gradient(92deg, #7c3aed, #a855f7); border-color: rgba(168, 85, 247, .6); box-shadow: 0 0 0 5px rgba(168, 85, 247, .12), 0 8px 26px rgba(168, 85, 247, .35); }
.tgp-ros-ap__switch input:checked + .tgp-ros-ap__track .tgp-ros-ap__thumb { transform: translateX(34px); background: #fff; }
.tgp-ros-ap__switch input:disabled + .tgp-ros-ap__track { opacity: .55; }
.tgp-ros-ap__herostats { display: flex; gap: 12px; flex: 0 0 auto; }
.tgp-ros-ap__stat { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 13px 18px; border-radius: 13px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); min-width: 92px; }
.tgp-ros-ap__statnum { font-size: 21px; font-weight: 800; background: linear-gradient(92deg, #a855f7, #f0abfc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tgp-ros-ap__statnum--sm { font-size: 14px; padding-top: 4px; }
.tgp-ros-ap__statlabel { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tgp-text-faint, #8b8b93); }

/* Settings */
.tgp-ros-ap__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; }
.tgp-ros-ap__networks { grid-column: 1 / -1; }
.tgp-ros-ap__chips { display: flex; gap: 7px; margin-top: 7px; }
#tgp-ros-root .tgp-ros-ap__chip { appearance: none !important; border: 1px solid rgba(255, 255, 255, .13) !important; background: rgba(255, 255, 255, .04) !important; color: var(--tgp-text-dim, #a1a1aa) !important; border-radius: 999px !important; padding: 7px 15px !important; font-size: 13px !important; font-weight: 700 !important; line-height: 1 !important; cursor: pointer !important; transition: all .15s ease !important; box-shadow: none !important; text-transform: none !important; }
#tgp-ros-root .tgp-ros-ap__chip:hover:not(:disabled) { border-color: rgba(168, 85, 247, .45) !important; color: #e9d5ff !important; background: rgba(168, 85, 247, .08) !important; }
#tgp-ros-root .tgp-ros-ap__chip.is-on { background: linear-gradient(92deg, rgba(124, 58, 237, .35), rgba(168, 85, 247, .25)) !important; border-color: rgba(168, 85, 247, .65) !important; color: #f3e8ff !important; }
.tgp-ros-ap__nets { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.tgp-ros-ap__net { display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .09); cursor: pointer; font-size: 13px; color: var(--tgp-text, #e4e4e7); text-transform: none; letter-spacing: 0; }
.tgp-ros-ap__net input { accent-color: #a855f7; width: 15px; height: 15px; margin: 0; }
.tgp-ros-ap__net.is-disabled { opacity: .6; }
.tgp-ros-ap__net a { color: #d8b4fe; font-weight: 700; font-size: 12px; }
.tgp-ros-ap__note { margin: 16px 0 0; font-size: 12px; color: var(--tgp-text-faint, #71717a); }

/* Queue */
.tgp-ros-ap__queue { display: flex; flex-direction: column; gap: 12px; }
.tgp-ros-ap__slot { display: grid; grid-template-columns: 74px 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .07); transition: border-color .2s ease; }
.tgp-ros-ap__slot:hover { border-color: rgba(168, 85, 247, .3); }
.tgp-ros-ap__slot.is-ready { border-color: rgba(192, 132, 252, .5); background: rgba(168, 85, 247, .05); box-shadow: 0 8px 30px rgba(168, 85, 247, .1); }
.tgp-ros-ap__slot.is-failed { border-color: rgba(248, 113, 113, .35); }
.tgp-ros-ap__slotthumb { width: 74px; height: 112px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .04); position: relative; }
.tgp-ros-ap__slotthumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tgp-ros-ap__slotwait { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(255, 255, 255, .03) 8%, rgba(255, 255, 255, .09) 18%, rgba(255, 255, 255, .03) 33%); background-size: 200% 100%; animation: tgpRosSkelSweep 1.4s linear infinite; }
.tgp-ros-ap__slotbody { min-width: 0; }
.tgp-ros-ap__slottop { display: flex; align-items: center; gap: 12px; margin-bottom: 3px; }
.tgp-ros-ap__slottop strong { font-size: 14px; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ap__slotstatus { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--tgp-text-dim, #a1a1aa); white-space: nowrap; }
.tgp-ros-ap__slot.is-rendering .tgp-ros-ap__slotstatus { background: rgba(168, 85, 247, .14); color: #d8b4fe; animation: tgpRosSkelPulse 1.6s ease-in-out infinite; }
.tgp-ros-ap__slot.is-scheduled .tgp-ros-ap__slotstatus { background: rgba(96, 165, 250, .13); color: #93c5fd; }
.tgp-ros-ap__slot.is-ready .tgp-ros-ap__slotstatus { background: rgba(192, 132, 252, .16); color: #e9d5ff; }
.tgp-ros-ap__historyrow.is-posted .tgp-ros-ap__slotstatus, .tgp-ros-ap__slot.is-posted .tgp-ros-ap__slotstatus { background: rgba(52, 211, 153, .13); color: #6ee7b7; }
.tgp-ros-ap__historyrow.is-failed .tgp-ros-ap__slotstatus, .tgp-ros-ap__slot.is-failed .tgp-ros-ap__slotstatus { background: rgba(248, 113, 113, .13); color: #fca5a5; }
.tgp-ros-ap__slotmeta { margin: 0 0 5px; font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-ap__slotcaption { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--tgp-text-faint, #8b8b93); font-style: italic; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tgp-ros-ap__sloterror { margin: 4px 0 0; font-size: 12px; color: #fca5a5; }
.tgp-ros-ap__slotactions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.tgp-ros-ap__empty { padding: 34px 20px; }

/* History */
.tgp-ros-ap__history { display: flex; flex-direction: column; gap: 8px; }
.tgp-ros-ap__historyrow { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 11px; background: rgba(255, 255, 255, .02); border: 1px solid rgba(255, 255, 255, .05); font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); flex-wrap: wrap; }

/* How it works */
.tgp-ros-ap__how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tgp-ros-ap__howitem { padding: 18px 18px 19px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .07); transition: border-color .2s ease, transform .2s ease; }
.tgp-ros-ap__howitem:hover { transform: translateY(-3px); border-color: rgba(168, 85, 247, .35); }
.tgp-ros-ap__howicon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(168, 85, 247, .12); border: 1px solid rgba(168, 85, 247, .28); font-size: 16px; margin-bottom: 11px; }
.tgp-ros-ap__howitem strong { display: block; font-size: 13px; color: var(--tgp-text, #f4f4f5); margin-bottom: 6px; }
.tgp-ros-ap__howitem p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--tgp-text-dim, #a1a1aa); }

@media (max-width: 900px) {
	.tgp-ros-ap__pitch { grid-template-columns: 1fr; gap: 26px; }
	.tgp-ros-ap__grid { grid-template-columns: 1fr 1fr; }
	.tgp-ros-ap__how { grid-template-columns: 1fr 1fr; }
	.tgp-ros-ap__hero { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
	.tgp-ros-ap__grid { grid-template-columns: 1fr; }
	.tgp-ros-ap__how { grid-template-columns: 1fr; }
	.tgp-ros-ap__slot { grid-template-columns: 56px 1fr; }
	.tgp-ros-ap__slotthumb { width: 56px; height: 86px; }
	.tgp-ros-ap__slotactions { grid-column: 1 / -1; flex-direction: row; }
	.tgp-ros-ap__weekmock { gap: 4px; }
}

/* ── Autopilot v2: go-note, preview, captions, problem + growth sections ── */
.tgp-ros-ap__gonote { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 12px 15px; border-radius: 12px; background: rgba(52, 211, 153, .06); border: 1px solid rgba(52, 211, 153, .25); font-size: 13px; line-height: 1.55; color: #a7f3d0; }
.tgp-ros-ap__gonote-icn { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; background: rgba(52, 211, 153, .18); border: 1px solid rgba(52, 211, 153, .5); color: #6ee7b7; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }

.tgp-ros-ap__slotthumb.is-playable { cursor: zoom-in; }
.tgp-ros-ap__slotplay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0, 0, 0, .18); opacity: 0; transition: opacity .15s ease; }
.tgp-ros-ap__slotplay svg { filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .7)); }
.tgp-ros-ap__slotthumb.is-playable:hover .tgp-ros-ap__slotplay { opacity: 1; }

.tgp-ros-ap__slotcaps { margin-top: 2px; }
.tgp-ros-ap__capnet { display: inline-block; margin-right: 7px; padding: 1px 7px; border-radius: 999px; background: rgba(168, 85, 247, .12); border: 1px solid rgba(168, 85, 247, .25); color: #d8b4fe; font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; font-style: normal; vertical-align: 1px; }
.tgp-ros-ap__slotcaps .tgp-ros-ap__slotcaption--tt { display: none; }
.tgp-ros-ap__slotcaps.is-open .tgp-ros-ap__slotcaption { display: block; -webkit-line-clamp: unset; white-space: pre-line; margin-bottom: 8px; }
#tgp-ros-root .tgp-ros-ap__capmore { appearance: none !important; background: none !important; border: none !important; padding: 4px 0 0 !important; margin: 0 !important; font-size: 11.5px !important; font-weight: 700 !important; color: #b18cf5 !important; cursor: pointer !important; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important; }
#tgp-ros-root .tgp-ros-ap__capmore:hover { color: #d8b4fe !important; text-decoration: underline !important; }

/* Your week, two ways — tilted comparison cards, deliberately un-card-like */
.tgp-ros-ap__vs { padding: 12px 0 6px; }
.tgp-ros-ap__vshead { text-align: center; max-width: 640px; margin: 0 auto 26px; }
.tgp-ros-ap__vsgrid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; max-width: 860px; margin: 0 auto; }
.tgp-ros-ap__vscard { position: relative; padding: 20px 22px 18px; border-radius: 18px; transition: transform .25s ease, box-shadow .25s ease; }
.tgp-ros-ap__vscard--grind { background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .09); transform: rotate(-1.3deg); }
.tgp-ros-ap__vscard--auto { background: linear-gradient(165deg, rgba(88, 40, 160, .32), rgba(30, 18, 52, .5)); border: 1px solid rgba(168, 85, 247, .5); transform: rotate(1.3deg); box-shadow: 0 16px 46px rgba(168, 85, 247, .18); }
.tgp-ros-ap__vscard:hover { transform: rotate(0deg) translateY(-3px); }
.tgp-ros-ap__vscard--auto:hover { box-shadow: 0 22px 60px rgba(168, 85, 247, .3); }
.tgp-ros-ap__vstag { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-ap__vstag--auto { background: rgba(168, 85, 247, .16); border-color: rgba(168, 85, 247, .45); color: #e9d5ff; }
.tgp-ros-ap__vscard ul { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; }
.tgp-ros-ap__vscard li { display: flex; align-items: center; gap: 10px; padding: 8px 2px; font-size: 13px; color: var(--tgp-text, #e4e4e7); border-bottom: 1px dashed rgba(255, 255, 255, .06); }
.tgp-ros-ap__vscard li:last-child { border-bottom: none; }
.tgp-ros-ap__vscard li i { font-style: normal; font-size: 14px; flex: 0 0 18px; text-align: center; }
.tgp-ros-ap__vscard li span { flex: 1; min-width: 0; }
.tgp-ros-ap__vscard li em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--tgp-text-faint, #8b8b93); background: rgba(255, 255, 255, .05); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.tgp-ros-ap__vscard--grind li { color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-ap__vsrepeat span { color: #fda4af !important; font-weight: 700; }
.tgp-ros-ap__vsdone { animation: tgpRosApPop .5s cubic-bezier(.2, .8, .3, 1.4) backwards; }
.tgp-ros-ap__vsdone:nth-of-type(2) { animation-delay: .25s; }
.tgp-ros-ap__vsdone:nth-of-type(3) { animation-delay: .5s; }
.tgp-ros-ap__vsdone:nth-of-type(4) { animation-delay: .75s; }
@keyframes tgpRosApPop { from { transform: translateX(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.tgp-ros-ap__vsdone i { color: #6ee7b7; font-weight: 800; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); border-radius: 50%; width: 18px; height: 18px; line-height: 16px; font-size: 11px; flex: 0 0 18px; }
.tgp-ros-ap__vsdone span { color: #d1fae5 !important; }
.tgp-ros-ap__vsmusic { margin: 0; padding: 10px 13px; border-radius: 11px; font-size: 12.5px; font-weight: 700; }
.tgp-ros-ap__vsmusic--sad { background: rgba(248, 113, 113, .07); border: 1px solid rgba(248, 113, 113, .22); color: #fca5a5; }
.tgp-ros-ap__vsmusic--happy { background: rgba(52, 211, 153, .08); border: 1px solid rgba(52, 211, 153, .3); color: #6ee7b7; }
.tgp-ros-ap__vsbadge { align-self: center; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; font-size: 13px; font-weight: 900; letter-spacing: .04em; box-shadow: 0 10px 30px rgba(168, 85, 247, .4), 0 0 0 6px rgba(168, 85, 247, .1); }
.tgp-ros-ap__vspunch { margin: 24px auto 0; max-width: 560px; text-align: center; font-size: 14.5px; font-weight: 700; color: var(--tgp-text, #f4f4f5); }

/* Growth section — spotlight panel, deliberately not the default card look */
.tgp-ros-ap__growthsec { display: grid; grid-template-columns: 1fr 1.05fr; gap: 34px; align-items: center; overflow: hidden; position: relative; padding: 32px 36px; border-radius: 22px; background: linear-gradient(160deg, rgba(44, 24, 78, .55), rgba(18, 12, 30, .65)); border: 1px solid rgba(168, 85, 247, .3); box-shadow: 0 20px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05); }
.tgp-ros-ap__growthsec::before { content: ''; position: absolute; top: -160px; right: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .2), transparent 70%); pointer-events: none; }
.tgp-ros-ap__gstats { display: flex; gap: 12px; margin: 4px 0 14px; }
.tgp-ros-ap__gstat { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 13px 15px; border-radius: 13px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.tgp-ros-ap__gstaticon { font-size: 16px; }
.tgp-ros-ap__gstatnum { font-size: 12.5px; font-weight: 800; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ap__gstatnum i { font-style: normal; color: #6ee7b7; font-size: 11px; }
.tgp-ros-ap__gstatbars { display: flex; align-items: flex-end; gap: 3px; height: 30px; width: 100%; }
.tgp-ros-ap__gstatbars b { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #a855f7, rgba(124, 58, 237, .4)); animation: tgpRosApBar 1.1s cubic-bezier(.2, .8, .3, 1) backwards; transform-origin: bottom; }
.tgp-ros-ap__gstatbars b:nth-child(2) { animation-delay: .12s; }
.tgp-ros-ap__gstatbars b:nth-child(3) { animation-delay: .24s; }
.tgp-ros-ap__gstatbars b:nth-child(4) { animation-delay: .36s; background: linear-gradient(180deg, #f0abfc, #a855f7); }
@keyframes tgpRosApBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.tgp-ros-ap__gnote { margin: 0; font-size: 11.5px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-ap__chartwrap { position: relative; padding: 10px 6px 26px; }
.tgp-ros-ap__chart { width: 100%; height: auto; display: block; border-radius: 12px; }
.tgp-ros-ap__chartline { stroke-dasharray: 900; stroke-dashoffset: 900; animation: tgpRosApDraw 2.2s cubic-bezier(.4, 0, .2, 1) .2s forwards; }
@keyframes tgpRosApDraw { to { stroke-dashoffset: 0; } }
.tgp-ros-ap__chartdot { animation: tgpRosApDot 1.8s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes tgpRosApDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.7); opacity: .55; } }
.tgp-ros-ap__fchip { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: rgba(24, 24, 32, .92); border: 1px solid rgba(168, 85, 247, .4); color: #f3e8ff; font-size: 12px; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); animation: tgpRosApFloat 5s ease-in-out infinite; white-space: nowrap; }
.tgp-ros-ap__fchip--views { top: 34%; left: 4%; animation-delay: .4s; }
.tgp-ros-ap__fchip--fans { bottom: 30%; left: 30%; animation-delay: 1.6s; }
.tgp-ros-ap__fchip--viral { top: 4%; right: 4%; border-color: rgba(251, 146, 60, .55); background: rgba(40, 22, 12, .94); color: #fdba74; animation-delay: 0s; }
.tgp-ros-ap__fchip--streams { bottom: 12%; right: 12%; border-color: rgba(52, 211, 153, .5); color: #a7f3d0; animation-delay: 2.4s; }
@keyframes tgpRosApFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.tgp-ros-ap__chartlabel { position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); }

/* Closing CTA */
.tgp-ros-ap__cta { text-align: center; padding: 44px 28px 46px !important; position: relative; overflow: hidden; }
.tgp-ros-ap__cta::before { content: ''; position: absolute; top: -160px; left: 50%; transform: translateX(-50%); width: 480px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .18), transparent 70%); pointer-events: none; }
.tgp-ros-ap__cta .tgp-ros-adhero2__sub { margin: 0 auto 24px; }
.tgp-ros-ap__cta .tgp-ros-adhero2__grad { display: inline; }

@media (max-width: 900px) {
	.tgp-ros-ap__growthsec { grid-template-columns: 1fr; gap: 22px; }
	.tgp-ros-ap__gstats { flex-direction: row; }
}
@media (max-width: 560px) {
	.tgp-ros-ap__gstats { flex-direction: column; }
	.tgp-ros-ap__fchip { font-size: 10.5px; padding: 5px 9px; }
}

@media (max-width: 760px) {
	.tgp-ros-ap__vsgrid { grid-template-columns: 1fr; gap: 14px; }
	.tgp-ros-ap__vsbadge { justify-self: center; }
	.tgp-ros-ap__vscard--grind, .tgp-ros-ap__vscard--auto { transform: none; }
}

/* ── Autopilot promo band on the dashboard ── */
.tgp-ros-appromo { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 20px; border-radius: 16px; background: linear-gradient(120deg, rgba(88, 40, 160, .28), rgba(30, 18, 52, .45) 60%); border: 1px solid rgba(168, 85, 247, .35); position: relative; overflow: hidden; }
.tgp-ros-appromo::before { content: ''; position: absolute; top: -90px; left: 18%; width: 260px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .18), transparent 70%); pointer-events: none; }
.tgp-ros-appromo__left { display: flex; align-items: center; gap: 16px; min-width: 0; position: relative; z-index: 1; }
.tgp-ros-appromo__switch { flex: 0 0 auto; position: relative; width: 46px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); }
.tgp-ros-appromo__switch i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #d4d4d8; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.tgp-ros-appromo.is-on .tgp-ros-appromo__switch { background: linear-gradient(92deg, #7c3aed, #a855f7); border-color: rgba(168, 85, 247, .6); box-shadow: 0 0 0 4px rgba(168, 85, 247, .12), 0 6px 18px rgba(168, 85, 247, .35); }
.tgp-ros-appromo.is-on .tgp-ros-appromo__switch i { transform: translateX(20px); background: #fff; }
.tgp-ros-appromo__copy { min-width: 0; }
.tgp-ros-appromo__title { margin: 0 0 2px; font-size: 14.5px; font-weight: 800; color: var(--tgp-text, #f4f4f5); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tgp-ros-appromo__sub { margin: 0; font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-appromo__live { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); animation: tgpRosApLive 2s ease-out infinite; }
@keyframes tgpRosApLive { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); } 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.tgp-ros-appromo__new { display: inline-block; padding: 2px 9px; border-radius: 999px; background: linear-gradient(92deg, #7c3aed, #a855f7); color: #fff; font-size: 9.5px; font-weight: 900; letter-spacing: .09em; }
#tgp-ros-root .tgp-ros-appromo__btn { flex: 0 0 auto; white-space: nowrap !important; position: relative; z-index: 1; }
@media (max-width: 700px) {
	.tgp-ros-appromo { flex-direction: column; align-items: flex-start; }
	#tgp-ros-root .tgp-ros-appromo__btn { width: 100% !important; text-align: center !important; }
}

/* Autopilot subnav bolt */
.tgp-ros-subnav__item--ap { display: inline-flex; align-items: center; gap: 6px; color: #d8b4fe !important; }
.tgp-ros-subnav__item--ap svg { color: #a855f7; filter: drop-shadow(0 0 5px rgba(168, 85, 247, .55)); }
.tgp-ros-subnav__item--ap.is-active, .tgp-ros-subnav__item--ap:hover { color: #f3e8ff !important; }

/* Slot editor — violet studio-drawer look */
.tgp-ros-ap__editor { grid-column: 1 / -1; margin-top: 10px; padding: 20px 22px; border-radius: 15px; background: linear-gradient(165deg, rgba(124, 58, 237, .09), rgba(30, 18, 52, .18)); border: 1px solid rgba(168, 85, 247, .3); display: flex; flex-direction: column; gap: 0; }
.tgp-ros-ap__editrow { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; padding: 14px 0; }
.tgp-ros-ap__editrow + .tgp-ros-ap__editrow { border-top: 1px dashed rgba(168, 85, 247, .18); }
.tgp-ros-ap__editrow:first-child { padding-top: 0; }
.tgp-ros-ap__editrow:last-child { padding-bottom: 0; }
.tgp-ros-ap__editrow .tgp-ros-adfield { display: flex; flex-direction: column; gap: 7px; min-width: 170px; margin: 0; }
#tgp-ros-root .tgp-ros-ap__editor select,
#tgp-ros-root .tgp-ros-ap__editor input[type="datetime-local"] { height: 40px !important; padding: 0 12px !important; border-radius: 10px !important; background: rgba(12, 12, 18, .6) !important; border: 1px solid rgba(168, 85, 247, .25) !important; color: var(--tgp-text, #f4f4f5) !important; font-size: 13px !important; }
#tgp-ros-root .tgp-ros-ap__editor select:focus,
#tgp-ros-root .tgp-ros-ap__editor input[type="datetime-local"]:focus,
#tgp-ros-root .tgp-ros-ap__editor textarea:focus { border-color: rgba(192, 132, 252, .6) !important; outline: none !important; box-shadow: 0 0 0 3px rgba(168, 85, 247, .14) !important; }
#tgp-ros-root .tgp-ros-ap__editor .tgp-ros-btn { height: 40px !important; display: inline-flex !important; align-items: center !important; white-space: nowrap !important; }
.tgp-ros-ap__editrow--caps { align-items: flex-end; }
.tgp-ros-ap__editrow--caps .tgp-ros-adfield { flex: 1 1 240px; }
#tgp-ros-root .tgp-ros-ap__editor textarea { width: 100%; resize: vertical; border-radius: 10px !important; background: rgba(12, 12, 18, .6) !important; border: 1px solid rgba(168, 85, 247, .25) !important; color: var(--tgp-text, #f4f4f5) !important; font-size: 13px !important; padding: 10px 12px !important; line-height: 1.55 !important; }
.tgp-ros-ap__editnote { font-size: 11px; color: #b8a1e0; text-transform: none; letter-spacing: 0; align-self: center; margin: 0; }

/* Analytics (subscribers) */
.tgp-ros-ap__analytics { padding: 30px 34px; border-radius: 22px; background: linear-gradient(160deg, rgba(44, 24, 78, .55), rgba(18, 12, 30, .65)); border: 1px solid rgba(168, 85, 247, .3); box-shadow: 0 20px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05); position: relative; overflow: hidden; }
.tgp-ros-ap__analytics::before { content: ''; position: absolute; top: -160px; right: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .18), transparent 70%); pointer-events: none; }
.tgp-ros-ap__anhead { margin-bottom: 20px; position: relative; z-index: 1; }
.tgp-ros-ap__antiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; position: relative; z-index: 1; }
.tgp-ros-ap__antile { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: 13px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.tgp-ros-ap__annum { font-size: 22px; font-weight: 800; background: linear-gradient(92deg, #a855f7, #f0abfc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tgp-ros-ap__anlabel { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tgp-text-faint, #8b8b93); }
.tgp-ros-ap__anchart { display: flex; align-items: flex-end; gap: 10px; height: 130px; padding: 0 4px 22px; border-bottom: 1px dashed rgba(255, 255, 255, .1); margin-bottom: 18px; position: relative; z-index: 1; }
.tgp-ros-ap__anbarwrap { flex: 1; max-width: 54px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; position: relative; }
.tgp-ros-ap__anbar { display: block; width: 100%; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #f0abfc, #7c3aed); animation: tgpRosApBar 1s cubic-bezier(.2, .8, .3, 1) backwards; transform-origin: bottom; }
.tgp-ros-ap__anbarlabel { position: absolute; bottom: -20px; font-size: 10px; color: var(--tgp-text-faint, #71717a); white-space: nowrap; }
.tgp-ros-ap__anmeta { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; position: relative; z-index: 1; }
.tgp-ros-ap__anboardtitle { display: block; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--tgp-text-faint, #8b8b93); margin-bottom: 10px; }
.tgp-ros-ap__anboardrow { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 12.5px; color: var(--tgp-text, #e4e4e7); }
.tgp-ros-ap__anboardrow > span:first-child { flex: 0 0 110px; }
.tgp-ros-ap__anboardbar { flex: 1; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.tgp-ros-ap__anboardbar b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(92deg, #7c3aed, #f0abfc); }
.tgp-ros-ap__anboardrow em { font-style: normal; font-size: 11.5px; font-weight: 700; color: #d8b4fe; min-width: 40px; text-align: right; }
.tgp-ros-ap__anfacts p { margin: 0 0 10px; font-size: 13px; line-height: 1.55; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-ap__anempty { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--tgp-text-dim, #a1a1aa); max-width: 560px; position: relative; z-index: 1; }
@media (max-width: 760px) {
	.tgp-ros-ap__antiles { grid-template-columns: 1fr 1fr; }
	.tgp-ros-ap__anmeta { grid-template-columns: 1fr; }
	.tgp-ros-ap__analytics { padding: 22px 20px; }
}

.tgp-ros-ap__phasechip { display: inline-block; margin-left: 4px; padding: 2px 9px; border-radius: 999px; background: rgba(96, 165, 250, .1); border: 1px solid rgba(96, 165, 250, .3); color: #93c5fd; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; vertical-align: 1px; }

/* Phase-chip tooltip: hover or tap (focus) shows the why */
.tgp-ros-ap__phasechip { position: relative; cursor: help; }
.tgp-ros-ap__phasechip::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 0; width: 250px; padding: 10px 13px; border-radius: 10px; background: rgba(18, 16, 26, .98); border: 1px solid rgba(168, 85, 247, .4); box-shadow: 0 12px 34px rgba(0, 0, 0, .55); color: #d9d3e6; font-size: 11.5px; font-weight: 500; line-height: 1.55; letter-spacing: 0; text-transform: none; white-space: normal; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; pointer-events: none; z-index: 40; }
.tgp-ros-ap__phasechip:hover::after, .tgp-ros-ap__phasechip:focus::after { opacity: 1; visibility: visible; transform: translateY(0); }
.tgp-ros-ap__phasechip:focus { outline: none; box-shadow: 0 0 0 3px rgba(96, 165, 250, .2); }

/* v0.52: roster/pause/notes/recap/streak */
.tgp-ros-ap__notechip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: linear-gradient(92deg, rgba(124, 58, 237, .3), rgba(240, 171, 252, .16)); border: 1px solid rgba(192, 132, 252, .5); color: #f3e8ff; font-size: 10px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.tgp-ros-ap__pauserow { display: flex; align-items: center; gap: 10px; margin-top: 7px; }
.tgp-ros-ap__pausedchip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(96, 165, 250, .1); border: 1px solid rgba(96, 165, 250, .35); color: #93c5fd; font-size: 12.5px; font-weight: 700; }
#tgp-ros-root .tgp-ros-ap__grid input[type="date"] { height: 40px; padding: 0 12px; border-radius: 10px; background: rgba(12, 12, 18, .5); border: 1px solid rgba(255, 255, 255, .13); color: var(--tgp-text, #f4f4f5); font-size: 13px; margin-top: 7px; width: 100%; }
.tgp-ros-ap__slotnets { display: flex; gap: 12px; align-items: center; height: 40px; }
.tgp-ros-ap__slotnets label { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--tgp-text, #e4e4e7); text-transform: none; letter-spacing: 0; font-weight: 600; cursor: pointer; margin: 0; }
.tgp-ros-ap__slotnets input { accent-color: #a855f7; width: 15px; height: 15px; margin: 0; }
.tgp-ros-ap__anhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-ap__recapbtn { white-space: nowrap !important; }
.tgp-ros-appromo__streak { display: inline-flex; align-items: center; gap: 4px; padding: 3px 11px; border-radius: 999px; background: rgba(251, 146, 60, .12); border: 1px solid rgba(251, 146, 60, .4); color: #fdba74; font-size: 11px; font-weight: 800; letter-spacing: .03em; }

.tgp-ros-ap__fieldnote { display: block; margin-top: 6px; font-size: 11px; line-height: 1.5; color: var(--tgp-text-faint, #71717a); text-transform: none; letter-spacing: 0; font-weight: 500; }

/* Vacation modal + schedule head actions */
.tgp-ros-ap__headactions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tgp-ros-ap__modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.tgp-ros-ap__modalback { position: absolute; inset: 0; background: rgba(8, 8, 12, .7); backdrop-filter: blur(6px); }
.tgp-ros-ap__modalpanel { position: relative; width: 100%; max-width: 400px; padding: 26px 28px 24px; border-radius: 18px; background: linear-gradient(165deg, #221636, #14101f); border: 1px solid rgba(168, 85, 247, .4); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.tgp-ros-ap__modaltitle { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ap__modalsub { margin: 0 0 18px; font-size: 13px; line-height: 1.6; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-ap__modalpanel .tgp-ros-adfield { display: flex; flex-direction: column; gap: 7px; }
#tgp-ros-root .tgp-ros-ap__modalpanel input[type="date"] { height: 42px; padding: 0 12px; border-radius: 10px; background: rgba(12, 12, 18, .6); border: 1px solid rgba(168, 85, 247, .3); color: var(--tgp-text, #f4f4f5); font-size: 14px; width: 100%; color-scheme: dark; }
.tgp-ros-ap__modalbtns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* Bare modal panels (Plan a release, label modal): the global card-padding
   rule excludes modal panels and the styled variants pad themselves — these
   three had nothing. Generous padding per the house spacing rule. */
#tgp-ros-root .tgp-ros-modal__panel.tgp-card:not(.tgp-ros-linkmodal):not(.tgp-ros-optmodal):not(.tgp-ros-statsmodal) { padding: 26px 28px 28px; }
#tgp-ros-root .tgp-ros-modal__panel.tgp-card:not(.tgp-ros-linkmodal):not(.tgp-ros-optmodal):not(.tgp-ros-statsmodal) .tgp-card__head { margin-bottom: 20px; }
#tgp-ros-root .tgp-ros-modal__panel.tgp-card:not(.tgp-ros-linkmodal):not(.tgp-ros-optmodal):not(.tgp-ros-statsmodal) .tgp-ros-form__note { margin: 18px 0; }
#tgp-ros-root .tgp-ros-modal__panel.tgp-card:not(.tgp-ros-linkmodal):not(.tgp-ros-optmodal):not(.tgp-ros-statsmodal) .tgp-ros-form__actions { margin-top: 4px; display: flex; gap: 10px; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-modal__panel.tgp-card:not(.tgp-ros-linkmodal):not(.tgp-ros-optmodal):not(.tgp-ros-statsmodal) { padding: 20px 18px 22px; }
}

/* Autopilot add-on card on the Upgrade page */
.tgp-ros-ap-addon { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; margin: 26px 0 20px; padding: 22px 26px; border-radius: 16px; background: linear-gradient(120deg, rgba(88, 40, 160, .22), rgba(30, 18, 52, .4) 60%); border: 1px solid rgba(168, 85, 247, .35); }
.tgp-ros-ap-addon__title { margin: 4px 0 6px; font-size: 18px; font-weight: 800; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ap-addon__sub { margin: 0; font-size: 13px; line-height: 1.6; color: var(--tgp-text-dim, #a1a1aa); max-width: 520px; }
.tgp-ros-ap-addon__cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tgp-ros-ap-addon__chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: var(--tgp-text-dim, #a1a1aa); font-size: 12px; font-weight: 700; }
.tgp-ros-ap-addon__chip--on { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .4); color: #6ee7b7; }

.tgp-ros-topup.is-soon { opacity: .65; }
.tgp-ros-topup__soon { display: inline-flex; align-self: flex-start; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: var(--tgp-text-faint, #8b8b93); font-size: 11.5px; font-weight: 700; }

.tgp-ros-ap__ctarow { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── New-release modal ── */
#tgp-ros-root .tgp-ros-newrel { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 16px; }
#tgp-ros-root .tgp-ros-newrel__art { flex: 0 0 128px; width: 128px; height: 128px; border: 1.5px dashed rgba(255,255,255,.22); border-radius: 14px; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; position: relative; transition: border-color .18s; }
#tgp-ros-root .tgp-ros-newrel__art:hover { border-color: rgba(168,85,247,.65); }
#tgp-ros-root .tgp-ros-newrel__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#tgp-ros-root .tgp-ros-newrel__artempty { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.55); text-align: center; }
#tgp-ros-root .tgp-ros-newrel__artempty small { font-size: 10px; opacity: .6; }
#tgp-ros-root .tgp-ros-newrel__main { flex: 1; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
#tgp-ros-root .tgp-ros-newrel__audio { display: flex; align-items: center; gap: 10px; border: 1.5px dashed rgba(255,255,255,.2); border-radius: 12px; padding: 12px 16px; cursor: pointer; color: rgba(255,255,255,.8); font-size: 13.5px; margin-top: 14px; transition: border-color .18s; }
#tgp-ros-root .tgp-ros-newrel__audio:hover { border-color: rgba(168,85,247,.65); }
#tgp-ros-root .tgp-ros-newrel__audionote { margin-top: 6px !important; }
#tgp-ros-root .tgp-ros-newrel__more { margin-top: 14px; }
#tgp-ros-root .tgp-ros-newrel__more summary { cursor: pointer; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 10px; }
@media (max-width: 560px) {
	#tgp-ros-root .tgp-ros-newrel { flex-direction: column; }
	#tgp-ros-root .tgp-ros-newrel__art { width: 100%; flex-basis: auto; height: 110px; }
}

/* ── Overview: cover + Canvas visuals ── */
#tgp-ros-root .tgp-ros-overview__visuals { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; padding-top: 16px; margin-top: 16px; border-top: 1px dashed rgba(255,255,255,.12); width: 100%; }
#tgp-ros-root .tgp-ros-ovis { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
#tgp-ros-root .tgp-ros-ovis__label { font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.5); }
#tgp-ros-root .tgp-ros-ovis__cover { width: 92px; height: 92px; border-radius: 10px; object-fit: cover; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
#tgp-ros-root .tgp-ros-ovis__empty { width: 92px; height: 92px; border: 1.5px dashed rgba(255,255,255,.18); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); }
#tgp-ros-root .tgp-ros-ovis__canvas { width: 52px; height: 92px; border-radius: 9px; object-fit: cover; box-shadow: 0 10px 24px rgba(0,0,0,.4); background: #000; }
#tgp-ros-root .tgp-ros-ovis__dl { font-size: 11.5px; color: rgba(255,255,255,.6); text-decoration: none; }
#tgp-ros-root .tgp-ros-ovis__dl:hover { color: #e9d5ff; }
#tgp-ros-root .tgp-ros-ovis__cta { margin-top: 26px; }
#tgp-ros-root .tgp-ros-ovis__why { flex: 1 1 260px; font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.55); margin: 20px 0 0 !important; }

/* ── Aesthetic-cut creator + panel ── */
#tgp-ros-root .tgp-ros-creator__icon.is-aesthetic { background: linear-gradient(135deg, rgba(240,171,252,.22), rgba(168,85,247,.22)); color: #f0abfc; }
#tgp-ros-root .tgp-ros-aeschook { display: flex; gap: 10px; margin-top: 14px; }
#tgp-ros-root .tgp-ros-aeschook .tgp-field { flex: 1; }

/* ── In-place cover/audio upload on the release page ── */
#tgp-ros-root .tgp-ros-ovis__artzone { position: relative; display: block; cursor: pointer; }
#tgp-ros-root .tgp-ros-ovis__artzone .tgp-ros-ovis__hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; border-radius: 10px; opacity: 0; transition: opacity .15s; }
#tgp-ros-root .tgp-ros-ovis__artzone:hover .tgp-ros-ovis__hover { opacity: 1; }
#tgp-ros-root .tgp-ros-ovis__artzone .tgp-ros-ovis__empty { cursor: pointer; flex-direction: column; gap: 4px; display: flex; }
#tgp-ros-root .tgp-ros-ovis__artzone:hover .tgp-ros-ovis__empty { border-color: rgba(168,85,247,.65); color: rgba(255,255,255,.6); }
#tgp-ros-root .tgp-ros-ovis__audiozone { display: flex; align-items: center; gap: 8px; border: 1.5px dashed rgba(255,255,255,.2); border-radius: 10px; padding: 10px 14px; cursor: pointer; color: rgba(255,255,255,.75); font-size: 12.5px; max-width: 240px; transition: border-color .15s; }
#tgp-ros-root .tgp-ros-ovis__audiozone:hover { border-color: rgba(168,85,247,.65); }
#tgp-ros-root .tgp-ros-ovis__audiozone span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Release modal v3: compact segs + creating animation ── */
#tgp-ros-root #tgp-ros-release-modal .tgp-ros-seg { display: flex !important; flex-wrap: wrap; gap: 6px; }
#tgp-ros-root #tgp-ros-release-modal .tgp-ros-seg__opt { padding: 7px 14px !important; font-size: 12.5px !important; border-radius: 999px !important; }
#tgp-ros-root .tgp-ros-newrel__artcol { display: flex; flex-direction: column; gap: 7px; flex: 0 0 128px; }
#tgp-ros-root .tgp-ros-newrel__artcol .tgp-ros-newrel__art { flex-basis: auto; }
#tgp-ros-root .tgp-ros-newrel__artnote { font-size: 10.5px; color: rgba(255,255,255,.45); text-align: center; line-height: 1.4; }
#tgp-ros-root .tgp-ros-modal__panel { position: relative; }
#tgp-ros-root .tgp-ros-modal__panel.is-creating form { filter: blur(2px); opacity: .3; pointer-events: none; transition: filter .25s, opacity .25s; }
#tgp-ros-root .tgp-ros-newrel-progress { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; z-index: 5; padding: 24px; background: var(--tgp-surface-high, #18181b); border-radius: inherit; overflow: auto; }
/* Parts step: a real form, not a wait — no spinner or slider bar while the artist is choosing. */
#tgp-ros-root .tgp-ros-newrel-progress.is-parts { justify-content: flex-start; }
#tgp-ros-root .tgp-ros-newrel-progress.is-parts .tgp-ros-newrel-progress__ring, #tgp-ros-root .tgp-ros-newrel-progress.is-parts .tgp-ros-newrel-progress__bar { display: none; }
#tgp-ros-root .tgp-ros-newrel-progress.is-parts strong { margin-top: 8px; font-size: 17px; }
#tgp-ros-root .tgp-ros-newrel-progress strong { font-size: 15.5px; color: #fff; letter-spacing: .01em; }
#tgp-ros-root .tgp-ros-newrel-progress__ring { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(168,85,247,.25); border-top-color: #a855f7; animation: tgpRosSpin 0.9s linear infinite; }
#tgp-ros-root .tgp-ros-newrel-progress__bar { width: 200px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
#tgp-ros-root .tgp-ros-newrel-progress__bar span { display: block; height: 100%; width: 40%; border-radius: 99px; background: linear-gradient(90deg, #a855f7, #f0abfc); animation: tgpRosBarSlide 1.2s ease-in-out infinite; }
@keyframes tgpRosSpin { to { transform: rotate(360deg); } }
@keyframes tgpRosBarSlide { 0% { transform: translateX(-110%); } 100% { transform: translateX(280%); } }

/* ── Autopilot: own-video upload + ideas card ── */
#tgp-ros-root .tgp-ros-ap__ownvideo { display: flex; align-items: center; gap: 10px; cursor: pointer; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-ap__ideascard .tgp-ros-ap__ideaslist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
#tgp-ros-root .tgp-ros-ap__ideaslist li { border: 1px dashed rgba(255,255,255,.14); border-radius: 12px; padding: 12px 16px; font-size: 13.5px; color: rgba(255,255,255,.82); line-height: 1.5; }
#tgp-ros-root .tgp-ros-ap__ideashead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }

/* ── Dashboard growth tiles ── */
#tgp-ros-root .tgp-ros-gstats { position: relative; }
#tgp-ros-root .tgp-ros-gstats__delta { font-size: 12px; font-weight: 700; margin-left: 6px; vertical-align: 6px; }
#tgp-ros-root .tgp-ros-gstats__delta.is-up { color: #4ade80; }
#tgp-ros-root .tgp-ros-gstats__delta.is-down { color: #f87171; }
#tgp-ros-root .tgp-ros-gstats__more { position: absolute; right: 14px; top: -26px; font-size: 12px; color: rgba(255,255,255,.55); text-decoration: none; }
#tgp-ros-root .tgp-ros-gstats__more:hover { color: #e9d5ff; }

/* ── Pitch Hub: directory browser + pitch writer ─────────────────────── */

#tgp-ros-root .tgp-ros-pitchdir__counts { font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); }

/* Directory header count summary: a quiet lead total + a muted breakdown line
   (no colored pills — reads as one clean statement). */
#tgp-ros-root .tgp-ros-dircounts__sub {
	margin: 5px 0 0; font-size: 13px; color: var(--tgp-text-dim, #a1a1aa);
}
#tgp-ros-root .tgp-ros-dircounts { margin-top: 16px; }
#tgp-ros-root .tgp-ros-dircounts__total {
	display: block; font-size: 13px; color: #71717a;
}
#tgp-ros-root .tgp-ros-dircounts__total b {
	font-size: 25px; font-weight: 700; color: var(--tgp-text, #f4f4f5);
	font-variant-numeric: tabular-nums; margin-right: 6px; vertical-align: -2px;
}
#tgp-ros-root .tgp-ros-dircounts__break {
	display: block; margin-top: 8px; font-size: 13px; line-height: 1.7;
	color: var(--tgp-text-dim, #a1a1aa);
}
#tgp-ros-root .tgp-ros-dircounts__break b {
	color: #e4e4e7; font-weight: 700; font-variant-numeric: tabular-nums;
}
#tgp-ros-root .tgp-ros-dircounts__sep { margin: 0 9px; color: #3f3f46; }
#tgp-ros-root .tgp-ros-pitchdir__bar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	margin: 4px 0 18px; padding-bottom: 16px;
	border-bottom: 1px dashed var(--tgp-border, rgba(255,255,255,.12));
}
#tgp-ros-root .tgp-ros-pitchdir__types { display: inline-flex; gap: 6px; flex-shrink: 0; }
#tgp-ros-root .tgp-ros-pitchdir__type {
	display: inline-flex !important; align-items: center; gap: 7px;
	padding: 8px 15px !important; border-radius: 999px !important;
	border: 1px solid var(--tgp-border, rgba(255,255,255,.12)) !important;
	background: rgba(255,255,255,.04) !important;
	color: var(--tgp-text-dim, #a1a1aa) !important;
	font-size: 12.5px !important; font-weight: 600 !important; line-height: 1.4 !important;
	cursor: pointer; width: auto !important; text-transform: none !important; letter-spacing: 0 !important;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
#tgp-ros-root .tgp-ros-pitchdir__type:hover { color: var(--tgp-text, #f4f4f5) !important; border-color: rgba(255,255,255,.25) !important; }
#tgp-ros-root .tgp-ros-pitchdir__type.is-active {
	background: linear-gradient(135deg, #9333ea, #c026d3) !important;
	border-color: transparent !important; color: #fff !important;
	box-shadow: 0 4px 14px rgba(147, 51, 234, .35);
}
#tgp-ros-root .tgp-ros-pitchdir__genre,
#tgp-ros-root .tgp-ros-pitchdir__bar select { max-width: 220px; }
#tgp-ros-root .tgp-ros-pitchdir__search { flex: 1 1 160px; min-width: 140px; }
#tgp-ros-root .tgp-ros-pitchdir__contact {
	display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
	font-size: 12.5px; font-weight: 600; color: var(--tgp-text-dim, #a1a1aa); cursor: pointer;
}
#tgp-ros-root .tgp-ros-pitchdir__contact input { accent-color: #9333ea; width: 15px; height: 15px; cursor: pointer; }
#tgp-ros-root .tgp-ros-pitchdir__loading {
	display: flex; align-items: center; gap: 10px; padding: 26px 4px;
	font-size: 13px; color: #e9d5ff;
}
#tgp-ros-root .tgp-ros-pdlist { list-style: none; margin: 0; padding: 0; }
#tgp-ros-root .tgp-ros-pdrow {
	display: flex; align-items: center; gap: 14px;
	padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.06);
}
#tgp-ros-root .tgp-ros-pdrow:last-child { border-bottom: 0; }
#tgp-ros-root .tgp-ros-pdrow__img {
	width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
	background: rgba(255,255,255,.05);
}
#tgp-ros-root span.tgp-ros-pdrow__img--ph {
	display: inline-flex; align-items: center; justify-content: center;
	color: rgba(255,255,255,.35);
}
#tgp-ros-root .tgp-ros-pdrow__info { flex: 1 1 auto; min-width: 0; }
#tgp-ros-root .tgp-ros-pdrow__name { margin: 0 0 4px; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-pdrow__name a { color: var(--tgp-text, #f4f4f5); text-decoration: none; }
#tgp-ros-root .tgp-ros-pdrow__name a:hover { color: #e9d5ff; }
#tgp-ros-root .tgp-ros-pdrow__meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#tgp-ros-root .tgp-ros-pdgenre {
	display: inline-flex; padding: 2.5px 9px; border-radius: 999px;
	background: rgba(147, 51, 234, .14); color: #d8b4fe;
	font-size: 11px; font-weight: 600; text-transform: capitalize;
}
#tgp-ros-root .tgp-ros-pdrow__stats { font-size: 12px; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-pdrow__side { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
#tgp-ros-root .tgp-ros-pdbadge {
	display: inline-flex; padding: 3px 10px; border-radius: 999px;
	border: 1px solid rgba(74, 222, 128, .35); color: #4ade80;
	font-size: 11px; font-weight: 600; white-space: nowrap;
}
#tgp-ros-root .tgp-ros-pdadded {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 12px; font-weight: 600; color: #4ade80; white-space: nowrap;
}
#tgp-ros-root .tgp-ros-pitchdir__foot {
	display: flex; align-items: center; justify-content: center; gap: 14px;
	margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06);
}
#tgp-ros-root .tgp-ros-pitchdir__page { font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); }

/* CRM row extras */
#tgp-ros-root .tgp-ros-typechip {
	display: inline-flex; padding: 2px 8px; margin-right: 7px; border-radius: 6px;
	font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	vertical-align: 2px;
}
#tgp-ros-root .tgp-ros-typechip--label { background: rgba(147, 51, 234, .16); color: #d8b4fe; }
#tgp-ros-root .tgp-ros-typechip--playlist { background: rgba(34, 211, 238, .13); color: #67e8f9; }
#tgp-ros-root .tgp-ros-labelrow__pitch { display: inline-flex !important; align-items: center; gap: 6px; white-space: nowrap; }

/* Pitch modal */
.tgp-ros-pitchmodal { max-width: 640px; }
#tgp-ros-root .tgp-ros-pitchmodal__target { margin: 2px 0 16px; font-size: 13.5px; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-pitchmodal__target strong { color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-pitchmodal__email { font-size: 12.5px; }
#tgp-ros-root .tgp-ros-pitchmodal__setup {
	display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end;
}
#tgp-ros-root .tgp-ros-pitchmodal__setup .tgp-ros-btn { grid-column: 1 / -1; justify-self: start; }
#tgp-ros-root .tgp-ros-pitchmodal__writing {
	display: flex; align-items: center; gap: 10px; margin-top: 18px;
	font-size: 13.5px; font-weight: 600; color: #e9d5ff !important;
}
#tgp-ros-root .tgp-ros-pitchmodal__cooldown {
	margin-top: 18px; padding: 14px 16px; border-radius: 12px;
	border: 1px solid rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .08);
}
#tgp-ros-root .tgp-ros-pitchmodal__cooldown p { margin: 0 0 10px; font-size: 13px; color: #fcd34d; }
#tgp-ros-root .tgp-ros-pitchmodal__result { margin-top: 18px; display: grid; gap: 14px; }
#tgp-ros-root .tgp-ros-pitchmodal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#tgp-ros-root .tgp-ros-pitchmodal__actions .tgp-ros-btn { display: inline-flex !important; align-items: center; gap: 7px; }
#tgp-ros-root .tgp-ros-pitchmodal__note { margin: 2px 0 0; font-size: 12px; color: var(--tgp-text-dim, #a1a1aa); }

@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-pitchdir__bar { flex-direction: column; align-items: stretch; }
	#tgp-ros-root .tgp-ros-pitchdir__genre, #tgp-ros-root .tgp-ros-pitchdir__bar select { max-width: none; }
	#tgp-ros-root .tgp-ros-pdrow { flex-wrap: wrap; }
	#tgp-ros-root .tgp-ros-pdrow__side { width: 100%; justify-content: flex-end; }
	#tgp-ros-root .tgp-ros-pitchmodal__setup { grid-template-columns: 1fr; }
}
/* hidden must beat the display:inline-flex !important pins above */
#tgp-ros-root .tgp-ros-pitchmodal__actions [hidden],
#tgp-ros-root .tgp-ros-pitchdir [hidden] { display: none !important; }

/* ── Pitch Hub v2: match ranking, community stats, groups, demo chips ── */

#tgp-ros-root .tgp-ros-pitchdir__matchbar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	margin: 2px 0 14px; padding: 12px 14px; border-radius: 12px;
	background: linear-gradient(135deg, rgba(147, 51, 234, .1), rgba(192, 38, 211, .06));
	border: 1px solid rgba(168, 85, 247, .22);
}
#tgp-ros-root .tgp-ros-pitchdir__matchlabel {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 12.5px; font-weight: 700; color: #d8b4fe; white-space: nowrap;
}
#tgp-ros-root .tgp-ros-pitchdir__matchbar select { max-width: 340px; flex: 1 1 220px; }
#tgp-ros-root .tgp-ros-pitchdir__matchnote { font-size: 12px; color: #a78bfa; }

#tgp-ros-root .tgp-ros-matchchip {
	display: inline-flex; padding: 2.5px 9px; margin-right: 8px; border-radius: 999px;
	font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
	background: rgba(168, 85, 247, .15); color: #c4b5fd;
	vertical-align: 2px;
}
#tgp-ros-root .tgp-ros-matchchip.is-strong {
	background: linear-gradient(135deg, #9333ea, #c026d3); color: #fff;
	box-shadow: 0 2px 10px rgba(147, 51, 234, .4);
}
#tgp-ros-root .tgp-ros-pdrow__community {
	font-size: 11.5px; color: #86efac; font-weight: 600;
}
#tgp-ros-root .tgp-ros-pdrow__main {
	display: flex; align-items: center; gap: 14px; width: 100%; cursor: pointer;
}
#tgp-ros-root .tgp-ros-pdrow { flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-pdrow.is-open { background: rgba(255,255,255,.025); border-radius: 12px; }
#tgp-ros-root .tgp-ros-pdrow__detail {
	width: 100%; padding: 4px 8px 12px 58px;
}
#tgp-ros-root .tgp-ros-pddetail__desc {
	margin: 0 0 10px; font-size: 12.5px; line-height: 1.55; color: var(--tgp-text-dim, #a1a1aa);
}
#tgp-ros-root .tgp-ros-pddetail__row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
#tgp-ros-root .tgp-ros-pddetail__contact {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 4px 11px; border-radius: 8px; font-size: 12px; font-weight: 600;
	background: rgba(74, 222, 128, .08); border: 1px solid rgba(74, 222, 128, .25);
	color: #86efac; text-decoration: none;
}
#tgp-ros-root .tgp-ros-pddetail__copy {
	border: 0; background: rgba(255,255,255,.1) !important; color: #e4e4e7 !important;
	font-size: 10.5px !important; font-weight: 700; padding: 2px 8px !important;
	border-radius: 6px !important; cursor: pointer; width: auto !important;
	text-transform: none !important; letter-spacing: 0 !important; line-height: 1.5 !important;
}
#tgp-ros-root .tgp-ros-pddetail__social {
	display: inline-flex; padding: 3px 10px; border-radius: 8px;
	font-size: 11.5px; font-weight: 600; text-transform: capitalize;
	background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
	color: #d4d4d8; text-decoration: none;
}
#tgp-ros-root .tgp-ros-pddetail__social:hover { border-color: rgba(255,255,255,.3); }

/* Pipeline groups + filters */
#tgp-ros-root .tgp-ros-pipeline__headtools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-pipeline__filters { display: inline-flex; gap: 5px; }
#tgp-ros-root .tgp-ros-plfilter {
	display: inline-flex !important; padding: 6px 13px !important; border-radius: 999px !important;
	border: 1px solid var(--tgp-border, rgba(255,255,255,.12)) !important;
	background: rgba(255,255,255,.04) !important;
	color: var(--tgp-text-dim, #a1a1aa) !important;
	font-size: 12px !important; font-weight: 600 !important; line-height: 1.4 !important;
	cursor: pointer; width: auto !important; text-transform: none !important; letter-spacing: 0 !important;
}
#tgp-ros-root .tgp-ros-plfilter.is-active {
	background: rgba(147, 51, 234, .18) !important;
	border-color: rgba(168, 85, 247, .45) !important; color: #e9d5ff !important;
}
#tgp-ros-root .tgp-ros-plgroup { margin-bottom: 22px; }
#tgp-ros-root .tgp-ros-plgroup:last-child { margin-bottom: 0; }
#tgp-ros-root .tgp-ros-plgroup__title {
	display: flex; align-items: center; gap: 9px; margin: 0 0 4px;
	font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
	color: var(--tgp-text-dim, #a1a1aa);
}
#tgp-ros-root .tgp-ros-plgroup__count {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
	background: rgba(255,255,255,.07); font-size: 11px; color: #d4d4d8;
}
#tgp-ros-root .tgp-ros-labelrow__release {
	display: inline-flex; align-items: center; gap: 5px; margin-left: 9px;
	padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600;
	background: rgba(34, 211, 238, .1); color: #67e8f9; vertical-align: 2px;
}
#tgp-ros-root .tgp-ros-labelrow__demo { margin: 5px 0 0; }
#tgp-ros-root .tgp-ros-demochip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 3.5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
	background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
	color: var(--tgp-text-dim, #a1a1aa);
}
#tgp-ros-root .tgp-ros-demochip.is-hot {
	background: rgba(74, 222, 128, .1); border-color: rgba(74, 222, 128, .35);
	color: #4ade80;
}

/* Composer v2 */
#tgp-ros-root .tgp-ros-pitchmodal__styles { display: flex; gap: 7px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-stylechip {
	display: inline-flex !important; padding: 7px 14px !important; border-radius: 999px !important;
	border: 1px solid var(--tgp-border, rgba(255,255,255,.12)) !important;
	background: rgba(255,255,255,.04) !important;
	color: var(--tgp-text-dim, #a1a1aa) !important;
	font-size: 12px !important; font-weight: 600 !important; line-height: 1.4 !important;
	cursor: pointer; width: auto !important; text-transform: none !important; letter-spacing: 0 !important;
}
#tgp-ros-root .tgp-ros-stylechip.is-active {
	background: var(--tgp-accent, #9333ea) !important;
	border-color: var(--tgp-accent, #9333ea) !important; color: #fff !important;
}
#tgp-ros-root .tgp-ros-pitchmodal__demonote {
	display: flex; align-items: center; gap: 8px; margin: 0;
	padding: 10px 14px; border-radius: 10px; font-size: 12.5px;
	background: rgba(74, 222, 128, .07); border: 1px solid rgba(74, 222, 128, .25);
	color: #86efac;
}
#tgp-ros-root .tgp-ros-pitchmodal__demonote a { color: #4ade80; font-weight: 700; text-decoration: none; margin-left: auto; }

/* ── Pitch Hub v3: curator radar + brand icons ───────────────────────── */

#tgp-ros-root .tgp-ros-radar__pulse {
	display: inline-block; width: 9px; height: 9px; border-radius: 50%;
	background: #4ade80; margin-right: 9px; vertical-align: 1px;
	box-shadow: 0 0 0 0 rgba(74, 222, 128, .55);
	animation: tgpRosPulse 2s infinite;
}
@keyframes tgpRosPulse {
	0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); }
	70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
	100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
#tgp-ros-root .tgp-ros-radar__section { margin-top: 6px; }
#tgp-ros-root .tgp-ros-radar__section + .tgp-ros-radar__section { margin-top: 16px; }
#tgp-ros-root .tgp-ros-radar__label {
	margin: 0 0 9px; font-size: 11.5px; font-weight: 700;
	letter-spacing: .07em; text-transform: uppercase;
	color: var(--tgp-text-dim, #a1a1aa);
}
#tgp-ros-root .tgp-ros-radar__rail {
	display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px;
	scrollbar-width: thin;
}
#tgp-ros-root .tgp-ros-radarcard {
	display: flex; align-items: center; gap: 11px; flex: 0 0 auto;
	min-width: 250px; max-width: 300px; padding: 11px 13px;
	border-radius: 13px; background: rgba(255,255,255,.035);
	border: 1px solid rgba(255,255,255,.08);
}
#tgp-ros-root .tgp-ros-radarcard__img {
	width: 40px; height: 40px; border-radius: 9px; object-fit: cover; flex-shrink: 0;
	background: rgba(255,255,255,.05);
}
#tgp-ros-root span.tgp-ros-radarcard__img--ph {
	display: inline-flex; align-items: center; justify-content: center;
	color: rgba(255,255,255,.35);
}
#tgp-ros-root .tgp-ros-radarcard__info { flex: 1 1 auto; min-width: 0; }
#tgp-ros-root .tgp-ros-radarcard__name {
	margin: 0 0 3px; font-size: 12.5px; font-weight: 700;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	color: var(--tgp-text, #f4f4f5);
}
#tgp-ros-root .tgp-ros-radarcard__sub {
	margin: 0; font-size: 11px; color: var(--tgp-text-dim, #a1a1aa);
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
#tgp-ros-root .tgp-ros-radarcard .tgp-ros-btn { flex-shrink: 0; }

/* Brand social icons */
#tgp-ros-root .tgp-ros-pddetail__social {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; padding: 0; border-radius: 9px;
	background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
	color: #a1a1aa; text-decoration: none;
	transition: color .15s ease, border-color .15s ease, transform .15s ease;
}
#tgp-ros-root .tgp-ros-pddetail__social svg { width: 17px; height: 17px; display: block; }
#tgp-ros-root .tgp-ros-pddetail__social:hover { transform: translateY(-1.5px); border-color: rgba(255,255,255,.3); }
#tgp-ros-root .tgp-ros-pddetail__social.is-soundcloud:hover { color: #ff5500; }
#tgp-ros-root .tgp-ros-pddetail__social.is-facebook:hover { color: #1877f2; }
#tgp-ros-root .tgp-ros-pddetail__social.is-youtube:hover { color: #ff0033; }
#tgp-ros-root .tgp-ros-pddetail__social.is-instagram:hover { color: #e1306c; }
#tgp-ros-root .tgp-ros-pddetail__social.is-spotify:hover { color: #1db954; }
#tgp-ros-root .tgp-ros-pddetail__social.is-beatport:hover { color: #94d500; }
#tgp-ros-root .tgp-ros-pddetail__social.is-bandcamp:hover { color: #629aa9; }
#tgp-ros-root .tgp-ros-pddetail__social.is-tiktok:hover,
#tgp-ros-root .tgp-ros-pddetail__social.is-twitter:hover,
#tgp-ros-root .tgp-ros-pddetail__social.is-x:hover { color: #fff; }
#tgp-ros-root .tgp-ros-pddetail__social.is-mixcloud:hover { color: #5000ff; }
#tgp-ros-root .tgp-ros-pddetail__curator {
	display: inline-flex; align-items: center; padding: 0 10px;
	font-size: 11.5px; color: var(--tgp-text-dim, #a1a1aa);
}

/* ── Pitch Hub v4: modern pass — selection, instant pitch, batch, polish ── */

/* Directory rows: card-like hover, bigger art, refined density */
#tgp-ros-root .tgp-ros-pdlist { display: flex; flex-direction: column; gap: 4px; }
#tgp-ros-root .tgp-ros-pdrow {
	border: 1px solid transparent; border-radius: 14px; padding: 10px 12px;
	transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
#tgp-ros-root .tgp-ros-pdrow:hover {
	background: rgba(255,255,255,.035);
	border-color: rgba(255,255,255,.07);
}
#tgp-ros-root .tgp-ros-pdrow { border-bottom: 0; }
#tgp-ros-root .tgp-ros-pdrow__img { width: 50px; height: 50px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
#tgp-ros-root .tgp-ros-pdrow__name { font-size: 14.5px; }
#tgp-ros-root .tgp-ros-pdrow.is-added { opacity: .92; }
#tgp-ros-root .tgp-ros-pdinpipe {
	display: inline-flex; align-items: center; justify-content: center;
	width: 17px; height: 17px; border-radius: 50%; margin-left: 8px;
	background: rgba(74, 222, 128, .15); color: #4ade80; vertical-align: 1px;
}

/* Custom checkbox */
#tgp-ros-root .tgp-ros-pdrow__check { position: relative; flex-shrink: 0; width: 21px; height: 21px; cursor: pointer; }
#tgp-ros-root .tgp-ros-pdrow__check--void { cursor: default; }
#tgp-ros-root .tgp-ros-pdrow__check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
#tgp-ros-root .tgp-ros-pdrow__check span {
	position: absolute; inset: 0; border-radius: 7px;
	border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.03);
	transition: background .14s ease, border-color .14s ease;
}
#tgp-ros-root .tgp-ros-pdrow__check input:checked + span {
	background: linear-gradient(135deg, #9333ea, #c026d3); border-color: transparent;
}
#tgp-ros-root .tgp-ros-pdrow__check input:checked + span::after {
	content: ''; position: absolute; left: 6.5px; top: 3px;
	width: 5px; height: 9px; border: solid #fff; border-width: 0 2.2px 2.2px 0;
	transform: rotate(45deg);
}

/* Floating selection bar */
#tgp-ros-root .tgp-ros-selbar,
.tgp-ros-selbar {
	/* Lift var mirrors the assistant dock — the bar rides above the Sonaar
	   sticky player whenever it is open. */
	position: fixed; left: 50%; bottom: calc(26px + var(--tgp-mgr-lift, 0px)); transform: translateX(-50%);
	transition: bottom .3s ease;
	z-index: 90; display: flex; align-items: center; gap: 14px;
	padding: 10px 12px 10px 20px; border-radius: 999px;
	background: rgba(18, 18, 22, .92);
	border: 1px solid rgba(168, 85, 247, .4);
	box-shadow: 0 14px 44px rgba(0, 0, 0, .55), 0 0 0 1px rgba(147, 51, 234, .12), 0 6px 24px rgba(147, 51, 234, .25);
	backdrop-filter: blur(18px);
	animation: tgpRosSelIn .22s ease;
}
@keyframes tgpRosSelIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
.tgp-ros-selbar[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-selbar__count,
.tgp-ros-selbar__count { font-size: 13.5px; font-weight: 700; color: #f4f4f5; white-space: nowrap; }
.tgp-ros-selbar .tgp-ros-btn { display: inline-flex !important; align-items: center; gap: 7px; }
.tgp-ros-selbar__clear {
	width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255,255,255,.08) !important; color: #a1a1aa !important;
	font-size: 16px; line-height: 1; display: inline-flex; align-items: center; justify-content: center;
	padding: 0 !important;
}
.tgp-ros-selbar__clear:hover { color: #fff !important; }

/* Pipeline avatars */
#tgp-ros-root .tgp-ros-labelrow { gap: 14px; }
#tgp-ros-root .tgp-ros-labelrow__avatar {
	width: 42px; height: 42px; border-radius: 11px; object-fit: cover; flex-shrink: 0;
	background: rgba(255,255,255,.05); align-self: flex-start; margin-top: 2px;
}
#tgp-ros-root span.tgp-ros-labelrow__avatar--ph {
	display: inline-flex; align-items: center; justify-content: center;
	color: rgba(255,255,255,.3);
}

/* Batch modal */
.tgp-ros-batchmodal { max-width: 720px; }
#tgp-ros-root .tgp-ros-batchmodal__setup { display: grid; gap: 16px; }
#tgp-ros-root .tgp-ros-batchmodal__setup .tgp-ros-btn { justify-self: start; }
#tgp-ros-root .tgp-ros-batchmodal__note { margin: 0; font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-batchmodal__progress {
	display: flex; align-items: center; gap: 10px; margin-top: 16px;
	font-size: 13.5px; font-weight: 600; color: #e9d5ff !important;
}
#tgp-ros-root .tgp-ros-batchmodal__drafts { display: grid; gap: 14px; margin-top: 16px; max-height: 46vh; overflow-y: auto; padding-right: 4px; }
#tgp-ros-root .tgp-ros-btdraft {
	padding: 16px 18px; border-radius: 14px;
	background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
	display: grid; gap: 10px;
}
#tgp-ros-root .tgp-ros-btdraft.is-sent { border-color: rgba(74, 222, 128, .4); }
#tgp-ros-root .tgp-ros-btdraft__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#tgp-ros-root .tgp-ros-btdraft__target { margin: 0; font-size: 13.5px; font-weight: 700; }
#tgp-ros-root .tgp-ros-btdraft__target span { font-weight: 500; color: var(--tgp-text-dim, #a1a1aa); font-size: 12px; margin-left: 7px; }
#tgp-ros-root .tgp-ros-btdraft__status { font-size: 12px; font-weight: 700; color: #4ade80; display: inline-flex; align-items: center; gap: 5px; }
#tgp-ros-root .tgp-ros-btdraft__status em { color: #f87171; font-style: normal; font-weight: 600; }
#tgp-ros-root .tgp-ros-btdraft__actions { display: flex; justify-content: flex-end; }
#tgp-ros-root .tgp-ros-batchmodal__footer {
	display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap;
	padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07);
}
#tgp-ros-root .tgp-ros-batchmodal__footer .tgp-ros-btn { display: inline-flex !important; align-items: center; gap: 8px; }
#tgp-ros-root .tgp-ros-batchmodal__sendnote { font-size: 12px; color: var(--tgp-text-dim, #a1a1aa); flex: 1; min-width: 200px; }

/* Send-now button glow */
#tgp-ros-root .tgp-ros-btn--send {
	box-shadow: 0 4px 18px rgba(147, 51, 234, .45);
}
#tgp-ros-root .tgp-ros-btn--send[hidden] { display: none !important; }

/* Modern polish: card headers get breathing room, badges refined */
#tgp-ros-root .tgp-ros-pdbadge {
	border: 0; background: rgba(74, 222, 128, .1); color: #6ee7a0;
	padding: 4px 11px;
}
#tgp-ros-root .tgp-ros-pitchdir .tgp-card__head { display: block; margin-bottom: 18px; }
#tgp-ros-root .tgp-ros-pdrow__side { gap: 9px; }
#tgp-ros-root .tgp-ros-pdrow__side .tgp-ros-btn { display: inline-flex !important; align-items: center; gap: 6px; white-space: nowrap; }

@media (max-width: 640px) {
	.tgp-ros-selbar { left: 12px; right: 12px; transform: none; justify-content: space-between; padding-left: 16px; }
	#tgp-ros-root .tgp-ros-pdrow__check { display: none; }
	#tgp-ros-root .tgp-ros-batchmodal__drafts { max-height: 52vh; }
}
/* checkbox sits inline with the row (main block no longer claims the full row) */
#tgp-ros-root .tgp-ros-pdrow { align-items: center; }
#tgp-ros-root .tgp-ros-pdrow__main { width: auto; flex: 1 1 0; min-width: 0; }
#tgp-ros-root .tgp-ros-pdrow__detail { flex-basis: 100%; }

/* ── Pitch Hub button-style fix: every action is a compact pill, pinned
     against theme <a>/<button> resets; badges become quiet dot-labels ── */

#tgp-ros-root .tgp-ros-pdrow__side a.tgp-ros-btn,
#tgp-ros-root .tgp-ros-pdrow__side button.tgp-ros-btn,
#tgp-ros-root .tgp-ros-radarcard a.tgp-ros-btn,
#tgp-ros-root .tgp-ros-radarcard button.tgp-ros-btn,
#tgp-ros-root .tgp-ros-labelrow__controls button.tgp-ros-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	height: 32px !important;
	padding: 0 15px !important;
	border-radius: 999px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	width: auto !important;
	min-width: 0 !important;
	box-shadow: none !important;
	transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}
#tgp-ros-root .tgp-ros-pdrow__side button.tgp-ros-btn--primary,
#tgp-ros-root .tgp-ros-radarcard button.tgp-ros-btn--primary,
#tgp-ros-root .tgp-ros-labelrow__controls button.tgp-ros-btn--primary {
	background: linear-gradient(135deg, #9333ea, #c026d3) !important;
	border: 0 !important;
	color: #fff !important;
	box-shadow: 0 3px 12px rgba(147, 51, 234, .35) !important;
}
#tgp-ros-root .tgp-ros-pdrow__side button.tgp-ros-btn--primary:hover,
#tgp-ros-root .tgp-ros-radarcard button.tgp-ros-btn--primary:hover,
#tgp-ros-root .tgp-ros-labelrow__controls button.tgp-ros-btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(147, 51, 234, .5) !important;
}
#tgp-ros-root .tgp-ros-pdrow__side .tgp-ros-btn--ghost,
#tgp-ros-root .tgp-ros-radarcard .tgp-ros-btn--ghost,
#tgp-ros-root .tgp-ros-labelrow__controls button.tgp-ros-btn--ghost {
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, .18) !important;
	color: #d4d4d8 !important;
}
#tgp-ros-root .tgp-ros-pdrow__side .tgp-ros-btn--ghost:hover,
#tgp-ros-root .tgp-ros-radarcard .tgp-ros-btn--ghost:hover,
#tgp-ros-root .tgp-ros-labelrow__controls button.tgp-ros-btn--ghost:hover {
	border-color: rgba(168, 85, 247, .6) !important;
	color: #e9d5ff !important;
}
#tgp-ros-root .tgp-ros-pdrow__side .tgp-ros-btn svg,
#tgp-ros-root .tgp-ros-labelrow__controls .tgp-ros-btn svg { flex-shrink: 0; }

/* Badges: quiet dot-labels, clearly not buttons */
#tgp-ros-root .tgp-ros-pdbadge {
	display: inline-flex !important;
	align-items: center;
	gap: 5px;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: .02em;
	color: #6ee7a0 !important;
	white-space: nowrap;
}
#tgp-ros-root .tgp-ros-pdbadge::before {
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 6px rgba(110, 231, 160, .8);
}
#tgp-ros-root .tgp-ros-pdrow__side { gap: 12px; }

/* Batch + selbar + modal buttons: same pill discipline */
#tgp-ros-root .tgp-ros-btdraft__actions button.tgp-ros-btn,
#tgp-ros-root .tgp-ros-batchmodal__footer button.tgp-ros-btn,
#tgp-ros-root .tgp-ros-batchmodal__setup button.tgp-ros-btn,
#tgp-ros-root .tgp-ros-pitchmodal__actions a.tgp-ros-btn,
#tgp-ros-root .tgp-ros-pitchmodal__actions button.tgp-ros-btn,
.tgp-ros-selbar button.tgp-ros-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 7px !important;
	height: 36px !important;
	padding: 0 18px !important;
	border-radius: 999px !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	width: auto !important;
}
#tgp-ros-root .tgp-ros-pitchmodal__actions [hidden] { display: none !important; }

/* No glow on buttons (user request) + roster line */
#tgp-ros-root .tgp-ros-pdrow__side button.tgp-ros-btn--primary,
#tgp-ros-root .tgp-ros-radarcard button.tgp-ros-btn--primary,
#tgp-ros-root .tgp-ros-labelrow__controls button.tgp-ros-btn--primary,
#tgp-ros-root .tgp-ros-pdrow__side button.tgp-ros-btn--primary:hover,
#tgp-ros-root .tgp-ros-radarcard button.tgp-ros-btn--primary:hover,
#tgp-ros-root .tgp-ros-labelrow__controls button.tgp-ros-btn--primary:hover,
#tgp-ros-root .tgp-ros-btn--send,
#tgp-ros-root .tgp-ros-pitchmodal__actions button.tgp-ros-btn,
#tgp-ros-root .tgp-ros-batchmodal__footer button.tgp-ros-btn,
.tgp-ros-selbar button.tgp-ros-btn {
	box-shadow: none !important;
}
#tgp-ros-root .tgp-ros-pdbadge::before { box-shadow: none; }
.tgp-ros-selbar { box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
#tgp-ros-root .tgp-ros-pddetail__roster {
	margin: 0 0 10px; font-size: 12.5px; color: #d4d4d8;
}

/* Button responsiveness: labels never wrap inside a pill — the controls row
   wraps as a unit instead, and inputs share leftover space gracefully */
#tgp-ros-root .tgp-ros-pdrow__side .tgp-ros-btn,
#tgp-ros-root .tgp-ros-radarcard .tgp-ros-btn,
#tgp-ros-root .tgp-ros-labelrow__controls .tgp-ros-btn,
#tgp-ros-root .tgp-ros-pitchmodal__actions .tgp-ros-btn,
#tgp-ros-root .tgp-ros-batchmodal__footer .tgp-ros-btn,
.tgp-ros-selbar .tgp-ros-btn {
	white-space: nowrap !important;
	flex-shrink: 0;
}
#tgp-ros-root .tgp-ros-labelrow { flex-wrap: wrap; row-gap: 10px; }
#tgp-ros-root .tgp-ros-labelrow__info { flex: 1 1 300px; min-width: 240px; }
#tgp-ros-root .tgp-ros-labelrow__controls {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end;
	gap: 8px; flex: 0 1 auto; margin-left: auto;
}
#tgp-ros-root .tgp-ros-labelrow__controls .tgp-ros-labelrow__status { width: auto; min-width: 140px; max-width: 175px; }
#tgp-ros-root .tgp-ros-labelrow__controls .tgp-ros-labelrow__followup { width: auto; max-width: 160px; }
@media (max-width: 980px) {
	#tgp-ros-root .tgp-ros-labelrow__controls { width: 100%; justify-content: flex-start; margin-left: 0; }
}
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-pdrow__side { width: 100%; justify-content: flex-start; }
	#tgp-ros-root .tgp-ros-labelrow__controls .tgp-ros-labelrow__status,
	#tgp-ros-root .tgp-ros-labelrow__controls .tgp-ros-labelrow__followup { flex: 1 1 45%; max-width: none; }
}
/* keep the whole controls row on one line at desktop widths */
#tgp-ros-root .tgp-ros-labelrow__controls .tgp-ros-labelrow__status { min-width: 120px; max-width: 148px; }
#tgp-ros-root .tgp-ros-labelrow__controls .tgp-ros-labelrow__followup { max-width: 148px; }
#tgp-ros-root .tgp-ros-labelrow__controls .tgp-ros-iconbtn { flex-shrink: 0; }

/* About-you bio card */
#tgp-ros-root .tgp-ros-biocard__row { display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-biocard__intro { flex: 0 1 260px; min-width: 220px; }
#tgp-ros-root .tgp-ros-biocard__title { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
#tgp-ros-root .tgp-ros-biocard__sub { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-biocard__field { flex: 1 1 340px; display: grid; gap: 10px; justify-items: end; }
#tgp-ros-root .tgp-ros-biocard__field textarea { width: 100%; }
/* releases head: import + plan buttons side by side */
#tgp-ros-root .tgp-ros-relhead__actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-relhead__actions .tgp-ros-btn { display: inline-flex !important; align-items: center; gap: 6px; white-space: nowrap !important; }

/* ── Uniform pills in EVERY modal + release-modal polish ─────────────── */
#tgp-ros-root .tgp-ros-modal .tgp-ros-btn,
#tgp-ros-root .tgp-ros-modal .tgp-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	height: 38px !important;
	padding: 0 20px !important;
	border-radius: 999px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	white-space: nowrap !important;
	width: auto !important;
	box-shadow: none !important;
}
#tgp-ros-root .tgp-ros-modal .tgp-ros-btn--primary,
#tgp-ros-root .tgp-ros-modal .tgp-btn--primary {
	background: linear-gradient(135deg, #9333ea, #c026d3) !important;
	border: 0 !important;
	color: #fff !important;
}
#tgp-ros-root .tgp-ros-modal .tgp-ros-btn--ghost,
#tgp-ros-root .tgp-ros-modal .tgp-btn--ghost {
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, .18) !important;
	color: #d4d4d8 !important;
}
#tgp-ros-root .tgp-ros-modal .tgp-ros-btn--ghost:hover,
#tgp-ros-root .tgp-ros-modal .tgp-btn--ghost:hover {
	border-color: rgba(168, 85, 247, .6) !important;
	color: #e9d5ff !important;
}
#tgp-ros-root .tgp-ros-modal .tgp-ros-btn--sm { height: 32px !important; padding: 0 15px !important; font-size: 12px !important; }

/* Segmented choices (Format / Is it out yet?) → clean wrapping chips */
#tgp-ros-root .tgp-ros-seg {
	display: flex !important; flex-wrap: wrap; gap: 7px;
	border: 0 !important; background: transparent !important; padding: 0 !important;
}
#tgp-ros-root .tgp-ros-seg__opt {
	display: inline-flex !important; align-items: center;
	height: 34px !important; padding: 0 16px !important;
	border-radius: 999px !important;
	border: 1px solid rgba(255, 255, 255, .14) !important;
	background: rgba(255, 255, 255, .03) !important;
	color: var(--tgp-text-dim, #a1a1aa) !important;
	font-size: 12.5px !important; font-weight: 600 !important; line-height: 1 !important;
	cursor: pointer; width: auto !important;
	text-transform: none !important; letter-spacing: 0 !important;
	white-space: nowrap !important;
	transition: border-color .14s ease, background .14s ease, color .14s ease;
}
#tgp-ros-root .tgp-ros-seg__opt.is-selected {
	background: linear-gradient(135deg, #9333ea, #c026d3) !important;
	border-color: transparent !important;
	color: #fff !important;
}
#tgp-ros-root .tgp-ros-newrel__desc { margin-top: 16px; }

/* ── Press-kit editor + release tools ────────────────────────────────── */
#tgp-ros-root .tgp-ros-epked__linkbar {
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
	padding: 12px 16px; border-radius: 12px; margin-bottom: 22px;
	background: rgba(147, 51, 234, .08); border: 1px solid rgba(168, 85, 247, .25);
}
#tgp-ros-root .tgp-ros-epked__url {
	flex: 1 1 240px; min-width: 200px; font-size: 13px; font-weight: 600;
	color: #d8b4fe; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
#tgp-ros-root .tgp-ros-epked__cols { display: flex; gap: 28px; align-items: flex-start; }
#tgp-ros-root .tgp-ros-epked__form { flex: 1 1 460px; min-width: 340px; display: grid; gap: 18px; }
#tgp-ros-root .tgp-ros-epked__preview {
	flex: 1 1 400px; min-width: 320px; position: sticky; top: 20px;
	border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.1);
	background: #09090b;
}
#tgp-ros-root .tgp-ros-epked__preview iframe { width: 100%; height: 72vh; border: 0; display: block; }
#tgp-ros-root .tgp-ros-epked__accents { display: flex; gap: 9px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-epked__accent {
	width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
	border: 2px solid transparent !important; padding: 0 !important;
	transition: transform .12s ease, border-color .12s ease;
}
#tgp-ros-root .tgp-ros-epked__accent:hover { transform: scale(1.12); }
#tgp-ros-root .tgp-ros-epked__accent.is-active { border-color: #fff !important; transform: scale(1.12); }
#tgp-ros-root .tgp-ros-epked__sections { display: flex; gap: 16px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-epked__section {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 600; color: #d4d4d8; cursor: pointer;
}
#tgp-ros-root .tgp-ros-epked__section input { accent-color: #9333ea; width: 15px; height: 15px; }
@media (max-width: 980px) {
	#tgp-ros-root .tgp-ros-epked__cols { flex-direction: column; }
	#tgp-ros-root .tgp-ros-epked__preview { position: static; width: 100%; }
	#tgp-ros-root .tgp-ros-epked__preview iframe { height: 60vh; }
}

/* Releases toolbar */
#tgp-ros-root .tgp-ros-reltools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; }
#tgp-ros-root .tgp-ros-reltools__search { flex: 1 1 220px; max-width: 340px; }
#tgp-ros-root .tgp-ros-reltools__sort { width: auto; }
#tgp-ros-root .tgp-ros-reltools__count { font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-reltools__sort { width: auto !important; max-width: 200px; flex: 0 0 auto; }
/* EPK editor: uploads + color picker */
#tgp-ros-root .tgp-ros-epked__uprow { display: flex; gap: 8px; align-items: flex-start; }
#tgp-ros-root .tgp-ros-epked__uprow .tgp-field { flex: 1 1 auto; min-width: 0; }
#tgp-ros-root .tgp-ros-epked__upbtn { cursor: pointer; flex-shrink: 0; }
#tgp-ros-root .tgp-ros-epked__picker {
	width: 34px; height: 30px; padding: 0 !important; border-radius: 8px !important;
	border: 1px solid rgba(255,255,255,.2) !important; background: transparent !important;
	cursor: pointer;
}
#tgp-ros-root .tgp-ros-epked__accents { align-items: center; }
#tgp-ros-root input.tgp-ros-epked__picker {
	width: 40px !important; min-width: 40px !important; max-width: 40px !important;
	height: 30px !important; flex: 0 0 40px !important; display: inline-block !important;
	margin: 0 6px 0 0 !important;
}
/* Upload rows: field + button share a baseline, button never stretches */
#tgp-ros-root .tgp-ros-epked__uprow { align-items: stretch; }
#tgp-ros-root .tgp-ros-epked__uprow .tgp-field { align-self: stretch; }
#tgp-ros-root label.tgp-ros-epked__upbtn {
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
	height: 38px !important; padding: 0 16px !important; border-radius: 999px !important;
	font-size: 12.5px !important; font-weight: 700 !important; line-height: 1 !important;
	white-space: nowrap !important; width: auto !important; flex: 0 0 auto !important;
	align-self: flex-start; margin: 0 !important;
	background: transparent !important; color: #d4d4d8 !important;
	border: 1px solid rgba(255,255,255,.18) !important; cursor: pointer;
	text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important;
}
#tgp-ros-root label.tgp-ros-epked__upbtn:hover { border-color: rgba(168,85,247,.6) !important; color: #e9d5ff !important; }
/* EPK photo album: visual thumbnails with add/remove */
#tgp-ros-root .tgp-ros-epked__album {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	gap: 10px; margin-top: 4px;
}
#tgp-ros-root .tgp-ros-epked__shot { position: relative; display: block; }
#tgp-ros-root .tgp-ros-epked__shot img {
	width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block;
	border: 1px solid rgba(255,255,255,.1);
}
#tgp-ros-root button.tgp-ros-epked__shotdel {
	position: absolute; top: -6px; right: -6px;
	width: 22px !important; height: 22px !important; padding: 0 !important;
	border-radius: 50% !important; border: 0 !important;
	background: #ef4444 !important; color: #fff !important;
	font-size: 14px !important; line-height: 1 !important; cursor: pointer;
	display: inline-flex !important; align-items: center; justify-content: center;
	min-width: 0 !important;
}
#tgp-ros-root label.tgp-ros-epked__addshot {
	display: flex !important; flex-direction: column; align-items: center; justify-content: center;
	gap: 6px; aspect-ratio: 1; border-radius: 10px; cursor: pointer;
	border: 1.5px dashed rgba(255,255,255,.2) !important;
	background: rgba(255,255,255,.02) !important;
	color: var(--tgp-text-dim, #a1a1aa) !important;
	font-size: 11px !important; font-weight: 600 !important; text-align: center;
	margin: 0 !important; padding: 6px !important; width: auto !important;
	text-transform: none !important; letter-spacing: 0 !important;
}
#tgp-ros-root label.tgp-ros-epked__addshot:hover { border-color: rgba(168,85,247,.6) !important; color: #e9d5ff !important; }

/* ── 0.76.1: selbar buttons need the id prefix — theme-reset rules with
   #tgp-ros-root specificity were beating the un-prefixed selbar rules
   (pill radius fell back to 9px, gradient to flat purple, and the clear
   button collapsed to text width). Same pill spec as the modals. ── */
#tgp-ros-root .tgp-ros-selbar button.tgp-ros-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 7px !important;
	height: 36px !important;
	padding: 0 18px !important;
	border-radius: 999px !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	width: auto !important;
	white-space: nowrap !important;
	box-shadow: none !important;
}
#tgp-ros-root .tgp-ros-selbar button.tgp-ros-btn--primary {
	background: linear-gradient(135deg, #9333ea, #c026d3) !important;
	border-color: transparent !important;
	color: #fff !important;
}
#tgp-ros-root .tgp-ros-selbar__clear {
	width: 30px !important;
	height: 30px !important;
	min-width: 30px !important;
	min-height: 30px !important;
	flex: 0 0 30px !important;
	border-radius: 50% !important;
	padding: 0 !important;
	border: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 16px !important;
	line-height: 1 !important;
}

/* ── 0.76.1: subnav grew to 11 tabs — tighter pills so "Upgrade" fits
   without horizontal scrolling on a standard desktop width. ── */
#tgp-ros-root .tgp-ros-subnav__item {
	padding: 8px 13px !important;
	font-size: 13px !important;
}

/* ── 0.77.0: smooth directory navigation — dimmed stale rows while a fetch
   is in flight, shimmer skeleton rows on cold loads, and a soft entrance
   for freshly rendered rows. ── */
#tgp-ros-root .tgp-ros-pdlist { transition: opacity .18s ease; }
#tgp-ros-root .is-pd-loading .tgp-ros-pdlist { opacity: .35; pointer-events: none; }
#tgp-ros-root .is-pd-loading .tgp-ros-pitchdir__foot .tgp-ros-btn { pointer-events: none; opacity: .6; }

#tgp-ros-root .tgp-ros-pdskel {
	display: flex; align-items: center; gap: 14px;
	padding: 12px; border-radius: 14px;
	background: rgba(255, 255, 255, 0.025);
}
#tgp-ros-root .tgp-ros-pdskel__img { width: 50px; height: 50px; border-radius: 12px; flex: 0 0 50px; }
#tgp-ros-root .tgp-ros-pdskel__lines { flex: 1; display: flex; flex-direction: column; gap: 9px; }
#tgp-ros-root .tgp-ros-pdskel__lines i { display: block; height: 12px; border-radius: 6px; width: 38%; }
#tgp-ros-root .tgp-ros-pdskel__lines i + i { width: 22%; height: 10px; }
#tgp-ros-root .tgp-ros-pdskel__img,
#tgp-ros-root .tgp-ros-pdskel__lines i {
	background: linear-gradient(100deg, rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.05) 60%);
	background-size: 200% 100%;
	animation: tgpRosPdShimmer 1.2s linear infinite;
}
@keyframes tgpRosPdShimmer { to { background-position: -200% 0; } }

#tgp-ros-root .tgp-ros-pdlist .tgp-ros-pdrow { animation: tgpRosPdIn .26s ease both; }
#tgp-ros-root .tgp-ros-pdlist .tgp-ros-pdrow:nth-child(1) { animation-delay: 0s; }
#tgp-ros-root .tgp-ros-pdlist .tgp-ros-pdrow:nth-child(2) { animation-delay: .025s; }
#tgp-ros-root .tgp-ros-pdlist .tgp-ros-pdrow:nth-child(3) { animation-delay: .05s; }
#tgp-ros-root .tgp-ros-pdlist .tgp-ros-pdrow:nth-child(4) { animation-delay: .075s; }
#tgp-ros-root .tgp-ros-pdlist .tgp-ros-pdrow:nth-child(5) { animation-delay: .1s; }
#tgp-ros-root .tgp-ros-pdlist .tgp-ros-pdrow:nth-child(6) { animation-delay: .125s; }
#tgp-ros-root .tgp-ros-pdlist .tgp-ros-pdrow:nth-child(7) { animation-delay: .15s; }
#tgp-ros-root .tgp-ros-pdlist .tgp-ros-pdrow:nth-child(8) { animation-delay: .175s; }
#tgp-ros-root .tgp-ros-pdlist .tgp-ros-pdrow:nth-child(n+9) { animation-delay: .2s; }
@keyframes tgpRosPdIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	#tgp-ros-root .tgp-ros-pdlist .tgp-ros-pdrow,
	#tgp-ros-root .tgp-ros-pdskel__img,
	#tgp-ros-root .tgp-ros-pdskel__lines i { animation: none; }
}

/* ── 0.78.1: [hidden] must ALWAYS win. The pill-discipline rules pin
   display:inline-flex !important at (1,2,1) specificity, which silently
   out-ranked the (1,2,0) `__actions [hidden]` guard — so email buttons
   stayed visible on IG-only/portal-only targets. These selectors match the
   pill rules' element+class shape plus the attribute, so they out-rank. ── */
#tgp-ros-root .tgp-ros-pitchmodal__actions a.tgp-ros-btn[hidden],
#tgp-ros-root .tgp-ros-pitchmodal__actions button.tgp-ros-btn[hidden],
#tgp-ros-root .tgp-ros-btdraft__actions button.tgp-ros-btn[hidden],
#tgp-ros-root .tgp-ros-batchmodal__footer button.tgp-ros-btn[hidden],
#tgp-ros-root .tgp-ros-batchmodal__setup button.tgp-ros-btn[hidden],
#tgp-ros-root .tgp-ros-selbar button.tgp-ros-btn[hidden] {
	display: none !important;
}

/* ── 0.79.0: smart-link design controls in release detail ── */
#tgp-ros-root .tgp-ros-smartlink__design {
	margin-top: 14px; padding-top: 14px;
	border-top: 1px dashed rgba(255, 255, 255, 0.08);
	display: flex; flex-direction: column; gap: 10px;
}
#tgp-ros-root .tgp-ros-smartlink__designrow {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
#tgp-ros-root .tgp-ros-smartlink__tagline { flex: 1 1 220px; min-width: 180px; }
#tgp-ros-root .tgp-ros-smartlink__design .tgp-ros-pitchdir__contact { margin: 0; }

/* ── 0.79.1: hero empty state ("No upcoming release planned") sits inside the
   hero's flex row and hugged the left column — center it across the card. ── */
#tgp-ros-root .tgp-ros-hero .tgp-empty {
	flex: 1 1 100%;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* ── 0.79.2: smart-link template picker + socials editor ── */
#tgp-ros-root .tgp-ros-sltpl {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 14px 7px 8px; border-radius: 999px; cursor: pointer;
	background: rgba(255, 255, 255, 0.04) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	color: #d4d4d8 !important; font-size: 12.5px !important; font-weight: 600 !important;
	line-height: 1 !important; text-transform: none !important;
	transition: border-color .15s ease, color .15s ease;
}
#tgp-ros-root .tgp-ros-sltpl:hover { border-color: rgba(255, 255, 255, 0.3) !important; color: #fff !important; }
#tgp-ros-root .tgp-ros-sltpl.is-active { border-color: #a855f7 !important; color: #fff !important; background: rgba(147, 51, 234, 0.14) !important; }
#tgp-ros-root .tgp-ros-sltpl__chip { width: 18px; height: 18px; border-radius: 6px; flex-shrink: 0; }
#tgp-ros-root .tgp-ros-sltpl--glass .tgp-ros-sltpl__chip { background: linear-gradient(135deg, #3b2d52, #191921); border: 1px solid rgba(255,255,255,.25); }
#tgp-ros-root .tgp-ros-sltpl--light .tgp-ros-sltpl__chip { background: linear-gradient(135deg, #ffffff, #d9dce3); }
#tgp-ros-root .tgp-ros-sltpl--bold .tgp-ros-sltpl__chip { background: linear-gradient(135deg, #7c3aed, #db2777); }
#tgp-ros-root .tgp-ros-sltpl--minimal .tgp-ros-sltpl__chip { background: #0a0a0b; border: 1px solid rgba(255,255,255,.3); }

#tgp-ros-root .tgp-ros-smartlink__socials {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 10px; padding: 12px; border-radius: 12px;
	background: rgba(255, 255, 255, 0.025);
	border: 1px dashed rgba(255, 255, 255, 0.1);
}
#tgp-ros-root .tgp-ros-smartlink__socials[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-smartlink__socials .tgp-ros-form__note { grid-column: 1 / -1; }
#tgp-ros-root .tgp-ros-smartlink__socfield { display: flex; flex-direction: column; gap: 4px; }
#tgp-ros-root .tgp-ros-smartlink__socfield span {
	font-size: 11px; font-weight: 700; letter-spacing: .05em;
	text-transform: uppercase; color: #a1a1aa;
}

/* ── 0.79.3: smart-link design modal ── */
#tgp-ros-root .tgp-ros-sldesign { max-width: 640px; width: 100%; }
#tgp-ros-root .tgp-ros-sldesign .tgp-card__head { display: flex; align-items: center; justify-content: space-between; }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-modal__x {
	width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255, 255, 255, 0.07) !important; color: #a1a1aa !important;
	font-size: 18px; line-height: 1; display: inline-flex; align-items: center; justify-content: center;
	padding: 0 !important; flex: 0 0 32px;
}
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-modal__x:hover { color: #fff !important; }
#tgp-ros-root .tgp-ros-sldesign__sub { font-size: 13px; color: #a1a1aa; margin: -6px 0 14px; }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-smartlink__design { margin-top: 0; padding-top: 0; border-top: 0; gap: 14px; }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-smartlink__design > .tgp-label { margin-bottom: -6px; }

/* Template tiles: mini page mockups instead of dot chips */
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl {
	flex-direction: column; gap: 7px; padding: 9px 9px 8px;
	border-radius: 13px !important;
}
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl__chip {
	width: 86px; height: 58px; border-radius: 8px; position: relative; overflow: hidden;
	border: 0;
}
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl__chip::before {
	content: ''; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
	width: 18px; height: 18px; border-radius: 4px;
}
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl__chip::after {
	content: ''; position: absolute; left: 14px; right: 14px; bottom: 9px; height: 4px; border-radius: 2px;
}
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl--glass .tgp-ros-sltpl__chip { background: linear-gradient(150deg, #322447, #131318 70%); }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl--glass .tgp-ros-sltpl__chip::before { background: rgba(168, 85, 247, 0.75); }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl--glass .tgp-ros-sltpl__chip::after { background: rgba(255, 255, 255, 0.22); box-shadow: 0 -7px 0 rgba(255, 255, 255, 0.22); }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl--light .tgp-ros-sltpl__chip { background: linear-gradient(150deg, #ffffff, #dfe3ea); }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl--light .tgp-ros-sltpl__chip::before { background: #a855f7; }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl--light .tgp-ros-sltpl__chip::after { background: rgba(0, 0, 0, 0.16); box-shadow: 0 -7px 0 rgba(0, 0, 0, 0.16); }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl--bold .tgp-ros-sltpl__chip { background: linear-gradient(150deg, #7c3aed, #db2777); }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl--bold .tgp-ros-sltpl__chip::before { width: 24px; height: 24px; background: rgba(255, 255, 255, 0.85); }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl--bold .tgp-ros-sltpl__chip::after { background: rgba(0, 0, 0, 0.38); box-shadow: 0 -7px 0 rgba(0, 0, 0, 0.38); }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl--minimal .tgp-ros-sltpl__chip { background: #0b0b0d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl--minimal .tgp-ros-sltpl__chip::before { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl--minimal .tgp-ros-sltpl__chip::after { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 -7px 0 rgba(11, 11, 13, 0), 0 -7px 0 0 rgba(255, 255, 255, 0.12); }

/* Socials grid loses its dashed box inside the modal — sections carry it */
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-smartlink__socials { border-style: solid; border-color: rgba(255, 255, 255, 0.07); }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-sldesign .tgp-ros-sltpl__chip { width: 64px; height: 46px; }
}

/* ── 0.79.4: consolidated — no separate card; modal carries link+stores ── */
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-smartlink__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-smartlink__url { font-size: 13px; color: #c4b5fd; text-decoration: none; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-smartlink__dests { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-sldesign__hr { border: 0; border-top: 1px dashed rgba(255,255,255,.1); margin: 14px 0 12px; }

/* ── 0.79.5: smart-link design modal v2 — sectioned premium layout ── */
#tgp-ros-root .tgp-ros-sldesign {
	max-width: 680px; width: 100%;
	max-height: 88vh; overflow-y: auto;
	scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent;
}
#tgp-ros-root .tgp-ros-sldesign__head {
	display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
	margin-bottom: 14px;
}
#tgp-ros-root .tgp-ros-sldesign__head .tgp-card__title { margin: 0; }
#tgp-ros-root .tgp-ros-sldesign__sub { font-size: 13px; color: #a1a1aa; margin: 5px 0 0; }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-modal__x {
	width: 32px; height: 32px; border-radius: 50%; border: 0 !important; cursor: pointer;
	background: rgba(255, 255, 255, 0.07) !important; color: #a1a1aa !important;
	font-size: 18px !important; line-height: 1 !important;
	display: inline-flex !important; align-items: center; justify-content: center;
	padding: 0 !important; flex: 0 0 32px;
}
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-modal__x:hover { color: #fff !important; }

#tgp-ros-root .tgp-ros-sldesign__linkbar {
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
	padding: 10px 14px; border-radius: 12px; margin-bottom: 18px;
	background: rgba(147, 51, 234, 0.07);
	border: 1px solid rgba(147, 51, 234, 0.22);
}
#tgp-ros-root .tgp-ros-sldesign__url {
	font-size: 13px; font-weight: 600; color: #c4b5fd; text-decoration: none;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
#tgp-ros-root .tgp-ros-sldesign__url:hover { color: #e9d5ff; }
#tgp-ros-root .tgp-ros-sldesign__stats { margin-left: auto; font-size: 12px; color: #a1a1aa; white-space: nowrap; }

#tgp-ros-root .tgp-ros-sldesign__body { display: flex; flex-direction: column; gap: 20px; }
#tgp-ros-root .tgp-ros-sldesign__section { display: flex; flex-direction: column; gap: 10px; }
#tgp-ros-root .tgp-ros-sldesign__section--split {
	display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
#tgp-ros-root .tgp-ros-sldesign__section--split > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
#tgp-ros-root .tgp-ros-sldesign__eyebrow {
	font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
	text-transform: uppercase; color: #a1a1aa;
}
#tgp-ros-root .tgp-ros-sldesign__tiles { display: flex; gap: 10px; flex-wrap: wrap; }

#tgp-ros-root .tgp-ros-sldesign .tgp-ros-smartlink__dests { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-sldesign .tgp-ros-smartlink__socials {
	border: 0; padding: 0; background: transparent;
	display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px;
}

#tgp-ros-root .tgp-ros-sldesign__foot {
	display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
	margin-top: 20px; padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
#tgp-ros-root .tgp-ros-sldesign__flags { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-sldesign__flags .tgp-ros-pitchdir__contact { margin: 0; }
#tgp-ros-root .tgp-ros-sldesign__foot button.tgp-ros-btn--primary {
	display: inline-flex !important; align-items: center !important;
	height: 38px !important; padding: 0 22px !important;
	border-radius: 999px !important; font-size: 13px !important; font-weight: 700 !important;
	line-height: 1 !important; text-transform: none !important;
	background: linear-gradient(135deg, #9333ea, #c026d3) !important;
	border-color: transparent !important; color: #fff !important;
	box-shadow: none !important; width: auto !important; white-space: nowrap !important;
}
#tgp-ros-root .tgp-ros-sldesign__foot button.tgp-ros-btn--primary[hidden] { display: none !important; }

@media (max-width: 620px) {
	#tgp-ros-root .tgp-ros-sldesign__section--split { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-sldesign .tgp-ros-smartlink__socials { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-sldesign__stats { margin-left: 0; }
	#tgp-ros-root .tgp-ros-sldesign__foot { flex-direction: column; align-items: stretch; }
	#tgp-ros-root .tgp-ros-sldesign__foot button.tgp-ros-btn--primary { justify-content: center !important; }
}

/* ── 0.80.0: upgrade momentum strip ── */
#tgp-ros-root .tgp-ros-upgrade__momentum {
	display: flex; align-items: flex-start; gap: 10px;
	padding: 13px 16px; border-radius: 13px; margin-bottom: 18px;
	background: rgba(16, 185, 129, 0.07);
	border: 1px solid rgba(16, 185, 129, 0.25);
	color: #6ee7b7; font-size: 13.5px; font-weight: 600; line-height: 1.5;
}
#tgp-ros-root .tgp-ros-upgrade__momentum svg { flex-shrink: 0; margin-top: 2px; }

/* ── 0.81.0: notification bell ── */
#tgp-ros-root .tgp-ros-bell { position: relative; display: inline-flex; margin-left: 8px; vertical-align: middle; }
#tgp-ros-root .tgp-ros-bell__btn {
	position: relative; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
	display: inline-flex !important; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	color: #a1a1aa !important; padding: 0 !important;
	transition: color .15s ease, border-color .15s ease;
}
#tgp-ros-root .tgp-ros-bell__btn:hover { color: #fff !important; border-color: rgba(255, 255, 255, 0.3) !important; }
#tgp-ros-root .tgp-ros-bell__badge {
	position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px;
	border-radius: 999px; padding: 0 4px;
	background: linear-gradient(135deg, #9333ea, #c026d3); color: #fff;
	font-size: 10px; font-weight: 800; line-height: 17px; text-align: center;
}
#tgp-ros-root .tgp-ros-bell__panel {
	position: absolute; right: 0; top: 44px; z-index: 80; width: 340px; max-width: 88vw;
	background: rgba(18, 18, 22, 0.97); backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55); overflow: hidden;
}
#tgp-ros-root .tgp-ros-bell__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 12px 16px; font-size: 12px; font-weight: 800; letter-spacing: .08em;
	text-transform: uppercase; color: #a1a1aa;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
#tgp-ros-root .tgp-ros-bell__close { background: none; border: 0; font-size: 19px; line-height: 1; color: #8b8b93; cursor: pointer; padding: 0 2px; }
#tgp-ros-root .tgp-ros-bell__close:hover { color: #f4f4f5; }
#tgp-ros-root .tgp-ros-bell__list { max-height: 380px; overflow-y: auto; }
#tgp-ros-root .tgp-ros-bell__item {
	display: block; padding: 12px 16px; text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	transition: background .12s ease;
}
#tgp-ros-root a.tgp-ros-bell__item:hover { background: rgba(255, 255, 255, 0.04); }
#tgp-ros-root .tgp-ros-bell__item.is-unread { background: rgba(147, 51, 234, 0.07); }
#tgp-ros-root .tgp-ros-bell__title { display: block; font-size: 13.5px; font-weight: 700; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-bell__body { display: block; font-size: 12.5px; color: #a1a1aa; margin-top: 3px; line-height: 1.45; }
#tgp-ros-root .tgp-ros-bell__ago { display: block; font-size: 11px; color: #71717a; margin-top: 5px; }
#tgp-ros-root .tgp-ros-bell__empty { padding: 22px 16px; font-size: 13px; color: #a1a1aa; text-align: center; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-bell__panel { position: fixed; left: 12px; right: 12px; top: 70px; width: auto; }
}

/* ── 0.82.1: outcome badges ── */
#tgp-ros-root .tgp-ros-pdbadge--hot {
	color: #fbbf24 !important;
	border-color: rgba(251, 191, 36, 0.45) !important;
	background: rgba(251, 191, 36, 0.08) !important;
}

/* Blog reach tier (real Tranco global-traffic rank) — cyan, distinct from the
   amber "hot" and neutral contact badges. */
#tgp-ros-root .tgp-ros-pdbadge--pop {
	color: #38bdf8 !important;
	border-color: rgba(56, 189, 248, 0.42) !important;
	background: rgba(56, 189, 248, 0.09) !important;
}

/* Blog estimated monthly visits, shown inline on the left meta line. */
#tgp-ros-root .tgp-ros-pdvisits {
	color: #7dd3fc;
	font-weight: 600;
	white-space: nowrap;
}

/* Favicon fallback image (blogs): favicons are small and often light-on-transparent,
   so seat them on a light tile, contained, rather than cover-cropped. */
#tgp-ros-root img.tgp-ros-pdrow__img--fav {
	object-fit: contain;
	padding: 7px;
	background: rgba(255, 255, 255, 0.92);
}
#tgp-ros-root img.tgp-ros-pdrow__img.is-broken,
#tgp-ros-root img.tgp-ros-labelrow__avatar.is-broken {
	padding: 0;
	background: rgba(255, 255, 255, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff59' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* ── 0.83.0: release-day war room ── */
#tgp-ros-root .tgp-ros-warroom {
	display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
	padding: 20px 24px !important; position: relative; overflow: hidden;
	border: 1px solid rgba(16, 185, 129, 0.35) !important;
	background: linear-gradient(120deg, rgba(16, 185, 129, 0.09), rgba(24, 24, 27, 0.6)) !important;
}
#tgp-ros-root .tgp-ros-warroom__pulse {
	width: 10px; height: 10px; border-radius: 50%; background: #10b981; flex-shrink: 0;
	box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); animation: tgpRosWrPulse 1.8s ease infinite;
}
@keyframes tgpRosWrPulse { 70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); } }
#tgp-ros-root .tgp-ros-warroom__main { flex: 1 1 260px; min-width: 200px; }
#tgp-ros-root .tgp-ros-warroom__eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #6ee7b7; }
#tgp-ros-root .tgp-ros-warroom__title { margin: 4px 0 0; font-size: 16.5px; font-weight: 700; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-warroom__stats { display: flex; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-warroom__stats b { display: block; font-size: 21px; font-weight: 800; color: #fff; }
#tgp-ros-root .tgp-ros-warroom__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── 0.83.2: bell placement (in subnav row) + panel redesign ── */
#tgp-ros-root .tgp-ros-subnavrow {
	display: flex; align-items: center; gap: 10px;
}
#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-subnav { flex: 1 1 auto; min-width: 0; }
#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-bell { margin-left: 0; flex-shrink: 0; }

#tgp-ros-root .tgp-ros-bell__panel {
	top: 46px; width: 372px;
	border-radius: 18px;
	border-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
	animation: tgpRosBellIn .18s cubic-bezier(.2,.8,.25,1);
	transform-origin: top right;
}
@keyframes tgpRosBellIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

#tgp-ros-root .tgp-ros-bell__item { display: flex; gap: 11px; align-items: flex-start; padding: 13px 16px; }
#tgp-ros-root .tgp-ros-bell__content { flex: 1; min-width: 0; }
#tgp-ros-root .tgp-ros-bell__dot {
	width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0;
	background: #71717a;
}
#tgp-ros-root .tgp-ros-bell__dot.is-demo_open,
#tgp-ros-root .tgp-ros-bell__dot.is-demo_play { background: #a855f7; box-shadow: 0 0 8px rgba(168, 85, 247, .6); }
#tgp-ros-root .tgp-ros-bell__dot.is-followup_sent,
#tgp-ros-root .tgp-ros-bell__dot.is-follow_up_due { background: #10b981; }
#tgp-ros-root .tgp-ros-bell__dot.is-smartlink_milestone,
#tgp-ros-root .tgp-ros-bell__dot.is-presave_blast { background: #fbbf24; }
#tgp-ros-root .tgp-ros-bell__dot.is-billing { background: #0ea5e9; }
#tgp-ros-root .tgp-ros-bell__dot.is-pipeline_nudge { background: #ec4899; }

/* ── 0.114.2: bell + AI-credits float PLAIN next to the nav bar — same
   line, no pill background, no border. ── */
#tgp-ros-root .tgp-ros-subnavrow {
	display: flex; align-items: center; gap: 12px;
	margin: 0 0 20px;
	max-width: 100%;
}
#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-subnav {
	margin: 0; flex: 0 1 auto; min-width: 0;
}
#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-bell { margin: 0 0 0 2px; flex-shrink: 0; }
#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-bell__btn {
	width: 38px !important; height: 38px !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 999px !important; color: #a1a1aa !important;
}
#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-bell__btn:hover { color: #fff !important; }
#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-bell__badge { top: 0; right: 0; }
#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-bell__panel { top: 48px; }
#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-navcredits {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}
@media ( max-width: 1500px ) {
	/* Tight desktops: tabs slim down so nothing wraps to a second line. */
	#tgp-ros-root .tgp-ros-subnav__item { padding: 8px 13px; }
}
@media (max-width: 900px) {
	#tgp-ros-root .tgp-ros-subnavrow { width: 100%; }
}

/* ── Website builder ─────────────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-webed__linkbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px dashed rgba(255,255,255,.1); }
#tgp-ros-root .tgp-ros-webed__urlwrap { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1 1 320px; }
#tgp-ros-root .tgp-ros-webed__urlbase { color: #71717a; font-size: 13px; white-space: nowrap; }
#tgp-ros-root .tgp-ros-webed__slug { width: 170px !important; flex: 0 1 auto !important; font-size: 13.5px !important; padding: 8px 10px !important; }
#tgp-ros-root .tgp-ros-webed__linkacts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-left: auto; }
#tgp-ros-root .tgp-ros-webed__publish { display: inline-flex; cursor: pointer; }
#tgp-ros-root .tgp-ros-webed__publish input { position: absolute; opacity: 0; pointer-events: none; }
#tgp-ros-root .tgp-ros-webed__pubpill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 99px; border: 1px solid rgba(255,255,255,.14); font-size: 12.5px; font-weight: 700; letter-spacing: .05em; color: #d4d4d8; transition: all .18s ease; }
#tgp-ros-root .tgp-ros-webed__pubdot { width: 8px; height: 8px; border-radius: 50%; background: #71717a; }
#tgp-ros-root .tgp-ros-webed.is-live .tgp-ros-webed__pubpill { border-color: rgba(52,211,153,.4); color: #6ee7b7; background: rgba(52,211,153,.08); }
#tgp-ros-root .tgp-ros-webed.is-live .tgp-ros-webed__pubdot { background: #34d399; }
#tgp-ros-root .tgp-ros-webed__cols { display: grid; grid-template-columns: minmax(380px, 460px) 1fr; gap: 26px; align-items: start; }
#tgp-ros-root .tgp-ros-webed__form { min-width: 0; }

#tgp-ros-root .tgp-ros-webed__panel { border: 1px solid rgba(255,255,255,.09); border-radius: 14px; margin-bottom: 14px; overflow: hidden; background: rgba(255,255,255,.02); }
#tgp-ros-root button.tgp-ros-webed__panelhead { display: flex !important; align-items: center !important; justify-content: space-between !important; width: 100% !important; padding: 15px 18px !important; background: none !important; border: 0 !important; color: #fafafa !important; font-size: 14.5px !important; font-weight: 700 !important; cursor: pointer !important; border-radius: 0 !important; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important; }
#tgp-ros-root .tgp-ros-webed__panelhead svg { transition: transform .2s ease; color: #71717a; }
#tgp-ros-root .tgp-ros-webed__panel.is-open .tgp-ros-webed__panelhead svg { transform: rotate(180deg); }
#tgp-ros-root .tgp-ros-webed__panelbody { display: none; padding: 4px 18px 20px; }
#tgp-ros-root .tgp-ros-webed__panel.is-open .tgp-ros-webed__panelbody { display: block; }

#tgp-ros-root .tgp-ros-webed__tpls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
#tgp-ros-root button.tgp-ros-webed__tpl { display: block !important; text-align: left !important; padding: 10px !important; border: 1.5px solid rgba(255,255,255,.1) !important; border-radius: 12px !important; background: rgba(255,255,255,.02) !important; cursor: pointer !important; transition: border-color .16s ease, transform .16s ease !important; box-shadow: none !important; width: 100% !important; }
#tgp-ros-root button.tgp-ros-webed__tpl:hover { transform: translateY(-2px) !important; border-color: rgba(168,85,247,.5) !important; }
#tgp-ros-root button.tgp-ros-webed__tpl.is-active { border-color: #a855f7 !important; box-shadow: 0 0 0 1px #a855f7 !important; }
#tgp-ros-root .tgp-ros-webed__tplthumb { display: flex; flex-direction: column; gap: 5px; padding: 12px 10px; border-radius: 8px; background: var(--tbg); margin-bottom: 9px; }
#tgp-ros-root .tgp-ros-webed__tplbar { display: block; width: 46%; height: 8px; border-radius: 3px; background: var(--tink); opacity: .9; }
#tgp-ros-root .tgp-ros-webed__tplline { display: block; height: 4px; border-radius: 2px; background: var(--tink); opacity: .28; }
#tgp-ros-root .tgp-ros-webed__tplbtn { display: block; width: 34%; height: 9px; border-radius: 4px; background: var(--tac); margin-top: 3px; }
#tgp-ros-root .tgp-ros-webed__tplname { display: block; font-size: 13.5px; font-weight: 700; color: #fafafa; }
#tgp-ros-root .tgp-ros-webed__tplvibe { display: block; font-size: 11.5px; color: #71717a; margin-top: 2px; line-height: 1.35; }

#tgp-ros-root .tgp-ros-webed__accents { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#tgp-ros-root button.tgp-ros-webed__accent { width: 26px !important; height: 26px !important; border-radius: 50% !important; border: 2px solid transparent !important; cursor: pointer !important; padding: 0 !important; box-shadow: none !important; transition: transform .14s ease !important; }
#tgp-ros-root button.tgp-ros-webed__accent:hover { transform: scale(1.14) !important; }
#tgp-ros-root button.tgp-ros-webed__accent.is-active { border-color: #fff !important; box-shadow: 0 0 0 2px rgba(255,255,255,.25) !important; }
#tgp-ros-root .tgp-ros-webed__picker { width: 34px !important; height: 30px !important; padding: 0 !important; border: 1px solid rgba(255,255,255,.16) !important; border-radius: 8px !important; background: none !important; cursor: pointer !important; flex: 0 0 34px !important; }

#tgp-ros-root .tgp-ros-webed__seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); }
#tgp-ros-root .tgp-ros-webed__seg button { padding: 6px 12px !important; border-radius: 7px !important; border: 0 !important; background: none !important; color: #a1a1aa !important; font-size: 12.5px !important; font-weight: 600 !important; cursor: pointer !important; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important; }
#tgp-ros-root .tgp-ros-webed__seg button.is-active { background: rgba(168,85,247,.18) !important; color: #e9d5ff !important; }

#tgp-ros-root .tgp-ros-webed__uprow { display: flex; gap: 8px; align-items: stretch; }
#tgp-ros-root .tgp-ros-webed__uprow .tgp-field { min-width: 0; }
#tgp-ros-root label.tgp-ros-webed__upbtn { display: inline-flex !important; align-items: center !important; justify-content: center !important; flex: none !important; cursor: pointer !important; }

#tgp-ros-root .tgp-ros-webed__sections { display: flex; flex-direction: column; gap: 9px; }
#tgp-ros-root .tgp-ros-webed__sec { border: 1px solid rgba(255,255,255,.09); border-radius: 11px; background: rgba(255,255,255,.025); transition: border-color .15s ease, opacity .15s ease; }
#tgp-ros-root .tgp-ros-webed__sec.is-off { opacity: .45; }
#tgp-ros-root .tgp-ros-webed__sec.is-over { border-color: #a855f7; }
#tgp-ros-root .tgp-ros-webed__sec.is-drag { opacity: .35; }
#tgp-ros-root .tgp-ros-webed__secrow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
#tgp-ros-root .tgp-ros-webed__grip { color: #52525b; cursor: grab; display: flex; }
#tgp-ros-root .tgp-ros-webed__ontoggle { position: relative; display: inline-flex; cursor: pointer; flex: none; }
#tgp-ros-root .tgp-ros-webed__ontoggle input { position: absolute; opacity: 0; pointer-events: none; }
#tgp-ros-root .tgp-ros-webed__ontoggle span { width: 32px; height: 18px; border-radius: 99px; background: rgba(255,255,255,.12); position: relative; transition: background .16s ease; }
#tgp-ros-root .tgp-ros-webed__ontoggle span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .16s ease; }
#tgp-ros-root .tgp-ros-webed__ontoggle input:checked + span { background: #a855f7; }
#tgp-ros-root .tgp-ros-webed__ontoggle input:checked + span::after { left: 16px; }
#tgp-ros-root button.tgp-ros-webed__secname { flex: 1 !important; text-align: left !important; background: none !important; border: 0 !important; color: #fafafa !important; font-size: 13.5px !important; font-weight: 700 !important; cursor: pointer !important; padding: 2px 0 !important; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important; min-width: 0 !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
#tgp-ros-root .tgp-ros-webed__secacts { display: flex; gap: 2px; flex: none; }
#tgp-ros-root .tgp-ros-webed__secacts button { width: 26px !important; height: 26px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; background: none !important; border: 0 !important; border-radius: 7px !important; color: #71717a !important; cursor: pointer !important; padding: 0 !important; box-shadow: none !important; }
#tgp-ros-root .tgp-ros-webed__secacts button:hover { color: #e9d5ff !important; background: rgba(168,85,247,.12) !important; }
#tgp-ros-root .tgp-ros-webed__secacts button[data-ws-del]:hover { color: #f87171 !important; background: rgba(248,113,113,.1) !important; }
#tgp-ros-root .tgp-ros-webed__secbody:not(:empty) { padding: 4px 14px 16px; border-top: 1px dashed rgba(255,255,255,.08); }
#tgp-ros-root .tgp-ros-webed__sechint { font-size: 11.5px; color: #71717a; }
#tgp-ros-root .tgp-ros-webed__check { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 13.5px; color: #d4d4d8; }
#tgp-ros-root .tgp-ros-webed__check input { accent-color: #a855f7; width: 15px; height: 15px; }

#tgp-ros-root .tgp-ros-webed__addwrap { position: relative; margin-top: 14px; }
#tgp-ros-root .tgp-ros-webed__addpop { position: absolute; z-index: 40; bottom: calc(100% + 8px); left: 0; display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 4px; padding: 8px; border-radius: 12px; background: #18181f; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 50px rgba(0,0,0,.5); }
#tgp-ros-root .tgp-ros-webed__addpop button { padding: 9px 12px !important; text-align: left !important; background: none !important; border: 0 !important; border-radius: 8px !important; color: #d4d4d8 !important; font-size: 13px !important; font-weight: 600 !important; cursor: pointer !important; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important; }
#tgp-ros-root .tgp-ros-webed__addpop button:hover { background: rgba(168,85,247,.15) !important; color: #e9d5ff !important; }

#tgp-ros-root .tgp-ros-webed__album { display: flex; flex-wrap: wrap; gap: 8px; }
#tgp-ros-root .tgp-ros-webed__shot { position: relative; width: 62px; height: 62px; border-radius: 9px; overflow: hidden; }
#tgp-ros-root .tgp-ros-webed__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tgp-ros-root .tgp-ros-webed__shot button { position: absolute !important; top: 2px !important; right: 2px !important; width: 18px !important; height: 18px !important; border-radius: 50% !important; border: 0 !important; background: rgba(0,0,0,.65) !important; color: #fff !important; font-size: 12px !important; line-height: 1 !important; cursor: pointer !important; padding: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; }
#tgp-ros-root label.tgp-ros-webed__addshot { width: 62px; height: 62px; border-radius: 9px; border: 1.5px dashed rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: #71717a; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
#tgp-ros-root label.tgp-ros-webed__addshot:hover { border-color: #a855f7; color: #e9d5ff; }

#tgp-ros-root .tgp-ros-webed__shows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
#tgp-ros-root .tgp-ros-webed__show { display: grid; grid-template-columns: 118px 1fr; gap: 6px; padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; position: relative; }
#tgp-ros-root .tgp-ros-webed__show .tgp-field { font-size: 13px !important; padding: 7px 10px !important; }
#tgp-ros-root .tgp-ros-webed__show [data-ws-showf="venue"] { grid-column: 2; grid-row: 1; }
#tgp-ros-root .tgp-ros-webed__show [data-ws-showf="date"] { grid-column: 1; grid-row: 1; }
#tgp-ros-root .tgp-ros-webed__show [data-ws-showf="city"] { grid-column: 1; grid-row: 2; }
#tgp-ros-root .tgp-ros-webed__show [data-ws-showf="url"] { grid-column: 2; grid-row: 2; }
#tgp-ros-root .tgp-ros-webed__check--tight { grid-column: 1 / -1; font-size: 12.5px !important; }
#tgp-ros-root button.tgp-ros-webed__rowdel { position: absolute !important; top: -7px !important; right: -7px !important; width: 20px !important; height: 20px !important; border-radius: 50% !important; border: 0 !important; background: #3f3f46 !important; color: #fff !important; font-size: 13px !important; line-height: 1 !important; cursor: pointer !important; padding: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; }
#tgp-ros-root button.tgp-ros-webed__rowdel:hover { background: #ef4444 !important; }

#tgp-ros-root .tgp-ros-webed__preview { position: sticky; top: 20px; }
#tgp-ros-root .tgp-ros-webed__devbar { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
#tgp-ros-root button.tgp-ros-webed__dev { width: 32px !important; height: 32px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; border-radius: 8px !important; border: 1px solid rgba(255,255,255,.12) !important; background: none !important; color: #71717a !important; cursor: pointer !important; padding: 0 !important; box-shadow: none !important; }
#tgp-ros-root button.tgp-ros-webed__dev.is-active { color: #e9d5ff !important; border-color: rgba(168,85,247,.5) !important; background: rgba(168,85,247,.1) !important; }
#tgp-ros-root .tgp-ros-webed__devnote { margin-left: auto; font-size: 12.5px; color: #a78bfa; font-weight: 600; }
#tgp-ros-root .tgp-ros-webed__frame { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #0a0a0f; height: calc(100vh - 180px); min-height: 540px; transition: max-width .3s ease; }
#tgp-ros-root .tgp-ros-webed__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
#tgp-ros-root .tgp-ros-webed__frame.is-mobile { max-width: 390px; margin: 0 auto; }

@media (max-width: 1100px) {
	#tgp-ros-root .tgp-ros-webed__cols { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-webed__preview { position: static; }
	#tgp-ros-root .tgp-ros-webed__frame { height: 70vh; }
}

/* 12 tabs now (Website added) — tighten so the subnav still fits one row. */
#tgp-ros-root .tgp-ros-subnav__item { padding: 8px 11px; font-size: 12.5px; }

/* ── Website builder v2: tabs, richer template cards, repeaters ───────── */
#tgp-ros-root .tgp-ros-webed__tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; margin-bottom: 18px; }
#tgp-ros-root .tgp-ros-webed__tabs button { flex: 1 !important; padding: 9px 10px !important; border: 0 !important; border-radius: 9px !important; background: none !important; color: #a1a1aa !important; font-size: 13px !important; font-weight: 700 !important; cursor: pointer !important; box-shadow: none !important; text-transform: none !important; letter-spacing: .02em !important; }
#tgp-ros-root .tgp-ros-webed__tabs button.is-active { background: rgba(168,85,247,.16) !important; color: #e9d5ff !important; }
#tgp-ros-root .tgp-ros-webed__tabpane { display: none; }
#tgp-ros-root .tgp-ros-webed__tabpane.is-active { display: block; }
#tgp-ros-root .tgp-ros-webed__savenote { font-size: 12.5px; color: #a78bfa; font-weight: 600; min-width: 64px; text-align: right; }

#tgp-ros-root .tgp-ros-webed__tplthumb { flex-direction: row; align-items: center; gap: 12px; }
#tgp-ros-root .tgp-ros-webed__tplaa { font-size: 30px; line-height: 1; color: var(--tink); flex: none; }
#tgp-ros-root .tgp-ros-webed__tplrows { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }

#tgp-ros-root .tgp-ros-webed__secname em { display: block; font-style: normal; font-size: 10.5px; font-weight: 600; color: #71717a; letter-spacing: .05em; text-transform: uppercase; margin-top: 1px; }

#tgp-ros-root .tgp-ros-webed__addpop { position: absolute; z-index: 40; bottom: calc(100% + 8px); left: 0; right: 0; max-height: 380px; overflow-y: auto; display: block; padding: 10px; }
#tgp-ros-root .tgp-ros-webed__addgrp { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #71717a; padding: 10px 10px 6px; }
#tgp-ros-root .tgp-ros-webed__addpop button { display: block !important; width: 100% !important; }
#tgp-ros-root .tgp-ros-webed__addpop button strong { display: block; font-size: 13px; color: #e4e4e7; }
#tgp-ros-root .tgp-ros-webed__addpop button span { display: block; font-size: 11.5px; color: #71717a; font-weight: 500; margin-top: 1px; }
#tgp-ros-root .tgp-ros-webed__addpop button:hover strong { color: #e9d5ff; }

#tgp-ros-root .tgp-ros-webed__trks, #tgp-ros-root .tgp-ros-webed__pairs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
#tgp-ros-root .tgp-ros-webed__trk { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; position: relative; }
#tgp-ros-root .tgp-ros-webed__trk .tgp-field { flex: 1; min-width: 0; font-size: 13px !important; padding: 7px 10px !important; }
#tgp-ros-root label.tgp-ros-webed__trkcov { width: 36px; height: 36px; border-radius: 8px; border: 1.5px dashed rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: #71717a; cursor: pointer; flex: none; background-position: center; }
#tgp-ros-root label.tgp-ros-webed__trkcov:hover { border-color: #a855f7; color: #e9d5ff; }
#tgp-ros-root .tgp-ros-webed__trkok { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: #6ee7b7; flex: none; }
#tgp-ros-root .tgp-ros-webed__pair { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6px; padding: 8px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; position: relative; }
#tgp-ros-root .tgp-ros-webed__faqit { display: grid; gap: 6px; padding: 8px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; position: relative; }
#tgp-ros-root .tgp-ros-webed__pair .tgp-field, #tgp-ros-root .tgp-ros-webed__faqit .tgp-field { font-size: 13px !important; padding: 7px 10px !important; min-width: 0; }

/* ── Website tab: full-screen builder launcher ────────────────────────── */
#tgp-ros-root .tgp-ros-weblaunch__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; }
#tgp-ros-root .tgp-ros-weblaunch__status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.14); font-size: 12px; font-weight: 700; letter-spacing: .05em; color: #d4d4d8; margin-bottom: 16px; }
#tgp-ros-root .tgp-ros-weblaunch__dot { width: 8px; height: 8px; border-radius: 50%; background: #71717a; }
#tgp-ros-root .tgp-ros-weblaunch__status.is-live { border-color: rgba(52,211,153,.4); color: #6ee7b7; background: rgba(52,211,153,.08); }
#tgp-ros-root .tgp-ros-weblaunch__status.is-live .tgp-ros-weblaunch__dot { background: #34d399; }
#tgp-ros-root .tgp-ros-weblaunch__url { font-size: 21px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.01em; overflow-wrap: anywhere; }
#tgp-ros-root .tgp-ros-weblaunch__url a { color: #fafafa; text-decoration: none; }
#tgp-ros-root .tgp-ros-weblaunch__url a:hover { color: #e9d5ff; }
#tgp-ros-root .tgp-ros-weblaunch__meta { color: #a1a1aa; font-size: 13.5px; margin: 0 0 20px; }
#tgp-ros-root .tgp-ros-weblaunch__acts { display: flex; gap: 10px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-weblaunch__cta { padding: 12px 22px !important; }
#tgp-ros-root .tgp-ros-weblaunch__shot { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); aspect-ratio: 16/10; background: #0a0a0f; }
#tgp-ros-root .tgp-ros-weblaunch__shot iframe { width: 200%; height: 200%; border: 0; transform: scale(.5); transform-origin: 0 0; pointer-events: none; }
#tgp-ros-root .tgp-ros-weblaunch__shotlink { position: absolute; inset: 0; }
@media (max-width: 900px) {
	#tgp-ros-root .tgp-ros-weblaunch__grid { grid-template-columns: 1fr; }
}

/* ── Website analytics card (Website tab) ─────────────────────────────── */
#tgp-ros-root .tgp-ros-webstats { margin-top: 18px; }
#tgp-ros-root .tgp-ros-webstats__range { margin-left: auto; color: #71717a; font-size: 12.5px; font-weight: 600; }
#tgp-ros-root .tgp-ros-webstats__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 24px; }
#tgp-ros-root .tgp-ros-webstats__tile { padding: 16px 18px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: rgba(255,255,255,.02); }
#tgp-ros-root .tgp-ros-webstats__n { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.01em; color: #fafafa; }
#tgp-ros-root .tgp-ros-webstats__l { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #71717a; margin-top: 4px; }
#tgp-ros-root .tgp-ros-webstats__chart { display: flex; align-items: flex-end; gap: 6px; height: 96px; padding: 4px 2px 0; }
#tgp-ros-root .tgp-ros-webstats__bar { flex: 1; display: flex; align-items: flex-end; height: 100%; }
#tgp-ros-root .tgp-ros-webstats__bar span { display: block; width: 100%; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #a855f7, rgba(168,85,247,.45)); min-height: 3px; }
#tgp-ros-root .tgp-ros-webstats__bar span.is-zero { background: rgba(255,255,255,.08); }
#tgp-ros-root .tgp-ros-webstats__chartlabel { text-align: center; color: #71717a; font-size: 11.5px; letter-spacing: .06em; margin: 8px 0 0; }
#tgp-ros-root .tgp-ros-webstats__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
#tgp-ros-root .tgp-ros-webstats__lh { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a1a1aa; margin: 0 0 10px; }
#tgp-ros-root .tgp-ros-webstats__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 13.5px; color: #d4d4d8; }
#tgp-ros-root .tgp-ros-webstats__row em { font-style: normal; font-weight: 700; color: #e9d5ff; }
@media (max-width: 700px) {
	#tgp-ros-root .tgp-ros-webstats__lists { grid-template-columns: 1fr; }
}

/* ── Website analytics v2: multi-metric chart ─────────────────────────── */
#tgp-ros-root .tgp-ros-webstats__bargroup { flex: 1; display: flex; align-items: flex-end; gap: 2px; height: 100%; }
#tgp-ros-root .tgp-ros-webstats__bargroup span { display: block; flex: 1; border-radius: 3px 3px 1px 1px; min-height: 3px; }
#tgp-ros-root .tgp-ros-webstats__bargroup .is-v { background: linear-gradient(180deg, #a855f7, rgba(168,85,247,.45)); }
#tgp-ros-root .tgp-ros-webstats__bargroup .is-p { background: linear-gradient(180deg, #22d3ee, rgba(34,211,238,.4)); }
#tgp-ros-root .tgp-ros-webstats__bargroup .is-c { background: linear-gradient(180deg, #fbbf24, rgba(251,191,36,.4)); }
#tgp-ros-root .tgp-ros-webstats__bargroup span.is-zero { background: rgba(255,255,255,.07); }
#tgp-ros-root .tgp-ros-webstats__leg { display: inline-flex; align-items: center; gap: 6px; margin: 0 6px; }
#tgp-ros-root .tgp-ros-webstats__leg::before { content: ''; width: 9px; height: 9px; border-radius: 3px; }
#tgp-ros-root .tgp-ros-webstats__leg--v::before { background: #a855f7; }
#tgp-ros-root .tgp-ros-webstats__leg--p::before { background: #22d3ee; }
#tgp-ros-root .tgp-ros-webstats__leg--c::before { background: #fbbf24; }
@media (max-width: 900px) {
	#tgp-ros-root .tgp-ros-webstats__lists { grid-template-columns: 1fr; }
}

/* ── Dashboard "Everything inside Artist OS" grid ─────────────────────── */
#tgp-ros-root .tgp-ros-learncards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
#tgp-ros-root .tgp-ros-learncard { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 24px 26px; text-decoration: none; transition: border-color .16s ease, transform .16s ease; --lc-a: #a855f7; --lc-b: #ec4899; }
#tgp-ros-root .tgp-ros-learncard--guide { --lc-a: #34d399; --lc-b: #60a5fa; }
#tgp-ros-root .tgp-ros-learncard::before { content: ""; position: absolute; top: -70px; left: -50px; width: 260px; height: 220px; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--lc-a) 11%, transparent), transparent 70%); }
#tgp-ros-root .tgp-ros-learncard:hover { border-color: color-mix(in srgb, var(--lc-a) 45%, transparent); transform: translateY(-2px); text-decoration: none; }
#tgp-ros-root .tgp-ros-learncard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
#tgp-ros-root .tgp-ros-learncard__icon { position: relative; overflow: hidden; width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: rgba(255, 255, 255, 0.82); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
#tgp-ros-root .tgp-ros-learncard__icon::before { content: ""; position: absolute; left: 4px; bottom: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--lc-a); filter: blur(15px); opacity: 0.95; }
#tgp-ros-root .tgp-ros-learncard__icon::after { content: ""; position: absolute; right: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--lc-b); filter: blur(13px); opacity: 0.75; }
#tgp-ros-root .tgp-ros-learncard__icon svg { position: relative; z-index: 1; }
#tgp-ros-root .tgp-ros-learncard__arrow { color: #52525b; transition: color .16s ease, transform .16s ease; }
#tgp-ros-root .tgp-ros-learncard:hover .tgp-ros-learncard__arrow { color: #c084fc; transform: translateX(3px); }
#tgp-ros-root .tgp-ros-learncard__title { font-size: 15.5px; font-weight: 700; color: #fafafa; }
#tgp-ros-root .tgp-ros-learncard__sub { font-size: 13px; line-height: 1.55; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-learncard__foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
#tgp-ros-root .tgp-ros-learncard__bar { flex: 1; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
#tgp-ros-root .tgp-ros-learncard__bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7c3aed, #c084fc); }
#tgp-ros-root .tgp-ros-learncard__meta { font-size: 12px; color: #a1a1aa; white-space: nowrap; }
#tgp-ros-root .tgp-ros-learncard__foot--flow { gap: 6px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-learncard__step { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: #d4d4d8; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); }
#tgp-ros-root .tgp-ros-learncard__step::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--step-c, #a855f7); }
#tgp-ros-root .tgp-ros-learncard__step:nth-of-type(1) { --step-c: #a855f7; }
#tgp-ros-root .tgp-ros-learncard__step:nth-of-type(2) { --step-c: #ec4899; }
#tgp-ros-root .tgp-ros-learncard__step:nth-of-type(3) { --step-c: #60a5fa; }
#tgp-ros-root .tgp-ros-learncard__step:nth-of-type(4) { --step-c: #f59e0b; }
#tgp-ros-root .tgp-ros-learncard__step:nth-of-type(5) { --step-c: #34d399; }
#tgp-ros-root .tgp-ros-learncard__flowarrow { color: #52525b; flex: 0 0 auto; }

/* "NEW" badge on the My Career item in the account navigation. */
.woocommerce-MyAccount-navigation-link--my-career .tgp-nav-list__label::after {
	content: 'NEW';
	display: inline-block;
	margin-left: 8px;
	padding: 2px 7px 1px;
	border-radius: 99px;
	background: #a855f7;
	color: #fff;
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: .1em;
	vertical-align: middle;
	line-height: 1.5;
}

/* ── Mobile layer: every My Career view usable on any screen ──────────── */
@media (max-width: 900px) {
	/* Subnav: one scrollable row, never wrapping into a jumble. */
	#tgp-ros-root .tgp-ros-subnavrow { overflow: hidden; }
	#tgp-ros-root .tgp-ros-subnav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
	#tgp-ros-root .tgp-ros-subnav::-webkit-scrollbar { display: none; }
	#tgp-ros-root .tgp-ros-subnav__item { flex: none; white-space: nowrap; }

	/* Autopilot page */
	#tgp-ros-root .tgp-ros-ap__pitch,
	#tgp-ros-root .tgp-ros-ap__growthsec,
	#tgp-ros-root .tgp-ros-ap__anmeta { grid-template-columns: 1fr; gap: 20px; }
	#tgp-ros-root .tgp-ros-ap__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#tgp-ros-root .tgp-ros-ap__how,
	#tgp-ros-root .tgp-ros-ap__antiles { grid-template-columns: repeat(2, 1fr); }

	/* Ads page */
	#tgp-ros-root .tgp-ros-adcreative-cols { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-adhow__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	/* Dashboard stat tiles */
	#tgp-ros-root .tgp-ros-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }

	/* Autopilot / ads: single column everywhere */
	#tgp-ros-root .tgp-ros-ap__grid,
	#tgp-ros-root .tgp-ros-ap__how,
	#tgp-ros-root .tgp-ros-ap__antiles,
	#tgp-ros-root .tgp-ros-adhow__grid { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-ap__slot { grid-template-columns: 56px 1fr; }
	#tgp-ros-root .tgp-ros-ap__slot > :last-child { grid-column: 1 / -1; }
	#tgp-ros-root .tgp-ros-adspromote__form { grid-template-columns: 1fr 1fr; }

	/* Plans stack with the featured card first */
	#tgp-ros-root .tgp-ros-planlist { display: flex; flex-direction: column; gap: 14px; }
	#tgp-ros-root .tgp-ros-plancard.is-featured { order: -1; }

	/* Calendar: readable 7-col month on a phone */
	#tgp-ros-root .tgp-ros-cal-grid { font-size: 11px; }
	#tgp-ros-root .tgp-ros-cal-grid > * { min-width: 0; overflow: hidden; }

	/* Cards & modals breathe on small screens */
	#tgp-ros-root .tgp-card:not(.tgp-ros-stat):not(.tgp-ros-modal__panel) { padding: 18px 16px 20px !important; }
	#tgp-ros-root .tgp-ros-modal__panel { width: calc(100vw - 20px) !important; max-width: none !important; }

	/* Generic guards: nothing overflows the viewport sideways */
	#tgp-ros-root { overflow-x: hidden; }
	#tgp-ros-root img, #tgp-ros-root iframe, #tgp-ros-root video { max-width: 100%; }
	#tgp-ros-root .tgp-ros-form__grid { grid-template-columns: 1fr !important; }
	#tgp-ros-root .tgp-ros-webstats__tiles { grid-template-columns: repeat(2, 1fr); }
	#tgp-ros-root .tgp-ros-learncards { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-weblaunch__acts .tgp-ros-btn { width: 100%; justify-content: center; }
	#tgp-ros-root .tgp-ros-webstats__chart { gap: 3px; }
}

/* ── Press-kit preview loading veil ───────────────────────────────────── */
#tgp-ros-root .tgp-ros-epked__loading {
	position: absolute; inset: 0; z-index: 5;
	display: flex; align-items: center; justify-content: center;
	background: rgba(9, 9, 11, .6); backdrop-filter: blur(3px);
}
#tgp-ros-root .tgp-ros-epked__loading[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-epked__loading span {
	width: 38px; height: 38px; border-radius: 50%;
	border: 3px solid rgba(168, 85, 247, .25); border-top-color: #a855f7;
	animation: tgpRosEpkSpin .8s linear infinite;
}
@keyframes tgpRosEpkSpin { to { transform: rotate(360deg); } }
@media (max-width: 1100px) {
	#tgp-ros-root .tgp-ros-epked__preview { position: relative; }
}

/* ── Mobile audit round 2: autopilot slots, bell panel, stat orphans, prices ── */
#tgp-ros-root .tgp-ros-bell__panel[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-topup__price { display: block; font-size: 19px; font-weight: 800; color: #e9d5ff; margin: 3px 0 5px; }
#tgp-ros-root .tgp-ros-ap-addon__price {
	display: inline-block; margin-left: 10px; padding: 4px 12px; border-radius: 99px;
	background: rgba(168,85,247,.16); color: #e9d5ff; font-size: 13px; font-weight: 700; vertical-align: middle;
}
#tgp-ros-root .tgp-ros-ap-addon__title svg { vertical-align: -1px; margin-right: 4px; color: #c4b5fd; }

@media (max-width: 640px) {
	/* Autopilot queue: date row wraps cleanly, actions get their own full row */
	#tgp-ros-root .tgp-ros-ap__slottop { flex-wrap: wrap; gap: 4px 10px; }
	#tgp-ros-root .tgp-ros-ap__slottop strong { white-space: nowrap; }
	#tgp-ros-root .tgp-ros-ap__slotactions {
		grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px;
	}
	#tgp-ros-root .tgp-ros-ap__slotactions .tgp-ros-btn { flex: 1 1 calc(50% - 8px); justify-content: center; min-width: 0; }
	#tgp-ros-root .tgp-ros-ap__editor { grid-column: 1 / -1; }

	/* Notification panel becomes a bottom sheet instead of covering the header */
	#tgp-ros-root .tgp-ros-bell__panel:not([hidden]) {
		position: fixed; left: 12px; right: 12px; top: auto; bottom: 14px; width: auto;
		max-height: 62vh; overflow-y: auto; z-index: 130;
	}

	/* No orphan stat tiles: an odd last tile spans the full row */
	#tgp-ros-root .tgp-ros-stats > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ── Mobile round 3: calendar header + pitch directory rows ──────────────── */
@media (max-width: 640px) {
	/* Calendar head: month title + nav arrows share the first line,
	   the subscribe link drops to its own full-width row */
	#tgp-ros-root .tgp-ros-calendar .tgp-card__head {
		display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	}
	#tgp-ros-root .tgp-ros-calendar .tgp-card__head .tgp-card__title {
		flex: 1 1 auto; min-width: 0; margin: 0;
		white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	}
	#tgp-ros-root .tgp-ros-calendar .tgp-ros-cal-nav { flex-shrink: 0; margin-left: auto; }
	#tgp-ros-root .tgp-ros-calendar .tgp-card__head > a.tgp-ros-btn {
		order: 3; flex: 1 1 100%; justify-content: center; white-space: nowrap;
	}

	/* Pitch directory filter bar goes column, so a flex-basis would become
	   the input's HEIGHT — pin the search back to its natural size */
	#tgp-ros-root .tgp-ros-pitchdir__search { flex: 0 0 auto; min-width: 0; width: 100%; }
	#tgp-ros-root .tgp-ros-pitchdir__types { flex-wrap: wrap; }

	/* __side lives INSIDE __main; with width:100% + flex-shrink:0 it was
	   eating the whole row and crushing the name/genre column to zero.
	   Let main wrap so the actions take their own line under the info. */
	#tgp-ros-root .tgp-ros-pdrow__main { flex-wrap: wrap; row-gap: 8px; }
	#tgp-ros-root .tgp-ros-pdrow__info { flex: 1 1 calc(100% - 70px); }
	#tgp-ros-root .tgp-ros-pdrow__side {
		width: 100%; flex-shrink: 1; flex-wrap: wrap; justify-content: flex-start;
	}
	#tgp-ros-root .tgp-ros-pdrow__detail { padding-left: 8px; }
}

/* Calendar empty/error message is injected straight into the 7-col grid —
   span the full row instead of squeezing into one day cell */
#tgp-ros-root .tgp-ros-cal-grid > .tgp-ros-panel__empty { grid-column: 1 / -1; }

/* ── Campaign mission control ─────────────────────────────────────── */
#tgp-ros-root .tgp-ros-cmpstart { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-cmpstart__copy { flex: 1 1 320px; min-width: 0; }
#tgp-ros-root .tgp-ros-cmpstart__copy p { margin: 8px 0 0; color: var(--tgp-text-dim, #a1a1aa); font-size: 13.5px; line-height: 1.6; }
#tgp-ros-root .tgp-ros-cmpstart__form { flex: 1 1 300px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#tgp-ros-root .tgp-ros-cmpstart__form label { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: #8b8b93; min-width: 0; }
#tgp-ros-root .tgp-ros-cmpstart__form button { grid-column: 1 / -1; justify-self: start; }
#tgp-ros-root .tgp-ros-cmp__head { align-items: flex-start; }
#tgp-ros-root .tgp-ros-cmp__draftnote { margin: 0 0 18px; padding: 12px 16px; border: 1px dashed rgba(168, 85, 247, .45); border-radius: 12px; font-size: 13px; color: #c6c6cd; background: rgba(168, 85, 247, .06); }

#tgp-ros-root .tgp-ros-cmptl { list-style: none; margin: 6px 0 0; padding: 0; position: relative; }
#tgp-ros-root .tgp-ros-cmptl::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, rgba(168, 85, 247, .5), rgba(168, 85, 247, .08)); border-radius: 2px; }
#tgp-ros-root .tgp-ros-cmptl__node { position: relative; padding: 0 0 22px 30px; }
#tgp-ros-root .tgp-ros-cmptl__node:last-child { padding-bottom: 4px; }
#tgp-ros-root .tgp-ros-cmptl__dot { position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #3f3f46; background: #17171d; }
#tgp-ros-root .tgp-ros-cmptl__node.is-done .tgp-ros-cmptl__dot { border-color: #22c55e; background: rgba(34, 197, 94, .25); }
#tgp-ros-root .tgp-ros-cmptl__node.is-active .tgp-ros-cmptl__dot { border-color: #a855f7; background: rgba(168, 85, 247, .3); box-shadow: 0 0 10px rgba(168, 85, 247, .45); }
#tgp-ros-root .tgp-ros-cmptl__node.is-due .tgp-ros-cmptl__dot { border-color: #f59e0b; }
#tgp-ros-root .tgp-ros-cmptl__node.is-skipped { opacity: .55; }
#tgp-ros-root .tgp-ros-cmptl__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-cmptl__title { font-weight: 700; font-size: 14.5px; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-cmptl__meta { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
#tgp-ros-root .tgp-ros-cmptl__date { font-size: 12px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-cmptl__pill { font-size: 10.5px; }
#tgp-ros-root .tgp-ros-cmptl__pill.is-done { background: rgba(34, 197, 94, .14); color: #4ade80; }
#tgp-ros-root .tgp-ros-cmptl__pill.is-active { background: rgba(168, 85, 247, .16); color: #d8b4fe; }
#tgp-ros-root .tgp-ros-cmptl__pill.is-due { background: rgba(245, 158, 11, .14); color: #fbbf24; }
#tgp-ros-root .tgp-ros-cmptl__pill.is-planned,
#tgp-ros-root .tgp-ros-cmptl__pill.is-skipped { background: rgba(255, 255, 255, .06); color: #a1a1aa; }
#tgp-ros-root .tgp-ros-cmptl__desc { margin: 4px 0 0; font-size: 13px; line-height: 1.55; color: var(--tgp-text-dim, #a1a1aa); max-width: 640px; }
#tgp-ros-root .tgp-ros-cmptl__short { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
#tgp-ros-root .tgp-ros-cmptl__link { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: #c084fc; text-decoration: none; }
#tgp-ros-root .tgp-ros-cmptl__link:hover { color: #d8b4fe; }
#tgp-ros-root .tgp-ros-cmptl__ops { display: inline-flex; gap: 10px; margin-top: 8px; }
#tgp-ros-root .tgp-ros-cmptl__op { background: none; border: 0; padding: 0; font-size: 12px; color: #8b8b93; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
#tgp-ros-root .tgp-ros-cmptl__op:hover { color: #e4e4e7; }

/* War room v2 additions */
#tgp-ros-root .tgp-ros-warroom__checklist { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 4px; padding: 14px 16px; background: rgba(255, 255, 255, .04); border-radius: 12px; }
#tgp-ros-root .tgp-ros-warroom__checkhead { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #c084fc; }
#tgp-ros-root .tgp-ros-warroom__task { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #e4e4e7; }

/* Distribution checklist */
#tgp-ros-root .tgp-ros-distro__note { margin: 0 0 16px; font-size: 13px; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-distro__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
#tgp-ros-root .tgp-ros-distro__item { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; min-width: 0; }
#tgp-ros-root .tgp-ros-distro__item.is-missing { border-style: dashed; }
#tgp-ros-root .tgp-ros-distro__key { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8b8b93; }
#tgp-ros-root .tgp-ros-distro__val { background: none; border: 0; padding: 0; text-align: left; font-size: 13.5px; font-weight: 600; color: #f4f4f5; cursor: copy; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
#tgp-ros-root .tgp-ros-distro__val:hover { color: #d8b4fe; }
#tgp-ros-root .tgp-ros-distro__val--empty { color: #6b6b73; cursor: default; font-weight: 500; }
#tgp-ros-root .tgp-ros-distro__val--empty:hover { color: #6b6b73; }
#tgp-ros-root .tgp-ros-distro__steps { margin-top: 18px; }
#tgp-ros-root .tgp-ros-distro__stepshead { display: block; margin-bottom: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #c084fc; }
#tgp-ros-root .tgp-ros-distro__steps ol { margin: 0 0 14px; padding-left: 20px; font-size: 13px; line-height: 1.9; color: #c6c6cd; }
#tgp-ros-root .tgp-ros-distro__done { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: #e4e4e7; cursor: pointer; }

@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-cmpstart__form { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-cmptl__meta { margin-left: 0; }
}

/* ── Career score band ────────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-career { display: flex; gap: 26px; align-items: stretch; flex-wrap: wrap; position: relative; overflow: hidden; }
/* Paired hero (career card beside it): designed for half width — content
   stacks, countdown becomes a tidy number+progress row pinned to the bottom. */
#tgp-ros-root .tgp-ros-hero--paired { grid-column: auto; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 22px; }
#tgp-ros-root .tgp-ros-hero--paired .tgp-ros-hero__main { width: 100%; }
#tgp-ros-root .tgp-ros-hero--paired .tgp-ros-hero__countdown { width: 100%; min-width: 0; text-align: left; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 18px; row-gap: 2px; }
#tgp-ros-root .tgp-ros-hero--paired .tgp-ros-hero__days { grid-column: 1; grid-row: 1; font-size: 36px; line-height: 1; }
#tgp-ros-root .tgp-ros-hero--paired .tgp-ros-hero__days-label { grid-column: 1; grid-row: 2; margin-bottom: 0; white-space: nowrap; }
#tgp-ros-root .tgp-ros-hero--paired .tgp-ros-progress { grid-column: 2; grid-row: 1; align-self: center; }
#tgp-ros-root .tgp-ros-hero--paired .tgp-ros-hero__progress-label { grid-column: 2; grid-row: 2; margin-top: 0; }
#tgp-ros-root .tgp-ros-career::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: linear-gradient(90deg, #7c3aed, #c084fc, transparent); }
#tgp-ros-root .tgp-ros-career__score { display: flex; flex-direction: column; min-width: 170px; }
#tgp-ros-root .tgp-ros-career__num { font-size: 54px; font-weight: 800; line-height: 1; background: linear-gradient(120deg, #c084fc, #818cf8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
#tgp-ros-root .tgp-ros-career__of { font-size: 15px; color: #6b6b73; font-weight: 700; margin-top: 2px; }
#tgp-ros-root .tgp-ros-career__label { margin-top: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #8b8b93; }
#tgp-ros-root .tgp-ros-career__spark { width: 130px; height: 30px; margin-top: 12px; }
#tgp-ros-root .tgp-ros-career__parts { flex: 1 1 380px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px 22px; align-content: center; min-width: 0; }
#tgp-ros-root .tgp-ros-career__parttop { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
#tgp-ros-root .tgp-ros-career__partlabel { font-size: 12.5px; font-weight: 700; color: #e4e4e7; }
#tgp-ros-root .tgp-ros-career__partnum { font-size: 11.5px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-career__parttrack { display: block; height: 5px; margin: 7px 0 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
#tgp-ros-root .tgp-ros-career__parttrack span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7c3aed, #c084fc); }
#tgp-ros-root .tgp-ros-career__parthint { display: block; font-size: 11.5px; line-height: 1.5; color: #8b8b93; }

/* ── Celebration takeover ─────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-celebrate { position: fixed; inset: 0; z-index: 140; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(6, 6, 10, .82); backdrop-filter: blur(6px); animation: tgpRosCeleIn .3s ease; }
#tgp-ros-root .tgp-ros-celebrate.is-leaving { opacity: 0; transition: opacity .25s ease; }
#tgp-ros-root .tgp-ros-celebrate__panel { max-width: 430px; width: 100%; text-align: center; padding: 44px 36px 36px; border-radius: 22px; border: 1px solid rgba(168, 85, 247, .35); background: radial-gradient(120% 120% at 50% 0%, rgba(124, 58, 237, .22), rgba(23, 23, 29, .98) 55%); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
#tgp-ros-root .tgp-ros-celebrate__ring { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; margin-bottom: 18px; border-radius: 50%; color: #d8b4fe; border: 1px solid rgba(192, 132, 252, .4); background: rgba(168, 85, 247, .12); box-shadow: 0 0 34px rgba(168, 85, 247, .28); }
#tgp-ros-root .tgp-ros-celebrate__eyebrow { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #c084fc; }
#tgp-ros-root .tgp-ros-celebrate__value { display: block; margin-top: 8px; font-size: 52px; font-weight: 800; line-height: 1; color: #ffffff; }
#tgp-ros-root .tgp-ros-celebrate__label { display: block; margin-top: 6px; font-size: 15px; font-weight: 600; color: #d4d4d8; }
#tgp-ros-root .tgp-ros-celebrate__sub { margin: 14px 0 22px; font-size: 13px; line-height: 1.6; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-celebrate__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@keyframes tgpRosCeleIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Manager dock ─────────────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-mgr { position: fixed; right: 22px; bottom: calc(22px + var(--tgp-mgr-lift, 0px)); z-index: 130; transition: bottom 0.3s ease; }
#tgp-ros-root .tgp-ros-mgr__fab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 0; border-radius: 99px; cursor: pointer; font-size: 13.5px; font-weight: 700; color: #ffffff; background: linear-gradient(120deg, #7c3aed, #a855f7); box-shadow: 0 10px 30px rgba(124, 58, 237, .45); }
#tgp-ros-root .tgp-ros-mgr__fab:hover { filter: brightness(1.08); }
#tgp-ros-root .tgp-ros-mgr__panel { position: absolute; right: 0; bottom: 58px; width: 360px; max-width: calc(100vw - 34px); display: flex; flex-direction: column; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .1); background: #131318; box-shadow: 0 24px 70px rgba(0, 0, 0, .55); overflow: hidden; }
#tgp-ros-root .tgp-ros-mgr__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
#tgp-ros-root .tgp-ros-mgr__title { display: block; font-size: 14px; font-weight: 800; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-mgr__sub { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.45; color: #8b8b93; }
#tgp-ros-root .tgp-ros-navcredits {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
	background: rgba(255, 255, 255, 0.03);
	font-size: 11.5px;
	color: var(--tgp-text-dim, #a1a1aa);
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.15s ease, color 0.15s ease;
}
#tgp-ros-root .tgp-ros-navcredits:hover { border-color: rgba(255, 255, 255, 0.2); color: var(--tgp-text, #e4e4e7); text-decoration: none; }
#tgp-ros-root .tgp-ros-navcredits svg { color: #c084fc; }
#tgp-ros-root .tgp-ros-navcredits b { font-size: 12.5px; color: var(--tgp-text, #e4e4e7); }

/* In-button cost chip: every generation action states its price up front. */
#tgp-ros-root .tgp-ros-btncost {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin-left: 9px;
	padding-left: 9px;
	border-left: 1px solid rgba(255, 255, 255, 0.25);
	font-size: 10.5px;
	font-weight: 700;
	opacity: 0.8;
	white-space: nowrap;
}
#tgp-ros-root .tgp-ros-costnote { margin: 8px 0 0; font-size: 11px; line-height: 1.5; color: #8b8b93; }
#tgp-ros-root .tgp-ros-mgr__creditnote {
	align-self: flex-start;
	margin: -4px 0 2px;
	font-size: 10.5px;
	color: #6f6f78;
}
#tgp-ros-root .tgp-ros-mgr__x { background: none; border: 0; font-size: 20px; line-height: 1; color: #8b8b93; cursor: pointer; padding: 2px 6px; }
#tgp-ros-root .tgp-ros-mgr__x:hover { color: #f4f4f5; }
#tgp-ros-root .tgp-ros-mgr__log { height: 320px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
#tgp-ros-root .tgp-ros-mgr__msg { max-width: 85%; padding: 10px 13px; border-radius: 13px; font-size: 13px; line-height: 1.55; white-space: pre-wrap; word-wrap: break-word; }
#tgp-ros-root .tgp-ros-mgr__msg--bot { align-self: flex-start; background: rgba(255, 255, 255, .06); color: #e4e4e7; border-bottom-left-radius: 4px; }
#tgp-ros-root .tgp-ros-mgr__msg--me { align-self: flex-end; background: rgba(124, 58, 237, .3); color: #f4f4f5; border-bottom-right-radius: 4px; }
#tgp-ros-root .tgp-ros-mgr__msg.is-typing { color: #a78bfa; letter-spacing: 2px; animation: tgpRosMgrPulse 1s ease-in-out infinite; }
#tgp-ros-root .tgp-ros-mgr__actions { display: flex; flex-direction: column; gap: 6px; align-self: flex-start; max-width: 85%; }
#tgp-ros-root .tgp-ros-mgr__rate { display: flex; gap: 4px; align-self: flex-start; margin: -4px 0 2px 4px; opacity: .55; transition: opacity .15s; }
#tgp-ros-root .tgp-ros-mgr__rate:hover, #tgp-ros-root .tgp-ros-mgr__rate.is-done { opacity: 1; }
#tgp-ros-root .tgp-ros-mgr__ratebtn { all: unset; cursor: pointer; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-mgr__ratebtn:hover { background: rgba(255,255,255,.08); color: #e4e4e7; }
#tgp-ros-root .tgp-ros-mgr__ratebtn.is-on { color: #c084fc; background: rgba(124,58,237,.22); }
#tgp-ros-root .tgp-ros-mgr__rate { flex-wrap: wrap; align-items: center; max-width: 85%; }
#tgp-ros-root .tgp-ros-mgr__ratefb { font-size: 12px; color: #a78bfa; margin-left: 6px; }
#tgp-ros-root .tgp-ros-mgr__ratenote { flex: 1 1 100%; margin-top: 6px; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #f4f4f5; font-size: 12.5px; outline: none; }
#tgp-ros-root .tgp-ros-mgr__ratenote:focus { border-color: #8b5cf6; }
#tgp-ros-root .tgp-ros-mgr__actionchip { font-size: 11.5px; font-weight: 600; color: #4ade80; padding: 6px 11px; border-radius: 99px; background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .25); }
#tgp-ros-root .tgp-ros-mgr__inputrow { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid rgba(255, 255, 255, .07); }
#tgp-ros-root .tgp-ros-mgr__inputrow .tgp-field { flex: 1; min-width: 0; }
@keyframes tgpRosMgrPulse { 50% { opacity: .4; } }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-mgr { right: 14px; bottom: calc(14px + var(--tgp-mgr-lift, 0px)); }
	#tgp-ros-root .tgp-ros-mgr__log { height: 46vh; }
}

/* ── Flywheel: trial band + next-move recommendations ─────────────── */
#tgp-ros-root .tgp-ros-trialband { grid-column: 1 / -1; align-self: start; display: flex; align-items: center; gap: 10px; min-height: 0; padding: 8px 10px 8px 14px; border-radius: 12px; border: 1px solid rgba(251, 191, 36, .25); background: linear-gradient(90deg, rgba(251, 191, 36, .1), rgba(251, 191, 36, .03)); color: #fbbf24; font-size: 13px; font-weight: 600; }
#tgp-ros-root .tgp-ros-trialband span { flex: 1; color: #e4e4e7; }
#tgp-ros-root .tgp-ros-trialband .tgp-btn { flex: none; }
@media (max-width: 640px) { #tgp-ros-root .tgp-ros-trialband { font-size: 12px; padding: 8px 8px 8px 12px; } }
#tgp-ros-root .tgp-ros-nextmove__reason { margin: 0 0 16px; font-size: 13.5px; line-height: 1.6; color: #c6c6cd; padding: 12px 16px; border-left: 3px solid #a855f7; background: rgba(168, 85, 247, .07); border-radius: 0 10px 10px 0; }
#tgp-ros-root .tgp-ros-nextmove__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
#tgp-ros-root .tgp-ros-nextmove__item { display: flex; flex-direction: column; gap: 6px; text-decoration: none; min-width: 0; }
#tgp-ros-root .tgp-ros-nextmove__item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; transition: transform .15s ease; }
#tgp-ros-root .tgp-ros-nextmove__item:hover img { transform: scale(1.03); }
#tgp-ros-root .tgp-ros-nextmove__name { font-size: 13px; font-weight: 600; color: #e4e4e7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-nextmove__price { font-size: 12px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-nextmove__optin { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: 12.5px; line-height: 1.5; color: #8b8b93; cursor: pointer; }
#tgp-ros-root .tgp-ros-nextmove__optin input { margin-top: 2px; }

/* ── Pitch outcomes funnel ────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-outcomes__funnel { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; }
#tgp-ros-root .tgp-ros-outcomes__step { display: flex; flex-direction: column; gap: 6px; }
#tgp-ros-root .tgp-ros-outcomes__num { font-size: 22px; font-weight: 800; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-outcomes__bar { display: block; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
#tgp-ros-root .tgp-ros-outcomes__bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7c3aed, #c084fc); }
#tgp-ros-root .tgp-ros-outcomes__label { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8b8b93; }
#tgp-ros-root .tgp-ros-outcomes__genres { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
#tgp-ros-root .tgp-ros-outcomes__ghead { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8b8b93; margin-right: 4px; }
#tgp-ros-root .tgp-ros-outcomes__genres .tgp-pill b { margin-left: 5px; color: #4ade80; }

/* ── Carousel composer + content plan toolbar ─────────────────────── */
#tgp-ros-root .tgp-ros-medialib__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#tgp-ros-root .tgp-ros-contentplan__headbtns { display: inline-flex; gap: 10px; }
#tgp-ros-root .tgp-ros-carmodal__note { margin: 0 0 14px; font-size: 13px; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-carmodal__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; max-height: 320px; overflow-y: auto; }
#tgp-ros-root .tgp-ros-carmodal__pick { position: relative; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; }
#tgp-ros-root .tgp-ros-carmodal__pick img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
#tgp-ros-root .tgp-ros-carmodal__pick.is-picked { border-color: #a855f7; }
#tgp-ros-root .tgp-ros-carmodal__order { position: absolute; top: 6px; right: 6px; min-width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #7c3aed; color: #ffffff; font-size: 12px; font-weight: 800; }
#tgp-ros-root .tgp-ros-carmodal__pick:not(.is-picked) .tgp-ros-carmodal__order { display: none; }
#tgp-ros-root .tgp-ros-carmodal__empty { grid-column: 1 / -1; font-size: 13px; color: #8b8b93; }

/* ── Ads verdicts + retargeting ───────────────────────────────────── */
#tgp-ros-root .tgp-ros-adverdicts { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; }
#tgp-ros-root .tgp-ros-adverdict { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .08); font-size: 13px; line-height: 1.5; }
#tgp-ros-root .tgp-ros-adverdict strong { font-size: 12.5px; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-adverdict span { color: #a1a1aa; }
#tgp-ros-root .tgp-ros-adverdict.is-good { border-color: rgba(34, 197, 94, .35); }
#tgp-ros-root .tgp-ros-adverdict.is-good span { color: #86efac; }
#tgp-ros-root .tgp-ros-adverdict.is-bad { border-color: rgba(239, 68, 68, .35); }
#tgp-ros-root .tgp-ros-adverdict.is-bad span { color: #fca5a5; }
#tgp-ros-root .tgp-ros-adverdict.is-move { border-color: rgba(168, 85, 247, .45); background: rgba(168, 85, 247, .07); }
#tgp-ros-root .tgp-ros-adverdict.is-move span { color: #d8b4fe; }
#tgp-ros-root .tgp-ros-adretarget__toggle { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.55; color: #c6c6cd; cursor: pointer; text-transform: none; letter-spacing: 0; }
#tgp-ros-root .tgp-ros-adretarget__toggle input { margin-top: 3px; }
#tgp-ros-root .tgp-ros-adretarget__pixelrow { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; max-width: 380px; }

/* ── Fan mail composer ────────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-fanmail__grid { display: grid; grid-template-columns: 1fr 260px; gap: 26px; }
#tgp-ros-root .tgp-ros-fanmail__form { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
#tgp-ros-root .tgp-ros-fanmail__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-fanmail__side { border-left: 1px solid rgba(255, 255, 255, .07); padding-left: 24px; min-width: 0; }
#tgp-ros-root .tgp-ros-fanmail__sidehead { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #c084fc; margin-bottom: 6px; }
#tgp-ros-root .tgp-ros-fanmail__sidenote { margin: 0 0 8px; font-size: 12.5px; line-height: 1.55; color: #8b8b93; }
#tgp-ros-root .tgp-ros-fanmail__biolink { font-size: 13px; font-weight: 600; color: #c084fc; text-decoration: none; word-break: break-all; }
#tgp-ros-root .tgp-ros-fanmail__logrow { display: flex; justify-content: space-between; gap: 10px; margin: 6px 0 0; font-size: 12.5px; color: #c6c6cd; }
#tgp-ros-root .tgp-ros-fanmail__logrow em { font-style: normal; color: #8b8b93; }
@media (max-width: 800px) {
	#tgp-ros-root .tgp-ros-fanmail__grid { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-fanmail__side { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .07); padding-top: 18px; }
}

/* ── Booking pipeline ─────────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-bookings__rate { display: flex; flex-direction: column; gap: 3px; padding: 14px 18px; margin-bottom: 16px; border: 1px solid rgba(168, 85, 247, .35); border-radius: 13px; background: rgba(168, 85, 247, .06); }
#tgp-ros-root .tgp-ros-bookings__ratehead { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #c084fc; }
#tgp-ros-root .tgp-ros-bookings__raterange { font-size: 24px; font-weight: 800; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-bookings__ratebasis { font-size: 12px; line-height: 1.5; color: #8b8b93; }
#tgp-ros-root .tgp-ros-bookings__list { display: flex; flex-direction: column; gap: 10px; }
#tgp-ros-root .tgp-ros-bookings__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 13px 16px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-bookings__who { min-width: 0; flex: 1 1 240px; }
#tgp-ros-root .tgp-ros-bookings__who strong { display: block; font-size: 14px; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-bookings__who small { color: #8b8b93; font-size: 12px; }
#tgp-ros-root .tgp-ros-bookings__notes { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-bookings__ops { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-bookings__add { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-bookings__add .tgp-field { flex: 1 1 130px; min-width: 0; }

/* ── Grouped subnav (5 concepts + contextual sub-row) ─────────────── */
#tgp-ros-root .tgp-ros-subnavrow { flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-subnav--sub { flex-basis: 100%; order: 5; margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .06); }
#tgp-ros-root .tgp-ros-subnav--sub .tgp-ros-subnav__item { font-size: 11.5px; opacity: .92; }
/* ── Nav bar: one geometry for every item — anchors, group buttons, pill ── */
#tgp-ros-root .tgp-ros-subnav { display: flex; align-items: center; gap: 3px; padding: 5px; }
#tgp-ros-root .tgp-ros-subnav__group { display: inline-flex; }
#tgp-ros-root .tgp-ros-subnav__item,
#tgp-ros-root .tgp-ros-subnav__grouplabel { display: inline-flex !important; align-items: center !important; justify-content: center; gap: 6px; height: 36px; margin: 0 !important; padding: 0 15px !important; border-radius: 99px; line-height: 1 !important; font-family: inherit !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; }
#tgp-ros-root .tgp-ros-subnav__item:hover { background: rgba(255, 255, 255, .05); }
#tgp-ros-root .tgp-ros-subnav__grouplabel svg { width: 9px; height: 9px; opacity: .5; flex: none; }
#tgp-ros-root .tgp-ros-subnav__item--ap svg { width: 11px; height: 11px; opacity: 1; flex: none; }

/* Upgrade pill: quiet interior, brand-gradient border, gradient label. */
#tgp-ros-root .tgp-ros-subnav__item--up { margin-left: 6px !important; border: 1px solid transparent; border-radius: 99px; background: linear-gradient(var(--tgp-surface, #111113), var(--tgp-surface, #111113)) padding-box, linear-gradient(120deg, rgba(139, 92, 246, .38), rgba(217, 70, 239, .34) 55%, rgba(240, 171, 252, .3)) border-box; transition: box-shadow .12s ease; }
#tgp-ros-root .tgp-ros-subnav__item--up { color: #d8c7f5; }
#tgp-ros-root .tgp-ros-subnav__item--up:hover { color: #ffffff; background: linear-gradient(#221a2e, #221a2e) padding-box, linear-gradient(120deg, #8b5cf6, #d946ef 55%, #f0abfc) border-box; }
#tgp-ros-root .tgp-ros-subnav__item--up.is-active { color: #ffffff; background: linear-gradient(#221a2e, #221a2e) padding-box, linear-gradient(120deg, #8b5cf6, #d946ef 55%, #f0abfc) border-box; }

/* ── Command palette ──────────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-cmdk { position: fixed; inset: 0; z-index: 150; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 20px 20px; background: rgba(6, 6, 10, .7); backdrop-filter: blur(4px); }
#tgp-ros-root .tgp-ros-cmdk[hidden] { display: none; }
#tgp-ros-root .tgp-ros-cmdk__panel { width: 100%; max-width: 520px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .12); background: #141419; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); overflow: hidden; }
#tgp-ros-root .tgp-ros-cmdk__input { width: 100%; padding: 16px 18px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); background: transparent; color: #f4f4f5; font-size: 15px; outline: none; }
#tgp-ros-root .tgp-ros-cmdk__list { max-height: 320px; overflow-y: auto; padding: 8px; }
#tgp-ros-root .tgp-ros-cmdk__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 11px 12px; border: 0; border-radius: 10px; background: none; color: #d4d4d8; font-size: 13.5px; cursor: pointer; }
#tgp-ros-root .tgp-ros-cmdk__item small { color: #6b6b73; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
#tgp-ros-root .tgp-ros-cmdk__item.is-active, #tgp-ros-root .tgp-ros-cmdk__item:hover { background: rgba(168, 85, 247, .14); color: #ffffff; }
#tgp-ros-root .tgp-ros-cmdk__hint { padding: 10px 16px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 11px; color: #6b6b73; }

/* ── Upgrade page: budget, math, yearly, team ─────────────────────── */
#tgp-ros-root .tgp-ros-cbudget { margin: 0 0 18px; }
#tgp-ros-root .tgp-ros-cbudget__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
#tgp-ros-root .tgp-ros-cbudget__item { padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; }
#tgp-ros-root .tgp-ros-cbudget__num { display: block; font-size: 22px; font-weight: 800; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-cbudget__label { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: #8b8b93; }
#tgp-ros-root .tgp-ros-planmath { margin: 0 0 18px; padding: 12px 16px; border-left: 3px solid #a855f7; background: rgba(168, 85, 247, .07); border-radius: 0 10px 10px 0; font-size: 13px; line-height: 1.6; color: #c6c6cd; }
#tgp-ros-root .tgp-ros-yearly { display: flex; align-items: center; gap: 14px; justify-content: space-between; flex-wrap: wrap; margin: 0 0 18px; padding: 13px 16px; border: 1px solid rgba(245, 158, 11, .35); border-radius: 12px; font-size: 13px; color: #e4e4e7; }
#tgp-ros-root .tgp-ros-teamcard { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 18px 0; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; }
#tgp-ros-root .tgp-ros-teamcard__copy { flex: 1 1 320px; min-width: 0; }
#tgp-ros-root .tgp-ros-teamcard__sub { margin: 4px 0 0; font-size: 13px; line-height: 1.6; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-teamcard__cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ── Subnav dropdown groups ───────────────────────────────────────── */
#tgp-ros-root .tgp-ros-subnav__group { position: relative; display: inline-flex; }
#tgp-ros-root .tgp-ros-subnav__grouplabel { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; background: none; border: 0; font: inherit; }
#tgp-ros-root .tgp-ros-subnav__grouplabel svg { opacity: .55; transition: transform .15s ease; }
#tgp-ros-root .tgp-ros-subnav__drop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 190px; display: flex; flex-direction: column; padding: 7px; border-radius: 13px; border: 1px solid rgba(255, 255, 255, .1); background: #16161c; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); visibility: hidden; opacity: 0; transition: opacity .12s ease, visibility 0s linear .25s; }
/* Invisible bridge across the 6px gap so the pointer never "leaves" on the way down. */
#tgp-ros-root .tgp-ros-subnav__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
#tgp-ros-root .tgp-ros-subnav__group:hover .tgp-ros-subnav__drop,
#tgp-ros-root .tgp-ros-subnav__group:focus-within .tgp-ros-subnav__drop,
#tgp-ros-root .tgp-ros-subnav__group.is-open .tgp-ros-subnav__drop { visibility: visible; opacity: 1; transition-delay: 0s; }
#tgp-ros-root .tgp-ros-subnav__group:hover .tgp-ros-subnav__grouplabel svg,
#tgp-ros-root .tgp-ros-subnav__group.is-open .tgp-ros-subnav__grouplabel svg { transform: rotate(180deg); }
#tgp-ros-root .tgp-ros-subnav__dropitem { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 9px; font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0; color: #c6c6cd; text-decoration: none; white-space: nowrap; }
#tgp-ros-root .tgp-ros-subnav__dropitem:hover { background: rgba(168, 85, 247, .12); color: #ffffff; }
#tgp-ros-root .tgp-ros-subnav__dropitem.is-active { color: #d8b4fe; background: rgba(168, 85, 247, .16); }
/* The old two-row layout is gone — keep the row on one line. */
#tgp-ros-root .tgp-ros-subnav--sub { display: none; }
@media (hover: none) {
	/* Touch: hover can't open — the JS toggle owns it. */
	#tgp-ros-root .tgp-ros-subnav__group:hover:not(.is-open) .tgp-ros-subnav__drop { visibility: hidden; opacity: 0; }
}

/* ── Dropdown nav: kill every overflow clip, wrap instead of scroll ── */
#tgp-ros-root .tgp-ros-subnavrow { overflow: visible !important; }
#tgp-ros-root .tgp-ros-subnav { overflow: visible !important; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-subnav__drop { z-index: 120; }
@media (max-width: 900px) {
	/* The 5-group bar fits by wrapping — the old swipe-scroll row clipped the dropdowns. */
	#tgp-ros-root .tgp-ros-subnavrow { border-radius: 18px; }
	#tgp-ros-root .tgp-ros-subnav__item { flex: none; }
}

/* ── Milestone cards panel ────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-mstones { margin: 18px 0 6px; }
#tgp-ros-root .tgp-ros-mstones__sub { margin: 2px 0 12px; font-size: 12.5px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-mstones__row { display: flex; gap: 12px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-mstones__tile {
	display: flex; flex-direction: column; align-items: center; gap: 3px;
	min-width: 122px; padding: 14px 20px 14px; border-radius: 16px; cursor: pointer;
	--msc-a: #a855f7; --msc-b: #ec4899;
	border: 1px solid color-mix(in srgb, var(--msc-a) 40%, transparent);
	background: linear-gradient(165deg, color-mix(in srgb, var(--msc-a) 16%, #16161a), #121215 62%);
	transition: transform .13s ease, border-color .13s ease;
}
#tgp-ros-root .tgp-ros-mstones__tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--msc-a) 70%, transparent); }
#tgp-ros-root .tgp-ros-mstones__trophy { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 3px; border-radius: 9px; color: var(--msc-a); background: color-mix(in srgb, var(--msc-a) 14%, transparent); border: 1px solid color-mix(in srgb, var(--msc-a) 30%, transparent); }
#tgp-ros-root .tgp-ros-mstones__num { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(120deg, #ffffff 30%, var(--msc-a)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
#tgp-ros-root .tgp-ros-mstones__lbl { font-size: 9.5px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-mstones__dl { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #d4d4d8; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
#tgp-ros-root .tgp-ros-mstones__tile:hover .tgp-ros-mstones__dl { color: #ffffff; border-color: color-mix(in srgb, var(--msc-a) 55%, transparent); background: color-mix(in srgb, var(--msc-a) 14%, transparent); }

/* ── Content plan: explainer strip + guided create ────────────────── */
#tgp-ros-root .tgp-ros-howstrip { display: flex; gap: 18px; flex-wrap: wrap; margin: 0 0 16px; padding: 11px 16px; border: 1px dashed rgba(255, 255, 255, .14); border-radius: 12px; }
#tgp-ros-root .tgp-ros-howstrip__step { font-size: 12px; color: #a1a1aa; display: inline-flex; align-items: center; gap: 8px; }
#tgp-ros-root .tgp-ros-howstrip__step b { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(168, 85, 247, .2); color: #d8b4fe; font-size: 10.5px; flex: none; }
#tgp-ros-root .tgp-ros-contentrow__create { flex: none; }
#tgp-ros-root .tgp-ros-creator.is-guided { border-color: #a855f7 !important; box-shadow: 0 0 0 3px rgba(168, 85, 247, .25), 0 0 24px rgba(168, 85, 247, .35) !important; }

/* ── Link-in-bio editor ───────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-biolinks__urlwrap { display: inline-flex; align-items: center; gap: 10px; }
#tgp-ros-root .tgp-ros-biolinks__sub { margin: 0 0 16px; font-size: 13px; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-biolinks__grid { display: grid; grid-template-columns: 1fr 250px; gap: 26px; }
#tgp-ros-root .tgp-ros-biolinks__tpls { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 14px; }
#tgp-ros-root .tgp-ros-biolinks__tpl { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .12); background: none; color: #c6c6cd; font-size: 12px; font-weight: 600; cursor: pointer; }
#tgp-ros-root .tgp-ros-biolinks__tpl.is-active { border-color: #a855f7; color: #ffffff; background: rgba(168, 85, 247, .12); }
#tgp-ros-root .tgp-ros-biolinks__tplchip { width: 14px; height: 14px; border-radius: 5px; }
#tgp-ros-root .tgp-ros-biolinks__tpl--midnight .tgp-ros-biolinks__tplchip { background: radial-gradient(circle at 30% 20%, #7c3aed, #0b0b0e); }
#tgp-ros-root .tgp-ros-biolinks__tpl--neon .tgp-ros-biolinks__tplchip { background: #060609; box-shadow: inset 0 0 0 1.5px #a855f7; }
#tgp-ros-root .tgp-ros-biolinks__tpl--glass .tgp-ros-biolinks__tplchip { background: linear-gradient(135deg, rgba(255,255,255,.5), rgba(255,255,255,.1)); }
#tgp-ros-root .tgp-ros-biolinks__tpl--paper .tgp-ros-biolinks__tplchip { background: #f7f5f0; box-shadow: inset 1.5px 1.5px 0 #1c1c1e; }
#tgp-ros-root .tgp-ros-biolinks__tpl--gradient .tgp-ros-biolinks__tplchip { background: linear-gradient(150deg, #a855f7, #0b0b0e); }
#tgp-ros-root .tgp-ros-biolinks__tpl--tiles .tgp-ros-biolinks__tplchip { background: conic-gradient(from 0deg, #26262c 0 25%, #15151b 0 50%, #26262c 0 75%, #15151b 0); }
#tgp-ros-root .tgp-ros-biolinks__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
#tgp-ros-root .tgp-ros-biolinks__meta .tgp-field { flex: 1 1 240px; min-width: 0; }
#tgp-ros-root .tgp-ros-biolinks__rows { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 10px; }
#tgp-ros-root .tgp-ros-biolinks__row { display: flex; align-items: center; gap: 8px; }
#tgp-ros-root .tgp-ros-biolinks__row .tgp-field { min-width: 0; }
#tgp-ros-root .tgp-ros-biolinks__row [data-k="label"] { flex: 0 1 170px; }
#tgp-ros-root .tgp-ros-biolinks__row [data-k="url"] { flex: 1 1 200px; }
#tgp-ros-root .tgp-ros-biolinks__thumb { width: 40px; height: 40px; flex: none; border-radius: 10px; border: 1px dashed rgba(255, 255, 255, .25); background: none; cursor: pointer; overflow: hidden; color: #8b8b93; font-size: 16px; display: flex; align-items: center; justify-content: center; padding: 0; }
#tgp-ros-root .tgp-ros-biolinks__thumb img { width: 100%; height: 100%; object-fit: cover; }
#tgp-ros-root .tgp-ros-biolinks__rowops { display: inline-flex; gap: 2px; flex: none; }
#tgp-ros-root .tgp-ros-biolinks__rowops button { width: 26px; height: 26px; border: 0; border-radius: 7px; background: none; color: #8b8b93; cursor: pointer; font-size: 13px; }
#tgp-ros-root .tgp-ros-biolinks__rowops button:hover { background: rgba(255, 255, 255, .08); color: #f4f4f5; }
#tgp-ros-root .tgp-ros-biolinks__preview iframe { width: 100%; aspect-ratio: 9 / 16; max-height: 460px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: #0b0b0e; margin-top: 8px; }
@media (max-width: 900px) {
	#tgp-ros-root .tgp-ros-biolinks__grid { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-biolinks__row { flex-wrap: wrap; }
}

/* ── Contract customization + agreement layout ────────────────────── */
#tgp-ros-root .tgp-ros-bdoc__custom { max-width: 760px; margin: 0 0 14px; }
#tgp-ros-root .tgp-ros-bdoc__custom details { border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 12px 16px; }
#tgp-ros-root .tgp-ros-bdoc__custom summary { cursor: pointer; font-size: 13px; font-weight: 600; color: #c6c6cd; }
#tgp-ros-root .tgp-ros-bdoc__customgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
#tgp-ros-root .tgp-ros-bdoc__customgrid label { display: flex; flex-direction: column; gap: 5px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #8b8b93; min-width: 0; }
#tgp-ros-root .tgp-ros-bdoc__wide { grid-column: 1 / -1; }
#tgp-ros-root .tgp-ros-bdoc__agreement { outline: none; }
#tgp-ros-root .tgp-ros-bdoc__agreement:focus-within { box-shadow: inset 0 0 0 2px rgba(168, 85, 247, .25); border-radius: 8px; }
#tgp-ros-root .tgp-ros-bdoc__parties { font-size: 13px; line-height: 1.7; color: #3f3f46; margin: 6px 0 12px; }
#tgp-ros-root .tgp-ros-bdoc__clauses { margin: 0; padding-left: 20px; font-size: 12.5px; line-height: 1.75; color: #3f3f46; }
#tgp-ros-root .tgp-ros-bdoc__clauses li { margin-bottom: 10px; }
#tgp-ros-root .tgp-ros-bdoc__clauses strong { color: #18181b; }
#tgp-ros-root .tgp-ros-bdoc__legalnote { max-width: 760px; }
@media (max-width: 700px) { #tgp-ros-root .tgp-ros-bdoc__customgrid { grid-template-columns: 1fr; } }
@media print { #tgp-ros-root .tgp-ros-bdoc__custom, #tgp-ros-root .tgp-ros-bdoc__legalnote { display: none !important; } }

/* ── Biolinks template cards (specimen previews) ──────────────────── */
#tgp-ros-root .tgp-ros-biolinks__tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin: 8px 0 6px; }
#tgp-ros-root .tgp-ros-biolinks__tplcard { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0 0 10px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .1); background: none; cursor: pointer; overflow: hidden; transition: border-color .12s ease, transform .12s ease; }
#tgp-ros-root .tgp-ros-biolinks__tplpro { position: absolute; top: 7px; right: 7px; z-index: 1; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #c4b5fd; background: rgba(139, 92, 246, .16); border: 1px solid rgba(139, 92, 246, .45); border-radius: 999px; padding: 2px 7px; pointer-events: none; }
#tgp-ros-root .tgp-ros-planpop { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(8, 7, 12, .72); backdrop-filter: blur(6px); }
#tgp-ros-root .tgp-ros-planpop[hidden] { display: none; }
#tgp-ros-root .tgp-ros-planpop__box { max-width: 440px; width: 100%; background: #17151f; border: 1px solid rgba(139, 92, 246, .35); border-radius: 16px; padding: 30px 30px 26px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
#tgp-ros-root .tgp-ros-planpop__badge { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #c4b5fd; background: rgba(139, 92, 246, .16); border: 1px solid rgba(139, 92, 246, .45); border-radius: 999px; padding: 4px 11px; }
#tgp-ros-root .tgp-ros-planpop__title { margin: 16px 0 8px; font-size: 21px; line-height: 1.25; }
#tgp-ros-root .tgp-ros-planpop__msg { margin: 0 0 22px; font-size: 14px; line-height: 1.6; color: #8f8a9e; }
#tgp-ros-root .tgp-ros-planpop__acts { display: flex; gap: 10px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-biolinks__tplcard:hover { transform: translateY(-2px); }
#tgp-ros-root .tgp-ros-biolinks__tplcard.is-active { border-color: #a855f7; box-shadow: 0 0 0 3px rgba(168, 85, 247, .18); }
#tgp-ros-root .tgp-ros-biolinks__tplspec { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; font-size: 24px; margin-bottom: 6px; }
#tgp-ros-root .tgp-ros-biolinks__tplname { font-size: 12px; font-weight: 700; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-biolinks__tpldesc { font-size: 10px; color: #8b8b93; padding: 0 8px; text-align: center; line-height: 1.35; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--noir .tgp-ros-biolinks__tplspec { background: #0a0a0c; color: #d8d4cc; font-family: Georgia, serif; letter-spacing: .3em; text-indent: .3em; border-bottom: 1px solid rgba(216,212,204,.3); }
#tgp-ros-root .tgp-ros-biolinks__tplcard--mono .tgp-ros-biolinks__tplspec { background: #ffffff; color: #0a0a0a; font-weight: 800; text-transform: uppercase; font-stretch: condensed; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--editorial .tgp-ros-biolinks__tplspec { background: #f6f1e7; color: #1d1a14; font-family: Georgia, serif; font-style: italic; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--poster .tgp-ros-biolinks__tplspec { background: #0f0f0f; color: #a855f7; font-weight: 900; text-transform: uppercase; text-shadow: 3px 3px 0 #f2f2f2; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--polaroid .tgp-ros-biolinks__tplspec { background: #ececec; color: #222226; font-weight: 800; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--polaroid .tgp-ros-biolinks__tplspec::after { content: ""; width: 18px; height: 22px; background: #fff; margin-left: 8px; box-shadow: 0 3px 8px rgba(0,0,0,.25); transform: rotate(-6deg); }
#tgp-ros-root .tgp-ros-biolinks__tplcard--chrome .tgp-ros-biolinks__tplspec { background: #101014; background-clip: padding-box; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--chrome .tgp-ros-biolinks__tplspec { color: transparent; background-image: linear-gradient(175deg, #fff 20%, #86868f 55%, #5d5d66 100%); -webkit-background-clip: text; background-clip: text; background-color: #101014; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--aurora .tgp-ros-biolinks__tplspec { background: radial-gradient(80% 80% at 25% 20%, rgba(168, 85, 247, .5), transparent 70%), radial-gradient(70% 70% at 80% 85%, rgba(99, 102, 241, .4), transparent 70%), #0b0b12; color: #f0eefa; font-weight: 700; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--bubble .tgp-ros-biolinks__tplspec { background: #f7f6f2; color: #ffffff; font-weight: 900; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--bubble .tgp-ros-biolinks__tplspec { text-shadow: none; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--bubble .tgp-ros-biolinks__tplspec::before { content: "Aa"; display: inline-flex; align-items: center; justify-content: center; padding: 3px 12px; border-radius: 99px; background: #a855f7; border: 2px solid #17161c; box-shadow: 0 3px 0 #17161c; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--stage .tgp-ros-biolinks__tplspec { background: radial-gradient(90% 70% at 50% 0%, rgba(168, 85, 247, .45), transparent 75%), #08080a; color: #f5f3ee; font-weight: 800; text-transform: uppercase; font-stretch: condensed; letter-spacing: .06em; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--sticker .tgp-ros-biolinks__tplspec { background: #fefdf8; color: #131313; font-weight: 900; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--sticker .tgp-ros-biolinks__tplspec::before { content: "Aa"; display: inline-flex; padding: 2px 10px; background: #fff; border: 2.5px solid #131313; border-radius: 8px; box-shadow: 3px 3px 0 #a855f7; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--magazine .tgp-ros-biolinks__tplspec { background: #111013; color: #ece9e2; font-family: Georgia, serif; font-style: italic; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--magazine .tgp-ros-biolinks__tplspec::first-letter { color: #a855f7; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--sunset .tgp-ros-biolinks__tplspec { background: linear-gradient(180deg, #1a1023, #6d2a4d 65%, #c25a52); color: #ffeede; font-weight: 700; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--holo .tgp-ros-biolinks__tplspec { background: #0a0a10; color: transparent; background-image: linear-gradient(100deg, #f5d0fe, #a5f3fc 40%, #fde68a 70%, #c4b5fd); -webkit-background-clip: text; background-clip: text; background-color: #0a0a10; font-weight: 700; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--blueprint .tgp-ros-biolinks__tplspec { background: #0c2340; background-image: linear-gradient(rgba(219, 233, 248, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(219, 233, 248, .12) 1px, transparent 1px); background-size: 10px 10px; color: #dbe9f8; font-family: monospace; border: 1px dashed rgba(219, 233, 248, .5); }
#tgp-ros-root .tgp-ros-biolinks__tplcard--velvet .tgp-ros-biolinks__tplspec { background: radial-gradient(120% 100% at 50% 0%, #2a0a12, #0c0306); color: #e8d9b5; font-family: Georgia, serif; font-style: italic; box-shadow: inset 0 0 0 1px rgba(185, 154, 91, .5); }
#tgp-ros-root .tgp-ros-biolinks__tplcard--bubble .tgp-ros-biolinks__tplspec { color: transparent; }
#tgp-ros-root .tgp-ros-biolinks__tplcard--sticker .tgp-ros-biolinks__tplspec { color: transparent; }

/* "Make it yours": boxed panel with labelled control groups */
#tgp-ros-root .tgp-ros-biolinks__panelbox { display: flex; flex-wrap: wrap; gap: 20px 34px; margin-top: 12px; padding: 18px 20px; border-radius: 15px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
#tgp-ros-root .tgp-ros-biolinks__group { display: flex; flex-direction: column; gap: 10px; }
#tgp-ros-root .tgp-ros-biolinks__group--wide { flex: 1 1 100%; }
#tgp-ros-root .tgp-ros-biolinks__grouplabel { font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #8b8b93; }
#tgp-ros-root .tgp-ros-biolinks__swatches { display: flex; align-items: center; gap: 9px; }
#tgp-ros-root .tgp-ros-biolinks__swatch { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 0; cursor: pointer; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: transform .12s ease, box-shadow .12s ease; padding: 0; }
#tgp-ros-root .tgp-ros-biolinks__swatch:hover { transform: scale(1.12); }
#tgp-ros-root .tgp-ros-biolinks__swatch.is-active { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 0 0 2px #14121c, 0 0 0 4px var(--sw); }
#tgp-ros-root .tgp-ros-biolinks__swcustom { position: relative; width: 26px; height: 26px; flex: none; border-radius: 50%; cursor: pointer; background: conic-gradient(#f43f5e, #f59e0b, #34d399, #38bdf8, #a855f7, #f43f5e); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); overflow: hidden; }
#tgp-ros-root .tgp-ros-biolinks__swcustom input[type="color"] { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); opacity: 0.01; padding: 0; border: 0; cursor: pointer; }
#tgp-ros-root .tgp-ros-biolinks__btnshape { display: inline-flex; align-items: center; gap: 6px; }
#tgp-ros-root .tgp-ros-biolinks__btnshape .tgp-ros-bl-chip { padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: #d4d4da; font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color .12s ease, color .12s ease, background .12s ease; }
#tgp-ros-root .tgp-ros-biolinks__btnshape .tgp-ros-bl-chip:hover { border-color: rgba(168, 85, 247, .5); }
#tgp-ros-root .tgp-ros-biolinks__btnshape .tgp-ros-bl-chip.is-active { border-color: #a855f7; color: #e9d5ff; background: rgba(168, 85, 247, .14); }
#tgp-ros-root .tgp-ros-biolinks__panelbox .tgp-ros-biolinks__meta { margin-top: 0; }
#tgp-ros-root .tgp-ros-biolinks__panelbox .tgp-field { margin: 0; }

/* Image controls: live thumbnails + upload spinners */
#tgp-ros-root .tgp-ros-biolinks__imgctl { display: flex; align-items: center; gap: 10px; }
#tgp-ros-root .tgp-ros-biolinks__imgthumb { position: relative; width: 38px; height: 38px; flex: none; border-radius: 11px; overflow: hidden; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center; color: #6b6b73; }
#tgp-ros-root .tgp-ros-biolinks__imgthumb--round { border-radius: 50%; }
#tgp-ros-root .tgp-ros-biolinks__imgthumb--wide { width: 56px; }
#tgp-ros-root .tgp-ros-biolinks__imgthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tgp-ros-root .tgp-ros-biolinks__thumb { position: relative; overflow: hidden; }
#tgp-ros-root .tgp-ros-biolinks__imgthumb.is-loading::before,
#tgp-ros-root .tgp-ros-biolinks__thumb.is-loading::before { content: ""; position: absolute; inset: 0; background: rgba(10, 8, 16, .55); z-index: 1; }
#tgp-ros-root .tgp-ros-biolinks__imgthumb.is-loading::after,
#tgp-ros-root .tgp-ros-biolinks__thumb.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #c084fc; animation: tgp-ros-spin .7s linear infinite; z-index: 2; }

/* Automatic links list: label + url + hide/show chip */
#tgp-ros-root .tgp-ros-biolinks__autorows { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }
#tgp-ros-root .tgp-ros-biolinks__autorow { display: flex; align-items: center; gap: 12px; padding: 9px 13px; border-radius: 11px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); transition: opacity .12s ease; }
#tgp-ros-root .tgp-ros-biolinks__autorow.is-hidden { opacity: .45; }
#tgp-ros-root .tgp-ros-biolinks__autorow.is-hidden .tgp-ros-biolinks__autolabel { text-decoration: line-through; }
#tgp-ros-root .tgp-ros-biolinks__autolabel { flex: none; font-size: 12.5px; font-weight: 700; color: #e4e4e7; max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-biolinks__autourl { flex: 1; min-width: 0; font-size: 11.5px; color: #8b8b93; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-bl-chip { padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: #d4d4da; font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color .12s ease, color .12s ease, background .12s ease; flex: none; }
#tgp-ros-root .tgp-ros-bl-chip:hover { border-color: rgba(168, 85, 247, .5); }
#tgp-ros-root .tgp-ros-bl-chip.is-active { border-color: #a855f7; color: #e9d5ff; background: rgba(168, 85, 247, .14); }

/* Preview frame loader */
#tgp-ros-root .tgp-ros-biolinks__framewrap { position: relative; }
#tgp-ros-root .tgp-ros-biolinks__frameload { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10, 8, 16, .55); border-radius: inherit; opacity: 0; pointer-events: none; transition: opacity .15s ease; }
#tgp-ros-root .tgp-ros-biolinks__frameload::after { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #c084fc; animation: tgp-ros-spin .7s linear infinite; }
#tgp-ros-root .tgp-ros-biolinks__framewrap.is-loading .tgp-ros-biolinks__frameload { opacity: 1; }

/* Link-in-bio analytics card */
#tgp-ros-root .tgp-ros-blstats__nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; margin-top: 4px; }
#tgp-ros-root .tgp-ros-blstats__num { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: 13px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
#tgp-ros-root .tgp-ros-blstats__num strong { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
#tgp-ros-root .tgp-ros-blstats__num span { font-size: 11.5px; color: #8b8b93; font-weight: 600; }
#tgp-ros-root .tgp-ros-blstats__top { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
#tgp-ros-root .tgp-ros-blstats__row { display: flex; align-items: center; gap: 12px; }
#tgp-ros-root .tgp-ros-blstats__lbl { flex: none; width: 34%; min-width: 120px; font-size: 12.5px; font-weight: 600; color: #d4d4da; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-blstats__bar { flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
#tgp-ros-root .tgp-ros-blstats__bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7c3aed, #c084fc); }
#tgp-ros-root .tgp-ros-blstats__n { flex: none; font-size: 12px; color: #8b8b93; min-width: 34px; text-align: right; }

/* ── Manager chat: rich links + image previews ────────────────────── */
#tgp-ros-root .tgp-ros-mgr__msg a { color: #c084fc; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
#tgp-ros-root .tgp-ros-mgr__imgcard { align-self: flex-start; max-width: 85%; border-radius: 13px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); }
#tgp-ros-root .tgp-ros-mgr__imgcard img { display: block; width: 100%; max-height: 220px; object-fit: cover; cursor: zoom-in; }
#tgp-ros-root .tgp-ros-mgr__imgacts { display: flex; gap: 14px; padding: 8px 12px; }
#tgp-ros-root .tgp-ros-mgr__imgacts a { font-size: 12px; font-weight: 700; color: #c084fc; text-decoration: none; }
#tgp-ros-root .tgp-ros-mgr__imgacts a:hover { color: #d8b4fe; }

/* ── Recommendations: playable cards ──────────────────────────────── */
#tgp-ros-root .tgp-ros-nextmove__item { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
#tgp-ros-root .tgp-ros-nextmove__coverwrap { position: relative; border-radius: 12px; overflow: hidden; }
#tgp-ros-root .tgp-ros-nextmove__cover { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .16s ease; }
#tgp-ros-root .tgp-ros-nextmove__item:hover .tgp-ros-nextmove__cover { transform: scale(1.04); }
#tgp-ros-root .tgp-ros-nextmove__play { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #ffffff; background: rgba(10, 10, 14, .62); backdrop-filter: blur(3px); opacity: 0; transition: opacity .14s ease, transform .14s ease; }
#tgp-ros-root .tgp-ros-nextmove__coverwrap:hover .tgp-ros-nextmove__play,
#tgp-ros-root .tgp-ros-nextmove__play.is-playing { opacity: 1; }
#tgp-ros-root .tgp-ros-nextmove__play:hover { transform: scale(1.08); background: rgba(124, 58, 237, .85); }
#tgp-ros-root .tgp-ros-nextmove__play .ic-pause { display: none; }
#tgp-ros-root .tgp-ros-nextmove__play.is-playing .ic-play { display: none; }
#tgp-ros-root .tgp-ros-nextmove__play.is-playing .ic-pause { display: block; }
#tgp-ros-root .tgp-ros-nextmove__name { font-size: 13px; font-weight: 600; color: #e4e4e7; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-nextmove__name:hover { color: #d8b4fe; }
#tgp-ros-root .tgp-ros-nextmove__buyrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#tgp-ros-root .tgp-ros-nextmove__cart { flex: none; }
#tgp-ros-root .tgp-ros-nextmove__cart.is-added { border-color: rgba(34, 197, 94, .5) !important; color: #4ade80 !important; }
@media (hover: none) { #tgp-ros-root .tgp-ros-nextmove__play { opacity: 1; } }

/* ── Recommendations shelf v3 ─────────────────────────────────────── */
#tgp-ros-root .tgp-ros-nextmove__item { border: 1px solid rgba(255, 255, 255, .07); border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .02); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; gap: 0; }
#tgp-ros-root .tgp-ros-nextmove__item:hover { transform: translateY(-4px); border-color: rgba(168, 85, 247, .4); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
#tgp-ros-root .tgp-ros-nextmove__coverwrap { border-radius: 0; }
#tgp-ros-root .tgp-ros-nextmove__cover--empty { display: block; width: 100%; aspect-ratio: 1; background: linear-gradient(140deg, #1c1c24, #101014); }
#tgp-ros-root .tgp-ros-nextmove__vocal { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 99px; font-size: 9.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #ffffff; background: rgba(10, 10, 14, .72); backdrop-filter: blur(4px); }
#tgp-ros-root .tgp-ros-nextmove__eq { position: absolute; right: 10px; bottom: 10px; display: none; align-items: flex-end; gap: 2.5px; height: 14px; }
#tgp-ros-root .tgp-ros-nextmove__eq i { width: 2.5px; border-radius: 2px; background: #c084fc; animation: tgpRosEq 0.9s ease-in-out infinite; }
#tgp-ros-root .tgp-ros-nextmove__eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
#tgp-ros-root .tgp-ros-nextmove__eq i:nth-child(2) { height: 90%; animation-delay: .18s; }
#tgp-ros-root .tgp-ros-nextmove__eq i:nth-child(3) { height: 60%; animation-delay: .36s; }
#tgp-ros-root .tgp-ros-nextmove__eq i:nth-child(4) { height: 80%; animation-delay: .54s; }
#tgp-ros-root .tgp-ros-nextmove__coverwrap:has(.is-playing) .tgp-ros-nextmove__eq { display: inline-flex; }
@keyframes tgpRosEq { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
#tgp-ros-root .tgp-ros-nextmove__body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; min-width: 0; }
#tgp-ros-root .tgp-ros-nextmove__producer { font-size: 11.5px; color: #8b8b93; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-nextmove__meta { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 10px; }
#tgp-ros-root .tgp-ros-nextmove__meta span { padding: 2.5px 8px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .1); font-size: 10px; font-weight: 600; letter-spacing: .03em; color: #a1a1aa; white-space: nowrap; }
#tgp-ros-root .tgp-ros-nextmove__buyrow { margin-top: auto; }
#tgp-ros-root .tgp-ros-nextmove__price { font-size: 14px; font-weight: 800; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-nextmove__price del { opacity: .45; font-weight: 500; margin-right: 4px; }
#tgp-ros-root .tgp-ros-nextmove__cart { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; border: 0; cursor: pointer; font-size: 11.5px; font-weight: 700; color: #ffffff; background: linear-gradient(120deg, #7c3aed, #a855f7); transition: filter .12s ease; flex: none; }
#tgp-ros-root .tgp-ros-nextmove__cart:hover { filter: brightness(1.12); }
#tgp-ros-root .tgp-ros-nextmove__cart.is-added { background: rgba(34, 197, 94, .16); color: #4ade80; }

/* ── "Made for you" — compact Sonaar list inside the planner card ──── */
#tgp-ros-root .tgp-ros-madefor__player { border-radius: 14px; overflow: hidden; }
#tgp-ros-root .tgp-ros-madefor__player .iron-audioplayer { background: transparent !important; }
#tgp-ros-root .tgp-ros-madefor__player .sr_it-playlist-title,
#tgp-ros-root .tgp-ros-madefor__player .sonaar-Artwort-box { display: none !important; }
#tgp-ros-root .tgp-ros-madefor__player .sr-playlist-item { padding: 8px 10px !important; border-radius: 10px; }
#tgp-ros-root .tgp-ros-madefor__player .sr-playlist-item:hover { background: rgba(168, 85, 247, .08) !important; }
#tgp-ros-root .tgp-ros-madefor__player .sr-playlist-item .sr_it-single-title { font-size: 13.5px !important; font-weight: 600 !important; }

/* Made-for player must be visible even before Sonaar's JS reveals it. */
#tgp-ros-root .tgp-ros-madefor__player .iron-audioplayer { opacity: 1 !important; }
/* Up-next tasks are doors, not text. */
#tgp-ros-root .tgp-ros-tasklist__title--link { text-decoration: none; color: inherit; }
#tgp-ros-root .tgp-ros-tasklist__title--link:hover { color: #d8b4fe; }
#tgp-ros-root .tgp-ros-tasklist__go { margin-left: 10px; font-size: 11.5px; font-weight: 700; color: #c084fc; text-decoration: none; white-space: nowrap; }
#tgp-ros-root .tgp-ros-tasklist__go:hover { color: #d8b4fe; }

/* ── Made-for: compact custom list, Sonaar hidden off-screen ──────── */
#tgp-ros-root .tgp-ros-madefor__engine { position: absolute; left: -99999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
#tgp-ros-root .tgp-ros-madefor { position: relative; }
#tgp-ros-root .tgp-ros-madefor__player { display: none; }
#tgp-ros-root .tgp-ros-mflist { display: flex; flex-direction: column; }
#tgp-ros-root .tgp-ros-mfrow { display: flex; align-items: center; gap: 13px; padding: 9px 8px; border-radius: 12px; min-width: 0; }
#tgp-ros-root .tgp-ros-mfrow + .tgp-ros-mfrow { border-top: 1px solid rgba(255, 255, 255, .05); }
#tgp-ros-root .tgp-ros-mfrow:hover { background: rgba(255, 255, 255, .035); }
#tgp-ros-root .tgp-ros-mfrow__playwrap { position: relative; flex: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 9px; overflow: hidden; }
#tgp-ros-root .tgp-ros-mfrow__cover { display: block; width: 100%; height: 100%; object-fit: cover; }
#tgp-ros-root .tgp-ros-mfrow__cover--empty { background: linear-gradient(140deg, #1c1c24, #101014); }
#tgp-ros-root .tgp-ros-mfrow__playbtn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #ffffff; background: rgba(8, 8, 12, .45); opacity: 0; transition: opacity .12s ease; }
#tgp-ros-root .tgp-ros-mfrow:hover .tgp-ros-mfrow__playbtn,
#tgp-ros-root .tgp-ros-mfrow.is-playing .tgp-ros-mfrow__playbtn { opacity: 1; }
#tgp-ros-root .tgp-ros-mfrow .ic-pause { display: none; }
#tgp-ros-root .tgp-ros-mfrow.is-playing .ic-play { display: none; }
#tgp-ros-root .tgp-ros-mfrow.is-playing .ic-pause { display: block; }
#tgp-ros-root .tgp-ros-mfrow__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#tgp-ros-root .tgp-ros-mfrow__title { font-size: 13.5px; font-weight: 700; color: #f4f4f5; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-mfrow__title:hover { color: #d8b4fe; }
#tgp-ros-root .tgp-ros-mfrow__sub { font-size: 11.5px; color: #8b8b93; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root a.tgp-ros-mfrow__sub--link { text-decoration: none; align-self: flex-start; max-width: 100%; }
#tgp-ros-root a.tgp-ros-mfrow__sub--link:hover { color: #c084fc; text-decoration: underline; }
#tgp-ros-root .tgp-ros-mfrow.is-off { display: none; }
#tgp-ros-root .tgp-ros-madefor .tgp-card__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
#tgp-ros-root .tgp-ros-mfnav { display: inline-flex; align-items: center; gap: 9px; flex: none; }
#tgp-ros-root .tgp-ros-mfnav[hidden] { display: none; }
#tgp-ros-root .tgp-ros-mfnav__btn { width: 28px; height: 28px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #e4e4e7; cursor: pointer; transition: border-color .12s ease, color .12s ease; }
#tgp-ros-root .tgp-ros-mfnav__btn:hover:not(:disabled) { border-color: rgba(168, 85, 247, .6); color: #c084fc; }
#tgp-ros-root .tgp-ros-mfnav__btn:disabled { opacity: .35; cursor: default; }
#tgp-ros-root .tgp-ros-mfnav__count { font-size: 11.5px; font-weight: 700; color: #8b8b93; white-space: nowrap; }
#tgp-ros-root .tgp-ros-mfctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .07); }
#tgp-ros-root .tgp-ros-mfctas .tgp-btn { flex: 1; min-width: 170px; justify-content: center; }
#tgp-ros-root .tgp-ros-mfrow__chips { display: flex; gap: 6px; flex: none; }
#tgp-ros-root .tgp-ros-mfrow__chips span { padding: 2.5px 8px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .09); font-size: 10px; font-weight: 600; color: #a1a1aa; white-space: nowrap; }
#tgp-ros-root .tgp-ros-mfrow__buy { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 99px; border: 0; cursor: pointer; color: #ffffff; font-size: 12.5px; font-weight: 800; letter-spacing: .01em; background: linear-gradient(120deg, #7c3aed, #a855f7); box-shadow: 0 4px 14px rgba(124, 58, 237, .28); transition: filter .12s ease, transform .12s ease; white-space: nowrap; }
#tgp-ros-root .tgp-ros-mfrow__buy:hover { filter: brightness(1.12); transform: translateY(-1px); }
#tgp-ros-root .tgp-ros-mfrow__buy.is-added { background: rgba(34, 197, 94, .16); color: #4ade80; box-shadow: none; }
#tgp-ros-root .tgp-ros-mfrow__buy.is-loading { pointer-events: none; filter: none; }
#tgp-ros-root .tgp-ros-mfrow__buy.is-loading > svg { display: none; }
#tgp-ros-root .tgp-ros-mfrow__buy.is-loading::before { content: ""; width: 12px; height: 12px; flex: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: tgp-ros-spin .7s linear infinite; }
#tgp-ros-root .tgp-ros-mfrow__buy .tgp-ros-mfrow__buyprice del { opacity: .5; font-weight: 500; margin-right: 5px; }
#tgp-ros-root .tgp-ros-mfrow__buy .tgp-ros-mfrow__buyprice ins { text-decoration: none; }
@media (max-width: 640px) { #tgp-ros-root .tgp-ros-mfrow__chips { display: none; } }

/* ── Up next v2: stacked rows, quiet chrome ───────────────────────── */
#tgp-ros-root .tgp-ros-upnext { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
#tgp-ros-root .tgp-ros-upnext__row { display: flex; align-items: center; gap: 12px; padding: 9px 6px; border-radius: 10px; min-width: 0; }
#tgp-ros-root .tgp-ros-upnext__row + .tgp-ros-upnext__row { border-top: 1px solid rgba(255, 255, 255, .05); }
#tgp-ros-root .tgp-ros-upnext__row:hover { background: rgba(255, 255, 255, .035); }
#tgp-ros-root .tgp-ros-upnext__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; text-decoration: none; }
#tgp-ros-root .tgp-ros-upnext__title { font-size: 13px; font-weight: 600; color: #e4e4e7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-upnext__main:hover .tgp-ros-upnext__title { color: #d8b4fe; }
#tgp-ros-root .tgp-ros-upnext__meta { font-size: 11px; color: #6f6f78; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-upnext__due { flex: none; font-size: 11px; font-weight: 700; color: #8b8b93; padding: 3px 9px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .09); }
#tgp-ros-root .tgp-ros-upnext__due.is-overdue { color: #fbbf24; border-color: rgba(245, 158, 11, .4); }
#tgp-ros-root .tgp-ros-upnext__go { flex: none; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 99px; color: #8b8b93; text-decoration: none; }
#tgp-ros-root .tgp-ros-upnext__go:hover { color: #ffffff; background: rgba(168, 85, 247, .18); }

/* ── 0.99.23: mobile pass — nav bar + editor overflow ─────────────── */
/* Grid columns must never inherit min-content width from unbreakable rows. */
#tgp-ros-root .tgp-ros-biolinks__grid > * { min-width: 0; max-width: 100%; }

@media (max-width: 900px) {
	/* Nav: one swipeable row — no wrapping, scrollbar hidden. Bell and a
	   compact credits counter pin over the bar's right edge; the gradient
	   fade keeps tabs legible as they slide underneath. Dropdown panels go
	   position:fixed (set in JS) so the scroll container can't clip them. */
	#tgp-ros-root .tgp-ros-subnavrow { position: relative; display: flex; align-items: center; flex-wrap: nowrap !important; gap: 0; }
	#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-subnav { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap !important; overflow-x: auto !important; overflow-y: hidden !important; border-radius: 99px; padding: 5px 64px 5px 6px !important; gap: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	#tgp-ros-root .tgp-ros-subnav::-webkit-scrollbar { display: none; }
	#tgp-ros-root .tgp-ros-subnavrow::after { content: ""; position: absolute; top: 1px; bottom: 1px; right: 1px; width: 96px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--tgp-surface, #111113) 45%); border-radius: 0 99px 99px 0; z-index: 1; }
	/* No transform here — a transformed ancestor would re-anchor the
	   position:fixed dropdown and the bar's overflow:hidden would clip it. */
	#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-navcredits { position: absolute; right: 16px; top: 50%; margin-top: -9px; z-index: 2; }
	#tgp-ros-root .tgp-ros-subnav__item,
	#tgp-ros-root .tgp-ros-subnav__grouplabel { flex: none; height: 32px; padding: 0 13px !important; font-size: 12.5px !important; white-space: nowrap; }
	#tgp-ros-root .tgp-ros-subnav__item--up { margin-left: 0 !important; }
	#tgp-ros-root .tgp-ros-subnav__drop { z-index: 200; }

	/* Link-in-bio editor: let every control row wrap. */
	#tgp-ros-root .tgp-ros-biolinks__panelbox { padding: 14px 15px; gap: 16px 22px; }
	#tgp-ros-root .tgp-ros-biolinks__imgctl { flex-wrap: wrap; }
	#tgp-ros-root .tgp-ros-biolinks__autorow { flex-wrap: wrap; row-gap: 4px; }
	#tgp-ros-root .tgp-ros-biolinks__autolabel { max-width: 100%; }
	#tgp-ros-root .tgp-ros-biolinks__autourl { flex: 1 1 100%; order: 3; }
	#tgp-ros-root .tgp-ros-biolinks__urlwrap { flex-wrap: wrap; }
	#tgp-ros-root .tgp-ros-blstats__lbl { min-width: 84px; width: 38%; }

	/* Made-for rows: drop the chips, keep cover/title/price on one line. */
	#tgp-ros-root .tgp-ros-mfrow__chips { display: none; }
	#tgp-ros-root .tgp-ros-mfctas .tgp-btn { min-width: 100%; }

	/* Up next rows: pill wraps under the title instead of clipping. */
	#tgp-ros-root .tgp-ros-upnext__main { min-width: 0; flex: 1 1 120px; }
	#tgp-ros-root .tgp-ros-upnext__due { display: none; }
}

@media (max-width: 700px) {
	/* Global guards: no card may exceed its column; grid/flex children may
	   always shrink (min-width:auto is the root of every mobile blowout). */
	#tgp-ros-root .tgp-card { max-width: 100%; min-width: 0; }
	#tgp-ros-root .tgp-ros-grid > *, #tgp-ros-root .tgp-ros-detail__grid > * { min-width: 0; max-width: 100%; }
	#tgp-ros-root .tgp-ros-career__score { min-width: 0; }
	#tgp-ros-root .tgp-ros-career__parts { flex: 1 1 100%; grid-template-columns: 1fr; min-width: 0; }
	#tgp-ros-root .tgp-ros-hero__countdown { min-width: 0; width: 100%; }
	#tgp-ros-root .tgp-ros-appromo { flex-wrap: wrap; }
}

/* ── Social calendar (drag-and-drop month planner) ──────────────────── */
#tgp-ros-root .tgp-ros-scal__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 244px;
	gap: 20px;
	align-items: start;
}
#tgp-ros-root .tgp-ros-scal__layout > * { min-width: 0; max-width: 100%; }
#tgp-ros-root .tgp-ros-scal__head { flex-wrap: wrap; gap: 10px; }
#tgp-ros-root .tgp-ros-scal__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 2px 0 14px;
	font-size: 11px;
	color: var(--tgp-text-faint, #71717a);
}
#tgp-ros-root .tgp-ros-scal__leg { display: inline-flex; align-items: center; gap: 6px; }
#tgp-ros-root .tgp-ros-scal__leg::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--tgp-accent, #9333ea);
}
#tgp-ros-root .tgp-ros-scal__leg--posted::before { background: #22c55e; }
#tgp-ros-root .tgp-ros-scal__leg--idea::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--tgp-text-faint, #71717a); }

#tgp-ros-root .tgp-ros-scal__gridwrap { container-type: inline-size; min-width: 0; }
#tgp-ros-root .tgp-ros-scal__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	/* Resting row height ≈ 0.9 × cell width (the old aspect), rows grow when a day needs more. */
	grid-template-rows: auto; /* weekday header row stays compact */
	grid-auto-rows: minmax(72px, auto);
	grid-auto-rows: minmax(calc(100cqw / 7 * 0.9), auto);
	gap: 1px;
	background: var(--tgp-border, rgba(255, 255, 255, 0.08));
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
	border-radius: 12px;
	overflow: hidden;
}
#tgp-ros-root .tgp-ros-scal__day {
	background: var(--tgp-surface, #111113);
	/* No aspect-ratio here: combined with stretch alignment it transfers the row height into a
	   minimum width and the columns go uneven. The resting height lives on the grid rows instead
	   (see grid-auto-rows), and every cell stretches to its row so a busy day never leaves a gap. */
	min-height: min-content;
	align-self: stretch;
	padding: 6px;
	font-size: 11px;
	color: var(--tgp-text-faint, #71717a);
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: stretch;
	transition: background 0.15s ease, box-shadow 0.15s ease;
}
#tgp-ros-root .tgp-ros-scal__day.is-out { opacity: 0.35; }
#tgp-ros-root .tgp-ros-scal__day.is-past { background: color-mix(in srgb, var(--tgp-surface, #111113) 88%, #000); }
#tgp-ros-root .tgp-ros-scal__daynum {
	font-weight: 700;
	font-size: 11px;
	line-height: 20px;
	min-height: 20px;
}
#tgp-ros-root .tgp-ros-scal__day.is-today .tgp-ros-scal__daynum {
	background: var(--tgp-accent, #9333ea);
	color: #fff;
	border-radius: 50%;
	width: 20px; height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
}
.tgp-ros-scal.is-dragging .tgp-ros-scal__day:not(.is-past):not(.is-out) {
	box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.35);
}
#tgp-ros-root .tgp-ros-scal__day.is-over {
	background: rgba(147, 51, 234, 0.16) !important;
	box-shadow: inset 0 0 0 2px #a855f7 !important;
}
#tgp-ros-root .tgp-ros-scal__day.is-overpast {
	background: rgba(239, 68, 68, 0.1) !important;
	box-shadow: inset 0 0 0 2px rgba(239, 68, 68, 0.5) !important;
	cursor: not-allowed;
}

/* Chips — buttons are exempted from the global reset, so declare it ALL. */
#tgp-ros-root .tgp-ros-scal__chip {
	display: flex !important;
	align-items: center !important;
	gap: 5px !important;
	width: 100%;
	background: rgba(147, 51, 234, 0.14) !important;
	border: 1px solid rgba(168, 85, 247, 0.35) !important;
	border-radius: 6px !important;
	padding: 3px 5px !important;
	color: #d8b4fe !important;
	font-size: 10.5px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	cursor: pointer;
	text-align: left;
	box-shadow: none !important;
	transition: transform 0.12s ease, filter 0.12s ease;
}
#tgp-ros-root .tgp-ros-scal__chip:hover { filter: brightness(1.15); transform: translateY(-1px); }
#tgp-ros-root .tgp-ros-scal__chip[draggable="true"] { cursor: grab; }
#tgp-ros-root .tgp-ros-scal__chipthumb {
	width: 30px; height: 30px;
	border-radius: 5px;
	overflow: hidden;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.35);
}
#tgp-ros-root .tgp-ros-scal__chipthumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
#tgp-ros-root .tgp-ros-scal__chipstack {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
#tgp-ros-root .tgp-ros-scal__chiptime {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-weight: 700;
	white-space: nowrap;
}
#tgp-ros-root .tgp-ros-scal__chipname {
	font-weight: 500;
	font-size: 9.5px;
	opacity: 0.75;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	max-width: 100%;
}
#tgp-ros-root .tgp-ros-scal__chip--sched.is-failed {
	background: rgba(239, 68, 68, 0.12) !important;
	border-color: rgba(239, 68, 68, 0.45) !important;
	color: #fca5a5 !important;
}
#tgp-ros-root .tgp-ros-scal__chip--posted {
	background: rgba(34, 197, 94, 0.1) !important;
	border-color: rgba(34, 197, 94, 0.3) !important;
	color: #86efac !important;
}
#tgp-ros-root .tgp-ros-scal__chip--posted.is-local { cursor: default; }
#tgp-ros-root .tgp-ros-scal__chip--idea {
	background: transparent !important;
	border: 1px dashed var(--tgp-border-strong, rgba(255, 255, 255, 0.2)) !important;
	color: var(--tgp-text-faint, #71717a) !important;
	cursor: grab;
}
#tgp-ros-root .tgp-ros-scal__more {
	background: transparent !important;
	border: 0 !important;
	border-radius: 6px !important;
	padding: 2px 5px !important;
	color: #a855f7 !important;
	font-size: 10.5px !important;
	font-weight: 700 !important;
	cursor: pointer;
	text-align: left;
	align-self: flex-start;
}
#tgp-ros-root .tgp-ros-scal__overflow { display: flex; flex-direction: column; gap: 4px; }
#tgp-ros-root .tgp-ros-scal__err { padding: 30px 10px; text-align: center; color: var(--tgp-text-faint, #71717a); }

/* Chip popover — viewport-fixed so the grid's overflow:hidden can't clip it;
   JS positions it next to the chip and flips above when near the bottom. */
#tgp-ros-root .tgp-ros-scal__pop {
	position: fixed;
	z-index: 99998;
	width: 260px;
	max-width: calc(100vw - 40px);
	background: #17171b;
	border: 1px solid var(--tgp-border-strong, rgba(255, 255, 255, 0.2));
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
	padding: 12px !important;
	display: flex;
	gap: 10px;
	text-align: left;
}
#tgp-ros-root .tgp-ros-scal__popthumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
#tgp-ros-root .tgp-ros-scal__popbody { min-width: 0; display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; }
#tgp-ros-root .tgp-ros-scal__popbody strong { color: var(--tgp-text, #e4e4e7); font-size: 12px; }
#tgp-ros-root .tgp-ros-scal__popmeta { display: inline-flex; align-items: center; gap: 5px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-scal__popfail { color: #fca5a5; font-style: normal; }
#tgp-ros-root .tgp-ros-scal__popcap {
	margin: 0;
	color: var(--tgp-text-dim, #a1a1aa);
	max-height: 38vh;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-right: 4px;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
#tgp-ros-root .tgp-ros-scal__poprow { display: flex; gap: 6px; margin-top: 2px; }

/* Tray — no panel chrome: the post cards float on the page background. */
#tgp-ros-root .tgp-ros-scal__tray { position: sticky; top: 90px; min-width: 0; }
#tgp-ros-root .tgp-ros-scal__traytitle {
	margin: 4px 0 8px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--tgp-text-faint, #71717a);
}
#tgp-ros-root .tgp-ros-scal__traynote {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	margin: 0 0 12px;
	font-size: 11px;
	line-height: 1.45;
	color: var(--tgp-text-faint, #71717a);
}
#tgp-ros-root .tgp-ros-scal__traynote svg { flex: 0 0 auto; margin-top: 1px; color: #a855f7; }
#tgp-ros-root .tgp-ros-scal__updrop {
	display: block;
	border: 1.5px dashed var(--tgp-border-strong, rgba(255, 255, 255, 0.2));
	border-radius: 12px;
	padding: 14px 12px;
	margin-bottom: 14px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}
#tgp-ros-root .tgp-ros-scal__updrop:hover,
#tgp-ros-root .tgp-ros-scal__updrop.is-drag {
	border-color: #a855f7;
	background: rgba(147, 51, 234, 0.08);
}
#tgp-ros-root .tgp-ros-scal__upinner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--tgp-text-dim, #a1a1aa);
}
#tgp-ros-root .tgp-ros-scal__picked {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(147, 51, 234, 0.14);
	border: 1px solid rgba(168, 85, 247, 0.4);
	border-radius: 10px;
	padding: 8px 10px !important;
	margin-bottom: 12px;
	font-size: 11.5px;
	color: #d8b4fe;
}
#tgp-ros-root .tgp-ros-scal__picked [data-ros-scal-pickedname] {
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 40%;
}
#tgp-ros-root .tgp-ros-scal__pickedx {
	margin-left: auto;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	color: #d8b4fe;
	padding: 2px 4px;
}
#tgp-ros-root .tgp-ros-scal__traylist {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 520px;
	overflow-y: auto;
	scrollbar-width: thin;
}
#tgp-ros-root .tgp-ros-scal__asset {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--tgp-surface-2, #1b1b1f);
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
	border-radius: 12px;
	padding: 8px !important;
	cursor: grab;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
	transition: border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
#tgp-ros-root .tgp-ros-scal__asset.is-dragsrc { opacity: 0.35; }
.tgp-ros-scal.is-dragging { user-select: none; -webkit-user-select: none; }
.tgp-ros-scal img { -webkit-user-drag: none; user-drag: none; }
#tgp-ros-root .tgp-ros-scal__dragghost,
.tgp-ros-scal__dragghost {
	position: fixed !important;
	left: 0; top: 0;
	z-index: 99997 !important;
	margin: 0 !important;
	pointer-events: none !important;
	transform: rotate(2.5deg) scale(1.04);
	opacity: 0.95;
	box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55) !important;
	border-color: rgba(168, 85, 247, 0.5) !important;
	width: auto;
	max-width: 250px;
}
#tgp-ros-root .tgp-ros-scal__asset:hover {
	border-color: rgba(168, 85, 247, 0.5);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
#tgp-ros-root .tgp-ros-scal__asset.is-picked {
	border-color: #a855f7;
	box-shadow: 0 0 0 1px #a855f7, 0 6px 18px rgba(147, 51, 234, 0.25);
}
#tgp-ros-root .tgp-ros-scal__assetthumb {
	position: relative;
	width: 46px; height: 46px;
	border-radius: 8px;
	overflow: hidden;
	flex: 0 0 auto;
	background: #0c0c0e;
}
#tgp-ros-root .tgp-ros-scal__assetthumb img,
#tgp-ros-root .tgp-ros-scal__assetthumb video {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
#tgp-ros-root .tgp-ros-scal__assetplay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(0, 0, 0, 0.25);
}
#tgp-ros-root .tgp-ros-scal__assetmeta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#tgp-ros-root .tgp-ros-scal__assettitle {
	font-size: 12px;
	font-weight: 700;
	color: var(--tgp-text, #e4e4e7);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
#tgp-ros-root .tgp-ros-scal__assetkind {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--tgp-text-faint, #71717a);
}
#tgp-ros-root .tgp-ros-scal__assetgrip { margin-left: auto; color: var(--tgp-text-faint, #71717a); opacity: 0.6; flex: 0 0 auto; }
#tgp-ros-root .tgp-ros-scal__trayempty { font-size: 12px; color: var(--tgp-text-faint, #71717a); padding: 8px 2px; }
#tgp-ros-root .tgp-ros-scal__connectrow { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }

/* Schedule modal */
#tgp-ros-root .tgp-ros-scal__mpanel { width: 640px; max-width: 100%; }
#tgp-ros-root .tgp-ros-scal__mday { color: var(--tgp-text-faint, #71717a); font-size: 12px; margin-left: 10px; }
#tgp-ros-root .tgp-ros-scal__mgrid {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}
#tgp-ros-root .tgp-ros-scal__mpreview {
	border-radius: 12px;
	overflow: hidden;
	background: #0c0c0e;
	position: sticky;
	top: 0;
}
#tgp-ros-root .tgp-ros-scal__mpreview img,
#tgp-ros-root .tgp-ros-scal__mpreview video { width: 100%; display: block; border-radius: 12px; }
#tgp-ros-root .tgp-ros-scal__mstack { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
#tgp-ros-root .tgp-ros-scal__netcard {
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
	border-radius: 12px;
	padding: 12px !important;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
#tgp-ros-root .tgp-ros-scal__netcard.is-connected { border-color: var(--tgp-border-strong, rgba(255, 255, 255, 0.16)); }
#tgp-ros-root .tgp-ros-scal__nethead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#tgp-ros-root .tgp-ros-scal__netname {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 700;
	font-size: 13px;
	color: var(--tgp-text, #e4e4e7);
}
#tgp-ros-root .tgp-ros-scal__netname small { color: var(--tgp-text-faint, #71717a); font-weight: 600; }
#tgp-ros-root .tgp-ros-scal__netuse {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	color: var(--tgp-text-dim, #a1a1aa);
	cursor: pointer;
}
#tgp-ros-root .tgp-ros-scal__netconnect { font-size: 12px; font-weight: 700; color: #a855f7; }
#tgp-ros-root .tgp-ros-scal__netnote { margin: 0; font-size: 11px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-scal__count { font-size: 10.5px; color: var(--tgp-text-faint, #71717a); align-self: flex-end; }
#tgp-ros-root .tgp-ros-scal__writing {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #e9d5ff !important;
	font-weight: 600;
}
#tgp-ros-root .tgp-ros-scal__timerow {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
#tgp-ros-root .tgp-ros-scal__timelabel {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tgp-text-faint, #71717a);
}
#tgp-ros-root .tgp-ros-scal__time { width: 110px; }
#tgp-ros-root .tgp-ros-scal__timechips { display: inline-flex; gap: 6px; }
#tgp-ros-root .tgp-ros-scal__timechip {
	background: transparent !important;
	border: 1px solid var(--tgp-border-strong, rgba(255, 255, 255, 0.16)) !important;
	border-radius: 99px !important;
	padding: 4px 10px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	color: var(--tgp-text-dim, #a1a1aa) !important;
	cursor: pointer;
	transition: border-color 0.12s ease, color 0.12s ease;
}
#tgp-ros-root .tgp-ros-scal__timechip:hover { border-color: #a855f7 !important; color: #d8b4fe !important; }
#tgp-ros-root .tgp-ros-scal__timechip.is-selected {
	border-color: #a855f7 !important;
	color: #d8b4fe !important;
	background: rgba(147, 51, 234, 0.14) !important;
}
#tgp-ros-root .tgp-ros-scal__mfoot { display: flex; align-items: center; gap: 8px; }
#tgp-ros-root .tgp-ros-scal__mspacer { flex: 1; }

@media ( max-width: 900px ) {
	#tgp-ros-root .tgp-ros-scal__layout { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-scal__tray { position: static; }
	#tgp-ros-root .tgp-ros-scal__traylist { max-height: 300px; }
}
@media ( max-width: 700px ) {
	/* Phones: the month grid is a compact overview — day numbers with
	   colored dots — and the tapped day expands in the panel below. */
	#tgp-ros-root .tgp-ros-scal__grid { grid-auto-rows: minmax(46px, auto); }
	#tgp-ros-root .tgp-ros-scal__day {
		min-height: 46px;
		padding: 4px 3px;
		gap: 3px;
		flex-direction: row;
		flex-wrap: wrap;
		align-content: flex-start;
	}
	#tgp-ros-root .tgp-ros-scal__daynum { flex: 1 1 100%; line-height: 16px; min-height: 16px; font-size: 10.5px; }
	#tgp-ros-root .tgp-ros-scal__day.is-today .tgp-ros-scal__daynum { width: 17px; height: 17px; flex: 0 0 17px; }
	#tgp-ros-root .tgp-ros-scal__day.is-sel { box-shadow: inset 0 0 0 2px #a855f7; border-radius: 2px; }
	#tgp-ros-root .tgp-ros-scal__chip {
		width: 7px !important;
		height: 7px !important;
		min-width: 0 !important;
		flex: 0 0 7px !important;
		padding: 0 !important;
		border-radius: 50% !important;
		border: 0 !important;
		background: #a855f7 !important;
		overflow: hidden;
		gap: 0 !important;
	}
	#tgp-ros-root .tgp-ros-scal__chip > * { display: none !important; }
	#tgp-ros-root .tgp-ros-scal__chip--posted { background: #22c55e !important; }
	#tgp-ros-root .tgp-ros-scal__chip--sched.is-failed { background: #ef4444 !important; }
	#tgp-ros-root .tgp-ros-scal__chip--idea { background: transparent !important; box-shadow: inset 0 0 0 1.5px #71717a; }
	#tgp-ros-root .tgp-ros-scal__more { display: none !important; }
	#tgp-ros-root .tgp-ros-scal__overflow[hidden] { display: contents !important; }

	/* Tray becomes a horizontal swipe row of floating cards. */
	#tgp-ros-root .tgp-ros-scal__tray { position: static; }
	#tgp-ros-root .tgp-ros-scal__traylist {
		flex-direction: row;
		overflow-x: auto;
		overflow-y: hidden;
		max-height: none;
		padding: 2px 2px 10px;
		scrollbar-width: none;
	}
	#tgp-ros-root .tgp-ros-scal__traylist::-webkit-scrollbar { display: none; }
	#tgp-ros-root .tgp-ros-scal__asset { flex: 0 0 200px; }
	#tgp-ros-root .tgp-ros-scal__updrop { padding: 10px 12px; margin-bottom: 10px; }

	/* The tapped day, in full. */
	#tgp-ros-root .tgp-ros-scal__daypanel { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
	#tgp-ros-root .tgp-ros-scal__dayhead {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 10px;
		margin-bottom: 2px;
	}
	#tgp-ros-root .tgp-ros-scal__dayhead strong { font-size: 14.5px; color: var(--tgp-text, #e4e4e7); }
	#tgp-ros-root .tgp-ros-scal__dayhead span { font-size: 11px; color: var(--tgp-text-faint, #71717a); }
	#tgp-ros-root .tgp-ros-scal__dayempty { margin: 0; font-size: 12px; color: var(--tgp-text-faint, #71717a); }
	#tgp-ros-root .tgp-ros-scal__dayrow {
		display: flex;
		align-items: center;
		gap: 10px;
		background: var(--tgp-surface-2, #1b1b1f);
		border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
		border-left: 3px solid #a855f7;
		border-radius: 10px;
		padding: 9px 10px !important;
	}
	#tgp-ros-root .tgp-ros-scal__dayrow--posted { border-left-color: #22c55e; }
	#tgp-ros-root .tgp-ros-scal__dayrow--idea { border-left-color: #71717a; border-left-style: dashed; }
	#tgp-ros-root .tgp-ros-scal__dayrow--sched.is-failed { border-left-color: #ef4444; }
	#tgp-ros-root .tgp-ros-scal__dayrow--sched.is-failed em { color: #fca5a5; font-style: normal; }
	#tgp-ros-root .tgp-ros-scal__dayrowthumb {
		flex: 0 0 auto;
		width: 40px; height: 40px;
		border-radius: 8px;
		overflow: hidden;
		background: rgba(0, 0, 0, 0.35);
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--tgp-text-faint, #71717a);
	}
	#tgp-ros-root .tgp-ros-scal__dayrowthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
	#tgp-ros-root .tgp-ros-scal__dayrowbody { min-width: 0; display: flex; flex-direction: column; gap: 2px; flex: 1; }
	#tgp-ros-root .tgp-ros-scal__dayrowtitle {
		font-size: 12.5px;
		font-weight: 700;
		color: var(--tgp-text, #e4e4e7);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	#tgp-ros-root .tgp-ros-scal__dayrowmeta {
		display: inline-flex;
		align-items: center;
		gap: 5px;
		font-size: 10.5px;
		color: var(--tgp-text-faint, #71717a);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	#tgp-ros-root .tgp-ros-scal__dayrowx {
		flex: 0 0 auto;
		font-size: 17px;
		line-height: 1;
		padding: 6px 8px;
		color: var(--tgp-text-faint, #71717a);
		cursor: pointer;
	}
	#tgp-ros-root .tgp-ros-scal__dayrowx:hover { color: #fca5a5; }
	/* Schedule modal = bottom sheet: compact preview, sticky action bar. */
	#tgp-ros-root .tgp-ros-scal__mpanel {
		width: 100% !important;
		max-height: 92dvh;
		overflow-y: auto;
		border-radius: 18px 18px 0 0 !important;
		overscroll-behavior: contain;
	}
	#tgp-ros-root .tgp-ros-scal__mpanel .tgp-ros-modal__head { align-items: center; gap: 8px; }
	#tgp-ros-root .tgp-ros-scal__mpanel .tgp-ros-modal__head h3 { font-size: 16.5px !important; margin: 0; flex: 0 0 auto; }
	#tgp-ros-root .tgp-ros-scal__mday { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-left: 4px; }
	#tgp-ros-root .tgp-ros-scal__mgrid { grid-template-columns: 1fr; gap: 12px; }
	#tgp-ros-root .tgp-ros-scal__mpreview {
		max-width: none;
		margin: 0;
		position: static;
		height: 150px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	#tgp-ros-root .tgp-ros-scal__mpreview video,
	#tgp-ros-root .tgp-ros-scal__mpreview img { width: 100%; height: 150px; object-fit: contain; }
	#tgp-ros-root .tgp-ros-scal__netcard { padding: 10px !important; }
	#tgp-ros-root .tgp-ros-scal__timechips { display: none; }
	#tgp-ros-root .tgp-ros-scal__timerow { padding-bottom: 4px; }
	#tgp-ros-root .tgp-ros-scal__netcard textarea { rows: 3; min-height: 74px; }
	#tgp-ros-root .tgp-ros-scal__mfoot {
		position: sticky;
		bottom: 0;
		background: var(--tgp-surface-2, #1b1b1f);
		margin: 12px -26px -26px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
		z-index: 5;
		flex-wrap: wrap;
	}
	#tgp-ros-root .tgp-ros-scal__pop { position: fixed; left: 16px !important; right: 16px !important; top: 40%; width: auto; }
}

/* ── Social calendar: hover tooltip ─────────────────────────────────── */
.tgp-ros-scal__tip {
	position: fixed;
	z-index: 99998;
	width: 264px;
	background: #17171b;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 12px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
	padding: 12px;
	display: flex;
	gap: 10px;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.14s ease, transform 0.14s ease;
	pointer-events: none;
	font-size: 11.5px;
	line-height: 1.45;
	color: #a1a1aa;
}
.tgp-ros-scal__tip.is-vis { opacity: 1; transform: translateY(0); }
@media ( hover: none ) { .tgp-ros-scal__tip { display: none !important; } }
.tgp-ros-scal__tipmedia { flex: 0 0 auto; }
.tgp-ros-scal__tipmedia img {
	width: 56px; height: 56px;
	border-radius: 9px;
	object-fit: cover;
	display: block;
}
.tgp-ros-scal__tipbody { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tgp-ros-scal__tipbody strong {
	color: #e4e4e7;
	font-size: 12px;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tgp-ros-scal__tiprow { display: inline-flex; align-items: center; gap: 5px; color: #a1a1aa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgp-ros-scal__tiprow svg { flex: 0 0 auto; opacity: 0.85; }
.tgp-ros-scal__tipcap {
	margin: 2px 0 0;
	color: #71717a;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	white-space: pre-line;
}
.tgp-ros-scal__tiperr { color: #fca5a5; font-style: normal; font-weight: 700; }
.tgp-ros-scal__tiperrmsg { margin: 0; color: #fca5a5; }
.tgp-ros-scal__tiphint {
	margin-top: 3px;
	padding-top: 7px;
	border-top: 1px dashed rgba(255, 255, 255, 0.12);
	color: #d8b4fe;
	font-size: 10.5px;
	font-weight: 600;
}

/* ── Social calendar: how-it-works + looping demo ───────────────────── */
#tgp-ros-root .tgp-ros-scal__how { margin-top: 22px; }
#tgp-ros-root .tgp-ros-scal__howgrid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 30px;
	align-items: center;
}
#tgp-ros-root .tgp-ros-scal__howtitle { margin: 0 0 18px; font-size: 19px; }
#tgp-ros-root .tgp-ros-scal__howlist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	counter-reset: scalhow;
}
#tgp-ros-root .tgp-ros-scal__howlist li { display: flex; gap: 13px; align-items: flex-start; }
#tgp-ros-root .tgp-ros-scal__howicon {
	flex: 0 0 auto;
	width: 38px; height: 38px;
	border-radius: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #d8b4fe;
	background: linear-gradient(135deg, rgba(147, 51, 234, 0.22), rgba(240, 171, 252, 0.1));
	border: 1px solid rgba(168, 85, 247, 0.3);
}
#tgp-ros-root .tgp-ros-scal__howtext { font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); line-height: 1.55; min-width: 0; }
#tgp-ros-root .tgp-ros-scal__howtext strong { display: block; color: var(--tgp-text, #e4e4e7); font-size: 13.5px; margin-bottom: 2px; }

#tgp-ros-root .tgp-ros-scal__demo {
	position: relative;
	height: 250px;
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
	border-radius: 14px;
	background:
		radial-gradient(340px 180px at 80% 0%, rgba(147, 51, 234, 0.12), transparent),
		var(--tgp-surface, #111113);
	overflow: hidden;
	padding: 16px;
}
#tgp-ros-root .tgp-ros-scal__demotray,
#tgp-ros-root .tgp-ros-scal__demoghost {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 132px;
	background: var(--tgp-surface-2, #1b1b1f);
	border: 1px solid var(--tgp-border-strong, rgba(255, 255, 255, 0.16));
	border-radius: 10px;
	padding: 7px 9px;
}
#tgp-ros-root .tgp-ros-scal__demotray { position: absolute; top: 16px; left: 16px; opacity: 0.55; }
#tgp-ros-root .tgp-ros-scal__demothumb {
	flex: 0 0 auto;
	width: 26px; height: 26px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: linear-gradient(135deg, #9333ea, #f0abfc);
}
#tgp-ros-root .tgp-ros-scal__demolines { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
#tgp-ros-root .tgp-ros-scal__demolines i { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); }
#tgp-ros-root .tgp-ros-scal__demolines i:last-child { width: 60%; background: rgba(255, 255, 255, 0.09); }
#tgp-ros-root .tgp-ros-scal__demogrid {
	position: absolute;
	left: 16px; right: 16px; bottom: 16px;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
}
#tgp-ros-root .tgp-ros-scal__democell {
	position: relative;
	height: 40px;
	border-radius: 7px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.05);
}
#tgp-ros-root .tgp-ros-scal__democell.is-target { animation: tgpScalCellGlow 7s ease-in-out infinite; }
#tgp-ros-root .tgp-ros-scal__demodot {
	position: absolute;
	left: 6px; bottom: 6px;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: #a855f7;
}
#tgp-ros-root .tgp-ros-scal__demodot--green { background: #22c55e; }
#tgp-ros-root .tgp-ros-scal__demochip {
	position: absolute;
	left: 5px; right: 5px; bottom: 5px;
	height: 12px;
	border-radius: 4px;
	background: linear-gradient(90deg, rgba(147, 51, 234, 0.85), rgba(240, 171, 252, 0.65));
	opacity: 0;
	animation: tgpScalChipIn 7s ease-in-out infinite;
}
#tgp-ros-root .tgp-ros-scal__demoghost {
	position: absolute;
	top: 16px; left: 16px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
	animation: tgpScalGhostFly 7s ease-in-out infinite;
	will-change: transform, opacity;
}
#tgp-ros-root .tgp-ros-scal__democursor {
	position: absolute;
	top: 30px; left: 130px;
	color: #fff;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
	animation: tgpScalCursorFly 7s ease-in-out infinite;
	will-change: transform, opacity;
}
@keyframes tgpScalGhostFly {
	0%, 8%   { transform: translate(0, 0) scale(1); opacity: 0; }
	14%      { transform: translate(0, 0) scale(1.04); opacity: 1; }
	48%      { transform: translate(150px, 128px) scale(1.04) rotate(2deg); opacity: 1; }
	56%      { transform: translate(150px, 138px) scale(0.72); opacity: 0.9; }
	62%, 100% { transform: translate(150px, 138px) scale(0.5); opacity: 0; }
}
@keyframes tgpScalCursorFly {
	0%, 8%   { transform: translate(0, 0); opacity: 0; }
	14%      { transform: translate(0, 0); opacity: 1; }
	48%      { transform: translate(150px, 128px); opacity: 1; }
	58%      { transform: translate(150px, 132px); opacity: 1; }
	66%, 100% { transform: translate(160px, 120px); opacity: 0; }
}
@keyframes tgpScalChipIn {
	0%, 54%  { opacity: 0; transform: scale(0.65); }
	62%      { opacity: 1; transform: scale(1.08); }
	68%, 92% { opacity: 1; transform: scale(1); }
	100%     { opacity: 0; transform: scale(1); }
}
@keyframes tgpScalCellGlow {
	0%, 40%, 70%, 100% { box-shadow: none; border-color: rgba(255, 255, 255, 0.05); }
	50%, 60% { box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.55), 0 0 22px rgba(168, 85, 247, 0.25); border-color: transparent; }
}
@media ( prefers-reduced-motion: reduce ) {
	#tgp-ros-root .tgp-ros-scal__demoghost,
	#tgp-ros-root .tgp-ros-scal__democursor { animation: none; opacity: 0; }
	#tgp-ros-root .tgp-ros-scal__demochip { animation: none; opacity: 1; }
	#tgp-ros-root .tgp-ros-scal__democell.is-target { animation: none; }
}
@media ( max-width: 900px ) {
	#tgp-ros-root .tgp-ros-scal__howgrid { grid-template-columns: 1fr; gap: 20px; }
	#tgp-ros-root .tgp-ros-scal__demo { height: 220px; }
}

/* Notifications panel: full-width sheet on small screens, always on top.
   The JS sets the exact top when opening (below the bell, clear of the
   theme's sticky header). */
@media ( max-width: 900px ) {
	#tgp-ros-root .tgp-ros-bell__panel {
		position: fixed !important;
		left: 12px !important;
		right: 12px !important;
		top: 130px;
		width: auto !important;
		max-width: none !important;
		z-index: 150 !important;
	}
	#tgp-ros-root .tgp-ros-bell__list { max-height: 55vh; }
}

/* Phones: tray relocated under the grid (JS moves the node) — tighten it. */
@media ( max-width: 700px ) {
	#tgp-ros-root .tgp-ros-scal__calcard .tgp-ros-scal__tray { margin: 14px 0 4px; }
	#tgp-ros-root .tgp-ros-scal__calcard .tgp-ros-scal__traytitle { margin: 0 0 8px; }
	#tgp-ros-root .tgp-ros-scal__calcard .tgp-ros-scal__traynote { margin: 0 0 10px; }
}

/* ── Assistant orb: a living glass sphere for the dock ──────────────── */
#tgp-ros-root .tgp-ros-mgr__fab {
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 50%;
}
#tgp-ros-root .tgp-ros-mgr__fab:hover { filter: none; }

/* Proactive note bubble by the orb. */
#tgp-ros-root .tgp-ros-mgr__bubble {
	position: absolute;
	right: 6px; bottom: calc(100% + 14px);
	width: 268px;
	padding: 11px 14px 13px;
	border-radius: 16px 16px 4px 16px;
	background: linear-gradient(170deg, #201731, #171220 70%);
	border: 1px solid rgba(168, 85, 247, 0.4);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
	font-size: 12.5px; line-height: 1.55; color: #efeaf7;
	cursor: pointer;
	opacity: 0; transform: translateY(8px) scale(0.96);
	transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.4);
	z-index: 5;
}
#tgp-ros-root .tgp-ros-mgr__bubblehead { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; padding-bottom: 7px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
#tgp-ros-root .tgp-ros-mgr__bubbledot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: tgpRosBubblePulse 1.6s ease-in-out infinite; }
#tgp-ros-root .tgp-ros-mgr__bubblehead b { flex: 1; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #c4b5fd; }
#tgp-ros-root .tgp-ros-mgr__bubbletext { display: block; }
@keyframes tgpRosBubblePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
#tgp-ros-root .tgp-ros-mgr__bubble.is-in { opacity: 1; transform: none; }
#tgp-ros-root .tgp-ros-mgr__bubble::after {
	content: '';
	position: absolute; right: 22px; bottom: -6px;
	width: 12px; height: 12px;
	background: #171220;
	border-right: 1px solid rgba(168, 85, 247, 0.4);
	border-bottom: 1px solid rgba(168, 85, 247, 0.4);
	transform: rotate(45deg);
}
#tgp-ros-root .tgp-ros-mgr__bubblex {
	background: none; border: 0; padding: 2px;
	font-size: 15px; line-height: 1; color: #8b8b93; cursor: pointer;
}
#tgp-ros-root .tgp-ros-mgr__bubblex:hover { color: #ffffff; }
/* Unread dot + a little wave from the orb when it has something to say. */
#tgp-ros-root .tgp-ros-mgr.has-note .tgp-ros-mgr__fab::after {
	content: '';
	position: absolute; top: 2px; right: 2px;
	width: 11px; height: 11px; border-radius: 50%;
	background: #22c55e;
	border: 2px solid #0d0b13;
}
#tgp-ros-root .tgp-ros-orb.is-waving { animation: tgpRosOrbWave 0.9s ease-in-out 2; }
@keyframes tgpRosOrbWave {
	0%, 100% { transform: rotate(0); }
	25% { transform: rotate(-7deg) scale(1.04); }
	65% { transform: rotate(6deg) scale(1.04); }
}
@media ( max-width: 700px ) {
	#tgp-ros-root .tgp-ros-mgr__bubble { width: min(240px, calc(100vw - 60px)); }
}
/* Mobile: the orb reads better smaller — scale the whole button so the
   blobs, gloss and eyes shrink together (panel is a sibling, unaffected). */
@media (max-width: 700px) {
	#tgp-ros-root .tgp-ros-mgr__fab { transform: scale(0.8); transform-origin: bottom right; }
}
#tgp-ros-root .tgp-ros-orb {
	position: relative;
	display: block;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 34%, #8b6cf3 0%, #6d4de0 38%, #4527a8 68%, #2a1668 88%, #1d0f4d 100%);
	box-shadow:
		0 14px 36px rgba(0, 0, 0, 0.55),
		0 0 34px rgba(124, 92, 246, 0.45),
		inset 0 -12px 24px rgba(15, 6, 45, 0.55),
		inset 0 0 0 1px rgba(255, 255, 255, 0.10);
	overflow: hidden;
	transition: transform 0.16s ease, box-shadow 0.16s ease;
	animation: tgpOrbBob 5.5s ease-in-out infinite;
}
@keyframes tgpOrbBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
#tgp-ros-root .tgp-ros-mgr__fab:hover .tgp-ros-orb {
	transform: scale(1.09);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), 0 6px 26px rgba(168, 85, 247, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
#tgp-ros-root .tgp-ros-orb__blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(9px);
	opacity: 0.85;
	will-change: transform;
}
#tgp-ros-root .tgp-ros-orb__blob--a {
	width: 40px; height: 40px; left: -7px; top: 12px;
	background: #9d7bf8; opacity: 0.55;
	animation: tgpOrbA 7s ease-in-out infinite alternate;
}
#tgp-ros-root .tgp-ros-orb__blob--b {
	width: 30px; height: 30px; right: -5px; top: -4px;
	background: #7c4df0; opacity: 0.5;
	animation: tgpOrbB 9s ease-in-out infinite alternate;
}
#tgp-ros-root .tgp-ros-orb__blob--c {
	width: 26px; height: 26px; left: 16px; bottom: -7px;
	background: #5a2fd8; opacity: 0.55;
	animation: tgpOrbC 8s ease-in-out infinite alternate;
}
@keyframes tgpOrbA { from { transform: translate(0, 0) scale(1); } to { transform: translate(16px, -8px) scale(1.15); } }
@keyframes tgpOrbB { from { transform: translate(0, 0) scale(1); } to { transform: translate(-14px, 14px) scale(0.9); } }
@keyframes tgpOrbC { from { transform: translate(0, 0) scale(1); } to { transform: translate(10px, -10px) scale(1.2); } }
#tgp-ros-root .tgp-ros-orb.is-thinking .tgp-ros-orb__blob--a { animation-duration: 1.6s; }
#tgp-ros-root .tgp-ros-orb.is-thinking .tgp-ros-orb__blob--b { animation-duration: 2.1s; }
#tgp-ros-root .tgp-ros-orb.is-thinking .tgp-ros-orb__blob--c { animation-duration: 1.8s; }
#tgp-ros-root .tgp-ros-orb__gloss {
	position: absolute;
	left: 10%; top: 6%;
	width: 55%; height: 40%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 255, 255, 0.20), transparent 75%);
	transform: rotate(-18deg);
}
#tgp-ros-root .tgp-ros-orb__eyes {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	transition: transform 0.07s linear;
	will-change: transform;
}
#tgp-ros-root .tgp-ros-orb__eye {
	width: 5px;
	height: 16px;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 0 9px rgba(255, 255, 255, 0.9), 0 0 22px rgba(196, 181, 253, 0.6);
	animation: tgpOrbBlink 4.8s infinite;
	transition: height 0.15s ease;
}
#tgp-ros-root .tgp-ros-orb__eye:last-child { animation-delay: 0.06s; }
@keyframes tgpOrbBlink { 0%, 93%, 100% { transform: scaleY(1); } 95.5%, 97% { transform: scaleY(0.1); } }
#tgp-ros-root .tgp-ros-mgr__fab:hover .tgp-ros-orb__eye { height: 19px; }
#tgp-ros-root .tgp-ros-orb.is-thinking .tgp-ros-orb__eye { height: 8px; animation: none; }
#tgp-ros-root .tgp-ros-orb.is-talking .tgp-ros-orb__eye { animation: tgpOrbTalk 0.4s ease-in-out infinite alternate; }
@keyframes tgpOrbTalk { from { height: 11px; } to { height: 19px; } }
#tgp-ros-root .tgp-ros-orb__ring {
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 2px solid rgba(239, 68, 68, 0.7);
	opacity: 0;
	pointer-events: none;
}
#tgp-ros-root .tgp-ros-orb.is-listening { overflow: visible; }
#tgp-ros-root .tgp-ros-orb.is-listening .tgp-ros-orb__ring { animation: tgpOrbListen 1.3s ease-out infinite; }
#tgp-ros-root .tgp-ros-orb.is-listening .tgp-ros-orb__eye { animation: tgpOrbTalk 0.6s ease-in-out infinite alternate; box-shadow: 0 0 9px rgba(252, 165, 165, 0.95); }
@keyframes tgpOrbListen { 0% { transform: scale(0.92); opacity: 0.9; } 100% { transform: scale(1.28); opacity: 0; } }

/* Panel v2: glassier, softer, roomier. */
#tgp-ros-root .tgp-ros-mgr__panel {
	bottom: 74px;
	width: 388px;
	border-radius: 22px;
	background: rgba(20, 20, 24, 0.97);
	border-color: rgba(255, 255, 255, 0.11);
	backdrop-filter: blur(24px);
	box-shadow: 0 34px 90px rgba(0, 0, 0, 0.65);
}
#tgp-ros-root .tgp-ros-mgr__head { border-bottom-color: rgba(255, 255, 255, 0.07); }
#tgp-ros-root .tgp-ros-mgr__title { font-size: 14.5px; }
#tgp-ros-root .tgp-ros-mgr__msg--bot {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.07);
}
#tgp-ros-root .tgp-ros-mgr__msg--me {
	background: rgba(255, 255, 255, 0.12);
	color: #f4f4f5;
}
#tgp-ros-root .tgp-ros-mgr__hints {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 10px 14px 12px;
}
#tgp-ros-root .tgp-ros-mgr__hint {
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	border-radius: 99px !important;
	padding: 5px 11px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	color: #d4d4d8 !important;
	cursor: pointer;
	transition: border-color 0.12s ease, color 0.12s ease;
}
#tgp-ros-root .tgp-ros-mgr__hint:hover { border-color: rgba(255, 255, 255, 0.35) !important; color: #fff !important; }
#tgp-ros-root .tgp-ros-mgr__learn {
	display: inline-flex;
	align-items: center;
	font-size: 10.5px;
	color: #8b8b93;
	text-decoration: none;
	padding: 5px 2px;
}
#tgp-ros-root .tgp-ros-mgr__learn:hover { color: #e4e4e7; }
#tgp-ros-root .tgp-ros-mgr__mic {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.04);
	color: #b9b9c0;
	cursor: pointer;
	padding: 0 !important;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
#tgp-ros-root .tgp-ros-mgr__mic:hover { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
#tgp-ros-root .tgp-ros-mgr__mic.is-rec {
	border-color: rgba(239, 68, 68, 0.7);
	color: #fca5a5;
	background: rgba(239, 68, 68, 0.12);
	animation: tgpMicPulse 1.2s ease-in-out infinite;
}
@keyframes tgpMicPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.35); } 50% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); } }
#tgp-ros-root .tgp-ros-mgr__mic.is-busy { opacity: 0.55; pointer-events: none; }
#tgp-ros-root .tgp-ros-mgr__send {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0 !important;
	background: #f2f2f2 !important;
	color: #101014 !important;
	cursor: pointer;
	padding: 0 !important;
	transition: transform 0.13s ease, background 0.13s ease;
}
#tgp-ros-root .tgp-ros-mgr__send svg { margin-left: -2px; margin-top: 1px; }
#tgp-ros-root .tgp-ros-mgr__send:hover { transform: scale(1.07); background: #fff !important; }
#tgp-ros-root .tgp-ros-mgr__send:active { transform: scale(0.96); }
@media ( prefers-reduced-motion: reduce ) {
	#tgp-ros-root .tgp-ros-orb,
	#tgp-ros-root .tgp-ros-orb__blob,
	#tgp-ros-root .tgp-ros-orb__eye { animation: none; }
}

/* ── Assistant capabilities page ────────────────────────────────────── */
#tgp-ros-root .tgp-ros-asst__hero {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 30px;
}
#tgp-ros-root .tgp-ros-asst__heroorb { flex: 0 0 auto; transform: scale(1.5); transform-origin: center; margin: 14px 22px; }
#tgp-ros-root .tgp-ros-asst__heroorb .tgp-ros-orb { animation: none; }
#tgp-ros-root .tgp-ros-asst__herotext { min-width: 0; }
#tgp-ros-root .tgp-ros-asst__herotext h2 { margin: 0 0 10px; font-size: 21px; }
#tgp-ros-root .tgp-ros-asst__herotext p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.65; color: var(--tgp-text-dim, #a1a1aa); max-width: 640px; }
#tgp-ros-root .tgp-ros-asst__heroways { display: flex; flex-wrap: wrap; gap: 10px 22px; }
#tgp-ros-root .tgp-ros-asst__heroways span {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 600; color: var(--tgp-text, #e4e4e7);
}
#tgp-ros-root .tgp-ros-asst__heroways svg { color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-asst__grid {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}
#tgp-ros-root .tgp-ros-asst__card { display: flex; flex-direction: column; gap: 8px; }
#tgp-ros-root .tgp-ros-asst__icon {
	width: 38px; height: 38px;
	border-radius: 11px;
	display: flex; align-items: center; justify-content: center;
	color: var(--tgp-text, #e4e4e7);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.09);
	margin-bottom: 4px;
}
#tgp-ros-root .tgp-ros-asst__card h3 { margin: 0; font-size: 14.5px; }
#tgp-ros-root .tgp-ros-asst__card p { margin: 0 0 6px; font-size: 12.5px; line-height: 1.55; color: var(--tgp-text-dim, #a1a1aa); flex: 1; }
#tgp-ros-root .tgp-ros-asst__tries { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
#tgp-ros-root .tgp-ros-asst__try {
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.13) !important;
	border-radius: 10px !important;
	padding: 7px 11px !important;
	font-size: 11.5px !important;
	color: #c9c9cf !important;
	text-align: left !important;
	cursor: pointer;
	transition: border-color 0.12s ease, color 0.12s ease, transform 0.12s ease;
}
#tgp-ros-root .tgp-ros-asst__try:hover { border-color: rgba(255, 255, 255, 0.35) !important; color: #fff !important; transform: translateY(-1px); }
#tgp-ros-root .tgp-ros-asst__rules { grid-column: 1 / -1; }
#tgp-ros-root .tgp-ros-asst__rules h3 { margin: 0 0 12px; font-size: 14.5px; }
#tgp-ros-root .tgp-ros-asst__rules ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px 26px; }
#tgp-ros-root .tgp-ros-asst__rules li {
	position: relative;
	padding-left: 18px;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--tgp-text-dim, #a1a1aa);
}
#tgp-ros-root .tgp-ros-asst__rules li::before {
	content: '';
	position: absolute; left: 0; top: 7px;
	width: 7px; height: 7px; border-radius: 2px;
	background: rgba(255, 255, 255, 0.35);
}
@media ( max-width: 760px ) {
	#tgp-ros-root .tgp-ros-asst__hero { flex-direction: column; text-align: center; gap: 10px; }
	#tgp-ros-root .tgp-ros-asst__heroways { justify-content: center; }
	#tgp-ros-root .tgp-ros-asst__tries { align-items: stretch; }
}

/* ── People ─────────────────────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-people__bar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-people__filters { display: flex; gap: 6px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-people__filter { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--tgp-border, rgba(255,255,255,.1)); background: none; color: var(--tgp-text-dim, #a1a1aa); font-size: 12.5px; font-weight: 600; cursor: pointer; }
#tgp-ros-root .tgp-ros-people__filter b { color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-people__filter.is-on { border-color: rgba(168,85,247,.55); color: var(--tgp-text, #e4e4e7); background: rgba(124,58,237,.1); }
#tgp-ros-root .tgp-ros-people__tools { display: flex; align-items: center; gap: 10px; flex: 1 1 320px; justify-content: flex-end; min-width: 0; }
#tgp-ros-root .tgp-ros-people__tools .tgp-ros-btn { flex: none; white-space: nowrap; }
#tgp-ros-root .tgp-ros-people__search { flex: 0 1 240px; min-width: 140px; }
#tgp-ros-root .tgp-ros-people__search { max-width: 240px; font-size: 12.5px !important; }
#tgp-ros-root .tgp-ros-people__list { grid-column: 1 / -1; }
#tgp-ros-root .tgp-ros-people__row { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--tgp-border, rgba(255,255,255,.07)); font-size: 12.5px; }
#tgp-ros-root .tgp-ros-people__kind { flex: 0 0 76px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 0; border-radius: 999px; border: 1px solid var(--tgp-border, rgba(255,255,255,.1)); color: #a1a1aa; --kind-c: #a1a1aa; }
#tgp-ros-root .tgp-ros-people__kind::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--kind-c); }
#tgp-ros-root .tgp-ros-people__kind.is-fan { color: #86efac; border-color: rgba(74,222,128,.3); background: rgba(74,222,128,.06); --kind-c: #4ade80; }
#tgp-ros-root .tgp-ros-people__kind.is-curator { color: #93c5fd; border-color: rgba(96,165,250,.3); background: rgba(96,165,250,.06); --kind-c: #60a5fa; }
#tgp-ros-root .tgp-ros-people__kind.is-booker { color: #fcd34d; border-color: rgba(251,191,36,.3); background: rgba(251,191,36,.06); --kind-c: #fbbf24; }
#tgp-ros-root .tgp-ros-people__name { flex: 0 1 220px; min-width: 0; font-weight: 600; color: var(--tgp-text, #e4e4e7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tgp-ros-root .tgp-ros-people__email { flex: 1; min-width: 0; color: #8b8b93; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tgp-ros-root .tgp-ros-people__email:hover { color: #c084fc; }
#tgp-ros-root .tgp-ros-people__note { flex: 0 0 auto; font-size: 11px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-people__date { flex: 0 0 78px; text-align: right; font-size: 11px; color: #71717a; }
@media ( max-width: 700px ) {
	#tgp-ros-root .tgp-ros-people__row { flex-wrap: wrap; gap: 4px 12px; }
	#tgp-ros-root .tgp-ros-people__name { flex: 1 1 auto; }
	#tgp-ros-root .tgp-ros-people__email { flex: 1 1 100%; }
}

/* ── Guide ──────────────────────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-guide__flowcard, #tgp-ros-root .tgp-ros-guide__section { grid-column: 1 / -1; }
#tgp-ros-root .tgp-ros-guide__h { margin: 0 0 14px; font-size: 15px; }
#tgp-ros-root .tgp-ros-guide__flow { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-guide__step {
	flex: 1 1 120px; display: flex; flex-direction: column; align-items: center; gap: 3px;
	padding: 16px 10px; border: 1px solid var(--tgp-border, rgba(255,255,255,.08));
	border-radius: 14px; background: rgba(255,255,255,.02); text-align: center;
}
#tgp-ros-root .tgp-ros-guide__stepicon { position: relative; overflow: hidden; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.85); margin-bottom: 5px; --gs-c: #a855f7; }
#tgp-ros-root .tgp-ros-guide__stepicon::before { content: ""; position: absolute; left: 3px; bottom: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--gs-c); filter: blur(11px); opacity: .95; }
#tgp-ros-root .tgp-ros-guide__stepicon svg { position: relative; z-index: 1; }
#tgp-ros-root .tgp-ros-guide__step:nth-of-type(2) .tgp-ros-guide__stepicon { --gs-c: #ec4899; }
#tgp-ros-root .tgp-ros-guide__step:nth-of-type(3) .tgp-ros-guide__stepicon { --gs-c: #60a5fa; }
#tgp-ros-root .tgp-ros-guide__step:nth-of-type(4) .tgp-ros-guide__stepicon { --gs-c: #f59e0b; }
#tgp-ros-root .tgp-ros-guide__step:nth-of-type(5) .tgp-ros-guide__stepicon { --gs-c: #34d399; }
#tgp-ros-root .tgp-ros-guide__step b { font-size: 13px; color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-guide__step small { font-size: 11px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-guide__arrow { align-self: center; width: 18px; height: 2px; background: rgba(255,255,255,.18); position: relative; flex: 0 0 auto; }
#tgp-ros-root .tgp-ros-guide__arrow::after { content: ''; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left-color: rgba(255,255,255,.3); }
#tgp-ros-root .tgp-ros-guide__flownote { margin: 14px 0 0; font-size: 12px; color: #8b8b93; }

#tgp-ros-root .tgp-ros-guide__cols { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 26px; align-items: start; }
#tgp-ros-root .tgp-ros-guide__viz { position: sticky; top: 20px; }
#tgp-ros-root .tgp-ros-guide__item { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.05); }
#tgp-ros-root .tgp-ros-guide__item:first-of-type { border-top: 0; }
#tgp-ros-root .tgp-ros-guide__icon { position: relative; overflow: hidden; flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); background: rgba(255,255,255,.03); color: rgba(255,255,255,.8); }
#tgp-ros-root .tgp-ros-guide__icon::before { content: ""; position: absolute; left: 2px; bottom: 0; width: 16px; height: 16px; border-radius: 50%; background: #a855f7; filter: blur(10px); opacity: .85; }
#tgp-ros-root .tgp-ros-guide__icon svg { position: relative; z-index: 1; }
#tgp-ros-root .tgp-ros-guide__itembody { min-width: 0; }
#tgp-ros-root .tgp-ros-guide__item h3 { margin: 0 0 3px; font-size: 13px; color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-guide__item p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-guide__go { margin-left: 8px; font-size: 11px; font-weight: 600; color: #c084fc; text-decoration: none; white-space: nowrap; }
#tgp-ros-root .tgp-ros-guide__go:hover { text-decoration: underline; }

/* Mini mocks — tiny sketches of the real UI. */
#tgp-ros-root .tgp-ros-gm { border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); border-radius: 14px; background: #101014; padding: 18px; min-height: 170px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
#tgp-ros-root .tgp-ros-gm__line { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.12); }
#tgp-ros-root .tgp-ros-gm__line--w60 { width: 60%; height: 10px; background: rgba(255,255,255,.2); }
#tgp-ros-root .tgp-ros-gm__line--w50 { width: 50%; }
#tgp-ros-root .tgp-ros-gm__line--w40 { width: 40%; }
#tgp-ros-root .tgp-ros-gm__line--w30 { width: 30%; }
#tgp-ros-root .tgp-ros-gm__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#tgp-ros-root .tgp-ros-gm__btn { font-size: 10px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: #7c3aed; color: #fff; }
#tgp-ros-root .tgp-ros-gm__btn--ghost { background: none; border: 1px solid rgba(255,255,255,.2); color: #a1a1aa; }
#tgp-ros-root .tgp-ros-gm__orbrow { display: flex; align-items: flex-end; justify-content: flex-end; gap: 8px; margin-top: 6px; }
#tgp-ros-root .tgp-ros-gm__bubble { max-width: 170px; font-size: 10px; line-height: 1.45; color: #efeaf7; background: #1d1526; border: 1px solid rgba(168,85,247,.35); border-radius: 10px 10px 3px 10px; padding: 7px 9px; }
#tgp-ros-root .tgp-ros-gm__orb { position: relative; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 32% 26%, #e9d5ff, #a855f7 42%, #6d28d9 75%); flex: 0 0 auto; }
#tgp-ros-root .tgp-ros-gm__orb i { position: absolute; top: 11px; width: 3px; height: 7px; border-radius: 2px; background: #fff; }
#tgp-ros-root .tgp-ros-gm__orb i:first-child { left: 10px; }
#tgp-ros-root .tgp-ros-gm__orb i:last-child { left: 17px; }

#tgp-ros-root .tgp-ros-gm--timeline { justify-content: center; }
#tgp-ros-root .tgp-ros-gm__tl { position: relative; height: 2px; background: rgba(255,255,255,.15); margin: 30px 8px 44px; }
#tgp-ros-root .tgp-ros-gm__tldot { position: absolute; top: -5px; }
#tgp-ros-root .tgp-ros-gm__tldot i { display: block; width: 12px; height: 12px; border-radius: 50%; background: #52525b; border: 2px solid #101014; }
#tgp-ros-root .tgp-ros-gm__tldot.is-release i { background: #c084fc; box-shadow: 0 0 0 3px rgba(168,85,247,.25); }
#tgp-ros-root .tgp-ros-gm__tldot b { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-gm__tldot small { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); font-size: 9.5px; color: #8b8b93; white-space: nowrap; }

#tgp-ros-root .tgp-ros-gm--cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
#tgp-ros-root .tgp-ros-gm__day { position: relative; aspect-ratio: 1; border-radius: 6px; background: rgba(255,255,255,.045); }
#tgp-ros-root .tgp-ros-gm__day i { position: absolute; left: 15%; right: 15%; bottom: 18%; height: 5px; border-radius: 3px; }
#tgp-ros-root .tgp-ros-gm__day i.is-a { background: #e1306c; }
#tgp-ros-root .tgp-ros-gm__day i.is-b { background: #25f4ee; }
#tgp-ros-root .tgp-ros-gm__day i.is-c { background: #c084fc; }

#tgp-ros-root .tgp-ros-gm__funrow { display: flex; align-items: center; gap: 10px; }
#tgp-ros-root .tgp-ros-gm__funlabel { flex: 0 0 96px; font-size: 10.5px; color: #a1a1aa; text-align: right; }
#tgp-ros-root .tgp-ros-gm__funbar { flex: 1; height: 14px; border-radius: 4px; background: rgba(255,255,255,.05); overflow: hidden; }
#tgp-ros-root .tgp-ros-gm__funbar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #7c3aed, #c084fc); }
#tgp-ros-root .tgp-ros-gm__funrow b { flex: 0 0 22px; font-size: 11px; color: var(--tgp-text, #e4e4e7); }

#tgp-ros-root .tgp-ros-gm--site { align-items: center; }
#tgp-ros-root .tgp-ros-gm__browser { width: 78%; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 10px 12px 16px; background: #16161b; text-align: center; }
#tgp-ros-root .tgp-ros-gm__dots { display: flex; gap: 4px; margin-bottom: 12px; }
#tgp-ros-root .tgp-ros-gm__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.18); }
#tgp-ros-root .tgp-ros-gm__avatar { display: block; width: 38px; height: 38px; border-radius: 50%; margin: 0 auto; background: radial-gradient(circle at 35% 30%, #a855f7, #4c1d95); }
#tgp-ros-root .tgp-ros-gm__cta { display: inline-block; font-size: 10px; font-weight: 700; padding: 5px 16px; border-radius: 999px; background: #d7ff4f; color: #0d0b13; }

#tgp-ros-root .tgp-ros-gm--credits { flex-direction: row; gap: 14px; }
#tgp-ros-root .tgp-ros-gm__creditcol { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 11.5px; color: #d4d4d8; }
#tgp-ros-root .tgp-ros-gm__creditcol span { display: flex; align-items: center; gap: 6px; }
#tgp-ros-root .tgp-ros-gm__creditcol svg { color: #c084fc; }
#tgp-ros-root .tgp-ros-gm__credithead { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; align-self: flex-start; }
#tgp-ros-root .tgp-ros-gm__credithead.is-free { color: #86efac; background: rgba(74,222,128,.12); }
#tgp-ros-root .tgp-ros-gm__credithead.is-paid { color: #c084fc; background: rgba(168,85,247,.14); }

@media ( max-width: 860px ) {
	#tgp-ros-root .tgp-ros-guide__cols { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-guide__viz { position: static; }
	#tgp-ros-root .tgp-ros-guide__arrow { display: none; }
}

/* ── Academy ────────────────────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-academy__progress { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
#tgp-ros-root .tgp-ros-academy__ph { margin: 0 0 3px; font-size: 15px; }
#tgp-ros-root .tgp-ros-academy__psub { margin: 0; font-size: 12px; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-academy__barwrap { flex: 1; max-width: 420px; display: flex; align-items: center; gap: 12px; }
#tgp-ros-root .tgp-ros-academy__bar { flex: 1; height: 9px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
#tgp-ros-root .tgp-ros-academy__bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7c3aed, #c084fc); transition: width .3s ease; }
#tgp-ros-root .tgp-ros-academy__pct { font-size: 13px; font-weight: 700; color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-academy__module { grid-column: 1 / -1; }
#tgp-ros-root .tgp-ros-academy__mnum { color: #8b8b93; font-size: 12px; margin-right: 4px; }
#tgp-ros-root .tgp-ros-academy__lesson { border-top: 1px solid var(--tgp-border, rgba(255,255,255,.07)); }
#tgp-ros-root .tgp-ros-academy__lesson summary { display: flex; align-items: center; gap: 12px; padding: 13px 0; cursor: pointer; list-style: none; }
#tgp-ros-root .tgp-ros-academy__lesson summary::-webkit-details-marker { display: none; }
#tgp-ros-root .tgp-ros-academy__check { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); color: transparent; flex: 0 0 auto; transition: all .15s ease; }
#tgp-ros-root .tgp-ros-academy__check.is-done { border-color: rgba(74,222,128,.7); background: rgba(74,222,128,.2); color: #4ade80; }
#tgp-ros-root .tgp-ros-academy__ltitle { font-size: 13.5px; font-weight: 600; color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-academy__body { padding: 2px 0 16px 32px; }
#tgp-ros-root .tgp-ros-academy__body p { margin: 0 0 12px; font-size: 12.5px; line-height: 1.7; color: var(--tgp-text-dim, #a1a1aa); max-width: 720px; }
#tgp-ros-root .tgp-ros-academy__acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── Paperwork card ─────────────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-paperwork__sub { margin: 0 0 6px; font-size: 12.5px; line-height: 1.6; color: var(--tgp-text-dim, #a1a1aa); max-width: 640px; }
#tgp-ros-root .tgp-ros-paperwork__row { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--tgp-border, rgba(255,255,255,.07)); font-size: 12.5px; }
#tgp-ros-root .tgp-ros-paperwork__type { flex: 0 0 auto; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #c084fc; padding: 3px 9px; border: 1px solid rgba(168,85,247,.3); border-radius: 999px; }
#tgp-ros-root .tgp-ros-paperwork__name { flex: 1; min-width: 0; color: var(--tgp-text, #e4e4e7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tgp-ros-root .tgp-ros-paperwork__date { flex: 0 0 auto; color: #8b8b93; font-size: 11.5px; }

/* ── Activity feed ──────────────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-activity { grid-column: 1 / -1; }
#tgp-ros-root .tgp-ros-activity__day { margin: 18px 0 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8b8b93; }
#tgp-ros-root .tgp-ros-activity__day:first-child { margin-top: 0; }
#tgp-ros-root .tgp-ros-activity__row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.05); font-size: 12.5px; }
#tgp-ros-root .tgp-ros-activity__time { flex: 0 0 44px; color: #71717a; font-size: 11px; }
#tgp-ros-root .tgp-ros-activity__dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #52525b; }
#tgp-ros-root .tgp-ros-activity__dot.is-demo { background: #a855f7; }
#tgp-ros-root .tgp-ros-activity__dot.is-pitch, #tgp-ros-root .tgp-ros-activity__dot.is-followup { background: #22d3ee; }
#tgp-ros-root .tgp-ros-activity__dot.is-social, #tgp-ros-root .tgp-ros-activity__dot.is-autopilot { background: #f472b6; }
#tgp-ros-root .tgp-ros-activity__dot.is-goal, #tgp-ros-root .tgp-ros-activity__dot.is-distribution { background: #4ade80; }
#tgp-ros-root .tgp-ros-activity__label { color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-activity__extra { color: #8b8b93; font-size: 11.5px; }

/* ── Career goal card ───────────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-goal { grid-column: 1 / -1; }
#tgp-ros-root .tgp-ros-goal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
#tgp-ros-root .tgp-ros-goal__eyebrow { display: block; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: #8b8b93; margin-bottom: 5px; }
#tgp-ros-root .tgp-ros-goal__title { margin: 0; font-size: 16.5px; color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-goal__title b { color: #c084fc; }
#tgp-ros-root .tgp-ros-goal__sub { margin: 6px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--tgp-text-dim, #a1a1aa); max-width: 560px; }
#tgp-ros-root .tgp-ros-goal__pace { flex: 0 0 auto; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--tgp-border, rgba(255,255,255,.1)); color: #a1a1aa; }
#tgp-ros-root .tgp-ros-goal__pace.is-on_track { color: #a5b4fc; border-color: rgba(129,140,248,.35); }
#tgp-ros-root .tgp-ros-goal__pace.is-ahead, #tgp-ros-root .tgp-ros-goal__pace.is-reached { color: #86efac; border-color: rgba(74,222,128,.35); }
#tgp-ros-root .tgp-ros-goal__pace.is-behind { color: #fca5a5; border-color: rgba(248,113,113,.35); }
#tgp-ros-root .tgp-ros-goal__barwrap { margin-top: 14px; }
#tgp-ros-root .tgp-ros-goal__bar { position: relative; height: 10px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: visible; }
#tgp-ros-root .tgp-ros-goal__bar span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #7c3aed, #c084fc); }
#tgp-ros-root .tgp-ros-goal__bar i { position: absolute; top: -3px; bottom: -3px; width: 2px; background: rgba(255,255,255,.4); border-radius: 2px; }
#tgp-ros-root .tgp-ros-goal__nums { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-goal__edit { background: none; border: 0; padding: 0; margin-top: 12px; font-size: 11.5px; color: #8b8b93; cursor: pointer; text-decoration: underline; }
#tgp-ros-root .tgp-ros-goal__edit:hover { color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-goal__form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--tgp-border, rgba(255,255,255,.07)); }
#tgp-ros-root .tgp-ros-goal__form .tgp-field { flex: 0 1 180px; min-width: 0; }
#tgp-ros-root .tgp-ros-goal__status { font-size: 11.5px; color: #fca5a5; }

/* ── Overview: daily brief + decision inbox ─────────────────────────── */
#tgp-ros-root .tgp-ros-brief { grid-column: 1 / -1; }
#tgp-ros-root .tgp-ros-brief__head {
	display: flex; align-items: flex-start; justify-content: space-between;
	gap: 18px; margin-bottom: 4px;
}
#tgp-ros-root .tgp-ros-brief__eyebrow { display: block; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: #8b8b93; margin-bottom: 6px; }
#tgp-ros-root .tgp-ros-brief__focus { margin: 0; font-size: 17px; line-height: 1.4; color: var(--tgp-text, #e4e4e7); max-width: 640px; }
#tgp-ros-root .tgp-ros-brief__stats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
#tgp-ros-root .tgp-ros-brief__stat {
	display: inline-flex; flex-direction: column; gap: 1px;
	padding: 8px 13px; border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); border-radius: 11px;
	font-size: 10.5px; color: #8b8b93; white-space: nowrap;
}
#tgp-ros-root .tgp-ros-brief__stat b { font-size: 13.5px; color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-brief__list { margin-top: 10px; }
#tgp-ros-root .tgp-ros-brief__row {
	display: flex; align-items: center; gap: 16px;
	padding: 13px 0;
	border-top: 1px solid var(--tgp-border, rgba(255,255,255,.07));
}
#tgp-ros-root .tgp-ros-brief__row.is-skipped { opacity: 0.45; }
#tgp-ros-root .tgp-ros-brief__body { flex: 1; min-width: 0; }
#tgp-ros-root .tgp-ros-brief__title { display: block; font-size: 13.5px; font-weight: 600; color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-brief__detail { display: block; margin-top: 2px; font-size: 12px; line-height: 1.5; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-brief__row.is-approved .tgp-ros-brief__detail { color: #86efac; }
#tgp-ros-root .tgp-ros-brief__acts { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; }
#tgp-ros-root .tgp-ros-brief__done { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #4ade80; }
#tgp-ros-root .tgp-ros-brief__skipped { font-size: 12px; color: #71717a; }
@media ( max-width: 700px ) {
	#tgp-ros-root .tgp-ros-brief__head { flex-direction: column; }
	#tgp-ros-root .tgp-ros-brief__stats { justify-content: flex-start; }
	#tgp-ros-root .tgp-ros-brief__row { flex-wrap: wrap; }
	#tgp-ros-root .tgp-ros-brief__acts { margin-left: auto; }
}

/* ── Overview: connect list ─────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-connectlist { grid-column: 1 / -1; }
#tgp-ros-root .tgp-ros-connectlist__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
}
#tgp-ros-root .tgp-ros-connectlist__head h2 { margin: 0 0 5px; font-size: 16.5px; }
#tgp-ros-root .tgp-ros-connectlist__head p { margin: 0 0 6px; font-size: 12.5px; line-height: 1.6; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-connectlist__count { flex: 0 0 auto; font-size: 12px; color: var(--tgp-text-dim, #a1a1aa); white-space: nowrap; }
#tgp-ros-root .tgp-ros-connectlist__row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 15px 0;
}
#tgp-ros-root .tgp-ros-connectlist__row + .tgp-ros-connectlist__row { border-top: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.07)); }
#tgp-ros-root .tgp-ros-connectlist__rows { margin-top: 6px; }
/* Uniform app-icon tiles: same size, radius and hairline ring for all three. */
#tgp-ros-root .tgp-ros-connectlist__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 36px; height: 36px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
	color: #c9c9d1;
}
#tgp-ros-root .tgp-ros-connectlist__icon--instagram {
	color: #ffffff;
	background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #4f5bd5 90%);
}
#tgp-ros-root .tgp-ros-connectlist__icon--tiktok { background: #010101; }
#tgp-ros-root .tgp-ros-connectlist__icon--spotify { background: #191414; }
#tgp-ros-root .tgp-ros-connectlist__body { flex: 1; min-width: 0; }
#tgp-ros-root .tgp-ros-connectlist__body h3 { margin: 0 0 2px; font-size: 13.5px; font-weight: 600; color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-connectlist__body p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-connectlist__ok {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #4ade80;
}
#tgp-ros-root .tgp-ros-connectlist__cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	padding: 7px 16px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: var(--tgp-text, #e4e4e7);
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s ease, background 0.15s ease;
}
#tgp-ros-root .tgp-ros-connectlist__cta:hover {
	border-color: rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.04);
	text-decoration: none;
}

/* Right panel: real platform logos feeding the assistant. */
#tgp-ros-root .tgp-ros-connectlist__grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 0 28px; margin-top: 6px; }
#tgp-ros-root .tgp-ros-connectlist__viz {
	border-left: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.07));
	padding-left: 28px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
#tgp-ros-root .tgp-ros-connectlist__flow { display: flex; align-items: center; gap: 4px; }
#tgp-ros-root .tgp-ros-connectlist__logos { display: flex; flex-direction: column; gap: 13px; }
#tgp-ros-root .tgp-ros-connectlist__logo {
	display: grid;
	place-items: center;
	width: 30px; height: 30px;
	border-radius: 8px;
}
#tgp-ros-root .tgp-ros-connectlist__logo--ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #4f5bd5 90%); }
#tgp-ros-root .tgp-ros-connectlist__logo--tt { background: #010101; border: 1px solid rgba(255, 255, 255, 0.12); }
#tgp-ros-root .tgp-ros-connectlist__logo--sp { background: #191414; border: 1px solid rgba(255, 255, 255, 0.09); }
#tgp-ros-root .tgp-ros-connectlist__wires { width: 64px; height: 112px; flex: 0 0 auto; }
#tgp-ros-root .tgp-ros-connectlist__orb {
	position: relative;
	flex: 0 0 auto;
	width: 46px; height: 46px;
	border-radius: 50%;
	background: radial-gradient(circle at 32% 26%, #e9d5ff, #a855f7 42%, #6d28d9 72%, #2e1065 100%);
	box-shadow: inset 0 -7px 12px rgba(0, 0, 0, 0.35), inset 0 4px 8px rgba(255, 255, 255, 0.22);
}
#tgp-ros-root .tgp-ros-connectlist__orbeye {
	position: absolute;
	top: 17px; left: 16px;
	width: 4px; height: 10px;
	border-radius: 3px;
	background: #ffffff;
}
#tgp-ros-root .tgp-ros-connectlist__orbeye--r { left: 27px; }
#tgp-ros-root .tgp-ros-connectlist__vizcap { margin: 14px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--tgp-text-dim, #a1a1aa); }
@media ( max-width: 900px ) {
	#tgp-ros-root .tgp-ros-connectlist__grid { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-connectlist__viz {
		border-left: 0;
		border-top: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.07));
		padding: 16px 0 0;
		margin-top: 4px;
	}
	#tgp-ros-root .tgp-ros-connectlist__flow { justify-content: center; }
	#tgp-ros-root .tgp-ros-connectlist__vizcap { text-align: center; }
}
@media ( max-width: 620px ) {
	#tgp-ros-root .tgp-ros-connectlist__head { flex-direction: column; gap: 2px; }
	#tgp-ros-root .tgp-ros-connectlist__row { flex-wrap: wrap; }
	#tgp-ros-root .tgp-ros-connectlist__body { flex: 1 1 calc(100% - 50px); }
	#tgp-ros-root .tgp-ros-connectlist__cta,
	#tgp-ros-root .tgp-ros-connectlist__ok { margin-left: 50px; }
}

/* ── Demo pages builder ─────────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-dd__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: 20px; align-items: start; grid-column: 1 / -1; }
#tgp-ros-root .tgp-ros-dd__controls { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
#tgp-ros-root .tgp-ros-dd__h { margin: 0 0 14px; font-size: 14.5px; }
#tgp-ros-root .tgp-ros-dd__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
#tgp-ros-root .tgp-ros-dd__tpl {
	display: flex !important; flex-direction: column; align-items: flex-start; gap: 4px;
	background: var(--tgp-surface, #111113) !important;
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08)) !important;
	border-radius: 14px !important;
	padding: 10px !important;
	cursor: pointer; text-align: left !important;
	transition: border-color 0.14s ease, transform 0.14s ease;
}
#tgp-ros-root .tgp-ros-dd__tpl:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.2) !important; }
#tgp-ros-root .tgp-ros-dd__tpl.is-on { border-color: #a855f7 !important; box-shadow: 0 0 0 1px #a855f7; }
#tgp-ros-root .tgp-ros-dd__tpl strong { font-size: 12.5px; color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-dd__tpl small { font-size: 10.5px; line-height: 1.4; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-dd__thumb { position: relative; width: 100%; height: 64px; border-radius: 9px; overflow: hidden; margin-bottom: 4px; background: #17131f; }
#tgp-ros-root .tgp-ros-dd__thumb i { position: absolute; }
#tgp-ros-root .tgp-ros-dd__thumb--aura { background: radial-gradient(60px 40px at 20% 10%, #5b21b6aa, #17131f); }
#tgp-ros-root .tgp-ros-dd__thumb--aura i:nth-child(1) { left: 10%; top: 18%; width: 34%; height: 64%; border-radius: 8px; background: #241d31; }
#tgp-ros-root .tgp-ros-dd__thumb--aura i:nth-child(2) { right: 8%; top: 18%; width: 40%; height: 26%; border-radius: 6px; background: #241d31; }
#tgp-ros-root .tgp-ros-dd__thumb--aura i:nth-child(3) { right: 8%; bottom: 16%; width: 40%; height: 22%; border-radius: 99px; background: #d7ff4f; }
#tgp-ros-root .tgp-ros-dd__thumb--cinema { background: linear-gradient(180deg, #3a2f52, #0b0a10 80%); }
#tgp-ros-root .tgp-ros-dd__thumb--cinema i:nth-child(1) { left: 8%; bottom: 14%; width: 55%; height: 16%; border-radius: 3px; background: #e6e2f2; }
#tgp-ros-root .tgp-ros-dd__thumb--cinema i:nth-child(2) { left: 8%; bottom: 38%; width: 30%; height: 8%; border-radius: 3px; background: #8d86a3; }
#tgp-ros-root .tgp-ros-dd__thumb--editorial { background: #0e0d13; }
#tgp-ros-root .tgp-ros-dd__thumb--editorial i:nth-child(1) { left: 0; top: 0; bottom: 0; width: 42%; background: #4c3a6e; }
#tgp-ros-root .tgp-ros-dd__thumb--editorial i:nth-child(2) { right: 8%; top: 22%; width: 42%; height: 12%; background: #e6e2f2; }
#tgp-ros-root .tgp-ros-dd__thumb--editorial i:nth-child(3) { right: 8%; top: 46%; width: 42%; height: 4%; background: #6f6880; }
#tgp-ros-root .tgp-ros-dd__thumb--bento { background: #0e0d13; }
#tgp-ros-root .tgp-ros-dd__thumb--bento i:nth-child(1) { left: 6%; top: 12%; width: 34%; height: 76%; border-radius: 6px; background: #4c3a6e; }
#tgp-ros-root .tgp-ros-dd__thumb--bento i:nth-child(2) { right: 6%; top: 12%; width: 50%; height: 34%; border-radius: 6px; background: #241d31; }
#tgp-ros-root .tgp-ros-dd__thumb--bento i:nth-child(3) { right: 6%; bottom: 12%; width: 50%; height: 34%; border-radius: 6px; background: #241d31; }
#tgp-ros-root .tgp-ros-dd__thumb--noir { background: #060607; }
#tgp-ros-root .tgp-ros-dd__thumb--noir i:nth-child(1) { left: 12%; top: 30%; width: 76%; height: 1px; background: #ffffff44; }
#tgp-ros-root .tgp-ros-dd__thumb--noir i:nth-child(2) { left: 12%; top: 48%; width: 50%; height: 10%; background: #e6e2f2; }
#tgp-ros-root .tgp-ros-dd__thumb--noir i:nth-child(3) { left: 12%; top: 70%; width: 76%; height: 1px; background: #ffffff44; }
#tgp-ros-root .tgp-ros-dd__thumb--glass { background: linear-gradient(140deg, #5b4b86, #241d31); }
#tgp-ros-root .tgp-ros-dd__thumb--glass i:nth-child(1) { left: 10%; top: 20%; width: 80%; height: 26%; border-radius: 6px; background: #ffffff22; }
#tgp-ros-root .tgp-ros-dd__thumb--glass i:nth-child(2) { left: 10%; bottom: 18%; width: 80%; height: 26%; border-radius: 6px; background: #ffffff22; }
#tgp-ros-root .tgp-ros-dd__thumb--poster { background: #0e0d13; }
#tgp-ros-root .tgp-ros-dd__thumb--poster i:nth-child(1) { left: 30%; top: 12%; width: 40%; height: 44%; background: #fff; transform: rotate(-4deg); }
#tgp-ros-root .tgp-ros-dd__thumb--poster i:nth-child(2) { left: 14%; bottom: 14%; width: 72%; height: 14%; background: #e6e2f2; }
#tgp-ros-root .tgp-ros-dd__thumb--wave { background: #0a0a0e; }
#tgp-ros-root .tgp-ros-dd__thumb--wave i:nth-child(1) { left: 10%; top: 30%; width: 3px; height: 40%; background: #d7ff4f; box-shadow: 8px 6px 0 #d7ff4f88, 16px -4px 0 #d7ff4f, 24px 8px 0 #d7ff4f66, 32px 0 0 #d7ff4f, 40px 10px 0 #d7ff4f88, 48px -2px 0 #d7ff4f, 56px 6px 0 #d7ff4f77, 64px 2px 0 #d7ff4f; }
#tgp-ros-root .tgp-ros-dd__thumb--paper { background: #f2eee6; }
#tgp-ros-root .tgp-ros-dd__thumb--paper i:nth-child(1) { left: 12%; top: 20%; width: 76%; height: 22%; border-radius: 5px; background: #fff; box-shadow: 0 2px 6px #0002; }
#tgp-ros-root .tgp-ros-dd__thumb--paper i:nth-child(2) { left: 12%; bottom: 18%; width: 40%; height: 12%; border-radius: 99px; background: #17151f; }
#tgp-ros-root .tgp-ros-dd__thumb--neon { background: #08080c; }
#tgp-ros-root .tgp-ros-dd__thumb--neon i:nth-child(1) { left: 10%; top: 16%; width: 80%; height: 30%; border-radius: 6px; border: 1.5px solid #d7ff4f; box-shadow: 0 0 8px #d7ff4f66; }
#tgp-ros-root .tgp-ros-dd__thumb--neon i:nth-child(2) { left: 10%; bottom: 14%; width: 80%; height: 26%; border-radius: 6px; border: 1.5px solid #d7ff4f88; }
#tgp-ros-root .tgp-ros-dd__thumb--orbit { background: #0e0d13; }
#tgp-ros-root .tgp-ros-dd__thumb--orbit i:nth-child(1) { left: 50%; top: 46%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: conic-gradient(#5b4b86, #8d7ab5, #5b4b86); box-shadow: 0 0 0 4px #ffffff11; }
#tgp-ros-root .tgp-ros-dd__thumb--chrome { background: linear-gradient(180deg, #1c2230, #0d1017); }
#tgp-ros-root .tgp-ros-dd__thumb--chrome i:nth-child(1) { left: 10%; top: 20%; width: 60%; height: 14%; border-radius: 3px; background: linear-gradient(180deg, #ffffff, #7e8ca0); }
#tgp-ros-root .tgp-ros-dd__thumb--chrome i:nth-child(2) { left: 10%; top: 46%; width: 80%; height: 26%; border-radius: 6px; background: #1a2130; border: 1px solid #9db2ce44; }
#tgp-ros-root .tgp-ros-dd__thumb--velvet { background: linear-gradient(180deg, #2a0812, #14040a); }
#tgp-ros-root .tgp-ros-dd__thumb--velvet i:nth-child(1) { left: 12%; top: 26%; width: 55%; height: 16%; border-radius: 3px; background: #e0b973; transform: skewX(-8deg); }
#tgp-ros-root .tgp-ros-dd__thumb--velvet i:nth-child(2) { left: 12%; top: 54%; width: 74%; height: 22%; border-radius: 5px; background: #2c0a15; border: 1px solid #e0b97333; }
#tgp-ros-root .tgp-ros-dd__thumb--terminal { background: #030503; }
#tgp-ros-root .tgp-ros-dd__thumb--terminal i:nth-child(1) { left: 8%; top: 18%; width: 50%; height: 9%; border-radius: 2px; background: #4ade80; }
#tgp-ros-root .tgp-ros-dd__thumb--terminal i:nth-child(2) { left: 8%; top: 38%; width: 70%; height: 5%; border-radius: 2px; background: #14532d; }
#tgp-ros-root .tgp-ros-dd__thumb--terminal i:nth-child(3) { left: 8%; top: 52%; width: 82%; height: 30%; border-radius: 3px; background: transparent; border: 1px solid #4ade8055; }
#tgp-ros-root .tgp-ros-dd__thumb--sunset { background: linear-gradient(160deg, #1c0a2e, #7c2d12 75%, #b45309); }
#tgp-ros-root .tgp-ros-dd__thumb--sunset i:nth-child(1) { left: 12%; top: 30%; width: 76%; height: 40%; border-radius: 7px; background: #12081877; border: 1px solid #ffffff22; }
#tgp-ros-root .tgp-ros-dd__thumb--split { background: #101014; }
#tgp-ros-root .tgp-ros-dd__thumb--split i:nth-child(1) { left: 10%; top: 20%; width: 62%; height: 42%; border-radius: 6px; background: #17171d; border: 2px solid #e9e9ee; box-shadow: 5px 5px 0 #ff4d6d; }
#tgp-ros-root .tgp-ros-dd__thumb--split i:nth-child(2) { left: 10%; bottom: 10%; width: 40%; height: 14%; border-radius: 4px; background: #e9e9ee; }

/* Accent dot + share card + preview toolbar (builder v2). */
#tgp-ros-root .tgp-ros-dd__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-left: 7px; vertical-align: baseline; }
#tgp-ros-root .tgp-ros-dd__sub { margin: 4px 0 0; font-size: 12px; line-height: 1.55; color: var(--tgp-text-dim, #a1a1aa); max-width: 640px; }
#tgp-ros-root .tgp-ros-dd__sharecard { grid-column: 1 / -1; }
#tgp-ros-root .tgp-ros-dd__sharerow { display: flex; gap: 10px; margin-top: 14px; max-width: 520px; }
#tgp-ros-root .tgp-ros-dd__sharerow .tgp-field { flex: 1; min-width: 0; }
#tgp-ros-root .tgp-ros-dd__links { margin-top: 6px; }
#tgp-ros-root .tgp-ros-dd__link { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--tgp-border, rgba(255,255,255,.07)); }
#tgp-ros-root .tgp-ros-dd__link:first-child { margin-top: 12px; }
#tgp-ros-root .tgp-ros-dd__linkname { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--tgp-text, #e4e4e7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tgp-ros-root .tgp-ros-dd__linkstats { flex: 0 0 auto; font-size: 10.5px; color: #8b8b93; letter-spacing: .04em; }
#tgp-ros-root .tgp-ros-dd__linkbtns { flex: 0 0 auto; display: inline-flex; gap: 8px; }
#tgp-ros-root .tgp-ros-dd__linkbtn { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14); background: none; color: var(--tgp-text, #e4e4e7); font-size: 11.5px; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; transition: border-color .15s ease; }
#tgp-ros-root .tgp-ros-dd__linkbtn:hover { border-color: rgba(255,255,255,.3); text-decoration: none; }
#tgp-ros-root .tgp-ros-dd__framehead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#tgp-ros-root .tgp-ros-dd__prevsel { max-width: 240px; font-size: 12.5px !important; padding: 8px 10px !important; }
#tgp-ros-root .tgp-ros-dd__framebox { position: relative; }
#tgp-ros-root .tgp-ros-dd__loading {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	background: rgba(10, 10, 14, 0.45);
	border-radius: 16px;
	opacity: 0; pointer-events: none;
	transition: opacity 0.15s ease;
}
#tgp-ros-root .tgp-ros-dd__framebox.is-loading .tgp-ros-dd__loading { opacity: 1; }
#tgp-ros-root .tgp-ros-dd__loading span {
	width: 30px; height: 30px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.2);
	border-top-color: #a855f7;
	animation: tgpRosDdSpin 0.7s linear infinite;
}
@keyframes tgpRosDdSpin { to { transform: rotate(360deg); } }
@media ( max-width: 700px ) {
	#tgp-ros-root .tgp-ros-dd__link { flex-wrap: wrap; gap: 6px 12px; }
	#tgp-ros-root .tgp-ros-dd__linkbtns { margin-left: auto; }
}
#tgp-ros-root .tgp-ros-dd__row { display: flex; flex-direction: column; gap: 12px; }
#tgp-ros-root .tgp-ros-dd__opt { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); cursor: pointer; }
#tgp-ros-root .tgp-ros-dd__opt strong { color: var(--tgp-text, #e4e4e7); font-size: 12.5px; }
/* Theme input resets stretch color/radio inputs — pin their geometry hard. */
#tgp-ros-root .tgp-ros-dd__color {
	width: 46px !important; height: 30px !important;
	min-height: 0 !important; max-width: 46px !important;
	flex: 0 0 auto !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	border-radius: 8px !important;
	padding: 2px !important;
	background: transparent !important;
	box-shadow: none !important;
	cursor: pointer;
	appearance: auto;
}
#tgp-ros-root .tgp-ros-dd__color::-webkit-color-swatch-wrapper { padding: 0; }
#tgp-ros-root .tgp-ros-dd__color::-webkit-color-swatch { border: 0; border-radius: 5px; }
/* Color-mode options are selectable cards — the native radio is hidden. */
#tgp-ros-root .tgp-ros-dd__optcard {
	position: relative;
	display: flex; align-items: center; gap: 10px;
	padding: 12px 46px 12px 14px;
	border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.02);
	cursor: pointer;
	font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa);
	transition: border-color 0.15s ease, background 0.15s ease;
}
#tgp-ros-root .tgp-ros-dd__optcard:hover { border-color: rgba(255, 255, 255, 0.2); }
#tgp-ros-root .tgp-ros-dd__optcard strong { color: var(--tgp-text, #e4e4e7); font-size: 12.5px; }
#tgp-ros-root .tgp-ros-dd__optcard > span { flex: 1; min-width: 0; line-height: 1.5; }
#tgp-ros-root .tgp-ros-dd__optcard input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
#tgp-ros-root .tgp-ros-dd__optcard::after {
	content: '';
	position: absolute; right: 14px; top: 50%; margin-top: -8px;
	width: 16px; height: 16px; border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.28);
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
#tgp-ros-root .tgp-ros-dd__optcard:has(input:checked) { border-color: rgba(168, 85, 247, 0.6); background: rgba(124, 58, 237, 0.08); }
#tgp-ros-root .tgp-ros-dd__optcard:has(input:checked)::after { border-color: #a855f7; background: #a855f7; box-shadow: inset 0 0 0 3.5px #17131f; }

/* Grain + section visibility use pill switches instead of raw checkboxes. */
#tgp-ros-root .tgp-ros-dd__opt input[type="checkbox"],
#tgp-ros-root .tgp-ros-dd__show input[type="checkbox"] {
	appearance: none !important; -webkit-appearance: none !important;
	width: 34px !important; height: 20px !important; min-height: 0 !important;
	flex: 0 0 auto; margin: 0 !important; padding: 0 !important;
	border-radius: 999px !important;
	border: 1px solid rgba(255, 255, 255, 0.16) !important;
	background: #26262e !important;
	position: relative; cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease;
	box-shadow: none !important;
}
#tgp-ros-root .tgp-ros-dd__opt input[type="checkbox"]::before,
#tgp-ros-root .tgp-ros-dd__show input[type="checkbox"]::before {
	content: '';
	position: absolute; top: 2px; left: 2px;
	width: 14px; height: 14px; border-radius: 50%;
	background: #8b8b93;
	transition: transform 0.18s ease, background 0.18s ease;
}
#tgp-ros-root .tgp-ros-dd__opt input[type="checkbox"]:checked,
#tgp-ros-root .tgp-ros-dd__show input[type="checkbox"]:checked { background: #7c3aed !important; border-color: #7c3aed !important; }
#tgp-ros-root .tgp-ros-dd__opt input[type="checkbox"]:checked::before,
#tgp-ros-root .tgp-ros-dd__show input[type="checkbox"]:checked::before { transform: translateX(14px); background: #ffffff; }
#tgp-ros-root .tgp-ros-dd__opt > span { flex: 1; min-width: 0; line-height: 1.5; }
#tgp-ros-root .tgp-ros-dd__sections { display: flex; flex-direction: column; }
#tgp-ros-root .tgp-ros-dd__section {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 11px 2px;
	border-top: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
}
#tgp-ros-root .tgp-ros-dd__secname { font-size: 13px; font-weight: 600; color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-dd__secbtns { display: flex; align-items: center; gap: 6px; }
#tgp-ros-root .tgp-ros-dd__mv {
	width: 28px; height: 28px;
	display: inline-flex !important; align-items: center; justify-content: center;
	border: 1px solid var(--tgp-border-strong, rgba(255, 255, 255, 0.16)) !important;
	border-radius: 8px !important;
	background: transparent !important;
	color: var(--tgp-text-dim, #a1a1aa) !important;
	font-size: 13px !important;
	cursor: pointer;
	padding: 0 !important;
}
#tgp-ros-root .tgp-ros-dd__mv:hover { color: #fff !important; border-color: rgba(255, 255, 255, 0.35) !important; }
#tgp-ros-root .tgp-ros-dd__show { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--tgp-text-faint, #71717a); cursor: pointer; }
#tgp-ros-root .tgp-ros-dd__savebar { display: flex; align-items: center; gap: 12px; }
#tgp-ros-root .tgp-ros-dd__status { font-size: 12px; color: #86efac; }
#tgp-ros-root .tgp-ros-dd__previewwrap { position: sticky; top: 90px; min-width: 0; }
#tgp-ros-root .tgp-ros-dd__framehead { margin-bottom: 8px; }
#tgp-ros-root .tgp-ros-dd__frame {
	width: 100%; height: 78vh; border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.08));
	border-radius: 16px; background: #0d0b13;
}
#tgp-ros-root .tgp-ros-dd__noprev p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--tgp-text-dim, #a1a1aa); }
@media ( max-width: 1000px ) {
	#tgp-ros-root .tgp-ros-dd__layout { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-dd__previewwrap { position: static; }
	#tgp-ros-root .tgp-ros-dd__frame { height: 60vh; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MODERN GLOW LAYER (0.122.7) — the glassy neon accent language from the
   learn cards, applied to shared primitives on every view. Accents only:
   status, progress, focus. Never body copy, never whole cards.
   ═══════════════════════════════════════════════════════════════════════ */

/* Status chips: glowing dot + tinted fill (reference: Pending/Success set). */
#tgp-ros-root .tgp-ros-adstatus { display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent; }
#tgp-ros-root .tgp-ros-adstatus::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
#tgp-ros-root .tgp-ros-adstatus.is-live { border-color: rgba(52, 211, 153, 0.3); }
#tgp-ros-root .tgp-ros-adstatus.is-paused { border-color: rgba(251, 191, 36, 0.28); }

/* Toasts: tinted border + faint matching bloom by type. */
#tgp-ros-root .tgp-ros-toast.is-success { border-color: rgba(74, 222, 128, 0.35); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5); }
#tgp-ros-root .tgp-ros-toast.is-error { border-color: rgba(248, 113, 113, 0.35); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5); }
#tgp-ros-root .tgp-ros-toast.is-info { border-color: rgba(192, 132, 252, 0.35); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5); }

/* (v2: tile auras removed — surfaces stay clean.) */

/* Nav states: the original quiet surface pill — no underlines, no glows.
   The grouplabel base rule sets background:none at higher specificity, so
   the active pill needs an equally specific restatement. */
#tgp-ros-root .tgp-ros-subnav__item.is-active,
#tgp-ros-root .tgp-ros-subnav__grouplabel.is-active { background: var(--tgp-surface-high, #18181b) !important; color: var(--tgp-text, #f4f4f5) !important; border-radius: 999px !important; }
#tgp-ros-root .tgp-ros-subnav__dropitem:hover { background: rgba(255, 255, 255, 0.06) !important; color: #ffffff !important; }
#tgp-ros-root .tgp-ros-subnav__dropitem.is-active { background: rgba(255, 255, 255, 0.09) !important; color: #ffffff !important; }

/* Empty-state icons: same glass-tile-with-blob as the learn cards. */
#tgp-ros-root .tgp-empty__icon { position: relative; overflow: hidden; background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.09); color: rgba(255, 255, 255, 0.85); }
#tgp-ros-root .tgp-empty__icon::before { content: ""; position: absolute; left: 6px; bottom: 3px; width: 26px; height: 26px; border-radius: 50%; background: #a855f7; filter: blur(14px); opacity: 0.95; }
#tgp-ros-root .tgp-empty__icon::after { content: ""; position: absolute; right: 4px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: #ec4899; filter: blur(12px); opacity: 0.6; }
#tgp-ros-root .tgp-empty__icon svg { position: relative; z-index: 1; }


/* Campaign timeline + website-launch pills join the glowing-dot family. */
#tgp-ros-root .tgp-ros-cmptl__pill.is-done,
#tgp-ros-root .tgp-ros-cmptl__pill.is-active,
#tgp-ros-root .tgp-ros-cmptl__pill.is-due { position: relative; }


/* ═══ MODERN LAYER v2 (0.122.8) — visible, reference-matched ═══ */

/* Ambient auras: every page floats on soft color washes, like the refs. */
/* Gradient centers stay INSIDE the box — a center past the edge gets
   clipped into a hard line and visible corners. */
#tgp-ros-root {
	border-radius: 20px;
	/* Radii + anchors chosen so every ellipse fades to transparent well
	   inside the box on ALL sides — % positions on a tall page let the
	   ellipse cross the top/right edge and print a visible boundary. */
	background:
		radial-gradient(30% 280px at 66% 320px, rgba(168, 85, 247, 0.05), transparent 70%),
		radial-gradient(26% 260px at 20% 50%, rgba(236, 72, 153, 0.028), transparent 70%),
		radial-gradient(28% 280px at 72% calc(100% - 380px), rgba(96, 165, 250, 0.028), transparent 70%);
}

/* Cards: softer, deeper, more rounded — gradient surface + thin border. */
#tgp-ros-root .tgp-card {
	border-radius: 18px !important;
	background: linear-gradient(180deg, #17171b 0%, #121215 100%) !important;
	border: 1px solid rgba(255, 255, 255, 0.07) !important;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 14px 34px rgba(0, 0, 0, 0.25);
}

/* Metric/stat tiles: five-color accent cycle — glowing label dot, tinted
   corner aura, colored delta. Straight from the budget/energy widgets. */
#tgp-ros-root .tgp-ros-metric,
#tgp-ros-root .tgp-ros-stat { position: relative; overflow: hidden; border-radius: 15px; --mt-c: #a855f7; }
#tgp-ros-root .tgp-ros-metric:nth-child(5n+2), #tgp-ros-root .tgp-ros-stat:nth-child(5n+2) { --mt-c: #ec4899; }
#tgp-ros-root .tgp-ros-metric:nth-child(5n+3), #tgp-ros-root .tgp-ros-stat:nth-child(5n+3) { --mt-c: #60a5fa; }
#tgp-ros-root .tgp-ros-metric:nth-child(5n+4), #tgp-ros-root .tgp-ros-stat:nth-child(5n+4) { --mt-c: #34d399; }
#tgp-ros-root .tgp-ros-metric:nth-child(5n),   #tgp-ros-root .tgp-ros-stat:nth-child(5n)   { --mt-c: #fbbf24; }
/* No fog inside tiles — the refs keep surfaces clean; color lives in the
   dot and the delta only. */
#tgp-ros-root .tgp-ros-metric::after,
#tgp-ros-root .tgp-ros-stat::after { content: none !important; }
#tgp-ros-root .tgp-ros-metric__label,
#tgp-ros-root .tgp-ros-stat__label { display: inline-flex; align-items: center; gap: 6px; }
#tgp-ros-root .tgp-ros-metric__label::before,
#tgp-ros-root .tgp-ros-stat__label::before {
	content: ""; width: 5px; height: 5px; border-radius: 50%; flex: 0 0 auto;
	background: var(--mt-c);
}
#tgp-ros-root .tgp-ros-metric__value { font-size: 26px; }
/* Reference tiles have no top strips — clean surface, accent in the dot. */
.tgp-ros-stat::before { content: none !important; }

/* Primary actions: gradient fill + permanent soft glow. */
#tgp-ros-root .tgp-ros-btn--primary,
#tgp-ros-root .tgp-btn--primary {
	background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

/* Dropdown menus under the nav match the new card surface. */
#tgp-ros-root .tgp-ros-subnav__drop { border-radius: 14px; }

/* ═══ Analytics page overhaul (0.123.1) ═══ */

/* Metric-tile sparklines: the tile accent drives the stroke. */
#tgp-ros-root .tgp-ros-spark { display: block; width: 100%; max-width: 110px; height: 26px; margin-top: 8px; }
#tgp-ros-root .tgp-ros-spark polyline { stroke: var(--mt-c, #a855f7); opacity: 0.85; }

/* Chart: range pills, x-axis, hover guide + tooltip. */
#tgp-ros-root .tgp-ros-chart-range { display: inline-flex; gap: 4px; margin-left: auto; margin-right: 12px; }
#tgp-ros-root .tgp-ros-chart-range button { padding: 5px 12px; font-size: 11.5px; font-weight: 700; color: #a1a1aa; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 999px; cursor: pointer; }
#tgp-ros-root .tgp-ros-chart-range button.is-on { color: #e9d5ff; background: rgba(168, 85, 247, 0.16); border-color: rgba(168, 85, 247, 0.35); }
#tgp-ros-root .tgp-ros-chart__plot { position: relative; }
#tgp-ros-root .tgp-ros-chart__xaxis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10.5px; color: #71717a; }
#tgp-ros-root .tgp-ros-chart__guide { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.18); pointer-events: none; }
#tgp-ros-root .tgp-ros-chart__tip { position: absolute; transform: translate(10px, -120%); padding: 5px 10px; font-size: 11.5px; font-weight: 700; color: #f4f4f5; background: #1c1c21; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; white-space: nowrap; pointer-events: none; z-index: 2; }
#tgp-ros-root .tgp-ros-chart__tip.is-flip { transform: translate(calc(-100% - 10px), -120%); }

/* Milestones timeline: colored source dots on a rail. */
#tgp-ros-root .tgp-ros-mstl { list-style: none; margin: 0; padding: 0; position: relative; }
#tgp-ros-root .tgp-ros-mstl::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: rgba(255, 255, 255, 0.08); }
#tgp-ros-root .tgp-ros-mstl__item { position: relative; display: flex; gap: 14px; padding: 7px 0 7px 0; }
#tgp-ros-root .tgp-ros-mstl__dot { position: relative; z-index: 1; flex: 0 0 auto; width: 11px; height: 11px; margin-top: 4px; border-radius: 50%; background: var(--ms-c, #a855f7); border: 2px solid #131316; }
#tgp-ros-root .tgp-ros-mstl__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
#tgp-ros-root .tgp-ros-mstl__text { font-size: 13px; color: var(--tgp-text, #e4e4e7); line-height: 1.45; }
#tgp-ros-root .tgp-ros-mstl__meta { font-size: 11px; color: #8b8b93; }

/* Top playlists: relative reach bar under each name. */
#tgp-ros-root .tgp-ros-plrow__bar { display: block; width: 100%; max-width: 320px; height: 4px; margin-top: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
#tgp-ros-root .tgp-ros-plrow__bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7c3aed, #c084fc); }

/* Release performance rows: artwork, stat chips, relative stream bar. */
#tgp-ros-root .tgp-ros-perfrow { align-items: center; gap: 14px; }
#tgp-ros-root .tgp-ros-perfrow__art { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
#tgp-ros-root .tgp-ros-perfrow__art--empty { display: grid; place-items: center; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); color: #71717a; }
#tgp-ros-root .tgp-ros-perfrow__info { min-width: 0; }
#tgp-ros-root .tgp-ros-perfrow__bar { display: block; width: 100%; max-width: 260px; height: 4px; margin-top: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
#tgp-ros-root .tgp-ros-perfrow__bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7c3aed, #c084fc); }
#tgp-ros-root .tgp-ros-perfrow__stats { display: flex; gap: 16px; flex: 0 0 auto; align-items: baseline; }
#tgp-ros-root .tgp-ros-perfstat { display: inline-flex; align-items: baseline; gap: 4px; --ps-c: #a855f7; }
#tgp-ros-root .tgp-ros-perfstat.is-pl { --ps-c: #60a5fa; }
#tgp-ros-root .tgp-ros-perfstat.is-pop { --ps-c: #34d399; }
#tgp-ros-root .tgp-ros-perfstat::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ps-c); align-self: center; }
#tgp-ros-root .tgp-ros-perfstat b { font-size: 14px; font-weight: 700; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-perfstat small { font-size: 11px; color: #8b8b93; }
@media (max-width: 760px) {
	#tgp-ros-root .tgp-ros-perfrow { flex-wrap: wrap; }
	#tgp-ros-root .tgp-ros-perfrow__stats { width: 100%; padding-left: 58px; }
}

/* Instagram audit v2: score ring + bio review. */
#tgp-ros-root .tgp-ros-igaudit__top { display: flex; gap: 20px; align-items: center; margin-bottom: 14px; }
#tgp-ros-root .tgp-ros-igaudit__ring { position: relative; flex: 0 0 auto; width: 86px; height: 86px; }
#tgp-ros-root .tgp-ros-igaudit__ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 24px; font-weight: 800; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-igaudit__lead { min-width: 0; }
#tgp-ros-root .tgp-ros-igaudit__handle { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-igaudit__summary { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-igaudit__cadence { margin: 6px 0 0; font-size: 12.5px; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-igaudit__cadence span { color: #6ee7b7; font-weight: 700; }
#tgp-ros-root .tgp-ros-igaudit__bio { margin: 0 0 16px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; background: rgba(255, 255, 255, 0.02); }
#tgp-ros-root .tgp-ros-igaudit__bio blockquote { margin: 0 0 8px; padding: 8px 12px; border-left: 2px solid rgba(255, 255, 255, 0.15); font-size: 12.5px; color: #a1a1aa; white-space: pre-line; }
#tgp-ros-root .tgp-ros-igaudit__bio > p { margin: 0 0 10px; font-size: 13px; line-height: 1.55; color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-igaudit__biofix { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(168, 85, 247, 0.08); border: 1px solid rgba(168, 85, 247, 0.25); }
#tgp-ros-root .tgp-ros-igaudit__biofix span { flex: 1; font-size: 13px; color: #e9d5ff; line-height: 1.5; }


/* ═══ Studio release dropdown + distro ours-first (0.123.2) ═══ */
#tgp-ros-root .tgp-ros-rpdd { position: relative; display: inline-block; }
#tgp-ros-root .tgp-ros-rpdd__toggle { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.02); color: #d4d4d8; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .15s ease; }
#tgp-ros-root .tgp-ros-rpdd__toggle:hover { border-color: rgba(255, 255, 255, 0.32); }
#tgp-ros-root .tgp-ros-rpdd.is-picked .tgp-ros-rpdd__toggle { border-style: solid; border-color: rgba(168, 85, 247, 0.45); color: #f4f4f5; }
#tgp-ros-root .tgp-ros-rpdd__count { padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); font-size: 11px; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-rpdd__caret { color: #71717a; }
#tgp-ros-root .tgp-ros-rpdd__panel { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: 360px; max-width: 84vw; padding: 12px; border-radius: 14px; background: #17171b; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
#tgp-ros-root .tgp-ros-rpdd__tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
/* Search gets a full row of its own — the placeholder must never clip. */
#tgp-ros-root .tgp-ros-rpdd__tools input { flex: 1 1 100% !important; width: 100% !important; min-width: 0 !important; max-width: none !important; height: 38px; font-size: 13px; }
#tgp-ros-root .tgp-ros-rpdd__list { max-height: 320px; overflow-y: auto; display: block; padding-right: 2px; }
/* Fully self-contained rows — the chip base styling must not leak in. */
#tgp-ros-root .tgp-ros-rpdd__list .tgp-ros-rpdd__opt {
	display: flex !important; align-items: center !important; gap: 11px !important;
	width: 100% !important; min-height: 46px; margin: 0 0 2px !important; padding: 7px 10px !important;
	border: 0 !important; border-radius: 10px !important; background: transparent !important;
	box-shadow: none !important; text-align: left; cursor: pointer;
}
#tgp-ros-root .tgp-ros-rpdd__list .tgp-ros-rpdd__opt[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-rpdd__list .tgp-ros-rpdd__opt:hover { background: rgba(255, 255, 255, 0.06) !important; }
#tgp-ros-root .tgp-ros-rpdd__list .tgp-ros-rpdd__opt.is-active { background: rgba(168, 85, 247, 0.14) !important; }
#tgp-ros-root .tgp-ros-rpdd__list .tgp-ros-rpdd__opt .tgp-ros-relpick__thumb {
	flex: 0 0 auto !important; width: 32px !important; height: 32px !important;
	border-radius: 8px !important; object-fit: cover; display: grid; place-items: center;
	background: rgba(255, 255, 255, 0.05); margin: 0 !important;
}
#tgp-ros-root .tgp-ros-rpdd__list .tgp-ros-rpdd__opt .tgp-ros-relpick__name {
	flex: 1 1 auto !important; min-width: 0 !important; overflow: hidden; text-overflow: ellipsis;
	white-space: nowrap; font-size: 13px !important; font-weight: 600; color: #e4e4e7;
}
#tgp-ros-root .tgp-ros-rpdd__date { flex: 0 0 auto; font-size: 11px; color: #71717a; }
#tgp-ros-root .tgp-ros-rpdd__none { margin: 8px 4px; font-size: 12.5px; color: #8b8b93; }

#tgp-ros-root .tgp-ros-distro__ours { display: flex; align-items: center; gap: 16px; padding: 16px 18px; margin: 0 0 14px; border-radius: 14px; background: linear-gradient(120deg, rgba(124, 58, 237, 0.14), rgba(124, 58, 237, 0.04) 70%); border: 1px solid rgba(168, 85, 247, 0.3); }
#tgp-ros-root .tgp-ros-distro__oursicon { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); color: #d8b4fe; }
#tgp-ros-root .tgp-ros-distro__ourstext { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#tgp-ros-root .tgp-ros-distro__ourstext strong { font-size: 14.5px; color: #fafafa; }
#tgp-ros-root .tgp-ros-distro__ourstext > span { font-size: 12.5px; line-height: 1.55; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-distro__oursstatus { margin-top: 3px; font-size: 12px; font-weight: 700; color: #6ee7b7; }
#tgp-ros-root .tgp-ros-distro__manual { margin-top: 4px; }
#tgp-ros-root .tgp-ros-distro__manual > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #a1a1aa; padding: 6px 0; }
#tgp-ros-root .tgp-ros-distro__manual > summary::-webkit-details-marker { display: none; }
#tgp-ros-root .tgp-ros-distro__manual > summary::before { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); transition: transform .15s ease; }
#tgp-ros-root .tgp-ros-distro__manual[open] > summary::before { transform: rotate(45deg); }
#tgp-ros-root .tgp-ros-distro__manual > summary:hover { color: #e4e4e7; }
#tgp-ros-root .tgp-ros-distro__manual .tgp-ros-distro__note { margin-top: 10px; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-distro__ours { flex-wrap: wrap; }
	/* Bottom sheet: the inherited top:calc(100%+8px) put a fixed panel below
	   the viewport — pin to the bottom instead, always on screen. */
	#tgp-ros-root .tgp-ros-rpdd__panel { position: fixed; left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; max-width: none; z-index: 120; box-shadow: 0 -12px 50px rgba(0, 0, 0, 0.6); }
	#tgp-ros-root .tgp-ros-rpdd__list { max-height: 46vh; }
}

/* ═══ Analytics unlinked preview (0.123.3) ═══ */
#tgp-ros-root .tgp-ros-gpv__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: start; }
#tgp-ros-root .tgp-ros-gpv__h { margin: 0 0 6px; font-size: 19px; font-weight: 800; color: #fafafa; }
#tgp-ros-root .tgp-ros-gpv__sub { margin: 0 0 18px; font-size: 13.5px; line-height: 1.6; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-gpv__feats { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 13px; }
#tgp-ros-root .tgp-ros-gpv__feats li { display: flex; gap: 12px; }
#tgp-ros-root .tgp-ros-gpv__fico { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.09); color: rgba(255, 255, 255, 0.8); position: relative; overflow: hidden; }
#tgp-ros-root .tgp-ros-gpv__fico::before { content: ""; position: absolute; left: 2px; bottom: 0; width: 16px; height: 16px; border-radius: 50%; background: #a855f7; filter: blur(10px); opacity: 0.85; }
#tgp-ros-root .tgp-ros-gpv__fico svg { position: relative; z-index: 1; }
#tgp-ros-root .tgp-ros-gpv__feats b { display: block; font-size: 13.5px; color: #f4f4f5; margin-bottom: 1px; }
#tgp-ros-root .tgp-ros-gpv__feats span > span, #tgp-ros-root .tgp-ros-gpv__feats li > span:last-child { font-size: 12.5px; line-height: 1.55; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-gpv__steps { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.06); display: flex; gap: 18px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-gpv__steps li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-gpv__steps b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(168, 85, 247, 0.14); border: 1px solid rgba(168, 85, 247, 0.35); color: #d8b4fe; font-size: 10.5px; }
#tgp-ros-root .tgp-ros-gpv__mock { position: relative; padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.08); }
#tgp-ros-root .tgp-ros-gpv__mocktag { position: absolute; top: -9px; right: 14px; padding: 2px 10px; border-radius: 999px; background: #17171b; border: 1px solid rgba(255, 255, 255, 0.12); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #8b8b93; }
#tgp-ros-root .tgp-ros-gpv__mocktiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
#tgp-ros-root .tgp-ros-gpv__mt { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.07); font-size: 10.5px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-gpv__mt b { font-size: 17px; font-weight: 800; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-gpv__mt i { width: 5px; height: 5px; border-radius: 50%; background: var(--mt-c, #a855f7); margin: 1px 0 2px; }
#tgp-ros-root .tgp-ros-gpv__mockchart { display: block; width: 100%; height: 90px; margin-bottom: 14px; }
#tgp-ros-root .tgp-ros-gpv__mockms { display: flex; flex-direction: column; gap: 8px; }
#tgp-ros-root .tgp-ros-gpv__mockms span { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #d4d4d8; }
#tgp-ros-root .tgp-ros-gpv__mockms i { width: 8px; height: 8px; border-radius: 50%; background: var(--ms-c, #a855f7); border: 2px solid #131316; flex: 0 0 auto; }
#tgp-ros-root .tgp-ros-gpv__platforms { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
#tgp-ros-root .tgp-ros-gpv__plabel { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #71717a; margin-right: 4px; }
#tgp-ros-root .tgp-ros-gpv__pchip { padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #d4d4d8; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); }
@media (max-width: 860px) { #tgp-ros-root .tgp-ros-gpv__grid { grid-template-columns: 1fr; } }


/* ═══ Plan-post modal (0.123.3) ═══ */
#tgp-ros-root .tgp-ros-ctmodal { max-width: 560px; }
#tgp-ros-root .tgp-ros-ctmodal__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
#tgp-ros-root .tgp-ros-ctmodal__icon { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.09); color: rgba(255, 255, 255, 0.85); position: relative; overflow: hidden; }
#tgp-ros-root .tgp-ros-ctmodal__icon::before { content: ""; position: absolute; left: 3px; bottom: 1px; width: 20px; height: 20px; border-radius: 50%; background: #a855f7; filter: blur(12px); opacity: 0.9; }
#tgp-ros-root .tgp-ros-ctmodal__icon svg { position: relative; z-index: 1; }
#tgp-ros-root .tgp-ros-ctmodal__heading { flex: 1; min-width: 0; }
#tgp-ros-root .tgp-ros-ctmodal__heading .tgp-card__title { margin: 0; }
#tgp-ros-root .tgp-ros-ctmodal__sub { margin: 3px 0 0; font-size: 12.5px; line-height: 1.5; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-ctmodal__platforms { display: flex; flex-wrap: wrap; gap: 7px; }
#tgp-ros-root .tgp-ros-ctmodal__pf { padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #a1a1aa; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); cursor: pointer; transition: all .13s ease; }
#tgp-ros-root .tgp-ros-ctmodal__pf:hover { color: #f4f4f5; border-color: rgba(255, 255, 255, 0.22); }
#tgp-ros-root .tgp-ros-ctmodal__pf.is-on { color: #e9d5ff; background: rgba(168, 85, 247, 0.12); border-color: rgba(168, 85, 247, 0.45); }
#tgp-ros-root .tgp-ros-ctmodal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }

/* Search-field clear button: the native blue "x" becomes a quiet gray one
   that brightens on hover (WebKit; Firefox shows none at all). */
#tgp-ros-root input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
	width: 15px;
	height: 15px;
	margin-right: 2px;
	cursor: pointer;
	background: #8b8b93;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.3 13.3-1.4 1.4L12 13.4l-2.9 2.9-1.4-1.4 2.9-2.9-2.9-2.9 1.4-1.4 2.9 2.9 2.9-2.9 1.4 1.4-2.9 2.9 2.9 2.9z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.3 13.3-1.4 1.4L12 13.4l-2.9 2.9-1.4-1.4 2.9-2.9-2.9-2.9 1.4-1.4 2.9 2.9 2.9-2.9 1.4 1.4-2.9 2.9 2.9 2.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}
#tgp-ros-root input[type="search"]::-webkit-search-cancel-button:hover { background: #f4f4f5; }


/* ═══ Release-dropdown segmented sort (0.123.7) ═══ */
#tgp-ros-root .tgp-ros-rpdd__sortseg { flex: 0 0 auto; display: inline-flex; align-items: stretch; padding: 3px; gap: 2px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09); }
#tgp-ros-root .tgp-ros-rpdd__sortbtn { display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; font-size: 11px; font-weight: 700; color: #8b8b93; cursor: pointer; transition: all .12s ease; }
#tgp-ros-root .tgp-ros-rpdd__sortbtn:hover { color: #e4e4e7; }
#tgp-ros-root .tgp-ros-rpdd__sortbtn.is-on { color: #f4f4f5; background: rgba(255, 255, 255, 0.09); }

/* ═══ Milestone cards v2 (0.124.3) — linked, platform-tinted ═══ */
#tgp-ros-root .tgp-ros-mstl2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#tgp-ros-root .tgp-ros-mstl2__card { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.02); text-decoration: none; --ms-c: #a855f7; transition: border-color .14s ease, transform .14s ease; }
#tgp-ros-root a.tgp-ros-mstl2__card:hover { border-color: color-mix(in srgb, var(--ms-c) 55%, transparent); transform: translateY(-1px); text-decoration: none; }
#tgp-ros-root .tgp-ros-mstl2__dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--ms-c); }
#tgp-ros-root .tgp-ros-mstl2__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#tgp-ros-root .tgp-ros-mstl2__body b { font-size: 13px; font-weight: 600; color: #e4e4e7; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#tgp-ros-root .tgp-ros-mstl2__meta { font-size: 11px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-mstl2__count { flex: 0 0 auto; text-align: right; }
#tgp-ros-root .tgp-ros-mstl2__count b { display: block; font-size: 14.5px; font-weight: 800; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-mstl2__count small { font-size: 9px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #8b8b93; }
#tgp-ros-root .tgp-ros-mstl2__arrow { flex: 0 0 auto; color: #71717a; transition: color .14s ease; }
#tgp-ros-root a.tgp-ros-mstl2__card:hover .tgp-ros-mstl2__arrow { color: var(--ms-c); }
#tgp-ros-root .tgp-ros-mstl2--compact { grid-template-columns: 1fr; gap: 8px; }
#tgp-ros-root .tgp-ros-mstl2--compact .tgp-ros-mstl2__card { padding: 10px 13px; }
#tgp-ros-root .tgp-ros-dashms__all { font-size: 12.5px; font-weight: 700; color: #c084fc; text-decoration: none; }
#tgp-ros-root .tgp-ros-dashms__all:hover { color: #ffffff; text-decoration: none; }
@media (max-width: 820px) { #tgp-ros-root .tgp-ros-mstl2 { grid-template-columns: 1fr; } }
#tgp-ros-root .tgp-ros-mstl2__ava { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid color-mix(in srgb, var(--ms-c) 55%, transparent); }


/* ═══ Milestones: action icons + dashboard grid fill (0.124.5) ═══ */
#tgp-ros-root .tgp-ros-mstl2__vis { position: relative; flex: 0 0 auto; width: 30px; height: 30px; }
#tgp-ros-root .tgp-ros-mstl2__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--ms-c); background: color-mix(in srgb, var(--ms-c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--ms-c) 30%, transparent); }
#tgp-ros-root .tgp-ros-mstl2__badge { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: var(--ms-c); background: #131316; border: 1px solid color-mix(in srgb, var(--ms-c) 45%, transparent); }
/* The compact milestones card runs tall beside the score + next-release
   cards — no dead grid cell. */
#tgp-ros-root .tgp-ros-dashms { grid-row: span 2; display: flex; flex-direction: column; }
#tgp-ros-root .tgp-ros-dashms .tgp-ros-mstl2--compact { flex: 1; align-content: start; }
#tgp-ros-root .tgp-ros-msmore { display: block; margin: 14px auto 0; }
#tgp-ros-root .tgp-ros-mstl2__sub { margin: -6px 0 14px; font-size: 12.5px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-biolinks__sochint { margin: 2px 0 8px; font-size: 11.5px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-biolinks__socials { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; margin-bottom: 6px; }
#tgp-ros-root .tgp-ros-biolinks__socrow { display: flex; flex-direction: column; gap: 3px; }
#tgp-ros-root .tgp-ros-biolinks__socrow span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #8b8b93; }
#tgp-ros-root .tgp-ros-biolinks__socrow input { height: 34px; font-size: 12px; }
@media (max-width: 640px) { #tgp-ros-root .tgp-ros-biolinks__socials { grid-template-columns: 1fr; } }

/* Activity toolbar: search · track · sort · type chips (0.124.8). */
#tgp-ros-root .tgp-ros-msbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
#tgp-ros-root .tgp-ros-msbar__search { flex: 1 1 200px !important; min-width: 160px !important; width: auto !important; max-width: 300px !important; height: 36px; font-size: 12.5px; }
#tgp-ros-root .tgp-ros-msbar__track { flex: 0 0 auto !important; width: 160px !important; min-width: 0 !important; height: 36px; font-size: 12px; padding: 0 10px; }
#tgp-ros-root .tgp-ros-msbar__types { display: inline-flex; flex-wrap: wrap; gap: 5px; }
#tgp-ros-root .tgp-ros-msbar__type { padding: 6px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #a1a1aa; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); cursor: pointer; transition: all .12s ease; }
#tgp-ros-root .tgp-ros-msbar__type:hover { color: #f4f4f5; border-color: rgba(255, 255, 255, 0.22); }
#tgp-ros-root .tgp-ros-msbar__type.is-on { color: #e9d5ff; background: rgba(168, 85, 247, 0.12); border-color: rgba(168, 85, 247, 0.45); }
#tgp-ros-root .tgp-ros-msbar__none { margin: 4px 0 10px; font-size: 12.5px; color: #8b8b93; }
@media (max-width: 700px) { #tgp-ros-root .tgp-ros-msbar__search { max-width: none !important; } }
#tgp-ros-root .tgp-ros-mgr__bubblelink { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 11.5px; font-weight: 700; color: #c4b5fd; text-decoration: none; }
#tgp-ros-root .tgp-ros-mgr__bubblelink:hover { color: #ffffff; text-decoration: none; }

/* ═══ Typing dots · chat skeleton · activity share (0.125.1) ═══ */
#tgp-ros-root .tgp-ros-typing { display: inline-flex; gap: 5px; padding: 2px 0; }
#tgp-ros-root .tgp-ros-typing i { width: 7px; height: 7px; border-radius: 50%; background: #a78bfa; animation: tgpRosTypingDot 1.1s ease-in-out infinite; }
#tgp-ros-root .tgp-ros-typing i:nth-child(2) { animation-delay: 0.15s; }
#tgp-ros-root .tgp-ros-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tgpRosTypingDot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-5px); opacity: 1; } }
#tgp-ros-root .tgp-ros-mgr__skel { display: flex; flex-direction: column; gap: 10px; padding: 4px 0; }
#tgp-ros-root .tgp-ros-mgr__skel span { display: block; height: 34px; border-radius: 12px; background: linear-gradient(100deg, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 70%); background-size: 220% 100%; animation: tgpRosSkelShimmer 1.3s linear infinite; }
#tgp-ros-root .tgp-ros-mgr__skel span:nth-child(1) { width: 72%; }
#tgp-ros-root .tgp-ros-mgr__skel span:nth-child(2) { width: 52%; align-self: flex-end; }
#tgp-ros-root .tgp-ros-mgr__skel span:nth-child(3) { width: 64%; }
@keyframes tgpRosSkelShimmer { from { background-position: 200% 0; } to { background-position: -20% 0; } }
#tgp-ros-root .tgp-ros-mstl2__share { flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #71717a; cursor: pointer; transition: color .13s ease, background .13s ease; }
#tgp-ros-root .tgp-ros-mstl2__share:hover { color: #f4f4f5; background: rgba(255, 255, 255, 0.07); }
/* The chooser is appended to <body> — its rules must NOT be scoped to
   #tgp-ros-root or it renders unstyled at the page bottom. */
.tgp-ros-msshare-menu { position: fixed; z-index: 9999; display: flex; flex-direction: column; gap: 2px; padding: 6px; width: 150px; border-radius: 12px; background: #1c1c21; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); font-family: 'Inter', sans-serif; }
.tgp-ros-msshare-menu button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; background: none; text-align: left; font-size: 12.5px; font-weight: 600; color: #d4d4d8; cursor: pointer; font-family: inherit; }
.tgp-ros-msshare-menu button:hover { background: rgba(168, 85, 247, 0.14); color: #ffffff; }

/* Milestone loading skeletons (0.126.4): shimmer card stubs while pages
   fetch — the grid itself signals that more results are coming. */
#tgp-ros-root .tgp-ros-msskel { display: contents; }
#tgp-ros-root .tgp-ros-msskel span { display: block; height: 66px; border-radius: 12px; background: linear-gradient(100deg, rgba(255,255,255,0.03) 30%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 70%); background-size: 220% 100%; animation: tgpRosSkelShimmer 1.2s linear infinite; }
#tgp-ros-root .tgp-ros-msskel span:nth-child(2) { animation-delay: .12s; }
#tgp-ros-root .tgp-ros-msskel span:nth-child(3) { animation-delay: .24s; }
#tgp-ros-root .tgp-ros-msskel span:nth-child(4) { animation-delay: .36s; }
#tgp-ros-root .tgp-ros-msmore .tgp-ros-spinner { width: 13px; height: 13px; border-width: 2px; vertical-align: -2px; margin-right: 6px; }

/* ── 0.127.0: assistant chat — proper mobile sheet ─────────────────────
   The panel had NO mobile rules: it stayed a 388px absolute popup hanging
   off the FAB. On phones it becomes a fixed full-width bottom sheet;
   dvh units track the on-screen keyboard so the input never hides. */
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-mgr__panel {
		position: fixed; left: 0; right: 0; bottom: 0; top: auto;
		width: auto; max-width: none;
		height: min(84dvh, 620px); max-height: calc(100dvh - 10px);
		border-radius: 22px 22px 0 0;
		padding-bottom: env(safe-area-inset-bottom, 0px);
		z-index: 140;
	}
	/* Log flexes to fill the sheet instead of the fixed 320px/46vh height. */
	#tgp-ros-root .tgp-ros-mgr__log { flex: 1 1 auto; height: auto; min-height: 0; }
	/* The FAB sits exactly where the input row lands — hide it while open;
	   the × in the sheet head closes. */
	#tgp-ros-root .tgp-ros-mgr.is-open .tgp-ros-mgr__fab { visibility: hidden; }
	/* 16px stops iOS Safari from zoom-jumping into the field. */
	#tgp-ros-root .tgp-ros-mgr__inputrow .tgp-field { font-size: 16px !important; }
	/* Hints wrap tight so they don't eat the log's space. */
	#tgp-ros-root .tgp-ros-mgr__hints { max-height: 96px; overflow-y: auto; }
}

/* ── 0.127.0: mobile nav dropdowns — JS toggle owns them on touch ──────
   :hover/:focus-within openers desynced from .is-open on tap (panel shown
   by focus but positioned absolute inside the clipped scroll bar =
   "nothing happens"). Below 900px only .is-open may show the panel. */
@media (max-width: 900px) {
	#tgp-ros-root .tgp-ros-subnav__group:hover:not(.is-open) .tgp-ros-subnav__drop,
	#tgp-ros-root .tgp-ros-subnav__group:focus-within:not(.is-open) .tgp-ros-subnav__drop { visibility: hidden; opacity: 0; }
	#tgp-ros-root .tgp-ros-subnav__group.is-open .tgp-ros-subnav__drop { visibility: visible; opacity: 1; transition-delay: 0s; }
}

/* ── 0.127.0: Track-performance modal — phone layout ───────────────────
   Desktop paddings (26/28) ate a third of a 375px screen and the action
   row (2 CTAs + 2 share buttons) overflowed. Compact hero, tighter body,
   actions stack; share buttons get their own full-width row. */
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-statsmodal__hero { padding: 16px 16px 14px; gap: 12px; }
	#tgp-ros-root .tgp-ros-statsmodal__art { width: 52px; height: 52px; border-radius: 11px; }
	#tgp-ros-root .tgp-ros-statsmodal__title { font-size: 18px; line-height: 1.25; }
	#tgp-ros-root .tgp-ros-statsmodal__body { padding: 14px 16px 4px; }
	#tgp-ros-root .tgp-ros-statsmodal__heroes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	#tgp-ros-root .tgp-ros-statsmodal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	#tgp-ros-root .tgp-ros-statsmodal__extra { padding: 0 16px; }
	#tgp-ros-root .tgp-ros-statsmodal__actions { padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
	#tgp-ros-root .tgp-ros-statsmodal__actions .tgp-ros-btn { flex: 1 1 calc(50% - 4px); justify-content: center; }
	#tgp-ros-root .tgp-ros-statsmodal__share { margin-left: 0; width: 100%; display: flex; }
	#tgp-ros-root .tgp-ros-statsmodal__share .tgp-ros-btn { flex: 1 1 0; }
}

/* ── 0.127.0: rpdd picker inside the Pitch hub matchbar ── */
#tgp-ros-root .tgp-ros-pitchdir__matchbar .tgp-ros-rpdd { flex: 1 1 220px; max-width: 360px; min-width: 0; }
#tgp-ros-root .tgp-ros-rpdd--pitch .tgp-ros-rpdd__toggle { width: 100%; max-width: 100%; }
#tgp-ros-root .tgp-ros-rpdd--pitch .tgp-ros-rpdd__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 auto; text-align: left; }

/* ── 0.127.0: Pitch hub mobile overhaul ────────────────────────────────
   Fixes from user feedback: selection bar clashed with the assistant orb
   and its count/button collided; multi-select was impossible on phones
   (checkboxes were display:none ≤640); pipeline + directory rows were
   a cramped mess on small screens. */
@media (max-width: 640px) {
	/* Multi-select works on phones too — checkboxes back on. */
	#tgp-ros-root .tgp-ros-pdrow__check { display: block; }

	/* Selection bar: full-width strip that stops short of the assistant
	   FAB (right 84px clears the scaled orb), count and CTA never collide. */
	#tgp-ros-root .tgp-ros-selbar,
	.tgp-ros-selbar {
		left: 10px; right: 84px; bottom: calc(14px + var(--tgp-mgr-lift, 0px)); transform: none;
		justify-content: space-between; gap: 10px;
		padding: 8px 10px 8px 14px;
		/* The desktop slide-in keyframes bake in the centering translate —
		   on the edge-pinned mobile layout they'd flash the bar off-screen. */
		animation: none;
	}
	#tgp-ros-root .tgp-ros-selbar__count { font-size: 12px; white-space: nowrap; flex: 0 0 auto; }
	#tgp-ros-root .tgp-ros-selbar [data-ros-selbar-pitch] { flex: 1 1 auto; justify-content: center; white-space: nowrap; min-width: 0; }
	#tgp-ros-root .tgp-ros-selbar__clear { flex: 0 0 auto; }

	/* Matchbar: label on its own line, picker takes the full width. */
	#tgp-ros-root .tgp-ros-pitchdir__matchbar { flex-wrap: wrap; row-gap: 8px; }
	#tgp-ros-root .tgp-ros-pitchdir__matchbar .tgp-ros-rpdd { flex: 1 1 100%; max-width: 100%; }

	/* Directory rows: readable two-line meta, full-width action buttons. */
	#tgp-ros-root .tgp-ros-pdrow { padding: 12px 10px; }
	#tgp-ros-root .tgp-ros-pdrow__meta { white-space: normal; }
	#tgp-ros-root .tgp-ros-pdrow__stats,
	#tgp-ros-root .tgp-ros-pdrow__community { display: block; margin: 3px 0 0; }
	#tgp-ros-root .tgp-ros-pdrow__side { gap: 8px; }
	#tgp-ros-root .tgp-ros-pdrow__side .tgp-ros-btn { flex: 1 1 auto; justify-content: center; }

	/* Pipeline rows: pitch CTA full-width, status + follow-up share a row,
	   delete tucks into the corner instead of jostling the controls. */
	#tgp-ros-root .tgp-ros-labelrow { position: relative; padding-right: 38px; }
	#tgp-ros-root .tgp-ros-labelrow__controls { width: 100%; flex-wrap: wrap; gap: 8px; margin-left: 0; }
	#tgp-ros-root .tgp-ros-labelrow__pitch { flex: 1 1 100%; justify-content: center; }
	#tgp-ros-root .tgp-ros-labelrow__status { flex: 1 1 50%; max-width: none; min-width: 0; }
	#tgp-ros-root .tgp-ros-labelrow__followup { flex: 1 1 38%; max-width: none; min-width: 0; }
	#tgp-ros-root .tgp-ros-labelrow [data-ros-label-delete] { position: absolute; top: 12px; right: 4px; }
	#tgp-ros-root .tgp-ros-labelrow__info { min-width: 0; }
	#tgp-ros-root .tgp-ros-labelrow__name { overflow-wrap: anywhere; }

	/* Outcomes funnel: two steps per row instead of a squeezed strip. */
	#tgp-ros-root .tgp-ros-outcomes__funnel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* ── 0.127.0: "Made for you" rows restyled to the /my-feed/ tracklist ──
   Same tokens as tgp-feed's .tgpf-row: 46px art (radius 10), hover wash
   that bleeds past the padding, 13.5/600 titles, #9ca3af producer line,
   uppercase pill chips, OUTLINED price pill (no gradient), and the
   3-bar equalizer over the artwork while playing.
   !important on the buy pill: the global button reset out-specifies
   flat-color button styles (gradients survived, outlines don't). */
#tgp-ros-root .tgp-ros-mfrow { padding: 9px 10px; margin: 0 -10px; }
#tgp-ros-root .tgp-ros-mfrow + .tgp-ros-mfrow { border-top: 0; }
#tgp-ros-root .tgp-ros-mfrow:hover { background: rgba(255, 255, 255, .04); }
#tgp-ros-root .tgp-ros-mfrow__playwrap { width: 46px; height: 46px; border-radius: 12px !important; background: #222; }
#tgp-ros-root .tgp-ros-mfrow__playbtn { background: rgba(10, 10, 12, .55); }
#tgp-ros-root .tgp-ros-mfrow__eq { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 3px; background: rgba(10, 10, 12, .55); pointer-events: none; }
#tgp-ros-root .tgp-ros-mfrow__eq i { width: 3px; height: 10px; border-radius: 2px; background: #c4b5fd; transform-origin: center; animation: tgpRosMfEq .9s ease-in-out infinite; }
#tgp-ros-root .tgp-ros-mfrow__eq i:nth-child(2) { height: 16px; animation-delay: .22s; }
#tgp-ros-root .tgp-ros-mfrow__eq i:nth-child(3) { height: 7px; animation-delay: .44s; }
@keyframes tgpRosMfEq { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
#tgp-ros-root .tgp-ros-mfrow.is-playing .tgp-ros-mfrow__eq { display: flex; }
#tgp-ros-root .tgp-ros-mfrow.is-playing .tgp-ros-mfrow__playbtn { opacity: 0; }
#tgp-ros-root .tgp-ros-mfrow.is-playing:hover .tgp-ros-mfrow__playbtn { opacity: 1; }
#tgp-ros-root .tgp-ros-mfrow.is-playing:hover .tgp-ros-mfrow__eq { display: none; }
#tgp-ros-root .tgp-ros-mfrow__title { font-weight: 600; color: #fafafa; }
#tgp-ros-root .tgp-ros-mfrow__title:hover { color: #c4b5fd; }
#tgp-ros-root .tgp-ros-mfrow__sub { font-size: 12px; color: #9ca3af; }
#tgp-ros-root .tgp-ros-mfrow__chips span { border: 0; background: rgba(255, 255, 255, .06); color: #a1a1aa; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; }
#tgp-ros-root .tgp-ros-mfrow__buy { height: auto !important; padding: 8px 15px !important; border: 1px solid rgba(255, 255, 255, .14) !important; border-radius: 99px !important; background: transparent !important; color: #e4e4e7 !important; font-size: 13px !important; font-weight: 700 !important; box-shadow: none !important; }
#tgp-ros-root .tgp-ros-mfrow__buy:hover { background: rgba(255, 255, 255, .06) !important; filter: none; transform: none; }
#tgp-ros-root .tgp-ros-mfrow__buy.is-added { border-color: rgba(34, 197, 94, .45) !important; color: #4ade80 !important; background: transparent !important; }
#tgp-ros-root .tgp-ros-mfrow__buy.is-loading::before { border-color: rgba(255, 255, 255, .3); border-top-color: #e4e4e7; }

/* ── 0.127.0: Overview home head — date, greeting, ask-bar, quick-nav ── */
#tgp-ros-root .tgp-ros-pagehead--home { display: flex; flex-direction: column; gap: 14px; padding-bottom: 16px; }
#tgp-ros-root .tgp-ros-home__date { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #8b8b93; }
#tgp-ros-root .tgp-ros-home__greet { margin: 0; font-size: clamp(26px, 4.4vw, 34px); font-weight: 800; letter-spacing: -.02em; color: #f4f4f5; line-height: 1.15; }

/* Ask-bar: one pill straight into the assistant chat. */
#tgp-ros-root .tgp-ros-askbar { display: flex; align-items: center; gap: 10px; max-width: 620px; margin: 10px 0 6px; padding: 8px 8px 8px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .11); background: rgba(255, 255, 255, .035); transition: border-color .15s ease, background .15s ease; }
#tgp-ros-root .tgp-ros-askbar:focus-within { border-color: rgba(168, 85, 247, .55); background: rgba(255, 255, 255, .05); }
#tgp-ros-root .tgp-ros-askbar__spark { flex: none; color: #a78bfa; }
#tgp-ros-root .tgp-ros-askbar__input { flex: 1 1 auto; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: none !important; padding: 9px 0 !important; font-size: 14.5px; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-askbar__input::placeholder { color: #71717a; }
#tgp-ros-root .tgp-ros-askbar__mic,
#tgp-ros-root .tgp-ros-askbar__go { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0 !important; border-radius: 50% !important; cursor: pointer; transition: background .13s ease, color .13s ease; }
#tgp-ros-root .tgp-ros-askbar__mic { border: 0 !important; background: transparent !important; color: #a1a1aa !important; }
#tgp-ros-root .tgp-ros-askbar__mic:hover { color: #f4f4f5 !important; background: rgba(255, 255, 255, .08) !important; }
#tgp-ros-root .tgp-ros-askbar__go { border: 0 !important; background: linear-gradient(120deg, #7c3aed, #a855f7) !important; color: #fff !important; }
#tgp-ros-root .tgp-ros-askbar__go:hover { filter: brightness(1.12); }

/* To-do list card: Active pill + colored circle checkboxes. */
#tgp-ros-root .tgp-ros-todocard .tgp-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#tgp-ros-root .tgp-ros-todocard__state { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 99px; background: rgba(34, 197, 94, .12); color: #4ade80; font-size: 11.5px; font-weight: 700; }
#tgp-ros-root .tgp-ros-todocard__state i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
#tgp-ros-root .tgp-ros-todocard .tgp-ros-check__box { border-radius: 50% !important; border-width: 2px; }
#tgp-ros-root .tgp-ros-todocard .tgp-ros-upnext__row:nth-child(4n+1) .tgp-ros-check__box { border-color: #fbbf24; }
#tgp-ros-root .tgp-ros-todocard .tgp-ros-upnext__row:nth-child(4n+2) .tgp-ros-check__box { border-color: #f87171; }
#tgp-ros-root .tgp-ros-todocard .tgp-ros-upnext__row:nth-child(4n+3) .tgp-ros-check__box { border-color: #38bdf8; }
#tgp-ros-root .tgp-ros-todocard .tgp-ros-upnext__row:nth-child(4n+4) .tgp-ros-check__box { border-color: #a78bfa; }

@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-pagehead--home { gap: 12px; }
	#tgp-ros-root .tgp-ros-askbar { max-width: none; }
}

/* ── 0.127.1: unused-tracks tile w/ cover thumbs + gstats head row ── */
#tgp-ros-root a.tgp-ros-stat--unused { text-decoration: none; color: #f4f4f5; position: relative; display: block; transition: border-color .14s ease, transform .14s ease; }
#tgp-ros-root a.tgp-ros-stat--unused:hover { border-color: rgba(168, 85, 247, .45); transform: translateY(-1px); }
#tgp-ros-root .tgp-ros-unusedthumbs { display: flex; align-items: center; margin-top: 10px; }
#tgp-ros-root .tgp-ros-unusedthumbs img,
#tgp-ros-root .tgp-ros-unusedthumbs i {
	width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none;
	border: 2px solid #141317; background: linear-gradient(140deg, #1c1c24, #101014);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
#tgp-ros-root .tgp-ros-unusedthumbs img + img,
#tgp-ros-root .tgp-ros-unusedthumbs i + i,
#tgp-ros-root .tgp-ros-unusedthumbs img + i,
#tgp-ros-root .tgp-ros-unusedthumbs i + img { margin-left: -9px; }
#tgp-ros-root .tgp-ros-unusedthumbs b { margin-left: 8px; font-size: 11.5px; font-weight: 700; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-unusedthumbs svg { margin-left: auto; color: #8b8b93; transition: color .14s ease, transform .14s ease; }
#tgp-ros-root a.tgp-ros-stat--unused:hover .tgp-ros-unusedthumbs svg { color: #c084fc; transform: translateX(3px); }

#tgp-ros-root .tgp-ros-gstats__head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: -4px; }
#tgp-ros-root .tgp-ros-gstats__title { margin: 0; font-size: 14.5px; font-weight: 800; color: #e4e4e7; letter-spacing: .01em; }
#tgp-ros-root .tgp-ros-gstats__open { font-size: 12.5px; font-weight: 700; color: #a78bfa; text-decoration: none; white-space: nowrap; }
#tgp-ros-root .tgp-ros-gstats__open:hover { color: #c4b5fd; }

/* ── 0.127.6: assistant sheet — phone polish (elements were clipped) ──
   Tighter head, one-line sub, hint chips = single swipeable row, input
   row padded past the home-indicator / Safari bottom bar. */
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-mgr__head { flex: none; padding: 12px 16px 10px; }
	#tgp-ros-root .tgp-ros-mgr__sub { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
	#tgp-ros-root .tgp-ros-mgr__hints { flex: none; display: flex; flex-wrap: nowrap; align-items: center; overflow-x: auto; overflow-y: hidden; max-height: none; padding: 8px 14px; gap: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	#tgp-ros-root .tgp-ros-mgr__hints::-webkit-scrollbar { display: none; }
	#tgp-ros-root .tgp-ros-mgr__hint,
	#tgp-ros-root .tgp-ros-mgr__learn { flex: none; white-space: nowrap; }
	#tgp-ros-root .tgp-ros-mgr__inputrow { flex: none; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
	#tgp-ros-root .tgp-ros-mgr__panel { height: min(86dvh, 660px); padding-bottom: 0; }
	#tgp-ros-root .tgp-ros-mgr__log { flex: 1 1 auto; height: auto; min-height: 0; }
}

/* ── 0.127.7: nav dropdown PORTAL (iOS fix) ────────────────────────────
   iOS WebKit clips position:fixed inside touch-scroll containers, so the
   open panel is moved to <body> on mobile. These rules are deliberately
   UNSCOPED — a ported node lives outside #tgp-ros-root. */
.tgp-ros-subnav__drop.is-ported {
	position: fixed; z-index: 2147483000;
	display: flex; flex-direction: column; min-width: 190px; padding: 7px;
	border-radius: 13px; border: 1px solid rgba(255, 255, 255, .1);
	background: #16161c; box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
	visibility: hidden; opacity: 0; transition: none;
}
.tgp-ros-subnav__drop.is-ported.is-shown { visibility: visible; opacity: 1; }
.tgp-ros-subnav__drop.is-ported::before { content: none; }
.tgp-ros-subnav__drop.is-ported .tgp-ros-subnav__dropitem {
	display: flex; align-items: center; gap: 8px; padding: 10px 12px;
	border-radius: 9px; font-size: 13px; font-weight: 600; letter-spacing: 0;
	color: #c6c6cd; text-decoration: none; white-space: nowrap;
}
.tgp-ros-subnav__drop.is-ported .tgp-ros-subnav__dropitem.is-active { background: rgba(255, 255, 255, .09); color: #ffffff; }

/* ── 0.128.4: release-day bio nudge — compact strip that sits UNDER the
   link-in-bio editor. Two columns, small type, ghost buttons: it should
   read as a footnote to the page, never compete with the editor. ── */
#tgp-ros-root .tgp-ros-bionudge {
	position: relative;
	margin: 16px 0 0;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-left: 2px solid rgba(168, 85, 247, .5);
	border-radius: 11px;
	background: rgba(255, 255, 255, .02);
}
#tgp-ros-root .tgp-ros-bionudge__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#tgp-ros-root .tgp-ros-bionudge__title { margin: 0; font-size: 13px; font-weight: 600; color: #e4e4e7; line-height: 1.4; }
#tgp-ros-root .tgp-ros-bionudge__eyebrow { display: inline-block; margin-right: 9px; padding: 2px 7px; border-radius: 5px; background: rgba(168, 85, 247, .14); font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #c4a2f7; vertical-align: 1px; }
#tgp-ros-root .tgp-ros-bionudge__x { flex: 0 0 auto; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: #6b6b74; cursor: pointer; }
#tgp-ros-root .tgp-ros-bionudge__x:hover { background: rgba(255, 255, 255, .06); color: #e4e4e7; }
#tgp-ros-root .tgp-ros-bionudge__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 11px; }
#tgp-ros-root .tgp-ros-bionudge__cols > * { min-width: 0; }
#tgp-ros-root .tgp-ros-bionudge__lbl { display: flex; align-items: baseline; gap: 6px; margin-bottom: 5px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7c7c85; }
#tgp-ros-root .tgp-ros-bionudge__lbl--sp { margin-top: 10px; }
#tgp-ros-root .tgp-ros-bionudge__lbl em { font-style: normal; font-weight: 600; letter-spacing: .02em; color: #55555e; }
#tgp-ros-root .tgp-ros-bionudge__text { width: 100%; min-width: 0; font-size: 12.5px; line-height: 1.5; resize: none; }
#tgp-ros-root textarea.tgp-ros-bionudge__text,
#tgp-ros-root input.tgp-ros-bionudge__text { padding: 8px 10px !important; background: rgba(0, 0, 0, .24); color: #d4d4d8; }
/* The theme forces a one-row height on textareas — the whole suggested bio
   has to be readable without scrolling, so re-assert it. */
#tgp-ros-root textarea.tgp-ros-bionudge__text { height: auto !important; min-height: 88px; overflow: auto; }
#tgp-ros-root .tgp-ros-bionudge__acts { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 7px; }
#tgp-ros-root .tgp-ros-bionudge__acts .tgp-ros-btn { height: 28px; padding: 0 10px !important; font-size: 12px; }
#tgp-ros-root .tgp-ros-bionudge__verdict { display: block; margin-top: 7px; font-size: 12px; line-height: 1.45; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-bionudge__verdict.is-ok { color: #6ee7b7; }
#tgp-ros-root .tgp-ros-bionudge__verdict.is-warn { color: #fbbf24; }
#tgp-ros-root .tgp-ros-bionudge__foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding-top: 11px; border-top: 1px solid rgba(255, 255, 255, .06); }
#tgp-ros-root .tgp-ros-bionudge__foot .tgp-ros-btn { height: 28px; padding: 0 12px !important; font-size: 12px; }
#tgp-ros-root .tgp-ros-bionudge__note { flex: 1 1 260px; min-width: 0; font-size: 11.5px; line-height: 1.5; color: #7c7c85; }
#tgp-ros-root .tgp-ros-bionudge__applied { flex: 1 1 100%; font-size: 11.5px; color: #6ee7b7; }
@media (max-width: 700px) {
	#tgp-ros-root .tgp-ros-bionudge__cols { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-bionudge__foot .tgp-ros-btn { width: 100%; justify-content: center; }
}

/* ── 0.130.2: pitch-directory custom checkboxes ── */
#tgp-ros-root .tgp-ros-pdchk { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; cursor: pointer; user-select: none; }
#tgp-ros-root .tgp-ros-pdchk:hover .tgp-ros-pdchk__box { border-color: rgba(255, 255, 255, .45); }
#tgp-ros-root .tgp-ros-pdchk input[type=checkbox] { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; pointer-events: none; appearance: none; -webkit-appearance: none; }
#tgp-ros-root .tgp-ros-pdchk__box { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; flex: none; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .28); background: rgba(0, 0, 0, .25); color: #fff; transition: background .15s, border-color .15s; }
#tgp-ros-root .tgp-ros-pdchk__box svg { opacity: 0; transform: scale(.5); transition: opacity .15s, transform .18s cubic-bezier(.34, 1.4, .64, 1); }
#tgp-ros-root .tgp-ros-pdchk input:checked + .tgp-ros-pdchk__box { background: linear-gradient(160deg, #a855f7, #7c3aed); border-color: rgba(196, 181, 253, .8); }
#tgp-ros-root .tgp-ros-pdchk input:checked + .tgp-ros-pdchk__box svg { opacity: 1; transform: scale(1); }
#tgp-ros-root .tgp-ros-pdchk input:focus-visible + .tgp-ros-pdchk__box { outline: 2px solid rgba(196, 181, 253, .9); outline-offset: 2px; }
#tgp-ros-root .tgp-ros-pdchk__text { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .68); transition: color .15s; }
#tgp-ros-root .tgp-ros-pdchk input:checked ~ .tgp-ros-pdchk__text { color: #e9d5ff; }

/* ── 0.130.3: pitch-directory filter bar redesign ── */
#tgp-ros-root .tgp-ros-pitchdir__bar { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
#tgp-ros-root .tgp-ros-pitchdir__filters { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-pitchdir__toggles { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
/* Native selects hand rendering over to their custom twins. */
#tgp-ros-root select.is-fsel-src { display: none !important; }

#tgp-ros-root .tgp-ros-fsel { position: relative; display: inline-flex; }
#tgp-ros-root .tgp-ros-fsel[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-fsel__btn { display: inline-flex !important; align-items: center; gap: 8px; height: 38px; padding: 0 13px !important; border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 10px !important; background: rgba(255, 255, 255, .03) !important; color: #e4e4e7 !important; font-size: 12.5px !important; font-weight: 600 !important; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s; }
#tgp-ros-root .tgp-ros-fsel__btn:hover { border-color: rgba(255, 255, 255, .24) !important; background: rgba(255, 255, 255, .05) !important; }
#tgp-ros-root .tgp-ros-fsel__btn[aria-expanded="true"] { border-color: rgba(168, 85, 247, .55) !important; background: rgba(168, 85, 247, .08) !important; }
#tgp-ros-root .tgp-ros-fsel__btn.is-set { border-color: rgba(168, 85, 247, .4) !important; }
#tgp-ros-root .tgp-ros-fsel__btn.is-set .tgp-ros-fsel__val { color: #e9d5ff; }
#tgp-ros-root .tgp-ros-fsel__lab { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .4); }
#tgp-ros-root .tgp-ros-fsel__val { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
#tgp-ros-root .tgp-ros-fsel__chev { color: rgba(255, 255, 255, .4); flex: none; transition: transform .18s; }
#tgp-ros-root .tgp-ros-fsel__btn[aria-expanded="true"] .tgp-ros-fsel__chev { transform: rotate(180deg); }

#tgp-ros-root .tgp-ros-fsel__panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 80; min-width: 300px; max-width: 360px; padding: 10px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: #17171b; box-shadow: 0 22px 54px -18px rgba(0, 0, 0, .9); }
#tgp-ros-root .tgp-ros-fsel__panel.is-right { left: auto; right: 0; }
#tgp-ros-root .tgp-ros-fsel__list { max-height: 348px; overflow: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 2px; padding-right: 2px; }
#tgp-ros-root .tgp-ros-fsel__list::-webkit-scrollbar { width: 8px; }
#tgp-ros-root .tgp-ros-fsel__list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); border-radius: 99px; }
#tgp-ros-root .tgp-ros-fsel__item { display: flex !important; align-items: center; gap: 10px; width: 100%; padding: 10px 12px !important; border: 0 !important; border-radius: 9px !important; background: transparent !important; color: rgba(255, 255, 255, .8) !important; font-size: 13px !important; font-weight: 500 !important; text-align: left; cursor: pointer; transition: background .12s, color .12s; }
#tgp-ros-root .tgp-ros-fsel__item[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-fsel__item:hover { background: rgba(255, 255, 255, .06) !important; color: #ffffff !important; }
#tgp-ros-root .tgp-ros-fsel__item svg { opacity: 0; color: #c4b5fd; flex: none; }
#tgp-ros-root .tgp-ros-fsel__item.is-current { color: #e9d5ff !important; background: rgba(168, 85, 247, .1) !important; font-weight: 600 !important; }
#tgp-ros-root .tgp-ros-fsel__item.is-current svg { opacity: 1; }
#tgp-ros-root .tgp-ros-fsel__search { display: block; width: calc(100% - 4px); margin: 2px 2px 9px; padding: 10px 13px !important; border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 8px !important; background: rgba(0, 0, 0, .3) !important; color: #ffffff !important; font-size: 12.5px !important; height: auto !important; line-height: 1.4 !important; }
#tgp-ros-root .tgp-ros-fsel__search:focus { outline: none; border-color: rgba(168, 85, 247, .5) !important; }
#tgp-ros-root .tgp-ros-fsel__search::placeholder { color: rgba(255, 255, 255, .35); }
#tgp-ros-root .tgp-ros-fsel__search::-webkit-search-cancel-button { -webkit-appearance: none; }

/* Name search: icon inside a matching pill; grows to fill the row. */
#tgp-ros-root .tgp-ros-pdsearch { position: relative; display: inline-flex; align-items: center; flex: 1 1 200px; min-width: 160px; max-width: 320px; }
#tgp-ros-root .tgp-ros-pdsearch svg { position: absolute; left: 12px; color: rgba(255, 255, 255, .38); pointer-events: none; transition: color .15s; }
#tgp-ros-root .tgp-ros-pdsearch:focus-within svg { color: #a78bfa; }
#tgp-ros-root .tgp-ros-pdsearch input[data-ros-pd-q] { width: 100% !important; max-width: none !important; height: 38px !important; padding: 0 13px 0 33px !important; border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 10px !important; background: rgba(255, 255, 255, .03) !important; color: #ffffff !important; font-size: 12.5px !important; line-height: 1.4 !important; transition: border-color .15s, background .15s; }
#tgp-ros-root .tgp-ros-pdsearch input[data-ros-pd-q]:focus { outline: none; border-color: rgba(168, 85, 247, .5) !important; background: rgba(255, 255, 255, .05) !important; }
#tgp-ros-root .tgp-ros-pdsearch input[data-ros-pd-q]::placeholder { color: rgba(255, 255, 255, .35); }
#tgp-ros-root .tgp-ros-pdsearch input[data-ros-pd-q]::-webkit-search-cancel-button { -webkit-appearance: none; }

@media (max-width: 700px) {
	#tgp-ros-root .tgp-ros-fsel { flex: 1 1 45%; }
	#tgp-ros-root .tgp-ros-fsel__btn { width: 100%; justify-content: space-between; }
	#tgp-ros-root .tgp-ros-fsel__val { flex: 1; text-align: left; }
	#tgp-ros-root .tgp-ros-pdsearch { max-width: none; flex: 1 1 100%; }
	#tgp-ros-root .tgp-ros-fsel__panel { min-width: 100%; max-width: none; }
}

/* 0.130.4: roomier dropdown internals — name left, count right, check last. */
#tgp-ros-root .tgp-ros-fsel__iname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-fsel__icount { font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .34); flex: none; }
#tgp-ros-root .tgp-ros-fsel__item.is-current .tgp-ros-fsel__icount { color: rgba(233, 213, 255, .6); }

/* 0.130.5: auto-follow-up sits bare in the row, with an info tooltip. */
#tgp-ros-root .tgp-ros-pdchkrow { position: relative; display: inline-flex; align-items: center; gap: 7px; }
#tgp-ros-root .tgp-ros-pdtip { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; color: rgba(255, 255, 255, .38); cursor: help; transition: color .15s, background .15s; }
#tgp-ros-root .tgp-ros-pdtip:hover, #tgp-ros-root .tgp-ros-pdtip:focus-visible { color: #c4b5fd; background: rgba(168, 85, 247, .12); outline: none; }
#tgp-ros-root .tgp-ros-pdtip__bubble { position: absolute; bottom: calc(100% + 10px); left: 0; z-index: 90; width: 280px; padding: 11px 13px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 11px; background: #1c1c21; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .85); font-size: 12px; line-height: 1.55; font-weight: 500; color: rgba(255, 255, 255, .82); text-transform: none; letter-spacing: 0; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .16s ease, transform .16s ease, visibility .16s; pointer-events: none; }
#tgp-ros-root .tgp-ros-pdtip__bubble::after { content: ''; position: absolute; top: 100%; left: 244px; border: 6px solid transparent; border-top-color: #1c1c21; }
#tgp-ros-root .tgp-ros-pdtip:hover .tgp-ros-pdtip__bubble, #tgp-ros-root .tgp-ros-pdtip:focus-visible .tgp-ros-pdtip__bubble, #tgp-ros-root .tgp-ros-pdtip:focus .tgp-ros-pdtip__bubble { opacity: 1; visibility: visible; transform: translateY(0); }
@media (max-width: 700px) {
	#tgp-ros-root .tgp-ros-pdtip__bubble { left: auto; right: -8px; }
	#tgp-ros-root .tgp-ros-pdtip__bubble::after { left: auto; right: 12px; }
}

/* Campaign-start card: breathe between the eyebrow pill and the title
   (the pill sat flush against the heading). */
.tgp-ros-cmpstart__copy .tgp-ros-pagehead__eyebrow { margin-bottom: 14px; }
.tgp-ros-cmpstart__copy .tgp-card__title { margin-top: 0; }

/* Studio: current-audio mini player (play/pause + waveform + seek) */
.tgp-ros-audition { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(0,0,0,.25); }
.tgp-ros-audition__btn { width: 28px !important; height: 28px !important; flex: none; border: 0 !important; border-radius: 50% !important; background: linear-gradient(135deg,#7c3aed,#8b5cf6) !important; color: #fff !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; cursor: pointer; padding: 0 !important; }
.tgp-ros-audition__btn svg { width: 12px; height: 12px; }
.tgp-ros-audition__wave { display: inline-flex; align-items: center; gap: 2px; height: 22px; width: 150px; cursor: pointer; }
.tgp-ros-audition__wave i { flex: 1 1 auto; min-width: 2px; border-radius: 1px; background: rgba(255,255,255,.2); transition: background .15s; }
.tgp-ros-audition__wave i.is-played { background: #a78bfa; }
.tgp-ros-audition__time { font-size: 10.5px; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; flex: none; }

/* Studio: amber snippet warning — must NOT blend in with the grey chips */
.tgp-ros-audhint { flex: 1 1 100%; display: flex; align-items: flex-start; gap: 9px; padding: 9px 13px; border: 1px solid rgba(251,191,36,.4); border-left-width: 3px; border-radius: 10px; background: rgba(251,191,36,.07); color: #fcd34d; font-size: 12.5px; line-height: 1.5; }
.tgp-ros-audhint svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.tgp-ros-audhint b { font-weight: 750; }

/* Artwork modal: pointer to the full standalone cover tool */
.tgp-ros-artup__toollink { margin: 12px 0 0; font-size: 12px; color: rgba(255,255,255,.45); }
.tgp-ros-artup__toollink a { color: #a78bfa; font-weight: 650; text-decoration: none; }
.tgp-ros-artup__toollink a:hover { text-decoration: underline; }

/* ── Mobile responsiveness pass 2026-08-18 (dashboard) ─────────────────── */
/* Filter dropdown (fsel): value must ellipsize, never wrap over the label. */
#tgp-ros-root .tgp-ros-fsel__btn { max-width: 100%; }
#tgp-ros-root .tgp-ros-fsel__val { flex: 1 1 auto; min-width: 0; white-space: nowrap !important; text-align: left; }
#tgp-ros-root .tgp-ros-fsel__panel { max-width: min(360px, calc(100vw - 40px)); }
/* Goal card: the CTA must never be crushed into a word-per-line column. */
#tgp-ros-root .tgp-ros-goal__head > .tgp-ros-btn { flex: none; white-space: nowrap; align-self: flex-start; }
@media (max-width: 640px) {
	/* Card headers wrap instead of squeezing their action buttons. */
	#tgp-ros-root .tgp-card__head { flex-wrap: wrap; row-gap: 10px; }
	#tgp-ros-root .tgp-ros-goal__head { flex-wrap: wrap; }
	/* Pitch directory filters: two tidy columns, search full width. */
	#tgp-ros-root .tgp-ros-pitchdir__filters { gap: 8px; }
	#tgp-ros-root .tgp-ros-pitchdir__filters .tgp-ros-fsel { flex: 1 1 calc(50% - 4px); min-width: calc(50% - 4px); }
	#tgp-ros-root .tgp-ros-pitchdir__filters .tgp-ros-fsel__btn { width: 100%; justify-content: space-between; }
	#tgp-ros-root .tgp-ros-pdsearch { flex: 1 1 100%; max-width: none; }
	/* Pipeline card controls: status + follow-up date share a clean row. */
	#tgp-ros-root .tgp-ros-labelrow__controls { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
	#tgp-ros-root .tgp-ros-labelrow__controls .tgp-ros-labelrow__status,
	#tgp-ros-root .tgp-ros-labelrow__controls .tgp-ros-labelrow__followup { flex: 1 1 45%; width: auto; max-width: none; }
}

/* ── Content-parts picker: which moments generated content clips from ── */
#tgp-ros-root .tgp-ros-cparts { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); text-align: left; }
#tgp-ros-root .tgp-ros-cparts__head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
#tgp-ros-root .tgp-ros-cparts__head strong { font-size: 13.5px; }
#tgp-ros-root .tgp-ros-cparts__hint { font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.55); }
#tgp-ros-root .tgp-ros-cparts__wave { position: relative; display: flex; align-items: center; gap: 2px; height: 64px; padding: 6px 8px; border-radius: 12px; background: rgba(255,255,255,.04); cursor: pointer; touch-action: none; overflow: hidden; user-select: none; }
#tgp-ros-root .tgp-ros-cparts__wave i { flex: 1 1 auto; min-width: 1px; border-radius: 2px; background: rgba(255,255,255,.16); transition: background .12s; pointer-events: none; }
#tgp-ros-root .tgp-ros-cparts__wave i.is-part { background: rgba(167,139,250,.42); }
#tgp-ros-root .tgp-ros-cparts__wave i.is-in { background: rgba(167,139,250,.95); }
#tgp-ros-root .tgp-ros-cparts__cursor { position: absolute; top: 4px; bottom: 4px; width: 2px; background: #fff; border-radius: 2px; display: none; pointer-events: none; }
#tgp-ros-root .tgp-ros-cparts__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
#tgp-ros-root .tgp-ros-cparts__chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: rgba(255,255,255,.75); font-size: 12px; line-height: 1.4; cursor: pointer; white-space: nowrap; }
#tgp-ros-root .tgp-ros-cparts__chip.is-active { border-color: rgba(167,139,250,.8); background: rgba(167,139,250,.16); color: #fff; }
#tgp-ros-root .tgp-ros-cparts__x { display: inline-flex; width: 15px; height: 15px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 11px; line-height: 1; }
#tgp-ros-root .tgp-ros-cparts__x:hover { background: rgba(239,68,68,.55); color: #fff; }
#tgp-ros-root .tgp-ros-cparts__row { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-cparts__spacer { flex: 1 1 auto; }
#tgp-ros-root .tgp-ros-cparts--step { border-top: 0; margin-top: 10px; padding-top: 0; width: 100%; max-width: 460px; }

/* Aesthetic-cut track-part selector */
#tgp-ros-root .tgp-ros-aescpart { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
#tgp-ros-root .tgp-ros-aescpart__label { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); }
/* Auto / Manual as two selectable option cards — icon, title, one-line
   description and a check dot, so the choice reads instantly. */
#tgp-ros-root .tgp-ros-partcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 620px; }
#tgp-ros-root button.tgp-ros-partcard { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 46px 13px 15px !important; border-radius: 13px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: rgba(255,255,255,.85); font: inherit; text-align: left; cursor: pointer; transition: border-color .16s, background .16s, transform .16s; }
#tgp-ros-root button.tgp-ros-partcard:hover { border-color: rgba(167,139,250,.55); background: rgba(255,255,255,.055); transform: translateY(-1px); }
#tgp-ros-root button.tgp-ros-partcard:hover .tgp-ros-partcard__ico { background: rgba(167,139,250,.22); color: #ddd6fe; }
#tgp-ros-root button.tgp-ros-partcard.is-active { border-color: rgba(167,139,250,.9); background: linear-gradient(180deg, rgba(124,58,237,.16), rgba(124,58,237,.08)); }
#tgp-ros-root button.tgp-ros-partcard.is-active:hover { border-color: #c4b5fd; background: linear-gradient(180deg, rgba(124,58,237,.22), rgba(124,58,237,.12)); }
#tgp-ros-root .tgp-ros-partcard__ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: rgba(167,139,250,.12); color: #c4b5fd; transition: background .16s, color .16s; }
#tgp-ros-root button.tgp-ros-partcard.is-active .tgp-ros-partcard__ico { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; }
#tgp-ros-root .tgp-ros-partcard__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#tgp-ros-root .tgp-ros-partcard__txt strong { font-size: 13.5px; font-weight: 700; line-height: 1.2; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-partcard__txt small { font-size: 11.5px; line-height: 1.35; color: rgba(255,255,255,.5); }
#tgp-ros-root button.tgp-ros-partcard.is-active .tgp-ros-partcard__txt small { color: rgba(255,255,255,.65); }
#tgp-ros-root .tgp-ros-partcard__dot { position: absolute; top: 50%; right: 14px; margin-top: -9px; display: none; width: 18px; height: 18px; align-items: center; justify-content: center; border-radius: 50%; background: #a855f7; color: #fff; }
#tgp-ros-root button.tgp-ros-partcard.is-active .tgp-ros-partcard__dot { display: inline-flex; }
@media ( max-width: 640px ) { #tgp-ros-root .tgp-ros-partcards { grid-template-columns: 1fr; } }
#tgp-ros-root .tgp-ros-aescpart__hint { margin: 9px 0 0; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.5); max-width: 560px; }
#tgp-ros-root .tgp-ros-cparts--inline { border-top: 0; padding-top: 0; margin-top: 12px; }

/* Waveform loading state: a calm shimmer strip with a spinner replaces the
   picker until real peaks/duration arrive. */
#tgp-ros-root .tgp-ros-cparts__loading { display: none; }
#tgp-ros-root .tgp-ros-cparts.is-loading .tgp-ros-cparts__loading { display: flex; align-items: center; justify-content: center; gap: 10px; height: 64px; border-radius: 12px; border: 1px solid rgba(255,255,255,.06); background: linear-gradient(100deg, rgba(255,255,255,.03) 40%, rgba(167,139,250,.1) 50%, rgba(255,255,255,.03) 60%); background-size: 220% 100%; animation: tgpRosShimmer 1.4s linear infinite; font-size: 12.5px; color: rgba(255,255,255,.6); }
#tgp-ros-root .tgp-ros-cparts.is-loading .tgp-ros-cparts__wave,
#tgp-ros-root .tgp-ros-cparts.is-loading .tgp-ros-cparts__chips,
#tgp-ros-root .tgp-ros-cparts.is-loading .tgp-ros-cparts__row { display: none; }
@keyframes tgpRosShimmer {
	from { background-position: 120% 0; }
	to { background-position: -120% 0; }
}

/* Circular play/pause beside the parts waveform */
#tgp-ros-root .tgp-ros-cparts__waverow { display: flex; align-items: center; gap: 12px; }
#tgp-ros-root .tgp-ros-cparts__waverow .tgp-ros-cparts__wave { flex: 1 1 auto; min-width: 0; }
#tgp-ros-root button.tgp-ros-cparts__playbtn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(167,139,250,.5); background: rgba(167,139,250,.14); color: #e9d5ff; cursor: pointer; transition: background .15s, border-color .15s; }
#tgp-ros-root button.tgp-ros-cparts__playbtn:hover { background: rgba(167,139,250,.28); border-color: rgba(167,139,250,.85); color: #fff; }
#tgp-ros-root button.tgp-ros-cparts__playbtn.is-playing { background: linear-gradient(135deg, #7c3aed, #a855f7); border-color: transparent; color: #fff; }
#tgp-ros-root button.tgp-ros-cparts__playbtn[hidden] { display: none !important; }
#tgp-ros-root button.tgp-ros-cparts__playbtn svg { margin-left: 2px; }
#tgp-ros-root button.tgp-ros-cparts__playbtn.is-playing svg { margin-left: 0; }

/* Active-window overlay: one source of truth with the chip and cursor */
#tgp-ros-root .tgp-ros-cparts__win { position: absolute; top: 3px; bottom: 3px; border-radius: 9px; background: rgba(167,139,250,.14); border: 1.5px solid rgba(167,139,250,.9); pointer-events: none; }

/* Compact creator tiles: 8 cards fit two rows on typical account widths */
#tgp-ros-root .tgp-ros-creators { grid-template-columns: repeat(auto-fill, minmax(182px, 1fr)); gap: 12px; }
#tgp-ros-root .tgp-ros-creator { padding: 13px !important; padding-top: 15px !important; gap: 10px; }

/* ── Ads connection bar: Page / ad-account switchers (2026-08-20) ──
   Styled pill + an invisible native <select> stretched over it: full design
   control, real dropdown, immune to the theme's select styling. */
#tgp-ros-root .tgp-ros-adswitch {
	/* !important: the theme styles bare <label> harder than it should. */
	position: relative;
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px;
	margin: 0 !important;
	padding: 5px 12px 5px 11px !important;
	border-radius: 11px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .12);
	cursor: pointer;
	transition: border-color .12s ease, background .12s ease;
	max-width: 250px;
	font-weight: normal !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}
#tgp-ros-root .tgp-ros-adswitch:hover { border-color: rgba(168, 85, 247, .5); background: rgba(147, 51, 234, .08); }
#tgp-ros-root .tgp-ros-adswitch.is-busy { opacity: .55; pointer-events: none; }
#tgp-ros-root .tgp-ros-adswitch__ico { flex: none; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-adswitch--page .tgp-ros-adswitch__ico { color: #93c5fd; }
#tgp-ros-root .tgp-ros-adswitch__stack { display: flex; flex-direction: column; gap: 0; min-width: 0; }
#tgp-ros-root .tgp-ros-adswitch__stack small { font-size: 9.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); line-height: 1.3; }
#tgp-ros-root .tgp-ros-adswitch__val { font-size: 12.5px; font-weight: 600; color: var(--tgp-text, #f4f4f5); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tgp-ros-root .tgp-ros-adswitch__chev { flex: none; color: var(--tgp-text-faint, #71717a); }
/* The overlay select must be COMPLETELY invisible — the theme styles bare
   selects (background, focus ring, opacity) hard enough to punch through
   anything unimportant. */
#tgp-ros-root .tgp-ros-adswitch__native {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	opacity: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	color: transparent !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
	cursor: pointer;
}
#tgp-ros-root .tgp-ros-adswitch:focus-within { border-color: rgba(168, 85, 247, .6); }
#tgp-ros-root .tgp-ros-adconnect__pagehint { margin: 10px 2px 0; font-size: 11.5px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-adconnect__pagehint a { color: #c084fc; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
	.tgp-ros-adconnect__who { flex-wrap: wrap; }
	#tgp-ros-root .tgp-ros-adswitch { max-width: 100%; }
}

/* ── Next-release hero: share-card CTA (2026-08-20) ── */
#tgp-ros-root .tgp-ros-hero__share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; }
#tgp-ros-root .tgp-ros-hero__share .tgp-ros-btn { display: inline-flex; align-items: center; gap: 6px; flex: none; }
#tgp-ros-root .tgp-ros-hero__sharenote { font-size: 11.5px; color: var(--tgp-text-faint, #71717a); max-width: 340px; }

/* ── Media library on phones: icons never clip, grid never overflows (2026-08-20) ── */
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-medialib__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#tgp-ros-root .tgp-ros-mediacard { min-width: 0; }
	#tgp-ros-root .tgp-ros-mediacard__meta { padding: 7px 8px; }
	#tgp-ros-root .tgp-ros-mediacard__actions { flex-wrap: wrap; justify-content: flex-end; gap: 4px !important; row-gap: 2px; }
	#tgp-ros-root .tgp-ros-mediacard__actions .tgp-ros-iconbtn { width: 26px !important; height: 26px !important; flex: none !important; }
	#tgp-ros-root .tgp-ros-mediacard__actions .tgp-ros-iconbtn svg { width: 16px; height: 16px; }
}

/* Ads template row: link-style chip to the full Studio generators */
#tgp-ros-root .tgp-ros-adchip--link { text-decoration: none; color: #c084fc !important; border-style: dashed !important; }
#tgp-ros-root .tgp-ros-adchip--link:hover { color: #e9d5ff !important; border-color: rgba(168, 85, 247, .6) !important; }

/* ── Ads connection bar v2: structured cells, fully responsive (2026-08-20) ── */
#tgp-ros-root .tgp-ros-adconnbar { display: flex; flex-direction: column; gap: 12px; }
#tgp-ros-root .tgp-ros-adconnbar__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-adconnbar__mgr { font-size: 12px; font-weight: 600; color: var(--tgp-text-dim, #a1a1aa); text-decoration: none; white-space: nowrap; }
#tgp-ros-root .tgp-ros-adconnbar__mgr:hover { color: #e9d5ff; }
#tgp-ros-root .tgp-ros-adconnbar__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 10px; }
#tgp-ros-root .tgp-ros-adcell {
	position: relative;
	display: flex !important;
	flex-direction: column;
	gap: 5px;
	margin: 0 !important;
	padding: 11px 14px 12px !important;
	border-radius: 13px;
	background: rgba(255, 255, 255, .03);
	border: 1px solid rgba(255, 255, 255, .1);
	min-width: 0;
	font-weight: normal !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	transition: border-color .12s ease, background .12s ease;
}
#tgp-ros-root .tgp-ros-adcell--select { cursor: pointer; }
#tgp-ros-root .tgp-ros-adcell--select:hover { border-color: rgba(168, 85, 247, .5); background: rgba(147, 51, 234, .07); }
#tgp-ros-root .tgp-ros-adcell--select:focus-within { border-color: rgba(168, 85, 247, .6); }
#tgp-ros-root .tgp-ros-adcell.is-ok { border-color: rgba(52, 211, 153, .25); background: rgba(52, 211, 153, .05); }
#tgp-ros-root .tgp-ros-adcell.is-warn { border-color: rgba(251, 191, 36, .3); background: rgba(251, 191, 36, .05); }
#tgp-ros-root .tgp-ros-adcell__k { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); line-height: 1; }
#tgp-ros-root .tgp-ros-adcell__row { display: flex; align-items: center; gap: 7px; min-width: 0; }
#tgp-ros-root .tgp-ros-adcell__ico { flex: none; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-adcell__ico--fb { color: #93c5fd; }
#tgp-ros-root .tgp-ros-adcell.is-ok .tgp-ros-adcell__ico { color: #6ee7b7; }
#tgp-ros-root .tgp-ros-adcell__val { font-size: 13px; font-weight: 600; color: var(--tgp-text, #f4f4f5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1 1 auto; }
#tgp-ros-root .tgp-ros-adcell.is-ok .tgp-ros-adcell__val { color: #6ee7b7; }
#tgp-ros-root .tgp-ros-adcell.is-warn .tgp-ros-adcell__val { color: #fcd34d; }
#tgp-ros-root .tgp-ros-adcell__chev { flex: none; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-adcell__link { position: relative; z-index: 1; flex: none; font-size: 11.5px; font-weight: 700; color: #fcd34d; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
#tgp-ros-root .tgp-ros-adcell__link:hover { color: #fde68a; }
#tgp-ros-root .tgp-ros-adcell.is-busy { opacity: .55; pointer-events: none; }

/* Studio hand-off card in the creative step */
#tgp-ros-root .tgp-ros-adstudiocta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 14px;
	padding: 14px 16px;
	border-radius: 14px;
	border: 1px dashed rgba(168, 85, 247, .4);
	background: rgba(147, 51, 234, .06);
	text-decoration: none !important;
	transition: border-color .12s ease, background .12s ease;
}
#tgp-ros-root .tgp-ros-adstudiocta:hover { border-color: rgba(168, 85, 247, .7); background: rgba(147, 51, 234, .11); }
#tgp-ros-root .tgp-ros-adstudiocta__icon { flex: none; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: rgba(147, 51, 234, .16); color: #c084fc; }
#tgp-ros-root .tgp-ros-adstudiocta__copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
#tgp-ros-root .tgp-ros-adstudiocta__copy strong { font-size: 13.5px; font-weight: 700; color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-adstudiocta__copy span { font-size: 12px; color: var(--tgp-text-dim, #a1a1aa); line-height: 1.5; }
#tgp-ros-root .tgp-ros-adstudiocta__go { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #c084fc; white-space: nowrap; }
#tgp-ros-root .tgp-ros-adstudiocta:hover .tgp-ros-adstudiocta__go { color: #e9d5ff; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-adconnbar__grid { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-adstudiocta { flex-wrap: wrap; }
	#tgp-ros-root .tgp-ros-adstudiocta__go { margin-left: 52px; }
}

/* ── Aesthetic-cut visual pickers (vibe + lyric style) ── */
#tgp-ros-root .tgp-ros-adfield--pickgrid { display: block !important; }
#tgp-ros-root .tgp-ros-vibegrid {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	gap: 8px;
	margin-top: 8px;
	max-height: 292px;
	overflow-y: auto;
	padding: 2px 2px 6px;
	scrollbar-width: thin;
}
#tgp-ros-root .tgp-ros-vibegrid--ts { max-height: 216px; }
#tgp-ros-root .tgp-ros-vibecard {
	position: relative !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	aspect-ratio: 9 / 13;
	padding: 0 !important;
	margin: 0 !important;
	border: 1px solid rgba(255, 255, 255, 0.10) !important;
	border-radius: 10px !important;
	background: rgba(255, 255, 255, 0.04) !important;
	overflow: hidden !important;
	cursor: pointer;
	transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
	text-transform: none !important;
	box-shadow: none;
	min-height: 0 !important;
	line-height: 1.2 !important;
}
#tgp-ros-root .tgp-ros-vibecard:hover {
	transform: translateY(-2px);
	border-color: rgba(168, 85, 247, 0.55) !important;
}
#tgp-ros-root .tgp-ros-vibecard.is-active {
	border-color: #a855f7 !important;
	box-shadow: 0 0 0 1px #a855f7, 0 6px 18px rgba(168, 85, 247, 0.35) !important;
}
#tgp-ros-root .tgp-ros-vibecard img,
#tgp-ros-root .tgp-ros-vibecard video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
#tgp-ros-root .tgp-ros-vibecard video { z-index: 1; }
#tgp-ros-root .tgp-ros-vibecard__label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 14px 6px 6px;
	font-size: 10.5px !important;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: #fff !important;
	text-align: center;
	background: linear-gradient(180deg, rgba(10, 8, 18, 0) 0%, rgba(10, 8, 18, 0.85) 78%);
	pointer-events: none;
	text-transform: none !important;
}
#tgp-ros-root .tgp-ros-vibecard--auto {
	background: linear-gradient(160deg, rgba(168, 85, 247, 0.16), rgba(240, 171, 252, 0.07)) !important;
	flex-direction: column;
	gap: 6px;
}
#tgp-ros-root .tgp-ros-vibecard--auto .tgp-ros-vibecard__autoico {
	color: #d8b4fe;
	display: inline-flex;
	margin-bottom: 14px;
}
#tgp-ros-root .tgp-ros-vibecard--auto .tgp-ros-vibecard__label { background: none; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-vibegrid { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
}

/* ── Aesthetic pickers v2: separated sections, landscape lyric cards, hot card ── */
#tgp-ros-root .tgp-ros-vibesec {
	margin: 18px 0 4px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
}
#tgp-ros-root .tgp-ros-vibesec__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
#tgp-ros-root .tgp-ros-vibesec__head strong {
	font-size: 13px !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #e9d5ff !important;
}
#tgp-ros-root .tgp-ros-vibesec__head span { font-size: 12px; color: rgba(255, 255, 255, 0.45); text-transform: none; }
#tgp-ros-root .tgp-ros-vibesec .tgp-ros-vibegrid { margin-top: 0; max-height: 330px; }
#tgp-ros-root .tgp-ros-vibegrid--ts {
	display: flex !important;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	max-height: none;
	gap: 8px;
	padding-bottom: 8px;
	scrollbar-width: thin;
}
#tgp-ros-root .tgp-ros-vibecard--wide {
	aspect-ratio: 16 / 10;
	flex: 0 0 168px;
	width: 168px;
}
#tgp-ros-root .tgp-ros-vibecard--wide .tgp-ros-vibecard__label { padding: 12px 6px 5px; font-size: 10px !important; }
#tgp-ros-root .tgp-ros-vibecard--wide.tgp-ros-vibecard--auto .tgp-ros-vibecard__autoico { margin-bottom: 8px; }
#tgp-ros-root .tgp-ros-creator--hot {
	position: relative !important;
	border-color: rgba(168, 85, 247, 0.55) !important;
	box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.35), 0 8px 26px rgba(168, 85, 247, 0.18) !important;
	overflow: visible !important;
}
#tgp-ros-root .tgp-ros-creator__hotpill {
	position: absolute;
	top: -9px;
	right: 10px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 9px;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #14040d;
	background: linear-gradient(90deg, #f0abfc, #a855f7);
	border-radius: 99px;
	box-shadow: 0 4px 12px rgba(168, 85, 247, 0.45);
	pointer-events: none;
	white-space: nowrap;
}
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-vibecard--wide { flex-basis: 140px; width: 140px; }
}

/* ── Picker drag-scroll + ads-page mobile fixes ── */
#tgp-ros-root .tgp-ros-vibegrid--ts { cursor: grab; touch-action: pan-x; }
#tgp-ros-root .tgp-ros-vibegrid--ts.is-dragging { cursor: grabbing; scroll-behavior: auto; }
#tgp-ros-root .tgp-ros-vibegrid--ts.is-dragging .tgp-ros-vibecard { pointer-events: none; }
#tgp-ros-root .tgp-ros-adstudiocta { flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-adstudiocta__copy { flex: 1 1 240px; min-width: 0; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-adstudiocta { flex-direction: column; align-items: flex-start; gap: 10px; }
	#tgp-ros-root .tgp-ros-adstudiocta__copy { flex-basis: auto; width: 100%; }
	#tgp-ros-root .tgp-ros-adstep__row { flex-direction: column; align-items: stretch; }
	#tgp-ros-root .tgp-ros-adstep__row .tgp-ros-btn { width: 100%; }
	#tgp-ros-root .tgp-ros-adconnbar__grid { grid-template-columns: 1fr !important; }
}

/* ── Marketing API tier progress (admin-only, Ads page) ── */
#tgp-ros-root .tgp-ros-apiquota {
	margin: 14px 0 4px;
	padding: 12px 14px;
	border: 1px dashed rgba(168, 85, 247, 0.35);
	border-radius: 10px;
	background: rgba(168, 85, 247, 0.06);
}
#tgp-ros-root .tgp-ros-apiquota__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
#tgp-ros-root .tgp-ros-apiquota__row strong { font-size: 12px !important; color: #e9d5ff !important; text-transform: none !important; }
#tgp-ros-root .tgp-ros-apiquota__row span { font-size: 12px; color: rgba(255, 255, 255, 0.72); }
#tgp-ros-root .tgp-ros-apiquota__bar {
	position: relative;
	height: 5px;
	margin: 9px 0 7px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.09);
	overflow: hidden;
}
#tgp-ros-root .tgp-ros-apiquota__bar > span {
	display: block;
	height: 100%;
	border-radius: 99px;
	background: linear-gradient(90deg, #a855f7, #f0abfc);
}
#tgp-ros-root .tgp-ros-apiquota small { font-size: 11px; color: rgba(255, 255, 255, 0.42); text-transform: none !important; }

/* ── Vibe grid: iOS Safari collapsed the aspect-ratio cards into overlapping
     rows — give phones explicit row heights instead of ratio-derived ones. ── */
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-vibegrid:not(.tgp-ros-vibegrid--ts) {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		grid-auto-rows: 132px !important;
		max-height: 296px;
	}
	#tgp-ros-root .tgp-ros-vibegrid:not(.tgp-ros-vibegrid--ts) .tgp-ros-vibecard {
		aspect-ratio: auto !important;
		height: 100% !important;
		width: 100% !important;
	}
	#tgp-ros-root .tgp-ros-vibecard--wide {
		aspect-ratio: auto !important;
		height: 104px !important;
	}
}

/* ── Aesthetic cut: length selector ── */
#tgp-ros-root .tgp-ros-aesclen {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 16px 0 12px;
	flex-wrap: wrap;
}
#tgp-ros-root .tgp-ros-aesclen__label {
	font-size: 13px !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #e9d5ff;
	font-weight: 600;
	margin-right: 2px;
}
#tgp-ros-root .tgp-ros-aesclen__opt {
	display: inline-flex !important;
	align-items: baseline;
	gap: 7px;
	padding: 8px 14px !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 99px !important;
	background: rgba(255, 255, 255, 0.04) !important;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	line-height: 1.2 !important;
	min-height: 0 !important;
	text-transform: none !important;
}
#tgp-ros-root .tgp-ros-aesclen__opt strong { font-size: 13px; color: #fff; }
#tgp-ros-root .tgp-ros-aesclen__opt small { font-size: 11px; color: rgba(255, 255, 255, 0.5); text-transform: none !important; }
#tgp-ros-root .tgp-ros-aesclen__opt.is-active {
	border-color: #a855f7 !important;
	box-shadow: 0 0 0 1px #a855f7, 0 4px 14px rgba(168, 85, 247, 0.3) !important;
	background: rgba(168, 85, 247, 0.12) !important;
}

/* ── Connected accounts card (social calendar, 2026-09-04) ────────────── */
#tgp-ros-root .tgp-ros-connacc { margin-top: 18px; padding: 22px 24px; }
#tgp-ros-root .tgp-ros-connacc .tgp-card__head { padding: 0; margin-bottom: 6px; }
#tgp-ros-root .tgp-ros-connacc__rows { display: flex; flex-direction: column; }
#tgp-ros-root .tgp-ros-connacc__row { display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--tgp-border, rgba(148, 163, 184, 0.14)); }
#tgp-ros-root .tgp-ros-connacc__row:last-child { border-bottom: 0; }
#tgp-ros-root .tgp-ros-connacc__icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--tgp-surface-high, rgba(148, 163, 184, 0.1)); color: var(--tgp-text-dim, #a1a1aa); flex: none; overflow: hidden; }
#tgp-ros-root .tgp-ros-connacc__icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
#tgp-ros-root .tgp-ros-connacc__meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#tgp-ros-root .tgp-ros-connacc__name { font-weight: 600; font-size: 14px; color: var(--tgp-text, #f4f4f5); line-height: 1.2; }
#tgp-ros-root .tgp-ros-connacc__sub { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--tgp-text-faint, #71717a); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-connacc__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tgp-text-faint, #71717a); flex: none; }
#tgp-ros-root .tgp-ros-connacc__dot.is-on { background: #34d399; box-shadow: 0 0 6px rgba(52, 211, 153, 0.5); }
#tgp-ros-root .tgp-ros-connacc__btn { margin-left: auto; flex: none; }
#tgp-ros-root button.tgp-ros-connacc__btn:hover:not(:disabled) { color: #fb7185 !important; border-color: rgba(251, 113, 133, 0.45) !important; }
#tgp-ros-root .tgp-ros-connacc .tgp-ros-form__note { padding: 0; margin: 12px 0 0; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-connacc { padding: 18px 16px; }
}

/* ── TikTok inbox-draft chips (2026-09-04): amber until posted from the app ── */
#tgp-ros-root .tgp-ros-scal__chip--posted.is-local { cursor: pointer; }
#tgp-ros-root .tgp-ros-scal__chip--posted.is-inbox {
	background: rgba(245, 158, 11, 0.12) !important;
	border-color: rgba(245, 158, 11, 0.35) !important;
	color: #fcd34d !important;
}
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-scal__chip--posted.is-inbox { background: #f59e0b !important; }
}

/* ── Aesthetic panel: transitions, effects chips, own clips (2026-09-08) ── */
#tgp-ros-root .tgp-ros-aescrow { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: flex-start; margin: 14px 0; }
#tgp-ros-root .tgp-ros-aescrow__sel { display: flex; flex-direction: column; gap: 6px; min-width: 190px; font-size: 12px; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-aescfx { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#tgp-ros-root .tgp-ros-aescfx__label { font-size: 12px; color: var(--tgp-text-dim, #a1a1aa); margin-right: 2px; }
#tgp-ros-root button.tgp-ros-fxchip {
	background-image: linear-gradient(rgba(148, 163, 184, 0.10), rgba(148, 163, 184, 0.10));
	border: 1px solid var(--tgp-border, rgba(148, 163, 184, 0.25)) !important;
	border-radius: 999px !important;
	padding: 6px 13px !important;
	font-size: 12px !important;
	color: var(--tgp-text-dim, #cbd5e1) !important;
	cursor: pointer;
}
#tgp-ros-root button.tgp-ros-fxchip.is-active {
	background-image: linear-gradient(rgba(168, 85, 247, 0.22), rgba(168, 85, 247, 0.22));
	border-color: #a855f7 !important;
	color: #e9d5ff !important;
}
#tgp-ros-root .tgp-ros-aescown { margin: 14px 0; }
#tgp-ros-root .tgp-ros-aescown__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
#tgp-ros-root button.tgp-ros-ownclip {
	width: 74px; height: 118px; padding: 0 !important; overflow: hidden;
	border: 2px solid var(--tgp-border, rgba(148, 163, 184, 0.25)) !important;
	border-radius: 12px !important; cursor: pointer; background-image: linear-gradient(#111, #111);
}
#tgp-ros-root button.tgp-ros-ownclip video { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.85; }
#tgp-ros-root button.tgp-ros-ownclip.is-active { border-color: #a855f7 !important; box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.35); }
#tgp-ros-root button.tgp-ros-ownclip.is-active video { opacity: 1; }

/* ── Aesthetic panel v2: colour swatches, font chips, upload tile (2026-09-08) ── */
#tgp-ros-root .tgp-ros-aescstylerow { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
#tgp-ros-root .tgp-ros-aesccolor, #tgp-ros-root .tgp-ros-aescfont { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#tgp-ros-root button.tgp-ros-colswatch {
	width: 30px; height: 30px; border-radius: 50% !important; padding: 0 !important; cursor: pointer;
	border: 2px solid rgba(148, 163, 184, 0.3) !important;
}
#tgp-ros-root button.tgp-ros-colswatch.is-active { border-color: #a855f7 !important; box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.4); }
#tgp-ros-root .tgp-ros-colcustom { width: 30px; height: 30px; padding: 0; border: 2px dashed rgba(148, 163, 184, 0.4); border-radius: 50%; background: transparent; cursor: pointer; }
#tgp-ros-root button.tgp-ros-fontchip {
	background-image: linear-gradient(rgba(148, 163, 184, 0.10), rgba(148, 163, 184, 0.10));
	border: 1px solid var(--tgp-border, rgba(148, 163, 184, 0.25)) !important;
	border-radius: 10px !important; padding: 6px 12px !important; font-size: 14px !important;
	color: var(--tgp-text, #e4e4e7) !important; cursor: pointer;
}
#tgp-ros-root button.tgp-ros-fontchip.is-active { border-color: #a855f7 !important; background-image: linear-gradient(rgba(168, 85, 247, 0.20), rgba(168, 85, 247, 0.20)); }
#tgp-ros-root button.tgp-ros-ownclip--add {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	color: var(--tgp-text-dim, #a1a1aa) !important; font-size: 11px !important;
	border-style: dashed !important; background-image: linear-gradient(rgba(148, 163, 184, 0.06), rgba(148, 163, 184, 0.06));
}
#tgp-ros-root button.tgp-ros-ownclip--add.is-busy { opacity: 0.5; pointer-events: none; }
#tgp-ros-root [data-ros-aesc-fxgrid] .tgp-ros-vibecard { position: relative; }
#tgp-ros-root [data-ros-aesc-fxgrid] .tgp-ros-vibecard video,
#tgp-ros-root [data-ros-aesc-trgrid] .tgp-ros-vibecard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#tgp-ros-root [data-ros-aesc-fxgrid] .tgp-ros-vibecard.is-active { outline: 2px solid #a855f7; outline-offset: -2px; }

/* ── Aesthetic panel v3: footage sources, fixed colour swatches (2026-09-08) ── */
#tgp-ros-root button.tgp-ros-colswatch i { display: block; width: 100%; height: 100%; border-radius: 50%; }
#tgp-ros-root .tgp-ros-colcustomwrap { position: relative; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; cursor: pointer; display: inline-block; border: 2px dashed rgba(148, 163, 184, 0.45); }
#tgp-ros-root .tgp-ros-colcustomwrap__ring { position: absolute; inset: 2px; border-radius: 50%; background: conic-gradient(#f43f5e, #f59e0b, #22c55e, #38bdf8, #a855f7, #f43f5e); }
#tgp-ros-root .tgp-ros-colcustomwrap input.tgp-ros-colcustom { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; opacity: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; cursor: pointer; }
#tgp-ros-root .tgp-ros-srcgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
#tgp-ros-root button.tgp-ros-srccard {
	display: flex; align-items: center; gap: 12px; text-align: left;
	padding: 10px 12px !important; border-radius: 14px !important;
	border: 1px solid var(--tgp-border, rgba(148, 163, 184, 0.25)) !important;
	background-image: linear-gradient(rgba(148, 163, 184, 0.07), rgba(148, 163, 184, 0.07)); cursor: pointer;
}
#tgp-ros-root button.tgp-ros-srccard img, #tgp-ros-root .tgp-ros-srccard__ico { width: 46px; height: 64px; border-radius: 9px; object-fit: cover; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(148, 163, 184, 0.12); color: #cbd5e1; }
#tgp-ros-root button.tgp-ros-srccard > span:last-child { display: flex; flex-direction: column; gap: 3px; }
#tgp-ros-root button.tgp-ros-srccard strong { font-size: 13px !important; color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root button.tgp-ros-srccard small { font-size: 11px; color: var(--tgp-text-faint, #9ca3af); }
#tgp-ros-root button.tgp-ros-srccard.is-active { border-color: #a855f7 !important; background-image: linear-gradient(rgba(168, 85, 247, 0.16), rgba(168, 85, 247, 0.16)); }
#tgp-ros-root .tgp-ros-aescstock { margin-top: 10px; }
#tgp-ros-root .tgp-ros-aescown.is-highlight { outline: 1px dashed rgba(168, 85, 247, 0.5); outline-offset: 8px; border-radius: 8px; }

/* ── Own-clip upload state (2026-09-08) ── */
#tgp-ros-root .tgp-ros-ownclip.is-uploading {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	width: 74px; height: 118px; border-radius: 12px; overflow: hidden;
	border: 2px dashed rgba(168, 85, 247, 0.55); background: rgba(168, 85, 247, 0.08);
	color: var(--tgp-text-dim, #cbd5e1); animation: tgp-ros-uppulse 1.4s ease-in-out infinite;
}
#tgp-ros-root .tgp-ros-ownclip.is-uploading small { font-size: 9px; max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-ownclip.is-uploading .tgp-ros-spinner { width: 20px; height: 20px; border-width: 2px; }
#tgp-ros-root .tgp-ros-ownclip__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, 0.12); }
#tgp-ros-root .tgp-ros-ownclip__bar i { display: block; height: 100%; width: 0; background: #a855f7; transition: width 0.2s ease; }
#tgp-ros-root .tgp-ros-ownclip.is-uploading.is-processing .tgp-ros-ownclip__bar i { width: 100% !important; background: #34d399; }
#tgp-ros-root .tgp-ros-ownclip.is-new { animation: tgp-ros-uppop 0.6s ease-out; }
#tgp-ros-root button.tgp-ros-ownclip--add.is-busy { opacity: 1; pointer-events: none; border-color: rgba(168, 85, 247, 0.6) !important; }
#tgp-ros-root button.tgp-ros-ownclip--add.is-busy svg { opacity: 0.35; }
@keyframes tgp-ros-uppulse { 0%, 100% { border-color: rgba(168, 85, 247, 0.35); } 50% { border-color: rgba(168, 85, 247, 0.9); } }
@keyframes tgp-ros-uppop { 0% { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.6); } 100% { transform: scale(1); box-shadow: 0 0 0 10px rgba(168, 85, 247, 0); } }

/* ── Stock picker + visualizer modes (2026-09-08) ── */
#tgp-ros-root .tgp-ros-aescstock__row { display: flex; gap: 8px; align-items: center; }
#tgp-ros-root .tgp-ros-aescstock__row .tgp-field { flex: 1; }
#tgp-ros-root .tgp-ros-stockgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 10px; }
#tgp-ros-root .tgp-ros-stocktile { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 9 / 16; background: #111; }
#tgp-ros-root .tgp-ros-stocktile img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tgp-ros-root .tgp-ros-stocktile small { position: absolute; left: 6px; bottom: 6px; right: 6px; font-size: 10px; color: #e5e7eb; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-aescviz { margin-top: 12px; }
#tgp-ros-root [data-ros-aesc-vizgrid] .tgp-ros-vibecard { position: relative; }
#tgp-ros-root [data-ros-aesc-vizgrid] .tgp-ros-vibecard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#tgp-ros-root [data-ros-aesc-vizgrid] .tgp-ros-vibecard.is-active { outline: 2px solid #a855f7; outline-offset: -2px; }

/* ── SEER cross-promo inside the visualizer section (2026-09-09) ── */
#tgp-ros-root .tgp-ros-seercta { display: flex; gap: 14px; align-items: center; margin-top: 14px; padding: 12px; border-radius: 14px; text-decoration: none !important; border: 1px solid rgba(101, 64, 245, 0.45); background: linear-gradient(135deg, rgba(101, 64, 245, 0.16), rgba(101, 64, 245, 0.04)); transition: border-color 0.2s, transform 0.2s; }
#tgp-ros-root .tgp-ros-seercta:hover { border-color: #8b6cf3; transform: translateY(-1px); }
#tgp-ros-root .tgp-ros-seercta__media { width: 96px; height: 64px; border-radius: 10px; overflow: hidden; flex: none; background: #0b0710; }
#tgp-ros-root .tgp-ros-seercta__media video, #tgp-ros-root .tgp-ros-seercta__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tgp-ros-root .tgp-ros-seercta__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#tgp-ros-root .tgp-ros-seercta__body strong { font-size: 14px; color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-seercta__body span { font-size: 12px; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-seercta__body em { font-style: normal; font-size: 12px; font-weight: 600; color: #c4b5fd; margin-top: 2px; }

/* ── SEER visuals source (headless render of our free visualizer) ── */
#tgp-ros-root .tgp-ros-aescseer { margin-top: 12px; }
#tgp-ros-root .tgp-ros-vibegrid--seer { max-height: 330px; }
#tgp-ros-root .tgp-ros-seerpals, #tgp-ros-root .tgp-ros-seerlays { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
#tgp-ros-root button.tgp-ros-seerpal, #tgp-ros-root button.tgp-ros-seerlay {
	display: inline-flex !important; align-items: center; gap: 8px; padding: 5px 12px 5px 6px !important;
	border: 1px solid rgba(148, 163, 184, 0.22) !important; border-radius: 999px !important;
	background-color: rgba(15, 23, 42, 0.45) !important; color: #e5e7eb !important; font-size: 12px !important; line-height: 1 !important; cursor: pointer;
}
#tgp-ros-root button.tgp-ros-seerpal:hover, #tgp-ros-root button.tgp-ros-seerlay:hover { border-color: rgba(168, 85, 247, 0.6) !important; }
#tgp-ros-root button.tgp-ros-seerpal.is-active, #tgp-ros-root button.tgp-ros-seerlay.is-active { border-color: #a855f7 !important; box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.32); }
#tgp-ros-root button.tgp-ros-seerpal i { display: block; width: 36px; height: 18px; border-radius: 999px; flex: none; }
#tgp-ros-root button.tgp-ros-seerlay { border-radius: 10px !important; }
#tgp-ros-root .tgp-ros-seerlay__mini { position: relative; display: block; width: 24px; height: 40px; border-radius: 4px; background: rgba(148, 163, 184, 0.14); overflow: hidden; flex: none; }
#tgp-ros-root .tgp-ros-seerlay__mini b { position: absolute; box-sizing: border-box; background: rgba(226, 232, 240, 0.72); border: 1px solid rgba(15, 23, 42, 0.9); border-radius: 2px; }

/* ── Release card modal ── */
.tgp-ros-modal__panel.tgp-ros-optmodal.tgp-ros-cardmodal { max-width: 980px; }
#tgp-ros-root .tgp-ros-cardmodal__body { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 26px; align-items: start; }
#tgp-ros-root .tgp-ros-cardmodal__preview { position: sticky; top: 0; display: flex; flex-direction: column; gap: 10px; }
#tgp-ros-root .tgp-ros-cardmodal__opts { max-height: min(62vh, 640px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
#tgp-ros-root .tgp-ros-cardprev { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09)); aspect-ratio: 1 / 1; transition: aspect-ratio 0.2s ease; }
#tgp-ros-root .tgp-ros-cardprev.is-story { aspect-ratio: 9 / 16; }
#tgp-ros-root .tgp-ros-cardprev.is-portrait { aspect-ratio: 4 / 5; }
#tgp-ros-root .tgp-ros-cardprev.is-wide { aspect-ratio: 16 / 9; }
#tgp-ros-root .tgp-ros-cardprev img { display: block; width: 100%; height: 100%; object-fit: cover; }
#tgp-ros-root .tgp-ros-cardprev__spin { position: absolute; right: 10px; top: 10px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.25); border-top-color: #fff; animation: tgp-ros-spin 0.8s linear infinite; }
@keyframes tgp-ros-spin { to { transform: rotate(360deg); } }
#tgp-ros-root .tgp-ros-cardfmts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
#tgp-ros-root button.tgp-ros-cardfmt { display: flex !important; flex-direction: column; align-items: center; gap: 6px; padding: 9px 4px !important; border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09)) !important; border-radius: 10px !important; background: rgba(255, 255, 255, 0.02) !important; color: var(--tgp-text-dim, #a1a1aa) !important; font-size: 11.5px !important; line-height: 1.2 !important; cursor: pointer; }
#tgp-ros-root button.tgp-ros-cardfmt i { display: block; border: 2px solid currentColor; border-radius: 3px; opacity: 0.7; }
#tgp-ros-root button.tgp-ros-cardfmt span { display: flex; flex-direction: column; align-items: center; gap: 1px; }
#tgp-ros-root button.tgp-ros-cardfmt small { font-size: 10px; opacity: 0.7; }
#tgp-ros-root button.tgp-ros-cardfmt.is-active { border-color: #a855f7 !important; color: #f4f4f5 !important; background-image: linear-gradient(rgba(168, 85, 247, 0.16), rgba(168, 85, 247, 0.16)); }
#tgp-ros-root button.tgp-ros-cardfmt.is-preview { box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.4); }
#tgp-ros-root .tgp-ros-cardtpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
#tgp-ros-root button.tgp-ros-cardtpl { display: flex !important; flex-direction: column; gap: 3px; padding: 6px 6px 9px !important; border: 1px solid var(--tgp-border, rgba(255, 255, 255, 0.09)) !important; border-radius: 10px !important; background: rgba(255, 255, 255, 0.02) !important; cursor: pointer; text-align: left !important; white-space: normal !important; }
#tgp-ros-root .tgp-ros-cardtpl__thumb { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 7px; overflow: hidden; background: rgba(148, 163, 184, 0.12); margin-bottom: 4px; }
#tgp-ros-root .tgp-ros-cardtpl__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
#tgp-ros-root .tgp-ros-cardtpl__thumb img:not([src]) { visibility: hidden; }
#tgp-ros-root button.tgp-ros-cardtpl strong { font-size: 12px; color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root button.tgp-ros-cardtpl small { font-size: 10.5px; line-height: 1.3; color: var(--tgp-text-faint, #9ca3af); }
#tgp-ros-root button.tgp-ros-cardtpl:hover { border-color: rgba(168, 85, 247, 0.5) !important; }
#tgp-ros-root button.tgp-ros-cardtpl.is-active { border-color: #a855f7 !important; background-image: linear-gradient(rgba(168, 85, 247, 0.14), rgba(168, 85, 247, 0.14)); }
#tgp-ros-root .tgp-ros-cardchips { display: flex; flex-wrap: wrap; gap: 7px; }
#tgp-ros-root button.tgp-ros-cardchip { display: inline-flex !important; align-items: center; padding: 6px 12px !important; border: 1px solid rgba(148, 163, 184, 0.22) !important; border-radius: 999px !important; background-color: rgba(15, 23, 42, 0.45) !important; color: #d4d4d8 !important; font-size: 12px !important; line-height: 1 !important; cursor: pointer; }
#tgp-ros-root button.tgp-ros-cardchip:hover { border-color: rgba(168, 85, 247, 0.6) !important; }
#tgp-ros-root button.tgp-ros-cardchip.is-active { border-color: #a855f7 !important; color: #fff !important; background-image: linear-gradient(rgba(168, 85, 247, 0.22), rgba(168, 85, 247, 0.22)); }
#tgp-ros-root .tgp-ros-cardcolors { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (max-width: 860px) {
	#tgp-ros-root .tgp-ros-cardmodal__body { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-cardmodal__preview { position: static; }
	#tgp-ros-root .tgp-ros-cardprev { max-width: 260px; margin: 0 auto; }
	#tgp-ros-root .tgp-ros-cardmodal__opts { max-height: none; overflow: visible; }
}
#tgp-ros-root button.tgp-ros-seerlay span, #tgp-ros-root button.tgp-ros-seerpal span { display: flex; flex-direction: column; gap: 2px; text-align: left; }
#tgp-ros-root button.tgp-ros-seerlay small { font-size: 10.5px; color: var(--tgp-text-faint, #9ca3af); }
#tgp-ros-root .tgp-ros-aescfx__label.is-short { color: #fbbf24; }
#tgp-ros-root button.tgp-ros-seeropt { padding: 7px 14px !important; }
#tgp-ros-root button.tgp-ros-seeropt::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid rgba(148, 163, 184, 0.6); flex: none; }
#tgp-ros-root button.tgp-ros-seeropt.is-active::before { background: #a855f7; border-color: #a855f7; }
#tgp-ros-root .tgp-ros-aescroadmap { margin: -4px 0 10px; opacity: 0.8; }
#tgp-ros-root .tgp-ros-cardtpls { max-height: 420px; overflow-y: auto; scrollbar-width: thin; padding: 2px; }

/* ── Layers: big opt-in switch cards (lyrics / transitions / effects) ── */
#tgp-ros-root .tgp-ros-layers { margin: 18px 0 6px; }
#tgp-ros-root .tgp-ros-layers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin-top: 10px; }
#tgp-ros-root button.tgp-ros-layer {
	display: flex !important; align-items: center; gap: 12px; padding: 14px 14px 14px 12px !important; text-align: left !important; white-space: normal !important;
	border: 1px solid rgba(148, 163, 184, 0.22) !important; border-radius: 14px !important; background-color: rgba(15, 23, 42, 0.45) !important; color: #e5e7eb !important; cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
#tgp-ros-root button.tgp-ros-layer:hover { border-color: rgba(168, 85, 247, 0.55) !important; }
#tgp-ros-root button.tgp-ros-layer.is-active { border-color: #a855f7 !important; background-image: linear-gradient(rgba(168, 85, 247, 0.16), rgba(168, 85, 247, 0.16)); }
#tgp-ros-root .tgp-ros-layer__ico { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(148, 163, 184, 0.12); color: #cbd5e1; flex: none; }
#tgp-ros-root button.tgp-ros-layer.is-active .tgp-ros-layer__ico { background: rgba(168, 85, 247, 0.28); color: #f3e8ff; }
#tgp-ros-root .tgp-ros-layer__body { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
#tgp-ros-root .tgp-ros-layer__body strong { font-size: 14px !important; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-layer__body small { font-size: 11.5px; line-height: 1.35; color: var(--tgp-text-faint, #9ca3af); }
#tgp-ros-root .tgp-ros-layer__switch { position: relative; width: 40px; height: 22px; border-radius: 999px; background: rgba(148, 163, 184, 0.3); flex: none; transition: background 0.15s ease; }
#tgp-ros-root .tgp-ros-layer__switch i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.15s ease; }
#tgp-ros-root button.tgp-ros-layer.is-active .tgp-ros-layer__switch { background: #a855f7; }
#tgp-ros-root button.tgp-ros-layer.is-active .tgp-ros-layer__switch i { transform: translateX(18px); }
/* selectable stock tiles */
#tgp-ros-root button.tgp-ros-stocktile { padding: 0 !important; border: 2px solid transparent !important; cursor: pointer; display: block; width: 100%; }
#tgp-ros-root button.tgp-ros-stocktile i { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.85); background: rgba(0, 0, 0, 0.35); }
#tgp-ros-root button.tgp-ros-stocktile.is-active { border-color: #a855f7 !important; }
#tgp-ros-root button.tgp-ros-stocktile.is-active i { background: #a855f7; border-color: #a855f7; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.95); }
/* stock picks tray: ordered, rearrangeable */
#tgp-ros-root .tgp-ros-stocktray { margin-top: 14px; padding: 12px 14px 14px; border: 1px solid rgba(168, 85, 247, 0.35); border-radius: 12px; background: rgba(168, 85, 247, 0.06); }
#tgp-ros-root .tgp-ros-stocktray__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
#tgp-ros-root .tgp-ros-stockpickitem { position: relative; width: 84px; aspect-ratio: 9 / 16; border-radius: 9px; overflow: hidden; background: #111; border: 1px solid rgba(255, 255, 255, 0.1); }
#tgp-ros-root .tgp-ros-stockpickitem img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tgp-ros-root .tgp-ros-stockpickitem b { position: absolute; top: 6px; left: 6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #a855f7; color: #fff; font-size: 12px; line-height: 22px; text-align: center; }
#tgp-ros-root .tgp-ros-stockpickitem__acts { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 4px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); }
#tgp-ros-root .tgp-ros-stockpickitem__acts button { width: 24px; height: 24px; padding: 0 !important; border: 0 !important; border-radius: 6px !important; background: rgba(255, 255, 255, 0.16) !important; color: #fff !important; font-size: 15px !important; line-height: 24px !important; cursor: pointer; }
#tgp-ros-root .tgp-ros-stockpickitem__acts button:hover { background: rgba(168, 85, 247, 0.85) !important; }
#tgp-ros-root .tgp-ros-stockpickitem__acts button[disabled] { opacity: 0.3; cursor: default; }
#tgp-ros-root .tgp-ros-stockgrid { max-height: 520px; overflow-y: auto; scrollbar-width: thin; padding: 2px; }
#tgp-ros-root .tgp-ros-stockgrid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 900px) { #tgp-ros-root .tgp-ros-stockgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
#tgp-ros-root .tgp-ros-stockmore { display: flex; justify-content: center; margin-top: 12px; }
/* lightbox sized to the media's aspect; native fullscreen hidden (it letterboxes vertical clips) */
.tgp-ros-lightbox__stage.is-sized { aspect-ratio: var(--ar, 0.5625); height: min(90vh, calc(92vw / var(--ar, 0.5625))); width: auto; max-width: 92vw; }
.tgp-ros-lightbox__stage.is-sized img, .tgp-ros-lightbox__stage.is-sized video { width: 100%; height: 100%; max-height: none; object-fit: cover; }
#tgp-ros-root video.tgp-ros-mediacard__media::-webkit-media-controls-fullscreen-button, .tgp-ros-lightbox__stage video::-webkit-media-controls-fullscreen-button { display: none !important; }
#tgp-ros-root .tgp-ros-hookplace { margin: 8px 0 14px; display: flex; flex-direction: column; gap: 8px; }
#tgp-ros-root .tgp-ros-stockgrid { position: relative; scroll-behavior: smooth; }
@keyframes tgp-ros-newtile { 0% { box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.9); } 100% { box-shadow: 0 0 0 3px rgba(168, 85, 247, 0); } }
#tgp-ros-root button.tgp-ros-stocktile.is-new { animation: tgp-ros-newtile 1.6s ease-out; }
/* "General artist ideas" is the secondary choice next to the release dropdown */
#tgp-ros-root .tgp-ros-relpick__item--general { border-style: dashed !important; opacity: 0.75; font-size: 12.5px !important; }
#tgp-ros-root .tgp-ros-relpick__item--general:hover, #tgp-ros-root .tgp-ros-relpick__item--general.is-active { opacity: 1; }
#tgp-ros-root .tgp-ros-hooktype { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 8px; }

#tgp-ros-root .tgp-ros-relpick__item--general .tgp-ros-relpick__name { max-width: none; white-space: nowrap; }

/* dropdown rows: the active check sits inside the row, not on its clipped corner */
#tgp-ros-root .tgp-ros-rpdd__list .tgp-ros-rpdd__opt.is-active::before { top: 50%; right: 10px; transform: translateY(-50%); box-shadow: none; }
#tgp-ros-root .tgp-ros-rpdd__list .tgp-ros-rpdd__opt.is-active .tgp-ros-rpdd__date { margin-right: 26px; }
#tgp-ros-root .tgp-ros-rpdd__list .tgp-ros-rpdd__opt.is-active { box-shadow: none; }

/* hook placement: mini frame skeletons instead of labels */
#tgp-ros-root .tgp-ros-hookcards { display: flex; flex-wrap: wrap; gap: 10px; }
#tgp-ros-root button.tgp-ros-hookcard { display: flex !important; flex-direction: column; align-items: center; gap: 8px; padding: 8px 10px 9px !important; border: 1px solid rgba(148, 163, 184, 0.22) !important; border-radius: 12px !important; background-color: rgba(15, 23, 42, 0.45) !important; color: #d4d4d8 !important; font-size: 11.5px !important; cursor: pointer; }
#tgp-ros-root button.tgp-ros-hookcard:hover { border-color: rgba(168, 85, 247, 0.6) !important; }
#tgp-ros-root button.tgp-ros-hookcard.is-selected { border-color: #a855f7 !important; color: #fff !important; background-image: linear-gradient(rgba(168, 85, 247, 0.16), rgba(168, 85, 247, 0.16)); }
#tgp-ros-root .tgp-ros-hookcard__frame { position: relative; display: block; width: 54px; height: 96px; border-radius: 7px; overflow: hidden; background: #0b0b10; }
#tgp-ros-root .tgp-ros-hookcard__film { position: absolute; inset: 0; background: linear-gradient(160deg, #6d4ba8 0%, #c9707a 55%, #f3b26b 100%); opacity: 0.85; }
#tgp-ros-root .tgp-ros-hookcard__film.is-window { top: 30px; bottom: 30px; border-radius: 3px; left: 0; right: 0; }
#tgp-ros-root .tgp-ros-hookcard__text { position: absolute; left: 9px; right: 9px; height: 5px; border-radius: 3px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); }
#tgp-ros-root .tgp-ros-hookcard__text::after { content: ''; position: absolute; left: 8px; right: 8px; top: 8px; height: 4px; border-radius: 3px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); }
#tgp-ros-root .tgp-ros-hookcard__text.is-top { top: 14px; }
#tgp-ros-root .tgp-ros-hookcard__text.is-middle { top: 41px; }
#tgp-ros-root .tgp-ros-hookcard__text.is-bottom { top: 70px; }
#tgp-ros-root .tgp-ros-hookcard__text.is-caption { top: 11px; box-shadow: none; }
#tgp-ros-root .tgp-ros-hookcard__text.is-caption::after { box-shadow: none; }
#tgp-ros-root .tgp-ros-hookcard__lyric { position: absolute; left: 16px; right: 16px; top: 56px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.55); }
#tgp-ros-root .tgp-ros-hookcard__lyric.is-up { top: 48px; }
#tgp-ros-root .tgp-ros-hookcard__lyric.is-inwindow { top: 48px; left: 14px; right: 14px; }
#tgp-ros-root .tgp-ros-hookcard.is-selected .tgp-ros-hookcard__frame { box-shadow: 0 0 0 2px #a855f7; }

#tgp-ros-root .tgp-ros-stocktray__lenhint { margin: 8px 0 0; font-size: 12px; color: var(--tgp-text-faint, #9ca3af); }
#tgp-ros-root .tgp-ros-stocktray__lenhint strong { color: #e5e7eb; }
#tgp-ros-root button.tgp-ros-linkbtn { display: inline !important; padding: 0 !important; border: 0 !important; background: none !important; color: #c4b5fd !important; font-size: 12px !important; text-decoration: underline; cursor: pointer; }
#tgp-ros-root .tgp-ros-hookbio { display: inline-block; margin-top: 2px; font-size: 12px; color: #c4b5fd; text-decoration: underline; }
/* [hidden] must beat the !important display on segment options and other reset buttons */
#tgp-ros-root .tgp-ros-seg__opt[hidden], #tgp-ros-root button[hidden], #tgp-ros-root .tgp-ros-vibecard[hidden], #tgp-ros-root .tgp-ros-seerlay[hidden] { display: none !important; }

/* ── AI release-date suggestions (calendar) ──────────────────────────── */
#tgp-ros-root .tgp-ros-calai { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 4px 0 14px; }
#tgp-ros-root .tgp-ros-calai__hint { font-size: 12px; color: var(--tgp-text-faint, #8b8b95); max-width: 520px; line-height: 1.45; }
@media (min-width: 721px) { #tgp-ros-root .tgp-ros-calai__hint { display: none; } }
@media (max-width: 720px) { #tgp-ros-root .tgp-ros-aibtn__tip { display: none; } }

#tgp-ros-root .tgp-ros-pagehead__aside { position: absolute; right: 4px; top: 30px; display: flex; align-items: center; gap: 8px; z-index: 3; }
#tgp-ros-root .tgp-ros-aibtn-wrap { position: relative; display: inline-block; }
#tgp-ros-root .tgp-ros-aibtn { position: relative; display: inline-flex; align-items: center; cursor: pointer; border: 0 !important; border-radius: 999px !important; padding: 0 !important; background: transparent !important; color: #e9d5ff; font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .01em; box-shadow: none !important; }
#tgp-ros-root .tgp-ros-aibtn__inner { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 11px; border-radius: 999px; border: 1px solid rgba(168, 85, 247, .35); background: rgba(168, 85, 247, .09); transition: background .15s ease, border-color .15s ease; }
#tgp-ros-root .tgp-ros-aibtn:hover .tgp-ros-aibtn__inner { background: rgba(168, 85, 247, .16); border-color: rgba(192, 132, 252, .6); }
#tgp-ros-root .tgp-ros-aibtn:focus-visible { outline: 2px solid #c084fc; outline-offset: 2px; }
#tgp-ros-root .tgp-ros-aibtn__spark { color: #c084fc; flex: none; animation: tgpRosAiSpark 3s ease-in-out infinite; transform-origin: 50% 50%; }
#tgp-ros-root .tgp-ros-aibtn__label { display: inline-block; transition: opacity .18s ease, transform .18s ease; white-space: nowrap; }
#tgp-ros-root .tgp-ros-aibtn__label.is-swap { opacity: 0; transform: translateY(-6px); }
#tgp-ros-root .tgp-ros-aibtn__dots { display: none; gap: 3px; align-items: center; }
#tgp-ros-root .tgp-ros-aibtn__dots i { width: 4px; height: 4px; border-radius: 50%; background: #c084fc; animation: tgpRosAiDot 1s ease-in-out infinite; }
#tgp-ros-root .tgp-ros-aibtn__dots i:nth-child(2) { animation-delay: .15s; }
#tgp-ros-root .tgp-ros-aibtn__dots i:nth-child(3) { animation-delay: .3s; }
#tgp-ros-root .tgp-ros-aibtn.is-thinking { cursor: progress; }
#tgp-ros-root .tgp-ros-aibtn.is-thinking .tgp-ros-aibtn__inner { border-color: rgba(192, 132, 252, .7); }
#tgp-ros-root .tgp-ros-aibtn.is-thinking .tgp-ros-aibtn__dots { display: inline-flex; }
#tgp-ros-root .tgp-ros-aibtn.is-thinking .tgp-ros-aibtn__spark { animation-duration: .9s; }
/* Hover tooltip explaining what the AI looks at (right-aligned under the button). */
#tgp-ros-root .tgp-ros-aibtn__tip { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; width: 300px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(168, 85, 247, .35); background: #15151b; color: #c9c9d1; font-size: 12px; line-height: 1.5; font-weight: 500; text-align: left; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .3); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
#tgp-ros-root .tgp-ros-aibtn__tip::before { content: ''; position: absolute; right: 22px; top: -6px; width: 10px; height: 10px; transform: rotate(45deg); background: #15151b; border-left: 1px solid rgba(168, 85, 247, .35); border-top: 1px solid rgba(168, 85, 247, .35); }
#tgp-ros-root .tgp-ros-aibtn__tip b { display: block; margin-bottom: 3px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #c084fc; }
#tgp-ros-root .tgp-ros-aibtn-wrap:hover .tgp-ros-aibtn__tip, #tgp-ros-root .tgp-ros-aibtn-wrap:focus-within .tgp-ros-aibtn__tip { opacity: 1; transform: none; }
#tgp-ros-root .tgp-ros-aibtn.is-thinking ~ .tgp-ros-aibtn__tip, #tgp-ros-root .tgp-ros-aibtn-wrap.is-quiet .tgp-ros-aibtn__tip { opacity: 0 !important; }
/* Pro-trial pill (home head, top right). */
#tgp-ros-root .tgp-ros-trialpill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(251, 191, 36, .28); background: rgba(251, 191, 36, .07); color: #d4d4d8; font-size: 12px; font-weight: 600; text-decoration: none; transition: background .15s ease, border-color .15s ease; }
#tgp-ros-root .tgp-ros-trialpill svg { color: #fbbf24; }
#tgp-ros-root .tgp-ros-trialpill b { color: #fbbf24; font-weight: 700; }
#tgp-ros-root .tgp-ros-trialpill:hover { background: rgba(251, 191, 36, .13); border-color: rgba(251, 191, 36, .5); }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-pagehead__aside { position: static; margin-top: 6px; order: 9; }
	#tgp-ros-root .tgp-ros-pagehead--home .tgp-ros-pagehead__aside { position: absolute; right: 2px; top: 18px; margin: 0; }
	#tgp-ros-root .tgp-ros-trialpill span { display: none; }
}
@keyframes tgpRosAiSpark { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; } 50% { transform: scale(1.18) rotate(18deg); opacity: .8; } }
@keyframes tgpRosAiDot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }

/* Grid: quiet while the model thinks. */
#tgp-ros-root .tgp-ros-cal-grid { position: relative; }
#tgp-ros-root .tgp-ros-cal-grid.is-thinking .tgp-ros-cal-day { opacity: .55; transition: opacity .3s ease; }

/* Suggested and skip days: a thin outline, a small word, nothing else. */
#tgp-ros-root .tgp-ros-cal-day { transition: box-shadow .2s ease, background .2s ease; }
#tgp-ros-root .tgp-ros-cal-day.is-suggested, #tgp-ros-root .tgp-ros-cal-day.is-avoid { cursor: pointer; }
#tgp-ros-root .tgp-ros-cal-day.is-suggested { box-shadow: inset 0 0 0 1px rgba(168, 85, 247, .55); }
#tgp-ros-root .tgp-ros-cal-day.is-suggested .tgp-ros-cal-num { color: #e9d5ff; }
#tgp-ros-root .tgp-ros-cal-day.is-best { box-shadow: inset 0 0 0 1px #a855f7; }
#tgp-ros-root .tgp-ros-cal-day.is-best .tgp-ros-cal-num { background: #a855f7; color: #fff; border-radius: 50%; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; }
#tgp-ros-root .tgp-ros-cal-day.is-suggested:hover, #tgp-ros-root .tgp-ros-cal-day.is-suggested.is-active { background: rgba(168, 85, 247, .08); }
#tgp-ros-root .tgp-ros-cal-day.is-avoid { box-shadow: inset 0 0 0 1px rgba(244, 63, 94, .3); }
#tgp-ros-root .tgp-ros-cal-day.is-avoid:hover, #tgp-ros-root .tgp-ros-cal-day.is-avoid.is-active { background: rgba(244, 63, 94, .05); }
#tgp-ros-root .tgp-ros-cal-sug { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 600; color: #c084fc; letter-spacing: .01em; }
#tgp-ros-root .tgp-ros-cal-day.is-avoid .tgp-ros-cal-sug { color: #fb7185; }

/* Popover: one card, anchored to the day. */
#tgp-ros-root .tgp-ros-calpop { position: absolute; z-index: 40; width: 300px; max-width: calc(100% - 16px); padding: 14px 16px; border-radius: 12px; border: 1px solid var(--tgp-border-strong, rgba(255, 255, 255, .14)); background: #17171b; color: var(--tgp-text, #e4e4e7); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8); animation: tgpRosPopIn .14s ease-out; }
#tgp-ros-root .tgp-ros-calpop[hidden] { display: none; }
#tgp-ros-root .tgp-ros-calpop__close { position: absolute; top: 6px; right: 8px; width: 24px; height: 24px; border-radius: 50% !important; border: 0 !important; background: transparent !important; color: var(--tgp-text-faint, #71717a) !important; font: inherit; font-size: 18px; line-height: 1; cursor: pointer; padding: 0 !important; }
#tgp-ros-root .tgp-ros-calpop__close:hover { color: #fff !important; background: rgba(255,255,255,.08) !important; }
#tgp-ros-root .tgp-ros-calpop__head { padding-right: 26px; }
#tgp-ros-root .tgp-ros-calpop__foot { margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.07); }
#tgp-ros-root .tgp-ros-calpop__next { font: inherit; font-size: 12px; font-weight: 600; color: #c084fc !important; background: none !important; border: 0 !important; padding: 0 !important; cursor: pointer; }
#tgp-ros-root .tgp-ros-calpop__next:hover { color: #fff !important; }
#tgp-ros-root .tgp-ros-calpop__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
#tgp-ros-root .tgp-ros-calpop__head b { font-size: 14px; font-weight: 700; color: #fff; }
#tgp-ros-root .tgp-ros-calpop__head span { flex: none; font-size: 11px; font-weight: 600; color: #c084fc; }
#tgp-ros-root .tgp-ros-calpop__head span.is-skip { color: #fb7185; }
#tgp-ros-root .tgp-ros-calpop__label { font-size: 12px; font-weight: 600; color: #e9d5ff; margin-bottom: 8px; }
#tgp-ros-root .tgp-ros-calpop__score { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
#tgp-ros-root .tgp-ros-calpop__score i { flex: 1; display: block; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
#tgp-ros-root .tgp-ros-calpop__score em { display: block; height: 100%; background: #a855f7; border-radius: inherit; }
#tgp-ros-root .tgp-ros-calpop__score b { font-size: 12px; font-weight: 700; color: #fff; flex: none; }
#tgp-ros-root .tgp-ros-calpop__score small { font-size: 10px; color: var(--tgp-text-faint, #71717a); font-weight: 600; }
#tgp-ros-root .tgp-ros-calpop p { margin: 0; font-size: 12.5px; line-height: 1.55; color: #c9c9d1; }
#tgp-ros-root .tgp-ros-calpop__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
#tgp-ros-root .tgp-ros-calpop__tags span { font-size: 11px; font-weight: 500; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); color: #c9c9d1; }
#tgp-ros-root .tgp-ros-calpop__meta { margin-top: 8px; font-size: 11.5px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-calpop__act { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
@keyframes tgpRosPopIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

/* One-line summary under the grid. */
#tgp-ros-root .tgp-ros-calnote { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--tgp-text-muted, #a1a1aa); }
#tgp-ros-root .tgp-ros-calnote__link { font: inherit; font-size: 12px; font-weight: 600; color: #c084fc; background: none !important; border: 0 !important; padding: 0 !important; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; flex: none; }
#tgp-ros-root .tgp-ros-calnote__link:hover { color: #fff; }
@media (max-width: 720px) {
	#tgp-ros-root .tgp-ros-calai { gap: 8px; padding-bottom: 10px; }
	#tgp-ros-root .tgp-ros-calai__hint { font-size: 11px; }
	#tgp-ros-root .tgp-ros-aibtn__inner { padding: 9px 14px 9px 12px; }
	#tgp-ros-root .tgp-ros-cal-sug { font-size: 9px; }
	#tgp-ros-root .tgp-ros-calpop { width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
	#tgp-ros-root .tgp-ros-aibtn__inner, #tgp-ros-root .tgp-ros-aibtn__inner::after, #tgp-ros-root .tgp-ros-aibtn__spark, #tgp-ros-root .tgp-ros-calpop { animation: none !important; }
}

/* ── Pitch campaigns ───────────────────────────────────────────────── */
#tgp-ros-root .tgp-ros-pcamp__head { align-items: flex-start; gap: 16px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-pcamp__intro { flex: 1 1 320px; min-width: 0; }
#tgp-ros-root .tgp-ros-pcamp__headright { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-pcamp__credits { display: flex; flex-direction: column; align-items: flex-end; font-size: 12.5px; color: var(--tgp-text-muted, #a1a1aa); line-height: 1.3; }
#tgp-ros-root .tgp-ros-pcamp__credits b { color: #e9d5ff; font-size: 14px; }
#tgp-ros-root .tgp-ros-pcamp__credits small { font-size: 11px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-pcamp__list { display: flex; flex-direction: column; gap: 12px; }
#tgp-ros-root .tgp-ros-pcamp__empty { padding: 26px 18px; border: 1px dashed var(--tgp-border, rgba(255,255,255,.1)); border-radius: 14px; text-align: center; }
#tgp-ros-root .tgp-ros-pcamp__empty p { margin: 0; color: var(--tgp-text-muted, #a1a1aa); font-size: 13.5px; max-width: 520px; margin: 0 auto; }
#tgp-ros-root .tgp-ros-pcamp__foot { margin: 12px 0 0; font-size: 11.5px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-pcamp__item { padding: 16px 18px 14px; border-radius: 14px; border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); background: rgba(255,255,255,.02); }
#tgp-ros-root .tgp-ros-pcamp__item.is-running { border-color: rgba(168, 85, 247, .35); background: linear-gradient(160deg, rgba(168,85,247,.07), transparent 60%), rgba(255,255,255,.02); }
#tgp-ros-root .tgp-ros-pcamp__item.is-done { opacity: .92; }
#tgp-ros-root .tgp-ros-pcamp__item.is-cancelled { opacity: .7; }
#tgp-ros-root .tgp-ros-pcamp__top { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-pcamp__who { display: flex; align-items: center; gap: 10px; flex: 1 1 260px; min-width: 0; }
#tgp-ros-root .tgp-ros-pcamp__who b { font-size: 15px; font-weight: 700; color: var(--tgp-text, #f4f4f5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-pcamp__status { flex: none; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.08); color: #a1a1aa; }
#tgp-ros-root .tgp-ros-pcamp__status.is-running { background: rgba(168,85,247,.18); color: #d8b4fe; }
#tgp-ros-root .tgp-ros-pcamp__status.is-running::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #c084fc; margin-right: 5px; animation: tgpRosMgrPulse 1.4s ease-in-out infinite; vertical-align: 1px; }
#tgp-ros-root .tgp-ros-pcamp__status.is-done { background: rgba(16,185,129,.16); color: #34d399; }
#tgp-ros-root .tgp-ros-pcamp__status.is-paused { background: rgba(251,191,36,.14); color: #fbbf24; }
#tgp-ros-root .tgp-ros-pcamp__meta { flex: 1 1 100%; order: 3; font-size: 12px; color: var(--tgp-text-faint, #71717a); margin-top: -4px; }
#tgp-ros-root .tgp-ros-pcamp__actions { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
#tgp-ros-root .tgp-ros-pcamp__bar { position: relative; height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; margin-top: 12px; }
#tgp-ros-root .tgp-ros-pcamp__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7c3aed, #a855f7 60%, #22d3ee); transition: width .6s ease; min-width: 2px; }
#tgp-ros-root .tgp-ros-pcamp__bar.is-live::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); transform: translateX(-100%); animation: tgpRosSkelSweep 2.2s ease-in-out infinite; }
#tgp-ros-root .tgp-ros-pcamp__barlabel { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; font-size: 12px; color: var(--tgp-text-muted, #a1a1aa); }
#tgp-ros-root .tgp-ros-pcamp__barlabel b { color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-pcamp__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin-top: 12px; }
#tgp-ros-root .tgp-ros-pcamp__stat { padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.035); display: flex; flex-direction: column; gap: 1px; }
#tgp-ros-root .tgp-ros-pcamp__stat b { font-size: 16px; font-weight: 800; color: var(--tgp-text, #f4f4f5); line-height: 1.1; }
#tgp-ros-root .tgp-ros-pcamp__stat span { font-size: 10.5px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-pcamp__stat.is-open b { color: #c084fc; }
#tgp-ros-root .tgp-ros-pcamp__stat.is-play b { color: #22d3ee; }
#tgp-ros-root .tgp-ros-pcamp__stat.is-reply b { color: #34d399; }
#tgp-ros-root .tgp-ros-pcamp__stat.is-win b { color: #fbbf24; }
#tgp-ros-root .tgp-ros-pcamp__stat.is-fail b { color: #fb7185; }
#tgp-ros-root .tgp-ros-pcamp__detail { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--tgp-border, rgba(255,255,255,.08)); }
#tgp-ros-root .tgp-ros-pcamp__filters { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
#tgp-ros-root .tgp-ros-pcamp__filters > span { margin-left: auto; font-size: 12px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-pcamp__tablewrap { overflow-x: auto; }
#tgp-ros-root .tgp-ros-pcamp__table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
#tgp-ros-root .tgp-ros-pcamp__table th { text-align: left; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); padding: 6px 8px; border-bottom: 1px solid var(--tgp-border, rgba(255,255,255,.08)); }
#tgp-ros-root .tgp-ros-pcamp__table td { padding: 8px; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: middle; color: var(--tgp-text-muted, #a1a1aa); }
#tgp-ros-root .tgp-ros-pcamp__table td b { display: block; color: var(--tgp-text, #f4f4f5); font-weight: 600; }
#tgp-ros-root .tgp-ros-pcamp__table td small { display: block; font-size: 11px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-pcamp__chip { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; background: rgba(255,255,255,.08); color: #a1a1aa; margin-right: 4px; }
#tgp-ros-root .tgp-ros-pcamp__chip.is-sent, #tgp-ros-root .tgp-ros-pcamp__chip.is-followed { background: rgba(168,85,247,.16); color: #d8b4fe; }
#tgp-ros-root .tgp-ros-pcamp__chip.is-open { background: rgba(192,132,252,.18); color: #e9d5ff; }
#tgp-ros-root .tgp-ros-pcamp__chip.is-play { background: rgba(34,211,238,.16); color: #67e8f9; }
#tgp-ros-root .tgp-ros-pcamp__chip.is-reply { background: rgba(16,185,129,.16); color: #34d399; }
#tgp-ros-root .tgp-ros-pcamp__chip.is-fail, #tgp-ros-root .tgp-ros-pcamp__chip.is-failed, #tgp-ros-root .tgp-ros-pcamp__chip.is-bounced { background: rgba(244,63,94,.14); color: #fb7185; }
#tgp-ros-root .tgp-ros-pcamp__acts { white-space: nowrap; text-align: right; }
#tgp-ros-root .tgp-ros-pcamp__mini { font: inherit; font-size: 11px; font-weight: 600; padding: 3px 8px !important; border-radius: 999px !important; border: 1px solid var(--tgp-border, rgba(255,255,255,.12)) !important; background: transparent !important; color: #c9c9d1 !important; cursor: pointer; margin-left: 4px; }
#tgp-ros-root .tgp-ros-pcamp__mini:hover { border-color: #c084fc !important; color: #fff !important; }
#tgp-ros-root .tgp-ros-pcamp__mini.is-danger:hover { border-color: #fb7185 !important; color: #fb7185 !important; }
#tgp-ros-root .tgp-ros-pcamp__pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--tgp-text-faint, #71717a); }
/* Wizard */
#tgp-ros-root .tgp-ros-pcampmodal { width: min(760px, 100%); }
#tgp-ros-root .tgp-ros-pcampsteps { display: flex; gap: 14px; list-style: none; margin: 6px 0 0; padding: 0; }
#tgp-ros-root .tgp-ros-pcampsteps li { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); display: inline-flex; align-items: center; gap: 6px; }
#tgp-ros-root .tgp-ros-pcampsteps li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.15); }
#tgp-ros-root .tgp-ros-pcampsteps li.is-on { color: #e9d5ff; }
#tgp-ros-root .tgp-ros-pcampsteps li.is-on::before { background: #a855f7; box-shadow: 0 0 0 3px rgba(168,85,247,.25); }
#tgp-ros-root .tgp-ros-pcampsteps li.is-done { color: #34d399; }
#tgp-ros-root .tgp-ros-pcampsteps li.is-done::before { background: #34d399; }
#tgp-ros-root .tgp-ros-pcampstep { display: flex; flex-direction: column; gap: 14px; }
#tgp-ros-root .tgp-ros-pcampstep[hidden] { display: none; }
#tgp-ros-root .tgp-ros-pcamp__types { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
#tgp-ros-root .tgp-ros-pcamp__type { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px !important; border-radius: 12px !important; border: 1px solid var(--tgp-border, rgba(255,255,255,.1)) !important; background: rgba(255,255,255,.03) !important; cursor: pointer; text-align: left; transition: border-color .15s ease, background .15s ease; }
#tgp-ros-root .tgp-ros-pcamp__type b { font-size: 13px; color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-pcamp__type span { font-size: 11px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-pcamp__type.is-on { border-color: #a855f7 !important; background: rgba(168,85,247,.14) !important; }
#tgp-ros-root .tgp-ros-pcamp__type.is-on b { color: #e9d5ff; }
#tgp-ros-root .tgp-ros-pcamp__row { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
#tgp-ros-root .tgp-ros-pcamp__reach { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(168,85,247,.25); background: rgba(168,85,247,.06); transition: opacity .2s ease; }
#tgp-ros-root .tgp-ros-pcamp__reach.is-loading { opacity: .5; }
#tgp-ros-root .tgp-ros-pcamp__reachnum { font-size: 13px; color: var(--tgp-text-muted, #a1a1aa); }
#tgp-ros-root .tgp-ros-pcamp__reachnum b { font-size: 22px; font-weight: 800; color: #e9d5ff; margin-right: 4px; }
#tgp-ros-root .tgp-ros-pcamp__reachby { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font-size: 12px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-pcamp__sample { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
#tgp-ros-root .tgp-ros-pcamp__sample span { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.06); color: #d4d4d8; }
#tgp-ros-root .tgp-ros-pcamp__sizer { display: flex; align-items: center; gap: 12px; }
#tgp-ros-root .tgp-ros-pcamp__sizer input[type="range"] { flex: 1; accent-color: #a855f7; }
#tgp-ros-root .tgp-ros-pcamp__sizeinput { width: 110px !important; flex: none; }
#tgp-ros-root .tgp-ros-pcampmodal__foot { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
#tgp-ros-root .tgp-ros-pcamp__writing { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--tgp-text-muted, #a1a1aa); }
#tgp-ros-root .tgp-ros-pcamp__draft { display: flex; flex-direction: column; gap: 12px; }
#tgp-ros-root .tgp-ros-pcamp__check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--tgp-text, #e4e4e7); cursor: pointer; }
#tgp-ros-root .tgp-ros-pcamp__check input { margin-top: 3px; accent-color: #a855f7; }
#tgp-ros-root .tgp-ros-pcamp__summary { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); border-radius: 12px; overflow: hidden; }
#tgp-ros-root .tgp-ros-pcamp__summary > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.05); }
#tgp-ros-root .tgp-ros-pcamp__summary > div span { color: var(--tgp-text-faint, #71717a); flex: none; }
#tgp-ros-root .tgp-ros-pcamp__summary > div b { color: var(--tgp-text, #f4f4f5); font-weight: 600; text-align: right; }
#tgp-ros-root .tgp-ros-pcamp__short { margin: 0; padding: 12px 14px; font-size: 13px; color: #fbbf24; background: rgba(251,191,36,.08); }
#tgp-ros-root .tgp-ros-pcamp__packgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 8px; }
#tgp-ros-root .tgp-ros-pcamp__pack { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px !important; border-radius: 12px !important; border: 1px solid var(--tgp-border, rgba(255,255,255,.1)) !important; background: rgba(255,255,255,.03) !important; cursor: pointer; transition: border-color .15s ease; }
#tgp-ros-root .tgp-ros-pcamp__pack:hover { border-color: #a855f7 !important; }
#tgp-ros-root .tgp-ros-pcamp__pack b { font-size: 18px; font-weight: 800; color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-pcamp__pack span { font-size: 11px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-pcamp__pack em { font-style: normal; font-size: 13px; font-weight: 700; color: #e9d5ff; margin-top: 4px; }
#tgp-ros-root .tgp-ros-pcamp__pack[disabled] { opacity: .5; cursor: default; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-pcamp__row { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-pcamp__credits { align-items: flex-start; }
	#tgp-ros-root .tgp-ros-pcamp__acts { white-space: normal; }
}

/* Calendar AI button: dark pill with an animated gradient ring (marketplace "Find producers" look). */
@property --tgpAiAng { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
#tgp-ros-root .tgp-ros-aibtn { color: #fff; font-size: 13px; font-weight: 600; }
#tgp-ros-root .tgp-ros-aibtn__inner { gap: 8px; padding: 9px 16px 9px 18px; border: 1.5px solid transparent; background: linear-gradient(var(--tgp-surface, #111113), var(--tgp-surface, #111113)) padding-box, conic-gradient(from var(--tgpAiAng), #7c5cff, #38bdf8, #22d3ee, #f472b6, #fb923c, #7c5cff) border-box; animation: tgpRosAiRing 4s linear infinite; transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s ease; }
#tgp-ros-root .tgp-ros-aibtn:hover .tgp-ros-aibtn__inner { background: linear-gradient(var(--tgp-surface, #111113), var(--tgp-surface, #111113)) padding-box, conic-gradient(from var(--tgpAiAng), #7c5cff, #38bdf8, #22d3ee, #f472b6, #fb923c, #7c5cff) border-box; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.35); }
#tgp-ros-root .tgp-ros-aibtn:active .tgp-ros-aibtn__inner { transform: translateY(0) scale(.97); }
#tgp-ros-root .tgp-ros-aibtn__spark { color: #fff; animation: none; }
#tgp-ros-root .tgp-ros-aibtn.is-thinking .tgp-ros-aibtn__inner { animation-duration: 1.2s; }
@keyframes tgpRosAiRing { to { --tgpAiAng: 360deg; } }
@media (prefers-reduced-motion: reduce) { #tgp-ros-root .tgp-ros-aibtn__inner { animation: none; } }

/* Pitch campaigns v2: done-for-you offer + presets */
#tgp-ros-root .tgp-ros-pcamp__hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 24px; align-items: start; }
#tgp-ros-root .tgp-ros-pcamp__eyebrow { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fbbf24; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(251, 191, 36, .3); background: rgba(251, 191, 36, .07); margin-bottom: 10px; }
#tgp-ros-root .tgp-ros-pcamp__title { margin: 0 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-pcamp__lead { margin: 0 0 14px; font-size: 13.5px; line-height: 1.6; color: var(--tgp-text-muted, #a1a1aa); max-width: 620px; }
#tgp-ros-root .tgp-ros-pcamp__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#tgp-ros-root .tgp-ros-pcamp__points li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: #d4d4d8; }
#tgp-ros-root .tgp-ros-pcamp__points svg { flex: none; margin-top: 3px; color: #c084fc; }
#tgp-ros-root .tgp-ros-pcamp__points b { color: #fff; }
#tgp-ros-root .tgp-ros-pcamp__offer { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; border: 1px solid var(--tgp-border, rgba(255,255,255,.1)); background: rgba(255,255,255,.03); }
#tgp-ros-root .tgp-ros-pcamp__offerhead { margin: 0; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-pcamp__packlist { display: flex; flex-direction: column; gap: 4px; }
#tgp-ros-root .tgp-ros-pcamp__packrow { display: grid; grid-template-columns: 56px 1fr auto auto; align-items: baseline; gap: 10px; width: 100%; padding: 7px 10px !important; border-radius: 9px !important; border: 1px solid transparent !important; background: transparent !important; color: var(--tgp-text, #e4e4e7); font: inherit; text-align: left; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
#tgp-ros-root .tgp-ros-pcamp__packrow:hover { background: rgba(168,85,247,.1) !important; border-color: rgba(168,85,247,.35) !important; }
#tgp-ros-root .tgp-ros-pcamp__packrow b { font-size: 15px; font-weight: 800; color: #fff; }
#tgp-ros-root .tgp-ros-pcamp__packrow span { font-size: 12px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-pcamp__packrow em { font-style: normal; font-size: 14px; font-weight: 700; color: #e9d5ff; }
#tgp-ros-root .tgp-ros-pcamp__packrow small { font-size: 11px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-pcamp__packrow[disabled] { opacity: .45; cursor: default; }
#tgp-ros-root .tgp-ros-pcamp__balance { font-size: 12.5px; color: var(--tgp-text-muted, #a1a1aa); line-height: 1.4; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.06); }
#tgp-ros-root .tgp-ros-pcamp__balance b { color: #fff; font-size: 14px; }
#tgp-ros-root .tgp-ros-pcamp__balance small { display: block; font-size: 11px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-pcamp__cta { justify-content: center; }
#tgp-ros-root .tgp-ros-pcamp__fine { font-size: 11px; line-height: 1.45; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-pcamp__list:not(:empty) { margin-top: 18px; }
#tgp-ros-root .tgp-ros-pcamp__typenote { margin: -4px 0 8px; }
#tgp-ros-root .tgp-ros-pcamp__sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#tgp-ros-root .tgp-ros-pcamp__size { padding: 8px 14px !important; border-radius: 999px !important; border: 1px solid var(--tgp-border, rgba(255,255,255,.12)) !important; background: transparent !important; color: #d4d4d8 !important; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
#tgp-ros-root .tgp-ros-pcamp__size:hover { border-color: #c084fc !important; color: #fff !important; }
#tgp-ros-root .tgp-ros-pcamp__size.is-on { background: #a855f7 !important; border-color: #a855f7 !important; color: #fff !important; }
#tgp-ros-root .tgp-ros-pcamp__size[disabled] { opacity: .35; cursor: default; }
#tgp-ros-root .tgp-ros-pcamp__cost { margin: 8px 0 0; font-size: 12.5px; color: var(--tgp-text-muted, #a1a1aa); }
#tgp-ros-root .tgp-ros-pcamp__cost b { color: #34d399; }
#tgp-ros-root .tgp-ros-pcamp__cost.is-short b { color: #fbbf24; }
#tgp-ros-root .tgp-ros-pcamp__pack { position: relative; }
#tgp-ros-root .tgp-ros-pcamp__pack.is-reco { border-color: #a855f7 !important; background: rgba(168,85,247,.12) !important; }
#tgp-ros-root .tgp-ros-pcamp__pack i { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: #a855f7; padding: 2px 7px; border-radius: 999px; }
@media (max-width: 760px) { #tgp-ros-root .tgp-ros-pcamp__hero { grid-template-columns: 1fr; } }

/* Release modal: suggested-date mode */
#tgp-ros-root .tgp-ros-newrel__sug { display: flex; gap: 14px; align-items: center; padding: 12px 14px; margin-bottom: 14px; border-radius: 12px; border: 1px solid rgba(168, 85, 247, .3); background: rgba(168, 85, 247, .07); }
#tgp-ros-root .tgp-ros-newrel__sugdate { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 96px; padding: 8px 10px; border-radius: 10px; background: #a855f7; color: #fff; text-align: center; }
#tgp-ros-root .tgp-ros-newrel__sugdate span { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
#tgp-ros-root .tgp-ros-newrel__sugdate b { font-size: 14px; font-weight: 800; line-height: 1.25; }
#tgp-ros-root .tgp-ros-newrel__sugtext { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#tgp-ros-root .tgp-ros-newrel__sugtext b { font-size: 12.5px; color: #e9d5ff; }
#tgp-ros-root .tgp-ros-newrel__sugtext span { font-size: 12.5px; line-height: 1.5; color: var(--tgp-text-muted, #a1a1aa); }
#tgp-ros-root .tgp-ros-newrel__pick { margin-top: 10px; }
#tgp-ros-root .tgp-ros-newrel__pick select { width: 100%; }
#tgp-ros-root [data-ros-nr-source] .tgp-ros-seg { flex-wrap: wrap; }
#tgp-ros-root [data-ros-nr-source] .tgp-ros-seg__opt[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-newrel[hidden], #tgp-ros-root .tgp-ros-form__grid[hidden], #tgp-ros-root .tgp-ros-newrel__desc[hidden], #tgp-ros-root .tgp-ros-newrel__audio[hidden], #tgp-ros-root .tgp-ros-newrel__audionote[hidden], #tgp-ros-root .tgp-ros-field[hidden] { display: none !important; }
@media (max-width: 560px) {
	#tgp-ros-root .tgp-ros-newrel__sug { flex-direction: column; align-items: stretch; gap: 10px; }
	#tgp-ros-root .tgp-ros-newrel__sugdate { flex-direction: row; gap: 8px; min-width: 0; }
	#tgp-ros-root [data-ros-nr-source] .tgp-ros-seg__opt { flex: 1 1 100%; }
}
/* Cards separated by a hidden modal still need their gap. */
#tgp-ros-root .tgp-ros-pcamp, #tgp-ros-root .tgp-ros-biocard, #tgp-ros-root .tgp-ros-modal + .tgp-ros-panel, #tgp-ros-root .tgp-ros-modal + .tgp-card { margin-top: 20px; }
body.tgp-ros-calpop-open #tgp-ros-root .tgp-ros-aibtn__tip { opacity: 0 !important; pointer-events: none; }

/* Release modal v2: essentials first, everything else folded away. */
#tgp-ros-root #tgp-ros-release-modal .tgp-ros-modal__panel { max-width: 640px; }
#tgp-ros-root .tgp-ros-newrel__titleinput { font-size: 17px !important; font-weight: 600; padding: 13px 14px !important; }
#tgp-ros-root .tgp-ros-newrel__row { display: grid; grid-template-columns: 1fr auto; gap: 14px 18px; align-items: start; margin-top: 14px; }
#tgp-ros-root .tgp-ros-newrel__row .tgp-ros-seg { flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-newrel__date input { min-width: 170px; }
#tgp-ros-root .tgp-ros-newrel__more { margin-top: 16px; border: 1px solid var(--tgp-border, rgba(255,255,255,.1)); border-radius: 12px; background: rgba(255,255,255,.02); }
#tgp-ros-root .tgp-ros-newrel__more summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 600; color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-newrel__more summary::-webkit-details-marker { display: none; }
#tgp-ros-root .tgp-ros-newrel__more summary small { font-size: 12px; font-weight: 500; color: var(--tgp-text-faint, #71717a); flex: 1; }
#tgp-ros-root .tgp-ros-newrel__more summary svg { flex: none; color: var(--tgp-text-faint, #71717a); transition: transform .2s ease; }
#tgp-ros-root .tgp-ros-newrel__more[open] summary svg { transform: rotate(180deg); }
#tgp-ros-root .tgp-ros-newrel__morebody { padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid rgba(255,255,255,.06); padding-top: 14px; }
#tgp-ros-root .tgp-ros-newrel__media { display: flex; gap: 14px; align-items: stretch; }
#tgp-ros-root .tgp-ros-newrel__media .tgp-ros-newrel__art { width: 96px; height: 96px; min-height: 0; flex: none; }
#tgp-ros-root .tgp-ros-newrel__mediatext { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
#tgp-ros-root .tgp-ros-newrel__mediatext .tgp-ros-newrel__audio { margin: 0; }
#tgp-ros-root .tgp-ros-newrel__mediatext .tgp-ros-newrel__audionote { margin: 0; }
#tgp-ros-root .tgp-ros-newrel__actions { margin-top: 18px; }
#tgp-ros-root .tgp-ros-newrel__sug { margin-bottom: 16px; }
#tgp-ros-root .tgp-ros-newrel__sugtext span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#tgp-ros-root .tgp-ros-newrel__srcseg .tgp-ros-seg__opt { padding: 9px 14px !important; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-newrel__row { grid-template-columns: 1fr; gap: 12px; }
	#tgp-ros-root .tgp-ros-newrel__date input { width: 100%; }
	#tgp-ros-root .tgp-ros-newrel__media { flex-direction: row; }
	#tgp-ros-root .tgp-ros-newrel__media .tgp-ros-newrel__art { width: 76px; height: 76px; }
	#tgp-ros-root .tgp-ros-newrel__actions { position: sticky; bottom: 0; padding: 12px 0 4px; background: linear-gradient(180deg, transparent, var(--tgp-surface, #111113) 30%); }
	#tgp-ros-root .tgp-ros-newrel__actions .tgp-ros-btn { flex: 1; justify-content: center; }
}

/* Campaign wizard v3: wide, two columns, no scrolling on desktop. */
#tgp-ros-root .tgp-ros-pcampmodal { width: min(980px, 100%); max-width: 980px !important; }
#tgp-ros-root .tgp-ros-pcamp__cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
#tgp-ros-root .tgp-ros-pcamp__col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
#tgp-ros-root .tgp-ros-pcamp__col--side { padding: 16px; border-radius: 14px; border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); background: rgba(255,255,255,.025); }
#tgp-ros-root .tgp-ros-pcamp__col--side .tgp-ros-pcampmodal__foot { padding-top: 6px; }
#tgp-ros-root .tgp-ros-pcamp__col--side .tgp-ros-pcampmodal__foot .tgp-ros-btn { width: 100%; justify-content: center; }
#tgp-ros-root .tgp-ros-pcamp__cols--pitch { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.4fr); }
#tgp-ros-root .tgp-ros-pcamp__styles { flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-pcamp__body { min-height: 300px; font-size: 13.5px; line-height: 1.55; }
#tgp-ros-root .tgp-ros-pcamp__types { grid-template-columns: repeat(3, 1fr); gap: 6px; }
#tgp-ros-root .tgp-ros-pcamp__type { padding: 8px 10px !important; }
#tgp-ros-root .tgp-ros-pcamp__typenote { margin: 6px 0 0; }
#tgp-ros-root .tgp-ros-pcamp__reach { padding: 10px 12px; }
#tgp-ros-root .tgp-ros-pcamp__sample span { font-size: 10.5px; padding: 2px 7px; }
#tgp-ros-root .tgp-ros-pcamp__sizes .tgp-ros-pcamp__size { padding: 7px 11px !important; font-size: 12.5px; }
#tgp-ros-root .tgp-ros-pcamp__sizeinput { width: 84px !important; }
#tgp-ros-root .tgp-ros-rpdd--pcamp .tgp-ros-rpdd__panel { width: 100%; max-width: none; }
#tgp-ros-root .tgp-ros-rpdd--pcamp .tgp-ros-rpdd__list { max-height: 260px; overflow-y: auto; }
#tgp-ros-root .tgp-ros-pcampmodal .tgp-ros-pcampstep { gap: 0; }
@media (min-width: 900px) and (min-height: 700px) {
	/* Content fits: let the picker's dropdown hang outside the panel instead of scrolling inside it. */
	#tgp-ros-root .tgp-ros-modal__panel.tgp-ros-pcampmodal { overflow: visible; max-height: none; }
}
@media (max-width: 899px) {
	#tgp-ros-root .tgp-ros-pcamp__cols, #tgp-ros-root .tgp-ros-pcamp__cols--pitch { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-pcamp__types { grid-template-columns: repeat(2, 1fr); }
	#tgp-ros-root .tgp-ros-pcamp__body { min-height: 220px; }
}

/* ── Trend alert: real TikTok clips, sounds and hashtags ─────────────────── */
.tgp-ros-trend { padding: 24px 24px 22px; }
.tgp-ros-trend__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.tgp-ros-trend__intro { max-width: 640px; }
.tgp-ros-trend__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tgp-accent, #9333ea); margin-bottom: 6px; }
.tgp-ros-trend__upd { color: var(--tgp-text-faint, #71717a); font-weight: 600; letter-spacing: .02em; text-transform: none; }
.tgp-ros-trend__live { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .5); animation: tgpRosTrendLive 2.2s ease-out infinite; }
@keyframes tgpRosTrendLive { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.tgp-ros-trend .tgp-card__title { margin: 0 0 6px; }
.tgp-ros-trend__sub { margin: 0; font-size: 13px; line-height: 1.55; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-trend__all { flex-shrink: 0; align-self: flex-start; }
.tgp-ros-trend__tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--tgp-surface-high, #18181b); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); flex-shrink: 0; }
#tgp-ros-root .tgp-ros-trend__tab { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--tgp-text-dim, #a1a1aa); cursor: pointer; transition: background .15s, color .15s; }
#tgp-ros-root .tgp-ros-trend__tab span { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-trend__tab:hover { color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-trend__tab.is-active { background: var(--tgp-surface-hover, #27272a); color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-trend__tab.is-active span { background: var(--tgp-accent, #9333ea); color: #fff; }
.tgp-ros-trend__pane { display: none; }
.tgp-ros-trend__pane.is-active { display: block; }
.tgp-ros-trend--compact .tgp-ros-trend__pane.is-active + .tgp-ros-trend__pane.is-active { margin-top: 18px; }
.tgp-ros-trend__filter { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tgp-ros-trend__hint { font-size: 12px; color: var(--tgp-text-faint, #71717a); }

/* Sounds */
.tgp-ros-trend__sounds { display: grid; gap: 10px; }
.tgp-ros-trend__sound { display: grid; grid-template-columns: 22px 56px minmax(0, 1fr) max-content; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--tgp-surface-high, #18181b); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); transition: border-color .15s; }
.tgp-ros-trend__sound:hover { border-color: var(--tgp-border-strong, rgba(255,255,255,.14)); }
.tgp-ros-trend--compact .tgp-ros-trend__sound { grid-template-columns: 22px 48px minmax(0, 1fr); padding: 10px 12px; }
.tgp-ros-trend--compact .tgp-ros-trend__snd { width: 48px; height: 48px; }
.tgp-ros-trend__rank { font-size: 12px; font-weight: 700; color: var(--tgp-text-faint, #71717a); text-align: center; }
.tgp-ros-trend__sound:nth-child(-n+3) .tgp-ros-trend__rank { color: var(--tgp-accent, #9333ea); }
#tgp-ros-root .tgp-ros-trend__snd { position: relative; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--tgp-surface-hover, #27272a); cursor: pointer; flex-shrink: 0; display: block; }
.tgp-ros-trend__snd img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s, filter .25s; }
.tgp-ros-trend__snd--static { cursor: default; }
.tgp-ros-trend__sndico { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0,0,0,.28); opacity: 0; transition: opacity .15s; }
.tgp-ros-trend__sndico svg { filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.tgp-ros-trend__snd:hover .tgp-ros-trend__sndico, .tgp-ros-trend__snd.is-playing .tgp-ros-trend__sndico { opacity: 1; }
.tgp-ros-trend__pause { display: none; }
.tgp-ros-trend__snd.is-playing .tgp-ros-trend__pause { display: block; }
.tgp-ros-trend__snd.is-playing .tgp-ros-trend__sndico > svg:first-child { display: none; }
.tgp-ros-trend__snd.is-playing img { filter: brightness(.7); }
.tgp-ros-trend__snd.is-loading .tgp-ros-trend__sndico { opacity: 1; }
.tgp-ros-trend__snd.is-loading .tgp-ros-trend__sndico svg { animation: tgpRosTrendPulse .8s ease-in-out infinite alternate; }
@keyframes tgpRosTrendPulse { from { opacity: .35; } to { opacity: 1; } }
.tgp-ros-trend__sndbars { position: absolute; left: 6px; bottom: 6px; display: none; align-items: flex-end; gap: 2px; height: 12px; }
.tgp-ros-trend__snd.is-playing .tgp-ros-trend__sndbars { display: flex; }
.tgp-ros-trend__sndbars i { width: 3px; background: #fff; border-radius: 2px; animation: tgpRosTrendBars .9s ease-in-out infinite; height: 40%; }
.tgp-ros-trend__sndbars i:nth-child(2) { animation-delay: .15s; } .tgp-ros-trend__sndbars i:nth-child(3) { animation-delay: .3s; } .tgp-ros-trend__sndbars i:nth-child(4) { animation-delay: .45s; }
@keyframes tgpRosTrendBars { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.tgp-ros-trend__sndbody { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tgp-ros-trend__sndtitle { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--tgp-text, #f4f4f5); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tgp-ros-trend__sndtitle svg { flex-shrink: 0; opacity: .45; }
.tgp-ros-trend__sndtitle:hover { color: var(--tgp-accent, #9333ea); }
.tgp-ros-trend__sndtitle:hover svg { opacity: 1; }
.tgp-ros-trend__sndby { font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgp-ros-trend__sndby em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-trend__sndby em:not(:first-child) { margin-left: 6px; }
.tgp-ros-trend__sndfacts { font-size: 12px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-trend__sndfacts b { color: var(--tgp-text, #f4f4f5); font-weight: 600; }
.tgp-ros-trend__sndtotal::before { content: '·'; margin: 0 6px; }
@media (max-width: 640px) { .tgp-ros-trend__sndtotal { display: block; } .tgp-ros-trend__sndtotal::before { content: none; } }
.tgp-ros-trend__sndclips { display: flex; gap: 6px; flex-shrink: 0; }

/* Clips */
.tgp-ros-trend__clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.tgp-ros-trend--compact .tgp-ros-trend__clips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tgp-ros-trend__clipwrap.is-hidden { display: none; }
#tgp-ros-root .tgp-ros-trend__clip { display: flex; flex-direction: column; gap: 8px; width: 100%; text-align: left; cursor: pointer; border-radius: 14px; }
#tgp-ros-root .tgp-ros-trend__clip:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--tgp-bg, #0a0a0b), 0 0 0 4px rgba(147, 51, 234, .6); }
.tgp-ros-trend__clipmedia { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--tgp-surface-hover, #27272a); }
.tgp-ros-trend__clipmedia img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.tgp-ros-trend__clip:hover .tgp-ros-trend__clipmedia img { transform: scale(1.04); }
.tgp-ros-trend__clipplay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.45)); }
.tgp-ros-trend__clipplay svg { width: 38px; height: 38px; padding: 10px; border-radius: 50%; background: rgba(255,255,255,.92); color: #0a0a0b; box-sizing: border-box; }
.tgp-ros-trend__clip:hover .tgp-ros-trend__clipplay { opacity: 1; }
.tgp-ros-trend__clipviews { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.62); backdrop-filter: blur(4px); color: #fff; font-size: 11px; font-weight: 700; }
#tgp-ros-root .tgp-ros-trend__clip--sm { width: 46px; flex: 0 0 46px; }
.tgp-ros-trend__clip--sm .tgp-ros-trend__clipmedia { border-radius: 8px; }
.tgp-ros-trend__clip--sm .tgp-ros-trend__clipviews { display: none; }
.tgp-ros-trend__clip--sm .tgp-ros-trend__clipplay svg { width: 22px; height: 22px; padding: 6px; }
.tgp-ros-trend__clipmeta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tgp-ros-trend__clipauthor { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--tgp-text, #f4f4f5); min-width: 0; }
.tgp-ros-trend__clipauthor img { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; }
.tgp-ros-trend__clipauthor b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgp-ros-trend__clipsound { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--tgp-text-faint, #71717a); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgp-ros-trend__clipsound svg { flex-shrink: 0; }

/* Hashtags */
.tgp-ros-trend__tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.tgp-ros-trend--compact .tgp-ros-trend__tags { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.tgp-ros-trend__tag { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--tgp-surface-high, #18181b); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); }
.tgp-ros-trend__tag.is-rising { border-color: rgba(52, 211, 153, .3); }
.tgp-ros-trend__tagtop { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tgp-ros-trend__tagname { font-size: 14px; font-weight: 700; color: var(--tgp-text, #f4f4f5); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgp-ros-trend__tagname:hover { color: var(--tgp-accent, #9333ea); }
.tgp-ros-trend__spark { flex-shrink: 0; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-trend__tag.is-rising .tgp-ros-trend__spark { color: #34d399; }
.tgp-ros-trend__tagfacts { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-trend__tagfacts b { color: var(--tgp-text, #f4f4f5); font-weight: 600; }
.tgp-ros-trend__tagfoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.tgp-ros-trend__tagcc { display: flex; gap: 4px; flex-wrap: wrap; }
.tgp-ros-trend__tagcc i { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .04em; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-trend__taglinks { display: flex; gap: 4px; }
.tgp-ros-trend__taglinks a { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; color: var(--tgp-text-dim, #a1a1aa); background: rgba(255,255,255,.05); transition: background .15s, color .15s; }
.tgp-ros-trend__taglinks a:hover { background: var(--tgp-surface-hover, #27272a); color: var(--tgp-text, #f4f4f5); }
.tgp-ros-trend__foot { margin: 18px 0 0; font-size: 12px; line-height: 1.55; color: var(--tgp-text-faint, #71717a); }

/* Clip preview window (on <body>, outside #tgp-ros-root — every property pinned) */
.tgp-ros-trendmodal { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; padding: 16px; }
.tgp-ros-trendmodal__backdrop { position: absolute; inset: 0; background: rgba(5, 5, 8, .9); backdrop-filter: blur(6px); }
.tgp-ros-trendmodal__panel { position: relative; width: min(100%, 340px); display: flex; flex-direction: column; gap: 10px; }
.tgp-ros-trendmodal__frame { position: relative; width: 100%; aspect-ratio: 325 / 578; max-height: calc(100vh - 120px); border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.tgp-ros-trendmodal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tgp-ros-trendmodal__frame .tgp-ros-spinner { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.tgp-ros-trendmodal__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #f4f4f5; font-family: var(--tgp-font, 'Inter', -apple-system, sans-serif); font-size: 12.5px; min-width: 0; }
.tgp-ros-trendmodal__meta b { display: block; font-weight: 600; }
.tgp-ros-trendmodal__meta span { display: block; color: #a1a1aa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgp-ros-trendmodal__meta > div { min-width: 0; }
a.tgp-ros-trendmodal__open { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #f4f4f5; color: #0a0a0b; font-size: 12.5px; font-weight: 600; text-decoration: none; }
button.tgp-ros-trendmodal__close { position: absolute; top: -6px; right: -6px; transform: translate(100%, -100%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
button.tgp-ros-trendmodal__close:hover { background: rgba(255,255,255,.2); }

@media (max-width: 900px) {
  .tgp-ros-trend__sound { grid-template-columns: 22px 52px minmax(0, 1fr); }
  .tgp-ros-trend__sndclips { grid-column: 2 / -1; }
}
@media (max-width: 640px) {
  .tgp-ros-trend { padding: 20px 18px 18px; }
  .tgp-ros-trend__tabs { width: 100%; }
  #tgp-ros-root .tgp-ros-trend__tab { flex: 1; justify-content: center; padding: 7px 8px; font-size: 12.5px; }
  .tgp-ros-trend__clips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tgp-ros-trend--compact .tgp-ros-trend__clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tgp-ros-trend__clipsound { display: none; }
  .tgp-ros-trend__tags { grid-template-columns: 1fr; }
  button.tgp-ros-trendmodal__close { top: auto; right: auto; bottom: -52px; left: 50%; transform: translateX(-50%); }
  .tgp-ros-trendmodal__frame { max-height: calc(100vh - 170px); }
}

/* ── Trends page ──────────────────────────────────────────────────────── */
.tgp-ros-trend--page { display: grid; gap: 20px; }
.tgp-ros-trend--page .tgp-ros-trend__section { padding: 24px 24px 22px; }
.tgp-ros-trend__strip { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 18px; border-radius: 14px; background: var(--tgp-surface, #111113); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); }
.tgp-ros-trend__strip .tgp-ros-trend__eyebrow { margin: 0; }
.tgp-ros-trend__stripfacts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-trend__stripfacts b { color: var(--tgp-text, #f4f4f5); font-weight: 600; }
.tgp-ros-trend__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
#tgp-ros-root .tgp-ros-trend__chipbtn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--tgp-text-dim, #a1a1aa); background: var(--tgp-surface-high, #18181b); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
#tgp-ros-root .tgp-ros-trend__chipbtn span { font-size: 11px; padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-trend__chipbtn:hover { color: var(--tgp-text, #f4f4f5); border-color: var(--tgp-border-strong, rgba(255,255,255,.14)); }
#tgp-ros-root .tgp-ros-trend__chipbtn.is-active { background: var(--tgp-text, #f4f4f5); color: #0a0a0b; border-color: transparent; }
#tgp-ros-root .tgp-ros-trend__chipbtn.is-active span { background: rgba(0,0,0,.12); color: #0a0a0b; }
#tgp-ros-root .tgp-ros-trend__chipbtn--fit { border-color: rgba(52, 211, 153, .35); color: #6ee7b7; }
#tgp-ros-root .tgp-ros-trend__chipbtn--fit.is-active { background: #34d399; color: #052e1c; }
.tgp-ros-trend__none { margin: 0; font-size: 13px; color: var(--tgp-text-faint, #71717a); }

/* Songs */
.tgp-ros-trend__songs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 12px; }
.tgp-ros-trend__song { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; border-radius: 16px; background: var(--tgp-surface-high, #18181b); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); transition: border-color .15s; }
.tgp-ros-trend__song:hover { border-color: var(--tgp-border-strong, rgba(255,255,255,.14)); }
.tgp-ros-trend__song.is-fit { border-color: rgba(52, 211, 153, .28); }
.tgp-ros-trend__song.is-hidden { display: none; }
.tgp-ros-trend__songtop { display: flex; gap: 14px; align-items: flex-start; }
#tgp-ros-root .tgp-ros-trend__song .tgp-ros-trend__snd { width: 72px; height: 72px; border-radius: 14px; }
.tgp-ros-trend__rankline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 2px; }
.tgp-ros-trend__song .tgp-ros-trend__rank { font-size: 11px; font-weight: 800; color: var(--tgp-text-faint, #71717a); letter-spacing: .04em; }
.tgp-ros-trend__song:nth-child(-n+3) .tgp-ros-trend__rank { color: var(--tgp-accent, #9333ea); }
.tgp-ros-trend__growth { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(52, 211, 153, .12); color: #6ee7b7; font-size: 11px; font-weight: 700; }
.tgp-ros-trend__growth--new { background: rgba(147, 51, 234, .14); color: #c4b5fd; }
.tgp-ros-trend__fit { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6ee7b7; }
.tgp-ros-trend__song .tgp-ros-trend__sndtitle { font-size: 15px; white-space: normal; display: block; }
.tgp-ros-trend__song .tgp-ros-trend__sndtitle svg { display: inline; margin-left: 6px; vertical-align: middle; }
.tgp-ros-trend__tagsline { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tgp-ros-trend__tagsline em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: rgba(147, 51, 234, .14); color: #c4b5fd; }
.tgp-ros-trend__tagsline em.tgp-ros-trend__mood { background: rgba(255,255,255,.06); color: var(--tgp-text-dim, #a1a1aa); font-weight: 600; }
.tgp-ros-trend__song .tgp-ros-trend__sndfacts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; }
.tgp-ros-trend__song .tgp-ros-trend__sndclips { flex-wrap: wrap; align-items: center; flex-shrink: 1; min-width: 0; }
.tgp-ros-trend__sndclipslabel { font-size: 11px; color: var(--tgp-text-faint, #71717a); margin-left: 4px; }
#tgp-ros-root .tgp-ros-trend__clip--xs { width: 54px; flex: 0 0 54px; }
.tgp-ros-trend__clip--xs .tgp-ros-trend__clipmedia { border-radius: 9px; }
.tgp-ros-trend__clip--xs .tgp-ros-trend__clipviews { left: 4px; bottom: 4px; padding: 2px 5px; font-size: 9.5px; gap: 2px; }
.tgp-ros-trend__clip--xs .tgp-ros-trend__clipviews svg { width: 9px; height: 9px; }
.tgp-ros-trend__clip--xs .tgp-ros-trend__clipplay svg { width: 24px; height: 24px; padding: 6px; }
.tgp-ros-trend__clipchip { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.62); backdrop-filter: blur(4px); color: #fff; font-size: 10.5px; font-weight: 700; max-width: calc(100% - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Formats */
.tgp-ros-trend__formats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 12px; }
.tgp-ros-trend__format { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 18px; border-radius: 16px; background: var(--tgp-surface-high, #18181b); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); }
.tgp-ros-trend__format:first-child { border-color: rgba(147, 51, 234, .4); background: linear-gradient(180deg, rgba(147, 51, 234, .09), transparent 60%), var(--tgp-surface-high, #18181b); }
.tgp-ros-trend__formathead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tgp-ros-trend__formathead h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-trend__formatcount { flex-shrink: 0; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-trend__format:first-child .tgp-ros-trend__formatcount { background: var(--tgp-accent, #9333ea); color: #fff; }
.tgp-ros-trend__why { margin: 0; font-size: 13px; line-height: 1.55; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-trend__formatclips { display: flex; flex-wrap: wrap; gap: 6px; }
.tgp-ros-trend__steps { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.035); }
.tgp-ros-trend__stepslabel { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); margin-bottom: 8px; }
.tgp-ros-trend__steps ol { margin: 0; padding: 0; list-style: none; counter-reset: tstep; display: grid; gap: 6px; }
.tgp-ros-trend__steps li { position: relative; padding-left: 26px; font-size: 13px; line-height: 1.45; color: var(--tgp-text, #f4f4f5); counter-increment: tstep; }
.tgp-ros-trend__steps li::before { content: counter(tstep); position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: rgba(147, 51, 234, .18); color: #c4b5fd; font-size: 10.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tgp-ros-trend__hook { margin: 0; font-size: 13px; line-height: 1.5; color: var(--tgp-text, #f4f4f5); font-style: italic; }
.tgp-ros-trend__hook span { display: inline-block; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); margin-right: 8px; }
.tgp-ros-trend__formatactions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: auto; }
#tgp-ros-root .tgp-ros-trend__linkbtn { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--tgp-text-dim, #a1a1aa); cursor: pointer; }
#tgp-ros-root .tgp-ros-trend__linkbtn:hover { color: var(--tgp-text, #f4f4f5); }

/* Duo + hashtag pills */
.tgp-ros-trend__duo { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: start; }
.tgp-ros-trend__duo .tgp-card__title { margin-bottom: 6px; }
.tgp-ros-trend__duo .tgp-ros-trend__sub { margin-bottom: 16px; }
.tgp-ros-trend__taglist { display: flex; flex-wrap: wrap; gap: 8px; }
.tgp-ros-trend__tagpill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--tgp-surface-high, #18181b); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); font-size: 13px; }
.tgp-ros-trend__tagpill .tgp-ros-trend__tagname { font-size: 13px; }
.tgp-ros-trend__tagpill b { font-size: 11px; font-weight: 700; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-trend__tagpill a:not(.tgp-ros-trend__tagname) { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 7px; color: var(--tgp-text-dim, #a1a1aa); background: rgba(255,255,255,.05); }
.tgp-ros-trend__tagpill a:not(.tgp-ros-trend__tagname):hover { color: var(--tgp-text, #f4f4f5); background: var(--tgp-surface-hover, #27272a); }
.tgp-ros-trend__empty p { color: var(--tgp-text-dim, #a1a1aa); }

@media (max-width: 1100px) { .tgp-ros-trend__duo { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .tgp-ros-trend--page .tgp-ros-trend__section { padding: 20px 18px 18px; }
  .tgp-ros-trend__songs, .tgp-ros-trend__formats { grid-template-columns: minmax(0, 1fr); }
  .tgp-ros-trend__songtop { min-width: 0; }
  .tgp-ros-trend__sndfacts { min-width: 0; }
  #tgp-ros-root .tgp-ros-trend__song .tgp-ros-trend__snd { width: 60px; height: 60px; }
  .tgp-ros-trend__chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  #tgp-ros-root .tgp-ros-trend__chipbtn { flex-shrink: 0; }
  .tgp-ros-trend__strip { padding: 12px 14px; }
}

/* Trends page: creator clips */
.tgp-ros-trend__chips--sub { margin-top: -8px; }
.tgp-ros-trend__clipchip--producer { background: rgba(147, 51, 234, .75); }
.tgp-ros-trend__clipchip--dj { background: rgba(14, 165, 233, .75); }
.tgp-ros-trend__clipchip--singer { background: rgba(236, 72, 153, .7); }
.tgp-ros-trend__clipchip--band { background: rgba(245, 158, 11, .75); color: #1a1200; }
.tgp-ros-trend__clipreach { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 999px; background: rgba(52, 211, 153, .9); color: #052e1c; font-size: 9.5px; font-weight: 800; letter-spacing: .02em; max-width: calc(100% - 70px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgp-ros-trend__clipauthor i { font-style: normal; font-size: 11px; color: var(--tgp-text-faint, #71717a); flex-shrink: 0; }
.tgp-ros-trend__clipdesc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.4; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-trend__clipline { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-trend__clipline em { font-style: normal; font-weight: 700; color: #c4b5fd; background: rgba(147, 51, 234, .14); padding: 1px 7px; border-radius: 6px; }
.tgp-ros-trend--page .tgp-ros-trend__clips { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 12px; }
@media (max-width: 640px) { .tgp-ros-trend--page .tgp-ros-trend__clips { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tgp-ros-trend__clipreach { font-size: 9px; } }
/* Long unbroken captions (hashtag walls, links) must wrap inside the card. */
#tgp-ros-root .tgp-ros-trend__clip { min-width: 0; max-width: 100%; overflow: hidden; }
.tgp-ros-trend__clipmeta, .tgp-ros-trend__clipdesc, .tgp-ros-trend__clipauthor { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }

/* Trends: closest catalogue tracks under a climbing song */
.tgp-ros-trend__similar { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: rgba(147, 51, 234, .07); border: 1px solid rgba(147, 51, 234, .18); }
.tgp-ros-trend__similarlabel { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #c4b5fd; margin-bottom: 4px; }
.tgp-ros-trend__similarlabel em { font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-trend__prod { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; }
#tgp-ros-root .tgp-ros-trend__snd--prod, #tgp-ros-root .tgp-ros-trend__song .tgp-ros-trend__snd--prod { width: 40px; height: 40px; border-radius: 8px; flex: 0 0 40px; }
.tgp-ros-trend__snd--prod .tgp-ros-trend__sndico svg { width: 12px; height: 12px; }
.tgp-ros-trend__snd--prod .tgp-ros-trend__sndbars { left: 4px; bottom: 4px; height: 9px; }
.tgp-ros-trend__prodbody { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tgp-ros-trend__prodtitle { font-size: 13px; font-weight: 600; color: var(--tgp-text, #f4f4f5); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgp-ros-trend__prodtitle:hover { color: var(--tgp-accent, #9333ea); }
.tgp-ros-trend__prodmeta { font-size: 11.5px; color: var(--tgp-text-faint, #71717a); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgp-ros-trend__prodprice { font-size: 12.5px; font-weight: 700; color: var(--tgp-text, #f4f4f5); white-space: nowrap; }
.tgp-ros-trend__prodprice del { color: var(--tgp-text-faint, #71717a); font-weight: 500; margin-right: 4px; }
#tgp-ros-root .tgp-ros-trend__prodbtn { padding: 5px 10px; font-size: 11.5px; }
@media (max-width: 640px) {
  .tgp-ros-trend__prod { grid-template-columns: 40px minmax(0, 1fr) auto; }
  #tgp-ros-root .tgp-ros-trend__prodbtn { display: none; }
}

/* ── Trends: artists you follow ─────────────────────────────────────── */
.tgp-ros-ttf__form { margin: 0 0 18px; max-width: 560px; }
.tgp-ros-ttf__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); margin-bottom: 8px; }
.tgp-ros-ttf__row { position: relative; display: flex; gap: 8px; align-items: center; }
#tgp-ros-root .tgp-ros-ttf__row .tgp-field { flex: 1; min-width: 0; padding-left: 34px !important; height: 42px; }
.tgp-ros-ttf__at { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--tgp-text-faint, #71717a); font-weight: 600; pointer-events: none; }
.tgp-ros-ttf__hint { margin: 8px 0 0; font-size: 12px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-ttf__list { display: grid; gap: 14px; }
.tgp-ros-ttf__empty p { margin: 0; font-size: 13px; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-ttf__card { border-radius: 16px; background: var(--tgp-surface-high, #18181b); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); padding: 18px; display: grid; gap: 16px; min-width: 0; }
.tgp-ros-ttf__top { display: flex; align-items: flex-start; gap: 14px; }
.tgp-ros-ttf__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--tgp-surface-hover, #27272a); }
.tgp-ros-ttf__who { min-width: 0; flex: 1; }
.tgp-ros-ttf__name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 700; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ttf__name a { color: inherit; text-decoration: none; }
.tgp-ros-ttf__name a:hover { color: var(--tgp-accent, #9333ea); }
.tgp-ros-ttf__name em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: rgba(147, 51, 234, .14); color: #c4b5fd; }
.tgp-ros-ttf__stats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--tgp-text-faint, #71717a); margin-top: 3px; }
.tgp-ros-ttf__stats b { color: var(--tgp-text, #f4f4f5); font-weight: 600; }
.tgp-ros-ttf__bio { margin: 6px 0 0; font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); line-height: 1.45; }
.tgp-ros-ttf__actions { display: flex; gap: 6px; flex-shrink: 0; }
#tgp-ros-root .tgp-ros-ttf__iconbtn { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--tgp-text-dim, #a1a1aa); background: rgba(255,255,255,.05); cursor: pointer; }
#tgp-ros-root .tgp-ros-ttf__iconbtn:hover { color: var(--tgp-text, #f4f4f5); background: var(--tgp-surface-hover, #27272a); }
.tgp-ros-ttf__pending { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(147, 51, 234, .08); border: 1px dashed rgba(147, 51, 234, .3); font-size: 13px; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-ttf__pending b { color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ttf__failed { padding: 12px 14px; border-radius: 12px; background: rgba(239, 68, 68, .08); border: 1px solid rgba(239, 68, 68, .25); font-size: 13px; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-ttf__summary { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ttf__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; }
.tgp-ros-ttf__block { display: grid; gap: 10px; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.035); min-width: 0; }
.tgp-ros-ttf__blocktitle { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-ttf__works { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tgp-ros-ttf__works li { display: grid; gap: 3px; font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-ttf__works b { display: inline-flex; align-items: center; gap: 8px; color: var(--tgp-text, #f4f4f5); font-weight: 600; }
.tgp-ros-ttf__works b span { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: rgba(147, 51, 234, .14); color: #c4b5fd; font-weight: 700; }
.tgp-ros-ttf__hooks { display: flex; flex-wrap: wrap; gap: 6px; }
.tgp-ros-ttf__hooks span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--tgp-surface-hover, #27272a); color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ttf__note { margin: 0; font-size: 12.5px; color: var(--tgp-text-dim, #a1a1aa); line-height: 1.5; }
.tgp-ros-ttf__clips { display: flex; flex-wrap: wrap; gap: 6px; }
.tgp-ros-ttf__book { padding: 16px; border-radius: 14px; border: 1px solid rgba(147, 51, 234, .35); background: linear-gradient(180deg, rgba(147, 51, 234, .1), transparent 70%), var(--tgp-surface-high, #18181b); display: grid; gap: 12px; }
.tgp-ros-ttf__bookhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tgp-ros-ttf__bookhead h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ttf__bookhead small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-ttf__strategy { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tgp-ros-ttf__strategy li { position: relative; padding-left: 16px; font-size: 13px; color: var(--tgp-text-dim, #a1a1aa); line-height: 1.45; }
.tgp-ros-ttf__strategy li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--tgp-accent, #9333ea); }
.tgp-ros-ttf__ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 10px; }
.tgp-ros-ttf__idea { display: grid; gap: 8px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); min-width: 0; }
.tgp-ros-ttf__idea h4 { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ttf__idea em { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: rgba(147, 51, 234, .14); color: #c4b5fd; width: max-content; }
.tgp-ros-ttf__caption { margin: 0; font-size: 12.5px; font-style: italic; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ttf__idea ol { margin: 0; padding-left: 16px; font-size: 12px; color: var(--tgp-text-dim, #a1a1aa); display: grid; gap: 3px; }
.tgp-ros-ttf__why { margin: 0; font-size: 11.5px; color: var(--tgp-text-faint, #71717a); line-height: 1.45; }
.tgp-ros-ttf__similar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.tgp-ros-ttf__sim { flex: 0 0 168px; display: grid; gap: 6px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); min-width: 0; }
.tgp-ros-ttf__simtop { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tgp-ros-ttf__simtop img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--tgp-surface-hover, #27272a); }
.tgp-ros-ttf__simtop b { display: block; font-size: 12.5px; color: var(--tgp-text, #f4f4f5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgp-ros-ttf__simtop small { display: block; font-size: 11px; color: var(--tgp-text-faint, #71717a); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgp-ros-ttf__simwhy { margin: 0; font-size: 11.5px; color: var(--tgp-text-dim, #a1a1aa); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#tgp-ros-root .tgp-ros-ttf__simbtn { justify-self: start; }
.tgp-ros-ttf__quick { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--tgp-text-dim, #a1a1aa); font-size: 12px; font-weight: 700; line-height: 1; cursor: pointer; flex-shrink: 0; }
.tgp-ros-ttf__quick:hover { background: var(--tgp-accent, #9333ea); color: #fff; }
.tgp-ros-ttf__quick.is-done { background: #34d399; color: #052e1c; }
@media (max-width: 900px) { .tgp-ros-ttf__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .tgp-ros-ttf__row { flex-wrap: wrap; } .tgp-ros-ttf__row .tgp-field { flex-basis: 100%; } .tgp-ros-ttf__card { padding: 14px; } }

/* Trends: compact page controls, store player, cart */
.tgp-ros-trend__jump { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.tgp-ros-trend__jump a { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; color: var(--tgp-text-dim, #a1a1aa); background: rgba(255,255,255,.05); text-decoration: none; transition: background .15s, color .15s; }
.tgp-ros-trend__jump a:hover { color: var(--tgp-text, #f4f4f5); background: var(--tgp-surface-hover, #27272a); }
.tgp-ros-trend__more { display: flex; justify-content: center; margin-top: 16px; }
.tgp-ros-trend__more [hidden] { display: none; }
.tgp-ros-trend__format.is-more, .tgp-ros-trend__song.is-more, .tgp-ros-trend__clipwrap.is-more { display: none; }
#tgp-ros-root .tgp-ros-trend__engine { position: absolute; left: -99999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
#tgp-ros-trend-songs { position: relative; }
.tgp-ros-trend__snd img, #tgp-ros-root .tgp-ros-trend__snd img { border-radius: inherit; }
#tgp-ros-root .tgp-ros-trend__snd--prod, #tgp-ros-root .tgp-ros-trend__song .tgp-ros-trend__snd--prod { border-radius: 10px; }
.tgp-ros-trend__prod { grid-template-columns: 40px minmax(0, 1fr) auto auto; }
.tgp-ros-trend__prodactions { display: inline-flex; gap: 6px; }
#tgp-ros-root .tgp-ros-trend__prodactions .tgp-ros-trend__prodbtn { display: inline-flex; align-items: center; gap: 5px; }
#tgp-ros-root .tgp-ros-trend__prodbtn.is-added { background: #34d399; color: #052e1c; border-color: transparent; }
#tgp-ros-root .tgp-ros-trend__prodbtn.is-loading { opacity: .6; }
.tgp-ros-ttf__pending .tgp-ros-spinner { flex: 0 0 auto; }
.tgp-ros-ttf__card.is-collapsed > :not(.tgp-ros-ttf__top) { display: none; }
#tgp-ros-root .tgp-ros-ttf__iconbtn svg { transition: transform .2s; }
.tgp-ros-ttf__card.is-collapsed [data-ros-ttf-toggle] svg { transform: rotate(-90deg); }
@media (max-width: 640px) {
  .tgp-ros-trend__jump { margin-left: 0; }
  .tgp-ros-trend__prod { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .tgp-ros-trend__prodactions { grid-column: 2 / -1; justify-content: flex-end; }
  #tgp-ros-root .tgp-ros-trend__prodactions .tgp-ros-trend__prodbtn { display: inline-flex; }
}

/* Trends: save to planner */
.tgp-ros-trend__savegroup { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-trend__savegroup .tgp-btn.is-saved { background: #34d399; color: #052e1c; border-color: transparent; }
.tgp-ros-trend__savedlink { font-size: 11.5px; color: #6ee7b7; text-decoration: none; }
.tgp-ros-trend__savedlink:hover { text-decoration: underline; }
.tgp-ros-ttf__idea .tgp-ros-trend__savegroup { margin-top: 4px; }
.tgp-ros-ttf__hooks span { display: inline-flex; align-items: center; gap: 6px; }
#tgp-ros-root .tgp-ros-ttf__hooksave { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--tgp-text-dim, #a1a1aa); font-size: 12px; font-weight: 700; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
#tgp-ros-root .tgp-ros-ttf__hooksave:hover { background: var(--tgp-accent, #9333ea); color: #fff; }
#tgp-ros-root .tgp-ros-ttf__hooksave.is-saved { background: #34d399; color: #052e1c; }

/* The theme-level button reset outranks plain class rules; pin the cover shapes. */
#tgp-ros-root .tgp-ros-trend__snd { border-radius: 12px !important; overflow: hidden !important; padding: 0 !important; }
#tgp-ros-root .tgp-ros-trend__song .tgp-ros-trend__snd { border-radius: 14px !important; }
#tgp-ros-root .tgp-ros-trend__snd--prod, #tgp-ros-root .tgp-ros-trend__song .tgp-ros-trend__snd--prod { border-radius: 10px !important; }
#tgp-ros-root .tgp-ros-trend__clip { border-radius: 14px !important; }
#tgp-ros-root .tgp-ros-trend__clip--sm, #tgp-ros-root .tgp-ros-trend__clip--xs { border-radius: 9px !important; }

/* Content planner: idea details (caption, how, why, source) */
.tgp-ros-contentrow__details { margin-top: 4px; font-size: 12.5px; }
.tgp-ros-contentrow__details summary { cursor: pointer; color: #c4b5fd; font-weight: 600; font-size: 12px; list-style: none; display: inline-flex; align-items: center; gap: 4px; }
.tgp-ros-contentrow__details summary::-webkit-details-marker { display: none; }
.tgp-ros-contentrow__details summary::before { content: ''; width: 0; height: 0; border-left: 5px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; transition: transform .15s; }
.tgp-ros-contentrow__details[open] summary::before { transform: rotate(90deg); }
.tgp-ros-contentrow__caption { margin: 8px 0 6px; font-style: italic; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-contentrow__notes { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); color: var(--tgp-text-dim, #a1a1aa); line-height: 1.55; white-space: normal; }
.tgp-ros-trend__savedlink { display: inline-block; }
.tgp-ros-trend__savedlink:focus { outline: none; text-decoration: underline; }

/* Trends catalogue rows: price is the cart button, heart is the wishlist */
.tgp-ros-trend__prod { grid-template-columns: 40px minmax(0, 1fr) auto; }
.tgp-ros-trend__prodactions { display: inline-flex; align-items: center; gap: 5px; }
#tgp-ros-root .tgp-ros-trend__pricebtn { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 999px; background: var(--tgp-accent, #9333ea); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .15s, transform .1s; }
#tgp-ros-root .tgp-ros-trend__pricebtn:hover { background: var(--tgp-accent-deep, #7c3aed); }
#tgp-ros-root .tgp-ros-trend__pricebtn:active { transform: scale(.97); }
#tgp-ros-root .tgp-ros-trend__pricebtn del { color: rgba(255,255,255,.6); font-weight: 500; font-size: 11px; }
#tgp-ros-root .tgp-ros-trend__pricebtn ins { text-decoration: none; }
#tgp-ros-root .tgp-ros-trend__pricebtn .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#tgp-ros-root .tgp-ros-trend__pricebtn.is-added { background: #34d399; color: #052e1c; }
#tgp-ros-root .tgp-ros-trend__pricebtn.is-loading { opacity: .6; }
#tgp-ros-root .tgp-ros-trend__wish { width: 30px; height: 30px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--tgp-text-dim, #a1a1aa); background: rgba(255,255,255,.06); cursor: pointer; transition: background .15s, color .15s; text-decoration: none; }
#tgp-ros-root .tgp-ros-trend__wish:hover { color: var(--tgp-text, #f4f4f5); background: var(--tgp-surface-hover, #27272a); }
#tgp-ros-root .tgp-ros-trend__wish.is-on { color: #fb7185; background: rgba(251, 113, 133, .14); }
#tgp-ros-root .tgp-ros-trend__wish.is-on svg { fill: currentColor; }
@media (max-width: 640px) { .tgp-ros-trend__prod { grid-template-columns: 40px minmax(0, 1fr) auto; } .tgp-ros-trend__prodactions { grid-column: auto; } #tgp-ros-root .tgp-ros-trend__wish--view { display: none; } }

/* Onboarding showcase: trends */
.tgp-ros-ob__trend { display: grid; gap: 12px; }
.tgp-ros-ob__trendhead { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #a78bfa; }
.tgp-ros-ob__trendhead i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.tgp-ros-ob__trendhead span { margin-left: auto; font-size: 11.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-ob__trendclips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.tgp-ros-ob__trendclip { position: relative; aspect-ratio: 9 / 16; border-radius: 11px; background: var(--tgp-surface-hover, #27272a) center / cover no-repeat; overflow: hidden; }
.tgp-ros-ob__trendclip b { position: absolute; top: 6px; left: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(147,51,234,.85); color: #fff; font-size: 9.5px; font-weight: 700; }
.tgp-ros-ob__trendclip em { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font-size: 10px; font-weight: 700; font-style: normal; }
.tgp-ros-ob__trendformats { display: flex; flex-wrap: wrap; gap: 6px; }
.tgp-ros-ob__trendformats span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.06); font-size: 12px; font-weight: 600; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ob__trendformats b { font-size: 10.5px; padding: 1px 6px; border-radius: 999px; background: rgba(147,51,234,.25); color: #c4b5fd; }
.tgp-ros-ob__trendsong { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); }
.tgp-ros-ob__trendsong img { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; }
.tgp-ros-ob__trendsong b { display: block; font-size: 13px; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ob__trendsong span { display: block; font-size: 11.5px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-ob__trendsong em { margin-left: auto; font-size: 10.5px; font-weight: 700; font-style: normal; color: #6ee7b7; background: rgba(52,211,153,.12); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.tgp-ros-ob__trendbook { padding: 11px 13px; border-radius: 12px; border: 1px solid rgba(147,51,234,.35); background: linear-gradient(180deg, rgba(147,51,234,.12), transparent); }
.tgp-ros-ob__trendbooklabel { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #c4b5fd; margin-bottom: 5px; }
.tgp-ros-ob__trendbook p { margin: 0; font-size: 12.5px; color: var(--tgp-text, #f4f4f5); }

/* Icon buttons live under the global reset again; pin what they need. */
#tgp-ros-root .tgp-ros-ttf__iconbtn { background-color: rgba(255,255,255,.05) !important; border-radius: 10px !important; color: var(--tgp-text-dim, #a1a1aa) !important; width: 32px; height: 32px; }
#tgp-ros-root .tgp-ros-ttf__iconbtn:hover { background-color: var(--tgp-surface-hover, #27272a) !important; color: var(--tgp-text, #f4f4f5) !important; }
#tgp-ros-root .tgp-ros-ttf__hooksave { background-color: rgba(255,255,255,.1) !important; border-radius: 50% !important; color: var(--tgp-text-dim, #a1a1aa) !important; }
#tgp-ros-root .tgp-ros-ttf__hooksave:hover { background-color: var(--tgp-accent, #9333ea) !important; color: #fff !important; }
#tgp-ros-root .tgp-ros-ttf__hooksave.is-saved { background-color: #34d399 !important; color: #052e1c !important; }
#tgp-ros-root .tgp-ros-trend__clip { background-color: transparent !important; padding: 0 !important; }
#tgp-ros-root .tgp-ros-trend__snd { background-color: var(--tgp-surface-hover, #27272a) !important; }
#tgp-ros-root .tgp-ros-trend__tab, #tgp-ros-root .tgp-ros-trend__chipbtn { border-style: solid; }
#tgp-ros-root .tgp-ros-trend__wish, #tgp-ros-root .tgp-ros-trend__pricebtn { padding-top: 0 !important; padding-bottom: 0 !important; border: 0 !important; box-shadow: none !important; }
#tgp-ros-root .tgp-ros-trend__wish { padding-left: 0 !important; padding-right: 0 !important; }

/* Trends: account search results + genre preference */
.tgp-ros-ttf__results { margin-top: 8px; display: grid; gap: 6px; padding: 8px; border-radius: 14px; background: var(--tgp-surface-high, #18181b); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); }
.tgp-ros-ttf__results[hidden] { display: none; }
.tgp-ros-ttf__result { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; }
.tgp-ros-ttf__result:hover { background: rgba(255,255,255,.04); }
.tgp-ros-ttf__result img, .tgp-ros-ttf__resultph { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--tgp-surface-hover, #27272a); }
.tgp-ros-ttf__resultbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tgp-ros-ttf__resultbody b { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ttf__resultbody span { font-size: 12px; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-ttf__resultbody small { font-size: 11.5px; color: var(--tgp-text-faint, #71717a); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgp-ros-ttf__resultdone { font-size: 12px; font-weight: 700; color: #6ee7b7; }
.tgp-ros-ttf__noresult { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; font-size: 13px; color: var(--tgp-text-dim, #a1a1aa); }
.tgp-ros-trend__genrepref { display: inline-flex; align-items: center; gap: 6px; }
#tgp-ros-root .tgp-ros-trend__genreedit { font-size: 12px; color: #c4b5fd; }
.tgp-ros-trend__genrepanel { flex-basis: 100%; display: grid; gap: 10px; padding-top: 10px; border-top: 1px solid var(--tgp-border, rgba(255,255,255,.08)); margin-top: 4px; }
.tgp-ros-trend__genrepanel[hidden] { display: none; }
.tgp-ros-trend__genrepanel .tgp-ros-trend__chips { margin: 0; }
.tgp-ros-trend__genreactions { display: flex; gap: 8px; }
/* Search results: a single-column grid must not grow to the widest bio. */
.tgp-ros-ttf__results { grid-template-columns: minmax(0, 1fr); }
.tgp-ros-ttf__result { min-width: 0; max-width: 100%; }
.tgp-ros-ttf__resultbody small, .tgp-ros-ttf__resultbody span, .tgp-ros-ttf__resultbody b { min-width: 0; max-width: 100%; }
.tgp-ros-ttf__resultbody b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tgp-ros-root .tgp-ros-ttf__result .tgp-btn { flex-shrink: 0; }

.tgp-ros-trend__genregroups { display: grid; gap: 10px; }
.tgp-ros-trend__genregroup { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; align-items: start; }
.tgp-ros-trend__genregrouplabel { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); padding-top: 7px; }
#tgp-ros-root .tgp-ros-trend__chipbtn--family { border-color: rgba(147, 51, 234, .4); }
@media (max-width: 640px) { .tgp-ros-trend__genregroup { grid-template-columns: 1fr; gap: 4px; } .tgp-ros-trend__genregroup .tgp-ros-trend__chips { overflow: visible; flex-wrap: wrap; } }

/* Followed artists: by the numbers, timing, comparison */
.tgp-ros-ttf__numbers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.tgp-ros-ttf__num { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); min-width: 0; }
.tgp-ros-ttf__num b { font-size: 18px; font-weight: 800; color: var(--tgp-text, #f4f4f5); line-height: 1.1; }
.tgp-ros-ttf__num span { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-ttf__num small { font-size: 11px; color: var(--tgp-text-dim, #a1a1aa); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tgp-ros-ttf__timing { display: grid; gap: 8px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.035); }
.tgp-ros-ttf__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; height: 64px; }
.tgp-ros-ttf__day { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.tgp-ros-ttf__day i { display: block; width: 100%; max-width: 28px; min-height: 2px; border-radius: 4px 4px 2px 2px; background: rgba(147,51,234,.35); }
.tgp-ros-ttf__day.is-best i { background: var(--tgp-accent, #9333ea); }
.tgp-ros-ttf__day span { font-size: 10.5px; color: var(--tgp-text-faint, #71717a); }
.tgp-ros-ttf__day.is-best span { color: var(--tgp-text, #f4f4f5); font-weight: 700; }
.tgp-ros-ttf__mix { display: flex; flex-wrap: wrap; gap: 6px; }
.tgp-ros-ttf__mix span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(147,51,234,.12); color: #c4b5fd; }
.tgp-ros-ttf__mix b { color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ttf__compare { display: grid; gap: 8px; padding: 14px 16px; border-radius: 16px; background: var(--tgp-surface-high, #18181b); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); }
.tgp-ros-ttf__tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tgp-ros-ttf__table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 720px; }
.tgp-ros-ttf__table th { text-align: left; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); padding: 6px 10px; border-bottom: 1px solid var(--tgp-border, rgba(255,255,255,.08)); white-space: nowrap; }
.tgp-ros-ttf__table td { padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--tgp-text, #f4f4f5); white-space: nowrap; }
.tgp-ros-ttf__table tr:last-child td { border-bottom: 0; }
.tgp-ros-ttf__cellwho { display: inline-flex; align-items: center; gap: 8px; }
.tgp-ros-ttf__cellwho img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

/* Followed artists: side-by-side comparison (metric rows, artist columns) */
.tgp-ros-ttf__comparehead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.tgp-ros-ttf__comparehead > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tgp-ros-ttf__cmpnav { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; font-size: 12px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-ttf__cmparrow { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background-color: rgba(255,255,255,.06) !important; color: var(--tgp-text, #f4f4f5) !important; border-radius: 50% !important; cursor: pointer; }
#tgp-ros-root .tgp-ros-ttf__cmparrow[disabled] { opacity: .35; cursor: default; }
.tgp-ros-ttf__cmpwrap { overflow: visible; }
.tgp-ros-ttf__cmp { display: grid; grid-template-columns: minmax(96px, 150px) repeat(var(--cols, 2), minmax(0, 1fr)); width: 100%; }
.tgp-ros-ttf__cmprow { display: contents; }
.tgp-ros-ttf__cmprow > div { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.05); min-width: 0; }
.tgp-ros-ttf__cmprow:last-child > div { border-bottom: 0; }
.tgp-ros-ttf__cmprow--head > div { border-bottom: 1px solid var(--tgp-border, rgba(255,255,255,.08)); padding-bottom: 12px; }
.tgp-ros-ttf__cmplabel { font-size: 12px; font-weight: 600; color: var(--tgp-text-dim, #a1a1aa); display: flex; align-items: center; line-height: 1.3; }
.tgp-ros-ttf__cmpwho { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tgp-ros-ttf__cmpwho img, .tgp-ros-ttf__cmpwho > span { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--tgp-surface-hover, #27272a); display: block; }
.tgp-ros-ttf__cmpwho b { font-size: 13px; color: var(--tgp-text, #f4f4f5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tgp-ros-ttf__cmpwho small { font-size: 11px; color: var(--tgp-text-faint, #71717a); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tgp-ros-ttf__cmpcell { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.tgp-ros-ttf__cmpcell b { font-size: 15px; font-weight: 700; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ttf__cmpcell i { display: block; height: 4px; border-radius: 999px; background: rgba(255,255,255,.12); }
.tgp-ros-ttf__cmpcell.is-lead b { color: #c4b5fd; }
.tgp-ros-ttf__cmpcell.is-lead i { background: var(--tgp-accent, #9333ea); }
.tgp-ros-ttf__cmpcell em { font-style: normal; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--tgp-text, #f4f4f5); display: inline-block; width: auto; max-width: 100%; box-sizing: border-box; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .tgp-ros-ttf__cmp { grid-template-columns: minmax(84px, 110px) repeat(var(--cols, 2), minmax(0, 1fr)); } .tgp-ros-ttf__cmplabel { font-size: 11px; } .tgp-ros-ttf__cmprow > div { padding: 8px 8px; } .tgp-ros-ttf__cmpcell b { font-size: 13.5px; } .tgp-ros-ttf__cmpcell em { font-size: 11px; white-space: normal; } .tgp-ros-ttf__cmpwho img, .tgp-ros-ttf__cmpwho > span { width: 32px; height: 32px; } }
@media (max-width: 640px) {
  .tgp-ros-ttf__comparehead { flex-direction: column; align-items: stretch; }
  .tgp-ros-ttf__cmpnav { justify-content: flex-end; }
  .tgp-ros-ttf__cmpcell em { border-radius: 10px; padding: 5px 8px; line-height: 1.3; width: auto; }
  .tgp-ros-ttf__cmpwho b, .tgp-ros-ttf__cmpwho small { font-size: 12px; }
}
.tgp-ros-ttf__comparehead > .tgp-ros-ttf__cmpnav { flex-direction: row; }
@media (max-width: 640px) { .tgp-ros-ttf__cmpcell em { overflow: visible; text-overflow: clip; white-space: normal; word-break: normal; } }

/* Followed artists: what performs (tags + captions) */
.tgp-ros-ttf__perf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; }
.tgp-ros-ttf__toptags { display: flex; flex-wrap: wrap; gap: 6px; }
.tgp-ros-ttf__toptags a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--tgp-surface-hover, #27272a); color: var(--tgp-text, #f4f4f5); font-size: 12px; font-weight: 600; text-decoration: none; }
.tgp-ros-ttf__toptags a:hover { background: var(--tgp-accent, #9333ea); color: #fff; }
.tgp-ros-ttf__toptags b { font-size: 10.5px; color: #c4b5fd; }
.tgp-ros-ttf__toptags a:hover b { color: #fff; }
.tgp-ros-ttf__topcaps { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; }
.tgp-ros-ttf__topcaps li { font-size: 12.5px; line-height: 1.45; color: var(--tgp-text, #f4f4f5); }
.tgp-ros-ttf__topcaps a { color: inherit; text-decoration: none; }
.tgp-ros-ttf__topcaps a:hover { color: #c4b5fd; }
.tgp-ros-ttf__topcaps span { display: block; font-size: 11px; color: var(--tgp-text-faint, #71717a); }
@media (max-width: 900px) { .tgp-ros-ttf__perf { grid-template-columns: 1fr; } }

#tgp-ros-root .tgp-ros-ttf__cmplink { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background-color: rgba(147,51,234,.14) !important; color: #c4b5fd !important; border-radius: 999px !important; text-decoration: none; cursor: pointer; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tgp-ros-root .tgp-ros-ttf__cmplink:hover { background-color: var(--tgp-accent, #9333ea) !important; color: #fff !important; }
#tgp-ros-root .tgp-ros-ttf__cmplink b { font-size: 10.5px; opacity: .8; }
#tgp-ros-root .tgp-ros-ttf__cmplink { min-height: 28px; line-height: 1.2; }

/* Clip cards: the rounded, overflow-hidden button clipped the first glyph of the footer at its corner. */
#tgp-ros-root .tgp-ros-trend__clip { overflow: visible; }
.tgp-ros-trend__clipmeta { overflow: hidden; }

/* ── Trends: mobile pass ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Followed-artist card header: avatar + actions on the first row, identity below at full width. */
  .tgp-ros-ttf__top { flex-wrap: wrap; align-items: center; gap: 10px 12px; }
  .tgp-ros-ttf__who { flex: 1 1 100%; order: 3; }
  .tgp-ros-ttf__actions { margin-left: auto; }
  .tgp-ros-ttf__avatar { width: 48px; height: 48px; }
  .tgp-ros-ttf__name { font-size: 15px; }
  .tgp-ros-ttf__stats { gap: 4px 10px; }
  /* Comparison chips wrap instead of squeezing into a circle. */
  #tgp-ros-root .tgp-ros-ttf__cmplink { white-space: normal; border-radius: 10px !important; text-align: left; line-height: 1.25; padding: 5px 8px; min-height: 0; }
  /* Catalogue rows: title gets the full width, price + actions move to a second line. */
  .tgp-ros-trend__prod { grid-template-columns: 40px minmax(0, 1fr); row-gap: 6px; }
  .tgp-ros-trend__prodactions { grid-column: 2; justify-content: flex-start; }
  #tgp-ros-root .tgp-ros-trend__wish--view { display: inline-flex; }
  /* "How people use it": label first, six thumbs in one row. */
  .tgp-ros-trend__song .tgp-ros-trend__sndclips { gap: 5px; }
  .tgp-ros-trend__sndclipslabel { flex-basis: 100%; order: -1; margin: 0 0 2px; }
  #tgp-ros-root .tgp-ros-trend__song .tgp-ros-trend__clip--sm { width: calc((100% - 25px) / 6); flex: 0 0 calc((100% - 25px) / 6); }
  /* Numbers tiles: two per row, tighter. */
  .tgp-ros-ttf__numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .tgp-ros-ttf__num { padding: 9px 10px; }
  .tgp-ros-ttf__num b { font-size: 16px; }
  /* Format cards: chips row + example clips fit. */
  .tgp-ros-trend__formatclips { gap: 5px; }
  #tgp-ros-root .tgp-ros-trend__clip--xs { width: calc((100% - 20px) / 5); flex: 0 0 calc((100% - 20px) / 5); }
  /* Song card header: give the title room. */
  .tgp-ros-trend__songtop { gap: 10px; }
  .tgp-ros-trend__song .tgp-ros-trend__sndtitle { font-size: 14px; }
  .tgp-ros-trend__section .tgp-ros-trend__head { margin-bottom: 12px; }
  .tgp-ros-trend__sub { font-size: 12.5px; }
}
@media (max-width: 640px) {
  /* Clip badges: icon-only "big reach" pill so it never collides with the play count. */
  .tgp-ros-trend__clipreach { font-size: 0; gap: 0; padding: 4px; width: 20px; height: 20px; justify-content: center; }
  .tgp-ros-trend__clipreach svg { width: 11px; height: 11px; }
  .tgp-ros-trend__clipviews { max-width: calc(100% - 34px); }
  .tgp-ros-trend__clip--xs .tgp-ros-trend__clipviews, .tgp-ros-trend__clip--sm .tgp-ros-trend__clipviews { display: none; }
  #tgp-ros-root .tgp-ros-ttf__cmplink b { white-space: normal; }
}

/* Price pill: spinner while adding, animated check when in the cart */
#tgp-ros-root .tgp-ros-trend__pricebtn.is-loading { opacity: 1; justify-content: center; cursor: progress; }
#tgp-ros-root .tgp-ros-trend__pricebtn .tgp-ros-spinner { width: 14px; height: 14px; border-width: 2px; border-color: rgba(255,255,255,.35); border-top-color: #fff; display: inline-block; vertical-align: 0; }
.tgp-ros-trend__srtext { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#tgp-ros-root .tgp-ros-trend__pricebtn.is-added { justify-content: center; }
.tgp-ros-trend__tick path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: tgpRosTick .35s ease-out forwards; }
@keyframes tgpRosTick { to { stroke-dashoffset: 0; } }

/* ── Social calendar: several posts on one day → stack + popover ────── */
#tgp-ros-root .tgp-ros-scal__stack { display: flex !important; flex-direction: column; gap: 5px !important; width: 100%; padding: 5px 6px !important; border-radius: 8px !important; background-color: rgba(147, 51, 234, 0.1) !important; border: 1px solid rgba(168, 85, 247, 0.3) !important; color: #d8b4fe !important; text-align: left; cursor: pointer; box-shadow: none !important; transition: filter .12s ease, transform .12s ease; }
#tgp-ros-root .tgp-ros-scal__stack:hover { filter: brightness(1.15); transform: translateY(-1px); }
#tgp-ros-root .tgp-ros-scal__stackthumbs { display: flex; align-items: center; }
#tgp-ros-root .tgp-ros-scal__stackthumb { width: 26px; height: 26px; border-radius: 7px; overflow: hidden; background: var(--tgp-surface-hover, #27272a); border: 2px solid var(--tgp-surface, #111113); margin-left: -8px; display: inline-flex; align-items: center; justify-content: center; color: #d8b4fe; flex-shrink: 0; }
#tgp-ros-root .tgp-ros-scal__stackthumb:first-child { margin-left: 0; }
#tgp-ros-root .tgp-ros-scal__stackthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tgp-ros-root .tgp-ros-scal__stackthumb.is-count { font-size: 9.5px; font-weight: 800; background: var(--tgp-accent, #9333ea); color: #fff; }
#tgp-ros-root .tgp-ros-scal__stackmeta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
#tgp-ros-root .tgp-ros-scal__stackmeta b { font-size: 11px; font-weight: 700; color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-scal__stackmeta span { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 600; color: var(--tgp-text-dim, #a1a1aa); line-height: 1.3; }
#tgp-ros-root .tgp-ros-scal__stackmeta em { font-style: normal; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-scal__stackmeta i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: #a855f7; }
#tgp-ros-root .tgp-ros-scal__stackmeta i.is-posted { background: #34d399; }
#tgp-ros-root .tgp-ros-scal__stackmeta i.is-failed { background: #f87171; }
#tgp-ros-root .tgp-ros-scal__stackmeta i.is-idea { background: transparent; box-shadow: inset 0 0 0 1.5px var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-scal__day.is-open { z-index: 30; overflow: visible; }
#tgp-ros-root .tgp-ros-scal__pop[data-ros-scal-pop] { position: absolute; top: calc(100% - 6px); left: 4px; width: 272px; max-width: calc(100vw - 32px); box-sizing: border-box; z-index: 40; padding: 10px; border-radius: 12px; background: var(--tgp-surface-high, #18181b); border: 1px solid var(--tgp-border-strong, rgba(255,255,255,.14)); box-shadow: 0 18px 50px rgba(0,0,0,.55); display: grid; gap: 8px; text-align: left; }
#tgp-ros-root .tgp-ros-scal__pop[data-ros-scal-pop][hidden] { display: none; }
#tgp-ros-root .tgp-ros-scal__pop[data-ros-scal-pop].is-left { left: auto; right: 4px; }
#tgp-ros-root .tgp-ros-scal__pop[data-ros-scal-pop].is-up { top: auto; bottom: calc(100% - 6px); }
#tgp-ros-root .tgp-ros-scal__pophead { display: flex; align-items: center; gap: 8px; }
#tgp-ros-root .tgp-ros-scal__pophead b { font-size: 12.5px; color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-scal__pophead span { font-size: 11px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-scal__popclose { margin-left: auto; width: 24px; height: 24px; border-radius: 50% !important; background-color: rgba(255,255,255,.06) !important; color: var(--tgp-text-dim, #a1a1aa) !important; font-size: 14px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
#tgp-ros-root .tgp-ros-scal__poplist { display: grid; gap: 6px; max-height: 300px; overflow: auto; }
#tgp-ros-root .tgp-ros-scal__poplist .tgp-ros-scal__chip { font-size: 11.5px !important; padding: 5px 6px !important; }
#tgp-ros-root .tgp-ros-scal__poplist .tgp-ros-scal__chipthumb { width: 34px; height: 34px; }
#tgp-ros-root .tgp-ros-scal__pophint { margin: 0; font-size: 10.5px; color: var(--tgp-text-faint, #71717a); }
/* The theme's button rule pins a fixed height; the stack must size to its content. */
#tgp-ros-root .tgp-ros-scal__stack { height: auto !important; min-height: 0 !important; line-height: 1.3 !important; overflow: visible; }
#tgp-ros-root .tgp-ros-scal__stackmeta b { line-height: 1.2; }
/* Day cells are flex columns with a fixed aspect: never let the stack (or chips) be squeezed; the cell grows instead. */
#tgp-ros-root .tgp-ros-scal__stack, #tgp-ros-root .tgp-ros-scal__day > .tgp-ros-scal__chip { flex-shrink: 0 !important; }
/* A day holding a stack drops the fixed aspect so the summary is never cut off. */
#tgp-ros-root .tgp-ros-scal__day:has(.tgp-ros-scal__stack) { min-height: 104px; }
#tgp-ros-root .tgp-ros-scal__poplist .tgp-ros-scal__chipstack { min-width: 0; flex: 1; }
#tgp-ros-root .tgp-ros-scal__poplist .tgp-ros-scal__chipname, #tgp-ros-root .tgp-ros-scal__poplist .tgp-ros-scal__chiptime { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tgp-ros-ttf__samplenote { margin: -4px 0 0; font-size: 11px; color: var(--tgp-text-faint, #71717a); line-height: 1.45; }

#tgp-ros-root .tgp-ros-scal__pop .tgp-ros-scal__poprow { flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-scal__pop a.tgp-ros-btn { text-decoration: none; }

/* Trends: free-plan teaser */
#tgp-ros-root .tgp-ros-trend__lock { padding: 28px 30px; }
#tgp-ros-root .tgp-ros-trend__lockpreview { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 16px; background: var(--tgp-surface-2, #1b1b1f); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); }
#tgp-ros-root .tgp-ros-trend__lockpreviewlabel { font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); margin-bottom: 4px; }
#tgp-ros-root .tgp-ros-trend__lockrow { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.03); font-size: 13px; }
#tgp-ros-root .tgp-ros-trend__lockrow b { font-weight: 700; color: var(--tgp-text, #f4f4f5); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-trend__lockrow span { color: var(--tgp-text-muted, #a1a1aa); white-space: nowrap; }
#tgp-ros-root .tgp-ros-trend__lockrow.is-blur { filter: blur(3.5px); opacity: .55; user-select: none; }
@media ( max-width: 700px ) { #tgp-ros-root .tgp-ros-trend__lock { padding: 20px 16px; } }

/* Trends: free-plan tour */
#tgp-ros-root .tgp-ros-trend__lockwrap { display: flex; flex-direction: column; gap: 18px; }
/* Grid columns are minmax(auto, …): long nowrap song titles inside the preview would widen the column past the viewport. */
#tgp-ros-root .tgp-ros-trend__lock .tgp-ros-adhero2 > * { min-width: 0; }
#tgp-ros-root .tgp-ros-trend__lockpreview { min-width: 0; }
#tgp-ros-root .tgp-ros-trend__lockrow { min-width: 0; }
#tgp-ros-root .tgp-ros-trend__live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; margin-right: 7px; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: tgp-trend-pulse 1.8s ease-out infinite; }
@keyframes tgp-trend-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
#tgp-ros-root .tgp-ros-trend__lockrow { opacity: 0; transform: translateY(6px); animation: tgp-trend-in .5s ease forwards; animation-delay: var(--d, 0ms); }
#tgp-ros-root .tgp-ros-trend__lockrow .is-up { color: #4ade80; font-weight: 700; }
@keyframes tgp-trend-in { to { opacity: 1; transform: none; } }
#tgp-ros-root .tgp-ros-trend__lockrow.is-blur { animation-name: tgp-trend-in-blur; }
@keyframes tgp-trend-in-blur { to { opacity: .55; transform: none; } }
#tgp-ros-root .tgp-ros-trend__tour { display: flex; flex-direction: column; gap: 14px; }
#tgp-ros-root .tgp-ros-trend__tourhead { padding: 6px 4px 0; }
#tgp-ros-root .tgp-ros-trend__tourhead .tgp-card__title { margin: 0 0 4px; }
#tgp-ros-root .tgp-ros-trend__tourcard { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; align-items: center; padding: 26px 28px; }
#tgp-ros-root .tgp-ros-trend__tourcard:nth-child(odd) .tgp-ros-trend__tourtext { order: 2; }
#tgp-ros-root .tgp-ros-trend__tourstep { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #a855f7; margin-bottom: 8px; }
#tgp-ros-root .tgp-ros-trend__tourtext h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.25; font-weight: 800; color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-trend__tourtext p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.6; color: var(--tgp-text-muted, #a1a1aa); }
#tgp-ros-root .tgp-ros-trend__tourlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
#tgp-ros-root .tgp-ros-trend__tourlist li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-trend__tourlist svg { flex: 0 0 14px; margin-top: 3px; color: #a855f7; }
#tgp-ros-root .tgp-ros-trend__mock { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: var(--tgp-surface-2, #1b1b1f); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); min-width: 0; overflow: hidden; }
#tgp-ros-root .tgp-ros-trend__mock .is-blur { filter: blur(4px); opacity: .5; user-select: none; pointer-events: none; }
#tgp-ros-root .tgp-ros-trend__mocklabel { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); margin-bottom: 6px; }
#tgp-ros-root .tgp-ros-trend__mocklockbadge { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; font-size: 11.5px; font-weight: 700; color: #d8b4fe; background: rgba(24,24,27,.92); border: 1px solid rgba(168,85,247,.4); white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; }
#tgp-ros-root .tgp-ros-trend__mockprofile { display: flex; align-items: center; gap: 10px; }
#tgp-ros-root .tgp-ros-trend__mockprofile img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
#tgp-ros-root .tgp-ros-trend__mockprofile b { display: block; font-size: 14px; color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-trend__mockprofile span { font-size: 12px; color: var(--tgp-text-muted, #a1a1aa); }
#tgp-ros-root .tgp-ros-trend__mockpill { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 99px; color: #4ade80; background: rgba(34,197,94,.12); }
#tgp-ros-root .tgp-ros-trend__mocknums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
#tgp-ros-root .tgp-ros-trend__mocknum { padding: 10px 10px 8px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); opacity: 0; transform: translateY(8px); animation: tgp-trend-in .55s ease forwards; animation-delay: var(--d, 0ms); }
#tgp-ros-root .tgp-ros-trend__mocknum b { display: block; font-size: 17px; font-weight: 800; color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-trend__mocknum span { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-trend__mockbars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; height: 64px; }
#tgp-ros-root .tgp-ros-trend__mockbars span { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
#tgp-ros-root .tgp-ros-trend__mockbars i { display: block; width: 100%; max-width: 26px; height: var(--h, 10%); border-radius: 5px 5px 2px 2px; background: rgba(168,85,247,.35); transform-origin: bottom; animation: tgp-trend-grow .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); }
#tgp-ros-root .tgp-ros-trend__mockbars .is-peak i { background: #a855f7; }
#tgp-ros-root .tgp-ros-trend__mockbars em { font-style: normal; font-size: 9.5px; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-trend__mockbars .is-peak em { color: var(--tgp-text, #f4f4f5); font-weight: 700; }
@keyframes tgp-trend-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
#tgp-ros-root .tgp-ros-trend__mockmix { display: flex; flex-wrap: wrap; gap: 6px; }
#tgp-ros-root .tgp-ros-trend__mockmix span { font-size: 11.5px; padding: 4px 9px; border-radius: 99px; background: rgba(147,51,234,.12); color: #d8b4fe; }
#tgp-ros-root .tgp-ros-trend__mockmix b { color: #fff; }
#tgp-ros-root .tgp-ros-trend__mockworks p, #tgp-ros-root .tgp-ros-trend__mockbook p { margin: 0 0 6px; font-size: 12px; line-height: 1.45; color: var(--tgp-text-muted, #a1a1aa); }
#tgp-ros-root .tgp-ros-trend__mockworks b, #tgp-ros-root .tgp-ros-trend__mockbook b { display: block; color: var(--tgp-text, #f4f4f5); font-size: 12.5px; }
#tgp-ros-root .tgp-ros-trend__mockbook { padding: 10px 12px; border-radius: 10px; background: rgba(147,51,234,.08); border: 1px solid rgba(168,85,247,.25); margin-bottom: 26px; }
#tgp-ros-root .tgp-ros-trend__mockskel { display: flex; flex-direction: column; gap: 10px; }
#tgp-ros-root .tgp-ros-trend__mockskel i { height: 14px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.12), rgba(255,255,255,.05)); background-size: 200% 100%; animation: tgp-trend-shimmer 1.4s linear infinite; }
@keyframes tgp-trend-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
#tgp-ros-root .tgp-ros-trend__mock--formats { gap: 8px; }
#tgp-ros-root .tgp-ros-trend__mockformat { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); opacity: 0; transform: translateY(8px); animation: tgp-trend-in .55s ease forwards; animation-delay: var(--d, 0ms); }
#tgp-ros-root .tgp-ros-trend__mockformathead { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
#tgp-ros-root .tgp-ros-trend__mockformathead b { font-size: 13.5px; color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-trend__mockformathead span { font-size: 11px; color: var(--tgp-text-faint, #71717a); white-space: nowrap; }
#tgp-ros-root .tgp-ros-trend__mockformat p { margin: 4px 0 8px; font-size: 12px; line-height: 1.45; color: var(--tgp-text-muted, #a1a1aa); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#tgp-ros-root .tgp-ros-trend__mockcovers { display: flex; gap: 6px; }
#tgp-ros-root .tgp-ros-trend__mockcovers span { position: relative; flex: 1 1 0; aspect-ratio: 9 / 13; border-radius: 8px; overflow: hidden; background: rgba(255,255,255,.06); }
#tgp-ros-root .tgp-ros-trend__mockcovers img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tgp-ros-root .tgp-ros-trend__mockcovers i { position: absolute; left: 5px; bottom: 5px; font-style: normal; font-size: 10px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
#tgp-ros-root .tgp-ros-trend__mocksteps { margin-top: 8px; font-size: 11.5px; color: var(--tgp-text-muted, #a1a1aa); }
#tgp-ros-root .tgp-ros-trend__mocksteps span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
#tgp-ros-root .tgp-ros-trend__mocksteps p { margin: 0 0 6px; }
#tgp-ros-root .tgp-ros-trend__mocksteps em { font-style: normal; display: inline-block; padding: 4px 9px; border-radius: 8px; background: #a855f7; color: #fff; font-size: 11px; margin-right: 6px; }
#tgp-ros-root .tgp-ros-trend__mocksteps em + em { background: rgba(255,255,255,.08); color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-trend__mock--songs { padding-bottom: 48px; }
#tgp-ros-root .tgp-ros-trend__mocksong { display: grid; grid-template-columns: 40px minmax(0, 1fr) 96px auto; gap: 10px; align-items: center; opacity: 0; transform: translateY(8px); animation: tgp-trend-in .55s ease forwards; animation-delay: var(--d, 0ms); }
#tgp-ros-root .tgp-ros-trend__mocksong img, #tgp-ros-root .tgp-ros-trend__mockart { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: linear-gradient(135deg, rgba(168,85,247,.35), rgba(59,130,246,.25)); display: block; }
#tgp-ros-root .tgp-ros-trend__mocksongmeta b { display: block; font-size: 13px; color: var(--tgp-text, #f4f4f5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-trend__mocksongmeta span { font-size: 11.5px; color: var(--tgp-text-muted, #a1a1aa); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
#tgp-ros-root .tgp-ros-trend__mockspark { width: 96px; height: 32px; }
#tgp-ros-root .tgp-ros-trend__mockspark polyline { fill: none; stroke: #4ade80; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: tgp-trend-draw 1.6s ease-out forwards; animation-delay: var(--d, 0ms); }
@keyframes tgp-trend-draw { to { stroke-dashoffset: 0; } }
#tgp-ros-root .tgp-ros-trend__mockgrowth { font-size: 13px; font-weight: 800; color: #4ade80; white-space: nowrap; }
#tgp-ros-root .tgp-ros-trend__mockmatches { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; }
#tgp-ros-root .tgp-ros-trend__mockmatch { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; font-size: 12px; color: var(--tgp-text, #e4e4e7); }
#tgp-ros-root .tgp-ros-trend__mockmatch i { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; }
#tgp-ros-root .tgp-ros-trend__mockmatch em { font-style: normal; padding: 5px 10px; border-radius: 8px; background: #a855f7; color: #fff; font-size: 11px; font-weight: 700; }
#tgp-ros-root .tgp-ros-trend__mockmatch u { text-decoration: none; font-size: 14px; }
#tgp-ros-root .tgp-ros-trend__mocktags { display: flex; flex-wrap: wrap; gap: 7px; }
#tgp-ros-root .tgp-ros-trend__mocktags span { padding: 6px 11px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--tgp-border, rgba(255,255,255,.08)); font-size: 12.5px; font-weight: 700; color: var(--tgp-text, #f4f4f5); opacity: 0; transform: scale(.9); animation: tgp-trend-pop .4s ease forwards; animation-delay: var(--d, 0ms); }
#tgp-ros-root .tgp-ros-trend__mocktags i { font-style: normal; font-weight: 700; color: #a855f7; margin-left: 4px; }
@keyframes tgp-trend-pop { to { opacity: 1; transform: none; } }
#tgp-ros-root .tgp-ros-trend__mockhooks { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#tgp-ros-root .tgp-ros-trend__mockhooks .tgp-ros-trend__mocklabel { width: 100%; }
#tgp-ros-root .tgp-ros-trend__mockhooks em { font-style: normal; font-size: 12px; padding: 5px 10px; border-radius: 8px; background: rgba(147,51,234,.1); border: 1px solid rgba(168,85,247,.25); color: #d8b4fe; }
#tgp-ros-root .tgp-ros-trend__mockhooks em b { color: #fff; margin-left: 4px; }
#tgp-ros-root .tgp-ros-trend__mockchat { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
#tgp-ros-root .tgp-ros-trend__mockchat p { margin: 0; max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.45; opacity: 0; animation: tgp-trend-in .5s ease forwards; }
#tgp-ros-root .tgp-ros-trend__mockchat .is-user { align-self: flex-end; background: #a855f7 !important; color: #fff !important; border-bottom-right-radius: 4px; animation-delay: 300ms; }
#tgp-ros-root .tgp-ros-trend__mockchat .is-ai { align-self: flex-start; background: rgba(255,255,255,.06); color: #e4e4e7 !important; border-bottom-left-radius: 4px; animation-delay: 900ms; }
#tgp-ros-root .tgp-ros-trend__lockfoot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; background: linear-gradient(135deg, rgba(147,51,234,.16), rgba(59,130,246,.08)); border-color: rgba(168,85,247,.3); }
#tgp-ros-root .tgp-ros-trend__lockfoot h3 { margin: 0 0 4px; font-size: 19px; font-weight: 800; color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-trend__lockfoot p { margin: 0; font-size: 13px; color: var(--tgp-text-muted, #a1a1aa); }
@media ( max-width: 860px ) {
	#tgp-ros-root .tgp-ros-trend__tourcard { grid-template-columns: 1fr; gap: 18px; padding: 20px 16px; }
	#tgp-ros-root .tgp-ros-trend__tourcard:nth-child(odd) .tgp-ros-trend__tourtext { order: 0; }
	#tgp-ros-root .tgp-ros-trend__mocknums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#tgp-ros-root .tgp-ros-trend__lockfoot { flex-direction: column; align-items: flex-start; }
}
@media ( prefers-reduced-motion: reduce ) {
	#tgp-ros-root .tgp-ros-trend__lockwrap * { animation-duration: 0.01ms !important; animation-delay: 0ms !important; }
}

/* Assistant: first-conversation welcome */
#tgp-ros-root .tgp-ros-mgr__msg--welcome { white-space: normal; word-break: normal; overflow-wrap: break-word; max-width: 94%; display: flex; flex-direction: column; gap: 6px; }
#tgp-ros-root .tgp-ros-mgr__wtitle { font-size: 14px; font-weight: 800; color: #fff; }
#tgp-ros-root .tgp-ros-mgr__wsub { display: block; margin-top: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #c4b5fd; }
#tgp-ros-root .tgp-ros-mgr__wp { display: block; font-size: 12.5px; line-height: 1.5; color: #d4d4d8; }
#tgp-ros-root .tgp-ros-mgr__wsteps { display: flex; flex-direction: column; gap: 4px; }
#tgp-ros-root .tgp-ros-mgr__wsteps a { display: flex; align-items: flex-start; gap: 8px; padding: 6px 8px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); font-size: 12px; line-height: 1.4; color: #e4e4e7; text-decoration: none; transition: border-color .12s ease, background .12s ease; }
#tgp-ros-root .tgp-ros-mgr__wsteps a:hover { border-color: rgba(168,85,247,.5); background: rgba(147,51,234,.1); color: #fff; }
#tgp-ros-root .tgp-ros-mgr__wsteps i { flex: 0 0 18px; height: 18px; border-radius: 50%; background: #a855f7; color: #fff; font-style: normal; font-size: 10.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
#tgp-ros-root .tgp-ros-mgr__wfoot { color: #a1a1aa; font-size: 12px; }

/* ── Add-a-release modal: media block v3 (drop zones, replace / remove) ── */
#tgp-ros-root #tgp-ros-release-modal .tgp-ros-modal__panel { padding: 26px 28px 28px; }
#tgp-ros-root .tgp-ros-newrel__media { display: flex; gap: 16px; align-items: stretch; }
#tgp-ros-root .tgp-ros-newrel__artwrap { display: flex; flex-direction: column; gap: 8px; flex: none; width: 112px; }
#tgp-ros-root .tgp-ros-newrel__media .tgp-ros-newrel__art { width: 112px; height: 112px; min-height: 0; flex: none; border-radius: 16px; border: 1.5px dashed rgba(255,255,255,.2); background: radial-gradient(120% 120% at 20% 0%, rgba(168,85,247,.16), rgba(255,255,255,.03) 60%); transition: border-color .18s, box-shadow .18s, transform .18s; }
#tgp-ros-root .tgp-ros-newrel__art:hover, #tgp-ros-root .tgp-ros-newrel__audio:hover { border-color: rgba(168,85,247,.7); }
#tgp-ros-root .tgp-ros-newrel__art.is-filled { border-style: solid; border-color: rgba(255,255,255,.14); }
#tgp-ros-root .tgp-ros-newrel__artempty { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); text-align: center; }
#tgp-ros-root .tgp-ros-newrel__artempty svg { color: #c4b5fd; margin-bottom: 2px; }
#tgp-ros-root .tgp-ros-newrel__artempty small { font-size: 10.5px; font-weight: 500; color: rgba(255,255,255,.4); }
#tgp-ros-root .tgp-ros-newrel__mediatext { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; justify-content: flex-start; }
#tgp-ros-root .tgp-ros-newrel__mediatext .tgp-ros-newrel__audio { position: relative; margin: 0; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 14px; border: 1.5px dashed rgba(255,255,255,.2); background: rgba(255,255,255,.03); cursor: pointer; overflow: hidden; transition: border-color .18s, box-shadow .18s, background .18s; }
#tgp-ros-root .tgp-ros-newrel__audio.is-filled { border-style: solid; border-color: rgba(74,222,128,.35); background: rgba(34,197,94,.06); }
#tgp-ros-root .tgp-ros-newrel__audioicon { flex: none; width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(168,85,247,.16); color: #d8b4fe; }
#tgp-ros-root .tgp-ros-newrel__audiocheck { display: none; }
#tgp-ros-root .tgp-ros-newrel__audio.is-filled .tgp-ros-newrel__audioicon { background: rgba(34,197,94,.16); color: #4ade80; }
#tgp-ros-root .tgp-ros-newrel__audio.is-filled .tgp-ros-newrel__audioicon svg:first-child { display: none; }
#tgp-ros-root .tgp-ros-newrel__audio.is-filled .tgp-ros-newrel__audiocheck { display: block; }
#tgp-ros-root .tgp-ros-newrel__audiotext { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#tgp-ros-root .tgp-ros-newrel__audiotext b { font-size: 13.5px; font-weight: 700; color: #f4f4f5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-newrel__audiotext small { font-size: 11.5px; color: rgba(255,255,255,.5); line-height: 1.4; }
#tgp-ros-root .tgp-ros-newrel__dropveil { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; color: #fff; background: rgba(147,51,234,.55); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .15s; border-radius: inherit; }
#tgp-ros-root .tgp-ros-newrel__art.is-drag, #tgp-ros-root .tgp-ros-newrel__audio.is-drag { border-color: #a855f7; box-shadow: 0 0 0 4px rgba(168,85,247,.22); }
#tgp-ros-root .is-drag .tgp-ros-newrel__dropveil { opacity: 1; }
#tgp-ros-root .tgp-ros-newrel__filectl { display: flex; align-items: center; gap: 6px; }
#tgp-ros-root .tgp-ros-newrel__filectl[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-newrel__filectl button { flex: 1 1 auto; height: 28px !important; min-height: 0 !important; padding: 0 10px !important; border-radius: 8px !important; font-size: 11.5px !important; font-weight: 700 !important; background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.12) !important; color: #d4d4d8 !important; cursor: pointer; line-height: 1 !important; transition: border-color .12s, color .12s; }
#tgp-ros-root .tgp-ros-newrel__filectl button:hover { border-color: rgba(255,255,255,.35) !important; color: #fff !important; }
#tgp-ros-root .tgp-ros-newrel__filectl button[data-ros-nr-remove]:hover { border-color: rgba(248,113,113,.55) !important; color: #fca5a5 !important; }
#tgp-ros-root .tgp-ros-newrel__artwrap .tgp-ros-newrel__filectl { flex-direction: column; gap: 5px; }
#tgp-ros-root .tgp-ros-newrel__artwrap .tgp-ros-newrel__filectl button { width: 100%; }
#tgp-ros-root .tgp-ros-newrel__mediatext .tgp-ros-newrel__filectl { justify-content: flex-start; }
#tgp-ros-root .tgp-ros-newrel__mediatext .tgp-ros-newrel__filectl button { flex: 0 0 auto; }
#tgp-ros-root .tgp-ros-newrel__mediatext .tgp-ros-newrel__audionote { margin: 2px 0 0; }
#tgp-ros-root .tgp-ros-newrel__morebody { padding: 16px 16px 16px; gap: 16px; }
#tgp-ros-root .tgp-ros-newrel__morebody .tgp-ros-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#tgp-ros-root .tgp-ros-newrel__row { margin-top: 16px; }
#tgp-ros-root #tgp-ros-release-modal .tgp-label { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: rgba(255,255,255,.62); margin-bottom: 7px; }
#tgp-ros-root .tgp-ros-newrel__actions { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07); }
#tgp-ros-root #tgp-ros-release-modal.is-dragging .tgp-ros-modal__panel { box-shadow: 0 0 0 2px rgba(168,85,247,.5), 0 30px 80px rgba(0,0,0,.6); }
@media (max-width: 560px) {
	#tgp-ros-root .tgp-ros-newrel__more summary { flex-wrap: wrap; row-gap: 2px; }
	#tgp-ros-root .tgp-ros-newrel__more summary > span { flex: 1 1 auto; }
	#tgp-ros-root .tgp-ros-newrel__more summary small { flex: 1 1 100%; order: 3; }
	#tgp-ros-root .tgp-ros-newrel__media { flex-direction: column; }
	#tgp-ros-root .tgp-ros-newrel__artwrap { width: 100%; }
	#tgp-ros-root .tgp-ros-newrel__media .tgp-ros-newrel__art { width: 100%; height: 120px; }
	#tgp-ros-root .tgp-ros-newrel__morebody .tgp-ros-form__grid { grid-template-columns: 1fr; }
}

/* ══ Add-a-release modal v5: one calm column ══ */
#tgp-ros-root #tgp-ros-release-modal.tgp-ros-nrm .tgp-ros-modal__panel { max-width: 600px; padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; max-height: 92vh; border-radius: 20px; }
#tgp-ros-root .tgp-ros-nrm form { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; }
#tgp-ros-root .tgp-ros-nrm__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 32px 0; }
#tgp-ros-root .tgp-ros-nrm__title { margin: 0 !important; font-size: 21px !important; font-weight: 800; letter-spacing: -.01em; }
#tgp-ros-root .tgp-ros-nrm__close { flex: none; width: 32px; height: 32px !important; min-height: 0 !important; padding: 0 !important; border-radius: 50% !important; display: inline-flex; align-items: center; justify-content: center; background: transparent !important; border: 1px solid rgba(255,255,255,.12) !important; color: #a1a1aa !important; cursor: pointer; line-height: 1 !important; }
#tgp-ros-root .tgp-ros-nrm__close:hover { color: #fff !important; border-color: rgba(255,255,255,.3) !important; }
#tgp-ros-root .tgp-ros-nrm .tgp-ros-newrel__sug, #tgp-ros-root .tgp-ros-nrm__source { margin: 18px 32px 0; }
#tgp-ros-root .tgp-ros-nrm__body { display: flex; flex-direction: column; gap: 22px; padding: 22px 32px 26px; }
#tgp-ros-root .tgp-ros-nrm__lbl { display: flex !important; align-items: baseline; gap: 8px; margin: 0 0 8px !important; font-size: 12px !important; font-weight: 600; color: #a1a1aa !important; white-space: nowrap; }
#tgp-ros-root .tgp-ros-nrm__lbl small { font-size: 11px; font-weight: 500; color: #71717a; }
#tgp-ros-root .tgp-ros-nrm .tgp-field { background: rgba(255,255,255,.04) !important; border: 1px solid rgba(255,255,255,.09) !important; border-radius: 12px !important; color: #f4f4f5 !important; font-size: 14px !important; padding: 12px 14px !important; transition: border-color .15s, background .15s; }
#tgp-ros-root .tgp-ros-nrm .tgp-field:focus { border-color: rgba(168,85,247,.7) !important; background: rgba(255,255,255,.05) !important; outline: none; box-shadow: 0 0 0 3px rgba(168,85,247,.18); }
#tgp-ros-root .tgp-ros-nrm .tgp-field::placeholder { color: #52525b; }
#tgp-ros-root .tgp-ros-nrm .tgp-ros-newrel__titleinput { font-size: 20px !important; font-weight: 600; padding: 14px 16px !important; }
#tgp-ros-root .tgp-ros-nrm__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 18px; align-items: start; }
#tgp-ros-root .tgp-ros-nrm__fields > .tgp-ros-nrm__field:first-child { grid-column: 1 / -1; }
#tgp-ros-root .tgp-ros-nrm__fields--2 > .tgp-ros-nrm__field:first-child { grid-column: auto; }
#tgp-ros-root .tgp-ros-nrm__fields--2 { grid-template-columns: 1fr 1fr; }
#tgp-ros-root .tgp-ros-nrm__field { min-width: 0; }
#tgp-ros-root .tgp-ros-nrm .tgp-ros-newrel__date input { width: 100%; min-width: 0; }
#tgp-ros-root .tgp-ros-nrm__pills { display: inline-flex !important; flex-wrap: wrap; gap: 4px; padding: 0; background: transparent; border: 0; border-radius: 0; }
#tgp-ros-root #tgp-ros-release-modal.tgp-ros-nrm .tgp-ros-nrm__pills .tgp-ros-seg__opt { padding: 7px 11px !important; font-size: 12.5px !important; font-weight: 600 !important; border-radius: 999px !important; background: rgba(255,255,255,.04) !important; border: 1px solid rgba(255,255,255,.09) !important; color: #a1a1aa !important; white-space: nowrap; transition: color .12s, border-color .12s, background .12s; }
#tgp-ros-root #tgp-ros-release-modal.tgp-ros-nrm .tgp-ros-nrm__pills .tgp-ros-seg__opt:hover { color: #f4f4f5 !important; border-color: rgba(255,255,255,.22) !important; }
#tgp-ros-root #tgp-ros-release-modal.tgp-ros-nrm .tgp-ros-nrm__pills .tgp-ros-seg__opt.is-selected { background: rgba(168,85,247,.16) !important; border-color: rgba(168,85,247,.55) !important; color: #e9d5ff !important; }
/* Files strip: two attach tiles, thumb + text + upload chip; fixed row layout whatever the theme does to labels. */
#tgp-ros-root .tgp-ros-nrm__files { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; }
#tgp-ros-root .tgp-ros-nrm__files .tgp-ros-nrm__file, #tgp-ros-root .tgp-ros-newrel__media .tgp-ros-nrm__file.tgp-ros-newrel__art { position: relative; display: flex !important; flex-direction: row !important; align-items: center !important; gap: 14px; padding: 14px 16px 14px 14px !important; min-height: 84px; width: auto !important; height: auto !important; aspect-ratio: auto !important; margin: 0 !important; border-radius: 16px; border: 1px solid rgba(255,255,255,.09) !important; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02)) !important; cursor: pointer; overflow: hidden; transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
#tgp-ros-root .tgp-ros-nrm__files .tgp-ros-nrm__file:hover { border-color: rgba(168,85,247,.55) !important; box-shadow: 0 6px 22px rgba(0,0,0,.28); transform: translateY(-1px); }
#tgp-ros-root .tgp-ros-nrm__files .tgp-ros-nrm__file.is-filled { border-color: rgba(255,255,255,.12) !important; }
#tgp-ros-root .tgp-ros-nrm__files .tgp-ros-nrm__file.is-drag { border-color: #a855f7 !important; border-style: dashed !important; box-shadow: 0 0 0 3px rgba(168,85,247,.2); }
#tgp-ros-root .tgp-ros-nrm__thumb { position: relative; flex: none; width: 56px; height: 56px; border-radius: 12px; overflow: visible; display: inline-flex; align-items: center; justify-content: center; background: radial-gradient(120% 120% at 20% 0%, rgba(168,85,247,.28), rgba(255,255,255,.05) 65%); color: #d8b4fe; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
#tgp-ros-root .tgp-ros-nrm__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
#tgp-ros-root .tgp-ros-nrm__file.is-filled .tgp-ros-nrm__thumb::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; border-radius: 50%; background: #22c55e url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center / 10px no-repeat; box-shadow: 0 0 0 2px #17171b; }
#tgp-ros-root .tgp-ros-nrm__file.tgp-ros-newrel__audio.is-filled .tgp-ros-nrm__thumb { background: rgba(34,197,94,.12); color: #4ade80; }
/* One tick per tile: the corner badge. The inline check icon inside the audio thumb stays off. */
#tgp-ros-root .tgp-ros-nrm__file .tgp-ros-newrel__audiocheck, #tgp-ros-root .tgp-ros-nrm__file.is-filled .tgp-ros-newrel__audiocheck { display: none !important; }
#tgp-ros-root .tgp-ros-nrm__file.tgp-ros-newrel__audio.is-filled .tgp-ros-nrm__thumb svg:first-child { display: block !important; }
#tgp-ros-root .tgp-ros-nrm__filetext { flex: 1 1 auto; min-width: 0; display: flex !important; flex-direction: column; gap: 3px; }
#tgp-ros-root .tgp-ros-nrm__filetext b { display: block; font-size: 13.5px; font-weight: 700; color: #f4f4f5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-nrm__filesub { display: block; font-size: 11.5px; line-height: 1.35; color: #8b8b93; }
#tgp-ros-root .tgp-ros-nrm__upchip { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #d8b4fe; background: rgba(168,85,247,.14); border: 1px solid rgba(168,85,247,.3); transition: background .15s, color .15s; }
#tgp-ros-root .tgp-ros-nrm__files .tgp-ros-nrm__file:hover .tgp-ros-nrm__upchip { background: #a855f7; color: #fff; }
#tgp-ros-root .tgp-ros-nrm__file.is-filled .tgp-ros-nrm__upchip { display: none; }
#tgp-ros-root .tgp-ros-nrm__filectl { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 2px; }
#tgp-ros-root .tgp-ros-nrm__filectl[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-nrm__filectl i { font-style: normal; color: #52525b; }
#tgp-ros-root .tgp-ros-nrm__filectl button { all: unset; cursor: pointer; font-size: 11.5px !important; font-weight: 600 !important; color: #c4b5fd !important; padding: 0 !important; background: transparent !important; border: 0 !important; height: auto !important; min-height: 0 !important; line-height: 1.3 !important; }
#tgp-ros-root .tgp-ros-nrm__filectl button:hover { color: #fff !important; text-decoration: underline; }
#tgp-ros-root .tgp-ros-nrm__filectl button[data-ros-nr-remove]:hover { color: #fca5a5 !important; }
#tgp-ros-root .tgp-ros-nrm .tgp-ros-newrel__dropveil { font-size: 12px; border-radius: 16px; }
/* More details */
#tgp-ros-root .tgp-ros-nrm__more { margin: 0; border: 0; background: transparent; }
#tgp-ros-root .tgp-ros-nrm__more summary { display: inline-flex; align-items: center; gap: 8px; padding: 0; margin: 0; list-style: none; cursor: pointer; font-size: 13px; font-weight: 600; color: #c4b5fd; }
#tgp-ros-root .tgp-ros-nrm__more summary::-webkit-details-marker { display: none; }
#tgp-ros-root .tgp-ros-nrm__more summary svg { flex: none; width: 22px; height: 22px; padding: 5px; border-radius: 50%; border: 1px solid rgba(196,181,253,.35); transition: transform .2s ease, background .15s; }
#tgp-ros-root .tgp-ros-nrm__more summary:hover svg { background: rgba(168,85,247,.15); }
#tgp-ros-root .tgp-ros-nrm__more[open] summary svg { transform: rotate(45deg); }
#tgp-ros-root .tgp-ros-nrm__morebody { display: flex; flex-direction: column; gap: 18px; padding-top: 18px; }
#tgp-ros-root .tgp-ros-nrm__morebody .tgp-ros-textarea { min-height: 84px; resize: vertical; }
/* Footer */
#tgp-ros-root .tgp-ros-nrm__foot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 16px 32px 22px; border-top: 1px solid rgba(255,255,255,.07); position: sticky; bottom: 0; background: inherit; }
#tgp-ros-root .tgp-ros-nrm__submit { min-width: 150px; }
#tgp-ros-root .tgp-ros-nrm .tgp-ros-form__error { margin: 0 32px 16px; }
#tgp-ros-root .tgp-ros-nrm [hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-nrm .tgp-ros-newrel-progress { border-radius: 0; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-nrm__head { padding: 20px 20px 0; }
	#tgp-ros-root .tgp-ros-nrm .tgp-ros-newrel__sug, #tgp-ros-root .tgp-ros-nrm__source { margin: 16px 20px 0; }
	#tgp-ros-root .tgp-ros-nrm__body { padding: 18px 20px 22px; gap: 18px; }
	#tgp-ros-root .tgp-ros-nrm__fields { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-nrm__files { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-nrm__foot { padding: 14px 20px 18px; }
	#tgp-ros-root .tgp-ros-nrm__foot .tgp-ros-btn { flex: 1; }
	#tgp-ros-root .tgp-ros-nrm .tgp-ros-form__error { margin: 0 20px 14px; }
}


/* ══ Mobile pass 2026-09-11 · Trends ══ */
#tgp-ros-root .tgp-ros-trend--page { padding: 0; }
@media (max-width: 700px) {
	/* The page wrapper reused the old card class: no extra padding, sections line up with the page headline. */
	#tgp-ros-root .tgp-ros-trend--page { padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
	#tgp-ros-root .tgp-ros-trend--page .tgp-ros-trend__section { padding: 18px 14px 16px; border-radius: 16px; }
	#tgp-ros-root .tgp-ros-trend__strip { padding: 12px; }
	/* Follow: search results as tight rows; name and handle never wrap letter by letter. */
	#tgp-ros-root .tgp-ros-ttf__form { max-width: none; margin-bottom: 14px; }
	#tgp-ros-root .tgp-ros-ttf__row { flex-wrap: nowrap; }
	#tgp-ros-root .tgp-ros-ttf__row .tgp-field { flex: 1 1 auto; min-width: 0; flex-basis: auto; }
	#tgp-ros-root .tgp-ros-ttf__results { padding: 4px; gap: 2px; }
	#tgp-ros-root .tgp-ros-ttf__result { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; padding: 8px 6px; }
	#tgp-ros-root .tgp-ros-ttf__result > img, #tgp-ros-root .tgp-ros-ttf__resultph { width: 40px !important; height: 40px !important; }
	#tgp-ros-root .tgp-ros-ttf__resultbody b, #tgp-ros-root .tgp-ros-ttf__resultbody span, #tgp-ros-root .tgp-ros-ttf__resultbody small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	#tgp-ros-root .tgp-ros-ttf__result .tgp-btn { padding: 7px 12px !important; font-size: 12px !important; min-height: 0 !important; height: auto !important; }
	#tgp-ros-root .tgp-ros-ttf__card { padding: 14px 12px; }
	/* Songs + catalogue matches: full-width rows, actions under the title. */
	#tgp-ros-root .tgp-ros-trend__song { padding: 14px 12px; }
	#tgp-ros-root .tgp-ros-trend__similar { padding: 10px 10px 12px; margin: 0 -2px; }
	#tgp-ros-root .tgp-ros-trend__prod { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 10px; padding: 6px 0; }
	#tgp-ros-root .tgp-ros-trend__prod > .tgp-ros-trend__snd { grid-row: 1 / span 2; }
	#tgp-ros-root .tgp-ros-trend__prodbody { min-width: 0; }
	#tgp-ros-root .tgp-ros-trend__prodactions { grid-column: 2; justify-content: flex-start; }
	/* Clip preview: a proper phone sheet. Frame sized from the dynamic viewport (iOS bars), close pinned top-right. */
	.tgp-ros-trendmodal { padding: calc(env(safe-area-inset-top, 0px) + 56px) 12px calc(env(safe-area-inset-bottom, 0px) + 14px); align-items: flex-start; }
	.tgp-ros-trendmodal__panel { width: min(100%, calc((100dvh - 190px) * 325 / 578)); margin: 0 auto; }
	.tgp-ros-trendmodal__frame { max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); border-radius: 14px; }
	button.tgp-ros-trendmodal__close { position: fixed !important; top: calc(env(safe-area-inset-top, 0px) + 10px) !important; right: 12px !important; left: auto !important; bottom: auto !important; transform: none !important; width: 40px; height: 40px; background: rgba(255,255,255,.14) !important; }
	.tgp-ros-trendmodal__meta { flex-wrap: wrap; }
	.tgp-ros-trendmodal__meta > div { min-width: 0; flex: 1 1 60%; }
}

/* ══ Mobile pass 2026-09-11 · Release page ══ */
@media (max-width: 700px) {
	/* Checklist rows: title gets the full width, priority + date move to a second line. */
	#tgp-ros-root .tgp-ros-tasklist__item { flex-wrap: wrap; row-gap: 4px; }
	#tgp-ros-root .tgp-ros-tasklist__title { flex: 1 1 calc(100% - 40px); }
	#tgp-ros-root .tgp-ros-tasklist__meta { flex: 1 1 100%; padding-left: 34px; display: flex; align-items: center; gap: 8px; }
	#tgp-ros-root .tgp-ros-task-date { width: 128px !important; height: auto !important; min-height: 0 !important; padding: 3px 7px !important; font-size: 12px !important; border-color: rgba(255,255,255,.1) !important; }
	/* Distribution card: icon + text on top, full-width button under it. */
	#tgp-ros-root .tgp-ros-distro__ours { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px; }
	#tgp-ros-root .tgp-ros-distro__ours > .tgp-ros-btn { grid-column: 1 / -1; justify-content: center; width: 100%; }
}

/* ══ Mobile pass 2026-09-11 · Studio + EPK ══ */
#tgp-ros-root .tgp-ros-aeschook { align-items: stretch; }
#tgp-ros-root textarea.tgp-ros-aeschook__text { resize: none; min-height: 48px; height: auto; line-height: 1.4 !important; padding-top: 11px !important; padding-bottom: 11px !important; overflow: hidden; }
@media (max-width: 700px) {
	#tgp-ros-root .tgp-ros-aeschook { flex-direction: column; gap: 8px; }
	#tgp-ros-root .tgp-ros-aeschook .tgp-field { width: 100%; font-size: 15px !important; }
	#tgp-ros-root .tgp-ros-aeschook .tgp-ros-btn { width: 100%; justify-content: center; }
	/* Viral ideas: title on its own line, tags wrap under it. */
	#tgp-ros-root .tgp-ros-idea__head { flex-direction: column; align-items: flex-start; gap: 8px; }
	#tgp-ros-root .tgp-ros-idea__title { font-size: 14.5px; line-height: 1.35; }
	#tgp-ros-root .tgp-ros-idea__tags { display: flex; flex-wrap: wrap; gap: 6px; }
	#tgp-ros-root .tgp-ros-idea__tags .tgp-pill { white-space: nowrap; }
	#tgp-ros-root .tgp-ros-idea__actions { flex-wrap: wrap; }
	/* EPK editor: the form had a 340px minimum, wider than a phone card. */
	#tgp-ros-root .tgp-ros-epked__cols { gap: 18px; }
	#tgp-ros-root .tgp-ros-epked__form { min-width: 0 !important; flex: 1 1 auto; width: 100%; }
	#tgp-ros-root .tgp-ros-epked__form .tgp-ros-form__grid { grid-template-columns: minmax(0, 1fr) !important; }
	#tgp-ros-root .tgp-ros-epked__linkbar { flex-wrap: wrap; }
	#tgp-ros-root .tgp-ros-epked__url { flex: 1 1 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	#tgp-ros-root .tgp-ros-epked__uprow .tgp-field { min-width: 0; flex: 1 1 auto; }
	#tgp-ros-root .tgp-ros-epked__sections { gap: 10px 14px; }
}

/* ══ Lyrics editor ══ */
#tgp-ros-root .tgp-ros-lyr .tgp-ros-modal__panel { max-width: 560px; padding: 0 !important; display: flex; flex-direction: column; max-height: 88vh; max-height: 88dvh; overflow: hidden; border-radius: 18px; }
#tgp-ros-root .tgp-ros-lyr__head { display: flex; justify-content: space-between; gap: 14px; padding: 22px 24px 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
#tgp-ros-root .tgp-ros-lyr__head .tgp-card__title { margin: 0 0 4px !important; font-size: 19px !important; }
#tgp-ros-root .tgp-ros-lyr__head p { margin: 0 !important; font-size: 12.5px !important; line-height: 1.5 !important; color: rgba(255,255,255,.55) !important; }
#tgp-ros-root .tgp-ros-lyr__x { flex: none; width: 32px; height: 32px !important; min-height: 0 !important; padding: 0 !important; border-radius: 50% !important; display: inline-flex; align-items: center; justify-content: center; background: transparent !important; border: 1px solid rgba(255,255,255,.12) !important; color: #a1a1aa !important; cursor: pointer; }
#tgp-ros-root .tgp-ros-lyr__body { flex: 1 1 auto; overflow-y: auto; padding: 14px 24px; min-height: 120px; }
#tgp-ros-root .tgp-ros-lyr__list { display: flex; flex-direction: column; gap: 6px; }
#tgp-ros-root .tgp-ros-lyr__row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 30px; gap: 8px; align-items: center; }
#tgp-ros-root .tgp-ros-lyr__time { font-size: 11.5px; color: rgba(255,255,255,.4); text-align: right; }
#tgp-ros-root .tgp-ros-lyr__row .tgp-field { padding: 9px 11px !important; font-size: 14px !important; height: auto !important; min-height: 0 !important; background: rgba(255,255,255,.04) !important; border: 1px solid rgba(255,255,255,.09) !important; border-radius: 10px !important; color: #f4f4f5 !important; }
#tgp-ros-root .tgp-ros-lyr__row .tgp-field:focus { border-color: rgba(168,85,247,.7) !important; outline: none; }
#tgp-ros-root .tgp-ros-lyr__del { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: rgba(255,255,255,.4); cursor: pointer; font-size: 17px; }
#tgp-ros-root .tgp-ros-lyr__del:hover { color: #fca5a5; background: rgba(248,113,113,.1); }
#tgp-ros-root .tgp-ros-lyr__add { display: inline-block; margin: 12px 0 0 48px; font-size: 12.5px; font-weight: 700; color: #c4b5fd; cursor: pointer; }
#tgp-ros-root .tgp-ros-lyr__empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 26px 10px; font-size: 13px; color: rgba(255,255,255,.6); }
#tgp-ros-root .tgp-ros-lyr__empty b { font-size: 14.5px; color: #fff; }
#tgp-ros-root .tgp-ros-lyr__empty span { max-width: 360px; line-height: 1.5; }
#tgp-ros-root .tgp-ros-lyr__foot { display: flex; align-items: center; gap: 10px; padding: 14px 24px 18px; border-top: 1px solid rgba(255,255,255,.07); }
#tgp-ros-root .tgp-ros-lyr__foot [hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-lyr__msg { flex: 1; min-width: 0; font-size: 12px; color: rgba(255,255,255,.5); }
#tgp-ros-root .tgp-ros-lyr__msg.is-err { color: #f87171; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-lyr { padding: 0; align-items: flex-end; }
	#tgp-ros-root .tgp-ros-lyr .tgp-ros-modal__panel { max-width: none; width: 100%; border-radius: 18px 18px 0 0; max-height: 92dvh; }
	#tgp-ros-root .tgp-ros-lyr__head, #tgp-ros-root .tgp-ros-lyr__body, #tgp-ros-root .tgp-ros-lyr__foot { padding-left: 16px; padding-right: 16px; }
	#tgp-ros-root .tgp-ros-lyr__row { grid-template-columns: 34px minmax(0, 1fr) 28px; gap: 6px; }
	#tgp-ros-root .tgp-ros-lyr__foot { padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
}

/* ══ Mobile pass 2026-09-11 · Media preview lightbox ══ */
@media (max-width: 700px) {
	.tgp-ros-lightbox { padding: calc(env(safe-area-inset-top, 0px) + 64px) 12px calc(env(safe-area-inset-bottom, 0px) + 16px); align-items: flex-start; }
	.tgp-ros-lightbox__stage { max-width: 100%; max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); margin: 0 auto; }
	.tgp-ros-lightbox__stage.is-sized { height: min(calc(100vh - 100px), calc((100vw - 24px) / var(--ar, 0.5625))); height: min(calc(100dvh - 100px), calc((100vw - 24px) / var(--ar, 0.5625))); max-width: calc(100vw - 24px); }
	.tgp-ros-lightbox__stage img, .tgp-ros-lightbox__stage video { max-height: calc(100dvh - 100px); border-radius: 12px; }
	button.tgp-ros-lightbox__close { position: fixed !important; top: calc(env(safe-area-inset-top, 0px) + 12px) !important; right: 12px !important; width: 40px !important; height: 40px !important; }
}

/* ── Settings · email notifications (2026-09-11) ── */
#tgp-ros-root .tgp-ros-navgear { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 34px; height: 34px; margin-left: 4px; border-radius: 999px; color: #a1a1aa; text-decoration: none; transition: color .15s ease, background .15s ease; }
#tgp-ros-root .tgp-ros-navgear:hover, #tgp-ros-root .tgp-ros-navgear.is-active { color: #fff; background: rgba(255, 255, 255, .06); text-decoration: none; }
#tgp-ros-root .tgp-ros-settings { max-width: 760px; }
#tgp-ros-root .tgp-ros-settings__card { padding: 26px 28px 24px !important; }
#tgp-ros-root .tgp-ros-settings__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
#tgp-ros-root .tgp-ros-settings__title { margin: 0 0 4px !important; font-size: 18px !important; font-weight: 800; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-settings__sub { margin: 0 !important; font-size: 13px; line-height: 1.55; color: #a1a1aa; overflow-wrap: anywhere; }
#tgp-ros-root .tgp-ros-settings__sub b { color: #e4e4e7; font-weight: 600; }
#tgp-ros-root .tgp-ros-settings__sub a { color: #c084fc; margin-left: 4px; }
#tgp-ros-root .tgp-ros-settings__saved { flex: 0 0 auto; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #86efac; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .25); }
#tgp-ros-root .tgp-ros-settings__saved.is-err { color: #fca5a5; background: rgba(239, 68, 68, .12); border-color: rgba(239, 68, 68, .3); }
#tgp-ros-root .tgp-ros-settings__group, #tgp-ros-root .tgp-ros-settings__always { padding-top: 18px; margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, .07); }
#tgp-ros-root .tgp-ros-settings__gtitle { margin: 0 0 6px !important; font-size: 11px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #71717a; }
#tgp-ros-root label.tgp-ros-settings__row { display: flex !important; align-items: center; justify-content: space-between; gap: 18px; margin: 0 !important; padding: 12px 0 !important; cursor: pointer; font-weight: 400 !important; }
#tgp-ros-root label.tgp-ros-settings__row + label.tgp-ros-settings__row { border-top: 1px dashed rgba(255, 255, 255, .06); }
#tgp-ros-root .tgp-ros-settings__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#tgp-ros-root .tgp-ros-settings__label { font-size: 14px; font-weight: 700; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-settings__desc { margin: 0 !important; font-size: 12.5px; line-height: 1.5; color: #8b8b93; }
#tgp-ros-root .tgp-ros-settings__always ul { margin: 10px 0 0 !important; padding: 0 !important; list-style: none !important; display: grid; gap: 8px; }
#tgp-ros-root .tgp-ros-settings__always li { position: relative; margin: 0 !important; padding-left: 20px; font-size: 13px; line-height: 1.5; color: #c6c6cd; }
#tgp-ros-root .tgp-ros-settings__always li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #a78bfa; }
#tgp-ros-root .tgp-ros-switch { position: relative; flex: 0 0 auto; display: inline-block; width: 42px; height: 24px; }
#tgp-ros-root .tgp-ros-switch input { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; margin: 0 !important; opacity: 0 !important; cursor: pointer; z-index: 1; }
#tgp-ros-root .tgp-ros-switch__track { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); transition: background .18s ease; }
#tgp-ros-root .tgp-ros-switch__knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #d4d4d8; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); transition: transform .18s ease, background .18s ease; }
#tgp-ros-root .tgp-ros-switch input:checked + .tgp-ros-switch__track { background: linear-gradient(135deg, #8b5cf6, #d946ef); }
#tgp-ros-root .tgp-ros-switch input:checked + .tgp-ros-switch__track .tgp-ros-switch__knob { transform: translateX(18px); background: #fff; }
#tgp-ros-root .tgp-ros-switch input:focus-visible + .tgp-ros-switch__track { outline: 2px solid #c084fc; outline-offset: 2px; }
@media (max-width: 900px) {
	#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-subnav { padding-right: 120px !important; }
	#tgp-ros-root .tgp-ros-subnavrow::after { width: 140px; background: linear-gradient(90deg, transparent, var(--tgp-surface, #111113) 32%); }
	#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-navcredits { right: 50px; }
	#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-navgear { position: absolute; right: 8px; top: 50%; margin: -17px 0 0; z-index: 2; }
	#tgp-ros-root .tgp-ros-settings__card { padding: 20px 18px 18px !important; }
	#tgp-ros-root .tgp-ros-settings__head { flex-direction: column; gap: 8px; }
	#tgp-ros-root label.tgp-ros-settings__row { gap: 14px; }
}
/* EPK editor: field hints sit flush under their inputs. */
#tgp-ros-root .tgp-ros-epked__form .tgp-ros-form__note { padding: 0 !important; margin: 8px 0 0 !important; line-height: 1.5; }

/* ── TikTok posting panel (Content Sharing Guidelines) · 2026-09-11 ── */
#tgp-ros-root .tgp-ros-ttpanel { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .07); }
#tgp-ros-root .tgp-ros-ttpanel[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-ttpanel [data-ros-tt-body] { display: flex; flex-direction: column; gap: 12px; }
#tgp-ros-root .tgp-ros-ttpanel [data-ros-tt-body][hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-ttpanel__status { display: flex; align-items: center; gap: 8px; margin: 0 !important; font-size: 12.5px; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-ttpanel__status.is-error { color: #fca5a5; line-height: 1.5; }
#tgp-ros-root .tgp-ros-ttpanel__creator { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #c6c6cd; }
#tgp-ros-root .tgp-ros-ttpanel__creator img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }
#tgp-ros-root .tgp-ros-ttpanel__creator b { color: #fafafa; font-weight: 700; }
#tgp-ros-root .tgp-ros-ttpanel__mode { display: flex; width: 100%; }
#tgp-ros-root .tgp-ros-ttpanel__mode .tgp-ros-seg__opt { flex: 1 1 0; justify-content: center; text-align: center; }
#tgp-ros-root .tgp-ros-ttpanel__direct { display: flex; flex-direction: column; gap: 10px; }
#tgp-ros-root .tgp-ros-ttpanel__direct[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-ttpanel__label { display: block !important; margin: 2px 0 0 !important; font-size: 11px !important; font-weight: 800 !important; letter-spacing: .07em; text-transform: uppercase; color: #8b8b93 !important; }
#tgp-ros-root .tgp-ros-ttpanel__select { width: 100% !important; height: 40px !important; font-size: 13.5px !important; }
#tgp-ros-root .tgp-ros-ttpanel__checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
#tgp-ros-root label.tgp-ros-ttpanel__check { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; font-size: 13px !important; font-weight: 500 !important; color: #e4e4e7 !important; cursor: pointer; }
#tgp-ros-root label.tgp-ros-ttpanel__check input[type="checkbox"] { width: 16px !important; height: 16px !important; margin: 0 !important; accent-color: #a855f7; flex: none; }
#tgp-ros-root label.tgp-ros-ttpanel__check.is-disabled { opacity: .45; cursor: not-allowed; }
#tgp-ros-root label.tgp-ros-ttpanel__check--block { display: flex !important; align-items: flex-start; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); }
#tgp-ros-root label.tgp-ros-ttpanel__check--block input[type="checkbox"] { margin-top: 2px !important; }
/* Photo posts hide Duet/Stitch, videos hide the music row: [hidden] must beat the !important displays above. */
#tgp-ros-root label.tgp-ros-ttpanel__check[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-ttpanel__check--block > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#tgp-ros-root .tgp-ros-ttpanel__check--block b { font-size: 13px; color: #fafafa; }
#tgp-ros-root .tgp-ros-ttpanel__check--block small { font-size: 12px; line-height: 1.45; color: #8b8b93; }
#tgp-ros-root .tgp-ros-ttpanel__disclose { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .02); }
#tgp-ros-root label.tgp-ros-ttpanel__switchrow { display: flex !important; align-items: flex-start; justify-content: space-between; gap: 14px; margin: 0 !important; cursor: pointer; font-weight: 400 !important; }
#tgp-ros-root .tgp-ros-ttpanel__switchtext { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#tgp-ros-root .tgp-ros-ttpanel__switchtext b { font-size: 13px; color: #fafafa; }
#tgp-ros-root .tgp-ros-ttpanel__switchtext small { font-size: 12px; line-height: 1.45; color: #8b8b93; }
#tgp-ros-root .tgp-ros-ttpanel__brands { display: flex; flex-direction: column; gap: 8px; }
#tgp-ros-root .tgp-ros-ttpanel__brands[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-ttpanel__hint { margin: 0 !important; font-size: 12px; line-height: 1.5; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-ttpanel__hint[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-ttpanel__hint.is-warn { color: #fcd34d; }
#tgp-ros-root .tgp-ros-ttpanel__legal { margin: 0 !important; font-size: 12px; line-height: 1.5; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-ttpanel__legal a { color: #c084fc; text-decoration: underline; }

#tgp-ros-root .tgp-ros-ttpanel__mode { display: flex !important; flex-wrap: nowrap !important; gap: 3px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
#tgp-ros-root .tgp-ros-ttpanel__mode .tgp-ros-seg__opt { flex: 1 1 0 !important; min-width: 0 !important; height: 32px !important; padding: 0 8px !important; border: 0 !important; border-radius: 8px !important; background: transparent !important; color: #a1a1aa !important; font-size: 12.5px !important; font-weight: 700 !important; white-space: nowrap; box-shadow: none !important; }
#tgp-ros-root .tgp-ros-ttpanel__mode .tgp-ros-seg__opt.is-selected { background: rgba(168, 85, 247, .18) !important; color: #f4f4f5 !important; box-shadow: inset 0 0 0 1px rgba(168, 85, 247, .45) !important; }
#tgp-ros-root label.tgp-ros-ttpanel__label, #tgp-ros-root .tgp-ros-ttpanel__label { text-transform: uppercase !important; letter-spacing: .07em !important; font-size: 11px !important; line-height: 1.3 !important; }
/* Share modal gets room for the TikTok posting panel on desktop. */
@media (min-width: 901px) {
	#tgp-ros-root .tgp-ros-modal__panel.tgp-ros-postmodal { max-width: 720px !important; width: min(720px, calc(100vw - 32px)) !important; }
}
/* Social calendar schedule modal: room for the TikTok posting panel. */
@media (min-width: 901px) {
	#tgp-ros-root .tgp-ros-scal__mpanel { width: 760px; }
}
#tgp-ros-root .tgp-ros-scal__netcard.is-off [data-ros-scal-cap],
#tgp-ros-root .tgp-ros-scal__netcard.is-off [data-ros-scal-count] { opacity: .45; }
#tgp-ros-root .tgp-ros-scal__netcard .tgp-ros-ttpanel { margin-top: 10px; padding-top: 12px; }
/* Ads: audience locations are multi-select. */
#tgp-ros-root .tgp-ros-adfield__sub { margin-left: 6px; font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--tgp-text-faint, #71717a); }
#tgp-ros-root .tgp-ros-adcustomgeo { max-width: 420px; }

/* ══ Ads page redesign (2026-09-13): pickers, goal cards, destination search,
   live ad preview, campaigns dashboard. No native selects or tables. ══ */
#tgp-ros-root .tgp-ros-adbuilder__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
#tgp-ros-root .tgp-ros-adbuilder__main { min-width: 0; }
#tgp-ros-root .tgp-ros-adcreative-cols { grid-template-columns: 1fr !important; }
#tgp-ros-root .tgp-ros-adpick { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
#tgp-ros-root .tgp-ros-adpick__k { display: block; margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #8b8b93; }
#tgp-ros-root .tgp-ros-adrel { display: block; }
#tgp-ros-root .tgp-ros-adrel .tgp-ros-rpdd__toggle { width: 100%; max-width: 440px; justify-content: flex-start; padding: 8px 14px 8px 8px; border-radius: 14px; }
#tgp-ros-root .tgp-ros-adrel .tgp-ros-rpdd__toggle .tgp-ros-relpick__thumb { width: 38px !important; height: 38px !important; border-radius: 9px !important; object-fit: cover; }
#tgp-ros-root .tgp-ros-adrel .tgp-ros-rpdd__toggle img.tgp-ros-relpick__thumb { width: 38px; height: 38px; border-radius: 9px; }
#tgp-ros-root .tgp-ros-adrel .tgp-ros-rpdd__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-size: 14px; font-weight: 700; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-adrel .tgp-ros-rpdd__panel { width: 440px; }

#tgp-ros-root .tgp-ros-adgoals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
#tgp-ros-root button.tgp-ros-adgoal { position: relative; display: flex !important; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 14px 13px !important; border-radius: 14px !important; border: 1px solid rgba(255, 255, 255, .09) !important; background: rgba(255, 255, 255, .02) !important; color: #e4e4e7 !important; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease; min-width: 0; }
#tgp-ros-root button.tgp-ros-adgoal:hover { border-color: rgba(168, 85, 247, .45) !important; }
#tgp-ros-root button.tgp-ros-adgoal.is-selected { border-color: #a855f7 !important; background: rgba(168, 85, 247, .1) !important; box-shadow: 0 0 0 3px rgba(168, 85, 247, .14); }
#tgp-ros-root .tgp-ros-adgoal__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .05); color: #c4b5fd; }
#tgp-ros-root button.tgp-ros-adgoal.is-selected .tgp-ros-adgoal__icon { background: rgba(168, 85, 247, .22); color: #f3e8ff; }
#tgp-ros-root .tgp-ros-adgoal__title { font-size: 13.5px; font-weight: 700; color: #fafafa; line-height: 1.3; }
#tgp-ros-root .tgp-ros-adgoal__title em { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; font-style: normal; font-size: 10px; font-weight: 700; color: #d8b4fe; background: rgba(168, 85, 247, .16); vertical-align: 1px; }
#tgp-ros-root .tgp-ros-adgoal__desc { font-size: 12px; line-height: 1.45; color: #8b8b93; }

#tgp-ros-root .tgp-ros-addest { display: flex; flex-direction: column; gap: 10px; }
#tgp-ros-root .tgp-ros-addest .tgp-ros-adpick__k { margin-bottom: 0; }
#tgp-ros-root .tgp-ros-addest__card { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 13px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(255, 255, 255, .025); min-width: 0; }
#tgp-ros-root .tgp-ros-addest__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .05); color: #a1a1aa; }
#tgp-ros-root .tgp-ros-addest__icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tgp-ros-root .tgp-ros-addest__icon.is-spotify { background: rgba(30, 215, 96, .12); color: #1ed760; }
#tgp-ros-root .tgp-ros-addest__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
#tgp-ros-root .tgp-ros-addest__text strong { font-size: 13.5px; color: #fafafa; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-addest__text small { font-size: 12px; color: #8b8b93; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root button.tgp-ros-addest__reset { flex: none; padding: 6px 11px !important; border-radius: 999px !important; border: 1px solid rgba(255, 255, 255, .12) !important; background: transparent !important; color: #d4d4d8 !important; font-size: 12px !important; font-weight: 600; cursor: pointer; }
#tgp-ros-root button.tgp-ros-addest__reset:hover { border-color: rgba(168, 85, 247, .5) !important; color: #fff !important; }
#tgp-ros-root .tgp-ros-addest__search { position: relative; }
#tgp-ros-root .tgp-ros-addest__searchicon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #1ed760; pointer-events: none; z-index: 1; }
#tgp-ros-root .tgp-ros-addest__search input { width: 100% !important; height: 42px !important; padding-left: 38px !important; }
#tgp-ros-root .tgp-ros-addest__paste { width: 100% !important; height: 40px !important; font-size: 13px !important; }
#tgp-ros-root .tgp-ros-addest__results { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); max-height: 340px; overflow-y: auto; padding: 6px; border-radius: 14px; background: #17171b; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
#tgp-ros-root .tgp-ros-addest__results[hidden] { display: none !important; }
#tgp-ros-root button.tgp-ros-sptrack { display: flex !important; align-items: center; gap: 11px; width: 100% !important; padding: 7px 9px !important; border: 0 !important; border-radius: 10px !important; background: transparent !important; color: #e4e4e7 !important; text-align: left; cursor: pointer; }
#tgp-ros-root button.tgp-ros-sptrack:hover, #tgp-ros-root button.tgp-ros-sptrack.is-active { background: rgba(255, 255, 255, .06) !important; }
#tgp-ros-root .tgp-ros-sptrack img, #tgp-ros-root .tgp-ros-sptrack__noimg { flex: none; width: 38px; height: 38px; border-radius: 7px; object-fit: cover; background: rgba(255, 255, 255, .06); }
#tgp-ros-root .tgp-ros-sptrack__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
#tgp-ros-root .tgp-ros-sptrack__text b { font-size: 13px; font-weight: 700; color: #fafafa; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-sptrack__text span { font-size: 12px; color: #8b8b93; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-addest__status { margin: 6px 8px; font-size: 12.5px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-adenddate { margin-top: 8px; max-width: 220px; }
#tgp-ros-root .tgp-ros-adctafield { margin-top: 4px; }

/* Live ad preview */
#tgp-ros-root .tgp-ros-adprev { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)); }
#tgp-ros-root .tgp-ros-adprev__head { display: flex; align-items: center; justify-content: space-between; }
#tgp-ros-root .tgp-ros-adprev__title { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-adprev__live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #86efac; }
#tgp-ros-root .tgp-ros-adprev__live i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
#tgp-ros-root .tgp-ros-adprev__tabs { display: flex; gap: 3px; padding: 3px; border-radius: 11px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
#tgp-ros-root button.tgp-ros-adprev__tab { flex: 1 1 0; min-width: 0; padding: 7px 4px !important; border: 0 !important; border-radius: 8px !important; background: transparent !important; color: #a1a1aa !important; font-size: 11.5px !important; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
#tgp-ros-root button.tgp-ros-adprev__tab.is-on { background: rgba(168, 85, 247, .2) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(168, 85, 247, .45); }
#tgp-ros-root .tgp-ros-adprev__stage { display: flex; justify-content: center; }
#tgp-ros-root .tgp-ros-adprev__ads { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
#tgp-ros-root .tgp-ros-adprev__ads[hidden] { display: none !important; }
#tgp-ros-root button.tgp-ros-adprev__adbtn { padding: 5px 11px !important; border-radius: 999px !important; border: 1px solid rgba(255, 255, 255, .12) !important; background: transparent !important; color: #a1a1aa !important; font-size: 11.5px !important; font-weight: 700; cursor: pointer; }
#tgp-ros-root button.tgp-ros-adprev__adbtn.is-on { border-color: #a855f7 !important; color: #fff !important; background: rgba(168, 85, 247, .14) !important; }
#tgp-ros-root .tgp-ros-adprev__note { margin: 0 !important; font-size: 11.5px; line-height: 1.5; color: #71717a; text-align: center; }

/* Phone mockups (light UI like the real apps) */
#tgp-ros-root .tgp-ros-phone { width: 292px; max-width: 100%; border-radius: 30px; padding: 9px; background: #0a0a0c; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
#tgp-ros-root .tgp-ros-phone__screen { position: relative; overflow: hidden; border-radius: 22px; background: #fff; color: #0f0f10; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
#tgp-ros-root .tgp-ros-phone__bar { display: flex; justify-content: space-between; padding: 7px 16px 3px; font-size: 11px; font-weight: 700; }
#tgp-ros-root .tgp-ros-mk__head { display: flex; align-items: center; gap: 8px; padding: 8px 10px; }
#tgp-ros-root .tgp-ros-mk__avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #a855f7, #ec4899); color: #fff; font-size: 12px; font-weight: 800; }
#tgp-ros-root .tgp-ros-mk__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tgp-ros-root .tgp-ros-mk__who { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
#tgp-ros-root .tgp-ros-mk__who b { font-size: 12.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-mk__who span { font-size: 10.5px; color: #65676b; }
#tgp-ros-root .tgp-ros-mk__dots { color: #65676b; font-weight: 800; letter-spacing: 1px; }
#tgp-ros-root .tgp-ros-mk__media { position: relative; background: #111; overflow: hidden; }
#tgp-ros-root .tgp-ros-mk__media img, #tgp-ros-root .tgp-ros-mk__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
#tgp-ros-root .tgp-ros-mk__media--sq { aspect-ratio: 4 / 5; }
#tgp-ros-root .tgp-ros-mk__media--fb { aspect-ratio: 1 / 1; }
#tgp-ros-root .tgp-ros-mk__empty { position: absolute; inset: 0; display: grid; place-items: center; color: #9ca3af; font-size: 12px; background: linear-gradient(135deg, #2e1065, #831843); }
#tgp-ros-root .tgp-ros-mk__ctabar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-bottom: 1px solid #efefef; font-size: 12.5px; font-weight: 700; color: #0f0f10; }
#tgp-ros-root .tgp-ros-mk__ctabar.is-ig { background: #fff; }
#tgp-ros-root .tgp-ros-mk__icons { display: flex; gap: 12px; padding: 8px 10px 4px; }
#tgp-ros-root .tgp-ros-mk__icons svg { width: 20px; height: 20px; }
#tgp-ros-root .tgp-ros-mk__caption { padding: 2px 10px 12px; font-size: 12px; line-height: 1.4; color: #0f0f10; word-break: break-word; }
#tgp-ros-root .tgp-ros-mk__caption b { font-weight: 700; margin-right: 4px; }
#tgp-ros-root .tgp-ros-mk__fbtext { padding: 0 10px 8px; font-size: 12.5px; line-height: 1.4; color: #050505; word-break: break-word; }
#tgp-ros-root .tgp-ros-mk__fblink { display: flex; align-items: center; gap: 10px; padding: 9px 10px; background: #f0f2f5; }
#tgp-ros-root .tgp-ros-mk__fblinktext { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
#tgp-ros-root .tgp-ros-mk__fblinktext small { font-size: 10px; color: #65676b; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-mk__fblinktext b { font-size: 13px; color: #050505; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-mk__fblinktext span { font-size: 11.5px; color: #65676b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-mk__fbbtn { flex: none; padding: 7px 11px; border-radius: 6px; background: #e4e6eb; color: #050505; font-size: 12px; font-weight: 700; }
#tgp-ros-root .tgp-ros-mk__fbfoot { display: flex; justify-content: space-around; padding: 8px 6px 10px; font-size: 11.5px; font-weight: 600; color: #65676b; border-top: 1px solid #e4e6eb; }
#tgp-ros-root .tgp-ros-mk--reels .tgp-ros-phone__screen { background: #000; color: #fff; }
#tgp-ros-root .tgp-ros-mk--reels .tgp-ros-mk__media { aspect-ratio: 9 / 16; }
#tgp-ros-root .tgp-ros-mk__reelsui { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 12px 14px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78)); color: #fff; }
#tgp-ros-root .tgp-ros-mk__reelsui .tgp-ros-mk__who span { color: rgba(255, 255, 255, .75); }
#tgp-ros-root .tgp-ros-mk__reelshead { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
#tgp-ros-root .tgp-ros-mk__reelscap { font-size: 12px; line-height: 1.4; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
#tgp-ros-root .tgp-ros-mk__reelscta { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 8px; background: rgba(255, 255, 255, .95); color: #0f0f10; font-size: 12.5px; font-weight: 700; }
#tgp-ros-root .tgp-ros-mk__reelsrail { position: absolute; right: 9px; bottom: 120px; display: flex; flex-direction: column; gap: 14px; color: #fff; }
#tgp-ros-root .tgp-ros-mk__reelsrail svg { width: 22px; height: 22px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
#tgp-ros-root .tgp-ros-mk__tag { position: absolute; top: 10px; left: 12px; font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
#tgp-ros-root .tgp-ros-mk__muted { color: #9ca3af; font-style: italic; }

/* Campaigns dashboard */
#tgp-ros-root .tgp-ros-adr__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
#tgp-ros-root .tgp-ros-adr__head .tgp-card__title { margin: 0 0 4px !important; }
#tgp-ros-root .tgp-ros-adr__sub { margin: 0 !important; font-size: 12.5px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-adr__headactions { display: flex; align-items: center; gap: 8px; }
#tgp-ros-root .tgp-ros-adr__range { display: flex; gap: 3px; padding: 3px; border-radius: 11px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
#tgp-ros-root button.tgp-ros-adr__rangebtn { padding: 6px 11px !important; border: 0 !important; border-radius: 8px !important; background: transparent !important; color: #a1a1aa !important; font-size: 12px !important; font-weight: 700; white-space: nowrap; cursor: pointer; }
#tgp-ros-root button.tgp-ros-adr__rangebtn.is-on { background: rgba(168, 85, 247, .2) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(168, 85, 247, .45); }
#tgp-ros-root button.tgp-ros-adr__refresh { display: grid; place-items: center; width: 36px; height: 36px; padding: 0 !important; border-radius: 10px !important; border: 1px solid rgba(255, 255, 255, .1) !important; background: transparent !important; color: #a1a1aa !important; cursor: pointer; }
#tgp-ros-root button.tgp-ros-adr__refresh:hover { color: #fff !important; border-color: rgba(168, 85, 247, .5) !important; }
#tgp-ros-root .tgp-ros-adr.is-loading .tgp-ros-adr__kpis, #tgp-ros-root .tgp-ros-adr.is-loading .tgp-ros-adr__overview, #tgp-ros-root .tgp-ros-adr.is-loading .tgp-ros-adr__list { opacity: .55; transition: opacity .2s ease; }
#tgp-ros-root .tgp-ros-adr__kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
#tgp-ros-root .tgp-ros-adr__kpis[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-adr__kpi { display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 13px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); min-width: 0; }
#tgp-ros-root .tgp-ros-adr__kpik { font-size: 12px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-adr__kpiv { font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: #fafafa; line-height: 1.15; }
#tgp-ros-root .tgp-ros-adr__kpis2 { font-size: 11.5px; color: #71717a; min-height: 15px; }
#tgp-ros-root .tgp-ros-adr__kpis2.is-good { color: #86efac; }
#tgp-ros-root .tgp-ros-adr__kpis2.is-bad { color: #fca5a5; }
#tgp-ros-root .tgp-ros-adr__overview { margin-bottom: 16px; padding: 16px 16px 10px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); }
#tgp-ros-root .tgp-ros-adr__overview[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-adr__ovhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
#tgp-ros-root .tgp-ros-adr__ovtitle { font-size: 13.5px; font-weight: 700; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-adr__ovtitle b { margin-left: 6px; font-weight: 600; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-adr__plot { position: relative; }
#tgp-ros-root .tgp-ros-chart { position: relative; }
#tgp-ros-root .tgp-ros-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
#tgp-ros-root .tgp-ros-chart__tip { position: absolute; top: 0; z-index: 5; pointer-events: none; padding: 8px 10px; border-radius: 9px; background: #0f0f12; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 10px 24px rgba(0, 0, 0, .5); white-space: nowrap; transform: translateX(-50%); }
#tgp-ros-root .tgp-ros-chart__tip[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-chart__tip b { display: block; font-size: 14px; color: #fafafa; }
#tgp-ros-root .tgp-ros-chart__tip span { font-size: 11.5px; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-chart__empty { margin: 18px 0; font-size: 12.5px; color: #8b8b93; text-align: center; }

#tgp-ros-root .tgp-ros-adr__list { display: flex; flex-direction: column; gap: 12px; }
#tgp-ros-root .tgp-ros-adc { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); transition: border-color .2s ease; }
#tgp-ros-root .tgp-ros-adc.is-fresh { border-color: rgba(168, 85, 247, .6); box-shadow: 0 0 0 3px rgba(168, 85, 247, .15); }
#tgp-ros-root .tgp-ros-adc__cover { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #3b0764, #831843); display: grid; place-items: center; color: rgba(255, 255, 255, .8); }
#tgp-ros-root .tgp-ros-adc__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tgp-ros-root .tgp-ros-adc__body { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
#tgp-ros-root .tgp-ros-adc__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-adc__title { min-width: 0; }
#tgp-ros-root .tgp-ros-adc__name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 700; color: #fafafa; }
#tgp-ros-root .tgp-ros-adc__meta { margin-top: 3px; font-size: 12px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-adc__actions { display: flex; align-items: center; gap: 6px; }
#tgp-ros-root button.tgp-ros-adc__btn, #tgp-ros-root a.tgp-ros-adc__btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px !important; border-radius: 9px !important; border: 1px solid rgba(255, 255, 255, .1) !important; background: rgba(255, 255, 255, .03) !important; color: #d4d4d8 !important; font-size: 12px !important; font-weight: 600; text-decoration: none !important; cursor: pointer; white-space: nowrap; }
#tgp-ros-root button.tgp-ros-adc__btn:hover, #tgp-ros-root a.tgp-ros-adc__btn:hover { border-color: rgba(168, 85, 247, .5) !important; color: #fff !important; }
#tgp-ros-root button.tgp-ros-adc__btn--icon, #tgp-ros-root a.tgp-ros-adc__btn--icon { width: 32px; padding: 0 !important; justify-content: center; }
#tgp-ros-root button.tgp-ros-adc__btn--live { border-color: rgba(34, 197, 94, .4) !important; color: #86efac !important; }
#tgp-ros-root button.tgp-ros-adc__btn--danger:hover { border-color: rgba(248, 113, 113, .55) !important; color: #fca5a5 !important; }
#tgp-ros-root button.tgp-ros-adc__btn:disabled { opacity: .5; cursor: default; }
#tgp-ros-root .tgp-ros-adc__stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(120px, 1.4fr); gap: 8px; align-items: stretch; }
#tgp-ros-root .tgp-ros-adc__stat { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); min-width: 0; }
#tgp-ros-root .tgp-ros-adc__stat small { font-size: 11px; color: #8b8b93; white-space: nowrap; }
#tgp-ros-root .tgp-ros-adc__stat b { font-size: 14px; font-weight: 700; color: #f4f4f5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tgp-ros-root .tgp-ros-adc__spark { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 6px 8px; border-radius: 10px; background: rgba(255, 255, 255, .03); min-width: 0; }
#tgp-ros-root .tgp-ros-adc__spark small { font-size: 11px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-adc__spark svg { display: block; width: 100%; height: 26px; }
#tgp-ros-root .tgp-ros-adc__panel { padding: 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .18); }
#tgp-ros-root .tgp-ros-adc__panel[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-adc__panelrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-adc__panel p { margin: 0 0 10px !important; font-size: 12.5px; color: #c6c6cd; }
#tgp-ros-root .tgp-ros-adc__budgetin { display: inline-flex; align-items: center; gap: 6px; }
#tgp-ros-root .tgp-ros-adc__budgetin input { width: 90px !important; height: 34px !important; }
#tgp-ros-root .tgp-ros-adc__budgetin span { color: #a1a1aa; font-size: 13px; }
#tgp-ros-root .tgp-ros-adr__empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px; border-radius: 14px; border: 1px dashed rgba(255, 255, 255, .12); text-align: center; }
#tgp-ros-root .tgp-ros-adr__empty b { font-size: 14px; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-adr__empty span { font-size: 12.5px; color: #8b8b93; }

@media (max-width: 1100px) {
	#tgp-ros-root .tgp-ros-adbuilder__layout { grid-template-columns: 1fr; }
	#tgp-ros-root .tgp-ros-adprev { position: static; order: -1; }
	#tgp-ros-root .tgp-ros-adc__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	#tgp-ros-root .tgp-ros-adc__spark { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	#tgp-ros-root .tgp-ros-adgoals { grid-template-columns: 1fr; }
	#tgp-ros-root button.tgp-ros-adgoal { flex-direction: row !important; align-items: center; flex-wrap: wrap; }
	#tgp-ros-root .tgp-ros-adgoal__desc { flex-basis: 100%; }
	#tgp-ros-root .tgp-ros-adr__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#tgp-ros-root .tgp-ros-adr__kpi:last-child { grid-column: 1 / -1; }
	#tgp-ros-root .tgp-ros-adr__kpiv { font-size: 20px; }
	#tgp-ros-root .tgp-ros-adr__headactions { width: 100%; }
	#tgp-ros-root .tgp-ros-adr__range { flex: 1; }
	#tgp-ros-root button.tgp-ros-adr__rangebtn { flex: 1; padding: 6px 4px !important; }
	#tgp-ros-root .tgp-ros-adc { grid-template-columns: 48px minmax(0, 1fr); padding: 12px; }
	#tgp-ros-root .tgp-ros-adc__cover { width: 48px; height: 48px; }
	#tgp-ros-root .tgp-ros-adc__actions { width: 100%; flex-wrap: wrap; }
	#tgp-ros-root .tgp-ros-adc__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#tgp-ros-root .tgp-ros-adrel .tgp-ros-rpdd__toggle, #tgp-ros-root .tgp-ros-adrel .tgp-ros-rpdd__panel { max-width: 100%; width: 100%; }
	#tgp-ros-root .tgp-ros-phone { width: 270px; }
}

/* Ads switcher popovers (replace native dropdowns, 2026-09-13) */
#tgp-ros-root .tgp-ros-adcell.is-enhanced .tgp-ros-adswitch__native { display: none !important; }
#tgp-ros-root .tgp-ros-adcell.is-enhanced:focus-visible { outline: 2px solid rgba(168, 85, 247, .7); outline-offset: 2px; }
#tgp-ros-root .tgp-ros-adcell.is-open { border-color: rgba(168, 85, 247, .6); background: rgba(147, 51, 234, .08); z-index: 35; }
#tgp-ros-root .tgp-ros-adcell.is-open .tgp-ros-adcell__chev { transform: rotate(180deg); color: #d8b4fe; }
#tgp-ros-root .tgp-ros-adcell__chev { transition: transform .15s ease; }
#tgp-ros-root .tgp-ros-adpop { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 100%; max-width: min(340px, 90vw); max-height: 300px; overflow-y: auto; padding: 6px; border-radius: 13px; background: #17171b; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 22px 55px rgba(0, 0, 0, .55); cursor: default; }
#tgp-ros-root .tgp-ros-adpop[hidden] { display: none !important; }
#tgp-ros-root button.tgp-ros-adpop__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 11px; border: 0; border-radius: 9px; background: transparent; color: #d4d4d8; font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
#tgp-ros-root button.tgp-ros-adpop__opt span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root button.tgp-ros-adpop__opt:hover, #tgp-ros-root button.tgp-ros-adpop__opt:focus-visible { background: rgba(255, 255, 255, .06); color: #fff; outline: none; }
#tgp-ros-root button.tgp-ros-adpop__opt.is-on { background: rgba(168, 85, 247, .14); color: #f5f3ff; }
#tgp-ros-root .tgp-ros-adpop__check { flex: none; color: #c084fc; visibility: hidden; }
#tgp-ros-root .tgp-ros-adpop__opt.is-on .tgp-ros-adpop__check { visibility: visible; }
@media (max-width: 900px) {
	#tgp-ros-root .tgp-ros-adpop { position: fixed; left: 10px; right: 10px; top: auto; bottom: 10px; min-width: 0; width: auto; max-width: none; max-height: 60vh; z-index: 120; box-shadow: 0 -12px 50px rgba(0, 0, 0, .6); }
	#tgp-ros-root .tgp-ros-adc__actions { flex-wrap: nowrap; }
	#tgp-ros-root button.tgp-ros-adc__btn:not(.tgp-ros-adc__btn--icon) { flex: 1 1 auto; justify-content: center; }
	#tgp-ros-root .tgp-ros-adc__btn--icon { flex: none; }
	#tgp-ros-root .tgp-ros-adc__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	#tgp-ros-root .tgp-ros-adc__stat { padding: 7px 8px; }
	#tgp-ros-root .tgp-ros-adc__spark { grid-column: 1 / -1; }
}

/* Ads destination: smart link page / Spotify / other link (2026-09-13) */
#tgp-ros-root .tgp-ros-addest__tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
#tgp-ros-root button.tgp-ros-addest__tab { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; padding: 8px 10px !important; border: 0 !important; border-radius: 9px !important; background: transparent !important; color: #a1a1aa !important; font-size: 12.5px !important; font-weight: 600; white-space: nowrap; cursor: pointer; }
#tgp-ros-root button.tgp-ros-addest__tab > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root button.tgp-ros-addest__tab svg { flex: none; }
#tgp-ros-root button.tgp-ros-addest__tab:hover { color: #fafafa !important; background: rgba(255, 255, 255, .04) !important; }
#tgp-ros-root button.tgp-ros-addest__tab.is-on { background: rgba(168, 85, 247, .18) !important; color: #f5f3ff !important; }
#tgp-ros-root button.tgp-ros-addest__tab[data-ros-adb-destsrc="spotify"].is-on svg { color: #1ed760; }
#tgp-ros-root .tgp-ros-addest__panel { display: flex; flex-direction: column; gap: 8px; }
#tgp-ros-root .tgp-ros-addest__panel[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-addest__hint { margin: 0 2px !important; font-size: 12px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-addest__sllist { display: flex; flex-direction: column; gap: 6px; max-height: 262px; overflow-y: auto; padding-right: 2px; }
#tgp-ros-root button.tgp-ros-slpick { display: flex; align-items: center; gap: 11px; width: 100%; padding: 8px 12px 8px 8px !important; border-radius: 12px !important; border: 1px solid rgba(255, 255, 255, .08) !important; background: rgba(255, 255, 255, .02) !important; color: #d4d4d8 !important; text-align: left; cursor: pointer; transition: border-color .12s ease, background .12s ease; }
#tgp-ros-root button.tgp-ros-slpick:hover { border-color: rgba(168, 85, 247, .45) !important; }
#tgp-ros-root button.tgp-ros-slpick.is-on { border-color: rgba(168, 85, 247, .6) !important; background: rgba(147, 51, 234, .1) !important; }
#tgp-ros-root .tgp-ros-slpick__cover { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, .05); color: #a1a1aa; }
#tgp-ros-root .tgp-ros-slpick__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tgp-ros-root .tgp-ros-slpick__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#tgp-ros-root .tgp-ros-slpick__text b { font-size: 13px; font-weight: 600; color: #fafafa; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-slpick__text span { font-size: 11.5px; color: #8b8b93; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tgp-ros-root .tgp-ros-slpick em { flex: none; font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(168, 85, 247, .16); color: #d8b4fe; }
#tgp-ros-root .tgp-ros-slpick__check { flex: none; color: #c084fc; visibility: hidden; }
#tgp-ros-root .tgp-ros-slpick.is-on .tgp-ros-slpick__check { visibility: visible; }
#tgp-ros-root button.tgp-ros-addest__slcreate { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px 12px !important; border-radius: 12px !important; border: 1px dashed rgba(168, 85, 247, .45) !important; background: rgba(147, 51, 234, .06) !important; color: #e9d5ff !important; font-size: 13px !important; font-weight: 600; cursor: pointer; }
#tgp-ros-root button.tgp-ros-addest__slcreate:hover { border-style: solid !important; background: rgba(147, 51, 234, .12) !important; }
#tgp-ros-root button.tgp-ros-addest__slcreate[hidden] { display: none !important; }
#tgp-ros-root button.tgp-ros-addest__slcreate.is-busy { opacity: .6; cursor: progress; }
#tgp-ros-root button.tgp-ros-addest__slcreate span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
@media (max-width: 480px) {
	#tgp-ros-root button.tgp-ros-addest__tab { padding: 8px 6px !important; font-size: 12px !important; gap: 5px; }
	#tgp-ros-root .tgp-ros-addest__tabx { display: none; }
}

/* Ads step 4 responsive rework (2026-09-13) */
#tgp-ros-root .tgp-ros-adchip { white-space: nowrap; }
#tgp-ros-root .tgp-ros-adsettings { display: flex; flex-direction: column; margin: 4px 0 18px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; background: rgba(255, 255, 255, .02); }
#tgp-ros-root .tgp-ros-adfield.tgp-ros-adsetting { display: flex !important; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0; padding: 14px 16px; }
#tgp-ros-root .tgp-ros-adsetting + .tgp-ros-adsetting { border-top: 1px solid rgba(255, 255, 255, .06); }
#tgp-ros-root .tgp-ros-adsetting > span:first-child { flex: 0 0 104px; }
#tgp-ros-root .tgp-ros-adsetting > .tgp-ros-adchips { flex: 1 1 280px; min-width: 0; }
#tgp-ros-root .tgp-ros-adsetting .tgp-ros-adenddate { flex: 0 0 auto; margin: 0 0 0 120px; }
#tgp-ros-root .tgp-ros-adenddate[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-adretarget__toggle.tgp-ros-lyrictoggle { display: flex; align-items: flex-start; }
#tgp-ros-root .tgp-ros-adretarget__toggle .tgp-ros-lyrictoggle__box { margin-top: 2px; }
#tgp-ros-root .tgp-ros-adretarget__toggle .tgp-ros-lyrictoggle__text { font-size: 13px; font-weight: 500; line-height: 1.55; color: #c6c6cd; text-transform: none; letter-spacing: 0; }
#tgp-ros-root .tgp-ros-adretarget__toggle .tgp-ros-lyrictoggle__text strong { color: #f4f4f5; }
#tgp-ros-root .tgp-ros-adretarget__toggle input:focus-visible + .tgp-ros-lyrictoggle__box { outline: 2px solid rgba(168, 85, 247, .7); outline-offset: 2px; }
#tgp-ros-root .tgp-ros-adbudget { gap: 10px; }
#tgp-ros-root .tgp-ros-adbudget__custom { display: inline-flex; align-items: center; gap: 2px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); white-space: nowrap; box-sizing: border-box; }
#tgp-ros-root .tgp-ros-adbudget__custom:focus-within { border-color: #a855f7; }
#tgp-ros-root .tgp-ros-adbudget__custom input.tgp-field { width: 4.2ch !important; min-width: 0 !important; max-width: 4.2ch !important; height: 32px !important; min-height: 0 !important; margin: 0 !important; padding: 0 2px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; outline: none !important; font-size: 14px !important; font-weight: 700; color: #fafafa !important; -moz-appearance: textfield; appearance: textfield; }
#tgp-ros-root .tgp-ros-adbudget__custom input::-webkit-inner-spin-button, #tgp-ros-root .tgp-ros-adbudget__custom input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#tgp-ros-root .tgp-ros-adbudget__cur { font-size: 14px; font-weight: 700; color: #d8b4fe; }
#tgp-ros-root .tgp-ros-adbudget__per { font-size: 12.5px; font-weight: 500; color: #8b8b93; text-transform: none !important; letter-spacing: 0 !important; }
@media (min-width: 1101px) and (max-width: 1500px) {
	#tgp-ros-root .tgp-ros-adbuilder__layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
	#tgp-ros-root .tgp-ros-adprev { padding: 14px; }
	#tgp-ros-root .tgp-ros-adprev .tgp-ros-phone { width: 100%; max-width: 270px; }
	#tgp-ros-root button.tgp-ros-adprev__tab { font-size: 10.5px !important; padding-left: 3px !important; padding-right: 3px !important; white-space: nowrap !important; line-height: 1.2 !important; }
}
@media (max-width: 560px) {
	#tgp-ros-root .tgp-ros-adfield.tgp-ros-adsetting { padding: 12px 14px; gap: 8px; }
	#tgp-ros-root .tgp-ros-adsetting > span:first-child { flex-basis: 100%; }
	#tgp-ros-root .tgp-ros-adsetting > .tgp-ros-adchips { flex-basis: 100%; }
	#tgp-ros-root .tgp-ros-adsetting .tgp-ros-adenddate { margin-left: 0; }
}
#tgp-ros-root .tgp-ros-adbudget ~ .tgp-ros-form__note { margin-left: 0 !important; margin-right: 0 !important; padding-left: 2px !important; padding-right: 2px !important; }

/* Social calendar: drop files from the computer onto a day (2026-09-14) */
#tgp-ros-root .tgp-ros-scal__grid.is-filedrag .tgp-ros-scal__day:not(.is-past):not(.is-out):not(.is-over) { box-shadow: inset 0 0 0 1px rgba(168, 85, 247, .28); }
#tgp-ros-root .tgp-ros-scal__day.is-uploading { position: relative; }
#tgp-ros-root .tgp-ros-scal__dayup { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: inherit; background: rgba(12, 12, 16, .8); pointer-events: none; }
#tgp-ros-root .tgp-ros-scal__dayuppct { font-size: 11px; font-weight: 700; color: #e9d5ff; font-variant-numeric: tabular-nums; }
#tgp-ros-root .tgp-ros-scal__filehint { position: fixed; left: 50%; bottom: 28px; z-index: 9990; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; background: #1c1628; border: 1px solid rgba(168, 85, 247, .55); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); color: #f3e8ff; font-size: 13px; font-weight: 600; pointer-events: none; white-space: nowrap; }
#tgp-ros-root .tgp-ros-scal__filehint[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-scal__filehint svg { color: #c084fc; }

/* Schedule modal header: title + date subtitle, close button top right (2026-09-14) */
#tgp-ros-root .tgp-ros-scal__mpanel .tgp-ros-modal__head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: nowrap; gap: 16px; margin-bottom: 18px; }
#tgp-ros-root .tgp-ros-scal__mtitle { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#tgp-ros-root .tgp-ros-scal__mpanel .tgp-ros-modal__head h3 { margin: 0 !important; line-height: 1.15; }
#tgp-ros-root .tgp-ros-scal__mdate { display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: #a1a1aa; font-size: 13px; font-weight: 500; }
#tgp-ros-root .tgp-ros-scal__mdate svg { flex: none; color: #c084fc; }
#tgp-ros-root .tgp-ros-scal__mpanel .tgp-ros-scal__mday { flex: 0 1 auto; margin: 0 !important; color: inherit; font-size: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tgp-ros-root .tgp-ros-scal__mpanel .tgp-ros-modal__close { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0 !important; border-radius: 10px !important; border: 1px solid rgba(255, 255, 255, .1) !important; background: rgba(255, 255, 255, .03) !important; color: #a1a1aa !important; font-size: 20px; line-height: 1; cursor: pointer; }
#tgp-ros-root .tgp-ros-scal__mpanel .tgp-ros-modal__close:hover { border-color: rgba(168, 85, 247, .5) !important; color: #fff !important; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-scal__mpanel .tgp-ros-modal__head { margin-bottom: 12px; gap: 10px; }
	#tgp-ros-root .tgp-ros-scal__mtitle { gap: 4px; }
	#tgp-ros-root .tgp-ros-scal__mdate { font-size: 12.5px; }
}

/* Schedule modal: caption tools, trending tags, coach card, suggested times (2026-09-14) */
#tgp-ros-root .tgp-ros-captools { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
#tgp-ros-root .tgp-ros-captools__bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
#tgp-ros-root button.tgp-ros-captools__btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); color: #d4d4d8; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: border-color .12s ease, color .12s ease; }
#tgp-ros-root button.tgp-ros-captools__btn:hover { border-color: rgba(168, 85, 247, .55); color: #fff; }
#tgp-ros-root button.tgp-ros-captools__btn:disabled { opacity: .5; cursor: progress; }
#tgp-ros-root button.tgp-ros-captools__btn[aria-expanded="true"] { border-color: rgba(168, 85, 247, .6); background: rgba(147, 51, 234, .12); color: #f5f3ff; }
#tgp-ros-root .tgp-ros-captools__stylelabel { max-width: 180px; overflow: hidden; text-overflow: ellipsis; color: #c084fc; font-weight: 600; }
#tgp-ros-root .tgp-ros-captools__panel { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid rgba(168, 85, 247, .25); background: rgba(147, 51, 234, .05); }
#tgp-ros-root .tgp-ros-captools__panel[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-captools__k { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8b8b93; }
#tgp-ros-root .tgp-ros-captools__chips { display: flex; flex-wrap: wrap; gap: 6px; }
#tgp-ros-root button.tgp-ros-captools__chip { padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); color: #c6c6cd; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; }
#tgp-ros-root button.tgp-ros-captools__chip:hover { border-color: rgba(168, 85, 247, .5); color: #fff; }
#tgp-ros-root button.tgp-ros-captools__chip.is-selected { border-color: #a855f7; background: rgba(168, 85, 247, .18); color: #f3e8ff; }
#tgp-ros-root .tgp-ros-captools__guide { width: 100% !important; height: 38px !important; font-size: 13px !important; }
#tgp-ros-root .tgp-ros-captools__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-captools__save .tgp-ros-lyrictoggle__text { font-size: 12.5px; font-weight: 500; color: #c6c6cd; }
#tgp-ros-root .tgp-ros-captools__tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
#tgp-ros-root .tgp-ros-captools__tags[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-captools__tagk { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8b8b93; margin-right: 2px; }
#tgp-ros-root button.tgp-ros-captools__tag { display: inline-flex; align-items: baseline; gap: 5px; padding: 5px 9px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .16); background: transparent; color: #d4d4d8; font-size: 12px; font-weight: 600; line-height: 1.1; cursor: pointer; white-space: nowrap; }
#tgp-ros-root button.tgp-ros-captools__tag em { font-style: normal; font-size: 10.5px; font-weight: 500; color: #8b8b93; }
#tgp-ros-root button.tgp-ros-captools__tag:hover { border-color: rgba(168, 85, 247, .55); color: #fff; }
#tgp-ros-root button.tgp-ros-captools__tag.is-on { border-style: solid; border-color: rgba(168, 85, 247, .6); background: rgba(168, 85, 247, .14); color: #f3e8ff; }
#tgp-ros-root .tgp-ros-scal__coach { border-radius: 13px; border: 1px solid rgba(110, 231, 183, .22); background: rgba(110, 231, 183, .04); overflow: hidden; }
#tgp-ros-root .tgp-ros-scal__coach[hidden] { display: none !important; }
#tgp-ros-root button.tgp-ros-scal__coachhead { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 13px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
#tgp-ros-root .tgp-ros-scal__coachicon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(110, 231, 183, .12); color: #6ee7b7; }
#tgp-ros-root .tgp-ros-scal__coachtitle { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#tgp-ros-root .tgp-ros-scal__coachtitle b { font-size: 13px; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-scal__coachtitle small { font-size: 11.5px; color: #8b8b93; line-height: 1.4; }
#tgp-ros-root .tgp-ros-scal__coachchev { flex: none; color: #8b8b93; transition: transform .15s ease; }
#tgp-ros-root button.tgp-ros-scal__coachhead[aria-expanded="true"] .tgp-ros-scal__coachchev { transform: rotate(180deg); }
#tgp-ros-root .tgp-ros-scal__coachbody { display: flex; flex-direction: column; gap: 8px; padding: 0 13px 13px; }
#tgp-ros-root .tgp-ros-scal__coachbody[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-scal__coachk { margin-top: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8b8b93; }
#tgp-ros-root .tgp-ros-scal__coachlist { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 6px; }
#tgp-ros-root .tgp-ros-scal__coachlist li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, .03); font-size: 12.5px; line-height: 1.45; color: #d4d4d8; }
#tgp-ros-root .tgp-ros-scal__coachlist li b { color: #f4f4f5; font-weight: 600; }
#tgp-ros-root .tgp-ros-scal__coachlist li em { flex: none; font-style: normal; font-size: 11px; color: #6ee7b7; font-variant-numeric: tabular-nums; }
#tgp-ros-root .tgp-ros-scal__coachhabit { margin: 2px 0 0 !important; font-size: 12px; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-scal__timechips.is-suggested { flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-scal__timechip em { margin-left: 5px; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #6ee7b7; }
#tgp-ros-root .tgp-ros-scal__timenote { flex-basis: 100%; margin: 2px 0 0 !important; font-size: 11.5px; color: #8b8b93; }
#tgp-ros-root .tgp-ros-scal__timenote[hidden] { display: none !important; }
@media (max-width: 700px) {
	#tgp-ros-root .tgp-ros-scal__timechips.is-suggested { display: inline-flex !important; }
	#tgp-ros-root .tgp-ros-captools__foot { flex-direction: column; align-items: stretch; }
	#tgp-ros-root .tgp-ros-captools__foot .tgp-ros-btn { width: 100%; }
}
#tgp-ros-root button.tgp-ros-captools__tagmore { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(168, 85, 247, .35); background: rgba(147, 51, 234, .08); color: #d8b4fe; font-size: 12px; font-weight: 600; line-height: 1.1; cursor: pointer; white-space: nowrap; }
#tgp-ros-root button.tgp-ros-captools__tagmore:hover { border-color: rgba(168, 85, 247, .7); color: #fff; }
#tgp-ros-root button.tgp-ros-captools__tagmore svg { transition: transform .3s ease; }
#tgp-ros-root button.tgp-ros-captools__tagmore:active svg { transform: rotate(180deg); }
#tgp-ros-root button.tgp-ros-captools__tag.is-popular em { color: #c084fc; }

/* Social calendar: month at a glance + day popover lifted out of the grid (2026-09-14) */
#tgp-ros-root .tgp-ros-scal__pop[data-ros-scal-pop].is-floating { position: fixed; right: auto; bottom: auto; z-index: 9000; max-height: calc(100vh - 16px); overflow-y: auto; }
#tgp-ros-root .tgp-ros-scal__summary { display: flex; flex-direction: column; gap: 10px; margin: 2px 0 16px; }
#tgp-ros-root .tgp-ros-scal__summary[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-scal__sumtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
#tgp-ros-root .tgp-ros-scal__sumtile { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 11px 13px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); }
#tgp-ros-root .tgp-ros-scal__sumk { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8b8b93; }
#tgp-ros-root .tgp-ros-scal__sumtile b { font-size: 20px; font-weight: 700; line-height: 1.15; color: #fafafa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
#tgp-ros-root .tgp-ros-scal__sumtile small { font-size: 11.5px; line-height: 1.35; color: #8b8b93; }
#tgp-ros-root .tgp-ros-scal__sumtile small em { font-style: normal; color: #fca5a5; }
#tgp-ros-root .tgp-ros-scal__sumtile.is-warn b { color: #fcd34d; }
#tgp-ros-root .tgp-ros-scal__sumai { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(168, 85, 247, .28); background: linear-gradient(135deg, rgba(147, 51, 234, .10), rgba(147, 51, 234, .03)); }
#tgp-ros-root .tgp-ros-scal__sumai[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-scal__sumicon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(168, 85, 247, .18); color: #d8b4fe; }
#tgp-ros-root .tgp-ros-scal__sumbody { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
#tgp-ros-root .tgp-ros-scal__sumhead { font-size: 13.5px; color: #f5f3ff; }
#tgp-ros-root .tgp-ros-scal__sumtext { margin: 0 !important; font-size: 13px; line-height: 1.55; color: #d4d4d8; }
#tgp-ros-root .tgp-ros-scal__sumacts { list-style: none; margin: 4px 0 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 4px; }
#tgp-ros-root .tgp-ros-scal__sumacts li { position: relative; margin: 0; padding-left: 16px; font-size: 12.5px; line-height: 1.5; color: #c6c6cd; }
#tgp-ros-root .tgp-ros-scal__sumacts li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #a855f7; }
#tgp-ros-root .tgp-ros-scal__sumloading { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; font-size: 12.5px; color: #a1a1aa; }
#tgp-ros-root button.tgp-ros-scal__sumrefresh { flex: none; display: grid; place-items: center; width: 30px; height: 30px; padding: 0 !important; border-radius: 9px !important; border: 1px solid rgba(255, 255, 255, .1) !important; background: transparent !important; color: #a1a1aa !important; cursor: pointer; }
#tgp-ros-root button.tgp-ros-scal__sumrefresh:hover { border-color: rgba(168, 85, 247, .5) !important; color: #fff !important; }
@media (max-width: 900px) {
	#tgp-ros-root .tgp-ros-scal__sumtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#tgp-ros-root .tgp-ros-scal__sumtile b { font-size: 18px; }
}

/* Calendar: equal day rows, one status per line in stacked days, summary card below (2026-09-14) */
#tgp-ros-root .tgp-ros-scal__grid { grid-auto-rows: minmax(72px, 1fr); grid-auto-rows: minmax(calc(100cqw / 7 * 0.9), 1fr); }
#tgp-ros-root .tgp-ros-scal__day:has(.tgp-ros-scal__stack) { min-height: 0; }
#tgp-ros-root .tgp-ros-scal__stackmeta span.tgp-ros-scal__stackparts { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 2px; }
#tgp-ros-root .tgp-ros-scal__stackmeta span.tgp-ros-scal__stackpart { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 5px; white-space: nowrap; font-size: 10px; font-weight: 600; line-height: 1.25; color: var(--tgp-text-dim, #a1a1aa); }
#tgp-ros-root .tgp-ros-scal__stackmeta span.tgp-ros-scal__stackpart i { flex: none; }
#tgp-ros-root .tgp-ros-scal__sumcard { margin-top: 18px; }
#tgp-ros-root .tgp-ros-scal__sumcard[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-scal__sumcard .tgp-ros-scal__summary { margin: 0; }
#tgp-ros-root .tgp-ros-scal__stackmeta span.tgp-ros-scal__stackpart b { font-size: 10px; font-weight: 700; line-height: 1.25; color: var(--tgp-text, #f4f4f5); }
#tgp-ros-root .tgp-ros-scal__stackmeta span.tgp-ros-scal__stackword { display: inline; font-size: inherit; font-weight: inherit; color: inherit; margin-left: -1px; }
@container (max-width: 720px) {
	#tgp-ros-root .tgp-ros-scal__stackmeta span.tgp-ros-scal__stackparts { flex-direction: row; flex-wrap: wrap; gap: 3px 9px; }
	#tgp-ros-root .tgp-ros-scal__stackmeta span.tgp-ros-scal__stackword { display: none; }
}

/* Day popover rows fit the popover; calendar + summary skeleton (2026-09-14) */
#tgp-ros-root .tgp-ros-scal__pop[data-ros-scal-pop] { grid-template-columns: minmax(0, 1fr); }
#tgp-ros-root .tgp-ros-scal__pop[data-ros-scal-pop].is-floating { overflow-x: hidden; }
#tgp-ros-root .tgp-ros-scal__poplist { grid-template-columns: minmax(0, 1fr); overflow-x: hidden; }
#tgp-ros-root .tgp-ros-scal__poplist .tgp-ros-scal__chip { width: 100% !important; min-width: 0 !important; max-width: 100% !important; box-sizing: border-box !important; margin: 0 !important; }
#tgp-ros-root .tgp-ros-sumskel { display: block; border-radius: 99px; background: rgba(255, 255, 255, .07); }
#tgp-ros-root .tgp-ros-sumskel--k { width: 62px; height: 9px; }
#tgp-ros-root .tgp-ros-sumskel--v { width: 40px; height: 20px; border-radius: 7px; margin: 3px 0 2px; background: rgba(255, 255, 255, .09); }
#tgp-ros-root .tgp-ros-sumskel--s { width: 88px; height: 9px; }
#tgp-ros-root .tgp-ros-sumskel--line { height: 10px; margin: 3px 0; }
#tgp-ros-root .tgp-ros-scal__sumai.tgp-ros-calskel .tgp-ros-scal__sumicon { background: rgba(168, 85, 247, .12); }
@media (min-width: 701px) {
	#tgp-ros-root .tgp-ros-scal__grid { grid-auto-rows: minmax(max(calc(100cqw / 7 * 0.9), 106px), 1fr); }
}
#tgp-ros-root a.tgp-ros-scal__sumcta { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(110, 231, 183, .25); background: rgba(110, 231, 183, .05); color: inherit; text-decoration: none !important; transition: border-color .15s ease, background .15s ease; }
#tgp-ros-root a.tgp-ros-scal__sumcta:hover { border-color: rgba(110, 231, 183, .5); background: rgba(110, 231, 183, .09); }
#tgp-ros-root .tgp-ros-scal__sumctaicon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(110, 231, 183, .14); color: #6ee7b7; }
#tgp-ros-root .tgp-ros-scal__sumctatext { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#tgp-ros-root .tgp-ros-scal__sumctatext b { font-size: 13.5px; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-scal__sumctatext small { font-size: 12px; line-height: 1.45; color: #a1a1aa; }
#tgp-ros-root .tgp-ros-scal__sumctago { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(110, 231, 183, .14); color: #a7f3d0; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) {
	#tgp-ros-root a.tgp-ros-scal__sumcta { flex-wrap: wrap; }
	#tgp-ros-root .tgp-ros-scal__sumctago { margin-left: 44px; }
}

/* Settings: connected accounts, posting time, caption style (2026-09-14) */
#tgp-ros-root .tgp-ros-settings { display: flex; flex-direction: column; gap: 18px; }
#tgp-ros-root .tgp-ros-settings .tgp-ros-connacc__rows { margin-top: 10px; }
#tgp-ros-root .tgp-ros-settings__foot { margin-top: 12px !important; }
#tgp-ros-root .tgp-ros-set-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
#tgp-ros-root button.tgp-ros-set-mode { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 14px 16px !important; border-radius: 13px !important; border: 1px solid rgba(255, 255, 255, .1) !important; background: rgba(255, 255, 255, .02) !important; color: inherit !important; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
#tgp-ros-root button.tgp-ros-set-mode:hover { border-color: rgba(168, 85, 247, .45) !important; }
#tgp-ros-root button.tgp-ros-set-mode.is-selected { border-color: #a855f7 !important; background: rgba(147, 51, 234, .1) !important; }
#tgp-ros-root button.tgp-ros-set-mode b { font-size: 14px; font-weight: 700; color: #f4f4f5; }
#tgp-ros-root button.tgp-ros-set-mode span { font-size: 12.5px; line-height: 1.5; color: #8b8b93; }
#tgp-ros-root .tgp-ros-set-timerow { display: flex; align-items: center; gap: 12px; margin-top: 14px; transition: opacity .15s ease; }
#tgp-ros-root .tgp-ros-set-timerow .tgp-field { width: 130px !important; }
#tgp-ros-root .tgp-ros-set-posting:not(.is-fixed) .tgp-ros-set-timerow { opacity: .55; }
#tgp-ros-root .tgp-ros-set-style .tgp-ros-captools__chips { margin-top: 8px; }
#tgp-ros-root .tgp-ros-set-style__k { margin-top: 16px !important; }
#tgp-ros-root .tgp-ros-set-style__guide { width: 100% !important; margin-top: 6px; }
#tgp-ros-root .tgp-ros-set-style__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-set-modes { grid-template-columns: 1fr; }
}
#tgp-ros-root .tgp-ros-scal__timewarn { flex-basis: 100%; display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 0 !important; padding: 9px 11px; border-radius: 10px; background: rgba(251, 191, 36, .08); border: 1px solid rgba(251, 191, 36, .28); color: #fcd34d; font-size: 12px; line-height: 1.45; }
#tgp-ros-root .tgp-ros-scal__timewarn[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-scal__timewarn svg { flex: none; margin-top: 1px; }
/* Stacked day: thumbnails always fit the day cell (max 3 items at 22px) */
#tgp-ros-root .tgp-ros-scal__stackthumbs { max-width: 100%; overflow: hidden; }
#tgp-ros-root .tgp-ros-scal__stackthumb { flex: none; width: 22px; height: 22px; margin-left: -9px; border-radius: 6px; }
#tgp-ros-root .tgp-ros-scal__stackthumb:first-child { margin-left: 0; }
#tgp-ros-root .tgp-ros-scal__stackthumb svg { width: 10px; height: 10px; }
#tgp-ros-root .tgp-ros-scal__stackthumb.is-count { font-size: 9px; }
@container (max-width: 560px) {
	#tgp-ros-root .tgp-ros-scal__stack { padding: 4px 5px !important; }
	#tgp-ros-root .tgp-ros-scal__stackthumb { width: 18px; height: 18px; margin-left: -8px; border-radius: 5px; border-width: 1.5px; }
	#tgp-ros-root .tgp-ros-scal__stackthumb:first-child { margin-left: 0; }
	#tgp-ros-root .tgp-ros-scal__stackthumb svg { width: 9px; height: 9px; }
	#tgp-ros-root .tgp-ros-scal__stackthumb.is-count { font-size: 8px; }
}
@container (max-width: 480px) {
	#tgp-ros-root .tgp-ros-scal__stackthumb { width: 16px; height: 16px; margin-left: -7px; }
	#tgp-ros-root .tgp-ros-scal__stackthumb:first-child { margin-left: 0; }
	#tgp-ros-root .tgp-ros-scal__stackthumb svg { width: 8px; height: 8px; }
}
/* Calendar layout too tight for two columns (account sidebar + fixed tray): stack the tray below */
#tgp-ros-root .tgp-ros-scal__layout.is-narrow { grid-template-columns: minmax(0, 1fr); }
#tgp-ros-root .tgp-ros-scal__layout.is-narrow .tgp-ros-scal__tray { position: static; }
@container (max-width: 480px) {
	#tgp-ros-root .tgp-ros-scal__stackmeta > b { font-size: 10px; white-space: nowrap; }
}

/* Lost connections + quick #/@ + @mention search (2026-09-16) */
#tgp-ros-root .tgp-ros-scal__reauth { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .07); }
#tgp-ros-root .tgp-ros-scal__reauthicon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(251, 191, 36, .16); color: #fcd34d; }
#tgp-ros-root .tgp-ros-scal__reauthtext { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#tgp-ros-root .tgp-ros-scal__reauthtext b { font-size: 14px; color: #fde68a; }
#tgp-ros-root .tgp-ros-scal__reauthtext span { font-size: 12.5px; line-height: 1.5; color: #d4d4d8; }
#tgp-ros-root .tgp-ros-scal__reauthbtns { display: flex; gap: 8px; flex-wrap: wrap; }
#tgp-ros-root .tgp-ros-scal__reauthbtns a { text-decoration: none !important; }
#tgp-ros-root .tgp-ros-scal__netcard.is-reauth { border-color: rgba(251, 191, 36, .4); }
#tgp-ros-root .tgp-ros-scal__netcard.is-reauth [data-ros-scal-cap], #tgp-ros-root .tgp-ros-scal__netcard.is-reauth .tgp-ros-captools, #tgp-ros-root .tgp-ros-scal__netcard.is-reauth .tgp-ros-captools__tags, #tgp-ros-root .tgp-ros-scal__netcard.is-reauth .tgp-ros-ttpanel { opacity: .45; pointer-events: none; }
#tgp-ros-root .tgp-ros-scal__netreauth { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(251, 191, 36, .08); border: 1px solid rgba(251, 191, 36, .3); color: #fcd34d; font-size: 12.5px; line-height: 1.45; }
#tgp-ros-root .tgp-ros-scal__netreauth svg { flex: none; }
#tgp-ros-root .tgp-ros-scal__netreauth span { flex: 1 1 auto; min-width: 0; color: #e4e4e7; }
#tgp-ros-root .tgp-ros-scal__netreauth b { color: #fde68a; }
#tgp-ros-root .tgp-ros-scal__netreauth a { flex: none; text-decoration: none !important; }
#tgp-ros-root .tgp-ros-scal__netuse input:disabled + *, #tgp-ros-root .tgp-ros-scal__netuse:has(input:disabled) { opacity: .5; cursor: not-allowed; }
#tgp-ros-root .tgp-ros-connacc__dot.is-lost { background: #fbbf24; box-shadow: 0 0 6px rgba(251, 191, 36, .55); }
#tgp-ros-root .tgp-ros-connacc__row .tgp-ros-connacc__btn + .tgp-ros-connacc__btn { margin-left: 6px; }
#tgp-ros-root button.tgp-ros-captools__btn--quick { width: 30px; padding: 0 !important; justify-content: center; font-size: 14px; font-weight: 800; color: #c084fc; }
#tgp-ros-root .tgp-ros-postcard.is-reauth { border-color: rgba(251, 191, 36, .4); }
#tgp-ros-root .tgp-ros-postcard.is-reauth .tgp-ros-postcard__caption, #tgp-ros-root .tgp-ros-postcard.is-reauth .tgp-ros-captools, #tgp-ros-root .tgp-ros-postcard.is-reauth .tgp-ros-captools__tags, #tgp-ros-root .tgp-ros-postcard.is-reauth .tgp-ros-ttpanel { opacity: .45; pointer-events: none; }
#tgp-ros-root .tgp-ros-postcard .tgp-ros-scal__netreauth { margin: 8px 0 4px; }
#tgp-ros-root .tgp-ros-postcard .tgp-ros-captools { margin-top: 8px; }
#tgp-ros-root .tgp-ros-postcard .tgp-ros-captools__tags { margin-top: 8px; }

/* Video editor: SEER artwork + title templates (2026-09-16) */
#tgp-ros-root .tgp-ros-seertpls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 6px 0 12px; }
#tgp-ros-root button.tgp-ros-seertpl { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 9px !important; border-radius: 12px !important; border: 1.5px solid rgba(255, 255, 255, .1) !important; background: rgba(255, 255, 255, .02) !important; color: inherit !important; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
#tgp-ros-root button.tgp-ros-seertpl:hover { border-color: rgba(168, 85, 247, .45) !important; }
#tgp-ros-root button.tgp-ros-seertpl.is-active { border-color: #a855f7 !important; background: rgba(147, 51, 234, .1) !important; }
#tgp-ros-root button.tgp-ros-seertpl > span { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; font-weight: 700; color: #f4f4f5; }
#tgp-ros-root button.tgp-ros-seertpl > span small { font-size: 11px; font-weight: 500; line-height: 1.35; color: #8b8b93; }
#tgp-ros-root .tgp-ros-seertpl__mini { position: relative; display: block; aspect-ratio: 9 / 16; max-height: 96px; margin: 0 auto; width: 54px; border-radius: 6px; background: linear-gradient(160deg, rgba(168, 85, 247, .35), rgba(34, 211, 238, .18)); overflow: hidden; }
#tgp-ros-root .tgp-ros-seertpl__mini b, #tgp-ros-root .tgp-ros-seertpl__mini u { position: absolute; display: none; }
#tgp-ros-root .tgp-ros-seertpl__mini b { background: rgba(255, 255, 255, .85); border-radius: 3px; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
#tgp-ros-root .tgp-ros-seertpl__mini u { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .9); text-decoration: none; }
#tgp-ros-root .tgp-ros-seertpl__mini--1 b { display: block; left: 22%; top: 24%; width: 56%; aspect-ratio: 1; }
#tgp-ros-root .tgp-ros-seertpl__mini--1 u:first-of-type { display: block; left: 26%; top: 62%; width: 48%; }
#tgp-ros-root .tgp-ros-seertpl__mini--1 u:last-of-type { display: block; left: 34%; top: 69%; width: 32%; height: 2px; opacity: .6; }
#tgp-ros-root .tgp-ros-seertpl__mini--2 b { display: block; left: 10%; bottom: 10%; width: 22%; aspect-ratio: 1; }
#tgp-ros-root .tgp-ros-seertpl__mini--2 u:first-of-type { display: block; left: 38%; bottom: 20%; width: 48%; }
#tgp-ros-root .tgp-ros-seertpl__mini--2 u:last-of-type { display: block; left: 38%; bottom: 13%; width: 30%; height: 2px; opacity: .6; }
#tgp-ros-root .tgp-ros-seertpl__mini--3 u:first-of-type { display: block; left: 16%; top: 44%; width: 68%; height: 5px; }
#tgp-ros-root .tgp-ros-seertpl__mini--3 u:last-of-type { display: block; left: 30%; top: 55%; width: 40%; height: 2px; opacity: .6; }
#tgp-ros-root .tgp-ros-seerlook { display: flex; flex-direction: column; gap: 10px; margin: 0 0 10px; }
#tgp-ros-root .tgp-ros-seerlook[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-seerlook__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#tgp-ros-root .tgp-ros-seerlook__row .tgp-field { width: 100% !important; height: 40px !important; font-size: 13px !important; }
#tgp-ros-root .tgp-ros-seerlook__toggle { margin: 0 0 10px !important; }
#tgp-ros-root .tgp-ros-seerlook__toggle[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-seerlook__toggle .tgp-ros-lyrictoggle__text { font-size: 12.5px; font-weight: 500; color: #c6c6cd; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-seertpls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#tgp-ros-root .tgp-ros-seerlook__row { grid-template-columns: 1fr; }
}

/* Ads: lost Meta connection banner */
#tgp-ros-root .tgp-ros-adnotice--reauth { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 20px; font-weight: 500; line-height: 1.5; }
#tgp-ros-root .tgp-ros-adnotice--reauth > span { flex: 1 1 320px; }
#tgp-ros-root .tgp-ros-adnotice--reauth strong { color: #fecaca; }
#tgp-ros-root .tgp-ros-adnotice--reauth .tgp-ros-btn { flex: none; }

/* TikTok panel: view chips + remembered-settings summary */
#tgp-ros-root .tgp-ros-ttpanel__chips, .tgp-ros-modal .tgp-ros-ttpanel__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
#tgp-ros-root .tgp-ros-ttpanel__chip, .tgp-ros-modal .tgp-ros-ttpanel__chip { appearance: none; border: 1px solid rgba(255,255,255,.14) !important; background: rgba(255,255,255,.03) !important; color: #d4d4d8 !important; border-radius: 999px !important; padding: 8px 16px !important; font-size: 13px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease; }
#tgp-ros-root .tgp-ros-ttpanel__chip:hover, .tgp-ros-modal .tgp-ros-ttpanel__chip:hover { border-color: rgba(168,85,247,.6) !important; color: #fff !important; }
#tgp-ros-root .tgp-ros-ttpanel__chip.is-selected, .tgp-ros-modal .tgp-ros-ttpanel__chip.is-selected { background: rgba(124,58,237,.28) !important; border-color: #a855f7 !important; color: #fff !important; }
#tgp-ros-root .tgp-ros-ttpanel__chip[disabled], .tgp-ros-modal .tgp-ros-ttpanel__chip[disabled] { opacity: .4; cursor: not-allowed; }
#tgp-ros-root .tgp-ros-ttpanel__summary, .tgp-ros-modal .tgp-ros-ttpanel__summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; margin: 0 0 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.03); }
#tgp-ros-root .tgp-ros-ttpanel__summary[hidden], .tgp-ros-modal .tgp-ros-ttpanel__summary[hidden], #tgp-ros-root .tgp-ros-ttpanel__details[hidden], .tgp-ros-modal .tgp-ros-ttpanel__details[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-ttpanel__sumtext, .tgp-ros-modal .tgp-ros-ttpanel__sumtext { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#tgp-ros-root .tgp-ros-ttpanel__sumtext small, .tgp-ros-modal .tgp-ros-ttpanel__sumtext small { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #8b8b95; font-weight: 700; }
#tgp-ros-root .tgp-ros-ttpanel__sumtext b, .tgp-ros-modal .tgp-ros-ttpanel__sumtext b { font-size: 13.5px; font-weight: 600; color: #ececf1; line-height: 1.45; }
#tgp-ros-root .tgp-ros-ttpanel__change, .tgp-ros-modal .tgp-ros-ttpanel__change { appearance: none; flex: none; border: 1px solid rgba(255,255,255,.16) !important; background: transparent !important; color: #c4b5fd !important; border-radius: 999px !important; padding: 7px 14px !important; font-size: 12.5px; font-weight: 600; cursor: pointer; }
#tgp-ros-root .tgp-ros-ttpanel__change:hover, .tgp-ros-modal .tgp-ros-ttpanel__change:hover { border-color: #a855f7 !important; color: #fff !important; }
#tgp-ros-root .tgp-ros-ttpanel__details > .tgp-ros-ttpanel__label { display: block; margin: 0 0 8px; }
#tgp-ros-root .tgp-ros-ttpanel__details .tgp-ros-ttpanel__checks { margin: 0 0 14px; }
#tgp-ros-root .tgp-ros-ttpanel__summary img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
#tgp-ros-root .tgp-ros-ttpanel__summary .tgp-ros-ttpanel__sumtext { flex: 1 1 auto; }
#tgp-ros-root .tgp-ros-ttpanel__sumtext small span { color: #c9c9d2; text-transform: none; letter-spacing: 0; font-size: 12px; }
#tgp-ros-root .tgp-ros-ttpanel__creator[hidden], #tgp-ros-root .tgp-ros-ttpanel__mode[hidden] { display: none !important; }

/* Autopilot: TikTok posting settings */
#tgp-ros-root .tgp-ros-ap__tt { margin: 18px 0 6px; padding: 20px 22px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(255,255,255,.02); }
#tgp-ros-root .tgp-ros-ap__tt[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-ap__tthead span { display: flex; flex-direction: column; gap: 4px; }
#tgp-ros-root .tgp-ros-ap__tthead b { font-size: 14.5px; color: #f4f4f5; }
#tgp-ros-root .tgp-ros-ap__tthead small { font-size: 12.5px; color: #a1a1aa; line-height: 1.5; }
#tgp-ros-root .tgp-ros-ap__tt .tgp-ros-ttpanel { border-top: none; padding-top: 4px; max-width: 620px; }
#tgp-ros-root .tgp-ros-ap__ttfoot { margin-top: 16px; }

/* Social calendar, phones: tap a day → bottom sheet with all your content */
html.tgp-ros-sheetopen { overflow: hidden; }
#tgp-ros-root .tgp-ros-scal__sheet { position: fixed; inset: 0; z-index: 99998; display: flex; align-items: flex-end; justify-content: center; }
#tgp-ros-root .tgp-ros-scal__sheet[hidden] { display: none !important; }
#tgp-ros-root .tgp-ros-scal__sheetback { position: absolute; inset: 0; background: rgba(5, 4, 10, .72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
#tgp-ros-root .tgp-ros-scal__sheetpanel { position: relative; width: 100%; max-width: 560px; max-height: 86vh; max-height: 86dvh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: #15141b; border: 1px solid rgba(255,255,255,.1); border-bottom: none; border-radius: 22px 22px 0 0; padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -18px 50px rgba(0,0,0,.55); animation: tgpRosSheetUp .22s ease-out; }
@keyframes tgpRosSheetUp { from { transform: translateY(28px); opacity: 0; } to { transform: none; opacity: 1; } }
#tgp-ros-root .tgp-ros-scal__sheetgrab { display: block; width: 42px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.2); margin: 0 auto 14px; }
#tgp-ros-root .tgp-ros-scal__sheethead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
#tgp-ros-root .tgp-ros-scal__sheethead span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#tgp-ros-root .tgp-ros-scal__sheethead small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8b8b95; font-weight: 700; }
#tgp-ros-root .tgp-ros-scal__sheethead strong { font-size: 18px; color: #fff; line-height: 1.25; }
#tgp-ros-root .tgp-ros-scal__sheetx { appearance: none; flex: none; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50% !important; border: 1px solid rgba(255,255,255,.12) !important; background: rgba(255,255,255,.04) !important; color: #d4d4d8 !important; padding: 0 !important; cursor: pointer; }
#tgp-ros-root .tgp-ros-scal__sheetnote { margin: 0 0 12px; padding: 10px 13px; border-radius: 10px; background: rgba(124,58,237,.12); border: 1px solid rgba(168,85,247,.28); color: #ddd6fe; font-size: 12.5px; line-height: 1.45; }
#tgp-ros-root .tgp-ros-scal__sheetup { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 16px; margin: 0 0 14px; border: 1px dashed rgba(255,255,255,.2); border-radius: 12px; color: #e4e4e7; font-size: 13.5px; font-weight: 600; cursor: pointer; }
#tgp-ros-root .tgp-ros-scal__sheetgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#tgp-ros-root .tgp-ros-scal__sheettile { appearance: none; display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 8px 8px 12px !important; border-radius: 14px !important; border: 1px solid rgba(255,255,255,.09) !important; background: rgba(255,255,255,.03) !important; color: #f4f4f5 !important; cursor: pointer; min-width: 0; }
#tgp-ros-root .tgp-ros-scal__sheettile:active { border-color: #a855f7 !important; background: rgba(124,58,237,.18) !important; }
#tgp-ros-root .tgp-ros-scal__sheetthumb { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: #0d0c12; }
#tgp-ros-root .tgp-ros-scal__sheetthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tgp-ros-root .tgp-ros-scal__sheetthumb i { position: absolute; left: 8px; bottom: 8px; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(0,0,0,.6); color: #fff; }
#tgp-ros-root .tgp-ros-scal__sheetname { font-size: 13px; font-weight: 600; line-height: 1.3; padding: 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#tgp-ros-root .tgp-ros-scal__sheetkind { font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: #8b8b95; font-weight: 700; padding: 0 4px; }
#tgp-ros-root .tgp-ros-scal__sheetempty { grid-column: 1 / -1; margin: 6px 0 0; color: #a1a1aa; font-size: 13.5px; line-height: 1.5; }
#tgp-ros-root .tgp-ros-scal__dayadd { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 12px; }
#tgp-ros-root .tgp-ros-scal__traynote-mob { display: none; }
@media (max-width: 700px) {
  #tgp-ros-root .tgp-ros-scal__traynote-desk { display: none; }
  #tgp-ros-root .tgp-ros-scal__traynote-mob { display: inline; }
}

/* Phones: modals never scroll sideways and never trigger the iOS focus zoom.
   (iOS Safari zooms the page when a focused field has text under 16px; a fixed,
   zoomed modal then cannot be panned, which reads as "cannot scroll horizontally".) */
@media (max-width: 700px) {
  #tgp-ros-root .tgp-ros-modal__panel { overflow-x: hidden !important; max-width: 100vw !important; box-sizing: border-box; }
  #tgp-ros-root .tgp-ros-modal__panel * { max-width: 100%; box-sizing: border-box; }
  #tgp-ros-root .tgp-ros-modal__panel input[type="text"],
  #tgp-ros-root .tgp-ros-modal__panel input[type="time"],
  #tgp-ros-root .tgp-ros-modal__panel input[type="date"],
  #tgp-ros-root .tgp-ros-modal__panel input[type="number"],
  #tgp-ros-root .tgp-ros-modal__panel input[type="url"],
  #tgp-ros-root .tgp-ros-modal__panel input[type="search"],
  #tgp-ros-root .tgp-ros-modal__panel input:not([type]),
  #tgp-ros-root .tgp-ros-modal__panel textarea,
  #tgp-ros-root .tgp-ros-modal__panel select,
  #tgp-ros-root .tgp-ros-scal__sheetpanel input,
  #tgp-ros-root .tgp-ros-scal__sheetpanel textarea { font-size: 16px !important; }
  /* Footer bleeds to the panel edge using the panel's real phone padding (18px / 22px), not the desktop 26px. */
  #tgp-ros-root .tgp-ros-scal__mpanel .tgp-ros-scal__mfoot { margin: 12px -18px -22px !important; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) !important; max-width: none !important; width: auto; gap: 8px; }
  #tgp-ros-root .tgp-ros-scal__mpanel .tgp-ros-scal__mfoot .tgp-ros-btn { flex: 1 1 auto; min-width: 0; padding-left: 14px !important; padding-right: 14px !important; white-space: nowrap; }
  #tgp-ros-root .tgp-ros-scal__mpanel .tgp-ros-scal__mfoot [data-ros-scal-regen] { flex: 1 1 100%; order: 3; }
  #tgp-ros-root .tgp-ros-scal__timechips { display: flex !important; flex-wrap: wrap; gap: 8px; }
  #tgp-ros-root .tgp-ros-captools__bar, #tgp-ros-root .tgp-ros-captools__tags { flex-wrap: wrap; }
  #tgp-ros-root .tgp-ros-ttpanel__summary { flex-wrap: wrap; }
  #tgp-ros-root .tgp-ros-ttpanel__summary .tgp-ros-ttpanel__sumtext { flex: 1 1 180px; }
  #tgp-ros-root .tgp-ros-ttpanel__legal { overflow-wrap: anywhere; }
}

/* Dashboard hero: a release that just went live */
#tgp-ros-root .tgp-ros-hero__kicker--live, #tgp-ros-root .tgp-ros-hero--live .tgp-ros-hero__kicker { display: inline-flex; align-items: center; gap: 7px; color: #34d399 !important; }
#tgp-ros-root .tgp-ros-hero__livedot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
#tgp-ros-root .tgp-ros-hero--live { background: linear-gradient(135deg, rgba(52, 211, 153, .07), transparent 55%); }
#tgp-ros-root .tgp-pill.is-live { background: rgba(52, 211, 153, .14); color: #6ee7b7; border-color: rgba(52, 211, 153, .35); }
#tgp-ros-root .tgp-ros-hero__stores { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; }
#tgp-ros-root .tgp-ros-hero__store { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 9px; background: rgba(255,255,255,.06); transition: background .15s, transform .15s; }
#tgp-ros-root .tgp-ros-hero__store:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }
#tgp-ros-root .tgp-ros-hero__store img { width: 20px; height: 20px; border-radius: 5px; display: block; }
#tgp-ros-root .tgp-ros-hero__storesnote { font-size: 11.5px; color: #71717a; margin-left: 4px; }
#tgp-ros-root .tgp-ros-hero__share [data-ros-copy].is-done { background: rgba(52, 211, 153, .18) !important; border-color: rgba(52, 211, 153, .5) !important; color: #6ee7b7 !important; }
#tgp-ros-root .tgp-ros-hero__nextbtn { margin-top: 10px; }
#tgp-ros-root .tgp-ros-hero--paired.tgp-ros-hero--live .tgp-ros-hero__countdown { grid-template-columns: auto 1fr; }
#tgp-ros-root .tgp-ros-hero--paired .tgp-ros-hero__nextbtn { grid-column: 2; grid-row: 1 / span 2; justify-self: end; margin-top: 0; }
#tgp-ros-root .tgp-ros-hero--paired .tgp-ros-hero__progress-label { grid-column: 2; grid-row: 1 / span 2; justify-self: end; text-align: right; margin-top: 0; }

/* ── Cover Studio hand-off (studio card + artwork modal link) ── */
#tgp-ros-root .tgp-ros-creator__icon.is-cover { background: linear-gradient(135deg, #b45309, #f59e0b); color: #fff7ed; }
#tgp-ros-root .tgp-ros-artup__studio { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid rgba(245,158,11,.28); border-radius: 16px; background: linear-gradient(135deg, rgba(245,158,11,.10), rgba(168,85,247,.08)); color: inherit; text-decoration: none; transition: border-color .18s ease, transform .18s ease, background .18s ease; }
#tgp-ros-root .tgp-ros-artup__studio:hover { border-color: rgba(245,158,11,.6); background: linear-gradient(135deg, rgba(245,158,11,.16), rgba(168,85,247,.12)); transform: translateY(-1px); text-decoration: none; }
#tgp-ros-root .tgp-ros-artup__studioicon { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, #b45309, #f59e0b); color: #fff7ed; }
#tgp-ros-root .tgp-ros-artup__studiobody { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#tgp-ros-root .tgp-ros-artup__studiobody strong { font-size: 14px; font-weight: 700; color: #fff; }
#tgp-ros-root .tgp-ros-artup__studiobody small { font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.6); }
#tgp-ros-root .tgp-ros-artup__studioarrow { margin-left: auto; font-size: 18px; color: #fbbf24; }

/* ── Feedback: bottom strip + modal ── */
#tgp-ros-root .tgp-ros-fbfoot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 36px 0 8px; padding: 22px 26px; border: 1px dashed rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.02); }
#tgp-ros-root .tgp-ros-fbfoot__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#tgp-ros-root .tgp-ros-fbfoot__text strong { font-size: 14px; font-weight: 700; color: #fff; }
#tgp-ros-root .tgp-ros-fbfoot__text span { font-size: 12.5px; color: rgba(255,255,255,.5); }
#tgp-ros-root .tgp-ros-fbfoot__btn { display: inline-flex !important; align-items: center; gap: 8px; padding: 11px 18px !important; border-radius: 999px !important; border: 1px solid rgba(168,85,247,.45) !important; background: rgba(168,85,247,.10) !important; color: #e9d5ff !important; font-size: 13px !important; font-weight: 650 !important; line-height: 1 !important; cursor: pointer; box-shadow: none !important; transition: background .15s ease, border-color .15s ease; }
#tgp-ros-root .tgp-ros-fbfoot__btn:hover { background: rgba(168,85,247,.2) !important; border-color: rgba(168,85,247,.8) !important; }

#tgp-ros-root .tgp-ros-fbmodal { max-width: 580px; padding: 30px 32px 32px; border-radius: 22px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, #1b1b22 0%, #141419 100%); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
#tgp-ros-root .tgp-ros-fbmodal__x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; display: grid !important; place-items: center; border-radius: 999px !important; border: 0 !important; background: rgba(255,255,255,.05) !important; color: rgba(255,255,255,.6) !important; cursor: pointer; padding: 0 !important; box-shadow: none !important; }
#tgp-ros-root .tgp-ros-fbmodal__x:hover { background: rgba(255,255,255,.1) !important; color: #fff !important; }
#tgp-ros-root .tgp-ros-fbmodal__head { display: flex; align-items: flex-start; gap: 16px; margin: 0 40px 24px 0; }
#tgp-ros-root .tgp-ros-fbmodal__icon { flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #8b5cf6; color: #fff; }
#tgp-ros-root .tgp-ros-fbmodal__head h3 { margin: 4px 0 4px; font-size: 20px; font-weight: 750; letter-spacing: -.01em; color: #fff; }
#tgp-ros-root .tgp-ros-fbmodal__head p { margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.55); }
#tgp-ros-root .tgp-ros-fbmodal__form, .woocommerce #tgp-ros-root .tgp-ros-fbmodal__form { display: grid; gap: 18px; background: transparent !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; margin: 0 !important; }
#tgp-ros-root .tgp-ros-fbmodal__types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
#tgp-ros-root .tgp-ros-fbtype { display: flex !important; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 14px 13px !important; border-radius: 14px !important; border: 1.5px solid rgba(255,255,255,.09) !important; background: rgba(255,255,255,.03) !important; color: inherit !important; text-align: left; cursor: pointer; box-shadow: none !important; line-height: 1.25 !important; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
#tgp-ros-root .tgp-ros-fbtype:hover { border-color: rgba(255,255,255,.2) !important; transform: translateY(-1px); }
#tgp-ros-root .tgp-ros-fbtype.is-selected { border-color: #a855f7 !important; background: rgba(168,85,247,.12) !important; }
#tgp-ros-root .tgp-ros-fbtype strong { font-size: 13px; font-weight: 700; color: #fff; }
#tgp-ros-root .tgp-ros-fbtype small { font-size: 11.5px; color: rgba(255,255,255,.5); }
#tgp-ros-root .tgp-ros-fbtype__icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; margin-bottom: 2px; }
#tgp-ros-root .tgp-ros-fbtype__icon.is-bug { background: rgba(244,63,94,.16); color: #fda4af; }
#tgp-ros-root .tgp-ros-fbtype__icon.is-idea { background: rgba(245,158,11,.16); color: #fcd34d; }
#tgp-ros-root .tgp-ros-fbtype__icon.is-q { background: rgba(14,165,233,.16); color: #7dd3fc; }
#tgp-ros-root .tgp-ros-fbmodal__field { display: grid; gap: 8px; }
#tgp-ros-root .tgp-ros-fbmodal__field > span { font-size: 12.5px; font-weight: 650; color: rgba(255,255,255,.7); }
#tgp-ros-root .tgp-ros-fbmodal__field textarea { width: 100%; min-height: 128px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.1); background: rgba(0,0,0,.28); color: #fff; font: inherit; font-size: 14px; line-height: 1.55; resize: vertical; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
#tgp-ros-root .tgp-ros-fbmodal__field textarea::placeholder { color: rgba(255,255,255,.32); }
#tgp-ros-root .tgp-ros-fbmodal__field textarea:focus { border-color: #a855f7; box-shadow: 0 0 0 4px rgba(168,85,247,.16); }
#tgp-ros-root .tgp-ros-fbmodal__meta { display: flex; flex-wrap: wrap; gap: 8px; }
#tgp-ros-root .tgp-ros-fbmodal__chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.6); font-size: 12px; }
#tgp-ros-root .tgp-ros-fbmodal__chip b { font-weight: 650; color: rgba(255,255,255,.85); }
#tgp-ros-root .tgp-ros-fbmodal__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
#tgp-ros-root .tgp-ros-fbmodal__send { display: inline-flex !important; align-items: center; gap: 9px; padding: 13px 22px !important; border-radius: 999px !important; border: 0 !important; background: #8b5cf6 !important; color: #fff !important; font-size: 14px !important; font-weight: 700 !important; line-height: 1 !important; cursor: pointer; box-shadow: none !important; transition: background .15s ease; }
#tgp-ros-root .tgp-ros-fbmodal__send:hover { background: #9d6cf8 !important; }
#tgp-ros-root .tgp-ros-fbmodal__send[disabled] { opacity: .7; cursor: default; transform: none; }
#tgp-ros-root .tgp-ros-fbmodal__cancel { display: inline-flex !important; align-items: center; padding: 13px 18px !important; border-radius: 999px !important; border: 1px solid rgba(255,255,255,.12) !important; background: transparent !important; color: rgba(255,255,255,.7) !important; font-size: 13.5px !important; font-weight: 600 !important; line-height: 1 !important; cursor: pointer; box-shadow: none !important; }
#tgp-ros-root .tgp-ros-fbmodal__cancel:hover { color: #fff !important; border-color: rgba(255,255,255,.3) !important; }
#tgp-ros-root .tgp-ros-fbmodal__status { font-size: 12.5px; color: #fda4af; }
#tgp-ros-root .tgp-ros-fbmodal__done { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 8px 0 0; }
#tgp-ros-root .tgp-ros-fbmodal__donetick { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: rgba(34,197,94,.16); color: #4ade80; margin-bottom: 6px; }
#tgp-ros-root .tgp-ros-fbmodal__done h4 { margin: 0; font-size: 19px; font-weight: 750; color: #fff; }
#tgp-ros-root .tgp-ros-fbmodal__done p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.55); max-width: 420px; }
@media (max-width: 640px) {
  #tgp-ros-root .tgp-ros-fbfoot { padding: 18px; margin-top: 28px; }
  #tgp-ros-root .tgp-ros-fbfoot__btn { width: 100%; justify-content: center; }
  #tgp-ros-root .tgp-ros-fbmodal { padding: 24px 20px 24px; border-radius: 18px; }
  #tgp-ros-root .tgp-ros-fbmodal__types { grid-template-columns: 1fr; }
  #tgp-ros-root .tgp-ros-fbtype { flex-direction: row; align-items: center; gap: 12px; }
  #tgp-ros-root .tgp-ros-fbtype__icon { margin: 0; flex: 0 0 auto; }
  #tgp-ros-root .tgp-ros-fbtype strong + small { display: none; }
}

/* ── Form action buttons (release details, add gig, trends): same pill as the rest of My Career, not the small 7px theme-looking button ── */
#tgp-ros-root .tgp-ros-form__actions .tgp-btn, #tgp-ros-root .tgp-ros-form__actions .tgp-ros-btn { height: 42px !important; padding: 0 22px !important; border-radius: 999px !important; font-size: 13.5px !important; font-weight: 700 !important; flex: 0 0 auto !important; min-width: 0 !important; }
#tgp-ros-root .tgp-ros-form__actions .tgp-btn--primary, #tgp-ros-root .tgp-ros-form__actions .tgp-ros-btn--primary { background: linear-gradient(135deg, #7c3aed, #a855f7) !important; border: 0 !important; box-shadow: 0 8px 22px rgba(124,58,237,.32) !important; }
#tgp-ros-root .tgp-ros-form__actions .tgp-btn--primary:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
#tgp-ros-root .tgp-ros-form__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }

/* ── Release card templates on phones: one row per template, no flex-on-button (Safari) ── */
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-cardtpls { grid-template-columns: 1fr; gap: 8px; max-height: 360px; }
	#tgp-ros-root button.tgp-ros-cardtpl { display: block !important; height: auto !important; min-height: 0 !important; padding: 8px 10px !important; overflow: hidden; }
	#tgp-ros-root button.tgp-ros-cardtpl .tgp-ros-cardtpl__thumb { float: left; width: 52px; height: 52px; aspect-ratio: auto; margin: 0 12px 0 0; }
	#tgp-ros-root button.tgp-ros-cardtpl strong { display: block; font-size: 13px; padding-top: 4px; }
	#tgp-ros-root button.tgp-ros-cardtpl small { display: block; font-size: 11.5px; line-height: 1.35; }
}

/* ── Two balances in the nav pill, cost labels on creator cards, plan link in quota toasts ── */
#tgp-ros-root .tgp-ros-navcredits__lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tgp-text-faint, #71717a); margin-left: 1px; }
#tgp-ros-root .tgp-ros-navcredits__sep { width: 1px; height: 14px; background: rgba(255,255,255,.14); margin: 0 4px; }
#tgp-ros-root .tgp-ros-navcredits svg + b { margin-left: 1px; }
#tgp-ros-root .tgp-ros-creator { position: relative; }
#tgp-ros-root .tgp-ros-creator__cost { position: absolute; top: 12px; right: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: 10.5px; font-weight: 700; letter-spacing: .02em; color: var(--tgp-text-dim, #a1a1aa); white-space: nowrap; }
#tgp-ros-root .tgp-ros-creator.is-locked .tgp-ros-creator__cost { opacity: .5; }
.tgp-ros-toast__action { display: inline-flex; align-items: center; margin-left: 10px; padding: 6px 12px; border-radius: 999px; background: #8b5cf6; color: #fff !important; font-size: 12px; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
@media (max-width: 640px) {
	#tgp-ros-root .tgp-ros-navcredits__lbl { display: none; }
	#tgp-ros-root .tgp-ros-creator__cost { position: static; align-self: flex-start; margin-top: 6px; }
}

/* ── Nav row: credits + settings gear stay on the tab line (2026-10-07) ──
   The row used to wrap, so a free-plan "Upgrade" label pushed the gear onto
   its own line. Desktop only; phones keep the pinned scroll bar above. */
@media (min-width: 901px) {
	#tgp-ros-root .tgp-ros-subnavrow { flex-wrap: nowrap !important; align-items: center; }
	#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-subnav { flex: 0 1 auto; min-width: 0; }
	#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-navcredits,
	#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-navgear { flex: 0 0 auto; }
	#tgp-ros-root .tgp-ros-subnavrow .tgp-ros-navgear { margin-left: -4px; }
	#tgp-ros-root .tgp-ros-subnav__item,
	#tgp-ros-root .tgp-ros-subnav__grouplabel { padding: 0 13px !important; }
}
@media (min-width: 901px) and (max-width: 1279px) {
	#tgp-ros-root .tgp-ros-subnav__item,
	#tgp-ros-root .tgp-ros-subnav__grouplabel { padding: 0 11px !important; }
}
