.recharge-shade { position: absolute; z-index: 40; inset: 0; padding: 4% 3%; background: #211611b8; display: flex; align-items: center; font: 14px/1.5 -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif; color: #734c30; }
.recharge-shade[hidden] { display: none; }
.recharge-panel { width: 100%; max-height: 100%; display: flex; flex-direction: column; overflow: hidden; border: 2px solid #dca66e; border-radius: 18px; background: linear-gradient(130deg, #fff5df, #f4e0be); box-shadow: inset 0 0 0 3px #fff3d8, 0 10px 40px #24160b60; }
.recharge-heading { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 16px 16px 12px; border-bottom: 1px solid #d5aa77; background: linear-gradient(#f3ddba, #f9ebce); }
.recharge-heading h2 { margin: 0; flex: 1; font-size: clamp(15px, 3.8vw, 22px); letter-spacing: 1px; color: #9a562e; }
.recharge-close { flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border: 1px solid #c38b55; border-radius: 50%; color: #fff8e9; background: #bf8251; font: 28px/1 sans-serif; }
.recharge-body { padding: 13px 15px 18px; overflow-y: auto; min-height: 0; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.recharge-test { margin: 0 0 7px; border: 1px solid #b7d2b3; border-radius: 6px; padding: 6px 8px; background: #edf5df; color: #49733c; text-align: center; font-size: 12px; font-weight: 600; }
.recharge-details summary { cursor: pointer; color: #825532; font-size: 13px; }
.recharge-details p { margin: 8px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.recharge-role { margin: 0 0 12px; font-size: 12px; color: #9c633b; overflow-wrap: anywhere; }
.recharge-group h3 { margin: 12px 0 7px; color: #9c633b; font-size: 13px; font-weight: 600; }
.recharge-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 15px; }
.recharge-product { position: relative; min-height: 75px; padding: 12px 6px; border: 1px solid #d7ae7d; border-radius: 9px; background: #fff8e9; color: #825532; font: inherit; box-shadow: inset 0 0 0 2px #fffef1; cursor: pointer; }
.recharge-product strong, .recharge-price { display: block; }
.recharge-product strong { font-size: 17px; line-height: 1.4; }
.recharge-price { color: #b47842; font-size: 13px; margin-top: 3px; }
.recharge-product.is-selected { border: 2px solid #dd9b36; padding: 11px 5px; background: #fff0cc; box-shadow: inset 0 0 0 2px #fff9e7, 0 2px 8px #c69b4933; }
.recharge-summary, .recharge-order { border: 1px solid #d2ac83; border-radius: 9px; padding: 12px; background: #f0dbc0; margin: 0 0 15px; }
.recharge-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0; }
.recharge-line span { color: #96775b; flex: 0 0 auto; font-size: 12px; }
.recharge-line strong { text-align: right; overflow-wrap: anywhere; font-size: 15px; }
.recharge-primary, .recharge-secondary { display: block; width: 100%; min-height: 43px; margin: 10px 0 0; border-radius: 8px; padding: 9px 12px; font: 600 15px/1.5 -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif; cursor: pointer; }
.recharge-primary { color: #88501d; border: 1px solid #d69a38; background: linear-gradient(#ffe6a0, #f9c65e); box-shadow: inset 0 0 0 2px #ffe7a5, 0 2px 4px #b3814833; }
.recharge-secondary { color: #4c8f79; border: 1px solid #9bbfa5; background: #eef3df; }
.recharge-body button:disabled { opacity: .6; cursor: default; }
.recharge-body button:focus-visible, .recharge-close:focus-visible { outline: 3px solid #1b967e; outline-offset: 2px; }
.recharge-error, .recharge-notice { margin: 8px 0 12px; padding: 9px 10px; border-radius: 6px; overflow-wrap: anywhere; font-size: 13px; }
.recharge-error { color: #a04435; background: #fae5d7; border: 1px solid #dcb29b; }
.recharge-notice { color: #856542; background: #fff3d8; border: 1px solid #e3c698; }
.recharge-order-status { margin: 0 0 8px; color: #ad7332; font-size: 16px; font-weight: 600; }
.recharge-order-status.status-paid, .recharge-order-status.status-mail_queued, .recharge-order-status.status-rewards_applied { color: #4b9276; }
.recharge-order-status.status-error { color: #a04435; }
.recharge-order-id { margin: 12px 0 0; font-size: 11px; color: #977c62; overflow-wrap: anywhere; user-select: text; }
.recharge-order .recharge-notice { margin-bottom: 0; }
.recharge-hint { margin: 10px 0; color: #93785a; font-size: 12px; text-align: center; }
.recharge-history { margin-top: 20px; border-top: 1px solid #d5b58d; padding-top: 12px; }
.recharge-history h3 { margin: 0 0 5px; color: #a2784f; font-size: 13px; font-weight: 500; }
.recharge-history-item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #e3cdb1; background: transparent; color: #8b6747; text-align: left; font: inherit; cursor: pointer; }
.recharge-history-item span { font-size: 12px; }
.recharge-history-item small { color: #75856a; font-size: 11px; }
.recharge-empty { padding: 30px 0; text-align: center; color: #9d7b55; }
@media (max-width: 350px) { .recharge-body { padding: 10px; } .recharge-heading { padding: 10px; } .recharge-product strong { font-size: 15px; } .recharge-test { font-size: 11px; } }
