/* NK Cinematic Social Tabs v1.0.1 — scoped to .nk-cst */
.nk-cst {
  --nk-cst-accent: #a9766d;
  --nk-cst-bg: rgba(19, 18, 20, .94);
  --nk-cst-text: #f5f0eb;
  --nk-cst-line: rgba(232, 204, 184, .26);
  --nk-cst-offset: 0px;
  --nk-cst-height: 46px;
  position: fixed;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  isolation: isolate;
  font-family: inherit;
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}
.nk-cst, .nk-cst * { box-sizing: border-box; }
.nk-cst--style-noir { --nk-cst-bg: rgba(18, 17, 20, .94); --nk-cst-text: #f6eee8; --nk-cst-line: rgba(218, 184, 167, .29); }
.nk-cst--style-glass { --nk-cst-bg: rgba(34, 33, 37, .72); --nk-cst-text: #fffaf5; --nk-cst-line: rgba(240, 220, 208, .34); }
.nk-cst--style-ivory { --nk-cst-bg: rgba(246, 240, 234, .96); --nk-cst-text: #30282b; --nk-cst-line: rgba(69, 46, 47, .22); }
.nk-cst--size-compact { --nk-cst-height: 40px; }
.nk-cst--left-top, .nk-cst--left-middle, .nk-cst--left-bottom { left: 0; align-items: flex-start; }
.nk-cst--right-top, .nk-cst--right-middle, .nk-cst--right-bottom { right: 0; align-items: flex-end; }
.nk-cst--left-top, .nk-cst--right-top { top: calc(102px + var(--nk-cst-offset)); }
.nk-cst--left-middle, .nk-cst--right-middle { top: calc(50% + var(--nk-cst-offset)); transform: translateY(-50%); }
.nk-cst--left-bottom, .nk-cst--right-bottom { bottom: calc(72px - var(--nk-cst-offset)); }
.nk-cst__links { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; pointer-events: auto; }
.nk-cst--right-top .nk-cst__links,
.nk-cst--right-middle .nk-cst__links,
.nk-cst--right-bottom .nk-cst__links { align-items: flex-end; }
.nk-cst__link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: max-content;
  min-width: var(--nk-cst-height);
  min-height: var(--nk-cst-height);
  max-width: min(240px, 90vw);
  gap: 0;
  padding: 0 13px;
  color: var(--nk-cst-text) !important;
  background: var(--nk-cst-bg);
  border: 1px solid var(--nk-cst-line);
  border-left: 0;
  border-radius: 0 9px 9px 0;
  text-decoration: none !important;
  box-shadow: 0 6px 22px rgba(0,0,0,.17);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  outline-offset: 3px;
  cursor: pointer;
  transition: background-color .26s ease, box-shadow .26s ease, border-color .26s ease, gap .26s ease;
}
.nk-cst--right-top .nk-cst__link,
.nk-cst--right-middle .nk-cst__link,
.nk-cst--right-bottom .nk-cst__link {
  flex-direction: row-reverse;
  border-left: 1px solid var(--nk-cst-line);
  border-right: 0;
  border-radius: 9px 0 0 9px;
}
.nk-cst__link::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 42%;
  left: 0;
  top: 29%;
  border-radius: 3px;
  background: var(--nk-cst-accent);
  opacity: .55;
  transition: opacity .3s ease, height .3s ease, top .3s ease;
}
.nk-cst--right-top .nk-cst__link::before,
.nk-cst--right-middle .nk-cst__link::before,
.nk-cst--right-bottom .nk-cst__link::before { left: auto; right: 0; }
.nk-cst__link:hover,
.nk-cst__link:focus-visible {
  color: var(--nk-cst-text) !important;
  background: color-mix(in srgb, var(--nk-cst-bg) 86%, var(--nk-cst-accent));
  border-color: var(--nk-cst-accent);
  box-shadow: 0 9px 26px rgba(0,0,0,.3);
}
.nk-cst__link:hover::before, .nk-cst__link:focus-visible::before { height: 68%; top: 16%; opacity: 1; }
.nk-cst__link:focus-visible, .nk-cst__mobile-toggle:focus-visible { outline: 2px solid var(--nk-cst-accent); }
.nk-cst__icon { flex: 0 0 20px; width: 20px; height: 20px; display: inline-flex; justify-content: center; align-items: center; line-height: 1; }
.nk-cst__icon svg { display:block; width:20px; height:20px; }
.nk-cst__label {
  display: block;
  color: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .11em;
  line-height: 1.25;
  text-transform: uppercase;
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: max-width .31s ease, opacity .26s ease;
}
.nk-cst--labels-hover .nk-cst__link:hover,
.nk-cst--labels-hover .nk-cst__link:focus-visible { gap: 10px; }
.nk-cst--labels-hover .nk-cst__link:hover .nk-cst__label,
.nk-cst--labels-hover .nk-cst__link:focus-visible .nk-cst__label { max-width: 166px; opacity: 1; }
.nk-cst--labels-always .nk-cst__link { gap: 10px; }
.nk-cst--labels-always .nk-cst__label { max-width: 166px; opacity: 1; }
.nk-cst--labels-icons .nk-cst__label { display: none; }
.nk-cst__mobile-toggle { display: none; }
.nk-cst--motion .nk-cst__link { animation: nk-cst-reveal .45s cubic-bezier(.21,.71,.23,1) both; animation-delay: calc(var(--nk-cst-index) * 55ms); }
@keyframes nk-cst-reveal { from { opacity: 0; translate: -8px 0; } to { opacity: 1; translate: 0 0; } }
.nk-cst--right-top.nk-cst--motion .nk-cst__link,
.nk-cst--right-middle.nk-cst--motion .nk-cst__link,
.nk-cst--right-bottom.nk-cst--motion .nk-cst__link { animation-name: nk-cst-reveal-right; }
@keyframes nk-cst-reveal-right { from { opacity:0; translate: 8px 0; } to { opacity:1; translate:0 0; } }
@media (max-width: 767px) {
  .nk-cst { transform: none !important; top:auto; right:auto; bottom:auto; left:auto; align-items:stretch; }
  .nk-cst--mobile-mode-hide { display:none !important; }
  .nk-cst--mobile-right-bottom { right: max(12px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom) - var(--nk-cst-offset)); }
  .nk-cst--mobile-left-bottom { left: max(12px, env(safe-area-inset-left)); bottom: calc(20px + env(safe-area-inset-bottom) - var(--nk-cst-offset)); }
  .nk-cst--mobile-right-top { right: max(12px, env(safe-area-inset-right)); top: calc(92px + env(safe-area-inset-top) + var(--nk-cst-offset)); }
  .nk-cst--mobile-left-top { left: max(12px, env(safe-area-inset-left)); top: calc(92px + env(safe-area-inset-top) + var(--nk-cst-offset)); }
  .nk-cst__mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--nk-cst-line);
    border-radius: 12px;
    background: var(--nk-cst-bg);
    color: var(--nk-cst-text);
    box-shadow: 0 7px 28px rgba(0,0,0,.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    pointer-events: auto;
    padding: 0;
  }
  .nk-cst__toggle-close { display:none; }
  .nk-cst--open .nk-cst__toggle-share { display:none; }
  .nk-cst--open .nk-cst__toggle-close { display:block; }
  .nk-cst__links {
    display:none;
    position:absolute;
    width: max-content;
    min-width: 176px;
    max-width: calc(100vw - 24px);
    max-height: min(56vh, 440px);
    overflow-y:auto;
    gap:5px;
    padding: 5px;
    border: 1px solid var(--nk-cst-line);
    border-radius: 12px;
    background: var(--nk-cst-bg);
    box-shadow: 0 14px 35px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    bottom: calc(100% + 9px);
  }
  .nk-cst--mobile-left-top .nk-cst__links,
  .nk-cst--mobile-right-top .nk-cst__links { top:calc(100% + 9px); bottom:auto; }
  .nk-cst--mobile-left-bottom .nk-cst__links,
  .nk-cst--mobile-left-top .nk-cst__links { left:0; right:auto; }
  .nk-cst--mobile-right-bottom .nk-cst__links,
  .nk-cst--mobile-right-top .nk-cst__links { right:0; left:auto; }
  .nk-cst--open .nk-cst__links { display:flex; }
  .nk-cst__link,
  .nk-cst--right-top .nk-cst__link,
  .nk-cst--right-middle .nk-cst__link,
  .nk-cst--right-bottom .nk-cst__link {
    width:100%; min-height: 42px; gap:12px !important;
    border:0; border-radius:7px; box-shadow:none;
    flex-direction:row;
    padding:0 13px; background:transparent;
  }
  .nk-cst__link::before { display:none; }
  .nk-cst__link:hover, .nk-cst__link:focus-visible { background:rgba(155,132,125,.17); }
  .nk-cst__label, .nk-cst--labels-icons .nk-cst__label {
    display:block; opacity:1; max-width:195px; font-size:10px;
  }
  .nk-cst--motion .nk-cst__link { animation:none !important; }
  .nk-cst--motion.nk-cst--open .nk-cst__links { animation:nk-cst-menu-in .22s ease-out both; }
  @keyframes nk-cst-menu-in { from { opacity:0; scale:.96; } to { opacity:1; scale:1; } }
}
@media (prefers-reduced-motion: reduce) {
  .nk-cst *, .nk-cst *::before, .nk-cst *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}
@media print { .nk-cst { display:none !important; } }
