/* Polacy Preston • 26.10.2026 • safe visibility and unified contemporary UI */
[hidden], [data-pp-admin-only][hidden], #ppProfileAdminTools[hidden], #pp-my-account[hidden]{display:none!important}
html{scroll-behavior:smooth}body.pp-final-modern{--pp-ink:#14273e;--pp-deep:#091b30;--pp-accent:#df3156;--pp-primary:#185c83;--pp-line:#dce7f1;--pp-soft:#f4f7fc}
body.pp-final-modern :is(button,a,input,select,textarea):focus-visible{outline:3px solid #5dacee!important;outline-offset:3px}
body.pp-final-modern :is(.panel,.profile-card,.pp-widget,.pp-ads-card,.pp-post-card,.pp-ads-browse,.pp-social-main){box-shadow:0 16px 48px rgba(12,35,63,.07);border-color:#e0e9f2}
body.pp-final-modern :is(.pp-ads-card,.pp-post-card,.pp-widget){transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
@media(hover:hover){body.pp-final-modern :is(.pp-ads-card,.pp-post-card,.pp-widget):hover{box-shadow:0 22px 55px rgba(16,45,79,.13)}}
.pp-feature-switch{display:flex;gap:9px;flex-wrap:wrap;align-items:center;max-width:1250px;margin:12px auto 22px;padding:0 18px;font:700 13px/1.2 system-ui,sans-serif}
.pp-feature-switch a{display:inline-flex;gap:7px;align-items:center;min-height:42px;padding:10px 16px;border:1px solid #dbe5ef;background:#fff;border-radius:13px;color:#264660;text-decoration:none;box-shadow:0 6px 24px #091b3010}
.pp-feature-switch a[aria-current="page"]{background:#102d4b;border-color:#102d4b;color:#fff}
.pp-feature-switch a:hover{border-color:#e44265;transform:translateY(-1px)}
/* Profile: no anonymous flash; private controls are hidden before any async requests. */
body[data-page="profile"] .pp-admin-entry:not(.pp-admin-verified),body[data-page="profile"] #ppProfileAdminTools:not(.pp-admin-verified){display:none!important}
body[data-page="profile"] .profile-card{border-radius:26px;overflow:hidden;background:#fff;border:1px solid #dce7f1;box-shadow:0 25px 55px #11355416}
body[data-page="profile"] .profile-card .cover{min-height:180px;background:linear-gradient(125deg,#0d223e,#174b6e 59%,#2b8b97);border-radius:22px 22px 0 0;position:relative;overflow:hidden}
body[data-page="profile"] .profile-card .cover:after{content:"";position:absolute;inset:auto -10% -70px 30%;height:130px;background:#ffffff12;filter:blur(30px);transform:rotate(-10deg);pointer-events:none}
body[data-page="profile"] .profile-card .identity{padding:16px 20px 24px;align-items:center;gap:15px}
body[data-page="profile"] .profile-card .avatar{border:5px solid #fff;box-shadow:0 14px 28px #0a25442b;width:96px;height:96px;border-radius:26px;overflow:hidden}
body[data-page="profile"] .profile-card .who strong{font-size:clamp(19px,3vw,29px);letter-spacing:-.03em}
body[data-page="profile"] .profile-card .tabs a{border-radius:11px;font-weight:700}
body[data-page="profile"] #profileContent .panel{border-radius:20px;border:1px solid #e0e8f2;background:#fff;box-shadow:0 12px 30px #0927490b}
body[data-page="profile"] #ppProfileAdminTools{border-radius:20px}
.pp-auth-guest-banner{padding:18px;border:1px solid #d8e5f1;border-radius:20px;background:linear-gradient(135deg,#fff,#f0f7ff)}
@media(max-width:700px){.pp-feature-switch{gap:7px;margin-block:9px 18px;padding:0 12px}.pp-feature-switch a{font-size:12px;padding:9px 10px}body[data-page="profile"] .profile-card .cover{min-height:145px}body[data-page="profile"] .profile-card .identity{padding:12px 14px 18px}body[data-page="profile"] .profile-card .avatar{width:76px;height:76px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

.pp-market-form-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pp-market-photo-input input[type=file]{width:100%;border:1px dashed #9bbad1;padding:12px;border-radius:13px;background:#f5faff}.pp-ad-price{display:block;font-size:21px;letter-spacing:-.035em;color:#d72f56;font-weight:950;margin:8px 0 4px}.pp-ads-photo{width:100%;height:190px;object-fit:cover;display:block;border-radius:12px}@media(max-width:550px){.pp-market-form-fields{grid-template-columns:1fr}}

body[data-page="profile"]:not(.pp-profile-verified) .profile-card { display:none!important }
