:root {
	--tt-bg: #fff7e8;
	--tt-panel: #ffffff;
	--tt-text: #231f20;
	--tt-muted: #6e6570;
	--tt-red: #e83f3a;
	--tt-gold: #f5b83d;
	--tt-teal: #19b7a8;
	--tt-line: rgba(35, 31, 32, 0.14);
}

body {
	margin: 0;
	background: var(--tt-bg);
	color: var(--tt-text);
	font-family: "Nunito", Arial, sans-serif;
}

body.admin-bar .tt-nav {
	top: 32px;
}

.tt-home {
	min-height: 100vh;
	background: var(--tt-bg);
	overflow: hidden;
}

.tt-stream-hero {
	position: relative;
	min-height: 100vh;
	padding: 0 clamp(1rem, 4vw, 4.5rem);
	background-image:
		linear-gradient(90deg, rgba(255, 247, 232, 0.98) 0%, rgba(255, 247, 232, 0.92) 28%, rgba(255, 247, 232, 0.42) 62%, rgba(255, 247, 232, 0.62) 100%),
		linear-gradient(180deg, rgba(255, 247, 232, 0.48) 0%, rgba(255, 247, 232, 0.08) 42%, #fff7e8 100%),
		var(--hero-image);
	background-position: center;
	background-size: cover;
}

.tt-nav {
	position: sticky;
	top: 0;
	z-index: 30;
	display: grid;
	grid-template-columns: auto auto minmax(18rem, 1fr) auto;
	align-items: center;
	gap: clamp(0.8rem, 2vw, 2rem);
	padding: 1.35rem 0;
	background: linear-gradient(180deg, rgba(255, 247, 232, 0.96), rgba(255, 247, 232, 0));
}

.tt-brand,
.tt-menu,
.tt-menu a,
.tt-subscribe,
.tt-tool,
.tt-login,
.tt-primary,
.tt-secondary,
.tt-round,
.tt-hero-thumb,
.tt-category,
.tt-social a {
	color: inherit;
	text-decoration: none;
}

.tt-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--tt-red);
	font-family: "Baloo 2", "Nunito", sans-serif;
	font-size: clamp(1.35rem, 2.3vw, 2rem);
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.tt-brand img {
	max-height: 3.2rem;
	width: auto;
}

.tt-brand-mark {
	display: grid;
	width: 2.7rem;
	height: 2.7rem;
	place-items: center;
	border-radius: 0.45rem;
	background: var(--tt-red);
	color: #fff;
	font-size: 1.45rem;
	transform: skew(-10deg);
}

.tt-subscribe {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 2.85rem;
	padding: 0 1rem;
	border-radius: 0.28rem;
	background: #ffe2a3;
	color: #5b3c00;
	font-weight: 900;
	white-space: nowrap;
}

.tt-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1.1rem, 2.4vw, 2.6rem);
	color: #30292d;
	font-size: 1rem;
	font-weight: 900;
}

.tt-menu a:first-child,
.tt-menu a:hover,
.tt-menu .current-menu-item a {
	color: var(--tt-red);
}

.tt-nav-tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.8rem;
}

.tt-tool,
.tt-login {
	display: inline-grid;
	min-width: 2.65rem;
	height: 2.65rem;
	place-items: center;
	border-radius: 0.35rem;
	font-weight: 900;
}

.tt-tool {
	border: 1px solid rgba(35, 31, 32, 0.24);
	background: rgba(255, 255, 255, 0.72);
	font-size: 1.15rem;
}

.tt-login {
	padding: 0 1rem;
	background: var(--tt-red);
	box-shadow: 0 16px 34px rgba(228, 49, 43, 0.24);
}

.tt-social {
	position: absolute;
	top: 50%;
	left: 1.1rem;
	z-index: 12;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	transform: translateY(-50%);
}

.tt-social a {
	display: grid;
	width: 2.3rem;
	height: 2.3rem;
	place-items: center;
	border: 1px solid var(--tt-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.72);
	font-size: 0.74rem;
	font-weight: 1000;
	text-transform: uppercase;
}

.tt-settings-float {
	position: absolute;
	right: 0.8rem;
	top: 47%;
	z-index: 12;
	display: grid;
	width: 4.2rem;
	height: 4.2rem;
	place-items: center;
	border-radius: 0.45rem;
	background: rgba(255, 255, 255, 0.9);
	color: var(--tt-red);
	font-size: 1.45rem;
}

.tt-hero-content {
	position: relative;
	z-index: 5;
	width: min(48rem, 100%);
	padding-top: clamp(6rem, 15vh, 11rem);
	padding-bottom: 12rem;
}

.tt-tags,
.tt-cast-line,
.tt-meta-row,
.tt-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.9rem;
}

.tt-tags span {
	border-bottom: 2px solid rgba(35, 31, 32, 0.72);
	font-weight: 900;
}

.tt-hero-content h1 {
	max-width: 12ch;
	margin: 1.1rem 0 1rem;
	font-size: clamp(3.5rem, 7vw, 6.5rem);
	font-weight: 1000;
	line-height: 0.98;
	letter-spacing: 0;
}

.tt-hero-content p {
	max-width: 47rem;
	margin: 0;
	color: #4f4650;
	font-size: clamp(1.05rem, 1.6vw, 1.35rem);
	font-weight: 800;
	line-height: 1.55;
}

.tt-cast-line {
	margin-top: 1.7rem;
	color: var(--tt-muted);
	font-weight: 900;
}

.tt-cast-line a {
	color: #171315;
	text-decoration: underline;
	text-underline-offset: 0.25rem;
}

.tt-meta-row {
	margin-top: 1rem;
	color: #352f34;
	font-weight: 900;
}

.tt-rating,
.tt-imdb {
	display: inline-flex;
	align-items: center;
	min-height: 2rem;
	padding: 0 0.6rem;
	border-radius: 0.25rem;
}

.tt-rating {
	background: #ffffff;
	box-shadow: 0 10px 28px rgba(35, 31, 32, 0.08);
}

.tt-imdb {
	background: #f6c532;
	color: #111;
}

.tt-hero-actions {
	margin-top: 2.3rem;
}

.tt-primary,
.tt-secondary,
.tt-round {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 4.6rem;
	font-size: 1rem;
	font-weight: 1000;
}

.tt-primary,
.tt-secondary {
	gap: 0.6rem;
	border-radius: 0.35rem;
	padding: 0 2rem;
}

.tt-primary {
	min-width: 15rem;
	background: var(--tt-red);
	box-shadow: 0 20px 44px rgba(228, 49, 43, 0.28);
}

.tt-secondary {
	min-width: 12rem;
	background: rgba(255, 255, 255, 0.92);
	color: #231f20;
}

.tt-round {
	width: 4.6rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	color: #231f20;
	font-size: 1.45rem;
}

.tt-hero-rail-wrap {
	position: absolute;
	right: clamp(1rem, 4vw, 4.5rem);
	bottom: clamp(2rem, 5vh, 4.5rem);
	left: min(41rem, 43vw);
	z-index: 8;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.9rem;
}

.tt-hero-rail {
	display: grid;
	grid-auto-columns: minmax(12rem, 17rem);
	grid-auto-flow: column;
	gap: 0.9rem;
	overflow-x: auto;
	padding: 0.25rem;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.tt-hero-rail::-webkit-scrollbar {
	display: none;
}

.tt-hero-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 0.55rem;
	background: #191b1f;
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
}

.tt-hero-thumb.is-active,
.tt-hero-thumb:hover {
	border-color: #fff;
}

.tt-hero-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(1.1);
}

.tt-hero-thumb span {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 1.4rem 0.7rem 0.6rem;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.82));
	font-size: 0.8rem;
	font-weight: 900;
}

.tt-rail-arrow {
	display: grid;
	width: 2.8rem;
	height: 2.8rem;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.82);
	color: #231f20;
	font-size: 2.6rem;
	line-height: 1;
	cursor: pointer;
}

.tt-eyebrow {
	margin: 0 0 0.75rem;
	color: var(--tt-red);
	font-size: 0.82rem;
	font-weight: 1000;
	letter-spacing: 0;
	text-transform: uppercase;
}

.tt-categories,
.tt-parent-band {
	padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 4.5rem);
}

.tt-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.4rem;
}

.tt-section-head h2,
.tt-parent-band h2 {
	margin: 0;
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1;
	letter-spacing: 0;
}

.tt-category-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.9rem;
}

.tt-category {
	display: flex;
	min-height: 8.5rem;
	flex-direction: column;
	justify-content: space-between;
	padding: 1rem;
	border: 1px solid var(--tt-line);
	border-radius: 0.55rem;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(25, 183, 168, 0.12));
	box-shadow: 0 16px 34px rgba(35, 31, 32, 0.06);
}

.tt-category span {
	color: var(--tt-muted);
	font-size: 0.85rem;
	font-weight: 1000;
}

.tt-category strong {
	font-size: 1.35rem;
	line-height: 1.1;
}

.tt-parent-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.65fr);
	gap: 2rem;
	margin: 0 clamp(1rem, 4vw, 4.5rem) clamp(2rem, 5vw, 4rem);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 0.7rem;
	background: linear-gradient(135deg, rgba(255, 226, 163, 0.8), rgba(25, 183, 168, 0.16)), rgba(255, 255, 255, 0.88);
}

.tt-parent-points p {
	margin: 0 0 1.2rem;
	color: var(--tt-muted);
	font-size: 1.08rem;
	line-height: 1.55;
}

.tt-footer {
	padding: 1.5rem clamp(1rem, 4vw, 4.5rem) 2.5rem;
	color: var(--tt-muted);
	text-align: center;
}

.tt-footer p {
	margin: 0;
}

.tt-page {
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 4.5rem);
}

.tt-page-content {
	max-width: 58rem;
	margin: 0 auto;
}

.tt-entry {
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid var(--tt-line);
	border-radius: 0.7rem;
	background: rgba(255, 255, 255, 0.06);
}

.tt-entry h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.2rem, 6vw, 4rem);
	line-height: 1;
}

.tt-entry-content {
	color: var(--tt-muted);
	font-size: 1.05rem;
	line-height: 1.7;
}

.tt-story-page {
	min-height: 100vh;
	background:
		radial-gradient(circle at 12% 4%, rgba(245, 184, 61, 0.26), transparent 24rem),
		radial-gradient(circle at 88% 0%, rgba(25, 183, 168, 0.18), transparent 24rem),
		#fff7e8;
	color: #231f20;
}

.tt-story-topbar {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem clamp(1rem, 4vw, 3rem);
	background: rgba(255, 247, 232, 0.9);
	border-bottom: 1px solid rgba(35, 31, 32, 0.1);
	backdrop-filter: blur(18px);
}

.tt-story-brand,
.tt-story-back {
	display: inline-flex;
	align-items: center;
	color: inherit;
	text-decoration: none;
	font-weight: 1000;
}

.tt-story-brand {
	gap: 0.55rem;
	color: var(--tt-red);
}

.tt-story-back {
	min-height: 2.4rem;
	padding: 0 0.9rem;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(35, 31, 32, 0.08);
	font-size: 0.92rem;
}

.tt-story-reader {
	max-width: 78rem;
	margin: 0 auto;
	padding: clamp(1rem, 4vw, 3rem);
}

.tt-story-cover {
	max-width: 58rem;
	margin: 0 auto clamp(1.25rem, 4vw, 2.5rem);
	overflow: hidden;
	border-radius: 0.9rem;
	box-shadow: 0 24px 60px rgba(35, 31, 32, 0.14);
}

.tt-story-cover img {
	display: block;
	width: 100%;
	max-height: 34rem;
	object-fit: cover;
}

.tt-story-shell {
	max-width: 48rem;
	margin: 0 auto;
	padding: clamp(1.25rem, 4vw, 3.5rem);
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 20px 60px rgba(35, 31, 32, 0.08);
}

.tt-story-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	color: var(--tt-muted);
	font-size: 0.9rem;
	font-weight: 900;
}

.tt-story-meta span {
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	background: #fff3cf;
}

.tt-story-shell h1 {
	margin: 1rem 0 1.25rem;
	font-family: "Baloo 2", "Nunito", sans-serif;
	font-size: clamp(2.5rem, 7vw, 5rem);
	line-height: 0.98;
	letter-spacing: 0;
}

.tt-story-content {
	color: #352f34;
	font-size: clamp(1.14rem, 2vw, 1.34rem);
	line-height: 1.9;
}

.tt-story-content p {
	margin: 0 0 1.35rem;
}

.tt-story-content img {
	max-width: 100%;
	height: auto;
	border-radius: 0.7rem;
}

.tt-story-rating {
	margin-top: 2.2rem;
	padding-top: 1.4rem;
	border-top: 1px solid rgba(35, 31, 32, 0.12);
}

.tt-story-rating h2 {
	margin: 0 0 0.7rem;
	font-size: 1.15rem;
}

.tt-stars {
	display: flex;
	gap: 0.35rem;
}

.tt-stars button {
	width: 2.8rem;
	height: 2.8rem;
	border: 0;
	border-radius: 50%;
	background: #fff3cf;
	color: #b8a06a;
	font-size: 1.35rem;
	cursor: pointer;
}

.tt-stars button.is-selected,
.tt-stars button:hover {
	background: var(--tt-gold);
	color: #231f20;
}

.tt-story-rating p {
	margin: 0.75rem 0 0;
	color: var(--tt-muted);
	font-weight: 800;
}

@media (max-width: 1120px) {
	.tt-nav {
		grid-template-columns: auto auto 1fr;
	}

	.tt-menu {
		display: none;
	}

	.tt-hero-rail-wrap {
		left: clamp(1rem, 4vw, 4.5rem);
	}
}

@media (max-width: 780px) {
	body.admin-bar .tt-nav {
		top: 46px;
	}

	.tt-stream-hero {
		min-height: auto;
		padding-bottom: 2rem;
	}

	.tt-nav {
		grid-template-columns: 1fr auto;
		padding-top: 0.8rem;
	}

	.tt-subscribe,
	.tt-tool,
	.tt-social,
	.tt-settings-float {
		display: none;
	}

	.tt-login {
		min-width: 4.8rem;
		height: 2.4rem;
		padding: 0 0.8rem;
	}

	.tt-hero-content {
		padding-top: 4rem;
		padding-bottom: 2rem;
	}

	.tt-hero-content h1 {
		font-size: clamp(3.1rem, 18vw, 5rem);
	}

	.tt-primary,
	.tt-secondary,
	.tt-round {
		min-height: 3.5rem;
	}

	.tt-primary,
	.tt-secondary {
		min-width: auto;
		padding: 0 1rem;
	}

	.tt-round {
		width: 3.5rem;
	}

	.tt-hero-rail-wrap {
		position: relative;
		right: auto;
		bottom: auto;
		left: auto;
		margin-top: 1rem;
	}

	.tt-category-grid,
	.tt-parent-band {
		grid-template-columns: 1fr;
	}
}
