/* ===== beach1116 (Nov 16): the lawn under the boardwalk becomes Alex's lantern beach.
   Overrides lawn7.css's arcade ::before only; cabinets, marquees, FREE tags, lively hover are untouched.
   Layers (top to bottom): telescope-plate corners at the foot, the stone edging, the side strips / phone head
   (pools, rope fences, lanterns — above the deck, and started below the pavers so caps and posts stay in view),
   the registered deck (curb + contact shadow), then a seamless sand fill.
   Never stretched: every image keeps its aspect ratio.
   lobby1121g (Nov 21 7:47): one-line recessed welcome, left-edge footprints, narrow paver contact shadow, cabinet shadows, smaller FREE tags, shoreline lantern cursor. ===== */
html.lobby-dock {
  --b16-sand: #df9a64;
  --b16-top: calc(var(--l7-y) + var(--l7-w) * 0.25957);           /* curb bottom = deck7 row 434 of 1672 */
  --b16-m: calc((100vw - 3 * var(--cab-w) - 2 * var(--col-g)) / 2); /* open sand beside the outer cabinets */
  --b16-paver-h: clamp(28px, 3vw, 40px);                           /* thickness of the stone curb */
  --b16-lantern-clear: clamp(58px, 5.6vw, 84px);                   /* drop the side strips so the hanging lanterns clear the pavers */
  --b16-sand-gap: clamp(180px, 20vw, 236px);                       /* open sand from the pavers down to the cabinet tops */
  --b16-sand-y: calc(var(--b16-top) - var(--l7-w) * 0.0105);        /* sand tucks under the paver lip (narrow contact shadow) */
}
html.lobby-dock main#top > #arcade.arcade-shack.dock-size-pier::before {
  background-color: var(--b16-sand);
  background-image:
    url("assets/beach1116/foot-L.webp?v=beach1116a"), url("assets/beach1116/foot-R.webp?v=beach1116a"),
    url("assets/lawn7/edge7.webp?v=lw7a"),
    url("assets/beach1116/strip-L.webp?v=lobby1121g"), url("assets/beach1116/strip-R.webp?v=lobby1121g"),
    url("assets/beach1116/deck16.webp?v=lobby1121g"),
    url("assets/beach1116/sand-bed.webp?v=lobby1121g"),
    url("assets/beach1116/sand-fill.webp?v=beach1116a");
  background-repeat: no-repeat, no-repeat, repeat-x, no-repeat, no-repeat, no-repeat, no-repeat, repeat-y;
  background-size:
    min(calc(var(--b16-m) * 1.1), 360px) auto, min(var(--b16-m), 330px) auto,
    auto var(--l7-edge),
    min(calc(var(--b16-m) * 1.2), 430px) auto, min(calc(var(--b16-m) * 1.2), 430px) auto,
    var(--l7-w) auto,
    100% auto,
    100% auto;
  background-position:
    left 0 bottom var(--l7-edge), right 0 bottom var(--l7-edge),
    50% 100%,
    left 0 top calc(var(--b16-top) + var(--b16-lantern-clear)),
    right 0 top calc(var(--b16-top) + var(--b16-lantern-clear)),
    var(--l7-x) var(--l7-y),
    50% var(--b16-sand-y),
    50% var(--b16-sand-y);
}
html.lobby-dock .arcade-shack.dock-size-pier { padding-bottom: max(10.5vw, 124px); }
/* the sand band is padding-top: curb + the gap down to the cabinets */
html.lobby-dock main#top > #arcade.arcade-shack.dock-size-pier:has(> .ar-radio.ar-on-deck) {
  padding-top: calc(var(--b16-top) + var(--b16-sand-gap));
}
html.lobby-dock #arcade.arcade-shack.dock-size-pier > .dock-cabinets { margin-top: 0; }

/* radio sits on the wooden boards, its base just above the stone pavers.
   Phone/tablet keep the 1122k offset (already planted). Desktop was floating
   ~20–30px above the last plank; drop it onto the boards and add a contact shadow. */
html.lobby-dock .ar-radio.ar-on-deck {
  top: calc(var(--b16-top) - var(--b16-paver-h) - 12px - var(--ar-w) * 876 / 1368);
}
html.lobby-dock .ar-radio.ar-on-deck::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -2%;
  height: 16%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(20, 10, 2, 0.50) 0%, rgba(20, 10, 2, 0.22) 40%, transparent 72%);
  filter: blur(1px);
}
@media (min-width: 1101px) {
  html.lobby-dock .ar-radio.ar-on-deck {
    /* plant visual feet on the last plank (was -12px, which left a float gap) */
    top: calc(var(--b16-top) - var(--b16-paver-h) + 28px - var(--ar-w) * 876 / 1368);
  }
}
@media (max-width: 1100px) {
  html.lobby-dock .ar-radio.ar-on-deck {
    --ar-w: clamp(236px, 32vw, 290px);  /* lobby1122k: a little smaller */
    left: max(12px, min(calc(50% - var(--ar-w) * 0.72), calc(100% - var(--ar-w) - 16px)));
  }
}
@media (max-width: 700px), (max-width: 960px) and (max-height: 500px) {
  html.lobby-dock .ar-radio.ar-on-deck {
    --ar-w: clamp(216px, 56vw, 236px);  /* lobby1122k: a little smaller */
    left: auto;
    right: 10px;
  }
  /* keep Play / For parents above the (larger) radio on the lower boards */
  html.lobby-dock .hero-copy { padding-bottom: 11rem; }
}


@media (max-width: 700px), (max-width: 960px) and (max-height: 500px) {
  html.lobby-dock { --b16-m: calc((100vw - var(--cab-w)) / 2); --b16-sand-gap: clamp(188px, 50vw, 230px); --b16-lantern-clear: clamp(48px, 12vw, 72px); }
  html.lobby-dock .arcade-shack.dock-size-pier { padding-bottom: 120px; }
  html.lobby-dock main#top > #arcade.arcade-shack.dock-size-pier::before {
    background-image:
      url("assets/beach1116/foot-L.webp?v=beach1116a"), url("assets/beach1116/foot-R.webp?v=beach1116a"),
      url("assets/lawn7/edge7.webp?v=lw7a"),
      url("assets/beach1116/head-phone.webp?v=lobby1121g"),
      url("assets/beach1116/deck16.webp?v=lobby1121g"),
      url("assets/beach1116/sand-bed.webp?v=lobby1121g"),
      url("assets/beach1116/sand-fill.webp?v=beach1116a");
    background-repeat: no-repeat, no-repeat, repeat-x, no-repeat, no-repeat, no-repeat, repeat-y;
    background-size: calc(var(--b16-m) * 1.1) auto, var(--b16-m) auto, auto var(--l7-edge), 100% auto, var(--l7-w) auto, 100% auto, 100% auto;
    background-position:
      left 0 bottom var(--l7-edge), right 0 bottom var(--l7-edge),
      50% 100%,
      50% calc(var(--b16-top) + var(--b16-lantern-clear)),
      var(--l7-x) var(--l7-y),
      50% var(--b16-sand-y),
      50% var(--b16-sand-y);
  }
}
/* tight contact at each cabinet base, plus a softer outer falloff */
html.lobby-dock .dock-cabinet {
  filter: drop-shadow(0 2px 2px rgba(40, 22, 8, .40)) drop-shadow(0 16px 18px rgba(40, 22, 8, .26));
}
html.lobby-dock .dock-cabinet:hover {
  filter: drop-shadow(0 0 10px #f3bd7470) drop-shadow(0 2px 2px rgba(40, 22, 8, .35));
}
html.lobby-dock .dock-cabinet::before {
  left: 8%;
  right: 10%;
  bottom: -1.4%;
  height: 7.5%;
  background:
    radial-gradient(42% 55% at 50% 28%, rgba(40, 22, 8, .58) 0, rgba(40, 22, 8, .28) 42%, transparent 70%),
    radial-gradient(70% 110% at 50% 45%, rgba(40, 22, 8, .22) 0, transparent 72%);
}

/* slightly smaller FREE hang-tags, same seat on every cabinet */
html.lobby-dock .dock-cabinet .hp-tag-free {
  top: 15.6%;
  right: -2.5%;
  transform: rotate(6deg);
  transform-origin: 70% 0;
  padding: 3px 7px 3px 12px;
  font-size: clamp(8px, 0.78vw, 10px);
  letter-spacing: .08em;
}
@media (max-width: 700px) {
  html.lobby-dock .dock-cabinet .hp-tag-free {
    top: 15.6%;
    right: -2.5%;
    padding: 3px 6px 3px 10px;
    font-size: 8px;
    -webkit-mask: radial-gradient(circle 2.4px at 5px 50%, transparent 98%, #000);
    mask: radial-gradient(circle 2.4px at 5px 50%, transparent 98%, #000);
  }
}

/* lobby1121b: etched welcome, vertically centered in the open sand between the pavers and the cabinets */
html.lobby-dock .beach-welcome {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: calc(var(--b16-top) + var(--b16-sand-gap) / 2);
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  width: min(42rem, 62%, calc(100vw - 2 * min(var(--b16-m), 200px) - 36px));
  margin: 0;
  padding: 0;
  text-align: center;
  pointer-events: none;
  line-height: 0;
}
html.lobby-dock .beach-welcome-img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 700px), (max-width: 960px) and (max-height: 500px) {
  html.lobby-dock .beach-welcome {
    /* two-line carving, larger type, still inside the lanterns */
    width: min(17.6rem, 70vw);
  }
}

/* lobby1121g: carved footprint trail in the sand band, around the welcome, never interactive */
html.lobby-dock .beach-footprints {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: var(--b16-sand-y, var(--b16-top));
  height: calc(var(--b16-sand-gap) + var(--b16-top) - var(--b16-sand-y, var(--b16-top)));
  margin: 0;
  padding: 0;
  pointer-events: none;
  line-height: 0;
  overflow: hidden;
}
html.lobby-dock .beach-footprints picture,
html.lobby-dock .beach-footprints img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

/* lobby1121i: small sand easter eggs around the welcome, decorative only */
html.lobby-dock .beach-eggs {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: var(--b16-sand-y, var(--b16-top));
  height: calc(var(--b16-sand-gap) + var(--b16-top) - var(--b16-sand-y, var(--b16-top)));
  margin: 0;
  padding: 0;
  pointer-events: none;
  line-height: 0;
  overflow: hidden;
}
html.lobby-dock .beach-eggs picture,
html.lobby-dock .beach-eggs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

/* lobby1121g: lantern mouse cursor on the lobby page only; touch devices unchanged */
@media (pointer: fine) {
  html.lobby-dock {
    cursor: url("assets/beach1116/cursor-lantern.png?v=lobby1122l") 4 4, auto;
    cursor: image-set(
      url("assets/beach1116/cursor-lantern.png?v=lobby1122l") 1x,
      url("assets/beach1116/cursor-lantern-2x.png?v=lobby1122l") 2x
    ) 4 4, auto;
  }
  html.lobby-dock a,
  html.lobby-dock button,
  html.lobby-dock .dock-cabinet,
  html.lobby-dock .ar-radio,
  html.lobby-dock .ar-radio button,
  html.lobby-dock .ar-handle,
  html.lobby-dock summary,
  html.lobby-dock [role="button"] {
    cursor: url("assets/beach1116/cursor-lantern-hover.png?v=lobby1122l") 4 4, pointer;
    cursor: image-set(
      url("assets/beach1116/cursor-lantern-hover.png?v=lobby1122l") 1x,
      url("assets/beach1116/cursor-lantern-hover-2x.png?v=lobby1122l") 2x
    ) 4 4, pointer;
  }
  html.lobby-dock input,
  html.lobby-dock textarea,
  html.lobby-dock select,
  html.lobby-dock [contenteditable="true"] {
    cursor: text;
  }
}
