/* ════════════════════════════════════════════════════════════════════
   sym-toast.css — τα μηνύματα του window.showToast (js/sym-toast.js).

   #sym-toasts.sym-toasts            η στοίβα (κάτω δεξιά · στο κινητό όλο
                                     το πλάτος, κάτω)
     > .sym-toast__it--{welcome|ok|err|warn|info}
         > .sym-toast__ic            εικονίδιο
         > .sym-toast__tx > b.sym-toast__t + span.sym-toast__b
         > button.sym-toast__x       κλείσιμο

   ΔΥΟ ΟΨΕΙΣ
     .sym-toasts--ink      «Μελάνι» (προεπιλογή): επιφάνεια μελανιού του
                           θέματος (--c-ink, όπως η πλαϊνή· στα σκοτεινά
                           θέματα .is-dark → --c-sec), ρίγα τόνου αριστερά,
                           εικονίδιο σε --acc-fill / --on-acc.
     .sym-toasts--papyrus  «Πάπυρος»: κρεμ φύλλο με τυλιγμένες άκρες, μελάνι
                           #2A2012 και terra-dk #9A4222 (6,1:1 στο #FBF6EA),
                           τα χρώματα της επιστολής (css/sym-papyrus.css).
   Εναλλαγή: κλάση toast-papyrus στο <html>/<body> ή SYM_TOAST_VARIANT
   (βλ. js/sym-toast.js). Κανένα κεφαλαίο με CSS (τόνοι).
   ════════════════════════════════════════════════════════════════════ */
.sym-toasts {
  position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 2147482000; width: min(380px, calc(100vw - 48px));
  display: flex; flex-direction: column; align-items: stretch; gap: 10px;
  pointer-events: none; font-family: var(--sans, 'Alegreya Sans', system-ui, sans-serif);
}
.sym-toast__it {
  position: relative; pointer-events: auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 12px;
  padding: 13px 12px 13px 18px; border-radius: 14px; line-height: 1.38; text-align: left;
  opacity: 0; transform: translateY(14px) scale(.98);
  transition: opacity .26s ease, transform .32s cubic-bezier(.2, .9, .3, 1.15);
}
.sym-toast__it.is-in { opacity: 1; transform: none; }
.sym-toast__it.is-out { opacity: 0; transform: translateX(18px); transition-duration: .22s; }
.sym-toast__ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.sym-toast__ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sym-toast__it--welcome .sym-toast__ic svg { fill: currentColor; stroke-width: 1.2; }
.sym-toast__tx { min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.sym-toast__t { font-family: var(--disp, 'Oswald', sans-serif); font-weight: 600; font-size: 15.5px; letter-spacing: .01em; line-height: 1.25; overflow-wrap: anywhere; }
.sym-toast__b { font-family: var(--serif, 'Alegreya', Georgia, serif); font-size: 14px; overflow-wrap: anywhere; }
.sym-toast__x {
  width: 28px; height: 28px; margin: 1px 0 0; padding: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: transparent; color: inherit;
  border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.sym-toast__x svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* ── «Μελάνι» ───────────────────────────────────────────────────────── */
.sym-toasts--ink .sym-toast__it {
  --tt-bg: var(--c-ink, #13283A); --tt-fg: var(--c-dom, #F2F5F8); --tt-acc: var(--c-acc-pop, var(--acc-fill, #067BC1));
  background: var(--tt-bg); color: var(--tt-fg);
  box-shadow: inset 4px 0 0 var(--tt-acc), 0 16px 36px -14px color-mix(in srgb, #000 55%, transparent), 0 0 0 1px color-mix(in srgb, var(--tt-fg) 10%, transparent);
}
.sym-toasts--ink.is-dark .sym-toast__it {
  --tt-bg: var(--c-sec, #1E1B19); --tt-fg: var(--c-sec-ink, var(--c-ink, #FFFFFF));
  box-shadow: inset 4px 0 0 var(--tt-acc), 0 16px 36px -14px #000, 0 0 0 1px color-mix(in srgb, var(--tt-acc) 34%, transparent);
}
.sym-toasts--ink .sym-toast__ic { background: var(--acc-fill, #067BC1); color: var(--on-acc, #FFFFFF); }
.sym-toasts--ink .sym-toast__b { color: color-mix(in srgb, var(--tt-fg) 84%, var(--tt-bg)); }
.sym-toasts--ink .sym-toast__x:hover { background: color-mix(in srgb, var(--tt-fg) 12%, transparent); border-color: color-mix(in srgb, var(--tt-fg) 24%, transparent); }
.sym-toasts--ink .sym-toast__x:focus-visible { outline: 2px solid var(--tt-acc); outline-offset: 1px; }

/* ── «Πάπυρος» ──────────────────────────────────────────────────────── */
.sym-toasts--papyrus .sym-toast__it {
  --pp-bg: #FBF6EA; --pp-ink: #2A2012; --pp-acc: #9A4222; --pp-roll: #E6D6B2;
  background: linear-gradient(180deg, #FDF9EF, var(--pp-bg) 40%, #F5ECD6);
  color: var(--pp-ink); border-radius: 6px; padding: 14px 16px 14px 24px; margin: 0 8px;
  box-shadow: 0 14px 30px -14px rgba(42, 32, 18, .55), 0 0 0 1px rgba(154, 66, 34, .18);
}
.sym-toasts--papyrus .sym-toast__it::before, .sym-toasts--papyrus .sym-toast__it::after {
  content: ''; position: absolute; top: -4px; bottom: -4px; width: 11px; border-radius: 6px;
  background: linear-gradient(90deg, #C9B184, var(--pp-roll) 45%, #FFF8E6 60%, #CDB68A);
  box-shadow: 0 2px 4px rgba(42, 32, 18, .3);
}
.sym-toasts--papyrus .sym-toast__it::before { left: -8px; }
.sym-toasts--papyrus .sym-toast__it::after { right: -8px; }
.sym-toasts--papyrus .sym-toast__ic { background: transparent; color: var(--pp-acc); border: 1.5px solid currentColor; }
.sym-toasts--papyrus .sym-toast__t { color: var(--pp-acc); font-family: var(--serif, 'Alegreya', Georgia, serif); font-weight: 700; font-size: 16px; }
.sym-toasts--papyrus .sym-toast__b { color: var(--pp-ink); }
.sym-toasts--papyrus .sym-toast__x:hover { background: rgba(154, 66, 34, .1); border-color: rgba(154, 66, 34, .3); }
.sym-toasts--papyrus .sym-toast__x:focus-visible { outline: 2px solid var(--pp-acc); outline-offset: 1px; }

/* ── κινητό: όλο το πλάτος, κάτω ────────────────────────────────────── */
@media (max-width: 600px) {
  .sym-toasts { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  .sym-toast__it { padding: 11px 10px 11px 15px; gap: 10px; }
  .sym-toast__t { font-size: 15px; }
  .sym-toast__b { font-size: 13.5px; }
  .sym-toast__it.is-out { transform: translateY(14px); }
}

@media (prefers-reduced-motion: reduce) {
  .sym-toast__it, .sym-toast__it.is-in, .sym-toast__it.is-out { transform: none; transition: opacity .12s linear; }
}
