/* model.php specific styles – layout/typography come from layout.css */

.model-shell {
  min-height: 100vh;
  padding: 1rem 1.5rem 2rem;
  background: #02040a;
  color: #e5e9ff;
}

.model-topbar {
  margin-bottom: 1rem;
  color: #f5f6ff;
}

.model-logo {
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: #2e8bff;
}
.model-logo:hover {
  text-decoration: underline;
}

.model-topbar-breadcrumb {
  font-size: 0.9rem;
  color: #9096b6;
  margin-left: 0.4rem;
}

.model-topbar-right .badge {
  font-size: 0.8rem;
}

/* Generic panel box */
.model-panel {
  background: #050814;
  border-radius: 1rem;
  border: 1px solid #15192a;
  padding: 0.9rem;
}

/* Player */

.model-player-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 0.8rem;
  overflow: hidden;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* VIDEO MUST SIT ABOVE OVERLAY */
.model-player-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  border: 0;
  outline: none;
  opacity: 1;          /* always visible */
  z-index: 2;          /* above fallback */
}

/* “Loading live stream…” fallback sits under the video */
.model-player-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050814;
  color: #cfd5ff;
  text-align: center;
  padding: 0 1rem;
  font-size: 0.9rem;
  z-index: 1;
}

/* Title + small line under player */

.model-name-big {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f5f6ff;
}

.model-genre-small {
  font-size: 0.85rem;
  color: #9499bf;
}

/* Player buttons: Prev / Next / Random / Reload */

.model-player-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.model-player-actions .btn {
  border-radius: 999px;
  border-color: #2b3048;
  color: #e5e9ff;
  background: #050814;
  padding-inline: 0.9rem;
}
.model-player-actions .btn:hover {
  background: #101428;
  border-color: #2e8bff;
}

/* “Shortcuts: …” line */

.model-shortcuts {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #9299c1;
}

/* Right-side info panel */

.model-info-panel {
  padding: 0;
  overflow: hidden;
}

.model-info-thumb-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
}

.model-info-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* “Bookmarked” pill over thumb */

.model-bookmark-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.75);
  color: #ffd95e;
  display: none;
}
.model-bookmark-pill.is-visible {
  display: inline-block;
}

.model-info-body {
  padding: 0.9rem 0.9rem 1rem;
}

.model-info-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
  color: #f5f6ff;
}

/* small footnote under panel */

.model-info-footnote {
  margin-top: 0.5rem;
  color: #787f9d !important;
}

/* Buttons on right column */

.model-info-buttons .btn {
  border-radius: 999px;
}

.model-info-buttons .btn-light {
  background: #f5f6ff;
  color: #101428;
}

.model-info-buttons .btn-outline-light {
  border-color: #3b4163;
  color: #e5e9ff;
  background: transparent;
}
.model-info-buttons .btn-outline-light:hover {
  background: #101428;
  border-color: #2e8bff;
}

/* Mobile tweaks */

@media (max-width: 767.98px) {
  .model-shell {
    padding-inline: 0.75rem;
  }

  .model-panel {
    border-radius: 0.75rem;
  }
}
