/*
Theme Name: Packsito
Description: Tema base del MVP de Packsito.
Version: 0.2.0
Author: Packsito
Text Domain: packsito
*/

:root {
	--ps-bg: #080909;
	--ps-panel: #111313;
	--ps-panel-2: #171919;
	--ps-border: #292c2c;
	--ps-text: #f5f5f5;
	--ps-muted: #969b9b;
	--ps-orange: #ff7a00;
	--ps-orange-soft: #ff9d32;
}

* { box-sizing: border-box; }

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

html, body {
	margin: 0;
	padding: 0;
	background: var(--ps-bg);
	color: var(--ps-text);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

.ps-container {
	width: min(1400px, calc(100% - 32px));
	margin-inline: auto;
}

.ps-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(8, 9, 9, .94);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	backdrop-filter: blur(12px);
}

.ps-header-inner {
	min-height: 72px;
	display: flex;
	align-items: center;
	gap: 24px;
	padding-inline: 14px;
}

.ps-brand {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.ps-brand-link,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	display: block;
	max-width: 220px;
	max-height: 52px;
	width: auto;
}

.ps-logo {
	font-size: 30px;
	font-weight: 900;
	letter-spacing: -1.5px;
	color: var(--ps-orange);
	white-space: nowrap;
}

.ps-logo span { color: #fff1dd; }

.ps-brand-text {
	font-size: 30px;
	font-weight: 900;
	letter-spacing: -1.5px;
	color: var(--ps-orange);
	white-space: nowrap;
}

.ps-search {
	flex: 1;
	min-width: 0;
	max-width: 720px;
}

.ps-search-shell {
	position: relative;
	flex: 1 1 300px;
	min-width: 0;
	max-width: 720px;
}

.ps-search-shell .ps-search { max-width: none; }

.ps-search-results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 80;
	max-height: min(420px, 70vh);
	overflow-y: auto;
	padding: 8px;
	border: 1px solid var(--ps-border);
	border-radius: 14px;
	background: #111313;
	box-shadow: 0 18px 44px rgba(0, 0, 0, .48);
}

.ps-search-results[hidden] { display: none; }
.ps-search-status { margin: 8px 10px; color: var(--ps-muted); font-size: 13px; }
.ps-search-status:empty { display: none; }
.ps-search-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ps-search-group-heading { padding: 9px 10px 3px; color: var(--ps-orange-soft); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ps-search-list a { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 7px; border-radius: 9px; }
.ps-search-list a:hover, .ps-search-list a:focus-visible { outline: none; background: rgba(255, 122, 0, .12); }
.ps-search-list img { width: 46px; height: 46px; flex: 0 0 46px; object-fit: cover; border-radius: 7px; background: var(--ps-panel-2); }
.ps-search-list strong { overflow: hidden; color: var(--ps-text); font-size: 14px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }

.ps-search-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	color: var(--ps-text);
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.ps-search-toggle:hover,
.ps-search-toggle[aria-expanded="true"] {
	border-color: rgba(255, 122, 0, .55);
	background: rgba(255, 122, 0, .16);
	color: #fff1dd;
}

.ps-search input {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--ps-border);
	border-radius: 12px;
	background: var(--ps-panel);
	color: var(--ps-text);
	outline: none;
}

.ps-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
	margin-left: auto;
}

.ps-upload-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 12px;
	background: linear-gradient(135deg, #ff9d32 0%, #e85d04 100%);
	color: #1b0d03;
	font-weight: 900;
	white-space: nowrap;
	box-shadow: 0 10px 24px rgba(232, 93, 4, .25);
	border: 1px solid rgba(255, 255, 255, .12);
	transition: transform .18s ease, filter .18s ease;
}

.ps-upload-btn:hover {
	transform: translateY(-1px);
	filter: brightness(1.03);
}

.ps-upload-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .28);
	color: #fff;
	flex: 0 0 auto;
}

.ps-auth-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ps-auth-link {
	padding: 10px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .03);
	color: var(--ps-text);
	font-weight: 700;
	white-space: nowrap;
	transition: border-color .18s ease, background .18s ease;
}

.ps-auth-link:hover {
	border-color: rgba(255, 122, 0, .55);
	background: rgba(255, 122, 0, .1);
}

.ps-auth-link-secondary {
	color: #fff1dd;
}

.ps-profile-menu {
	position: relative;
}

.ps-profile-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	color: var(--ps-text);
	cursor: pointer;
	list-style: none;
	transition: border-color .18s ease, background .18s ease;
}

.ps-profile-toggle::-webkit-details-marker {
	display: none;
}

.ps-profile-menu[open] .ps-profile-toggle,
.ps-profile-toggle:hover {
	border-color: rgba(255, 122, 0, .55);
	background: rgba(255, 122, 0, .16);
}

.ps-profile-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	min-width: 150px;
	padding: 6px;
	border: 1px solid var(--ps-border);
	border-radius: 12px;
	background: #171919;
	box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
}

.ps-profile-dropdown a {
	display: block;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
}

.ps-profile-dropdown a:hover {
	background: rgba(255, 122, 0, .12);
	color: #fff1dd;
}

.ps-main {
	padding: 30px 0 50px;
}

.ps-auth-page {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	min-height: calc(100vh - 150px);
	padding-top: 48px;
	padding-bottom: 70px;
}

.ps-auth-card {
	width: min(100%, 420px);
	padding: 32px;
	border: 1px solid var(--ps-border);
	border-radius: 18px;
	background: linear-gradient(145deg, #151818 0%, #0e1112 100%);
	box-shadow: 0 22px 55px rgba(0, 0, 0, .28);
	text-align: center;
}

.ps-auth-brand {
	margin-bottom: 18px;
	color: var(--ps-orange);
	font-size: 25px;
	font-weight: 900;
	letter-spacing: -1.2px;
}

.ps-auth-card h1 {
	margin: 0;
	font-size: 25px;
}

.ps-auth-intro {
	margin: 8px 0 24px;
	color: var(--ps-muted);
	font-size: 14px;
}

.ps-auth-error {
	margin-bottom: 14px;
	padding: 10px 12px;
	border: 1px solid rgba(248, 113, 113, .35);
	border-radius: 9px;
	background: rgba(239, 68, 68, .1);
	color: #fecaca;
	font-size: 13px;
	text-align: left;
}

.ps-auth-form {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.ps-auth-form label:not(.ps-auth-check) {
	margin: 0 0 7px;
	color: #e7e9e9;
	font-size: 13px;
	font-weight: 750;
}

.ps-auth-form input[type="email"],
.ps-auth-form input[type="text"],
.ps-auth-form input[type="password"] {
	width: 100%;
	margin-bottom: 16px;
	padding: 12px 13px;
	border: 1px solid var(--ps-border);
	border-radius: 10px;
	background: #0a0d0e;
	color: var(--ps-text);
	font: inherit;
	outline: none;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.ps-auth-form input[type="email"]:focus,
.ps-auth-form input[type="text"]:focus,
.ps-auth-form input[type="password"]:focus {
	border-color: rgba(255, 122, 0, .75);
	box-shadow: 0 0 0 3px rgba(255, 122, 0, .12);
}

.ps-auth-check {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: -2px 0 18px;
	color: var(--ps-muted);
	font-size: 12px;
}

.ps-auth-check input {
	accent-color: var(--ps-orange);
}

.ps-auth-submit {
	width: 100%;
	padding: 13px 18px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #ff9d32 0%, #e85d04 100%);
	color: #1b0d03;
	font: inherit;
	font-weight: 900;
	cursor: pointer;
	transition: transform .18s ease, filter .18s ease;
}

.ps-auth-submit:hover {
	transform: translateY(-1px);
	filter: brightness(1.05);
}

.ps-auth-forgot,
.ps-auth-switch {
	font-size: 13px;
}

.ps-auth-forgot {
	display: inline-block;
	margin-top: 20px;
	color: var(--ps-orange-soft);
}

.ps-auth-switch {
	margin: 22px 0 0;
	color: var(--ps-muted);
}

.ps-auth-switch a {
	color: var(--ps-orange-soft);
	font-weight: 800;
}

.ps-auth-hint {
	margin: -10px 0 16px;
	color: var(--ps-muted);
	font-size: 11px;
}

.ps-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.ps-404-page {
	display: grid;
	min-height: min(70vh, 680px);
	place-items: center;
	padding-block: 48px;
}

.ps-404-card {
	width: min(100%, 620px);
	padding: clamp(24px, 5vw, 48px);
	border: 1px solid var(--ps-border);
	border-radius: 18px;
	background: radial-gradient(circle at 90% 0, rgba(255, 122, 0, .13), transparent 42%), var(--ps-panel);
	text-align: center;
}

.ps-404-card h1 {
	margin: 0 0 12px;
	font-size: clamp(28px, 5vw, 42px);
}

.ps-404-card > p:not(.ps-auth-eyebrow) {
	color: var(--ps-muted);
	line-height: 1.6;
}

.ps-404-search {
	display: flex;
	gap: 8px;
	margin: 24px 0 18px;
}

.ps-404-search input {
	min-width: 0;
	flex: 1;
	padding: 12px 14px;
	border: 1px solid var(--ps-border);
	border-radius: 9px;
	background: #0b0d0e;
	color: var(--ps-text);
}

.ps-404-search button {
	padding: 0 18px;
	border: 0;
	border-radius: 9px;
	background: var(--ps-orange);
	color: #17100a;
	font-weight: 800;
}

.ps-404-card > .ps-button {
	justify-content: center;
}

.ps-model-profile {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-bottom: 34px;
	padding: 22px;
	border: 1px solid var(--ps-border);
	border-radius: 16px;
	background: var(--ps-panel);
}

.ps-model-profile-image {
	flex: 0 0 150px;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border-radius: 12px;
	background: var(--ps-panel-2);
}

.ps-model-profile-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ps-model-profile-content h1 {
	margin: 0;
	font-size: 32px;
}

.ps-model-description {
	margin-top: 12px;
	color: var(--ps-muted);
	line-height: 1.6;
}

.ps-model-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.ps-model-socials a {
	padding: 8px 11px;
	border: 1px solid var(--ps-border);
	border-radius: 999px;
	color: var(--ps-orange-soft);
	font-size: 12px;
	font-weight: 800;
}

.ps-model-packs-title {
	margin: 0 0 16px;
}

.ps-public-directory {
	padding-top: 28px;
}

.ps-directory-heading {
	margin-bottom: 24px;
}

.ps-directory-heading h1 {
	margin: 0 0 8px;
	font-size: 30px;
}

.ps-directory-heading p:last-child {
	margin: 0;
	color: var(--ps-muted);
}

.ps-model-directory {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.ps-model-directory-card {
	overflow: hidden;
	border: 1px solid var(--ps-border);
	border-radius: 14px;
	background: var(--ps-panel);
	color: var(--ps-text);
	transition: transform .18s ease, border-color .18s ease;
}

.ps-model-directory-card:hover {
	transform: translateY(-2px);
	border-color: rgba(255, 122, 0, .55);
}

.ps-model-directory-image {
	display: grid;
	place-items: center;
	aspect-ratio: 9 / 12;
	background: var(--ps-panel-2);
	color: var(--ps-orange);
	font-size: 42px;
	font-weight: 900;
}

.ps-model-directory-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ps-model-directory-content {
	padding: 13px;
}

.ps-model-directory-content h2 {
	overflow: hidden;
	margin: 0 0 5px;
	font-size: 16px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ps-model-directory-content span {
	color: var(--ps-muted);
	font-size: 12px;
}

.ps-upload-page {
	padding-top: 38px;
	padding-bottom: 80px;
}

.ps-upload-card {
	width: min(100%, 850px);
	margin: 0 auto;
	padding: 32px;
	border: 1px solid var(--ps-border);
	border-radius: 18px;
	background: linear-gradient(145deg, #151818 0%, #0d1011 100%);
	box-shadow: 0 22px 55px rgba(0, 0, 0, .25);
}

.ps-upload-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ps-auth-eyebrow {
	margin: 0 0 5px;
	color: var(--ps-orange);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ps-upload-heading h1 {
	margin: 0;
	font-size: 28px;
}

.ps-upload-heading p:last-child {
	margin: 7px 0 0;
	color: var(--ps-muted);
	font-size: 14px;
}

.ps-upload-heading-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--ps-orange);
	color: #1b0d03;
	font-size: 34px;
	line-height: 1;
}

.ps-upload-success {
	margin-bottom: 20px;
	padding: 12px 14px;
	border: 1px solid rgba(74, 222, 128, .3);
	border-radius: 9px;
	background: rgba(34, 197, 94, .1);
	color: #bbf7d0;
	font-size: 13px;
}

.ps-upload-form > label,
.ps-upload-form fieldset legend,
.ps-upload-two-columns label {
	display: block;
	margin: 0 0 8px;
	color: #e7e9e9;
	font-size: 13px;
	font-weight: 800;
}

.ps-upload-form input[type="text"],
.ps-upload-form input[type="search"],
.ps-upload-form input[type="url"],
.ps-upload-form input[type="number"],
.ps-upload-form textarea,
.ps-upload-form select {
	width: 100%;
	margin-bottom: 20px;
	padding: 12px 13px;
	border: 1px solid var(--ps-border);
	border-radius: 10px;
	background: #090c0d;
	color: var(--ps-text);
	font: inherit;
	outline: none;
}

.ps-upload-form textarea {
	min-height: 120px;
	resize: vertical;
}

.ps-upload-form input:focus,
.ps-upload-form select:focus {
	border-color: rgba(255, 122, 0, .75);
	box-shadow: 0 0 0 3px rgba(255, 122, 0, .12);
}

.ps-model-picker { position: relative; }
.ps-model-picker .ps-model-search { margin-bottom: 20px; }
.ps-model-picker.is-enhanced .ps-model-native { display: none; }
.ps-model-options { position: absolute; z-index: 30; top: calc(100% - 16px); right: 0; left: 0; max-height: 260px; overflow-y: auto; padding: 5px; border: 1px solid var(--ps-border); border-radius: 10px; background: #111313; box-shadow: 0 14px 32px rgba(0, 0, 0, .45); }
.ps-model-options[hidden] { display: none; }
.ps-model-option { display: block; width: 100%; padding: 10px 11px; border: 0; border-radius: 7px; background: transparent; color: var(--ps-text); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.ps-model-option:hover, .ps-model-option:focus-visible, .ps-model-option[aria-selected="true"] { outline: none; background: rgba(255, 122, 0, .15); color: var(--ps-orange-soft); }
.ps-model-empty { padding: 10px 11px; color: var(--ps-muted); font-size: 13px; }

.ps-tag-input {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	min-height: 48px;
	margin-bottom: 8px;
	padding: 7px 9px;
	border: 1px solid var(--ps-border);
	border-radius: 10px;
	background: #090c0d;
}

.ps-tag-input:focus-within {
	border-color: rgba(255, 122, 0, .75);
	box-shadow: 0 0 0 3px rgba(255, 122, 0, .12);
}

.ps-tag-chips {
	display: contents;
}

.ps-tag-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	max-width: 100%;
	padding: 5px 7px 5px 10px;
	border: 1px solid rgba(255, 122, 0, .22);
	border-radius: 999px;
	background: rgba(255, 122, 0, .1);
	color: #ffd5ad;
	font-size: 11px;
}

.ps-tag-chip > span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ps-tag-chip button {
	width: 20px;
	height: 20px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ps-muted);
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
}

.ps-upload-form .ps-tag-input input[data-tag-entry] {
	flex: 1 1 150px;
	width: auto;
	min-width: 120px;
	min-height: 32px;
	margin: 0;
	padding: 5px 3px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.ps-tag-input input[type="hidden"] {
	display: none;
}

.ps-upload-two-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.ps-upload-form fieldset {
	margin: 0 0 22px;
	padding: 0;
	border: 0;
}

.ps-social-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 10px;
}

.ps-social-row {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr) 34px;
	align-items: center;
	gap: 8px;
}

.ps-social-row select,
.ps-social-row input {
	margin-bottom: 0 !important;
}

.ps-remove-social,
.ps-add-social {
	border: 1px solid var(--ps-border);
	border-radius: 8px;
	background: rgba(255, 255, 255, .04);
	color: var(--ps-muted);
	cursor: pointer;
}

.ps-remove-social {
	width: 34px;
	height: 34px;
	padding: 0;
	font-size: 20px;
	line-height: 1;
}

.ps-remove-social:hover {
	border-color: #ef4444;
	color: #fca5a5;
}

.ps-add-social {
	padding: 9px 12px;
	color: var(--ps-orange-soft);
	font-size: 12px;
	font-weight: 800;
}

.ps-add-social:hover {
	border-color: var(--ps-orange);
	background: rgba(255, 122, 0, .1);
}

.ps-upload-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ps-upload-choices label {
	position: relative;
	cursor: pointer;
}

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

.ps-upload-choices span {
	display: block;
	padding: 10px 14px;
	border: 1px solid var(--ps-border);
	border-radius: 9px;
	background: rgba(255, 255, 255, .03);
	color: #b9bebe;
	font-size: 13px;
}

.ps-upload-choices input:checked + span {
	border-color: var(--ps-orange);
	background: rgba(255, 122, 0, .13);
	color: #fff1dd;
}

.ps-upload-dropzone {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	min-height: 170px;
	margin-bottom: 22px;
	padding: 22px;
	border: 2px dashed #3b4242;
	border-radius: 12px;
	background: rgba(255, 255, 255, .02);
	color: #d8dddd;
	cursor: pointer;
	text-align: center;
}

.ps-upload-dropzone:hover {
	border-color: var(--ps-orange);
	background: rgba(255, 122, 0, .05);
}

.ps-upload-dropzone.is-dragover {
	border-color: var(--ps-orange);
	background: rgba(255, 122, 0, .12);
	box-shadow: 0 0 0 3px rgba(255, 122, 0, .12);
}

.ps-upload-dropzone.has-current-image {
	gap: 10px;
}

.ps-upload-image-preview {
	display: block;
	width: auto;
	max-width: min(100%, 240px);
	max-height: 220px;
	border: 1px solid var(--ps-border);
	border-radius: 10px;
	object-fit: contain;
}

.ps-upload-image-preview[hidden],
[hidden] {
	display: none !important;
}

.ps-upload-dropzone-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 10px;
	border-radius: 50%;
	background: rgba(255, 122, 0, .14);
	color: var(--ps-orange);
	font-size: 28px;
}

.ps-upload-dropzone small {
	margin-top: 6px;
	color: var(--ps-muted);
	font-size: 11px;
}

.ps-upload-dropzone input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.ps-upload-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	margin-top: 4px;
}

.ps-upload-actions a {
	color: var(--ps-muted);
	font-size: 13px;
	font-weight: 700;
}

.ps-upload-actions button {
	padding: 13px 22px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #ff9d32 0%, #e85d04 100%);
	color: #1b0d03;
	font: inherit;
	font-weight: 900;
	cursor: pointer;
}

.ps-manage-page {
	padding-top: 38px;
	padding-bottom: 90px;
}

.ps-manage-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
}

.ps-manage-heading h1 {
	margin: 0;
	font-size: 30px;
}

.ps-manage-heading p:last-child {
	margin: 7px 0 0;
	color: var(--ps-muted);
	font-size: 14px;
}

.ps-manage-primary {
	padding: 12px 16px;
	border-radius: 10px;
	background: var(--ps-orange);
	color: #1b0d03;
	font-size: 13px;
	font-weight: 900;
}

.ps-manage-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ps-manage-search {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 760px;
	margin: 0 0 10px;
}

.ps-manage-search input {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid var(--ps-border);
	border-radius: 10px;
	background: var(--ps-panel);
	color: var(--ps-text);
}

.ps-manage-search button,
.ps-manage-search a {
	padding: 11px 15px;
	border: 0;
	border-radius: 9px;
	background: var(--ps-orange);
	color: #1b0d03;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}

.ps-manage-search a { background: var(--ps-panel-2); color: var(--ps-text); }
.ps-manage-count { margin: 0 0 14px; color: var(--ps-muted); font-size: 13px; }
.ps-manage-pagination { margin-top: 24px; }
.ps-manage-pagination ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ps-manage-pagination a,
.ps-manage-pagination span { display: block; padding: 9px 12px; border: 1px solid var(--ps-border); border-radius: 8px; color: var(--ps-text); font-size: 13px; }
.ps-manage-pagination .current { border-color: var(--ps-orange); background: var(--ps-orange); color: #1b0d03; font-weight: 800; }

.ps-manage-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px;
	border: 1px solid var(--ps-border);
	border-radius: 12px;
	background: var(--ps-panel);
}

.ps-manage-item-image {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 58px;
	height: 58px;
	overflow: hidden;
	border-radius: 9px;
	background: var(--ps-panel-2);
	color: var(--ps-orange);
	font-size: 24px;
}

.ps-manage-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ps-manage-item-info {
	min-width: 0;
	flex: 1;
}

.ps-manage-item-info h2 {
	overflow: hidden;
	margin: 0 0 5px;
	font-size: 15px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ps-manage-item-info p {
	margin: 0;
	color: var(--ps-muted);
	font-size: 12px;
}

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

.ps-manage-actions a,
.ps-manage-actions button {
	padding: 7px 10px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--ps-orange-soft);
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}

.ps-manage-actions button {
	color: #fca5a5;
}

.ps-manage-actions a:hover,
.ps-manage-actions button:hover {
	background: rgba(255, 122, 0, .1);
}

.ps-ads-form {
	width: min(100%, 850px);
}

.ps-ads-card {
	padding: 24px;
	border: 1px solid var(--ps-border);
	border-radius: 14px;
	background: var(--ps-panel);
}

.ps-ads-enabled {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	color: #e7e9e9;
	font-size: 13px;
	font-weight: 800;
}

.ps-ads-enabled input {
	accent-color: var(--ps-orange);
}

.ps-ads-card > label:not(.ps-ads-enabled) {
	display: block;
	margin: 0 0 8px;
	color: #e7e9e9;
	font-size: 12px;
	font-weight: 800;
}

.ps-ads-card select,
.ps-ads-card textarea {
	width: 100%;
	margin-bottom: 18px;
	padding: 11px 12px;
	border: 1px solid var(--ps-border);
	border-radius: 9px;
	background: #090c0d;
	color: var(--ps-text);
	font: inherit;
	outline: none;
}

.ps-ads-card select:focus,
.ps-ads-card textarea:focus {
	border-color: rgba(255, 122, 0, .75);
	box-shadow: 0 0 0 3px rgba(255, 122, 0, .12);
}

.ps-ads-card textarea {
	resize: vertical;
}

.ps-ads-help {
	margin: -4px 0 0;
	color: var(--ps-muted);
	font-size: 11px;
	line-height: 1.5;
}

.ps-ad-manager-card {
	width: min(100%, 960px);
	padding: 24px;
	border: 1px solid var(--ps-border);
	border-radius: 14px;
	background: var(--ps-panel);
}

.ps-ad {
	margin: 0 0 26px;
	padding: 14px;
	border: 1px solid rgba(255, 122, 0, .22);
	border-radius: 12px;
	background: rgba(15, 20, 21, .8);
	text-align: center;
}

.ps-ad a {
	color: var(--ps-orange);
	font-weight: 800;
	text-decoration: none;
}

.ps-ad img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: 8px;
}

.ps-ad-fake-fields {
	margin-top: 18px;
	padding: 16px;
	border: 1px solid rgba(255, 122, 0, .2);
	border-radius: 10px;
	background: rgba(255, 122, 0, .04);
}

.ps-ad-fake-fields[hidden],
.ps-ad-content-label[hidden] {
	display: none;
}

.ps-ad-fake-fields p {
	margin: 0 0 14px;
	color: var(--ps-orange);
	font-size: 12px;
	font-weight: 800;
}

.ps-head-code-card {
	margin-top: 24px;
}

.ps-head-code-textarea {
	width: 100%;
	margin-top: 16px;
	padding: 12px;
	border: 1px solid var(--ps-border);
	border-radius: 9px;
	background: #090c0d;
	color: var(--ps-text);
	font: 12px/1.5 Consolas, monospace;
	resize: vertical;
}

.ps-head-code-textarea:focus {
	border-color: rgba(255, 122, 0, .75);
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 122, 0, .12);
}

.ps-ad-fake-pack {
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 680px;
	margin: 0 auto;
	text-align: left;
}

.ps-ad-fake-pack-media {
	flex: 0 0 88px;
}

.ps-ad-fake-pack-media img {
	width: 88px;
	height: 88px;
	object-fit: cover;
}

.ps-ad-fake-pack-body {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.ps-ad-fake-pack-body strong {
	color: var(--ps-text);
	font-size: 15px;
}

.ps-ad-fake-pack-body small,
.ps-ad-fake-pack-meta {
	color: var(--ps-muted);
	font-size: 11px;
}

.ps-card-ad-label {
	width: auto;
	height: auto;
	padding: 5px 8px;
	border-radius: 6px;
	font-size: 9px;
	font-weight: 800;
	text-transform: uppercase;
}

.ps-ad-manager-card h2,
.ps-ad-list-heading h2 {
	margin: 0 0 18px;
	font-size: 20px;
}

.ps-ad-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.ps-ad-form-grid label,
.ps-ad-content-label {
	display: flex;
	flex-direction: column;
	gap: 7px;
	color: #e7e9e9;
	font-size: 12px;
	font-weight: 800;
}

.ps-ad-form-grid label span {
	color: var(--ps-muted);
	font-weight: 400;
}

.ps-ad-form-grid input,
.ps-ad-form-grid select,
.ps-ad-content-label textarea {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--ps-border);
	border-radius: 9px;
	background: #090c0d;
	color: var(--ps-text);
	font: inherit;
	font-size: 13px;
	outline: none;
}

.ps-ad-form-grid input:focus,
.ps-ad-form-grid select:focus,
.ps-ad-content-label textarea:focus {
	border-color: rgba(255, 122, 0, .75);
	box-shadow: 0 0 0 3px rgba(255, 122, 0, .12);
}

.ps-ad-content-label {
	margin-top: 18px;
}

.ps-ad-content-label textarea {
	resize: vertical;
}

.ps-ad-list {
	width: min(100%, 960px);
	margin-top: 30px;
}

.ps-ad-list-heading {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
}

.ps-ad-list-heading span,
.ps-ad-item-main p {
	color: var(--ps-muted);
	font-size: 12px;
}

.ps-ad-item {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) auto auto;
	align-items: center;
	gap: 22px;
	margin-bottom: 10px;
	padding: 18px;
	border: 1px solid var(--ps-border);
	border-radius: 12px;
	background: rgba(15, 20, 21, .82);
}

.ps-ad-item-main h3,
.ps-ad-item-main p {
	margin: 7px 0 0;
}

.ps-ad-state {
	color: #a7abad;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
}

.ps-ad-state.is-active {
	color: #69d59a;
}

.ps-ad-stats {
	display: flex;
	gap: 18px;
}

.ps-ad-stats span {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--ps-muted);
	font-size: 10px;
}

.ps-ad-stats b {
	color: var(--ps-text);
	font-size: 15px;
}

.ps-ad-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ps-ad-actions a,
.ps-ad-actions button {
	padding: 8px 10px;
	border: 1px solid var(--ps-border);
	border-radius: 7px;
	background: transparent;
	color: var(--ps-text);
	font: inherit;
	font-size: 11px;
	cursor: pointer;
}

.ps-ad-actions a:hover,
.ps-ad-actions button:hover {
	border-color: var(--ps-orange);
	color: var(--ps-orange);
}

.ps-analytics-page {
	padding-top: 38px;
	padding-bottom: 90px;
}

.ps-analytics-periods {
	display: flex;
	gap: 6px;
	padding: 4px;
	border: 1px solid var(--ps-border);
	border-radius: 9px;
	background: var(--ps-panel);
}

.ps-analytics-periods a {
	padding: 8px 11px;
	border-radius: 6px;
	color: var(--ps-muted);
	font-size: 11px;
	text-decoration: none;
}

.ps-analytics-periods a.is-active,
.ps-analytics-periods a:hover {
	background: var(--ps-orange);
	color: #111;
}

.ps-analytics-heading {
	align-items: center;
}

.ps-analytics-filters {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
	align-items: end;
	gap: 12px;
	margin: 24px 0;
	padding: 18px;
	border: 1px solid var(--ps-border);
	border-radius: 14px;
	background: linear-gradient(120deg, rgba(255, 122, 0, .07), var(--ps-panel) 40%);
}

.ps-analytics-filters label {
	display: grid;
	gap: 7px;
	color: var(--ps-muted);
	font-size: 11px;
	font-weight: 700;
}

.ps-analytics-filters select {
	min-width: 0;
	width: 100%;
	min-height: 40px;
	padding: 0 10px;
	border: 1px solid var(--ps-border);
	border-radius: 8px;
	background: #0a0d0e;
	color: var(--ps-text);
	font: inherit;
	font-size: 12px;
}

.ps-analytics-filter-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ps-analytics-filter-actions .ps-button {
	padding: 11px 14px;
	white-space: nowrap;
}

.ps-analytics-filter-actions a {
	color: var(--ps-muted);
	font-size: 11px;
}

.ps-analytics-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 24px 0;
}

.ps-analytics-summary > div {
	padding: 20px;
	border: 1px solid var(--ps-border);
	border-radius: 12px;
	background: linear-gradient(145deg, rgba(255, 122, 0, .12), rgba(15, 20, 21, .9) 55%);
}

.ps-analytics-summary small {
	display: block;
	margin-top: 4px;
	color: var(--ps-muted);
	font-size: 10px;
}

.ps-analytics-summary span,
.ps-analytics-card-heading span {
	color: var(--ps-muted);
	font-size: 11px;
}

.ps-analytics-summary strong {
	display: block;
	margin-top: 8px;
	color: var(--ps-text);
	font-size: 28px;
}

.ps-analytics-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.ps-analytics-chart-card {
	margin-bottom: 14px;
	padding: 22px;
	background: radial-gradient(ellipse at 6% 0%, rgba(255, 122, 0, .08), transparent 55%), var(--ps-panel);
}

.ps-analytics-card-heading > div .ps-auth-eyebrow {
	margin: 0 0 5px;
}

.ps-analytics-bars {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	align-items: stretch;
	gap: 6px;
	min-height: 245px;
	padding-top: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.ps-analytics-bar-column {
	display: grid;
	grid-template-rows: 20px minmax(130px, 1fr) 28px;
	min-width: 0;
	text-align: center;
}

.ps-analytics-bar-value {
	overflow: hidden;
	color: #d9a16e;
	font-size: 9px;
	text-overflow: clip;
	white-space: nowrap;
}

.ps-analytics-bar-track {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 0;
	border-radius: 5px 5px 0 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .008));
}

.ps-analytics-bar-track i {
	display: block;
	width: min(68%, 24px);
	min-height: 0;
	border-radius: 5px 5px 0 0;
	background: linear-gradient(180deg, #ffc15a, var(--ps-orange) 70%, #e45b00);
	box-shadow: 0 0 16px rgba(255, 122, 0, .16);
}

.ps-analytics-bar-label {
	padding-top: 8px;
	color: var(--ps-muted);
	font-size: 9px;
	white-space: nowrap;
}

.ps-analytics-card {
	padding: 20px;
	border: 1px solid var(--ps-border);
	border-radius: 12px;
	background: var(--ps-panel);
}

.ps-analytics-card-heading {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 16px;
}

.ps-analytics-card-heading h2 {
	margin: 0;
	font-size: 17px;
}

.ps-country-chart {
	display: grid;
	gap: 12px;
}

.ps-country-row {
	display: grid;
	grid-template-columns: 76px 1fr 42px;
	align-items: center;
	gap: 9px;
	color: var(--ps-muted);
	font-size: 11px;
}

.ps-country-row > div {
	height: 8px;
	overflow: hidden;
	border-radius: 99px;
	background: #090c0d;
}

.ps-country-row > span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ps-country-row i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--ps-orange), #ffc15a);
}

.ps-country-row b {
	color: var(--ps-text);
	font-size: 11px;
	text-align: right;
}

.ps-analytics-ranking {
	display: grid;
	gap: 8px;
	margin: 0;
	padding-left: 24px;
}

.ps-analytics-ranking li {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 8px 0 8px 4px;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
	color: var(--ps-muted);
	font-size: 12px;
}

.ps-analytics-ranking a {
	overflow: hidden;
	color: var(--ps-text);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ps-analytics-ranking b {
	color: var(--ps-orange);
	white-space: nowrap;
}

.ps-analytics-note {
	margin-top: 18px;
	color: var(--ps-muted);
	font-size: 11px;
}

@media (max-width: 900px) {
	.ps-analytics-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ps-analytics-filter-actions {
		grid-column: 1 / -1;
	}
}

.ps-settings-page {
	padding-top: 38px;
	padding-bottom: 90px;
}

.ps-settings-card {
	width: min(100%, 760px);
	margin-bottom: 18px;
	padding: 24px;
	border: 1px solid var(--ps-border);
	border-radius: 14px;
	background: var(--ps-panel);
}

.ps-settings-card h2 {
	margin: 0 0 18px;
	font-size: 19px;
}

.ps-settings-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 15px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .07);
	cursor: pointer;
}

.ps-settings-toggle > span {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.ps-settings-toggle strong {
	color: var(--ps-text);
	font-size: 14px;
}

.ps-settings-toggle small,
.ps-role-list span {
	color: var(--ps-muted);
	font-size: 11px;
}

.ps-settings-toggle input {
	display: none;
}

.ps-settings-toggle i {
	position: relative;
	display: block;
	flex: 0 0 42px;
	height: 23px;
	border-radius: 99px;
	background: #343a3b;
	transition: background .18s ease;
}

.ps-settings-toggle i::after {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: #d9dddd;
	content: '';
	transition: transform .18s ease;
}

.ps-settings-toggle input:checked + i {
	background: var(--ps-orange);
}

.ps-settings-toggle input:checked + i::after {
	transform: translateX(19px);
	background: #111;
}

.ps-role-list {
	display: grid;
	gap: 10px;
}

.ps-role-list > div {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 13px;
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: 9px;
}

.ps-role-list strong {
	color: var(--ps-text);
	font-size: 13px;
}

.ps-account-page {
	padding-top: 38px;
	padding-bottom: 90px;
}

.ps-account-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-bottom: 15px;
	color: #e7e9e9;
	font-size: 12px;
	font-weight: 800;
}

.ps-account-field input {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--ps-border);
	border-radius: 9px;
	background: #090c0d;
	color: var(--ps-text);
	font: inherit;
	font-size: 13px;
	outline: none;
}

.ps-account-field input:focus {
	border-color: rgba(255, 122, 0, .75);
	box-shadow: 0 0 0 3px rgba(255, 122, 0, .12);
}

.ps-account-field input:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.ps-account-field > small {
	color: var(--ps-muted);
	font-size: 11px;
	font-weight: 400;
}

.ps-site-preview {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 42px;
	margin: 2px 0 4px;
}

.ps-site-preview img {
	display: block;
	width: auto;
	max-width: min(100%, 260px);
	height: 42px;
	object-fit: contain;
	border-radius: 6px;
	background: rgba(255, 255, 255, .04);
}

.ps-site-preview-icon img {
	width: 42px;
}

.ps-site-dropzone {
	width: 100%;
	min-height: 116px;
	margin-top: 2px;
	padding: 18px;
	box-sizing: border-box;
}

.ps-site-dropzone-icon {
	min-height: 88px;
}

.ps-account-password-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px;
}

@media (max-width: 700px) {
	.ps-ad-form-grid,
	.ps-ad-item {
		grid-template-columns: 1fr;
	}

	.ps-ad-stats {
		justify-content: space-between;
	}

	.ps-ad-actions {
		justify-content: flex-end;
	}

	.ps-analytics-summary,
	.ps-analytics-grid {
		grid-template-columns: 1fr;
	}

	.ps-analytics-periods {
		width: 100%;
		justify-content: space-between;
	}

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

	.ps-pack-detail {
		padding: 16px;
	}

	.ps-pack-detail-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

.ps-footer {
	border-top: 1px solid rgba(255, 255, 255, .08);
	background: #070a0c;
}

.ps-footer-legal-mobile {
	display: none;
}

.ps-footer-desktop {
	display: grid;
	grid-template-columns: 1.45fr 1fr 1.15fr 1.55fr;
	gap: 28px;
	padding-top: 18px;
	padding-bottom: 18px;
}

.ps-footer-desktop.has-legal {
	grid-template-columns: 1.35fr 1fr .95fr 1.3fr .8fr;
}

.ps-footer-brand .custom-logo {
	max-width: 105px;
	max-height: 28px;
}

.ps-footer-logo {
	display: inline-block;
	color: var(--ps-orange);
	font-size: 18px;
	font-weight: 900;
	letter-spacing: -0.8px;
}

.ps-footer-brand p {
	margin: 6px 0 9px;
	color: var(--ps-muted);
	font-size: 11px;
	line-height: 1.45;
}

.ps-footer-brand small {
	color: #6f7777;
	font-size: 10px;
}

.ps-footer-column {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
}

.ps-footer-column h2 {
	margin: 0 0 4px;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.ps-footer-column a {
	color: #9ba1a1;
	font-size: 11px;
	transition: color .18s ease;
}

.ps-footer-column a:hover {
	color: var(--ps-orange-soft);
}

.ps-mobile-nav {
	display: none;
}

.ps-section {
	margin-bottom: 38px;
}

.ps-section h2 {
	margin: 0 0 16px;
	font-size: 23px;
}

.ps-infinite-sentinel {
	height: 1px;
	margin-top: 24px;
}

.ps-infinite-status {
	min-height: 18px;
	margin: 10px 0 0;
	color: var(--ps-muted);
	font-size: 12px;
	text-align: center;
}

.ps-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.ps-card {
	position: relative;
	overflow: hidden;
	background: var(--ps-panel);
	border: 1px solid var(--ps-border);
	border-radius: 14px;
	transition: transform .18s ease, border-color .18s ease;
}

.ps-card:hover {
	transform: translateY(-2px);
	border-color: rgba(255, 122, 0, .55);
}

.ps-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.ps-card-media-link {
	display: block;
}

.ps-card-trending {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	background: rgba(16, 18, 18, .8);
	color: var(--ps-orange);
	box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
	backdrop-filter: blur(5px);
}

.ps-card-trending svg {
	width: 17px;
	height: 17px;
}

.ps-card-body {
	display: flex;
	flex-direction: column;
	padding: 12px;
}

.ps-card-title {
	margin-bottom: 6px;
	font-weight: 750;
}

.ps-card-model {
	display: inline-block;
	margin-bottom: 10px;
	color: var(--ps-orange-soft);
	font-size: 12px;
	font-weight: 700;
}

.ps-card-model:hover {
	color: #fff1dd;
	text-decoration: underline;
}

.ps-card-details,
.ps-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.ps-card-details {
	margin-bottom: 12px;
	color: var(--ps-muted);
	font-size: 11px;
}

.ps-card-details span:last-child {
	text-align: right;
}

.ps-card-footer {
	margin-top: auto;
}

.ps-card-views {
	color: var(--ps-muted);
	font-size: 11px;
}

.ps-card-share {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid var(--ps-border);
	border-radius: 8px;
	background: transparent;
	color: var(--ps-muted);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.ps-card-share svg {
	width: 16px;
	height: 16px;
}

.ps-card-share:hover,
.ps-card-share:focus-visible {
	border-color: var(--ps-orange);
	background: rgba(255, 122, 0, .12);
	color: var(--ps-orange-soft);
	outline: none;
}

.ps-share-feedback {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 100;
	padding: 11px 16px;
	border: 1px solid rgba(255, 122, 0, .45);
	border-radius: 10px;
	background: #171919;
	color: #fff1dd;
	font-size: 13px;
	font-weight: 800;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity .18s ease, transform .18s ease;
}

.ps-share-feedback.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.ps-card-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 11px;
	border-radius: 8px;
	background: var(--ps-orange);
	color: #1b0d03;
	font-size: 11px;
	font-weight: 900;
	white-space: nowrap;
}

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

.ps-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 10px;
	border: 0;
	background: var(--ps-orange);
	color: #111;
	font-weight: 800;
}

.ps-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
	color: var(--ps-muted);
	font-size: 11px;
}

.ps-breadcrumbs a {
	color: var(--ps-orange);
	text-decoration: none;
}

.ps-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 14px 0;
}

.ps-tag-list a,
.ps-tag-models a {
	padding: 6px 9px;
	border: 1px solid rgba(255, 122, 0, .25);
	border-radius: 99px;
	background: rgba(255, 122, 0, .07);
	color: var(--ps-orange);
	font-size: 11px;
	text-decoration: none;
}

.ps-site-logo {
	max-width: 100%;
	height: auto;
	max-height: 58px;
	object-fit: contain;
}

.ps-pack-detail {
	padding: 28px;
	border: 1px solid var(--ps-border);
	border-radius: 18px;
	background: linear-gradient(145deg, rgba(20, 25, 26, .98), rgba(10, 13, 14, .98));
}

.ps-pack-detail-grid {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(280px, .9fr);
	gap: 30px;
	align-items: center;
}

.ps-pack-detail-media {
	overflow: hidden;
	border-radius: 14px;
	background: #090c0d;
}

.ps-pack-detail-media img {
	display: block;
	width: 100%;
	max-height: 620px;
	object-fit: cover;
}

.ps-pack-detail-empty {
	display: grid;
	place-items: center;
	min-height: 300px;
	color: var(--ps-muted);
}

.ps-pack-detail-content h1 {
	margin: 0 0 12px;
	font-size: clamp(28px, 4vw, 48px);
	line-height: 1.05;
}

.ps-pack-detail-meta,
.ps-pack-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	color: var(--ps-muted);
	font-size: 12px;
}

.ps-pack-detail-model {
	margin: 20px 0;
	color: var(--ps-muted);
	font-size: 14px;
}

.ps-pack-detail-model a {
	color: var(--ps-orange);
	font-weight: 800;
}

.ps-pack-facts {
	margin: 20px 0;
	padding: 14px 0;
	border-top: 1px solid rgba(255, 255, 255, .08);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ps-pack-facts span {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.ps-pack-facts small {
	color: var(--ps-muted);
	font-size: 10px;
	text-transform: uppercase;
}

.ps-pack-facts b {
	color: var(--ps-text);
	font-size: 13px;
}

.ps-pack-download-button {
	width: 100%;
	margin-top: 8px;
	padding: 14px 18px;
	font-size: 14px;
}

.ps-pack-admin-edit {
	display: inline-flex;
	margin: 16px 0 0;
	padding: 8px 12px;
	border: 1px solid rgba(255, 157, 50, .45);
	border-radius: 8px;
	color: var(--ps-orange-soft);
	font-size: 12px;
	font-weight: 800;
}

.ps-pack-admin-edit:hover { background: rgba(255, 122, 0, .1); }

.ps-pack-description {
	max-width: 850px;
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .08);
	color: #d5dada;
	line-height: 1.7;
}

.ps-tag-page h1 {
	margin-bottom: 26px;
}

.ps-tag-page h2 {
	margin: 25px 0 15px;
}

.ps-tag-models {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ps-site-slogan,
.ps-footer-phrase {
	color: var(--ps-muted);
	font-size: 11px;
}

.ps-gateway-page {
	display: flex;
	justify-content: center;
	min-height: calc(100vh - 170px);
	padding-top: 54px;
	padding-bottom: 90px;
}

.ps-gateway-card {
	width: min(100%, 590px);
	min-height: 390px;
	padding: 36px;
	border: 1px solid var(--ps-border);
	border-radius: 18px;
	background: linear-gradient(145deg, #151818 0%, #0d1011 100%);
	box-shadow: 0 22px 55px rgba(0, 0, 0, .25);
	text-align: center;
}

.ps-gateway-kicker {
	margin-bottom: 15px;
	color: var(--ps-orange);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ps-gateway-card h1 {
	margin: 0;
	font-size: 28px;
}

.ps-gateway-description,
.ps-gateway-card > p {
	color: var(--ps-muted);
	font-size: 14px;
}

.ps-gateway-ad {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 11px;
	min-height: 150px;
	margin: 27px 0 14px;
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: 12px;
	background: rgba(255, 255, 255, .025);
}

.ps-gateway-ad span {
	color: #6f7777;
	font-size: 10px;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ps-gateway-ad strong {
	color: #d8dddd;
	font-size: 14px;
}

.ps-gateway-ad-link {
	color: var(--ps-orange-soft);
	font-size: 14px;
	font-weight: 800;
}

.ps-gateway-ad-code {
	max-width: 100%;
	overflow: hidden;
}

.ps-gateway-ad b {
	color: var(--ps-orange);
	font-size: 22px;
}

.ps-gateway-progress {
	height: 4px;
	overflow: hidden;
	margin-bottom: 22px;
	border-radius: 999px;
	background: #242929;
}

.ps-gateway-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--ps-orange);
	transition: width 1s linear;
}

.ps-gateway-card form .ps-button {
	min-width: 190px;
	border: 0;
	cursor: pointer;
}

.ps-gateway-start {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
	margin-top: 24px;
}

.ps-gateway-start .ps-button {
	min-width: 190px;
	border: 0;
	cursor: pointer;
}

.ps-gateway-start .ps-button:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.ps-gateway-countdown-panel {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
	min-height: 120px;
	margin-top: 24px;
	padding: 20px;
	border: 1px solid rgba(255, 122, 0, .2);
	border-radius: 12px;
	background: rgba(255, 122, 0, .06);
}

.ps-gateway-countdown-panel span {
	color: var(--ps-muted);
	font-size: 11px;
	text-transform: uppercase;
}

.ps-gateway-countdown-panel strong {
	font-size: 16px;
}

.ps-gateway-countdown-panel b {
	color: var(--ps-orange);
	font-size: 26px;
}

.ps-gateway-ad[hidden],
.ps-gateway-progress[hidden],
.ps-gateway-card form[hidden],
.ps-gateway-note[hidden],
.ps-gateway-start[hidden] {
	display: none;
}

.ps-gateway-ad-label {
	align-self: flex-start;
	color: #6f7777;
	font-size: 10px;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ps-gateway-ad-warning {
	color: #f3a15d;
	font-size: 11px;
}

.ps-gateway-card form .ps-button:disabled {
	opacity: .45;
	cursor: wait;
}

.ps-gateway-note {
	margin-top: 24px;
	color: #6f7777 !important;
	font-size: 11px !important;
	line-height: 1.5;
}

.ps-gateway-status {
	display: inline-block;
	margin-bottom: 18px;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.ps-gateway-status-error {
	background: rgba(239, 68, 68, .12);
	color: #fca5a5;
}

.ps-gateway-back {
	display: inline-block;
	margin-top: 18px;
	color: var(--ps-orange-soft);
	font-weight: 800;
}

@media (max-width: 1100px) {
	.ps-footer-desktop {
		gap: 16px;
	}

	.ps-footer-desktop.has-legal {
		grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
	}

	.ps-header-inner {
		gap: 16px;
	}

	.ps-header-actions {
		gap: 8px;
	}

	.ps-upload-btn,
	.ps-auth-link {
		padding-inline: 11px;
	}

	.ps-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ps-model-directory {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ps-analytics-heading {
		align-items: stretch;
	}

	.ps-analytics-filters {
		grid-template-columns: 1fr;
		padding: 14px;
	}

	.ps-analytics-filter-actions {
		grid-column: auto;
	}

	.ps-analytics-filter-actions .ps-button {
		flex: 1;
	}

	.ps-analytics-chart-card {
		padding: 16px 12px;
		overflow: hidden;
	}

	.ps-analytics-bars {
		width: 100%;
		min-width: 0;
		overflow-x: auto;
	}

	.ps-analytics-bars-day,
	.ps-analytics-bars-month {
		grid-auto-columns: 18px;
	}

	.ps-analytics-bars-day .ps-analytics-bar-column:not(:nth-child(4n + 1)) .ps-analytics-bar-label,
	.ps-analytics-bars-month .ps-analytics-bar-column:not(:nth-child(5n)) .ps-analytics-bar-label {
		visibility: hidden;
	}

	.ps-analytics-bar-label {
		font-size: 8px;
	}

	.ps-auth-page {
		min-height: calc(100vh - 120px);
		padding-top: 28px;
		padding-bottom: 112px;
	}

	.ps-gateway-page {
		min-height: calc(100vh - 130px);
		padding-top: 26px;
		padding-bottom: 110px;
	}

	.ps-gateway-card {
		padding: 26px 18px;
	}

	.ps-gateway-card h1 {
		font-size: 23px;
	}

	.ps-auth-card {
		padding: 26px 20px;
	}

	.ps-upload-page {
		padding-top: 24px;
		padding-bottom: 110px;
	}

	.ps-manage-page {
		padding-top: 24px;
		padding-bottom: 110px;
	}

	.ps-manage-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.ps-manage-primary {
		width: 100%;
		text-align: center;
	}

	.ps-manage-item {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.ps-manage-actions {
		width: 100%;
		justify-content: flex-end;
		border-top: 1px solid rgba(255, 255, 255, .07);
		padding-top: 8px;
	}


	.ps-model-profile {
		align-items: flex-start;
		gap: 16px;
		padding: 16px;
	}

	.ps-public-directory {
		padding-top: 20px;
	}

	.ps-directory-heading h1 {
		font-size: 25px;
	}

	.ps-model-directory {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.ps-model-profile-image {
		flex-basis: 92px;
	}

	.ps-model-profile-content h1 {
		font-size: 24px;
	}

	.ps-pack-detail {
		width: 100%;
		box-sizing: border-box;
		margin-inline: 0;
		padding: 10px;
		border-radius: 14px;
	}

	.ps-pack-detail-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		align-items: stretch;
	}

	.ps-pack-detail-media {
		border-radius: 11px;
	}

	.ps-pack-detail-media img {
		width: 100%;
		height: auto;
		max-height: min(68vh, 430px);
		aspect-ratio: 4 / 3;
		object-fit: contain;
		background: #080b0c;
	}

	.ps-pack-detail-content {
		padding: 2px 3px;
	}

	.ps-pack-detail-content h1 {
		font-size: clamp(25px, 8vw, 34px);
		line-height: 1.1;
		word-break: normal;
		overflow-wrap: anywhere;
	}

	.ps-pack-detail-meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}

	.ps-pack-detail-model {
		margin: 16px 0;
	}

	.ps-pack-facts {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.ps-pack-description {
		margin-top: 22px;
		padding-top: 18px;
		font-size: 13px;
	}

	.ps-pack-download-button {
		width: 100%;
		box-sizing: border-box;
		padding: 13px 14px;
		text-align: center;
	}

	.ps-related-packs {
		margin-top: 28px;
		padding-bottom: 110px;
	}

	.ps-related-packs .ps-section-heading h2 {
		font-size: 22px;
	}

	.ps-related-packs .ps-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.ps-related-packs .ps-card {
		display: grid;
		grid-template-columns: 112px minmax(0, 1fr);
		min-width: 0;
	}

	.ps-related-packs .ps-card img,
	.ps-related-packs .ps-card-placeholder {
		height: 100%;
		min-height: 112px;
		aspect-ratio: auto;
	}

	.ps-related-packs .ps-card-body {
		min-width: 0;
		padding: 11px 12px;
	}

	.ps-related-packs .ps-card-title,
	.ps-related-packs .ps-card-model {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.ps-upload-card {
		padding: 22px 16px;
	}

	.ps-upload-heading h1 {
		font-size: 23px;
	}

	.ps-upload-heading-icon {
		width: 42px;
		height: 42px;
		font-size: 28px;
	}

	.ps-upload-two-columns {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.ps-social-row {
		grid-template-columns: 1fr 34px;
	}

	.ps-social-row select {
		grid-column: 1 / -1;
	}

	.ps-upload-actions {
		justify-content: stretch;
		flex-direction: column-reverse;
		gap: 12px;
	}

	.ps-upload-actions button,
	.ps-upload-actions a {
		width: 100%;
		text-align: center;
	}

	.ps-container {
		width: min(100% - 20px, 560px);
	}

	.ps-header-inner {
		min-height: 62px;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto auto;
		gap: 8px;
		padding: 10px 12px;
	}

	.custom-logo {
		width: min(128px, 38vw);
		max-width: 100%;
		max-height: 40px;
	}

	.ps-logo,
	.ps-brand-text {
		font-size: 24px;
	}

	.ps-brand {
		min-width: 0;
		max-width: 100%;
	}

	.ps-search-shell {
		grid-column: 1 / -1;
		grid-row: 2;
		max-width: none;
		display: none;
	}

	.ps-search-shell.is-open {
		display: block;
		padding-right: 0;
	}

	.ps-search-toggle {
		display: inline-flex;
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
		z-index: 1;
		width: 38px;
		height: 38px;
	}

	.ps-header-actions {
		grid-row: 1;
		grid-column: 3;
		margin-left: auto;
		gap: 6px;
		min-width: 0;
		justify-content: flex-end;
	}

	.ps-header .ps-profile-menu {
		display: none;
	}

	.ps-upload-btn {
		padding: 11px 13px;
	}

	.ps-upload-btn span:last-child {
		display: none;
	}

	.ps-profile-toggle {
		width: 38px;
		height: 38px;
	}

	.ps-profile-dropdown {
		top: calc(100% + 8px);
	}

	.ps-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.ps-card-footer {
		flex-wrap: wrap;
	}

	.ps-card-share {
		top: 9px;
		right: 9px;
	}

	.ps-share-feedback {
		right: 12px;
		bottom: 84px;
		left: 12px;
		text-align: center;
	}

	.ps-footer {
		border-top: 0;
	}

	.ps-footer-desktop {
		display: none;
	}

	.ps-footer-legal-mobile {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px 16px;
		padding: 12px 16px 88px;
		border-top: 1px solid rgba(255, 255, 255, .07);
	}

	.ps-footer-legal-mobile a {
		color: var(--ps-muted);
		font-size: 11px;
	}

	.ps-mobile-nav {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		padding: 7px 5px max(7px, env(safe-area-inset-bottom));
		border-top: 1px solid rgba(255, 255, 255, .12);
		background: rgba(8, 10, 12, .97);
		box-shadow: 0 -8px 24px rgba(0, 0, 0, .25);
		backdrop-filter: blur(12px);
	}

	.ps-mobile-nav a {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 3px;
		min-width: 0;
		padding: 2px 1px;
		color: #a6aaaa;
		font-size: 10px;
		font-weight: 700;
		line-height: 1.2;
	}

	.ps-mobile-nav a:first-child,
	.ps-mobile-nav a:hover,
	.ps-mobile-nav a:focus-visible {
		color: var(--ps-orange);
	}

	.ps-mobile-nav svg {
		width: 24px;
		height: 24px;
	}

	.ps-mobile-upload-link {
		color: var(--ps-orange) !important;
	}

	.ps-mobile-upload-link svg {
		width: 46px;
		height: 46px;
		padding: 9px;
		border-radius: 50%;
		background: var(--ps-orange);
		color: #1b0d03;
	}

	.ps-mobile-profile-menu {
		position: relative;
	}

	.ps-mobile-profile-menu summary {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 3px;
		padding: 2px 1px;
		color: #a6aaaa;
		cursor: pointer;
		list-style: none;
	}

	.ps-mobile-profile-menu summary::-webkit-details-marker {
		display: none;
	}

	.ps-mobile-profile-menu[open] summary,
	.ps-mobile-profile-menu summary:hover {
		color: var(--ps-orange);
	}

	.ps-mobile-profile-menu summary svg {
		width: 24px;
		height: 24px;
	}

	.ps-mobile-profile-dropdown {
		position: absolute;
		right: 0;
		bottom: calc(100% + 10px);
		min-width: 135px;
		padding: 6px;
		border: 1px solid var(--ps-border);
		border-radius: 10px;
		background: #171919;
		box-shadow: 0 12px 25px rgba(0, 0, 0, .35);
	}

	.ps-mobile-profile-dropdown a {
		display: block;
		padding: 9px 10px;
		color: var(--ps-text);
		font-size: 13px;
		font-weight: 700;
		white-space: nowrap;
	}

	.ps-mobile-profile-dropdown a:hover {
		border-radius: 6px;
		background: rgba(255, 122, 0, .12);
	}

	.ps-main {
		padding-bottom: 92px;
	}
}

@media (max-width: 380px) {
	.ps-pack-detail {
		padding: 10px;
	}

	.ps-pack-detail-media img {
		max-height: 300px;
	}

	.ps-pack-detail-meta,
	.ps-pack-detail-model,
	.ps-pack-facts {
		font-size: 11px;
	}
}

@media (max-width: 400px) {
	.ps-header-actions {
		gap: 5px;
	}

	.ps-upload-btn {
		padding: 10px;
	}

	.ps-profile-toggle {
		width: 36px;
		height: 36px;
	}
}
