:root {
    --red: #c41e3a;
    --red-deep: #a01828;
    --red-dark: #8b1a1a;
    --red-wine: #b71c1c;
    --gold: #f0c040;
    --gold-light: #ffe9a0;
    --gold-deep: #c99a2e;
    --cream: #fff8ee;
    --cream-2: #fdf6e9;
    --card: #fffdf7;
    --ink: #333333;
    --ink-2: #5b5148;
    --muted: #9a8e80;
    --line: #efe3d2;
    --wechat: #07c160;
    --alipay: #1677ff;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(140, 40, 30, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { height: 100%; }

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: #efe6d8;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.page {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100%;
    background: var(--cream);
    position: relative;
    overflow-x: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, .12);
}

.nav {
    height: 46px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(0, 0, 0, .04);
}
.nav__title { font-size: 17px; font-weight: 600; color: var(--ink); }
.nav__back {
    position: absolute;
    left: 12px;
    top: 0;
    height: 46px;
    display: flex;
    align-items: center;
    font-size: 20px;
    color: #333;
    padding: 0 6px;
}
.nav__right { position: absolute; right: 12px; color: var(--muted); font-size: 13px; }

/* ---------- Banner ---------- */
.banner {
    position: relative;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 220, 150, .28), transparent 55%),
        linear-gradient(160deg, #cf2439 0%, #b71c1c 55%, #8b1a1a 100%);
    padding: 14px 18px 0;
    color: #fff;
    overflow: hidden;
    border-bottom-left-radius: 26px;
    border-bottom-right-radius: 26px;
}
.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(255, 235, 190, .07) 0 2px, transparent 2px 14px),
        repeating-linear-gradient(-45deg, rgba(255, 235, 190, .07) 0 2px, transparent 2px 14px);
    pointer-events: none;
}
.banner__ring {
    position: absolute;
    width: 300px; height: 300px;
    border: 2px solid rgba(255, 226, 160, .22);
    border-radius: 50%;
    left: 50%; top: 30px;
    transform: translateX(-50%);
    pointer-events: none;
}
.banner__ring::after {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px dashed rgba(255, 226, 160, .18);
    border-radius: 50%;
}
.disclaimer {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, .16);
    border-radius: 999px;
    padding: 4px 0;
    font-size: 11px;
    color: #ffe9c8;
    margin: 0 auto 12px;
    max-width: 100%;
    overflow: hidden;
}
.disclaimer__track {
    display: flex;
    width: max-content;
    animation: disclaimer-marquee 14s linear infinite;
}
.disclaimer__track span {
    padding: 0 28px;
    white-space: nowrap;
    flex-shrink: 0;
}
@keyframes disclaimer-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.banner__innertitle {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 10px;
}
.banner__title {
    font-size: 34px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 3px;
    font-family: "STKaiti", "KaiTi", "Songti SC", "SimSun", serif;
    background: linear-gradient(180deg, #fff6d8 8%, #ffd977 45%, #e8a72b 78%, #ffe9a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 3px rgba(90, 20, 10, .55));
}
.banner__subs {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 13.5px;
    color: #ffe6c9;
    line-height: 1.9;
    margin-bottom: 4px;
    letter-spacing: .5px;
}
.banner__stage {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 150px;
    margin-top: -4px;
}
.banner__hero { width: 78%; max-width: 320px; }
.banner__orn {
    position: absolute;
    font-size: 26px;
    opacity: .9;
    filter: drop-shadow(0 2px 4px rgba(80, 20, 10, .4));
}
.banner__orn--l1 { left: 8px; top: 60px; font-size: 30px; }
.banner__orn--l2 { left: 26px; top: 108px; font-size: 20px; }
.banner__orn--r1 { right: 8px; top: 56px; font-size: 30px; }
.banner__orn--r2 { right: 28px; top: 104px; font-size: 20px; }
.banner__xi {
    position: absolute;
    font-family: serif;
    font-weight: 700;
    color: #ffdc8a;
    opacity: .5;
    font-size: 18px;
}
.banner__xi--1 { left: 18px; bottom: 96px; }
.banner__xi--2 { right: 20px; bottom: 74px; }

.banner__wave {
    position: relative;
    z-index: 2;
    height: 24px;
    margin-top: -12px;
    background:
        radial-gradient(circle at 10px -6px, transparent 12px, rgba(255, 226, 160, .35) 13px, transparent 14px) repeat-x;
    background-size: 28px 24px;
    opacity: .5;
}

/* ---------- Content ---------- */
.content { padding: 0 16px 40px; position: relative; }

.form-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: -22px;
    position: relative;
    z-index: 5;
    padding: 16px 16px 18px;
    border: 1px solid rgba(196, 30, 58, .08);
}
.form-row {
    display: flex;
    align-items: center;
    min-height: 54px;
    border-bottom: 1px dashed var(--line);
    gap: 12px;
}
.form-row:last-of-type { border-bottom: none; }
.form-row__label {
    width: 46px;
    flex: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}
.form-row__body { flex: 1; min-width: 0; }

.pills { display: flex; gap: 8px; }
.pill {
    padding: 7px 16px;
    border-radius: 999px;
    background: #f4efe6;
    color: var(--ink-2);
    font-size: 14px;
    border: 1px solid transparent;
    transition: all .18s;
}
.pill.is-active {
    background: linear-gradient(180deg, #cf2439, #a01828);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(160, 24, 40, .3);
}

.txt-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: var(--ink);
    padding: 8px 0;
}
.txt-input::placeholder { color: #bcb0a2; }

.picker-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 0;
    background: transparent;
    font-size: 15px;
    color: var(--ink);
    text-align: left;
}
.picker-trigger.is-empty { color: #bcb0a2; }
.picker-trigger .arrow { color: #c9bda e; color: #c9bdae; font-size: 13px; }

.gender-group { display: flex; gap: 12px; }
.gender-btn {
    min-width: 62px;
    padding: 7px 20px;
    border-radius: 999px;
    background: #f4efe6;
    color: var(--ink-2);
    font-size: 14px;
    border: 1px solid transparent;
}
.gender-btn.is-active {
    background: linear-gradient(180deg, #cf2439, #a01828);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(160, 24, 40, .3);
}

.form-tip {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin: 14px 4px 0;
    line-height: 1.7;
}

.cta-wrap { margin-top: 18px; text-align: center; }
.btn-gold {
    display: block;
    width: 86%;
    margin: 0 auto;
    height: 50px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffe9a0 0%, #f5cd5b 42%, #e0a92f 100%);
    color: #8b1a1a;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 3px;
    box-shadow: 0 8px 18px rgba(197, 145, 30, .42), inset 0 1px 0 rgba(255, 255, 255, .8);
    transition: transform .12s;
}
.btn-gold:active { transform: scale(.975); }
.btn-gold[disabled] { filter: grayscale(.35); opacity: .75; }

.content--has-sticky { padding-bottom: 88px; }
.sticky-cta {
    position: fixed;
    left: 50%;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    transform: translateX(-50%) translateY(110%);
    padding: 10px 18px calc(10px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(255, 248, 238, 0) 0%, #fff8ee 32%);
    z-index: 36;
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
}
.sticky-cta.is-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.sticky-cta .btn-gold { width: 100%; }

.agree {
    margin-top: 14px;
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.agree__box {
    width: 15px; height: 15px;
    border-radius: 50%;
    border: 1.5px solid #c9bdae;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    flex: none;
}
.agree__box.is-checked { background: var(--red); border-color: var(--red); }
.agree a { color: var(--red); }

.order-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--red);
    text-decoration: underline;
}

/* ---------- Dimensions section ---------- */
.section { margin-top: 26px; }
.section__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
}
.seal {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(180deg, #cf2439, #a01828);
    color: #ffdc8a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
    font-family: "STKaiti", "KaiTi", serif;
    box-shadow: 0 4px 10px rgba(160, 24, 40, .28);
    flex: none;
}

.dims {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px 8px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(196, 30, 58, .07);
}
.dim {
    text-align: center;
    font-size: 12px;
    color: var(--ink-2);
}
.dim__icon {
    width: 44px; height: 44px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #fff3dc, #ffe0c8);
    border: 1px solid rgba(196, 30, 58, .16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.dim__label {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 1px 9px;
    font-size: 11.5px;
}

.chart-card {
    margin-top: 16px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 12px 10px;
    border: 1px solid rgba(196, 30, 58, .07);
}
.chart-card__title { font-size: 14px; font-weight: 600; color: var(--red-dark); margin-bottom: 10px; text-align: center; }
.wave { width: 100%; height: auto; }

.dim-list { margin-top: 16px; display: grid; gap: 10px; }
.dim-item {
    background: var(--card);
    border-radius: 12px;
    padding: 13px 14px;
    box-shadow: 0 4px 14px rgba(140, 40, 30, .08);
    border: 1px solid rgba(196, 30, 58, .07);
}
.dim-item__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dim-item__name { font-size: 15px; font-weight: 600; color: var(--ink); }
.dim-item__score { font-size: 13px; color: var(--red); font-weight: 700; }
.dim-item__bar { height: 7px; border-radius: 999px; background: #f1e7d8; overflow: hidden; }
.dim-item__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f0c040, #cf2439); }
.dim-item__txt { font-size: 13px; color: var(--ink-2); margin-top: 8px; line-height: 1.75; }

.partner-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 30px 0 12px;
}
.partner-head__plate {
    background: linear-gradient(180deg, #cf2439, #a01828);
    color: #fff;
    border-radius: 10px;
    padding: 6px 14px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    box-shadow: 0 6px 14px rgba(160, 24, 40, .25);
}

/* ---------- FAB ---------- */
.side-fabs {
    position: fixed;
    right: max(10px, calc(50% - 240px + 10px));
    top: 38%;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fab {
    width: 40px;
    background: rgba(90, 30, 20, .78);
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 0 14px;
    backdrop-filter: blur(4px);
}
.fab--complain { background: rgba(160, 24, 40, .82); }
.fab--order { background: rgba(120, 70, 30, .82); }
.fab__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-bottom: 6px;
}
.fab__icon svg { width: 16px; height: 16px; display: block; }
.fab__txt {
    writing-mode: vertical-rl;
    text-align: center;
    letter-spacing: 3px;
    line-height: 1.2;
}

/* ---------- Modal ---------- */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 24px;
}
.modal.is-open { display: flex; }
.modal__box {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    max-height: 78vh;
    overflow: auto;
    padding: 18px;
}
.modal__title { font-size: 16px; font-weight: 700; margin-bottom: 10px; text-align: center; }
.modal__body { font-size: 13px; color: var(--ink-2); line-height: 1.85; }
.modal__body p { margin-bottom: 8px; }
.modal__actions { margin-top: 16px; text-align: center; }
.btn-line { border: 1px solid var(--line); border-radius: 999px; padding: 9px 26px; font-size: 14px; color: var(--ink-2); background: #fff; }

/* ---------- Picker sheet ---------- */
.sheet { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: none; align-items: flex-end; z-index: 110; }
.sheet.is-open { display: flex; }
.sheet__box { background: #fff; width: 100%; max-width: 480px; margin: 0 auto; border-radius: 16px 16px 0 0; padding: 14px 16px 18px; }
.sheet__title { text-align: center; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.sheet__row { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 8px; }
.sheet__row select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 6px;
    background: #faf6ef;
    color: var(--ink);
    outline: none;
    font-size: 14px;
}
.sheet__actions { display: flex; gap: 10px; margin-top: 16px; }
.sheet__actions button { flex: 1; height: 44px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.btn-primary { background: linear-gradient(180deg, #cf2439, #a01828); color: #fff; }
.btn-ghost { background: #f4efe6; color: var(--ink-2); }

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, .78);
    color: #fff;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 200;
    display: none;
    max-width: 74%;
    text-align: center;
}
.toast.is-open { display: block; }

/* ---------- Empty / finished ---------- */
.locked {
    margin-top: 14px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fff9ec, #fff3dd);
    border: 1px dashed rgba(196, 30, 58, .3);
    padding: 18px 16px;
    text-align: center;
}
.locked__icon { font-size: 26px; }
.locked__title { font-weight: 700; color: var(--red-dark); margin: 6px 0 4px; }
.locked__desc { font-size: 13px; color: var(--muted); }

/* ---------- Pay page ---------- */
.pay-hero {
    background: linear-gradient(160deg, #cf2439, #8b1a1a);
    padding: 16px 16px 26px;
    color: #fff;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    position: relative;
    overflow: hidden;
}
.pay-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,235,190,.06) 0 2px, transparent 2px 16px);
}
.pay-hero__title { position: relative; font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.pay-hero__sub { position: relative; font-size: 12.5px; color: #ffdcc0; margin-top: 4px; }

.batch-card {
    position: relative;
    margin: -14px 16px 0;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
    border: 1px solid rgba(196, 30, 58, .1);
    z-index: 3;
}
.batch-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.batch-card__avatar {
    width: 54px; height: 54px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, #ffe9b0, #e8b34a);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; flex: none;
    box-shadow: 0 4px 10px rgba(200, 150, 40, .35);
}
.batch-card__name { font-size: 18px; font-weight: 700; color: var(--red-dark); font-family: "STKaiti", "KaiTi", serif; }
.batch-card__meta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.batch-info { display: grid; gap: 8px; }
.batch-info__row { display: flex; font-size: 13.5px; line-height: 1.7; }
.batch-info__k { width: 62px; flex: none; color: var(--muted); }
.batch-info__v { flex: 1; color: var(--ink); }
.batch-info__v em { color: var(--red); font-style: normal; font-weight: 700; }

.batch-divider { height: 1px; background: var(--line); margin: 12px 0; }
.batch-text { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.batch-text b { color: var(--red); }

.price-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 14px; }
.price-left { display: flex; align-items: baseline; gap: 8px; }
.price-tag { background: var(--red); color: #fff; font-size: 11px; border-radius: 6px; padding: 2px 7px; }
.price-now { font-size: 26px; font-weight: 800; color: var(--red); }
.price-now small { font-size: 14px; }
.price-old { font-size: 12.5px; color: #a99f92; text-decoration: line-through; }
.countdown { text-align: right; font-size: 11.5px; color: var(--muted); }
.countdown__boxes { display: flex; gap: 4px; justify-content: flex-end; margin-top: 4px; }
.countdown__box {
    background: var(--red); color: #fff; border-radius: 6px;
    min-width: 26px; height: 26px; line-height: 26px; text-align: center;
    font-size: 14px; font-weight: 700; padding: 0 4px;
}
.countdown__colon { color: var(--red); font-weight: 700; line-height: 26px; }

.pay-methods { padding: 18px 16px 0; }
.pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 50px;
    border-radius: 12px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
    transition: transform .12s;
}
.pay-btn:active { transform: scale(.985); }
.pay-btn--wechat { background: var(--wechat); }
.pay-btn--alipay { background: var(--alipay); }
.pay-btn__icon { width: 22px; height: 22px; }

.safety { padding: 6px 16px 0; text-align: center; }
.safety__badges { display: flex; justify-content: center; gap: 8px; }
.safety__badge {
    font-size: 10.5px; color: #7a6f62; border: 1px solid var(--line);
    border-radius: 6px; padding: 3px 8px; background: #fff;
}
.safety__badge span { color: #2e7d32; }
.safety__text { font-size: 11px; color: var(--muted); margin-top: 8px; }

.notice {
    margin: 16px 16px 0;
    background: #fff8e1;
    border: 1px solid #ffe6a8;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 12.5px;
    color: #7a5a10;
    line-height: 1.8;
}
.notice b { color: var(--red); text-decoration: underline; }
.pay-foot { height: 34px; background: var(--red-wine); margin-top: 18px; border-top-left-radius: 18px; border-top-right-radius: 18px; }

.wx-consult {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 16px 0;
    padding: 14px 14px 14px 12px;
    background: linear-gradient(90deg, #07c160 0%, #06ad56 100%);
    border-radius: 14px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(7, 193, 96, .38);
    text-decoration: none;
}
.wx-consult:active { transform: scale(.985); }
.wx-consult__icon {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 12px;
    background: rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
}
.wx-consult__icon svg { width: 26px; height: 26px; }
.wx-consult__txt { flex: 1; min-width: 0; text-align: left; }
.wx-consult__txt b {
    display: block;
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: .5px;
    line-height: 1.25;
}
.wx-consult__txt small {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: rgba(255,255,255,.88);
}
.wx-consult__go {
    flex: none;
    background: #fff;
    color: #07a050;
    font-size: 13px;
    font-weight: 800;
    border-radius: 999px;
    padding: 8px 12px;
    white-space: nowrap;
}
.wx-consult--in-card {
    margin: 14px 0 0;
}

/* ---------- Result page ---------- */
.score-hero {
    background: linear-gradient(160deg, #cf2439, #8b1a1a);
    color: #fff;
    padding: 26px 16px 30px;
    text-align: center;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    position: relative;
    overflow: hidden;
}
.score-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,235,190,.06) 0 2px, transparent 2px 16px);
}
.score-hero__label { position: relative; font-size: 13px; color: #ffdcc0; letter-spacing: 2px; }
.score-hero__num {
    position: relative;
    font-size: 62px;
    font-weight: 800;
    line-height: 1.1;
    font-family: "Georgia", serif;
    background: linear-gradient(180deg, #fff6d8, #ffd977 55%, #e8a72b);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(90, 20, 10, .5));
}
.score-hero__num small { font-size: 20px; }
.score-hero__title { position: relative; font-size: 17px; font-weight: 700; margin-top: 2px; letter-spacing: 1px; }
.score-hero__range { position: relative; font-size: 12px; color: #ffe0c4; margin-top: 6px; }

.summary-card {
    margin: -16px 16px 0;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
    position: relative;
    z-index: 3;
    border: 1px solid rgba(196, 30, 58, .1);
}
.summary-card h3 { font-size: 15px; color: var(--red-dark); margin-bottom: 8px; }
.summary-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.95; }

.qywx-card {
    margin: 18px 16px 0;
    background: linear-gradient(180deg, #fff9ec, #fff1d8);
    border: 1px solid rgba(196, 30, 58, .22);
    border-radius: var(--radius);
    padding: 18px 16px;
    text-align: center;
}
.qywx-card h3 { font-size: 16px; color: var(--red-dark); margin-bottom: 6px; }
.qywx-card p { font-size: 13px; color: #8a6a3a; line-height: 1.8; }

.result-dimensions { margin: 18px 16px 0; }
.result-dimensions h3 { font-size: 15px; color: var(--red-dark); margin-bottom: 10px; padding-left: 10px; border-left: 3px solid var(--red); }
.advice {
    margin-top: 10px; font-size: 12.5px; color: #8a6a3a;
    background: #fff8e6; border-radius: 8px; padding: 8px 10px; line-height: 1.75;
}

/* ---------- generic ---------- */
.hide { display: none !important; }
.center { text-align: center; }
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.small { font-size: 12px; color: var(--muted); }
