@font-face {
	font-family: "OtaAnimeDotGothic16";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/DotGothic16-Regular.ttf") format("truetype");
}

.ota-ad {
	--ota-ad-ink: #24243a;
	--ota-ad-muted: #626277;
	--ota-ad-accent: #d83f5f;
	--ota-ad-accent-dark: #a82647;
	--ota-ad-blue: #334a7d;
	--ota-ad-purple: #6d3b8f;
	--ota-ad-cream: #fff9f1;
	--ota-ad-yellow: #f4c95d;
	--ota-ad-border: #ddd8e1;
	--ota-ad-white: #fff;
	position: relative;
	isolation: isolate;
	width: min(100%, 980px);
	margin: 2rem auto;
	color: var(--ota-ad-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.7;
}

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

.ota-ad__app {
	position: relative;
	overflow: hidden;
	min-height: 420px;
	padding: clamp(1.25rem, 4vw, 3.5rem);
	border: 1px solid var(--ota-ad-border);
	border-radius: 28px;
	background:
		radial-gradient(circle at 100% 0, rgb(244 201 93 / 22%), transparent 27%),
		radial-gradient(circle at 0 100%, rgb(216 63 95 / 12%), transparent 34%),
		var(--ota-ad-cream);
	box-shadow: 0 22px 60px rgb(36 36 58 / 10%);
}

.ota-ad__status {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ota-ad__intro,
.ota-ad__result-heading {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.ota-ad__eyebrow {
	margin: 0 0 0.65rem;
	color: var(--ota-ad-accent-dark);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.ota-ad__title,
.ota-ad__question-title {
	margin: 0;
	color: var(--ota-ad-ink);
	font-family: inherit;
	font-size: clamp(1.75rem, 5vw, 3.25rem);
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.035em;
}

.ota-ad__lead {
	max-width: 640px;
	margin: 1rem auto 0;
	color: var(--ota-ad-muted);
	font-size: clamp(1rem, 2.2vw, 1.18rem);
}

.ota-ad__intro-points {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.25rem;
	padding: 0;
	margin: 2rem 0;
	list-style: none;
	color: var(--ota-ad-muted);
	font-size: 0.88rem;
}

.ota-ad__intro-points li::before {
	content: "✓";
	margin-right: 0.4rem;
	color: var(--ota-ad-accent-dark);
	font-weight: 900;
}

.ota-ad__button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.35rem;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-weight: 800;
	line-height: 1.3;
	text-align: center;
	cursor: pointer;
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.ota-ad__button:not(:disabled):hover {
	transform: translateY(-2px);
}

.ota-ad__button:focus-visible,
.ota-ad input:focus-visible + .ota-ad__option-number {
	outline: 3px solid var(--ota-ad-yellow);
	outline-offset: 3px;
}

.ota-ad__button:disabled {
	opacity: 0.62;
	cursor: wait;
}

.ota-ad__button--primary {
	color: var(--ota-ad-white);
	background: var(--ota-ad-accent);
	box-shadow: 0 9px 20px rgb(168 38 71 / 22%);
}

.ota-ad__button--primary:not(:disabled):hover {
	background: var(--ota-ad-accent-dark);
}

.ota-ad__button--secondary {
	color: var(--ota-ad-ink);
	border-color: var(--ota-ad-border);
	background: var(--ota-ad-white);
}

.ota-ad__button--share {
	color: var(--ota-ad-white);
	background: var(--ota-ad-ink);
}

.ota-ad__question-view {
	max-width: 760px;
	margin: 0 auto;
}

.ota-ad__progress-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.45rem;
	color: var(--ota-ad-muted);
	font-size: 0.82rem;
	font-weight: 700;
}

.ota-ad__progress-label {
	color: var(--ota-ad-accent-dark);
	font-size: 1rem;
	font-weight: 900;
}

.ota-ad__progress {
	display: block;
	width: 100%;
	height: 9px;
	margin: 0 0 clamp(1.75rem, 4vw, 3rem);
	border: 0;
	border-radius: 999px;
	background: #e6e0e5;
	overflow: hidden;
	appearance: none;
}

.ota-ad__progress::-webkit-progress-bar {
	background: #e6e0e5;
}

.ota-ad__progress::-webkit-progress-value {
	background: linear-gradient(90deg, var(--ota-ad-accent), var(--ota-ad-yellow));
	border-radius: 999px;
}

.ota-ad__progress::-moz-progress-bar {
	background: linear-gradient(90deg, var(--ota-ad-accent), var(--ota-ad-yellow));
	border-radius: 999px;
}

.ota-ad__fieldset {
	min-width: 0;
	padding: 0;
	margin: 0;
	border: 0;
}

.ota-ad__question-title {
	width: 100%;
	max-width: 100%;
	padding: 0 0 1.5rem;
	font-size: clamp(1.45rem, 4vw, 2.25rem);
	line-height: 1.55;
	overflow-wrap: anywhere;
	scroll-margin-top: calc(var(--swl-fix_headerH, 0px) + 1.5rem);
	text-align: center;
}

/* SWELL's mobile sticky header sits below the admin bar. The document's
 * scroll-padding already accounts for the admin bar, so do not add it twice. */
@media (max-width: 959px) {
	.ota-ad .ota-ad__question-title {
		scroll-margin-top: calc(max(var(--swl-headerH, 0px), var(--swl-fix_headerH, 0px)) + 1.5rem);
	}
}

.ota-ad__fieldset > .ota-ad__help { margin-top: 0; }

.ota-ad__question-navigation {
	margin: 1.5rem 0;
	border: 1px solid #8054a6;
	border-radius: 8px;
	background: #140d20;
	color: #f8efff;
}

.ota-ad__question-navigation-summary {
	padding: 0.85rem 1rem;
	cursor: pointer;
	font-size: 0.95rem;
}

.ota-ad__question-navigation-list { display: grid; gap: 0.5rem; padding: 0 0.75rem 0.75rem; }
.ota-ad__question-jump {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	min-height: 44px;
	padding: 0.75rem;
	border: 1px solid #765692;
	border-radius: 4px;
	background: #21132e;
	color: #f8efff;
	font: inherit;
	font-size: 0.9rem;
	line-height: 1.6;
	text-align: left;
	overflow-wrap: anywhere;
	cursor: pointer;
}
.ota-ad__question-jump[aria-current] { border-color: #72eddf; }
.ota-ad__question-jump-status { flex-shrink: 0; color: #bdacd1; font-size: 0.75rem; }
.ota-ad__question-jump:hover { background: #362047; }
.ota-ad__question-jump:focus-visible,
.ota-ad__question-navigation-summary:focus-visible { outline: 2px solid #72eddf; outline-offset: 3px; }
.ota-ad [data-ota-ad-result-shortcut] { margin-top: 1rem; width: 100%; }
.ota-ad [data-ota-ad-result-shortcut][hidden] { display: none; }

.ota-ad__help {
	margin: 0.65rem 0 1.5rem;
	color: var(--ota-ad-muted);
	text-align: center;
}

/* Keep the site's article-heading decorations out of the diagnosis UI. */
.ota-ad.ota-ad :is(h2, h3, h4, h5) {
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}
.ota-ad.ota-ad :is(h2, h3, h4, h5)::before,
.ota-ad.ota-ad :is(h2, h3, h4, h5)::after { content: none; }

.ota-ad__field-error {
	padding: 0.75rem 1rem;
	margin: 0 0 1rem;
	border-left: 4px solid #b42318;
	border-radius: 8px;
	color: #7a271a;
	background: #fef3f2;
	font-weight: 700;
}

.ota-ad__options {
	display: grid;
	gap: 0.75rem;
}

.ota-ad__option {
	position: relative;
	display: grid;
	grid-template-columns: 2.25rem 1fr 1.5rem;
	gap: 0.7rem;
	min-height: 60px;
	align-items: center;
	padding: 0.8rem 1rem;
	border: 2px solid var(--ota-ad-border);
	border-radius: 15px;
	background: rgb(255 255 255 / 88%);
	cursor: pointer;
	transition: border-color 140ms ease, transform 140ms ease, background-color 140ms ease;
}

.ota-ad__option:hover {
	transform: translateX(3px);
	border-color: #c3a8b3;
}

.ota-ad__option:has(input:checked) {
	border-color: var(--ota-ad-accent);
	background: #fff0f3;
	box-shadow: inset 4px 0 0 var(--ota-ad-accent);
}

.ota-ad__option input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.ota-ad__option-number {
	color: var(--ota-ad-muted);
	font-size: 0.78rem;
	font-weight: 800;
}

.ota-ad__option-copy {
	font-weight: 750;
	line-height: 1.45;
}

.ota-ad__option-mark {
	display: grid;
	width: 1.4rem;
	height: 1.4rem;
	place-items: center;
	border: 2px solid #bbb4bd;
	border-radius: 50%;
	color: transparent;
	font-size: 0.75rem;
	font-weight: 900;
}

.ota-ad__option:has(input[type="checkbox"]) .ota-ad__option-mark {
	border-radius: 5px;
}

.ota-ad__option:has(input:checked) .ota-ad__option-mark {
	color: var(--ota-ad-white);
	border-color: var(--ota-ad-accent);
	background: var(--ota-ad-accent);
}

.ota-ad__controls {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 2rem;
}

.ota-ad__loading {
	display: grid;
	min-height: 330px;
	place-items: center;
	align-content: center;
	text-align: center;
}

.ota-ad__loading-orb {
	width: 72px;
	height: 72px;
	border: 8px solid rgb(216 63 95 / 16%);
	border-top-color: var(--ota-ad-accent);
	border-radius: 50%;
	animation: ota-ad-spin 800ms linear infinite;
}

.ota-ad__loading-title {
	margin: 1.2rem 0 0;
	font-size: 1.35rem;
}

@keyframes ota-ad-spin {
	to { transform: rotate(360deg); }
}

.ota-ad__results {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
}

.ota-ad__result-heading {
	margin-bottom: 0.5rem;
}

.ota-ad__profile {
	width: min(100%, 760px);
	padding: clamp(1rem, 3vw, 1.5rem);
	margin-inline: auto;
	border: 1px solid var(--ota-ad-border);
	border-radius: 18px;
	background: var(--ota-ad-white);
}

.ota-ad__profile-stack {
	display: grid;
	gap: clamp(0.85rem, 2.5vw, 1.25rem);
	justify-items: center;
}

.ota-ad__profile-heading,
.ota-ad__profile-copy {
	width: 100%;
	min-width: 0;
}

.ota-ad__profile-heading {
	text-align: center;
}

.ota-ad__profile-portrait {
	position: relative;
	width: min(100%, 360px);
	max-height: 360px;
	aspect-ratio: 1;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ota-ad-border);
	border-radius: 4px;
	background: #0b0712;
}

.ota-ad__profile-portrait::after {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
	background: repeating-linear-gradient(180deg, transparent 0 3px, rgb(98 231 255 / 5%) 3px 4px);
}

.ota-ad__profile-portrait-image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 360px;
	object-fit: contain;
	image-rendering: pixelated;
}

.ota-ad__profile-kicker,
.ota-ad__profile-note {
	margin: 0;
}

.ota-ad__profile-kicker {
	color: var(--ota-ad-blue);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.1em;
}

.ota-ad__profile-title {
	margin: 0.35rem 0 0.6rem;
	font-size: clamp(1.6rem, 4vw, 2.35rem);
	line-height: 1.25;
}

.ota-ad__profile-summary {
	margin: 0;
	line-height: 1.9;
}

.ota-ad__profile-traits {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	padding: 0;
	margin: 0.9rem 0 0;
	list-style: none;
}

.ota-ad__profile-traits li {
	padding: 0.25rem 0.65rem;
	border: 1px solid var(--ota-ad-border);
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 800;
}

.ota-ad__profile-note {
	margin-top: 0.8rem;
	color: var(--ota-ad-muted);
	font-size: 0.75rem;
}

.ota-ad__top-list,
.ota-ad__compact-list,
.ota-ad__meta,
.ota-ad__tags {
	padding: 0;
	margin: 0;
	list-style: none;
}

.ota-ad__top-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	min-width: 0;
	gap: 1.5rem;
	width: min(100%, 760px);
	margin-inline: auto;
}

.ota-ad__top-card {
	--ota-ad-rank: var(--ota-ad-blue);
	--ota-ad-rank-soft: #edf1fa;
	overflow: hidden;
	border: 1px solid var(--ota-ad-border);
	border-radius: 24px;
	background: var(--ota-ad-white);
	box-shadow: 0 14px 34px rgb(36 36 58 / 9%);
}

.ota-ad__top-card--1 {
	--ota-ad-rank: #9a6a00;
	--ota-ad-rank-soft: #fff4cf;
	border-color: #dfba50;
	box-shadow: 0 18px 42px rgb(154 106 0 / 16%);
}

.ota-ad__top-card--2 {
	--ota-ad-rank: #5c6672;
	--ota-ad-rank-soft: #edf0f3;
}

.ota-ad__top-card--3 {
	--ota-ad-rank: #8d4d2d;
	--ota-ad-rank-soft: #f8e8df;
}

.ota-ad__card-header {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 1rem clamp(1rem, 3vw, 1.5rem);
	border-bottom: 1px solid var(--ota-ad-border);
	background: linear-gradient(90deg, var(--ota-ad-rank-soft), var(--ota-ad-white) 52%);
}

.ota-ad__rank-badge {
	display: inline-flex;
	min-width: 62px;
	height: 46px;
	flex: 0 0 auto;
	align-items: baseline;
	justify-content: center;
	gap: 0.12rem;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	color: var(--ota-ad-white);
	background: var(--ota-ad-rank);
	box-shadow: 0 6px 14px rgb(36 36 58 / 15%);
}

.ota-ad__rank-number {
	font-size: 1.55rem;
	font-weight: 900;
	line-height: 1;
}

.ota-ad__rank-unit {
	font-size: 0.74rem;
	font-weight: 900;
}

.ota-ad__visual--media .ota-ad__media-stage {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px 12px;
	min-height: 180px;
	gap: 12px;
}
.ota-ad__visual--media .ota-ad__media-image {
	display: block;
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: 560px;
	object-fit: contain;
}
.ota-ad__media-stage > a { display: block; max-width: 100%; }
.ota-ad__media-stack { max-width: 100%; width: 500px; }
.ota-ad__media-stack .ota-ad__media-image { width: 100%; max-height: none; margin: 0; }
.ota-ad__media-copyright { display: block; margin-top: 4px; font-size: 11px; overflow-wrap: anywhere; }
.ota-ad__media-frame { display: block; width: 600px; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; background: #10081c; }
.ota-ad__media-unavailable { color: #d8cbe7; padding: 16px; font-size: 14px; }
@media (max-width: 640px) { .ota-ad__visual--media .ota-ad__media-stage { padding: 14px 8px; } }

.ota-ad__visual {
	margin: 0;
	background: #f4f1f4;
}

.ota-ad__visual-image,
.ota-ad__poster-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.ota-ad__poster-placeholder {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: var(--ota-ad-white);
	background:
		radial-gradient(circle at 76% 16%, rgb(255 255 255 / 22%) 0 6%, transparent 6.5%),
		linear-gradient(145deg, rgb(255 255 255 / 16%) 0 28%, transparent 28% 100%),
		linear-gradient(145deg, var(--ota-ad-blue), var(--ota-ad-accent) 75%, #f08b73);
}

.ota-ad__poster-placeholder::after {
	content: "";
	position: absolute;
	right: -30px;
	bottom: -40px;
	width: clamp(150px, 30vw, 240px);
	height: clamp(150px, 30vw, 240px);
	border: 28px solid rgb(255 255 255 / 12%);
	border-radius: 50%;
}

.ota-ad__poster-kicker {
	position: relative;
	z-index: 1;
	margin-bottom: 0.15rem;
	font-size: 0.65rem;
	font-weight: 900;
	letter-spacing: 0.2em;
	opacity: 0.78;
}

.ota-ad__poster-symbol {
	position: relative;
	z-index: 1;
	font-size: clamp(3.6rem, 11vw, 7rem);
	font-weight: 900;
	line-height: 1;
	text-shadow: 0 5px 18px rgb(0 0 0 / 22%);
}

.ota-ad__poster-title {
	position: relative;
	z-index: 1;
	max-width: 80%;
	margin-top: 0.45rem;
	font-size: clamp(0.82rem, 2vw, 1rem);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-align: center;
}

.ota-ad__visual-source {
	min-height: 38px;
	padding: 0.5rem clamp(1rem, 3vw, 1.5rem);
	border-bottom: 1px solid var(--ota-ad-border);
	color: var(--ota-ad-muted);
	background: var(--ota-ad-white);
	font-size: 0.72rem;
	text-align: right;
}

.ota-ad__visual-source-link {
	color: var(--ota-ad-blue);
	font-weight: 700;
}

.ota-ad__visual-source--pending {
	font-style: italic;
}

.ota-ad__card-body {
	padding: clamp(1rem, 3vw, 1.5rem);
}

.ota-ad__anime-heading {
	min-width: 0;
	flex: 1 1 auto;
}

.ota-ad__rank-role {
	margin: 0 0 0.25rem;
	color: var(--ota-ad-blue);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.ota-ad__anime-title {
	min-width: 0;
	flex: 1 1 auto;
	margin: 0;
	font-size: clamp(1.45rem, 3.6vw, 2rem);
	line-height: 1.3;
	overflow-wrap: anywhere;
	text-wrap: wrap;
}

.ota-ad__anime-meta {
	margin: 0.42rem 0 0;
	color: var(--ota-ad-muted);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

/* Keep article-theme heading/paragraph spacing out of recommendation headers. */
.ota-ad .ota-ad__card-header .ota-ad__rank-role,
.ota-ad .ota-ad__card-header .ota-ad__anime-title,
.ota-ad .ota-ad__card-header .ota-ad__anime-meta {
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	background: none;
}

.ota-ad .ota-ad__card-header .ota-ad__anime-title::before,
.ota-ad .ota-ad__card-header .ota-ad__anime-title::after {
	display: none;
}

.ota-ad__anime-heading {
	display: grid;
	gap: 0.3rem;
}

.ota-ad__reason-panel {
	padding: 0.9rem 1rem;
	border-left: 4px solid var(--ota-ad-accent);
	border-radius: 0 12px 12px 0;
	background: #fff2f4;
}

.ota-ad__section-label {
	margin: 0 0 0.2rem;
	color: var(--ota-ad-accent-dark);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.ota-ad__reason,
.ota-ad__compact-reason {
	margin: 0;
	color: #424256;
}

.ota-ad__details {
	margin-top: 1rem;
	border: 1px solid var(--ota-ad-border);
	border-radius: 10px;
	overflow: hidden;
}

.ota-ad__details-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.72rem 0.85rem;
	cursor: pointer;
	font-size: 0.82rem;
	font-weight: 900;
}

.ota-ad__details-summary::-webkit-details-marker {
	display: none;
}

.ota-ad__details-summary::after {
	content: "＋";
	font-size: 1.1rem;
	line-height: 1;
}

.ota-ad__details[open] .ota-ad__details-summary::after {
	content: "－";
}

.ota-ad__details-body {
	padding: 0 0.85rem 0.85rem;
	border-top: 1px solid var(--ota-ad-border);
}

.ota-ad__introduction {
	margin-top: 1rem;
}

.ota-ad__anime-intro {
	margin: 0;
	color: var(--ota-ad-muted);
	font-size: 0.9rem;
}

.ota-ad__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.8rem;
	margin-top: 1rem;
	color: var(--ota-ad-muted);
	font-size: 0.83rem;
}

.ota-ad__meta li:not(:last-child)::after {
	content: "・";
	margin-left: 0.8rem;
}

.ota-ad__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-top: 0.8rem;
}

.ota-ad__tags li {
	padding: 0.18rem 0.55rem;
	border-radius: 999px;
	color: var(--ota-ad-blue);
	background: #edf1fa;
	font-size: 0.75rem;
	font-weight: 700;
}

.ota-ad__warning,
.ota-ad__watch-note,
.ota-ad__vod-empty {
	margin: 0.9rem 0 0;
	font-size: 0.8rem;
}

.ota-ad__warning {
	padding: 0.5rem 0.7rem;
	border-radius: 8px;
	color: #7a271a;
	background: #fef3f2;
}

.ota-ad__vod-empty {
	padding-top: 0.9rem;
	border-top: 1px solid var(--ota-ad-border);
	color: var(--ota-ad-muted);
}

.ota-ad__vod-empty p {
	margin: 0;
}

.ota-ad__watch-note {
	color: var(--ota-ad-muted);
}

.ota-ad__vod {
	margin-top: 1.15rem;
	padding-top: 1rem;
	border-top: 1px solid var(--ota-ad-border);
}

.ota-ad__vod--compact {
	margin-top: 0.45rem;
	padding-top: 0;
	border-top: 0;
}

.ota-ad__vod--demo {
	position: relative;
}

.ota-ad__vod-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.55rem;
}

.ota-ad__vod-label {
	margin: 0;
	color: var(--ota-ad-ink);
	font-size: 0.78rem;
	font-weight: 900;
}

.ota-ad__vod-hint {
	margin: 0;
	color: var(--ota-ad-muted);
	font-size: 0.68rem;
}

.ota-ad__vod-rail {
	position: relative;
}

.ota-ad__vod-rail::after {
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	bottom: 0.45rem;
	width: 3.5rem;
	pointer-events: none;
	background: linear-gradient(90deg, transparent, rgb(255 255 255 / 94%));
	content: "";
}

.ota-ad__vod-rail--compact::after {
	display: none;
}

.ota-ad__vod-links {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.45rem;
	padding: 2.2rem 3.1rem 0.95rem 0.1rem;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-padding-inline: 0.1rem;
	scroll-snap-type: inline mandatory;
	scrollbar-color: #c8bfca transparent;
	scrollbar-gutter: stable;
	scrollbar-width: thin;
}

.ota-ad__vod-links:focus-visible {
	border-radius: 10px;
	outline: 3px solid var(--ota-ad-yellow);
	outline-offset: 3px;
}

.ota-ad__vod-links--compact {
	padding: 2.2rem 0 0;
	overflow: visible;
}

.ota-ad__vod-link {
	position: relative;
	display: inline-flex;
	width: 132px;
	min-height: 48px;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0.42rem 0.65rem;
	border: 1px solid var(--ota-ad-blue);
	border-radius: 11px;
	color: var(--ota-ad-blue);
	background: var(--ota-ad-white);
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	scroll-snap-align: start;
	transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.ota-ad__vod-link:hover,
.ota-ad__vod-link:focus-visible {
	transform: translateY(-1px);
	color: var(--ota-ad-white);
	background: var(--ota-ad-blue);
}

.ota-ad__vod-service {
	display: block;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
	white-space: nowrap;
}

.ota-ad__vod-service[hidden] {
	display: none !important;
}

.ota-ad__vod-asp-text {
	display: grid;
	width: 100%;
	min-height: 30px;
	place-items: center;
	color: var(--ota-ad-blue);
	font-family: Arial, sans-serif;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.ota-ad__vod-asp-text[data-service="u-next"] {
	color: #111118;
	font-size: 1.04rem;
	letter-spacing: 0.08em;
}

.ota-ad__vod-asp-text[data-service="hulu"] {
	color: #1ce783;
	font-family: "Arial Black", Arial, sans-serif;
	font-size: 1.12rem;
	letter-spacing: -0.03em;
	text-decoration-color: #1ce783;
	text-shadow: 0 0 7px rgb(28 231 131 / 24%);
}

.ota-ad__vod-asp-text[data-service="disney-plus"] {
	font-size: 1.02rem;
}

.ota-ad__vod-brand {
	display: flex;
	width: 100%;
	align-items: center;
	gap: 0.38rem;
}

.ota-ad__vod-mark {
	display: grid;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	place-items: center;
	border-radius: 7px;
	color: #fff;
	background: var(--ota-ad-blue);
	font-size: 0.68rem;
	font-weight: 900;
}

.ota-ad__vod-mark[data-tone="pink"] {
	background: #b52c68;
}

.ota-ad__vod-mark[data-tone="blue"] {
	background: #1769aa;
}

.ota-ad__vod-mark[data-tone="green"] {
	background: #237b5c;
}

.ota-ad__vod-mark[data-tone="orange"] {
	background: #bd5a22;
}

.ota-ad__vod-mark[data-tone="red"] {
	background: #ad2f34;
}

.ota-ad__vod-mark[data-tone="black"] {
	background: #17171d;
}

.ota-ad__vod-promo {
	position: absolute;
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	z-index: 1;
	bottom: calc(100% + 0.3rem);
	left: 0.35rem;
	max-width: calc(100% - 0.7rem);
	padding: 0.14rem 0.35rem;
	border: 1px solid #e2b63c;
	border-radius: 999px;
	color: #5b4100;
	background: #fff3ae;
	box-shadow: 0 2px 6px rgb(91 65 0 / 12%);
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	text-shadow: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ota-ad__vod-logo {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 108px;
	height: 30px;
	padding: 1px 2px;
	background: transparent;
	filter: drop-shadow(0 0 4px rgb(255 255 255 / 16%));
	object-fit: contain;
	object-position: center;
}

.ota-ad__vod-logo[data-service="u-next"],
.ota-ad__vod-logo[data-service="dmm-tv"] {
	filter: brightness(0) invert(1) drop-shadow(0 0 4px rgb(255 255 255 / 28%));
}

.ota-ad__vod-logo[data-service="disney-plus"] {
	filter: brightness(1.65) saturate(1.08) drop-shadow(0 0 4px rgb(98 231 255 / 22%));
}

.ota-ad__vod-logo[data-service="netflix"],
.ota-ad__vod-logo[data-service="d-anime-store"] {
	filter: none;
}

.ota-ad__affiliate-impression {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 1px;
	height: 1px;
	border: 0;
	opacity: 0;
	pointer-events: none;
}

.ota-ad__vod-link--disabled {
	color: var(--ota-ad-muted);
	border-color: var(--ota-ad-border);
	background: #f5f4f6;
}

.ota-ad__vod-link--demo {
	position: relative;
	color: var(--ota-ad-ink);
	border-color: #c9b9d9;
	background: linear-gradient(145deg, #fff, #faf7ff);
	cursor: default;
}

.ota-ad__vod-link--demo:hover {
	color: var(--ota-ad-ink);
	background: linear-gradient(145deg, #fff, #faf7ff);
	transform: none;
}

.ota-ad__vod-link--demo::after {
	position: absolute;
	top: -6px;
	right: 5px;
	padding: 0.08rem 0.3rem;
	border-radius: 999px;
	color: #fff;
	background: var(--ota-ad-purple);
	content: "DEMO";
	font-size: 0.48rem;
	font-weight: 900;
	letter-spacing: 0.05em;
}

.ota-ad__vod-demo-note {
	margin: 0.25rem 0 0;
	color: var(--ota-ad-muted);
	font-size: 0.68rem;
}

.ota-ad__vod-next {
	position: absolute;
	z-index: 2;
	top: 50%;
	right: 0.1rem;
	display: grid;
	width: 42px;
	height: 42px;
	padding: 0 0 0.1rem;
	place-items: center;
	border: 1px solid var(--ota-ad-border);
	border-radius: 50%;
	color: var(--ota-ad-ink);
	background: var(--ota-ad-white);
	box-shadow: 0 5px 16px rgb(36 36 58 / 18%);
	font: inherit;
	font-size: 1.7rem;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-56%);
}

.ota-ad__vod-next:hover,
.ota-ad__vod-next:focus-visible {
	color: var(--ota-ad-white);
	background: var(--ota-ad-blue);
}

.ota-ad__vod-next:focus-visible {
	outline: 3px solid var(--ota-ad-yellow);
	outline-offset: 2px;
}

.ota-ad__vod-next:disabled {
	display: none;
}

.ota-ad__subheading {
	width: min(100%, 760px);
	margin: 1rem auto 0;
	font-size: 1.35rem;
}

.ota-ad__compact-list {
	display: grid;
	gap: 0.65rem;
	width: min(100%, 760px);
	margin-inline: auto;
}

.ota-ad__compact-card {
	display: grid;
	grid-template-columns: 2.4rem 1fr auto;
	gap: 0.85rem;
	align-items: center;
	padding: 1rem;
	border: 1px solid var(--ota-ad-border);
	border-radius: 14px;
	background: rgb(255 255 255 / 84%);
}

.ota-ad__compact-rank {
	display: grid;
	width: 2.2rem;
	height: 2.2rem;
	place-items: center;
	border-radius: 50%;
	color: var(--ota-ad-white);
	background: var(--ota-ad-blue);
	font-weight: 900;
}

.ota-ad__compact-title {
	margin: 0;
	font-size: 1rem;
}

.ota-ad__compact-reason {
	margin-top: 0.2rem;
	font-size: 0.82rem;
}

.ota-ad__compact-meta {
	color: var(--ota-ad-muted);
	font-size: 0.76rem;
	white-space: nowrap;
}

.ota-ad__result-controls {
	display: grid;
	gap: 1rem;
	width: min(100%, 760px);
	padding-top: 1rem;
	margin-inline: auto;
	border-top: 1px solid var(--ota-ad-border);
}

.ota-ad__result-actions {
	margin: 2rem 0;
}

.ota-ad__result-action-buttons {
	display: grid;
	grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
	align-items: stretch;
}

.ota-ad__result-action-buttons .ota-ad__button {
	width: 100%;
	min-width: 0;
	min-height: 80px;
	margin: 0;
	padding: 0.85rem 0.5rem;
	font-size: clamp(0.8rem, 2.5vw, 1rem);
	line-height: 1.6;
	white-space: normal;
	overflow-wrap: anywhere;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
}

.ota-ad__result-action-buttons .ota-ad__related-button {
	background: #251434;
	border-color: #c88de9;
	color: #fff;
	text-wrap: balance;
}

.ota-ad__social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	color: #fff;
	background: #080808;
}
.ota-ad__social-icon svg { width: 23px; height: 23px; }
.ota-ad__social-button--instagram .ota-ad__social-icon { background: linear-gradient(35deg, #f8ae44, #dc3279 50%, #7651ce); }
.ota-ad__related-panel,
.ota-ad__share-preview {
	margin-top: 1.25rem;
	padding: clamp(1rem, 4vw, 2rem);
	border: 1px solid #8c5aa9;
	background: #140d1e;
	border-radius: 4px;
}
.ota-ad__related-title { text-align: center; font-size: clamp(1.3rem, 4vw, 1.8rem); }
.ota-ad__related-panel .ota-ad__profile-portrait { max-width: 230px; margin: 1rem auto; }
.ota-ad__related-summary { line-height: 1.9; }
.ota-ad__related-titles { padding-left: 1.5rem; }
.ota-ad__related-titles li { padding: 0.8rem 0; border-bottom: 1px solid #3b294a; }
.ota-ad__related-titles h5 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.ota-ad__related-titles p { margin: 0; font-size: 0.9rem; line-height: 1.9; }
.ota-ad__related-note { color: var(--ota-ad-muted); font-size: 0.8rem; line-height: 1.8; }
.ota-ad__share-preview p { white-space: pre-line; line-height: 1.9; }
.ota-ad__share-preview-visual {
	max-width: 460px;
	margin: 1.5rem auto;
	padding: 1.5rem 1rem;
	text-align: center;
	border: 1px solid #9365b7;
	background: radial-gradient(circle at center, #302044, #0b0712 75%);
}
.ota-ad__share-preview-visual .ota-ad__profile-portrait { width: 100%; min-width: 0; max-width: 280px; margin: 1rem auto; }
.ota-ad__share-preview-type { display: block; font-size: clamp(1.2rem, 4vw, 1.7rem); }
.ota-ad__share-preview-text { padding: 1rem; background: #0c0813; border-left: 3px solid #b57bdc; }
.ota-ad__story-card { display: block; width: 100%; max-width: 360px; height: auto; margin: 1rem auto; border: 1px solid #9365b7; }
.ota-ad__story-card[hidden] { display: none; }
.ota-ad__story-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ota-ad__story-actions .ota-ad__button { flex: 1 1 180px; white-space: normal; }
.ota-ad__story-actions .ota-ad__button[hidden] { display: none; }
.ota-ad__story-card { -webkit-touch-callout: default; user-select: auto; -webkit-user-select: auto; }
.ota-ad__x-choices, .ota-ad__x-image-panel { display: flex; flex-direction: column; gap: 1rem; }
.ota-ad__x-choices[hidden], .ota-ad__x-image-panel[hidden] { display: none; }
.ota-ad__x-image-panel .ota-ad__share-status:empty, .ota-ad__x-image-panel button[hidden] { display: none; }
.ota-ad__x-attachment-note { color: #e8d4fa; font-size: 0.95rem; }
.ota-ad__share-status { overflow-wrap: anywhere; font-size: 0.9rem; }
@media (max-width: 540px) {
	.ota-ad__result-action-buttons { gap: 0.5rem; }
	.ota-ad__result-action-buttons .ota-ad__social-button { flex-direction: column; gap: 0.3rem; }
}

.ota-ad__share-panel {
	display: flex;
	width: min(100%, 760px);
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.1rem;
	margin: 0 auto;
	border: 1px solid #363648;
	border-radius: 16px;
	color: var(--ota-ad-white);
	background:
		radial-gradient(circle at 100% 0, rgb(244 201 93 / 24%), transparent 36%),
		var(--ota-ad-ink);
}

.ota-ad__share-title,
.ota-ad__share-description {
	margin: 0;
}

.ota-ad__share-title {
	font-weight: 900;
}

.ota-ad__share-description {
	margin-top: 0.1rem;
	color: #d8d8e2;
	font-size: 0.78rem;
}

.ota-ad__share-panel .ota-ad__button--share {
	flex: 0 0 auto;
	border-color: rgb(255 255 255 / 55%);
	background: transparent;
}

.ota-ad__share-panel .ota-ad__button--share:hover,
.ota-ad__share-panel .ota-ad__button--share:focus-visible {
	color: var(--ota-ad-ink);
	background: var(--ota-ad-white);
}

.ota-ad__filter {
	display: flex;
	min-height: 44px;
	align-items: center;
	gap: 0.65rem;
	font-weight: 700;
	cursor: pointer;
}

.ota-ad__filter input {
	width: 1.25rem;
	height: 1.25rem;
	accent-color: var(--ota-ad-accent);
}

.ota-ad__result-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.ota-ad__message {
	padding: 1rem 1.2rem;
	border-radius: 12px;
}

.ota-ad__message strong,
.ota-ad__message p {
	display: block;
	margin: 0;
}

.ota-ad__message p {
	margin-top: 0.35rem;
}

.ota-ad__message--notice {
	color: #624a00;
	border: 1px solid #efd67b;
	background: #fff9df;
}

.ota-ad__message--error {
	color: #7a271a;
	border: 1px solid #f5a9a2;
	background: #fef3f2;
}

/* Retro game theme prototype. Keep every effect scoped to the diagnosis root. */
.ota-ad {
	--ota-ad-ink: #f5efff;
	--ota-ad-muted: #bcaed0;
	--ota-ad-accent: #d75cff;
	--ota-ad-accent-dark: #a832df;
	--ota-ad-blue: #62e7ff;
	--ota-ad-purple: #9a4dff;
	--ota-ad-cream: #08050f;
	--ota-ad-yellow: #ffe66d;
	--ota-ad-border: #69408a;
	color: var(--ota-ad-ink);
	-webkit-text-stroke: 0.16px currentcolor;
	font-family: "OtaAnimeDotGothic16", ui-monospace, "Noto Sans Mono CJK JP", monospace;
	font-synthesis: none;
	letter-spacing: 0.04em;
}

.ota-ad__app {
	border: 2px solid var(--ota-ad-purple);
	border-radius: 8px;
	background:
		linear-gradient(rgb(98 231 255 / 3%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(215 92 255 / 3%) 1px, transparent 1px),
		radial-gradient(circle at 82% 12%, rgb(154 77 255 / 24%), transparent 32%),
		radial-gradient(circle at 8% 88%, rgb(98 231 255 / 12%), transparent 34%),
		#08050f;
	background-size: 24px 24px, 24px 24px, auto, auto, auto;
	box-shadow:
		0 0 0 4px #171021,
		0 0 0 6px #3e205a,
		0 0 28px rgb(154 77 255 / 34%),
		0 22px 70px rgb(0 0 0 / 52%);
}

.ota-ad__app::before {
	position: absolute;
	z-index: 0;
	inset: 0;
	pointer-events: none;
	background: repeating-linear-gradient(180deg, transparent 0 3px, rgb(0 0 0 / 18%) 3px 4px);
	content: "";
	opacity: 0.55;
}

.ota-ad__app::after {
	position: absolute;
	z-index: 0;
	inset: 10px;
	pointer-events: none;
	border: 1px solid rgb(98 231 255 / 20%);
	clip-path: polygon(0 0, 42px 0, 42px 2px, calc(100% - 42px) 2px, calc(100% - 42px) 0, 100% 0, 100% 42px, calc(100% - 2px) 42px, calc(100% - 2px) calc(100% - 42px), 100% calc(100% - 42px), 100% 100%, calc(100% - 42px) 100%, calc(100% - 42px) calc(100% - 2px), 42px calc(100% - 2px), 42px 100%, 0 100%, 0 calc(100% - 42px), 2px calc(100% - 42px), 2px 42px, 0 42px);
	content: "";
}

.ota-ad__app > * {
	position: relative;
	z-index: 1;
}

.ota-ad__intro,
.ota-ad__question-view,
.ota-ad__loading,
.ota-ad__results,
.ota-ad__message {
	animation: ota-ad-screen-in 240ms steps(5, end) both;
}

.ota-ad__eyebrow {
	color: var(--ota-ad-blue);
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-shadow: 0 0 8px rgb(98 231 255 / 64%);
}

.ota-ad__eyebrow::before {
	margin-right: 0.55rem;
	color: var(--ota-ad-accent);
	content: "◆";
	text-shadow: 0 0 8px rgb(215 92 255 / 72%);
}

.ota-ad__title,
.ota-ad__question-title,
.ota-ad__anime-title,
.ota-ad__profile-title,
.ota-ad__subheading,
.ota-ad__loading-title {
	color: #fbf8ff;
	-webkit-text-stroke: 0.32px currentcolor;
	font-weight: 400;
	letter-spacing: 0.085em;
	text-shadow:
		2px 0 0 #5a2475,
		0 2px 0 #5a2475,
		2px 2px 0 #321443,
		-1px -1px 0 rgb(98 231 255 / 38%),
		0 0 12px rgb(215 92 255 / 38%);
}

.ota-ad__title,
.ota-ad__question-title {
	font-weight: 400;
}

.ota-ad__eyebrow,
.ota-ad__section-label,
.ota-ad__profile-kicker,
.ota-ad__profile-traits li,
.ota-ad__rank-role,
.ota-ad__details-summary,
.ota-ad__vod-label,
.ota-ad__button,
.ota-ad__option,
.ota-ad__option-number,
.ota-ad__rank-badge,
.ota-ad__tags li,
.ota-ad__vod-link {
	font-variant-numeric: tabular-nums;
	font-weight: 400;
	letter-spacing: 0.065em;
	text-shadow: 1px 1px 0 rgb(65 23 84 / 72%);
}
.ota-ad__lead,
.ota-ad__help,
.ota-ad__intro-points,
.ota-ad__profile-note,
.ota-ad__progress-header,
.ota-ad__anime-intro,
.ota-ad__anime-meta,
.ota-ad__compact-meta,
.ota-ad__watch-note,
.ota-ad__vod-hint,
.ota-ad__vod-demo-note {
	color: var(--ota-ad-muted);
}

.ota-ad__intro-points li::before {
	color: var(--ota-ad-blue);
	content: ">";
	text-shadow: 0 0 8px rgb(98 231 255 / 70%);
}

.ota-ad__button {
	position: relative;
	border: 2px solid var(--ota-ad-accent);
	border-radius: 3px;
	color: #fff;
	background: #171021;
	box-shadow:
		3px 3px 0 #5d287c,
		0 0 14px rgb(215 92 255 / 24%),
		inset 0 0 12px rgb(215 92 255 / 8%);
	letter-spacing: 0.06em;
	text-transform: none;
	transition: color 100ms ease, border-color 100ms ease, background-color 100ms ease, box-shadow 100ms ease, transform 100ms ease;
}

.ota-ad__button--primary::before,
.ota-ad__button--share::before {
	margin-right: 0.5rem;
	color: var(--ota-ad-blue);
	content: "▶";
	font-size: 0.72em;
	text-shadow: 0 0 7px rgb(98 231 255 / 76%);
}

.ota-ad__button--primary {
	background: linear-gradient(180deg, #321443, #1a0b24);
}

.ota-ad__button--secondary,
.ota-ad__button--share {
	color: #e9dcfa;
	border-color: #79559a;
	background: #100b18;
}

.ota-ad__button:not(:disabled):hover,
.ota-ad__button--primary:not(:disabled):hover,
.ota-ad__share-panel .ota-ad__button--share:hover,
.ota-ad__share-panel .ota-ad__button--share:focus-visible {
	color: #fff;
	border-color: var(--ota-ad-blue);
	background: #251034;
	box-shadow:
		4px 4px 0 #3a6576,
		0 0 10px rgb(98 231 255 / 55%),
		0 0 24px rgb(215 92 255 / 38%);
	transform: translate(-1px, -1px);
}

.ota-ad__button:active,
.ota-ad__button.ota-ad__pressable--pressed {
	box-shadow: 1px 1px 0 #3a6576, 0 0 20px rgb(98 231 255 / 62%);
	transform: translate(3px, 3px);
}

.ota-ad__button:focus-visible,
.ota-ad input:focus-visible + .ota-ad__option-number {
	outline-color: var(--ota-ad-blue);
	box-shadow: 0 0 0 2px #08050f, 0 0 16px rgb(98 231 255 / 68%);
}

.ota-ad__progress-header {
	padding: 0.35rem 0.55rem;
	border-left: 3px solid var(--ota-ad-blue);
	background: rgb(98 231 255 / 5%);
}

.ota-ad__progress-label {
	color: var(--ota-ad-blue);
	text-shadow: 0 0 8px rgb(98 231 255 / 72%);
}

.ota-ad__progress {
	height: 14px;
	border: 2px solid #69408a;
	border-radius: 2px;
	background: #100b18;
	box-shadow: 0 0 10px rgb(154 77 255 / 24%);
}

.ota-ad__progress::-webkit-progress-bar {
	background: #100b18;
}

.ota-ad__progress::-webkit-progress-value {
	border-radius: 0;
	background: repeating-linear-gradient(90deg, var(--ota-ad-accent) 0 18px, #7f35a9 18px 20px);
	box-shadow: 0 0 12px rgb(215 92 255 / 62%);
}

.ota-ad__progress::-moz-progress-bar {
	border-radius: 0;
	background: repeating-linear-gradient(90deg, var(--ota-ad-accent) 0 18px, #7f35a9 18px 20px);
	box-shadow: 0 0 12px rgb(215 92 255 / 62%);
}

.ota-ad__title:focus,
.ota-ad__question-title:focus {
	outline: 0;
}

.ota-ad__option {
	border: 1px solid #69408a;
	border-radius: 3px;
	color: #ede5f8;
	background: linear-gradient(90deg, rgb(154 77 255 / 8%), transparent 42%), #100b18;
	box-shadow: inset 3px 0 0 #3a2050;
	transition: color 100ms ease, border-color 100ms ease, background-color 100ms ease, box-shadow 100ms ease, transform 100ms ease;
}

.ota-ad__option:hover {
	color: #fff;
	border-color: var(--ota-ad-blue);
	background: linear-gradient(90deg, rgb(98 231 255 / 13%), transparent 55%), #130d1d;
	box-shadow: inset 4px 0 0 var(--ota-ad-blue), 0 0 15px rgb(98 231 255 / 16%);
	transform: translateX(4px);
}

.ota-ad__option:active,
.ota-ad__option.ota-ad__pressable--pressed {
	background: rgb(215 92 255 / 22%);
	transform: translate(2px, 2px);
}

.ota-ad__option:has(input:checked) {
	color: #fff;
	border-color: var(--ota-ad-accent);
	background: linear-gradient(90deg, rgb(215 92 255 / 24%), rgb(154 77 255 / 8%)), #160d21;
	box-shadow: inset 5px 0 0 var(--ota-ad-accent), 0 0 16px rgb(215 92 255 / 26%);
}

.ota-ad__option-number {
	color: var(--ota-ad-blue);
	text-shadow: 0 0 6px rgb(98 231 255 / 60%);
}

.ota-ad__option-mark {
	border-color: #79559a;
	border-radius: 2px;
}

.ota-ad__option:has(input[type="checkbox"]) .ota-ad__option-mark {
	border-radius: 2px;
}

.ota-ad__option:has(input:checked) .ota-ad__option-mark {
	border-color: var(--ota-ad-blue);
	border-radius: 2px;
	background: var(--ota-ad-accent-dark);
	box-shadow: 0 0 9px rgb(98 231 255 / 66%);
}

.ota-ad__field-error {
	color: #ffd8e5;
	border-color: #ff5b98;
	border-radius: 2px;
	background: #2b0d1d;
}

.ota-ad__loading-orb {
	width: 64px;
	height: 64px;
	border: 8px solid #251333;
	border-top-color: var(--ota-ad-blue);
	border-right-color: var(--ota-ad-accent);
	border-radius: 3px;
	box-shadow: 0 0 18px rgb(215 92 255 / 40%);
}

.ota-ad__profile {
	border-color: #69408a;
	border-radius: 4px;
	background:
		linear-gradient(90deg, rgb(98 231 255 / 5%) 1px, transparent 1px),
		linear-gradient(rgb(215 92 255 / 5%) 1px, transparent 1px),
		#100b18;
	background-size: 20px 20px;
	box-shadow: 5px 5px 0 #241330, 0 0 22px rgb(154 77 255 / 14%);
}

.ota-ad__profile-portrait {
	border-color: #79559a;
	box-shadow: 4px 4px 0 #241330, 0 0 18px rgb(154 77 255 / 28%);
}

.ota-ad__profile-kicker,
.ota-ad__rank-role {
	color: var(--ota-ad-blue);
	text-shadow: 0 0 8px rgb(98 231 255 / 64%);
}

.ota-ad__profile-summary {
	color: #ddd3eb;
}

.ota-ad__profile-traits li {
	border-color: #79559a;
	border-radius: 2px;
	color: #f2dcff;
	background: rgb(215 92 255 / 9%);
	box-shadow: inset 2px 0 0 var(--ota-ad-accent);
}

.ota-ad__top-card {
	--ota-ad-rank: var(--ota-ad-purple);
	--ota-ad-rank-soft: rgb(154 77 255 / 12%);
	border: 1px solid #69408a;
	border-radius: 4px;
	background: #0e0916;
	box-shadow: 5px 5px 0 #241330, 0 0 22px rgb(154 77 255 / 14%);
}

.ota-ad__top-card--1 {
	--ota-ad-rank: #ffe66d;
	--ota-ad-rank-soft: rgb(255 230 109 / 10%);
	border-color: #ae8f25;
	box-shadow: 5px 5px 0 #463816, 0 0 26px rgb(255 230 109 / 16%);
}

.ota-ad__top-card--2 {
	--ota-ad-rank: var(--ota-ad-blue);
	--ota-ad-rank-soft: rgb(98 231 255 / 10%);
}

.ota-ad__top-card--3 {
	--ota-ad-rank: #ef77ff;
	--ota-ad-rank-soft: rgb(239 119 255 / 10%);
}

.ota-ad__card-header {
	border-bottom-color: #3f2852;
	background: linear-gradient(90deg, var(--ota-ad-rank-soft), transparent 62%), #100b18;
}

.ota-ad__rank-badge {
	border: 1px solid currentcolor;
	border-radius: 2px;
	color: #08050f;
	background: var(--ota-ad-rank);
	box-shadow: 3px 3px 0 rgb(0 0 0 / 52%), 0 0 14px color-mix(in srgb, var(--ota-ad-rank) 48%, transparent);
}

.ota-ad__visual {
	background: #090611;
}

.ota-ad__poster-placeholder {
	background:
		linear-gradient(rgb(98 231 255 / 7%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(215 92 255 / 7%) 1px, transparent 1px),
		radial-gradient(circle at center, rgb(154 77 255 / 30%), transparent 55%),
		#0b0713;
	background-size: 20px 20px, 20px 20px, auto, auto;
}

.ota-ad__poster-placeholder::after {
	border-color: rgb(98 231 255 / 16%);
	border-radius: 3px;
	box-shadow: 0 0 18px rgb(98 231 255 / 16%);
	transform: rotate(18deg);
}

.ota-ad__poster-kicker,
.ota-ad__poster-title {
	color: var(--ota-ad-blue);
	text-shadow: 0 0 7px rgb(98 231 255 / 62%);
}

.ota-ad__poster-symbol {
	color: #f2dfff;
	text-shadow: 4px 4px 0 #57206d, 0 0 18px rgb(215 92 255 / 60%);
}

.ota-ad__visual-source {
	color: var(--ota-ad-muted);
	border-bottom-color: #3f2852;
	background: #0b0712;
}

.ota-ad__visual-source-link,
.ota-ad__section-label,
.ota-ad__vod-label {
	color: var(--ota-ad-blue);
	text-shadow: 0 0 7px rgb(98 231 255 / 46%);
}

.ota-ad__reason-panel {
	border-left-color: var(--ota-ad-accent);
	border-radius: 0 2px 2px 0;
	background: rgb(215 92 255 / 8%);
}

.ota-ad__reason,
.ota-ad__compact-reason {
	color: #ddd3eb;
}

.ota-ad__details {
	border-color: #3f2852;
	border-radius: 2px;
	background: #0b0712;
}

.ota-ad__details-summary {
	color: #e9dcfa;
	background: #120b1b;
}

.ota-ad__details-summary:hover,
.ota-ad__details-summary:focus-visible {
	color: #fff;
	background: #251034;
	box-shadow: inset 3px 0 0 var(--ota-ad-blue), 0 0 12px rgb(98 231 255 / 24%);
}

.ota-ad__details-summary::after {
	color: var(--ota-ad-blue);
	text-shadow: 0 0 8px rgb(98 231 255 / 70%);
}

.ota-ad__details-body {
	border-top-color: #3f2852;
}

.ota-ad__meta {
	color: #bcaed0;
}

.ota-ad__tags li {
	border: 1px solid #4d667c;
	border-radius: 2px;
	color: #bff5ff;
	background: rgb(98 231 255 / 7%);
}

.ota-ad__warning,
.ota-ad__message--error {
	color: #ffd8e5;
	border-color: #a83262;
	border-radius: 2px;
	background: #2b0d1d;
}

.ota-ad__vod,
.ota-ad__vod-empty,
.ota-ad__result-controls {
	border-color: #3f2852;
}

.ota-ad__vod-rail::after {
	background: linear-gradient(90deg, transparent, rgb(8 5 15 / 97%));
}

.ota-ad__vod-links {
	scrollbar-color: #8b48b7 #120b1b;
}

.ota-ad__vod-link {
	border-color: #79559a;
	border-radius: 2px;
	color: #e9dcfa;
	background: #120b1b;
	box-shadow: 2px 2px 0 #372047;
}

.ota-ad__vod-asp-text[data-service="u-next"] {
	color: #fff;
}

.ota-ad__vod-link:hover,
.ota-ad__vod-link:focus-visible {
	color: #fff;
	border-color: var(--ota-ad-blue);
	background: #241030;
	box-shadow: 2px 2px 0 #32606b, 0 0 12px rgb(98 231 255 / 34%);
}

.ota-ad__vod-link:hover .ota-ad__vod-asp-text,
.ota-ad__vod-link:focus-visible .ota-ad__vod-asp-text {
	color: inherit;
	text-shadow: none;
}

.ota-ad__vod-link.ota-ad__pressable--pressed {
	box-shadow: 0 0 16px rgb(98 231 255 / 62%);
	transform: translate(2px, 2px);
}

.ota-ad__vod-link--disabled {
	color: #8f829f;
	border-color: #3f2b4e;
	background: #0d0912;
}

.ota-ad__vod-link--demo,
.ota-ad__vod-link--demo:hover {
	color: #e9dcfa;
	border-color: #79559a;
	background: linear-gradient(145deg, #171020, #100b18);
}

.ota-ad__vod-link--demo::after {
	border-radius: 2px;
	background: #6b2d8e;
}

/* Approved text treatments; no recreated logo artwork or colour-changing text. */
.ota-ad__vod-link[data-service="dmm-tv"],
.ota-ad__vod-link[data-service="prime-video"] {
	min-width: 132px;
	min-height: 48px;
	background: #111;
}

.ota-ad__vod-text {
	display: block;
	font-family: Arial, "Helvetica Neue", sans-serif;
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #fff;
	text-shadow: none;
	white-space: nowrap;
}

.ota-ad__vod-text[data-service="prime-video"] {
	font-family: "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.035em;
	color: #1399ff;
}

.ota-ad__vod-link:hover .ota-ad__vod-asp-text[data-service="hulu"],
.ota-ad__vod-link:focus-visible .ota-ad__vod-asp-text[data-service="hulu"] {
	color: #1ce783;
}

.ota-ad__vod-promo {
	color: #3b1a0c;
	border-color: #ffc18a;
	border-radius: 2px;
	background: #ffb578;
	box-shadow: 0 0 8px rgb(255 157 87 / 32%);
}

.ota-ad__vod-next {
	border-color: var(--ota-ad-accent);
	border-radius: 2px;
	color: #fff;
	background: #1b0d25;
	box-shadow: 3px 3px 0 #5d287c, 0 0 14px rgb(215 92 255 / 28%);
}

.ota-ad__vod-next:hover,
.ota-ad__vod-next:focus-visible,
.ota-ad__vod-next.ota-ad__pressable--pressed {
	border-color: var(--ota-ad-blue);
	background: #241030;
	box-shadow: 1px 1px 0 #32606b, 0 0 14px rgb(98 231 255 / 48%);
}

.ota-ad__compact-card {
	border-color: #4a2f5e;
	border-radius: 3px;
	background: rgb(18 11 27 / 92%);
	box-shadow: 3px 3px 0 #241330;
}

.ota-ad__compact-rank {
	border: 1px solid var(--ota-ad-blue);
	border-radius: 2px;
	color: var(--ota-ad-blue);
	background: #11101a;
	box-shadow: 0 0 10px rgb(98 231 255 / 28%);
}

.ota-ad__share-panel {
	border: 1px solid var(--ota-ad-accent);
	border-radius: 3px;
	background:
		linear-gradient(90deg, rgb(215 92 255 / 13%), transparent 55%),
		#100b18;
	box-shadow: 4px 4px 0 #3a1c4c, 0 0 20px rgb(215 92 255 / 17%);
}

.ota-ad__share-title {
	color: #fff;
	text-shadow: 0 0 8px rgb(215 92 255 / 45%);
}

.ota-ad__share-description {
	color: var(--ota-ad-muted);
}

.ota-ad__filter input {
	accent-color: var(--ota-ad-accent);
}

.ota-ad__message {
	border-radius: 2px;
}

.ota-ad__message--notice {
	color: #fff2ad;
	border-color: #8f7728;
	background: #251e09;
}

@keyframes ota-ad-screen-in {
	0% {
		opacity: 0;
		filter: brightness(1.8) saturate(0.8);
		transform: translateY(5px);
	}
	45% {
		opacity: 0.78;
		filter: brightness(1.35) saturate(1.25);
	}
	100% {
		opacity: 1;
		filter: none;
		transform: none;
	}
}

@media (max-width: 640px) {
	.ota-ad {
		margin: 1rem auto;
	}

	.ota-ad__app {
		min-height: 390px;
		border-radius: 6px;
		box-shadow: 0 0 0 3px #171021, 0 0 20px rgb(154 77 255 / 28%);
	}

	.ota-ad__card-header {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 0.25rem 0.65rem;
		padding: 0.65rem 1rem;
	}

	.ota-ad__card-header .ota-ad__anime-heading {
		display: contents;
	}

	.ota-ad__card-header .ota-ad__anime-title,
	.ota-ad__card-header .ota-ad__anime-meta {
		grid-column: 1 / -1;
	}

	.ota-ad__card-header .ota-ad__rank-role {
		line-height: 1.5;
	}

	.ota-ad__rank-badge {
		min-width: 46px;
		height: 28px;
		padding-inline: 0.6rem;
	}

	.ota-ad__rank-number {
		font-size: 1.15rem;
	}

	.ota-ad__profile {
		padding: 1rem;
	}

	.ota-ad__profile-portrait {
		width: min(82vw, 300px);
		max-height: 300px;
	}

	.ota-ad__profile-portrait-image {
		max-height: 300px;
	}

	.ota-ad__profile-title {
		font-size: 1.5rem;
	}

	.ota-ad__anime-title {
		font-size: clamp(1.32rem, 5.6vw, 1.55rem);
		line-height: 1.32;
	}

	.ota-ad__compact-card {
		grid-template-columns: 2.2rem 1fr;
	}

	.ota-ad__compact-meta {
		grid-column: 2;
	}

	.ota-ad__controls,
	.ota-ad__result-buttons {
		align-items: stretch;
		flex-direction: column;
	}

	/* Keep the primary action above Back on phones; desktop reads Back → Next. */
	.ota-ad__controls {
		flex-direction: column-reverse;
	}

	.ota-ad__share-panel {
		align-items: stretch;
		flex-direction: column;
	}

	.ota-ad__app::before {
		opacity: 0.38;
	}

	.ota-ad__controls .ota-ad__button,
	.ota-ad__result-buttons .ota-ad__button,
	.ota-ad__share-panel .ota-ad__button {
		width: 100%;
	}
}

@media (max-width: 360px) {
	.ota-ad__app {
		padding: 1rem;
	}

	.ota-ad__option {
		grid-template-columns: 1.8rem 1fr 1.3rem;
		padding: 0.75rem;
	}

	.ota-ad__progress-caption {
		display: none;
	}
}

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

@media (forced-colors: active) {
	.ota-ad__option:has(input:checked),
	.ota-ad__button,
	.ota-ad__top-card,
	.ota-ad__share-panel,
	.ota-ad__vod-link,
	.ota-ad__vod-next {
		border: 2px solid ButtonText;
	}
}

/* Game title frame: independent of SWELL's article h2/h3 presets. */
.ota-ad.ota-ad h2.ota-ad__title {
	margin: 0.75rem 0 1.5rem;
	padding: 1.25rem 0.75rem;
	background:
		linear-gradient(#72eddf, #72eddf) left top / 24px 3px no-repeat,
		linear-gradient(#72eddf, #72eddf) left top / 3px 24px no-repeat,
		linear-gradient(#d75cff, #d75cff) right bottom / 24px 3px no-repeat,
		linear-gradient(#d75cff, #d75cff) right bottom / 3px 24px no-repeat;
	color: #fbf8ff;
	font-size: clamp(1.35rem, 4vw, 2.6rem);
	line-height: 1.65;
	text-align: center;
	text-wrap: balance;
	scroll-margin-top: calc(max(var(--swl-headerH, 0px), var(--swl-fix_headerH, 0px)) + 1.5rem);
}
.ota-ad__title-small { display: block; font-size: 0.58em; letter-spacing: 0.12em; }
.ota-ad__title-main { display: block; font-size: 1.35em; letter-spacing: 0.12em; }
.ota-ad.ota-ad .ota-ad__help { color: #f4efff; line-height: 1.9; }
.ota-ad__selection-limit { color: #ffbb8a; font-size: 1.15em; }
.ota-ad.ota-ad .ota-ad__app {
	scroll-margin-top: calc(max(var(--swl-headerH, 0px), var(--swl-fix_headerH, 0px)) + 1.5rem);
}
.ota-ad.ota-ad .ota-ad__help--multiple {
	padding: 0.75rem 1rem;
	border: 1px solid #795393;
	background: #10091d;
	color: #fff;
	font-family: sans-serif;
	font-size: 1rem;
	font-weight: 600;
	text-shadow: none;
}
.ota-ad__help--multiple .ota-ad__selection-limit { color: #ffc28f; font-weight: 800; }
.ota-ad__selection-multiple { color: #81f4e7; font-weight: 800; }
.ota-ad.ota-ad .ota-ad__reason-panel { margin: 0 0 1.25rem; padding: 0; }
.ota-ad.ota-ad .ota-ad__reason-panel .ota-ad__reason { margin: 0; }
.ota-ad.ota-ad .ota-ad__details-summary { cursor: pointer; }
.ota-ad.ota-ad .ota-ad__details-summary:focus-visible { outline: 2px solid #72eddf; outline-offset: 3px; }
.ota-ad.ota-ad .ota-ad__compact-title { margin: 0 0 0.8rem; }
.ota-ad.ota-ad .ota-ad__type-name { margin: 0; color: #fbf8ff; font-size: 1.15rem; line-height: 1.6; text-wrap: balance; }
.ota-ad__gallery-header, .ota-ad__gallery-footer { text-align: center; }
.ota-ad__type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.ota-ad__type-card { min-width: 0; padding: 1rem; border: 1px solid #72518d; background: #100b1a; box-shadow: 4px 4px 0 #24142e; }
.ota-ad.ota-ad .ota-ad__type-number { margin: 0; color: #72eddf; font-size: 0.8rem; letter-spacing: 0.18em; }
.ota-ad.ota-ad .ota-ad__type-image { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; margin: 0.5rem 0 1rem; border-radius: 0; }
.ota-ad.ota-ad .ota-ad__type-summary { margin: 0.75rem 0 0; color: #e7dfee; font-family: sans-serif; font-size: 0.94rem; line-height: 1.9; }
@media (max-width: 800px) { .ota-ad__type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ota-ad__type-grid { grid-template-columns: minmax(0, 1fr); } }
