/*
 * Claptik interface layer
 * Functional layout is supplied by ttpv.css; this file gives Claptik its own
 * dark, compact visual language without changing the viewer behaviour.
 */

.ttpv-claptik {
  --tt-accent: var(--accent, #ff315b);
  --ct-cyan: #27e6df;
  --ct-cyan-soft: rgba(39, 230, 223, .12);
  --ct-accent-soft: color-mix(in srgb, var(--tt-accent) 15%, transparent);
  --tt-text: #f7f8fb;
  --tt-muted: #9ca6b7;
  --tt-border: #282e3a;
  --tt-soft: #151922;
  --tt-soft-2: #191e28;
  --tt-white: #10141b;
  --tt-success: #69ddb2;
  --tt-success-bg: #10271f;
  --tt-error: #ff9aab;
  --tt-error-bg: #2b151b;
  --tt-radius: 20px;
  --tt-shadow: none;
  width: 100%;
  color: var(--tt-text);
  color-scheme: dark;
}

.ttpv-claptik button,
.ttpv-claptik input,
.ttpv-claptik select { font-family: inherit; }

.ttpv-claptik :where(button, a, input, select):focus-visible {
  outline: 2px solid var(--ct-cyan);
  outline-offset: 2px;
}

/* Search command bar */
.ttpv-claptik .tt-tool-shell {
  position: relative;
  z-index: 30;
  isolation: isolate;
  overflow: visible;
  padding: 9px;
  border: 1px solid #303746;
  border-radius: 22px;
  background: linear-gradient(145deg, #171c25, #0e1218);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .22);
}

.ttpv-claptik .tt-tool-shell::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  z-index: -1;
  height: 58%;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(105deg, var(--ct-cyan), var(--tt-accent));
  opacity: .28;
  filter: blur(20px);
  pointer-events: none;
}

.ttpv-claptik form.tt-form {
  gap: 8px;
  padding: 0;
  border-radius: 15px;
  background: #0c1016;
}

.ttpv-claptik .tt-input-wrap { z-index: 25; }

.ttpv-claptik .tt-search-icon {
  left: 18px;
  width: 19px;
  height: 19px;
  color: var(--ct-cyan);
}

.ttpv-claptik .tt-input {
  height: 58px;
  padding: 0 18px 0 50px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: #0c1016;
  color: var(--tt-text) !important;
  font-size: 15px;
  font-weight: 450;
}

.ttpv-claptik .tt-input::placeholder { color: #7f899b !important; }

.ttpv-claptik .tt-input:hover { border-color: #343b49; }

.ttpv-claptik .tt-input:focus {
  border-color: color-mix(in srgb, var(--ct-cyan) 70%, #fff);
  box-shadow: inset 0 0 0 1px rgba(39, 230, 223, .12);
}

.ttpv-claptik .tt-input:-webkit-autofill {
  -webkit-text-fill-color: var(--tt-text);
  -webkit-box-shadow: 0 0 0 1000px #0c1016 inset;
}

.ttpv-claptik .tt-btn,
.ttpv-claptik .tt-load {
  border: 0;
  background: linear-gradient(120deg, var(--tt-accent), color-mix(in srgb, var(--tt-accent) 76%, #ff784e));
  color: #fff;
  font-weight: 600;
  box-shadow: none;
}

.ttpv-claptik .tt-btn {
  min-width: 164px;
  height: 58px;
  border-radius: 14px;
}

.ttpv-claptik .tt-btn-arrow {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}

.ttpv-claptik .tt-btn:not([disabled]):hover {
  opacity: 1;
  filter: brightness(1.08);
}

.ttpv-claptik .tt-btn[disabled] { opacity: .42; }

.ttpv-claptik .tt-form-note {
  margin: 9px 8px 3px;
  color: #8993a4;
  font-size: 12px;
}

.ttpv-claptik .tt-ts-fly {
  top: 68px;
  border-color: var(--tt-border);
  background: #121720;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .42);
}

/* Search history */
.ttpv-claptik .tt-recent {
  top: calc(100% + 11px);
  border-color: #343b49;
  border-radius: 15px;
  background: #11161e;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .46);
}

.ttpv-claptik .tt-recent-head {
  border-color: var(--tt-border);
  color: var(--tt-muted);
}

.ttpv-claptik .tt-recent-head button { color: var(--ct-cyan); }

.ttpv-claptik .tt-recent-item {
  background: transparent;
  color: #e8ebf2;
}

.ttpv-claptik .tt-recent-item:hover {
  background: #1b212b;
  color: var(--ct-cyan);
}

/* Shared surfaces and status */
.ttpv-claptik .tt-card {
  border-color: var(--tt-border);
  background: #0f131a;
  box-shadow: none;
}

.ttpv-claptik .tt-toast {
  border-radius: 999px;
  color: var(--tt-text);
  backdrop-filter: blur(14px);
}

.ttpv-claptik .tt-toast.ok {
  border-color: #245a47;
  background: rgba(16, 39, 31, .94);
  color: #89e9c6;
}

.ttpv-claptik .tt-toast.err {
  border-color: #67303b;
  background: rgba(43, 21, 27, .96);
  color: #ffadba;
}

/* Profile command center */
.ttpv-claptik #tt-results {
  margin-top: 18px;
  overflow: hidden;
  border-radius: 22px;
  background: #0c1016;
}

.ttpv-claptik .tt-dashboard {
  grid-template-columns: minmax(255px, .82fr) minmax(0, 1.65fr);
  border-color: var(--tt-border);
  background: #11161e;
}

.ttpv-claptik .tt-dashboard .tt-profile {
  position: relative;
  gap: 16px;
  padding: 26px;
  border-color: var(--tt-border);
  background:
    radial-gradient(circle at 20% 8%, var(--ct-cyan-soft), transparent 36%),
    radial-gradient(circle at 95% 92%, var(--ct-accent-soft), transparent 44%),
    #0e131a;
}

.ttpv-claptik .tt-dashboard .tt-avatar-wrap {
  width: 92px;
  height: 92px;
  flex-basis: 92px;
  padding: 3px;
  overflow: visible;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(140deg, var(--ct-cyan), var(--tt-accent));
}

.ttpv-claptik .tt-dashboard .tt-avatar-wrap img {
  border: 3px solid #0e131a;
  border-radius: 21px;
}

.ttpv-claptik .tt-avatar-dl {
  right: -5px;
  bottom: -5px;
  left: auto;
  width: 43px;
  min-height: 24px;
  border: 1px solid #3c4453;
  border-radius: 999px;
  background: #191f29;
  color: var(--ct-cyan);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .35);
}

.ttpv-claptik .tt-profile-label {
  margin-bottom: 7px;
  color: var(--ct-cyan);
  letter-spacing: .1em;
}

.ttpv-claptik .tt-profile h3 {
  color: #fff;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
}

.ttpv-claptik .tt-profile p {
  color: var(--tt-muted);
  font-size: 13px;
}

.ttpv-claptik .tt-dashboard .tt-kpi-grid {
  gap: 9px;
  padding: 18px;
  background: #11161e;
}

.ttpv-claptik .kpi,
.ttpv-claptik .tt-dashboard .kpi {
  min-height: 82px;
  gap: 11px;
  padding: 13px;
  border: 1px solid #282f3b;
  border-radius: 14px;
  background: linear-gradient(145deg, #191e27, #141920);
}

.ttpv-claptik .kpi:hover {
  border-color: #3b4453;
  background: #1a202a;
}

.ttpv-claptik .kpi .ic,
.ttpv-claptik .tt-dashboard .kpi .ic {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid #343c4a;
  border-radius: 11px;
  background: #0e131a;
  color: var(--ct-cyan);
}

.ttpv-claptik .kpi:nth-child(even) .ic { color: color-mix(in srgb, var(--tt-accent) 78%, #fff); }
.ttpv-claptik .kpi .v { color: #fff; font-size: 15px; font-weight: 600; }
.ttpv-claptik .kpi .l { color: #8993a3; font-size: 11px; }

.ttpv-claptik .kpi .badge {
  border-color: #3a4352;
  background: #202631;
  color: var(--ct-cyan);
}

/* Content heading and navigation */
.ttpv-claptik .tt-content-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 22px 12px;
}

.ttpv-claptik .tt-content-head h4 {
  color: #fff;
  font-size: 19px;
  font-weight: 600;
}

.ttpv-claptik .tt-content-head p { color: #7f899b; }

.ttpv-claptik .tt-feed-tabs {
  gap: 7px;
  margin: 0 22px 16px;
  padding: 5px;
  border: 1px solid #252c37;
  border-radius: 14px;
  background: #11161e;
}

.ttpv-claptik .tt-feed-tab {
  min-width: 82px;
  padding: 9px 13px;
  border-radius: 9px;
  color: #8e98a9;
  font-size: 13px;
  font-weight: 500;
}

.ttpv-claptik .tt-feed-tab::after { display: none; }

.ttpv-claptik .tt-feed-tab:hover { color: #eef1f6; }

.ttpv-claptik .tt-feed-tab.active {
  background: linear-gradient(135deg, #252c37, #1d232d);
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--tt-accent);
}

.ttpv-claptik .tt-tabs-arrow { color: #fff; }

.ttpv-claptik .tt-tabs-arrow-left {
  background: linear-gradient(90deg, #0c1016 48%, rgba(12, 16, 22, .72));
}

.ttpv-claptik .tt-tabs-arrow-right {
  background: linear-gradient(270deg, #0c1016 48%, rgba(12, 16, 22, .72));
}

/* Dense media wall */
.ttpv-claptik .tt-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 160px;
  gap: 8px;
  padding: 0 22px 22px;
}

.ttpv-claptik .tt-grid .tt-item {
  border: 1px solid #242b36;
  border-radius: 13px;
  background: #151a22;
  box-shadow: none;
}

.ttpv-claptik .tt-grid .tt-item::after {
  inset: 48% 0 0;
  background: linear-gradient(transparent, rgba(4, 7, 11, .94));
}

.ttpv-claptik .tt-grid .tt-item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--ct-cyan) 45%, #303746);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .3);
}

.ttpv-claptik .tt-grid .tt-item:hover .tt-thumb img { transform: scale(1.035); }

.ttpv-claptik .tt-grid .tt-info {
  bottom: 39px;
  color: #f6f8fb;
  font-weight: 500;
}

.ttpv-claptik .tt-grid .tt-metrics { color: #c4cad4; }

.ttpv-claptik .tt-grid .tt-play {
  top: 13px;
  right: 13px;
  width: 31px;
  height: 31px;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(6, 9, 14, .68);
  color: #fff;
}

.ttpv-claptik .tt-pin-badge,
.ttpv-claptik .tt-repost-badge,
.ttpv-claptik .tt-story-badge {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(8, 11, 16, .76);
  color: #fff;
  backdrop-filter: blur(8px);
}

.ttpv-claptik .tt-repost-badge { color: var(--ct-cyan); }
.ttpv-claptik .tt-story-badge { color: #ff8ca4; }

.ttpv-claptik .tt-auto-loader {
  color: #8993a4;
}

.ttpv-claptik .tt-loader-ring {
  border-color: #303746;
  border-top-color: var(--ct-cyan);
}

.ttpv-claptik .tt-empty-feed {
  border-color: #333b48;
  background: #121720;
  color: var(--tt-muted);
}

/* Followers and following */
.ttpv-claptik .tt-grid.tt-people-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
}

.ttpv-claptik .tt-person-card {
  border-color: #292f3a;
  border-radius: 15px;
  background: linear-gradient(145deg, #171c24, #12171e);
}

.ttpv-claptik .tt-person-card:hover { border-color: #3a4352; }

.ttpv-claptik .tt-person-avatar {
  border: 1px solid #353d4b;
  background: #0d1117;
}

.ttpv-claptik .tt-person-body h4,
.ttpv-claptik .tt-person-bio { color: #f3f5f8; }

.ttpv-claptik .tt-person-handle,
.ttpv-claptik .tt-person-stats { color: var(--tt-muted); }

.ttpv-claptik .tt-verified {
  background: var(--ct-cyan);
  color: #071012;
}

/* Standalone video / slide result */
.ttpv-claptik #tt-video-result {
  margin-top: 18px;
  padding: 14px;
  border-radius: 22px;
}

.ttpv-claptik .tt-vr-wrap {
  min-height: 260px;
  border: 1px solid #242a34;
  border-radius: 16px;
  background: #06080c;
}

.ttpv-claptik #tt-vr-video,
.ttpv-claptik #tt-vr-photo { border-radius: 12px; }

.ttpv-claptik .tt-vr-title { color: #f5f6f9; }

.ttpv-claptik .tt-vr-metrics .tt-mx,
.ttpv-claptik .tt-lb-metrics .tt-mx {
  border-color: #2d3440;
  border-radius: 10px;
  background: #151a22;
  color: #d9dde5;
}

.ttpv-claptik .tt-vr-dl a,
.ttpv-claptik .tt-lb-dl a,
.ttpv-claptik .tt-story-bottom a {
  border-color: #343c49;
  border-radius: 10px;
  background: #1b212b;
  color: #f6f7fa;
}

.ttpv-claptik .tt-vr-dl a:first-child,
.ttpv-claptik .tt-lb-dl a:first-child {
  border-color: transparent;
  background: var(--tt-accent);
  color: #fff;
}

.ttpv-claptik .tt-vr-dl a:hover,
.ttpv-claptik .tt-lb-dl a:hover { filter: brightness(1.12); }

.ttpv-claptik .tt-slide-arrow {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(12, 16, 22, .76);
  color: #fff;
  box-shadow: none;
}

.ttpv-claptik .tt-slide-arrow:hover { background: var(--tt-accent); }

/* Immersive feed viewer */
.ttpv-claptik .tt-lightbox,
.ttpv-claptik .tt-storybox {
  background: rgba(3, 5, 8, .9);
  backdrop-filter: blur(12px);
}

.ttpv-claptik .tt-lb-card {
  width: min(94vw, 1030px);
  border: 1px solid #343b48;
  border-radius: 22px;
  background: #0d1117;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .54);
}

.ttpv-claptik .tt-feed-stage {
  border-radius: 21px 0 0 21px;
  background: #030507;
}

.ttpv-claptik .tt-feed-panel {
  border-left: 1px solid #252b35;
  border-radius: 0 21px 21px 0;
  background: #10151c;
  color: var(--tt-text);
}

.ttpv-claptik .tt-feed-panel .tt-comments-head {
  border-color: #282f39;
  background: #10151c;
}

.ttpv-claptik .tt-stage-info {
  background: linear-gradient(transparent, rgba(2, 4, 7, .94));
}

.ttpv-claptik .tt-stage-info .tt-lb-metrics .tt-mx {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(9, 13, 18, .64);
}

.ttpv-claptik .tt-feed-nav .tt-nav,
.ttpv-claptik .tt-lb-card > .tt-x,
.ttpv-claptik .tt-story-x,
.ttpv-claptik .tt-story-nav {
  border-color: rgba(255, 255, 255, .24);
  background: rgba(11, 15, 21, .72);
  color: #fff;
}

.ttpv-claptik .tt-feed-nav .tt-nav:hover,
.ttpv-claptik .tt-lb-card > .tt-x:hover { background: var(--tt-accent); color: #fff; }

.ttpv-claptik .tt-feed-stage .tt-dots .dot.active,
.ttpv-claptik .tt-dots .dot.active { background: var(--ct-cyan); }

/* Comments and replies */
.ttpv-claptik .tt-comments { border-color: var(--tt-border); }
.ttpv-claptik .tt-comments-head h5,
.ttpv-claptik .tt-comment-top strong,
.ttpv-claptik .tt-comment-body p { color: #f4f6f9; }

.ttpv-claptik .tt-comment-avatar {
  border-color: #343c49;
  background: #161b23;
}

.ttpv-claptik .tt-comments-filter {
  border-color: #343b47;
  background: #171c24;
  color: #e7eaf0;
}

.ttpv-claptik .tt-comments-filter:focus { border-color: var(--ct-cyan); }

.ttpv-claptik .tt-comments-more {
  border-color: #343c49;
  background: #171c24;
  color: var(--ct-cyan);
}

.ttpv-claptik .tt-replies { border-left-color: #313946; }
.ttpv-claptik .tt-replies-toggle,
.ttpv-claptik .tt-replies-more { color: var(--ct-cyan); }

/* Story dialog */
.ttpv-claptik .tt-story-card {
  border-color: #323945;
  background: #0d1117;
}

.ttpv-claptik .tt-story-title { color: #f4f6f9; }

/* Tablet */
@media (max-width: 980px) {
  .ttpv-claptik .tt-dashboard { grid-template-columns: 1fr; }

  .ttpv-claptik .tt-dashboard .tt-profile {
    flex-direction: row;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--tt-border);
  }

  .ttpv-claptik .tt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) and (min-width: 701px) {
  .ttpv-claptik .tt-grid.tt-people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile */
@media (max-width: 700px) {
  .ttpv-claptik .tt-lightbox { background: #030507; }

  .ttpv-claptik .tt-lb-card,
  .ttpv-claptik .tt-feed-stage { border-radius: 0; }

  .ttpv-claptik .tt-lb-card { border: 0; }

  .ttpv-claptik .tt-feed-panel {
    border: 1px solid #333b47;
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
    background: #11161e;
  }

  .ttpv-claptik .tt-feed-panel .tt-comments-head { background: #11161e; }
  .ttpv-claptik .tt-mobile-comments-close { color: #fff; }
}

@media (max-width: 640px) {
  .ttpv-claptik .tt-tool-shell {
    padding: 7px;
    border-radius: 19px;
  }

  .ttpv-claptik form.tt-form {
    grid-template-columns: 1fr;
    gap: 7px;
    background: transparent;
  }

  .ttpv-claptik .tt-input,
  .ttpv-claptik .tt-btn { height: 54px; }

  .ttpv-claptik .tt-input { border-color: #292f3a; background: #0b0f14; }
  .ttpv-claptik .tt-btn { width: 100%; min-width: 0; }
  .ttpv-claptik .tt-form-note { margin: 8px 6px 4px; }

  .ttpv-claptik #tt-results { border-radius: 18px; }

  .ttpv-claptik .tt-dashboard .tt-profile {
    gap: 13px;
    padding: 17px;
  }

  .ttpv-claptik .tt-dashboard .tt-avatar-wrap {
    flex-basis: 74px;
    width: 74px;
    height: 74px;
    border-radius: 20px;
  }

  .ttpv-claptik .tt-dashboard .tt-avatar-wrap img { border-radius: 17px; }
  .ttpv-claptik .tt-profile-label { margin-bottom: 4px; font-size: 9px; }
  .ttpv-claptik .tt-profile h3 { font-size: 17px; }
  .ttpv-claptik .tt-profile p { margin-top: 4px; font-size: 12px; line-height: 1.45; }

  .ttpv-claptik .tt-dashboard .tt-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 11px;
  }

  .ttpv-claptik .kpi,
  .ttpv-claptik .tt-dashboard .kpi {
    min-height: 70px;
    gap: 8px;
    padding: 10px;
    border-radius: 12px;
  }

  .ttpv-claptik .kpi .ic,
  .ttpv-claptik .tt-dashboard .kpi .ic {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
  }

  .ttpv-claptik .kpi .v { font-size: 13px; }
  .ttpv-claptik .kpi .l { font-size: 9px; }

  .ttpv-claptik .tt-content-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 18px 14px 10px;
  }

  .ttpv-claptik .tt-content-head h4 { font-size: 17px; }
  .ttpv-claptik .tt-content-head p { margin: 0; font-size: 11px; }

  .ttpv-claptik .tt-feed-tabs {
    gap: 4px;
    margin: 0 11px 12px;
    padding: 4px;
  }

  .ttpv-claptik .tt-feed-tab {
    min-width: 76px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .ttpv-claptik .tt-grid:not(.tt-people-grid) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    padding: 0 11px 14px;
  }

  .ttpv-claptik .tt-grid:not(.tt-people-grid) .tt-item,
  .ttpv-claptik .tt-grid:not(.tt-people-grid) .tt-item:nth-child(10n + 1),
  .ttpv-claptik .tt-grid:not(.tt-people-grid) .tt-item:nth-child(10n + 7) {
    border: 1px solid #202630;
    border-radius: 6px;
    background: #11161d;
  }

  .ttpv-claptik .tt-grid:not(.tt-people-grid) .tt-metrics {
    right: 5px;
    bottom: 6px;
    left: 5px;
    font-size: 9px;
  }

  .ttpv-claptik .tt-grid.tt-people-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 11px 14px;
  }

  .ttpv-claptik .tt-person-card { padding: 12px; }
  .ttpv-claptik .tt-empty-feed { margin-right: 11px; margin-left: 11px; }
  .ttpv-claptik .tt-auto-loader { margin-right: 11px; margin-left: 11px; }

  .ttpv-claptik #tt-video-result { padding: 9px; }
  .ttpv-claptik .tt-vr-wrap { min-height: 210px; }
}

@media (max-width: 380px) {
  .ttpv-claptik .tt-dashboard .tt-kpi-grid { grid-template-columns: 1fr 1fr; }
  .ttpv-claptik .kpi .ic { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ttpv-claptik .tt-tool-shell::before { filter: none; }
}

/* ========================================================================== 
   V2.7 — Claptik workspace layout
   This block changes the information architecture, not only the theme.
   ========================================================================== */

/* Search is a compact command console with its own header. */
.ttpv-claptik .tt-tool-shell {
  overflow: visible;
  padding: 0;
  border: 1px solid #2a313d;
  border-radius: 16px;
  background: #0d1117;
}

.ttpv-claptik .tt-tool-shell::before { display: none; }

.ttpv-claptik .tt-tool-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
  border-bottom: 1px solid #242b35;
  color: #7f8999;
  font-size: 11px;
  line-height: 1.2;
}

.ttpv-claptik .tt-tool-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dce1e9;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ttpv-claptik .tt-tool-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ct-cyan);
  box-shadow: 0 0 0 4px rgba(39, 230, 223, .1);
}

.ttpv-claptik form.tt-form {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 12px;
  border-radius: 0;
  background: transparent;
}

.ttpv-claptik .tt-input-wrap { flex: 1 1 auto; }

/* Keep the field dark against aggressive WordPress/theme focus rules. */
.ttpv-claptik input.tt-input,
.ttpv-claptik input.tt-input:hover,
.ttpv-claptik input.tt-input:active,
.ttpv-claptik input.tt-input:focus,
.ttpv-claptik input.tt-input:focus-visible {
  height: 52px;
  border: 1px solid #303844 !important;
  border-right: 0 !important;
  border-radius: 11px 0 0 11px !important;
  background: #141922 !important;
  background-color: #141922 !important;
  color: #f7f8fb !important;
  box-shadow: none !important;
  outline: 0 !important;
  -webkit-appearance: none;
  appearance: none;
}

.ttpv-claptik input.tt-input:focus,
.ttpv-claptik input.tt-input:focus-visible {
  border-color: var(--ct-cyan) !important;
  box-shadow: inset 3px 0 0 var(--ct-cyan) !important;
}

.ttpv-claptik input.tt-input:-webkit-autofill,
.ttpv-claptik input.tt-input:-webkit-autofill:hover,
.ttpv-claptik input.tt-input:-webkit-autofill:focus,
.ttpv-claptik input.tt-input:-webkit-autofill:active {
  -webkit-text-fill-color: #f7f8fb !important;
  -webkit-box-shadow: 0 0 0 1000px #141922 inset !important;
  caret-color: #fff !important;
  transition: background-color 9999s ease-out 0s;
}

.ttpv-claptik .tt-btn {
  flex: 0 0 auto;
  min-width: 158px;
  height: 52px;
  border-radius: 0 11px 11px 0;
  background: var(--tt-accent);
}

.ttpv-claptik .tt-btn-arrow {
  width: auto;
  height: auto;
  background: transparent;
}

.ttpv-claptik .tt-form-note {
  margin: 0;
  padding: 0 14px 12px;
}

.ttpv-claptik .tt-recent { top: calc(100% + 6px); }

/* Profile becomes a banner and horizontal analytics strip. */
.ttpv-claptik #tt-results { background: #0d1117; }

.ttpv-claptik .tt-dashboard {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--tt-border);
  background: #0d1117;
}

.ttpv-claptik .tt-profile-cover {
  position: relative;
  height: 64px;
  overflow: hidden;
  border-bottom: 1px solid #2b323e;
  background:
    linear-gradient(110deg, rgba(39, 230, 223, .16), transparent 36%),
    linear-gradient(250deg, color-mix(in srgb, var(--tt-accent) 20%, transparent), transparent 42%),
    #151a22;
}

.ttpv-claptik .tt-profile-cover span {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 24px;
  transform: rotate(32deg);
}

.ttpv-claptik .tt-profile-cover span:nth-child(1) { top: -58px; left: 14%; }
.ttpv-claptik .tt-profile-cover span:nth-child(2) { top: -28px; right: 24%; }
.ttpv-claptik .tt-profile-cover span:nth-child(3) { right: 5%; bottom: -75px; }

.ttpv-claptik .tt-dashboard .tt-profile {
  flex-direction: row;
  align-items: flex-end;
  gap: 18px;
  min-height: 96px;
  margin-top: -38px;
  padding: 0 24px 18px;
  border: 0;
  background: transparent;
}

.ttpv-claptik .tt-dashboard .tt-avatar-wrap {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ct-cyan), var(--tt-accent));
}

.ttpv-claptik .tt-dashboard .tt-avatar-wrap img { border-radius: 50%; }

.ttpv-claptik .tt-avatar-dl {
  right: 1px;
  bottom: 1px;
  width: 38px;
}

.ttpv-claptik .tt-dashboard .tt-profile > div:last-child { padding-bottom: 4px; }

.ttpv-claptik .tt-dashboard .tt-kpi-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border-top: 1px solid #252c36;
  background: #11161d;
}

.ttpv-claptik .tt-dashboard .kpi {
  min-height: 76px;
  gap: 9px;
  padding: 13px 14px;
  border: 0;
  border-right: 1px solid #252c36;
  border-radius: 0;
  background: transparent;
}

.ttpv-claptik .tt-dashboard .kpi:last-child { border-right: 0; }
.ttpv-claptik .tt-dashboard .kpi:hover { background: #171c24; }
.ttpv-claptik .tt-dashboard .kpi .ic { display: none; }
.ttpv-claptik .tt-dashboard .kpi .v { font-size: 16px; }
.ttpv-claptik .tt-dashboard .kpi .l { margin-top: 5px; }

/* Desktop content browser uses a permanent side rail. */
.ttpv-claptik .tt-content-browser {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  min-height: 420px;
}

.ttpv-claptik .tt-feed-tabs-wrap {
  position: relative;
  min-width: 0;
  padding: 21px 13px;
  border-right: 1px solid #252c36;
  background: #10151c;
}

.ttpv-claptik .tt-nav-label {
  display: block;
  margin: 0 10px 10px;
  color: #697386;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ttpv-claptik .tt-feed-tabs {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ttpv-claptik .tt-feed-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 10px 11px;
  border-radius: 9px;
  color: #929bac;
  text-align: left;
}

.ttpv-claptik .tt-tab-dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border: 1px solid #687385;
  border-radius: 50%;
}

.ttpv-claptik .tt-feed-tab.active {
  background: #1c222c;
  color: #fff;
  box-shadow: inset 3px 0 0 var(--tt-accent);
}

.ttpv-claptik .tt-feed-tab.active .tt-tab-dot {
  border-color: var(--ct-cyan);
  background: var(--ct-cyan);
  box-shadow: 0 0 0 3px rgba(39, 230, 223, .1);
}

.ttpv-claptik .tt-feed-content { min-width: 0; }

.ttpv-claptik .tt-content-head {
  align-items: center;
  padding: 20px 20px 14px;
}

.ttpv-claptik .tt-section-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--ct-cyan);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

/* Posts are conventional cards rather than Claptools' image-overlay mosaic. */
.ttpv-claptik .tt-grid,
.ttpv-claptik .tt-grid:not(.tt-people-grid) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-rows: auto;
  gap: 10px;
  padding: 0 20px 20px;
}

.ttpv-claptik .tt-grid .tt-item,
.ttpv-claptik .tt-grid .tt-item:nth-child(10n + 1),
.ttpv-claptik .tt-grid .tt-item:nth-child(10n + 7) {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #292f3a;
  border-radius: 11px;
  background: #151a22;
}

.ttpv-claptik .tt-grid .tt-item::after { display: none; }

.ttpv-claptik .tt-grid .tt-thumb {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
}

.ttpv-claptik .tt-grid .tt-info {
  position: static;
  display: -webkit-box !important;
  min-height: 51px;
  padding: 10px 10px 5px;
  overflow: hidden;
  color: #edf0f5;
  font-size: 11px;
  line-height: 1.4;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ttpv-claptik .tt-grid .tt-metrics {
  position: static;
  display: flex !important;
  margin-top: auto;
  padding: 5px 10px 10px;
  color: #828c9e;
}

.ttpv-claptik .tt-grid .tt-play {
  top: 9px;
  right: 9px;
}

/* Three-column desktop post workspace: details, media, comments. */
.ttpv-claptik .tt-lightbox { padding: 20px; }

.ttpv-claptik .tt-lb-card {
  display: grid;
  grid-template-columns: 225px minmax(330px, 1fr) 290px;
  width: min(97vw, 1240px);
  height: min(90vh, 790px);
  max-height: 790px;
  overflow: hidden;
}

.ttpv-claptik .tt-post-summary {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 22px 17px;
  border-right: 1px solid #272e38;
  background: #10151c;
}

.ttpv-claptik .tt-post-summary .tt-stage-info {
  position: static;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.ttpv-claptik .tt-post-summary .tt-feed-kicker {
  padding-bottom: 12px;
  border-bottom: 1px solid #282f39;
  color: #7f899a;
}

.ttpv-claptik .tt-post-summary .tt-feed-kicker span:first-child { color: var(--ct-cyan); }

.ttpv-claptik .tt-post-summary .tt-lb-title {
  margin: 16px 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.55;
}

.ttpv-claptik .tt-post-summary .tt-lb-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ttpv-claptik .tt-post-summary .tt-lb-metrics .tt-mx {
  justify-content: flex-start;
  min-height: 34px;
  padding: 7px 8px;
}

.ttpv-claptik .tt-post-summary .tt-lb-dl {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
}

.ttpv-claptik .tt-post-summary .tt-lb-dl a { min-height: 38px; }

.ttpv-claptik .tt-feed-stage {
  grid-column: 2;
  border-radius: 0;
}

.ttpv-claptik .tt-feed-panel {
  grid-column: 3;
  border-left: 1px solid #272e38;
  border-radius: 0;
}

.ttpv-claptik .tt-post-summary .tt-feed-nav {
  position: static;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 10px;
  transform: none;
}

.ttpv-claptik .tt-post-summary .tt-feed-nav .tt-nav {
  position: static;
  width: 100%;
  height: 38px;
  border-radius: 9px;
  transform: none;
}

.ttpv-claptik .tt-lb-card > .tt-x {
  top: 10px;
  right: 10px;
  z-index: 20;
}

@media (min-width: 701px) {
  .ttpv-claptik .tt-lb-card > .tt-x {
    top: 10px;
    right: 10px;
    border-color: #343c48;
    background: #1a2029;
  }
}

@media (max-width: 1050px) {
  .ttpv-claptik .tt-dashboard .tt-kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .ttpv-claptik .tt-dashboard .kpi:nth-child(3) { border-right: 0; }
  .ttpv-claptik .tt-dashboard .kpi:nth-child(-n+3) { border-bottom: 1px solid #252c36; }
  .ttpv-claptik .tt-grid:not(.tt-people-grid) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ttpv-claptik .tt-lb-card { grid-template-columns: 205px minmax(280px, 1fr) 260px; }
}

@media (max-width: 800px) {
  .ttpv-claptik .tt-lightbox { padding: 0; }

  .ttpv-claptik .tt-lb-card {
    display: block;
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .ttpv-claptik .tt-feed-stage {
    position: absolute;
    inset: 0;
  }

  .ttpv-claptik .tt-post-summary {
    position: absolute;
    right: 60px;
    bottom: 0;
    left: 0;
    z-index: 6;
    display: block;
    padding: 72px 14px 16px;
    border: 0;
    background: linear-gradient(transparent, rgba(2, 4, 7, .93));
  }

  .ttpv-claptik .tt-post-summary .tt-stage-info { display: block; }
  .ttpv-claptik .tt-post-summary .tt-feed-kicker { padding: 0 0 7px; border: 0; }

  .ttpv-claptik .tt-post-summary .tt-lb-title {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .ttpv-claptik .tt-post-summary .tt-lb-metrics { display: flex; flex-wrap: wrap; }
  .ttpv-claptik .tt-post-summary .tt-lb-metrics .tt-mx { min-height: 0; padding: 4px 6px; }
  .ttpv-claptik .tt-post-summary .tt-lb-dl { display: flex; flex-wrap: wrap; margin-top: 7px; padding: 0; }
  .ttpv-claptik .tt-post-summary .tt-lb-dl a { flex: 1 1 100px; min-height: 34px; }

  .ttpv-claptik .tt-post-summary .tt-feed-nav {
    position: fixed;
    right: 10px;
    bottom: 18px;
    display: grid;
    width: 42px;
  }

  .ttpv-claptik .tt-post-summary .tt-feed-nav .tt-nav { width: 42px; height: 42px; border-radius: 50%; }

  .ttpv-claptik .tt-feed-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 15;
    width: 100%;
    height: min(72vh, 680px);
    padding: 20px 18px;
    border-radius: 18px 18px 0 0;
    transform: translateY(105%);
  }

  .ttpv-claptik .tt-lightbox.comments-open .tt-feed-panel { transform: translateY(0); }
}

@media (max-width: 700px) {
  .ttpv-claptik .tt-content-browser { grid-template-columns: 1fr; }

  .ttpv-claptik .tt-feed-tabs-wrap {
    padding: 10px 8px 0;
    overflow: hidden;
    border-right: 0;
    border-bottom: 1px solid #252c36;
  }

  .ttpv-claptik .tt-nav-label { display: none; }

  .ttpv-claptik .tt-feed-tabs {
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0 2px 10px;
    overflow-x: auto;
  }

  .ttpv-claptik .tt-feed-tab {
    width: auto;
    min-width: 88px;
    padding: 8px 10px;
    justify-content: center;
  }

  .ttpv-claptik .tt-feed-tab.active { box-shadow: inset 0 -2px 0 var(--tt-accent); }
}

@media (max-width: 640px) {
  .ttpv-claptik .tt-tool-topline { padding: 10px 11px; }
  .ttpv-claptik .tt-tool-privacy { display: none; }

  .ttpv-claptik form.tt-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 9px;
  }

  .ttpv-claptik input.tt-input,
  .ttpv-claptik input.tt-input:hover,
  .ttpv-claptik input.tt-input:active,
  .ttpv-claptik input.tt-input:focus,
  .ttpv-claptik input.tt-input:focus-visible {
    border: 1px solid #303844 !important;
    border-radius: 10px !important;
  }

  .ttpv-claptik .tt-btn { width: 100%; border-radius: 10px; }
  .ttpv-claptik .tt-form-note { padding: 0 11px 10px; }

  .ttpv-claptik .tt-profile-cover { height: 52px; }

  .ttpv-claptik .tt-dashboard .tt-profile {
    align-items: center;
    margin-top: -28px;
    padding: 0 14px 14px;
  }

  .ttpv-claptik .tt-dashboard .tt-avatar-wrap {
    flex-basis: 76px;
    width: 76px;
    height: 76px;
  }

  .ttpv-claptik .tt-dashboard .tt-profile > div:last-child { padding-top: 30px; padding-bottom: 0; }
  .ttpv-claptik .tt-dashboard .tt-kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .ttpv-claptik .tt-dashboard .kpi { min-height: 62px; padding: 9px; text-align: center; }
  .ttpv-claptik .tt-dashboard .kpi:nth-child(3n) { border-right: 0; }
  .ttpv-claptik .tt-dashboard .kpi .v { font-size: 13px; }

  .ttpv-claptik .tt-content-head { padding: 16px 11px 10px; }

  .ttpv-claptik .tt-grid:not(.tt-people-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 0 11px 14px;
  }

  .ttpv-claptik .tt-grid:not(.tt-people-grid) .tt-item,
  .ttpv-claptik .tt-grid:not(.tt-people-grid) .tt-item:nth-child(10n + 1),
  .ttpv-claptik .tt-grid:not(.tt-people-grid) .tt-item:nth-child(10n + 7) {
    display: flex;
    aspect-ratio: auto;
    border-radius: 9px;
  }

  .ttpv-claptik .tt-grid:not(.tt-people-grid) .tt-thumb {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .ttpv-claptik .tt-grid:not(.tt-people-grid) .tt-info {
    display: -webkit-box !important;
    min-height: 47px;
    padding: 8px 8px 4px;
    font-size: 10px;
  }

  .ttpv-claptik .tt-grid:not(.tt-people-grid) .tt-metrics {
    position: static;
    padding: 4px 8px 8px;
    color: #8993a5;
  }
}

@media (max-width: 390px) {
  .ttpv-claptik .tt-grid:not(.tt-people-grid) { grid-template-columns: 1fr 1fr; }
}

/* ========================================================================== 
   V2.7.1 — top content tabs and compact desktop viewer
   ========================================================================== */

/* TikTok-style horizontal content navigation. */
.ttpv-claptik .tt-content-browser {
  display: block;
  min-height: 420px;
}

.ttpv-claptik .tt-feed-tabs-wrap {
  position: relative;
  min-width: 0;
  padding: 0 20px;
  overflow: hidden;
  border-right: 0;
  border-bottom: 1px solid #282f39;
  background: #0f141b;
}

.ttpv-claptik .tt-nav-label { display: none; }

.ttpv-claptik .tt-feed-tabs {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  border: 0;
  background: transparent;
  scrollbar-width: none;
}

.ttpv-claptik .tt-feed-tab {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 112px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 0;
  background: transparent;
  color: #858fa1;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  box-shadow: none;
}

.ttpv-claptik .tt-feed-tab:hover { background: #141a22; color: #e8ebf1; }

.ttpv-claptik .tt-feed-tab.active {
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.ttpv-claptik .tt-feed-tab.active::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  display: block;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--ct-cyan), var(--tt-accent));
}

.ttpv-claptik .tt-tab-dot { display: none; }

.ttpv-claptik .tt-tabs-arrow { bottom: 0; height: 52px; }

/* Keep the three functional areas but make the desktop dialog compact. */
@media (min-width: 801px) {
  .ttpv-claptik .tt-lightbox { padding: 18px; }

  .ttpv-claptik .tt-lb-card {
    grid-template-columns: 178px minmax(270px, 1fr) 232px;
    width: min(90vw, 860px);
    height: min(78vh, 570px);
    max-height: 570px;
    border-radius: 16px;
  }

  .ttpv-claptik .tt-post-summary {
    padding: 16px 13px;
  }

  .ttpv-claptik .tt-post-summary .tt-feed-kicker {
    padding-bottom: 9px;
    font-size: 9px;
  }

  .ttpv-claptik .tt-post-summary .tt-lb-title {
    max-height: 82px;
    margin: 11px 0;
    overflow: auto;
    font-size: 11px;
    line-height: 1.45;
  }

  .ttpv-claptik .tt-post-summary .tt-lb-metrics {
    gap: 5px;
  }

  .ttpv-claptik .tt-post-summary .tt-lb-metrics .tt-mx {
    min-height: 30px;
    padding: 5px 6px;
    border-radius: 7px;
    font-size: 9px;
  }

  .ttpv-claptik .tt-post-summary .tt-lb-metrics .tt-mx svg {
    width: 13px;
    height: 13px;
  }

  .ttpv-claptik .tt-post-summary .tt-lb-dl {
    gap: 5px;
    padding-top: 11px;
  }

  .ttpv-claptik .tt-post-summary .tt-lb-dl a {
    min-height: 32px;
    padding: 6px 7px;
    border-radius: 7px;
    font-size: 9px;
  }

  .ttpv-claptik .tt-post-summary .tt-feed-nav {
    gap: 5px;
    margin-top: 7px;
  }

  .ttpv-claptik .tt-post-summary .tt-feed-nav .tt-nav {
    height: 32px;
    border-radius: 7px;
    font-size: 16px;
  }

  .ttpv-claptik .tt-feed-stage {
    border-radius: 0;
  }

  .ttpv-claptik .tt-feed-panel {
    padding: 14px;
    border-radius: 0 15px 15px 0;
  }

  .ttpv-claptik .tt-feed-panel .tt-comments-head {
    top: -14px;
    margin: -14px -14px 11px;
    padding: 13px 42px 10px 14px;
  }

  .ttpv-claptik .tt-comments-head h5 { font-size: 12px; }
  .ttpv-claptik .tt-comments-list { gap: 10px; }
  .ttpv-claptik .tt-comment { grid-template-columns: 29px minmax(0, 1fr); gap: 7px; }
  .ttpv-claptik .tt-comment-avatar { width: 29px; height: 29px; border-radius: 8px; }
  .ttpv-claptik .tt-comment-body p { font-size: 10px; }

  .ttpv-claptik .tt-lb-card > .tt-x {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
}

@media (max-width: 700px) {
  .ttpv-claptik .tt-feed-tabs-wrap { padding: 0 8px; }

  .ttpv-claptik .tt-feed-tabs {
    justify-content: flex-start;
    padding: 0;
  }

  .ttpv-claptik .tt-feed-tab {
    min-width: 88px;
    min-height: 46px;
    padding: 0 12px;
    font-size: 12px;
  }

  .ttpv-claptik .tt-feed-tab.active::after { right: 10px; left: 10px; }
  .ttpv-claptik .tt-tabs-arrow { height: 46px; }
}

/* ========================================================================== 
   V2.7.2 — compact two-column desktop lightbox
   ========================================================================== */

@media (min-width: 801px) {
  .ttpv-claptik .tt-lightbox {
    padding: 16px;
    background: rgba(2, 4, 7, .88);
  }

  .ttpv-claptik .tt-lb-card {
    display: grid;
    grid-template-columns: minmax(310px, 420px) 300px;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(92vw, 720px);
    height: min(82vh, 600px);
    max-height: 600px;
    overflow: hidden;
    border: 1px solid #333b47;
    border-radius: 16px;
    background: #0c1016;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  }

  .ttpv-claptik .tt-feed-stage {
    position: relative;
    grid-column: 1;
    grid-row: 1 / 3;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 15px 0 0 15px;
    background: #06080c;
  }

  .ttpv-claptik #tt-video,
  .ttpv-claptik #tt-photo {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  .ttpv-claptik .tt-post-summary {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    display: block;
    min-width: 0;
    min-height: 0;
    padding: 15px;
    border-right: 0;
    border-bottom: 1px solid #29313c;
    border-left: 1px solid #29313c;
    background: #11161d;
  }

  .ttpv-claptik .tt-post-summary .tt-stage-info {
    position: static;
    display: block;
    padding: 0;
    background: transparent;
  }

  .ttpv-claptik .tt-post-summary .tt-feed-kicker {
    padding: 0 38px 9px 0;
    border-bottom: 1px solid #29313c;
    font-size: 9px;
  }

  .ttpv-claptik .tt-post-summary .tt-lb-title {
    display: -webkit-box;
    max-height: 57px;
    margin: 10px 0;
    overflow: hidden;
    color: #f6f7fa;
    font-size: 11px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .ttpv-claptik .tt-post-summary .tt-lb-title .more {
    color: var(--ct-cyan);
    font-size: 10px;
  }

  .ttpv-claptik .tt-post-summary .tt-lb-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .ttpv-claptik .tt-post-summary .tt-lb-metrics .tt-mx {
    justify-content: center;
    min-width: 0;
    min-height: 29px;
    padding: 5px 4px;
    border: 1px solid #303844;
    border-radius: 7px;
    background: #171c24;
    color: #dfe3ea;
    font-size: 8.5px;
  }

  .ttpv-claptik .tt-post-summary .tt-lb-metrics .tt-mx svg {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
  }

  .ttpv-claptik .tt-post-summary .tt-lb-dl {
    display: flex;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0;
  }

  .ttpv-claptik .tt-post-summary .tt-lb-dl a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 32px;
    padding: 6px 7px;
    border-radius: 7px;
    font-size: 9px;
  }

  .ttpv-claptik .tt-post-summary .tt-feed-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 7px 0 0;
  }

  .ttpv-claptik .tt-post-summary .tt-feed-nav .tt-nav {
    width: 100%;
    height: 30px;
    border-radius: 7px;
    font-size: 15px;
  }

  .ttpv-claptik .tt-feed-panel {
    position: relative;
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    min-height: 0;
    padding: 13px;
    overflow-y: auto;
    border-left: 1px solid #29313c;
    border-radius: 0 0 15px 0;
    background: #0f141b;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #4b5361 transparent;
  }

  .ttpv-claptik .tt-feed-panel .tt-comments {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .ttpv-claptik .tt-feed-panel .tt-comments-head {
    position: sticky;
    top: -13px;
    z-index: 3;
    margin: -13px -13px 11px;
    padding: 12px 13px 10px;
    border-bottom: 1px solid #29313c;
    background: #0f141b;
  }

  .ttpv-claptik .tt-comments-title {
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
  }

  .ttpv-claptik .tt-comments-head h5 { font-size: 12px; }
  .ttpv-claptik .tt-comments-title span { font-size: 9px; }
  .ttpv-claptik .tt-comments-filter { width: 92px; height: 28px; padding-left: 8px; font-size: 9px; }
  .ttpv-claptik .tt-comments-list { gap: 10px; }
  .ttpv-claptik .tt-comment { grid-template-columns: 28px minmax(0, 1fr); gap: 7px; }
  .ttpv-claptik .tt-comment-avatar { width: 28px; height: 28px; border-radius: 50%; }
  .ttpv-claptik .tt-comment-top strong { font-size: 10px; }
  .ttpv-claptik .tt-comment-top span { font-size: 8px; }
  .ttpv-claptik .tt-comment-body p { font-size: 10px; line-height: 1.4; }
  .ttpv-claptik .tt-comment-meta { font-size: 8px; }

  .ttpv-claptik .tt-lb-card > .tt-x {
    top: 10px;
    right: 10px;
    z-index: 30;
    width: 28px;
    height: 28px;
    border-color: #3a4350;
    border-radius: 8px;
    background: #1a2029;
    font-size: 19px;
  }

  .ttpv-claptik .tt-feed-stage .tt-dots { top: 12px; }

  .ttpv-claptik .tt-slide-arrow {
    width: 34px;
    height: 34px;
    font-size: 24px;
  }
}
