/* Card composition and actions are shared by every schedule view. */
#schedule .stream-card .stream-card-footer {
 display:flex!important; align-items:center!important; justify-content:center!important;
 flex:0 0 auto!important; flex-wrap:wrap!important; gap:6px!important;
 width:100%!important; height:auto!important; min-height:42px!important;
 margin:0!important; padding:8px 0 0!important; border-top:1px solid #7184a144;
 box-sizing:border-box; overflow:visible!important;
}
#schedule .stream-card-footer .review-card-platform-state { display:flex; align-items:center; justify-content:center; gap:5px; flex:0 0 auto; }
#schedule .stream-card-footer .star,
#schedule .stream-card-footer .stream-card-action {
 position:static!important; display:inline-flex!important; align-items:center!important; justify-content:center!important;
 flex:0 0 auto!important; box-sizing:border-box!important;
 width:auto!important; min-width:0!important; height:34px!important; min-height:34px!important;
 padding:5px 8px!important; margin:0!important; border:1px solid #8394ba!important;
 border-radius:7px!important; background:#344565!important; color:#e6edff!important;
 font:inherit; font-size:12px!important; line-height:1.2!important; white-space:nowrap!important;
 text-decoration:none; text-shadow:none!important; cursor:pointer;
}
#schedule .stream-card-footer .star.on { background:#575020!important; color:#ffe06b!important; border-color:#a9954b!important; }
#schedule .stream-card-footer .stream-card-action:hover { background:#425779!important; }
#schedule .stream-card-footer .stream-card-action:focus-visible { outline:2px solid #aeb8ff; outline-offset:2px; }
#schedule .stream-card-footer .stream-card-action:disabled { opacity:.4; cursor:default; }
#schedule .stream-card-footer .stream-card-x { width:34px!important; padding:7px!important; }
#schedule .stream-card-x svg { display:block; width:17px; height:17px; }
/* The title always occupies two lines; identity is centered between dividers. */
body[data-guide-layout="cards"] #schedule .stream-card>.review-card-body {
 display:flex!important; flex-direction:column!important; flex:0 0 auto!important;
 width:100%!important; height:auto!important; min-height:190px!important; max-height:none!important;
 padding:12px!important; overflow:visible!important; box-sizing:border-box;
}
body[data-guide-layout="cards"] #schedule .stream-card .review-card-title {
 display:-webkit-box!important; -webkit-line-clamp:2!important; -webkit-box-orient:vertical!important;
 flex:0 0 2.9em!important; height:2.9em!important; min-height:2.9em!important; max-height:2.9em!important;
 font-size:14px!important; line-height:1.45!important; margin:0!important; overflow:hidden!important;
}
body[data-guide-layout="cards"] #schedule .stream-card .review-card-creator {
 display:flex!important; align-items:center!important; justify-content:center!important; gap:9px!important;
 flex:1 0 52px!important; height:auto!important; min-height:52px!important; margin:7px 0 0!important;
 padding:8px 0!important; border-top:1px solid #7184a144; box-sizing:border-box; text-align:center;
}
body[data-guide-layout="cards"] #schedule .stream-card .review-card-creator .avatar { flex:0 0 32px; width:32px!important; height:32px!important; }
body[data-guide-layout="cards"] #schedule .stream-card .review-card-creator>span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
/* Compact cards keep the thumbnail beside the summary and actions on a full-width row. */
body[data-guide-layout="simple"] #schedule :is(.simple-week-grid,.simple-live-grid,.simple-hour-group) { grid-auto-rows:auto!important; }
body[data-guide-layout="simple"] #schedule .stream-card {
 display:grid!important; grid-template-columns:96px minmax(0,1fr)!important; grid-template-rows:auto auto!important;
 align-items:center!important; column-gap:9px!important; row-gap:7px!important;
 width:100%!important; height:auto!important; min-height:142px!important; max-height:none!important;
 padding:9px!important; box-sizing:border-box; overflow:visible!important;
}
body[data-guide-layout="simple"] #schedule .stream-card .stream-preview-wrap { grid-column:1; grid-row:1; width:96px!important; height:54px!important; min-width:96px!important; min-height:54px!important; }
body[data-guide-layout="simple"] #schedule .stream-card .stream-content {
 grid-column:2; grid-row:1; width:auto!important; height:auto!important; max-height:none!important;
 min-width:0!important; gap:4px!important; overflow:hidden!important;
}
body[data-guide-layout="simple"] #schedule .stream-card .review-card-creator { margin:0!important; justify-content:flex-start!important; }
body[data-guide-layout="simple"] #schedule .stream-card .stream-title { margin:0!important; }
body[data-guide-layout="simple"] #schedule .stream-card .stream-card-footer { grid-column:1/-1; grid-row:2; }
@media(max-width:720px) {
 #schedule .stream-card-footer .star,#schedule .stream-card-footer .stream-card-action { min-height:40px!important; height:40px!important; }
 #schedule .stream-card-footer .stream-card-x { width:40px!important; }
 body[data-guide-layout="simple"] #schedule .stream-card { grid-template-columns:78px minmax(0,1fr)!important; }
 body[data-guide-layout="simple"] #schedule .stream-card .stream-preview-wrap { width:78px!important; height:44px!important; min-width:78px!important; min-height:44px!important; }
}


/* Directory cards reserve identical rows even when a verified channel is unavailable. */
#discover .talent-card {
 --directory-avatar-size:80px;
 display:grid!important; grid-template-columns:minmax(0,1fr)!important;
 grid-template-rows:var(--directory-avatar-size) 2.8em 1.5em 2.6em 40px!important;
 justify-items:center!important; align-items:center!important; align-content:start!important;
 gap:8px!important; min-width:0; height:100%; box-sizing:border-box;
}
#discover .featured-grid .talent-card { --directory-avatar-size:64px; }
#discover .talent-card .talent-avatar { width:var(--directory-avatar-size)!important; height:var(--directory-avatar-size)!important; margin:0!important; }
#discover .talent-card .creator-card-name {
 width:100%; height:2.8em; max-height:2.8em; line-height:1.4; margin:0; text-align:center;
 display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
#discover .talent-card .creator-card-agency { max-width:100%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; text-align:center; }
#discover .creator-card-link-slot { display:flex; align-items:center; justify-content:center; width:100%; height:100%; min-width:0; text-align:center; line-height:1.3; }
#discover .creator-card-link-slot>* { max-width:100%; overflow-wrap:anywhere; }
#discover .talent-card .creator-card-favorite { width:min(100%,144px)!important; height:40px!important; min-height:40px!important; margin:0!important; padding:4px 8px!important; justify-self:center; white-space:nowrap; }
@media(max-width:720px) {
 #discover .talent-card { --directory-avatar-size:56px; gap:6px!important; }
 #discover .featured-grid .talent-card { --directory-avatar-size:44px; }
}


#onboardGrid .talent-card { position:relative; }
.featured-pr { position:absolute;top:8px;right:8px;border:1px solid #a5b1cc;border-radius:4px;padding:2px 6px;font-size:11px;line-height:1.3;background:#1b2940;color:#e6edff; }

/* Keep weekly date context below the fixed navigation and controls. */
#schedule :is(.week-card-layout,.week-simple-layout) {
 overflow:visible!important;
}
#schedule :is(.week-card-layout>.card-day-heading,.week-simple-layout>.all-schedule-day-heading) {
 position:static;
 z-index:3;
 align-self:start;
 box-sizing:border-box;
 margin:0 0 8px;
 padding:8px 0;
 background:#202e44;
 line-height:1.3;
 border-bottom:1px solid #435576;
}
@media(max-width:720px) {
 #schedule .stream-card-footer .stream-card-x { display:none!important; }
}

/* Current weekly date is rendered outside the schedule grid for mobile reliability. */
.floating-schedule-date {
 position:fixed; z-index:3; box-sizing:border-box; padding:8px 0;
 background:#202e44; color:#e6edff; border-bottom:1px solid #435576;
 font-size:15px; font-weight:700; line-height:1.3; pointer-events:none;
}
.floating-schedule-date[hidden] { display:none!important; }

/* Mobile compact trial. Revert this block and its matching schedule actions to restore.
   Baseline: backup/mobile-before-compact-20261105. */
.mobile-favorite-symbol,.mobile-stream-details { display:none; }
@media(max-width:720px) {
 body[data-guide-layout="simple"] #schedule .stream-card {
  position:relative; grid-template-columns:64px minmax(0,1fr) 36px!important;
  grid-template-rows:auto auto!important; column-gap:7px!important; row-gap:3px!important;
  padding:8px!important; min-height:96px!important; align-items:center!important;
 }
 body[data-guide-layout="simple"] #schedule .stream-card .stream-preview-wrap {
  grid-column:1; grid-row:1/3; width:64px!important; min-width:64px!important;
  height:40px!important; min-height:40px!important; align-self:center;
 }
 body[data-guide-layout="simple"] #schedule .stream-card .stream-content {
  grid-column:2; grid-row:1; gap:2px!important;
 }
 body[data-guide-layout="simple"] #schedule .stream-card .stream-card-footer {
  display:contents!important;
 }
 body[data-guide-layout="simple"] #schedule .stream-card-footer .review-card-platform-state {
  grid-column:2; grid-row:2; justify-content:flex-start!important; gap:4px!important;
  min-width:0; font-size:10px;
 }
 body[data-guide-layout="simple"] #schedule .stream-card-footer .review-card-favorite {
  grid-column:3; grid-row:1; align-self:start;
  width:36px!important; min-width:36px!important; height:36px!important; min-height:36px!important;
  padding:0!important; font-size:24px!important; background:transparent!important;
  border-color:transparent!important;
 }
 body[data-guide-layout="simple"] #schedule .stream-card-footer .full-favorite-label,
 body[data-guide-layout="simple"] #schedule .stream-card-footer .review-card-channel {
  display:none!important;
 }
 body[data-guide-layout="simple"] #schedule .mobile-favorite-symbol { display:inline; }
 body[data-guide-layout="simple"] #schedule .mobile-stream-details {
  display:inline-flex; grid-column:3; grid-row:2; align-items:center; justify-content:center;
  width:36px; height:28px; padding:0; border:0; border-radius:6px;
  background:transparent; color:#c4d1ee; font-size:24px; line-height:1; cursor:pointer;
 }
 body[data-guide-layout="simple"] #schedule .stream-card .time-note {
  font-size:10px!important; line-height:1.2!important; margin:0!important;
 }
 body[data-guide-layout="simple"] #schedule .stream-card .review-card-creator {
  min-height:20px!important; height:20px!important; gap:5px!important;
 }
 body[data-guide-layout="simple"] #schedule .stream-card .review-card-creator .avatar {
  width:20px!important; height:20px!important; min-width:20px!important; flex:0 0 20px!important;
 }
 body[data-guide-layout="simple"] #schedule .stream-card .stream-title {
  font-size:11px!important; line-height:1.25!important; margin:0!important;
 }
}
