/* DANANG2NITE | MOBILE CONTACT SHORTCUTS | <=820px.
   Independent of per-page CSS; the desktop QR contact component is unchanged. */
.d2n-contact-fab,.d2n-contact{display:none}
.d2n-contact-shortcuts{position:fixed;z-index:2990;inset-inline-start:50%;bottom:calc(9px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:min(454px,calc(100% - 16px));max-width:calc(100vw - 16px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:4px;padding:7px 8px 6px;border:1px solid rgba(216,180,105,.52);border-radius:19px;background:linear-gradient(180deg,rgba(27,23,29,.97),rgba(7,7,9,.98));box-shadow:0 9px 30px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.025),0 0 20px rgba(230,37,114,.08);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);direction:ltr}
.d2n-contact-shortcuts__link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:62px;padding:0 1px;border-radius:11px;color:#ece4d8;text-decoration:none;text-align:center;font-family:Arial,Helvetica,sans-serif;font-weight:700;font-size:10px;line-height:1.2;white-space:nowrap;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.d2n-contact-shortcuts__link img{width:42px;height:42px;object-fit:contain;display:block;flex-shrink:0}
.d2n-contact-shortcuts__link span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.d2n-contact-shortcuts__link:focus-visible{outline:2px solid #e4c77d;outline-offset:-2px}
.d2n-contact-shortcuts__link:active{background:rgba(219,183,111,.12)}
/* Let readers scroll beyond the last footer controls rather than covering them. */
body .site-footer{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
/* Suppress shortcuts while site navigation obscures the page. */
body.d2n-menu-open .d2n-contact-shortcuts{visibility:hidden;pointer-events:none}
@media(max-width:360px){.d2n-contact-shortcuts{padding:6px 5px;gap:2px;border-radius:16px;bottom:calc(6px + env(safe-area-inset-bottom,0px))}.d2n-contact-shortcuts__link{font-size:9px;min-height:59px}.d2n-contact-shortcuts__link img{width:39px;height:39px}}
@media(prefers-reduced-motion:reduce){.d2n-contact-shortcuts__link{transition:none}}


/* MOBILE STAGE 06 | Four persistent direct-link icons; no extra Contact button.
   Physical centering also works when the document direction is RTL. */
@media (max-width: 820px) {
  body .d2n-contact-shortcuts {
    inset-inline-start: auto;
    inset-inline-end: auto;
    left: 50%;
    right: auto;
    bottom: calc(9px + env(safe-area-inset-bottom, 0px));
    width: min(454px, calc(100% - 20px));
    max-width: calc(100vw - 20px);
    padding: 7px 7px 8px;
    gap: 3px;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,.72), 0 0 0 1px rgba(232,194,114,.08);
  }
  body .d2n-contact-shortcuts__link {
    min-height: 71px;
    padding: 5px 0 3px;
    gap: 3px;
    border-radius: 11px;
    font-size: 10.5px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body .d2n-contact-shortcuts__link img {
    width: 46px;
    height: 46px;
  }
  body .d2n-contact-shortcuts__link span {
    overflow: visible;
    text-overflow: clip;
  }
  body .d2n-contact-shortcuts__link:focus-visible {
    outline: 2px solid #e8c981;
    outline-offset: -3px;
  }
  /* The fixed bar must never hide the final footer links. */
  body .site-footer {
    padding-bottom: calc(126px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 359px) {
  body .d2n-contact-shortcuts { padding: 5px 3px 6px; gap: 1px; }
  body .d2n-contact-shortcuts__link { font-size: 9.5px; min-height: 67px; }
  body .d2n-contact-shortcuts__link img { width: 43px; height: 43px; }
}
