* { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            background-color: #f8f8f8;
            font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
            color: #161823;
            line-height: 1.5;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        header {
            height: 60px;
            background: #fff;
            border-bottom: 1px solid #e3e3e4;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        .header-inner {
            height: 60px;
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .logo {
            cursor: pointer;
            display: flex;
            align-items: center;
        }
        .logo-img {
            height: 32px;
            display: block;
        }
        .search-bar {
            background: #f1f1f2;
            border-radius: 92px;
            padding: 8px 16px;
            width: 360px;
            display: flex;
            align-items: center;
        }
        .search-bar input {
            background: transparent;
            border: none;
            outline: none;
            width: 100%;
            font-size: 14px;
        }
        .header-right { display: flex; align-items: center; gap: 16px; }
        .btn-login {
            background: #fe2c55;
            color: #fff;
            border: none;
            padding: 6px 20px;
            border-radius: 4px;
            font-weight: 600;
            cursor: pointer;
        }
        main {
            flex: 1;
            width: 100%;
            max-width: 1100px;
            margin: 20px auto;
            padding: 0 16px;
        }
        .content-card {
            background: #fff;
            border-radius: 8px;
            padding: 32px;
        }
        .login-status {
            background: #f8f8f8;
            padding: 16px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            margin: 20px 0;
        }
        .avatar { width: 44px; height: 44px; background: #ddd; border-radius: 50%; margin-right: 12px; } 
        .login-form {
            flex: 1;
        }
        .login-label {
            display: block;
            font-size: 14px;
            color: #555;
            margin-bottom: 8px;
        }
        .login-input-row {
            display: flex;
            gap: 8px;
        }
        .login-input {
            flex: 1;
            padding: 8px 12px;
            border-radius: 4px;
            border: 1px solid #e3e3e4;
            font-size: 14px;
            outline: none;
            -webkit-appearance: none;
            appearance: none;
            background-color: #fff;
        }
        .login-input:focus {
            border-color: #fe2c55;
            box-shadow: 0 0 0 1px rgba(254, 44, 85, 0.2);
        }
        .btn-login-primary {
            background: #fe2c55;
            color: #fff;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
        }
        .promo { color: #fe2c55; font-weight: 500; margin-bottom: 20px; }
        .promo-label {
            color: #161823;
            font-weight: 700;
        }
        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 12px;
            margin-bottom: 30px;
        }
        .coin-box {
            background: #fff;
            border: 1px solid #e3e3e4;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: 0.2s;
        }
        .coin-box:hover { border-color: #fe2c55; background: #fff1f3; }
        .coin-box.active { border-color: #fe2c55; background: #fff1f3; box-shadow: 0 0 0 1px #fe2c55; }
        .coin-val { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
        .coin-icon {
            width: 20px;
            height: 20px;
            vertical-align: middle;
            margin-right: 4px;
        }
        .coin-price { color: #8a8b91; font-size: 14px; }
        .coin-box-custom {
            text-align: left;
        }
        .coin-box-custom .coin-val {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .coin-custom-label {
            display: inline;
        }
        .coin-custom-input {
            flex: 1;
            max-width: 160px;
            padding: 4px 8px;
            border-radius: 4px;
            border: 1px solid #e3e3e4;
            font-size: 14px;
            box-sizing: border-box;
            outline: none;
            display: none;
            -webkit-appearance: none;
            appearance: none;
            background-color: #fff;
        }
        .coin-custom-input:focus {
            border-color: #fe2c55;
            box-shadow: 0 0 0 1px rgba(254, 44, 85, 0.2);
        }
        /* 移除 iOS Safari / Webkit 对 number 的默认上下箭头样式 */
        input[type=number]::-webkit-inner-spin-button,
        input[type=number]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        .coin-custom-tip {
            margin-top: 4px;
            font-size: 12px;
            color: #8a8b91;
        }
        .coin-box-custom.active .coin-custom-label {
            display: none;
        }
        .coin-box-custom.active .coin-custom-input {
            display: inline-block;
        }
        .coin-box-custom.active .coin-price {
            display: none;
        }

        .payment-section {
            margin-top: 12px;
            padding: 20px 0;
            border-top: 1px solid #f0f0f1;
            border-bottom: 1px solid #f0f0f1;
        }
        .section-title {
            font-size: 16px;
            margin-bottom: 12px;
        }
        .payment-grid {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
        .payment-option {
            flex: 1 1 180px;
            border: 1px solid #e3e3e4;
            border-radius: 8px;
            padding: 14px 16px;
            cursor: pointer;
            transition: 0.2s;
            background: #fff;
        }
        .payment-main {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .payment-icon {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            flex-shrink: 0;
        }
        .payment-option .payment-name {
            font-weight: 600;
            margin-bottom: 4px;
        }
        .payment-option .payment-desc {
            font-size: 12px;
            color: #8a8b91;
        }
        .payment-option:hover {
            border-color: #fe2c55;
            background: #fff7f9;
        }
        .payment-option.active {
            border-color: #fe2c55;
            box-shadow: 0 0 0 1px #fe2c55;
            background: #fff1f3;
        }
        .payment-tip {
            margin-top: 10px;
            font-size: 12px;
            color: #8a8b91;
        }

        .checkout {
            border-top: 1px solid #eee;
            margin-top: 24px;
            padding-top: 20px;
        }
        .total-row {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 12px;
            display: flex;
            align-items: baseline;
            gap: 6px;
        }
        .summary-method {
            font-size: 14px;
            color: #8a8b91;
        }
        .btn-pay {
            background: #fe2c55;
            color: #fff;
            width: 240px;
            height: 48px;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: 0.2s;
        }
        .btn-pay:hover:not(.btn-pay-disabled) {
            filter: brightness(0.95);
        }
        .btn-pay-disabled,
        .btn-pay:disabled {
            background: #e3e3e4;
            color: #b0b0b0;
            cursor: not-allowed;
        }
        .checkout-tip {
            margin-top: 8px;
            font-size: 12px;
            color: #8a8b91;
        }

        .info-section,
        .faq-section {
            margin-top: 32px;
            padding-top: 20px;
            border-top: 1px solid #f0f0f1;
        }
        .info-list {
            list-style: disc;
            padding-left: 20px;
            margin-top: 8px;
            color: #555;
            font-size: 14px;
        }
        .info-list li + li {
            margin-top: 4px;
        }
        .faq-item {
            margin-top: 12px;
            padding: 12px 16px;
            border-radius: 8px;
            border: 1px solid #e3e3e4;
            background: #fff;
        }
        .faq-q {
            font-weight: 600;
            font-size: 14px;
            margin-bottom: 4px;
            color: #161823;
        }
        .faq-a {
            font-size: 14px;
            color: #555;
        }
        footer {
            background: #000;
            color: #fff;
            padding: 60px 24px 30px;
            margin-top: 40px;
        }
        .footer-grid {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
        }
        .footer-col h4 { margin-bottom: 20px; color: #fff; }
        .footer-col ul { list-style: none; }
        .footer-col ul li { margin-bottom: 10px; color: #bbb; cursor: pointer; font-size: 14px; }
        .footer-col ul li:hover { text-decoration: underline; }
        
        .footer-bottom {
            max-width: 1100px;
            margin: 40px auto 0;
            padding-top: 20px;
            border-top: 1px solid #333;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: #888;
        }
        @media (max-width: 768px) {
            header .search-bar { display: none; }
            .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
            .grid { grid-template-columns: repeat(2, 1fr); }
            .btn-pay { width: 100%; }
            .content-card { padding: 16px; }
            .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
        }