/* The Threshold (v1.156). Prefixed .thr- */
.thr-dots { display: flex; gap: 8px; margin-bottom: 14px; }
.thr-dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--dw-line-strong); }
.thr-dot.is-done { background: rgba(217, 185, 138, .4); border-color: var(--dw-gold); }
.thr-dot.is-on { background: var(--dw-gold); border-color: var(--dw-gold); box-shadow: 0 0 0 4px rgba(217, 185, 138, .16); }
.thr-q { color: var(--dw-lavender); font-style: italic; margin: 1em 0 .4em; }
.thr-note { color: var(--dw-muted); font-size: 14px; border-left: 2px solid var(--dw-line-strong); padding-left: 12px; margin: 1em 0; }
.thr-promise { color: var(--dw-muted); }
.thr-keep { display: block; margin: 1.1em 0 .4em; }
.thr-keep span { display: block; color: var(--dw-lavender); font-style: italic; margin-bottom: 6px; }
.thr-keep input { width: min(100%, 320px); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--dw-line-strong); background: rgba(255, 255, 255, .04); color: var(--dw-cream); font: inherit; }
.thr-keep input:focus-visible { outline: 2px solid var(--dw-gold); outline-offset: 2px; }

.thr-try { text-align: center; }
.thr-try .dwx-row { justify-content: center; }
.thr-lamp { position: relative; display: grid; place-items: center; height: 200px; margin: 10px auto 0; }
.thr-lamp::before { content: ""; position: absolute; left: 50%; bottom: 22px; width: 160px; height: 22px; margin-left: -80px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 70%); }
.thr-lamp::after { content: ""; position: absolute; left: 50%; bottom: 28px; width: 54px; height: 10px; margin-left: -27px; border-radius: 50% / 100%; background: linear-gradient(180deg, #c99a3e, #6b4a14); box-shadow: 0 2px 3px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 243, 196, .6); }
.thr-lamp__core { position: relative; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fffdf5 0%, #fff3c4 35%, #f2c46a 70%, #c98a2a 100%); box-shadow: 0 0 10px 3px rgba(255, 236, 170, .9), 0 0 30px 10px rgba(255, 214, 120, .45); transition: opacity 2.2s ease, transform 2.2s ease, box-shadow 2.2s ease; z-index: 2; }
.thr-lamp__core::before { content: ""; position: absolute; left: 50%; top: 100%; width: 10px; height: 52px; margin-left: -5px; background: linear-gradient(180deg, #e8c77a, #8a6420 40%, #4a3210); border-radius: 0 0 4px 4px; box-shadow: inset -2px 0 3px rgba(0, 0, 0, .5), inset 2px 0 2px rgba(255, 243, 196, .3); }
.thr-lamp__core::after { content: ""; position: absolute; left: 50%; top: 100%; width: 20px; height: 8px; margin-left: -10px; border-radius: 50% / 100%; background: linear-gradient(180deg, #e8c77a, #6b4a14); box-shadow: 0 2px 2px rgba(0, 0, 0, .5); }
.thr-lamp__glow { position: absolute; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 170, .55) 0%, rgba(255, 214, 120, .22) 30%, rgba(235, 211, 168, 0) 68%); opacity: .25; transition: opacity 3s ease; z-index: 1; }
.thr-lamp.is-on .thr-lamp__glow { opacity: 1; animation: thr-breathe 7s ease-in-out infinite; }
.thr-lamp.is-on .thr-lamp__core { transform: scale(1.12); box-shadow: 0 0 14px 5px rgba(255, 236, 170, 1), 0 0 44px 16px rgba(255, 214, 120, .55); }
.thr-count { min-height: 1.5em; color: var(--dw-muted); font-size: 14px; letter-spacing: .06em; }
.thr-card { border: 1px solid var(--dw-line-strong); border-radius: 14px; padding: 16px 18px; margin: 1.2em 0; background: rgba(255, 255, 255, .03); }
.thr-word { font-family: var(--dw-serif); font-size: 1.7rem; color: var(--dw-gold-light); margin: .2em 0 .4em; }

@keyframes thr-breathe { 0%, 100% { opacity: .78; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.thr-lamp.is-on .thr-lamp__glow { animation: none; }
	.thr-lamp__core, .thr-lamp__glow { transition: none; }
}
