:root { color-scheme: light; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #171716; background: #f3f3f1; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #526cdb; outline-offset: 4px; }
.pay-shell { max-width: 960px; padding: 30px 28px 40px; margin: 0 auto; }
.pay-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; text-decoration: none; }
.brand span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #171716; color: white; font-size: 22px; }
.header-note { font-size: 12px; color: #777772; }
.intro { padding: 58px 0 25px; }
.eyebrow { color: #777772; letter-spacing: .12em; font-size: 11px; font-weight: 600; }
h1 { margin: 13px 0; font-size: clamp(27px, 4.7vw, 42px); letter-spacing: -.04em; font-weight: 650; }
.intro > p:last-child { color: #777772; font-size: 15px; line-height: 1.8; }
.notice { padding: 12px 15px; background: #eaeae6; border-radius: 10px; font-size: 13px; line-height: 1.7; }
.notice.available { background: #e9f0eb; color: #326044; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.plan { display: flex; flex-direction: column; align-items: flex-start; min-height: 170px; padding: 23px; border: 1px solid #e4e4df; border-radius: 16px; background: #fff; text-align: left; color: #171716; transition: border-color .15s, box-shadow .15s; }
.plan:not(:disabled):hover { border-color: #171716; box-shadow: 0 5px 18px #1717160b; }
.plan:disabled { opacity: .55; cursor: not-allowed; }
.plan-duration { font-size: 16px; font-weight: 600; }
.plan-price { display: block; margin: 15px 0 19px; font-size: 35px; letter-spacing: -.04em; font-weight: 650; }
.plan-action { margin-top: auto; color: #777772; font-size: 12px; }
.terms { margin: 20px 0 26px; color: #777772; font-size: 12px; line-height: 1.9; }
.order-card { padding: 25px; border: 1px solid #e1e1db; border-radius: 16px; background: #fff; }
.order-heading { display: flex; align-items: center; gap: 11px; }
h2 { margin: 0; font-size: 19px; font-weight: 650; }
.status-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f0f0ec; font-size: 17px; }
.order-card.paid .status-mark { background: #e9f0eb; color: #26845d; }
#orderDetail { font-size: 14px; }
.order-number { color: #777772; font-size: 12px; overflow-wrap: anywhere; }
.order-message { margin: 16px 0; font-size: 13px; line-height: 1.8; color: #63635e; }
.order-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 11px 16px; border: 1px solid #deded8; border-radius: 9px; background: #fff; color: #171716; font-size: 13px; line-height: 1.3; text-decoration: none; }
.button.primary { background: #171716; color: #fff; border-color: #171716; }
.button:disabled { cursor: wait; opacity: .5; }
.access-link { padding: 12px; border-radius: 8px; background: #f7f7f5; font-size: 11px; color: #777772; overflow-wrap: anywhere; user-select: all; }
.page-error { padding: 13px 15px; border-radius: 10px; background: #fff0ed; color: #963f37; font-size: 13px; line-height: 1.8; }
footer { margin-top: 32px; color: #777772; font-size: 11px; line-height: 1.8; }
footer p { margin: 5px 0; }
footer strong { font-weight: 500; }
@media (max-width: 620px) { .pay-shell { padding: 22px 18px 30px; } .header-note { font-size: 10px; } .intro { padding-top: 37px; } .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .plan { padding: 19px; min-height: 155px; } .plan-price { font-size: 30px; } .order-card { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
