/* ===== Wishly public site + creator UI ===== */
:root {
  --rose: #e11d48; --rose-d: #9f1239; --rose-l: #fff1f2; --blush: #ffe4e6; --ink: #3b2a2a; --muted: #7a6a6d; --cream: #fff8f1; --gold: #c9a24b;
  --bs-primary: #e11d48; --bs-primary-rgb: 225, 29, 72; --bs-link-color: #be123c; --bs-link-hover-color: #9f1239;
  --bs-body-font-family: 'Inter', 'Hind Siliguri', system-ui, sans-serif; --bs-body-color: var(--ink); --bs-body-bg: #fffafa;
  --disp: 'Playfair Display', 'Noto Serif Bengali', Georgia, serif;
}
html { scroll-behavior: smooth; }
body { background: #fffafa; -webkit-font-smoothing: antialiased; }
:lang(bn) body, :lang(bn) .btn, :lang(bn) input { font-family: 'Hind Siliguri', 'Inter', sans-serif; }
:lang(bn) .hero-title, :lang(bn) .section-title { line-height: 1.4; }
h1, h2, h3 { color: #2b1a1e; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #f43f5e; outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: 8px; top: 8px; z-index: 3000; background: #fff; padding: 8px 14px; border-radius: 8px; }
.text-rose { color: var(--rose); }

/* buttons */
.btn { border-radius: 999px; font-weight: 600; }
.btn-rose { background: linear-gradient(135deg, #f43f5e, var(--rose-d)); color: #fff; border: 0; box-shadow: 0 8px 22px rgba(190, 18, 60, .28); }
.btn-rose:hover, .btn-rose:focus { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
.btn-rose:disabled { opacity: .6; }
.btn-outline-rose { border: 1.5px solid #fda4af; color: var(--rose-d); background: #fff; }
.btn-outline-rose:hover { background: var(--rose-l); color: var(--rose-d); border-color: var(--rose); }
.form-control, .form-select { border-radius: 12px; border-color: #eadadf; padding: .6rem .85rem; }
.form-control:focus, .form-select:focus { border-color: #fb7185; box-shadow: 0 0 0 .22rem rgba(244, 63, 94, .18); }
.form-check-input:checked { background-color: var(--rose); border-color: var(--rose); }
.card-soft { background: #fff; border: 1px solid #f3e1e5; border-radius: 20px; box-shadow: 0 10px 40px rgba(159, 18, 57, .06); }
.alert-rose { background: var(--blush); border: 1px solid #fda4af; color: var(--rose-d); border-radius: 14px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 250, 250, .86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid #f6e3e7; padding-top: env(safe-area-inset-top); }
.brand { font-family: var(--disp); font-weight: 700; font-size: 1.4rem; color: var(--rose-d) !important; display: inline-flex; align-items: center; gap: 8px; }
.brand-mark { font-size: 1.3rem; }
.navbar-nav .nav-link { color: #5a4448; font-weight: 500; }
.navbar-nav .nav-link:hover { color: var(--rose); }
.lang-switch { display: inline-flex; border: 1px solid #f0d5db; border-radius: 999px; overflow: hidden; background: #fff; }
.lang-switch a { padding: 4px 11px; font-size: .8rem; font-weight: 600; color: #7a5a62; text-decoration: none; }
.lang-switch a.on { background: var(--rose); color: #fff; }
.is-app .js-install { display: none !important; }

/* hero */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(700px 400px at 85% 10%, #ffd6df 0%, transparent 60%), radial-gradient(600px 380px at 5% 90%, #ffe9d6 0%, transparent 60%); }
.pill { display: inline-flex; gap: 6px; align-items: center; background: #fff; border: 1px solid #fbc7d1; color: var(--rose-d); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 600; box-shadow: 0 4px 14px rgba(190, 18, 60, .08); }
.hero-title { font-family: var(--disp); font-weight: 700; font-size: clamp(2.3rem, 6.5vw, 4rem); line-height: 1.08; margin: 18px 0 14px; background: linear-gradient(135deg, #9f1239, #e11d48 55%, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.12rem; color: #5f4a4f; max-width: 34em; }
.hero-trust { margin-top: 22px; color: var(--muted); font-size: .88rem; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.hero-trust i { color: var(--rose); }
.hero-stage { position: relative; height: 420px; max-width: 460px; margin: 0 auto; display: grid; place-items: center; }
.hero-rose { position: absolute; top: -6px; left: 50%; width: 250px; margin-left: -125px; z-index: 3; filter: drop-shadow(0 12px 22px rgba(190, 18, 60, .28)); }
.hero-rose svg { width: 100%; display: block; overflow: visible; }
.wish-rose .rose-petal { transform-origin: 0 0; }
.hero-envelope { position: absolute; bottom: 12px; left: 50%; width: 300px; height: 190px; margin-left: -150px; z-index: 2; animation: heroBob 5s ease-in-out infinite; }
@keyframes heroBob { 50% { transform: translateY(-8px); } }
.env-back, .env-front, .env-flap, .env-letter { position: absolute; }
.hero-envelope .env-back { inset: 0; background: #f6dcc8; border-radius: 10px; box-shadow: 0 24px 50px rgba(159, 18, 57, .22); }
.hero-envelope .env-letter { left: 8%; right: 8%; top: -34px; height: 82%; background: #fffdf8; border-radius: 6px; padding: 16px 18px; font-family: 'Caveat', 'Atma', cursive; font-size: 1.5rem; color: #6b4a4a; animation: heroLetter 6s ease-in-out infinite; }
@keyframes heroLetter { 0%, 20% { transform: translateY(20px); } 50%, 80% { transform: translateY(-14px); } 100% { transform: translateY(20px); } }
.hero-envelope .env-letter i { display: block; height: 6px; margin-top: 10px; border-radius: 3px; background: #f0dfe0; }
.hero-envelope .env-letter i.s { width: 60%; }
.hero-envelope .env-front { inset: 0; background: #f1d3bd; border-radius: 10px; clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 100%, 0 100%); }
.hero-envelope .env-flap { left: 0; right: 0; top: 0; height: 60%; background: #e8c3a8; clip-path: polygon(0 0, 100% 0, 50% 100%); border-radius: 10px 10px 0 0; }
.env-seal { position: absolute; left: 50%; top: 52%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fb7185, #be123c); color: #fff; display: grid; place-items: center; z-index: 4; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.float-heart { position: absolute; color: #fb7185; opacity: 0; animation: floatUp 6s ease-in infinite; z-index: 1; }
.float-heart.h1 { left: 8%; bottom: 20%; font-size: 22px; animation-delay: 0s; } .float-heart.h2 { right: 10%; bottom: 30%; font-size: 30px; animation-delay: 1.5s; }
.float-heart.h3 { left: 22%; bottom: 10%; font-size: 16px; animation-delay: 3s; } .float-heart.h4 { right: 22%; bottom: 8%; font-size: 20px; animation-delay: 4.5s; }
@keyframes floatUp { 0% { transform: translateY(0) scale(.7); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-260px) scale(1.2); opacity: 0; } }

/* sections */
.section { padding: 56px 0; }
.section-soft { background: linear-gradient(#fff5f6, #fff9f3); }
.section-title { font-family: var(--disp); font-weight: 700; font-size: clamp(1.6rem, 4.2vw, 2.4rem); text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 28px; }
.occ-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.occ-chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #fff; border: 1px solid #f5d5dc; color: #4a2f35; text-decoration: none; font-weight: 500; transition: all .2s; box-shadow: 0 4px 12px rgba(190, 18, 60, .05); }
.occ-chip:hover { transform: translateY(-3px); border-color: var(--rose); box-shadow: 0 10px 22px rgba(190, 18, 60, .15); color: var(--rose-d); }
.occ-ic { font-size: 1.25rem; }
.step-card { background: #fff; border-radius: 22px; padding: 28px 24px; height: 100%; border: 1px solid #f6dfe4; position: relative; box-shadow: 0 10px 30px rgba(159, 18, 57, .06); }
.step-card > i { font-size: 2rem; color: var(--rose); }
.step-card h3 { font-size: 1.15rem; margin: 10px 0 6px; } .step-card p { color: var(--muted); margin: 0; }
.step-no { position: absolute; top: 18px; right: 20px; font-family: var(--disp); font-size: 2.6rem; color: #fde4e8; font-weight: 700; line-height: 1; }
.feat { background: #fff; border: 1px solid #f6dfe4; border-radius: 18px; padding: 18px; height: 100%; }
.feat i { font-size: 1.5rem; color: var(--rose); }
.feat h4 { font-size: 1rem; margin: 8px 0 4px; } .feat p { font-size: .88rem; color: var(--muted); margin: 0; }
.quote { background: #fff; border: 1px solid #f6dfe4; border-radius: 20px; padding: 24px; height: 100%; margin: 0; }
.quote blockquote { font-family: var(--disp); font-size: 1.1rem; margin: 0 0 12px; } .quote figcaption { color: var(--muted); font-size: .85rem; }
.cta-band { background: linear-gradient(135deg, #be123c, #7f1d1d); color: #fff; border-radius: 28px; padding: 48px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-family: var(--disp); font-size: clamp(1.6rem, 4vw, 2.3rem); }
.cta-band p { opacity: .9; }

/* template cards */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.tpl-card { display: block; background: #fff; border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid #f3e1e5; transition: transform .25s, box-shadow .25s; }
.tpl-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(159, 18, 57, .18); color: inherit; }
.tpl-thumb { position: relative; height: 170px; display: grid; place-items: center; overflow: hidden; }
.tpl-icons { position: absolute; top: 12px; left: 14px; display: flex; gap: 6px; font-size: 1.3rem; }
.tpl-paper { width: 96px; height: 100px; border-radius: 6px; padding: 14px 12px; transform: rotate(-4deg) translateY(16px); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); transition: transform .35s; }
.tpl-card:hover .tpl-paper { transform: rotate(0) translateY(6px) scale(1.06); }
.tpl-paper i { display: block; height: 5px; margin-bottom: 8px; border-radius: 3px; background: currentColor; opacity: .25; } .tpl-paper i.s { width: 60%; }
.tpl-body { padding: 14px 16px 18px; } .tpl-body h3 { font-size: 1.05rem; margin: 0 0 4px; } .tpl-body p { font-size: .85rem; color: var(--muted); margin: 0; }
.occ-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.occ-filter button { border: 1px solid #f2d3da; background: #fff; border-radius: 999px; padding: 7px 14px; font-size: .9rem; }
.occ-filter button.on { background: var(--rose); color: #fff; border-color: var(--rose); }
.occ-hero { padding: 64px 0 28px; background: radial-gradient(600px 300px at 50% 0, #ffdce4, transparent 70%); }
.occ-big { font-size: 64px; }
.help-ol { padding-left: 1.2rem; } .help-ol li { margin-bottom: 8px; }

/* footer */
.site-footer { background: #fff; border-top: 1px solid #f3e1e5; padding: 40px 0 28px; margin-top: 30px; }
.site-footer a { color: #6b5257; text-decoration: none; } .site-footer a:hover { color: var(--rose); }
.site-footer h6 { font-weight: 700; }

/* auth */
.auth-wrap { min-height: calc(100vh - 200px); display: grid; place-items: center; padding: 32px 16px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid #f3e1e5; border-radius: 24px; padding: 30px 26px; box-shadow: 0 20px 60px rgba(159, 18, 57, .10); }
.auth-card h1 { font-family: var(--disp); font-size: 1.6rem; }
.auth-ic { font-size: 42px; }

/* dashboard */
.stat-card { background: #fff; border: 1px solid #f3e1e5; border-radius: 18px; padding: 16px 18px; height: 100%; }
.stat-card i { color: var(--rose); font-size: 1.3rem; } .stat-n { font-size: 1.8rem; font-weight: 700; line-height: 1.15; } .stat-l { color: var(--muted); font-size: .85rem; }
.filters { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 16px; }
@media (min-width: 768px) { .filters { grid-template-columns: 2fr 1fr 1fr auto; } }
.letter-list { display: flex; flex-direction: column; gap: 12px; }
.letter-row { background: #fff; border: 1px solid #f3e1e5; border-radius: 18px; padding: 12px; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.lr-thumb { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; font-size: 1.7rem; text-decoration: none; }
.lr-title { font-weight: 600; color: #2b1a1e; text-decoration: none; font-size: 1.05rem; } .lr-title:hover { color: var(--rose); }
.lr-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .82rem; margin-top: 3px; }
.letter-row .status-badge { grid-column: 2; justify-self: start; } .lr-actions { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
@media (min-width: 992px) { .letter-row { grid-template-columns: 64px 1fr auto auto; } .letter-row .status-badge { grid-column: auto; } .lr-actions { grid-column: auto; } }
.status-badge { font-size: .75rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: #eee; color: #555; white-space: nowrap; }
.st-ok, .st-active { background: #dcfce7; color: #166534; } .st-draft { background: #f1f5f9; color: #475569; } .st-expired { background: #fef3c7; color: #92400e; }
.st-scheduled { background: #e0f2fe; color: #075985; } .st-unavailable, .st-revoked { background: #fee2e2; color: #991b1b; }
.empty-state { text-align: center; background: #fff; border: 2px dashed #f5cdd5; border-radius: 26px; padding: 56px 20px; }
.empty-ic { font-size: 60px; animation: float 3s ease-in-out infinite; } @keyframes float { 50% { transform: translateY(-8px); } }
.empty-state h2 { font-family: var(--disp); }

/* manage */
.guest-note { background: linear-gradient(135deg, #fff7e6, #fff0f3); border: 1px solid #fcd9a8; border-radius: 20px; padding: 18px; margin-bottom: 18px; }
.link-card { background: #fff; border: 1px solid #f3e1e5; border-radius: 18px; padding: 16px; margin-bottom: 10px; }
.min-w-0 { min-width: 0; }
.reaction-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; } .reaction-bar span { background: #fff; border: 1px solid #f3e1e5; border-radius: 999px; padding: 4px 12px; font-size: 1.1rem; }
.reply-card { background: #fff; border: 1px solid #f3e1e5; border-left: 4px solid #fb7185; border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; } .reply-card.unread { background: #fff7f8; border-left-color: var(--rose); }
.timeline-list { list-style: none; padding: 0; margin: 0 0 12px; } .timeline-list li { display: flex; gap: 12px; padding: 8px 0; border-left: 2px solid #f6d3da; margin-left: 5px; padding-left: 14px; position: relative; }
.tl-dot { position: absolute; left: -6px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--rose); }

/* help */
.help-card { background: #fff; border: 1px solid #f3e1e5; border-radius: 22px; padding: 24px; margin-bottom: 16px; }
.help-card h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; font-family: var(--disp); }
.help-card li { margin-bottom: 6px; color: #4d3a3e; }
.hn { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--rose); color: #fff; font: 700 .9rem Inter, sans-serif; }
.how-os { background: var(--rose-l); border-radius: 16px; padding: 16px 18px; height: 100%; } .how-os h3 { font-size: 1rem; }
.app-card { border-color: #fbc7d1; background: linear-gradient(#fff, #fff7f8); }

@media (max-width: 575px) { .hero { padding-top: 30px; } .hero-stage { height: 380px; } .section { padding: 40px 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ===== navigation v2 ===== */
.site-header .navbar { padding: 10px 0; }
.nav-pills-x { list-style: none; margin: 0 0 0 18px; padding: 4px; gap: 2px; align-items: center; background: #fff; border: 1px solid #f3dde2; border-radius: 999px; box-shadow: 0 4px 16px rgba(159, 18, 57, .06); }
.nav-pills-x > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px; border-radius: 999px; color: #5a4448; font-weight: 500; font-size: .93rem; text-decoration: none; transition: all .2s; }
.nav-pills-x > li > a i { color: #d6477a; font-size: 1rem; }
.nav-pills-x > li > a:hover { background: var(--rose-l); color: var(--rose-d); }
.nav-pills-x > li > a.active { background: linear-gradient(135deg, #f43f5e, var(--rose-d)); color: #fff; box-shadow: 0 6px 14px rgba(190, 18, 60, .25); }
.nav-pills-x > li > a.active i { color: #fff; }
.nav-pills-x .dropdown-toggle::after { margin-left: 2px; }
.mega { border: 1px solid #f3dde2; border-radius: 20px; padding: 14px; box-shadow: 0 24px 60px rgba(159, 18, 57, .18); margin-top: 12px !important; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap: 4px; width: min(620px, 92vw); }
.mega-grid a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; color: #4a2f35; text-decoration: none; font-weight: 500; font-size: .92rem; }
.mega-grid a span { font-size: 1.3rem; width: 30px; height: 30px; display: grid; place-items: center; background: var(--rose-l); border-radius: 10px; }
.mega-grid a:hover { background: var(--rose-l); color: var(--rose-d); }
.nav-signin { color: #5a4448; font-weight: 600; text-decoration: none; padding: 6px 10px; } .nav-signin:hover { color: var(--rose); }
.avatar-btn { border: 1px solid #f3dde2; background: #fff; border-radius: 999px; padding: 3px 10px 3px 3px; display: inline-flex; align-items: center; gap: 6px; color: #7a5a62; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #f43f5e, #9f1239); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: .9rem; }
.avatar.lg { width: 48px; height: 48px; font-size: 1.2rem; }
.user-menu { border: 1px solid #f3dde2; border-radius: 16px; padding: 8px; min-width: 240px; box-shadow: 0 20px 50px rgba(159, 18, 57, .16); margin-top: 10px !important; }
.user-menu .um-head { padding: 8px 12px 10px; display: flex; flex-direction: column; } .user-menu .um-head small { color: var(--muted); }
.user-menu .dropdown-item { border-radius: 10px; padding: 8px 12px; display: flex; gap: 10px; align-items: center; } .user-menu .dropdown-item:hover { background: var(--rose-l); }
.menu-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid #f3dde2; background: #fff; font-size: 1.5rem; display: grid; place-items: center; color: var(--rose-d); }
.side-menu { max-width: 88vw; border-left: 0; border-radius: 24px 0 0 24px; }
.side-user { display: flex; gap: 12px; align-items: center; background: var(--rose-l); border-radius: 16px; padding: 12px; margin-bottom: 14px; } .side-user small { display: block; color: var(--muted); }
.side-links { display: flex; flex-direction: column; gap: 2px; }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: #4a2f35; text-decoration: none; font-weight: 500; }
.side-links a i { color: #d6477a; font-size: 1.15rem; width: 22px; text-align: center; }
.side-links a.active, .side-links a:hover { background: var(--rose-l); color: var(--rose-d); }
.side-h { margin: 18px 4px 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.side-occ { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.side-occ a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #f3e1e5; border-radius: 12px; text-decoration: none; color: #4a2f35; font-size: .86rem; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: grid; grid-template-columns: 1fr 1fr 78px 1fr 1fr; align-items: end; background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); border-top: 1px solid #f3dde2; padding: 6px 4px max(8px, env(safe-area-inset-bottom)); box-shadow: 0 -8px 30px rgba(159, 18, 57, .08); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #8a7479; text-decoration: none; font-size: .68rem; font-weight: 600; padding: 4px 0; }
.tabbar a i { font-size: 1.35rem; }
.tabbar a.on { color: var(--rose); }
.tabbar a.tab-create { width: 58px; height: 58px; border-radius: 50%; margin: -26px auto 0; background: linear-gradient(135deg, #f43f5e, var(--rose-d)); color: #fff; justify-content: center; box-shadow: 0 10px 24px rgba(190, 18, 60, .4); border: 4px solid #fff; }
.tabbar a.tab-create i { font-size: 1.6rem; }
@media (max-width: 991.98px) { body.has-tabbar { padding-bottom: 76px; } .site-footer { margin-bottom: 0; } }
@media (min-width: 992px) { .site-header .navbar > .container { gap: 8px; } }

/* template landing pages */
.tpl-hero { color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.tpl-hero h1 { color: #fff; font-family: var(--disp); font-size: clamp(2rem, 6vw, 3.2rem); margin: 8px 0; } .tpl-hero .lead { max-width: 34em; opacity: .92; }
.tpl-crumb { color: #ffd6e0; text-decoration: none; font-weight: 600; } .tpl-crumb:hover { color: #fff; }
.tpl-paper-big { position: absolute; right: 8%; bottom: -30px; width: 150px; height: 170px; border-radius: 8px; padding: 22px 18px; transform: rotate(6deg); box-shadow: 0 26px 60px rgba(0, 0, 0, .45); opacity: .95; }
.tpl-paper-big i { display: block; height: 7px; margin-bottom: 12px; border-radius: 4px; background: currentColor; opacity: .22; } .tpl-paper-big i.s { width: 55%; }
@media (max-width: 767px) { .tpl-paper-big { display: none; } }
.tpl-steps { list-style: none; padding: 0; counter-reset: st; display: grid; gap: 10px; }
.tpl-steps li { counter-increment: st; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #f3dde2; border-radius: 16px; padding: 12px 16px; }
.tpl-steps li span { font-size: 1.6rem; width: 44px; height: 44px; display: grid; place-items: center; background: var(--rose-l); border-radius: 12px; }
.legal-list { padding-left: 1.2rem; } .legal-list li { margin-bottom: 8px; color: #4d3a3e; line-height: 1.65; }

/* manage page: private-link card */
.keycard { background: linear-gradient(135deg, #fff8ea 0%, #fff0f3 100%); border: 1px solid #f8d9b0; border-radius: 22px; padding: 20px; margin-bottom: 20px; box-shadow: 0 12px 34px rgba(190, 18, 60, .07); }
.keycard-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.keycard-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, #f59e0b, #e11d48); box-shadow: 0 8px 18px rgba(225, 29, 72, .28); }
.keycard-head h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 3px; }
.keycard-head p { margin: 0; font-size: .9rem; color: #6b4f55; line-height: 1.55; }
.keycard-link { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px dashed #e9b8c4; border-radius: 14px; padding: 8px 8px 8px 14px; }
.keycard-link > i { color: var(--rose, #be123c); font-size: 1.2rem; }
.keycard-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9rem; color: #3b2a2e; }
.keycard-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.keycard-mail { flex: 1 1 320px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #efd3da; border-radius: 999px; padding: 4px 4px 4px 14px; }
.keycard-mail > i { color: #a06b76; }
.keycard-mail input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: .92rem; padding: 6px 0; }
.keycard-mail:focus-within { border-color: #e11d48; box-shadow: 0 0 0 3px rgba(225, 29, 72, .12); }
.keycard-mail .btn, .keycard-actions > .btn, .keycard-actions form > .btn { border-radius: 999px; white-space: nowrap; }
@media (max-width: 575px) { .keycard { padding: 16px; } .keycard-actions > form:not(.keycard-mail), .keycard-actions > .btn { width: 100%; } .keycard-actions .btn-rose { width: 100%; } }

/* page loader: a flower blooms while the page settles, then fades away */
.pl { position: fixed; inset: 0; z-index: 3000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: radial-gradient(circle at 50% 35%, #fff5f6, #ffe4e9 70%); opacity: 1; visibility: visible; transition: opacity .45s ease, visibility 0s .45s; animation: plSafety .01s 6s forwards; }
.pl.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes plSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.pl-flower { width: 110px; height: auto; overflow: visible; }
.pl-stem { fill: none; stroke: #3f8a52; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 64; stroke-dashoffset: 64; animation: plGrow .6s ease-out .02s forwards; }
.pl-leaf { fill: #58a86b; opacity: 0; transform-box: fill-box; animation: plLeaf .4s ease-out .4s forwards; }
.pl-leaf.l { transform-origin: 100% 100%; } .pl-leaf.r { transform-origin: 0 100%; animation-delay: .5s; }
.pl-bloom { transform-origin: 60px 74px; transform-box: view-box; animation: plSway 3s ease-in-out 1.6s infinite; }
.pl-p { fill: #e11d48; opacity: 0; transform-origin: 60px 74px; transform-box: view-box; animation: plOpen .8s cubic-bezier(.2, .8, .3, 1) forwards; }
.pl-p.p1 { --a: -64deg; fill: #f43f5e; animation-delay: .55s; } .pl-p.p2 { --a: 64deg; fill: #f43f5e; animation-delay: .62s; }
.pl-p.p3 { --a: -30deg; fill: #e11d48; animation-delay: .72s; } .pl-p.p4 { --a: 30deg; fill: #e11d48; animation-delay: .8s; }
.pl-p.p5 { --a: 0deg; fill: #be123c; animation-delay: .9s; }
.pl-core { fill: #fbbf24; opacity: 0; animation: plFade .3s ease-out 1.15s forwards; }
.pl-text { margin: 0; font: 600 1.05rem 'Playfair Display', serif; color: #be123c; letter-spacing: .06em; opacity: 0; animation: plFade .5s ease-out .6s forwards; }
@keyframes plGrow { to { stroke-dashoffset: 0; } }
@keyframes plLeaf { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes plOpen { from { opacity: 0; transform: rotate(0) scale(.15); } to { opacity: .95; transform: rotate(var(--a)) scale(1); } }
@keyframes plFade { to { opacity: 1; } }
@keyframes plSway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .pl-stem, .pl-leaf, .pl-p, .pl-core, .pl-text { animation-duration: .01s; animation-delay: 0s; } .pl-bloom { animation: none; } }
