/**
 * Chaya Suite — members: header profile link, earn line, points box,
 * account dashboard and rewards page, competitions, getting-started page
 * and the guided tour.
 *
 * Reads the shared tokens in base.css. Flatsome styles bare elements
 * heavily, so everything is scoped to a component class.
 */

/* ===================================================== header profile */

.chaya-acct-li > .chaya-acct-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 2px;
	color: inherit;
	line-height: 1;
	text-decoration: none;
}

.chaya-acct-link__icon {
	display: inline-flex;
	width: 22px;
	height: 22px;
}

.chaya-acct-link__icon .chaya-icon {
	width: 22px;
	height: 22px;
	stroke-width: 1.6;
}

.chaya-acct-link__pts {
	display: inline-flex;
	align-items: center;
	min-width: 22px;
	height: 20px;
	padding: 0 7px;
	border-radius: 999px;
	background: #d56688;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .02em;
	font-variant-numeric: tabular-nums;
	box-shadow: 0 1px 2px rgba(162, 58, 92, .25);
	transition: transform .2s ease;
}

.chaya-acct-link:hover .chaya-acct-link__pts { transform: translateY(-1px); }

.mobile-nav .chaya-acct-link__pts { display: none; }

/* ========================================================= earn line */

.chaya.chaya-earn {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 4px 0 16px;
	padding: 7px 14px 7px 9px;
	border: 1px solid rgba(213, 102, 136, .28);
	border-radius: var(--chaya-radius-pill);
	background: linear-gradient(90deg, rgba(213, 102, 136, .08), rgba(213, 102, 136, .02));
	color: var(--chaya-ink-2);
	font-size: var(--chaya-text-sm);
	line-height: 1.3;
}

.chaya.chaya-earn .chaya-icon {
	width: 20px;
	height: 20px;
	color: var(--chaya-rose-deep);
}

.chaya.chaya-earn strong { color: var(--chaya-ink); font-weight: 700; }

.chaya.chaya-earn a {
	color: var(--chaya-teal);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ======================================================== points box */

.chaya.chaya-points-box {
	position: relative;
	margin: 0 0 20px;
	padding: 18px 18px 14px;
	border: 1px solid var(--chaya-line);
	border-radius: var(--chaya-radius);
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(213, 102, 136, .09), transparent 55%),
		linear-gradient(180deg, #fff, var(--chaya-paper));
	box-shadow: var(--chaya-shadow-1);
	transition: opacity .2s ease;
}

.chaya.chaya-points-box.is-busy { opacity: .6; pointer-events: none; }

.chaya-points-box__head {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.chaya-points-box__icon {
	display: inline-flex;
	flex: 0 0 38px;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--chaya-teal);
	color: #fff;
}

.chaya-points-box__icon .chaya-icon { width: 21px; height: 21px; }

.chaya-points-box__head strong {
	display: block;
	color: var(--chaya-heading);
	font-size: 1rem;
	line-height: 1.3;
}

.chaya-points-box__head span {
	display: block;
	margin-top: 2px;
	color: var(--chaya-ink-2);
	font-size: var(--chaya-text-sm);
	line-height: 1.45;
}

.chaya-points-box__head span b { color: var(--chaya-ink); }

.chaya-points-box__head a {
	color: var(--chaya-teal);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.chaya-points-box__use { margin-top: 14px; }

.chaya-points-box__use input[type="range"] {
	--fill: 50%;
	display: block;
	width: 100%;
	height: 22px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.chaya-points-box__use input[type="range"]::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--chaya-rose) var(--fill), var(--chaya-line) var(--fill));
}

.chaya-points-box__use input[type="range"]::-moz-range-track {
	height: 6px;
	border-radius: 999px;
	background: var(--chaya-line);
}

.chaya-points-box__use input[type="range"]::-moz-range-progress {
	height: 6px;
	border-radius: 999px;
	background: var(--chaya-rose);
}

.chaya-points-box__use input[type="range"]::-webkit-slider-thumb {
	width: 22px;
	height: 22px;
	margin-top: -8px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--chaya-rose-deep);
	box-shadow: 0 1px 4px rgba(11, 31, 29, .3);
	-webkit-appearance: none;
	transition: transform .15s ease;
}

.chaya-points-box__use input[type="range"]::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--chaya-rose-deep);
	box-shadow: 0 1px 4px rgba(11, 31, 29, .3);
}

.chaya-points-box__use input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }

.chaya-points-box__use input[type="range"]:focus-visible { outline: none; }
.chaya-points-box__use input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: var(--chaya-focus); }

.chaya-points-box__row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
}

.chaya-points-box__row output {
	color: var(--chaya-ink);
	font-size: .9375rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.chaya .chaya-points-box__apply,
.chaya .chaya-points-box__remove {
	min-height: 0;
	margin: 0;
	padding: 8px 18px;
	border-radius: var(--chaya-radius-pill);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.3;
	text-transform: none;
}

.chaya .chaya-points-box__apply {
	border: 0;
	background: var(--chaya-teal);
	color: #fff;
}

.chaya .chaya-points-box__apply:hover { background: #00302e; color: #fff; }

.chaya-points-box__applied {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	margin-top: 14px;
	padding: 10px 12px 10px 14px;
	border-radius: var(--chaya-radius-sm);
	background: rgba(0, 70, 67, .07);
	color: var(--chaya-ink);
	font-size: .875rem;
}

.chaya-points-box__applied .woocommerce-Price-amount { font-weight: 700; color: var(--chaya-teal); }

.chaya .chaya-points-box__remove {
	border: 1px solid var(--chaya-line-strong);
	background: #fff;
	color: var(--chaya-ink-2);
}

.chaya .chaya-points-box__remove:hover { border-color: var(--chaya-rose-deep); color: var(--chaya-rose-deep); }

.chaya-points-box__note {
	margin: 12px 0 0;
	color: var(--chaya-ink-2);
	font-size: var(--chaya-text-sm);
}

.chaya-points-box__msg {
	margin: 0;
	font-size: var(--chaya-text-sm);
}

.chaya-points-box__msg:not(:empty) { margin-top: 10px; }
.chaya-points-box__msg.is-error { color: #b42318; }

.woocommerce-checkout .chaya.chaya-points-box { margin-bottom: 24px; }

/* ================================================= account dashboard */

.chaya.chaya-acct {
	display: grid;
	gap: 20px;
	margin-bottom: 24px;
}

.chaya-acct__hero {
	--chaya-progress: 0%;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px 28px;
	align-items: center;
	padding: 28px 30px 24px;
	overflow: hidden;
	border-radius: 18px;
	background:
		radial-gradient(90% 120% at 100% 0%, rgba(213, 102, 136, .32), transparent 55%),
		radial-gradient(70% 90% at 0% 100%, rgba(255, 255, 255, .08), transparent 60%),
		linear-gradient(135deg, #00514d 0%, #004643 45%, #00302e 100%);
	color: #fff;
	box-shadow: 0 18px 40px -18px rgba(0, 48, 46, .55);
	isolation: isolate;
}

.chaya-acct__hero::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -60px;
	z-index: -1;
	width: 260px;
	height: 260px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 18.5c-3.5 0-7-2.2-8.5-5.8 2.6-.6 5.6.2 8.5 3 2.9-2.8 5.9-3.6 8.5-3-1.5 3.6-5 5.8-8.5 5.8z'/%3E%3Cpath d='M12 15.7c-1.9-2.2-2.8-5.2-2.2-9.2 1.1.8 1.9 1.7 2.2 2.6.3-.9 1.1-1.8 2.2-2.6.6 4-.3 7-2.2 9.2z'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: .1;
	pointer-events: none;
}

.chaya-acct__who {
	display: flex;
	gap: 16px;
	align-items: center;
	min-width: 0;
}

.chaya-acct__avatar {
	display: inline-flex;
	flex: 0 0 64px;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border: 2px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	background: linear-gradient(140deg, #e28aa5, #a23a5c);
	color: #fff;
	font-family: Trirong, Georgia, serif;
	font-size: 1.75rem;
	font-weight: 600;
	line-height: 1;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

.chaya-acct__avatar--icon .chaya-icon { width: 32px; height: 32px; }

.chaya .chaya-acct__hello {
	margin: 0;
	color: rgba(255, 255, 255, .78);
	font-size: .875rem;
	letter-spacing: .02em;
}

.chaya .chaya-acct__name {
	margin: 2px 0 8px;
	color: #fff;
	font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.chaya .chaya-acct__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	align-items: center;
	margin: 0;
	color: rgba(255, 255, 255, .8);
	font-size: .8125rem;
}

.chaya-acct__tier,
.chaya-acct__dosha {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 10px 3px 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-weight: 600;
	letter-spacing: .02em;
	backdrop-filter: blur(4px);
}

.chaya-acct__tier .chaya-icon { width: 15px; height: 15px; }

.chaya-acct__tier.chaya-tier--sprout { background: rgba(168, 214, 170, .25); }
.chaya-acct__tier.chaya-tier--bloom  { background: rgba(240, 169, 192, .3); }
.chaya-acct__tier.chaya-tier--lotus  { background: linear-gradient(90deg, rgba(244, 214, 170, .4), rgba(240, 169, 192, .4)); }

.chaya-acct__dosha::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--chaya-dosha, #fff);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .5);
}

.chaya-acct__points {
	display: grid;
	justify-items: end;
	padding: 14px 20px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 14px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	text-align: right;
	text-decoration: none;
	backdrop-filter: blur(6px);
	transition: background-color .2s ease, transform .2s ease;
}

.chaya-acct__points:hover {
	background: rgba(255, 255, 255, .14);
	color: #fff;
	transform: translateY(-1px);
}

.chaya-acct__points-num {
	font-family: Trirong, Georgia, serif;
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.chaya-acct__points-label {
	margin-top: 4px;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	opacity: .85;
}

.chaya-acct__points-worth {
	margin-top: 2px;
	font-size: .8125rem;
	opacity: .8;
}

.chaya-acct__points-worth .woocommerce-Price-amount { color: inherit; }

.chaya-acct__progress { grid-column: 1 / -1; }

.chaya-acct__bar {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
}

.chaya-acct__bar span {
	display: block;
	width: var(--chaya-progress);
	min-width: 8px;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #f0a9c0, #d56688);
	box-shadow: 0 0 12px rgba(240, 169, 192, .6);
	animation: chaya-grow 1.2s cubic-bezier(.2, .7, .2, 1) both;
	transform-origin: left center;
}

@keyframes chaya-grow {
	from { transform: scaleX(0); }
}

.chaya .chaya-acct__progress p {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, .8);
	font-size: .8125rem;
}

/* Compact hero on the Rewards page. */
.chaya-acct__hero--compact { padding: 24px 26px 20px; }

/* Profile nudge. */
.chaya-acct__nudge,
.chaya-acct__comp {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 14px 18px;
	border: 1px dashed rgba(213, 102, 136, .5);
	border-radius: 14px;
	background: rgba(213, 102, 136, .06);
	color: var(--chaya-ink);
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease;
}

.chaya-acct__nudge:hover,
.chaya-acct__comp:hover {
	border-color: var(--chaya-rose);
	background: rgba(213, 102, 136, .1);
	color: var(--chaya-ink);
}

.chaya-acct__nudge > span:nth-child(2),
.chaya-acct__comp > span:nth-child(2) {
	flex: 1;
	min-width: 0;
	color: var(--chaya-ink-2);
	font-size: .875rem;
	line-height: 1.45;
}

.chaya-acct__nudge strong,
.chaya-acct__comp strong {
	display: block;
	color: var(--chaya-ink);
	font-size: .9375rem;
}

.chaya-acct__comp small {
	display: block;
	color: var(--chaya-rose-deep);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.chaya-acct__nudge-icon,
.chaya-acct__comp-icon {
	display: inline-flex;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff;
	color: var(--chaya-rose-deep);
	box-shadow: var(--chaya-shadow-1);
}

.chaya-acct__nudge > .chaya-icon,
.chaya-acct__comp > .chaya-icon {
	flex: 0 0 20px;
	width: 20px;
	color: var(--chaya-rose-deep);
	transition: transform .2s ease;
}

.chaya-acct__nudge:hover > .chaya-icon,
.chaya-acct__comp:hover > .chaya-icon { transform: translateX(3px); }

.chaya-acct__comp {
	border-style: solid;
	border-color: var(--chaya-line);
	background:
		radial-gradient(100% 160% at 100% 50%, rgba(0, 70, 67, .08), transparent 60%),
		#fff;
}

.chaya-acct__comp-icon { background: var(--chaya-teal); color: #fff; }

/* Quick links. */
.chaya-acct__tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}

.chaya-acct__tile {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 16px;
	border: 1px solid var(--chaya-line);
	border-radius: 14px;
	background: #fff;
	color: var(--chaya-ink);
	text-decoration: none;
	box-shadow: var(--chaya-shadow-1);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.chaya-acct__tile:hover {
	border-color: var(--chaya-line-strong);
	color: var(--chaya-ink);
	box-shadow: var(--chaya-shadow-2);
	transform: translateY(-2px);
}

.chaya-acct__tile-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 10px;
	border-radius: 11px;
	background: var(--chaya-paper);
	color: var(--chaya-teal);
	transition: background-color .2s ease, color .2s ease;
}

.chaya-acct__tile-icon .chaya-icon { width: 20px; height: 20px; }

.chaya-acct__tile:hover .chaya-acct__tile-icon { background: var(--chaya-teal); color: #fff; }

.chaya-acct__tile strong { font-size: .9375rem; line-height: 1.3; }
.chaya-acct__tile span:last-child { color: var(--chaya-ink-2); font-size: .8125rem; line-height: 1.4; }

/* Cards. */
.chaya-acct__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.chaya-acct__card {
	padding: 20px 22px;
	border: 1px solid var(--chaya-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--chaya-shadow-1);
}

.chaya-acct__card-head {
	display: flex;
	gap: 12px;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--chaya-line);
}

.chaya .chaya-acct__card-head h3 {
	margin: 0;
	color: var(--chaya-heading);
	font-size: 1.0625rem;
	line-height: 1.3;
}

.chaya-acct__card-head a {
	color: var(--chaya-teal);
	font-size: .8125rem;
	font-weight: 600;
	white-space: nowrap;
}

.chaya .chaya-acct__orders,
.chaya .chaya-acct__ways,
.chaya .chaya-acct__history,
.chaya .chaya-acct__ladder {
	margin: 0;
	padding: 0;
	list-style: none;
}

.chaya .chaya-acct__orders li,
.chaya .chaya-acct__history li,
.chaya .chaya-acct__ways li,
.chaya .chaya-acct__ladder li { margin: 0; }

.chaya-acct__orders li + li { border-top: 1px solid var(--chaya-line); }

.chaya-acct__orders a {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin: 0 -10px;
	padding: 11px 10px;
	border-radius: 10px;
	color: var(--chaya-ink);
	text-decoration: none;
	transition: background-color .15s ease;
}

.chaya-acct__orders a:hover { background: var(--chaya-paper); color: var(--chaya-ink); }

.chaya-acct__order-main {
	display: grid;
	min-width: 0;
}

.chaya-acct__order-main strong { font-size: .9375rem; }

.chaya-acct__order-main span {
	overflow: hidden;
	color: var(--chaya-ink-2);
	font-size: .8125rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.chaya-acct__order-side {
	display: grid;
	flex: 0 0 auto;
	gap: 3px;
	justify-items: end;
	font-size: .8125rem;
	font-variant-numeric: tabular-nums;
}

.chaya-acct__status {
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--chaya-paper);
	color: var(--chaya-ink-2);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.chaya-acct__status--processing { background: #e2eef3; color: #1f5c75; }
.chaya-acct__status--completed  { background: #e3f1ea; color: #1d6b47; }
.chaya-acct__status--on-hold,
.chaya-acct__status--pending    { background: #fbf0dc; color: #8a5a00; }
.chaya-acct__status--cancelled,
.chaya-acct__status--failed,
.chaya-acct__status--refunded   { background: #fbe9e7; color: #a03322; }

.chaya-acct__won {
	color: var(--chaya-rose-deep);
	font-weight: 700;
}

.chaya-acct__empty {
	padding: 18px 4px 6px;
	color: var(--chaya-ink-2);
	text-align: center;
}

.chaya .chaya-acct__empty p { margin: 0 0 12px; font-size: .9375rem; }
.chaya .chaya-acct__empty .button { margin: 0; border-radius: var(--chaya-radius-pill); }

/* Tier ladder. */
.chaya-acct__ladder { position: relative; }

.chaya-acct__ladder li {
	position: relative;
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr) auto;
	gap: 4px 12px;
	align-items: center;
	padding: 10px 0;
	color: var(--chaya-ink-2);
	font-size: .8125rem;
}

.chaya-acct__ladder li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 30px;
	bottom: -10px;
	left: 10px;
	width: 2px;
	border-radius: 2px;
	background: var(--chaya-line);
}

.chaya-acct__ladder li.is-past::after { background: var(--chaya-rose); }

.chaya-acct__ladder strong { color: var(--chaya-ink); font-size: .9375rem; }

.chaya-acct__ladder-dot {
	position: relative;
	z-index: 1;
	width: 22px;
	height: 22px;
	border: 2px solid var(--chaya-line-strong);
	border-radius: 50%;
	background: #fff;
}

.chaya-acct__ladder li.is-past .chaya-acct__ladder-dot {
	border-color: var(--chaya-rose);
	background: var(--chaya-rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.chaya-acct__ladder li.is-current .chaya-acct__ladder-dot {
	border-color: var(--chaya-teal);
	background: var(--chaya-teal);
	box-shadow: 0 0 0 5px rgba(0, 70, 67, .14);
}

.chaya-acct__ladder li.is-current strong { color: var(--chaya-teal); }

/* Ways to earn / use. */
.chaya-acct__ways li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 0;
	color: var(--chaya-ink-2);
	font-size: .875rem;
	line-height: 1.5;
}

.chaya-acct__ways li + li { border-top: 1px solid var(--chaya-line); }

.chaya-acct__ways strong {
	display: block;
	color: var(--chaya-ink);
	font-size: .9375rem;
}

.chaya-acct__ways a {
	display: inline-block;
	margin-left: 2px;
	color: var(--chaya-teal);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.chaya-acct__way-icon {
	display: inline-flex;
	flex: 0 0 34px;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--chaya-paper);
	color: var(--chaya-teal);
}

.chaya-acct__way-icon .chaya-icon { width: 18px; height: 18px; }

.chaya-acct__ways li.is-done .chaya-acct__way-icon { background: #e3f1ea; color: #1d6b47; }
.chaya-acct__ways li.is-done strong { text-decoration: line-through; text-decoration-color: rgba(29, 107, 71, .5); }

/* Points history. */
.chaya-acct__history li {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
}

.chaya-acct__history li + li { border-top: 1px solid var(--chaya-line); }

.chaya-acct__history span { display: grid; min-width: 0; }
.chaya-acct__history strong { color: var(--chaya-ink); font-size: .9375rem; }
.chaya-acct__history small { color: var(--chaya-ink-2); font-size: .8125rem; }

.chaya-acct__history b {
	flex: 0 0 auto;
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
}

.chaya-acct__history b.is-plus  { color: #1d6b47; }
.chaya-acct__history b.is-minus { color: var(--chaya-rose-deep); }

.chaya .chaya-acct__out {
	margin: 0;
	color: var(--chaya-ink-2);
	font-size: .8125rem;
	text-align: center;
}

.chaya .chaya-acct__out a { color: var(--chaya-ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* Flatsome adds its own greeting above custom dashboards. */
.woocommerce-account .woocommerce-MyAccount-content > .chaya-acct:first-child { margin-top: 0; }

@media (max-width: 849px) {
	.chaya-acct__cols { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 599px) {
	.chaya-acct__hero {
		grid-template-columns: minmax(0, 1fr);
		padding: 22px 18px 18px;
		border-radius: 16px;
	}

	.chaya-acct__avatar {
		flex-basis: 52px;
		width: 52px;
		height: 52px;
		font-size: 1.4rem;
	}

	.chaya-acct__points {
		grid-template-columns: auto 1fr;
		gap: 0 10px;
		justify-items: start;
		align-items: baseline;
		padding: 12px 16px;
		text-align: left;
	}

	.chaya-acct__points-num { grid-row: span 2; font-size: 2rem; }
	.chaya-acct__points-label { margin-top: 0; }

	.chaya-acct__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.chaya-acct__tile { padding: 14px; }
	.chaya-acct__card { padding: 16px; }
}

/* ======================================================= competitions */

.chaya.chaya-comp {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	margin: 0 0 32px;
	overflow: hidden;
	border: 1px solid var(--chaya-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 70, 67, .05), 0 24px 48px -28px rgba(0, 70, 67, .35);
}

/* The pond: the prize photo (when set) under still water, with lily pads
   for everyone's entries and lotus flowers for yours. */
.chaya-comp__pond {
	--chaya-comp-img: none;
	position: relative;
	min-height: 340px;
	overflow: hidden;
	background:
		radial-gradient(80% 70% at 30% 25%, rgba(255, 255, 255, .35), transparent 60%),
		linear-gradient(180deg, rgba(0, 70, 67, .25), rgba(0, 48, 46, .55)),
		var(--chaya-comp-img) center / cover no-repeat,
		linear-gradient(160deg, #6fa59b 0%, #2f6f68 45%, #0f4642 100%);
	isolation: isolate;
}

.chaya-comp__pond::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.16' stroke-width='1.2'%3E%3Cpath d='M-20 60c60-14 120 14 180 0s120-14 180 0 120 14 120 0'/%3E%3Cpath d='M-20 140c60-14 120 14 180 0s120-14 180 0 120 14 120 0'/%3E%3Cpath d='M-20 220c60-14 120 14 180 0s120-14 180 0 120 14 120 0'/%3E%3C/g%3E%3C/svg%3E") center / 140% auto;
	opacity: .7;
	animation: chaya-water 14s ease-in-out infinite alternate;
	z-index: -1;
}

@keyframes chaya-water {
	from { transform: translate3d(-3%, 0, 0); }
	to   { transform: translate3d(3%, 2%, 0); }
}

.chaya-comp__ripple {
	position: absolute;
	top: 55%;
	left: 50%;
	width: 120px;
	height: 120px;
	margin: -60px 0 0 -60px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	animation: chaya-ripple 6s ease-out infinite;
	opacity: 0;
}

.chaya-comp__ripple + .chaya-comp__ripple { top: 30%; left: 28%; animation-delay: 3s; }

@keyframes chaya-ripple {
	0%   { transform: scale(.2); opacity: .9; }
	100% { transform: scale(3.2); opacity: 0; }
}

.chaya-comp__pad,
.chaya-comp__bloom {
	position: absolute;
	transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(var(--s, 1));
}

.chaya-comp__pad {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background:
		conic-gradient(from 20deg, transparent 0 22deg, #3e8a5f 22deg 360deg);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12), 0 3px 8px rgba(0, 30, 28, .3);
	opacity: .78;
	animation: chaya-float 9s ease-in-out infinite alternate;
	animation-delay: calc(var(--d, 0s) * -1);
}

@keyframes chaya-float {
	from { margin-top: -3px; }
	to   { margin-top: 3px; }
}

.chaya-comp__bloom {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 60%, #3e8a5f 0 58%, transparent 60%);
	color: #ffd3e0;
	filter: drop-shadow(0 4px 8px rgba(0, 30, 28, .35));
	animation: chaya-float 7s ease-in-out infinite alternate;
	animation-delay: calc(var(--d, 0s) * -1);
}

.chaya-comp__bloom .chaya-icon {
	width: 34px;
	height: 34px;
	fill: rgba(240, 169, 192, .85);
	stroke: #fff;
	stroke-width: 1.2;
}

.chaya-comp__bloom.is-new {
	animation: chaya-bloom .9s cubic-bezier(.2, 1.4, .4, 1) both, chaya-float 7s ease-in-out .9s infinite alternate;
}

@keyframes chaya-bloom {
	0%   { transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(0); opacity: 0; }
	60%  { opacity: 1; }
	100% { transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(var(--s, 1)); opacity: 1; }
}

.chaya-comp__pond.is-celebrating .chaya-comp__ripple { animation-duration: 2.4s; }

.chaya-comp__body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px 30px 24px;
}

.chaya .chaya-comp__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	color: var(--chaya-rose-deep);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.chaya-comp__eyebrow .chaya-icon { width: 18px; height: 18px; }

.chaya .chaya-comp__title {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.25;
}

.chaya .chaya-comp__title a { color: var(--chaya-heading); text-decoration: none; }

.chaya .chaya-comp__prize {
	margin: 0;
	color: var(--chaya-ink-2);
	font-size: 1rem;
	line-height: 1.4;
}

.chaya .chaya-comp__prize strong {
	display: block;
	color: var(--chaya-heading);
	font-family: Trirong, Georgia, serif;
	font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem);
	font-weight: 600;
	line-height: 1.2;
}

.chaya-comp__clock {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	max-width: 340px;
}

.chaya-comp__clock span {
	display: grid;
	justify-items: center;
	padding: 10px 4px 8px;
	border: 1px solid var(--chaya-line);
	border-radius: 12px;
	background: var(--chaya-paper);
}

.chaya-comp__clock b {
	color: var(--chaya-teal);
	font-family: Trirong, Georgia, serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.chaya-comp__clock small {
	margin-top: 4px;
	color: var(--chaya-ink-2);
	font-size: .6875rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.chaya .chaya-comp__stats {
	margin: 0;
	color: var(--chaya-ink-2);
	font-size: .875rem;
}

.chaya .chaya-comp__stats strong { color: var(--chaya-teal); }

.chaya .chaya-comp__act {
	display: grid;
	gap: 14px;
	margin: 4px 0 0;
}

.chaya .chaya-comp__act > p { margin: 0; color: var(--chaya-ink-2); font-size: .9375rem; }
.chaya .chaya-comp__act > .button { justify-self: start; margin: 0; border-radius: var(--chaya-radius-pill); }

.chaya .chaya-comp__quiz {
	margin: 0;
	padding: 0;
	border: 0;
}

.chaya .chaya-comp__quiz legend {
	width: auto;
	margin: 0 0 10px;
	padding: 0;
	border: 0;
	color: var(--chaya-ink);
	font-size: .9375rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: none;
}

.chaya-comp__quiz.is-shake { animation: chaya-shake .4s ease; }

@keyframes chaya-shake {
	20%, 60% { transform: translateX(-6px); }
	40%, 80% { transform: translateX(6px); }
}

.chaya .chaya-comp__choice {
	display: inline-flex;
	margin: 0 6px 8px 0;
	font-size: .875rem;
	font-weight: 500;
	cursor: pointer;
}

.chaya .chaya-comp__choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.chaya .chaya-comp__choice span {
	padding: 8px 16px;
	border: 1px solid var(--chaya-line-strong);
	border-radius: 999px;
	background: #fff;
	color: var(--chaya-ink);
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.chaya .chaya-comp__choice:hover span { border-color: var(--chaya-teal); }

.chaya .chaya-comp__choice input:checked + span {
	border-color: var(--chaya-teal);
	background: var(--chaya-teal);
	color: #fff;
}

.chaya .chaya-comp__choice input:focus-visible + span { box-shadow: var(--chaya-focus); }

.chaya-comp__extra {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--chaya-paper);
}

.chaya-comp__extra-label { display: grid; }
.chaya-comp__extra-label strong { color: var(--chaya-ink); font-size: .9375rem; }
.chaya-comp__extra-label small { color: var(--chaya-ink-2); font-size: .8125rem; }

.chaya-comp__stepper {
	display: inline-flex;
	align-items: center;
	overflow: hidden;
	border: 1px solid var(--chaya-line-strong);
	border-radius: 999px;
	background: #fff;
}

.chaya .chaya-comp__stepper button {
	width: 36px;
	height: 36px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--chaya-teal);
	font-size: 1.125rem;
	line-height: 1;
}

.chaya .chaya-comp__stepper button:hover { background: var(--chaya-paper); }

.chaya .chaya-comp__stepper input {
	width: 40px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--chaya-ink);
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
}

.chaya .chaya-comp__stepper input::-webkit-outer-spin-button,
.chaya .chaya-comp__stepper input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }

/* Hold to plant. */
.chaya .chaya-comp__hold {
	--p: 0;
	position: relative;
	display: flex;
	gap: 14px;
	align-items: center;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 10px 20px 10px 10px;
	overflow: hidden;
	border: 0;
	border-radius: 999px;
	background: var(--chaya-teal);
	color: #fff;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: 0 10px 24px -12px rgba(0, 70, 67, .7);
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	touch-action: none;
	-webkit-touch-callout: none;
	transition: transform .2s ease, box-shadow .2s ease;
}

.chaya .chaya-comp__hold::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #a23a5c, #d56688);
	transform: scaleX(var(--p));
	transform-origin: left center;
	z-index: 0;
}

.chaya .chaya-comp__hold:hover { box-shadow: 0 14px 28px -12px rgba(0, 70, 67, .75); transform: translateY(-1px); }
.chaya .chaya-comp__hold.is-holding { transform: scale(.985); }
.chaya .chaya-comp__hold:focus-visible { outline: none; box-shadow: var(--chaya-focus); }

.chaya-comp__hold-ring {
	position: relative;
	z-index: 1;
	display: inline-flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
}

.chaya-comp__hold-ring svg:first-child {
	position: absolute;
	inset: 0;
	width: 44px;
	height: 44px;
	transform: rotate(-90deg);
}

.chaya-comp__hold-ring circle {
	fill: none;
	stroke: #fff;
	stroke-width: 2.5;
	stroke-dasharray: 126;
	stroke-dashoffset: calc(126 - 126 * var(--p));
	stroke-linecap: round;
}

.chaya-comp__hold-ring .chaya-icon {
	width: 24px;
	height: 24px;
	transform: scale(calc(.9 + var(--p) * .3));
}

.chaya-comp__hold-text {
	position: relative;
	z-index: 1;
	display: grid;
	min-width: 0;
}

.chaya-comp__hold-text strong { font-size: .9375rem; line-height: 1.3; }
.chaya-comp__hold-text small { font-size: .75rem; opacity: .75; }

.chaya-comp.is-busy .chaya-comp__hold { cursor: progress; }
.chaya-comp.is-planted .chaya-comp__hold::before { transform: scaleX(1); }

.chaya .chaya-comp__note {
	margin: 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--chaya-paper);
	color: var(--chaya-ink-2);
	font-size: .875rem;
}

.chaya .chaya-comp__msg {
	margin: 0;
	font-size: .875rem;
	font-weight: 500;
}

.chaya .chaya-comp__msg:empty { display: none; }
.chaya .chaya-comp__msg.is-error { color: #b42318; }
.chaya .chaya-comp__msg.is-success { color: #1d6b47; }

.chaya-comp__result {
	padding: 14px 16px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(240, 169, 192, .18), rgba(0, 70, 67, .06));
}

.chaya .chaya-comp__result p { margin: 0 0 6px; color: var(--chaya-ink); }

.chaya .chaya-comp__result ul { margin: 0; padding: 0; list-style: none; }

.chaya .chaya-comp__result li {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0;
	padding: 4px 0;
	color: var(--chaya-ink);
	font-weight: 600;
}

.chaya-comp__result .chaya-icon { width: 20px; height: 20px; color: var(--chaya-rose-deep); }
.chaya-comp__result li.is-you { color: var(--chaya-rose-deep); }

.chaya-comp__terms {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--chaya-line);
	color: var(--chaya-ink-2);
	font-size: .8125rem;
}

.chaya-comp__terms summary {
	color: var(--chaya-ink-2);
	font-weight: 600;
	cursor: pointer;
}

.chaya-comp__terms p { margin: 8px 0 0; }

/* Listing. */
.chaya-comps {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
	margin-bottom: 32px;
}

.chaya-comps .chaya.chaya-comp,
.chaya.chaya-comp--compact {
	grid-template-columns: minmax(0, 1fr);
	margin: 0;
}

.chaya-comp--compact .chaya-comp__pond { min-height: 180px; }
.chaya-comp--compact .chaya-comp__body { gap: 10px; padding: 20px 22px 22px; }
.chaya-comp--compact .chaya-comp__clock { max-width: none; }
.chaya-comp--compact .chaya-comp__clock span { padding: 8px 2px 6px; }
.chaya-comp--compact .chaya-comp__clock b { font-size: 1.25rem; }
.chaya .chaya-comp--compact .chaya-comp__prize strong { font-size: 1.0625rem; font-family: inherit; }
.chaya .chaya-comp__more { align-self: flex-start; margin: 6px 0 0; border-radius: var(--chaya-radius-pill); }

.chaya-comp--closed .chaya-comp__pond,
.chaya-comp--drawn .chaya-comp__pond { filter: saturate(.8); }

.chaya.chaya-comps--empty {
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 24px;
	border: 1px dashed var(--chaya-line-strong);
	border-radius: 16px;
	background: var(--chaya-paper);
	color: var(--chaya-ink-2);
}

.chaya-comps__icon {
	display: inline-flex;
	flex: 0 0 52px;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fff;
	color: var(--chaya-teal);
}

.chaya-comps--empty p { margin: 0; }
.chaya-comps--empty strong { display: block; color: var(--chaya-ink); font-size: 1.0625rem; }

/* Competition pages use the blog template: hide the blog trimmings. */
.chaya-is-competition .entry-category,
.chaya-is-competition .entry-meta,
.chaya-is-competition .entry-divider,
.chaya-is-competition .badge.post-date,
.chaya-is-competition .blog-share,
.chaya-is-competition .entry-author,
.chaya-is-competition .navigation-post,
.chaya-is-competition .comments-area,
.chaya-is-competition .entry-image { display: none; }

@media (max-width: 849px) {
	.chaya.chaya-comp { grid-template-columns: minmax(0, 1fr); }
	.chaya-comp__pond { min-height: 220px; }
	.chaya-comp__body { padding: 22px 20px 20px; }
}

@media (max-width: 420px) {
	.chaya-comp__clock { gap: 6px; }
	.chaya-comp__clock b { font-size: 1.25rem; }
	.chaya-comps { grid-template-columns: minmax(0, 1fr); }
}

/* ====================================================== getting started */

.chaya.chaya-tut { margin: 0 0 40px; }

.chaya-tut__head {
	display: grid;
	justify-items: center;
	max-width: 640px;
	margin: 0 auto 32px;
	text-align: center;
}

.chaya-tut__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: rgba(213, 102, 136, .12);
	color: var(--chaya-rose-deep);
}

.chaya-tut__mark .chaya-icon { width: 30px; height: 30px; }

.chaya .chaya-tut__head h2 { margin: 0 0 8px; color: var(--chaya-heading); }
.chaya .chaya-tut__head p { margin: 0 0 20px; color: var(--chaya-ink-2); font-size: 1.0625rem; }

.chaya .chaya-tut__start {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	margin: 0;
	padding: 10px 24px;
	border-radius: var(--chaya-radius-pill);
	text-transform: none;
	letter-spacing: .01em;
}

.chaya-tut__start .chaya-icon { width: 20px; height: 20px; }

.chaya .chaya-tut__cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.chaya .chaya-tut__card {
	position: relative;
	margin: 0;
	padding: 22px 22px 20px;
	border: 1px solid var(--chaya-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--chaya-shadow-1);
	animation: chaya-rise .6s cubic-bezier(.2, .7, .2, 1) both;
	animation-delay: calc(var(--i, 1) * 70ms);
	transition: transform .2s ease, box-shadow .2s ease;
}

.chaya .chaya-tut__card:hover { box-shadow: var(--chaya-shadow-2); transform: translateY(-2px); }

@keyframes chaya-rise {
	from { opacity: 0; transform: translateY(12px); }
}

.chaya-tut__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 14px;
	border-radius: 13px;
	background: var(--chaya-teal);
	color: #fff;
}

.chaya-tut__icon .chaya-icon { width: 22px; height: 22px; }

.chaya-tut__num {
	position: absolute;
	top: 18px;
	right: 20px;
	color: var(--chaya-line-strong);
	font-family: Trirong, Georgia, serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1;
}

.chaya .chaya-tut__card h3 { margin: 0 0 6px; color: var(--chaya-heading); font-size: 1.0625rem; line-height: 1.3; }
.chaya .chaya-tut__card p { margin: 0; color: var(--chaya-ink-2); font-size: .9375rem; line-height: 1.55; }

/* ============================================================== tour */

.chaya.chaya-tour {
	position: fixed;
	inset: 0;
	z-index: 100000;
	pointer-events: none;
}

.chaya-tour__spot {
	position: fixed;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	border-radius: 14px;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 0 0 6px rgba(213, 102, 136, .45), 0 0 0 200vmax rgba(7, 24, 22, .58);
	opacity: 0;
	pointer-events: none;
	transition: transform .45s cubic-bezier(.2, .7, .2, 1), width .45s cubic-bezier(.2, .7, .2, 1), height .45s cubic-bezier(.2, .7, .2, 1), opacity .25s ease;
}

.chaya-tour.is-open .chaya-tour__spot { opacity: 1; }

.chaya-tour__card {
	position: fixed;
	top: 0;
	left: 0;
	width: min(360px, calc(100vw - 32px));
	padding: 20px 20px 16px;
	border-radius: 16px;
	background: #fff;
	color: var(--chaya-ink);
	box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .45);
	pointer-events: auto;
	opacity: 0;
	transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .25s ease;
}

.chaya-tour.is-open .chaya-tour__card { opacity: 1; }
.chaya-tour__card:focus { outline: none; }

.chaya-tour__card.is-in .chaya-tour__title,
.chaya-tour__card.is-in .chaya-tour__text { animation: chaya-rise .4s ease both; }

.chaya-tour__card.is-sheet {
	top: auto;
	right: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom));
	left: 12px;
	width: auto;
	transform: none;
}

.chaya-tour__card.is-sheet.is-top { top: calc(12px + env(safe-area-inset-top)); bottom: auto; }

.chaya .chaya-tour__x {
	position: absolute;
	top: 10px;
	right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--chaya-ink-2);
}

.chaya .chaya-tour__x:hover { background: var(--chaya-paper); color: var(--chaya-ink); }
.chaya-tour__x .chaya-icon { width: 18px; height: 18px; }

.chaya .chaya-tour__count {
	margin: 0 0 6px;
	color: var(--chaya-rose-deep);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.chaya .chaya-tour__title {
	margin: 0 36px 6px 0;
	color: var(--chaya-heading);
	font-size: 1.125rem;
	line-height: 1.3;
}

.chaya .chaya-tour__text {
	margin: 0;
	color: var(--chaya-ink-2);
	font-size: .9375rem;
	line-height: 1.55;
}

.chaya-tour__foot {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin-top: 16px;
}

.chaya-tour__dots { display: inline-flex; gap: 6px; }

.chaya-tour__dots i {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: var(--chaya-line-strong);
	transition: width .25s ease, background-color .25s ease;
}

.chaya-tour__dots i.is-on { width: 18px; background: var(--chaya-rose); }

.chaya-tour__btns { display: inline-flex; gap: 6px; align-items: center; }

.chaya .chaya-tour__back,
.chaya .chaya-tour__next {
	min-height: 0;
	margin: 0;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.3;
	text-transform: none;
}

.chaya .chaya-tour__back {
	border: 0;
	background: transparent;
	color: var(--chaya-ink-2);
}

.chaya .chaya-tour__back:hover { background: var(--chaya-paper); color: var(--chaya-ink); }

/* First-visit invitation. */
.chaya.chaya-tour-invite {
	position: fixed;
	bottom: calc(88px + env(safe-area-inset-bottom));
	left: 50%;
	z-index: 99990;
	display: flex;
	gap: 14px;
	align-items: center;
	width: min(520px, calc(100vw - 24px));
	padding: 14px 14px 14px 16px;
	border: 1px solid rgba(255, 255, 255, .6);
	border-radius: 18px;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 24px 50px -18px rgba(0, 48, 46, .45);
	opacity: 0;
	transform: translate(-50%, 16px);
	transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
	backdrop-filter: blur(12px) saturate(1.2);
	-webkit-backdrop-filter: blur(12px) saturate(1.2);
}

.chaya-tour-invite.is-open { opacity: 1; transform: translate(-50%, 0); }

.chaya-tour-invite__icon {
	display: inline-flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--chaya-teal);
	color: #fff;
}

.chaya-tour-invite__icon .chaya-icon { width: 24px; height: 24px; }

.chaya-tour-invite__text {
	display: grid;
	flex: 1;
	min-width: 0;
	color: var(--chaya-ink-2);
	font-size: .875rem;
	line-height: 1.4;
}

.chaya-tour-invite__text strong { color: var(--chaya-ink); font-size: .9375rem; }

.chaya-tour-invite__btns {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	align-items: stretch;
}

.chaya .chaya-tour-invite__btns .button,
.chaya .chaya-tour-invite__later {
	min-height: 0;
	margin: 0;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: .01em;
	white-space: nowrap;
}

.chaya .chaya-tour-invite__later {
	border: 0;
	background: transparent;
	color: var(--chaya-ink-2);
	padding-top: 4px;
	padding-bottom: 4px;
}

.chaya .chaya-tour-invite__later:hover { color: var(--chaya-ink); text-decoration: underline; }

@media (max-width: 480px) {
	.chaya.chaya-tour-invite { flex-wrap: wrap; }
	.chaya-tour-invite__btns { flex-direction: row; width: 100%; justify-content: flex-end; }
}

/* ============================================================ motion */

@media (prefers-reduced-motion: reduce) {
	.chaya-acct__bar span,
	.chaya-comp__pond::before,
	.chaya-comp__ripple,
	.chaya-comp__pad,
	.chaya-comp__bloom,
	.chaya-comp__bloom.is-new,
	.chaya .chaya-tut__card,
	.chaya-tour__card.is-in .chaya-tour__title,
	.chaya-tour__card.is-in .chaya-tour__text {
		animation: none;
	}

	.chaya-tour__spot,
	.chaya-tour__card,
	.chaya.chaya-tour-invite {
		transition: opacity .01s;
	}
}
