html.age-gate-pending body { visibility: hidden; }
html.age-gate-active,
html.age-gate-active body { overflow: hidden !important; }
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: visible;
  color: #332e2a;
  background:
    linear-gradient(rgba(255,255,255,.58), rgba(255,255,255,.58)),
    url("/images/ivory-marble.svg") center / cover,
    #fbfaf8;
  font-family: Arial, Helvetica, sans-serif;
}
.age-gate__panel {
  width: min(460px, 100%);
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 38px 34px 34px;
  border: 1px solid rgba(97,86,77,.13);
  border-radius: 8px;
  text-align: center;
  background: rgba(255,255,255,.78);
  box-shadow: 0 24px 70px rgba(65,55,47,.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.age-gate__logo { width: 112px; height: auto; display: block; }
.age-gate__eyebrow {
  margin: 0;
  color: #8b817a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.age-gate h1 {
  margin: -4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: 0;
}
.age-gate__text { max-width: 340px; margin: -8px 0 2px; color: #6f6761; font-size: 16px; line-height: 1.55; }
.age-gate__title-mobile,
.age-gate__text-mobile { display: none; }
.age-gate__actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.age-gate__button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(91,80,72,.16);
  border-radius: 999px;
  color: #433c37;
  background: rgba(255,255,255,.84);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.age-gate__button--confirm { border-color: #b79b7b; color: #fff; background: #a98a68; }
.age-gate__note { margin: -8px 0 0; color: #948a83; font-size: 11px; line-height: 1.45; }
@media (max-width: 560px) {
  .age-gate {
    place-items: stretch;
    min-height: 100svh;
    padding: 0;
    color: #fff;
    background:
      linear-gradient(180deg, rgba(18,14,12,.25) 0%, rgba(18,14,12,.08) 42%, rgba(18,14,12,.65) 100%),
      url("/images/age-gate-mobile-v3.png") center / cover no-repeat;
  }
  .age-gate__panel {
    width: 100%;
    min-height: 100svh;
    align-content: center;
    grid-template-rows: 1fr auto auto 1.35fr auto;
    gap: 12px;
    padding: max(28px, env(safe-area-inset-top)) 24px max(26px, env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    color: #fff;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .age-gate__logo,
  .age-gate__eyebrow,
  .age-gate__note { display: none; }
  .age-gate h1 {
    grid-row: 2;
    width: min(320px, 100%);
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 34px;
    line-height: 1.08;
    font-weight: 800;
    color: #fff;
    -webkit-text-stroke: .2px rgba(255,255,255,.7);
    text-shadow: 0 2px 5px rgba(0,0,0,.78), 0 0 28px rgba(0,0,0,.58);
  }
  .age-gate__text {
    grid-row: 3;
    max-width: 315px;
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-shadow: 0 2px 5px rgba(0,0,0,.8), 0 0 22px rgba(0,0,0,.55);
  }
  .age-gate__title-desktop,
  .age-gate__text-desktop { display: none; }
  .age-gate__title-mobile,
  .age-gate__text-mobile { display: inline; }
  .age-gate__actions {
    position: relative;
    grid-row: 5;
    width: 82px;
    height: 150px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 7px;
    border-radius: 42px;
    background: rgba(255,255,255,.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .age-gate__actions::before {
    content: "⌃";
    position: absolute;
    top: 13px;
    left: 0;
    width: 100%;
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
  }
  .age-gate__button { display: none; }
  .age-gate__button--confirm {
    width: 68px;
    min-height: 68px;
    display: inline-flex;
    flex: 0 0 68px;
    padding: 0;
    border: 3px solid rgba(255,255,255,.9);
    border-radius: 50%;
    color: #222;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,.24);
    font-size: 0;
    touch-action: none;
    user-select: none;
    transition: transform .32s cubic-bezier(.22,.8,.3,1), box-shadow .25s ease;
  }
  .age-gate__button--confirm.is-dragging {
    box-shadow: 0 12px 32px rgba(0,0,0,.3);
    transition: box-shadow .2s ease;
  }
  .age-gate__button--confirm::after {
    content: "18+";
    font-size: 17px;
    font-weight: 700;
  }
}
