/* secreti.site — site, sign-up and dashboard. Deep plum night, crimson / coral / blush from the logo. */
:root {
    --bg: #12040c;
    --bg2: #1b0712;
    --panel: rgba(255, 255, 255, .045);
    --panel2: rgba(255, 255, 255, .075);
    --line: rgba(255, 214, 228, .12);
    --text: #fcf1f5;
    --muted: #cfa9bb;
    --pink: #ff4d7d;
    --rose: #e8195a;
    --coral: #ff7a6b;
    --plum: #6b0f3a;
    --blush: #ffd1dc;
    --gold: #ffd28a;
    --ok: #3ddc97;
    --err: #ff6b6b;
    --grad: linear-gradient(135deg, #ff7a6b 0%, #ff4d7d 35%, #e8195a 65%, #a3104f 100%);
    --radius: 18px;
    --shadow: 0 20px 60px rgba(0, 0, 0, .45);
    --font: 'Nunito', 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --display: 'Fredoka', 'Cairo', 'Nunito', sans-serif;
    color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
[dir="rtl"] body { --font: 'Cairo', 'Nunito', system-ui, sans-serif; --display: 'Cairo', 'Fredoka', sans-serif; }
a { color: var(--blush); }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5vw, 44px); }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(520px, 100% - 32px); margin: 40px auto 70px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* header */
.top { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(18, 4, 12, .72); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 34px; width: auto; display: block; }
.top nav { display: flex; gap: 22px; margin-inline-start: 12px; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; }
.top nav a:hover { color: #fff; }
.top .right { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { color: var(--muted); text-decoration: none; font-weight: 800; font-size: 14px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); }
.lang:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
@media (max-width: 860px) { .top nav { display: none; } }
@media (max-width: 520px) { .top .signin { display: none; } .logo img { height: 28px; } .top .wrap { gap: 10px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 14px; border: 1px solid transparent; font: 800 15px/1.1 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(232, 25, 90, .38); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(232, 25, 90, .5); }
.btn-ghost { background: var(--panel); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, .35); background: var(--panel2); }
.btn-light { background: #fff; color: #5a0f2e; }
.btn-light:hover { color: #5a0f2e; transform: translateY(-2px); }
.btn-danger { background: rgba(255, 107, 107, .12); color: #ffb3b3; border-color: rgba(255, 107, 107, .35); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 14px; border-radius: 11px; }
.btn-lg { min-height: 58px; padding: 14px 28px; font-size: 17px; border-radius: 18px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.glow { position: relative; isolation: isolate; }
.glow::after { content: ""; position: absolute; inset: 2px; border-radius: inherit; background: var(--grad); filter: blur(14px); opacity: .35; z-index: -1; }
@keyframes pulse { 50% { opacity: .9; transform: scale(1.03); } }

/* cards & forms */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card + .card { margin-top: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 77, 125, .12); border: 1px solid rgba(255, 77, 125, .3); color: var(--blush); font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.field .opt { color: var(--muted); font-weight: 600; }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 13px; border: 1px solid var(--line); background: rgba(0, 0, 0, .28); color: var(--text); font: 600 16px/1.4 var(--font); transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 77, 125, .18); }
input::placeholder, textarea::placeholder { color: rgba(207, 169, 187, .55); }
input[type="file"] { padding: 10px; min-height: 0; }
input[type="checkbox"] { width: 20px; min-height: 20px; height: 20px; accent-color: var(--rose); }
.hint { color: var(--muted); font-size: 13px; margin-top: 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .2); cursor: pointer; }
.check input { flex-shrink: 0; margin-top: 2px; }
.check b { display: block; }
.alert { padding: 13px 16px; border-radius: 14px; margin: 0 0 16px; font-weight: 700; font-size: 15px; }
.alert ul { margin: 0; padding-inline-start: 18px; }
.alert-ok { background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .35); color: #b5f5d8; }
.alert-err { background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .4); color: #ffc9c9; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: var(--panel2); border: 1px solid var(--line); }
.badge-ok { background: rgba(61, 220, 151, .12); border-color: rgba(61, 220, 151, .35); color: #b5f5d8; }
.badge-wait { background: rgba(255, 210, 138, .12); border-color: rgba(255, 210, 138, .35); color: #ffe2b0; }
.badge-err { background: rgba(255, 107, 107, .12); border-color: rgba(255, 107, 107, .35); color: #ffc9c9; }
.inline { display: inline; margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.price-was { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; font-weight: 700; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; margin-top: 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.foot a { color: var(--blush); }

/* ---------- home ---------- */
/* Calm on purpose (Material 3 / Apple HIG): one animated area (the hero), 8-pt spacing, clear type scale,
   tonal icon badges, 48-px touch targets, list rows on phones. */
.ms { font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; font-size: 22px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased; font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
.btn .ms { font-size: 20px; }
[dir="rtl"] .btn .ms { transform: scaleX(-1); }
.btn-tonal { background: rgba(255, 209, 220, .1); color: var(--text); border-color: rgba(255, 209, 220, .16); }
.btn-tonal:hover { background: rgba(255, 209, 220, .16); color: #fff; }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 14px; border-radius: 8px; background: rgba(255, 209, 220, .1); color: var(--blush); font-weight: 700; font-size: 14px; }
.chip-accent { background: rgba(255, 77, 125, .16); color: #ffc2d1; }
.home .glow::after { display: none; }

.h-hero { position: relative; overflow: hidden; padding: 64px 0 72px; background: radial-gradient(70% 60% at 75% 20%, rgba(232, 25, 90, .22), transparent 70%), radial-gradient(60% 50% at 10% 90%, rgba(107, 15, 58, .35), transparent 70%); }
.h-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .7; }
.h-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.h-hero h1 { font-size: clamp(36px, 5.6vw, 60px); line-height: 1.08; margin: 16px 0; letter-spacing: -.02em; }
.h-lead { font-size: 18px; line-height: 1.55; color: #ecd3dd; max-width: 520px; margin: 0 0 28px; }
.h-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.h-price { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.h-price b { color: var(--text); font-size: 17px; }
.h-price s { text-decoration-thickness: 2px; }
.h-phone-wrap { display: flex; justify-content: center; }

/* phone mock-up: lock → letter, on a loop (the product in one glance) */
.phone { position: relative; width: 280px; aspect-ratio: 9 / 18.5; border-radius: 42px; padding: 11px; background: #23091a; box-shadow: 0 30px 70px rgba(0, 0, 0, .5), inset 0 0 0 1.5px rgba(255, 255, 255, .1); }
.phone .screen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #ff4d7d 0%, #8e1150 45%, #2a0618 100%); }
.phone .notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 12px; background: #0b0207; z-index: 5; }
.phone canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; color: #fff; }
.scene-lock { animation: sceneLock 10s infinite; }
.scene-letter { animation: sceneLetter 10s infinite; opacity: 0; }
@keyframes sceneLock { 0%, 44% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes sceneLetter { 0%, 50% { opacity: 0; transform: translateY(16px); } 56%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.lockmark { width: 84px; height: 84px; }
.scene .for { font: 600 14px var(--display); margin: 12px 0 2px; opacity: .9; }
.scene .who { font: 700 26px 'Dancing Script', cursive; margin: 0 0 16px; }
.dots { display: flex; gap: 10px; padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, .16); }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .3); animation: dot 10s infinite; }
.dots i:nth-child(2) { animation-delay: .4s; }
.dots i:nth-child(3) { animation-delay: .8s; }
.dots i:nth-child(4) { animation-delay: 1.2s; }
@keyframes dot { 0%, 12% { background: rgba(255, 255, 255, .3); } 16%, 44% { background: #fff; } 50%, 100% { background: rgba(255, 255, 255, .3); } }
.mini-letter { width: 100%; background: #fff5f7; color: #5a0f2e; border-radius: 16px; padding: 16px 14px; box-shadow: 0 16px 32px rgba(0, 0, 0, .25); text-align: start; }
.mini-letter .t { font: 700 22px 'Dancing Script', cursive; color: #e8195a; margin: 0 0 8px; text-align: center; }
.mini-letter .ph { height: 86px; border-radius: 10px; margin: 0 0 10px; background: url('sunset-mini.jpg') center / cover, linear-gradient(180deg, #2a0b3d, #b8325f 55%, #ff8a5b); }
.mini-letter .l { height: 7px; border-radius: 4px; background: rgba(90, 15, 46, .14); margin: 7px 0; }
.mini-letter .l.s { width: 70%; }
.mini-letter .sig { font: 700 17px 'Dancing Script', cursive; text-align: end; margin-top: 8px; }

/* sections */
.h-section { padding: 72px 0; }
.h-section + .h-section { border-top: 1px solid rgba(255, 214, 228, .06); }
.h-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.h-head h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 8px; }
.h-head p { color: var(--muted); font-size: 17px; margin: 0; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, 0, 0, 1); }
.reveal.in { opacity: 1; transform: none; }
.h-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 77, 125, .14); color: #ff8fab; }
.h-icon .ms { font-size: 24px; }

.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.h-step { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.h-step h3 { font-size: 18px; margin: 0 0 6px; display: flex; align-items: baseline; gap: 8px; }
.h-num { color: var(--pink); font-family: var(--display); font-size: 15px; }
.h-step p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.5; }

.h-carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, calc((100vw - 1160px) / 2)) 16px; scroll-padding-inline: max(16px, calc((100vw - 1160px) / 2)); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.h-carousel::-webkit-scrollbar { display: none; }
.h-carousel:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
.tcard { position: relative; flex: 0 0 168px; aspect-ratio: 3 / 4; scroll-snap-align: start; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; transition: transform .2s ease; }
.tcard:hover { transform: translateY(-3px); color: #fff; }
.tcard .paper { position: absolute; inset: 16% 12% auto; height: 42%; border-radius: 12px; background: var(--paper); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); display: grid; place-items: center; }
.tcard .paper b { font: 700 18px var(--font-display); color: var(--accent); text-align: center; padding: 0 8px; line-height: 1.15; }
.tcard .nm { font: 600 15px var(--display); text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }

.h-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.h-features li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.h-features h3 { font-size: 17px; margin: 2px 0 4px; }
.h-features p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.5; }

.h-price-card { max-width: 520px; margin: 0 auto; padding: 28px; border-radius: 28px; background: linear-gradient(180deg, rgba(255, 77, 125, .12), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 77, 125, .28); }
.h-price-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.h-price-top h3 { font-size: 18px; margin: 0; color: var(--muted); }
.h-amount { font: 700 48px/1.1 var(--display); margin: 6px 0 0; }
.h-amount s { font-size: 22px; color: var(--muted); text-decoration-thickness: 2px; font-weight: 600; }
.h-amount small { font-size: 16px; color: var(--muted); font-weight: 600; }
.h-checks { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 12px; }
.h-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.h-checks .ms { color: var(--pink); font-size: 22px; }
.h-addons { margin-top: 20px; border-radius: 16px; background: rgba(0, 0, 0, .22); }
.h-addons div { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 16px; }
.h-addons div + div { border-top: 1px solid var(--line); }
.h-addons b { font-family: var(--display); font-size: 18px; }
.h-note { color: var(--muted); font-size: 13.5px; margin: 16px 0 0; line-height: 1.5; }

.faq { max-width: 760px; margin: 0 auto; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; min-height: 56px; padding: 14px 20px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 9px; height: 9px; border-inline-end: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq details p { color: var(--muted); margin: 0; padding: 0 20px 18px; line-height: 1.55; }

.h-final { text-align: center; padding: 48px 24px; border-radius: 28px; background: linear-gradient(180deg, rgba(255, 77, 125, .14), rgba(107, 15, 58, .18)); border: 1px solid rgba(255, 77, 125, .22); }
.h-final h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 8px; }
.h-final p { color: var(--muted); font-size: 17px; margin: 0 0 24px; }

@media (max-width: 980px) {
    .h-steps { grid-template-columns: 1fr 1fr; }
    .h-features { grid-template-columns: 1fr 1fr; }
}
/* phones: single column, list rows (iOS-style grouped lists), smaller mock-up */
@media (max-width: 760px) {
    .h-hero { padding: 36px 0 48px; }
    .h-hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .h-hero h1 { font-size: 36px; }
    .h-lead { font-size: 17px; margin-bottom: 24px; }
    .h-actions .btn { width: 100%; }
    .h-hero-copy { text-align: center; }
    .h-lead { margin-inline: auto; }
    .phone { width: 220px; border-radius: 36px; padding: 9px; }
    .phone .screen { border-radius: 28px; }
    .h-section { padding: 48px 0; }
    .h-head { margin-bottom: 24px; }
    .h-head p { font-size: 16px; }
    .h-steps, .h-features { grid-template-columns: 1fr; gap: 0; border-radius: 20px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
    .h-step, .h-features li { flex-direction: row; gap: 14px; padding: 16px; border: 0; border-radius: 0; background: none; }
    .h-step + .h-step, .h-features li + li { border-top: 1px solid var(--line); }
    .h-step h3, .h-features h3 { font-size: 16px; }
    .h-icon { width: 40px; height: 40px; border-radius: 12px; }
    .h-icon .ms { font-size: 22px; }
    .tcard { flex-basis: 140px; }
    .h-price-card { padding: 22px; border-radius: 24px; }
    .h-amount { font-size: 42px; }
    .h-final { padding: 36px 20px; }
}

/* ---------- dashboard ---------- */
.dash { padding: 30px 0 60px; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.page-head h1 { margin: 0; font-size: clamp(26px, 4vw, 34px); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.scard { border-radius: 22px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.scard .cover { position: relative; height: 150px; background: var(--bg); display: grid; place-items: center; color: #fff; text-align: center; padding: 16px; }
.scard .cover .em { font-size: 34px; }
.scard .cover b { display: block; font: 700 22px var(--font-display); text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.scard .body { padding: 18px; display: grid; gap: 12px; flex: 1; }
.scard .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.linkbox { display: flex; gap: 8px; align-items: center; }
.linkbox input { min-height: 42px; font-size: 14px; direction: ltr; }
.newcard { display: grid; place-items: center; text-align: center; min-height: 280px; border: 2px dashed rgba(255, 77, 125, .35); border-radius: 22px; padding: 24px; text-decoration: none; color: var(--text); background: rgba(255, 77, 125, .04); transition: background .2s, transform .2s; }
.newcard:hover { background: rgba(255, 77, 125, .1); transform: translateY(-3px); color: #fff; }
.newcard .plus { font-size: 46px; }

/* editor */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; }
.editor .preview { position: sticky; top: 86px; }
@media (max-width: 980px) { .editor { grid-template-columns: 1fr; } .editor .preview { position: static; order: -1; } }
.stepbox { margin-bottom: 18px; }
.stepbox h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.stepbox h2 .n { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); font-size: 15px; }
.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.picker label { position: relative; cursor: pointer; border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--bg); display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; color: #fff; border: 2px solid transparent; transition: transform .15s, border-color .15s; }
.picker label:hover { transform: translateY(-2px); }
.picker input { position: absolute; opacity: 0; pointer-events: none; }
.picker .em { font-size: 26px; position: absolute; top: 10px; inset-inline-start: 10px; }
.picker .nm { font-weight: 800; font-size: 13.5px; line-height: 1.2; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.picker label:has(input:checked) { border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 77, 125, .5); }
.picker label:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: 2px; }
.counter { text-align: end; }
.mock { position: relative; border-radius: 28px; overflow: hidden; min-height: 520px; background: var(--bg); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .1); }
.mock canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mock .letter { position: relative; margin: 34px 22px; padding: 22px 20px; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
.mock .letter .to { font-family: var(--font-body); font-weight: 700; opacity: .7; font-size: 14px; margin: 0; }
.mock .letter .ttl { font-family: var(--font-display); color: var(--accent); font-size: 30px; font-weight: 700; line-height: 1.15; margin: 4px 0 12px; overflow-wrap: anywhere; }
.mock .letter img { width: 100%; border-radius: 12px; margin-bottom: 12px; transform: rotate(-1.5deg); box-shadow: 0 8px 18px rgba(0, 0, 0, .2); border: 6px solid #fff; }
.mock .letter .msg { font-family: var(--font-body); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.6; max-height: 260px; overflow: hidden; margin: 0; }
.mock .letter .from { font-family: var(--font-display); font-size: 22px; text-align: end; margin: 12px 0 0; color: var(--accent); }
.edit-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255, 210, 138, .08); border: 1px solid rgba(255, 210, 138, .3); color: #ffe2b0; font-weight: 700; font-size: 14.5px; margin-bottom: 18px; }

/* share page */
.share { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
@media (max-width: 860px) { .share { grid-template-columns: 1fr; } }
.qr { background: #fff; border-radius: 22px; padding: 18px; text-align: center; color: #5a0f2e; }
.qr img { width: 100%; max-width: 260px; image-rendering: pixelated; }
.stat { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); }
.stat b { font: 700 22px var(--display); }
.stat span { color: var(--muted); font-size: 13px; font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 16px 0; }

/* pay page */
.paybox { display: grid; gap: 14px; }
.payline { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.payline .amt { font: 700 30px var(--display); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 800; font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* admin */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
.search { display: flex; gap: 8px; }
.search input { min-height: 42px; }
.pager { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }

/* Whish / OMT: pending payment panel */
.pending-card { border-color: rgba(255, 210, 138, .45); }
.refbox { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0; padding: 10px 14px; border-radius: 14px; background: rgba(255, 210, 138, .1); color: #ffe2b0; }
.refbox b { font-size: 20px; letter-spacing: .04em; color: #fff; }
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.way { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .2); }
.way p { margin: 6px 0 12px; color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .ways { grid-template-columns: 1fr; } }
