/* Telemeriendas TV (telemeriendas/index.php, 2026-10-23): an 80s set in walnut
   veneer with a rounded tube screen and a champagne metal side panel. Loaded after style.css,
   whose palette, bar, chips and footer it shares */

.tele {
	/* The set, the text under it and the guide take the content's whole width: the bar's
	   (the page width less its 16px padding each side), but no more than lets the whole set fit
	   in the window's height (2026-10-27): the set is its 4:3 screen plus 292px across (frame,
	   cabinet, panel) and 116px down: 94px and its two 22px legs (since 2026-11-13; no feet from
	   2026-10-29, when the formula counted 22px less); it starts 143px down the page (the fixed
	   bar, then the 72px top below, where the antenna lies sideways) and leaves 16px of air. The
	   top is 72px since 2026-11-13 (owner: "En desktop, deja más espacio entre la tele y el navbar
	   para que quede más despejado"; 40px that day before, the balls ~10px under the bar); 96px,
	   room for the upright antenna, until 2026-11-12 (owner: "la antena quitala de todas las vistas
	   y dispositivos"; the formula counted 277px then). Never under
	   940px, the width at which the screen is still as tall as the panel (a shorter window
	   scrolls instead). Phones and portrait tablets stack the set, and set their own width */
	--tele-width: min(var(--page-width) - 32px, max(940px, (100vh - 299px) * 4 / 3 + 292px));
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	padding: 96px 16px 48px;  /* 48px clear above the footer; phones and portrait tablets 44px on top (below). 96px since the rods were doubled (2026-11-13; 72px before) */
}
/* Nothing past the page's sides: turned, the set's sides and back reach out of the window, and a
   phone's browser then took the page as wider than the screen, zoomed out, and the fixed bar
   stretched with it (owner, 2026-10-29). Clipped, not hidden, where the browser can: clip makes
   no scroll box (hidden is only the fallback, on the root, which scrolls the page anyway) */
html:has(> body.tele-page) {
	overflow-x: hidden;
	overflow-x: clip;
}
.tele-page {
	overflow-x: clip;
}

/* ------------------------------------------------------------------
   The set
   ------------------------------------------------------------------ */
.tv {
	--leg-height: 22px;  /* (the legs, section "The set in 3D"; 12px on phones) */
	position: relative;
	width: min(100%, var(--tele-width));
	margin-bottom: var(--leg-height);  /* their room, outside the box, so the turn's middle (tele.js's halfHeight) stays the cabinet's */
}
/* Rabbit-ear antenna on a small dark dome, the rods seen down to it (owner, 2026-10-29: the
   dome was 76 × 30px and hid their roots). The dome (drawn after the rods) covers only their
   last 4px */
.tv-antenna {
	position: absolute;
	bottom: 100%;
	left: 24%;  /* (38% until 2026-11-13, owner: "con la base más a la izquierda de la tele"; 20% until the rods were doubled, when the left one would have reached past the cabinet; 34% on phones) */
	width: 0;
	height: 0;
}
.tv-antenna::after {
	content: "";
	position: absolute;
	bottom: -4px;  /* its foot under the cabinet's edge */
	left: -25px;
	width: 50px;
	height: 20px;
	background: linear-gradient(#4a2c1d, #24140c);
	border-radius: 25px 25px 4px 4px;
}
/* Straight metal rods lying flat out to each side, the left one shorter (owner, 2026-11-13:
   "Recupera las antenas de la tele pero que se desplieguen de forma horizontal", then "Pero
   rectas (sin rizo), con la base más a la izquierda de la tele y siendo la antena de la izquierda
   más corta que la de la derecha, y que salgan totalmente horizontal"), then a little up and thicker ("Inclínalas un poco hacia arriba para que la bola roja no toque la cabina; haz las barras y la bola un poco más gruesas"): 6px wide, 14px balls, at -83 and 83
   degrees (-90 and 90 for an hour, 4px and 10px balls), 107px and 187px long (80px and 140px until a third longer, "alarga las antenas un tercio más de su longitud"), so the set keeps its
   40px under the bar. For an hour that day curly (the 8px wave of 2026-11-12, "Las antenas deben
   ser más largas y rizadas"), 120px at -84 and 84; on 2026-11-12 none at all; until then 120px
   at -56 and 52, the set 96px under the bar (and, earlier, straight 84px rods at -34 and 26) */
.tv-antenna span {
	--len: 374px;  /* (owner, 2026-11-13: "haz las antenas el doble de largas"; 187px before, 140px until "alarga las antenas un tercio más de su longitud") */
	position: absolute;
	bottom: 12px;
	left: -4.5px;
	width: 9px;  /* (the widest collar; 6px plain until telescopic, 4px before "haz las barras y la bola un poco más gruesas") */
	height: var(--len);
	/* Telescopic (owner, 2026-11-13: "Las antenas deben ser telescópicas (de las que se "alargan")
	   como las antigas de tv y radio"): three metal sections, 7px at the root, 5px, then 3px to the
	   tip, each about a third, with a collar where one slides into the next (lighter than the rod since 2026-11-13, "haz de color más claro la unión… para que sean mas discretas"; darker for an hour) (9px and 7px
	   wide, 3px long); a plain 6px rod until then. The 3D plane across it (.tv-rod) inherits it.
	   Straight: for a while that day each section was an element of its own, turned down from the
	   one before, so the rod drooped by the ball's weight ("Haz que se doblen un poco por el peso
	   de la bola roja de la punta"), undone ("no. Deshaz la curvatura") */
	background:
		linear-gradient(90deg, #9aa0a6, #f4f6f8, #9aa0a6) center 33% / 7px 3px no-repeat,
		linear-gradient(90deg, #9aa0a6, #f4f6f8, #9aa0a6) center 66% / 9px 3px no-repeat,
		linear-gradient(90deg, #7d838a, #f2f4f6, #7d838a) center top / 3px 36% no-repeat,
		linear-gradient(90deg, #7d838a, #eef0f2, #7d838a) center 50% / 5px 34% no-repeat,
		linear-gradient(90deg, #7d838a, #e6e9ec, #7d838a) center bottom / 7px 36% no-repeat;
	transform-origin: bottom center;
}
/* Flexible, as if of rubber (owner, 2026-11-13: "¿Se puede crear la sensación de que las antenas son
   de goma y tienen flexibilidad que las hace moverse cuando se mueve la tele?"): tele.js's
   flexAntenna() adds --flex-l and --flex-r, each rod's lift in degrees from a damped spring the
   set's moves push (a drag, its return, the sway); 0 where the set doesn't move (reduced motion,
   WebKit) */
.tv-antenna span:first-of-type {
	--len: 214px;  /* (107px before doubled, 80px before that) */
	rotate: calc(-83deg + var(--flex-l, 0deg));
}
.tv-antenna span:last-of-type {
	rotate: calc(83deg - var(--flex-r, 0deg));
}
.tv-antenna span::before {
	content: "";
	position: absolute;
	top: -7px;
	left: -2.5px;  /* (centred on the 9px rod) */
	width: 14px;  /* (10px until 2026-11-13) */
	height: 14px;
	background: #4a1a12;  /* red lights, like the one by the power button (section 3) */
	border-radius: 50%;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}
.tv-cabinet {
	position: relative;
	display: flex;
	gap: 22px;
	padding: 26px;
	background-color: #6b3d22;
	background-image:
		repeating-linear-gradient(93deg, rgba(255, 255, 255, 0.05) 0 3px, transparent 3px 11px),
		repeating-linear-gradient(87deg, rgba(0, 0, 0, 0.09) 0 2px, transparent 2px 15px),
		linear-gradient(180deg, #8d5432, #5a321c);
	border: 3px solid #3a2013;
	border-radius: 30px;
	box-shadow:
		inset 0 2px 0 rgba(255, 255, 255, 0.18),
		inset 0 -8px 14px rgba(0, 0, 0, 0.35),
		0 26px 44px rgba(46, 27, 16, 0.45);
}

/* Screen: a black bezel and a rounded tube */
.tv-bezel {
	flex: 1;
	min-width: 0;
	padding: 18px;
	background: linear-gradient(#2c2c2c, #101010);
	border-radius: 26px;
	box-shadow: inset 0 0 0 2px #454545, inset 0 4px 12px rgba(0, 0, 0, 0.8);
}
.tv-screen {
	position: relative;
	/* Its own stacking context: the layers inside (snow, card, OSD, off screen, glass: z-index
	   1 to 4) stay in order among themselves and under the fixed bar (style.css, z-index 3)
	   when the page scrolls */
	isolation: isolate;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #050805;
	border-radius: 34px / 40px;
	box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.9);
}
.tv-screen iframe,
#player {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
/* The channel's logo (owner, 2026-10-25), bottom right as on a real channel: the favicon's TV
   in white with its screen see-through (index.php's inline SVG) and the number, faint over the
   picture. The programme's title, along the bottom, stops before it (.osd-title). It
   is under the snow, the continuity card, the test card and the teletext (later in the screen,
   same or higher z-index), which cover it, and hidden when the set is off */
.tv-bug {
	position: absolute;
	/* The same gap below and to the right (owner, 2026-10-25), in the screen's width: 4.875cqw is
	   the 6.5% of its height it had below (4:3); it was 7% of the width to the right */
	right: 4.875cqw;
	bottom: 4.875cqw;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	gap: 0.6cqw;
	margin: 0;
	color: #ffffff;
	font-family: var(--font-display);
	font-size: clamp(14px, 4.2cqw, 40px);  /* (5.2cqw for a while on 2026-10-30; owner: back) */
	font-weight: 700;
	line-height: 1;
	text-shadow: 0 0 3px rgba(0, 0, 0, 0.7), 1px 1px 0 rgba(0, 0, 0, 0.5);
	opacity: 0.8;
	pointer-events: none;
	/* Back after the snow has faded out (#static's 0.15s), as on a real set (owner, 2026-10-31) */
	transition: opacity 0.3s 0.15s;
}
/* Gone at once while tuning: tele.js changes the number as the snow starts, and the snow takes
   0.15s to fade in, so the new number showed before the snow (owner, 2026-10-31: snow first,
   then the logo) */
.tv-screen.is-tuning .tv-bug {
	opacity: 0;
	transition: none;
}
/* One rombo (owner, 2026-11-14: the protected hours, 22:00 to 06:00): TVE's mark, a white rombo
   in the top right corner (from 1963 to 1985 its two rombos, later one, marked what wasn't for
   children), shown while such a title is on (tele.js's .is-rombo); not under the snow */
.tv-rombo {
	position: absolute;
	top: 4.875cqw;
	right: 4.875cqw;
	z-index: 1;
	display: none;
	width: clamp(12px, 3cqw, 28px);
	aspect-ratio: 3 / 4;  /* (a tall rombo, as TVE's; drawn with clip-path, the screen's own rules
	                         set its children's transform) */
	margin: 0;
	background: #ffffff;
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
	filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.7));
	pointer-events: none;
}
.tv-screen.is-rombo .tv-rombo {
	display: block;
}
.tv-screen.is-tuning .tv-rombo,
.tv-screen.is-off .tv-rombo {
	display: none;
}
.tv-bug svg {
	width: 1.15em;
	height: auto;
	filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.7));
}
/* The number's top level with the top of the TV's cabinet (owner, 2026-10-25), under its
   antenna: row 4 of the drawing's 16, 0.29em down the icon. Fredoka's digits start 0.165em
   down their line (line-height 1, measured in Chrome), so the number goes 0.12em down */
.tv-bug span {
	margin-top: 0.12em;
}
.tv-screen.is-off .tv-bug {
	display: none;
}
/* No logo on channel 0, the set's AV input (owner, 2026-11-02): a title's link and the test card
   come in by cable, not from a channel */
.tv-bug[data-channel="0"] {
	display: none;
}
/* The logo's tag (owner, 2026-10-30): the number on a tilted tag, the TV beside it, in white
   as the logo always was (that day each channel had its own colours for a while; the
   design is the one channel 9 had then). tele.js sets data-channel. The tag sits level with the
   TV's cabinet like the plain number (0.12em down, less its padding) */
.tv-bug[data-channel] span {
	min-width: 1em;
	margin-top: 0.04em;
	padding: 0.08em 0.2em;
	background: linear-gradient(135deg, #ffffff, #d9d9d9);
	border-radius: 0.14em;
	color: #1a1a1a;
	text-align: center;
	text-shadow: none;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
	rotate: -8deg;
}
/* Snow between channels (tele.js draws it while tuning) */
#static {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	image-rendering: auto;  /* fine, smoothly scaled grain (tele.js draws it at half size) */
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s;
}
.tv-screen.is-tuning #static {
	opacity: 1;
}
/* Leaving the test card, the snow at once (tele.js's tuneTo(), 2026-11-14): its fade showed the
   stopped player under it, the last channel's frame */
.tv-screen.is-cut #static {
	transition: none;
}
.tv-glass {
	position: absolute;
	inset: 0;
	z-index: 4;
	pointer-events: none;
	border-radius: inherit;
	/* Only very faint scanlines (one thin dark line every 3px), the same all over: no
	   vignette darkening the corners and no reflection, so the picture is evenly bright */
	background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0, 0, 0, 0.05) 2px 3px);
}
/* No scanlines over the snow, so it is clean noise with no lines */
.tv-screen.is-tuning .tv-glass {
	background: none;
}

/* Continuity card between programmes (tele.js shows it while the next video loads, over
   YouTube's spinner): the pixel-art TV of the favicon, the name in Cola Cao yellow and the
   channel, on chocolate with a gingham strip. Above the video and the snow, under the OSD */
.tv-ident {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	background:
		linear-gradient(90deg, var(--gingham) 50%, transparent 0) bottom left / 24px 24px repeat-x,
		linear-gradient(var(--gingham) 50%, transparent 0) bottom left / 24px 24px repeat-x,
		radial-gradient(ellipse at center, #6b3d22, #2e1b10 75%);
	font-size: clamp(12px, 2.4vw, 22px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0s 0.3s;
	pointer-events: none;
}
.tv-ident.is-shown {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.15s;
}
.tv-ident img {
	width: 22%;
	height: auto;
	image-rendering: pixelated;
}
.tv-ident-title {
	color: var(--cola-cao);
	font-family: var(--font-display);
	font-size: 2.2em;
	font-weight: 700;
	line-height: 1;
	text-shadow: 0.08em 0.08em 0 var(--accent-bg);
}
.tv-ident-channel {
	color: #f3dfc0;
	font-size: 1em;
	font-weight: 700;
	letter-spacing: 0.04em;
}

/* Full screen (the F key or the panel's button): the whole set, cabinet, panel and its buttons,
   as big as fits the display (owner, 2026-10-28; it was the screen alone). tele.js puts
   .is-fullscreen on the set (the browser makes it fill the display). No antenna: the
   cabinet reaches the display's top and bottom edges, or its sides on a portrait display. As
   on the page (.tele), the 4:3 screen plus 292px across and 94px down (the cabinet's wood and
   edge, the black frame) */
.tv.is-fullscreen {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: radial-gradient(ellipse at center, #3a2013, #120a06 75%);
}
.tv.is-fullscreen .tv-antenna {
	display: none;
}
.tv.is-fullscreen .tv-cabinet {
	width: min(100%, (100vh - 94px) * 4 / 3 + 292px);
	box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.18), inset 0 -8px 14px rgba(0, 0, 0, 0.35);
}
/* Landscape phones: the panel beside the screen even where the page stacks it under (760px
   and narrower), and a compact one: the thin cabinet and frame of phones (8px of wood, 2px
   edge, 6px frame: 32px down, 214px across with the panel), no knobs, no badge, the buttons of
   each group in two rows */
@media only screen and (orientation: landscape) and (max-height: 579px) {
	/* No knobs on a turned phone, on the page or in full screen (owner, 2026-10-30: "sin los
	   botones blancos redondos"; from 2026-10-28 full screen had them, smaller): the buttons
	   alone, under their labels */
	.tv .knob {
		display: none;
	}
	.tv.is-fullscreen .tv-cabinet {
		flex-direction: row;
		gap: 10px;
		width: min(100%, (100vh - 32px) * 4 / 3 + 214px);
		padding: 8px;
		border-width: 2px;
		border-radius: 18px;
	}
	.tv.is-fullscreen .tv-bezel {
		padding: 6px;
		border-radius: 13px;
	}
	.tv.is-fullscreen .tv-screen {
		border-radius: 16px / 19px;
	}
	.tv.is-fullscreen .tv-panel {
		display: flex;
		flex: 0 0 172px;
		gap: 6px;
		padding: 8px;
	}
	.tv.is-fullscreen .tv-panel::after {
		content: none;
	}
	.tv.is-fullscreen .tv-control {
		display: grid;
		gap: 4px;
	}
	/* (the stacked panel's places in its grid, which the controls' own grids would take up; by
	   id, as the knobs' are) */
	#tv.is-fullscreen .tv-control > * {
		grid-row: auto;
		grid-column: auto;
	}
	/* The buttons as in full screen on a computer (owner, 2026-10-29; from 2026-10-28 they were
	   three in a row, full screen and mute first): ▼ ▲ and − + side by side, full screen and mute
	   under them as wide as both; smaller, so the panel fits a phone's height (360px) */
	.tv.is-fullscreen .tv-control .tv-buttons {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 4px;
		max-width: 120px;
	}
	.tv.is-fullscreen .tv-control-channel .tv-buttons button,
	.tv.is-fullscreen .tv-control-volume .tv-buttons button {
		width: 58px;
		height: 32px;  /* 26px with the knobs */
		font-size: 1.125rem;
	}
	.tv.is-fullscreen .tv-badge {
		display: none;
	}
	/* (it gives up its height first on the shortest phones) */
	.tv.is-fullscreen .tv-speaker {
		display: block;
		flex: 1 1 0;
		min-height: 0;
	}
	/* (the labels, arrows and power button as on wider phones: the stacked panel pulls the
	   labels in and makes the arrows and power button bigger) */
	.tv.is-fullscreen .tv-control-label {
		margin-bottom: 0;
	}
	.tv.is-fullscreen .tv-control-channel .tv-buttons button .arrow {
		width: 11px;
		height: 11px;
	}
	#tv.is-fullscreen #power {
		min-height: 0;
	}
	.tv.is-fullscreen .tv-control .tv-buttons button:last-child,
	.tv.is-fullscreen .tv-panel .tv-power {
		margin-top: 0;
	}
	/* The badge too where there is room for it, as on a computer (390px tall and up) */
	@media (min-height: 380px) {
		.tv.is-fullscreen .tv-badge {
			display: block;
			padding: 2px 8px;
			font-size: 0.625rem;
		}
	}
	/* The shortest (320px): smaller buttons, so the panel isn't taller than the screen */
	@media (max-height: 340px) {
		.tv.is-fullscreen .tv-panel {
			gap: 4px;
			padding: 6px 8px;
		}
		.tv.is-fullscreen .tv-control-channel .tv-buttons button,
		.tv.is-fullscreen .tv-control-volume .tv-buttons button {
			height: 28px;  /* 24px with the knobs */
		}
		#tv.is-fullscreen #power {
			padding-block: 4px;
		}
	}
}

/* On-screen display: channel number and volume in green VT323, the title in white */
.osd {
	position: absolute;
	z-index: 2;
	margin: 0;
	color: #7cfc6a;
	font-family: "VT323", ui-monospace, monospace;
	line-height: 1;
	letter-spacing: 0.04em;
	text-shadow: 0 0 6px rgba(124, 252, 106, 0.65), 2px 2px 0 #000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s;
}
.osd.is-shown {
	opacity: 1;
}
/* "CH n" / "AV" top right, its letters as far from the screen's top as from its right (owner,
   2026-11-03: "alinea el CH X y AV dentro de la tele"), the same gap as the channel's logo has
   bottom right (.tv-bug, 4.875cqw). The box is moved by the ink's gaps in VT323, measured in
   Chrome: with line-height 1 the capitals start 0.24em down, and the last letter's ink ends
   0.07em before the box's right (0.03em of the glyph, 0.04em of letter-spacing). It was top 7%,
   right 8%: about 5.25 and 8 hundredths of the width */
.osd-channel {
	top: calc(4.875cqw - 0.24em);
	right: calc(4.875cqw - 0.07em);
	font-size: clamp(26px, 5.4vw, 54px);
	text-align: right;
}
/* The channel's name under its number when tuning (owner, 2026-11-11), smaller, in the channel's
   colour (tele.js sets it), at most 60% of the screen wide; three quarters of the number's size
   (owner, 2026-11-11: "Usa mayor tamaño de fuentes para el nombre del canal"; it was half) */
.osd-channel-name {
	display: block;
	max-width: 60cqw;
	margin-top: 0.15em;
	margin-left: auto;
	font-size: 0.75em;
	line-height: 1.05;
	text-shadow: 2px 2px 0 #000;
	text-wrap: balance;
}
.osd-volume {
	bottom: 18%;
	left: 8%;
	right: 8%;
	font-size: clamp(26px, 5.4vw, 54px);  /* the channel number's size */
}
/* The speaker alone (tele.js's showMuteIcon(), owner, 2026-11-03): bottom left, as far from the
   left as from the bottom, the logo's gap again (level with it, bottom right). The drawing's
   first column is empty, so it moves left by one of its pixels (0.8em / 12). The programme's
   title, which shares that corner, is hidden meanwhile (tele.js) */
.osd-volume.is-mute {
	right: auto;
	bottom: 4.875cqw;
	left: calc(4.875cqw - 0.0667em);
}
/* "VOL" and its bars in the same corner (tele.js's showVolumeBars(), owner, 2026-11-03: "baja la
   altura del vol"; it was 18% up, where "Pulsa para oírlo" still goes). The ink's gaps in VT323:
   the bars' bottom is 0.05em under the baseline and the line's box 0.2em, so 0.15em below the
   ink; the V starts 0.03em in */
.osd-volume.is-bars {
	right: auto;
	bottom: calc(4.875cqw - 0.15em);
	left: calc(4.875cqw - 0.03em);
}
/* A title's link starts muted (tele.js): the speaker and "Toca el vídeo para activar el sonido"
   (Zapping's words since 2026-11-17; "Toca la pantalla para oírlo" until then) together in
   the middle of the screen (owner, 2026-11-17: "Centra en la tele en mensaje de 'Toca la pantalla
   para oírlo'"; from 2026-11-13 in the bottom left corner, level with the speaker alone and the
   volume's bars; before that 18% up, the speaker on a line of its own over the text). The
   speaker over the words, both centred (2026-11-17: beside them, the longer words wrapped and
   left a gap between them on a wide screen); the words smaller, within 84% of the screen's
   width, in even lines when they wrap */
.osd-volume.is-hint {
	top: 50%;
	right: auto;
	bottom: auto;
	left: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2em;
	width: 84cqw;
	translate: -50% -50%;
	text-align: center;
}
.osd-volume.is-hint .osd-mute {
	flex: none;
}
/* Zapping's hint (zapping.css's .zap-hint; owner, 2026-11-17: "En la tele usa el mismo mensaje
   para activar el sonido que en el zapping"): a chocolate pill, white words in the display font,
   in place of the OSD's green letters; until then 0.6em of them, under the speaker */
.osd-hint {
	display: block;
	width: max-content;
	max-width: 100%;
	padding: 10px 18px;
	background: var(--cocoa-dark, #2e1b10);
	border-radius: 999px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
	color: #ffffff;
	font: 600 0.9375rem/1.3 var(--font-display);
	letter-spacing: normal;
	text-shadow: none;
	text-wrap: balance;
}
/* The programme's title shares that corner: hidden while the volume or the speaker shows there,
   back when they go (index.php: the title comes after). Not for the hint since it is in the
   middle (2026-11-17) */
.osd-volume.is-shown.is-bars ~ .osd-title,
.osd-volume.is-shown.is-mute ~ .osd-title {
	opacity: 0;
}
/* While muted the speaker stays (tele.js's .is-fixed, owner, 2026-11-05): the title isn't hidden,
   it starts to the speaker's right: its left edge (4.875cqw), its width (1.0667em of the
   volume's size, .osd-volume) and a gap */
.osd-volume.is-shown.is-mute.is-fixed ~ .osd-title.is-shown {
	opacity: 1;
	left: calc(4.875cqw + 1.0667 * clamp(26px, 5.4vw, 54px) + 0.6em);
}
/* Muted: a crossed-out speaker in pixels (tele.js, 2026-11-01; it said "SILENCIO"), with the
   text's green glow and black shadow (text-shadow doesn't reach an SVG). 16 × 12 pixels, 0.8em
   tall (owner, 2026-11-03: bigger; earlier that day 0.56em, the capitals' height, and 1.2em
   before) */
.osd-mute {
	display: block;
	width: 1.0667em;
	height: 0.8em;
	filter: drop-shadow(0 0 6px rgba(124, 252, 106, 0.65)) drop-shadow(2px 2px 0 #000);
}
/* The volume's twenty bars (tele.js): all the same box, solid when lit, dotted when not */
.osd-bars {
	display: inline-flex;
	gap: 0.08em;
	vertical-align: -0.05em;
}
.osd-bar {
	width: 0.28em;
	height: 0.72em;
	background-image: radial-gradient(currentColor 42%, transparent 48%);
	background-size: 0.14em 0.144em;
	opacity: 0.85;
}
.osd-bar.is-on {
	background: currentColor;
	opacity: 1;
	box-shadow: 0 0 6px rgba(124, 252, 106, 0.65);
}
.osd-title {
	bottom: 7%;
	left: 8%;
	right: 22%;  /* clear of the channel's logo, bottom right */
	color: #ffffff;
	font-size: clamp(18px, 3.2vw, 32px);
	text-shadow: 2px 2px 0 #000, 0 0 8px rgba(0, 0, 0, 0.8);
}

/* Off: a dark screen with the power button; switching off shrinks the picture to a line and a
   dot, as a tube did */
.tv-off-screen {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: clamp(14px, 3cqw, 28px);
	background: radial-gradient(ellipse at center, #121812, #030503 70%);
}
/* What is on now (tele.js, 2026-10-27): the OSD's green channel line over the title in white,
   as the set shows them when it is on, so the dark screen already says what it will show */
.off-now {
	position: relative;
	z-index: 1;  /* over the glass's reflection */
	display: grid;
	justify-items: center;
	gap: 0.3em;
	max-width: 84%;
	margin: 0;
	font-family: "VT323", ui-monospace, monospace;
	line-height: 1;
	letter-spacing: 0.04em;
	text-align: center;
	text-wrap: balance;
}
.off-now:empty {
	display: none;
}
/* From one channel to the next (owner, 2026-10-30): the text fades slowly away (tele.js waits
   the 0.8 s), then the next fades slowly in. (That day it first squashed and shook, like a
   channel change; the owner didn't like it) */
.off-now.is-leaving {
	animation: off-now-fade-out 0.8s ease-in-out forwards;
}
.off-now.is-entering {
	animation: off-now-fade-in 0.8s ease-in-out;
}
@keyframes off-now-fade-out {
	to { opacity: 0; }
}
@keyframes off-now-fade-in {
	from { opacity: 0; }
}
.off-now-channel {
	color: #7cfc6a;
	font-size: clamp(18px, 3cqw, 30px);
	text-shadow: 0 0 6px rgba(124, 252, 106, 0.65), 2px 2px 0 #000;
}
.off-now-title {
	/* Two lines at most (2026-10-27): the longest titles took three on a 320px phone and pushed
	   the text and the button past the screen's edges. The padding keeps the shadow and the
	   descenders inside the clip */
	display: -webkit-box;
	overflow: hidden;
	padding: 0 4px 0.12em;
	color: #ffffff;
	font-size: clamp(24px, 5cqw, 48px);
	line-height: 1.05;
	text-shadow: 2px 2px 0 #000, 0 0 8px rgba(0, 0, 0, 0.8);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.tv-screen.is-off .tv-off-screen {
	display: flex;
}
.tv-screen.is-off.was-on .tv-off-screen::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at center, #ffffff 0, #dff7ff 40%, rgba(223, 247, 255, 0) 70%);
	animation: tv-switch-off 0.55s ease-in forwards;
	pointer-events: none;
}
@keyframes tv-switch-off {
	0% { opacity: 1; transform: scale(1, 1); }
	45% { opacity: 1; transform: scale(1, 0.006); }
	75% { opacity: 1; transform: scale(0.03, 0.006); }
	100% { opacity: 0; transform: scale(0, 0); }
}
/* While off, the glass catches the eye (owner, 2026-10-23): a curved reflection on the tube, a
   band of light, and the button's glow breathing. The band shows only with the set turned to a
   certain angle, and moves as it turns (owner, 2026-10-30; it swept across every 5 s): tele.js
   sets --glint (0 to 1, its brightness) and --glint-x (where it is). None in full screen, with
   reduced motion or before the set turns (the defaults) */
.tv-off-screen::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, calc(0.11 * var(--glint, 0))) 46%, rgba(255, 255, 255, calc(0.03 * var(--glint, 0))) 50%, transparent 54%) no-repeat,
		radial-gradient(ellipse 70% 45% at 30% 14%, rgba(255, 255, 255, 0.17), transparent 70%);
	background-size: 260% 100%, 100% 100%;
	background-position: var(--glint-x, 130%) 0, 0 0;
}
.tv.is-fullscreen .tv-off-screen::after {
	background:
		radial-gradient(ellipse 70% 45% at 30% 14%, rgba(255, 255, 255, 0.17), transparent 70%);
}
.power-big {
	position: relative;
	z-index: 1;  /* over the glass's reflection */
	padding: 12px 22px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	color: var(--text);
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 0 24px rgba(124, 252, 106, 0.25);
	animation: power-big-glow 2.4s ease-in-out infinite;
}
@keyframes power-big-glow {
	0%, 100% { box-shadow: 0 0 18px rgba(124, 252, 106, 0.2); }
	50% { box-shadow: 0 0 38px 6px rgba(124, 252, 106, 0.5); }
}
.power-big:hover {
	background: var(--surface-hover);
	animation-play-state: paused;
}
/* On the dark screen: a light ring, not the page's dark red one (2026-10-27) */
.power-big:focus-visible {
	outline-color: var(--cola-cao);
}
/* The power icons (here and on the remote) are drawn (svg.power-icon): the ⏻ character they
   were is missing from many phones' fonts, which showed an empty box instead (owner, 2026-10-25) */
.power-big {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}
.power-big .power-icon {
	flex: none;
	color: var(--accent-bg);
}
.remote-power {
	display: inline-grid;
	place-items: center;
}

/* Side panel: champagne metal with the knobs, the speaker and the power button */
.tv-panel {
	display: flex;
	flex: 0 0 176px;
	flex-direction: column;
	align-items: center;
	gap: 14px;  /* 18px made the panel taller than the screen in a 940px set (2026-10-27) */
	padding: 18px 12px;
	background: linear-gradient(180deg, #e6dac6, #b9a78b);
	border-radius: 16px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -3px 6px rgba(0, 0, 0, 0.25);
	color: #3a2013;
}
/* The knobs and their buttons at the top, power at the bottom, and the speaker grille takes the
   height between (2026-10-27: it was a gap above full screen; phones reset this: there the
   panel is a grid under the screen, without the speaker) */
.tv-badge {
	padding: 3px 10px;
	background: linear-gradient(#f7d77a, #c99a2e);
	border-radius: 4px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
	color: #4a2a10;
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.tv-control {
	display: grid;
	justify-items: center;
	gap: 7px;
}
.tv-control-label {
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
/* Knobs: ridged metal, their mark turned by tele.js (--turn) on each channel or volume change.
   Only the mark turns (2026-10-29: the whole knob did): an element with a transform of its own
   inside the 3D set is missed by the browser's hit testing at some angles, so the channel knob
   stopped taking clicks; the ridges repeat every 10 degrees and the light stays where it is.
   The antenna and the marks use "rotate", which style.css's reduced-motion "transform: none"
   leaves alone */
.knob {
	--mark-top: 5px;
	--mark-height: 15px;
	position: relative;
	display: block;
	width: 76px;
	height: 76px;
	background:
		repeating-conic-gradient(from 0deg, rgba(0, 0, 0, 0.2) 0 4deg, transparent 4deg 10deg),
		radial-gradient(circle at 35% 30%, #fbfbfb, #c4c4c4 45%, #6a6a6a 100%);
	border-radius: 50%;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.45), inset 0 -3px 6px rgba(0, 0, 0, 0.35);
}
.knob::before {
	content: "";
	position: absolute;
	inset: 22%;
	background: radial-gradient(circle at 35% 30%, #f2f2f2, #a9a9a9);
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
/* The mark: the whole knob's size, so it turns round the knob's middle, with the red line at its top */
.knob::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(var(--accent-bg), var(--accent-bg)) center var(--mark-top) / 4px var(--mark-height) no-repeat;
	border-radius: 50%;
	rotate: var(--turn, 0deg);
	transition: rotate 0.25s ease-out;
	pointer-events: none;
}
.knob-volume {
	--mark-top: 4px;
	--mark-height: 11px;
	width: 56px;
	height: 56px;
}
.tv-buttons {
	display: flex;
	gap: 6px;
}
/* The panel's own champagne (owner, 2026-10-27: less contrast; they were black): see-through,
   so each button is the metal around it, raised by a light top edge, a darker rim and a step
   below it; the glyphs in the panel's brown */
.tv-buttons button {
	min-width: 34px;
	height: 30px;
	padding: 0 8px;
	background: transparent;
	border: 1px solid rgba(58, 32, 19, 0.28);
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 2px 0 rgba(58, 32, 19, 0.3);
	color: #3a2013;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 800;
	cursor: pointer;
}
/* Pressed: 2px down by its position, not a transform (2026-10-29: inside the 3D set, a button
   with a transform of its own lost the release of the click at some angles, and the click) */
.tv-buttons button {
	position: relative;
}
.tv-buttons button:active {
	top: 2px;
	box-shadow: none;
}
/* Hover (2026-10-27): the panel's buttons and the remote's keys a little lighter, like the
   plastic catching the light; only with a mouse, so a tap doesn't leave them lit */
@media (hover: hover) {
	.tv-buttons button:hover {
		background: rgba(255, 255, 255, 0.28);
	}
	/* A lighter red, not filter: brightness() (2026-11-11: with a filter the button lost its 3D
	   box, transform-style flattens, and its dark ::after side was painted over the label, so
	   "Encender"/"Apagar" vanished under the mouse) */
	#power:hover {
		background: linear-gradient(#e2533f, #a82c1f);
	}
	.remote-keys button:hover,
	.remote-rocker button:hover,
	.remote-power:hover {
		filter: brightness(1.08);
	}
	.remote-fastext button:hover {
		filter: brightness(1.2);
	}
}
/* Channel ▼ ▲, volume − + and the mute and full-screen buttons: as big as the remote's (61 × 34,
   its 22px glyphs). The panel has no room for three in a row, so full screen goes under ▼ ▲
   and mute under − + (owner, 2026-10-27: two groups, the picture's and the sound's) */
.tv-control-channel .tv-buttons button,
.tv-control-volume .tv-buttons button {
	width: 61px;
	height: 34px;
	border-radius: 10px;
	font-size: 1.375rem;
}
.tv-control-channel .tv-buttons,
.tv-control-volume .tv-buttons {
	flex-wrap: wrap;
	justify-content: center;
	max-width: 128px;
}
/* Full screen and mute, alone in their second rows, as wide as both buttons above (owner,
   2026-10-28). Phones ignore it (the panel is a grid there); the compact full-screen panel resets
   it (three in a row) */
#fullscreen,
#mute {
	flex-grow: 1;
}
/* Mute (a speaker struck through) and full screen show only an icon; their names are in
   aria-label and title */
.tv-buttons .icon {
	display: block;
}
/* On phones the remote's buttons are 55px wide (its 176px width), and so are these */
@media only screen and (max-width: 520px) {
	.tv-control-channel .tv-buttons button,
	.tv-control-volume .tv-buttons button {
		width: 55px;
	}
	.tv-control-channel .tv-buttons,
	.tv-control-volume .tv-buttons {
		max-width: 116px;
	}
}
/* On (mute, full screen): pressed in, a shade darker, the glyph in the set's red (the yellow it
   was, on the black buttons, would vanish on the champagne) */
.tv-buttons button[aria-pressed="true"] {
	background: rgba(58, 32, 19, 0.1);
	box-shadow: inset 0 2px 3px rgba(58, 32, 19, 0.3);
	color: #b23a26;
	top: 2px;  /* (not translate: see :active) */
}
.tv-speaker {
	flex: 1 0 24px;  /* at least a few slats; it grows with the screen */
	width: 100%;
	background: repeating-linear-gradient(to bottom, #3a2a20 0 3px, #cdbca0 3px 7px);
	border-radius: 10px;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}
/* The power button across the row (the whole width of the panel, or of its column on phones),
   then the LED on its right (2026-10-29: on its left before) */
.tv-power {
	display: flex;
	align-self: stretch;
	justify-self: stretch;
	align-items: center;
	gap: 10px;
}
.tv-led {
	width: 10px;
	height: 10px;
	background: #4a1a12;
	border-radius: 50%;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}
.tv.is-on .tv-led {
	background: #ff3b2f;
	box-shadow: 0 0 8px #ff3b2f;
}
/* Off: the standby light glows on and off slowly */
.tv:not(.is-on) .tv-led {
	animation: tv-led-standby 2.4s ease-in-out infinite;
}
@keyframes tv-led-standby {
	0%, 100% { background: #4a1a12; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6); }
	50% { background: #c42a1f; box-shadow: 0 0 6px rgba(255, 59, 47, 0.7); }
}

/* (No ornament on the set: the crochet doily on its top, put on 2026-11-12, was taken off on
   2026-11-13, owner: "Elimina el tapete"; the sticker on 2026-11-12, "Elimina la pegatina") */
#power {
	flex: 1;
	padding: 7px 14px;
	background: linear-gradient(#d0412f, #8e2318);
	border: 1px solid #5e160e;
	border-radius: 999px;
	box-shadow: 0 2px 0 #5e160e;
	color: #ffffff;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 800;
	cursor: pointer;
}
#power {
	position: relative;
}
#power:active {
	top: 2px;  /* (not a transform: see .tv-buttons button:active) */
	box-shadow: none;
}

/* ------------------------------------------------------------------
   Under the set: what is on, keys
   ------------------------------------------------------------------ */
.tele-under {
	display: grid;
	justify-items: center;
	gap: 10px;
	width: min(100%, var(--tele-width));
	text-align: center;
}

.tele-now {
	color: var(--cocoa);
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 600;
}
.tele-keys {
	color: var(--muted);
	font-size: 0.8125rem;
}
.tele-keys kbd {
	padding: 1px 6px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 5px;
	font-family: inherit;
	font-size: 0.75rem;
	font-weight: 800;
}
/* Switching the one-key shortcuts off (tele.js, 2026-10-27): a pill with a light, lit while
   they work; off, the keys that stop working fade (the arrows stay). On its own line under the
   keys, with room above (owner, 2026-10-29: wrapped at the end of their line, it touched it) */
.keys-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	margin: 10px auto 0;
	padding: 3px 10px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	color: var(--text);
	font: inherit;
	font-size: 0.75rem;
	font-weight: 800;
	cursor: pointer;
}
.keys-toggle:hover {
	border-color: var(--border-hover);
}
.keys-toggle::before {
	content: "";
	width: 8px;
	height: 8px;
	border: 1.5px solid var(--term);
	border-radius: 50%;
	background: var(--term);
}
.keys-toggle[aria-pressed="false"]::before {
	background: transparent;
	border-color: var(--muted);
}
.tele-keys.is-off kbd:not(.kbd-always) {
	opacity: 0.45;
	text-decoration: line-through;
}

/* Narrow screens: the panel goes under the screen, in a row, without the speaker. Also portrait
   tablets (2026-10-27): beside a screen that narrow the panel was taller than the screen, and
   the black frame ran on below the picture */
@media only screen and (max-width: 760px), only screen and (max-width: 1000px) and (orientation: portrait) {
	/* The set closer to the bar (owner, 2026-10-25), so the power button isn't at the bottom of
	   the screen: 58px for the shorter antenna below (its tips just under the bar); it was 80px */
	/* 72px since 2026-11-04 (owner: "Añade un poco de espacio entre la antena y el navbar de forma
	   que el botón de compartir se siga viendo en móvil"): the antenna's balls touched the bar; the
	   14px are taken back under the set (the gap 12px, the share button's margin 0), so that button
	   ends where it did (657px down a 375 x 667 phone) */
	.tele {
		gap: 12px;  /* 22px on wider screens: less between the set and the guide (2026-10-29); 14px until 2026-11-04 */
		padding-top: 44px;  /* 72px until 2026-11-12 (the antenna's room); that day 40px, then 24px with the antenna lying sideways, then 16px with none (owner: "la antena quitala de todas las vistas y dispositivos"); 24px again with it back, sideways, then 28px (2026-11-13) with the rods tilted up and their balls bigger, so the right one stays clear of the bar; 32px with the rods a third longer, the same day; 44px with them doubled */
	}
	body.tele-page .tele-share {  /* (body.tele-page: the general rule comes later in the file) */
		margin-top: 12px;  /* with the 12px gap, 24px from the set, as on wider screens (owner, 2026-11-12); 0 until then */
	}
	/* The biggest 4:3 screen that fits (owner, 2026-10-25): the set reaches 8px from the
	   window's edges (the page's gutter is 16px), with a thinner wooden cabinet (2px edge, 8px
	   of wood) and black frame (6px); the corners shrink with them */
	.tv {
		width: calc(100% + 16px);
		margin-inline: -8px;
	}
	.tv-cabinet {
		flex-direction: column;
		gap: 10px;
		padding: 8px;
		border-width: 2px;
		border-radius: 18px;
	}
	.tv-bezel {
		padding: 6px;
		border-radius: 13px;
	}
	.tv-screen {
		border-radius: 16px / 19px;
	}
	/* The panel as one grid of its pieces, short enough that the guide shows under the set on a
	   phone (2026-10-29: it was knobs, then + over − and ▲ over ▼, five rows; 2026-10-25 laid it
	   out as the remote). Volume on the left: its label, − and + side by side, then mute and full
	   screen. Channel on the right: label, ▼ and ▲, then the power button. No knobs (they only
	   turn; every button is also on the remote). The controls' wrappers step aside (display:
	   contents), so both sides share the rows and line up. Each side is two tracks of up to 87px
	   (the same width, at most 180px across), with a 20px track between them for the line */
	.tv-panel {
		display: grid;
		flex: none;
		grid-template-columns: repeat(2, minmax(0, 87px)) 20px repeat(2, minmax(0, 87px));
		justify-content: center;
		align-items: center;
		justify-items: stretch;
		gap: 8px 6px;
		padding: 10px 12px 12px;
	}
	.tv-control,
	.tv-control .tv-buttons {
		display: contents;
	}
	.tv-control-volume .tv-control-label {
		grid-column: 1 / 3;
	}
	.tv-control-channel .tv-control-label,
	.tv-power {
		grid-column: 4 / 6;
	}
	.tv-control-label {
		grid-row: 1;
		justify-self: center;
		margin-bottom: -2px;
	}
	#vol-down,
	#ch-down {
		grid-row: 2;
		grid-column: 1;
	}
	#vol-up,
	#ch-up {
		grid-row: 2;
		grid-column: 2;
	}
	#ch-down {
		grid-column: 4;
	}
	#ch-up {
		grid-column: 5;
	}
	#mute {
		grid-row: 3;
		grid-column: 1;
	}
	#fullscreen {
		grid-row: 3;
		grid-column: 2;
	}
	.tv-power {
		grid-row: 3;
	}
	/* The line between the sides */
	.tv-panel::after {
		content: "";
		grid-column: 3;
		grid-row: 1 / 4;
		justify-self: center;
		align-self: stretch;
		width: 1px;
		background: rgba(58, 32, 19, 0.2);
	}
	/* The narrowest phones: the LED and power button fit their cell under the channel buttons */
	@media only screen and (max-width: 380px) {
		.tv-power {
			gap: 6px;
		}
		#power {
			padding-inline: 8px;
		}
	}
	/* Buttons fill their cells, 48px tall (easy to hit with a thumb), with bigger glyphs; the
	   power button as tall */
	.tv-control-channel .tv-buttons button,
	.tv-control-volume .tv-buttons button {
		width: auto;
		height: 48px;
		font-size: 1.75rem;
	}
	.tv-control-channel .tv-buttons button .arrow {
		width: 16px;
		height: 16px;
	}
	#power {
		min-height: 48px;
		font-size: 0.875rem;
	}
	/* A clear gap between ▼ ▲ and the power button, so a thumb going for a channel doesn't switch
	   the set off (owner, 2026-10-29): 18px above the last row instead of 8, on both sides so the
	   rows line up (mute and full screen are the last buttons of their groups) */
	.tv-control .tv-buttons button:last-child,
	.tv-panel .tv-power {
		margin-top: 10px;
	}
	.tv-badge,
	.tv-speaker,
	.knob {
		display: none;
	}
	/* The curly rods (above) lying out sideways (owner, 2026-11-12: "¿Pueden las antenas ser
	   rizadas y horizontales así podemos subir más la tele?"), so the antenna is hardly taller
	   than its dome and the set sits 24px under the bar: 72px (40px, then 56px, earlier the same
	   day) at -84 and 84 degrees (82 until 72px). Earlier that day: straight 38px rods at -66 and 62 degrees,
	   40px under the bar; until then 44px at -34 and 26 degrees, 72px under it. Since 2026-11-13
	   every screen's rods lie flat and straight (above); here they are shorter: 59px and 112px (44px and 84px until a third longer) */
	.tv-antenna {
		left: 34%;  /* (the doubled left rod fits from there; 24% on wider screens) */
	}
	.tv-antenna span {
		bottom: 6px;  /* (12px on wider screens: the smaller dome below covers their roots) */
		--len: 168px;  /* (owner, 2026-11-13: "En móvil, reduce su longitud un cuarto": 224px and 118px for a while, doubled; 112px and 59px before, 84px and 44px before a third longer) */
	}
	.tv-antenna span:first-of-type {
		--len: 89px;
	}
	/* A smaller dome (owner, 2026-11-12: "make the base of the antenas less prominent"): 30 x 12px,
	   three fifths of the 50 x 20px one, flat (::after) and in 3D alike: the upright planes and the
	   discs (index.php's --y and --r, scaled here). With .tv: these rules come before the 3D ones */
	.tv .tv-antenna::after,
	.tv .tv-dome {
		left: -15px;
		width: 30px;
		height: 12px;
		border-radius: 15px 15px 3px 3px;
	}
	.tv .tv-dome-disc {
		bottom: calc(var(--y) * 0.6 - 4px - var(--r) * 0.6);
		left: calc(var(--r) * -0.6);
		width: calc(var(--r) * 1.2);
		height: calc(var(--r) * 1.2);
	}
}

/* Phones: no key list, and a shorter guide */
@media only screen and (max-width: 760px) {
	.tele-keys {
		display: none;
	}
	/* What is on: always three lines' height, the text centred in them and cut at three, so the
	   guide under it doesn't move up and down as the line changes (owner, 2026-10-29). The live
	   region still reads it all */
	.tele-under {
		height: calc(3 * 1.3em);
		align-content: center;
		font-size: 1rem;
	}
	/* Off, it is one short line ("La tele está apagada."): only its own height (owner,
	   2026-11-02: there was a lot of room between it and the quiz). Switching on gives the
	   three lines back */
	body.tele-page:not(.tele-on) .tele-under {
		height: auto;
	}
	.tele-now {
		display: -webkit-box;
		overflow: hidden;
		font-size: 1rem;
		line-height: 1.3;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}
}

@media (prefers-reduced-motion: reduce) {
	.knob::after {
		transition: none;
	}
	.tv-screen.is-off.was-on .tv-off-screen::before {
		animation: none;
		display: none;
	}
	/* The glows stay still (the band of light needs the set to turn, which it doesn't here) */
	.power-big,
	.tv:not(.is-on) .tv-led,
	.tv:not(.is-on) .tv-antenna span::before {
		animation: none;
	}
}

/* The same space above the footer at any window height: on a window taller than the page the
   footer grows to fill it, instead of being pushed down (style.css's margin-top: auto) */
.tele-page .site-footer {
	flex-grow: 1;
	margin-top: 0;
}

/* ==================================================================
   Test card, channel colours, teletext and remote (2026-10-23)
   ================================================================== */

/* The screen is a size container: the test card and the teletext are sized in cqw (a hundredth
   of its width), so they scale with it, full screen too */
.tv-screen {
	container-type: inline-size;
}

/* ---- Test card ("carta de ajuste"): when a video can't be played (and on switching on, if
        tele.js's TESTCARD is set) ------------------------------------------------------- */
.tv-testcard {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: none;
	align-items: center;
	justify-content: center;
	background-color: #7d7d7d;
	background-image:
		linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0.25cqw, transparent 0.25cqw),
		linear-gradient(rgba(255, 255, 255, 0.85) 0.25cqw, transparent 0.25cqw);
	background-size: 8.33cqw 8.33cqw;
	background-position: center;
}
.tv-testcard.is-shown {
	display: flex;
}
.testcard-circle {
	display: flex;
	overflow: hidden;
	flex-direction: column;
	width: 56cqw;
	aspect-ratio: 1;
	background: #111111;
	border: 0.6cqw solid #ffffff;
	border-radius: 50%;
	box-shadow: 0 0 0 0.6cqw #222222;
}
.testcard-bars {
	flex: 0 0 34%;
	background: linear-gradient(90deg,
		#c0c0c0 0 14.28%, #c0c000 0 28.57%, #00c0c0 0 42.85%, #00c000 0 57.14%,
		#c000c0 0 71.42%, #c00000 0 85.71%, #0000c0 0 100%);
}
.tv-testcard img {
	align-self: center;
	width: 9cqw;
	height: auto;
	margin-top: 1.2cqw;
	image-rendering: pixelated;
}
.testcard-name {
	margin: 0.6cqw 0 0;
	padding: 0.4cqw 0;
	background: #ffffff;
	color: #111111;
	font-family: var(--font-display);
	font-size: 3.6cqw;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-align: center;
}
.testcard-clock {
	margin: 0.8cqw 0;
	color: #ffffff;
	font-family: "VT323", ui-monospace, monospace;
	font-size: 4.2cqw;
	line-height: 1;
	text-align: center;
}
.testcard-greys {
	flex: 1;
	background: linear-gradient(90deg,
		#000000 0 16.6%, #333333 0 33.3%, #666666 0 50%, #999999 0 66.6%, #cccccc 0 83.3%, #ffffff 0 100%);
}
/* The notice under the circle (owner, 2026-10-25), only for a video that can't be played
   (tele.js sets is-trouble): white on black, like the old caption boxes */
.testcard-notice {
	position: absolute;
	bottom: 4cqw;
	left: 50%;
	display: none;
	margin: 0;
	padding: 0.8cqw 3cqw;
	background: #111111;
	border: 0.4cqw solid #ffffff;
	color: #ffffff;
	font-family: "VT323", ui-monospace, monospace;
	font-size: 3.4cqw;
	line-height: 1.1;
	text-align: center;
	white-space: nowrap;
	translate: -50% 0;
}
.testcard-notice span {
	display: block;
	color: #ffff3b;
	font-size: 4.4cqw;
	letter-spacing: 0.06em;
}
.tv-testcard.is-trouble .testcard-notice {
	display: block;
}

/* ---- Teletext: Ceefax-style pages over the picture ------------------------------------- */
/* A column (2026-10-28, owner: the text ran under the coloured buttons): the header, the page,
   which takes the height left and cuts what doesn't fit, and the buttons along the bottom */
.tv-teletext {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	/* (the sides 6cqw, down to 3cqw on a small screen, so the 40 columns fit at 15px) */
	padding: 4.5cqw clamp(3cqw, calc(30cqw - 90px), 6cqw) 3cqw;
	background: #000000;
	color: #ffffff;
	font-family: "VT323", ui-monospace, monospace;
	/* Bigger (owner, 2026-11-14: "Aumenta el tamaño de las fuentes del teletexto para que sea
	   legible sobre todo en móvil"): 3.25cqw, as big as 18 rows (header, a double-height title,
	   15 more) and the coloured buttons fit (3.05cqw until then), and never under 15px (on a
	   phone's 330px screen it was 10px). Where fewer rows fit, the page scrolls (.tt-page) */
	font-size: max(3.25cqw, 15px);
	line-height: 1.08;
}
.tv-teletext[hidden] {
	display: none;
}
/* The page: 17 rows at most (a double-height title and 15 more), so a long text is cut between
   two whole rows, clear of the buttons */
.tt-page {
	flex: 0 1 auto;
	min-height: 0;
	max-height: calc(17 * 1.08em);
	overflow: hidden;
	/* Where its rows don't all fit (a phone, since the letters are 15px at least, 2026-11-14):
	   scrolled with a finger or the wheel, a thin dark bar */
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: #3b3b3b transparent;
}
.tt-row {
	overflow: hidden;
	min-height: 1.08em;
	margin: 0;
	white-space: pre;
	text-overflow: ellipsis;
}
.tt-row.tt-wrap {
	white-space: normal;
}
.tt-double {
	font-size: 2em;
	line-height: 1.08;  /* two rows exactly (it was 1.04) */
	letter-spacing: 0.04em;
}
.tt-band {
	padding: 0 0.4em;
}
.tt-red { color: #ff3b3b; }
.tt-green { color: #3bff3b; }
.tt-yellow { color: #ffff3b; }
.tt-blue { color: #6b6bff; }
.tt-magenta { color: #ff3bff; }
.tt-cyan { color: #3bffff; }
.tt-white { color: #ffffff; }
.tt-bg-blue { background: #0000c8; }
.tt-bg-red { background: #c80000; }
.tt-input {
	color: #ffff3b;
}
.tt-fastext {
	flex: none;
	display: flex;
	margin-top: auto;
	justify-content: space-between;
}
.tt-fastext button {
	padding: 0;
	background: none;
	border: 0;
	font: inherit;
	cursor: pointer;
}
.tt-fastext button:hover {
	text-decoration: underline;
}
/* On the black teletext: a white ring, not the page's dark red one (2026-10-27) */
.tt-fastext button:focus-visible {
	outline-color: #ffffff;
}

/* ---- Remote control: slides in from the right edge ------------------------------------ */
.remote {
	position: fixed;
	top: 50%;
	right: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	/* Closed: off the right edge, and hidden once there (its buttons out of the tab order, no
	   shadow at the edge). translate, which style.css's reduced-motion "transform: none" leaves alone */
	translate: 100% -50%;
	visibility: hidden;
	transition: translate 0.35s ease, visibility 0s 0.35s;
	--remote-width: 196px;
}
.remote.is-open {
	translate: 0 -50%;
	visibility: visible;
	transition: translate 0.35s ease;
}
/* The bar's "Mando" button (nav.php, owner 2026-10-25), yellow while the remote is open.
   2026-10-27 (critique): it opens something on this page, so it no longer looks like the page
   links: see-through on the bar with a light outline, a little apart from them */
.bar-remote {
	margin-left: 8px;
	background: transparent;
	border-color: rgba(255, 240, 220, 0.6);
	color: #fff0dc;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
}
.bar-remote:hover {
	background: rgba(255, 240, 220, 0.14);
	border-color: #fff0dc;
}
.bar-remote[aria-expanded="true"] {
	background: var(--cola-cao);
	border-color: #d99a00;
	color: var(--cocoa-dark);
}
/* Phones: the menu has its own row, its links sharing the width (style.css, 2026-10-27; they
   used to be squeezed beside the title), so Mando takes an equal share, without its gap */
@media only screen and (max-width: 600px) {
	.bar-remote {
		margin-left: 0;
	}
}
/* "Guardar" (owner, 2026-10-31): a tab on the remote's left edge, in its dark plastic, that slides
   it back off the screen (tele.js); the arrow points the way it goes. Vertical text, so it
   takes no width from the page */
.remote-close {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin-right: -2px;  /* tucked against the body, no seam */
	padding: 14px 8px;
	background: linear-gradient(90deg, #3a3330, #4a423d);
	border: 0;
	border-radius: 12px 0 0 12px;
	box-shadow: -4px 6px 16px rgba(0, 0, 0, 0.35), inset 1px 1px 0 rgba(255, 255, 255, 0.12);
	color: #f1e6d1;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}
.remote-close span {
	writing-mode: vertical-rl;
	rotate: 180deg;  /* read bottom to top, as on a book's spine */
}
.remote-close:hover {
	color: var(--cola-cao);
}
.remote-close:focus-visible {
	outline: 2px solid var(--cola-cao);
	outline-offset: 2px;
}
.remote-body {
	display: grid;
	gap: 14px;
	width: var(--remote-width);
	padding: 18px 18px 22px;
	background: linear-gradient(160deg, #4a423d, #1f1b19 70%);
	border-radius: 30px 0 0 30px;
	box-shadow: -6px 10px 30px rgba(0, 0, 0, 0.45), inset 1px 1px 0 rgba(255, 255, 255, 0.12);
}
.remote-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.remote-eye {
	width: 34px;
	height: 12px;
	background: linear-gradient(#5a0d0d, #240404);
	border-radius: 6px;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
}
.remote-body button {
	border: 0;
	font: inherit;
	cursor: pointer;
	transition: transform 0.05s;
}
.remote-body button:active {
	transform: translateY(2px);
}
.remote-power {
	width: 40px;
	height: 40px;
	background: radial-gradient(circle at 40% 35%, #f0584a, #a3180d);
	border-radius: 50%;
	box-shadow: 0 3px 0 #5e0c06;
	color: #ffffff;
	font-size: 1.125rem;
}
.remote-brand {
	color: #d9c6a6;
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-align: center;
	text-transform: uppercase;
}
.remote-keys {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}
.remote-keys button,
.remote-rocker button {
	height: 34px;
	background: linear-gradient(#f1e6d1, #c9b998);
	border-radius: 10px;
	box-shadow: 0 3px 0 #7c6c52;
	color: #2e1b10;
	font-family: "VT323", ui-monospace, monospace;
	font-size: 1.375rem;
	line-height: 1;
}
.remote-keys .remote-txt {
	background: linear-gradient(#ffe48a, #e0b232);
	box-shadow: 0 3px 0 #8a6a10;
	font-size: 1.125rem;
}
.remote-keys .remote-mute {
	font-size: 0.9375rem;
}
.remote-rockers {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.remote-rocker {
	display: grid;
	gap: 4px;
	padding: 6px;
	background: #2a2523;
	border-radius: 16px;
	text-align: center;
}
.remote-rocker span {
	color: #d9c6a6;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.1em;
}
.remote-fastext {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}
.remote-fastext button {
	position: relative;
	height: 18px;
	border-radius: 9px;
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}
/* The keys stay slim, as on a real remote, but take a 44px-tall touch (2026-10-27, audit):
   into the gaps around them (11px up: the rows' gap on a phone; the rest down, into the
   remote's padding), not over the next buttons */
.remote-fastext button::before {
	content: "";
	position: absolute;
	inset: -11px -4px -15px;
}
.fastext-red { background: #e8352a; }
.fastext-green { background: #2fbf3a; }
.fastext-yellow { background: #f2cf1d; }
.fastext-cyan { background: #23c4d6; }
.remote-body button:focus-visible {
	outline: 2px solid var(--cola-cao);
	outline-offset: 2px;
}
@media only screen and (max-width: 520px) {
	.remote {
		--remote-width: 176px;
	}
	.remote-body {
		gap: 11px;
		padding: 14px 14px 18px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.remote {
		transition: none;
	}
}

/* ==================================================================
   Motion details (2026-10-23): the set's glow, the light, the antenna,
   the guide's live dot, bar and clock. All off with reduced motion
   ================================================================== */

/* 1. In full screen, while on, the screen lights the room: a soft glow around the cabinet in the
      colour of the programme on air (tele.js sets --glow from its picture), whiter while tuning.
      Under the cabinet's wood (it is no stacking context), above the set's background. Not on
      the page (owner, 2026-10-29: removed; there the set turns, and the light didn't follow it
      well, neither on the set's back nor on the wall behind it) */
.tv {
	--glow: 124, 160, 255;
}
.tv.is-fullscreen .tv-cabinet::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	box-shadow: 0 0 90px 40px rgba(var(--glow), 0.55), 0 0 200px 90px rgba(var(--glow), 0.25);
	opacity: 0;
	transition: opacity 0.6s, box-shadow 1.2s;
	pointer-events: none;
}
.tv.is-fullscreen.is-on .tv-cabinet::after {
	opacity: 1;
	animation: tv-glow 3.2s ease-in-out infinite;
}
.tv.is-fullscreen.is-on.is-tuning-glow .tv-cabinet::after {
	--glow: 235, 240, 255;
	animation: tv-glow-snow 0.25s steps(2) infinite;
}
@keyframes tv-glow {
	0%, 100% { opacity: 0.85; }
	50% { opacity: 1; }
}
@keyframes tv-glow-snow {
	0% { opacity: 0.7; }
	100% { opacity: 1; }
}

/* 1b. On the page, while on, the room's wall behind the set lights up (owner, 2026-11-12: "añade
      luz de background relacionada con la tele"): a wide, soft glow in the same colour (--glow,
      which tele.js sets on .tele too), whiter while tuning, fading in and out with the set. It
      stays on the wall when the set turns (the set's own glow didn't follow it well, 2026-10-29,
      so this one is diffuse and big). A box the set's size (its width; its height worked out as
      in .tele's --tele-width) behind it, drawn only by its shadow */
.tele {
	--glow: 124, 160, 255;
	position: relative;
	isolation: isolate;
}
.tele::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 96px;  /* (.tele's top padding; 72px and 40px earlier on 2026-11-13) */
	left: 50%;
	width: var(--tele-width);
	height: calc((var(--tele-width) - 292px) * 0.75 + 116px);  /* (94px until the legs, 2026-11-13) */
	translate: -50% 0;
	border-radius: 30px;
	/* Lit inside too (owner, 2026-11-12: "la luz de detrás se queda con hueco vacío al moverse la
	   tele... no puede ocupar todo el hueco vacío?"): an outer shadow isn't drawn under its box, so
	   the swaying or turning set showed an unlit hole there. 0.43 is the two shadows together at the
	   box's edge, so there is no seam */
	background: rgba(var(--glow), 0.43);
	box-shadow: 0 0 140px 70px rgba(var(--glow), 0.32), 0 0 320px 170px rgba(var(--glow), 0.16);
	opacity: 0;
	transition: opacity 0.8s, box-shadow 1.2s, background-color 1.2s;
	pointer-events: none;
}
body.tele-on .tele::before {
	opacity: 1;
}
.tele:has(.tv.is-tuning-glow)::before {
	--glow: 235, 240, 255;
}
/* Gone while the set is turned by hand and on its way back to the front (owner, 2026-11-12: "debe
   desaparecer cuando rotamos la tele"; tele.js's is-turning and is-returning); the small sway
   left alone keeps it */
.tele:has(.tv.is-turning)::before,
.tele:has(.tv.is-returning)::before {
	opacity: 0;
	transition-duration: 0.25s;
}
/* Phones and portrait tablets: the stacked set, edge to edge less 8px, 28px under the bar (16px on
   2026-11-12, without the antenna); its height about the 4:3 screen and the panel under it */
@media only screen and (max-width: 760px), only screen and (max-width: 1000px) and (orientation: portrait) {
	.tele::before {
		top: 44px;
		width: calc(100% - 16px);
		height: calc((100vw - 64px) * 0.75 + 200px);
		border-radius: 18px;
		box-shadow: 0 0 70px 30px rgba(var(--glow), 0.32), 0 0 160px 80px rgba(var(--glow), 0.16);
	}
}

/* 2. The red light blinks when a new programme comes in */
.tv.is-on .tv-led.is-blink {
	animation: tv-led-blink 0.18s steps(1) 6;
}
@keyframes tv-led-blink {
	0% { background: #ff3b2f; box-shadow: 0 0 10px #ff3b2f; }
	50% { background: #4a1a12; box-shadow: none; }
}

/* 3. The antenna wobbles when the channel changes */
.tv-antenna.is-wobble span {
	/* The arrival animation (section 6) stays in the list: replaced, it would start again when
	   the wobble ends, hiding the rods for a moment */
	animation: tv-build-antenna 0.6s ease-out 1.45s backwards, tv-antenna-wobble 0.7s ease-out;
}
/* Where the set turns (tele.js's .is-turnable) the rods are springs (flexAntenna()), and a change
   of channel kicks them up instead (owner, 2026-11-13: "Controla que en los movimientos bruscos de
   la tele, las antenas no entren dentro de la cabina": this wobble, 5 degrees down on top of the
   spring's, took the long right rod under the flat, into the cabinet) */
.tv.is-turnable .tv-antenna.is-wobble span {
	animation: tv-build-antenna 0.6s ease-out 1.45s backwards;
}
@keyframes tv-antenna-wobble {
	0% { transform: rotate(0deg); }
	20% { transform: rotate(5deg); }
	45% { transform: rotate(-4deg); }
	70% { transform: rotate(2deg); }
	100% { transform: rotate(0deg); }
}
/* ...and its balls are red lights that do what the red light by the power button does (owner,
   2026-10-25; until then they lit up green on a change of channel): on when the set is on, the
   slow standby glow when it is off, and the blink when a new programme comes in (tele.js
   replays is-blink on the light and the antenna together, so they are in step) */
.tv.is-on .tv-antenna span::before {
	background: #ff3b2f;
	box-shadow: 0 0 8px #ff3b2f;
}
.tv:not(.is-on) .tv-antenna span::before {
	animation: tv-led-standby 2.4s ease-in-out infinite;
}
.tv.is-on .tv-antenna.is-blink span::before {
	animation: tv-led-blink 0.18s steps(1) 6;
}

/* 6. On arrival, the set builds itself in about two seconds (owner, 2026-10-23): the
      cabinet drops in empty, the screen grows to fill it and the tube lights up from a line,
      the panel and its knobs come in (the feet too, until 2026-10-29), then the antenna grows, and the text and the
      guide below rise in. Each part waits hidden (fill "backwards") and keeps no transform
      afterwards */
.tv-cabinet {
	animation: tv-build-drop 0.6s cubic-bezier(0.3, 1.5, 0.6, 1) backwards;
}
@keyframes tv-build-drop {
	from { opacity: 0; transform: translateY(-48px) scale(0.96); }
}
.tv-screen {
	animation: tv-build-tube 0.55s ease-out 0.85s backwards;
}
/* The screen and its black frame grow from the middle once the cabinet has landed, so the
   cabinet is empty until then */
.tv-bezel {
	animation: tv-build-bezel 0.4s cubic-bezier(0.3, 1.3, 0.6, 1) 0.5s backwards;
}
@keyframes tv-build-bezel {
	from { opacity: 0; transform: scale(0.15); }
}
@keyframes tv-build-tube {
	0% { opacity: 0; transform: scale(1, 0.01); filter: brightness(4); }
	40% { opacity: 1; transform: scale(1, 0.02); filter: brightness(4); }
	100% { transform: scale(1, 1); filter: brightness(1); }
}
/* (named for the feet, gone since 2026-10-29: the antenna's dome grows with it) */
@keyframes tv-build-feet {
	from { transform: scaleY(0); }
}
.tv-panel {
	animation: tv-build-panel 0.45s ease-out 1s backwards;
}
@keyframes tv-build-panel {
	from { opacity: 0; transform: translateX(24px); }
}
.tv-panel .knob {
	animation: tv-build-knob 0.7s ease-out 1.15s backwards;
}
@keyframes tv-build-knob {
	from { opacity: 0; transform: rotate(-300deg); }
}
.tv-antenna::after {
	animation: tv-build-feet 0.3s ease-out 1.35s backwards;
	transform-origin: bottom center;
}
.tv-antenna span {
	animation: tv-build-antenna 0.6s ease-out 1.45s backwards;
}
@keyframes tv-build-antenna {
	0% { transform: scaleY(0); }
	55% { transform: scaleY(1.06) rotate(4deg); }
	80% { transform: rotate(-2deg); }
	100% { transform: none; }
}
.tele-under {
	animation: tv-build-rise 0.5s ease-out 1.5s backwards;
}

@keyframes tv-build-rise {
	from { opacity: 0; transform: translateY(16px); }
}
@media (prefers-reduced-motion: reduce) {
	.tv-cabinet,
	.tv-bezel,
	.tv-screen,
	.tv-panel,
	.tv-panel .knob,
	.tv-antenna::after,
	.tv-antenna span,
	.tele-under {
		animation: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tv.is-fullscreen.is-on .tv-cabinet::after,
	.tv.is-fullscreen.is-on.is-tuning-glow .tv-cabinet::after,
	.tv.is-on .tv-led.is-blink,
	.tv.is-on .tv-antenna.is-blink span::before,
	.tv-antenna.is-wobble span {
		animation: none;
	}
}

/* Only the picture (owner, 2026-10-23; 2026-10-25): the YouTube player is 22% wider than the
   screen, as before (old 4:3 shows lose a little of their edges), and also PLAYER_BAND taller
   at the top and at the bottom. YouTube fits the video to the player's width and centres it,
   so the picture is as big as before, while its title band (at the player's top) and its logo
   (bottom right) lie in those bands, outside the screen. The bands are fixed pixels because
   YouTube's title is: the earlier 22% scale cropped only ~31px off a phone's screen, and the
   title showed. The shield over it keeps the mouse away from YouTube, so its hover overlays
   never appear */
.tv-screen {
	--player-band: 96px;
}
.tv-screen iframe#player {
	inset: auto;
	left: -11%;
	top: calc(-11% - var(--player-band));
	width: 122%;
	height: calc(122% + 2 * var(--player-band));
}
.tv-shield {
	position: absolute;
	inset: 0;
	z-index: 1;
	cursor: pointer;
}
.tv-screen.is-off .tv-shield {
	display: none;
}

/* The channel arrows are drawn (svg.arrow), not text, so each sits exactly in the middle of
   its button on the panel and the remote: the buttons centre their content */
.tv-buttons button,
.remote-rocker button {
	display: inline-grid;
	place-items: center;
}
.tv-buttons button .arrow,
.remote-rocker button .arrow {
	display: block;
	width: 11px;
	height: 11px;
}

/* ==================================================================
   The set in 3D (owner, 2026-10-29): a box with depth that turns when
   dragged, even with a video playing, and sways gently when left alone
   (so it shows it can turn); from the front it looks as before. tele.js
   sets --tv-depth (from the cabinet's width), the set's transform and the
   corners' strips; index.php has the other faces (.tv-depth)
   ================================================================== */
.tv {
	--tv-depth: 180px;
	transform-style: preserve-3d;
	/* tele.js sets the transform (the drag's turn and the idle sway, with the perspective in it,
	   so it needs no wrapper). The perspective is from the front (the origin's default depth), so
	   at rest the set is its own size (2026-10-29: from the box's middle it showed 8% bigger),
	   and level with its top, so the antenna's dome shows over it (from the middle's height it
	   hid behind the top edge); the turn is round the box's middle (tele.js moves it there and back) */
	transform-origin: 50% 0;
	touch-action: pan-y;  /* on touch screens an upright drag scrolls; a sideways one turns it (both ways, tele.js) */
}
.tv.is-turning {
	cursor: grabbing;
}
/* Back to the front (a double click on the set, tele.js) */
.tv.is-returning {
	transition: transform 0.7s cubic-bezier(0.3, 1.2, 0.5, 1);
}
.tv-cabinet {
	--tv-radius: 30px;  /* its corners, so the flat sides stop where they start */
	transform-style: preserve-3d;
}
/* The wood shows it can be dragged (tele.js adds .is-turnable); the bezel and the panel keep
   their own pointer */
.tv.is-turnable .tv-cabinet {
	cursor: grab;
	user-select: none;  /* a drag turns it, it doesn't select its labels */
}
.tv.is-turnable .tv-bezel,
.tv.is-turnable .tv-panel {
	cursor: auto;
}
/* The faces: over the cabinet's whole box (its border too), behind its front */
.tv-depth {
	position: absolute;
	inset: -3px;
	border-radius: inherit;
	transform-style: preserve-3d;
	pointer-events: none;
	/* 1px in front of the front, so the faces close the joint round its edge (2026-10-29: a hairline
	   of the page showed between the front's smoothed edge and the faces); facing outwards, they
	   never cover the front */
	transform: translateZ(1px);
}
.tv-depth > span {
	position: absolute;
	display: block;
}
/* Its sides, corners and back can be grabbed to turn it (2026-10-29: only the front could; the
   box itself stays out of the way of the front's buttons) */
.tv.is-turnable .tv-depth > span {
	pointer-events: auto;
	cursor: grab;
}
/* Turned away (tele.js): the front's buttons and video, unseen, can't be pressed through the
   back (browsers hit them although their back isn't drawn); the faces above still can. Full
   screen shows it flat and facing whatever the turn */
.tv.is-from-behind:not(.is-fullscreen) .tv-cabinet {
	pointer-events: none;
	/* (and drawn from behind, hidden by the back: Chrome hits nothing inside a box whose back is
	   turned and hidden, so the back and the sides couldn't be grabbed) */
	backface-visibility: visible;
}
/* The outer faces face outwards and aren't drawn from behind (backface-visibility), so the
   box looks right whatever order the browser draws its planes in: of a box's faces, those
   turned to the viewer never overlap. Each starts at the front's edge (its side of the
   cabinet) and turns back about that edge. The flat sides stop where the corners start */
.tv-side,
.tv-corner,
.tv-back,
.tv-cabinet,
.tv-bezel,
.tv-panel {
	backface-visibility: hidden;
}
.tv-side {
	background-color: #6b3d22;
	background-image:
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 3px, transparent 3px 11px),
		linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.32));
}
/* (1px into each corner, over its strips, so no seam shows where they meet) */
.tv-side-left,
.tv-side-right {
	top: calc(var(--tv-radius) - 1px);
	bottom: calc(var(--tv-radius) - 1px);
	width: var(--tv-depth);
}
.tv-side-left {
	right: 100%;
	transform-origin: right center;
	transform: rotateY(-90deg);
}
.tv-side-right {
	left: 100%;
	transform-origin: left center;
	transform: rotateY(90deg);
}
.tv-side-top,
.tv-side-bottom {
	right: calc(var(--tv-radius) - 1px);
	left: calc(var(--tv-radius) - 1px);
	height: var(--tv-depth);
	background-image:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 3px, transparent 3px 11px),
		linear-gradient(rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0.1));
}
.tv-side-top {
	bottom: 100%;
	transform-origin: center bottom;
	transform: rotateX(90deg);
}
.tv-side-bottom {
	top: 100%;
	background-color: #3f2314;
	transform-origin: center top;
	transform: rotateX(-90deg);
}
/* The rounded corners, each a fan of strips (tele.js) that run back like the sides */
.tv-corner {
	background: linear-gradient(90deg, #5a321c, #3f2314);
	transform-origin: 0 0;
}
/* Seals: rings of the cabinet's dark edge, 1px wider than it, just behind the front and just in
   front of the back. Smoothing their edges, the browser blends the faces' joints with them, not
   with the page (2026-10-29: a light hairline showed round the corners). Rings, not fills, so
   even drawn in the wrong order they only touch the edge, which is the same colour */
.tv-seal {
	inset: -1px;
	border: 3px solid #3a2013;
	border-radius: calc(var(--tv-radius) + 1px);
	transform: translateZ(-1.5px);
}
.tv-seal-back {
	transform: translateZ(calc(var(--tv-depth) * -1 + 0.5px));
}
/* The back: dark plastic with a grille of slots and the maker's label */
.tv-back {
	inset: 0;
	border-radius: inherit;
	background:
		repeating-linear-gradient(90deg, #120a06 0 6px, transparent 6px 14px) center 30% / 46% 34% no-repeat,
		linear-gradient(#2e1b10, #1c100a);
	box-shadow: inset 0 0 0 3px #3a2013;
	transform: translateZ(calc(var(--tv-depth) * -1)) rotateY(180deg);
}
.tv-back-label {
	position: absolute;
	bottom: 18%;
	left: 50%;
	padding: 6px 12px;
	background: #c9b48e;
	border-radius: 3px;
	color: #2e1b10;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	transform: translateX(-50%);
}
/* The antenna on the top's middle */
.tv-antenna {
	transform: translateZ(calc(var(--tv-depth) / -2));
}
/* Two legs (owner, 2026-11-13: "añadir dos patas a la tele de forma que no se vean huecos vacíos al
   girar en 3d"): under the cabinet's bottom edge, an eighth of the way in from each side, each a
   closed box (front, back, two sides and a bottom; the top lies against the cabinet) running
   the cabinet's depth less 8px at each end: the perspective's eye is level with the set's top,
   so a leg set further back rises behind the cabinet's front and hides (half the depth deep,
   in the middle, it didn't show at all). Like the cabinet's faces, each faces outwards and
   isn't drawn from behind, so turned the leg is solid from any angle. The sides only a shade
   darker than the front (2026-10-29: the old feet's much darker, long sides showed as wedges,
   "se notan los planos laterales de las patas"). Inside the cabinet, so they drop in and turn
   with it; .tv's bottom margin is their room. Where the set is flat (reduced motion, WebKit)
   only the fronts show */
.tv-legs {
	--leg-width: 72px;
	--leg-radius: 6px;  /* their bottom corners (owner, 2026-11-13: "redondea las esquinas de las patas"); the top ones meet the cabinet */
	--leg-depth: calc(var(--tv-depth) - 16px);  /* (8px in from the front and from the back) */
	position: absolute;
	top: calc(100% + 3px);  /* (under the cabinet's 3px edge) */
	right: -3px;
	left: -3px;
	height: var(--leg-height);
	transform-style: preserve-3d;
	pointer-events: none;
}
.tv-leg {
	position: absolute;
	top: 0;
	width: var(--leg-width);
	height: 100%;
	transform-style: preserve-3d;
	transform: translateZ(calc((var(--tv-depth) - var(--leg-depth)) / -2));
}
.tv-leg-left {
	left: 12.5%;
}
.tv-leg-right {
	right: 12.5%;
}
.tv-leg > i {
	position: absolute;
	display: block;
	backface-visibility: hidden;
}
.tv-leg-front,
.tv-leg-back {
	inset: 0;
	background:
		repeating-linear-gradient(93deg, rgba(255, 255, 255, 0.05) 0 3px, transparent 3px 11px),
		linear-gradient(#5a321c, #3f2314);
	border-radius: 0 0 var(--leg-radius) var(--leg-radius);
	box-shadow: inset 0 -3px 0 #2e190f;
}
.tv-leg-back {
	transform: translateZ(calc(var(--leg-depth) * -1)) rotateY(180deg);
}
/* (1px over the front's and back's edges, so no seam shows where they meet). The sides stop and the
   bottom starts where the front's rounded corners do; between them, along the depth, a bevel at
   each corner closes the box (the front's quarter circle over its ends), so turned no gap shows */
.tv-leg-side {
	top: 0;
	bottom: calc(var(--leg-radius) - 0.5px);
	width: calc(var(--leg-depth) + 1px);
	background: linear-gradient(90deg, #4f2b18, #3f2314);
}
.tv-leg-side-left {
	right: calc(100% - 0.5px);
	transform-origin: right center;
	transform: rotateY(-90deg);
}
.tv-leg-side-right {
	left: calc(100% - 0.5px);
	transform-origin: left center;
	transform: rotateY(90deg);
}
.tv-leg-bottom {
	top: calc(100% - 0.5px);
	right: calc(var(--leg-radius) - 0.5px);
	left: calc(var(--leg-radius) - 0.5px);
	height: calc(var(--leg-depth) + 1px);
	background: #24140c;
	transform-origin: center top;
	transform: rotateX(-90deg);
}
/* Each laid back like the bottom, then turned 45 degrees about the front: from the side's foot to
   the bottom's edge (radius × √2 across, 1px more to overlap them) */
.tv-leg-bevel {
	width: calc(var(--leg-radius) * 1.4142 + 1px);
	height: calc(var(--leg-depth) + 1px);
	background: #2e190f;
	transform-origin: 0 0;
}
.tv-leg-bevel-left {
	top: calc(100% - var(--leg-radius) - 0.5px);
	left: -0.5px;
	transform: rotateZ(45deg) rotateX(-90deg);
}
.tv-leg-bevel-right {
	top: calc(100% + 0.5px);
	left: calc(100% - var(--leg-radius) - 0.5px);
	transform: rotateZ(-45deg) rotateX(-90deg);
}
/* Full screen shows the set without them; with reduced motion (every transform taken away) the
   other faces would lie flat on the page, so only the fronts stay */
.tv.is-fullscreen {
	margin-bottom: 0;
}
.tv.is-fullscreen .tv-legs {
	display: none;
}
@media (prefers-reduced-motion: reduce) {
	.tv-leg > i:not(.tv-leg-front) {
		display: none;
	}
}
/* Phones: the thin cabinet's 2px edge and 18px corners */
@media only screen and (max-width: 760px), only screen and (max-width: 1000px) and (orientation: portrait) {
	.tv-cabinet {
		--tv-radius: 18px;
	}
	.tv-depth {
		inset: -2px;
	}
	.tv-back-label {
		font-size: 0.5625rem;
	}
	/* Shorter, narrower legs under the 2px edge */
	.tv {
		--leg-height: 12px;
	}
	.tv-legs {
		--leg-width: 44px;
		--leg-radius: 4px;
		top: calc(100% + 2px);
		right: -2px;
		left: -2px;
	}
}
/* Full screen: flat and facing, as before (over tele.js's own transform) */
.tv.is-fullscreen {
	transform: none !important;
	transform-style: flat;
}
.tv.is-fullscreen .tv-depth {
	display: none;
}
/* Reduced motion: style.css takes every transform away, so no depth (its faces would lie flat
   on the front) and no turning (tele.js doesn't set it up) */
@media (prefers-reduced-motion: reduce) {
	.tv-depth {
		display: none;
	}
}

/* ---- Every part with volume (owner, 2026-10-29) -------------------------------------------
   The buttons and knobs stand out of the panel, the knobs as cylinders; the
   rods, balls and dome of the antenna are crossed planes, so they look solid from any angle.
   The whole chain from the cabinet to the buttons is 3D: an element raised inside a flat one
   is missed by the browser's hit testing at some angles (2026-10-29: clicks were lost), raised
   in a 3D chain it isn't. The extra faces never take the pointer */
.tv-panel,
.tv-control,
.tv-buttons,
.tv-power {
	transform-style: preserve-3d;
}
.tv-buttons button,
#power {
	--raise: 6px;
	transform-style: preserve-3d;
	transform: translateZ(var(--raise));
}
/* Their sides: two outlines between the face and the panel */
.tv-buttons button::before,
.tv-buttons button::after,
#power::before,
#power::after {
	content: "";
	position: absolute;
	inset: -1px;
	border: 2px solid rgba(58, 32, 19, 0.3);
	border-radius: inherit;
	transform: translateZ(calc(var(--raise) / -3));
	pointer-events: none;
}
.tv-buttons button::after,
#power::after {
	transform: translateZ(calc(var(--raise) * -2 / 3));
}
#power::before,
#power::after {
	background: #7d1d13;
	border-color: #5e160e;
}
/* Knobs: the face raised, discs behind it for the side, and the cap standing out of the face */
.knob {
	--raise: 14px;
	transform-style: preserve-3d;
	transform: translateZ(var(--raise));
}
.knob-volume {
	--raise: 11px;
}
.knob-ring {
	position: absolute;
	inset: 2%;
	border-radius: 50%;
	background: linear-gradient(90deg, #4a4a4a, #a3a3a3 40%, #555555);
	transform: translateZ(calc(var(--raise) * var(--k) * -1));
	pointer-events: none;
}
.knob::before {
	transform: translateZ(3px);
}
/* The badge and the light stand out a little */
.tv-badge,
.tv-led {
	transform: translateZ(2px);
}
/* Antenna: each rod a second plane across it, each ball three; the dome eight upright planes
   round its middle and five discs across it (its outline from above too) */
.tv-antenna,
.tv-antenna > span {
	transform-style: preserve-3d;
}
.tv-rod {
	position: absolute;
	inset: 0;
	background: inherit;
	border-radius: inherit;
	transform: rotateY(90deg);
}
.tv-ball {
	position: absolute;
	top: -7px;
	left: -2.5px;  /* (centred on the 9px rod) */
	width: 14px;
	height: 14px;
	background: #4a1a12;
	border-radius: 50%;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
	transform: rotateY(var(--a));
}
.tv-dome {
	position: absolute;
	bottom: -4px;
	left: -25px;
	width: 50px;
	height: 20px;
	background: linear-gradient(#4a2c1d, #24140c);
	border-radius: 25px 25px 4px 4px;
	transform: rotateY(var(--a));
	transform-origin: center bottom;
	animation: tv-build-feet 0.3s ease-out 1.35s backwards;
}
/* A disc at --y above the dome's foot (4px under the cabinet's top), of the dome's radius there */
.tv-dome-disc {
	position: absolute;
	bottom: calc(var(--y) - 4px - var(--r));
	left: calc(var(--r) * -1);
	width: calc(var(--r) * 2);
	height: calc(var(--r) * 2);
	background: radial-gradient(circle, #4a2c1d, #2e1b10);
	border-radius: 50%;
	transform: rotateX(90deg);
	animation: tv-build-feet 0.3s ease-out 1.35s backwards;
}
/* The balls' extra planes light up with the first (section 3 of the motion details) */
.tv.is-on .tv-antenna .tv-ball {
	background: #ff3b2f;
	box-shadow: 0 0 8px #ff3b2f;
}
.tv:not(.is-on) .tv-antenna .tv-ball {
	animation: tv-led-standby 2.4s ease-in-out infinite;
}
.tv.is-on .tv-antenna.is-blink .tv-ball {
	animation: tv-led-blink 0.18s steps(1) 6;
}
/* Reduced motion: style.css takes the elements' transforms away but not the pseudo-elements',
   so the extra faces go, or they would lie flat over the parts */
@media (prefers-reduced-motion: reduce) {
	.tv-buttons button::before,
	.tv-buttons button::after,
	#power::before,
	#power::after,
	.knob-ring,
	.tv-rod,
	.tv-ball,
	.tv-dome,
	.tv-dome-disc {
		display: none;
	}
}

/* A flat set on WebKit (owner, 2026-11-02: on an iPhone the set lost buttons and a black layer
   covered the video). Safari orders a 3D box's planes wrongly: the raised buttons went behind the
   panel, and the YouTube player was drawn under the faces. html.tv-flat (index.php: every browser
   on an iPhone or iPad, Safari on a Mac) draws it as reduced motion does: no 3D context, no
   faces, nothing raised; tele.js doesn't set up the turning or the sway. The knobs still turn
   (their mark is the rotate property, not a transform) */
html.tv-flat .tv,
html.tv-flat .tv * {
	transform-style: flat !important;
}
html.tv-flat .tv {
	transform: none !important;
}
html.tv-flat .tv-depth,
html.tv-flat .tv-buttons button::before,
html.tv-flat .tv-buttons button::after,
html.tv-flat #power::before,
html.tv-flat #power::after,
html.tv-flat .knob-ring,
html.tv-flat .tv-rod,
html.tv-flat .tv-ball,
html.tv-flat .tv-dome,
html.tv-flat .tv-leg > i:not(.tv-leg-front),
html.tv-flat .tv-dome-disc {
	display: none !important;
}
html.tv-flat .tv-buttons button,
html.tv-flat #power,
html.tv-flat .knob,
html.tv-flat .knob::before,
html.tv-flat .tv-badge,
html.tv-flat .tv-led,
html.tv-flat .tv-leg,
html.tv-flat .tv-depth {
	transform: none !important;
}
/* It doesn't turn there: the keys line doesn't say it does */
html.tv-flat .keys-turn {
	display: none;
}
html.tv-flat .tv-side,
html.tv-flat .tv-corner,
html.tv-flat .tv-back,
html.tv-flat .tv-cabinet,
html.tv-flat .tv-bezel,
html.tv-flat .tv-panel {
	backface-visibility: visible;
}

/* ==================================================================
   Switching it on first (owner, 2026-10-31: visitors took a while to
   see that the point is to switch the set on). Until it is on, the
   screen is the one thing asking to be used: a line over the set on a
   first visit (on the dark screen, over the button), the whole dark screen a button (tele.js), the button
   itself first, what is on now under it (dimmed), the panel
   quieter but for its power button, and no Mando or keys yet. The set
   doesn't sway until it is on (tele.js)
   ================================================================== */
.tele-intro {
	order: -2;  /* over the button */
	position: relative;
	z-index: 1;  /* over the glass's reflection */
	max-width: 80%;
	margin: 0;
	color: #fff7e6;
	font-family: var(--font-display);
	font-size: clamp(1.125rem, 3.4cqw, 1.875rem);  /* bigger (owner, 2026-10-31) */
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	text-wrap: balance;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}
.tele-intro[hidden] {
	display: none;
}
.tv-screen.is-off .tv-off-screen {
	cursor: pointer;
}
/* The button always in the very middle (owner, 2026-10-31: it moved up and down as "Ahora en…"
   took one line or two): three rows, the first-visit line ending over it, the button in the
   middle one, what is on now starting under it; the outer rows share the rest equally */
.tv-screen.is-off .tv-off-screen {
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
	grid-template-columns: minmax(0, 1fr);
	justify-content: stretch;
	justify-items: center;
}
/* The column is the whole screen's width (owner, 2026-10-31: the first-visit line and "Ahora
   en…" were as wide as each other): the flex layout's justify-content: center, still applying
   to the grid, shrank the one column to its content, so each line's max-width was a share of
   that column, not of the screen */
.tele-intro {
	grid-row: 1;
	align-self: end;
}
.power-big {
	grid-row: 2;
}
.off-now {
	grid-row: 3;
	align-self: start;
}
/* The button keeps its original look (the light pill with the green glow, earlier in this file):
   it was big and red for a day; the owner wanted the original back (2026-10-31) */
/* What is on now: the original size back, then a little smaller (owner, 2026-10-31) */
.off-now {
	opacity: 0.75;
}
.off-now-channel {
	font-size: clamp(16px, 2.6cqw, 26px);
}
.off-now-title {
	font-size: clamp(20px, 4.2cqw, 40px);
}
.tv-control,
.tv-speaker,
.tv-badge {
	transition: opacity 0.4s;
}
.tv:not(.is-on) .tv-control,
.tv:not(.is-on) .tv-speaker,
.tv:not(.is-on) .tv-badge {
	opacity: 0.35;
}
.tv:not(.is-on) #power {
	animation: power-big-glow 2.4s ease-in-out infinite;
}
body.tele-page:not(.tele-on) #remote-tab,
body.tele-page:not(.tele-on) .tele-keys {
	display: none;
}
@media (prefers-reduced-motion: reduce) {
	.tv:not(.is-on) #power {
		animation: none;
	}
}
/* Phones and portrait tablets lay the panel's groups out with display: contents (no box, so their
   opacity does nothing), and their buttons' group too: the labels and buttons are dimmed instead */
@media only screen and (max-width: 760px), only screen and (max-width: 1000px) and (orientation: portrait) {
	.tv-control-label,
	.tv-buttons button {
		transition: opacity 0.4s;
	}
	.tv:not(.is-on) .tv-control-label,
	.tv:not(.is-on) .tv-buttons button {
		opacity: 0.35;
	}
}

/* ==================================================================
   Share what is on (owner, 2026-10-31: to make the site known): a
   button under the set, only while it is on. tele.js draws the
   postcard (1080x1350) and shares or downloads it
   ================================================================== */
.tele-share {
	display: flex;
	justify-content: center;
	width: min(100%, var(--tele-width));
	/* 24px from the set on every screen (owner, 2026-11-12: "Separa consistentemente el botón
	   Comparte lo que estás viendo de la tele"): .tele's 22px gap and these 2px; phones, whose gap
	   is 12px, add 12px. Until then 34px here (12px, more room from the set, owner, 2026-10-31)
	   and 12px on phones */
	margin-top: 2px;
}
body.tele-page:not(.tele-on) .tele-share {
	display: none;
}
/* On the test card's channel (0, 2026-11-01) there is nothing to share: its room is kept, so the
   page doesn't move when changing channel */
body.tele-page.tele-testcard .tele-share {
	visibility: hidden;
}
/* Filled, so it is seen (owner, 2026-10-31: it was a light pill under the line saying what is
   on, and phones had to scroll to find it). Cobalt blue with white text, a colour of its own
   (owner, 2026-10-31): it was red for a while, as the power button (Apagar) next to it, then the
   logo's yellow, which on the site means a selected option, then bubble-gum pink */
.tele-share-button {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	padding: 10px 22px;
	background: #2b5cb8;
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 3px 0 #1d4287, 0 6px 16px rgba(46, 27, 16, 0.25);
}
.tele-share-button svg {
	flex: none;
}
.tele-share-button:hover {
	background: #3468c9;
}
.tele-share-button:active {
	transform: translateY(2px);
	box-shadow: 0 1px 0 #1d4287, 0 3px 8px rgba(46, 27, 16, 0.25);
}
.tele-share-button:focus-visible {
	outline: 3px solid var(--cocoa);
	outline-offset: 3px;
}
@media only screen and (max-width: 760px) {
	.tele-share-button {
		width: 100%;
		justify-content: center;
	}
}
.tele-share-button[aria-busy="true"] {
	cursor: progress;
	opacity: 0.7;
}
