
.prof-page{max-width:1100px;margin:0 auto;padding:72px 14px 40px;box-sizing:border-box}
.prof-warn{background:linear-gradient(135deg,#fff7ed,#ffedd5);border:1px solid #fdba74;color:#9a3412;border-radius:14px;padding:12px 14px;font-size:14px;line-height:1.45;margin:0 0 14px}
.prof-tabs{display:flex;gap:8px;margin:0 0 14px;flex-wrap:wrap}
.prof-tabs a{padding:10px 16px;border-radius:999px;background:#1e293b;color:#e2e8f0;text-decoration:none;font-weight:700;font-size:14px;transition:.15s}
.prof-tabs a:hover{filter:brightness(1.1)}
.prof-tabs a.on{background:linear-gradient(90deg,#7c3aed,#db2777);color:#fff}
.prof-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:900px){.prof-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.prof-grid{grid-template-columns:1fr;max-width:420px;margin:0 auto}}
.prof-card{position:relative;border-radius:18px;overflow:hidden;background:#0f172a;aspect-ratio:3/4;box-shadow:0 12px 32px rgba(0,0,0,.28)}
.prof-card img.cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.prof-card .ph{position:absolute;inset:0;display:grid;place-items:center;font-size:64px;background:linear-gradient(145deg,#334155,#1e293b);color:#fff}
.prof-card .grad{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.5) 0%,transparent 30%,transparent 50%,rgba(0,0,0,.88) 100%);pointer-events:none}
.prof-card .top{position:absolute;left:12px;right:12px;top:12px;display:flex;justify-content:space-between;align-items:flex-start;z-index:2;color:#fff}
.prof-card .name{font-weight:800;font-size:16px;text-shadow:0 1px 4px rgba(0,0,0,.65);line-height:1.2}
.prof-card .status{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;margin-top:4px}
.prof-card .status i{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 8px #22c55e}
.prof-card .status.off i{background:#94a3b8;box-shadow:none}
.prof-card .flag{font-size:20px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5))}
.prof-card .tags{position:absolute;left:12px;right:12px;bottom:58px;z-index:2;display:flex;flex-wrap:wrap;gap:6px}
.prof-card .tag{font-size:11px;padding:4px 8px;border-radius:999px;background:rgba(0,0,0,.45);color:#fff;backdrop-filter:blur(4px)}
.prof-card .actions{position:absolute;left:12px;right:12px;bottom:12px;z-index:2;display:flex;justify-content:space-between;align-items:center}
.prof-card .actions a,.prof-card .actions button{width:44px;height:44px;border-radius:50%;border:0;display:grid;place-items:center;cursor:pointer;text-decoration:none;font-size:18px;box-shadow:0 4px 14px rgba(0,0,0,.3)}
.prof-card .btn-msg{background:#fff;color:#0f172a}
.prof-card .btn-gift{background:#ef4444;color:#fff}
.prof-empty{text-align:center;color:#94a3b8;padding:40px 12px}
.pager{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:20px 0 8px}
.pager a,.pager span{min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#1e293b;color:#e2e8f0;text-decoration:none;font-weight:700}
.pager span.on{background:linear-gradient(90deg,#7c3aed,#db2777);color:#fff}
.wallet-bar{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 14px}
.wallet-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;font-weight:800;font-size:13px}
.wallet-pill.rub{background:#0f766e;color:#ecfdf5}
.wallet-pill.coin{background:#1e1b4b;color:#fde68a}

.prof-card a.card-link{position:absolute;inset:0;z-index:1}
.prof-card .actions{z-index:3}
.prof-card .btn-profile{background:#3b82f6;color:#fff;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;text-decoration:none;border:0;box-shadow:0 4px 14px rgba(0,0,0,.3)}

/* soft cards, no ugly frames */
.prof-card{border:none!important;outline:none!important}
.prof-card img.cover,.prof-card img{border:none!important;outline:none!important;box-shadow:none!important;border-radius:0!important}
.prof-card .name{border:none!important;background:transparent!important}

/* Received gifts on public profiles */
.pp-gifts-panel{margin:18px 0 20px;min-width:0}
.pp-gifts-empty{display:flex;align-items:center;gap:14px;padding:20px;border-radius:18px;background:rgba(148,163,184,.06);border:1px dashed rgba(148,163,184,.2)}
.pp-gifts-empty>span{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:linear-gradient(135deg,rgba(124,58,237,.22),rgba(236,72,153,.18));font-size:28px}
.pp-gifts-empty strong{display:block;color:var(--text,#f8fafc);font-size:15px}.pp-gifts-empty p{margin:4px 0 0;color:var(--muted,#94a3b8);font-size:13px;line-height:1.5}
.pp-gifts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px}
.pp-gift-card{position:relative;display:flex;align-items:center;gap:11px;min-width:0;padding:12px;border-radius:17px;background:linear-gradient(145deg,rgba(30,41,59,.72),rgba(15,23,42,.72));border:1px solid rgba(167,139,250,.16);box-shadow:0 8px 24px rgba(0,0,0,.12);transition:transform .18s ease,border-color .18s ease}
.pp-gift-card:hover{transform:translateY(-2px);border-color:rgba(192,132,252,.42)}
.pp-gift-art{flex:0 0 52px;width:52px;height:52px;display:grid;place-items:center;overflow:hidden;border-radius:15px;background:radial-gradient(circle at 30% 20%,rgba(236,72,153,.22),rgba(99,102,241,.14) 65%,rgba(15,23,42,.5));font-size:29px}
.pp-gift-art img{display:block;width:100%;height:100%;object-fit:contain;padding:5px}
.pp-gift-info{display:grid;gap:4px;min-width:0}.pp-gift-info strong{font-size:13px;line-height:1.25;color:var(--text,#f8fafc);overflow-wrap:anywhere}.pp-gift-info span,.pp-gift-info small{font-size:11px;color:var(--muted,#94a3b8)}
.pp-gift-count{position:absolute;right:8px;top:8px;font-size:10px;color:#fff;background:linear-gradient(120deg,#7c3aed,#db2777);border-radius:999px;padding:3px 6px}
@media(max-width:520px){.pp-gifts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pp-gift-card{padding:9px;gap:8px}.pp-gift-art{width:42px;height:42px;flex-basis:42px;font-size:24px}.pp-gift-info strong{font-size:12px}}
