/* Portfel RawCraft: wybór kwoty i czytelne podsumowanie. */
.topup-page .shop-body { padding-top: 6px; }
.topup-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(290px,1fr); gap: 26px; align-items: start; }
.topup-selector { padding: 34px 38px; background: linear-gradient(145deg,#162029ed,#0e161eeb); border-color: #a8b7be33; }
.topup-heading { display: flex; align-items: center; gap: 17px; }
.topup-symbol { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid #d4b94c35; border-radius: 13px; background: #e6c44609; flex-shrink: 0; }
.topup-symbol .icon { width: 39px; height: 39px; }
.topup-symbol .item-illustration { width: 44px; height: 44px; }
.topup-heading .shop-eyebrow { font-size: 8px; color: #d9c684; letter-spacing: 1.8px; }
.topup-heading h2 { font-size: clamp(22px,2vw,30px); letter-spacing: -.65px; margin: 5px 0 0; }
.topup-lead { max-width: 520px; color: #aebbc8; font-size: 12px; line-height: 1.8; margin: 23px 0 31px; }
.topup-amount-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topup-amount-row > label { color: #c5cdd6; font-size: 12px; }
.topup-number-wrap { display: flex; align-items: center; gap: 10px; border: 1px solid #e7cb5e4a; border-radius: 10px; padding: 11px 17px; background: #09101780; color: #d6c688; }
.topup-number-wrap input { width: 92px; min-width: 0; border: 0; padding: 0; background: transparent; color: #fff0b4; font: inherit; font-size: 29px; font-weight: 750; text-align: right; outline: none; appearance: textfield; -moz-appearance: textfield; }
.topup-number-wrap input::-webkit-inner-spin-button,.topup-number-wrap input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.topup-number-wrap:focus-within { border-color: #ffe079; box-shadow: 0 0 0 3px #efd15e15; }
.topup-number-wrap:has(input[aria-invalid="true"]) { border-color: #f79780; }
.topup-number-wrap span { font-size: 14px; }
.topup-range-wrap { margin-top: 26px; }
.topup-range { display: block; width: 100%; height: 28px; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; touch-action: pan-y; outline: none; }
.topup-range::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg,#b18b28,#ffe17a var(--range-fill),#ffffff12 var(--range-fill),#ffffff12); box-shadow: inset 0 1px 2px #0005; }
.topup-range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 25px; height: 25px; margin-top: -8.5px; border: 3px solid #fff1b4; border-radius: 8px; background: #ddbb4b; box-shadow: 0 0 0 5px #e7c95712,0 2px 10px #0005; transition: box-shadow .2s,background .2s; }
.topup-range::-moz-range-track { height: 8px; border-radius: 8px; background: #ffffff12; }
.topup-range::-moz-range-progress { height: 8px; border-radius: 8px; background: linear-gradient(90deg,#b18b28,#ffe17a); }
.topup-range::-moz-range-thumb { width: 19px; height: 19px; border: 3px solid #fff1b4; border-radius: 8px; background: #ddbb4b; box-shadow: 0 0 0 5px #e7c95712,0 2px 10px #0005; }
.topup-range:is(:hover,:focus-visible)::-webkit-slider-thumb { background: #ffe487; box-shadow: 0 0 0 7px #e7c95722,0 0 20px #e8c45133; }
.topup-range:focus-visible { outline: 2px solid #f6d56c8c; outline-offset: 6px; border-radius: 8px; }
.topup-range-labels { display: flex; justify-content: space-between; color: #8f9cab; font-size: 10px; margin-top: 6px; }
.topup-presets { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; margin-top: 24px; }
.topup-presets button { min-height: 43px; padding: 9px 5px; border: 1px solid #bdc9d324; border-radius: 8px; background: #ffffff03; color: #b8c3cf; font: inherit; font-size: 11px; cursor: pointer; transition: background .2s,border-color .2s,color .2s; }
.topup-presets button:hover { background: #f6d56c0b; border-color: #e4c45d66; color: #ffe797; }
.topup-presets button[aria-pressed="true"] { background: #efd36d13; border-color: #efd36d80; color: #ffe797; }
.topup-error { min-height: 18px; font-size: 10px; color: #ffb19c; margin: 10px 0; }
.topup-bonus-callout { display: flex; align-items: center; gap: 14px; padding: 20px 18px; border: 1px solid #a1b0c323; border-radius: 10px; background: #ffffff02; transition: border-color .3s,background .3s; }
.topup-bonus-callout.has-bonus { border-color: #d6bc4c40; background: linear-gradient(110deg,#d9b73d0d,transparent); }
.topup-bonus-icon { flex-shrink: 0; display: flex; }
.topup-bonus-icon .icon { width: 34px; height: 34px; }
.topup-bonus-icon .item-illustration { width: 40px; height: 40px; }
.topup-bonus-callout strong { color: #e6dab4; font-size: 12px; }
.topup-bonus-callout p { color: #98a7b6; font-size: 10px; line-height: 1.6; margin: 5px 0 0; }
.topup-bonus-tag { margin-left: auto; white-space: nowrap; color: #a3afba; font-size: 7px; font-weight: 750; letter-spacing: .8px; }
.has-bonus .topup-bonus-tag { color: #f4d773; }
.topup-summary { position: sticky; top: 88px; padding: 28px; overflow: hidden; background: linear-gradient(150deg,#252516ed,#111a21f2 65%); border-color: #d1b54959; }
.topup-summary > .shop-eyebrow { font-size: 8px; }
.topup-summary h2 { margin: 10px 0 0; font-size: 19px; letter-spacing: -.45px; }
.topup-total-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 27px 0 24px; isolation: isolate; }
.topup-total-glow { position: absolute; inset: -20px -40px; z-index: -1; background: radial-gradient(ellipse,#d3ba4520,transparent 65%); pointer-events: none; }
.topup-total-visual > .minecraft-icon { width: 70px; height: 70px; margin-bottom: 3px; filter: drop-shadow(0 5px 12px #0005); }
.topup-total-visual > .item-illustration { width: 92px; height: 92px; margin: -5px 0 2px; filter: drop-shadow(0 5px 8px #0005); }
.topup-total-visual > span:not(.topup-total-glow) { color: #aeb5ad; font-size: 10px; }
.topup-total-visual strong { font-size: clamp(30px,3vw,44px); font-weight: 800; color: #ffe17d; letter-spacing: -1.5px; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.topup-breakdown { margin: 0; padding: 17px 0; border-top: 1px solid #c7d1dc12; border-bottom: 1px solid #c7d1dc12; display: grid; gap: 14px; font-size: 12px; }
.topup-breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.topup-breakdown dt { color: #a8b3bf; }
.topup-breakdown dd { margin: 0; font-weight: 650; color: #e1e5e8; white-space: nowrap; font-variant-numeric: tabular-nums; }
.topup-breakdown .topup-bonus-line dd { color: #ffe17d; }
.topup-summary .topup-submit { margin-top: 20px; width: 100%; justify-content: center; min-height: 48px; border: 1px solid #d0b65f55; border-radius: 10px; background: #17212bd9; color: #f0db96; font-size: 12px; font-weight: 650; letter-spacing: .1px; text-shadow: none; box-shadow: none; transform: none; transition: background .2s,border-color .2s,color .2s; }
.topup-summary .topup-submit:not(:disabled):is(:hover,:focus-visible) { background: #f0d16c; border-color: #f0d16c; color: #282311; box-shadow: none; transform: none; }
.topup-summary .topup-submit:not(:disabled):active { background: #d7b752; border-color: #d7b752; box-shadow: none; transform: none; }
.topup-summary .topup-submit:focus-visible { outline: 2px solid #f4df96; outline-offset: 4px; box-shadow: none; }
.topup-summary .topup-submit::after { content: none; }
.topup-submit:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.topup-payment-note { text-align: center; color: #9ba6ac; font-size: 9px; margin: 14px 0 0; }
.topup-payment-note strong { color: #bec7ce; }
.topup-explainer { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 27px; padding: 32px 4px 9px; }
.topup-explainer > div { display: flex; align-items: flex-start; gap: 12px; }
.topup-explainer > div > .icon { width: 24px; height: 24px; color: #d1b854; flex-shrink: 0; }
.topup-explainer > div > .site-symbol { width: 30px; height: 30px; margin-top: 1px; color: #e8cb68; }
.topup-explainer h3 { font-size: 12px; color: #d6dce2; margin: 0 0 7px; }
.topup-explainer p { color: #93a0af; font-size: 10px; line-height: 1.8; margin: 0; }
.topup-review { margin: 23px 0; }
.topup-review-total { border-top: 1px solid #ffffff12; padding-top: 15px; }
.topup-review-total dd { color: #ffe17d; font-size: 20px; }
.checkout-agreements { display: grid; gap: 15px; position: relative; margin: 21px 0 0; padding: 0; border: 0; min-width: 0; }
.checkout-agreements > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.purchase-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 10px; line-height: 1.7; color: #a9b5c2; cursor: pointer; }
.purchase-consent > input { appearance: none; -webkit-appearance: none; display: inline-grid; place-items: center; flex-shrink: 0; width: 18px; height: 18px; padding: 0; margin: 1px 0 0; border: 1px solid #9aa9b954; border-radius: 5px; background: #0c141ccc; cursor: pointer; transition: border-color .2s,background .2s; }
.purchase-consent > input:checked { background: #edce72; border-color: #edce72; }
.purchase-consent > input:checked::after { content: ''; width: 4px; height: 8px; margin-top: -2px; border: solid #2b2515; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.purchase-consent > input:focus-visible { outline: 2px solid #ead78c; outline-offset: 3px; }
.purchase-consent > input[aria-invalid="true"] { border-color: #ddb164; }
.purchase-consent a { color: #e1c56a; text-decoration: underline; text-decoration-color: #e1c56a65; text-underline-offset: 3px; }
.purchase-consent a:hover { color: #fff0b0; }
#topup-consent-error:not(:empty) { margin-top: 15px; }
.shop-support .shop-discord-button { position: relative; isolation: isolate; overflow: hidden; appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 43px; padding: 11px 15px; border: 1px solid #c3a23d54; border-radius: 9px; background: linear-gradient(120deg,#19212ac9,#111820a8); color: #f5e7bd; font-family: inherit; font-size: 11px; font-weight: 650; line-height: 1.3; cursor: pointer; box-shadow: 0 0 18px #d4a8310a; transition: background .2s,box-shadow .2s,border-color .2s; }
.shop-support .shop-discord-button:hover { background: linear-gradient(120deg,#29291fd9,#1a2026bf); border-color: #d7b54f8c; box-shadow: 0 0 22px #d4a8311c; }
.shop-support .shop-discord-button:active { background: #172029d9; }
.shop-support .shop-discord-button .discord-button-icon .icon { width: 19px; height: 19px; translate: none; }
.shop-support .shop-discord-button > .icon { width: 14px; height: 14px; opacity: .8; }
.shop-support .shop-discord-button:focus-visible > .icon { translate: 3px 0; }
@media(max-width:1050px) { .topup-layout { gap: 18px; grid-template-columns: minmax(0,1.3fr) minmax(270px,1fr); } .topup-selector { padding: 26px; } .topup-presets { grid-template-columns: repeat(3,minmax(0,1fr)); } .topup-bonus-tag { display: none; } }
@media(max-width:760px) { .topup-layout { grid-template-columns: minmax(0,1fr); } .topup-selector { padding: 25px 20px; } .topup-heading { gap: 12px; } .topup-heading h2 { font-size: 23px; } .topup-symbol { width: 46px; height: 46px; } .topup-heading .shop-eyebrow { font-size: 7px; } .topup-lead { font-size: 11px; margin: 20px 0 24px; } .topup-number-wrap { padding: 10px 13px; } .topup-number-wrap input { width: 80px; font-size: 26px; } .topup-amount-row > label { font-size: 11px; } .topup-summary { position: static; padding: 26px; } .topup-total-visual strong { font-size: 40px; } .topup-explainer { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; } .topup-explainer p { font-size: 11px; } }
@media(prefers-reduced-motion:reduce) { .topup-summary .topup-submit,.topup-bonus-callout,.topup-presets button,.shop-support .shop-discord-button { transition: none; } .topup-submit:hover { transform: none; } }
