/* The door (Karan, 28 Oct 2026): every Zen Rising site opens on one quiet screen with one button. The tap is the
   browser's permission to play, so the music starts the moment the visitor is in, never from a question. Icons carry
   the rest: a sun rising over its line on the button, and a speaker with an up chevron asking for the volume. After the
   tap a small mark sits on the left edge of a phone, where the volume-up button is, for a few seconds.
   Tokens an option may set on :root: --enter-bg, --enter-ink, --enter-font. */
.zr-enter { position: fixed; inset: 0; z-index: 2147483001; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom)); background: var(--enter-bg, #151721); color: var(--enter-ink, #EDEAC4);
  font-family: var(--enter-font, inherit); -webkit-tap-highlight-color: transparent; cursor: pointer; touch-action: none;
  opacity: 1; transition: opacity 1.4s cubic-bezier(.22,.61,.36,1); }
.zr-enter.is-out { opacity: 0; pointer-events: none; }
html.is-enter, html.is-enter body { overflow: hidden !important; height: 100%; }
.zr-enter-logo { width: min(46vw, 180px); opacity: 0; animation: zr-enter-in 1.6s cubic-bezier(.22,.61,.36,1) .2s forwards; }
.zr-enter-logo svg { display: block; width: 100%; height: auto; fill: currentColor; color: inherit; }
.zr-enter-logo span { display: block; text-align: center; font-size: 15px; letter-spacing: .34em; text-transform: uppercase; font-weight: 300; }
.zr-enter-b { margin-top: 15vh; display: inline-flex; align-items: center; gap: 14px; padding: 15px 26px 15px 22px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  background: transparent; color: inherit; font: inherit; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 300; line-height: 1; cursor: pointer;
  opacity: 0; animation: zr-enter-in 1.6s cubic-bezier(.22,.61,.36,1) 1s forwards; transition: background-color .4s, border-color .4s, transform .5s cubic-bezier(.22,1,.36,1); }
.zr-enter-b:hover, .zr-enter-b:focus-visible { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.55); transform: scale(1.03); outline: 0; }
.zr-enter-b:active { transform: scale(.98); }
.zr-enter-b svg { display: block; width: 22px; height: 22px; overflow: visible; }
.zr-enter-b .zr-sun { fill: var(--enter-sun, #FFD79A); animation: zr-rise 5s cubic-bezier(.22,.61,.36,1) 1.2s both; }
.zr-enter-b .zr-line { stroke: currentColor; stroke-width: 1; opacity: .7; }
.zr-enter-v { margin-top: 26px; display: flex; align-items: center; gap: 10px; opacity: 0; animation: zr-enter-in 1.6s ease 2s forwards; }
.zr-enter-v svg { display: block; width: 22px; height: 22px; overflow: visible; }
.zr-enter-v .zr-spk { fill: currentColor; opacity: .8; }
.zr-enter-v .zr-wave { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; opacity: .8; }
.zr-enter-v .zr-wave:nth-of-type(2) { animation: zr-wave 2.4s ease-in-out 1.2s infinite; }
.zr-enter-v .zr-wave:nth-of-type(3) { animation: zr-wave 2.4s ease-in-out 1.6s infinite; }
.zr-enter-v .zr-up { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; animation: zr-up 2s ease-out infinite; }
/* the mark beside a phone's volume-up button, after the tap */
.zr-vol { position: fixed; left: 0; top: 21vh; z-index: 2147483001; display: none; align-items: center; gap: 8px; color: var(--enter-ink, #EDEAC4); pointer-events: none;
  opacity: 0; transition: opacity .6s; }
.zr-vol.is-on { opacity: 1; }
.zr-vol i { display: block; width: 3px; height: 54px; border-radius: 0 3px 3px 0; background: currentColor; animation: zr-pulse 1.2s ease-in-out 2; }
.zr-vol svg { display: block; width: 20px; height: 20px; overflow: visible; }
.zr-vol .zr-spk { fill: currentColor; }
.zr-vol .zr-up { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; animation: zr-up 1.4s ease-out 3; }
@media (pointer: coarse) { .zr-vol { display: flex; } }
@keyframes zr-enter-in { to { opacity: 1; } }
@keyframes zr-rise { from { transform: translateY(9px); } to { transform: translateY(0); } }
@keyframes zr-wave { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }
@keyframes zr-up { 0% { transform: translateY(5px); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateY(-6px); opacity: 0; } }
@keyframes zr-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .zr-enter *, .zr-vol * { animation-duration: .01s !important; animation-iteration-count: 1 !important; } .zr-enter-logo, .zr-enter-b, .zr-enter-v { opacity: 1; } }
