/* Booking uses the same dock-item pseudo-element, plate and theme rules as
   CV, LinkedIn, Telegram and Email. Only its camera artwork is unique. */
html:root[lang][data-theme] body .contact-dock .dock-item[data-booking-link] {
  --dock-glass-icon: url("/assets/contacts/booking-dark.svg");
  --contact-neumorphic-glyph: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2056%2056%22%3E%3Cg%20fill%3D%22%232e2e33%22%20fill-opacity%3D%22.86%22%3E%3Crect%20x%3D%2210.2%22%20y%3D%2217.5%22%20width%3D%2225.6%22%20height%3D%2221%22%20rx%3D%226%22%2F%3E%3Cpath%20d%3D%22M35.5%2023.5%2043.2%2018.5c1.6-1.1%203.6.05%203.6%201.95v15.1c0%201.9-2%203.05-3.6%201.95l-7.7-5z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --contact-dark-neumorphic-glyph: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2056%2056%22%3E%3Cg%20fill%3D%22%23f2f2f4%22%20fill-opacity%3D%22.92%22%3E%3Crect%20x%3D%2210.2%22%20y%3D%2217.5%22%20width%3D%2225.6%22%20height%3D%2221%22%20rx%3D%226%22%2F%3E%3Cpath%20d%3D%22M35.5%2023.5%2043.2%2018.5c1.6-1.1%203.6.05%203.6%201.95v15.1c0%201.9-2%203.05-3.6%201.95l-7.7-5z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
html:root[lang][data-theme="light"] body .contact-dock .dock-item[data-booking-link] {
  --dock-glass-icon: url("/assets/contacts/booking-light.svg");
}

/* Five equal contact items, while preserving the shared icon/hover/tooltip rules. */
@media (max-width: 640px) {
  html:root[lang][data-theme] body .contact-dock.contact-dock--glass {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
    justify-items: center;
    column-gap: clamp(5px, 2vw, 11px);
    row-gap: 0;
    width: min(calc(100vw - 36px), 460px);
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px clamp(6px, 2vw, 12px);
  }
  html:root[lang][data-theme] body .contact-dock.contact-dock--glass .dock-divider {
    display: none;
  }
  html:root[lang][data-theme] body .contact-dock.contact-dock--glass .dock-item {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
    align-items: center;
  }
  html:root[lang][data-theme] body .contact-dock.contact-dock--glass .dock-icon,
  html:root[lang][data-theme] body .contact-dock.contact-dock--glass .dock-item::before {
    width: clamp(42px, 12vw, 56px);
    height: clamp(42px, 12vw, 56px);
    border-radius: 18px;
  }
  html:root[lang][data-theme] body .contact-dock.contact-dock--glass .dock-label {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
    font-size: clamp(10px, 2.7vw, 12px);
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
    text-align: center;
  }
  html:root[lang][data-theme] body .contact-dock.contact-dock--glass .dock-label--done {
    display: none;
  }
  html:root[lang][data-theme] body .contact-dock.contact-dock--glass .dock-item.is-copied .dock-label--done {
    display: block;
  }
}
