/* As Oito — Phase 1 mobile game shell */
.as8-root {
	--as8-bg: #0c0614;
	--as8-panel: #160b24;
	--as8-line: rgba(182, 77, 255, .18);
	--as8-soft: rgba(255, 255, 255, .55);
	--as8-grad: linear-gradient(135deg, #B64DFF 0%, #11BBE9 100%);
	--as8-cyan: #7DE8FF;
	font-family: Inter, system-ui, -apple-system, sans-serif;
	color: #fff;
	background: radial-gradient(120% 80% at 50% -10%, #2a1245 0%, var(--as8-bg) 55%);
	min-height: calc(100vh - 60px);
	padding: 0 0 28px;
}
.as8-shell {
	max-width: 430px;
	margin: 0 auto;
	padding: 12px 16px 40px;
}
.as8-brand {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 18px;
}
.as8-brand-df {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	background: var(--as8-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.as8-brand-game {
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, .75);
}
.as8-tagline {
	margin: -8px 0 18px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .02em;
	color: rgba(125, 232, 255, .7);
}
.as8-hub-cover {
	width: 100%;
	aspect-ratio: 9 / 16;
	max-height: 42vh;
	border-radius: 16px;
	margin: 0 0 14px;
	background: linear-gradient(160deg, #2a1245 0%, #0c0614 60%);
	background-size: cover;
	background-position: center;
	box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.as8-hub-milena { background-image: linear-gradient(160deg, #3a1a5c 0%, #1a0a28 50%, #11bbe944 100%); }
.as8-hub-mikaela { background-image: linear-gradient(160deg, #1a2848 0%, #0c0614 55%, #b64dff44 100%); }
.as8-hub-agatha { background-image: linear-gradient(160deg, #4a1838 0%, #12081c 55%, #11bbe955 100%); }
.as8-hub-tidara { background-image: linear-gradient(160deg, #183848 0%, #0c0614 55%, #b64dff55 100%); }
.as8-hub-note {
	margin-top: 14px;
	font-size: 12px;
	color: rgba(255,255,255,.45);
	line-height: 1.4;
}
.as8-stage {
	position: relative;
	z-index: 2;
	padding: 0 16px 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(125, 232, 255, .75);
}
.as8-beat-media.has-still {
	background-color: #0c0614;
}
.as8-screen { display: none; }
.as8-screen.is-on { display: block; animation: as8In .28s ease; }
@keyframes as8In {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}
.as8-h1 {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.15;
	margin: 0 0 8px;
}
.as8-sub {
	font-size: 14px;
	line-height: 1.45;
	color: var(--as8-soft);
	margin: 0 0 22px;
}
.as8-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 12px 16px;
	border: 0;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none !important;
	color: #fff !important;
	font-family: inherit;
}
.as8-btn-primary {
	background: var(--as8-grad);
	box-shadow: 0 10px 28px rgba(182, 77, 255, .28);
}
.as8-btn-primary:hover { filter: brightness(1.05); }
.as8-btn-ghost {
	background: rgba(255, 255, 255, .05);
	border: .5px solid rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .85) !important;
	margin-top: 10px;
}
.as8-btn-row { margin-top: 18px; }
.as8-back {
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, .45);
	font-size: 13px;
	font-weight: 600;
	padding: 0 0 14px;
	cursor: pointer;
	font-family: inherit;
}
.as8-cards { display: grid; gap: 10px; }
.as8-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px;
	border-radius: 14px;
	border: .5px solid rgba(255, 255, 255, .08);
	background: rgba(255, 255, 255, .04);
	cursor: pointer;
	text-align: left;
	color: inherit;
	font-family: inherit;
	transition: border-color .15s, box-shadow .15s;
}
.as8-card:hover, .as8-card.is-on {
	border-color: rgba(17, 187, 233, .4);
	box-shadow: 0 0 18px rgba(17, 187, 233, .12);
}
.as8-card.is-locked {
	opacity: .55;
	cursor: default;
}
.as8-card-title {
	font-size: 16px;
	font-weight: 700;
}
.as8-card-blurb {
	font-size: 12px;
	line-height: 1.4;
	color: var(--as8-soft);
}
.as8-badge {
	align-self: flex-start;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(182, 77, 255, .18);
	color: #c084fc;
}
.as8-badge-soon {
	background: rgba(255, 255, 255, .08);
	color: rgba(255, 255, 255, .4);
}
.as8-field {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border-radius: 12px;
	border: .5px solid rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .05);
	color: #fff;
	font-size: 14px;
	font-family: inherit;
	outline: none;
	margin: 12px 0 4px;
}
.as8-field:focus { border-color: rgba(17, 187, 233, .45); }
.as8-field::placeholder { color: rgba(255, 255, 255, .3); }

/* Beat player — cinematic */
.as8-beat {
	position: relative;
	margin: -12px -16px 0;
	min-height: calc(100vh - 70px);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.as8-beat-media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-color: #1a0b2e;
}
.as8-beat-media.is-blurred {
	filter: blur(22px) saturate(1.1);
	transform: scale(1.08);
}
.as8-beat-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(9,0,15,.15) 0%, rgba(9,0,15,.35) 40%, rgba(9,0,15,.92) 100%);
	pointer-events: none;
}
.as8-beat-top {
	position: absolute;
	top: 12px;
	left: 16px;
	right: 16px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.as8-heat {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(9, 0, 15, .55);
	border: .5px solid rgba(255, 255, 255, .1);
	backdrop-filter: blur(10px);
}
.as8-heat-pips {
	display: flex;
	gap: 4px;
}
.as8-heat-pip {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .18);
}
.as8-heat-pip.is-on-soft { background: #67e8f9; box-shadow: 0 0 8px rgba(103, 232, 249, .5); }
.as8-heat-pip.is-on-quente { background: #c084fc; box-shadow: 0 0 8px rgba(192, 132, 252, .55); }
.as8-heat-pip.is-on-hot { background: #fb7185; box-shadow: 0 0 8px rgba(251, 113, 133, .55); }
.as8-heat-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .7);
}
.as8-beat-body {
	position: relative;
	z-index: 2;
	padding: 18px 16px 28px;
}
.as8-line {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 16px;
	text-shadow: 0 2px 16px rgba(0, 0, 0, .6);
}
.as8-choices { display: grid; gap: 8px; }
.as8-choice {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border-radius: 12px;
	border: .5px solid rgba(255, 255, 255, .14);
	background: rgba(255, 255, 255, .08);
	backdrop-filter: blur(12px);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	font-family: inherit;
}
.as8-choice:hover {
	border-color: rgba(125, 232, 255, .45);
	background: rgba(17, 187, 233, .12);
}
.as8-choice-lock {
	font-size: 11px;
	color: rgba(255, 255, 255, .45);
	margin-left: 6px;
}

/* Login gate sheet */
.as8-gate {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1200;
	align-items: flex-end;
	justify-content: center;
	background: rgba(9, 0, 15, .72);
	backdrop-filter: blur(8px);
	padding: 16px;
}
.as8-gate.is-on { display: flex; }
.as8-gate-card {
	width: 100%;
	max-width: 430px;
	padding: 20px 18px 22px;
	border-radius: 18px 18px 14px 14px;
	background: #160b24;
	border: .5px solid rgba(182, 77, 255, .25);
	box-shadow: 0 -20px 60px rgba(0, 0, 0, .5);
}
.as8-gate-card h3 {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
}
.as8-gate-card p {
	margin: 0 0 16px;
	font-size: 13px;
	color: var(--as8-soft);
	line-height: 1.45;
}

/* End screen */
.as8-end-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 16px;
}
.as8-stat {
	padding: 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .04);
	border: .5px solid rgba(255, 255, 255, .08);
}
.as8-stat-l {
	font-size: 10px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .35);
	margin-bottom: 4px;
}
.as8-stat-v {
	font-size: 18px;
	font-weight: 800;
}
.as8-cta-grid { display: grid; gap: 10px; margin-top: 8px; }

/* POV placeholder vibes */
.as8-pov-wine {
	background-image:
		radial-gradient(ellipse at 30% 20%, rgba(182, 77, 255, .35), transparent 50%),
		radial-gradient(ellipse at 80% 70%, rgba(17, 187, 233, .25), transparent 45%),
		linear-gradient(160deg, #2a0f3d 0%, #12081f 45%, #1a0820 100%);
}
.as8-pov-glass {
	background-image:
		radial-gradient(circle at 60% 30%, rgba(125, 232, 255, .2), transparent 40%),
		linear-gradient(180deg, #1a1030 0%, #0c0614 100%);
}
.as8-pov-varanda {
	background-image:
		radial-gradient(ellipse at 50% 0%, rgba(251, 113, 133, .25), transparent 45%),
		radial-gradient(ellipse at 20% 80%, rgba(182, 77, 255, .3), transparent 40%),
		linear-gradient(200deg, #241038 0%, #0a0512 70%);
}
.as8-pov-close {
	background-image:
		radial-gradient(circle at 40% 40%, rgba(182, 77, 255, .4), transparent 50%),
		linear-gradient(135deg, #1c0a2e, #0c0614);
}

@media (min-width: 768px) {
	.as8-root { min-height: calc(100vh - 80px); padding-top: 20px; }
}

/* —— Bar PLAYABLE v1 —— */
.as8-cover {
	position: relative;
	width: 100%;
	aspect-ratio: 9 / 16;
	max-height: min(78vh, 720px);
	border-radius: 18px;
	overflow: hidden;
	background: linear-gradient(160deg, #2a1245 0%, #0c0614 70%);
	box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.as8-cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.as8-cover-img.is-missing { opacity: 0; }
.as8-cover-shade {
	position: absolute;
	inset: auto 0 0;
	padding: 28px 18px 20px;
	background: linear-gradient(180deg, transparent 0%, rgba(8,4,16,.55) 35%, rgba(8,4,16,.92) 100%);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
}
.as8-cover-title {
	margin: 0;
	font-size: 42px;
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1;
	background: var(--as8-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 18px rgba(182,77,255,.35));
}
.as8-cover-sub {
	margin: 0 0 8px;
	font-size: 13px;
	color: rgba(255,255,255,.65);
}
.as8-btn-primary:disabled {
	opacity: .45;
	cursor: not-allowed;
	filter: none;
	box-shadow: none;
}
.as8-choice-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 14px;
}
.as8-loop-card.is-on {
	outline: 2px solid #11BBE9;
	box-shadow: 0 0 0 3px rgba(17,187,233,.25), 0 8px 24px rgba(0,0,0,.35);
}
#as8-top-cta,
#as8-pick-continue,
#as8-end-cta {
	margin-bottom: 4px;
}
.as8-loop-card {
	position: relative;
	aspect-ratio: 9 / 14;
	border: 0;
	padding: 0;
	border-radius: 14px;
	overflow: hidden;
	cursor: pointer;
	background: #12081c;
	font-family: inherit;
	color: #fff;
	box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.as8-loop-card:active { transform: scale(.98); }
.as8-loop-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #0c0614;
}
.as8-loop-label {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 28px 10px 10px;
	background: linear-gradient(180deg, transparent, rgba(0,0,0,.75));
	font-size: 13px;
	font-weight: 700;
	text-align: left;
}
.as8-loop-heat {
	position: absolute;
	top: 8px; left: 8px;
	z-index: 2;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 3px 7px;
	border-radius: 999px;
	background: rgba(0,0,0,.45);
	backdrop-filter: blur(6px);
}
.as8-loop-heat-soft { color: #7DE8FF; }
.as8-loop-heat-quente { color: #f9a8d4; }
.as8-loop-heat-hot { color: #f472b6; }
.as8-pick-label {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 700;
	color: rgba(255,255,255,.85);
}
.as8-pick-stage {
	position: relative;
	width: 100%;
	aspect-ratio: 9 / 16;
	max-height: min(62vh, 640px);
	border-radius: 16px;
	overflow: hidden;
	background: #0c0614;
	margin-bottom: 14px;
}
.as8-pick-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	background: #000;
}
.as8-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%) translateY(20px);
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(20,10,32,.92);
	border: .5px solid rgba(255,255,255,.12);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	opacity: 0;
	pointer-events: none;
	transition: .2s ease;
	z-index: 80;
}
.as8-toast.is-on {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
.as8-toast.is-watch {
	letter-spacing: 0.06em;
	font-weight: 650;
	padding: 11px 20px;
	border-color: rgba(125, 232, 255, 0.28);
	background: rgba(12, 8, 20, 0.88);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* —— Hub + play (v3 polish) —— */
.as8-shell-fit {
	display: flex;
	flex-direction: column;
	min-height: calc(100dvh - 72px);
	padding: 0 0 12px;
}
.as8-shell-fit.is-play {
	padding: 0;
	min-height: calc(100dvh - 56px);
}
.as8-root:has(.as8-shell-fit.is-play) {
	padding-bottom: 0;
	min-height: calc(100vh - 56px);
	background: #0c0614;
}
.as8-hub-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0 6px;
	flex-shrink: 0;
}
.as8-hub-text { flex: 1; min-width: 0; }
.as8-hub-text .as8-page-title {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1.15;
}
.as8-hub-text .as8-page-sub {
	margin: 2px 0 0;
	font-size: 11px;
	line-height: 1.3;
	color: rgba(255,255,255,.4);
}
.as8-icon-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	flex-shrink: 0;
	margin-top: 2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: .5px solid rgba(255,255,255,.14);
	background: rgba(255,255,255,.08);
	color: rgba(255,255,255,.78) !important;
	text-decoration: none !important;
	font-size: 17px;
	line-height: 1;
	transition: background .15s;
}
.as8-icon-btn:hover,
.as8-icon-btn:focus {
	background: rgba(255,255,255,.14);
	color: #fff !important;
}
.as8-icon-btn-sm {
	width: 32px;
	height: 32px;
	font-size: 15px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.as8-page-title {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.03em;
	color: #fff;
}
.as8-page-sub {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	color: rgba(255,255,255,.45);
}
.as8-cta-btn {
	width: 100%;
	padding: 14px 16px;
	margin: 0;
	border: 0;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	font-family: inherit;
	letter-spacing: .02em;
	cursor: pointer;
	flex-shrink: 0;
	transition: opacity .15s, transform .15s, background .2s;
}
.as8-cta-btn.is-inactive {
	background: rgba(255,255,255,.08);
	color: rgba(255,255,255,.28);
	cursor: default;
}
.as8-cta-btn.is-active {
	background: linear-gradient(135deg, #B64DFF, #11BBE9);
	color: #fff;
	box-shadow: 0 10px 28px rgba(182, 77, 255, .28);
}
.as8-cta-btn.is-active:active { transform: scale(.98); }
.as8-cta-wrap {
	flex-shrink: 0;
	padding: 8px 0 6px;
	margin-top: 4px;
}
.as8-cta-wrap .as8-cta-btn { margin-bottom: 0; }
.as8-step-hub.is-on {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}
.as8-cards-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
	min-height: 0;
	padding: 2px 0 0;
}
.as8-loc-card {
	position: relative;
	display: block;
	flex: 1 1 0;
	min-height: 0;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 14px;
	overflow: hidden;
	cursor: pointer;
	background: #0c0614;
	color: #fff;
	font-family: inherit;
	text-align: left;
	transition: border-color .2s ease, transform .15s ease, opacity .2s;
}
.as8-loc-card:active { transform: scale(.985); }
.as8-loc-card.is-locked { opacity: .58; cursor: default; }
.as8-loc-card.is-locked:active { transform: none; }
.as8-loc-card.is-selected {
	border-color: #B64DFF;
	box-shadow: 0 0 0 1px rgba(182, 77, 255, .35);
	opacity: 1;
}
.as8-loc-check {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 4;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #B64DFF;
	display: none;
	align-items: center;
	justify-content: center;
}
.as8-loc-card.is-selected .as8-loc-check { display: flex; }
.as8-loc-scene {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: #0c0614;
}
.as8-loc-scene::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(180deg, transparent 48%, rgba(0,0,0,.78) 100%);
}
.as8-loc-poster,
.as8-loc-scene .as8-loop-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.as8-loc-poster { z-index: 0; }
.as8-loc-scene .as8-loop-video { z-index: 1; background: transparent; }
.as8-loc-overlay,
.as8-loc-body,
.as8-loc-top { display: none; }
/* Open / Em breve — glass pill top-left */
.as8-loc-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 4;
	font-size: 9px;
	font-weight: 800;
	padding: 4px 9px;
	border-radius: 999px;
	letter-spacing: .05em;
	text-transform: uppercase;
	-webkit-backdrop-filter: blur(12px) saturate(160%);
	backdrop-filter: blur(12px) saturate(160%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
}
.as8-badge-open {
	color: #fff;
	border: .5px solid rgba(255,255,255,.3);
	background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.08));
}
.as8-badge-soon {
	color: rgba(255,255,255,.8);
	border: .5px solid rgba(255,255,255,.16);
	background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
}
/* Billboard title + underline (no glass strip) */
.as8-loc-copy {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 10px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 2px;
	pointer-events: none;
	text-align: left;
}
.as8-loc-name {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 2px 14px #000;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.as8-loc-sub {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: rgba(255,255,255,.55);
	line-height: 1.25;
	text-shadow: 0 1px 8px #000;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Play full-frame + FAB quick view */
.as8-step[hidden] { display: none !important; }
.as8-step.is-on { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.as8-step-play.is-on {
	margin: 0;
	flex: 1;
	min-height: calc(100dvh - 56px);
}
.as8-play-full {
	position: relative;
	flex: 1;
	min-height: calc(100dvh - 56px);
	width: 100%;
	overflow: hidden;
	background: #0c0614;
}
.as8-play-full .as8-q-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
	background: #000;
}
.as8-q-poster {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	pointer-events: none;
	opacity: 0;
	transition: opacity .18s ease;
	background: #000;
}
.as8-q-poster.is-on {
	opacity: 1;
}
.as8-buf {
	position: absolute;
	inset: 0;
	z-index: 5;
	pointer-events: none;
	opacity: 0;
	transition: opacity .28s ease;
	--as8-buf-pct: 0%;
}
.as8-buf.is-on {
	opacity: 1;
}
/* One continuous perimeter line — purple → cyan → pink (like Calor) */
.as8-buf-ring {
	position: absolute;
	inset: 0;
	padding: 3px;
	box-sizing: border-box;
	overflow: hidden;
	background: conic-gradient(
		from -90deg,
		#B64DFF 0%,
		#11BBE9 28%,
		#7DE8FF 48%,
		#ff4d9a 70%,
		#B64DFF var(--as8-buf-pct),
		rgba(255,255,255,.1) var(--as8-buf-pct) 100%
	);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	mask-composite: exclude;
	filter: drop-shadow(0 0 8px rgba(17, 187, 233, .4));
}
.as8-buf-ring::before {
	content: none;
}
/* Waiting: unbroken gradient comet sweeps the contour */
.as8-buf.is-wait .as8-buf-ring {
	background: rgba(255,255,255,.08);
}
.as8-buf.is-wait .as8-buf-ring::before {
	content: '';
	position: absolute;
	inset: -55%;
	background: conic-gradient(
		from 0deg,
		transparent 0 48%,
		#B64DFF 56%,
		#11BBE9 68%,
		#7DE8FF 78%,
		#ff4d9a 88%,
		transparent 96% 100%
	);
	animation: as8BufSpin 1.25s linear infinite;
	will-change: transform;
}
@keyframes as8BufSpin {
	to { transform: rotate(360deg); }
}
.as8-play-chrome {
	position: absolute;
	left: 0; right: 0;
	top: 0 !important;
	bottom: auto !important;
	z-index: 6; /* above QV scrim/sheet; below gate/end */
	padding: max(10px, env(safe-area-inset-top, 0px)) 14px 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(12,6,20,.42) 0%, transparent 100%);
	overflow: visible;
}
.as8-play-chrome .as8-calor,
.as8-play-chrome .as8-play-tools {
	pointer-events: auto;
}
.as8-play-tools {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

/* Question FAB — same liquid glass as backspace */
.as8-qv-fab {
	position: absolute;
	right: 16px;
	bottom: max(18px, env(safe-area-inset-bottom));
	z-index: 6;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: .5px solid rgba(255,255,255,.22);
	background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
	-webkit-backdrop-filter: blur(14px) saturate(160%);
	backdrop-filter: blur(14px) saturate(160%);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.3),
		0 10px 24px rgba(0,0,0,.28);
	color: #fff;
	font-size: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: transform .2s ease, background .2s ease;
}
.as8-qv-fab:active { transform: scale(.94); }
.as8-qv-fab.is-open {
	background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.08));
	font-size: 18px;
}
.as8-qv-fab.is-locked {
	opacity: 0.42;
	cursor: default;
}
.as8-qv-scrim {
	position: absolute;
	inset: 0;
	z-index: 4;
	background: rgba(0,0,0,.28);
	opacity: 0;
	transition: opacity .25s ease;
}
.as8-qv-scrim.is-on { opacity: 1; }
.as8-qv-sheet {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: max(88px, calc(72px + env(safe-area-inset-bottom)));
	z-index: 5;
	padding: 10px 12px 14px;
	border-radius: 20px;
	border: .5px solid rgba(255,255,255,.28);
	background: linear-gradient(
		160deg,
		rgba(255,255,255,.16) 0%,
		rgba(255,255,255,.06) 55%,
		rgba(255,255,255,.04) 100%
	);
	-webkit-backdrop-filter: blur(24px) saturate(180%);
	backdrop-filter: blur(24px) saturate(180%);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.28),
		0 18px 40px rgba(0,0,0,.35);
	opacity: 0;
	transform: translateY(18px) scale(.94);
	transform-origin: bottom center;
	pointer-events: none;
}
.as8-qv-sheet.is-on {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.as8-qv-sheet.is-bounce {
	animation: as8QvBounce .55s cubic-bezier(.22, 1.35, .36, 1) both;
}
@keyframes as8QvBounce {
	0% { opacity: 0; transform: translateY(28px) scale(.88); }
	55% { opacity: 1; transform: translateY(-6px) scale(1.03); }
	75% { transform: translateY(3px) scale(.99); }
	100% { opacity: 1; transform: translateY(0) scale(1); }
}
.as8-qv-handle {
	width: 36px;
	height: 4px;
	border-radius: 999px;
	background: rgba(255,255,255,.22);
	margin: 2px auto 10px;
}
.as8-qv-header {
	margin: 0 0 10px;
	padding: 10px 12px;
	border-radius: 14px;
	border: .5px solid rgba(255,255,255,.22);
	background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
	-webkit-backdrop-filter: blur(12px) saturate(160%);
	backdrop-filter: blur(12px) saturate(160%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
.as8-qv-header .as8-page-title {
	font-size: 18px;
	margin: 0 0 2px;
}
.as8-qv-header .as8-page-sub {
	margin: 0;
	color: rgba(255,255,255,.72);
	font-size: 12px;
}
.as8-qv-sheet .as8-q-line {
	margin: 0 0 10px;
	padding: 10px 12px;
	border-radius: 14px;
	border: .5px solid rgba(255,255,255,.18);
	background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
	-webkit-backdrop-filter: blur(12px) saturate(160%);
	backdrop-filter: blur(12px) saturate(160%);
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
	color: #fff;
}
.as8-q-choices {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.as8-q-btn,
.as8-glass-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border-radius: 14px;
	border: .5px solid rgba(255,255,255,.28);
	background: linear-gradient(
		135deg,
		rgba(255,255,255,.2) 0%,
		rgba(255,255,255,.08) 100%
	);
	-webkit-backdrop-filter: blur(16px) saturate(170%);
	backdrop-filter: blur(16px) saturate(170%);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.32),
		0 8px 22px rgba(0,0,0,.28);
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none !important;
	text-align: center;
}
.as8-q-btn:active { transform: scale(.98); }
.as8-q-btn-primary {
	background: linear-gradient(135deg, rgba(182,77,255,.55), rgba(17,187,233,.45));
	border: .5px solid rgba(255,255,255,.35);
}

/* Hide site agent FAB on all Às Oito views */
body.pt-as-oito-page .df-agent-fab-wrap,
body.pt-as-oito-page #btn-fab-main,
body.pt-as-oito-page .df-agent-fab {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

@media (max-height: 700px) {
	.as8-hub-text .as8-page-title { font-size: 20px; }
	.as8-qv-fab { width: 52px; height: 52px; font-size: 22px; }
}


/* —— Calor meter: locked to play TOP chrome (never bottom) —— */
.as8-calor {
	position: relative !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	bottom: auto !important;
	inset: auto !important;
	flex: 1;
	min-width: 0;
	max-width: calc(100% - 64px);
	z-index: 3;
	padding: 7px 10px;
	border-radius: 14px;
	border: .5px solid rgba(255,255,255,.2);
	background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
	-webkit-backdrop-filter: blur(14px) saturate(160%);
	backdrop-filter: blur(14px) saturate(160%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
	pointer-events: none;
	overflow: visible;
	opacity: 1 !important;
	transform: none;
}
.as8-calor.is-dim {
	opacity: 1 !important;
	visibility: visible !important;
}
.as8-calor-label {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255,255,255,.55);
}
.as8-calor-meta {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 5px;
}
.as8-calor-band {
	font-size: 12px;
	font-weight: 800;
	color: #7DE8FF;
}
.as8-calor[data-band="warm"] .as8-calor-band { color: #f9a8d4; }
.as8-calor[data-band="hot"] .as8-calor-band { color: #f472b6; }
.as8-calor-num {
	margin-left: auto;
	font-size: 14px;
	font-weight: 800;
	color: #fff;
}
.as8-calor-track {
	height: 5px;
	border-radius: 999px;
	background: rgba(255,255,255,.12);
	overflow: hidden;
}
.as8-calor-track i {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #11BBE9, #B64DFF 55%, #f472b6);
	transition: width .35s ease;
}
.as8-calor.is-pop {
	animation: as8CalorPulse .5s ease;
}
.as8-calor.is-pop .as8-calor-num {
	animation: as8CalorNumPop .45s cubic-bezier(.2,1.4,.3,1);
}
.as8-calor[data-band="soft"].is-pop {
	box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 0 0 1px rgba(125,232,255,.35), 0 0 22px rgba(17,187,233,.35);
}
.as8-calor[data-band="warm"].is-pop {
	box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 0 0 1px rgba(249,168,212,.4), 0 0 22px rgba(182,77,255,.35);
}
.as8-calor[data-band="hot"].is-pop {
	box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 0 0 1px rgba(244,114,182,.5), 0 0 26px rgba(244,114,182,.45);
}
.as8-calor-fx {
	position: absolute;
	left: 72%;
	top: 50%;
	width: 0;
	height: 0;
	pointer-events: none;
	z-index: 6;
	overflow: visible;
}
.as8-calor-pop {
	position: absolute;
	left: 0;
	top: 0;
	transform: translate(-50%, -50%);
	font-size: 26px;
	font-weight: 900;
	letter-spacing: -.02em;
	line-height: 1;
	white-space: nowrap;
	text-shadow: 0 2px 12px rgba(0,0,0,.5), 0 0 18px rgba(125,232,255,.35);
	animation: as8CalorFloat 1000ms cubic-bezier(.2,.8,.2,1) forwards;
	pointer-events: none;
}
.as8-calor-pop--soft { color: #7DE8FF; }
.as8-calor-pop--warm {
	color: #f9a8d4;
	text-shadow: 0 2px 12px rgba(0,0,0,.5), 0 0 18px rgba(182,77,255,.4);
}
.as8-calor-pop--hot {
	color: #fff;
	background: linear-gradient(135deg, #f472b6, #B64DFF, #fb923c);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 2px 10px rgba(244,114,182,.6));
}
.as8-calor-spark {
	position: absolute;
	left: 0;
	top: 0;
	width: var(--s, 4px);
	height: var(--s, 4px);
	margin: calc(var(--s, 4px) / -2) 0 0 calc(var(--s, 4px) / -2);
	border-radius: 50%;
	background: var(--c, #7DE8FF);
	box-shadow: 0 0 8px var(--c, #7DE8FF), 0 0 14px var(--c, #7DE8FF);
	animation: as8CalorSpark 820ms cubic-bezier(.15,.7,.2,1) forwards;
	pointer-events: none;
}
.as8-calor-spark.is-star {
	border-radius: 2px;
	transform: rotate(45deg);
	box-shadow: 0 0 10px var(--c, #7DE8FF);
}
.as8-calor-spark.is-ring {
	background: transparent;
	border: 1.5px solid var(--c, #7DE8FF);
	box-shadow: 0 0 10px var(--c, #7DE8FF);
	animation-name: as8CalorRing;
}
@keyframes as8CalorPulse {
	0% { transform: scale(1); }
	35% { transform: scale(1.05); }
	100% { transform: scale(1); }
}
@keyframes as8CalorNumPop {
	0% { transform: scale(1); }
	40% { transform: scale(1.4); color: #fff; }
	100% { transform: scale(1); }
}
@keyframes as8CalorFloat {
	0% { opacity: 0; transform: translate(-50%, 10%) scale(.45); }
	16% { opacity: 1; transform: translate(-50%, -30%) scale(1.2); }
	100% { opacity: 0; transform: translate(-50%, -110%) scale(.85); }
}
@keyframes as8CalorSpark {
	0% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
	100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0) rotate(180deg); }
}
@keyframes as8CalorRing {
	0% { opacity: .95; transform: translate(0, 0) scale(.4); }
	100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.8); }
}
@media (prefers-reduced-motion: reduce) {
	.as8-calor.is-pop,
	.as8-calor.is-pop .as8-calor-num,
	.as8-calor-pop,
	.as8-calor-spark { animation: none !important; }
	.as8-calor-pop { opacity: 0; }
	.as8-calor-spark { display: none; }
}

.as8-video-blur {
	position: absolute;
	inset: 0;
	z-index: 2;
	backdrop-filter: blur(18px) saturate(120%);
	-webkit-backdrop-filter: blur(18px) saturate(120%);
	background: rgba(8,4,16,.35);
}
.as8-video-blur[hidden] { display: none !important; }

.as8-gate,
.as8-end {
	position: absolute;
	inset: 0;
	z-index: 7;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 18px 14px max(24px, env(safe-area-inset-bottom));
	background: linear-gradient(180deg, transparent 20%, rgba(8,4,16,.55) 100%);
}
.as8-gate[hidden],
.as8-end[hidden] { display: none !important; }
.as8-gate-card,
.as8-end-card {
	width: 100%;
	max-width: 420px;
	padding: 16px 14px 14px;
	border-radius: 20px;
	border: .5px solid rgba(255,255,255,.28);
	background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
	-webkit-backdrop-filter: blur(24px) saturate(180%);
	backdrop-filter: blur(24px) saturate(180%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 18px 40px rgba(0,0,0,.35);
	display: flex;
	flex-direction: column;
	gap: 10px;
	animation: as8QvBounce .55s cubic-bezier(.22, 1.35, .36, 1) both;
}
.as8-gate-title,
.as8-end-kicker {
	margin: 0;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255,255,255,.55);
	text-align: center;
}
.as8-gate-copy,
.as8-end-copy {
	margin: 0;
	text-align: center;
	font-size: 14px;
	line-height: 1.4;
	color: rgba(255,255,255,.88);
}
.as8-end-score {
	margin: 0;
	text-align: center;
	font-size: 56px;
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1;
	background: linear-gradient(135deg, #B64DFF, #11BBE9);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.as8-end-band {
	margin: -4px 0 4px;
	text-align: center;
	font-size: 16px;
	font-weight: 800;
	color: #fff;
}
