/* Entrada interactiva y sonido de Brightti. Sin dependencias ni imágenes adicionales. */
.bt-welcome[hidden],.bt-sound[hidden]{display:none!important}
html.bt-welcome-pending,html.bt-welcome-pending body{overflow:hidden!important;overscroll-behavior:none}
html.bt-welcome-pending .bt-cursor{display:none}
.bt-welcome{position:fixed;inset:0;z-index:2147483500;isolation:isolate;display:grid;place-items:center;overflow:hidden;background:#eeede8;color:#252622;font-family:'Outfit',sans-serif;transition:opacity .9s ease,visibility .9s}
.bt-welcome::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 49% 36%,#fff9efaa 0,transparent 48%),radial-gradient(ellipse at 18% 82%,#b5c7bc38,transparent 53%);pointer-events:none}
.bt-welcome::after{content:'';position:absolute;inset:0;z-index:3;opacity:.09;background-image:radial-gradient(#343830 0.6px,transparent .6px);background-size:5px 5px;pointer-events:none}
.bt-welcome-top{position:absolute;top:clamp(22px,3vw,42px);left:clamp(22px,3.5vw,56px);right:clamp(22px,3.5vw,56px);display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:2}
.bt-welcome-brand{font-family:'Manrope',sans-serif;font-size:20px;font-weight:800;letter-spacing:-1.2px}
.bt-welcome-brand i{font-style:normal;color:#c6672c}
.bt-welcome-top small{font:400 10px/1.5 'DM Mono',monospace;letter-spacing:.13em;text-transform:uppercase;color:#76786d}
.bt-welcome-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.bt-welcome-copy{position:relative;z-index:2;width:min(100% - 36px,800px);margin-top:clamp(180px,28svh,300px);text-align:center;transition:opacity .45s ease,transform .75s ease}
.bt-welcome h2{margin:0;font-family:'Outfit',sans-serif;font-size:clamp(80px,10.4vw,150px);font-weight:400;line-height:.95;letter-spacing:-.065em}
.bt-welcome h2 span{display:block;margin-bottom:.24em;font-size:.35em;font-weight:300;line-height:1.1;letter-spacing:-.04em}
.bt-welcome h2 i{color:#bd6535;font-style:normal}
.bt-welcome-load{position:relative;width:min(250px,68vw);margin:28px auto 0}
.bt-welcome-status{display:flex;justify-content:space-between;align-items:center;gap:14px;color:#6d7168;font:400 10px/1.6 'DM Mono',monospace}
.bt-welcome-progress{height:2px;overflow:hidden;background:#292f2520;margin-top:9px;border-radius:2px}
.bt-welcome-progress i{display:block;width:100%;height:100%;background:#596e5f;transform:scaleX(0);transform-origin:left;transition:transform .3s ease}
.bt-welcome-actions{display:flex;flex-direction:column;align-items:center;gap:13px;margin-top:24px}
.bt-welcome-enter{display:inline-flex;align-items:center;justify-content:space-between;gap:55px;min-width:198px;padding:17px 23px;border:1px solid #242a24;border-radius:999px;background:#252c26;color:#f5f3ec;font:500 15px/1 'Outfit',sans-serif;cursor:pointer;transition:background .2s,opacity .25s,transform .25s}
.bt-welcome-enter:disabled{opacity:.34;cursor:wait}
.bt-welcome-enter:not(:disabled):hover{background:#3d5143;transform:translateY(-2px)}
.bt-welcome-enter svg{width:19px;height:19px;flex:none}
.bt-welcome-audio{display:flex;align-items:center;gap:8px;padding:5px 10px;border:0;background:transparent;color:#6b7168;font:400 11px/1.5 'DM Mono',monospace;cursor:pointer}
.bt-welcome-audio svg{width:16px;height:16px}
.bt-welcome-audio[aria-pressed='false'] .bt-wave{display:none}
.bt-welcome :focus-visible,.bt-sound:focus-visible{outline:2px solid #c57546;outline-offset:5px}
.bt-welcome-hint{position:absolute;bottom:clamp(20px,3vw,35px);left:20px;right:20px;margin:0;text-align:center;color:#85887d;font:400 10px/1.6 'DM Mono',monospace;letter-spacing:.03em}
.bt-welcome.is-leaving{opacity:0;visibility:hidden;pointer-events:none}
.bt-welcome.is-leaving .bt-welcome-copy{opacity:0;transform:translateY(-18px)}
.bt-sound{position:fixed;bottom:22px;left:clamp(18px,2.7vw,42px);z-index:90;display:inline-flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid var(--line,#757e743b);border-radius:999px;color:var(--text,#283128);background:var(--glass,#f0f0e8c9);box-shadow:0 4px 24px #0000000b;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);font:500 10px/1.3 'DM Mono',monospace;cursor:pointer}
.bt-sound-bars{height:13px;display:flex;align-items:center;gap:2px}
.bt-sound-bars i{display:block;width:2px;height:3px;border-radius:2px;background:currentColor;transition:height .2s}
.bt-sound[aria-pressed='true'] .bt-sound-bars i{animation:bt-equalizer .85s ease-in-out infinite alternate}
.bt-sound-bars i:nth-child(2){animation-delay:-.35s!important}.bt-sound-bars i:nth-child(3){animation-delay:-.6s!important}.bt-sound-bars i:nth-child(4){animation-delay:-.2s!important}
@keyframes bt-equalizer{0%{height:3px}100%{height:13px}}
@media(max-width:600px){.bt-welcome-top small{font-size:8px;max-width:116px;text-align:right}.bt-welcome-copy{margin-top:23svh}.bt-welcome h2{font-size:clamp(80px,23vw,115px)}.bt-welcome h2 span{font-size:.34em}.bt-welcome-load{margin-top:25px}.bt-welcome-actions{margin-top:22px}.bt-welcome-enter{padding:16px 22px}.bt-sound{bottom:16px;padding:10px 12px}.bt-welcome-hint{font-size:9px}}
@media(max-height:630px) and (min-width:601px){.bt-welcome-copy{margin-top:19svh}.bt-welcome h2{font-size:80px}.bt-welcome-load{margin-top:18px}.bt-welcome-actions{margin-top:18px;gap:9px}}
@media(prefers-reduced-motion:reduce){.bt-welcome,.bt-welcome-copy,.bt-welcome-enter,.bt-welcome-progress i{transition:none}.bt-sound[aria-pressed='true'] .bt-sound-bars i{animation:none;height:9px}.bt-sound-bars i:nth-child(even){height:5px!important}}

/* Keep an explicit recovery control visible when sound has not started. */
@media(min-width:901px){body.first-visible .bt-sound:not([data-sound-status="playing"]){display:inline-flex}}

/* Playful loading captions, separate from the real progress and live status. */
.bt-welcome-flavor{position:absolute;top:calc(100% + 17px);left:50%;transform:translateX(-50%);width:min(360px,calc(100vw - 44px));margin:0;display:flex;align-items:center;justify-content:center;gap:9px;color:#626b60;font:400 13px/1.6 'DM Mono',monospace;text-align:center;pointer-events:none}
.bt-welcome-flavor::before{content:'';width:4px;height:4px;flex:0 0 4px;border-radius:50%;background:#bd6535}
.bt-welcome-flavor span{display:block;transition:opacity .13s ease,transform .18s ease}
.bt-welcome-flavor .is-changing{opacity:0;transform:translateY(-3px)}
@media(max-width:600px){.bt-welcome-flavor{font-size:12px}}
@media(prefers-reduced-motion:reduce){.bt-welcome-flavor span{transition:none}.bt-welcome-flavor .is-changing{opacity:1;transform:none}}
