/* Modified by BW-Tech GmbH */
:root {
    color-scheme: light;
    --store-bg: #f5f8fa;
    --store-surface: #ffffff;
    --store-soft: #edf7f7;
    --store-text: #262b45;
    --store-muted: #3f6173;
    --store-primary: #386983;
    --store-primary-dark: #244b61;
    --store-accent: #00e4bd;
    --store-accent-ink: #17495b;
    --store-border: #d4dde7;
    --store-success: #007c68;
    --store-warning: #9a5d00;
    --store-shadow: 0 14px 36px rgba(26, 56, 76, .09);
    --store-space: 8px;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body.storefront {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background: var(--store-bg);
    color: var(--store-text);
    font-family: Inter, sans-serif;
    letter-spacing: 0;
}

.storefront a {
    color: inherit;
}

.storefront a:focus-visible,
.storefront button:focus-visible,
.storefront input:focus-visible,
.storefront select:focus-visible {
    outline: 3px solid var(--store-primary-dark);
    outline-offset: 3px;
}

.storefront button,
.storefront input,
.storefront select {
    font: inherit;
}

.store-skip-link {
    position: absolute;
    z-index: 100;
    top: 12px;
    left: 32px;
    border-radius: 8px;
    padding: 10px 14px;
    background: var(--store-primary-dark);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-160%);
}

.store-skip-link:focus-visible {
    transform: translateY(0);
}

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

.store-container {
    width: calc(100% - 64px);
    max-width: 1880px;
    margin: 0 auto;
}

.store-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(215, 227, 234, .9);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(16px);
}

.store-header-inner {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
    align-items: center;
    min-height: 92px;
    gap: 24px;
}

.store-brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 12px;
    color: var(--store-text);
    text-decoration: none;
}

.store-brand img {
    display: block;
    width: 112px;
    height: 74px;
    object-fit: contain;
}

.store-brand span {
    border-left: 1px solid var(--store-border);
    padding-left: 12px;
    color: var(--store-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.store-nav {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    gap: 8px;
}

.store-nav a {
    display: inline-flex;
    position: relative;
    align-items: center;
    padding: 0 14px;
    color: var(--store-muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.store-nav a::after {
    position: absolute;
    right: 14px;
    bottom: 0;
    left: 14px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--store-accent);
    content: "";
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity .18s ease, transform .18s ease;
}

.store-nav a:hover,
.store-nav a.is-active {
    color: var(--store-primary-dark);
}

.store-nav a.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.store-intro {
    border-bottom: 1px solid var(--store-border);
    background: var(--store-surface);
}

.store-intro-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(400px, .75fr);
    align-items: end;
    gap: 64px;
    padding-top: 64px;
    padding-bottom: 56px;
}

.store-intro-compact .store-intro-inner {
    grid-template-columns: minmax(0, 760px);
    padding-top: 48px;
    padding-bottom: 40px;
}

.store-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--store-primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.store-intro h1,
.store-detail-title h1 {
    margin: 0;
    font-family: Manrope, sans-serif;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
}

.store-intro p {
    max-width: 670px;
    margin: 16px 0 0;
    color: var(--store-muted);
    font-size: 17px;
    line-height: 1.7;
}

.store-search {
    display: grid;
    gap: 10px;
}

.store-search label,
.store-trust-filter label,
.store-results-head label {
    color: var(--store-muted);
    font-size: 12px;
    font-weight: 800;
}

.store-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    border: 1px solid var(--store-border);
    border-radius: 8px;
    background: var(--store-surface);
    box-shadow: var(--store-shadow);
    overflow: hidden;
}

.store-search input {
    min-width: 0;
    min-height: 52px;
    border: 0;
    outline: 0;
    padding: 0 18px;
    color: var(--store-text);
}

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

.store-search input:focus {
    box-shadow: inset 0 0 0 2px var(--store-primary-dark);
}

.store-search button {
    border: 0;
    background: var(--store-accent);
    color: var(--store-accent-ink);
    font-weight: 800;
    cursor: pointer;
    transition: background .16s ease;
}

.store-search button {
    min-width: 112px;
    padding: 0 20px;
}

.store-search button:hover {
    background: #00cfa9;
}

.store-catalog {
    padding: 40px 0 72px;
}

.store-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 32px;
}

.store-filter {
    position: sticky;
    top: 104px;
}

.store-filter-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}

.store-filter h2,
.store-content-section h2,
.store-section-heading h2 {
    margin: 0;
    font-family: Manrope, sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.store-filter-head a {
    color: var(--store-primary);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.store-filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    border-left: 3px solid transparent;
    padding: 0 10px 0 13px;
    color: var(--store-muted);
    font-size: 14px;
    text-decoration: none;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.store-filter-link strong {
    font-size: 12px;
}

.store-filter-link:hover,
.store-filter-link.is-active {
    border-left-color: var(--store-accent);
    background: #e8f9f5;
    color: var(--store-primary-dark);
}

.store-trust-filter {
    display: grid;
    gap: 9px;
    margin-top: 24px;
    border-top: 1px solid var(--store-border);
    padding-top: 20px;
}

.store-trust-filter select,
.store-results-head select {
    width: 100%;
    min-height: 40px;
    border-radius: 8px;
    padding: 0 11px;
}

.store-trust-filter select,
.store-results-head select {
    border: 1px solid var(--store-border);
    outline: 0;
    background: var(--store-surface);
    color: var(--store-text);
}

.store-trust-filter select:focus,
.store-results-head select:focus {
    border-color: var(--store-primary);
    box-shadow: 0 0 0 3px rgba(36, 75, 97, .18);
}

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

.store-results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.store-results-head > div span,
.store-results-head > div strong {
    display: block;
}

.store-results-head > div span {
    margin-bottom: 3px;
    color: var(--store-muted);
    font-size: 12px;
    font-weight: 700;
}

.store-results-head > div strong {
    font-family: Manrope, sans-serif;
    font-size: 18px;
}

.store-results-head form {
    display: grid;
    grid-template-columns: auto 190px auto;
    align-items: center;
    gap: 10px;
}

.store-sort-button {
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    padding: 0 14px;
    background: var(--store-primary-dark);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.store-app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 16px;
}

.store-app-card {
    display: grid;
    position: relative;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    min-height: 238px;
    border: 1px solid var(--store-border);
    border-radius: 8px;
    padding: 22px;
    background: var(--store-surface);
    box-shadow: 0 5px 18px rgba(26, 56, 76, .045);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.store-app-card:hover {
    border-color: #a9cfdf;
    box-shadow: var(--store-shadow);
    transform: translateY(-2px);
}

.store-card-link {
    position: absolute;
    z-index: 3;
    inset: 0;
    border-radius: 8px;
}

.store-card-link:focus-visible {
    outline: 3px solid var(--store-primary-dark);
    outline-offset: 4px;
}

.store-app-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 1px solid #bcebe2;
    border-radius: 8px;
    background: var(--store-soft);
    color: var(--store-primary-dark);
    font-family: Manrope, sans-serif;
    font-size: 18px;
    font-weight: 800;
}

.store-app-icon-large {
    width: 88px;
    height: 88px;
    font-size: 25px;
}

.store-app-icon-image {
    position: relative;
    padding: 10px;
    overflow: hidden;
    background: linear-gradient(145deg, #f5fbfb, var(--store-soft));
}

.store-app-icon-fallback {
    display: grid;
    position: absolute;
    inset: 10px;
    place-items: center;
    color: var(--store-primary-dark);
    font: 800 18px/1 Manrope, sans-serif;
}

.store-app-icon-image img {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-card-content {
    display: flex;
    position: relative;
    z-index: 2;
    min-width: 0;
    flex-direction: column;
}

.store-labels {
    display: flex;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.store-label {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border: 1px solid var(--store-border);
    border-radius: 999px;
    padding: 2px 8px;
    background: #f8fbfd;
    color: var(--store-primary-dark);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.store-label-trust {
    border-color: #a9e7d9;
    background: #e6faf5;
    color: var(--store-success);
}

.store-app-card h2 {
    margin: 0 0 8px;
    font-family: Manrope, sans-serif;
    font-size: 19px;
    line-height: 1.25;
}

.store-app-card p {
    display: -webkit-box;
    margin: 0;
    color: var(--store-muted);
    font-size: 14px;
    line-height: 1.55;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.store-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 13px;
    color: var(--store-muted);
    font-size: 12px;
}

.store-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    border-top: 1px solid var(--store-border);
    padding-top: 14px;
    color: var(--store-muted);
    font-size: 11px;
}

.store-card-footer strong {
    color: var(--store-primary);
    font-size: 12px;
}

.store-empty {
    border: 1px dashed #b8cbd6;
    border-radius: 8px;
    padding: 56px 24px;
    background: var(--store-surface);
    text-align: center;
}

.store-empty strong {
    display: block;
    font-family: Manrope, sans-serif;
    font-size: 20px;
}

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

.store-empty a {
    color: var(--store-primary);
    font-weight: 800;
    text-decoration: none;
}

.store-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.store-category-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 112px;
    border: 1px solid var(--store-border);
    border-radius: 8px;
    padding: 20px;
    background: var(--store-surface);
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.store-category-card:hover {
    border-color: #a9cfdf;
    box-shadow: var(--store-shadow);
    transform: translateY(-2px);
}

.store-category-code {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 8px;
    background: var(--store-soft);
    color: var(--store-primary-dark);
    font-family: Manrope, sans-serif;
    font-weight: 800;
}

.store-category-card h2 {
    margin: 0 0 5px;
    font-family: Manrope, sans-serif;
    font-size: 17px;
}

.store-category-card p {
    margin: 0;
    color: var(--store-muted);
    font-size: 13px;
}

.store-arrow {
    color: var(--store-primary);
    font-size: 20px;
}

.store-detail-head {
    border-bottom: 1px solid var(--store-border);
    padding: 38px 0 42px;
    background: var(--store-surface);
}

.store-back {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--store-primary);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.store-detail-title {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.store-detail-title h1 {
    font-size: clamp(32px, 4vw, 46px);
}

.store-detail-title p {
    max-width: 760px;
    margin: 12px 0 8px;
    color: var(--store-muted);
    font-size: 17px;
    line-height: 1.6;
}

.store-detail-title > div > span {
    color: var(--store-muted);
    font-size: 13px;
}

.store-detail-title > div > span a {
    color: var(--store-primary);
    font-weight: 700;
    text-decoration: none;
}

.store-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 32px;
}

.store-detail-main {
    display: grid;
    gap: 16px;
}

.store-content-section,
.store-app-meta {
    border: 1px solid var(--store-border);
    border-radius: 8px;
    background: var(--store-surface);
}

.store-content-section {
    padding: 28px;
}

.store-content-section > h2,
.store-section-heading {
    margin-bottom: 18px;
}

.store-description {
    color: #354957;
    font-size: 15px;
    line-height: 1.75;
}

.store-description a {
    color: var(--store-primary);
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.store-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.store-screenshot {
    display: block;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--store-border);
    border-radius: 8px;
    background: var(--store-soft);
    overflow: hidden;
}

.store-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}

.store-screenshot:hover img {
    transform: scale(1.015);
}

.store-section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.store-section-heading span {
    color: var(--store-muted);
    font-size: 12px;
    font-weight: 700;
}

.store-release-list {
    display: grid;
}

.store-release {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) auto;
    align-items: start;
    gap: 18px;
    border-top: 1px solid var(--store-border);
    padding: 18px 0;
}

.store-release:first-child {
    border-top: 0;
    padding-top: 0;
}

.store-release:last-child {
    padding-bottom: 0;
}

.store-release strong,
.store-release span {
    display: block;
}

.store-release strong {
    font-size: 14px;
}

.store-release span {
    margin-top: 4px;
    color: var(--store-muted);
    font-size: 12px;
}

.store-release p {
    margin: 0;
    color: var(--store-muted);
    font-size: 13px;
    line-height: 1.6;
}

.store-release a {
    color: var(--store-primary);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.store-app-meta {
    position: sticky;
    top: 104px;
    overflow: hidden;
}

.store-download-box {
    display: grid;
    gap: 7px;
    border-bottom: 1px solid var(--store-border);
    padding: 24px;
    background: var(--store-soft);
}

.store-download-box > span {
    color: var(--store-muted);
    font-size: 12px;
    font-weight: 700;
}

.store-download-box > strong {
    margin-bottom: 8px;
    font-family: Manrope, sans-serif;
    font-size: 26px;
}

.store-primary-action,
.store-disabled-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 8px;
    padding: 0 15px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.store-primary-action {
    background: var(--store-accent);
    color: var(--store-accent-ink) !important;
    transition: background .16s ease, transform .16s ease;
}

.store-primary-action:hover {
    background: #00cfa9;
    transform: translateY(-1px);
}

.store-disabled-action {
    background: #dce5ea;
    color: var(--store-muted);
}

.store-app-meta dl {
    margin: 0;
    padding: 10px 24px 18px;
}

.store-app-meta dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--store-border);
    padding: 13px 0;
}

.store-app-meta dl div:last-child {
    border-bottom: 0;
}

.store-app-meta dt,
.store-app-meta dd {
    margin: 0;
    font-size: 12px;
}

.store-app-meta dt {
    color: var(--store-muted);
}

.store-app-meta dd {
    max-width: 175px;
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
}

.store-app-meta code {
    color: var(--store-primary-dark);
    font-family: Inter, sans-serif;
}

.store-footer {
    border-top: 1px solid var(--store-border);
    padding: 24px 0;
    background: var(--store-surface);
    color: var(--store-muted);
    font-size: 12px;
}

.store-footer .store-container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

/* Entwickler-Einreichung */
.store-submit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 32px;
}

.store-form {
    display: grid;
    gap: 18px;
    border: 1px solid var(--store-border);
    border-radius: 8px;
    padding: 28px;
    background: var(--store-surface);
    box-shadow: var(--store-shadow);
}

.store-field {
    display: grid;
    gap: 7px;
}

.store-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.store-form label {
    color: var(--store-text);
    font-size: 14px;
    font-weight: 700;
}

.store-form input[type="text"],
.store-form input[type="email"],
.store-form input[type="url"],
.store-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--store-border);
    border-radius: 8px;
    padding: 11px 13px;
    background: var(--store-surface);
    color: var(--store-text);
}

.store-form textarea {
    min-height: auto;
    line-height: 1.55;
    resize: vertical;
}

.store-form input:focus,
.store-form textarea:focus {
    border-color: var(--store-primary);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(36, 75, 97, .16);
}

.store-file {
    width: 100%;
    border: 1px dashed var(--store-border);
    border-radius: 8px;
    padding: 14px;
    background: var(--store-soft);
    color: var(--store-muted);
    font-size: 14px;
}

.store-file::file-selector-button {
    margin-right: 12px;
    border: 1px solid var(--store-border);
    border-radius: 7px;
    padding: 8px 12px;
    background: var(--store-surface);
    color: var(--store-primary-dark);
    font-weight: 800;
    cursor: pointer;
}

.store-field-hint {
    color: var(--store-muted);
    font-size: 12px;
}

.store-field-hint code,
.store-form-alert code {
    font-family: Inter, sans-serif;
    font-weight: 700;
}

.store-check {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    color: var(--store-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.store-check input {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    accent-color: var(--store-primary);
}

.store-submit-button {
    justify-self: start;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    padding: 0 26px;
    background: var(--store-accent);
    color: var(--store-accent-ink);
    font-weight: 800;
    cursor: pointer;
    transition: background .16s ease, transform .16s ease;
}

.store-submit-button:hover {
    background: #00cfa9;
    transform: translateY(-1px);
}

.store-form-note {
    margin: 0;
    color: var(--store-muted);
    font-size: 12px;
}

.store-submit-aside {
    border: 1px solid var(--store-border);
    border-radius: 8px;
    padding: 24px;
    background: var(--store-surface);
}

.store-submit-aside h2 {
    margin: 0 0 14px;
    font-family: Manrope, sans-serif;
    font-size: 17px;
}

.store-submit-aside ol {
    margin: 0;
    padding-left: 20px;
    color: var(--store-muted);
    font-size: 14px;
    line-height: 1.6;
}

.store-submit-aside ol li {
    margin-bottom: 12px;
}

.store-submit-aside ol strong {
    color: var(--store-text);
}

.store-submit-hint {
    margin: 16px 0 0;
    border-top: 1px solid var(--store-border);
    padding-top: 16px;
    color: var(--store-muted);
    font-size: 12px;
}

.store-form-alert {
    border: 1px solid var(--store-border);
    border-radius: 8px;
    padding: 16px 18px;
}

.store-form-alert strong {
    display: block;
    margin-bottom: 6px;
    font-family: Manrope, sans-serif;
    font-size: 16px;
}

.store-form-alert ul {
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.store-form-alert p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}

.store-form-alert-error {
    border-color: #e6b8b8;
    background: #fdf1f1;
    color: #8f1f1f;
}

.store-form-alert-ok {
    display: grid;
    gap: 12px;
    justify-items: start;
    border-color: #a9e7d9;
    background: #e9faf5;
    color: var(--store-accent-ink);
}

.store-form-alert-ok code {
    color: var(--store-primary-dark);
}

@media (max-width: 980px) {
    .store-header-inner {
        grid-template-columns: 1fr auto;
    }

    .store-nav {
        grid-row: 2;
        grid-column: 1 / -1;
        justify-content: center;
        order: 3;
        min-height: 44px;
        border-top: 1px solid var(--store-border);
    }

    .store-header-inner {
        padding-top: 12px;
    }

    .store-intro-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 48px;
        padding-bottom: 40px;
    }

    .store-layout {
        grid-template-columns: 1fr;
    }

    .store-filter {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border: 1px solid var(--store-border);
        border-radius: 8px;
        padding: 16px;
        background: var(--store-surface);
    }

    .store-filter-head,
    .store-trust-filter {
        grid-column: 1 / -1;
    }

    .store-trust-filter {
        grid-template-columns: minmax(0, 1fr);
    }

    .store-trust-filter label {
        grid-column: 1 / -1;
    }

    .store-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .store-app-meta {
        position: static;
        grid-row: 1;
    }

    .store-submit-layout {
        grid-template-columns: 1fr;
    }

    .store-submit-aside {
        grid-row: 1;
    }
}

@media (max-width: 720px) {
    .store-container {
        width: calc(100% - 28px);
    }

    .store-header-inner {
        gap: 12px;
    }

    .store-brand img {
        width: 82px;
        height: 55px;
    }

    .store-brand span {
        display: none;
    }

    .store-nav {
        justify-content: stretch;
        gap: 0;
        overflow-x: auto;
    }

    .store-nav a {
        flex: 1 0 auto;
        justify-content: center;
        min-height: 44px;
        padding: 0 10px;
    }

    .store-intro-inner {
        padding-top: 36px;
        padding-bottom: 32px;
    }

    .store-intro h1 {
        font-size: 36px;
    }

    .store-intro p {
        font-size: 15px;
    }

    .store-search-row {
        grid-template-columns: 1fr;
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .store-search input,
    .store-search button {
        min-height: 48px;
        border-radius: 8px;
    }

    .store-search input {
        border: 1px solid var(--store-border);
        box-shadow: var(--store-shadow);
    }

    .store-catalog {
        padding: 28px 0 48px;
    }

    .store-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-results-head {
        align-items: stretch;
        flex-direction: column;
    }

    .store-results-head form {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    .store-sort-button {
        grid-column: 2;
    }

    .store-app-grid,
    .store-category-grid {
        grid-template-columns: 1fr;
    }

    .store-app-card {
        grid-template-columns: 52px minmax(0, 1fr);
        min-height: 0;
        padding: 18px;
    }

    .store-app-icon {
        width: 52px;
        height: 52px;
        font-size: 15px;
    }

    .store-card-footer {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 18px;
    }

    .store-detail-title {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 16px;
    }

    .store-detail-title .store-app-icon {
        width: 64px;
        height: 64px;
    }

    .store-detail-title h1 {
        font-size: 31px;
        overflow-wrap: anywhere;
    }

    .store-content-section {
        padding: 20px;
    }

    .store-screenshot-grid {
        grid-template-columns: 1fr;
    }

    .store-release {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .store-release a {
        white-space: normal;
    }

    .store-footer .store-container {
        flex-direction: column;
    }

    .store-form {
        padding: 20px;
    }

    .store-field-row {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
