.wts-store {
    --wts-out: cubic-bezier(0.23, 1, 0.32, 1);
    --wts-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    isolation: isolate;
}

.wts-ambient {
    position: fixed;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.wts-ambient::before,
.wts-ambient::after {
    position: absolute;
    width: min(72vw, 64rem);
    aspect-ratio: 1;
    content: '';
    background: radial-gradient(closest-side, #42cbe327, transparent);
    top: -36%;
    right: -21%;
    animation: wts-drift 18s var(--wts-in-out) infinite alternate;
}

.wts-ambient::after {
    top: 38%;
    right: auto;
    left: -28%;
    background: radial-gradient(closest-side, #9873ff28, transparent);
    animation-delay: -8s;
    animation-direction: alternate-reverse;
}

@keyframes wts-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-8%, 14%, 0); }
}

@keyframes wts-card-float {
    from { transform: translateY(7px); }
    to { transform: translateY(-7px); }
}

.wts-store .main > .panel,
.wts-store .main > .grid > .panel {
    animation: wts-card-float 4.8s ease-in-out -1.2s infinite alternate;
}

.wts-store .main > .grid > .panel:nth-child(even) {
    animation-duration: 5.6s;
    animation-delay: -6.2s;
}

.wts-store .main > .grid:not(.hero) > .panel:nth-child(odd) { animation-delay: -3.4s; }
.wts-store .main > .grid:not(.hero) > .panel:nth-child(even) { animation-delay: -8s; }
.wts-store .main .panel:focus-within { animation-play-state: paused; }

.wts-store .brand { column-gap: 12px; font-size: 1rem; }
.wts-store .brand small { font-size: .72rem; letter-spacing: .12em; }

.wts-store .logo {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid #eac98b66;
    border-radius: 13px;
    background: radial-gradient(ellipse at top, #463846, transparent 75%), linear-gradient(145deg, #241d2a, #11192c);
    box-shadow: inset 0 1px #fff1, 0 4px 12px #0005;
}

.wts-store .logo::before {
    position: absolute;
    inset: 8px 7px 9px;
    content: '';
    background: linear-gradient(150deg, #fff0bd, #dfac6e 53%, #b77867);
    clip-path: polygon(50% 0, 60% 22%, 71% 13%, 69% 42%, 94% 32%, 86% 51%, 100% 58%, 66% 78%, 68% 89%, 54% 86%, 54% 100%, 46% 100%, 46% 86%, 32% 89%, 34% 78%, 0 58%, 14% 51%, 6% 32%, 31% 42%, 29% 13%, 40% 22%);
}

.wts-store .logo::after {
    position: absolute;
    inset: 17px 12px 14px;
    content: '';
    background: #392b36;
    clip-path: polygon(0 88%, 33% 44%, 53% 61%, 84% 17%, 69% 17%, 69% 0, 100% 0, 100% 48%, 88% 48%, 88% 32%, 56% 82%, 35% 65%, 7% 100%);
}

.wts-store .product-card { overflow: visible; }
.wts-store .product-media { min-width: 0; margin: 0; }
.wts-store .product-media figcaption { margin-top: 7px; color: #a9b6ce; font-size: .82rem; }
.wts-store .product-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 1px solid #ffffff26;
    border-radius: 16px;
    background: #080e1b;
}

.wts-store :is(a, video):focus-visible { outline: 2px solid #80edff; outline-offset: 4px; }

@media (hover: hover) and (pointer: fine) {
    .wts-store .main .panel:has(.product-video:hover) { animation-play-state: paused; }
    .wts-store .product-card .product-art { transition: transform 200ms var(--wts-out); }
    .wts-store .product-card .product-art:hover { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
    .wts-store .main > .panel,
    .wts-store .main > .grid > .panel,
    .wts-ambient::before,
    .wts-ambient::after { animation: none; }
    .wts-store .product-card .product-art:hover { transform: none; }
}


.wts-store .btn.wts-discord {
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    font-size: .95rem;
    line-height: 1.4;
    color: #fff;
    background: #4752c4;
    border: 1px solid #acb2ff;
    box-shadow: 0 4px 16px #5865f233;
}

.wts-store .btn.wts-discord:hover,
.wts-store .btn.wts-discord:focus-visible { background: #505ed6; }


.wts-store .wts-consultation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
    align-items: center;
    gap: 18px;
}

.wts-consultation-art {
    display: grid;
    place-items: center;
    min-width: 0;
    background: radial-gradient(ellipse at center, #479cbd28, transparent 64%);
    pointer-events: none;
}

.wts-consultation-art img {
    display: block;
    width: min(100%, 345px);
    height: auto;
    filter: drop-shadow(0 12px 22px #060b1a80);
}

@media (max-width: 640px) {
    .wts-store .wts-consultation { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .wts-consultation-art img { width: min(100%, 240px); }
}

.wts-mascot-art .wts-fox {
    display: grid;
    width: min(100%, 345px);
    filter: drop-shadow(0 12px 22px #060b1a80);
    transform-origin: 53% 89%;
}

.wts-mascot-art .wts-fox img {
    grid-area: 1 / 1;
    width: 100%;
    height: auto;
    filter: none;
}

.wts-fox-paw { visibility: hidden; }

@media (prefers-reduced-motion: no-preference) {
    .wts-fox-body {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 72%, 28% 72%, 32.8% 69%, 34.5% 62%, 33% 57.6%, 33% 51.8%, 29% 50.6%, 0 50.6%);
    }

    .wts-fox-paw {
        visibility: visible;
        clip-path: polygon(15% 51%, 25% 50.5%, 29% 50.6%, 32.5% 52%, 34.2% 57%, 35% 63%, 33.2% 69.2%, 29% 72%, 17% 72%);
        transform-origin: 32.6% 67.2%;
        animation: wts-fox-wave 6s ease-in-out infinite;
    }

    .wts-mascot-art .wts-fox { animation: wts-fox-sway 6s ease-in-out infinite; }
}

@keyframes wts-fox-wave {
    0%, 43%, 100% { transform: rotate(0); }
    11%, 24% { transform: rotate(-12deg); }
    17%, 31% { transform: rotate(8deg); }
}

@keyframes wts-fox-sway {
    0%, 48%, 100% { transform: none; }
    22% { transform: translateY(-3px) rotate(-1.4deg); }
}

@media (max-width: 640px) {
    .wts-mascot-art .wts-fox { width: min(100%, 240px); }
}


.wts-store .wts-feedback {
    margin-top: 40px;
    animation: none;
}

.wts-feedback h2 { margin: 0 0 10px; }
.wts-feedback h3 { margin: 26px 0 12px; }
.wts-feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.wts-feedback-item {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #ffffff24;
    border-radius: 14px;
    background: #0c1120;
}

.wts-feedback-item:is(:hover, :focus-visible) { border-color: #6ee7ff; }
.wts-feedback-preview {
    display: grid;
    place-items: center;
    height: 140px;
    padding: 12px;
    overflow: hidden;
    background: #090b10;
}

.wts-feedback-preview img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}

.wts-feedback-label { display: flex; justify-content: space-between; gap: 10px; padding: 9px 14px; }
.wts-feedback-label span { color: #6ee7ff; }
.wts-feedback-note { margin-bottom: 0; }
.wts-feedback-dialog {
    width: min(92vw, 1000px);
    max-height: 90dvh;
    padding: 16px;
    border: 1px solid #6ee7ff66;
    border-radius: 16px;
    background: #101728;
    color: #eef3ff;
}

.wts-feedback-dialog::backdrop { background: #050810db; }
.wts-feedback-dialog form { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.wts-feedback-dialog button { padding: 6px 14px; border: 1px solid #6ee7ff; border-radius: 8px; background: #172b3b; color: #fff; cursor: pointer; }
.wts-feedback-dialog img { display: block; width: min(100%, 920px); height: auto; max-height: none; margin: auto; }

@media (max-width: 850px) {
    .wts-feedback-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 490px) {
    .wts-feedback-grid { grid-template-columns: minmax(0, 1fr); }
    .wts-feedback-preview { height: 115px; }
}

#wts-feedback-title { scroll-margin-top: 130px; }

.wts-feedback-preview img:is([src$="after-sales.webp"], [src$="setup-support.webp"], [src$="first-time.webp"]) {
    object-fit: cover;
    object-position: top;
}

.wts-store .wts-plan {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
}

.wts-plan-copy { min-width: 0; }
.wts-plan-art {
    display: grid;
    place-items: center;
    min-width: 0;
    background: radial-gradient(ellipse, #db965025, transparent 66%);
    pointer-events: none;
}

.wts-plan-art-standard { background: radial-gradient(ellipse, #7ca7f02b, transparent 66%); }
.wts-plan-art .wts-raccoon {
    display: block;
    width: min(100%, 310px);
    height: auto;
    filter: drop-shadow(0 12px 22px #060b1a80);
    transform-origin: 50% 89%;
}

@media (prefers-reduced-motion: no-preference) {
    .wts-raccoon { animation: wts-raccoon-hop 6.8s var(--wts-in-out) -1s infinite; }
    .wts-plan-art .wts-fox, .wts-plan-art .wts-fox-paw { animation-delay: -2s; }
}

@keyframes wts-raccoon-hop {
    0%, 32%, 100% { transform: none; }
    6%, 24% { transform: scale(1.035, .97); }
    13% { transform: translateY(-12px) rotate(-4deg); }
    18% { transform: translateY(-7px) rotate(2deg); }
}

@media (min-width: 851px) and (max-width: 1050px), (max-width: 540px) {
    .wts-store .wts-plan { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .wts-plan-art .wts-raccoon, .wts-plan-art .wts-fox { width: min(100%, 230px); }
}
