/*
Theme Name: Wedoo Washline
Author: Wedoo
Description: Wedoo's own theme: clothes questions hung out on a washing line, on a bright morning sky.
Version: 1.0.0
Requires PHP: 8.2
License: GNU General Public License v2 or later
Text Domain: wedoo-washline
*/

/* ---------- Type, shipped with the theme (SIL Open Font License) ---------- */

@font-face {
	font-family: "Baloo 2";
	src: url("assets/fonts/baloo2-latin-var.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Nunito Sans";
	src: url("assets/fonts/nunitosans-latin-var.woff2") format("woff2");
	font-weight: 200 1000;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Nunito Sans";
	src: url("assets/fonts/nunitosans-latin-var-italic.woff2") format("woff2");
	font-weight: 200 1000;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Washday tokens ---------- */

:root {
	--sky: #e3f2f8;
	--cloth: #ffffff;
	--line: #3d4650;
	--ink: #18242c;
	--muted: #4b5a64;
	--link: #006c84;
	--peg: #00b4d8;
	--peg-shade: #007f99;
	--seam: #c4d6de;
	--head: "Baloo 2", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
	--body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--gutter: clamp(14px, 4vw, 48px);
	--wide: 1180px;
	--hem: 4px 4px 14px 14px;
	--hang-shadow: 5px 7px 0 rgba(61, 70, 80, 0.1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	overflow-x: clip;
	background: var(--sky);
	color: var(--ink);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	font: 400 18px/1.6 var(--body);
	overflow-x: clip;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--link);
	text-decoration-line: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--peg);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--ink);
	text-decoration-color: var(--line);
}

:focus-visible {
	outline: 3px solid var(--line);
	outline-offset: 3px;
	border-radius: 4px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--head);
	font-weight: 800;
	line-height: 1.1;
	color: var(--ink);
	margin: 0 0 0.4em;
}

.skip,
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip:focus {
	position: fixed;
	z-index: 100;
	top: 10px;
	left: 10px;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	padding: 10px 16px;
	background: var(--cloth);
	color: var(--ink);
	border: 2px solid var(--line);
	border-radius: 8px;
}

/* ---------- The line, and what hangs on it ---------- */

.washline {
	display: block;
	width: 100%;
	overflow: visible;
	pointer-events: none;
}

.washline path {
	fill: none;
	stroke: var(--line);
	stroke-width: 3;
	stroke-linecap: round;
}

.garment {
	position: absolute;
	z-index: 1;
	top: calc(12px + var(--sag) * 4 * var(--t) * (1 - var(--t)) - 10px);
	left: calc(var(--t) * 100%);
	width: 124px;
	height: auto;
	transform: translateX(-50%);
	transform-origin: 50% 10px;
	pointer-events: none;
}

.cloth {
	position: relative;
	display: block;
	background: var(--cloth);
	color: var(--ink);
	border: 2px solid var(--line);
	border-radius: var(--hem);
	box-shadow: var(--hang-shadow);
}

a.cloth {
	text-decoration: none;
}

.cloth::before,
.cloth::after {
	content: "";
	position: absolute;
	z-index: 2;
	top: -22px;
	width: 14px;
	height: 40px;
	background: url("assets/art/peg.svg") center / contain no-repeat;
}

.cloth::before {
	left: 16%;
}

.cloth::after {
	right: 16%;
}

.cloth__title {
	display: block;
	font: 800 clamp(1.6rem, 1.15rem + 1.9vw, 2.55rem) / 1.08 var(--head);
}

.cloth__note {
	display: block;
	margin-top: 12px;
	color: var(--muted);
	font-size: 1.0625rem;
	line-height: 1.5;
}

.cloth__go {
	display: inline-block;
	margin-top: 22px;
	padding: 12px 20px 9px;
	font: 700 1.0625rem/1 var(--head);
	color: var(--ink);
	background: var(--sky);
	border: 2px solid var(--line);
	border-radius: 999px;
	text-decoration: none;
}

a.cloth:hover .cloth__go,
.cloth__go--link:hover {
	background: var(--peg);
	color: var(--ink);
}

/* ---------- Header: the line across the top ---------- */

.mast {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	min-height: 108px;
	padding: 0 max(var(--gutter), calc((100% - var(--wide)) / 2 + var(--gutter)));
}

.washline--mast {
	position: absolute;
	top: 18px;
	left: 0;
	right: 0;
}

.mast__logo {
	position: relative;
	z-index: 2;
	display: block;
	flex: none;
	width: 172px;
	margin-top: 12px;
	border-radius: 6px;
}

.mast__logo img {
	display: block;
	width: 100%;
}

.mast__nav {
	position: relative;
	z-index: 2;
	margin-top: 40px;
}

.tags {
	display: flex;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tags li {
	position: relative;
}

.tags li::before {
	content: "";
	position: absolute;
	z-index: 3;
	top: -20px;
	left: 50%;
	width: 12px;
	height: 34px;
	margin-left: -6px;
	background: url("assets/art/peg-white.svg") center / contain no-repeat;
	pointer-events: none;
}

.tags .current-menu-item::before,
.tags .current-menu-ancestor::before,
.tags .current-menu-parent::before,
.tags .current-post-ancestor::before,
.tags .current-category-ancestor::before {
	background-image: url("assets/art/peg.svg");
}

.tags a {
	display: block;
	padding: 13px 16px 9px;
	font: 700 1.0625rem/1 var(--head);
	color: var(--ink);
	text-decoration: none;
	background: var(--cloth);
	border: 2px solid var(--line);
	border-radius: var(--hem);
}

.tags a:hover {
	background: #f3fafd;
}

.tags a[aria-current],
.tags .current-menu-item > a,
.tags .current-menu-parent > a,
.tags .current-post-ancestor > a,
.tags .current-category-ancestor > a {
	box-shadow: inset 0 -5px 0 var(--peg);
}

/* ---------- Home ---------- */

.hero {
	max-width: var(--wide);
	margin: 0 auto;
	padding: clamp(26px, 5vw, 64px) var(--gutter) 0;
}

.hero__tagline {
	max-width: 19ch;
	margin: 0;
	font-size: clamp(2.5rem, 1.3rem + 5.4vw, 5.4rem);
	text-wrap: balance;
	line-height: 1.02;
	letter-spacing: -0.01em;
}

.hero__lede {
	max-width: 38ch;
	margin: 18px 0 0;
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
	color: var(--muted);
}

.hangrow {
	--sag: 40px;
	position: relative;
	margin-top: clamp(20px, 4vw, 44px);
	padding: calc(12px + var(--sag) + 8px) var(--gutter) 30px;
}

.washline--hangrow {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.garment--tshirt {
	width: 132px;
}

.garment--shirt {
	width: 120px;
}

.garment--socks {
	width: 104px;
}

.garment--cloth {
	width: 92px;
}

.cloth--quiz {
	max-width: 620px;
	margin: 0 auto;
	padding: 40px clamp(22px, 4vw, 44px) 32px;
	transform-origin: 50% -10px;
}

.panel,
.adpanel {
	max-width: var(--wide);
	margin: 34px auto 0;
	padding: 0 var(--gutter);
}

.panel__cloth {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
	padding: clamp(24px, 4vw, 48px);
	background: var(--cloth);
	border: 2px solid var(--line);
	border-radius: var(--hem);
}

.panel__text > :last-child {
	margin-bottom: 0;
}

.adpanel__plain {
	padding: 14px clamp(12px, 2vw, 20px) 16px;
	background: var(--cloth);
	border: 1px solid var(--seam);
	border-radius: 8px;
}

/* ---------- Ad slots: plain, labelled, apart from the cloths ---------- */

.corda {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

.corda iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 0;
}

.molinha {
	display: block;
	margin: 0 0 6px;
	font: 600 0.8125rem/1.3 var(--body);
	color: var(--muted);
}

.panel__slot .corda {
	padding: 10px;
	background: #f6fbfd;
	border: 1px solid var(--seam);
	border-radius: 8px;
}

/* ---------- Reading: pages and policies ---------- */

.prose {
	max-width: 64ch;
}

.prose p,
.prose ul,
.prose ol,
.prose dl,
.prose table,
.prose blockquote {
	margin: 0 0 1em;
}

.prose h2 {
	margin-top: 1.5em;
	font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.875rem);
	font-weight: 700;
}

.prose h3 {
	margin-top: 1.3em;
	font-size: 1.3125rem;
	font-weight: 700;
}

.prose > :first-child {
	margin-top: 0;
}

.prose ul {
	padding-left: 0;
	list-style: none;
}

.prose ul li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 0.4em;
}

.prose ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.62em;
	width: 11px;
	height: 11px;
	background: var(--peg);
	border: 2px solid var(--line);
	border-radius: 2px 2px 5px 5px;
}

.prose ol {
	padding-left: 1.4em;
}

.prose ol li::marker {
	font-family: var(--head);
	font-weight: 800;
	color: var(--peg-shade);
}

.prose strong {
	font-weight: 700;
}

.prose code {
	padding: 1px 7px;
	font: 700 0.95em/1 var(--head);
	background: var(--sky);
	border-radius: 6px;
}

.prose table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 1rem;
}

.prose th,
.prose td {
	padding: 8px 12px;
	text-align: left;
	vertical-align: top;
	border-bottom: 2px solid var(--seam);
}

.prose th {
	font-family: var(--head);
	border-bottom-color: var(--line);
}

.prose blockquote {
	padding: 6px 0 6px 18px;
	border-left: 4px solid var(--peg);
	font-style: italic;
}

.sheet,
.rack,
.empty-line {
	margin-top: 10px;
	padding-bottom: 8px;
}

.sheet__line {
	--sag: 22px;
	position: relative;
	padding: calc(12px + 10px) var(--gutter) 0 max(var(--gutter), calc((100% - 820px) / 2));
	min-height: 150px;
}

.washline--sheet {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.garment--small {
	width: 96px;
}

.garment--b {
	width: 86px;
}

.tag-title {
	position: relative;
	z-index: 2;
	display: inline-block;
	max-width: min(760px, 100%);
	padding: 30px clamp(20px, 3vw, 34px) 18px;
	background: var(--cloth);
	border: 2px solid var(--line);
	border-radius: var(--hem);
	box-shadow: var(--hang-shadow);
}

.tag-title::before,
.tag-title::after {
	content: "";
	position: absolute;
	top: -22px;
	width: 14px;
	height: 40px;
	background: url("assets/art/peg.svg") center / contain no-repeat;
}

.tag-title::before {
	left: 22px;
}

.tag-title::after {
	right: 22px;
}

.tag-title h1 {
	margin: 0;
	font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem);
	line-height: 1.05;
}

.tag-title__note {
	margin-top: 10px;
	color: var(--muted);
	max-width: 52ch;
}

.tag-title__note p {
	margin: 0;
}

.cloth--sheet {
	max-width: 820px;
	margin: 34px auto 0;
	padding: clamp(24px, 5vw, 56px);
	box-shadow: none;
}

.cloth--sheet::before,
.cloth--sheet::after {
	display: none;
}

.sheet .cloth--sheet {
	margin-left: max(var(--gutter), calc((100% - 820px) / 2));
	margin-right: max(var(--gutter), calc((100% - 820px) / 2));
}

.byline {
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 0 0 24px;
	font-size: 0.9375rem;
	color: var(--muted);
}

.lead-drawing {
	margin: 0 0 24px;
}

/* Cookies page: the accept and decline pegs */

.prose .pegador {
	margin: 1.4em 0;
	padding: 18px 20px;
	background: var(--sky);
	border: 2px solid var(--line);
	border-radius: var(--hem);
}

.prose .pegador button {
	min-height: 44px;
	min-width: 112px;
	margin: 6px 10px 6px 0;
	padding: 10px 20px 8px;
	font: 700 1rem/1 var(--head);
	color: var(--ink);
	background: var(--cloth);
	border: 2px solid var(--line);
	border-radius: 999px;
	cursor: pointer;
}

.prose .pegador button:hover {
	background: var(--peg);
}

.secagem {
	display: block;
	margin-top: 8px;
	font-weight: 700;
}

/* ---------- Lists of questions: one line per cloth ---------- */

.rack__line {
	min-height: 0;
	padding-bottom: 8px;
}

.tag-title--rack {
	max-width: min(720px, 100%);
}

.cloth-list {
	margin: 34px 0 0;
	padding: 0;
	list-style: none;
}

.cloth-list__row {
	--sag: 20px;
	position: relative;
	padding: calc(12px + var(--sag) + 8px) var(--gutter) 20px;
}

.washline--row {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.cloth--hung {
	max-width: 620px;
	margin: 0 auto;
	padding: 34px clamp(20px, 4vw, 40px) 26px;
}

.cloth--hung .cloth__title {
	font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem);
}

.cloth-list__empty,
.rack__empty {
	max-width: 620px;
	margin: 34px auto 0;
	padding: 0 var(--gutter);
}

.lookup {
	margin-top: 16px;
}

.lookup__label {
	display: block;
	margin-bottom: 6px;
	font: 700 1rem/1.2 var(--head);
}

.lookup__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lookup__field {
	flex: 1 1 200px;
	min-height: 46px;
	padding: 8px 14px;
	font: 400 1rem/1.4 var(--body);
	color: var(--ink);
	background: var(--cloth);
	border: 2px solid var(--line);
	border-radius: 10px;
}

.lookup__button {
	min-height: 46px;
	padding: 10px 20px 8px;
	font: 700 1rem/1 var(--head);
	color: var(--ink);
	background: var(--peg);
	border: 2px solid var(--line);
	border-radius: 999px;
	cursor: pointer;
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin: 26px auto 0;
	font: 700 1rem/1 var(--head);
}

/* ---------- The missing page: an empty line ---------- */

.empty-line__line {
	--sag: 34px;
	position: relative;
	height: 120px;
}

.empty-line__line .washline {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.empty-line__peg {
	position: absolute;
	top: calc(12px + var(--sag) * 4 * var(--t) * (1 - var(--t)) - 13px);
	left: calc(var(--t) * 100%);
	width: 16px;
	height: 46px;
	background: url("assets/art/peg.svg") center / contain no-repeat;
}

.empty-line__peg--a {
	--t: 0.42;
}

.empty-line__peg--b {
	--t: 0.58;
}

.empty-line__words {
	max-width: 640px;
	margin: 0 auto;
	padding: 0 var(--gutter);
	text-align: center;
}

.empty-line__words h1 {
	font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem);
}

.empty-line__words .lookup {
	text-align: left;
}

/* ---------- Footer: one last line, one short cloth ---------- */

.foot {
	position: relative;
	margin-top: 64px;
	padding: 0 var(--gutter) 28px;
}

.washline--foot {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.foot__cloth {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 10px 18px;
	align-items: start;
	max-width: calc(var(--wide) - 2 * var(--gutter));
	margin: 34px auto 0;
	padding: 28px clamp(18px, 4vw, 40px) 22px;
	background: var(--cloth);
	border: 2px solid var(--line);
	border-radius: var(--hem);
}

.foot__cloth::before,
.foot__cloth::after {
	content: "";
	position: absolute;
	top: -22px;
	width: 14px;
	height: 40px;
	background: url("assets/art/peg.svg") center / contain no-repeat;
}

.foot__cloth {
	position: relative;
}

.foot__cloth::before {
	left: 8%;
}

.foot__cloth::after {
	right: 8%;
}

.foot__mark {
	width: 56px;
	height: 56px;
}

.foot__words p {
	margin: 0;
}

.foot__name {
	font: 800 1.5rem/1.1 var(--head);
}

.foot__tagline {
	color: var(--muted);
}

.foot__publisher {
	margin-top: 8px !important;
	font-size: 0.9375rem;
}

.foot__nav {
	grid-column: 1 / -1;
	margin-top: 8px;
	padding-top: 14px;
	border-top: 2px dashed var(--seam);
}

.hems {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9375rem;
}

/* ---------- The measurement notice: a quiet strip ---------- */

.toalha {
	position: fixed;
	z-index: 60;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	padding: 10px var(--gutter) 12px;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--ink);
	background: var(--cloth);
	border-top: 3px solid var(--line);
}

.toalha p {
	flex: 1 1 420px;
	margin: 0;
}

.toalha button {
	min-width: 110px;
	min-height: 44px;
	padding: 10px 18px 8px;
	font: 700 1rem/1 var(--head);
	color: var(--ink);
	background: var(--sky);
	border: 2px solid var(--line);
	border-radius: 999px;
	cursor: pointer;
}

.toalha button:hover {
	background: var(--peg);
}

body:has(.toalha:not([hidden])) .foot {
	padding-bottom: 150px;
}

/* ---------- The question page: answers hung out to choose ---------- */

.sky--quiz {
	min-height: 100vh;
}

.qz {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	max-width: var(--wide);
	margin: 0 auto;
	padding: 14px var(--gutter) 16px;
}

.qz__top {
	flex: none;
}

.qz__logo {
	display: inline-block;
	border-radius: 6px;
}

.qz__logo img {
	display: block;
	width: 118px;
}

.qz__stage {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(18px, 4vh, 48px) 0 clamp(18px, 4vh, 40px);
}

.qz__foot {
	flex: none;
	padding-top: 12px;
	border-top: 2px dashed var(--seam);
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--muted);
}

.qz__foot p {
	margin: 0 0 4px;
}

.hems--quiz {
	gap: 2px 16px;
	font-size: 0.875rem;
}

/* The question and its answers (markup from the runtime: fieldset, legend, description, one button per answer, status) */

.qz .pegador {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0 24px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.qz .pegador legend {
	max-width: 17ch;
	margin: 0 0 14px;
	padding: 0;
	font: 800 clamp(2.1rem, 1.2rem + 3.8vw, 4.3rem) / 1.03 var(--head);
	letter-spacing: -0.01em;
	color: var(--ink);
}

.qz .pegador > p {
	margin: 0;
}

.qz #pegador-description {
	flex: 0 0 100%;
	padding-right: max(0px, calc(100% - 46ch));
	margin: 0 0 10px;
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
	line-height: 1.5;
	color: var(--muted);
}

.qz .pegador > p:has(> button) {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	padding-top: 34px;
}

/* Each answer's stretch of line: side by side they join into one long line; stacked, each cloth has its own */
.qz .pegador > p:has(> button)::before {
	content: "";
	position: absolute;
	top: 14px;
	left: -100vw;
	right: -100vw;
	height: 3px;
	border-radius: 2px;
	background: var(--line);
}

.qz .pegador button {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 72px;
	padding: 16px 20px 13px;
	font: 800 clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem) / 1.12 var(--head);
	color: var(--ink);
	text-align: center;
	background: var(--cloth);
	border: 2px solid var(--line);
	border-radius: var(--hem);
	box-shadow: var(--hang-shadow);
	cursor: pointer;
	transform-origin: 50% -16px;
	-webkit-tap-highlight-color: transparent;
}

.qz .pegador button::before,
.qz .pegador button::after {
	content: "";
	position: absolute;
	top: -22px;
	width: 14px;
	height: 40px;
	background: url("assets/art/peg.svg") center / contain no-repeat;
	transform-origin: 50% 30%;
}

.qz .pegador button::before {
	left: 14%;
}

.qz .pegador button::after {
	right: 14%;
}

.qz .pegador button:hover {
	background: #f3fafd;
	box-shadow: var(--hang-shadow), inset 0 -6px 0 var(--peg);
}

.qz .pegador button:focus-visible {
	outline: 4px solid var(--line);
	outline-offset: 4px;
	border-radius: var(--hem);
}

.qz .pegador button[aria-busy="true"] {
	box-shadow: var(--hang-shadow), inset 0 -6px 0 var(--peg);
	cursor: progress;
}

.qz .pegador button:disabled:not([aria-busy="true"]) {
	cursor: progress;
	color: var(--muted);
}

.qz .pegador > p[role="status"] {
	flex: 1 1 100%;
	min-height: 1.7em;
	margin-top: 16px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--ink);
}

@media (max-width: 760px) {
	.qz .pegador > p:has(> button) {
		flex-basis: 100%;
		padding-top: 30px;
	}

	.qz .pegador > p:has(> button) + p:has(> button) {
		margin-top: 6px;
	}

	.qz .pegador button {
		min-height: 64px;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.qz .pegador > p:has(> button) > button {
		animation: washline-sway 8s ease-in-out 1.2s 3;
	}

	.qz .pegador > p:has(> button) + p:has(> button) > button {
		animation-delay: 1.8s;
	}

	.qz .pegador > p:has(> button) + p:has(> button) + p:has(> button) > button {
		animation-delay: 2.4s;
	}

	.qz .pegador > p:has(> button) + p:has(> button) + p:has(> button) + p:has(> button) > button {
		animation-delay: 3s;
	}

	.qz .pegador[aria-busy="true"] button {
		animation: none;
	}

	.qz .pegador button[aria-busy="true"]::before,
	.qz .pegador button[aria-busy="true"]::after {
		animation: washline-peg-wobble 0.5s ease-in-out infinite alternate;
	}

	.qz .pegador button[aria-busy="true"]::after {
		animation-delay: 0.25s;
	}

	@keyframes washline-peg-wobble {
		from {
			transform: rotate(-9deg) translateY(0);
		}

		to {
			transform: rotate(9deg) translateY(-2px);
		}
	}
}

@media (max-width: 1100px) {
	.garment--shirt,
	.garment--socks {
		display: none;
	}
}

@media (max-width: 900px) {
	.hangrow .garment {
		display: none;
	}

	.panel__cloth {
		grid-template-columns: minmax(0, 1fr);
	}

	.garment--a {
		display: none;
	}
}

@media (max-width: 640px) {
	.mast {
		min-height: 92px;
	}

	.mast__logo {
		width: 128px;
		margin-top: 20px;
	}

	.mast__nav {
		margin-top: 46px;
	}

	.tags {
		gap: 8px;
	}

	.tags a {
		padding: 11px 11px 7px;
		font-size: 0.9375rem;
	}

	.hangrow {
		--sag: 26px;
	}

	.sheet__line {
		min-height: 0;
	}

	.sheet,
	.rack,
	.empty-line {
		margin-top: 16px;
	}

	.garment--b {
		display: none;
	}

	.foot__cloth {
		grid-template-columns: minmax(0, 1fr);
	}

	.toalha {
		font-size: 0.875rem;
		padding-top: 8px;
		padding-bottom: 10px;
	}

	.toalha p {
		flex-basis: 100%;
	}

	.toalha button {
		flex: 1 1 0;
	}
}

@media (max-width: 360px) {
	.mast__logo {
		width: 112px;
	}

	.tags a {
		padding: 10px 8px 7px;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.cloth--quiz {
		animation: washline-sway 9s ease-in-out 1.5s 3;
	}

	@keyframes washline-sway {
		0%,
		72%,
		100% {
			transform: skewX(0);
		}

		78% {
			transform: skewX(1.6deg);
		}

		86% {
			transform: skewX(-1.2deg);
		}

		93% {
			transform: skewX(0.5deg);
		}
	}
}
