/* Unified recharge page only; legacy pages keep their existing appearance. */
.recharge-page {
  --brand: #386ff4; --brand-dark: #285ce0; --brand-light: #edf3ff;
  --ink: #233047; --muted: #748096; --line: #e3e9f3;
  background: radial-gradient(ellipse at 50% 0%, #e9efff 0, #f2f6fc 58%, #f6f8fc 100%);
  min-height: 100svh; font-size: 14px;
}
.recharge-page [hidden] { display: none !important; }
.recharge-page .site-header { background: transparent; border: 0; }
.recharge-page .header-inner { max-width: 792px; padding: 24px 24px 0; flex-wrap: nowrap; }
.recharge-page .brand { gap: 8px; }
.recharge-page .brand-name { font-size: 24px; font-weight: 750; letter-spacing: -.5px; color: #3b82f6; white-space: nowrap; }
.recharge-page .header-controls { gap: 16px; flex-wrap: nowrap; }
.recharge-page .text-button { border: 0; background: transparent; color: #596983; font: inherit; padding: 8px 0; cursor: pointer; white-space: nowrap; }
.recharge-page .home-nav { text-decoration: none; }
.recharge-page .language-control select { background: #ffffffb8; border: 1px solid #dce4f1; border-radius: 8px; padding: 8px; color: #53627a; font-size: 13px; }
.recharge-page .primary-layout { max-width: 792px; padding: 32px 24px 0; }
.recharge-page .hero { margin: 0 0 26px; }
.recharge-page .hero h1 { font-size: 30px; letter-spacing: -.8px; font-weight: 750; color: #374c7c; margin-bottom: 8px; }
.recharge-page .hero-description { font-size: 14px; color: #7a87a0; }
.recharge-page .service-switcher { margin: 0 0 12px; min-height: 20px; }
.recharge-page .provider-readiness { text-align: left; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.recharge-page .provider-readiness::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.recharge-page .provider-readiness.is-available { color: #358768; }
.recharge-page .provider-readiness.is-unavailable { color: #b96c38; }
.recharge-page .workspace { max-width: none; padding: 32px; border: 1px solid #fff; border-radius: 18px; background: #fffffff2; box-shadow: 0 12px 42px #35496b08, 0 2px 6px #35496b04; }
.recharge-page .stepper { max-width: 570px; margin: 0 auto 30px; }
.recharge-page .stepper .step { font-size: 13px; }
.recharge-page .stepper .step span { width: 34px; height: 34px; border: 0; background: #edf0f6; color: #909bb0; font-weight: 600; }
.recharge-page .stepper .step em { font-size: 13px; margin-top: 3px; }
.recharge-page .stepper .step::before, .recharge-page .stepper .step::after { top: 17px; height: 2px; width: calc(50% - 25px); }
.recharge-page .stepper .step::before { right: calc(50% + 25px); }
.recharge-page .stepper .step::after { left: calc(50% + 25px); }
.recharge-page .stepper .step.is-current span { background: var(--brand); color: white; box-shadow: 0 0 0 5px #f0f4ff; }
.recharge-page .stepper .step.is-done span { background: #edf3ff; color: var(--brand); }
.recharge-page .stepper .step.is-done::after, .recharge-page .stepper .step.is-done::before { background: #9db9ff; }
.recharge-page .section-heading { margin-bottom: 22px; display: block; }
.recharge-page .section-heading h2, .recharge-page .confirm-sheet h2 { font-size: 20px; color: #293852; margin: 0 0 6px; font-weight: 650; }
.recharge-page .section-heading p { color: var(--muted); line-height: 1.6; font-size: 13px; }
.recharge-page .heading-index { display: none; }
.recharge-page .field-label { color: #4f5d74; font-size: 13px; font-weight: 550; margin-bottom: 9px; }
.recharge-page input[type=text], .recharge-page textarea, .recharge-page #dynamic-fields select { border-color: #dce3ef; border-radius: 10px; padding: 13px 15px; background: #fcfdff; font-size: 14px; }
.recharge-page #dynamic-fields select { width: 100%; min-height: 46px; font: inherit; color: var(--ink); }
.recharge-page #redeem-card { height: 54px; font-family: ui-monospace, Consolas, monospace; letter-spacing: .5px; }
.recharge-page input::placeholder, .recharge-page textarea::placeholder { color: #a1aabd; }
.recharge-page .primary-button { min-height: 48px; border-radius: 10px; background: linear-gradient(105deg, #3676f5, #6c62ed); margin-top: 22px; transition: filter .15s; }
.recharge-page .primary-button:hover { filter: brightness(.96); }
.recharge-page .primary-button:disabled { cursor: wait; }
.recharge-page .secondary-button { min-height: 48px; background: #f3f5f9; border-color: transparent; color: #62718b; border-radius: 10px; font-size: 14px; }
.recharge-page .button-row { margin-top: 22px; gap: 12px; flex-wrap: nowrap; }
.recharge-page .button-row .secondary-button { flex: 0 1 32%; }
.recharge-page .button-row .primary-button { margin-top: 0; }
.recharge-page .verified-card { display: flex; gap: 12px; padding: 15px 16px; background: #f1f6ff; border: 1px solid #dbe7ff; border-radius: 11px; margin: 0 0 20px; }
.recharge-page .verified-icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #e0ebff; color: #4176e5; flex: none; }
.recharge-page .verified-card p { margin: 0 0 4px; color: #6981aa; font-size: 12px; }
.recharge-page #product-summary { margin: 0; }
.recharge-page #product-summary .product-name { padding: 0; background: none; color: #365783; font-size: 15px; font-weight: 650; }
.recharge-page #verified-code { display: block; color: #8a9ab3; margin-top: 3px; font-family: ui-monospace, Consolas, monospace; }
.recharge-page .details-subtitle { font-size: 12px; color: #77859b; margin: 0; }
.recharge-page .details-subtitle p { margin: 0 0 15px; }
.recharge-page .dynamic-field { margin: 14px 0; }
.recharge-page .dynamic-field:has([data-session]) > .field-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.recharge-page .session-instructions { border: 0; border-radius: 0; background: transparent; padding: 0; margin: 0 0 16px; }
.recharge-page .session-instructions h3, .recharge-page .session-actions p { display: none; }
.recharge-page .session-actions { grid-template-columns: 1fr 1fr; gap: 12px; }
.recharge-page .session-instructions .session-jump { min-height: 44px; padding: 10px 12px; font-size: 14px; font-weight: 550; border-radius: 9px; background: #edf3ff; color: #3f70c5; border: 1px solid #dce7fb; }
.recharge-page .session-instructions .session-login { background: #eff9f4; color: #35825f; border-color: #d9eee2; }
.recharge-page .session-instructions .session-jump:not(.session-login):hover { background: #e0ebff; }
.recharge-page .session-instructions .session-tab-hint { color: #8d96a7; margin: 9px 0 0; font-size: 11px; line-height: 1.5; }
.recharge-page .session-paste-label { font-size: 13px; font-weight: 550; color: #53617b; margin-bottom: 10px; }
.recharge-page .dynamic-field textarea { min-height: 130px; line-height: 1.7; resize: vertical; }
.recharge-page .session-preview { margin: 8px 0 0; font-size: 12px; }
.recharge-page .session-preview > p { font-size: 12px; margin: 5px 0; }
.recharge-page .session-preview.is-valid { padding: 10px 12px; border-radius: 9px; background: #f4faf7; border-color: #e0ede6; }
.recharge-page .session-preview .confirm-kv { border: 0; background: transparent; }
.recharge-page .session-preview .confirm-kv div { border: 0; }
.recharge-page .session-preview .confirm-kv dt { background: none; padding: 3px 0; width: 32%; }
.recharge-page .session-preview .confirm-kv dd { padding: 3px 0 3px 8px; }
.recharge-page .field-counter { font-size: 11px; }
.recharge-page .form-error:empty, .recharge-page .field-error:empty { margin: 0; }
.recharge-page .confirm-sheet { max-width: none; padding: 0; box-shadow: none; border-radius: 0; background: transparent; }
.recharge-page .confirm-sheet > p { font-size: 13px; margin-bottom: 20px; }
.recharge-page .confirm-sheet .confirm-kv { border-color: #e4eaf4; border-radius: 12px; }
.recharge-page .confirm-sheet .confirm-kv dt { width: 30%; font-size: 13px; padding: 16px; background: #f8faff; }
.recharge-page .confirm-sheet .confirm-kv dd { padding: 16px; font-size: 14px; color: #31476a; }
.recharge-page .confirm-sheet .confirm-kv div:nth-child(3) dd { font-weight: 650; color: #376cf0; }
.recharge-page #confirm-error { margin-top: 12px; }
.recharge-page .result-card { border: 0; padding: 12px 0; }
.recharge-page .result-actions { flex-wrap: wrap; }
.recharge-page .result-actions .secondary-button { flex: 1; }
.recharge-page .result-detail { margin-top: 24px; }
.recharge-page .support-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 22px 16px 0; color: #bbc3d1; font-size: 12px; }
.recharge-page .support-links a, .recharge-page .support-links button { color: #7f8ca3; font: inherit; text-decoration: none; background: none; padding: 4px 0; border: 0; cursor: pointer; }
.recharge-page .support-links a:hover, .recharge-page .support-links button:hover { color: var(--brand); }
.recharge-page .site-footer { background: transparent; border: 0; margin-top: 16px; padding: 0 20px 25px; justify-content: center; gap: 6px 16px; text-align: center; font-size: 11px; color: #9aa5b7; }
.recharge-page .page-shell { flex: 0; }
.recharge-page :focus-visible { outline: 3px solid #a4befa; outline-offset: 3px; }
.recharge-page h2:focus { outline: none; }
.recharge-page .claude-guide { margin: 16px 0; padding: 14px; font-size: 13px; }
.recharge-page #recovery-orders { padding: 12px; background: #f7f9fe; border-radius: 10px; }
@media (max-width: 560px) {
  .recharge-page .header-inner { padding: 18px 18px 0; flex-wrap: wrap; gap: 12px; }
  .recharge-page .header-controls { gap: 14px; margin-left: auto; }
  .recharge-page .brand-name { font-size: 22px; }
  .recharge-page .primary-layout { padding: 25px 16px 0; }
  .recharge-page .hero { margin-bottom: 22px; }
  .recharge-page .hero h1 { font-size: 26px; }
  .recharge-page .hero-description { font-size: 12px; }
  .recharge-page .workspace { padding: 24px 20px; border-radius: 15px; }
  .recharge-page .stepper { margin-bottom: 26px; }
  .recharge-page .stepper .step em { font-size: 12px; }
  .recharge-page .section-heading h2, .recharge-page .confirm-sheet h2 { font-size: 19px; }
  .recharge-page .session-actions { gap: 8px; }
  .recharge-page .session-instructions .session-jump { font-size: 12px; padding: 10px 5px; }
  .recharge-page .button-row { gap: 8px; }
  .recharge-page .button-row button { padding: 12px 8px; font-size: 14px; }
  .recharge-page .confirm-sheet .confirm-kv dt { padding: 13px 10px; }
  .recharge-page .confirm-sheet .confirm-kv dd { padding: 13px 10px; font-size: 13px; min-width: 0; }
  .recharge-page .session-preview .confirm-kv dt { width: 28%; }
  .recharge-page .site-footer { flex-direction: column; align-items: center; }
}
@media (max-width: 360px) {
  .recharge-page .header-inner { padding-left: 16px; padding-right: 16px; gap: 8px; }
  .recharge-page .brand { gap: 6px; }
    .recharge-page .brand-name { font-size: 16px; }
  .recharge-page .header-controls { gap: 8px; }
  .recharge-page .text-button, .recharge-page .language-control select { font-size: 12px; }
  .recharge-page .language-control select { padding: 7px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .recharge-page *, .recharge-page *::before, .recharge-page *::after { animation: none !important; transition: none !important; }
}

.home-page { background: linear-gradient(135deg, #eff6ff, #eef2ff); font-family: ui-sans-serif, system-ui, sans-serif; }
.home-page .header-inner { max-width: 1152px; padding: 32px 24px 0; }
.home-page .primary-layout { max-width: 1152px; padding: 16px 24px 0; }
.home-page .language-control select { min-height: 38px; padding: 8px 14px; border-color: #d1d5db; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px #0000000d; }
.home-page .hero, .home-service-panel { background: #ffffffb3; border: 1px solid #ffffff4d; border-radius: 12px; padding: 32px; text-align: center; }
.home-page .hero { margin: 0 0 32px; }
.home-page .hero h1 { font-size: 36px; font-weight: 700; line-height: 40px; letter-spacing: 0; margin: 0; color: #7c83ff; }
.home-page .hero-description { font-size: 18px; line-height: 28px; color: #4b5563; margin: 8px 0 0; }
.home-page .hero::after { content: ''; display: block; width: 96px; height: 4px; margin: 16px auto 0; border-radius: 2px; background: linear-gradient(90deg, #3b82f6, #8b5cf6); }
.home-service-panel { box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a; }
.home-service-panel h2 { font-size: 24px; line-height: 32px; font-weight: 700; color: #111; margin: 0 0 16px; }
.home-service-panel > p { font-size: 16px; line-height: 24px; color: #4b5563; margin: 0 0 24px; }
.home-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 48px; padding: 8px 12px; border: 0; border-radius: 8px; color: white; background: linear-gradient(90deg, #3b82f6, #2563eb); font-size: 14px; font-weight: 500; line-height: 20px; text-decoration: none; transition: opacity .2s; }
.service-card:hover { opacity: .9; }
.service-icon { display: inline-flex; flex: none; }
.service-icon svg { width: 20px; height: 20px; }
.service-start { background: linear-gradient(90deg, #3b82f6, #8b5cf6); }
.service-card:last-child { background: linear-gradient(90deg, #ec4899, #f43f5e); }
.home-page .site-footer { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 32px 16px 0; padding: 0 0 32px; color: #6b7280; font-size: 14px; line-height: 20px; }
@media (max-width: 639px) {
  .home-page .header-inner { padding: 16px 16px 0; }
  .home-page .primary-layout { padding: 16px 16px 0; }
  .home-page .hero, .home-service-panel { padding: 20px; }
  .home-page .hero { margin-bottom: 24px; }
  .home-page .hero h1 { font-size: 30px; line-height: 36px; }
  .home-page .hero-description { font-size: 16px; line-height: 24px; }
  .home-services { grid-template-columns: 1fr; }
}
