.tokyo-mobile-nav,.tokyo-mobile-account,.tokyo-mobile-signout,.tokyo-workbench-sidebar-toolbar{display:none}
/* Keep the remaining tablet dropdown above the isolated product catalogue. */
@media(max-width:1199px){
 .tokyo-theme .tokyo-nav-shell{position:relative;z-index:1040}
 .tokyo-theme .tokyo-nav{border-radius:28px}
}
@media(max-width:991px){
 html{scroll-padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
 body.tokyo-theme,body.tokyo-workbench{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
 body.tokyo-auth-workbench{padding-bottom:calc(98px + env(safe-area-inset-bottom,0px))}
 /* A backdrop-filter root also contains fixed descendants. While the drawer
    is open, anchor its shade to the viewport and keep the background still. */
 body.tokyo-workbench.site-mobile{overflow:hidden;overscroll-behavior:none}
 body.tokyo-workbench.site-mobile .tokyo-workbench-root{position:relative;z-index:1001;backdrop-filter:none;-webkit-backdrop-filter:none}
 .tokyo-workbench .tokyo-workbench-sidebar{position:fixed;z-index:1060;top:0;left:0;box-sizing:border-box;display:grid;grid-auto-rows:max-content;align-content:start;gap:12px;width:min(310px,86vw);height:100vh;height:100dvh;padding:14px 14px calc(18px + env(safe-area-inset-bottom,0px));min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scroll-padding-bottom:18px;transform:translateX(-105%);transition:transform 220ms ease;background:rgba(241,241,243,.98);box-shadow:18px 0 40px rgba(23,25,31,.18)}
 body.tokyo-workbench.site-mobile .tokyo-workbench-sidebar{transform:translateX(0)}
 body.tokyo-workbench.site-mobile .site-mobile-shade{display:block;position:fixed;inset:0;z-index:1050;background:rgba(23,25,31,.38);backdrop-filter:blur(2px)}
 .tokyo-workbench .tokyo-workbench-mobile-toggle{display:inline-flex}
 .tokyo-workbench .layui-container.fly-user-main{display:block}
 .tokyo-workbench-sidebar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#685a50;font-size:14px}
 .tokyo-workbench-sidebar-close{display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border:1px solid rgba(144,119,103,.2);border-radius:14px;background:#fffaf5;color:#76675e;cursor:pointer}
 .tokyo-workbench-sidebar-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
 .tokyo-workbench-sidebar-close:focus-visible{outline:2px solid #ad7b88;outline-offset:2px}
 .tokyo-workbench .tokyo-workbench-sidebar-card--profile{padding:14px}
 .tokyo-workbench .tokyo-workbench-sidebar-profile{gap:12px}
 .tokyo-workbench .tokyo-workbench-sidebar-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .tokyo-workbench .tokyo-workbench-sidebar-stat{min-width:0;padding:8px;border-radius:13px}
 .tokyo-workbench .tokyo-workbench-sidebar-stat span{display:block;font-size:11px;line-height:1.35;letter-spacing:0;overflow-wrap:anywhere}
 .tokyo-workbench .tokyo-workbench-sidebar-stat strong{display:block;margin-top:4px;font-size:13px;line-height:1.35;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
 .tokyo-workbench .tokyo-workbench-quick-links{display:none!important}
 .tokyo-mobile-nav{position:fixed;inset:auto 0 0;z-index:1000;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;box-sizing:border-box;padding:7px max(6px,env(safe-area-inset-right,0px)) calc(7px + env(safe-area-inset-bottom,0px)) max(6px,env(safe-area-inset-left,0px));border:1px solid rgba(148,119,97,.16);border-bottom:0;border-radius:22px 22px 0 0;background:rgba(255,252,247,.98);box-shadow:0 -6px 26px rgba(76,55,41,.07);font-family:inherit}
 a.tokyo-mobile-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:62px;box-sizing:border-box;padding:6px 2px;border-radius:15px;color:#81736a;text-decoration:none!important;font-size:11px;font-weight:500;line-height:1.2;text-align:center;touch-action:manipulation;transition:background 150ms ease,color 150ms ease}
 .tokyo-mobile-nav-item svg{display:block;width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
 .tokyo-mobile-nav-item span{display:flex;align-items:center;justify-content:center;min-height:2.4em;max-width:100%;overflow-wrap:break-word}
 .tokyo-mobile-nav-item:hover{color:#715344;background:#f5ede6}
 .tokyo-mobile-nav-item.is-active{background:#f1e5e1;color:#895b63;font-weight:650}
 .tokyo-mobile-nav-item:focus-visible{outline:2px solid #ad7b88;outline-offset:-2px}
 .tokyo-theme .tokyo-user-dropdown{display:none!important}
 .tokyo-theme .tokyo-mobile-account{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:4px;box-sizing:border-box;border:1px solid rgba(144,119,103,.16);border-radius:15px;background:rgba(255,252,247,.86);box-shadow:0 1px 2px rgba(80,61,45,.035)}
 .tokyo-theme .tokyo-mobile-account:focus-visible{outline:2px solid #ad7b88;outline-offset:3px}
 .tokyo-theme .tokyo-mobile-account img{display:block;width:32px;height:32px;border-radius:50%;object-fit:cover}
 .tokyo-mobile-signout{display:flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:11px 14px;border:1px solid rgba(148,119,97,.2);border-radius:14px;background:#fffaf5;color:#8c6264;font:inherit;font-size:14px;line-height:1.4;cursor:pointer;touch-action:manipulation}
 .tokyo-mobile-signout svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
 .tokyo-mobile-signout:hover{background:#f3e7e4}
 .tokyo-mobile-signout:focus-visible{outline:2px solid #ad7b88;outline-offset:2px}
}
/* The bottom navigation also serves landscape phones and small tablets. Keep
   their category entry consistent without changing the wider catalogue layout. */
@media(min-width:768px) and (max-width:991px){
 body.tokyo-mobile-drawer-open{overflow:hidden}
 .tokyo-sidebar-panel{position:fixed;inset:0 auto 0 0;z-index:1050;display:flex;flex-direction:column;box-sizing:border-box;width:min(84vw,336px);height:100vh;height:100dvh;border-radius:0 24px 24px 0;transform:translateX(calc(-100% - 12px));transition:transform 240ms ease;box-shadow:var(--tokyo-shadow-elevated);overflow:hidden}
 body.tokyo-mobile-drawer-open .tokyo-sidebar-panel{transform:translateX(0)}
 .tokyo-mobile-sidebar-backdrop{display:block;position:fixed;inset:0;z-index:1040;border:0;background:rgba(28,32,36,.26);opacity:0;pointer-events:none;transition:opacity 200ms ease}
 body.tokyo-mobile-drawer-open .tokyo-mobile-sidebar-backdrop{opacity:1;pointer-events:auto}
 .tokyo-mobile-sidebar-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border:1px solid var(--tokyo-border-strong);border-radius:999px;background:var(--tokyo-bg);color:var(--tokyo-text)}
 .tokyo-sidebar-panel .panel-body{display:flex;flex:1 1 auto;min-height:0;overflow:hidden;padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))}
 .tokyo-category-tree{align-content:start;grid-auto-rows:max-content;flex:1 1 auto;max-height:100%;overflow-y:auto;overscroll-behavior:contain}
 .tokyo-mobile-filter-trigger{display:inline-flex;flex:0 0 auto}
 .tokyo-catalog-heading{flex-direction:column;align-items:stretch}
 .tokyo-catalog-heading>.tokyo-index-heading-copy{flex:none;min-width:0;width:100%}
 .tokyo-catalog-tools{min-width:0;width:100%;gap:10px;flex-wrap:nowrap}
 .tokyo-catalog-tools .tokyo-search-combo{flex:1 1 auto;width:auto;min-width:0}
}
@media(prefers-reduced-motion:reduce){.tokyo-mobile-nav-item,.tokyo-sidebar-panel,.tokyo-mobile-sidebar-backdrop,.tokyo-workbench .tokyo-workbench-sidebar{transition:none}}
