/* آرتم نیوز — پروفایل، اعلان‌ها، کیف پول */

.profile-page{overflow:hidden;margin-bottom:18px}
.banner{height:170px;background:#f1f2f4}
.banner-img{width:100%;height:100%;object-fit:cover;display:block}
.banner-default{background:linear-gradient(120deg,var(--accent) 0%,#7b1e63 55%,#2b1029 100%)}
.profile-top{display:flex;align-items:flex-end;justify-content:space-between;padding:0 22px;margin-top:-44px}
.profile-avatar{width:110px;height:110px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:var(--shadow);background:#fff}
.profile-btns{display:flex;gap:10px;padding-bottom:8px;align-items:center}
.profile-info{padding:10px 22px 20px}
.profile-name{display:flex;align-items:center;gap:6px;font-size:21px;margin:0 0 2px}
.profile-info .handle{color:var(--text-2);font-size:14px;direction:ltr;text-align:right}
.profile-bio{margin:12px 0 0;font-size:14.5px;color:#374151}
.profile-stats{display:flex;gap:26px;margin-top:14px;font-size:13px}
.profile-stats b{font-size:15px}
.profile-stats span{color:var(--text-2)}
.profile-edit{margin:0 22px 20px;border:1px dashed var(--line);border-radius:14px;padding:18px;background:#fafafa}

/* ورود/ثبت‌نام — کارت بزرگ یکسان */
.auth-wrap{max-width:520px;margin:36px auto 90px;padding:0 16px}
.auth-card{padding:34px 32px}
.auth-logo{display:flex;justify-content:center;margin-bottom:22px}
.auth-tabs{display:flex;gap:6px;background:var(--bg);border-radius:999px;padding:5px;margin-bottom:24px}
.atab{flex:1;border:none;background:transparent;cursor:pointer;padding:11px;border-radius:999px;font-size:15px;font-weight:800;color:var(--text-2);transition:.2s}
.atab.active{background:var(--accent);color:#fff}
.atab-pane{display:none}
.atab-pane.active{display:block}

.notif-card{padding:0;overflow:hidden;margin-bottom:18px}
.notif-head{padding:16px 20px;border-bottom:1px solid var(--line)}
.notif-head h1{display:flex;align-items:center;gap:8px;font-size:18px;margin:0}
.notif-row{display:flex;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid var(--line);transition:.15s}
.notif-row:hover{background:var(--accent-soft)}
.notif-row:last-child{border-bottom:none}
.notif-row .avatar{width:42px;height:42px;border-radius:50%;object-fit:cover}
.notif-icon{color:var(--accent);flex:0 0 auto}
.notif-body{flex:1;min-width:0;font-size:14px}
.notif-text{color:#374151}
.notif-post{display:block;color:var(--text-2);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notif-time{color:#9ca3af;font-size:12px;white-space:nowrap}

.wallet-card{padding:24px 26px}
.wallet-head h1{display:flex;align-items:center;gap:8px;font-size:19px;margin:0 0 18px}
.wallet-balance{
  background:linear-gradient(135deg,#1e1b4b 0%,#312e81 60%,#4c1d95 100%);
  border-radius:18px;padding:28px 24px;text-align:center;color:#fff;margin-bottom:18px;
}
.wb-num{font-size:38px;font-weight:900}
.wb-label{font-size:13px;opacity:.8;margin-top:4px}
.wb-value{font-size:14px;font-weight:700;margin-top:10px;background:rgba(255,255,255,.12);display:inline-block;padding:5px 16px;border-radius:999px}
.wallet-rows{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.wallet-row{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;border-bottom:1px solid var(--line);font-size:14px}
.wallet-row:last-child{border-bottom:none}
.wallet-row span{display:flex;align-items:center;gap:9px;color:#374151}
.wallet-note{margin-top:14px;font-size:13px;background:var(--accent-soft);border-radius:12px;padding:12px 16px;color:var(--accent-dark)}

@media (max-width:768px){
  .banner{height:120px}
  .profile-avatar{width:88px;height:88px}
  .profile-top{margin-top:-34px;padding:0 14px}
  .profile-info{padding:10px 14px 16px}
  .profile-name{font-size:18px}
  .profile-stats{gap:18px}
  .profile-btns{flex-direction:column;gap:6px}
  .notif-row{padding:12px 14px}
  .wallet-card{padding:18px 16px}
  .auth-wrap{margin:16px auto 100px}
  .auth-card{padding:26px 18px}
}