
/* GLOBAL READABILITY V6 */

html{
 font-size:16px!important;
}

body{
 font-size:16px!important;
 line-height:1.55;
}

#app p,
#app label,
#app dt,
#app dd,
#app td,
#app th,
#app .muted{
 font-size:15px!important;
 line-height:1.55;
}

#app small{
 font-size:13px!important;
 line-height:1.5;
}

#app input:not([type="checkbox"]):not([type="range"]),
#app select,
#app textarea{
 font-size:15px!important;
}

#app button,
#app .btn{
 font-size:15px!important;
}

#app h2{
 font-size:clamp(23px,2.1vw,30px)!important;
}

#app h3{
 font-size:clamp(17px,1.4vw,21px)!important;
}

/* SIDEBAR */

.sidebar .nav-title{
 font-size:12px!important;
 letter-spacing:1.5px!important;
 margin-bottom:8px;
}

.sidebar a[href^="#"]{
 min-height:43px!important;
 padding:10px 12px!important;
 font-size:15px!important;
 font-weight:600!important;
 gap:11px!important;
 line-height:1.35;
}

.sidebar a svg{
 width:21px!important;
 height:21px!important;
 flex-shrink:0;
}

.sidebar a span{
 font-size:15px!important;
}

.sidebar .nav-group{
 padding-top:10px;
 padding-bottom:10px;
}

/* HEADER */

@media(min-width:761px){

 header.top #balance:not([hidden]),
 header.top #balance-toggle:not([hidden]),
 header.top #giveaway-header:not([hidden]){
  height:44px!important;
  min-height:44px!important;
 }

 header.top #balance:not([hidden]){
  font-size:15px!important;
 }

 header.top #balance::before{
  font-size:13px!important;
 }

 header.top #giveaway-header:not([hidden]){
  font-size:14px!important;
  padding:0 20px!important;
 }

 header.top #notification-link,
 header.top #account-link:has(.nav-avatar){
  width:44px!important;
  height:44px!important;
  min-height:44px!important;
 }

 header.top #promo-header-button,
 header.top #ticket-link{
  height:40px!important;
  min-height:40px!important;
  font-size:14px!important;
 }

}

/* ADMIN CARDS */

.system-admin-grid{
 grid-template-columns:
 repeat(auto-fit,minmax(min(100%,240px),1fr))!important;
 gap:18px!important;
}

.system-admin-tile{
 padding:24px!important;
 min-height:180px!important;
}

.system-admin-tile strong{
 font-size:18px!important;
}

.system-admin-tile small{
 font-size:14px!important;
}

.system-admin-icon{
 width:50px;
 height:50px;
}

.system-admin-icon svg{
 width:27px;
 height:27px;
}

/* ADMIN WINDOW */

dialog.system-admin-dialog{
 width:min(660px,calc(100% - 24px))!important;
 max-height:90dvh!important;
 border-radius:16px!important;
}

.system-admin-dialog>header{
 padding:24px 28px!important;
}

.system-admin-dialog h3{
 font-size:24px!important;
}

.system-admin-body{
 padding:28px!important;
}

.system-admin-body form{
 gap:19px!important;
}

.system-admin-body label{
 font-size:15px!important;
 font-weight:500;
}

.system-admin-body input,
.system-admin-body select{
 font-size:16px!important;
 min-height:48px!important;
}

.system-admin-body form button{
 font-size:15px!important;
}

/* SEARCHABLE PLAYER DROPDOWN */

.system-player-picker{
 min-width:0;
}

.system-player-picker>label{
 display:block;
 margin-bottom:8px;
}

.system-player-picker details{
 border:1px solid #674054;
 border-radius:9px;
 background:#171319;
}

.system-player-picker summary{
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:15px;
 padding:14px 16px;
 min-height:48px;
 box-sizing:border-box;
 font-size:15px;
 cursor:pointer;
 list-style:none;
}

.system-player-picker summary::-webkit-details-marker{
 display:none;
}

.system-player-picker details[open]{
 border-color:#e75090;
}

.system-player-picker details[open] summary{
 border-bottom:1px solid #553347;
}

.system-player-dropdown{
 padding:12px;
}

.system-player-dropdown input{
 margin:0 0 10px!important;
 width:100%;
}

.system-player-dropdown [data-player-list]{
 max-height:240px;
 overflow-y:auto;
 padding:3px;
 color:#cab8c4;
 font-size:14px;
}

.system-player-option{
 display:block!important;
 width:100%!important;
 text-align:left!important;
 padding:11px 14px!important;
 min-height:44px!important;
 margin:3px 0!important;
 color:#eee!important;
 background:transparent!important;
 border:1px solid transparent!important;
 border-radius:7px!important;
 box-shadow:none!important;
}

.system-player-option:hover,
.system-player-option:focus-visible{
 background:#472538!important;
 border-color:#7c3d5e!important;
 color:#fff!important;
}

.system-player-picker [hidden]{
 display:none!important;
}

@media(max-width:600px){

 #app p,
 #app label{
  font-size:14px!important;
 }

 .system-admin-body{
  padding:18px!important;
 }

 .system-admin-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
 }

 .system-admin-tile{
  padding:14px!important;
  min-height:160px!important;
 }

 .system-admin-tile strong{
  font-size:15px!important;
 }

 .system-admin-tile small{
  font-size:12px!important;
 }

 .system-admin-dialog h3{
  font-size:20px!important;
 }

}

