body.tai-player-page #masthead,
body.tai-player-page #colophon,
body.single-tai_sample #masthead,
body.single-tai_sample #colophon,
body.post-type-archive-tai_sample #masthead,
body.post-type-archive-tai_sample #colophon {
    display: none !important;
}

body.tai-player-page #content,
body.tai-player-page .ast-container,
body.single-tai_sample .ast-container,
body.post-type-archive-tai_sample .ast-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tai-watch {
    background: #fff;
    min-height: 100vh;
}

.tai-watch-main {
    padding: 20px 0 64px;
}

.tai-watch-layout {
    width: min(1600px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 402px;
    gap: 24px;
    align-items: start;
}

.tai-watch-layout.is-theater {
    grid-template-columns: 1fr;
}

.tai-watch-layout.is-theater .tai-watch-side {
    display: none;
}

.tai-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.tai-player-frame,
.tai-player-video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: contain;
    background: #000;
}

.tai-player-empty {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: #111 center / cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 24px;
}

.tai-player-empty p {
    background: rgba(0, 0, 0, 0.55);
    padding: 12px 16px;
    border-radius: 10px;
}

.tai-player-ui {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.2s;
}

.tai-player:hover .tai-player-ui,
.tai-player.is-paused .tai-player-ui,
.tai-player.ui-on .tai-player-ui {
    opacity: 1;
}

.tai-big-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 72px;
    height: 72px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.tai-big-play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #e63946;
}

.tai-player.is-playing .tai-big-play {
    display: none;
}

.tai-player-bar {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    padding: 28px 12px 10px;
    color: #fff;
}

.tai-seek,
.tai-vol {
    width: 100%;
    accent-color: #e63946;
    cursor: pointer;
}

.tai-player-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.tai-player-row button {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    min-width: 32px;
    min-height: 32px;
}

.tai-vol {
    width: 84px;
}

.tai-time {
    font-size: 12px;
    opacity: 0.9;
}

.tai-player-spacer {
    flex: 1;
}

.tai-watch-title {
    margin: 16px 0 12px;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.35;
    font-weight: 800;
}

.tai-watch-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.tai-channel {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tai-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e63946;
    color: #fff;
    font-weight: 800;
}

.tai-channel strong {
    display: block;
    font-size: 15px;
}

.tai-channel span {
    color: #667085;
    font-size: 12px;
}

.tai-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tai-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 0;
    background: #f2f2f2;
    color: #111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.tai-chip:hover,
.tai-chip.is-on {
    background: #e5e5e5;
}

.tai-chip.is-on {
    background: #111;
    color: #fff;
}

.tai-desc {
    margin-top: 14px;
    background: #f2f2f2;
    border-radius: 12px;
    padding: 14px 16px;
}

.tai-desc-stats {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 13px;
}

.tai-desc-body {
    color: #333;
    line-height: 1.7;
    max-height: 4.8em;
    overflow: hidden;
}

.tai-desc.is-open .tai-desc-body {
    max-height: none;
}

.tai-desc-more {
    margin-top: 8px;
    background: transparent;
    border: 0;
    font-weight: 800;
    cursor: pointer;
    padding: 0;
}

.tai-watch-side h2 {
    margin: 0 0 12px;
    font-size: 16px;
}

.tai-rec {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 10px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 12px;
}

.tai-rec-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    background: #1f2937 center / cover no-repeat;
}

.tai-rec-thumb i {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
}

.tai-rec-thumb i::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent #e63946;
}

.tai-rec-copy strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.35;
}

.tai-rec-copy em,
.tai-rec-copy small {
    display: block;
    font-style: normal;
    color: #667085;
    font-size: 12px;
    margin-top: 4px;
}

@media (max-width: 1100px) {
    .tai-watch-layout {
        grid-template-columns: 1fr;
    }
    .tai-watch-layout.is-theater .tai-watch-side {
        display: block;
    }
}

