
/* Unified secondary pages: same shell, spacing, cards and header language as the main app. */
.secondary-page{padding-top:34px;padding-bottom:80px}
.secondary-title{padding:8px 0 26px}
.secondary-title small,.eyebrow{letter-spacing:2px;color:var(--accent);font-weight:900;font-size:10px}
.secondary-title h1{font:900 clamp(36px,4.2vw,58px)/1 Outfit;margin:8px 0}
.secondary-title p{max-width:720px;color:var(--muted);font-size:13px;line-height:1.7;margin:0}
.account-settings-grid{align-items:start}
.settings-card{box-shadow:var(--shadow)}
.settings-card>small.eyebrow{display:block}
.settings-card h3{font-size:22px;margin:8px 0 7px}
.settings-card p{color:var(--muted);font-size:12.5px;line-height:1.65}
.settings-card .hint{margin:0 0 20px}
.profile-photo{margin:8px 0 22px}
.profile-photo>img{width:82px;height:82px;border-radius:50%;object-fit:cover;background:#181b25;border:2px solid #303546}
.card input:not([type=file]),.settings-card input:not([type=file]),.settings-card textarea{box-sizing:border-box;width:100%}
.acct-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}
.acct-actions button{border:0;cursor:pointer}
#msg,#contactMsg{min-height:1em;color:#9be5b5;font-size:12px;line-height:1.5}
.mini-links{display:grid;gap:8px;margin-top:16px}
.mini-links a{background:#181b25;border:1px solid #292e3b;border-radius:10px;padding:10px 12px;color:#fff;font-size:11px;font-weight:800}
.mini-links a:hover{border-color:#4b4266}
.block-btn{width:100%;box-sizing:border-box}
.unified-contact-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:22px}
.contact-card h3{word-break:break-word}
.contact-card .ghost{margin-top:6px}
.unified-contact-layout{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);align-items:start}
.contact-form{display:grid;gap:0}
.contact-form h3{font:800 25px Outfit;margin:8px 0 6px}
.contact-form label{display:block;color:var(--muted);font-size:12px;font-weight:700;margin:13px 0 6px}
.contact-form input,.contact-form textarea{background:#0b0d13;border:1px solid var(--line);color:#fff;border-radius:10px;padding:12px;font:500 13px Inter;outline:0}
.contact-form input:focus,.contact-form textarea:focus{border-color:#4b4266}
.contact-form textarea{min-height:150px;resize:vertical}
.contact-form button{margin-top:16px;border:0;cursor:pointer}
.contact-help{display:grid;gap:16px}
.contact-help .settings-card{height:max-content}
.contact-help p{margin:8px 0}
.contact-help p b{color:#fff}
.public-page .stats-row{margin-bottom:34px}
.public-page .home-contact-card{margin-top:28px}
.public-page .cat-card{background:var(--panel);border-color:var(--line)}
.public-page .cat-card img{height:90px;object-fit:contain;background:#171a23}
.site-header .shared-search-results{z-index:300}
.site-header .search.search-open{position:relative}
.shared-search-results{position:absolute;left:0;right:0;top:calc(100% + 8px);max-height:min(62vh,520px);overflow:auto;background:rgba(12,15,23,.985);border:1px solid #2b3040;border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.5);padding:7px}
.shared-search-results[hidden]{display:none}
.shared-search-result{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:8px;border:0;border-radius:11px;background:transparent;color:#fff;text-align:left;cursor:pointer}
.shared-search-result:hover{background:#191e2a}
.shared-search-logo{width:42px;height:42px;border-radius:10px;background:#181c27;border:1px solid #292f3e;display:grid;place-items:center;overflow:hidden;color:#bda9ff;font-size:10px;font-weight:900}
.shared-search-logo img{width:100%;height:100%;object-fit:contain}
.shared-search-copy{min-width:0;display:grid;gap:3px}
.shared-search-copy b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shared-search-copy small{font-size:9px;color:#858da0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shared-search-empty,.notification-empty{padding:22px 14px;text-align:center;color:#858c9e;font-size:11px}
@media(max-width:950px){
  .secondary-page{padding-top:22px}
  .unified-contact-grid{grid-template-columns:1fr}
  .unified-contact-layout{grid-template-columns:1fr}
  .secondary-title{padding-top:4px}
}
@media(max-width:700px){
  .secondary-page{padding:18px 14px 65px}
  .secondary-title h1{font-size:34px}
  .secondary-title p{font-size:12px}
  .account-settings-grid{grid-template-columns:1fr}
  .settings-card{padding:18px}
  .profile-photo>img{width:70px;height:70px}
}
@media(max-width:420px){
  .secondary-page{padding:14px 10px 55px}
  .secondary-title h1{font-size:30px}
  .contact-form textarea{min-height:125px}
}
