/* GrowtopiaTools V75 — unified admin dropdowns, cycling artwork, and profile header. */
body[data-theme="glass"] select,
body[data-theme="glass"] select.dropdown,
body[data-theme="glass"] select.field,
body[data-theme="glass"] .settings-form select,
body[data-theme="glass"] #modal-root select{
  color-scheme:dark!important;
  color:#eff7ff!important;
  background-color:#162c49!important;
  border-color:rgba(180,215,255,.30)!important;
}
body[data-theme="glass"] select option,
body[data-theme="glass"] select optgroup,
body[data-theme="glass"] select.dropdown option,
body[data-theme="glass"] #modal-root select option{
  color:#edf6ff!important;
  background:#162b48!important;
  font-weight:550;
}
body[data-theme="glass"] select optgroup{font-weight:760;color:#afcff4!important;}
body[data-theme="glass"] :is(.gtt70-picker) {position:relative;display:block;max-width:100%;min-width:0;}
body[data-theme="glass"] .gtt70-picker .gtt70-trigger{
  width:100%;font-size:13px;min-height:48px;
  color:#e9f5ff;background:linear-gradient(145deg,rgba(90,140,210,.24),rgba(22,44,78,.75));
  border:1px solid rgba(178,217,255,.35);border-radius:11px;cursor:pointer;
}
body[data-theme="glass"] .gtt70-picker .gtt70-current-icon{min-width:0;width:auto;height:30px;border:0;background:transparent;}
body[data-theme="glass"] .gtt70-picker .gtt70-current-icon:empty{display:none;}
body[data-theme="glass"] .gtt70-picker .gtt70-current-icon img{width:30px;height:30px;object-fit:contain;image-rendering:pixelated;}
body[data-theme="glass"] .gtt70-popover.gtt75-portal{
  position:fixed!important;right:auto!important;bottom:auto!important;
  z-index:2147483640!important;display:flex;flex-direction:column;box-sizing:border-box;
  overflow:hidden;min-height:0;isolation:isolate;
  background:linear-gradient(160deg,rgba(31,55,91,.99),rgba(10,24,46,.997))!important;
  border:1px solid rgba(182,221,255,.52);border-radius:13px;
  color:#eff7ff;box-shadow:0 25px 60px rgba(0,7,19,.74),inset 0 1px rgba(255,255,255,.18);
}
body[data-theme="glass"] .gtt75-portal[hidden]{display:none!important;}
body[data-theme="glass"] .gtt75-portal .gtt70-options{min-height:0;flex:1 1 auto;overflow-y:auto!important;}
body[data-theme="glass"] .gtt75-portal .gtt70-filter-label{flex:0 0 auto;margin-bottom:4px;}
body[data-theme="glass"] .gtt75-portal .gtt70-option{color:#dcecff;min-height:39px;}
body[data-theme="glass"] .gtt75-portal .gtt70-option[aria-selected=true]{background:rgba(124,187,255,.27);}
body[data-theme="glass"] .gtt75-portal .gtt70-option:hover{background:rgba(125,181,248,.18);}
body[data-theme="glass"] .gtt75-portal .gtt75-item-icon{width:31px;height:31px;min-width:31px;object-fit:contain;image-rendering:pixelated;}

/* Completed cycle: give artwork actual breathing room, including 6+ DC layout. */
body[data-theme="glass"] #content .cycle-list .cycle-completed{
  min-height:50px;gap:9px;
  padding:3px 5px;border-radius:10px;
}
body[data-theme="glass"] #content .cycle-list .cycle-completed .v3-icon-capsule.v3-smallcap{
  flex:0 0 48px;width:48px;height:48px;min-width:48px;
  border-radius:12px;
}
body[data-theme="glass"] #content .cycle-list .cycle-completed .v3-icon-capsule.v3-smallcap img{
  width:42px;height:42px;max-width:42px;max-height:42px;object-fit:contain;image-rendering:pixelated;
}
body[data-theme="glass"] #content .cycle-list .cycle-completed .v50-completed-name{
  font-size:13px;line-height:1.3;font-weight:780;
}
body[data-theme="glass"] #content .cycle-list .cycle-completed .v50-completed-mark{
  flex:0 0 19px;width:19px;height:19px;
}
body[data-theme="glass"] #content .cycle-list .cycle-completed .v50-completed-mark img{
  width:19px;height:19px;
}
body[data-theme="glass"] #content .cycle-list.cycle-multi .cycle-completed{gap:7px;}
body[data-theme="glass"] #content .cycle-list.cycle-multi .v50-completed-name{font-size:12px;}
@media(max-width:1120px){
 body[data-theme="glass"] #content .cycle-list.cycle-multi .cycle-completed .v3-icon-capsule.v3-smallcap{flex-basis:43px;width:43px;height:43px;min-width:43px;}
 body[data-theme="glass"] #content .cycle-list.cycle-multi .cycle-completed .v3-icon-capsule.v3-smallcap img{width:37px;height:37px;}
 body[data-theme="glass"] #content .cycle-list.cycle-multi .v50-completed-name{font-size:12.2px;}
}
@media(max-width:620px){
 body[data-theme="glass"] #content .cycle-list .cycle-completed{min-height:45px;}
 body[data-theme="glass"] #content .cycle-list .cycle-completed .v3-icon-capsule.v3-smallcap{flex-basis:37px;width:37px;height:37px;min-width:37px;}
 body[data-theme="glass"] #content .cycle-list .cycle-completed .v3-icon-capsule.v3-smallcap img{width:33px;height:33px;}
}

/* Profile: stronger visual hierarchy without wasting space on a giant empty header. */
body[data-theme="glass"] #modal-root .v5-profile-dialog .v60-profile-head .v5-profile-emblem{
  width:72px;height:72px;min-width:72px;flex-basis:72px;
  border-radius:17px;border:1px solid rgba(184,220,255,.45);
  background:linear-gradient(150deg,rgba(148,202,254,.21),rgba(28,57,106,.39));
  box-shadow:inset 0 1px rgba(255,255,255,.26),0 10px 26px rgba(7,21,44,.18);
}
body[data-theme="glass"] #modal-root .v5-profile-dialog .v60-profile-head .v5-profile-emblem img{
  width:62px;height:62px;max-width:62px;max-height:62px;object-fit:contain;image-rendering:pixelated;
}
body[data-theme="glass"] #modal-root .v5-profile-dialog .v60-profile-head .v5-profile-emblem.v63-special-emblem img.v63-owner-head{
  width:64px;height:64px;max-width:64px;max-height:64px;
}
body[data-theme="glass"] #modal-root .v60-profile-head .title-icon{gap:14px;align-items:center;}
body[data-theme="glass"] #modal-root .v60-profile-head .title-icon h2{font-size:clamp(23px,2.25vw,29px);letter-spacing:-.65px;}
body[data-theme="glass"] #modal-root .v5-profile-dialog .dialog-head.v60-profile-head{
  min-height:132px;padding-top:16px;padding-bottom:16px;
}
@media(max-width:930px){
 body[data-theme="glass"] #modal-root .v5-profile-dialog .v60-profile-head .v5-profile-emblem{width:64px;height:64px;min-width:64px;flex-basis:64px;}
 body[data-theme="glass"] #modal-root .v5-profile-dialog .v60-profile-head .v5-profile-emblem img{width:55px;height:55px;max-width:55px;max-height:55px;}
 body[data-theme="glass"] #modal-root .v5-profile-dialog .v60-profile-head .v5-profile-emblem.v63-special-emblem img.v63-owner-head{width:56px;height:56px;max-width:56px;max-height:56px;}
}

/* Keep wider desktop profile identity proportional to the larger portrait. */
@media(min-width:1131px){
 body[data-theme="glass"] #modal-root .v5-profile-dialog .dialog-head.v60-profile-head{
  grid-template-columns:minmax(365px,380px) minmax(0,1fr) 38px!important;
 }
}
@media(min-width:931px) and (max-width:1130px){
 body[data-theme="glass"] #modal-root .v5-profile-dialog .dialog-head.v60-profile-head{
  grid-template-columns:minmax(325px,352px) minmax(0,1fr) 36px!important;
 }
}
