/* Telemeriendas: the season's themes (owner, 2026-10-25). season.js sets data-season on <html>
   (halloween, navidad or verano; none for the usual look) by the month or with the T key.
   Each theme changes style.css's palette, the tablecloth behind the pages and the chocolate bar
   on top and the footer (their colours), and adds its decorations on a fixed layer behind everything
   (html::after). The tablecloth strip under the bar stays hidden (owner, 2026-10-23) */

/* ---- The notice when the theme is changed with the key (season.js) ------------------------ */
.season-notice {
	position: fixed;
	bottom: 24px;
	left: 50%;
	z-index: 20;
	padding: 10px 18px;
	background: var(--cocoa-dark);
	border-radius: 999px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
	color: #ffffff;
	font-family: var(--font-display);
	font-size: 0.9375rem;
	font-weight: 600;
	/* As wide as its text, but within a narrow phone: it wraps there (2026-10-27: nowrap ran off
	   the screen). max-content, as left: 50% would otherwise give it only half the width */
	width: max-content;
	max-width: calc(100vw - 32px);
	text-align: center;
	opacity: 0;
	translate: -50% 8px;
	transition: opacity 0.2s, translate 0.2s;
	pointer-events: none;
}
.season-notice.is-shown {
	opacity: 1;
	translate: -50% 0;
}
html[data-season]::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -2;
	background-repeat: no-repeat;
	pointer-events: none;
}

/* ---- Halloween: pumpkin orange, night purple, bats, a cobweb and pumpkins ---------------- */
html[data-season="halloween"] {
	--bg: #f3c38a;
	--surface: #fff1de;
	--surface-hover: #ffe2bf;
	--border: rgba(42, 21, 48, 0.2);
	--border-hover: rgba(42, 21, 48, 0.4);
	--text: #2a1530;
	--muted: #6b4a5e;
	--accent: #6a2c91;
	--accent-bg: #e2661b;
	--term: #426b18;  /* 2026-10-27: was #4f7d1c, under 4.5:1 on the guide (audit) */
	--cocoa: #3b1f45;
	--cocoa-dark: #1f0f26;
	--cola-cao: #ff9f1c;
	--bread: #c77d3a;
	--gingham: rgba(31, 15, 38, 0.8);
}
html[data-season="halloween"]::before {
	background-image:
		linear-gradient(90deg, rgba(106, 44, 145, 0.08) 50%, transparent 0),
		linear-gradient(rgba(106, 44, 145, 0.08) 50%, transparent 0);
}
html[data-season="halloween"] nav {
	background: linear-gradient(to bottom, #3b1f45, #1f0f26);
	border-bottom-color: #14091a;
}
html[data-season="halloween"] .site-footer {
	background: linear-gradient(to bottom, #1f0f26, #3b1f45);
}
html[data-season="halloween"] nav .brand h1 {
	text-shadow: 2px 2px 0 var(--accent);
}
@media only screen and (max-width: 520px) {
	html[data-season="halloween"] nav .brand h1 {
		text-shadow: 1.5px 1.5px 0 var(--accent);
	}
}
html[data-season="halloween"]::after {
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%232a1530' stroke-opacity='.45' stroke-width='.8'%3E%3Cpath d='M0 0L100 30M0 0L85 70M0 0L50 100M0 0L15 100'/%3E%3Cpath d='M25 7.5Q20 12 21 17.5Q15 20 12.5 25Q8 24 3.8 25M50 15Q41 24 42.5 35Q31 40 25 50Q16 48 7.5 50M75 22.5Q62 37 63.8 52.5Q47 61 37.5 75Q24 72 11.3 75'/%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M0 6C2 4 4 4 5 6C6 4 7 3 8 3C9 3 10 4 11 6C12 4 14 4 16 6C14 6 13 7 12 9C11 8 9 8 8 10C7 8 5 8 4 9C3 7 2 6 0 6Z' fill='%232a1530'/%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M0 6C2 4 4 4 5 6C6 4 7 3 8 3C9 3 10 4 11 6C12 4 14 4 16 6C14 6 13 7 12 9C11 8 9 8 8 10C7 8 5 8 4 9C3 7 2 6 0 6Z' fill='%232a1530' fill-opacity='.75'/%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 36'%3E%3Cpath d='M20 9c-1-4 1-6 4-7' stroke='%234f7d1c' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='13' cy='22' rx='10' ry='12' fill='%23e2661b'/%3E%3Cellipse cx='27' cy='22' rx='10' ry='12' fill='%23e2661b'/%3E%3Cellipse cx='20' cy='22' rx='9' ry='13' fill='%23f28c28'/%3E%3Cpath d='M12 18l4 3h-5zM28 18l-4 3h5zM12 27q8 5 16 0l-3 1-2-2-2 2-2-2-2 2-2-2z' fill='%232a1530'/%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 36'%3E%3Cpath d='M20 9c-1-4 1-6 4-7' stroke='%234f7d1c' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cellipse cx='13' cy='22' rx='10' ry='12' fill='%23e2661b'/%3E%3Cellipse cx='27' cy='22' rx='10' ry='12' fill='%23e2661b'/%3E%3Cellipse cx='20' cy='22' rx='9' ry='13' fill='%23f28c28'/%3E%3Cpath d='M12 18l4 3h-5zM28 18l-4 3h5zM12 27q8 5 16 0l-3 1-2-2-2 2-2-2-2 2-2-2z' fill='%232a1530'/%3E%3C/svg%3E");
	background-position: left 0 top 70px, right 48px top 110px, right 150px top 175px, left 24px bottom 16px, right 28px bottom 16px;
	background-size: 170px 170px, 72px 54px, 44px 33px, 78px 70px, 58px 52px;
}

/* ---- Navidad: Christmas red and gold, a touch of pine green, falling snow. The palette's story,
   all the owner's: 2026-10-25 red instead of green (everything red); 2026-11-14 "Haz el theme de
   Navidad más coherente con los colores de Navidad en lugar de tanto rojo" (pine green bar, footer
   and text, red only for the accents); the same day "Añade el color rojo y dorado y no tanto
   verde": now a red bar trimmed in gold, gold title, counts and checks, warm dark text, and green
   only in the footer; and "Usa un fondo más oscuro y rojizo": a dusty red page with dark red
   gingham instead of the cream one */
html[data-season="navidad"] {
	--bg: #d29a8f;  /* (owner, 2026-11-14: "Usa un fondo más oscuro y rojizo"; was a cream #f5efe0) */
	--surface: #fffdf7;
	--surface-hover: #fbf1dc;
	--border: rgba(110, 60, 10, 0.22);
	--border-hover: rgba(110, 60, 10, 0.42);
	--text: #2b1810;
	--muted: #5a2e26;  /* 4.5:1 on the reddish page too */
	--accent: #b3121f;
	--accent-bg: #c8102e;
	--term: #8a5f00;  /* dark gold: 5:1 on the surface */
	--cocoa: #8e0f1f;
	--cocoa-dark: #4a0710;
	--cola-cao: #e8b923;
	--bread: #d9a066;
	/* the gingham strips' checks in gold, not the usual brick red: the one seen is on the TV's
	   channel-change screen (tele.css's .tv-ident, on chocolate); the bar's and footer's strips are
	   hidden (style.css) */
	--gingham: rgba(222, 176, 52, 0.75);
}
html[data-season="navidad"]::before {
	background-image:
		linear-gradient(90deg, rgba(120, 10, 20, 0.12) 50%, transparent 0),
		linear-gradient(rgba(120, 10, 20, 0.12) 50%, transparent 0);
}
/* The bar Christmas red with a gold ribbon along its foot */
html[data-season="navidad"] nav {
	background: linear-gradient(to bottom, #b3121f, #7d0c18);
	border-bottom: 3px solid #d4a72c;
}
/* The title in gold, its shadow a deep red so it stands out on the red bar */
html[data-season="navidad"] nav .brand h1 {
	text-shadow: 2px 2px 0 var(--cocoa-dark);
}
@media only screen and (max-width: 520px) {
	html[data-season="navidad"] nav .brand h1 {
		text-shadow: 1.5px 1.5px 0 var(--cocoa-dark);
	}
}
/* The footer: the theme's one green, pine, under a gold ribbon like the bar's */
html[data-season="navidad"] .site-footer {
	background: linear-gradient(to bottom, #123d24, #1f5a35);
	border-top: 3px solid #d4a72c;
}
html[data-season="navidad"]::after {
	background-image:
		radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.95) 0 2px, transparent 2.5px),
		radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.95) 0 3px, transparent 3.5px),
		radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.95) 0 2px, transparent 2.5px),
		radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.95) 0 4px, transparent 4.5px),
		radial-gradient(circle at 10% 65%, rgba(255, 255, 255, 0.95) 0 2.5px, transparent 3px),
		radial-gradient(circle at 55% 40%, rgba(255, 255, 255, 0.95) 0 3px, transparent 3.5px),
		radial-gradient(circle at 30% 10%, rgba(255, 255, 255, 0.95) 0 2px, transparent 2.5px),
		radial-gradient(circle at 75% 90%, rgba(255, 255, 255, 0.95) 0 3.5px, transparent 4px),
		radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.95) 0 2.5px, transparent 3px);
	background-repeat: repeat;
	background-size: 151px 151px, 173px 173px, 197px 197px, 211px 211px, 239px 239px, 263px 263px, 281px 281px, 307px 307px, 331px 331px;
	/* a warm outline and a soft shadow under each flake, so the white stands out on the page
	   (owner, 2026-11-14: "Los copos de nieve apenas se notan con ese color de fondo", on the cream
	   page of then; the reddish one, the same day, helps too) */
	filter: drop-shadow(0 0 1px rgba(110, 45, 20, 0.6)) drop-shadow(0 1px 2px rgba(110, 45, 20, 0.35));
	animation: season-snow 40s linear infinite;
}
@keyframes season-snow {
	from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
	to { background-position: 0 302px, 0 519px, 0 394px, 0 633px, 0 478px, 0 789px, 0 562px, 0 921px, 0 662px; }
}

/* Snow piled on top of the TV (owner, 2026-10-25), on the TV page's set and every copy of it
   (tv-look.css, 2026-11-06): one irregular drawing along the top (deeper in some places, thinner
   in others, drips of different lengths; owner: not uniform), its lower part over the wood.
   Since 2026-11-14 (owner: "Para el theme de Navidad, arregla los extremos de la nieve encima de
   la tele para hacerlo más realista"; until then they faded out square, 20px in from each side):
   three pieces, the middle one stretched as before, and an end at each side drawn for the
   cabinet's rounded corner, not stretched: the snow rests on the corner, slides a little way down
   its curve, and ends rounded, its lower edge on the wood. The strip spans the cabinet's whole
   top (its border out, --snow-b) and is 4/3 of the corners' radius high (--snow-h: 40px for 30px
   corners; the ends are drawn for that, 44 x 40 each), so it fits each set: the TV page's, a
   phone's (18px corners), and tv-look.css's (30 --u). The cabinet's top edge is at 22 of its 40 */
html[data-season="navidad"] .tv-cabinet::before,
html[data-season="navidad"] .tvl-cabinet::before {
	--snow-h: 40px;
	--snow-b: 3px;
	content: "";
	position: absolute;
	top: calc(var(--snow-h) * -0.55);
	right: calc(var(--snow-b) * -1);
	left: calc(var(--snow-b) * -1);
	z-index: 1;
	height: var(--snow-h);
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 40'%3E%3Cpath transform='translate(0 2)' d='M44 2.9C35 2.2 27 4 20 8C13 12 8 18 5 25C3 29 1.5 32 2.5 34.5C3.5 36.5 6.5 36 8 33C10.5 29.5 15 26.5 22 25C30 24 37 25 44 25Z' fill='%23d9e4ee'/%3E%3Cpath d='M44 2.9C35 2.2 27 4 20 8C13 12 8 18 5 25C3 29 1.5 32 2.5 34.5C3.5 36.5 6.5 36 8 33C10.5 29.5 15 26.5 22 25C30 24 37 25 44 25Z' fill='%23ffffff'/%3E%3C/svg%3E") left top / auto 100% no-repeat,
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 40'%3E%3Cpath transform='translate(0 2)' d='M0 12.2C9 11.6 17 12.8 24 15.5C31 18.5 36 22 39 27C41 30.5 42.5 33 41.5 35C40.5 37 37.5 36 36 33C33.5 29.5 29 26.5 22 25C14 24 7 25 0 25Z' fill='%23d9e4ee'/%3E%3Cpath d='M0 12.2C9 11.6 17 12.8 24 15.5C31 18.5 36 22 39 27C41 30.5 42.5 33 41.5 35C40.5 37 37.5 36 36 33C33.5 29.5 29 26.5 22 25C14 24 7 25 0 25Z' fill='%23ffffff'/%3E%3C/svg%3E") right top / auto 100% no-repeat,
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 40' preserveAspectRatio='none'%3E%3Cpath d='M0 27V4.9Q24 -0.3 48 6.1Q67 1.1 86 5.8Q104.5 0.5 123 5.2Q141.5 0.5 160 8.4Q169.5 4.6 179 12.8Q201.5 7.7 224 18.9Q242 10.9 260 15.5Q279 10.1 298 14.8Q313.5 10.4 329 18.4Q347.5 13.6 366 18.3Q378 11.9 390 16Q400.5 12 411 18.1Q434 12.9 457 18Q484 12.5 511 22.8Q538.5 16.7 566 22.2Q579 18 592 22.2Q615.5 17.1 639 22.8Q661 16.1 683 21.1Q697 16 711 20.3Q724.5 13.1 738 17.3Q764.5 8.3 791 13.7Q807.5 8.1 824 12.6Q846.5 7 869 12Q894 6.1 919 11.4Q941 6.4 963 14.6Q981.5 9.5 1000 14.2V27H930Q930 34 923 34Q916 34 916 27H878Q878 42 872 42Q866 42 866 27H817Q817 31 810 31Q803 31 803 27H670Q670 41 664 41Q658 41 658 27H513.5Q513.5 35 507 35Q500.5 35 500.5 27H366Q366 34 360 34Q354 34 354 27H287Q287 38 282 38Q277 38 277 27H210Q210 37 203 37Q196 37 196 27H47Q47 35 42 35Q37 35 37 27H0Z' fill='%23d9e4ee'/%3E%3Cpath d='M0 25V2.9Q24 -2.3 48 4.1Q67 -0.9 86 3.8Q104.5 -1.5 123 3.2Q141.5 -1.5 160 6.4Q169.5 2.6 179 10.8Q201.5 5.7 224 16.9Q242 8.9 260 13.5Q279 8.1 298 12.8Q313.5 8.4 329 16.4Q347.5 11.6 366 16.3Q378 9.9 390 14Q400.5 10 411 16.1Q434 10.9 457 16Q484 10.5 511 20.8Q538.5 14.7 566 20.2Q579 16 592 20.2Q615.5 15.1 639 20.8Q661 14.1 683 19.1Q697 14 711 18.3Q724.5 11.1 738 15.3Q764.5 6.3 791 11.7Q807.5 6.1 824 10.6Q846.5 5 869 10Q894 4.1 919 9.4Q941 4.4 963 12.6Q981.5 7.5 1000 12.2V25H930Q930 32 923 32Q916 32 916 25H878Q878 40 872 40Q866 40 866 25H817Q817 29 810 29Q803 29 803 25H670Q670 39 664 39Q658 39 658 25H513.5Q513.5 33 507 33Q500.5 33 500.5 25H366Q366 32 360 32Q354 32 354 25H287Q287 36 282 36Q277 36 277 25H210Q210 35 203 35Q196 35 196 25H47Q47 33 42 33Q37 33 37 25H0Z' fill='%23ffffff'/%3E%3C/svg%3E") calc(var(--snow-h) * 1.1 - 1px) 0 / calc(100% - var(--snow-h) * 2.2 + 2px) 100% no-repeat;
	filter: drop-shadow(0 2px 2px rgba(74, 7, 16, 0.25));
	pointer-events: none;
}
html[data-season="navidad"] .tvl-cabinet::before {
	--snow-h: calc(40 * var(--u));
	--snow-b: max(2px, calc(3 * var(--u)));
}
html[data-season="navidad"] .quiz-set {
	position: relative;
}
@media only screen and (max-width: 760px) {
	html[data-season="navidad"] .tv-cabinet::before,
	html[data-season="navidad"] .tvl-cabinet::before {
		--snow-h: 24px;  /* (18px corners) */
		--snow-b: 2px;
	}
}
@container (max-width: 479px) {
	html[data-season="navidad"] .tvl-cabinet::before {
		--snow-h: 24px;  /* (tv-look.css's narrow set: 18px corners) */
		--snow-b: 2px;
	}
}
/* ---- Verano: sand, sea and a deckchair: striped strip, the sun and the waves -------------- */
html[data-season="verano"] {
	--bg: #f6e2b3;
	--surface: #fffaf0;
	--surface-hover: #fff0d0;
	--border: rgba(23, 58, 74, 0.2);
	--border-hover: rgba(23, 58, 74, 0.4);
	--text: #173a4a;
	--muted: #4e6b75;
	--accent: #08718a;  /* 2026-10-27: was #0a7f99, under 4.5:1 on the guide (audit) */
	--accent-bg: #ef5a3c;
	--term: #08718a;
	--cocoa: #155a6e;
	--cocoa-dark: #0b2f3a;
	--cola-cao: #ffcc33;
	--bread: #e9b872;
}
html[data-season="verano"]::before {
	background-image:
		linear-gradient(90deg, rgba(10, 127, 153, 0.06) 50%, transparent 0),
		linear-gradient(rgba(10, 127, 153, 0.06) 50%, transparent 0);
}
html[data-season="verano"] nav {
	background: linear-gradient(to bottom, #0f7f99, #0b5f73);
	border-bottom-color: #084a5a;
}
html[data-season="verano"] .site-footer {
	background: linear-gradient(to bottom, #0b5f73, #0f7f99);
}
html[data-season="verano"]::after {
	background-image:
		radial-gradient(circle at calc(100% - 90px) 160px, #ffd84a 0 44px, rgba(255, 216, 74, 0.35) 45px 68px, transparent 70px),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30'%3E%3Cpath d='M0 15q15-12 30 0t30 0 30 0 30 0V30H0z' fill='%230a8fa8' fill-opacity='.3'/%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30'%3E%3Cpath d='M0 15q15-12 30 0t30 0 30 0 30 0V30H0z' fill='%230a8fa8' fill-opacity='.45'/%3E%3C/svg%3E");
	background-repeat: no-repeat, repeat-x, repeat-x;
	background-position: 0 0, left 0 bottom 10px, left 60px bottom 0;
	background-size: auto, 120px 30px, 120px 30px;
}

/* ---- Tebeo: a Spanish weekly comic of the 70s and 80s (owner, 2026-11-14: "Hazlo como un tema
   más, como la Navidad", after a mock-up "tipo tebeo español"). Chosen by hand only (season.js:
   no date of its own). Newsprint paper, flat red, blue and yellow, black ink outlines with a hard
   shadow, a rounded comic masthead and hand lettering. Its two fonts, like the others, from the
   site itself (resources/, SIL Open Font License; fonts.css's note): declared here, so only this
   theme loads them. Each has one weight: declared for all, so the browser doesn't fake a bold */
@font-face {
	font-family: "Luckiest Guy";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("luckiestguy-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Luckiest Guy";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("luckiestguy-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Patrick Hand";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("patrickhand-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Patrick Hand";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("patrickhand-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
html[data-season="tebeo"] {
	--ink: #1b1714;
	--bg: #efe0bb;
	--surface: #fff8e6;
	--surface-hover: #fdeec4;
	--border: rgba(27, 23, 20, 0.45);
	--border-hover: #1b1714;
	--text: #1b1714;
	--muted: #5a4a3a;
	--accent: #b3261a;
	--accent-bg: #d23a2c;
	--term: #2c5aa6;
	--cocoa: #1b1714;
	--cocoa-dark: #1b1714;
	--cola-cao: #f2c230;
	--bread: #e3a65a;
	--gingham: rgba(210, 58, 44, 0.8);
	/* the titles in the masthead's letters, the rest hand-lettered (the long texts keep Nunito, for
	   reading) */
	--font-display: "Luckiest Guy", "Fredoka", system-ui, sans-serif;
	--font-hand: "Patrick Hand", "Nunito", system-ui, sans-serif;
}
/* The masthead letters in capitals, as a tebeo's titles and balloons are lettered (their own small
   letters look odd at these sizes): every place that uses the display font */
html[data-season="tebeo"] :is(.brand h1, .home-block-title, .daily-play, .daily-cta-text, .daily-full,
	.strip-rank, .guide-head h2, .guide-dateline, .info-head h2, .info-body h3,
	.info-table thead th, .contact-send, .quiz-question, .quiz-head, .quiz-end-score,
	.tele-share-button, .list-head-label, .list-head .sort, .filter-label, .episodes-title,
	.footer-title, .footer-share-label, .cromo-toast-head, .tv-bug, .tv-ident-title, .power-big,
	.tv-badge, .tele-now, .testcard-name, .remote-brand, .tele-intro, .tvl-badge, .album-title,
	.album-building, .album-at, .album-sheet-head, .cromo-title, .album-howto h2, .album-empty,
	.season-notice) {
	font-weight: 400;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}
/* Newsprint: fibres instead of the tablecloth, and the page yellowed towards its edges */
html[data-season="tebeo"]::before {
	background-image:
		repeating-linear-gradient(17deg, rgba(120, 90, 40, 0.06) 0 1px, transparent 1px 5px),
		repeating-linear-gradient(-63deg, rgba(120, 90, 40, 0.05) 0 1px, transparent 1px 7px);
	background-size: auto;
}
html[data-season="tebeo"]::after {
	background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(150, 100, 30, 0.25) 100%);
}
/* The bar: the masthead, flat red with an ink rule; the title in yellow, inked */
html[data-season="tebeo"] nav {
	background: #d23a2c;
	border-bottom: 4px solid var(--ink);
}
html[data-season="tebeo"] nav .brand h1 {
	color: var(--cola-cao);
	font-weight: 400;
	letter-spacing: 0.03em;
	-webkit-text-stroke: 1.5px var(--ink);
	text-shadow: 3px 3px 0 var(--ink);
}
html[data-season="tebeo"] nav .brand .subtitle {
	color: #fff8e6;
	font-family: var(--font-hand);
	font-size: 1.05em;
	font-weight: 400;
}
html[data-season="tebeo"] nav .tv-icon {
	color: #fff8e6;
}
/* The bar's buttons as lettered labels: ink outline, hard shadow, a hand-cut corner */
html[data-season="tebeo"] .bar-link {
	border: 2.5px solid var(--ink);
	border-radius: 18px 4px 18px 4px;
	box-shadow: 3px 3px 0 var(--ink);
	font-family: var(--font-hand);
	font-size: 1.05rem;
	font-weight: 400;
}
html[data-season="tebeo"] .bar-link.is-current {
	background: var(--cola-cao);
	color: var(--ink);
}
/* The footer: the back page, flat blue under an ink rule */
html[data-season="tebeo"] .site-footer {
	background: #2c5aa6;
	border-top: 4px solid var(--ink);
	color: #fff8e6;
}
/* Titles as the comic's lettering: one weight, a little spaced */
html[data-season="tebeo"] .home-block-title {
	font-weight: 400;
	letter-spacing: 0.03em;
}
/* Pictures as panels: square, inked, a hard shadow */
html[data-season="tebeo"] .strip-image {
	border: 3px solid var(--ink);
	border-radius: 3px;
	box-shadow: 4px 4px 0 var(--ink);
}
/* The catalogue's cards: the whole card (picture and text) inked as one panel, the outline drawn
   by drop-shadows that follow its shape (the grid's own soft shadow is one too), an ink rule
   between the picture and the text */
html[data-season="tebeo"]:not([data-view="list"]) .grid-item-container {
	filter:
		drop-shadow(2.5px 0 0 var(--ink)) drop-shadow(-2.5px 0 0 var(--ink))
		drop-shadow(0 2.5px 0 var(--ink)) drop-shadow(0 -2.5px 0 var(--ink))
		drop-shadow(5px 5px 0 var(--ink));
}
html[data-season="tebeo"]:not([data-view="list"]) .thumb {
	border-bottom: 3px solid var(--ink);
	border-radius: 3px 3px 0 0;
}
/* Boxes as panels too */
html[data-season="tebeo"] .guide,
html[data-season="tebeo"] .info-head,
html[data-season="tebeo"] .info-body,
html[data-season="tebeo"] .quiz-prize,
html[data-season="tebeo"] .daily-cta,
html[data-season="tebeo"] .album-cover,
html[data-season="tebeo"] .album-sheet {
	border: 3px solid var(--ink);
	border-radius: 4px;
	box-shadow: 5px 5px 0 var(--ink);
}
html[data-season="tebeo"] .quiz-options button,
html[data-season="tebeo"] .share-chip {
	border: 2.5px solid var(--ink);
	border-radius: 4px;
	box-shadow: 3px 3px 0 var(--ink);
	font-family: var(--font-hand);
	font-size: 1.1em;
	font-weight: 400;
}
/* The chocolate headers (the TV page's Programación, the pages about the site) in the comic's
   flat blue, their yellow titles inked */
html[data-season="tebeo"] .guide-head,
html[data-season="tebeo"] .info-head {
	background: #2c5aa6;
}
html[data-season="tebeo"] .guide-head h2,
html[data-season="tebeo"] .info-head h2 {
	-webkit-text-stroke: 1px var(--ink);
	text-shadow: 3px 3px 0 var(--ink);
}
html[data-season="tebeo"] .info-kicker {
	color: #fff8e6;
}
/* The TVs drawn as in a tebeo (owner, 2026-11-14: "La tele, las cards... todas tienen que parecer
   de tebeo también"): flat colours, ink outlines and hard shadows instead of the wood's grain,
   the glass's depth and the metal's shine. The TV page's set (tele.css) and its copies on the
   other pages (tv-look.css: the quiz, the question under the TV, the catalogue's window) */
html[data-season="tebeo"] .tv-cabinet,
html[data-season="tebeo"] .tvl-cabinet {
	/* flat, no grain lines (owner, 2026-11-14: "elimina las líneas verticales de la tele") */
	background: #c9772f;
	border: 4px solid var(--ink);
	box-shadow: 7px 7px 0 var(--ink);
}
/* Its sides, corners and back, seen when the TV turns round (tele.js): flat, a shade darker each,
   inked at their edges; the back's vents ink, its label a lettered sticker (owner, same day:
   "actualiza también los laterales y parte de atrás") */
html[data-season="tebeo"] .tv-side {
	background: #b5662a;
	box-shadow: inset 0 0 0 3px var(--ink);
}
html[data-season="tebeo"] .tv-corner {
	background: #a85a26;
}
html[data-season="tebeo"] .tv-back {
	background:
		repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 14px) center 30% / 46% 34% no-repeat,
		#9a5222;
	box-shadow: inset 0 0 0 4px var(--ink);
}
html[data-season="tebeo"] .tv-back-label {
	background: #fff8e6;
	border: 2px solid var(--ink);
	color: var(--ink);
	font-family: var(--font-hand);
	font-size: 0.875rem;
	font-weight: 400;
}
html[data-season="tebeo"] .tv-bezel,
html[data-season="tebeo"] .tvl-bezel {
	background: #3a302a;
	box-shadow: inset 0 0 0 3px var(--ink);
}
html[data-season="tebeo"] .tv-screen,
html[data-season="tebeo"] .tvl-screen {
	box-shadow: 0 0 0 3px var(--ink);
}
/* The picture printed: a dot screen over it instead of the tube's lines */
html[data-season="tebeo"] .tv-glass,
html[data-season="tebeo"] .tvl-screen::after {
	background: radial-gradient(circle, rgba(0, 0, 0, 0.22) 1px, transparent 1.6px) 0 0 / 5px 5px;
}
html[data-season="tebeo"] .tv-panel,
html[data-season="tebeo"] .tvl-panel {
	background: #efe0bb;
	border: 3px solid var(--ink);
	box-shadow: none;
	color: var(--ink);
}
html[data-season="tebeo"] .tv-badge,
html[data-season="tebeo"] .tvl-badge {
	background: var(--cola-cao);
	border: 2px solid var(--ink);
	box-shadow: none;
	color: var(--ink);
}
html[data-season="tebeo"] .knob,
html[data-season="tebeo"] .tvl-knob {
	background: #fff8e6;
	border: 3px solid var(--ink);
	box-shadow: 3px 3px 0 var(--ink);
}
html[data-season="tebeo"] .knob::before,
html[data-season="tebeo"] .tvl-knob::before {
	background: #fff8e6;
	box-shadow: 0 0 0 2px var(--ink);
}
html[data-season="tebeo"] .knob-ring {
	background: var(--ink);
}
html[data-season="tebeo"] .tv-buttons button {
	background: #fff8e6;
	border: 2.5px solid var(--ink);
	box-shadow: 2px 2px 0 var(--ink);
	color: var(--ink);
}
html[data-season="tebeo"] .tv-buttons button:active {
	box-shadow: none;
}
html[data-season="tebeo"] #power {
	background: #d23a2c;
	border: 2.5px solid var(--ink);
	box-shadow: 3px 3px 0 var(--ink);
}
html[data-season="tebeo"] #power:active {
	box-shadow: none;
}
html[data-season="tebeo"] .tv-speaker,
html[data-season="tebeo"] .tvl-speaker {
	background: repeating-linear-gradient(to bottom, var(--ink) 0 3px, #efe0bb 3px 8px);
	border: 3px solid var(--ink);
	box-shadow: none;
}
html[data-season="tebeo"] .tv-led,
html[data-season="tebeo"] .tvl-led {
	border: 2px solid var(--ink);
}
/* The antenna: ink rods and base, as two strokes of the pen */
html[data-season="tebeo"] .tv-antenna span,
html[data-season="tebeo"] .tvl-antenna i {
	background: linear-gradient(var(--ink), var(--ink)) center / 4px 100% no-repeat;
}
html[data-season="tebeo"] .tv-antenna::after,
html[data-season="tebeo"] .tvl-antenna::after,
html[data-season="tebeo"] .tv-dome,
html[data-season="tebeo"] .tv-dome-disc {
	background: var(--ink);
}
html[data-season="tebeo"] .tv-ball,
html[data-season="tebeo"] .tvl-antenna i::before {
	background: #d23a2c;
	box-shadow: 0 0 0 2px var(--ink);
}
html[data-season="tebeo"] :is(.tv-leg-front, .tv-leg-bottom, .tv-leg-bevel, .tv-leg-side, .tv-leg-back) {
	background: var(--ink);
}
/* "Enciende la tele": a lettered label */
html[data-season="tebeo"] .power-big {
	background: var(--cola-cao);
	border: 3px solid var(--ink);
	box-shadow: 4px 4px 0 var(--ink);
	animation: none;
}

/* The cards: the pictures printed too, a dot screen over them (in place of the catalogue's tube
   lines on hover), a little more colour, and the titles hand-lettered */
html[data-season="tebeo"] .thumb::after {
	background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 1px, transparent 1.6px) 0 0 / 5px 5px;
	opacity: 1;
}
html[data-season="tebeo"] .strip-image::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 1px, transparent 1.6px) 0 0 / 5px 5px;
	pointer-events: none;
}
html[data-season="tebeo"] .thumb img,
html[data-season="tebeo"] .strip-image img {
	filter: saturate(1.25) contrast(1.06);
}
/* the catalogue's cards on the paper's cream, not white (style.css's grid view) */
html[data-season="tebeo"]:not([data-view="list"]) .description {
	background: var(--surface);
}
html[data-season="tebeo"] .description .title,
html[data-season="tebeo"] .strip-title {
	font-family: var(--font-hand);
	font-size: 1.15rem;
	font-weight: 400;
	line-height: 1.15;
}

@media (prefers-reduced-motion: reduce) {
	.season-notice {
		transition: none;
	}
	html[data-season="navidad"]::after {
		animation: none;
	}
}
