:root{--tg-content-top:0px;--tg-content-bottom:0px;--tg-content-left:0px;--tg-content-right:0px}html{background:#fbfaff}body{width:100%;max-width:520px;min-width:280px;min-height:100dvh;margin:0 auto;padding:var(--tg-content-top) var(--tg-content-right) var(--tg-content-bottom) var(--tg-content-left);border:0;border-radius:0;box-shadow:none}#app{min-height:100dvh}.dashboard{padding-bottom:calc(106px + var(--tg-content-bottom));min-height:100dvh}.top{padding-top:22px}.preview-label{margin:2px 20px 15px;font-size:11px;color:#765a9d;text-align:center;padding:7px 10px;border:1px solid #e5dcf5;border-radius:20px;background:#ffffffaa}.balance{padding-top:26px}.balance .amount{font-size:54px}.actions{margin-top:24px;margin-bottom:24px;padding:12px}.asset-panel{padding-top:19px}.dock{position:fixed;bottom:calc(14px + var(--tg-content-bottom) + env(safe-area-inset-bottom));max-width:464px;left:50%;width:calc(100% - 40px)}.wallet-note{padding-top:24px}.ribbon{top:150px;bottom:80px}.feature-link .tag{display:inline-block;margin-top:10px}.section{padding-bottom:30px}.check input{flex-shrink:0}dialog{width:calc(100% - 24px);max-width:460px;max-height:calc(100dvh - 48px);border:1px solid #e5dcf5;border-radius:26px;padding:24px;color:#17151c;background:#fbfaff;box-shadow:0 24px 80px #21113833}dialog::backdrop{background:#22133588;backdrop-filter:blur(6px)}.approvalbuttons{position:sticky;bottom:-24px;background:#fbfaff;padding:14px 0 22px}.footer{white-space:normal}.footer span{white-space:normal}#toast{bottom:calc(96px + var(--tg-content-bottom));max-width:464px}.netlist{max-height:60dvh}
@media(min-width:600px){html{background:#eeeaf5}body{margin:24px auto;border:1px solid #e5dcf5;border-radius:26px;overflow:hidden;min-height:780px}#app,.dashboard{min-height:780px}.dock{position:absolute;bottom:18px}.preview-label{margin-bottom:18px}}
@media(max-width:350px){.top,.section{padding-left:14px;padding-right:14px}.brand{font-size:17px}.brand img{width:28px;height:28px}.footer{font-size:10px}.dock{width:calc(100% - 24px);grid-template-columns:1fr 1fr 58px 1fr 1fr}.dock-mark{width:58px;height:58px}.split{gap:8px}.split button{font-size:12px;padding:12px 10px}}

/* Mobile CardPlanToggle and CardVirtualPreview: original artwork, same proportions. */
.card-plan-switch{display:flex;gap:0;min-height:50px;padding:4px;background:#f3f0f8;border-radius:10px}
.card-plan-switch button{flex:1;min-width:0;min-height:42px;border-radius:8px;background:transparent;font-size:12px;font-weight:500;transition:background .18s,color .18s}
.card-plan-switch button[aria-pressed=true]{background:var(--purple);color:#fff}
.card-design-panel{padding:23px 22px 20px;border:1px solid var(--purple);border-radius:15px;background:#fff;box-shadow:var(--shadow)}
.card-artwork{position:relative;width:100%;max-width:384px;margin:0 auto;aspect-ratio:1536/969;border-radius:4.12% / 6.53%;overflow:hidden;color:#1a1f71;isolation:isolate}
.card-artwork-pro{color:#fff}
.card-artwork img{display:block;width:100%;height:auto;aspect-ratio:1536/969;object-fit:contain}
.card-artwork-tier{position:absolute;left:4.12%;top:6.53%;font-size:clamp(9px,2.58vw,12.5px);font-weight:400;line-height:1.15}
.card-artwork-number{position:absolute;left:4.12%;top:68.46%;font-size:clamp(9px,3vw,15px);font-weight:400;line-height:1.15;white-space:pre}
.card-design-title{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:6px;margin-top:23px}
.card-design-title h3{font-size:20px;font-weight:600;letter-spacing:-.3px}
.card-design-title span{font-size:12px;color:var(--muted)}
.card-design-caption{font-size:11px;line-height:1.45;color:var(--muted);text-align:center}
.card-list-art{width:63px;height:auto;aspect-ratio:1536/969;flex-shrink:0;border-radius:3px}
@media(prefers-reduced-motion:reduce){.card-plan-switch button{transition:none}}
.approval-address{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.approval-address span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.approval-address .text-action{flex:none;width:auto;min-height:0;padding:0;border:0;background:none;color:var(--lumo-primary,#8b5cf6);font-weight:600}.approval-technical{margin-top:4px}.approval-technical summary{cursor:pointer;color:var(--lumo-text-2,#625d6c);font-size:13px}.approval-technical pre{max-height:220px;overflow:auto}
.lumo-forgot{display:block;margin:14px auto 0;width:auto;min-height:0;padding:6px 10px;border:0;background:none;color:var(--lumo-primary,#8b5cf6);font:600 14px/1.3 var(--lumo-font,Inter,Arial,sans-serif);cursor:pointer}
.gift-store-logo img{display:block;max-width:100%;max-height:44px;object-fit:contain}.gift-product-logo{display:grid;place-items:center;height:96px;border-radius:14px;background:#fff;padding:12px;margin-bottom:6px}.gift-product-logo img{max-width:100%;max-height:72px;object-fit:contain}
.lightning-state{text-align:center;padding:12px 8px 4px}.lightning-state h3{margin:8px 0;font-size:17px}.lightning-state p{margin:0 auto;max-width:34ch;line-height:1.5}
.loans-unavailable{text-align:center;padding:12px 8px 4px}.loans-unavailable h3{margin:10px 0 8px;font-size:17px}.loans-unavailable p{margin:0 auto;max-width:34ch;line-height:1.5}
.pulse-chat-body{gap:10px}.pulse-chat-compose{display:flex;flex-direction:column;gap:6px;margin-top:12px}.pulse-chat-input{position:relative;height:95px;border:1px solid var(--lumo-chip-border,#e2e8f0);border-radius:15px;background:var(--lumo-card,#fff);box-sizing:border-box}.pulse-chat-input textarea{display:block;width:100%;height:100%;min-height:0;margin:0;padding:12px 12px 44px;border:0;border-radius:15px;background:transparent;box-shadow:none;resize:none;color:var(--lumo-text,#17151c);font:400 13px/1.4 var(--lumo-font,Inter,Arial,sans-serif)}.pulse-chat-input textarea:focus{outline:none}.pulse-chat-input:focus-within{border-color:var(--lumo-primary,#8b5cf6)}.pulse-chat-input .visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.pulse-chat-buttons{position:absolute;right:11px;bottom:11px;display:flex;gap:8px}.pulse-chat-buttons button{display:grid;place-items:center;width:30px;height:30px;min-width:0;min-height:0;padding:0;border:0;border-radius:50%;box-shadow:none;cursor:pointer}.pulse-chat-buttons svg{width:16px;height:16px}.pulse-chat-mic{background:#8b5cf61f;color:var(--lumo-primary,#8b5cf6)}.pulse-chat-mic.active{background:var(--lumo-primary,#8b5cf6);color:#fff}.pulse-chat-mic:disabled{display:none}.pulse-chat-send{background:var(--lumo-primary,#8b5cf6)}.pulse-chat-send:disabled{background:var(--lumo-text-3,#9a94a6)}.pulse-chat-compose #pulseVoiceStatus:empty{display:none}.pulse-chat-safety{margin:0;text-align:center;font-size:11px;line-height:1.4;color:var(--lumo-text-3,#9a94a6)}details.pulse-voice-output{margin-top:6px}details.pulse-voice-output summary{cursor:pointer;font-size:12px;color:var(--lumo-text-2,#625d6c)}details.pulse-voice-output[open]{display:grid;gap:6px}
.approval-address .text-action:focus:not(:focus-visible),.approval-technical summary:focus:not(:focus-visible){outline:none}
