.kk-island .kk-categories { gap: clamp(4px, .7vw, 12px); }
.kk-island .kk-category { width: max-content; }
.kk-island .kk-category[open] { z-index: 2; }
.kk-island .kk-category:not([data-category=download]) ul {
  width: min(250px, 72vw); border-radius: 0 12px 14px 14px;
}
@media (min-width: 1161px) {
  .kk-island { grid-template-columns: minmax(max-content,1fr) auto minmax(max-content,1fr); }
}
@media (min-width: 921px) and (max-width: 1160px) {
  .kk-island {
    grid-template-columns: 1fr auto; grid-template-areas: "brand tools" "groups groups";
    gap: 0; padding-block: 4px; border-radius: 24px;
  }
  .kk-island .kk-brand { grid-area: brand; }
  .kk-island .kk-tools { grid-area: tools; }
  .kk-island .kk-categories { grid-area: groups; justify-content: center; border-top: 1px solid #ffffff42; }
}
@media (max-width: 920px) {
  .kk-island .kk-categories { justify-content: center; gap: clamp(2px,1vw,9px); }
  .kk-island .kk-category:nth-child(2) ul { left: 0; transform: none; }
  .kk-island .kk-category:nth-child(3) ul {
    left: 50%; transform: translateX(-50%); border-radius: 12px 12px 14px 14px;
  }
  .kk-island .kk-category:nth-child(4) ul { left: auto; right: 0; border-radius: 12px 0 14px 14px; }
}
@media (max-width: 510px) {
  .kk-island .kk-categories {
    display: grid; grid-template-columns: repeat(2,1.16fr) repeat(2,.95fr) repeat(2,.89fr);
    justify-items: center; gap: 0;
  }
  .kk-island .kk-category { grid-column: span 2; }
  .kk-island .kk-category:nth-child(n+4) { grid-column: span 3; }
  .kk-island .kk-category:nth-child(2) ul { left: 50%; transform: translateX(-50%); border-radius: 12px 12px 14px 14px; }
  .kk-island .kk-category:nth-child(3) ul { left: auto; right: 0; transform: none; border-radius: 12px 0 14px 14px; }
  .kk-island .kk-category:nth-child(4) ul { left: 0; right: auto; border-radius: 0 12px 14px 14px; }
}
