/*
 * Particle Station – admin felület.
 * Saját, modern megjelenés a plugin oldalain (body.ps-app): design-tokenek,
 * alkalmazás-fejléc, kártyák, saját gombok, mezők, csúszkák és kapcsolók.
 * Minden szabály a .ps-wrap / body.ps-app alá van zárva, a WordPress többi
 * oldalát nem érinti.
 */

body.ps-app {
	--ps-bg: #f4f5fa;
	background: var(--ps-bg);
}

body.ps-app #wpcontent,
body.ps-app #wpbody-content {
	background: var(--ps-bg);
}

body.ps-app #wpfooter {
	display: none;
}

.ps-wrap {
	--ps-bg: #f4f5fa;
	--ps-surface: #fff;
	--ps-surface-2: #f8f9fc;
	--ps-ink: #0f172a;
	--ps-ink-2: #334155;
	--ps-muted: #64748b;
	--ps-line: #e6e8f0;
	--ps-line-2: #eef0f6;
	--ps-accent: #6d5efc;
	--ps-accent-ink: #4f3fe0;
	--ps-accent-soft: #f0eeff;
	--ps-accent-2: #22d3ee;
	--ps-grad: linear-gradient(135deg, #7c5cff 0%, #5b8cff 55%, #22d3ee 100%);
	--ps-ok: #10b981;
	--ps-warn: #f59e0b;
	--ps-danger: #ef4444;
	--ps-radius: 16px;
	--ps-radius-sm: 10px;
	--ps-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -16px rgba(15, 23, 42, 0.18);
	--ps-shadow-lg: 0 24px 60px -24px rgba(30, 27, 75, 0.45);
	--ps-font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
	--ps-mono: "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Consolas, monospace;
	max-width: 1440px;
	margin: 0 20px 40px 2px;
	color: var(--ps-ink);
	font-family: var(--ps-font);
	font-size: 14px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

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

.ps-wrap [hidden] {
	display: none !important;
}

.ps-wrap h1,
.ps-wrap h2,
.ps-wrap h3 {
	color: var(--ps-ink);
	font-family: var(--ps-font);
	letter-spacing: -0.01em;
}

.ps-wrap a {
	color: var(--ps-accent-ink);
}

.ps-wrap a:focus,
.ps-wrap button:focus {
	box-shadow: none;
}

.ps-wrap :focus-visible {
	outline: 2px solid var(--ps-accent);
	outline-offset: 2px;
}

.ps-wrap code {
	padding: 3px 8px;
	border-radius: 6px;
	background: var(--ps-surface-2);
	border: 1px solid var(--ps-line);
	color: var(--ps-ink-2);
	font-family: var(--ps-mono);
	font-size: 12px;
}

.ps-wrap .description,
.ps-link {
	color: var(--ps-muted);
}

.ps-link {
	font-weight: 600;
	text-decoration: none;
}

.ps-link:hover {
	color: var(--ps-accent-ink);
}

/* ---------------------------------------------------------------- */
/* App bar                                                           */
/* ---------------------------------------------------------------- */

.ps-appbar {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	margin: 18px 0 20px;
	padding: 14px 18px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius);
	box-shadow: var(--ps-shadow);
	backdrop-filter: saturate(1.4) blur(10px);
}

.ps-appbar__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.ps-logo {
	display: inline-flex;
	flex: none;
	filter: drop-shadow(0 6px 12px rgba(109, 94, 252, 0.35));
}

.ps-appbar__titles {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ps-appbar__eyebrow {
	color: var(--ps-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ps-wrap .ps-appbar__title {
	margin: 0;
	padding: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.ps-appnav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 4px;
	background: var(--ps-surface-2);
	border: 1px solid var(--ps-line);
	border-radius: 12px;
}

.ps-appnav__item {
	padding: 7px 14px;
	border-radius: 9px;
	color: var(--ps-ink-2) !important;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.ps-appnav__item:hover {
	background: #fff;
	color: var(--ps-ink) !important;
}

.ps-appnav__item.is-current {
	background: #fff;
	color: var(--ps-accent-ink) !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 0 0 1px var(--ps-line);
}

.ps-appbar__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-left: auto;
}

/* ---------------------------------------------------------------- */
/* Buttons (WordPress button classes restyled inside .ps-wrap)       */
/* ---------------------------------------------------------------- */

.ps-wrap .button,
.ps-wrap .button-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid var(--ps-line);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
	color: var(--ps-ink-2);
	font-family: var(--ps-font);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.ps-wrap .button:hover,
.ps-wrap .button:focus {
	border-color: #cfd3e3;
	background: var(--ps-surface-2);
	color: var(--ps-ink);
}

.ps-wrap .button:active {
	transform: translateY(1px);
}

.ps-wrap .button-primary,
.ps-wrap .button.button-primary {
	border: 0;
	background: var(--ps-grad);
	box-shadow: 0 8px 20px -8px rgba(91, 95, 252, 0.7);
	color: #fff;
}

.ps-wrap .button-primary:hover,
.ps-wrap .button-primary:focus,
.ps-wrap .button.button-primary:hover {
	background: var(--ps-grad);
	color: #fff;
	filter: brightness(1.06);
	box-shadow: 0 10px 24px -8px rgba(91, 95, 252, 0.85);
}

.ps-wrap .button-primary:disabled,
.ps-wrap .button-primary[disabled] {
	background: #c7c9de !important;
	box-shadow: none !important;
	color: #fff !important;
}

.ps-wrap .button-small {
	min-height: 30px;
	padding: 0 11px;
	border-radius: 8px;
	font-size: 12px;
}

.ps-wrap .button-large,
.ps-wrap .button-hero {
	min-height: 44px;
	padding: 0 22px;
	border-radius: 12px;
	font-size: 14px;
}

.ps-wrap .button:disabled,
.ps-wrap .button[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

.ps-wrap .button .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

.ps-wrap .button-link {
	color: var(--ps-accent-ink);
	font-weight: 600;
	text-decoration: none;
}

.ps-wrap .button-link-delete,
.ps-wrap .button.button-link-delete {
	color: var(--ps-danger);
}

.ps-wrap .button.button-link-delete:hover {
	border-color: #fecaca;
	background: #fef2f2;
	color: #b91c1c;
}

/* ---------------------------------------------------------------- */
/* Form controls                                                     */
/* ---------------------------------------------------------------- */

.ps-wrap input[type="text"],
.ps-wrap input[type="number"],
.ps-wrap input[type="url"],
.ps-wrap input[type="email"],
.ps-wrap input[type="password"],
.ps-wrap input[type="date"],
.ps-wrap input[type="file"],
.ps-wrap select,
.ps-wrap textarea {
	min-height: 38px;
	padding: 7px 12px;
	border: 1px solid var(--ps-line);
	border-radius: 10px;
	background-color: #fff;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
	color: var(--ps-ink);
	font-family: var(--ps-font);
	font-size: 13px;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.ps-wrap select {
	padding-right: 32px;
	background-position: right 10px top 55%;
}

.ps-wrap input[type="text"]:focus,
.ps-wrap input[type="number"]:focus,
.ps-wrap input[type="url"]:focus,
.ps-wrap input[type="email"]:focus,
.ps-wrap input[type="password"]:focus,
.ps-wrap input[type="date"]:focus,
.ps-wrap select:focus,
.ps-wrap textarea:focus {
	border-color: var(--ps-accent);
	box-shadow: 0 0 0 4px rgba(109, 94, 252, 0.15);
	outline: 0;
}

.ps-wrap input[type="checkbox"] {
	border-color: #cbd0e0;
	border-radius: 5px;
}

.ps-wrap input[type="checkbox"]:checked::before {
	filter: hue-rotate(40deg);
}

/* Range sliders */

.ps-wrap input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	height: 22px;
	margin: 0;
	padding: 0;
	background: transparent;
	accent-color: var(--ps-accent);
	cursor: pointer;
}

.ps-wrap input[type="range"]::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 6px;
	background: linear-gradient(90deg, #ddd8ff, #d6f5fb);
}

.ps-wrap input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	margin-top: -6px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--ps-accent);
	box-shadow: 0 2px 6px rgba(76, 61, 224, 0.45);
	transition: transform 0.15s;
}

.ps-wrap input[type="range"]:hover::-webkit-slider-thumb {
	transform: scale(1.12);
}

.ps-wrap input[type="range"]::-moz-range-track {
	height: 6px;
	border-radius: 6px;
	background: linear-gradient(90deg, #ddd8ff, #d6f5fb);
}

.ps-wrap input[type="range"]::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--ps-accent);
	box-shadow: 0 2px 6px rgba(76, 61, 224, 0.45);
}

.ps-wrap input[type="range"]:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

/* Colour inputs */

.ps-wrap input[type="color"] {
	width: 44px;
	height: 36px;
	padding: 3px;
	border: 1px solid var(--ps-line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
}

.ps-wrap input[type="color"]::-webkit-color-swatch-wrapper {
	padding: 0;
}

.ps-wrap input[type="color"]::-webkit-color-swatch {
	border: 0;
	border-radius: 7px;
}

/* ---------------------------------------------------------------- */
/* Notices on the plugin pages                                       */
/* ---------------------------------------------------------------- */

.ps-wrap .notice,
body.ps-app #wpbody-content > .notice,
body.ps-app #wpbody-content > .wrap > .notice {
	margin: 0 0 16px;
	padding: 10px 16px;
	border: 1px solid var(--ps-line);
	border-left-width: 4px;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--ps-shadow);
}

.ps-wrap .notice-success {
	border-left-color: var(--ps-ok);
}

.ps-wrap .notice-warning {
	border-left-color: var(--ps-warn);
}

.ps-wrap .notice-error {
	border-left-color: var(--ps-danger);
}

.ps-wrap .notice-info {
	border-left-color: var(--ps-accent);
}

/* ---------------------------------------------------------------- */
/* Cards & grids                                                     */
/* ---------------------------------------------------------------- */

.ps-card {
	margin: 0 0 16px;
	padding: 20px 22px;
	background: var(--ps-surface);
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius);
	box-shadow: var(--ps-shadow);
}

.ps-card h2,
.ps-card__title {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 700;
}

.ps-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 14px;
}

.ps-card__head h2 {
	margin: 0;
}

.ps-grid {
	display: grid;
	gap: 16px;
	margin-bottom: 16px;
}

.ps-grid > .ps-card {
	margin: 0;
}

.ps-grid--stats {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ps-grid--two {
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.ps-grid--dash {
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: start;
}

@media (max-width: 1100px) {
	.ps-grid--dash {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------- */
/* Dashboard                                                         */
/* ---------------------------------------------------------------- */

.ps-hero {
	position: relative;
	overflow: hidden;
	margin: 0 0 16px;
	padding: 36px 36px 32px;
	border-radius: 22px;
	background: radial-gradient(120% 140% at 85% 10%, #3b2bbf 0%, transparent 55%), radial-gradient(90% 120% at 10% 100%, #0e7490 0%, transparent 50%), linear-gradient(135deg, #0b0a2a 0%, #1e1b4b 60%, #23206b 100%);
	box-shadow: var(--ps-shadow-lg);
	color: #fff;
	isolation: isolate;
}

.ps-hero__fx {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	opacity: 0.9;
}

.ps-hero__fx .ps-particle__canvas {
	pointer-events: none;
}

.ps-hero__content {
	position: relative;
	max-width: 760px;
}

.ps-wrap .ps-hero h2 {
	margin: 0 0 10px;
	color: #fff;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	background: linear-gradient(90deg, #fff 30%, #c7d2fe 70%, #a5f3fc);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.ps-hero p {
	max-width: 640px;
	margin: 0 0 18px;
	color: #c7cbe6;
	font-size: 15px;
}

.ps-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.ps-steps li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 6px 12px 6px 6px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	color: #e0e7ff;
	font-size: 13px;
	backdrop-filter: blur(6px);
}

.ps-steps li span {
	display: inline-grid;
	width: 22px;
	height: 22px;
	place-items: center;
	border-radius: 50%;
	background: var(--ps-grad);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.ps-wrap .ps-hero__cta {
	border: 0;
	background: #fff;
	color: #1e1b4b;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.ps-wrap .ps-hero__cta:hover {
	background: #eef2ff;
	color: #1e1b4b;
}

.ps-stat {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	align-items: center;
	gap: 0 14px;
}

.ps-stat__icon {
	grid-row: span 2;
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border-radius: 14px;
	color: #fff;
}

.ps-stat__icon .dashicons {
	width: 24px;
	height: 24px;
	font-size: 24px;
}

.ps-stat__icon--violet {
	background: linear-gradient(135deg, #7c5cff, #a78bfa);
}

.ps-stat__icon--cyan {
	background: linear-gradient(135deg, #0ea5e9, #22d3ee);
}

.ps-stat__value {
	font-size: 30px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.ps-stat__label {
	color: var(--ps-muted);
	font-weight: 500;
}

.ps-stat--list {
	display: flex;
	align-items: center;
}

.ps-integrations {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ps-integrations li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 28px;
	font-weight: 500;
}

.ps-integrations li:last-child {
	margin-bottom: 0;
}

.ps-integrations li::before {
	position: absolute;
	top: 1px;
	left: 0;
	display: grid;
	width: 18px;
	height: 18px;
	place-items: center;
	border-radius: 50%;
	font-family: dashicons;
	font-size: 14px;
	line-height: 18px;
	text-align: center;
}

.ps-integrations .is-active::before {
	content: "\f147";
	background: #d1fae5;
	color: #047857;
}

.ps-integrations .is-inactive {
	color: var(--ps-muted);
}

.ps-integrations .is-inactive::before {
	content: "\f335";
	background: #f1f5f9;
	color: var(--ps-muted);
}

.ps-recent {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ps-recent li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid var(--ps-line-2);
}

.ps-recent li:last-child {
	border-bottom: 0;
}

.ps-recent__thumb {
	display: grid;
	flex: none;
	width: 44px;
	height: 44px;
	overflow: hidden;
	place-items: center;
	border-radius: 12px;
	background: var(--ps-surface-2) repeating-conic-gradient(#eef0f6 0 25%, #fff 0 50%) 0 0 / 10px 10px;
}

.ps-recent__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ps-recent__main {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.ps-recent__title {
	overflow: hidden;
	color: var(--ps-ink) !important;
	font-weight: 600;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ps-recent__title:hover {
	color: var(--ps-accent-ink) !important;
}

.ps-recent__preset {
	color: var(--ps-muted);
	font-size: 12px;
}

.ps-recent--plain li {
	justify-content: space-between;
}

.ps-preset-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 8px;
	max-height: 560px;
	margin: 0;
	padding: 0 4px 0 0;
	overflow: auto;
	list-style: none;
}

.ps-preset-gallery li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 10px;
	border-radius: 12px;
	transition: background 0.15s;
}

.ps-preset-gallery li:hover {
	background: var(--ps-surface-2);
}

.ps-preset-gallery li.is-unavailable {
	opacity: 0.6;
}

.ps-preset-gallery__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ps-preset-gallery__text span:not(.ps-pro-badge) {
	color: var(--ps-muted);
	font-size: 12px;
	line-height: 1.4;
}

.ps-preset-icon {
	flex: none;
	display: block;
	border-radius: 12px;
	box-shadow: 0 6px 14px -8px rgba(15, 23, 42, 0.45);
}

.ps-empty {
	color: var(--ps-muted);
}

.ps-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 56px 20px;
	text-align: center;
}

.ps-empty-state h2 {
	margin: 10px 0 0;
}

/* ---------------------------------------------------------------- */
/* Chips & badges                                                    */
/* ---------------------------------------------------------------- */

.ps-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px 3px 4px;
	border: 1px solid var(--ps-line);
	border-radius: 999px;
	background: var(--ps-surface-2);
	color: var(--ps-ink-2);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.ps-chip .ps-preset-icon {
	border-radius: 6px;
	box-shadow: none;
}

.ps-chip--ok {
	padding: 3px 10px;
	border-color: #a7f3d0;
	background: #ecfdf5;
	color: #047857;
}

.ps-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
}

.ps-badge--warning {
	border: 1px solid #fde68a;
	background: #fffbeb;
	color: #b45309;
}

.ps-pro-badge {
	display: inline-flex;
	align-items: center;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--ps-grad);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 17px;
	letter-spacing: 0.04em;
	vertical-align: middle;
	text-transform: uppercase;
	-webkit-text-fill-color: #fff;
}

.ps-pro-note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 14px 0 0;
	padding: 10px 14px;
	border: 1px solid #e4e0ff;
	border-radius: 12px;
	background: linear-gradient(135deg, #f7f5ff, #f0fbff);
	color: var(--ps-ink-2);
	font-size: 12px;
	line-height: 1.55;
}

.ps-pro-note .ps-pro-badge {
	flex: none;
	margin-top: 1px;
}

.ps-pro-note a {
	white-space: nowrap;
}

/* Status of a Pro feature (informational only). */

.ps-pro-status {
	display: inline-flex;
	align-items: center;
	padding: 0 8px;
	border: 1px solid var(--ps-line);
	border-radius: 999px;
	background: var(--ps-surface-2);
	color: var(--ps-ink-2);
	font-size: 11px;
	font-weight: 600;
	line-height: 19px;
	white-space: nowrap;
}

.ps-pro-status--available {
	border-color: #bbf7d0;
	background: #f0fdf4;
	color: #15803d;
}

.ps-pro-status--licence {
	border-color: #fde68a;
	background: #fffbeb;
	color: #b45309;
}

/* "Pro features" page */

.ps-pro-intro p {
	margin: 0 0 8px;
}

.ps-pro-intro p:last-child {
	margin-bottom: 0;
}

.ps-pro-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.ps-pro-grid .ps-pro-feature {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
}

.ps-pro-feature__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 15px;
}

.ps-pro-feature__desc {
	flex: 1;
	margin: 0;
	color: var(--ps-ink-2);
	line-height: 1.55;
}

/* ---------------------------------------------------------------- */
/* Animation list (card grid)                                        */
/* ---------------------------------------------------------------- */

.ps-anim-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 16px;
}

.ps-anim-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--ps-surface);
	border: 1px solid var(--ps-line);
	border-radius: var(--ps-radius);
	box-shadow: var(--ps-shadow);
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.ps-anim-card:hover {
	transform: translateY(-2px);
	border-color: #d9dcf0;
	box-shadow: var(--ps-shadow-lg);
}

.ps-anim-card.ps-row-highlight {
	border-color: var(--ps-accent);
	box-shadow: 0 0 0 3px rgba(109, 94, 252, 0.18), var(--ps-shadow);
}

.ps-anim-card__media {
	display: grid;
	height: 160px;
	place-items: center;
	padding: 16px;
	background: radial-gradient(circle at 1px 1px, #dfe2ee 1px, transparent 0) 0 0 / 14px 14px, linear-gradient(180deg, #fafbff, #f1f3fa);
	border-bottom: 1px solid var(--ps-line-2);
}

.ps-anim-card__media .ps-thumb {
	max-width: 100%;
	max-height: 128px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.15));
}

.ps-anim-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 16px 18px 18px;
}

.ps-anim-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.ps-wrap .ps-anim-card__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
}

.ps-anim-card__title a {
	color: var(--ps-ink);
	text-decoration: none;
}

.ps-anim-card__title a:hover {
	color: var(--ps-accent-ink);
}

.ps-anim-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.ps-anim-card__date {
	color: var(--ps-muted);
	font-size: 12px;
}

.ps-anim-card .ps-actions {
	margin-top: auto;
	padding-top: 6px;
}

.ps-shortcode {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.ps-shortcode code {
	overflow-wrap: anywhere;
	user-select: all;
}

.ps-shortcode--large {
	margin-top: 14px;
	padding: 10px 12px;
	border: 1px dashed #d8d3ff;
	border-radius: 12px;
	background: var(--ps-accent-soft);
}

.ps-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.ps-import-card form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.ps-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 20px;
}

.ps-pagination .page-numbers {
	display: inline-grid;
	min-width: 36px;
	height: 36px;
	place-items: center;
	padding: 0 10px;
	border: 1px solid var(--ps-line);
	border-radius: 10px;
	background: #fff;
	text-decoration: none;
}

.ps-pagination .current {
	border-color: transparent;
	background: var(--ps-grad);
	color: #fff;
}

/* Quick preview */

.ps-modal {
	width: min(980px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	padding: 0;
	border: 0;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 40px 100px -20px rgba(15, 23, 42, 0.55);
	overflow: auto;
}

.ps-modal::backdrop {
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(4px);
}

.ps-modal__head,
.ps-modal__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 16px 22px;
}

.ps-modal__head h2 {
	margin: 0;
	font-size: 17px;
}

.ps-modal__stage {
	margin: 0 22px;
}

.ps-modal__stage .ps-particle {
	max-height: 60vh;
}

.ps-modal__close {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 0;
	border-radius: 10px;
	background: var(--ps-surface-2);
	cursor: pointer;
}

/* ---------------------------------------------------------------- */
/* Editor                                                            */
/* ---------------------------------------------------------------- */

.ps-editor {
	display: grid;
	grid-template-columns: minmax(340px, 470px) minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.ps-editor__preview {
	position: sticky;
	top: 48px;
}

@media (max-width: 1100px) {
	.ps-editor {
		grid-template-columns: 1fr;
	}

	.ps-editor__preview {
		position: static;
		order: -1;
	}
}

.ps-wrap .ps-input-title {
	width: 100%;
	min-height: 46px;
	font-size: 17px;
	font-weight: 600;
}

/* Tabs */

.ps-tabs {
	position: sticky;
	top: 40px;
	z-index: 5;
	display: flex;
	gap: 4px;
	margin: 0 0 16px;
	padding: 5px;
	border: 1px solid var(--ps-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: var(--ps-shadow);
	backdrop-filter: blur(8px);
}

.ps-tabs__tab {
	flex: 1;
	padding: 9px 10px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--ps-ink-2);
	font-family: var(--ps-font);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.ps-tabs__tab:hover {
	background: var(--ps-surface-2);
}

.ps-tabs__tab[aria-selected="true"] {
	background: var(--ps-grad);
	box-shadow: 0 6px 16px -8px rgba(91, 95, 252, 0.8);
	color: #fff;
}

/* Basic / advanced view: only what is shown changes; hidden fields keep their values. */

.ps-view-switch {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
	margin: 0 0 12px;
}

.ps-view-switch[hidden] {
	display: none;
}

.ps-view-switch__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	cursor: pointer;
}

.ps-view-switch .ps-field__help {
	margin: 0;
	flex: 1 1 100%;
}

.ps-editor.is-basic .ps-advanced-only,
.ps-editor.is-basic .ps-tabs__tab[data-ps-tab="3d"],
.ps-editor.is-basic .ps-group:not(.has-basic),
.ps-editor.is-basic .ps-group .ps-field:not(.is-basic),
.ps-editor.is-basic .ps-element-panel .ps-subgroup:not(:first-of-type) {
	display: none !important;
}

/* Device switcher */

.ps-device-bar {
	margin: 0 0 12px;
}

.ps-device-switch {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--ps-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--ps-shadow);
}

.ps-device-switch button {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 12px;
	border: 0;
	border-radius: 9px;
	background: none;
	color: var(--ps-ink-2);
	font-family: var(--ps-font);
	font-weight: 600;
	cursor: pointer;
}

.ps-device-switch button:hover {
	background: var(--ps-surface-2);
}

.ps-device-switch button[aria-pressed="true"] {
	background: var(--ps-ink);
	color: #fff;
}

.ps-device-switch .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

/* Groups */

.ps-group > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	list-style: none;
	cursor: pointer;
}

.ps-group > summary::-webkit-details-marker {
	display: none;
}

.ps-group > summary::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-right: 4px;
	border-right: 2px solid var(--ps-muted);
	border-bottom: 2px solid var(--ps-muted);
	transform: rotate(45deg);
	transition: transform 0.2s;
}

.ps-group:not([open]) > summary::after {
	transform: rotate(-45deg);
}

.ps-group__fields {
	margin-top: 16px;
}

/* Fields */

.ps-field {
	margin-bottom: 18px;
}

.ps-field:last-child {
	margin-bottom: 0;
}

.ps-field.is-disabled {
	opacity: 0.45;
}

.ps-field__label {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
	color: var(--ps-ink-2);
	font-size: 13px;
	font-weight: 600;
}

.ps-field__value {
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--ps-accent-soft);
	color: var(--ps-accent-ink);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.ps-field__help {
	margin: 6px 0 0;
	color: var(--ps-muted);
	font-size: 12px;
	line-height: 1.45;
}

.ps-field input[type="range"],
.ps-field select {
	width: 100%;
	max-width: none;
}

/* Toggle switch */

.ps-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ps-ink-2);
	font-weight: 600;
	cursor: pointer;
}

.ps-toggle input {
	position: absolute;
	opacity: 0;
}

.ps-toggle__track {
	position: relative;
	flex: none;
	width: 40px;
	height: 24px;
	border-radius: 24px;
	background: #d6d9e6;
	transition: background 0.2s;
}

.ps-toggle__track::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 4px rgba(15, 23, 42, 0.25);
	transition: transform 0.2s;
}

.ps-toggle input:checked + .ps-toggle__track {
	background: var(--ps-grad);
}

.ps-toggle input:checked + .ps-toggle__track::after {
	transform: translateX(16px);
}

.ps-toggle input:focus-visible + .ps-toggle__track {
	outline: 2px solid var(--ps-accent);
	outline-offset: 2px;
}

/* Segmented choice */

.ps-segmented {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 3px;
	padding: 3px;
	border: 1px solid var(--ps-line);
	border-radius: 11px;
	background: var(--ps-surface-2);
}

.ps-segmented__item {
	position: relative;
	cursor: pointer;
}

.ps-segmented__item input {
	position: absolute;
	opacity: 0;
}

.ps-segmented__item span {
	display: block;
	padding: 6px 13px;
	border-radius: 8px;
	color: var(--ps-ink-2);
	font-weight: 600;
	transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.ps-segmented__item:hover span {
	color: var(--ps-ink);
}

.ps-segmented__item input:checked + span {
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
	color: var(--ps-accent-ink);
}

.ps-segmented__item input:focus-visible + span {
	outline: 2px solid var(--ps-accent);
	outline-offset: -2px;
}

/* Responsive overrides */

.ps-field.is-locked {
	opacity: 0.4;
}

.ps-field.is-responsive {
	padding-left: 10px;
	border-left: 3px solid #fbbf24;
}

.ps-field.has-override {
	border-left-color: var(--ps-accent);
}

.ps-override-reset {
	float: right;
	margin-left: 6px;
	font-size: 15px;
	line-height: 1;
	text-decoration: none;
}

/* Colour list and image fields */

.ps-colors {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.ps-colors__item {
	position: relative;
	display: inline-flex;
}

.ps-colors__remove {
	position: absolute;
	top: -7px;
	right: -7px;
	width: 18px;
	height: 18px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--ps-ink);
	color: #fff;
	font-size: 11px;
	line-height: 14px;
	cursor: pointer;
}

.ps-colors__remove:disabled {
	display: none;
}

.ps-image-field {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 10px;
	border: 1px dashed #d5d8e6;
	border-radius: 12px;
	background: var(--ps-surface-2);
}

.ps-image-field img {
	width: 56px;
	height: 56px;
	object-fit: contain;
	border-radius: 10px;
	background: #fff repeating-conic-gradient(#eef0f6 0 25%, #fff 0 50%) 0 0 / 10px 10px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.ps-image-field:not(.has-image) .ps-image-field__remove {
	display: none;
}

/* Presets */

.ps-preset-cat {
	margin: 0 0 12px;
}

.ps-preset-cat > summary {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	color: var(--ps-ink-2);
	font-weight: 700;
	cursor: pointer;
}

.ps-preset-cat__count {
	display: inline-grid;
	min-width: 22px;
	height: 20px;
	place-items: center;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--ps-surface-2);
	border: 1px solid var(--ps-line);
	color: var(--ps-muted);
	font-size: 11px;
	font-weight: 600;
}

.ps-presets {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 10px;
}

.ps-preset {
	position: relative;
	cursor: pointer;
}

.ps-preset input {
	position: absolute;
	opacity: 0;
}

.ps-preset__body {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 3px 12px;
	height: 100%;
	padding: 12px;
	border: 1px solid var(--ps-line);
	border-radius: 14px;
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s, background 0.15s;
}

.ps-preset .ps-preset-icon {
	grid-row: span 2;
}

.ps-preset__name {
	color: var(--ps-ink);
	font-weight: 700;
}

.ps-preset__desc {
	color: var(--ps-muted);
	font-size: 12px;
	line-height: 1.4;
}

.ps-preset:hover .ps-preset__body {
	border-color: #cfd3e6;
	transform: translateY(-1px);
	box-shadow: var(--ps-shadow);
}

.ps-preset input:checked + .ps-preset__body {
	border-color: var(--ps-accent);
	background: linear-gradient(135deg, #f7f5ff, #f1fbff);
	box-shadow: 0 0 0 3px rgba(109, 94, 252, 0.16);
}

.ps-preset input:focus-visible + .ps-preset__body {
	outline: 2px solid var(--ps-accent);
	outline-offset: 2px;
}

.ps-preset-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 12px;
}

.ps-preset-footer .ps-field__help {
	margin: 0;
}

/* Preview */

.ps-preview-card {
	padding: 18px;
}

.ps-preview-stage {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	background: radial-gradient(circle at 1px 1px, #dfe2ee 1px, transparent 0) 0 0 / 16px 16px, #f9fafe;
	box-shadow: inset 0 0 0 1px var(--ps-line);
}

.ps-preview-stage .ps-particle {
	max-height: 560px;
	border-radius: 14px;
}

.ps-preview-stage[data-device="tablet"] {
	max-width: 768px;
	margin: 0 auto;
}

.ps-preview-stage[data-device="mobile"] {
	max-width: 375px;
	margin: 0 auto;
}

.ps-preview-empty {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 20px;
	color: var(--ps-muted);
	text-align: center;
}

/* Save bar */

.ps-editor__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 16px -18px -18px;
	padding: 14px 18px;
	border-top: 1px solid var(--ps-line-2);
	border-radius: 0 0 var(--ps-radius) var(--ps-radius);
	background: var(--ps-surface-2);
}

.ps-editor__save {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.ps-editor__links {
	display: inline-flex;
	gap: 16px;
}

.ps-editor__links a {
	font-weight: 600;
	text-decoration: none;
}

.ps-save-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
}

.ps-save-status:not(:empty)::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.ps-save-status[data-state="unsaved"] {
	color: #b45309;
}

.ps-save-status[data-state="saving"] {
	color: var(--ps-muted);
}

.ps-save-status[data-state="saved"] {
	color: #047857;
}

.ps-save-status[data-state="failed"] {
	color: #b91c1c;
}

/* ---------------------------------------------------------------- */
/* Scene editor                                                      */
/* ---------------------------------------------------------------- */

.ps-elements__add {
	position: relative;
}

.ps-elements__add-menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 10;
	display: grid;
	min-width: 200px;
	padding: 6px;
	border: 1px solid var(--ps-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--ps-shadow-lg);
}

.ps-elements__add-menu button {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 10px;
	border: 0;
	border-radius: 9px;
	background: none;
	color: var(--ps-ink-2);
	font-family: var(--ps-font);
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.ps-elements__add-menu button:hover,
.ps-elements__add-menu button:focus-visible {
	background: var(--ps-accent-soft);
	color: var(--ps-accent-ink);
}

.ps-elements {
	margin: 12px 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--ps-line);
	border-radius: 14px;
	list-style: none;
}

.ps-elements__item {
	display: flex;
	align-items: center;
	margin: 0;
	border-bottom: 1px solid var(--ps-line-2);
	transition: background 0.15s;
}

.ps-elements__item:last-child {
	border-bottom: 0;
}

.ps-elements__item:hover {
	background: var(--ps-surface-2);
}

.ps-elements__item.is-selected {
	background: linear-gradient(90deg, #f3f1ff, #fff);
	box-shadow: inset 3px 0 0 var(--ps-accent);
}

.ps-elements__item.is-hidden .ps-elements__select {
	opacity: 0.5;
}

.ps-elements__select {
	display: grid;
	flex: 1;
	grid-template-columns: 36px 1fr;
	align-items: center;
	gap: 0 10px;
	min-width: 0;
	padding: 9px 12px;
	border: 0;
	background: none;
	font-family: var(--ps-font);
	text-align: left;
	cursor: pointer;
}

.ps-elements__select img,
.ps-elements__select .dashicons {
	grid-row: span 2;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--ps-surface-2);
	color: var(--ps-accent);
	font-size: 22px;
	line-height: 36px;
	object-fit: contain;
	text-align: center;
}

.ps-elements__name {
	overflow: hidden;
	color: var(--ps-ink);
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ps-elements__type {
	color: var(--ps-muted);
	font-size: 12px;
}

.ps-elements__tools {
	display: flex;
	flex: none;
	gap: 2px;
	padding-right: 8px;
}

.ps-elements__tools .button-link {
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	padding: 0;
	border-radius: 8px;
	color: var(--ps-muted);
}

.ps-elements__tools .button-link:hover {
	background: #fff;
	color: var(--ps-accent-ink);
}

.ps-elements__tools .button-link:disabled {
	opacity: 0.3;
}

.ps-element-panel__title {
	margin: 6px 0 12px;
	font-size: 15px;
}

.ps-subgroup {
	margin: 0 0 8px;
	border: 1px solid var(--ps-line);
	border-radius: 12px;
	background: #fff;
}

.ps-subgroup > summary {
	padding: 11px 14px;
	color: var(--ps-ink-2);
	font-weight: 700;
	cursor: pointer;
}

.ps-subgroup[open] > summary {
	border-bottom: 1px solid var(--ps-line-2);
}

.ps-subgroup > .ps-field,
.ps-subgroup > p,
.ps-subgroup > button,
.ps-subgroup > .ps-stage {
	margin: 14px;
}

.ps-subgroup select,
.ps-subgroup textarea {
	width: 100%;
	max-width: none;
}

.ps-range {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ps-range input[type="range"] {
	flex: 1;
}

.ps-range output {
	min-width: 52px;
	padding: 2px 8px;
	border-radius: 8px;
	background: var(--ps-surface-2);
	color: var(--ps-accent-ink);
	font-size: 12px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.ps-stage {
	padding: 10px 12px;
	border: 1px solid var(--ps-line);
	border-radius: 12px;
	background: var(--ps-surface-2);
}

.ps-stage__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
	font-weight: 700;
}

/* ---------------------------------------------------------------- */
/* Timeline                                                          */
/* ---------------------------------------------------------------- */

.ps-timeline {
	margin-top: 16px;
	padding: 14px;
	border: 1px solid var(--ps-line);
	border-radius: 14px;
	background: var(--ps-surface-2);
}

.ps-tl__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.ps-tl__opts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.ps-wrap .ps-tl__duration {
	width: 76px;
}

.ps-tl__transport {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 12px 0 10px;
}

.ps-tl__transport .is-active {
	border-color: var(--ps-accent);
	color: var(--ps-accent-ink);
}

.ps-tl__time {
	min-width: 112px;
	font-family: var(--ps-mono);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.ps-tl__scrub {
	flex: 1;
	min-width: 140px;
}

.ps-tl__row {
	display: grid;
	grid-template-columns: minmax(80px, 140px) 1fr;
	align-items: center;
	gap: 8px;
	margin-bottom: 5px;
}

.ps-tl__row.is-hidden {
	opacity: 0.45;
}

.ps-tl__label {
	overflow: hidden;
	padding: 5px 8px;
	border: 0;
	border-radius: 8px;
	background: none;
	font-family: var(--ps-font);
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
	cursor: pointer;
}

.ps-tl__row.is-selected .ps-tl__label {
	background: #fff;
	box-shadow: 0 0 0 1px var(--ps-line);
	font-weight: 700;
}

.ps-tl__lane {
	position: relative;
	height: 28px;
	border-radius: 8px;
	background: repeating-linear-gradient(90deg, #fff 0 calc(10% - 1px), #e9ebf3 calc(10% - 1px) 10%);
	box-shadow: inset 0 0 0 1px var(--ps-line);
	touch-action: none;
}

.ps-tl__bar {
	position: absolute;
	top: 5px;
	bottom: 5px;
	min-width: 6px;
	border-radius: 6px;
	background: linear-gradient(90deg, #c4b5fd, #a5f3fc);
	cursor: grab;
	box-shadow: inset 4px 0 0 var(--ps-accent), inset -4px 0 0 var(--ps-accent);
}

.ps-tl__row.is-selected .ps-tl__bar {
	background: var(--ps-grad);
}

.ps-tl__diamond {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
	padding: 0;
	border: 2px solid #fff;
	background: #f59e0b;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.35);
	transform: rotate(45deg);
	cursor: ew-resize;
	touch-action: none;
}

.ps-tl__playhead {
	position: absolute;
	top: -3px;
	bottom: -3px;
	z-index: 3;
	width: 2px;
	border-radius: 2px;
	background: #ef4444;
	pointer-events: none;
}

.ps-tl__keys {
	margin-top: 12px;
	padding: 12px;
	border: 1px solid var(--ps-line);
	border-radius: 12px;
	background: #fff;
}

.ps-tl__keys-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.ps-tl__key {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-top: 1px solid var(--ps-line-2);
}

.ps-wrap .ps-tl__key input[type="number"] {
	width: 84px;
}

/* ---------------------------------------------------------------- */
/* Small screens                                                     */
/* ---------------------------------------------------------------- */

@media (max-width: 782px) {
	.ps-wrap {
		margin-right: 10px;
	}

	.ps-appbar__actions {
		margin-left: 0;
	}

	.ps-hero {
		padding: 26px 20px;
	}

	.ps-wrap .ps-hero h2 {
		font-size: 24px;
	}

	.ps-anim-grid {
		grid-template-columns: 1fr;
	}
}
