@font-face {
  font-family: "Bricolage";
  src: url(/fonts/bricolage-grotesque-latin-ext.woff2) format("woff2");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage";
  src: url(/fonts/bricolage-grotesque-latin.woff2) format("woff2");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument";
  src: url(/fonts/instrument-sans-latin-ext.woff2) format("woff2");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument";
  src: url(/fonts/instrument-sans-latin.woff2) format("woff2");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* barvy */
  --paper: #EEF1F4;
  --card: #FFFFFF;
  --ink: #1C2340;
  --ink-2: #545B78;
  --ink-3: #8A90A8;
  --line: #D6DCE5;
  --cran: #B3243B;
  --cran-dark: #8E1A2D;
  --cran-soft: #F6E3E6;
  --spruce: #2F6B57;
  --spruce-soft: #E1EEE8;
  --brass: #C99A3B;
  --brass-soft: #F5EBD3;
  --focus: #3D5AFE;

  /* písmo */
  --display: "Bricolage", "Segoe UI", system-ui, sans-serif;
  --text: "Instrument", "Segoe UI", system-ui, sans-serif;

  /* rozměry */
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow: 0 1px 0 rgba(28, 35, 64, .06), 0 8px 24px -14px rgba(28, 35, 64, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); font-weight: 800; font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(1.4rem, 3.6vw, 1.85rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }

/* ---------- rozvržení ---------- */
.wrap { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 var(--gutter); }
.topbar {
  display: flex; align-items: center; gap: 16px;
  padding: 18px var(--gutter); max-width: 920px; margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 1.5rem/1 var(--display); letter-spacing: -.03em; text-decoration: none;
}
.brand svg { width: 30px; height: 30px; }
.topbar .who { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--ink-2); }

.tabs { display: flex; gap: 4px; }
.tabs a {
  text-decoration: none; padding: 9px 14px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.tabs a:hover { color: var(--ink); background: rgba(28,35,64,.06); }
.tabs a[aria-current="page"] { background: var(--ink); color: var(--paper); }

main { padding: 12px 0 120px; }
.page-head { display: grid; gap: 10px; margin: 18px 0 28px; }
.page-head p { max-width: 56ch; color: var(--ink-2); }
section + section { margin-top: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .topbar .tabs {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 30; justify-content: space-between;
    background: var(--ink); padding: 6px; border-radius: 999px;
    box-shadow: 0 12px 30px -10px rgba(28,35,64,.6);
  }
  .topbar .tabs a { flex: 1; text-align: center; color: #C9CEE0; padding: 11px 6px; }
  .topbar .tabs a:hover { background: transparent; color: #fff; }
  .topbar .tabs a[aria-current="page"] { background: var(--paper); color: var(--ink); }
}
@media (min-width: 721px) { .topbar .who { margin-left: 0; } .topbar .tabs { margin-left: auto; } }

/* ---------- tlačítka a formuláře ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid transparent; background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn:hover { background: #2A3459; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn.primary { background: var(--cran); }
.btn.primary:hover { background: var(--cran-dark); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.btn.small { min-height: 36px; padding: 0 13px; font-size: .875rem; }
.btn.danger { background: transparent; color: var(--cran); border-color: transparent; }
.btn.danger:hover { background: var(--cran-soft); }
.linkbtn { background: none; border: 0; padding: 4px 2px; color: var(--ink-2); font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--ink); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

label.field { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
label.field > span.hint { font-weight: 400; color: var(--ink-2); font-size: .82rem; }
.input, textarea.input {
  width: 100%; min-height: 46px; padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--card);
  font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 96px; resize: vertical; line-height: 1.5; }
.input:hover { border-color: #B9C1CE; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(28,35,64,.1); }
.form-grid { display: grid; gap: 14px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-grid.two { grid-template-columns: 1fr; } }
.err { color: var(--cran); font-weight: 600; font-size: .9rem; margin: 0; }
.err:empty { display: none; }

/* ---------- panel ---------- */
.panel { background: var(--card); border-radius: var(--r-l); padding: clamp(18px, 3vw, 26px); box-shadow: var(--shadow); }
.panel.flat { box-shadow: none; border: 1.5px solid var(--line); background: transparent; }

/* přidání položky */
.adder { display: grid; gap: 12px; }
.adder .main { display: flex; gap: 10px; }
.adder .main .input { flex: 1; }
.adder .more { display: grid; gap: 14px; }
.adder .more[hidden] { display: none; }
@media (max-width: 560px) { .adder .main { flex-direction: column; } }

/* ---------- položky ---------- */
.items { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start;
  background: var(--card); border-radius: var(--r-m); padding: 14px 16px;
  box-shadow: var(--shadow); transition: opacity .3s;
}
.item.no-check { grid-template-columns: 1fr auto; }
.item .thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.item .body { min-width: 0; display: grid; gap: 4px; }
.item .title { font-weight: 600; font-size: 1.05rem; line-height: 1.3; overflow-wrap: anywhere; display: flex; gap: 12px; align-items: flex-start; }
.item .title > span {
  background: linear-gradient(var(--ink-3), var(--ink-3)) no-repeat 0 55% / 0 2px;
  transition: background-size .45s var(--ease), color .3s;
}
.item.bought .title > span { background-size: 100% 2px; color: var(--ink-2); }
.item.bought { opacity: .78; }
.item .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; color: var(--ink-2); align-items: center; }
.item .price { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.item .note { font-size: .92rem; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.item .actions { display: flex; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.item a.ext { font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .item { grid-template-columns: auto 1fr; }
  .item.no-check { grid-template-columns: 1fr; }
  .item .actions { grid-column: 1 / -1; justify-content: flex-start; margin-left: -4px; }
}
.badge {
  display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 2px 9px;
  font-size: .78rem; font-weight: 600; background: var(--paper); color: var(--ink-2); white-space: nowrap;
}
.badge.from { background: var(--brass-soft); color: #7A5A17; }
.badge.best { background: var(--brass); color: var(--ink); }
.badge.mine { background: var(--spruce-soft); color: var(--spruce); }

/* razítko „koupeno“ */
.stamp { position: relative; width: 30px; height: 30px; margin-top: 2px; flex: none; }
.stamp input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.stamp i {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--line); background: var(--card);
  transition: background .25s var(--ease), border-color .25s, transform .25s var(--ease);
}
.stamp i::after {
  content: ""; position: absolute; left: 9px; top: 5px; width: 8px; height: 14px;
  border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease);
}
.stamp:hover i { border-color: var(--spruce); }
.stamp input:checked + i { background: var(--spruce); border-color: var(--spruce); transform: rotate(-8deg); }
.stamp input:checked + i::after { transform: rotate(45deg) scale(1); }
.stamp input:focus-visible + i { outline: 3px solid var(--focus); outline-offset: 2px; }

.empty {
  border: 1.5px dashed #BCC4D2; border-radius: var(--r-m); padding: 26px 20px; text-align: center; color: var(--ink-2);
  display: grid; gap: 6px; justify-items: center;
}
.empty strong { color: var(--ink); font-family: var(--display); font-size: 1.15rem; }

/* ---------- visačky (lidé) ---------- */
.tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 18px; padding: 6px 4px; }
.tag {
  --tag-bg: var(--cran); --tag-ink: #FFF4F0;
  position: relative; display: grid; gap: 10px; align-content: space-between; min-height: 150px;
  padding: 20px 20px 18px 48px; color: var(--tag-ink); background: var(--tag-bg); text-decoration: none;
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 30px 100%, 0 50%);
  border-radius: 0 var(--r-m) var(--r-m) 0;
  transform: rotate(var(--tilt, -1deg)); transition: transform .3s var(--ease);
}
.tag::before {
  content: ""; position: absolute; left: 20px; top: 50%; width: 13px; height: 13px; margin-top: -6.5px;
  border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 2px rgba(0,0,0,.35);
}
.tag:hover { transform: rotate(0deg) translateY(-3px); }
.tag:nth-child(4n+2) { --tag-bg: var(--spruce); --tag-ink: #EEF7F2; --tilt: 1.2deg; }
.tag:nth-child(4n+3) { --tag-bg: var(--ink); --tag-ink: #E8EBF6; --tilt: -.6deg; }
.tag:nth-child(4n+4) { --tag-bg: var(--brass); --tag-ink: var(--ink); --tilt: .9deg; }
.tag .name { font: 800 1.7rem/1 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.tag .stat { font-size: .9rem; opacity: .9; }
.tag .bar { height: 5px; border-radius: 99px; background: rgba(255,255,255,.25); overflow: hidden; }
.tag .bar i { display: block; height: 100%; background: currentColor; border-radius: inherit; }
@media (max-width: 560px) {
  .tags { padding: 6px 8px; gap: 18px; }
  .tag { min-height: 118px; margin: 0 6px; --tilt: -.6deg; }
  .tag:nth-child(4n+2) { --tilt: .7deg; }
  .tag:nth-child(4n+3) { --tilt: -.4deg; }
  .tag:nth-child(4n+4) { --tilt: .5deg; }
}
.tag.add {
  --tag-bg: transparent; --tag-ink: var(--ink); clip-path: none; border-radius: var(--r-m);
  border: 2px dashed #B7C0CF; padding: 18px; transform: none; align-content: center;
}
.tag.add::before { display: none; }
.tag.add form { display: grid; gap: 10px; }

/* hlavička člověka */
.person-head { display: grid; gap: 18px; margin: 10px 0 30px; }
.person-head .tag { min-height: 0; padding: 22px 26px 22px 54px; max-width: 560px; margin-right: 10px; --tilt: -1.2deg; }
.person-head .tag:hover { transform: rotate(var(--tilt)); }
.person-head .tag .name { font-size: clamp(2.1rem, 8vw, 3.4rem); }
.back { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.back:hover { color: var(--ink); }

.totals { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.totals div { display: grid; }
.totals b { font: 800 1.6rem/1.1 var(--display); font-variant-numeric: tabular-nums; }
.totals span { font-size: .85rem; color: var(--ink-2); }

/* sdílení */
.share { display: grid; gap: 12px; }
.share .linkbox { display: flex; gap: 8px; }
.share .linkbox .input { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 560px) { .share .linkbox { flex-direction: column; } }

/* obchody */
.shops { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.shops li { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: var(--r-m); padding: 12px 14px 12px 18px; box-shadow: var(--shadow); }
.shops li .body { flex: 1; min-width: 0; }
.shops li b { font-family: var(--display); font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 14px;
  font-weight: 600; font-size: .9rem; cursor: pointer; text-decoration: none; display: inline-flex; gap: 6px; align-items: center;
  transition: border-color .2s, background .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.pref { border-color: var(--spruce); color: var(--spruce); background: var(--spruce-soft); }

/* ---------- modal ---------- */
.modal-back {
  position: fixed; inset: 0; z-index: 50; background: rgba(20, 25, 45, .5);
  display: grid; place-items: center; padding: 16px; animation: fade .2s ease;
}
.modal {
  width: min(680px, 100%); max-height: min(88vh, 900px); overflow: auto; overscroll-behavior: contain;
  background: var(--paper); border-radius: var(--r-l); padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); animation: rise .28s var(--ease);
}
.modal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(28,35,64,.08); cursor: pointer; font-size: 1.3rem; line-height: 1; }
.close:hover { background: rgba(28,35,64,.15); }
@media (max-width: 560px) {
  .modal-back { place-items: end center; padding: 0; }
  .modal { border-radius: var(--r-l) var(--r-l) 0 0; max-height: 92vh; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* hledání cen */
.results { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.result {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; width: 100%;
  text-align: left; background: var(--card); border: 1.5px solid transparent; border-radius: var(--r-m); padding: 10px 12px; cursor: pointer;
  transition: border-color .15s;
}
.result:hover { border-color: var(--ink); }
.result img { width: 56px; height: 56px; object-fit: contain; }
.result .nm { font-weight: 600; line-height: 1.3; }
.result .pr { font: 700 1.05rem var(--display); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.offer { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; background: var(--card); border-radius: var(--r-m); padding: 12px 14px; border: 1.5px solid transparent; }
.offer.is-mine { border-color: var(--spruce); }
.offer .shop { font-weight: 700; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.offer .pr { font: 800 1.2rem var(--display); text-align: right; font-variant-numeric: tabular-nums; }
.offer .sub { grid-column: 1 / -1; font-size: .85rem; color: var(--ink-2); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.loading { padding: 20px 0; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.loading::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--cran); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- přihlášení ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth .hero {
  background: var(--ink); color: var(--paper); padding: clamp(28px, 6vw, 72px);
  display: grid; align-content: space-between; gap: 40px; position: relative; overflow: hidden;
}
.auth .hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 11ch; }
.auth .hero p { color: #C3C8DC; max-width: 40ch; font-size: 1.05rem; }
.auth .hero .tag { position: absolute; right: -30px; top: 140px; width: 280px; min-height: 120px; --tilt: -8deg; --tag-bg: var(--cran); --tag-ink: #FFF4F0; pointer-events: none; }
.auth .hero .tag::before { background: var(--ink); }
.auth .form-side { display: grid; place-items: center; padding: 40px var(--gutter); }
.auth .form-side > div { width: min(400px, 100%); display: grid; gap: 22px; }
.seg { display: flex; background: rgba(28,35,64,.07); border-radius: 999px; padding: 4px; }
.seg button { flex: 1; border: 0; background: transparent; border-radius: 999px; padding: 10px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.seg button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
@media (max-width: 800px) {
  .auth { grid-template-columns: 1fr; }
  .auth .hero { min-height: 0; padding-bottom: 110px; }
  .auth .hero .tag { width: 200px; right: -20px; top: auto; bottom: 16px; min-height: 80px; }
  .auth .hero .tag .name { font-size: 1.3rem; }
}

/* ---------- veřejné stránky ---------- */
.public { min-height: 100vh; padding-bottom: 60px; }
.hang { position: relative; display: grid; justify-items: center; padding: 0 var(--gutter); }
.hang .string { width: 2px; height: clamp(40px, 10vh, 90px); background: var(--ink-3); }
.hang .bigtag {
  position: relative; width: min(560px, 100%); background: var(--cran); color: #FFF4F0;
  border-radius: 6px 6px var(--r-l) var(--r-l); padding: 70px clamp(22px, 5vw, 40px) clamp(26px, 5vw, 38px);
  clip-path: polygon(50% 0, 100% 46px, 100% 100%, 0 100%, 0 46px);
  transform-origin: 50% -60px; animation: sway 2.4s var(--ease) both;
  display: grid; gap: 16px;
}
.hang .bigtag::before {
  content: ""; position: absolute; left: 50%; top: 26px; width: 16px; height: 16px; margin-left: -8px;
  border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 3px rgba(0,0,0,.4);
}
.hang .bigtag .to { font: 800 clamp(2.4rem, 10vw, 4rem)/.95 var(--display); letter-spacing: -.03em; }
.hang .bigtag .msg { font-size: clamp(1.05rem, 3.6vw, 1.25rem); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.hang .bigtag .from { font-family: var(--display); font-weight: 600; opacity: .85; }
.hang .bigtag.ink { background: var(--ink); color: var(--paper); }
@keyframes sway { 0% { transform: rotate(5deg); } 35% { transform: rotate(-3deg); } 65% { transform: rotate(1.4deg); } 100% { transform: rotate(-.6deg); } }
.public .content { max-width: 620px; margin: 34px auto 0; padding: 0 var(--gutter); display: grid; gap: 22px; }
.public .foot { text-align: center; margin-top: 40px; color: var(--ink-2); font-size: .9rem; }
.sent { background: var(--spruce-soft); color: var(--spruce); border-radius: var(--r-m); padding: 14px 16px; font-weight: 600; }

/* ---------- toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px); text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 721px) { #toast { bottom: 28px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
