body.temple-site.temple-online-offering {
	background: #f4eddf;
	font-family: var(--temple-serif-cn);
}

body.temple-site.temple-online-offering #page {
	max-width: none;
}

body.temple-site.temple-online-offering .site-content,
body.temple-site.temple-online-offering .inside-article,
body.temple-site.temple-online-offering .entry-content {
	background: transparent;
	padding: 0;
}

body.temple-site.temple-online-offering .site-content {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: none;
	width: 100vw;
}

body.temple-site.temple-online-offering .content-area {
	float: none;
	margin: 0;
	max-width: none;
	width: 100%;
}

body.temple-site.temple-online-offering .site-main {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	max-width: none;
	width: 100%;
}

.temple-online-offering-page {
	--temple-cloud-pattern: url("data:image/svg+xml,%3Csvg width='168' height='92' viewBox='0 0 168 92' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23a8584e' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round' opacity='.34'%3E%3Cpath d='M16 58h34c8 0 8-12 0-12h-5c-1-12-18-13-21-2-10-2-15 14-5 14'/%3E%3Cpath d='M35 46c2-8 15-8 17 0 9-2 15 12 4 12h-7'/%3E%3Cpath d='M102 30h30c7 0 7-10 0-10h-4c-2-10-16-10-19-1-8-1-13 11-4 11'/%3E%3Cpath d='M119 20c2-7 13-7 15 0 7-1 12 10 3 10h-6'/%3E%3Cpath d='M66 78h56c11 0 11-16 0-16h-9c-2-15-24-16-29-2-13-3-21 18-7 18'/%3E%3Cpath d='M94 62c3-10 20-10 23 0 12-2 19 16 5 16h-12'/%3E%3C/g%3E%3C/svg%3E");
	background:
		linear-gradient(90deg, rgba(255, 251, 241, 0.72), rgba(239, 228, 208, 0.28) 50%, rgba(255, 251, 241, 0.66)),
		#f4eddf;
	color: #32251d;
	isolation: isolate;
	min-height: calc(100vh - 80px);
	overflow: visible;
	position: relative;
}

.temple-offering-texture-defs {
	height: 0;
	left: 0;
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 0;
}

.temple-paper-texture,
.temple-ink-canvas {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.temple-paper-texture {
	background:
		radial-gradient(circle at 18% 24%, rgba(139, 90, 43, 0.09) 0%, transparent 28%),
		radial-gradient(circle at 76% 68%, rgba(117, 72, 42, 0.07) 0%, transparent 32%),
		repeating-linear-gradient(102deg, rgba(120, 90, 63, 0.026) 0 1px, transparent 1px 18px),
		repeating-linear-gradient(8deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 22px),
		linear-gradient(90deg, rgba(255, 251, 241, 0.34), rgba(239, 228, 208, 0.16) 50%, rgba(255, 251, 241, 0.3));
	filter: none;
	mix-blend-mode: normal;
	opacity: 0.42;
}

.temple-ink-canvas {
	background-position: center top;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	filter: none;
	height: 100%;
	mix-blend-mode: normal;
	opacity: 0.42;
	width: 100%;
}

.temple-online-offering-page::before {
	background-image:
		radial-gradient(circle at 15% 25%, rgba(139, 90, 43, 0.15) 0%, transparent 35%),
		radial-gradient(circle at 85% 75%, rgba(139, 90, 43, 0.1) 0%, transparent 40%),
		linear-gradient(135deg, rgba(160, 110, 50, 0.05) 0%, rgba(100, 70, 30, 0.08) 50%, rgba(160, 110, 50, 0.04) 100%);
	content: "";
	inset: 0;
	mix-blend-mode: normal;
	opacity: 0.12;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.temple-online-offering-page::after {
	background:
		repeating-linear-gradient(90deg, rgba(120, 90, 63, 0.018) 0 1px, transparent 1px 24px),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 16px);
	content: "";
	inset: 0;
	mix-blend-mode: normal;
	opacity: 0.12;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.temple-online-offering-hero {
	box-sizing: border-box;
	display: block;
	isolation: isolate;
	margin: 0 auto;
	max-width: 1380px;
	padding: clamp(42px, 6vw, 82px) clamp(18px, 4vw, 48px) clamp(28px, 5vw, 54px);
	position: relative;
	width: 100%;
	z-index: 1;
}

.temple-offering-stage {
	align-items: center;
	display: grid;
	gap: clamp(20px, 4.5vw, 72px);
	grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
	margin: 0 auto clamp(24px, 4vw, 46px);
	max-width: 1230px;
	width: 100%;
}

.temple-online-offering-guanyin {
	align-self: end;
	display: flex;
	justify-content: center;
	margin: 0;
	max-width: none;
	pointer-events: none;
	position: relative;
	width: 100%;
}

.temple-online-offering-guanyin img {
	filter: drop-shadow(0 0 16px rgba(205, 165, 87, 0.16));
	display: block;
	height: auto;
	max-height: clamp(360px, 39vw, 570px);
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.temple-offering-panel {
	background:
		linear-gradient(135deg, rgba(255, 253, 246, 0.94), rgba(250, 242, 226, 0.82)),
		rgba(255, 250, 238, 0.86);
	border: 1px solid rgba(145, 93, 54, 0.18);
	border-radius: 6px;
	box-shadow: none;
	margin: 0;
	max-width: none;
	padding: clamp(20px, 3vw, 34px);
	position: relative;
	transition: background-color 260ms ease, border-color 260ms ease, opacity 260ms ease;
	width: 100%;
}

.temple-offering-panel.is-form-open {
	display: grid;
	gap: clamp(18px, 2.5vw, 28px);
	grid-template-columns: minmax(230px, 0.46fr) minmax(0, 1fr);
}

.temple-offering-panel.is-form-open .temple-selected-offering {
	gap: clamp(14px, 2vw, 22px);
	grid-template-columns: 1fr;
	justify-items: center;
	text-align: center;
}

.temple-offering-panel.is-form-open .temple-selected-offering-title {
	font-size: clamp(32px, 3.3vw, 48px);
}

.temple-offering-panel.is-form-open .temple-selected-offering-meaning {
	font-size: 15px;
	line-height: 1.7;
}

.temple-offering-panel.is-form-open .temple-selected-offering-meta {
	justify-content: center;
}

.temple-offering-panel::before {
	background: linear-gradient(180deg, rgba(184, 86, 75, 0.55), rgba(184, 86, 75, 0));
	content: "";
	height: 3px;
	left: 22px;
	position: absolute;
	right: 22px;
	top: 0;
}

.temple-offering-panel::after,
.temple-offering-item::after {
	background-repeat: no-repeat;
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.temple-offering-panel::after {
	background-image:
		var(--temple-cloud-pattern),
		var(--temple-cloud-pattern),
		var(--temple-cloud-pattern),
		var(--temple-cloud-pattern),
		var(--temple-cloud-pattern),
		var(--temple-cloud-pattern);
	background-position:
		right 8% top 10%,
		left 11% top 24%,
		right 38% top 42%,
		left 18% bottom 14%,
		right 18% bottom 18%,
		left 47% bottom 34%;
	background-size:
		108px 59px,
		78px 43px,
		62px 34px,
		92px 50px,
		72px 39px,
		52px 28px;
	opacity: 0.15;
}

.temple-offering-item::after {
	background-image:
		var(--temple-cloud-pattern),
		var(--temple-cloud-pattern),
		var(--temple-cloud-pattern),
		var(--temple-cloud-pattern);
	background-position:
		right 14px top 12px,
		left 18px top 42px,
		right 36% bottom 10px,
		left 18px bottom 10px;
	background-size:
		58px 32px,
		36px 20px,
		48px 26px,
		42px 23px;
	opacity: 0.13;
}

.temple-offering-item:nth-child(2)::after {
	background-position:
		left 22px top 14px,
		right 18px top 44px,
		left 44% bottom 12px,
		right 18px bottom 12px;
	background-size:
		52px 28px,
		38px 21px,
		46px 25px,
		64px 35px;
}

.temple-offering-item:nth-child(3)::after {
	background-position:
		right 26px bottom 12px,
		left 24px bottom 40px,
		right 42px top 14px,
		left 42% top 14px;
	background-size:
		66px 36px,
		40px 22px,
		52px 28px,
		38px 21px;
}

.temple-offering-item:nth-child(4)::after {
	background-position:
		left 16px bottom 14px,
		right 28px bottom 36px,
		left 40% top 14px,
		right 28px top 16px;
	background-size:
		62px 34px,
		42px 23px,
		50px 27px,
		44px 24px;
}

.temple-offering-item:nth-child(5)::after {
	background-position:
		right 18px top 18px,
		left 18px top 44px,
		right 24px bottom 12px,
		left 34% bottom 12px;
	background-size:
		50px 27px,
		38px 21px,
		58px 32px,
		68px 37px;
}

.temple-offering-panel > *,
.temple-offering-item > * {
	position: relative;
	z-index: 1;
}

.temple-selected-offering {
	align-items: center;
	display: grid;
	gap: clamp(22px, 3vw, 36px);
	grid-template-columns: minmax(132px, 178px) minmax(0, 1fr);
	transform-origin: center center;
	transition: opacity 320ms ease, transform 320ms ease;
	width: 100%;
}

.temple-selected-offering.is-offering-forward .temple-selected-offering-image {
	animation: temple-offering-forward 360ms ease both;
}

.temple-offering-kicker {
	color: #a16a3a;
	font-size: 13px;
	letter-spacing: 0.24em;
	margin: 0 0 12px;
}

.temple-selected-offering-visual {
	align-items: center;
	aspect-ratio: 1;
	background:
		radial-gradient(circle at 50% 45%, rgba(255, 245, 218, 0.96), rgba(239, 220, 186, 0.42) 56%, rgba(255, 255, 255, 0.24) 72%),
		rgba(238, 231, 220, 0.52);
	border: 1px solid rgba(174, 124, 80, 0.12);
	border-radius: 50%;
	box-shadow: none;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	justify-self: center;
	min-height: 0;
	min-width: 0;
	padding: 20px;
	width: clamp(138px, 15vw, 190px);
}

.temple-selected-offering-copy {
	min-width: 0;
}

.temple-selected-offering-image {
	display: block;
	height: auto;
	max-height: 150px;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.temple-offering-image-wrap {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	line-height: 0;
	position: relative;
}

.temple-offering-flame {
	aspect-ratio: 1;
	background-image: url("../image/offering/light/flames_anchor_sprite.png");
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: 2500% 100%;
	filter:
		drop-shadow(0 0 8px rgba(255, 190, 76, 0.48))
		drop-shadow(0 0 14px rgba(226, 93, 34, 0.18));
	left: var(--temple-flame-x, 50%);
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: var(--temple-flame-y, 45%);
	transform: translate(-50%, calc(-100% - var(--temple-flame-visual-up, 0px)));
	transition: opacity 180ms ease;
	width: var(--temple-flame-size, 36%);
	will-change: background-position;
	z-index: 2;
}

.temple-offering-flame::before,
.temple-offering-flame::after {
	border-radius: 50%;
	content: "";
	inset: -48%;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transform: scale(0.9);
	z-index: -1;
}

.temple-offering-flame::before {
	background:
		radial-gradient(circle at 50% 42%, rgba(255, 247, 199, 0.54), rgba(255, 183, 78, 0.24) 42%, rgba(255, 126, 42, 0.05) 64%, rgba(255, 124, 40, 0) 78%);
	filter: blur(5px);
}

.temple-offering-flame::after {
	background:
		radial-gradient(circle at 60% 28%, rgba(255, 255, 226, 0.62), rgba(255, 216, 108, 0.28) 25%, rgba(255, 167, 66, 0.05) 48%, rgba(255, 154, 64, 0) 66%);
	filter: blur(1.4px);
	inset: -28%;
	margin-top: 6px;
}

.temple-offering-image-wrap.has-flame.is-flame-lit .temple-offering-flame,
.temple-offering-flight.has-flame.is-flame-lit .temple-offering-flame {
	animation:
		temple-flame-sprite 1s steps(25, end) infinite,
		temple-flame-soft-glow 2.15s ease-in-out infinite;
	opacity: 1;
}

.temple-offering-image-wrap.has-flame.is-flame-lit .temple-offering-flame::before,
.temple-offering-flight.has-flame.is-flame-lit .temple-offering-flame::before {
	animation: temple-flame-halo 3.18s cubic-bezier(0.34, 0.04, 0.2, 1) infinite;
}

.temple-offering-image-wrap.has-flame.is-flame-lit .temple-offering-flame::after,
.temple-offering-flight.has-flame.is-flame-lit .temple-offering-flame::after {
	animation: temple-flame-glint 1.72s ease-in-out infinite;
}

.temple-offering-form {
	align-self: stretch;
	background: rgba(255, 250, 240, 0.7);
	border: 1px solid rgba(145, 93, 54, 0.16);
	border-radius: 6px;
	box-sizing: border-box;
	display: none;
	padding: 18px;
	position: relative;
	z-index: 2;
}

.temple-offering-panel.is-form-open .temple-offering-form {
	animation: temple-offering-form-in 240ms ease both;
	display: block;
}

.temple-offering-form-title {
	color: #38291f;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 14px;
}

.temple-offering-form-field {
	display: block;
	margin: 0 0 12px;
}

.temple-offering-form-field span {
	color: rgba(71, 48, 35, 0.76);
	display: block;
	font-size: 13px;
	line-height: 1.35;
	margin-bottom: 6px;
}

.temple-offering-form-field input,
.temple-offering-form-field textarea {
	background: rgba(255, 253, 247, 0.9);
	border: 1px solid rgba(151, 91, 55, 0.24);
	border-radius: 5px;
	box-sizing: border-box;
	color: #34251d;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.45;
	outline: none;
	padding: 10px 11px;
	transition: border-color 160ms ease, box-shadow 160ms ease;
	width: 100%;
}

.temple-offering-form-field textarea {
	min-height: 84px;
	resize: vertical;
}

.temple-offering-form-note {
	color: rgba(71, 48, 35, 0.62);
	font-size: 12px;
	line-height: 1.75;
	margin: 2px 0 0;
}

.temple-offering-form-field input:focus,
.temple-offering-form-field textarea:focus {
	border-color: rgba(141, 47, 32, 0.58);
	box-shadow: 0 0 0 3px rgba(141, 47, 32, 0.08);
}

.temple-offering-form-error {
	color: #8b2f24;
	display: none;
	font-size: 13px;
	line-height: 1.45;
	margin: 8px 0 0;
}

.temple-offering-form.has-error .temple-offering-form-error {
	display: block;
}

.temple-offering-panel.is-offering-sending {
	background: transparent;
	border-color: transparent;
}

.temple-offering-panel.is-offering-sending::before,
.temple-offering-panel.is-offering-sending::after,
.temple-offering-panel.is-offering-sending .temple-offering-form,
.temple-offering-panel.is-offering-sending .temple-selected-offering-copy,
.temple-offering-panel.is-offering-sending .temple-selected-offering-visual {
	animation: none;
	opacity: 0 !important;
	pointer-events: none;
	transition: opacity 320ms ease;
}

.temple-offering-flight {
	filter: drop-shadow(0 10px 26px rgba(85, 52, 35, 0.18));
	left: 0;
	pointer-events: none;
	position: fixed;
	top: 0;
	transform-origin: center center;
	width: auto;
	z-index: 50;
}

.temple-offering-flight-image {
	display: block;
	height: auto;
	width: 100%;
}

.temple-offering-flight-writing-layer {
	left: 50%;
	position: absolute;
	top: 49%;
	transform: translateX(-50%);
	z-index: 2;
}

.temple-offering-flight-name {
	color: #211712;
	display: block;
	font-family: var(--temple-serif-cn);
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.18;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	text-align: center;
	text-orientation: upright;
	text-shadow: 0 0 1px rgba(255, 245, 232, 0.76);
	transition: max-height 1500ms steps(8, end), opacity 260ms ease;
	white-space: nowrap;
	writing-mode: vertical-rl;
}

.temple-offering-flight-tablet.is-name-writing .temple-offering-flight-name {
	max-height: 8.8em;
	opacity: 1;
}

.temple-offering-blessing {
	--temple-blessing-left-offset: 200px;
	align-items: center;
	display: flex;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	right: calc(clamp(24px, 7vw, 118px) + var(--temple-blessing-left-offset));
	top: 47%;
	transform: translate3d(12px, -50%, 0);
	transition: opacity 420ms ease, transform 520ms ease;
	z-index: 58;
}

.temple-offering-blessing.is-visible {
	opacity: 1;
	transform: translate3d(0, -50%, 0);
}

.temple-offering-blessing-text {
	box-sizing: border-box;
	color: #2f251f;
	display: flex;
	flex-direction: row-reverse;
	gap: clamp(8px, 1.4vw, 14px);
	position: relative;
}

.temple-offering-blessing-text::before {
	content: "";
	display: none;
}

.temple-offering-blessing-column {
	display: inline-flex;
	flex-direction: column;
	font-family: var(--temple-serif-cn);
	font-size: clamp(21px, 2.2vw, 32px);
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.35;
	text-align: center;
}

.temple-offering-blessing-char {
	opacity: 0;
	transform: translateY(0.38em);
	transition: opacity 280ms ease, transform 360ms ease;
}

.temple-offering-blessing.is-visible .temple-offering-blessing-char {
	opacity: 1;
	transform: translateY(0);
}

@keyframes temple-offering-form-in {
	0% {
		opacity: 0;
		transform: translateX(18px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

.temple-selected-offering-title {
	color: #2f251f;
	font-size: clamp(38px, 4.3vw, 64px);
	font-weight: 700;
	line-height: 1.15;
	margin: 0;
	overflow-wrap: anywhere;
}

.temple-selected-offering-category {
	color: rgba(118, 76, 48, 0.7);
	font-size: 15px;
	line-height: 1.5;
	margin: 10px 0 0;
}

.temple-selected-offering-meaning {
	color: rgba(46, 37, 31, 0.74);
	font-size: 17px;
	line-height: 1.8;
	margin: 20px 0 0;
}

.temple-selected-offering-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.temple-selected-offering-price {
	background: rgba(255, 250, 240, 0.72);
	border: 1px solid rgba(175, 111, 61, 0.22);
	border-radius: 4px;
	color: #8b2f24;
	display: inline-flex;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	min-width: 74px;
	padding: 12px 16px;
	justify-content: center;
}

body.temple-site.temple-online-offering .temple-selected-offering-button {
	background: #8d2f20 !important;
	border: 1px solid #8d2f20 !important;
	border-radius: 6px;
	box-shadow: none !important;
	color: #fff8ea !important;
	cursor: pointer;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	min-height: 42px;
	min-width: 112px;
	padding: 12px 22px;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

body.temple-site.temple-online-offering .temple-selected-offering-button:hover,
body.temple-site.temple-online-offering .temple-selected-offering-button:focus,
body.temple-site.temple-online-offering .temple-selected-offering-button:active {
	background: #6e2419 !important;
	border-color: #6e2419 !important;
	box-shadow: none !important;
	color: #ffffff !important;
}

.temple-offering-actions {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin: 0 auto;
	max-width: 1280px;
	width: 100%;
}

.temple-offering-item {
	background:
		linear-gradient(135deg, rgba(255, 253, 247, 0.92), rgba(251, 243, 229, 0.78)),
		rgba(255, 250, 238, 0.86);
	border: 1px solid rgba(155, 86, 62, 0.16);
	border-radius: 6px;
	box-sizing: border-box;
	box-shadow: none;
	grid-column: span 2;
	overflow: hidden;
	position: relative;
	transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.temple-offering-item::before {
	background: linear-gradient(90deg, rgba(168, 73, 62, 0.7), rgba(207, 162, 85, 0.26), transparent);
	content: "";
	height: 2px;
	left: 0;
	opacity: 0;
	position: absolute;
	right: 0;
	top: 0;
	transition: opacity 180ms ease;
	z-index: 2;
}

.temple-offering-item:nth-child(4) {
	grid-column: 2 / span 2;
}

.temple-offering-item:nth-child(5) {
	grid-column: 4 / span 2;
}

.temple-offering-item[open] {
	background:
		linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(255, 247, 232, 0.9)),
		rgba(255, 251, 243, 0.96);
	border-color: rgba(161, 74, 63, 0.28);
	box-shadow: none;
	transform: translateY(-1px);
}

.temple-offering-item[open]::before {
	opacity: 1;
}

.temple-offering-summary {
	align-items: center;
	cursor: pointer;
	display: block;
	list-style: none;
	min-height: 0;
	padding: 10px 15px 8px;
}

.temple-offering-summary::-webkit-details-marker {
	display: none;
}

.temple-offering-title {
	color: #32251e;
	display: block;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.temple-offering-subtitle {
	color: rgba(55, 42, 34, 0.62);
	display: block;
	font-size: 14px;
	line-height: 1.45;
	margin-top: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.temple-offering-detail {
	border-top: 1px solid rgba(132, 91, 61, 0.11);
	display: grid;
	gap: 12px;
	grid-template-columns: 68px minmax(0, 1fr);
	padding: 12px 15px;
}

.temple-offering-visual {
	align-items: center;
	background:
		radial-gradient(circle, rgba(255, 246, 225, 0.9), rgba(236, 221, 196, 0.48)),
		rgba(238, 231, 220, 0.54);
	border-radius: 50%;
	display: flex;
	height: 68px;
	justify-content: center;
	width: 68px;
}

.temple-offering-image {
	display: block;
	height: auto;
	max-height: 54px;
	max-width: 54px;
	object-fit: contain;
	width: auto;
}

.temple-offering-choice-area {
	min-width: 0;
}

.temple-offering-options {
	align-content: start;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	overflow: visible;
}

body.temple-site.temple-online-offering .temple-offering-options button {
	background: #b4534f !important;
	border: 1px solid #b4534f !important;
	border-radius: 6px;
	box-sizing: border-box;
	color: #ffffff !important;
	cursor: pointer;
	display: block;
	flex: 0 0 auto;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	min-height: 18px;
	min-width: 4.6em;
	padding: 4px 9px;
	text-align: center;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

body.temple-site.temple-online-offering .temple-offering-options button:not([aria-pressed="true"]):hover,
body.temple-site.temple-online-offering .temple-offering-options button:not([aria-pressed="true"]):focus,
body.temple-site.temple-online-offering .temple-offering-options button:not([aria-pressed="true"]):active {
	background: #8d2f20 !important;
	border-color: #8d2f20 !important;
	box-shadow: inset 0 -2px 0 #6e2419 !important;
	color: #ffffff !important;
}

body.temple-site.temple-online-offering .temple-offering-options button[aria-pressed="true"] {
	background: #fff8ea !important;
	border-color: rgba(141, 47, 32, 0.58) !important;
	box-shadow: inset 0 -2px 0 #8d2f20 !important;
	color: #8d2f20 !important;
}

body.temple-site.temple-online-offering .temple-offering-options button[aria-pressed="true"]:hover,
body.temple-site.temple-online-offering .temple-offering-options button[aria-pressed="true"]:focus,
body.temple-site.temple-online-offering .temple-offering-options button[aria-pressed="true"]:active {
	background: #fff8ea !important;
	border-color: rgba(141, 47, 32, 0.58) !important;
	box-shadow: inset 0 -2px 0 #8d2f20 !important;
	color: #8d2f20 !important;
}

.temple-offering-option-label {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.temple-offering-meaning-row {
	background: rgba(255, 250, 240, 0.58);
	border-left: 2px solid rgba(166, 76, 64, 0.34);
	color: rgba(86, 50, 39, 0.72);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	margin: 8px 0 0;
	min-height: 18px;
	padding: 4px 8px;
}

.temple-offering-options button:focus-visible,
.temple-offering-summary:focus-visible,
.temple-selected-offering-button:focus-visible {
	outline: 2px solid #5d2d23;
	outline-offset: 3px;
}

@keyframes temple-offering-forward {
	0% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}

	48% {
		opacity: 0.78;
		transform: translateY(-22px) scale(1.05);
	}

	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes temple-flame-sprite {
	to {
		background-position: 104.1666667% 0;
	}
}

@keyframes temple-flame-soft-glow {
	0%,
	100% {
		filter:
			drop-shadow(0 0 7px rgba(255, 181, 66, 0.42))
			drop-shadow(0 0 13px rgba(224, 87, 31, 0.16));
		opacity: 0.88;
	}

	42% {
		filter:
			drop-shadow(0 0 12px rgba(255, 224, 112, 0.62))
			drop-shadow(0 0 22px rgba(231, 102, 38, 0.26));
		opacity: 0.96;
	}

	68% {
		filter:
			drop-shadow(0 0 6px rgba(255, 143, 45, 0.36))
			drop-shadow(0 0 11px rgba(202, 70, 30, 0.14));
		opacity: 0.82;
	}
}

@keyframes temple-flame-halo {
	0% {
		animation-timing-function: cubic-bezier(0.42, 0.02, 0.58, 0.96);
		opacity: 0.22;
		transform: translate(-1%, 2%) scale(0.88, 0.94);
	}

	18% {
		animation-timing-function: cubic-bezier(0.18, 0.8, 0.34, 1);
		opacity: 0.38;
		transform: translate(2%, -1%) scale(1.03, 1.1);
	}

	31% {
		animation-timing-function: cubic-bezier(0.62, 0.01, 0.72, 0.42);
		opacity: 0.3;
		transform: translate(-2%, 1%) scale(0.96, 1.02);
	}

	49% {
		animation-timing-function: cubic-bezier(0.16, 0.72, 0.28, 1);
		opacity: 0.54;
		transform: translate(1%, -4%) scale(1.16, 1.22);
	}

	67% {
		animation-timing-function: cubic-bezier(0.48, 0, 0.64, 0.58);
		opacity: 0.28;
		transform: translate(3%, 0) scale(0.98, 0.92);
	}

	83% {
		animation-timing-function: cubic-bezier(0.22, 0.66, 0.38, 1);
		opacity: 0.42;
		transform: translate(-1%, -2%) scale(1.08, 1.04);
	}

	100% {
		opacity: 0.22;
		transform: translate(-1%, 2%) scale(0.88, 0.94);
	}
}

@keyframes temple-flame-glint {
	0%,
	100% {
		opacity: 0.12;
		transform: translate(8%, -5%) scale(0.78);
	}

	50% {
		opacity: 0.36;
		transform: translate(-7%, -13%) scale(1.16);
	}
}

.temple-offering-trust-note {
	border-top: 1px solid rgba(130, 88, 58, 0.14);
	color: #463227;
	margin: 0 auto;
	max-width: 980px;
	padding: clamp(26px, 4vw, 42px) clamp(20px, 6vw, 92px) clamp(44px, 6vw, 76px);
	position: relative;
	text-align: center;
	z-index: 1;
}

.temple-offering-trust-note span {
	color: #9b6b3e;
	display: block;
	font-family: var(--temple-serif-cn);
	font-size: 19px;
	line-height: 1;
	margin-bottom: 12px;
}

.temple-offering-trust-note p {
	color: #463227;
	font-size: 17px;
	line-height: 1.9;
	margin: 0 auto;
	max-width: 760px;
}

@media (max-width: 980px) {
	.temple-offering-panel.is-form-open {
		grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
	}

	.temple-offering-stage {
		grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
	}

	.temple-selected-offering {
		gap: 20px;
		grid-template-columns: minmax(120px, 154px) minmax(0, 1fr);
	}

	.temple-selected-offering-visual {
		padding: 16px;
		width: clamp(124px, 18vw, 154px);
	}

	.temple-selected-offering-image {
		max-height: 122px;
	}

	.temple-offering-actions {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.temple-offering-item:nth-child(4) {
		grid-column: span 2;
	}

	.temple-offering-item:nth-child(5) {
		grid-column: 2 / span 2;
	}
}

@media (max-width: 640px) {
	.temple-online-offering-hero {
		padding: 36px 16px;
	}

	.temple-offering-stage {
		gap: 18px;
		grid-template-columns: 1fr;
		margin-bottom: 18px;
	}

	.temple-online-offering-guanyin {
		width: 100%;
	}

	.temple-online-offering-guanyin img {
		max-height: 260px;
	}

	.temple-offering-panel {
		margin-bottom: 18px;
	}

	.temple-offering-panel.is-form-open {
		grid-template-columns: 1fr;
	}

	.temple-offering-panel.is-form-open .temple-selected-offering {
		grid-template-columns: 1fr;
	}

	.temple-offering-form {
		padding: 15px;
	}

	.temple-selected-offering {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	.temple-selected-offering-visual {
		padding: 14px;
		width: min(172px, 58vw);
	}

	.temple-selected-offering-image {
		max-height: 136px;
	}

	.temple-selected-offering-title {
		font-size: 34px;
	}

	.temple-selected-offering-meta {
		justify-content: center;
	}

	.temple-offering-actions {
		grid-template-columns: 1fr;
	}

	.temple-offering-item,
	.temple-offering-item:nth-child(4),
	.temple-offering-item:nth-child(5) {
		grid-column: auto;
	}

	.temple-offering-detail {
		gap: 10px;
		grid-template-columns: 54px minmax(0, 1fr);
		padding: 12px;
	}

	.temple-offering-visual {
		height: 54px;
		width: 54px;
	}

	.temple-offering-image {
		max-height: 44px;
		max-width: 44px;
	}

	.temple-offering-options {
		gap: 8px;
	}

	.temple-offering-options button {
		min-height: 18px;
		min-width: 4.4em;
		padding: 4px 8px;
	}

	.temple-offering-blessing {
		right: calc(14px + var(--temple-blessing-left-offset));
		top: 42%;
	}

	.temple-offering-blessing-text {
		gap: 6px;
	}

	.temple-offering-blessing-column {
		font-size: 20px;
		letter-spacing: 0.08em;
	}

	.temple-offering-trust-note {
		padding: 24px 16px 42px;
		text-align: left;
	}

	.temple-offering-trust-note p {
		font-size: 15px;
		line-height: 1.8;
	}
}
