/* Wallet — Windows 95 reference, using real Solana 2 data. */
#wallet-icon { top: 112px; }
#wallet-icon img { width: 49px; height: 49px; image-rendering: auto; }
.wallet-window { left: 50%; top: 50%; width: min(390px, calc(100% - 32px)); height: min(780px, calc(100% - 64px)); min-width: 320px; min-height: 420px; max-width: none; transform: translate(-50%, -50%); overflow: hidden; background: #c3c3c3; container-type: size; }
.wallet-window.maximized { left: 6px; top: 6px; width: calc(100% - 12px); height: calc(100% - 12px); min-height: 0; transform: none; }
.wallet-window .window-title img { width: 19px; height: 19px; object-fit: contain; }
.wallet-shell { --face: #c3c3c3; --light: #fff; --mid: #dfdfdf; --shade: #808080; --dark: #404040; --navy: #000080; --green: #087c13; position: relative; isolation: isolate; display: flex; flex-direction: column; width: 100%; max-width: 430px; height: calc(100% - 30px); margin: 0 auto; overflow: hidden; border: 2px solid; border-color: var(--mid) #111 #111 var(--mid); background: var(--face); color: #111; box-shadow: inset 1px 1px var(--light), inset -1px -1px var(--shade); font-family: Tahoma, "MS Sans Serif", Geneva, sans-serif; font-size: 11px; line-height: 1.35; scrollbar-color: var(--shade) var(--face); scrollbar-width: thin; caret-color: #111; }
.wallet-shell *, .wallet-shell *::before, .wallet-shell *::after { box-sizing: border-box; }
.wallet-shell [hidden] { display: none !important; }
.wallet-shell ::selection { background: var(--navy); color: #fff; }
.wallet-shell button, .wallet-shell input { font-family: inherit; }
.wallet-shell button { color: #111; cursor: pointer; }
.wallet-shell button:disabled { color: #777; cursor: default; }
.wallet-shell button:focus-visible, .wallet-shell input:focus-visible, .wallet-shell code:focus-visible { outline: 1px dotted #111; outline-offset: -4px; }
.wallet-shell svg { width: 20px; height: 20px; flex: 0 0 auto; }
.wallet-svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.wallet-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.w95-button, .w95-field { border: 2px solid; border-color: var(--light) var(--dark) var(--dark) var(--light); border-radius: 0; background: var(--face); box-shadow: inset 1px 1px var(--mid), inset -1px -1px var(--shade); }
.w95-button:active:not(:disabled), .w95-button.active { border-color: var(--dark) var(--light) var(--light) var(--dark); box-shadow: inset 1px 1px var(--shade); }
.w95-inset { border: 2px solid; border-color: var(--shade) var(--light) var(--light) var(--shade); border-radius: 0; background: #fff; box-shadow: inset 1px 1px var(--dark), inset -1px -1px var(--mid); }
.wallet-phone-header { position: relative; z-index: 5; flex: 0 0 auto; }
.wallet-statusbar { display: flex; align-items: center; justify-content: space-between; height: 23px; padding: 2px 7px 0; font-size: 10px; font-weight: 700; }
.wallet-statusbar time { font-variant-numeric: tabular-nums; }
.wallet-status-icons { display: flex; align-items: center; gap: 7px; height: 14px; }
.wallet-signal { display: flex; align-items: flex-end; gap: 1px; height: 11px; }
.wallet-signal i { display: block; width: 2px; background: #111; }
.wallet-signal i:nth-child(1) { height: 3px; }.wallet-signal i:nth-child(2) { height: 5px; }.wallet-signal i:nth-child(3) { height: 8px; }.wallet-signal i:nth-child(4) { height: 11px; }
.wallet-battery { position: relative; display: block; width: 22px; height: 10px; padding: 1px; border: 1px solid #111; }
.wallet-battery::after { content: ""; position: absolute; top: 2px; right: -3px; width: 2px; height: 4px; background: #111; }
.wallet-battery i { display: block; width: 100%; height: 100%; background: #111; }
.wallet-appbar { display: flex; align-items: center; gap: 8px; height: 43px; margin: 0 3px; padding: 3px 4px; border: 2px solid; border-color: var(--light) var(--dark) var(--dark) var(--light); background: var(--navy); color: #fff; }
.wallet-app-icon { width: 22px; height: 22px; object-fit: contain; }
.wallet-appbar h1 { flex: 1; min-width: 0; margin: 0; overflow: hidden; color: #fff; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.wallet-help { position: relative; width: 35px; height: 32px; flex: 0 0 35px; padding: 0; font-size: 18px; font-weight: 700; }
.wallet-help > i { position: absolute; top: 3px; right: 3px; width: 5px; height: 5px; background: #087c13; }
.wallet-back { display: grid; place-items: center; width: 41px; height: 32px; flex: 0 0 41px; padding: 3px; }
.wallet-back svg { width: 22px; height: 22px; }
.wallet-networkbar { display: flex; align-items: center; justify-content: space-between; height: 25px; padding: 3px 8px; font-size: 10px; }
.wallet-network { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.wallet-network i, .wallet-receive-network i { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; background: var(--green); }
.wallet-network.offline i { background: #b00000; }
#wallet-chain-environment { padding: 1px 4px; border: 1px solid var(--shade); background: var(--mid); font-size: 8px; font-weight: 700; letter-spacing: .04em; }
.wallet-content { position: relative; z-index: 1; flex: 1 1 auto; min-height: 0; overflow: hidden; padding: 8px 12px 10px; }
.wallet-view { display: flex; flex-direction: column; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }
.wallet-overview-view { gap: 7px; }
.wallet-view-heading { position: relative; flex: 0 0 auto; min-height: 47px; padding: 2px 0 7px; }
.wallet-view-heading h2 { margin: 0 0 3px; font-size: 19px; line-height: 1.15; letter-spacing: -.02em; }
.wallet-view-heading p { margin: 0; color: #3e3e3e; font-size: 10px; }
.wallet-view-heading > span { position: absolute; right: 0; bottom: 8px; color: #444; font-size: 9px; }
.wallet-error { position: absolute; z-index: 30; top: 4px; right: 8px; left: 8px; padding: 8px; border: 2px solid #7d0000; background: #fff4cf; color: #750000; font-size: 10px; }
.wallet-error p { margin: 3px 0 0; }
.wallet-account-picker { display: grid; flex: 0 0 42px; grid-template-columns: minmax(0, 1fr) 39px; gap: 5px; }
.wallet-account-picker > button:first-child { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px; text-align: left; }
.wallet-account-picker strong { font-size: 13px; }
.wallet-account-picker > button:last-child { display: grid; place-items: center; }
.wallet-account-picker svg { width: 20px; height: 20px; }
.wallet-address-strip { position: relative; display: flex; flex: 0 0 28px; align-items: center; min-width: 0; }
#wallet-overview-address { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-width: 0; height: 28px; padding: 3px 7px; border: 1px solid transparent; border-radius: 0; background: transparent; color: #222; text-align: left; }
#wallet-overview-address:hover { border-color: var(--shade); background: var(--mid); }
#wallet-overview-address code { min-width: 0; overflow: hidden; font-family: "Courier New", monospace; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
#wallet-overview-address svg { width: 16px; height: 16px; }
#wallet-copy-feedback { position: absolute; top: 29px; right: 0; z-index: 3; padding: 2px 5px; background: var(--face); color: #075f10; font-size: 9px; }
#wallet-copy-feedback:empty { display: none; }
.wallet-overview { flex: 0 0 98px; min-width: 0; padding: 10px 11px 7px; }
.wallet-balance-heading { display: flex; align-items: center; justify-content: space-between; font-size: 10px; }
#wallet-balance-visibility { padding: 0; border: 0; background: transparent; color: #333; font-size: 9px; }
#wallet-balance-visibility .wallet-eye-closed { display: none; }
#wallet-balance-visibility.is-hidden .wallet-eye-open { display: none; }
#wallet-balance-visibility.is-hidden .wallet-eye-closed { display: inline; }
.wallet-total { display: flex; align-items: baseline; gap: 7px; min-width: 0; margin-top: 3px; }
.wallet-total strong { min-width: 0; overflow: hidden; font-family: Arial, sans-serif; font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.04em; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.wallet-total > span { font-size: 11px; font-weight: 700; }
.wallet-value-breakdown { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-top: 4px; padding: 0; border: 0; background: transparent; color: #333; font-size: 9px; text-align: left; }
#wallet-native-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wallet-quick-actions { display: grid; flex: 0 0 58px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.wallet-quick-actions button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; padding: 3px 1px; font-size: 10px; font-weight: 700; }
.wallet-quick-actions svg { width: 20px; height: 20px; }
.wallet-assets-panel { position: relative; min-width: 0; }
.wallet-asset-tabs { display: flex; height: 34px; padding-left: 6px; }
.wallet-asset-tabs button { min-width: 102px; margin-bottom: -2px; padding: 3px 13px; border: 2px solid; border-color: var(--light) var(--dark) var(--dark) var(--light); background: var(--face); font-size: 10px; }
.wallet-asset-tabs button.active { position: relative; z-index: 2; border-bottom-color: #fff; background: #fff; font-weight: 700; }
.wallet-assets-preview .wallet-assets-list { height: 158px; }
.wallet-assets-list { display: flex; flex-direction: column; min-height: 0; padding: 3px; background: #fff; }
.wallet-asset-row { position: relative; display: grid; grid-template-columns: 35px minmax(0, 1fr) auto; align-items: center; gap: 8px; flex: 1 1 0; width: 100%; min-height: 52px; max-height: 76px; padding: 5px 22px 5px 7px; border: 0; border-bottom: 1px solid #aaa; border-radius: 0; background: #fff; color: #111; text-align: left; }
.wallet-asset-row:last-child { border-bottom: 0; }
.wallet-asset-row.wallet-token-row, .wallet-native-row { cursor: pointer; }
.wallet-asset-row:hover { background: #eee; }
.wallet-asset-row:active { background: #ddd; }
.wallet-asset-icon, .wallet-token-image { display: grid; place-items: center; width: 33px; height: 33px; border: 2px solid; border-color: var(--light) var(--dark) var(--dark) var(--light); border-radius: 0; background: var(--navy); }
.wallet-sol-icon img { width: 88%; height: 88%; object-fit: contain; filter: none; }
.wallet-token-image { object-fit: cover; }
.wallet-asset-copy, .wallet-asset-value { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.wallet-asset-copy strong { overflow: hidden; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.wallet-asset-copy > span { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.wallet-asset-value { align-items: flex-end; text-align: right; }
.wallet-asset-value > strong { max-width: 140px; overflow: hidden; font-size: 10px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.wallet-asset-value small { font-size: 9px; }
.wallet-asset-value > span { color: #333; font-size: 9px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wallet-asset-arrow { position: absolute; top: 50%; right: 5px; display: block; width: 12px !important; height: 12px !important; transform: translateY(-50%); pointer-events: none; }
.wallet-token-empty { padding: 8px; border-top: 1px solid #aaa; background: #fff; font-size: 10px; text-align: center; }
.wallet-token-empty p { margin: 0 0 4px; }
.wallet-text-button { padding: 2px; border: 0; background: transparent; color: var(--navy); font-size: 10px; text-decoration: underline; text-underline-offset: 2px; }
.wallet-recent-panel { flex: 1 0 100px; min-width: 0; margin: 0; padding: 3px 7px 5px; border: 2px groove var(--light); }
.wallet-recent-panel legend { padding: 0 4px; font-size: 10px; }
.wallet-recent-panel .wallet-activity-row { min-height: 43px; max-height: 48px; padding: 2px; border: 0; }
.wallet-recent-panel .wallet-activity-icon { width: 26px; height: 27px; }
.wallet-recent-panel .wallet-activity-copy > span { font-size: 8px; }
.wallet-recent-panel > div > p { margin: 8px 0; color: #444; text-align: center; }
.wallet-assets-full, .wallet-activity-panel { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.wallet-assets-full > .wallet-assets-list { flex: 1 1 auto; overflow: hidden; }
.wallet-assets-full .wallet-asset-row { min-height: 58px; }
.wallet-pagination { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 7px; min-height: 34px; margin-top: auto; padding-top: 6px; }
.wallet-pagination button { min-width: 88px; min-height: 28px; padding: 3px 8px; font-size: 10px; }
.wallet-pagination span { font-size: 10px; font-variant-numeric: tabular-nums; }
.wallet-activity-filters { display: flex; flex: 0 0 34px; gap: 2px; }
.wallet-activity-filters button { flex: 1; min-width: 0; padding: 3px; font-size: 10px; }
.wallet-activity-filters button.active { background: var(--navy); color: #fff; box-shadow: inset 1px 1px #00005a; }
.wallet-activity-ledger { flex: 1 1 auto; min-height: 58px; overflow: hidden; padding: 2px 6px; }
.wallet-activity-list { display: flex; flex-direction: column; }
.wallet-activity-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 7px; width: 100%; min-height: 61px; padding: 6px 1px; border: 0; border-bottom: 1px solid #aaa; border-radius: 0; background: #fff; color: #111; text-align: left; }
.wallet-activity-row:last-child { border-bottom: 0; }
.wallet-activity-row:hover { background: #eee; }
.wallet-activity-icon { display: grid; place-items: center; width: 29px; height: 30px; border: 2px solid; border-color: var(--light) var(--dark) var(--dark) var(--light); background: var(--face); }
.wallet-activity-icon.received { color: var(--green); }
.wallet-activity-icon.sent { color: #111; }
.wallet-activity-icon.trade, .wallet-activity-icon.created { color: var(--navy); }
.wallet-activity-icon svg { width: 18px; height: 18px; }
.wallet-activity-copy, .wallet-activity-amount { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.wallet-activity-copy strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.wallet-activity-copy > span { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.wallet-activity-amount { align-items: flex-end; text-align: right; }
.wallet-activity-amount > strong { max-width: 130px; overflow: hidden; font-size: 10px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.wallet-activity-amount.positive > strong { color: #075f10; }
.wallet-activity-amount small { font-size: 9px; }
.wallet-activity-amount > span { color: #075f10; font-size: 8px; }
.wallet-activity-empty { padding: 15px 8px; text-align: center; }
.wallet-activity-empty p { margin: 5px auto 0; font-size: 10px; }
.wallet-load-more { flex: 0 0 33px; margin-top: 6px; font-weight: 700; }
.wallet-receive-network { display: flex; flex: 0 0 33px; align-items: center; justify-content: space-between; margin-bottom: 8px; padding: 4px 8px; }
.wallet-receive-network > span { display: flex; align-items: center; gap: 6px; }
.wallet-qr-frame { display: flex; flex: 0 1 203px; flex-direction: column; align-items: center; justify-content: center; align-self: stretch; min-height: 116px; margin-bottom: 8px; padding: 6px; overflow: hidden; }
.wallet-qr-frame canvas { display: block; width: min(170px, 100%); height: auto; max-height: 166px; image-rendering: pixelated; }
.wallet-qr-frame > span { margin-top: 3px; font-size: 9px; }
.wallet-address-label { margin-bottom: 3px; font-weight: 700; }
.wallet-address-box { display: block; width: 100%; min-height: 48px; padding: 7px; font-family: "Courier New", monospace; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; user-select: all; }
.wallet-receive-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 7px; }
.wallet-receive-bottom button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 35px; font-weight: 700; }
.wallet-inline-note { display: flex; align-items: flex-start; gap: 7px; margin: 10px 0 0; font-size: 10px; }
.wallet-inline-note svg { width: 20px; height: 20px; }
.wallet-copy-feedback { min-height: 13px; margin: 4px 0 0; color: #075f10; font-size: 9px; }
.wallet-settings-group { flex: 0 0 auto; margin: 0 0 9px; padding: 4px 7px 6px; border: 2px groove var(--light); }
.wallet-settings-group legend { padding: 0 4px; }
.wallet-setting-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 30px; padding: 3px 4px; border: 0; border-bottom: 1px solid #999; background: transparent; text-align: left; }
.wallet-setting-row:last-child { border-bottom: 0; }
.wallet-setting-row > span { display: flex; align-items: center; gap: 7px; }
.wallet-setting-row img { width: 19px; height: 19px; }
.wallet-setting-row strong, .wallet-setting-row code { max-width: 58%; overflow: hidden; font-size: 10px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.wallet-settings-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: auto; }
.wallet-settings-actions button { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 34px; }
.wallet-settings-actions svg { width: 17px; height: 17px; }
.wallet-menu-feedback { min-height: 12px; margin: 4px 0 0; color: #075f10; font-size: 9px; }
.wallet-popover { position: absolute; z-index: 40; top: 86px; right: 10px; left: 10px; padding: 10px; border: 2px solid; border-color: var(--light) var(--dark) var(--dark) var(--light); background: var(--face); box-shadow: 3px 3px 0 #0005; }
.wallet-popover-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.wallet-popover-heading button { width: 27px; height: 25px; padding: 0; }
.wallet-notifications > p { margin: 0 0 8px; padding: 7px; border: 1px solid var(--shade); background: #fff; }
#wallet-notification-view { width: 100%; min-height: 28px; }
.wallet-asset-hero { display: grid; flex: 0 0 145px; grid-template-columns: 48px 1fr; align-content: start; gap: 5px 10px; padding: 14px; }
.wallet-asset-hero .wallet-asset-icon { width: 46px; height: 46px; }
.wallet-asset-hero > div:not(.wallet-detail-balance) { display: flex; flex-direction: column; }
.wallet-asset-hero > div > strong { font-size: 13px; }
.wallet-detail-balance { display: flex; grid-column: 1 / -1; align-items: baseline; gap: 8px; margin-top: 7px; }
.wallet-detail-balance strong { font-family: Arial, sans-serif; font-size: 30px; letter-spacing: -.03em; }
.wallet-asset-hero > small { grid-column: 1 / -1; }
.wallet-detail-actions { display: grid; flex: 0 0 43px; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 12px; }
.wallet-detail-actions button, #wallet-detail-activity, #wallet-transaction-explorer, #wallet-transaction-back { display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 700; }
.wallet-detail-group { flex: 0 0 auto; margin: 0 0 12px; padding: 6px 9px; border: 2px groove var(--light); }
.wallet-detail-group legend { padding: 0 4px; }
.wallet-detail-group dl { margin: 0; }
.wallet-detail-group dl > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 34px; padding: 7px 3px; border-bottom: 1px solid #999; }
.wallet-detail-group dl > div:last-child { border-bottom: 0; }
.wallet-detail-group dt { color: #444; }
.wallet-detail-group dd { max-width: 65%; margin: 0; overflow-wrap: anywhere; text-align: right; }
.wallet-detail-group code { font-family: "Courier New", monospace; font-size: 10px; }
#wallet-detail-activity { flex: 0 0 39px; margin-top: auto; }
.wallet-transfer-steps { display: flex; flex: 0 0 26px; align-items: center; justify-content: space-between; margin-bottom: 8px; padding: 2px 6px; border-bottom: 1px solid #777; }
.wallet-transfer-steps strong { padding: 2px 5px; background: var(--navy); color: #fff; }
#wallet-send-form { display: flex; flex: 1; flex-direction: column; min-height: 0; }
#wallet-send-form > label, .wallet-field-label, .wallet-amount-label { display: block; margin: 5px 0 4px; font-weight: 700; }
#wallet-send-recipient { flex: 0 0 38px; width: 100%; padding: 7px; font-family: "Courier New", monospace; font-size: 11px; }
.wallet-send-asset { display: flex; flex: 0 0 42px; align-items: center; gap: 9px; padding: 5px 9px; }
.wallet-send-asset img { width: 25px; height: 25px; padding: 3px; background: var(--navy); }
.wallet-send-asset span { margin-left: auto; }
.wallet-amount-label { display: flex; justify-content: space-between; gap: 8px; }
.wallet-amount-label > span { overflow: hidden; font-size: 9px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.wallet-amount-field { display: flex; flex: 0 0 46px; align-items: center; overflow: hidden; }
.wallet-amount-field input { width: 100%; min-width: 0; height: 100%; padding: 5px 8px; border: 0; outline: 0; background: #fff; font-family: Arial, sans-serif; font-size: 23px; }
.wallet-amount-field > span { padding: 4px; }
.wallet-amount-field button { align-self: stretch; width: 47px; border-width: 0 0 0 2px; border-color: var(--shade); box-shadow: none; }
.wallet-send-estimate { margin-top: 12px; }
.wallet-send-estimate dl > div { min-height: 28px; padding: 5px 3px; }
.wallet-form-feedback { min-height: 14px; margin: 5px 0; color: #8b0000; font-size: 10px; }
.wallet-primary-button { flex: 0 0 39px; margin-top: auto; border-color: #aaaaff #000 #000 #aaaaff; background: var(--navy); color: #fff !important; box-shadow: inset 1px 1px #3333aa, inset -1px -1px #000044; font-weight: 700; }
.wallet-primary-button:disabled { background: #606060; border-color: var(--light) var(--dark) var(--dark) var(--light); color: #ccc !important; box-shadow: none; }
.wallet-review-amount { display: flex; flex: 0 0 112px; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 9px; padding: 10px; }
.wallet-review-amount > strong { margin: 5px 0; font-family: Arial, sans-serif; font-size: 28px; letter-spacing: -.03em; }
.wallet-review-amount > small { font-size: 9px; }
.wallet-review-view .wallet-detail-group dl > div, .wallet-transaction-view .wallet-detail-group dl > div { min-height: 28px; padding-block: 4px; }
.wallet-review-view .wallet-detail-group, .wallet-transaction-view .wallet-detail-group { margin-bottom: 8px; }
.wallet-warning { margin: 0 0 10px; padding: 8px; border: 1px solid #888; background: #ffffd5; font-size: 10px; }
.wallet-review-check { display: flex; align-items: center; gap: 6px; margin-bottom: 11px; font-size: 10px; }
.wallet-review-check input { width: 17px; height: 17px; margin: 0; accent-color: var(--navy); }
#wallet-confirm-transfer { flex-basis: 39px; margin-top: 0; margin-bottom: 7px; }
#wallet-review-back { flex: 0 0 37px; }
.wallet-readonly-note { margin: 5px 0 0; color: #444; font-size: 9px; text-align: center; }
.wallet-transaction-hero { display: flex; flex: 0 0 160px; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 10px; padding: 10px; }
.wallet-transaction-hero > svg { width: 37px; height: 37px; padding: 5px; border: 2px solid; border-color: var(--light) var(--dark) var(--dark) var(--light); background: var(--face); }
.wallet-transaction-hero > span { margin-top: 5px; }
.wallet-transaction-hero > strong { margin: 5px 0; font-family: Arial, sans-serif; font-size: 28px; text-align: center; }
.wallet-transaction-hero > small { color: var(--green); }
.wallet-transaction-id { position: relative; margin-bottom: 10px; font-weight: 700; }
.wallet-transaction-id > button { position: absolute; top: 0; right: 0; padding: 0; border: 0; background: transparent; color: var(--navy); font-size: 10px; text-decoration: underline; }
.wallet-transaction-id > code { display: block; min-height: 51px; margin-top: 5px; padding: 8px; font-family: "Courier New", monospace; font-size: 10px; font-weight: 400; overflow-wrap: anywhere; }
#wallet-transaction-explorer, #wallet-transaction-back { flex: 0 0 38px; margin-top: 7px; }
.wallet-bridge-workspace { flex: 1 1 auto; min-height: 0; }
#wallet-bridge-form-panel, #wallet-bridge-review-panel, .wallet-bridge-receipt { height: 100%; min-height: 0; }
#wallet-bridge-form-panel { display: flex; flex-direction: column; }
.wallet-bridge-directions { display: flex; flex: 0 0 36px; gap: 4px; margin-bottom: 9px; }
.wallet-bridge-directions button { flex: 1; min-width: 0; padding: 3px; font-size: 10px; font-weight: 700; }
.wallet-bridge-directions button.active { border-color: var(--dark) var(--light) var(--light) var(--dark); background: var(--navy); color: #fff; box-shadow: inset 1px 1px #00005a; }
.wallet-bridge-balances { display: grid; flex: 0 0 70px; grid-template-columns: 1fr 23px 1fr; align-items: center; gap: 4px; padding: 8px 10px; }
.wallet-bridge-balances > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.wallet-bridge-balances > div:last-child { align-items: flex-end; text-align: right; }
.wallet-bridge-balances > span { font-size: 18px; text-align: center; }
.wallet-bridge-balances strong { overflow: hidden; font-size: 12px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
#wallet-bridge-form { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; }
#wallet-bridge-form .wallet-amount-label { margin-top: 10px; }
.wallet-bridge-note { margin: 7px 0 0; padding: 6px; border: 1px solid #888; background: #ffffd5; font-size: 9px; }
.wallet-bridge-details { margin: 10px 0 5px; padding: 4px 8px; border: 2px groove var(--light); }
.wallet-bridge-details > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 27px; border-bottom: 1px solid #999; }
.wallet-bridge-details > div:last-child { border: 0; }
.wallet-bridge-details dd { margin: 0; overflow: hidden; font-size: 10px; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
#wallet-bridge-prepare { margin-top: auto; }
.wallet-bridge-refresh { flex: 0 0 24px; margin-top: 3px; }
.wallet-bridge-unavailable { padding: 16px; }
.wallet-bridge-unavailable p { line-height: 1.6; }
.wallet-bridge-unavailable button { min-height: 30px; padding: 3px 12px; }
#wallet-bridge-review-panel, .wallet-bridge-receipt { display: flex; flex-direction: column; }
#wallet-bridge-review-panel .wallet-review-amount { flex-basis: 96px; margin-top: 3px; }
#wallet-bridge-review-panel .wallet-detail-group { margin-top: 0; }
#wallet-bridge-review-panel .wallet-detail-group dd { overflow-wrap: anywhere; }
#wallet-bridge-confirm { margin-top: auto; }
#wallet-bridge-back { flex: 0 0 37px; }
.wallet-bridge-receipt .wallet-transaction-hero { flex-basis: 152px; }
#wallet-bridge-explorer, #wallet-bridge-new { display: flex; flex: 0 0 38px; align-items: center; justify-content: center; gap: 7px; margin-top: 8px; font-weight: 700; }
#wallet-bridge-new { margin-top: auto; }
.wallet-bottom-nav { display: grid; flex: 0 0 56px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; margin: 0 4px; padding: 4px 0; border-top: 2px groove var(--light); }
.wallet-bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; padding: 3px 1px; font-size: 9px; }
.wallet-bottom-nav button.active { outline: 1px dotted #111; outline-offset: -5px; }
.wallet-bottom-nav img, .wallet-bottom-nav svg { width: 20px; height: 20px; }
.wallet-footer { display: flex; flex: 0 0 25px; align-items: center; justify-content: space-between; gap: 7px; padding: 2px 8px 8px; font-size: 8px; }
#wallet-sync-status { display: none; }
#wallet-sync-time { max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wallet-home-indicator { position: absolute; z-index: 20; bottom: 4px; left: 50%; width: 90px; height: 2px; background: #333; transform: translateX(-50%); pointer-events: none; }
.wallet-skeleton-row { position: relative; height: 56px; flex: 0 0 56px; border-bottom: 1px solid #aaa; background: #fff; }
.wallet-skeleton-row::after { content: ""; position: absolute; inset: 15px 8px; background: #d5d5d5; }
.wallet-content.is-loading .wallet-overview { color: #555; }
.wallet-menu-action.loading { color: #777; }

@container (max-width: 350px) {
  .wallet-content { padding-inline: 9px; }
  .wallet-quick-actions { gap: 3px; }
  .wallet-quick-actions button { font-size: 9px; }
  .wallet-asset-row { grid-template-columns: 31px minmax(0, 1fr) auto; gap: 6px; padding-inline: 5px; }
  .wallet-asset-icon, .wallet-token-image { width: 30px; height: 30px; }
  .wallet-asset-value > strong, .wallet-activity-amount > strong { max-width: 108px; }
  .wallet-bottom-nav button { font-size: 8px; }
}
@container (max-height: 650px) {
  .wallet-statusbar { height: 20px; }
  .wallet-appbar { height: 39px; }
  .wallet-networkbar { height: 22px; }
  .wallet-content { padding: 6px 10px 8px; }
  .wallet-overview-view { gap: 5px; }
  .wallet-account-picker { flex-basis: 32px; }
  .wallet-address-strip, #wallet-overview-address { height: 24px; flex-basis: 24px; }
  #wallet-copy-feedback { top: 24px; }
  .wallet-overview { flex-basis: 89px; padding: 7px 9px 5px; }
  .wallet-total strong { font-size: 26px; }
  .wallet-quick-actions { flex-basis: 47px; }
  .wallet-quick-actions svg { width: 17px; height: 17px; }
  .wallet-asset-tabs { height: 25px; }
  .wallet-assets-preview .wallet-assets-list { height: 103px; }
  .wallet-asset-row { min-height: 44px; }
  .wallet-recent-panel { display: none; }
  .wallet-view-heading { min-height: 42px; }
  .wallet-view-heading h2 { font-size: 17px; }
  .wallet-activity-row { min-height: 52px; padding-block: 4px; }
  .wallet-activity-filters { flex-basis: 30px; }
  .wallet-pagination { min-height: 30px; padding-top: 4px; }
  .wallet-pagination button { min-height: 25px; }
  .wallet-bottom-nav { flex-basis: 49px; }
  .wallet-bottom-nav img, .wallet-bottom-nav svg { width: 17px; height: 17px; }
  .wallet-footer { flex-basis: 22px; }
  .wallet-qr-frame { flex-basis: 147px; }
  .wallet-qr-frame canvas { width: 119px; max-height: 119px; }
  .wallet-settings-group { margin-bottom: 6px; }
  .wallet-setting-row { min-height: 27px; }
  .wallet-asset-hero { flex-basis: 123px; padding: 10px; }
  .wallet-detail-balance { margin-top: 2px; }
  .wallet-detail-balance strong { font-size: 26px; }
  .wallet-detail-group { margin-bottom: 8px; }
  .wallet-detail-group dl > div { min-height: 29px; padding: 5px 3px; }
  .wallet-send-estimate { margin-top: 7px; }
  .wallet-inline-note { margin-top: 7px; }
  .wallet-review-amount { flex-basis: 91px; }
  .wallet-review-amount > strong { font-size: 24px; }
  .wallet-transaction-hero { flex-basis: 132px; }
}
@container (max-height: 520px) {
  .wallet-statusbar { height: 18px; padding-top: 1px; }
  .wallet-appbar { height: 35px; }
  .wallet-app-icon { width: 18px; height: 18px; }
  .wallet-appbar h1 { font-size: 13px; }
  .wallet-help, .wallet-back { height: 27px; }
  .wallet-networkbar { height: 19px; padding-block: 1px; }
  .wallet-content { padding: 4px 9px 6px; }
  .wallet-overview { flex-basis: 76px; padding: 5px 8px 4px; }
  .wallet-balance-heading { font-size: 9px; }
  .wallet-total { margin-top: 1px; }
  .wallet-total strong { font-size: 23px; }
  .wallet-value-breakdown { margin-top: 2px; font-size: 8px; }
  .wallet-account-picker { flex-basis: 29px; }
  .wallet-quick-actions { flex-basis: 41px; }
  .wallet-quick-actions button { flex-direction: row; gap: 3px; font-size: 8px; }
  .wallet-quick-actions svg { width: 14px; height: 14px; }
  .wallet-asset-tabs, .wallet-assets-preview { display: none; }
  .wallet-view-heading { min-height: 36px; padding-bottom: 4px; }
  .wallet-view-heading h2 { margin-bottom: 1px; font-size: 15px; }
  .wallet-view-heading p, .wallet-view-heading > span { font-size: 8px; }
  .wallet-assets-full .wallet-asset-row { min-height: 43px; }
  .wallet-activity-filters { flex-basis: 27px; }
  .wallet-activity-filters button { font-size: 9px; }
  .wallet-activity-row { grid-template-columns: 25px minmax(0, 1fr) auto; min-height: 45px; padding-block: 3px; }
  .wallet-activity-icon { width: 24px; height: 25px; }
  .wallet-activity-icon svg { width: 15px; height: 15px; }
  .wallet-activity-copy strong, .wallet-activity-amount > strong { font-size: 9px; }
  .wallet-activity-copy > span { font-size: 8px; }
  .wallet-activity-empty { padding: 8px; }
  .wallet-load-more { flex-basis: 28px; margin-top: 4px; }
  .wallet-bottom-nav { flex-basis: 41px; padding-block: 2px; }
  .wallet-bottom-nav button { flex-direction: row; gap: 3px; font-size: 8px; }
  .wallet-bottom-nav img, .wallet-bottom-nav svg { width: 14px; height: 14px; }
  .wallet-footer { flex-basis: 18px; padding-bottom: 6px; }
  .wallet-receive-network { display: none; }
  .wallet-qr-frame { flex: 0 0 87px; min-height: 75px; margin-bottom: 4px; padding: 2px; }
  .wallet-qr-frame canvas { width: 68px; max-height: 68px; }
  .wallet-qr-frame > span { margin-top: 0; font-size: 8px; }
  .wallet-address-label { font-size: 9px; }
  .wallet-address-box { min-height: 33px; max-height: 42px; padding: 4px; font-size: 8px; overflow: hidden; }
  .wallet-receive-bottom { margin-top: 4px; }
  .wallet-receive-bottom button { min-height: 27px; font-size: 9px; }
  .wallet-receive-bottom svg { width: 15px; height: 15px; }
  .wallet-inline-note { margin-top: 5px; font-size: 8px; }
  .wallet-inline-note svg { width: 15px; height: 15px; }
  .wallet-copy-feedback { display: none; }
  .wallet-settings-group { margin-bottom: 4px; padding-block: 2px; }
  .wallet-setting-row { min-height: 23px; padding-block: 1px; font-size: 9px; }
  .wallet-setting-row img { width: 15px; height: 15px; }
  .wallet-settings-actions button { min-height: 28px; font-size: 9px; }
  .wallet-menu-feedback { display: none; }
  .wallet-asset-hero { flex-basis: 99px; grid-template-columns: 35px 1fr; padding: 7px; }
  .wallet-asset-hero .wallet-asset-icon { width: 33px; height: 33px; }
  .wallet-detail-balance { margin-top: 0; }
  .wallet-detail-balance strong { font-size: 21px; }
  .wallet-detail-actions { flex-basis: 32px; margin-bottom: 5px; }
  .wallet-detail-group dl > div { min-height: 25px; padding: 4px 2px; font-size: 9px; }
  #wallet-detail-activity { flex-basis: 29px; }
  .wallet-transfer-steps { flex-basis: 20px; margin-bottom: 3px; font-size: 9px; }
  #wallet-send-form > label, .wallet-field-label, .wallet-amount-label { margin: 2px 0; font-size: 9px; }
  #wallet-send-recipient { flex-basis: 29px; padding: 4px; font-size: 9px; }
  .wallet-send-asset { flex-basis: 30px; padding: 3px 7px; }
  .wallet-send-asset img { width: 20px; height: 20px; }
  .wallet-amount-field { flex-basis: 33px; }
  .wallet-amount-field input { font-size: 17px; }
  .wallet-send-estimate { display: none; }
  .wallet-form-feedback { margin: 2px 0; }
  .wallet-primary-button { flex-basis: 29px; }
  .wallet-review-amount { flex-basis: 70px; margin-bottom: 4px; padding: 5px; }
  .wallet-review-amount > strong { margin: 2px; font-size: 20px; }
  .wallet-warning { margin-bottom: 4px; padding: 4px; font-size: 8px; }
  .wallet-review-check { margin-bottom: 4px; font-size: 8px; }
  #wallet-confirm-transfer, #wallet-review-back { flex-basis: 29px; margin-bottom: 3px; }
  .wallet-readonly-note { display: none; }
  .wallet-transaction-hero { flex-basis: 82px; margin-bottom: 4px; padding: 4px; }
  .wallet-transaction-hero > svg { width: 24px; height: 24px; padding: 2px; }
  .wallet-transaction-hero > span { margin-top: 1px; }
  .wallet-transaction-hero > strong { margin: 1px; font-size: 20px; }
  .wallet-transaction-id { margin-bottom: 3px; font-size: 9px; }
  .wallet-transaction-id > code { min-height: 29px; max-height: 38px; margin-top: 2px; padding: 4px; overflow: hidden; font-size: 8px; }
  #wallet-transaction-explorer, #wallet-transaction-back { flex-basis: 28px; margin-top: 4px; font-size: 9px; }
}
@container (max-height: 450px) {
  .wallet-settings-group:not(:last-of-type) .wallet-setting-row + .wallet-setting-row,
  .wallet-settings-group:last-of-type .wallet-setting-row:not(button) { display: none; }
  .wallet-bridge-view .wallet-view-heading { min-height: 22px; padding-bottom: 2px; }
  .wallet-bridge-view .wallet-view-heading p { display: none; }
  #wallet-bridge-review-panel .wallet-review-amount { flex-basis: 46px; }
  #wallet-bridge-review-panel .wallet-detail-group { margin-bottom: 1px; padding-block: 1px; }
  #wallet-bridge-review-panel .wallet-detail-group legend { display: none; }
  #wallet-bridge-review-panel .wallet-detail-group dl > div { min-height: 18px; padding: 1px 2px; }
  #wallet-bridge-review-panel .wallet-review-check { margin-bottom: 1px; }
}
@container (max-height: 650px) {
  .wallet-bridge-directions { flex-basis: 32px; margin-bottom: 6px; }
  .wallet-bridge-balances { flex-basis: 58px; padding: 6px 8px; }
  #wallet-bridge-form .wallet-amount-label { margin-top: 3px; }
  .wallet-bridge-details { margin-block: 6px 3px; }
  .wallet-bridge-details > div { min-height: 23px; }
  #wallet-bridge-review-panel .wallet-review-amount { flex-basis: 76px; margin-top: 0; }
  #wallet-bridge-review-panel .wallet-detail-group dl > div { min-height: 24px; padding: 3px 2px; }
  #wallet-bridge-review-panel .wallet-detail-group dl > div:nth-child(4) { display: none; }
  #wallet-bridge-review-panel .wallet-warning { margin-bottom: 4px; padding: 4px; }
  #wallet-bridge-review-panel .wallet-review-check { margin-bottom: 5px; }
  .wallet-bridge-receipt .wallet-transaction-hero { flex-basis: 96px; }
  .wallet-bridge-receipt .wallet-detail-group { margin-bottom: 5px; padding-block: 3px; }
  .wallet-bridge-receipt .wallet-detail-group dl > div { min-height: 22px; padding: 2px; }
}
@container (max-height: 520px) {
  .wallet-bridge-view .wallet-view-heading { min-height: 30px; }
  .wallet-bridge-directions { flex-basis: 27px; margin-bottom: 4px; }
  .wallet-bridge-directions button { font-size: 8px; }
  .wallet-bridge-balances { flex-basis: 42px; padding: 3px 7px; font-size: 8px; }
  .wallet-bridge-balances > div { gap: 1px; }
  .wallet-bridge-balances strong { font-size: 10px; }
  .wallet-bridge-balances > span { font-size: 14px; }
  #wallet-bridge-form .wallet-amount-label { margin: 3px 0 2px; }
  .wallet-bridge-details { display: none; }
  .wallet-bridge-note { margin-top: 4px; padding: 3px; font-size: 8px; }
  #wallet-bridge-form .wallet-form-feedback { min-height: 10px; max-height: 20px; overflow: hidden; }
  #wallet-bridge-prepare { flex-basis: 27px; }
  .wallet-bridge-refresh { flex-basis: 18px; margin-top: 0; font-size: 8px; }
  #wallet-bridge-review-panel .wallet-review-amount { flex-basis: 52px; margin: 0 0 4px; padding: 3px; }
  #wallet-bridge-review-panel .wallet-review-amount > strong { margin: 1px; font-size: 18px; }
  #wallet-bridge-review-panel .wallet-review-amount > span,
  #wallet-bridge-review-panel .wallet-review-amount > small { font-size: 8px; }
  #wallet-bridge-review-panel .wallet-detail-group { margin-bottom: 4px; padding: 3px 6px; }
  #wallet-bridge-review-panel .wallet-detail-group dl > div { min-height: 20px; padding: 2px; font-size: 8px; }
  #wallet-bridge-network-balance { display: none; }
  #wallet-bridge-review-panel .wallet-detail-group dl > div:nth-child(-n+4),
  #wallet-bridge-review-panel .wallet-detail-group dl > div:last-child,
  #wallet-bridge-review-note { display: none; }
  #wallet-bridge-review-panel .wallet-review-check { margin-bottom: 3px; font-size: 8px; }
  #wallet-bridge-review-panel .wallet-form-feedback { min-height: 9px; max-height: 18px; margin: 1px 0; overflow: hidden; }
  #wallet-bridge-confirm, #wallet-bridge-back { flex-basis: 26px; margin: 1px 0; }
  .wallet-bridge-receipt .wallet-transaction-hero { flex-basis: 76px; margin-bottom: 4px; padding: 4px; }
  .wallet-bridge-receipt .wallet-detail-group { display: none; }
  .wallet-bridge-receipt .wallet-transaction-id { margin-bottom: 3px; }
  .wallet-bridge-receipt .wallet-transaction-id > code { min-height: 28px; max-height: 33px; margin-top: 2px; padding: 3px; }
  #wallet-bridge-explorer, #wallet-bridge-new { flex-basis: 27px; margin-top: 4px; font-size: 8px; }
}
@container (min-height: 521px) {
  .wallet-review-view .wallet-view-heading { min-height: 36px; padding-bottom: 4px; }
  .wallet-review-view .wallet-transfer-steps { flex-basis: 22px; margin-bottom: 4px; }
  .wallet-review-view .wallet-review-amount { flex-basis: 84px; margin-bottom: 6px; padding: 6px; }
  .wallet-bridge-view .wallet-view-heading { min-height: 42px; }
  #wallet-bridge-review-panel .wallet-review-amount { flex-basis: 76px; margin: 0 0 6px; padding: 6px; }
  #wallet-bridge-review-panel .wallet-detail-group { margin-bottom: 6px; padding: 4px 8px; }
  #wallet-bridge-review-panel .wallet-detail-group dl > div { min-height: 22px; padding: 3px 2px; }
  #wallet-bridge-review-panel .wallet-detail-group dl > div:nth-child(-n+2),
  #wallet-bridge-review-panel .wallet-detail-group dl > div:nth-child(4) { display: none; }
  #wallet-bridge-review-panel .wallet-warning { margin-bottom: 6px; padding: 6px; }
  #wallet-bridge-review-panel .wallet-review-check { margin-bottom: 6px; }
  .wallet-bridge-receipt .wallet-transaction-hero { flex-basis: 96px; margin-bottom: 6px; padding: 6px; }
  .wallet-bridge-receipt .wallet-transaction-hero > svg { width: 28px; height: 28px; padding: 3px; }
  .wallet-bridge-receipt .wallet-detail-group { margin-bottom: 6px; padding: 4px 8px; }
  .wallet-bridge-receipt .wallet-detail-group dl > div { min-height: 22px; padding: 3px 2px; }
  .wallet-bridge-receipt .wallet-transaction-id > code { min-height: 44px; padding: 6px; }
}
@container (min-height: 521px) and (max-height: 650px) {
  .wallet-bridge-view .wallet-view-heading { min-height: 40px; }
  #wallet-bridge-review-panel .wallet-review-amount { flex-basis: 64px; }
  #wallet-bridge-review-panel .wallet-detail-group { margin-bottom: 4px; }
  #wallet-bridge-review-panel .wallet-detail-group dl > div { min-height: 20px; padding: 2px; }
  #wallet-bridge-review-panel .wallet-warning { margin-bottom: 4px; padding: 4px; }
  .wallet-bridge-receipt .wallet-transaction-hero { flex-basis: 76px; padding: 4px; }
  .wallet-bridge-receipt .wallet-transaction-hero > svg { display: none; }
  .wallet-bridge-receipt .wallet-transaction-hero > span { margin-top: 0; }
  .wallet-bridge-receipt .wallet-transaction-hero > strong { margin: 2px; font-size: 20px; }
}
@container (max-height: 450px) {
  #wallet-bridge-review-panel .wallet-review-amount { flex-basis: 46px; }
  #wallet-bridge-review-panel .wallet-detail-group dl > div { min-height: 18px; padding: 1px 2px; }
  #wallet-bridge-review-feedback:empty { display: none; }
}
@media (max-width: 760px) {
  .wallet-window, .wallet-window.maximized { left: 6px; top: 6px; width: calc(100% - 12px); height: calc(100% - 12px); min-height: 0; transform: none; }
  .wallet-window .window-title { font-size: 11px; }
}
@media (max-width: 520px) { #wallet-icon { top: 100px; } .wallet-shell { max-width: none; } }
@media (max-height: 570px) { .wallet-window, .wallet-window.maximized { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .wallet-shell *, .wallet-shell *::before, .wallet-shell *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
