.banner {
    height: 42vh;
    min-height: 286px;
    max-height: 360px;
    background:
        linear-gradient(180deg, rgba(9, 9, 11, 0.95) 0%, rgba(10, 10, 12, 0.88) 42%, rgba(10, 10, 12, 0.8) 70%, rgba(10, 10, 12, 0.72) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.58rem 2rem 1.48rem;
    border-bottom: 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.banner::before {
    content: "";
    position: absolute;
    inset: -6% -4% -10%;
    background:
        linear-gradient(180deg, rgba(7, 7, 9, 0.22) 0%, rgba(7, 7, 9, 0.32) 34%, rgba(7, 7, 9, 0.5) 100%),
        url('/static/index/images/home-banner-retro.jpg') center 42% / cover no-repeat;
    opacity: 0.48;
    transform: scale(1.035);
    filter: saturate(0.76) contrast(0.92);
    z-index: 0;
    pointer-events: none;
}

.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 24%, rgba(255, 184, 94, 0.028), transparent 30%),
        linear-gradient(90deg, rgba(10, 10, 12, 0.1) 0%, rgba(10, 10, 12, 0.02) 16%, rgba(10, 10, 12, 0.02) 84%, rgba(10, 10, 12, 0.1) 100%),
        linear-gradient(180deg, rgba(7, 7, 9, 0.03) 0%, rgba(7, 7, 9, 0.06) 50%, rgba(10, 10, 12, 0.14) 74%, #111214 100%);
    z-index: 0;
    pointer-events: none;
}

.banner > * {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 3rem;
    color: #ff8c00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 600px;
}

.banner-search {
    width: min(760px, 100%);
    display: flex;
    align-items: center;
    margin: 0 auto;
    gap: 0.42rem;
    padding: 0.26rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.banner-search-input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 1.08rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 249, 240, 0.96);
    font-size: 1rem;
    line-height: 46px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.banner-search-input::placeholder {
    color: rgba(245, 233, 214, 0.72);
}

.banner-search-btn {
    flex-shrink: 0;
    min-width: 72px;
    height: 46px;
    padding: 0 0.78rem;
    font-size: 0.9rem;
    color: #fff4e2;
    font-weight: 500;
    background: linear-gradient(180deg, rgba(196, 128, 58, 0.78), rgba(167, 103, 36, 0.78));
    box-shadow: 0 4px 10px rgba(84, 48, 11, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.banner-search-btn:hover {
    box-shadow: 0 6px 12px rgba(120, 66, 13, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    filter: brightness(1.01);
}

#home .banner-search {
    position: relative;
    display: block;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

#home .banner-search-input {
    width: 100%;
    padding-right: 8.4rem;
}

#home .banner-search-btn {
    position: absolute;
    top: 50%;
    right: 0.32rem;
    transform: translateY(-50%);
    z-index: 2;
}

#home .banner-search-clear {
    position: absolute;
    top: 50%;
    right: 5.05rem;
    transform: translateY(-50%);
    z-index: 4;
    width: 1.68rem;
    height: 1.68rem;
    border: 1px solid rgba(0, 0, 0, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #555;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

#home .banner-search.has-value .banner-search-clear {
    display: inline-flex;
}

#home .banner-search[data-mobile-ocr-url] .banner-search-clear {
    right: 7.2rem;
}

.home-banner-tip {
    width: fit-content;
    max-width: min(760px, calc(100% - 32px));
    margin: 0.76rem auto 0;
    padding: 0.34rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: rgba(255, 245, 232, 0.72);
    font-size: 0.84rem;
    line-height: 1.7;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
}

@media (min-width: 768px) {
    header .header-inner {
        width: 100%;
        max-width: 1480px;
        margin: 0 auto;
        padding: 0 1.5rem;
        box-sizing: border-box;
    }
}

.container {
    max-width: 1480px;
    padding: 0 1.5rem;
}

.home-section {
    padding-bottom: 0.5rem;
}

@supports (content-visibility: auto) {
    .home-section-lazy {
        content-visibility: auto;
        contain-intrinsic-size: 960px;
    }
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin: 2rem 0 1.3rem;
    padding-bottom: 0.95rem;
    border-bottom: 0;
}

.section-heading-copy {
    position: relative;
    max-width: 760px;
    padding-left: 1.1rem;
}

.section-heading-copy::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3rem;
    bottom: 0.2rem;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffb347 0%, #ff5a1f 100%);
    box-shadow: 0 0 18px rgba(255, 140, 0, 0.28);
}

.section-kicker {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #ffb45c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.6rem, 2vw, 2.1rem);
    line-height: 1.12;
}

.section-desc {
    margin: 0.45rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    line-height: 1.7;
}

.section-more-link {
    color: #ffb45c;
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease;
}

.section-more-link:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.home-rule-section {
    padding-top: 0.1rem;
}

.label-rule-carousel {
    position: relative;
}

.label-rule-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.35rem;
    pointer-events: none;
    transform: translateY(-50%);
}

.label-rule-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 214, 165, 0.86);
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.label-rule-nav-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 214, 165, 0.18);
    color: #ffe7c4;
    transform: translateY(-1px);
}

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

.label-rule-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0.95rem 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: linear-gradient(180deg, #191919 0%, #111111 100%);
}

.label-rule-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
    margin-bottom: 0.7rem;
}

.label-rule-card-head h3 {
    margin: 0;
    min-width: 0;
    color: #f5f2eb;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
}

.label-rule-series {
    flex-shrink: 0;
    color: rgba(255, 214, 165, 0.82);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.label-rule-table-wrap {
    width: 100%;
    flex: 1 1 auto;
    overflow: visible;
}

.label-rule-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.label-rule-table th,
.label-rule-table td {
    padding: 0.52rem 0.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    vertical-align: top;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 245, 232, 0.9);
    white-space: normal;
    overflow-wrap: anywhere;
}

.label-rule-table th {
    color: rgba(255, 214, 165, 0.84);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.label-rule-table th:first-child,
.label-rule-table td:first-child {
    width: 38%;
    padding-right: 0.7rem;
}

.label-rule-table tbody tr:last-child td {
    border-bottom: 0;
}

.label-rule-table tbody tr.is-placeholder td {
    color: rgba(255, 255, 255, 0.18);
}

.label-rule-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding: 0;
    padding-top: 0.3rem;
    border: 0;
    background: none;
    color: rgba(255, 214, 165, 0.86);
    font-size: 0.82rem;
    line-height: 1.2;
    cursor: pointer;
}

.label-rule-toggle:hover {
    color: #ffe7c4;
}

.label-rule-toggle i {
    transition: transform 0.18s ease;
}

.label-rule-card.is-expanded .label-rule-toggle i {
    transform: rotate(180deg);
}

.home-quick-entry-section {
    display: none;
}

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

.home-quick-entry-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.9rem 0.95rem;
    border: 0;
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(28, 28, 30, 0.98), rgba(17, 17, 19, 0.98));
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-quick-entry-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 179, 71, 0.32);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.14);
}

.home-quick-entry-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(255, 179, 71, 0.16), rgba(255, 122, 24, 0.1));
    color: #ffd4a1;
    font-size: 0.94rem;
}

.home-quick-entry-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.home-quick-entry-copy strong {
    color: #ffffff;
    font-size: 0.94rem;
    line-height: 1.2;
    font-weight: 600;
}

.home-quick-entry-copy em {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
    line-height: 1.35;
    font-style: normal;
}

.home-quick-entry-arrow {
    margin-left: auto;
    color: rgba(255, 180, 92, 0.58);
    font-size: 0.74rem;
    flex: 0 0 auto;
}

.store-grid,
.product-grid,
.ranking-grid,
.deal-grid,
.collector-grid {
    display: grid;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    padding: 0 0 2rem;
    margin: 0;
}

.store-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.85rem;
}

.product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ranking-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.collector-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.deal-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.discovery-groups {
    display: grid;
    gap: 1rem;
    width: 100%;
    padding: 0 0 2rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.discovery-group-card,
.discovery-empty-card {
    border-radius: 18px;
    background: linear-gradient(180deg, #191919 0%, #111111 100%);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.discovery-group-card {
    position: relative;
    overflow: hidden;
    padding: 0.95rem 0.95rem 1rem;
    min-width: 0;
    box-sizing: border-box;
    border: 0;
    display: flex;
    flex-direction: column;
}

@supports (content-visibility: auto) {
    .discovery-group-card,
    .discovery-empty-card {
        content-visibility: auto;
        contain-intrinsic-size: 420px;
    }
}

.discovery-empty-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.discovery-share-btn {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 30;
    min-height: 32px;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 179, 71, 0.24);
    background: rgba(17, 17, 17, 0.78);
    color: #ffd095;
    font-size: 0.74rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.discovery-share-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 179, 71, 0.42);
    background: rgba(28, 24, 20, 0.92);
}

.discovery-group-head {
    margin-top: auto;
    margin-bottom: 0.45rem;
    padding-top: 0.8rem;
}

.discovery-group-head h3 {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.4;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
    flex-wrap: nowrap;
}

.discovery-group-head a {
    display: inline-flex;
    align-items: center;
    color: #b5b5b5;
    min-width: 0;
}

.discovery-group-head h3 > a:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

.discovery-owner-name,
.discovery-owner-group {
    display: inline-block;
}

.discovery-owner-name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.discovery-owner-group {
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.discovery-group-head p {
    margin: 0.3rem 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.76rem;
}

.discovery-stage {
    --stack-step-y: 6px;
    --stack-step-x: 6px;
    --stack-depth-visible: min(var(--stack-depth, 0), 2);
    --stack-band: calc(var(--stack-depth-visible) * var(--stack-step-y));
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding-top: var(--stack-band);
    margin: 0 0 0.8rem;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    box-sizing: border-box;
}

.discovery-record {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #171717;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
    transform: translate(calc(var(--card-order-visible, var(--card-order)) * var(--stack-step-x)), calc(var(--card-order-visible, var(--card-order)) * -1 * var(--stack-step-y)));
    transform-origin: center center;
    opacity: calc(1 - (var(--card-order-visible, var(--card-order)) * 0.05));
    z-index: calc(20 - var(--card-order));
    transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
}

.discovery-record.is-active {
    transform: none;
    opacity: 1;
    box-shadow: 0 22px 34px rgba(0, 0, 0, 0.34);
}

.discovery-stage:hover .discovery-record.is-active {
    transform:
        translateY(-2px)
        scale(1.01);
}

.discovery-record img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: none;
}

.home-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.discovery-group-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.15rem;
}

.discovery-active-link {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.discovery-count {
    flex-shrink: 0;
    color: #ffb45c;
    font-size: 0.76rem;
    font-weight: 700;
}

.discovery-empty-card {
    padding: 1.4rem;
}

.discovery-empty-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
}

.discovery-empty-card p {
    margin: 0.7rem 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.88rem;
    line-height: 1.6;
}

.store-card,
.product-card,
.ranking-card,
.deal-card,
.collector-card {
    background-color: #1a1a1a;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    justify-self: start;
}

.store-card:hover,
.product-card:hover,
.ranking-card:hover,
.deal-card:hover,
.collector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.collector-card {
    max-width: none;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    border: 0;
    background: linear-gradient(180deg, #1b1917 0%, #121212 100%);
}

.collector-card-avatar {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #2a2520 0%, #171717 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.collector-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collector-card-avatar span {
    color: #ffcf7a;
    font-size: 1.25rem;
    font-weight: 700;
}

.collector-card-body {
    min-width: 0;
}

.collector-card-body strong {
    display: block;
    color: #ffffff;
    font-size: 0.98rem;
    line-height: 1.4;
}

.collector-card-body p {
    margin: 0.35rem 0 0;
    color: #b5b5b5;
    font-size: 0.82rem;
}

.collector-card-empty {
    min-height: 92px;
}

.store-card {
    max-width: 272px;
    text-align: center;
    padding-bottom: 0.75rem;
}

.product-card {
    max-width: none;
    min-height: 330px;
    padding-bottom: 0.9rem;
}

.ranking-card {
    max-width: 272px;
    display: flex;
    flex-direction: column;
    min-height: 330px;
    background: linear-gradient(180deg, #201a17 0%, #161616 100%);
    border: 0;
}

.ranking-card-body {
    padding: 0.9rem 0.95rem 0.95rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ranking-card-link,
.deal-card-link {
    color: inherit;
}

.deal-card {
    max-width: 272px;
    display: flex;
    flex-direction: column;
    min-height: 330px;
    background: linear-gradient(180deg, #171717 0%, #111111 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.product-card-link {
    cursor: pointer;
}

.store-card .card-img,
.product-card .card-img {
    width: 100%;
    background: linear-gradient(45deg, #2a2a2a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8c00;
}

.store-card .card-img {
    height: 160px;
    font-size: 3.2rem;
}

.product-card .card-img {
    aspect-ratio: 1 / 1;
    height: auto;
    font-size: 3.2rem;
}

.ranking-card-image,
.deal-card-image {
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    background: #111214;
}

.ranking-card-body,
.deal-card-body {
    padding: 0.9rem 0.95rem 0.95rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ranking-card-tag {
    display: inline-block;
    padding: 0;
    border-radius: 0;
    background: none;
    border: 0;
    color: #ffd095;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 0.5rem;
}

.ranking-card h3,
.deal-card h3 {
    margin: 0;
    color: #ffffff;
    min-height: 2.9em;
    line-height: 1.45;
    font-size: 0.98rem;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ranking-card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-top: auto;
    min-width: 0;
}

.ranking-card-meta-row.is-meta-only {
    justify-content: flex-start;
}

.ranking-card-meta-line,
.ranking-card-submeta {
    margin: 0;
    color: #b5b5b5;
    font-size: 0.82rem;
    line-height: 1.45;
}

.ranking-card-meta-line {
    flex: 0 0 auto;
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
}

.ranking-card-submeta {
    flex: 1 1 auto;
    color: #8f949d;
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.deal-card-artist {
    margin: 0.5rem 0 0;
    color: #b5b5b5;
    font-size: 0.82rem;
}

.deal-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #d4d4d4;
    font-size: 0.82rem;
}

.deal-card-meta strong {
    color: #ff8c00;
    font-size: 1rem;
}

@media (min-width: 1280px) {
    .discovery-groups {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .label-rule-groups {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.85rem;
    }

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

    .store-card {
        max-width: none;
        width: 100%;
    }

    .ranking-grid,
    .deal-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .ranking-card,
    .deal-card {
        max-width: none;
        width: 100%;
    }

    .ranking-card-image,
    .deal-card-image {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .ranking-card-body,
    .deal-card-body {
        padding: 0.9rem 0.95rem 0.95rem;
    }

    .ranking-card h3,
    .deal-card h3 {
        font-size: 0.98rem;
        line-height: 1.45;
    }

    .deal-card-artist,
    .deal-card-meta {
        font-size: 0.82rem;
    }

    .deal-card-meta strong {
        font-size: 1rem;
    }
}

.ranking-card-empty,
.deal-card-empty {
    min-height: 160px;
    display: flex;
    align-items: center;
}

.store-card h3 {
    margin: 0.75rem 0 0.5rem;
    font-size: 0.94rem;
}

.product-info {
    padding: 0.9rem 0.95rem 0;
}

.product-info h4 {
    margin: 0;
    min-height: 2.9em;
    color: #f8fafc;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.85rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-price {
    color: #ffbe6b;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.product-meta {
    color: #aeb3bc;
    font-size: 0.78rem;
    line-height: 1.4;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 48%;
}

.product-info p,
.store-card p {
    color: #cccccc;
    font-size: 0.82rem;
    margin-bottom: 0.38rem;
}

.price {
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.product-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0.95rem;
    margin-top: 1rem;
}

.add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 92px;
    background: linear-gradient(135deg, #ff8c00 0%, #ff5a1f 100%);
    color: #ffffff;
    border: none;
    min-height: 34px;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 18px rgba(255, 102, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.add-to-cart:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(255, 102, 0, 0.28);
}

.favorite-btn {
    background: none;
    border: none;
    color: #cccccc;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.favorite-btn.active {
    color: #ff4500;
}

.library-section {
    padding-bottom: 2rem;
}

.library-tabs {
    display: inline-flex;
    gap: 0.55rem;
    padding: 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 1rem;
}

.library-tab {
    border: none;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    color: rgba(255, 255, 255, 0.82);
    background: transparent;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.library-tab span {
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    background: rgba(255, 255, 255, 0.12);
}

.library-tab.is-active {
    color: #111214;
    background: linear-gradient(135deg, #ffb347 0%, #ff8c00 100%);
    font-weight: 700;
}

.library-tab.is-active span {
    background: rgba(17, 18, 20, 0.16);
}

.library-pane {
    display: none;
}

.library-pane.is-active {
    display: block;
}

.library-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    padding-bottom: 1.2rem;
}

.library-card {
    color: inherit;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #1b1b1b 0%, #141414 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.library-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.library-cover {
    width: 100%;
    height: 172px;
    background: #1f1f1f;
}

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

.library-body {
    padding: 0.8rem 0.85rem 0.9rem;
}

.library-body h3 {
    margin: 0;
    font-size: 0.92rem;
    color: #ffffff;
    line-height: 1.45;
}

.library-body p {
    margin: 0.45rem 0 0;
    color: #cfcfcf;
    font-size: 0.8rem;
}

.library-empty-card,
.library-guest-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
}

.library-empty-card h3,
.library-guest-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
}

.library-empty-card p,
.library-guest-card p {
    margin: 0.55rem 0 0;
    color: #cfcfcf;
    font-size: 0.88rem;
    line-height: 1.65;
}

.library-empty-btn {
    margin-top: 0.9rem;
    min-width: 120px;
}

@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }

    .banner {
        height: auto;
        min-height: 176px;
        max-height: none;
        justify-content: center;
        gap: 0.2rem;
        padding: calc(0.56rem + env(safe-area-inset-top, 0px)) 1.25rem 0.56rem;
    }

    .banner h1 {
        font-size: 2rem;
    }

    .banner p {
        font-size: 1rem;
    }

    .banner-search {
        width: min(100%, calc(100vw - 40px));
        flex-direction: row;
        align-items: center;
        gap: 0.24rem;
        padding: 0.18rem;
        border-radius: 15px;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.035);
        box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
    }

    .banner-search-input,
    .banner-search-btn {
        height: 40px;
        font-size: 0.88rem;
    }

    .banner-search-input {
        flex: 1;
        min-width: 0;
        padding: 0 1rem;
        border-radius: 13px;
        line-height: 40px;
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.12);
    }

    .banner-search-btn {
        flex: 0 0 68px;
        min-width: 68px;
        padding: 0 0.6rem;
        border-radius: 13px;
        font-weight: 500;
    }

    #home .banner-search {
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
    }

    #home .banner-search-input {
        padding-right: 7.2rem;
    }

    #home .banner-search-btn {
        right: 0.18rem;
    }

    #home .banner-search-clear {
        right: 4.88rem;
    }

    .home-banner-tip {
        max-width: calc(100% - 40px);
        margin-top: 0.38rem;
        padding: 0.16rem 0.54rem;
        font-size: 0.76rem;
        line-height: 1.56;
        background: rgba(255, 255, 255, 0.02);
    }

    .home-quick-entry-section {
        display: block;
        margin-top: 0.21rem;
        margin-bottom: 0;
    }

    .home-quick-entry-grid {
        gap: 0.48rem;
    }

    .home-quick-entry-card {
        min-height: 68px;
        padding: 0.5rem 0.64rem;
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    }

    .home-quick-entry-icon {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        font-size: 0.74rem;
    }

    .home-quick-entry-copy strong {
        font-size: 0.86rem;
    }

    .home-quick-entry-copy em {
        font-size: 0.68rem;
    }

    .home-quick-entry-arrow {
        font-size: 0.62rem;
        color: rgba(255, 180, 92, 0.4);
    }

    .section-heading-row {
        align-items: flex-end;
        flex-direction: row;
        justify-content: space-between;
        gap: 0.8rem;
        margin: 1.18rem 0 0.82rem;
    }

    .section-heading-copy {
        padding-left: 0.9rem;
        min-width: 0;
        flex: 1 1 auto;
    }

    .section-more-link {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .store-grid,
    .product-grid,
    .ranking-grid,
    .deal-grid,
    .collector-grid {
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .ranking-grid,
    .deal-grid,
    .collector-grid {
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 0 1.1rem;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
        scroll-padding-left: 1rem;
        scroll-padding-right: 1rem;
    }

    .discovery-groups {
        --discovery-card-width: min(78vw, 316px);
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-wrap: nowrap;
        width: 100vw;
        max-width: 100vw;
        margin: 0 0 0 calc(50% - 50vw);
        padding: 0 max(0.7rem, calc((100vw - var(--discovery-card-width)) / 2)) 1.1rem;
        gap: 0.65rem;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
        scroll-padding-left: max(0.7rem, calc((100vw - var(--discovery-card-width)) / 2));
        scroll-padding-right: max(0.7rem, calc((100vw - var(--discovery-card-width)) / 2));
    }

    .label-rule-groups {
        --label-rule-card-width: min(82vw, 360px);
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: nowrap;
        width: 100vw;
        max-width: 100vw;
        margin: 0 0 0 calc(50% - 50vw);
        padding: 0 max(1rem, calc((100vw - var(--label-rule-card-width)) / 2)) 1rem;
        gap: 0.85rem;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
        scroll-padding-left: max(1rem, calc((100vw - var(--label-rule-card-width)) / 2));
        scroll-padding-right: max(1rem, calc((100vw - var(--label-rule-card-width)) / 2));
    }

    .ranking-grid,
    .deal-grid,
    .collector-grid {
        gap: 0.8rem;
    }

    .discovery-groups::-webkit-scrollbar,
    .label-rule-groups::-webkit-scrollbar,
    .ranking-grid::-webkit-scrollbar,
    .deal-grid::-webkit-scrollbar,
    .collector-grid::-webkit-scrollbar {
        display: none;
    }

    .discovery-group-card,
    .discovery-empty-card {
        flex: 0 0 var(--discovery-card-width);
        align-self: flex-start;
        min-width: 0;
        scroll-snap-align: center;
        transform-origin: center center;
        border-radius: 20px;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
        transform: scale(0.92, 0.67);
        opacity: 0.72;
        transition: transform 0.28s ease, opacity 0.28s ease, box-shadow 0.28s ease;
    }

    .discovery-group-card,
    .discovery-empty-card {
        content-visibility: visible;
        contain-intrinsic-size: auto;
    }

    .discovery-group-card {
        padding: 0.82rem 0.82rem 0.95rem;
    }

    .label-rule-card {
        flex: 0 0 var(--label-rule-card-width);
        min-width: 0;
        padding: 0.86rem 0.86rem 0.92rem;
        scroll-snap-align: center;
        border-radius: 18px;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
    }

    .label-rule-card-head {
        align-items: flex-start;
    }

    .label-rule-card-head {
        margin-bottom: 0.62rem;
    }

    .label-rule-card-head h3 {
        font-size: 0.92rem;
    }

    .label-rule-series {
        font-size: 0.68rem;
    }

    .label-rule-table {
        min-width: 0;
        width: 100%;
    }

    .label-rule-table th,
    .label-rule-table td {
        padding-top: 0.46rem;
        padding-bottom: 0.46rem;
        font-size: 0.76rem;
    }

    .label-rule-table th {
        font-size: 0.68rem;
    }

    .label-rule-table th:first-child,
    .label-rule-table td:first-child {
        width: 34%;
        padding-right: 0.45rem;
    }

    .discovery-group-card.is-centered,
    .discovery-empty-card.is-centered {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 16px 26px rgba(0, 0, 0, 0.18);
    }

    .discovery-empty-card {
        border-color: rgba(255, 255, 255, 0.05);
    }

    .discovery-share-btn {
        top: 0.7rem;
        right: 0.7rem;
    }

    .discovery-stage {
        --stack-step-y: 2px;
        --stack-step-x: 3px;
        width: 100%;
        height: min(82vw, 292px);
        padding-top: var(--stack-band);
        margin: 0 0 0.88rem;
        background: #111214;
    }

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

    .store-card .card-img {
        height: 150px;
        font-size: 3rem;
    }

    .product-card .card-img,
    .deal-card-image {
        aspect-ratio: auto;
        height: 340px;
        font-size: 3rem;
    }

    .ranking-card-image {
        aspect-ratio: auto;
        height: 260px;
    }

    .discovery-record img {
        object-fit: cover;
        object-position: center;
        background: none;
    }

    .discovery-record {
        top: max(0px, calc(var(--stack-band) - (var(--card-order-visible, var(--card-order)) * 2px)));
        right: calc(var(--card-order-visible, var(--card-order)) * 3px);
        bottom: calc(var(--card-order-visible, var(--card-order)) * 2px);
        left: calc(var(--card-order-visible, var(--card-order)) * 3px);
        border: 0;
        border-radius: 16px;
        background: transparent;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
        opacity: calc(1 - (var(--card-order-visible, var(--card-order)) * 0.06));
        filter: saturate(calc(1 - (var(--card-order-visible, var(--card-order)) * 0.035))) brightness(calc(1 - (var(--card-order-visible, var(--card-order)) * 0.03)));
        transform: none;
    }

    .discovery-record.is-active {
        top: var(--stack-band);
        right: 0;
        bottom: 0;
        left: 0;
        border: 0;
        background: transparent;
        opacity: 1;
        filter: none;
        transform: none;
        box-shadow: 0 16px 24px rgba(0, 0, 0, 0.22);
    }

    .discovery-group-foot {
        gap: 0.65rem;
        margin-top: 0.2rem;
    }

    .discovery-group-head {
        margin-top: 0.45rem;
        margin-bottom: 0;
        padding-top: 0;
    }

    .discovery-group-head h3 {
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .discovery-active-link {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .collection-ranking-grid,
    .want-ranking-grid {
        --collection-card-width: min(78vw, 316px);
        width: 100vw;
        max-width: 100vw;
        margin: 0 0 0 calc(50% - 50vw);
        padding: 0 max(0.7rem, calc((100vw - var(--collection-card-width)) / 2)) 1.1rem;
        gap: 0.65rem;
        scroll-snap-type: x mandatory;
        scroll-padding-left: max(0.7rem, calc((100vw - var(--collection-card-width)) / 2));
        scroll-padding-right: max(0.7rem, calc((100vw - var(--collection-card-width)) / 2));
    }

    .collection-ranking-grid .ranking-card,
    .collection-ranking-grid .ranking-card-empty,
    .want-ranking-grid .ranking-card,
    .want-ranking-grid .ranking-card-empty {
        flex: 0 0 var(--collection-card-width);
        scroll-snap-align: center;
        transform-origin: center center;
        transform: scale(0.92, 0.67);
        opacity: 0.72;
        transition: transform 0.28s ease, opacity 0.28s ease, box-shadow 0.28s ease;
    }

    .collection-ranking-grid .ranking-card.is-centered,
    .collection-ranking-grid .ranking-card-empty.is-centered,
    .want-ranking-grid .ranking-card.is-centered,
    .want-ranking-grid .ranking-card-empty.is-centered {
        transform: scale(1);
        opacity: 1;
    }

    .collection-ranking-grid .ranking-card-image,
    .want-ranking-grid .ranking-card-image {
        display: flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        max-width: 100%;
        height: min(78vw, 280px);
        aspect-ratio: auto;
        margin: 0.55rem auto 0;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
        background: #111214;
    }

    .collection-ranking-grid .ranking-card-image .home-card-image,
    .want-ranking-grid .ranking-card-image .home-card-image {
        width: auto;
        max-width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .collection-ranking-grid .ranking-card-body,
    .want-ranking-grid .ranking-card-body {
        padding-top: 0.82rem;
    }

    .collector-ranking-grid {
        --collector-card-width: calc((100vw - 2rem - 0.75rem) / 2);
        width: 100vw;
        max-width: 100vw;
        margin: 0 0 0 calc(50% - 50vw);
        padding: 0 1rem 1.1rem;
        gap: 0.75rem;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 1rem;
        scroll-padding-right: 1rem;
    }

    .collector-ranking-grid .collector-card,
    .collector-ranking-grid .collector-card-empty {
        flex: 0 0 var(--collector-card-width);
        min-width: 0;
        scroll-snap-align: start;
    }

    .ranking-card-image .home-card-image,
    .deal-card-image .home-card-image {
        object-fit: contain;
        background: #111214;
    }

    .ranking-card,
    .deal-card,
    .collector-card {
        max-width: none;
        width: 100%;
        min-width: 0;
        flex: 0 0 min(62vw, 220px);
        scroll-snap-align: start;
    }

    .ranking-card,
    .deal-card {
        border-radius: 18px;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .product-card {
        max-width: none;
        min-height: 0;
        width: 100%;
        padding-bottom: 0.8rem;
    }

    .ranking-card,
    .deal-card {
        min-height: 0;
    }

    .product-info {
        padding: 0.8rem 0.85rem 0 0.85rem;
    }

    .product-info h4 {
        min-height: 2.8em;
        font-size: 0.9rem;
    }

    .product-price-row {
        margin-top: 0.72rem;
        padding-top: 0.72rem;
        gap: 0.55rem;
    }

    .product-price {
        font-size: 0.92rem;
    }

    .product-meta {
        font-size: 0.74rem;
        max-width: 50%;
    }

    .product-actions {
        padding: 0 0.85rem;
        margin-top: 0.85rem;
    }

    .product-actions .add-to-cart {
        width: auto;
        min-width: 86px;
        min-height: 34px;
        font-size: 0.76rem;
        justify-content: center;
        text-align: center;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-desc {
        font-size: 0.88rem;
        line-height: 1.65;
    }

    .home-section#shop .section-heading-row {
        margin: 1.08rem 0 0.94rem;
        padding-bottom: 0.82rem;
        border-bottom-color: rgba(255, 255, 255, 0.045);
    }

    .home-section#shop .section-heading-copy {
        padding-left: 0.78rem;
    }

    .home-section#shop .section-heading-copy::before {
        top: 0.22rem;
        bottom: 0.3rem;
        width: 2px;
        box-shadow: 0 0 12px rgba(255, 140, 0, 0.18);
    }

    .home-section#shop .section-kicker {
        margin-bottom: 0.3rem;
        color: rgba(255, 180, 92, 0.74);
        font-size: 0.64rem;
        letter-spacing: 0.14em;
    }

    .library-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 14px;
    }

    .library-tab {
        justify-content: center;
        border-radius: 10px;
    }

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

    .library-cover {
        height: 146px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .discovery-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .label-rule-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .banner h1 {
        font-size: 2.5rem;
    }

    .store-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .ranking-grid,
    .deal-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) and (max-width: 1279px) {
    .discovery-groups {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .label-rule-groups {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .banner {
        width: 100vw;
        height: clamp(296px, 31vw, 336px);
        min-height: 296px;
        max-height: none;
        justify-content: center;
        align-items: center;
        gap: 0.68rem;
        margin: 0 0 0 calc(50% - 50vw);
        padding: 1.55rem clamp(2rem, 4vw, 2.8rem) 1.22rem;
        border-radius: 0;
        border: 0;
        box-shadow: none;
    }

    .banner::before {
        inset: -10% 0 -12%;
        background:
            linear-gradient(180deg, rgba(7, 7, 9, 0.22) 0%, rgba(7, 7, 9, 0.3) 34%, rgba(7, 7, 9, 0.46) 100%),
            url('/static/index/images/home-banner-retro.jpg') center 40% / cover no-repeat;
        opacity: 0.5;
        transform: scale(1.03);
        filter: saturate(0.76) contrast(0.93) blur(0.3px);
    }

    .banner::after {
        background:
            radial-gradient(circle at 50% 58%, rgba(255, 184, 94, 0.1), transparent 23%),
            radial-gradient(circle at 50% 38%, rgba(255, 184, 94, 0.03), transparent 28%),
            radial-gradient(circle at 50% 50%, transparent 58%, rgba(10, 10, 12, 0.08) 100%),
            linear-gradient(90deg, rgba(10, 10, 12, 0.08) 0%, rgba(10, 10, 12, 0.02) 18%, rgba(10, 10, 12, 0.02) 82%, rgba(10, 10, 12, 0.08) 100%),
            linear-gradient(180deg, rgba(7, 7, 9, 0.06) 0%, rgba(7, 7, 9, 0.08) 42%, rgba(10, 10, 12, 0.18) 74%, #111214 100%);
    }

    .banner-search {
        width: min(920px, 100%);
        gap: 0.5rem;
        padding: 0.3rem;
        background: rgba(255, 255, 255, 0.045);
        border-color: rgba(255, 255, 255, 0.06);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
        margin: 0;
    }

    .banner-search-input,
    .banner-search-btn {
        height: 54px;
        font-size: 1rem;
    }

    .banner-search-input {
        padding: 0 1.4rem;
        line-height: 54px;
        font-size: 1.04rem;
        background: rgba(255, 255, 255, 0.16);
    }

    .banner-search-btn {
        min-width: 90px;
        padding: 0 0.96rem;
        font-size: 0.96rem;
        font-weight: 600;
    }

    #home .banner-search {
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
    }

    #home .banner-search-input {
        padding-right: 9.1rem;
    }

    #home .banner-search-btn {
        right: 0.3rem;
    }

    #home .banner-search-clear {
        right: 6.35rem;
    }

    .home-banner-tip {
        width: min(920px, 100%);
        max-width: min(920px, 100%);
        margin: 0;
        padding: 0;
        border-radius: 0;
        background: none;
        color: rgba(255, 244, 228, 0.8);
        font-size: 0.96rem;
        line-height: 1.64;
        text-align: center;
        text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    }

    .home-quick-entry-section {
        display: none !important;
        width: 0;
        max-width: 0;
        height: 0;
        min-height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }

    .home-quick-entry-grid {
        gap: 0.9rem;
    }

    .home-quick-entry-card {
        min-height: 88px;
        padding: 0.9rem 1rem;
        border-radius: 20px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .home-quick-entry-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 13px;
        font-size: 1rem;
    }

    .home-quick-entry-copy strong {
        font-size: 0.98rem;
    }

    .home-quick-entry-copy em {
        font-size: 0.82rem;
    }

    .home-quick-entry-arrow {
        font-size: 0.7rem;
        color: rgba(255, 180, 92, 0.48);
    }

    .home-section#shop .section-heading-row,
    .home-section#shop .discovery-groups {
        width: calc(100% - 3rem);
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .home-section#shop .section-heading-row {
        margin-top: 0.02rem;
        margin-bottom: 0.78rem;
        padding-bottom: 0.74rem;
    }

    .home-section#shop .section-heading-copy {
        max-width: 820px;
    }

    .home-section#shop .discovery-groups {
        align-items: flex-start;
        padding-bottom: 0;
    }

    .home-section#shop {
        padding-bottom: 0;
    }

    .home-rule-section {
        padding-top: 0;
    }

    .home-rule-section .section-heading-row {
        margin-top: 0;
        margin-bottom: 0.56rem;
    }

    .home-section#shop .discovery-group-card {
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
        align-self: flex-start;
        height: calc(min(82vw, 292px) + 5.9rem);
    }

    .home-section#shop .discovery-group-foot,
    .home-section#shop .discovery-group-head {
        padding-left: 0.95rem;
        padding-right: 0.95rem;
    }

    .home-section#shop .discovery-group-foot {
        min-height: 2.95rem;
    }

    .home-section#shop .discovery-group-head {
        min-height: 1.2rem;
    }

    .home-section#shop .discovery-stage {
        --stack-step-y: 3px;
        --stack-step-x: 4px;
        padding-top: var(--stack-band);
        margin-top: 0;
        margin-bottom: 0.62rem;
        background: #111214;
    }

    .home-section#shop .discovery-record {
        top: max(0px, calc(var(--stack-band) - (var(--card-order-visible, var(--card-order)) * 3px)));
        right: calc(var(--card-order-visible, var(--card-order)) * 4px);
        bottom: calc(var(--card-order-visible, var(--card-order)) * 3px);
        left: calc(var(--card-order-visible, var(--card-order)) * 4px);
        border-radius: 16px;
        background: transparent;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
        opacity: calc(1 - (var(--card-order-visible, var(--card-order)) * 0.06));
        filter: saturate(calc(1 - (var(--card-order-visible, var(--card-order)) * 0.035))) brightness(calc(1 - (var(--card-order-visible, var(--card-order)) * 0.03)));
        transform: none;
    }

    .home-section#shop .discovery-record.is-active {
        top: var(--stack-band);
        right: 0;
        bottom: 0;
        left: 0;
        outline: 0;
        background: transparent;
        opacity: 1;
        filter: none;
        transform: none;
        box-shadow: 0 20px 32px rgba(0, 0, 0, 0.28);
    }

    .home-section#shop .discovery-record img {
        object-fit: cover;
        object-position: center;
        background: none;
    }

.home-section#shop .discovery-stage:hover .discovery-record.is-active {
        transform: translateY(-2px) scale(1.01);
    }
}

@media (min-width: 768px) {
    .label-rule-groups {
        --label-rule-card-width: calc((100% - 1.8rem) / 3);
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 0 1rem;
        gap: 0.9rem;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
        scroll-padding-left: 0;
        scroll-padding-right: 0;
    }

    .label-rule-groups::-webkit-scrollbar {
        display: none;
    }

    .label-rule-card {
        flex: 0 0 var(--label-rule-card-width);
        width: var(--label-rule-card-width);
        scroll-snap-align: start;
    }

    .label-rule-nav-btn {
        width: 38px;
        height: 38px;
        background: rgba(17, 17, 17, 0.92);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
    }
}

@media (max-width: 767px) {
    .label-rule-nav {
        display: none;
    }
}

#home .banner-search-scan-btn {
    position: absolute;
    top: 50%;
    right: 4.9rem;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 32px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 240, 216, 0.96);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#home .banner-search-scan-btn:active {
    transform: translateY(-50%) scale(0.98);
}

#home .banner-search-scan-btn i {
    font-size: 0.92rem;
}

#home .banner-search-scan-btn[disabled],
#home .banner-search-scan-btn.is-loading {
    opacity: 0.6;
    cursor: default;
}

#home .banner-search-loading {
    position: absolute;
    left: 0.72rem;
    bottom: -1.35rem;
    color: rgba(255, 244, 228, 0.86);
    font-size: 0.76rem;
    line-height: 1.2;
    white-space: nowrap;
}

@media (min-width: 768px) {
    #home .banner-search-scan-btn {
        display: none !important;
    }
}

@media (max-width: 767px) {
    #home .banner-search-input {
        padding-right: 11.2rem;
    }

    #home .banner-search-btn {
        right: 0.24rem;
    }

    #home .banner-search-clear {
        right: 5.1rem;
        width: 1.52rem;
        height: 1.52rem;
        font-size: 0.72rem;
    }

    #home .banner-search-scan-btn {
        width: 38px;
        height: 30px;
        border-radius: 7px;
    }

    #home .banner-search[data-mobile-ocr-url] .banner-search-input {
        padding-right: 12.8rem;
    }

    #home .banner-search[data-mobile-ocr-url] .banner-search-clear {
        right: 7.15rem;
    }

    #home .banner-search-loading {
        left: 0.48rem;
        bottom: -1.2rem;
        font-size: 0.72rem;
    }
}
