/* ═══════════════════════════════════════════════════════════
   Feed Preview — YouTube replica
   ═══════════════════════════════════════════════════════════ */

html body.fullwidth-page .app-container,
html body .app-container:has(.fp-page) {
    padding-left: 48px !important;
    padding-right: 48px !important;
}

html body.fp-public-page .sidebar,
html body.fp-public-page .sidebar-toggle-btn,
html body.fp-public-page #glosario-tab,
html body.fp-public-page #glosario-panel,
html body.fp-public-page #support-chat-fab,
html body.fp-public-page #support-chat-panel,
html body.fp-public-page #chat-suggestion-modal,
html body.fp-public-page .promo-overlay {
    display: none !important;
}

.fp-page {
  min-height: 100vh;
  background: #0a0a0a00;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 1.5rem 0 2rem;
}

.fp-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  text-decoration: none;
}

.fp-brand img {
  height: 44px;
  width: auto;
}

.fp-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 16px 14px 14px;
  border: 1px solid #2a2a2a;
  border-radius: 22px;
  background: #141414;
}

.fp-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #2f2f2f;
  border-radius: 50%;
  background: #1c1c1c;
  color: #fff;
  text-decoration: none;
}

.fp-mode {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: #1c1c1c;
}

.fp-mode-btn {
  flex: 1;
  padding: 9px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #9ca3af;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.fp-mode-btn.is-active {
  background: #14b8a6;
  color: #fff;
}

.fp-layouts {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  border-radius: 16px;
  background: #1c1c1c;
}

.fp-layout-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #d4d4d8;
  font-size: 15px;
  cursor: pointer;
}

.fp-layout-btn.is-active {
  background: #14b8a6;
  color: #fff;
}

.fp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 16px;
  background: #1c1c1c;
}

.fp-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 64px;
  border: 0;
  border-radius: 14px;
  background: #2a2a2a;
  color: #f4f4f5;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.fp-action-btn i {
  font-size: 16px;
}

.fp-action-btn.is-confirm {
  background: #cc3333;
  color: #fff;
}

.fp-action-dice {
  font-size: 22px;
}

.fp-title-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #d4d4d8;
  font-size: 12px;
  font-weight: 700;
}

.fp-title-field input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #2f2f2f;
  border-radius: 12px;
  background: #1c1c1c;
  color: #f1f5f9;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  outline: none;
}

.fp-title-field input:focus {
  border-color: #14b8a6;
}

.fp-thumbs-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.fp-thumbs-head i {
  color: #6b7280;
  font-size: 12px;
}

.fp-panel-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 4px;
  border-radius: 14px;
  background: #14b8a6;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.fp-page[data-view="search"] .yt-sidebar,
.fp-page[data-view="suggested"] .yt-sidebar,
.fp-page[data-view="mobile"] .yt-sidebar { display: none; }

.fp-page[data-view="search"] .yt-pills,
.fp-page[data-view="suggested"] .yt-pills { display: none; }

.fp-page[data-view="search"] .yt-grid,
.fp-page[data-view="suggested"] .yt-grid {
  grid-template-columns: 1fr;
}
.fp-page[data-view="search"] .yt-vcard,
.fp-page[data-view="suggested"] .yt-vcard {
  display: flex;
  gap: 14px;
}
.fp-page[data-view="search"] .yt-vcard-info,
.fp-page[data-view="suggested"] .yt-vcard-info {
  margin-top: 0;
  flex: 1;
}
.fp-page[data-view="search"] .yt-vcard-thumb {
  width: 360px;
  height: 202px;
  aspect-ratio: auto;
  flex-shrink: 0;
}
.fp-page[data-view="search"] .yt-vcard-info {
  display: grid;
  grid-template-columns: 24px 1fr;
  grid-template-areas:
    "title title"
    "meta meta"
    "avatar chan"
    "desc desc";
  align-content: start;
  align-items: center;
  gap: 6px 10px;
}
.fp-page[data-view="search"] .yt-vcard-title {
  grid-area: title;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
}
.fp-page[data-view="search"] .yt-vcard-meta {
  grid-area: meta;
  white-space: normal;
}
.fp-page[data-view="search"] .yt-vcard-avatar {
  grid-area: avatar;
  width: 24px;
  height: 24px;
}
.fp-page[data-view="search"] .yt-vcard-chan {
  grid-area: chan;
  color: #f1f1f1;
}
.fp-page[data-view="search"] .yt-vcard-desc {
  display: block;
  grid-area: desc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fp-page[data-view="search"] .yt-vcard-dur {
  display: block;
}
.fp-page[data-view="search"] .yt-grid {
  gap: 18px;
}
.fp-page[data-view="suggested"] .yt-vcard-thumb {
  width: 168px;
  height: 94px;
  aspect-ratio: auto;
  flex-shrink: 0;
  border-radius: 8px;
}
.fp-page[data-view="suggested"] .yt-vcard-avatar { display: none; }
.fp-page[data-view="suggested"] .yt-vcard-info {
  grid-template-columns: 1fr;
  grid-template-areas:
    "title"
    "chan"
    "meta";
}
.fp-watch { display: none; }
.fp-page[data-view="suggested"] .yt-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 402px;
  gap: 18px 20px;
  align-items: start;
  max-width: none;
  margin: 0;
}
.fp-page[data-view="suggested"] .fp-watch {
  display: block;
  grid-column: 1;
  min-width: 0;
}
.fp-page[data-view="suggested"] .yt-grid {
  grid-column: 2;
  gap: 12px;
}

.fp-player {
  overflow: hidden;
  border-radius: 14px;
  background: #2b2b2b;
}

.fp-player-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
}

.fp-player-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fp-scrub {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 3px;
  height: 5px;
}

.fp-scrub-seg {
  position: relative;
  flex: 1;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.42);
}

.fp-scrub-seg.is-on,
.fp-scrub-seg.is-mid {
  background: #ff2d55;
}

.fp-scrub-seg.is-mid {
  background: linear-gradient(90deg, #ff2d55 52%, rgba(255, 255, 255, 0.42) 52%);
}

.fp-scrub-knob {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff2d55;
  transform: translate(-50%, -50%);
}

.fp-player-ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 12px;
}

.fp-player-left,
.fp-player-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fp-player-right {
  padding: 6px 10px;
  border-radius: 999px;
  background: #8a8a8a;
  color: #fff;
  font-size: 14px;
}

.fp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #8a8a8a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.fp-chip-round {
  width: 28px;
  padding: 0;
  justify-content: center;
}

.fp-autoplay {
  position: relative;
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: #5f5f5f;
}

.fp-autoplay i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d4d4d4;
}

.fp-gear {
  position: relative;
}

.fp-gear b {
  position: absolute;
  top: -7px;
  right: -10px;
  padding: 0 3px;
  border-radius: 3px;
  background: #ff2d55;
  color: #fff;
  font-size: 8px;
  line-height: 1.3;
}

.fp-watch-meta {
  margin-top: 14px;
}

.fp-watch-title {
  margin: 0 0 12px;
  color: #f1f1f1;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.fp-watch-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fp-watch-channel {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.fp-watch-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #303030;
}

.fp-watch-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fp-watch-who strong {
  color: #f1f1f1;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.fp-watch-who span {
  color: #aaa;
  font-size: 0.75rem;
}

.fp-watch-sub {
  padding: 8px 16px;
  border-radius: 999px;
  background: #f1f1f1;
  color: #0f0f0f;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.fp-watch-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.fp-watch-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #272727;
  color: #f1f1f1;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.fp-watch-pill b {
  width: 1px;
  height: 18px;
  background: #3f3f3f;
}

.fp-watch-more {
  width: 36px;
  padding: 0;
  justify-content: center;
}

.fp-watch-stats {
  margin-top: 12px;
  color: #aaa;
  font-size: 0.82rem;
  line-height: 1.5;
}

.fp-watch-stats span {
  margin-left: 6px;
  color: #3ea6ff;
}

.fp-page[data-yt-theme="light"] .fp-watch-title,
.fp-page[data-yt-theme="light"] .fp-watch-who strong { color: #0f0f0f; }
.fp-page[data-yt-theme="light"] .fp-watch-who span,
.fp-page[data-yt-theme="light"] .fp-watch-stats { color: #606060; }
.fp-page[data-yt-theme="light"] .fp-watch-sub { background: #0f0f0f; color: #fff; }
.fp-page[data-yt-theme="light"] .fp-watch-pill { background: #f2f2f2; color: #0f0f0f; }
.fp-page[data-yt-theme="light"] .fp-watch-pill b { background: #d4d4d4; }

.fp-page[data-view="mobile"] .yt-topbar,
.fp-page[data-view="mobile"] .yt-pills { display: none; }
.fp-page[data-view="mobile"] .yt-shell {
  max-width: 360px;
  margin: 0 auto;
}
.fp-page[data-view="mobile"] .yt-main {
  padding: 14px 12px 20px;
}
.fp-page[data-view="mobile"] .yt-grid {
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 300px;
  margin: 0 auto;
}
.fp-page[data-view="mobile"] .yt-vcard-thumb {
  border-radius: 10px;
}
.fp-page[data-view="mobile"] .yt-vcard-title {
  font-size: 0.82rem;
}
.fp-page[data-view="mobile"] .yt-vcard-avatar {
  width: 28px;
  height: 28px;
}

.fp-page[data-mode="sizes"] .yt-shell { display: none; }
.fp-sizes {
  display: none;
  flex-direction: column;
  gap: 32px;
  width: max-content;
  max-width: 100%;
  padding: 24px;
  border: 1px solid #272727;
  border-radius: 12px;
  background: #0f0f0f;
  box-sizing: border-box;
}
.fp-page[data-mode="sizes"] .fp-sizes {
  display: flex;
  grid-column: 2;
  justify-self: center;
  align-self: start;
  min-width: 0;
}
.fp-sizes-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  width: 760px;
  max-width: 100%;
}
.fp-size-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 8px;
  color: #94a3b8;
  font-size: 12px;
}
.fp-size-frame {
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 10px;
  background: #181818;
}
.fp-size-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-search {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 560px;
}

.yt-search-field {
  flex: 1;
  height: 36px;
  padding: 0 16px;
  border: 1px solid #303030;
  border-right: 0;
  border-radius: 20px 0 0 20px;
  background: #121212;
  color: #717171;
  font-size: 0.9rem;
  line-height: 36px;
}

.yt-search-go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  border: 1px solid #303030;
  border-radius: 0 20px 20px 0;
  background: #222;
  color: #fff;
}

.fp-workspace {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  align-items: start;
}

.fp-panel.is-dragover,
.fp-slot-add.is-dragover {
  border-color: #14b8a6;
  box-shadow: 0 0 0 1px #14b8a6;
}

.fp-slot-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fp-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  box-sizing: border-box;
  outline: 1px solid #272727;
  outline-offset: -1px;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #181818;
  cursor: pointer;
}

.fp-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.fp-slot.is-selected {
  box-shadow: 0 0 0 2px #14b8a6;
}

.fp-slot-letter {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.fp-slot-x {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.fp-slot-x:hover {
  background: #cc3333;
}

.fp-slot-add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid #2f2f2f;
  border-radius: 16px;
  background: #1c1c1c;
  color: #fff;
  font: inherit;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.fp-slot-add:hover:not(:disabled) {
  border-color: #14b8a6;
}

.fp-slot-add:disabled {
  opacity: 0.4;
  cursor: default;
}

.fp-slot-list:not(:empty) + .fp-slot-add {
  aspect-ratio: 16 / 9;
  font-size: 28px;
}

.fp-ad {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  color: #111827;
  text-decoration: none;
  overflow: hidden;
}

.fp-ad-rail {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 210px;
  margin: 0;
  padding: 18px 10px 10px;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  border-radius: 12px;
}

.fp-ad-kicker {
  color: #374151;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.fp-ad-brand {
  color: #111827;
  font-size: 14px;
  font-weight: 800;
}

.fp-ad-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #4b5563;
  font-size: 11px;
  line-height: 1.45;
}

.fp-ad-rail .fp-ad-cta {
  padding: 5px 8px;
  font-size: 10px;
}

.fp-ad:hover {
  border-color: #c4b5fd;
}

.fp-ad-tag {
  position: absolute;
  top: 5px;
  left: 8px;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fp-ad-copy {
  max-width: 420px;
  color: #374151;
  font-size: 13px;
  line-height: 1.35;
}

.fp-ad-copy strong {
  display: block;
  margin-bottom: 2px;
  color: #111827;
  font-size: 14px;
}

.fp-ad-cta {
  padding: 8px 12px;
  border-radius: 6px;
  background: #0f766e;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.fp-ad-leader {
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: 0 auto 16px;
  border-radius: 4px;
}

.fp-ad-box {
  width: 300px;
  min-height: 250px;
  margin: 18px 0 0;
  padding: 28px 20px 20px;
  flex-direction: column;
  text-align: center;
  border-radius: 4px;
}

.fp-ad-copy-box {
  max-width: 240px;
}

.fp-thumb-mine img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ─── YouTube Shell ─── */
.yt-shell {
  width: 100%;
  min-width: 0;
  background: #0f0f0f;
  border-radius: 12px;
  border: 1px solid #272727;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  font-family: 'Roboto', Arial, sans-serif;
}

/* ─── TOPBAR ─── */
.yt-topbar {
  height: 56px;
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #272727;
  border-radius: 12px 12px 0 0;
}

.yt-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 200px;
}

.yt-hamburger {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: default;
  padding: 8px;
}

.yt-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-family: 'YouTube Sans', 'Roboto', sans-serif;
}

.yt-topbar-center {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 680px;
  margin: 0 auto;
}

.yt-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 200px;
  justify-content: flex-end;
}

.yt-icon-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
}

.yt-icon-btn-circle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: default;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-avatar-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285f4, #34a853);
  cursor: default;
}

/* ─── BODY (sidebar + main) ─── */
.yt-body {
  display: flex;
}

/* ─── SIDEBAR ─── */
.yt-sidebar {
  width: 220px;
  min-width: 220px;
  background: #0f0f0f;
  border-right: 1px solid #272727;
  padding: 12px 0;
  overflow-y: auto;
}

.yt-sb-section {
  padding: 0 12px;
  margin-bottom: 4px;
}

.yt-sb-heading {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f1f1f1;
  padding: 8px 12px 4px;
  display: flex;
  align-items: center;
}

.yt-sb-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 6px 12px;
  border-radius: 10px;
  color: #f1f1f1;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: default;
  transition: background 0.15s;
}

.yt-sb-item:hover {
  background: #272727;
}

.yt-sb-item.active {
  background: #272727;
  font-weight: 600;
}

.yt-sb-item i {
  width: 20px;
  text-align: center;
  font-size: 0.95rem;
  color: #f1f1f1;
}

.yt-sb-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}

.yt-sb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ea6ff;
  margin-left: auto;
}

.yt-sb-divider {
  height: 1px;
  background: #272727;
  margin: 8px 12px;
}

/* ─── MAIN CONTENT ─── */
.yt-main {
  flex: 1;
  padding: 16px 28px 40px;
}

/* ─── CATEGORY PILLS ─── */
.yt-pills {
  display: flex;
  gap: 8px;
  overflow-x: hidden;
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.yt-pill {
  background: #272727;
  border: none;
  color: #f1f1f1;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: default;
  white-space: nowrap;
  transition: background 0.15s;
  font-family: inherit;
}

.yt-pill:hover {
  background: #3a3a3a;
}

.yt-pill.active {
  background: #f1f1f1;
  color: #0f0f0f;
  font-weight: 600;
}

/* ─── VIDEO GRID ─── */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
}

/* ─── VIDEO CARD ─── */
.yt-vcard {
  cursor: default;
}

.yt-vcard-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #181818;
  position: relative;
}

.yt-vcard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-vcard-thumb.fp-thumb-mine img {
  object-fit: cover;
  object-position: center;
}

.yt-vcard-info {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-areas:
    "avatar title"
    "avatar chan"
    "avatar meta";
  gap: 2px 12px;
  margin-top: 10px;
  align-items: start;
  min-width: 0;
}

.yt-vcard-avatar {
  grid-area: avatar;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #303030;
  overflow: hidden;
}

.yt-vcard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-vcard-title {
  grid-area: title;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f1f1f1;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-vcard-chan {
  grid-area: chan;
  font-size: 0.78rem;
  color: #aaa;
  line-height: 1.4;
}

.yt-vcard-chan:hover {
  color: #f1f1f1;
}

.yt-vcard-meta {
  grid-area: meta;
  font-size: 0.78rem;
  color: #aaa;
  line-height: 1.4;
  white-space: nowrap;
}

.yt-vcard-desc {
  display: none;
  grid-area: desc;
  margin: 0;
  color: #aaa;
  font-size: 0.78rem;
  line-height: 1.45;
}

.yt-vcard-dur {
  display: none;
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.fp-page[data-yt-theme="light"] .yt-vcard-desc { color: #606060; }

/* ─── USER'S CARD (drop zone) ─── */
.fp-thumb-mine {
  border: 2px dashed #0f766e;
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
  color: #94a3b8;
  font-size: 0.78rem;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
}

.fp-thumb-mine.has-image {
  border: none;
  background: #181818;
}

.fp-thumb-mine.dragover {
  border-color: #14b8a6;
  background: #1a1a3e;
}

.fp-thumb-mine i.fp-drop-label {
  font-size: 1.8rem;
  color: #0f766e;
}

.fp-drop-label {
  pointer-events: none;
}

.fp-card-mine .yt-vcard-title {
  color: #f1f1f1;
}

/* ─── YouTube mock light ─── */
.fp-page[data-yt-theme="light"] .yt-shell { background: #fff; border-color: #e5e5e5; }
.fp-page[data-yt-theme="light"] .yt-topbar { background: #fff; border-bottom-color: #e5e5e5; }
.fp-page[data-yt-theme="light"] .yt-hamburger,
.fp-page[data-yt-theme="light"] .yt-icon-btn,
.fp-page[data-yt-theme="light"] .yt-icon-btn-circle { color: #0f0f0f; }
.fp-page[data-yt-theme="light"] .yt-logo { color: #0f0f0f; }
.fp-page[data-yt-theme="light"] .yt-search-field { background: #fff; border-color: #ccc; color: #909090; }
.fp-page[data-yt-theme="light"] .yt-search-go { background: #f8f8f8; border-color: #ccc; color: #0f0f0f; }
.fp-page[data-yt-theme="light"] .yt-sidebar { background: #fff; border-right-color: #e5e5e5; }
.fp-page[data-yt-theme="light"] .yt-sb-heading,
.fp-page[data-yt-theme="light"] .yt-sb-item { color: #0f0f0f; }
.fp-page[data-yt-theme="light"] .yt-sb-item:hover,
.fp-page[data-yt-theme="light"] .yt-sb-item.active { background: #f2f2f2; }
.fp-page[data-yt-theme="light"] .yt-sb-item i { color: #0f0f0f; }
.fp-page[data-yt-theme="light"] .yt-sb-divider { background: #e5e5e5; }
.fp-page[data-yt-theme="light"] .yt-main { background: #fff; }
.fp-page[data-yt-theme="light"] .yt-pill { background: #f2f2f2; color: #0f0f0f; }
.fp-page[data-yt-theme="light"] .yt-pill:hover { background: #e5e5e5; }
.fp-page[data-yt-theme="light"] .yt-pill.active { background: #0f0f0f; color: #fff; }
.fp-page[data-yt-theme="light"] .yt-vcard-thumb { background: #f2f2f2; }
.fp-page[data-yt-theme="light"] .yt-vcard-avatar { background: #e5e5e5; }
.fp-page[data-yt-theme="light"] .yt-vcard-title,
.fp-page[data-yt-theme="light"] .fp-card-mine .yt-vcard-title { color: #0f0f0f; }
.fp-page[data-yt-theme="light"] .yt-vcard-chan,
.fp-page[data-yt-theme="light"] .yt-vcard-meta { color: #606060; }
.fp-page[data-yt-theme="light"] .yt-vcard-chan:hover { color: #0f0f0f; }
.fp-page[data-yt-theme="light"] .fp-thumb-mine { background: #f5f0ff; color: #606060; }
.fp-page[data-yt-theme="light"] .fp-thumb-mine.has-image { background: #f2f2f2; }
.fp-page[data-yt-theme="light"] .fp-sizes { background: #fff; border-color: #e5e5e5; }
.fp-page[data-yt-theme="light"] .fp-size-card { color: #606060; }
.fp-page[data-yt-theme="light"] .fp-size-frame { background: #f2f2f2; }

@media (max-width: 600px) {
  .yt-grid { grid-template-columns: 1fr; }
  .yt-topbar-center { display: none; }
  .fp-page { padding: 1rem 16px; }
}

/* ── Mockup de YouTube: decorado, no interfaz ──────────────────────────────
   La barra superior, las píldoras de categoría y el menú lateral son una
   réplica visual del feed, no controles reales. Si reaccionan al ratón el
   usuario cree que puede pulsarlos y no pasa nada: se queda esperando.
   Aquí se les quita el cursor de mano y cualquier respuesta al hover.
   Las miniaturas SÍ son interactivas y no se tocan. */
.yt-topbar, .yt-topbar *,
.yt-pills, .yt-pills *,
.yt-sidebar, .yt-sidebar * {
    cursor: default;
}
.yt-hamburger:hover, .yt-logo:hover,
.yt-icon-btn:hover, .yt-icon-btn-circle:hover, .yt-avatar-btn:hover,
.yt-pill:hover, .yt-sb-item:hover,
.fp-page[data-yt-theme="light"] .yt-pill:hover,
.fp-page[data-yt-theme="light"] .yt-sb-item:hover {
    background: inherit;
    color: inherit;
    border-color: inherit;
    box-shadow: none;
    transform: none;
}
/* La píldora activa y el tema claro conservan su fondo propio */
.yt-pill.active:hover { background: #0f0f0f; color: #fff; }
.fp-page[data-yt-theme="light"] .yt-pill:hover { background: #f2f2f2; color: #0f0f0f; }
.fp-page[data-yt-theme="light"] .yt-pill.active:hover { background: #0f0f0f; color: #fff; }
