/*
 * Internet Legends in the classic 2000s video-site look (owner, 2026-11-27).
 * Plain white page, Arial, blue links, grey gradient boxes and buttons, small 4:3 thumbnails,
 * and a dark player with its own control bar. Our own name and star, no other site's logo.
 */
.lg-tube { --lt-link: #0033cc; --lt-text: #333; --lt-meta: #666; --lt-line: #ccc; --lt-soft: #f1f1f1; --lt-red: #cc181e;
	max-width: 1480px; margin: clamp(14px, 2vw, 26px) auto 40px; padding: 0 10px; font: 13px/1.35 Arial, Helvetica, sans-serif; color: var(--lt-text); }
.lt-wrap { padding: 12px 14px 20px; background: #fff; border: 1px solid #999; box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.lg-tube a { color: var(--lt-link); text-decoration: none; }
.lg-tube a:hover { text-decoration: underline; }
.lg-tube :focus-visible { outline: 2px solid #3b7bff; outline-offset: 2px; }

/* masthead */
.lt-mast { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand search chan" "brand tag chan"; column-gap: 18px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--lt-line); }
.lt-brand { grid-area: brand; display: inline-flex; align-items: baseline; gap: 2px; font-family: Arial, Helvetica, sans-serif; font-weight: bold; letter-spacing: -1px; }
.lg-tube .lt-brand:hover { text-decoration: none; }
.lt-brand__orb { align-self: center; width: 36px; height: 36px; margin-right: 7px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); transition: transform .2s; }
.lt-brand__orb svg { display: block; width: 100%; height: 100%; }
.lt-brand:hover .lt-brand__orb { transform: rotate(-8deg) scale(1.06); }
@media (prefers-reduced-motion: reduce) { .lt-brand__orb { transition: none; } }
.lt-brand { position: relative; padding-bottom: 6px; margin-right: 28px; }
.lt-brand__a, .lt-brand__b { font: 900 31px/1 "Arial Black", "Arial Bold", Gadget, Arial, sans-serif; letter-spacing: -1.5px; -webkit-box-reflect: below -3px linear-gradient(transparent 55%, rgba(255,255,255,.3)); }
.lt-brand__a { color: #000; text-shadow: 0 1px 0 #fff, 0 2px 3px rgba(0,0,0,.15); }
.lt-brand__b { margin-left: 3px; color: #cc181e; background: linear-gradient(#ff4d4d, #e0161c 52%, #b3060c 53%, #cc181e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 1px 0 #6e0000); }
.lt-brand::after { content: "beta"; position: absolute; right: -26px; top: -4px; padding: 1px 5px; border-radius: 3px; font: bold 10px/1.3 Arial, sans-serif; color: #fff; background: linear-gradient(#8a8a8a, #555); box-shadow: 0 1px 2px rgba(0,0,0,.3); transform: rotate(8deg); }
.lt-search { grid-area: search; display: flex; gap: 6px; max-width: 460px; }
.lt-search input { flex: 1; min-width: 0; height: 26px; padding: 2px 6px; border: 1px solid #999; border-top-color: #777; font: 14px Arial, Helvetica, sans-serif; color: #000; background: #fff; }
.lt-chan { grid-area: chan; display: flex; gap: 4px; align-self: start; font-size: 12px; font-weight: bold; }
.lt-chan a + a::before { content: "|"; margin-right: 4px; color: #999; font-weight: normal; }
.lg-tube .lt-chan a.is-on { color: #000; }
.lt-mast__tag { grid-area: tag; margin: 4px 0 0; font-size: 12px; color: var(--lt-meta); }

/* buttons: the grey gradient ones */
.lt-btn, .lg-tube .lt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 26px; padding: 0 12px; border: 1px solid #999; border-radius: 3px; font: bold 12px Arial, Helvetica, sans-serif; color: #000; text-decoration: none; cursor: pointer;
	background: linear-gradient(#fff, #e0e0e0); box-shadow: inset 0 1px 0 #fff; white-space: nowrap; }
.lt-btn:hover, .lg-tube .lt-btn:hover { text-decoration: none; background: linear-gradient(#fff, #d2d2d2); border-color: #777; }
.lt-btn:active { background: linear-gradient(#d8d8d8, #f4f4f4); }
.lt-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lt-btn svg circle { fill: currentColor; stroke: none; }
.lt-btn--go { width: 100%; min-height: 32px; font-size: 13px; }

/* category tabs */
.lt-tabs { display: flex; flex-wrap: wrap; gap: 3px; margin: 12px 0 0; padding: 0 4px; border-bottom: 1px solid #999; }
.lt-tab { position: relative; top: 1px; padding: 5px 12px; border: 1px solid #aaa; border-bottom: 0; border-radius: 4px 4px 0 0; font-weight: bold; font-size: 12px; background: linear-gradient(#f7f7f7, #dcdcdc); }
.lg-tube .lt-tab { color: #333; }
.lg-tube .lt-tab:hover { text-decoration: none; background: linear-gradient(#fff, #e8e8e8); }
.lg-tube .lt-tab.is-on { color: #000; background: #fff; border-color: #999; padding-bottom: 6px; }

/* boxes */
.lt-box { border: 1px solid var(--lt-line); background: #fff; }
.lt-box__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0; padding: 5px 8px; border-bottom: 1px solid var(--lt-line); font: bold 14px Arial, Helvetica, sans-serif; color: #000; background: linear-gradient(#f4f4f4, #dedede); }
.lt-box__count { font-size: 11px; font-weight: normal; color: var(--lt-meta); }
.lt-box__body { padding: 8px; }
.lt-cols { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 12px; margin-top: 12px; }
.lt-side { display: grid; gap: 12px; align-content: start; }
.lt-cats { list-style: none; margin: 0; padding: 6px 8px; }
.lt-cats li { padding: 3px 0; }
.lt-cats a { font-weight: bold; }
.lg-tube .lt-cats a.is-on { color: #000; }
.lt-cats span { font-size: 11px; color: var(--lt-meta); }

/* clip grid: small 4:3 thumbnails with a 1px frame, blue bold title, grey meta */
.lt-grid { list-style: none; margin: 0; padding: 10px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px 12px; }
.lt-cell { min-width: 0; }
.lt-cell[hidden] { display: none; }
.lt-thumb { position: relative; display: block; aspect-ratio: 4 / 3; padding: 2px; border: 1px solid #999; background: #000; overflow: hidden; }
.lt-thumb img, .lt-thumb video, .lt-thumb svg, .lt-thumb > span:not(.lt-thumb__len) { display: block; width: 100%; height: 100%; object-fit: cover; }
.lt-thumb:hover { border-color: var(--lt-link); }
.lt-thumb__len { position: absolute; right: 4px; bottom: 4px; padding: 0 3px; font: bold 11px/15px Arial, Helvetica, sans-serif; color: #fff; background: rgba(0,0,0,.8); }
.lt-cell__text { display: grid; gap: 1px; margin-top: 4px; }
.lt-cell__title { font-weight: bold; font-size: 12px; line-height: 1.25; overflow-wrap: anywhere; }
.lt-cell__meta { font-size: 11px; color: var(--lt-meta); }
.lt-cell__meta b { font-weight: normal; color: #333; }
.lt-more { margin: 0; padding: 0 10px 12px; text-align: center; }
.lt-more[hidden] { display: none; }
.lt-none { margin: 0; padding: 16px 10px; font-size: 13px; }
.lt-none[hidden] { display: none; }

/* watch page */
.lt-watch { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; margin-top: 12px; }
.lt-watch__title { margin: 0 0 8px; font: bold 18px/1.2 Arial, Helvetica, sans-serif; color: #000; letter-spacing: 0; }
.lt-under { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; margin-top: 8px; }
.lt-about p { margin: 0 0 5px; }
.lt-k { font-weight: bold; color: var(--lt-meta); }
.lt-about__story { margin-top: 8px; padding-top: 8px; border-top: 1px dotted var(--lt-line); font-size: 12px; line-height: 1.45; }
.lt-about__story p { margin: 0 0 .8em; }
.lt-url { display: flex; align-items: center; gap: 6px; margin: 8px 0 0 !important; padding-top: 8px; border-top: 1px dotted var(--lt-line); }
.lt-url input { flex: 1; min-width: 0; height: 20px; padding: 0 4px; border: 1px solid #999; font: 11px Arial, Helvetica, sans-serif; color: #333; background: #fafafa; }
.lt-rel { list-style: none; margin: 0; padding: 4px 8px; max-height: 620px; overflow-y: auto; }
.lt-cell--row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px; padding: 6px 0; border-bottom: 1px dotted #ddd; }
.lt-cell--row:last-child { border-bottom: 0; }
.lt-cell--row .lt-cell__text { margin-top: 0; align-content: start; }

/* views and comments */
.lt-views { margin: 0 0 0 auto; display: grid; justify-items: end; gap: 3px; font-size: 13px; color: var(--lt-meta); }
.lt-views p { margin: 0; }
.lt-likes { display: grid; justify-items: end; gap: 2px; font-size: 11px; color: var(--lt-meta); }
.lt-likes__bar { display: block; width: 150px; height: 5px; background: #cc2b2b; }
.lt-likes__bar span { display: block; height: 100%; background: #6aa52e; }
.lt-views b { font-size: 16px; color: #000; }
.lt-cmts { margin-top: 12px; }
.lt-cmts__h { margin: 0 0 6px; font: bold 13px Arial, Helvetica, sans-serif; color: #000; }
.lt-cmts form { display: grid; gap: 6px; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px dotted var(--lt-line); }
.lt-cmts form p { margin: 0; }
.lt-cmts label { font-size: 11px; font-weight: bold; color: var(--lt-meta); }
.lt-cmts textarea, .lt-cmts input[type="text"], .lt-cmts input[type="email"], .lt-cmts input[type="url"] { box-sizing: border-box; width: 100%; padding: 4px 6px; border: 1px solid #999; border-top-color: #777; font: 13px Arial, Helvetica, sans-serif; color: #000; background: #fff; }
.lt-cmts textarea { min-height: 70px; resize: vertical; }
.lt-cmts .comment-form-cookies-consent { display: flex; gap: 6px; align-items: center; }
.lt-cmts .comment-form-cookies-consent label { font-weight: normal; }
.lt-cmts .form-submit { margin: 0; }
.lt-cmts__list, .lt-cmts__list .children { list-style: none; margin: 0; padding: 0; }
.lt-cmts__list .children { margin-left: 24px; border-left: 2px solid #eee; padding-left: 10px; }
.lt-cmt { padding: 8px 0; border-bottom: 1px dotted #ddd; }
.lt-cmt:last-child { border-bottom: 0; }
.lt-cmt__head { margin: 0 0 3px; font-size: 12px; }
.lt-cmt__who { color: var(--lt-link); }
.lt-cmt__when { font-size: 11px; color: var(--lt-meta); }
.lt-cmt__wait { margin-left: 6px; font-size: 11px; color: #a60; }
.lt-cmt__reply { margin-left: 6px; font-size: 11px; }
.lt-cmt__text { font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.lt-cmt__text p { margin: 0 0 .5em; }
.lt-cmts__none { margin: 0; font-size: 12px; color: var(--lt-meta); }

/* the player: square corners, black, with the classic bar under it */
.lt-stage { position: relative; background: #000; border: 1px solid #000; }
.lg-tube .lg-player { max-width: none; border-radius: 0; box-shadow: none; }
.lg-tube .lg-next { max-width: none; border-radius: 0; bottom: 30px; }
.lg-tube .lt-stage:not(.has-bar) .lg-next { bottom: 0; }
.lt-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px; color: #ddd; background: linear-gradient(#444, #2a2a2a 50%, #1c1c1c 51%, #111); border-top: 1px solid #555; user-select: none; -webkit-user-select: none; }
.lt-bar__btn { display: grid; place-items: center; flex: none; width: 28px; height: 22px; padding: 0; border: 1px solid #000; border-radius: 3px; color: #e6e6e6; cursor: pointer; background: linear-gradient(#5a5a5a, #333 50%, #262626 51%, #1a1a1a); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.lt-bar__btn:hover { color: #fff; background: linear-gradient(#6a6a6a, #444 50%, #333 51%, #222); }
.lt-bar__btn svg { width: 14px; height: 14px; fill: currentColor; }
.lt-bar__play .i-pause { display: none; }
.lt-bar.is-playing .lt-bar__play .i-play { display: none; }
.lt-bar.is-playing .lt-bar__play .i-pause { display: inline; }
.lt-bar__vol .i-x { display: none; }
.lt-bar.is-muted .lt-bar__vol .i-x { display: inline; }
.lt-bar.is-muted .lt-bar__vol .i-wave { display: none; }
.lt-bar__track { position: relative; flex: 1; height: 8px; border: 1px solid #000; border-radius: 1px; background: #444; cursor: pointer; touch-action: none; box-shadow: inset 0 1px 2px rgba(0,0,0,.6); }
.lt-bar__track:focus-visible { outline: 2px solid #3b7bff; outline-offset: 2px; }
.lt-bar__load { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #777; }
.lt-bar__done { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(#ff3b3b, var(--lt-red) 60%, #8e0000); }
.lt-bar__knob { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #cfcfcf 55%, #888); box-shadow: 0 0 0 1px #000; }
.lt-bar__time { flex: none; min-width: 78px; font: 11px Arial, Helvetica, sans-serif; color: #ccc; text-align: center; font-variant-numeric: tabular-nums; }
.lt-bar__level { flex: none; width: 60px; height: 6px; margin: 0; accent-color: var(--lt-red); cursor: pointer; }
.lt-stage:fullscreen { display: flex; flex-direction: column; border: 0; }
.lt-stage:fullscreen .lg-player { flex: 1; width: 100%; height: auto; aspect-ratio: auto; }
.lt-stage:fullscreen .lg-next { bottom: 30px; }

/* the tap-for-sound pill keeps working, in the bar's colours */
.lg-tube .lg-sound { border-radius: 3px; color: #000; background: linear-gradient(#fff, #e0e0e0); box-shadow: 0 0 0 1px #000, 0 4px 12px rgba(0,0,0,.5); }

@media (max-width: 1200px) {
	.lt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.lt-watch { grid-template-columns: minmax(0, 1fr); }
	.lt-cols { grid-template-columns: minmax(0, 1fr); }
	.lt-side { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
	.lt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 599.98px) {
	.lg-tube { padding: 0 6px; }
	.lt-wrap { padding: 8px 8px 14px; }
	.lt-mast { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "search" "tag"; row-gap: 6px; }
	.lt-brand__a, .lt-brand__b { font-size: 24px; }
	.lt-brand::after { right: -22px; }
	.lt-search { max-width: none; }
	.lt-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.lt-tab { flex: none; }
	.lt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; gap: 12px 8px; }
	.lt-bar__level { display: none; }
	.lt-bar__time { min-width: 0; }
	.lt-bar__btn { width: 32px; height: 24px; }
	.lt-rel { max-height: none; }
}

/* browse row: Random | Most Viewed | Top Rated | Most Discussed | Recently Added, then Play all */
.lt-sorts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 6px 8px; border: 1px solid #999; border-top: 0; font-size: 12px; background: #f9f9f9; }
.lt-sorts__k { font-weight: bold; color: var(--lt-meta); }
.lg-tube .lt-sorts a.is-on { color: #000; font-weight: bold; }
.lg-tube .lt-sorts a.is-on::before { content: "» "; color: var(--lt-red); }
.lt-sorts .lt-playall { margin-left: auto; color: #000; }

/* stars: small ones on cards, clickable ones under the player */
.lt-stars { position: relative; display: inline-block; font-size: 12px; line-height: 1; letter-spacing: 1px; color: #ccc; vertical-align: -1px; }
.lt-stars::before { content: "★★★★★"; }
.lt-stars__on { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #e5332a; }
.lt-stars__on::before { content: "★★★★★"; }
.lt-rate { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--lt-meta); }
.lt-rate__stars { --fill: 0%; --hover: 0%; position: relative; display: inline-flex; background: linear-gradient(90deg, #f5a000 var(--fill), #ccc var(--fill)); -webkit-background-clip: text; background-clip: text; }
.lt-rate__stars.is-hover { background: linear-gradient(90deg, #ff7b00 var(--hover), #ccc var(--hover)); -webkit-background-clip: text; background-clip: text; }
.lt-rate__star { padding: 0 1px; border: 0; font: 20px/1 Arial, sans-serif; color: transparent; background: none; cursor: pointer; }
.lt-rate.is-done .lt-rate__star { cursor: default; }
.lt-rate__star:focus-visible { outline: 1px dotted #000; }
.lt-fav.is-on { color: #a66d00; border-color: #c98b00; background: linear-gradient(#fff8dd, #ffe9a3); }

/* playing a whole list */
.lt-playing { margin: 0 0 6px; padding: 4px 8px; border: 1px solid #e3c96a; font-size: 12px; font-weight: bold; background: #fff8d6; }

/* On This Day */
.lt-otd__list { list-style: none; margin: 0; padding: 6px 8px; }
.lt-otd__list li { padding: 4px 0; border-bottom: 1px dotted #ddd; }
.lt-otd__list li:last-child { border-bottom: 0; }
.lt-otd__list a { display: block; font-weight: bold; font-size: 12px; }
.lt-otd__list span { font-size: 11px; color: var(--lt-meta); }

/* Video Responses */
.lt-resp { margin-top: 12px; }
.lt-grid--resp { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* the old spinning-dots loader */
.lt-spin { position: absolute; left: 50%; top: calc(50% - 15px); z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; pointer-events: none; }
.lt-spin[hidden] { display: none; }
.lt-spin i { position: absolute; left: 19px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: #fff; transform-origin: 3px 22px; animation: lt-dots .8s linear infinite; }
.lt-spin i:nth-child(1) { transform: rotate(0deg); animation-delay: -.7s; } .lt-spin i:nth-child(2) { transform: rotate(45deg); animation-delay: -.6s; }
.lt-spin i:nth-child(3) { transform: rotate(90deg); animation-delay: -.5s; } .lt-spin i:nth-child(4) { transform: rotate(135deg); animation-delay: -.4s; }
.lt-spin i:nth-child(5) { transform: rotate(180deg); animation-delay: -.3s; } .lt-spin i:nth-child(6) { transform: rotate(225deg); animation-delay: -.2s; }
.lt-spin i:nth-child(7) { transform: rotate(270deg); animation-delay: -.1s; } .lt-spin i:nth-child(8) { transform: rotate(315deg); animation-delay: 0s; }
@keyframes lt-dots { 0% { opacity: 1; } 100% { opacity: .15; } }
@media (prefers-reduced-motion: reduce) { .lt-spin i { animation: none; opacity: .6; } }

@media (max-width: 599.98px) {
	.lt-mast { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "chan" "search" "tag"; }
	.lt-grid--resp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lt-sorts .lt-playall { margin-left: 0; }
}
.lt-thumbs { display: inline-flex; align-items: center; gap: 4px; }
.lt-thumbs__b.is-on { color: #000; border-color: #6aa52e; background: linear-gradient(#f2ffe3, #cdeeaa); }
.lt-thumbs__b[data-v="down"].is-on { border-color: #cc2b2b; background: linear-gradient(#fff0f0, #f4c2c2); }
.lt-thumbs__msg { font-size: 11px; color: var(--lt-meta); }

/* YouTube-era red for the main action buttons */
.lg-tube .lt-search .lt-btn, .lg-tube .lt-playall { color: #fff; border-color: #a50f14; background: linear-gradient(#e8434a, #cc181e 55%, #b0121a); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); text-shadow: 0 -1px 0 rgba(0,0,0,.25); }
.lg-tube .lt-search .lt-btn:hover, .lg-tube .lt-playall:hover { color: #fff; border-color: #870b10; background: linear-gradient(#f05259, #d81f25 55%, #b8141c); }
.lg-tube .lt-tab.is-on { box-shadow: inset 0 3px 0 #cc181e; }
.lt-note { margin: 8px 0 0 !important; font-size: 10px; line-height: 1.35; color: #888; }

/* Estimate note under views / likes (owner, 2026-11-28) */
.lt-views .lt-views__note { max-width: 260px; margin: 2px 0 0; font-size: 10px; line-height: 1.3; color: #888; text-align: right; }
@media (max-width: 700px) { .lt-views .lt-views__note { max-width: none; text-align: left; } }
