Files

1268 lines
42 KiB
CSS

:root {
--bg: #0b0e13;
--bg-2: #12161f;
--bg-3: #1a2130;
--border: #232c3d;
--text: #e6e9f0;
--muted: #8b94a7;
--gold: #f0b429;
--green: #2ecc71;
--red: #e74c3c;
--blue: #3b82f6;
--orange: #f59e0b;
--radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
#starfield {
position: fixed;
inset: 0;
overflow: hidden;
pointer-events: none;
z-index: 0;
}
.star {
position: absolute;
top: -12%;
display: block;
border-radius: 9999px;
will-change: top, transform, opacity;
animation-name: star-fall, star-sway;
animation-timing-function: linear, ease-in-out;
animation-iteration-count: infinite, infinite;
animation-direction: normal, alternate;
}
@keyframes star-fall {
from { top: -12%; }
to { top: 112%; }
}
@keyframes star-sway {
0% { transform: translateX(-5px); opacity: calc(var(--peak, 0.3) * 0.35); }
50% { transform: translateX(3px); opacity: var(--peak, 0.3); }
100% { transform: translateX(5px); opacity: calc(var(--peak, 0.3) * 0.5); }
}
@media (prefers-reduced-motion: reduce) {
.star { animation: none; opacity: 0; }
}
body {
font-family: 'Inter', system-ui, sans-serif;
background:
radial-gradient(1200px 600px at 80% -10%, rgba(59, 130, 246, 0.08), transparent 60%),
radial-gradient(900px 500px at -10% 10%, rgba(240, 180, 41, 0.05), transparent 60%),
var(--bg);
color: var(--text);
min-height: 100vh;
}
.site-header {
border-bottom: 1px solid var(--border);
background: rgba(18, 22, 31, 0.85);
backdrop-filter: blur(8px);
position: sticky;
top: 0;
z-index: 10;
}
.header-inner {
max-width: 1200px;
margin: 0 auto;
padding: 14px 20px;
display: flex;
align-items: center;
justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
width: 42px; height: 42px;
display: grid; place-items: center;
background: linear-gradient(135deg, var(--gold), #d35400);
color: #10131a; font-weight: 700; font-size: 22px;
border-radius: 10px;
font-family: 'Rajdhani', sans-serif;
object-fit: cover;
}
img.brand-logo {
width: auto; height: 64px;
border-radius: 12px;
background: none;
padding: 0;
object-fit: contain;
}
.header-classes {
display: flex;
align-items: center;
gap: 4px;
flex-wrap: wrap;
justify-content: center;
max-width: 40%;
}
.header-class-icon {
position: relative;
flex: 0 0 auto;
aspect-ratio: auto;
padding: 3px 2px 1px;
border: 1px solid transparent;
border-radius: 8px;
background: transparent;
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
gap: 1px;
transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.header-class-icon > img { width: 24px; height: 24px; object-fit: contain; display: block; pointer-events: none; }
.header-class-icon.dim { opacity: 0.45; filter: grayscale(0.8); }
.header-class-icon:hover {
opacity: 1;
filter: none;
transform: translateY(-2px);
border-color: var(--class-color, var(--border));
background: var(--bg-3);
}
.hdr-titles { display: flex; align-items: center; gap: 3px; margin-top: 1px; }
.hdr-vignette { width: 14px; height: 14px; border-radius: 3px; object-fit: cover; border: 1px solid var(--border); flex-shrink: 0; }
.brand-text h1 { font-family: 'Rajdhani', sans-serif; font-size: 22px; letter-spacing: 1px; }
.brand-text p { font-size: 12px; color: var(--muted); margin-top: -2px; }
.header-status { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.header-right { display: flex; align-items: center; gap: 12px; }
.socials { display: flex; align-items: center; gap: 8px; }
.social-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 10px;
background: var(--bg-3);
border: 1px solid var(--border);
color: var(--muted);
transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.social-btn svg { width: 18px; height: 18px; fill: currentColor; }
.social-btn:hover { color: var(--text); border-color: var(--gold); transform: translateY(-2px); }
.container { max-width: 1200px; margin: 0 auto; padding: 28px 20px 60px; position: relative; z-index: 1; }
.section-title {
font-family: 'Rajdhani', sans-serif;
font-size: 24px;
letter-spacing: 1px;
margin: 32px 0 16px;
border-left: 4px solid var(--gold);
padding-left: 12px;
}
.goals-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 14px;
}
.overview-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 14px;
}
.overview-card {
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 16px;
display: flex;
flex-direction: column;
gap: 10px;
text-align: center;
transition: transform 0.15s ease, border-color 0.15s ease;
flex: 0 1 250px;
min-width: 210px;
}
.overview-card.bests-card { flex: 1 1 100%; text-align: left; }
.bests-grid { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.best-panel {
flex: 1 1 0;
min-width: 145px;
max-width: 220px;
background: var(--bg-3);
border: 1px solid var(--border);
border-top: 3px solid var(--brk, var(--border));
border-radius: 12px;
padding: 10px 8px;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
text-align: center;
transition: transform 0.15s ease, border-color 0.15s ease;
}
.best-panel:hover { transform: translateY(-2px); border-color: var(--brk, #33415a); }
.best-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.best-brk { font-family: 'Rajdhani', sans-serif; font-size: 18px; font-weight: 700; color: var(--brk, var(--text)); }
.best-char { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.best-avatar {
width: 46px;
height: 46px;
border-radius: 10px;
object-fit: cover;
border: 1px solid var(--border);
background: var(--bg-2);
}
.best-avatar-empty { display: block; background: var(--bg-2); }
.best-cname { font-size: 13px; font-weight: 600; line-height: 1.2; }
.best-csub { font-size: 11.5px; color: var(--muted); }
.best-rating { font-family: 'Rajdhani', sans-serif; font-size: 24px; font-weight: 700; color: var(--gold); line-height: 1; }
.best-empty { color: var(--muted); padding: 22px 0; font-size: 16px; }
.top-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.top-item {
display: flex;
align-items: center;
gap: 12px;
background: var(--bg-3);
border: 1px solid var(--border);
border-left: 4px solid var(--muted);
border-radius: 10px;
padding: 10px 14px;
transition: transform 0.15s ease, border-color 0.15s ease;
}
.top-item:hover { transform: translateX(2px); border-color: #33415a; }
.top-item.legendary { border-left-color: #c9a24b; }
.top-item.epic { border-left-color: #a34c8f; }
.top-avatar {
width: 40px;
height: 40px;
border-radius: 9px;
object-fit: cover;
border: 1px solid var(--border);
background: var(--bg-2);
flex-shrink: 0;
}
.top-rank {
font-family: 'Rajdhani', sans-serif;
font-size: 20px;
font-weight: 700;
color: var(--muted);
width: 22px;
text-align: center;
flex-shrink: 0;
}
.top-main { flex: 1; min-width: 0; }
.top-name { font-family: 'Rajdhani', sans-serif; font-size: 17px; font-weight: 700; line-height: 1.1; }
.top-sub { font-size: 12.5px; color: var(--muted); }
.top-rating { font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 700; color: var(--gold); white-space: nowrap; flex-shrink: 0; }
.overview-card:hover { transform: translateY(-2px); border-color: #33415a; }
.overview-card.achieved {
border-color: rgba(46, 204, 113, 0.55);
background: linear-gradient(180deg, rgba(46, 204, 113, 0.10), rgba(46, 204, 113, 0.03) 60%), var(--bg-2);
box-shadow: 0 0 22px rgba(46, 204, 113, 0.12);
}
.overview-card.achieved .overview-value b,
.overview-card.achieved .overview-value { color: var(--green); }
.overview-card.achieved .progress-bar .fill { background: linear-gradient(90deg, var(--green), #58e08a); }
.overview-card.achieved:hover { border-color: var(--green); }
.overview-head { display: flex; justify-content: center; align-items: center; gap: 8px; flex-direction: column; }
.overview-head h3 { font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 0.5px; }
.overview-value { font-family: 'Rajdhani', sans-serif; font-size: 24px; font-weight: 700; color: var(--gold); }
.overview-value b { color: var(--gold); }
.overview-sub { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.overview-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.overview-badge {
width: 26px; height: 26px;
border-radius: 6px;
border: 1px solid var(--border);
background: var(--bg-3);
object-fit: contain;
padding: 2px;
}
.overview-badge-txt {
display: grid; place-items: center;
font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 13px;
color: var(--muted);
}
.twitch-card { grid-column: span 2; }
.twitch-link { align-self: flex-start; text-decoration: none; display: inline-flex; }
.live-status {
display: inline-flex;
align-items: center;
gap: 7px;
color: var(--muted);
text-decoration: none;
font-size: 13px;
font-weight: 600;
}
.live-status:hover { color: var(--text); }
.twitch-logo-img { display: inline-flex; width: 20px; height: 20px; color: #9146FF; filter: drop-shadow(0 0 3px rgba(145, 70, 255, 0.55)); }
.twitch-logo-img svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.live-dot {
width: 9px;
height: 9px;
border-radius: 50%;
background: var(--muted);
box-shadow: 0 0 0 0 rgba(139, 148, 167, 0.5);
}
.live-dot.on {
background: var(--red);
box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
animation: pulse 1.6s infinite;
}
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
70% { box-shadow: 0 0 0 9px rgba(231, 76, 60, 0); }
100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}
.goal-card {
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 16px;
display: flex;
flex-direction: column;
gap: 10px;
position: relative;
transition: transform 0.15s ease, border-color 0.15s ease;
}
.goal-card:hover { transform: translateY(-2px); border-color: #33415a; }
.goal-card.achieved { border-color: rgba(46, 204, 113, 0.6); }
.goal-card .goal-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.goal-card h3 { font-size: 15px; font-weight: 600; }
.goal-card .goal-desc { font-size: 12.5px; color: var(--muted); line-height: 1.45; flex: 1; }
.goal-card .goal-value {
font-family: 'Rajdhani', sans-serif;
font-size: 26px;
font-weight: 700;
color: var(--gold);
}
.goal-card .goal-value .goal-target { font-size: 15px; color: var(--muted); }
.progress-bar {
height: 8px;
background: var(--bg-3);
border-radius: 999px;
overflow: hidden;
}
.progress-bar .fill {
height: 100%;
background: linear-gradient(90deg, var(--blue), #60a5fa);
border-radius: 999px;
transition: width 0.6s ease;
}
.goal-card.achieved .progress-bar .fill { background: linear-gradient(90deg, var(--green), #58e08a); }
.badge {
font-size: 10.5px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
padding: 3px 8px;
border-radius: 999px;
white-space: nowrap;
}
.badge.ok { background: rgba(46,204,113,0.15); color: var(--green); }
.badge.achieved { background: linear-gradient(135deg, #f0b429, #d35400); color: #10131a; }
.badge.pending { background: rgba(245,158,11,0.15); color: var(--orange); }
.badge.muted { background: rgba(139,148,167,0.15); color: var(--muted); }
.badge.done {
background: rgba(46, 204, 113, 0.15);
color: var(--green);
border: 1px solid rgba(46, 204, 113, 0.4);
}
.class-card {
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 18px;
display: flex;
flex-direction: column;
gap: 14px;
width: 100%;
transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.class-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.35); border-color: #33415a; }
.class-head { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.class-logo {
width: 50px; height: 50px;
border-radius: 10px;
background: var(--bg-3);
object-fit: contain;
border: 1px solid var(--border);
padding: 4px;
flex-shrink: 0;
}
.class-logo-empty { display: grid; place-items: center; color: var(--muted); font-weight: 700; }
.class-name { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; line-height: 1.1; }
.class-count { font-size: 12.5px; color: var(--muted); }
.level-bubble {
margin-left: auto;
background: var(--gold);
color: #0c0e14;
font-family: 'Rajdhani', sans-serif;
font-weight: 700;
font-size: 14px;
padding: 3px 12px;
border-radius: 999px;
white-space: nowrap;
flex-shrink: 0;
}
.class-chars { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.class-empty { color: var(--muted); font-size: 14px; text-align: center; padding: 14px 0; border: 1px dashed var(--border); border-radius: 8px; }
.class-strip {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 12px;
}
.class-icon {
position: relative;
display: flex;
align-items: center;
justify-content: center;
flex: 0 1 calc((100% - 6 * 12px) / 7);
aspect-ratio: 1;
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: 14px;
padding: 12px;
cursor: pointer;
transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.class-icon:hover { transform: translateY(-2px); border-color: var(--class-color, #33415a); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.class-icon-img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.pastille {
position: absolute;
top: -6px;
right: -6px;
display: flex;
gap: 3px;
background: rgba(12, 14, 20, 0.9);
border: 1px solid var(--border);
border-radius: 8px;
padding: 3px;
pointer-events: none;
}
.pastille-icon {
width: 22px;
height: 22px;
border-radius: 5px;
object-fit: cover;
border: 1px solid var(--border);
background: var(--bg-3);
}
.class-modal { max-width: 760px; width: 100%; }
.class-modal-head {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
flex-shrink: 0;
padding-bottom: 14px;
border-bottom: 1px solid var(--border);
margin-bottom: 14px;
}
.class-modal-logo { width: 64px; height: 64px; object-fit: contain; }
.spec-pill {
display: flex;
align-items: center;
gap: 6px;
background: var(--bg-3);
border: 1px solid var(--border);
border-radius: 999px;
padding: 4px 10px 4px 4px;
font-size: 13px;
font-weight: 600;
font-family: inherit;
color: var(--text);
cursor: pointer;
transition: border-color 0.15s ease, background 0.15s ease;
}
.spec-pill:hover { border-color: var(--gold); }
.spec-pill-btn.on { border-color: var(--gold); background: rgba(240, 180, 41, 0.12); }
.spec-pill .spec-icon { width: 24px; height: 24px; }
.title-mini {
width: 18px;
height: 18px;
border-radius: 4px;
object-fit: cover;
border: 1px solid var(--border);
margin-left: 6px;
vertical-align: -3px;
}
.class-modal-hint { font-size: 13px; color: var(--muted); text-align: center; padding: 6px 0 2px; }
.class-modal {
max-height: 92vh;
display: flex;
flex-direction: column;
}
.class-modal-chars {
display: flex;
flex-direction: column;
gap: 12px;
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
padding: 4px 4px 8px;
overscroll-behavior: contain;
}
.class-char {
position: relative;
background: var(--bg-3);
border: 1px solid var(--border);
border-radius: 14px;
padding: 16px 16px 14px;
display: flex;
flex-direction: column;
gap: 14px;
width: 100%;
cursor: pointer;
transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.class-char::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 3px;
border-radius: 14px 14px 0 0;
background: linear-gradient(90deg, var(--class-color, var(--muted)) 0%, var(--class-color, var(--muted)) 30%, transparent 100%);
opacity: 0.85;
}
.class-char:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35); border-color: var(--class-color, #33415a); }
.wm-card { padding: 14px; align-items: center; cursor: default; }
.wm-specs-top { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.wm-img {
position: relative;
flex-shrink: 0;
width: 100%;
height: 400px;
border: none;
border-radius: 14px;
overflow: hidden;
background:
radial-gradient(500px 300px at 50% 0%, rgba(240, 180, 41, 0.08), transparent 70%),
linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(10, 12, 18, 0.4)),
var(--bg-2);
cursor: default;
padding: 0;
display: block;
transition: box-shadow 0.15s ease;
}
.wm-img:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45); }
.wm-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.wm-img-label {
position: absolute;
bottom: 14px;
left: 50%;
transform: translateX(-50%);
padding: 7px 16px;
border-radius: 999px;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.4px;
text-transform: uppercase;
color: var(--text);
background: rgba(10, 12, 18, 0.82);
border: 1px solid var(--class-color, var(--border));
white-space: nowrap;
transition: background 0.15s ease, color 0.15s ease;
}
.wm-img:hover .wm-img-label { background: var(--class-color, var(--gold)); color: #10131a; }
.wm-img-empty {
display: grid;
place-items: center;
width: 100%;
height: 100%;
font-size: 64px;
font-weight: 700;
font-family: 'Rajdhani', sans-serif;
color: var(--class-color, var(--text));
}
.wm-info { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.wm-name { font-family: 'Rajdhani', sans-serif; font-size: 26px; font-weight: 700; line-height: 1.05; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.wm-meta { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.wm-ilvl {
font-size: 12px;
font-weight: 700;
color: var(--gold);
background: rgba(240, 180, 41, 0.12);
border: 1px solid rgba(240, 180, 41, 0.35);
border-radius: 999px;
padding: 2px 9px;
white-space: nowrap;
}
.wm-titles { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.wm-title {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 13px;
font-weight: 500;
color: var(--text);
}
.wm-title img { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; border: 1px solid var(--border); }
.wm-title b { font-weight: 700; color: var(--gold); }
.wm-specs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.wm-spec-panel {
display: flex;
align-items: center;
gap: 7px;
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: 10px;
padding: 7px 12px 7px 7px;
font-size: 13px;
font-weight: 600;
font-family: inherit;
color: var(--text);
cursor: pointer;
transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.wm-spec-panel .spec-icon { width: 26px; height: 26px; }
.wm-spec-panel:hover { border-color: var(--class-color, var(--gold)); transform: translateY(-1px); }
.wm-spec-panel.on { border-color: var(--class-color, var(--gold)); background: rgba(240, 180, 41, 0.12); }
.wm-detail { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--border); padding-top: 14px; width: 100%; }
.wm-section { padding: 0; border-top: none; }
.char-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.char-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.char-avatar {
width: 54px; height: 54px;
border-radius: 13px;
object-fit: cover;
background: var(--bg-3);
border: 2px solid var(--class-color, var(--border));
box-shadow: 0 0 0 3px var(--bg-2), 0 0 16px rgba(0, 0, 0, 0.45);
flex-shrink: 0;
}
.char-name { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; line-height: 1.05; white-space: nowrap; }
.char-link { color: var(--gold); text-decoration: none; }
.char-link:hover { text-decoration: underline; }
.char-meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.char-body { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--border); padding-top: 14px; }
.char-ilvl {
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
background: linear-gradient(180deg, rgba(240, 180, 41, 0.16), rgba(240, 180, 41, 0.05));
border: 1px solid rgba(240, 180, 41, 0.35);
border-radius: 12px;
padding: 8px 14px;
white-space: nowrap; flex-shrink: 0;
min-width: 74px;
}
.char-ilvl b { color: var(--gold); font-weight: 700; font-size: 18px; font-family: 'Rajdhani', sans-serif; line-height: 1; }
.pvp-table { display: flex; flex-direction: column; gap: 5px; min-width: 220px; }
.pvp-row { display: grid; grid-template-columns: 1fr 72px 72px; gap: 6px; align-items: center; }
.pvp-row span { padding: 5px 10px; border-radius: 8px; background: var(--bg-2); font-size: 13px; }
.pvp-row span:not(.pvp-bracket) { text-align: right; font-variant-numeric: tabular-nums; }
.val-season { color: var(--text); }
.val-max { color: var(--gold); font-weight: 600; }
.pvp-bracket {
display: flex; align-items: center; gap: 8px;
color: var(--text);
font-weight: 600;
white-space: nowrap;
background: transparent !important;
}
.pvp-bracket::before {
content: '';
width: 8px; height: 8px; border-radius: 50%;
flex-shrink: 0;
background: var(--brk, var(--muted));
box-shadow: 0 0 8px var(--brk, transparent);
}
.brk-ss { --brk: #37e0ff; }
.brk-blitz { --brk: #ffb347; }
.brk-2v2 { --brk: #5aa9ff; }
.brk-3v3 { --brk: #ff5c5c; }
.brk-rbg { --brk: #7ed957; }
.pvp-head span { background: transparent; color: var(--muted); font-size: 10.5px; padding: 0 10px 2px; text-transform: uppercase; letter-spacing: 1px; }
.pvp-head span:not(.pvp-bracket) { text-align: right; }
.pvp-head .pvp-bracket::before { display: none; }
.pvp-tables { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pvp-spec {
background: var(--bg-2);
border: 1px solid var(--border);
border-left: 3px solid var(--class-color, var(--muted));
border-radius: 10px;
padding: 10px 12px 8px;
display: flex;
flex-direction: column;
gap: 8px;
}
.pvp-spec-name {
display: flex;
align-items: center;
gap: 8px;
font-family: 'Rajdhani', sans-serif;
font-size: 16px;
font-weight: 700;
color: var(--gold);
letter-spacing: 0.5px;
}
.spec-icon {
width: 24px;
height: 24px;
border-radius: 6px;
object-fit: cover;
border: 1px solid var(--border);
background: var(--bg-3);
flex-shrink: 0;
}
.pvp-section h4 {
font-family: 'Rajdhani', sans-serif;
font-size: 15px;
font-weight: 700;
color: var(--gold);
letter-spacing: 0.5px;
margin: 0 0 8px;
border-bottom: 1px solid var(--border);
padding-bottom: 4px;
}
.brk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 10px; }
.brk-block {
background: var(--bg-2);
border: 1px solid var(--border);
border-top: 2px solid var(--brk, var(--muted));
border-radius: 10px;
padding: 10px 12px 9px;
display: flex;
flex-direction: column;
gap: 8px;
transition: border-color 0.15s ease;
}
.brk-block:hover { border-color: var(--brk, #33415a); }
.brk-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.brk-name { font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700; color: var(--brk, var(--muted)); }
.brk-tier {
font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
color: var(--brk, var(--muted));
border: 1px solid var(--brk, var(--muted));
border-radius: 999px;
padding: 1px 8px;
opacity: 0.95;
}
.brk-record {
margin-left: auto;
font-size: 10px; font-weight: 700; color: var(--green);
border: 1px solid rgba(46, 204, 113, 0.5);
background: rgba(46, 204, 113, 0.12);
border-radius: 999px;
padding: 1px 7px;
animation: pulse-green 1.8s infinite;
}
@keyframes pulse-green {
0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.45); }
70% { box-shadow: 0 0 0 7px rgba(46, 204, 113, 0); }
100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
.brk-body { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px 10px; }
.brk-cell { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12px; min-width: 0; }
.brk-cell span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.brk-cell b { color: var(--text); font-variant-numeric: tabular-nums; font-weight: 600; }
.brk-cell b.val-max { color: var(--gold); }
.brk-rating { font-family: 'Rajdhani', sans-serif; font-size: 24px; font-weight: 700; line-height: 1; color: var(--text); display: flex; align-items: baseline; gap: 4px; }
.brk-current { color: var(--text); }
.brk-maxsep { color: var(--muted); font-weight: 400; }
.brk-max { color: var(--gold); font-size: 15px; }
.brk-sub { font-size: 11px; color: var(--muted); margin-top: -3px; }
.brk-tier.muted { color: var(--muted); border-color: var(--border); }
.brk-bar {
height: 7px;
border-radius: 999px;
background: rgba(231, 76, 60, 0.22);
border: 1px solid rgba(231, 76, 60, 0.25);
overflow: hidden;
position: relative;
}
.brk-bar.empty { background: var(--bg-3); border-color: var(--border); }
.brk-bar-fill {
height: 100%;
border-radius: 999px;
background: linear-gradient(90deg, rgba(46, 204, 113, 0.7), var(--green));
box-shadow: 0 0 8px rgba(46, 204, 113, 0.4);
transition: width 0.3s ease;
}
.brk-wl { font-size: 12.5px; color: var(--text); font-variant-numeric: tabular-nums; }
.brk-wl b { color: var(--green); font-weight: 700; }
.brk-games { font-size: 11px; color: var(--muted); }
.char-detail-hint { font-size: 10.5px; color: var(--muted); text-align: center; white-space: nowrap; opacity: 0.85; }
.glad-class-row { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.glad-class-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.6px; }
.goal-class {
position: relative;
display: inline-block;
filter: grayscale(0.85) brightness(0.55);
opacity: 0.6;
transition: filter 0.15s ease, opacity 0.15s ease;
}
.goal-class.done { filter: none; opacity: 1; }
.goal-check {
position: absolute;
top: -5px; right: -5px;
width: 16px; height: 16px;
border-radius: 50%;
background: var(--green);
color: #06120b;
font-size: 10px; font-weight: 800;
display: grid; place-items: center;
border: 1.5px solid var(--bg);
line-height: 1;
}
.session-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 6px; }
.session-card {
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: 10px;
padding: 12px;
display: flex;
flex-direction: column;
gap: 10px;
}
.session-head {
display: flex;
justify-content: space-between;
align-items: center;
font-family: 'Rajdhani', sans-serif;
font-size: 16px;
font-weight: 700;
}
.session-today { font-size: 13px; font-weight: 600; color: var(--muted); }
.session-today em { color: var(--gold); font-style: normal; }
.session-btns { display: flex; gap: 8px; }
.session-btns .btn { flex: 1; padding: 9px; font-size: 13px; font-weight: 700; }
.session-win { border-color: rgba(46, 204, 113, 0.45) !important; color: var(--green) !important; }
.session-loss { border-color: rgba(231, 76, 60, 0.45) !important; color: var(--red) !important; }
.session-week { font-size: 12px; }
.session-undo { margin-top: 12px; }
#pvp-specs { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.char-sets { display: flex; gap: 8px; }
.stat-chip {
flex: 1;
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: 10px;
padding: 8px 12px;
font-size: 12.5px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 10px;
white-space: nowrap;
}
.chip-label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; }
.stat-chip b { color: var(--gold); font-weight: 600; font-size: 15px; font-family: 'Rajdhani', sans-serif; }
.stat-max { color: var(--muted); font-size: 11px; font-weight: 500; margin-left: 4px; }
.stat-max.on { color: var(--gold); }
.char-foot { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.char-sources { font-size: 11px; color: var(--muted); text-align: right; }
.btn-3d {
background: var(--bg-3);
border: 1px solid var(--border);
color: var(--text);
font-size: 12.5px;
padding: 6px 12px;
border-radius: 8px;
cursor: pointer;
transition: all 0.15s;
}
.btn-3d:hover { border-color: var(--gold); color: var(--gold); }
.loading { color: var(--muted); font-size: 14px; padding: 20px 0; }
.modal-backdrop {
position: fixed; inset: 0;
background: rgba(0,0,0,0.75);
backdrop-filter: blur(4px);
display: flex; align-items: center; justify-content: center;
z-index: 50;
padding: 20px;
}
.modal-backdrop[hidden] { display: none; }
.modal {
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: 16px;
width: min(560px, 100%);
max-height: 92vh;
overflow: auto;
position: relative;
}
.modal-close {
position: absolute; top: 10px; right: 14px;
background: none; border: none;
color: var(--muted); font-size: 26px;
cursor: pointer; z-index: 2;
}
.modal-close:hover { color: var(--text); }
.modal-head {
display: flex; align-items: center; gap: 12px;
padding: 18px 18px 0;
}
.modal-avatar { width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--border); object-fit: cover; }
.modal-head h3 { font-family: 'Rajdhani', sans-serif; font-size: 22px; }
.modal-head p { font-size: 13px; color: var(--muted); }
.pvp-form { padding: 16px 18px 18px; }
.pvp-form .admin-table { margin-top: 12px; }
.pvp-actions { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.pvp-actions .hint { font-size: 12px; }
.modal-art {
width: 100%;
height: 360px;
margin-top: 12px;
position: relative;
display: flex;
align-items: center;
justify-content: center;
background:
radial-gradient(400px 200px at 50% 0%, rgba(240, 180, 41, 0.08), transparent 70%),
var(--bg-3);
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
overflow: hidden;
}
.modal-art img { max-width: 100%; max-height: 100%; object-fit: contain; }
.modal-error {
margin: 12px 18px 0;
padding: 12px;
background: rgba(231,76,60,0.12);
border: 1px solid rgba(231,76,60,0.4);
border-radius: 8px;
color: #ff8f87;
font-size: 13px;
}
.modal-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 8px;
padding: 14px 18px 18px;
}
.modal-stats .stat-chip { justify-content: space-between; background: var(--bg-3); }
/* Buttons & forms */
.btn {
background: var(--bg-3);
border: 1px solid var(--border);
color: var(--text);
font-size: 13px;
font-weight: 500;
padding: 8px 14px;
border-radius: 8px;
cursor: pointer;
transition: all 0.15s;
}
.btn:hover { border-color: #3a4a68; }
.btn-primary { background: linear-gradient(135deg, var(--gold), #d35400); color: #10131a; border: none; font-weight: 600; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: none; border-color: var(--border); color: var(--muted); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }
input, select {
background: var(--bg-3);
border: 1px solid var(--border);
color: var(--text);
font-size: 14px;
padding: 9px 12px;
border-radius: 8px;
outline: none;
}
input:focus, select:focus { border-color: var(--blue); }
/* Admin */
.admin-body .container { max-width: 1100px; }
.login-box {
max-width: 380px;
margin: 60px auto;
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: 14px;
padding: 26px;
}
.login-box h2 { font-family: 'Rajdhani', sans-serif; margin-bottom: 16px; }
.login-box form { display: flex; flex-direction: column; gap: 12px; }
.form-error { color: #ff8f87; font-size: 13px; margin-top: 10px; }
.tabs { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 12px; flex-wrap: wrap; }
.tab-btn {
background: none; border: 1px solid var(--border);
color: var(--muted); padding: 8px 16px;
border-radius: 8px; cursor: pointer; font-size: 14px;
}
.tab-btn.active { background: var(--bg-3); color: var(--text); border-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.panel-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
.panel-toolbar h3 { font-family: 'Rajdhani', sans-serif; font-size: 19px; }
.toolbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#fetch-status { font-size: 12px; color: var(--muted); }
#fetch-status b { color: var(--gold); font-weight: 600; }
.form-row { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-grid label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.form-grid input { width: 100%; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.admin-table th { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.table-actions { display: flex; gap: 6px; }
.mini-btn { font-size: 12px; padding: 4px 10px; }
.mini-num { width: 64px; padding: 6px 8px; font-size: 13px; }
.mini-url { width: 200px; padding: 6px 8px; font-size: 12.5px; }
.mini-select { padding: 6px 8px; font-size: 13px; max-width: 160px; }
.del-btn { color: var(--red); background: none; border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; cursor: pointer; }
.del-btn:hover { border-color: var(--red); }
.span-2 { grid-column: span 2; }
.class-select { display: flex; flex-wrap: wrap; gap: 6px; }
.class-chip {
display: inline-flex; align-items: center; gap: 6px;
padding: 4px 10px 4px 6px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--bg-3);
cursor: pointer;
font-size: 12px;
color: var(--muted);
transition: all 0.15s;
user-select: none;
}
.class-chip img { width: 22px; height: 22px; object-fit: contain; }
.class-chip:hover { border-color: var(--gold); }
.class-chip.on { border-color: var(--gold); background: rgba(240, 180, 41, 0.12); color: var(--text); }
.title-tick { display: inline-flex; align-items: center; cursor: pointer; margin-right: 4px; position: relative; }
.title-tick input { position: absolute; opacity: 0; pointer-events: none; }
.title-tick img {
width: 26px;
height: 26px;
border-radius: 6px;
object-fit: cover;
border: 2px solid var(--border);
opacity: 0.35;
transition: opacity 0.15s ease, border-color 0.15s ease;
}
.title-tick input:checked + img { opacity: 1; border-color: var(--gold); }
.settings-card {
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 18px;
margin-bottom: 16px;
}
.settings-card .btn { margin-right: 8px; margin-top: 4px; }
.hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; display: block; }
.admin-titles { display: flex; flex-direction: column; gap: 5px; min-width: 150px; }
.at-entry {
display: inline-flex;
align-items: center;
gap: 6px;
border: 1px solid var(--border);
border-radius: 7px;
padding: 3px 6px;
font-size: 12px;
background: var(--bg-2);
}
.at-entry img { width: 18px; height: 18px; border-radius: 3px; object-fit: cover; }
.at-entry b { font-size: 11px; letter-spacing: 0.4px; }
.at-season-label { display: inline; font-size: 11px; }
.at-entry.at-glad { border-color: rgba(255, 176, 32, 0.45); }
.at-entry.at-legend { border-color: rgba(191, 85, 236, 0.45); }
.at-del {
border: none;
background: none;
color: var(--muted);
cursor: pointer;
font-size: 14px;
line-height: 1;
padding: 0 1px;
margin-left: auto;
}
.at-del:hover { color: var(--red); }
.at-add { display: flex; align-items: center; gap: 4px; }
.at-add .mini-select { width: auto; }
.at-season { width: 86px; }
.title-tick { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.title-tick img { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; }
.settings-card h3 { font-family: 'Rajdhani', sans-serif; margin: 0 0 12px; }
.admin-goals .goal-card h3 { font-size: 13.5px; }
.admin-goals .goal-card { gap: 6px; padding: 12px; }
.admin-goals input { width: 100%; font-size: 12.5px; padding: 6px 9px; }
.admin-goals label { font-size: 11px; color: var(--muted); display: block; margin-bottom: 3px; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.status-dot.ok { background: var(--green); }
.status-dot.error { background: var(--red); }
.char-top-right { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.char-detail-btn { font-size: 12px; padding: 5px 10px; white-space: nowrap; border-radius: 8px; }
.char-detail-modal { width: min(720px, 100%); }
.char-detail-modal .modal-art { height: 420px; }
.modal-section { padding: 14px 18px; border-top: 1px solid var(--border); }
.modal-section-title {
font-family: 'Rajdhani', sans-serif;
font-size: 16px;
font-weight: 700;
color: var(--gold);
text-transform: uppercase;
letter-spacing: 0.6px;
margin-bottom: 10px;
}
.modal-gear {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 8px;
}
.gear-item {
display: flex;
align-items: center;
gap: 10px;
background: var(--bg-3);
border: 1px solid var(--border);
border-left: 3px solid var(--q, var(--text));
border-radius: 10px;
padding: 7px 10px;
min-width: 0;
}
.gear-icon {
width: 36px; height: 36px;
border-radius: 8px;
flex-shrink: 0;
display: grid;
place-items: center;
overflow: hidden;
background: var(--bg-2);
border: 1px solid var(--border);
}
.gear-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gear-slot-letter { font-weight: 800; color: var(--muted); font-size: 13px; }
.gear-info { display: flex; flex-direction: column; min-width: 0; }
.gear-name {
font-size: 12.5px;
font-weight: 600;
color: var(--q, var(--text));
line-height: 1.2;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-decoration: none;
}
a.gear-name:hover { text-decoration: underline; }
.gear-ilvl { font-size: 11.5px; color: var(--muted); }
.gear-empty { font-size: 13px; color: var(--muted); padding: 6px 2px; }
.talent-panel {
position: relative;
border-radius: 12px;
overflow: hidden;
min-height: 180px;
display: grid;
place-items: center;
border: 1px solid var(--border);
background: var(--bg-3);
}
.talent-panel.no-bg { min-height: 110px; }
.talent-bg {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.35;
}
.talent-overlay {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
padding: 18px;
text-align: center;
background: rgba(10, 12, 18, 0.65);
border-radius: 12px;
}
.talent-title { font-family: 'Rajdhani', sans-serif; font-size: 18px; font-weight: 700; }
.talent-note { font-size: 12.5px; color: var(--muted); max-width: 380px; }
.tt-wrap { display: flex; flex-direction: column; gap: 14px; }
.tt-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wm-copy {
font-family: 'Rajdhani', sans-serif;
font-size: 13px;
font-weight: 700;
letter-spacing: 0.5px;
padding: 7px 14px;
border-radius: 8px;
border: 1px solid var(--gold);
color: #10131a;
background: linear-gradient(135deg, var(--gold), #d35400);
cursor: pointer;
transition: filter 0.15s ease, transform 0.15s ease;
}
.wm-copy:hover { filter: brightness(1.1); transform: translateY(-1px); }
.tt-block {
border: 1px solid var(--border);
border-radius: 12px;
background: var(--bg-3);
padding: 10px;
display: flex;
flex-direction: column;
gap: 8px;
}
.tt-head { display: flex; align-items: baseline; gap: 8px; font-size: 14px; padding: 2px 4px; }
.tt-head b { font-family: 'Rajdhani', sans-serif; font-size: 16px; letter-spacing: 0.5px; }
.tt-scroll { overflow-x: auto; padding-bottom: 4px; }
.tt-grid { position: relative; min-width: 100%; }
.tn {
position: absolute;
width: 52px;
height: 52px;
border-radius: 8px;
border: 2px solid transparent;
overflow: hidden;
background: var(--bg-2);
display: grid;
place-items: center;
cursor: help;
transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
.tn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-letter { font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 700; color: var(--muted); }
.tn.on {
border-color: var(--gold);
box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.25), 0 0 14px rgba(245, 166, 35, 0.35);
z-index: 2;
}
.tn.no-icon img { display: none; }
.tn:hover { transform: translateY(-2px) scale(1.05); z-index: 3; }
.tn-rank {
position: absolute;
bottom: -1px;
right: -1px;
min-width: 16px;
height: 16px;
padding: 0 3px;
font-size: 10.5px;
font-weight: 700;
line-height: 16px;
text-align: center;
color: #10131a;
background: linear-gradient(135deg, var(--gold), #d35400);
border-radius: 4px 0 0 0;
}
@media (max-width: 640px) {
.form-grid { grid-template-columns: 1fr; }
.modal-art { height: 260px; }
.char-detail-modal .modal-art { height: 320px; }
.char-top-right { flex-direction: row; justify-content: space-between; }
.modal-gear { grid-template-columns: 1fr; }
.char-top { flex-direction: column; align-items: stretch; }
.char-foot { justify-content: space-between; }
.header-inner { flex-wrap: wrap; gap: 10px; justify-content: center; }
.header-classes { max-width: 100%; order: 3; }
}