/* Studio refresh: shared surfaces, navigation and responsive content hierarchy. */
:root {
  color-scheme: dark;
  --bg-app: #000000;
  --bg-atmosphere: radial-gradient(ellipse 55% 60% at 8% 0%, rgba(35, 116, 220, .20), transparent 72%), radial-gradient(ellipse 45% 52% at 100% 100%, rgba(78, 57, 205, .16), transparent 75%);
  --bg-card: rgba(10, 10, 12, .78);
  --bg-card-hover: #0c0c0c;
  --bg-secondary: #030303;
  --bg-tertiary: #101010;
  --primary: #46cfda;
  --primary-hover: #75e3e9;
  --accent: #77dce3;
  --primary-bg: #46cfda12;
  --primary-glow: transparent;
  --text-main: #edf2f6;
  --text-secondary: #a8b6c4;
  --text-dim: #8394a5;
  --border-color: #292d31;
  --border-hover: #3b4146;
  --glass-border: #292d31;
  --shadow-soft: 0 2px 4px #0000000d;
  --shadow-card: 0 8px 25px #0002;
  --radius-lg: 16px;
}
body { font-size: 14px; background-color: var(--bg-app); background-image: var(--bg-atmosphere); background-attachment: fixed; }
#login-screen { background-color: var(--bg-app); background-image: var(--bg-atmosphere); }
.bg-ambient, #particles-canvas { display: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 20000; background: var(--primary); color: #092028; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sidebar { width: 246px; flex-shrink: 0; padding: 26px 18px 18px; background: rgba(0, 0, 0, .55); border-color: var(--border-color); backdrop-filter: none; }
.logo-container { margin: 0 12px 25px; gap: 10px; }
.logo-icon { width: 35px; height: 35px; border-radius: 11px; box-shadow: none; }
.logo-text { font-size: 21px; letter-spacing: -.7px; background: none; color: #edf2f6; -webkit-text-fill-color: #edf2f6; }
.workspace-label { display: flex; align-items: center; gap: 10px; border: 1px solid #2a3540; border-radius: 11px; padding: 11px; margin-bottom: 25px; font-weight: 600; font-size: 12px; background: #19222c; }
.workspace-label small { display: block; color: var(--text-dim); font-size: 10px; font-weight: 400; margin-top: 2px; }
.workspace-label > i { margin-left: auto; color: #6f8495; font-size: 9px; }
.workspace-avatar { display: grid; place-items: center; width: 31px; height: 31px; background: #d2e7e2; color: #234b48; font-size: 11px; border-radius: 8px; letter-spacing: -1px; }
.nav-links { gap: 20px; overflow-y: auto; flex: 1; min-height: 0; padding: 0 2px 14px; }
.nav-group-label { color: #6d8295; padding: 0 12px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.3px; margin-bottom: 4px; }
.nav-group-label { display: flex; align-items: center; width: 100%; background: none; border: 0; border-radius: 8px; font-family: inherit; text-align: left; cursor: pointer; padding: 6px 12px; margin-bottom: 4px; }
.nav-group-label:hover { color: #9db3c6; background: rgba(255,255,255,0.04); }
.nav-group-label .nav-brand { margin-right: 8px; }
.nav-chevron { margin-left: auto; font-size: 10px; transition: transform .2s; opacity: .7; }
.nav-group.collapsed .nav-chevron { transform: rotate(-90deg); }
.nav-group.collapsed .nav-group-items { display: none; }
.nav-group.collapsed .nav-group-label { margin-bottom: 0; }
.nav-group-label .nav-brand { font-size: 15px; margin-right: 7px; vertical-align: -1px; }
.nav-brand-instagram { background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-brand-youtube { color: #ff0000; }
.nav-brand-facebook { color: #1877f2; }
.nav-item { min-height: 42px; margin: 2px 0; padding: 10px 12px; gap: 12px; border-radius: 8px; color: #a8b4c3; font-size: 12px; font-weight: 500; transition: background 160ms, color 160ms; }
.nav-item i { font-size: 15px; width: 18px; color: #7f92a5; margin: 0; }
.nav-item.active { background: #203638; color: #94ece9; box-shadow: none; }
.nav-item.active i { color: #94ece9; }
.nav-item.active::before { display: none; }
.nav-item:hover { transform: none; background: #202b37; }
.nav-item[data-section="new-post"] i { color: var(--primary); }
.sidebar-footer { display: flex; flex-direction: column; margin-top: 12px; gap: 10px; padding-top: 14px; border-top: 1px solid #25313c; }
.status-badge { background: #080808; border: 0; padding: 12px; margin-bottom: 0; }
.status-badge-title { text-transform: none; letter-spacing: 0; color: #8d9fad; font-size: 10px; }
.status-text { font-size: 10px; font-weight: 600; }
.status-detail { font-size: 10px; }
.sidebar-footer > .btn { justify-content: flex-start; padding: 8px 12px; border-color: transparent !important; font-size: 11px; color: #96a7b5 !important; }
.main-wrapper { min-width: 0; max-width: 1520px; padding: 30px 38px 50px; }
.header { margin-bottom: 28px; align-items: center; gap: 20px; }
.header-left { min-width: 0; }
.page-eyebrow { color: #758b9d; font-size: 9px; font-weight: 600; letter-spacing: 1.7px; margin-bottom: 7px; }
.header-left h1 { font-size: 26px; font-weight: 650; letter-spacing: -.9px; margin-bottom: 7px; }
.header-left p { font-size: 12px; color: #8ea1b2; max-width: 450px; }
.header-right { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.header-right .btn { min-height: 35px; font-size: 11px; padding: 8px 11px; }
#btn-health-check { width: 35px; padding: 8px; border-color: var(--border-color) !important; color: #9fafbd !important; }
.diagnostic-label { display: none; }
.account-badge { padding: 8px 12px; border-radius: 8px; min-height: 35px; font-size: 11px; background: #080808; box-shadow: none; }
.account-badge .status-dot { width: 6px; height: 6px; box-shadow: none !important; }
.btn { border-radius: 8px; gap: 8px; font-weight: 600; font-size: 12px; transition: background 150ms, border-color 150ms; }
.btn:hover { transform: none; }
.btn-primary { color: #06232b; background: #60d4dc; border: 1px solid #60d4dc; box-shadow: none; }
.btn-primary:hover { background: #8be4e8; border-color: #8be4e8; box-shadow: none; }
.btn-primary::before, .btn-primary::after { display: none; }
.btn-ghost { color: #b4c0cb; background: #ffffff03; border-color: #2d3a46; }
.input { border-radius: 9px; background: #000000; border-color: var(--border-color); min-height: 44px; font-size: 13px; }
.input:focus { box-shadow: 0 0 0 3px #60d4dc12; border-color: #60b9c3; }
.label { color: #a4b5c5; font-size: 10px; letter-spacing: .65px; }
.card { background: var(--bg-card); padding: 22px; border-color: var(--border-color); box-shadow: none; }
.card::before, .card::after { display: none; }
.card:hover { transform: none; box-shadow: none; background: var(--bg-card); border-color: #34414e; }
.card-title { font-size: 12px; text-transform: none; letter-spacing: -.1px; font-weight: 600; color: #c6d3df; margin-bottom: 18px; }
.card-title i, .dashboard-grid > .card .card-title i { width: 29px; height: 29px; border: 0; font-size: 13px; border-radius: 8px; background: #ffffff05; }
.card:hover .card-title i { transform: none; }
.dashboard-grid { gap: 16px; }
.dashboard-welcome { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 30px; padding: 30px 34px; min-height: 274px; border: 1px solid var(--border-color); background: rgba(8, 8, 10, .65); border-radius: 18px; margin-bottom: 30px; overflow: hidden; position: relative; }
.welcome-eyebrow { display: flex; align-items: center; gap: 7px; font-size: 9px; letter-spacing: 1.6px; font-weight: 600; color: #94cacb; margin-bottom: 16px; }
.welcome-eyebrow span { height: 5px; width: 5px; border-radius: 50%; background: #8ad6c4; }
.welcome-copy h2 { color: #edf6f4; font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; letter-spacing: -1.3px; line-height: 1.15; margin-bottom: 14px; }
.welcome-copy p { font-size: 12px; color: #a1b6bc; line-height: 1.7; }
.welcome-actions { display: flex; align-items: center; gap: 22px; margin-top: 23px; flex-wrap: wrap; }
.welcome-actions .btn { padding: 11px 16px; font-size: 11px; }
.welcome-calendar { background: none; border: 0; cursor: pointer; color: #c0d6d9; font-size: 11px; }
.welcome-calendar i { margin-left: 7px; font-size: 10px; }
.welcome-planner { background: #000000; border: 1px solid var(--border-color); border-radius: 14px; padding: 22px; position: relative; box-shadow: 12px 12px 0 -1px #080808, 12px 12px 0 0 #252525; transform: rotate(-2deg); }
.planner-topline { display: flex; justify-content: space-between; color: #a7bfc7; font-size: 10px; }
.planner-topline i { margin-right: 5px; }
.planner-count { display: flex; align-items: center; gap: 16px; margin: 22px 0; }
.planner-count strong { font-size: 44px; line-height: 1; letter-spacing: -2px; font-weight: 600; color: #c7e8df; }
.planner-count > span { font-size: 11px; line-height: 1.7; color: #a2b9c2; }
.planner-rule { height: 1px; background: #2c444e; margin: 18px 0; }
.planner-next { display: flex; gap: 10px; align-items: center; }
.planner-next-icon { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid #3b565e; border-radius: 8px; color: #9cddcc; }
.planner-next small { display: block; font-size: 8px; letter-spacing: 1px; color: #819ba7; }
#welcome-next-time { font-size: 10px; color: #d3e4e8; display: block; margin-top: 2px; }
.planner-next > i { margin-left: auto; color: #91b3bf; font-size: 10px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; }
.section-heading h2 { font-size: 14px; letter-spacing: -.3px; font-weight: 600; }
.section-heading > span { color: #7e93a5; font-size: 10px; }
#section-dashboard > .dashboard-grid:first-of-type { gap: 16px; }
.stat-value { font-size: 33px; font-weight: 600; line-height: 1.1; margin: 8px 0; letter-spacing: -1.3px; }
.stat-desc { font-size: 10px; line-height: 1.7; }
.progress-bar { height: 3px; background: #273440; margin-top: 16px; }
.progress-fill { box-shadow: none; background: #63bec9; }
.dashboard-grid-activity { grid-template-columns: minmax(0, 1.7fr) minmax(255px, 1fr); margin-top: 20px; }
.activity-item { padding: 12px 0; gap: 12px; border-bottom: 1px solid #263440; border-radius: 0; }
.activity-item:last-child { border-bottom: 0; }
.activity-item:hover { background: transparent; transform: none; }
.activity-thumb { width: 42px; height: 48px; border-radius: 7px; object-fit: cover; flex-shrink: 0; }
.activity-status { padding: 4px 8px; border-radius: 6px; font-size: 9px; font-weight: 500; white-space: nowrap; }
.activity-item > div > div:first-child { font-size: 11px !important; font-weight: 500 !important; }
.activity-item > div > div:nth-child(2) { font-size: 9px !important; margin-top: 5px !important; }
.weekly-count { display: flex; align-items: center; gap: 14px; margin: 25px 0 17px; }
.weekly-count strong { font-size: 51px; font-weight: 500; line-height: 1; letter-spacing: -2px; color: #d3e6e5; }
.weekly-count span { color: #9aadb9; font-size: 11px; }
.weekly-note { color: #7f94a5; font-size: 11px; margin-bottom: 30px; max-width: 220px; }
.weekly-next-label { border-top: 1px solid #2b3742; padding-top: 20px; margin-bottom: 9px; font-size: 8px; letter-spacing: 1.3px; color: #78919f; }
.focus-action { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 0; background: none; border: 0; border-bottom: 1px solid #22313e; cursor: pointer; color: #b2c4ce; font-size: 11px; text-align: left; }
.focus-action:last-child { border: 0; }
.focus-action > span > i { color: #7fb7c3; margin-right: 10px; }
.focus-action > i { font-size: 10px; color: #6f8a9e; }
.focus-action:hover { color: var(--primary); }
.dashboard-grid-charts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.chart-bar, .spark-bar { background: #4fa4af; box-shadow: none; border-radius: 4px 4px 0 0; }
.settings-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.settings-grid > .card { min-width: 0; }
#accounts-list > div { background: #0a0a0a !important; border-color: var(--border-color) !important; padding: 14px !important; margin-bottom: 10px !important; border-radius: 10px !important; }
#accounts-list span { overflow-wrap: anywhere; }
.cal-day { min-width: 0; border-radius: 9px; }
.cal-grid, .cal-header { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-day-count { display: none; }
.login-card { border-color: var(--border-color); border-radius: 20px; background: var(--bg-card); box-shadow: 0 25px 100px #0004; max-width: 420px; }
.login-title { background: none; color: #ecf5f6; -webkit-text-fill-color: #ecf5f6; }
.mobile-menu, .nav-backdrop { display: none; }
@media (min-width: 1100px) {
  .dashboard-grid.dashboard-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 981px) and (max-height: 820px) {
  .sidebar { padding-top: 20px; padding-bottom: 12px; }
  .logo-container { margin-bottom: 20px; }
  .workspace-label { display: none; }
  .nav-links { gap: 12px; padding-bottom: 0; }
  .nav-group-label { margin-bottom: 5px; }
  .nav-item { min-height: 36px; padding-top: 7px; padding-bottom: 7px; }
  .sidebar-footer { padding-top: 10px; margin-top: 8px; gap: 6px; }
  .status-badge { padding: 9px 12px; }
}
@media (min-width: 981px) and (max-width: 1250px) {
  .sidebar { width: 220px; padding-left: 12px; padding-right: 12px; }
  .main-wrapper { padding: 26px; }
  .header { flex-wrap: wrap; }
  .header-right { justify-content: flex-start; }
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid-activity { grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr); }
  .dashboard-grid-charts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  body { display: block; }
  .sidebar { position: fixed; top: 0; left: 0; bottom: 0; height: 100dvh; width: 252px; flex-direction: column; align-items: stretch; padding: 25px 18px; z-index: 11001; visibility: hidden; transform: translateX(-100%); transition: transform 180ms, visibility 180ms; border-right: 1px solid var(--border-color); border-top: 0; background: #000000; }
  .nav-open .sidebar { visibility: visible; transform: translateX(0); }
  .sidebar .logo-container { display: flex; margin: 0 12px 25px; }
  .sidebar .logo-text, .sidebar .nav-item span, .sidebar .status-badge { display: block; }
  .sidebar .nav-item { justify-content: flex-start; padding: 10px 12px; }
  .sidebar .nav-item i { font-size: 15px; margin: 0; }
  .sidebar .nav-links { flex-direction: column; justify-content: flex-start; }
  .sidebar .sidebar-footer { display: flex; }
  .sidebar-footer .btn { width: 100% !important; }
  .mobile-menu { display: inline-flex; flex-shrink: 0; width: 36px; height: 36px; padding: 8px; }
  .nav-open { overflow: hidden; }
  .nav-open .nav-backdrop { display: block; position: fixed; inset: 0; background: #020811bb; z-index: 11000; border: 0; backdrop-filter: blur(3px); }
  .main-wrapper { padding: 25px 24px 55px; max-width: none; }
  .header { flex-direction: row; flex-wrap: wrap; gap: 12px; align-items: center; }
  .header-left { flex: 1; }
  .header-right { width: 100%; justify-content: flex-start; padding-left: 48px; }
  .header-right .btn { flex: none; }
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid-activity, .dashboard-grid-new-post, .settings-grid { grid-template-columns: minmax(0, 1fr); }
  .dashboard-grid-charts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weekly-focus { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .weekly-focus .card-title { grid-column: 1 / -1; }
  .weekly-count { grid-row: 2 / 4; margin: 10px 0 20px; }
  .weekly-note { grid-column: 1; }
  .weekly-next-label { grid-column: 2; grid-row: 2; padding-top: 0; border: 0; }
  .focus-action { grid-column: 2; }
  #section-bulk-reels > .dashboard-grid, #section-bulk-carousel > .dashboard-grid, #section-stories-loop > .dashboard-grid { grid-template-columns: minmax(0, 1fr) !important; }
  #section-analytics > .dashboard-grid[style] { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 620px) {
  .main-wrapper { padding: 20px 16px 60px; }
  .header { margin-bottom: 22px; }
  .header-left h1 { font-size: 23px; }
  .header-left p { font-size: 11px; }
  .header-right { padding-left: 0; flex-direction: row; }
  .header-right .account-badge { margin-left: auto; width: auto; max-width: 60%; overflow: hidden; }
  .header-right .btn { width: auto; }
  .header-right #btn-health-check { width: 35px; }
  .dashboard-welcome { grid-template-columns: 1fr; gap: 24px; padding: 25px; }
  .welcome-copy h2 { font-size: 33px; }
  .welcome-planner { transform: none; padding: 17px; box-shadow: none; }
  .planner-count { margin: 16px 0; }
  .planner-count strong { font-size: 35px; }
  .desktop-break { display: none; }
  .section-heading > span { display: none; }
  .section-heading h2 { font-size: 14px; }
  .dashboard-grid { gap: 12px; }
  .dashboard-grid > .card { min-width: 0; padding: 15px; }
  .dashboard-grid > .card .card-title { font-size: 10px; gap: 7px; align-items: flex-start; }
  .dashboard-grid > .card .card-title i { width: 22px; height: 22px; font-size: 11px; flex-shrink: 0; }
  .stat-value { font-size: 29px; }
  .stat-desc { font-size: 9px; }
  .dashboard-grid-charts, .col-2 { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 18px; }
  .weekly-focus { display: block; }
  .weekly-note { max-width: none; margin-bottom: 22px; }
  .weekly-next-label { border-top: 1px solid #2b3742; padding-top: 18px; }
  .activity-thumb { width: 32px; height: 40px; }
  .activity-item { gap: 9px; }
  .activity-status { font-size: 8px; padding: 4px 6px; }
  #scheduled-posts-container, #captions-list-container, #hashtags-list-container { grid-template-columns: minmax(0, 1fr) !important; }
  .cal-grid, .cal-header { gap: 3px; }
  .cal-day { padding: 5px; min-height: 65px; }
  .cal-day.has-posts { flex-direction: column; gap: 3px; }
  .cal-day-thumbs { display: none; }
  .cal-day-count { display: block; border-radius: 4px; padding: 0 5px; background: #28464c; color: #9de4de; font-size: 9px; line-height: 16px; }
  #cal-month-label { min-width: 114px !important; font-size: 12px !important; }
  #account-filter-tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 5px; }
  #account-filter-tabs .btn { flex-shrink: 0; white-space: nowrap; }
  .modal-content { max-width: calc(100vw - 24px); padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .sidebar { transition: none; }
}

/* ===================== MULTIPLICADOR DE VÍDEOS ===================== */
.mult-counter-box {
  flex: 1;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}
.mult-result-box {
  background: rgba(70,207,218,.08);
  border-color: rgba(70,207,218,.3);
  color: var(--accent);
}
.mult-clip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.mult-clip-thumb {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-color);
  cursor: pointer;
}
.mult-clip-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.mult-clip-thumb .mult-thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,.65);
  font-size: 0.6rem;
  color: #fff;
  padding: 3px 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mult-clip-thumb .mult-thumb-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(220,50,50,.85);
  color: #fff;
  border: none;
  font-size: 0.55rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .15s;
}
.mult-clip-thumb:hover .mult-thumb-remove { opacity: 1; }
.mult-clip-thumb.uploading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(70,207,218,.18);
  animation: mult-pulse 1s ease-in-out infinite alternate;
}
@keyframes mult-pulse { from { opacity:.4 } to { opacity:1 } }

.mult-combo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: border-color .15s;
}
.mult-combo-row:hover { border-color: var(--border-hover); }
.mult-combo-index {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dim);
  width: 22px;
  flex-shrink: 0;
  text-align: center;
}
.mult-combo-chips {
  display: flex;
  gap: 5px;
  flex: 1;
  flex-wrap: wrap;
}
.mult-chip {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 600;
}
.mult-chip-g { background: rgba(70,207,218,.15); color: var(--accent); }
.mult-chip-c { background: rgba(168,85,247,.15); color: #c084fc; }
.mult-chip-cta { background: rgba(251,191,36,.15); color: #fbbf24; }

.mult-badge {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.mult-badge-original  { background: rgba(16,185,129,.18); color: #34d399; border: 1px solid rgba(52,211,153,.25); }
.mult-badge-medium    { background: rgba(251,191,36,.12); color: #fbbf24; border: 1px solid rgba(251,191,36,.25); }
.mult-badge-similar   { background: rgba(239,68,68,.10);  color: #f87171; border: 1px solid rgba(248,113,113,.2); }

.mult-combo-actions { display: flex; gap: 6px; flex-shrink: 0; }
.mult-combo-actions a, .mult-combo-actions button {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
}
/* ===================== FIM MULTIPLICADOR =========================== */


/* ── Prévia real: mostra o post como vai ficar na rede ── */
.card code { word-break: break-all; }
.rp-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.rp-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.rp { width: 100%; max-width: 330px; color: #fff; font-size: 13px; line-height: 1.4; }
.rp-avatar { width: 32px; height: 32px; border-radius: 50%; background: #3a4655 center / cover; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; overflow: hidden; }
.rp-phone { position: relative; aspect-ratio: 9 / 16; background: #000; border-radius: 24px; overflow: hidden; border: 6px solid #202b38; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.rp-phone video, .rp-phone img.rp-media { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-badge { position: absolute; top: 12px; left: 14px; font-weight: 800; font-size: 15px; text-shadow: 0 1px 4px rgba(0,0,0,.6); z-index: 2; pointer-events: none; }
.rp-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 58px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.78)); z-index: 2; pointer-events: none; }
.rp-overlay .rp-user { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 6px; }
.rp-overlay .rp-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.rp-rail { position: absolute; right: 10px; bottom: 70px; display: flex; flex-direction: column; align-items: center; gap: 16px; font-size: 21px; z-index: 2; pointer-events: none; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.rp-rail small { display: block; font-size: 10px; font-weight: 600; text-align: center; }
.rp-card { background: #17212c; border: 1px solid var(--border-color); border-radius: 14px; overflow: hidden; }
.rp-card-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.rp-card-head b { display: block; font-size: 13px; }
.rp-card-head small { color: #9aa7b6; font-size: 11px; }
.rp-card-text { padding: 2px 12px 10px; word-break: break-word; white-space: pre-wrap; }
.rp-card-media { background: #000; display: block; width: 100%; }
.rp-card-media video, .rp-card-media img { width: 100%; display: block; max-height: 460px; object-fit: contain; background: #000; }
.rp-card-media.rp-feed45 { aspect-ratio: 4 / 5; }
.rp-card-media.rp-feed45 video, .rp-card-media.rp-feed45 img { height: 100%; object-fit: cover; max-height: none; }
.rp-card-foot { display: flex; justify-content: space-around; padding: 9px 6px; border-top: 1px solid var(--border-color); color: #9aa7b6; font-size: 12px; font-weight: 600; }
.rp-card-actions { display: flex; gap: 14px; padding: 10px 12px 4px; font-size: 20px; }
.rp-yt-player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.rp-yt-player video, .rp-yt-player img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rp-yt-meta { display: flex; gap: 10px; padding: 10px 2px 0; }
.rp-yt-meta b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; word-break: break-word; }
.rp-yt-meta small { color: #9aa7b6; font-size: 11px; }
.rp-empty { aspect-ratio: 9 / 16; border: 2px dashed var(--border-color); border-radius: 24px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; color: var(--text-dim); font-size: 0.85rem; }
.rp-modal { position: fixed; inset: 0; z-index: 10000; background: rgba(4, 8, 14, .86); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 20px 14px 40px; }
.rp-modal-box { width: 100%; max-width: 1100px; }
.rp-modal-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.rp-modal-top h3 { font-size: 1rem; margin: 0; }
.rp-panels { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; align-items: flex-start; }
.rp-panels .rp-wrap { width: auto; flex: 0 1 340px; }
.rp-live { position: relative; }
.rp-thumb-open { cursor: pointer; position: relative; }
.rp-thumb-open::after { content: "\f04b"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .15s; }
.rp-thumb-open:hover::after, .rp-thumb-open:focus-visible::after { opacity: 1; }
@media (max-width: 620px) {
  .rp-modal { padding: 12px 8px 30px; }
  .rp-panels { gap: 22px; }
  .rp-panels .rp-wrap { flex-basis: 100%; }
}

/* Menu: títulos dos grupos bem visíveis */
.nav-group-label { font-size: 13px !important; letter-spacing: 0.8px !important; color: #b9c8d6 !important; padding: 12px 14px !important; min-height: 46px; border-radius: 12px; }
.nav-group-label .nav-brand { font-size: 20px !important; margin-right: 12px !important; width: 22px; text-align: center; }
.nav-group-label .nav-chevron { font-size: 12px !important; }
.nav-group:not(.collapsed) > .nav-group-label { background: rgba(255,255,255,0.05); color: #fff !important; }
.nav-group { margin-bottom: 6px; }

.rp-sound { position: absolute; top: 10px; right: 12px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0,0,0,.5); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }

.nav-links { gap: 4px !important; }
.nav-group { margin-bottom: 0 !important; }
.nav-group-items { padding: 2px 0 8px 6px; }

.rp-overlay .rp-user { min-width: 0; }
.rp-overlay .rp-user > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-overlay .rp-user > span:last-child { flex-shrink: 0; }
.rp-overlay .rp-user .rp-avatar { width: 28px; height: 28px; }


/* ── Prévia real: detalhes de cada plataforma ── */
.rp-phone::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 74px; height: 20px; background: #000; border-radius: 12px; z-index: 4; pointer-events: none; }
.rp-top { position: absolute; top: 34px; left: 14px; right: 14px; display: flex; align-items: center; gap: 8px; font-size: 16px; z-index: 3; pointer-events: none; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.rp-top b { font-size: 18px; }
.rp-sound-line { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; opacity: .95; overflow: hidden; white-space: nowrap; }
.rp-sound-line span { overflow: hidden; text-overflow: ellipsis; }
.rp-follow { border: 1px solid #fff; border-radius: 7px; padding: 1px 9px; font-size: 11px; font-weight: 600; }
.rp-follow.rp-sub { background: #fff; color: #000; border-color: #fff; border-radius: 14px; padding: 3px 11px; font-weight: 700; }
.rp-safe { display: none; position: absolute; top: 12%; left: 4%; right: 17%; bottom: 25%; border: 2px dashed rgba(255,255,255,.85); background: rgba(255,255,255,.07); border-radius: 10px; z-index: 3; pointer-events: none; }
.rp-safe span { position: absolute; top: 6px; left: 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; background: rgba(0,0,0,.55); border-radius: 4px; padding: 1px 6px; }
.rp-phone.rp-safe-on .rp-safe { display: block; }
.rp-safe-btn { margin-left: auto; background: rgba(255,255,255,.07); border: 1px solid var(--border-color); color: var(--text-secondary); border-radius: 100px; font-size: 0.68rem; font-weight: 700; padding: 3px 10px; cursor: pointer; font-family: inherit; }
.rp-safe-btn.active { background: var(--primary-bg); color: var(--primary); border-color: var(--primary); }
.rp-label { width: 100%; max-width: 330px; flex-wrap: wrap; }
.rp-hint { font-size: 0.7rem; color: var(--text-dim); text-align: center; max-width: 330px; line-height: 1.5; }
.rp-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.3); z-index: 3; }
.rp-progress div { width: 30%; height: 100%; background: #f00; }
.rp-story-bar { position: absolute; top: 34px; left: 12px; right: 12px; height: 3px; background: rgba(255,255,255,.35); border-radius: 3px; z-index: 3; }
.rp-story-bar div { height: 100%; background: #fff; border-radius: 3px; }
.rp-story-top { position: absolute; top: 46px; left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; z-index: 3; font-size: 13px; text-shadow: 0 1px 4px rgba(0,0,0,.6); pointer-events: none; }
.rp-story-top span { opacity: .8; }
.rp-story-reply { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; align-items: center; gap: 14px; z-index: 3; pointer-events: none; font-size: 18px; }
.rp-story-reply span { flex: 1; border: 1px solid rgba(255,255,255,.8); border-radius: 24px; padding: 9px 14px; font-size: 13px; }
.rp-card-counts { display: flex; justify-content: space-between; padding: 8px 12px; color: #9aa7b6; font-size: 12px; }
.rp-yt-title { font-size: 15px; font-weight: 700; padding: 10px 2px 2px; word-break: break-word; }
.rp-yt-channel { display: flex; align-items: center; gap: 10px; padding: 8px 2px; }
.rp-yt-channel > div { min-width: 0; flex: 1; }
.rp-yt-channel b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-yt-channel small { color: #9aa7b6; font-size: 11px; }
.rp-yt-sub { background: #fff; color: #000; font-weight: 700; font-size: 12px; border-radius: 100px; padding: 6px 12px; white-space: nowrap; }
.rp-yt-actions { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; }
.rp-yt-actions span { background: rgba(255,255,255,.1); border-radius: 100px; padding: 7px 13px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.rp-yt-desc { background: rgba(255,255,255,.08); border-radius: 12px; padding: 10px 12px; font-size: 12px; word-break: break-word; }
.rp-yt-desc div { margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rp-rail small { white-space: nowrap; }

@media (min-width: 981px) { .net-compose .rp-live { position: sticky; top: 1rem; } }

/* Moldura de celular proporcional: tudo escala com a largura da prévia (funciona do celular ao computador) */
.rp-phone { container-type: inline-size; font-size: 4cqw; }
.rp-phone::before { width: 22cqw; height: 6cqw; top: 2.4cqw; border-radius: 4cqw; }
.rp-phone .rp-rail { font-size: 6.6cqw; gap: 4.4cqw; right: 3cqw; bottom: 24cqw; }
.rp-phone .rp-rail small { font-size: 2.9cqw; }
.rp-phone .rp-top { top: 11cqw; left: 4cqw; right: 4cqw; font-size: 5cqw; }
.rp-phone .rp-top b { font-size: 5.4cqw; }
.rp-phone .rp-overlay { padding: 16cqw 17cqw 4.5cqw 4cqw; font-size: 3.9cqw; }
.rp-phone .rp-overlay .rp-user { gap: 2cqw; margin-bottom: 1.6cqw; }
.rp-phone .rp-overlay .rp-user .rp-avatar { width: 8.5cqw; height: 8.5cqw; font-size: 4cqw; }
.rp-phone .rp-follow { font-size: 3cqw; padding: 0.4cqw 2.6cqw; }
.rp-phone .rp-sound-line { font-size: 3.3cqw; margin-top: 2cqw; }
.rp-phone .rp-sound { top: 19cqw; left: 4cqw; right: auto; width: 8cqw; height: 8cqw; font-size: 3.4cqw; }
.rp-phone .rp-story-bar { top: 10cqw; }
.rp-phone .rp-story-top { top: 14cqw; font-size: 3.8cqw; }
.rp-phone .rp-story-top .rp-avatar { width: 8.5cqw; height: 8.5cqw; }
.rp-phone .rp-story-reply { bottom: 4cqw; font-size: 5.4cqw; }
.rp-phone .rp-story-reply span { font-size: 3.8cqw; padding: 2.6cqw 4cqw; }
.rp-phone .rp-safe span { font-size: 2.8cqw; }
