/* EXOSWAP V74 — Product finishing layer. Apply after V73. */
:root{--exo74-glow:rgba(107,108,251,.28)}
/* The platform keeps just one Buy EXO action; the rest of the terminal is unchanged. */
#view-swap .exo73-route-details>summary{display:flex!important;justify-content:flex-start!important;gap:6px!important;min-height:38px;align-items:center;cursor:pointer}
#view-swap .exo73-route-details>summary>span:first-child{display:inline-flex;align-items:center;gap:8px;font-weight:650}

#view-swap .exo73-buy-button{min-width:0!important}
/* Respect exact content of the existing footer while giving it a deliberate grid. */
footer.exo318-footer{display:block!important;position:relative!important;clear:both!important;width:100%!important;min-height:0!important;margin-top:35px!important;padding:0 0 26px!important;background:linear-gradient(180deg,#090e25 0%,#080d1f 100%)!important;border-top:1px solid #29385f!important;overflow:visible!important}
footer.exo318-footer .exo318-footer-main{display:grid!important;grid-template-columns:minmax(225px,1.05fr) minmax(170px,.95fr) minmax(170px,.95fr) minmax(220px,1.15fr)!important;align-items:start!important;gap:clamp(20px,3vw,54px)!important;width:calc(100% - 56px)!important;max-width:1510px!important;margin:0 auto!important;padding:34px 0 32px!important;min-height:0!important}
footer.exo318-footer .exo318-footer-brand{grid-column:1!important;min-width:0!important}
footer.exo318-footer .exo318-footer-col{display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important;gap:0!important;padding:0!important;margin:0!important}
footer.exo318-footer .exo318-footer-col > span:not(.exo318-footer-minor-heading){display:block!important;font-size:11px!important;line-height:1.5!important;color:#95b3e4!important;font-weight:750!important;letter-spacing:.12em!important;margin:0 0 10px!important}
footer.exo318-footer .exo318-footer-minor-heading{display:block!important;width:100%!important;color:#9fc1ff!important;font-size:10px!important;font-weight:700!important;letter-spacing:.12em!important;margin:20px 0 7px!important;padding-top:14px!important;border-top:1px solid rgba(141,158,218,.15)!important}
footer.exo318-footer .exo318-footer-col a{position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-height:31px!important;padding:6px 0!important;font-size:12px!important;line-height:1.5!important;color:#aebad7!important;text-decoration:none!important;white-space:normal!important}
footer.exo318-footer .exo318-footer-col a svg{flex-shrink:0!important;width:14px!important;height:14px!important;opacity:.55!important}
footer.exo318-footer .exo318-footer-col a:hover{color:white!important;transform:translateX(2px)}
footer.exo318-footer .exo318-footer-bottom{max-width:1510px!important;width:calc(100% - 56px)!important;margin:0 auto!important;padding:20px 0 0!important;border-top:1px solid rgba(114,133,182,.24)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:16px!important;min-height:0!important}
footer.exo318-footer .exo318-footer-socials{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important}
footer.exo318-footer .exo318-footer-socials a{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;border-radius:11px!important;background:rgba(62,85,148,.18)!important;border:1px solid rgba(114,149,232,.23)!important}
footer.exo318-footer .exoswap-copyright{font-size:11px!important;line-height:1.5!important;white-space:normal!important}
#exoswap-install{position:relative!important;display:flex!important;align-items:center!important;gap:20px!important;width:min(calc(100% - 56px),1310px)!important;margin:38px auto 24px!important;padding:22px 26px!important;min-height:0!important;border-radius:20px!important;background:linear-gradient(112deg,rgba(17,39,97,.96),rgba(12,25,65,.97))!important;border:1px solid rgba(99,145,240,.36)!important;box-shadow:0 16px 30px rgba(0,8,28,.15)!important}
#exoswap-install .exoswap-install-copy{flex:1;min-width:0}
#exoswap-install .exoswap-install-actions{margin-left:auto;flex-shrink:0}
/* Exoland panorama: entire island and waterfall visible, no vertical card-image crop. */
#view-swap .exo73-exoland-card{position:relative!important;display:grid!important;grid-template-columns:minmax(240px,1.05fr) minmax(200px,.88fr) minmax(205px,.9fr) auto!important;grid-template-rows:1fr!important;align-items:center!important;gap:clamp(12px,2vw,28px)!important;min-height:154px!important;padding:20px 26px!important;overflow:hidden!important;background:linear-gradient(90deg,rgba(10,17,65,.02) 0%,rgba(11,13,58,.02) 26%,rgba(11,13,58,.93) 50%,rgba(19,16,79,.75) 100%),url('exo74-exoland-world.webp') left center / 100% 100% no-repeat!important;border:1px solid rgba(163,123,255,.66)!important;border-radius:25px!important;box-shadow:0 18px 44px rgba(1,4,28,.28),inset 0 1px rgba(255,255,255,.23)!important;text-decoration:none}
#view-swap .exo73-exoland-card:before{background:radial-gradient(ellipse at 80% 120%,rgba(139,53,226,.32),transparent 62%)!important}
#view-swap .exo73-exoland-island{display:block!important;grid-column:1!important;grid-row:1!important;visibility:hidden!important;opacity:0!important;width:100%!important;height:116px!important;max-height:none!important}
#view-swap .exo73-exoland-copy{grid-column:2!important;grid-row:1!important;min-width:0!important;max-width:none!important;position:relative!important;z-index:1!important}
#view-swap .exo73-exoland-copy strong{font-size:clamp(29px,3vw,46px)!important;letter-spacing:-.055em!important;color:white!important}
#view-swap .exo73-exoland-copy small{font-size:11px!important;color:#d9e1ff!important}
#view-swap .exo73-exoland-note{grid-column:3!important;grid-row:1!important;display:block!important;position:relative!important;z-index:1!important;max-width:280px!important;line-height:1.55!important;font-size:13px!important;color:#dfe7ff!important}
#view-swap .exo73-exoland-cta{grid-column:4!important;grid-row:1!important;position:relative!important;z-index:1!important;align-self:center!important;justify-self:end!important;background:rgba(33,27,106,.72)!important;box-shadow:inset 0 1px #ffffff54,0 0 18px #753fda55!important}
/* Card imagery: full 3D silhouettes with generous safe padding. */
#view-swap .exo73-product{overflow:hidden!important;isolation:isolate!important;background:linear-gradient(120deg,rgba(var(--tile-rgb),.32),rgba(22,27,72,.94))!important;border-radius:23px!important;box-shadow:inset 0 1px rgba(255,255,255,.1),0 11px 27px rgba(4,7,31,.2)!important}
#view-swap .exo73-product .exo72-product-icon{display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important;width:clamp(70px,7vw,116px)!important;min-width:0!important}
#view-swap .exo73-product .exo72-product-icon img{width:min(100%,108px)!important;height:auto!important;max-height:105px!important;object-fit:contain!important;filter:drop-shadow(0 4px 8px rgba(0,0,0,.1))!important}
#view-swap .exo73-product:hover{transform:translateY(-4px)!important;box-shadow:inset 0 1px #ffffff32,0 16px 34px rgba(var(--tile-rgb),.17)!important}
/* Bridge: premium cross-network workspace, preserves ALL existing bridge control IDs. */
#view-bridge{position:relative;isolation:isolate}
#view-bridge .v9-bridge-layout{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr)!important;align-items:start!important;gap:22px!important}
#view-bridge .v9-bridge-form,#view-bridge .v9-bridge-result{background:linear-gradient(145deg,rgba(24,35,89,.96),rgba(10,16,48,.99))!important;border:1px solid rgba(105,138,234,.42)!important;border-radius:25px!important;box-shadow:0 24px 55px rgba(2,4,29,.22),inset 0 1px #ffffff22!important}
#view-bridge .v9-bridge-form{padding:26px!important;min-width:0!important}
#view-bridge .v9-bridge-form .panel-header{margin-bottom:22px!important;padding:0 0 18px!important;border-bottom:1px solid rgba(135,157,222,.16)!important}
#view-bridge .v9-bridge-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important}
#view-bridge .v9-bridge-fields>label{display:flex!important;flex-direction:column!important;gap:9px!important;min-width:0!important;padding:15px!important;border:1px solid rgba(109,137,231,.32)!important;border-radius:15px!important;background:rgba(34,48,111,.28)!important;font-weight:700!important;font-size:10px!important;letter-spacing:.08em!important;color:#9fbcf2!important}
#view-bridge .v9-bridge-fields>label:nth-of-type(3),#view-bridge .v9-bridge-fields>.v9-middle-switch,#view-bridge .v9-bridge-fields>#v9-bridge-quote,#view-bridge .v9-bridge-fields>#v9-bridge-message{grid-column:1/-1!important}
#view-bridge .v9-bridge-fields .select-field,#view-bridge .v9-bridge-fields .search-field{font-size:16px!important;line-height:1.25!important;width:100%!important;min-height:48px!important;border-radius:11px!important;border:1px solid rgba(123,158,247,.27)!important;background:rgba(10,17,49,.68)!important;color:#f5f7ff!important;min-width:0!important;padding:12px!important}
#view-bridge .v9-middle-switch{display:flex!important;justify-content:center!important;align-items:center!important;gap:12px!important;min-height:48px!important;border-radius:999px!important;color:#b9ceff!important;background:radial-gradient(ellipse at center,rgba(112,73,223,.25),transparent 70%)!important}
#view-bridge #v9-bridge-quote{min-height:54px!important;margin-top:6px!important;border-radius:15px!important;color:#fff!important;background:linear-gradient(105deg,#18c5f6,#7355f5 56%,#ee3ac9)!important;border:0!important;box-shadow:0 5px 23px rgba(102,66,251,.28)!important}
#view-bridge .v9-bridge-visual{min-height:235px!important;position:relative!important;padding:25px 28px!important;overflow:hidden!important;background:radial-gradient(ellipse at 82% 39%,rgba(85,174,250,.25),transparent 48%),linear-gradient(130deg,#171b58,#0e224c 78%)!important;border:1px solid rgba(103,147,235,.46)!important;border-radius:25px!important}
#view-bridge .v9-bridge-visual:after{content:''!important;position:absolute!important;right:7px!important;top:0!important;width:190px!important;height:100%!important;background:url('exo74-icon-bridge.webp') center/contain no-repeat!important;opacity:.77!important;filter:drop-shadow(0 7px 18px rgba(26,125,255,.42))!important;pointer-events:none!important}
#view-bridge .v9-bridge-symbols{display:none!important}
#view-bridge .v9-bridge-visual strong{display:block!important;position:relative!important;z-index:1!important;max-width:60%!important;font-size:clamp(25px,2.4vw,38px)!important;letter-spacing:-.04em!important;line-height:1.1!important}
#view-bridge .v9-bridge-visual>span{display:block!important;position:relative!important;z-index:1!important;margin:0 0 16px!important}
#view-bridge .v9-bridge-result{padding:24px!important;margin-top:17px!important}
#view-bridge .v9-metric{border-color:rgba(135,165,255,.18)!important;min-height:47px!important;gap:10px!important}
#view-bridge .v9-bridge-result .secondary-button{border-radius:13px!important;min-height:48px!important}
/* Fully functional drawer, no empty hamburger panel. */
.exo74-menu-backdrop[hidden],.exo74-mobile-panel[hidden]{display:none!important}
.exo74-menu-backdrop{position:fixed;inset:0;z-index:99990;background:rgba(3,5,19,.64);backdrop-filter:blur(9px)}
.exo74-mobile-panel{position:fixed;z-index:99991;right:0;top:0;bottom:0;width:min(370px,90vw);padding:calc(18px + env(safe-area-inset-top,0px)) 18px calc(30px + env(safe-area-inset-bottom,0px));background:linear-gradient(160deg,#151b50,#080d27 88%);border-left:1px solid #5366d480;box-shadow:-28px 0 65px #0307189e;overflow-y:auto;overscroll-behavior:contain;color:#fff;animation:exo74-drawer-in .24s cubic-bezier(.2,.85,.2,1)}
@keyframes exo74-drawer-in{from{transform:translateX(45px);opacity:.4}to{transform:translateX(0);opacity:1}}
html.exo74-drawer-open{overflow:hidden}
.exo74-mobile-panel-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 30px}
.exo74-drawer-brand{display:flex;align-items:center;gap:10px}.exo74-drawer-brand strong{font-size:22px;letter-spacing:-.04em}.exo74-drawer-brand strong span{color:#64d8ff}
#exo74-mobile-close{width:42px;height:42px;display:grid;place-items:center;border:1px solid #7479cc75;background:#3038778c;border-radius:14px;color:white}
#exo74-mobile-close svg{width:20px;height:20px}
.exo74-menu-caption{font-size:10px;font-weight:750;letter-spacing:.14em;color:#83b2ff;margin:20px 8px 8px}
.exo74-menu-nav{display:flex;flex-direction:column;gap:5px}
.exo74-menu-nav>button,.exo74-menu-nav>a{display:flex;align-items:center;gap:13px;width:100%;min-height:54px;padding:8px 10px;color:#f6f8ff!important;border:1px solid transparent;border-radius:15px;background:transparent;text-decoration:none;text-align:left;font:inherit;cursor:pointer}
.exo74-menu-nav>button:hover,.exo74-menu-nav>a:hover,.exo74-menu-nav>button:focus-visible,.exo74-menu-nav>a:focus-visible{background:linear-gradient(100deg,#138fe977,#a332ce66);border-color:#8497ec88}
.exo74-menu-nav>button>span:nth-child(2),.exo74-menu-nav>a>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;font-size:14px;font-weight:700}
.exo74-menu-nav small{font-size:10px;font-weight:450;color:#acbce7}
.exo74-menu-symbol{display:grid;place-items:center;width:37px;height:37px;flex:none;border-radius:12px;background:linear-gradient(140deg,#135bb65c,#b14cf94d);border:1px solid #7198e170;font-size:22px;color:#80e4ff}
.exo74-menu-symbol svg{width:20px;height:20px}.exo74-menu-chevron{font-size:22px;color:#c5ceff}
.exo74-menu-extras{padding:0 10px;display:grid;grid-template-columns:1fr;gap:3px}
.exo74-menu-extras a{display:flex;justify-content:space-between;gap:12px;padding:12px 2px;color:#c5d0f6;text-decoration:none;font-size:13px}
.exo74-menu-wallet{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;margin-top:22px;padding:15px;border:0;border-radius:14px;background:linear-gradient(100deg,#1bc5f6,#8658ff,#e046d4);color:white;font-weight:750;font-size:14px;box-shadow:0 12px 35px #544ddb59}
.exo74-menu-wallet svg{width:20px;height:20px}
html[data-ui-theme=light] .exo74-mobile-panel{background:linear-gradient(145deg,#fff,#eaeefe);color:#202852;border-left-color:#b8c2ef;box-shadow:-16px 0 50px #3d438c40}
html[data-ui-theme=light] .exo74-menu-nav>button,html[data-ui-theme=light] .exo74-menu-nav>a{color:#1b2755!important}
html[data-ui-theme=light] .exo74-menu-nav small,html[data-ui-theme=light] .exo74-menu-extras a{color:#555f83}
html[data-ui-theme=light] .exo74-menu-symbol{color:#3159ae;background:#dfe5ff}
html[data-ui-theme=light] .exo74-menu-caption{color:#5575ac}
html[data-ui-theme=light] .exo74-menu-nav>button:hover,html[data-ui-theme=light] .exo74-menu-nav>a:hover{background:#dfe7fc}
html[data-ui-theme=light] footer.exo318-footer{background:#e8eeff!important;border-color:#ced6ee!important}
html[data-ui-theme=light] footer.exo318-footer .exo318-footer-col a{color:#455271!important}
html[data-ui-theme=light] footer.exo318-footer .exo318-footer-col a:hover{color:#1c2866!important}
@media(max-width:1240px){
 #view-swap .exo73-exoland-card{grid-template-columns:minmax(120px,.8fr) minmax(180px,1fr) minmax(155px,1fr)!important;gap:16px!important}
 #view-swap .exo73-exoland-note{display:none!important}
 #view-swap .exo73-exoland-copy{grid-column:2!important}
 #view-swap .exo73-exoland-cta{grid-column:3!important}
 footer.exo318-footer .exo318-footer-main{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:27px 38px!important}
 #view-bridge .v9-bridge-layout{grid-template-columns:1fr!important}
 #view-bridge .v9-bridge-side{display:grid!important;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;gap:16px}
 #view-bridge .v9-bridge-result{margin-top:0!important}
}
@media(max-width:760px){
 #view-swap .exo73-product .exo72-product-icon{width:65px!important;min-width:65px!important}
 #view-swap .exo73-product .exo72-product-icon img{width:70px!important;max-height:78px!important}
 #view-swap .exo73-exoland-card{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(108px,1fr) auto auto!important;min-height:252px!important;gap:4px!important;padding:12px 15px 14px!important;background:linear-gradient(0deg,rgba(11,14,53,.98) 0%,rgba(11,14,53,.84) 28%,rgba(11,14,53,.04) 65%),url('exo74-exoland-world.webp') 15% 10%/cover no-repeat!important}
 #view-swap .exo73-exoland-island{grid-column:1!important;grid-row:1!important;visibility:hidden!important;height:120px!important}
 #view-swap .exo73-exoland-copy{grid-column:1!important;grid-row:2!important;position:relative!important;z-index:2!important;align-self:end!important}
 #view-swap .exo73-exoland-copy strong{font-size:27px!important}
 #view-swap .exo73-exoland-note{display:none!important}
 #view-swap .exo73-exoland-cta{grid-column:1!important;grid-row:3!important;justify-self:start!important;min-height:39px!important;margin-top:5px!important}
 #view-bridge .v9-bridge-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #view-bridge .v9-bridge-fields>label{padding:10px!important;font-size:9px!important;letter-spacing:.04em!important}
 #view-bridge .v9-bridge-form{padding:15px!important}
 #view-bridge .v9-bridge-fields .select-field{padding:7px!important;font-size:13px!important}
 #view-bridge .v9-bridge-side{grid-template-columns:1fr!important}
 #view-bridge .v9-bridge-visual{min-height:170px!important}
 #view-bridge .v9-bridge-visual:after{width:135px!important}
 #exoswap-install{width:calc(100% - 30px)!important;margin:20px auto!important;padding:16px!important;display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;gap:10px!important}
 #exoswap-install .exoswap-install-actions{grid-column:1/-1!important;margin:0!important;width:100%!important}
 #exoswap-install .exoswap-install-button{width:100%!important;justify-content:center!important}
 footer.exo318-footer .exo318-footer-main{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 17px!important;width:calc(100% - 32px)!important;padding:28px 0!important}
 footer.exo318-footer .exo318-footer-brand{grid-column:1/-1!important}
 footer.exo318-footer .exo318-footer-bottom{width:calc(100% - 32px)!important;align-items:flex-start!important;flex-direction:column-reverse!important;gap:14px!important}
 footer.exo318-footer .exo318-footer-socials{justify-content:flex-start!important}
}
@media(max-width:390px){
 footer.exo318-footer .exo318-footer-main{grid-template-columns:1fr!important}
 #view-bridge .v9-bridge-visual strong{font-size:21px!important}
 #view-swap .exo73-exoland-card{min-height:241px!important}
}
@media(prefers-reduced-motion:reduce){.exo74-mobile-panel{animation:none!important}#view-swap .exo73-product:hover{transform:none!important}}
