:root {
    --ls-ink: #14203a;
    --ls-muted: #6d7890;
    --ls-line: #e5eaf3;
    --ls-surface: #ffffff;
    --ls-canvas: #f5f7fb;
    --ls-primary: #635bff;
    --ls-primary-dark: #4338ca;
    --ls-cyan: #16b8d4;
    --ls-success: #15966b;
    --ls-warning: #f59e0b;
    --ls-danger: #e85b68;
    --ls-night: #10172c;
    --ls-radius: 22px;
    --ls-shadow: 0 18px 55px rgba(31, 42, 73, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.localstar-body {
    min-height: 100vh;
    margin: 0;
    color: var(--ls-ink);
    background:
        radial-gradient(circle at 10% 5%, rgba(99, 91, 255, .08), transparent 28rem),
        radial-gradient(circle at 95% 25%, rgba(22, 184, 212, .07), transparent 24rem),
        var(--ls-canvas);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

body.localstar-body a { text-decoration: none; }

.ls-page { min-height: 100vh; display: flex; flex-direction: column; }
.ls-main { flex: 1; padding: 34px 0 64px; }
.ls-shell { width: min(1300px, calc(100% - 48px)); margin: 0 auto; }

.ls-header {
    position: sticky;
    top: 0;
    z-index: 900;
    color: #fff;
    background: rgba(14, 21, 42, .96);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
}

.ls-header__inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.ls-header__inner > * { min-width: 0; }
.ls-brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; color: inherit; }
.ls-brand:hover { color: inherit; }
.ls-brand__mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(145deg, #fff, #dce8ff);
    box-shadow: 0 8px 28px rgba(99, 91, 255, .28);
}
.ls-brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.ls-brand__text { display: grid; line-height: 1.05; }
.ls-brand__text strong { font-size: 17px; font-weight: 800; letter-spacing: .01em; }
.ls-brand__text small { margin-top: 6px; color: rgba(255,255,255,.48); font-size: 8px; letter-spacing: .18em; }

.ls-navigation { flex: 1; display: flex; align-items: center; gap: 24px; min-width: 0; }
.ls-nav { display: flex; align-items: center; gap: 4px; }
.ls-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 13px;
    border-radius: 12px;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    font-weight: 650;
    transition: .2s ease;
}
.ls-nav__link:hover, .ls-nav__link.active { color: #fff; background: rgba(255,255,255,.08); }
.ls-nav__link.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 9px;
    background: #7edff0;
}
.ls-nav__icon { font-size: 14px; }

.ls-search-form {
    flex: 1;
    max-width: 420px;
    min-width: 190px;
    height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 15px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.07);
    transition: .2s ease;
}
.ls-search-form:focus-within { border-color: rgba(126,223,240,.6); background: rgba(255,255,255,.1); }
.ls-search-form > i { color: rgba(255,255,255,.45); }
.ls-search-form input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font-size: 13px;
}
.ls-search-form input::placeholder { color: rgba(255,255,255,.38); }
.ls-search-form button {
    align-self: stretch;
    min-width: 68px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--ls-primary), #3478f6);
    font-weight: 700;
}

.ls-header__tools { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.ls-icon-button, .ls-user-menu__button {
    height: 42px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.06);
}
.ls-icon-button { min-width: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.ls-icon-button::after, .ls-user-menu__button::after { display: none; }
.ls-user-menu__button { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 5px; }
.ls-user-menu__button img { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; }
.ls-auth-actions { display: flex; gap: 8px; }
.ls-menu-toggle { display: none; flex: 0 0 auto; }

.ls-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 750;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ls-button:hover { transform: translateY(-1px); }
.ls-button--primary { color: #fff; background: linear-gradient(135deg, var(--ls-primary), #3478f6); box-shadow: 0 9px 24px rgba(85, 88, 245, .24); }
.ls-button--primary:hover { color: #fff; }
.ls-button--ghost { color: rgba(255,255,255,.78); border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.04); }
.ls-button--ghost:hover { color: #fff; background: rgba(255,255,255,.1); }
.ls-button--light { color: var(--ls-primary-dark); background: #fff; box-shadow: 0 14px 30px rgba(13,25,55,.15); }
.ls-button--glass { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.11); }

.ls-hero {
    position: relative;
    min-height: 360px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
    align-items: center;
    overflow: hidden;
    padding: 56px 64px;
    border-radius: 30px;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(10, 17, 40, .98), rgba(38, 43, 96, .94)),
        radial-gradient(circle at 80% 10%, #28c2dd, transparent 22rem);
    box-shadow: 0 26px 65px rgba(25, 33, 72, .18);
}
.ls-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(90deg, #000, transparent 75%);
}
.ls-hero__copy { position: relative; z-index: 2; max-width: 690px; }
.ls-kicker { display: inline-flex; align-items: center; gap: 8px; color: #8de8f5; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ls-hero h1 { margin: 18px 0 15px; color: #fff; font-size: clamp(34px, 4vw, 58px); line-height: 1.12; font-weight: 850; letter-spacing: -.035em; }
.ls-hero h1 em { color: #9aa6ff; font-style: normal; }
.ls-hero p { max-width: 560px; margin: 0; color: rgba(255,255,255,.66); font-size: 16px; line-height: 1.8; }
.ls-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.ls-hero__visual { position: relative; height: 280px; }
.ls-orbit { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.ls-orbit--one { inset: 4% -5% 4% 5%; }
.ls-orbit--two { inset: 20% 10% 18% 22%; transform: rotate(28deg); }
.ls-hero-card {
    position: absolute;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.19);
    background: rgba(255,255,255,.11);
    box-shadow: 0 24px 50px rgba(1,8,32,.25);
    backdrop-filter: blur(14px);
}
.ls-hero-card--main { left: 20%; top: 18%; width: 175px; height: 190px; border-radius: 35px; transform: rotate(-6deg); }
.ls-hero-card--main > span { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 20px; color: #fff; background: linear-gradient(145deg, var(--ls-cyan), var(--ls-primary)); font-size: 25px; }
.ls-hero-card--main strong { margin-top: -5px; font-size: 18px; }
.ls-hero-card--main small { margin-top: -18px; color: rgba(255,255,255,.55); letter-spacing: .16em; }
.ls-hero-card--side { right: 4%; bottom: 13%; width: 74px; height: 74px; border-radius: 24px; color: #90f0de; font-size: 25px; transform: rotate(10deg); }

.ls-section {
    padding: 26px;
    border: 1px solid rgba(222,228,240,.82);
    border-radius: var(--ls-radius);
    background: rgba(255,255,255,.92);
    box-shadow: var(--ls-shadow);
}
.ls-section__heading { display: flex; align-items: center; gap: 13px; margin-bottom: 21px; }
.ls-section__icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; color: var(--ls-primary); background: #eeedff; font-size: 18px; }
.ls-section__heading small { display: block; margin-bottom: 2px; color: #9aa3b6; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.ls-section__heading h2 { margin: 0; color: var(--ls-ink); font-size: 19px; font-weight: 800; }
.ls-notice { margin-top: 24px; display: grid; grid-template-columns: 220px 1fr; align-items: center; }
.ls-notice .ls-section__heading { margin: 0; }
.ls-notice__content { min-width: 0; padding-left: 25px; border-left: 1px solid var(--ls-line); color: var(--ls-muted); line-height: 1.75; overflow-wrap: anywhere; }
.ls-notice__content * { max-width: 100%; white-space: normal !important; overflow-wrap: anywhere; }
.ls-notice__content > :last-child { margin-bottom: 0; }

.ls-products--wide { margin-top: 24px; }
.ls-products__toolbar { margin: -2px 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--ls-line); }
.ls-category-list { display: flex; flex-wrap: wrap; gap: 9px; }
.ls-category {
    min-width: 138px;
    min-height: 48px;
    display: inline-grid;
    grid-template-columns: 32px auto;
    align-items: center;
    justify-content: start;
    gap: 10px;
    padding: 7px 15px 7px 8px;
    border: 1px solid var(--ls-line);
    border-radius: 14px;
    color: var(--ls-ink);
    background: #f8f9fc;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: .2s ease;
}
.ls-category:hover { color: var(--ls-primary); border-color: #cbc9ff; background: #f4f3ff; transform: translateY(-1px); }
.ls-category:focus-visible { outline: 3px solid rgba(87,86,237,.18); outline-offset: 2px; }
.ls-category.is-primary { color: #fff; background: linear-gradient(135deg, var(--ls-primary), #4079ef); box-shadow: 0 12px 24px rgba(87,86,237,.22); }
.ls-category__icon { width: 32px; height: 32px; border-radius: 9px; background: #fff center/cover no-repeat; box-shadow: 0 4px 10px rgba(25,33,72,.1); }
.ls-products { min-width: 0; }
.ls-products .item-list { margin: 0; }
.ls-products .item-list > a { padding: 0 7px; color: inherit; }
.ls-loading-card, .ls-products .item-message {
    width: calc(100% - 14px);
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 7px;
    border: 1px dashed #d9dfec;
    border-radius: 17px;
    color: var(--ls-muted);
    background: #fafbfe;
}
.ls-products .acg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ls-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: none;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.ls-products .acg-card:hover { transform: translateY(-5px); border-color: #cbc9ff; box-shadow: 0 18px 35px rgba(36,46,82,.12); }
.ls-products .acg-thumb { width: 100%; height: auto; aspect-ratio: 8 / 5; overflow: hidden; border-radius: 17px 17px 0 0; background: #eef1f6; }
.ls-products .acg-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .28s ease; }
.ls-products .acg-card:hover .acg-thumb img { transform: scale(1.018); }
.ls-products .acg-card .p-3 { padding: 12px 14px 14px !important; }
.ls-products .acg-card__body { display: flex; flex: 1; flex-direction: column; }
.ls-products .goods-title { display: -webkit-box; min-height: 42px; margin: 0 0 8px; overflow: hidden; color: var(--ls-ink); font-size: 15px; font-weight: 780; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ls-products .tags { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 5px; min-height: 46px; }
.ls-products .price { color: var(--ls-primary); font-size: 22px; font-weight: 850; }
.ls-products .price .unit { margin-right: 2px; font-size: 13px; }
.ls-products .acg-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.ls-products .acg-buy { min-width: 54px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 13px; border-radius: 18px; color: #fff; background: #437ce7; font-size: 12px; font-weight: 750; }
.ls-products .stat-bottom { display: none; }

.ls-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.ls-benefits > div { display: flex; align-items: center; gap: 13px; padding: 20px 22px; border: 1px solid var(--ls-line); border-radius: 18px; background: rgba(255,255,255,.72); }
.ls-benefits > div > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--ls-primary); background: #ecebff; font-size: 18px; }
.ls-benefits span { display: grid; gap: 3px; }
.ls-benefits strong { font-size: 14px; }
.ls-benefits small { color: var(--ls-muted); font-size: 11px; }

.ls-footer { margin-top: auto; color: rgba(255,255,255,.62); background: var(--ls-night); }
.ls-footer__inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ls-footer__inner > div { display: grid; gap: 5px; }
.ls-footer strong { color: #fff; font-size: 14px; }
.ls-footer span { font-size: 12px; }
.ls-footer__icp { padding: 8px 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; }

.ls-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: #98a0b0; font-size: 13px; }
.ls-breadcrumb a { color: var(--ls-muted); }
.ls-breadcrumb span { overflow: hidden; color: var(--ls-ink); text-overflow: ellipsis; white-space: nowrap; }
.ls-breadcrumb > i { font-size: 9px; }
.ls-item-page { background: #f4f4f6; }
.ls-item-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr); gap: 30px; align-items: start; padding: 32px; border: 1px solid #ececef; border-radius: 30px; background: #fff; box-shadow: 0 22px 50px rgba(31,35,45,.09); }
.ls-item-media, .ls-item-panel { min-width: 0; }
.ls-item-media { display: flex; align-self: start; }
.ls-item-detail { border: 1px solid #ececef; border-radius: 28px; background: #fff; box-shadow: 0 20px 46px rgba(31,35,45,.08); }
.ls-item-cover-wrap { position: relative; width: 100%; min-height: 0; aspect-ratio: 6 / 5; overflow: hidden; border-radius: 24px; background: #eef1f6; }
.ls-item-cover-wrap .item-cover { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ls-view-original { position: absolute; right: 17px; bottom: 17px; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 15px; border: 1px solid rgba(255,255,255,.7); border-radius: 20px; color: #222; background: rgba(255,255,255,.9); box-shadow: 0 8px 22px rgba(24,28,36,.12); backdrop-filter: blur(10px); font-size: 12px; font-weight: 700; }
.ls-view-original:hover { color: #222; background: #fff; }
.ls-item-panel { padding: 0 2px; }
.ls-item-panel__topline { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; }
.ls-item-panel__topline .badge-soft { min-height: 32px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid #e6e6e8; border-radius: 17px; color: #444; background: #f5f5f6; font-size: 12px; }
.ls-item-panel__topline .badge-soft-success { color: #4a8f50; border-color: #d7ecd6; background: #f0f8ef; }
.ls-item-title-row { display: flex; align-items: center; gap: 15px; }
.ls-item-title-row > div { min-width: 0; flex: 1; }
.ls-item-title-row small { color: #9aa3b6; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.ls-item-title-row h1 { margin: 0; color: #171719; font-size: clamp(30px, 3vw, 42px); line-height: 1.18; font-weight: 850; }
.shared-button { min-width: 74px; height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: 0 0 auto; border: 1px solid #d9e3fa; border-radius: 20px; color: #3975d6; background: #f4f7fd; font-size: 12px; font-weight: 700; }
.ls-price-row { display: flex; align-items: center; min-height: 74px; margin: 0 0 22px; }
.ls-price-row .price { color: #171719; font-size: 48px; line-height: 1; font-weight: 850; }
.ls-price-row .unit { margin-right: 5px; font-size: 22px; font-weight: 700; }
.ls-purchase-form { gap: 20px !important; }
.ls-form-group, .ls-purchase-form > div:not(.cash-pay) { display: grid; gap: 8px; }
.ls-purchase-form .form-label { margin: 0; color: #444; font-size: 13px; font-weight: 750; }
.ls-purchase-form .form-control, .ls-purchase-form select, .optional-card {
    min-height: 58px;
    border: 1px solid #dedee2;
    border-radius: 17px;
    background: #fff;
    box-shadow: none;
    font-size: 14px;
}
.ls-purchase-form .form-control:focus { border-color: #a8a3ff; box-shadow: 0 0 0 3px rgba(99,91,255,.09); }
.sku-list { display: flex; flex-wrap: wrap; gap: 8px; }
.sku {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid #dfe4ee;
    border-radius: 12px;
    color: var(--ls-ink);
    background: #fff;
    font-size: 13px;
    font-weight: 650;
}
.sku:hover { color: var(--ls-primary); border-color: #bbb7ff; }
.sku.is-primary { color: #fff; border-color: var(--ls-primary); background: var(--ls-primary); }
.sku .badge-money { opacity: .75; font-size: 11px; }
.optional-card { width: 100%; padding: 0 14px; color: var(--ls-primary); text-align: left; background: #f8f8ff; }
.ls-purchase-form .input-group.qty-group { width: 300px; height: 58px; display: grid; grid-template-columns: 56px minmax(110px, 1fr) 56px; gap: 0; padding: 0; overflow: hidden; border: 1px solid #dedee2; border-radius: 17px; background: #f5f5f6; box-shadow: none; }
.ls-purchase-form .input-group.qty-group > button { width: auto; height: 100%; margin: 0; border: 0; border-radius: 0; color: #303034; background: #ededf0; box-shadow: none; font-size: 21px; font-weight: 500; }
.ls-purchase-form .input-group.qty-group > button:first-child { border-right: 1px solid #dedee2; }
.ls-purchase-form .input-group.qty-group > button:last-child { border-left: 1px solid #dedee2; }
.ls-purchase-form .input-group.qty-group > input { width: 100%; min-height: 56px; padding: 0; border: 0; border-radius: 0 !important; background: #f8f8fa; box-shadow: none !important; font-weight: 700; }
.ls-captcha-row { max-width: 500px; display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 0; overflow: hidden; border: 1px solid #dedee2; border-radius: 17px; background: #fff; }
.ls-captcha-row .form-control { border: 0; border-radius: 0; }
.ls-captcha-row .captcha-img { width: 170px; height: 58px; object-fit: contain; border: 0; border-left: 1px solid #ececef; border-radius: 0; background: #f7f8f5; cursor: pointer; }
.cash-pay { margin-top: 2px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ls-payment-heading { display: flex; margin-bottom: 11px; }
.ls-payment-heading span { color: #444; font-size: 13px; font-weight: 800; }
.cash-pay .pay-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; border: 0; }
.cash-pay .pay-list .pay { min-height: 48px; display: flex; align-items: center; gap: 9px; padding: 7px 16px; border: 1px solid #dedee2; border-radius: 24px; color: #27272a; background: #fff; box-shadow: none; cursor: pointer; transition: .2s ease; }
.cash-pay .pay-list .pay span { color: #4a4a4f; }
.pay-list .pay:hover { color: var(--ls-primary); border-color: #aaa5ff; box-shadow: 0 8px 18px rgba(42,52,88,.08); }
.pay-list .pay img { width: 27px; height: 27px; object-fit: contain; }
.ls-item-detail { margin-top: 28px; padding: 38px 40px; }
.ls-item-detail__heading { margin-bottom: 24px; }
.ls-item-detail__heading small { display: block; margin-bottom: 3px; color: #7a7a80; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.ls-item-detail__heading h2 { margin: 0; color: #202023; font-size: 19px; font-weight: 850; }
.ls-item-detail__content { color: #55555c; line-height: 1.9; overflow-wrap: anywhere; }
.ls-item-detail__content img { max-width: 100%; height: auto; border-radius: 12px; }
.ls-product-copy { max-width: 1120px; color: #596579; }
.ls-product-copy__title { margin: 0 0 9px; color: #1f2937; font-size: 25px; font-weight: 850; line-height: 1.4; letter-spacing: -.02em; }
.ls-product-copy__lead { margin: 0 0 7px; color: #4e68bd; font-size: 18px; font-weight: 750; line-height: 1.65; }
.ls-product-copy__summary { margin: 0; color: #5e6879; font-size: 15px; line-height: 1.8; }
.ls-product-copy__rule { height: 1px; margin: 24px 0 20px; border: 0; background: linear-gradient(90deg, #e4e7ed 0%, rgba(228,231,237,0) 92%); }
.ls-product-copy__refund { margin: 0 0 13px; color: #bb5b4a; font-size: 20px; font-weight: 850; line-height: 1.45; }
.ls-product-copy__body { max-width: 1080px; }
.ls-product-copy__body p { margin: 0 0 10px; color: #626d7f; font-size: 14.5px; line-height: 1.85; }
.ls-product-copy__body p:last-child { margin-bottom: 0; }
.wholesale-table { border-color: var(--ls-line); font-size: 12px; }

.ls-query-page { padding-top: 0; }
.ls-query-hero { padding: 70px 0 76px; color: #fff; background: linear-gradient(125deg, #111a35, #2f3277); }
.ls-query-hero__inner { max-width: 850px; text-align: center; }
.ls-query-hero h1 { margin: 16px 0 10px; color: #fff; font-size: clamp(32px, 5vw, 48px); font-weight: 850; }
.ls-query-hero p { margin: 0 auto; max-width: 660px; color: rgba(255,255,255,.62); line-height: 1.75; }
.ls-query-form { max-width: 760px; min-height: 66px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 9px; margin: 30px auto 0; padding: 7px 7px 7px 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: #fff; box-shadow: 0 22px 50px rgba(3,9,29,.25); }
.ls-query-form > i { color: #9aa3b6; }
.ls-query-form input { height: 50px; padding: 0 5px; border: 0; box-shadow: none !important; }
.ls-query-form button { height: 50px; display: inline-flex; align-items: center; gap: 22px; padding: 0 19px; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--ls-primary), #3478f6); font-weight: 750; }
.ls-query-tips { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-top: 18px; color: rgba(255,255,255,.48); font-size: 11px; }
.ls-query-results { margin-top: -34px; position: relative; z-index: 2; }
.ls-empty-state { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 38px; border: 1px solid var(--ls-line); border-radius: 24px; background: #fff; box-shadow: var(--ls-shadow); text-align: center; }
.ls-empty-state > span { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 21px; color: var(--ls-primary); background: #efeeff; font-size: 25px; }
.ls-empty-state h2, .ls-empty-state h1 { margin: 7px 0 0; color: var(--ls-ink); font-weight: 850; }
.ls-empty-state p { margin: 0; color: var(--ls-muted); }
.order-list { display: grid; gap: 16px; }
.order-item { overflow: hidden; border: 1px solid var(--ls-line); border-radius: 18px; background: #fff; }
.order-header { display: flex; justify-content: space-between; gap: 20px; padding: 18px; background: #f8f9fc; }
.order-left { display: flex; gap: 15px; }
.order-basic { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 5px 20px; color: var(--ls-muted); font-size: 11px; }
.order-no { grid-column: 1 / -1; color: var(--ls-ink); font-size: 13px; font-weight: 800; }
.status-badge { display: inline-flex; padding: 6px 9px; border-radius: 9px; font-size: 11px; white-space: nowrap; }
.status-pending { color: #a96600; background: #fff1cd; }
.status-paid, .status-shipped { color: #087654; background: #dff8ef; }
.order-amount { display: grid; justify-items: end; gap: 2px; }
.amount-label { color: var(--ls-muted); font-size: 11px; }
.amount-value { color: var(--ls-primary); font-size: 21px; font-weight: 850; }
.payment-method { display: inline-flex; align-items: center; gap: 4px; }
.payment-icon { width: 15px; height: 15px; object-fit: contain; }
.goods-section { display: flex; gap: 14px; padding: 18px; }
.goods-thumb { width: 74px; height: 74px; flex: 0 0 auto; overflow: hidden; border-radius: 13px; background: #f1f3f7; }
.goods-image { width: 100%; height: 100%; object-fit: cover; }
.goods-details { min-width: 0; }
.goods-name { margin: 2px 0 9px; color: var(--ls-ink); font-size: 14px; font-weight: 800; }
.goods-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.card-section { margin: 0 18px 18px; padding: 16px; border-radius: 14px; background: #f7f8fc; }
.card-title { display: flex; justify-content: space-between; gap: 10px; }
.card-display { margin-top: 12px; padding: 13px; border: 1px dashed #cbd3e2; border-radius: 11px; color: #32405c; background: #fff; white-space: pre-wrap; overflow-wrap: anywhere; }

.ls-closed-state { min-height: 520px; }
.ls-closed-state small { color: #9aa3b6; font-weight: 800; letter-spacing: .14em; }
.ls-closed-state .ls-button { margin-top: 14px; }

body.ls-auth-body { display: block !important; min-height: 100vh; background: #eef1f7; }
.ls-auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr); position: relative; }
.ls-auth-back { position: fixed; top: 26px; left: 30px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 11px; color: rgba(255,255,255,.72); background: rgba(255,255,255,.08); font-size: 12px; }
.ls-auth-back:hover { color: #fff; }
.ls-auth-brand { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 70px; overflow: hidden; padding: 90px clamp(45px, 6vw, 100px); color: #fff; background: linear-gradient(145deg, #10172c, #262a68); }
.ls-auth-brand::after { content: ""; position: absolute; right: -130px; bottom: -160px; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.ls-auth-brand .ls-brand { position: absolute; top: 25px; right: 30px; }
.ls-auth-brand > div, .ls-auth-brand > ul { position: relative; z-index: 2; }
.ls-auth-brand h1 { max-width: 570px; margin: 18px 0 16px; color: #fff; font-size: clamp(35px, 4.4vw, 62px); line-height: 1.1; font-weight: 860; letter-spacing: -.04em; }
.ls-auth-brand p { max-width: 560px; color: rgba(255,255,255,.58); font-size: 15px; line-height: 1.8; }
.ls-auth-brand ul { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 0; padding: 0; list-style: none; color: rgba(255,255,255,.7); font-size: 12px; }
.ls-auth-brand li { display: inline-flex; align-items: center; gap: 7px; }
.ls-auth-brand li i { color: #71e1c2; }
.ls-auth-panel { min-width: 0; display: flex; align-items: center; justify-content: center; padding: 68px clamp(26px, 6vw, 90px); background: #f7f8fb; }
.ls-auth-card { width: min(520px, 100%); min-width: 0; overflow: hidden; padding: 38px; border: 1px solid var(--ls-line); border-radius: 25px; background: #fff; box-shadow: 0 24px 65px rgba(31,42,73,.11); }
.ls-auth-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 27px; }
.ls-auth-card__icon { width: 50px; height: 50px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 16px; color: var(--ls-primary); background: #ecebff; font-size: 20px; }
.ls-auth-card__head small { color: #a0a8b8; font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.ls-auth-card__head h2 { margin: 3px 0 2px; color: var(--ls-ink); font-size: 25px; font-weight: 850; }
.ls-auth-card__head p { margin: 0; color: var(--ls-muted); font-size: 12px; }
.ls-auth-form { display: grid; gap: 17px; }
.ls-input-group { display: grid; gap: 7px; margin: 0; }
.ls-input-group > span { color: #4e5a71; font-size: 12px; font-weight: 750; }
.ls-input-group > div { position: relative; display: flex; align-items: center; }
.ls-input-group, .ls-input-group > div, .ls-input-group .form-control { min-width: 0; }
.ls-input-group > div > i { position: absolute; left: 15px; z-index: 2; color: #9ba4b5; }
.ls-input-group .form-control { min-height: 50px; padding: 11px 14px 11px 43px; border: 1px solid #dfe4ee; border-radius: 13px; background: #fbfcfe; box-shadow: none; }
.ls-input-group .form-control:focus { border-color: #a8a3ff; background: #fff; box-shadow: 0 0 0 3px rgba(99,91,255,.08); }
.ls-auth-captcha .form-control { padding-right: 145px; }
.ls-auth-captcha .image-code { position: absolute; right: 5px; width: 132px; height: 40px; object-fit: contain; border: 1px solid #e4e8ef; border-radius: 9px; background: #f8faf7; cursor: pointer; }
.ls-auth-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ls-muted); font-size: 12px; }
.ls-auth-options label { display: flex; align-items: center; gap: 7px; }
.ls-auth-options input { width: 17px; height: 17px; accent-color: var(--ls-primary); }
.ls-auth-options a, .ls-auth-switch a { color: var(--ls-primary); font-weight: 750; }
.ls-auth-submit { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 15px; border: 0; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--ls-primary), #3478f6); box-shadow: 0 12px 25px rgba(82,84,232,.22); font-weight: 800; }
.ls-auth-submit:hover { filter: brightness(1.03); }
.ls-auth-switch { margin: 20px 0 0; color: var(--ls-muted); font-size: 12px; text-align: center; }
.ls-auth-divider { display: flex; align-items: center; gap: 10px; margin: 20px 0; color: #a7afbe; font-size: 10px; }
.ls-auth-divider::before, .ls-auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--ls-line); }
.ls-code-row { display: grid; grid-template-columns: minmax(0, 1fr) 116px; gap: 9px; align-items: end; }
.ls-code-row > button { min-height: 50px; border: 1px solid #c9c6ff; border-radius: 13px; color: var(--ls-primary); background: #f3f2ff; font-size: 12px; font-weight: 750; }

@media (max-width: 1120px) {
    .ls-header__inner { flex-wrap: wrap; gap: 12px; padding: 14px 0; }
    .ls-menu-toggle { margin-left: auto; height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; color: #fff; background: rgba(255,255,255,.06); }
    .ls-navigation { display: none; flex-basis: 100%; flex-wrap: wrap; padding-top: 7px; }
    .ls-navigation.is-open { display: flex; }
    .ls-nav { width: 100%; }
    .ls-search-form { max-width: none; }
    .ls-header__tools { margin-left: 0; }
    .ls-hero { grid-template-columns: 1fr 300px; padding: 48px; }
    .ls-item-layout { grid-template-columns: minmax(310px, .92fr) minmax(0, 1.08fr); gap: 28px; padding: 28px; }
    .ls-auth-shell { grid-template-columns: minmax(330px, .75fr) minmax(480px, 1.25fr); }
    .ls-auth-brand { padding-inline: 45px; }
}

@media (max-width: 820px) {
    .ls-shell { width: min(720px, calc(100% - 28px)); }
    .ls-main { padding-top: 18px; padding-bottom: 40px; }
    .ls-hero { min-height: auto; grid-template-columns: 1fr; padding: 38px 30px; }
    .ls-hero__visual { display: none; }
    .ls-notice { grid-template-columns: 1fr; }
    .ls-notice__content { padding: 17px 0 0; border-top: 1px solid var(--ls-line); border-left: 0; }
    .ls-products__toolbar { margin-bottom: 18px; padding-bottom: 13px; }
    .ls-category-list { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 7px; scrollbar-width: none; }
    .ls-category-list::-webkit-scrollbar { display: none; }
    .ls-category { min-width: max-content; min-height: 44px; grid-template-columns: 30px auto; }
    .ls-category__icon { width: 30px; height: 30px; }
    .ls-benefits { grid-template-columns: 1fr; }
    .ls-item-layout { grid-template-columns: 1fr; }
    .ls-item-cover-wrap { min-height: 0; aspect-ratio: 8 / 5; }
    .ls-query-hero { padding: 52px 0 68px; }
    .ls-auth-shell { display: block; }
    .ls-auth-brand { display: none; }
    .ls-auth-panel { min-height: 100vh; padding: 80px 18px 30px; }
    .ls-auth-back { color: var(--ls-muted); background: #fff; box-shadow: 0 8px 25px rgba(31,42,73,.08); }
    .order-header { flex-direction: column; }
    .order-amount { justify-items: start; }
}

@media (max-width: 580px) {
    .ls-shell { width: calc(100% - 22px); }
    .ls-header__inner { min-height: 66px; }
    .ls-brand__mark { width: 38px; height: 38px; border-radius: 12px; }
    .ls-brand__text small { display: none; }
    .ls-menu-toggle span { display: none; }
    .ls-navigation.is-open { display: grid; gap: 11px; }
    .ls-nav { display: grid; grid-template-columns: repeat(2, 1fr); }
    .ls-nav__link { justify-content: center; background: rgba(255,255,255,.05); }
    .ls-search-form { min-width: 0; width: 100%; }
    .ls-header__tools { width: 100%; justify-content: space-between; }
    .ls-auth-actions { flex: 1; }
    .ls-auth-actions .ls-button { flex: 1; }
    .ls-hero { padding: 31px 22px; border-radius: 22px; }
    .ls-hero h1 { font-size: 32px; }
    .ls-hero p { font-size: 14px; }
    .ls-hero__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ls-hero__actions .ls-button { min-width: 0; padding-inline: 8px; font-size: 12px; white-space: nowrap; }
    .ls-section { padding: 20px 17px; border-radius: 19px; }
    .ls-section__heading { margin-bottom: 17px; }
    .ls-products__hint { display: none; }
    .ls-products .item-list > a { padding: 0; }
    .ls-products .acg-thumb { height: auto; aspect-ratio: 8 / 5; }
    .ls-footer__inner { min-height: 105px; flex-direction: column; align-items: flex-start; justify-content: center; }
    .ls-item-layout { gap: 23px; padding: 12px; border-radius: 21px; }
    .ls-item-panel { padding: 7px 5px 13px; }
    .ls-item-cover-wrap { border-radius: 16px; }
    .ls-item-title-row { align-items: flex-start; }
    .ls-item-title-row h1 { font-size: 27px; }
    .shared-button { min-width: 42px; width: 42px; padding: 0; }
    .shared-button span { display: none; }
    .ls-price-row { margin: 17px 0; }
    .ls-price-row .price { font-size: 38px; }
    .ls-purchase-form .input-group.qty-group { width: 100%; }
    .ls-captcha-row { grid-template-columns: minmax(0, 1fr) 122px; max-width: none; }
    .ls-captcha-row .captcha-img { width: 122px; }
    .ls-item-detail { margin-top: 18px; padding: 27px 22px; border-radius: 21px; }
    .ls-product-copy__title { font-size: 21px; }
    .ls-product-copy__lead { font-size: 16px; }
    .ls-product-copy__rule { margin: 20px 0 17px; }
    .ls-product-copy__refund { font-size: 18px; }
    .ls-product-copy__body p { font-size: 14px; line-height: 1.8; }
    .ls-query-form { min-height: auto; grid-template-columns: 22px 1fr; padding: 7px 9px 7px 15px; }
    .ls-query-form button { grid-column: 1 / -1; justify-content: center; }
    .ls-query-tips { display: grid; gap: 7px; }
    .ls-query-results { margin-top: -24px; }
    .order-left { flex-direction: column; }
    .order-basic { grid-template-columns: 1fr; }
    .order-no { grid-column: auto; word-break: break-all; }
    .goods-section { padding: 14px; }
    .ls-auth-back { top: 16px; left: 17px; }
    .ls-auth-panel { width: 100%; min-width: 0; padding-inline: 11px; }
    .ls-auth-card { width: 100%; max-width: 100%; padding: 25px 18px; border-radius: 20px; }
    .ls-auth-card__head h2 { font-size: 22px; }
    .ls-auth-captcha .form-control { padding-right: 119px; }
    .ls-auth-captcha .image-code { width: 108px; }
    .ls-code-row { grid-template-columns: minmax(0, 1fr) 103px; }
}

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