/* modules/ld-shell.css — 共通シェル CSS */
.ld-modal-backdrop {
  position: fixed; inset: 0; background: rgba(20, 20, 25, 0.55);
  display: none; align-items: center; justify-content: center;
  z-index: 9000; padding: 20px;
}
.ld-modal-backdrop.is-open { display: flex; }
.ld-modal-frame {
  background: var(--ld-bg, #fff); color: var(--ld-fg, #1a1a1a);
  border-radius: 12px; max-width: 720px; width: 100%;
  max-height: 92vh; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  display: flex; flex-direction: column;
}
.ld-modal-body {
  flex: 1; overflow: hidden; padding: 28px 28px 24px;
  display: flex; flex-direction: column; min-height: 0;
}
.ld-modal-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; font-size: 26px; cursor: pointer;
  color: var(--ld-fg, #1a1a1a); width: 36px; height: 36px;
  border-radius: 50%; line-height: 1; padding: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.ld-modal-close:hover { background: rgba(0,0,0,0.06); }
.ld-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20,20,25,0.92); color: #fff; padding: 12px 18px;
  border-radius: 6px; font-size: 14px; opacity: 0; transition: all .3s;
  z-index: 9100; pointer-events: none;
}
.ld-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.ld-toast--error { background: #b32b2b; }
.ld-toast--success { background: #2b7a3a; }
