* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,body {
    font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
    background: #f7f7f7;
    color: #222;
}
body {
    min-height: 100vh;
}
:root {
    --brand:#ff7a00;
    --brand-strong:#ff5600;
    --brand-soft:#fff5ea;
    --bg:#f7f7f7;
    --border:#f0f0f0;
    --text-main:#222;
    --text-sub:#777;
    --danger:#ff4d4f;
    --success:#07c160;
    --radius-lg:18px;
    --radius-md:12px;
    --radius-sm:999px;
    --shadow-soft:0 8px 20px rgba(0,0,0,0.06);
    --shadow-strong:0 10px 24px rgba(255,122,0,0.32);
    --transition-fast:all .18s ease-out;
}
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: #ffffff;
    border-bottom: 1px solid #f1f1f1;
}
.top-nav-inner {
    max-width: 540px;
    margin: 0 auto;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-btn {
    border: 1px solid transparent;
    outline: none;
    background: transparent;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: all .16s ease-out;
}
.nav-btn:hover,
.nav-btn.active {
    background: linear-gradient(135deg,#ff9f3b,#ff7a00);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255,122,0,0.35);
    border-color: transparent;
}
.page {
    max-width: 540px;
    margin: 0 auto;
    padding: 60px 12px 26px;
}
@media (min-width: 768px) {
    .page {
        margin-top: 10px;
        margin-bottom: 40px;
    }
    body {
        background: radial-gradient(circle at top,#fff7eb,#f4f4f4);
    }
}
.header {
    display: flex;
    align-items: center;
    padding: 10px 10px 12px;
    border-radius: 22px;
    background: linear-gradient(135deg,#ff9f3b,#ff7a00 50%,#ff5c00);
    box-shadow: var(--shadow-soft);
    color: #fff;
}
.logo-wrap {
    width: 40px;
    height: 40px;
    border-radius: 16px;
    background: rgba(255,255,255,0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
    overflow: hidden;
}
.logo-wrap img {
    width: 110%;
    height: 110%;
    border-radius: 16px;
    object-fit: cover;
    display: block;
}
.header-main {
    flex: 1;
}
.header-title {
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
}
.header-tag {
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
}
.header-desc {
    margin-top: 4px;
    font-size: 12px;
    opacity: .95;
}
.header-badge {
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 14px;
    font-size: 10px;
    background: rgba(0,0,0,0.18);
    white-space: nowrap;
}
.section {
    margin-top: 14px;
    padding: 14px 12px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.section-header-left {
    display: flex;
    align-items: center;
}
.section-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff4e5;
    margin-right: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-icon svg {
    width: 33px;
    height: 33px;
    display: block;
}
.section-title-text {
    font-size: 15px;
    font-weight: 600;
}
.section-sub {
    margin-top: 2px;
    font-size: 11px;
    color: var(--text-sub);
}
.account-input-wrap {
    margin-top: 4px;
}
.input-group {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fafafa;
    border: 1px solid var(--border);
    transition: var(--transition-fast);
}
.input-group:focus-within {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 1px rgba(255,122,0,0.15);
}
.input-label {
    font-size: 13px;
    color: var(--text-sub);
    margin-right: 8px;
    flex-shrink: 0;
}
.input-main {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}
.input-main::placeholder {
    color: #c0c0c0;
}
.input-tip {
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-sub);
    line-height: 1.5;
}
.package-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 10px;
    margin-top: 8px;
}
@media (min-width: 420px) {
    .package-grid {
        grid-template-columns: repeat(3,1fr);
    }
}
.pkg-card {
    position: relative;
    padding: 14px 9px 10px;
    border-radius: var(--radius-md);
    border: 1px solid #f1f1f1;
    background: #fff;
    cursor: pointer;
    transition: var(--transition-fast);
    overflow: hidden;
}
.pkg-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}
.pkg-card.active {
    border-color: var(--brand);
    box-shadow: var(--shadow-strong);
    background: radial-gradient(circle at 0 0,#fff7eb,#fff);
}
.pkg-line1 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}
.pkg-line2 {
    margin-top: 3px;
    font-size: 12px;
    color: #444;
}
.pkg-line3 {
    margin-top: 3px;
    font-size: 11px;
    color: var(--text-sub);
}
.pkg-tag {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 0 10px 0 10px;
    background: rgba(255,122,0,0.08);
    color: var(--brand-strong);
    border: 1px solid rgba(255,122,0,0.45);
}
.pkg-tag.hot {
    background: rgba(255,51,0,0.09);
    border-color: rgba(255,51,0,0.5);
    color: #ff3300;
}
.summary-bar {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #fff8f1;
    border: 1px dashed rgba(255,122,0,0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}
.summary-main {
    display: flex;
    flex-direction: column;
}
.summary-line-1 {
    font-weight: 600;
    color: #cc3c00;
}
.summary-line-2 {
    margin-top: 2px;
    color: var(--text-sub);
}
.summary-pay {
    text-align: right;
    font-size: 12px;
}
.summary-pay span {
    display: block;
}
.summary-pay strong {
    font-size: 15px;
    color: var(--brand-strong);
}
.coupon-toggle-line {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
    color: var(--text-sub);
}
.coupon-brief {
    flex: 1;
}
.coupon-toggle-btn {
    flex-shrink: 0;
    border: 1px solid rgba(255,122,0,0.5);
    background: #fffaf3;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    color: #c15900;
    cursor: pointer;
    transition: all .16s ease-out;
}
.coupon-toggle-btn:hover {
    background: #fff2e0;
}
.coupon-panel {
    display: none;
    margin-top: 8px;
    border-radius: 14px;
    background: #fffdf8;
    border: 1px dashed #ffd2a3;
    padding: 8px 8px 10px;
}
.coupon-panel.show {
    display: block;
}
.coupon-panel-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #c15900;
}
.coupon-panel-sub {
    font-size: 11px;
    color: var(--text-sub);
    margin-bottom: 6px;
}
.coupon-panel-tools {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 6px;
}
.coupon-claim-all-btn {
    border: 1px solid rgba(255,122,0,0.7);
    background: #fff6ea;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11px;
    color: #c15900;
    cursor: pointer;
    transition: all .16s ease-out;
}
.coupon-claim-all-btn:hover {
    background: #ffeed8;
}
.coupon-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.coupon-item {
    flex: 1 0 calc(50% - 4px);
    min-width: 0;
    border-radius: 14px;
    border: 1px dashed #ffd2a3;
    background: #fff;
    padding: 6px 8px 7px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all .16s ease-out;
}
.coupon-item-head {
    display: flex;
    align-items: baseline;
    color: var(--brand-strong);
}
.coupon-item-head strong {
    font-size: 16px;
}
.coupon-item-head span {
    font-size: 11px;
    margin-left: 2px;
}
.coupon-item-body {
    margin-top: 3px;
    font-size: 11px;
    color: var(--text-sub);
}
.coupon-item-foot {
    margin-top: 4px;
    font-size: 10px;
    color: #c07a33;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.coupon-tag {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255,122,0,0.08);
    border: 1px solid rgba(255,122,0,0.45);
}
.coupon-item.claimed {
    border-style: solid;
    border-color: #ff9f3b;
    background: #fff7e9;
    box-shadow: 0 4px 10px rgba(255,122,0,0.18);
}
.pay-methods {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}
.pay-option {
    flex: 1;
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #fafafa;
    transition: var(--transition-fast);
}
.pay-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.pay-option.active {
    border-color: var(--brand);
    background: #fff8f1;
    box-shadow: var(--shadow-soft);
}
.pay-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    flex-shrink: 0;
}
.pay-icon img {
    width: 100%;
    height: 100%;
    display: block;
}
.pay-label-main {
    font-size: 13px;
    font-weight: 500;
}
.pay-label-sub {
    font-size: 11px;
    color: var(--text-sub);
    margin-top: 2px;
}
.submit-wrap {
    margin-top: 14px;
}
.submit-btn {
    width: 100%;
    padding: 12px 10px;
    border-radius: 999px;
    border: none;
    outline: none;
    background: linear-gradient(135deg,#ff9f3b,#ff7a00);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-strong);
    transition: var(--transition-fast);
}
.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(255,122,0,0.55);
}
.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(255,122,0,0.45);
    filter: brightness(.97);
}
.submit-tip {
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-sub);
    line-height: 1.6;
}
.note-list {
    margin-top: 4px;
    font-size: 11px;
    color: var(--text-sub);
    list-style: none;
}
.note-list li {
    margin-top: 3px;
    line-height: 1.6;
}
.note-list li::before {
    content: "·";
    margin-right: 4px;
}
.faq-section {
    margin-top: 14px;
    padding: 14px 12px 16px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.faq-intro {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.7;
}
.faq-list {
    margin-top: 8px;
}
.faq-item + .faq-item {
    margin-top: 6px;
}
.faq-q-row {
    width: 100%;
    border-radius: 12px;
    border: none;
    outline: none;
    background: #fafafa;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    cursor: pointer;
    transition: all .16s ease-out;
}
.faq-q-text {
    text-align: left;
    margin-right: 10px;
}
.faq-arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid #bbb;
    border-bottom: 2px solid #bbb;
    transform: rotate(45deg);
    transition: transform .18s ease-out,border-color .18s ease-out;
    flex-shrink: 0;
}
.faq-item.open .faq-q-row {
    background: #fff7eb;
    color: #c75300;
}
.faq-item.open .faq-arrow {
    transform: rotate(-135deg);
    border-color: #c75300;
}
.faq-a {
    display: none;
    padding: 8px 10px 10px;
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.7;
}
.seo-bottom {
    margin-top: 10px;
    font-size: 11px;
    color: #999;
    line-height: 1.7;
}
.order-toast {
    position: fixed;
    left: 50%;
    bottom: 70px;
    transform: translateX(-50%) translateY(100%);
    max-width: 480px;
    width: calc(100% - 32px);
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,0.86);
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    z-index: 60;
    transition: transform .4s ease,opacity .4s ease;
}
.order-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.order-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #10c050;
    margin-right: 6px;
    position: relative;
}
.order-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 1px solid rgba(16,192,80,0.55);
}
.order-text {
    flex: 1;
}
.footer {
    max-width: 540px;
    margin: 10px auto 18px;
    padding: 0 12px;
    font-size: 11px;
    color: #999;
    line-height: 1.7;
    text-align: center;
}
.footer span {
    display: block;
}
