/* TOCROMO • Cuenta / Colaboradores — actualización visual, 31/10/2026.
   Solo estilo y navegación. No modifica subidas, permisos, dinero o sesiones. */

/* Barra prioritaria de acciones para colaboradores logueados */
body.tc-account-ui .tc-account-hub {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 12px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #3d344e;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(255, 51, 132, .16), transparent 55%),
    radial-gradient(ellipse at 100% 0%, rgba(143, 87, 255, .19), transparent 56%),
    #15121e;
  box-shadow: 0 16px 46px rgba(0, 0, 0, .26);
  color: #f9f7ff;
  font-family: inherit;
}
body.tc-account-ui .tc-account-hub, body.tc-account-ui .tc-account-hub * { box-sizing: border-box; }
body.tc-account-ui .tc-account-hub-overline {
  color: #ff9ac4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
body.tc-account-ui .tc-account-hub-head h2 {
  margin: 7px 0 7px;
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.035em;
  color: #fff;
}
body.tc-account-ui .tc-account-hub-head p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #c4bdcf;
}
body.tc-account-ui .tc-account-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
body.tc-account-ui .tc-account-hub-action {
  --hub-border: rgba(255, 122, 173, .38);
  --hub-glow: rgba(255, 51, 132, .12);
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 104px;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--hub-border);
  border-radius: 17px;
  background: linear-gradient(135deg, var(--hub-glow), rgba(255,255,255,.025));
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0,0,0,.14);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
body.tc-account-ui .tc-account-hub-videos {
  --hub-border: rgba(128, 144, 255, .42);
  --hub-glow: rgba(93, 93, 249, .16);
}
body.tc-account-ui .tc-account-hub-earnings {
  --hub-border: rgba(76, 210, 166, .4);
  --hub-glow: rgba(30, 174, 137, .12);
}
body.tc-account-ui .tc-account-hub-action:hover,
body.tc-account-ui .tc-account-hub-action:focus-visible {
  transform: translateY(-3px);
  border-color: #fff;
  box-shadow: 0 16px 29px rgba(0,0,0,.25);
  outline: none;
}
body.tc-account-ui .tc-account-hub-action.is-current {
  border-color: rgba(255,255,255,.63);
  background: linear-gradient(135deg, var(--hub-glow),rgba(255,255,255,.075));
}
body.tc-account-ui .tc-account-hub-emoji {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 15px;
  background: rgba(255,255,255,.085);
  font-size: 29px;
  line-height: 1;
}
body.tc-account-ui .tc-account-hub-action-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
body.tc-account-ui .tc-account-hub-action-text strong {
  display: block;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.22;
  font-weight: 900;
  overflow-wrap: anywhere;
}
body.tc-account-ui .tc-account-hub-action-text > span {
  display: block;
  color: #d2ccde;
  font-size: 13px;
  line-height: 1.4;
}
body.tc-account-ui .tc-account-hub-arrow {
  flex: 0 0 auto;
  color: #fff;
  opacity: .8;
  font-size: 29px;
  font-weight: 700;
}

/* PERFIL: desbloquear el ancho para que tarjetas, fotos y textos no sean diminutos. */
body.tc-page-perfil .tc-auth-wrap {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 32px));
  margin-top: 18px;
}
body.tc-page-perfil .tc-auth-card { padding: clamp(18px, 3vw, 34px); }
body.tc-page-perfil .tc-profile-name { font-size: clamp(23px, 3.3vw, 30px); }
body.tc-page-perfil .tc-auth-sub { font-size: 15px; }
body.tc-page-perfil .tc-stats { gap: 12px; }
body.tc-page-perfil .tc-stat { padding: 19px 12px; }
body.tc-page-perfil .tc-stat b { font-size: 27px; }
body.tc-page-perfil .tc-stat span { font-size: 14px; line-height: 1.35; }
body.tc-page-perfil .tc-personal { margin-top: 32px; }
body.tc-page-perfil .tc-personal-head h2 { font-size: 25px; }
body.tc-page-perfil .tc-personal-head p { font-size: 15px; line-height: 1.55; }
body.tc-page-perfil .tc-personal-tabs,
body.tc-page-perfil .tc-personal-tabs.secondary { gap: 11px; margin-bottom: 4px; }
body.tc-page-perfil .tc-personal-tab {
  min-height: 59px;
  padding: 13px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 850;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
body.tc-page-perfil .tc-personal-tab:hover { border-color: #ff629a; transform: translateY(-1px); }
body.tc-page-perfil .tc-personal-grid { gap: 15px; }
body.tc-page-perfil .tc-personal-card { min-height: 122px; gap: 16px; padding: 16px; border-radius: 17px; }
body.tc-page-perfil .tc-personal-cover {
  width: 94px;
  height: 94px;
  flex-basis: 94px;
  border-radius: 15px;
  font-size: 28px;
}
body.tc-page-perfil .tc-personal-name { font-size: 17px; line-height: 1.3; }
body.tc-page-perfil .tc-personal-meta { font-size: 13px; line-height: 1.4; }
body.tc-page-perfil .tc-personal-view,
body.tc-page-perfil .tc-personal-remove,
body.tc-page-perfil .tc-video-fav-open,
body.tc-page-perfil .tc-video-fav-remove,
body.tc-page-perfil .tc-photo-open,
body.tc-page-perfil .tc-photo-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 850;
  border-radius: 11px;
  cursor: pointer;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.tc-page-perfil .tc-personal-empty { font-size: 15px; padding: 35px 16px; }
body.tc-page-perfil .tc-personal-pagination { gap: 9px; }
body.tc-page-perfil .tc-personal-page { min-width: 43px; min-height: 43px; font-size: 14px; }

/* Miniaturas de videos guardados: 3 columnas grandes en escritorio. */
body.tc-page-perfil .tc-video-fav-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
body.tc-page-perfil .tc-video-fav-card { border-radius: 16px; }
body.tc-page-perfil .tc-video-fav-info { padding: 15px; }
body.tc-page-perfil .tc-video-fav-model { font-size: 16px; line-height: 1.4; }
body.tc-page-perfil .tc-video-fav-date { font-size: 12px; line-height: 1.5; }
body.tc-page-perfil .tc-video-fav-duration { font-size: 12px; padding: 5px 8px; }
body.tc-page-perfil .tc-video-fav-tools { gap: 8px; margin-top: 12px; }

/* Fotos guardadas: tiles de tamaño útil, no estampillas. */
body.tc-page-perfil .tc-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
body.tc-page-perfil .tc-photo-card { border-radius: 16px; }
body.tc-page-perfil .tc-photo-info { padding: 14px; }
body.tc-page-perfil .tc-photo-model { font-size: 15px; line-height: 1.4; }
body.tc-page-perfil .tc-photo-date { font-size: 12px; line-height: 1.5; }
body.tc-page-perfil .tc-photo-tools { gap: 8px; margin-top: 10px; }
body.tc-page-perfil .tc-profile-actions a,
body.tc-page-perfil .tc-profile-actions button { min-height: 50px; font-size: 15px; padding: 13px 17px; }
body.tc-page-perfil .tc-return-card-copy b { font-size: 16px; }
body.tc-page-perfil .tc-return-card-copy span { font-size: 13px; }
body.tc-page-perfil .tc-return-card-link { min-width: 126px; min-height: 45px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
body.tc-page-perfil .tc-profile-premium-copy b { font-size: 16px; }
body.tc-page-perfil .tc-profile-premium-copy span { font-size: 13px; }
body.tc-page-perfil .tc-profile-premium-manage { font-size: 13px; }
body.tc-page-perfil .tc-profile-premium-pill { font-size: 12px; }

/* SUBIR VIDEO: conservar la lógica intacta pero ampliar toda la UI. */
body.tc-page-subir-video .ugc-wrap {
  max-width: 1090px;
  width: min(100% - 32px,1090px);
  margin-top: 20px;
  padding: 0 0 64px;
  font-size: 16px;
  line-height: 1.6;
}
body.tc-page-subir-video .ugc-wrap h1 { font-size: clamp(28px,4vw,38px); line-height: 1.2; }
body.tc-page-subir-video .ugc-panel { border-radius: 20px; padding: clamp(18px,3vw,30px); }
body.tc-page-subir-video .ugc-wrap label { font-size: 16px; line-height: 1.45; }
body.tc-page-subir-video .ugc-wrap small { font-size: 13px; line-height: 1.6; }
body.tc-page-subir-video .ugc-wrap .ugc-link,
body.tc-page-subir-video .ugc-wrap button {
  min-height: 50px;
  font-size: 16px;
  border-radius: 12px;
  padding: 13px 19px;
}
body.tc-page-subir-video .ugc-wrap input[type=text],
body.tc-page-subir-video .ugc-wrap textarea,
body.tc-page-subir-video .ugc-wrap input[type=file] { min-height: 50px; font-size: 16px; }
body.tc-page-subir-video .ugc-suggest button { font-size: 15px; padding: 12px 15px; }
body.tc-page-subir-video .ugc-message { font-size: 15px; line-height: 1.5; }

/* MIS VIDEOS: textos y botones distinguibles, tarjetas legibles. */
body.tc-page-mis-videos .ugc-me {
  max-width: 1120px;
  width: min(100% - 32px,1120px);
  margin-top: 20px;
  padding: 0 0 60px;
  font-size: 16px;
  line-height: 1.6;
}
body.tc-page-mis-videos .ugc-me h1 { font-size: clamp(28px,4vw,38px); }
body.tc-page-mis-videos .ugc-me .card { border-radius: 18px; padding: clamp(18px,3vw,28px); margin: 16px 0; }
body.tc-page-mis-videos .ugc-me .card > strong { font-size: 18px; line-height: 1.4; }
body.tc-page-mis-videos .ugc-me .chip { font-size: 13px; padding: 6px 11px; }
body.tc-page-mis-videos .ugc-me small,
body.tc-page-mis-videos .ugc-me .play-hint { font-size: 14px; line-height: 1.55; }
body.tc-page-mis-videos .ugc-me .action,
body.tc-page-mis-videos .ugc-me .play-button,
body.tc-page-mis-videos .ugc-me .ugc-share-btn {
  min-height: 48px;
  font-size: 15px;
  padding: 12px 17px;
  border-radius: 12px;
}

/* MIS GANANCIAS: cifras legibles y botones de los dos medios de cobro. */
body.tc-page-ganancias .tcfin { width: min(1120px,calc(100% - 32px)); margin-top: 20px; font-size: 16px; line-height: 1.55; }
body.tc-page-ganancias .tcfin h1 { font-size: clamp(29px,4vw,40px); line-height: 1.2; }
body.tc-page-ganancias .tcfin .box { padding: clamp(18px,2.5vw,25px); border-radius: 18px; }
body.tc-page-ganancias .tcfin .figure { font-size: clamp(25px,3.3vw,34px); line-height: 1.3; overflow-wrap: anywhere; }
body.tc-page-ganancias .tcfin .muted { font-size: 15px; line-height: 1.6; }
body.tc-page-ganancias .tcfin .btn { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1.3; padding: 13px 19px; }
body.tc-page-ganancias .tcfin .tcfin-methods { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
body.tc-page-ganancias .tcfin .tcfin-methods .btn { width: 100%; min-width: 0; text-align: center; }
body.tc-page-ganancias .tcfin .scroll { -webkit-overflow-scrolling: touch; }
body.tc-page-ganancias .tcfin td, body.tc-page-ganancias .tcfin th { font-size: 14px; line-height: 1.45; }

/* Accesibilidad consistente */
body.tc-account-ui a:focus-visible,
body.tc-account-ui button:focus-visible,
body.tc-account-ui input:focus-visible { outline: 3px solid #ffa1cb; outline-offset: 3px; }

@media (max-width: 980px) {
  body.tc-account-ui .tc-account-hub-action { gap: 11px; padding: 14px; }
  body.tc-account-ui .tc-account-hub-emoji { flex-basis: 48px; width: 48px; height: 48px; font-size: 25px; }
  body.tc-account-ui .tc-account-hub-action-text > span { font-size: 12px; }
  body.tc-page-perfil .tc-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.tc-page-perfil .tc-photo-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  body.tc-account-ui .tc-account-hub-grid { grid-template-columns: 1fr; gap: 10px; }
  body.tc-account-ui .tc-account-hub-action { min-height: 83px; padding: 14px 16px; }
  body.tc-account-ui .tc-account-hub-action-text strong { font-size: 19px; }
  body.tc-account-ui .tc-account-hub-action-text > span { font-size: 13px; }
  body.tc-page-perfil .tc-personal-grid { grid-template-columns: 1fr; }
  body.tc-page-perfil .tc-video-fav-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.tc-page-perfil .tc-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.tc-page-perfil .tc-personal-tabs.secondary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.tc-page-perfil .tc-personal-tab { font-size: 13px; padding: 12px 8px; }
}
@media (max-width: 520px) {
  body.tc-account-ui .tc-account-hub { width: calc(100% - 20px); padding: 16px; border-radius: 18px; margin-top: 14px; }
  body.tc-account-ui .tc-account-hub-head h2 { font-size: 24px; }
  body.tc-account-ui .tc-account-hub-head p { font-size: 14px; }
  body.tc-account-ui .tc-account-hub-emoji { flex-basis: 50px; width: 50px; height: 50px; }
  body.tc-page-perfil .tc-auth-wrap { width: calc(100% - 20px); margin-top: 14px; }
  body.tc-page-perfil .tc-auth-card { padding: 17px 13px; border-radius: 18px; }
  body.tc-page-perfil .tc-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.tc-page-perfil .tc-stat { padding: 14px 8px; }
  body.tc-page-perfil .tc-stat span { font-size: 13px; }
  body.tc-page-perfil .tc-personal-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  body.tc-page-perfil .tc-personal-tabs.secondary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.tc-page-perfil .tc-personal-tab { font-size: 14px; min-height: 53px; }
  body.tc-page-perfil .tc-personal-card { padding: 12px; gap: 12px; min-height: 95px; }
  body.tc-page-perfil .tc-personal-cover { flex-basis: 76px; width: 76px; height: 76px; }
  body.tc-page-perfil .tc-personal-name { font-size: 16px; }
  body.tc-page-perfil .tc-personal-meta { font-size: 12px; }
  body.tc-page-perfil .tc-video-fav-grid { grid-template-columns: 1fr; }
  body.tc-page-perfil .tc-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  body.tc-page-perfil .tc-photo-info { padding: 10px; }
  body.tc-page-perfil .tc-photo-model { font-size: 14px; }
  body.tc-page-perfil .tc-profile-actions a, body.tc-page-perfil .tc-profile-actions button { flex-basis: 100%; }
  body.tc-page-ganancias .tcfin .tcfin-methods { grid-template-columns: 1fr; }
  body.tc-page-mis-videos .ugc-me, body.tc-page-subir-video .ugc-wrap,
  body.tc-page-ganancias .tcfin { width: calc(100% - 20px); }
}
@media (prefers-reduced-motion: reduce) {
  body.tc-account-ui .tc-account-hub-action { transition: none; }
  body.tc-account-ui .tc-account-hub-action:hover { transform: none; }
}
