body{
    margin:0;
    background:radial-gradient(circle at top,#1a001f,#000);
    font-family:'Segoe UI',sans-serif;
    color:#fff;
}

@font-face {
    font-family: 'QuickKiss';
    src: url('../fonts/QuickKiss.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.deepicon{
    width: 50px;
}
.container{
    width:92%;
    max-width:980px;
    margin:40px auto;
    padding-bottom:70px;
}
.title-link{color:#ff00cc;text-decoration:none;cursor:pointer;font-family: 'QuickKiss', sans-serif;}
.title-link:hover{color:#ff00cc;text-decoration:none;}
.title-link:visited{color:#ff00cc;}

.topbar{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    margin-bottom:16px;
}
.brand{text-align:left;}
.brand-title{
    font-size:42px;
    color:#ff00cc;
    text-shadow:0 0 15px #ff00cc;
    line-height:1.1;
}
.brand-sub{
    margin-top:6px;
    color:#ff66ff;
    opacity:0.95;
    text-shadow:0 0 12px rgba(255,0,204,0.45);
    font-weight:600;
}
.searchwrap{flex:0 0 auto;}

.card{
    background:rgba(0,0,0,0.6);
    border-radius:14px;
    padding:16px;
    margin-bottom:20px;
    box-shadow:0 0 30px rgba(255,0,200,0.25);
    border:1px solid rgba(255,0,204,0.18);
}
.searchbar{
    display:flex;
    gap:10px;
    justify-content:flex-end;
    align-items:center;
    flex-wrap:wrap;
}
.searchbar input{
    width:320px;
    max-width:80vw;
    padding:12px 14px;
    border-radius:10px;
    border:1px solid rgba(255,102,255,0.45);
    background:rgba(17,17,17,0.75);
    color:#fff;
    outline:none;
}
.searchbar button{
    padding:12px 16px;
    border-radius:10px;
    border:0;
    background:#ff00cc;
    color:#fff;
    font-weight:700;
    cursor:pointer;
    box-shadow:0 0 18px rgba(255,0,204,0.35);
}
.searchbar a.clear{
    display:inline-block;
    padding:12px 14px;
    border-radius:10px;
    border:1px solid rgba(255,102,255,0.45);
    color:#ff66ff;
    text-decoration:none;
    background:rgba(17,17,17,0.55);
}

.search-results{
    margin-top:14px;
    text-align:left;
    max-width:860px;
    margin-left:auto;
    margin-right:auto;
}
.search-results h2{
    font-size:14px;
    margin:0 0 10px 0;
    color:#ff66ff;
    letter-spacing:1px;
    text-transform:uppercase;
}
.result-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    padding:10px 10px;
    border-radius:10px;
    border:1px solid rgba(255,255,255,0.06);
    background:rgba(0,0,0,0.35);
    margin-bottom:8px;
}
.result-left{
    display:flex;
    align-items:center;
    gap:10px;
}
.result-meta{
    font-size:13px;
    color:#d9d4ff;
    opacity:0.9;
}
.result-actions a{
    color:#00ffff;
    text-decoration:none;
    font-weight:700;
}

.table-wrap{
    max-width:860px;
    margin:0 auto;
}
table{
    width:100%;
    border-collapse:collapse;
    background:rgba(0,0,0,0.6);
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 0 25px rgba(255,0,200,0.35);
}
th{
    background:#111;
    padding:12px;
    color:#ff66ff;
    text-transform:uppercase;
    font-size:13px;
    letter-spacing:1px;
}
td{
    padding:10px;
    border-bottom:1px solid #222;
}
tr:hover{background:rgba(255,0,200,0.1);}
.rank-1{color:#ffd700;font-weight:bold;text-shadow:0 0 10px gold;}
.rank-2{color:#c0c0c0;font-weight:bold;}
.rank-3{color:#cd7f32;font-weight:bold;}
.score{color:#00ffff;font-weight:bold;text-shadow:0 0 8px cyan;}
.name-cell{display:flex;align-items:center;gap:10px;text-align:left;}
.avatar{width:32px;height:32px;border-radius:8px;border:1px solid rgba(255,102,255,0.4);box-shadow:0 0 12px rgba(0,255,255,0.15);flex:0 0 auto;}
.name-cell a{color:#fff;text-decoration:none;}
.name-cell a:hover{color:#ff66ff;text-shadow:0 0 10px rgba(255,102,255,0.55);}

.pagination{margin-top:16px;text-align:center;}
.pagination a{
    display:inline-block;
    padding:9px 15px;
    margin:5px;
    background:#111;
    color:#ff66ff;
    text-decoration:none;
    border-radius:10px;
    border:1px solid rgba(255,102,255,0.25);
    transition:0.2s;
}
.pagination a:hover{background:#ff00cc;color:#fff;box-shadow:0 0 12px #ff00cc;}
.pagination .current{
    display:inline-block;
    padding:9px 15px;
    margin:5px;
    background:#ff00cc;
    color:#fff;
    border-radius:10px;
    box-shadow:0 0 10px #ff00cc;
}

.pagination .dots{
    padding:0 8px;
    color:#888;
}
.small-note{color:#bfb7ff;opacity:0.85;font-size:12px;margin-top:10px;text-align:center;}

.footer-float{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    padding:10px 0;
    background:rgba(0,0,0,0.75);
    backdrop-filter:blur(6px);
    text-align:center;
    font-size:13px;
    color:#cfc3ff;
    border-top:1px solid rgba(255,0,200,0.2);
    z-index:999;
}
.footer-float a{color:#ff66ff;text-decoration:none;}
.footer-float a:hover{color:#ffffff;text-shadow:0 0 8px #ff00cc;}

.medal{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:10px;
  font-size:18px;
  background:rgba(0,0,0,0.55);
  border:1px solid rgba(255,255,255,0.08);
}

.medal.m1{
  box-shadow:0 0 14px rgba(255,215,0,0.55);
}
.medal.m2{
  box-shadow:0 0 14px rgba(192,192,192,0.45);
}
.medal.m3{
  box-shadow:0 0 14px rgba(205,127,50,0.55);
}

.ranknum{
  font-weight:700;
}

@media (max-width: 720px){
    .topbar{flex-direction:column;align-items:stretch;}
    .brand{text-align:center;}
    .searchbar{justify-content:center;}
    .searchbar input{width:100%;max-width:92vw;}
}