/* FORTNITESHOP PAGE — page-local CSS loaded after /styles.css.
   Keep fortniteshop-only layout and polish here. */

.page-head.shop-head {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: end;
            gap: 24px;
            padding: 18px 0 14px;
        }
        .shop-head-main { min-width: 0; }
        .shop-eyebrow {
            display: flex;
            align-items: center;
            gap: 9px;
            min-height: 18px;
            margin-bottom: 5px;
            color: #7f8999;
            font-size: .58rem;
            font-weight: 780;
            letter-spacing: .08em;
            text-transform: uppercase;
        }
        .shop-eyebrow > span + span::before {
            content: "•";
            margin-right: 9px;
            color: #4e5766;
        }
        .shop-head .display { margin: 0; }
        .shop-head .lede {
            max-width: 44rem;
            margin: 7px 0 0;
            color: #9ea8b8;
            line-height: 1.5;
        }
        .shop-head-side {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 13px;
            padding-bottom: 2px;
        }
        .shop-reset {
            display: grid;
            gap: 2px;
            min-width: 106px;
            text-align: right;
        }
        .shop-reset span {
            color: #697386;
            font-size: .50rem;
            font-weight: 850;
            letter-spacing: .14em;
            text-transform: uppercase;
        }
        .shop-reset strong {
            color: #dfe4ed;
            font-size: .78rem;
            font-weight: 800;
        }
        .shop-head-side .btn {
            min-height: 42px;
            padding-inline: 15px;
            border-radius: 9px;
            box-shadow: none;
            white-space: nowrap;
        }

        .section.shop-cta {
            margin: 0 0 18px;
        }
        .shop-code {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            min-height: 50px;
            padding: 7px 8px 7px 13px;
            border: 1px solid rgba(255,255,255,.075);
            border-radius: 10px;
            background: linear-gradient(90deg, rgba(130,255,255,.045), rgba(255,255,255,.012) 42%, rgba(4,6,10,.34));
            box-shadow: inset 0 1px rgba(255,255,255,.03);
        }
        .shop-support-mini {
            display: flex;
            align-items: center;
            gap: 11px;
            min-width: 0;
        }
        .shop-support-copy {
            display: flex;
            align-items: baseline;
            gap: 8px;
            min-width: 0;
        }
        .shop-code-label {
            color: #8797d7;
            font-size: .53rem;
            font-weight: 850;
            letter-spacing: .13em;
            text-transform: uppercase;
            white-space: nowrap;
        }
        .shop-support-copy strong {
            color: #eef1f7;
            font-size: .78rem;
            font-weight: 820;
        }
        .shop-support-note {
            color: #636d7d;
            font-size: .54rem;
            white-space: nowrap;
        }
        .shop-support-mini .code-chip {
            min-height: 30px;
            padding: 0 9px;
            border: 1px solid rgba(255,255,255,.10);
            border-radius: 7px;
            background: rgba(255,255,255,.025);
            box-shadow: none;
        }
        .shop-support-mini .code-chip:hover {
            border-color: rgba(130,255,255,.28);
            background: rgba(130,255,255,.055);
        }
        .shop-support-mini .code-chip .lbl {
            color: #bfc7d5;
            font-size: .57rem;
            letter-spacing: .07em;
            text-transform: uppercase;
        }
        .shop-support-mini .code-chip .cpy { color: #91a5f8; }
        .shop-exact-note {
            min-width: 0;
            color: #7f8999;
            font-size: .62rem;
            line-height: 1.3;
            white-space: nowrap;
        }
        .shop-exact-note i { margin-right: 5px; color: #7f91dc; }
        .shop-code-act {
            flex: none;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 6px;
            flex-wrap: wrap;
        }
        .shop-code-act .btn {
            min-height: 34px;
            padding-inline: 11px;
            border-radius: 8px;
            border-color: rgba(255,255,255,.09);
            background: rgba(255,255,255,.025);
            color: #bfc6d1;
            box-shadow: none;
            font-size: .66rem;
            white-space: nowrap;
        }
        .shop-code-act .shop-alert-follow {
            border-color: rgba(88,101,242,.32);
            background: rgba(88,101,242,.12);
            color: #d9ddff;
        }
        .shop-code-act .shop-alert-follow i { color: #9aa6ff; }
        .shop-code-act .shop-alert-join {
            color: #8d97a8;
        }
        .shop-code-act .btn:hover {
            border-color: rgba(130,255,255,.28);
            background: rgba(130,255,255,.055);
            color: #eef1f7;
        }

        #shop { margin-top: 0; }
        .shop-bar {
            position: sticky;
            top: 76px;
            z-index: 12;
            display: grid;
            grid-template-columns: minmax(210px, 1.2fr) minmax(330px, 1.05fr) 150px 168px;
            align-items: stretch;
            gap: 7px;
            margin: 0;
            padding: 8px;
            border: 1px solid rgba(255,255,255,.075);
            border-radius: 11px;
            background: rgba(7,9,14,.93);
            box-shadow: 0 16px 38px -34px #000, inset 0 1px rgba(255,255,255,.035);
            backdrop-filter: blur(18px) saturate(135%);
            -webkit-backdrop-filter: blur(18px) saturate(135%);
        }
        .shop-find {
            display: flex;
            align-items: center;
            gap: 9px;
            min-width: 0;
            min-height: 42px;
            padding-inline: 12px;
            border: 1px solid rgba(255,255,255,.085);
            border-radius: 8px;
            background: rgba(255,255,255,.024);
        }
        .shop-find > i {
            flex: none;
            color: #778194;
            font-size: .76rem;
        }
        .shop-find:focus-within {
            border-color: rgba(130,255,255,.44);
            background: rgba(130,255,255,.035);
            box-shadow: 0 0 0 3px rgba(130,255,255,.045);
        }
        .shop-find:focus-within > i { color: #a6b6f8; }
        .shop-find input {
            min-width: 0;
            width: 100%;
            height: 100%;
        }
        .shop-find input::placeholder { color: #737d8f; }

        .shop-chips {
            display: flex;
            align-items: center;
            gap: 4px;
            min-width: 0;
            overflow-x: auto;
            padding: 4px;
            border: 1px solid rgba(255,255,255,.065);
            border-radius: 8px;
            background: rgba(255,255,255,.014);
            scrollbar-width: none;
            overscroll-behavior-inline: contain;
        }
        .shop-chips::-webkit-scrollbar { display: none; }
        .shop-chip {
            flex: 0 0 auto;
            min-height: 32px;
            padding: 0 10px;
            border: 1px solid transparent;
            border-radius: 7px;
            background: transparent;
            color: #8d97a7;
            font-size: .60rem;
            font-weight: 780;
            letter-spacing: .035em;
            transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
        }
        .shop-chip:hover {
            border-color: rgba(255,255,255,.08);
            background: rgba(255,255,255,.03);
            color: #d2d8e2;
        }
        .shop-chip[aria-pressed="true"] {
            border-color: rgba(130,255,255,.34);
            background: linear-gradient(180deg, rgba(130,255,255,.14), rgba(130,255,255,.065));
            color: #f0f3ff;
            box-shadow: inset 0 1px rgba(255,255,255,.05);
        }
        .shop-chip[data-f="new"],
        .shop-chip[data-f="rare"],
        .shop-chip[data-f="sale"] { padding-left: 20px; }
        .shop-chip[data-f="new"] {
            background-image: radial-gradient(circle at 8px 50%, #91a7ff 0 2px, transparent 2.5px);
        }
        .shop-chip[data-f="rare"] {
            background-image: radial-gradient(circle at 8px 50%, #d6a65c 0 2px, transparent 2.5px);
        }
        .shop-chip[data-f="sale"] {
            background-image: radial-gradient(circle at 8px 50%, #70ba92 0 2px, transparent 2.5px);
        }

        .shop-sort,
        .shop-type-picker {
            position: relative;
            display: grid;
            align-content: center;
            min-width: 0;
            min-height: 42px;
            padding: 5px 10px;
            border: 1px solid rgba(255,255,255,.085);
            border-radius: 8px;
            background: rgba(255,255,255,.022);
        }
        .shop-control-label,
        .shop-type-field > span {
            color: #657082;
            font-size: .44rem;
            font-weight: 850;
            letter-spacing: .14em;
            line-height: 1;
            text-transform: uppercase;
        }
        .shop-sort select,
        .shop-type-field select {
            width: 100%;
            min-width: 0;
            height: 22px;
            padding: 2px 21px 0 0;
            border: 0;
            outline: 0;
            background: transparent;
            color: #d6dbe4;
            font-size: .66rem;
            font-weight: 780;
            cursor: pointer;
        }
        .shop-sort select option,
        .shop-type-field select option {
            background: #0d1118;
            color: #e5e8ef;
        }
        .shop-sort:focus-within,
        .shop-type-picker:focus-within {
            border-color: rgba(130,255,255,.36);
            background: rgba(130,255,255,.035);
        }
        .shop-type-picker {
            grid-template-columns: 24px minmax(0, 1fr);
            gap: 8px;
        }
        .shop-type-icon {
            display: grid;
            place-items: center;
            width: 24px;
            height: 24px;
            border-radius: 6px;
            background: rgba(255,255,255,.04);
            color: #91a0b8;
            font-size: .62rem;
        }
        .shop-type-field {
            display: grid;
            gap: 2px;
            min-width: 0;
        }
        .shop-meta-line {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin: 9px 2px 17px;
        }
        .shop-order-note {
            color: #5f6979;
            font-size: .55rem;
            letter-spacing: .035em;
            text-align: right;
        }
        .shop-count {
            display: block;
            width: auto;
            margin: 0;
            padding: 0;
            border: 0;
            background: none;
            color: #778192;
            text-align: left;
            font-size: .63rem;
            letter-spacing: .04em;
        }

        .sh-group {
            gap: 9px;
            margin: 26px 0 10px;
            color: #e3e7ee;
            font-size: .70rem;
            letter-spacing: .12em;
        }
        .sh-group::after { background: linear-gradient(90deg, var(--hair-2), var(--hair) 45%, transparent); }
        .sh-group-n {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 24px;
            min-height: 20px;
            padding: 2px 7px;
            border: 1px solid var(--hair);
            border-radius: 999px;
            background: rgba(255,255,255,.035);
            color: var(--muted);
            letter-spacing: .02em;
        }
        .sh-sub { margin-top: 18px; color: var(--muted); }

        .shop-row {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(158px, 100%), 1fr));
            gap: 10px;
            width: 100%;
        }
        .shop-row:not(:has(> :nth-child(3))) {
            grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 192px));
        }
        .shop-row > .sh-card {
            width: auto;
            max-width: none;
            min-width: 0;
            height: 100%;
        }
        .sh-card {
            display: flex;
            flex-direction: column;
            --rarity-solid: #b1b1b1;
            --rarity-rgb: 177, 177, 177;
            --rarity-ink: #111318;
            gap: 0;
            padding: 0;
            overflow: hidden;
            border-radius: 10px;
            background: linear-gradient(180deg, rgba(var(--rarity-rgb), .12), #0d1118 27%, #0b1016 100%);
            border-color: rgba(var(--rarity-rgb), .36);
            box-shadow: inset 0 1px rgba(255,255,255,.04), 0 16px 34px -32px #000;
            transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
        }
        .sh-card:hover {
            transform: translateY(-3px);
            border-color: rgba(var(--rarity-rgb), .52);
            box-shadow: inset 0 1px rgba(255,255,255,.06), 0 20px 38px -30px #000;
        }
        .sh-card.is-rare {
            box-shadow: inset 0 1px rgba(255,255,255,.06), 0 16px 38px -24px rgba(var(--rarity-rgb), .34);
        }
        /* Intrinsic title height preserves complete names; official art stays square. */
        .sh-name-head {
            display: flex;
            flex: none;
            align-items: center;
            justify-content: center;
            min-width: 0;
            min-height: 40px;
            height: auto;
            padding: 8px 9px;
            overflow: visible;
            border-radius: 9px 9px 0 0;
            border-bottom: 1px solid rgba(var(--rarity-rgb), .27);
            background: linear-gradient(180deg, rgba(var(--rarity-rgb), .16), rgba(var(--rarity-rgb), .075)), #0a1017;
        }
        .sh-name-head .sh-name {
            display: block;
            min-width: 0;
            max-width: 100%;
            padding: 0;
            overflow: visible;
            color: #f1f5fc;
            font-size: .82rem;
            font-weight: 850;
            line-height: 1.24;
            text-align: center;
            text-overflow: clip;
            overflow-wrap: anywhere;
        }
        .sh-name-head .sh-name-sm,
        .sh-name-head .sh-name-xs { font-size: .82rem; }
        .sh-pic {
            position: relative;
            display: block;
            flex: none;
            width: 100%;
            aspect-ratio: 1;
            align-self: start;
            overflow: hidden;
            border-radius: 0;
            border-bottom: 1px solid rgba(var(--rarity-rgb), .24);
            background: #0d1118;
        }
        .sh-origin {
            display: block;
            flex: none;
            padding: 5px 8px 6px;
            border-bottom: 1px solid rgba(var(--rarity-rgb), .32);
            background: linear-gradient(90deg, rgba(var(--rarity-rgb), .25), rgba(var(--rarity-rgb), .09), rgba(var(--rarity-rgb), .25));
            color: #f2f8fc;
            font-size: .62rem;
            font-weight: 850;
            letter-spacing: .02em;
            line-height: 1.2;
            text-align: center;
        }
        .sh-pic > img:not(.sh-car-bg):not(.sh-car-fg) {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
        }
        /* No screenshot-frame artwork or nested rounded masks: actual API images stay square. */
        .sh-pic img {
            border-radius: 0;
            clip-path: none;
            transition: transform .24s var(--ease), filter .24s var(--ease);
        }
        .sh-card:hover .sh-pic img { transform: scale(1.025); filter: saturate(1.04); }

        .sh-info {
            display: flex;
            flex-direction: column;
            flex: 1 1 auto;
            align-self: stretch;
            min-width: 0;
            width: 100%;
            height: auto;
            min-height: 0;
            background:
                linear-gradient(160deg, rgba(var(--rarity-rgb), .20), rgba(var(--rarity-rgb), .065) 58%, rgba(8,10,15,.95));
            box-shadow: inset 0 1px rgba(255,255,255,.035);
        }
        .sh-meta-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 5px;
            min-width: 0;
            padding: 8px 9px 0;
        }
        .sh-rarity-badge {
            display: inline-block;
            flex: 0 1 auto;
            align-self: flex-start;
            max-width: 100%;
            margin-left: 0;
            padding: 3px 5px;
            overflow: hidden;
            border: 1px solid rgba(var(--rarity-rgb), .34);
            border-radius: 4px;
            background: rgba(var(--rarity-rgb), .15);
            color: var(--rarity-solid);
            font-size: .51rem;
            font-weight: 850;
            letter-spacing: .018em;
            line-height: 1.1;
            text-overflow: ellipsis;
            text-transform: uppercase;
            white-space: nowrap;
        }
        .sh-foot {
            display: flex;
            align-items: baseline;
            flex-wrap: wrap;
            flex: 0 1 auto;
            min-width: 0;
            gap: 2px 5px;
            padding: 0;
        }
        .sh-details-bottom {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            flex-wrap: nowrap;
            gap: 5px;
            min-width: 0;
            margin-top: auto;
            padding: 4px 9px 9px;
        }
        .sh-facts {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-end;
            gap: 6px;
            flex: 1 1 auto;
            min-width: 0;
        }
        .sh-price { color: var(--text); font-size: .73rem; font-weight: 800; letter-spacing: .03em; }
        .sh-price .fa-vbucks { color: #f4f8ff; }
        .sh-was { font-size: .65rem; white-space: nowrap; }
        .sh-kind {
            display: block;
            flex: 0 1 auto;
            min-width: 0;
            margin: 0;
            color: #bdc7d5;
            font-size: .64rem;
            line-height: 1.3;
            letter-spacing: .065em;
        }
        .sh-kind strong {
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-weight: 800;
            text-transform: uppercase;
        }
        .sh-details-bottom .sh-leaving {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3px;
            flex: 0 0 auto;
            width: 51px;
            min-width: 51px;
            min-height: 55px;
            margin-left: auto;
            padding: 5px 3px;
            border: 1px solid rgba(var(--rarity-rgb), .38);
            border-radius: 7px 7px 5px 5px;
            background: linear-gradient(180deg, rgba(var(--rarity-rgb), .19), rgba(9,14,20,.94));
            box-shadow: inset 0 1px rgba(255,255,255,.045);
            white-space: nowrap;
        }
        .sh-leaving-label {
            color: #b9c6d3;
            font-size: .54rem;
            font-weight: 700;
            line-height: 1.1;
        }
        .sh-leaving-time {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 3px;
            color: var(--rarity-solid);
            font-size: .76rem;
            font-weight: 850;
            line-height: 1.1;
        }
        .sh-leaving-time .fa-clock { font-size: .62rem; }
        .sh-seen {
            display: block;
            flex: none;
            min-width: 0;
            width: 100%;
            padding: 7px 9px 8px;
            border-top: 1px solid rgba(var(--rarity-rgb), .18);
            background: linear-gradient(180deg, rgba(var(--rarity-rgb), .105), rgba(0,0,0,.23));
            font-size: .68rem;
            letter-spacing: .015em;
            line-height: 1.3;
        }
        .sh-seen-main {
            display: flex;
            align-items: center;
            gap: 6px;
            min-width: 0;
            color: #dce2ec;
            font-weight: 800;
        }
        .sh-seen-main::before {
            content: "";
            flex: 0 0 5px;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--rarity-solid);
            box-shadow: 0 0 7px rgba(var(--rarity-rgb), .5);
        }
        .sh-when {
            display: block;
            margin: 3px 0 0 11px;
            color: #b8c5d5;
            font-size: .60rem;
            letter-spacing: .01em;
            line-height: 1.3;
        }
        .shop-more-wrap {
            grid-column: 1 / -1;
            display: flex;
            justify-content: center;
            width: 100%;
            margin-top: 20px;
        }
        .shop-more {
            min-width: 178px;
            min-height: 40px;
            border-radius: 8px;
            background: rgba(255,255,255,.025);
            border-color: rgba(255,255,255,.12);
            box-shadow: none;
        }
        .shop-disclaimer {
            margin: 26px 0 0;
            color: #505a69;
            font-size: .52rem;
            letter-spacing: .035em;
            text-align: center;
        }

        .sh-card.sh-bundle     { --rarity-solid: #d6a65c; --rarity-rgb: 214,166,92; --rarity-ink: #171008; }
        .sh-card.sh-common     { --rarity-solid: #b1b1b1; --rarity-rgb: 177,177,177; --rarity-ink: #111318; }
        .sh-card.sh-uncommon   { --rarity-solid: #60aa3a; --rarity-rgb: 96,170,58; --rarity-ink: #071207; }
        .sh-card.sh-rare-t     { --rarity-solid: #006dff; --rarity-rgb: 0,109,255; --rarity-ink: #ffffff; }
        .sh-card.sh-epic       { --rarity-solid: #9d19ff; --rarity-rgb: 157,25,255; --rarity-ink: #ffffff; }
        .sh-card.sh-mixed      { --rarity-solid: #82ffff; --rarity-rgb: 130,255,255; --rarity-ink: #092023; }
        .sh-card.sh-legendary  { --rarity-solid: #f39a1f; --rarity-rgb: 243,154,31; --rarity-ink: #171008; }
        .sh-card.sh-mythic     { --rarity-solid: #c89214; --rarity-rgb: 200,146,20; --rarity-ink: #171008; }
        .sh-card.sh-exotic     { --rarity-solid: #18cce6; --rarity-rgb: 24,204,230; --rarity-ink: #061417; }
        .sh-card.sh-marvel     { --rarity-solid: #e20604; --rarity-rgb: 226,6,4; --rarity-ink: #ffffff; }
        .sh-card.sh-starwars   { --rarity-solid: #f4d34f; --rarity-rgb: 37,66,110; --rarity-ink: #151515; }
        .sh-card.sh-icon       { --rarity-solid: #20c8c6; --rarity-rgb: 32,200,198; --rarity-ink: #061414; }
        .sh-card.sh-gaming     { --rarity-solid: #536fe8; --rarity-rgb: 83,111,232; --rarity-ink: #ffffff; }
        .sh-card.sh-dc         { --rarity-solid: #2879df; --rarity-rgb: 40,121,223; --rarity-ink: #ffffff; }
        .sh-card.sh-shadow     { --rarity-solid: #697180; --rarity-rgb: 63,69,80; --rarity-ink: #ffffff; }
        .sh-card.sh-lava       { --rarity-solid: #f49d09; --rarity-rgb: 244,157,9; --rarity-ink: #171008; }
        .sh-card.sh-frozen     { --rarity-solid: #afd7ff; --rarity-rgb: 175,215,255; --rarity-ink: #0a1620; }
        .sh-card.sh-slurp      { --rarity-solid: #7ff0c2; --rarity-rgb: 127,240,194; --rarity-ink: #071511; }
        .sh-card.sh-dark       { --rarity-solid: #e32aa9; --rarity-rgb: 227,42,169; --rarity-ink: #ffffff; }
        .sh-card.sh-rocket     { --rarity-solid: #2e88e6; --rarity-rgb: 46,136,230; --rarity-ink: #ffffff; }
        .sh-card.sh-crew       { --rarity-solid: #8c6cff; --rarity-rgb: 140,108,255; --rarity-ink: #ffffff; }
        /* Car bundle art is wider than normal cosmetic renders. Preserve the
           entire official image in front, then use a blurred full-bleed copy of
           that same artwork behind it so letterbox gaps disappear without
           clipping cars or accessory icons. */
        .sh-card.sh-car-bundle .sh-pic {
            position: relative;
            isolation: isolate;
            overflow: hidden;
        }
        .sh-card.sh-car-bundle .sh-car-bg {
            position: absolute;
            z-index: 0;
            inset: 0;
            width: 100%;
            height: 100%;
            /* Stretch only the blurred backdrop so its left/right pixels line
               up with the uncropped foreground at the transition edge. */
            object-fit: fill;
            opacity: 1;
            filter: blur(11px) saturate(.94) brightness(.76);
            transform: scale(1.055);
            pointer-events: none;
        }
        .sh-card.sh-car-bundle .sh-car-fg {
            position: absolute;
            z-index: 1;
            left: 0;
            top: 50%;
            width: 100%;
            max-height: 90%;
            height: auto;
            object-fit: contain;
            /* The element box now matches the real image bounds, so this fade
               happens at the artwork edge—not at the square card edge. */
            transform: translateY(-50%);
            -webkit-mask-image: linear-gradient(to bottom,
                transparent 0%,
                rgba(0,0,0,.72) 6%,
                #000 15%,
                #000 85%,
                rgba(0,0,0,.72) 94%,
                transparent 100%);
            mask-image: linear-gradient(to bottom,
                transparent 0%,
                rgba(0,0,0,.72) 6%,
                #000 15%,
                #000 85%,
                rgba(0,0,0,.72) 94%,
                transparent 100%);
        }
        .sh-card.sh-car-bundle:hover .sh-car-fg {
            transform: translateY(-50%);
            filter: saturate(1.025);
        }
        .sh-card.sh-car-bundle:hover .sh-car-bg {
            transform: scale(1.055);
            filter: blur(11px) saturate(.94) brightness(.76);
        }

        .shop-grid.is-skel {
            grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
            gap: 11px;
        }
        .shop-grid.is-skel > .sh-card { min-height: 228px; }

        @media (max-width: 999px) {
            .shop-bar {
                grid-template-columns: minmax(0, 1fr) minmax(280px, .95fr) 145px;
            }
            .shop-type-picker { grid-column: 3; grid-row: 2; }
            .shop-sort { grid-column: 3; grid-row: 1; }
            .shop-chips { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; }
            .shop-find { grid-column: 1; grid-row: 1 / span 2; }
        }
        @media (max-width: 799px) {
            .page-head.shop-head {
                grid-template-columns: minmax(0, 1fr);
                align-items: start;
                gap: 12px;
                padding-bottom: 12px;
            }
            .shop-head-side {
                justify-content: space-between;
                width: 100%;
            }
            .shop-reset { text-align: left; }
            .shop-head-side .btn { min-height: 40px; }
            .section.shop-cta { margin-bottom: 14px; }
            .shop-code {
                align-items: center;
                padding: 8px 9px 8px 11px;
            }
            .shop-support-mini { gap: 8px; }
            .shop-exact-note { display: none; }
            .shop-code-act .btn { min-height: 32px; }
            #shop { margin-top: 12px; }
            .shop-bar {
                position: static;
                grid-template-columns: minmax(0, 1fr) minmax(126px, .42fr);
                gap: 7px;
                padding: 7px;
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
            }
            .shop-find { grid-column: 1 / -1; grid-row: auto; }
            .shop-chips { grid-column: 1 / -1; grid-row: auto; min-height: 42px; }
            .shop-sort { grid-column: 1; grid-row: auto; }
            .shop-type-picker { grid-column: 2; grid-row: auto; }
            .shop-meta-line {
                align-items: flex-start;
                margin: 8px 0 14px;
            }
            .shop-order-note { display: none; }
            .shop-row,
            .shop-row:not(:has(> :nth-child(3))),
            .shop-grid.is-skel {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 9px;
            }
            .shop-grid.is-skel > .sh-card { min-height: 212px; }
            .sh-name-head { min-height: 39px; height: auto; padding: 7px 6px; }
            .sh-name-head .sh-name,
            .sh-name-head .sh-name-sm,
            .sh-name-head .sh-name-xs { font-size: .79rem; }
            .sh-meta-row { padding: 6px 8px 0; gap: 4px; }
            .sh-rarity-badge { font-size: .48rem; }
            .sh-details-bottom { padding: 4px 8px 9px; gap: 4px; }
            .sh-details-bottom .sh-leaving { width: 49px; min-width: 49px; min-height: 53px; padding: 5px 3px; }
            .sh-leaving-label { font-size: .51rem; }
            .sh-leaving-time { font-size: .72rem; }
            .sh-seen { padding-inline: 8px; font-size: .63rem; }
            .sh-when { font-size: .57rem; }
            .sh-origin { font-size: .59rem; }
        }
        @media (max-width: 520px) {
            .shop-code-act {
                width: 100%;
                justify-content: stretch;
            }
            .shop-code-act .btn {
                flex: 1 1 0;
                justify-content: center;
                min-width: 0;
            }
            .shop-head-side {
                display: grid;
                grid-template-columns: auto minmax(0, 1fr);
                gap: 9px;
            }
            .shop-head-side .btn { justify-content: center; }
            .shop-code { gap: 8px; }
            .shop-support-copy {
                display: grid;
                grid-template-columns: auto auto;
                gap: 2px 7px;
            }
            .shop-support-note { grid-column: 1 / -1; }
            .shop-support-mini .code-chip .lbl { display: none; }
            .shop-support-mini .code-chip { width: 32px; padding: 0; }
            .shop-code-act .btn { padding-inline: 9px; }
            .shop-sort,
            .shop-type-picker { min-height: 40px; }
        }
        @media (prefers-reduced-motion: reduce) {
            .sh-pic img, .shop-chip { transition: none; }
            .sh-card:hover .sh-pic img { transform: none; }
        }
