
:root{color-scheme:dark}.fire-start{text-align:center;padding:22px 16px;background:#100c08}.fire-start h1{font:clamp(23px,3.5vw,40px) Georgia,serif;color:#f3d598;margin:0 0 18px}.fire-start button{background:linear-gradient(135deg,#ffe4a0,#c69235);color:#201306;font-weight:700;padding:16px 24px;border:1px solid #ffe7aa;border-radius:30px;font-size:clamp(14px,2vw,18px);cursor:pointer;max-width:100%}.fire-start p{margin:12px 0 0;color:#d8c19c}.fire-sanctuary{position:relative;isolation:isolate;aspect-ratio:16/9;overflow:hidden;border-block:1px solid #96652b;--flicker:.55}.fire-art{display:block;width:100%;height:100%;object-fit:contain}.fire-sanctuary>div{position:absolute;inset:0;pointer-events:none}.room-shade{background:#000;opacity:0;transition:opacity 12s ease}.listening .room-shade{opacity:.48}.flame-glow,.mirror-glow,.water-light,.carving-light{mix-blend-mode:screen;opacity:var(--flicker)}.flame-glow{background:radial-gradient(ellipse 1.3% 5% at 50.1% 51%,#fff5bcb0,#ffb94150 40%,transparent 100%)}.mirror-glow{background:radial-gradient(ellipse .8% 2.4% at 45.6% 54%,#ffe7a7a0,#ffb43d35 45%,transparent 100%)}.carving-light{background:radial-gradient(ellipse 37% 65% at 50% 42%,transparent 76%,#f9bb3922 85%,transparent 97%)}.water-light{background:repeating-radial-gradient(ellipse at 50% 100%,transparent 0 9px,#ffd1721a 10px 11px,transparent 13px 24px);clip-path:polygon(17% 77%,83% 77%,100% 100%,0 100%,0 93%,29% 88%,31% 81%,68% 81%,70% 88%,100% 93%,100% 100%,0 100%);animation:water-tide 16s ease-in-out infinite alternate}.fire-intro,.fire-follow{max-width:1050px;margin:36px auto;padding:0 6%}.fire-intro h1{font-size:clamp(30px,5vw,58px);margin:12px 0}.fire-player{max-width:800px;margin:30px auto 60px;padding:clamp(22px,4vw,38px);border:1px solid #9e743e;border-radius:24px;background:linear-gradient(135deg,#21170d,#100e0b)}.fire-player h2{font:clamp(26px,4vw,38px) Georgia,serif}.fire-player audio{display:block;width:100%;margin:25px 0}.fire-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.volume-label{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.volume-label input{accent-color:#dab25d;min-height:35px}.fire-follow{padding-bottom:30px}button:focus-visible,input:focus-visible{outline:2px solid #fff0b0;outline-offset:4px}.fire-still .fire-sanctuary *{animation-play-state:paused!important}@keyframes water-tide{from{transform:translateY(-.15%);opacity:.35}to{transform:translateY(.2%);opacity:.7}}@media(max-width:700px){.fire-player{margin:25px 16px 40px}.fire-intro,.fire-follow{padding-inline:20px}.cosmic-header nav{gap:6px}}@media(prefers-reduced-motion:reduce){.fire-sanctuary *{animation:none!important;transition:none!important}}

/* Actual photographed water bends in shallow, slow currents; the stone stays fixed. */
.living-water{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.water-light{background:radial-gradient(ellipse 4% 22% at 50% 100%,#ffd2743b,transparent 85%);clip-path:polygon(17.7% 76%,82.4% 76%,100% 98%,100% 100%,0 100%,0 98%);animation:water-tide 21s ease-in-out infinite alternate;mask-image:linear-gradient(transparent 75%,#000 88%)}.candle-motion,.reflection-motion{background:url('/cosmic/assets/fire-mirror.png') center/100% 100% no-repeat;transform:translateX(var(--flame-x,0px)) scaleY(var(--flame-scale,1));pointer-events:none}.candle-motion{mask-image:radial-gradient(ellipse 2% 4.2% at 50.1% 51.3%,#000 60%,transparent 100%);transform-origin:50.1% 53.7%}.reflection-motion{mask-image:radial-gradient(ellipse 1.3% 2.4% at 45.6% 54.2%,#000 55%,transparent 100%);transform-origin:45.6% 55.6%}.room-shade{background:radial-gradient(ellipse 16% 30% at 50% 58%,#0000,#000 95%)}.fire-still .candle-motion,.fire-still .reflection-motion{transform:none}@media(prefers-reduced-motion:reduce){.candle-motion,.reflection-motion{transform:none}}

/* Broader, slow candle breathing and visible golden water reflections. */
.flame-glow{background:radial-gradient(ellipse 1.6% 5.5% at 50.1% 51%,#fff6bcd9,#ffc34c65 38%,transparent 100%)}.mirror-glow{background:radial-gradient(ellipse 1% 3% at 45.6% 54%,#fff0b8c0,#ffb43d50 45%,transparent 100%)}.water-light{background:radial-gradient(ellipse 5% 24% at 50% 100%,#ffd27455,transparent 85%);animation-duration:23s}

.candle-motion,.reflection-motion,.flame-glow,.mirror-glow{display:none}.living-water{z-index:1}.room-shade{z-index:2}.carving-light,.water-light{z-index:3}
