/*
Theme Name: Jersey Stories
Theme URI: https://example.com/jersey-stories
Author: Jersey Stories
Description: Custom editorial theme for Jersey Stories — "Every Jersey Has a Story". Jersey Stories, Episodes, Teams and Seasons with linked content, a configurable homepage, filters, footer contact form and SEO basics.
Version: 2.26.2
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jersey-stories
*/

/* ==========================================================================
   1. Design tokens (provisional — see spec §3, to be confirmed in design pass)
   ========================================================================== */
:root {
	--jst-bg: #0e1d15;
	--jst-bg-2: #13271c;
	--jst-surface: #18301f;
	--jst-surface-2: #1f3a28;
	--jst-line: rgba(201, 164, 92, 0.28);
	--jst-gold: #c9a45c;
	--jst-gold-light: #e4c784;
	--jst-gold-dark: #9c7a36;
	--jst-parchment: #efe4cc;
	--jst-parchment-2: #e2d3b1;
	--jst-ink: #1d1a12;
	--jst-ink-soft: #4a4434;
	--jst-text: #f2ead7;
	--jst-muted: #c4b99d;
	--jst-focus: #ffd98a;

	--jst-font-display: "Alegreya", "Georgia", "Times New Roman", serif;
	--jst-font-body: "Alegreya Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

	--jst-radius: 6px;
	--jst-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
	--jst-container: 1200px;
	--jst-gutter: clamp(16px, 4vw, 40px);
	--jst-header-h: 76px;
	--jst-ease: cubic-bezier(.2, .7, .2, 1);

	--jst-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background-color: var(--jst-bg);
	background-image:
		var(--jst-texture),
		radial-gradient(ellipse at 20% 0%, rgba(46, 86, 58, .45), transparent 60%),
		radial-gradient(ellipse at 90% 60%, rgba(30, 60, 40, .5), transparent 55%);
	color: var(--jst-text);
	font-family: var(--jst-font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }

a { color: var(--jst-gold-light); text-underline-offset: .18em; }
a:hover { color: var(--jst-parchment); }

:focus-visible {
	outline: 3px solid var(--jst-focus);
	outline-offset: 3px;
	border-radius: 2px;
}

h1, h2, h3, h4 {
	font-family: var(--jst-font-display);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 .5em;
	color: var(--jst-parchment);
	overflow-wrap: anywhere;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.screen-reader-text:focus {
	position: fixed !important;
	top: 8px; left: 8px;
	width: auto; height: auto;
	clip: auto;
	z-index: 1000;
	padding: .75em 1em;
	background: var(--jst-parchment);
	color: var(--jst-ink);
	font-weight: 700;
}

.jst-container {
	width: 100%;
	max-width: calc(var(--jst-container) + 2 * var(--jst-gutter));
	margin-inline: auto;
	padding-inline: var(--jst-gutter);
}

.jst-icon { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }

/* Buttons */
.jst-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	min-height: 48px;
	padding: .7em 1.5em;
	border-radius: 4px;
	border: 1px solid transparent;
	font-family: var(--jst-font-display);
	font-weight: 700;
	font-size: .95rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s var(--jst-ease), background-color .2s, color .2s, box-shadow .2s;
}
.jst-btn:hover { transform: translateY(-1px); }
.jst-btn--gold {
	background: linear-gradient(180deg, var(--jst-gold-light), var(--jst-gold) 55%, var(--jst-gold-dark));
	color: var(--jst-ink);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.jst-btn--gold:hover { color: var(--jst-ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .45); }
.jst-btn--dark {
	background: rgba(20, 42, 29, .85);
	color: var(--jst-parchment);
	border-color: rgba(239, 228, 204, .25);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.jst-btn--dark:hover { background: var(--jst-surface-2); color: var(--jst-parchment); }
.jst-btn--ghost { background: transparent; color: var(--jst-gold-light); border-color: var(--jst-line); }
.jst-btn--ghost:hover { border-color: var(--jst-gold); color: var(--jst-parchment); }

/* ==========================================================================
   3. Header
   ========================================================================== */
.jst-header {
	position: relative;
	z-index: 50;
	background:
		var(--jst-texture),
		linear-gradient(180deg, #f4ead4, var(--jst-parchment) 45%, var(--jst-parchment-2));
	border-top: 3px solid var(--jst-gold-dark);
	border-bottom: 3px solid var(--jst-gold-dark);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .45);
	color: var(--jst-ink);
}
.jst-header::before,
.jst-header::after {
	content: "";
	position: absolute;
	left: 0; right: 0;
	height: 1px;
	background: var(--jst-gold-dark);
	opacity: .55;
}
.jst-header::before { top: 4px; }
.jst-header::after { bottom: 4px; }

.jst-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: var(--jst-header-h);
}

.jst-nav ul {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: .25rem clamp(.75rem, 1.4vw, 1.5rem);
	list-style: none;
	margin: 0;
	padding: 0;
}
.jst-nav--left ul { justify-content: flex-end; padding-right: clamp(1rem, 3vw, 2.5rem); }
.jst-nav--right { display: flex; align-items: center; justify-content: flex-start; gap: clamp(.5rem, 1.2vw, 1.25rem); padding-left: clamp(1rem, 2.5vw, 2rem); }
.jst-nav a {
	display: inline-block;
	padding: .5em 0;
	color: var(--jst-ink);
	font-family: var(--jst-font-display);
	font-weight: 700;
	font-size: .84rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	background-image: linear-gradient(var(--jst-gold-dark), var(--jst-gold-dark));
	background-size: 0 2px;
	background-position: 50% 100%;
	background-repeat: no-repeat;
	transition: background-size .25s var(--jst-ease), color .2s;
}
.jst-nav a:hover,
.jst-nav .current-menu-item > a,
.jst-nav .current_page_item > a,
.jst-nav .current-menu-ancestor > a { background-size: 100% 2px; color: #000; }

/* Dropdown (e.g. "Πρωταθλήματα" → every league) */
.jst-nav .menu-item-has-children { position: relative; }
.jst-nav .menu-item-has-children > a { display: inline-flex; align-items: center; gap: .5em; }
.jst-nav .menu-item-has-children > a::after {
	content: "";
	width: .38em; height: .38em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-.15em) rotate(45deg);
}
.jst-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 60;
	display: block;
	min-width: 220px;
	margin: 0;
	padding: .5rem 0;
	list-style: none;
	background: var(--jst-texture), var(--jst-parchment);
	border: 1px solid var(--jst-gold-dark);
	border-radius: 6px;
	box-shadow: var(--jst-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 6px);
	transition: opacity .2s, transform .2s var(--jst-ease), visibility 0s linear .2s;
}
.jst-nav .menu-item-has-children:hover > .sub-menu,
.jst-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .2s var(--jst-ease); }
.jst-nav .sub-menu a { display: block; padding: .55em 1.1em; font-size: .82rem; white-space: nowrap; background: none; }
.jst-nav .sub-menu a:hover, .jst-nav .sub-menu .current-menu-item > a { background: rgba(156, 122, 54, .18); }

/* Social icons in the header (top right) */
.jst-header .jst-social--header { flex-wrap: nowrap; gap: .3rem; }
.jst-header .jst-social--header a { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 2px 4px rgba(0, 0, 0, .3); }
.jst-header .jst-social--header .jst-icon { width: 14px; height: 14px; }
.jst-social--drawer { margin-top: 1.5rem; }

.jst-brand {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: clamp(150px, 15vw, 190px);
	height: var(--jst-header-h);
	text-decoration: none;
	z-index: 2; /* Above the header's gold lines, so both lines stop at the logo. */
}
.jst-brand__logo {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .55));
	transition: transform .3s var(--jst-ease);
}
.jst-brand:hover .jst-brand__logo { transform: translateX(-50%) scale(1.03); }
.jst-brand__logo img { width: 100%; height: auto; }
.jst-brand__ribbon {
	position: absolute;
	top: calc(clamp(150px, 15vw, 190px) - 30px);
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	padding: .2em 1.3em;
	background: linear-gradient(180deg, #f6edd8, var(--jst-parchment-2));
	border: 1px solid var(--jst-gold-dark);
	border-radius: 3px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .45);
	color: var(--jst-ink);
	font-family: var(--jst-font-display);
	font-style: italic;
	font-size: .85rem;
	clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%);
}

.jst-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--jst-ink);
	cursor: pointer;
	transition: background-color .2s;
}
.jst-icon-btn:hover { background: rgba(0, 0, 0, .08); }
.jst-icon-btn .jst-icon { width: 22px; height: 22px; }

.jst-menu-toggle { display: none; }
.jst-brand__name { display: none; }
.jst-header__mobile-search { display: none; }

/* Search overlay */
.jst-search-panel {
	position: absolute;
	top: 100%;
	left: 0; right: 0;
	padding: 1.5rem 0;
	background: var(--jst-parchment);
	border-bottom: 3px solid var(--jst-gold-dark);
	box-shadow: var(--jst-shadow);
	z-index: 60;
}
.jst-search-form { display: flex; gap: .5rem; max-width: 640px; margin-inline: auto; }
.jst-search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: .6em 1em;
	border: 1px solid var(--jst-gold-dark);
	border-radius: 4px;
	background: #fffaf0;
	color: var(--jst-ink);
	font: inherit;
}
.jst-search-panel .jst-search-form + .jst-icon-btn { position: absolute; top: .5rem; right: .5rem; }

/* Mobile drawer */
.jst-drawer {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
}
.jst-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.jst-drawer__panel {
	position: relative;
	width: min(86vw, 360px);
	height: 100%;
	overflow-y: auto;
	padding: 1.25rem 1.5rem 2rem;
	padding-top: calc(1.25rem + env(safe-area-inset-top, 0px));
	background: var(--jst-texture), var(--jst-parchment);
	color: var(--jst-ink);
	box-shadow: var(--jst-shadow);
	animation: jst-slide-in .25s var(--jst-ease);
}
.jst-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.jst-drawer__head img { width: 64px; }
.jst-drawer .jst-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
.jst-drawer .jst-nav a { display: block; padding: .85em 0; border-bottom: 1px solid rgba(0, 0, 0, .12); font-size: 1rem; background: none; }
.jst-drawer .jst-nav .sub-menu { position: static; min-width: 0; padding: 0 0 0 1rem; border: 0; border-radius: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
/* Tapping a parent item focuses it: the desktop dropdown's centring (translate -50%) must not apply in the drawer, or the submenu slides off to the left. */
.jst-drawer .jst-nav .menu-item-has-children:hover > .sub-menu,
.jst-drawer .jst-nav .menu-item-has-children:focus-within > .sub-menu { transform: none; }
.jst-drawer .jst-nav .sub-menu a { padding: .65em 0; font-size: .9rem; }
.jst-drawer .jst-nav .menu-item-has-children > a::after { display: none; }
.jst-drawer .jst-search-form { margin-top: 1.5rem; }
@keyframes jst-slide-in { from { transform: translateX(-100%); } to { transform: none; } }

/* ==========================================================================
   4. Hero
   ========================================================================== */
.jst-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	width: 100%;
	max-width: none;
	margin-inline: 0;
	background: #0b1710;
	border-bottom: 1px solid var(--jst-line);
}
.jst-hero__track { position: relative; min-height: clamp(460px, 48vw, 620px); }
.jst-hero__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s var(--jst-ease), visibility 0s linear .6s;
}
.jst-hero__slide.is-active { position: relative; min-height: inherit; opacity: 1; visibility: visible; transition: opacity .6s var(--jst-ease); }
.jst-hero__track > .jst-hero__slide:only-child { position: relative; min-height: inherit; opacity: 1; visibility: visible; }
.jst-hero__media { position: absolute; inset: 0; z-index: -2; }
.jst-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.jst-hero__media .jst-placeholder { height: 100%; }
.jst-hero__media .jst-placeholder svg { width: auto; height: 88%; margin-left: auto; margin-right: var(--jst-gutter); }
.jst-hero__slide::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(8, 18, 12, .92) 0%, rgba(8, 18, 12, .7) 38%, rgba(8, 18, 12, .1) 70%),
		linear-gradient(0deg, rgba(8, 18, 12, .85) 0%, transparent 35%);
}
/* Full-bleed carousel: content runs edge to edge with only the page gutter, not the 1200px column. */
.jst-hero__content.jst-container {
	width: 100%;
	max-width: none;
	padding-block: clamp(110px, 12vw, 150px) clamp(60px, 7vw, 90px);
}
.jst-hero__content > * { max-width: 34rem; }
.jst-hero__eyebrow {
	margin-bottom: .75rem;
	color: var(--jst-gold);
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.jst-hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); text-shadow: 0 3px 16px rgba(0, 0, 0, .6); }
.jst-hero__title a { color: inherit; text-decoration: none; }
.jst-hero__tagline {
	color: var(--jst-gold-light);
	font-family: var(--jst-font-display);
	font-style: italic;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.jst-hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.75rem; }

.jst-hero__controls {
	position: absolute;
	left: 0; right: 0;
	bottom: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .75rem;
}
.jst-hero__dots { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.jst-hero__dot {
	width: 28px; height: 28px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	display: grid;
	place-items: center;
}
.jst-hero__dot::before {
	content: "";
	width: 9px; height: 9px;
	border-radius: 50%;
	background: rgba(239, 228, 204, .45);
	transition: background-color .2s, transform .2s;
}
.jst-hero__dot[aria-current="true"]::before { background: var(--jst-parchment); transform: scale(1.2); }
.jst-hero__arrow {
	width: 40px; height: 40px;
	display: grid; place-items: center;
	border: 1px solid rgba(239, 228, 204, .3);
	border-radius: 50%;
	background: rgba(8, 18, 12, .6);
	color: var(--jst-parchment);
	cursor: pointer;
}
.jst-hero__arrow:hover { border-color: var(--jst-gold); }

/* ==========================================================================
   5. Sections, rails & cards
   ========================================================================== */
.jst-section { padding-block: clamp(2rem, 4vw, 3rem); }
.jst-section + .jst-section { padding-top: 0; }
.jst-section--band {
	background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .05));
	border-block: 1px solid rgba(201, 164, 92, .12);
}
.jst-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}
.jst-section__title { margin: 0; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.jst-section__more {
	display: inline-flex;
	align-items: center;
	gap: .3em;
	flex: none;
	color: var(--jst-parchment);
	font-family: var(--jst-font-display);
	text-decoration: none;
}
.jst-section__more .jst-icon { color: var(--jst-gold); transition: transform .2s; }
.jst-section__more:hover .jst-icon { transform: translateX(3px); }

/* Rail (horizontal scroller with arrows) */
.jst-rail { position: relative; }
.jst-rail__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3 * 1.25rem) / 4);
	gap: 1.25rem;
	margin: 0;
	padding: 4px 4px 12px;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: var(--jst-gold-dark) transparent;
}
.jst-rail__track > li { scroll-snap-align: start; min-width: 0; }
.jst-rail--compact .jst-rail__track { grid-auto-columns: calc((100% - 4 * 1rem) / 5); gap: 1rem; }
.jst-rail__btn {
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	z-index: 2;
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border: 1px solid var(--jst-line);
	border-radius: 50%;
	background: rgba(10, 22, 15, .9);
	color: var(--jst-parchment);
	cursor: pointer;
	transition: opacity .2s, border-color .2s;
}
.jst-rail__btn:hover { border-color: var(--jst-gold); }
.jst-rail__btn[disabled] { opacity: 0; pointer-events: none; }
.jst-rail__btn--prev { left: -22px; }
.jst-rail__btn--next { right: -22px; }

/* Grid */
.jst-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.jst-grid--dense { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 1rem; }
.jst-grid--badges { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1.5rem 1rem; }

/* Card base */
.jst-card {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--jst-radius);
	background: linear-gradient(180deg, var(--jst-surface-2), var(--jst-surface));
	border: 1px solid rgba(201, 164, 92, .18);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
	transition: transform .25s var(--jst-ease), box-shadow .25s, border-color .25s;
}
.jst-card:hover,
.jst-card:focus-within { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .55); border-color: rgba(201, 164, 92, .55); }
.jst-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #102016;
}
/* Only the card photo itself ("> img"): logos inside the round badges have their own rules. */
.jst-card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--jst-ease); }
.jst-card:hover .jst-card__media > img { transform: scale(1.04); }
.jst-card__media .jst-placeholder { height: 100%; }
.jst-card__body { padding: .85rem 1rem 1rem; }
.jst-card__title { margin: 0; font-size: 1.3rem; line-height: 1.2; }
.jst-card__title a { color: var(--jst-parchment); text-decoration: none; }
.jst-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.jst-card__title a:focus-visible { outline: none; }
.jst-card:has(.jst-card__title a:focus-visible) { outline: 3px solid var(--jst-focus); outline-offset: 3px; }
.jst-card__sub {
	margin: .2rem 0 0;
	color: var(--jst-gold-light);
	font-family: var(--jst-font-display);
	font-style: italic;
	font-size: 1rem;
	line-height: 1.35;
}
.jst-card__meta { margin-top: .5rem; color: var(--jst-muted); font-size: .85rem; }
.jst-card__type {
	position: absolute;
	top: .6rem; left: .6rem;
	z-index: 1;
	padding: .15em .6em;
	border-radius: 3px;
	background: rgba(8, 18, 12, .85);
	color: var(--jst-gold-light);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* Episode card: caption overlays the image */
.jst-card--episode .jst-card__media { aspect-ratio: 4 / 3; }
.jst-card--episode .jst-card__body {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: .5rem;
	padding: 2.5rem .85rem .7rem;
	background: linear-gradient(0deg, rgba(8, 18, 12, .95), rgba(8, 18, 12, .55) 60%, transparent);
}
.jst-card--episode .jst-card__title { font-size: 1.1rem; }
.jst-card__duration {
	flex: none;
	padding: .1em .45em;
	border-radius: 3px;
	background: rgba(0, 0, 0, .55);
	border: 1px solid rgba(239, 228, 204, .2);
	color: var(--jst-parchment);
	font-family: var(--jst-font-display);
	font-size: .9rem;
	font-variant-numeric: tabular-nums;
}
.jst-card__play {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -60%) scale(.9);
	width: 56px; height: 56px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: rgba(201, 164, 92, .92);
	color: var(--jst-ink);
	opacity: 0;
	transition: opacity .25s, transform .25s var(--jst-ease);
}
.jst-card--episode:hover .jst-card__play,
.jst-card--episode:focus-within .jst-card__play { opacity: 1; transform: translate(-50%, -60%) scale(1); }

/* Team card */
.jst-card--team .jst-card__body {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 2rem .75rem .55rem;
	background: linear-gradient(0deg, rgba(8, 18, 12, .95), transparent);
}
.jst-card--team .jst-card__title { font-size: 1.05rem; }
.jst-card--team .jst-card__crest {
	position: absolute;
	top: .5rem; right: .5rem;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: var(--jst-parchment);
	padding: 3px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
}
.jst-card--team .jst-card__crest img { width: 100%; height: 100%; object-fit: contain; }
.jst-card--team .jst-card__crest { display: grid; place-items: center; padding: 6px; }

/* Season badge */
.jst-badges { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.jst-badge {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .5rem;
	text-decoration: none;
	color: var(--jst-parchment);
}
.jst-badge__seal {
	width: 76px; height: 76px;
	display: grid; place-items: center;
	overflow: hidden;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fbf4e3, var(--jst-parchment-2));
	border: 3px solid var(--jst-gold);
	box-shadow: 0 0 0 2px rgba(0, 0, 0, .5), 0 6px 14px rgba(0, 0, 0, .5), inset 0 0 0 3px rgba(156, 122, 54, .35);
	transition: transform .25s var(--jst-ease), box-shadow .25s;
}
.jst-badge__seal img { width: 72%; height: 72%; object-fit: contain; }
.jst-badge__seal .jst-placeholder { width: 100%; height: 100%; background: none; }
.jst-badge__seal .jst-placeholder svg { width: 78%; height: 78%; margin: auto; }
.jst-badge__monogram { color: var(--jst-ink); font-family: var(--jst-font-display); font-weight: 700; font-size: 1.05rem; }
.jst-badge:hover .jst-badge__seal,
.jst-badge:focus-visible .jst-badge__seal { transform: translateY(-3px) rotate(-4deg); box-shadow: 0 0 0 2px var(--jst-gold-light), 0 10px 18px rgba(0, 0, 0, .55); }
.jst-badge__label {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translate(-50%, 4px);
	z-index: 5;
	padding: .3em .7em;
	border-radius: 4px;
	background: var(--jst-parchment);
	color: var(--jst-ink);
	font-size: .85rem;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: var(--jst-shadow);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s, transform .2s;
}
.jst-badge:hover .jst-badge__label,
.jst-badge:focus-visible .jst-badge__label { opacity: 1; transform: translate(-50%, 0); }
/* Touch screens and phones have no hover: the tooltip stays for screen readers only, so it never widens the page. */
@media (hover: none), (max-width: 767px) {
	.jst-badge:not(.jst-badge--large) .jst-badge__label { width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
.jst-badge--large .jst-badge__seal { width: 120px; height: 120px; }
.jst-badge--large .jst-badge__label { position: static; transform: none; opacity: 1; background: none; color: var(--jst-parchment); box-shadow: none; text-align: center; white-space: normal; font-family: var(--jst-font-display); font-size: 1.05rem; }
.jst-badge__sub { color: var(--jst-muted); font-size: .85rem; text-align: center; }

/* Placeholder jersey art */
.jst-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background:
		radial-gradient(ellipse at 50% 35%, rgba(255, 236, 190, .22), transparent 60%),
		linear-gradient(180deg, #2b4a33 0%, #17301f 55%, #0f2216 100%);
}
.jst-placeholder svg { width: 62%; height: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .55)); }

/* ==========================================================================
   6. Homepage "explore" block (teams + seasons) & social icons
   ========================================================================== */
.jst-explore > * + * { margin-top: clamp(2rem, 4vw, 2.75rem); }

.jst-social { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.jst-social a {
	display: grid; place-items: center;
	width: 42px; height: 42px;
	border-radius: 6px;
	color: #fff;
	box-shadow: 0 3px 8px rgba(0, 0, 0, .35);
	transition: transform .2s, filter .2s;
}
.jst-social a:hover { transform: translateY(-2px); filter: brightness(1.1); color: #fff; }
.jst-social .jst-icon { width: 20px; height: 20px; }
.jst-social--youtube a { background: #c4302b; }
.jst-social--facebook a { background: #1d4f91; }
.jst-social--x a { background: #111; border: 1px solid rgba(239, 228, 204, .25); }
.jst-social--instagram a { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }

/* ==========================================================================
   7. Footer & contact page
   ========================================================================== */
.jst-footer {
	margin-top: clamp(2.5rem, 6vw, 4.5rem);
	border-top: 3px double var(--jst-gold-dark);
	background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .45));
	color: var(--jst-muted);
	font-size: .95rem;
}
.jst-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
	padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.jst-footer__about { display: grid; gap: 1.25rem; justify-items: start; }
.jst-footer__logo img { width: 110px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .5)); }
.jst-footer__tagline { margin: 0; color: var(--jst-gold-light); font-family: var(--jst-font-display); font-style: italic; font-size: 1.25rem; }
.jst-footer__desc { margin: 0; max-width: 32rem; }
.jst-footer__title {
	margin: 0 0 1rem;
	color: var(--jst-gold-light);
	font-size: .85rem;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.jst-footer__col ul { display: grid; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.jst-footer__col a { color: var(--jst-parchment); text-decoration: none; }
.jst-footer__col a:hover { color: var(--jst-gold-light); text-decoration: underline; }
.jst-footer__bottom {
	padding-block: 1.1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--jst-line);
	font-size: .88rem;
}
.jst-footer__bottom p { margin: 0; }

/* Contact panel */
.jst-contact {
	position: relative;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: 10px;
	background: var(--jst-texture), linear-gradient(180deg, #f7eedb, var(--jst-parchment) 60%, var(--jst-parchment-2));
	border: 3px solid var(--jst-gold);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), inset 0 0 0 4px #f7eedb, inset 0 0 0 5px rgba(156, 122, 54, .5), var(--jst-shadow);
	color: var(--jst-ink);
	scroll-margin-top: 2rem;
}
.jst-contact--page { max-width: 760px; margin-inline: auto; }
.jst-contact h2 { color: var(--jst-ink); font-size: clamp(1.45rem, 2.5vw, 1.85rem); margin-bottom: .35rem; }
.jst-contact__text { color: var(--jst-ink-soft); margin-bottom: 1.1rem; }
.jst-contact form { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.jst-contact__field { display: grid; gap: .3rem; min-width: 0; }
.jst-contact__field--full, .jst-contact__consent, .jst-contact .jst-btn { grid-column: 1 / -1; }
.jst-contact label { font-size: .88rem; font-weight: 700; color: var(--jst-ink-soft); }
.jst-contact input[type="text"],
.jst-contact input[type="email"],
.jst-contact textarea {
	width: 100%;
	min-height: 46px;
	padding: .6em .9em;
	border: 1px solid var(--jst-gold-dark);
	border-radius: 4px;
	background: #fffaf0;
	color: var(--jst-ink);
	font: inherit;
}
.jst-contact textarea { min-height: 120px; resize: vertical; }
.jst-contact .jst-btn { justify-self: start; min-width: 200px; }
.jst-contact .jst-contact__consent { display: flex; gap: .55rem; align-items: flex-start; font-weight: 400; line-height: 1.4; }
.jst-contact__consent input { margin-top: .15em; width: 18px; height: 18px; flex: none; accent-color: var(--jst-gold-dark); }
.jst-contact__consent a { color: var(--jst-ink); }
.jst-contact__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.jst-notice {
	margin: 0 0 .9rem;
	padding: .6em .8em;
	border-radius: 4px;
	font-size: .92rem;
}
.jst-notice--success { background: #dcebd6; color: #183d1f; border: 1px solid #7fae79; }
.jst-notice--error { background: #f6dcd2; color: #6b1d0d; border: 1px solid #d08a74; }

/* ==========================================================================
   8. Inner pages
   ========================================================================== */
.jst-main { min-height: 50vh; }
.jst-page-head {
	padding-block: clamp(5.5rem, 9vw, 7rem) clamp(1.5rem, 3vw, 2.25rem);
	border-bottom: 1px solid var(--jst-line);
	background: linear-gradient(180deg, rgba(0, 0, 0, .3), transparent);
}
.jst-page-head h1 { margin-bottom: .3em; }
.jst-page-head__intro { max-width: 46rem; color: var(--jst-muted); font-size: 1.1rem; }
.jst-page-head__intro p:last-child { margin-bottom: 0; }

.jst-breadcrumbs { margin-bottom: 1rem; font-size: .85rem; color: var(--jst-muted); }
.jst-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.jst-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: var(--jst-gold-dark); }
.jst-breadcrumbs a { color: var(--jst-muted); }

/* Filters */
.jst-filters {
	margin-block: 1.5rem;
	border: 1px solid var(--jst-line);
	border-radius: var(--jst-radius);
	background: rgba(0, 0, 0, .2);
}
.jst-filters > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	padding: .5rem 1rem;
	cursor: pointer;
	font-family: var(--jst-font-display);
	font-weight: 700;
	color: var(--jst-parchment);
	list-style: none;
}
.jst-filters > summary::-webkit-details-marker { display: none; }
.jst-filters > summary::after { content: "+"; font-size: 1.4rem; color: var(--jst-gold); }
.jst-filters[open] > summary::after { content: "−"; }
.jst-filters__form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
	gap: 1rem;
	align-items: end;
	padding: 0 1rem 1rem;
}
.jst-field label { display: block; margin-bottom: .3rem; font-size: .85rem; font-weight: 700; letter-spacing: .04em; color: var(--jst-muted); }
.jst-field select,
.jst-field input[type="search"] {
	width: 100%;
	min-height: 44px;
	padding: .45em .7em;
	border: 1px solid var(--jst-line);
	border-radius: 4px;
	background: var(--jst-bg-2);
	color: var(--jst-text);
	font: inherit;
}
.jst-filters__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.jst-filters__actions .jst-btn { min-height: 44px; padding-inline: 1.1rem; }
.jst-results-count { color: var(--jst-muted); margin-bottom: 1rem; }

.jst-empty {
	padding: clamp(2rem, 5vw, 3.5rem);
	border: 1px dashed var(--jst-line);
	border-radius: var(--jst-radius);
	text-align: center;
}
.jst-empty p { color: var(--jst-muted); }
.jst-empty .jst-btn + .jst-btn { margin-left: .5rem; }

/* Pagination */
.jst-pagination { margin-top: 2.5rem; }
.jst-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.jst-pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 44px; height: 44px;
	padding: 0 .75rem;
	border: 1px solid var(--jst-line);
	border-radius: 4px;
	color: var(--jst-parchment);
	text-decoration: none;
}
.jst-pagination .page-numbers.current { background: var(--jst-gold); color: var(--jst-ink); border-color: var(--jst-gold); font-weight: 700; }
.jst-pagination a.page-numbers:hover { border-color: var(--jst-gold); }

/* Single article */
.jst-article-head { padding-block: clamp(5.5rem, 9vw, 7rem) 1.5rem; }
.jst-article-head h1 { max-width: 20ch; }
.jst-standfirst {
	max-width: 42rem;
	color: var(--jst-gold-light);
	font-family: var(--jst-font-display);
	font-style: italic;
	font-size: clamp(1.2rem, 2.2vw, 1.45rem);
	line-height: 1.45;
}
.jst-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; color: var(--jst-muted); font-size: .92rem; margin-top: 1rem; }
.jst-meta a { color: var(--jst-muted); }
.jst-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.jst-chip {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	padding: .3em .8em;
	border: 1px solid var(--jst-line);
	border-radius: 999px;
	background: rgba(0, 0, 0, .25);
	color: var(--jst-parchment);
	font-size: .88rem;
	text-decoration: none;
}
a.jst-chip:hover { border-color: var(--jst-gold); color: var(--jst-parchment); }
.jst-chip small { color: var(--jst-gold); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }

.jst-article-hero { margin: 0 auto 2rem; max-width: 1100px; }
.jst-article-hero img,
.jst-article-hero .jst-placeholder { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--jst-radius); box-shadow: var(--jst-shadow); }
.jst-article-hero figcaption { margin-top: .5rem; color: var(--jst-muted); font-size: .88rem; text-align: center; }

.jst-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
}
.jst-prose { max-width: 42rem; font-size: 1.125rem; line-height: 1.75; }
.jst-prose > * { margin-block: 0 1.25em; }
.jst-prose h2, .jst-prose h3 { margin-top: 1.8em; }
.jst-prose blockquote {
	margin-inline: 0;
	padding: .5rem 0 .5rem 1.25rem;
	border-left: 3px solid var(--jst-gold);
	font-family: var(--jst-font-display);
	font-style: italic;
	font-size: 1.3rem;
	color: var(--jst-parchment);
}
.jst-prose figure { margin-inline: 0; }
.jst-prose figcaption, .jst-prose .wp-element-caption { color: var(--jst-muted); font-size: .88rem; margin-top: .5rem; }
.jst-prose img { border-radius: 4px; }
.jst-prose ul, .jst-prose ol { padding-left: 1.3em; }
.jst-prose .alignwide { max-width: none; }
.jst-prose a { color: var(--jst-gold-light); }

.jst-aside > * + * { margin-top: 1.5rem; }
.jst-panel {
	padding: 1.25rem;
	border: 1px solid var(--jst-line);
	border-radius: var(--jst-radius);
	background: rgba(0, 0, 0, .22);
}
.jst-panel h2 { font-size: 1.15rem; margin-bottom: .75rem; color: var(--jst-gold-light); }
.jst-facts { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 0; font-size: .95rem; }
.jst-facts dt { color: var(--jst-muted); }
.jst-facts dd { margin: 0; color: var(--jst-parchment); }

.jst-sources { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--jst-line); font-size: .92rem; color: var(--jst-muted); }
.jst-sources h2 { font-size: 1.1rem; }

.jst-share { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 2rem; }
.jst-share span { color: var(--jst-muted); font-size: .9rem; margin-right: .25rem; }
.jst-share a, .jst-share button {
	display: inline-flex; align-items: center; gap: .4em;
	min-height: 40px;
	padding: .3em .9em;
	border: 1px solid var(--jst-line);
	border-radius: 4px;
	background: transparent;
	color: var(--jst-parchment);
	font: inherit;
	font-size: .9rem;
	text-decoration: none;
	cursor: pointer;
}
.jst-share a:hover, .jst-share button:hover { border-color: var(--jst-gold); color: var(--jst-parchment); }

.jst-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.jst-postnav a {
	display: block;
	padding: 1rem;
	border: 1px solid var(--jst-line);
	border-radius: var(--jst-radius);
	text-decoration: none;
	color: var(--jst-parchment);
	font-family: var(--jst-font-display);
}
.jst-postnav small { display: block; color: var(--jst-muted); font-family: var(--jst-font-body); }
.jst-postnav__next { text-align: right; grid-column: 2; }

/* Linked episode card inside article */
.jst-episode-link {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 1rem;
	align-items: center;
	margin: 2rem 0;
	padding: .75rem;
	border: 1px solid var(--jst-line);
	border-radius: var(--jst-radius);
	background: rgba(0, 0, 0, .25);
	text-decoration: none;
	color: var(--jst-parchment);
}
.jst-episode-link:hover { border-color: var(--jst-gold); color: var(--jst-parchment); }
.jst-episode-link__media { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; }
.jst-episode-link__media img, .jst-episode-link__media .jst-placeholder { width: 100%; height: 100%; object-fit: cover; }
.jst-episode-link small { display: block; color: var(--jst-gold); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; }
.jst-episode-link strong { font-family: var(--jst-font-display); font-size: 1.15rem; }

/* Video (click-to-load) */
.jst-video {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--jst-radius);
	background: #000;
	box-shadow: var(--jst-shadow);
	margin-bottom: 2rem;
}
.jst-video img, .jst-video iframe, .jst-video .jst-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.jst-video__btn {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	width: 100%;
	border: 0;
	padding: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, .45), transparent 50%);
	cursor: pointer;
	color: var(--jst-ink);
}
.jst-video__btn span {
	display: inline-flex; align-items: center; gap: .6em;
	padding: .9em 1.5em;
	border-radius: 999px;
	background: var(--jst-gold);
	font-family: var(--jst-font-display);
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	box-shadow: var(--jst-shadow);
	transition: transform .2s;
}
.jst-video__btn:hover span { transform: scale(1.05); }
.jst-video__note { position: absolute; left: 1rem; bottom: .75rem; margin: 0; color: #eee; font-size: .78rem; text-shadow: 0 1px 4px #000; }

/* Team header: big jersey photo with the team logo in a round badge (top right) */
.jst-team-head {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}
.jst-team-head__media {
	position: relative;
	margin: 0;
	aspect-ratio: 16 / 10;
	border-radius: 10px;
	overflow: hidden;
	background: var(--jst-bg-2);
	border: 1px solid var(--jst-line);
	box-shadow: var(--jst-shadow);
}
.jst-team-head__media > img, .jst-team-head__media > .jst-placeholder { width: 100%; height: 100%; object-fit: cover; }
.jst-team-head__crest {
	position: absolute;
	top: clamp(.6rem, 2vw, 1rem); right: clamp(.6rem, 2vw, 1rem);
	width: clamp(64px, 9vw, 96px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fbf4e3, var(--jst-parchment-2));
	border: 3px solid var(--jst-gold);
	box-shadow: 0 4px 12px rgba(0, 0, 0, .45);
}
.jst-team-head__crest img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; }
.jst-team-head__text .jst-page-head__intro { margin-top: 1.25rem; }

/* Entity (team / season) header */
.jst-entity {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2rem);
}
.jst-entity__crest {
	flex: none;
	width: clamp(88px, 12vw, 130px);
	aspect-ratio: 1;
	display: grid; place-items: center;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fbf4e3, var(--jst-parchment-2));
	border: 3px solid var(--jst-gold);
	box-shadow: var(--jst-shadow);
	overflow: hidden;
}
.jst-entity__crest img { width: 74%; height: 74%; object-fit: contain; }
.jst-entity__crest .jst-placeholder { height: 100%; background: none; }
.jst-entity__crest .jst-placeholder svg { width: 75%; }

/* 404 */
.jst-404 { text-align: center; padding-block: clamp(6rem, 12vw, 9rem) 3rem; }
.jst-404 img { width: 160px; margin: 0 auto 1.5rem; }
.jst-404 .jst-search-form { margin-block: 1.5rem; }

/* Search results */
.jst-search-types { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.5rem; padding: 0; list-style: none; }
.jst-search-types a[aria-current="page"] { background: var(--jst-gold); color: var(--jst-ink); border-color: var(--jst-gold); }

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .gallery-caption { color: var(--jst-muted); font-size: .88rem; }
.sticky, .bypostauthor { outline: 0; }

/* Video inside a story */
.jst-story-video { margin-bottom: 2.25rem; scroll-margin-top: 1.5rem; }
.jst-story-video__title {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin-bottom: .9rem;
	color: var(--jst-gold-light);
	font-size: 1.15rem;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.jst-story-video .jst-video { margin-bottom: 0; }
.jst-prose .jst-video { margin-block: 1.5rem; }
/* YouTube links pasted in the editor (embed block) use the lite player, which sets its own ratio. */
.wp-block-embed__wrapper:has(> .jst-video)::before { content: none !important; }
.wp-block-embed:has(.jst-video) { margin-inline: 0; }
.jst-episode-link--compact { grid-template-columns: 96px 1fr; padding: .5rem; }

/* Grouped catalogue (by team / by league) */
.jst-group + .jst-group { padding-top: 0; }
.jst-group .jst-section__title a { color: inherit; text-decoration: none; }
.jst-group .jst-section__title a:hover { color: var(--jst-gold-light); }
.jst-group__count {
	display: inline-grid;
	place-items: center;
	min-width: 1.8em;
	padding: .05em .45em;
	border-radius: 999px;
	background: rgba(201, 164, 92, .18);
	color: var(--jst-gold-light);
	font-family: var(--jst-font-body);
	font-size: .8rem;
	font-weight: 700;
	vertical-align: middle;
}

/* League chips (homepage) */
.jst-leagues { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.jst-leagues .jst-chip { padding: .45em 1em; font-family: var(--jst-font-display); font-size: 1rem; }

/* ==========================================================================
   9. Responsive — breakpoints 1023px (tablet) and 767px (mobile) per spec §10
   ========================================================================== */
@media (max-width: 1479px) {
	.jst-rail__btn--prev { left: 4px; }
	.jst-rail__btn--next { right: 4px; }
	.jst-nav ul { column-gap: .8rem; }
	.jst-nav a { font-size: .74rem; letter-spacing: .02em; }
}

/* Narrow desktops: the social icons move to the footer/drawer so the menu keeps one line. */
@media (max-width: 1365px) {
	.jst-header .jst-social--header { display: none; }
}

/* Header: the full menu needs about 1280px; below that the burger menu and drawer take over (tablets in landscape too). */
@media (max-width: 1279px) {
	:root { --jst-header-h: 64px; }
	.jst-header__inner { grid-template-columns: 48px 1fr 48px; }
	.jst-header .jst-nav--left,
	.jst-header .jst-nav--right .jst-nav,
	.jst-header .jst-nav--right .jst-search-toggle { display: none; }
	.jst-header .jst-nav--right { padding: 0; justify-content: flex-end; }
	.jst-menu-toggle, .jst-header__mobile-search { display: inline-flex; }
	.jst-brand { width: auto; height: auto; flex-direction: row; justify-self: center; gap: .6rem; }
	.jst-brand__logo { position: static; transform: none; width: 52px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3)); }
	.jst-brand:hover .jst-brand__logo { transform: none; }
	.jst-brand__ribbon { display: none; }
	.jst-brand__name {
		display: block !important;
		color: var(--jst-ink);
		font-family: var(--jst-font-display);
		font-weight: 700;
		font-size: 1.15rem;
		letter-spacing: .04em;
		text-transform: uppercase;
	}
}

@media (max-width: 1023px) {
	.jst-hero__content { padding-block: 3rem 4.5rem; }
	.jst-rail__track { grid-auto-columns: calc((100% - 2 * 1.25rem) / 2.6); }
	.jst-rail--compact .jst-rail__track { grid-auto-columns: calc((100% - 2 * 1rem) / 2.8); }

	.jst-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.jst-footer__about { grid-column: 1 / -1; }

	.jst-article-layout { grid-template-columns: minmax(0, 1fr); }
	.jst-prose { max-width: none; }
	.jst-page-head, .jst-article-head { padding-top: 2.5rem; }
}

@media (max-width: 767px) {
	body { font-size: 1rem; }
	.jst-hero__track { min-height: 0; }
	.jst-hero__slide { flex-direction: column; align-items: stretch; }
	.jst-hero__media { position: relative; inset: auto; aspect-ratio: 4 / 3; z-index: 0; }
	.jst-hero__media img { object-position: 75% 40%; }
	.jst-hero__media .jst-placeholder svg { height: 85%; margin: auto; }
	.jst-hero__slide::before { background: linear-gradient(180deg, transparent 0, transparent 30%, rgba(8, 18, 12, .95) 56%, #0b1710 75%); }
	.jst-hero__content { margin-top: -5.5rem; padding-block: 0 4.5rem; position: relative; z-index: 1; }
	.jst-hero__ctas { flex-direction: column; }
	.jst-hero__ctas .jst-btn { width: 100%; }
	.jst-hero__arrow { display: none; }

	.jst-rail__track,
	.jst-rail--compact .jst-rail__track { grid-auto-columns: 72%; gap: .9rem; }
	.jst-rail__btn { display: none; }

	.jst-badges { justify-content: center; }
	.jst-badge__seal { width: 64px; height: 64px; }

	.jst-footer__about { justify-items: center; text-align: center; }
	.jst-footer__about .jst-social { justify-content: center; }
	.jst-footer__bottom { text-align: center; }
	.jst-contact form { grid-template-columns: 1fr; }
	.jst-contact .jst-btn { width: 100%; justify-self: stretch; }
	.jst-footer__top { grid-template-columns: minmax(0, 1fr); text-align: center; }
	.jst-footer__col ul { justify-items: center; }

	.jst-postnav { grid-template-columns: 1fr; }
	.jst-postnav__next { grid-column: auto; }
	.jst-episode-link { grid-template-columns: 1fr; }
	.jst-entity { flex-direction: column; align-items: flex-start; }
	.jst-team-head { grid-template-columns: minmax(0, 1fr); }
	.jst-empty .jst-btn { display: flex; width: 100%; margin: .5rem 0 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

@media print {
	.jst-header, .jst-footer, .jst-share, .jst-postnav { display: none; }
	body { background: #fff; color: #000; }
}

/* Advertising page */
.jst-prose--wide { max-width: 60rem; margin-inline: auto; }
.jst-prose .jst-ad-channels { gap: 1.25rem; margin-block: 1.5rem 2rem; }
.jst-prose .jst-ad-card {
	padding: 1.4rem 1.5rem;
	border: 1px solid var(--jst-line);
	border-top: 3px solid var(--jst-gold);
	border-radius: 8px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(0, 0, 0, .15));
	box-shadow: var(--jst-shadow);
}
.jst-prose .jst-ad-card h3 { margin: 0 0 .5rem; color: var(--jst-gold-light); }
.jst-prose .jst-ad-card p { margin: 0; font-size: 1rem; }
.jst-prose .jst-ad-cta .wp-block-button__link {
	padding: .85em 1.8em;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--jst-gold-light), var(--jst-gold));
	color: var(--jst-ink);
	font-family: var(--jst-font-display);
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
}
.jst-prose .jst-ad-cta .wp-block-button__link:hover { filter: brightness(1.08); }
.jst-nav .sub-menu .jst-menu-group > a { padding: .7em 1.1em .25em; color: var(--jst-gold-dark); font-size: .68rem; letter-spacing: .12em; pointer-events: none; }
.jst-nav .sub-menu .jst-menu-group:not(:first-child) { margin-top: .35rem; border-top: 1px solid rgba(156, 122, 54, .3); }
.jst-team-types { margin-top: 1.25rem; }
.jst-team-types .jst-chip[aria-current="page"] { background: var(--jst-gold); border-color: var(--jst-gold); color: var(--jst-ink); }

/* YouTube playlist (homepage and Episodes page) */
.jst-yt__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
	gap: clamp(1rem, 2.5vw, 1.75rem);
	align-items: start;
}
/* Discreet gold frame around the player: half-transparent at rest, full gold on hover / focus. */
.jst-yt__main .jst-video {
	margin: 0;
	border: 1px solid rgba(201, 164, 92, .45);
	border-radius: 8px;
	box-shadow: 0 0 0 4px rgba(0, 0, 0, .18), var(--jst-shadow);
	transition: border-color .25s, box-shadow .25s;
}
.jst-yt__main .jst-video:hover,
.jst-yt__main .jst-video:focus-within { border-color: var(--jst-gold); box-shadow: 0 0 0 4px rgba(201, 164, 92, .12), var(--jst-shadow); }
.jst-yt__main .jst-video img { aspect-ratio: 16 / 9; object-fit: cover; }
.jst-yt__now { margin: .9rem 0 .2rem; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.jst-yt__date { margin: 0; color: var(--jst-muted); font-size: .88rem; }
.jst-yt__list {
	display: grid;
	gap: .5rem;
	max-height: min(70vh, 560px);
	margin: 0;
	padding: 0 .25rem 0 0;
	overflow-y: auto;
	list-style: none;
	scrollbar-width: thin;
	scrollbar-color: var(--jst-gold-dark) transparent;
}
.jst-yt__item {
	display: grid;
	grid-template-columns: 136px minmax(0, 1fr);
	gap: .75rem;
	align-items: center;
	width: 100%;
	padding: .45rem;
	border: 1px solid transparent;
	border-radius: 6px;
	background: rgba(0, 0, 0, .18);
	color: var(--jst-parchment);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background-color .2s, border-color .2s;
}
.jst-yt__item:hover { background: rgba(201, 164, 92, .12); }
.jst-yt__item[aria-current="true"] { border-color: var(--jst-gold); background: rgba(201, 164, 92, .16); }
.jst-yt__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #000; }
.jst-yt__thumb img { width: 100%; height: 100%; object-fit: cover; }
.jst-yt__item[aria-current="true"] .jst-yt__thumb::after {
	content: "▶";
	position: absolute;
	inset: 0;
	display: grid; place-items: center;
	background: rgba(8, 18, 12, .55);
	color: var(--jst-gold-light);
	font-size: 1.1rem;
}
.jst-yt__meta { display: grid; gap: .2rem; min-width: 0; }
.jst-yt__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: var(--jst-font-display);
	font-weight: 700;
	font-size: .95rem;
	line-height: 1.3;
}
.jst-yt__when { color: var(--jst-muted); font-size: .78rem; }
.jst-yt__side { display: grid; gap: .9rem; }
.jst-yt__subscribe { justify-self: start; }
.jst-yt__ctas .jst-icon, .jst-yt__subscribe .jst-icon { width: 18px; height: 18px; }
/* One video only: the details sit next to the player instead of leaving the column empty. */
.jst-yt__layout--single { align-items: stretch; }
.jst-yt__info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: .55rem;
	padding: clamp(1.1rem, 2.5vw, 1.75rem);
	border: 1px solid var(--jst-line);
	border-top: 3px solid var(--jst-gold);
	border-radius: 8px;
	background: var(--jst-texture), linear-gradient(180deg, var(--jst-surface), var(--jst-bg-2));
}
.jst-yt__kicker { display: inline-flex; align-items: center; gap: .45rem; margin: 0; color: var(--jst-gold); font-size: .74rem; font-weight: 700; letter-spacing: .16em; }
.jst-yt__kicker .jst-icon { width: 14px; height: 14px; }
.jst-yt__info-title { margin: 0; color: var(--jst-parchment); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.2; }
.jst-yt__desc { margin: .2rem 0 0; color: var(--jst-muted); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.jst-yt__ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
@media (max-width: 1023px) {
	.jst-yt__layout { grid-template-columns: minmax(0, 1fr); }
	.jst-yt__list { max-height: 420px; }
}

/* Rivals Transfers */
.jst-section__intro { max-width: 46rem; margin: -.5rem 0 1.25rem; color: var(--jst-muted); }

/* Split jersey: old team's kit on the left, new team's on the right, cut diagonally. */
.jst-rt-split { position: relative; height: 100%; }
.jst-rt-split > span { position: absolute; inset: 0; display: grid; place-items: center; }
.jst-rt-split svg { width: auto; height: 82%; }
.jst-rt-split__to { clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%); }

.jst-rt-crest {
	position: relative;
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--jst-parchment);
	border: 2px solid var(--jst-gold);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
	overflow: hidden;
}
.jst-rt-crest img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.jst-rt-crest--initials {
	background: linear-gradient(135deg, var(--jst-rt-a) 0 50%, var(--jst-rt-b) 50% 100%);
	color: #fff;
	font-family: var(--jst-font-display);
	font-weight: 700;
	font-size: .72rem;
	letter-spacing: .02em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
}

.jst-rt-route { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.jst-rt-route__names { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .35rem; min-width: 0; font-size: .82rem; color: var(--jst-muted); }
.jst-rt-route__arrow { color: var(--jst-gold-light); font-weight: 700; }
.jst-rt-route__year { color: var(--jst-gold-light); }
.jst-card--rivals .jst-rt-route { margin-bottom: .55rem; }
.jst-card--rivals .jst-card__media { background: radial-gradient(circle at 50% 40%, #2f5a3c, #12261a 70%); }

/* Story page panel */
.jst-rt-banner {
	display: grid;
	gap: .6rem;
	max-width: 42rem;
	margin-top: 1.5rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--jst-line);
	border-left: 4px solid var(--jst-gold);
	border-radius: 8px;
	background: rgba(0, 0, 0, .22);
}
.jst-rt-banner__label { justify-self: start; color: var(--jst-gold-light); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.jst-rt-banner__player { margin: 0; font-family: var(--jst-font-display); font-size: 1.35rem; font-weight: 700; color: var(--jst-parchment); }
.jst-rt-banner__teams { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.jst-rt-banner__team { display: inline-flex; align-items: center; gap: .6rem; color: var(--jst-parchment); text-decoration: none; font-weight: 700; }
.jst-rt-banner__team small { display: block; color: var(--jst-muted); font-weight: 400; font-size: .75rem; }
.jst-rt-banner__team:hover { color: var(--jst-gold-light); }
.jst-rt-banner__team .jst-rt-crest { width: 46px; height: 46px; font-size: .9rem; }
.jst-rt-banner__arrow { color: var(--jst-gold-light); font-size: 1.4rem; }
.jst-rt-banner__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0; color: var(--jst-muted); font-size: .9rem; }
.jst-rt-banner__meta a { color: var(--jst-gold-light); }
.jst-rt-duel {
	position: absolute;
	left: 50%; bottom: .6rem;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: .4rem;
	padding: .25rem .45rem;
	border-radius: 999px;
	background: rgba(8, 18, 12, .78);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}
.jst-rt-duel .jst-rt-crest { width: 52px; height: 52px; }
.jst-rt-duel__arrow { color: var(--jst-gold-light); font-weight: 700; }
.jst-card--rivals .jst-rt-route { margin: .2rem 0 .1rem; }
.jst-card--rivals .jst-rt-route__names { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
.jst-card--rivals .jst-rt-route__names > span:not(.jst-rt-route__arrow):not(.jst-rt-route__year) { overflow: hidden; text-overflow: ellipsis; }
.jst-article-hero .jst-rt-split { aspect-ratio: 16 / 9; }

/* ==========================================================================
   Whole jerseys: images are fitted inside their frame, never cropped
   ========================================================================== */
.jst-card__media { background: radial-gradient(circle at 50% 40%, #2f5a3c, #12261a 72%); }
.jst-card__media > img { object-fit: contain; padding: .55rem; }
/* Team and episode cards carry their title over the image: keep the jersey above it. */
.jst-card--team .jst-card__media > img,
.jst-card--episode .jst-card__media > img { padding-bottom: 2.6rem; }
.jst-episode-link__media img { object-fit: contain; background: #12261a; }

.jst-article-hero { display: grid; place-items: center; }
.jst-article-hero img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(78vh, 760px);
	aspect-ratio: auto;
	object-fit: contain;
}


/* ==========================================================================
   Story page: one centred reading column
   ========================================================================== */
.jst-article-head .jst-container > * { max-width: 48rem; margin-inline: auto; }
.jst-article-head h1 { max-width: 48rem; }
.jst-article-head .jst-rt-banner { margin-inline: auto; max-width: 48rem; }
.jst-article-layout { display: flex; flex-direction: column; gap: 1.5rem; max-width: 48rem; margin-inline: auto; }
.jst-article-layout > div { min-width: 0; }
.jst-article-layout .jst-aside { order: -1; }
.jst-article-layout .jst-aside:empty { display: none; }
.jst-article-layout .jst-prose { max-width: none; }
.jst-aside .jst-panel { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.5rem; }
.jst-aside .jst-panel h2 { margin: 0; font-size: 1rem; }
.jst-aside .jst-facts { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; }
.jst-aside .jst-facts dt::after { content: ":"; }
.jst-aside .jst-facts dd { margin-left: -.9rem; }

/* ==========================================================================
   Team page
   ========================================================================== */
.jst-team-hero {
	position: relative;
	isolation: isolate;
	padding-block: clamp(5.5rem, 9vw, 7rem) clamp(2rem, 4vw, 3rem);
	border-bottom: 1px solid var(--jst-line);
	background: radial-gradient(ellipse at 75% 30%, #2a4c35, transparent 60%);
	overflow: hidden;
}
.jst-team-hero__bg { position: absolute; inset: 0; z-index: -1; }
.jst-team-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.jst-team-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(8, 18, 12, .94) 0%, rgba(8, 18, 12, .78) 45%, rgba(8, 18, 12, .55) 100%), linear-gradient(0deg, #0e1d15 0%, transparent 40%);
}
.jst-team-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
	margin-top: 1rem;
}
.jst-team-hero__crest {
	position: relative;
	display: block;
	width: clamp(84px, 9vw, 120px);
	aspect-ratio: 1;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fbf4e3, var(--jst-parchment-2));
	border: 3px solid var(--jst-gold);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
}
.jst-team-hero__crest img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; }
.jst-team-hero__type { margin: 0 0 .25rem; color: var(--jst-gold-light); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.jst-team-hero h1 { margin: 0 0 1.1rem; font-size: clamp(2.2rem, 5vw, 3.6rem); text-shadow: 0 3px 14px rgba(0, 0, 0, .55); }
.jst-team-facts { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: .7rem 2.25rem; margin: 0 0 1.25rem; }
.jst-team-facts dt { color: var(--jst-muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.jst-team-facts dd { margin: .1rem 0 0; color: var(--jst-parchment); font-family: var(--jst-font-display); font-size: 1.15rem; font-weight: 700; }
.jst-team-hero__jersey {
	position: relative;
	margin: 0;
	aspect-ratio: 1;
	max-height: 520px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: radial-gradient(circle at 50% 42%, #24412e, rgba(8, 18, 12, .92) 72%);
	border: 1px solid var(--jst-line);
	box-shadow: var(--jst-shadow);
}
.jst-team-hero__jersey > img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.jst-team-hero__jersey > .jst-placeholder { width: 100%; height: 100%; background: none; }
.jst-team-hero__jersey > .jst-placeholder svg { width: auto; height: 80%; margin: auto; }
.jst-team-text { margin-inline: auto; max-width: 48rem; }

/* Trophy museum: a lit showcase */
.jst-museum {
	position: relative;
	padding-block: clamp(2.5rem, 5vw, 4rem);
	background:
		radial-gradient(ellipse at 50% 0%, rgba(228, 199, 132, .14), transparent 60%),
		linear-gradient(180deg, #0a140e, #101e15);
	border-block: 1px solid var(--jst-line);
}
.jst-museum__total { margin: 0; color: var(--jst-gold-light); font-family: var(--jst-font-display); font-size: 1.1rem; font-weight: 700; }
.jst-museum__layout { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.jst-museum__layout--image { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.jst-museum__photo { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--jst-shadow); background: #000; }
.jst-museum__photo img { width: 100%; height: auto; display: block; }
.jst-museum__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.4rem 1.75rem; margin: 0; padding: 0; list-style: none; }
.jst-museum__layout--image .jst-museum__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jst-trophy { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: .75rem; align-items: start; }
.jst-trophy__icon { width: 34px; height: 34px; color: var(--jst-gold-light); filter: drop-shadow(0 0 8px rgba(228, 199, 132, .35)); }
.jst-trophy__count { margin: 0; font-family: var(--jst-font-display); font-size: 2.1rem; font-weight: 700; line-height: 1; color: var(--jst-parchment); }
.jst-trophy__name { margin: .3rem 0 .45rem; color: var(--jst-parchment); font-size: .95rem; line-height: 1.3; }
.jst-trophy__name small { display: block; color: var(--jst-muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.jst-trophy__bar { display: block; height: 4px; width: var(--jst-bar); min-width: 12px; border-radius: 2px; background: linear-gradient(90deg, var(--jst-gold), var(--jst-gold-light)); }
.jst-trophy__years { margin: .45rem 0 0; color: var(--jst-muted); font-size: .78rem; line-height: 1.45; }

/* Stadium */
.jst-stadium__layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.jst-stadium__layout--text { grid-template-columns: minmax(0, 1fr); }
.jst-stadium__photo { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--jst-shadow); }
.jst-stadium__photo img { width: 100%; height: auto; display: block; }
.jst-stadium__name { margin: 0 0 .5rem; font-family: var(--jst-font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: var(--jst-parchment); }
.jst-stadium__capacity { margin: 0; color: var(--jst-muted); font-size: 1.05rem; }
.jst-stadium__capacity strong { color: var(--jst-gold-light); font-family: var(--jst-font-display); font-size: 1.6rem; }

@media (max-width: 1023px) {
	.jst-team-hero__grid,
	.jst-museum__layout--image,
	.jst-stadium__layout { grid-template-columns: minmax(0, 1fr); }
	.jst-team-hero__jersey { max-width: 460px; width: 100%; justify-self: center; }
}
@media (max-width: 767px) {
	.jst-team-hero { padding-top: 2.5rem; }
	.jst-museum__layout--image .jst-museum__list { grid-template-columns: minmax(0, 1fr); }
	.jst-team-facts { gap: .6rem 1.5rem; }
}

/* League chip + gold "Κλείσε εισιτήρια" button on one line. */
.jst-team-hero__links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.jst-team-hero__links .jst-chips { margin: 0; }
.jst-tickets {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .5em 1.1em;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--jst-gold-light), var(--jst-gold));
	color: var(--jst-ink);
	font-family: var(--jst-font-display);
	font-weight: 700;
	font-size: .9rem;
	letter-spacing: .04em;
	text-decoration: none;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
	transition: filter .2s, transform .2s;
}
.jst-tickets:hover { color: var(--jst-ink); filter: brightness(1.08); transform: translateY(-1px); }
.jst-tickets .jst-icon { width: 1.1em; height: 1.1em; }
/* Rivals cards: keep the whole photo / split jersey above the two badges. */
.jst-card--rivals .jst-card__media > img { padding-bottom: 4.2rem; }
.jst-card--rivals .jst-rt-split > span { padding-bottom: 3.6rem; }
.jst-card--rivals .jst-rt-split svg { height: 88%; }

/* Images are locked inside their frames: large or tall uploads (jerseys, tall crests)
   can never spill out, whatever their original size. */
.jst-team-hero__jersey,
.jst-team-head__media,
.jst-team-hero__crest { position: relative; overflow: hidden; }
/* Already positioned badges only need to clip. */
.jst-card--team .jst-card__crest,
.jst-team-head__crest,
.jst-rt-crest { overflow: hidden; }
.jst-team-hero__jersey > img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 6%; object-fit: contain; }
.jst-card--team .jst-card__crest img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; }
.jst-badge__seal { position: relative; overflow: hidden; }
.jst-badge__seal img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; }
.jst-entity__crest { position: relative; }
.jst-entity__crest img { position: absolute; inset: 13%; width: 74%; height: 74%; object-fit: contain; }

/* Competition logos (leagues, cups & tournaments) in round badges */
.jst-term-logo {
	position: relative;
	flex: none;
	display: inline-block;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fbf4e3, var(--jst-parchment-2));
	border: 2px solid var(--jst-gold);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
	overflow: hidden;
	vertical-align: middle;
}
.jst-term-logo img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; }
.jst-term-logo--lg { width: clamp(72px, 8vw, 104px); height: clamp(72px, 8vw, 104px); border-width: 3px; }
.jst-term-logo--sm { width: 24px; height: 24px; border-width: 1px; box-shadow: none; }
.jst-term-logo--sm img { inset: 10%; width: 80%; height: 80%; }

.jst-term-title { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.25rem); }
.jst-section__title:has(.jst-term-logo) { display: flex; align-items: center; gap: .75rem; }
.jst-chip:has(.jst-term-logo) { display: inline-flex; align-items: center; gap: .45rem; padding-left: .35em; }
.jst-nav .sub-menu a:has(.jst-term-logo),
.jst-nav a:has(.jst-term-logo) { display: flex; align-items: center; gap: .55rem; }
.jst-drawer .jst-nav a:has(.jst-term-logo) { display: flex; }
.jst-footer__term { display: inline-flex; align-items: center; gap: .5rem; }

/* "Κάτοχος διοργάνωσης:" on competition pages */
.jst-holder { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; margin: 1rem 0 .25rem; padding: .55rem 1rem .55rem .7rem; width: fit-content; max-width: 100%; border: 1px solid var(--jst-gold); border-radius: 999px; background: rgba(201, 164, 92, .12); }
.jst-holder__label { color: var(--jst-gold-light); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.jst-holder__team { display: inline-flex; align-items: center; gap: .5rem; color: var(--jst-parchment); font-family: var(--jst-font-display); font-size: 1.15rem; font-weight: 700; text-decoration: none; }
a.jst-holder__team:hover { color: var(--jst-gold-light); }
.jst-holder__season { color: var(--jst-muted); font-size: .9rem; }

/* Eras: one tall photo tile per decade */
.jst-eras__list {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(150px, 1fr);
	gap: clamp(.6rem, 1.4vw, 1rem);
	margin: 0;
	padding: 0 0 .25rem;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: var(--jst-gold-dark) transparent;
}
.jst-eras__list > li { scroll-snap-align: start; }
.jst-era {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	aspect-ratio: 3 / 4.6;
	padding: 1rem;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--jst-line);
	background: #12261a;
	box-shadow: var(--jst-shadow);
	color: var(--jst-parchment);
	text-decoration: none;
}
.jst-era__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 22%;
	filter: saturate(1.05);
	transition: transform .6s var(--jst-ease);
}
.jst-era::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(8, 18, 12, .92) 0%, rgba(8, 18, 12, .35) 38%, transparent 60%);
	transition: background-color .3s;
}
.jst-era--plain {
	background:
		repeating-linear-gradient(135deg, rgba(201, 164, 92, .08) 0 14px, transparent 14px 28px),
		radial-gradient(circle at 50% 30%, #2f5a3c, #12261a 75%);
}
.jst-era__label {
	font-family: var(--jst-font-display);
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 700;
	line-height: 1;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}
.jst-era__count { margin-top: .35rem; color: var(--jst-gold-light); font-size: .82rem; font-weight: 700; letter-spacing: .06em; }
.jst-era:hover .jst-era__img,
.jst-era:focus-visible .jst-era__img { transform: scale(1.05); }
.jst-era:hover,
.jst-era:focus-visible { border-color: var(--jst-gold); }
@media (max-width: 767px) {
	.jst-eras__list { grid-auto-columns: 42%; }
}

/* Decade page: the era photo behind the title */
.jst-page-head--era { position: relative; isolation: isolate; overflow: hidden; padding-bottom: clamp(3rem, 6vw, 5rem); }
.jst-page-head__bg { position: absolute; inset: 0; z-index: -1; }
.jst-page-head__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.jst-page-head__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 18, 12, .95) 0%, rgba(8, 18, 12, .75) 50%, rgba(8, 18, 12, .45) 100%), linear-gradient(0deg, #0e1d15 0%, transparent 45%); }

/* Logo on its own coloured square: the circle takes that colour and the logo sits inside it. */
.jst-logo--filled { border-color: var(--jst-gold); }
.jst-logo--filled img { inset: 14% !important; width: 72% !important; height: 72% !important; }
/* Trimmed logos fill the circle evenly. */
.jst-card--team .jst-card__crest img,
.jst-team-hero__crest img,
.jst-rt-crest img,
.jst-term-logo img { object-fit: contain; }

/* Article photos: the same discreet gold frame as the video players (thin, half-transparent gold). */
.jst-article-hero img,
.jst-article-hero > .jst-placeholder,
.jst-prose figure img,
.jst-prose .wp-block-image img,
.jst-prose p > img:where(:not(.emoji, .wp-smiley)) {
	border: 1px solid rgba(201, 164, 92, .45);
	border-radius: 8px;
	box-shadow: 0 0 0 4px rgba(0, 0, 0, .18), var(--jst-shadow);
}

/* Decades ("1980s"): tall lining figures, so the lowercase "s" reads as lowercase. */
.jst-era__label,
.jst-term-title,
.jst-badge__monogram,
.jst-chip { font-variant-numeric: lining-nums; }

/* Team records: most appearances & top scorer */
.jst-records { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.jst-records__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.jst-record {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: .9rem 1.1rem;
	border: 1px solid var(--jst-line);
	border-left: 4px solid var(--jst-gold);
	border-radius: 10px;
	background: rgba(0, 0, 0, .22);
}
.jst-record__photo {
	position: relative;
	flex: none;
	display: grid;
	place-items: center;
	width: 72px; height: 72px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--jst-gold);
	background: radial-gradient(circle at 35% 30%, #2f5a3c, #12261a);
	box-shadow: 0 3px 10px rgba(0, 0, 0, .45);
}
.jst-record__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.jst-record__initials { color: var(--jst-gold-light); font-family: var(--jst-font-display); font-weight: 700; font-size: 1.4rem; }
.jst-record__body { display: grid; gap: .1rem; min-width: 0; }
.jst-record__label { color: var(--jst-gold-light); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.jst-record__name { color: var(--jst-parchment); font-family: var(--jst-font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.jst-record__count { color: var(--jst-muted); font-size: .92rem; font-variant-numeric: lining-nums; }
.jst-record__count strong { color: var(--jst-parchment); font-size: 1.05rem; }

/* Museum photo in a gold frame */
.jst-museum__photo {
	border: 3px solid var(--jst-gold);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .55), 0 0 0 6px rgba(201, 164, 92, .18), var(--jst-shadow);
}

/* "Ευρωπαϊκή διοργάνωση" chip: on its own line under the league */
.jst-team-hero__euro { order: 2; flex-basis: 100%; margin: 0; }
.jst-team-hero__euro .jst-chip { display: inline-flex; align-items: center; gap: .45rem; padding-left: .35em; }
.jst-team-hero__euro .jst-term-logo--sm,
.jst-team-hero__links .jst-term-logo--sm { width: 28px; height: 28px; background: #fff; }
.jst-team-facts dd a { color: inherit; text-decoration: underline; text-decoration-color: var(--jst-gold); text-underline-offset: .2em; }
.jst-team-facts dd a:hover { color: var(--jst-gold-light); }

/* English (Google Translate) flag in the header */
.jst-translate {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 30px; height: 30px;
	border-radius: 50%;
	border: 2px solid var(--jst-gold-dark);
	box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
	overflow: hidden;
	transition: transform .2s;
}
.jst-translate:hover { transform: scale(1.08); }
.jst-translate__flag, .jst-translate svg { display: block; width: 100%; height: 100%; }
.jst-translate__flag[hidden] { display: none; }
@media (max-width: 1023px) {
	.jst-header .jst-nav--right { gap: .4rem; }
	.jst-translate { width: 28px; height: 28px; }
}

/* Google translate widget: keep only the translation, hide its bar, tooltips and highlights. */
body { top: 0 !important; }
.goog-te-banner-frame, iframe.skiptranslate, .skiptranslate > iframe, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: none !important; box-shadow: none !important; }
#jst-google-translate { display: none; }

/* Beside the team logo: UEFA club ranking and total titles */
.jst-team-hero__badges { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1rem; margin-bottom: 1rem; }
.jst-team-hero__badges .jst-team-hero__crest { margin-bottom: 0; }
.jst-stat {
	display: grid;
	gap: .1rem;
	min-width: 118px;
	padding: .6rem .95rem;
	border: 1px solid var(--jst-gold);
	border-radius: 10px;
	background: linear-gradient(180deg, rgba(201, 164, 92, .16), rgba(0, 0, 0, .3));
	box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
	color: var(--jst-parchment);
	text-decoration: none;
	font-variant-numeric: lining-nums;
	transition: border-color .2s, transform .2s;
}
.jst-stat:hover { transform: translateY(-2px); border-color: var(--jst-gold-light); color: var(--jst-parchment); }
.jst-stat__label { color: var(--jst-gold-light); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.jst-stat__value { font-family: var(--jst-font-display); font-size: 1.9rem; font-weight: 700; line-height: 1.05; }
.jst-stat__sub { color: var(--jst-muted); font-size: .76rem; }
.jst-team-hero__badges .jst-stat { align-self: stretch; align-content: center; }

/* League table */
.jst-standings__season { margin: 0; color: var(--jst-muted); font-size: .9rem; }
.jst-standings__group { margin: 1.5rem 0 .6rem; font-size: 1.1rem; color: var(--jst-gold-light); }
.jst-standings__wrap {
	overflow-x: auto;
	border: 1px solid var(--jst-gold);
	border-radius: 10px;
	background: rgba(0, 0, 0, .25);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), var(--jst-shadow);
}
.jst-standings__table { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; font-size: .95rem; }
.jst-standings__table th {
	position: sticky;
	top: 0;
	padding: .7rem .6rem;
	background: linear-gradient(180deg, #2a2412, #1a170c);
	color: var(--jst-gold-light);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-align: center;
	text-transform: uppercase;
	border-bottom: 1px solid var(--jst-gold-dark);
}
.jst-standings__table td { padding: .55rem .6rem; text-align: center; color: var(--jst-parchment); border-bottom: 1px solid rgba(201, 164, 92, .12); }
.jst-standings__table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }
.jst-standings__table tbody tr:hover td { background: rgba(201, 164, 92, .1); }
.jst-standings__table tbody tr:last-child td { border-bottom: 0; }
.jst-standings__table .jst-st-team { text-align: left; width: 100%; }
.jst-standings__table td.jst-st-team { font-weight: 700; white-space: nowrap; }
.jst-st-team__in { display: flex; align-items: center; gap: .65rem; }
.jst-st-team a { color: var(--jst-parchment); text-decoration: none; border-bottom: 1px solid var(--jst-gold); }
.jst-st-team a:hover { color: var(--jst-gold-light); }
.jst-st-logo { position: relative; flex: none; width: 28px; height: 28px; }
.jst-st-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.jst-st-rank { position: relative; width: 2.6rem; font-weight: 700; color: var(--jst-gold-light) !important; }
.jst-st-rank[style]::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 4px; border-radius: 2px; background: var(--jst-zone); }
.jst-st-pts { font-weight: 700; font-size: 1.02rem; color: var(--jst-gold-light) !important; }
.jst-standings__table tr.is-site td { background: rgba(201, 164, 92, .08); }
.jst-standings__zones { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: .8rem 0 0; padding: 0; list-style: none; color: var(--jst-muted); font-size: .82rem; }
.jst-standings__zones li { display: inline-flex; align-items: center; gap: .45rem; }
.jst-standings__zones span { width: 12px; height: 12px; border-radius: 3px; }
.jst-standings__note { margin: .6rem 0 0; color: var(--jst-muted); font-size: .78rem; }
@media (max-width: 767px) {
	.jst-standings__table .jst-st-opt { display: none; }
	.jst-standings__table td, .jst-standings__table th { padding: .5rem .4rem; }
}

/* Logo, UEFA ranking, league position and titles on one line */
.jst-team-hero__badges { flex-wrap: nowrap; align-items: stretch; gap: .6rem; }
.jst-team-hero__badges .jst-team-hero__crest { flex: none; align-self: center; width: clamp(76px, 7vw, 96px); }
.jst-team-hero__badges .jst-stat { flex: 1 1 0; min-width: 0; padding: .55rem .7rem; }
.jst-team-hero__badges .jst-stat__label { font-size: .6rem; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jst-team-hero__badges .jst-stat__value { font-size: 1.55rem; }
.jst-team-hero__badges .jst-stat__sub { font-size: .66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 767px) {
	.jst-team-hero__badges { flex-wrap: wrap; }
	.jst-team-hero__badges .jst-stat { flex: 1 1 calc(50% - .6rem); }
}

/* National teams: logos of the titles won, inside the "Τίτλοι" box and in the museum */
.jst-titlelogos { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.jst-titlelogo { position: relative; display: inline-flex; }
.jst-titlelogo__img {
	position: relative;
	display: block;
	width: 30px; height: 30px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fbf4e3, var(--jst-parchment-2));
	border: 1px solid var(--jst-gold);
	overflow: hidden;
}
.jst-titlelogo__img img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; }
.jst-titlelogo__n {
	position: absolute;
	right: -5px; bottom: -4px;
	padding: 0 .25rem;
	border-radius: 999px;
	background: var(--jst-gold);
	color: var(--jst-ink);
	font-size: .58rem;
	font-weight: 700;
	line-height: 1.35;
	font-variant-numeric: lining-nums;
}
.jst-trophy__logo {
	position: relative;
	display: block;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fbf4e3, var(--jst-parchment-2));
	border: 2px solid var(--jst-gold);
	box-shadow: 0 0 10px rgba(228, 199, 132, .3);
	overflow: hidden;
}
.jst-trophy__logo img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; }
.jst-trophy:has(.jst-trophy__logo) { grid-template-columns: 40px minmax(0, 1fr); }
/* Boxes keep their natural width (a single box does not stretch across the column). */
.jst-team-hero__badges .jst-stat { flex: 0 1 auto; min-width: 128px; }

/* Derby Stories: match photo, the two badges with "VS", then result and season */
.jst-card--derby .jst-card__media { background: radial-gradient(circle at 50% 40%, #2f5a3c, #12261a 70%); }
.jst-card--derby .jst-card__body { text-align: center; }
.jst-ds-vs { display: flex; align-items: center; justify-content: center; gap: .7rem; margin: -2.4rem 0 .35rem; position: relative; z-index: 1; }
.jst-ds-vs .jst-rt-crest { width: 56px; height: 56px; border-width: 3px; box-shadow: 0 4px 12px rgba(0, 0, 0, .55); }
.jst-ds-vs .jst-rt-crest--initials { font-size: .95rem; }
.jst-ds-vs__label {
	display: grid;
	place-items: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: linear-gradient(180deg, var(--jst-gold-light), var(--jst-gold));
	color: var(--jst-ink);
	font-family: var(--jst-font-display);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .04em;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}
.jst-ds-score { margin: .1rem 0 0; font-family: var(--jst-font-display); font-size: 1.9rem; font-weight: 700; line-height: 1; color: var(--jst-parchment); font-variant-numeric: lining-nums; letter-spacing: .04em; }
.jst-ds-season { margin: .3rem 0 .45rem; color: var(--jst-gold-light); font-size: .8rem; font-weight: 700; letter-spacing: .08em; font-variant-numeric: lining-nums; }
.jst-card--derby .jst-ds-title { font-size: 1rem; }
/* A match photo fills the frame (jerseys elsewhere are fitted whole). */
.jst-card--derby .jst-card__media > img { object-fit: cover; padding: 0; }
.jst-card--derby .jst-card__media::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(0deg, rgba(8, 18, 12, .85), transparent); pointer-events: none; }
.jst-card--derby .jst-rt-split > span { padding-bottom: 2.2rem; }

/* Story page panel */
.jst-ds-banner {
	display: grid;
	gap: .7rem;
	max-width: 48rem;
	margin: 1.5rem auto 0;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--jst-line);
	border-left: 4px solid var(--jst-gold);
	border-radius: 8px;
	background: rgba(0, 0, 0, .22);
}
.jst-ds-banner__match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1rem; }
.jst-ds-banner__team { display: inline-flex; align-items: center; gap: .7rem; color: var(--jst-parchment); font-family: var(--jst-font-display); font-weight: 700; font-size: 1.1rem; text-decoration: none; min-width: 0; }
.jst-ds-banner__team--away { justify-content: flex-end; text-align: right; }
.jst-ds-banner__team:hover { color: var(--jst-gold-light); }
.jst-ds-banner__team .jst-rt-crest { width: 52px; height: 52px; font-size: .9rem; }
.jst-ds-banner__score { font-family: var(--jst-font-display); font-size: 2.1rem; font-weight: 700; color: var(--jst-gold-light); font-variant-numeric: lining-nums; white-space: nowrap; }
.jst-ds-banner__meta { justify-content: center; }
@media (max-width: 767px) {
	.jst-ds-banner__team span { display: none; }
	.jst-ds-banner__match { justify-items: center; }
}

/* Play badge on cards of stories with a video */
.jst-video-badge {
	position: absolute;
	top: .55rem; right: .55rem;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	border-radius: 50%;
	background: linear-gradient(180deg, var(--jst-gold-light), var(--jst-gold));
	color: var(--jst-ink);
	box-shadow: 0 0 0 3px rgba(8, 18, 12, .55), 0 3px 10px rgba(0, 0, 0, .5);
	pointer-events: none;
}
.jst-video-badge .jst-icon { width: 15px; height: 15px; margin-left: 2px; }
/* Team cards keep their logo top right; the badge does not clash with it (stories only). */

/* Videos inside articles: gold frame like the article photo and the museum */
.jst-story-video .jst-video,
.jst-prose .jst-video,
.jst-prose .wp-block-embed.is-type-video iframe {
	border: 3px solid var(--jst-gold);
	border-radius: var(--jst-radius);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .55), 0 0 0 6px rgba(201, 164, 92, .18), var(--jst-shadow);
}
.jst-video__btn { z-index: 1; }

/* EDITORIAL: dark band behind the whole section (cards fully inside it), light cards with the columnist */
.jst-editorial {
	position: relative;
	isolation: isolate;
	padding-block: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 3.75rem);
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.jst-editorial::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, #08110c, #0b1710);
	border-block: 1px solid var(--jst-line);
}
.jst-editorial__title {
	display: inline-block;
	padding-top: .45rem;
	border-top: 6px solid var(--jst-gold);
	color: var(--jst-parchment);
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.jst-card--editorial {
	background: var(--jst-texture), linear-gradient(180deg, #f7eedb, var(--jst-parchment));
	border: 1px solid var(--jst-gold-dark);
	color: var(--jst-ink);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.jst-card--editorial .jst-card__media { aspect-ratio: 16 / 10; background: #12261a; }
.jst-card--editorial .jst-card__media > img { object-fit: cover; padding: 0; }
.jst-card--editorial .jst-card__body { position: relative; padding: 2.6rem 1.1rem 1.3rem; text-align: center; }
.jst-writer-photo {
	position: relative;
	display: inline-grid;
	place-items: center;
	border-radius: 50%;
	overflow: hidden;
	background: radial-gradient(circle at 35% 30%, #2f5a3c, #12261a);
	border: 3px solid var(--jst-gold);
	box-shadow: 0 4px 12px rgba(0, 0, 0, .45);
}
.jst-writer-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.jst-writer-photo__initials { color: var(--jst-gold-light); font-family: var(--jst-font-display); font-weight: 700; }
.jst-writer-photo--card { position: absolute; left: 50%; top: 0; width: 66px; height: 66px; transform: translate(-50%, -55%); }
.jst-writer-photo--card .jst-writer-photo__initials { font-size: 1.3rem; }
.jst-ed-writer {
	display: inline-block;
	margin: 0 0 .55rem;
	padding-bottom: .15rem;
	border-bottom: 2px solid var(--jst-gold);
	color: var(--jst-gold-dark);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.jst-card--editorial .jst-ed-title { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.jst-card--editorial .jst-ed-title a { color: var(--jst-ink); }
.jst-card--editorial:hover .jst-ed-title a { color: #000; text-decoration: underline; text-decoration-color: var(--jst-gold); }
.jst-rail--editorial .jst-rail__track { padding-top: 6px; }
.jst-rail--editorial .jst-rail__btn { background: var(--jst-parchment); color: var(--jst-ink); }

/* Byline on the article page and the columnist's page */
.jst-ed-byline { display: inline-flex; align-items: center; gap: .8rem; margin-bottom: 1rem; color: var(--jst-parchment); text-decoration: none; font-family: var(--jst-font-display); font-weight: 700; font-size: 1.15rem; }
.jst-ed-byline small { display: block; color: var(--jst-gold-light); font-family: var(--jst-font-body); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.jst-ed-byline:hover { color: var(--jst-gold-light); }
.jst-writer-photo--byline { width: 64px; height: 64px; }
.jst-writer-photo--title { width: clamp(72px, 8vw, 104px); height: clamp(72px, 8vw, 104px); flex: none; }
.jst-writer-photo--title .jst-writer-photo__initials { font-size: 2rem; }
.jst-article-head .jst-ed-byline { display: flex; width: auto; max-width: 48rem; margin-inline: auto; }

/* Hero carousel: every slide sits in the same grid cell, so the carousel always keeps the
   height of its tallest slide and does not jump when the slide changes. */
.jst-hero__track { display: grid; }
.jst-hero__track > .jst-hero__slide,
.jst-hero__track > .jst-hero__slide.is-active {
	position: relative;
	inset: auto;
	grid-area: 1 / 1;
	min-height: clamp(460px, 48vw, 620px);
}
@media (max-width: 767px) {
	.jst-hero__track > .jst-hero__slide,
	.jst-hero__track > .jst-hero__slide.is-active { min-height: 0; }
}

/* ==========================================================================
   12. Articles: tags, byline with photo
   ========================================================================== */
.jst-tags { margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--jst-line); }
.jst-tags__title { margin: 0 0 .75rem; color: var(--jst-muted); font-family: var(--jst-font-body); font-size: .78rem; font-weight: 700; letter-spacing: .16em; }
.jst-tags ul { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.jst-tag {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: .3em 1em;
	border: 2px solid var(--jst-gold);
	border-radius: 4px;
	background: rgba(201, 164, 92, .08);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .3);
	color: var(--jst-gold-light);
	font-family: var(--jst-font-display);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-decoration: none;
	transition: background-color .2s, color .2s, transform .2s;
}
.jst-tag:hover, .jst-tag:focus-visible { background: var(--jst-gold); color: var(--jst-ink); transform: translateY(-1px); }

.jst-byline { display: inline-flex; align-items: center; gap: .55rem; color: var(--jst-parchment); font-weight: 700; text-decoration: none; }
a.jst-byline:hover .jst-byline__name { color: var(--jst-gold-light); text-decoration: underline; text-decoration-color: var(--jst-gold); text-underline-offset: .2em; }
.jst-meta { align-items: center; }
.jst-writer-photo--byline-sm { width: 40px; height: 40px; border-width: 2px; flex: none; }
.jst-writer-photo--byline-sm .jst-writer-photo__initials { font-size: .9rem; }

/* ==========================================================================
   13. Members: badges, paywall, header account, login window
   ========================================================================== */
/* Card badges: ▶ (video) and crown (members-only), round, top right */
.jst-card__badges { position: absolute; top: .55rem; right: .55rem; z-index: 2; display: flex; gap: .35rem; pointer-events: none; }
.jst-card__badges .jst-video-badge { position: static; }
.jst-excl-badge {
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #2f5a3c, #0e1d15);
	border: 2px solid var(--jst-gold);
	color: var(--jst-gold-light);
	box-shadow: 0 0 0 3px rgba(8, 18, 12, .55), 0 3px 10px rgba(0, 0, 0, .5);
}
.jst-excl-badge .jst-icon { width: 18px; height: 18px; }
.jst-excl-chip {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	margin: 0 0 .9rem;
	padding: .35em .9em;
	border: 2px solid var(--jst-gold);
	border-radius: 999px;
	background: rgba(8, 18, 12, .6);
	color: var(--jst-gold-light);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .12em;
}
.jst-excl-chip .jst-icon { width: 16px; height: 16px; }

/* Paywall */
.jst-paywall__teaser { position: relative; max-height: 22rem; overflow: hidden; }
.jst-paywall__teaser::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7rem; background: linear-gradient(180deg, rgba(14, 29, 21, 0), var(--jst-bg) 92%); pointer-events: none; }
.jst-paywall {
	position: relative;
	margin: 1.5rem 0 0;
	padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.5rem);
	border: 3px solid var(--jst-gold);
	border-radius: 10px;
	background: var(--jst-texture), linear-gradient(180deg, #f7eedb, var(--jst-parchment) 60%, var(--jst-parchment-2));
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), inset 0 0 0 4px #f7eedb, inset 0 0 0 5px rgba(156, 122, 54, .5), var(--jst-shadow);
	color: var(--jst-ink);
	text-align: center;
}
.jst-paywall h2 { margin: .4rem 0 .5rem; color: var(--jst-ink); font-size: clamp(1.4rem, 3vw, 1.85rem); }
.jst-paywall p { color: var(--jst-ink-soft); max-width: 34rem; margin-inline: auto; }
.jst-paywall__crown { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--jst-bg); border: 3px solid var(--jst-gold); color: var(--jst-gold-light); }
.jst-paywall__crown .jst-icon { width: 26px; height: 26px; }
.jst-paywall__plans { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin: 1rem 0 1.25rem; padding: 0; list-style: none; color: var(--jst-ink); }
.jst-paywall__plans small { color: var(--jst-ink-soft); }
.jst-paywall__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.jst-paywall .jst-btn--ghost { color: var(--jst-ink); border-color: var(--jst-gold-dark); }
.jst-paywall .jst-btn--ghost:hover { background: var(--jst-gold); color: var(--jst-ink); }

.jst-video--locked .jst-video__btn { text-decoration: none; background: linear-gradient(0deg, rgba(8, 18, 12, .75), rgba(8, 18, 12, .35)); }
.jst-video--locked .jst-video__btn .jst-icon { width: 18px; height: 18px; }

/* Header: account button */
.jst-account-btn {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	min-height: 34px;
	padding: .2rem .8rem .2rem .55rem;
	border: 2px solid var(--jst-gold-dark);
	border-radius: 999px;
	background: rgba(255, 255, 255, .35);
	color: var(--jst-ink);
	font-family: var(--jst-font-display);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s, color .2s;
}
.jst-account-btn:hover { background: var(--jst-gold); color: var(--jst-ink); }
.jst-account-btn .jst-icon { width: 17px; height: 17px; }
.jst-account-btn.is-in { padding: .15rem .75rem .15rem .2rem; }
.jst-writer-photo--account { width: 28px; height: 28px; border-width: 2px; box-shadow: none; }
.jst-writer-photo--account .jst-writer-photo__initials { font-size: .75rem; }
.jst-account-btn__crown { display: inline-grid; color: var(--jst-gold-dark); }
.jst-account-btn__crown .jst-icon { width: 15px; height: 15px; }
.jst-drawer__account { margin: 1.25rem 0 0; }
.jst-drawer__account .jst-account-btn { font-size: .95rem; min-height: 44px; padding-inline: 1rem; }
/* Header account button: icon only at every width (the drawer shows the full button). */
@media all {
	.jst-header .jst-account-btn__label { display: none; }
	.jst-header .jst-account-btn { padding: 0; width: 34px; justify-content: center; }
	.jst-header .jst-account-btn.is-in { width: auto; padding: .15rem; }
	.jst-header .jst-account-btn.is-in .jst-account-btn__crown { display: none; }
}
@media (max-width: 1279px) {
	.jst-header__inner { grid-template-columns: auto 1fr auto; column-gap: .5rem; }
	.jst-header .jst-account-btn { width: 32px; min-height: 32px; }
	.jst-header .jst-account-btn.is-in { width: auto; }
}
@media (max-width: 420px) {
	.jst-header .jst-brand__name { font-size: .95rem; }
}

/* Login / sign-up window */
.jst-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; overflow-y: auto; }
.jst-modal__backdrop { position: fixed; inset: 0; background: rgba(4, 10, 6, .72); }
.jst-modal__panel {
	position: relative;
	width: min(100%, 440px);
	margin: auto;
	padding: 2rem clamp(1.25rem, 5vw, 2.25rem) 1.75rem;
	border: 3px solid var(--jst-gold);
	border-radius: 12px;
	background: var(--jst-texture), linear-gradient(180deg, #f7eedb, var(--jst-parchment) 60%, var(--jst-parchment-2));
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), inset 0 0 0 4px #f7eedb, inset 0 0 0 5px rgba(156, 122, 54, .5), 0 24px 60px rgba(0, 0, 0, .6);
	color: var(--jst-ink);
	animation: jst-pop .22s var(--jst-ease);
}
@keyframes jst-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.jst-modal__close { position: absolute; top: .5rem; right: .5rem; color: var(--jst-ink); }
.jst-modal__brand { display: grid; place-items: center; margin-top: -4.25rem; }
.jst-modal__brand img { width: 84px; height: auto; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .45)); }
.jst-modal__title { margin: .5rem 0 1rem; color: var(--jst-ink); font-size: 1.35rem; text-align: center; }

.jst-auth__tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 1.1rem; border-bottom: 2px solid rgba(156, 122, 54, .35); }
.jst-auth__tabs button {
	min-height: 44px;
	border: 0;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	background: none;
	color: var(--jst-ink-soft);
	font-family: var(--jst-font-display);
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}
.jst-auth__tabs button[aria-selected="true"] { border-bottom-color: var(--jst-gold-dark); color: var(--jst-ink); }
.jst-auth__form { display: grid; gap: .85rem; }
.jst-auth__form p { margin: 0; }
.jst-auth__field { display: grid; gap: .3rem; }
.jst-auth__field label { font-size: .85rem; font-weight: 700; color: var(--jst-ink-soft); }
.jst-auth__field input:not([type="checkbox"]),
.jst-bday-field select {
	width: 100%;
	min-height: 46px;
	padding: .55em .85em;
	border: 1px solid var(--jst-gold-dark);
	border-radius: 4px;
	background: #fffaf0;
	color: var(--jst-ink);
	font: inherit;
}
.jst-auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; font-size: .88rem; }
.jst-auth__row a, .jst-auth__note a, .jst-auth__check a { color: var(--jst-ink); }
.jst-auth__check { display: inline-flex; gap: .45rem; align-items: flex-start; font-size: .88rem; line-height: 1.4; color: var(--jst-ink-soft); }
.jst-auth__check input { width: 18px; height: 18px; margin-top: .1em; flex: none; accent-color: var(--jst-gold-dark); }
.jst-auth__form .jst-btn { width: 100%; }
.jst-auth__note { font-size: .82rem; color: var(--jst-ink-soft); text-align: center; }
.jst-auth__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.jst-auth .jst-notice { text-align: left; }

/* ==========================================================================
   14. Subscription packages & account page
   ========================================================================== */
.jst-plans-head { text-align: center; }
.jst-plans-head .jst-breadcrumbs ol { justify-content: center; }
.jst-plans-head .jst-page-head__intro { margin-inline: auto; }
.jst-plans-head__crown { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: .5rem; border-radius: 50%; border: 3px solid var(--jst-gold); background: radial-gradient(circle at 35% 30%, #2f5a3c, #0e1d15); color: var(--jst-gold-light); box-shadow: var(--jst-shadow); }
.jst-plans-head__crown .jst-icon { width: 30px; height: 30px; }

.jst-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 340px));
	justify-content: center;
	gap: clamp(1.25rem, 3vw, 2rem);
	margin: .5rem 0 0;
	padding: 1rem 0 0;
	list-style: none;
}
.jst-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 2rem 1.6rem 1.6rem;
	border: 2px solid var(--jst-line);
	border-radius: 12px;
	background: linear-gradient(180deg, var(--jst-surface-2), var(--jst-surface));
	box-shadow: var(--jst-shadow);
	text-align: center;
}
.jst-plan--featured {
	border: 3px solid var(--jst-gold);
	background: var(--jst-texture), linear-gradient(180deg, #f7eedb, var(--jst-parchment) 60%, var(--jst-parchment-2));
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), inset 0 0 0 4px #f7eedb, inset 0 0 0 5px rgba(156, 122, 54, .5), var(--jst-shadow);
	color: var(--jst-ink);
}
.jst-plan--current { outline: 3px solid var(--jst-gold-light); outline-offset: 4px; }
.jst-plan__badge {
	position: absolute;
	top: 0; left: 50%;
	transform: translate(-50%, -50%);
	padding: .3em 1.1em;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--jst-gold-light), var(--jst-gold) 55%, var(--jst-gold-dark));
	color: var(--jst-ink);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .14em;
	white-space: nowrap;
	box-shadow: 0 3px 8px rgba(0, 0, 0, .4);
}
.jst-plan__name { margin: 0 0 .5rem; font-size: 1.5rem; }
.jst-plan--featured .jst-plan__name { color: var(--jst-ink); }
.jst-plan__price { margin: 0 0 1.25rem; }
.jst-plan__price strong { font-family: var(--jst-font-display); font-size: clamp(2.2rem, 5vw, 2.8rem); line-height: 1; color: var(--jst-gold-light); }
.jst-plan--featured .jst-plan__price strong { color: var(--jst-ink); }
.jst-plan__price span { margin-left: .25rem; color: var(--jst-muted); }
.jst-plan--featured .jst-plan__price span { color: var(--jst-ink-soft); }
.jst-plan__features { display: grid; gap: .6rem; margin: 0 0 1.5rem; padding: 1.1rem 0 0; border-top: 1px solid var(--jst-line); list-style: none; text-align: left; }
.jst-plan--featured .jst-plan__features { border-top-color: rgba(156, 122, 54, .4); }
.jst-plan__features li { display: flex; gap: .55rem; align-items: flex-start; line-height: 1.4; }
.jst-plan__features .jst-icon { width: 20px; height: 20px; margin-top: .05em; color: var(--jst-gold); flex: none; }
.jst-plan--featured .jst-plan__features .jst-icon { color: var(--jst-gold-dark); }
.jst-plan__cta { margin-top: auto; }
.jst-plan__cta .jst-btn, .jst-plan__cta form { width: 100%; }
.jst-plan--featured .jst-btn--ghost { color: var(--jst-ink); border-color: var(--jst-gold-dark); }
.jst-plans__note { max-width: 40rem; margin: 1.75rem auto 0; color: var(--jst-muted); font-size: .92rem; text-align: center; }
.jst-notice--info { background: #f3e8c8; color: #4a3a12; border: 1px solid var(--jst-gold); }

.jst-account__auth { max-width: 460px; margin-inline: auto; padding: 1.75rem; border: 3px solid var(--jst-gold); border-radius: 12px; background: var(--jst-texture), linear-gradient(180deg, #f7eedb, var(--jst-parchment) 60%, var(--jst-parchment-2)); color: var(--jst-ink); }
.jst-account__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; align-items: start; }
.jst-account__card { position: relative; padding: 1.75rem; border: 1px solid var(--jst-line); border-radius: 10px; background: rgba(0, 0, 0, .22); }
.jst-account__card h2 { font-size: 1.3rem; color: var(--jst-gold-light); }
.jst-account__card .jst-auth__field label { color: var(--jst-muted); }
.jst-membership-card.is-active { border: 3px solid var(--jst-gold); background: radial-gradient(circle at 85% 0%, rgba(201, 164, 92, .18), transparent 55%), rgba(0, 0, 0, .25); }
.jst-membership-card__crown { position: absolute; top: 1.25rem; right: 1.25rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--jst-line); color: var(--jst-muted); }
.jst-membership-card.is-active .jst-membership-card__crown { border-color: var(--jst-gold); color: var(--jst-gold-light); }
.jst-membership-card__plan { margin: 0 0 .75rem; font-family: var(--jst-font-display); font-size: 1.6rem; font-weight: 700; color: var(--jst-parchment); }
.jst-account__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.jst-account__hint { margin: 1rem 0 0; color: var(--jst-muted); font-size: .85rem; }
.jst-account__logout { margin: 1.25rem 0 0; }
.jst-account__logout a { color: var(--jst-muted); }

/* Derby Stories: league */
.jst-ds-league { display: inline-flex; align-items: center; gap: .35rem; }
.jst-ds-league .jst-term-logo--sm { width: 24px; height: 24px; }

/* Fixes after visual check */
.jst-excl-row { margin: 0 0 .9rem; }
.jst-excl-row .jst-excl-chip { margin: 0; }
.jst-paywall .jst-btn--gold, .jst-prose .jst-paywall .jst-btn--gold { color: var(--jst-ink); text-decoration: none; }
.jst-prose .jst-paywall a { text-decoration: none; }
.jst-paywall__teaser::after { content: none; }
.jst-paywall__teaser {
	-webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
}

/* ==========================================================================
   15. "Powered by bala24.gr" news (homepage, bottom)
   ========================================================================== */
.jst-news__panel {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--jst-line);
	border-top: 3px solid var(--jst-gold);
	border-radius: 10px;
	background: var(--jst-texture), linear-gradient(180deg, var(--jst-surface), var(--jst-bg-2));
	box-shadow: var(--jst-shadow);
}
.jst-news__bar {
	display: flex;
	align-items: center;
	gap: .75rem 1.5rem;
	flex-wrap: wrap;
	padding: 1.1rem 1.5rem .9rem;
	border-bottom: 1px solid var(--jst-line);
}
.jst-news__heading { min-width: 0; }
.jst-news__kicker { margin: 0 0 .2rem; color: var(--jst-gold); font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.jst-news__title { margin: 0; color: var(--jst-text); font-family: var(--jst-font-display); font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 700; line-height: 1.15; }
.jst-news__more { order: 2; display: inline-flex; align-items: center; gap: .25rem; color: var(--jst-gold-light); font-size: .9rem; font-weight: 700; text-decoration: none; }
.jst-news__more:hover { color: var(--jst-text); }
.jst-news__more .jst-icon { width: 16px; height: 16px; }
/* Source badge: bala24's own logo on a dark chip with its green accent, kept small. */
.jst-news__brand {
	order: 3;
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	padding: .4rem .7rem;
	border: 1px solid rgba(255, 255, 255, .08);
	border-bottom: 2px solid #3cf08a;
	border-radius: 6px;
	background: #0b0f17;
	text-decoration: none;
	transition: transform .2s var(--jst-ease);
}
.jst-news__brand:hover { transform: translateY(-1px); }
.jst-news__brand small { color: #aab3bf; font-family: var(--jst-font-body); font-size: .58rem; font-weight: 700; letter-spacing: .14em; line-height: 1; }
.jst-news__brand img { width: 104px; height: auto; display: block; }
.jst-news__heading { order: 1; margin-right: auto; }

.jst-news__rail { padding: 1.25rem 1.5rem 1.4rem; }
.jst-news__rail .jst-rail__track { grid-auto-columns: calc((100% - 3 * 1.25rem) / 4); padding-bottom: 6px; }
.jst-news__rail .jst-rail__btn { top: 34%; }
.jst-news__rail .jst-rail__btn--prev { left: 6px; }
.jst-news__rail .jst-rail__btn--next { right: 6px; }

.jst-news-card { position: relative; display: flex; flex-direction: column; gap: .6rem; height: 100%; }
.jst-news-card__media { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--jst-line); border-radius: var(--jst-radius); background: var(--jst-bg); }
.jst-news-card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .4s var(--jst-ease), filter .4s var(--jst-ease); }
.jst-news-card:hover .jst-news-card__media img { transform: scale(1.04); filter: none; }
.jst-news-card__title { margin: 0; color: var(--jst-text); font-family: var(--jst-font-body); font-size: 1rem; font-weight: 600; line-height: 1.35; }
.jst-news-card__title a { color: inherit; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jst-news-card__title a::after { content: ""; position: absolute; inset: 0; }
.jst-news-card:hover .jst-news-card__title a { color: var(--jst-gold-light); }
.jst-news-card__title a:focus-visible { outline: none; }
.jst-news-card:has(a:focus-visible) { outline: 3px solid var(--jst-focus); outline-offset: 3px; border-radius: var(--jst-radius); }
.jst-news-card__time { margin: auto 0 0; color: var(--jst-muted); font-size: .8rem; }

@media (max-width: 1023px) {
	.jst-news__rail .jst-rail__track { grid-auto-columns: calc((100% - 1.25rem) / 2.4); }
}
@media (max-width: 767px) {
	.jst-news__bar { padding: .9rem 1rem .8rem; }
	.jst-news__heading { flex: 1 1 100%; }
	.jst-news__brand { margin-left: auto; padding: .3rem .55rem; }
	.jst-news__brand img { width: 84px; }
	.jst-news__rail { padding: 1rem; }
	.jst-news__rail .jst-rail__track { grid-auto-columns: 78%; }
}

/* Admin-side helpers are in admin; the tags box suggestions: */
.jst-tags-suggest .button { margin: 0 .25rem .35rem 0; }

/* ==========================================================================
   16. Quiz
   ========================================================================== */
.jst-quiz-head__kicker { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .5rem; color: var(--jst-gold); font-size: .8rem; font-weight: 700; letter-spacing: .16em; }
.jst-quiz-head__kicker .jst-icon { width: 18px; height: 18px; }

/* Cards */
.jst-quiz-cover {
	display: grid; place-items: center;
	width: 100%; height: 100%;
	background: radial-gradient(circle at 50% 40%, rgba(201, 164, 92, .25), transparent 60%), linear-gradient(180deg, #2b4a33, #102016);
}
.jst-quiz-cover span {
	display: grid; place-items: center;
	width: 42%; aspect-ratio: 1;
	border-radius: 50%;
	border: 4px solid var(--jst-gold);
	background: radial-gradient(circle at 35% 30%, #2f5a3c, #0e1d15);
	box-shadow: 0 0 0 6px rgba(201, 164, 92, .15), var(--jst-shadow);
	color: var(--jst-gold-light);
	font-family: var(--jst-font-display);
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 700;
}
.jst-card__cta { display: inline-flex; align-items: center; gap: .35rem; margin-top: .6rem; color: var(--jst-gold-light); font-family: var(--jst-font-display); font-weight: 700; font-size: .9rem; letter-spacing: .06em; }
.jst-card__cta .jst-icon { width: 14px; height: 14px; }

/* Game shell */
.jst-quiz {
	position: relative;
	padding: clamp(1rem, 3vw, 2rem);
	border: 2px solid var(--jst-line);
	border-radius: 14px;
	background: radial-gradient(ellipse at 50% 0%, rgba(201, 164, 92, .12), transparent 60%), rgba(0, 0, 0, .25);
	scroll-margin-top: 1rem;
}
.jst-quiz__lobby { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.jst-quiz__mode {
	display: flex; flex-direction: column; align-items: flex-start; gap: .6rem;
	padding: 1.6rem;
	border: 2px solid var(--jst-line);
	border-radius: 12px;
	background: linear-gradient(180deg, var(--jst-surface-2), var(--jst-surface));
}
.jst-quiz__mode--couch { border-color: var(--jst-gold); }
.jst-quiz__mode h2 { margin: 0; font-size: 1.5rem; }
.jst-quiz__mode p { margin: 0; color: var(--jst-muted); }
.jst-quiz__mode .jst-btn { margin-top: auto; }
.jst-quiz__mode-icon { font-size: 2rem; line-height: 1; }
.jst-quiz__best { color: var(--jst-gold-light) !important; font-weight: 700; }
.jst-quiz__rules { width: 100%; margin-top: .5rem; color: var(--jst-muted); font-size: .92rem; }
.jst-quiz__rules summary { cursor: pointer; color: var(--jst-gold-light); font-weight: 700; }
.jst-quiz__rules p { margin: .5rem 0 0; }

.jst-quiz__bar { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; color: var(--jst-muted); font-weight: 700; }
.jst-quiz__score { color: var(--jst-gold-light); }
.jst-quiz__track { height: 6px; margin-bottom: 1.25rem; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.jst-quiz__track span { display: block; height: 100%; background: linear-gradient(90deg, var(--jst-gold-dark), var(--jst-gold-light)); transition: width .4s var(--jst-ease); }

/* Question card */
.jst-qcard {
	max-width: 760px;
	margin-inline: auto;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 3px solid var(--jst-gold);
	border-radius: 12px;
	background: var(--jst-texture), linear-gradient(180deg, #f7eedb, var(--jst-parchment) 60%, var(--jst-parchment-2));
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), inset 0 0 0 4px #f7eedb, inset 0 0 0 5px rgba(156, 122, 54, .5), var(--jst-shadow);
	color: var(--jst-ink);
	animation: jst-pop .25s var(--jst-ease);
}
.jst-qcard__meta { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 .75rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.jst-qcard__cat { color: var(--jst-gold-dark); }
.jst-qcard__pts { padding: .1em .7em; border-radius: 99px; background: var(--jst-bg); color: var(--jst-gold-light); }
.jst-qcard__img { margin: 0 0 1rem; border-radius: 8px; overflow: hidden; border: 2px solid var(--jst-gold-dark); background: #0e1d15; }
.jst-qcard__img img { width: 100%; max-height: 360px; object-fit: contain; }
.jst-qcard__q { margin: 0 0 1.1rem; color: var(--jst-ink); font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.3; }
.jst-qcard__options { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.jst-qcard__options--two .jst-qopt { justify-content: center; font-size: 1.1rem; }
.jst-qopt {
	position: relative;
	display: flex; align-items: center; gap: .7rem;
	min-height: 56px;
	padding: .7rem 1rem;
	border: 2px solid var(--jst-gold-dark);
	border-radius: 8px;
	background: #fffaf0;
	color: var(--jst-ink);
	font: inherit;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
	transition: transform .15s, background-color .2s, border-color .2s;
}
.jst-qopt[data-letter]::before {
	content: attr(data-letter);
	flex: none;
	display: grid; place-items: center;
	width: 30px; height: 30px;
	border-radius: 50%;
	background: var(--jst-bg);
	color: var(--jst-gold-light);
	font-size: .85rem;
}
.jst-qopt:hover:not(:disabled) { transform: translateY(-2px); background: #fff; border-color: var(--jst-gold); }
.jst-qopt:disabled { cursor: default; opacity: .7; }
.jst-qopt.is-correct { opacity: 1; background: #dcebd6; border-color: #3f8f4a; }
.jst-qopt.is-wrong { opacity: 1; background: #f6dcd2; border-color: #b4472a; }
.jst-qcard__num { margin: 0 0 1rem; color: var(--jst-ink); font-family: var(--jst-font-display); font-size: clamp(3rem, 8vw, 4.5rem); font-weight: 700; line-height: 1; text-align: center; }
.jst-qcard__form { display: flex; gap: .5rem; flex-wrap: wrap; }
.jst-qcard__form input { flex: 1 1 220px; min-height: 50px; padding: .6em .9em; border: 2px solid var(--jst-gold-dark); border-radius: 8px; background: #fffaf0; color: var(--jst-ink); font: inherit; font-size: 1.05rem; }
.jst-qcard__row, .jst-qcard__judge { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .75rem; }
.jst-qcard__judge p { flex-basis: 100%; margin: 0 0 .25rem; font-weight: 700; }
.jst-qcard .jst-btn--ghost { color: var(--jst-ink); border-color: var(--jst-gold-dark); }
.jst-qcard .jst-btn--ghost:hover { background: var(--jst-gold); color: var(--jst-ink); }
.jst-qcard__clues { margin: 0 0 1rem; padding-left: 1.4em; display: grid; gap: .45rem; font-size: 1.08rem; }
.jst-qcard__clues li { animation: jst-pop .25s var(--jst-ease); }
.jst-qcard__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; margin: 0 0 .9rem; padding: 0; list-style: none; counter-reset: slot; }
.jst-qcard__slots li { counter-increment: slot; padding: .55rem .7rem; border: 2px dashed rgba(156, 122, 54, .5); border-radius: 6px; color: var(--jst-ink-soft); font-weight: 700; }
.jst-qcard__slots li::before { content: counter(slot) ". "; color: var(--jst-gold-dark); }
.jst-qcard__slots li.is-found { border-style: solid; border-color: #3f8f4a; background: #dcebd6; color: #183d1f; }
.jst-qcard__feedback:not(:empty) { margin-top: 1.1rem; padding-top: 1rem; border-top: 2px solid rgba(156, 122, 54, .35); }
.jst-qcard__verdict { margin: 0 0 .3rem; font-family: var(--jst-font-display); font-size: 1.5rem; font-weight: 700; }
.jst-qcard.is-correct .jst-qcard__verdict { color: #2c7a37; }
.jst-qcard.is-wrong .jst-qcard__verdict { color: #a23b20; }
.jst-qcard__answer { margin: 0 0 .3rem; font-weight: 700; }
.jst-qcard__note, .jst-qcard__exp { margin: 0 0 .5rem; color: var(--jst-ink-soft); }
.jst-qcard__exp { font-style: italic; }
.jst-qcard__next { margin-top: .5rem; }

/* Couch Play */
.jst-quiz__setup { display: grid; gap: 1rem; max-width: 520px; margin-inline: auto; text-align: center; }
.jst-quiz__setup h2 { margin: 0; }
.jst-quiz__team-input { display: grid; gap: .35rem; text-align: left; font-weight: 700; color: var(--jst-muted); }
.jst-quiz__team-input input { min-height: 50px; padding: .6em .9em; border: 2px solid var(--jst-line); border-radius: 8px; background: var(--jst-bg-2); color: var(--jst-text); font: inherit; font-size: 1.05rem; }
.jst-quiz__team-input--1 input { border-color: var(--jst-gold); }
.jst-quiz__team-input--2 input { border-color: #4fb3a1; }

.jst-quiz__scoreboard { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.jst-quiz__team {
	position: relative;
	display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem .75rem;
	padding: .9rem 1.1rem;
	border: 2px solid var(--jst-line);
	border-radius: 10px;
	background: rgba(0, 0, 0, .25);
	opacity: .65;
	transition: opacity .2s, border-color .2s, box-shadow .2s;
}
.jst-quiz__team.is-turn { opacity: 1; }
.jst-quiz__team--1.is-turn { border-color: var(--jst-gold); box-shadow: 0 0 0 3px rgba(201, 164, 92, .25); }
.jst-quiz__team--2.is-turn { border-color: #4fb3a1; box-shadow: 0 0 0 3px rgba(79, 179, 161, .25); }
.jst-quiz__team-name { font-family: var(--jst-font-display); font-weight: 700; font-size: 1.15rem; color: var(--jst-parchment); overflow-wrap: anywhere; }
.jst-quiz__team-score { grid-row: span 2; font-family: var(--jst-font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.jst-quiz__team--1 .jst-quiz__team-score { color: var(--jst-gold-light); }
.jst-quiz__team--2 .jst-quiz__team-score { color: #7fd6c6; }
.jst-quiz__turn { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--jst-muted); }
.jst-quiz__x2, .jst-quiz__x2-used {
	justify-self: start;
	padding: .2em .8em;
	border: 2px solid var(--jst-gold);
	border-radius: 99px;
	background: transparent;
	color: var(--jst-gold-light);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.jst-quiz__x2.is-armed { background: var(--jst-gold); color: var(--jst-ink); }
.jst-quiz__x2:disabled { opacity: .4; cursor: default; }
.jst-quiz__x2-used { opacity: .5; cursor: default; font-size: .8rem; }

.jst-quiz__board { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: .75rem; }
.jst-quiz__col { display: grid; gap: .6rem; align-content: start; }
.jst-quiz__cat { margin: 0 0 .1rem; padding: .55rem .4rem; border-radius: 8px; background: var(--jst-bg); border: 2px solid var(--jst-gold-dark); color: var(--jst-gold-light); font-size: clamp(.8rem, 1.6vw, 1rem); text-align: center; letter-spacing: .06em; text-transform: uppercase; }
.jst-quiz__cell {
	min-height: clamp(64px, 10vw, 92px);
	border: 3px solid var(--jst-gold);
	border-radius: 10px;
	background: var(--jst-texture), linear-gradient(180deg, #f7eedb, var(--jst-parchment-2));
	color: var(--jst-ink);
	font-family: var(--jst-font-display);
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 700;
	cursor: pointer;
	transition: transform .15s, box-shadow .2s;
}
.jst-quiz__cell:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0, 0, 0, .4); }
.jst-quiz__cell.is-played { cursor: default; background: rgba(0, 0, 0, .3); border-style: dashed; color: transparent; position: relative; }
.jst-quiz__cell.is-played::after { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.4rem; }
.jst-quiz__cell.is-team1.is-ok { border-color: var(--jst-gold); background: rgba(201, 164, 92, .25); }
.jst-quiz__cell.is-team2.is-ok { border-color: #4fb3a1; background: rgba(79, 179, 161, .22); }
.jst-quiz__cell.is-ok::after { content: "✓"; color: var(--jst-parchment); }
.jst-quiz__cell.is-ko::after { content: "✗"; color: var(--jst-muted); }

.jst-quiz__penalty-head { margin-bottom: 1.25rem; text-align: center; }
.jst-quiz__penalty-head h2 { margin: 0 0 .3rem; }
.jst-quiz__penalty-head p { margin: 0; color: var(--jst-muted); }
.jst-quiz__penalty-tally { margin-top: .5rem !important; color: var(--jst-gold-light) !important; font-weight: 700; font-size: 1.1rem; }
.jst-quiz__shooter { max-width: 760px; margin: 0 auto .75rem; color: var(--jst-gold-light); font-family: var(--jst-font-display); font-size: 1.2rem; font-weight: 700; text-align: center; }

.jst-quiz__end { padding: clamp(1rem, 4vw, 2.5rem) 0; text-align: center; }
.jst-quiz__end-kicker { margin: 0; color: var(--jst-gold); font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.jst-quiz__end-score { margin: .3rem 0; color: var(--jst-parchment); font-family: var(--jst-font-display); font-size: clamp(2.2rem, 7vw, 4rem); font-weight: 700; line-height: 1.1; overflow-wrap: anywhere; }
.jst-quiz__end-verdict { margin: 0 0 1.25rem; color: var(--jst-gold-light); font-family: var(--jst-font-display); font-style: italic; font-size: 1.3rem; }
.jst-quiz__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

@media (max-width: 767px) {
	.jst-qcard__options { grid-template-columns: 1fr; }
	.jst-quiz__scoreboard { gap: .5rem; }
	.jst-quiz__team { padding: .7rem; }
	.jst-quiz__team-score { font-size: 1.9rem; }
	.jst-quiz__board { gap: .4rem; }
	.jst-quiz__cat { font-size: .7rem; padding: .45rem .2rem; letter-spacing: 0; }
}

/* Homepage quiz band */
.jst-quizband {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
	padding: clamp(1.5rem, 4vw, 3.25rem);
	border: 2px solid var(--jst-gold);
	border-radius: 18px;
	background:
		radial-gradient(ellipse at 85% 20%, rgba(201, 164, 92, .28), transparent 55%),
		radial-gradient(ellipse at 0% 100%, rgba(63, 143, 74, .25), transparent 55%),
		linear-gradient(135deg, #10241a 0%, #0b1a12 55%, #081209 100%);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 0 0 6px rgba(201, 164, 92, .12), 0 24px 60px rgba(0, 0, 0, .5);
}
/* Faint pitch grid */
.jst-quizband::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(rgba(201, 164, 92, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 164, 92, .06) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%);
}
.jst-quizband__kicker { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .9rem; padding: .3em .9em; border: 1px solid var(--jst-line); border-radius: 99px; background: rgba(0, 0, 0, .3); color: var(--jst-gold-light); font-size: .75rem; font-weight: 700; letter-spacing: .16em; }
.jst-quizband__kicker .jst-icon { width: 16px; height: 16px; }
.jst-quizband__title { margin: 0 0 .75rem; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; }
.jst-quizband__text { margin: 0 0 1.4rem; max-width: 34rem; color: var(--jst-muted); font-size: 1.08rem; }
.jst-quizband__stats { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.jst-quizband__stats li { display: grid; min-width: 110px; padding: .7rem 1rem; border: 1px solid var(--jst-line); border-radius: 12px; background: rgba(0, 0, 0, .28); }
.jst-quizband__stats strong { color: var(--jst-gold-light); font-family: var(--jst-font-display); font-size: 1.6rem; line-height: 1.1; }
.jst-quizband__stats span { color: var(--jst-muted); font-size: .82rem; }
.jst-quizband__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

.jst-quizband__play { position: relative; padding: 1.25rem 0 1.25rem 1.25rem; }
.jst-quizband__board {
	position: absolute;
	top: -6%; right: -14%;
	z-index: -1;
	display: grid;
	grid-template-columns: repeat(3, 76px);
	gap: 10px;
	transform: rotate(-12deg);
	opacity: .35;
}
.jst-quizband__board span { display: grid; place-items: center; height: 64px; border: 2px solid var(--jst-gold); border-radius: 10px; background: rgba(201, 164, 92, .12); color: var(--jst-gold-light); font-family: var(--jst-font-display); font-size: 1.8rem; font-weight: 700; }

/* Question of the day card */
.jst-dq {
	position: relative;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	border: 3px solid var(--jst-gold);
	border-radius: 14px;
	background: var(--jst-texture), linear-gradient(180deg, #f7eedb, var(--jst-parchment) 60%, var(--jst-parchment-2));
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), inset 0 0 0 4px #f7eedb, inset 0 0 0 5px rgba(156, 122, 54, .5), 0 18px 40px rgba(0, 0, 0, .45);
	color: var(--jst-ink);
	transform: rotate(1deg);
	transition: transform .3s var(--jst-ease);
}
.jst-dq:hover, .jst-dq:focus-within { transform: none; }
.jst-dq__head { display: flex; justify-content: space-between; gap: .75rem; margin: 0 0 .7rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--jst-gold-dark); }
.jst-dq__cat { padding: .1em .7em; border-radius: 99px; background: var(--jst-bg); color: var(--jst-gold-light); letter-spacing: .06em; text-transform: uppercase; }
.jst-dq__q { margin: 0 0 1rem; color: var(--jst-ink); font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.3; }
.jst-dq__opts { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.jst-dq__opts .jst-qopt { min-height: 50px; padding: .55rem .8rem; font-size: .95rem; }
.jst-dq__result { margin-top: .9rem; padding-top: .8rem; border-top: 2px solid rgba(156, 122, 54, .35); }
.jst-dq__verdict { margin: 0 0 .3rem; font-family: var(--jst-font-display); font-weight: 700; font-size: 1.15rem; }
.jst-dq.is-correct .jst-dq__verdict { color: #2c7a37; }
.jst-dq.is-wrong .jst-dq__verdict { color: #a23b20; }
.jst-dq__exp { margin: 0 0 .5rem; color: var(--jst-ink-soft); font-style: italic; font-size: .92rem; }
.jst-dq__more { display: inline-flex; align-items: center; gap: .3rem; color: var(--jst-ink); font-weight: 700; }
.jst-dq__more .jst-icon { width: 16px; height: 16px; color: var(--jst-gold-dark); }

.jst-quizband__more { margin-top: clamp(1.75rem, 4vw, 2.5rem); }
.jst-quiz-more { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 1.25rem 0 0; }

@media (max-width: 1023px) {
	.jst-quizband { grid-template-columns: minmax(0, 1fr); }
	.jst-quizband__play { padding: .5rem 0 0; }
	.jst-quizband__board { right: -10%; top: -20%; }
}
@media (max-width: 767px) {
	.jst-dq { transform: none; }
	.jst-dq__opts { grid-template-columns: 1fr; }
	.jst-quizband__stats li { min-width: 0; flex: 1 1 30%; padding: .6rem .7rem; }
	.jst-quizband__stats strong { font-size: 1.3rem; }
	.jst-quizband__ctas .jst-btn { width: 100%; }
}
.jst-article-head .jst-quiz-head__kicker { display: flex; }
.jst-nav .jst-menu-quiz > a { color: var(--jst-gold-dark); }

/* "Φανέλες ανά ομάδα": gold ΣΥΛΛΟΓΟΙ / ΕΘΝΙΚΕΣ tabs */
.jst-team-tabs { display: inline-flex; gap: .6rem; margin: 0 0 1.1rem; padding: .3rem; border: 1px solid var(--jst-line); border-radius: 12px; background: rgba(0, 0, 0, .28); }
.jst-team-tab {
	min-width: 140px;
	min-height: 44px;
	padding: .5em 1.4em;
	border: 2px solid var(--jst-gold-dark);
	border-radius: 8px;
	background: transparent;
	color: var(--jst-gold-light);
	font-family: var(--jst-font-display);
	font-size: .92rem;
	font-weight: 700;
	letter-spacing: .14em;
	cursor: pointer;
	transition: background-color .2s, color .2s, box-shadow .2s;
}
.jst-team-tab:hover { border-color: var(--jst-gold); color: var(--jst-parchment); }
.jst-team-tab[aria-selected="true"] {
	border-color: var(--jst-gold);
	background: linear-gradient(180deg, var(--jst-gold-light), var(--jst-gold) 55%, var(--jst-gold-dark));
	color: var(--jst-ink);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
}
@media (max-width: 767px) {
	.jst-team-tabs { display: flex; }
	.jst-team-tab { flex: 1; min-width: 0; padding-inline: .6em; }
}

/* ==========================================================================
   17. Jersey League
   ========================================================================== */
/* Homepage: League strip across the quiz band */
.jst-leaguebar {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: center;
	margin-top: .5rem;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	border: 2px solid var(--jst-gold);
	border-radius: 14px;
	background: radial-gradient(ellipse at 0% 0%, rgba(201, 164, 92, .2), transparent 60%), rgba(0, 0, 0, .35);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4);
}
.jst-leaguebar__kicker { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .35rem; color: var(--jst-gold); font-size: .75rem; font-weight: 700; letter-spacing: .16em; }
.jst-leaguebar__kicker .jst-icon { width: 16px; height: 16px; }
.jst-leaguebar__title { margin: 0 0 .4rem; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--jst-gold-light); }
.jst-leaguebar__text { margin: 0 0 .6rem; color: var(--jst-muted); }
.jst-leaguebar__count { margin: 0 0 1rem; color: var(--jst-parchment); font-weight: 700; }
.jst-leaguebar__all { display: inline-flex; align-items: center; gap: .3rem; margin-top: .6rem; color: var(--jst-gold-light); font-weight: 700; text-decoration: none; }
.jst-leaguebar__all .jst-icon { width: 16px; height: 16px; }

/* Standings table */
.jst-ltable { overflow-x: auto; border: 1px solid var(--jst-line); border-radius: 10px; background: rgba(0, 0, 0, .25); }
.jst-ltable table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.jst-ltable th { padding: .6rem .8rem; border-bottom: 2px solid var(--jst-gold-dark); color: var(--jst-gold); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-align: left; text-transform: uppercase; }
.jst-ltable td { padding: .6rem .8rem; border-bottom: 1px solid rgba(201, 164, 92, .12); color: var(--jst-parchment); }
.jst-ltable tr:last-child td { border-bottom: 0; }
.jst-ltable__rank { width: 4.5rem; white-space: nowrap; font-family: var(--jst-font-display); font-weight: 700; color: var(--jst-muted); }
.jst-ltable__team { font-weight: 700; overflow-wrap: anywhere; }
.jst-ltable__score { font-family: var(--jst-font-display); font-size: 1.15rem; font-weight: 700; color: var(--jst-gold-light); text-align: right; }
.jst-ltable th:last-child { text-align: right; }
.jst-ltable tr.is-top1 .jst-ltable__rank::before { content: "🥇 "; }
.jst-ltable tr.is-top2 .jst-ltable__rank::before { content: "🥈 "; }
.jst-ltable tr.is-top3 .jst-ltable__rank::before { content: "🥉 "; }
.jst-ltable tr.is-top1 td { background: rgba(201, 164, 92, .14); }
.jst-ltable tr.is-mine td { background: rgba(79, 179, 161, .18); }
.jst-ltable__empty td { color: var(--jst-muted); text-align: center; padding: 1.25rem; }

/* League page */
.jst-league { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.jst-league__card {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 3px solid var(--jst-gold);
	border-radius: 14px;
	background: radial-gradient(ellipse at 50% 0%, rgba(201, 164, 92, .15), transparent 60%), rgba(0, 0, 0, .3);
	scroll-margin-top: 1rem;
}
.jst-league__card > h2 { margin-top: 0; color: var(--jst-gold-light); }
.jst-league__form { display: grid; gap: .6rem; margin: 0 0 1.25rem; }
.jst-league__form label { color: var(--jst-muted); font-weight: 700; font-size: .9rem; }
.jst-league__form input { min-height: 52px; padding: .6em .9em; border: 2px solid var(--jst-gold-dark); border-radius: 8px; background: var(--jst-bg-2); color: var(--jst-text); font: inherit; font-size: 1.1rem; }
.jst-league__form input:focus { border-color: var(--jst-gold); }
.jst-league__error { margin: 0; padding: .55em .8em; border-radius: 6px; background: #f6dcd2; color: #6b1d0d; font-weight: 700; }
.jst-league__rules { margin: 0; padding-left: 1.2em; color: var(--jst-muted); font-size: .95rem; display: grid; gap: .35rem; }
.jst-league__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.jst-league__head h2 { margin-bottom: .75rem; }
.jst-league__count { margin: 0; color: var(--jst-gold-light); font-weight: 700; }
.jst-league__note { margin: .75rem 0 0; color: var(--jst-muted); font-size: .88rem; }
.jst-league__timer { font-family: var(--jst-font-display); }
.jst-league__nav { justify-content: space-between; margin-top: 1rem; }
.jst-qopt.is-chosen { background: #f3e2b5; border-color: var(--jst-gold); }
.jst-league__review { text-align: center; padding: 1rem 0; }
.jst-league__review h2 { color: var(--jst-gold-light); }
.jst-league__result { text-align: center; }
.jst-league__team { margin: .2rem 0 1rem; color: var(--jst-parchment); overflow-wrap: anywhere; }
.jst-league__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.jst-league__stats li { display: grid; padding: .9rem; border: 1px solid var(--jst-line); border-radius: 10px; background: rgba(0, 0, 0, .3); }
.jst-league__stats strong { color: var(--jst-gold-light); font-family: var(--jst-font-display); font-size: 1.6rem; line-height: 1.1; }
.jst-league__stats span { color: var(--jst-muted); font-size: .85rem; }
.jst-league__result .jst-btn { margin: .3rem; }

@media (max-width: 1023px) {
	.jst-leaguebar, .jst-league { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.jst-ltable th, .jst-ltable td { padding: .5rem .55rem; font-size: .92rem; }
	.jst-league__nav .jst-btn { flex: 1 1 auto; }
}
@media (max-width: 1535px) {
	.jst-header .jst-social--header { display: none; }
}

/* ==========================================================================
   18. Legends' Last Jersey
   ========================================================================== */
/* Tall portrait card: sepia photo (full colour on hover), shirt number, capitals over a dark green fade. */
/* Media and text share one grid cell; the text is a static grid item, so the title link still covers the whole card. */
.jst-card--legend { display: grid; overflow: hidden; }
.jst-card--legend > .jst-card__media,
.jst-card--legend > .jst-card__body { grid-area: 1 / 1; }
.jst-card--legend .jst-card__media { aspect-ratio: 3 / 5; }
.jst-card--legend .jst-card__media > img { width: 100%; height: 100%; object-fit: cover; padding: 0; filter: sepia(.45) saturate(.75) contrast(1.05); transition: transform .5s var(--jst-ease), filter .5s var(--jst-ease); }
.jst-card--legend:hover .jst-card__media > img,
.jst-card--legend:focus-within .jst-card__media > img { filter: none; }
.jst-card--legend .jst-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(14, 29, 21, 0) 45%, rgba(14, 29, 21, .8) 72%, var(--jst-bg) 100%);
	pointer-events: none;
}
.jst-card--legend .jst-card__body { align-self: end; z-index: 2; padding: 1.1rem 1.2rem 1.25rem; }
.jst-card--legend__player { margin: 0 0 .3rem; color: var(--jst-gold); font-size: .74rem; font-weight: 700; letter-spacing: .16em; }
.jst-card--legend .jst-card__title { font-family: var(--jst-font-display); font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 800; line-height: 1.08; letter-spacing: .01em; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
.jst-card--legend .jst-card__title a { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.jst-card--legend__meta { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; margin: .55rem 0 0; padding-top: .5rem; border-top: 1px solid var(--jst-line); color: var(--jst-muted); font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
/* Shirt number: bottom right, on the darkest part of the card, in solid gold. */
.jst-card--legend__number { flex: none; margin-bottom: -.1rem; color: var(--jst-gold-light); font-family: var(--jst-font-display); font-size: 2.3rem; font-weight: 800; line-height: .8; letter-spacing: 0; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.jst-grid--legends { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

/* "Το τελευταίο ματς" panel on the story page */
.jst-ll-banner {
	position: relative;
	overflow: hidden;
	display: grid;
	gap: .55rem;
	max-width: 48rem;
	margin: 1.5rem auto 0;
	padding: 1.1rem 1.25rem 1.2rem;
	border: 1px solid var(--jst-line);
	border-left: 4px solid var(--jst-gold);
	border-radius: 8px;
	background: rgba(0, 0, 0, .22);
	text-align: left;
}
.jst-ll-banner__number {
	position: absolute;
	right: .9rem; top: -.4rem;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(228, 199, 132, .35);
	font-family: var(--jst-font-display);
	font-size: 6.5rem;
	font-weight: 800;
	line-height: 1;
	pointer-events: none;
}
.jst-ll-banner__player { margin: 0; color: var(--jst-parchment); font-family: var(--jst-font-display); font-size: 1.45rem; font-weight: 700; }
.jst-ll-banner__shirt { margin-left: .4rem; color: var(--jst-gold-light); font-family: var(--jst-font-body); font-size: .85rem; font-weight: 700; letter-spacing: .08em; }
.jst-ll-banner__kicker { margin: .3rem 0 0; color: var(--jst-gold); font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.jst-ll-banner__match { display: flex; align-items: center; gap: .7rem; margin: 0; color: var(--jst-text); font-size: 1.1rem; font-weight: 700; }
.jst-ll-banner__match .jst-rt-crest { width: 40px; height: 40px; font-size: .8rem; }
.jst-ll-banner__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem 1.25rem; margin: .35rem 0 0; }
.jst-ll-banner__facts div { min-width: 0; }
.jst-ll-banner__facts dt { color: var(--jst-muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.jst-ll-banner__facts dd { margin: .1rem 0 0; color: var(--jst-parchment); font-weight: 600; }
.jst-ll-banner__note { margin: .2rem 0 0; color: var(--jst-muted); font-size: .82rem; font-style: italic; }

/* ==========================================================================
   19. Header balance (2.10.2)
   The logo sits exactly in the middle: both menu columns get the same width.
   The header is wider than the content (up to 1480px) so both menus have room;
   the social icons live in the footer and the mobile menu only.
   ========================================================================== */
.jst-header .jst-social--header { display: none; }
@media (min-width: 1280px) {
	.jst-header__inner { max-width: calc(1480px + 2 * var(--jst-gutter)); grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
}
@media (min-width: 1280px) {
	.jst-nav--right { gap: .75rem; padding-left: 1.25rem; }
	.jst-nav--left ul { padding-right: 1.25rem; }
}
@media (min-width: 1280px) and (max-width: 1399px) {
	.jst-nav--right { gap: .6rem; padding-left: 1rem; }
	.jst-nav--left ul { padding-right: 1rem; }
	.jst-nav ul { column-gap: .7rem; }
}

/* Dark band around the homepage video sections (episodes + YouTube), same look as EDITORIAL. */
.jst-darkband {
	position: relative;
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
	padding-bottom: clamp(.5rem, 2vw, 1.25rem);
	background: linear-gradient(180deg, #08110c, #0b1710);
	border-block: 1px solid var(--jst-line);
}
.jst-darkband > .jst-section:first-child { padding-top: clamp(2rem, 4vw, 3rem); }
/* A section right after the band starts with its normal spacing. */
.jst-darkband + .jst-section { padding-top: clamp(.5rem, 1.5vw, 1rem); }

/* Homepage: a little more air between consecutive sections on the normal background
   (Rivals → Εποχές → Φανέλες ανά ομάδα…), instead of separator lines. EDITORIAL keeps its gold bar on the band's edge. */
.jst-home > .jst-section + .jst-section:not(.jst-editorial) { padding-top: clamp(1rem, 2.2vw, 1.5rem); }

/* ==========================================================================
   20. Footer: shorter (2.10.9)
   "Ενότητες" in two columns on desktop / tablet; on phones every group folds (tap the title).
   ========================================================================== */
.jst-footer__top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); }
.jst-footer__col--sections ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.jst-footer__acc > summary { display: block; list-style: none; cursor: default; }
.jst-footer__acc > summary::-webkit-details-marker { display: none; }
.jst-footer__acc > summary:focus-visible { outline: 2px solid var(--jst-focus); outline-offset: 4px; }
@media (max-width: 1023px) {
	.jst-footer__top { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.jst-footer__top { grid-template-columns: minmax(0, 1fr); gap: 0; text-align: left; }
	.jst-footer__about { margin-bottom: 1.75rem; }
	.jst-footer__col { border-top: 1px solid var(--jst-line); }
	.jst-footer__col:last-child { border-bottom: 1px solid var(--jst-line); }
	.jst-footer__acc > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; cursor: pointer; }
	.jst-footer__acc > summary::after { content: "+"; color: var(--jst-gold-light); font-size: 1.4rem; line-height: 1; transition: transform .2s var(--jst-ease); }
	.jst-footer__acc[open] > summary::after { transform: rotate(45deg); }
	.jst-footer__acc .jst-footer__title { margin: 0; }
	.jst-footer__col ul { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: start; column-gap: 1rem; gap: .7rem 1rem; padding: 0 0 1.25rem; }
}
/* ==========================================================================
   21. Video cover: play button bottom left (2.10.10)
   The whole cover still starts the video; the label moves out of the middle so the
   episode artwork stays visible. Members-only (locked) videos keep their centred message.
   ========================================================================== */
.jst-video:not(.jst-video--locked) .jst-video__btn {
	place-items: end start;
	padding: 0 0 clamp(.7rem, 1.8vw, 1.1rem) clamp(.7rem, 1.8vw, 1.1rem);
	background: linear-gradient(0deg, rgba(0, 0, 0, .6), transparent 30%);
}
.jst-video:not(.jst-video--locked) .jst-video__btn span { padding: .6em 1.1em; font-size: .82rem; transform-origin: left bottom; }
.jst-video:not(.jst-video--locked) .jst-video__note {
	left: auto;
	right: clamp(.7rem, 1.8vw, 1.1rem);
	bottom: clamp(1rem, 2.3vw, 1.45rem);
	z-index: 2;
	max-width: 45%;
	text-align: right;
	line-height: 1.3;
	opacity: .85;
	pointer-events: none;
}
@media (max-width: 600px) {
	.jst-video:not(.jst-video--locked) .jst-video__note { display: none; }
	.jst-video:not(.jst-video--locked) .jst-video__btn span { font-size: .75rem; }
}

/* ==========================================================================
   22. Legends' autograph (2.11)
   Gold "ink", slanted, in a handwriting font: decorative, not a real signature.
   ========================================================================== */
.jst-autograph {
	display: block;
	width: max-content;
	max-width: 100%;
	color: var(--jst-gold-light);
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
	transform: rotate(-9deg);
	transform-origin: left bottom;
	text-shadow: 0 2px 8px rgba(0, 0, 0, .65);
	pointer-events: none;
	user-select: none;
}
.jst-autograph--delafield { font-family: "Mrs Saint Delafield", cursive; font-size: 3.5rem; }
.jst-autograph--muellerhoff { font-family: "Herr Von Muellerhoff", cursive; font-size: 3.9rem; }
.jst-autograph--allura { font-family: "Allura", cursive; font-size: 3.1rem; }
.jst-card--legend__autograph { margin: 0 0 .15rem -.15rem; opacity: .95; }
.jst-ll-banner__autograph { margin: -.2rem 0 .1rem; font-size: 2.2rem; opacity: .9; }
.jst-ll-banner__autograph.jst-autograph--muellerhoff { font-size: 2.5rem; }
.jst-ll-banner__autograph.jst-autograph--allura { font-size: 2rem; }
/* ==========================================================================
   23. Jersey Stories Cards (2.12)
   A 5:7 trading card that scales as a whole: every size is in --u (1/340 of the card width).
   Rarity = frame metal: bronze, silver, gold.
   ========================================================================== */
.jst-tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 2.25rem 1.75rem; margin: 0; padding: 0; list-style: none; }
.jst-cardset + .jst-cardset { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.jst-tcard { --jst-metal: linear-gradient(145deg, #f1dca0, #9c7a36 28%, #e4c784 52%, #8a6a2c 76%, #f1dca0); --jst-metal-ink: #9c7a36; display: grid; gap: .7rem; }
.jst-tcard--silver { --jst-metal: linear-gradient(145deg, #fbfcfd, #8d959d 28%, #e3e7eb 52%, #6f777f 76%, #fbfcfd); --jst-metal-ink: #6f777f; }
.jst-tcard--bronze { --jst-metal: linear-gradient(145deg, #f3c9a2, #8a5a32 28%, #d9a173 52%, #6e4424 76%, #f3c9a2); --jst-metal-ink: #8a5a32; }
.jst-tcard__box { container-type: inline-size; aspect-ratio: 5 / 7; perspective: 1600px; cursor: pointer; }
.jst-tcard__inner { --u: calc(100cqw / 340); position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--jst-ease); }
.jst-tcard.is-flipped .jst-tcard__inner { transform: rotateY(180deg); }
.jst-tcard__face { position: absolute; inset: 0; overflow: hidden; padding: calc(9 * var(--u)); border-radius: calc(16 * var(--u)); background: var(--jst-metal); backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 18px 38px rgba(0, 0, 0, .5), inset 0 2px 0 rgba(255, 255, 255, .25); }
.jst-tcard__face--back { transform: rotateY(180deg); }
.jst-tcard__box:hover .jst-tcard__face { box-shadow: 0 22px 44px rgba(0, 0, 0, .6), inset 0 2px 0 rgba(255, 255, 255, .25); }

/* Front */
.jst-tcard__front { position: relative; height: 100%; overflow: hidden; border-radius: calc(9 * var(--u));
	background: repeating-linear-gradient(100deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 26px), radial-gradient(ellipse at 50% 18%, rgba(255, 236, 190, .22), transparent 55%), radial-gradient(circle at 50% 40%, #2f5a3c, #0b1710 78%);
	box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--jst-parchment), inset 0 0 0 calc(4 * var(--u)) #0e1d15; }
.jst-tcard__front::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 245, 210, .28) 47%, transparent 58%); background-size: 250% 100%; background-position: 120% 0; transition: background-position 1.1s ease; }
.jst-tcard__box:hover .jst-tcard__front::after { background-position: -40% 0; }
.jst-tcard__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.jst-tcard__front.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8, 17, 12, .35), transparent 22%, transparent 55%, rgba(8, 17, 12, .75) 80%); pointer-events: none; }
.jst-tcard__art { position: absolute; left: 50%; top: calc(48 * var(--u)); width: calc(250 * var(--u)); aspect-ratio: 1; transform: translateX(-50%); filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .55)); }
.jst-tcard__art svg { width: 100%; height: 100%; display: block; }
.jst-tcard__art-name, .jst-tcard__art-no { position: absolute; left: 0; right: 0; text-align: center; color: var(--jst-tc-b); font-family: var(--jst-font-body); font-weight: 700; line-height: 1; text-shadow: 0 1px 0 rgba(0, 0, 0, .35), 0 0 6px rgba(0, 0, 0, .25); }
.jst-tcard__art-name { top: 30%; font-size: calc(19 * var(--u)); letter-spacing: .14em; }
.jst-tcard__art-no { top: 42%; font-size: calc(70 * var(--u)); }
.jst-tcard__series { position: absolute; top: calc(13 * var(--u)); left: calc(13 * var(--u)); z-index: 3; display: grid; gap: calc(2 * var(--u)); margin: 0; padding: calc(6 * var(--u)) calc(10 * var(--u)) calc(5 * var(--u)); border: 1px solid rgba(228, 199, 132, .55); border-radius: calc(6 * var(--u)); background: rgba(8, 17, 12, .8); }
.jst-tcard__series b { color: var(--jst-gold-light); font-family: var(--jst-font-display); font-size: calc(12.5 * var(--u)); letter-spacing: .14em; line-height: 1.1; }
.jst-tcard__series span { color: var(--jst-muted); font-size: calc(9.5 * var(--u)); font-weight: 700; letter-spacing: .14em; }
.jst-tcard__crest { position: absolute; top: calc(13 * var(--u)); right: calc(13 * var(--u)); z-index: 3; }
.jst-tcard__crest .jst-rt-crest { width: calc(48 * var(--u)); height: calc(48 * var(--u)); font-size: calc(14 * var(--u)); box-shadow: 0 0 0 calc(2 * var(--u)) var(--jst-gold-light), 0 4px 10px rgba(0, 0, 0, .5); }
.jst-tcard__note { position: absolute; top: calc(70 * var(--u)); right: calc(13 * var(--u)); z-index: 3; padding: .15em .5em; border-radius: 3px; background: rgba(8, 17, 12, .8); color: var(--jst-gold-light); font-size: calc(9 * var(--u)); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.jst-tcard .jst-tcard__autograph { position: absolute; left: calc(20 * var(--u)); bottom: calc(102 * var(--u)); z-index: 3; font-size: calc(56 * var(--u)); }
.jst-tcard .jst-tcard__autograph.jst-autograph--muellerhoff { font-size: calc(62 * var(--u)); }
.jst-tcard .jst-tcard__autograph.jst-autograph--allura { font-size: calc(50 * var(--u)); }
.jst-tcard__plate { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; grid-template-columns: calc(56 * var(--u)) minmax(0, 1fr) calc(44 * var(--u)); gap: calc(10 * var(--u)); align-items: center; padding: calc(13 * var(--u)) calc(13 * var(--u)) calc(14 * var(--u)); background: linear-gradient(180deg, rgba(14, 29, 21, .92), #08110c); border-top: calc(2 * var(--u)) solid var(--jst-gold); }
.jst-tcard--silver .jst-tcard__plate { border-top-color: #c3c9cf; }
.jst-tcard--bronze .jst-tcard__plate { border-top-color: #c08454; }
.jst-tcard__medal { width: calc(56 * var(--u)); height: calc(56 * var(--u)); display: grid; place-items: center; border-radius: 50%; background: var(--jst-metal); color: var(--jst-ink); font-family: var(--jst-font-display); font-weight: 800; font-size: calc(26 * var(--u)); box-shadow: 0 0 0 calc(2 * var(--u)) #0e1d15, 0 0 0 calc(3 * var(--u)) var(--jst-gold-light); }
.jst-tcard__who { min-width: 0; }
.jst-tcard__name { margin: 0; color: var(--jst-parchment); font-family: var(--jst-font-display); font-weight: 800; font-size: calc(19 * var(--u)); line-height: 1.05; letter-spacing: .02em; overflow-wrap: anywhere; }
.jst-tcard__meta { margin: calc(4 * var(--u)) 0 0; color: var(--jst-gold-light); font-size: calc(8.5 * var(--u)); font-weight: 700; letter-spacing: .1em; line-height: 1.3; }
.jst-tcard__seal { width: calc(44 * var(--u)); height: calc(44 * var(--u)); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }

/* Back */
.jst-tcard__back { position: relative; height: 100%; display: flex; flex-direction: column; gap: calc(9 * var(--u)); padding: calc(15 * var(--u)) calc(15 * var(--u)) calc(11 * var(--u)); overflow: hidden; border-radius: calc(9 * var(--u)); color: var(--jst-ink);
	background: radial-gradient(circle at 30% 20%, #f6eddb, var(--jst-parchment) 45%, var(--jst-parchment-2)); box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--jst-metal-ink), inset 0 0 0 calc(5 * var(--u)) var(--jst-parchment), inset 0 0 0 calc(6 * var(--u)) rgba(156, 122, 54, .45); }
.jst-tcard__head { display: flex; align-items: flex-start; justify-content: space-between; gap: calc(10 * var(--u)); padding-bottom: calc(8 * var(--u)); border-bottom: calc(3 * var(--u)) double var(--jst-metal-ink); }
.jst-tcard__bname { margin: 0; font-family: var(--jst-font-display); font-weight: 800; font-size: calc(19 * var(--u)); line-height: 1.05; }
.jst-tcard__bseries { margin: calc(4 * var(--u)) 0 0; color: var(--jst-metal-ink); font-size: calc(9 * var(--u)); font-weight: 700; letter-spacing: .12em; }
.jst-tcard__bno { color: transparent; -webkit-text-stroke: calc(1.5 * var(--u)) var(--jst-metal-ink); font-family: var(--jst-font-display); font-weight: 800; font-size: calc(44 * var(--u)); line-height: .85; }
.jst-tcard__facts { display: grid; grid-template-columns: 1fr 1fr; gap: calc(6 * var(--u)) calc(12 * var(--u)); margin: 0; }
.jst-tcard__facts div { min-width: 0; }
.jst-tcard__facts dt { color: var(--jst-ink-soft); font-size: calc(8.5 * var(--u)); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.jst-tcard__facts dd { margin: calc(1 * var(--u)) 0 0; font-family: var(--jst-font-display); font-weight: 700; font-size: calc(13 * var(--u)); line-height: 1.2; }
.jst-tcard__stats { width: 100%; border-collapse: collapse; }
.jst-tcard__stats th { padding: calc(4 * var(--u)) calc(6 * var(--u)); color: var(--jst-parchment); background: #13271c; font-size: calc(9 * var(--u)); letter-spacing: .12em; text-align: right; }
.jst-tcard__stats th:first-child { text-align: left; border-radius: calc(4 * var(--u)) 0 0 calc(4 * var(--u)); }
.jst-tcard__stats th:last-child { border-radius: 0 calc(4 * var(--u)) calc(4 * var(--u)) 0; }
.jst-tcard__stats td { padding: calc(4 * var(--u)) calc(6 * var(--u)); border-bottom: 1px solid rgba(156, 122, 54, .35); text-align: right; font-family: var(--jst-font-display); font-weight: 800; font-size: calc(14 * var(--u)); }
.jst-tcard__stats td:first-child { text-align: left; font-family: var(--jst-font-body); font-weight: 700; font-size: calc(11.5 * var(--u)); }
.jst-tcard__stats td small { display: block; color: var(--jst-ink-soft); font-weight: 400; font-size: calc(9.5 * var(--u)); }
.jst-tcard__titles { display: flex; flex-wrap: wrap; gap: calc(4 * var(--u)); margin: 0; padding: 0; list-style: none; }
.jst-tcard__titles li { white-space: nowrap; padding: calc(3 * var(--u)) calc(7 * var(--u)); border: 1px solid var(--jst-metal-ink); border-radius: 999px; background: rgba(201, 164, 92, .2); font-size: calc(9.5 * var(--u)); font-weight: 700; }
.jst-tcard__last { padding: calc(7 * var(--u)) calc(10 * var(--u)); border-radius: calc(6 * var(--u)); background: linear-gradient(180deg, #18301f, #0e1d15); color: var(--jst-parchment); }
.jst-tcard__last b { display: block; color: var(--jst-gold-light); font-size: calc(9 * var(--u)); letter-spacing: .16em; }
.jst-tcard__last p { margin: calc(3 * var(--u)) 0 0; font-family: var(--jst-font-display); font-weight: 700; font-size: calc(13 * var(--u)); line-height: 1.25; }
.jst-tcard__last small { color: var(--jst-muted); font-family: var(--jst-font-body); font-weight: 400; font-size: calc(10.5 * var(--u)); }
.jst-tcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: calc(8 * var(--u)); padding-top: calc(6 * var(--u)); border-top: 1px solid rgba(156, 122, 54, .45); font-size: calc(10.5 * var(--u)); }
.jst-tcard__foot a { color: var(--jst-metal-ink); font-weight: 700; text-decoration: none; }
.jst-tcard__foot a:hover { text-decoration: underline; }
.jst-tcard__foot img { width: calc(30 * var(--u)); height: calc(30 * var(--u)); }

/* Under the card */
.jst-tcard__actions { display: flex; justify-content: center; gap: 1rem; }
.jst-tcard__flip, .jst-tcard__open { display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; padding: .3rem .85rem; border: 1px solid var(--jst-line); border-radius: 999px; background: rgba(0, 0, 0, .2); color: var(--jst-parchment); font: inherit; font-size: .85rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.jst-tcard__flip:hover, .jst-tcard__open:hover { border-color: var(--jst-gold); color: var(--jst-gold-light); }
.jst-tcard__flip:focus-visible, .jst-tcard__open:focus-visible { outline: 3px solid var(--jst-focus); outline-offset: 2px; }

/* Album: rarity legend */
.jst-rarity-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin: 1rem 0 0; padding: 0; list-style: none; color: var(--jst-muted); font-size: .85rem; }
.jst-rarity-legend__item { display: inline-flex; align-items: center; gap: .45rem; }
.jst-rarity-legend__item::before { content: ""; width: 14px; height: 18px; border-radius: 3px; background: linear-gradient(145deg, #f1dca0, #9c7a36 40%, #e4c784 60%, #8a6a2c); box-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.jst-rarity-legend__item--silver::before { background: linear-gradient(145deg, #fbfcfd, #8d959d 40%, #e3e7eb 60%, #6f777f); }
.jst-rarity-legend__item--bronze::before { background: linear-gradient(145deg, #f3c9a2, #8a5a32 40%, #d9a173 60%, #6e4424); }

/* Single card page */
.jst-cardpage { padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem); }
.jst-cardpage__layout { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; margin-top: 1.25rem; }
.jst-cardpage__kicker { margin: 0 0 .4rem; color: var(--jst-gold); font-size: .78rem; font-weight: 700; letter-spacing: .16em; }
.jst-cardpage__title { margin: 0 0 .75rem; color: var(--jst-parchment); font-family: var(--jst-font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.1; }
.jst-cardpage__text { max-width: 34rem; color: var(--jst-muted); }
.jst-cardpage__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
@media (max-width: 767px) {
	.jst-cardpage__layout { grid-template-columns: minmax(0, 1fr); justify-items: center; }
	.jst-cardpage__card { width: min(100%, 340px); }
	.jst-tcards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); justify-items: center; }
	.jst-tcards > li { width: min(100%, 340px); }
}
@media (prefers-reduced-motion: reduce) {
	.jst-tcard__inner, .jst-tcard__front::after { transition: none; }
}
/* Striped / hooped kits: light letters with a dark outline, like a printed name plate. */
.jst-tcard__art.is-busy .jst-tcard__art-name, .jst-tcard__art.is-busy .jst-tcard__art-no { color: #f5efe0; -webkit-text-stroke: calc(1.4 * var(--u)) rgba(10, 10, 10, .75); paint-order: stroke fill; text-shadow: 0 2px 6px rgba(0, 0, 0, .55); }

/* ==========================================================================
   24. Collecting: Jersey Points (2.13)
   ========================================================================== */
/* Locked (not yet in the member's album): dimmed, in grey; the back can still be read. */
.jst-tcard.is-locked .jst-tcard__front { filter: grayscale(1) brightness(.62); }
.jst-tcard.is-locked .jst-tcard__face--front { background: linear-gradient(145deg, #8a8f94, #4b5056 40%, #7c8288 60%, #3f4449); }
.jst-tcard.is-new .jst-tcard__box { animation: jst-card-pop .7s var(--jst-ease); }
@keyframes jst-card-pop { 0% { transform: scale(.96); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
.jst-tcard__collect { display: flex; justify-content: center; }
.jst-tcard__unlock { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .45rem 1rem; border: 0; border-radius: 999px; background: linear-gradient(180deg, var(--jst-gold-light), var(--jst-gold)); color: var(--jst-ink); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.jst-tcard__unlock .jst-icon { width: 16px; height: 16px; }
.jst-tcard__unlock:hover { filter: brightness(1.06); }
.jst-tcard__unlock:disabled { opacity: .6; cursor: progress; }
.jst-tcard__unlock:focus-visible { outline: 3px solid var(--jst-focus); outline-offset: 2px; }
.jst-tcard__unlock.is-free { background: linear-gradient(180deg, #fff3cf, var(--jst-gold-light)); box-shadow: 0 0 0 2px var(--jst-gold), 0 4px 14px rgba(201, 164, 92, .45); }
.jst-tcard__owned { display: inline-flex; align-items: center; min-height: 40px; color: #8fd39b; font-size: .9rem; font-weight: 700; }
.jst-cardset__progress { margin-left: .5rem; color: var(--jst-gold-light); font-family: var(--jst-font-body); font-size: .9rem; font-weight: 700; letter-spacing: .04em; }

/* Points panel (album + account) */
.jst-collect { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin: 0 0 clamp(1.75rem, 4vw, 2.5rem); padding: 1.1rem 1.4rem; border: 1px solid var(--jst-line); border-top: 3px solid var(--jst-gold); border-radius: 10px; background: var(--jst-texture), linear-gradient(180deg, var(--jst-surface), var(--jst-bg-2)); }
.jst-collect__stats { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; margin: 0; }
.jst-collect__stats p { display: grid; margin: 0; }
.jst-collect__stats strong { color: var(--jst-gold-light); font-family: var(--jst-font-display); font-size: 1.8rem; line-height: 1; }
.jst-collect__stats span { color: var(--jst-muted); font-size: .82rem; }
.jst-collect__member { display: inline-flex !important; align-items: center; gap: .45rem; color: var(--jst-gold-light); font-size: .88rem; font-weight: 700; }
.jst-collect__member .jst-icon { width: 18px; height: 18px; }
.jst-collect__how { flex: 1 1 18rem; color: var(--jst-muted); font-size: .9rem; }
.jst-collect__how summary { color: var(--jst-gold-light); font-weight: 700; cursor: pointer; }
.jst-collect__how ul { margin: .6rem 0 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
.jst-collect__how a { color: var(--jst-gold-light); }
.jst-collect__costs { margin: .6rem 0 0; color: var(--jst-parchment); font-weight: 600; }
.jst-collect--guest .jst-collect__kicker { margin: 0 0 .3rem; color: var(--jst-gold); font-size: .75rem; font-weight: 700; letter-spacing: .16em; }
.jst-collect--guest .jst-collect__text { max-width: 44rem; margin: 0; color: var(--jst-parchment); }
.jst-account__collect .jst-collect { margin-bottom: 1rem; padding: .9rem 1rem; }
.jst-collect__log { display: grid; gap: .35rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: .88rem; }
.jst-collect__log li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .35rem; border-bottom: 1px solid var(--jst-line); }
.jst-collect__log b { color: #8fd39b; white-space: nowrap; }
.jst-collect__log b.is-minus { color: var(--jst-gold-light); }

/* "+5 πόντοι" toast */
.jst-points-toast { position: fixed; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 300; max-width: min(92vw, 30rem); padding: .75rem 1.2rem; border: 1px solid var(--jst-gold); border-radius: 999px; background: #0b1710; color: var(--jst-gold-light); font-weight: 700; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .55); transform: translate(-50%, 160%); transition: transform .35s var(--jst-ease); pointer-events: none; }
.jst-points-toast.is-on { transform: translate(-50%, 0); }
.jst-points-toast.is-bad { border-color: #d9826b; color: #f3c2b4; }
@media (prefers-reduced-motion: reduce) { .jst-points-toast { transition: none; } .jst-tcard.is-new .jst-tcard__box { animation: none; } }

/* ==========================================================================
   25. Homepage: "Το ψηφιακό σου άλμπουμ" (2.14)
   ========================================================================== */
.jst-albumcta__box { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; overflow: hidden; padding: clamp(1.5rem, 4vw, 2.75rem); border: 1px solid var(--jst-line); border-top: 3px solid var(--jst-gold); border-radius: 12px;
	background: radial-gradient(circle at 85% 40%, rgba(201, 164, 92, .18), transparent 45%), var(--jst-texture), linear-gradient(160deg, var(--jst-surface), var(--jst-bg)); box-shadow: var(--jst-shadow); }
.jst-albumcta__kicker { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .5rem; color: var(--jst-gold); font-size: .78rem; font-weight: 700; letter-spacing: .16em; }
.jst-albumcta__kicker .jst-icon { width: 18px; height: 18px; }
.jst-albumcta__title { margin: 0 0 1.1rem; color: var(--jst-parchment); font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1; }
.jst-albumcta__steps { display: grid; gap: .8rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.jst-albumcta__steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: .8rem; align-items: start; color: var(--jst-text); }
.jst-albumcta__steps b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(145deg, #f1dca0, var(--jst-gold) 50%, var(--jst-gold-dark)); color: var(--jst-ink); font-family: var(--jst-font-display); font-size: 1.05rem; }
.jst-albumcta__steps span { padding-top: .35rem; line-height: 1.45; }
.jst-albumcta__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.jst-albumcta__note { margin: .9rem 0 0; color: var(--jst-muted); font-size: .88rem; }
.jst-albumcta__me { display: flex; gap: 2rem; margin: 0 0 .8rem; }
.jst-albumcta__me p { display: grid; margin: 0; }
.jst-albumcta__me strong { color: var(--jst-gold-light); font-family: var(--jst-font-display); font-size: 2.2rem; line-height: 1; }
.jst-albumcta__me span { color: var(--jst-muted); font-size: .85rem; }
.jst-albumcta__bar { height: 10px; margin: 0 0 .8rem; overflow: hidden; border: 1px solid var(--jst-line); border-radius: 999px; background: rgba(0, 0, 0, .3); }
.jst-albumcta__bar span { display: block; height: 100%; min-width: 4px; border-radius: inherit; background: linear-gradient(90deg, var(--jst-gold-dark), var(--jst-gold-light)); }
.jst-albumcta__hint { margin: 0 0 1.2rem; color: var(--jst-text); }

/* The fan of three showcase cards */
.jst-albumcta__fan { position: relative; height: clamp(300px, 30vw, 380px); }
.jst-albumcta__fancard { position: absolute; left: 50%; top: 50%; width: clamp(150px, 15vw, 200px); transition: transform .45s var(--jst-ease); }
.jst-albumcta__fancard--0 { z-index: 3; transform: translate(-50%, -50%) rotate(-2deg); }
.jst-albumcta__fancard--1 { z-index: 2; transform: translate(-112%, -46%) rotate(-12deg); }
.jst-albumcta__fancard--2 { z-index: 1; transform: translate(12%, -46%) rotate(10deg); }
.jst-albumcta__fan:hover .jst-albumcta__fancard--1 { transform: translate(-122%, -48%) rotate(-15deg); }
.jst-albumcta__fan:hover .jst-albumcta__fancard--2 { transform: translate(22%, -48%) rotate(13deg); }
.jst-albumcta__fancard .jst-tcard { gap: 0; }
@media (max-width: 1023px) {
	.jst-albumcta__box { grid-template-columns: minmax(0, 1fr); }
	.jst-albumcta__fan { order: -1; height: 300px; }
	.jst-albumcta__fancard { width: 170px; }
}
@media (max-width: 480px) {
	.jst-albumcta__fan { height: 250px; }
	.jst-albumcta__fancard { width: 140px; }
	.jst-albumcta__fancard--1 { transform: translate(-100%, -46%) rotate(-12deg); }
	.jst-albumcta__fancard--2 { transform: translate(0%, -46%) rotate(10deg); }
}
@media (prefers-reduced-motion: reduce) { .jst-albumcta__fancard { transition: none; } }
.jst-quizband__cards { display: flex; align-items: center; gap: .5rem; margin: 1rem 0 0; color: var(--jst-muted); font-size: .9rem; }
.jst-quizband__cards .jst-icon { flex: none; width: 18px; height: 18px; color: var(--jst-gold); }
.jst-quizband__cards a { color: var(--jst-gold-light); font-weight: 700; }

/* ==========================================================================
   26. Automatic cards from the sections (2.15)
   ========================================================================== */
.jst-tcard__crest--duo { display: flex; align-items: center; gap: calc(3 * var(--u)); padding: calc(3 * var(--u)) calc(5 * var(--u)); border-radius: 999px; background: rgba(8, 17, 12, .8); }
.jst-tcard__crest--duo .jst-rt-crest { width: calc(36 * var(--u)); height: calc(36 * var(--u)); font-size: calc(11 * var(--u)); box-shadow: 0 0 0 calc(1.5 * var(--u)) var(--jst-gold-light); }
.jst-tcard__crest-sep { color: var(--jst-gold-light); font-family: var(--jst-font-display); font-weight: 800; font-size: calc(11 * var(--u)); }
.jst-tcard__blurb { margin: 0; padding: calc(7 * var(--u)) calc(9 * var(--u)); border-left: calc(3 * var(--u)) solid var(--jst-metal-ink); background: rgba(201, 164, 92, .12); color: var(--jst-ink-soft); font-family: var(--jst-font-display); font-style: italic; font-size: calc(12 * var(--u)); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.jst-tcard__art .jst-rt-split { position: absolute; inset: 0; height: 100%; background: none; }
.jst-tcard__art .jst-rt-split > span { padding: 0; }
.jst-tcard__art .jst-rt-split svg { width: 100%; height: 100%; }
.jst-tcard__score { display: flex; align-items: center; justify-content: center; gap: calc(14 * var(--u)); padding: calc(8 * var(--u)); border-radius: calc(6 * var(--u)); background: linear-gradient(180deg, #18301f, #0e1d15); }
.jst-tcard__score .jst-rt-crest { width: calc(40 * var(--u)); height: calc(40 * var(--u)); font-size: calc(12 * var(--u)); box-shadow: 0 0 0 calc(1.5 * var(--u)) var(--jst-gold-light); }
.jst-tcard__score b { color: var(--jst-gold-light); font-family: var(--jst-font-display); font-size: calc(30 * var(--u)); line-height: 1; letter-spacing: .04em; }
/* Classic jersey without background: the PNG sits on the card's own green, like the drawn jersey. */
.jst-tcard__cutout { position: absolute; left: 50%; top: calc(44 * var(--u)); width: calc(270 * var(--u)); height: calc(260 * var(--u)); object-fit: contain; transform: translateX(-50%); filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .55)); }
/* Derby score: crests and score, the scorers under each team, the date underneath. */
.jst-tcard__score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; justify-items: center; gap: calc(6 * var(--u)) calc(10 * var(--u)); }
.jst-tcard__scorers { grid-row: 2; grid-column: 1; margin: 0; padding: 0; list-style: none; color: var(--jst-parchment); font-size: calc(10 * var(--u)); line-height: 1.35; text-align: center; }
.jst-tcard__scorers--away { grid-column: 3; }
.jst-tcard__date { grid-column: 1 / -1; color: var(--jst-muted); font-size: calc(9.5 * var(--u)); font-weight: 700; letter-spacing: .08em; }

/* ==========================================================================
   27. The digital album (2.16): a Panini-style book with turning pages.
   Page contents scale with the page: --pu = 1/500 of the page width.
   ========================================================================== */
.jst-albumpage__head { padding-bottom: 1.25rem; }
.jst-albumpage__links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; margin: .75rem 0 0; }
.jst-albumpage__links a { color: var(--jst-gold-light); font-weight: 700; }
.jst-albumpage__points strong { color: var(--jst-gold-light); }
.jst-album { margin: clamp(1.25rem, 3vw, 2rem) auto clamp(2.5rem, 6vw, 4rem); }

/* A page (also the no-JavaScript layout: pages one under the other) */
.jst-album__pages { display: grid; gap: 2rem; justify-items: center; }
.jst-alb-page { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1.414; container-type: inline-size; color: var(--jst-ink); }
.jst-alb-paper, .jst-alb-cover { --pu: calc(100cqw / 500); position: absolute; inset: 0; overflow: hidden; }
.jst-alb-paper { display: flex; flex-direction: column; padding: calc(26 * var(--pu)) calc(28 * var(--pu)) calc(40 * var(--pu)); border-radius: 6px;
	background: var(--jst-texture), radial-gradient(circle at 30% 15%, #f8f0de, var(--jst-parchment) 50%, var(--jst-parchment-2)); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.jst-alb-paper__head { text-align: center; }
.jst-alb-paper__kicker { margin: 0; color: var(--jst-gold-dark); font-size: calc(9.5 * var(--pu)); font-weight: 700; letter-spacing: .18em; text-align: center; }
.jst-alb-paper__title { margin: calc(3 * var(--pu)) 0 0; color: var(--jst-ink); font-family: var(--jst-font-display); font-size: calc(23 * var(--pu)); line-height: 1.1; text-align: center; }
.jst-alb-paper__title::after { content: ""; display: block; width: calc(70 * var(--pu)); height: calc(3 * var(--pu)); margin: calc(8 * var(--pu)) auto 0; border-top: 1px solid var(--jst-gold-dark); border-bottom: 1px solid var(--jst-gold-dark); }
.jst-alb-paper__num { position: absolute; left: 0; right: 0; bottom: calc(14 * var(--pu)); margin: 0; color: var(--jst-gold-dark); font-family: var(--jst-font-display); font-size: calc(11 * var(--pu)); text-align: center; }

/* Nine slots, 3×3 */
.jst-alb-slots { flex: 1; display: grid; grid-template-columns: repeat(3, calc(124 * var(--pu))); grid-auto-rows: max-content; justify-content: center; align-content: center; gap: calc(12 * var(--pu)) calc(16 * var(--pu)); margin: calc(10 * var(--pu)) 0 0; padding: 0; list-style: none; }
.jst-alb-slot { position: relative; aspect-ratio: 5 / 7; border-radius: calc(7 * var(--pu)); background: rgba(70, 55, 25, .07); box-shadow: inset 0 0 0 1.5px rgba(156, 122, 54, .45), inset 0 2px 7px rgba(0, 0, 0, .14); }
.jst-alb-slot__card { position: absolute; inset: 0; }
.jst-alb-slot__card .jst-tcard { gap: 0; }
.jst-alb-slot.is-owned .jst-alb-slot__card { filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .35)); }
.jst-alb-slot.is-new .jst-alb-slot__card { animation: jst-card-pop .7s var(--jst-ease); }
.jst-alb-slot.is-missing .jst-alb-slot__card { opacity: .16; filter: grayscale(1); pointer-events: none; }
.jst-alb-slot__empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(5 * var(--pu)); padding: calc(6 * var(--pu)); border: 1.5px dashed rgba(156, 122, 54, .65); border-radius: inherit; text-align: center; }
.jst-alb-slot__no { color: var(--jst-gold-dark); font-family: var(--jst-font-display); font-size: calc(30 * var(--pu)); font-weight: 800; line-height: 1; }
.jst-alb-slot__name { color: var(--jst-ink-soft); font-size: calc(8 * var(--pu)); font-weight: 700; letter-spacing: .06em; line-height: 1.25; }
.jst-alb-slot__unlock .jst-tcard__unlock { min-height: 0; gap: calc(3 * var(--pu)); padding: calc(4 * var(--pu)) calc(7 * var(--pu)); font-size: calc(7.5 * var(--pu)); box-shadow: 0 2px 5px rgba(0, 0, 0, .25); }
.jst-alb-slot__unlock .jst-tcard__unlock .jst-icon { width: calc(9 * var(--pu)); height: calc(9 * var(--pu)); }
.jst-alb-slot.is-future { box-shadow: none; border: 1.5px dashed rgba(156, 122, 54, .3); background: none; display: grid; place-items: center; }
.jst-alb-slot__soon { color: rgba(156, 122, 54, .6); font-size: calc(8 * var(--pu)); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* Contents */
.jst-alb-toc { display: grid; gap: calc(8 * var(--pu)); margin: calc(18 * var(--pu)) 0 0; padding: 0; list-style: none; }
.jst-alb-toc a { display: flex; align-items: baseline; gap: calc(6 * var(--pu)); color: var(--jst-ink); font-size: calc(13 * var(--pu)); text-decoration: none; }
.jst-alb-toc a span { font-family: var(--jst-font-display); font-weight: 700; }
.jst-alb-toc a i { flex: 1; border-bottom: 1.5px dotted rgba(156, 122, 54, .6); }
.jst-alb-toc a b { color: var(--jst-gold-dark); }
.jst-alb-toc a small { color: var(--jst-ink-soft); font-size: calc(10 * var(--pu)); }
.jst-alb-toc a:hover span, .jst-alb-toc a:focus-visible span { text-decoration: underline; text-decoration-color: var(--jst-gold); }
.jst-alb-howto { margin-top: auto; padding: calc(12 * var(--pu)) calc(14 * var(--pu)); border-radius: calc(6 * var(--pu)); background: rgba(156, 122, 54, .12); font-size: calc(10.5 * var(--pu)); line-height: 1.45; }
.jst-alb-howto p { margin: 0 0 calc(6 * var(--pu)); }
.jst-alb-howto__title { font-family: var(--jst-font-display); font-weight: 700; font-size: calc(13 * var(--pu)); }
.jst-alb-howto__costs { display: flex; flex-wrap: wrap; gap: calc(4 * var(--pu)) calc(12 * var(--pu)); margin: 0 0 calc(8 * var(--pu)); padding: 0; list-style: none; color: var(--jst-ink); font-weight: 700; }
.jst-alb-howto .jst-btn { font-size: calc(10 * var(--pu)); }

/* Covers: dark green "leather" with a gold frame */
.jst-alb-cover { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(10 * var(--pu)); padding: calc(40 * var(--pu)); border-radius: 6px 12px 12px 6px; color: var(--jst-parchment); text-align: center;
	background: var(--jst-texture), radial-gradient(circle at 50% 32%, #2c5838, #12271a 55%, #0a160f);
	box-shadow: inset 0 0 0 calc(12 * var(--pu)) #10231a, inset 0 0 0 calc(14 * var(--pu)) var(--jst-gold), inset 0 0 0 calc(19 * var(--pu)) #10231a, inset 0 0 0 calc(20 * var(--pu)) rgba(228, 199, 132, .6), 0 18px 40px rgba(0, 0, 0, .55); }
.jst-alb-cover::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: calc(14 * var(--pu)); background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(255, 255, 255, .06), transparent); pointer-events: none; }
.jst-alb-cover__kicker { margin: 0; color: var(--jst-gold-light); font-size: calc(11 * var(--pu)); font-weight: 700; letter-spacing: .3em; }
.jst-alb-cover__logo { width: calc(170 * var(--pu)); height: auto; filter: drop-shadow(0 calc(8 * var(--pu)) calc(16 * var(--pu)) rgba(0, 0, 0, .6)); }
.jst-alb-cover__title { margin: 0; font-family: var(--jst-font-display); font-size: calc(40 * var(--pu)); font-weight: 800; line-height: 1; letter-spacing: .02em; background: linear-gradient(180deg, #f6e5b4, var(--jst-gold) 60%, var(--jst-gold-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jst-alb-cover__title span { font-size: .7em; letter-spacing: .3em; }
.jst-alb-cover__year { margin: 0; padding: calc(3 * var(--pu)) calc(14 * var(--pu)); border: 1px solid var(--jst-gold); border-radius: 999px; color: var(--jst-gold-light); font-size: calc(11 * var(--pu)); font-weight: 700; letter-spacing: .2em; }
.jst-alb-cover__owner { margin: calc(4 * var(--pu)) 0 0; color: var(--jst-parchment); font-family: var(--jst-font-display); font-style: italic; font-size: calc(14 * var(--pu)); }
.jst-alb-cover__owner small { color: var(--jst-gold-light); font-style: normal; font-family: var(--jst-font-body); font-size: .8em; font-weight: 700; }
.jst-alb-cover__open { margin-top: calc(6 * var(--pu)); }
.jst-alb-cover--back { border-radius: 12px 6px 6px 12px; }
.jst-alb-cover__tag { margin: 0; color: var(--jst-gold-light); font-family: var(--jst-font-display); font-style: italic; font-size: calc(15 * var(--pu)); }
.jst-alb-paper--blank { align-items: center; justify-content: center; gap: calc(10 * var(--pu)); color: var(--jst-ink-soft); font-family: var(--jst-font-display); font-style: italic; font-size: calc(14 * var(--pu)); }
.jst-alb-paper--blank img { width: calc(90 * var(--pu)); height: auto; opacity: .5; filter: grayscale(.4); }

/* Page corner: click to turn */
.jst-alb-corner { display: none; position: absolute; bottom: 0; z-index: 6; width: 13%; aspect-ratio: 1; padding: 0; border: 0; cursor: pointer; transition: width .2s; }
.jst-album.is-ready .jst-alb-corner { display: block; }
.jst-alb-corner--right { right: 0; background: linear-gradient(315deg, transparent 50%, rgba(0, 0, 0, .1) 50%, #fff8e6 56%, var(--jst-parchment-2) 75%); border-top-left-radius: 4px; }
.jst-alb-corner--left { left: 0; background: linear-gradient(45deg, transparent 50%, rgba(0, 0, 0, .1) 50%, #fff8e6 56%, var(--jst-parchment-2) 75%); border-top-right-radius: 4px; }
.jst-alb-corner:hover { width: 17%; }
.jst-alb-page--cover .jst-alb-corner, .jst-alb-page--back .jst-alb-corner { display: none !important; }

/* Book mode (wide screens): leaves turning around the spine */
.jst-album__book.is-book { position: relative; width: min(100%, 1120px, calc((100vh - 170px) * 2 / 1.414)); aspect-ratio: 2 / 1.414; margin: 0 auto; perspective: 2800px; transition: transform .7s var(--jst-ease); }
.jst-album__book.is-book.is-front { transform: translateX(-25%); }
.jst-album__book.is-book.is-back { transform: translateX(25%); }
.jst-alb-leaf { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.3, .65, .2, 1); }
.jst-alb-leaf.is-turned { transform: rotateY(-180deg); }
.jst-alb-leaf__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.jst-alb-leaf__face--back { transform: rotateY(180deg); }
.jst-alb-leaf__face > .jst-alb-page { width: 100%; height: 100%; aspect-ratio: auto; }
.is-book .jst-alb-paper { border-radius: 0 6px 6px 0; box-shadow: 0 10px 28px rgba(0, 0, 0, .4); }
.is-book .jst-alb-page--left .jst-alb-paper { border-radius: 6px 0 0 6px; }
/* Gutter shadow along the spine */
.is-book .jst-alb-page--right .jst-alb-paper::before, .is-book .jst-alb-page--left .jst-alb-paper::before { content: ""; position: absolute; top: 0; bottom: 0; width: 9%; pointer-events: none; z-index: 1; }
.is-book .jst-alb-page--right .jst-alb-paper::before { left: 0; background: linear-gradient(90deg, rgba(60, 40, 10, .28), transparent); }
.is-book .jst-alb-page--left .jst-alb-paper::before { right: 0; background: linear-gradient(270deg, rgba(60, 40, 10, .28), transparent); }

/* Single-page mode (phones) */
.jst-album__book.is-single { position: relative; width: min(100%, 460px); aspect-ratio: 1 / 1.414; margin: 0 auto; perspective: 1600px; }
.is-single .jst-album__pages { position: absolute; inset: 0; display: block; }
.is-single .jst-alb-page { position: absolute; inset: 0; width: 100%; display: none; }
.is-single .jst-alb-page.is-current { display: block; }
.is-single .jst-alb-page.is-in-next { animation: jst-alb-next .55s var(--jst-ease); transform-origin: left center; }
.is-single .jst-alb-page.is-in-prev { animation: jst-alb-prev .55s var(--jst-ease); transform-origin: right center; }
@keyframes jst-alb-next { from { transform: rotateY(-38deg) translateX(10%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes jst-alb-prev { from { transform: rotateY(38deg) translateX(-10%); opacity: 0; } to { transform: none; opacity: 1; } }

/* Navigation */
.jst-album__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
.jst-album__nav[hidden] { display: none; }
.jst-album__btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--jst-gold); border-radius: 50%; background: rgba(0, 0, 0, .25); color: var(--jst-gold-light); cursor: pointer; }
.jst-album__btn:hover:not(:disabled) { background: var(--jst-gold); color: var(--jst-ink); }
.jst-album__btn:disabled { opacity: .35; cursor: default; }
.jst-album__btn:focus-visible { outline: 3px solid var(--jst-focus); outline-offset: 2px; }
.jst-album__where { min-width: 11rem; margin: 0; color: var(--jst-parchment); font-family: var(--jst-font-display); font-weight: 700; text-align: center; }
@media (prefers-reduced-motion: reduce) {
	.jst-alb-leaf, .jst-album__book.is-book { transition: none; }
}
.jst-cards-album-link { margin: 1.25rem 0 0; }

/* Quiz sounds: on / off */
.jst-quiz__sound { display: flex; justify-content: flex-end; margin: 0 0 .5rem; }
.jst-sound-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--jst-line); border-radius: 50%; background: rgba(0, 0, 0, .25); color: var(--jst-gold-light); cursor: pointer; }
.jst-sound-toggle:hover { border-color: var(--jst-gold); }
.jst-sound-toggle[aria-pressed="false"] { color: var(--jst-muted); }
.jst-sound-toggle:focus-visible { outline: 3px solid var(--jst-focus); outline-offset: 2px; }
.jst-sound-toggle--sm { width: 30px; height: 30px; margin-left: .5rem; vertical-align: middle; }
.jst-sound-toggle--sm svg { width: 15px; height: 15px; }
.jst-dq .jst-sound-toggle { border-color: rgba(156, 122, 54, .55); background: rgba(0, 0, 0, .06); color: var(--jst-ink); }
.jst-dq .jst-sound-toggle[aria-pressed="false"] { color: var(--jst-ink-soft); opacity: .7; }

/* Every video player gets the discreet gold frame (homepage, stories, episodes, editorial). */
.jst-video:not(.jst-video--locked) { border: 1px solid rgba(201, 164, 92, .45); border-radius: 8px; box-shadow: 0 0 0 4px rgba(0, 0, 0, .18), var(--jst-shadow); transition: border-color .25s, box-shadow .25s; }
.jst-video:not(.jst-video--locked):hover,
.jst-video:not(.jst-video--locked):focus-within { border-color: var(--jst-gold); box-shadow: 0 0 0 4px rgba(201, 164, 92, .12), var(--jst-shadow); }

/* Question of the day: the category pill and the sound button together on the right; capitals centred in the pill. */
.jst-dq__head { justify-content: flex-start; align-items: center; }
.jst-dq__head .jst-dq__cat { margin-left: auto; }
.jst-dq__cat { display: inline-flex; align-items: center; line-height: 1; padding: .45em .8em .33em; }/* Cut-out jersey as big as the picture area allows (between the series badge and the name plate). */
.jst-tcard__cutout { top: calc(72 * var(--u)); width: calc(290 * var(--u)); height: calc(290 * var(--u)); }

/* The video's own cover image never takes the photo frame (the player has its own): a YouTube link
   pasted in the text sits inside a <figure>, which the photo rule above would otherwise match. */
.jst-prose .jst-video img,
.jst-article-hero .jst-video img { border: 0; border-radius: 0; box-shadow: none; }
.jst-prose .wp-block-embed { margin-inline: 0; }

/* Legends' Last Jersey cards: a gold frame, like the gold Legends trading cards.
   Thin gold edge + a faint inner line (a picture frame), brighter on hover. */
.jst-card--legend { border: 1px solid rgba(201, 164, 92, .75); box-shadow: inset 0 0 0 3px rgba(8, 17, 12, .55), inset 0 0 0 4px rgba(228, 199, 132, .28), 0 8px 22px rgba(0, 0, 0, .45); }
.jst-card--legend:hover,
.jst-card--legend:focus-within { border-color: var(--jst-gold-light); box-shadow: inset 0 0 0 3px rgba(8, 17, 12, .55), inset 0 0 0 4px rgba(228, 199, 132, .5), 0 0 0 3px rgba(201, 164, 92, .18), 0 14px 30px rgba(0, 0, 0, .55); }
/* The inner line sits above the photo. */
.jst-card--legend::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 4px rgba(8, 17, 12, .55), inset 0 0 0 5px rgba(228, 199, 132, .45); pointer-events: none; }
.jst-card--legend:hover::after, .jst-card--legend:focus-within::after { box-shadow: inset 0 0 0 4px rgba(8, 17, 12, .55), inset 0 0 0 5px rgba(228, 199, 132, .7); }

/* Title museum: the trophy's own photo instead of the drawn cup. */
.jst-trophy:has(.jst-trophy__photo) { grid-template-columns: 64px minmax(0, 1fr); align-items: center; }
.jst-trophy__photo { display: grid; place-items: end center; width: 64px; height: 84px; }
.jst-trophy__photo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)) drop-shadow(0 0 10px rgba(228, 199, 132, .18)); transition: transform .3s var(--jst-ease); }
.jst-trophy:hover .jst-trophy__photo img { transform: translateY(-3px) scale(1.04); }

/* ==========================================================================
   28. Επετειακές φανέλες (2.18): showcase with big gold anniversary numbers
   ========================================================================== */
.jst-anniv__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); }
.jst-anniv__grid--one { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.jst-anniv__side { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
.jst-anniv__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }

.jst-anniv-card { position: relative; display: grid; height: 100%; overflow: hidden; border: 1px solid rgba(201, 164, 92, .6); border-radius: 10px; background: linear-gradient(180deg, var(--jst-surface-2), var(--jst-surface)); box-shadow: 0 8px 22px rgba(0, 0, 0, .45); transition: transform .25s var(--jst-ease), border-color .25s, box-shadow .25s; }
.jst-anniv-card:hover, .jst-anniv-card:focus-within { transform: translateY(-3px); border-color: var(--jst-gold-light); box-shadow: 0 14px 30px rgba(0, 0, 0, .55); }
.jst-anniv-card__media { position: relative; overflow: hidden; background: #102016; }
.jst-anniv-card__media > img, .jst-anniv-card__media .jst-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--jst-ease); }
.jst-anniv-card:hover .jst-anniv-card__media > img { transform: scale(1.04); }
.jst-anniv-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 17, 12, .75), rgba(8, 17, 12, .1) 55%, transparent); pointer-events: none; }
/* The anniversary number: huge outlined gold, like a stamp over the photo. */
.jst-anniv-card__num { position: absolute; left: .35em; bottom: -.12em; z-index: 1; color: rgba(228, 199, 132, .14); -webkit-text-stroke: 2px var(--jst-gold-light); font-family: var(--jst-font-display); font-weight: 800; line-height: 1; letter-spacing: -.02em; text-shadow: 0 4px 18px rgba(0, 0, 0, .6); pointer-events: none; }
.jst-anniv-card__body { position: relative; display: grid; align-content: start; gap: .45rem; padding: 1rem 1.15rem 1.15rem; }
.jst-anniv-card__ribbon { justify-self: start; margin: 0; padding: .2em .8em; border-radius: 3px; background: linear-gradient(180deg, var(--jst-gold-light), var(--jst-gold)); color: var(--jst-ink); font-size: .7rem; font-weight: 800; letter-spacing: .16em; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.jst-anniv-card__team { display: flex; align-items: center; gap: .5rem; margin: 0; color: var(--jst-parchment); font-weight: 700; }
.jst-anniv-card__team .jst-rt-crest { width: 30px; height: 30px; font-size: .62rem; }
.jst-anniv-card__team small { color: var(--jst-gold-light); font-weight: 700; letter-spacing: .06em; }
.jst-anniv-card__title { margin: 0; font-size: 1.2rem; line-height: 1.2; }
.jst-anniv-card__title a { color: var(--jst-parchment); text-decoration: none; }
.jst-anniv-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.jst-anniv-card__title a:focus-visible { outline: none; }
.jst-anniv-card:has(.jst-anniv-card__title a:focus-visible) { outline: 3px solid var(--jst-focus); outline-offset: 3px; }
.jst-anniv-card__text { margin: 0; color: var(--jst-muted); }
.jst-anniv-card .jst-card__badges { z-index: 3; }
/* Big: photo on top, number ~ a third of the photo height. */
.jst-anniv-card--big { grid-template-rows: auto 1fr; }
.jst-anniv-card--big .jst-anniv-card__media { aspect-ratio: 16 / 9; }
.jst-anniv-card--big .jst-anniv-card__num { font-size: clamp(5rem, 11vw, 9rem); }
.jst-anniv-card--big .jst-anniv-card__title { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
/* Small: photo left, text right. */
.jst-anniv-card--small { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); }
.jst-anniv-card--small .jst-anniv-card__media { min-height: 150px; }
.jst-anniv-card--small .jst-anniv-card__num { font-size: clamp(3rem, 5vw, 4.2rem); -webkit-text-stroke-width: 1.5px; }
.jst-anniv-card--small .jst-anniv-card__body { align-content: center; }
@media (max-width: 1023px) {
	.jst-anniv__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
	.jst-anniv-card--small { grid-template-columns: minmax(0, 1fr); }
	.jst-anniv-card--small .jst-anniv-card__media { aspect-ratio: 16 / 9; min-height: 0; }
}

/* Έρχονται επέτειοι */
.jst-anniv-soon { margin-top: clamp(1.25rem, 3vw, 1.75rem); padding: 1rem 1.25rem; border: 1px dashed rgba(201, 164, 92, .45); border-radius: 10px; background: rgba(0, 0, 0, .18); }
.jst-anniv-soon__title { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .75rem; color: var(--jst-gold); font-size: .78rem; font-weight: 700; letter-spacing: .16em; }
.jst-anniv-soon__title .jst-icon { width: 16px; height: 16px; }
.jst-anniv-soon__list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.jst-anniv-soon__list a { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .85rem .35rem .4rem; border: 1px solid var(--jst-line); border-radius: 999px; background: rgba(0, 0, 0, .22); color: var(--jst-parchment); font-size: .88rem; text-decoration: none; }
.jst-anniv-soon__list a:hover { border-color: var(--jst-gold); }
.jst-anniv-soon__list b { min-width: 3.2em; padding: .15em .5em; border-radius: 999px; background: var(--jst-gold); color: var(--jst-ink); font-size: .78rem; text-align: center; }
.jst-anniv-soon__list .jst-rt-crest { width: 26px; height: 26px; font-size: .55rem; }
.jst-anniv-soon__list strong { color: var(--jst-gold-light); }

/* Article banner */
.jst-anniv-banner { display: flex; align-items: center; gap: 1rem; max-width: 48rem; margin: 1.5rem auto 0; padding: .9rem 1.25rem; border: 1px solid var(--jst-line); border-left: 4px solid var(--jst-gold); border-radius: 8px; background: rgba(0, 0, 0, .22); text-align: left; }
.jst-anniv-banner__num { color: rgba(228, 199, 132, .14); -webkit-text-stroke: 1.5px var(--jst-gold-light); font-family: var(--jst-font-display); font-size: 3.6rem; font-weight: 800; line-height: .9; }
.jst-anniv-banner__text { display: grid; gap: .15rem; }
.jst-anniv-banner__text strong { color: var(--jst-parchment); font-family: var(--jst-font-display); font-size: 1.25rem; }
.jst-anniv-banner__text small { color: var(--jst-gold-light); font-weight: 700; letter-spacing: .08em; }
.jst-anniv-soon__year { margin: .9rem 0 .5rem; color: var(--jst-parchment); font-family: var(--jst-font-display); font-weight: 700; font-size: 1.05rem; }
.jst-anniv-soon__year:first-of-type { margin-top: 0; }
.jst-anniv-soon__more { display: inline-flex; align-items: center; gap: .25rem; margin-top: .85rem; color: var(--jst-gold-light); font-size: .9rem; font-weight: 700; text-decoration: none; }
.jst-anniv-soon__more .jst-icon { width: 16px; height: 16px; }

/* Anniversary calendar on /epeteiakes-faneles/: year filter + grouped lists */
.jst-anniv-cal { margin-top: clamp(2rem, 5vw, 3rem); }
.jst-anniv-cal__count { margin: 0; color: var(--jst-gold-light); font-family: var(--jst-font-display); font-weight: 700; }
.jst-anniv-cal__filter { margin: 0 0 1.5rem; }
.jst-anniv-cal__filter .jst-chip small { margin-left: .2rem; opacity: .7; }
.jst-anniv-cal__year + .jst-anniv-cal__year { margin-top: 1.75rem; }
.jst-anniv-cal__heading { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 .8rem; padding-bottom: .45rem; border-bottom: 1px solid var(--jst-line); }
.jst-anniv-cal__heading span { color: var(--jst-gold-light); font-size: 1.6rem; }
.jst-anniv-cal__heading small { color: var(--jst-muted); font-family: var(--jst-font-body); font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.jst-anniv-cal__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .7rem; margin: 0; padding: 0; list-style: none; }
.jst-anniv-cal__list a { display: flex; align-items: center; gap: .7rem; height: 100%; padding: .55rem .8rem; border: 1px solid var(--jst-line); border-radius: 8px; background: rgba(0, 0, 0, .2); color: var(--jst-parchment); text-decoration: none; transition: border-color .2s, background-color .2s; }
.jst-anniv-cal__list a:hover { border-color: var(--jst-gold); background: rgba(201, 164, 92, .08); }
.jst-anniv-cal__num { min-width: 2.2em; color: rgba(228, 199, 132, .14); -webkit-text-stroke: 1.2px var(--jst-gold-light); font-family: var(--jst-font-display); font-size: 1.9rem; font-weight: 800; line-height: 1; text-align: center; }
.jst-anniv-cal__list .jst-rt-crest { flex: none; width: 34px; height: 34px; font-size: .62rem; }
.jst-anniv-cal__name { display: grid; min-width: 0; font-weight: 700; line-height: 1.25; }
.jst-anniv-cal__name small { color: var(--jst-muted); font-weight: 400; font-size: .8rem; }
.jst-anniv-none { margin: 0; color: var(--jst-muted); font-style: italic; }

/* ==========================================================================
   29. Favourite team (2.19): sign-up field, "Η ομάδα μου", "Για σένα"
   ========================================================================== */
.jst-favteam-field small { display: block; margin-top: .3rem; color: var(--jst-ink-soft); font-size: .78rem; }
.jst-favteam { margin: 0 0 1rem; }
.jst-favteam a, .jst-favteam__plain { display: inline-flex; align-items: center; gap: .65rem; color: var(--jst-parchment); font-family: var(--jst-font-display); font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.jst-favteam a:hover { color: var(--jst-gold-light); }
.jst-favteam .jst-rt-crest { width: 48px; height: 48px; font-size: .85rem; }
.jst-favteam__kicker { margin: 0 0 .5rem; color: var(--jst-gold); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.jst-favteam__list { display: grid; gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.jst-favteam__list a { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: .65rem; align-items: center; color: var(--jst-parchment); font-size: .92rem; line-height: 1.3; text-decoration: none; }
.jst-favteam__list a:hover { color: var(--jst-gold-light); }
.jst-favteam__thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #102016; }
.jst-favteam__thumb img, .jst-favteam__thumb .jst-placeholder { width: 100%; height: 100%; object-fit: cover; }
.jst-favteam__form { margin-top: .5rem; }
.jst-account__favteam .jst-favteam-field label { color: var(--jst-parchment); }
.jst-account__favteam .jst-favteam-field small { color: var(--jst-muted); }
.jst-foryou__crest { display: inline-block; margin-right: .55rem; vertical-align: middle; }
.jst-foryou__crest .jst-rt-crest { width: 38px; height: 38px; font-size: .7rem; }
.jst-foryou .jst-section__intro a { color: var(--jst-gold-light); font-weight: 700; }

/* ==========================================================================
   30. Account in 2×2 (2.20) and birthdays
   ========================================================================== */
.jst-account__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .jst-account__grid { grid-template-columns: minmax(0, 1fr); } }

.jst-bday-field { margin: 0 0 1rem; padding: 0; border: 0; }
.jst-bday-field legend { margin-bottom: .35rem; padding: 0; color: var(--jst-muted); font-size: .85rem; font-weight: 700; }
.jst-bday-field__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: .5rem; }
.jst-bday-field select { width: 100%; }
.jst-bday-field small { display: block; margin: .35rem 0 .5rem; color: var(--jst-muted); font-size: .8rem; }
.jst-bday-field .jst-auth__check { font-size: .85rem; }

/* "Χρόνια πολλά" message */
.jst-bday { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 1rem; background: rgba(4, 10, 6, .72); animation: jst-bday-in .35s var(--jst-ease); }
.jst-bday.is-closing { opacity: 0; transition: opacity .3s; }
@keyframes jst-bday-in { from { opacity: 0; } to { opacity: 1; } }
.jst-bday__card { position: relative; z-index: 1; width: min(100%, 440px); padding: 2rem 1.75rem 1.6rem; border: 1px solid var(--jst-gold); border-top-width: 4px; border-radius: 14px; text-align: center; background: var(--jst-texture), radial-gradient(circle at 50% 0%, #2c5838, #12271a 60%, #0a160f); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); animation: jst-bday-pop .55s var(--jst-ease); }
@keyframes jst-bday-pop { 0% { transform: scale(.85) translateY(20px); opacity: 0; } 70% { transform: scale(1.03); opacity: 1; } 100% { transform: none; } }
.jst-bday__emoji { margin: 0; font-size: 3rem; line-height: 1; }
.jst-bday__title { margin: .6rem 0 .4rem; font-family: var(--jst-font-display); font-size: clamp(1.7rem, 5vw, 2.2rem); font-weight: 800; line-height: 1.1; background: linear-gradient(180deg, #f6e5b4, var(--jst-gold) 60%, var(--jst-gold-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jst-bday__text { margin: 0 0 1rem; color: var(--jst-parchment); }
.jst-bday__gift { display: inline-block; margin: 0 0 1.1rem; padding: .45rem 1rem; border-radius: 999px; background: linear-gradient(180deg, var(--jst-gold-light), var(--jst-gold)); color: var(--jst-ink); font-weight: 800; }
.jst-bday__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.jst-bday__confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.jst-bday__confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; opacity: .9; animation: jst-confetti 3.2s linear infinite; }
.jst-bday__confetti i:nth-child(3n) { background: var(--jst-gold-light); }
.jst-bday__confetti i:nth-child(3n+1) { background: #3fa06a; }
.jst-bday__confetti i:nth-child(3n+2) { background: var(--jst-parchment); }
.jst-bday__confetti i:nth-child(1) { left: 41%; animation-delay: -700ms; animation-duration: 2.8s; }
.jst-bday__confetti i:nth-child(2) { left: 82%; animation-delay: -1400ms; animation-duration: 3.1s; }
.jst-bday__confetti i:nth-child(3) { left: 23%; animation-delay: -2100ms; animation-duration: 3.4s; }
.jst-bday__confetti i:nth-child(4) { left: 64%; animation-delay: -2800ms; animation-duration: 3.7s; }
.jst-bday__confetti i:nth-child(5) { left: 5%; animation-delay: -500ms; animation-duration: 4.0s; }
.jst-bday__confetti i:nth-child(6) { left: 46%; animation-delay: -1200ms; animation-duration: 4.3s; }
.jst-bday__confetti i:nth-child(7) { left: 87%; animation-delay: -1900ms; animation-duration: 2.6s; }
.jst-bday__confetti i:nth-child(8) { left: 28%; animation-delay: -2600ms; animation-duration: 2.9s; }
.jst-bday__confetti i:nth-child(9) { left: 69%; animation-delay: -300ms; animation-duration: 3.2s; }
.jst-bday__confetti i:nth-child(10) { left: 10%; animation-delay: -1000ms; animation-duration: 3.5s; }
.jst-bday__confetti i:nth-child(11) { left: 51%; animation-delay: -1700ms; animation-duration: 3.8s; }
.jst-bday__confetti i:nth-child(12) { left: 92%; animation-delay: -2400ms; animation-duration: 4.1s; }
.jst-bday__confetti i:nth-child(13) { left: 33%; animation-delay: -100ms; animation-duration: 4.4s; }
.jst-bday__confetti i:nth-child(14) { left: 74%; animation-delay: -800ms; animation-duration: 2.7s; }
.jst-bday__confetti i:nth-child(15) { left: 15%; animation-delay: -1500ms; animation-duration: 3.0s; }
.jst-bday__confetti i:nth-child(16) { left: 56%; animation-delay: -2200ms; animation-duration: 3.3s; }
.jst-bday__confetti i:nth-child(17) { left: 97%; animation-delay: -2900ms; animation-duration: 3.6s; }
.jst-bday__confetti i:nth-child(18) { left: 38%; animation-delay: -600ms; animation-duration: 3.9s; }
.jst-bday__confetti i:nth-child(19) { left: 79%; animation-delay: -1300ms; animation-duration: 4.2s; }
.jst-bday__confetti i:nth-child(20) { left: 20%; animation-delay: -2000ms; animation-duration: 2.5s; }
.jst-bday__confetti i:nth-child(21) { left: 61%; animation-delay: -2700ms; animation-duration: 2.8s; }
.jst-bday__confetti i:nth-child(22) { left: 2%; animation-delay: -400ms; animation-duration: 3.1s; }
.jst-bday__confetti i:nth-child(23) { left: 43%; animation-delay: -1100ms; animation-duration: 3.4s; }
.jst-bday__confetti i:nth-child(24) { left: 84%; animation-delay: -1800ms; animation-duration: 3.7s; }
@keyframes jst-confetti { 0% { transform: translateY(0) rotate(0); } 100% { transform: translateY(110vh) rotate(720deg); } }
@media (prefers-reduced-motion: reduce) { .jst-bday, .jst-bday__card, .jst-bday__confetti i { animation: none; } .jst-bday__confetti { display: none; } }
.jst-bday-field select { appearance: none; -webkit-appearance: none; padding-right: 2.2em; background-image: linear-gradient(45deg, transparent 50%, var(--jst-ink-soft) 50%), linear-gradient(135deg, var(--jst-ink-soft) 50%, transparent 50%); background-position: calc(100% - 1.1em) 52%, calc(100% - .75em) 52%; background-size: .35em .35em, .35em .35em; background-repeat: no-repeat; cursor: pointer; }
.jst-account__card .jst-auth__check { color: var(--jst-muted); }

/* Album: the enlarged card (first click), turned by a click on it */
.jst-alb-slot__card { cursor: zoom-in; }
.jst-alb-slot__card .jst-tcard__box { cursor: zoom-in; }
.jst-alb-zoom-open { overflow: hidden; }
.jst-alb-zoom { position: fixed; inset: 0; z-index: 350; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; justify-items: center; gap: .75rem; padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); background: rgba(4, 10, 6, .88); animation: jst-bday-in .25s var(--jst-ease); }
.jst-alb-zoom.is-closing { opacity: 0; transition: opacity .25s; }
.jst-alb-zoom__stage { display: grid; place-items: center; width: 100%; min-height: 0; }
.jst-alb-zoom__stage .jst-tcard { width: min(88vw, 420px, calc((100vh - 190px) * 5 / 7)); animation: jst-zoom-pop .35s var(--jst-ease); }
@keyframes jst-zoom-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.jst-alb-zoom.is-missing .jst-tcard__front { filter: grayscale(1) brightness(.7); }
.jst-alb-zoom__close { justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--jst-gold); border-radius: 50%; background: rgba(0, 0, 0, .4); color: var(--jst-gold-light); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.jst-alb-zoom__close:focus-visible { outline: 3px solid var(--jst-focus); outline-offset: 2px; }
.jst-alb-zoom__hint { margin: 0; color: var(--jst-muted); font-size: .85rem; }
.jst-alb-zoom__bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
@media (prefers-reduced-motion: reduce) { .jst-alb-zoom, .jst-alb-zoom__stage .jst-tcard { animation: none; } }

/* ==========================================================================
   31. Member card — a season ticket (2.22) — and the account layout
   ========================================================================== */
.jst-account__ticket { display: flex; justify-content: center; margin: 0 0 clamp(1.5rem, 4vw, 2.5rem); }
.jst-account__cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.jst-account__main, .jst-account__side { display: grid; gap: 1.5rem; min-width: 0; }
@media (max-width: 900px) { .jst-account__cols { grid-template-columns: minmax(0, 1fr); } }

.jst-ticket { --tk-bg: radial-gradient(circle at 18% 0%, #2f5a3c, #13271c 55%, #0b1710); --tk-ink: var(--jst-parchment); --tk-soft: var(--jst-muted); --tk-accent: var(--jst-gold-light); --tk-line: rgba(228, 199, 132, .35);
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(110px, 18%, 150px); width: min(100%, 780px); color: var(--tk-ink); filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .55)); }
.jst-ticket.is-gold { --tk-bg: linear-gradient(135deg, #f6e5b4, #c9a45c 35%, #f1dca0 55%, #a8843e 85%, #e4c784); --tk-ink: #1d1a12; --tk-soft: #4a4434; --tk-accent: #5c4512; --tk-line: rgba(29, 26, 18, .3); }
.jst-ticket__main, .jst-ticket__stub { position: relative; background: var(--jst-texture), var(--tk-bg); }
/* Rounded outer corners, and two half-circle notches where the stub tears off. */
.jst-ticket__main { padding: clamp(1rem, 3vw, 1.6rem) clamp(1rem, 3vw, 1.75rem); border-radius: 16px 0 0 16px;
	-webkit-mask: radial-gradient(circle 12px at 100% 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 12px at 100% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
	mask: radial-gradient(circle 12px at 100% 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 12px at 100% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
.jst-ticket__stub { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 1.1rem .6rem; border-radius: 0 16px 16px 0; border-left: 2px dashed var(--tk-line); text-align: center;
	-webkit-mask: radial-gradient(circle 12px at 0 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 12px at 0 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
	mask: radial-gradient(circle 12px at 0 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 12px at 0 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
.jst-ticket__top { display: flex; align-items: center; gap: .7rem; padding-bottom: .8rem; border-bottom: 1px solid var(--tk-line); }
.jst-ticket__logo { width: 46px; height: 46px; flex: none; }
.jst-ticket__brand { display: grid; margin: 0; line-height: 1.2; }
.jst-ticket__brand b { font-family: var(--jst-font-display); font-size: 1.05rem; letter-spacing: .08em; }
.jst-ticket__brand span { color: var(--tk-accent); font-size: .66rem; font-weight: 700; letter-spacing: .16em; }
.jst-ticket__season { margin: 0 0 0 auto; padding: .2em .7em; border: 1px solid var(--tk-line); border-radius: 999px; color: var(--tk-accent); font-size: .68rem; font-weight: 800; letter-spacing: .14em; white-space: nowrap; }
.jst-ticket__who { display: flex; align-items: center; gap: 1rem; margin: 1rem 0; }
.jst-ticket__photo { flex: none; display: grid; place-items: center; width: clamp(72px, 12vw, 96px); aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: rgba(0, 0, 0, .25); box-shadow: 0 0 0 3px var(--tk-accent), 0 6px 14px rgba(0, 0, 0, .4); }
.jst-ticket__photo img { width: 100%; height: 100%; object-fit: cover; }
.jst-ticket__photo > span { color: var(--tk-accent); font-family: var(--jst-font-display); font-size: 1.9rem; font-weight: 800; }
.jst-ticket__name { margin: 0; font-family: var(--jst-font-display); font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 800; line-height: 1.1; }
.jst-ticket__since { margin: .2rem 0 0; color: var(--tk-soft); font-size: .85rem; }
.jst-ticket__status { display: inline-flex; align-items: center; gap: .35rem; margin: .45rem 0 0; padding: .2em .7em; border-radius: 999px; background: rgba(0, 0, 0, .22); color: var(--tk-accent); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.jst-ticket.is-gold .jst-ticket__status { background: rgba(255, 255, 255, .35); }
.jst-ticket__status .jst-icon { width: 14px; height: 14px; }
.jst-ticket__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem 1rem; margin: 0; padding-top: .8rem; border-top: 1px solid var(--tk-line); }
.jst-ticket__facts div { min-width: 0; }
.jst-ticket__facts dt { color: var(--tk-soft); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.jst-ticket__facts dd { margin: .2rem 0 0; font-family: var(--jst-font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.2; overflow-wrap: anywhere; }
.jst-ticket__team { grid-column: span 2; }
.jst-ticket__team a { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; }
.jst-ticket__team a:hover { text-decoration: underline; }
.jst-ticket__team .jst-rt-crest { width: 28px; height: 28px; font-size: .55rem; }
.jst-ticket__label { margin: 0; color: var(--tk-soft); font-size: .6rem; font-weight: 800; letter-spacing: .14em; }
.jst-ticket__no { margin: 0; color: var(--tk-accent); font-family: var(--jst-font-display); font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; line-height: 1; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .06em; }
.jst-ticket__bars { display: flex; gap: 2px; width: 70%; height: 34px; margin: 0; }
.jst-ticket__bars i { display: block; flex-basis: 0; background: var(--tk-ink); opacity: .85; }
.jst-ticket__bars i:nth-child(3n) { opacity: 0; }
@media (max-width: 560px) {
	.jst-ticket { grid-template-columns: minmax(0, 1fr) 84px; }
	.jst-ticket__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jst-ticket__season { display: none; }
	.jst-ticket__bars { height: 26px; }
}

/* Photo field */
.jst-avatar-field { display: flex; align-items: center; gap: 1rem; }
.jst-avatar-field__preview { flex: none; display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: 50%; background: rgba(0, 0, 0, .25); box-shadow: 0 0 0 2px var(--jst-gold); }
.jst-avatar-field__preview img { width: 100%; height: 100%; object-fit: cover; }
.jst-avatar-field__preview > span { color: var(--jst-gold-light); font-family: var(--jst-font-display); font-size: 1.4rem; font-weight: 800; }
.jst-avatar-field__body { display: grid; gap: .3rem; min-width: 0; }
.jst-avatar-field input[type="file"] { min-height: 0; padding: .35rem; color: var(--jst-parchment); font-size: .85rem; background: rgba(0, 0, 0, .2); border-color: var(--jst-line); }
.jst-avatar-field small { color: var(--jst-muted); font-size: .78rem; }
.jst-ticket__facts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.jst-ticket__bars { flex: none; min-height: 26px; }
@media (max-width: 560px) {
	.jst-ticket__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jst-ticket__bars { width: 64%; }
}
/* Narrow stub: 30 bars with 2px gaps do not fit — fewer, thinner gaps. */
@media (max-width: 560px) {
	.jst-ticket__bars { gap: 1px; width: 72%; }
	.jst-ticket__bars i:nth-child(n+17) { display: none; }
}
.jst-ticket__stars { color: var(--tk-accent); letter-spacing: .05em; white-space: nowrap; }
.jst-loyal__stars { margin: 0; color: var(--jst-gold-light); font-size: 2rem; letter-spacing: .15em; line-height: 1; text-shadow: 0 2px 10px rgba(228, 199, 132, .45); }

/* Card page: share */
.jst-cardshare { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--jst-line); }
.jst-cardshare__title { margin: 0 0 .6rem; color: var(--jst-gold); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.jst-cardshare__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.jst-cardshare__row .jst-chip { cursor: pointer; font: inherit; font-size: .88rem; }
.jst-cardshare__row .jst-chip .jst-icon { width: 16px; height: 16px; margin-right: .3rem; }
.jst-cardshare__row .jst-chip:disabled { opacity: .6; cursor: progress; }
.jst-cardshare__hint { margin: .6rem 0 0; color: var(--jst-muted); font-size: .8rem; }

/* Link in bio (/links/) */
.jst-links__wrap { max-width: 640px; padding-top: 2rem; padding-bottom: 3rem; }
.jst-links__head { text-align: center; }
.jst-links__logo { display: block; }
.jst-links__logo img { display: inline-block; width: 88px; height: auto; border-radius: 50%; }
.jst-links__title { margin: .5rem 0 .3rem; font-size: clamp(1.6rem, 5vw, 2.1rem); }
.jst-links__intro { color: var(--jst-muted); }
.jst-links__intro p { margin: 0 auto; max-width: 30em; }
.jst-links__btns { display: grid; gap: .6rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.jst-links__btn { display: flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1rem; border: 1px solid var(--jst-line); border-radius: 999px; background: linear-gradient(180deg, var(--jst-surface-2), var(--jst-surface)); color: var(--jst-text); font-weight: 700; text-decoration: none; transition: border-color .2s, transform .2s; }
.jst-links__btn:hover, .jst-links__btn:focus-visible { border-color: var(--jst-gold); color: var(--jst-gold-light); transform: translateY(-1px); }
.jst-links__btn .jst-icon { width: 18px; height: 18px; color: var(--jst-gold); }
.jst-links__sub { margin: 2.2rem 0 .8rem; color: var(--jst-gold); font-family: var(--jst-font-body); font-size: .78rem; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.jst-links__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
.jst-links__grid a { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--jst-surface); }
.jst-links__grid img { display: block; width: 100%; max-width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .3s; }
.jst-links__grid a:hover img { transform: scale(1.04); opacity: .9; }
.jst-links__noimg { display: flex; align-items: center; height: 100%; padding: .6rem; color: var(--jst-text); font-size: .8rem; }

/* Hero autoplay: pause button and the active dot filling up until the next slide */
.jst-hero__pause i { position: relative; width: 12px; height: 12px; }
.jst-hero__pause i::before, .jst-hero__pause i::after { content: ""; position: absolute; top: 0; width: 4px; height: 12px; border-radius: 1px; background: currentColor; }
.jst-hero__pause i::before { left: 1px; }
.jst-hero__pause i::after { right: 1px; }
.jst-hero__pause.is-paused i::before { left: 2px; width: 0; height: 0; border-radius: 0; background: none; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.jst-hero__pause.is-paused i::after { display: none; }
.jst-hero__dot { position: relative; }
.jst-hero.is-playing.is-tick .jst-hero__dot[aria-current="true"]::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: conic-gradient(var(--jst-gold) calc(var(--jst-p, 0) * 1%), transparent 0); -webkit-mask: radial-gradient(circle, transparent 7px, #000 7.5px); mask: radial-gradient(circle, transparent 7px, #000 7.5px); animation: jst-hero-progress var(--jst-hero-delay, 7s) linear forwards; }
@property --jst-p { syntax: "<number>"; inherits: false; initial-value: 0; }
@keyframes jst-hero-progress { from { --jst-p: 0; } to { --jst-p: 100; } }

/* Drawer: space between the account button and the social icons (".jst-social { margin: 0 }" above cancelled it). */
.jst-drawer .jst-drawer__account { display: flex; margin: 1.25rem 0 0; }
.jst-drawer .jst-social--drawer { margin-top: 1.1rem; padding-bottom: 1.5rem; }
