html,body{
    margin:0px;
    padding:0px;
    font-family:"Roboto";
}
body{
    background:#000;
    color:#fff;
}
.wait.table{
    height:calc(90vh);
    overflow:hidden;
}
.table{
    width:100%;
    display:table;
}
.ciurma.table{
    min-height:90vh;
    margin-left:60px;
    width:calc(100% - 60px)!important;
}
.table .row{
    display:table-row;
}
.elenco .row .cell{
    text-align:left;
    padding:10px;
}
.elenco .row .cell:last-of-type{
    text-align:right;
    padding:10px;
}
.elenco .row .cell:nth-of-type(2){
    width:50%;
}
.elenco .row:nth-child(odd) .cell{
    background:#222;
}
.elenco .row:nth-child(even) .cell{
    background:#111;
}
.elenco .cell{
    font-weight:300;
    font-family:"Roboto";
    font-size:1rem;
}
.elenco .cell i{
    font-size:0.8rem;
    color:#aaa;
}
@media(min-width:901px){
    .mobile{
        display:none!important;
    }
}
@media(max-width:900px){
    .desktop{
        display:none!important;
    }
    .elenco .cell{
        font-size:0.9rem;
    }
    .elenco .cell i{
        font-size:0.7rem;
    }
}
.elenco{
    max-width:800px;
    border-radius:14px!important;
    margin-left:auto;
    margin-right:auto;
    overflow:hidden;
    border:solid 1px rgba(255,255,255,0.15);
}
.cell{
    display:table-cell;
    vertical-align:middle;
    text-align:center;
    color:#fff;
    font-size:1.2rem;
    padding:5%;
}

form{
    text-align:center;
}
label{
    font-family:"Roboto";
    margin-bottom:10px;
    text-transform:uppercase;
    font-weight:300;
}
.discord-btn{
    padding:1rem;
    display:inline-block;
    border:0px;
    border-radius:40px;
    margin-top:15px;
    font-size:1rem;
    font-family:"Roboto";
    background:#eee;
    color:#000;
    letter-spacing:2px;
    text-decoration:none;
    text-transform:uppercase;
    cursor:pointer;
}
.discord-btn:hover{
    background:#fff;
}
.errore{
    display:inline-block;
    position:fixed;
    bottom:20px;
    right:0px;
    max-width:calc(100vw - 50px);
    padding:10px;
    background:linear-gradient(to right, #222,#22222200);
    color:#f55;
}
.menu{
    width:60px;
    top:0px;
    left:0px;
    bottom:0px;
    position:fixed;
    padding:0px!important;
    vertical-align:top;
    background:rgba(255,255,255,0.2);
    border-radius:0px 0px 60px 0px;
}
.menu a{
    display:inline-block;
    text-decoration:none;
    color:#fff;
    clear:both;
    padding:0px!important;
    display:block;
}
.menu a{
    border-bottom:solid 1px #000;
}
.menu a:hover{
    color:#fff;
    background:linear-gradient(to right,rgba(255,255,255,0),rgba(255,255,255,0.25));
}
.menu a img{
    width:40px;
    border-radius:50%;
    margin-top:10px;
    margin-bottom:10px;
}
.menu a i{
    text-decoration:none;
    line-height:60px;
    font-size:1.5rem;
}
.content{
    text-align:center;
}
.content p{
    font-size:1.2rem;
    font-weight:300;
    letter-spacing:-0.4px;
    max-width:600px;
    text-align:justify;
    text-align-last:center;
    margin-left:auto;
    margin-right:auto;
}
/* contenitore della scritta verticale */
.vertical-father{
  position: relative;          /* fondamentale */
  overflow: hidden;            /* evita sbordi visivi */
  height: 100%;                /* o un’altezza fissa tipo 100vh / 400px */
}

.vertical{
  position: absolute;
  top: 510px; 
  left:0px;                /* distanza dal bordo alto */
  line-height:58px;
  transform-origin: left top;
  transform: rotate(-90deg) translateX(-100%);
  white-space: nowrap;
  color:#aaa;
  font-family:"Roboto";
  font-weight:300;
}
.selected{
    background:rgba(255,255,255,0.3);
}
h2{
    font-size:1.5rem;
    margin-bottom:5px;
}
.form_custom{
    margin-top:0px;
}
.form_custom select{
    max-width:800px;
    margin:0px;
    padding:10px;
    border-radius:14px;
    width:100%;
    border:solid 1px rgba(255,255,255,0.15);
    background:#222;
    color:#fff;
}
.submit{
    margin:0px;
    margin-top:10px;
    padding:10px;
    border-radius:14px;
    border:solid 1px rgba(255,255,255,0.15);
    background:#ddd;
    color:#222;
    cursor:pointer;
    text-transform:uppercase;
}
.submit:hover{
    background:#fff;
    color:#000;
}
/* Effetto tipo required */
.dd.invalid .dd-btn{
  border-color: #ff4d4d !important;
  box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.25);
}

.dd-error{
  margin-top: 6px;
  font-size: .9rem;
  color: #ffb3b3;
  opacity: .95;
}

/* Dropdown custom (per supportare l'icona con <a>) */
.dd { position: relative; max-width: 800px; margin: 10px auto; }
.dd-btn{
    width:100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color:#fff;
    padding: 14px 16px;
    border-radius: 14px;
    cursor:pointer;
    text-align:left;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
}
.dd-btn .small { opacity: .75; font-size: .9rem; }
.dd-list{
    position:absolute;
    z-index: 999;
    left:0; right:0;
    margin-top: 8px;
    background: rgba(10,10,10,0.95);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    overflow:hidden;
    max-height: 320px;
    overflow-y:auto;
    display:none;
}
.dd.open .dd-list{ display:block; }

.dd-item{
    padding: 10px 12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    cursor:pointer;
}
.dd-item:last-child{ border-bottom:none; }
.dd-item:hover{ background: rgba(255,255,255,0.06); }

.dd-left{ display:flex; flex-direction:column; gap:2px; }
.dd-name{ font-weight:600; }
.dd-meta{ font-size:.85rem; opacity:.75; }

.dd-eye a{
    color:#fff;
    opacity:.9;
    text-decoration:none;
    padding: 8px;
    border-radius: 10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.dd-eye a:hover{ background: rgba(255,255,255,0.10); }

.dd-selected{
    margin-top:10px;
    font-size:.95rem;
    opacity:.85;
}
.punti{
    font-size:1.6rem!important;
    font-weight:800!important;
    width:1.1rem!important;
}
p strong,h2 strong{
    color:#fe9;
}
.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px 10px 4px;
    background: #1e1e1e;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
}

.pagination a:hover {
    background: #333;
}

.pagination a.active {
    background: #c9a227;
    color: #000;
    font-weight: 700;
}
.icona i{
    font-size:1.2rem!important;
}
/* ===== TLDB POPOVER (click desktop + mobile) ===== */
.tldb-popover{
  position: fixed;
  z-index: 99999;
  width: min(92vw, 520px);
  height: min(72vh, 620px);
  background: rgba(10,10,10,0.98);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  display: none;
}

.tldb-popover.is-open{ display:block; }

.tldb-popover__bar{
  height: 44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 0 10px;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  font-size: 14px;
}

.tldb-popover__title{
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: .9;
}

.tldb-popover__close{
  border: 0;
  background: rgba(255,255,255,0.12);
  color:#fff;
  padding: 8px 10px;
  border-radius: 10px;
  cursor:pointer;
}

.tldb-popover__frame{
  width: 100%;
  height: calc(100% - 44px);
  border: 0;
  background: #000;
}

.tldb-popover__arrow{
  position: fixed;
  z-index: 99998;
  width: 10px;
  height: 10px;
  background: rgba(10,10,10,0.98);
  border-left: 1px solid rgba(255,255,255,0.15);
  border-top: 1px solid rgba(255,255,255,0.15);
  transform: rotate(45deg);
  display:none;
}
.tldb-popover__arrow.is-open{ display:block; }

#score{
    font-size:1.5rem;
    background:#000;
    border-radius:50px;
    border:0px;
    color:#fff;
    width:80px;
    text-align:center;
}

#azione{
    background:#333;
    margin-top:-15px;
    margin-left:12px;
    display:inline-block;
    border-radius:30px;
    color:#fff;
    border:0px;
    font-size:1.3rem;
    line-height:1.8rem;
    padding-left:10px;
    padding-right:10px;
    cursor:pointer;
    font-weight:300;
}
#azione:hover{
    background:#fff;
    color:#000;
}
a.linkino{
    color:#fe9;
    text-decoration:underline;
    font-weight:bold;
}
.dd-search-wrap{
    position: sticky;
    top: 0;
    z-index: 2;
    background: #0b0b0b;
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.dd-search{
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #666;
    background: #111;
    color: #fff;
    outline: none;
}

.dd-search:focus{
    border-color: #aaa;
}

.dd-empty{
    padding: 12px 14px;
    color: #bbb;
    font-style: italic;
}