  /* 토스트 컨테이너 기본 */
  .toast-container {
    position: fixed;
    z-index: 9999;
    pointer-events: none; /* 개별 토스트에서 pointer-events 활성화 */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    max-width: calc(100% - 2rem);
  }

  /* 위치별 정렬 */
  .toast-container.top-right { top: 1rem; right: 1rem; align-items: flex-end; }
  .toast-container.top-left  { top: 1rem; left: 1rem; align-items: flex-start; }
  .toast-container.bottom-right { bottom: 1rem; right: 1rem; align-items: flex-end; }
  .toast-container.bottom-left  { bottom: 1rem; left: 1rem; align-items: flex-start; }
  .toast-container.top-center { top: 1rem; left: 50%; transform: translateX(-50%); align-items: center; }
  .toast-container.bottom-center { bottom: 1rem; left: 50%; transform: translateX(-50%); align-items: center; }

  /* 토스트 카드 */
  .toast {
    min-width: 220px;
    max-width: 420px;
    box-sizing: border-box;
    pointer-events: auto; /* 클릭 가능 */
    display: flex;
    gap: 12px;
    align-items: start;
    padding: 10px 12px;
    border-radius: 10px;
    color: #0b0d10;
    background: #f1f5f9;
    box-shadow: 0 6px 18px rgba(6, 8, 13, 0.18), 0 1px 0 rgba(255,255,255,0.4) inset;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", "Helvetica Neue", Arial;
    font-size: 14px;
    line-height: 1.25;
    transform-origin: right top;
    overflow: hidden;
    position: relative;
  }

  /* 토스트 타입 색상 */
  .toast--success { background: linear-gradient(180deg,#e6f9f0,#dff6ea); border-left: 4px solid #34c759; }
  .toast--error   { background: linear-gradient(180deg,#ffecec,#ffdede); border-left: 4px solid #ff3b30; }
  .toast--info    { background: linear-gradient(180deg,#eef6ff,#e5f0ff); border-left: 4px solid #0a84ff; }
  .toast--warning { background: linear-gradient(180deg,#fff8e6,#fff3d9); border-left: 4px solid #ff9500; }

  /* 아이콘 스타일(간단) */
  .toast .icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: white;
    font-size: 16px;
  }
  .toast--success .icon { background: rgba(52,199,89,0.95); }
  .toast--error .icon   { background: rgba(255,59,48,0.95); }
  .toast--info .icon    { background: rgba(10,132,255,0.95); }
  .toast--warning .icon { background: rgba(255,149,0,0.95); }

  .toast .content {
    flex: 1 1 auto;
    word-break: break-word;
  }

  .toast .title {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 13px;
  }
  .toast .message {
    font-size: 13px;
    color: rgba(11,13,16,0.85);
  }

  .toast .close-btn {
    margin-left: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    color: rgba(11,13,16,0.6);
    font-size: 14px;
  }
  .toast .close-btn:focus { outline: 2px solid rgba(0,0,0,0.12); }

  /* 애니메이션 */
  @keyframes toast-in {
    from { transform: translateY(-8px) scale(.98); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
  }
  @keyframes toast-out {
    from { transform: translateY(0) scale(1); opacity: 1; }
    to   { transform: translateY(-6px) scale(.98); opacity: 0; }
  }
  .toast-enter { animation: toast-in 220ms cubic-bezier(.2,.9,.3,1) forwards; }
  .toast-leave { animation: toast-out 180ms cubic-bezier(.4,.0,.2,1) forwards; }

  /* progress bar bottom */
  .toast .progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(0,0,0,0.06);
  }
  .toast .progress > i {
    display: block;
    height: 100%;
    width: 100%;
    transform-origin: left;
    transform: scaleX(1);
    transition: transform linear;
    background: linear-gradient(90deg, rgba(0,0,0,0.2), rgba(0,0,0,0.06));
  }

  /* 작은 화면 대응 */
  @media (max-width: 420px) {
    .toast { min-width: 160px; max-width: calc(100vw - 2rem); }
    .toast-container { padding: 0.5rem; }
  }