[hidden] { display: none !important; }
body.layout-cards.has-private-support .cards-bottom { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#privateSupportCard { display:flex; flex-direction:column; min-height:220px; height:100%; border:1px solid var(--border-color); border-radius:10px; overflow:hidden; background:var(--bg-primary); }
#privateSupportTitle { border:0; padding:12px; background:#ff982e; color:#161616; font:inherit; font-weight:800; cursor:pointer; width:100%; }
#privateSupportTitle:disabled { cursor:default; opacity:1; }
#privateSupportList { overflow:auto; flex:1; padding:4px; }
.ps-donor { border:1px solid var(--border-color); border-radius:8px; padding:8px; margin-bottom:4px; }
.ps-person { display:flex; align-items:center; gap:8px; font-weight:700; }
.ps-avatar { width:40px; height:40px; object-fit:cover; border-radius:7px; }
.ps-gifts { display:flex; gap:6px; flex-wrap:wrap; align-items:center; margin-top:6px; font-size:12px; }
.ps-gifts img { width:28px; height:28px; object-fit:contain; }
.ps-total { color:#00a7bb; margin-inline-start:auto; white-space:nowrap; }
.ps-empty { padding:24px 12px; text-align:center; color:var(--text-dim); }
.ps-dialog { position:fixed; inset:50% auto auto 50%; transform:translate(-50%,-50%); margin:0; width:min(620px,94vw); max-height:88vh; overflow:auto; border:1px solid var(--border-color); border-radius:16px; background:var(--bg-primary,#fff); color:var(--text-primary,#222); padding:20px; direction:rtl; box-shadow:0 12px 60px #0006; }
.ps-dialog::backdrop { background:#0008; }
.ps-dialog header { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:16px; font-weight:800; }
.ps-dialog button,.ps-dialog select,.ps-dialog input { font:inherit; }
.ps-dialog select,.ps-dialog input[type=number] { width:100%; padding:10px; border-radius:8px; border:1px solid var(--border-color,#bbb); background:var(--bg-primary,#fff); color:inherit; margin:8px 0 16px; }
.ps-dialog button { padding:8px 14px; border:0; border-radius:8px; cursor:pointer; }
.ps-primary { background:#ff982e; color:#161616; font-weight:700; }
.ps-dialog p { color:var(--text-dim); font-size:13px; line-height:1.8; }
.ps-dialog footer { display:flex; gap:8px; margin-top:16px; }
.ps-history { overflow:auto; max-height:260px; margin-top:12px; }
.ps-history table { width:100%; border-collapse:collapse; font-size:12px; }
.ps-history td,.ps-history th { padding:7px; border-bottom:1px solid var(--border-color,#ddd); text-align:start; }
#privateSupportStatus { font-size:13px; padding-top:12px; }
#privateSupportManual img { display:block; width:70px; height:70px; object-fit:contain; margin:auto; }
#privateSupportCatalogNote { padding:8px 20px; background:#ff982e; color:#161616; font-weight:700; }
#giftsModal.ps-catalog #liveGiftsBalance,#giftsModal.ps-catalog #liveGiftTabOwned { display:none !important; }
body:not(.layout-cards) #cardsColSupport { margin:8px; width:min(360px,100%); height:460px; }
@media(max-width:900px) { body.layout-cards.has-private-support .cards-bottom { grid-template-columns:repeat(2,minmax(0,1fr)); } }
