#portal-mobile-shell{display:contents}
.portal-bottom-nav,.portal-more-panel,.portal-navigation-scrim{display:none}
@media(max-width:959px){
 :root{--portal-bottom-space:calc(64px + env(safe-area-inset-bottom,0px))}
 html:has(.portal-has-bottom-nav){scroll-padding-bottom:calc(var(--portal-bottom-space) + 16px)}
 body.portal-has-bottom-nav{height:auto;min-height:100dvh;padding-bottom:var(--portal-bottom-space)}
 body.order-preview:not(.portal-has-bottom-nav){--portal-bottom-space:0px}
 .portal-has-bottom-nav .portal-mobile-menu{display:none}
 .portal-bottom-nav{position:fixed;inset:auto 0 0;z-index:50;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:var(--portal-bottom-space);padding:4px max(8px,env(safe-area-inset-right,0px)) calc(4px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));border-top:1px solid var(--line,#3a322a);background:#1b1713}
 .portal-bottom-nav>:is(a,button){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:48px;margin:0;padding:4px;border:0;border-radius:8px;background:transparent;box-shadow:none;color:var(--muted,#aba095);font-size:12px;font-weight:500;line-height:1.4;text-align:center;text-decoration:none;transform:none}
 .portal-bottom-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
 .portal-bottom-nav>:is(.is-current,[aria-expanded=true]){color:var(--brand,#d8cec3);background:var(--soft,#2a241e)}
 .portal-bottom-nav>:is(a,button):hover{color:var(--brand,#d8cec3);opacity:1}
 .portal-bottom-nav>:is(a,button):focus-visible{outline:2px solid var(--brand,#a86a36);outline-offset:-2px}
 .portal-more-open{overflow:hidden}
 .portal-more-panel{position:fixed;inset:auto 12px calc(var(--portal-bottom-space) + 8px);z-index:55;display:block;width:auto;max-width:560px;max-height:calc(100dvh - var(--portal-bottom-space) - 92px);margin:0 auto;padding:16px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line,#3a322a);border-radius:18px;background:#1b1713;color:var(--ink,#f2ebe3);box-shadow:0 8px 28px rgba(0,0,0,0.376)}
 .portal-more-panel>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}
 .portal-more-panel h2{margin:0;font-size:16px;line-height:1.4;font-weight:600}
 .portal-more-panel>header button{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:10px;border-radius:12px;background:var(--bg,#221d18)}
 .portal-more-panel svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
 .portal-more-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .portal-more-links a{display:flex;align-items:center;gap:8px;min-height:52px;padding:12px;border-radius:12px;background:var(--bg,#221d18);font-size:14px;line-height:1.5}
 .portal-more-links a[aria-current=page]{color:var(--brand,#d8cec3);background:var(--soft,#2a241e)}
 .portal-more-personal{display:flex;align-items:center;gap:4px 20px;flex-wrap:wrap;margin-top:12px;padding-top:8px}
 .portal-more-personal a{display:flex;align-items:center;min-height:44px;font-size:14px}
 .portal-more-panel :is(a,button):focus-visible{outline:2px solid var(--brand,#a86a36);outline-offset:2px}
 .portal-navigation-scrim{position:fixed;inset:0;z-index:40;display:block;width:100%;height:100%;padding:0;margin:0;background:rgba(168,106,54,0.251);cursor:default;transform:none}
 .portal-has-bottom-nav .portal-toast,.portal-has-bottom-nav #toast{bottom:calc(var(--portal-bottom-space) + 12px)}
}
