.pricing-shell { width: min(880px, calc(100% - 96px)); margin: 0 auto; padding-bottom: 88px; }
.pricing-intro { padding: 78px 0 72px; text-align: center; }
.pricing-intro h1 { font-size: 32px; font-weight: 500; letter-spacing: -.025em; line-height: 1.3; }
.pricing-intro p { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.product-prices { --price-column-gap: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--price-column-gap); }
.price-product { position: relative; min-width: 0; }
.price-product + .price-product::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--price-column-gap) * -.5); border-left: 1px solid var(--line); pointer-events: none; }
.price-product-heading { display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 94px; text-align: center; }
.price-product-heading img { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 9px; object-fit: contain; }
.price-product-heading h2 { font-size: 15px; font-weight: 450; line-height: 1.5; }
.price-product-heading p { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.price-list { display: grid; grid-template-columns: max-content max-content; grid-auto-rows: 49px; justify-content: center; align-items: baseline; column-gap: 14px; margin: 28px 0 0; }
.price-row { display: contents; }
.price-row dt { font-size: 12px; font-weight: 400; line-height: 1.6; text-align: right; white-space: nowrap; }
.price-row dd { display: inline-flex; align-items: baseline; gap: 3px; margin: 0; white-space: nowrap; }
.price-row strong { color: var(--accent); font-size: 23px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; font-variant-numeric: tabular-nums; text-align: left; }
.price-row dd > span { color: var(--muted); font-size: 11px; }
.pricing-note { margin: 32px 0 66px; text-align: center; color: var(--muted); font-size: 11px; line-height: 1.9; }
.pricing-note > span { padding: 0 7px; }
.inline-action { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; text-decoration: underline; text-decoration-color: #b1c2a6; text-underline-offset: 4px; }
.inline-action:hover { color: var(--accent); }
.retry-action { margin-top: 8px; color: var(--accent); font-size: 13px; }
.recharge-section { border-top: 1px solid #e3e8df; padding-top: 36px; }
.recharge-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.recharge-heading h2 { font-size: 18px; line-height: 1.5; font-weight: 500; }
.recharge-heading > span { color: var(--muted); font-size: 12px; }
.recharge-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; min-height: 106px; }
.recharge-option { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px 12px 18px; border: 1px solid #e0e6db; border-radius: 6px; color: var(--text); background: rgba(255,255,255,.35); transition: border-color .18s, background .18s; }
.recharge-option:hover { border-color: #a0b294; background: #f7f9f4; }
.recharge-option[aria-pressed="true"] { border-color: #789466; background: #f3f6ee; }
.recharge-option strong { font-size: 22px; line-height: 1.3; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.recharge-option .offer-bonus { color: var(--accent); font-size: 11px; line-height: 1.6; }
.recharge-option .offer-arrival { margin-top: 3px; text-align: center; color: var(--muted); font-size: 11px; line-height: 1.6; }
.recharge-option .offer-arrival b { font-weight: 400; color: var(--muted); }
.checkout-form { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: 30px; }
.custom-amount { display: flex; align-items: center; gap: 14px; font-size: 12px; min-height: 40px; white-space: nowrap; }
.pricing-page input:not([type="checkbox"]) { min-width: 0; min-height: 44px; border: 1px solid #cfd8c9; border-radius: 6px; padding: 10px 13px; background: rgba(255,255,255,.6); color: var(--text); font: inherit; }
.pricing-page input::placeholder { color: #8a9385; }
.pricing-page .custom-amount input { width: 118px; min-height: 40px; padding: 8px 11px; font-size: 12px; }
.custom-amount:focus-within input { border-color: var(--accent); }
.pricing-page input[aria-invalid="true"] { border-color: #a64b37; }
.checkout-actions { display: flex; align-items: flex-start; justify-content: flex-end; gap: 24px; }
.arrival-summary { font-size: 11px; color: var(--muted); line-height: 40px; white-space: nowrap; }
.arrival-summary strong { color: var(--accent); font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.checkout-primary > .button { min-width: 196px; min-height: 40px; font-size: 13px; font-weight: 400; }
.checkout-primary > p { margin-top: 10px; color: var(--muted); font-size: 10px; text-align: center; line-height: 1.7; }
.recharge-note { margin-top: 23px; font-size: 11px; color: var(--quiet); line-height: 1.8; }
.inline-message { margin-top: 12px; color: #9a422f; font-size: 13px; line-height: 1.8; }
.inline-message[data-kind="success"] { color: var(--accent); }
.pricing-page .button:disabled, .pricing-page button:disabled { cursor: wait; opacity: .58; }
.pricing-dialog { width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 30px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); overflow: auto; box-shadow: 0 20px 70px rgba(26,40,20,.14); }
.pricing-dialog::backdrop { background: rgba(28,36,26,.34); backdrop-filter: blur(4px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.dialog-heading h2 { font-size: 20px; font-weight: 500; line-height: 1.4; }
.dialog-heading p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.dialog-close { flex-shrink: 0; min-height: 32px; padding: 3px 0 3px 8px; border: 0; background: none; color: var(--muted); font-size: 12px; }
.login-form { display: grid; gap: 20px; }
.login-form > label:not(.agreement-check) { display: grid; gap: 9px; font-size: 13px; }
.login-form input:not([type="checkbox"]) { width: 100%; }
.code-field { display: flex; gap: 10px; }
.code-field > .button { flex-shrink: 0; min-width: 104px; }
.agreement-check { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.agreement-check input { margin: 4px 0 0; accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.login-form > .inline-message { margin: -7px 0; }
.login-form > .button { min-height: 44px; font-size: 14px; }
.login-footnote { text-align: center; color: var(--muted); font-size: 11px; }
.payment-dialog { text-align: center; }
.payment-dialog > p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.payment-qr-frame { width: min(232px, 100%); aspect-ratio: 1; padding: 10px; margin: 20px auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.payment-qr-frame img { width: 100%; height: 100%; display: block; object-fit: contain; }
.payment-amount { display: block; margin: 8px 0; font-size: 30px; font-weight: 550; }
.payment-dialog > .payment-status { margin: 18px 0; color: var(--accent); }
.payment-dialog > .payment-status[data-kind="error"] { color: #9a422f; }
.payment-dialog > .button { margin: 4px; min-height: 40px; }
.dialog-copy { color: var(--muted); font-size: 14px; line-height: 1.9; }
.dialog-copy p + p { margin-top: 16px; }
.agreement-dialog { width: min(640px, calc(100% - 32px)); }
.agreement-body { font-size: 13px; line-height: 1.9; color: var(--muted); }
.agreement-body h3 { margin: 20px 0 7px; color: var(--text); font-size: 14px; font-weight: 550; }
.agreement-dialog > .button { width: 100%; margin-top: 25px; min-height: 44px; }
@media (max-width: 880px) {
  .product-prices { --price-column-gap: 32px; }
  .price-list { grid-template-columns: max-content max-content; grid-auto-rows: auto; row-gap: 5px; }
  .price-row dt { grid-column: 1 / -1; text-align: center; }
  .price-row dd { grid-column: 1 / -1; margin-bottom: 16px; }
  .price-row:last-child dd { margin-bottom: 0; }
}
@media (max-width: 700px) {
  .pricing-shell { width: calc(100% - 56px); }
  .pricing-intro { padding: 56px 0; }
  .product-prices { --price-column-gap: 24px; }
  .checkout-form { flex-wrap: wrap; }
  .checkout-actions { flex: 1; }
}
@media (max-width: 600px) {
  .pricing-shell { width: calc(100% - 48px); padding-bottom: 58px; }
  .pricing-intro { padding: 40px 0 48px; }
  .pricing-intro h1 { font-size: 28px; }
  .pricing-intro p { font-size: 12px; margin-top: 10px; }
  .product-prices { grid-template-columns: 1fr; gap: 0; }
  .price-product { padding: 28px 0; }
  .price-product:first-child { padding-top: 0; }
  .price-product + .price-product { border-top: 1px solid var(--line); }
  .price-product + .price-product::before { display: none; }
  .price-product-heading h2 { font-size: 15px; }
  .price-product-heading p { min-height: 0; margin-top: 4px; font-size: 11px; }
  .price-list { grid-template-columns: max-content max-content; grid-auto-rows: 44px; row-gap: 0; margin-top: 22px; }
  .price-row dt { grid-column: auto; text-align: right; }
  .price-row dd { grid-column: auto; margin-bottom: 0; }
  .price-row strong { font-size: 22px; }
  .price-row dt { font-size: 12px; gap: 4px; }
  .price-row dd > span { font-size: 11px; }
  .pricing-note { margin: 8px 0 40px; font-size: 10px; }
  .pricing-note > span { padding: 0 4px; }
  .recharge-section { padding-top: 28px; }
  .recharge-heading { margin-bottom: 20px; }
  .recharge-heading > span { font-size: 11px; }
  .recharge-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .recharge-option { min-height: 112px; padding: 19px 10px; }
  .checkout-form { display: block; margin-top: 26px; }
  .custom-amount { justify-content: space-between; }
  .pricing-page .custom-amount input { width: 138px; }
  .checkout-actions { display: block; margin-top: 24px; }
  .arrival-summary { text-align: right; margin-bottom: 14px; line-height: 1.6; }
  .checkout-primary > .button { width: 100%; min-height: 44px; }
  .pricing-dialog { padding: 24px; }
}
