  /* ===== 라이트박스 ===== */
  #lb { position: fixed; inset: 0; z-index: 120; background: rgba(18,16,13,.94); display: grid; }
  #lb[hidden] { display: none; }
  #lb {
    grid-template-columns: 1fr 320px;
    grid-template-rows: 1fr 108px;
    grid-template-areas: "stage info" "strip strip";
  }
  #lb-stage { grid-area: stage; position: relative; display: flex; align-items: center; justify-content: center; padding: 22px 60px; min-width: 0; min-height: 0; }
  #lb-img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; user-select: none; -webkit-user-drag: none; }
  #lb-info {
    grid-area: info; border-left: 1px solid rgba(255,255,255,.14);
    padding: 22px 22px 22px 20px; overflow-y: auto; color: #f2efe9;
  }
  #lb-info .lb-t { font-size: 16px; font-weight: 800; line-height: 1.4; margin: 0 0 10px; }
  #lb-info .lb-row { font-size: 12.5px; color: #c4bdb0; margin: 0 0 7px; line-height: 1.6; }
  #lb-info .lb-row b { color: #f2efe9; font-weight: 700; }
  #lb-info .lb-sec { margin-top: 16px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.14); }
  #lb-info .lb-lb { font-size: 10.5px; letter-spacing: 0.08em; color: #8f877a; text-transform: uppercase; margin-bottom: 5px; }
  #lb-strip { grid-area: strip; display: flex; gap: 7px; padding: 10px 14px; overflow-x: auto; overflow-y: hidden; border-top: 1px solid rgba(255,255,255,.14); scrollbar-width: thin; }
  #lb-strip img { height: 100%; width: auto; max-height: 86px; flex: none; border-radius: 4px; cursor: pointer; opacity: .5; background: #fff; transition: opacity .13s, outline-color .13s; outline: 2px solid transparent; outline-offset: 1px; }
  #lb-strip img:hover { opacity: .85; }
  #lb-strip img.cur { opacity: 1; outline-color: var(--accent); }

  #lb button.lb-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 62px; border: none; border-radius: 8px; cursor: pointer;
    background: rgba(255,255,255,.1); color: #fff; font-size: 22px; line-height: 1;
    display: flex; align-items: center; justify-content: center; transition: background .13s;
  }
  #lb button.lb-btn:hover { background: rgba(255,255,255,.22); }
  #lb button.lb-btn[disabled] { opacity: .25; cursor: default; }
  #lb #lb-prev { left: 8px; }
  #lb #lb-next { right: 8px; }
  #lb-close, #lb-toggle {
    position: fixed; top: 12px; z-index: 122;
    border: none; border-radius: 999px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700;
    background: rgba(255,255,255,.14); color: #fff; padding: 10px 15px; min-height: 44px;
  }
  #lb-close { right: 12px; }
  #lb-toggle { right: 96px; display: none; }
  #lb-close:hover, #lb-toggle:hover { background: rgba(255,255,255,.26); }
  #lb-close:focus-visible, #lb-toggle:focus-visible, #lb button.lb-btn:focus-visible, #lb-strip img:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  #lb-count { position: fixed; top: 20px; left: 16px; z-index: 122; font-size: 12px; color: #c4bdb0; font-variant-numeric: tabular-nums; }

  figure.shot .imgbox { cursor: zoom-in; }

  @media (max-width: 900px) {
    #lb { grid-template-columns: 1fr; grid-template-rows: 1fr 82px; grid-template-areas: "stage" "strip"; }
    #lb-stage { padding: 56px 12px 12px; }
    #lb button.lb-btn { width: 40px; height: 54px; }
    #lb-toggle { display: block; }
    #lb-info {
      position: fixed; left: 0; right: 0; bottom: 0; z-index: 124; max-height: 62vh;
      background: #1a1712; border-left: none; border-top: 1px solid rgba(255,255,255,.16);
      border-radius: 14px 14px 0 0; transform: translateY(101%); transition: transform .22s ease;
    }
    #lb.infoopen #lb-info { transform: translateY(0); }
    #lb-strip img { max-height: 60px; }
  }
  @media (prefers-reduced-motion: reduce) { #lb-info { transition: none; } }
