/* The 3 a.m. Lantern (v1.90): made for the dark. Nothing bright, nothing sudden. */
.dwx-three-am-lantern .dwx-card { background: #02050C; border-color: #10162A; box-shadow: none; }
.dwx-three-am-lantern .dwx-stage { background: #02050C; }
.tl-room { --lvl: 1; min-height: min(78vh, 640px); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 28px 18px; text-align: center; color: #8D887F; background: #02050C; }
.tl-hint { max-width: 32ch; margin: 0; font-size: 16px; line-height: 1.5; color: #7D786F; }
.tl-lantern { position: relative; width: min(62vw, 250px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; border: 1px solid #3A2F20; cursor: pointer; color: #D9B98A; background: radial-gradient(circle at 50% 42%, #5A3D17 0%, #2A1C0B 55%, #120C05 100%); box-shadow: 0 0 50px rgba(217, 150, 50, .18); }
.tl-lantern__glow { position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(circle, rgba(217, 150, 50, .2), transparent 65%); pointer-events: none; }
.tl-lantern__t { position: relative; font: 600 20px/1.2 var(--dw-serif); letter-spacing: .02em; }
.tl-lantern:focus-visible, .tl-door:focus-visible, .tl-chip:focus-visible, .tl-btn:focus-visible { outline: 2px solid #8A6A3A; outline-offset: 4px; }
.tl-doors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: min(100%, 520px); }
.tl-door { width: 100%; min-height: 132px; box-sizing: border-box; display: grid; gap: 4px; justify-items: center; align-content: center; padding: 14px 10px; cursor: pointer; border-radius: 18px; border: 1px solid #2A2418; background: #070A14; color: #A49A88; font: inherit; }
.tl-door:hover { border-color: #7A5F33; }
.tl-door__orb { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle, #8A5A1C, #3A2410 70%); box-shadow: 0 0 16px rgba(217, 150, 50, .22); }
.tl-door__t { font: 600 18px/1.2 var(--dw-serif); color: #C9B99B; }
.tl-door__h { font-size: 13px; line-height: 1.3; color: #7D786F; }
.tl-opts { display: grid; gap: 10px; justify-items: center; }
.tl-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tl-chip, .tl-btn { min-height: 48px; box-sizing: border-box; padding: 10px 18px; border-radius: 999px; border: 1px solid #2C2F3D; background: #070A14; color: #8D887F; font: 500 15px/1 var(--dw-sans); cursor: pointer; }
.tl-chip:hover, .tl-btn:hover { border-color: #5B4A2E; }
.tl-chip[aria-pressed="true"], .tl-voice[aria-pressed="true"] { border-color: #7A5F33; color: #D9B98A; background: #120D06; }
.tl-words { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #7D786F; }
.tl-words input { accent-color: #B98A4A; width: 18px; height: 18px; }
.tl-care { max-width: 44ch; margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: #5F5B54; }
.tl-note { max-width: 44ch; padding: 12px 16px; border: 1px solid #1D2236; border-radius: 14px; }
.tl-note__k { margin: 0 0 4px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #6A655D; }
.tl-note__t { margin: 0 0 10px; color: #A49A88; white-space: pre-wrap; }
.tl-more { max-width: 520px; width: 100%; text-align: left; }
.tl-more summary { cursor: pointer; color: #6A655D; font-size: 14px; text-align: center; }
.tl-more .dwx-ux-offer { margin-top: 10px; padding: 14px; border: 1px solid #1D2236; border-radius: 14px; background: #050810; color: #7D786F; }
.tl-more .dwx-ux-offer * { color: inherit; }
.tl-more .dwx-ux-offer .dwx-btn { background: #070A14; border-color: #2C2F3D; color: #A49A88; box-shadow: none; }
.tl-more .dwx-ux-offer h3 { font-size: 18px; color: #A49A88; }
/* the glow */
.tl-orb { width: min(70vw, 300px); aspect-ratio: 1; display: grid; place-items: center; opacity: calc(.12 + .88 * var(--lvl)); }
.tl-orb__core { width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #B8741F 0%, #5A3510 55%, rgba(58, 36, 16, 0) 72%); box-shadow: 0 0 60px rgba(217, 150, 50, .22); transform: scale(.62); transition: transform 4s ease-in-out; }
.tl-orb.is-in .tl-orb__core { transform: scale(1); }
.is-still .tl-orb__core { transform: scale(.85); transition: none; }
.tl-cue { min-height: 1.4em; margin: 0; font: 500 22px/1.3 var(--dw-serif); color: #A8967A; opacity: calc(.1 + .9 * var(--lvl)); }
.tl-line { min-height: 3.4em; max-width: 32ch; margin: 0; font: 400 19px/1.5 var(--dw-serif); color: #8F8777; opacity: 0; transition: opacity 2s ease; }
.tl-line.is-on { opacity: calc(.85 * var(--lvl)); }
.tl-bar { display: flex; gap: 10px; justify-content: center; margin: 8px 0 0; opacity: .8; }
.tl-dark { background: #000; }
.tl-end { max-width: 30ch; margin: 0; font: 400 20px/1.5 var(--dw-serif); color: #6F6A62; }
.tl-notebox { display: grid; gap: 8px; justify-items: center; width: min(100%, 380px); }
.tl-notebox label { color: #8D887F; font-weight: 600; }
.tl-notebox textarea { width: 100%; box-sizing: border-box; min-height: 90px; padding: 10px 14px; border-radius: 12px; border: 1px solid #2C2F3D; background: #050810; color: #A49A88; font: 400 16px/1.5 var(--dw-sans); resize: vertical; }
.tl-small { margin: 0; font-size: 13px; line-height: 1.4; color: #6A655D; }
@media (max-width: 520px) { .tl-doors { grid-template-columns: 1fr; } .tl-door { min-height: 104px; } }
@media (prefers-reduced-motion: reduce) { .tl-orb__core, .tl-line { transition: none; } }
