/*
Theme Name: Newsmag-cuongphimhd - Cuồng Phim HD
Theme URI: https://cuongphimhd.com
Description: Giao diện Tuần Phim - Báo chí điện ảnh nghệ thuật (Editorial Cinema), bóng đổ khối sắc nét, chuẩn 8K cho cuongphimhd.com.
Author: Cuồng Phim HD
Template: Newsmag
Version: 2.3.1
Text Domain: phimhay8k
*/

@charset "UTF-8";

/* ==========================================================================
   1. DESIGN TOKENS & ANTI-OVERFLOW ROOT GUARD
   ========================================================================== */

:root {
	color-scheme: dark;
	--tp-bg: #0e1116;
	--tp-paper: #e8ecf2;
	--tp-paper-sub: #c3cad6;
	--tp-accent: #c8f04a;
	--tp-accent-hover: #d9fa69;
	--tp-surface: #141820;
	--tp-surface-hover: #1a1f27;
	--tp-border: #e8ecf2;
	--tp-border-subtle: rgba(232, 236, 242, 0.2);
	--tp-border-faint: rgba(232, 236, 242, 0.08);

	--tp-ink: #e8ecf2;
	--tp-ink-sub: #8b95a5;
	--tp-ink-faint: #6b7585;
	--tp-room: #07090d;

	--tp-font-serif: 'Newsreader', Georgia, serif;
	--tp-font-sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;
	--tp-font-mono: 'JetBrains Mono', monospace;

	--tp-max-width: 1320px;
}

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	width: 100%;
	max-width: 100vw;
	overflow-x: hidden;
	scroll-behavior: smooth;
	background: var(--tp-bg);
}

body {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 100vw;
	overflow-x: hidden;
	position: relative;
	background: var(--tp-bg);
	color: var(--tp-ink);
	font-family: var(--tp-font-sans);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Force global editorial typography */
html, body, p, a, span, button, input, select, textarea,
.td-header-wrap, .td-main-content-wrap, .td-footer-wrapper,
.entry-title, .td-module-title, .tp-site {
	font-family: var(--tp-font-sans);
}

h1, h2, h3, h4, h5, h6,
.tp-serif, .tp-masthead-title, .tp-section-heading, .tp-hero-headline, .tp-single-title {
	font-family: var(--tp-font-serif);
	font-weight: 500;
}

.tp-mono {
	font-family: var(--tp-font-mono);
}

.tp-sans {
	font-family: var(--tp-font-sans);
}

a {
	color: var(--tp-accent);
	text-decoration: underline;
	transition: color 0.15s ease, background 0.15s ease;
}

a:hover {
	color: var(--tp-paper);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

button, input, select, textarea {
	font-family: inherit;
}

/* Base Container Rules (Never allow exceeding screen) */
.tp-header,
.tp-home-main,
.tp-single-main,
.tp-catalog-main,
.tp-footer,
.tp-section,
.tp-cinema-room {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* ==========================================================================
   2. HEADER & EDITORIAL MASTHEAD
   ========================================================================== */

.tp-header {
	max-width: var(--tp-max-width);
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 40px);
}

/* Top Meta Bar (Date, Issue, Actions) */
.tp-top-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 52px;
	border-bottom: 1px solid var(--tp-border);
	font: 500 12px var(--tp-font-mono);
	letter-spacing: 0.02em;
	width: 100%;
}

.tp-date-line {
	white-space: nowrap;
	text-transform: uppercase;
}

.tp-date-short {
	display: none;
}

.tp-issue-line {
	color: var(--tp-ink-sub);
	white-space: nowrap;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tp-top-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

/* Desktop Search Bar */
.tp-search-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	border-bottom: 1px solid var(--tp-border);
	padding: 6px 0;
	width: 190px;
}
.tp-search-bar input {
	flex: 1;
	min-width: 0;
	background: transparent;
	border: 0;
	outline: 0;
	color: var(--tp-paper);
	font: 500 12.5px var(--tp-font-mono);
}
.tp-search-bar input::placeholder {
	color: var(--tp-ink-faint);
}

/* Mobile Search Icon Toggle */
.tp-search-toggle-mobile {
	display: none;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid var(--tp-border-subtle);
	color: var(--tp-paper);
	cursor: pointer;
	padding: 0;
}
.tp-search-toggle-mobile.is-active {
	background: #1a1f27;
	border-color: var(--tp-border);
}

/* Mobile Dropdown Search Row */
.tp-mobile-search-row {
	display: none;
	align-items: center;
	gap: 10px;
	border-bottom: 1px solid var(--tp-border);
	height: 52px;
	width: 100%;
}
.tp-mobile-search-row.is-open {
	display: flex;
}
.tp-mobile-search-form {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}
.tp-mobile-search-form input {
	flex: 1;
	min-width: 0;
	background: transparent;
	border: 0;
	outline: 0;
	color: var(--tp-paper);
	font: 500 15px var(--tp-font-mono);
}
.tp-mobile-search-form input::placeholder {
	color: var(--tp-ink-faint);
}

/* Persistent "Tải app phim" Button */
.tp-nav-app {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	background: var(--tp-paper);
	color: #0e1116 !important;
	font: 600 12px var(--tp-font-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s ease;
	border: none;
	cursor: pointer;
}
.tp-nav-app:hover {
	background: var(--tp-accent);
	color: #0e1116 !important;
}

/* Editorial Masthead */
.tp-masthead {
	display: block;
	text-align: center;
	padding: clamp(18px, 3vw, 30px) 0 clamp(14px, 2vw, 22px);
	cursor: pointer;
	text-decoration: none;
}
.tp-masthead-title {
	font-family: var(--tp-font-serif);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(50px, 9vw, 108px);
	line-height: 0.9;
	letter-spacing: -0.035em;
	color: var(--tp-paper);
	margin: 0;
}
.tp-masthead-sub {
	margin-top: 12px;
	font: 500 11px var(--tp-font-mono);
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--tp-ink-sub);
}

/* Double Border Navigation Bar */
.tp-nav-bar {
	display: flex;
	justify-content: center;
	gap: clamp(20px, 3.5vw, 44px);
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	border-top: 1px solid var(--tp-border);
	border-bottom: 3px double var(--tp-border);
	padding: 0 4px;
	width: 100%;
}
.tp-nav-bar::-webkit-scrollbar {
	display: none;
}
.tp-nav-link {
	padding: 15px 0 13px;
	font: 600 13px var(--tp-font-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--tp-paper);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
	flex-shrink: 0;
}
.tp-nav-link:hover {
	color: var(--tp-accent);
}
.tp-nav-link.is-active {
	color: var(--tp-accent);
	border-bottom: 2px solid var(--tp-accent);
}

/* ==========================================================================
   3. TRANG CHỦ - HERO BILLBOARD (TÂM ĐIỂM SHOWCASE)
   ========================================================================== */

.tp-hero-slider-section {
	max-width: var(--tp-max-width);
	margin: 0 auto;
	padding: clamp(28px, 4vw, 52px) clamp(16px, 4vw, 40px) 0;
	width: 100%;
}

.tp-hero-showcase {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(24px, 3.5vw, 48px);
	align-items: stretch;
	width: 100%;
	min-width: 0;
}

/* Left Poster Column */
.tp-hero-poster-col {
	flex: 0 0 clamp(220px, 24vw, 320px);
	aspect-ratio: 2 / 3;
	align-self: flex-start;
	position: relative;
	overflow: hidden;
	background: var(--tp-surface);
	border: 1px solid var(--tp-border);
	box-shadow: 10px 10px 0 var(--tp-accent);
	display: block;
	text-decoration: none;
}
.tp-hero-poster-col img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Center Details Column */
.tp-hero-details-col {
	flex: 1 1 360px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	justify-content: center;
	width: 100%;
}

.tp-hero-kicker {
	font: 600 12px var(--tp-font-mono);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tp-accent);
}

.tp-hero-headline {
	margin: 0;
	font-family: var(--tp-font-serif);
	font-weight: 500;
	font-size: clamp(38px, 6.5vw, 94px);
	line-height: 0.94;
	letter-spacing: -0.025em;
	overflow-wrap: break-word;
	word-break: break-word;
}
.tp-hero-headline a {
	color: var(--tp-paper);
	text-decoration: none;
}
.tp-hero-headline a:hover {
	color: var(--tp-accent);
}

.tp-hero-subtitle {
	font-family: var(--tp-font-serif);
	font-style: italic;
	font-size: 21px;
	color: var(--tp-ink-sub);
}

.tp-hero-desc {
	margin: 0;
	max-width: 540px;
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--tp-paper-sub);
	word-break: break-word;
}

.tp-hero-stats {
	display: flex;
	gap: 10px 18px;
	flex-wrap: wrap;
	font: 600 12px var(--tp-font-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tp-paper);
}
.tp-hero-stats .is-score {
	color: var(--tp-accent);
	font-weight: 700;
}

.tp-hero-btns {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 6px;
}

.tp-btn-solid {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 26px;
	background: var(--tp-paper);
	color: #0e1116 !important;
	font: 700 13px var(--tp-font-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.15s ease;
	border: none;
	cursor: pointer;
}
.tp-btn-solid:hover {
	background: var(--tp-accent);
}

.tp-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 24px;
	border: 1.5px solid var(--tp-border);
	box-sizing: border-box;
	font: 700 13px var(--tp-font-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--tp-paper) !important;
	text-decoration: none;
	background: transparent;
	transition: background 0.15s ease;
	cursor: pointer;
}
.tp-btn-outline:hover {
	background: var(--tp-surface-hover);
}

/* Right "Mục lục tuần này" (05 phim) */
.tp-hero-index-col {
	flex: 1 1 300px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	border-top: 3px solid var(--tp-border);
	width: 100%;
}

.tp-hero-index-head {
	display: flex;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid var(--tp-border);
	font: 600 11px var(--tp-font-mono);
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.tp-hero-index-item {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 14px 10px;
	min-height: 44px;
	border-bottom: 1px solid rgba(232, 236, 242, 0.18);
	cursor: pointer;
	transition: background 0.15s ease;
	width: 100%;
	min-width: 0;
}
.tp-hero-index-item:hover,
.tp-hero-index-item.is-active {
	background: #1a1f27;
}

.tp-hero-index-num {
	font-family: var(--tp-font-serif);
	font-style: italic;
	font-size: 30px;
	line-height: 1;
	width: 40px;
	flex-shrink: 0;
	color: #5d6776;
}
.tp-hero-index-item.is-active .tp-hero-index-num {
	color: var(--tp-accent);
}

.tp-hero-index-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	flex: 1;
	overflow: hidden;
}

.tp-hero-index-title {
	font-family: var(--tp-font-serif);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.45;
	padding-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--tp-paper);
}

.tp-hero-index-meta {
	font: 500 11px var(--tp-font-mono);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tp-ink-sub);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ==========================================================================
   4. PAPERCARD COMPONENT (EDITORIAL POSTER BLOCK)
   ========================================================================== */

.tp-paper-card {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	width: 100%;
	transition: transform 0.2s ease;
	font-family: var(--tp-font-sans);
	color: var(--tp-paper);
	text-decoration: none;
}
.tp-paper-card:hover {
	transform: translate(-3px, -3px);
}

.tp-card-poster {
	position: relative;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: var(--tp-surface);
	border: 1px solid var(--tp-border);
	box-shadow: 5px 5px 0 var(--tp-border);
	width: 100%;
}
.tp-card-poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Badges on Poster */
.tp-badge-top-left {
	position: absolute;
	top: 8px;
	left: 8px;
	font: 500 10.5px/1 var(--tp-font-mono);
	letter-spacing: 0.04em;
	background: #0e1116;
	border: 1px solid var(--tp-border);
	padding: 4px 6px;
	color: var(--tp-paper);
}

.tp-badge-top-right {
	position: absolute;
	top: 8px;
	right: 8px;
	font: 600 10px/1 var(--tp-font-mono);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: var(--tp-paper);
	color: #0e1116;
	padding: 5px 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 60%;
}

.tp-badge-bottom {
	position: absolute;
	left: 8px;
	bottom: 8px;
	font: 600 9.5px/1 var(--tp-font-mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: #0e1116;
	padding: 5px 6px;
	border: 1px solid var(--tp-border);
	color: var(--tp-paper);
	max-width: 85%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Info Below Poster */
.tp-card-info {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	padding-top: 2px;
	width: 100%;
}

.tp-card-title {
	font-family: var(--tp-font-serif);
	font-size: clamp(16px, 1.8vw, 19px);
	font-weight: 600;
	line-height: 1.45;
	padding-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--tp-paper);
}

.tp-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	font: 500 11px/1.3 var(--tp-font-mono);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	width: 100%;
}

.tp-card-tag {
	color: var(--tp-ink-sub);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tp-card-score {
	font-weight: 700;
	color: var(--tp-accent);
	flex-shrink: 0;
}

/* ==========================================================================
   5. SECTIONS (§ 01 - § 09)
   ========================================================================== */

.tp-section {
	max-width: var(--tp-max-width);
	margin: 0 auto;
	padding: clamp(40px, 5.5vw, 76px) clamp(16px, 4vw, 40px) 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

.tp-section-header {
	display: flex;
	align-items: baseline;
	gap: 8px 16px;
	flex-wrap: wrap;
	border-top: 3px solid var(--tp-border);
	padding-top: 14px;
	width: 100%;
}

.tp-section-num {
	font: 600 12px var(--tp-font-mono);
	color: var(--tp-accent);
}

.tp-section-heading {
	margin: 0;
	font-family: var(--tp-font-serif);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--tp-paper);
}

.tp-section-more {
	margin-left: auto;
	font: 600 12px var(--tp-font-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--tp-border);
	padding-bottom: 2px;
	white-space: nowrap;
	color: var(--tp-paper);
	text-decoration: none;
}
.tp-section-more:hover {
	color: var(--tp-accent);
	border-color: var(--tp-accent);
}

/* Horizontal Carousels (§ 01, § 05, § 06, § 07, § 08) */
.tp-carousel-row {
	display: flex;
	gap: clamp(16px, 2vw, 26px);
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 0 8px 14px 0;
	width: 100%;
	max-width: 100%;
}
.tp-carousel-row::-webkit-scrollbar {
	display: none;
}

.tp-carousel-item {
	flex: 0 0 clamp(150px, 40vw, 200px);
	min-width: 0;
	max-width: 80vw;
}

/* § 02: Lịch chiếu tối nay */
.tp-schedule-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	border-top: 1px solid var(--tp-border);
	border-left: 1px solid var(--tp-border);
	width: 100%;
}

.tp-schedule-card {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px;
	border-right: 1px solid var(--tp-border);
	border-bottom: 1px solid var(--tp-border);
	text-decoration: none;
	color: inherit;
	transition: background 0.15s ease;
}
.tp-schedule-card:hover {
	background: #1a1f27;
}

.tp-schedule-time-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.tp-schedule-time {
	font: 700 22px var(--tp-font-mono);
	color: var(--tp-accent);
}

.tp-schedule-country {
	font: 600 10.5px var(--tp-font-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1px solid var(--tp-border);
	padding: 4px 7px;
	color: var(--tp-paper);
}

.tp-schedule-title {
	font-family: var(--tp-font-serif);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--tp-paper);
}

.tp-schedule-sub {
	font: 500 11.5px var(--tp-font-mono);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tp-ink-sub);
}

/* § 03: Bảng xếp hạng tuần (Top 10) */
.tp-top10-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 48px;
	width: 100%;
}

.tp-top10-item {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 6px;
	border-bottom: 1px solid rgba(232, 236, 242, 0.2);
	text-decoration: none;
	color: inherit;
	transition: background 0.15s ease;
	width: 100%;
	min-width: 0;
}
.tp-top10-item:hover {
	background: #1a1f27;
}

.tp-top10-rank {
	font-family: var(--tp-font-serif);
	font-size: 42px;
	font-weight: 500;
	line-height: 1;
	width: 48px;
	flex-shrink: 0;
	color: var(--tp-paper);
}
.tp-top10-item:nth-child(-n+3) .tp-top10-rank {
	color: var(--tp-accent);
}

.tp-top10-thumb {
	flex: 0 0 46px;
	aspect-ratio: 2 / 3;
	position: relative;
	overflow: hidden;
	background: var(--tp-surface);
	border: 1px solid var(--tp-border);
}
.tp-top10-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tp-top10-info {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	flex: 1;
	overflow: hidden;
}

.tp-top10-title {
	font-family: var(--tp-font-serif);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.45;
	padding-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--tp-paper);
}

.tp-top10-meta {
	font: 500 11px var(--tp-font-mono);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tp-ink-sub);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tp-top10-score {
	font: 700 13px var(--tp-font-mono);
	flex-shrink: 0;
	color: var(--tp-accent);
}

/* § 04: Phim lẻ đáng xem (Lưới thẻ phim) */
.tp-movie-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(160px, 40vw), 1fr));
	gap: clamp(28px, 3.5vw, 40px) clamp(16px, 2vw, 26px);
	width: 100%;
}

/* § 09: Duyệt theo thể loại (Genre Tiles) */
.tp-genre-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr));
	border-top: 1px solid var(--tp-border);
	border-left: 1px solid var(--tp-border);
	width: 100%;
}

.tp-genre-tile {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
	min-height: 112px;
	padding: 16px;
	border-right: 1px solid var(--tp-border);
	border-bottom: 1px solid var(--tp-border);
	box-sizing: border-box;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s ease, color 0.15s ease;
}
.tp-genre-tile:hover {
	background: var(--tp-accent);
	color: #0e1116;
}

.tp-genre-tile-count {
	font: 500 11px var(--tp-font-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.7;
}

.tp-genre-tile-title {
	font-family: var(--tp-font-serif);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(22px, 2.6vw, 30px);
	line-height: 1.15;
}

/* ==========================================================================
   6. TRANG CHI TIẾT & PHÒNG CHIẾU (SINGLE MOVIE)
   ========================================================================== */

.tp-single-main {
	max-width: var(--tp-max-width);
	margin: 0 auto;
	padding: clamp(20px, 3vw, 32px) clamp(16px, 4vw, 40px) 0;
	width: 100%;
}

.tp-breadcrumbs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	font: 500 12px var(--tp-font-mono);
	color: var(--tp-ink-sub);
	width: 100%;
}
.tp-breadcrumbs a {
	color: var(--tp-ink-sub);
	text-decoration: none;
}
.tp-breadcrumbs a:hover {
	color: var(--tp-paper);
}

.tp-single-showcase {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(24px, 4vw, 56px);
	margin-top: clamp(18px, 2.5vw, 28px);
	align-items: flex-start;
	width: 100%;
	min-width: 0;
}

.tp-single-poster-wrap {
	flex: 0 0 clamp(160px, 30vw, 340px);
	aspect-ratio: 2 / 3;
	position: relative;
	overflow: hidden;
	background: var(--tp-surface);
	border: 1px solid var(--tp-border);
	box-shadow: 10px 10px 0 var(--tp-accent);
	width: 100%;
}
.tp-single-poster-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tp-single-info-col {
	flex: 1 1 380px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.tp-single-badges {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.tp-badge-lime {
	font: 600 11.5px var(--tp-font-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	background: var(--tp-accent);
	color: #0e1116;
	padding: 6px 10px;
}

.tp-badge-outline {
	font: 600 11.5px var(--tp-font-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1px solid var(--tp-border);
	padding: 5px 10px;
	color: var(--tp-paper);
}

.tp-single-title {
	margin: 0;
	font-family: var(--tp-font-serif);
	font-weight: 500;
	font-size: clamp(38px, 6.5vw, 94px);
	line-height: 0.92;
	letter-spacing: -0.025em;
	overflow-wrap: break-word;
	word-break: break-word;
	color: var(--tp-paper);
}

.tp-single-origin {
	font-family: var(--tp-font-serif);
	font-style: italic;
	font-size: 21px;
	color: var(--tp-ink-sub);
	margin-top: 6px;
}

.tp-single-desc {
	margin: 0;
	max-width: 640px;
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--tp-paper-sub);
	word-break: break-word;
}

.tp-specs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	column-gap: 28px;
	border-top: 1px solid var(--tp-border);
	margin-top: 4px;
	width: 100%;
}

.tp-spec-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(232, 236, 242, 0.2);
	width: 100%;
}

.tp-spec-label {
	font: 500 11px var(--tp-font-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tp-ink-sub);
	flex-shrink: 0;
}

.tp-spec-val {
	font-size: 14.5px;
	font-weight: 600;
	text-align: right;
	color: var(--tp-paper);
	overflow-wrap: break-word;
}

/* § Phòng chiếu (Cinema Room) */
.tp-cinema-room {
	background: #07090d;
	color: #e8ecf2;
	margin-top: clamp(44px, 6vw, 80px);
	width: 100%;
}

.tp-room-inner {
	max-width: var(--tp-max-width);
	margin: 0 auto;
	padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 40px);
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.tp-room-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	width: 100%;
}

.tp-server-tabs {
	display: flex;
	border: 1px solid rgba(232, 236, 242, 0.5);
	overflow-x: auto;
}
.tp-server-btn {
	cursor: pointer;
	padding: 10px 12px;
	font: 600 11.5px var(--tp-font-mono);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	background: transparent;
	color: var(--tp-paper);
	border: none;
	transition: all 0.15s ease;
}
.tp-server-btn.is-active {
	background: var(--tp-paper);
	color: #0e1116;
	font-weight: 700;
}

.tp-player-layout {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(16px, 2.5vw, 28px);
	align-items: flex-start;
	width: 100%;
	min-width: 0;
}

.tp-player-viewport {
	flex: 1 1 560px;
	min-width: 0;
	aspect-ratio: 16 / 9;
	position: relative;
	overflow: hidden;
	background: #000;
	border: 1px solid rgba(232, 236, 242, 0.25);
	width: 100%;
}
.tp-player-viewport iframe,
.tp-player-viewport video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.tp-ep-panel {
	flex: 1 1 300px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(232, 236, 242, 0.25);
	width: 100%;
}

.tp-ep-head {
	display: flex;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(232, 236, 242, 0.25);
	font: 600 11px var(--tp-font-mono);
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.tp-ep-list {
	overflow-y: auto;
	max-height: 420px;
	scrollbar-width: thin;
	scrollbar-color: #3a4250 transparent;
	width: 100%;
}

.tp-ep-item {
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 0 16px;
	min-height: 46px;
	border-bottom: 1px solid rgba(232, 236, 242, 0.1);
	background: transparent;
	color: var(--tp-paper);
	transition: background 0.15s ease;
	width: 100%;
}
.tp-ep-item:hover {
	background: rgba(232, 236, 242, 0.08);
}
.tp-ep-item.is-active {
	background: var(--tp-accent);
	color: #0e1116;
	font-weight: 700;
}

.tp-ep-nav-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-top: 1px solid rgba(232, 236, 242, 0.25);
	width: 100%;
}

.tp-ep-nav-btn {
	cursor: pointer;
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	font: 600 12px var(--tp-font-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: transparent;
	color: var(--tp-paper);
	border: none;
	border-right: 1px solid rgba(232, 236, 242, 0.25);
	transition: background 0.15s ease;
}
.tp-ep-nav-btn:last-child {
	border-right: none;
	background: var(--tp-accent);
	color: #0e1116;
	font-weight: 700;
}

.tp-room-quick-app {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding: 12px 18px;
	background: rgba(200, 240, 74, 0.08);
	border: 1px solid rgba(200, 240, 74, 0.3);
	color: var(--tp-paper);
	font-size: 13.5px;
	width: 100%;
	margin-top: 14px;
}

.tp-quick-app-btn {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	background: var(--tp-accent);
	color: #0e1116 !important;
	font: 700 12px var(--tp-font-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	border: none;
}

/* ==========================================================================
   7. TRANG DANH SÁCH & BỘ LỌC (ARCHIVE / TAXONOMY)
   ========================================================================== */

.tp-catalog-main {
	max-width: var(--tp-max-width);
	margin: 0 auto;
	padding: clamp(24px, 3vw, 36px) clamp(16px, 4vw, 40px) clamp(56px, 7vw, 96px);
	display: flex;
	flex-direction: column;
	gap: clamp(22px, 3vw, 32px);
	width: 100%;
}

.tp-catalog-masthead {
	display: flex;
	flex-direction: column;
	gap: 14px;
	border-bottom: 3px double var(--tp-border);
	padding-bottom: 18px;
	width: 100%;
}

.tp-catalog-title-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px 24px;
	flex-wrap: wrap;
	width: 100%;
}

.tp-catalog-title {
	margin: 0;
	font-family: var(--tp-font-serif);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(44px, 7.5vw, 104px);
	line-height: 0.9;
	letter-spacing: -0.03em;
	color: var(--tp-paper);
	overflow-wrap: break-word;
}

.tp-catalog-body {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(20px, 3vw, 44px);
	align-items: flex-start;
	width: 100%;
	min-width: 0;
}

/* Left Sidebar */
.tp-catalog-sidebar {
	flex: 0 0 220px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	position: sticky;
	top: 16px;
	width: 220px;
}

.tp-filter-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.tp-filter-label {
	font: 600 11px var(--tp-font-mono);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--tp-ink-sub);
}

.tp-filter-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 100%;
}

.tp-filter-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 9px 12px;
	font-size: 14px;
	font-weight: 500;
	color: var(--tp-paper);
	border: 1px solid var(--tp-border);
	text-decoration: none;
	transition: all 0.15s ease;
	white-space: nowrap;
}
.tp-filter-item:hover {
	background: var(--tp-surface-hover);
}
.tp-filter-item.is-active {
	background: var(--tp-paper);
	color: #0e1116;
	font-weight: 700;
	border-color: var(--tp-paper);
}

/* Content Area */
.tp-catalog-content {
	flex: 1 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
	width: 100%;
}

.tp-catalog-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	width: 100%;
}

.tp-segmented-control {
	display: flex;
	border: 1px solid var(--tp-border);
	max-width: 100%;
	overflow-x: auto;
}

.tp-segment-btn {
	padding: 10px 14px;
	font: 600 11.5px var(--tp-font-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
	background: transparent;
	color: var(--tp-paper);
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.15s ease;
}
.tp-segment-btn:hover {
	background: var(--tp-surface-hover);
}
.tp-segment-btn.is-active {
	background: var(--tp-paper);
	color: #0e1116;
	font-weight: 700;
}

/* List Mode Rows */
.tp-catalog-rows {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--tp-border);
	width: 100%;
}

.tp-row-card {
	cursor: pointer;
	display: flex;
	gap: clamp(14px, 2vw, 22px);
	padding: 18px 6px;
	border-bottom: 1px solid rgba(232, 236, 242, 0.2);
	align-items: flex-start;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s ease;
	width: 100%;
	min-width: 0;
}
.tp-row-card:hover {
	background: #1a1f27;
}

.tp-row-thumb {
	flex: 0 0 clamp(72px, 11vw, 96px);
	aspect-ratio: 2 / 3;
	position: relative;
	overflow: hidden;
	background: var(--tp-surface);
	border: 1px solid var(--tp-border);
}
.tp-row-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tp-row-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
	min-width: 0;
}

.tp-row-title-bar {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	width: 100%;
}

.tp-row-title {
	font-family: var(--tp-font-serif);
	font-size: clamp(18px, 2.4vw, 26px);
	font-weight: 600;
	line-height: 1.15;
	color: var(--tp-paper);
	overflow-wrap: break-word;
}

.tp-row-meta {
	font: 500 11px/1.5 var(--tp-font-mono);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tp-ink-sub);
}

.tp-row-desc {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--tp-paper-sub);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Pagination */
.navigation.pagination {
	display: flex;
	justify-content: center;
	margin-top: 40px;
	width: 100%;
}
.navigation.pagination .nav-links {
	display: flex;
	gap: 6px;
	align-items: center;
	flex-wrap: wrap;
}
.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--tp-border);
	background: var(--tp-bg);
	color: var(--tp-paper);
	font: 600 12px var(--tp-font-mono);
	text-decoration: none;
	transition: all 0.15s ease;
}
.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers.current {
	background: var(--tp-accent);
	color: #0e1116;
	border-color: var(--tp-accent);
	font-weight: 700;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */

.tp-footer {
	max-width: var(--tp-max-width);
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 40px) 40px;
	width: 100%;
}
.tp-footer-inner {
	border-top: 3px double var(--tp-border);
	padding-top: 28px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	flex-wrap: wrap;
	width: 100%;
}
.tp-footer-brand {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.tp-footer-title {
	font-family: var(--tp-font-serif);
	font-style: italic;
	font-weight: 500;
	font-size: 40px;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--tp-paper);
}
.tp-footer-copy {
	font: 500 11.5px var(--tp-font-mono);
	color: var(--tp-ink-sub);
}
.tp-footer-links {
	display: flex;
	gap: 10px 22px;
	flex-wrap: wrap;
	font: 600 12px var(--tp-font-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.tp-footer-links a {
	color: var(--tp-paper);
	text-decoration: underline;
}
.tp-footer-links a:hover {
	color: var(--tp-accent);
}

/* ==========================================================================
   9. STRICT RESPONSIVE & ZERO-OVERFLOW MEDIA QUERIES
   ========================================================================== */

/* TABLET BREAKPOINT (< 1000px) */
@media (max-width: 1000px) {
	.tp-issue-line {
		display: none;
	}

	.tp-catalog-sidebar {
		flex: 1 1 100%;
		position: static;
		width: 100%;
		max-width: 100%;
		gap: 14px;
	}

	.tp-filter-list {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		gap: 8px;
		width: 100%;
		max-width: 100%;
		padding-bottom: 4px;
	}
	.tp-filter-list::-webkit-scrollbar {
		display: none;
	}

	.tp-filter-item {
		flex-shrink: 0;
	}

	.tp-top10-grid {
		column-gap: 28px;
	}
}

/* INTERMEDIATE BREAKPOINT (< 900px) */
@media (max-width: 900px) {
	.tp-hero-poster-col {
		display: none !important;
	}

	.tp-single-poster-wrap {
		flex: 0 0 clamp(160px, 40vw, 240px);
		margin: 0 auto 16px;
		box-shadow: 6px 6px 0 var(--tp-accent);
	}

	.tp-single-info-col {
		flex: 1 1 100%;
		width: 100%;
	}

	.tp-player-layout {
		flex-direction: column;
	}

	.tp-player-viewport {
		flex: 1 1 100%;
		width: 100%;
	}

	.tp-ep-panel {
		flex: 1 1 100%;
		width: 100%;
		margin-top: 14px;
	}
}

/* SMALL TABLET / LARGE MOBILE (< 768px) */
@media (max-width: 768px) {
	.tp-top10-grid {
		grid-template-columns: 1fr;
		column-gap: 0;
	}

	.tp-top10-item {
		padding: 12px 0;
	}
}

/* STANDARD MOBILE BREAKPOINT (< 640px) */
@media (max-width: 640px) {
	.tp-top-bar {
		min-height: 48px;
		gap: 8px;
		padding: 0;
	}

	.tp-date-full {
		display: none;
	}

	.tp-date-short {
		display: inline;
		font-size: 11px;
	}

	.tp-search-bar {
		display: none;
	}

	.tp-search-toggle-mobile {
		display: flex;
	}

	.tp-nav-app {
		padding: 7px 10px;
		font-size: 11px;
	}

	.tp-masthead {
		padding: 18px 0 14px;
	}

	.tp-masthead-title {
		font-size: clamp(38px, 12vw, 64px);
	}

	.tp-masthead-sub {
		font-size: 10px;
		letter-spacing: 0.18em;
	}

	.tp-nav-bar {
		justify-content: flex-start;
		gap: 18px;
		padding: 0 4px;
	}

	.tp-nav-link {
		padding: 12px 0 10px;
		font-size: 12px;
	}

	.tp-hero-headline {
		font-size: clamp(32px, 9vw, 52px);
	}

	.tp-hero-desc {
		font-size: 15px;
	}

	.tp-hero-stats {
		gap: 8px 12px;
		font-size: 11px;
	}

	.tp-btn-solid,
	.tp-btn-outline {
		height: 46px;
		padding: 0 18px;
		font-size: 12px;
	}

	.tp-schedule-grid {
		grid-template-columns: 1fr;
	}

	.tp-movie-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 10px;
	}

	.tp-genre-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tp-genre-tile {
		padding: 12px;
		min-height: 94px;
		gap: 12px;
	}
	.tp-genre-tile-title {
		font-size: 19px;
	}

	.tp-card-poster {
		box-shadow: 3px 3px 0 var(--tp-border);
	}

	.tp-specs-grid {
		grid-template-columns: 1fr;
	}

	.tp-single-title {
		font-size: clamp(28px, 8vw, 44px);
	}

	.tp-catalog-title {
		font-size: clamp(36px, 10vw, 56px);
	}

	.tp-catalog-toolbar {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.tp-segmented-control {
		width: 100%;
		justify-content: center;
	}
	.tp-segment-btn {
		flex: 1;
		text-align: center;
		padding: 9px 8px;
		font-size: 11px;
	}

	.tp-room-quick-app {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	.tp-quick-app-btn {
		width: 100%;
		justify-content: center;
	}

	.tp-footer-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
}

/* NARROW MOBILE (< 380px) */
@media (max-width: 380px) {
	.tp-top10-rank {
		font-size: 32px;
		width: 36px;
	}
	.tp-top10-thumb {
		flex: 0 0 38px;
	}
	.tp-top10-title {
		font-size: 16px;
	}
	.tp-movie-grid {
		gap: 12px 8px;
	}
	.tp-card-title {
		font-size: 14.5px;
	}
}

/* Navigation Dropdown: Thể loại */
.tp-nav-item-dropdown {
	position: relative;
	display: inline-flex;
	align-items: center;
}
.tp-nav-dropdown-toggle {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
}
.tp-nav-dropdown-toggle svg {
	transition: transform 0.2s ease;
}
.tp-nav-item-dropdown:hover .tp-nav-dropdown-toggle svg {
	transform: rotate(180deg);
}
.tp-dropdown-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	z-index: 1000;
	width: 440px;
	padding: 16px;
	background: #11141a;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	pointer-events: none;
}
.tp-nav-item-dropdown:hover .tp-dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(2px);
	pointer-events: auto;
}
.tp-dropdown-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px 8px;
}
.tp-dropdown-grid a {
	padding: 7px 10px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	color: #c4cdd9;
	text-decoration: none;
	transition: all 0.15s ease;
	white-space: nowrap;
	text-align: left;
}
.tp-dropdown-grid a:hover {
	color: #ffb703;
	background: rgba(255, 183, 3, 0.12);
}
@media (max-width: 600px) {
	.tp-dropdown-menu {
		width: 300px;
		left: auto;
		right: 0;
		transform: none;
		padding: 10px;
	}
	.tp-nav-item-dropdown:hover .tp-dropdown-menu {
		transform: none;
	}
	.tp-dropdown-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile Hamburger Button */
.tp-menu-toggle-mobile {
	display: none;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 6px;
	cursor: pointer;
	padding: 0;
}
.tp-menu-icon {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 18px;
	height: 13px;
}
.tp-menu-icon span {
	display: block;
	width: 100%;
	height: 2px;
	background: #e8ecf2;
	border-radius: 1px;
}

/* Mobile Drawer */
.tp-drawer-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.75);
	z-index: 998;
	opacity: 0;
	visibility: hidden;
	transition: all 0.25s ease;
}
.tp-drawer-overlay.is-open {
	opacity: 1;
	visibility: visible;
}
.tp-mobile-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 300px;
	max-width: 85vw;
	background: #11141a;
	border-left: 1px solid rgba(255, 255, 255, 0.1);
	z-index: 999;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	visibility: hidden;
	pointer-events: none;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}
.tp-mobile-drawer.is-open {
	transform: translateX(0);
	visibility: visible;
	pointer-events: auto;
}
.tp-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.tp-drawer-title {
	font-family: var(--tp-font-title, serif);
	font-size: 20px;
	font-weight: 700;
	color: #FFF;
}
.tp-drawer-close {
	background: none;
	border: none;
	color: #c4cdd9;
	cursor: pointer;
	padding: 4px;
}
.tp-drawer-nav {
	flex: 1;
	overflow-y: auto;
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.tp-drawer-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-radius: 6px;
	color: #c4cdd9;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.15s ease;
}
.tp-drawer-link:hover, .tp-drawer-link.is-active {
	background: rgba(255, 255, 255, 0.08);
	color: #FFF;
}
.tp-drawer-link.is-active {
	color: #ffb703;
}
.tp-drawer-icon {
	font-size: 17px;
}
.tp-drawer-acc-btn {
	width: 100%;
	border: none;
	background: none;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
}
.tp-drawer-chevron {
	margin-left: auto;
	transition: transform 0.25s ease;
}
.tp-drawer-acc-btn.is-active .tp-drawer-chevron {
	transform: rotate(180deg);
}
.tp-drawer-subnav {
	display: none;
	grid-template-columns: repeat(2, 1fr);
	gap: 4px 6px;
	padding: 6px 10px 10px 32px;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 6px;
}
.tp-drawer-subnav.is-open {
	display: grid;
}
.tp-drawer-sublink {
	padding: 6px 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: #94a3b8;
	text-decoration: none;
	border-radius: 4px;
	transition: all 0.15s ease;
}
.tp-drawer-sublink:hover {
	color: #ffb703;
	background: rgba(255, 183, 3, 0.1);
}
.tp-drawer-footer {
	padding: 16px 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.tp-drawer-app-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 12px;
	background: #ffb703;
	color: #0b0d12 !important;
	font-weight: 700;
	font-size: 13.5px;
	border-radius: 6px;
	text-decoration: none;
}

/* Mobile Bottom Tab Bar */
.tp-bottom-tabs {
	display: none;
}
@media (max-width: 768px) {
	.tp-menu-toggle-mobile {
		display: inline-flex;
	}
	.tp-nav-bar {
		display: flex;
		overflow-x: auto;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 6px 12px;
		gap: 14px;
		justify-content: flex-start;
	}
	.tp-nav-bar::-webkit-scrollbar {
		display: none;
	}
	.tp-nav-link {
		font-size: 12px;
		padding: 4px 6px;
	}
	.tp-masthead {
		padding: 12px 16px 10px;
	}
	.tp-masthead-title {
		font-size: 34px !important;
	}
	.tp-masthead-sub {
		font-size: 11px !important;
	}
	.tp-bottom-tabs {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		height: 56px;
		background: rgba(17, 20, 26, 0.95);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		display: flex;
		align-items: center;
		justify-content: space-around;
		z-index: 990;
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
	.tp-tab-btn {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		color: #94a3b8;
		text-decoration: none;
		font-size: 11px;
		font-weight: 600;
		transition: color 0.15s ease;
	}
	.tp-tab-btn:hover, .tp-tab-btn.is-active {
		color: #ffb703;
	}
	.tp-tab-app {
		color: #ffb703;
	}
	body {
		padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
	}
	.tp-footer-inner {
		flex-direction: column !important;
		gap: 20px !important;
		padding: 24px 16px 20px !important;
	}
	.tp-footer-grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 16px 12px;
		width: 100%;
	}
	.tp-footer-col {
		display: flex;
		flex-direction: column;
		gap: 6px;
	}
	.tp-footer-heading {
		font-size: 13px;
		font-weight: 700;
		color: #ffb703;
		margin: 0 0 4px;
	}
	.tp-footer-col a {
		font-size: 12px;
		color: #94a3b8;
		text-decoration: none;
	}
	.tp-footer-col a:hover {
		color: #FFF;
	}
}
@media (max-width: 520px) {
	.tp-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.tp-masthead-logo-img {
	display: block;
	margin: 0 auto;
	max-width: clamp(260px, 32vw, 420px);
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 4px 18px rgba(255, 69, 0, 0.35));
	transition: transform 0.25s ease, filter 0.25s ease;
}
.tp-masthead:hover .tp-masthead-logo-img {
	transform: scale(1.02);
	filter: drop-shadow(0 6px 24px rgba(255, 69, 0, 0.55));
}
@media (max-width: 768px) {
	.tp-masthead-logo-img {
		max-width: 250px;
	}
}

.tp-drawer-logo-img {
	display: block;
	max-width: 150px;
	height: auto;
	object-fit: contain;
}

.tp-footer-logo-link {
	display: inline-block;
	margin-bottom: 12px;
	text-decoration: none;
}
.tp-footer-logo-img {
	display: block;
	max-width: 190px;
	height: auto;
	object-fit: contain;
}


/* === CUONGPHIMHD UI ENHANCEMENTS === */
:root {
    --tp-bg: #12040B !important;
    --tp-surface: #1C0913 !important;
    --tp-surface-hover: #260E1B !important;
    --tp-accent: #FF0055 !important;
    --tp-accent-hover: #FF2E93 !important;
}
body {
    background-color: #12040B !important;
}
.tp-card, .tp-movie-card {
    border-radius: 8px !important;
    border: 1px solid rgba(255, 0, 85, 0.2) !important;
}
.tp-card:hover, .tp-movie-card:hover {
    border-color: rgba(255, 0, 85, 0.5) !important;
    box-shadow: 0 10px 24px rgba(255, 0, 85, 0.3) !important;
}
.rp-btn-app-header {
    background: #FF0055 !important;
    color: #fff !important;
}




/* ==========================================================================
   OPTIMIZATION: HERO HEADLINE, SINGLE TITLE & FOOTER CONTRAST FIX
   ========================================================================== */

/* 1. Hero Headline Size & Overflow Fix */
.tp-hero-headline {
	margin: 0 !important;
	font-family: var(--tp-font-serif) !important;
	font-weight: 600 !important;
	font-size: clamp(22px, 2.6vw, 36px) !important;
	line-height: 1.25 !important;
	letter-spacing: -0.015em !important;
	overflow-wrap: break-word !important;
	word-break: break-word !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	max-height: calc(36px * 1.25 * 2 + 8px) !important;
}

.tp-hero-headline a {
	color: var(--tp-paper) !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

.tp-hero-headline a:hover {
	color: var(--tp-accent) !important;
}

.tp-hero-details-col {
	flex: 1 1 360px !important;
	min-width: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
	justify-content: center !important;
	width: 100% !important;
}

.tp-hero-subtitle {
	font-family: var(--tp-font-serif) !important;
	font-style: italic !important;
	font-size: 16px !important;
	color: var(--tp-ink-sub) !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	margin-top: -4px !important;
}

.tp-hero-desc {
	margin: 0 !important;
	max-width: 540px !important;
	font-size: 14.5px !important;
	line-height: 1.55 !important;
	color: #c3cad6 !important;
	word-break: break-word !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 3 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

.tp-hero-stats {
	display: flex !important;
	gap: 10px 16px !important;
	flex-wrap: wrap !important;
	font: 600 12px var(--tp-font-mono) !important;
	letter-spacing: 0.05em !important;
	text-transform: uppercase !important;
	color: #e8ecf2 !important;
}

.tp-hero-btns {
	display: flex !important;
	gap: 10px !important;
	flex-wrap: wrap !important;
	margin-top: 4px !important;
}

.tp-btn-solid {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	height: 44px !important;
	padding: 0 20px !important;
	background: var(--tp-paper) !important;
	color: #0e1116 !important;
	font: 700 12px var(--tp-font-sans) !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	border: none !important;
	cursor: pointer !important;
	border-radius: 4px !important;
}
.tp-btn-solid:hover {
	background: var(--tp-accent) !important;
	transform: translateY(-1px) !important;
}

.tp-btn-outline {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 44px !important;
	padding: 0 18px !important;
	border: 1.5px solid rgba(232, 236, 242, 0.3) !important;
	box-sizing: border-box !important;
	font: 700 12px var(--tp-font-sans) !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	color: var(--tp-paper) !important;
	text-decoration: none !important;
	background: transparent !important;
	transition: all 0.2s ease !important;
	cursor: pointer !important;
	border-radius: 4px !important;
}
.tp-btn-outline:hover {
	background: #1a1f27 !important;
	border-color: var(--tp-accent) !important;
	color: var(--tp-accent) !important;
}

/* 2. Single Movie Banner Title Fix */
.tp-single-title {
	margin: 0 0 6px 0 !important;
	font-family: var(--tp-font-serif) !important;
	font-weight: 600 !important;
	font-size: clamp(24px, 3.2vw, 42px) !important;
	line-height: 1.22 !important;
	letter-spacing: -0.015em !important;
	overflow-wrap: break-word !important;
	word-break: break-word !important;
	color: #ffffff !important;
}

.tp-single-info-col {
	flex: 1 1 400px !important;
	min-width: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
}

.tp-single-desc {
	margin: 0 !important;
	font-size: 14.5px !important;
	line-height: 1.6 !important;
	color: #cbd5e1 !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 4 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
}

/* 3. Footer High Contrast & Bright Typography */
.tp-footer {
	width: 100% !important;
	background: #11151c !important;
	border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
	margin-top: 56px !important;
	padding: 44px 0 calc(36px + env(safe-area-inset-bottom, 0px)) !important;
	box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.45) !important;
	position: relative !important;
	z-index: 10 !important;
}

.tp-footer-inner {
	max-width: var(--tp-max-width) !important;
	margin: 0 auto !important;
	padding: 0 clamp(16px, 4vw, 40px) !important;
	border-top: none !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: flex-start !important;
	gap: 36px !important;
	flex-wrap: wrap !important;
	box-sizing: border-box !important;
}

.tp-footer-brand {
	flex: 1 1 340px !important;
	max-width: 420px !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
}

.tp-footer-logo-link {
	display: inline-block !important;
	margin-bottom: 2px !important;
}

.tp-footer-logo-img {
	display: block !important;
	max-width: 190px !important;
	height: auto !important;
	object-fit: contain !important;
	filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)) !important;
}

.tp-footer-desc {
	margin: 0 !important;
	font-size: 14px !important;
	line-height: 1.65 !important;
	color: #e2e8f0 !important;
	font-weight: 400 !important;
}

.tp-footer-policies {
	display: flex !important;
	gap: 12px !important;
	flex-wrap: wrap !important;
	font-size: 13px !important;
	color: #cbd5e1 !important;
	margin-top: 4px !important;
	line-height: 1.6 !important;
}

.tp-footer-policies a {
	color: #cbd5e1 !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
	font-weight: 500 !important;
}

.tp-footer-policies a:hover {
	color: var(--tp-accent) !important;
	text-decoration: underline !important;
}

.tp-footer-copy {
	font: 500 12px var(--tp-font-mono) !important;
	color: #94a3b8 !important;
	margin-top: 4px !important;
	letter-spacing: 0.04em !important;
	display: block !important;
}

.tp-footer-grid {
	flex: 2 1 480px !important;
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 24px 20px !important;
}

.tp-footer-col {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
}

.tp-footer-heading {
	font-family: var(--tp-font-sans) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	color: var(--tp-accent) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	margin: 0 0 6px !important;
	padding-bottom: 6px !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.tp-footer-col a {
	font-size: 13.5px !important;
	color: #f1f5f9 !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	display: inline-block !important;
	line-height: 1.5 !important;
}

.tp-footer-col a:hover {
	color: var(--tp-accent) !important;
	transform: translateX(4px) !important;
}

/* 4. Responsive adjustments */
@media (max-width: 900px) {
	.tp-hero-headline {
		font-size: clamp(20px, 5.2vw, 28px) !important;
		line-height: 1.25 !important;
	}
	.tp-single-title {
		font-size: clamp(22px, 5.5vw, 32px) !important;
		line-height: 1.25 !important;
	}
}

@media (max-width: 768px) {
	.tp-footer {
		padding: 32px 0 calc(76px + env(safe-area-inset-bottom, 0px)) !important;
	}
	.tp-footer-inner {
		flex-direction: column !important;
		gap: 28px !important;
		padding: 0 16px !important;
	}
	.tp-footer-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 20px 16px !important;
		width: 100% !important;
	}
}
