#exchange #shopModes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}#exchange #shopModes button{min-height:102px;padding:15px 10px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;border-radius:15px;border:1px solid #dcebd3;font:800 17px/1.1 system-ui;box-shadow:0 5px 18px #0003;position:relative}#exchange #shopModes svg{width:30px;height:29px;margin:0}#exchange #shopModes [data-mode=delivery]{background:#b8f8c9;color:#123426}#exchange #shopModes [data-mode=nearby]{background:#c7c5ff;color:#242444}#exchange #shopModes [data-mode=mail]{background:#f0dca4;color:#3c3119}#exchange #shopModes button[aria-pressed=true]{outline:2px solid #fff;outline-offset:3px;box-shadow:0 0 22px #d2f5ce33}#exchange #networkPanel.directory-active{max-height:72dvh}#networkPanel.directory-active>h2,#networkPanel.directory-active>#askExamples{display:none}#networkPanel.directory-active #shopDrawer>summary{display:none}#networkPanel.directory-active #shopDrawer{border:0;background:transparent;padding:0;overflow:visible}#networkPanel.directory-active #networkRows{max-height:none;overflow:visible;gap:10px}#networkPanel.directory-active .network-row{padding:16px 13px;border-radius:15px;background:linear-gradient(120deg,#18372a,#10251f);border:1px solid #8ba59177;min-height:88px}#networkPanel.directory-active .network-row b{font-size:19px}#networkPanel.directory-active .network-row small{font-size:13px;margin-top:4px}#networkPanel.directory-active .network-row em{font-size:12px}.directory-heading{display:grid;grid-template-columns:1fr auto;gap:6px 12px;margin:20px 0 16px}.directory-heading h3{font:800 25px/1.05 system-ui;letter-spacing:-.04em;color:#f3f3de;margin:0}.directory-heading p{font:13px/1.5 system-ui;color:#bcd3c2;margin:0;grid-column:1}.directory-heading button{grid-column:2;grid-row:1/3;align-self:center;min-height:44px;border:1px solid #acc1ab66;border-radius:24px;padding:8px 12px;background:#102b22;color:#e7eddb;font:600 12px system-ui}.directory-empty{padding:20px;background:#163328;border:1px dashed #8da994;border-radius:15px;font:15px/1.5 system-ui;color:#e1e9dd}.directory-heading[hidden],.directory-empty[hidden]{display:none!important}@media(max-width:700px){#exchange #shopModes{gap:8px;margin:12px 0}#exchange #shopModes button{min-height:85px;padding:12px 8px;font-size:clamp(12px,3.5vw,16px);border-radius:12px}#exchange #shopModes svg{height:24px;width:26px}#exchange #networkPanel.directory-active{max-height:70dvh}#exchange #networkPanel.directory-active #networkRows{max-height:none}.directory-heading h3{font-size:23px}.directory-heading{margin-top:18px}#networkPanel.directory-active .network-row{padding:13px 10px}#networkPanel.directory-active .network-row b{font-size:17px}}@media(prefers-reduced-motion:reduce){#exchange #shopModes button{transition:none}}
/* Tinted liquid glass: the chrome is confined to the perimeter. */
#exchange #shopModes [data-mode=delivery]{--glass-top:rgba(205,255,224,.93);--glass-bottom:rgba(116,213,166,.77);--glass-glow:#aaffcf;--glass-ink:#092d20}
#exchange #shopModes [data-mode=nearby]{--glass-top:rgba(230,223,255,.94);--glass-bottom:rgba(163,153,225,.81);--glass-glow:#d8c9ff;--glass-ink:#252044}
#exchange #shopModes [data-mode=mail]{--glass-top:rgba(255,240,198,.94);--glass-bottom:rgba(220,185,111,.81);--glass-glow:#ffe3a0;--glass-ink:#382709}
#exchange #shopModes button[data-mode]{
 isolation:isolate;overflow:hidden;border:1.5px solid transparent;color:var(--glass-ink);
 background:radial-gradient(ellipse at 12% 0%,#ffffffa6,transparent 58%) padding-box,
 linear-gradient(148deg,var(--glass-top),var(--glass-bottom)) padding-box,
 linear-gradient(125deg,#ffffffed 0%,#b6c3bd 17%,#414b48 34%,#fafff6 49%,#6f7f77 68%,#e6ede8 87%,#fff 100%) border-box;
 -webkit-backdrop-filter:blur(18px) saturate(1.45);backdrop-filter:blur(18px) saturate(1.45);
 box-shadow:inset 0 1px 0 #ffffffd9,inset 0 -2px 3px #182c2440,inset 1px 0 1px #ffffff6b,0 7px 16px #0004;
 transition:transform .18s ease,box-shadow .22s ease;
 text-shadow:0 1px 0 #ffffff45;
}
#exchange #shopModes button[data-mode]>span,#exchange #shopModes button[data-mode]>svg{position:relative;z-index:2}
#exchange #shopModes button[data-mode]::before{content:'';position:absolute;inset:-70% -60%;z-index:1;pointer-events:none;background:linear-gradient(110deg,transparent 35%,#ffffff05 41%,#ffffff8c 47%,#ffffff26 53%,transparent 61%);transform:translateX(-65%) rotate(-8deg);opacity:0}
#exchange #shopModes button[data-mode].glass-tap::before{animation:category-glass-sweep .62s ease-out both}
#exchange #shopModes button[data-mode][aria-pressed=true]{outline:2px solid var(--glass-glow);outline-offset:3px;box-shadow:inset 0 1px 0 #fff,inset 0 -2px 3px #182c2440,0 0 0 1px #ffffff66,0 0 22px color-mix(in srgb,var(--glass-glow) 26%,transparent),0 8px 18px #0005}
#exchange #shopModes button[data-mode][aria-pressed=true]::after{z-index:3;box-shadow:0 1px 3px #0003;border:1px solid #ffffffa8}
#exchange #shopModes button[data-mode]:active{transform:translateY(1px) scale(.975)}
#exchange #shopModes button[data-mode]:focus-visible{outline:3px solid #fff;outline-offset:3px}
@keyframes category-glass-sweep{0%{opacity:0;transform:translateX(-65%) rotate(-8deg)}20%{opacity:.65}100%{opacity:0;transform:translateX(65%) rotate(-8deg)}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){#exchange #shopModes button[data-mode]:hover{transform:translateY(-2px);filter:none;box-shadow:inset 0 1px 0 #fff,inset 0 -2px 3px #182c2440,0 10px 24px #0005}}
@media(prefers-reduced-motion:reduce){#exchange #shopModes button[data-mode]{transition:none!important}#exchange #shopModes button[data-mode]:active{transform:none}#exchange #shopModes button[data-mode].glass-tap::before{animation:none}}
@media(prefers-contrast:more){#exchange #shopModes button[data-mode]{background:var(--glass-glow);color:#101b16;backdrop-filter:none;-webkit-backdrop-filter:none;border-color:#fff;text-shadow:none}#exchange #shopModes button[data-mode]::before{display:none}}
@media(forced-colors:active){#exchange #shopModes button[data-mode]{background:ButtonFace;color:ButtonText;border:2px solid ButtonText;box-shadow:none}#exchange #shopModes button[data-mode]::before{display:none}#exchange #shopModes button[data-mode][aria-pressed=true]{outline:3px solid Highlight}}
