/* 丝韵模特课程系统 - H5 前端样式
   版权：坏蛋网络 www.55591.cn */
:root {
    --pink: #e5484d;
    --pink-d: #cf3b40;
    --pink-l: #fff1f1;
    --pink-line: #ffd4d5;
    --grad: linear-gradient(135deg, #ff6b6f 0%, #e5484d 100%);
    --grad-soft: linear-gradient(135deg, #ffe9e9, #fff7f7);
    --bg: #f6f7fb;
    --card: #fff;
    --ink: #1f2329;
    --sub: #5b6270;
    --muted: #9aa1ad;
    --line: #f0f1f5;
    --gold: #d9a755;
    --green: #10b981;
    --blue: #1677ff;
    --radius: 14px;
    --tab-h: 56px;
    --shadow: 0 8px 24px rgba(48, 34, 74, .07);
    --safe-b: env(safe-area-inset-bottom, 0px);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font: 14px/1.5 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    color: var(--ink);
    background: #e8eaf1;
    overscroll-behavior-y: none;
}

#app {
    position: relative;
    max-width: 480px;
    min-height: 100vh;
    margin: 0 auto;
    background: var(--bg);
    box-shadow: 0 0 46px rgba(24, 30, 56, .07);
    overflow-x: hidden;
}

#app.tab-page {
    padding-bottom: calc(var(--tab-h) + var(--safe-b) + 8px);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: 0;
    background: none;
    padding: 0;
    color: inherit;
    cursor: pointer;
}

input,
textarea {
    font-family: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hide {
    display: none !important;
}

/* ---------- boot ---------- */
.boot-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: #fff;
}

.boot-logo {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: var(--grad);
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 26px rgba(255, 77, 136, .35);
}

.boot-name {
    margin-top: 14px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 1px;
}

.boot-spinner {
    width: 24px;
    height: 24px;
    border: 2.5px solid #ffe1ea;
    border-top-color: var(--pink);
    border-radius: 50%;
    margin-top: 22px;
    animation: spin .8s linear infinite;
}

.boot-tip {
    margin-top: 10px;
    font-size: 12px;
    color: #b9bfc9;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- tabbar ---------- */
#tabbar {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    display: flex;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(12px);
    border-top: 1px solid #f0f0f3;
    z-index: 120;
    padding-bottom: var(--safe-b);
}

#tabbar.hide {
    display: none;
}

.tab-item {
    flex: 1;
    height: var(--tab-h);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #9aa0aa;
    font-size: 10.5px;
    position: relative;
}

.tab-item svg {
    width: 23px;
    height: 23px;
}

.tab-item.on {
    color: #e5484d;
}

.tab-item.on .tab-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #e5484d;
    position: absolute;
    bottom: 5px;
}

.tab-badge {
    position: absolute;
    top: 5px;
    right: calc(50% - 20px);
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--pink);
    color: #fff;
    font-size: 9px;
    line-height: 15px;
    text-align: center;
    font-style: normal;
}

/* ---------- generic ---------- */
.page {
    min-height: 100vh;
    background: var(--bg);
}

.section {
    margin-top: 16px;
}

.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 4px 16px 10px;
}

.sec-head h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .3px;
    position: relative;
    padding-left: 11px;
    line-height: 1.3;
}

.sec-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 4px;
    background: var(--grad);
}

.sec-head .more-link {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 2px;
}

.sec-head .more-link svg {
    width: 12px;
    height: 12px;
}

.page-head {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    min-height: 52px;
    border-bottom: 1px solid #f6f7fa;
}

.page-head .ph-title {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 4px;
}

.icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f5f6f9;
    color: #3c424d;
    flex: none;
}

.icon-btn svg {
    width: 18px;
    height: 18px;
}

.page-head .icon-btn.spacer {
    visibility: hidden;
}

.loading {
    padding: 46px 0;
    display: grid;
    place-items: center;
}

.spinner {
    width: 26px;
    height: 26px;
    border: 3px solid #ffe3ec;
    border-top-color: var(--pink);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

.load-tip {
    margin-top: 10px;
    font-size: 12px;
    color: #b3b9c4;
}

.btn-primary {
    display: block;
    width: 100%;
    border-radius: 26px;
    background: var(--grad);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 16px;
    text-align: center;
    box-shadow: 0 10px 22px rgba(255, 77, 136, .25);
}

.btn-primary:active {
    opacity: .9;
}

.btn-primary[disabled] {
    opacity: .55;
    box-shadow: none;
}

.btn-ghost {
    display: inline-block;
    border: 1px solid var(--pink-line);
    color: var(--pink);
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
}

.btn-sm {
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    border: 1px solid #e7e9ef;
    background: #fff;
    color: #565d69;
}

.btn-sm.pink {
    background: var(--grad);
    color: #fff;
    border-color: transparent;
}

.btn-sm.plain {
    color: #9aa1ad;
}

/* ---------- toast / overlay / sheet ---------- */
#overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 14, 20, .5);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

#overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.toast {
    position: fixed;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%) scale(.94);
    background: rgba(24, 26, 34, .88);
    color: #fff;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.6;
    z-index: 400;
    opacity: 0;
    pointer-events: none;
    transition: .18s;
    max-width: 80%;
    text-align: center;
    white-space: pre-wrap;
    word-break: break-word;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.sheet {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    max-height: 86vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 18px 18px 0 0;
    z-index: 260;
    padding: 20px 18px calc(20px + var(--safe-b));
    animation: sheetUp .24s ease;
}

@keyframes sheetUp {
    from {
        transform: translate(-50%, 100%);
    }

    to {
        transform: translate(-50%, 0);
    }
}

.sheet-title {
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 16px;
}

.sheet-close {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f5f6f9;
    color: #7d8494;
    display: grid;
    place-items: center;
}

.sheet-close svg {
    width: 15px;
    height: 15px;
}

.modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(320px, 84vw);
    background: #fff;
    border-radius: 16px;
    z-index: 260;
    padding: 22px 20px 18px;
    text-align: center;
}

.modal h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.modal p {
    margin: 0 0 18px;
    font-size: 13px;
    color: #7d8494;
    line-height: 1.7;
}

.modal .m-btns {
    display: flex;
    gap: 10px;
}

.modal .m-btns button {
    flex: 1;
    padding: 10px;
    border-radius: 22px;
    font-size: 13.5px;
    font-weight: 600;
    background: #f5f6f9;
    color: #4b5260;
}

.modal .m-btns button.primary {
    background: var(--grad);
    color: #fff;
}

/* ---------- cover / avatar placeholder ---------- */
.ph {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    background: var(--grad-soft);
}

.ph::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .38) 1px, transparent 1.4px);
    background-size: 14px 14px;
    opacity: .5;
}

.ph .ph-char {
    font-size: 30px;
    font-weight: 800;
    color: rgba(255, 255, 255, .94);
    text-shadow: 0 3px 10px rgba(80, 20, 40, .16);
    letter-spacing: 2px;
    z-index: 1;
}

.ph .ph-sub {
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-size: 9px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, .75);
    z-index: 1;
}

.avatar {
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--grad);
    color: #fff;
    font-weight: 700;
    flex: none;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar.sm {
    width: 46px;
    height: 46px;
    font-size: 17px;
}

.avatar.md {
    width: 56px;
    height: 56px;
    font-size: 21px;
}

.avatar.lg {
    width: 72px;
    height: 72px;
    font-size: 27px;
}

/* ---------- home ---------- */
.hm-head {
    background: #fff;
    padding: 14px 16px 12px;
}

.hm-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.hm-logo {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--grad);
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 14px rgba(255, 77, 136, .3);
}

.hm-brand .bt {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hm-brand .bt b {
    font-size: 15.5px;
    letter-spacing: .6px;
}

.hm-brand .bt small {
    font-size: 8px;
    letter-spacing: 1.6px;
    color: #b9bfc9;
    margin-top: 2px;
}

.hm-brand .hm-right {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.hm-search {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #f4f5f8;
    border-radius: 20px;
    padding: 9px 14px;
    color: #a7adb8;
    font-size: 13px;
}

.hm-search svg {
    width: 16px;
    height: 16px;
    flex: none;
}

/* banner */
.banner-wrap {
    padding: 14px 0 0;
}

.banner-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 16px;
    scrollbar-width: none;
}

.banner-track::-webkit-scrollbar {
    display: none;
}

.banner {
    position: relative;
    flex: none;
    width: calc(100% - 46px);
    height: 148px;
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: start;
    background: var(--grad);
    color: #fff;
    padding: 20px 18px;
}

.banner::before,
.banner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
}

.banner::before {
    width: 130px;
    height: 130px;
    right: -34px;
    top: -46px;
}

.banner::after {
    width: 64px;
    height: 64px;
    right: 54px;
    bottom: -30px;
    background: rgba(255, 255, 255, .1);
}

.banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.banner .mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30, 10, 20, .55), rgba(30, 10, 20, .05));
    z-index: 1;
}

.banner .b-inner {
    position: relative;
    z-index: 2;
}

.banner h3 {
    margin: 0;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(80, 10, 30, .2);
}

.banner p {
    margin: 7px 0 0;
    font-size: 11.5px;
    line-height: 1.6;
    opacity: .92;
    max-width: 78%;
}

.banner .b-cta {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 12px;
    background: rgba(255, 255, 255, .92);
    color: var(--pink-d);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 20px;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 9px;
}

.banner-dots i {
    width: 5px;
    height: 5px;
    border-radius: 3px;
    background: #d8dce4;
    transition: .2s;
}

.banner-dots i.on {
    width: 14px;
    background: var(--pink);
}

/* live row */
.live-row {
    display: flex;
    gap: 10px;
    padding: 14px 16px 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.live-row::-webkit-scrollbar {
    display: none;
}

.live-card {
    flex: none;
    width: 148px;
    border-radius: 14px;
    padding: 12px;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ff7096, #ffa4bf);
}

.live-card:nth-child(2) {
    background: linear-gradient(135deg, #8d7cf6, #b4a7ff);
}

.live-card:nth-child(3) {
    background: linear-gradient(135deg, #f6a04d, #ffc978);
}

.live-card .lc-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-card .avatar {
    width: 38px;
    height: 38px;
    font-size: 15px;
    border: 1.5px solid rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .2);
}

.live-card .lc-name {
    font-size: 13px;
    font-weight: 700;
}

.live-card .lc-tag {
    font-size: 9.5px;
    opacity: .85;
    margin-top: 1px;
    max-width: 86px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.live-pill {
    position: absolute;
    right: 10px;
    top: 10px;
    background: rgba(255, 255, 255, .24);
    border: .5px solid rgba(255, 255, 255, .5);
    border-radius: 10px;
    font-size: 9px;
    padding: 1px 7px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.live-pill i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: .2;
    }
}

.live-card .lc-foot {
    margin-top: 10px;
    font-size: 10px;
    opacity: .92;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* notice */
.notice-bar {
    margin: 13px 16px 0;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 12px;
    color: #4b5260;
}

.notice-bar .nb-ico {
    color: var(--pink);
    flex: none;
    display: grid;
    place-items: center;
}

.notice-bar .nb-ico svg {
    width: 15px;
    height: 15px;
}

.notice-bar .nb-txt {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.notice-bar .nb-txt b {
    color: var(--pink);
    font-weight: 600;
    margin-right: 5px;
}

.notice-bar .nb-more {
    color: #b3b9c4;
    flex: none;
    font-size: 11px;
}

/* model strip */
.model-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 16px 6px;
    scrollbar-width: none;
}

.model-strip::-webkit-scrollbar {
    display: none;
}

.model-mini {
    width: 58px;
    flex: none;
    text-align: center;
}

.model-mini .avatar {
    width: 54px;
    height: 54px;
    margin: 0 auto;
    font-size: 20px;
    box-shadow: 0 6px 14px rgba(60, 40, 80, .1);
}

.model-mini .nm {
    font-size: 11.5px;
    margin-top: 6px;
    color: #3f4550;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.model-mini .tg {
    font-size: 9px;
    color: #b3b9c4;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-top: 1px;
}

/* chips */
.chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 16px 8px;
    scrollbar-width: none;
}

.chips::-webkit-scrollbar {
    display: none;
}

.chip {
    flex: none;
    padding: 6px 15px;
    border-radius: 18px;
    background: #fff;
    color: #59606d;
    font-size: 12px;
    border: 1px solid transparent;
    transition: .15s;
}

.chip.on {
    background: var(--pink-l);
    border-color: var(--pink-line);
    color: var(--pink);
    font-weight: 600;
}

/* course row */
.course-row {
    display: flex;
    gap: 11px;
    background: #fff;
    border-radius: var(--radius);
    padding: 10px;
    margin: 0 16px 10px;
    box-shadow: 0 4px 14px rgba(48, 34, 74, .04);
}

.course-row .thumb {
    width: 116px;
    height: 80px;
    border-radius: 9px;
    overflow: hidden;
    flex: none;
    position: relative;
    background: var(--grad-soft);
}

.course-row .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-dur {
    position: absolute;
    right: 5px;
    bottom: 5px;
    background: rgba(0, 0, 0, .48);
    color: #fff;
    font-size: 9.5px;
    border-radius: 4px;
    padding: 1px 6px;
    z-index: 2;
}

.badge-free {
    position: absolute;
    left: 5px;
    top: 5px;
    background: var(--pink);
    color: #fff;
    font-size: 9.5px;
    border-radius: 4px;
    padding: 1px 6px;
    z-index: 2;
}

.course-row .info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 13.5px;
    line-height: 1.45;
    font-weight: 600;
    color: #262b33;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}

.course-sub {
    font-size: 10.5px;
    color: #a3a9b4;
    margin-top: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.course-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 6px;
}

.price {
    color: var(--pink);
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
}

.price small {
    font-size: 10px;
    font-weight: 700;
}

.price .ori {
    color: #b7bdc8;
    font-size: 10px;
    font-weight: 400;
    text-decoration: line-through;
    margin-left: 3px;
}

.sales {
    margin-left: auto;
    font-size: 10px;
    color: #b0b6c1;
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.sales svg {
    width: 10px;
    height: 10px;
    color: #ff8a5b;
}

.tag-pill {
    font-size: 9.5px;
    padding: 1px 6px;
    border-radius: 4px;
    background: #f2f4f8;
    color: #7b8494;
    flex: none;
}

.tag-pill.gold {
    background: #fdf4e4;
    color: #b8862f;
}

.tag-pill.vip {
    background: #2b2530;
    color: #f0d29a;
}

/* course grid */
.course-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    padding: 0 16px;
}

.course-card {
    background: #fff;
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(48, 34, 74, .04);
}

.course-card .cover {
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
    background: var(--grad-soft);
}

.course-card .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card .body {
    padding: 8px 9px 10px;
}

.course-card .t {
    font-size: 12px;
    line-height: 1.42;
    height: 2.84em;
    color: #2c313a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}

.course-card .f {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 7px;
}

.course-card .f .price {
    font-size: 14px;
}

/* loading more */
.load-more {
    padding: 16px 0 8px;
    text-align: center;
    font-size: 12px;
    color: #b3b9c4;
}

/* ---------- list / filter ---------- */
.search-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f4f5f8;
    border-radius: 20px;
    padding: 8px 13px;
    min-width: 0;
}

.search-box svg {
    width: 15px;
    height: 15px;
    color: #a7adb8;
    flex: none;
}

.search-box input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: var(--ink);
    min-width: 0;
}

.search-box input::placeholder {
    color: #b3b9c4;
}

.search-btn {
    color: var(--pink);
    font-size: 13px;
    font-weight: 600;
    flex: none;
    padding: 4px 2px;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 14px 10px;
    background: #fff;
    border-bottom: 1px solid #f6f7fa;
}

.cat-select {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f4f5f8;
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 12.5px;
    color: #59606d;
    flex: none;
}

.cat-select svg {
    width: 11px;
    height: 11px;
    color: #9aa1ad;
}

.sort-chips {
    display: flex;
    gap: 14px;
    margin-left: auto;
    font-size: 12.5px;
    color: #7b8494;
    overflow-x: auto;
    scrollbar-width: none;
}

.sort-chips::-webkit-scrollbar {
    display: none;
}

.sort-chips span {
    flex: none;
    padding: 2px 0;
}

.sort-chips span.on {
    color: var(--pink);
    font-weight: 600;
}

.list-wrap {
    padding-top: 12px;
}

/* ---------- models ---------- */
.model-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: var(--radius);
    margin: 0 16px 10px;
    padding: 12px;
}

.model-item .avatar {
    width: 54px;
    height: 54px;
    font-size: 20px;
}

.model-item .mi-body {
    flex: 1;
    min-width: 0;
}

.model-item .mi-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
}

.model-item .mi-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}

.model-item .mi-tags i {
    font-style: normal;
    font-size: 9.5px;
    background: #f4f5f8;
    color: #7b8494;
    border-radius: 4px;
    padding: 1px 6px;
}

.model-item .mi-bio {
    font-size: 11px;
    color: #a3a9b4;
    margin-top: 6px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.model-item .arrow {
    color: #c6cbd4;
    flex: none;
}

.model-item .arrow svg {
    width: 15px;
    height: 15px;
}

/* model profile */
.model-hero {
    position: relative;
    padding: 22px 18px 54px;
    background: linear-gradient(135deg, #ff6b6f 0%, #ff917f 55%, #ffc2a8 100%);
    color: #fff;
    overflow: hidden;
}

.model-hero::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    right: -60px;
    top: -70px;
    background: rgba(255, 255, 255, .14);
}

.model-hero .mh-back {
    position: absolute;
    left: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: grid;
    place-items: center;
    color: #fff;
    z-index: 3;
}

.model-hero .mh-back svg {
    width: 18px;
    height: 18px;
}

.model-hero .mh-main {
    display: flex;
    gap: 14px;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-top: 22px;
}

.model-hero .avatar {
    width: 72px;
    height: 72px;
    font-size: 27px;
    border: 2px solid rgba(255, 255, 255, .8);
    box-shadow: 0 8px 20px rgba(120, 30, 60, .2);
}

.model-hero .mh-info {
    flex: 1;
    min-width: 0;
}

.model-hero h1 {
    margin: 0;
    font-size: 19px;
    letter-spacing: .5px;
}

.model-hero .mh-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
}

.model-hero .mh-tags i {
    font-style: normal;
    font-size: 9.5px;
    background: rgba(255, 255, 255, .18);
    border: .5px solid rgba(255, 255, 255, .35);
    border-radius: 10px;
    padding: 1.5px 8px;
}

.model-hero .mh-bio {
    font-size: 11.5px;
    opacity: .92;
    margin-top: 9px;
    line-height: 1.6;
}

.model-follow {
    position: absolute;
    right: 18px;
    top: 46px;
    z-index: 3;
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
    border-radius: 18px;
    padding: 6px 15px;
    font-size: 12px;
}

.model-follow.on {
    background: #fff;
    color: var(--pink);
}

.model-stats {
    position: relative;
    z-index: 4;
    margin: -38px 16px 0;
    background: #fff;
    border-radius: 14px;
    padding: 14px 0;
    display: flex;
    box-shadow: var(--shadow);
    text-align: center;
}

.model-stats .ms {
    flex: 1;
    border-right: 1px solid #f4f5f8;
}

.model-stats .ms:last-child {
    border-right: 0;
}

.model-stats .num {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}

.model-stats .lbl {
    font-size: 10.5px;
    color: #9aa1ad;
    margin-top: 3px;
}

/* ---------- detail ---------- */
.detail-page {
    padding-bottom: 76px;
}

.detail-hero {
    position: relative;
    aspect-ratio: 16/10;
    background: #17181f;
    overflow: hidden;
}

.detail-hero .hero-img {
    position: absolute;
    inset: 0;
}

.detail-hero .hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero .hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .45));
    z-index: 1;
}

.detail-hero .hero-back {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .32);
    color: #fff;
    display: grid;
    place-items: center;
    backdrop-filter: blur(4px);
}

.detail-hero .hero-back svg {
    width: 18px;
    height: 18px;
}

.hero-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    border: 1px solid rgba(255, 255, 255, .55);
    display: grid;
    place-items: center;
    color: #fff;
    backdrop-filter: blur(4px);
}

.hero-play svg {
    width: 22px;
    height: 22px;
    margin-left: 2px;
}

.hero-lock {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 2;
    background: rgba(0, 0, 0, .42);
    color: #fff;
    font-size: 10.5px;
    border-radius: 12px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
}

.hero-lock svg {
    width: 11px;
    height: 11px;
}

.detail-sheet {
    position: relative;
    z-index: 4;
    margin-top: -20px;
    background: #fff;
    border-radius: 18px 18px 0 0;
    padding: 16px 16px 6px;
}

.detail-title {
    font-size: 19px;
    line-height: 1.5;
    font-weight: 800;
    letter-spacing: .3px;
    word-break: break-all;
    color: #14171c;
}

.detail-sub {
    font-size: 12.5px;
    color: #939aa6;
    margin-top: 8px;
    line-height: 1.65;
}

.detail-price-row {
    display: flex;
    align-items: flex-end;
    gap: 9px;
    margin-top: 14px;
}

.detail-price {
    color: var(--pink);
    font-weight: 800;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.5px;
}

.detail-price small {
    font-size: 14px;
}

.detail-price-row .ori {
    color: #b7bdc8;
    font-size: 12.5px;
    text-decoration: line-through;
    margin-bottom: 3px;
}

.detail-price-row .dsales {
    margin-left: auto;
    font-size: 12px;
    color: #a7adb8;
    margin-bottom: 3px;
    font-weight: 600;
}

/* 课程标签：普课 / VIP 免费 / 丝袜类 / 支持试看 */
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.detail-tags span {
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #626b7a;
    background: linear-gradient(180deg, #f7f8fb, #eff1f6);
    border: 1px solid #e6e9f0;
    border-radius: 6px;
    padding: 5px 11px;
    letter-spacing: .3px;
    box-shadow: 0 1px 2px rgba(20, 30, 60, .04);
}

.detail-tags span.t-tag {
    color: #fff;
    background: linear-gradient(120deg, #ff8a9d, #f5344f);
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(245, 52, 79, .28);
}

.detail-tags span.t-vip {
    color: #8a5a12;
    background: linear-gradient(120deg, #ffe6a8, #ffc95c);
    border-color: #f3c877;
    box-shadow: 0 3px 10px rgba(240, 180, 60, .24);
}

.detail-tags span.t-cat {
    color: #fff;
    background: linear-gradient(120deg, #7c9dff, #4a6cf7);
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(74, 108, 247, .24);
}

.detail-tags span.t-free {
    color: #0f7a5a;
    background: linear-gradient(120deg, #d3f7e6, #a9edcd);
    border-color: #8fdcc0;
    box-shadow: 0 3px 10px rgba(16, 185, 129, .2);
}

.detail-tags span.t-owned {
    color: #fff;
    background: linear-gradient(120deg, #ffa45c, #ff7a2e);
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(255, 122, 46, .26);
}

.detail-tabs {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    gap: 34px;
    background: #fff;
    padding: 14px 18px 0;
    border-bottom: 1px solid var(--line);
    margin: 8px -16px 0;
}

.detail-tab {
    font-size: 17px;
    font-weight: 800;
    color: #8b929e;
    padding-bottom: 11px;
    position: relative;
    letter-spacing: 1px;
}

.detail-tab.on {
    color: #14171c;
    font-weight: 800;
}

.detail-tab.on::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 26px;
    height: 4px;
    border-radius: 3px;
    background: var(--pink);
}

.detail-panel {
    padding: 14px 0 10px;
}

.stat-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 2px 0 14px;
    font-size: 12.5px;
    color: #7f8794;
    border-bottom: 1px dashed #eceef3;
    margin-bottom: 16px;
}

.stat-line b {
    color: #14171c;
    font-weight: 800;
    font-size: 14px;
}

.model-card {
    display: flex;
    align-items: center;
    gap: 11px;
    background: #fafbfd;
    border-radius: 12px;
    padding: 11px;
    margin-bottom: 14px;
}

.model-card .avatar {
    width: 46px;
    height: 46px;
    font-size: 17px;
}

.model-card .mc-name {
    font-size: 14.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}

.model-card .mc-tags {
    font-size: 11px;
    color: #9aa1ae;
    margin-top: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.model-card .mc-go {
    margin-left: auto;
    color: #b3b9c4;
    flex: none;
}

.model-card .mc-go svg {
    width: 15px;
    height: 15px;
}

.detail-content {
    font-size: 15px;
    line-height: 2;
    color: #3f4652;
    white-space: normal;
    word-break: break-word;
    letter-spacing: .2px;
}

.detail-content strong,
.detail-content b {
    font-weight: 800;
    color: #14171c;
}

.detail-content h1,
.detail-content h2,
.detail-content h3 {
    color: #14171c;
    font-weight: 800;
    line-height: 1.5;
    margin: 14px 0 8px;
}

.detail-content h1 {
    font-size: 19px;
}

.detail-content h2 {
    font-size: 17px;
}

.detail-content h3 {
    font-size: 15.5px;
}

.detail-content img,
.product-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 10px auto;
}

.detail-content video,
.product-content video {
    width: 100%;
    border-radius: 8px;
    background: #000;
    margin: 10px 0;
}

.detail-content p,
.product-content p {
    margin: 8px 0;
}

.detail-content ul,
.detail-content ol,
.product-content ul,
.product-content ol {
    padding-left: 22px;
    margin: 8px 0;
}

.detail-content a,
.product-content a {
    color: var(--pink);
    text-decoration: underline;
}

.chapter-head {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    font-weight: 700;
    color: #79818f;
    padding: 2px 0 12px;
}

.chapter {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px 2px;
    border-bottom: 1px solid #f4f5f8;
}

.chapter:last-child {
    border-bottom: 0;
}

.chapter .idx {
    width: 28px;
    flex: none;
    font-size: 13px;
    font-weight: 700;
    color: #bcc2cc;
    text-align: center;
}

.chapter .ct {
    flex: 1;
    min-width: 0;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.55;
    color: #1f2329;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.chapter .free-tag {
    font-size: 10.5px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(120deg, #ff8a9d, #f5344f);
    border-radius: 4px;
    padding: 1px 6px;
    flex: none;
    box-shadow: 0 2px 6px rgba(245, 52, 79, .26);
}

.chapter .dur {
    font-size: 11.5px;
    font-weight: 600;
    color: #aab0bb;
    flex: none;
}

.chapter .lock {
    color: #c6cbd4;
    flex: none;
    display: grid;
    place-items: center;
}

.chapter .lock svg {
    width: 15px;
    height: 15px;
}

.chapter.locked .ct {
    color: #6b7280;
}

.chapter.active .idx {
    color: var(--pink);
    font-weight: 800;
}

.rail {
    position: fixed;
    right: max(12px, calc(50% - 240px + 12px));
    bottom: 118px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.rail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #fff;
    font-size: 9.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

.rail-item .ri {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(22, 24, 30, .42);
    backdrop-filter: blur(6px);
    display: grid;
    place-items: center;
    border: .5px solid rgba(255, 255, 255, .18);
}

.rail-item .ri svg {
    width: 19px;
    height: 19px;
}

.rail-item.on .ri {
    color: var(--pink);
    background: rgba(255, 255, 255, .94);
}

.buy-bar {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    z-index: 110;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #f2f3f7;
    padding: 9px 14px calc(9px + var(--safe-b));
    display: flex;
    align-items: center;
    gap: 10px;
}

.buy-bar .bb-price {
    flex: none;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.buy-bar .bb-price b {
    color: var(--pink);
    font-size: 20px;
    font-weight: 800;
}

.buy-bar .bb-price small {
    color: #a3a9b4;
    font-size: 10px;
}

.buy-bar .bb-cart {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    font-size: 9.5px;
    color: #7b8494;
    padding: 0 4px;
}

.buy-bar .bb-cart svg {
    width: 21px;
    height: 21px;
}

.buy-bar .bb-btns {
    flex: 1;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-buy {
    flex: none;
    min-width: 108px;
    padding: 11px 24px;
    border-radius: 24px;
    background: var(--grad);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 8px 18px rgba(255, 77, 136, .24);
}

.btn-cart {
    flex: none;
    padding: 10px 20px;
    border-radius: 24px;
    background: #fff3f7;
    color: var(--pink);
    font-size: 13.5px;
    font-weight: 700;
    border: 1px solid var(--pink-line);
}

.btn-buy.disabled {
    background: #e9ebf0;
    color: #9aa1ad;
    box-shadow: none;
}

/* ---------- shop ---------- */
.shop-page {
    background: #f5f5f7;
    padding-bottom: 16px;
}

.shop-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: linear-gradient(115deg, #ff93b0, #ff4763 70%, #f5344f);
    position: sticky;
    top: 0;
    z-index: 20;
}

.sh-back {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    display: grid;
    place-items: center;
    flex: none;
}

.sh-back svg {
    width: 17px;
    height: 17px;
}

.sh-search {
    flex: 1;
    height: 36px;
    border-radius: 999px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
}

.sh-search svg {
    width: 16px;
    height: 16px;
    color: #c3c8d1;
    flex: none;
}

.sh-search input {
    flex: 1;
    border: 0;
    outline: none;
    background: none;
    font-size: 13px;
    color: #2c313a;
}

.sh-search input::placeholder {
    color: #b8bcc6;
}

.sh-cart {
    position: relative;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #fff;
    flex: none;
}

.sh-cart svg {
    width: 22px;
    height: 22px;
}

.sh-badge {
    position: absolute;
    right: -4px;
    top: -3px;
    min-width: 15px;
    height: 15px;
    border-radius: 999px;
    background: #fff;
    color: #f5344f;
    font-size: 9.5px;
    font-weight: 800;
    font-style: normal;
    display: grid;
    place-items: center;
    padding: 0 3px;
}

.shop-banners {
    margin: 10px 12px 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #fff;
}

.sb-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.sb-track::-webkit-scrollbar {
    display: none;
}

.sb-slide {
    flex: none;
    width: 100%;
    aspect-ratio: 2 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f2f3f7;
}

.sb-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sb-slide .ph {
    height: 100%;
}

.sb-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    display: flex;
    justify-content: center;
    gap: 5px;
    pointer-events: none;
}

.sb-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .65);
    box-shadow: 0 0 4px rgba(0, 0, 0, .2);
}

.sb-dots i.on {
    width: 14px;
    border-radius: 3px;
    background: #fff;
}

.shop-sec-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 0 10px;
}

.shop-sec-title b {
    font-size: 16.5px;
    color: #e5484d;
    font-weight: 800;
    letter-spacing: 3px;
}

.st-deco {
    color: #e5484d;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1px;
    opacity: .9;
    transform: skewX(-14deg);
    display: inline-block;
}

.shop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 12px;
}

.shop-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.shop-cover {
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;
    background: var(--grad-soft);
}

.shop-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-card .b {
    padding: 8px 9px 10px;
}

.shop-card .st {
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 600;
    height: 2.9em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1f2329;
}

.shop-card .sf {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 6px;
}

.shop-card .sf-l {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.shop-card .sf .price {
    font-size: 17px;
    font-weight: 800;
    color: #e5484d;
}

.shop-card .sf .price small {
    font-size: 11px;
}

.shop-card .sf .ori {
    font-size: 10.5px;
    color: #b3b8c2;
    text-decoration: line-through;
}

.shop-card .sold {
    font-size: 10.5px;
    color: #a6abb5;
    padding-bottom: 2px;
}

.tag-corner {
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(120deg, #ff9a3d, #ff5b2e);
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 0 0 10px 0;
    z-index: 2;
}

/* product detail */
.product-hero {
    aspect-ratio: 1/1;
    background: var(--grad-soft);
    position: relative;
    overflow: hidden;
}

.product-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-body {
    background: #fff;
    border-radius: 16px 16px 0 0;
    margin-top: -16px;
    position: relative;
    padding: 16px;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.product-price-row .price {
    font-size: 28px;
    font-weight: 800;
}

.product-price-row .ori {
    color: #b7bdc8;
    text-decoration: line-through;
    font-size: 12.5px;
}

.product-price-row .sold {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: #a7adb8;
}

.product-title {
    margin: 10px 0 0;
    font-size: 18.5px;
    font-weight: 800;
    line-height: 1.5;
    color: #14171c;
}

.product-sub {
    color: #939aa6;
    font-size: 13px;
    margin-top: 6px;
}

.spec-rows {
    margin-top: 16px;
    border-top: 1px solid #f4f5f8;
}

.spec-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #f4f5f8;
    font-size: 13.5px;
}

.spec-row .k {
    color: #939aa6;
    flex: none;
    width: 42px;
}

.spec-row .v {
    flex: 1;
    color: #1f2329;
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.spec-row .arrow {
    color: #c6cbd4;
    flex: none;
}

.spec-row .arrow svg {
    width: 14px;
    height: 14px;
}

.spec-actions {
    display: flex;
    gap: 26px;
    padding: 12px 0 4px;
}

.spec-actions .sa {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: #7b8494;
}

.spec-actions .sa svg {
    width: 15px;
    height: 15px;
}

.spec-actions .sa.on {
    color: var(--pink);
}

.product-content {
    background: #fff;
    margin: 10px 0 0;
    padding: 16px;
    font-size: 14.5px;
    line-height: 1.95;
    color: #3f4652;
    white-space: normal;
    word-break: break-word;
}

.product-content h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    color: #14171c;
}

/* ---------- vip ---------- */
.vip-hero {
    position: relative;
    padding: 22px 18px 56px;
    background: linear-gradient(135deg, #26212c 0%, #4b3544 55%, #7d4d60 100%);
    color: #f4e3c2;
    overflow: hidden;
}

.vip-hero::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    right: -80px;
    top: -100px;
    background: radial-gradient(circle, rgba(233, 201, 138, .3), transparent 68%);
}

.vip-hero h2 {
    margin: 0;
    font-size: 19px;
    letter-spacing: 2px;
    font-weight: 800;
    color: #f4e3c2;
}

.vh-top {
    display: flex;
    align-items: center;
    gap: 9px;
    position: relative;
    z-index: 3;
}

.vh-back {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(233, 201, 138, .4);
    color: #f4e3c2;
    display: grid;
    place-items: center;
    flex: none;
}

.vh-back svg {
    width: 16px;
    height: 16px;
}

.vip-hero .vh-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    position: relative;
    z-index: 2;
}

.vip-hero .avatar {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(233, 201, 138, .5);
    color: #f4e3c2;
}

.vip-hero .vu-name {
    font-size: 15px;
    font-weight: 700;
}

.vip-hero .vu-sub {
    font-size: 10.5px;
    color: rgba(244, 227, 194, .65);
    margin-top: 3px;
}

.vip-hero .vu-login {
    margin-left: auto;
    border: 1px solid rgba(233, 201, 138, .55);
    color: #f4e3c2;
    border-radius: 18px;
    padding: 6px 15px;
    font-size: 12px;
}

.vip-stats {
    position: relative;
    z-index: 4;
    margin: -40px 16px 0;
    background: #fff;
    border-radius: 14px;
    padding: 15px 0;
    display: flex;
    box-shadow: var(--shadow);
    text-align: center;
}

.vip-stats .vs {
    flex: 1;
    border-right: 1px solid #f4f5f8;
}

.vip-stats .vs:last-child {
    border-right: 0;
}

.vip-stats .num {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
}

.vip-stats .lbl {
    font-size: 10.5px;
    color: #9aa1ad;
    margin-top: 3px;
}

.vip-sec {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 20px 18px 10px;
}

.vip-sec h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}

.vip-sec span {
    font-size: 10.5px;
    color: #b3b9c4;
}

.plan-scroll {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding: 2px 16px 8px;
    scrollbar-width: none;
}

.plan-scroll::-webkit-scrollbar {
    display: none;
}

.plan {
    flex: none;
    width: 138px;
    background: #fff;
    border-radius: 15px;
    border: 1.5px solid transparent;
    padding: 16px 12px 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.plan.on {
    border-color: #e2c184;
    background: linear-gradient(180deg, #fffdf7, #fff);
    box-shadow: 0 10px 22px rgba(180, 140, 60, .12);
}

.plan .hot {
    position: absolute;
    right: 0;
    top: 0;
    background: linear-gradient(120deg, #d9a755, #eac57e);
    color: #4a3410;
    font-size: 9px;
    padding: 2px 9px;
    border-radius: 0 13px 0 10px;
}

.plan .pn {
    font-size: 12.5px;
    font-weight: 700;
    color: #3f4550;
}

.plan .pp {
    margin-top: 8px;
    font-size: 24px;
    font-weight: 800;
    color: #a2762e;
    line-height: 1;
}

.plan .pp small {
    font-size: 11px;
    font-weight: 600;
}

.plan .po {
    font-size: 10px;
    color: #c3b8a4;
    text-decoration: line-through;
    margin-top: 4px;
}

.plan .pd {
    font-size: 10px;
    color: #a1957f;
    margin-top: 8px;
    line-height: 1.5;
}

.plan .pla {
    font-size: 8.5px;
    color: #b8862f;
    margin-top: 4px;
    opacity: .8;
}

.vip-coupon {
    background: #fff;
    margin: 6px 16px 0;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    font-size: 13px;
}

.vip-coupon .vc-l {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.vip-coupon .vc-l svg {
    width: 17px;
    height: 17px;
    color: var(--pink);
}

.vip-coupon .vc-r {
    margin-left: auto;
    color: #b3b9c4;
    font-size: 11.5px;
}

.vip-agree {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 18px 6px;
    font-size: 11px;
    color: #8a919e;
    line-height: 1.6;
}

.vip-agree a {
    color: var(--pink);
}

.vip-tip {
    padding: 8px 18px 0;
    font-size: 10.5px;
    color: #b3b9c4;
    line-height: 1.7;
}

.vip-bar {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid #f2f3f7;
    padding: 9px 14px calc(9px + var(--safe-b));
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 110;
}

.vip-bar .vb-price {
    flex: 1;
    line-height: 1.25;
}

.vip-bar .vb-price b {
    font-size: 20px;
    color: #a2762e;
    font-weight: 800;
}

.vip-bar .vb-price small {
    font-size: 10px;
    color: #b3b9c4;
}

.vip-bar .btn-primary {
    width: auto;
    min-width: 132px;
    flex: none;
    padding: 11px 26px;
}

/* checkbox */
.ck {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid #d5dae2;
    flex: none;
    display: grid;
    place-items: center;
    margin-top: 1px;
}

.ck.on {
    background: var(--pink);
    border-color: var(--pink);
}

.ck.on::after {
    content: "";
    width: 7px;
    height: 4px;
    border-left: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
}

/* ---------- payments ---------- */
.pay-amount {
    text-align: center;
    padding: 2px 0 14px;
    color: #4b5260;
}

.pay-amount b {
    font-size: 32px;
    font-weight: 800;
    color: var(--ink);
}

.pay-amount b small {
    font-size: 15px;
}

.pay-amount p {
    margin: 6px 0 0;
    font-size: 11px;
    color: #a3a9b4;
}

.pm {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 2px;
    border-bottom: 1px solid #f6f7fa;
    font-size: 13.5px;
}

.pm .pi {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    flex: none;
}

.pm .pi.wechat {
    background: #22c55e;
}

.pm .pi.alipay {
    background: #1677ff;
}

.pm .pi.balance {
    background: #f0a020;
}

.pm .pn {
    flex: 1;
}

.pm .pn small {
    display: block;
    font-size: 10px;
    color: #a3a9b4;
    margin-top: 1px;
}

.pm .pk {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 1px solid #d5dae2;
    flex: none;
    display: grid;
    place-items: center;
}

.pm.on .pk {
    border-color: var(--pink);
    background: var(--pink);
}

.pm.on .pk::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

.pay-submit {
    margin-top: 18px;
}

.pay-tip {
    text-align: center;
    font-size: 10.5px;
    color: #b3b9c4;
    margin-top: 12px;
    line-height: 1.7;
}

.success-pop {
    text-align: center;
    padding: 6px 0 4px;
}

.success-pop .ring {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #ecfdf3;
    color: var(--green);
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
}

.success-pop .ring svg {
    width: 30px;
    height: 30px;
}

.success-pop h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.success-pop p {
    margin: 0;
    font-size: 11.5px;
    color: #a3a9b4;
}

/* ---------- mine ---------- */
.mine-head {
    position: relative;
    padding: 20px 18px 56px;
    background: linear-gradient(135deg, #ff6b6f 0%, #ff8f7f 58%, #ffc7b2 100%);
    color: #fff;
    overflow: hidden;
}

.mine-head::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    right: -60px;
    top: -80px;
    background: rgba(255, 255, 255, .14);
}

.mine-user {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.mine-user .avatar {
    width: 58px;
    height: 58px;
    font-size: 22px;
    border: 2px solid rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .18);
}

.mine-info {
    flex: 1;
    min-width: 0;
}

.mine-name {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 17px;
    font-weight: 700;
}

.vip-badge {
    font-size: 9px;
    background: linear-gradient(120deg, #e3bd75, #f4dda6);
    color: #5c4318;
    border-radius: 4px;
    padding: 1.5px 6px;
    font-weight: 700;
    letter-spacing: .5px;
}

.vip-badge.gray {
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-weight: 400;
}

.mine-phone {
    font-size: 11px;
    opacity: .82;
    margin-top: 4px;
}

.btn-checkin {
    margin-left: auto;
    flex: none;
    background: rgba(255, 255, 255, .22);
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
    border-radius: 18px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
}

.mine-stats {
    position: relative;
    z-index: 4;
    margin: -40px 16px 0;
    background: #fff;
    border-radius: 14px;
    padding: 14px 0;
    display: flex;
    box-shadow: var(--shadow);
    text-align: center;
}

.mine-stats .ms {
    flex: 1;
    border-right: 1px solid #f4f5f8;
}

.mine-stats .ms:last-child {
    border-right: 0;
}

.mine-stats .num {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
}

.mine-stats .lbl {
    font-size: 10.5px;
    color: #9aa1ad;
    margin-top: 3px;
}

.panel {
    background: #fff;
    border-radius: 14px;
    margin: 12px 16px 0;
    padding: 4px 14px 8px;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 2px 8px;
    font-size: 13.5px;
    font-weight: 700;
}

.panel-head .ph-more {
    font-size: 10.5px;
    color: #b3b9c4;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 2px;
}

.grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 16px;
    padding: 4px 0 10px;
}

.grid4 .gitem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;
    color: #4b5260;
    position: relative;
}

.grid4 .gi {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #f6f7fb;
    color: #7b8494;
}

.grid4 .gi svg {
    width: 19px;
    height: 19px;
}

.grid4 .gi.pink {
    background: #fff0f5;
    color: #ff6a97;
}

.grid4 .gi.blue {
    background: #eef4ff;
    color: #5b8def;
}

.grid4 .gi.green {
    background: #ecfdf3;
    color: #16a34a;
}

.grid4 .gi.amber {
    background: #fff8e8;
    color: #d99a2b;
}

.grid4 .gi.purple {
    background: #f4f0ff;
    color: #8b6cf0;
}

.grid4 .gitem .gdot {
    position: absolute;
    top: -2px;
    right: 10px;
    min-width: 14px;
    height: 14px;
    border-radius: 7px;
    background: var(--pink);
    color: #fff;
    font-size: 8.5px;
    line-height: 14px;
    text-align: center;
    padding: 0 3px;
}

.cell-list {
    background: #fff;
    border-radius: 14px;
    margin: 12px 16px 0;
    padding: 0 14px;
}

.cell {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13.5px 2px;
    border-bottom: 1px solid #f7f8fa;
    font-size: 13px;
    color: #3f4550;
}

.cell:last-child {
    border-bottom: 0;
}

.cell .cico {
    width: 19px;
    height: 19px;
    color: #8a919f;
    flex: none;
}

.cell .cico svg {
    width: 19px;
    height: 19px;
}

.cell .cval {
    margin-left: auto;
    font-size: 11.5px;
    color: #b3b9c4;
    display: flex;
    align-items: center;
    gap: 3px;
}

.cell .cval svg {
    width: 13px;
    height: 13px;
    color: #c6cbd4;
}

.cell.pink {
    color: var(--pink);
    justify-content: center;
    font-size: 13.5px;
    font-weight: 600;
}

.mine-logout {
    margin: 18px 16px 26px;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    color: #e5484d;
    font-size: 14px;
    font-weight: 600;
}

.login-cta {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.login-cta .avatar {
    width: 76px;
    height: 76px;
    font-size: 30px;
    background: #e9ecf2;
    color: #b3b9c4;
}

.login-cta p {
    color: #9aa1ad;
    font-size: 13px;
    margin: 16px 0 20px;
}

.login-cta .btn-primary {
    width: 220px;
}

/* ---------- login ---------- */
.login-page {
    min-height: 100vh;
    background: #fff;
    padding: 0 26px 34px;
}

.login-logo {
    width: 66px;
    height: 66px;
    border-radius: 19px;
    background: var(--grad);
    color: #fff;
    font-size: 31px;
    font-weight: 800;
    display: grid;
    place-items: center;
    margin: 52px auto 12px;
    box-shadow: 0 12px 26px rgba(255, 77, 136, .3);
}

.login-title {
    text-align: center;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .5px;
}

.login-sub {
    text-align: center;
    font-size: 11px;
    color: #b3b9c4;
    margin-top: 6px;
    letter-spacing: .5px;
}

.login-tabs {
    display: flex;
    justify-content: center;
    gap: 34px;
    margin: 30px 0 8px;
}

.login-tab {
    font-size: 15.5px;
    color: #9aa1ad;
    padding-bottom: 8px;
    position: relative;
}

.login-tab.on {
    color: var(--ink);
    font-weight: 700;
}

.login-tab.on::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 20px;
    height: 3px;
    border-radius: 3px;
    background: var(--pink);
}

.field-line {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eef0f4;
    padding: 14px 0;
}

.field-line .cc {
    font-size: 14px;
    color: #3f4550;
    padding-right: 10px;
    margin-right: 12px;
    border-right: 1px solid #eef0f4;
    flex: none;
}

.field-line input {
    flex: 1;
    border: 0;
    outline: none;
    font-size: 15px;
    color: var(--ink);
    background: transparent;
    min-width: 0;
}

.field-line input::placeholder {
    color: #c0c5ce;
}

.code-btn {
    flex: none;
    color: var(--pink);
    font-size: 12.5px;
    font-weight: 600;
    padding-left: 10px;
}

.code-btn[disabled] {
    color: #c0c5ce;
    font-weight: 400;
}

.login-agree {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 18px;
    font-size: 10.5px;
    color: #9aa1ad;
    line-height: 1.7;
}

.login-agree a {
    color: var(--pink);
}

.login-submit {
    margin-top: 24px;
}

.login-switch {
    text-align: center;
    font-size: 12.5px;
    color: #9aa1ad;
    margin-top: 20px;
}

.login-switch a {
    color: var(--pink);
    font-weight: 600;
}

.login-tip {
    text-align: center;
    font-size: 10.5px;
    color: #c6cbd4;
    margin-top: 40px;
    line-height: 1.9;
}

.login-tip b {
    color: #a3a9b4;
    font-weight: 600;
}

/* ---------- play ---------- */
.play-page {
    background: #0c0e13;
    min-height: 100vh;
    padding-bottom: 26px;
}

.play-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: #fff;
}

.play-head .ph-back {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    display: grid;
    place-items: center;
    color: #fff;
    flex: none;
}

.play-head .ph-back svg {
    width: 18px;
    height: 18px;
}

.play-head .ph-t {
    flex: 1;
    font-size: 13.5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.player {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    position: relative;
    display: grid;
    place-items: center;
    color: #7d8494;
}

.player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.player iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.player-ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
}

.player-ph .pp-ico {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    display: grid;
    place-items: center;
    color: #aab0bb;
}

.player-ph .pp-ico svg {
    width: 24px;
    height: 24px;
}

.paywall {
    padding: 34px 24px;
    text-align: center;
    color: #9aa1ad;
    background: #0c0e13;
}

.paywall .pw-lock {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    color: #c6cbd4;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
}

.paywall .pw-lock svg {
    width: 22px;
    height: 22px;
}

.paywall h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: #fff;
}

.paywall p {
    margin: 0 0 18px;
    font-size: 11.5px;
    line-height: 1.7;
}

.paywall .btn-primary {
    width: 190px;
    margin: 0 auto;
    font-size: 13.5px;
    padding: 11px;
}

.play-body {
    background: var(--bg);
    border-radius: 16px 16px 0 0;
    margin-top: -2px;
    position: relative;
    padding: 0 0 20px;
}

.play-title {
    padding: 16px 16px 4px;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.5;
}

.play-meta {
    padding: 0 16px 12px;
    font-size: 10.5px;
    color: #a3a9b4;
}

.play-chapters {
    background: #fff;
    margin: 0 16px;
    border-radius: 14px;
    padding: 6px 14px 8px;
    box-shadow: var(--shadow);
}

.play-chapters .pc-head {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid #f6f7fa;
}

.play-chapters .pc-head span {
    font-size: 10.5px;
    color: #a3a9b4;
    font-weight: 400;
}

/* ---------- study ---------- */
.study-hero {
    position: relative;
    padding: 22px 18px 52px;
    background: linear-gradient(135deg, #6172f3 0%, #9b8cff 58%, #ffa8c5 100%);
    color: #fff;
    overflow: hidden;
}

.study-hero::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    right: -70px;
    top: -70px;
    background: rgba(255, 255, 255, .12);
}

.study-hero .sh-back {
    position: absolute;
    left: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    display: grid;
    place-items: center;
    z-index: 2;
}

.study-hero .sh-back svg {
    width: 18px;
    height: 18px;
}

.study-hero h2 {
    margin: 22px 0 0;
    font-size: 20px;
    letter-spacing: 1px;
}

.study-hero p {
    margin: 7px 0 0;
    font-size: 11px;
    opacity: .85;
}

.study-card {
    position: relative;
    z-index: 3;
    margin: -34px 16px 0;
    background: #fff;
    border-radius: 15px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.study-card .sc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
}

.study-card .sc-head span {
    font-size: 10.5px;
    color: #b3b9c4;
    font-weight: 400;
}

.study-block {
    margin-top: 14px;
}

.study-block .sb-title {
    font-size: 11px;
    color: #9aa1ad;
    margin-bottom: 8px;
}

.study-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.study-item {
    background: #f8f9fc;
    border-radius: 12px;
    padding: 12px;
}

.study-item .si-lbl {
    font-size: 10.5px;
    color: #9aa1ad;
}

.study-item .si-val {
    font-size: 20px;
    font-weight: 800;
    margin-top: 4px;
    color: #2c313a;
}

.study-item .si-val small {
    font-size: 10.5px;
    font-weight: 400;
    color: #a3a9b4;
    margin-left: 3px;
}

.study-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px dashed #f0f1f5;
    font-size: 12.5px;
    color: #4b5260;
}

.study-row:last-child {
    border-bottom: 0;
}

.study-row .sr-v {
    color: var(--pink);
    font-weight: 700;
}

/* ---------- orders / favorites / cart ---------- */
.order-tabs {
    display: flex;
    gap: 24px;
    background: #fff;
    padding: 12px 16px 0;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 52px;
    z-index: 40;
}

.order-tab {
    font-size: 13.5px;
    color: #7b8494;
    padding-bottom: 10px;
    position: relative;
}

.order-tab.on {
    color: var(--ink);
    font-weight: 700;
}

.order-tab.on::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 20px;
    height: 3px;
    border-radius: 3px;
    background: var(--pink);
}

.order-card {
    background: #fff;
    border-radius: var(--radius);
    margin: 12px 16px 0;
    padding: 13px 14px;
}

.order-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10.5px;
    color: #a3a9b4;
}

.order-status {
    font-size: 11.5px;
    font-weight: 600;
}

.order-status.paid {
    color: var(--green);
}

.order-status.wait {
    color: var(--pink);
}

.order-status.cancel {
    color: #b3b9c4;
}

.order-main {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.order-thumb {
    width: 62px;
    height: 62px;
    border-radius: 9px;
    overflow: hidden;
    flex: none;
    background: var(--grad-soft);
    position: relative;
}

.order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-info {
    flex: 1;
    min-width: 0;
}

.order-title {
    font-size: 12.5px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #2c313a;
}

.order-type {
    font-size: 9.5px;
    color: #a3a9b4;
    margin-top: 5px;
}

.order-foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f7f8fa;
}

.order-total {
    margin-right: auto;
    font-size: 11px;
    color: #9aa1ad;
}

.order-total b {
    color: var(--ink);
    font-size: 15px;
    margin-left: 2px;
}

.cart-item {
    display: flex;
    gap: 11px;
    background: #fff;
    border-radius: var(--radius);
    margin: 12px 16px 0;
    padding: 11px;
    align-items: center;
}

.cart-thumb {
    width: 72px;
    height: 72px;
    border-radius: 9px;
    overflow: hidden;
    flex: none;
    background: var(--grad-soft);
    position: relative;
}

.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-info {
    flex: 1;
    min-width: 0;
}

.cart-title {
    font-size: 12.5px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #2c313a;
}

.cart-bottom {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.cart-bottom .price {
    font-size: 15px;
}

.stepper {
    margin-left: auto;
    display: flex;
    align-items: center;
    border: 1px solid #eceef3;
    border-radius: 8px;
    overflow: hidden;
}

.stepper button {
    width: 26px;
    height: 25px;
    background: #f7f8fa;
    color: #565d69;
    font-size: 15px;
    line-height: 1;
}

.stepper span {
    width: 30px;
    text-align: center;
    font-size: 12px;
}

.cart-bar {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid #f2f3f7;
    padding: 9px 14px calc(9px + var(--safe-b));
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 110;
}

.cart-bar .cb-total {
    flex: 1;
    font-size: 11px;
    color: #7b8494;
}

.cart-bar .cb-total b {
    font-size: 19px;
    color: var(--pink);
    font-weight: 800;
    margin-left: 2px;
}

.cart-bar .btn-buy {
    min-width: 120px;
}

.addr-card {
    background: #fff;
    border-radius: var(--radius);
    margin: 12px 16px 0;
    padding: 14px;
}

.addr-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
}

.addr-top b {
    font-size: 14px;
}

.addr-top span {
    color: #7b8494;
    font-size: 12.5px;
}

.addr-top .def {
    font-size: 9px;
    color: var(--pink);
    border: .5px solid var(--pink-line);
    border-radius: 3px;
    padding: 0 4px;
}

.addr-detail {
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
    line-height: 1.6;
}

.addr-ops {
    display: flex;
    gap: 18px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f7f8fa;
    font-size: 11.5px;
    color: #8a919e;
}

.addr-ops span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.addr-ops svg {
    width: 13px;
    height: 13px;
}

.coupon {
    display: flex;
    margin: 12px 16px 0;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
}

.coupon .c-amt {
    width: 104px;
    flex: none;
    background: linear-gradient(135deg, #ff7b80, #e5484d);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.coupon .c-amt b {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.coupon .c-amt b small {
    font-size: 12px;
}

.coupon .c-amt span {
    font-size: 9.5px;
    opacity: .85;
}

.coupon .c-info {
    flex: 1;
    padding: 12px 14px;
    min-width: 0;
}

.coupon .c-title {
    font-size: 13px;
    font-weight: 600;
}

.coupon .c-date {
    font-size: 10px;
    color: #a3a9b4;
    margin-top: 6px;
}

.coupon.used {
    filter: grayscale(1);
    opacity: .7;
}

/* ---------- forms ---------- */
.form-card {
    background: #fff;
    border-radius: var(--radius);
    margin: 12px 16px 0;
    padding: 4px 14px;
}

.form-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid #f7f8fa;
}

.form-line:last-child {
    border-bottom: 0;
}

.form-line .fl-k {
    width: 74px;
    flex: none;
    font-size: 13px;
    color: #4b5260;
}

.form-line input,
.form-line textarea {
    flex: 1;
    border: 0;
    outline: none;
    font-size: 13px;
    color: var(--ink);
    background: transparent;
    resize: none;
    min-width: 0;
}

.form-line textarea {
    min-height: 90px;
    line-height: 1.7;
    padding: 2px 0;
}

.form-line .fl-tip {
    font-size: 10.5px;
    color: #b3b9c4;
    flex: none;
}

.form-submit {
    margin: 20px 16px 30px;
}

/* ---------- notice / article / empty ---------- */
.notice-item {
    background: #fff;
    border-radius: var(--radius);
    margin: 12px 16px 0;
    padding: 14px;
}

.notice-item .ni-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.5;
}

.notice-item .ni-date {
    font-size: 10px;
    color: #b3b9c4;
    margin-top: 6px;
}

.notice-item .ni-text {
    font-size: 11.5px;
    color: #8a919e;
    line-height: 1.8;
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article {
    background: #fff;
    margin: 12px 16px 0;
    border-radius: var(--radius);
    padding: 18px 16px;
}

.article h1 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.5;
}

.article .a-date {
    font-size: 10.5px;
    color: #b3b9c4;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f6f7fa;
}

.article .a-body {
    font-size: 13.5px;
    line-height: 2;
    color: #3f4550;
    white-space: pre-wrap;
    word-break: break-word;
}

.empty {
    padding: 64px 20px 40px;
    text-align: center;
    color: #b3b9c4;
    font-size: 12.5px;
}

.empty .e-ico {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #eef0f5;
    color: #cbd0d9;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
}

.empty .e-ico svg {
    width: 28px;
    height: 28px;
}

.empty p {
    margin: 0 0 16px;
    line-height: 1.7;
}

.site-footer {
    text-align: center;
    font-size: 10.5px;
    color: #b3b9c4;
    line-height: 1.9;
    padding: 26px 24px 30px;
}

.site-footer a {
    color: #a3a9b4;
}

.site-footer b {
    font-weight: 600;
    color: #9aa1ad;
}

/* ---------- misc ---------- */
.row-line {
    height: 10px;
}

.hero-back {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .32);
    color: #fff;
    display: grid;
    place-items: center;
    backdrop-filter: blur(4px);
}

.hero-back svg {
    width: 18px;
    height: 18px;
}

.copy-btn {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f5f6f9;
    color: #7b8494;
    display: grid;
    place-items: center;
}

.copy-btn svg {
    width: 14px;
    height: 14px;
}

.back-top {
    position: fixed;
    left: max(12px, calc(50% - 240px + 12px));
    right: auto;
    bottom: calc(88px + var(--safe-b));
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: var(--pink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(60, 40, 80, .16);
    border: 1px solid #ffe0ea;
    z-index: 95;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: .2s;
}

.back-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.recharge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.recharge-item {
    background: #f8f9fc;
    border: 1.5px solid transparent;
    border-radius: 12px;
    padding: 14px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.recharge-item b {
    font-size: 18px;
    font-weight: 800;
    color: #2c313a;
}

.recharge-item span {
    font-size: 9.5px;
    color: #a3a9b4;
}

.recharge-item.on {
    border-color: var(--pink);
    background: #fff5f8;
}

.recharge-item.on b {
    color: var(--pink);
}

.recharge-item.on span {
    color: var(--pink);
}

.safe-bottom {
    height: calc(30px + var(--safe-b));
}

.error-box {
    padding: 60px 30px;
    text-align: center;
    color: #9aa1ad;
    font-size: 13px;
    line-height: 1.9;
}

.error-box b {
    display: block;
    font-size: 15px;
    color: #4b5260;
    margin-bottom: 6px;
}

@media (max-width: 360px) {
    .course-row .thumb {
        width: 100px;
        height: 72px;
    }

    .plan {
        width: 128px;
    }

    .grid4 .gi {
        width: 37px;
        height: 37px;
    }
}

@media (min-width: 481px) {
    body {
        background: #e8eaf1;
        background-image: radial-gradient(#dfe3ec 1px, transparent 1px);
        background-size: 22px 22px;
    }
}

/* ================= 模特主页 ================= */
.mpage {
    background: #f5f5f7;
    padding-bottom: 24px;
}

.m-gallery {
    position: relative;
    background: #fff;
}

.m-gal-track {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    height: 168px;
    scrollbar-width: none;
    background: #eef0f4;
    scroll-snap-type: x proximity;
}

.m-gal-track::-webkit-scrollbar {
    display: none;
}

.m-gal-track img {
    flex: none;
    height: 168px;
    width: auto;
    max-width: 86%;
    object-fit: cover;
    display: block;
    scroll-snap-align: start;
}

.m-gal-empty {
    flex: 1;
    background: linear-gradient(135deg, #ffd0dd, #f3a2bd);
}

.m-back {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .32);
    color: #fff;
    display: grid;
    place-items: center;
    z-index: 4;
}

.m-back svg {
    width: 17px;
    height: 17px;
}

.m-head {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    padding: 0 16px;
    margin-top: -30px;
    position: relative;
    z-index: 3;
}

.m-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(20, 30, 60, .12);
    flex: none;
}

.m-avatar .avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.m-stats {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 8px;
    padding-bottom: 6px;
}

.m-stats .ms {
    text-align: center;
    background: none;
    border: 0;
    padding: 0 6px;
    color: #4b5260;
    flex: none;
}

.m-stats .ms b {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: #1f2329;
    line-height: 1.2;
}

.m-stats .ms b svg {
    width: 19px;
    height: 19px;
    color: #8a919f;
    vertical-align: -3px;
}

.m-stats .m-follow.on b svg {
    color: #e5484d;
}

.m-stats .ms span {
    font-size: 11px;
    color: #9aa0aa;
}

.m-name {
    margin: 14px 16px 0;
    font-size: 21px;
    font-weight: 800;
    color: #1f2329;
    letter-spacing: .5px;
}

.m-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 16px 0;
}

.m-tags span {
    font-size: 11px;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
}

.m-tags .t-red {
    background: #e5484d;
}

.m-tags .t-green {
    background: #16a34a;
}

.m-tags .t-blue {
    background: #3b82f6;
}

.m-bio-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 16px 0;
}

.m-bio {
    flex: 1;
    font-size: 13.5px;
    font-weight: 600;
    color: #5b6373;
    line-height: 1.7;
    max-height: 44px;
    overflow: hidden;
}

.m-bio.open {
    max-height: none;
}

.m-expand {
    flex: none;
    display: flex;
    align-items: center;
    gap: 2px;
    color: #e5484d;
    font-size: 12px;
    padding: 0;
}

.m-expand svg {
    width: 13px;
    height: 13px;
}

.m-tabs {
    display: flex;
    gap: 28px;
    margin-top: 18px;
    background: #fff;
    border-bottom: 1px solid #f0f1f5;
    padding: 12px 16px 0;
}

.m-tabs span {
    font-size: 15px;
    color: #6b7280;
    padding-bottom: 9px;
    position: relative;
    cursor: pointer;
}

.m-tabs span.on {
    color: #e5484d;
    font-weight: 700;
}

.m-tabs span.on::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 20px;
    height: 3px;
    border-radius: 3px;
    background: #e5484d;
}

.m-sort {
    display: flex;
    gap: 24px;
    padding: 12px 16px 6px;
    background: #fff;
}

.m-sort span {
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
}

.m-sort span.on {
    color: #e5484d;
    font-weight: 700;
}

.m-list {
    padding: 4px 12px 10px;
}

.m-item {
    display: flex;
    gap: 10px;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 10px;
}

.m-thumb {
    position: relative;
    width: 124px;
    height: 76px;
    border-radius: 8px;
    overflow: hidden;
    flex: none;
    background: var(--grad-soft);
}

.m-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-badge {
    position: absolute;
    right: 4px;
    bottom: 4px;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 9.5px;
    padding: 1px 6px;
    border-radius: 4px;
}

.m-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.m-title {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
    color: #1f2329;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}

.m-row {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 6px;
}

.m-row .price {
    color: #e5484d;
    font-size: 16px;
    font-weight: 800;
}

.m-row .price small {
    font-size: 11px;
}

.m-row .views {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 3px;
    color: #a6abb5;
    font-size: 11.5px;
}

.m-row .views svg {
    width: 13px;
    height: 13px;
}

.m-row .sold {
    margin-left: auto;
    color: #a6abb5;
    font-size: 11px;
}

/* ================= 首页（对齐参考图） ================= */
.home-page {
    background: #f5f5f7;
}

.home-top {
    position: sticky;
    top: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
}

.ht-btn {
    width: 30px;
    height: 30px;
    flex: none;
    color: #2c313a;
    display: grid;
    place-items: center;
}

.ht-btn svg {
    width: 25px;
    height: 25px;
}

.ht-search {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    background: #f2f2f5;
    border-radius: 20px;
    padding: 0 14px;
    color: #a6abb5;
    font-size: 13px;
}

.ht-search svg {
    width: 16px;
    height: 16px;
    flex: none;
}

.home-banner {
    padding: 10px 12px 0;
}

.home-banner .banner-track {
    display: flex;
    align-items: stretch;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0;
}

.home-banner .banner-track::-webkit-scrollbar {
    display: none;
}

.hb-slide {
    flex: none;
    width: 100%;
    aspect-ratio: 345/235;
    border-radius: 14px;
    overflow: hidden;
    scroll-snap-align: center;
    position: relative;
    background: #eceff4;
}

.hb-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 幻灯片固定高度：宽度铺满不裁切，超出高度的部分自动裁掉 */
.hb-slide.hb-img {
    aspect-ratio: 345/235;
    background: #fff;
}

.hb-slide.hb-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hb-fallback {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: #fff;
}

.hb-char {
    position: absolute;
    right: 17px;
    top: 10px;
    font-size: 46px;
    font-weight: 800;
    opacity: .92;
    letter-spacing: 2px;
}

.hb-txt b {
    display: block;
    font-size: 19px;
    letter-spacing: 1px;
}

.hb-txt small {
    display: block;
    font-size: 11px;
    opacity: .9;
    margin-top: 4px;
}

.home-banner .banner-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
}

.home-banner .banner-dots i {
    width: 5px;
    height: 5px;
    border-radius: 3px;
    background: #d6d6db;
    transition: .2s;
}

.home-banner .banner-dots i.on {
    width: 6px;
    background: #3a3a3f;
}

.home-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    margin: 12px 12px 0;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 13px;
    color: #3f4550;
}

.hn-badge {
    background: #e5484d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    flex: none;
    line-height: 1.5;
}

.hn-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hn-text b {
    font-weight: 700;
    margin-right: 4px;
}

.hn-more {
    color: #c0c4cc;
    flex: none;
    display: grid;
    place-items: center;
}

.hn-more svg {
    width: 13px;
    height: 13px;
}

.cat-card {
    background: #fff;
    margin: 12px 12px 0;
    border-radius: 14px;
    padding: 16px 8px 4px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 4px 0 14px;
}

.cat-ico {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
}

.cat-ico svg {
    width: 46px;
    height: 46px;
}

.cat-ico img,
.cat-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
}

.cat-name {
    font-size: 11.5px;
    color: #3f4550;
}

.home-sec-head {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 18px 16px 10px;
    font-size: 16.5px;
    font-weight: 800;
    color: #1f2329;
}

.home-sec-head .hs-ico {
    display: grid;
    place-items: center;
    color: #1f2329;
}

.home-sec-head .hs-ico svg {
    width: 19px;
    height: 19px;
}

.home-sec-head .more-link {
    margin-left: auto;
    font-size: 11.5px;
    color: #a6abb5;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 2px;
}

.home-sec-head .more-link svg {
    width: 12px;
    height: 12px;
}

/* 首页 / 列表课程行新样式 */
.course-row {
    margin: 0 12px 10px;
    padding: 10px;
    gap: 10px;
    border-radius: 12px;
}

.course-row .thumb {
    width: 132px;
    height: 92px;
    border-radius: 9px;
}

.course-row .course-title {
    font-size: 15px;
    font-weight: 800;
    color: #1f2329;
    line-height: 1.45;
}

.course-row .course-sub {
    font-size: 12px;
    color: #9aa0aa;
    margin-top: 5px;
}

.course-row .course-foot {
    gap: 6px;
    padding-top: 6px;
}

.course-row .course-foot .tag-pill {
    background: #f2f2f5;
    color: #7d8494;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
}

.course-row .course-foot .price {
    font-size: 19px;
    font-weight: 800;
    color: #e5484d;
}

.course-row .course-foot .price small {
    font-size: 12px;
}

.course-row .course-foot .ori {
    color: #b9bec7;
    font-size: 11.5px;
    text-decoration: line-through;
    margin-left: 1px;
}

.course-row .course-foot .views {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 3px;
    color: #a6abb5;
    font-size: 12px;
    font-weight: 600;
    flex: none;
}

.course-row .course-foot .views svg {
    width: 13px;
    height: 13px;
    color: #b0b6c1;
}

.fab-service {
    position: fixed;
    right: 14px;
    bottom: calc(var(--tab-h) + 20px + var(--safe-b));
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 20px rgba(229, 72, 77, .38);
    z-index: 96;
}

.fab-service svg {
    width: 24px;
    height: 24px;
}

/* 首页弹窗广告 */
.popup-mask {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 18, .62);
    z-index: 320;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s;
    padding: 30px;
}

.popup-mask.show {
    opacity: 1;
}

.popup-card {
    position: relative;
    width: min(300px, 80vw);
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transform: scale(.9);
    transition: transform .22s;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .32);
}

.popup-mask.show .popup-card {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .35);
    color: #fff;
    display: grid;
    place-items: center;
    z-index: 3;
}

.popup-close svg {
    width: 14px;
    height: 14px;
}

.popup-img {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--grad-soft);
}

.popup-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-body {
    padding: 14px 16px 16px;
    text-align: center;
}

.popup-title {
    font-size: 16px;
    font-weight: 800;
    color: #1f2329;
}

.popup-sub {
    font-size: 11.5px;
    color: #9aa0aa;
    margin-top: 5px;
    line-height: 1.6;
}

.popup-btn {
    margin-top: 12px;
    padding: 10px;
    border-radius: 22px;
    font-size: 14px;
}

/* 会员 tab 金色钻石 */
.tab-item .tab-gold {
    color: #e0a73c;
}

.tab-item.on .tab-gold {
    color: #e0a73c;
}

/* 首页左侧菜单 */
.menu-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    border-bottom: 1px solid #f5f6f9;
    font-size: 14px;
    color: #3f4550;
}

.menu-list a:last-child {
    border-bottom: 0;
}

.menu-list a svg {
    width: 15px;
    height: 15px;
    color: #c6cbd4;
}
