/* Pumpkintown SC Hike Daylight Timer, matched to the site's green and amber palette */
.ptsc-ht {
	--ht-ink: #29352d;
	--ht-mute: #5f6b63;
	--ht-line: #dfe7dc;
	margin: 28px 0;
	background: #fff;
	border: 1px solid var(--ht-line);
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(22, 48, 31, .08);
	overflow: hidden;
	color: var(--ht-ink);
	font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.ptsc-ht * { box-sizing: border-box; }
.ptsc-ht-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 13px 18px;
	background: linear-gradient(135deg, #203c29 0%, #6b4a1f 100%);
	color: #fff;
}
.ptsc-ht-title { display: inline-flex; align-items: center; gap: 10px; font: 700 18px/1.2 Georgia, "Times New Roman", serif; }
.ptsc-ht-sun {
	width: 14px; height: 14px; border-radius: 50%;
	background: radial-gradient(circle at 40% 40%, #ffe3a3, #f2a33a);
	box-shadow: 0 0 0 4px rgba(242, 163, 58, .25);
}
.ptsc-ht-trail { font-size: 13px; color: #f3dfbd; text-align: right; }
.ptsc-ht-body { padding: 16px 18px 6px; }
.ptsc-ht-main { margin: 0; font: 600 20px/1.3 Georgia, "Times New Roman", serif; color: #203c29; }
.ptsc-ht-main strong { color: #b86a1e; font-size: 1.25em; }
.ptsc-ht-sub { margin: 4px 0 0; font-size: 14px; color: var(--ht-mute); }
.ptsc-ht-sub:empty { display: none; }

.ptsc-ht.is-late .ptsc-ht-main, .ptsc-ht.is-done .ptsc-ht-main { color: #8a5a1c; font-size: 18px; }
.ptsc-ht.is-closed .ptsc-ht-main { color: #8d2f20; }

.ptsc-ht-bar { margin: 30px 0 4px; }
.ptsc-ht-track { position: relative; height: 12px; border-radius: 999px; background: #eef1ec; }
.ptsc-ht-seg { position: absolute; top: 0; bottom: 0; }
.ptsc-ht-go { background: linear-gradient(90deg, #cfe5c9, #4c9a5e); border-radius: 999px 0 0 999px; }
.ptsc-ht-late { background: repeating-linear-gradient(135deg, #f6d9a8 0 6px, #f1c983 6px 12px); }
.ptsc-ht-closed { background: #c9cfc7; border-radius: 0 999px 999px 0; }
.ptsc-ht-now {
	position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1.5px;
	background: #203c29; border-radius: 2px;
}
.ptsc-ht-now span {
	position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
	font: 700 10px/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase;
	background: #203c29; color: #fff; padding: 3px 5px; border-radius: 4px; white-space: nowrap;
}
.ptsc-ht-ends { display: flex; justify-content: space-between; gap: 6px; margin-top: 7px; font-size: 12px; color: var(--ht-mute); }
.ptsc-ht-ends span:nth-child(2) { color: #3a7a4b; font-weight: 700; }

.ptsc-ht-alt {
	margin: 12px 0 0; padding: 10px 14px; border-radius: 10px;
	background: #eef3ec; border: 1px solid #d5e3d1; font-size: 14px; color: #245c36;
}
.ptsc-ht-alt[hidden] { display: none; }

.ptsc-ht-pace { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 14px 0 10px; }
.ptsc-ht-pace-label { font: 700 11px/1 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--ht-mute); margin-right: 4px; }
.ptsc-ht-pace button {
	font: 600 13px/1 system-ui, sans-serif;
	padding: 7px 12px;
	border-radius: 999px;
	border: 1px solid #cfdccb;
	background: #fff;
	color: #245c36;
	cursor: pointer;
}
.ptsc-ht-pace button[aria-pressed="true"] { background: #245c36; border-color: #245c36; color: #fff; }
.ptsc-ht-pace button:focus-visible { outline: 2px solid #d9822b; outline-offset: 2px; }

.ptsc-ht-foot {
	margin: 0;
	padding: 10px 18px 13px;
	font-size: 12px;
	color: var(--ht-mute);
	background: #f6f8f4;
	border-top: 1px solid var(--ht-line);
}

@media (max-width: 600px) {
	.ptsc-ht { margin: 22px 0; border-radius: 14px; font-size: 14px; }
	.ptsc-ht-top { padding: 11px 14px; }
	.ptsc-ht-title { font-size: 16px; }
	.ptsc-ht-trail { font-size: 12px; }
	.ptsc-ht-body { padding: 13px 14px 4px; }
	.ptsc-ht-main { font-size: 18px; }
	.ptsc-ht-sub { font-size: 13px; }
	.ptsc-ht-ends { font-size: 11px; }
	.ptsc-ht-pace button { padding: 6px 10px; font-size: 12px; }
	.ptsc-ht-foot { padding: 9px 14px 11px; font-size: 11px; }
}
