/* Keep wallet styles isolated from the parking game. */
.withdraw-screen[hidden] { display: none; }
.withdraw-screen { --accent: #ff8a3d; position: fixed; inset: 0; z-index: 20; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; box-sizing: border-box; padding: calc(12px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom)); background: #f6f7f8; color: #262a30; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; user-select: text; -webkit-user-select: text; }
.withdraw-content { width: 100%; max-width: 480px; margin: 0 auto; }
.withdraw-back { display: inline-flex; align-items: center; gap: 8px; min-width: 48px; min-height: 48px; padding: 8px 0; border: 0; background: transparent; color: #525862; font: inherit; }
.withdraw-back span:first-child { font-size: 28px; line-height: 1; }
.withdraw-screen h1 { margin: 20px 0 24px; font-size: 26px; line-height: 1.3; }
.withdraw-balance { position: relative; margin: 0 0 28px; padding: 22px 24px; border-radius: 8px; background: var(--accent); color: #fff; }
.withdraw-balance span { display: block; font-size: 14px; }
.withdraw-balance strong { display: block; margin-top: 8px; font-size: 40px; line-height: 1.3; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.withdraw-balance small { display: block; margin-top: 12px; font-size: 12px; color: #fff; }
.withdraw-screen label { display: block; margin: 0 0 12px; font-size: 17px; font-weight: 600; }
.withdraw-input-row { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 8px 16px; border: 1px solid #dfe2e6; border-radius: 8px; background: #fff; }
.withdraw-input-row:focus-within { border-color: var(--accent); outline: 2px solid #ff8a3d26; }
.withdraw-currency { font-size: 28px; font-weight: 600; }
.withdraw-screen input { width: 100%; min-width: 0; min-height: 56px; box-sizing: border-box; padding: 8px 0; border: 0; outline: 0; border-radius: 0; background: transparent; color: #262a30; font: 600 30px/1.3 sans-serif; user-select: text; -webkit-user-select: text; }
.withdraw-screen input::placeholder { color: #9ba0a8; font-size: 18px; font-weight: 400; }
.withdraw-amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 26px; }
.withdraw-amounts button { min-width: 0; min-height: 52px; padding: 8px 4px; border: 1px solid #dfe2e6; border-radius: 8px; background: #fff; color: #41464f; font: 600 17px sans-serif; }
.withdraw-amounts button[aria-pressed="true"] { border-color: var(--accent); background: #fff0e5; color: #b44c09; }
.withdraw-destination { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; border-top: 1px solid #e3e5e8; border-bottom: 1px solid #e3e5e8; font-size: 14px; }
.withdraw-destination span { color: #727983; }
.withdraw-destination strong { font-weight: 500; color: #267a4a; }
.withdraw-confirm { width: 100%; min-height: 54px; margin-top: 26px; padding: 12px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font: bold 17px sans-serif; }
.withdraw-screen button { cursor: pointer; touch-action: manipulation; }
.withdraw-screen button:focus-visible { outline: 3px solid #a94508; outline-offset: 3px; }
.withdraw-screen button:disabled { opacity: .55; cursor: wait; }
.withdraw-note { margin: 14px 0 0; font-size: 12px; line-height: 1.8; color: #7a818a; }
.withdraw-message { margin: 16px 0 0; min-height: 24px; font-size: 14px; color: #a34120; overflow-wrap: anywhere; }
.withdraw-message:not(:empty) { padding: 12px 14px; border-left: 3px solid var(--accent); background: #fff0e5; }
.withdraw-entry { position: fixed; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 3; min-height: 48px; padding: 10px 14px; border: 2px solid #ffe0b5; border-radius: 8px; background: #ff8a3d; color: #fff; font: bold 14px sans-serif; }
body.withdraw-open #idle-button, body.withdraw-open #idle-status { visibility: hidden; }
body.withdraw-open .withdraw-entry { visibility: hidden; }
@media (max-width: 350px) { .withdraw-screen { padding-left: 14px; padding-right: 14px; } .withdraw-screen h1 { margin-top: 12px; font-size: 24px; } .withdraw-balance { padding: 18px; } }
