:root {
	--sk-accent: #c8102e; /* Liverpool red */
	--sk-accent-2: #00a398; /* Mersey teal */
	--sk-soft: #faf6f2;
	--sk-line: #e6ddd4;
	--sk-star: #f5a623;
}

.sk-btn {
	display: inline-block;
	padding: .55em 1.1em;
	border: 0;
	border-radius: 6px;
	background: var(--sk-accent);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.3;
}
.sk-btn-alt { background: var(--sk-accent-2); }
.sk-btn-big { font-size: 1.1em; padding: .8em 1.6em; }
.sk-btn:disabled { opacity: .6; cursor: wait; }

.sk-box, .sk-support, .sk-credit-box, .sk-rating, .sk-credit {
	background: var(--sk-soft);
	border: 1px solid var(--sk-line);
	border-radius: 10px;
	padding: 1em 1.25em;
	margin: 1.25em 0;
}
.sk-support { border-left: 5px solid var(--sk-accent-2); }
.sk-credit-box { border-left: 5px solid var(--sk-accent); font-size: 1.05em; }
.sk-label { text-transform: uppercase; font-size: .75em; letter-spacing: .08em; color: #777; display: block; }
.sk-adapted, .sk-muted { color: #777; font-size: .9em; margin: .4em 0 0; }

.sk-meta { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5em 1.5em; align-items: center; }
.sk-meta li { margin: 0; }
.sk-ingredients { list-style: none; padding-left: 0; }
.sk-ingredients li { padding: .3em 0; border-bottom: 1px dashed var(--sk-line); }
.sk-ingredients input:checked + * , .sk-ingredients label:has(input:checked) { text-decoration: line-through; color: #999; }
.sk-steps li { margin-bottom: .7em; line-height: 1.55; }

/* Stars: --sk-r is 0-5 */
.sk-stars {
	--pct: calc(var(--sk-r, 0) / 5 * 100%);
	display: inline-block;
	font-size: 1.1em;
	line-height: 1;
	letter-spacing: 2px;
	background: linear-gradient(90deg, var(--sk-star) var(--pct), #ccc var(--pct));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.sk-stars::before { content: '★★★★★'; }

.sk-rate-buttons button {
	font-size: 2em;
	background: none;
	border: 0;
	padding: 0 .05em;
	color: #ccc;
	cursor: pointer;
	line-height: 1;
}
.sk-rate-buttons button.on { color: var(--sk-star); }
.sk-rate-buttons:hover button { color: var(--sk-star); }
.sk-rate-buttons button:hover ~ button { color: #ccc; }

/* Form */
.sk-form label { display: block; margin: .8em 0; font-weight: 600; }
.sk-form label small { font-weight: 400; color: #777; }
.sk-form input[type=text], .sk-form input[type=url], .sk-form textarea, .sk-form select {
	display: block; width: 100%; margin-top: .3em; padding: .55em; border: 1px solid #ccc; border-radius: 6px; font: inherit; font-weight: 400; box-sizing: border-box;
}
.sk-form .sk-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0 1em; }
.sk-form fieldset { border: 1px solid var(--sk-line); border-radius: 10px; padding: 1em 1.25em; margin: 0 0 1.25em; }
.sk-form legend { font-weight: 700; padding: 0 .4em; }
.sk-form .sk-check { font-weight: 400; }
.sk-filled { background: #f2fbf9; }
.sk-missing { border-color: var(--sk-accent) !important; box-shadow: 0 0 0 2px rgba(200,16,46,.15); }
#sk-status { margin-left: .75em; }

.sk-notice { padding: .8em 1em; border-radius: 8px; margin: 1em 0; }
.sk-ok { background: #e7f7ee; border: 1px solid #9fd8b6; }
.sk-err { background: #fdecee; border: 1px solid #f3a9b3; }

/* Leaderboard + directory */
.sk-table { width: 100%; border-collapse: collapse; margin: .5em 0 2em; }
.sk-table th, .sk-table td { padding: .55em .6em; border-bottom: 1px solid var(--sk-line); text-align: left; }
.sk-table thead th { background: var(--sk-soft); }
.sk-table td:has(.sk-stars) { white-space: nowrap; }
.sk-table tbody tr:nth-child(-n+3) td:first-child { font-weight: 700; color: var(--sk-accent); }
.sk-directory { list-style: none; padding: 0; columns: 2 260px; }
.sk-directory li { break-inside: avoid; padding: .45em 0; border-bottom: 1px dashed var(--sk-line); }
.sk-dir-name { font-weight: 600; }
.sk-dir-meta { color: #777; font-size: .9em; }
.sk-dir-site { font-size: .85em; margin-left: .3em; }

@media print {
	.sk-rating, .sk-support, .sk-print, header, footer, nav, aside, .comments-area { display: none !important; }
	.sk-ingredients input { display: none; }
}

.sk-source-types { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: .4em 0 .6em; }
.sk-form .sk-radio { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 500; cursor: pointer; }
.sk-form .sk-radio input { width: 18px; height: 18px; margin: 0; }
.sk-form [hidden] { display: none !important; }

body .sk-form fieldset.sk-cats { border: 0; padding: 0; margin: 1em 0; background: none; box-shadow: none; }
.sk-form .sk-cats legend { font-weight: 600; padding: 0; margin-bottom: .5em; }
.sk-form .sk-cats legend small { font-weight: 400; color: #777; }
.sk-form .sk-cat { display: inline-flex; margin: 0 6px 8px 0; cursor: pointer; }
.sk-form .sk-cat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sk-form .sk-cat span { padding: .45em 1em; border: 1px solid #ccc; border-radius: 999px; font-weight: 500; background: #fff; transition: all .15s; }
.sk-form .sk-cat input:checked + span { background: var(--sk-accent-2); border-color: var(--sk-accent-2); color: #fff; }
.sk-form .sk-cat input:focus-visible + span { outline: 3px solid var(--sk-star); outline-offset: 2px; }
body .sk-form fieldset.sk-cats.sk-missing legend { color: var(--sk-accent); }
body .sk-form fieldset.sk-cats.sk-missing { box-shadow: none !important; }

/* ---------- Planner ---------- */
.sk-addweek { background: var(--sk-soft); border: 1px solid var(--sk-line); border-radius: 10px; padding: 1em 1.25em; margin: 1.25em 0; }
.sk-addweek h3 { margin-top: 0 !important; }
.sk-addweek-row { display: flex; gap: 10px; flex-wrap: wrap; }
.sk-addweek select { flex: 1 1 220px; padding: .55em; border: 1px solid #ccc; border-radius: 8px; font: inherit; }
.sk-pl.is-busy { opacity: .7; pointer-events: none; }
.sk-pl-members { color: #777; margin: 0 0 .8em; font-size: .95em; }
.sk-pl-tabs { display: inline-flex; background: #fff; border: 1px solid var(--sk-line); border-radius: 999px; padding: 4px; margin-bottom: 1em; }
.sk-pl-tabs button { border: 0; background: none; padding: .55em 1.2em; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; color: inherit; }
.sk-pl-tabs button[aria-selected="true"] { background: var(--sk-accent); color: #fff; }
.sk-pl-count { display: inline-block; min-width: 1.5em; padding: 0 .4em; border-radius: 999px; background: var(--sk-star); color: #2b2420; font-size: .8em; text-align: center; margin-left: 4px; }
.sk-pl-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 1.2em; flex-wrap: wrap; }
.sk-pl-nav button { border: 1px solid var(--sk-line); background: #fff; border-radius: 999px; width: 2.2em; height: 2.2em; font-size: 1.1em; cursor: pointer; line-height: 1; }
.sk-pl-nav .sk-pl-today { width: auto; padding: 0 1em; font-size: .9em; font-weight: 600; }
.sk-pl-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.sk-pl-day { background: #fff; border: 1px solid var(--sk-line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; }
.sk-pl-day.is-today { border: 2px solid var(--sk-accent-2); }
.sk-pl-day header { margin-bottom: 8px; }
.sk-pl-day header span { color: #777; }
.sk-pl-day header em { font-style: normal; font-size: .75em; font-weight: 700; background: var(--sk-accent-2); color: #fff; padding: .15em .6em; border-radius: 999px; margin-left: 4px; }
.sk-pl-day ul { list-style: none; margin: 0 0 10px; padding: 0; }
.sk-pl-day li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--sk-line); }
.sk-pl-day li a { font-weight: 600; }
.sk-pl-note { font-style: italic; }
.sk-pl-empty { color: #aaa; margin: 0 0 10px; font-size: .92em; }
.sk-pl-x { border: 0; background: none; color: #aaa; font-size: 1.3em; cursor: pointer; line-height: 1; padding: 0 4px; }
.sk-pl-x:hover { color: var(--sk-accent); }
.sk-pl-add { margin-top: auto; display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.sk-pl-add select, .sk-pl-add input { min-width: 0; padding: .45em; border: 1px solid #ddd; border-radius: 8px; font: inherit; font-size: .9em; background: #fff; }
.sk-pl-add input { grid-column: 1 / 2; }
.sk-pl-add input[hidden] { display: none; }
.sk-pl-plus { grid-row: 1; grid-column: 2; border: 0; border-radius: 8px; background: var(--sk-accent-2); color: #fff; font-size: 1.2em; width: 2.2em; cursor: pointer; }
.sk-pl-shop { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; align-items: start; }
.sk-pl-card { background: #fff; border: 1px solid var(--sk-line); border-radius: 14px; padding: 18px 20px; }
.sk-pl-card h3 { margin-top: 0 !important; }
.sk-pl-recipe h4 { margin: 1em 0 .3em; font-size: 1.05em; }
.sk-pl-times { color: #777; font-weight: 400; }
.sk-pl-list { list-style: none; margin: 0 0 10px; padding: 0; }
.sk-pl-list li { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--sk-line); }
.sk-pl-list label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.sk-pl-list input { width: 18px; height: 18px; accent-color: var(--sk-accent-2); }
.sk-pl-list label.is-done { color: #999; text-decoration: line-through; }
.sk-pl-extra { display: flex; gap: 8px; margin: 10px 0 12px; }
.sk-pl-extra input { flex: 1; min-width: 0; padding: .55em; border: 1px solid #ccc; border-radius: 8px; font: inherit; }
.sk-pl-quick-label { font-weight: 600; margin: 14px 0 6px; font-size: .9em; }
.sk-pl-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.sk-pl-quick button { border: 1px dashed #ccc; background: none; border-radius: 999px; padding: .3em .8em; font: inherit; font-size: .85em; cursor: pointer; }
.sk-pl-quick button:hover { border-color: var(--sk-accent-2); color: var(--sk-accent-2); }
.sk-pl-clear { margin-top: 6px; }
@media print { .sk-pl-tabs, .sk-pl-nav, .sk-pl-add, .sk-pl-extra, .sk-pl-quick, .sk-pl-quick-label, .sk-pl-x, .sk-pl-clear { display: none !important; } }

.sk-nocommission { font-size: .82em; color: #777; margin: .3em 0 0; }

.sk-join { max-width: 560px; }
.sk-join-hello { font-size: 1.15em; }
