/* MTTVN Premium Apple Glass UI v5 - 2026
   Clean dark glass interface, mobile-first, preserves existing JS/API logic. */
:root{
  color-scheme:dark;
  --app-bg:#050816;
  --app-bg2:#080d1d;
  --surface:rgba(255,255,255,.065);
  --surface-2:rgba(255,255,255,.095);
  --surface-3:rgba(255,255,255,.13);
  --line:rgba(255,255,255,.13);
  --line-2:rgba(255,255,255,.20);
  --text:#f7f9ff;
  --muted:#aab3c5;
  --muted2:#7f8aa3;
  --cyan:#63e6ff;
  --violet:#b58cff;
  --green:#7cf7bf;
  --gold:#f6dc7b;
  --red:#ff7d95;
  --radius-xl:30px;
  --radius-lg:24px;
  --radius-md:18px;
  --shadow:0 22px 60px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.08);
  --shadow-soft:0 12px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.07);
}
*{box-sizing:border-box}
html{background:var(--app-bg)!important;scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body.ai-future-theme{
  margin:0!important;min-height:100vh!important;overflow-x:hidden!important;color:var(--text)!important;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,Segoe UI,Roboto,Arial,sans-serif!important;
  letter-spacing:-.015em;
  background:
    radial-gradient(circle at 15% 0%,rgba(99,230,255,.14),transparent 30vw),
    radial-gradient(circle at 84% 18%,rgba(181,140,255,.12),transparent 34vw),
    radial-gradient(circle at 50% 120%,rgba(124,247,191,.08),transparent 45vw),
    linear-gradient(145deg,#030611 0%,#070b1b 42%,#0a1128 100%)!important;
  background-attachment:fixed!important;
}
body.ai-future-theme::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,0) 34%),
             linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px),
             linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:100% 100%,56px 56px,56px 56px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.55),rgba(0,0,0,.08));
  opacity:.75;
}
body.ai-future-theme>*{position:relative;z-index:1}
body.ai-future-theme a{color:inherit;text-decoration:none}
body.ai-future-theme ::selection{background:rgba(99,230,255,.30);color:#fff}

/* Layout width */
body.ai-future-theme :is(.site,.page,.wrap,.portrait-shell,main.site){position:relative;z-index:1;width:100%;max-width:1180px;margin-left:auto!important;margin-right:auto!important;padding-left:18px;padding-right:18px}
body.ai-future-theme .portrait-shell{max-width:1280px!important}

/* Premium header */
body.ai-future-theme :is(.topbar,.site-header,.header){
  position:relative!important;z-index:2000!important;overflow:visible!important;
  margin:16px auto 22px!important;padding:12px 14px!important;width:min(1180px,calc(100% - 32px))!important;
  min-height:68px!important;border-radius:28px!important;
  background:rgba(9,14,28,.72)!important;border:1px solid var(--line)!important;
  box-shadow:var(--shadow-soft)!important;backdrop-filter:blur(24px) saturate(160%)!important;-webkit-backdrop-filter:blur(24px) saturate(160%)!important;
}
body.ai-future-theme :is(.topbar-inner,.header-inner){
  background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;flex-wrap:wrap!important;width:100%!important;padding:0!important;margin:0!important;overflow:visible!important;
}
body.ai-future-theme .header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;flex-wrap:wrap!important}
body.ai-future-theme :is(.brand,.site-header .brand,.topbar .brand,.header .brand){
  display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important;color:var(--text)!important;font-weight:850!important;line-height:1!important;text-shadow:none!important;
}
body.ai-future-theme :is(.brand span,.brand h1,.brand strong,.brand b){
  margin:0!important;font-size:clamp(20px,2.1vw,29px)!important;font-weight:900!important;line-height:1.05!important;
  color:var(--text)!important;background:linear-gradient(90deg,#fff 0%,#e9f9ff 45%,#b9a9ff 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;
  letter-spacing:-.035em!important;text-shadow:none!important;
}
body.ai-future-theme .brand h1{font-size:22px!important}
body.ai-future-theme .brand small{display:block;margin-top:5px!important;color:var(--muted)!important;font-weight:600!important;font-size:13px!important;letter-spacing:0!important}
body.ai-future-theme :is(.brand img,.brand-logo,.brand-badge img,.logo img){
  width:52px!important;height:52px!important;border-radius:16px!important;object-fit:cover!important;
  border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 10px 28px rgba(0,0,0,.26)!important;background:rgba(255,255,255,.08)!important;
}
body.ai-future-theme :is(.brand-badge,.logo,.brand-logo){border-radius:18px!important;background:transparent!important;border:0!important;box-shadow:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}

/* Header navigation */
body.ai-future-theme :is(.nav,.desktop-nav,.menu-row,.actions,.top-actions,.header-controls,.nav-wrap){
  display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;flex-wrap:wrap!important;overflow:visible!important;min-width:0!important;
}
body.ai-future-theme :is(.nav-btn,.nav-link,.btn.secondary,.actions>.btn,.wallet-btn,.connect-btn,.lang-btn,.menu-btn,.lang-menu-btn,.lang-select,.ai-lang-select-btn){
  min-height:42px!important;padding:0 17px!important;border-radius:16px!important;border:1px solid rgba(255,255,255,.14)!important;
  background:rgba(255,255,255,.075)!important;color:var(--text)!important;-webkit-text-fill-color:var(--text)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;backdrop-filter:blur(16px) saturate(150%)!important;-webkit-backdrop-filter:blur(16px) saturate(150%)!important;
  font-size:14px!important;font-weight:780!important;letter-spacing:-.015em!important;text-shadow:none!important;cursor:pointer!important;line-height:1!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
body.ai-future-theme :is(.nav-btn:hover,.nav-link:hover,.btn.secondary:hover,.actions>.btn:hover,.wallet-btn:hover,.connect-btn:hover,.lang-btn:hover,.menu-btn:hover,.lang-menu-btn:hover,.ai-lang-select-btn:hover){
  transform:translateY(-1px)!important;background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.24)!important;box-shadow:0 10px 24px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.1)!important;
}
body.ai-future-theme :is(.nav-btn.primary,.nav-link.active,.wallet-btn,.connect-btn,.btn.gold,.btn.primary,.action-btn,.swap-btn){
  color:#06111f!important;-webkit-text-fill-color:#06111f!important;border-color:rgba(255,255,255,.22)!important;
  background:linear-gradient(135deg,#74e8ff 0%,#9ce7d3 44%,#b58cff 100%)!important;
  box-shadow:0 16px 36px rgba(99,230,255,.22),inset 0 1px 0 rgba(255,255,255,.55)!important;font-weight:900!important;
}
body.ai-future-theme .menu-btn{width:42px!important;padding:0!important}

/* Language dropdowns: native select replaced by JS + common menu */
body.ai-future-theme :is(.lang-picker,.lang-row,.ai-lang-select){position:relative!important;z-index:5000!important;overflow:visible!important;min-width:145px!important}
body.ai-future-theme .native-select-hidden-ai{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important}
body.ai-future-theme .ai-lang-select-btn{width:100%!important;justify-content:space-between!important;gap:14px!important;background:rgba(255,255,255,.075)!important;color:var(--text)!important}
body.ai-future-theme :is(.ai-lang-select-menu,.lang-menu,.lang-menu-dropdown){
  position:absolute!important;top:calc(100% + 10px)!important;right:0!important;left:auto!important;z-index:99999!important;display:none!important;
  min-width:190px!important;max-height:300px!important;overflow:auto!important;padding:8px!important;border-radius:18px!important;
  border:1px solid rgba(255,255,255,.16)!important;background:rgba(12,17,31,.96)!important;box-shadow:0 24px 60px rgba(0,0,0,.46),inset 0 1px 0 rgba(255,255,255,.08)!important;
  backdrop-filter:blur(28px) saturate(160%)!important;-webkit-backdrop-filter:blur(28px) saturate(160%)!important;
}
body.ai-future-theme :is(.ai-lang-select.open .ai-lang-select-menu,.lang-menu.open,.lang-menu-dropdown.open){display:block!important}
body.ai-future-theme :is(.ai-lang-option,.lang-item){
  width:100%!important;text-align:left!important;min-height:38px!important;border:0!important;border-radius:12px!important;padding:0 12px!important;
  color:var(--text)!important;-webkit-text-fill-color:var(--text)!important;background:transparent!important;font-weight:720!important;box-shadow:none!important;justify-content:flex-start!important;
}
body.ai-future-theme :is(.ai-lang-option:hover,.ai-lang-option.active,.lang-item:hover,.lang-item.active){background:rgba(255,255,255,.11)!important;color:#fff!important}
body.ai-future-theme .ai-lang-caret{opacity:.75;font-size:13px}

/* Home price pill only on Home */
body.ai-future-theme:not(.mttvn-home-page) .mtt-header-price{display:none!important}
body.mttvn-home-page.ai-future-theme .mtt-header-price{
  display:inline-flex!important;align-items:center!important;margin-left:8px!important;padding:7px 10px!important;border-radius:999px!important;max-width:220px!important;
  color:#dff8ff!important;-webkit-text-fill-color:#dff8ff!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.13)!important;
  font-size:12px!important;font-weight:760!important;line-height:1!important;white-space:nowrap!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}

/* Cards and panels */
body.ai-future-theme :is(.card,.swap-card,.history-card,.about,.token-box,.stat,.mini-stat,.box,.step,.step-box,.wallet-box,.wallet-mini,.notice-banner-inner,.info-card,.video-box,.wallet-hero,.recent-table-card,.swap-panel,.metrics,.notice,.field-wrap,.balance-item,.mini,.ticket-preview-card,.section-grid>.card,.input-card,.mini-card,.info-box){
  background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.048))!important;border:1px solid var(--line)!important;border-radius:var(--radius-lg)!important;
  box-shadow:var(--shadow-soft)!important;backdrop-filter:blur(24px) saturate(150%)!important;-webkit-backdrop-filter:blur(24px) saturate(150%)!important;
}
body.ai-future-theme :is(.card,.swap-card,.history-card,.wallet-hero,.recent-table-card){border-radius:var(--radius-xl)!important;overflow:hidden!important;margin-bottom:18px!important}
body.ai-future-theme :is(.card,.swap-card,.history-card)::before{display:none!important}
body.ai-future-theme :is(.hero,.notice-banner){background:transparent!important}
body.ai-future-theme :is(.card-head,.card-body){border-color:rgba(255,255,255,.09)!important}
body.ai-future-theme .card-head{padding:24px 26px!important}
body.ai-future-theme .card-body{padding:24px 26px!important}

/* Typography */
body.ai-future-theme :is(h1,h2,h3,.title,.card-title,.hero-title,.section-title,.history-title){
  color:var(--text)!important;-webkit-text-fill-color:var(--text)!important;background:none!important;text-shadow:none!important;letter-spacing:-.045em!important;line-height:1.1!important;font-weight:900!important;margin-top:0!important;
}
body.ai-future-theme h1,body.ai-future-theme .hero-title{font-size:clamp(34px,4.2vw,58px)!important}
body.ai-future-theme h2,body.ai-future-theme .title,body.ai-future-theme .card-title,body.ai-future-theme .section-title{font-size:clamp(24px,2.6vw,36px)!important}
body.ai-future-theme :is(.sub,.card-sub,.section-sub,.hero-desc,.small,.muted,.label,.field-label,.info-label,.history-sub,p){color:var(--muted)!important;line-height:1.55!important;text-shadow:none!important}
body.ai-future-theme :is(.value,.v,.stat b,.mini-stat b,.balance-item b,.metrics b,.amount-display){color:#ecf8ff!important;-webkit-text-fill-color:#ecf8ff!important;font-weight:860!important;text-shadow:none!important}
body.ai-future-theme .stat :is(label,.k),body.ai-future-theme .balance-item label{color:var(--muted)!important;font-size:13px!important;font-weight:650!important;margin-bottom:6px!important;display:block!important}
body.ai-future-theme .stat{padding:16px 18px!important;min-height:88px!important}
body.ai-future-theme .stat b{font-size:clamp(20px,2vw,28px)!important;line-height:1.15!important;color:#f4dc7a!important;-webkit-text-fill-color:#f4dc7a!important}

/* Inputs and amount boxes */
body.ai-future-theme :is(input,textarea,select,.field,.amount-input,.amount-output,.wallet-display){
  width:100%;border-radius:20px!important;border:1px solid rgba(255,255,255,.13)!important;background:rgba(5,9,20,.58)!important;color:var(--text)!important;-webkit-text-fill-color:var(--text)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;outline:none!important;text-shadow:none!important;
}
body.ai-future-theme :is(input,textarea,.field){min-height:50px!important;padding:13px 15px!important;font-weight:750!important;font-size:18px!important}
body.ai-future-theme :is(input:focus,textarea:focus,.field:focus){border-color:rgba(99,230,255,.55)!important;box-shadow:0 0 0 4px rgba(99,230,255,.11),inset 0 1px 0 rgba(255,255,255,.08)!important}
body.ai-future-theme :is(.inner,.swap-top){
  border-radius:22px!important;border:1px solid rgba(255,255,255,.12)!important;background:rgba(5,9,20,.42)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
}
body.ai-future-theme .inner{display:flex!important;align-items:center!important;gap:10px!important;padding:8px 10px!important;overflow:hidden!important}
body.ai-future-theme .inner input{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:16px!important;min-height:46px!important;font-size:28px!important;padding:8px 10px!important}
body.ai-future-theme .field input{background:transparent!important}
body.ai-future-theme .swap-top{padding:14px!important;align-items:center!important}
body.ai-future-theme :is(.token,.token-chip,.pill,.badge,.hero-badge,.wallet-hero-chip,.balance-pill,.info-icon,.step-no){
  color:#06111f!important;-webkit-text-fill-color:#06111f!important;background:linear-gradient(135deg,#8beeff,#b7a2ff)!important;border:0!important;border-radius:999px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55)!important;font-weight:900!important;
}
body.ai-future-theme :is(.token,.token-chip){min-height:42px!important;padding:0 16px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:15px!important}
body.ai-future-theme :is(.quick,.cta-row,.copy-row){display:flex!important;gap:9px!important;flex-wrap:wrap!important;align-items:center!important}
body.ai-future-theme :is(.quick .btn,.max-btn,.copy-btn,.icon-btn,.reverse-btn){
  border-radius:16px!important;border:1px solid rgba(255,255,255,.13)!important;background:rgba(255,255,255,.075)!important;color:var(--text)!important;-webkit-text-fill-color:var(--text)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;font-weight:850!important;
}
body.ai-future-theme :is(.action-btn,.swap-btn){width:100%!important;min-height:56px!important;border-radius:20px!important;border:0!important;font-size:17px!important;letter-spacing:-.01em!important;margin-top:14px!important}
body.ai-future-theme :is(.reverse-btn,.icon-btn){width:48px!important;height:48px!important;margin:0 auto!important;border-radius:16px!important}

/* Tables */
body.ai-future-theme :is(.table-wrap,.history-table-wrap,.recent-scroll){border-radius:22px!important;overflow:auto!important;border:1px solid rgba(255,255,255,.08)!important;background:rgba(5,9,20,.34)!important}
body.ai-future-theme table{border-collapse:separate!important;border-spacing:0!important;width:100%!important}
body.ai-future-theme th{color:var(--muted2)!important;text-transform:uppercase!important;letter-spacing:.055em!important;font-size:11px!important;font-weight:800!important;background:rgba(255,255,255,.045)!important}
body.ai-future-theme td{background:transparent!important;border-color:rgba(255,255,255,.07)!important;color:var(--text)!important}
body.ai-future-theme tr:hover td{background:rgba(255,255,255,.035)!important}
body.ai-future-theme :is(a,.tx-link){color:var(--cyan)!important;-webkit-text-fill-color:var(--cyan)!important}
body.ai-future-theme .danger,body.ai-future-theme .status-error,body.ai-future-theme .bad{color:var(--red)!important;-webkit-text-fill-color:var(--red)!important}
body.ai-future-theme .status-ok,body.ai-future-theme .ok,body.ai-future-theme .success{color:var(--green)!important;-webkit-text-fill-color:var(--green)!important}

/* Page-specific spacing */
body.ai-future-theme.mttvn-pool-page .hero .grid2{gap:12px!important}
body.ai-future-theme.mttvn-pool-page .hero .stat{padding:13px 15px!important;min-height:74px!important;border-radius:20px!important}
body.ai-future-theme.mttvn-pool-page .hero .stat b{font-size:20px!important}
body.ai-future-theme.mttvn-quick-page .wallet-bar{align-items:center!important;gap:12px!important;border-radius:22px!important;background:rgba(5,9,20,.34)!important;border:1px solid rgba(255,255,255,.10)!important;padding:16px!important}
body.ai-future-theme.mttvn-quick-page .copy-btn{min-height:42px!important;padding:0 16px!important;white-space:nowrap!important}
body.ai-future-theme.mttvn-quick-page #walletFull{word-break:break-all!important;font-size:16px!important;color:var(--cyan)!important;-webkit-text-fill-color:var(--cyan)!important}
body.ai-future-theme.mttvn-bridge-page .balance-grid{gap:12px!important}
body.ai-future-theme.mttvn-bridge-page .balance-item{padding:15px 16px!important;min-height:76px!important;border-radius:20px!important}
body.ai-future-theme.mttvn-swap-page .swap-shell{max-width:760px!important;margin:0 auto!important}
body.ai-future-theme .metrics{box-shadow:none!important;background:rgba(5,9,20,.34)!important;border-radius:20px!important;padding:15px!important;margin-top:12px!important}
body.ai-future-theme .notice{box-shadow:none!important;background:rgba(5,9,20,.34)!important;padding:14px 15px!important}

/* Prevent bright browser autofill */
body.ai-future-theme input:-webkit-autofill,body.ai-future-theme input:-webkit-autofill:hover,body.ai-future-theme input:-webkit-autofill:focus{-webkit-text-fill-color:var(--text)!important;box-shadow:0 0 0 1000px rgba(5,9,20,.75) inset!important;transition:background-color 5000s ease-in-out 0s!important}

/* Mobile */
@media(max-width:900px){
  body.ai-future-theme :is(.desktop-nav){display:none!important}
  body.ai-future-theme .mobile-top{display:flex!important;align-items:center!important;gap:8px!important}
  body.ai-future-theme :is(.header-controls){flex:0 0 auto!important}
  body.ai-future-theme .mobile-sheet{z-index:99998!important;background:rgba(0,0,0,.45)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important}
  body.ai-future-theme .mobile-panel{background:rgba(10,14,28,.96)!important;border-color:rgba(255,255,255,.13)!important;box-shadow:-20px 0 60px rgba(0,0,0,.45)!important}
}
@media(max-width:760px){
  body.ai-future-theme{background-attachment:scroll!important}
  body.ai-future-theme :is(.site,.page,.wrap,.portrait-shell,main.site){padding-left:10px!important;padding-right:10px!important}
  body.ai-future-theme :is(.topbar,.site-header,.header){width:calc(100% - 16px)!important;margin:8px auto 14px!important;padding:10px!important;border-radius:24px!important;min-height:0!important;position:sticky!important;top:0!important}
  body.ai-future-theme :is(.topbar-inner,.header-inner,.header){gap:10px!important;align-items:center!important}
  body.ai-future-theme :is(.brand img,.brand-logo,.brand-badge img,.logo img){width:42px!important;height:42px!important;border-radius:13px!important}
  body.ai-future-theme :is(.brand span,.brand h1,.brand strong,.brand b){font-size:22px!important}
  body.ai-future-theme .brand small{font-size:11px!important;margin-top:3px!important}
  body.mttvn-home-page.ai-future-theme .mtt-header-price{font-size:11px!important;padding:6px 8px!important;margin-left:6px!important;max-width:180px!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.ai-future-theme :is(.nav,.menu-row,.top-actions){width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important;align-items:stretch!important}
  body.ai-future-theme :is(.nav-wrap,.actions){width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important;justify-content:stretch!important}
  body.ai-future-theme :is(.nav-btn,.nav-link,.btn.secondary,.actions>.btn,.wallet-btn,.connect-btn,.lang-btn,.menu-btn,.lang-menu-btn,.lang-select,.ai-lang-select-btn){min-height:38px!important;padding:0 10px!important;border-radius:14px!important;font-size:12.5px!important}
  body.ai-future-theme .connect-btn,body.ai-future-theme .wallet-btn{min-height:44px!important;font-size:14px!important}
  body.ai-future-theme :is(.lang-picker,.lang-row,.ai-lang-select){width:100%!important;min-width:0!important}
  body.ai-future-theme :is(.ai-lang-select-menu,.lang-menu,.lang-menu-dropdown){left:0!important;right:auto!important;width:min(260px,86vw)!important;min-width:0!important}
  body.ai-future-theme :is(.card,.swap-card,.history-card,.wallet-hero,.recent-table-card){border-radius:24px!important;margin-bottom:14px!important}
  body.ai-future-theme .card-head{padding:18px 16px!important}
  body.ai-future-theme .card-body{padding:16px!important}
  body.ai-future-theme h1,body.ai-future-theme .hero-title{font-size:32px!important}
  body.ai-future-theme h2,body.ai-future-theme .title,body.ai-future-theme .card-title,body.ai-future-theme .section-title{font-size:25px!important}
  body.ai-future-theme :is(.grid2,.grid-2,.balance-grid.compact-3){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.ai-future-theme.mttvn-pool-page .hero .stat{min-height:66px!important;padding:11px 12px!important}
  body.ai-future-theme .stat b{font-size:18px!important;word-break:break-word!important}
  body.ai-future-theme :is(input,textarea,.field){min-height:48px!important;font-size:16px!important;padding:12px 13px!important}
  body.ai-future-theme .inner input{font-size:26px!important;min-width:0!important}
  body.ai-future-theme :is(.token,.token-chip){min-height:40px!important;padding:0 13px!important;font-size:14px!important}
  body.ai-future-theme.mttvn-quick-page .wallet-bar{display:grid!important;grid-template-columns:1fr!important;padding:14px!important}
  body.ai-future-theme.mttvn-quick-page .copy-btn{width:100%!important}
}
@media(max-width:420px){
  body.ai-future-theme :is(.nav,.menu-row,.top-actions){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ai-future-theme :is(.grid2,.grid-2,.balance-grid.compact-3){grid-template-columns:1fr 1fr!important}
  body.ai-future-theme :is(.brand span,.brand h1,.brand strong,.brand b){font-size:20px!important}
  body.mttvn-home-page.ai-future-theme .mtt-header-price{flex-basis:100%!important;margin-left:0!important;margin-top:6px!important;width:max-content!important;max-width:100%!important}
}


/* MTTVN Premium v6 - Quick input balance fix
   Make the amount field wider and token selector compact on desktop + mobile. */
body.ai-future-theme.mttvn-quick-page .calc{
  padding:16px!important;
}
body.ai-future-theme.mttvn-quick-page .calc .box{
  padding:16px!important;
}
body.ai-future-theme.mttvn-quick-page .input-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 86px!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
}
body.ai-future-theme.mttvn-quick-page .amount-input{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:54px!important;
  min-height:54px!important;
  border-radius:18px!important;
  padding:0 16px!important;
  font-size:22px!important;
  font-weight:850!important;
  line-height:54px!important;
  text-align:left!important;
  letter-spacing:-.025em!important;
}
body.ai-future-theme.mttvn-quick-page .token-select{
  width:86px!important;
  min-width:86px!important;
  max-width:86px!important;
  height:54px!important;
  min-height:54px!important;
  border-radius:18px!important;
  padding:0 22px 0 12px!important;
  font-size:14px!important;
  font-weight:850!important;
  text-align:center!important;
  line-height:54px!important;
  white-space:nowrap!important;
}
body.ai-future-theme.mttvn-quick-page .amount-input::-webkit-outer-spin-button,
body.ai-future-theme.mttvn-quick-page .amount-input::-webkit-inner-spin-button{
  -webkit-appearance:none!important;
  margin:0!important;
}
body.ai-future-theme.mttvn-quick-page .amount-input[type=number]{
  -moz-appearance:textfield!important;
}

@media(max-width:760px){
  body.ai-future-theme.mttvn-quick-page .calc{
    padding:12px!important;
  }
  body.ai-future-theme.mttvn-quick-page .calc .box{
    padding:14px!important;
    border-radius:20px!important;
  }
  body.ai-future-theme.mttvn-quick-page .input-row{
    grid-template-columns:minmax(0,1fr) 78px!important;
    gap:7px!important;
  }
  body.ai-future-theme.mttvn-quick-page .amount-input{
    height:52px!important;
    min-height:52px!important;
    border-radius:17px!important;
    padding:0 14px!important;
    font-size:21px!important;
    line-height:52px!important;
  }
  body.ai-future-theme.mttvn-quick-page .token-select{
    width:78px!important;
    min-width:78px!important;
    max-width:78px!important;
    height:52px!important;
    min-height:52px!important;
    border-radius:17px!important;
    padding:0 18px 0 10px!important;
    font-size:13px!important;
    line-height:52px!important;
  }
}
@media(max-width:420px){
  body.ai-future-theme.mttvn-quick-page .input-row{
    grid-template-columns:minmax(0,1fr) 72px!important;
    gap:6px!important;
  }
  body.ai-future-theme.mttvn-quick-page .amount-input{
    font-size:20px!important;
    padding-left:13px!important;
    padding-right:10px!important;
  }
  body.ai-future-theme.mttvn-quick-page .token-select{
    width:72px!important;
    min-width:72px!important;
    max-width:72px!important;
    font-size:12.5px!important;
    padding-left:8px!important;
    padding-right:16px!important;
  }
}


/* MTTVN Premium v7 - compact balanced quick page + fixed home mobile menu */

/* Home mobile: fix squeezed/overlapping menu, keep all buttons balanced */
@media(max-width:760px){
  body.ai-future-theme.mttvn-home-page .topbar{
    padding:10px!important;
    border-radius:22px!important;
  }
  body.ai-future-theme.mttvn-home-page .topbar-inner{
    display:grid!important;
    grid-template-columns:1fr!important;
    align-items:center!important;
    gap:9px!important;
  }
  body.ai-future-theme.mttvn-home-page .brand{
    width:100%!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:8px!important;
  }
  body.ai-future-theme.mttvn-home-page .brand img{
    width:42px!important;
    height:42px!important;
    border-radius:13px!important;
  }
  body.ai-future-theme.mttvn-home-page .brand>span:not(.mtt-header-price){
    font-size:22px!important;
    line-height:1!important;
  }
  body.ai-future-theme.mttvn-home-page .mtt-header-price{
    flex:0 1 auto!important;
    width:auto!important;
    max-width:178px!important;
    margin-left:4px!important;
    margin-top:0!important;
    padding:6px 8px!important;
    font-size:10.5px!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions{
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    align-items:stretch!important;
    justify-content:stretch!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .menu-row{
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
    align-items:stretch!important;
    justify-content:stretch!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .nav-link{
    width:100%!important;
    min-width:0!important;
    min-height:34px!important;
    padding:0 6px!important;
    border-radius:13px!important;
    font-size:11.5px!important;
    line-height:1.05!important;
    letter-spacing:-.02em!important;
    white-space:normal!important;
    text-align:center!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .lang-row,
  body.ai-future-theme.mttvn-home-page .top-actions .lang-menu{
    width:100%!important;
    min-width:0!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .lang-menu-btn,
  body.ai-future-theme.mttvn-home-page .top-actions .connect-btn{
    width:100%!important;
    min-height:38px!important;
    border-radius:14px!important;
    font-size:12.5px!important;
    padding:0 12px!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .connect-btn{
    min-height:42px!important;
  }
}
@media(max-width:420px){
  body.ai-future-theme.mttvn-home-page .top-actions .menu-row{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .nav-link{
    font-size:10.8px!important;
    min-height:32px!important;
    padding:0 4px!important;
  }
  body.ai-future-theme.mttvn-home-page .mtt-header-price{
    max-width:164px!important;
    font-size:10px!important;
  }
}

/* Quick page: compact Apple-like header/menu */
body.ai-future-theme.mttvn-quick-page :is(.topbar,.site-header,.header){
  max-width:1080px!important;
}
body.ai-future-theme.mttvn-quick-page .topbar-inner{
  flex-wrap:nowrap!important;
}
body.ai-future-theme.mttvn-quick-page .nav-wrap{
  width:auto!important;
  flex:0 0 auto!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
}
body.ai-future-theme.mttvn-quick-page .quick-mini-menu,
body.ai-future-theme.mttvn-quick-page .menu-row{
  width:auto!important;
  flex:0 0 auto!important;
  display:flex!important;
  grid-template-columns:none!important;
  gap:8px!important;
}
body.ai-future-theme.mttvn-quick-page .nav-link,
body.ai-future-theme.mttvn-quick-page .lang-select{
  min-height:38px!important;
  height:38px!important;
  border-radius:14px!important;
  padding:0 14px!important;
  font-size:13px!important;
}
body.ai-future-theme.mttvn-quick-page .lang-select{
  width:auto!important;
  min-width:132px!important;
  max-width:150px!important;
}

/* Quick page: reduce rough/bulky cards and typography */
body.ai-future-theme.mttvn-quick-page .page{
  max-width:1040px!important;
  padding-top:8px!important;
}
body.ai-future-theme.mttvn-quick-page .card{
  border-radius:24px!important;
  margin-bottom:14px!important;
}
body.ai-future-theme.mttvn-quick-page .hero{
  padding:20px!important;
}
body.ai-future-theme.mttvn-quick-page .hero h1{
  font-size:clamp(32px,3.7vw,46px)!important;
  letter-spacing:-.05em!important;
  margin-bottom:8px!important;
}
body.ai-future-theme.mttvn-quick-page .hero p{
  font-size:15px!important;
  line-height:1.45!important;
  max-width:820px!important;
}
body.ai-future-theme.mttvn-quick-page .wallet-bar{
  margin-top:14px!important;
  padding:12px 14px!important;
  border-radius:20px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
}
body.ai-future-theme.mttvn-quick-page .wallet-bar .label{
  font-size:10.5px!important;
  letter-spacing:.08em!important;
}
body.ai-future-theme.mttvn-quick-page #walletFull{
  font-size:14px!important;
  line-height:1.35!important;
}
body.ai-future-theme.mttvn-quick-page .copy-btn{
  min-height:36px!important;
  height:36px!important;
  border-radius:13px!important;
  padding:0 14px!important;
  font-size:12.5px!important;
}
body.ai-future-theme.mttvn-quick-page .grid-2{
  gap:12px!important;
  margin-top:14px!important;
}
body.ai-future-theme.mttvn-quick-page .stat{
  padding:14px 16px!important;
  min-height:96px!important;
  border-radius:20px!important;
}
body.ai-future-theme.mttvn-quick-page .stat .k{
  font-size:12px!important;
  margin-bottom:7px!important;
}
body.ai-future-theme.mttvn-quick-page .stat .v{
  font-size:28px!important;
  line-height:1.05!important;
  letter-spacing:-.045em!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
body.ai-future-theme.mttvn-quick-page .stat .u{
  font-size:12px!important;
  margin-top:7px!important;
}
body.ai-future-theme.mttvn-quick-page .calc{
  margin-top:14px!important;
  padding:14px!important;
  border-radius:22px!important;
}
body.ai-future-theme.mttvn-quick-page .calc-grid{
  gap:12px!important;
}
body.ai-future-theme.mttvn-quick-page .calc .box{
  padding:14px!important;
  border-radius:20px!important;
}
body.ai-future-theme.mttvn-quick-page .box h3{
  font-size:13px!important;
  margin-bottom:9px!important;
}
body.ai-future-theme.mttvn-quick-page .limit-row{
  gap:7px!important;
  margin-top:10px!important;
}
body.ai-future-theme.mttvn-quick-page .pill{
  min-height:26px!important;
  padding:4px 9px!important;
  font-size:11.5px!important;
}
body.ai-future-theme.mttvn-quick-page .estimate{
  font-size:14px!important;
}
body.ai-future-theme.mttvn-quick-page .estimate strong{
  font-size:28px!important;
  letter-spacing:-.045em!important;
}
body.ai-future-theme.mttvn-quick-page .meta,
body.ai-future-theme.mttvn-quick-page .note{
  font-size:12px!important;
  line-height:1.45!important;
}
body.ai-future-theme.mttvn-quick-page .steps{
  gap:12px!important;
  margin-top:12px!important;
}
body.ai-future-theme.mttvn-quick-page .step{
  padding:13px 15px!important;
  border-radius:20px!important;
}
body.ai-future-theme.mttvn-quick-page .step-title{
  font-size:15px!important;
  margin-bottom:6px!important;
}
body.ai-future-theme.mttvn-quick-page .step p{
  font-size:13px!important;
  line-height:1.45!important;
}
body.ai-future-theme.mttvn-quick-page .recent-head{
  padding:16px 18px 12px!important;
}
body.ai-future-theme.mttvn-quick-page .recent-head h2{
  font-size:24px!important;
}

@media(max-width:760px){
  body.ai-future-theme.mttvn-quick-page .topbar{
    padding:10px!important;
    border-radius:22px!important;
  }
  body.ai-future-theme.mttvn-quick-page .topbar-inner{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
    align-items:center!important;
  }
  body.ai-future-theme.mttvn-quick-page .brand img,
  body.ai-future-theme.mttvn-quick-page .brand-badge img{
    width:42px!important;
    height:42px!important;
    border-radius:13px!important;
  }
  body.ai-future-theme.mttvn-quick-page .brand>span:not(.brand-badge){
    font-size:22px!important;
  }
  body.ai-future-theme.mttvn-quick-page .nav-wrap{
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr 1fr 1.15fr!important;
    gap:7px!important;
    align-items:stretch!important;
  }
  body.ai-future-theme.mttvn-quick-page .quick-mini-menu,
  body.ai-future-theme.mttvn-quick-page .menu-row{
    display:contents!important;
  }
  body.ai-future-theme.mttvn-quick-page .nav-link,
  body.ai-future-theme.mttvn-quick-page .lang-select{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:36px!important;
    height:36px!important;
    padding:0 8px!important;
    border-radius:13px!important;
    font-size:12px!important;
  }
  body.ai-future-theme.mttvn-quick-page .page{
    padding-top:0!important;
  }
  body.ai-future-theme.mttvn-quick-page .hero{
    padding:16px!important;
  }
  body.ai-future-theme.mttvn-quick-page .hero h1{
    font-size:30px!important;
    margin-bottom:8px!important;
  }
  body.ai-future-theme.mttvn-quick-page .hero p{
    font-size:14px!important;
    line-height:1.45!important;
  }
  body.ai-future-theme.mttvn-quick-page .wallet-bar{
    grid-template-columns:1fr!important;
    gap:9px!important;
    padding:12px!important;
    margin-top:12px!important;
  }
  body.ai-future-theme.mttvn-quick-page #walletFull{
    font-size:13.5px!important;
  }
  body.ai-future-theme.mttvn-quick-page .copy-btn{
    width:100%!important;
    min-height:36px!important;
    height:36px!important;
    font-size:12px!important;
  }
  body.ai-future-theme.mttvn-quick-page .grid-2{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
    margin-top:12px!important;
  }
  body.ai-future-theme.mttvn-quick-page .stat{
    min-height:88px!important;
    padding:13px!important;
    border-radius:20px!important;
  }
  body.ai-future-theme.mttvn-quick-page .stat .k{
    font-size:11.5px!important;
  }
  body.ai-future-theme.mttvn-quick-page .stat .v{
    font-size:clamp(19px,5.5vw,24px)!important;
    line-height:1.06!important;
  }
  body.ai-future-theme.mttvn-quick-page .stat .u{
    font-size:11.5px!important;
  }
  body.ai-future-theme.mttvn-quick-page .calc{
    padding:10px!important;
    border-radius:22px!important;
  }
  body.ai-future-theme.mttvn-quick-page .calc .box{
    padding:12px!important;
    border-radius:18px!important;
  }
  body.ai-future-theme.mttvn-quick-page .calc-grid{
    gap:10px!important;
  }
  body.ai-future-theme.mttvn-quick-page .amount-input{
    height:48px!important;
    min-height:48px!important;
    border-radius:15px!important;
    font-size:20px!important;
    line-height:48px!important;
  }
  body.ai-future-theme.mttvn-quick-page .token-select{
    width:70px!important;
    min-width:70px!important;
    max-width:70px!important;
    height:48px!important;
    min-height:48px!important;
    border-radius:15px!important;
    font-size:12px!important;
    line-height:48px!important;
    padding-left:7px!important;
    padding-right:16px!important;
  }
  body.ai-future-theme.mttvn-quick-page .input-row{
    grid-template-columns:minmax(0,1fr) 70px!important;
  }
  body.ai-future-theme.mttvn-quick-page .estimate strong{
    font-size:24px!important;
  }
  body.ai-future-theme.mttvn-quick-page .steps{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:420px){
  body.ai-future-theme.mttvn-quick-page .stat .v{
    font-size:clamp(18px,5.1vw,22px)!important;
  }
  body.ai-future-theme.mttvn-quick-page .nav-link,
  body.ai-future-theme.mttvn-quick-page .lang-select{
    font-size:11.5px!important;
    min-height:34px!important;
    height:34px!important;
  }
}


/* MTTVN Premium v8 - Refund Ticket polish
   Clearer typography, balanced desktop layout, compact mobile layout. */
body.ai-future-theme.mttvn-refund-page .page{
  max-width:1140px!important;
  padding-top:18px!important;
}
body.ai-future-theme.mttvn-refund-page .hero{
  margin-bottom:16px!important;
}
body.ai-future-theme.mttvn-refund-page .hero>.card{
  background:
    radial-gradient(circle at 18% 12%,rgba(99,230,255,.10),transparent 30%),
    radial-gradient(circle at 92% 22%,rgba(181,140,255,.14),transparent 34%),
    linear-gradient(180deg,rgba(255,255,255,.072),rgba(255,255,255,.040))!important;
  border-color:rgba(255,255,255,.15)!important;
  border-radius:30px!important;
}
body.ai-future-theme.mttvn-refund-page .hero>.card>.card-body{
  display:grid!important;
  grid-template-columns:minmax(270px,.82fr) minmax(420px,1.18fr)!important;
  grid-template-areas:
    "badge video"
    "title video"
    "desc  video"
    "wallet video"
    "stats video"!important;
  column-gap:24px!important;
  row-gap:12px!important;
  align-items:start!important;
  padding:28px!important;
}
body.ai-future-theme.mttvn-refund-page .hero-badge{
  grid-area:badge!important;
  width:max-content!important;
  max-width:100%!important;
  min-height:32px!important;
  padding:0 13px!important;
  font-size:12px!important;
  letter-spacing:-.01em!important;
  margin:0!important;
  color:#06111f!important;
  -webkit-text-fill-color:#06111f!important;
}
body.ai-future-theme.mttvn-refund-page .hero-title{
  grid-area:title!important;
  margin:2px 0 0!important;
  font-size:clamp(36px,4.1vw,54px)!important;
  line-height:1.02!important;
  letter-spacing:-.06em!important;
  color:#fbfdff!important;
  -webkit-text-fill-color:#fbfdff!important;
}
body.ai-future-theme.mttvn-refund-page .hero-desc{
  grid-area:desc!important;
  max-width:560px!important;
  margin:0!important;
  color:#d9e4f4!important;
  -webkit-text-fill-color:#d9e4f4!important;
  font-size:15px!important;
  line-height:1.55!important;
  opacity:1!important;
}
body.ai-future-theme.mttvn-refund-page .hero-media{
  grid-area:video!important;
  margin:0!important;
  align-self:stretch!important;
}
body.ai-future-theme.mttvn-refund-page .video-box{
  background:rgba(4,8,18,.56)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:24px!important;
  padding:14px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 18px 42px rgba(0,0,0,.22)!important;
  gap:7px!important;
}
body.ai-future-theme.mttvn-refund-page .video-title{
  margin:0!important;
  color:#f6fbff!important;
  -webkit-text-fill-color:#f6fbff!important;
  font-size:18px!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:-.035em!important;
}
body.ai-future-theme.mttvn-refund-page .video-desc{
  margin:0 0 4px!important;
  color:#b8c5d9!important;
  -webkit-text-fill-color:#b8c5d9!important;
  opacity:1!important;
  font-size:13px!important;
  line-height:1.4!important;
}
body.ai-future-theme.mttvn-refund-page .video-wrap{
  aspect-ratio:16/9!important;
  max-height:430px!important;
  border-radius:18px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  background:#02040a!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
body.ai-future-theme.mttvn-refund-page .guide-video{
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  object-fit:contain!important;
  background:#02040a!important;
}
body.ai-future-theme.mttvn-refund-page .wallet-hero{
  grid-area:wallet!important;
  margin:8px 0 0!important;
  padding:14px!important;
  border-radius:22px!important;
  background:rgba(4,8,18,.42)!important;
  border:1px solid rgba(255,255,255,.11)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07)!important;
}
body.ai-future-theme.mttvn-refund-page .wallet-hero-label,
body.ai-future-theme.mttvn-refund-page .ticket-preview-title,
body.ai-future-theme.mttvn-refund-page .info-label,
body.ai-future-theme.mttvn-refund-page .mini-stat .label{
  color:#aab8cb!important;
  -webkit-text-fill-color:#aab8cb!important;
  opacity:1!important;
}
body.ai-future-theme.mttvn-refund-page .wallet-hero-address{
  color:#6beaff!important;
  -webkit-text-fill-color:#6beaff!important;
  background:rgba(2,5,14,.62)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:16px!important;
  padding:12px!important;
  font-size:13.5px!important;
  line-height:1.5!important;
  margin-bottom:10px!important;
}
body.ai-future-theme.mttvn-refund-page .btn-wallet-hero{
  min-height:42px!important;
  width:100%!important;
  border-radius:15px!important;
  font-size:13px!important;
}
body.ai-future-theme.mttvn-refund-page .stats{
  grid-area:stats!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0!important;
}
body.ai-future-theme.mttvn-refund-page .mini-stat{
  padding:14px!important;
  min-height:86px!important;
  border-radius:20px!important;
  background:rgba(4,8,18,.34)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
}
body.ai-future-theme.mttvn-refund-page .mini-stat .value{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  font-size:clamp(18px,2vw,24px)!important;
  line-height:1.15!important;
  letter-spacing:-.04em!important;
}
body.ai-future-theme.mttvn-refund-page .section-grid{
  gap:16px!important;
  margin-bottom:16px!important;
}
body.ai-future-theme.mttvn-refund-page .section-grid>.card,
body.ai-future-theme.mttvn-refund-page .recent-table-card,
body.ai-future-theme.mttvn-refund-page .recent-head{
  background:linear-gradient(180deg,rgba(255,255,255,.074),rgba(255,255,255,.043))!important;
  border:1px solid rgba(255,255,255,.13)!important;
  box-shadow:var(--shadow-soft)!important;
}
body.ai-future-theme.mttvn-refund-page .card-head{
  padding:17px 20px!important;
  background:rgba(255,255,255,.055)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  font-size:17px!important;
}
body.ai-future-theme.mttvn-refund-page .section-grid .card-body{
  padding:18px 20px!important;
}
body.ai-future-theme.mttvn-refund-page .section-title,
body.ai-future-theme.mttvn-refund-page .step-title{
  color:#f7fbff!important;
  -webkit-text-fill-color:#f7fbff!important;
  opacity:1!important;
}
body.ai-future-theme.mttvn-refund-page .section-sub,
body.ai-future-theme.mttvn-refund-page .step-text{
  color:#c7d3e6!important;
  -webkit-text-fill-color:#c7d3e6!important;
  opacity:1!important;
}
body.ai-future-theme.mttvn-refund-page .info-row{
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  padding:9px 0!important;
}
body.ai-future-theme.mttvn-refund-page .info-value{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
body.ai-future-theme.mttvn-refund-page .ticket-preview-card{
  padding:12px!important;
  border-radius:20px!important;
  background:rgba(4,8,18,.34)!important;
  border:1px solid rgba(255,255,255,.10)!important;
}
body.ai-future-theme.mttvn-refund-page .ticket-preview-img-wrap{
  padding:8px!important;
  background:rgba(255,255,255,.06)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:18px!important;
}
body.ai-future-theme.mttvn-refund-page .ticket-preview-img{
  max-width:210px!important;
  border-radius:14px!important;
}
body.ai-future-theme.mttvn-refund-page .wallet-box{
  gap:8px!important;
  align-items:center!important;
}
body.ai-future-theme.mttvn-refund-page .wallet-display{
  color:#6beaff!important;
  -webkit-text-fill-color:#6beaff!important;
  background:rgba(2,5,14,.58)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:16px!important;
  font-size:13px!important;
}
body.ai-future-theme.mttvn-refund-page .wallet-box .btn{
  min-height:42px!important;
  border-radius:15px!important;
}
body.ai-future-theme.mttvn-refund-page .step-box{
  background:rgba(4,8,18,.34)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:20px!important;
  padding:15px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
}
body.ai-future-theme.mttvn-refund-page .step-no{
  width:max-content!important;
  min-height:28px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:0 11px!important;
  margin-bottom:10px!important;
  font-size:11px!important;
  letter-spacing:.03em!important;
  color:#06111f!important;
  -webkit-text-fill-color:#06111f!important;
}
body.ai-future-theme.mttvn-refund-page .recent-head{
  border-radius:24px 24px 0 0!important;
  padding:18px 20px!important;
  align-items:center!important;
}
body.ai-future-theme.mttvn-refund-page .recent-table-card{
  border-top:0!important;
  border-radius:0 0 24px 24px!important;
  overflow:hidden!important;
}
body.ai-future-theme.mttvn-refund-page .recent-scroll{
  max-height:340px!important;
  background:rgba(2,5,14,.34)!important;
}
body.ai-future-theme.mttvn-refund-page .recent-table td,
body.ai-future-theme.mttvn-refund-page .message-cell{
  color:#d7e1f0!important;
  -webkit-text-fill-color:#d7e1f0!important;
}
body.ai-future-theme.mttvn-refund-page .mobile-bar{
  background:rgba(9,14,28,.88)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 20px 52px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.08)!important;
  backdrop-filter:blur(24px) saturate(160%)!important;
  -webkit-backdrop-filter:blur(24px) saturate(160%)!important;
}
body.ai-future-theme.mttvn-refund-page .mobile-bar .mini .k{color:#aab8cb!important;-webkit-text-fill-color:#aab8cb!important}
body.ai-future-theme.mttvn-refund-page .mobile-bar .mini .v{color:#ffffff!important;-webkit-text-fill-color:#ffffff!important}

@media(max-width:920px){
  body.ai-future-theme.mttvn-refund-page .hero>.card>.card-body{
    grid-template-columns:1fr!important;
    grid-template-areas:"badge" "title" "desc" "video" "wallet" "stats"!important;
    padding:22px!important;
  }
  body.ai-future-theme.mttvn-refund-page .video-wrap{
    max-height:none!important;
  }
}
@media(max-width:760px){
  body.ai-future-theme.mttvn-refund-page .page{
    padding:0 10px 96px!important;
  }
  body.ai-future-theme.mttvn-refund-page .hero>.card{
    border-radius:24px!important;
  }
  body.ai-future-theme.mttvn-refund-page .hero>.card>.card-body{
    padding:16px!important;
    gap:10px!important;
  }
  body.ai-future-theme.mttvn-refund-page .hero-title{
    font-size:31px!important;
    line-height:1.04!important;
  }
  body.ai-future-theme.mttvn-refund-page .hero-desc{
    font-size:14px!important;
  }
  body.ai-future-theme.mttvn-refund-page .video-box{
    padding:10px!important;
    border-radius:20px!important;
  }
  body.ai-future-theme.mttvn-refund-page .video-title{
    font-size:16px!important;
  }
  body.ai-future-theme.mttvn-refund-page .video-desc{
    font-size:12px!important;
  }
  body.ai-future-theme.mttvn-refund-page .video-wrap{
    border-radius:16px!important;
  }
  body.ai-future-theme.mttvn-refund-page .wallet-hero{
    padding:12px!important;
    border-radius:20px!important;
  }
  body.ai-future-theme.mttvn-refund-page .stats{
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
  }
  body.ai-future-theme.mttvn-refund-page .mini-stat{
    min-height:72px!important;
    padding:11px!important;
    border-radius:18px!important;
  }
  body.ai-future-theme.mttvn-refund-page .mini-stat .value{
    font-size:17px!important;
  }
  body.ai-future-theme.mttvn-refund-page .section-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  body.ai-future-theme.mttvn-refund-page .section-grid .card-body,
  body.ai-future-theme.mttvn-refund-page .card-head{
    padding-left:14px!important;
    padding-right:14px!important;
  }
  body.ai-future-theme.mttvn-refund-page .ticket-preview-img{
    max-width:180px!important;
  }
  body.ai-future-theme.mttvn-refund-page .recent-head{
    padding:14px!important;
  }
  body.ai-future-theme.mttvn-refund-page .recent-head .btn{
    width:100%!important;
  }
}
@media(max-width:420px){
  body.ai-future-theme.mttvn-refund-page .hero-title{
    font-size:29px!important;
  }
  body.ai-future-theme.mttvn-refund-page .hero-badge{
    font-size:11.5px!important;
  }
  body.ai-future-theme.mttvn-refund-page .wallet-hero-address,
  body.ai-future-theme.mttvn-refund-page .wallet-display{
    font-size:12px!important;
  }
}

/* MTTVN Premium v9 - Pool compact balance
   Desktop: slightly smaller and centered. Mobile: no sticky header, smaller menu/stat cards/text. */
body.ai-future-theme.mttvn-pool-page{
  font-size:14px!important;
}
body.ai-future-theme.mttvn-pool-page .wrap{
  max-width:980px!important;
  padding-left:14px!important;
  padding-right:14px!important;
}
body.ai-future-theme.mttvn-pool-page .topbar{
  max-width:980px!important;
  min-height:58px!important;
  padding:10px 12px!important;
  margin:12px auto 16px!important;
  border-radius:24px!important;
}
body.ai-future-theme.mttvn-pool-page .topbar .brand{
  gap:10px!important;
}
body.ai-future-theme.mttvn-pool-page .topbar .logo img,
body.ai-future-theme.mttvn-pool-page .topbar .logo,
body.ai-future-theme.mttvn-pool-page .brand img{
  width:46px!important;
  height:46px!important;
  border-radius:14px!important;
}
body.ai-future-theme.mttvn-pool-page .brand h1{
  font-size:21px!important;
  line-height:1.03!important;
}
body.ai-future-theme.mttvn-pool-page .brand small{
  font-size:12px!important;
}
body.ai-future-theme.mttvn-pool-page .actions{
  gap:7px!important;
}
body.ai-future-theme.mttvn-pool-page .actions .btn,
body.ai-future-theme.mttvn-pool-page .actions .ai-lang-select-btn,
body.ai-future-theme.mttvn-pool-page .actions select{
  min-height:38px!important;
  height:38px!important;
  border-radius:15px!important;
  padding:0 13px!important;
  font-size:13px!important;
}
body.ai-future-theme.mttvn-pool-page .actions .ai-lang-select,
body.ai-future-theme.mttvn-pool-page .actions .lang-picker,
body.ai-future-theme.mttvn-pool-page .actions .lang-row{
  min-width:126px!important;
  width:auto!important;
}
body.ai-future-theme.mttvn-pool-page .card{
  border-radius:24px!important;
  padding:16px!important;
  margin:12px 0!important;
}
body.ai-future-theme.mttvn-pool-page .hero{
  padding:18px!important;
}
body.ai-future-theme.mttvn-pool-page .title{
  font-size:clamp(24px,2.5vw,34px)!important;
  line-height:1.08!important;
  margin-bottom:6px!important;
  letter-spacing:-.045em!important;
}
body.ai-future-theme.mttvn-pool-page .sub{
  font-size:14px!important;
  line-height:1.45!important;
}
body.ai-future-theme.mttvn-pool-page .hero .grid2{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin-top:14px!important;
}
body.ai-future-theme.mttvn-pool-page .hero .stat{
  min-height:68px!important;
  padding:11px 12px!important;
  border-radius:18px!important;
}
body.ai-future-theme.mttvn-pool-page .hero .stat label,
body.ai-future-theme.mttvn-pool-page .stat label{
  font-size:11.5px!important;
  line-height:1.25!important;
  margin-bottom:5px!important;
}
body.ai-future-theme.mttvn-pool-page .hero .stat b,
body.ai-future-theme.mttvn-pool-page .stat b{
  font-size:17px!important;
  line-height:1.15!important;
}
body.ai-future-theme.mttvn-pool-page .swapbox{
  gap:10px!important;
}
body.ai-future-theme.mttvn-pool-page .field{
  padding:12px!important;
  border-radius:20px!important;
}
body.ai-future-theme.mttvn-pool-page .field label{
  font-size:12.5px!important;
  margin-bottom:8px!important;
}
body.ai-future-theme.mttvn-pool-page .field .inner{
  border-radius:20px!important;
  padding:8px!important;
  min-height:58px!important;
}
body.ai-future-theme.mttvn-pool-page .field input,
body.ai-future-theme.mttvn-pool-page .inner input{
  min-height:42px!important;
  height:42px!important;
  font-size:24px!important;
  padding:6px 10px!important;
  line-height:42px!important;
}
body.ai-future-theme.mttvn-pool-page .token{
  min-height:40px!important;
  height:40px!important;
  padding:0 14px!important;
  border-radius:16px!important;
  font-size:14px!important;
}
body.ai-future-theme.mttvn-pool-page .quick{
  gap:7px!important;
  margin-top:9px!important;
}
body.ai-future-theme.mttvn-pool-page .quick .btn,
body.ai-future-theme.mttvn-pool-page .btn.small{
  min-height:32px!important;
  height:32px!important;
  padding:0 11px!important;
  border-radius:13px!important;
  font-size:12px!important;
}
body.ai-future-theme.mttvn-pool-page .notice{
  padding:11px 13px!important;
  border-radius:17px!important;
  font-size:12.5px!important;
}
body.ai-future-theme.mttvn-pool-page .row .btn:not(.small){
  min-height:42px!important;
  border-radius:15px!important;
  padding:0 15px!important;
  font-size:13px!important;
}
body.ai-future-theme.mttvn-pool-page .info-card{
  gap:12px!important;
}
body.ai-future-theme.mttvn-pool-page .info h2{
  font-size:21px!important;
}
body.ai-future-theme.mttvn-pool-page .bullets,
body.ai-future-theme.mttvn-pool-page .about{
  font-size:14px!important;
  line-height:1.5!important;
}
body.ai-future-theme.mttvn-pool-page .info-icon{
  width:48px!important;
  height:48px!important;
  font-size:23px!important;
}

@media(max-width:760px){
  body.ai-future-theme.mttvn-pool-page{
    font-size:13px!important;
  }
  body.ai-future-theme.mttvn-pool-page .wrap{
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.ai-future-theme.mttvn-pool-page .topbar{
    position:relative!important;
    top:auto!important;
    width:100%!important;
    margin:4px auto 10px!important;
    padding:8px!important;
    border-radius:20px!important;
    min-height:0!important;
  }
  body.ai-future-theme.mttvn-pool-page .topbar{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  body.ai-future-theme.mttvn-pool-page .brand{
    gap:8px!important;
  }
  body.ai-future-theme.mttvn-pool-page .topbar .logo,
  body.ai-future-theme.mttvn-pool-page .topbar .logo img,
  body.ai-future-theme.mttvn-pool-page .brand img{
    width:40px!important;
    height:40px!important;
    border-radius:12px!important;
  }
  body.ai-future-theme.mttvn-pool-page .brand h1{
    font-size:19px!important;
    line-height:1.02!important;
    white-space:normal!important;
  }
  body.ai-future-theme.mttvn-pool-page .brand small{
    font-size:11px!important;
    margin-top:2px!important;
  }
  body.ai-future-theme.mttvn-pool-page .actions{
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
    align-items:stretch!important;
  }
  body.ai-future-theme.mttvn-pool-page .actions .btn,
  body.ai-future-theme.mttvn-pool-page .actions .ai-lang-select-btn,
  body.ai-future-theme.mttvn-pool-page .actions select{
    width:100%!important;
    min-width:0!important;
    min-height:34px!important;
    height:34px!important;
    border-radius:13px!important;
    padding:0 7px!important;
    font-size:11.5px!important;
    line-height:1!important;
  }
  body.ai-future-theme.mttvn-pool-page .actions .ai-lang-select,
  body.ai-future-theme.mttvn-pool-page .actions .lang-picker,
  body.ai-future-theme.mttvn-pool-page .actions .lang-row{
    width:100%!important;
    min-width:0!important;
  }
  body.ai-future-theme.mttvn-pool-page .ai-lang-select-menu{
    width:min(260px,86vw)!important;
    left:0!important;
    right:auto!important;
  }
  body.ai-future-theme.mttvn-pool-page .card{
    padding:12px!important;
    margin:10px 0!important;
    border-radius:22px!important;
  }
  body.ai-future-theme.mttvn-pool-page .hero{
    padding:13px!important;
  }
  body.ai-future-theme.mttvn-pool-page .row{
    align-items:flex-start!important;
  }
  body.ai-future-theme.mttvn-pool-page .title{
    font-size:25px!important;
    line-height:1.06!important;
    margin-bottom:6px!important;
  }
  body.ai-future-theme.mttvn-pool-page .sub{
    font-size:13px!important;
    line-height:1.4!important;
  }
  body.ai-future-theme.mttvn-pool-page .hero .grid2{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin-top:12px!important;
  }
  body.ai-future-theme.mttvn-pool-page .hero .stat{
    min-height:58px!important;
    padding:9px 10px!important;
    border-radius:16px!important;
  }
  body.ai-future-theme.mttvn-pool-page .hero .stat label,
  body.ai-future-theme.mttvn-pool-page .stat label{
    font-size:10.5px!important;
    margin-bottom:4px!important;
  }
  body.ai-future-theme.mttvn-pool-page .hero .stat b,
  body.ai-future-theme.mttvn-pool-page .stat b{
    font-size:15.5px!important;
    line-height:1.1!important;
  }
  body.ai-future-theme.mttvn-pool-page .field{
    padding:10px!important;
    border-radius:18px!important;
  }
  body.ai-future-theme.mttvn-pool-page .field label{
    font-size:12px!important;
    margin-bottom:7px!important;
  }
  body.ai-future-theme.mttvn-pool-page .field .inner{
    min-height:52px!important;
    padding:7px!important;
    border-radius:18px!important;
  }
  body.ai-future-theme.mttvn-pool-page .field input,
  body.ai-future-theme.mttvn-pool-page .inner input{
    height:38px!important;
    min-height:38px!important;
    font-size:22px!important;
    padding:4px 8px!important;
  }
  body.ai-future-theme.mttvn-pool-page .token{
    min-height:38px!important;
    height:38px!important;
    padding:0 12px!important;
    border-radius:15px!important;
    font-size:13px!important;
  }
  body.ai-future-theme.mttvn-pool-page .quick .btn,
  body.ai-future-theme.mttvn-pool-page .btn.small{
    min-height:30px!important;
    height:30px!important;
    padding:0 9px!important;
    border-radius:12px!important;
    font-size:11px!important;
  }
  body.ai-future-theme.mttvn-pool-page .notice{
    padding:10px 12px!important;
    font-size:12px!important;
    border-radius:16px!important;
  }
  body.ai-future-theme.mttvn-pool-page .row .btn:not(.small){
    min-height:40px!important;
    padding:0 12px!important;
    font-size:12.5px!important;
  }
  body.ai-future-theme.mttvn-pool-page .info-card{
    display:flex!important;
    gap:10px!important;
    align-items:flex-start!important;
  }
  body.ai-future-theme.mttvn-pool-page .info-icon{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    font-size:19px!important;
    margin:0!important;
  }
  body.ai-future-theme.mttvn-pool-page .info h2{
    font-size:18px!important;
    margin-bottom:8px!important;
  }
  body.ai-future-theme.mttvn-pool-page .balance-pill{
    padding:8px 10px!important;
    border-radius:14px!important;
    font-size:12px!important;
  }
  body.ai-future-theme.mttvn-pool-page .bullets,
  body.ai-future-theme.mttvn-pool-page .about,
  body.ai-future-theme.mttvn-pool-page .hint,
  body.ai-future-theme.mttvn-pool-page .status{
    font-size:12px!important;
    line-height:1.42!important;
  }
}

@media(max-width:420px){
  body.ai-future-theme.mttvn-pool-page .actions{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  body.ai-future-theme.mttvn-pool-page .actions .btn,
  body.ai-future-theme.mttvn-pool-page .actions .ai-lang-select-btn,
  body.ai-future-theme.mttvn-pool-page .actions select{
    font-size:11px!important;
    padding:0 5px!important;
  }
  body.ai-future-theme.mttvn-pool-page .title{
    font-size:23px!important;
  }
  body.ai-future-theme.mttvn-pool-page .hero .stat b,
  body.ai-future-theme.mttvn-pool-page .stat b{
    font-size:14.5px!important;
  }
}


/* Premium v10 - Refund page minimal header + solid Recent sticky header */
body.ai-future-theme.mttvn-refund-page .site-header,
body.ai-future-theme.mttvn-refund-page :is(.topbar,.header){
  position:relative!important;
  top:auto!important;
}
body.ai-future-theme.mttvn-refund-page .header-inner{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
}
body.ai-future-theme.mttvn-refund-page .header-right{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
  width:auto!important;
}
body.ai-future-theme.mttvn-refund-page .refund-minimal-nav,
body.ai-future-theme.mttvn-refund-page .nav{
  width:auto!important;
  display:flex!important;
  grid-template-columns:none!important;
  gap:10px!important;
  flex:0 0 auto!important;
}
body.ai-future-theme.mttvn-refund-page .refund-minimal-nav .nav-btn{
  min-width:92px!important;
  height:40px!important;
  padding:0 18px!important;
}
body.ai-future-theme.mttvn-refund-page .header-right .ai-lang-select,
body.ai-future-theme.mttvn-refund-page .refund-lang-select{
  width:150px!important;
  min-width:150px!important;
  flex:0 0 150px!important;
}
body.ai-future-theme.mttvn-refund-page .header-right .ai-lang-select-btn{
  height:40px!important;
  min-height:40px!important;
  padding:0 16px!important;
  border-radius:16px!important;
}
body.ai-future-theme.mttvn-refund-page .recent-table thead,
body.ai-future-theme.mttvn-refund-page .recent-table thead tr{
  background:#101728!important;
}
body.ai-future-theme.mttvn-refund-page .recent-table thead th{
  position:sticky!important;
  top:0!important;
  z-index:30!important;
  background:linear-gradient(180deg,#172033 0%,#101728 100%)!important;
  color:#f8fbff!important;
  -webkit-text-fill-color:#f8fbff!important;
  border-bottom:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 12px 20px rgba(0,0,0,.32)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.ai-future-theme.mttvn-refund-page .recent-table tbody tr:first-child td{
  border-top:1px solid rgba(255,255,255,.08)!important;
}
@media (max-width: 720px){
  body.ai-future-theme.mttvn-refund-page .site-header,
  body.ai-future-theme.mttvn-refund-page :is(.topbar,.header){
    position:relative!important;
    top:auto!important;
    margin:10px auto 12px!important;
    padding:10px!important;
    border-radius:22px!important;
  }
  body.ai-future-theme.mttvn-refund-page .header-inner{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:0!important;
  }
  body.ai-future-theme.mttvn-refund-page .brand{
    width:100%!important;
    justify-content:flex-start!important;
    font-size:26px!important;
  }
  body.ai-future-theme.mttvn-refund-page .header-right{
    width:100%!important;
    display:grid!important;
    grid-template-columns:92px 1fr!important;
    gap:10px!important;
  }
  body.ai-future-theme.mttvn-refund-page .refund-minimal-nav,
  body.ai-future-theme.mttvn-refund-page .nav{
    width:100%!important;
    display:block!important;
  }
  body.ai-future-theme.mttvn-refund-page .refund-minimal-nav .nav-btn{
    width:100%!important;
    min-width:0!important;
    height:38px!important;
    min-height:38px!important;
    padding:0 12px!important;
    font-size:13px!important;
  }
  body.ai-future-theme.mttvn-refund-page .header-right .ai-lang-select,
  body.ai-future-theme.mttvn-refund-page .refund-lang-select{
    width:100%!important;
    min-width:0!important;
    flex:1 1 auto!important;
  }
  body.ai-future-theme.mttvn-refund-page .header-right .ai-lang-select-btn{
    height:38px!important;
    min-height:38px!important;
    justify-content:center!important;
    font-size:13px!important;
  }
  body.ai-future-theme.mttvn-refund-page .ai-lang-select-menu{
    right:0!important;
    left:auto!important;
    width:min(240px, calc(100vw - 42px))!important;
  }
  body.ai-future-theme.mttvn-refund-page .recent-table thead th{
    padding:11px 12px!important;
    font-size:11px!important;
  }
}

/* Premium v11 - Compact Uniswap-like swap card on Home / Swap pages
   Keep existing labels/logic, reduce vertical height and soften amount panels. */
body.ai-future-theme.mttvn-home-page .hero{
  padding-top:22px!important;
  padding-bottom:8px!important;
}
body.ai-future-theme.mttvn-home-page .swap-wrap{
  align-items:flex-start!important;
}
body.ai-future-theme.mttvn-home-page .swap-card{
  width:min(480px,100%)!important;
  max-width:480px!important;
  border-radius:26px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.082),rgba(255,255,255,.045))!important;
  box-shadow:0 18px 46px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.08)!important;
}
body.ai-future-theme.mttvn-home-page .swap-card .card-head{
  padding:18px 20px!important;
  min-height:auto!important;
}
body.ai-future-theme.mttvn-home-page .swap-card .card-title{
  font-size:30px!important;
  line-height:1.05!important;
  letter-spacing:-.05em!important;
}
body.ai-future-theme.mttvn-home-page .swap-card .card-sub{
  margin-top:5px!important;
  font-size:13px!important;
}
body.ai-future-theme.mttvn-home-page .swap-card .wallet-mini{
  min-width:42px!important;
  width:auto!important;
  min-height:38px!important;
  padding:8px 9px!important;
  border-radius:16px!important;
  font-size:11px!important;
  line-height:1.2!important;
  box-shadow:none!important;
  opacity:.86!important;
}
body.ai-future-theme.mttvn-home-page .swap-card .card-body{
  padding:16px!important;
}
body.ai-future-theme.mttvn-home-page .token-box{
  border-radius:22px!important;
  padding:12px 14px!important;
  background:rgba(255,255,255,.055)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07)!important;
}
body.ai-future-theme.mttvn-home-page .token-box + .token-box{
  margin-top:0!important;
}
body.ai-future-theme.mttvn-home-page .label-row{
  margin-bottom:7px!important;
  font-size:12px!important;
  line-height:1.2!important;
}
body.ai-future-theme.mttvn-home-page .max-btn{
  min-height:28px!important;
  height:28px!important;
  padding:0 12px!important;
  border-radius:999px!important;
  font-size:12px!important;
}
body.ai-future-theme.mttvn-home-page .token-row{
  min-height:46px!important;
  gap:10px!important;
}
body.ai-future-theme.mttvn-home-page .amount-input,
body.ai-future-theme.mttvn-home-page .amount-output{
  min-height:44px!important;
  height:44px!important;
  padding:8px 14px!important;
  border-radius:17px!important;
  font-size:20px!important;
  line-height:1!important;
  font-weight:840!important;
  background:rgba(5,9,20,.66)!important;
  border:0!important;
  box-shadow:none!important;
}
body.ai-future-theme.mttvn-home-page .amount-output{
  display:flex!important;
  align-items:center!important;
}
body.ai-future-theme.mttvn-home-page .token-chip{
  min-width:88px!important;
  min-height:42px!important;
  height:42px!important;
  padding:0 14px!important;
  border-radius:999px!important;
  font-size:14px!important;
  gap:7px!important;
  flex:0 0 auto!important;
}
body.ai-future-theme.mttvn-home-page .token-dot{
  width:9px!important;
  height:9px!important;
  flex:0 0 9px!important;
}
body.ai-future-theme.mttvn-home-page .reverse-wrap{
  margin:-4px 0!important;
  height:36px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
body.ai-future-theme.mttvn-home-page .reverse-btn{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  border-radius:13px!important;
  font-size:17px!important;
  padding:0!important;
  box-shadow:0 8px 18px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.12)!important;
}
body.ai-future-theme.mttvn-home-page .settings-row{
  margin-top:10px!important;
  gap:8px!important;
}
body.ai-future-theme.mttvn-home-page .field-wrap{
  gap:5px!important;
}
body.ai-future-theme.mttvn-home-page .field-label{
  font-size:12px!important;
}
body.ai-future-theme.mttvn-home-page #slippage.field{
  min-height:42px!important;
  height:42px!important;
  padding:8px 13px!important;
  border-radius:16px!important;
  font-size:15px!important;
}
body.ai-future-theme.mttvn-home-page .meta-grid{
  margin-top:10px!important;
  gap:6px!important;
}
body.ai-future-theme.mttvn-home-page .meta-row{
  min-height:20px!important;
  font-size:12.5px!important;
  line-height:1.25!important;
}
body.ai-future-theme.mttvn-home-page .meta-row strong{
  font-size:12.5px!important;
}
body.ai-future-theme.mttvn-home-page .status-box{
  margin-top:10px!important;
  padding:10px 12px!important;
  border-radius:15px!important;
  font-size:12.5px!important;
  line-height:1.35!important;
}
body.ai-future-theme.mttvn-home-page .swap-btn{
  min-height:48px!important;
  height:48px!important;
  margin-top:10px!important;
  border-radius:17px!important;
  font-size:16px!important;
}
body.ai-future-theme.mttvn-home-page #modeNote{
  margin-top:8px!important;
  font-size:11.5px!important;
  line-height:1.35!important;
}

/* Standalone /swap page: apply the same compact card proportions without changing JS */
body.ai-future-theme.mttvn-swap-page .swap-shell{
  max-width:520px!important;
  border-radius:26px!important;
}
body.ai-future-theme.mttvn-swap-page .swap-shell .card-head{
  padding:18px 20px!important;
}
body.ai-future-theme.mttvn-swap-page .swap-shell .card-body{
  padding:16px!important;
}
body.ai-future-theme.mttvn-swap-page .swap-panel{
  border-radius:22px!important;
  padding:12px 14px!important;
  background:rgba(255,255,255,.055)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07)!important;
}
body.ai-future-theme.mttvn-swap-page .swap-top{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.ai-future-theme.mttvn-swap-page #amountIn,
body.ai-future-theme.mttvn-swap-page #amountOut.amount-display{
  min-height:44px!important;
  height:44px!important;
  padding:8px 14px!important;
  border-radius:17px!important;
  font-size:20px!important;
  line-height:1!important;
  background:rgba(5,9,20,.66)!important;
  border:0!important;
  box-shadow:none!important;
}
body.ai-future-theme.mttvn-swap-page .icon-btn,
body.ai-future-theme.mttvn-swap-page #reverseBtn{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  border-radius:13px!important;
  font-size:17px!important;
}
body.ai-future-theme.mttvn-swap-page .metrics{
  padding:10px 12px!important;
  margin-top:10px!important;
  gap:6px!important;
  font-size:12.5px!important;
}
body.ai-future-theme.mttvn-swap-page .notice{
  padding:10px 12px!important;
  font-size:12.5px!important;
}
body.ai-future-theme.mttvn-swap-page .action-btn{
  min-height:48px!important;
  height:48px!important;
  border-radius:17px!important;
  font-size:16px!important;
}

@media(max-width:760px){
  body.ai-future-theme.mttvn-home-page .hero{
    padding-top:14px!important;
  }
  body.ai-future-theme.mttvn-home-page .swap-card{
    max-width:100%!important;
    border-radius:24px!important;
  }
  body.ai-future-theme.mttvn-home-page .swap-card .card-head{
    padding:16px!important;
  }
  body.ai-future-theme.mttvn-home-page .swap-card .card-title{
    font-size:28px!important;
  }
  body.ai-future-theme.mttvn-home-page .swap-card .card-body{
    padding:14px!important;
  }
  body.ai-future-theme.mttvn-home-page .token-box{
    padding:11px 12px!important;
  }
  body.ai-future-theme.mttvn-home-page .amount-input,
  body.ai-future-theme.mttvn-home-page .amount-output{
    height:42px!important;
    min-height:42px!important;
    font-size:19px!important;
    padding:7px 12px!important;
  }
  body.ai-future-theme.mttvn-home-page .token-chip{
    min-width:82px!important;
    height:40px!important;
    min-height:40px!important;
    font-size:13.5px!important;
    padding:0 12px!important;
  }
  body.ai-future-theme.mttvn-home-page .meta-grid{
    gap:5px!important;
  }
}


/* MTTVN Premium v13 - Home language restored + extra compact Swap card */
/* Fix language dropdown display everywhere */
body.ai-future-theme .lang-row{display:flex!important;align-items:center!important;overflow:visible!important;position:relative!important;z-index:5000!important;min-width:142px!important}
body.ai-future-theme .lang-row .lang-menu{display:block!important;position:relative!important;width:100%!important;min-width:0!important;overflow:visible!important;z-index:5000!important}
body.ai-future-theme .lang-row .lang-menu > .lang-menu-btn,
body.ai-future-theme .lang-row .lang-menu > .lang-menu-dropdown{display:none!important}
body.ai-future-theme .lang-row .ai-lang-select{display:block!important;width:100%!important;min-width:0!important;position:relative!important;z-index:5001!important}
body.ai-future-theme .ai-lang-select.open .ai-lang-select-menu{display:block!important}
body.ai-future-theme .lang-menu.open .lang-menu-dropdown{display:grid!important}
body.ai-future-theme .ai-lang-select-menu{z-index:99999!important}

/* Home header: keep language visible on desktop + mobile */
@media(min-width:761px){
  body.ai-future-theme.mttvn-home-page .topbar-inner{
    display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:16px!important;
  }
  body.ai-future-theme.mttvn-home-page .brand{min-width:max-content!important;}
  body.ai-future-theme.mttvn-home-page .top-actions{
    width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) 154px auto!important;align-items:center!important;gap:10px!important;justify-content:stretch!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .menu-row{
    display:flex!important;flex-wrap:wrap!important;gap:8px!important;justify-content:flex-start!important;min-width:0!important;width:100%!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .nav-link{min-height:40px!important;height:40px!important;padding:0 15px!important;border-radius:15px!important;font-size:13px!important;}
  body.ai-future-theme.mttvn-home-page .top-actions .lang-row{width:154px!important;min-width:154px!important;}
  body.ai-future-theme.mttvn-home-page .top-actions .connect-btn{min-width:166px!important;height:42px!important;min-height:42px!important;padding:0 18px!important;}
}
@media(max-width:760px){
  body.ai-future-theme.mttvn-home-page .topbar{position:relative!important;top:auto!important;}
  body.ai-future-theme.mttvn-home-page .topbar-inner{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;}
  body.ai-future-theme.mttvn-home-page .top-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important;align-items:stretch!important;}
  body.ai-future-theme.mttvn-home-page .top-actions .menu-row{grid-column:1 / -1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;width:100%!important;}
  body.ai-future-theme.mttvn-home-page .top-actions .nav-link{min-height:32px!important;height:32px!important;padding:0 4px!important;border-radius:13px!important;font-size:10.8px!important;line-height:1.05!important;white-space:normal!important;}
  body.ai-future-theme.mttvn-home-page .top-actions .lang-row{grid-column:auto!important;width:100%!important;min-width:0!important;}
  body.ai-future-theme.mttvn-home-page .top-actions .ai-lang-select-btn,
  body.ai-future-theme.mttvn-home-page .top-actions .connect-btn{width:100%!important;min-height:36px!important;height:36px!important;border-radius:14px!important;font-size:12px!important;padding:0 10px!important;}
  body.ai-future-theme.mttvn-home-page .top-actions .connect-btn{font-size:11.5px!important;}
  body.ai-future-theme.mttvn-home-page .ai-lang-select-menu{left:0!important;right:auto!important;width:min(240px,88vw)!important;}
}
@media(max-width:390px){
  body.ai-future-theme.mttvn-home-page .top-actions .nav-link{font-size:10px!important;}
  body.ai-future-theme.mttvn-home-page .top-actions .connect-btn{font-size:10.8px!important;}
}

/* Hide Platform fee and Rate rows but keep JS targets in DOM */
body.ai-future-theme.mttvn-home-page .meta-row.swap-meta-hidden,
body.ai-future-theme.mttvn-swap-page .meta-row.swap-meta-hidden,
body.ai-future-theme.mttvn-home-page .meta-row:has([data-i18n="platform_fee_label"]),
body.ai-future-theme.mttvn-home-page .meta-row:has([data-i18n="price_line"]),
body.ai-future-theme.mttvn-swap-page .meta-row:has([data-i18n="platform_fee_label"]),
body.ai-future-theme.mttvn-swap-page .meta-row:has([data-i18n="price_line"]){display:none!important;}

/* Home / Swap card extra compact, Uniswap-like vertical rhythm */
body.ai-future-theme.mttvn-home-page .hero{padding-top:16px!important;padding-bottom:4px!important;}
body.ai-future-theme.mttvn-home-page .swap-card{width:min(480px,100%)!important;max-width:480px!important;border-radius:24px!important;overflow:hidden!important;}
body.ai-future-theme.mttvn-home-page .swap-card .card-head{padding:12px 16px!important;min-height:0!important;}
body.ai-future-theme.mttvn-home-page .swap-card .card-title{font-size:24px!important;line-height:1!important;letter-spacing:-.045em!important;}
body.ai-future-theme.mttvn-home-page .swap-card .card-sub{font-size:11.5px!important;margin-top:4px!important;line-height:1.2!important;}
body.ai-future-theme.mttvn-home-page .swap-card .wallet-mini{min-height:32px!important;padding:6px 8px!important;border-radius:13px!important;font-size:10px!important;line-height:1.15!important;max-width:88px!important;}
body.ai-future-theme.mttvn-home-page .swap-card .card-body{padding:12px 14px 14px!important;}
body.ai-future-theme.mttvn-home-page .token-box{padding:10px 12px!important;border-radius:20px!important;}
body.ai-future-theme.mttvn-home-page .label-row{font-size:11.5px!important;margin-bottom:6px!important;}
body.ai-future-theme.mttvn-home-page .max-btn{height:26px!important;min-height:26px!important;padding:0 10px!important;font-size:11.5px!important;border-radius:999px!important;}
body.ai-future-theme.mttvn-home-page .token-row{min-height:40px!important;gap:9px!important;}
body.ai-future-theme.mttvn-home-page .amount-input,
body.ai-future-theme.mttvn-home-page .amount-output{height:39px!important;min-height:39px!important;border-radius:16px!important;font-size:18px!important;padding:6px 12px!important;}
body.ai-future-theme.mttvn-home-page .token-chip{min-width:82px!important;height:38px!important;min-height:38px!important;border-radius:999px!important;font-size:13px!important;padding:0 11px!important;}
body.ai-future-theme.mttvn-home-page .reverse-wrap{height:28px!important;margin:-1px 0!important;}
body.ai-future-theme.mttvn-home-page .reverse-btn{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;border-radius:12px!important;font-size:15px!important;}
body.ai-future-theme.mttvn-home-page .settings-row{margin-top:8px!important;gap:6px!important;}
body.ai-future-theme.mttvn-home-page .field-label{font-size:11px!important;}
body.ai-future-theme.mttvn-home-page #slippage.field{height:37px!important;min-height:37px!important;border-radius:14px!important;padding:6px 11px!important;font-size:14px!important;}
body.ai-future-theme.mttvn-home-page .meta-grid{margin-top:8px!important;gap:4px!important;}
body.ai-future-theme.mttvn-home-page .meta-row{font-size:11.5px!important;line-height:1.15!important;min-height:17px!important;}
body.ai-future-theme.mttvn-home-page .meta-row strong{font-size:11.5px!important;}
body.ai-future-theme.mttvn-home-page .status-box{margin-top:8px!important;padding:8px 10px!important;border-radius:13px!important;font-size:11.5px!important;line-height:1.25!important;min-height:0!important;}
body.ai-future-theme.mttvn-home-page .swap-btn{height:42px!important;min-height:42px!important;margin-top:8px!important;border-radius:15px!important;font-size:15px!important;}
body.ai-future-theme.mttvn-home-page #modeNote{display:none!important;}

/* Standalone /swap page too */
body.ai-future-theme.mttvn-swap-page .swap-shell{max-width:500px!important;border-radius:24px!important;}
body.ai-future-theme.mttvn-swap-page .swap-shell .card-head{padding:12px 16px!important;}
body.ai-future-theme.mttvn-swap-page .swap-shell .card-title{font-size:24px!important;line-height:1!important;}
body.ai-future-theme.mttvn-swap-page .swap-shell .card-sub{font-size:11.5px!important;}
body.ai-future-theme.mttvn-swap-page .swap-shell .card-body{padding:12px 14px 14px!important;}
body.ai-future-theme.mttvn-swap-page .swap-panel{padding:10px 12px!important;border-radius:20px!important;}
body.ai-future-theme.mttvn-swap-page #amountIn,
body.ai-future-theme.mttvn-swap-page #amountOut.amount-display{height:39px!important;min-height:39px!important;font-size:18px!important;border-radius:16px!important;padding:6px 12px!important;}
body.ai-future-theme.mttvn-swap-page .icon-btn,
body.ai-future-theme.mttvn-swap-page #reverseBtn{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;border-radius:12px!important;font-size:15px!important;}
body.ai-future-theme.mttvn-swap-page .metrics{padding:8px 10px!important;gap:4px!important;font-size:11.5px!important;}
body.ai-future-theme.mttvn-swap-page .notice{padding:8px 10px!important;font-size:11.5px!important;border-radius:13px!important;}
body.ai-future-theme.mttvn-swap-page .action-btn{height:42px!important;min-height:42px!important;border-radius:15px!important;font-size:15px!important;}
body.ai-future-theme.mttvn-swap-page #modeNote{display:none!important;}

@media(max-width:760px){
  body.ai-future-theme.mttvn-home-page .hero{padding-top:10px!important;}
  body.ai-future-theme.mttvn-home-page .swap-card{border-radius:22px!important;}
  body.ai-future-theme.mttvn-home-page .swap-card .card-head{padding:11px 14px!important;}
  body.ai-future-theme.mttvn-home-page .swap-card .card-title{font-size:22px!important;}
  body.ai-future-theme.mttvn-home-page .swap-card .wallet-mini{font-size:9.5px!important;max-width:78px!important;}
  body.ai-future-theme.mttvn-home-page .swap-card .card-body{padding:11px 12px 12px!important;}
  body.ai-future-theme.mttvn-home-page .token-box{padding:9px 10px!important;border-radius:18px!important;}
  body.ai-future-theme.mttvn-home-page .amount-input,
  body.ai-future-theme.mttvn-home-page .amount-output{height:38px!important;min-height:38px!important;font-size:17px!important;border-radius:15px!important;padding:6px 10px!important;}
  body.ai-future-theme.mttvn-home-page .token-chip{min-width:76px!important;height:36px!important;min-height:36px!important;font-size:12.5px!important;padding:0 10px!important;}
  body.ai-future-theme.mttvn-home-page .reverse-wrap{height:26px!important;}
  body.ai-future-theme.mttvn-home-page .reverse-btn{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;}
  body.ai-future-theme.mttvn-home-page #slippage.field{height:36px!important;min-height:36px!important;font-size:13.5px!important;}
  body.ai-future-theme.mttvn-home-page .status-box{font-size:11px!important;}
  body.ai-future-theme.mttvn-home-page .swap-btn{height:40px!important;min-height:40px!important;font-size:14.5px!important;}
}

/* MTTVN Premium v14 - Home header refinement
   Mobile: language and connect share one row, smaller menu buttons.
   Desktop: price sits under MTTVN label, menu stays in one clean row. */
@media(min-width:761px){
  body.ai-future-theme.mttvn-home-page .topbar{
    width:min(1180px,calc(100% - 28px))!important;
    min-height:82px!important;
    padding:13px 16px!important;
    border-radius:26px!important;
  }
  body.ai-future-theme.mttvn-home-page .topbar-inner{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:16px!important;
  }
  body.ai-future-theme.mttvn-home-page .brand{
    display:grid!important;
    grid-template-columns:52px auto!important;
    grid-template-rows:auto auto!important;
    column-gap:12px!important;
    row-gap:3px!important;
    align-items:center!important;
    min-width:170px!important;
    max-width:190px!important;
  }
  body.ai-future-theme.mttvn-home-page .brand img{
    grid-row:1 / span 2!important;
    grid-column:1!important;
    width:52px!important;
    height:52px!important;
  }
  body.ai-future-theme.mttvn-home-page .brand>span:not(.mtt-header-price),
  body.ai-future-theme.mttvn-home-page .brand h1,
  body.ai-future-theme.mttvn-home-page .brand strong,
  body.ai-future-theme.mttvn-home-page .brand b{
    grid-column:2!important;
    grid-row:1!important;
    font-size:28px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  body.mttvn-home-page.ai-future-theme .brand .mtt-header-price,
  body.ai-future-theme.mttvn-home-page .brand .mtt-header-price{
    grid-column:2!important;
    grid-row:2!important;
    display:flex!important;
    width:100%!important;
    max-width:132px!important;
    min-width:132px!important;
    margin:0!important;
    padding:4px 7px!important;
    border-radius:999px!important;
    justify-content:center!important;
    font-size:9.6px!important;
    line-height:1!important;
    letter-spacing:-.025em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 136px auto!important;
    align-items:center!important;
    justify-content:stretch!important;
    gap:9px!important;
    width:100%!important;
    min-width:0!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .menu-row{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:7px!important;
    min-width:0!important;
    width:100%!important;
    overflow:visible!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .nav-link,
  body.ai-future-theme.mttvn-home-page .top-actions .ai-lang-select-btn,
  body.ai-future-theme.mttvn-home-page .top-actions .connect-btn{
    min-height:38px!important;
    height:38px!important;
    border-radius:15px!important;
    font-size:12px!important;
    line-height:1!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .nav-link{
    flex:0 1 auto!important;
    width:auto!important;
    min-width:0!important;
    padding:0 12px!important;
    white-space:nowrap!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .lang-row{
    width:136px!important;
    min-width:136px!important;
    grid-column:auto!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .ai-lang-select-btn{
    width:100%!important;
    padding:0 12px!important;
    justify-content:center!important;
    gap:8px!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .connect-btn{
    min-width:146px!important;
    padding:0 16px!important;
    font-size:12.5px!important;
    white-space:nowrap!important;
  }
}
@media(min-width:761px) and (max-width:1080px){
  body.ai-future-theme.mttvn-home-page .topbar{padding-left:12px!important;padding-right:12px!important;}
  body.ai-future-theme.mttvn-home-page .brand{min-width:158px!important;max-width:170px!important;grid-template-columns:46px auto!important;column-gap:10px!important;}
  body.ai-future-theme.mttvn-home-page .brand img{width:46px!important;height:46px!important;}
  body.ai-future-theme.mttvn-home-page .brand>span:not(.mtt-header-price){font-size:24px!important;}
  body.ai-future-theme.mttvn-home-page .brand .mtt-header-price{max-width:118px!important;min-width:118px!important;font-size:8.8px!important;padding:4px 6px!important;}
  body.ai-future-theme.mttvn-home-page .topbar-inner{gap:10px!important;}
  body.ai-future-theme.mttvn-home-page .top-actions{grid-template-columns:minmax(0,1fr) 118px auto!important;gap:6px!important;}
  body.ai-future-theme.mttvn-home-page .top-actions .menu-row{gap:5px!important;}
  body.ai-future-theme.mttvn-home-page .top-actions .nav-link{padding:0 8px!important;font-size:11px!important;}
  body.ai-future-theme.mttvn-home-page .top-actions .lang-row{width:118px!important;min-width:118px!important;}
  body.ai-future-theme.mttvn-home-page .top-actions .ai-lang-select-btn{font-size:11px!important;padding:0 9px!important;}
  body.ai-future-theme.mttvn-home-page .top-actions .connect-btn{min-width:130px!important;padding:0 12px!important;font-size:11.5px!important;}
}
@media(max-width:760px){
  body.ai-future-theme.mttvn-home-page .topbar{
    padding:10px!important;
    border-radius:22px!important;
    position:relative!important;
    top:auto!important;
  }
  body.ai-future-theme.mttvn-home-page .topbar-inner{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    align-items:center!important;
  }
  body.ai-future-theme.mttvn-home-page .brand{
    width:100%!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:8px!important;
  }
  body.ai-future-theme.mttvn-home-page .brand img{
    width:42px!important;
    height:42px!important;
    border-radius:13px!important;
  }
  body.ai-future-theme.mttvn-home-page .brand>span:not(.mtt-header-price){
    font-size:22px!important;
    line-height:1!important;
  }
  body.ai-future-theme.mttvn-home-page .brand .mtt-header-price{
    width:auto!important;
    max-width:170px!important;
    min-width:0!important;
    margin-left:4px!important;
    margin-top:0!important;
    padding:5px 8px!important;
    font-size:10px!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions{
    display:grid!important;
    grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr)!important;
    grid-template-areas:
      "menu menu"
      "lang connect"!important;
    gap:7px!important;
    width:100%!important;
    align-items:stretch!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .menu-row{
    grid-area:menu!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
    width:100%!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .lang-row{
    grid-area:lang!important;
    width:100%!important;
    min-width:0!important;
    align-self:stretch!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions #connectBtn,
  body.ai-future-theme.mttvn-home-page .top-actions .connect-btn{
    grid-area:connect!important;
    width:100%!important;
    min-width:0!important;
    align-self:stretch!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .nav-link{
    width:100%!important;
    min-width:0!important;
    min-height:29px!important;
    height:29px!important;
    padding:0 4px!important;
    border-radius:12px!important;
    font-size:10.1px!important;
    line-height:1.05!important;
    letter-spacing:-.035em!important;
    white-space:normal!important;
    text-align:center!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .ai-lang-select-btn,
  body.ai-future-theme.mttvn-home-page .top-actions .connect-btn{
    width:100%!important;
    min-height:34px!important;
    height:34px!important;
    border-radius:13px!important;
    padding:0 9px!important;
    font-size:11.5px!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .connect-btn{
    font-size:11.6px!important;
  }
  body.ai-future-theme.mttvn-home-page .ai-lang-select-menu{
    left:0!important;
    right:auto!important;
    width:min(230px,88vw)!important;
  }
}
@media(max-width:390px){
  body.ai-future-theme.mttvn-home-page .top-actions .nav-link{font-size:9.4px!important;min-height:28px!important;height:28px!important;padding:0 3px!important;}
  body.ai-future-theme.mttvn-home-page .top-actions .ai-lang-select-btn,
  body.ai-future-theme.mttvn-home-page .top-actions .connect-btn{font-size:10.8px!important;min-height:33px!important;height:33px!important;}
  body.ai-future-theme.mttvn-home-page .brand .mtt-header-price{max-width:158px!important;font-size:9.5px!important;}
}

/* MTTVN Premium v15 - Home mobile menu/lang placement + solid History header */
@media(max-width:760px){
  body.ai-future-theme.mttvn-home-page .topbar,
  body.ai-future-theme.mttvn-home-page header.topbar{
    position:relative!important;
    top:auto!important;
    overflow:visible!important;
    height:auto!important;
    min-height:0!important;
    margin-bottom:14px!important;
  }
  body.ai-future-theme.mttvn-home-page .topbar-inner{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:8px!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:stretch!important;
    justify-content:space-between!important;
    gap:6px!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .menu-row{
    flex:0 0 100%!important;
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px!important;
    order:1!important;
    margin:0!important;
    padding:0!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .lang-row{
    position:relative!important;
    z-index:20!important;
    flex:1 1 0!important;
    order:2!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    align-self:stretch!important;
    display:flex!important;
    overflow:visible!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions #connectBtn,
  body.ai-future-theme.mttvn-home-page .top-actions .connect-btn{
    position:relative!important;
    z-index:10!important;
    flex:1.25 1 0!important;
    order:3!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    align-self:stretch!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .nav-link{
    width:100%!important;
    min-height:27px!important;
    height:27px!important;
    padding:0 4px!important;
    border-radius:11px!important;
    font-size:9.7px!important;
    line-height:1!important;
    letter-spacing:-.035em!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .lang-menu,
  body.ai-future-theme.mttvn-home-page .top-actions .ai-lang-select{
    width:100%!important;
    min-width:0!important;
    height:100%!important;
    display:block!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .ai-lang-select-btn,
  body.ai-future-theme.mttvn-home-page .top-actions .connect-btn{
    width:100%!important;
    min-height:34px!important;
    height:34px!important;
    border-radius:13px!important;
    padding:0 9px!important;
    font-size:11.2px!important;
    line-height:1!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .ai-lang-select-btn{
    justify-content:center!important;
    gap:7px!important;
  }
  body.ai-future-theme.mttvn-home-page .ai-lang-select-menu{
    left:0!important;
    right:auto!important;
    top:calc(100% + 8px)!important;
    width:min(210px,88vw)!important;
    z-index:99999!important;
  }
}
@media(max-width:390px){
  body.ai-future-theme.mttvn-home-page .top-actions .nav-link{
    min-height:26px!important;
    height:26px!important;
    font-size:9px!important;
    padding:0 3px!important;
  }
  body.ai-future-theme.mttvn-home-page .top-actions .ai-lang-select-btn,
  body.ai-future-theme.mttvn-home-page .top-actions .connect-btn{
    min-height:32px!important;
    height:32px!important;
    font-size:10.4px!important;
  }
}

/* Home History: solid sticky table header while scrolling */
body.ai-future-theme.mttvn-home-page .history-table-wrap{
  background:#070d1a!important;
  border-color:rgba(255,255,255,.10)!important;
}
body.ai-future-theme.mttvn-home-page .history-table{
  background:#09101f!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
body.ai-future-theme.mttvn-home-page .history-table thead,
body.ai-future-theme.mttvn-home-page .history-table thead tr{
  background:#10182a!important;
}
body.ai-future-theme.mttvn-home-page .history-table thead th{
  position:sticky!important;
  top:0!important;
  z-index:30!important;
  background:#10182a!important;
  color:#eaf1ff!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:0 1px 0 rgba(255,255,255,.12),0 8px 18px rgba(0,0,0,.28)!important;
  background-clip:padding-box!important;
}
body.ai-future-theme.mttvn-home-page .history-table tbody tr:first-child td{
  border-top:1px solid rgba(255,255,255,.08)!important;
}


/* MTTVN Premium v16 - Bridge compact mobile balance + section order/header */
body.ai-future-theme.mttvn-bridge-page .bridge-card{order:2!important;}
body.ai-future-theme.mttvn-bridge-page .gas-card{order:3!important;}
body.ai-future-theme.mttvn-bridge-page .bot-balance-card{order:1!important;}
body.ai-future-theme.mttvn-bridge-page .wrap{display:block!important;}
body.ai-future-theme.mttvn-bridge-page .bridge-word{font-size:.82em!important;font-weight:850!important;opacity:.96!important;}

@media(min-width:761px){
  body.ai-future-theme.mttvn-bridge-page .topbar{
    min-height:62px!important;
    padding:10px 14px!important;
    border-radius:24px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .brand h1{
    font-size:21px!important;
    white-space:nowrap!important;
  }
  body.ai-future-theme.mttvn-bridge-page .brand small{
    font-size:12px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .actions{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    width:auto!important;
    justify-content:flex-end!important;
  }
  body.ai-future-theme.mttvn-bridge-page .actions>.btn,
  body.ai-future-theme.mttvn-bridge-page .actions .ai-lang-select-btn{
    height:36px!important;
    min-height:36px!important;
    border-radius:14px!important;
    padding:0 14px!important;
    font-size:12.5px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .actions .ai-lang-select{
    min-width:128px!important;
    width:128px!important;
  }
}

@media(max-width:760px){
  body.ai-future-theme.mttvn-bridge-page .wrap{
    max-width:430px!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .topbar,
  body.ai-future-theme.mttvn-bridge-page header.topbar{
    position:relative!important;
    top:auto!important;
    width:calc(100% - 10px)!important;
    min-height:0!important;
    margin:8px auto 12px!important;
    padding:8px!important;
    border-radius:22px!important;
    display:grid!important;
    grid-template-columns:minmax(105px,.95fr) minmax(178px,1.25fr)!important;
    align-items:center!important;
    gap:6px!important;
    overflow:visible!important;
  }
  body.ai-future-theme.mttvn-bridge-page .brand{
    min-width:0!important;
    gap:7px!important;
    width:100%!important;
    overflow:hidden!important;
  }
  body.ai-future-theme.mttvn-bridge-page .logo,
  body.ai-future-theme.mttvn-bridge-page .brand img{
    width:38px!important;
    height:38px!important;
    border-radius:12px!important;
    flex:0 0 38px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .brand h1{
    font-size:16.5px!important;
    line-height:.98!important;
    letter-spacing:-.045em!important;
    white-space:normal!important;
  }
  body.ai-future-theme.mttvn-bridge-page .brand .bridge-word{
    display:inline!important;
    font-size:.78em!important;
  }
  body.ai-future-theme.mttvn-bridge-page .brand small{
    font-size:9.8px!important;
    line-height:1.05!important;
    margin-top:2px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .actions{
    width:100%!important;
    display:grid!important;
    grid-template-columns:72px minmax(0,1fr)!important;
    gap:6px!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    overflow:visible!important;
  }
  body.ai-future-theme.mttvn-bridge-page .actions>.btn,
  body.ai-future-theme.mttvn-bridge-page .actions .ai-lang-select-btn{
    width:100%!important;
    min-height:33px!important;
    height:33px!important;
    border-radius:13px!important;
    padding:0 8px!important;
    font-size:10.8px!important;
    line-height:1!important;
  }
  body.ai-future-theme.mttvn-bridge-page .actions .ai-lang-select{
    width:100%!important;
    min-width:0!important;
  }
  body.ai-future-theme.mttvn-bridge-page .ai-lang-select-menu{
    right:0!important;
    left:auto!important;
    width:min(220px,78vw)!important;
    top:calc(100% + 8px)!important;
  }
  body.ai-future-theme.mttvn-bridge-page .card{
    padding:12px 14px!important;
    margin:9px 0!important;
    border-radius:22px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .section-title{
    font-size:21px!important;
    line-height:1.06!important;
    gap:8px!important;
    margin-bottom:6px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .badge{
    width:32px!important;
    height:32px!important;
    border-radius:11px!important;
    font-size:17px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .sub{
    font-size:12.5px!important;
    line-height:1.35!important;
    margin-bottom:9px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .balance-grid,
  body.ai-future-theme.mttvn-bridge-page .balance-grid.compact-3{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
    margin-top:8px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .balance-item{
    min-height:54px!important;
    padding:7px 5px!important;
    border-radius:14px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .balance-item label{
    font-size:8.7px!important;
    line-height:1.05!important;
    margin-bottom:4px!important;
    letter-spacing:-.04em!important;
  }
  body.ai-future-theme.mttvn-bridge-page .balance-item b{
    font-size:10.7px!important;
    line-height:1.12!important;
    letter-spacing:-.045em!important;
    word-break:break-word!important;
  }
  body.ai-future-theme.mttvn-bridge-page .balance-status{
    font-size:10.5px!important;
    margin-top:6px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .grid2{
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .mini{
    padding:9px!important;
    border-radius:15px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .mini h3{
    font-size:13px!important;
    margin-bottom:4px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .mini p{
    font-size:10.8px!important;
    line-height:1.22!important;
  }
  body.ai-future-theme.mttvn-bridge-page .steps{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
    margin:9px 0!important;
  }
  body.ai-future-theme.mttvn-bridge-page .step{
    min-height:70px!important;
    padding:7px 5px!important;
    border-radius:14px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .step b{font-size:12px!important;margin-bottom:3px!important;}
  body.ai-future-theme.mttvn-bridge-page .step p{font-size:10.2px!important;line-height:1.16!important;}
  body.ai-future-theme.mttvn-bridge-page .wallet-box{
    padding:9px!important;
    border-radius:16px!important;
    gap:8px!important;
  }
  body.ai-future-theme.mttvn-bridge-page .wallet-box label{font-size:10.5px!important;}
  body.ai-future-theme.mttvn-bridge-page .addr{font-size:12.5px!important;line-height:1.2!important;}
  body.ai-future-theme.mttvn-bridge-page .wallet-box .btn{min-height:34px!important;height:34px!important;border-radius:13px!important;font-size:12px!important;}
}
@media(max-width:380px){
  body.ai-future-theme.mttvn-bridge-page .topbar{grid-template-columns:minmax(98px,.9fr) minmax(166px,1.3fr)!important;gap:5px!important;}
  body.ai-future-theme.mttvn-bridge-page .actions{grid-template-columns:64px minmax(0,1fr)!important;gap:5px!important;}
  body.ai-future-theme.mttvn-bridge-page .actions>.btn,
  body.ai-future-theme.mttvn-bridge-page .actions .ai-lang-select-btn{font-size:10px!important;padding:0 6px!important;}
  body.ai-future-theme.mttvn-bridge-page .brand h1{font-size:15px!important;}
  body.ai-future-theme.mttvn-bridge-page .brand small{font-size:9px!important;}
  body.ai-future-theme.mttvn-bridge-page .balance-item b{font-size:9.8px!important;}
  body.ai-future-theme.mttvn-bridge-page .balance-item label{font-size:8px!important;}
}
