@font-face{font-family:'Aref Ruqaa';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/aref-ruqaa-arabic-400-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}
@font-face{font-family:'Aref Ruqaa';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/aref-ruqaa-latin-400-normal.woff2) format('woff2');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:'Aref Ruqaa';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/aref-ruqaa-arabic-700-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}
@font-face{font-family:'Aref Ruqaa';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/aref-ruqaa-latin-700-normal.woff2) format('woff2');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:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2) format('woff2');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:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-latin-500-normal.woff2) format('woff2');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:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-latin-600-normal.woff2) format('woff2');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{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}*,*::before,*::after{box-sizing:border-box}img{max-width:100%}[hidden]{display:none!important}
/* Layout: one full-screen tabletop seen from above. The dish sits in the middle of the scene,
   and the words sit above and below it like a note left beside a gift. Deliberately one light look:
   the scene is a physical surface in daylight. */
:root {
  --table: #ecdecf;
  --cream: #f6ebe3;
  --paper: #fcf7f0;
  --ink: #573b2b;
  --ink-soft: #8a6b56;
  --line: #e1d1bf;
  --gold: #b48d58;
  --shade: 87, 59, 43;
  --f-hand: "Aref Ruqaa", "Amiri", "Noto Naskh Arabic", "Times New Roman", serif;
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, "Geeza Pro", system-ui, sans-serif;
  --step-hand: clamp(30px, 8.4vw, 42px);
  --step-lead: clamp(17px, 4.6vw, 19px);
  --step-body: 16px;
  --step-small: 13.5px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
html, body { height: 100%; }
body {
  margin: 0; background: var(--table); color: var(--ink);
  font-family: var(--f-body); font-size: var(--step-body); line-height: 1.6;
  overflow: hidden; -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
}
button, input, textarea { font: inherit; color: inherit; }
.app { position: relative; height: 100%; overflow: hidden; direction: rtl; }
.scene { position: absolute; inset: 0; background: var(--table) center / cover no-repeat; }
.scene::after { /* soft daylight vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,.18), transparent 55%),
              radial-gradient(140% 110% at 50% 50%, transparent 60%, rgba(var(--shade), .10));
}
#cv { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; z-index: 1; }

/* Words around the dish */
.top, .bottom {
  position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.top { top: 0; padding-block: clamp(18px, 4.5vh, 44px) 0; gap: 2px; }
.bottom { bottom: 0; padding-block: 0 max(22px, 4vh); gap: 12px; }
.top > *, .bottom > * { max-width: 440px; }
.hand { font-family: var(--f-hand); font-weight: 700; font-size: var(--step-hand); line-height: 1.35; margin: 0; text-wrap: balance; }
.lead { font-size: var(--step-lead); color: var(--ink-soft); margin: 0; text-wrap: balance; }
.from { font-family: var(--f-hand); font-size: clamp(20px, 5.4vw, 25px); color: var(--ink-soft); margin: 0; }
.fade { transition: opacity .5s ease, transform .5s ease; }
.fade.out { opacity: 0; transform: translateY(6px); }

.btn {
  pointer-events: auto; border: 0; cursor: pointer;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: 17px; letter-spacing: 0;
  box-shadow: 0 10px 24px -12px rgba(var(--shade), .7), inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .18s ease, opacity .4s ease, box-shadow .2s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible, .ghost:focus-visible, .chip:focus-visible, .scoop-opt:focus-within, .icon-btn:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}
.btn.soft { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 8px 20px -14px rgba(var(--shade), .6); }
.ghost {
  pointer-events: auto; border: 0; background: none; cursor: pointer; color: var(--ink-soft);
  font-size: 15px; padding: 10px 14px; text-decoration: underline; text-underline-offset: 4px;
}
.btn[hidden], .ghost[hidden] { display: none !important; }
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 10px 24px -12px rgba(var(--shade), .7), 0 0 0 0 rgba(var(--shade), .28); } 50% { box-shadow: 0 10px 24px -12px rgba(var(--shade), .7), 0 0 0 10px rgba(var(--shade), 0); } }

.icon-btn {
  position: absolute; z-index: 5; top: calc(10px + env(safe-area-inset-top, 0px)); left: calc(10px + env(safe-area-inset-left, 0px));
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(252,247,240,.7); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(var(--shade), .08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.icon-btn svg { width: 20px; height: 20px; }

/* hint words that appear under the beads */
.labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.label {
  position: absolute; transform: translate(-50%, 0); width: max-content; text-align: center; line-height: 1.3; text-wrap: balance;
  font-family: var(--f-hand); font-weight: 700; font-size: clamp(18px, 4.8vw, 22px); color: var(--ink);
  opacity: 0; translate: 0 -6px; transition: opacity .5s ease, translate .5s ease;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}
.label.on { opacity: 1; translate: 0 0; }

/* The card */
.layer {
  position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r); padding-block: clamp(24px, 6vh, 56px) 40px;
  background: rgba(239,228,216,.55); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  opacity: 0; transition: opacity .6s ease;
}
.layer.show { opacity: 1; }
.card {
  position: relative; width: 100%; max-width: 400px; box-sizing: border-box;
  padding: 26px 12px 16px; border: 18px solid transparent;
  border-image: var(--paper-img, none) 62 fill / 18px stretch;
  background: var(--card-bg, var(--paper)) padding-box;
  filter: drop-shadow(0 22px 26px rgba(var(--shade), .28)) drop-shadow(0 2px 3px rgba(var(--shade), .1));
  transform: translateY(40px) rotate(-1.2deg); transition: transform .9s cubic-bezier(.2,.8,.2,1);
  text-align: center;
  -webkit-user-select: text; user-select: text;
}
.layer.show .card { transform: translateY(0) rotate(-1.2deg); }
.card { transform: scale(.985) rotate(-1.2deg); transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .6s; }
.layer.show .card { transform: scale(1) rotate(-1.2deg); }
.flyer {
  position: absolute; z-index: 8; pointer-events: none; transform-origin: 0 0;
  transition: transform 1s cubic-bezier(.35,.7,.2,1); filter: drop-shadow(0 10px 12px rgba(var(--shade), .35));
}
.reveal { opacity: 0; translate: 0 8px; pointer-events: none; transition: opacity .7s ease, translate .7s ease; }
.reveal.in { opacity: 1; translate: 0 0; pointer-events: auto; }
.labels.dim .label { opacity: .4; transition: opacity .5s; }
.card .to { font-family: var(--f-hand); font-weight: 700; font-size: clamp(30px, 8vw, 38px); margin: 0 0 14px; line-height: 1.3; }
.card .msg { white-space: pre-line; font-size: 17px; line-height: 1.95; margin: 0; color: var(--ink); text-wrap: pretty; overflow-wrap: anywhere; }
.card .sig { font-family: var(--f-hand); font-size: 24px; margin: 20px 0 0; color: var(--ink-soft); }
.card .mark { display: block; width: 92px; margin: 26px auto 0; opacity: .85; }
.card .seal { position: absolute; top: -44px; left: 6px; width: 64px; height: 64px; filter: drop-shadow(0 8px 10px rgba(var(--shade), .35)); }
.after { width: 100%; max-width: 400px; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 26px; text-align: center; }
.after .hand { font-size: clamp(25px, 6.6vw, 30px); }
.after p { margin: 0; }
.after .note { font-size: var(--step-small); color: var(--ink-soft); }
.saved { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; max-width: 400px; margin-top: 18px; }
.saved img { width: 100%; max-width: 320px; border-radius: 8px; box-shadow: 0 16px 34px -18px rgba(var(--shade), .6); -webkit-user-select: auto; user-select: auto; -webkit-touch-callout: default; }
.saved p { margin: 0; font-size: var(--step-small); color: var(--ink-soft); text-align: center; }

/* The gift maker */
.maker { background: var(--cream); backdrop-filter: none; -webkit-backdrop-filter: none; }
.maker-inner { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 18px; -webkit-user-select: text; user-select: text; }
.maker-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.maker-head img { width: 84px; opacity: .9; }
.dots { display: flex; gap: 6px; direction: rtl; }
.dots i { width: 22px; height: 4px; border-radius: 2px; background: var(--line); transition: background .3s; }
.dots i.on { background: var(--ink); }
.step { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.maker h2 { font-family: var(--f-hand); font-weight: 700; font-size: clamp(28px, 7.6vw, 34px); line-height: 1.3; margin: 0; text-wrap: balance; }
.maker .sub { margin: -8px 0 0; color: var(--ink-soft); font-size: 15px; }
.for-store {
  background: var(--paper); border-radius: 14px; padding: 14px 16px; font-size: 14.5px; line-height: 1.8;
  box-shadow: inset 0 0 0 1px var(--line);
}
.for-store b { font-weight: 600; }
.for-store .ghost { display: block; padding: 8px 0 0; font-size: 14.5px; color: var(--ink); }
.scoop-list { display: grid; gap: 10px; }
.scoop-opt { position: relative; display: block; cursor: pointer; }
.scoop-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.scoop-opt .box {
  display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s;
}
.scoop-opt input:checked + .box { box-shadow: inset 0 0 0 2px var(--ink); background: #fffaf4; }
.scoop-opt .ic { width: 46px; height: 46px; }
.scoop-opt .nm { font-weight: 600; font-size: 16px; line-height: 1.4; min-width: 0; }
.scoop-opt .hn { display: block; font-weight: 400; font-size: 13px; color: var(--ink-soft); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea {
  border: 0; border-radius: 12px; background: var(--paper); padding: 13px 14px; font-size: 16px;
  box-shadow: inset 0 0 0 1px var(--line); outline: none; resize: none; direction: rtl;
}
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.beads-set { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.beads-set legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 4px; }
.beads-sub { margin: 0 0 4px; font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }
.bead-row { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; }
.bead-row canvas { width: 36px; height: 36px; }
.bead-row input {
  border: 0; border-radius: 12px; background: var(--paper); padding: 11px 14px; font-size: 16px; min-width: 0;
  box-shadow: inset 0 0 0 1px var(--line); outline: none; direction: rtl;
}
.bead-row input:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.mini-beads { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.mini-beads span { font-size: 13px; background: #f3e4d4; color: var(--ink); border-radius: 999px; padding: 3px 11px; }
.field textarea { min-height: 128px; line-height: 1.8; }
.field .count.over { color: #9a3b22; }
.field .count { direction: rtl; align-self: flex-end; font-size: 12.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.tip { font-size: 14px; background: #f3e4d4; border-radius: 12px; padding: 10px 14px; margin: 0; }
.err { color: #9a3b22; font-size: 14px; margin: 0; min-height: 1.4em; }
.row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.row .btn { flex: 1 1 180px; }
.mini {
  border: 14px solid transparent; border-image: var(--paper-img, none) 62 fill / 14px stretch;
  background: var(--card-bg, var(--paper)) padding-box; padding: 14px 10px 10px; text-align: center;
  filter: drop-shadow(0 14px 18px rgba(var(--shade), .25)); transform: rotate(-.8deg);
}
.mini .to { font-family: var(--f-hand); font-weight: 700; font-size: 28px; margin: 0 0 8px; }
.mini .msg { white-space: pre-line; margin: 0; line-height: 1.9; overflow-wrap: anywhere; }
.mini .sig { font-family: var(--f-hand); font-size: 21px; color: var(--ink-soft); margin: 12px 0 0; }
.mini .kind { font-size: 13px; color: var(--ink-soft); margin: 10px 0 0; }
.linkbox {
  direction: ltr; font-size: 12.5px; background: var(--paper); border-radius: 10px; padding: 10px 12px; color: var(--ink-soft);
  overflow-wrap: anywhere; max-height: 4.8em; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); -webkit-user-select: all; user-select: all;
}
.credit { text-align: center; font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }
.credit a { color: inherit; }
.toast {
  position: absolute; z-index: 9; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px);
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-size: 15px;
  opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .fade, .label, .layer, .card, .btn { transition-duration: .01s !important; }
  .pulse { animation: none; }
}
@media (min-width: 700px) {
  .top { padding-top: 34px; }
}
