/* ==========================================================================
   TWST Bar Core: public components
   Tokens follow the TWST Bar brand guide and the Oct 26 Figma.
   Override any token from Divi > Theme Options > Custom CSS if needed.
   ========================================================================== */

:root {
	--twst-ink: #181523;
	--twst-ink-2: #24212e;
	--twst-line: #3f3c47;
	--twst-muted-dark: #bdb9c8;
	--twst-muted: #5e5a6b;
	--twst-white: #ffffff;
	--twst-ice: #a5f3f2;      /* Baby Hair Blue */
	--twst-teal: #20eee3;     /* Throwback Teal */
	--twst-lavender: #e0dff5; /* R&B Retwist */
	--twst-yellow: #ffd400;   /* Honey Drip */
	--twst-pink: #ff0286;     /* Fly Girl Fuchsia */
	--twst-purple: #6d2bb8;   /* Velvet Crown */
	--twst-disabled: #87868f;

	/* Swap these if the final pair is Big Noodle Titling + Horizon. */
	--twst-font-display: "Anton", "Big Noodle Titling", Impact, "Arial Narrow Bold", sans-serif;
	--twst-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--twst-container: 1280px;
	--twst-gutter: clamp(16px, 5.6vw, 80px);
}

.twst-statusbar *, .twst-walkins *, .twst-board *, .twst-menu-today *,
.twst-formwrap *, .twst-popup *, .twst-thread, .twst-record {
	box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.twst-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 16px 30px;
	border: 2px solid var(--twst-ink);
	border-radius: 0;
	font-family: var(--twst-font-body);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
	-webkit-appearance: none;
	appearance: none;
}
.twst-btn--dark { background: var(--twst-ink); border-color: var(--twst-ink); color: var(--twst-white) !important; }
.twst-btn--dark:hover { background: #2d2938; border-color: #2d2938; }
.twst-btn--outline { background: transparent; color: var(--twst-ink) !important; }
.twst-btn--outline:hover { background: var(--twst-ink); color: var(--twst-white) !important; }
.twst-btn--light { background: var(--twst-white); border-color: var(--twst-white); color: var(--twst-ink) !important; }
.twst-btn--light:hover { background: var(--twst-lavender); border-color: var(--twst-lavender); }
.twst-btn--outline-light { background: transparent; border-color: var(--twst-white); color: var(--twst-white) !important; }
.twst-btn--outline-light:hover { background: var(--twst-white); color: var(--twst-ink) !important; }
.twst-btn[disabled], .twst-btn.is-busy { background: var(--twst-disabled); border-color: var(--twst-disabled); color: var(--twst-white) !important; cursor: progress; }
.twst-btn:focus-visible { outline: 3px solid var(--twst-teal); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Status dot + chips
   -------------------------------------------------------------------------- */

.twst-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--twst-teal);
	flex: 0 0 auto;
}
.twst-dot--filling { background: var(--twst-yellow); }
.twst-dot--full, .twst-dot--closed { background: var(--twst-pink); }
.twst-dot--open { animation: twst-pulse 2.4s ease-in-out infinite; }
@keyframes twst-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(32, 238, 227, .55); } 50% { box-shadow: 0 0 0 5px rgba(32, 238, 227, 0); } }

.twst-chip {
	display: inline-block;
	padding: 6px 12px;
	font-family: var(--twst-font-body);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--twst-ink);
	background: var(--twst-teal);
}
.twst-chip--filling { background: var(--twst-yellow); }
.twst-chip--full { background: var(--twst-pink); color: var(--twst-white); }
.twst-chip--closed { background: var(--twst-lavender); }

/* --------------------------------------------------------------------------
   Status bar  [twst_status_bar]
   -------------------------------------------------------------------------- */

.twst-statusbar {
	background: var(--twst-ink);
	color: var(--twst-white);
	font-family: var(--twst-font-body);
	font-size: 13px;
	line-height: 1.4;
}
.twst-statusbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: calc(var(--twst-container) + 2 * var(--twst-gutter));
	margin: 0 auto;
	padding: 12px var(--twst-gutter);
}
.twst-statusbar p { margin: 0; padding: 0; }
.twst-statusbar__status { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.twst-statusbar__status .twst-dot { margin-right: 2px; }
.twst-statusbar__title { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.twst-statusbar__detail { font-weight: 700; letter-spacing: 0.04em; color: var(--twst-teal); }
.twst-statusbar__detail--filling,
.twst-statusbar__detail--full,
.twst-statusbar__detail--closed { color: var(--twst-yellow); text-transform: uppercase; }
.twst-statusbar__contact { display: flex; gap: 24px; font-size: 12px; color: #cfccd8; white-space: nowrap; }
.twst-statusbar__contact a { color: inherit !important; text-decoration: none; }
.twst-statusbar__contact a:hover { color: var(--twst-teal) !important; }

@media (max-width: 980px) {
	.twst-statusbar__contact { display: none; }
}
@media (max-width: 600px) {
	.twst-statusbar { font-size: 11px; }
	.twst-statusbar__inner { padding-top: 10px; padding-bottom: 10px; }
	.twst-statusbar__status { gap: 2px 8px; }
}

/* --------------------------------------------------------------------------
   Marquee frame (dotted light-bulb border)
   -------------------------------------------------------------------------- */

.twst-marquee {
	--mq: var(--twst-teal);
	--mq-dim: #234e56;
	--dot: 32px;
	position: relative;
	background: var(--twst-ink-2);
	border: 2px solid var(--mq);
	padding: calc(var(--dot) + 24px) calc(var(--dot) + 32px);
}
.twst-marquee--yellow { --mq: var(--twst-yellow); --mq-dim: #4a4220; }
.twst-marquee::before {
	content: "";
	position: absolute;
	inset: 8px;
	pointer-events: none;
	/* "space" spreads the bulbs evenly so every corner lands on one clean dot. */
	background:
		radial-gradient(circle, var(--mq) 3.5px, transparent 4.2px) 0 0 / var(--dot) var(--dot) space no-repeat,
		radial-gradient(circle, var(--mq) 3.5px, transparent 4.2px) 0 100% / var(--dot) var(--dot) space no-repeat,
		radial-gradient(circle, var(--mq) 3.5px, transparent 4.2px) 0 0 / var(--dot) var(--dot) no-repeat space,
		radial-gradient(circle, var(--mq) 3.5px, transparent 4.2px) 100% 0 / var(--dot) var(--dot) no-repeat space;
	animation: twst-bulbs 3.2s ease-in-out infinite;
}
/* Gentle marquee flicker. */
@keyframes twst-bulbs { 0%, 100% { opacity: 1; } 50% { opacity: .72; } }
@media (prefers-reduced-motion: reduce) {
	.twst-marquee::before, .twst-dot--open { animation: none; }
}
@media (max-width: 600px) {
	.twst-marquee { --dot: 24px; padding: calc(var(--dot) + 12px) calc(var(--dot) + 14px); }
	.twst-marquee::before { inset: 6px; }
}

/* --------------------------------------------------------------------------
   Walk-ins table  [twst_walkins]
   -------------------------------------------------------------------------- */

.twst-walkins { font-family: var(--twst-font-body); color: var(--twst-white); }
.twst-walkins p { margin: 0; padding: 0; }

.twst-table {
	width: 100%;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse;
	table-layout: auto;
	color: var(--twst-white);
	background: transparent !important;
}
.twst-table th, .twst-table td {
	border: 0 !important;
	border-bottom: 1px solid var(--twst-line) !important;
	padding: 22px 16px 22px 0 !important;
	text-align: left;
	vertical-align: middle;
	background: transparent !important;
	font-family: var(--twst-font-body);
}
.twst-table thead th {
	padding: 0 16px 16px 0 !important;
	font-size: 13px;
	font-weight: 500;
	color: #cfccd8;
}
.twst-table .twst-table__status-col, .twst-table .twst-table__status { text-align: right; padding-right: 0 !important; }
.twst-table__day { width: 22%; font-weight: 400; }
.twst-table__dow {
	display: block;
	font-family: var(--twst-font-display);
	font-size: 48px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	color: var(--twst-white);
}
.twst-table__date { display: block; margin-top: 4px; font-size: 13px; color: #cfccd8; }
.twst-table__row.is-today .twst-table__date { color: var(--twst-teal); font-weight: 600; }
.twst-table__window { width: 22%; font-size: 20px; color: var(--twst-white); white-space: nowrap; }
.twst-table__window.is-muted { color: var(--twst-muted-dark); }
.twst-table__services { font-size: 17px; color: var(--twst-muted-dark); }
.twst-line { display: block; }
.twst-line + .twst-line { margin-top: 10px; }

.twst-walkins__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
}
.twst-walkins__updated { font-size: 13px; color: #cfccd8; }

.twst-walkins-empty {
	padding: 64px 32px;
	text-align: center;
	background: var(--twst-ink);
	border: 2px solid var(--twst-teal);
}
.twst-walkins-empty__title {
	font-family: var(--twst-font-display);
	font-size: clamp(34px, 5vw, 64px);
	line-height: 1.05;
	color: var(--twst-white);
}
.twst-walkins-empty__text { margin: 16px 0 28px !important; font-size: 18px; color: var(--twst-muted-dark); }

@media (max-width: 767px) {
	.twst-table thead { display: none; }
	.twst-table, .twst-table tbody { display: block; }
	.twst-table tr {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas: "day status" "window window" "services services";
		gap: 12px 12px;
		padding: 24px 0;
		border-bottom: 1px solid var(--twst-line);
	}
	.twst-table tr:first-child { padding-top: 4px; }
	.twst-table tr:last-child { border-bottom: 0; }
	.twst-table th, .twst-table td { display: block; width: auto; padding: 0 !important; border: 0 !important; }
	.twst-table__day { grid-area: day; display: flex !important; align-items: baseline; gap: 14px; }
	.twst-table__dow { font-size: 40px; }
	.twst-table__date { margin: 0; font-size: 14px; }
	.twst-table__status { grid-area: status; align-self: center; }
	.twst-table__window { grid-area: window; font-size: 22px; white-space: normal; }
	.twst-table__services { grid-area: services; font-size: 16px; }
	.twst-table__window .twst-line + .twst-line,
	.twst-table__services .twst-line + .twst-line { margin-top: 6px; }
	.twst-walkins__foot { flex-direction: column; align-items: stretch; text-align: left; gap: 24px; }
	.twst-walkins__foot .twst-btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Today board (Homepage)  [twst_today style="board"]
   -------------------------------------------------------------------------- */

.twst-board { text-align: center; font-family: var(--twst-font-body); padding-top: 48px; padding-bottom: 56px; }
.twst-board p { margin: 0; padding: 0; }
.twst-board .twst-chip { font-size: 12px; padding: 5px 10px; }
.twst-board__title {
	margin-top: 14px !important;
	font-family: var(--twst-font-display);
	font-size: clamp(32px, 4.4vw, 60px);
	line-height: 1;
	text-transform: uppercase;
	color: var(--twst-teal);
}
.twst-board__title--filling { color: var(--twst-yellow); }
.twst-board__title--full { color: var(--twst-pink); }
.twst-board__title--closed { color: var(--twst-lavender); }
.twst-board__time {
	margin-top: 4px !important;
	font-family: var(--twst-font-display);
	font-size: clamp(56px, 12.5vw, 172px);
	line-height: 1;
	color: var(--twst-white);
}

/* --------------------------------------------------------------------------
   Mobile menu block  [twst_today style="menu"]
   -------------------------------------------------------------------------- */

.twst-menu-today p { margin: 0; padding: 0; }
.twst-menu-today__title {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--twst-font-display);
	font-size: 30px;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--twst-teal);
}
.twst-menu-today__title .twst-dot { width: 10px; height: 10px; }
.twst-menu-today__title--filling { color: var(--twst-yellow); }
.twst-menu-today__title--full, .twst-menu-today__title--closed { color: var(--twst-lavender); }
.twst-menu-today__time {
	font-family: var(--twst-font-display);
	font-size: 48px;
	line-height: 1.1;
	color: var(--twst-white);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.twst-formwrap { position: relative; font-family: var(--twst-font-body); color: var(--twst-ink); text-align: left; }
.twst-formwrap p { padding: 0; }
.twst-card { background: var(--twst-white); border: 2px solid var(--twst-ink); padding: 48px; }
.twst-card--shadow-teal { box-shadow: 16px 16px 0 var(--twst-teal); }
.twst-card--shadow-dark { box-shadow: 16px 16px 0 var(--twst-ink); }
.twst-card--shadow-pink { box-shadow: 16px 16px 0 var(--twst-pink); }
.twst-card--shadow-yellow { box-shadow: 16px 16px 0 var(--twst-yellow); }

.twst-form { margin: 0; }
.twst-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.twst-field { grid-column: 1 / -1; min-width: 0; }
.twst-field--half { grid-column: span 1; }

.twst-label {
	display: block;
	margin: 0 0 10px;
	padding: 0;
	font-family: var(--twst-font-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--twst-ink);
}
.twst-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.twst-fieldset legend { float: left; width: 100%; }
.twst-fieldset legend + * { clear: both; }

.twst-input,
.twst-formwrap input.twst-input,
.twst-formwrap select.twst-input,
.twst-formwrap textarea.twst-input {
	display: block;
	width: 100%;
	height: 60px;
	margin: 0;
	padding: 0 18px;
	border: 2px solid var(--twst-ink);
	border-radius: 0;
	background: var(--twst-white);
	box-shadow: none;
	color: var(--twst-ink);
	font-family: var(--twst-font-body);
	font-size: 16px;
	line-height: 1.4;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition: box-shadow .12s ease, border-color .12s ease;
}
.twst-formwrap textarea.twst-input { height: auto; min-height: 140px; padding: 16px 18px; resize: vertical; }
.twst-input::placeholder { color: var(--twst-muted); opacity: 1; }
.twst-formwrap .twst-input:focus { border-color: var(--twst-ink); box-shadow: 0 0 0 4px var(--twst-teal); }
.twst-formwrap .twst-input.is-invalid { border-color: var(--twst-pink); }
.twst-formwrap .twst-input.is-invalid:focus { box-shadow: 0 0 0 4px rgba(255, 2, 134, .25); }

.twst-select { position: relative; }
.twst-select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='%23181523' stroke-width='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.twst-select select.twst-input { padding-right: 48px; cursor: pointer; }
.twst-select select.twst-input:invalid { color: var(--twst-muted); }
.twst-select select option { color: var(--twst-ink); }

.twst-field__msg { min-height: 0; margin: 8px 0 0 !important; font-size: 13px; font-weight: 500; color: var(--twst-pink); }
.twst-field__msg:empty { display: none; }

/* Segmented Yes / No / In progress */
.twst-segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.twst-seg { position: relative; margin: 0; cursor: pointer; }
.twst-seg input, .twst-check input, .twst-drop__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	overflow: hidden;
}
.twst-seg span {
	display: inline-flex;
	align-items: center;
	min-height: 56px;
	padding: 0 22px;
	border: 2px solid var(--twst-ink);
	font-size: 15px;
	font-weight: 600;
	background: var(--twst-white);
	color: var(--twst-ink);
}
.twst-seg input:checked + span { background: var(--twst-ink); color: var(--twst-white); }
.twst-seg input:focus-visible + span { box-shadow: 0 0 0 4px var(--twst-teal); }
.twst-field.is-invalid .twst-seg span { border-color: var(--twst-pink); }

/* Checkboxes */
.twst-checks { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.twst-check { position: relative; display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: 18px; color: var(--twst-ink); cursor: pointer; }
.twst-check__box {
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	border: 2px solid var(--twst-ink);
	background: var(--twst-white) center / 16px no-repeat;
}
.twst-check input:checked + .twst-check__box {
	background-color: var(--twst-ink);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E");
}
.twst-check input:focus-visible + .twst-check__box { box-shadow: 0 0 0 4px var(--twst-teal); }
.twst-field.is-invalid .twst-check__box { border-color: var(--twst-pink); }

/* File drop */
.twst-drop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 104px;
	padding: 24px;
	border: 2px dashed var(--twst-ink);
	text-align: center;
	cursor: pointer;
	background: var(--twst-white);
	transition: background-color .12s ease;
}
.twst-drop:hover, .twst-drop.is-over { background: var(--twst-lavender); }
.twst-drop:focus-within { box-shadow: 0 0 0 4px var(--twst-teal); }
.twst-drop__cta { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.twst-drop__hint { font-size: 12px; color: var(--twst-muted); }
.twst-drop__name { font-size: 14px; font-weight: 600; word-break: break-all; }
.twst-field.is-invalid .twst-drop { border-color: var(--twst-pink); }
.twst-drop__remove {
	margin-top: 8px;
	padding: 0;
	border: 0;
	background: none;
	font: 600 13px var(--twst-font-body);
	color: var(--twst-ink);
	text-decoration: underline;
	cursor: pointer;
}

/* Actions, note, alert */
.twst-form__actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.twst-form__actions--block { display: block; margin-top: 24px; }
.twst-form__actions--block .twst-btn { width: 100%; min-height: 64px; }
.twst-form__note { margin: 0 !important; max-width: 340px; font-size: 13px; line-height: 1.45; color: var(--twst-muted); }
.twst-form__alert {
	display: inline-block;
	margin-top: 28px;
	padding: 14px 20px 14px 22px;
	background: var(--twst-ink);
	border-left: 4px solid var(--twst-pink);
	color: var(--twst-white);
	font-size: 15px;
	line-height: 1.5;
	max-width: 100%;
}
.twst-form__alert p { margin: 0 !important; }
.twst-form__alert[hidden] { display: none; }
.twst-form.is-sending .twst-form__grid { opacity: .6; pointer-events: none; }

.twst-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Success */
.twst-success {
	position: relative;
	overflow: hidden;
	padding: 48px;
	background: var(--twst-teal);
	color: var(--twst-ink);
	outline: none;
}
.twst-success[hidden] { display: none; }
.twst-success--pink { background: var(--twst-pink); }
.twst-success--lavender { background: var(--twst-lavender); }
.twst-success__record { position: absolute; top: -70px; right: -70px; width: 190px; height: 190px; }
.twst-success__title {
	margin: 0 0 16px !important;
	padding-right: 110px;
	font-family: var(--twst-font-display);
	font-size: clamp(40px, 5vw, 60px);
	line-height: 1;
	text-transform: uppercase;
	color: var(--twst-ink);
}
.twst-success__text { margin: 0 0 28px !important; max-width: 440px; font-size: 18px; line-height: 1.55; }
.twst-card.is-done { padding: 0; border: 0; background: transparent; }
.twst-formwrap.is-done .twst-form { display: none; }

@media (max-width: 767px) {
	.twst-card { padding: 28px 20px; }
	.twst-card--shadow-teal { box-shadow: 10px 10px 0 var(--twst-teal); }
	.twst-card--shadow-dark { box-shadow: 10px 10px 0 var(--twst-ink); }
	.twst-card--shadow-pink { box-shadow: 10px 10px 0 var(--twst-pink); }
	.twst-card--shadow-yellow { box-shadow: 10px 10px 0 var(--twst-yellow); }
	.twst-form__grid { grid-template-columns: 1fr; gap: 20px; }
	.twst-field--half { grid-column: 1 / -1; }
	.twst-form__actions { flex-direction: column; align-items: stretch; gap: 16px; }
	.twst-form__actions .twst-btn { width: 100%; min-height: 60px; }
	.twst-form__note { max-width: none; text-align: center; }
	.twst-success { padding: 36px 24px; }
	.twst-success .twst-btn { width: 100%; }
	.twst-seg { flex: 1 1 auto; }
	.twst-seg span { width: 100%; justify-content: center; padding: 0 12px; }
	.twst-checks { gap: 14px 24px; }
}

/* --------------------------------------------------------------------------
   Popups  [twst_popup]
   -------------------------------------------------------------------------- */

.twst-popup {
	width: calc(100% - 32px);
	max-width: 560px;
	max-height: calc(100vh - 48px);
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--twst-ink);
	overflow: visible;
}
.twst-popup::backdrop { background: rgba(24, 21, 35, .6); }
.twst-popup[open] { animation: twst-pop-in .2s ease-out; }
@keyframes twst-pop-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.twst-popup__panel {
	position: relative;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	background: var(--twst-white);
	font-family: var(--twst-font-body);
	overscroll-behavior: contain;
}
.twst-popup__media img { display: block; width: 100%; height: 240px; object-fit: cover; }
.twst-popup__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: var(--twst-white);
	color: var(--twst-ink);
	cursor: pointer;
}
.twst-popup__close svg { width: 22px; height: 22px; }
.twst-popup__close:focus-visible { outline: 3px solid var(--twst-teal); }
.twst-popup__body { padding: 32px 36px 40px; }
.twst-tag {
	display: inline-block;
	padding: 6px 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: var(--twst-teal);
	color: var(--twst-ink);
}
.twst-tag--lavender { background: var(--twst-lavender); }
.twst-tag--yellow { background: var(--twst-yellow); }
.twst-tag--pink { background: var(--twst-pink); color: var(--twst-white); }
.twst-popup__title {
	margin: 18px 0 14px !important;
	padding: 0 !important;
	font-family: var(--twst-font-display) !important;
	font-size: clamp(36px, 6vw, 48px) !important;
	font-weight: 400 !important;
	line-height: 1.05 !important;
	text-transform: uppercase;
	color: var(--twst-ink) !important;
}
.twst-popup__copy { margin-bottom: 24px; font-size: 17px; line-height: 1.55; }
.twst-popup__copy p { margin: 0 0 12px; padding: 0; }
.twst-popup__copy p:last-child { margin-bottom: 0; }
.twst-popup .twst-success { margin: 0 -36px -40px; }

@media (max-width: 600px) {
	.twst-popup {
		width: 100%;
		max-width: 100%;
		margin: auto 0 0;
		max-height: 92vh;
	}
	.twst-popup[open] { animation: twst-sheet-in .25s ease-out; }
	.twst-popup__panel { max-height: 92vh; }
	.twst-popup__media img { height: 180px; }
	.twst-popup__body { padding: 24px 20px 32px; }
	.twst-popup .twst-success { margin: 0 -20px -32px; }
}
@keyframes twst-sheet-in { from { transform: translateY(100%); } to { transform: none; } }
html.twst-noscroll, html.twst-noscroll body { overflow: hidden; }

/* --------------------------------------------------------------------------
   Decorative: record + twist thread
   -------------------------------------------------------------------------- */

.twst-record { display: block; }
.twst-record--deco { width: 100%; height: auto; }

.twst-thread {
	height: 18px;
	width: 100%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 18'%3E%3Cpath d='M0 9 C 12 0, 12 0, 24 9 S 36 18, 48 9' fill='none' stroke='%2320EEE3' stroke-width='3.2'/%3E%3Cpath d='M0 9 C 12 18, 12 18, 24 9 S 36 0, 48 9' fill='none' stroke='%23FF0286' stroke-width='3.2'/%3E%3C/svg%3E") 0 50% / 48px 18px repeat-x;
}
