/* WhiteFeathers.org Tube: a watch-page layout (section list, main player, scrolling list) in the shared dark theme. */
body.page-tube #page { max-width: 1280px; }
body.page-tube .widget-area { display: none; }
body.page-tube .wrapper { display: block; }
body.page-tube .site-content { width: 100%; }
body.page-tube .entry-content .tube-intro { font-size: 14px; line-height: 1.6; margin: 0 0 12px; color: #c6d9e7; }

body.page-tube .tube-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr) 340px; gap: 20px; align-items: start; }

body.page-tube .tube-categories ul { margin: 0; padding: 0; list-style: none; }
body.page-tube .tube-categories { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; }
body.page-tube .tube-cat { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 0; border-radius: 6px; background: transparent; color: #d8ecf7; font: 600 13px/1.3 "Open Sans", Arial, sans-serif; text-align: left; cursor: pointer; }
body.page-tube .tube-cat span { color: #a9c3d2; font-size: 11px; font-weight: 400; }
body.page-tube .tube-cat:hover, body.page-tube .tube-cat:focus-visible { background: rgba(103, 215, 245, 0.12); }
body.page-tube .tube-cat.is-selected { background: rgba(103, 215, 245, 0.22); color: #67d7f5; }

body.page-tube .tube-detail[hidden] { display: none; }
body.page-tube .tube-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #061426; }
body.page-tube .tube-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
body.page-tube .tube-play { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0; border: 0; background: #061426; cursor: pointer; }
body.page-tube .tube-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.page-tube .tube-play-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; padding-left: 5px; box-sizing: border-box; border-radius: 50%; background: #67d7f5; color: #061426; font-size: 26px; box-shadow: 0 2px 12px rgba(0, 0, 0, .6); transition: transform .15s ease; }
body.page-tube .tube-play:hover .tube-play-icon, body.page-tube .tube-play:focus-visible .tube-play-icon { transform: scale(1.08); }
body.page-tube .entry-content .tube-title { margin: 14px 0 4px; color: #edf7ff; font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; }
body.page-tube .entry-content .tube-detail p { margin: 0 0 10px; font-size: 14px; line-height: 1.65; }
body.page-tube .entry-content .tube-credit { color: #a9c3d2; font-size: 13px; }
body.page-tube .entry-content .tube-summary { padding: 12px 14px; border-radius: 8px; background: rgba(8, 31, 55, 0.92); }
body.page-tube .entry-content .tube-context { color: #c6d9e7; }
body.page-tube .tube-label { margin: 10px 0 4px; color: #a9c3d2; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
body.page-tube .tube-sources { margin: 0; padding-left: 18px; font-size: 13px; }
body.page-tube .entry-content .tube-soon { margin: 18px 0 0; padding: 12px 14px; border: 1px dashed rgba(103, 215, 245, 0.38); border-radius: 8px; color: #a9c3d2; font-size: 13px; }

body.page-tube .tube-queue { position: sticky; top: 12px; display: flex; flex-direction: column; max-height: calc(100vh - 24px); border: 1px solid rgba(103, 215, 245, 0.28); border-radius: 10px; background: rgba(8, 31, 55, 0.92); overflow: hidden; }
body.page-tube .tube-queue-head { display: flex; align-items: center; gap: 10px; padding: 10px; border-bottom: 1px solid rgba(103, 215, 245, 0.28); }
body.page-tube .tube-search { flex: 1 1 auto; min-width: 0; }
body.page-tube .tube-search input { width: 100%; box-sizing: border-box; padding: 7px 10px; border: 1px solid rgba(103, 215, 245, 0.38); border-radius: 18px; font: 13px "Open Sans", Arial, sans-serif; }
body.page-tube .entry-content .tube-count { margin: 0; color: #a9c3d2; font-size: 12px; white-space: nowrap; }
body.page-tube .tube-list { margin: 0; padding: 6px; list-style: none; overflow-y: auto; }
body.page-tube .tube-item[hidden] { display: none; }
body.page-tube .tube-item-button { display: flex; gap: 10px; width: 100%; padding: 6px; border: 0; border-radius: 8px; background: transparent; color: #edf7ff; text-align: left; cursor: pointer; }
body.page-tube .tube-item-button:hover, body.page-tube .tube-item-button:focus-visible { background: rgba(103, 215, 245, 0.12); }
body.page-tube .tube-item.is-current .tube-item-button { background: rgba(103, 215, 245, 0.22); }
body.page-tube .tube-item-thumb { flex: 0 0 128px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #061426; }
body.page-tube .tube-item-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.page-tube .tube-item-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
body.page-tube .tube-item-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font: 600 12.5px/1.35 "Open Sans", Arial, sans-serif; overflow-wrap: anywhere; }
body.page-tube .tube-item-channel { color: #a9c3d2; font-size: 11.5px; }
body.page-tube .entry-content .tube-empty { margin: 0; padding: 16px; color: #a9c3d2; text-align: center; font-size: 13px; }
body.page-tube .entry-content .tube-footer { margin-top: 26px; padding-top: 10px; border-top: 1px solid rgba(103, 215, 245, 0.28); color: #a9c3d2; font-size: 12px; }
body.page-tube .entry-content .tube-footer p { margin: 0; color: #a9c3d2; }

@media (max-width: 1100px) {
  body.page-tube .tube-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  body.page-tube .tube-categories { position: static; max-height: none; grid-column: 1 / -1; }
  body.page-tube .tube-categories ul { display: flex; flex-wrap: wrap; gap: 6px; }
  body.page-tube .tube-cat { width: auto; border: 1px solid rgba(103, 215, 245, 0.38); border-radius: 18px; }
}
@media (max-width: 760px) {
  body.page-tube .tube-layout { grid-template-columns: minmax(0, 1fr); }
  body.page-tube .tube-queue { position: static; max-height: 480px; }
}
