/* V2.1: velvet, editorial typography, layered motion, uncropped photographs. */
:root{--gold:#edcc88;--cream:#fff7e8;--line:#b788584f;--muted:#e9c8c5;--forest:#0c251b;--red:#79172d}
body{background:radial-gradient(ellipse at 15% 0%,#ac344d55,transparent 46%),radial-gradient(ellipse at 90% 60%,#37081799,transparent 65%),linear-gradient(155deg,#851b34,#5b0d21 70%,#3d0a19);background-attachment:fixed}
body:before{content:'';position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.12;background:repeating-linear-gradient(115deg,#fff2 0 1px,transparent 1px 5px)}
#shell{max-width:1100px;padding-top:38px}.brand{gap:13px}.brand h1,.hero h2,.overlay h1,.extra-overlay h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.045em}.brand h1{font-size:clamp(27px,5vw,42px)}.brand em{font-style:italic}.brand small,.eyebrow{letter-spacing:.19em;font-size:10px}header time{font-size:13px;border:1px solid #edcc8855;background:#400a1b88;padding:8px 10px;border-radius:99px;letter-spacing:.04em}
.hero{isolation:isolate;border-radius:27px;padding:27px 23px 24px;min-height:230px;background:radial-gradient(ellipse at 80% 5%,#b34a4d70,transparent 65%),linear-gradient(135deg,#981f3b,#5d1026 70%,#380a19);box-shadow:inset 0 0 0 5px #edcc880b,0 22px 45px #30061155;border:1px solid #e7bc7875;display:flex;flex-direction:column;align-items:flex-start;justify-content:end}.hero:before{content:'';position:absolute;inset:8px;border:1px solid #eac68224;border-radius:20px;pointer-events:none}.hero:after{content:'';position:absolute;inset:-70%;background:conic-gradient(from 50deg,transparent 30%,#f3c77513 37%,transparent 45%);animation:hero-halo 18s linear infinite;z-index:-1;pointer-events:none}.hero-art{position:absolute;top:-8px;right:-12px;width:clamp(170px,47%,320px);margin:0;float:none;opacity:.97;z-index:-1;filter:drop-shadow(0 8px 12px #23051166)}.hero-art svg{overflow:visible}.hero h2{font-size:clamp(37px,7vw,68px);line-height:.98;max-width:70%;margin:7px 0 9px;text-wrap:balance}.hero>p:not(.eyebrow){max-width:68%;font-size:14px;color:#f4dfd2}.hero .eyebrow{max-width:63%;line-height:1.4}.hero .badge{margin-top:8px}.pendant-one,.pendant-two,.pendant-three{transform-origin:top center;animation:pendulum 5.4s ease-in-out infinite}.pendant-two{animation-delay:-2.4s;animation-duration:6.8s}.pendant-three{animation-delay:-1.1s;animation-duration:4.9s}.hero-glints{animation:soft-glint 3.5s ease-in-out infinite alternate}
.card{border-radius:24px;background:linear-gradient(155deg,#92213a99,#4c0e21ef);border:1px solid #e3b77744;box-shadow:0 14px 32px #30071340,inset 0 1px 0 #fff4d40c;padding:clamp(16px,3vw,27px)}.card h2{font-weight:650;letter-spacing:-.03em}.card.now,.qr{background:radial-gradient(ellipse at 8% 0%,#356c4c99,transparent 75%),linear-gradient(145deg,#1c4533,#0b251b);border-color:#d6b16d65}.now .art.large{border-radius:18px;border-color:#e7bc8060;box-shadow:0 9px 30px #0008}.playing .art.large{animation:premium-tilt 8s cubic-bezier(.45,0,.55,1) infinite;transform-style:preserve-3d}.eq{gap:4px}.eq i{background:linear-gradient(#fff0b9,#b18b48);width:4px;box-shadow:0 0 12px #e5bc7055}.guestnav,.admintabs{padding:5px;border:1px solid #ebca8730;border-radius:17px;background:#410a1b9e;backdrop-filter:blur(15px);gap:5px}.guestnav button,.admintabs button{border-radius:12px;border:1px solid transparent;background:transparent;font-size:13px}.guestnav button[aria-pressed=true],.admintabs button[aria-pressed=true]{background:linear-gradient(145deg,#a52b43,#77172d);border-color:#eac67a77;box-shadow:0 4px 10px #0003}.guestnav button{min-height:48px}button,.link-button{border-radius:14px;background:linear-gradient(145deg,#28513a,#14362a);border-color:#d5b4756b;transition:transform .18s cubic-bezier(.2,.7,.3,1.4),box-shadow .2s,filter .2s}button.primary{background:linear-gradient(140deg,#c4495b,#8c1b36 65%,#74152c);box-shadow:0 5px 15px #2e061b55,inset 0 1px 0 #f9d39a55;border-color:#e5bc70b0}button:active:not(:disabled){transform:scale(.96);filter:brightness(1.12)}input,select{background:#380c1b;border-radius:13px;border-color:#d8ad7160}.gallery{gap:12px}.gallery article{padding:10px;border-radius:17px;background:linear-gradient(155deg,#234e39,#112f24);border:1px solid #bba06a70;box-shadow:0 7px 14px #0002}.gallery .photo-open{display:block;width:100%;min-height:0;padding:0;margin:0 0 6px;border:0;border-radius:11px;overflow:hidden;background:#0c2018;box-shadow:none}.gallery img{object-fit:contain;aspect-ratio:4/3;transition:filter .2s}.gallery .photo-open:hover img{filter:brightness(1.09)}.reaction-row{display:flex;flex-wrap:wrap;gap:3px;margin-top:10px}.reaction-row button{font-size:11px;flex:1;min-height:34px;padding:5px;margin:0;border-radius:20px;background:#102e22;white-space:nowrap}.reaction-row button span{font-size:17px;color:#edcc88}.reaction-row button[aria-pressed=true]{background:#793149;border-color:#f4d597;animation:reaction-pop .32s ease-out}.photo-hint{font-size:13px;color:#edc8c2}#photo-dialog{width:min(94vw,850px);max-height:92dvh;border:1px solid #d5ad72;border-radius:22px;background:#260b14;color:var(--cream);padding:14px;overflow:auto}#photo-dialog::backdrop{background:#11050bd9;backdrop-filter:blur(12px)}#photo-preview{display:block;width:100%;max-height:72dvh;object-fit:contain;border-radius:13px}#photo-preview-caption{margin:10px 0;text-align:center}#photo-preview-close{width:100%}
/* Album area is a bounded grid: the image never overlaps the footer or mini-player. */
body.stage #public{position:relative;min-width:0;min-height:0}body.stage #stage-album{height:calc(100dvh - 162px);min-height:280px;max-height:none;position:relative}.album-photo{height:100%;display:grid;grid-template-rows:minmax(0,1fr) clamp(106px,16vh,145px);padding:14px;gap:10px;position:relative;isolation:isolate;overflow:hidden;border:1px solid #eac78180;border-radius:26px;background:#280914;box-shadow:0 16px 45px #22051080}.album-photo:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#190610eb,#240b17a0 28%,#25091244 80%);z-index:-1;pointer-events:none}.album-photo #slide-backdrop{position:absolute;inset:-8%;width:116%;height:116%;object-fit:cover;filter:blur(38px) brightness(.45) saturate(1.2);z-index:-2;pointer-events:none;animation:backdrop-drift 24s ease-in-out infinite alternate}.album-image-area{display:grid;place-items:center;min-height:0;min-width:0;position:relative;overflow:hidden;padding:8px;background:#10050c25;border:1px solid #f8dfab20;border-radius:17px}.album-photo #slide-photo{display:block;min-width:0;min-height:0;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;animation:photo-reveal .9s cubic-bezier(.2,.7,.2,1) both;filter:drop-shadow(0 10px 15px #0007)}.album-caption{position:relative;inset:auto;min-width:0;display:flex;flex-direction:column;justify-content:center;padding:10px 0 10px 8px!important;background:none;overflow:hidden;margin-right:min(33vw,395px);margin-left:90px;animation:caption-rise .6s ease-out}.album-caption h2{font-family:Georgia,serif;font-weight:400;font-size:clamp(17px,2.5vw,34px);line-height:1.08;max-height:2.2em;overflow:hidden;text-overflow:ellipsis}.album-caption p{font-size:clamp(11px,1.3vw,16px)}.album-qr{top:auto;bottom:26px;left:24px;right:auto;width:80px;padding:6px;border-radius:11px;font-size:9px;z-index:5;text-align:center}.album-qr img{width:55px;height:55px}.stage.album-live #public>.now{position:absolute!important;right:26px!important;bottom:26px!important;min-height:0!important;width:min(31vw,355px);max-height:125px;grid-template-columns:minmax(48px,25%) minmax(0,1fr);gap:12px;padding:12px!important;border-radius:18px;box-shadow:0 9px 28px #0007;background:linear-gradient(135deg,#254b39ed,#0c281eea);backdrop-filter:blur(14px)}.stage.album-live #public>.now>div:last-child{min-width:0}.stage.album-live #public>.now h2{font-size:clamp(12px,1.5vw,20px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stage.album-live #public>.now p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stage.album-live #public>.now .art{max-width:88px}.stage.album-live #public>.now .eq{height:15px;margin-top:3px}.stage.album-live #public>.now #now-source{font-size:10px}.stage .album-photo .family-tree{height:100%;min-height:0;width:min(65%,500px);margin:0}.stage:not(.album-live) #public>.now{position:relative;overflow:hidden;isolation:isolate}.stage:not(.album-live) #public>.now:before{content:'';position:absolute;inset:-30%;z-index:-1;background:conic-gradient(from 20deg,transparent 30%,#edcc8818 37%,transparent 43%,#8ab49f10 70%,transparent 79%);animation:hero-halo 24s linear infinite}.stage:not(.album-live) #public>.now .art{width:min(42vh,390px,64vw);box-shadow:0 25px 65px #0009,0 0 75px #e8c26c22}.stage:not(.album-live) #public>.now h2{font-family:Georgia,serif;font-weight:400}
.family-tree{border-radius:25px;background:radial-gradient(ellipse at 50% 40%,#47745788,#0b261c 75%);box-shadow:inset 0 0 60px #081b13}.family-tree .tree-shape{filter:drop-shadow(0 12px 20px #0008)}.family-tree .family-ball{box-shadow:0 3px 10px #0008,0 0 12px #edcc8844}.family-ball:focus-visible,.family-ball:hover{box-shadow:0 0 18px #ffdfa2;outline:2px solid #f9db9d}.tree-label{background:#122b20e8!important;border-radius:15px!important}.surprise{background:linear-gradient(135deg,#a6324b,#6b1429);width:70px;height:70px;border-radius:23px;animation:gift-wiggle 4s infinite;box-shadow:0 8px 25px #23050b99,0 0 20px #eac77b22}.surprise:after{content:'Presente';position:absolute;bottom:1px;left:0;right:0;font-size:9px;color:#ffe5a8;text-align:center}.surprise svg{height:78%}.collectible-medal{margin:12px auto;width:135px;filter:drop-shadow(0 0 20px #e5bc7055);animation:medal-reveal .7s cubic-bezier(.2,.8,.2,1.1) both}.collectible-medal svg{width:100%;height:auto}.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0}.collection-grid button{min-height:66px;padding:7px 4px;font-size:18px}.collection-grid small{display:block;font-size:10px;font-weight:500}.memory-card{border:1px solid #ddba7670;border-radius:13px;padding:12px;background:linear-gradient(145deg,#6e2035,#321323);color:#ffeed1;font-family:Georgia,serif;font-size:17px}.memory-card small{font:10px system-ui;letter-spacing:.2em;color:#edcc88}.memory-card p{margin:5px 0}.overlay,.extra-overlay{background:radial-gradient(ellipse at 50% 0%,#ad334d99,transparent 60%),radial-gradient(ellipse at 98% 90%,#365c4080,transparent 50%),#4b0d22}.overlay-wrap,.extra-overlay>div:not(.extra-sparkles){filter:drop-shadow(0 16px 28px #29051255)}.overlay h1,.extra-overlay h1{text-shadow:0 3px 24px #2a0715;letter-spacing:-.035em}.extra-overlay .gift-art,.birthday-art{animation:medal-reveal .85s ease-out both}.extra-sparkles i{box-shadow:0 0 9px var(--c)}
@keyframes hero-halo{to{transform:rotate(360deg)}}@keyframes pendulum{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(4deg)}}@keyframes soft-glint{from{opacity:.25;filter:drop-shadow(0 0 2px #fff0b0)}to{opacity:1;filter:drop-shadow(0 0 7px #fff0b0)}}@keyframes premium-tilt{0%,100%{transform:perspective(950px) rotateX(-5deg) rotateY(-9deg) translateY(0)}35%{transform:perspective(950px) rotateX(5deg) rotateY(8deg) translateY(-5px)}70%{transform:perspective(950px) rotateX(1deg) rotateY(-3deg) translateY(-2px)}}@keyframes photo-reveal{from{opacity:0;filter:drop-shadow(0 10px 15px #0007) brightness(.8)}to{opacity:1;filter:drop-shadow(0 10px 15px #0007) brightness(1)}}@keyframes backdrop-drift{to{transform:translate(2%,1%) scale(1.06)}}@keyframes caption-rise{from{opacity:.3;translate:0 5px}to{opacity:1;translate:0 0}}@keyframes medal-reveal{from{transform:perspective(500px) rotateY(-70deg) scale(.7);opacity:0}to{transform:perspective(500px) rotateY(0) scale(1);opacity:1}}@keyframes reaction-pop{50%{transform:scale(1.08)}}
@media(max-width:650px){#shell{padding:35px 12px 14px}.hero{min-height:220px;padding:21px 17px}.hero-art{width:57%;right:-17px;top:0}.hero h2{max-width:76%;font-size:42px}.hero>p:not(.eyebrow){max-width:76%;font-size:13px}.hero .eyebrow{font-size:9px}.guestnav button{font-size:12px}.gallery{gap:8px}.gallery article{padding:7px}.reaction-row{gap:2px}.reaction-row button{padding:4px 3px;font-size:10px}.stage.album-live #public>.now{width:45%;right:17px!important;bottom:19px!important;padding:7px!important;grid-template-columns:40px minmax(0,1fr)}.stage.album-live #public>.now .art{width:40px}.album-caption{margin-left:0;margin-right:48%;padding:4px!important}.album-caption .eyebrow{font-size:8px}.album-qr{display:none}.album-photo{padding:8px;grid-template-rows:minmax(0,1fr) 105px}.stage #shell{padding:30px 10px 8px}body.stage #stage-album{height:calc(100dvh - 150px)}}
@media(prefers-reduced-motion:reduce){body:not(.stage) .hero:after,body:not(.stage) .hero-art *,body:not(.stage) .collectible-medal,body:not(.stage) .reaction-row button{animation:none!important}}.supper .hero:after,.supper .hero-art *{animation-duration:18s!important}
/* Explicit grid bounds prevent replaced elements' intrinsic dimensions expanding a track. */
.album-photo{align-items:stretch;justify-items:stretch;grid-template-columns:minmax(0,1fr)}.album-image-area{grid-row:1;grid-column:1;width:100%;height:100%;min-height:0;min-width:0}.album-photo #slide-photo{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);max-width:none;max-height:none;min-height:0;min-width:0}.album-caption{grid-row:2;grid-column:1;min-height:0}.album-photo #stage-tree{position:absolute;inset:0;margin:auto;max-height:100%}

header time{white-space:nowrap;flex:none}.brand{min-width:0}.brand img{flex:none}.reaction-row svg{vertical-align:-2px}.demo-gallery .photo-hint:after{content:" • ENSAIO: reações locais, sem gravar no álbum.";color:#edcc88;font-weight:700}
