/* INVICTUS renewal: same world, a distinct wallet atmosphere. 2 Corinthians 5:17. */
body[data-wallet-renewal]{--renewal-gold:#ddc28e;--renewal-ivory:#f5efdf;min-height:100svh;background:#02060a!important;color:var(--renewal-ivory)!important;isolation:isolate;font-family:Arial,Helvetica,sans-serif!important}
body[data-wallet-renewal]::before{display:block!important;content:"";position:fixed;inset:-1.5%;z-index:-2;pointer-events:none;background:url('/wallet/assets/renewal-depth-v1.webp') center/cover no-repeat!important;animation:renewal-depth 24s ease-in-out infinite alternate}
body[data-wallet-renewal]::after{display:block!important;content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;transform:none!important;height:auto!important;opacity:1!important;background:linear-gradient(180deg,#01050910 0%,#01050910 50%,#01050988 100%)!important}
body[data-wallet-renewal] .moon-scene,body[data-wallet-renewal] .top-tools,body[data-wallet-renewal] #shell>.hero{display:none!important}
body[data-wallet-renewal] #shell{width:100%;max-width:640px!important;margin:0 auto!important;padding:env(safe-area-inset-top) 28px calc(120px + env(safe-area-inset-bottom))!important;box-sizing:border-box}
body[data-wallet-renewal] .topbar{position:relative;display:flex;justify-content:center;align-items:center;height:96px;padding:0!important;margin:0 0 28px!important;border:0!important;background:transparent!important}
body[data-wallet-renewal] .topbar .home{font:400 16px/1 Arial,Helvetica,sans-serif!important;letter-spacing:.48em!important;color:var(--renewal-ivory)!important;padding-left:.48em}
.renewal-account{position:absolute;right:0;top:27px;display:grid;place-items:center;width:44px;height:44px;color:var(--renewal-gold);text-decoration:none}
.renewal-account svg{width:21px;height:21px}
.renewal-title{font:400 25px/1.2 Arial,Helvetica,sans-serif;letter-spacing:.04em;margin:12px 0 30px;color:var(--renewal-ivory)}
body[data-wallet-renewal] #core-panel{padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
body[data-wallet-renewal] .core-heading{margin-bottom:18px}
body[data-wallet-renewal] .core-heading>.core-eyebrow{display:none}
body[data-wallet-renewal] .core-badge{font:10px/1.4 Arial,sans-serif;letter-spacing:.08em;border:0!important;padding:0!important;color:#a2adb4}
body[data-wallet-renewal] #core-home>.core-line{justify-content:flex-end;gap:14px;color:#a2adb4;font-size:11px}
body[data-wallet-renewal] #core-wallet-name{margin-right:auto;overflow-wrap:anywhere}
body[data-wallet-renewal] #core-home>.core-line button{min-width:44px;min-height:44px;padding:6px 0;background:none!important;border:0!important;border-radius:0!important;font:11px Arial,sans-serif;color:#aab3b8!important;box-shadow:none!important}
body[data-wallet-renewal] .core-balance{padding:24px 0 0!important;text-align:left!important;min-height:clamp(180px,30svh,320px);box-sizing:border-box}
.renewal-available{display:block;font:13px/1.5 Arial,sans-serif;letter-spacing:.035em;color:#a2adb4;margin-bottom:18px}
body[data-wallet-renewal] #core-amount{font:400 clamp(42px,12vw,76px)/1.12 Georgia,serif!important;letter-spacing:-.045em;margin:0 0 12px!important;overflow-wrap:anywhere;color:var(--renewal-ivory);font-variant-numeric:lining-nums tabular-nums}
body[data-wallet-renewal] .core-balance>.core-eyebrow{font:12px/1 Arial,sans-serif;letter-spacing:.38em;color:var(--renewal-gold)}
body[data-wallet-renewal] #core-balance-note{font-size:10px;color:#a2adb4;max-width:36ch;margin-top:15px}
body[data-wallet-renewal] #core-home>.renewal-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 28px!important}
body[data-wallet-renewal] .renewal-actions>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0!important;min-height:92px;padding:18px 6px;border-radius:20px!important;border:1px solid #c9d9e126!important;border-bottom-color:#ddc28e70!important;background:linear-gradient(140deg,#17232baa,#070d1399)!important;box-shadow:inset 0 1px #ffffff0b!important;backdrop-filter:blur(14px);color:var(--renewal-ivory)!important;font:13px Arial,sans-serif;transition:transform .2s ease,border-color .2s ease,background .2s ease}
.renewal-actions svg{width:25px;height:25px}
#core-open-send svg{color:var(--renewal-gold)}
body[data-wallet-renewal] .renewal-actions>button:hover{border-color:#ddc28e99!important}
body[data-wallet-renewal] .renewal-actions>button:active{transform:translateY(2px) scale(.98)}
body[data-wallet-renewal] .renewal-activity,body[data-wallet-renewal] #renewal-loans{margin:18px 0;border-top:1px solid #c9d9e12b;padding-top:18px}
body[data-wallet-renewal] .renewal-activity>summary,body[data-wallet-renewal] #renewal-loans>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;min-height:44px;font:14px Arial,sans-serif;letter-spacing:.04em;color:var(--renewal-ivory)}
body[data-wallet-renewal] summary::-webkit-details-marker{display:none}
body[data-wallet-renewal] .renewal-activity>summary::after,body[data-wallet-renewal] #renewal-loans>summary::after{content:'›';font-size:24px;color:var(--renewal-gold)}
body[data-wallet-renewal] details[open]>summary::after{transform:rotate(90deg)}
.renewal-latest{font:11px/1.65 Arial,sans-serif;color:#b6c0c6;overflow-wrap:anywhere;margin:22px 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body[data-wallet-renewal] #renewal-loans:not([open]){display:none}
body[data-wallet-renewal] #core-home>.core-card,body[data-wallet-renewal] #one-lending{background:#071019ed!important;border:1px solid #c9d9e12b!important;border-radius:20px!important;padding:22px!important;box-shadow:none!important;backdrop-filter:blur(18px)}
body[data-wallet-renewal] #one-lending form+form{margin-top:28px;border-top:1px solid #c9d9e12b;padding-top:20px}
body[data-wallet-renewal] #core-panel h2,body[data-wallet-renewal] #core-panel h3{font:400 26px/1.2 Georgia,serif;color:var(--renewal-ivory)}
body[data-wallet-renewal] #core-panel input,body[data-wallet-renewal] #core-panel select,body[data-wallet-renewal] #core-panel textarea{box-sizing:border-box;max-width:100%;border:1px solid #c9d9e13b!important;border-radius:12px!important;background:#040b12dd!important;color:var(--renewal-ivory);padding:14px;min-height:48px}
body[data-wallet-renewal] #core-panel button:not(#core-home>.renewal-actions>button){border-color:#ddc28e50;border-radius:12px}
body[data-wallet-renewal] .native-entry{background:#050c13bb!important;border:0!important;border-radius:20px!important;max-width:100%;padding:24px!important;box-sizing:border-box;backdrop-filter:blur(12px)}
body[data-wallet-renewal] #cloud-boot{max-width:460px;margin:16svh auto!important}
body[data-wallet-renewal] #core-entry,body[data-wallet-renewal] #core-setup,body[data-wallet-renewal] #core-settings{background:#030a11bb;border-radius:20px;padding:22px;backdrop-filter:blur(12px)}
body[data-wallet-renewal] .renewal-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:15;width:min(100%,640px);box-sizing:border-box;display:grid;grid-template-columns:repeat(3,1fr);padding:20px 22px calc(18px + env(safe-area-inset-bottom));background:linear-gradient(0deg,#02060af2,#02060aa8 75%,transparent);gap:16px}
.renewal-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:46px;color:#a4adb6;text-decoration:none;font:11px Arial,sans-serif;letter-spacing:.04em}
.renewal-nav svg{width:23px;height:23px}
.renewal-nav a[aria-current]{color:var(--renewal-gold)}
.renewal-nav a[aria-current]::after{content:'';position:absolute;bottom:calc(9px + env(safe-area-inset-bottom));width:3px;height:3px;border-radius:50%;background:var(--renewal-gold)}
.renewal-i{width:7px;height:7px;margin:8px;border-radius:50%;background:#fff;box-shadow:0 0 15px #d4e8ff9c;animation:renewal-light 6s ease-in-out infinite}
body[data-wallet-renewal] [hidden]{display:none!important}
body[data-wallet-renewal] :focus-visible{outline:2px solid var(--renewal-gold)!important;outline-offset:4px}
@keyframes renewal-depth{to{transform:scale(1.025) translateY(-.4%)}}
@keyframes renewal-light{50%{box-shadow:0 0 23px #d4e8ffbf;opacity:.75}}
@media(min-width:900px){body[data-wallet-renewal]::before{background-size:auto 120%!important;background-color:#02060a!important}body[data-wallet-renewal] .core-balance{min-height:300px}}
@media(max-width:350px){body[data-wallet-renewal] #shell{padding-left:18px!important;padding-right:18px!important}.renewal-account{right:-10px}.renewal-actions{gap:10px!important}.topbar .home{font-size:13px!important}}
@media(prefers-reduced-motion:reduce){body[data-wallet-renewal]::before,.renewal-i{animation:none}.renewal-actions>button{transition:none!important}}
