/* Saved preview: bottom icon 29px, vertical padding 6px, top icon 24px. */
footer.member-navigation {
  --member-bottom-space:max(6px, env(safe-area-inset-bottom, 0px));
  box-sizing:border-box;height:calc(68px + var(--member-bottom-space));min-height:0;padding:6px clamp(6px,2vw,10px) var(--member-bottom-space);
}
footer.member-navigation > ul.base.split-bottom-menu {display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:2px;width:100%;margin:0;padding:0;}
footer.member-navigation > ul.base.split-bottom-menu > li {float:none;width:auto;min-width:0;margin:0;}
footer.member-navigation > ul.base.split-bottom-menu > li > a {
  margin:0;padding:6px 0;height:61px;min-height:61px;align-items:flex-start;box-sizing:border-box;border-radius:10px;
}
footer.member-navigation > ul.base.split-bottom-menu figure > img {
  width:29px;height:29px;max-width:calc(100% - 2px);object-fit:contain;margin:0 auto;
}
footer.member-navigation > ul.base.split-bottom-menu figure > span {display:block;margin-top:4px;font-size:11px;line-height:15px;letter-spacing:-.4px;white-space:nowrap;}
footer.member-navigation > ul.base.split-bottom-menu.cream-vintage-menu > li.on > a {background:var(--member-selected-background,#e6eeef);}
footer.member-navigation > ul.base.split-bottom-menu::before,
footer.member-navigation > ul.base.split-bottom-menu::after {content:none;display:none;}
.member-nav-space {height:calc(76px + max(6px, env(safe-area-inset-bottom, 0px)));flex-shrink:0;}
/* iPhone: leave breathing room above the home indicator, including non-cover PWA viewports. */
@supports (-webkit-touch-callout:none) {
  footer.member-navigation {--member-bottom-space:max(16px, env(safe-area-inset-bottom, 0px));}
  .member-nav-space {height:calc(76px + max(16px, env(safe-area-inset-bottom, 0px)));}
}
header.today-header {flex-wrap:nowrap;height:auto;gap:6px;}
header.today-header.search-member-header {height:auto;min-height:68px;}
header.today-header h1 {flex:0 0 auto;min-width:0;}
header.today-header .today-tools {display:flex;flex:0 1 auto;width:max-content;min-width:0;max-width:100%;gap:0;margin-left:auto;flex-wrap:nowrap;justify-content:flex-end;}
header.today-header .today-tool, header.today-header.header-many .today-tool {box-sizing:border-box;flex:0 1 40px;width:40px;min-width:0;height:51px;min-height:51px;justify-content:flex-start;gap:2px;}
header.today-header .tool-circle, header.today-header.header-many .tool-circle {width:34px;max-width:100%;height:34px;flex-shrink:0;}
header.today-header .tool-circle img, header.today-header .tool-circle img.chat-talk, header.today-header .tool-circle img.store-diamond {width:24px;height:24px;object-fit:contain;transform:none;}
header.today-header .tool-circle svg {width:24px;height:24px;}
header.today-header .tool-label,header.today-header.header-many .tool-label {font-size:10px;line-height:15px;letter-spacing:-.4px;max-width:100%;white-space:nowrap;text-align:center;}
header.today-header .tool-label.store-balance,header.today-header.header-many .tool-label.store-balance{font-size:10px;white-space:nowrap;}
@media(max-width:359px){header.today-header {gap:4px;padding-inline:8px;}header.today-header h1,header.today-header.header-many h1{font-size:15px;}}

.member-navigation .imgbm5>a{position:relative;overflow:visible}
.member-navigation .lounge-open-badge{position:absolute;z-index:2;top:-10px;left:50%;transform:translateX(-50%);padding:2px 5px;border-radius:6px;background:#126b50;color:#fff;font-size:9px;font-weight:800;line-height:12px;letter-spacing:.3px;pointer-events:none;white-space:nowrap}
.member-navigation .lounge-open-badge:after{content:"";position:absolute;top:100%;left:calc(50% - 3px);border:3px solid transparent;border-top-color:#126b50}
.member-navigation .lounge-open-badge[hidden]{display:none!important}

/* Android app already reserves system bars outside its WebView. */
html.member-native-android footer.member-navigation {--member-bottom-space:6px;}
html.member-native-android .member-nav-space {height:82px;}

/* Preserve pastel icon fills; only selected outlines and labels turn black. */
footer.member-navigation > ul.base.split-bottom-menu.cream-vintage-menu > li.on figure span {color:#000000;}

/* User-approved individual icon sizes, 2026-11-11. */
header.today-header a.today-tool[href="mypage.php"] .tool-circle img, header.today-header a.today-tool[href="mypage.php"] .tool-circle svg {width:21px;height:21px;}
header.today-header a.today-tool[href="bell.php"] .tool-circle img, header.today-header a.today-tool[href="bell.php"] .tool-circle svg {width:21px;height:21px;}
header.today-header a.today-tool[href="javascript:move_check('sub6.php')"] .tool-circle img, header.today-header a.today-tool[href="javascript:move_check('sub6.php')"] .tool-circle svg {width:22px;height:22px;}
header.today-header a.today-tool[href="my_1_store.php"] .tool-circle img, header.today-header a.today-tool[href="my_1_store.php"] .tool-circle svg {width:27px;height:27px;}

/* Same compact speech bubble as lounge OPEN; no layout or animation cost. */
.member-navigation .imgbm7>a{position:relative;overflow:visible}
.member-navigation .evaluation-new-badge{position:absolute;z-index:2;top:-10px;left:50%;transform:translateX(-50%);padding:2px 5px;border-radius:6px;background:#ad526f;color:#fff;font-size:9px;font-weight:800;line-height:12px;letter-spacing:.3px;pointer-events:none;white-space:nowrap}
.member-navigation .evaluation-new-badge:after{content:"";position:absolute;top:100%;left:calc(50% - 3px);border:3px solid transparent;border-top-color:#ad526f}
.member-navigation .evaluation-new-badge[hidden]{display:none!important}
