@import "https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap";main{isolation:isolate;min-height:100vh;position:relative}main:before,main:after{content:"";pointer-events:none;position:fixed;inset:0}main:before{z-index:-2;background-position:50%;background-repeat:no-repeat;background-size:cover}main:after{z-index:-1;background:radial-gradient(circle at 50% 18%,#24140f78 0,#0d0a09bd 76%),linear-gradient(#100d0c66,#100d0cb8)}main.theme-inicio:before{background-image:url(/images/fondo-inicio.png)}main.theme-amanecer:before{background-image:url(/images/fondo-amanecer.png)}main.theme-anochecer:before{background-image:url(/images/fondo-anochecer.png)}:root{color:#eee5d5;font-synthesis:none;background:#100d0c;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 50% -10%,#38251d 0,#0000 35%),#100d0c;min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.grain{pointer-events:none;opacity:.18;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");position:fixed;inset:0}.page{z-index:1;width:min(1120px,100% - 40px);margin:auto;padding:48px 0 56px;position:relative}header{z-index:2;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#100d0cd9;border-bottom:1px solid #ffffff12;justify-content:space-between;align-items:center;height:72px;padding:0 max(24px,50vw - 560px);display:flex;position:relative}.logo{text-align:left;align-items:center;gap:15px;display:flex}.logo .sigil{color:#d66c55;border:1px solid #a94f3e;border-radius:50%;place-items:center;width:56px;height:56px;font-family:Cormorant Garamond;font-size:36px;display:grid;box-shadow:inset 0 0 0 4px #100d0c,0 0 24px #b54d2933}.logo b{letter-spacing:.22em;font:700 37px/1 Cormorant Garamond;display:block}.logo small{color:#a89887;letter-spacing:.28em;font-size:9px}.logo.compact .sigil{width:38px;height:38px;font-size:25px}.logo.compact b{font-size:24px}.icon-button,.back,.text-button,.remove{color:#ac9d8e;background:0 0;border:0}.icon-button{padding:10px}.icon-button svg{width:20px}.home{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding-top:72px;display:flex}.moon{filter:blur(.2px);color:#bd5c45;opacity:.22;background:radial-gradient(circle,#b34b3524 0,#0000 65%);border-radius:50%;place-items:center;width:360px;height:360px;font:190px/1 serif;display:grid;position:absolute;top:5%;left:50%;transform:translate(-50%)}.home .logo{z-index:1;margin-bottom:64px}.intro{max-width:690px}.eyebrow{color:#ba654f;letter-spacing:.24em;margin:0 0 15px;font-size:11px;font-weight:700}.intro h1,.phase-heading h1,.lobby h1{color:#f1e8d8;margin:0;font:600 clamp(42px,6vw,72px)/.95 Cormorant Garamond}.intro h1 em{color:#ca6a53;font-style:italic}.intro>p:last-child,.lobby-top>div>p:last-child,.phase-heading>p:last-child{color:#9f9387;max-width:580px;margin:24px auto;line-height:1.7}.actions{gap:12px;margin-top:30px;display:flex}.primary,.secondary,.ghost{border:0;border-radius:5px;justify-content:center;align-items:center;gap:10px;min-height:52px;padding:0 22px;font-weight:700;display:inline-flex}.primary{color:#fff5e9;background:linear-gradient(135deg,#a94331,#773021);box-shadow:0 10px 30px #5c1b1466}.primary:hover{background:linear-gradient(135deg,#bd513d,#873527)}.secondary{color:#e4d9ca;background:#1a1614;border:1px solid #54463d}.secondary:hover{background:#26201c}.primary svg,.secondary svg{width:18px}.primary svg:last-child{width:16px}.footnote{color:#736a62;align-items:center;gap:7px;margin-top:42px;font-size:12px;display:flex}.footnote svg{width:15px}.narrow{max-width:560px}.back{align-items:center;gap:8px;margin-bottom:28px;display:flex}.back svg{width:18px}.card{background:linear-gradient(145deg,#1b1715,#151210);border:1px solid #352d28;border-radius:10px;box-shadow:0 20px 50px #0005}.join-card{text-align:center;padding:42px}.card-icon,.result-icon{color:#c85f47;background:#632d223b;border-radius:50%;place-items:center;width:60px;height:60px;margin:0 auto 22px;display:grid}.join-card h2,.result h2{margin:0 0 8px;font:600 42px Cormorant Garamond}.join-card>p:not(.eyebrow){color:#988b80;margin:0 0 30px}.join-card label{text-align:left;color:#a99c90;margin:16px 0 7px;font-size:12px;font-weight:700;display:block}.join-card input,.add-player input{color:#f1e7da;background:#100e0d;border:1px solid #40362f;border-radius:5px;outline:none;width:100%;height:52px;padding:0 15px}.join-card input:focus,.add-player input:focus{border-color:#9f4735}.join-card .code-input{text-align:center;letter-spacing:.35em;text-transform:uppercase;font-size:24px}.join-card .primary{width:100%;margin-top:18px}.lobby-top{justify-content:space-between;align-items:end;margin-bottom:34px;display:flex}.lobby h1{margin:0;font-size:54px}.lobby-top>div>p:last-child{margin:12px 0 0}.room-code{text-align:right}.room-code small{color:#81756c;letter-spacing:.18em;font-size:9px;display:block}.room-code strong{letter-spacing:.25em;color:#e6daca;font:700 36px Cormorant Garamond}.room-code button{color:#b85c46;background:0 0;border:0;margin:2px 0 0 auto;font-size:12px;display:block}.room-code svg{vertical-align:middle;width:13px}.lobby-grid{grid-template-columns:1.45fr .75fr;gap:20px;display:grid}.players,.qr,.vote-status,.narration{padding:24px}.card-title{border-bottom:1px solid #302925;justify-content:space-between;align-items:center;padding-bottom:18px;display:flex}.card-title>span{align-items:center;gap:10px;font:600 21px Cormorant Garamond;display:flex}.card-title svg{color:#b55742;width:19px}.card-title>b{color:#d27863;background:#2d211d;border-radius:20px;padding:3px 10px;font-size:12px}.add-player{gap:8px;margin:18px 0;display:flex}.add-player button{color:#eee1d2;background:#803828;border:0;border-radius:5px;width:52px}.add-player button svg{width:18px}.player{border-top:1px solid #2b2521;align-items:center;gap:12px;padding:12px 2px;display:flex;position:relative}.player:first-child{border-top:0}.avatar{color:#d6765e;background:#3b2922;border-radius:50%;flex:0 0 38px;place-items:center;height:38px;font-family:Cormorant Garamond;font-size:18px;font-weight:700;display:grid}.player>div{flex:1}.player>div>b{font-size:13px;display:block}.player small{color:#726962;font-size:10px}.player small i{background:#6a8b65;border-radius:50%;width:5px;height:5px;margin-right:4px;display:inline-block}.toggle-label{color:#8f8378;align-items:center;gap:7px;font-size:11px;display:flex}.toggle{background:#3e3732;border:0;border-radius:20px;width:34px;height:19px;padding:2px}.toggle span{background:#8b817a;border-radius:50%;width:15px;height:15px;transition:all .2s;display:block}.toggle.on{background:#80392b}.toggle.on span{background:#e8c9bd;transform:translate(15px)}.remove{padding:5px}.remove svg{width:15px}.host-crown{color:#d5a95c;width:12px;position:absolute;top:8px;left:28px}.qr{text-align:center}.qr-box{background:#f3ead8;border-radius:5px;width:192px;height:192px;margin:22px auto;padding:14px}.qr>p:not(.eyebrow){color:#8d8177;max-width:230px;margin:0 auto;font-size:12px}.divider{border-top:1px solid #332c27;margin:27px 0 20px}.divider span{letter-spacing:.15em;color:#6e655e;background:#171311;padding:0 8px;font-size:8px;position:relative;top:-8px}.qr .secondary{width:100%;font-size:12px}.bottom-bar{border-top:1px solid #2d2723;justify-content:space-between;align-items:center;margin-top:24px;padding-top:24px;display:flex}.bottom-bar>div{align-items:center;gap:16px;display:flex}.bottom-bar small{color:#776e66}.phase-heading{text-align:center}.phase-heading h1{font-size:56px}.timer{text-align:center;width:min(600px,100%);margin:32px auto 26px}.timer>svg{color:#b75641;width:19px}.timer strong{letter-spacing:.08em;font:600 62px/1 Cormorant Garamond;display:block}.timer small{letter-spacing:.24em;color:#786e67;font-size:8px}.timer-track{background:#302825;height:3px;margin-top:18px}.timer-track span{background:#a74734;height:100%;transition:all 1s linear;display:block}.game-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.narration{text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.narration>svg{color:#b45540;width:26px}.narration blockquote{color:#d9cdbc;margin:12px 0 26px;font:italic 25px/1.45 Cormorant Garamond}.vote-row{border-bottom:1px solid #2c2521;align-items:center;gap:12px;padding:11px 0;display:flex}.vote-row>b{flex:1;font-size:13px}.voted,.pending{font-size:10px}.voted{color:#789875;align-items:center;gap:4px;display:flex}.voted svg{width:13px}.pending{color:#7e746c}.ghost{color:#a99a8e;background:0 0;border:1px dashed #4b4039;width:100%;min-height:38px;margin-top:14px;font-size:11px}.game-actions{justify-content:flex-end}.result{text-align:center;max-width:560px;margin:40px auto;padding:48px}.result h2{color:#d3765d;font-size:62px}.result>p:not(.eyebrow){color:#9e9186}.result-warning{color:#7f756d;background:#120f0e;border:1px solid #332a25;margin:28px 0;padding:13px;font-size:11px}.result-warning svg{vertical-align:middle;width:14px;margin-right:5px}@media (width<=720px){.page{width:min(100% - 28px,1120px);padding-top:30px}.home{padding-top:55px}.home .logo{margin-bottom:50px}.intro h1{font-size:46px}.actions{flex-direction:column;width:100%}.primary,.secondary{width:100%}.lobby-top{display:block}.room-code{text-align:left;margin-top:26px}.room-code button{margin-left:0}.lobby-grid,.game-grid{grid-template-columns:1fr}.bottom-bar{align-items:stretch;gap:18px}.bottom-bar>div{flex-direction:column;flex:1;align-items:stretch;gap:8px}.bottom-bar small{text-align:center}.bottom-bar .text-button{align-self:center}.phase-heading h1,.lobby h1{font-size:43px}.game-actions{flex-direction:column-reverse}.join-card{padding:28px 20px}.logo b{font-size:31px}.moon{width:260px;height:260px;font-size:140px}.qr{order:-1}}.live-pill{color:#8f8277;letter-spacing:.15em;align-items:center;gap:7px;font-size:10px;display:flex}.live-pill i{background:#71946e;border-radius:50%;width:6px;height:6px}.mode-grid{grid-template-columns:1fr 1fr;gap:15px;margin:38px 0;display:grid}.mode-card{text-align:left;color:#e8ddcd;background:linear-gradient(145deg,#1d1815,#14110f);border:1px solid #3a302b;border-radius:10px;align-items:center;gap:20px;min-height:145px;padding:24px;transition:all .2s;display:flex}.mode-card:hover{border-color:#8f4637;transform:translateY(-3px)}.mode-symbol{color:#d06b54;background:#3a211b;border-radius:50%;flex:0 0 64px;place-items:center;width:64px;height:64px;font:35px Cormorant Garamond;display:grid}.mode-card.sheriff .mode-symbol{color:#80a7ae;background:#202c31}.mode-card.night .mode-symbol{color:#9482bc;background:#27213a}.mode-card>div{flex:1}.mode-card small{letter-spacing:.18em;color:#746a62;font-size:8px}.mode-card h2{margin:5px 0;font:600 25px Cormorant Garamond}.mode-card p{color:#8d8177;margin:0;font-size:11px}.mode-card>svg{width:18px}.connected-note{text-align:center;color:#736962;font-size:11px}.director{flex-direction:column;justify-content:center;max-width:900px;min-height:calc(100vh - 72px);display:flex}.progress-dots{justify-content:center;gap:7px;margin-bottom:25px;display:flex}.progress-dots i{background:#342c28;width:34px;height:3px}.progress-dots i.active{background:#a64936}.scene,.choice-scene,.confirm-scene,.reveal-scene{text-align:center}.scene h1,.choice-scene h1,.confirm-scene h1,.reveal-scene h1{max-width:760px;margin:0 auto 14px;font:600 clamp(38px,6vw,62px)/1 Cormorant Garamond}.scene-art{background:radial-gradient(circle,#6b30245e,#0000 65%);border-radius:50%;place-items:center;width:210px;height:210px;margin:22px auto;display:grid;position:relative}.scene-art span{color:#b6533e;text-shadow:0 0 45px #b6533e88;font:110px Cormorant Garamond}.scene-art.sheriff{background:radial-gradient(circle,#28424e88,#0000 65%)}.scene-art.sheriff span{color:#78a1aa}.scene-art i{background:#dbb58b;border-radius:50%;width:3px;height:3px;position:absolute}.scene-art i:nth-child(2){top:25%;left:18%}.scene-art i:nth-child(3){top:15%;right:21%}.scene-art i:nth-child(4){bottom:22%;right:13%}.scene blockquote{color:#aa9b8e;max-width:640px;margin:0 auto 22px;font:italic 20px/1.5 Cormorant Garamond}.audio-player{align-items:center;gap:12px;max-width:520px;margin:auto;display:flex}.audio-player button{color:#c96a51;background:#211815;border:1px solid #59423a;border-radius:50%;width:34px;height:34px}.audio-player button svg{width:14px}.audio-player>div{background:#3a302b;flex:1;height:3px}.audio-player>div span{background:#b5503b;height:100%;display:block}.audio-player small{color:#776d65;font-size:8px}.scene-actions,.confirm-actions{justify-content:center;gap:12px;margin-top:28px;display:flex}.choice-scene>p:not(.eyebrow),.confirm-scene>p,.reveal-scene>p:not(.eyebrow){color:#978a7f}.choice-grid{grid-template-columns:repeat(3,1fr);gap:10px;max-width:720px;margin:28px auto;display:grid}.choice-grid button{color:#e5d9ca;background:#181412;border:1px solid #3b322d;border-radius:7px;align-items:center;gap:12px;height:68px;padding:10px;display:flex}.choice-grid button:hover{border-color:#a44b38}.choice-grid b{flex:1}.choice-grid svg{width:15px}.fastest{color:#716760!important;font-size:10px!important}.fastest svg{vertical-align:middle;width:13px}.confirm-scene .scene-art,.reveal-scene .scene-art{width:160px;height:160px}.confirm-scene .scene-art span,.reveal-scene .scene-art span{font-size:82px}.confirm-scene h1{color:#d7785f}.confirm-actions button{border-radius:5px;align-items:center;gap:8px;min-height:54px;padding:0 22px;font-weight:700;display:flex}.reject{color:#aaa096;background:#171311;border:1px solid #4c4039}.accept{color:#fff0dc;background:#775239;border:0}.reveal-stack{flex-direction:column;gap:12px;max-width:560px;margin:28px auto 0;display:flex}.reveal-button{color:#d8b5aa;background:#291916;border:1px solid #653c32;border-radius:7px;justify-content:center;align-items:center;gap:10px;width:min(560px,100%);min-height:66px;margin:28px auto 0;font-weight:700;display:flex}.reveal-stack .reveal-button{margin:0}.reveal-button.revealed{color:#e6dccd;background:#17201f;border-color:#526d6b;font:600 28px Cormorant Garamond}.reveal-button.danger{background:#281512;border-color:#8b3e31}.reveal-button.safe{background:#132025;border-color:#45656c}.reveal-button svg{width:21px}.advance{margin:22px auto 0}@media (width<=720px){.mode-grid{grid-template-columns:1fr}.mode-card{min-height:120px;padding:16px}.mode-symbol{flex-basis:50px;width:50px;height:50px}.scene-art{width:145px;height:145px;margin:12px auto}.scene-art span{font-size:76px}.scene-actions,.confirm-actions{flex-direction:column}.choice-grid{grid-template-columns:1fr 1fr}.choice-grid button{height:58px}.confirm-actions button{justify-content:center;width:100%}.confirm-scene .scene-art,.reveal-scene .scene-art{width:115px;height:115px}.confirm-scene .scene-art span,.reveal-scene .scene-art span{font-size:58px}.progress-dots i{width:22px}}.sound-unlock{text-align:center;max-width:520px;margin:24px auto 0;padding:18px}.sound-unlock .primary{width:100%}.sound-unlock p{color:#8d8177;margin:12px 4px 0;font-size:11px;line-height:1.45}.sound-ready{text-align:center;color:#789875;margin:22px 0 0;font-size:12px}.error-toast{z-index:20;color:#f1d8d0;text-align:center;background:#291613f2;border:1px solid #814335;border-radius:8px;width:min(92vw,520px);padding:13px 16px;font-size:13px;position:fixed;top:84px;left:50%;transform:translate(-50%);box-shadow:0 12px 35px #0009}.you-pill{color:#ce735c;background:#34251f;border-radius:20px;padding:3px 8px;font-size:9px;font-weight:700}.lobby-grid.player-view{grid-template-columns:minmax(0,720px);justify-content:center}.waiting-host{color:#9a8d82;justify-content:center;align-items:center;gap:8px;font-size:12px;display:inline-flex}.waiting-host i{background:#bd684f;border-radius:50%;width:7px;height:7px;animation:1.6s infinite waitingPulse}@keyframes waitingPulse{70%{box-shadow:0 0 0 8px #bd684f00}}.presence-overlay{z-index:50;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#090706e8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.presence-card{text-align:center;width:min(92vw,520px);max-height:92dvh;padding:34px;overflow:auto}.presence-card h2{margin:0 0 12px;font:600 42px/1 Cormorant Garamond}.presence-card>p:not(.eyebrow){color:#a99b90;line-height:1.5}.presence-card .qr-box{margin:20px auto 10px}.rejoin-code{letter-spacing:.22em;color:#d7c8b5;margin-bottom:12px;display:block}.presence-actions{gap:10px;margin-top:24px;display:flex}.presence-actions button{flex:1}.reconnect-options{margin-top:22px}.reconnect-options .secondary{width:100%;margin-top:8px}.join-card>.text-button{margin-top:18px}@media (width<=720px){main:after{background:linear-gradient(#0e0b0ab5,#0e0b0ad2)}main.theme-inicio:before{background-position:53%}main.theme-amanecer:before{background-position:36%}main.theme-anochecer:before{background-position:55%}html{overscroll-behavior:none;background:#100d0c}body{overflow-x:hidden}main{min-height:100dvh;padding-bottom:env(safe-area-inset-bottom)}header{height:60px;padding:0 max(16px,env(safe-area-inset-left));position:sticky;top:0}.logo.compact .sigil{width:34px;height:34px}.logo.compact b{font-size:20px}.live-pill{white-space:nowrap;max-width:45vw}.page{width:calc(100% - 28px);padding:24px 0 calc(36px + env(safe-area-inset-bottom))}.home{width:calc(100% - 34px);min-height:100dvh;padding:46px 0 calc(28px + env(safe-area-inset-bottom));justify-content:center}.home .logo{margin-bottom:38px}.intro h1{font-size:clamp(40px,12vw,54px);line-height:.98}.intro>p:last-child{margin:19px auto;font-size:14px;line-height:1.55}.actions{margin-top:22px}.actions button{min-height:58px}.moon{top:2%}button,.primary,.secondary{touch-action:manipulation}.primary,.secondary{min-height:52px}.icon-button,.back,.text-button,.remove{min-width:44px;min-height:44px}.back{margin-bottom:16px}.join-card{padding:26px 18px}.join-card h2{font-size:38px}.join-card input,.add-player input{height:56px;font-size:16px}.join-card label{font-size:13px}.card-icon{margin-bottom:16px}.lobby{padding-bottom:128px}.lobby-top{margin-bottom:18px}.lobby h1{font-size:40px}.lobby-top>div>p:last-child{margin-top:9px;font-size:13px;line-height:1.5}.room-code{background:#171311;border:1px solid #352d28;border-radius:8px;align-items:center;gap:12px;margin-top:18px;padding:12px 14px;display:flex}.room-code small{display:none}.room-code strong{flex:1;font-size:28px}.room-code button{min-height:44px;margin:0}.lobby-grid{gap:14px}.players,.qr{padding:18px}.card-title>span{font-size:19px}.player{min-height:62px}.avatar{flex-basis:42px;height:42px}.qr-box{margin:16px auto}.bottom-bar{z-index:8;padding:12px 14px calc(12px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#100d0cf5;border-top:1px solid #3b302a;margin:0;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -12px 30px #0007}.bottom-bar>div{gap:5px}.bottom-bar .primary{min-height:54px}.bottom-bar>.text-button{font-size:11px}.bottom-bar .waiting-host{min-height:50px}.player-view{display:block}.modes{padding-bottom:32px}.phase-heading h1{font-size:39px}.phase-heading>p:last-child{margin:14px auto;font-size:13px;line-height:1.5}.mode-grid{gap:10px;margin:24px 0}.mode-card{gap:13px;min-height:104px;padding:14px}.mode-card h2{font-size:22px}.mode-card p{line-height:1.35}.mode-card>svg{display:none}.director{min-height:calc(100dvh - 60px);padding-top:16px;padding-bottom:calc(24px + env(safe-area-inset-bottom));justify-content:flex-start}.progress-dots{z-index:3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#100d0ccc;border-radius:20px;margin:0 auto 18px;padding:8px 12px;position:sticky;top:66px}.progress-dots i{width:18px}.scene h1,.choice-scene h1,.confirm-scene h1,.reveal-scene h1{font-size:clamp(35px,10vw,46px)}.scene-art{width:125px;height:125px;margin:8px auto}.scene-art span{font-size:66px}.scene blockquote{margin-bottom:18px;font-size:17px;line-height:1.38}.scene-actions{bottom:calc(8px + env(safe-area-inset-bottom));z-index:4;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#15110fee;border:1px solid #362b26;border-radius:9px;padding:10px;position:sticky}.audio-player{margin-bottom:10px}.choice-grid{gap:8px;margin:20px auto}.choice-grid button{height:62px;padding:8px}.choice-grid b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.fastest{line-height:1.4}.confirm-actions{bottom:calc(8px + env(safe-area-inset-bottom));z-index:4;background:#15110fee;border-radius:9px;padding:10px;position:sticky}.reveal-button{min-height:64px;padding:8px 14px}.advance{width:100%;min-height:56px}}
