/* Hidden above mobile widths, native desktop stays unchanged. */
@media screen and (min-width: 769px){.vf-mobile-head,.vf-mobile-bottom,.vf-mobile-shortcuts,.vf-mobile-photo-card,.vf-mobile-drawer{display:none!important}}
/* VaultFi Mobile App Design v1 | mobile-only, no transaction logic changes */
@media screen and (max-width: 768px) {
 html.vf-native-mobile { color-scheme: light; background:#f5f8ff!important; overflow-x:clip!important; }
 html.vf-native-mobile body { background:radial-gradient(circle at 0 2%,#e6f7ff 0,transparent 46%),radial-gradient(circle at 100% 14%,#f1eaff 0,transparent 42%),#f5f8ff!important; color:#152347!important; margin:0!important; overflow-x:clip!important; padding-bottom:calc(98px + env(safe-area-inset-bottom,0px))!important; -webkit-font-smoothing:antialiased; }
 html.vf-native-mobile,html.vf-native-mobile body { min-width:0!important; width:100%!important; max-width:100%!important; }
 html.vf-native-mobile * { box-sizing:border-box; }
 html.vf-native-mobile .vf-app, html.vf-native-mobile .vf-main,html.vf-native-mobile .vf-content,html.vf-native-mobile .vf-page,html.vf-native-mobile .vf-premium-pay-v1 { width:100%!important;max-width:100%!important; min-width:0!important; margin-left:0!important; margin-right:0!important; box-sizing:border-box!important; }
 html.vf-native-mobile .vf-content,html.vf-native-mobile .vf-page { padding-left:0!important;padding-right:0!important; }
 html.vf-native-mobile .vf-page,html.vf-native-mobile .vf-premium-pay-v1 { padding-top:12px!important;padding-bottom:8px!important; }
 html.vf-native-mobile [data-vf-side],html.vf-native-mobile #vfDesktopSidebarV4,html.vf-native-mobile .vf-sidebar,html.vf-native-mobile [data-vf-mobile],html.vf-native-mobile .vf-mobile-nav,html.vf-native-mobile .vf-mobile-dock { display:none!important; }
 html.vf-native-mobile .vf-app {display:block!important; padding:0!important;}
 html.vf-native-mobile .vf-main {display:block!important; padding:0 16px!important;}
 html.vf-native-mobile [data-vf-top] {display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:8px!important;min-height:0!important;height:auto!important;max-height:96px;overflow:visible!important;padding:2px 0 8px!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
 html.vf-native-mobile [data-vf-top] > * {min-width:0;}
 html.vf-native-mobile .vf-mobile-head { position:relative;z-index:40;display:flex;gap:10px;align-items:center;min-height:66px;padding:calc(8px + env(safe-area-inset-top,0px)) 16px 4px;background:transparent;}
 html.vf-native-mobile .vf-mobile-mark {display:grid;place-items:center;width:39px;height:39px;border-radius:13px;color:white;font-size:24px;font-weight:850;letter-spacing:-2px;box-shadow:0 9px 20px #6859ed22;background:linear-gradient(135deg,#35d4e8,#5d65fa 55%,#bb51dc);text-decoration:none;flex:0 0 39px;}
 html.vf-native-mobile .vf-mobile-brand {min-width:0;flex:1;line-height:1.12;}
 html.vf-native-mobile .vf-mobile-brand strong{display:block;font-size:19px;font-weight:850;letter-spacing:-.7px;color:#132141;}
 html.vf-native-mobile .vf-mobile-brand strong em{font-style:normal;color:#6471f2;}
 html.vf-native-mobile .vf-mobile-brand small{display:block;margin-top:4px;letter-spacing:.03em;color:#7885a3;font-size:10px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
 html.vf-native-mobile .vf-mobile-icon {display:grid;place-items:center; flex:0 0 38px;width:38px;height:38px;border:1px solid #e6eafa;border-radius:13px;background:#fff;color:#4e5d81;box-shadow:0 5px 16px #27345f09;cursor:pointer;text-decoration:none;}
 html.vf-native-mobile .vf-mobile-icon svg {width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
 html.vf-native-mobile .vf-page-head,html.vf-native-mobile .page-head {padding:12px 0 14px!important;margin:0!important;display:flex!important;gap:9px!important;align-items:flex-start!important;flex-wrap:wrap!important;background:transparent!important;}
 html.vf-native-mobile .vf-page-head > div:first-child,html.vf-native-mobile .page-head > div:first-child{min-width:0;flex:1 1 220px;}
 html.vf-native-mobile .vf-eyebrow,html.vf-native-mobile .eyebrow{font-size:10px!important;letter-spacing:.17em!important;color:#6960d6!important;font-weight:800!important;}
 html.vf-native-mobile .vf-title,html.vf-native-mobile .title{font-size:clamp(25px,7vw,32px)!important;letter-spacing:-1.15px!important;line-height:1.11!important;font-weight:850!important;margin:4px 0 6px!important;color:#142243!important;}
 html.vf-native-mobile .vf-sub,html.vf-native-mobile .subtitle {font-size:12px!important;line-height:1.45!important;color:#7885a3!important;margin:0!important;max-width:100%!important;}
 html.vf-native-mobile .vf-live,html.vf-native-mobile .trade-live{font-size:10px!important;min-height:25px!important;padding:5px 8px!important;}
 html.vf-native-mobile .hero,html.vf-native-mobile .vf-card,html.vf-native-mobile .form-card,html.vf-native-mobile .card,html.vf-native-mobile .vf-premium-panel,html.vf-native-mobile .earn-section,html.vf-native-mobile .tw-shell{border:1px solid #e5eafa!important;border-radius:20px!important;box-shadow:0 9px 28px #334c9610!important;backdrop-filter:none!important;max-width:100%!important;min-width:0!important;}
 html.vf-native-mobile .vf-card,html.vf-native-mobile .form-card,html.vf-native-mobile .card,html.vf-native-mobile .vf-premium-panel,html.vf-native-mobile .earn-section{background:rgba(255,255,255,.96)!important;padding:15px!important;}
 html.vf-native-mobile .vf-grid,html.vf-native-mobile .vf-grid.two,html.vf-native-mobile .vf-grid.three,html.vf-native-mobile .vf-as-grid,html.vf-native-mobile .vf-premium-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;min-width:0!important;}
 html.vf-native-mobile .vf-card .section-title,html.vf-native-mobile .section-title{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;}
 html.vf-native-mobile .section-title h2,html.vf-native-mobile .vf-card h2{font-size:15px!important;font-weight:800!important;color:#172647!important;letter-spacing:-.35px!important;}
 html.vf-native-mobile .section-title p {font-size:11px!important;color:#8190ae!important;line-height:1.4!important;}
 html.vf-native-mobile button,html.vf-native-mobile input,html.vf-native-mobile select,html.vf-native-mobile textarea {font-family:inherit;max-width:100%;}
 html.vf-native-mobile button,html.vf-native-mobile .btn {touch-action:manipulation;}
 html.vf-native-mobile .btn.primary,html.vf-native-mobile .vf-premium-primary,html.vf-native-mobile .vf-mobile-primary {background:linear-gradient(103deg,#30c8e4 0%,#4c7ef6 47%,#a746e9 100%)!important;color:#fff!important;border:0!important;box-shadow:0 9px 24px #6d73ed25!important;font-weight:800!important;border-radius:13px!important;min-height:46px!important;}
 html.vf-native-mobile input:not([type=checkbox]):not([type=radio]):not([type=file]),html.vf-native-mobile select,html.vf-native-mobile textarea {border-radius:13px!important;min-height:44px;font-size:16px!important;background:#fff!important;}
 html.vf-native-mobile .vf-mobile-shortcuts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:11px 0 14px;}
 html.vf-native-mobile .vf-mobile-shortcut {display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;min-height:85px;border:1px solid #e5ebfb;background:white;border-radius:17px;color:#243454;text-decoration:none;font-size:11px;font-weight:750;box-shadow:0 6px 18px #4454a40b;}
 html.vf-native-mobile .vf-mobile-shortcut .vf-mobile-shortcut-icon{display:grid;place-items:center;border-radius:13px;width:35px;height:35px;color:#5953e9;font-size:21px;background:linear-gradient(140deg,#e1faff,#eee5ff);}
 html.vf-native-mobile .vf-mobile-bottom {position:fixed;z-index:10000;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:space-around;min-height:68px;padding:7px 5px calc(7px + env(safe-area-inset-bottom,0px));background:#fff;box-shadow:0 -7px 30px #293e7415;border-top:1px solid #e7ebf8;}
 html.vf-native-mobile .vf-mobile-tab{min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:45px;color:#6b7897;text-decoration:none;font-size:10px;line-height:1.1;font-weight:650;}
 html.vf-native-mobile .vf-mobile-tab svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;}
 html.vf-native-mobile .vf-mobile-tab[aria-current=page]{color:#594de8;font-weight:850;}
 html.vf-native-mobile .vf-mobile-tab.vf-mobile-center svg{background:linear-gradient(135deg,#37c7e5,#7954f2);color:#fff;width:43px;height:43px;padding:11px;box-shadow:0 3px 14px #6d5aec55;border-radius:50%;margin-top:-15px;box-sizing:border-box;stroke-width:2;}
 html.vf-native-mobile .vf-mobile-drawer[hidden],html.vf-native-mobile .vf-mobile-profile-photo[hidden]{display:none!important;}
 html.vf-native-mobile .vf-mobile-drawer {position:fixed;inset:0;z-index:12000;background:#152244a3;display:flex;align-items:flex-end;}
 html.vf-native-mobile .vf-mobile-drawer-panel{width:100%;max-height:89dvh;overflow:auto;background:#f7f9ff;border-radius:27px 27px 0 0;padding:18px 16px calc(20px + env(safe-area-inset-bottom,0px));box-shadow:0 -10px 50px #111e4433;}
 html.vf-native-mobile .vf-mobile-drawer-heading{display:flex;align-items:center;justify-content:space-between;font-size:20px;font-weight:850;color:#172444;margin-bottom:13px;}
 html.vf-native-mobile .vf-mobile-drawer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
 html.vf-native-mobile .vf-mobile-drawer-grid a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:77px;background:#fff;border:1px solid #e6eafa;border-radius:15px;color:#203154;text-decoration:none;font-size:11px;font-weight:700;text-align:center;}
 html.vf-native-mobile .vf-mobile-drawer-grid a span{font-size:23px;color:#6661e8;}
 html.vf-native-mobile .vf-mobile-drawer-panel p{font-size:11px;color:#818ca5;margin:14px 2px 0;}
 html.vf-native-mobile .vf-mobile-photo-card{display:flex;align-items:center;gap:13px;padding:16px!important;margin:6px 0 14px;background:linear-gradient(125deg,#effcff,#f4f0ff)!important;border:1px solid #e0e9ff;border-radius:20px;}
 html.vf-native-mobile .vf-mobile-photo-avatar{position:relative;display:grid;place-items:center;flex:0 0 67px;width:67px;height:67px;border:3px solid white;border-radius:50%;overflow:hidden;background:linear-gradient(130deg,#31c5e8,#9757eb);color:#fff;font-size:28px;font-weight:800;}
 html.vf-native-mobile .vf-mobile-photo-avatar img{width:100%;height:100%;object-fit:cover;}
 html.vf-native-mobile .vf-mobile-photo-copy{min-width:0;flex:1;}
 html.vf-native-mobile .vf-mobile-photo-copy strong{font-size:16px;font-weight:800;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#172548;}
 html.vf-native-mobile .vf-mobile-photo-copy p{font-size:11px;line-height:1.4;margin:3px 0 6px;color:#6e7d9c;}
 html.vf-native-mobile .vf-mobile-photo-copy button{font-size:11px;font-weight:750;background:white;border:1px solid #dae2fb;color:#5e55da;padding:8px 10px;border-radius:11px;margin-right:5px;}
 html.vf-native-mobile .vf-mobile-photo-copy .vf-mobile-photo-note{font-size:10px;color:#78859e;margin-top:5px;}
 html.vf-native-mobile .vf-as-meta-row{padding:11px 0!important;flex-wrap:wrap;gap:6px;}
 html.vf-native-mobile .vf-as-meta-row strong{overflow-wrap:anywhere;text-align:right;}
 html.vf-native-mobile .vf-as-form-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;}
 html.vf-native-mobile .vf-as-field.full{grid-column:auto!important;}
 /* Dashboard and wallet: large balance card, compact genuine links as actions. */
 html.vf-native-mobile[data-vf-mobile-page=dashboard] .hero,html.vf-native-mobile[data-vf-mobile-page=wallet] .hero{position:relative!important;display:flex!important;min-height:186px!important;align-items:flex-start!important;padding:19px 17px!important;overflow:hidden!important;background:linear-gradient(127deg,#42d1e9 0%,#86baff 42%,#9b6bef 77%,#c85ce5)!important;color:white!important;}
 html.vf-native-mobile[data-vf-mobile-page=dashboard] .hero .hero-copy,html.vf-native-mobile[data-vf-mobile-page=wallet] .hero .hero-copy{z-index:2;width:100%!important;min-width:0;position:relative;}
 html.vf-native-mobile[data-vf-mobile-page=dashboard] .hero .hero-label,html.vf-native-mobile[data-vf-mobile-page=wallet] .hero .hero-label{font-size:10px!important;font-weight:750!important;letter-spacing:.08em;color:#fff!important;}
 html.vf-native-mobile[data-vf-mobile-page=dashboard] .hero .hero-balance,html.vf-native-mobile[data-vf-mobile-page=wallet] .hero .hero-balance{font-size:clamp(32px,10vw,45px)!important;line-height:1.15!important;font-weight:850!important;color:white!important;letter-spacing:-1.5px!important;margin:7px 0!important;}
 html.vf-native-mobile[data-vf-mobile-page=dashboard] .hero .hero-change,html.vf-native-mobile[data-vf-mobile-page=wallet] .hero .hero-change{font-size:11px!important;color:#f5ffff!important;max-width:220px;}
 html.vf-native-mobile[data-vf-mobile-page=dashboard] .hero .hero-art,html.vf-native-mobile[data-vf-mobile-page=wallet] .hero .hero-art{position:absolute!important;z-index:1;right:-15px!important;left:auto!important;top:32px!important;transform:scale(.62)!important;transform-origin:top right!important;pointer-events:none!important;opacity:.94;}
 html.vf-native-mobile[data-vf-mobile-page=dashboard] .hero .portfolio-chart,html.vf-native-mobile[data-vf-mobile-page=wallet] .hero .portfolio-chart{height:48px!important;max-width:53%!important;opacity:.68;}
 html.vf-native-mobile[data-vf-mobile-page=dashboard] .hero-actions,html.vf-native-mobile[data-vf-mobile-page=wallet] .hero-actions{display:none!important;}
 html.vf-native-mobile[data-vf-mobile-page=dashboard] .action-grid{display:none!important;}
 html.vf-native-mobile .action-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;}
 html.vf-native-mobile .action-card{padding:14px 6px!important;min-height:83px!important;text-align:center!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;border-radius:17px!important;background:white!important;border:1px solid #e5eafa!important;box-shadow:0 5px 17px #334c9610!important;}
 html.vf-native-mobile .action-card>span{font-size:22px!important;}
 html.vf-native-mobile .action-card strong{font-size:11px!important;color:#172749!important;}
 html.vf-native-mobile .action-card small{display:none!important;}
 html.vf-native-mobile .metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;}
 html.vf-native-mobile .metric{min-width:0!important;padding:12px!important;border-radius:16px!important;background:#fff!important;}
 html.vf-native-mobile .hero-art{pointer-events:none;}
 html.vf-native-mobile .asset-list{min-width:0;overflow-wrap:anywhere;}
 html.vf-native-mobile .asset-row,html.vf-native-mobile .activity-item,html.vf-native-mobile .tx-item{max-width:100%;min-width:0;}
 html.vf-native-mobile .asset-row *{min-width:0;}
 /* Radar: keep celebration strictly inside original card and existing claim logic. */
 html.vf-native-mobile[data-vf-mobile-page=radar] .radar{min-height:250px!important;max-height:310px!important;}
 html.vf-native-mobile[data-vf-mobile-page=radar] .coin-orb{transform:scale(.72);}
 html.vf-native-mobile[data-vf-mobile-page=radar] #vfRadarHuntBtn{width:100%!important;}
 /* Transaction surfaces: stack visual regions, do not move forms or change values. */
 html.vf-native-mobile .trade-shell,html.vf-native-mobile .cashout-grid,html.vf-native-mobile .vf-premium-benefits{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;min-width:0!important;}
 html.vf-native-mobile .trade-marketbar{display:flex!important;gap:8px!important;overflow-x:auto!important;scroll-snap-type:x proximity;padding-bottom:7px;}
 html.vf-native-mobile .trade-marketbar .trade-stat{flex:0 0 auto!important;min-width:90px!important;}
 html.vf-native-mobile .trade-timeframes{overflow:auto;max-width:100%;}
 html.vf-native-mobile .trade-canvas-wrap{width:100%!important;max-width:100%!important;min-height:220px!important;}
 html.vf-native-mobile .trade-chart,.vf-native-mobile .order-panel{max-width:100%!important;min-width:0!important;}
 html.vf-native-mobile .tw-shell{padding:14px!important;background:linear-gradient(140deg,#eefcff,#f0eeff)!important;}
 html.vf-native-mobile .tw-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
 html.vf-native-mobile .tw-actions button{min-width:0!important;min-height:45px!important;font-size:11px!important;}
 html.vf-native-mobile .vf-premium-live-hero{padding:19px!important;border-radius:21px!important;background:linear-gradient(110deg,#34c6e8,#6a77f5 56%,#b853e8)!important;color:white!important;}
 html.vf-native-mobile .vf-premium-live-hero h1{font-size:26px!important;color:white!important;}
 html.vf-native-mobile .vf-premium-benefit{border:1px solid #e5eafa!important;border-radius:15px!important;background:#fff!important;padding:14px!important;}
 html.vf-native-mobile .earn-hero{border-radius:19px!important;}
 html.vf-native-mobile .vf-grid .reward-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
 html.vf-native-mobile .reward-grid .reward{min-width:0!important;}
 html.vf-native-mobile .activity-filter{display:flex!important;overflow-x:auto!important;max-width:100%;white-space:nowrap;padding:5px 0;}
 html.vf-native-mobile .activity-filter button{flex-shrink:0;}
 html.vf-native-mobile .vf-mobile-scroll{overflow-x:auto!important;max-width:100%;}
 html.vf-native-mobile .vf-mobile-scroll table{min-width:520px;}
 html.vf-native-mobile .vf-mobile-responsive-table{overflow-x:auto;max-width:100%;}
 html.vf-native-mobile [role=dialog],html.vf-native-mobile .vf-premium-modal .vf-premium-dialog,html.vf-native-mobile .earn-modal-card{max-width:calc(100vw - 22px)!important;max-height:calc(100dvh - 40px)!important;overflow-y:auto;}
 html.vf-native-mobile .vf-mobile-error{color:#a12844;font-size:11px;}
}
@media screen and (max-width: 370px){html.vf-native-mobile .vf-main{padding:0 11px!important;}html.vf-native-mobile .vf-mobile-head{padding-left:11px;padding-right:11px;}html.vf-native-mobile .vf-mobile-shortcuts{gap:5px;}html.vf-native-mobile .vf-mobile-shortcut{font-size:10px;}html.vf-native-mobile .vf-mobile-tab{font-size:9px;}}
@media (prefers-reduced-motion:reduce){html.vf-native-mobile *,html.vf-native-mobile *::before,html.vf-native-mobile *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important;}}
