.story-shortcut {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  padding-inline: 14px;
}

.story-shortcut .global-story-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 2px solid rgba(58, 47, 91, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #3a2f5b;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(58, 47, 91, 0.09);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  white-space: nowrap;
}

.story-shortcut .global-story-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 111, 94, 0.45);
  background: #fff7de;
}

.story-shortcut .global-story-link:focus-visible {
  outline: 3px solid #ffc93c;
  outline-offset: 3px;
}

.story-complete-header {
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  justify-content: initial !important;
}

.story-header-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #3a2f5b;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.story-header-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 4px 0 rgba(58, 47, 91, 0.1);
}

.story-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 720px) {
  .story-shortcut {
    padding-inline: 6px;
  }

  .story-shortcut .global-story-link {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 0.82rem;
  }

  .story-complete-header {
    grid-template-columns: auto 1fr;
  }

  .story-complete-header .story-shortcut {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .story-header-logo span {
    display: none;
  }

  .story-header-logo img {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-shortcut .global-story-link {
    transition: none;
  }
}
