.living-candle{position:absolute;width:0;height:0;transform:scale(var(--flame-scale,1));pointer-events:none}
.living-candle:before{content:'';position:absolute;left:-25px;top:-90px;width:50px;height:91px;background:#251708;mask-image:radial-gradient(ellipse,#000 35%,transparent 72%)}
.flame-body,.flame-core{position:absolute;bottom:0;left:-8px;width:16px;height:77px;border-radius:65% 35% 45% 45% / 90% 90% 15% 15%;background:linear-gradient(0deg,#6383bc 0%,#ffb445 12%,#fff2b2 38%,#fffbea 80%,#ffb65b);transform-origin:50% 100%;filter:drop-shadow(0 0 5px #ffbd5f) drop-shadow(0 0 15px #f78721);animation:wick-dance 1.2s ease-in-out infinite alternate;animation-play-state:paused}
.flame-core{left:-3px;width:6px;height:36px;background:#fffde8;filter:blur(1px);animation-duration:.73s}
.flame-halo{position:absolute;left:-115px;top:-150px;width:230px;height:230px;background:radial-gradient(ellipse,#ffab342b,transparent 65%);mix-blend-mode:screen;animation:wick-glow 2.3s ease-in-out infinite alternate;animation-play-state:paused}
.tavern-chapter.is-awake .living-candle i{animation-play-state:running}
@keyframes wick-dance{0%{transform:rotate(-3deg) scale(1,.92)}25%{transform:rotate(2deg) scale(.9,1.03)}50%{transform:rotate(-1deg) scale(1.08,.96)}75%{transform:rotate(4deg) scale(.92,1.06)}100%{transform:rotate(-2deg) scale(1,.98)}}
@keyframes wick-glow{from{opacity:.55;transform:scale(.9)}to{opacity:1;transform:scale(1.08)}}
@media(prefers-reduced-motion:reduce){.living-candle i{animation:none}}

@media(max-width:1100px){.tavern-warm{background-position:right center}}
