.tth-my-credits{width:100%;color:var(--tth-ink)}.tth-credits-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px;padding:26px;border:1px solid var(--tth-border);border-radius:22px;background:linear-gradient(135deg,#fff,#f8f5fc);box-shadow:var(--tth-shadow-soft)}.tth-credits-hero h2{margin:2px 0 8px;font-size:32px;line-height:1.15}.tth-credits-hero p{margin:0;color:var(--tth-muted)}.tth-credits-eyebrow{font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--tth-berry)}.tth-credit-balance{min-width:160px;text-align:center;padding:17px;border:1px solid #eee4ef;border-radius:17px;background:#fff}.tth-credit-balance strong,.tth-credit-balance span{display:block}.tth-credit-balance strong{font-size:34px;line-height:1;color:var(--tth-berry)}.tth-credit-balance span{margin-top:6px;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.tth-credit-info{padding:18px 20px;margin-bottom:20px;border:1px solid #f0e6dc;border-radius:16px;background:var(--tth-cream)}.tth-credit-info p{margin:6px 0 0;color:#62585f}.tth-credit-history h3{margin-bottom:12px}.tth-credit-table-wrap{overflow:auto;border:1px solid var(--tth-border);border-radius:16px;background:#fff}.tth-credit-table{width:100%;border-collapse:collapse}.tth-credit-table th,.tth-credit-table td{padding:13px 14px;border-bottom:1px solid #eee8ef;text-align:left;vertical-align:top}.tth-credit-table th{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--tth-muted)}.tth-credit-table tbody tr:last-child td{border-bottom:0}.tth-credit-table td:last-child{text-align:right;font-weight:800}.tth-credit-table small{display:block;margin-top:4px;color:var(--tth-muted)}.tth-credit-table .is-credit{font-weight:800;color:var(--tth-green)}.tth-credit-table .is-debit{font-weight:800;color:var(--tth-berry)}.tth-credit-empty,.tth-credits-message{padding:28px;border:1px dashed #d9cedc;border-radius:16px;text-align:center;background:#fff}.tth-promo-redeem{margin:0 0 22px;padding:22px;border:1px solid var(--tth-border);border-radius:18px;background:#fff;box-shadow:var(--tth-shadow-soft)}.tth-promo-redeem h3{margin:0 0 6px}.tth-promo-redeem p{margin:0 0 14px;color:var(--tth-muted)}.tth-promo-form{display:flex;gap:10px;flex-wrap:wrap}.tth-promo-form input[type=text]{min-width:240px;max-width:360px;flex:1;border-radius:11px}.tth-promo-notice{margin:0 0 12px;padding:11px 13px;border-radius:10px;background:var(--tth-lilac)}.tth-credit-topup{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px;padding:20px 22px;border:1px solid #eadde9;border-radius:18px;background:#fff;box-shadow:var(--tth-shadow-soft)}.tth-credit-topup strong{display:block;margin:0 0 4px;font-size:19px;color:var(--tth-ink)}.tth-credit-topup p{margin:0;color:var(--tth-muted)}.tth-credit-topup-button{white-space:nowrap;margin:0!important}.tth-credit-topup-button:hover{transform:translateY(-1px)}@media(max-width:640px){.tth-credits-hero{align-items:flex-start;flex-direction:column}.tth-credit-balance{min-width:unset;width:100%}.tth-credit-topup{align-items:stretch;flex-direction:column}.tth-credit-topup-button{width:100%;text-align:center}}


/* v1.16.15 teacher-friendly credit refill card — colorful, clean, no decorative accent lines */
.tth-credit-topup{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:24px;align-items:stretch;padding:26px 28px;border:1px solid #d9ebea;border-radius:22px;background:#eef9f8;box-shadow:0 10px 28px rgba(55,45,68,.06)}
.tth-credit-topup-main{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.tth-credit-topup-kicker{display:inline-flex;margin:0 0 8px;padding:5px 10px;border-radius:999px;background:#fff;color:#8d3f73;font-size:12px;font-weight:800}
.tth-credit-topup-main>strong{font-size:25px;line-height:1.2;color:#302b3d}
.tth-credit-topup-main>p{max-width:620px;margin:8px 0 18px;color:#5f5964;line-height:1.55}
.tth-credit-topup-button{display:inline-flex!important;align-items:center;justify-content:center;min-height:48px;padding:12px 22px!important;border-radius:13px!important;font-weight:850!important}
.tth-credit-topup-perks{display:grid;gap:10px;padding:14px;border-radius:17px;background:#fff;border:1px solid #dfeeed}
.tth-credit-topup-perks>div{padding:10px 12px;border-radius:12px;background:#fafdfd}
.tth-credit-topup-perks strong,.tth-credit-topup-perks span{display:block}
.tth-credit-topup-perks strong{color:#3a675f;font-size:14px}
.tth-credit-topup-perks span{margin-top:2px;color:#6b6570;font-size:13px;line-height:1.35}
.tth-credit-info{background:#fff8ef;border-color:#f0e2d4}
.tth-promo-redeem{background:#fbf7fd;border-color:#e8deee}
@media(max-width:780px){.tth-credit-topup{grid-template-columns:1fr;padding:22px}.tth-credit-topup-main>strong{font-size:22px}.tth-credit-topup-button{width:100%;text-align:center}.tth-credit-topup-perks{grid-template-columns:1fr}}


/* v1.17.45 — My Credits member benefit state. */
.tth-credit-topup.is-member-topup{
  border-color:#cfe4da;
  background:linear-gradient(135deg,#eefaf4,#f3f0ff)
}
.tth-credit-topup.is-member-topup .tth-credit-topup-kicker{
  color:#326a58!important
}
