:root {font-family: "PingFang SC", "Microsoft YaHei", sans-serif; color:#101a37; background:#f2f6fb; font-synthesis:none}
* {box-sizing:border-box} [hidden] {display:none!important} body {margin:0; min-height:100vh; background:radial-gradient(ellipse at top,#f8fbff,#eef3f9); line-height:1.5} a {color:#356cff; text-decoration:none} button {font:inherit; cursor:pointer} button:focus-visible,a:focus-visible {outline:3px solid #9ab8ff; outline-offset:3px} button:disabled {opacity:.55; cursor:default}
.site-header {background:#fff; border-bottom:1px solid #eef2f8} .header-inner {max-width:1320px; margin:auto; padding:15px 28px; display:flex; align-items:center; gap:64px} .brand {display:flex; align-items:center; gap:12px; font-size:22px; font-weight:700; color:#101a37} .brand-mark {display:grid; place-items:center; width:38px; height:38px; background:linear-gradient(135deg,#4587ff,#205aff); color:white; border-radius:9px; font-size:29px} .header-label {font-size:16px; color:#356cff} .steps {max-width:800px; padding:0; margin:36px auto; display:flex; list-style:none; justify-content:space-between; gap:30px; color:#8090ae} .steps li {display:flex; align-items:center; gap:12px; white-space:nowrap} .steps span {display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:#c5cfdf; color:white} .steps .active {color:#326bff; font-weight:700} .steps .active span {background:linear-gradient(135deg,#5a92ff,#2862ff)}
.shop-page {max-width:1320px; margin:auto; padding:0 28px 40px} .shop-grid {display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:24px; align-items:start} .panel,.card {background:white; border-radius:22px; padding:28px; box-shadow:0 14px 45px #294b7410} h1,h2 {margin:0 0 12px; font-size:25px} h2 {font-size:22px} .intro {color:#71809e; margin:0 0 24px} .catalog-state {color:#71809e} .catalog-state:empty {display:none} .product-list {display:grid; gap:14px} .product-option {display:flex; gap:20px; align-items:center; min-height:110px; width:100%; text-align:left; padding:18px; border:1px solid #e5eaf4; border-radius:16px; background:white; color:inherit} .product-option:hover {border-color:#a9c0ff} .product-option.selected {border-color:#5083ff; background:#f0f6ff} .selection-dot {flex:0 0 23px; height:23px; border:2px solid #bdc7d9; border-radius:50%} .selected .selection-dot,.payment-method .selection-dot {border:7px solid #3e79ff; background:white} .product-icon {flex:0 0 58px; height:58px; display:grid; place-items:center; border-radius:13px; background:#f0f5ff; color:#3a75ed; font-size:38px} .product-icon svg {width:42px; height:42px} .product-copy {min-width:0; flex:1} .product-copy strong {display:block; font-size:20px; overflow-wrap:anywhere} .product-copy small {display:block; margin-top:5px; color:#71809e; overflow-wrap:anywhere} .product-price {font-size:21px; font-weight:700; white-space:nowrap} .selected .product-price {color:#2860ff}
.notice {display:flex; align-items:center; gap:16px; padding:18px; margin-top:24px; border-radius:14px; background:#f4f8ff} .notice-icon {display:grid; place-items:center; flex:0 0 36px; height:40px; border-radius:10px 10px 18px 18px; background:#20aa7a; color:white; font-size:24px} .notice strong {color:#198963} .notice p,.selected-product p,.payment-method p {margin:4px 0 0; color:#71809e; font-size:14px} .selected-product {display:flex; align-items:center; gap:16px; padding:18px; background:#f7f9fc; border-radius:14px; margin:18px 0} .selected-product strong {display:block; font-size:20px; overflow-wrap:anywhere} .selected-product small {display:block; color:#71809e} dl {margin:16px 0 22px} dl div {display:flex; justify-content:space-between; gap:20px; padding:13px 0; border-bottom:1px solid #edf1f7} dt {color:#71809e; flex-shrink:0} dd {margin:0; text-align:right; overflow-wrap:anywhere} .order-id {font-size:14px; color:#71809e; max-width:70%} .total {display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom:22px} .total strong,.amount strong {color:#2860ff; font-size:32px; white-space:nowrap} .total span {font-weight:700} #buy-button,#pay-button,.secondary {width:100%; min-height:54px; padding:12px 16px; border:0; border-radius:13px; color:white; background:linear-gradient(120deg,#347dff,#4167f6); font-weight:700; font-size:20px} #buy-button:hover,#pay-button:hover {filter:brightness(.96)} .secondary {margin-top:16px; min-height:42px; background:#f1f5fd; color:#3567d6; font-size:14px} .secondary:hover {background:#e6eefc} .message {min-height:24px; color:#a64236; margin:16px 0 0; text-align:center; overflow-wrap:anywhere} .message.success {color:#169161} .hint {color:#8592a8; font-size:13px; text-align:center; margin:12px 0 0} .site-footer {max-width:1320px; margin:24px auto 0; padding:22px 28px; text-align:center; color:#8090aa; font-size:13px} .card {width:min(calc(100% - 40px),560px); margin:0 auto 36px; padding:32px} .eyebrow {color:#7484a0; font-size:13px; margin:0 0 8px} .amount {display:flex; align-items:center; justify-content:space-between; gap:16px; margin:22px 0; padding-bottom:20px; border-bottom:1px solid #edf1f7} .amount span {color:#71809e} .payment-method {display:flex; gap:16px; align-items:center; padding:16px; border:1px solid #5083ff; background:#f0f6ff; border-radius:14px; margin:16px 0 24px} .method-icon {display:grid; place-items:center; flex:0 0 46px; height:46px; background:#315dcc; border-radius:10px; color:white; font-size:28px}
@media (max-width:760px) {.header-inner {padding:14px 20px; justify-content:space-between; gap:20px} .brand {font-size:18px} .brand-mark {width:32px; height:32px; font-size:25px} .header-label {font-size:14px} .steps {padding:0 20px; gap:10px; margin:24px auto; font-size:13px} .steps li {gap:6px} .steps span {width:24px; height:24px} .shop-page {padding:0 14px 110px} .shop-grid {grid-template-columns:1fr; gap:18px} .panel {padding:22px 18px; border-radius:18px} .product-option {gap:12px; padding:14px 12px; min-height:96px} .product-copy strong {font-size:17px} .product-icon {flex-basis:46px; height:46px} .product-icon svg {width:35px; height:35px} .product-price {font-size:18px} .selection-dot {flex-basis:20px; height:20px} .selected .selection-dot,.payment-method .selection-dot {border-width:6px} h1 {font-size:23px} .summary-panel {padding-bottom:22px} .purchase-bar {position:fixed; bottom:0; left:0; right:0; z-index:5; padding:14px 20px max(14px,env(safe-area-inset-bottom)); background:white; border-top:1px solid #e5ecf8; display:flex; align-items:center; justify-content:space-between; gap:20px; box-shadow:0 -8px 25px #244b7410} .purchase-bar .total {display:block; margin:0} .purchase-bar .total span {display:block; font-size:13px; color:#71809e; font-weight:400} .purchase-bar .total strong {font-size:28px} .purchase-bar #buy-button {width:48%; min-height:50px} .shop-page+.site-footer {margin-top:0; padding-bottom:110px} .card {padding:24px 20px; border-radius:20px; width:calc(100% - 28px)} .amount strong {font-size:30px} .payment-method {gap:12px} .payment-method strong {font-size:15px}}
@media (max-width:360px) {.product-option {gap:8px} .product-option .product-icon {display:none} .product-price {font-size:17px} .steps {font-size:12px; padding:0 14px}}
.selected-product > div {min-width:0} .selected-product p {overflow-wrap:anywhere}
.checkout-active .products-panel {display:none} .checkout-active .shop-grid {display:block; max-width:640px; margin:auto} .checkout-active .page-heading {max-width:640px; margin-left:auto; margin-right:auto}
.header-inner {justify-content:space-between; gap:24px} nav {display:flex; align-items:center; gap:24px} nav form {margin:0} .text-button {border:0; background:none; padding:0; color:#71809e; font-size:14px} .page-heading {display:flex; justify-content:space-between; align-items:center; gap:20px; margin:30px 0 24px} .page-heading h1 {margin:0} .mode-badge {border-radius:30px; padding:8px 14px; color:#58739b; background:#e8effa; font-size:13px} .shop-grid {grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)} .summary-panel {position:sticky; top:24px} .product-option {min-height:94px} .product-option .product-icon {display:none} .checkout-progress {display:flex; gap:20px; font-size:13px; color:#8a98af; margin:20px 0} .checkout-progress .active {color:#326bff; font-weight:700} .auth-card {margin-top:60px} .auth-card h1,.auth-card .intro {text-align:center} .auth-card label {display:block; font-weight:600; margin-top:20px} .auth-card input:not([type=hidden]) {width:100%; height:50px; margin-top:8px; border:1px solid #dce5f2; border-radius:10px; padding:12px; font:inherit} .auth-card input:focus {outline:2px solid #8badff; border-color:#356cff} .field-hint {color:#7b8ba6; font-size:12px; margin:6px 0} .primary-button {width:100%; margin-top:20px; padding:14px; background:#356cff; border:0; color:#fff; border-radius:12px; font:inherit; font-weight:700} .orders-page {max-width:1100px; margin:auto; padding:0 28px 40px} .order-row {position:relative; border-bottom:1px solid #edf1f7; padding:22px 160px 22px 0; overflow-wrap:anywhere} .order-row p {margin:6px 0; color:#7b8ba6; font-size:13px} .order-price {position:absolute; top:22px; right:0; color:#2860ff} .order-row a {position:absolute; right:0; bottom:22px; font-size:14px} .pagination {display:flex; align-items:center; gap:20px; justify-content:center; margin-top:20px} .pagination .secondary {width:auto; margin:0} .pagination span {white-space:nowrap}
@media(max-width:760px) {.shop-grid {grid-template-columns:1fr} .summary-panel {position:static} .page-heading {display:block; margin:24px 0 20px} .mode-badge {display:inline-block; margin-top:12px} .shop-page {padding-bottom:24px} .purchase-bar {position:static; padding:0; box-shadow:none; border:0; display:block} .purchase-bar .total {display:flex; margin-bottom:16px} .purchase-bar #buy-button {width:100%} .shop-page+.site-footer {padding-bottom:24px} nav {gap:14px; font-size:14px} .brand {font-size:16px} .auth-card {margin-top:28px} .orders-page {padding:0 14px 28px} .order-row {padding:20px 0} .order-price,.order-row a {position:static; display:block; margin-top:12px} .pagination {gap:10px}}
/* v0.1 uses independent desktop and mobile purchase views sharing one order state. */
.cashier-v01 {background:#f8fafc;color:#0f172a;font-size:14px}
.cashier-v01 .header-inner {max-width:900px;height:60px;padding:0 20px}
.cashier-v01 .brand {font-size:16px;gap:8px}.cashier-v01 .brand-mark {width:28px;height:28px;font-size:21px;border-radius:7px}
.cashier-v01 .shop-page {max-width:840px;padding:32px 20px 40px}
.cashier-v01 .v01-mobile {display:none}.v01-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}
.v01-heading h1 {font-size:24px;margin:0;font-weight:700}.v01-heading p {font-size:14px;color:#64748b;margin:6px 0 0}
.v01-badge {white-space:nowrap;color:#2563eb;background:#eff6ff;border:1px solid #dbeafe;border-radius:6px;padding:4px 9px;font-size:12px}
.v01-purchase-card {border:1px solid #e2e8f0;background:#fff;border-radius:16px;padding:24px 28px;box-shadow:0 1px 3px #0f172a05}
.section-title {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.section-title h2,.v01-amount h2 {font-size:16px;margin:0}
.v01-link {padding:0 4px;min-height:32px;background:none;border:0;color:#2563eb;font-size:13px}.v01-reload {margin-top:8px}
.v01-product-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.v01-product {min-width:0;min-height:74px;border:1px solid #e2e8f0;border-radius:10px;padding:10px 8px;background:white;text-align:center;color:#334155;overflow-wrap:anywhere}
.v01-product strong {display:block;font-size:14px;line-height:1.4}.v01-product small {display:block;font-size:12px;color:#64748b;margin-top:4px;line-height:1.4}
.v01-product-price {display:block;font-size:18px;font-weight:700;line-height:1.3;margin-top:6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.v01-product.selected {border-color:#3b82f6;background:#eff6ff;color:#2563eb;box-shadow:inset 0 0 0 1px #3b82f6}.v01-product:hover {border-color:#93c5fd}
.v01-method {border-top:1px solid #f1f5f9;margin-top:24px;padding-top:20px}
.v01-method-state {font-size:13px;color:#475569;margin:0}.v01-method-state:empty {display:none}.v01-method-options {display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.v01-method-option {position:relative;min-height:58px;display:flex;align-items:center;justify-content:flex-start;gap:12px;background:#fff;border:1px solid #d4deec;border-radius:10px;color:#334155;font-size:14px;padding:10px 14px;cursor:pointer}.v01-method-option img {width:32px;height:32px;object-fit:contain;flex-shrink:0}.v01-method-radio {flex:0 0 16px;width:16px;height:16px;border:1.5px solid #94a3b8;border-radius:50%;background:white}.v01-method-option[aria-pressed="true"] .v01-method-radio {border:5px solid #2563eb}.v01-method-name {min-width:0;text-align:left;overflow-wrap:anywhere}.v01-method-simulation {margin-left:auto;flex-shrink:0;font-size:11px;line-height:20px;padding:0 5px;border-radius:4px;background:#f1f5f9;color:#475569}.v01-method-option:focus-visible {outline:3px solid #2563eb;outline-offset:2px}.v01-method-option:disabled {opacity:.55;cursor:default}
.v01-method-option[aria-pressed="true"] {background:#eff6ff;border-color:#3b82f6;color:#1d4ed8;font-weight:600}
.v01-pay-row {border-top:1px solid #f1f5f9;margin-top:24px;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.v01-pay-row span,.v01-mobile-bar span {display:block;color:#64748b;font-size:12px}.v01-pay-row strong {display:block;font-size:30px;color:#2563eb;font-variant-numeric:tabular-nums;line-height:1.4}
.v01-pay {min-height:50px;padding:0 28px;border:0;border-radius:10px;background:#2563eb;color:white;font-size:16px;font-weight:600}.v01-pay:hover {background:#1d4ed8}.v01-pay-row .v01-pay {width:240px}
.v01-disclaimer {font-size:12px;text-align:center;color:#64748b;margin:16px 0 0}.v01-order-panel {max-width:600px;margin:auto;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:24px}.cashier-v01.checkout-active {max-width:640px}
.cashier-v01 #pay-button {min-height:50px;font-size:16px;border-radius:10px;background:#2563eb}.cashier-v01 .hint {color:#64748b}.cashier-v01 .message {margin:12px 0 0}.cashier-v01 .catalog-state {color:#64748b;font-size:14px}.cashier-v01 .text-button {min-height:44px}.cashier-v01 nav a {display:flex;align-items:center;min-height:44px}
@media(max-width:760px){
.cashier-v01 .v01-pc {display:none}.cashier-v01 .v01-mobile {display:block}
.cashier-v01 .header-inner {height:56px;padding:0 16px;gap:8px}.cashier-v01 .brand {font-size:14px}.cashier-v01 nav {gap:12px;font-size:13px}
.cashier-v01 .shop-page {max-width:460px;padding:16px 12px 116px}.v01-heading {margin-bottom:16px;align-items:flex-start}.v01-heading h1 {font-size:20px}.v01-heading p {font-size:12px;max-width:230px}.v01-badge {font-size:11px;padding:3px 6px}
.v01-purchase-card {padding:0;border:0;background:none;box-shadow:none}.v01-products,.v01-method,.v01-amount {padding:14px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin:0 0 12px}
.section-title {margin-bottom:10px}.section-title h2,.v01-amount h2 {font-size:14px}.v01-link {min-height:44px;padding:0 4px}.section-title {margin-top:-8px;margin-bottom:4px}.v01-reload {margin-top:4px}
.v01-product-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.v01-product {min-height:68px;padding:9px 5px;border-radius:8px}.v01-product strong {font-size:13px}.v01-product small {font-size:11px}.v01-product-price {font-size:16px}
.v01-method-options {grid-template-columns:1fr;gap:10px}.v01-method-option {min-height:50px}.v01-method-option img {width:28px;height:28px}
.v01-subtotal {display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#64748b;margin-top:10px}.v01-subtotal span:first-child {min-width:0;overflow-wrap:anywhere}.v01-subtotal span:last-child {flex-shrink:0;font-weight:600;color:#334155}
.v01-total {display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #f1f5f9;margin-top:8px;padding-top:8px;font-weight:600}.v01-total strong {font-size:20px;color:#2563eb}
.v01-disclaimer {font-size:11px;margin-top:16px}.v01-mobile-bar {position:fixed;bottom:0;inset-inline:0;z-index:5;border-top:1px solid #e2e8f0;background:white;padding:10px 16px max(12px,env(safe-area-inset-bottom));box-shadow:0 -4px 20px #0f172a05}
.v01-mobile-bar-inner {max-width:460px;margin:auto;display:flex;align-items:center;gap:12px}.v01-mobile-bar-inner>div {min-width:0;flex:0 1 auto}.v01-mobile-bar strong {font-size:21px;color:#2563eb;display:block;overflow-wrap:anywhere;line-height:1.4}
.v01-mobile-bar .v01-pay {flex:1;min-width:138px;padding:0 10px;min-height:48px;font-size:14px}.v01-order-panel {padding:18px 14px;border-radius:12px}.cashier-v01 .checkout-active {padding-bottom:24px}
}
@media(max-width:360px){.v01-product-price {font-size:14px}.cashier-v01 .brand-mark {display:none}.v01-mobile-bar strong {font-size:18px}}
/* Shared navigation leaves each page's content layout independent. */
.cashier-shell .header-inner {max-width:900px;height:60px;padding:0 20px;gap:20px}
.cashier-shell .brand {font-size:18px;gap:8px}.cashier-shell .brand-mark {width:32px;height:32px;font-size:24px;border-radius:8px}
.cashier-shell nav {gap:20px;font-size:14px}.cashier-shell nav a,.cashier-shell .text-button {display:flex;align-items:center;justify-content:center;min-height:44px;color:#475569}
.cashier-shell .hint,.cashier-shell .field-hint {color:#64748b}.cashier-shell .primary-button {min-height:50px}
.message.info {color:#475569}.message.warning {color:#925d12}.message.error {color:#b42318}.message.success {color:#15803d}
.message.visually-hidden {position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.result-summary {text-align:center}.result-icon {display:grid;place-items:center;width:64px;height:64px;margin:0 auto 14px;border-radius:50%;background:#eff6ff;color:#2563eb;font-size:34px;font-weight:600;line-height:1}
.result-summary h1 {font-size:24px;margin:0}.result-mode {margin:6px 0 0;color:#64748b;font-size:12px}.result-amount {display:block;margin-top:16px;font-size:36px;line-height:1.3;color:#2563eb;font-variant-numeric:tabular-nums}
.result-summary.success .result-icon {background:#ecfdf3;color:#15803d}.result-summary.error .result-icon {background:#fef3f2;color:#b42318}.result-summary.warning .result-icon {background:#fffaeb;color:#925d12}
.result-details {margin:24px 0}.result-details div {padding:12px 0}.result-details dt {color:#64748b;font-size:14px}.result-details dd {font-size:14px;min-width:0;max-width:72%;color:#334155}.result-details .order-id {font-size:12px}
.result-actions {display:flex;gap:12px;margin-top:20px}.result-actions .secondary,.result-orders {display:flex;flex:1;align-items:center;justify-content:center;min-height:48px;margin:0;border-radius:10px;font-size:14px;font-weight:600}
.result-actions .secondary {background:#2563eb;color:#fff}.result-orders {background:#eff6ff;color:#2563eb;border:1px solid #dbeafe}.result-query {display:block;margin:12px auto 0;min-height:44px;padding:8px 16px;background:none;border:0;color:#475569;font-size:13px}.result-query:hover {color:#2563eb}
@media(max-width:760px){.cashier-shell .header-inner {height:56px;padding:0 16px;gap:8px}.cashier-shell .brand {font-size:14px}.cashier-shell nav {gap:12px;font-size:13px}.result-summary h1 {font-size:22px}.result-icon {width:56px;height:56px;margin-bottom:12px;font-size:30px}.result-amount {font-size:32px}.result-details {margin:20px 0}.result-actions {gap:10px}}
@media(max-width:360px){.cashier-shell .brand-mark {display:none}}

.is-processing:not([hidden]) {display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 14px;border-radius:10px;background:#eff6ff;color:#1d4ed8}
.is-processing::before {content:"";flex:none;width:16px;height:16px;border:2px solid #bfdbfe;border-top-color:#2563eb;border-radius:50%;animation:payment-spin .8s linear infinite}
.home-link {display:inline-flex;align-items:center;min-height:44px;color:#2563eb}
@keyframes payment-spin {to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.is-processing::before{animation:none}}

.v01-game-account{padding:20px 0;border-bottom:1px solid #edf1f7}.v01-game-account label{display:block;font-weight:600}.v01-game-account label span{font-weight:400;color:#64748b}.v01-game-account input{display:block;box-sizing:border-box;width:100%;margin-top:10px;padding:12px 14px;border:1px solid #d6e1f0;border-radius:8px;font:inherit;background:#fff;color:#172b4d}.v01-game-account input:focus{outline:2px solid #2563eb;outline-offset:1px}.v01-game-account input:disabled{background:#f1f5f9}
