/* JTS Honor Badger — public */

.jts-hb-wrap {
	--jts-red: #e11d2e;
	--jts-ink: #141414;
	--jts-muted: #6b6b6b;
	--jts-line: #2a2a2a;
	--jts-panel: #161616;
	--jts-panel-2: #1e1e1e;
	--jts-cream: #f3f1ec;
	max-width: 100%;
	margin: 0 auto 2.5rem;
	color: var(--jts-ink);
	font-size: 1rem;
	line-height: 1.5;
	box-sizing: border-box;
}

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

.jts-hb-kicker {
	margin: 0 0 0.25rem;
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--jts-red);
}

.jts-hb-heading {
	margin: 0 0 0.5rem;
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	line-height: 1.15;
	letter-spacing: 0.01em;
}

.jts-hb-lede {
	margin: 0 0 1.4rem;
	color: #444;
	max-width: 42rem;
}

.jts-hb-studio {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: var(--jts-panel);
	color: var(--jts-cream);
	border-radius: 16px;
	padding: 0.85rem;
}

.jts-hb-stage {
	background: #2a2a2c;
	border-radius: 12px;
	padding: 0.5rem;
}

#jts-hb-canvas {
	display: block;
	width: 100%;
	height: auto;
	touch-action: none;
	cursor: crosshair;
	border-radius: 8px;
	background: #3a3a3c;
	user-select: none;
	-webkit-user-select: none;
}

.jts-hb-stage-hint {
	margin: 0.55rem 0 0;
	font-size: 0.82rem;
	color: #b9b9b9;
	text-align: center;
}

.jts-hb-form {
	background: #f4f4f5;
	color: #111;
	border-radius: 12px;
	padding: 1rem 1.1rem 1.15rem;
}

.jts-hb-wrap .jts-hb-form label,
.jts-hb-wrap .jts-hb-label {
	display: block;
	font-weight: 700;
	margin-bottom: 0.35rem;
	font-size: 0.92rem;
	color: #111 !important;
}

.jts-hb-opt {
	font-weight: 500;
	color: #5c5c5c;
}

.jts-hb-field {
	margin-bottom: 0.95rem;
}

.jts-hb-row {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 0.75rem;
}

.jts-hb-wrap .jts-hb-form input[type="text"],
.jts-hb-wrap .jts-hb-form select {
	width: 100%;
	max-width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid #b7b7b7 !important;
	border-radius: 8px;
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: #111111 !important;
	-webkit-text-fill-color: #111111 !important;
	caret-color: #111111 !important;
	opacity: 1 !important;
	font: inherit;
	font-size: 1.05rem;
	line-height: 1.3;
	box-shadow: none !important;
}

.jts-hb-wrap .jts-hb-form input:focus,
.jts-hb-wrap .jts-hb-form select:focus {
	outline: 2px solid rgba(225, 29, 46, 0.45);
	border-color: var(--jts-red) !important;
}

.jts-hb-wrap .jts-hb-form input::placeholder {
	color: #767676 !important;
	-webkit-text-fill-color: #767676 !important;
	opacity: 1 !important;
}

.jts-hb-wrap .jts-hb-form input:-webkit-autofill,
.jts-hb-wrap .jts-hb-form input:-webkit-autofill:hover,
.jts-hb-wrap .jts-hb-form input:-webkit-autofill:focus {
	-webkit-text-fill-color: #111111 !important;
	caret-color: #111111 !important;
	box-shadow: 0 0 0 1000px #ffffff inset !important;
	transition: background-color 9999s ease-out;
}

.jts-hb-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 0 !important;
	overflow: hidden !important;
}

.jts-hb-trail-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.jts-hb-chip {
	appearance: none;
	border: 1px solid #c5c5c5;
	background: #fff;
	color: #222;
	border-radius: 999px;
	padding: 0.38rem 0.75rem;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
}

.jts-hb-chip:hover,
.jts-hb-chip:focus {
	border-color: #888;
}

.jts-hb-chip-ghost {
	background: #ececec;
	color: #333;
}

.jts-hb-width {
	margin-top: 0.75rem;
}

.jts-hb-width label {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.75rem;
}

.jts-hb-wrap .jts-hb-form input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 8px;
	margin: 0.35rem 0 0;
	padding: 0 !important;
	border: none !important;
	border-radius: 999px;
	background: #d5d5d5 !important;
	background-color: #d5d5d5 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.jts-hb-wrap .jts-hb-form input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #e11d2e;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #b7b7b7;
	cursor: pointer;
}

.jts-hb-wrap .jts-hb-form input[type="range"]::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #e11d2e;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #b7b7b7;
	cursor: pointer;
}

.jts-hb-wrap .jts-hb-form input[type="range"]::-moz-range-track {
	height: 8px;
	border-radius: 999px;
	background: #d5d5d5;
}

.jts-hb-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 0.4rem;
}

.jts-hb-btn {
	display: inline-block;
	background: var(--jts-red);
	color: #fff !important;
	border: none;
	border-radius: 999px;
	padding: 0.7rem 1.2rem;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	text-decoration: none !important;
	line-height: 1.2;
}

.jts-hb-btn:hover,
.jts-hb-btn:focus {
	filter: brightness(1.05);
	color: #fff !important;
}

.jts-hb-btn:disabled {
	opacity: 0.55;
	cursor: wait;
}

.jts-hb-btn-outline {
	background: transparent;
	color: #fff !important;
	box-shadow: inset 0 0 0 2px #fff;
}

.jts-hb-btn-ghost {
	background: #2c2c2c;
	color: #eee !important;
}

.jts-hb-status {
	margin: 0.75rem 0 0;
	padding: 0.65rem 0.75rem;
	border-radius: 8px;
	font-weight: 600;
}

.jts-hb-status.is-ok {
	background: #1d3a24;
	color: #d4f0dc;
}

.jts-hb-status.is-err {
	background: #3a1a1a;
	color: #ffd0d0;
}

.jts-hb-legal {
	margin: 0.9rem 0 0;
	font-size: 0.78rem;
	color: #5c5c5c;
	line-height: 1.4;
}

.jts-hb-wall-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.jts-hb-filter select {
	padding: 0.4rem 0.55rem;
	border-radius: 8px;
	border: 1px solid #ccc;
	font: inherit;
}

.jts-hb-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1rem;
}

.jts-hb-card {
	background: #f7f7f8;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #ececec;
}

.jts-hb-card.is-featured {
	box-shadow: 0 0 0 2px var(--jts-red);
}

.jts-hb-card-img-link {
	display: block;
	background: #ececec;
}

.jts-hb-card-img,
.jts-hb-single-img {
	display: block;
	width: 100%;
	height: auto;
}

.jts-hb-card-body {
	padding: 0.7rem 0.8rem 0.9rem;
}

.jts-hb-card-title {
	margin: 0 0 0.2rem;
	font-size: 1.02rem;
	line-height: 1.25;
}

.jts-hb-card-title a {
	color: inherit;
	text-decoration: none;
}

.jts-hb-card-title a:hover {
	color: var(--jts-red);
}

.jts-hb-card-meta,
.jts-hb-single-meta,
.jts-hb-nick {
	margin: 0;
	color: var(--jts-muted);
	font-size: 0.9rem;
}

.jts-hb-pages {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-top: 1.2rem;
}

.jts-hb-pages a {
	display: inline-block;
	min-width: 2rem;
	text-align: center;
	padding: 0.3rem 0.5rem;
	border-radius: 6px;
	border: 1px solid #ddd;
	text-decoration: none;
	color: inherit;
}

.jts-hb-pages a.is-current {
	background: var(--jts-red);
	border-color: var(--jts-red);
	color: #fff;
}

.jts-hb-empty {
	color: #555;
}

.jts-hb-cta {
	margin: 1.1rem 0 0;
}

.jts-hb-featured {
	margin-bottom: 2rem;
}

.jts-hb-single-img {
	border-radius: 12px;
	background: #ececec;
}

.jts-hb-single-meta {
	margin-top: 0.8rem;
}

.jts-hb-single-meta strong {
	color: var(--jts-ink);
}

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