:root {
  color-scheme: light;
  --canvas: #f7f3e8;
  --paper: #fffdf6;
  --ink: #353334;
  --muted: #625856;
  --rule: #d8cbbb;
  --wine: #7b1e33;
  --wine-ink: #7b1e33;
  --on-wine: #fff9ec;
  --teal: #63a5a5;
  --teal-ink: #205452;
  --wash: #e1eeea;
  --peach: #ffdec2;
  --focus: #236b68;
  --body: system-ui, "Segoe UI", sans-serif;
  --heading: Georgia, "Times New Roman", serif;
}

:root[lang="ar"] {
  --heading: "Aref Ruqaa", "Traditional Arabic", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --canvas: #201b1b;
    --paper: #2c2425;
    --ink: #fff5e7;
    --muted: #d4c2b8;
    --rule: #685454;
    --wine: #691a2d;
    --wine-ink: #ffc5c4;
    --on-wine: #fff9ec;
    --teal-ink: #a7ded7;
    --wash: #283d3b;
    --peach: #543536;
    --focus: #9ce4da;
  }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  min-block-size: 100vh;
  margin: 0;
  border-block-start: 5px solid var(--wine);
  background: var(--canvas);
  color: var(--ink);
  font: 1rem / 1.55 var(--body);
}

header, main, footer {
  max-inline-size: 32rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

header, .brand { display: flex; align-items: center; }
header { justify-content: space-between; gap: .75rem; padding-block: .875rem .75rem; }
.brand { gap: .625rem; min-inline-size: 0; }
.brand img { flex: none; border-radius: 50%; }
.brand h1 {
  margin: 0;
  color: var(--wine-ink);
  font: 700 clamp(1.25rem, 5vw, 1.75rem) / 1.15 var(--heading);
}

main { padding-block: 1rem .25rem; }
main > h2, .receipt h2 {
  margin-block: 0 1rem;
  color: var(--wine-ink);
  font: 700 clamp(1.9rem, 8vw, 2.75rem) / 1.2 var(--heading);
  letter-spacing: -.025em;
  text-wrap: balance;
}
:root[dir="rtl"] h2 { letter-spacing: normal; }

ul { list-style: none; margin: 0; padding: 0; }
p { margin-block: 0 1rem; }
bdi { overflow-wrap: anywhere; }

button {
  min-block-size: 44px;
  padding: .5rem .75rem;
  border: 1px solid var(--rule);
  border-radius: .5rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
button:hover:not(:disabled) { border-color: var(--teal-ink); }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h2:focus:not(:focus-visible) { outline: none; }
header button { color: var(--teal-ink); font-size: .875rem; font-weight: 700; }

.quiz-progress {
  display: grid;
  grid-template-columns: auto minmax(2rem, 1fr);
  align-items: center;
  gap: .75rem;
  margin-block-end: 1rem;
  padding-block: .625rem;
  border-block: 1px solid var(--rule);
}
.quiz-progress p { margin: 0; color: var(--teal-ink); font-size: .8125rem; font-weight: 700; }
progress { inline-size: 100%; block-size: .5rem; border: 0; border-radius: 999px; overflow: hidden; background: var(--wash); color: var(--teal-ink); }
progress::-webkit-progress-bar { background: var(--wash); }
progress::-webkit-progress-value { background: var(--teal-ink); border-radius: 999px; }
progress::-moz-progress-bar { background: var(--teal-ink); border-radius: 999px; }

.choices, .results { display: grid; gap: .625rem; }
.choices button {
  display: flex;
  align-items: center;
  gap: .75rem;
  inline-size: 100%;
  min-block-size: 3.5rem;
  padding: .625rem .75rem;
  text-align: start;
  font-weight: 650;
}
.choices button[aria-pressed="true"] { border-color: var(--teal-ink); background: var(--wash); }
.choice-copy small { display: block; color: var(--muted); font-weight: 400; }

.controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-block: .875rem .25rem;
}
.controls button, footer button { background: transparent; font-size: .875rem; }
.controls .skip, footer button { color: var(--teal-ink); border-color: transparent; text-decoration: underline; text-underline-offset: .2em; }
.controls .skip { margin-inline-start: auto; }
footer { padding-block: .5rem 1rem; }
footer button { padding-inline: 0; }

.podium {
  --stage-height: clamp(10rem, 45vw, 12rem);
  position: relative;
  isolation: isolate;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  margin-block: 1rem;
}
.podium::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  block-size: var(--stage-height);
  border-radius: 1rem 1rem 0 0;
  background: var(--wash);
  content: "";
}
.podium-entry {
  --step: 2.5rem;
  --cup-height: 4.75rem;
  --base: #724535;
  --medal: #f4c8a7;
  --cup: #c87d62;
  --delay: 0ms;
  grid-column: 3;
  grid-row: 1;
  display: grid;
  min-inline-size: 0;
}
.podium-entry[data-place="1"] {
  --step: 4.5rem;
  --cup-height: 5.25rem;
  --base: #7b1e33;
  --medal: #ffdc94;
  --cup: #9c3650;
  --delay: 180ms;
  grid-column: 2;
}
.podium-entry[data-place="2"] {
  --step: 3.5rem;
  --base: #2d5e63;
  --medal: #deeeee;
  --cup: #63a5a5;
  --delay: 90ms;
  grid-column: 1;
}
.result-card {
  display: grid;
  grid-template-rows: var(--stage-height) 1fr;
  inline-size: 100%;
  min-inline-size: 0;
  padding: 0;
  border: 0;
  border-radius: .75rem;
  background: transparent;
  text-align: start;
}
.podium-stage {
  position: relative;
  display: grid;
  place-items: end center;
  padding-block-end: var(--step);
}
.podium-stage::after {
  position: absolute;
  inset: auto .125rem 0;
  block-size: var(--step);
  border: 1px solid #0003;
  border-radius: .375rem .375rem 0 0;
  background: var(--base);
  content: "";
}
.podium-cup {
  position: relative;
  display: grid;
  place-items: center;
  inline-size: min(62%, 4.75rem);
  block-size: var(--cup-height);
  padding-block-start: .375rem;
}
.podium-cup::before, .podium-cup::after {
  position: absolute;
  content: "";
}
.podium-cup::before {
  inset: .375rem .125rem 0;
  background: var(--cup);
  clip-path: polygon(0 0, 100% 0, 84% 100%, 16% 100%);
}
.podium-cup::after {
  inset: 0 0 auto;
  block-size: .625rem;
  border: 1px solid #e4caaa;
  border-radius: .375rem .375rem .125rem .125rem;
  background: #fff6e7;
}
.podium-cup-mark {
  z-index: 1;
  display: grid;
  place-items: center;
  inline-size: 2rem;
  aspect-ratio: 1;
  border: 1px solid #fff8;
  border-radius: 50%;
  background: var(--wash);
  color: #353334;
  font-size: 1rem;
}
.podium-medal {
  position: absolute;
  z-index: 1;
  inset-block-end: calc((var(--step) - 1.75rem) / 2);
  display: grid;
  place-items: center;
  inline-size: 1.75rem;
  aspect-ratio: 1;
  border: 1px solid #35333455;
  border-radius: 50%;
  background: var(--medal);
  color: #35251b;
  font: 750 1rem / 1 var(--body);
}
.podium-ticket {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: .5rem;
  border: 1px solid var(--rule);
  border-radius: 0 0 .75rem .75rem;
  background: var(--paper);
  overflow-wrap: anywhere;
}
.result-card:hover .podium-ticket { border-color: var(--teal-ink); }
.best-card .podium-ticket {
  border-color: var(--wine);
  background: var(--wine);
  color: var(--on-wine);
}
.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.card-role {
  color: var(--teal-ink);
  font-size: .75rem;
  font-weight: 750;
}
.best-card .card-role { color: #ffdec2; }
.item-details { display: grid; gap: .375rem; min-inline-size: 0; }
.item-line {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-inline-size: 0;
}
.item-name { display: grid; justify-items: start; flex: 1; min-inline-size: 0; font-weight: 750; line-height: 1.25; }
.podium-ticket .item-line { display: grid; gap: .375rem; justify-items: start; }
.podium-ticket .item-name { font-size: clamp(.875rem, 3.6vw, 1rem); }
.podium-ticket .item-description, .podium-ticket .match-reason { font-size: .75rem; }
.podium-ticket .card-action { flex-wrap: wrap; gap: .25rem; }
.podium-ticket > .card-action:last-child { margin-block-start: auto; }
.item-name bdi + bdi { margin-block-start: .125rem; font-size: .75rem; font-weight: 450; opacity: .88; }
.item-icon {
  display: grid;
  flex: 0 0 2.25rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: .5rem;
  background: var(--wash);
}
[data-section="latte"], [data-section="hot"] { --wash: #ffdec2; }
[data-section="ice"], [data-section="smoothie"], [data-section="mojito"], [data-section="juice"] { --wash: #d3e9e4; }
[data-section="milkshake"], [data-section="sweets"] { --wash: #efd6df; }
[data-section="snacks"] { --wash: #f3e4c5; }
[data-section="soft"] { --wash: #e5e3d8; }
.price {
  flex: none;
  white-space: nowrap;
  font-size: .875rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.item-description, .notice, .match-reason { font-size: .8125rem; line-height: 1.45; }
.item-description, .notice { color: var(--muted); }
.best-card .item-description { color: var(--on-wine); }
.signature, .allergen { font-size: .75rem; font-weight: 750; color: var(--wine-ink); }
.best-card .signature, .best-card .allergen { color: #ffdec2; }
.match-reason { color: #ffdec2; }
.card-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 750;
}
.arrow { direction: ltr; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.study-tip {
  margin-block: -.25rem .75rem;
  padding: .5rem .75rem;
  border-inline-start: 3px solid var(--teal);
  background: var(--wash);
  color: var(--teal-ink);
  font-size: .8125rem;
}
.notice { margin-block: .75rem; }
.secondary { color: var(--teal-ink); font-weight: 700; inline-size: 100%; }

.receipt {
  position: relative;
  margin-block-end: 1.25rem;
  padding: 1rem 1rem 1.25rem;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.receipt::after {
  position: absolute;
  inset: auto -.0625rem -.5rem;
  block-size: .5rem;
  background: linear-gradient(135deg, var(--paper) 25%, transparent 25%) 0 0 / 1rem 1rem,
    linear-gradient(225deg, var(--paper) 25%, transparent 25%) 0 0 / 1rem 1rem;
  content: "";
}
.receipt h2 { text-wrap: pretty; }
.receipt li { padding-block: .75rem; border-block-start: 1px dashed var(--rule); }
.receipt .item-name { font-size: clamp(1rem, 4.7vw, 1.25rem); }
.receipt .item-line > .price { color: var(--wine-ink); font-size: clamp(1rem, 4.4vw, 1.25rem); }
.receipt [lang="en"], .receipt [lang="ar"] { max-inline-size: 100%; }
.receipt-total {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  margin: 0;
  padding-block-start: .75rem;
  border-block-start: 1px dashed var(--rule);
  font-weight: 750;
}
.receipt-deal {
  padding: .75rem;
  border-radius: .5rem;
  background: var(--wash);
  color: var(--teal-ink);
}
.receipt-deal h3 { margin: 0; font-size: 1rem; }
.receipt-deal dl {
  display: grid;
  gap: .375rem;
  margin-block: .5rem;
  font-size: .875rem;
}
.receipt-amount {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem;
}
.receipt-amount dd { margin: 0; text-align: end; }
.receipt-amount-final {
  padding-block: .375rem;
  border-block: 1px dashed var(--teal);
  font-weight: 750;
}
.receipt-amount-final .price { font-size: 1.375rem; }
.receipt-amount-savings dd {
  padding: .125rem .5rem;
  border: 1px solid var(--teal-ink);
  border-radius: .375rem;
  background: var(--paper);
}
.receipt-deal p { margin-block: .375rem 0; font-size: .8125rem; }
.feedback {
  min-inline-size: 0;
  margin: 0 0 .875rem;
  padding: .625rem .75rem;
  border: 1px solid var(--rule);
  border-radius: .5rem;
}
.feedback legend { padding-inline: .25rem; color: var(--wine-ink); font-weight: 700; }
.feedback-choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.feedback-choices button { min-inline-size: 44px; }
.feedback-choices button[aria-disabled="true"] { opacity: .55; cursor: default; }
.feedback p { margin: .375rem 0 0; color: var(--teal-ink); font-size: .875rem; }
.feedback p:empty { margin: 0; }

dialog {
  max-inline-size: min(30rem, calc(100% - 2rem));
  padding: 1.25rem;
  border: 1px solid var(--rule);
  border-radius: .75rem;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop { background: #171111a8; }
dialog h2 { margin-block: 0 .5rem; color: var(--wine-ink); }

:root {
  --counter-ease: cubic-bezier(.22, 1, .36, 1);
  --brand-trim: url("../assets/layla-arabesque.webp");
}
header {
  position: relative;
  padding-block-end: 1.25rem;
}
header::after {
  position: absolute;
  inset: auto 1rem 0;
  block-size: .75rem;
  background: var(--brand-trim) repeat-x center / auto .75rem;
  pointer-events: none;
  content: "";
}

.cafe-floor {
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  padding: .75rem;
  border: 1px solid var(--rule);
  border-radius: 1rem;
  background: #bca07b;
}
.cafe-floor::before {
  position: absolute;
  inset: calc(50% - 2px) .75rem auto;
  border-block-start: 1px dashed #fff2d6;
  pointer-events: none;
  content: "";
}
.cafe-floor li { display: grid; min-inline-size: 0; }
.cafe-floor li[data-seat="social"] { --zone: #25595a; --floor-accent: #e3c18b; }
.cafe-floor li[data-seat="study"] { --zone: #354b44; --floor-accent: #d1c799; }
.cafe-floor li[data-seat="quick"] { --zone: #743147; --floor-accent: #f8d3a3; }
.cafe-floor li[data-seat="treat"] { --zone: #703e2d; --floor-accent: #ffcfa0; }
.cafe-floor button {
  display: grid;
  grid-template-rows: minmax(3.75rem, auto) auto;
  place-items: center;
  align-content: center;
  gap: .25rem;
  min-block-size: 7rem;
  padding: .5rem .375rem;
  border: 1px solid #ffe9cba0;
  border-radius: .625rem;
  background: var(--zone);
  color: #fff8eb;
  box-shadow: inset 0 0 0 .1875rem #1d131625;
  text-align: center;
}
.cafe-floor button:hover,
.cafe-floor button[aria-pressed="true"] {
  border-color: #fff3c9;
  box-shadow: inset 0 0 0 .1875rem #fff2c93b;
}
.cafe-floor button:focus-visible { outline-color: #fff2c9; outline-offset: -4px; }
.cafe-floor .choice-copy { font-size: clamp(.75rem, 3.6vw, .9375rem); line-height: 1.3; }
.floor-object {
  position: relative;
  display: block;
  inline-size: 4.625rem;
  block-size: 3.75rem;
}
.floor-object i { position: absolute; display: block; }

[data-seat="social"] .floor-object i:nth-child(1) {
  inset: .375rem .875rem;
  border: 2px solid #ffddad;
  border-radius: 50%;
  background: #bd875a;
  box-shadow: 0 .1875rem #162c2c, 0 -.625rem 0 -.375rem #f7d4aa, 0 .625rem 0 -.375rem #f7d4aa;
}
[data-seat="social"] .floor-object i:nth-child(2),
[data-seat="social"] .floor-object i:nth-child(3) {
  inset: 1.125rem auto auto 1.3125rem;
  inline-size: .875rem;
  aspect-ratio: 1;
  border: .1875rem solid #fff0d6;
  border-radius: 50%;
  background: #5d3424;
  box-shadow: 0 0 0 .125rem #f1c693;
}
[data-seat="social"] .floor-object i:nth-child(3) { inset: 1.8125rem 1.3125rem auto auto; }

[data-seat="study"] .floor-object i:nth-child(1) {
  inset: .625rem 1rem .625rem .625rem;
  border: 2px solid var(--floor-accent);
  border-radius: .25rem;
  background: #d6b277;
  box-shadow: .1875rem .1875rem #22352f;
  transform: rotate(-8deg);
}
[data-seat="study"] .floor-object i:nth-child(1)::after {
  position: absolute;
  inset: .375rem .375rem;
  border-inline-start: 1px solid #71543e;
  border-block: 1px solid #71543e;
  content: "";
}
[data-seat="study"] .floor-object i:nth-child(2) {
  inset: .625rem .25rem auto auto;
  inline-size: 1rem;
  aspect-ratio: 1;
  border: .1875rem solid #ffe6c3;
  border-radius: 50%;
  background: #6d4429;
  box-shadow: 0 0 0 .125rem #ceb98d;
}
[data-seat="study"] .floor-object i:nth-child(3) {
  inset: 2.125rem .375rem auto auto;
  inline-size: .25rem;
  block-size: 1.25rem;
  border-radius: 1rem;
  background: #efc693;
  transform: rotate(24deg);
}

[data-seat="quick"] .floor-object i:nth-child(1) {
  inset: .75rem 1.125rem .25rem;
  border: 2px solid #e9b87c;
  border-radius: .25rem .25rem .5rem .5rem;
  background: #edc693;
  box-shadow: .1875rem .1875rem #431e2a, inset -.25rem 0 #cb965f;
  transform: rotate(-7deg);
}
[data-seat="quick"] .floor-object i:nth-child(2) {
  inset: .1875rem 1.625rem auto 1.75rem;
  block-size: 1rem;
  border: 2px solid #f8d3a3;
  border-block-end: 0;
  border-radius: 1rem 1rem 0 0;
  transform: rotate(-7deg);
}
[data-seat="quick"] .floor-object i:nth-child(3) {
  inset: 1.625rem 1.8125rem auto auto;
  inline-size: 1rem;
  aspect-ratio: 1;
  border: 1px solid #9e6445;
  border-radius: 50%;
  background: #8d3750;
}

[data-seat="treat"] .floor-object i:nth-child(1) {
  inset: .375rem .6875rem .375rem;
  border: 2px solid #ffe2b5;
  border-radius: 50%;
  background: #e5b68f;
  box-shadow: 0 .1875rem #513324, inset 0 0 0 .25rem #f5d4b2;
}
[data-seat="treat"] .floor-object i:nth-child(2) {
  inset: 1rem 1.1875rem .875rem;
  background: #8d3b4f;
  clip-path: polygon(8% 10%, 95% 65%, 28% 96%);
  transform: rotate(9deg);
}
[data-seat="treat"] .floor-object i:nth-child(3) {
  inset: 1.25rem auto auto 1.625rem;
  inline-size: .4375rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffd48e;
}

.brew-station {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  padding: .5rem;
  border: 1px solid var(--rule);
  border-radius: .875rem;
  background: var(--wash);
}
.brew-station li { display: grid; min-inline-size: 0; }
.brew-station li[data-brew="hot"] { --station: #743147; --ingredient: #ffd6ad; }
.brew-station li[data-brew="iced"] { --station: #275761; --ingredient: #ceeeeb; }
.brew-station li[data-brew="shake"] { --station: #67415f; --ingredient: #ffd1e4; }
.brew-station li[data-brew="bite"] { --station: #74412f; --ingredient: #ffd4a0; }
.brew-station li[data-brew="any"] { --station: #3e4c3a; --ingredient: #f0daa0; grid-column: 1 / -1; }
.brew-station button {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  min-block-size: 4rem;
  gap: .5rem;
  padding: .5rem;
  border-color: #fff4da77;
  background: var(--station);
  color: #fff9ee;
  font-size: .875rem;
}
.brew-station button:hover, .brew-station button[aria-pressed="true"] {
  border-color: #fff3c9;
  box-shadow: inset 0 0 0 2px #fff2c944;
}
.brew-station button:focus-visible { outline-color: #fff2c9; outline-offset: -4px; }
.brew-object {
  position: relative;
  display: block;
  inline-size: 2.5rem;
  block-size: 2.375rem;
}
.brew-object i { position: absolute; display: block; background: var(--ingredient); }
[data-brew="hot"] .brew-object i:first-child {
  inset: .875rem .5rem .25rem .25rem;
  border-radius: .25rem .25rem .625rem .625rem;
}
[data-brew="hot"] .brew-object i:nth-child(2) {
  inset: 1rem .0625rem auto auto;
  inline-size: .75rem;
  block-size: .6875rem;
  border: 2px solid var(--ingredient);
  border-radius: 50%;
  background: transparent;
}
[data-brew="hot"] .brew-object i:nth-child(3) {
  inset: .125rem auto auto 1rem;
  inline-size: .375rem;
  block-size: .625rem;
  border-inline-start: 2px solid var(--ingredient);
  border-radius: 50%;
  background: transparent;
}
[data-brew="iced"] .brew-object i {
  inset: .375rem auto auto .1875rem;
  inline-size: .9375rem;
  aspect-ratio: 1;
  border: 1px solid #f0fffc;
  border-radius: .25rem;
  box-shadow: inset .125rem .125rem #86bfc5;
  transform: rotate(-15deg);
}
[data-brew="iced"] .brew-object i:nth-child(2) { inset: auto .625rem .25rem auto; transform: rotate(12deg); }
[data-brew="iced"] .brew-object i:nth-child(3) { inset: .25rem .125rem auto auto; transform: rotate(21deg); }
[data-brew="shake"] .brew-object i:first-child {
  inset: .5rem .5rem .125rem;
  border-radius: .25rem;
  box-shadow: inset -.25rem 0 #c37fa2;
  clip-path: polygon(0 0, 100% 0, 78% 100%, 22% 100%);
}
[data-brew="shake"] .brew-object i:nth-child(2) {
  inset: .375rem .375rem auto;
  block-size: .25rem;
  border-radius: .25rem;
  background: #fff2ee;
}
[data-brew="shake"] .brew-object i:nth-child(3) {
  inset: .0625rem .6875rem auto auto;
  inline-size: .1875rem;
  block-size: .5rem;
  border-radius: .125rem;
  transform: rotate(19deg);
}
[data-brew="bite"] .brew-object i:first-child {
  inset: .25rem .1875rem;
  border: 2px solid #fff1d0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 .1875rem #e6a974;
}
[data-brew="bite"] .brew-object i:nth-child(2) {
  inset: .625rem .625rem .5rem;
  background: #943649;
  clip-path: polygon(0 0, 100% 62%, 17% 100%);
}
[data-brew="bite"] .brew-object i:nth-child(3) {
  inset: .6875rem auto auto .875rem;
  inline-size: .3125rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffd184;
}
[data-brew="any"] .brew-object i {
  inset: .5rem auto auto .875rem;
  inline-size: .875rem;
  aspect-ratio: 1;
  clip-path: polygon(50% 0, 65% 34%, 100% 50%, 65% 65%, 50% 100%, 34% 65%, 0 50%, 34% 34%);
}
[data-brew="any"] .brew-object i:nth-child(2) { inset: .125rem .125rem auto auto; inline-size: .625rem; }
[data-brew="any"] .brew-object i:nth-child(3) { inset: auto auto .25rem .125rem; inline-size: .625rem; }

[data-flavor="coffee"] { --flavor-ink: #593a2c; --flavor-fill: #e9be9a; }
[data-flavor="sweet"] { --flavor-ink: #71314e; --flavor-fill: #f1bed0; }
[data-flavor="fruity"] { --flavor-ink: #8a372d; --flavor-fill: #ffc6a1; }
[data-flavor="mint"] { --flavor-ink: #1f5b50; --flavor-fill: #c1e4d2; }
[data-flavor="savory"] { --flavor-ink: #66461d; --flavor-fill: #eed49b; }
[data-flavor="any"] { --flavor-ink: #464f51; --flavor-fill: #e3e0d0; }
.flavor-shelf {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  padding: .5rem;
  border: 1px solid var(--rule);
  border-radius: .875rem;
  background: var(--wash);
}
.flavor-shelf li { display: grid; min-inline-size: 0; }
.flavor-shelf button {
  display: grid;
  justify-items: center;
  align-content: center;
  min-block-size: 6.5rem;
  gap: .375rem;
  padding: .375rem .25rem;
  text-align: center;
}
.flavor-shelf button[aria-pressed="true"] {
  border-color: var(--teal-ink);
  box-shadow: inset 0 0 0 1px var(--teal-ink);
}
.flavor-shelf .choice-copy {
  overflow-wrap: anywhere;
  font-size: .75rem;
  line-height: 1.25;
}
.flavor-jar {
  position: relative;
  display: grid;
  place-items: center;
  inline-size: 2.5rem;
  block-size: 2.5rem;
  border: 1px solid var(--flavor-ink);
  border-radius: .375rem .375rem .625rem .625rem;
  background: var(--flavor-fill);
  color: var(--flavor-ink);
  box-shadow: inset -.25rem 0 #421d2425;
}
.flavor-jar::before {
  position: absolute;
  inset: -.25rem -.125rem auto;
  block-size: .5rem;
  border: 1px solid #795c4a;
  border-radius: .25rem .25rem .125rem .125rem;
  background: #b5916c;
  content: "";
}
.flavor-jar i { font-style: normal; font-size: 1.25rem; }

[data-budget="light"] { --budget-accent: #2c6259; --budget-coin: #e3bc79; }
[data-budget="classic"] { --budget-accent: #70502e; --budget-coin: #efc676; }
[data-budget="combo"] { --budget-accent: #763548; --budget-coin: #ffd6ab; }
[data-budget="student"] { --budget-accent: #354b64; --budget-coin: #daeadc; }
.budget-tray {
  gap: .5rem;
  padding: .5rem;
  border: 1px solid #ae8e6b;
  border-radius: .875rem;
  background: #bda17d;
}
.budget-tray li { min-inline-size: 0; }
.budget-tray button {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: .625rem;
  min-block-size: 3.75rem;
  padding: .5rem;
}
.budget-tray button[aria-pressed="true"] { border-color: var(--teal-ink); background: var(--wash); }
.budget-tray .choice-copy { font-size: .9375rem; line-height: 1.3; }
.budget-tray .choice-copy small {
  margin-block-start: .125rem;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.4;
}
.budget-object {
  position: relative;
  display: block;
  inline-size: 3rem;
  block-size: 2.5rem;
  border-radius: .5rem;
  background: var(--budget-accent);
}
.budget-object i { position: absolute; display: block; }
[data-budget="light"] .budget-object i:first-child,
[data-budget="classic"] .budget-object i {
  inset: .5rem auto auto .75rem;
  inline-size: 1.5rem;
  aspect-ratio: 1;
  border: 2px solid #ffdfa0;
  border-radius: 50%;
  background: var(--budget-coin);
  box-shadow: inset 0 0 0 .125rem #b17b48, 0 .125rem #70452f;
}
[data-budget="classic"] .budget-object i { inline-size: 1.125rem; }
[data-budget="classic"] .budget-object i:nth-child(1) { inset: .5rem auto auto .375rem; }
[data-budget="classic"] .budget-object i:nth-child(2) { inset: .875rem .375rem auto auto; }
[data-budget="classic"] .budget-object i:nth-child(3) { inset: .4375rem .5rem auto auto; }
[data-budget="combo"] .budget-object i:first-child {
  inset: .625rem auto .5rem .375rem;
  inline-size: .875rem;
  border-radius: .125rem .125rem .25rem .25rem;
  background: var(--budget-coin);
  clip-path: polygon(0 0,100% 0,85% 100%,15% 100%);
}
[data-budget="combo"] .budget-object i:nth-child(2) {
  inset: 1rem .25rem .5rem auto;
  inline-size: 1.25rem;
  border-radius: 50%;
  background: #edd1ad;
}
[data-budget="combo"] .budget-object i:nth-child(3) {
  inset: 1.0625rem .5rem auto auto;
  inline-size: .75rem;
  block-size: .5rem;
  background: #aa5b66;
  clip-path: polygon(4% 5%, 98% 61%, 14% 100%);
}
.budget-id i:first-child {
  inset: .5rem .375rem;
  border: 1px solid #f5f0d9;
  border-radius: .25rem;
  background: var(--budget-coin);
}
.budget-id i:nth-child(2) {
  inset: .875rem auto auto .625rem;
  inline-size: .5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--budget-accent);
}
.budget-id i:nth-child(3) {
  inset: .9375rem .625rem auto auto;
  inline-size: .875rem;
  block-size: .375rem;
  border-block: 1px solid var(--budget-accent);
}

.counter-scene {
  position: relative;
  isolation: isolate;
  min-block-size: 6rem;
  margin-block-end: .75rem;
  overflow: clip;
  border: 1px solid var(--rule);
  border-radius: .875rem;
}
.counter-scene {
  --cup: #8e2c44;
  --cup-height: 3.5rem;
  display: grid;
  place-items: end center;
  padding-block-end: .75rem;
  background: var(--wash);
}
.counter-scene::before {
  position: absolute;
  z-index: -1;
  inset: auto 0 .75rem;
  block-size: 1.625rem;
  background: var(--brand-trim) repeat-x center / auto 1.625rem;
  opacity: .48;
  content: "";
}
.counter-arch {
  position: absolute;
  z-index: -1;
  inset: .5rem 12% 0;
  border: 1px solid #63a5a5;
  border-block-end: 0;
  border-radius: 8rem 8rem 0 0;
  opacity: .8;
}
.counter-arch::after {
  position: absolute;
  inset: .25rem .5rem 0;
  border: 1px solid #63a5a5;
  border-block-end: 0;
  border-radius: inherit;
  content: "";
}
.counter-ledge {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  block-size: .75rem;
  border-block-start: 2px solid #efc28a;
  background: var(--wine);
}
.counter-cup { inline-size: 2.75rem; }
.counter-cup .podium-cup-mark { inline-size: 1.5rem; font-size: .8125rem; background: #ffdec2; }
.counter-scene[data-vibe="social"][data-format="empty"] { --cup: #25595a; }
.counter-scene[data-vibe="study"][data-format="empty"] { --cup: #354b44; }
.counter-scene[data-vibe="quick"][data-format="empty"] { --cup: #743147; }
.counter-scene[data-vibe="treat"][data-format="empty"] { --cup: #703e2d; }
.counter-scene[data-format="iced"] { --cup: #2d7878; }
.counter-scene[data-format="shake"] { --cup: #9b4969; }
.counter-scene[data-format="bite"] { --cup: #a66141; }
.counter-scene[data-format="hot"] {
  --cup: #a64b55;
  --cup-height: 2.75rem;
}
.counter-scene[data-format="hot"] .counter-cup { inline-size: 3.25rem; padding: 0; }
.counter-scene[data-format="hot"] .counter-cup::before {
  inset: 0 .375rem 0 0;
  border-radius: .25rem .25rem 1rem 1rem;
  clip-path: none;
}
.counter-scene[data-format="hot"] .counter-cup::after {
  inset: .5rem -.25rem auto auto;
  inline-size: .875rem;
  block-size: 1.25rem;
  border: .2rem solid #a64b55;
  border-radius: 50%;
  background: transparent;
}
.counter-scene[data-format="iced"], .counter-scene[data-format="shake"] {
  --cup-height: 4rem;
  min-block-size: 6.5rem;
}
.counter-scene[data-format="iced"] .counter-cup::after,
.counter-scene[data-format="shake"] .counter-cup::after { inset-block-start: .1875rem; }
.counter-scene:is([data-format="iced"], [data-format="shake"]) .counter-cup .podium-cup-mark::before {
  position: absolute;
  inset: -.4375rem .375rem auto auto;
  inline-size: .1875rem;
  block-size: .875rem;
  border-radius: .1875rem;
  background: #a64b55;
  transform: rotate(18deg);
  content: "";
}
.counter-scene[data-format="bite"] { --cup-height: 2.75rem; }
.counter-scene[data-format="bite"] .counter-cup { inline-size: 4.125rem; }
.counter-scene[data-format="bite"] .counter-cup::before {
  inset: .25rem 0 0;
  border: 2px solid #e8b087;
  border-radius: 50%;
  background: #ffe4bd;
  clip-path: none;
}
.counter-scene[data-format="bite"] .counter-cup::after { content: none; }
.counter-scene[data-format="bite"] .counter-cup-mark { inline-size: 1.875rem; background: var(--cup); }
.counter-scene[data-flavor]:not([data-flavor="any"]) .counter-cup .podium-cup-mark {
  border-color: var(--flavor-ink);
  background: var(--flavor-fill);
  box-shadow: 0 0 0 .125rem var(--flavor-fill);
}
.flavor-drop {
  --fall: 2.1rem;
  position: absolute;
  z-index: 2;
  inset: .25rem auto auto 50%;
  display: grid;
  place-items: center;
  inline-size: 1.5rem;
  aspect-ratio: 1;
  transform: translateX(-50%);
  visibility: hidden;
  pointer-events: none;
}
[data-format="hot"] .flavor-drop,
[data-format="bite"] .flavor-drop { --fall: 2.875rem; }
.flavor-drop i {
  position: absolute;
  display: grid;
  place-items: center;
  inline-size: .375rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--flavor-fill);
  color: var(--flavor-ink);
  font-style: normal;
}
.flavor-drop i:first-child { inline-size: 1.5rem; font-size: 1rem; }
.flavor-drop i:nth-child(2) { inset: .125rem auto auto -.5rem; --offset: -.375rem; --lag: 35ms; }
.flavor-drop i:nth-child(3) { inset: .5rem -.5rem auto auto; --offset: .375rem; --lag: 70ms; }
.counter-detail {
  position: absolute;
  inset: .25rem auto auto;
  display: flex;
  align-items: end;
  gap: .25rem;
  block-size: 1.5rem;
}
.counter-detail i { display: none; }
[data-format="hot"] .counter-detail i {
  display: block;
  inline-size: .375rem;
  block-size: .875rem;
  border-inline-start: 1px solid var(--teal-ink);
  border-radius: 50%;
}
[data-format="hot"] .counter-detail i:nth-child(2) { block-size: 1.125rem; }
[data-format="iced"] .counter-detail i {
  display: block;
  inline-size: .375rem;
  aspect-ratio: 1;
  border: 1px solid var(--teal-ink);
  border-radius: .125rem;
  background: var(--paper);
  transform: rotate(15deg);
}
[data-format="bite"] .counter-detail {
  inset: auto calc(50% + 1.875rem) .75rem auto;
  inline-size: 2rem;
  block-size: .5rem;
  border-block-end: 2px solid var(--wine);
  border-radius: 50%;
  background: var(--peach);
}
.podium::before {
  border-block-start: 1px solid #63a5a5;
  box-shadow: inset 0 -.75rem var(--wine);
}
.showcase-results {
  position: relative;
  display: flow-root;
}
.showcase-deck {
  position: absolute;
  inset: calc(1rem + clamp(10rem, 45vw, 12rem) - .75rem) 0 auto;
  z-index: 3;
  block-size: .75rem;
  border-block-start: 2px solid #efc28a;
  background: var(--wine);
  pointer-events: none;
}
.showcase-results .podium {
  z-index: 2;
}
.showcase-results .podium::before { box-shadow: none; }
.showcase-results .podium::before {
  background-image: var(--brand-trim);
  background-position: center bottom .625rem;
  background-repeat: repeat-x;
  background-size: auto 1.875rem;
}
.podium-stage::after { inset-block-end: .125rem; }
.podium-flourish {
  position: absolute;
  z-index: 1;
  inset: auto auto calc(var(--step) + .25rem) 50%;
  inline-size: 3.25rem;
  block-size: 3.25rem;
  transform: translateX(-50%);
  pointer-events: none;
}
.podium-flourish i {
  position: absolute;
  inset: auto;
  display: block;
  opacity: 0;
}
.podium-entry[data-place="3"] .podium-flourish i:first-child {
  inset: auto .125rem -.125rem;
  block-size: .75rem;
  border: 2px solid #d68c69;
  border-radius: 50%;
}
.podium-entry[data-place="2"] .podium-flourish i:first-child,
.podium-entry[data-place="2"] .podium-flourish i:nth-child(2) {
  inset: .5rem auto auto -.375rem;
  inline-size: .625rem;
  aspect-ratio: 1;
  background: #9ad3cc;
  clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
}
.podium-entry[data-place="2"] .podium-flourish i:nth-child(2) { inset: auto -.5rem .25rem auto; }
.podium-entry[data-place="1"] .podium-flourish {
  inset-block-end: calc(var(--step) + .375rem);
  inline-size: 4.125rem;
  block-size: 4.125rem;
}
.podium-entry[data-place="1"] .podium-flourish i:first-child {
  inset: -.5rem;
  border: 2px solid #edc16c;
  border-radius: 50%;
}
.podium-entry[data-place="1"] .podium-flourish i:nth-child(2),
.podium-entry[data-place="1"] .podium-flourish i:nth-child(3) {
  inset: .875rem auto auto -.6875rem;
  inline-size: .875rem;
  aspect-ratio: 1;
  background: #e6ad48;
  clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
}
.podium-entry[data-place="1"] .podium-flourish i:nth-child(3) { inset: .125rem -.6875rem auto auto; }

.showcase-cashier { isolation: isolate; }
.receipt-cup-tray {
  --cup-height: 3.75rem;
  --cup: #8e2c44;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: end center;
  block-size: 6rem;
  padding-block-end: 1.25rem;
  border-radius: .875rem .875rem 0 0;
  background: var(--wash);
}
.receipt-cup-tray::before {
  position: absolute;
  z-index: -1;
  inset: auto 0 1.25rem;
  block-size: 1.5rem;
  background: var(--brand-trim) repeat-x center / auto 1.5rem;
  opacity: .55;
  content: "";
}
.receipt-cup-tray[data-place="1"] { --cup: #9c3650; }
.receipt-cup-tray[data-place="2"] { --cup: #63a5a5; }
.receipt-cup-tray[data-place="3"] { --cup: #c87d62; }
.receipt-cup { inline-size: 3rem; }
.receipt-printer {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr) 1rem;
  align-items: center;
  gap: .5rem;
  block-size: 1.375rem;
  padding-inline: .75rem;
  border: 1px solid #dcbf90;
  border-radius: .375rem .375rem 0 0;
  background: var(--wine);
}
.printer-status {
  justify-self: center;
  inline-size: .375rem;
  aspect-ratio: 1;
  border: 1px solid #e1eee7;
  border-radius: 50%;
  background: #63a5a5;
}
.printer-mouth {
  block-size: .375rem;
  border-radius: .25rem;
  background: #321e20;
  box-shadow: 0 1px #e1b57d;
}
.receipt-slot {
  margin-inline: 1rem;
  overflow: clip;
}

@media (prefers-reduced-motion: no-preference) {
  .counter-scene[data-motion] .counter-cup {
    animation: cup-arrive .4s var(--counter-ease) both;
  }
  .counter-scene[data-motion="back"] .counter-cup {
    animation-name: cup-return;
  }
  :root[dir="rtl"] .counter-scene { --travel: 1.5rem; }
  :root[dir="ltr"] .counter-scene { --travel: -1.5rem; }
  .counter-scene[data-motion="format"] .counter-detail i {
    animation: counter-accent .45s var(--counter-ease) both;
  }
  .counter-scene[data-format="iced"][data-motion="format"] .counter-detail i {
    animation-name: ice-drop;
  }
  .receipt-enter .receipt { animation: receipt-slip .52s var(--counter-ease) .12s both; }
  .receipt-enter .printer-status { animation: printer-ready .46s var(--counter-ease) both; }
  .receipt-enter .receipt-amount-savings dd { animation: savings-stamp .36s var(--counter-ease) .43s both; }
  .transition-source-cup,
  [data-cup-transition="seat"] .counter-cup,
  [data-cup-transition="brew"] .counter-cup,
  [data-cup-transition="podium"] .showcase-reveal [data-place="1"] .podium-cup,
  [data-cup-transition="receipt"] .receipt-enter .receipt-cup { view-transition-name: layla-cup; }
  html::view-transition-old(root),
  html::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
  html::view-transition-group(layla-cup) {
    animation-duration: .42s;
    animation-timing-function: var(--counter-ease);
  }
  [data-cup-transition="podium"] .counter-ledge,
  [data-cup-transition="podium"] .showcase-reveal .showcase-deck {
    view-transition-name: layla-deck;
  }
  [data-cup-transition="podium"]::view-transition { pointer-events: none; }
  [data-cup-transition="podium"]::view-transition-group(layla-deck) {
    animation-duration: .55s;
    animation-timing-function: var(--counter-ease);
  }
  .podium-reveal .podium-stage::after {
    animation: build-podium .55s var(--counter-ease) var(--delay) both;
  }
  .podium-reveal .podium-medal {
    animation: land-medal .4s var(--counter-ease) calc(var(--delay) + .14s) both;
  }
  .podium-reveal [data-place="3"] .podium-cup {
    animation: bronze-slide .38s var(--counter-ease) both;
  }
  [dir="rtl"] .podium { --bronze-entry: -1.375rem; }
  [dir="ltr"] .podium { --bronze-entry: 1.375rem; }
  .podium-reveal [data-place="3"] .podium-flourish i:first-child {
    animation: podium-ring .32s var(--counter-ease) .16s both;
  }
  .podium-reveal [data-place="2"] .podium-cup {
    animation: silver-hop .46s var(--counter-ease) .12s both;
  }
  .podium-reveal [data-place="2"] .podium-flourish i {
    animation: medal-spark .36s var(--counter-ease) .34s both;
  }
  .podium-reveal [data-place="2"] .podium-flourish i:nth-child(2) {
    animation-delay: .4s;
  }
  .podium-reveal [data-place="1"] .podium-cup {
    animation: gold-rise .54s var(--counter-ease) .29s both;
  }
  .podium-reveal [data-place="1"] .podium-medal {
    animation: land-medal .5s var(--counter-ease) .43s both;
  }
  .podium-reveal [data-place="1"] .podium-flourish i:first-child {
    animation: podium-ring .58s var(--counter-ease) .39s both;
  }
  .podium-reveal [data-place="1"] .podium-flourish i:nth-child(n+2) {
    animation: medal-spark .47s var(--counter-ease) .46s both;
  }
  .podium-reveal [data-place="1"] .podium-flourish i:nth-child(3) {
    animation-delay: .53s;
  }
  .podium-shared-cup [data-place="1"] .podium-cup {
    animation: none;
  }
  [data-cup-transition="brew"]::view-transition-group(layla-cup) {
    animation-duration: .56s;
    animation-timing-function: cubic-bezier(.17, .84, .26, 1);
  }
  .counter-scene[data-motion="format"]::after {
    position: absolute;
    inset: auto 50% .75rem auto;
    inline-size: 4rem;
    aspect-ratio: 1;
    border: 1px solid #bc844e;
    border-radius: 50%;
    pointer-events: none;
    content: "";
    animation: brew-ring .56s var(--counter-ease) both;
  }
  .counter-scene[data-motion="flavor"] .flavor-drop { visibility: visible; }
  .counter-scene[data-motion="flavor"] .flavor-drop i {
    animation: drop-flavor .53s var(--counter-ease) var(--lag, 0ms) both;
  }
  .counter-scene[data-motion="flavor"]:not([data-flavor="any"]) .counter-cup-mark {
    animation: steep-flavor .48s var(--counter-ease) .21s both;
  }
  @keyframes cup-arrive {
    from { opacity: .5; transform: translateX(var(--travel)); }
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes cup-return {
    from { opacity: .5; transform: translateX(calc(-1 * var(--travel))); }
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes counter-accent {
    from { opacity: 0; transform: translateY(.375rem); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes ice-drop {
    from { opacity: 0; transform: translateY(-.5rem) rotate(-15deg); }
    to { opacity: 1; transform: translateY(0) rotate(15deg); }
  }
  @keyframes brew-ring {
    from { opacity: .85; transform: translateX(50%) scale(.55); }
    to { opacity: 0; transform: translateX(50%) scale(1.45); }
  }
  @keyframes build-podium {
    from { opacity: .35; transform: scaleY(.08); }
    70% { opacity: 1; transform: scaleY(1.04); }
    to { opacity: 1; transform: scaleY(1); }
  }
  @keyframes land-medal {
    from { opacity: 0; transform: translateY(-.75rem) rotate(-14deg) scale(.55); }
    70% { opacity: 1; transform: translateY(.125rem) rotate(4deg) scale(1.12); }
    to { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
  }
  @keyframes bronze-slide {
    from { opacity: .2; transform: translate(var(--bronze-entry), .375rem) rotate(9deg) scale(.92); }
    75% { opacity: 1; transform: translateX(-.125rem) rotate(-3deg); }
    to { opacity: 1; transform: translateX(0) rotate(0); }
  }
  @keyframes silver-hop {
    from { opacity: .25; transform: translateY(1rem) rotate(-8deg); }
    65% { opacity: 1; transform: translateY(-.375rem) rotate(5deg); }
    to { opacity: 1; transform: translateY(0) rotate(0); }
  }
  @keyframes gold-rise {
    from { opacity: .3; transform: translateY(1rem) scale(.82); }
    68% { opacity: 1; transform: translateY(-.25rem) scale(1.1); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  @keyframes podium-ring {
    from { opacity: .95; transform: scale(.52); }
    to { opacity: 0; transform: scale(1.5); }
  }
  @keyframes medal-spark {
    from { opacity: 0; transform: translateY(.35rem) rotate(-35deg) scale(.2); }
    40% { opacity: 1; transform: translateY(-.12rem) rotate(8deg) scale(1); }
    to { opacity: 0; transform: translateY(-.65rem) rotate(22deg) scale(.4); }
  }
  @keyframes drop-flavor {
    from { opacity: 0; transform: translateY(-.625rem) scale(.65); }
    20% { opacity: 1; }
    65% { opacity: 1; transform: translate(var(--offset, 0), calc(var(--fall) - .25rem)) scale(1.08); }
    to { opacity: 0; transform: translateY(var(--fall)) scale(.32); }
  }
  @keyframes steep-flavor {
    from { transform: scale(.75); }
    55% { transform: scale(1.23); }
    to { transform: scale(1); }
  }
  @keyframes receipt-slip {
    from { opacity: .75; transform: translateY(-3.25rem); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes printer-ready {
    from { opacity: .5; transform: scale(.8); }
    50% { opacity: 1; transform: scale(1.45); }
    to { opacity: 1; transform: scale(1); }
  }
  @keyframes savings-stamp {
    from { opacity: .75; transform: rotate(-5deg) scale(1.18); }
    to { opacity: 1; transform: rotate(0) scale(1); }
  }
}
