/* PROJECT TAURUS Registry — frontend styles v2.0.1
   Matched to theme: white pages, light grey inputs, black buttons with "_" suffix.
   Brand tokens: Yellow #FFD200 · Black #121212 · Brick red #B8231E */

.pt-registry {
	--pt-yellow: #FFD200;
	--pt-black: #121212;
	--pt-red: #B8231E;
	--pt-olive: #9a986f;
	--pt-white: #ffffff;
	--pt-field: #f4f4f4;
	font-family: 'Montserrat', system-ui, sans-serif;
	color: var(--pt-black);
	max-width: 980px;
	margin: 0 auto;
}

.pt-registry * { box-sizing: border-box; }

/* X motif row */
.pt-x-row {
	font-family: 'Oswald', sans-serif;
	letter-spacing: .6em;
	color: var(--pt-black);
	opacity: .85;
	font-size: 13px;
	text-align: center;
	margin: 0 0 22px;
	user-select: none;
}

/* ---------- Registration form (theme-style: light) ---------- */
.pt-form {
	background: transparent;
	padding: 10px 0 38px;
	position: relative;
}
.pt-form-title {
	font-family: 'Anton', 'Oswald', sans-serif;
	font-size: clamp(34px, 6vw, 56px);
	line-height: 1;
	text-transform: uppercase;
	color: var(--pt-black);
	margin: 0 0 14px;
	letter-spacing: .01em;
}
.pt-form-sub {
	color: #6f6f6f;
	font-size: 14px;
	margin: 0 0 30px;
	max-width: 520px;
}
.pt-label {
	display: block;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: 12px;
	color: var(--pt-black);
	margin: 22px 0 8px;
}
.pt-label em { color: #9a9a9a; font-style: normal; text-transform: none; letter-spacing: 0; }
.pt-input {
	width: 100%;
	max-width: 480px;
	background: var(--pt-field);
	border: 1px solid #e6e6e6;
	color: var(--pt-black);
	font-family: 'Oswald', sans-serif;
	font-size: 17px;
	letter-spacing: .04em;
	padding: 13px 15px;
	border-radius: 0;
	outline: none;
}
.pt-input:focus { border-color: var(--pt-black); background: #fff; }
.pt-input::placeholder { color: #a8a8a8; }
#pt_pin { text-transform: uppercase; letter-spacing: .2em; }

.pt-file { color: #555; font-size: 14px; max-width: 480px; }
.pt-file::file-selector-button {
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 12px;
	background: transparent;
	color: var(--pt-black);
	border: 1px solid var(--pt-black);
	border-radius: 0;
	padding: 9px 16px;
	margin-right: 12px;
	cursor: pointer;
}
.pt-file::file-selector-button:hover { background: var(--pt-black); color: #fff; }

.pt-small {
	color: #8a8a8a;
	font-size: 12px;
	margin: 8px 0 0;
	max-width: 480px;
}

.pt-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 26px 0 30px;
	color: var(--pt-black);
	font-size: 14px;
	max-width: 480px;
	cursor: pointer;
}
.pt-check input { margin-top: 3px; accent-color: var(--pt-black); }
.pt-check em { color: #8a8a8a; font-style: normal; }

/* ---------- Buttons (theme-style: black, uppercase, "_" suffix) ---------- */
.pt-btn {
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 16px;
	letter-spacing: .08em;
	background: var(--pt-black);
	color: var(--pt-white);
	border: 1px solid var(--pt-black);
	border-radius: 0;
	padding: 16px 44px;
	cursor: pointer;
	transition: background .12s ease, color .12s ease;
	text-decoration: none;
	display: inline-block;
}
.pt-btn::after { content: " _"; }
.pt-btn:hover { background: var(--pt-red); border-color: var(--pt-red); color: var(--pt-white); }
.pt-btn:active { transform: translate(1px, 1px); }
.pt-btn:focus-visible { outline: 3px solid var(--pt-yellow); outline-offset: 2px; }

/* Registration submit: red, like the theme's VIEW MORE */
.pt-form .pt-btn {
	background: var(--pt-red);
	border-color: var(--pt-red);
	color: var(--pt-white);
}
.pt-form .pt-btn:hover { background: var(--pt-black); border-color: var(--pt-black); }

.pt-transfer {
	margin: 28px 0 0;
	font-size: 13px;
	color: #8a8a8a;
	max-width: 480px;
}
.pt-transfer a { color: var(--pt-red); font-weight: 600; }

.pt-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }

/* ---------- Result panels ---------- */
.pt-panel {
	border: 2px solid var(--pt-black);
	padding: 26px 26px 28px;
	margin-bottom: 30px;
	position: relative;
	background: var(--pt-white);
}
.pt-panel p { margin: 10px 0 0; font-size: 15px; }
.pt-panel a { color: var(--pt-red); font-weight: 600; }
.pt-note { font-size: 13px !important; color: #666; }
.pt-stamp {
	display: inline-block;
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .18em;
	font-size: 13px;
	color: var(--pt-black);
	background: var(--pt-yellow);
	padding: 5px 12px;
	transform: rotate(-2deg);
	margin-bottom: 14px;
}
.pt-stamp-red { background: var(--pt-red); color: #fff; }
.pt-stamp-grey { background: #e3e3e3; }
.pt-panel-error { border-color: var(--pt-red); }
.pt-plate {
	font-family: 'Anton', 'Oswald', sans-serif;
	text-transform: uppercase;
	font-size: clamp(24px, 4vw, 36px);
	margin: 0;
	line-height: 1.05;
}
.pt-num { color: var(--pt-red); }

/* ---------- Registry grid ---------- */
.pt-registry-head { text-align: center; margin-bottom: 18px; }
.pt-empty { text-align: center; font-size: 15px; color: #555; }

.pt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr));
	gap: 22px;
}

/* Horizontal showcase card: image left, text right */
.pt-card {
	background: var(--pt-white);
	border: 1px solid #ececec;
	color: var(--pt-black);
	display: flex;
	align-items: stretch;
	position: relative;
	overflow: hidden;
}

.pt-card-img {
	display: block;
	line-height: 0;
	flex: 0 0 200px;
	max-width: 200px;
}
.pt-card-img img {
	width: 100%;
	height: 100%;
	min-height: 200px;
	object-fit: cover;
	display: block;
}

.pt-card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
	padding: 20px 22px;
	min-width: 0;
}

.pt-card-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	font-family: 'Oswald', sans-serif;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	border-top: 1px solid #f0f0f0;
	padding-top: 12px;
}
.pt-coll { color: #9a9a9a; }
.pt-code { color: #c4c4c4; }

.pt-card-title {
	display: flex;
	align-items: baseline;
	gap: 12px;
}
.pt-model {
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: 17px;
	line-height: 1;
	color: var(--pt-black);
}
.pt-edition {
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	font-size: 17px;
	color: var(--pt-red);
	white-space: nowrap;
}
.pt-edition i { font-style: normal; font-size: 12px; color: #b0b0b0; }

.pt-card-owner {
	display: flex;
	align-items: center;
	gap: 14px;
}
.pt-avatar {
	width: 56px;
	height: 56px;
	object-fit: cover;
	display: block;
	flex-shrink: 0;
}
.pt-owner-text { display: flex; flex-direction: column; gap: 2px; }
.pt-owner-label {
	font-family: 'Oswald', sans-serif;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #9a9a9a;
}
.pt-owner-name {
	font-family: 'Anton', 'Oswald', sans-serif;
	text-transform: uppercase;
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.05;
	color: var(--pt-black);
	word-break: break-word;
}

/* Featured */
.pt-card-featured { /* order only, no special styling */ }

/* ---------- Stolen / Lost ---------- */
.pt-status-stamp {
	position: absolute;
	z-index: 2;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	letter-spacing: .16em;
}
.pt-card-stolen { border: 2px solid var(--pt-red); }
.pt-stamp-stolen {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-12deg);
	font-size: 34px;
	font-weight: 600;
	color: var(--pt-red);
	border: 4px solid var(--pt-red);
	padding: 4px 22px;
	background: rgba(255,255,255,.65);
	pointer-events: none;
}
.pt-card-lost { filter: grayscale(1); opacity: .85; }
.pt-stamp-lost {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-12deg);
	font-size: 34px;
	font-weight: 600;
	color: #cfcfcf;
	border: 4px solid #cfcfcf;
	padding: 4px 22px;
	background: rgba(255,255,255,.65);
	pointer-events: none;
}

/* ---------- Redaction box: plain black rectangle ---------- */
.pt-redacted {
	display: inline-block;
	background: #000;
	padding: 3px 8px;
	line-height: 1;
	user-select: none;
}
.pt-redacted span {
	display: inline-block;
	min-width: 110px;
	white-space: pre;
	font-size: 22px;
}
.pt-panel .pt-redacted { vertical-align: middle; }
.pt-featured-block .pt-redacted { outline: 1px solid rgba(255,255,255,.35); }

/* ---------- Homepage social proof block (stays dark) ---------- */
.pt-featured-block {
	background: var(--pt-black);
	background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
	background-size: 3px 3px;
	color: #fff;
	padding: 44px 28px 48px;
	position: relative;
	max-width: none;
}
.pt-featured-block::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 8px;
	background: var(--pt-yellow);
}
.pt-featured-inner { max-width: 720px; margin: 0 auto; }
.pt-featured-eyebrow {
	font-family: 'Oswald', sans-serif;
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--pt-yellow);
	display: block;
	margin-bottom: 8px;
}
.pt-featured-title {
	font-family: 'Anton', 'Oswald', sans-serif;
	text-transform: uppercase;
	font-size: clamp(30px, 5vw, 48px);
	line-height: 1;
	color: var(--pt-black);
	background: var(--pt-white);
	display: inline-block;
	padding: 6px 14px 8px;
	margin: 0 0 26px;
}
.pt-featured-list { margin-bottom: 28px; }
.pt-featured-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 13px 0;
	border-bottom: 1px solid rgba(255,255,255,.12);
}
.pt-featured-row:last-child { border-bottom: none; }
.pt-avatar-sm { width: 36px; height: 36px; }
.pt-featured-unit {
	font-family: 'Oswald', sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 14px;
	color: rgba(255,255,255,.6);
	min-width: 120px;
}
.pt-featured-unit i { font-style: normal; color: var(--pt-yellow); }
.pt-featured-x { color: var(--pt-red); font-size: 12px; }
.pt-featured-owner {
	font-family: 'Anton', 'Oswald', sans-serif;
	text-transform: uppercase;
	font-size: clamp(18px, 3vw, 26px);
	letter-spacing: .02em;
}
.pt-featured-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* On the dark block: primary = white (like the hero VIEW_ button), secondary = outline */
.pt-featured-block .pt-btn {
	background: var(--pt-white);
	border-color: var(--pt-white);
	color: var(--pt-black);
}
.pt-featured-block .pt-btn:hover { background: var(--pt-red); border-color: var(--pt-red); color: var(--pt-white); }
.pt-featured-block .pt-btn-ghost {
	background: transparent;
	color: var(--pt-white);
	border: 1px solid var(--pt-white);
}
.pt-featured-block .pt-btn-ghost:hover { background: var(--pt-white); color: var(--pt-black); }

/* ---------- Mobile ---------- */
@media (max-width: 520px) {
	.pt-grid { grid-template-columns: 1fr; }
	.pt-card-img { flex-basis: 130px; max-width: 130px; }
	.pt-card-img img { min-height: 150px; }
	.pt-card-body { padding: 14px 16px; gap: 8px; }
	.pt-model { font-size: 22px; }
	.pt-featured-row { flex-wrap: wrap; gap: 8px; }
	.pt-featured-actions .pt-btn { width: 100%; text-align: center; }
	.pt-btn { width: 100%; text-align: center; }
}

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

/* ---------- Bare mode: background set at the page-builder Row level ---------- */
.pt-featured-block.pt-featured-bare {
	background: none;
	padding: 0;
}
.pt-featured-block.pt-featured-bare::before { display: none; }
