.purchase-panel .dokkaebi-store-download,
.hub-actionbar .dokkaebi-hub-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background-color: var(--accent-soft);
  color: var(--text-strong);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

.dokkaebi-store-download::before,
.dokkaebi-hub-download::before {
  content: "";
  flex: 0 0 18px;
  height: 20px;
  background-color: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2.5'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.purchase-panel .dokkaebi-store-download {
  width: 100%;
  margin-top: 8px;
}

.hub-actionbar:has(> .dokkaebi-hub-download) {
  grid-template-columns: minmax(0, 1fr) auto auto 48px;
}

.hub-actionbar .dokkaebi-hub-download {
  min-width: 164px;
}

.purchase-panel .dokkaebi-store-download:hover,
.hub-actionbar .dokkaebi-hub-download:hover {
  background-color: color-mix(in srgb, var(--accent) 22%, var(--surface));
}

.dokkaebi-store-download:focus-visible,
.dokkaebi-hub-download:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .hub-actionbar:has(> .dokkaebi-hub-download) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px;
  }

  .hub-actionbar .dokkaebi-hub-download {
    min-width: 0;
    padding-inline: 8px;
    overflow-wrap: anywhere;
  }
}
