/* בונים זוגיות - עיצוב משותף לכל דפי האתר (מבנה בסגנון דפי קרוסלה, בצבעי המותג) */
:root {
  --bg: #F7F1E8;
  --bg-2: #FBEDE4;
  --paper: #FFFFFF;
  --head: #4E7356;          /* מרווה עמוק - כותרות */
  --sage: #7A9E7E;
  --sage-soft: rgba(122, 158, 126, .16);
  --em: #A95D3A;            /* טרקוטה כהה - משפטים גדולים */
  --terra: #C4714A;
  --terra-dark: #A95D3A;
  --terra-soft: rgba(196, 113, 74, .13);
  --gold: #C9A84C;
  --gold-light: #E8C979;
  --brown: #8B4A2B;
  --ink: #2C2C2C;
  --muted: #6B6460;
  --line: rgba(78, 115, 86, .16);
  --deep: #2F4A38;          /* כרטיס המחיר */
  --deep-ink: #FFFFFF;
  --deep-line: rgba(255, 255, 255, .16);
  --glow: #FBE0D3;
  --grid: rgba(78, 115, 86, .07);
  --dot: rgba(169, 93, 58, .16);
  --font-head: "Rubik", "Heebo", system-ui, Arial, sans-serif;
  --font-body: "Heebo", system-ui, Arial, sans-serif;
  --font-logo: "Frank Ruhl Libre", "David", serif;
  --fs-h1: clamp(34px, 21.6px + 2.667vw, 60px);
  --fs-h2: clamp(28px, 24px + 0.9vw, 38px);
  --fs-big: clamp(38px, 26px + 3vw, 66px);
  --fs-lead: clamp(19px, 17px + 0.5vw, 22px);
  --fs-body: clamp(17px, 15px + 0.5vw, 18px);
  --r-card: 20px;
  --r-pill: 999px;
  --pad-sec: clamp(64px, 46px + 5vw, 120px);
  --maxw: 1076px;
  --narrow: 716px;
  --shadow-card: 0 2px 4px rgba(78, 115, 86, .05), 0 40px 80px -40px rgba(78, 115, 86, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--terra-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .55em; color: var(--head); }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: clamp(21px, 2.2vw, 24px); font-weight: 700; }
p { margin: 0 0 1em; }
.em { color: var(--terra-dark); }
.lead { font-size: var(--fs-lead); color: var(--muted); }
.center { text-align: center; }

.wrap { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
.narrow { width: min(var(--narrow), 100% - 40px); margin-inline: auto; }

/* סעיפים ורקעים */
.sec { position: relative; padding: var(--pad-sec) 0; overflow: hidden; isolation: isolate; }
.sec--bg { background: var(--bg); }
.sec--paper { background: var(--paper); }
.sec--peach { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.bg-grid { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 44px 44px; }
.bg-dots::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.5px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at top left, #000 0%, transparent 55%);
  mask-image: radial-gradient(ellipse at top left, #000 0%, transparent 55%);
}
.glow::after {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%;
  top: -160px; inset-inline-start: -180px; background: radial-gradient(closest-side, var(--glow), transparent);
}

/* פס טיוטה ותיבות "חסר" */
.draft-bar { background: #FFF6D6; color: #6b5a12; text-align: center; font-size: 14px; padding: 6px 12px; border-bottom: 1px solid #EBD98A; }
.todo {
  border: 2px dashed var(--gold); background: #FFFBEA; color: #6b5a12;
  border-radius: 14px; padding: 10px 14px; font-size: 15px; line-height: 1.5; text-align: right;
}

/* כותרת עליונה */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(247, 241, 232, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown); }
.brand img { width: 44px; height: auto; }
.brand span { font-family: var(--font-logo); font-size: 24px; font-weight: 700; }
.nav { display: flex; gap: 20px; font-size: 16px; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--terra); }
@media (max-width: 760px) { .nav { display: none; } }

/* כפתורים */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; text-align: center;
  font-family: var(--font-body); font-size: 18px; font-weight: 700; line-height: 1.3;
  border-radius: var(--r-pill); padding: 15px 32px; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 10px 24px -10px rgba(169, 93, 58, .6); }
.btn-primary:hover { background: var(--terra-dark); }
.btn-outline { background: var(--paper); color: var(--terra-dark); border-color: var(--terra); }
.btn-outline:hover { background: var(--terra-soft); }
.btn-small { font-size: 16px; padding: 10px 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.micro { font-size: 15px; color: var(--muted); margin-top: 12px; }

/* סמל העיגולים */
.emblem { position: relative; width: 132px; height: 84px; margin: 0 0 18px; }
.emblem i { position: absolute; top: 0; width: 84px; height: 84px; border-radius: 50%; }
.emblem .c-sage { left: 0; background: var(--sage-soft); border: 1.5px solid rgba(122,158,126,.55); animation: meet-l 1.2s ease-out both; }
.emblem .c-terra { right: 0; background: var(--terra-soft); border: 1.5px solid rgba(196,113,74,.55); animation: meet-r 1.2s ease-out both; }
.emblem img { position: absolute; left: 50%; top: 50%; width: 32px; transform: translate(-50%, -50%); animation: hearts-in .6s ease-out .9s both; }
@keyframes meet-l { from { transform: translateX(-20px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes meet-r { from { transform: translateX(20px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hearts-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* ראש הדף: טקסט מצד אחד, טלפון מהצד השני */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero .scene { font-weight: 700; font-size: 18px; color: var(--ink); line-height: 1.6; margin-bottom: 18px; }
.hero h1 .h-a { color: var(--head); display: block; }
.hero h1 .h-b { color: var(--terra); display: block; }
.hero .sub { font-size: var(--fs-lead); color: #3d3733; max-width: 560px; }
.hero .sub b { color: var(--terra-dark); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
.hero-actions .link { font-weight: 700; color: var(--head); text-decoration: none; border-bottom: 2px solid var(--sage); }
.hero-media { position: relative; justify-self: center; padding: 30px 36px; }
.hero-media::before { content: ""; position: absolute; inset: -6% -14%; z-index: -1; background: radial-gradient(closest-side, var(--glow) 65%, transparent); }
.phone {
  width: min(280px, 64vw); aspect-ratio: 390 / 844; border-radius: 40px; overflow: hidden;
  border: 9px solid #2C2622; background: #2C2622; box-shadow: 0 40px 70px -30px rgba(60, 40, 30, .55);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: var(--paper); border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 14px 34px -14px rgba(60, 40, 30, .35); font-size: 14px; line-height: 1.45; max-width: 210px;
}
.float-card b { color: var(--head); font-size: 15px; display: block; }
.float-card.top { top: 0; inset-inline-start: -30px; }
.float-card.bottom { bottom: 0; inset-inline-end: -26px; }
.float-card .num { font-family: var(--font-head); font-weight: 800; font-size: 34px; color: var(--terra); line-height: 1; display: block; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .emblem { margin-inline: auto; }
  .float-card.top { inset-inline-start: -6px; }
  .float-card.bottom { inset-inline-end: -6px; }
}

/* משפטים גדולים וכותרות ביניים */
.prose { text-align: center; }
.prose p { margin-inline: auto; }
.big-quote { font-family: var(--font-head); font-weight: 800; font-size: var(--fs-big); line-height: 1.08; color: var(--em); margin: .7em 0 .35em; }
.q-lead {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.4vw, 25px); color: var(--head); line-height: 1.35;
  border-block: 1px solid var(--line); padding: 18px 0; margin: 34px 0;
}
.q-lead .em { color: var(--terra-dark); }

/* סיפור ותמונה */
.story-photo {
  margin: 28px auto; max-width: 420px; aspect-ratio: 4 / 3; border-radius: var(--r-card);
  background: linear-gradient(135deg, var(--bg-2), #f3e3d6); display: grid; place-items: center;
  color: var(--muted); box-shadow: var(--shadow-card); padding: 16px;
}

/* עדויות במסגרת של חלון */
.testimonials { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 26px; }
.browser { background: var(--paper); border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden; border: 1px solid var(--line); text-align: right; }
.browser .bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #E9C9BC; }
.browser .bar i:nth-child(2) { background: #E8DDB8; }
.browser .bar i:nth-child(3) { background: #CFE0D1; }
.browser { display: flex; flex-direction: column; }
.browser .body { padding: 20px 22px; font-size: 19px; flex: 1; }
.browser .who { padding: 10px 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.bubble {
  display: table; max-width: 92%; margin: 0 0 10px; padding: 10px 16px; font-size: 19px; line-height: 1.45;
  background: #EAF2E8; color: var(--ink); border-radius: 16px 4px 16px 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}
.bubble:last-child { margin-bottom: 0; }
.offer-quote { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 auto 26px; }
.offer-quote .bubble { margin: 0; font-size: 21px; font-weight: 500; }
.offer-quote span { font-size: 14px; color: var(--muted); }

/* שלושת הצעדים */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 30px; text-align: right; }
.step { background: var(--paper); border-radius: var(--r-card); padding: 22px; border-top: 4px solid var(--sage); box-shadow: var(--shadow-card); }
.step b { display: block; font-family: var(--font-head); font-size: 21px; color: var(--head); margin-bottom: 4px; }
.step .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sage-soft); color: var(--head); font-weight: 800; margin-bottom: 10px; }

/* המסלול: שלושת הדייטים */
.intro-small { font-size: 18px; color: var(--muted); margin-bottom: 4px; }
.brand-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(42px, 8vw, 72px); color: var(--terra); line-height: 1; margin: 0 0 14px; }
.path { display: grid; gap: 20px; margin-top: 30px; text-align: right; }
.path-item {
  display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center;
  background: var(--paper); border-radius: var(--r-card); padding: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.path-item img { width: 150px; border-radius: 14px; border: 1px solid var(--line); }
.path-item .no { font-family: var(--font-head); font-weight: 800; color: var(--gold); font-size: 18px; letter-spacing: .04em; }
.path-item h3 { color: var(--brown); font-size: 26px; margin: 2px 0 6px; }
.path-item p { margin: 0 0 6px; }
.path-item ul { margin: 0; padding-inline-start: 20px; color: var(--muted); font-size: 16px; }
@media (max-width: 600px) {
  .path-item { grid-template-columns: 1fr; }
  .path-item img { width: 170px; margin-inline: auto; }
}

/* כרטיס המחיר */
.launch-band {
  max-width: 600px; margin: 0 auto 22px; background: var(--paper); border: 2px solid var(--gold);
  border-radius: 16px; padding: 14px 18px; font-weight: 700; color: var(--brown); text-align: center;
}
.stack {
  max-width: 600px; margin: 0 auto; background: var(--deep); color: var(--deep-ink); border-radius: 26px;
  padding: clamp(28px, 5vw, 44px) clamp(22px, 5vw, 40px); text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(47, 74, 56, .7);
}
.stack::before { content: ""; position: absolute; top: -120px; left: 50%; width: 420px; height: 260px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(232, 201, 121, .28), transparent); }
.stack .title { position: relative; font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 6vw, 48px); color: var(--gold-light); margin-bottom: 18px; }
.stack ul { list-style: none; padding: 0; margin: 0 0 22px; text-align: right; position: relative; }
.stack li { padding: 12px 34px 12px 0; border-bottom: 1px solid var(--deep-line); position: relative; font-weight: 500; }
.stack li::before { content: "✓"; position: absolute; right: 4px; color: var(--gold-light); font-weight: 800; }
.stack li .gain { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; line-height: 1.5; color: #C3DDC7; }
.stack .promise { font-family: var(--font-head); font-weight: 700; font-size: 21px; margin: 18px 0 6px; }
.stack .price { font-family: var(--font-head); font-weight: 800; font-size: clamp(56px, 10vw, 84px); color: var(--gold-light); line-height: 1.05; text-shadow: 0 0 40px rgba(232, 201, 121, .35); }
.stack .price-note { font-size: 16px; opacity: .85; margin-bottom: 22px; }
.stack .btn-primary { background: var(--gold-light); color: #2C2622; box-shadow: none; }
.stack .btn-primary:hover { background: #F0D695; }
.singles { max-width: 600px; margin: 26px auto 0; text-align: center; }
.singles .btn-row { margin-top: 12px; }

/* איך זה עובד */
.how { display: grid; gap: 12px; margin-top: 22px; text-align: right; }
.how-row { display: flex; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.how-row .n { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--deep); color: var(--gold-light); display: grid; place-items: center; font-weight: 800; }

.guarantee { margin-top: 22px; background: var(--paper); border: 2px solid var(--sage); border-radius: var(--r-card); padding: 20px 22px; text-align: center; }
.guarantee h3 { color: var(--head); margin-bottom: 6px; }
.guarantee p { margin: 0; }

/* למי מתאים */
.fit { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 26px; text-align: right; }
.fit-box { background: var(--paper); border-radius: var(--r-card); padding: 24px; border: 1px solid var(--line); }
.fit-box h3 { font-size: 21px; }
.fit-box ul { list-style: none; padding: 0; margin: 0; }
.fit-box li { padding: 8px 30px 8px 0; position: relative; }
.fit-box.yes li::before { content: "✓"; position: absolute; right: 2px; color: var(--sage); font-weight: 800; }
.fit-box.no li::before { content: "·"; position: absolute; right: 8px; color: var(--terra); font-weight: 800; font-size: 26px; line-height: 1; }

/* שאלות */
.faq { margin-top: 24px; text-align: right; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; color: var(--head); padding: 14px 0; list-style: none; position: relative; padding-inline-end: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; left: 0; top: 10px; font-size: 26px; color: var(--terra); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 14px; color: #3d3733; }

/* מתנה */
.gift-wrap { display: grid; gap: 34px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 760px) { .gift-wrap { grid-template-columns: 1fr; } }
.gift-card-mock {
  background: var(--paper); border-radius: 18px; padding: 34px 26px; text-align: center; position: relative;
  border: 1.5px solid var(--gold); box-shadow: var(--shadow-card); transform: rotate(-2deg);
}
.gift-card-mock::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(201, 168, 76, .45); border-radius: 12px; pointer-events: none; }
.gift-card-mock img { width: 70px; margin: 0 auto 10px; }
.gift-card-mock .to { font-family: var(--font-logo); font-size: 30px; color: var(--brown); line-height: 1.2; }
.gift-card-mock .msg { color: var(--muted); font-size: 16px; margin: 10px 0 16px; }
.gift-card-mock .fake-btn { display: inline-block; background: var(--terra); color: #fff; border-radius: var(--r-pill); padding: 8px 20px; font-weight: 700; font-size: 15px; }
.gift-card-mock .cap { position: absolute; bottom: -30px; left: 0; right: 0; font-size: 13px; color: var(--muted); transform: rotate(2deg); }
.gift-text h2 { color: var(--terra-dark); }

/* מכתב סיום */
.letter { background: var(--paper); border-radius: var(--r-card); padding: clamp(26px, 5vw, 46px); box-shadow: var(--shadow-card); text-align: right; border-top: 5px solid var(--gold); }
.letter h2 { text-align: center; }
.letter .sign { font-family: var(--font-logo); font-size: 28px; color: var(--brown); margin-top: 6px; }

/* הרשמה למייל */
.signup { background: var(--paper); border-radius: var(--r-card); padding: 30px 24px; border-top: 5px solid var(--sage); max-width: 640px; margin: 0 auto; text-align: center; box-shadow: var(--shadow-card); }
.signup form { display: grid; gap: 12px; margin-top: 18px; text-align: right; }
.signup input[type=text], .signup input[type=email] { width: 100%; font: inherit; font-size: 17px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--bg); }
.signup input:focus { outline: 2px solid var(--sage); border-color: var(--sage); }
.signup label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); line-height: 1.5; }
.signup label.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--sage); flex-shrink: 0; }

/* מאמרים */
.articles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 24px; text-align: right; }
.article-card { display: block; text-decoration: none; color: var(--ink); background: var(--paper); border-radius: var(--r-card); padding: 22px; border: 1px solid var(--line); transition: border-color .15s ease; }
.article-card:hover { border-color: var(--terra); }
.article-card .for { font-size: 14px; color: var(--sage); font-weight: 700; }
.article-card h3 { font-size: 21px; margin: 6px 0; color: var(--head); }
.article-card p { color: var(--muted); font-size: 16px; margin: 0; }
.soon { font-size: 13px; background: var(--bg-2); color: var(--brown); border-radius: var(--r-pill); padding: 2px 10px; margin-inline-start: 6px; }

/* תחתית */
.site-footer { background: var(--bg-2); padding: 36px 0 28px; font-size: 15px; color: var(--muted); text-align: center; }
.site-footer .brand { justify-content: center; }
.site-footer .links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 10px 0; }
.site-footer a { color: var(--muted); }
.disclaimer { font-size: 14px; margin-bottom: 4px; }

/* עמוד מאמר */
.kicker { display: inline-block; font-size: 15px; font-weight: 500; color: var(--brown); border: 1.5px solid var(--gold); border-radius: var(--r-pill); padding: 4px 16px; margin-bottom: 18px; background: var(--paper); }
.article-head { padding: 48px 0 24px; text-align: center; background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.article-head .meta { color: var(--muted); font-size: 15px; }
.article-body { padding: 24px 0 56px; }
.article-body h2 { font-size: 28px; margin-top: 1.6em; }
.article-body p { font-size: 19px; }
.pull { font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.45; color: var(--em); border-right: 5px solid var(--gold); padding: 6px 20px 6px 0; margin: 28px 0; }
.tool { background: var(--paper); border-radius: var(--r-card); padding: 24px; margin: 28px 0; border-top: 5px solid var(--sage); box-shadow: var(--shadow-card); }
.tool .label { font-size: 14px; font-weight: 700; color: var(--sage); }
.gift { background: var(--paper); border-radius: var(--r-card); padding: 34px 26px; border: 2px solid var(--terra); text-align: center; }
.gift .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 5vw, 38px); color: var(--terra-dark); margin-bottom: 6px; }
.share-box { background: var(--paper); border-radius: var(--r-card); padding: 20px 22px; margin: 28px 0; border: 1.5px dashed var(--sage); text-align: center; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1fb457; }

@media (prefers-reduced-motion: reduce) { .emblem i, .emblem img { animation: none; } html { scroll-behavior: auto; } }

/* ---------- תשלום ודפי סטטוס ---------- */
.pay-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.stack .pay-note { color: rgba(255, 255, 255, .75); }
.buy-error { color: #9b2c1a; font-weight: 700; margin: 10px 0 0; }
.stack .buy-error { color: #FFD7C7; }
.notice { max-width: 600px; margin: 0 auto 16px; background: #FFF1E8; border: 1.5px solid var(--terra); border-radius: 14px; padding: 10px 16px; text-align: center; font-weight: 700; color: var(--terra-dark); }
.is-busy { opacity: .7; pointer-events: none; }

dialog#gift-dialog { border: none; border-radius: 22px; padding: 0; width: min(460px, calc(100% - 32px)); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .45); }
dialog#gift-dialog::backdrop { background: rgba(44, 38, 34, .45); }
#gift-form { display: grid; gap: 12px; padding: 28px 24px 22px; text-align: right; position: relative; }
#gift-form h2 { margin: 0 0 4px; color: var(--terra-dark); text-align: center; }
#gift-form label { display: grid; gap: 6px; font-weight: 700; font-size: 16px; }
#gift-form input, #gift-form textarea { font: inherit; font-weight: 400; font-size: 17px; padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); }
#gift-form input:focus, #gift-form textarea:focus { outline: 2px solid var(--sage); border-color: var(--sage); }
.dialog-close { position: absolute; top: 10px; left: 12px; border: none; background: none; font-size: 28px; color: var(--muted); cursor: pointer; line-height: 1; }

.status-page { min-height: 60vh; }
.panel { background: var(--paper); border-radius: var(--r-card); padding: clamp(26px, 5vw, 42px); box-shadow: var(--shadow-card); text-align: center; }
.panel h1 { font-size: clamp(30px, 6vw, 44px); }
.link-box { margin: 14px 0 18px; }
.link-box input { width: 100%; font: inherit; font-size: 14px; padding: 10px 14px; border: 1.5px dashed var(--sage); border-radius: 12px; background: var(--bg); color: var(--muted); text-align: left; }
.date-tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 22px 0; }
.date-tile { border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 6px; justify-items: center; background: var(--bg); opacity: .55; }
.date-tile.owned { opacity: 1; background: var(--paper); box-shadow: var(--shadow-card); }
.date-tile img { width: 120px; border-radius: 12px; border: 1px solid var(--line); }
.date-tile .no { font-family: var(--font-head); font-weight: 800; color: var(--gold); font-size: 15px; }
.date-tile h3 { color: var(--brown); font-size: 20px; margin: 0; }
.date-tile .not-owned { font-size: 14px; color: var(--muted); }
.upgrade-box { margin: 18px 0 8px; padding: 18px; border: 2px solid var(--gold); border-radius: 16px; background: #FFFBF2; }
.upgrade-box p { font-weight: 700; color: var(--brown); margin-bottom: 12px; }
.gift-from { font-family: var(--font-logo); font-size: 26px; color: var(--brown); margin: 0; }
.gift-message { color: var(--muted); font-size: 18px; }

.panel--card { background: none; box-shadow: none; padding: 0; }
.gift-card { background: var(--paper); border-radius: 20px; padding: 40px 28px 30px; text-align: center; position: relative; border: 1.5px solid var(--gold); box-shadow: var(--shadow-card); margin-bottom: 20px; }
.gift-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201, 168, 76, .45); border-radius: 14px; pointer-events: none; }
.gift-card img { width: 84px; margin: 0 auto 8px; }
.gift-card .gift-kicker { font-weight: 700; color: var(--sage); letter-spacing: .03em; margin-bottom: 4px; }
.gift-card .to { font-family: var(--font-logo); font-size: clamp(32px, 7vw, 44px); color: var(--brown); line-height: 1.2; overflow-wrap: anywhere; }
.gift-card .msg { font-size: 19px; color: #3d3733; margin: 14px 0 6px; white-space: pre-line; overflow-wrap: anywhere; }
.gift-card .from { font-family: var(--font-logo); font-size: 24px; color: var(--terra-dark); margin-bottom: 14px; overflow-wrap: anywhere; }
.gift-card .what { color: var(--muted); font-size: 16px; }
.gift-card .print-link { display: none; direction: ltr; font-size: 11px; color: var(--muted); word-break: break-all; margin-top: 12px; }
@media print {
  .site-header, .site-footer, .no-print, .draft-bar { display: none !important; }
  .status-page { background: #fff !important; padding: 0 !important; }
  .gift-card { box-shadow: none; }
  .gift-card .print-link { display: block; }
  .gift-card .btn { display: none; }
}
