/* ============================================================
   ACTION LABS ;  MacBook chassis (shared by the three demos)
   Markup contract (chassis is provided by the page, NOT by demos):
   <figure class="mac">
     <div class="mac-lid">
       <div class="mac-screen"> …demo app root… </div>
     </div>
     <div class="mac-base" aria-hidden="true"></div>
   </figure>
   Demo content lives inside .mac-screen and keeps z-index < 30
   (notch = 40, glass glare = 50).
   ============================================================ */

.mac { width: 100%; margin: 0; filter: drop-shadow(0 26px 34px rgba(0,0,0,0.48)); }

.mac-lid {
  position: relative;
  background: linear-gradient(180deg, #171b23, #0e1116 70%);
  border: 1px solid #2a3140;
  border-bottom-color: #1a1f28;
  border-radius: 13px 13px 3px 3px;
  padding: 8px 8px 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

.mac-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg);
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.65);
}
.mac-screen::before { /* notch */
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 17%; height: 8px; background: #05070b;
  border-radius: 0 0 6px 6px; z-index: 40;
}
.mac-screen::after { /* glass glare */
  content: ""; position: absolute; inset: 0; z-index: 50; pointer-events: none;
  background: linear-gradient(112deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 30%, transparent 46%);
}

.mac-base {
  position: relative;
  height: 11px;
  margin-inline: -3.5%;
  background: linear-gradient(180deg, #39414f 0%, #232935 20%, #12151c 58%, #0b0d12 100%);
  border-radius: 3px 3px 11px 11px;
  border: 1px solid #262d39;
  border-top-color: #4a5364;
}
.mac-base::before { /* thumb scoop */
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 12%; height: 5px;
  background: linear-gradient(180deg, #06080c, #161a22);
  border-radius: 0 0 9px 9px;
}
