/* ===================================================================================================
    토스트 — GnToast(components/gn-toast.js)의 .Toast-bottom-web(하단 가운데 알림)
    - 구 style.css 169~228행 조각의 대체본. main·note 셸은 style.css 뒤, /style-guide 도 로드한다.
    - 2026-10-15 테마 개편(Tailwind 알림 모양): 흰 카드 + 헤어라인 + lg 그림자, 폭은 내용에 맞춤(최대 28rem),
      왼쪽 아이콘은 PNG 대신 연한 원 안 bootstrap-icons 글리프 — 성공(기본) 초록 체크 · .warning 주황 · .error 빨강 느낌표.
      글리프는 셸이 이미 싣는 bootstrap-icons 폰트(main·note: webjar 1.10.5, /style-guide: lib) — 같은 코드값.
    - 머리(.toast-header)는 숨긴다 — S2Util.toasts 기본 제목이 본문과 같은 뜻('저장되었습니다')이라 한 줄 알림으로 쓴다.
    - 자체 CSS를 쓰는 이유(규칙 2): 아이콘 + 한 줄 메시지 배치와 숨긴 머리는 BS .toast 기본 구성과 다르다. !important 없음.
=================================================================================================== */
.Toast-bottom-web {
    display: flex;
    align-items: center;
    width: auto;
    min-width: 17.5rem;
    max-width: min(28rem, calc(100vw - 2rem));
    margin: var(--gn-space-2) auto;
    padding: 0.75rem 1.125rem 0.75rem 0.875rem;
    border: var(--gn-border-hairline) solid var(--gn-color-border-default);
    border-radius: var(--gn-radius-lg);
    background-color: var(--gn-color-bg-surface);
    box-shadow: var(--gn-shadow-lg);
    visibility: hidden;
    font-size: var(--gn-font-size-sm);
    font-weight: var(--gn-font-weight-medium);
    line-height: 1.25rem;
    letter-spacing: -0.005em;
    text-align: left;
    color: var(--gn-color-text-primary);
}
.Toast-bottom-web.show {
    visibility: visible;
}
.Toast-bottom-web .toast-header {
    display: none;
}
.Toast-bottom-web .toast-body {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
/* 아이콘: 연한 원 + 글리프(성공 check-lg \f633 / 경고·오류 exclamation-lg \f63c) */
.Toast-bottom-web .toast-body::before {
    content: '\f633';
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: var(--gn-radius-circle);
    background: var(--gn-status-complete-bg);
    font-family: 'bootstrap-icons';
    font-size: 0.875rem;
    font-weight: normal;
    line-height: 1;
    color: var(--gn-status-complete-fg);
}
.Toast-bottom-web.warning .toast-body::before {
    content: '\f63c';
    background: var(--gn-status-share-bg);
    color: var(--gn-status-share-fg);
}
.Toast-bottom-web.error .toast-body::before {
    content: '\f63c';
    background: var(--gn-status-reject-bg);
    color: var(--gn-status-reject-fg);
}
