/* Mesa de búzios */
.mesa-dialog[data-oracle=buzios]{--bz-gold:#e2bf86;--bz-muted:#c0b0ab;--bz-stroke:#514035;background:#1b1618}
.mesa-dialog[data-oracle=buzios] .mesa-scene-head{background:linear-gradient(95deg,#1f1518 5%,#2a1c1ae8 34%,#2a1c1940 65%,#27181715),url("assets/buzios.webp") 86% 53%/cover;min-height:155px}
.mesa-dialog[data-oracle=buzios] .mesa-scene-head:after,.mesa-dialog[data-oracle=buzios] .mesa-still{display:none}
.mesa-dialog[data-oracle=buzios] .mesa-stage{background:linear-gradient(145deg,#251b1e,#1a1518 77%)}
.mesa-dialog[data-oracle=buzios] .mesa-head{background:#211a1c;border-color:#4c3935}
.mesa-dialog[data-oracle=buzios] .mesa-steps{background:#21191b;border-color:#423332}
.mesa-dialog[data-oracle=buzios][data-step="1"] .mesa-scene-head{display:none}
.mesa-dialog[data-oracle=buzios][data-step="1"] .mesa-layout{display:block;background:#20191c}
.mesa-dialog[data-oracle=buzios][data-step="1"] .mesa-guide{display:none}
.mesa-dialog[data-oracle=buzios][data-step="1"][data-guide=open] .mesa-guide{display:flex;position:static;height:auto;max-height:none;border-top:1px solid #4f3b3a}
.mesa-dialog[data-oracle=buzios][data-step="1"] .mesa-stage{padding:18px clamp(15px,2vw,30px) 14px}
.bz-heading,.bz-tools,.bz-phase-line,.bz-counts,.bz-caption{display:flex;align-items:center}
.bz-heading{justify-content:space-between;gap:14px;padding-bottom:14px}
.bz-overline,.bz-coordinate,.bz-table-label{font:650 9px/1.4 var(--sans);letter-spacing:2px;color:var(--bz-gold)}
.bz-heading .mesa-section-title{font-size:clamp(29px,3.3vw,46px);line-height:1;margin:3px 0 0}
.bz-tools{gap:7px}.bz-tool{background:#2c2325;border:1px solid #5a4640;border-radius:24px;color:#eddfd2;font:550 12px/1.35 var(--sans);padding:9px 13px;display:inline-flex;align-items:center;gap:8px}
.bz-tool:hover{border-color:var(--bz-gold)}.bz-tool[aria-pressed=true],.bz-tool[aria-expanded=true]{border-color:#b39167;background:#392e27;color:#f6deaa}
.bz-tool svg{width:15px;height:15px;color:inherit;flex:none;fill:none;stroke:currentColor;stroke-width:1.5}.bz-tool{white-space:nowrap}
.bz-guide-toggle:before{content:"";width:7px;height:7px;transform:rotate(45deg);border:1px solid var(--bz-gold)}
.bz-experience{--gather:0;display:grid;grid-template-columns:minmax(0,1.98fr) minmax(210px,1fr);align-items:stretch;column-gap:clamp(14px,2.3vw,32px);position:relative}
.bz-board{min-width:0;align-self:center}
.bz-frame{position:relative;border-radius:12px;padding:3px;border:1px solid #826443;background:#30251d;box-shadow:0 13px 27px #0d080c60,0 0 0 1px #0d090a70}
.bz-plane{position:relative;aspect-ratio:1.5;isolation:isolate;overflow:hidden;border-radius:8px;background:#63371d url("assets/buzios-altares.webp") 50% 50%/100% 100% no-repeat;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.bz-plane:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 28px #21120d4d;z-index:3}
.bz-shells,.bz-glow{position:absolute;inset:0}
.bz-shells{z-index:1}.bz-shells canvas{width:100%;height:100%;display:block}
.bz-glow{pointer-events:none;z-index:2;mix-blend-mode:screen;background:radial-gradient(ellipse at 1% 7%,#ffbc482f,transparent 39%);animation:bzCandle 4.7s ease-in-out infinite alternate}
@keyframes bzCandle{0%,100%{opacity:.3}24%{opacity:.73}42%{opacity:.46}61%{opacity:.89}82%{opacity:.57}}
.bz-experience[data-phase=ready] .bz-plane,.bz-experience[data-phase=holding] .bz-plane{touch-action:pinch-zoom;cursor:grab}
.bz-experience[data-phase=holding] .bz-plane{cursor:grabbing}
.bz-caption{padding:11px 1px 4px;gap:8px;justify-content:space-between;flex-wrap:wrap;color:#c5b4a6}
.bz-table-label{font-size:8px;letter-spacing:1.7px;display:inline-flex;align-items:center;gap:6px;color:#d2b489}
.bz-table-label:before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:currentColor}
.bz-observed{font-size:11px;color:#bfada4}
.bz-inspect{border:1px solid #624a3c;border-radius:5px;background:#221b1c;color:#e5d4c8;padding:4px 5px;font:500 11px var(--sans);max-width:100%}
.bz-rail{min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:13px;border-left:1px solid #544034;padding:4px 0 20px clamp(14px,2.3vw,30px)}
.bz-rail-main,.bz-bottom{min-width:0}
.bz-intent{padding:3px 0 clamp(13px,1.6vw,25px);margin-bottom:clamp(16px,1.8vw,28px);border-bottom:1px solid #4b3933}
.bz-intent .bz-overline{color:#b69b81;font-size:8px}
.bz-intent blockquote{font:italic 500 clamp(20px,2vw,30px)/1.18 var(--serif);color:#f9eee4;margin:7px 0 0;max-height:4.9em;overflow:auto;overflow-wrap:anywhere;scrollbar-width:thin}
.bz-phase-line{gap:10px}
.bz-coordinate{letter-spacing:1px;font-size:9px;color:#ead1a9;border:1px solid #725943;border-radius:15px;padding:3px 7px;white-space:nowrap}
.bz-phase-line .bz-overline{font-size:8px;letter-spacing:1.6px}
.bz-instruction{font:500 clamp(28px,2.6vw,38px)/1.03 var(--serif);color:#f5e7d8;margin:12px 0 8px;letter-spacing:-.7px}
.bz-tip{font:400 clamp(12px,1.05vw,14px)/1.6 var(--sans);color:#cdbfb8;margin:0;max-width:36ch}
.bz-live{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.bz-actions{display:flex;flex-direction:column;gap:5px;align-items:stretch}
.bz-launch{position:relative;isolation:isolate;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;border:1px solid #e9ca91;border-radius:7px;padding:12px 14px;min-height:45px;background:linear-gradient(110deg,#dfbd8a,#f4d9a7 65%,#dfb97e);color:#2c211b;font:700 13px/1.4 var(--sans);letter-spacing:.1px;text-align:center}
.bz-launch:not(:disabled):hover{filter:brightness(1.06)}.bz-launch:disabled{color:#e5d5c5;background:#352b28;border-color:#665345;cursor:default}
.bz-launch-text{position:relative;z-index:1}.bz-charge{position:absolute;inset:0;transform-origin:left center;transform:scaleX(var(--gather));background:#b68547;opacity:.55;z-index:0;pointer-events:none}
.bz-subaction,.bz-back{border:0;background:transparent;color:#d0b799;font:500 11.5px/1.4 var(--sans)}
.bz-subaction{padding:8px}.bz-subaction:hover,.bz-back:hover{color:#fff0d3;text-decoration:underline}.bz-subaction:disabled{visibility:hidden}
.bz-back{grid-column:1/-1;text-align:left;justify-self:start;margin:9px 0 0;padding:6px 0}
.bz-experience:not([data-phase=ready])>.bz-back{display:none}
.bz-counts{gap:10px;margin:1px 0 8px}
.bz-stat{flex:1 1 0;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;align-items:center;column-gap:6px;border:1px solid #514035;background:#2b2222;border-radius:7px;padding:7px}
.bz-stat:before{content:"";grid-row:1/3;width:clamp(21px,2.2vw,43px);height:26px;background: center/contain no-repeat}
.bz-stat.open:before{background-image:url("assets/cowrie-open.webp")}.bz-stat.closed:before{background-image:url("assets/cowrie-closed.webp")}
.bz-stat strong{font:600 22px/1 var(--serif);color:#f9e4c3}.bz-stat span{font:500 10px/1.2 var(--sans);color:#d5c3b5}
.bz-saved{margin:8px 0 16px;border:1px solid #594437;border-radius:9px;background:#21191b}
.bz-saved summary{cursor:pointer;padding:11px 12px;color:#ebcc9c;font-size:13px}
.bz-saved .bz-experience{display:block;margin:0 10px 10px}.bz-saved .bz-rail{display:none}
.mesa-dialog[data-oracle=buzios] .bz-tool:focus-visible,.bz-experience :is(button,select):focus-visible{outline:2px solid #ffe0a6;outline-offset:3px}
@media(min-width:696px) and (max-height:810px){.mesa-dialog[data-oracle=buzios][data-step="1"]{width:min(1010px,calc(100vw - 42px));max-height:95dvh}.mesa-dialog[data-oracle=buzios][data-step="1"] .mesa-stage{padding-top:13px;padding-bottom:8px}.bz-heading{padding-bottom:10px}}
@media(max-width:800px){.bz-experience{grid-template-columns:minmax(0,1.55fr) minmax(195px,1fr);gap:12px}.bz-rail{padding-left:12px;padding-bottom:8px}.bz-intent{padding-bottom:10px;margin-bottom:12px}.bz-intent blockquote{font-size:21px}.bz-instruction{font-size:26px}.bz-tools .bz-tool{font-size:11px;padding:7px 10px}}
@media(max-width:650px){.mesa-dialog[data-oracle=buzios][data-step="1"]{max-height:96dvh}.mesa-dialog[data-oracle=buzios][data-step="1"] .mesa-stage{padding:12px}.bz-heading{padding-bottom:10px}.bz-heading .bz-overline{font-size:7.5px}.bz-heading .mesa-section-title{font-size:30px}.bz-experience{display:flex;flex-direction:column;gap:8px}.bz-board{width:100%}.bz-rail{border-left:0;border-top:1px solid #503b32;padding:11px 0 0;gap:10px}.bz-intent{display:flex;align-items:baseline;gap:8px;border:0;padding:0;margin:0 0 11px}.bz-intent .bz-overline{font-size:7px;letter-spacing:1px;flex:none}.bz-intent blockquote{font-size:19px;margin:0;max-height:2.5em}.bz-phase-line{gap:7px}.bz-instruction{font-size:28px;margin:6px 0 3px}.bz-tip{max-width:none;font-size:12px;line-height:1.45}.bz-caption{padding:7px 0 1px;gap:4px}.bz-table-label{font-size:7px}.bz-observed,.bz-inspect{font-size:10px}.bz-subaction{padding:7px}.bz-back{margin:0;align-self:flex-start}.bz-counts{margin-bottom:3px}.bz-stat{display:flex;justify-content:center;align-items:center}.bz-stat:before{width:27px}.bz-stat span{font-size:11px}.bz-saved .bz-rail{display:none}.mesa-dialog[data-oracle=buzios] .mesa-scene-head{min-height:126px}}
@media(max-width:370px){.bz-tools{gap:3px}.bz-tools .bz-tool{padding:6px 7px;gap:4px}.bz-heading .mesa-section-title{font-size:27px}}
@media(prefers-reduced-motion:reduce){.bz-glow{animation:none;opacity:.48}}
.mesa-dialog[data-oracle=buzios][data-step="1"][data-expanded=yes]{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;margin:0;border:0;border-radius:0;background:radial-gradient(ellipse at 42% 48%,#2b201f,#110e10 85%)}
.mesa-dialog[data-oracle=buzios][data-expanded=yes] :is(.mesa-steps,.mesa-foot){display:none}
.mesa-dialog[data-oracle=buzios][data-expanded=yes] :is(.mesa-layout,.mesa-stage){background:transparent}
.mesa-dialog[data-oracle=buzios][data-expanded=yes] .mesa-main{max-width:min(1600px,calc((100dvh - 156px)*2.22));margin:0 auto}
.mesa-dialog[data-oracle=buzios][data-expanded=yes] .mesa-head{background:#171215}
@media(max-width:650px){
  .bz-heading{display:grid;grid-template-columns:1fr;gap:7px;padding-bottom:9px}
  .bz-branding{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 12px}
  .bz-branding .bz-overline{order:2}.bz-heading .mesa-section-title{margin:0}
  .bz-tools{gap:6px;justify-content:flex-start}.bz-tools .bz-tool{padding:5px 10px;line-height:1.45}.bz-tool svg{width:12px;height:12px}
  .mesa-dialog[data-oracle=buzios][data-expanded=yes] .mesa-main{max-width:none}
}
@media(max-width:370px){
  .mesa-dialog[data-oracle=buzios] .mesa-steps{padding-inline:9px;gap:4px}
  .mesa-dialog[data-oracle=buzios] .mesa-steps li{gap:3px;font-size:10px}
  .mesa-dialog[data-oracle=buzios] .mesa-steps li:not(:last-child):after{width:7px;margin-left:2px}
}
/* A single camera is shared by the performance and all sixteen shells. */
.room-dialog[data-oracle="buzios"] .room-shell-cast{background:radial-gradient(ellipse at 47% 20%,#3b3822 0%,#242317 55%,#171712 100%);min-height:calc(100dvh - 95px);justify-content:flex-start;padding:clamp(10px,1.5vw,22px) max(clamp(12px,2.5vw,36px),calc((100vw - 1090px)/2)) 18px}
.room-dialog[data-oracle="buzios"] .room-cast-heading{padding:0 0 10px}
.room-dialog[data-oracle="buzios"] .room-cast-heading .mesa-section-title{font-size:clamp(28px,3vw,46px);color:#f8dfb4}
.room-dialog .bz-pov{display:flex;flex-direction:column;gap:0;width:100%;--bz-gold:#e9c68b}
.bz-pov .bz-board{width:100%;align-self:stretch}
.bz-pov .bz-frame{overflow:hidden;border:1px solid #a28259;border-radius:16px;background:#171018;padding:0;box-shadow:0 12px 42px #09060a80}
.bz-pov .bz-plane{position:relative;isolation:isolate;width:100%;aspect-ratio:16/9;overflow:hidden;background:#281b24;border-radius:inherit}
.bz-pov .bz-shot{--bz-zoom:1;position:absolute;left:50%;bottom:0;width:100%;aspect-ratio:16/9;transform:translateX(-50%) scale(var(--bz-zoom));transform-origin:52.5% 85%;will-change:transform}
.bz-pov .bz-performer,.bz-pov .bz-performance,.bz-pov .bz-shells,.bz-pov .bz-lamplight{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;display:block;max-width:none}
.bz-pov .bz-performance{opacity:0;pointer-events:none}
.bz-pov .bz-shells{z-index:2}.bz-pov .bz-shells canvas{width:100%;height:100%;display:block}
.bz-pov .bz-lamplight{pointer-events:none;z-index:3;background:radial-gradient(ellipse at 3.6% 33%,#ffd797 0%,#ff96392e 3%,transparent 13%),radial-gradient(ellipse at 90% 28%,#ffeac410 0%,transparent 17%);mix-blend-mode:screen;animation:bz-fire 2.8s ease-in-out infinite alternate}
@keyframes bz-fire{0%,64%,100%{opacity:.25}20%,80%{opacity:.8}34%,48%{opacity:.45}}
.bz-pov .bz-caption{min-height:28px;padding:6px 2px 4px;font-size:12px;gap:10px}
.bz-pov .bz-rail{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,270px);align-items:center;gap:10px 24px;border:1px solid #766044;border-radius:12px;padding:12px 18px;background:linear-gradient(120deg,#373121,#242219)}
.bz-pov .bz-intent{margin:0 0 4px;padding:0;border:0}.bz-pov .bz-intent blockquote{font:italic 400 14px/1.4 var(--serif);color:#e7cab0;max-height:3em}
.bz-pov .bz-instruction{font:500 clamp(22px,2vw,31px)/1.05 var(--serif);margin:0 0 4px;color:#fff0d9}
.bz-pov .bz-tip{font:400 12px/1.5 var(--sans);margin:0;color:#deced0;max-width:none}
.bz-pov .bz-actions{gap:0}.bz-pov .bz-launch{min-height:42px}.bz-pov .bz-subaction{padding:7px 8px 0}
.bz-pov .bz-counts{margin-bottom:6px;gap:5px}.bz-pov .bz-stat{padding:4px 8px}.bz-pov .bz-stat strong{font-size:19px}
.bz-pov .bz-back{margin-top:4px;align-self:flex-start}
.bz-pov.bz-pov-replay .bz-rail{display:none}.bz-pov.bz-pov-replay .bz-frame{border-radius:13px}.bz-pov.bz-pov-replay .bz-shot{--bz-zoom:1.55}
.room-dialog[data-oracle=buzios] .room-welcome.bz-welcome{background-image:linear-gradient(90deg,#171711ee 6%,#201f15c9 29%,#19190c00 61%),url('assets/senhora-buzios-fundo.webp');background-size:cover;background-position:50% 56%;min-height:calc(100dvh - 102px)}
.room-dialog .bz-welcome .room-welcome-inner{display:block;margin:0;width:100%}.bz-welcome .room-invite{width:min(100%,410px);padding:22px;border:1px solid #ad886a70;border-radius:16px;background:linear-gradient(135deg,#28251cef,#201e17bb);backdrop-filter:blur(5px)}
.room-dialog[data-oracle=buzios] .room-reading{background-image:linear-gradient(120deg,#242218f4,#171911e6),url('assets/senhora-buzios-fundo.webp');background-position:center top}
@media(min-width:800px) and (max-height:850px){.room-dialog[data-oracle=buzios] .room-shell-cast{padding-inline:max(22px,calc((100vw - max(710px,105dvh))/2))}}
@media(max-width:650px){
.room-dialog[data-oracle=buzios] .room-shell-cast{padding:12px 10px 18px;min-height:calc(100svh - 96px)}
.bz-pov .bz-plane{aspect-ratio:1.13}.bz-pov .bz-shot{width:158%}
.bz-pov .bz-rail{grid-template-columns:1fr;padding:13px;gap:10px}
.bz-pov .bz-actions{display:flex;flex-direction:row;align-items:center;gap:12px;flex-wrap:wrap}.bz-pov .bz-launch{flex:1;text-wrap:balance}.bz-pov .bz-subaction{padding:7px 2px;flex:0 1 90px}.bz-pov .bz-counts{flex:1 0 100%}
.bz-pov .bz-intent{display:block}.bz-pov .bz-instruction{font-size:26px}.bz-pov .bz-caption{padding:7px 1px}
.room-dialog[data-oracle=buzios] .room-welcome.bz-welcome{background-image:linear-gradient(0deg,#18180f 3%,#242519e8 32%,#1c1e1400 66%),url('assets/senhora-buzios-fundo.webp');background-position:52% top;background-size:auto 100%,auto 58%;background-repeat:no-repeat}
.room-dialog .bz-welcome .room-welcome-inner{display:flex;align-items:flex-end;padding:clamp(220px,38svh,360px) 16px 16px}.bz-welcome .room-invite{margin:0 auto}
}
@media(prefers-reduced-motion:reduce){.bz-pov .bz-lamplight{animation:none;opacity:.4}}
.bz-pov .bz-shot{transform-origin:52.5% 100%}
.bz-pov .bz-plane{transition:aspect-ratio .85s cubic-bezier(.35,0,.2,1)}
.bz-pov[data-looking=mat] .bz-plane{aspect-ratio:2.85}
.bz-pov .bz-shells{filter:saturate(.78)}
.bz-pov .bz-angle{margin-left:auto;background:transparent;color:#efd1a5;cursor:pointer;border:0;text-decoration:underline;text-underline-offset:3px;font:500 12px var(--sans)}
.bz-pov .bz-angle:focus-visible{outline:2px solid #e5c596;outline-offset:3px}
@media(max-width:650px){.bz-pov[data-looking=mat] .bz-plane{aspect-ratio:1.85}.bz-pov .bz-angle{font-size:11px}}
@media(prefers-reduced-motion:reduce){.bz-pov .bz-plane{transition:none}}
