div.singleBox:has(.jj-scrub-hud) > a > img { border-radius: 5px 5px 0 0; }
div.singleBox > a > img.jj-scrub-dim { opacity: 0.35; filter: grayscale(1); transition: opacity .15s; }
.jj-scrub { order: 1; text-align: left; }
.jj-scrub-hud {
	box-sizing: border-box; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 14px;
	padding: 8px 12px; background: #1d1e20; color: #fff;
	font: 14px/1.35 Arial, Helvetica, sans-serif; border-radius: 0 0 5px 5px;
}
.jj-scrub-ctl { display: flex; align-items: center; gap: 6px; }
.jj-scrub-data { display: grid; gap: 2px 10px; min-width: 0; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) minmax(0, 0.95fr) minmax(0, 1.35fr); }
.jj-scrub-play {
	width: 34px; height: 34px; border-radius: 50%; flex: none; padding: 0;
	border: 0; background: #006b3f; color: #fff; font-size: 13px; line-height: 34px; cursor: pointer;
}
.jj-scrub-play:hover { background: #00804b; }
.jj-scrub-loop, .jj-scrub-seg button {
	border: 1px solid rgba(255,255,255,0.35); background: transparent; color: #fff;
	font-size: 12px; padding: 4px 8px; cursor: pointer; line-height: 1.2;
}
.jj-scrub-loop { border-radius: 14px; font-size: 14px; padding: 2px 8px; }
.jj-scrub-seg { display: inline-flex; }
.jj-scrub-seg button { margin-left: -1px; }
.jj-scrub-seg button:first-child { border-radius: 14px 0 0 14px; margin-left: 0; }
.jj-scrub-seg button:last-child { border-radius: 0 14px 14px 0; }
.jj-scrub-loop[aria-pressed="true"], .jj-scrub-seg button[aria-pressed="true"] { background: #006b3f; border-color: #006b3f; }
.jj-scrub-f { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jj-scrub-f i { font-style: normal; opacity: .8; font-size: 13px; }
.jj-scrub-f b { font-variant-numeric: tabular-nums; }
.jj-scrub-f-day b { color: #f2c21b; }
.jj-scrub-f-sn { justify-self: start; max-width: 100%; box-sizing: border-box; margin-left: -6px; padding: 0 6px; border-radius: 10px; }
.jj-scrub-f-sn.jj-scrub-on { background: #1a6fd1; }
.jj-scrub-bar { margin: 26px 0 4px; }
.jj-scrub-track {
	position: relative; display: flex; gap: 3px; cursor: grab; touch-action: pan-y;
	user-select: none; -webkit-user-select: none; outline-offset: 3px;
}
.jj-scrub-track.jj-scrub-grab { cursor: grabbing; }
.jj-scrub-col { flex: 1; min-width: 0; border-radius: 4px; padding-bottom: 2px; }
.jj-scrub-pic { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: #e3e7ec; }
div.singleBox .jj-scrub-pic img {
	display: block; width: 100%; height: 100%; max-height: none; object-fit: cover;
	border-radius: 3px; box-shadow: none; pointer-events: none;
}
.jj-scrub-col-none .jj-scrub-pic { background: repeating-linear-gradient(45deg, #f2f2ec, #f2f2ec 4px, #e3e3d8 4px, #e3e3d8 8px); }
.jj-scrub-day { position: relative; z-index: 3; height: 30px; box-sizing: border-box; font-size: 10px; line-height: 1.2; color: #666; text-align: center; padding: 3px 0 2px; }
.jj-scrub-col-none .jj-scrub-day { color: #bbb; }
.jj-scrub-col-now .jj-scrub-day { font-weight: bold; color: #006b3f; }
.jj-scrub-plot { position: relative; height: 80px; border-bottom: 1px solid #c9cdd3; }
.jj-scrub-temps { position: absolute; top: 0; left: 0; right: 0; height: 54px; }
.jj-scrub-band { position: absolute; left: 26%; right: 26%; border-radius: 4px; background: linear-gradient(#ff8a2b, #ffc93c 55%, #3fa7ff); }
.jj-scrub-snow { position: absolute; bottom: 0; left: 16%; right: 16%; background: #1a6fd1; border-radius: 3px 3px 0 0; }
.jj-scrub-snow span { position: absolute; bottom: 100%; left: -60%; right: -60%; font-size: 10px; color: #1a6fd1; text-align: center; font-weight: bold; }
.jj-scrub-freeze { position: absolute; left: -2px; right: -2px; height: 0; pointer-events: none; border-top: 1px dashed #1a8cff; }
.jj-scrub-freeze span { position: absolute; right: 2px; bottom: 1px; font-size: 10px; line-height: 1; color: #1a8cff; }
.jj-scrub-col.jj-scrub-at { background: #ffe36b; }
div.singleBox .jj-scrub-at .jj-scrub-pic img { outline: 3px solid #f2c21b; outline-offset: -3px; }
.jj-scrub-at .jj-scrub-day { color: #000; font-weight: bold; }
.jj-scrub-head { position: absolute; top: 0; width: 0; z-index: 2; pointer-events: none; border-left: 2px solid #f2c21b; transition: left .08s; }
.jj-scrub-head b {
	position: absolute; top: -18px; left: -10px; width: 18px; height: 18px;
	border-radius: 50%; background: #f2c21b; border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,.35); pointer-events: auto; cursor: grab;
}
.jj-scrub-head b::after { content: ""; position: absolute; left: 5px; right: 5px; top: 5px; bottom: 5px; border-left: 2px solid #1d1e20; border-right: 2px solid #1d1e20; }
.jj-scrub-track:focus-visible .jj-scrub-head b { box-shadow: 0 0 0 3px #1a8cff; }
.jj-scrub-key { margin-top: 6px; font-size: 11px; color: #777; }
.jj-scrub-key a { color: #233758; }
.jj-scrub-key i { display: inline-block; width: 10px; height: 8px; margin: 0 3px 0 10px; }
.jj-scrub-key-band { background: linear-gradient(#ff8a2b, #ffc93c 55%, #3fa7ff); border-radius: 2px; }
.jj-scrub-key-snow { background: #1a6fd1; }
.jj-scrub-key-freeze { height: 0 !important; border-top: 1px dashed #1a8cff; vertical-align: 3px; }
@media (max-width: 600px) {
	.jj-scrub-hud { grid-template-columns: 1fr; padding: 6px 8px; font-size: 12px; }
	.jj-scrub-data { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px 8px; }
	.jj-scrub-f i { font-size: 12px; }
	.jj-scrub-track { gap: 1px; }
	.jj-scrub-day { font-size: 9px; }
}
