.akiba-home-highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.125rem;
  margin: 0 auto;
  max-width: min(1440px, 90%);
  padding: .15rem 0;
}

.akiba-home-highlights a {
  --highlight-accent: #ad3020;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: .25rem .4rem .25rem 0;
  color: var(--ink, #232621);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.akiba-home-highlights a::before {
  flex: 0 0 auto;
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: var(--highlight-accent);
  content: '';
}

.akiba-home-highlights a + a {
  --highlight-accent: #6845a5;
  position: relative;
  padding-inline-start: 1.125rem;
}

.akiba-home-highlights a + a::after {
  position: absolute;
  inset: .75rem auto .75rem 0;
  width: 1px;
  background: #d6d5ce;
  content: '';
}

.akiba-home-highlights a + a::before {
  box-sizing: border-box;
  border: 1.5px solid var(--highlight-accent);
  background: none;
}

.akiba-highlight-arrow {
  color: var(--highlight-accent);
  font: 650 .9rem/1 system-ui, sans-serif;
}

.akiba-home-highlights a:hover > span:first-child {
  color: var(--highlight-accent);
  text-decoration: underline;
  text-underline-offset: .22em;
}

.akiba-home-highlights a:focus-visible {
  outline: 2px solid var(--highlight-accent);
  outline-offset: 2px;
}

.akiba-stock-low {
  display: block;
  margin: .4rem 0;
  color: #972c1c;
  font-size: .875rem;
  font-weight: 750;
}

@media (min-width: 768px) {
  .akiba-home-highlights {
    gap: .625rem;
    padding-block: .5rem;
  }

  .akiba-home-highlights a {
    --highlight-accent: var(--akiba-orange, #f45d2e);
    --highlight-on-accent: var(--akiba-on-orange, #201f1e);
    position: relative;
    isolation: isolate;
    justify-content: space-between;
    inline-size: min(13.5rem, 100%);
    min-width: 0;
    padding: .4rem .75rem .4rem .9rem;
    border-radius: 2px;
    background: var(--ink, #23251f);
    color: #fff;
    font: italic 900 1.125rem/1.05 'Barlow Condensed', system-ui, sans-serif;
    letter-spacing: .025em;
    text-transform: uppercase;
  }

  .akiba-home-highlights a + a {
    --highlight-accent: var(--akiba-preorder, #7250c8);
    --highlight-on-accent: #fff;
    padding-inline-start: .9rem;
  }

  .akiba-home-highlights a::after,
  .akiba-home-highlights a + a::after {
    position: absolute;
    z-index: -1;
    inset: 0 0 0 auto;
    width: 2.9rem;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(112deg, #fff4 0 15%, transparent 15% 20%, #fff3 20% 24%, transparent 24%),
      var(--highlight-accent);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    content: '';
  }

  .akiba-home-highlights a::before,
  .akiba-home-highlights a + a::before {
    content: none;
  }

  .akiba-home-highlights a > span:first-child {
    min-width: 0;
    padding-inline-end: .5rem;
    overflow-wrap: anywhere;
  }

  .akiba-highlight-arrow {
    flex: none;
    color: var(--highlight-on-accent);
    font-size: 1rem;
  }

  .akiba-home-highlights a:hover > span:first-child {
    color: inherit;
  }
}

@media (max-width: 767px) {
  .akiba-home-highlights {
    flex-wrap: nowrap;
    align-items: stretch;
    gap: .65rem;
    margin: .4rem auto .85rem;
    max-width: none;
    padding: 0;
  }

  .akiba-home-highlights a {
    --highlight-edge: #101010;
    --highlight-streak: #ffffff19;
    --highlight-face: #202020;
    flex: 1 1 0;
    min-width: 0;
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr) 1.25rem;
    gap: .5rem;
    min-height: 44px;
    padding: .25rem .45rem;
    border: 1px solid var(--highlight-edge);
    border-radius: 6px 14px 6px 14px;
    background: repeating-linear-gradient(125deg, transparent 0 7px, var(--highlight-streak) 7px 8px)
      right / 38% 100% no-repeat var(--highlight-face);
    box-shadow: 0 2px 0 var(--highlight-edge);
    color: #fff;
    font: 400 1.13rem/1.08 'Akiba Manga', 'Barlow Condensed', system-ui, sans-serif;
  }

  .akiba-home-highlights a::before {
    width: 1rem;
    height: 1.2rem;
    background: var(--akiba-purchase, #ffbe39);
    clip-path: polygon(41% 0, 96% 0, 64% 38%, 94% 38%, 12% 100%, 35% 56%, 4% 56%);
  }

  .akiba-home-highlights a + a {
    --highlight-edge: var(--akiba-preorder-pressed, #523497);
    --highlight-streak: #20143817;
    --highlight-face: var(--akiba-preorder, #7250c8);
    padding-inline-start: .45rem;
  }

  .akiba-home-highlights a + a::before {
    height: 1rem;
    border: 2px solid currentColor;
    background:
      linear-gradient(currentColor, currentColor) 50% 25% / 2px 46% no-repeat,
      linear-gradient(currentColor, currentColor) 80% 50% / 40% 2px no-repeat;
    clip-path: none;
  }

  .akiba-home-highlights a + a::after {
    content: none;
  }

  .akiba-home-highlights a > span:first-child {
    overflow-wrap: anywhere;
  }

  .akiba-highlight-arrow {
    display: grid;
    width: 1.25rem;
    height: 1.25rem;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: inherit;
    font: 700 .85rem/1 system-ui, sans-serif;
  }

  .akiba-home-highlights a:hover > span:first-child {
    color: inherit;
    text-decoration: none;
  }

  .akiba-home-highlights a:active {
    transform: translateY(2px);
    box-shadow: none;
  }

  .akiba-home-highlights a:focus-visible {
    outline-color: var(--ink, #202020);
  }
}

@media (max-width: 400px) {
  .akiba-home-highlights a {
    grid-template-columns: 1rem minmax(0, 1fr);
  }

  .akiba-highlight-arrow {
    display: none;
  }
}

@media (max-width: 360px) {
  .akiba-home-highlights {
    gap: .45rem;
  }

  .akiba-home-highlights a {
    gap: .3rem;
    font-size: 1rem;
  }
}
