/* FoxLand shop 1.3 revision 2 — card backs and clickable rank details. */
.fox-store-page .fox-store-product--ronin { --product-back-art: url('../img/fox/shop-ronin-back-v1.webp'); }
.fox-store-page .fox-store-product--dayme { --product-back-art: url('../img/fox/shop-dayme-back-v1.webp'); }
.fox-store-page .fox-store-product--shogun { --product-back-art: url('../img/fox/shop-shogun-back-v1.webp'); }
.fox-store-page .fox-store-product--imperator { --product-back-art: url('../img/fox/shop-imperator-back-v1.webp'); }
.fox-store-page .fox-store-product--admin {
    grid-column: 1;
    --product-accent: #ff526d;
    --product-accent-rgb: 255, 82, 109;
    --product-back-art: url('../img/fox/shop-admin-back-v2.webp?v=shopv14t1_3v2');
}
.fox-store-page .fox-store-product__visual { container: fox-shop-card / inline-size; }
.fox-store-page .fox-store-product__back {
    align-items: stretch;
    justify-content: flex-end;
    padding: clamp(12px, 4cqw, 22px);
    background: linear-gradient(180deg, rgba(5, 5, 12, .04), rgba(5, 5, 12, .2) 32%, rgba(5, 5, 12, .55) 64%, rgba(5, 5, 12, .8)), var(--product-back-art) center / cover;
}
.fox-store-page .fox-store-product__back::before {
    inset: 0;
    border: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, transparent 35%, rgba(var(--product-accent-rgb), .2) 50%, transparent 65%);
    background-size: 300% 100%;
    background-position: 100% 50%;
    opacity: 0;
    transition: opacity .25s ease;
}
.fox-store-page .fox-store-product__back-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 100%;
    overflow-y: auto;
    padding: clamp(11px, 4cqw, 17px);
    border: 1px solid rgba(var(--product-accent-rgb), .45);
    border-radius: 11px;
    background: rgba(7, 7, 15, .82);
    box-shadow: 0 0 18px rgba(var(--product-accent-rgb), .12);
    scrollbar-width: thin;
    scrollbar-color: var(--product-accent) var(--fox-tone-as1l2, #161020);
}
.fox-store-page .fox-store-product__back-content--details {
    overflow: hidden;
    padding-bottom: calc(clamp(11px, 4cqw, 17px) + 47px);
}
.fox-store-page .fox-store-product__back-content--details .fox-store-product__history {
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--product-accent) var(--fox-tone-as1l2, #161020);
}
.fox-store-page .fox-store-product__back h2 {
    flex-shrink: 0;
    margin: 0;
    color: var(--product-accent);
    font-size: clamp(17px, 8cqw, 24px);
    line-height: 1.2;
    letter-spacing: .04em;
    text-shadow: 0 0 12px rgba(var(--product-accent-rgb), .38);
}
.fox-store-page .fox-store-product__back p {
    margin: 0;
    color: var(--fox-tone-as1l19, #ece7f2);
    font-size: clamp(12px, 4.8cqw, 14px);
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.fox-store-page .fox-store-product__back .fox-store-product__history {
    text-shadow: 0 0 8px rgba(var(--product-accent-rgb), .14);
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, white, black)) {
    .fox-store-page .fox-store-product__back .fox-store-product__history {
        background: linear-gradient(110deg, var(--fox-tone-ts1l19, #ece7f2) 25%, color-mix(in srgb, var(--fox-tone-ts1l19, #ece7f2) 82%, var(--product-accent)) 48%, var(--fox-tone-ts1l19, #f4f0f8) 52%, var(--fox-tone-ts1l19, #ece7f2) 75%);
        background-size: 240% 100%;
        background-position: 0 50%;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: fox-shop-history-shimmer 12s ease-in-out infinite alternate;
    }
}
.fox-store-page .fox-store-details-button {
    align-self: flex-start;
    min-height: 35px;
    padding: 7px 12px;
    border: 1px solid rgba(var(--product-accent-rgb), .8);
    border-radius: 9px;
    background: rgba(var(--product-accent-rgb), .1);
    color: var(--product-accent);
    box-shadow: 0 0 10px rgba(var(--product-accent-rgb), .16);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.fox-store-page .fox-store-details-button--overlay {
    position: absolute;
    z-index: 3;
    left: calc(clamp(12px, 4cqw, 22px) + clamp(11px, 4cqw, 17px));
    bottom: calc(clamp(12px, 4cqw, 22px) + clamp(11px, 4cqw, 17px));
}
.fox-store-page .fox-store-details-button--overlay[hidden] { display: none; }
.fox-store-page .fox-store-product__visual.is-flipped > .fox-store-details-button--overlay {
    animation: fox-shop-details-button-reveal .2s .34s ease-out backwards;
}
.fox-store-page .fox-store-details-button:hover {
    background: rgba(var(--product-accent-rgb), .2);
    box-shadow: 0 0 19px rgba(var(--product-accent-rgb), .35);
    transform: translateY(-1px);
}
.fox-store-page .fox-store-details-button:focus-visible {
    outline: 2px solid var(--product-accent);
    outline-offset: 3px;
}
.fox-store-page .fox-store-product__upcoming-copy {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 44px;
    left: 18px;
    text-align: center;
}
.fox-store-page .fox-store-product--upcoming {
    --product-accent: #9ba8c4;
    --product-accent-rgb: 155, 168, 196;
}
.fox-store-page .fox-store-product--upcoming .fox-store-product__visual { cursor: default; }
.fox-store-page .fox-store-product__upcoming-copy { bottom: 24px; }
.fox-store-page .fox-store-product__upcoming-copy h2 {
    margin: 10px 0 0;
    color: #e0e5f2;
    font-size: clamp(16px, 7cqw, 23px);
    line-height: 1.35;
    text-shadow: 0 2px 6px #050910;
}
.fox-store-page .fox-store-product__upcoming-copy i { color: #a3afd0; font-size: 22px; }
.fox-store-page .fox-store-upcoming-status {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid rgba(var(--product-accent-rgb), .24);
    border-radius: 10px;
    color: #a7a1b5;
    font-size: 11px;
}
.fox-shop-details {
    --product-accent: #bd62ff;
    --product-accent-rgb: 189, 98, 255;
    position: fixed;
    inset: 0;
    width: min(1120px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    height: fit-content;
    margin: auto;
    padding: 20px;
    overflow: hidden;
    border: 2px solid rgba(var(--product-accent-rgb), .85);
    border-radius: 18px;
    background: var(--fox-tone-as2l1, #100b19);
    color: var(--fox-tone-as2l19, #f1eafa);
    box-shadow: 0 0 32px rgba(var(--product-accent-rgb), .25), 0 20px 65px rgba(0, 0, 0, .7);
}
.fox-shop-details:not([open]) { display: none; }
.fox-shop-details[open] { animation: fox-shop-details-open .22s ease-out both; }
.fox-shop-details--ronin { --product-accent: #e8efff; --product-accent-rgb: 232, 239, 255; }
.fox-shop-details--dayme { --product-accent: #ffc65b; --product-accent-rgb: 255, 198, 91; }
.fox-shop-details--shogun { --product-accent: #bd62ff; --product-accent-rgb: 189, 98, 255; }
.fox-shop-details--imperator { --product-accent: #ff526d; --product-accent-rgb: 255, 82, 109; }
.fox-shop-details::backdrop { background: rgba(var(--fox-rgb-as2l0, 3, 2, 8), .85); backdrop-filter: blur(6px); }
.fox-shop-details-open { overflow: hidden; }
.fox-shop-details__head { position: relative; margin-bottom: 18px; padding: 0 42px; }
.fox-shop-details__head h2 {
    margin: 0;
    color: var(--product-accent);
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.3;
    text-align: center;
    letter-spacing: .07em;
    text-shadow: 0 0 15px rgba(var(--product-accent-rgb), .42);
}
.fox-shop-details__close {
    position: absolute;
    top: -3px;
    right: 0;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(var(--product-accent-rgb), .55);
    border-radius: 9px;
    background: rgba(var(--product-accent-rgb), .1);
    color: var(--product-accent);
    font-size: 19px;
    cursor: pointer;
    transition: background .2s ease, box-shadow .2s ease;
}
.fox-shop-details__close:hover { background: rgba(var(--product-accent-rgb), .23); box-shadow: 0 0 16px rgba(var(--product-accent-rgb), .25); }
.fox-shop-details__close:focus-visible,
.fox-shop-details__gameplay:focus-visible { outline: 2px solid var(--product-accent); outline-offset: 3px; }
.fox-shop-details__body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; gap: 16px; max-height: calc(100dvh - 116px); overflow-y: auto; overscroll-behavior: contain; }
.fox-shop-details__models {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0;
    padding: 8px;
    border: 1px solid rgba(var(--product-accent-rgb), .4);
    border-radius: 12px;
    background: var(--fox-tone-as2l1, #08050e);
}
.fox-shop-details__models img { display: block; width: 100%; height: auto; max-height: 62dvh; object-fit: contain; border-radius: 6px; }
.fox-shop-details__text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fox-shop-details__history,
.fox-shop-details__capabilities { min-width: 0; padding: 16px; border: 1px solid rgba(var(--product-accent-rgb), .4); border-radius: 12px; background: rgba(var(--product-accent-rgb), .045); }
.fox-shop-details__history h3,
.fox-shop-details__capabilities h3 { margin: 0 0 10px; color: var(--product-accent); font-size: 14px; line-height: 1.4; }
.fox-shop-details__history p { margin: 0; color: var(--fox-tone-as2l19, #ece5f4); font-size: 14px; line-height: 1.6; }
.fox-shop-details__capabilities { flex: 1; }
.fox-shop-details__gameplay {
    max-height: min(300px, 40dvh);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 9px;
    color: var(--fox-tone-as1l17, #d9d1e4);
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    scrollbar-width: thin;
    scrollbar-color: var(--product-accent) var(--fox-tone-as1l3, #22182e);
}
.fox-shop-details__gameplay > :first-child { margin-top: 0; }
.fox-shop-details__gameplay > :last-child { margin-bottom: 0; }
.fox-shop-details__gameplay img { max-width: 100%; height: auto; }
.fox-shop-details__gameplay a { color: var(--product-accent); text-decoration: underline; }
.fox-shop-details__gameplay ul,
.fox-shop-details__gameplay ol { padding-left: 20px; }
@keyframes fox-shop-back-sheen {
    0%, 8% { background-position: 100% 50%; }
    65%, 100% { background-position: 0 50%; }
}
@keyframes fox-shop-history-shimmer {
    from { background-position: 0 50%; }
    to { background-position: 100% 50%; }
}
@keyframes fox-shop-details-button-reveal {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fox-shop-details-open {
    from { opacity: 0; transform: translateY(8px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .fox-store-page .fox-store-product:hover .fox-store-product__back::before { opacity: 1; animation: fox-shop-back-sheen 3.2s ease-in-out infinite; }
}
@media (max-width: 760px) {
    .fox-shop-details { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); padding: 14px; }
    .fox-shop-details__head { margin-bottom: 14px; }
    .fox-shop-details__body { grid-template-columns: minmax(0, 1fr); max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; padding-right: 3px; }
    .fox-shop-details__models img { max-height: 30dvh; }
    .fox-shop-details__history,
    .fox-shop-details__capabilities { padding: 13px; }
    .fox-shop-details__gameplay { max-height: 36dvh; }
}
@media (prefers-reduced-motion: reduce) {
    .fox-store-page .fox-store-product__back::before,
    .fox-store-page .fox-store-details-button,
    .fox-store-page .fox-store-product__visual.is-flipped > .fox-store-details-button--overlay,
    .fox-store-page .fox-store-product__back .fox-store-product__history,
    .fox-shop-details__close,
    .fox-shop-details[open] { animation: none; transition: none; }
    .fox-store-page .fox-store-details-button:hover { transform: none; }
}

/* FoxLand 1.1.0: rank detail windows, scoped independently from checkout and other dialogs. */
.fox-shop-details {
    --product-accent: #bd62ff;
    --product-accent-rgb: 189,98,255;
    --details-art: url('../img/fox/shop-shogun-back-v1.webp');
    position: fixed;
    inset: 0;
    width: min(1200px, calc(100vw - 40px));
    max-width: none;
    height: min(850px, calc(100dvh - 40px));
    max-height: none;
    min-height: 0;
    margin: auto;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(var(--product-accent-rgb), .65);
    border-radius: 22px;
    color: #f5f2fa;
    background: #0d0b14;
    box-shadow: 0 28px 100px #000b, 0 0 0 5px rgba(var(--product-accent-rgb),.035), 0 0 45px rgba(var(--product-accent-rgb),.19);
    font-family: inherit;
    color-scheme: dark;
}
.fox-shop-details[open] { display: flex; flex-direction: column; animation: fox-detail-arrive .28s ease both; }
.fox-shop-details:not([open]) { display: none; }
.fox-shop-details::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0;
    background: var(--details-art) center 36% / cover no-repeat;
    opacity: .54;
    pointer-events: none;
}
.fox-shop-details::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, #09081012, #0c0a13bb 23%, #0c0a13ef 73%), linear-gradient(90deg,#0908105c,transparent 60%), radial-gradient(ellipse at 88% 0,rgba(var(--product-accent-rgb),.1),transparent 55%);
    pointer-events: none;
}
.fox-shop-details--ronin { --product-accent: #dce7ff; --product-accent-rgb: 220,231,255; --details-art: url('../img/fox/shop-ronin-back-v1.webp'); }
.fox-shop-details--dayme { --product-accent: #ffd080; --product-accent-rgb: 255,208,128; --details-art: url('../img/fox/shop-dayme-back-v1.webp'); }
.fox-shop-details--shogun { --product-accent: #c990ff; --product-accent-rgb: 201,144,255; --details-art: url('../img/fox/shop-shogun-back-v1.webp'); }
.fox-shop-details--imperator { --product-accent: #ff718a; --product-accent-rgb: 255,113,138; --details-art: url('../img/fox/shop-imperator-back-v1.webp'); }
.fox-shop-details::backdrop { background: #06050ae0; backdrop-filter: blur(9px); }
.fox-shop-details-open { overflow: hidden; }
.fox-shop-details *, .fox-shop-details *::before, .fox-shop-details *::after { box-sizing: border-box; }
.fox-shop-details svg { display: block; flex: none; width: 22px; height: 22px; }
.fox-shop-details button { font-family: inherit; }
.fox-shop-details__head {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    gap: 20px;
    min-width: 0;
    min-height: 126px;
    margin: 0;
    padding: 25px 88px 25px 30px;
    border-bottom: 1px solid rgba(var(--product-accent-rgb),.2);
    background: linear-gradient(110deg,#0907107d,#09071011);
}
.fox-shop-details__head::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 30px;
    width: 130px;
    height: 1px;
    background: var(--product-accent);
    box-shadow: 0 0 15px rgba(var(--product-accent-rgb),.8);
}
.fox-shop-details__crest {
    display: grid;
    place-items: center;
    flex: none;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(var(--product-accent-rgb),.45);
    border-radius: 17px 5px 17px 5px;
    color: var(--product-accent);
    background: linear-gradient(145deg,rgba(var(--product-accent-rgb),.2),#0c0915cc);
    box-shadow: inset 0 0 18px rgba(var(--product-accent-rgb),.08),0 0 25px rgba(var(--product-accent-rgb),.12);
}
.fox-shop-details__crest svg { width: 30px; height: 30px; }
.fox-shop-details__heading { position: relative; z-index: 1; min-width: 0; }
.fox-shop-details__eyebrow {
    margin: 0 0 5px;
    color: var(--product-accent);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.fox-shop-details__eyebrow > span { margin-left: 10px; color: #e6dfedb0; font-weight: 400; letter-spacing: .04em; }
.fox-shop-details__head h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(26px,3.5vw,40px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: .055em;
    text-align: left;
    text-shadow: 0 0 32px rgba(var(--product-accent-rgb),.32);
}
.fox-shop-details__subtitle { margin: 7px 0 0; color: #eee8f3bc; font-size: 12px; line-height: 1.4; }
.fox-shop-details__rank-mark {
    position: absolute;
    z-index: 0;
    right: 96px;
    top: 10px;
    color: rgba(var(--product-accent-rgb),.12);
    font-family: 'Yu Mincho','Noto Serif CJK JP',serif;
    font-size: 75px;
    letter-spacing: .05em;
    line-height: 1.3;
    pointer-events: none;
}
.fox-shop-details__close {
    position: absolute;
    top: 24px;
    right: 25px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(var(--product-accent-rgb),.38);
    border-radius: 11px;
    background: #100c1c8c;
    color: var(--product-accent);
    cursor: pointer;
    transition: background .18s, border-color .18s;
}
.fox-shop-details__close:hover { background: rgba(var(--product-accent-rgb),.15); border-color:var(--product-accent); box-shadow:0 0 18px rgba(var(--product-accent-rgb),.1); }
.fox-shop-details__body {
    display: grid;
    flex: 1 1 0;
    min-height: 0;
    max-height: none;
    grid-template-columns: minmax(0, .97fr) minmax(0, 1.15fr);
    align-items: stretch;
    gap: 20px;
    padding: 22px 24px;
    overflow: hidden;
}
.fox-shop-details__armory {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(var(--product-accent-rgb),.22);
    border-radius: 15px;
    background: linear-gradient(145deg,#181321d9,#100d17db);
    box-shadow: 0 12px 30px #0003;
}
.fox-shop-details__section-head { display: flex; align-items: center; flex: none; gap: 12px; min-width: 0; padding: 17px; }
.fox-shop-details__section-head > div { min-width: 0; }
.fox-shop-details__section-head .fox-shop-details__eyebrow { margin-bottom: 3px; font-size: 9px; opacity: .85; letter-spacing: .1em; }
.fox-shop-details__section-head h3 { margin: 0; color: #f6f1fc; font-size: 16px; font-weight: 700; line-height: 1.3; }
.fox-shop-details__section-icon { display: grid; place-items: center; flex: none; width: 37px; height: 37px; border: 1px solid rgba(var(--product-accent-rgb),.2); border-radius: 10px; color: var(--product-accent); background: rgba(var(--product-accent-rgb),.065); }
.fox-shop-details__section-icon svg { width: 20px; height: 20px; }
.fox-shop-details__count { flex: none; margin-left: auto; padding: 5px 8px; border: 1px solid rgba(var(--product-accent-rgb),.17); border-radius: 20px; color: var(--product-accent); background: rgba(var(--product-accent-rgb),.045); font-size: 10px; white-space: nowrap; }
.fox-shop-details__weapons { flex: 1 1 0; min-height: 0; padding: 0 12px 12px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
.fox-shop-details__weapon { margin: 0 0 12px; overflow: hidden; border: 1px solid rgba(var(--product-accent-rgb),.25); border-radius: 10px; background: #0a0810; transition: border-color .2s; }
.fox-shop-details__weapon:last-child { margin-bottom: 0; }
.fox-shop-details__weapon img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 0; }
.fox-shop-details__weapon img[hidden] { display: none; }
.fox-shop-details__weapon figcaption { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-top: 1px solid rgba(var(--product-accent-rgb),.12); color: #e6deee; background: linear-gradient(90deg,rgba(var(--product-accent-rgb),.06),transparent); font-size: 11px; font-weight: 600; letter-spacing: .05em; }
.fox-shop-details__weapon figcaption svg { width: 15px; height: 15px; color: var(--product-accent); opacity: .9; }
.fox-shop-details__weapon-error,.fox-shop-details__empty { margin: 0; padding: 20px 14px; color: #c6bccf; font-size: 12px; line-height: 1.5; }
.fox-shop-details__scroll-note { display: flex; align-items: center; justify-content: center; flex: none; gap: 8px; margin: 0; padding: 9px; border-top: 1px solid rgba(var(--product-accent-rgb),.12); color: #d1c4db96; font-size: 10px; letter-spacing: .02em; }
.fox-shop-details__scroll-note[hidden] { display: none; }
.fox-shop-details__scroll-note > span { color: var(--product-accent); }
.fox-shop-details__text { display: flex; flex-direction: column; gap: 17px; min-width: 0; min-height: 0; overflow-y: auto; overflow-x: hidden; padding-right: 5px; overscroll-behavior: contain; }
.fox-shop-details__history,.fox-shop-details__capabilities { flex: none; min-width: 0; padding: 0; overflow: hidden; border: 1px solid rgba(var(--product-accent-rgb),.2); border-radius: 15px; background: linear-gradient(145deg,#1b1423c7,#100d17e8); }
.fox-shop-details__history { position: relative; }
.fox-shop-details__history::after { content: ''; position: absolute; right: 17px; bottom: 16px; width: 25px; height: 25px; border-right: 1px solid rgba(var(--product-accent-rgb),.25); border-bottom: 1px solid rgba(var(--product-accent-rgb),.25); pointer-events: none; }
.fox-shop-details__history > p { margin: 0; padding: 0 22px 22px; color: #d5ccdf; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.fox-shop-details__gameplay { max-height: none; padding: 0 14px 16px; overflow: visible; font-size: 12px; line-height: 1.6; color: #e1d8ea; overflow-wrap: anywhere; }
.fox-shop-details__gameplay > p:empty { display: none; }
.fox-shop-details__gameplay ul,.fox-shop-details__gameplay ol { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.fox-shop-details__gameplay [data-fox-benefit] { display: flex; align-items: flex-start; gap: 11px; margin: 0; padding: 12px; border: 1px solid rgba(var(--product-accent-rgb),.11); border-radius: 9px; background: linear-gradient(115deg,rgba(var(--product-accent-rgb),.05),#0c0a1240); }
.fox-shop-details__benefit-icon { display: grid; place-items: center; flex: none; width: 29px; height: 29px; border: 1px solid rgba(var(--product-accent-rgb),.14); border-radius: 8px; color: var(--product-accent); background: rgba(var(--product-accent-rgb),.05); }
.fox-shop-details__benefit-icon svg { width: 17px; height: 17px; }
.fox-shop-details__benefit-copy { min-width: 0; flex: 1; padding-top: 3px; color: #e4dced; font-size: 12px; line-height: 1.65; }
.fox-shop-details__benefit-copy span[style*="color"],.fox-shop-details__benefit-copy font[color] { color: inherit !important; }
.fox-shop-details__value { display: inline; padding: 1px 3px; border-radius: 4px; color: var(--product-accent); background: rgba(var(--product-accent-rgb),.08); font: inherit; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.fox-shop-details__gameplay img,.fox-shop-details__gameplay video { max-width: 100%; height: auto; }
.fox-shop-details__gameplay iframe { max-width: 100%; }
.fox-shop-details__gameplay table { display: block; max-width: 100%; overflow-x: auto; }
.fox-shop-details__gameplay a { color: var(--product-accent); text-underline-offset: 3px; }
.fox-shop-details__gameplay code,.fox-shop-details__gameplay pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.fox-shop-details__gameplay[data-state]:not([data-state="ready"]) { margin: 0 16px 16px; padding: 17px; border: 1px dashed rgba(var(--product-accent-rgb),.25); border-radius: 10px; color: #ccc1d5; }
.fox-shop-details__gameplay[data-state="loading"]::before { content: ''; display: inline-block; vertical-align: middle; width: 13px; height: 13px; margin-right: 8px; border: 1px solid rgba(var(--product-accent-rgb),.2); border-top-color: var(--product-accent); border-radius: 50%; animation: fox-detail-loading 1s linear infinite; }
.fox-shop-details__gameplay[data-state="error"] { color: #f2afba; }
.fox-shop-details__footer { display: flex; align-items: center; justify-content: space-between; flex: none; min-width: 0; gap: 15px; margin: 0; padding: 12px 25px; border-top: 1px solid rgba(var(--product-accent-rgb),.16); background: #0d0a16b5; }
.fox-shop-details__seal { display: flex; align-items: center; gap: 9px; color: #c4b8d4; font-size: 10px; font-weight: 700; letter-spacing: .09em; }
.fox-shop-details__seal > span { color: #b9aec37a; font-size: 9px; font-weight: 400; letter-spacing: .04em; }
.fox-shop-details__seal > i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--product-accent); box-shadow:0 0 10px rgba(var(--product-accent-rgb),.5); }
.fox-shop-details__return { display: inline-flex; align-items: center; justify-content: center; flex: none; gap: 9px; min-height: 42px; padding: 9px 15px; border: 1px solid rgba(var(--product-accent-rgb),.3); border-radius: 9px; color: var(--product-accent); background: rgba(var(--product-accent-rgb),.06); font-size: 11px; font-weight: 600; cursor: pointer; transition: background .18s,border-color .18s; }
.fox-shop-details__return svg { width: 16px; height: 16px; }
.fox-shop-details__return:hover { background: rgba(var(--product-accent-rgb),.14); border-color: rgba(var(--product-accent-rgb),.6); }
.fox-shop-details__weapons,.fox-shop-details__text,.fox-shop-details__body { scrollbar-width: thin; scrollbar-color: rgba(var(--product-accent-rgb),.6) #0f0c17; }
.fox-shop-details :focus-visible { outline: 2px solid var(--product-accent); outline-offset: -3px; }
.fox-shop-details__return:focus-visible,.fox-shop-details__close:focus-visible { outline-offset: 3px; }
@media(hover:hover) { .fox-shop-details__weapon:hover { border-color:rgba(var(--product-accent-rgb),.65); } }
@media(max-width:760px) {
    .fox-shop-details { width: calc(100vw - 18px); height: calc(100dvh - 18px); max-height: none; padding: 0; border-radius: 16px; }
    .fox-shop-details__head { gap: 12px; min-height: 106px; padding: 20px 64px 20px 18px; margin: 0; }
    .fox-shop-details__head::after { left: 18px; width: 90px; }
    .fox-shop-details__crest { width: 46px; height: 52px; border-radius: 12px 3px; }
    .fox-shop-details__crest svg { width: 25px; height: 25px; }
    .fox-shop-details__head h2 { font-size: clamp(23px,5.6vw,34px); }
    .fox-shop-details__eyebrow { font-size: 8px; letter-spacing: .09em; }
    .fox-shop-details__eyebrow > span { margin-left: 5px; }
    .fox-shop-details__subtitle { font-size: 10px; margin-top: 6px; }
    .fox-shop-details__rank-mark { display: none; }
    .fox-shop-details__close { top: 20px; right: 12px; width: 40px; height: 40px; }
    .fox-shop-details__body { grid-template-columns: minmax(0,1fr); align-content: start; align-items: start; gap: 15px; max-height: none; padding: 14px 12px; overflow-y: auto; }
    .fox-shop-details__armory { height: min(380px,52dvh); min-height: 240px; }
    .fox-shop-details__text { overflow: visible; padding: 0; gap: 15px; }
    .fox-shop-details__section-head { padding: 14px; gap: 10px; }
    .fox-shop-details__section-head h3 { font-size: 14px; }
    .fox-shop-details__count { font-size: 9px; padding: 4px 6px; }
    .fox-shop-details__history > p { padding: 0 16px 19px; font-size: 12px; }
    .fox-shop-details__gameplay { padding: 0 10px 12px; max-height: none; }
    .fox-shop-details__gameplay [data-fox-benefit] { padding: 10px; gap: 9px; }
    .fox-shop-details__benefit-copy { font-size: 12px; }
    .fox-shop-details__footer { justify-content: center; padding: 10px 12px; min-height: 62px; }
    .fox-shop-details__seal { display: none; }
    .fox-shop-details__return { width: 100%; min-height: 42px; }
}
@media(min-width:761px) and (max-height:560px) {
    .fox-shop-details { height: calc(100dvh - 16px); }
    .fox-shop-details__head { min-height: 86px; padding-top: 13px; padding-bottom: 13px; }
    .fox-shop-details__crest { width: 48px; height: 48px; }
    .fox-shop-details__head h2 { font-size: 27px; }
    .fox-shop-details__body { padding-top: 12px; padding-bottom: 12px; }
    .fox-shop-details__footer { padding-top: 7px; padding-bottom: 7px; }
}
@keyframes fox-detail-arrive { from { opacity: 0; transform: translateY(9px) scale(.992); } to { opacity: 1; transform: none; } }
@keyframes fox-detail-loading { to { transform: rotate(360deg); } }
@media(prefers-reduced-motion:reduce) {
    .fox-shop-details,.fox-shop-details * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
