@font-face { font-family: 'Rubik'; src: url('fonts/rubik.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Frank Ruhl Libre'; src: url('fonts/frank.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
/* Optional display fonts for the box lettering ("צדקה" + name lines). Declared only: a browser downloads
   a face only when --pushka-font names it, and the service worker caches it on that first use. */
@font-face { font-family: 'PK Keter YG'; src: url('fonts/keter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  /* ONE switch for the box lettering font ("צדקה" + name lines). Numbered as offered to the user:
      1 'Frank Ruhl Libre'
      2 'PK Keter YG'
      3 'PK Hadasim'
      4 'PK David Libre'
      5 'PK Suez One'
      6 'PK Bellefair'
      7 'PK Secular One'
      8 'PK Stam Ashkenaz'
      9 'PK Stam Sefarad'
     10 'PK Bona Nova'
     11 'PK Miriam Libre'
     12 'PK Noto Rashi'
     13 'PK Karantina'
     14 'PK Amatic SC'
     15 'PK Solitreo'
     16 'PK Gveret Levin'
     17 'PK Noto Serif Hebrew'
     18 'PK Alef'
     19 'PK Heebo'
     20 'PK Assistant'
     21 'PK IBM Plex Sans Hebrew' */
  --pushka-font: 'PK Keter YG';
  /* page background */
  --bg: #E8EDF0; --bg-2: #DEE5EA; /* "mist": soft blue-grey; alternatives tried: ivory #F4EEE2/#EFE7D8, sand #EAE0CF/#E3D7C3 */
  --navy: #19557A; --navy-d: #0f3a55; --orange: #F27C22; --orange-d: #d9661a; --cream: #FFF6EC; --card: #fffdf9;
  --ink: #1d2b36; --muted: #6b7c88; --line: #f0dfca; --gold: #E8B33A;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body { font-family: 'Rubik', -apple-system, 'Segoe UI', system-ui, sans-serif; color: var(--ink);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%) fixed; background-color: var(--bg); min-height: 100vh; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.app { max-width: 480px; margin: 0 auto; padding: calc(10px + var(--safe-t)) 16px calc(24px + var(--safe-b)); }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand-logo { width: auto; height: 46px; flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text b { font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif; font-size: 19px; color: var(--navy); font-weight: 800; white-space: nowrap; }
.brand-text span { font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif; font-size: 12.5px; color: var(--navy); opacity: .72; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.top-actions { display: flex; align-items: center; gap: 4px; }
.langs { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.langs button { border: 0; background: none; font-size: 12px; font-weight: 600; padding: 5px 6px; border-radius: 999px; color: var(--muted); min-width: 30px; }
.langs button.on { background: var(--navy); color: #fff; }
.icon-btn { border: 0; background: #fff; border: 1px solid var(--line); width: 34px; height: 34px; border-radius: 50%; font-size: 15px; display: grid; place-items: center; padding: 0; }

.eve-banner { margin: 12px 0 0; background: linear-gradient(90deg, #fff1df, #ffe3c4); border: 1px solid #f7cfa3; color: #8a4a12; border-radius: 14px; padding: 9px 12px; font-size: 14px; font-weight: 500; text-align: center; }
.dedication { margin: 10px auto 0; text-align: center; font-size: 14px; color: var(--navy); font-weight: 500; background: #ffffffb0; border: 1px dashed #c9d9e4; border-radius: 12px; padding: 6px 10px; max-width: 92%; }
.dedication b { font-weight: 700; }

/* pushka */
.stage { display: flex; flex-direction: column; align-items: center; margin-top: 4px; }
.pushka { width: 312px; max-width: 100%; aspect-ratio: 320 / 274; height: auto; position: relative; transform-origin: 50% 92%; }
.tz-word { font-family: var(--pushka-font), 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif; font-synthesis: none; font-weight: 900; font-size: 46px; }
.tz-side { font-family: var(--pushka-font), 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif; font-synthesis: none; font-weight: 700; font-size: 14px; fill: #e0c078; }
.tz-side.en { font-weight: 600; font-size: 11.5px; letter-spacing: .2px; }
.tz-side.n { fill: #0f3a58; }
.pk-mark path { stroke: #b08a3e; stroke-width: 1.2; stroke-dasharray: 2.5 2; }
.pk-mark text { direction: ltr; font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', Georgia, serif; font-weight: 700; font-size: 13px; fill: var(--navy); }
.pk-mark text.lbl { font-family: 'Rubik', system-ui, sans-serif; font-weight: 500; font-size: 9px; fill: var(--muted); letter-spacing: .02em; }
.pk-mark.goal { cursor: pointer; pointer-events: all; }
.pushka-svg .pk-mark.goal { pointer-events: auto; }
.pk-mark.lvl { transition: opacity .3s; }
.pk-mark.lvl text { fill: #9a7632; font-size: 12px; }
.pushka.full .pushka-svg { filter: drop-shadow(0 0 10px rgba(240, 200, 110, .55)); }
.pushka.just-full { animation: fullPop 1.1s cubic-bezier(.3,1.5,.5,1); }
@keyframes fullPop { 0% { transform: scale(1); } 25% { transform: scale(1.06); } 55% { transform: scale(.98); } 100% { transform: none; } }
.pushka.full .slot-glow { animation: fullGlow 2.6s ease-in-out infinite; }
@keyframes fullGlow { 0%, 100% { opacity: 0; transform: scale(.8); } 50% { opacity: .75; transform: scale(1.5); } }
.pushka-svg { text-rendering: geometricPrecision; width: 100%; height: 100%; display: block; overflow: visible; }
.pushka.bump { animation: bump .42s cubic-bezier(.3,1.6,.5,1); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.04, .96) rotate(-1.2deg); } 60% { transform: scale(.985, 1.02) rotate(.8deg); } 100% { transform: none; } }
.pushka .slot-glow { position: absolute; left: 50%; top: 19px; width: 76px; height: 16px; margin-left: -38px; border-radius: 50%; background: radial-gradient(closest-side, #ffd27a, transparent); opacity: 0; pointer-events: none; }
.pushka.bump .slot-glow { animation: glow .6s ease-out; }
@keyframes glow { 0% { opacity: .95; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }
.total { text-align: center; margin-top: 2px; }
.total-num { font-family: 'Frank Ruhl Libre', Georgia, serif; font-size: 42px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; line-height: 1; font-variant-numeric: tabular-nums; }
.total-num.tick { animation: tick .35s ease-out; }
@keyframes tick { 0% { transform: scale(1.12); color: var(--orange); } 100% { transform: none; } }
.total-label { font-size: 13px; color: var(--muted); margin-top: 4px; }
.full-row { display: flex; justify-content: center; margin-top: 8px; }
.full-chip { border: 1px solid #e6d3ad; background: #fffaf0; color: var(--navy); border-radius: 99px; padding: 6px 14px; font-size: 13.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; }
.full-chip .pen { color: #a7813a; font-size: 13px; }
.full-chip.is-full { background: linear-gradient(90deg, #f6e3a8, #e0c078); border-color: #c9a253; color: #3d2c0a; font-weight: 700; }
.full-banner { margin: 10px auto 0; max-width: 340px; text-align: center; background: linear-gradient(180deg, #fffaf0, #fbefd4); border: 1px solid #e3c98c; border-radius: 16px; padding: 10px 14px; color: #5a4210; display: flex; flex-direction: column; gap: 2px; animation: sheetIn .4s ease-out; }
.full-banner b { font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', Georgia, serif; font-size: 19px; color: var(--navy); }
.full-banner span { font-size: 14px; }
.btn-empty.urge { animation: urge 1.8s ease-in-out infinite; }
@keyframes urge { 0%, 100% { box-shadow: 0 4px 0 #0b625a, 0 0 0 0 rgba(23, 163, 152, .45); } 50% { box-shadow: 0 4px 0 #0b625a, 0 0 0 10px rgba(23, 163, 152, 0); } }
/* full-amount sheet */
.full-art { display: flex; justify-content: center; margin: -4px 0 6px; }
.fine-lg { font-size: 14px; color: var(--muted); text-align: center; margin: 0 4px 12px; line-height: 1.45; }
.full-presets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 12px; }
.full-presets .fp { border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 10px 2px; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 56px; justify-content: center; }
.full-presets .fp b { font-family: 'Frank Ruhl Libre', Georgia, serif; font-size: 17px; color: var(--navy); }
.full-presets .fp small { font-size: 11px; color: #a7813a; font-weight: 600; }
.full-presets .fp.on { border-color: var(--navy); background: #eef4f8; box-shadow: 0 0 0 2px rgba(25,85,122,.18); }
.full-set { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 7px 14px; font-weight: 700; color: var(--navy); font-family: 'Frank Ruhl Libre', Georgia, serif; font-size: 16px; }
.err { color: #b3261e; font-size: 13px; text-align: center; margin: -4px 0 8px; }

/* coins — real euro coins and the €5 note */
.coins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 8px; margin: 12px 0 4px; }
.coin { border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; padding: 4px 0; touch-action: manipulation; }
.coin em { font-style: normal; font-size: 12.5px; color: var(--muted); font-weight: 600; direction: ltr; unicode-bidi: isolate; }
.coin.c18 em { direction: inherit; }
.face { width: 72px; height: 72px; display: grid; place-items: center; position: relative; transition: transform .12s; direction: ltr; }
.face img { display: block; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.face.real img { border-radius: 50%; box-shadow: 0 2px 0 rgba(60,45,10,.28), 0 6px 12px rgba(25,85,122,.22); }
.c50 .face img { width: 66px; height: 66px; }   /* 24.25 mm */
.c100 .face img { width: 63px; height: 63px; }  /* 23.25 mm */
.c200 .face img { width: 70px; height: 70px; }  /* 25.75 mm */
.face.stack img { position: absolute; border-radius: 50%; box-shadow: 0 2px 0 rgba(60,45,10,.25), 0 3px 7px rgba(25,85,122,.2); }
.face.stack .k10 { width: 37px; height: 37px; left: 2px; top: 5px; }    /* 19.75 mm */
.face.stack .k5 { width: 40px; height: 40px; right: 0; top: 2px; }      /* 21.25 mm */
.face.stack .k2 { width: 35px; height: 35px; left: 6px; bottom: 1px; }  /* 18.75 mm */
.face.stack .k1 { width: 30px; height: 30px; right: 7px; bottom: 3px; } /* 16.25 mm */
.face.note { width: 100px; }
.face.note img { width: 96px; height: 46px; border-radius: 3px; transform: rotate(-4deg); box-shadow: 0 2px 0 rgba(0,0,0,.12), 0 6px 12px rgba(25,85,122,.22); }
.coin:active .face { transform: translateY(2px) scale(.95); }
.face.plus { width: 62px; height: 62px; border-radius: 50%; background: #fff; border: 2px dashed #b9cfdc; color: var(--navy); margin: 5px 0; }
.face.plus b { font-size: 30px; font-weight: 500; line-height: 1; }
.coins.locked { opacity: .35; pointer-events: none; filter: grayscale(.6); }
.flyer { position: fixed; z-index: 50; pointer-events: none; margin: 0; transform-style: preserve-3d; }
.flyer.note img { transform: none; }

/* rest (Shabbos) */
.rest { text-align: center; background: linear-gradient(180deg, #13405d, #19557A); color: #fff; border-radius: 22px; padding: 20px 18px 18px; margin: 18px 0 6px;
  box-shadow: 0 10px 30px rgba(15,58,85,.25); }
.rest-candles { font-size: 30px; }
.rest h2 { font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', Georgia, serif; margin: 6px 0 4px; font-size: 24px; }
.rest p { margin: 0; font-size: 15px; opacity: .92; line-height: 1.45; }

/* today / week */
.today { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; margin-top: 12px; }
.today-row { display: flex; align-items: baseline; gap: 8px; font-size: 15px; }
.hist-link { margin-inline-start: auto; border: 0; background: #f4ebdf; color: var(--navy); font-size: 13px; font-weight: 600; border-radius: 99px; padding: 5px 10px; align-self: center; }
.today-row b { color: var(--navy); font-size: 17px; }
.muted { color: var(--muted); font-size: 13px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 10px; }
.wd { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.wd i { width: 26px; height: 26px; border-radius: 50%; background: #f6ebdd; display: grid; place-items: center; font-style: normal; font-size: 13px; }
.wd.given i { background: radial-gradient(circle at 34% 28%, #fff1b8, #e6c04f 45%, #b98e1d); box-shadow: 0 2px 4px rgba(185,142,29,.35); }
.wd.sat i { background: #eef2f5; }
.wd.now span { color: var(--navy); font-weight: 700; }
.wd.now i { outline: 2px solid var(--orange); outline-offset: 1px; }

.btn-empty { display: block; width: 100%; margin-top: 14px; border: 0; border-radius: 16px; padding: 15px; font-size: 17px; font-weight: 700; color: #fff;
  background: linear-gradient(180deg, #34c3b6, #17a398 55%, #0f8379); box-shadow: 0 4px 0 #0b625a, 0 10px 22px rgba(23,163,152,.28); }
.btn-empty:active { transform: translateY(2px); box-shadow: 0 2px 0 #0b625a; }

.quote { margin: 18px 4px 0; padding: 14px 16px; border-radius: 16px; background: #ffffffa8; border: 1px solid var(--line); cursor: pointer; }
.quote blockquote { margin: 0; font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', Georgia, serif; font-size: 17px; line-height: 1.45; color: var(--navy-d); }
.quote figcaption { margin-top: 6px; font-size: 12px; color: var(--orange-d); font-weight: 500; }
[lang=de] .quote blockquote, [lang=en] .quote blockquote { font-size: 16px; }

.install { margin-top: 14px; display: flex; gap: 10px; align-items: center; justify-content: space-between; background: #eaf2f7; color: var(--navy-d); border-radius: 14px; padding: 10px 12px; font-size: 13.5px; }
.install button { border: 0; background: var(--navy); color: #fff; border-radius: 10px; padding: 6px 10px; font-size: 13px; flex: none; }
.foot { text-align: center; margin-top: 26px; color: var(--muted); font-size: 12px; }
.foot-logo { width: 128px; height: auto; display: block; margin: 0 auto 8px; }
.foot p { margin: 0; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(20px + var(--safe-b)); transform: translateX(-50%); z-index: 60; background: #12324a; color: #fff; border-radius: 14px; padding: 10px 10px 10px 16px;
  display: flex; gap: 12px; align-items: center; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.25); white-space: nowrap; animation: up .25s ease-out; }
[dir=rtl] .toast { padding: 10px 16px 10px 10px; }
.toast button { border: 0; background: #ffffff22; color: #ffd9b8; font-weight: 600; border-radius: 10px; padding: 6px 10px; }
@keyframes up { from { transform: translate(-50%, 20px); opacity: 0; } }

/* sheets */
dialog.sheet { border: 0; padding: 20px 18px calc(18px + var(--safe-b)); width: 100%; max-width: 480px; margin: auto auto 0; border-radius: 24px 24px 0 0; background: var(--card); color: var(--ink);
  max-height: 88vh; overflow: auto; box-shadow: 0 -10px 40px rgba(0,0,0,.2); }
dialog.sheet[open] { animation: sheetIn .28s cubic-bezier(.2,.9,.3,1); }
@keyframes sheetIn { from { transform: translateY(40px); opacity: .4; } }
dialog::backdrop { background: rgba(10,30,45,.45); }
.sheet h3 { font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', Georgia, serif; margin: 0 0 12px; font-size: 20px; color: var(--navy); text-align: center; }
.sheet p { line-height: 1.45; }
.btn { display: block; width: 100%; text-align: center; text-decoration: none; border: 0; border-radius: 14px; padding: 13px; font-size: 16px; font-weight: 600; margin-top: 10px; background: #f1e6d8; color: var(--ink); }
.btn.primary { background: var(--navy); color: #fff; box-shadow: 0 3px 0 var(--navy-d); }
.btn.ghost { background: transparent; color: var(--muted); }
.btn.link { background: transparent; color: var(--navy); font-weight: 500; font-size: 14px; text-decoration: underline; padding: 8px; }
.btn.danger { background: #fbe9e7; color: #b3261e; font-size: 14px; }
.btn.small { display: inline-block; width: auto; margin: 0; padding: 10px 14px; font-size: 14px; background: var(--navy); color: #fff; }
.big-amt { font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', Georgia, serif; text-align: center; font-size: 46px; font-weight: 800; color: var(--orange-d); }
.ded-mini { text-align: center; color: var(--navy); font-size: 14px; }
.min-note { background: #fff1df; color: #8a4a12; border-radius: 12px; padding: 8px 10px; font-size: 14px; }
.fine { font-size: 12.5px; color: var(--muted); margin: 8px 2px 0; }
.center { text-align: center; }
.thanks-ico { font-size: 54px; text-align: center; }
.amount-in { display: flex; align-items: center; gap: 6px; background: #fff; border: 2px solid #d6e3ec; border-radius: 14px; padding: 4px 14px; direction: ltr; }
.amount-in span { font-size: 26px; color: var(--muted); }
.amount-in input { border: 0; outline: 0; font-size: 30px; font-weight: 700; width: 100%; padding: 8px 0; background: none; color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; justify-content: center; }
.chips button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 7px 12px; font-size: 14px; direction: ltr; }
.field { display: block; margin: 0 0 16px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field select, .field input[type=text], .field input[type=time] { width: 100%; border: 1px solid #d9e3ea; background: #fff; border-radius: 12px; padding: 11px 12px; font-size: 16px; margin-bottom: 6px; }
.field.row { display: flex; align-items: center; justify-content: space-between; }
.field.row > span { margin: 0; }
.rem-row { display: flex; gap: 8px; align-items: center; }
.rem-row input[type=time] { width: auto; flex: 1; margin: 0; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; margin-top: 8px; }
.switch { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; border-radius: 99px; background: #d4dde3; position: relative; transition: background .2s; margin: 0; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch:checked { background: var(--orange); }
.switch:checked::after { transform: translateX(20px); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.stats div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; text-align: center; }
.stats b { font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', Georgia, serif; display: block; font-size: 22px; color: var(--navy); }
.stats span { font-size: 12px; color: var(--muted); }
.hist { list-style: none; margin: 0; padding: 0; }
.hist li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid #f3e8da; font-size: 15px; }
.hist li .d { color: var(--ink); }
.hist li .n { color: var(--muted); font-size: 12.5px; display: block; }
.hist li b { color: var(--navy); white-space: nowrap; direction: ltr; }
.hist li.emptied { background: #fff6ea; border-radius: 12px; padding: 10px 10px; border: 0; margin: 4px 0; }
.hist li.emptied b { color: var(--orange-d); }
.hist li.now b { color: var(--orange-d); }
.hist .none { color: var(--muted); text-align: center; justify-content: center; border: 0; }

/* confetti */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 12px; height: 12px; border-radius: 50%; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) { .pushka.bump, .total-num.tick, dialog.sheet[open], .pushka.just-full, .pushka.full .slot-glow, .btn-empty.urge, .full-banner { animation: none; } }
@media (min-width: 420px) { .pushka { width: 336px; } }

.chev { display: inline-block; }
[dir=rtl] .chev { transform: scaleX(-1); }

.btn-empty.mini { margin-top: 8px; padding: 11px; font-size: 16px; border-radius: 14px; }
.sheet h3:focus { outline: none; }
.full-presets .fp:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ===== v8 layout: the pushka is the hero; coins at its sides; everything else below the fold ===== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.app { padding: calc(8px + var(--safe-t)) 12px calc(24px + var(--safe-b)); }
.top { height: 48px; }
.brand-logo { width: auto; height: 44px; }
.top-actions { gap: 6px; }
.langs { background: transparent; border: 0; padding: 0; gap: 2px; }
.langs button { font-size: 12px; padding: 0 6px; min-width: 32px; height: 32px; color: #7d8d98; font-weight: 500; }
.langs button.on { background: transparent; color: var(--navy); font-weight: 700; box-shadow: inset 0 -2px 0 #c9a253; border-radius: 0; }
.icon-btn { background: transparent; border: 0; width: 44px; height: 44px; color: var(--navy); }
.hero { min-height: calc(100vh - 56px - var(--safe-t)); min-height: calc(100svh - 56px - var(--safe-t)); display: flex; flex-direction: column; align-items: center; }
.eve-banner { margin: 4px 0 0; padding: 6px 12px; font-size: 13px; border-radius: 99px; background: #fff7ec; }
.stage { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; column-gap: 4px; width: 100%; margin: auto 0 0; padding: 8px 0 4px; }
.pushka { grid-column: 2; grid-row: 1; width: 100%; max-width: 290px; justify-self: center; aspect-ratio: 192 / 248; transform-origin: 50% 90%; }
@media (min-width: 420px) { .pushka { width: 100%; } }
.pk-mark { display: none; }
.pushka .slot-glow { top: calc(6.5% - 8px); width: 36%; margin-left: -18%; }
.coins { display: contents; margin: 0; }
.side { grid-row: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.side-a { grid-column: 1; }
.side-b { grid-column: 3; }
.coin { width: 56px; min-height: 64px; gap: 3px; padding: 2px 0; justify-content: center; }
.coin em { font-size: 11px; font-weight: 500; color: #7d8d98; }
.face { width: 52px; height: 52px; }
.face.real img { box-shadow: 0 1px 0 rgba(60,45,10,.22), 0 3px 7px rgba(25,85,122,.16); }
.c50 .face img { width: 46px; height: 46px; }
.c100 .face img { width: 44px; height: 44px; }
.c200 .face img { width: 49px; height: 49px; }
.face.stack img { box-shadow: 0 1px 0 rgba(60,45,10,.2), 0 2px 5px rgba(25,85,122,.16); }
.face.stack .k10 { width: 27px; height: 27px; left: 1px; top: 5px; }
.face.stack .k5 { width: 29px; height: 29px; right: 0; top: 2px; }
.face.stack .k2 { width: 26px; height: 26px; left: 5px; bottom: 2px; }
.face.stack .k1 { width: 22px; height: 22px; right: 5px; bottom: 4px; }
.face.note { width: 58px; height: 52px; }
.face.note img { width: 56px; height: 27px; border-radius: 2px; transform: rotate(-4deg); box-shadow: 0 1px 0 rgba(0,0,0,.1), 0 3px 7px rgba(25,85,122,.16); }
.face.plus { width: 40px; height: 40px; margin: 6px 0; border: 1.5px dashed #a9c0cf; background: transparent; }
.face.plus b { font-size: 22px; font-weight: 400; }
.tally { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; min-height: 44px; color: var(--muted); }
.tally .total-num { font-size: 21px; font-weight: 700; color: var(--navy); }
.tally .dot { color: #b4c2cb; }
.tally .full-chip { border: 0; background: transparent; padding: 0 2px; min-height: 44px; font-size: 13.5px; color: var(--muted); font-weight: 400; }
.tally .full-chip.is-full { background: transparent; color: #8a6626; font-weight: 600; }
.tally .full-chip .pen { font-size: 12px; opacity: .8; }
.full-banner { margin: 2px auto 0; background: none; border: 0; padding: 0; color: #8a6626; }
.full-banner b { font-size: 18px; color: #8a6626; }
.full-banner span, #btnEmptyNow { display: none; }
.btn-empty { width: auto; margin: 0 auto; padding: 0 14px; min-height: 44px; background: transparent; box-shadow: none; color: var(--muted); font-size: 13.5px; font-weight: 500; border-radius: 99px; }
.btn-empty .be-ico { font-size: 12px; }
.btn-empty:active { transform: none; box-shadow: none; }
.btn-empty.urge { width: 100%; max-width: 340px; margin-top: 10px; padding: 14px; font-size: 17px; font-weight: 700; color: #fff; border-radius: 16px;
  background: linear-gradient(180deg, #34c3b6, #17a398 55%, #0f8379); box-shadow: 0 4px 0 #0b625a, 0 10px 22px rgba(23,163,152,.28); }
.btn-empty.urge .be-ico { font-size: inherit; }
.rest { margin: 6px 0 0; padding: 12px 16px; border-radius: 16px; box-shadow: none; width: 100%; max-width: 340px; }
.rest-candles { font-size: 20px; }
.rest h2 { font-size: 19px; margin: 2px 0; }
.rest p { font-size: 14px; }
.more-cue { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: auto; padding-top: 14px; padding: 8px 20px 2px; min-height: 44px; color: #93a4af; text-decoration: none; font-size: 11.5px; letter-spacing: .04em; }
.more { padding-top: 18px; }
.more .dedication { margin-top: 0; }
.more .today { margin-top: 12px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ===== v9: a taller pushka that fills most of the first screen (height-driven, width-capped) ===== */
:root { --can-ratio: 1.798; --hero-reserve: 140px; }
.app { padding-left: 8px; padding-right: 8px; }
.stage { margin: auto 0 0; padding: 2px 0 0; column-gap: 2px; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: stretch; }
.pushka { aspect-ratio: 188 / 338; max-width: none; width: auto; justify-self: center;
  height: min(calc(100vh - 56px - var(--safe-t) - var(--hero-reserve)), calc((min(100vw, 480px) - 16px - 100px) * var(--can-ratio)), 640px);
  height: min(calc(100svh - 56px - var(--safe-t) - var(--hero-reserve)), calc((min(100vw, 480px) - 16px - 100px) * var(--can-ratio)), 640px); }
@media (min-width: 420px) { .pushka { width: auto; } }
.hero:has(.pushka.full) { --hero-reserve: 214px; }
.pushka .slot-glow { top: calc(4.73% - 8px); }
.tz-word { font-size: 54px; }
.tz-side { font-size: 15.5px; }
.tz-side.en { font-size: 12.5px; letter-spacing: .02em; }
/* coins spread evenly along the can's height, from just under the lid to the rim */
.side { align-self: stretch; justify-content: space-evenly; gap: 0; padding: 8% 0 4%; }
.coin { width: 48px; }
.face { width: 46px; height: 46px; }
.c50 .face img { width: 41px; height: 41px; }
.c100 .face img { width: 39px; height: 39px; }
.c200 .face img { width: 44px; height: 44px; }
.face.stack { transform: scale(.9); }
.face.note { width: 48px; height: 46px; }
.face.note img { width: 48px; height: 23px; }
.face.plus { width: 38px; height: 38px; margin: 4px 0; }
.tally { margin-top: 6px; }
.btn-empty:not(.urge) { min-height: 40px; }
.more-cue { margin-top: auto; padding-top: 2px; }

/* ---- tappable coins: pressable look + a gentle one-time invite (v14) ---- */
.coin { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.coin .face { position: relative; isolation: isolate; transition: transform .14s ease; }
.coin .face::before { content: ''; position: absolute; inset: -7px; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(224,192,120,.30) 0%, rgba(224,192,120,.12) 45%, rgba(224,192,120,0) 70%);
  opacity: 0; transform: scale(.85); transition: opacity .2s ease, transform .2s ease; }
@media (hover: hover) { .coin:hover .face::before { opacity: 1; transform: none; } }
.coin:focus-visible { outline: none; }
.coin:focus-visible .face::before { opacity: 1; transform: none; box-shadow: 0 0 0 1.5px rgba(176,138,62,.55); }
.coin:active .face { transform: scale(.94); transition-duration: .06s; }
/* sheen sweeping across each round coin */
.coin .face.real::after { content: ''; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  pointer-events: none; opacity: 0; mix-blend-mode: soft-light;
  background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,250,228,.95) 48%, rgba(255,255,255,.0) 64%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0; }
.coin.c100 .face.real::after { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.coin.c200 .face.real::after { width: 49px; height: 49px; margin: -24.5px 0 0 -24.5px; }
.coins.invite .coin { --d: 0ms; }
.coins.invite .side-a .coin:nth-child(1) { --d: 0ms; }   .coins.invite .side-b .coin:nth-child(1) { --d: 110ms; }
.coins.invite .side-a .coin:nth-child(2) { --d: 220ms; } .coins.invite .side-b .coin:nth-child(2) { --d: 330ms; }
.coins.invite .side-a .coin:nth-child(3) { --d: 440ms; } .coins.invite .side-b .coin:nth-child(3) { --d: 550ms; }
.coins.invite .coin .face { animation: coinBob 1.15s cubic-bezier(.45,0,.3,1) var(--d) both; }
.coins.invite .coin .face.real::after { animation: coinSheen 1.15s ease-in-out var(--d) both; }
.coins.invite .coin .face.stack img, .coins.invite .coin .face.note img { animation: coinGlint 1.15s ease-in-out var(--d) both; }
@keyframes coinBob { 0%, 100% { transform: none; } 40% { transform: translateY(-3px); } 70% { transform: translateY(-.5px); } }
@keyframes coinSheen { 0% { opacity: 0; background-position: 130% 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; background-position: -30% 0; } }
@keyframes coinGlint { 0%, 100% { filter: none; } 45% { filter: brightness(1.13) saturate(1.08); } }
.tap-hint { margin: -6px 0 0; font-size: 12px; line-height: 16px; letter-spacing: .01em; color: #8e9ea9; text-align: center; transition: opacity .6s ease; }
.tap-hint.gone { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .coins.invite .coin .face, .coins.invite .coin .face.real::after, .coins.invite .coin .face img { animation: none !important; }
  .coin .face, .coin .face::before, .tap-hint { transition: none; }
}

/* ===== v36: bigger coins & note, can a touch smaller ===== */
.stage { grid-template-columns: 60px minmax(0, 1fr) 60px; }
.pushka { height: min(calc(100svh - 56px - var(--safe-t) - var(--hero-reserve)), calc((min(100vw, 480px) - 16px - 124px) * var(--can-ratio)), 600px); }
.coin { width: 60px; }
.face { width: 56px; height: 56px; }
.c50 .face img { width: 50px; height: 50px; }
.c100 .face img { width: 48px; height: 48px; }
.c200 .face img { width: 54px; height: 54px; }
.face.stack { transform: scale(1.1); }
.face.note { width: 60px; height: 56px; }
.face.note img { width: 60px; height: 29px; }
.coin .face.real::after { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
.coin.c100 .face.real::after { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.coin.c200 .face.real::after { width: 54px; height: 54px; margin: -27px 0 0 -27px; }

/* ===== v37: keep the can as tall as possible with the bigger coins ===== */
.app { padding-left: 3px; padding-right: 3px; }
.stage { column-gap: 0; grid-template-columns: 56px minmax(0, 1fr) 56px; }
.coin { width: 56px; }
.pushka { height: min(calc(100svh - 56px - var(--safe-t) - var(--hero-reserve)), calc((min(100vw, 480px) - 6px - 112px) * var(--can-ratio)), 640px); }

/* ===== v38: taller can body ===== */
:root { --can-ratio: 2.117; }
.pushka { aspect-ratio: 188 / 398; }
.pushka .slot-glow { top: calc(4.02% - 8px); }

/* ===== v39: empty button in the pushka's own colours (navy + gold), no heart ===== */
.btn-empty.urge, .full-banner .btn-empty, #btnEmptyNow { background: linear-gradient(180deg, #2a6d97, #1f5d85 45%, #0f3a58); color: #f4e2a9; border: 1px solid #c9a253; box-shadow: 0 4px 0 #0a263a, 0 10px 22px rgba(15,58,88,.28); }
.btn-empty.urge:active, #btnEmptyNow:active { box-shadow: 0 2px 0 #0a263a; }
@keyframes urge { 0%, 100% { box-shadow: 0 4px 0 #0a263a, 0 0 0 0 rgba(201,162,83,.5); } 50% { box-shadow: 0 4px 0 #0a263a, 0 0 0 10px rgba(201,162,83,0); } }

/* ===== v41: breathing room — can↔coins and coins↔screen edge ===== */
.app { padding-left: 10px; padding-right: 10px; }
.stage { column-gap: 8px; }
.pushka { height: min(calc(100svh - 56px - var(--safe-t) - var(--hero-reserve)), calc((min(100vw, 480px) - 20px - 16px - 112px) * var(--can-ratio)), 640px); }

/* v42: AI-rendered coins & note */
.face.note img { height: auto; }

/* ===== v43: coins & note hop when the app opens ===== */
@keyframes coinHop { 0% { transform: translateY(0) scale(1); } 25% { transform: translateY(-14px) scale(1.06); } 45% { transform: translateY(0) scale(1.04,.94); } 62% { transform: translateY(-5px) scale(1); } 80% { transform: translateY(0) scale(1.01,.99); } 100% { transform: none; } }
.coins.hop .side-a .coin:nth-child(1) { --h: 0ms; }   .coins.hop .side-b .coin:nth-child(1) { --h: 60ms; }
.coins.hop .side-a .coin:nth-child(2) { --h: 120ms; } .coins.hop .side-b .coin:nth-child(2) { --h: 180ms; }
.coins.hop .side-a .coin:nth-child(3) { --h: 240ms; } .coins.hop .side-b .coin:nth-child(3) { --h: 300ms; }
.coins.hop .side-a .coin:nth-child(4) { --h: 360ms; } .coins.hop .side-b .coin:nth-child(4) { --h: 420ms; }
.coins.hop .side-a .coin:nth-child(5) { --h: 480ms; } .coins.hop .side-b .coin:nth-child(5) { --h: 540ms; }
.coins.hop .coin .face { animation: coinHop .75s cubic-bezier(.3,.7,.4,1) var(--h, 0ms) both; }
@media (prefers-reduced-motion: reduce) { .coins.hop .coin .face { animation: none !important; } }

/* ===== v44: the pushka stands on a wooden pedestal ===== */
:root { --can-ratio: 2.830; }
.pushka { aspect-ratio: 188 / 532; }
.pushka .slot-glow { top: calc(3.01% - 8px); }

/* ===== v45: on open the coins & note FLASH (shine) instead of hopping ===== */
@keyframes coinFlash { 0% { filter: brightness(1); } 30% { filter: brightness(1.55) drop-shadow(0 0 6px rgba(255,226,140,.95)); } 55% { filter: brightness(1); } 75% { filter: brightness(1.35) drop-shadow(0 0 4px rgba(255,226,140,.7)); } 100% { filter: none; } }
.coins.hop .coin .face { animation: coinFlash .9s ease-in-out var(--h, 0ms) both; }
@media (prefers-reduced-motion: reduce) { .coins.hop .coin .face { animation: none !important; } }

/* ===== v46: on open, each coin & the note pops TOWARD the viewer once (zoom in/out, no up-move, no flash) ===== */
@keyframes coinPop { 0% { transform: scale(1); } 40% { transform: scale(1.28); } 70% { transform: scale(.97); } 100% { transform: scale(1); } }
.coins.hop .coin .face { animation: coinPop .55s cubic-bezier(.3,.7,.4,1) var(--h, 0ms) both; filter: none; }
.coins.hop .coin .face.stack { animation-name: coinPop; }
@media (prefers-reduced-motion: reduce) { .coins.hop .coin .face { animation: none !important; } }

/* ===== v47: the pushka stands on a wooden shelf that runs off both edges of the screen ===== */
:root { --can-ratio: 2.117; }
.pushka { aspect-ratio: 188 / 398; }
.pushka .slot-glow { top: calc(4.02% - 8px); }
.stage { position: relative; isolation: isolate; }
.stage::before { content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; width: 100vw; margin-left: -50vw; bottom: -66px; height: calc(100vw * 281 / 1200); max-height: 150px;
  background: url(img/shelf.webp?v=5) center top / 100% 100% no-repeat; }
html, body { overflow-x: clip; }
.app, .hero, main { overflow: visible; }

.stage { margin-bottom: 54px; }

/* ===== v60: back to the shelf — narrower (fades out before the screen edges), a little more of the plank visible, pushka centred ===== */
.stage { --shelf-w: 86vw; --shelf-h: calc(var(--shelf-w) * 281 / 1200 * 1.4); margin-bottom: calc(var(--shelf-h) * .73 + 6px); }
.stage::before { width: var(--shelf-w); margin-left: calc(var(--shelf-w) / -2); height: var(--shelf-h); max-height: none;
  bottom: calc(var(--shelf-h) * -.73);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%); }
.pushka { justify-self: center; margin-inline: auto; }

/* v61: real table ends on the sides (rounded corners), no side fade */
.stage::before { -webkit-mask-image: none; mask-image: none; background: url(img/shelf.webp?v=7) center top / 100% 100% no-repeat; }

/* v63: deeper tabletop, pushka stands in the middle of it; softer-rounded table ends (as v61) */
.stage { --shelf-h: calc(var(--shelf-w) * 357 / 1200); margin-bottom: calc(var(--shelf-h) * 0.713 + 6px); }
.stage::before { bottom: calc(var(--shelf-h) * -0.713); background: url(img/shelf.webp?v=8) center top / 100% 100% no-repeat; }

/* v64: pushka lower on the tabletop (more wood behind it) */
.stage { margin-bottom: calc(var(--shelf-h) * 0.573 + 6px); }
.stage::before { bottom: calc(var(--shelf-h) * -0.573); }

/* v65: visible table shadow */
.pushka-svg { overflow: visible; }
.pushka { overflow: visible !important; }

/* v67: quotes removed */
#quote, figure.quote { display: none !important; }

/* required name — one-time screen over the app (v69) */
.name-gate { position: fixed; inset: 0; z-index: 900; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(24px + var(--safe-t)) 24px calc(24px + var(--safe-b));
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); background-color: var(--bg); overflow-y: auto; }
.name-gate[hidden] { display: none; }
.name-gate.out { animation: ngOut .32s ease forwards; }
@keyframes ngOut { to { opacity: 0; visibility: hidden; } }
.ng-langs { position: absolute; top: calc(10px + var(--safe-t)); inset-inline-end: 14px; }
.ng-card { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0; animation: ngIn .45s cubic-bezier(.2,.9,.3,1); }
@keyframes ngIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ng-logo { width: 92px; height: auto; display: block; margin-bottom: 22px; }
.ng-title { font-family: var(--pushka-font), 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif; font-synthesis: none; font-weight: 700;
  font-size: 38px; line-height: 1.15; color: var(--navy-d); margin: 0; }
html[lang=en] .ng-title, html[lang=de] .ng-title { font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif; font-size: 32px; }
.ng-rule { display: block; width: 44px; height: 2px; background: #c9a253; border-radius: 2px; margin: 16px 0 14px; }
.ng-line { font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif; font-size: 17px; line-height: 1.45; color: var(--navy); opacity: .85; margin: 0 8px 26px; }
.ng-input { width: 100%; border: 1px solid #cdd9e2; background: #fff; border-radius: 14px; padding: 14px 16px; font-size: 18px; text-align: center;
  color: var(--ink); outline: none; box-shadow: 0 1px 2px rgba(15,58,85,.05); }
.ng-input:focus { border-color: #c9a253; box-shadow: 0 0 0 3px rgba(201,162,83,.22); }
.ng-btn { width: 100%; margin-top: 14px; border: 0; border-radius: 14px; padding: 14px 16px; font-size: 17px; font-weight: 600;
  background: var(--navy-d); color: #f3dfa8; box-shadow: inset 0 0 0 1px rgba(201,162,83,.55); transition: opacity .2s, background .2s; }
.ng-btn:disabled { background: #c3ced6; color: #f4f7f9; box-shadow: none; cursor: default; }
.ng-btn:not(:disabled):active { transform: translateY(1px); }
body.gated { overflow: hidden; }

/* install popup (v71) — replaces the small install bar */
.ins-wrap { position: fixed; inset: 0; z-index: 850; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.ins-wrap[hidden] { display: none; }
.ins-back { position: absolute; inset: 0; background: rgba(15,58,85,.38); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: insFade .3s ease; }
.ins-card { position: relative; width: 100%; max-width: 480px; max-height: calc(100% - 24px - var(--safe-t)); overflow-y: auto; box-sizing: border-box;
  background: linear-gradient(180deg, #F1F4F6 0%, var(--bg) 100%); color: var(--navy-d); border-radius: 26px 26px 0 0;
  padding: 26px 22px calc(18px + var(--safe-b)); display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: 0 -10px 40px rgba(15,58,85,.22); animation: insUp .42s cubic-bezier(.2,.9,.3,1); }
.ins-wrap.ios .ins-card { width: calc(100% - 24px); border-radius: 26px; margin-bottom: calc(78px + var(--safe-b)); padding-bottom: 16px; }
.ins-wrap.out .ins-card { animation: insDown .28s ease forwards; } .ins-wrap.out .ins-back, .ins-wrap.out .ins-arrow { animation: insFadeOut .28s ease forwards; }
@keyframes insUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes insDown { to { transform: translateY(40px); opacity: 0; } }
@keyframes insFade { from { opacity: 0; } } @keyframes insFadeOut { to { opacity: 0; } }
.ins-icon { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 6px 18px rgba(15,58,85,.22), 0 0 0 1px rgba(15,58,85,.06); margin-bottom: 14px; }
.ins-title { font-family: var(--pushka-font), 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif; font-synthesis: none; font-weight: 700; font-size: 30px; line-height: 1.15; color: var(--navy-d); margin: 0; }
html[lang=en] .ins-title, html[lang=de] .ins-title { font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif; font-size: 26px; }
.ins-rule { display: block; width: 44px; height: 2px; background: #c9a253; border-radius: 2px; margin: 12px 0 10px; }
.ins-line { font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif; font-size: 16px; line-height: 1.45; color: var(--navy); opacity: .88; margin: 0 6px 16px; }
.ins-steps { list-style: none; margin: 0 0 14px; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 8px; }
.ins-steps li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #dbe4ea; border-radius: 16px; padding: 10px 12px; text-align: start; }
.ins-n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-d); color: #E8C46A; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.ins-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #EEF3F6; color: #0a7aff; display: grid; place-items: center; }
.ins-word { color: #0a7aff; font-weight: 700; font-size: 13.5px; }
.ins-tx { font-size: 15.5px; line-height: 1.35; color: var(--ink); }
.ins-go { display: block; width: 100%; box-sizing: border-box; border: 0; border-radius: 16px; padding: 16px; margin: 2px 0 0; font-size: 19px; font-weight: 700; text-decoration: none; text-align: center;
  background: linear-gradient(180deg, #F0C557 0%, #D9A93D 100%); color: var(--navy-d); box-shadow: 0 6px 18px rgba(201,162,83,.45), inset 0 1px 0 rgba(255,255,255,.45); cursor: pointer; }
.ins-go:active { transform: translateY(1px); }
.ins-copy { width: 100%; margin-top: 10px; border: 0; border-radius: 14px; padding: 13px; font-size: 16px; font-weight: 600; background: var(--navy-d); color: #F0D27E; cursor: pointer; }
.ins-copy.done { background: #2f7a4f; color: #fff; }
.ins-fine { font-size: 12.5px; color: var(--muted); margin: -4px 4px 4px; line-height: 1.4; }
.ins-later { margin-top: 8px; border: 0; background: none; color: var(--navy); opacity: .75; font-size: 15px; font-weight: 600; padding: 10px 24px; cursor: pointer; }
.ins-arrow { position: absolute; bottom: calc(10px + var(--safe-b)); left: 50%; margin-left: -20px; filter: drop-shadow(0 2px 4px rgba(15,58,85,.35)); animation: insBob 1.1s ease-in-out infinite; }
.ins-arrow[hidden] { display: none; }
.ins-arrow.end { left: auto; right: 18px; margin-left: 0; } .ins-arrow.start { left: 18px; margin-left: 0; }
@keyframes insBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
.ins-how { margin: 4px 0 6px; }
@media (max-height: 640px) { .ins-icon { display: none; } .ins-steps li { padding: 7px 10px; } .ins-ic { width: 38px; height: 38px; } }
@media (prefers-reduced-motion: reduce) { .ins-card, .ins-back, .ins-arrow { animation: none !important; } }
body.ins-open { overflow: hidden; }

/* ===== Chabad Camden Town: pound coins (real sizes, scaled), 4 per side ===== */
.side { padding: 6% 0 3%; }
.c10 .face img { width: 46px; height: 46px; }   /* 24.5 mm */
.c20 .face img { width: 41px; height: 41px; }   /* 21.4 mm */
.c50 .face img { width: 51px; height: 51px; }   /* 27.3 mm */
.c100 .face img { width: 45px; height: 45px; }  /* 23.4 mm */
.c200 .face img { width: 53px; height: 53px; }  /* 28.4 mm */
.coin.c10 .face.real::after { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
.coin.c50 .face.real::after { width: 51px; height: 51px; margin: -25.5px 0 0 -25.5px; }
.coin.c20 .face.real::after { width: 41px; height: 41px; margin: -20.5px 0 0 -20.5px; }
.coin.c100 .face.real::after { width: 45px; height: 45px; margin: -22.5px 0 0 -22.5px; }
.coin.c200 .face.real::after { width: 53px; height: 53px; margin: -26.5px 0 0 -26.5px; }
.coin.hept .face.real img { border-radius: 0; box-shadow: none; filter: drop-shadow(0 1px 0 rgba(60,45,10,.22)) drop-shadow(0 3px 4px rgba(25,85,122,.18)); }
.face.stack .k10 { width: 26px; height: 26px; left: 1px; top: 4px; }
.face.stack .k5 { width: 21px; height: 21px; right: 3px; top: 4px; }
.face.stack .k2 { width: 28px; height: 28px; left: 3px; bottom: 1px; }
.face.stack .k1 { width: 23px; height: 23px; right: 3px; bottom: 4px; }
.face.note img { width: 58px; height: auto; }
.coins.invite .side-a .coin:nth-child(4) { --d: 660ms; }
.coins.invite .side-b .coin:nth-child(4) { --d: 770ms; }
.foot .org { font-size: 13px; line-height: 1.6; color: var(--navy); opacity: .8; margin: 6px 0 10px; }
.foot .org a { color: inherit; }
.credits a { color: inherit; }
