/**
 * Get The Coast — /watch swipe feed.
 * Full screen on phones; a centered 9:16 column on wider screens.
 */

html,
body.gtc-watch-page {
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #0E1116;
	overscroll-behavior: none;
}

body.gtc-watch-page .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.gtc-watch {
	--gtc-w-safe-top: env(safe-area-inset-top, 0px);
	--gtc-w-safe-bottom: env(safe-area-inset-bottom, 0px);
	--gtc-w-link: #9DC3FF;
	--gtc-w-brand: #166DFC;

	position: fixed;
	top: 0;
	bottom: 0;
	left: 50%;
	width: min(100%, calc(100dvh * 9 / 16));
	transform: translateX(-50%);
	overflow: hidden;
	background: #000000;
	color: #FFFFFF;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}

.gtc-watch *,
.gtc-watch *::before,
.gtc-watch *::after,
.gtc-watch__sheet *,
.gtc-watch__sheet *::before,
.gtc-watch__sheet *::after {
	box-sizing: border-box;
}

.gtc-watch a,
.gtc-watch button {
	-webkit-tap-highlight-color: transparent;
}

.gtc-watch a:focus-visible,
.gtc-watch button:focus-visible,
.gtc-watch__sheet a:focus-visible,
.gtc-watch__sheet button:focus-visible {
	outline: 2px solid #FFFFFF;
	outline-offset: 2px;
}

/* On phones the feed fills the whole screen; the 9:16 column is for wider screens. */
@media (max-width: 599px), (pointer: coarse) and (max-width: 900px) {
	.gtc-watch {
		width: 100%;
	}
}

/*
 * The Hello theme paints every button pink (#c36) on hover and focus.
 * Put each of ours back to its own look.
 */
.gtc-watch .gtc-watch__tap:hover,
.gtc-watch .gtc-watch__tap:focus,
.gtc-watch .gtc-watch__action:hover,
.gtc-watch .gtc-watch__action:focus {
	background-color: transparent;
	color: #FFFFFF;
	border-color: transparent;
}

.gtc-watch .gtc-watch__hint:hover,
.gtc-watch .gtc-watch__hint:focus {
	background-color: rgba(0, 0, 0, 0.75);
	color: #FFFFFF;
}

.gtc-watch__sheet .gtc-watch__sheet-x:hover,
.gtc-watch__sheet .gtc-watch__sheet-x:focus {
	background-color: rgba(255, 255, 255, 0.08);
	color: #F2F4F7;
}

.gtc-watch .gtc-watch__close:hover,
.gtc-watch .gtc-watch__close:focus,
.gtc-watch .gtc-watch__tab:hover,
.gtc-watch .gtc-watch__tab:focus {
	color: #FFFFFF;
}

.gtc-watch .gtc-watch__tab[aria-current="page"]:hover,
.gtc-watch .gtc-watch__tab[aria-current="page"]:focus {
	color: #0E1116;
}

/* Mouse users get a light hover on the side buttons; taps and clicks leave no lingering colour. */
@media (hover: hover) and (pointer: fine) {
	.gtc-watch .gtc-watch__action:hover .gtc-watch__action-icon {
		background: rgba(0, 0, 0, 0.55);
	}
}

.gtc-watch .gtc-watch__tap:focus:not(:focus-visible),
.gtc-watch .gtc-watch__action:focus:not(:focus-visible) {
	outline: none;
}

/* ---------- Top bar ---------- */

/* Site logo, shown white over the video whatever colour the file is. */
.gtc-watch .gtc-watch__logo {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	height: 44px;
	padding: 0 4px;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: -0.01em;
	white-space: nowrap;
	text-decoration: none;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	color: #FFFFFF;
}

.gtc-watch .gtc-watch__logo:hover,
.gtc-watch .gtc-watch__logo:focus {
	color: #FFFFFF;
}

.gtc-watch .gtc-watch__logo img {
	display: block;
	width: auto;
	height: 24px;
	max-width: 120px;
	object-fit: contain;
	filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.gtc-watch .gtc-watch__top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: calc(var(--gtc-w-safe-top) + 10px) 10px 10px;
	background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
	pointer-events: none;
}

.gtc-watch .gtc-watch__top > * {
	pointer-events: auto;
}

.gtc-watch .gtc-watch__close {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.35);
	color: #FFFFFF;
	text-decoration: none;
}

.gtc-watch .gtc-watch__tabs {
	display: flex;
	flex: 1 1 auto;
	gap: 6px;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.gtc-watch .gtc-watch__tabs::-webkit-scrollbar {
	display: none;
}

.gtc-watch .gtc-watch__tab {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.35);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	color: #FFFFFF;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.gtc-watch .gtc-watch__tab[aria-current="page"] {
	background: #FFFFFF;
	font-weight: 700;
	color: #0E1116;
}

/* ---------- Feed and slides ---------- */

.gtc-watch .gtc-watch__feed {
	height: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
	scroll-snap-type: y mandatory;
	scrollbar-width: none;
	outline: none;
}

.gtc-watch .gtc-watch__feed::-webkit-scrollbar {
	display: none;
}

.gtc-watch .gtc-watch__slide {
	position: relative;
	height: 100%;
	overflow: hidden;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	background: #000000;
}

.gtc-watch .gtc-watch__media,
.gtc-watch .gtc-watch__media img,
.gtc-watch .gtc-watch__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.gtc-watch .gtc-watch__media img,
.gtc-watch .gtc-watch__media video {
	object-fit: cover;
}

.gtc-watch .gtc-watch__slide--wide .gtc-watch__media img,
.gtc-watch .gtc-watch__slide--wide .gtc-watch__media video {
	object-fit: contain;
}

/* The poster shows until the video is actually playing. */
.gtc-watch .gtc-watch__media video {
	opacity: 0;
	transition: opacity 0.2s ease;
}

.gtc-watch .gtc-watch__slide.is-playing .gtc-watch__media video {
	opacity: 1;
}

.gtc-watch .gtc-watch__shade {
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 22%),
		linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0) 45%);
	pointer-events: none;
}

.gtc-watch .gtc-watch__tap {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

/* ---------- Text over the video ---------- */

.gtc-watch .gtc-watch__info {
	position: absolute;
	left: 16px;
	right: 84px;
	bottom: calc(var(--gtc-w-safe-bottom) + 26px);
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
	pointer-events: none;
}

.gtc-watch .gtc-watch__info a {
	pointer-events: auto;
}

.gtc-watch .gtc-watch__kicker {
	align-self: flex-start;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--gtc-w-link);
}

.gtc-watch .gtc-watch__title {
	margin: 0;
	font-family: inherit;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.22;
	letter-spacing: -0.01em;
	color: #FFFFFF;
}

.gtc-watch .gtc-watch__title a {
	color: inherit;
	text-decoration: none;
}

.gtc-watch .gtc-watch__meta {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	color: #E4E7EC;
}

.gtc-watch .gtc-watch__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.4;
	color: #D0D5DD;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* ---------- Side buttons ---------- */

.gtc-watch .gtc-watch__rail {
	position: absolute;
	right: 10px;
	bottom: calc(var(--gtc-w-safe-bottom) + 26px);
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.gtc-watch .gtc-watch__action {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 56px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
	color: #FFFFFF;
	cursor: pointer;
}

.gtc-watch .gtc-watch__action-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

/* ---------- Progress, pause/play flash, hints ---------- */

.gtc-watch .gtc-watch__progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: var(--gtc-w-safe-bottom);
	z-index: 4;
	display: flex;
	align-items: flex-end;
	height: 22px; /* A finger-sized target; the visible bar is the thin line at the bottom. */
	cursor: pointer;
	touch-action: none;
	outline: none;
}

.gtc-watch .gtc-watch__progress-track {
	position: relative;
	display: block;
	width: 100%;
	height: 3px;
	background: rgba(255, 255, 255, 0.25);
	transition: height 0.15s ease;
}

.gtc-watch .gtc-watch__progress-fill {
	position: relative;
	display: block;
	width: 0;
	height: 100%;
	background: #FFFFFF;
}

/* The round handle appears while dragging (and on mouse hover). */
.gtc-watch .gtc-watch__progress-fill::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -7px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	transform: translateY(-50%) scale(0);
	transition: transform 0.15s ease;
}

.gtc-watch .gtc-watch__progress-time {
	position: absolute;
	left: 50%;
	bottom: 30px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.7);
	font-size: 15px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: #FFFFFF;
	opacity: 0;
	transform: translateX(-50%);
	pointer-events: none;
}

.gtc-watch .gtc-watch__slide.is-scrubbing .gtc-watch__progress-track,
.gtc-watch .gtc-watch__progress:focus-visible .gtc-watch__progress-track {
	height: 6px;
}

.gtc-watch .gtc-watch__slide.is-scrubbing .gtc-watch__progress-fill::after,
.gtc-watch .gtc-watch__progress:focus-visible .gtc-watch__progress-fill::after {
	transform: translateY(-50%) scale(1);
}

.gtc-watch .gtc-watch__slide.is-scrubbing .gtc-watch__progress-time {
	opacity: 1;
}

/* While scrubbing, the title and buttons step aside so the frame is visible. */
.gtc-watch .gtc-watch__info,
.gtc-watch .gtc-watch__rail {
	transition: opacity 0.15s ease;
}

.gtc-watch .gtc-watch__slide.is-scrubbing .gtc-watch__info,
.gtc-watch .gtc-watch__slide.is-scrubbing .gtc-watch__rail {
	opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
	.gtc-watch .gtc-watch__progress:hover .gtc-watch__progress-track {
		height: 6px;
	}

	.gtc-watch .gtc-watch__progress:hover .gtc-watch__progress-fill::after {
		transform: translateY(-50%) scale(1);
	}
}

.gtc-watch .gtc-watch__flash {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	margin: -38px 0 0 -38px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	pointer-events: none;
}

.gtc-watch .gtc-watch__slide.is-paused .gtc-watch__flash {
	opacity: 1;
}

.gtc-watch .gtc-watch__flash.is-flashing {
	animation: gtc-watch-flash 0.6s ease-out;
}

@keyframes gtc-watch-flash {
	0% { opacity: 1; transform: scale(0.9); }
	100% { opacity: 0; transform: scale(1.15); }
}

.gtc-watch .gtc-watch__hint {
	position: absolute;
	top: calc(var(--gtc-w-safe-top) + 66px);
	right: 12px;
	z-index: 11;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 0 14px;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.6);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	color: #FFFFFF;
	cursor: pointer;
}

.gtc-watch .gtc-watch__hint[hidden] {
	display: none;
}

.gtc-watch .gtc-watch__toast {
	position: absolute;
	left: 50%;
	bottom: calc(var(--gtc-w-safe-bottom) + 140px);
	z-index: 12;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.95);
	font-size: 14px;
	font-weight: 700;
	color: #0E1116;
	opacity: 0;
	transform: translateX(-50%);
	transition: opacity 0.2s ease;
	pointer-events: none;
}

.gtc-watch .gtc-watch__toast.is-shown {
	opacity: 1;
}

.gtc-watch .gtc-watch__empty,
.gtc-watch .gtc-watch__noscript {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	height: 100%;
	margin: 0;
	padding: 24px;
	font-size: 16px;
	text-align: center;
	color: #D0D5DD;
}

.gtc-watch .gtc-watch__empty a,
.gtc-watch .gtc-watch__noscript a {
	color: #FFFFFF;
	font-weight: 700;
}

/* ---------- Sponsored slide (vertical AdButler template, .gtc-vtile markup) ---------- */

.gtc-watch .gtc-watch__ad,
.gtc-watch .gtc-watch__ad .gtc-video__ad-slot,
.gtc-watch .gtc-watch__ad .gtc-vtile,
.gtc-watch .gtc-watch__ad .gtc-vtile__link {
	position: absolute;
	inset: 0;
}

.gtc-watch .gtc-watch__ad .gtc-vtile__link {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 8px;
	padding: 0 16px calc(var(--gtc-w-safe-bottom) + 28px);
	text-decoration: none;
	color: #FFFFFF;
}

.gtc-watch .gtc-watch__ad .gtc-vtile__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
}

.gtc-watch .gtc-watch__ad .gtc-vtile__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0) 45%);
}

.gtc-watch .gtc-watch__ad .gtc-vtile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gtc-watch .gtc-watch__ad .gtc-vtile__tag {
	position: absolute;
	top: calc(var(--gtc-w-safe-top) + 66px);
	left: 16px;
	z-index: 1;
	padding: 4px 8px;
	border-radius: 4px;
	background: #FFFFFF;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #101828;
}

.gtc-watch .gtc-watch__ad .gtc-vtile__by,
.gtc-watch .gtc-watch__ad .gtc-vtile__title,
.gtc-watch .gtc-watch__ad .gtc-vtile__cta {
	position: relative;
	z-index: 1;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.gtc-watch .gtc-watch__ad .gtc-vtile__by {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #D0D5DD;
}

.gtc-watch .gtc-watch__ad .gtc-vtile__title {
	font-size: 19px;
	font-weight: 800;
	line-height: 1.22;
}

.gtc-watch .gtc-watch__ad .gtc-vtile__cta {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: 4px;
	padding: 0 18px;
	border-radius: 10px;
	background: #FFFFFF;
	font-size: 15px;
	font-weight: 700;
	text-shadow: none;
	color: #0E1116;
}

/* ---------- Comments sheet ---------- */

.gtc-watch__sheet {
	position: fixed;
	inset: 0;
	z-index: 100000;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: #F2F4F7;
}

.gtc-watch__sheet[hidden] {
	display: none;
}

.gtc-watch__sheet .gtc-watch__sheet-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.gtc-watch__sheet .gtc-watch__sheet-panel {
	position: absolute;
	left: 50%;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(100%, 480px);
	max-height: 72dvh;
	border-radius: 16px 16px 0 0;
	background: #161A21;
	transform: translateX(-50%);
	outline: none;
	animation: gtc-watch-sheet 0.22s ease-out;
}

@keyframes gtc-watch-sheet {
	from { transform: translate(-50%, 30%); opacity: 0.5; }
	to { transform: translate(-50%, 0); opacity: 1; }
}

.gtc-watch__sheet .gtc-watch__sheet-grip {
	width: 40px;
	height: 4px;
	margin: 8px auto 0;
	border-radius: 2px;
	background: #3A414D;
}

.gtc-watch__sheet .gtc-watch__sheet-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 8px 8px 18px;
	border-bottom: 1px solid #2A303A;
}

.gtc-watch__sheet .gtc-watch__sheet-head h2 {
	margin: 0;
	font-family: inherit;
	font-size: 17px;
	font-weight: 800;
	color: #FFFFFF;
}

.gtc-watch__sheet .gtc-watch__sheet-head h2 span {
	margin-left: 4px;
	font-size: 14px;
	font-weight: 600;
	color: #A9B1BD;
}

.gtc-watch__sheet .gtc-watch__sheet-x {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #F2F4F7;
	cursor: pointer;
}

.gtc-watch__sheet .gtc-watch__comments {
	flex: 1 1 auto;
	min-height: 120px;
	margin: 0;
	padding: 6px 18px;
	overflow-y: auto;
	overscroll-behavior: contain;
	list-style: none;
}

.gtc-watch__sheet .gtc-watch__comment {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 12px 0;
	border-bottom: 1px solid #2A303A;
}

.gtc-watch__sheet .gtc-watch__comment:last-child {
	border-bottom: 0;
}

.gtc-watch__sheet .gtc-watch__comment-name {
	font-size: 14px;
	font-weight: 700;
	color: #F2F4F7;
}

.gtc-watch__sheet .gtc-watch__comment-name time {
	margin-left: 6px;
	font-size: 12px;
	font-weight: 500;
	color: #A9B1BD;
}

.gtc-watch__sheet .gtc-watch__comment-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	overflow-wrap: anywhere;
	color: #D0D5DD;
}

.gtc-watch__sheet .gtc-watch__comments-note {
	padding: 22px 0;
	font-size: 15px;
	text-align: center;
	color: #A9B1BD;
}

.gtc-watch__sheet .gtc-watch__sheet-foot {
	padding: 10px 18px calc(env(safe-area-inset-bottom, 0px) + 12px);
	border-top: 1px solid #2A303A;
}

.gtc-watch__sheet .gtc-watch__join {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border-radius: 10px;
	background: #166DFC;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	color: #FFFFFF;
}

@media (prefers-reduced-motion: reduce) {
	.gtc-watch .gtc-watch__media video,
	.gtc-watch .gtc-watch__toast {
		transition: none;
	}

	.gtc-watch .gtc-watch__flash.is-flashing,
	.gtc-watch__sheet .gtc-watch__sheet-panel {
		animation: none;
	}
}
