/* JoyJoy V476 — compact opaque Shieldy Tools customization and local banner uploads. */
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"]{
  --shieldy-tools-surface:#ffffff;
  --shieldy-tools-soft:#eef6fc;
  --shieldy-tools-input:#edf5fb;
  --shieldy-tools-border:#c5d9ea;
}
html[data-theme="dark"] body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"]{
  --shieldy-tools-surface:#0d2135;
  --shieldy-tools-soft:#14304a;
  --shieldy-tools-input:#183650;
  --shieldy-tools-border:#315673;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] :is(
  .flexible-feature-card,
  .feature-settings-body,
  .shieldy-message-timer-editor,
  .shieldy-message-timer-preview,
  .timer-subfeature-card,
  .timer-subfeature-body,
  .shieldy-poll-card,
  .shieldy-poll-editor,
  .shieldy-poll-side,
  .shieldy-poll-customization,
  .shieldy-poll-stats,
  .shieldy-poll-archive
){
  background-color:var(--shieldy-tools-surface)!important;
  background-image:none!important;
  opacity:1!important;
  filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] :is(
  .flexible-feature-card>.card-title,
  .timer-subfeature-head,
  .timer-next-run,
  .timer-preview-meta>div,
  .shieldy-poll-archive-item
){
  background-color:var(--shieldy-tools-soft)!important;
  background-image:none!important;
  opacity:1!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] :is(input:not([type="color"]),select,textarea,.timer-datepicker-trigger){
  background-color:var(--shieldy-tools-input)!important;
  border-color:var(--shieldy-tools-border)!important;
  opacity:1!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] :is(.timer-preview-embed,.timer-preview-buttons span){
  background-color:var(--shieldy-tools-surface)!important;
  background-image:none!important;
}

/* Compact timer customization: no forced label heights or empty grid rows. */
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-layout{
  grid-template-columns:minmax(0,1.34fr) minmax(300px,.66fr)!important;
  gap:14px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-editor{
  gap:10px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-subfeature-head{
  min-height:0!important;
  padding:11px 12px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-subfeature-body{
  gap:10px!important;
  padding:12px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-card .custom-delivery-field>label,
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-card .custom-delivery-field>.field-hint{
  min-height:0!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-card .timer-message-field textarea{
  min-height:86px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-customization-grid-v476{
  grid-template-columns:minmax(150px,.72fr) minmax(220px,1.28fr)!important;
  gap:10px!important;
  align-items:start!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-customization-grid-v476 .timer-full-row{
  grid-column:1/-1!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-customization-grid-v476 textarea{
  min-height:70px!important;
  resize:vertical!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-embed-grid-v476{
  grid-template-columns:1fr!important;
}

/* Compact banner uploader inside customization, never in preview column. */
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-banner-field-v476{
  display:grid!important;
  gap:6px!important;
  min-width:0!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-banner-control-v476{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  gap:8px!important;
  align-items:center!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-banner-control-v476 :is(input,button){
  min-height:42px!important;
  margin:0!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-banner-control-v476 button{
  white-space:nowrap!important;
  padding-inline:13px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-banner-status-v476{
  min-height:0!important;
  color:var(--account-muted,#6e8199)!important;
  font:700 11px/1.35 Nunito,sans-serif!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-banner-status-v476.is-success{color:#18864b!important}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-banner-status-v476.is-error{color:#d1242f!important}

/* Poll customization stays compact and opaque. */
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-poll-customization{
  margin-top:10px!important;
  padding:12px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-poll-customization-head{
  margin-bottom:10px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] [data-poll-customization-controls]{
  gap:10px!important;
  align-items:start!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] [data-poll-customization-controls] .shieldy-banner-field-v476{
  grid-column:1/-1!important;
}

@media(max-width:1100px){
  body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-layout{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:760px){
  body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-customization-grid-v476,
  body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-banner-control-v476{
    grid-template-columns:1fr!important;
  }
  body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-banner-control-v476 button{
    width:100%!important;
  }
}
