:root {
  --bg: #1c1018;
  --surface: #341d2a;
  --line: #4d2f3e;
  --text: #F7EDE6;
  --muted: #cfbac4;
  --coral: #F26D6D;
  --coral-ink: #2a1218;
  --gold: #E8C27A;
  --green: #7cc59a;
  --link: #F2A18F;
  --glass: rgba(255,255,255,.06);
  --glass-line: rgba(255,255,255,.14);
  --serif: Gloock, Georgia, serif;
  --sans: Figtree, system-ui, -apple-system, sans-serif;
  --st: env(safe-area-inset-top, 0px);
  --sb: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-text-size-adjust: 100%; overflow: hidden; }
body { overscroll-behavior: none; }
a { color: var(--link); }
a:hover { color: #FFD2C4; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
img { display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* cadrul aplicației: un telefon, centrat pe ecrane mari */
.app { position: relative; height: 100vh; height: 100dvh; max-width: 480px; margin: 0 auto; overflow: hidden; overflow: clip; background: var(--bg); }
.screen {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  padding: calc(24px + var(--st)) 20px calc(22px + var(--sb));
  gap: 16px; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch;
  transform: translateX(100%); visibility: hidden;
  transition: transform .38s cubic-bezier(.2,.8,.2,1), visibility 0s linear .38s;
  background: var(--bg);
}
.screen.on { transform: none; visibility: visible; transition: transform .38s cubic-bezier(.2,.8,.2,1); }
.screen.left { transform: translateX(-30%); }
.screen.flat { padding: 0; gap: 0; }
@media (prefers-reduced-motion: reduce) { .screen, .screen.on { transition: none; } }

.grow { flex-grow: 1; }
.row { display: flex; align-items: center; gap: 12px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.serif { font-family: var(--serif); font-weight: 400; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; }
p { margin: 0; }

.bg-main { background: radial-gradient(circle at 50% 30%, #3a2130, var(--bg) 70%); }
.bg-work { background: radial-gradient(circle at 50% 38%, #3a2130, var(--bg) 68%); }
.bg-song { background: radial-gradient(circle at 30% 10%, #4a2838, var(--bg) 60%); }
.bg-image { background: radial-gradient(circle at 70% 8%, #3d2a44, var(--bg) 60%); }
.bg-clip { background: radial-gradient(circle at 50% 0%, #2f2440, var(--bg) 62%); }
.bg-rose { background: radial-gradient(circle at 50% 18%, #4a2838, var(--bg) 64%); }
.bg-gift { background: radial-gradient(circle at 50% 26%, #4a2838, var(--bg) 72%); }
.bg-secret { background: radial-gradient(circle at 50% 30%, #3b2a5c, #120c1a 70%); }

/* butoane */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; border-radius: 18px; border: none; background: var(--coral); color: var(--coral-ink);
  font-weight: 700; font-size: 18px; text-decoration: none; width: 100%; padding: 0 16px; flex-shrink: 0;
}
.btn:hover { color: var(--coral-ink); filter: brightness(1.05); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.light { background: var(--text); color: var(--bg); font-size: 17px; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 16px; min-height: 52px; }
.btn.gold { background: transparent; border: 1px solid var(--gold); color: var(--text); font-size: 16px; min-height: 56px; }
.btn.sm { min-height: 48px; font-size: 14px; font-weight: 600; border-radius: 16px; }
.btn.glassy { background: rgba(242,109,109,.92); backdrop-filter: blur(8px); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; color: var(--text); background: none; border: none; text-decoration: none; flex-shrink: 0; border-radius: 50%; }
.round { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: var(--glass); color: var(--text); display: grid; place-items: center; }
.links { display: flex; justify-content: center; gap: 16px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }

/* 1 · intrarea */
.brand { display: flex; align-items: center; justify-content: space-between; }
.logo { width: 34px; height: 34px; border-radius: 10px; background: var(--coral); color: var(--coral-ink); display: grid; place-items: center; font-family: var(--serif); font-size: 22px; }
.brand b { font-weight: 700; letter-spacing: .14em; font-size: 13px; }
.hero { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 10px; }
.avatar-xl { width: 148px; height: 148px; border-radius: 50%; border: 2px solid var(--gold); box-shadow: 0 0 40px rgba(232,194,122,.35); overflow: hidden; flex-shrink: 0; }
.avatar-xl img, .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero h1 { font-size: 34px; line-height: 1.15; text-align: center; }
.hero p { font-size: 16px; line-height: 1.5; color: var(--muted); text-align: center; max-width: 300px; }
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kind { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--text); }
.kind:hover, .kind:focus-visible { border-color: var(--gold); }
.kind b { font-weight: 600; font-size: 14px; }
.kind span { font-size: 12px; color: var(--muted); }
.counter { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(232,194,122,.12); border: 1px solid rgba(232,194,122,.35); }
.counter .txt { flex-grow: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.counter b { color: var(--gold); }
.bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 3px; background: var(--gold); transition: width .6s; }

/* 2 · discuția */
.topbar { display: flex; align-items: center; gap: 12px; padding: calc(14px + var(--st)) 16px 14px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.avatar { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--gold); overflow: hidden; flex-shrink: 0; }
.avatar.sm { width: 40px; height: 40px; }
.status { font-size: 12px; color: var(--green); }
.chat { flex-grow: 1; overflow-y: auto; overflow-x: hidden; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 82%; padding: 12px 14px; font-size: 15px; line-height: 1.45; animation: msgIn .25s ease-out; overflow-wrap: anywhere; }
.msg.b { align-self: flex-start; background: var(--surface); border-radius: 18px 18px 18px 6px; }
.msg.u { align-self: flex-end; background: var(--coral); color: var(--coral-ink); border-radius: 18px 18px 6px 18px; font-weight: 500; }
.msg.typing { color: var(--muted); letter-spacing: 3px; }
.msg-photo { align-self: flex-end; width: 74px; height: 92px; border-radius: 14px; object-fit: cover; animation: msgIn .25s ease-out; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--line); background: transparent; color: var(--text); font-weight: 600; font-size: 14px; }
.chip:first-child { border-color: var(--gold); }
.chip:hover { border-color: var(--gold); }
/* 11.11: ocaziile (pătrate, 3 pe rând) și variantele (verticale, 2 pe rând), cu poze */
.chips[class*="cards-"] { display: grid; gap: 10px; width: 100%; animation: msgIn .3s ease-out; }
.chips[class*="cards-"] { gap: 7px; }
.cards-occ, .cards-variant { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pcard { position: relative; padding: 0; min-height: 0; border-radius: 13px; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); background: var(--surface); }
.cards-variant .pcard { aspect-ratio: 9 / 15; }
.chips .pcard:first-child { border-color: var(--line); }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,8,14,.88) 0%, rgba(18,8,14,.25) 42%, transparent 60%); }
.pcard span { position: absolute; left: 6px; right: 5px; bottom: 6px; z-index: 1; font-size: 11px; font-weight: 700; line-height: 1.2; text-align: left; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.cards-variant .pcard span { font-size: 12px; left: 7px; bottom: 8px; }
.pcard:hover, .pcard:focus-visible { border-color: var(--gold); }
.pcard:active img { transform: scale(1.06); }
.composer { display: flex; align-items: center; gap: 10px; padding: 12px 14px calc(14px + var(--sb)); border-top: 1px solid var(--line); flex-shrink: 0; background: var(--bg); }
.composer input { flex-grow: 1; min-width: 0; min-height: 46px; border-radius: 23px; border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 0 16px; font: 16px var(--sans); }
.composer input:disabled { opacity: .55; }
.c-photo { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; flex-shrink: 0; }
.c-send { width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--coral); color: var(--coral-ink); display: grid; place-items: center; flex-shrink: 0; }
.c-send:disabled, .c-photo:disabled { opacity: .45; }

/* A/B/C · stilul */
.head { display: flex; align-items: center; gap: 12px; }
.head h2 { font-size: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.card {
  position: relative; border-radius: 22px; overflow: hidden; padding: 0; color: var(--text);
  background: var(--glass); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); text-align: left;
}
.card.on { border: 2px solid var(--gold); box-shadow: 0 0 24px rgba(232,194,122,.35); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .art { position: absolute; inset: 0; }
.card .nm { position: absolute; right: 12px; bottom: 10px; font-size: 13px; font-weight: 600; opacity: .9; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.song-card { height: 132px; }
.song-card img { opacity: .6; }
.song-card .art { opacity: .35; }
.eq { position: absolute; left: 12px; bottom: 12px; display: none; gap: 3px; align-items: flex-end; height: 22px; }
.card.playing .eq { display: flex; }
.eq i { width: 4px; height: 22px; background: var(--text); border-radius: 2px; transform-origin: bottom; animation: eq .7s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .2s; } .eq i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%,100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.big-prev { height: 250px; border-radius: 24px; overflow: hidden; position: relative; background: var(--glass); border: 1px solid var(--glass-line); flex-shrink: 0; }
.big-prev img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .3s; }
.big-prev .tag { position: absolute; left: 12px; top: 12px; font-size: 11px; padding: 4px 8px; border-radius: 10px; background: rgba(28,16,24,.6); color: var(--muted); }
.img-card { height: 104px; border-radius: 18px; }
.img-card img { opacity: .85; }
.img-card .nm { left: 0; right: 0; bottom: 6px; text-align: center; font-size: 12px; }
.clips { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; flex-shrink: 0; }
.clips::-webkit-scrollbar { display: none; }
.clip-card { flex: 0 0 96px; height: 410px; max-height: 52dvh; border-radius: 26px; transition: flex-basis .35s ease; scroll-snap-align: center; }
.clip-card.on { flex-basis: 230px; box-shadow: none; }
.clip-card img { inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); opacity: .8; }
.clip-card.on img { animation: drift 3s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(-10px, -6px) scale(1.02); } to { transform: translate(10px, 6px) scale(1.08); } }
.clip-card .nm { left: 12px; right: auto; bottom: 12px; font-size: 14px; }
.clip-card .pp { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); display: none; place-items: center; }
.clip-card.on .pp { display: grid; }

/* G · mesajul */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; flex-shrink: 0; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; min-height: 40px; padding: 0 14px; border-radius: 20px; font-weight: 600; font-size: 13px; white-space: nowrap; color: var(--text); background: var(--glass); border: 1px solid rgba(255,255,255,.12); }
.tab.on { color: var(--coral-ink); background: var(--gold); border-color: var(--gold); }
.stack { position: relative; height: 340px; max-height: 44dvh; min-height: 260px; flex-shrink: 0; touch-action: pan-y; }
.stack .s1, .stack .s2 { position: absolute; border-radius: 26px; }
.stack .s1 { inset: 18px 22px -10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transform: rotate(-4deg); }
.stack .s2 { inset: 9px 12px -4px; background: var(--glass); border: 1px solid rgba(255,255,255,.1); transform: rotate(3deg); }
.msg-card { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 0 26px; background: rgba(40,22,34,.85); border: 1px solid rgba(232,194,122,.45); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.msg-card.inR { animation: inR .35s ease-out; } .msg-card.inL { animation: inL .35s ease-out; }
@keyframes inR { from { transform: translateX(70px) rotate(5deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes inL { from { transform: translateX(-70px) rotate(-5deg); opacity: 0; } to { transform: none; opacity: 1; } }
.msg-card .glow { position: absolute; inset: 0; opacity: .4; }
.msg-card .em { position: relative; font-size: 34px; }
.msg-card .tx { position: relative; font-family: Caveat, cursive; font-size: 30px; line-height: 1.25; text-align: center; white-space: pre-line; overflow-wrap: anywhere; }
.msg-card textarea { position: relative; width: 100%; height: 55%; background: transparent; border: 1px dashed rgba(232,194,122,.5); border-radius: 16px; color: var(--text); font: 28px/1.25 Caveat, cursive; text-align: center; padding: 12px; resize: none; }
.msg-card .pos { position: relative; font-size: 12px; color: var(--muted); }
.nav3 { display: flex; align-items: center; justify-content: center; gap: 18px; flex-shrink: 0; }
.nav3 .round { width: 60px; height: 60px; }
.ok-big { width: 76px; height: 76px; border-radius: 50%; border: none; background: var(--coral); color: var(--coral-ink); display: grid; place-items: center; box-shadow: 0 8px 26px rgba(242,109,109,.4); }
.pair { display: flex; gap: 10px; }
.pair > * { flex: 1; }
.btn.glassline { background: transparent; border: 1px solid rgba(255,255,255,.16); color: var(--text); font-size: 14px; font-weight: 600; min-height: 48px; border-radius: 16px; }

/* E · semnătura */
.sig-prev { min-height: 190px; border-radius: 24px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px 22px; background: var(--glass); border: 1px solid var(--glass-line); flex-shrink: 0; }
.sig-prev .glow { position: absolute; inset: 0; opacity: .35; background: radial-gradient(circle at 30% 20%, var(--gold), transparent 55%), radial-gradient(circle at 80% 90%, #6b3a4f, transparent 60%); }
.sig-prev .m { position: relative; text-align: center; line-height: 1.25; overflow-wrap: anywhere; white-space: pre-line; }
.sig-prev .s { position: relative; color: var(--gold); }
.seg { display: flex; gap: 8px; }
.seg button { flex: 1; min-height: 46px; border-radius: 23px; font-weight: 600; font-size: 14px; color: var(--text); background: var(--glass); border: 1px solid var(--glass-line); padding: 0 6px; }
.seg button.on { color: var(--coral-ink); background: var(--gold); border-color: var(--gold); }
.font-btn { min-height: 64px; border-radius: 16px; color: var(--text); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.font-btn.on { background: rgba(255,255,255,.12); border: 2px solid var(--gold); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.field input, .field textarea { min-height: 48px; border-radius: 14px; border: 1px solid rgba(255,255,255,.16); background: var(--glass); color: var(--text); padding: 0 14px; font: 16px var(--sans); width: 100%; }
.field textarea { padding: 12px 14px; resize: none; }
.f-mana { font-family: Caveat, cursive; } .f-elegant { font-family: "Great Vibes", cursive; } .f-simplu { font-family: var(--sans); }
.f-masina { font-family: "Special Elite", monospace; } .f-clasic { font-family: var(--serif); } .f-fara { font-family: var(--sans); }

/* 3 · plata */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 16px; flex-shrink: 0; }
.thumb { width: 84px; height: 84px; border-radius: 16px; background: linear-gradient(150deg, #6b3a4f, #2e1824); border: 1px solid var(--gold); overflow: hidden; flex-shrink: 0; display: grid; place-items: center; position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.sep { height: 1px; background: var(--line); }
.checks { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.checks div { display: flex; gap: 10px; align-items: center; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px; gap: 10px; }
.price { font-family: var(--serif); font-size: 36px; color: var(--gold); white-space: nowrap; }
.price s { font-size: 20px; color: var(--muted); margin-right: 8px; }
.free-box { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: rgba(232,194,122,.1); border: 1px solid rgba(232,194,122,.35); flex-shrink: 0; }
.free-box .h { font-weight: 700; font-size: 15px; }
.inline { display: flex; gap: 8px; }
.inline input { flex-grow: 1; min-width: 0; min-height: 48px; border-radius: 14px; border: 1px solid rgba(255,255,255,.16); background: var(--glass); color: var(--text); padding: 0 14px; font: 16px var(--sans); }
.inline .btn { width: auto; min-height: 48px; font-size: 15px; border-radius: 14px; padding: 0 16px; }
.code-in { letter-spacing: .4em; text-align: center; font-size: 20px !important; }
.note { font-size: 13px; color: var(--muted); line-height: 1.4; }
.err { font-size: 14px; color: #ffb3a8; line-height: 1.4; }
.demo { font-size: 12px; color: var(--gold); border: 1px dashed rgba(232,194,122,.5); border-radius: 10px; padding: 6px 10px; }
.blocked { padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; line-height: 1.45; }

/* 4 · Bella lucrează */
.work { align-items: center; padding-top: calc(60px + var(--st)); gap: 24px; }
.spin-wrap { position: relative; width: 170px; height: 170px; display: grid; place-items: center; flex-shrink: 0; }
.spin-wrap .r1 { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(232,194,122,.25); }
.spin-wrap .r2 { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--gold); animation: spin 1.6s linear infinite; }
.spin-wrap .av { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; }
.spin-wrap .av img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { width: 100%; display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.step { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.step .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; display: grid; place-items: center; }
.step.now { color: var(--text); }
.step.now .dot { border-color: var(--gold); border-top-color: transparent; animation: spin 1s linear infinite; }
.step.done { color: var(--text); }
.step.done .dot { border: none; background: var(--green); color: var(--bg); }

/* 5 · gata */
.kicker { font-weight: 700; letter-spacing: .14em; font-size: 13px; color: var(--green); }
.result { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }
.cover { width: 100%; aspect-ratio: 1 / 1; max-height: 42dvh; border-radius: 16px; background: linear-gradient(150deg, #6b3a4f, #2e1824); border: 1px solid var(--gold); position: relative; overflow: hidden; display: grid; place-items: center; }
.cover > img, .cover > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.cover .ttl { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(28,16,24,.85)); font-family: var(--serif); font-size: 24px; color: var(--text); }
.cover .f-badge { position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; border-radius: 6px; background: rgba(242,109,109,.85); color: var(--coral-ink); font-family: var(--serif); font-size: 14px; display: grid; place-items: center; opacity: .8; }
.cover .note-ico { opacity: .35; }
.player { display: flex; align-items: center; gap: 12px; }
.play { width: 52px; height: 52px; border-radius: 50%; border: none; background: var(--coral); color: var(--coral-ink); display: grid; place-items: center; flex-shrink: 0; }
.track { flex-grow: 1; display: flex; flex-direction: column; gap: 6px; }
.track .bar { height: 6px; background: var(--line); cursor: pointer; }
.times { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.share-row { display: flex; justify-content: center; gap: 22px; font-size: 14px; }
.share-row button { background: none; border: none; color: var(--muted); padding: 8px 0; }
.share-row button:hover { color: var(--text); }
.ask { border: 1px dashed rgba(232,194,122,.4); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.ask .t { font-size: 15px; font-weight: 600; }
.socials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.socials button { min-height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); color: var(--text); font-size: 12px; font-weight: 600; padding: 0 4px; }
.ref { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); flex-shrink: 0; }
.ref code { font: 600 14px var(--sans); color: var(--gold); overflow-wrap: anywhere; }

/* D · trimite */
.env-row { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.env-card { position: relative; flex-grow: 1; min-width: 0; height: 300px; max-height: 38dvh; min-height: 230px; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--glass); border: 1px solid var(--glass-line); touch-action: pan-y; }
.env-card .art { position: absolute; inset: 0; opacity: .45; }
.env-card .nm { position: relative; font-family: var(--serif); font-size: 22px; text-align: center; }
.env-card .ln { position: relative; font-size: 14px; color: var(--muted); text-align: center; padding: 0 14px; }
.dots { display: flex; justify-content: center; gap: 6px; }
.dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.25); transition: width .2s; }
.dots i.on { width: 18px; background: var(--gold); }
.toggles { display: flex; flex-direction: column; gap: 8px; }
.tgl { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 8px 14px; border-radius: 16px; text-align: left; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.tgl.on { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.tgl .l { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.tgl b { font-size: 15px; } .tgl .l span { font-size: 12px; color: var(--muted); }
.sw { position: relative; flex-shrink: 0; width: 46px; height: 28px; border-radius: 14px; background: rgba(255,255,255,.18); transition: background .2s; }
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--text); transition: left .2s; }
.tgl.on .sw { background: var(--green); } .tgl.on .sw::after { left: 21px; }

/* plicurile (le folosește și pagina celui care primește) */
.env { position: relative; width: 120px; height: 90px; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.env .body { position: absolute; inset: 18px 0 0 0; border-radius: 12px; background: var(--env, #E8C27A); }
.env .flap { position: absolute; left: 0; right: 0; top: 18px; height: 0; border-left: 60px solid transparent; border-right: 60px solid transparent; border-top: 44px solid var(--flap, #d6ae63); transform-origin: top; transition: transform .6s ease; }
.env .seal { position: absolute; left: 44px; top: 40px; width: 32px; height: 32px; border-radius: 50%; background: var(--coral); color: var(--coral-ink); display: grid; place-items: center; font-family: var(--serif); font-size: 17px; transition: opacity .3s; }
.env.big { width: 250px; height: 190px; }
.env.big .body { inset: 30px 0 0 0; border-radius: 18px; }
.env.big .flap { top: 30px; border-left-width: 125px; border-right-width: 125px; border-top-width: 92px; }
.env.big .seal { left: 93px; top: 70px; width: 64px; height: 64px; font-size: 30px; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.env.t-auriu { --env: #E8C27A; --flap: #d6ae63; }
.env.t-mister { --env: #3b2a5c; --flap: #2d1f48; }
.env.t-mister .body { border: 1px solid rgba(255,255,255,.18); }
.env.t-cutie { --env: #e85d75; --flap: #c94a62; }
.env.t-cutie .body::before { content: ''; position: absolute; left: calc(50% - 7px); top: 0; bottom: 0; width: 14px; background: var(--gold); }
.env.t-cutie .body::after { content: ''; position: absolute; top: calc(50% - 7px); left: 0; right: 0; height: 14px; background: var(--gold); }
.env.t-cutie .flap { border-top-color: transparent; }
.env.t-cutie .bow { position: absolute; left: calc(50% - 26px); top: 0; width: 52px; height: 26px; }
.env.t-cutie .bow::before, .env.t-cutie .bow::after { content: ''; position: absolute; top: 0; width: 24px; height: 22px; border: 6px solid var(--gold); border-radius: 50% 50% 10% 50%; }
.env.t-cutie .bow::before { left: 0; transform: rotate(-20deg); } .env.t-cutie .bow::after { right: 0; transform: rotate(20deg) scaleX(-1); }
.env.big.t-cutie .bow { top: 4px; }
.env.t-artificii { --env: #1d3557; --flap: #16294a; }
.env.t-scrisoare { --env: #f6d7c3; --flap: #e8c2aa; }
.env.t-scrisoare .body::after { content: '♥ ♥'; position: absolute; left: 10px; bottom: 6px; color: #d7737f; font-size: 12px; letter-spacing: 4px; }
.env .spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #f4a261; opacity: 0; animation: spark 1.8s ease-out infinite; }
@keyframes spark { 0% { transform: translate(0,0) scale(.4); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1); opacity: 0; } }
.env.opening .flap { transform: rotateX(180deg); }
.env.opening .seal { opacity: 0; }

/* banner de toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--sb)); transform: translateX(-50%) translateY(20px); background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; opacity: 0; transition: .25s; pointer-events: none; z-index: 50; max-width: calc(100% - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translateX(-50%); }

/* pagini de text (termeni, confidențialitate) */
.doc { height: auto; min-height: 100%; overflow: auto; }
html.doc-html, html.doc-html body { overflow: auto; height: auto; }
.docwrap { max-width: 680px; margin: 0 auto; padding: calc(24px + var(--st)) 20px calc(40px + var(--sb)); line-height: 1.6; }
.docwrap h1 { font-size: 30px; margin: 12px 0 6px; }
.docwrap h2 { font-size: 20px; margin: 22px 0 6px; }
.docwrap p, .docwrap li { color: var(--muted); font-size: 15px; }
.draft { display: inline-block; font-weight: 700; letter-spacing: .08em; font-size: 12px; color: var(--coral-ink); background: var(--gold); padding: 4px 10px; border-radius: 8px; }
.img-card::after, .clip-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(transparent, rgba(28,16,24,.7)); pointer-events: none; }
.img-card .nm, .clip-card .nm, .clip-card .pp { z-index: 1; }
