:root {
  --store-bg: #0d1218;
  --store-surface: #171d25;
  --store-surface-soft: #12171e;
  --store-surface-raised: #1d2530;
  --store-ink: #f2f5f9;
  --store-muted: #a8b3c2;
  --store-line: rgba(148, 163, 184, 0.2);
  --store-blue: #72a0d6;
  --store-blue-dark: #94b9e5;
  --store-blue-hover: #5d8fc9;
  --store-blue-soft: rgba(86, 133, 190, 0.18);
  --store-danger: #fda29b;
  --store-radius: 20px;
  --store-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.page-download-agent {
  background: var(--store-bg);
  color: var(--store-ink);
  color-scheme: dark;
}

.page-download-agent .download-store {
  min-height: 100vh;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3rem) 5rem;
  background:
    radial-gradient(circle at 80% 2%, rgba(86, 133, 190, 0.08), transparent 32rem),
    var(--store-bg);
}

.store-container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1rem, 2vw, 1.35rem) clamp(1.05rem, 2.2vw, 1.5rem);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(18, 23, 30, 0.98), rgba(29, 42, 58, 0.96)),
    #12171e;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  color: #fff;
}

.store-hero__copy {
  min-width: 0;
}

.store-eyebrow,
.store-kicker {
  margin: 0 0 0.35rem;
  color: #8fb4df;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.store-hero h1 {
  max-width: none;
  margin: 0;
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
  white-space: normal;
  word-break: keep-all;
}

.store-hero__copy > p:not(.store-eyebrow) {
  max-width: 520px;
  margin: 0.4rem 0 0;
  color: #bdc7d4;
  font-size: 0.88rem;
  line-height: 1.45;
}

.store-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0.2rem 0.28rem 0.2rem 0.75rem;
  box-sizing: border-box;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: rgba(8, 13, 19, 0.66);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  color: var(--store-muted);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.store-search__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: #8494a7;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.store-search input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 0.55rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--store-ink);
  font: inherit;
  font-size: 0.9rem;
}

.store-search input::placeholder {
  color: #687789;
}

.store-search .store-search__clear {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--store-muted);
  font-size: 1rem;
  cursor: pointer;
}

.store-search .store-search__clear:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.store-search .store-search__submit {
  min-width: 64px;
  height: 34px;
  flex: 0 0 auto;
  padding: 0 0.85rem;
  border: 1px solid rgba(148, 190, 238, 0.22);
  border-radius: 9px;
  background: var(--store-blue-hover);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.store-search .store-search__submit:hover {
  background: #6f9fd5;
}

.store-search .store-search__submit:active {
  transform: scale(0.97);
}

.store-search:focus-within {
  border-color: var(--store-blue);
  outline: 0;
  background: rgba(10, 16, 23, 0.88);
  box-shadow:
    0 0 0 3px rgba(114, 160, 214, 0.16),
    0 14px 34px rgba(0, 0, 0, 0.26);
}

.store-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.store-chips {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.2rem;
  scrollbar-width: thin;
}

.filter-chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--store-line);
  border-radius: 999px;
  background: var(--store-surface);
  color: var(--store-muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip[aria-pressed="true"] {
  border-color: var(--store-blue);
  background: var(--store-blue-soft);
  color: #dbeafe;
}

.filter-chip:hover {
  background: rgba(114, 160, 214, 0.12);
}

.filter-chip[aria-pressed="true"] {
  border-color: rgba(114, 160, 214, 0.7);
}

.store-select-label {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.6rem;
  color: var(--store-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.store-select-label select,
.detail-action select {
  min-height: 42px;
  padding: 0 2.3rem 0 0.8rem;
  border: 1px solid var(--store-line);
  border-radius: 11px;
  background: var(--store-surface);
  color: var(--store-ink);
  color-scheme: dark;
  font: inherit;
}

.store-section {
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
}

.store-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.store-section-head h2 {
  margin: 0;
  color: var(--store-ink);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: -0.03em;
}

.store-section-hint {
  margin: 0.3rem 0 0;
  color: var(--store-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.result-count {
  margin: 0;
  color: var(--store-muted);
  font-size: 0.86rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.app-card,
.featured-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  background: var(--store-surface);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.app-card:hover,
.featured-card:hover {
  transform: translateY(-3px);
  border-color: rgba(114, 160, 214, 0.48);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.app-card-link,
.featured-card-link {
  display: block;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: inherit;
  color: inherit;
  text-decoration: none;
}

.app-card-link:focus-visible,
.featured-card-link:focus-visible,
.filter-chip:focus-visible,
.store-cta:focus-visible,
.detail-back:focus-visible,
.guide-link:focus-visible,
.store-search button:focus-visible,
.store-select-label select:focus-visible,
.detail-action select:focus-visible,
.state-retry:focus-visible,
.store-pagination button:focus-visible,
.install-details summary:focus-visible {
  outline: 3px solid #8bb5e5;
  outline-offset: 3px;
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1rem 1.15rem 0;
}

.app-thumbnail {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  place-items: center;
  border-bottom: 1px solid var(--store-line);
  background:
    radial-gradient(circle at 78% 16%, rgba(114, 160, 214, 0.2), transparent 38%),
    #111823;
}

.app-thumbnail::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 14, 24, 0.96) 0%, rgba(8, 14, 24, 0.78) 38%, rgba(8, 14, 24, 0.08) 72%),
    linear-gradient(0deg, rgba(8, 14, 24, 0.55), transparent 55%);
  content: "";
  pointer-events: none;
}

.app-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.app-thumbnail-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  width: min(72%, 20rem);
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(0.8rem, 2.4vw, 1.35rem);
  color: #fff;
  text-align: left;
  pointer-events: none;
}

.app-thumbnail-category {
  margin-bottom: 0.4rem;
  color: #8fc4ff;
  font-size: clamp(0.58rem, 1vw, 0.7rem);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.app-thumbnail-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(1.12rem, 2.3vw, 1.5rem);
  line-height: 1.28;
  letter-spacing: -0.03em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.app-thumbnail-caption {
  display: -webkit-box;
  margin-top: 0.5rem;
  overflow: hidden;
  color: #c5d6ea;
  font-size: clamp(0.72rem, 1.2vw, 0.86rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  word-break: keep-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.app-card:hover .app-thumbnail img,
.featured-card:hover .app-thumbnail img {
  transform: scale(1.025);
}

.app-thumbnail--placeholder {
  min-height: 140px;
}

.app-thumbnail--placeholder .app-icon {
  position: absolute;
  right: 14%;
  z-index: 2;
  width: 72px;
  height: 72px;
}

.app-icon {
  display: grid;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(114, 160, 214, 0.25);
  border-radius: 15px;
  background: var(--store-blue-soft);
  color: #b7d4f4;
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-icon--large {
  width: 112px;
  height: 112px;
  border-radius: 25px;
  font-size: 2.5rem;
}

.app-card-copy {
  min-width: 0;
}

.app-card h3,
.featured-card h3 {
  margin: 0.12rem 0 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--store-ink);
  font-size: 1.04rem;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.app-card-category {
  margin: 0.35rem 0 0;
  color: var(--store-blue);
  font-size: 0.76rem;
  font-weight: 800;
}

.app-card-highlight {
  margin: 0.28rem 0 0;
  color: var(--store-muted);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.app-card-description {
  display: -webkit-box;
  min-height: 2.7em;
  margin: 0.75rem 0 0;
  overflow: hidden;
  color: var(--store-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.app-card > .app-card-link > .app-card-description {
  margin: 0.7rem 1.15rem 0;
}

.app-card-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  margin: 1rem 1.15rem 1.15rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--store-line);
  color: var(--store-muted);
  font-size: 0.78rem;
}

.app-card-meta {
  font-weight: 650;
  letter-spacing: -0.01em;
}

.app-card-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.15rem;
  padding: 0 1.2rem;
  border-radius: 12px;
  background: var(--store-blue-hover);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.featured-card .app-card-download {
  margin-top: 1rem;
  min-height: 3.25rem;
  width: 100%;
  max-width: none;
  font-size: 1.05rem;
}

.app-card:hover .app-card-download,
.featured-card:hover .app-card-download {
  background: #6f9fd5;
}

.featured-card-link {
  display: block;
}

.featured-card-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem;
}

.featured-card .app-icon {
  width: 78px;
  height: 78px;
  border-radius: 19px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--store-blue-soft);
  color: #bad7f7;
  font-size: 0.68rem;
  font-weight: 800;
}

.app-badge--success {
  background: rgba(47, 158, 107, 0.18);
  color: #8fe0b9;
}

.app-badge--muted {
  background: rgba(148, 163, 184, 0.12);
  color: #c3ccd8;
}

.store-state {
  color: var(--store-muted);
}

.state-panel {
  display: grid;
  min-height: 240px;
  place-items: center;
  padding: 2rem;
  border: 1px dashed rgba(148, 163, 184, 0.34);
  border-radius: var(--store-radius);
  background: rgba(23, 29, 37, 0.72);
  text-align: center;
}

.state-panel h2 {
  margin: 0 0 0.5rem;
  color: var(--store-ink);
  font-size: 1.15rem;
}

.state-panel p {
  margin: 0;
}

.state-retry {
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 10px;
  background: var(--store-blue-hover);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.state-retry:hover {
  background: #6f9fd5;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.skeleton-card {
  height: 230px;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  background: linear-gradient(100deg, #171d25 25%, #222b36 42%, #171d25 58%);
  background-size: 250% 100%;
  animation: store-shimmer 1.3s infinite linear;
}

@keyframes store-shimmer {
  to { background-position-x: -250%; }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-card { animation: none; }
  .app-card, .featured-card { transition: none; }
}

.store-pagination {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.store-pagination button {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--store-line);
  border-radius: 10px;
  background: var(--store-surface);
  color: var(--store-ink);
  font: inherit;
  cursor: pointer;
}

.store-pagination button[aria-current="page"] {
  border-color: var(--store-blue);
  background: var(--store-blue-hover);
  color: #fff;
  font-weight: 800;
}

.store-pagination button:not(:disabled):hover {
  border-color: rgba(114, 160, 214, 0.55);
  background: var(--store-surface-raised);
}

.store-pagination button:disabled {
  cursor: default;
  opacity: 0.45;
}

.store-detail {
  padding-top: 0.5rem;
}

.detail-back {
  margin-bottom: 1.5rem;
}

.detail-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(230px, 280px);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid var(--store-line);
  border-radius: 28px;
  background: var(--store-surface);
  box-shadow: var(--store-shadow);
}

.detail-identity h1 {
  margin: 0.5rem 0 0.4rem;
  color: var(--store-ink);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.detail-identity p {
  margin: 0.25rem 0;
  color: var(--store-muted);
}

#detail-developer {
  font-size: 0.82rem;
}

.detail-action {
  padding-left: 1.5rem;
  border-left: 1px solid var(--store-line);
}

.detail-action__lead {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(122, 168, 220, 0.28);
  border-radius: 10px;
  background: rgba(122, 168, 220, 0.1);
  color: #d7e7f8;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.4;
}

.detail-action label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--store-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.detail-action select {
  width: 100%;
}

.store-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 0.75rem;
  border: 0;
  border-radius: 12px;
  background: var(--store-blue-hover);
  color: #fff;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.store-cta:hover {
  background: #6f9fd5;
}

.store-cta:disabled {
  background: #343e4b;
  color: #a7b1bf;
}

.store-cta[hidden] {
  display: none;
}

#detail-cta-note {
  margin: 0.55rem 0 0;
  color: var(--store-muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

#detail-cta-note:empty {
  display: none;
  margin: 0;
}

.screenshot-strip {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  overflow-x: auto;
  padding: 0.2rem 0 0.8rem;
  scroll-snap-type: x mandatory;
}

.screenshot-strip img {
  width: min(680px, 82vw);
  max-height: 400px;
  flex: 0 0 auto;
  border: 1px solid var(--store-line);
  border-radius: 18px;
  background: var(--store-surface);
  object-fit: cover;
  scroll-snap-align: start;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.25rem;
  align-items: start;
  margin-top: 1.25rem;
}

.detail-main {
  display: grid;
  gap: 1.25rem;
}

.detail-card,
.detail-sidebar,
.install-details {
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  background: var(--store-surface);
}

.detail-card {
  padding: clamp(1.35rem, 4vw, 2rem);
}

.detail-card h2,
.install-details h2 {
  margin: 0 0 1rem;
  color: var(--store-ink);
  font-size: 1.2rem;
}

.detail-description {
  margin: 0;
  color: #c2cad5;
  line-height: 1.75;
  white-space: pre-line;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 0.75rem 0.8rem 0.75rem 2rem;
  border-radius: 12px;
  background: var(--store-surface-soft);
  color: #cbd3de;
  font-size: 0.86rem;
}

.feature-list li::before {
  position: absolute;
  left: 0.75rem;
  color: var(--store-blue);
  content: "✓";
  font-weight: 900;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.keyword {
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: var(--store-blue-soft);
  color: #bad7f7;
  font-size: 0.75rem;
  font-weight: 700;
}

.detail-sidebar {
  padding: 1.25rem;
  position: sticky;
  top: 1rem;
}

.metadata-list {
  margin: 0;
}

.metadata-list div {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--store-line);
}

.metadata-list div:first-child {
  padding-top: 0;
}

.metadata-list dt {
  margin-bottom: 0.25rem;
  color: var(--store-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.metadata-list dd {
  margin: 0;
  color: var(--store-ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.guide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.6rem;
  margin-top: 1.15rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.12);
  color: #8fe8c2;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.guide-link:hover {
  border-color: rgba(52, 211, 153, 0.48);
  background: rgba(52, 211, 153, 0.2);
  color: #b8f3d8;
}

.guide-link:active {
  background: rgba(52, 211, 153, 0.26);
}

.guide-link[hidden] {
  display: none;
}

.install-details {
  overflow: hidden;
}

.install-details summary {
  padding: 1.2rem 1.4rem;
  color: var(--store-ink);
  font-weight: 800;
  cursor: pointer;
}

.install-details summary:hover {
  background: rgba(114, 160, 214, 0.08);
}

.install-details[open] summary {
  border-bottom: 1px solid var(--store-line);
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 1.4rem;
}

.install-grid section {
  padding: 1.1rem;
  border-radius: 14px;
  background: var(--store-surface-soft);
}

.install-grid h2 {
  font-size: 1rem;
}

.install-grid ol {
  padding-left: 1.2rem;
  color: #c2cad5;
  font-size: 0.82rem;
  line-height: 1.65;
}

.install-grid p {
  margin: 0.8rem 0 0;
  color: var(--store-muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .store-hero {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .store-hero h1 {
    white-space: normal;
  }

  .store-search {
    max-width: 520px;
  }

  .detail-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .detail-action {
    grid-column: 1 / -1;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--store-line);
    border-left: 0;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .page-download-agent .download-store {
    padding-inline: 0.8rem;
  }

  .page-download-agent .contact-float--kakao {
    width: 2.45rem;
    height: 2.45rem;
  }

  .page-download-agent .contact-float__img {
    width: 2.45rem;
    height: 2.45rem;
    object-fit: cover;
    object-position: left;
  }

  .store-hero {
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 14px;
  }

  .store-search {
    min-height: 42px;
    padding-left: 0.7rem;
  }

  .store-search input {
    min-width: 0;
    height: 34px;
    padding-inline: 0.5rem;
    font-size: 0.84rem;
  }

  .store-search .store-search__submit {
    min-width: 58px;
    height: 32px;
    padding-inline: 0.7rem;
  }

  .store-filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .store-select-label {
    justify-content: space-between;
  }

  .featured-grid,
  .app-grid,
  .skeleton-grid,
  .feature-list,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .detail-hero .app-icon,
  .detail-hero .badge-row {
    justify-self: center;
  }

  .app-icon--large {
    width: 92px;
    height: 92px;
  }

  .detail-action {
    text-align: left;
  }
}
