/* Preserve Cabinet Night's authored keys, category pins, wall and coin doors. */
.orange-cabinet .cab-body{max-width:1500px;grid-template-columns:minmax(0,1fr) 170px;padding:0 14px 18px}
.orange-cabinet .orange-assembly{grid-column:1;grid-row:2;width:100%;min-width:0}
.orange-assembly iframe{display:block;width:100%;height:clamp(550px,58vw,800px);border:0;color-scheme:dark}
.orange-cabinet .station-column[hidden]{display:none!important}
.orange-cabinet .station-companion{grid-row:2;grid-column:2}
.orange-cabinet .pet-stage{min-height:250px}
.orange-cabinet .topbar{max-width:1500px;margin:auto}
.workshop-friends{grid-column:1/-1;position:relative;min-width:0;height:245px;display:flex;align-items:stretch;border-top:1px solid #f7ba6833;background:radial-gradient(ellipse at 50% 85%,#e7a15419,transparent 65%)}
.escort-landing{position:relative;flex:0 0 130px;min-width:0}
.workshop-family{position:relative;flex:1;min-width:0;overflow:hidden}
.workshop-friends{width:100%;justify-self:stretch}
.workshop-family canvas{display:block;width:100%;height:100%;pointer-events:none}
.crew-caption{grid-column:1/-1;text-align:center;color:#e6c99a;font:12px/1.5 var(--f-mono);margin:0}
.workshop-friends .arcade42-host{left:50%!important;top:50%!important;cursor:pointer}
.escort-overlay{position:fixed;inset:0;z-index:90;pointer-events:none;overflow:hidden}
.escort-overlay .arcade42-host{position:absolute;pointer-events:none;filter:drop-shadow(0 5px 8px #0005)}
.workshop-family-fallback{position:absolute;inset:0;display:flex;align-items:end;justify-content:center}.workshop-family-fallback img{width:45%;max-height:180px;object-fit:contain}
.workshop-family.is-ready .workshop-family-fallback{display:none}
.orange-cabinet [data-tier=work].crew-cheering{box-shadow:inset 0 0 0 1px #f9bf70,0 0 22px #ff9b2926}
@media(max-width:900px){.orange-cabinet .cab-body{grid-template-columns:minmax(0,1fr) 125px}.orange-assembly iframe{height:610px}.orange-cabinet .door-row{gap:18px}.workshop-friends{height:210px}.escort-landing{flex-basis:95px}}
@media(max-width:600px){.orange-cabinet .cab-body{grid-template-columns:minmax(0,1fr);padding:0 6px 12px}.orange-cabinet .orange-assembly{grid-row:2;grid-column:1}.orange-assembly iframe{height:570px}.orange-cabinet .station-companion{grid-row:3;grid-column:1;height:170px;min-height:170px}.orange-cabinet .pet-stage{min-height:0}.workshop-friends{height:200px;margin:0 -12px}.escort-landing{flex-basis:80px}.crew-caption{font-size:10px}}

/* The Houdini console is the front page, not an object mounted inside a second cabinet. */
.orange-cabinet #top{padding:0;background:#080b0d}
.orange-cabinet #cab-bg{background:url('/arcade/art/brand/landing-1920.webp') center/cover no-repeat}
.orange-cabinet #top::before,
.orange-cabinet .cab-body::before,.orange-cabinet .cab-body::after,
.orange-cabinet .station-backdrop,.orange-cabinet .marquee{display:none!important}
.orange-cabinet .cab-body{display:block;width:100%;max-width:none;padding:0;margin:0;border:0;border-radius:0;background:none!important;box-shadow:none;overflow:visible}
.orange-cabinet .orange-assembly{width:100%;margin:0}
.orange-cabinet .orange-assembly iframe{width:100%;height:auto;aspect-ratio:1.78;border:0}
.orange-cabinet .topbar{width:100%;max-width:none;min-height:84px;padding:6px 2%;gap:22px;display:flex;flex-wrap:nowrap}
.orange-cabinet .topbar .brand{margin:0;flex:none;line-height:0}
.orange-cabinet .topbar .logo{display:block;width:clamp(165px,15vw,270px)}
.orange-cabinet .topbar .coinop{flex:1;margin:0}
.orange-cabinet .station-companion{position:absolute;right:1%;top:39%;width:clamp(110px,12vw,180px);height:260px;min-height:0;padding:0;z-index:4;pointer-events:none;display:block}
.orange-cabinet .station-companion .pet-stage{height:100%;min-height:0;width:100%}
.orange-cabinet .station-companion .companion-name,
.orange-cabinet .station-companion .pet-hint,
.orange-cabinet .station-companion .pet-actions,
.orange-cabinet .station-companion #arcade42-dock{display:none}
.orange-cabinet .station-companion #arcade42-host{pointer-events:auto}
@media(max-width:1100px){.orange-cabinet .topbar{gap:12px}.orange-cabinet .coinop{font-size:9px}.orange-cabinet .station-companion{right:0;width:125px;height:200px;top:33%}}
@media(max-width:760px){.orange-cabinet .topbar{display:grid;grid-template-columns:145px 1fr;gap:4px 12px;padding:8px 12px;min-height:100px}.orange-cabinet .topbar .logo{width:145px}.orange-cabinet .topbar .coinop{font-size:8px;text-align:right}.orange-cabinet .topbar .ctrl-wrap{grid-column:1/-1;justify-self:stretch}.orange-cabinet .topbar .ctrl{justify-content:space-between}.orange-cabinet .orange-assembly iframe{aspect-ratio:1.7}.orange-cabinet .station-companion{top:28%;right:0;width:70px;height:120px}}

.escort-overlay.is-flying{pointer-events:auto;touch-action:pan-y}
@media(min-width:761px){
 .orange-cabinet .topbar{height:64px;min-height:64px;padding-top:4px;padding-bottom:4px}
 .orange-cabinet .topbar .brand{position:relative;width:clamp(165px,15vw,270px);height:56px}
 .orange-cabinet .topbar .logo{position:absolute;top:0;left:0;z-index:8}
 .orange-cabinet .orange-assembly iframe{height:min(56.18vw,calc(100svh - 64px));aspect-ratio:auto}
}

@media(max-width:760px){
 .orange-cabinet .topbar .brand{grid-column:1;grid-row:1}
 .orange-cabinet .topbar .coinop{order:0;grid-column:2;grid-row:1}
 .orange-cabinet .topbar .ctrl-wrap{grid-row:2}
 .orange-cabinet .station-companion{top:100%;right:4px;height:110px;margin:0}
}

/* Owner's backdrops remain visible behind the full-size console and membership. */
.orange-cabinet #cab-bg{display:block!important;opacity:1;pointer-events:none}
.orange-cabinet #door{position:relative;isolation:isolate}
.membership-backdrop{position:absolute;inset:0;z-index:-1;background-size:cover;background-position:center;opacity:.4;pointer-events:none;mask-image:linear-gradient(transparent,#000 9%,#000 94%,transparent)}
.orange-cabinet .door-row{grid-template-columns:minmax(260px,340px) minmax(0,1fr) 230px;gap:24px}
.orange-cabinet .tier{grid-template-columns:180px minmax(0,1fr) auto}
.orange-cabinet .tier .mcard{width:180px}
.orange-cabinet .workshop-friends{height:155px;display:block;border:0;background:none;margin:0;position:relative}
.orange-cabinet .workshop-family{height:145px;width:min(100%,410px);margin:0 auto}
.orange-cabinet .crew-caption{position:absolute;bottom:0;left:0;right:0;font-size:10px}
.orange-cabinet .workshop-companion{display:block;position:relative;align-self:end;height:352px;min-width:0}
.orange-cabinet .escort-landing{position:absolute;bottom:125px;left:0;width:100%;height:352px}
.orange-cabinet .escort-landing #arcade42-host{left:50%!important;top:50%!important;}
.orange-cabinet .station-companion{width:230px;height:352px;right:0;top:27%}

@media(max-width:1100px){
 .orange-cabinet .door-row{grid-template-columns:270px minmax(0,1fr);gap:18px}
 .orange-cabinet .tier{grid-template-columns:145px minmax(0,1fr) auto}
 .orange-cabinet .tier .mcard{width:145px}
 .orange-cabinet .workshop-companion{grid-column:2;height:0;justify-self:end;width:160px}
 .orange-cabinet .escort-landing{bottom:0;width:160px;height:260px}

 .orange-cabinet .workshop-friends{padding-right:130px}
 .orange-cabinet .station-companion{width:185px;height:285px}

}
@media(max-width:760px){
 .orange-cabinet .door-row{display:block}
 .orange-cabinet .tier{grid-template-columns:105px minmax(0,1fr);gap:12px}
 .orange-cabinet .tier .mcard{width:105px}
 .orange-cabinet .tier .btn{grid-column:2;justify-self:start}
 .orange-cabinet .workshop-friends{height:170px;padding-right:115px}
 .orange-cabinet .workshop-companion{display:block;margin-left:auto;width:120px}
 .orange-cabinet .escort-landing{bottom:0;width:120px;height:210px}

 .orange-cabinet .station-companion{top:100%;width:110px;height:150px;right:0}

}

@media(max-width:760px){.orange-cabinet .escort-landing{bottom:75px}.orange-cabinet .crew-caption{right:110px}}

@media(min-width:761px){.orange-cabinet .station-companion{right:35px;top:calc(27% - 60px)}}

.skip-link{position:fixed;top:8px;left:8px;z-index:200;transform:translateY(-150%);background:#fff2cd;color:#142027;padding:12px 18px;border-radius:6px}.skip-link:focus{transform:none}

/* Original logo electricity, scoped here so the custom layout stays independent. */
.lp-host{position:relative}
.lp-fx{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none;mix-blend-mode:screen;z-index:1}
.lp-fx path,.lp-fx line{fill:none;stroke-linecap:round;stroke-linejoin:round}
.lp-charge{stroke:#ff8a1e;opacity:0;transition:opacity .5s ease}
.lp-on .lp-charge{opacity:.6;transition-duration:.2s}
.lp-halo{stroke:#ffb23e}.lp-core{stroke:#fff8dc}
.lp-run{transition:opacity .3s ease}.lp-fx:not(.lp-on) .lp-run{opacity:0}
.lp-lamp{opacity:0;transition:opacity .45s ease}.lp-on.lp-still .lp-lamp{opacity:.85}
.lp-arc-glow{stroke:#7cd6ff;stroke-opacity:.9}.lp-arc{stroke:#f6fdff}
.lp-arc,.lp-arc-glow,.lp-spark{opacity:0}
.escort-overlay.is-following{pointer-events:none}
.escort-overlay.is-following #arcade42-host{pointer-events:none}
[data-tier="work"].robot-boop .btn{filter:brightness(1.22);translate:0 2px}

/* One size follows the robot between his home, flight overlay and Workshop. */
.orange-cabinet{--companion-width:270px;--companion-height:352px}
.orange-cabinet #arcade42-host{width:var(--companion-width)!important;height:var(--companion-height)!important;max-width:none}
.orange-cabinet .station-companion{width:var(--companion-width);height:var(--companion-height)}
@media(min-width:761px){.orange-cabinet .station-companion{top:min(calc(27% - 60px),calc(64% - var(--companion-height) * 1.14 - 12px))}}
@media(max-width:760px){.orange-cabinet{--companion-width:160px;--companion-height:210px}}
