/* Details page — vive dentro do .hs-main. Sidebar cuidada pelo HalloShell.
   Chrome 63 gotchas: sem `gap`, sem `inset:0`, sem `aspect-ratio`. */

.dt-page {
    color: #fff;
    padding-bottom: 60px;
    min-height: 100vh;
    background: #0a0a0c;  /* Chrome 63: sem isso fica transparente e vaza pro shell */
}

/* ============ HERO ============ */
.dt-hero {
    position: relative;
    width: 100%;
    height: 76vh;
    min-height: 520px;
    overflow: hidden;
    background: #0a0a0c;
}
.dt-hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}
.dt-hero-shade {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.7) 40%,
        rgba(0,0,0,0.15) 100%);
}
.dt-hero-shade::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 30%;
    background: linear-gradient(0deg, #0a0a0c 0%, rgba(10,10,12,0) 100%);
}
.dt-hero-content {
    position: absolute;
    left: 60px;
    /* top: alinha topo do logo-slot com topo do primeiro item da sidebar
       (sidebar padding-top 24 + nav-item padding-top 8 = 32) */
    top: 32px;
    bottom: 40px;
    right: 60px;
    max-width: 900px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}
/* Reset do margin gigante do home overview quando reusado dentro de Details.
   No Home hero, overview tem margin-bottom:240px pra empurrar Diretor/Elenco
   pra baixo (Android pattern). No Details isso não faz sentido. */
.dt-hero-content .hv-hero-overview {
    margin-bottom: 12px;
    -webkit-line-clamp: 4;
}
.dt-hero-content .hv-hero-crew {
    margin-bottom: 6px;
}
/* Botões colam no fundo do hero-content */
.dt-hero-content .dt-actions {
    margin-top: auto;
}
/* Removidos estilos .dt-badge/.dt-meta/.dt-overview/.dt-people/.dt-hero-logo/
   .dt-hero-title — Details reusa as classes .hv-* do Home hero pra ter
   layout 100% idêntico (badges numa linha, meta 'Gênero · Ano', overview
   com clamp, crew style). Só .dt-actions permanece por ser específico. */
.dt-actions {
    margin-top: 28px;
}
.dt-actions > * + * { margin-left: 12px; }

.dt-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 700;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    transition: transform 0.15s, background 0.15s, border-color 0.15s;
    vertical-align: middle;
}
.dt-btn-primary {
    background: #fff;
    color: #000;
}
.dt-btn-primary:focus, .dt-btn-primary:hover {
    background: #4fb6e3;
    color: #fff;
    transform: scale(1.05);
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(79,182,227,0.5);
}
.dt-btn-secondary {
    background: rgba(255,255,255,0.18);
    color: #fff;
}
.dt-btn-secondary:focus, .dt-btn-secondary:hover {
    background: rgba(255,255,255,0.35);
    transform: scale(1.05);
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(79,182,227,0.5);
}

/* ============ RELATED RAIL ============ */
.dt-related-slot {
    margin-top: -40px;
    padding: 20px 0 40px 40px;
    position: relative;
    z-index: 3;
}

/* ============ SEASONS + EPISODES ============ */
.dt-seasons-slot {
    padding: 20px 40px 40px 60px;
}
.dt-seasons-tabs {
    margin-bottom: 24px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
}
.dt-seasons-tabs::-webkit-scrollbar { display: none; }
.dt-season-tab {
    display: inline-block;
    padding: 10px 22px;
    background: rgba(255,255,255,0.10);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 24px;
    cursor: pointer;
    outline: none;
    transition: all 0.15s;
}
.dt-season-tab + .dt-season-tab { margin-left: 10px; }
.dt-season-tab.dt-season-active {
    background: #fff;
    color: #000;
}
.dt-season-tab:focus {
    border-color: #4fb6e3;
    box-shadow: 0 0 0 3px rgba(79,182,227,0.5);
    transform: scale(1.05);
}

.dt-episodes-list {
    /* Vertical list */
}
.dt-episode {
    display: flex;
    align-items: stretch;
    padding: 12px;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.04);
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    outline: none;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.dt-episode > * + * { margin-left: 16px; }
.dt-episode:focus,
.dt-episode:hover {
    background: rgba(255,255,255,0.14);
    border-color: #4fb6e3;
    box-shadow: 0 0 0 3px rgba(79,182,227,0.3);
    transform: scale(1.01);
}
.dt-episode-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.dt-episode-still {
    width: 200px;
    height: 112px;
    background: #1a1a1e;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.dt-episode-info {
    flex: 1;
    min-width: 0;
    padding: 4px 0;
}
.dt-episode-num {
    color: #4fb6e3;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.dt-episode-name {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}
.dt-episode-overview {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dt-episodes-empty {
    color: rgba(255,255,255,0.5);
    font-style: italic;
    padding: 40px 0;
    text-align: center;
}
