/* Mary 1.1: warm editorial Latin lounge; contrast-first and light on decoration. */
:root{--pink:#ffc37d;--gold:#ffd597;--muted:#d2c5b7;--text:#fff5e9;--ink:#fff5e9;--line:#ffffff20;--panel:#232622;--accent:#f5c68a}
body:not(.mary-stage){background:#171b17 url('/mary-bg.svg') center top/cover fixed no-repeat!important;color:#fff5e9}
body.mary-stage,.mary-stage .ambient{background:#151a17 url('/mary-bg.svg') center center/cover no-repeat!important}
body:not(.mary-stage):before{content:'';position:fixed;inset:0;pointer-events:none;background:linear-gradient(180deg,#141a14aa,#141815de 65%,#141815ef);z-index:-1}
.cabinet{background:transparent!important;border:0!important;box-shadow:none!important;width:calc(100% - 28px)!important;max-width:1080px!important;margin:0 auto!important}.cabinet>header{padding:18px 3px 12px!important}.brand h1{font:750 clamp(24px,4vw,34px)/1.05 system-ui,sans-serif!important;letter-spacing:-.055em!important;color:#fff5e9!important}.brand h1 span{font-weight:400!important;color:#f7cb94!important}.brand .sub{font-size:9px!important;letter-spacing:.16em!important;color:#e3cbb5!important}.disc{background:conic-gradient(#eecb77 0 33%,#4274a8 33% 66%,#bb4348 66%)!important;box-shadow:0 0 0 5px #fff1!important;border:0!important;width:35px!important;height:35px!important;min-width:35px}.status{background:#181f1bcc!important;border:1px solid #ffffff24!important;border-radius:99px!important;font-size:10px!important;color:#f3d6aa!important;box-shadow:none!important;padding:7px 10px!important}.arch-lights{display:none!important}
.hero{isolation:isolate;position:relative;background:linear-gradient(105deg,#292c22ee 4%,#28271fa0 65%,#81563d42),url('/mary-bg.svg') right 40%/cover!important;border:1px solid #fff2!important;border-radius:22px!important;min-height:0!important;padding:22px 24px!important;text-align:left!important;overflow:hidden!important;box-shadow:0 14px 40px #0003!important}.hero:before,.hero:after,.hero-vinyl{display:none!important}.hero h2{font:700 clamp(26px,5vw,40px)/1.08 system-ui,sans-serif!important;letter-spacing:-.05em!important;margin:7px 0!important;color:#fff6e9!important}.hero p{font-size:14px!important;line-height:1.4!important;color:#e7d7c7!important;margin:0!important;max-width:75%}.nary-kicker{font-size:10px!important;color:#f7d49a!important;letter-spacing:.18em!important;margin:0!important}.hero .clockrow,#event-title{display:none!important}.hero .nary-fiesta{position:absolute!important;top:14px;right:13px;height:auto!important;display:flex!important;gap:5px!important;align-items:center!important;margin:0!important;opacity:.95;pointer-events:none}.hero .nary-flag{width:48px!important;height:30px!important;border-radius:5px!important;transform:rotate(6deg);box-shadow:0 4px 10px #0005}.hero .nary-flag span:after{font-size:5px!important}.hero .nary-bow{width:31px!important;height:24px!important;animation:mary-bow 4.8s ease-in-out infinite!important}.hero .nary-bow.bow-right{display:none!important}
.guest-layout .connection{display:none}.tabs{background:#1c211dd9!important;border:1px solid #ffffff1b!important;border-radius:15px!important;box-shadow:none!important;padding:5px!important;gap:5px!important;margin:13px 0!important;backdrop-filter:blur(14px)}.tabs button,.tabs a{border:0!important;box-shadow:none!important;border-radius:10px!important;background:transparent!important;color:#ddcfc0!important;min-height:46px!important}.tabs button.active{background:#f3cf9a!important;color:#22281e!important}.guest-layout .tabs button{font-size:14px!important}
.card,.mobile-now,.turn-card,.my-request{background:linear-gradient(145deg,#292e28f7,#202520f7)!important;border:1px solid #ffffff19!important;border-radius:18px!important;box-shadow:0 8px 24px #0002!important}.card{padding:18px!important}.mobile-now{padding:15px!important;gap:15px!important;min-height:80px}.mobile-now.has-art{display:flex!important;text-align:left!important;align-items:center!important;gap:17px!important;padding:15px!important}.mobile-now.has-art .mobile-now-art{width:110px!important;height:110px!important;flex:0 0 110px!important;border:0!important;padding:0!important;border-radius:13px!important;background:#10140f!important;box-shadow:0 11px 23px #0008!important;transform-style:preserve-3d;touch-action:none;overflow:hidden}.mobile-now-art img{border-radius:inherit;display:block;object-fit:contain!important;pointer-events:none}.mobile-now.has-art .mobile-now-art:not(.tilting){animation:mary-float 7s ease-in-out infinite!important;will-change:transform}.mobile-now.has-art .mobile-now-art.tilting{animation:none!important;transform:perspective(650px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(1.055)!important;transition:transform .08s linear!important;cursor:grabbing}.mobile-now.has-art strong{font-size:clamp(15px,4.4vw,22px)!important;line-height:1.22!important}.mobile-now small,.turn-card small{color:#d3c9b9!important}.mobile-now .eyebrow,.turn-card .eyebrow{color:#ebc48d!important;font-size:9px!important;letter-spacing:.12em!important}.mobile-eq{gap:3px!important;align-self:center!important;flex:0 0 auto}.mobile-eq i,.equalizer i{background:#f3c58d!important}.turn-card{padding:11px 14px!important;margin-bottom:12px!important}.turn-card.ready{background:linear-gradient(110deg,#293a2d,#242a22)!important;border-color:#69866a77!important}.turn-card strong{font-size:15px!important}.turn-card small{font-size:11px!important}.turn-card .eyebrow{display:none}.now-gesture-hint{font-size:10px!important;color:#dfc9ab!important}.mobile-now .spotify-source{min-height:20px!important}.guest-layout .attribution{font-size:10px!important;color:#b1b1a2!important;opacity:.8;margin:14px 0 0!important}.guest-layout .songinfo .spotify-source{font-size:10px!important;opacity:.82}.guest-layout #guest h3{font-size:20px!important;letter-spacing:-.025em!important;color:#fff6e9!important}.guest-layout #guest .span8>.row:first-child{margin-bottom:10px!important}.mary-count{font-size:10px!important;opacity:.7}.guest-layout #guest input,.guest-layout #guest select{background:#171e18!important;color:#fff6e9!important;border:1px solid #ffffff24!important;border-radius:12px!important;box-shadow:none!important}.guest-layout #search{margin:0!important;min-height:54px!important;padding:14px!important}.guest-layout #spotify-search{width:100%;margin:8px 0 0;min-height:47px!important}.guest-layout #spotify-search-info:empty{display:none}.mary-options{margin:10px 0 14px;padding:8px 0;color:#dfcdb7;font-size:12px}.mary-options summary{cursor:pointer;color:#e1c8a6;font-weight:600}.mary-options label{font-size:12px!important}.mary-options .row{margin:8px 0!important}.guest-layout .song,.guest-layout .queueitem{border-color:#ffffff12!important;gap:11px!important}.guest-layout .songinfo strong{color:#fff6e9!important}.guest-layout .songinfo small{color:#c7c4b7!important}.guest-layout .song button{min-width:68px!important;border-radius:12px!important}.guest-layout .song .art{border-radius:9px!important}.guest-layout .nary-album{margin-top:16px!important}.guest-layout .nary-album summary{color:#f3d2a6!important}.guest-layout .nary-album summary small{font-size:10px!important}.guest-layout .nary-photo-tile{background:#171e18!important;border-color:#fff2!important}.guest-layout footer{color:#aeae9f!important;font-size:10px!important;margin:18px 0!important;text-align:center}.guest-layout .span4 .notice{display:none!important}
button:not(.secondary):not(.ghost):not(.danger){background:linear-gradient(120deg,#ffe1a8,#eaba7a)!important;color:#23281f!important;border-radius:12px!important;box-shadow:0 4px 12px #0002!important;transition:transform .18s cubic-bezier(.2,.8,.2,1),filter .18s,box-shadow .18s!important}button:not(:disabled):active{transform:scale(.965)!important;filter:brightness(1.05)}button:not(:disabled):hover{filter:brightness(1.04)}button:disabled{filter:none!important;opacity:.47!important}.guest-layout button.secondary,.guest-layout .secondary{background:#ffffff08!important;border-color:#ffffff25!important;color:#f4dfc6!important;border-radius:12px!important}.guest-layout .tabs button:not(.active){background:transparent!important;box-shadow:none!important;color:#d6cfc1!important}.guest-layout .tabs button.active{background:#f5d09c!important;color:#22281e!important}.guest-layout #guest:not(.hidden){animation:mary-enter .32s ease-out both}.guest-layout #songlist .song,.guest-layout #spotify-results .song{animation:mary-enter .24s ease-out both}.guest-layout #songlist .song:nth-child(2),.guest-layout #spotify-results .song:nth-child(2){animation-delay:.04s}.guest-layout #songlist .song:nth-child(3),.guest-layout #spotify-results .song:nth-child(3){animation-delay:.08s}
@keyframes mary-float{0%,100%{transform:perspective(650px) rotateX(5deg) rotateY(-12deg) translateY(0)}25%{transform:perspective(650px) rotateX(-8deg) rotateY(2deg) translateY(-3px)}50%{transform:perspective(650px) rotateX(4deg) rotateY(12deg) translateY(0)}75%{transform:perspective(650px) rotateX(-4deg) rotateY(-1deg) translateY(-3px)}}@keyframes mary-enter{from{opacity:.2;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes mary-bow{50%{transform:rotate(-8deg) translateY(2px)}}
.mary-stage .stage{background:transparent!important;width:100%;max-width:1800px}.mary-stage .playing,.mary-stage .next,.mary-stage .qr{background:#202620e8!important;border:1px solid #ffffff26!important;border-radius:18px!important;box-shadow:0 12px 30px #0003!important}.mary-stage .brand-number{border-color:#e5c08c!important;color:#ffdaab!important}.mary-stage .cover-frame{border-color:#dec08e!important}.mary-stage .ambient i{background:#eeb47a!important;opacity:.075!important}.mary-stage .record-scene:before{background:conic-gradient(transparent,#c58e5855,transparent,#7f9a7855,transparent)!important}.mary-stage .tools button,.mary-stage .tools a{background:#202820!important;color:#ead6be!important;border-color:#ffffff24!important}.mary-stage .stage footer{color:#d9ccbc!important}.mary-stage #karaoke-overlay{background:#171c17 url('/mary-bg.svg') center/cover no-repeat!important}.mary-stage .k-shell{background:#202820f5!important;border:1px solid #ffffff22!important;max-width:1200px;width:96%;margin:0 auto!important;color:#fff3e2}.mary-stage .k-shell h1{font-size:clamp(26px,4vw,44px)!important}.mary-stage .k-player{width:100%;height:65vh;max-height:68vh;min-height:180px;aspect-ratio:auto}.mary-stage .k-player iframe{width:100%;height:100%}.mary-stage .nary-k-controls{margin:5px 0!important}.mary-stage .k-shell .k-muted{margin:5px 0!important}.mary-stage .nary-stage-album{background:#222a21!important}.mary-stage .stage .nary-flag{width:60px;height:34px}.mary-stage .stage .nary-flag span:after{font-size:6px!important}
@media(max-width:760px){.cabinet{width:calc(100% - 22px)!important}.cabinet>header{padding:13px 1px 10px!important;flex-wrap:nowrap!important}.brand h1{font-size:24px!important}.brand .sub{font-size:8px!important}.hero{padding:18px 15px!important}.hero h2{font-size:28px!important}.hero p{font-size:12px!important;max-width:85%}.hero .nary-fiesta{right:10px;top:9px}.hero .nary-flag{width:38px!important;height:24px!important}.hero .nary-bow{width:26px!important;height:20px!important}.guest-layout .tabs{position:sticky;top:5px!important;margin:10px 0!important}.guest-layout .card{padding:14px!important}.mobile-now.has-art{gap:12px!important;padding:12px!important}.mobile-now.has-art .mobile-now-art{width:86px!important;height:86px!important;flex-basis:86px!important}.mobile-now.has-art .mobile-eq{display:none!important}.mobile-now.has-art strong{font-size:17px!important}.mobile-now:not(.has-art){padding:11px!important}.turn-card{margin-bottom:10px!important}.guest-layout .song .art{width:48px!important;height:48px!important}.guest-layout #guest .span4{margin-top:12px!important}}
@media(prefers-reduced-motion:reduce){.mobile-now.has-art .mobile-now-art:not(.motion-opt-in),.guest-layout .song,.guest-layout #guest,.hero .nary-bow{animation:none!important}.mobile-now.has-art .mobile-now-art.motion-opt-in:not(.tilting){animation:mary-float 7s ease-in-out infinite!important}.mobile-now.has-art .mobile-now-art.motion-opt-in.tilting{transform:perspective(650px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(1.055)!important}}
/* Keep status/timing controls visible to the DJ; guest-only simplification. */
body.dj-admin .hero .clockrow{display:flex!important;margin-top:12px}body.dj-admin .connection{display:flex!important}.guest-layout .hero #event-title{display:none!important}
/* On a single projection, provide fullscreen controls while karaoke is visible. */
.mary-stage.karaoke-active #mary-k-full{display:block!important}.mary-stage #mary-k-full{display:none;position:fixed;bottom:12px;right:12px;z-index:110;padding:9px 12px;background:#f3ce9a!important;color:#22281e!important;border:0;border-radius:8px}
/* Slow, restrained lighting sweep behind the headline; movement without clutter. */
.hero:after{display:block!important;position:absolute!important;inset:-55% -25%!important;z-index:-1!important;pointer-events:none!important;background:radial-gradient(ellipse at 75% 45%,#f3b17525,transparent 42%)!important;animation:mary-ambient 11s ease-in-out infinite alternate!important;opacity:.9!important;transform:translateX(-5%)!important;filter:none!important}
@keyframes mary-ambient{to{transform:translateX(9%) translateY(7%) scale(1.12);opacity:.45}}
.mary-count{background:#ffffff0c!important;border-color:#ffffff20!important;color:#d5c7b6!important}
.mary-stage .cover-frame{background:#172018!important;color:#efc38c!important}.mary-stage .record{border-color:#ba9b6c!important}.mary-stage .queue-row .num{color:#eac694!important}
@media(orientation:landscape) and (max-height:600px){.mary-stage .stage{padding:9px 15px;gap:7px;min-height:100vh}.mary-stage .layout{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:10px}.mary-stage .brand-number{width:40px!important;height:40px;font-size:22px}.mary-stage .brand h1{font-size:23px!important}.mary-stage .brand{gap:8px}.mary-stage .head-right{flex-direction:row}.mary-stage .playing{padding:9px!important;min-height:0!important}.mary-stage .record-scene{width:clamp(95px,32vh,185px)!important;margin:4px auto!important}.mary-stage .track h2{font-size:clamp(19px,3.2vw,30px)!important;margin:5px 0!important}.mary-stage .track p{font-size:16px!important;margin:3px 0!important}.mary-stage .equalizer{height:21px!important;margin:7px auto!important}.mary-stage .next,.mary-stage .qr{padding:9px!important}.mary-stage .qr img{width:75px!important}.mary-stage .next h3,.mary-stage .qr h3{font-size:16px!important}.mary-stage .queue-row{padding:4px 0!important}.mary-stage .queue-row a{display:none}.mary-stage footer{font-size:10px}.mary-stage .tools a,.mary-stage .tools button{padding:5px 7px;font-size:10px}.mary-stage.nary-album-mode .layout{grid-template-columns:1fr 190px}.mary-stage #freshness{font-size:9px}.mary-stage .k-shell{padding:6px!important}.mary-stage .k-shell h1{font-size:21px!important;margin:4px 0}.mary-stage .k-shell h2{font-size:19px!important;margin:3px 0}.mary-stage .k-player{height:56vh;min-height:140px;margin:4px auto}.mary-stage .k-shell p{margin:4px 0}.mary-stage .nary-k-controls button{padding:6px;min-height:30px}.mary-stage .k-kicker{font-size:9px}}
@media(prefers-reduced-motion:reduce){.hero:after{animation:none!important}}
