/* Original stylesheet sources (cascade order):
/static/home-cards/previews.css?v=20260929
/static/content-discovery.css?v=20261020
/static/site-shell.css?v=20260930ux
*/
.tool-card .tool-media{background:#101914;background-image:none}
.tool-media img.image-load-failed{opacity:0}
.latest-guides{padding-top:42px}.latest-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}
.latest-guide-card{display:block;min-width:0;border:1px solid #2c4036;border-radius:10px;background:#101b15;padding:20px;color:#e6eee9;text-decoration:none}
.latest-guide-card:hover{border-color:#639c7e;background:#13231a}.latest-guide-card:focus-visible{outline:2px solid #8de9bc;outline-offset:4px}
.latest-guide-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;color:#aac0b2;font-size:12px;line-height:1.6}.latest-guide-meta>span{color:#83dca9}
.latest-guide-card h3{margin:12px 0 8px;font-size:18px;line-height:1.55}.latest-guide-card p{margin:0;font-size:13px;line-height:1.7;color:#b8c9bf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-help{margin-top:22px;padding:14px 16px;border:1px solid #28392f;border-radius:8px;color:#a9bdb0;font-size:13px}.home-help>summary{cursor:pointer;font-weight:600;line-height:1.7}.home-help .quiet-links{margin-top:14px;font-size:12px;gap:10px 16px}.home-help .home-info{margin-top:18px;font-size:12px}
.editorial-policy{margin:24px 0 30px;padding:20px;border:1px solid #2c4436;border-radius:10px;background:#102018}.editorial-policy h2{margin:0 0 16px}
.guide-card-date{display:block;margin-top:12px;font-size:12px;line-height:1.7;color:#aec4b7}.guide-anchor-alias{display:block;scroll-margin-top:110px}.guide-section-head .guide-index-copy{max-width:70ch}
@media(max-width:680px){.latest-guide-grid{grid-template-columns:minmax(0,1fr)}.latest-guide-card{padding:17px}.latest-guide-card h3{font-size:17px}.latest-guides{padding-top:30px}.editorial-policy{padding:16px}.latest-guides .section-heading{align-items:flex-start;gap:12px}.latest-guides .section-heading>a{font-size:12px;white-space:nowrap}}

img[data-deferred-src]{visibility:hidden}

    :root {
      color-scheme: dark;
      --bg: #0b0e0d;
      --surface: #121614;
      --surface-hover: #171c19;
      --line: #29312e;
      --line-strong: #3a4541;
      --text: #f0f3f1;
      --muted: #a1aca7;
      --quiet: #78847f;
      --green: #4ed58a;
      --yellow: #dec44f;
      --cyan: #58add8;
    }
    * { box-sizing: border-box; }
    html { background: var(--bg); scroll-behavior: smooth; }
    body {
      margin: 0;
      min-height: 100vh;
      background: var(--bg);
      color: var(--text);
      font-family: Pretendard, "Pretendard Variable", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      letter-spacing: 0;
    }
    a { color: inherit; text-decoration: none; }
    a:focus-visible,
    summary:focus-visible {
      outline: 2px solid var(--green);
      outline-offset: 4px;
    }
    .site-header {
      border-bottom: 1px solid var(--line);
      background: #0d100f;
    }
    .header-inner,
    .shell {
      width: min(1280px, calc(100% - 48px));
      margin: 0 auto;
    }
    .header-inner {
      min-height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
    }
    .logo {
      display: inline-flex;
      align-items: center;
      min-height: 44px;
      gap: 11px;
      color: var(--text);
      font-size: 19px;
      font-weight: 800;
      white-space: nowrap;
    }
    .logo-mark {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      color: #d7dfdb;
    }
    .logo-mark svg { width: 34px; height: 34px; }
    .primary-nav {
      display: flex;
      align-items: center;
      gap: 28px;
      color: var(--muted);
      font-size: 14px;
      font-weight: 700;
    }
    .primary-nav a {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      border-bottom: 1px solid transparent;
      white-space: nowrap;
    }
    .primary-nav a:hover {
      color: var(--text);
      border-bottom-color: var(--green);
    }
    .shell { padding: 0 0 56px; }
    .intro {
      padding: 36px 0 24px;
      max-width: 820px;
    }
    .intro-label,
    .section-label {
      display: block;
      margin: 0 0 12px;
      color: var(--green);
      font-size: 12px;
      font-weight: 800;
    }
    .intro h1 {
      margin: 0;
      font-size: 42px;
      line-height: 1.16;
      font-weight: 780;
      letter-spacing: 0;
      word-break: keep-all;
    }
    .intro p {
      max-width: 720px;
      margin: 15px 0 0;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.65;
      word-break: keep-all;
    }
    .home-findings { margin-top: 28px; }
    .stats-preview.tool-card { display: block; padding: 28px; background: #121616; border-color: #303838; }
    .stats-preview.tool-card:hover { background: #171c1b; border-color: #648174; }
    .stats-preview.tool-card:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
    .stats-preview__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
    .stats-preview__heading h2 { margin: 0; }
    .stats-preview__caption { margin: 8px 0 20px; color: var(--muted); font-size: 12px; }
    .stats-preview__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stats-preview__weapon { min-width: 0; padding: 0 28px; border-left: 1px solid #2a3230; }
    .stats-preview__weapon:first-child { padding-left: 0; border-left: 0; }
    .stats-preview__weapon:last-child { padding-right: 0; }
    .stats-preview__identity { display: flex; flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; height: 146px; margin-bottom: 20px; }
    .stats-preview__identity h3 { margin: 0; font-size: 20px; line-height: 28px; }
    .stats-preview__identity img { display: block; align-self: center; width: 100%; max-width: 280px; height: 110px; object-fit: contain; }
    .stats-preview__rank { margin-right: 10px; color: var(--green); font-size: 14px; font-weight: 600; }
    .stats-preview__note { margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
    .stats-preview__weapon[data-weapon="RPD"] .stats-preview__identity img { width: 84%; }
    .stats-preview__metric + .stats-preview__metric { margin-top: 18px; padding-top: 16px; border-top: 1px solid #252d2b; }
    .stats-preview__label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
    .stats-preview__values { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-variant-numeric: tabular-nums; }
    .stats-preview__before { color: var(--muted); font-size: 12px; flex-basis: 100%; order: 3; }
    .stats-preview__arrow { color: var(--quiet); font-size: 12px; }
    .stats-preview__values strong { font-size: 30px; line-height: 1.2; font-weight: 700; }
    .stats-preview__delta { font-size: 12px; color: var(--muted); }
    .stats-preview__delta[data-direction="up"] { color: var(--green); }
    .stats-preview__delta[data-direction="down"] { color: #f19494; }
    @media (max-width: 900px) {
      .stats-preview__weapon { padding: 0 14px; }
      .stats-preview__values strong { font-size: 26px; }}
    @media (max-width: 680px) {
      .stats-preview.tool-card { padding: 18px; }
      .stats-preview__grid { grid-template-columns: minmax(0, 1fr); }
      .stats-preview__weapon, .stats-preview__weapon:first-child, .stats-preview__weapon:last-child { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
      .stats-preview__weapon:first-child { padding-top: 0; border-top: 0; }
      .stats-preview__weapon:last-child { padding-bottom: 0; }
      .stats-preview__weapon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
      .stats-preview__identity { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; height: 94px; margin-bottom: 14px; }
      .stats-preview__identity img { width: 65%; max-width: 220px; height: 94px; }
      .stats-preview__weapon[data-weapon="RPD"] .stats-preview__identity img { width: 56%; }
      .stats-preview__metric + .stats-preview__metric { margin-top: 0; padding-top: 0; border-top: 0; }
      .stats-preview__values { gap: 5px; }
      .stats-preview__values strong { font-size: 25px; }
      .stats-preview__heading { gap: 8px; }
      .stats-preview__heading .tool-action { font-size: 12px; white-space: nowrap; }}
    .tool-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }
    .tool-card {
      --accent: var(--green);
      min-width: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: var(--surface);
      transition: border-color .16s ease, background-color .16s ease;
    }
    .tool-card.mortar { --accent: var(--yellow); }
    .tool-card.zone { --accent: var(--cyan); }
    .tool-card:hover {
      border-color: var(--line-strong);
      background: var(--surface-hover);
    }
    .tool-media {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      margin: 0;
      overflow: hidden;
      background: #080b0a;
      border-bottom: 1px solid var(--line);
    }
    .tool-media img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center;
      filter: saturate(.82) contrast(.98);
      transition: filter .16s ease, transform .16s ease;
    }
    .tool-card.drop .tool-media img { object-position: center 50%; }
    .tool-card.mortar .tool-media img { object-position: center 47%; }
    .tool-card.zone .tool-media img { object-position: center 45%; }
    .tool-card:hover .tool-media img {
      filter: saturate(.98) contrast(1.02);
      transform: scale(1.012);
    }
    .tool-copy {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding: 20px;
    }
    .tool-heading {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    .tool-title {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 11px;
    }
    .tool-icon {
      width: 36px;
      height: 36px;
      flex: 0 0 auto;
      display: block;
      border-radius: 50%;
      object-fit: cover;
    }
    .tool-card h2 {
      margin: 0;
      font-size: 21px;
      line-height: 1.3;
      font-weight: 760;
      word-break: keep-all;
    }
    .tool-action {
      flex: 0 0 auto;
      color: var(--accent);
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }
    .tool-copy > p {
      margin: 12px 0 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.65;
      word-break: keep-all;
    }
    .privacy-note {
      margin-top: 18px;
      padding: 14px 0;
      display: flex;
      align-items: center;
      gap: 10px;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      color: var(--quiet);
      font-size: 13px;
      line-height: 1.55;
    }
    .privacy-note svg {
      width: 17px;
      height: 17px;
      flex: 0 0 auto;
      color: var(--muted);
    }
    .data-tool-section { padding-top: 52px; }
    .data-tool-card {
      overflow: hidden;
      display: grid;
      grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
      min-height: 250px;
      margin-top: 18px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: var(--surface);
      transition: border-color .16s ease, background-color .16s ease;
    }
    .data-tool-card:hover {
      border-color: var(--line-strong);
      background: var(--surface-hover);
    }
    .data-tool-visual {
      position: relative;
      min-height: 250px;
      overflow: hidden;
      display: grid;
      place-items: center;
      border-right: 1px solid var(--line);
      background:
        linear-gradient(rgba(78, 213, 138, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(78, 213, 138, .035) 1px, transparent 1px),
        #0a100e;
      background-size: 28px 28px;
    }
    .data-tool-weapons {
      width: min(88%, 420px);
      display: grid;
      gap: 7px;
    }
    .data-tool-weapons img {
      width: 100%;
      height: 72px;
      display: block;
      object-fit: contain;
      filter: saturate(.8) contrast(1.05);
    }
    .data-tool-weapons img:last-child { transform: scaleX(-1); }
    .data-tool-vs {
      position: absolute;
      inset: 50% auto auto 50%;
      transform: translate(-50%, -50%);
      display: grid;
      place-items: center;
      width: 38px;
      height: 38px;
      border: 1px solid #75652b;
      border-radius: 50%;
      background: #17160f;
      color: var(--yellow);
      font-size: 11px;
      font-weight: 850;
    }
    .data-tool-copy {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 32px 34px;
    }
    .data-tool-copy .section-label { margin-bottom: 9px; }
    .data-tool-copy h2 {
      margin: 0;
      font-size: 25px;
      line-height: 1.28;
    }
    .data-tool-copy > p {
      max-width: 680px;
      margin: 12px 0 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
      word-break: keep-all;
    }
    .data-tool-points {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 16px;
      margin-top: 18px;
      color: #c7d0cc;
      font-size: 12px;
      font-weight: 700;
    }
    .data-tool-points span::before {
      content: "";
      display: inline-block;
      width: 5px;
      height: 5px;
      margin: 0 7px 2px 0;
      border-radius: 50%;
      background: var(--green);
    }
    .data-tool-action {
      align-self: flex-start;
      min-height: 40px;
      display: inline-flex;
      align-items: center;
      margin-top: 22px;
      color: var(--green);
      font-size: 13px;
      font-weight: 800;
    }
    .guide-section { padding-top: 58px; }
    .home-info.home-reading { grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:24px; }
    .home-reading section { border:1px solid var(--line);border-radius:12px;padding:18px; }
    .home-reading h3 { margin:0;font-size:18px;line-height:1.5; }
    .home-reading a { color:var(--green); }
    @media(max-width:640px) { .home-info.home-reading { grid-template-columns:1fr; }}
    .section-heading {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 24px;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--line);
    }
    .section-heading h2 {
      margin: 0;
      font-size: 27px;
      line-height: 1.25;
      font-weight: 760;
    }
    .section-heading > a {
      min-height: 38px;
      display: inline-flex;
      align-items: center;
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
    }
    .section-heading > a:hover { color: var(--green); }
    .quiet-links {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 22px;
      padding: 16px 0 0;
      color: var(--quiet);
      font-size: 13px;
    }
    .quiet-links a {
      min-height: 34px;
      display: inline-flex;
      align-items: center;
    }
    .quiet-links a:hover { color: var(--text); }
    .home-info {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 28px;
      margin-top: 12px;
    }
    .home-info details {
      padding: 18px 0 20px;
      border-top: 1px solid rgba(41, 49, 46, .76);
    }
    .home-info summary {
      min-height: 38px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: var(--text);
      font-size: 15px;
      font-weight: 760;
      line-height: 1.4;
      cursor: pointer;
      list-style: none;
      word-break: keep-all;
    }
    .home-info summary::-webkit-details-marker { display: none; }
    .home-info summary::after {
      content: "+";
      color: var(--quiet);
      font-size: 18px;
      font-weight: 400;
    }
    .home-info details[open] summary::after { content: "−"; }
    .home-info p {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.7;
      word-break: keep-all;
    }
    .home-info-links {
      display: flex;
      flex-wrap: wrap;
      gap: 7px 14px;
      margin-top: 12px;
    }
    .home-info-links a {
      min-height: 32px;
      display: inline-flex;
      align-items: center;
      color: #c7d0cc;
      font-size: 12px;
      font-weight: 700;
      text-decoration: underline;
      text-decoration-color: #46514d;
      text-underline-offset: 4px;
    }
    .home-info-links a:hover { color: var(--green); }
    .contact-row {
      margin-top: 38px;
      padding: 18px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }
    .contact-row p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.55;
    }
    .contact-links {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }
    .contact-link {
      min-height: 38px;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: #cbd3cf;
      font-size: 13px;
      font-weight: 750;
    }
    .contact-link:hover { color: var(--text); }
    .contact-link svg { width: 16px; height: 16px; }
    .contact-link.discord svg { color: #8ea1ff; }
    .contact-link.kakao svg { color: #fee500; }
    footer {
      padding-top: 22px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 18px 36px;
      color: var(--quiet);
      font-size: 12px;
      line-height: 1.65;
    }
    footer p { margin: 0; max-width: 780px; }
    .footer-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 8px 18px;
    }
    .footer-links a {
      min-height: 30px;
      display: inline-flex;
      align-items: center;
    }
    .footer-links a:hover { color: var(--text); }
    @media (max-width: 900px) {
      .tool-grid { grid-template-columns: 1fr; }
      .tool-card {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
      }
      .tool-media { height: 100%; min-height: 260px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
      .data-tool-card { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); }
      .home-info { grid-template-columns: 1fr; gap: 0; }
      footer { grid-template-columns: 1fr; }
      .footer-links { justify-content: flex-start; }}
    @media (max-width: 680px) {
      .header-inner,
      .shell { width: min(100% - 28px, 1280px); }
      .header-inner {
        min-height: 0;
        padding: 12px 0 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
      }
      .primary-nav {
        width: 100%;
        overflow-x: auto;
        gap: 22px;
        scrollbar-width: none;
      }
      .primary-nav::-webkit-scrollbar { display: none; }
      .primary-nav a { min-height: 40px; }
      .intro { padding: 42px 0 22px; }
      .intro h1 { font-size: 32px; line-height: 1.2; }
      .intro p { margin-top: 12px; font-size: 15px; line-height: 1.65; }
      .tool-grid { gap: 10px; }
      .tool-card { display: flex; }
      .tool-media { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); }
      .tool-copy { padding: 18px; }
      .tool-card h2 { font-size: 19px; }
      .tool-copy > p { min-height: 0; }
      .privacy-note { align-items: flex-start; }
      .data-tool-section { padding-top: 42px; }
      .data-tool-card { display: flex; flex-direction: column; }
      .data-tool-visual { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); }
      .data-tool-weapons img { height: 56px; }
      .data-tool-copy { padding: 24px 20px; }
      .data-tool-copy h2 { font-size: 22px; }
      .guide-section { padding-top: 44px; }
      .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
      .section-heading h2 { font-size: 24px; }
      .contact-row { align-items: flex-start; flex-direction: column; }
      footer { padding-top: 20px; }}
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .tool-card,
      .tool-media img { transition: none; }
      .tool-card:hover .tool-media img { transform: none; }}
  
.bm-mobile-menu { display:none; }
@media(max-width:520px) {
  .bm-site-header__inner { position:relative; }
  .bm-mobile-menu { display:block; position:absolute; top:8px; right:14px; z-index:12; }
  .bm-mobile-menu summary { display:flex; align-items:center; gap:8px; min-height:44px; box-sizing:border-box; padding:0 10px; border:1px solid #3b4b42; border-radius:6px; background:#121a16; color:#d3dfd9; cursor:pointer; font-size:12px; list-style:none; }
  .bm-mobile-menu summary::-webkit-details-marker { display:none; }
  .bm-mobile-menu nav { position:absolute; top:44px; right:0; width:190px; padding:6px; border:1px solid #3b4b42; border-radius:8px; background:#121a16; box-shadow:0 12px 30px #0008; }
  .bm-mobile-menu nav a { display:flex; align-items:center; min-height:44px; padding:0 12px; color:#d3dfd9; text-decoration:none; font-size:14px; border-radius:4px; }
  .bm-mobile-menu nav a[aria-current="page"] { background:#1c392a; color:#77e0b2; }}
:root {
  --bm-shell-bg: #0b0e0d;
  --bm-shell-line: #29312e;
  --bm-shell-text: #f0f3f1;
  --bm-shell-muted: #9ca8a3;
  --bm-shell-accent: #4ed58a;
  --bm-header-height: 65px;
}

.bm-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.bm-site-header {
  box-sizing: border-box;
  position: sticky;
  z-index: 80;
  top: 0;
  width: 100%;
  min-width: 0;
  height: 65px;
  min-height: 65px;
  border-bottom: 1px solid var(--bm-shell-line);
  background: rgba(11, 14, 13, .97);
  backdrop-filter: blur(12px);
  font-family: Pretendard, "Pretendard Variable", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.mode-zone > .bm-site-header {
  grid-area: header;
}

/* Tool workspaces have legacy direct-child header rules. Keep the shared
   shell authoritative without coupling it to each tool stylesheet. */
.app > .bm-site-header {
  min-height: 0;
  display: block;
  padding: 0;
  gap: 0;
}

.app > .bm-site-header .bm-site-header__inner {
  min-height: 64px;
}

.app > .bm-site-header .bm-site-nav {
  width: auto;
  overflow: visible;
  gap: 24px;
  color: var(--bm-shell-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.app > .bm-site-header .bm-site-nav a {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}

.bm-site-header__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 64px;
  min-height: 64px;
  margin: 0;
  padding-inline: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.bm-site-header__identity {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.bm-site-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bm-shell-text);
  font-size: 17px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.bm-site-brand:hover,
.bm-site-brand:focus-visible {
  color: var(--bm-shell-text);
  text-decoration: none;
}

.bm-site-brand__mark {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 2px solid var(--bm-shell-accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px var(--bm-shell-bg);
  background: var(--bm-shell-accent);
}

.bm-header-divider {
  width: 1px;
  height: 22px;
  flex: 0 0 auto;
  background: var(--bm-shell-line);
}

.bm-header-context {
  overflow: hidden;
  margin: 0;
  color: var(--bm-shell-text);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bm-site-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--bm-shell-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.bm-site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.bm-site-nav a:hover,
.bm-site-nav a:focus-visible {
  color: var(--bm-shell-text);
  text-decoration: none;
}

.bm-site-nav a[aria-current="page"] {
  border-bottom-color: var(--bm-shell-accent);
  color: var(--bm-shell-text);
}

.bm-site-footer {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--bm-shell-line);
  background: #090c0b;
  color: #a8b2ae;
  font-family: Pretendard, "Pretendard Variable", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  letter-spacing: 0;
}

.bm-site-footer__inner {
  box-sizing: border-box;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 46px;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(480px, 1.8fr);
  gap: 64px;
}

.bm-site-footer__about p {
  max-width: 560px;
  margin: 10px 0 0;
  color: #a8b2ae;
  font-size: 13px;
  line-height: 1.7;
}

.bm-site-footer__brand {
  color: var(--bm-shell-text);
  font-size: 17px;
  font-weight: 850;
  text-decoration: none;
}

.bm-site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.bm-site-footer__group {
  min-width: 0;
}

.bm-site-footer__group h2 {
  margin: 0 0 13px;
  color: var(--bm-shell-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.bm-site-footer__group a {
  min-height: 32px;
  display: flex;
  align-items: center;
  width: fit-content;
  color: #a8b2ae;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.bm-site-footer__group a:hover,
.bm-site-footer__group a:focus-visible,
.bm-site-footer__brand:hover,
.bm-site-footer__brand:focus-visible {
  color: var(--bm-shell-accent);
  text-decoration: none;
}

@media (max-width: 820px) {
  :root {
    --bm-header-height: 61px;
  }

  .bm-site-header {
    height: 61px;
    min-height: 61px;
  }

  .bm-site-header__inner {
    width: 100%;
    height: 60px;
    min-height: 60px;
    padding: 0 14px;
    gap: 18px;
  }

  .app > .bm-site-header .bm-site-header__inner {
    width: 100%;
    height: 60px;
    min-height: 60px;
    padding: 0 14px;
  }

  .app > .bm-site-header .bm-site-nav {
    overflow-x: auto;
  }

  .bm-header-divider,
  .bm-header-context {
    display: none;
  }

  .bm-site-nav {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 18px;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(78, 213, 138, .42) transparent;
  }

  .bm-site-nav::-webkit-scrollbar {
    height: 3px;
  }

  .bm-site-nav::-webkit-scrollbar-track {
    background: transparent;
  }

  .bm-site-nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(78, 213, 138, .42);
  }

  .bm-site-nav a {
    scroll-snap-align: start;
  }

  .bm-site-nav::after {
    content: "";
    flex: 0 0 calc(50% - 20px);
  }

  .bm-site-footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }}

@media (max-width: 520px) {
  :root {
    --bm-header-height: 90px;
  }

  .bm-site-header {
    height: auto;
    min-height: 89px;
  }

  /* Legacy tool styles still target the bare header element on small screens.
     Keep every page on the same shared shell dimensions. */
  body.mode-drop:not(.has-analysis-image) .app > .bm-site-header,
  body.mode-mortar:not(.has-analysis-image) .app > .bm-site-header {
    height: auto !important;
    min-height: 89px !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .bm-site-header__inner {
    height: auto;
    display: block;
    padding: 8px 14px 0;
  }

  .app > .bm-site-header .bm-site-header__inner {
    height: auto;
    display: block;
    padding: 8px 14px 0;
  }

  .app > .bm-site-header .bm-site-nav {
    gap: 18px;
    padding: 0;
  }

  .app > .bm-site-header .bm-site-nav a {
    min-height: 44px;
  }

  .bm-site-brand {
    min-height: 44px;
    font-size: 16px;
  }

  .bm-site-nav {
    margin-top: 1px;
  }

  .bm-site-nav a {
    min-height: 44px;
  }

  .bm-site-footer__inner {
    width: 100%;
    padding: 30px 18px 36px;
  }

  .bm-site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
  }}