/* ============================================================================
   PHUOT 4P — FLAGSHIP EDITORIAL NEWS, SEO ARTICLE & TRUST POLICY SYSTEM
   100% synchronized with var(--vf-blue), --p4p-card-radius & 7 Holiday Modes
   Modern Web Guidance: rem + clamp() type, unitless line-height, 68ch prose,
   text-wrap balance/pretty, native searchable <details> FAQs & TOC.
   ============================================================================ */

.vf-ed-page {
  font-family: var(--p4p-font, "Be Vietnam Pro", "Inter", system-ui, -apple-system, sans-serif);
  background: var(--p4p-hol-page-bg, #F7F9F9);
  color: #1F2125;
  line-height: 1.6;
  text-align: start;
  overflow-x: clip;
}

.vf-ed-wrap {
  width: min(1320px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Breadcrumb */
.vf-ed-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 1.25rem;
}
.vf-ed-crumb a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.16s ease;
}
.vf-ed-crumb a:hover {
  color: var(--vf-blue, #1464F4);
}
.vf-ed-crumb .is-current {
  color: #14171A;
  font-weight: 800;
}

/* ============================================================================
   1. NEWS HUB MASTHEAD (/tin-tuc) — CLEAN MAGAZINE EDITORIAL HERO
   ============================================================================ */
.vf-ed-masthead {
  background: #FFFFFF;
  border-bottom: 1px solid var(--p4p-hol-surface-border, #E5EAF1);
  padding: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem) 0 1.5rem;
}
.vf-ed-mast-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}
.vf-ed-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vf-blue, #1464F4);
  margin-bottom: 0.45rem;
}
.vf-ed-h1 {
  margin: 0;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.65rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #14171A;
  text-wrap: balance;
}
.vf-ed-lead {
  margin: 0.65rem 0 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: #526072;
  max-width: 62ch;
  text-wrap: pretty;
}

/* Search & Category Filter Ribbon */
.vf-ed-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid #F1F5F9;
}
.vf-ed-cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.vf-ed-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-block-size: 2.25rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.16s ease;
}
.vf-ed-cat-pill:hover {
  border-color: var(--vf-blue, #1464F4);
  color: var(--vf-blue, #1464F4);
  background: #FFFFFF;
}
.vf-ed-cat-pill.is-active {
  background: var(--vf-blue, #1464F4);
  border-color: var(--vf-blue, #1464F4);
  color: #FFFFFF;
}
.vf-ed-cat-count {
  font-size: 0.72rem;
  opacity: 0.78;
}

.vf-ed-search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 1 20rem;
  min-width: 14rem;
}
.vf-ed-search-box {
  position: relative;
  flex: 1;
}
.vf-ed-search-box input {
  width: 100%;
  min-block-size: 2.35rem;
  padding: 0.4rem 1rem 0.4rem 2.35rem;
  border-radius: 999px;
  border: 1px solid #DCE3EC;
  background: #F8FAFC;
  color: #14171A;
  font-size: 0.84rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.vf-ed-search-box input:focus {
  border-color: var(--vf-blue, #1464F4);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px var(--vf-blue-tint, rgba(20, 100, 244, 0.1));
}
.vf-ed-search-box i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 0.8rem;
  pointer-events: none;
}

/* ============================================================================
   2. MAGAZINE BENTO HERO (1 Large Feature + 2 Stacked Editorial Cards)
   ============================================================================ */
.vf-ed-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 2.25rem;
}
@media (max-width: 960px) {
  .vf-ed-bento { grid-template-columns: 1fr; }
}

.vf-ed-hero-main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-block-size: 26rem;
  border-radius: var(--p4p-card-radius, 14px);
  overflow: hidden;
  background: #0F141C;
  text-decoration: none;
  box-shadow: 0 20px 44px -26px rgba(15, 23, 42, 0.35);
}
.vf-ed-hero-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.vf-ed-hero-main:hover img {
  transform: scale(1.04);
}
.vf-ed-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 20, 28, 0.08) 0%, rgba(15, 20, 28, 0.45) 45%, rgba(15, 20, 28, 0.92) 100%);
}
.vf-ed-hero-body {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.vf-ed-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.24rem 0.72rem;
  border-radius: 999px;
  background: var(--vf-blue, #1464F4);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vf-ed-hero-main h2 {
  margin: 0;
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.8rem);
  font-weight: 900;
  line-height: 1.24;
  color: #FFFFFF;
  text-wrap: balance;
}
.vf-ed-hero-main p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vf-ed-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748B;
}
.vf-ed-hero-main .vf-ed-meta {
  color: rgba(255, 255, 255, 0.78);
}

.vf-ed-bento-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.vf-ed-side-card {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  background: #FFFFFF;
  border: 1px solid var(--p4p-hol-surface-border, #EAEFF5);
  border-radius: var(--p4p-card-radius, 14px);
  overflow: hidden;
  text-decoration: none;
  flex: 1;
  box-shadow: 0 10px 26px -20px rgba(15, 23, 42, 0.16);
  transition: transform 0.22s ease, border-color 0.2s ease, box-shadow 0.22s ease;
}
.vf-ed-side-card:hover {
  transform: translateY(-3px);
  border-color: var(--vf-blue, #1464F4);
  box-shadow: 0 18px 34px -20px rgba(20, 100, 244, 0.22);
}
@media (max-width: 560px) {
  .vf-ed-side-card { grid-template-columns: 1fr; }
}
.vf-ed-side-thumb {
  position: relative;
  min-block-size: 10.5rem;
  background: #F1F5F9;
  overflow: hidden;
}
.vf-ed-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.vf-ed-side-card:hover .vf-ed-side-thumb img {
  transform: scale(1.06);
}
.vf-ed-side-body {
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.vf-ed-side-body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: #14171A;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.16s ease;
}
.vf-ed-side-card:hover .vf-ed-side-body h3 {
  color: var(--vf-blue, #1464F4);
}

/* ============================================================================
   3. NEWS GRID + STICKY SEO SIDEBAR
   ============================================================================ */
.vf-ed-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  gap: 2rem;
  align-items: start;
  padding-bottom: 4rem;
}
.vf-ed-main-grid > *,
.vf-policy-grid > * {
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 1024px) {
  .vf-ed-main-grid { grid-template-columns: minmax(0, 1fr); }
}

.vf-ed-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .vf-ed-cards { grid-template-columns: 1fr; }
}

.vf-ed-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--p4p-hol-surface-border, #EAEFF5);
  border-radius: var(--p4p-card-radius, 14px);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 24px -18px rgba(15, 23, 42, 0.14);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.24s ease;
}
.vf-ed-card:hover {
  transform: translateY(-4px);
  border-color: var(--vf-blue, #1464F4);
  box-shadow: 0 20px 38px -22px rgba(20, 100, 244, 0.25);
}
.vf-ed-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #F1F5F9;
  overflow: hidden;
}
.vf-ed-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.vf-ed-card:hover .vf-ed-card-img img {
  transform: scale(1.06);
}
.vf-ed-card-cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.22rem 0.68rem;
  border-radius: 999px;
  background: rgba(15, 20, 28, 0.78);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.vf-ed-card-body {
  padding: 1.2rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.vf-ed-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.38;
  color: #14171A;
  text-wrap: balance;
  transition: color 0.16s ease;
}
.vf-ed-card:hover .vf-ed-card-title {
  color: var(--vf-blue, #1464F4);
}
.vf-ed-card-excerpt {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #526072;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: pretty;
}
.vf-ed-card-foot {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748B;
}
.vf-ed-readmore {
  color: var(--vf-blue, #1464F4);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Sticky Sidebar Widgets (Aligned with Global Sticky Header + Safe Clearance above #p4pHolidayDock) */
.vf-ed-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--p4p-header-h, 72px) + 16px);
  padding-bottom: 5rem;
}
.vf-ed-sidebar > * {
  flex-shrink: 0;
}
.vf-ed-widget {
  background: #FFFFFF;
  border: 1px solid var(--p4p-hol-surface-border, #EAEFF5);
  border-radius: var(--p4p-card-radius, 14px);
  padding: 1.25rem;
  box-shadow: 0 10px 26px -22px rgba(15, 23, 42, 0.14);
}
.vf-ed-widget-title {
  margin: 0 0 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #F1F5F9;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #14171A;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.vf-ed-widget-bar {
  width: 4px;
  height: 14px;
  border-radius: 999px;
  background: var(--vf-blue, #1464F4);
}

.vf-ed-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.vf-ed-link-list a {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  text-decoration: none;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.vf-ed-link-list a:hover,
.vf-ed-link-list a.is-active {
  background: var(--vf-blue-tint, rgba(20, 100, 244, 0.08));
  color: var(--vf-blue, #1464F4);
}
.vf-ed-link-list a i {
  margin-top: 0.2rem;
  color: var(--vf-blue, #1464F4);
  font-size: 0.76rem;
  flex-shrink: 0;
}

.vf-ed-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.vf-ed-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.16s ease;
}
.vf-ed-tag:hover {
  background: var(--vf-blue, #1464F4);
  border-color: var(--vf-blue, #1464F4);
  color: #FFFFFF;
}

/* ============================================================================
   4. ARTICLE DETAIL & POLICY PROSE (68ch Optimal Readability + Auto TOC + FAQs)
   ============================================================================ */
.vf-ed-article-shell {
  background: #FFFFFF;
  border: 1px solid var(--p4p-hol-surface-border, #EAEFF5);
  border-radius: var(--p4p-card-radius, 14px);
  padding: clamp(1.35rem, 1rem + 1.8vw, 2.75rem);
  box-shadow: 0 12px 32px -24px rgba(15, 23, 42, 0.14);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.vf-ed-article-h1 {
  margin: 0.65rem 0 0.85rem;
  font-size: clamp(1.55rem, 1.2rem + 1.35vw, 2.3rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: #14171A;
  text-wrap: balance;
}
.vf-ed-article-lead {
  margin: 0 0 1.25rem;
  font-size: 1.04rem;
  line-height: 1.65;
  color: #475569;
  font-weight: 500;
  text-wrap: pretty;
}
.vf-ed-eeat-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #EAEFF5;
  margin-bottom: 1.5rem;
}
.vf-ed-eeat-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.vf-ed-eeat-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--vf-blue, #1464F4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.vf-ed-featured-figure {
  margin: 0 0 1.75rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #EAEFF5;
  background: #F1F5F9;
}
.vf-ed-featured-figure img {
  width: 100%;
  max-height: 29rem;
  object-fit: cover;
  display: block;
}

/* Auto Collapsible SEO Table of Contents (Native <details>) */
.vf-ed-toc {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 3.5px solid var(--vf-blue, #1464F4);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.85rem;
}
.vf-ed-toc summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #14171A;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.vf-ed-toc summary::-webkit-details-marker { display: none; }
.vf-ed-toc-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}
.vf-ed-toc-list a {
  color: #334155;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
  display: inline-block;
  transition: color 0.15s ease;
}
.vf-ed-toc-list a:hover {
  color: var(--vf-blue, #1464F4);
}
.vf-ed-toc-list li.is-h3 {
  padding-left: 1.15rem;
}
.vf-ed-toc-list li.is-h3 a {
  font-weight: 600;
  font-size: 0.84rem;
  color: #64748B;
}

/* Long-Form SEO Prose (Max 68ch, unitless line-height, crisp tables & searchable <details> FAQs) */
.vf-ed-prose {
  font-size: 1rem;
  line-height: 1.78;
  color: #2D3748;
  max-width: min(68ch, 100%);
  width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
}
.vf-ed-prose h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.55vw, 1.55rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #14171A;
  margin: 2.15rem 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #EEF2F6;
  text-wrap: balance;
  scroll-margin-top: 6rem;
}
.vf-ed-prose h3 {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.38;
  color: #1E293B;
  margin: 1.5rem 0 0.6rem;
  text-wrap: balance;
  scroll-margin-top: 6rem;
}
.vf-ed-prose p {
  margin: 0 0 1.1rem;
  text-wrap: pretty;
}
.vf-ed-prose ul,
.vf-ed-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}
.vf-ed-prose ul { list-style-type: disc; }
.vf-ed-prose ol { list-style-type: decimal; }
.vf-ed-prose li {
  margin-bottom: 0.5rem;
  text-wrap: pretty;
}
.vf-ed-prose a {
  color: var(--vf-blue, #1464F4);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vf-ed-prose a:hover {
  color: var(--vf-blue-hover, #0E50CC);
}
.vf-ed-prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3.5px solid var(--vf-blue, #1464F4);
  background: var(--vf-blue-tint, rgba(20, 100, 244, 0.06));
  border-radius: 0 12px 12px 0;
  color: #1E293B;
  text-wrap: pretty;
}
.vf-ed-prose code {
  background: #F1F5F9;
  padding: 0.12rem 0.42rem;
  border-radius: 5px;
  font-size: 0.88em;
  color: #0F172A;
}
.vf-ed-prose .vf-ed-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}
.vf-ed-prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  background: #FFFFFF;
}
.vf-ed-prose thead th {
  background: #F8FAFC;
  color: #14171A;
  font-weight: 800;
  text-align: left;
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid #E2E8F0;
  text-wrap: balance;
}
.vf-ed-prose tbody td {
  padding: 0.78rem 0.95rem;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
  vertical-align: top;
}
.vf-ed-prose tbody tr:last-child td {
  border-bottom: none;
}
.vf-ed-prose tbody tr:nth-child(even) {
  background: #FAFBFD;
}

/* Native Searchable SEO FAQ <details> inside Articles & FAQ page */
.vf-seo-faq {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: clip;
  transition: border-color 0.18s ease, box-shadow 0.2s ease;
}
.vf-seo-faq[open] {
  border-color: var(--vf-blue, #1464F4);
  box-shadow: 0 10px 24px -18px rgba(20, 100, 244, 0.28);
}
.vf-seo-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.15rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: #14171A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.vf-seo-faq summary::-webkit-details-marker { display: none; }
.vf-seo-faq summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--vf-blue, #1464F4);
  line-height: 1;
  flex-shrink: 0;
}
.vf-seo-faq[open] summary::after {
  content: "−";
}
.vf-seo-faq-body {
  padding: 0 1.15rem 1rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #475569;
  border-top: 1px solid #F1F5F9;
  padding-top: 0.85rem;
}

/* Related Real Products Strip inside SEO Article (Internal Link Conversion!) */
.vf-ed-products-box {
  margin-top: 2.25rem;
  padding: 1.4rem;
  border-radius: var(--p4p-card-radius, 14px);
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}
.vf-ed-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}
@media (max-width: 720px) {
  .vf-ed-products-grid {
    grid-template-columns: repeat(var(--p4p-mobile-cols, 3), minmax(0, 1fr));
    gap: 0.5rem;
  }
  .vf-ed-prod-mini { padding: 0.45rem 0.35rem 0.6rem; border-radius: 11px; }
  .vf-ed-prod-mini-img { padding: 0.35rem; margin-bottom: 0.45rem; border-radius: 8px; }
  .vf-ed-prod-mini h4 { font-size: 0.72rem; line-height: 1.32; max-height: calc(3 * 1.32em); }
  .vf-ed-prod-mini strong { font-size: 0.84rem; white-space: nowrap; letter-spacing: -0.025em; }
}
.vf-ed-prod-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid #EAEFF5;
  border-radius: var(--p4p-card-radius, 14px);
  padding: 0.8rem;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.vf-ed-prod-mini:hover {
  border-color: var(--vf-blue, #1464F4);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -18px rgba(15, 23, 42, 0.2);
}
.vf-ed-prod-mini-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #F6F7FA;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  margin-bottom: 0.7rem;
}
.vf-ed-prod-mini-img img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.vf-ed-prod-mini h4 {
  margin: 0 0 0.45rem;
  font-family: var(--p4p-font, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0F172A;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vf-ed-prod-mini strong {
  margin-top: auto;
  font-family: var(--p4p-price-font, "Chakra Petch", "Montserrat", "Plus Jakarta Sans", sans-serif);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--p4p-price-color, #EE4D2D);
  font-variant-numeric: tabular-nums;
}

/* Policy 2-Column Trust Layout */
.vf-policy-grid {
  display: grid;
  grid-template-columns: 18.5rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding: 2.25rem 0 4rem;
}
@media (max-width: 960px) {
  .vf-policy-grid { grid-template-columns: 1fr; }
}

/* Subtle top reading bar on article detail */
#vfReadingBar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--vf-blue, #1464F4);
  z-index: 1200;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ============================================================================
   5. SHARED EDITORIAL COMPONENTS (Popular List, Concierge, Pagination, E-E-A-T)
   ============================================================================ */
.vf-ed-pop-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.vf-ed-pop-item {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  text-decoration: none;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #F1F5F9;
}
.vf-ed-pop-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.vf-ed-pop-thumb {
  width: 4.75rem;
  height: 3.55rem;
  border-radius: 9px;
  overflow: hidden;
  background: #F1F5F9;
  flex-shrink: 0;
}
.vf-ed-pop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.vf-ed-pop-item:hover .vf-ed-pop-thumb img {
  transform: scale(1.06);
}
.vf-ed-pop-title {
  margin: 0 0 0.25rem;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.38;
  color: #14171A;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.16s ease;
}
.vf-ed-pop-item:hover .vf-ed-pop-title {
  color: var(--vf-blue, #1464F4);
}
.vf-ed-pop-meta {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
}

/* Dark Architectural Showroom Concierge Widget */
.vf-ed-concierge {
  background: linear-gradient(155deg, #111827 0%, #0B0F17 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--p4p-card-radius, 14px);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 18px 38px -24px rgba(15, 23, 42, 0.55);
}
.vf-ed-concierge-kicker {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93C5FD;
}
.vf-ed-concierge h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.35;
  color: #FFFFFF;
  text-wrap: balance;
}
.vf-ed-concierge p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}
.vf-ed-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-block-size: 2.65rem;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  background: var(--vf-blue, #1464F4);
  color: #FFFFFF !important;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: filter 0.16s ease, transform 0.16s ease;
}
.vf-ed-btn-primary:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}
.vf-ed-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-block-size: 2.65rem;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF !important;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: background-color 0.16s ease;
}
.vf-ed-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}
.vf-ed-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-block-size: 2.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #DCE3EC;
  color: #1E293B;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.16s ease;
}
.vf-ed-btn-outline:hover {
  border-color: var(--vf-blue, #1464F4);
  color: var(--vf-blue, #1464F4);
}

/* Active Filter Summary Bar & Sort Select */
.vf-ed-sort-select {
  min-block-size: 2.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #DCE3EC;
  background: #FFFFFF;
  color: #14171A;
  font-size: 0.8125rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}
.vf-ed-sort-select:focus {
  border-color: var(--vf-blue, #1464F4);
}
.vf-ed-active-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--p4p-hol-surface-border, #E5EAF1);
  font-size: 0.85rem;
  color: #334155;
}

/* Pagination */
.vf-ed-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 2rem;
}
.vf-ed-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-block-size: 2.4rem;
  padding: 0 0.75rem;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #DCE3EC;
  color: #1E293B;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.16s ease;
}
.vf-ed-page-btn:hover {
  border-color: var(--vf-blue, #1464F4);
  color: var(--vf-blue, #1464F4);
}
.vf-ed-page-btn.is-active {
  background: var(--vf-blue, #1464F4);
  border-color: var(--vf-blue, #1464F4);
  color: #FFFFFF;
}

/* Article Share + Tags + E-E-A-T Showroom Verification Box */
.vf-ed-share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid #EEF2F6;
}
.vf-ed-eeat-box {
  margin-top: 1.75rem;
  padding: 1.35rem 1.45rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
  border: 1px solid #E2E8F0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
}
.vf-ed-eeat-badge {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 12px;
  background: var(--vf-blue, #1464F4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.vf-ed-related-section {
  margin-top: 2.25rem;
}
.vf-ed-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.vf-ed-section-heading h2 {
  margin: 0;
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  font-weight: 900;
  color: #14171A;
  letter-spacing: -0.02em;
}

/* Policy Official Legal Entity Footer Box */
.vf-policy-legal-box {
  margin-top: 2.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 4px solid var(--vf-blue, #1464F4);
}
.vf-policy-legal-box h3 {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #14171A;
}
.vf-policy-legal-box p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #475569;
}

/* Smooth Native <details> Progressive Disclosure (Modern Web Guidance) */
.vf-seo-faq::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}
.vf-seo-faq:not([open])::details-content {
  block-size: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .vf-seo-faq::details-content {
    transition: block-size 0.25s cubic-bezier(0.22, 1, 0.36, 1), content-visibility 0.25s allow-discrete;
  }
}

/* Prevent old floating mobile FAB from colliding with Holiday Dock on editorial pages */
body.vf-ed-page #mobileFab {
  display: none !important;
}

/* ============================================================================
   6. PHƯỢT 4P VIDEO REVIEW STUDIO (/tin-tuc#clip-thuc-te)
   Harmonized 3-Column Layout: 9:16 Stage + Product/Review Spotlight + Playlist
   ============================================================================ */
.vf-ed-cat-pill--clips {
  border-color: rgba(15, 23, 42, 0.24);
  background: #0F172A;
  color: #FFFFFF;
}
.vf-ed-cat-pill--clips:hover {
  background: #FE2C55;
  border-color: #FE2C55;
  color: #FFFFFF;
}

.tt-app-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 1.4rem 0 2rem;
  border-radius: 18px;
  overflow: clip;
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #E2E8F0;
  box-shadow:
    0 22px 50px -28px rgba(15, 23, 42, 0.16),
    0 4px 14px -6px rgba(15, 23, 42, 0.06);
  scroll-margin-top: calc(var(--p4p-header-h, 72px) + 14px);
}

/* 6.1 Top Studio Header Bar */
.tt-studio-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 0.9rem;
  padding: 0.72rem 1.05rem;
  background: linear-gradient(135deg, #0F172A 0%, #111827 100%);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tt-studio-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.tt-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.tt-studio-dot {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 7px;
  background: #FE2C55;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.64rem;
}
.tt-logo-sub {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.16rem 0.45rem;
  border-radius: 5px;
  background: rgba(254, 44, 85, 0.18);
  color: #FDA4AF;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.tt-nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.32rem;
  min-width: 0;
}
.tt-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.36rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  touch-action: manipulation;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tt-nav-btn i {
  font-size: 0.7rem;
  opacity: 0.85;
}
.tt-nav-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}
.tt-nav-btn.is-active {
  background: #FE2C55;
  border-color: #FE2C55;
  color: #FFFFFF;
}
.tt-nav-btn .tt-nav-cnt {
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.06rem 0.38rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}
.tt-nav-btn.is-active .tt-nav-cnt {
  background: rgba(0, 0, 0, 0.25);
}

.tt-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  flex-wrap: wrap;
}
.tt-search-box {
  position: relative;
  width: 175px;
}
.tt-search-box input {
  width: 100%;
  box-sizing: border-box;
  height: 2rem;
  padding: 0 0.72rem 0 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.tt-search-box input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}
.tt-search-box input:focus {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.14);
}
.tt-search-box i {
  position: absolute;
  left: 0.72rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.54);
  pointer-events: none;
}

.tt-glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 2rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF !important;
  font-family: inherit;
  font-size: 0.73rem;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  touch-action: manipulation;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.tt-glass-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
}
.tt-glass-pill.is-muted-hint {
  border-color: rgba(254, 44, 85, 0.65);
}

.tt-upload-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 2rem;
  padding: 0 0.78rem;
  border-radius: 999px;
  background: #FE2C55;
  color: #FFFFFF !important;
  font-size: 0.73rem;
  font-weight: 800;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.16s ease, transform 0.15s ease;
}
.tt-upload-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* 6.2 3-Column Studio Body Grid */
.tt-studio-body {
  position: relative;
  display: grid;
  grid-template-columns: 356px minmax(0, 1fr) 310px;
  height: clamp(450px, 60dvh, 520px);
  background: #F8FAFC;
}
.tt-studio-body > * {
  min-width: 0;
  min-height: 0;
}

/* Left Column: Tight 9:16 Video Theater */
.tt-stage {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 46% 42%, #1E293B 0%, #0B0F17 72%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
}

.tt-floating-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.tt-floating-header > * {
  pointer-events: auto;
}
.tt-top-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-inline: auto;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: rgba(12, 12, 16, 0.5);
  backdrop-filter: blur(8px);
}
.tt-top-tab {
  position: relative;
  padding: 0.24rem 0.15rem 0.42rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}
.tt-top-tab.is-active {
  color: #FFFFFF;
}
.tt-top-tab.is-active::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: #FFFFFF;
}
.tt-top-Utility {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.tt-mobile-only-import {
  display: none;
}

/* Scroll-Snap Track */
.tt-feed-scroller {
  flex: 1;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}
.tt-feed-scroller::-webkit-scrollbar {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .tt-feed-scroller {
    scroll-behavior: smooth;
  }
}

.tt-feed-slide {
  position: relative;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
}
.tt-feed-slide[hidden] {
  display: none !important;
}

.tt-phone-canvas {
  position: relative;
  z-index: 2;
  height: 100%;
  aspect-ratio: 9 / 16;
  max-width: calc(100% - 54px);
  border-radius: 13px;
  overflow: hidden;
  background: #08080A;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  flex-shrink: 0;
}
.tt-phone-canvas video,
.tt-phone-canvas iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
  background: #000000;
}
.tt-bottom-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.56) 100%);
  pointer-events: none;
  z-index: 3;
}

/* Center Tap Play/Pause Indicator */
.tt-center-play-ind {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.82);
  z-index: 6;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  color: rgba(255, 255, 255, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.tt-phone-canvas.is-paused .tt-center-play-ind {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Double-Tap Floating Heart Burst */
.tt-floating-heart {
  position: absolute;
  z-index: 12;
  font-size: 4rem;
  color: #FE2C55;
  filter: drop-shadow(0 6px 18px rgba(254, 44, 85, 0.55));
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0) rotate(-12deg);
  animation: ttDoubleHeart 0.82s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes ttDoubleHeart {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.2) rotate(-14deg); }
  25%  { opacity: 1; transform: translate(-50%, -55%) scale(1.18) rotate(8deg); }
  55%  { opacity: 1; transform: translate(-50%, -75%) scale(1) rotate(-5deg); }
  100% { opacity: 0; transform: translate(-50%, -135%) scale(1.32) rotate(6deg); }
}

/* Keep Floating Theater Bar & Video Overlay Clean in Studio Mode */
.tt-app-shell:not(.is-fullscreen) .tt-floating-header {
  display: none;
}
.tt-top-tab {
  white-space: nowrap;
}
@media (min-width: 861px) {
  .tt-app-shell:not(.is-fullscreen) .tt-caption-stack,
  .tt-app-shell:not(.is-fullscreen) .tt-chevron-rail {
    display: none;
  }
}

/* Overlay Caption Stack (Active on Mobile & Fullscreen Mode) */
.tt-caption-stack {
  position: absolute;
  left: 0.85rem;
  right: 3.85rem;
  bottom: 0.9rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.42rem;
  pointer-events: none;
}
.tt-caption-stack a,
.tt-caption-stack button {
  pointer-events: auto;
}
.tt-shop-anchor {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  padding: 0.28rem 0.6rem 0.28rem 0.36rem;
  border-radius: 8px;
  background: rgba(22, 24, 35, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.tt-shop-bag-ico {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 5px;
  background: linear-gradient(135deg, #FF7A00 0%, #FE2C55 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  flex-shrink: 0;
}
.tt-shop-anchor-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tt-shop-anchor-price {
  color: #FFD166;
  font-weight: 900;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.tt-shop-card-pop {
  display: none;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.97);
  color: #121212;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}
.tt-shop-card-pop.is-open { display: flex; }
.tt-shop-card-pop img {
  width: 44px;
  height: 44px;
  border-radius: 7px;
  object-fit: contain;
  background: #F1F5F9;
  flex-shrink: 0;
}
.tt-shop-buy-btn {
  padding: 0.38rem 0.68rem;
  border-radius: 7px;
  background: #FE2C55;
  color: #FFFFFF !important;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.tt-author-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.tt-author-handle {
  font-size: 0.9rem;
  font-weight: 800;
  color: #FFFFFF !important;
  text-decoration: none !important;
}
.tt-source-chip {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.1rem 0.42rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}
.tt-source-chip.is-fb { background: rgba(24, 119, 242, 0.85); }
.tt-caption-text {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tt-caption-text.is-expanded { display: block; -webkit-line-clamp: unset; }
.tt-caption-more {
  border: 0;
  background: transparent;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}
.tt-music-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 88%;
  font-size: 0.74rem;
  font-weight: 600;
  color: #FFFFFF;
}
.tt-music-Viewport {
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.tt-music-track {
  display: inline-block;
  padding-right: 2.5rem;
}
@media (prefers-reduced-motion: no-preference) {
  .tt-feed-slide.is-active .tt-music-track {
    animation: ttMarquee 11s linear infinite;
  }
}
@keyframes ttMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Bottom Scrubbable Progress Bar */
.tt-scrub-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  z-index: 8;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}
.tt-scrub-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.26);
  transition: height 0.14s ease;
}
.tt-scrub-wrap:hover .tt-scrub-track { height: 6px; }
.tt-scrub-fill {
  height: 100%;
  width: 0%;
  background: #FE2C55;
  position: relative;
}

/* Right Action Rail Beside 9:16 Canvas */
.tt-action-col {
  position: relative;
  z-index: 6;
  width: 44px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.tt-stage-step-pair {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0.1rem;
}
.tt-step-mini-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.tt-step-mini-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.06);
}
.tt-avatar-wrap {
  position: relative;
  margin-bottom: 0.25rem;
}
.tt-avatar-link {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 2px solid #FFFFFF;
  overflow: hidden;
  background: #1E1E24;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.tt-avatar-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tt-follow-plus {
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 0;
  background: #FE2C55;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 900;
  cursor: pointer;
}
.tt-follow-plus.is-followed { background: #FFFFFF; color: #FE2C55; }

.tt-act-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  border: 0;
  background: transparent;
  color: #FFFFFF;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  touch-action: manipulation;
}
.tt-act-circle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background-color 0.16s ease, transform 0.16s ease, color 0.16s ease;
}
.tt-act-btn:hover .tt-act-circle {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.06);
}
.tt-act-btn.is-liked .tt-act-circle,
.tt-act-btn.is-liked .tt-act-circle i {
  color: #FE2C55 !important;
  animation: ttHeartPop 0.34s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.tt-act-btn.is-saved .tt-act-circle,
.tt-act-btn.is-saved .tt-act-circle i {
  color: #FACE15 !important;
  animation: ttHeartPop 0.34s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
@keyframes ttHeartPop {
  0%   { transform: scale(0.8); }
  55%  { transform: scale(1.26); }
  100% { transform: scale(1); }
}
.tt-act-cnt {
  font-size: 0.66rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  font-variant-numeric: tabular-nums;
}

.tt-chevron-rail {
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.tt-chevron-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(38, 38, 42, 0.85);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
}

/* 6.3 Center Column: Active Clip Spotlight & Linked Product Card */
.tt-spotlight-panel {
  padding: 1.15rem 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  background: #FFFFFF;
  border-inline: 1px solid #E2E8F0;
  overflow-y: auto;
  scrollbar-width: thin;
}
.tt-sp-top {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.tt-sp-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}
.tt-sp-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.tt-sp-platform {
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.tt-sp-platform.is-fb {
  background: #1877F2;
}
.tt-sp-cat {
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  background: rgba(254, 44, 85, 0.1);
  color: #E11D48;
  font-size: 0.68rem;
  font-weight: 800;
}
.tt-sp-stats {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  font-variant-numeric: tabular-nums;
}
.tt-sp-author {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: #0F172A;
  font-size: 0.76rem;
  font-weight: 800;
}
.tt-sp-author img {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid #E2E8F0;
}
.tt-sp-title {
  margin: 0.15rem 0 0;
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.2rem);
  font-weight: 900;
  line-height: 1.32;
  color: #0F172A;
  text-wrap: balance;
}
.tt-sp-desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.56;
  color: #475569;
  text-wrap: pretty;
}
.tt-sp-music {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.73rem;
  font-weight: 600;
  color: #64748B;
}
.tt-sp-music i {
  color: #FE2C55;
  font-size: 0.7rem;
}

.tt-linked-prod-card {
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  padding: 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.tt-linked-prod-card.is-hidden {
  display: none;
}
.tt-linked-prod-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0F172A;
}
.tt-linked-prod-kicker i {
  color: #007A3D;
  margin-right: 0.22rem;
}
.tt-linked-prod-kicker small {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: #007A3D;
}
.tt-linked-prod-body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tt-linked-prod-thumb {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tt-linked-prod-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.tt-linked-prod-info {
  min-width: 0;
  flex: 1;
}
.tt-linked-prod-info h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0F172A;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tt-linked-prod-price {
  margin-top: 0.25rem;
  font-family: var(--p4p-price-font, "Chakra Petch", "Montserrat", sans-serif);
  font-size: 1.08rem;
  font-weight: 800;
  color: #DC2626;
  font-variant-numeric: tabular-nums;
}
.tt-linked-prod-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.tt-sp-btn-main {
  flex: 1 1 180px;
  min-block-size: 2.35rem;
  padding: 0.42rem 0.85rem;
  font-size: 0.78rem;
  background: #0F172A !important;
}
.tt-sp-btn-sub {
  min-block-size: 2.35rem;
  padding: 0.42rem 0.85rem;
  font-size: 0.78rem;
}

.tt-qa-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.55rem;
  border-top: 1px solid #F1F5F9;
}
.tt-sp-eng-row {
  display: flex;
  align-items: center;
  gap: 0.38rem;
}
.tt-sp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-block-size: 2rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #334155;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tt-sp-pill:hover {
  border-color: #CBD5E1;
  background: #FFFFFF;
}
.tt-sp-pill.is-liked {
  border-color: rgba(254, 44, 85, 0.35);
  background: rgba(254, 44, 85, 0.08);
  color: #E11D48;
}
.tt-sp-pill.is-saved {
  border-color: rgba(217, 119, 6, 0.4);
  background: rgba(245, 158, 11, 0.1);
  color: #B45309;
}
.tt-sp-comm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-block-size: 2rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #0F172A;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.tt-sp-comm-btn:hover {
  border-color: #0F172A;
}

/* 6.4 Right Column: Full-Height Visual Playlist Deck */
.tt-playlist-rail {
  background: #F8FAFC;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow-y: auto;
  scrollbar-width: thin;
}
.tt-queue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0F172A;
  padding: 0 0.15rem 0.35rem;
  border-bottom: 1px solid #E2E8F0;
}
.tt-queue-head small {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: #64748B;
}
.tt-queue-list {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}
.tt-queue-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.45rem;
  border-radius: 11px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #0F172A;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.tt-queue-item:hover {
  border-color: #CBD5E1;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -14px rgba(15, 23, 42, 0.25);
}
.tt-queue-item.is-current {
  background: #0F172A;
  border-color: #0F172A;
  color: #FFFFFF;
  box-shadow: 0 10px 22px -12px rgba(15, 23, 42, 0.45);
}
.tt-queue-item[hidden] {
  display: none !important;
}
.tt-queue-thumb {
  position: relative;
  width: 46px;
  height: 62px;
  border-radius: 8px;
  overflow: hidden;
  background: #1E293B;
  flex-shrink: 0;
}
.tt-queue-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tt-queue-num {
  position: absolute;
  top: 3px;
  left: 3px;
  padding: 0.08rem 0.3rem;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.82);
  color: #FFFFFF;
  font-size: 0.58rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.tt-queue-item.is-current .tt-queue-num {
  background: #FE2C55;
}
.tt-queue-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.tt-queue-badges {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.64rem;
  font-weight: 700;
  color: #64748B;
}
.tt-queue-item.is-current .tt-queue-badges {
  color: #94A3B8;
}
.tt-q-plat {
  padding: 0.06rem 0.35rem;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.08);
  color: #0F172A;
  font-weight: 800;
}
.tt-q-plat.is-fb {
  background: rgba(24, 119, 242, 0.14);
  color: #1877F2;
}
.tt-queue-item.is-current .tt-q-plat {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}
.tt-queue-title {
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tt-queue-prod {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: #DC2626;
  font-variant-numeric: tabular-nums;
}
.tt-queue-item.is-current .tt-queue-prod {
  color: #FDA4AF;
}

/* 6.5 Slide-In Comments & Q&A Drawer */
.tt-comments-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(350px, 100%);
  background: #181818;
  color: #FFFFFF;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  display: none;
  flex-direction: column;
  z-index: 35;
  box-shadow: -14px 0 36px rgba(0, 0, 0, 0.35);
}
.tt-comments-drawer.is-open {
  display: flex;
}
.tt-comm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
}
.tt-comm-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.tt-comm-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8rem;
  line-height: 1.45;
}
.tt-comm-avt {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #2D2D35;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}
.tt-comm-user {
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.15rem;
}
.tt-comm-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #121212;
}
.tt-comm-form input {
  flex: 1;
  height: 2.3rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #26262B;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.8rem;
  outline: none;
}
.tt-comm-send {
  border: 0;
  background: transparent;
  color: #FE2C55;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0 0.45rem;
  cursor: pointer;
}

/* Fullscreen Theater Mode (100vw x 100dvh Dark TikTok Experience) */
.tt-app-shell.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9990;
  width: 100vw;
  height: 100dvh;
  margin: 0;
  border-radius: 0;
  border: 0;
  background: #000000;
  color: #FFFFFF;
}
.tt-app-shell.is-fullscreen .tt-studio-topbar,
.tt-app-shell.is-fullscreen .tt-spotlight-panel,
.tt-app-shell.is-fullscreen .tt-playlist-rail,
.tt-app-shell.is-fullscreen .tt-stage-step-pair {
  display: none;
}
.tt-app-shell.is-fullscreen .tt-studio-body {
  display: flex;
  flex: 1;
  height: 100%;
  background: #000000;
}
.tt-app-shell.is-fullscreen .tt-stage {
  background: #000000;
}
.tt-app-shell.is-fullscreen .tt-floating-header,
.tt-app-shell.is-fullscreen .tt-caption-stack,
.tt-app-shell.is-fullscreen .tt-chevron-rail {
  display: flex;
}
.tt-app-shell.is-fullscreen .tt-phone-canvas {
  height: calc(100% - 20px);
}
.tt-app-shell.is-fullscreen .tt-bottom-scrim {
  height: 54%;
}

/* Studio Breakpoints: Compact Laptop/Tablet Landscape -> Portrait & Mobile */
@media (max-width: 1180px) {
  .tt-logo-sub {
    display: none;
  }
  .tt-studio-body {
    grid-template-columns: 308px minmax(0, 1fr) 265px;
    height: clamp(455px, 64dvh, 495px);
  }
  .tt-spotlight-panel {
    padding: 0.85rem 1rem;
    gap: 0.55rem;
  }
  .tt-sp-top {
    gap: 0.38rem;
  }
  .tt-linked-prod-card {
    padding: 0.72rem 0.85rem;
    gap: 0.5rem;
  }
  .tt-queue-head small {
    display: none;
  }
}

@media (max-width: 860px) {
  .tt-nav-menu {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .tt-nav-menu::-webkit-scrollbar {
    display: none;
  }
  .tt-mobile-only-import {
    display: inline-flex;
  }
  .tt-floating-header {
    padding: 0.6rem 0.65rem;
  }
  .tt-top-tabs {
    margin-inline: 0;
    gap: 0.65rem;
    padding: 0.16rem 0.65rem;
  }
  .tt-top-tab {
    font-size: 0.8rem;
  }
  .tt-glass-pill span.tt-pill-txt,
  .tt-upload-cta span.tt-pill-txt {
    display: none;
  }
  .tt-search-box {
    flex: 1 1 150px;
    width: auto;
  }
  .tt-studio-body {
    grid-template-columns: 1fr;
    height: auto;
  }
  .tt-stage {
    height: min(74dvh, 540px);
  }
  .tt-stage-step-pair,
  .tt-chevron-rail {
    display: none;
  }
  .tt-feed-slide {
    padding: 0;
    gap: 0;
  }
  .tt-phone-canvas {
    width: 100%;
    height: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    border-radius: 0;
  }
  .tt-bottom-scrim {
    height: 54%;
  }
  .tt-action-col {
    position: absolute;
    right: 0.65rem;
    bottom: 1rem;
    gap: 0.8rem;
  }
  .tt-act-circle {
    background: rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(4px);
    width: 42px;
    height: 42px;
  }
  .tt-spotlight-panel {
    border-inline: 0;
    border-block: 1px solid #E2E8F0;
    overflow: visible;
    padding: 1rem 1rem 1.05rem;
  }
  .tt-playlist-rail {
    overflow: visible;
    padding: 0.85rem 1rem 1rem;
  }
  .tt-queue-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 74%);
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }
  .tt-queue-item {
    scroll-snap-align: start;
  }
  .tt-comments-drawer {
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    height: 68%;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px 16px 0 0;
  }
}

/* Section Bridge Above .vf-ed-bento */
.vf-ed-bento-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.9rem;
}
.vf-ed-bento-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #007A3D;
}
.vf-ed-bento-heading {
  margin: 0;
  font-size: clamp(1.15rem, 1rem + 0.55vw, 1.45rem);
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.02em;
}
.vf-ed-bento-head + .vf-ed-bento {
  margin-top: 0;
}

/* Toast Notification */
.tt-toast {
  position: absolute;
  top: 3.4rem;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  z-index: 40;
  padding: 0.48rem 0.95rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tt-toast.is-shown {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Quick-Import Native <dialog> (Modern Web Guidance compliant) */
dialog.vf-qimport-dialog {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  width: min(540px, calc(100vw - 1.25rem));
  max-height: calc(100dvh - 1.5rem);
  background: #161823;
  color: #FFFFFF;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.78);
}
dialog.vf-qimport-dialog:modal {
  overscroll-behavior: contain;
}
dialog.vf-qimport-dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}
.vf-clip-modal-close {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.16s ease;
}
.vf-clip-modal-close:hover {
  background: #FE2C55;
  border-color: #FE2C55;
}
