/* v128 · شیت مدیریت جمع‌وجور (شبکهٔ چهارستونه) + کاشی «تم از گالری» */

/* ═══ شیت جمع‌وجور ═══ */
.ms120-card.g128{ border-radius:24px }
.ms120-card.g128 .ms120-head{ padding:12px 14px 11px; gap:10px }
.ms120-card.g128 .ms120-av{ width:46px; height:46px }
.ms120-card.g128 .ms120-ht b{ font-size:15px }
.ms120-card.g128 .ms120-chips{ margin-top:2px }
.ms120-card.g128 .ms120-list{ display:grid; grid-template-columns:repeat(4,1fr); gap:4px 2px; padding:12px 8px 10px }
.ms120-card.g128 .ms120-item{ flex-direction:column; justify-content:flex-start; gap:6px; padding:8px 2px 6px; border:0 !important;
  border-radius:16px; background:transparent; min-width:0 }
.ms120-card.g128 .ms120-item:active{ background:#FFF7E6; transform:scale(.96) }
.ms120-card.g128 .ms120-ic{ width:46px; height:46px; border-radius:16px }
.ms120-card.g128 .ms120-ic svg{ width:22px; height:22px }
.ms120-card.g128 .ms120-tx{ flex:none; width:100%; align-items:center }
.ms120-card.g128 .ms120-tx b{ font-size:11px; font-weight:800; line-height:1.3; text-align:center; color:#44403C;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; word-break:break-word }
.ms120-card.g128 .ms120-tx small,
.ms120-card.g128 .ms120-chev{ display:none }
/* کارهای خطرناک: برچسب قرمز */
.ms120-card.g128 .ms120-item[data-a="kick"] .ms120-tx b,
.ms120-card.g128 .ms120-item[data-a="rbl"] .ms120-tx b{ color:#E11D48 }
.ms120.prof .ms120-card.g128{ max-height:none; overflow:visible }
.ms120:has(.g128) .ms120-cancel{ padding:12px; margin-top:6px; font-size:15px }
@media (max-width:340px){ .ms120-card.g128 .ms120-ic{ width:42px; height:42px; border-radius:14px } }

/* ═══ کاشی «از گالری» در گالری تم ═══ */
#themeG53 .tg128-up{ background:linear-gradient(160deg,#F5F3FF,#FDF2F8) center/cover no-repeat; border:2px dashed #C4B5FD;
  align-items:center; justify-content:center; flex-direction:column; gap:6px; padding:0 }
#themeG53 .tg128-up.on{ border:2.5px solid #f43f5e }
#themeG53 .tg128-up .ic{ width:40px; height:40px; border-radius:14px; display:grid; place-items:center; color:#fff;
  background:linear-gradient(135deg,#8B5CF6,#EC4899); box-shadow:0 6px 16px rgba(139,92,246,.4) }
#themeG53 .tg128-up .ic svg{ width:22px; height:22px }
#themeG53 .tg128-up .nm{ color:#6D28D9; text-shadow:none; font-size:10px }
#themeG53 .tg128-up.has{ border-style:solid; border-color:transparent }
#themeG53 .tg128-up.has .nm{ color:#fff; text-shadow:0 1px 4px rgba(0,0,0,.7) }
#themeG53 .tg128-up.has .ic{ width:32px; height:32px; border-radius:11px }
#themeG53 .tg128-up .sp{ display:none; position:absolute; inset:0; margin:auto; width:30px; height:30px; border-radius:50%;
  border:3px solid rgba(255,255,255,.5); border-top-color:#8B5CF6; animation:tg128spin .8s linear infinite }
#themeG53 .tg128-up.busy .sp{ display:block }
#themeG53 .tg128-up.busy > :not(.sp){ opacity:.3 }
@keyframes tg128spin{ to{ transform:rotate(360deg) } }
