/* 어두운 도구 화면(내 투찰 · 미달 진단 · 하한선 계산기 · 경쟁사 분석)의 휴대폰 하단 탭 · 전체 메뉴 — 시안 `JarvisTabbarDark`(2026-11-06 Lewis).
   layout :: mtabs 조각과 mobile.js 를 그대로 쓰고 색만 관제실로 칠한다. <body class="… fc-m">.
   mobile.css 는 싣지 않는다(PC 폭 고정 같은 밝은 화면 규칙이 섞이지 않게). 화면이 휴대폰 모양으로 바뀌는 폭 760 이하에서만 보인다. */
@media (min-width: 761px) {
  body.fc-m .m-only { display: none !important; }
}
@media (max-width: 760px) {
  body.fc-m { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
}
body.fc-m.m-noscroll { overflow: hidden; }
html.m-kb-open body.fc-m .m-tabbar { display: none; }

/* 하단 탭 */
body.fc-m .m-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(4, 7, 13, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(120, 170, 220, .16); padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
body.fc-m .m-tabbar-in { max-width: 720px; margin: 0 auto; height: 58px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
body.fc-m .m-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: transparent;
  color: #7f8da0; font: inherit; font-size: 11.5px; font-weight: 600; min-width: 0; text-decoration: none; cursor: pointer; touch-action: manipulation; }
body.fc-m .m-tab:hover { color: #c9d3e0; text-decoration: none; }
body.fc-m .m-tab svg { width: 24px; height: 24px; }
body.fc-m .m-tab.m-on { color: #fff; font-weight: 800; }
body.fc-m .m-tab.m-on::before { content: ""; position: absolute; top: 0; left: 32%; right: 32%; height: 2px; border-radius: 0 0 2px 2px; background: #5ee0fa; box-shadow: 0 0 10px rgba(94, 224, 250, .8); }
body.fc-m .m-tab.m-on svg { color: #5ee0fa; filter: drop-shadow(0 0 6px rgba(94, 224, 250, .45)); }
body.fc-m .m-tab .m-cnt { position: absolute; top: 5px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #5ee0fa; color: #04070d;
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
body.fc-m .m-tab .m-cnt[hidden] { display: none; }
body.fc-m .m-tab .m-lock { position: absolute; top: 6px; left: calc(50% + 7px); width: 16px; height: 16px; border-radius: 50%; background: #2c3746; color: #c9d3e0;
  display: flex; align-items: center; justify-content: center; }
body.fc-m .m-tab .m-lock svg { width: 9px; height: 9px; }

/* 더보기 시트 */
body.fc-m .m-sheet-bg { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .6); display: flex; align-items: flex-end; justify-content: center; }
body.fc-m .m-sheet-bg[hidden] { display: none; }
body.fc-m .m-sheet { width: 100%; max-width: 720px; max-height: 86vh; max-height: 86dvh; display: flex; flex-direction: column; background: #0b111b;
  border: 1px solid rgba(120, 170, 220, .16); border-bottom: 0; border-radius: 16px 16px 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, .6); color: #e8eef6;
  padding-bottom: env(safe-area-inset-bottom, 0px); }
body.fc-m .m-sheet-grip { flex: none; width: 40px; height: 4px; border-radius: 2px; background: #2c3746; margin: 8px auto 2px; }
body.fc-m .m-sheet-h { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 8px 8px 16px; border-bottom: 1px solid rgba(120, 170, 220, .12); }
body.fc-m .m-sheet-h b { flex: 1; min-width: 0; font-size: 17px; font-weight: 800; }
body.fc-m .m-sheet-h .m-ab-btn { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #9fb0c6; font: inherit; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; }
body.fc-m .m-sheet-b { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
body.fc-m .m-menu-guest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 2px 0 6px; }
body.fc-m .m-btn { min-height: 46px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(120, 170, 220, .25); display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
body.fc-m .m-btn.m-primary { border: 0; background: linear-gradient(90deg, #0b7fa3, #691BFB); }
body.fc-m .m-fine { font-size: 12.5px; line-height: 1.5; color: #8796ab; }
body.fc-m .m-menu-who { display: flex; align-items: center; gap: 10px; padding: 4px 0 8px; min-width: 0; }
body.fc-m .m-menu-av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(94, 224, 250, .14); color: #5ee0fa; font-weight: 800;
  display: flex; align-items: center; justify-content: center; }
body.fc-m .m-menu-whot { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
body.fc-m .m-menu-whot .m-sub { font-size: 12.5px; color: #8796ab; }
body.fc-m .m-menu-h { margin: 6px 0 0; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; color: #7f8da0; }
body.fc-m .m-menu-list { display: flex; flex-direction: column; }
body.fc-m .m-menu-list form { margin: 0; }
body.fc-m .m-menu-list a, body.fc-m .m-menu-list button { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 4px; border: 0;
  border-bottom: 1px solid rgba(120, 170, 220, .1); background: transparent; text-align: left; font: inherit; font-size: 16px; font-weight: 600; color: #fff; text-decoration: none; cursor: pointer; }
body.fc-m .m-menu-list button[hidden] { display: none; }
body.fc-m .m-menu-list a.m-on { color: #5ee0fa; font-weight: 800; }
body.fc-m .m-menu-list .m-d { font-size: 13px; font-weight: 400; color: #8796ab; }
body.fc-m .m-permit { background: linear-gradient(135deg, rgba(13, 200, 254, .12), rgba(47, 224, 176, .14)); border-color: rgba(94, 224, 250, .35); color: #fff; }
body.fc-m .m-permit-d { color: #8796ab; }
body.fc-m .m-permit-ext { color: #8796ab; }
body.fc-m .m-value { background: linear-gradient(135deg, rgba(255, 182, 39, .12), rgba(194, 65, 12, .16)); border-color: rgba(255, 190, 90, .4); color: #fff; }
body.fc-m .m-value-d { color: #8796ab; }
body.fc-m .m-value-ext { color: #8796ab; }
body.fc-m .m-menu-list .m-new { margin-left: auto; flex: none; height: 20px; padding: 0 7px; border-radius: 4px; background: #691BFB; color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .05em; display: inline-flex; align-items: center; }
body.fc-m .m-menu-list .m-soon { margin-left: auto; flex: none; height: 22px; padding: 0 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(120, 170, 220, .16);
  color: #8796ab; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; }
body.fc-m .m-menu-list .m-tgl { margin-left: auto; display: flex; }
body.fc-m .m-tgl i { flex: none; width: 44px; height: 26px; border-radius: 13px; background: #2c3746; position: relative; display: block; }
body.fc-m .m-tgl i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #9fb0c6; transition: left .15s; }
body.fc-m .m-tgl.m-on i { background: rgba(94, 224, 250, .35); }
body.fc-m .m-tgl.m-on i::after { left: 21px; background: #5ee0fa; }
@media (prefers-reduced-motion: reduce) { body.fc-m .m-tgl i::after { transition: none; } }
