/* Jeju Kite Lab — Wingfoil Calendar (front end) v1.4.7
   Day cards stay visual: the whole card is the weather (an Apple Weather
   style scene), plus the rating and the moving wind. All the numbers live
   in the three time-slot cards that open on tap. */

.jklwf,
.jklwf * {
	box-sizing: border-box;
}

.jklwf {
	--ink: #1C244B;
	--muted: #6B7699;
	--faint: #8A93AE;
	--line: #E4E8F1;
	--teal: #0B8BAA;
	--teal-ink: #0A6E86;
	--sun: #F2A93B;
	--rain: #3E9FD8;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--ink);
	max-width: 1180px;
	margin: 0 auto;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}

.jklwf button {
	font-family: inherit;
}

/* Header --------------------------------------------------------- */

.jklwf-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 24px;
	margin: 0 0 10px;
}

.jklwf-title {
	font-size: 25px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 4px;
	letter-spacing: -0.01em;
}

.jklwf-sub {
	font-size: 13px;
	color: var(--muted);
	margin: 0;
}

.jklwf-updated {
	font-size: 11.5px;
	color: var(--faint);
}

.jklwf-stale {
	color: #B4652A;
}

.jklwf-legend {
	font-size: 11.5px;
	color: var(--faint);
	margin-bottom: 14px;
}

.jklwf-star {
	color: #DCE1EC;
	font-size: 13px;
	line-height: 1;
}

.jklwf-star.is-on {
	color: var(--sun);
}

.jklwf-dash {
	color: #A7AFC4;
	font-size: 12px;
}

/* Day grid ------------------------------------------------------- */

.jklwf-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 10px;
}

.jklwf-day {
	/* the weather scene: one sky per card, set per data-wx below */
	--sky-1: #2F7FC4;
	--sky-2: #5AA8DA;
	--sky-3: #97CCEA;
	--glow: 0;
	--cloud: 0.3;
	--rain: 0;
	--snow: 0;
	--slant: 10deg;
	--fall: 0.85s;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	text-align: left;
	background: #2F7FC4;
	border: 1px solid rgba(16, 30, 52, 0.14);
	border-radius: 16px;
	padding: 12px 12px 20px;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(20, 38, 68, 0.14);
	transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
	color: #fff;
	isolation: isolate;
	overflow: hidden;
}

.jklwf-day:hover {
	border-color: rgba(11, 139, 170, 0.75);
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(20, 38, 68, 0.22);
}

.jklwf-day.is-active {
	border-color: var(--teal);
	box-shadow: 0 0 0 3px rgba(11, 139, 170, 0.22), 0 10px 22px rgba(20, 38, 68, 0.2);
}

.jklwf-day.is-past {
	opacity: 0.72;
}

.jklwf-day.is-past .jklwf-day-bg {
	filter: grayscale(0.7) brightness(0.86);
}

/* --- the weather scene behind the card -------------------------- */

.jklwf-day-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	overflow: hidden;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(168deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 100%);
}

.jklwf-day-bg > span {
	position: absolute;
	inset: 0;
	display: block;
	pointer-events: none;
}

.jklwf-bg-glow {
	opacity: var(--glow);
	background:
		radial-gradient(circle at 83% 24%, #FFFDF3 0 4.5px, #FFEFB4 4.5px 7px, rgba(255, 209, 116, 0.95) 7px 9px, rgba(255, 196, 92, 0.4) 9px 16px, rgba(255, 190, 84, 0) 24px),
		radial-gradient(ellipse 46% 26% at 84% 20%, rgba(255, 236, 178, 0.55) 0%, rgba(255, 210, 128, 0.24) 44%, rgba(255, 198, 110, 0) 80%);
	animation: jklwf-bg-glow 9s ease-in-out infinite;
}

.jklwf-bg-clouds {
	opacity: var(--cloud);
	filter: blur(1.5px);
	background:
		radial-gradient(24% 14% at 26% 27%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 71%),
		radial-gradient(21% 12% at 40% 21%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.42) 52%, rgba(255, 255, 255, 0) 72%),
		radial-gradient(19% 10% at 53% 26%, rgba(250, 253, 255, 0.7) 0%, rgba(250, 253, 255, 0.34) 52%, rgba(250, 253, 255, 0) 73%),
		radial-gradient(28% 8% at 38% 33%, rgba(88, 122, 166, 0.4) 0%, rgba(88, 122, 166, 0.14) 55%, rgba(88, 122, 166, 0) 76%),
		radial-gradient(16% 8% at 72% 13%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.18) 55%, rgba(255, 255, 255, 0) 74%);
	animation: jklwf-bg-clouds 28s ease-in-out infinite alternate;
}

.jklwf-bg-rain {
	left: 0;
	right: 0;
	top: 0;
	height: 100%;
	opacity: var(--rain);
}

.jklwf-rain-svg {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.jklwf-rain-svg path {
	fill: none;
	stroke: #E8F5FF;
	stroke-linecap: round;
}

.jklwf-rain-set {
	animation: jklwf-rain-fall var(--fall) linear infinite;
}

.jklwf-bg-snow {
	left: -20%;
	right: -20%;
	top: -100%;
	height: 200%;
	opacity: var(--snow);
	background-image:
		radial-gradient(circle at 8% 12%, #fff 0 1.4px, rgba(255, 255, 255, 0) 1.8px),
		radial-gradient(circle at 22% 58%, #fff 0 1.1px, rgba(255, 255, 255, 0) 1.5px),
		radial-gradient(circle at 35% 30%, #fff 0 1.3px, rgba(255, 255, 255, 0) 1.7px),
		radial-gradient(circle at 47% 76%, #fff 0 1px, rgba(255, 255, 255, 0) 1.4px),
		radial-gradient(circle at 58% 18%, #fff 0 1.5px, rgba(255, 255, 255, 0) 1.9px),
		radial-gradient(circle at 70% 66%, #fff 0 1.2px, rgba(255, 255, 255, 0) 1.6px),
		radial-gradient(circle at 82% 38%, #fff 0 1.3px, rgba(255, 255, 255, 0) 1.7px),
		radial-gradient(circle at 93% 84%, #fff 0 1.1px, rgba(255, 255, 255, 0) 1.5px);
	background-size: 100% 52px;
	background-repeat: repeat;
	animation: jklwf-bg-snowfall 6.5s linear infinite;
}

.jklwf-bg-flash {
	display: none;
	opacity: 0;
	background: radial-gradient(62% 48% at 68% 4%, rgba(255, 255, 255, 0.95) 0%, rgba(198, 226, 255, 0.5) 36%, rgba(198, 226, 255, 0) 74%);
}

/* readability: a soft scrim at the top (date) and bottom (wind) ---- */
.jklwf-bg-scrim {
	background:
		linear-gradient(to bottom, rgba(8, 18, 34, 0.34) 0%, rgba(8, 18, 34, 0.12) 26%, rgba(8, 18, 34, 0) 46%),
		linear-gradient(to bottom, rgba(8, 18, 34, 0) 44%, rgba(8, 18, 34, 0.22) 68%, rgba(8, 18, 34, 0.54) 100%);
}

/* skies ----------------------------------------------------------- */

.jklwf-day[data-wx="clear"] {
	--sky-1: #1B6CB0;
	--sky-2: #4A9AD4;
	--sky-3: #8EC7E9;
	--glow: 1;
	--cloud: 0.35;
}

.jklwf-day[data-wx="partly"] {
	--sky-1: #2A79BD;
	--sky-2: #5BA5D8;
	--sky-3: #93C8E6;
	--glow: 0.9;
	--cloud: 0.8;
}

.jklwf-day[data-wx="overcast"] {
	--sky-1: #556274;
	--sky-2: #76839A;
	--sky-3: #99A5B5;
	--cloud: 0.9;
}

.jklwf-day[data-wx="fog"] {
	--sky-1: #6A7687;
	--sky-2: #8A95A5;
	--sky-3: #AEB7C3;
	--cloud: 0.55;
}

.jklwf-day[data-wx="drizzle"] {
	--sky-1: #485469;
	--sky-2: #647185;
	--sky-3: #8A95A6;
	--cloud: 0.7;
	--rain: 0.5;
}

.jklwf-day[data-wx="rain"] {
	--sky-1: #354154;
	--sky-2: #4F5E74;
	--sky-3: #74849A;
	--cloud: 0.8;
	--rain: 0.8;
}

.jklwf-day[data-wx="shower"] {
	--sky-1: #3B4C64;
	--sky-2: #6A819A;
	--sky-3: #9CB4C8;
	--glow: 0.5;
	--cloud: 0.75;
	--rain: 0.6;
}

.jklwf-day[data-wx="snow"] {
	--sky-1: #4A6186;
	--sky-2: #7A8FB0;
	--sky-3: #ABBCD3;
	--cloud: 0.7;
	--snow: 1;
}

.jklwf-day[data-wx="storm"] {
	--sky-1: #1C2430;
	--sky-2: #323E50;
	--sky-3: #4E5A6A;
	--cloud: 0.95;
	--rain: 0.95;
}

.jklwf-day[data-wx="storm"] .jklwf-bg-flash {
	display: block;
	animation: jklwf-bg-flash 9.5s linear infinite;
}

/* a wet or grey card gets a low deck of cloud instead of white puffs */
.jklwf-day[data-wx="overcast"] .jklwf-bg-clouds,
.jklwf-day[data-wx="storm"] .jklwf-bg-clouds,
.jklwf-day[data-wx="rain"] .jklwf-bg-clouds,
.jklwf-day[data-wx="drizzle"] .jklwf-bg-clouds,
.jklwf-day[data-wx="shower"] .jklwf-bg-clouds {
	filter: blur(2.2px);
	background:
		radial-gradient(44% 22% at 10% 11%, rgba(158, 178, 204, 0.5) 0%, rgba(158, 178, 204, 0.2) 46%, rgba(158, 178, 204, 0) 68%),
		radial-gradient(50% 24% at 46% 4%, rgba(146, 166, 194, 0.44) 0%, rgba(146, 166, 194, 0.18) 48%, rgba(146, 166, 194, 0) 70%),
		radial-gradient(42% 22% at 88% 15%, rgba(138, 158, 186, 0.4) 0%, rgba(138, 158, 186, 0.16) 50%, rgba(138, 158, 186, 0) 72%),
		radial-gradient(38% 18% at 28% 33%, rgba(24, 40, 60, 0.3) 0%, rgba(24, 40, 60, 0.12) 50%, rgba(24, 40, 60, 0) 72%);
}

/* snow sits under a pale, heavy winter sky */
.jklwf-day[data-wx="snow"] .jklwf-bg-clouds {
	filter: blur(2px);
	background:
		radial-gradient(46% 24% at 12% 12%, rgba(240, 246, 255, 0.45) 0%, rgba(240, 246, 255, 0.18) 48%, rgba(240, 246, 255, 0) 70%),
		radial-gradient(52% 26% at 52% 5%, rgba(232, 240, 252, 0.4) 0%, rgba(232, 240, 252, 0.16) 50%, rgba(232, 240, 252, 0) 72%),
		radial-gradient(44% 22% at 88% 18%, rgba(226, 236, 250, 0.36) 0%, rgba(226, 236, 250, 0.14) 50%, rgba(226, 236, 250, 0) 72%);
}

/* fog is bands of mist, not clouds */
.jklwf-day[data-wx="fog"] .jklwf-bg-clouds {
	filter: blur(7px);
	background:
		repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.18) 0 17px, rgba(255, 255, 255, 0) 17px 56px),
		repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.12) 0 23px, rgba(255, 255, 255, 0) 23px 79px);
	animation: jklwf-bg-mist 34s ease-in-out infinite alternate;
}

/* fine drizzle is drawn from shorter dashes than rain (see rain_svg) */

/* a break of sun in the showers */
.jklwf-day[data-wx="shower"] .jklwf-bg-glow {
	background:
		radial-gradient(circle at 84% 34%, #FFFDF3 0 3.6px, #FFEFB4 3.6px 6px, rgba(255, 209, 116, 0.9) 6px 8px, rgba(255, 196, 92, 0.32) 8px 14px, rgba(255, 190, 84, 0) 21px),
		radial-gradient(ellipse 44% 26% at 86% 29%, rgba(255, 244, 210, 0.45) 0%, rgba(255, 216, 146, 0.22) 44%, rgba(255, 200, 120, 0) 78%);
}

@keyframes jklwf-bg-glow {
	0%,
	100% {
		transform: scale(1);
		opacity: var(--glow);
	}
	50% {
		transform: scale(1.07);
		opacity: calc(var(--glow) * 0.8);
	}
}

@keyframes jklwf-bg-clouds {
	from {
		transform: translate3d(-7%, 1.5%, 0) scale(1.05);
	}
	to {
		transform: translate3d(7%, -1.5%, 0) scale(1.02);
	}
}

@keyframes jklwf-bg-mist {
	from {
		transform: translate3d(-10%, 4%, 0);
	}
	to {
		transform: translate3d(10%, -4%, 0);
	}
}

/* the dash field is periodic over its 120-unit viewBox, so one full
   height of travel loops without a seam */
@keyframes jklwf-rain-fall {
	from {
		transform: translateY(0);
	}
	to {
		transform: translateY(120px);
	}
}

@keyframes jklwf-bg-snowfall {
	from {
		transform: translate3d(0, 0, 0);
	}
	to {
		transform: translate3d(0, 52px, 0);
	}
}

@keyframes jklwf-bg-flash {
	0%,
	55%,
	100% {
		opacity: 0;
	}
	56% {
		opacity: 0.9;
	}
	58% {
		opacity: 0.12;
	}
	60% {
		opacity: 0.7;
	}
	63% {
		opacity: 0;
	}
	78% {
		opacity: 0.45;
	}
	80% {
		opacity: 0;
	}
}

/* the quiet "there is more inside" cue */
.jklwf-day::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 8px;
	z-index: 2;
	width: 6px;
	height: 6px;
	margin-left: -4px;
	border-right: 1.7px solid rgba(255, 255, 255, 0.72);
	border-bottom: 1.7px solid rgba(255, 255, 255, 0.72);
	transform: rotate(45deg);
	transition: border-color 0.18s ease, transform 0.18s ease;
}

.jklwf-day:hover::after,
.jklwf-day.is-active::after {
	border-color: #fff;
	transform: rotate(45deg) translate(1px, 1px);
}

/* every piece of card content sits above the weather scene */
.jklwf-day-head,
.jklwf-ratingline,
.jklwf-windline {
	position: relative;
	z-index: 1;
}

.jklwf-day-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 4px 6px;
}

.jklwf-date {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.jklwf-dow {
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 1px 2px rgba(8, 18, 34, 0.45);
}

.jklwf-num {
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	margin: 3px 0 1px;
	letter-spacing: -0.03em;
	text-shadow: 0 1px 3px rgba(8, 18, 34, 0.5);
}

.jklwf-mon {
	font-size: 9.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
	text-shadow: 0 1px 2px rgba(8, 18, 34, 0.4);
}

/* the weather in words, so a beginner never has to read the picture */
.jklwf-wx-tag {
	flex: none;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
	padding: 1px 5px;
	margin: -1px -5px 0 0;
	border-radius: 4px;
	background: rgba(9, 21, 38, 0.2);
	text-shadow: 0 1px 2px rgba(8, 18, 34, 0.45);
}

/* weather visual ------------------------------------------------- */

.jklwf-wx-visual--slot {
	display: block;
	flex: none;
	width: 26px;
	height: 26px;
}

.jklwf-wx-svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

/* motion: a card should feel like a two-second video loop -------- */

@keyframes jklwf-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes jklwf-halo-pulse {
	0%,
	100% {
		transform: scale(0.84);
		opacity: 0.45;
	}
	50% {
		transform: scale(1.06);
		opacity: 1;
	}
}

@keyframes jklwf-drift-a {
	0%,
	100% {
		transform: translateX(-1.8px);
	}
	50% {
		transform: translateX(1.8px);
	}
}

@keyframes jklwf-drift-b {
	0%,
	100% {
		transform: translateX(2.2px);
	}
	50% {
		transform: translateX(-2.2px);
	}
}

@keyframes jklwf-drop {
	0% {
		transform: translateY(-2.5px);
		opacity: 0;
	}
	30% {
		opacity: 1;
	}
	70% {
		opacity: 1;
	}
	100% {
		transform: translateY(5.5px);
		opacity: 0;
	}
}

@keyframes jklwf-flake {
	0% {
		transform: translate(0, -2px) scale(0.6);
		opacity: 0;
	}
	25% {
		opacity: 1;
	}
	100% {
		transform: translate(2.4px, 6.5px) scale(1);
		opacity: 0;
	}
}

@keyframes jklwf-bolt {
	0%,
	44%,
	100% {
		opacity: 0;
	}
	46%,
	56% {
		opacity: 1;
	}
	50% {
		opacity: 0.3;
	}
	62% {
		opacity: 0.85;
	}
	72% {
		opacity: 0;
	}
}

@keyframes jklwf-stream {
	from {
		stroke-dashoffset: 10;
	}
	to {
		stroke-dashoffset: -10;
	}
}

@keyframes jklwf-needle-pulse {
	0%,
	100% {
		opacity: 0.82;
	}
	50% {
		opacity: 1;
	}
}

.jklwf-rays {
	animation: jklwf-spin 22s linear infinite;
}

.jklwf-halo {
	transform-box: fill-box;
	transform-origin: center;
	animation: jklwf-halo-pulse 4.4s ease-in-out infinite;
}

.jklwf-drift-a {
	animation: jklwf-drift-a 6.5s ease-in-out infinite;
}

.jklwf-drift-b {
	animation: jklwf-drift-b 9s ease-in-out infinite;
}

.jklwf-drop {
	animation: jklwf-drop 1.45s linear infinite;
}

.jklwf-drop.d2 {
	animation-delay: 0.48s;
}

.jklwf-drop.d3 {
	animation-delay: 0.96s;
}

.jklwf-flake {
	transform-box: fill-box;
	transform-origin: center;
	animation: jklwf-flake 4.2s linear infinite;
}

.jklwf-flake.f2 {
	animation-delay: 1.4s;
}

.jklwf-flake.f3 {
	animation-delay: 2.8s;
}

.jklwf-bolt {
	animation: jklwf-bolt 4s ease-out infinite;
}

/* a paused glyph in a background tab still reads correctly */
.jklwf-wx-svg.is-cloud .jklwf-bolt {
	display: none;
}

/* wind glyph ----------------------------------------------------- */

.jklwf-wind {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.jklwf-wind-dial {
	display: block;
	flex: none;
	width: 34px;
	height: 34px;
}

.jklwf-wind-dial svg {
	display: block;
	width: 100%;
	height: 100%;
}

.jklwf-dial-bg {
	fill: rgba(11, 139, 170, 0.06);
	stroke: rgba(11, 139, 170, 0.16);
	stroke-width: 1;
}

.jklwf-needle {
	stroke: var(--teal);
	stroke-width: 2.5;
	stroke-linecap: round;
	animation: jklwf-needle-pulse 2.6s ease-in-out infinite;
}

.jklwf-needle-head {
	fill: var(--teal);
	stroke: var(--teal);
	stroke-width: 1.6;
	stroke-linejoin: round;
}

.jklwf-flow {
	stroke: #7FC9DA;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-dasharray: 2.4 3;
	animation: jklwf-stream 1.6s linear infinite;
}

.jklwf-flow.f2 {
	animation-delay: -0.8s;
}

.jklwf-hub {
	fill: var(--teal);
}

.jklwf-wind-val {
	display: inline-flex;
	align-items: baseline;
	gap: 1px;
	white-space: nowrap;
}

.jklwf-wind-val b {
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
	letter-spacing: -0.01em;
}

.jklwf-unit {
	font-size: 9px;
	color: var(--faint);
}

.jklwf-compass {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--teal-ink);
	background: rgba(11, 139, 170, 0.1);
	border-radius: 5px;
	padding: 1px 5px;
	white-space: nowrap;
}

.jklwf-wind--slot .jklwf-wind-dial {
	width: 32px;
	height: 32px;
}

.jklwf-wind--slot .jklwf-wind-val b {
	font-size: 17px;
}

.jklwf-wind--slot .jklwf-unit {
	font-size: 10px;
}

.jklwf-wind--slot .jklwf-compass {
	font-size: 10px;
}

/* 1.4.7: the small slot dial now carries the direction chip as a second line */
.jklwf-wind--slot {
	display: inline-grid;
	grid-template-columns: auto auto auto;
	align-items: center;
	justify-items: center;
	column-gap: 4px;
	row-gap: 2px;
}

.jklwf-wind-tag {
	grid-column: 1 / -1;
	justify-self: center;
	margin-top: 2px;
	padding: 0 6px;
	border-radius: 999px;
	font-size: 9.5px;
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: 0.01em;
	white-space: nowrap;
	text-align: center;
}

.jklwf-wind-tag--offshore {
	background: #FEE2E2;
	color: #DC2626;
}

.jklwf-wind-tag--onshore {
	background: #DCFCE7;
	color: #15803D;
}

.jklwf-wind-tag--gusty {
	background: #FEF3C7;
	color: #B45309;
}

.jklwf-wind-tag--tricky {
	background: #FFEDD5;
	color: #C2410C;
}

/* rating line ---------------------------------------------------- */

.jklwf-ratingline {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
}

/* the name of the score, right above the stars */
.jklwf-score-kicker {
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.05em;
	word-spacing: 0.35em;
	text-transform: uppercase;
	line-height: 1.1;
	white-space: nowrap;
}

.jklwf-stars {
	display: inline-flex;
	gap: 1px;
}

.jklwf-rating {
	font-size: 10.5px;
	font-weight: 600;
	color: #4A5478;
	letter-spacing: 0.02em;
}

.jklwf-windline {
	display: block;
	margin-top: auto;
}

/* the card is dark now: its own text palette ---------------------- */

.jklwf-day .jklwf-score-kicker {
	color: rgba(255, 255, 255, 0.9);
	text-shadow: 0 1px 2px rgba(8, 18, 34, 0.45);
}

.jklwf-day .jklwf-stars .jklwf-star {
	color: rgba(255, 255, 255, 0.34);
	font-size: 13px;
}

.jklwf-day .jklwf-stars .jklwf-star.is-on {
	color: #FFD27A;
	text-shadow: 0 1px 3px rgba(120, 70, 0, 0.35);
}

.jklwf-day .jklwf-rating {
	color: #fff;
	font-weight: 600;
	text-shadow: 0 1px 2px rgba(8, 18, 34, 0.45);
}

.jklwf-day .jklwf-dash {
	color: rgba(255, 255, 255, 0.75);
}

.jklwf-day .jklwf-wind-dial {
	width: 32px;
	height: 32px;
}

.jklwf-day .jklwf-dial-bg {
	fill: rgba(255, 255, 255, 0.14);
	stroke: rgba(255, 255, 255, 0.3);
}

.jklwf-day .jklwf-needle {
	stroke: #fff;
}

.jklwf-day .jklwf-needle-head {
	fill: #fff;
	stroke: #fff;
}

.jklwf-day .jklwf-flow {
	stroke: rgba(255, 255, 255, 0.8);
}

.jklwf-day .jklwf-hub {
	fill: #fff;
}

.jklwf-day .jklwf-wind-val b {
	color: #fff;
	text-shadow: 0 1px 2px rgba(8, 18, 34, 0.45);
}

.jklwf-day .jklwf-unit {
	color: rgba(255, 255, 255, 0.75);
}

.jklwf-day .jklwf-compass {
	color: #fff;
	background: rgba(255, 255, 255, 0.2);
	text-shadow: 0 1px 1px rgba(8, 18, 34, 0.3);
}

/* Day detail ----------------------------------------------------- */

/* The panel is moved by the script into the day grid, directly after the last
   card of the tapped card's row, and spans every column so it reads as the
   next line of the calendar. */
.jklwf-detail {
	grid-column: 1 / -1;
	margin: 2px 0;
	scroll-margin-top: 12px;
	background: #F7F9FC;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 16px;
}

.jklwf-detail[hidden] {
	display: none;
}

.jklwf-detail-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin-bottom: 13px;
}

.jklwf-detail-head strong {
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
}

.jklwf-detail-head span {
	font-size: 12px;
	color: var(--muted);
}

/* 물때 chip: phase label + water range inside the lesson window ---- */

.jklwf-phase {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 2px 6px;
	font-size: 10.5px;
	color: #4A5478;
}

.jklwf-phase-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--teal-ink);
	background: rgba(11, 139, 170, 0.1);
	border-radius: 5px;
	padding: 1px 6px;
	white-space: nowrap;
}

.jklwf-phase-range {
	font-size: 10.5px;
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
}

.jklwf-phase-empty {
	color: #A7AFC4;
	font-size: 10px;
}

.jklwf-detail-head .jklwf-phase {
	margin-left: 2px;
	font-size: 11px;
}

.jklwf-detail-head .jklwf-phase-label {
	font-size: 11px;
}

.jklwf-detail-head .jklwf-phase-range {
	font-size: 11.5px;
}

/* the three slot cards ------------------------------------------- */

.jklwf-slots {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.jklwf-slot {
	display: flex;
	flex-direction: column;
	container-type: inline-size;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 14px;
}

.jklwf-slot.is-best {
	border-color: var(--teal);
	box-shadow: 0 0 0 2px rgba(11, 139, 170, 0.12);
}

.jklwf-slot.is-past {
	background: #FAFBFD;
	opacity: 0.6;
}

.jklwf-slot.is-selected {
	border-color: var(--teal);
	box-shadow: 0 0 0 3px rgba(11, 139, 170, 0.16);
}

.jklwf-slot-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.jklwf-slot-time {
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	letter-spacing: -0.01em;
}

.jklwf-badge {
	font-size: 8.5px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	background: var(--teal);
	color: #fff;
	border-radius: 20px;
	padding: 2px 7px;
}

.jklwf-slot-scoreline {
	display: flex;
	align-items: center;
	gap: 6px;
}

.jklwf-slot-score {
	font-size: 13px;
	font-weight: 700;
	color: var(--teal);
	margin-left: auto;
}

.jklwf-slot-score small {
	font-size: 9.5px;
	font-weight: 500;
	color: var(--faint);
}

/* 1.4.7: the wind dial moved up beside the weather, so one line reads
   [icon + condition] · [dial 17 kt NW + chip] · [rain]. */
.jklwf-slot-wx {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 4px 8px;
	font-size: 11px;
	color: #4A5478;
}

.jklwf-slot-wxmain {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
}

.jklwf-slot-cond {
	font-size: 11px;
	color: #4A5478;
}

.jklwf-slot-rain {
	justify-self: end;
	font-size: 10.5px;
	color: var(--rain);
	white-space: nowrap;
}

.jklwf-rain-ico {
	font-size: 11px;
}

/* the dial, the knots and the compass point stay on one line; the chip and
   the window range sit centred underneath. */
.jklwf-slot-wind {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-self: center;
	gap: 1px;
	min-width: 0;
}

.jklwf-wind-sub {
	flex-basis: auto;
	font-size: 10.5px;
	line-height: 1.25;
	color: #97A0B8;
	white-space: nowrap;
}

/* A narrow slot folds the row: weather left, rain right, wind underneath. */
@container (max-width: 300px) {
	.jklwf-slot-wx {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		gap: 2px 8px;
	}

	.jklwf-slot-wxmain {
		order: 1;
	}

	.jklwf-slot-rain {
		order: 2;
	}

	.jklwf-slot-wind {
		order: 3;
		flex: 0 0 100%;
		margin-top: 2px;
	}
}


/* tide ----------------------------------------------------------- */

.jklwf-meter {
	display: block;
}

.jklwf-meter-track {
	position: relative;
	height: 6px;
	margin-bottom: 6px;
	background: #E8ECF4;
	border-radius: 4px;
}

.jklwf-meter-ideal {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 31.25%;
	width: 31.25%;
	background: rgba(11, 139, 170, 0.2);
	border-radius: 4px;
}

.jklwf-meter-dot {
	position: absolute;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-left: -4px;
	margin-top: -4px;
	background: var(--ink);
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--ink);
}

.jklwf-meter-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px 7px;
	margin-top: 6px;
	font-size: 11.5px;
	color: #4A5478;
}

.jklwf-meter-phase {
	font-size: 10.5px;
	font-weight: 700;
	color: var(--teal-ink);
	background: rgba(11, 139, 170, 0.1);
	border-radius: 5px;
	padding: 1px 5px;
	white-space: nowrap;
}

.jklwf-meter-cm {
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
}

.jklwf-meter-trend {
	font-size: 11.5px;
	font-weight: 600;
	color: #4A5478;
}

.jklwf-meter-trend.is-rising {
	color: var(--teal);
}

.jklwf-meter-trend.is-falling {
	color: #C77A2E;
}

.jklwf-trend {
	font-weight: 700;
	font-size: 9px;
}

.jklwf-trend.is-rising {
	color: var(--teal);
}

.jklwf-trend.is-falling {
	color: #C77A2E;
}

.jklwf-trend.is-steady {
	color: var(--faint);
}

.jklwf-meter-label {
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--teal-ink);
	background: rgba(11, 139, 170, 0.1);
	border-radius: 5px;
	padding: 1px 6px;
}

/* Tide chart (1.4.5): 06:00–21:00 at most, zoomed to a nine hour window
   around the session and drawn straight on the card's own background.
   Nothing sits in a dark box any more, so every mark is a dark ink on the
   light card: blue curve, gold ideal band, sky-tinted slot band. */

.jklwf-tide {
	display: block;
	margin: 2px 0 0;
}

/* The sentence that replaces the old "good 100–200" key. */
.jklwf-tide-eval {
	margin: 0 0 4px;
	font-size: 11.5px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0.005em;
	color: #161D2C;
}

.jklwf-tide-svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: hidden;
	background: transparent;
}

.jklwf-tide-svg text {
	font-family: inherit;
}

.jklwf-tide-band {
	fill: rgba(14, 165, 233, 0.10);
	stroke: rgba(14, 165, 233, 0.38);
	stroke-width: 1;
}

.jklwf-tide-grid {
	fill: none;
	stroke: rgba(71, 85, 105, 0.22);
	stroke-width: 1;
	stroke-dasharray: 2 4;
}

.jklwf-tide-area {
	fill: rgba(11, 122, 158, 0.10);
}

.jklwf-tide-line {
	fill: none;
	stroke: #0B7A9E;
	stroke-width: 1.9;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.jklwf-tide-ideal {
	fill: rgba(245, 158, 11, 0.20);
}

.jklwf-tide-good-line {
	fill: none;
	stroke: #D97706;
	stroke-width: 2;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.jklwf-tide-ref {
	fill: none;
	stroke: rgba(217, 119, 6, 0.45);
	stroke-width: 1;
	stroke-dasharray: 3 3;
}

.jklwf-tide-dot {
	fill: #0B7A9E;
	stroke: #FFFFFF;
	stroke-width: 1.6;
}

/* 1.0.15 swaps the two chart type styles: the high/low stamps take the
   session depth label's small blue dress, and .jklwf-tide-cm (written by
   the shared tide-cm script) takes the stamps' dark one. */
.jklwf-tide-peak {
	font-size: 8px;
	font-weight: 600;
	fill: #0B7A9E;
	paint-order: stroke;
	stroke: #FFFFFF;
	stroke-width: 1.6;
	stroke-linejoin: round;
}

.jklwf-tide-peak--low {
	fill: #4B9CB8;
}

.jklwf-tide-hour {
	font-size: 10px;
	font-weight: 600;
	fill: #64748B;
}

/* Per-slot weather chips: one label + one value, the same type on all
   six. Three columns whenever the card is wide enough; two once the slot
   itself gets narrow (a 3-across row at ~300px would squeeze the values). */

.jklwf-factors {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
}

.jklwf-factor {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	min-width: 0;
	padding: 5px 4px;
	text-align: center;
	white-space: nowrap;
	background: #F7F9FC;
	border: 1px solid #E3E8F1;
	border-radius: 8px;
}

.jklwf-factor i {
	font-style: normal;
	font-size: 11px;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: #5C6784;
}

.jklwf-factor b {
	font-size: 12px;
	line-height: 1.25;
	font-weight: 700;
	color: #161D2C;
	font-variant-numeric: tabular-nums;
}

/* Gust level: the one chip that changes colour (background only, so the
   type stays identical to the other five). */

.jklwf-factor--stable {
	background: #EEF8F1;
	border-color: #CFE8D9;
}

.jklwf-factor--gusty {
	background: #FFF7E6;
	border-color: #F0DCB4;
}

.jklwf-factor--strong {
	background: #FDECE8;
	border-color: #F3C7BD;
}

@container (max-width: 319px) {
	.jklwf-factors {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* A narrower slot scales the whole chart down with it: give the
	   high/low times more room and drop the hour ruler that would crowd
	   them. */
	.jklwf-tide-eval {
		font-size: 11px;
	}

	.jklwf-tide-peak {
		font-size: 10.7px;
	}

	.jklwf-tide-hour {
		display: none;
	}
}

.jklwf-select {
	margin-top: auto;
	width: 100%;
	background: var(--teal);
	color: #fff;
	border: 0;
	border-radius: 9px;
	padding: 9px 12px;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}

.jklwf-select:hover {
	background: #097A94;
}

.jklwf-slot-note {
	margin-top: auto;
	font-size: 11px;
	color: #97A0B8;
}

/* Selected slot preview ------------------------------------------ */

.jklwf-picked {
	margin-top: 16px;
	border: 1px dashed var(--teal);
	background: rgba(11, 139, 170, 0.06);
	border-radius: 14px;
	padding: 13px 16px;
}

.jklwf-picked[hidden] {
	display: none;
}

.jklwf-picked-label {
	display: block;
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--teal);
}

.jklwf-picked-text {
	display: block;
	font-size: 15px;
	margin: 3px 0 3px;
	color: var(--ink);
}

.jklwf-picked-note {
	display: block;
	font-size: 11.5px;
	color: var(--muted);
}

.jklwf-picked-clear {
	margin-top: 7px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--teal);
	font-size: 11.5px;
	text-decoration: underline;
	cursor: pointer;
}

/* Explanation ---------------------------------------------------- */

.jklwf-how {
	margin-top: 18px;
	font-size: 12px;
	color: var(--muted);
}

.jklwf-how summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--ink);
	font-size: 12.5px;
}

.jklwf-how p {
	margin: 8px 0 0;
	max-width: 760px;
}

.jklwf-error {
	padding: 16px;
	background: #FDF5F3;
	border: 1px solid #EBCFC6;
	border-radius: 12px;
	color: #8C3B2A;
	font-size: 13px;
}

/* Responsive ----------------------------------------------------- */

@media (max-width: 1080px) {
	.jklwf-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.jklwf-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.jklwf-slots {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.jklwf-header {
		margin-bottom: 8px;
	}
	.jklwf-title {
		font-size: 21px;
	}
	.jklwf-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	.jklwf-day {
		padding: 10px 10px 19px;
		border-radius: 14px;
	}
	.jklwf-num {
		font-size: 21px;
	}
	.jklwf-wx-tag {
		font-size: 8px;
		letter-spacing: 0.05em;
	}
	.jklwf-score-kicker {
		font-size: 7px;
		letter-spacing: 0.03em;
		word-spacing: 0.3em;
	}
	.jklwf-detail {
		padding: 12px;
	}
	.jklwf-legend {
		font-size: 10.5px;
	}
}

/* Anyone who asked for less motion gets the still version. */
@media (prefers-reduced-motion: reduce) {
	.jklwf-rays,
	.jklwf-halo,
	.jklwf-drift-a,
	.jklwf-drift-b,
	.jklwf-drop,
	.jklwf-flake,
	.jklwf-bolt,
	.jklwf-flow,
	.jklwf-needle,
	.jklwf-needle-head,
	.jklwf-bg-glow,
	.jklwf-bg-clouds,
	.jklwf-bg-rain,
	.jklwf-rain-set,
	.jklwf-bg-snow,
	.jklwf-bg-flash {
		animation: none !important;
	}
	.jklwf-day,
	.jklwf-day::after {
		transition: none !important;
	}
}

/* Theme / Elementor button styles try to paint our cards: take them back. */
.jklwf button.jklwf-day {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: #2F7FC4 !important;
	color: #fff !important;
	border: 1px solid rgba(16, 30, 52, 0.14) !important;
	border-radius: 16px !important;
	box-shadow: 0 2px 6px rgba(20, 38, 68, 0.14) !important;
	padding: 12px 12px 20px !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	min-height: 0 !important;
	height: auto !important;
	width: 100% !important;
	text-align: left !important;
	overflow: hidden !important;
}

.jklwf button.jklwf-day:hover {
	background: #2F7FC4 !important;
	color: #fff !important;
	border-color: rgba(11, 139, 170, 0.75) !important;
	box-shadow: 0 12px 24px rgba(20, 38, 68, 0.22) !important;
}

.jklwf button.jklwf-day.is-active {
	border-color: #0B8BAA !important;
	box-shadow: 0 0 0 3px rgba(11, 139, 170, 0.22), 0 10px 22px rgba(20, 38, 68, 0.2) !important;
}

.jklwf button.jklwf-day .jklwf-stars .jklwf-star {
	color: rgba(255, 255, 255, 0.3) !important;
}

.jklwf button.jklwf-day .jklwf-stars .jklwf-star.is-on {
	color: #FFD27A !important;
}

.jklwf button.jklwf-select {
	background: #0B8BAA !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 9px !important;
	padding: 9px 12px !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	width: 100% !important;
	min-height: 0 !important;
	line-height: 1.3 !important;
}

.jklwf button.jklwf-select:hover {
	background: #097A94 !important;
	color: #fff !important;
}

.jklwf button.jklwf-picked-clear {
	background: none !important;
	color: #0B8BAA !important;
	border: 0 !important;
	padding: 0 !important;
	margin-top: 7px !important;
	font-size: 11.5px !important;
	font-weight: 400 !important;
	text-transform: none !important;
	line-height: 1.4 !important;
	min-height: 0 !important;
}

.jklwf .jklwf-how summary {
	background: none;
	color: #1C244B;
	padding: 0;
}

@media (max-width: 560px) {
	.jklwf button.jklwf-day {
		padding: 10px 10px 19px !important;
		border-radius: 14px !important;
	}
}

/* Jeju diorama ----------------------------------------------------
   The small island model under the grid. The palm is a real rig: six
   trunk segments and nine fronds, each moved by calendar.js from the
   wind of the day you are looking at. */
.jklwf-diorama {
	position: relative;
	margin: 20px 0 6px;
	padding: 15px 18px 13px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: linear-gradient(180deg, #EDF8FC 0%, #F6FBFD 48%, #FDFEFF 100%);
	box-shadow: 0 1px 2px rgba(20, 38, 68, 0.04), 0 14px 34px rgba(20, 38, 68, 0.07);
	overflow: hidden;
}

.jklwf-dio-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px 18px;
	flex-wrap: wrap;
}

.jklwf-dio-kicker {
	display: block;
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--faint);
}

.jklwf-dio-when {
	display: block;
	margin-top: 1px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.005em;
	color: var(--ink);
}

.jklwf-dio-read {
	display: flex;
	align-items: baseline;
	gap: 9px;
	white-space: nowrap;
}

.jklwf-dio-kt {
	font-size: 27px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

.jklwf-dio-kt small {
	margin-left: 2px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--muted);
}

.jklwf-dio-dir {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	color: var(--teal-ink);
}

.jklwf-dio-arrow {
	display: inline-block;
	font-size: 12px;
	line-height: 1;
	transform: rotate(var(--a, 0deg));
	transition: transform 0.5s ease;
}

.jklwf-dio-tier {
	display: inline-block;
	margin-top: 2px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--teal-ink);
}

.jklwf-dio-stage {
	margin: 4px -18px -13px;
}

.jklwf-dio {
	display: block;
	width: 100%;
	height: auto;
}

.jklwf-dio .jklwf-sky {
	fill: transparent;
}

.jklwf-dio-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin: 8px 0 0;
	font-size: 11.5px;
	line-height: 1.4;
	color: var(--muted);
}

.jklwf-dio-foot b {
	font-weight: 600;
	color: var(--ink);
}

.jklwf-island-shadow {
	fill: #1C6E86;
	opacity: 0.22;
}

.jklwf-plinth-shadow {
	fill: #8FB6C6;
	opacity: 0.22;
}

.jklwf-sea-side {
	fill: url(#jklwf-water-side);
}

.jklwf-sea-strata {
	fill: #E9D5A8;
	opacity: 0.55;
}

.jklwf-sea-rim {
	fill: none;
	stroke: #EAFBFF;
	stroke-width: 2.6;
	opacity: 0.55;
}

.jklwf-sea {
	fill: url(#jklwf-water);
}

.jklwf-sea-ring {
	fill: none;
	stroke: #EAFBFF;
	stroke-width: 3;
	opacity: 0.55;
}

.jklwf-shore-side {
	fill: #D9BF8C;
}

.jklwf-shore {
	fill: url(#jklwf-sand);
}

.jklwf-isle-side {
	fill: #4E8A5C;
}

.jklwf-isle {
	fill: url(#jklwf-grass);
}

.jklwf-oreum-body {
	fill: #7FBE86;
}

.jklwf-oreum.f2 .jklwf-oreum-body {
	fill: #8CC792;
}

.jklwf-oreum-shade {
	fill: #4F8A61;
	opacity: 0.35;
}

.jklwf-crater-in {
	fill: #3E6E4C;
	opacity: 0.55;
}

.jklwf-foam.f2 {
	opacity: 0.4;
	stroke-width: 1.6;
}

.jklwf-terrace {
	fill: none;
	stroke: #FFFFFF;
	stroke-width: 2;
	opacity: 0.32;
}

.jklwf-terrace.t2 {
	opacity: 0.2;
}

.jklwf-sea-ring.f2 {
	stroke-width: 2;
	opacity: 0.35;
}

.jklwf-forest {
	fill: #3F7C55;
	opacity: 0.16;
}

.jklwf-cone {
	fill: url(#jklwf-cone);
}

.jklwf-halla-shadow {
	fill: #3E7350;
	opacity: 0.3;
}

.jklwf-cone-shade {
	fill: #3F7A54;
	opacity: 0.42;
}

.jklwf-cone-ridge {
	fill: none;
	stroke: #EAF7EA;
	stroke-width: 2;
	opacity: 0.5;
}

.jklwf-crater {
	fill: #4B7F58;
	opacity: 0.55;
}

.jklwf-sand-strip {
	fill: #F8E7BE;
}

.jklwf-foam {
	fill: none;
	stroke: #FFFFFF;
	stroke-width: 2.4;
	opacity: 0.7;
	stroke-linecap: round;
}

.jklwf-rock {
	fill: #9AA9A4;
}

.jklwf-rock.f2 {
	fill: #7E8F8C;
}

.jklwf-wave {
	fill: none;
	stroke: #FFFFFF;
	stroke-width: 2;
	stroke-linecap: round;
	opacity: 0.6;
}

.jklwf-wave.f2,
.jklwf-wave.f4 {
	opacity: 0.35;
}

.jklwf-arc {
	fill: none;
	stroke: #FFFFFF;
	stroke-width: 2;
	stroke-linecap: round;
	opacity: 0.5;
}

.jklwf-cloud {
	animation: jklwf-cloud 34s ease-in-out infinite alternate;
}

.jklwf-cloud.f2 {
	animation-duration: 46s;
	animation-delay: -12s;
}

.jklwf-diorama.is-flipped .jklwf-cloud {
	animation-direction: alternate-reverse;
}

@keyframes jklwf-cloud {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(16px);
	}
}

.jklwf-streak {
	fill: none;
	stroke: #B5DCEA;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-dasharray: 54 240;
	opacity: var(--o, 0.5);
	animation: jklwf-streak var(--dur, 5.6s) linear infinite;
	animation-delay: calc(var(--d, 0s) * -1);
}

.jklwf-diorama.is-flipped .jklwf-cloud {
	animation: jklwf-cloud 34s ease-in-out infinite alternate;
}

.jklwf-cloud.f2 {
	animation-duration: 46s;
	animation-delay: -12s;
}

.jklwf-diorama.is-flipped .jklwf-cloud {
	animation-direction: alternate-reverse;
}

@keyframes jklwf-cloud {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(16px);
	}
}

.jklwf-streak {
	animation-direction: reverse;
}

@keyframes jklwf-streak {
	from {
		stroke-dashoffset: 294;
	}
	to {
		stroke-dashoffset: -294;
	}
}

/* palm -------------------------------------------------------------- */
.jklwf-palm-shadow {
	fill: #6E8A62;
	opacity: 0.28;
}

.jklwf-trunk {
	fill: url(#jklwf-trunk);
}

.jklwf-trunk-hi {
	fill: none;
	stroke: #F3DEB6;
	stroke-width: 1.6;
	opacity: 0.55;
}

.jklwf-trunk-joint {
	fill: none;
	stroke: #8C6739;
	stroke-width: 1.6;
	opacity: 0.45;
}

.jklwf-coco {
	fill: #7A5A32;
}

.jklwf-leaflets {
	fill: none;
	stroke: url(#jklwf-leaf-a);
	stroke-width: 3.4;
	stroke-linecap: round;
}

.jklwf-frond--b .jklwf-leaflets {
	stroke: url(#jklwf-leaf-b);
}

.jklwf-frond--c .jklwf-leaflets {
	stroke: url(#jklwf-leaf-c);
}

.jklwf-spine {
	fill: none;
	stroke: #2F7247;
	stroke-width: 1.6;
	stroke-linecap: round;
	opacity: 0.55;
}

.jklwf-diorama.is-empty {
	opacity: 0.5;
}

@media (max-width: 860px) {
	.jklwf-diorama {
		padding: 13px 14px 11px;
		border-radius: 18px;
	}
	.jklwf-dio-stage {
		margin: 2px -14px -11px;
	}
	.jklwf-dio-kt {
		font-size: 23px;
	}
	.jklwf-dio-when {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jklwf-cloud {
	animation: jklwf-cloud 34s ease-in-out infinite alternate;
}

.jklwf-cloud.f2 {
	animation-duration: 46s;
	animation-delay: -12s;
}

.jklwf-diorama.is-flipped .jklwf-cloud {
	animation-direction: alternate-reverse;
}

@keyframes jklwf-cloud {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(16px);
	}
}

.jklwf-streak {
		animation: none !important;
	}
}


/* JKL-WX-LABEL 1.4.8 */
.jklwf .jklwf-slot .jklwf-slot-cond { white-space: nowrap; }
.jklwf .jklwf-slot .jklwf-slot-wx { position: relative; }
.jklwf .jklwf-slot .jklwf-slot-rain { position: absolute; left: 33px; top: 26px; transform: none; }
@container (max-width: 300px) {
.jklwf .jklwf-slot .jklwf-slot-wx, .jklwf .jklwf-slot .jklwf-slot-rain { position: static; }
}

/* JKL-DATE-GAP 2026-11-28: the weekday and the month on the day card.
   The month is placed by wx-motion 1.0.26 with a fixed pixel offset tuned
   on the 24px number. Below 560px the number is 21px, which lifts "NOV"
   about 3px and puts it on top of "TODAY"; the same offset leaves the two
   lines touching on the wide cards as well. Keep the designer's left axis
   and 119% size, and take the month's offset from the number's own size so
   the two lines keep a 5px gap at every width. If the number's font-size
   changes, change the two values below with it. */
.jklwf-day .jklwf-date {
	--jklwf-num-size: 24px;
}

@media (max-width: 560px) {
	.jklwf-day .jklwf-date {
		--jklwf-num-size: 21px;
	}
}

.jklwf-day .jklwf-date .jklwf-mon {
	transform: translate(37.5px, calc(10.1px - var(--jklwf-num-size))) scale(1.19);
}
