.creditDialog { width: min(540px, calc(100vw - 28px)); max-height: calc(100dvh - 32px); box-sizing: border-box; padding: 26px; border: 1px solid #eadfd2; border-radius: 24px; background: #fffaf3; color: #443c34; box-shadow: 0 24px 80px #45332533; }
.creditDialog::backdrop { background: #34271e66; }
.creditDialog h2,.creditDialog h3,.creditDialog p { margin: 0 0 12px; }
.creditDialog h2 { font-size: 24px; }
.creditDialog h3 { font-size: 18px; }
.creditDialog button,.creditDialog input,.creditDialog select { font: inherit; }
.creditDialog header { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.creditDialog header button { border: 0; background: transparent; font-size: 26px; cursor: pointer; }
.creditDialog section { margin-top: 20px; }
.creditDialog small { display: block; color: #7c7063; font-size: 12px; margin-top: 5px; }
.creditRefundLink { display: inline-block; margin-top: 10px; color: #8a4f2b; font-size: 12px; }
.creditPacks { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.creditPacks button { display: block; padding: 12px 4px; }
.creditCustom { display: flex; gap: 10px; align-items: end; margin-top: 14px; }
.creditCustom label { flex: 1; min-width: 0; }
.creditCustom input,.creditDialog select { box-sizing: border-box; width: 100%; border: 1px solid #dfd3c4; background: white; border-radius: 10px; padding: 10px; margin-top: 5px; }
.creditDialog select { width: auto; }
.creditPayment { text-align: center; overflow-wrap: anywhere; }
.creditPayment img { display: block; width: 190px; height: 190px; object-fit: contain; margin: 12px auto; background: white; }
.creditActions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 10px 0; }
.creditDialog ul { padding: 0; margin: 14px 0; list-style: none; }
.creditDialog li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #eadfd2; }
.creditDialog li strong { white-space: nowrap; }
#creditMessage { margin: 14px 0; color: #775844; line-height: 1.6; }
.creditDialog [hidden] { display: none !important; }
.authCard .authAgreement { display: block; margin: 12px 0; font-size: 12px; line-height: 1.8; }
.authCard .authAgreement input { display: inline-block; width: 16px !important; height: 16px; min-height: 0; padding: 0; margin: 0 5px 0 0; vertical-align: -3px; accent-color: #985b30; }
.authCard .authAgreement a { display: inline; text-underline-offset: 3px; }
.authCard [hidden] { display: none !important; }
@media(max-width: 480px) { .creditDialog { padding: 20px; } .creditCustom { flex-wrap: wrap; } }
