/**
 * Shortlets page. Built from the homepage vocabulary (main.css tokens, rc-* sections, mk-* mockups).
 * Story mockups: base styles are the finished state; with JS each step class (.s1, .s2 …) plays it out.
 */

/* Shared helpers ========================================================== */

/* Two stacked states. --st-a: 0 shows the last child (finished), 1 shows the first. */
.st-swap {
	--st-a: 0;
	display: inline-grid;
	align-items: center;
}

.st-swap > * {
	grid-area: 1 / 1;
	transition: opacity .35s var(--ease), transform .55s var(--spring);
}

.st-swap > :first-child {
	opacity: var(--st-a);
	transform: translateY(calc((var(--st-a) - 1) * 8px));
}

.st-swap > :last-child {
	opacity: calc(1 - var(--st-a));
	transform: translateY(calc(var(--st-a) * 8px));
}

/* Rolling number. */
.st-swap.st-roll {
	overflow: hidden;
}

.st-swap.st-roll > * {
	transition: transform .7s var(--ease);
}

.st-swap.st-roll > :first-child {
	opacity: 1;
	transform: translateY(calc((var(--st-a) - 1) * 100%));
}

.st-swap.st-roll > :last-child {
	opacity: 1;
	transform: translateY(calc(var(--st-a) * 100%));
}

/* Three stacked values; the last one is the finished state. */
.st-tri {
	display: inline-grid;
	justify-items: end;
}

.st-tri > * {
	grid-area: 1 / 1;
	transition: opacity .35s var(--ease), transform .6s var(--ease);
}

.st-tri > :not(:last-child) {
	opacity: 0;
	transform: translateY(-8px);
}

/* Small UI buttons inside mockups. */
.st-mbtn {
	position: relative;
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--teal);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	white-space: nowrap;
	transition: transform .25s var(--ease), background-color .3s;
}

.st-mbtn .rc-icon {
	width: 13px;
	height: 13px;
}

.st-mbtn--ghost {
	background: var(--grey);
	color: var(--ink-2);
}

/* Pointer that lands on the centre of the button it sits in (tip of the arrow = centre). */
.st-cur {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	margin: -3px 0 0 -4px;
	color: var(--ink);
	opacity: 0;
	filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .28));
	transform: translate(64px, 44px);
	transform-origin: 4px 3px;
	transition: transform .8s var(--ease), opacity .3s;
	pointer-events: none;
}

.st-cur .rc-icon {
	display: block;
	width: 20px;
	height: 20px;
}

.st-face {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 30%;
	background: var(--teal-50);
}

.st-pill--yellow {
	background: var(--yellow);
	color: var(--ink);
}

.st-pill--yellow .rc-icon {
	color: var(--ink);
}

.st-lead {
	max-width: 540px;
	margin: 20px 0 0;
	color: var(--muted);
	font-size: clamp(15.5px, 14.8px + .25vw, 17px);
	line-height: 1.6;
}

.st-head__text {
	max-width: 400px;
	margin: 0;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.6;
}

/* Hero cards ============================================================== */

.st-hero {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	align-items: start;
}

/* Availability */
.st-week {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	row-gap: 6px;
	font-size: 12.5px;
	font-weight: 600;
	text-align: center;
}

.st-week__d {
	color: var(--muted);
	font-size: 11px;
}

.st-week__n {
	position: relative;
	z-index: 0;
	display: grid;
	place-items: center;
	height: 30px;
	color: var(--ink-2);
	font-variant-numeric: tabular-nums;
}

.st-week__n.is-booked::before,
.st-week__n.is-held::before {
	content: "";
	position: absolute;
	inset: 2px 0;
	z-index: -1;
	background: var(--teal);
}

.st-week__n.is-booked {
	color: #fff;
}

.st-week__n.is-held::before {
	background: var(--yellow);
}

.st-week__n.is-held {
	color: var(--ink);
}

.st-week__n.is-start::before {
	left: 3px;
	border-radius: 999px 0 0 999px;
}

.st-week__n.is-end::before {
	right: 3px;
	border-radius: 0 999px 999px 0;
}

.st-week__n.is-start.is-end::before {
	border-radius: 999px;
}

.st-week__n.is-today::after {
	content: "";
	position: absolute;
	bottom: 5px;
	left: 50%;
	width: 4px;
	height: 4px;
	margin-left: -2px;
	border-radius: 50%;
	background: var(--yellow);
}

.st-week__legend {
	margin-top: 14px;
	font-size: 12.5px;
}

/* Booking link */
.st-linkbar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 5px 5px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--grey);
	font-size: 12.5px;
	font-weight: 600;
}

.st-linkbar__url {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	color: var(--ink-2);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.st-linkbar__btn {
	flex: none;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
}

/* Booking request (story: st-book) */
.st-hero .st-req {
	padding: 18px 20px;
}

.st-req .mk-card__head {
	margin-bottom: 12px;
}

.st-book__status > * {
	justify-self: end;
}

.st-book__guest {
	margin-bottom: 10px;
	padding: 8px 10px;
}

.st-book__dates {
	gap: 8px;
	margin-bottom: 12px;
}

.st-book__dates .mk-chipcard {
	padding: 8px 11px;
}

.st-book__lines {
	display: grid;
	gap: 6px;
	margin-bottom: 12px;
	padding-top: 10px;
	border-top: 1px dashed var(--line-2);
	color: var(--muted);
	font-size: 12.5px;
}

.st-book__lines > span {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.st-book__lines b {
	color: var(--ink);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.st-book__foot {
	display: grid;
}

.st-book__actions {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 8px;
	align-self: center;
}

.st-book__actions .st-mbtn {
	padding: 11px 14px;
	font-size: 13px;
}

.st-book__paid {
	margin-top: 0;
	padding: 10px 12px;
}

.st-book__paid .mk-darkbar__icon {
	width: 34px;
	height: 34px;
	border-color: transparent;
	background: var(--yellow);
	color: var(--ink);
}

.st-book__paid strong {
	font-size: 13.5px;
}

.st-book__paid small {
	transition: opacity .4s var(--ease), transform .5s var(--ease);
}

.js .st-book:not(.s3) .st-book__status,
.js .st-book:not(.s4) .st-book__foot {
	--st-a: 1;
}

.js .st-book.s1:not(.s3) .st-cur {
	opacity: 1;
	transform: none;
}

.js .st-book.s2:not(.s3) .st-cur {
	transform: scale(.82);
}

.js .st-book.s2:not(.s3) .st-book__approve {
	background: var(--teal-deep);
	transform: scale(.95);
}

.js .st-book:not(.s5) .st-book__paid small {
	opacity: 0;
	transform: translateY(4px);
}

/* Guest checked in */
.st-note {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	color: var(--teal);
	font-size: 12.5px;
	font-weight: 700;
}

.st-note .rc-icon {
	width: 15px;
	height: 15px;
}

/* Withdraw balance */
.st-hero__bal {
	margin-top: 4px;
}

.st-bank {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	padding: 9px 9px 9px 10px;
	border: 1px solid var(--line);
	border-radius: 14px;
}

.st-bank > span:nth-child(2) {
	flex: 1;
	min-width: 0;
}

.st-bank strong,
.st-bank small {
	display: block;
}

.st-bank strong {
	font-size: 13px;
	font-weight: 700;
}

.st-bank small {
	color: var(--muted);
	font-size: 12px;
}

.st-bank__ic {
	display: grid;
	flex: none;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--teal-50);
	color: var(--teal);
}

.st-bank__ic .rc-icon {
	width: 17px;
	height: 17px;
}

/* Setup bento ============================================================= */

.st-card--list {
	grid-column: span 7;
}

.st-card--price {
	grid-column: span 5;
}

.st-card--cal,
.st-card--auto,
.st-card--rules {
	grid-column: span 4;
	min-height: 440px;
}

.st-card--cal .rc-bento__title,
.st-card--auto .rc-bento__title,
.st-card--rules .rc-bento__title {
	margin-top: auto;
	padding-top: 24px;
}

.st-card .rc-bento__text {
	max-width: 520px;
}

/* Create your listing (story: st-lst) */
.st-lst {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: auto;
	padding-top: 22px;
	font-size: 13px;
}

.st-lst__panel {
	padding: 14px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.st-lst__photos {
	position: relative;
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr;
	grid-template-rows: repeat(2, 62px);
	gap: 6px;
}

.st-lst__ph {
	border-radius: 10px;
	background-color: var(--teal-50);
	background-size: cover;
	transition: opacity .5s var(--ease), transform .7s var(--spring);
}

.st-lst__ph:first-child {
	grid-row: span 2;
}

.st-lst__ph:nth-child(2) {
	transition-delay: .08s;
}

.st-lst__ph:nth-child(3) {
	transition-delay: .16s;
}

.st-lst__ph:nth-child(4) {
	transition-delay: .24s;
}

.st-lst__ph:nth-child(5) {
	transition-delay: .32s;
}

.st-lst__count {
	position: absolute;
	bottom: 8px;
	left: 8px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 9px 4px 6px;
	border-radius: 999px;
	background: var(--yellow);
	color: var(--ink);
	font-size: 11px;
	font-weight: 800;
	transition: opacity .4s var(--ease), transform .55s var(--spring);
}

.st-lst__count .rc-icon {
	width: 12px;
	height: 12px;
	stroke-width: 3;
}

.st-lst__form {
	display: grid;
	gap: 12px;
	margin-top: 14px;
}

.st-lst__name {
	transition: opacity .5s var(--ease), transform .6s var(--ease);
}

.st-lst__name strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -.01em;
}

.st-lst__name small {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 2px;
	color: var(--muted);
	font-size: 12px;
}

.st-lst__name small .rc-icon {
	width: 13px;
	height: 13px;
	color: var(--teal);
}

.st-lst__rooms {
	display: grid;
	grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
	gap: 6px;
}

.st-lst__rooms > span {
	min-width: 0;
	padding: 7px 9px;
	border: 1px solid var(--line);
	border-radius: 10px;
}

.st-lst__rooms small,
.st-lst__rooms b {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.st-lst__rooms small {
	color: var(--muted);
	font-size: 10.5px;
}

.st-lst__rooms b {
	font-size: 13px;
	font-weight: 700;
	transition: opacity .35s var(--ease), transform .5s var(--ease);
	transition-delay: calc(var(--d, 0) * 110ms);
}

.st-lst__amen {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.st-amen {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px 4px 4px;
	border-radius: 999px;
	background: var(--grey);
	color: var(--ink-2);
	font-size: 11.5px;
	font-weight: 600;
	transition: opacity .35s var(--ease), transform .55s var(--spring);
	transition-delay: calc(var(--d, 0) * 110ms);
}

.st-amen i {
	display: grid;
	place-items: center;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: var(--yellow);
	color: var(--ink);
}

.st-amen .rc-icon {
	width: 10px;
	height: 10px;
	stroke-width: 3.2;
}

.st-lst__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 10px 10px 12px;
	border-radius: 14px;
	background: var(--teal);
	color: #fff;
	transition: opacity .5s var(--ease), transform .7s var(--ease);
}

.st-lst__linkic {
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 10px;
}

.st-lst__linkic .rc-icon {
	width: 18px;
	height: 18px;
}

.st-lst__url {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	font-size: 13.5px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.st-lst__url small {
	display: block;
	color: rgba(255, 255, 255, .72);
	font-size: 11.5px;
	font-weight: 500;
}

.st-lst__copy {
	background: var(--yellow);
	color: var(--ink);
}

.st-lst__copy .st-swap > * {
	display: inline-flex;
	align-items: center;
	justify-self: center;
	gap: 4px;
}

.js .st-lst:not(.s1) .st-lst__ph {
	opacity: 0;
	transform: scale(.85);
}

.js .st-lst:not(.s2) .st-lst__count {
	opacity: 0;
	transform: translateY(6px) scale(.8);
}

.js .st-lst:not(.s2) .st-lst__name {
	opacity: 0;
	transform: translateY(8px);
}

.js .st-lst:not(.s3) .st-lst__rooms b {
	opacity: 0;
	transform: translateY(5px);
}

.js .st-lst:not(.s4) .st-amen {
	opacity: 0;
	transform: scale(.75);
}

.js .st-lst:not(.s5) .st-lst__link {
	opacity: 0;
	transform: translateY(14px);
}

.js .st-lst.s6:not(.s9) .st-cur {
	opacity: 1;
	transform: none;
}

.js .st-lst.s7:not(.s8) .st-cur {
	transform: scale(.82);
}

.js .st-lst.s7:not(.s8) .st-lst__copy {
	transform: scale(.94);
}

.js .st-lst:not(.s8) .st-lst__copy .st-swap {
	--st-a: 1;
}

/* Pricing (story: st-price) */
.st-price {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: auto;
	padding-top: 22px;
}

.st-price__card {
	display: grid;
	gap: 18px;
	padding: 22px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-sm);
	font-size: 13.5px;
}

.st-price__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: var(--ink-2);
}

.st-price__row b {
	color: var(--ink);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.st-price__pct > * {
	justify-self: end;
}

.st-price__dep {
	display: grid;
	gap: 12px;
}

.st-slider {
	position: relative;
	height: 6px;
	margin: 2px 9px 4px;
	border-radius: 999px;
	background: var(--grey-2);
}

.st-slider__fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 30%;
	border-radius: inherit;
	background: var(--teal);
	transition: width 1.2s var(--ease);
}

.st-slider__knob {
	position: absolute;
	top: 50%;
	left: 30%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid var(--teal);
	border-radius: 50%;
	background: #fff;
	box-shadow: var(--shadow-sm);
	transition: left 1.2s var(--ease);
}

.st-tip {
	position: absolute;
	top: calc(100% + 10px);
	left: -8px;
	z-index: 2;
	padding: 7px 11px;
	border-radius: 10px;
	background: var(--ink);
	color: #fff;
	font-size: 11.5px;
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity .35s var(--ease), transform .5s var(--ease);
	pointer-events: none;
}

.st-tip::before {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 14px;
	border: 5px solid transparent;
	border-bottom-color: var(--ink);
}

.st-price__toggle {
	color: var(--teal);
	font-size: 12px;
	transition: color .4s;
}

.st-price__sum {
	display: grid;
	gap: 8px;
	padding-top: 14px;
	border-top: 1px dashed var(--line-2);
}

.st-price__line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: var(--ink-2);
}

.st-price__line b {
	color: var(--ink);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.st-price__tot > * {
	justify-self: end;
}

.st-price__tot s {
	margin-right: 6px;
	color: var(--muted);
	font-size: 12.5px;
	font-weight: 500;
}

.st-price__line--dep {
	padding: 9px 12px;
	border-radius: 12px;
	background: var(--teal-50);
	color: var(--teal);
	font-weight: 600;
}

.st-price__line--dep b {
	color: var(--teal-deep);
}

.st-price__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.st-price__chips .mk-pill {
	background: #fff;
}

.js .st-price.s1:not(.s2) .st-tip {
	opacity: 1;
	transform: none;
}

.js .st-price:not(.s2) .st-slider__fill {
	width: 0;
}

.js .st-price:not(.s2) .st-slider__knob {
	left: 0;
}

.js .st-price:not(.s2) .st-price__pct,
.js .st-price:not(.s4) .st-price__tot {
	--st-a: 1;
}

.js .st-price:not(.s3) .st-price__toggle {
	color: var(--muted);
}

.js .st-price:not(.s3) .st-price__toggle i {
	background: #cfdada;
}

.js .st-price:not(.s3) .st-price__toggle i::after {
	transform: none;
}

.js .st-price:not(.s4) .st-tri > :last-child {
	opacity: 0;
	transform: translateY(8px);
}

.js .st-price.s2:not(.s4) .st-tri > :nth-child(2),
.js .st-price:not(.s2) .st-tri > :first-child {
	opacity: 1;
	transform: none;
}

/* Rates and availability (story: st-cal) */
.st-cal {
	display: grid;
	gap: 12px;
	color: #fff;
}

.st-cal__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.st-cal__top strong {
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.st-seg {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 3px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .09);
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}

.st-seg > span {
	position: relative;
	z-index: 1;
	padding: 5px 9px;
	color: rgba(255, 255, 255, .7);
	transition: color .4s;
}

.st-seg > span:nth-of-type(2) {
	color: var(--ink);
}

.st-seg__pill {
	position: absolute;
	top: 3px;
	bottom: 3px;
	left: 3px;
	width: calc((100% - 6px) / 3);
	border-radius: 999px;
	background: var(--yellow);
	transform: translateX(100%);
	transition: transform .6s var(--ease);
}

.st-cal__rate {
	display: grid;
}

.st-cal__rate > span {
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -.03em;
	white-space: nowrap;
}

.st-cal__rate small {
	color: rgba(255, 255, 255, .7);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0;
}

.st-cal__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	row-gap: 3px;
	font-size: 11.5px;
	font-weight: 600;
	text-align: center;
}

.st-cal__d {
	padding-bottom: 3px;
	color: rgba(255, 255, 255, .5);
	font-size: 10.5px;
}

.st-cal__n {
	position: relative;
	z-index: 0;
	display: grid;
	place-items: center;
	height: 25px;
	color: rgba(255, 255, 255, .85);
	font-variant-numeric: tabular-nums;
	transition: color .4s;
	transition-delay: calc(var(--d, 0) * 110ms);
}

.st-cal__n.is-booked::before,
.st-cal__n.is-new::before {
	content: "";
	position: absolute;
	inset: 1px 2px;
	z-index: -1;
	border-radius: 7px;
	background: var(--teal);
	transition: opacity .35s var(--ease), transform .55s var(--spring);
	transition-delay: inherit;
}

.st-cal__n.is-booked {
	color: #fff;
}

.st-cal__n.is-new {
	color: var(--ink);
}

.st-cal__n.is-new::before {
	background: var(--yellow);
}

.st-cal__n.is-today {
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
	border-radius: 7px;
}

.st-cal__toast {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff;
	color: var(--ink);
	box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .6);
	transition: opacity .45s var(--ease), transform .6s var(--spring);
}

.st-cal__toast strong,
.st-cal__toast small {
	display: block;
}

.st-cal__toast strong {
	font-size: 13px;
	font-weight: 700;
}

.st-cal__toast small {
	color: var(--muted);
	font-size: 11.5px;
}

.js .st-cal:not(.s1) .st-seg__pill {
	transform: none;
}

.js .st-cal:not(.s1) .st-seg > span:nth-of-type(1) {
	color: var(--ink);
}

.js .st-cal:not(.s1) .st-seg > span:nth-of-type(2) {
	color: rgba(255, 255, 255, .7);
}

.js .st-cal:not(.s1) .st-cal__rate {
	--st-a: 1;
}

.js .st-cal:not(.s2) .st-cal__n.is-new {
	color: rgba(255, 255, 255, .85);
}

.js .st-cal:not(.s2) .st-cal__n.is-new::before {
	opacity: 0;
	transform: scale(.4);
}

.js .st-cal:not(.s3) .st-cal__toast {
	opacity: 0;
	transform: translateY(12px) scale(.96);
}

/* Approval (story: st-auto) */
.st-auto {
	display: grid;
	gap: 12px;
}

.st-auto__switch {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.st-auto__switch strong,
.st-auto__switch small {
	display: block;
}

.st-auto__switch strong {
	font-size: 14px;
	font-weight: 700;
}

.st-auto__switch small {
	color: var(--muted);
	font-size: 12px;
}

.st-switch {
	position: relative;
	flex: none;
	width: 42px;
	height: 24px;
	border-radius: 999px;
	background: var(--teal);
	transition: background-color .4s var(--ease);
}

.st-switch i {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
	transform: translateX(18px);
	transition: transform .45s var(--spring);
}

.st-auto__list {
	display: grid;
	padding: 4px 14px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.st-auto__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
}

.st-auto__row + .st-auto__row {
	border-top: 1px solid var(--line);
}

.st-auto__row .mk-avatar {
	width: 34px;
	height: 34px;
	font-size: 11.5px;
}

.st-auto__who {
	flex: 1;
	min-width: 0;
}

.st-auto__who strong,
.st-auto__who small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.st-auto__who strong {
	font-size: 13px;
	font-weight: 700;
}

.st-auto__who small {
	color: var(--muted);
	font-size: 11.5px;
}

.st-auto__pill > * {
	justify-self: end;
}

.js .st-auto:not(.s1) .st-switch {
	background: #cfdada;
}

.js .st-auto:not(.s1) .st-switch i {
	transform: none;
}

.js .st-auto:not(.s2) .st-auto__row:nth-child(1) .st-auto__pill,
.js .st-auto:not(.s3) .st-auto__row:nth-child(2) .st-auto__pill,
.js .st-auto:not(.s4) .st-auto__row:nth-child(3) .st-auto__pill {
	--st-a: 1;
}

/* Policies (story: st-rules) */
.st-rules {
	display: grid;
	gap: 10px;
}

.st-rules__tabs {
	display: flex;
	gap: 4px;
	padding: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	font-size: 11.5px;
	font-weight: 700;
}

.st-rules__tabs span {
	flex: 1;
	padding: 6px 8px;
	border-radius: 999px;
	color: rgba(255, 255, 255, .82);
	text-align: center;
	white-space: nowrap;
}

.st-rules__tabs span:first-child {
	background: #fff;
	color: var(--teal);
}

.st-rules__doc {
	display: grid;
	gap: 10px;
	padding: 14px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 18px 34px -22px rgba(0, 0, 0, .5);
	color: var(--ink);
	font-size: 12.5px;
}

.st-rules__tpl {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 2px;
	padding: 3px;
	border-radius: 10px;
	background: var(--grey);
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}

.st-rules__tpl span {
	position: relative;
	z-index: 1;
	padding: 5px 4px;
	color: var(--muted);
	white-space: nowrap;
	transition: color .4s;
}

.st-rules__tpl span:nth-of-type(2) {
	color: var(--ink);
}

.st-rules__sel {
	position: absolute;
	top: 3px;
	bottom: 3px;
	left: 3px;
	width: calc((100% - 6px) / 3);
	border-radius: 8px;
	background: var(--yellow);
	transform: translateX(100%);
	transition: transform .6s var(--ease);
}

.st-rules__item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	transition: opacity .4s var(--ease), transform .55s var(--ease);
}

.st-rules__item .mk-tick {
	width: 18px;
	height: 18px;
}

.st-rules__item .mk-tick .rc-icon {
	width: 11px;
	height: 11px;
}

.st-rules__saved {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	gap: 5px;
	padding: 6px 12px 6px 9px;
	border-radius: 999px;
	background: var(--yellow);
	color: var(--ink);
	font-size: 11.5px;
	font-weight: 800;
	transition: opacity .35s var(--ease), transform .55s var(--spring);
}

.st-rules__saved .rc-icon {
	width: 13px;
	height: 13px;
	stroke-width: 3;
}

.js .st-rules:not(.s1) .st-rules__sel {
	transform: none;
}

.js .st-rules:not(.s1) .st-rules__tpl span:nth-of-type(1) {
	color: var(--ink);
}

.js .st-rules:not(.s1) .st-rules__tpl span:nth-of-type(2) {
	color: var(--muted);
}

.js .st-rules:not(.s2) .st-rules__doc > :nth-child(2),
.js .st-rules:not(.s3) .st-rules__doc > :nth-child(3),
.js .st-rules:not(.s4) .st-rules__doc > :nth-child(4),
.js .st-rules:not(.s5) .st-rules__doc > :nth-child(5) {
	opacity: 0;
	transform: translateX(-10px);
}

.js .st-rules:not(.s6) .st-rules__saved {
	opacity: 0;
	transform: scale(.7);
}

/* How it works ============================================================ */

.st-steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.st-steps::before,
.st-steps::after {
	content: "";
	position: absolute;
	top: 28px;
	right: calc((100% - 96px) / 4 - 28px);
	left: 28px;
	height: 2px;
	border-radius: 2px;
	background: var(--line-2);
}

.st-steps::after {
	background: var(--teal);
	transform-origin: left;
	transition: transform 1.8s var(--ease) .3s;
}

.js .st-steps:not(.is-in)::after {
	transform: scaleX(0);
}

.st-step {
	position: relative;
}

.st-step__icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 18px;
	background: var(--teal);
	color: #fff;
	box-shadow: 0 0 0 6px #fff, 0 16px 30px -14px rgba(3, 42, 47, .55);
	transition: transform .7s var(--spring), opacity .4s;
	transition-delay: calc(var(--i, 0) * 260ms + .3s);
}

.st-step__icon .rc-icon {
	width: 24px;
	height: 24px;
}

.st-step__no {
	display: inline-block;
	margin-top: 24px;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--yellow);
	color: var(--ink);
	font-size: 12px;
	font-weight: 700;
}

.st-step__title {
	margin: 12px 0 6px;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -.025em;
}

.st-step__text {
	margin: 0;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.55;
}

.st-step > :not(.st-step__icon) {
	transition: opacity .6s var(--ease), transform .8s var(--ease);
	transition-delay: calc(var(--i, 0) * 260ms + .45s);
}

.js .st-steps:not(.is-in) .st-step__icon {
	opacity: 0;
	transform: scale(.6);
}

.js .st-steps:not(.is-in) .st-step > :not(.st-step__icon) {
	opacity: 0;
	transform: translateY(12px);
}

.st-why {
	margin-top: 64px;
}

/* Bookings overview ======================================================= */

.st-ops__grid {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: 56px;
	align-items: center;
}

.st-ticks {
	display: grid;
	gap: 12px;
	margin: 26px 0 32px;
	padding: 0;
	list-style: none;
}

.st-ticks li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--ink-2);
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.45;
}

.st-ticks .rc-chip__tick {
	flex: none;
}

.st-ops__stage {
	position: relative;
	padding: 24px;
	border-radius: var(--radius-xl);
	background: var(--grey);
	isolation: isolate;
}

.st-ops__stage::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background-image:
		linear-gradient(rgba(4, 111, 123, .06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(4, 111, 123, .06) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(70% 70% at 70% 20%, #000 20%, transparent 80%);
	mask-image: radial-gradient(70% 70% at 70% 20%, #000 20%, transparent 80%);
}

.st-ops__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}

.st-stat {
	padding: 14px 16px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.st-stat small {
	display: block;
	color: var(--muted);
	font-size: 12.5px;
	line-height: 1.3;
}

.st-stat b {
	display: block;
	margin-top: 6px;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.st-stat b.st-swap {
	display: grid;
	justify-items: start;
}

.st-stat--teal {
	background: var(--teal);
	color: #fff;
}

.st-stat--teal small {
	color: rgba(255, 255, 255, .75);
}

.st-ops__stage .mk-card--lg {
	margin-bottom: 12px;
	padding: 20px 22px;
}

.st-ops__stage .st-today {
	margin-bottom: 0;
}

.st-tl__grid {
	display: grid;
	grid-template-columns: 100px repeat(7, minmax(0, 1fr));
	row-gap: 8px;
	font-size: 12px;
}

.st-tl__corner,
.st-tl__day {
	grid-row: 1;
}

.st-tl__day {
	padding-bottom: 2px;
	color: var(--muted);
	font-size: 11.5px;
	font-weight: 600;
	text-align: center;
	white-space: nowrap;
}

.st-tl__day.is-today {
	color: var(--teal);
	font-weight: 800;
}

.st-tl__prop {
	grid-column: 1;
	align-self: center;
	overflow: hidden;
	color: var(--ink);
	font-size: 12.5px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.st-tl__lane {
	grid-column: 2 / -1;
	height: 34px;
	border-radius: 10px;
	background:
		linear-gradient(90deg, transparent calc(100% - 1px), var(--line) 0) 0 0 / calc(100% / 7) 100%,
		var(--grey);
}

.st-tl__bar {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	align-self: center;
	min-width: 0;
	height: 26px;
	margin: 0 3px;
	padding: 0 9px;
	overflow: hidden;
	border-radius: 8px;
	font-size: 11.5px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
	transform-origin: left;
	transition: transform .9s var(--ease), opacity .35s;
}

.st-tl__bar--teal {
	background: var(--teal);
	color: #fff;
}

.st-tl__bar--soft {
	background: var(--teal-50);
	color: var(--teal);
}

.st-tl__bar--ink {
	background: var(--ink);
	color: #fff;
}

.st-tl__bar--new {
	background: var(--yellow);
	color: var(--ink);
}

.st-today__row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 0;
}

.st-today__row + .st-today__row {
	border-top: 1px solid var(--line);
}

.st-today__row:last-child {
	padding-bottom: 0;
}

.st-today__who {
	flex: 1;
	min-width: 0;
}

.st-today__who strong,
.st-today__who small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.st-today__who strong {
	font-size: 14px;
	font-weight: 700;
}

.st-today__who small {
	color: var(--muted);
	font-size: 12.5px;
}

.st-today__ic {
	display: grid;
	flex: none;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--yellow-100);
	color: var(--ink);
}

.st-today__ic .rc-icon {
	width: 18px;
	height: 18px;
}

.st-today__row .st-swap > * {
	justify-self: end;
}

.js .st-ops__story:not(.s1) .st-tl__bar--new {
	opacity: 0;
	transform: scaleX(.1);
}

.js .st-ops__story:not(.s2) .st-roll:not(.st-roll--b),
.js .st-ops__story:not(.s3) .st-today__row--clean .st-swap,
.js .st-ops__story:not(.s4) .st-today__row--arrive .st-swap,
.js .st-ops__story:not(.s4) .st-roll--b {
	--st-a: 1;
}

/* Guest stay band ========================================================= */

.st-stay__panel {
	position: relative;
	padding: clamp(28px, 1rem + 4vw, 72px);
	overflow: hidden;
	border-radius: var(--radius-xl);
	background:
		radial-gradient(55% 60% at 88% 0%, rgba(4, 111, 123, .7), transparent 70%),
		radial-gradient(45% 50% at 0% 100%, rgba(251, 201, 1, .12), transparent 70%),
		var(--teal-night);
	color: #fff;
	isolation: isolate;
}

.st-stay__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 72px 72px;
	-webkit-mask-image: radial-gradient(70% 60% at 75% 30%, #000 20%, transparent 80%);
	mask-image: radial-gradient(70% 60% at 75% 30%, #000 20%, transparent 80%);
}

.st-stay__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
	gap: 56px;
	align-items: center;
}

.st-stay .rc-h2 {
	color: #fff;
}

.st-stay .rc-h2__sub {
	color: var(--yellow);
}

.st-stay .st-lead {
	color: rgba(255, 255, 255, .74);
}

.st-feats {
	display: grid;
	gap: 20px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.st-feats li {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	color: rgba(255, 255, 255, .72);
	font-size: 14.5px;
	line-height: 1.55;
}

.st-feats strong {
	display: block;
	margin-bottom: 3px;
	color: #fff;
	font-size: 16.5px;
	font-weight: 700;
	letter-spacing: -.015em;
}

.st-feats__ic {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 13px;
	background: rgba(255, 255, 255, .07);
	color: var(--yellow);
}

.st-feats__ic .rc-icon {
	width: 21px;
	height: 21px;
}

/* Guest portal (story: st-chk) */
.st-stay__mk {
	display: flex;
	justify-content: center;
}

.st-chk {
	display: grid;
	gap: 14px;
	width: 100%;
	max-width: 430px;
	padding: 22px;
	border-radius: var(--radius-lg);
	background: #fff;
	color: var(--ink);
	box-shadow: 0 0 0 8px rgba(255, 255, 255, .06), 0 40px 80px -30px rgba(0, 0, 0, .65);
}

.st-chk__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}

.st-chk__head strong,
.st-chk__head small {
	display: block;
}

.st-chk__head strong {
	font-size: 15px;
	font-weight: 700;
}

.st-chk__head small {
	color: var(--muted);
	font-size: 12.5px;
}

.st-chk__brand {
	display: grid;
	flex: none;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--teal);
	color: #fff;
}

.st-chk__brand .rc-icon {
	width: 19px;
	height: 19px;
}

.st-chk__id {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px;
	border-radius: var(--radius);
	background: var(--grey);
}

.st-chk__frame {
	position: relative;
	flex: none;
	width: 84px;
	height: 98px;
	overflow: hidden;
	border: 2px solid var(--yellow);
	border-radius: 14px;
	background: var(--teal-50);
	transition: border-color .5s;
}

.st-chk__frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 25%;
	transition: filter .6s;
}

.st-chk__beam {
	position: absolute;
	top: 14px;
	right: 8px;
	left: 8px;
	height: 2px;
	border-radius: 2px;
	background: var(--yellow);
	box-shadow: 0 0 14px 2px rgba(251, 201, 1, .75);
	opacity: 0;
}

.st-chk__idtext strong,
.st-chk__idtext small {
	display: block;
}

.st-chk__idtext strong {
	font-size: 15.5px;
	font-weight: 700;
}

.st-chk__idtext small {
	color: var(--muted);
	font-size: 12.5px;
}

.st-chk__idstate {
	margin-top: 10px;
}

.st-chk__idstate .mk-pill:first-child {
	background: #fff;
}

.st-chk__steps {
	display: grid;
	gap: 10px;
	padding: 2px 4px;
}

.st-chk__step {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	font-weight: 600;
	transition: color .4s;
}

.st-chk__step .mk-tick i {
	border-color: var(--line-2);
	border-top-color: var(--teal);
}

.st-chk__mail {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 12px;
	border: 1px dashed var(--line-2);
	border-radius: 14px;
	transition: opacity .45s var(--ease), transform .6s var(--ease);
}

.st-chk__mail > .rc-icon {
	box-sizing: content-box;
	width: 17px;
	height: 17px;
	padding: 9px;
	border-radius: 50%;
	background: var(--teal-50);
	color: var(--teal);
}

.st-chk__mail strong,
.st-chk__mail small,
.st-chk__done strong,
.st-chk__done small {
	display: block;
}

.st-chk__mail strong {
	font-size: 13.5px;
	font-weight: 700;
}

.st-chk__mail small {
	color: var(--muted);
	font-size: 12px;
}

.st-chk__done {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 14px;
	background: var(--teal);
	color: #fff;
	transition: opacity .45s var(--ease), transform .6s var(--spring);
}

.st-chk__done strong {
	font-size: 14px;
	font-weight: 700;
}

.st-chk__done small {
	color: rgba(255, 255, 255, .75);
	font-size: 12px;
}

.js .st-chk:not(.s2) .st-chk__frame {
	border-color: var(--line-2);
}

.js .st-chk:not(.s2) .st-chk__frame img {
	filter: grayscale(1);
}

.js .st-chk.s1:not(.s2) .st-chk__beam {
	opacity: 1;
	animation: rc-beam 1.5s var(--ease-io) infinite;
}

.js .st-chk:not(.s2) .st-chk__idstate {
	--st-a: 1;
}

.js .st-chk:not(.s2) .st-chk__step:nth-child(1),
.js .st-chk:not(.s3) .st-chk__step:nth-child(2),
.js .st-chk:not(.s4) .st-chk__step:nth-child(3) {
	color: var(--muted);
}

.js .st-chk:not(.s2) .st-chk__step:nth-child(1) .mk-tick,
.js .st-chk:not(.s3) .st-chk__step:nth-child(2) .mk-tick,
.js .st-chk:not(.s4) .st-chk__step:nth-child(3) .mk-tick {
	background: var(--grey-2);
}

.js .st-chk:not(.s2) .st-chk__step:nth-child(1) .mk-tick .rc-icon,
.js .st-chk:not(.s3) .st-chk__step:nth-child(2) .mk-tick .rc-icon,
.js .st-chk:not(.s4) .st-chk__step:nth-child(3) .mk-tick .rc-icon {
	opacity: 0;
	transform: scale(.4);
}

.js .st-chk.s1:not(.s2) .st-chk__step:nth-child(1) .mk-tick i,
.js .st-chk.s2:not(.s3) .st-chk__step:nth-child(2) .mk-tick i,
.js .st-chk.s3:not(.s4) .st-chk__step:nth-child(3) .mk-tick i {
	opacity: 1;
}

.js .st-chk:not(.s5) .st-chk__mail {
	opacity: 0;
	transform: translateY(10px);
}

.js .st-chk:not(.s6) .st-chk__done {
	opacity: 0;
	transform: translateY(12px) scale(.96);
}

/* Guest emails (story: st-mail) */
.st-mails {
	margin-top: clamp(40px, 2rem + 2vw, 64px);
	padding-top: clamp(28px, 1.5rem + 1vw, 40px);
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.st-mails__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 24px;
	margin-bottom: 20px;
}

.st-mails__head strong {
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -.025em;
}

.st-mails__head span {
	color: rgba(255, 255, 255, .7);
	font-size: 14.5px;
}

.st-mails__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.st-mail {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 14px;
	background: rgba(255, 255, 255, .07);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.3;
	transition: opacity .45s var(--ease), background-color .45s, border-color .45s;
}

.st-mail__ic {
	display: grid;
	flex: none;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--yellow);
	color: var(--ink);
	transition: transform .55s var(--spring), background-color .4s, color .4s;
}

.st-mail__ic .rc-icon {
	width: 16px;
	height: 16px;
}

.js .st-mails__list:not(.s1) .st-mail:nth-child(1),
.js .st-mails__list:not(.s2) .st-mail:nth-child(2),
.js .st-mails__list:not(.s3) .st-mail:nth-child(3),
.js .st-mails__list:not(.s4) .st-mail:nth-child(4),
.js .st-mails__list:not(.s5) .st-mail:nth-child(5),
.js .st-mails__list:not(.s6) .st-mail:nth-child(6),
.js .st-mails__list:not(.s7) .st-mail:nth-child(7),
.js .st-mails__list:not(.s8) .st-mail:nth-child(8) {
	border-color: rgba(255, 255, 255, .06);
	background: transparent;
	opacity: .45;
}

.js .st-mails__list:not(.s1) .st-mail:nth-child(1) .st-mail__ic,
.js .st-mails__list:not(.s2) .st-mail:nth-child(2) .st-mail__ic,
.js .st-mails__list:not(.s3) .st-mail:nth-child(3) .st-mail__ic,
.js .st-mails__list:not(.s4) .st-mail:nth-child(4) .st-mail__ic,
.js .st-mails__list:not(.s5) .st-mail:nth-child(5) .st-mail__ic,
.js .st-mails__list:not(.s6) .st-mail:nth-child(6) .st-mail__ic,
.js .st-mails__list:not(.s7) .st-mail:nth-child(7) .st-mail__ic,
.js .st-mails__list:not(.s8) .st-mail:nth-child(8) .st-mail__ic {
	background: rgba(255, 255, 255, .12);
	color: #fff;
	transform: scale(.82);
}

/* Payments CTA ============================================================ */

.st-pay__panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
	gap: 56px;
	align-items: center;
	padding: clamp(28px, 1rem + 4vw, 72px);
	overflow: hidden;
	border-radius: var(--radius-xl);
	background:
		radial-gradient(60% 55% at 12% 8%, rgba(4, 111, 123, .1), transparent 70%),
		radial-gradient(50% 60% at 92% 95%, rgba(251, 201, 1, .26), transparent 70%),
		linear-gradient(160deg, #eef6f6 0%, #f6faf8 50%, #fdf8e4 100%);
	isolation: isolate;
}

.st-pay__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(4, 111, 123, .07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(4, 111, 123, .07) 1px, transparent 1px);
	background-size: 72px 72px;
	-webkit-mask-image: radial-gradient(70% 70% at 75% 40%, #000 25%, transparent 85%);
	mask-image: radial-gradient(70% 70% at 75% 40%, #000 25%, transparent 85%);
}

.st-pay__copy .rc-chip--hero {
	margin-bottom: 18px;
}

.st-pay__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

/* Earnings wallet (story: st-pay) */
.st-wal {
	width: 100%;
	max-width: 450px;
	margin-left: auto;
	padding: 24px;
}

.st-wal__bal {
	display: grid;
	justify-items: start;
	margin: 2px 0 14px;
}

.st-wal__list {
	display: grid;
}

.st-wal__row {
	display: flex;
	align-items: center;
	gap: 12px;
	max-height: 80px;
	padding: 11px 0;
	border-top: 1px solid var(--line);
	transition: max-height .6s var(--ease), padding .6s var(--ease), opacity .5s var(--ease), transform .6s var(--ease), border-color .4s;
}

.st-wal__row--new {
	overflow: hidden;
}

.st-wal__ic {
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	background: var(--grey);
	color: var(--ink-2);
}

.st-wal__ic .rc-icon {
	width: 17px;
	height: 17px;
}

.st-wal__ic--in {
	background: var(--yellow);
	color: var(--ink);
}

.st-wal__who {
	flex: 1;
	min-width: 0;
}

.st-wal__who strong,
.st-wal__who small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.st-wal__who strong {
	font-size: 13.5px;
	font-weight: 700;
}

.st-wal__who small {
	color: var(--muted);
	font-size: 12px;
}

.st-wal__row b {
	color: var(--teal);
	font-size: 13.5px;
	font-weight: 800;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.st-wal__foot {
	display: grid;
	margin-top: 10px;
}

.st-wal__go {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 9px 9px 10px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--grey);
}

.st-wal__bank {
	flex: 1;
	min-width: 0;
}

.st-wal__bank strong,
.st-wal__bank small {
	display: block;
}

.st-wal__bank strong {
	font-size: 13px;
	font-weight: 700;
}

.st-wal__bank small {
	color: var(--muted);
	font-size: 12px;
}

.st-wal__go .st-bank__ic {
	background: #fff;
}

.st-wal__sent {
	margin-top: 0;
	padding: 9px 12px;
}

.st-wal__sent .mk-darkbar__icon {
	width: 36px;
	height: 36px;
	border-color: transparent;
	background: var(--yellow);
	color: var(--ink);
}

.js .st-wal:not(.s1) .st-wal__row--new {
	max-height: 0;
	padding-top: 0;
	padding-bottom: 0;
	border-top-color: transparent;
	opacity: 0;
	transform: translateY(-10px);
}

.js .st-wal:not(.s6) .st-tri > :last-child {
	opacity: 0;
	transform: translateY(8px);
}

.js .st-wal.s2:not(.s6) .st-tri > :nth-child(2),
.js .st-wal:not(.s2) .st-tri > :first-child {
	opacity: 1;
	transform: none;
}

.js .st-wal.s3:not(.s5) .st-cur {
	opacity: 1;
	transform: none;
}

.js .st-wal.s4:not(.s5) .st-cur {
	transform: scale(.82);
}

.js .st-wal.s4:not(.s5) .st-wal__btn {
	background: var(--teal-deep);
	transform: scale(.94);
}

.js .st-wal:not(.s6) .st-wal__foot {
	--st-a: 1;
}

/* Responsive ============================================================== */

@media (max-width: 1180px) {
	.st-hero {
		gap: 16px;
	}

	.st-hero .rc-hero__col {
		gap: 16px;
	}

	.st-ops__grid,
	.st-stay__grid,
	.st-pay__panel {
		gap: 40px;
	}
}

@media (max-width: 1024px) {
	.st-card--list {
		grid-column: span 12;
	}

	.st-card--price,
	.st-card--cal,
	.st-card--auto,
	.st-card--rules {
		grid-column: span 6;
	}

	.st-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 32px;
	}

	.st-steps::before,
	.st-steps::after {
		display: none;
	}

	.st-ops__grid,
	.st-stay__grid,
	.st-pay__panel {
		grid-template-columns: minmax(0, 1fr);
	}

	.st-ops__copy,
	.st-stay__copy {
		max-width: 640px;
	}

	.st-wal {
		margin-left: 0;
	}

	.st-mails__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Tablet: two columns of hero cards (main.css hides the third), scaled so whole cards read. */
@media (max-width: 960px) {
	.st-hero {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 0 12px;
		zoom: .8;
	}

	.rc-inner--shortlets .rc-ihero__stage {
		height: 360px;
	}
}

@media (max-width: 760px) {
	.st-hero {
		padding: 0;
		zoom: .6;
	}

	.rc-inner--shortlets .rc-ihero__stage {
		height: 232px;
	}

	.st-card--list,
	.st-card--price,
	.st-card--cal,
	.st-card--auto,
	.st-card--rules {
		grid-column: span 12;
		min-height: 0;
	}

	.st-lst__rooms {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.st-lst__rooms > span:first-child {
		grid-column: span 4;
	}

	.st-today__who small {
		white-space: normal;
	}

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

	.st-step {
		display: grid;
		grid-template-columns: 56px minmax(0, 1fr);
		column-gap: 18px;
		padding-bottom: 30px;
	}

	.st-step:last-child {
		padding-bottom: 0;
	}

	.st-step::before {
		content: "";
		position: absolute;
		top: 56px;
		bottom: 0;
		left: 27px;
		width: 2px;
		background: var(--line-2);
	}

	.st-step:last-child::before {
		display: none;
	}

	.st-step__icon {
		grid-row: 1 / span 3;
	}

	.st-step__no {
		justify-self: start;
		margin-top: 4px;
	}

	.st-step__title {
		margin-top: 10px;
	}

	.st-why {
		margin-top: 44px;
	}

	.st-ops__stage {
		padding: 14px;
		border-radius: var(--radius-lg);
	}

	.st-ops__stats {
		gap: 8px;
	}

	.st-stat {
		padding: 12px;
	}

	.st-stat b {
		font-size: 24px;
	}

	.st-ops__stage .mk-card--lg {
		padding: 16px;
	}

	.st-tl__grid {
		grid-template-columns: 78px repeat(7, minmax(0, 1fr));
	}

	.st-tl__day {
		font-size: 10px;
	}

	.st-tl__bar {
		margin: 0 2px;
		padding: 0 6px;
		font-size: 10.5px;
	}

	.st-stay__panel,
	.st-pay__panel {
		border-radius: var(--radius-lg);
	}

	.st-chk {
		padding: 16px;
	}

	.st-mails__head strong {
		font-size: 19px;
	}

	.st-mail {
		padding: 10px 11px;
		font-size: 12.5px;
	}

	.st-wal {
		padding: 18px;
	}
}

@media (max-width: 420px) {
	.st-mail {
		gap: 8px;
		padding: 9px;
	}

	.st-mail__ic {
		width: 28px;
		height: 28px;
	}

	.st-price__chips .mk-pill {
		font-size: 11.5px;
	}
}
