/* Handcrafted look: flat, quiet, editorial. Colors still come from the palette and admin settings. */
html body { letter-spacing: 0; }
.deco, .phone, .bot, .blob, .dots { display: none !important; }
*, *::before, *::after { text-shadow: none !important; }
header.pill, .pill { position: sticky; top: 0; z-index: 50; max-width: none !important; width: 100% !important; margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; border: 0 !important; border-bottom: 1px solid var(--card-border) !important; padding: 10px 18px !important; gap: 12px !important; background: var(--pill-bg) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pill .nav { display: none !important; }
.logo { gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { border-radius: 8px; width: 38px; height: 38px; }
.logo span { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--ink) !important; display: flex; flex-direction: column; line-height: 1.15; font-size: 19px; font-weight: 700; }
.logo span small { font-size: 11px; font-weight: 500; color: var(--ink2); letter-spacing: .06em; margin-top: 2px; direction: ltr; text-align: start; }
.hamb { width: 42px; height: 42px; border: 1px solid var(--card-border); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; flex: 0 0 auto; margin-inline-start: auto; order: 5; }
.hamb span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.hamb[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamb[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamb[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* drawer */
.dr-bg { position: fixed; inset: 0; z-index: 9996; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .25s; }
.dr-bg.on { opacity: 1; }
.drawer { position: fixed; top: 0; bottom: 0; right: 0; z-index: 9997; width: min(86vw, 330px); background-color: var(--card-bg); color: var(--ink); border-inline-start: 1px solid var(--card-border); transform: translateX(105%); transition: transform .28s cubic-bezier(.3,.8,.3,1); overflow-y: auto; display: flex; flex-direction: column; direction: rtl; visibility: hidden; }
.drawer.on { transform: none; visibility: visible; }
.dr-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--card-border); font-size: 18px; }
.dr-x { width: 38px; height: 38px; border: 1px solid var(--card-border); border-radius: 10px; background: transparent; color: inherit; font-size: 22px; cursor: pointer; line-height: 1; }
.dr-links { display: flex; flex-direction: column; padding: 8px 10px; }
.dr-links a, .dr-links button { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 10px; border: 0; border-bottom: 1px solid var(--card-border); background: transparent; color: var(--ink); font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; text-align: start; cursor: pointer; }
.dr-links a::after, .dr-links button::after { content: "\2039"; color: var(--ink2); font-size: 20px; }
.dr-links a:hover, .dr-links button:hover { color: var(--accent); }
.dr-sec { padding: 14px 18px; border-top: 1px solid var(--card-border); }
.dr-sec > span { display: block; font-size: 12px; color: var(--ink2); margin-bottom: 10px; letter-spacing: .04em; }
.drawer .tools { margin: 0 !important; flex-wrap: wrap; justify-content: flex-start; gap: 10px; }
.drawer .tools a.tl { display: none !important; }
.drawer .search-btn { background: transparent; border: 1px solid var(--card-border); border-radius: 10px; width: 44px; height: 44px; }
.drawer .theme-toggle { background: transparent; border: 1px solid var(--card-border); border-radius: 10px; padding: 3px; gap: 3px; }
.drawer .theme-toggle button { border-radius: 8px; width: 38px; height: 36px; }
.dr-soc { display: flex; gap: 14px; margin-top: auto; }
.dr-soc a { color: var(--ink2); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
body.dr-lock { overflow: hidden; }
/* hero */
.hero { min-height: 0 !important; justify-content: flex-start !important; padding-block: 44px 18px !important; }
.hero-text { text-align: start !important; max-width: 720px; }
.hero .eyebrow { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: .02em; }
.hero h1 { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--ink) !important; font-weight: 700 !important; line-height: 1.4 !important; font-size: clamp(26px, 4.4vw, 42px) !important; }
.hero h1 span { text-decoration: none !important; box-shadow: inset 0 -.32em 0 color-mix(in srgb, var(--accent) 38%, transparent); }
.hero p { max-width: 560px; }
/* sections */
.sec-head { gap: 0 !important; margin-top: 38px !important; border-inline-start: 4px solid var(--accent); padding-inline-start: 12px; }
.sec-head .ic { display: none !important; }
.sec-head h2 { font-size: 21px; font-weight: 700; margin: 0; }
/* cards */
.fcard, .lcard, .set-card, .note, .about, .upd-list > *, .vcard { border-radius: 12px !important; box-shadow: none !important; border: 1px solid var(--card-border) !important; background: var(--card-bg) !important; }
.fcard:hover, .lcard:hover { border-color: var(--accent) !important; transform: none !important; }
.chip { border-radius: 8px !important; box-shadow: none !important; font-weight: 600; }
.chip.on { background: var(--ink) !important; color: var(--page-bg-solid, #fff) !important; border-color: var(--ink) !important; }
.download-btn, .btn.pri { border-radius: 10px !important; box-shadow: none !important; background: var(--accent) !important; color: #fff !important; }
.badge, .upd-badge { box-shadow: none !important; border-radius: 6px !important; }
.about { background: transparent !important; border-style: dashed !important; }
footer { border-top: 1px solid var(--card-border); margin-top: 48px; padding-top: 20px; }
@media (max-width: 520px) { header.pill, .pill { padding: 8px 12px !important; } .logo span { font-size: 17px; } .logo img { width: 34px; height: 34px; } .hero { padding-block: 28px 10px !important; } }
/* ===== red glass ===== */
html[data-theme]:not(#a):not(#b) { --accent:#ff3d5a; --accent2:#ff7a59; --heroA:#ff3d5a; --heroB:#ff7a59; --ink:#fff4f5; --ink2:rgba(255,232,236,.74); --card-bg:rgba(255,255,255,.085); --pill-bg:rgba(36,5,13,.55); --card-border:rgba(255,255,255,.2); --hairline:rgba(255,255,255,.16); --page-bg:linear-gradient(160deg,#1a0409 0%,#34091a 55%,#1d050c 100%); --btn-bg:linear-gradient(135deg,#ff3d5a,#d6204a); --btn-ink:#fff; }
html[data-theme="light"]:not(#a):not(#b) { --accent:#d6204a; --accent2:#f0553f; --heroA:#d6204a; --heroB:#f0553f; --ink:#2b0a12; --ink2:rgba(70,20,32,.78); --card-bg:rgba(255,255,255,.55); --pill-bg:rgba(255,255,255,.62); --card-border:rgba(190,30,60,.24); --hairline:rgba(190,30,60,.2); --page-bg:linear-gradient(160deg,#ffe3e7 0%,#ffc4cf 55%,#ffeef0 100%); }
body { position: relative; }
body::before { content: ""; position: fixed; inset: -12%; z-index: -1; pointer-events: none; filter: blur(34px); background: radial-gradient(36% 30% at 18% 14%, rgba(255,61,90,.6), transparent 70%), radial-gradient(40% 34% at 86% 58%, rgba(214,32,74,.55), transparent 70%), radial-gradient(32% 30% at 38% 96%, rgba(255,122,89,.4), transparent 70%); animation: crOrbs 20s ease-in-out infinite alternate; }
html[data-theme="light"] body::before { opacity: .55; }
@keyframes crOrbs { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(3%,-3%,0) scale(1.12); } }
html[data-theme]:not(#a) :is(header.pill,.fcard,.lcard,.set-card,.note,.about,.chip,.vcard,.upd-list > *,.comments li,.dl-count,.hamb,.drawer .theme-toggle,.drawer .search-btn) { background: var(--card-bg) !important; -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); border: 1px solid var(--card-border) !important; box-shadow: 0 8px 28px rgba(60,0,15,.28), inset 0 1px 0 rgba(255,255,255,.24) !important; filter: none !important; }
html[data-theme]:not(#a) header.pill { background: var(--pill-bg) !important; border-width: 0 0 1px 0 !important; border-bottom: 1px solid var(--card-border) !important; box-shadow: 0 6px 24px rgba(60,0,15,.3) !important; }
html[data-theme]:not(#a) .about { border-style: solid !important; }
html[data-theme]:not(#a) .chip.on { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }
html[data-theme]:not(#a) .download-btn, html[data-theme]:not(#a) .btn.pri { background: linear-gradient(135deg,var(--accent),#c01c43) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.28) !important; box-shadow: 0 8px 22px rgba(255,61,90,.35), inset 0 1px 0 rgba(255,255,255,.35) !important; }
html[data-theme]:not(#a) input, html[data-theme]:not(#a) textarea, html[data-theme]:not(#a) select { background: rgba(255,255,255,.1) !important; border: 1px solid var(--card-border) !important; color: var(--ink) !important; }
html[data-theme]:not(#a) .fcard:hover, html[data-theme]:not(#a) .lcard:hover { border-color: rgba(255,255,255,.45) !important; }
html[data-theme]:not(#a) .drawer { background: rgba(34,5,13,.62) !important; -webkit-backdrop-filter: blur(26px) saturate(160%); backdrop-filter: blur(26px) saturate(160%); border-inline-start: 1px solid rgba(255,255,255,.22); box-shadow: -12px 0 40px rgba(40,0,10,.45), inset 1px 0 0 rgba(255,255,255,.18) !important; color: #fff4f5; }
html[data-theme="light"]:not(#a) .drawer { background: rgba(255,238,241,.72) !important; color: #2b0a12; }
.drawer .dr-top { padding: 11px 16px; font-size: 16px; }
.drawer .dr-x { width: 32px; height: 32px; font-size: 20px; border-radius: 9px; }
.drawer .dr-links { padding: 6px 10px; }
.drawer .dr-links a, .drawer .dr-links button { padding: 9px 8px; font-size: 14px; font-weight: 600; border-bottom-color: rgba(255,255,255,.12); }
html[data-theme="light"] .drawer .dr-links a, html[data-theme="light"] .drawer .dr-links button { color: #2b0a12; border-bottom-color: rgba(190,30,60,.18); }
.drawer .dr-sec { padding: 10px 16px; }
.drawer .search-btn { width: 38px; height: 38px; }
.drawer .theme-toggle button { width: 34px; height: 32px; }
.hamb { width: 40px; height: 40px; }
/* ===== assistant: orb + WhatsApp-style chat ===== */
.as-orb { position: fixed; right: 16px; bottom: 18px; z-index: 9990; width: 58px; height: 58px; border: 0; padding: 0; border-radius: 50%; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.as-orb::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(from 0deg, #ff2d55, #ff9a3c, #ffd3dc, #ff2d55, #8a0a26, #ff2d55); filter: blur(8px); opacity: .95; animation: asSpin 3s linear infinite; }
.as-orb::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.95), rgba(255,130,150,.6) 20%, #c4143c 54%, #4c0213 100%); box-shadow: inset -5px -7px 13px rgba(0,0,0,.5), inset 3px 4px 8px rgba(255,255,255,.4), 0 0 24px rgba(255,45,85,.85); animation: asBreath 2.4s ease-in-out infinite; }
.as-orb i { position: absolute; inset: 8px; z-index: 2; border-radius: 50%; border: 2px solid transparent; border-top-color: rgba(255,255,255,.9); border-left-color: rgba(255,255,255,.35); animation: asSpin 1.5s linear infinite reverse; }
@keyframes asSpin { to { transform: rotate(360deg); } }
@keyframes asBreath { 0%,100% { transform: scale(1); } 50% { transform: scale(.93); } }
@media (prefers-reduced-motion: reduce) { .as-orb::before, .as-orb::after, .as-orb i, body::before { animation: none; } }
/* chat: glass, Instagram-DM feel */
.as-panel { position: fixed; right: 10px; bottom: 88px; z-index: 9991; width: min(392px, calc(100vw - 20px)); height: min(78vh, 610px); display: flex; flex-direction: column; color: #fff4f5; direction: rtl; overflow: hidden; border-radius: 26px; font-family: inherit; background: linear-gradient(160deg, rgba(60,8,24,.72), rgba(26,4,12,.82)); -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 24px 60px rgba(30,0,10,.6), inset 0 1px 0 rgba(255,255,255,.28); animation: dmIn .22s ease-out; }
@keyframes dmIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.as-panel[hidden] { display: none; }
.as-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 40% at 90% 0%, rgba(255,61,90,.35), transparent 70%), radial-gradient(50% 35% at 0% 100%, rgba(255,140,80,.22), transparent 70%); }
.wa-head { position: relative; display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); }
.wa-av { width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto; padding: 2px; background: conic-gradient(from 200deg, #ff2d55, #ff9a3c, #ff2d8a, #ff2d55); position: relative; }
.wa-av::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: radial-gradient(circle at 32% 26%, #fff, #ff8296 22%, #c4143c 58%, #4c0213); }
.wa-ti { flex: 1; min-width: 0; line-height: 1.35; } .wa-ti b { display: block; font-size: 15.5px; font-weight: 700; } .wa-ti small { font-size: 12px; color: rgba(255,232,236,.7); } .wa-ti small::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; margin-inline-end: 5px; }
.as-x { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: 20px; cursor: pointer; line-height: 1; }
.as-msgs { position: relative; flex: 1; overflow-y: auto; padding: 14px 12px 8px; display: flex; flex-direction: column; gap: 6px; scrollbar-width: none; }
.as-msgs::-webkit-scrollbar { display: none; }
.wa-row { display: flex; } .wa-row.u { justify-content: flex-start; } .wa-row.b { justify-content: flex-end; }
.wa-b { max-width: 82%; padding: 9px 14px 6px; font-size: 15px; line-height: 1.65; word-break: break-word; }
.wa-row.u .wa-b { background: linear-gradient(135deg, #ff3d5a 0%, #e0206a 55%, #b5179e 100%); color: #fff; border-radius: 22px 22px 22px 6px; box-shadow: 0 6px 18px rgba(255,45,85,.3); }
.wa-row.b .wa-b { background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.16); border-radius: 22px 22px 6px 22px; }
.wa-tx { white-space: pre-wrap; } .wa-tx a { color: #ffd1da; text-decoration: underline; }
.wa-t { display: flex; justify-content: flex-end; align-items: center; gap: 5px; font-size: 10.5px; opacity: .72; margin-top: 1px; direction: ltr; }
.wa-k { letter-spacing: -2px; } .wa-k.r { color: #ffe3a3; opacity: 1; }
.wa-sp { background: none; border: 0; color: inherit; cursor: pointer; font-size: 13px; padding: 0 2px; opacity: .9; }
.wa-dots { display: inline-flex; gap: 4px; padding: 6px 2px; } .wa-dots i { width: 7px; height: 7px; border-radius: 50%; background: #ffd1da; animation: waDot 1s infinite; } .wa-dots i:nth-child(2) { animation-delay: .15s; } .wa-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes waDot { 0%,60%,100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.wa-vc { display: flex; align-items: center; gap: 9px; min-width: 200px; direction: rtl; padding: 3px 0; }
.wa-vc button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: #d6204a; font-size: 13px; cursor: pointer; flex: 0 0 auto; box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.wa-bars { flex: 1; display: flex; align-items: center; gap: 2px; height: 30px; } .wa-bars i { flex: 1; min-width: 2px; background: rgba(255,255,255,.42); border-radius: 3px; } .wa-bars i.on { background: #fff; }
.wa-vd { font-size: 11px; opacity: .8; direction: ltr; }
.wa-tr { font-size: 13px; opacity: .85; margin-top: 3px; }
.wa-note { font-size: 12px; color: #ffe3a3; margin-top: 3px; }
.as-sug { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0; }
.as-sug button { border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: 13px; border-radius: 18px; padding: 7px 13px; cursor: pointer; }
.wa-in { position: relative; display: flex; align-items: center; gap: 8px; margin: 6px 10px 6px; padding: 5px 5px 5px 6px; border-radius: 30px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); }
.wa-in input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 9px 12px; border: 0 !important; background: transparent !important; color: #fff !important; outline: none; box-shadow: none !important; }
.wa-in input::placeholder { color: rgba(255,232,236,.6); }
.wa-go { width: 42px; height: 42px; border-radius: 50%; border: 0; background: linear-gradient(135deg, #ff3d5a, #b5179e); color: #fff; font-size: 18px; cursor: pointer; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(255,45,85,.4); }
.wa-rec { display: none; flex: 1; align-items: center; gap: 10px; direction: rtl; padding: 0 8px; } .wa-in.rec .wa-rec { display: flex; } .wa-in.rec input { display: none; }
.wa-rec b { width: 10px; height: 10px; border-radius: 50%; background: #ff3b30; animation: waDot 1s infinite; } .wa-rec span { font-variant-numeric: tabular-nums; direction: ltr; }
.wa-rec button { margin-inline-start: auto; background: rgba(255,255,255,.14); border: 0; color: #fff; font: inherit; font-size: 13px; border-radius: 14px; padding: 5px 11px; cursor: pointer; }
.as-note { position: relative; font-size: 11px; opacity: .6; text-align: center; padding: 0 12px 9px; }
html[data-theme]:not(#a):not(#b) .wa-in input { background: transparent !important; border: 0 !important; color: #fff !important; box-shadow: none !important; }
.wa-clr { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; opacity: .9; }
.as-orb { transition: transform .45s cubic-bezier(.34,1.56,.64,1); cursor: grab; }
.as-lbl { position: fixed; right: 84px; bottom: 30px; z-index: 9989; max-width: calc(100vw - 170px); padding: 8px 14px; border-radius: 18px; font: inherit; font-size: 13px; font-weight: 700; line-height: 1.35; color: #fff4f5; direction: rtl; text-align: center; cursor: pointer; background: rgba(40,6,16,.62); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); border: 1px solid rgba(255,255,255,.24); box-shadow: 0 8px 22px rgba(40,0,10,.35), inset 0 1px 0 rgba(255,255,255,.25); }
html[data-theme="light"] .as-lbl { background: rgba(255,255,255,.7); color: #5a0f24; border-color: rgba(190,30,60,.28); }
.newapp { display: flex; align-items: center; gap: 12px; margin: 6px 0 20px; padding: 12px 14px; border-radius: 20px; text-decoration: none; color: inherit; background: linear-gradient(135deg, rgba(255,61,90,.34), rgba(181,23,158,.22)) !important; border: 1px solid rgba(255,255,255,.28) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 10px 28px rgba(255,45,85,.22), inset 0 1px 0 rgba(255,255,255,.3); }
.newapp img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: 0 0 auto; }
.na-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.4; }
.na-t small { font-size: 12px; font-weight: 700; color: var(--accent); } .na-t b { font-size: 17px; } .na-t em { font-style: normal; font-size: 12.5px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.na-go { flex: 0 0 auto; padding: 8px 14px; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; }
.badge.new { background: var(--accent) !important; color: #fff !important; }
