.zsp-product {
	--zsp-accent: #7c3aed;
	--zsp-accent-strong: #5b21b6;
	--zsp-bg: #f7f7fb;
	--zsp-surface: #fff;
	--zsp-text: #1d1b24;
	--zsp-muted: #686473;
	--zsp-border: #e4e1eb;
	--zsp-focus: #2563eb;
	--zsp-warning: #9a3412;
}

.zsp-product[data-theme="dark"],
[data-theme="dark"] .zsp-product {
	--zsp-bg: #18161e;
	--zsp-surface: #24212c;
	--zsp-text: #f5f3f8;
	--zsp-muted: #b8b1c4;
	--zsp-border: #3b3646;
}

.zsp-shell {
	box-sizing: border-box;
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: 24px 0 112px;
	color: var(--zsp-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.5;
}

.zsp-shell *,
.zsp-shell *::before,
.zsp-shell *::after { box-sizing: border-box; }
.zsp-shell [hidden] { display: none !important; }

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

.zsp-breadcrumbs { margin: 0 0 14px; font-size: 14px; color: var(--zsp-muted); }
.zsp-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.zsp-breadcrumbs li + li::before { content: "›"; margin-right: 7px; color: var(--zsp-muted); }
.zsp-breadcrumbs a { color: inherit; text-decoration: none; }
.zsp-breadcrumbs a:hover { color: var(--zsp-accent); text-decoration: underline; }

.zsp-nav { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: thin; }
.zsp-nav__link { display: inline-flex; min-height: 44px; flex: 0 0 auto; align-items: center; padding: 8px 13px; border: 1px solid var(--zsp-border); border-radius: 999px; color: var(--zsp-text); background: var(--zsp-surface); text-decoration: none; font-size: 14px; font-weight: 650; }
.zsp-nav__link:hover,
.zsp-nav__link.is-current { color: #fff; border-color: var(--zsp-accent); background: var(--zsp-accent); }

.zsp-content-switch { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 2px 0 12px; }
.zsp-content-switch__label { margin-right: 3px; color: var(--zsp-muted); font-size: 13px; font-weight: 750; }
.zsp-content-switch a { display: inline-flex; min-height: 38px; align-items: center; padding: 7px 11px; border: 1px solid var(--zsp-border); border-radius: 999px; color: var(--zsp-text); background: var(--zsp-surface); font-size: 13px; font-weight: 700; text-decoration: none; }
.zsp-content-switch a:hover,
.zsp-content-switch a[aria-current="page"] { color: #fff; border-color: var(--zsp-accent); background: var(--zsp-accent); }
.zsp-content-switch a.zsp-content-switch__warning { border-color: #fdba74; }
.zsp-content-switch a.zsp-content-switch__warning[aria-current="page"] { border-color: #c2410c; background: #c2410c; }
.zsp-content-switch a.zsp-content-switch__adult { border-color: #fca5a5; }
.zsp-content-switch a.zsp-content-switch__adult[aria-current="page"] { border-color: #b91c1c; background: #b91c1c; }
.zsp-catalog-note { margin: 0 0 13px; color: var(--zsp-muted); font-size: 14px; line-height: 1.5; }

.zsp-explicit-nav { margin: 4px 0 20px; padding: 14px 16px; border: 1px solid #fdba74; border-radius: 14px; background: #fff7ed; color: #7c2d12; }
.zsp-explicit-nav strong,
.zsp-explicit-nav p { display: block; margin: 0 0 9px; }
.zsp-explicit-nav div { display: flex; flex-wrap: wrap; gap: 8px; }
.zsp-explicit-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 7px 11px; border: 1px solid #fdba74; border-radius: 999px; color: #7c2d12; background: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.zsp-explicit-nav a:hover,
.zsp-explicit-nav a[aria-current="page"] { border-color: #9a3412; background: #ffedd5; text-decoration: underline; text-underline-offset: 2px; }

.zsp-hero { padding: 24px 0 18px; }
.zsp-hero h1,
.zsp-single h1 { margin: 0 0 10px; color: var(--zsp-text); font-size: clamp(28px, 4vw, 44px); line-height: 1.12; }
.zsp-hero__intro { max-width: 850px; margin: 0; color: var(--zsp-muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.6; }

.zsp-editorial { margin: 16px 0 28px; padding: 22px; border: 1px solid var(--zsp-border); border-radius: 18px; background: var(--zsp-surface); line-height: 1.7; }
.zsp-editorial h2 { margin: 30px 0 10px; font-size: 25px; line-height: 1.25; }
.zsp-editorial h2:first-child { margin-top: 0; }
.zsp-editorial h3 { margin: 22px 0 8px; font-size: 20px; }
.zsp-editorial a { color: var(--zsp-accent-strong); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.zsp-editorial table { width: 100%; border-collapse: collapse; }
.zsp-editorial th,
.zsp-editorial td { padding: 10px 12px; border: 1px solid var(--zsp-border); text-align: left; vertical-align: top; }
.zsp-editorial .zsp-table-wrap { overflow-x: auto; }
.zsp-editorial .zsp-guide-note { display: block; margin: 18px 0; padding: 15px 18px; border-left: 4px solid var(--zsp-accent); border-radius: 8px; background: var(--zsp-bg); background: color-mix(in srgb, var(--zsp-accent) 8%, var(--zsp-surface)); }
.zsp-editorial .zsp-guide-steps li { margin-bottom: 10px; }

.zsp-game-collections { margin: 24px 0 16px; padding: 20px 22px; border: 1px solid var(--zsp-border); border-radius: 18px; background: var(--zsp-surface); }
.zsp-game-collections h2 { margin: 0 0 12px; font-size: 23px; line-height: 1.25; }
.zsp-game-collections ul { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.zsp-game-collections a { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 13px; border: 1px solid var(--zsp-border); border-radius: 999px; color: var(--zsp-accent-strong); font-weight: 700; text-decoration: none; }
.zsp-game-collections a:hover { border-color: var(--zsp-accent); text-decoration: underline; text-underline-offset: 2px; }

.zsp-platform-note,
.zsp-noscript-note { margin: 0 0 12px; padding: 11px 14px; border-left: 3px solid var(--zsp-accent); border-radius: 8px; color: var(--zsp-muted); background: var(--zsp-bg); font-size: 14px; line-height: 1.45; }
.zsp-noscript-note { border-left-color: var(--zsp-warning); }
.zsp-content-warning { margin: 0 0 14px; padding: 14px 16px; border: 1px solid #fdba74; border-left-width: 5px; border-radius: 10px; color: #7c2d12; background: #fff7ed; line-height: 1.5; }
.zsp-content-warning--adult { border-color: #f87171; color: #7f1d1d; background: #fef2f2; }

.zsp-filters { display: block; padding: 16px; border: 1px solid var(--zsp-border); border-radius: 18px; background: var(--zsp-surface); box-shadow: 0 8px 28px rgba(32, 24, 52, .06); }
.zsp-filters__primary { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(160px, 220px) auto; gap: 12px; align-items: end; }
.zsp-filters__grid { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 12px; padding-top: 12px; }
.zsp-filters__more { margin-top: 13px; border-top: 1px solid var(--zsp-border); }
.zsp-filters__more summary { display: inline-flex; width: fit-content; min-height: 44px; align-items: center; padding: 8px 2px 0; color: var(--zsp-accent-strong); cursor: pointer; font-size: 13px; font-weight: 750; }
.zsp-field { min-width: 0; }
.zsp-field label { display: block; margin: 0 0 6px; color: var(--zsp-muted); font-size: 13px; font-weight: 700; }
.zsp-field input,
.zsp-field select { width: 100%; min-height: 44px; padding: 8px 11px; border: 1px solid var(--zsp-border); border-radius: 10px; color: var(--zsp-text); background: var(--zsp-surface); font: inherit; }
.zsp-field input:focus,
.zsp-field select:focus,
.zsp-breadcrumbs a:focus-visible,
.zsp-nav__link:focus-visible,
.zsp-game-collections a:focus-visible,
.zsp-content-switch a:focus-visible,
.zsp-button:focus-visible,
.zsp-play:focus-visible,
.zsp-card__title a:focus-visible,
.zsp-card__report:focus-visible,
.zsp-pagination a:focus-visible,
.zsp-player__toggle:focus-visible,
.zsp-player__progress:focus-visible,
.zsp-filters__more summary:focus-visible,
.zsp-report-dialog input:focus-visible,
.zsp-product-footer a:focus-visible { outline: 3px solid var(--zsp-focus); outline: 3px solid color-mix(in srgb, var(--zsp-focus) 45%, transparent); outline-offset: 2px; }
.zsp-filters__actions { display: flex; flex-wrap: wrap; gap: 9px; }

.zsp-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; padding: 8px 14px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 750; line-height: 1.2; text-align: center; text-decoration: none; }
.zsp-button--primary { color: #fff; background: var(--zsp-accent); border-color: var(--zsp-accent); }
.zsp-button--primary:hover { color: #fff; background: var(--zsp-accent-strong); border-color: var(--zsp-accent-strong); }
.zsp-button--secondary { color: var(--zsp-text); background: transparent; border-color: var(--zsp-border); }
.zsp-button--secondary:hover { color: var(--zsp-accent-strong); border-color: var(--zsp-accent); }
.zsp-button[disabled] { opacity: .55; cursor: wait; }

.zsp-search-hint { margin: 8px 2px 0; color: var(--zsp-warning); font-size: 13px; line-height: 1.4; }
.zsp-summary { min-height: 24px; margin: 18px 0 10px; color: var(--zsp-muted); font-size: 14px; }
.zsp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.zsp-card { display: flex; min-width: 0; min-height: 190px; flex-direction: column; gap: 12px; padding: 15px; border: 1px solid var(--zsp-border); border-radius: 16px; background: var(--zsp-surface); box-shadow: 0 5px 18px rgba(34, 24, 56, .05); }
.zsp-card.is-playing { border-color: var(--zsp-accent); box-shadow: 0 0 0 2px var(--zsp-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--zsp-accent) 18%, transparent); }
.zsp-card__top { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 11px; align-items: center; }
.zsp-card__identity { min-width: 0; }
.zsp-card__title { display: -webkit-box; overflow: hidden; margin: 0; font-size: 17px; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.zsp-card__title a { color: var(--zsp-text); text-decoration: none; }
.zsp-card__title a:hover { color: var(--zsp-accent); text-decoration: underline; }
.zsp-card__transcript { display: -webkit-box; overflow: hidden; margin: 5px 0 0; color: var(--zsp-muted); font-size: 13px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.zsp-card__duration { color: var(--zsp-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.zsp-play { display: inline-grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: var(--zsp-accent); }
.zsp-play:hover { background: var(--zsp-accent-strong); transform: translateY(-1px); }
.zsp-play[disabled] { opacity: .55; cursor: wait; transform: none; }
.zsp-play--large { width: 64px; height: 64px; font-size: 22px; }
.zsp-play__icon { transform: translateX(1px); }
.zsp-card__badges { display: flex; min-height: 24px; flex-wrap: wrap; gap: 5px; }
.zsp-badge { padding: 3px 7px; border-radius: 999px; color: var(--zsp-muted); background: var(--zsp-bg); font-size: 11px; font-weight: 700; }
.zsp-badge--warning { color: var(--zsp-warning); background: #ffedd5; }
.zsp-badge--explicit { color: #9a3412; background: #ffedd5; }
.zsp-badge--adult { color: #991b1b; background: #fee2e2; }
.zsp-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.zsp-card__actions [data-zsp-import] { grid-column: 1 / -1; }
.zsp-card__report { display: inline-flex; min-height: 44px; align-items: center; align-self: flex-start; padding: 8px 0; border: 0; color: var(--zsp-muted); background: transparent; cursor: pointer; font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.zsp-card__report:hover { color: var(--zsp-warning); }
.zsp-report-dialog { width: min(92vw, 520px); padding: 24px; border: 1px solid var(--zsp-border); border-radius: 14px; color: var(--zsp-text); background: var(--zsp-surface); box-shadow: 0 20px 70px rgb(0 0 0 / 28%); }
.zsp-report-dialog::backdrop { background: rgb(0 0 0 / 52%); }
.zsp-report-dialog fieldset { display: grid; gap: 10px; margin: 16px 0; padding: 14px; border: 1px solid var(--zsp-border); border-radius: 10px; }
.zsp-report-dialog__choice { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.zsp-report-dialog__status { min-height: 1.5em; color: var(--zsp-muted); }
.zsp-report-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.zsp-empty { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--zsp-border); border-radius: 14px; color: var(--zsp-muted); text-align: center; }

.zsp-pagination { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; padding: 24px 0 8px; }
.zsp-pagination a { display: inline-grid; min-width: 44px; height: 44px; place-items: center; padding: 0 9px; border: 1px solid var(--zsp-border); border-radius: 9px; color: var(--zsp-text); background: var(--zsp-surface); text-decoration: none; }
.zsp-pagination a:hover,
.zsp-pagination a[aria-current="page"] { color: #fff; border-color: var(--zsp-accent); background: var(--zsp-accent); }
.zsp-pagination a.zsp-pagination__direction { min-width: auto; padding-inline: 13px; }
.zsp-pagination__gap { display: inline-grid; min-width: 24px; height: 40px; place-items: center; color: var(--zsp-muted); }

.zsp-player { position: fixed; z-index: 9990; right: 16px; bottom: 16px; left: 16px; display: grid; grid-template-columns: 46px minmax(130px, 1fr) minmax(140px, 2fr); gap: 12px; align-items: center; width: min(760px, calc(100% - 32px)); margin: auto; padding: 12px 14px; border: 1px solid var(--zsp-border); border-radius: 16px; color: var(--zsp-text); background: var(--zsp-surface); box-shadow: 0 14px 44px rgba(18, 12, 32, .28); }
.zsp-player[hidden] { display: none; }
.zsp-player__toggle { width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: var(--zsp-accent); }
.zsp-player__toggle[disabled] { opacity: .55; cursor: not-allowed; }
.zsp-player__meta { min-width: 0; }
.zsp-player__meta strong,
.zsp-player__meta span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zsp-player__meta span { margin-top: 3px; color: var(--zsp-muted); font-size: 12px; }
.zsp-player__progress { width: 100%; accent-color: var(--zsp-accent); }

.zsp-single__article { padding: 24px; border: 1px solid var(--zsp-border); border-radius: 20px; background: var(--zsp-surface); }
.zsp-single__quote { max-width: 780px; margin: 0 0 18px; color: var(--zsp-muted); font-size: 19px; line-height: 1.55; }
.zsp-single__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.zsp-single__facts span { padding: 5px 9px; border-radius: 999px; color: var(--zsp-muted); background: var(--zsp-bg); font-size: 13px; }
.zsp-single__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.zsp-related { margin-top: 30px; }
.zsp-related h2 { font-size: 27px; }

.zsp-product .site-footer,
.zsp-product .mobile-dock { display: none !important; }
.zsp-product-footer { border-top: 1px solid var(--zsp-border); color: var(--zsp-text); background: var(--zsp-surface); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.5; }
.zsp-report-dialog { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.5; }
.zsp-product-footer__inner { box-sizing: border-box; display: grid; grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.6fr) auto; gap: 26px; align-items: start; width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0; }
.zsp-product-footer__about strong { display: block; margin-bottom: 7px; font-size: 18px; }
.zsp-product-footer__about p { margin: 0; color: var(--zsp-muted); font-size: 14px; line-height: 1.5; }
.zsp-product-footer__links { display: flex; flex-wrap: wrap; gap: 9px 16px; }
.zsp-product-footer a { color: var(--zsp-accent-strong); font-size: 14px; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.zsp-product-footer__meta { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; color: var(--zsp-muted); font-size: 13px; white-space: nowrap; }

.zsp-product.is-zsp-loading .zsp-grid { opacity: .55; pointer-events: none; }

@media (max-width: 1080px) {
	.zsp-filters__primary { grid-template-columns: minmax(220px, 1fr) minmax(150px, 200px); }
	.zsp-filters__actions { grid-column: 1 / -1; }
	.zsp-filters__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zsp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zsp-product-footer__inner { grid-template-columns: 1fr 1.6fr; }
	.zsp-product-footer__meta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (max-width: 640px) {
	.zsp-shell { width: min(100% - 20px, 1180px); padding-top: 14px; }
	.zsp-content-switch { gap: 6px; }
	.zsp-content-switch__label { width: 100%; }
	.zsp-content-switch a { min-height: 40px; }
	.zsp-filters { padding: 12px; }
	.zsp-filters__primary,
	.zsp-filters__grid { grid-template-columns: 1fr; }
	.zsp-filters__actions { grid-column: auto; }
	.zsp-filters__actions .zsp-button { flex: 1; }
	.zsp-grid { grid-template-columns: 1fr; }
	.zsp-card { min-height: 176px; }
	.zsp-card__actions { grid-template-columns: 1fr 1fr; }
	.zsp-player { bottom: calc(10px + env(safe-area-inset-bottom)); grid-template-columns: 44px minmax(0, 1fr); }
	.zsp-player__progress { grid-column: 1 / -1; }
	.zsp-single__article { padding: 17px; }
	.zsp-product-footer__inner { grid-template-columns: 1fr; width: min(100% - 22px, 1180px); padding: 24px 0 calc(24px + env(safe-area-inset-bottom)); }
	.zsp-product-footer__meta { grid-column: auto; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	.zsp-play { transition: none; }
}
