/* ===== Tomchu Tattoo – עיצוב ===== */
:root, [data-theme="light"] {
  --bg: #FAF6F3; --surface: #FFFFFF; --ink: #1E1A21; --muted: #5E5662;
  --line: #E6DCE3; --fline: #CFC3CC;
  --pri: #A0179C; --onpri: #FFFFFF; --pri-soft: #F3E3F2;
  --acc: #0E6B5C; --acc-soft: #DDF1EC;
  --vio: #7A1077; --vio-soft: #EEE6F7;
  --card: #1E1A21; --card-ink: #FAF6F3; --card-muted: #D9CFE0; --card-acc: #F0B8EE; --card-line: #5A4B60;
  --danger: #A3261F; --danger-soft: #FBEAEA;
  --focus: #1F6FEB;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0B0A0D; --surface: #17141A; --ink: #F4EFF4; --muted: #B3A8B6;
  --line: #2C2530; --fline: #4A3F50;
  --pri: #E0457B; --onpri: #1A0610; --pri-soft: #3A1226;
  --acc: #2CC6A0; --acc-soft: #0F2E28;
  --vio: #4FD1C5; --vio-soft: #102A2A;
  --card: #211A26; --card-ink: #F4EFF4; --card-muted: #D9CFE0; --card-acc: #F0B8EE; --card-line: #4A3F50;
  --danger: #FF8A80; --danger-soft: #3A1513;
  --focus: #8AB4FF;
  --iri: linear-gradient(120deg, #0F8A66 0%, #0E8E99 28%, #2A5FC4 52%, #7A36B3 76%, #C82464 100%);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; scroll-padding-bottom: 104px; }
html.big-text { font-size: 118.75%; }
body {
  margin: 0; min-height: 100dvh; background: var(--bg); color: var(--ink);
  font-family: Heebo, Arial, sans-serif; font-size: 1rem; line-height: 1.55;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3 { font-family: Rubik, Heebo, sans-serif; line-height: 1.25; margin: 0; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.1rem; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--vio); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
svg { width: 1.4em; height: 1.4em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; right: 12px; z-index: 50; background: var(--pri); color: var(--onpri); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 8px; }
.muted { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* ===== מבנה ===== */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: calc(8px + env(safe-area-inset-top)) 12px 8px; background: var(--bg); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand img { width: 34px; height: 38px; object-fit: contain; }
.brand span { font-family: Rubik, sans-serif; font-weight: 500; font-size: 14px; letter-spacing: 0.04em; direction: ltr; white-space: nowrap; }
.aplus span { font-family: Rubik, sans-serif; font-weight: 700; font-size: 15px; direction: ltr; }
.aplus[aria-pressed="true"] { background: var(--pri-soft); border-color: var(--pri); }
.logo-light { display: none; }
.top-actions { display: flex; gap: 6px; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--fline); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
[data-theme="light"] .i-sun, [data-theme="dark"] .i-moon { display: none; }
.chip-btn { min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--fline); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-size: 13.5px; white-space: nowrap; }
.chip-btn svg { width: 18px; height: 18px; }
.chip-btn[aria-pressed="true"] { background: var(--pri-soft); border-color: var(--pri); }

main { max-width: 560px; margin: 0 auto; padding: 16px 16px calc(96px + env(safe-area-inset-bottom)); outline: none; }
.screen { display: flex; flex-direction: column; gap: 20px; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.stack-lg { display: flex; flex-direction: column; gap: 14px; }

.tabbar {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 20; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--surface); border-top: 1px solid var(--line); padding: 4px 4px calc(8px + env(safe-area-inset-bottom));
}
.tabbar a { min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); text-decoration: none; font-size: 0.75rem; font-weight: 500; border-radius: 12px; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a[aria-current="page"] { color: var(--pri); font-weight: 700; }
@media (min-width: 600px) { .tabbar { max-width: 560px; margin: 0 auto; border-inline: 1px solid var(--line); border-radius: 18px 18px 0 0; } }

/* ===== רכיבים ===== */
.btn { min-height: 52px; padding: 0 20px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; text-align: center; }
.btn-primary { background: var(--pri); color: var(--onpri); border-color: var(--pri); font-size: 1.05rem; min-height: 56px; }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--ink); font-weight: 500; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-small { min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 500; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.link-btn { background: none; border: 0; min-height: 44px; padding: 0 4px; color: var(--vio); font-weight: 700; cursor: pointer; text-decoration: underline; }
.back { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--muted); font-weight: 500; text-decoration: none; }
.back svg { width: 18px; height: 18px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.section-head { display: flex; justify-content: space-between; align-items: center; }

.hero { position: relative; overflow: hidden; border-radius: 24px; background: transparent; border: 1px solid transparent; padding: 22px 16px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
/* בלי עיגול מאחורי הלוגו – הלוגו יושב ישר על הכרטיס */
.hero > * { position: relative; }
.hero img { width: 210px; height: auto; }
.feathers { display: flex; gap: 6px; }
.feathers span { width: 28px; height: 6px; border-radius: 3px; }

.care-card { width: 100%; text-align: start; border: 1px solid var(--card-line); border-radius: 20px; background: var(--card); color: var(--card-ink); padding: 18px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; text-decoration: none; }
.care-card::before { content: ""; position: absolute; left: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; border: 2px dashed var(--card-line); }
.care-card > * { position: relative; }
.care-kicker { font-size: 0.8rem; color: var(--card-acc); font-weight: 700; }
.care-title { font-family: Rubik, sans-serif; font-weight: 700; font-size: 1.25rem; line-height: 1.25; }
.care-icon { width: 48px; height: 48px; border-radius: 14px; background: #D41A5E; display: flex; align-items: center; justify-content: center; color: #fff; }
.timeline-mini { display: flex; align-items: center; }
.timeline-mini i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--card-acc); }
.timeline-mini i:first-child { background: var(--card-acc); }
.timeline-mini b { flex: 1; height: 2px; background: var(--card-line); }
.timeline-labels { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--card-muted); }

.meet { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.meet img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; object-position: 28% 35%; }

.hscroll { margin: 0 -16px; padding: 0 16px 4px; list-style: none; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; }
.hscroll > li { scroll-snap-align: start; }
.thumb-btn { display: block; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--surface); }
.thumb-btn > img { width: 100%; height: 100%; object-fit: cover; }
.art-card { width: 100%; height: 100%; text-align: start; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); padding: 14px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.tag { font-size: 0.78rem; font-weight: 700; color: var(--acc); }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* גלריה */
.filters { display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 4px; scroll-padding-inline: 16px; }
.filters::-webkit-scrollbar { display: none; }
.filters .filter { flex: none; white-space: nowrap; }
.filter { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--fline); background: var(--surface); color: var(--ink); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--pri); border-color: var(--pri); color: var(--onpri); }
.gallery { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery .thumb-btn { width: 100%; aspect-ratio: 4 / 5; position: relative; }
.gallery .badge { position: absolute; bottom: 8px; right: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(0,0,0,0.62); color: #fff; font-size: 0.72rem; }

dialog#viewer { width: 100%; max-width: 560px; height: 100dvh; max-height: 100dvh; margin: 0 auto; padding: 0; border: 0; background: rgba(8,6,10,0.97); color: #fff; }
dialog#viewer[open] { display: flex; flex-direction: column; }
dialog#viewer::backdrop { background: rgba(8,6,10,0.9); }
.viewer-top { display: flex; justify-content: space-between; align-items: center; padding: calc(12px + env(safe-area-inset-top)) 16px 12px; }
.icon-btn.on-dark { background: none; color: #fff; border-color: #6B5F70; }
#viewer-img { flex: 1; min-height: 0; width: 100%; object-fit: contain; }
#viewer-cap { padding: 10px 16px 0; text-align: center; color: #E9E2EC; }
#viewer-cta { margin: 12px 16px calc(20px + env(safe-area-inset-bottom)); background: #A0179C; border-color: #A0179C; color: #fff; }

/* תום */
.facts { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.facts li { background: var(--pri-soft); border-radius: 14px; padding: 12px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.facts b { font-family: Rubik, sans-serif; font-size: 1.6rem; color: var(--pri); line-height: 1.1; }
.facts span { font-size: 0.8rem; }
.pullquote { padding: 20px 18px; border-radius: 18px; background: var(--card); color: var(--card-ink); font-family: Rubik, sans-serif; font-weight: 500; font-size: 1.2rem; line-height: 1.4; text-align: center; }
/* המשפט של תום – דיו במים מאחורי המילים */
.ink-quote { position: relative; margin: 0; padding: 40px 22px 30px; border-radius: 22px; background: #0B0A0D; color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.iq-ink { position: absolute; inset: 0; z-index: -1; }
.iq-ink i { position: absolute; left: var(--x); top: var(--y); width: 52%; height: 46%; background: var(--c); filter: blur(30px); opacity: 0; mix-blend-mode: screen; border-radius: 58% 42% 63% 37% / 45% 58% 42% 55%; transform: scale(.4); transition: opacity 1.2s ease, transform 1.6s cubic-bezier(.16,.8,.3,1); }
.iq-ink::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#0B0A0D, transparent 24%, transparent 76%, #0B0A0D); }
.ink-quote.in .iq-ink i { opacity: .68; transform: scale(1); animation: iq-drift 7s ease-in-out 1.4s infinite alternate; }
.ink-quote.in .iq-ink i:nth-child(2n) { animation-direction: alternate-reverse; }
@keyframes iq-drift { to { transform: translate(16px, -10px) rotate(24deg) scale(1.12); } }
.ink-quote blockquote { margin: 0; }
.ink-quote p { margin: 0; font-family: Rubik, sans-serif; font-weight: 800; font-size: 1.55rem; line-height: 1.3; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.ink-quote .ln { display: block; opacity: 0; transform: translateY(12px); filter: blur(4px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1), filter .6s ease; }
.ink-quote .ln + .ln { transition-delay: .35s; }
.ink-quote.in .ln { opacity: 1; transform: none; filter: none; }
.ink-quote figcaption { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-size: .9rem; color: #E7DDEA; opacity: 0; transition: opacity .6s ease .8s; }
.ink-quote figcaption b { font-weight: 600; }
.ink-quote.in figcaption { opacity: 1; }
.ink-quote figcaption img { width: 26px; height: auto; }
@media (prefers-reduced-motion: reduce) { .ink-quote .ln, .ink-quote figcaption, .iq-ink i { transition: none; opacity: 1; transform: none; filter: none; } .iq-ink i { opacity: .68; } .ink-quote.in .iq-ink i { animation: none; } }
.big-text .ink-quote p { font-size: 1.8rem; }
.chips { margin: 0; padding: 0; list-style: none; display: flex; gap: 8px; flex-wrap: wrap; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--pri-soft); }
.chips li:nth-child(2) { background: var(--vio-soft); }
.chips li:nth-child(3) { background: var(--acc-soft); }
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
details.faq summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 500; cursor: pointer; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary svg { width: 18px; height: 18px; transition: transform .2s; }
details.faq[open] summary svg { transform: rotate(180deg); }
details.faq p { padding-bottom: 14px; color: var(--muted); }
.invite { background: var(--pri-soft); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; text-align: center; }
.socials { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* מדריך החלמה */
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 14px; }
.steps .rail { display: flex; flex-direction: column; align-items: center; }
.steps .num { width: 32px; height: 32px; border-radius: 50%; background: var(--pri); color: var(--onpri); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.steps .line { flex: 1; width: 2px; background: var(--line); }
.steps li:last-child .line { display: none; }
.steps .body { padding-bottom: 20px; display: flex; flex-direction: column; gap: 4px; }
.steps .when { font-size: 0.8rem; font-weight: 700; color: var(--acc); margin-top: 4px; }
.dodont { border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.dodont ul { margin: 0; padding-inline-start: 18px; font-size: 0.92rem; display: flex; flex-direction: column; gap: 4px; }
.do { background: var(--acc-soft); } .do h2 { color: var(--acc); }
.dont { background: var(--pri-soft); } .dont h2 { color: var(--pri); }
.alert { border-radius: 14px; padding: 14px; background: var(--danger-soft); display: flex; gap: 10px; align-items: flex-start; }
.alert svg { color: var(--danger); margin-top: 2px; }
.help { background: var(--vio-soft); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }

/* מאמר */
.article-body { display: flex; flex-direction: column; gap: 18px; }
.article-body ul { margin: 4px 0 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 4px; }
.lead { font-size: 1.05rem; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }

/* טפסים */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .legend { font-weight: 500; }
.req { color: var(--pri); }
.fld { width: 100%; min-height: 48px; min-width: 0; max-width: 100%; font-size: 16px; -webkit-appearance: none; appearance: none; padding: 12px 14px; border: 1.5px solid var(--fline); border-radius: 12px; background: var(--surface); color: var(--ink); }
/* אייפון: שדות תאריך ובחירה מקבלים רוחב וגובה אחידים */
input.fld, select.fld { height: 52px; }
.fld[type="date"] { display: block; line-height: 22px; text-align: right; }
.fld[type="date"]::-webkit-date-and-time-value { text-align: right; min-height: 22px; }
.fld[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .7; }
select.fld { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23B3A8B6' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; padding-left: 36px; }
.grid2 > * { min-width: 0; }
.fld:focus { border-color: var(--pri); outline: none; box-shadow: 0 0 0 3px var(--pri-soft); }
.fld::placeholder { color: var(--muted); }
.fld[aria-invalid="true"] { border-color: var(--danger); }
textarea.fld { resize: vertical; }
.ltr { direction: ltr; text-align: right; }
.err { color: var(--danger); font-size: 0.88rem; font-weight: 500; }
.err:empty { display: none; }
.hint { font-size: 0.85rem; color: var(--muted); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { position: relative; display: inline-flex; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--fline); border-radius: 999px; background: var(--surface); }
.pill input:checked + span { background: var(--pri); border-color: var(--pri); color: var(--onpri); }
.pill input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.q { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.q.invalid { border-color: var(--danger); }
.check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--pri); flex-shrink: 0; }
.progress-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted); }
.progress { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress > div { height: 100%; background: var(--pri); border-radius: 999px; transition: width .25s; }
.sig-wrap { position: relative; }
#sig { width: 100%; height: 160px; border-radius: 14px; border: 1.5px dashed var(--fline); background: #fff; touch-action: none; display: block; cursor: crosshair; }
.sig-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #6A6070; pointer-events: none; }
.notice { padding: 12px; border-radius: 12px; background: var(--vio-soft); font-size: 0.92rem; }
.form-actions { display: flex; gap: 10px; }
.form-actions .btn { flex: 1; }
.form-actions .btn-primary { flex: 2; }

.done { align-items: center; text-align: center; padding-top: 40px; }
.done img { width: 120px; }
.done .btn { width: 100%; }

/* הדפסה – רק הצהרת הבריאות */
#print-area { display: none; }
@media print {
  body > *:not(#print-area) { display: none !important; }
  #print-area { display: block !important; color: #000; background: #fff; font-size: 11pt; padding: 0; }
  #print-area h1 { font-size: 18pt; margin-bottom: 4pt; }
  #print-area h2 { font-size: 12.5pt; margin: 12pt 0 4pt; }
  #print-area table { width: 100%; border-collapse: collapse; }
  #print-area td { border: 1px solid #999; padding: 4pt 6pt; vertical-align: top; }
  #print-area .sig { height: 90pt; border: 1px solid #999; }
  @page { margin: 14mm; }
}

/* ===== אנימציית פתיחה – דיו במים ===== */
#intro { position: fixed; inset: 0; z-index: 100; background: #0B0A0D; overflow: hidden; transition: opacity .55s ease; cursor: pointer; }
#intro.out { opacity: 0; pointer-events: none; }
.no-intro #intro { display: none; }
body.intro-on { overflow: hidden; }
#intro .ib-ring { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #F0B8EE; transform: translate(-50%,-50%) scale(0); opacity: 0; animation: ib-ring 1.1s ease-out forwards; }
@keyframes ib-ring { 0% { opacity: .9; transform: translate(-50%,-50%) scale(0) } 100% { opacity: 0; transform: translate(-50%,-50%) scale(9) } }
#intro .ib-ink { position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: ib-swirl 9s ease-in-out 1s infinite alternate; }
#intro .ib-arm { position: absolute; left: 0; top: 0; width: 0; height: 0; }
#intro .ib-bloom { position: absolute; left: 0; top: 0; opacity: 0; filter: blur(18px); mix-blend-mode: screen; transform: translate(-50%,-50%) scale(.05); animation-duration: 2.2s; animation-timing-function: cubic-bezier(.16,.8,.3,1); animation-fill-mode: forwards; }
#intro .ib-a { animation-name: ib-a } #intro .ib-b { animation-name: ib-b } #intro .ib-c { animation-name: ib-c }
@keyframes ib-a { 0% { opacity: 0; transform: translate(-50%,-50%) translateY(0) scale(.05) } 20% { opacity: .95 } 100% { opacity: .85; transform: translate(-50%,-50%) translateY(-60px) scale(1) } }
@keyframes ib-b { 0% { opacity: 0; transform: translate(-50%,-50%) translateY(0) scale(.05) } 20% { opacity: .95 } 100% { opacity: .8; transform: translate(-50%,-50%) translateY(-135px) scale(1) } }
@keyframes ib-c { 0% { opacity: 0; transform: translate(-50%,-50%) translateY(0) scale(.05) rotate(0deg) } 25% { opacity: .9 } 100% { opacity: .75; transform: translate(-50%,-50%) translateY(-210px) scale(1) rotate(35deg) } }
/* הלוגו מופיע מיד, באותו מקום ובאותו גודל כמו במסך הפתיחה של אנדרואיד, וגדל מעט */
#intro .ib-logo { position: absolute; left: 50%; top: 50%; width: 120px; height: auto; transform: translate(-50%,-50%); animation: ib-grow 1.4s cubic-bezier(.2,.8,.2,1) .15s forwards; }
@keyframes ib-fade { to { opacity: 1 } }
@keyframes ib-grow { to { transform: translate(-50%,-50%) scale(1.3) } }
@keyframes ib-swirl { from { transform: rotate(0deg) scale(1) } to { transform: rotate(-14deg) scale(1.08) } }
/* הלוגו שעף מהפתיחה למקום שלו במסך הבית */
.ib-fly { position: fixed; z-index: 101; transform-origin: 0 0; height: auto; pointer-events: none; }

/* ===== צבעי היונק – רמה 2 ===== */
.btn-tint { font-weight: 700; border-width: 1.5px; }
.btn-tint .chip { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.btn-tint .chip svg { width: 15px; height: 15px; stroke-width: 2.4; }
.tint-teal { background: #0C2A2D; border-color: #12A5B2; color: #CFF3F5; }
.tint-teal .chip { background: #0E8E99; }
.tint-green { background: #0B2A20; border-color: #13A076; color: #CBF2E3; }
.tint-green .chip { background: #0F8A66; }
.care-card { border-color: #5B4BC4; }
.care-card::before { border-color: #5B4BC4; }
.care-kicker { color: #7FE3C8; }
.timeline-mini i:nth-of-type(1) { background: #D41A5E; border-color: #D41A5E; }
.timeline-mini i:nth-of-type(2) { border-color: #5B4BC4; }
.timeline-mini i:nth-of-type(3) { border-color: #1D93B5; }
.how { border-color: #3A3150; }
.how-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: #D9CFE0; }
.how-list li { display: flex; align-items: center; gap: 10px; }
.how-list .n { width: 26px; height: 26px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 0.82rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.meet { border: 1.5px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--iri) border-box; }
h2.barred { display: flex; align-items: center; gap: 8px; }
h2.barred::before { content: ""; width: 6px; height: 18px; border-radius: 3px; background: var(--bar); }
.thumb-btn.framed { border: 2px solid var(--frame); }
.art-card.topped { border-top: 4px solid var(--top); }
.btn-waze { background: #1D93B5; color: #fff; border-color: #1D93B5; }

/* תפריט תחתון צבעוני */
.tabbar a { color: var(--muted); }
.tabbar .ti { display: inline-flex; padding: 3px 14px; border-radius: 999px; color: var(--tab); }
.tabbar a[aria-current="page"] { color: var(--ink); }
.tabbar a[aria-current="page"] .ti { background: var(--iri); color: #fff; }

/* ===== הוספה למסך הבית ===== */
.install-tip { position: fixed; z-index: 30; inset-inline: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); max-width: 536px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 20px; background: #211A26; border: 1px solid #5B4BC4;
  box-shadow: 0 12px 32px rgba(0,0,0,.55); animation: tip-in .35s ease-out; }
@keyframes tip-in { from { transform: translateY(20px); opacity: 0 } to { transform: none; opacity: 1 } }
.install-tip img { width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; }
.install-body { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: .9rem; line-height: 1.45; }
.install-body strong { font-size: .98rem; }
.ios-share { display: inline-flex; vertical-align: middle; width: 24px; height: 24px; border-radius: 6px; background: #1D93B5; color: #fff; align-items: center; justify-content: center; }
.ios-share svg { width: 16px; height: 16px; }
.install-x { width: 40px; height: 40px; flex-shrink: 0; }

/* ===== התרעות בהצהרת הבריאות ===== */
.q-note { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: .9rem; line-height: 1.5; }
.q-check { background: #251B33; border: 1px solid #5B4BC4; color: #E3DEFF; }
.q-stop { background: #3A1513; border: 1px solid #FF8A80; color: #FFD9D4; }

/* ===== מבצע החודש ===== */
.promo-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; text-align: start; padding: 16px; border-radius: 18px; border: 1.5px solid var(--pri); background: var(--pri-soft); color: var(--ink); cursor: pointer; }
.promo-card-title { font-family: Rubik, Heebo, sans-serif; font-weight: 700; font-size: 1.1rem; }
.promo-card-until { font-size: .9rem; color: var(--muted); }
.promo-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--pri); color: var(--onpri); font-size: .8rem; font-weight: 800; }
dialog.promo-dlg { width: calc(100% - 36px); max-width: 420px; max-height: calc(100dvh - 36px); padding: 0; border: 1px solid var(--fline); border-radius: 24px; background: var(--surface); color: var(--ink); overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
dialog.promo-dlg::backdrop { background: rgba(6,5,8,.72); }
.promo-media { position: relative; background: var(--card); }
.promo-media img { width: 100%; max-height: 300px; object-fit: cover; }
.promo-media.no-img { height: 150px; display: flex; align-items: center; justify-content: center; }
.promo-media img.promo-logo { width: auto; height: 110px; object-fit: contain; }
.promo-media .promo-badge { position: absolute; top: 14px; inset-inline-start: 14px; }
.promo-x { position: absolute; top: 10px; inset-inline-end: 10px; background: rgba(11,10,13,.8); color: #F4EFF4; border: 0; }
.promo-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.promo-body h2 { font-size: 1.35rem; }
.promo-text { color: var(--card-muted); line-height: 1.6; }
.promo-until { color: var(--acc); font-weight: 700; font-size: .92rem; }
.promo-body .btn { margin-top: 4px; }
.btn-ghost { background: transparent; border: 0; color: var(--muted); min-height: 44px; }
.promo-body h2:focus { outline: none; }
#push-t:focus { outline: none; }

/* ===== רעיונות מפינטרסט ===== */
.tint-violet { background: #22173A; border-color: #8240C4; color: #E6D8FA; }
.tint-violet .chip { background: #7A36B3; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--fline); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip-btn[aria-pressed="true"] { border-color: var(--pri); background: var(--pri-soft); font-weight: 700; }
.en-query { font-size: 1.1rem; font-weight: 700; text-align: left; line-height: 1.4; }
.alt-link { min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: flex; align-items: center; justify-content: space-between; text-decoration: none; }
.alt-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn-pin { background: #E60023; color: #fff; }

/* רעיון מקורי – סקיצה ב־AI */
.tint-rose { background: #33101F; border-color: #DC2F6C; color: #FFD6E4; }
.tint-rose .chip { background: #C82464; }
.sk-frame { position: relative; width: 100%; aspect-ratio: 1; border-radius: 18px; overflow: hidden; border: 1px solid var(--line, #2C2530); background: #FBFAF7; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.sk-frame canvas { width: 100%; height: 100%; display: block; pointer-events: none; }
.sk-badge { position: absolute; top: 10px; inset-inline-end: 10px; background: rgba(11,10,13,.8); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.sk-err { color: #FF9AA8; margin: 0; font-size: .9rem; }

/* כפתור התראות בכותרת */
.bell { position: relative; }
.bell[aria-pressed="true"] { background: var(--pri-soft); border-color: var(--pri); }
.bell .bell-dot { position: absolute; top: 7px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: #FF6B9A; box-shadow: 0 0 0 2px var(--surface); }
.bell[aria-pressed="true"] .bell-dot { display: none; }

/* הדמיה על הגוף */
.tint-sky { background: #0F1D38; border-color: #2E6FD6; color: #D6E4FF; }
.tint-sky .chip { background: #2A5FC4; }
.try-pick { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px dashed var(--fline); border-radius: 14px; background: var(--surface); cursor: pointer; min-height: 64px; }
.try-pick:focus-within { outline: 2px solid var(--pri); outline-offset: 2px; }
.try-pick.done { border-style: solid; border-color: #4ADE8C; }
.try-pick-n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; background: #1B7F9E; color: #fff; }
.try-pick.done .try-pick-n { background: #4ADE8C; color: #0B0A0D; }
.try-stage { border-radius: 16px; overflow: hidden; border: 1px solid var(--fline); background: #000; }
.try-stage canvas { display: block; width: 100%; height: auto; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.try-row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; }
.try-row label { font-weight: 700; font-size: .95rem; }
.try-row input[type=range] { width: 100%; min-height: 36px; accent-color: #4CC3E8; direction: ltr; }

/* יומן החלמה */
.care-top { display: flex; align-items: center; gap: 16px; }
.care-ring { width: 92px; height: 92px; border-radius: 50%; flex: none; background: conic-gradient(#4CC3E8 0 var(--p), var(--line) var(--p) 100%); display: flex; align-items: center; justify-content: center; }
.care-ring > div { width: 74px; height: 74px; border-radius: 50%; background: var(--bg, #0B0A0D); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.care-ring b { font-family: Rubik, sans-serif; font-size: 26px; }
.care-ring span { font-size: 11px; color: var(--muted, #B3A8B6); }
.care-kick { font-size: .82rem; font-weight: 700; color: #4CC3E8; }
.care-now { border-color: #1E4A57; background: #0F1E24; }
.care-th { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; }
.care-th span { font-size: .85rem; font-weight: 700; color: #4ADE8C; }
.care-task { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 0; border: 0; border-top: 1px solid var(--line); background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.care-task .ck { width: 28px; height: 28px; border-radius: 50%; flex: none; border: 2px solid var(--fline); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.care-task[aria-pressed="true"] .ck { background: #4ADE8C; border-color: #4ADE8C; color: #0B0A0D; }
.care-task[aria-pressed="true"] .ck::before { content: "✓"; }
.care-task[aria-pressed="true"] strong { text-decoration: line-through; opacity: .65; }
.care-task .muted { font-size: .8rem; }
.care-feel { display: flex; gap: 8px; }
.care-feel button { flex: 1; min-height: 60px; border-radius: 14px; border: 1.5px solid var(--fline); background: var(--surface); color: inherit; font: inherit; font-size: .88rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; }
.care-feel button span { font-size: 1.25rem; }
.care-feel button[aria-pressed="true"] { border-color: #4CC3E8; background: #0E2A33; font-weight: 700; }
.care-step { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; }
.care-step .dot { width: 22px; height: 22px; border-radius: 50%; flex: none; margin-top: 2px; border: 2px solid var(--fline); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.care-step .when { font-size: .78rem; font-weight: 700; color: var(--muted, #B3A8B6); }
.care-step .t { font-size: .95rem; }
.care-step.past { opacity: .6; }
.care-step.past .dot { background: #4ADE8C; border-color: #4ADE8C; color: #0B0A0D; }
.care-step.here .dot { background: #4CC3E8; border-color: #4CC3E8; box-shadow: 0 0 0 4px #1E4A57; }
.care-step.here .when { color: #4CC3E8; }
.care-step.here .t { font-weight: 800; }
.care-rem { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.care-rem input { width: 24px; height: 24px; flex: none; accent-color: #4CC3E8; }
.care-rem span { display: flex; flex-direction: column; }
.care-rem .muted { font-size: .82rem; }
.care-done { border-color: #5A2A58; background: radial-gradient(circle at 50% 0%, #2A1029, var(--surface) 70%); }
.linklike { background: none; border: 0; padding: 0; color: #8FD3C8; font: inherit; text-decoration: underline; cursor: pointer; min-height: 32px; }

/* שדה תאריך בפורמט ישראלי */
.date-wrap { position: relative; display: block; }
.date-show { display: flex; align-items: center; gap: 8px; height: 52px; font-variant-numeric: tabular-nums; }
.date-show.empty { color: var(--muted); }
.date-show::after { content: "📅"; margin-inline-start: auto; font-size: 1rem; opacity: .7; }
.date-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; margin: 0; }
.date-wrap:focus-within .date-show { border-color: var(--pri); box-shadow: 0 0 0 3px var(--pri-soft); }
.date-wrap:has(.date-native[aria-invalid="true"]) .date-show { border-color: var(--danger); }

/* שפה */
.lang-btn { width: auto; min-width: 48px; padding: 0 10px; gap: 4px; display: inline-flex; align-items: center; }
.lang-btn svg { width: 18px; height: 18px; }
.lang-code { font-weight: 800; font-size: .8rem; }
.lang-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 4px; }
.lang-opt { min-height: 54px; border-radius: 14px; border: 1.5px solid var(--fline); background: var(--surface); color: var(--ink); font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer; }
.lang-opt[aria-pressed="true"] { border-color: var(--pri); background: var(--pri-soft); }
.lang-note { margin: 0; padding: 10px 14px; border-radius: 12px; background: #0F1E24; border: 1px solid #1E4A57; font-size: .9rem; text-align: start; }
[dir="ltr"] .back svg, [dir="ltr"] .flip-ltr { transform: scaleX(-1); }
[dir="ltr"] .ltr { text-align: left; }
[dir="ltr"] .care-card::before { left: auto; right: -30px; }
.btn-wa { background: #25D366; color: #06240F; border-color: #25D366; font-weight: 800; }

/* לוגו מסתובב – סימן טעינה */
.tt-loader { display: inline-flex; width: var(--s, 22px); height: var(--s, 22px); flex: none; }
.tt-loader img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; animation: tt-spin 1.4s linear infinite; }
@keyframes tt-spin { to { transform: rotate(360deg); } }
@keyframes tt-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .tt-loader img { animation: tt-pulse 1.4s ease-in-out infinite; } }
.btn[aria-busy="true"] { gap: 10px; opacity: .9; }
#tt-busy { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: rgba(11,10,13,.82); backdrop-filter: blur(3px); color: var(--ink); font-weight: 700; text-align: center; padding: 24px; }
#tt-busy p { margin: 0; font-size: 1.05rem; }
.thumb-btn { position: relative; }
.thumb-btn > .tt-loader, .viewer-box > .tt-loader { position: absolute; inset: 0; margin: auto; display: none; z-index: 1; }
.thumb-btn.is-loading > .tt-loader, .viewer-box.is-loading > .tt-loader { display: inline-flex; }
.thumb-btn.is-loading > img { opacity: 0; }
.thumb-btn > img { transition: opacity .3s; }
.viewer-box { position: relative; flex: 1; min-height: 120px; display: flex; align-items: center; justify-content: center; }
.viewer-box.is-loading > img { opacity: 0; }

/* אנימציה: טשטוש לחדות (כניסה לגלריה, מעבר בין סינונים, טעינת תמונה) */
@keyframes tt-blur-in { from { opacity: 0; transform: scale(.92); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes tt-blur-out { to { opacity: 0; transform: scale(.96); filter: blur(6px); } }
@keyframes tt-sharpen { from { opacity: 0; filter: blur(12px); } to { opacity: 1; filter: none; } }
.g-in { animation: tt-blur-in .55s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 70ms); }
.g-out { animation: tt-blur-out .2s ease-in both; pointer-events: none; }
.thumb-btn:not(.is-loading) > img, .viewer-box:not(.is-loading) > img { animation: tt-sharpen .45s ease-out both; }
@media (prefers-reduced-motion: reduce) { .g-in, .g-out, .thumb-btn > img, .viewer-box > img { animation: none !important; } }

/* צפייה בעבודות: חצים, מונה, זום */
.viewer-box { overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
#viewer-img { will-change: transform; -webkit-user-drag: none; }
.viewer-box.zoomed { cursor: grab; }
.viewer-count { font-size: .85rem; color: #E9E2EC; font-variant-numeric: tabular-nums; margin-inline-start: auto; margin-inline-end: 10px; }
.v-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(12,10,14,.55); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(4px); }
.v-nav svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.v-nav:focus-visible { outline: 3px solid #E0457B; outline-offset: 2px; }
.v-prev { inset-inline-start: 10px; }
.v-next { inset-inline-end: 10px; }
[dir="ltr"] .v-nav svg { transform: scaleX(-1); }
.viewer-box.zoomed .v-nav { opacity: 0; pointer-events: none; }
.viewer-hint { margin: 6px 16px 0; text-align: center; font-size: .78rem; color: #B3A8B6; }
@media (hover: hover) and (pointer: fine) { .viewer-hint { display: none; } }
@media (hover: none) { .v-nav { width: 40px; height: 40px; opacity: .8; } }

/* כפתורי רשתות חברתיות בצבעי המותגים */
.soc { color: #fff; border: 0; font-weight: 800; }
.soc-ig { background: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%); }
.soc-fb { background: #1877F2; }
.soc-tt { background: #010101; box-shadow: -2px -2px 0 #25F4EE, 2px 2px 0 #FE2C55; }
.soc:hover, .soc:focus-visible { filter: brightness(1.1); }

/* ===== מעבר בין מסכים: דהייה ועלייה ===== */
@keyframes scr-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes scr-fade { to { opacity: 0; } }
.scr-in > * { animation: scr-rise .38s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--k, 0) * 45ms + 30ms); }
.scr-out { animation: scr-fade .14s ease-in both; }
@media (prefers-reduced-motion: reduce) { .scr-in > *, .scr-out { animation: none !important; } }

/* ===== שובר מתנה (צבעי הקוליברי) ===== */
:root { --iri: linear-gradient(120deg, #0F8A66 0%, #0E8E99 28%, #2A5FC4 52%, #7A36B3 76%, #C82464 100%); }
.tint-gift { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--iri) border-box; border-color: transparent; color: var(--ink); }
.tint-gift .chip { background: var(--iri); }
.btn-gift { background: var(--iri); color: #fff; border: 0; font-size: 1.05rem; min-height: 56px; font-weight: 800; box-shadow: 0 6px 22px -10px rgba(130,64,196,.8); }
.btn-gift:active, .btn-wa:active { transform: scale(.97); }
.lbl { font-weight: 700; font-size: .95rem; }
.gift-prog { display: flex; gap: 4px; }
.gift-prog i { flex: 1; height: 5px; border-radius: 5px; background: var(--line); }
.gift-prog i.on { background: var(--iri); }
.gift-amt { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--fline); border-radius: 18px; padding: 12px; }
.gift-amt:focus-within { border-color: var(--pri); box-shadow: 0 0 0 3px var(--pri-soft); }
.gift-amt.bad { border-color: var(--danger); }
.gift-step { width: 48px; height: 48px; flex: none; border-radius: 14px; border: 1.5px solid var(--fline); background: var(--bg); font: 800 1.4rem Rubik, sans-serif; cursor: pointer; }
.gift-amt-in { flex: 1; min-width: 0; display: flex; align-items: baseline; justify-content: center; gap: 4px; direction: ltr; }
.gift-amt-in > span { font: 800 1.7rem Rubik, sans-serif; color: var(--muted); }
.gift-amt-in input { width: 100%; min-width: 0; max-width: 6ch; border: 0; background: none; font: 800 2.5rem Rubik, sans-serif; text-align: center; padding: 0; }
.gift-amt-in input:focus { outline: none; }
.gift-designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gift-designs button { border: 2px solid transparent; border-radius: 14px; background: none; padding: 0 0 6px; display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; cursor: pointer; overflow: hidden; }
.gift-designs button[aria-pressed="true"] { border-color: var(--ink); }
.gift-opt { text-align: start; padding: 12px; border-radius: 14px; border: 1.5px solid var(--fline); background: var(--surface); cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.gift-opt small { color: var(--muted); font-size: .8rem; }
.gift-opt[aria-pressed="true"], .gift-pay button[aria-pressed="true"] { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--iri) border-box; border-color: transparent; }
.gift-rows { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 2px 16px; }
.gift-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.gift-rows > div:first-child { border-top: 0; }
.gift-rows span { color: var(--muted); }
.gift-rows .tot b { font: 800 1.3rem Rubik, sans-serif; }
.gift-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gift-pay button { border-radius: 18px; border: 2px solid var(--fline); background: var(--surface); padding: 16px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.gp-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font: 800 1rem Rubik, sans-serif; }
.gp-bit { background: #1FB6C9; color: #04262b; } .gp-pbx { background: #2C3BE0; color: #fff; font-size: .78rem; }
.gift-how ol { margin: 6px 0 0; padding-inline-start: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.gift-status { display: flex; align-items: center; gap: 10px; border-radius: 14px; padding: 12px 14px; font-weight: 700; }
.gift-status .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.gift-status.wait { background: #2A2210; color: #F3C969; border: 1px solid #5A4718; }
.gift-status.wait .dot { animation: g-pulse 1.2s ease-in-out infinite; }
.gift-status.ok { background: #0F2A1E; color: #5BE3A4; border: 1px solid #1D5A3E; }
[data-theme="light"] .gift-status.wait { background: #FFF6DC; color: #6B4E00; border-color: #E9CF7E; }
[data-theme="light"] .gift-status.ok { background: #E3F7EC; color: #0E5A35; border-color: #9ED9B8; }
@keyframes g-pulse { 50% { opacity: .3; } }
.gift-paybox { display: flex; flex-direction: column; gap: 10px; }
.gift-num { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gift-num b { font: 800 1.5rem Rubik, sans-serif; }
.gift-loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 60px 0; }
.gift-hi { font: 700 1.1rem Rubik, sans-serif; text-align: center; }

/* השובר */
.gv { position: relative; aspect-ratio: 1.6; border-radius: 20px; padding: 16px 18px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; color: #fff; isolation: isolate; box-shadow: 0 18px 40px -18px rgba(0,0,0,.7); background: var(--iri); }
.gv-1 { background: radial-gradient(circle at 20% 90%, #1BC48F 0, transparent 55%), linear-gradient(135deg, #063B33, #0C6F78 60%, #1856A8); }
.gv-2 { background: radial-gradient(circle at 15% 85%, #FF4D86 0, transparent 50%), linear-gradient(135deg, #3A0E55, #8A2BB8 55%, #D12E6E); }
.gv::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.2) 45%, transparent 60%); background-size: 250% 100%; animation: gv-shine 3.4s ease-in-out infinite; }
@keyframes gv-shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.gv-bird { position: absolute; width: 56%; inset-inline-start: -6%; bottom: -16%; z-index: -1; filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); max-width: none; }
.gv-top { display: flex; flex-direction: column; align-items: flex-end; text-align: end; }
.gv-brand { font: 700 .82rem Rubik, sans-serif; letter-spacing: .05em; text-transform: uppercase; opacity: .9; direction: ltr; }
.gv-kind { font-size: .74rem; opacity: .85; }
.gv-main { text-align: end; text-shadow: 0 2px 10px rgba(0,0,0,.3); display: flex; flex-direction: column; align-items: flex-end; }
.gv-to { font: 700 1.3rem Rubik, sans-serif; line-height: 1.1; }
.gv-for { font: 500 .85rem Heebo, sans-serif; opacity: .85; }
.gv-amt { font: 800 2.4rem Rubik, sans-serif; line-height: 1.05; }
.gv-msg { font-size: .8rem; opacity: .92; line-height: 1.35; max-width: 62%; max-height: 2.7em; overflow: hidden; }
.gv-foot { display: flex; justify-content: flex-end; gap: 10px; align-items: center; font-size: .74rem; flex-wrap: wrap; }
.gv-code { font: 700 .82rem ui-monospace, Menlo, monospace; letter-spacing: .08em; background: rgba(0,0,0,.28); padding: 3px 8px; border-radius: 6px; }
.gv-pending, .gv-off { filter: saturate(.35) brightness(.8); }
.gv-stamp { position: absolute; top: 30%; left: 50%; transform: translate(-50%, -50%) rotate(-10deg); border: 2px solid #F3C969; color: #F3C969; font: 800 .95rem Rubik, sans-serif; padding: 4px 12px; border-radius: 8px; background: rgba(0,0,0,.5); white-space: nowrap; }
.gv-mini { aspect-ratio: 1.6; padding: 0; border-radius: 12px; box-shadow: none; width: 100%; }
.gv-mini .gv-bird { width: 70%; bottom: -20%; }
@keyframes gv-reveal { from { transform: rotateY(80deg) scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.gv-reveal .gv { animation: gv-reveal .8s cubic-bezier(.2,.8,.2,1) both; }
.gift-conf { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 60; }
.gift-conf i { position: absolute; top: -12px; width: 8px; height: 13px; border-radius: 2px; animation: g-fall 1.8s ease-in forwards; }
@keyframes g-fall { to { transform: translateY(105vh) rotate(600deg); opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .gv::before, .gv-reveal .gv, .gift-status.wait .dot { animation: none !important; } .gift-conf { display: none; } }

/* ===== ערכת צבעי הקוליברי: הכפתור הראשי בגרדיאנט של הלוגו ===== */
.btn-primary { background: var(--iri); border: 0; color: #fff; font-weight: 800; box-shadow: 0 6px 22px -10px rgba(130,64,196,.8); }
.btn-primary:active { transform: scale(.97); }

/* ===== זרימת הצבעים של הקוליברי בכל האפליקציה ===== */
:root { --iri-v: linear-gradient(180deg, #0F8A66 0%, #0E8E99 28%, #2A5FC4 52%, #7A36B3 76%, #C82464 100%); }
/* מילוי מלא בגרדיאנט */
.filter[aria-pressed="true"], .pill input:checked + span, .steps .num, .promo-badge, .skip {
  background: var(--iri) !important; border-color: transparent !important; color: #fff !important; }
.progress > div { background: var(--iri); }
/* מסגרת בגרדיאנט לבחירות פעילות */
.aplus[aria-pressed="true"], .chip-btn[aria-pressed="true"], .bell[aria-pressed="true"], .lang-opt[aria-pressed="true"] {
  border-color: transparent; background: linear-gradient(var(--pri-soft), var(--pri-soft)) padding-box, var(--iri) border-box; }
/* כפתורי הקיצורים בדף הבית – כולם עם מסגרת זורמת */
.btn-tint { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--iri) border-box !important; border-color: transparent !important; color: var(--ink) !important; }
/* אייקונים בקו עדין בריבוע מעוגל שקוף – צבע אחד מהלוגו לכל כפתור */
.btn-tint .chip { --c: #12A5B2; width: 44px; height: 44px; border-radius: 14px; flex: none; background: color-mix(in srgb, var(--c) 16%, transparent) !important; color: var(--c) !important; }
.btn-tint .chip svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tint-teal .chip { --c: #2FC4CF; } .tint-green .chip { --c: #22C08F; } .tint-gift .chip { --c: #F0457F; }
.tint-sky .chip { --c: #A46BE6; } .tint-violet .chip { --c: #5B95EE; } .tint-rose .chip { --c: #F0457F; }
/* פס הכותרות, המסגרות והקווים */
h2.barred::before { background: var(--iri-v); }
.thumb-btn.framed { border-color: transparent; background: var(--iri) border-box; }
.art-card.topped { border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.art-card.topped::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--iri); }
.feathers span { display: none; }
.feathers span:first-child { display: block; width: 136px; background: var(--iri) !important; }
.fld:focus, .date-wrap:focus-within .date-show, .gift-amt:focus-within { border-color: #8240C4; box-shadow: 0 0 0 3px rgba(130,64,196,.25); }

/* ===== כפתורי הקיצורים בדף הבית: כרטיסים עם אייקון גדול בגרדיאנט מעל הטקסט ===== */
.home-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.home-tiles .btn-tint { flex-direction: column; justify-content: center; text-align: center; min-height: 116px; gap: 8px; padding: 14px 10px; line-height: 1.3; font-size: .95rem; }
.home-tiles .btn-tint.tile-wide { grid-column: 1 / -1; flex-direction: row; min-height: 72px; gap: 14px; }
.home-tiles .btn-tint .chip { width: auto !important; height: auto !important; background: none !important; border-radius: 0; }
.home-tiles .btn-tint .chip svg { width: 40px; height: 40px; stroke: url(#tt-iri) !important; stroke-width: 1.5; }
