/* ==============================================================================
   SKY-RIFTERS — MODERN DESIGN LAYER (v10)
   style.css'ten SONRA yüklenir. Renk paleti (mor) aynen korunur.
   Chest UI'lara (Bazaar / Auction / Player Stats slotları) bilinçli olarak dokunulmaz;
   sadece etraflarındaki kabuk (boşluklar, kenarlar) modernleştirilir.
   ============================================================================== */

:root {
    --purple-main: #a55eea;
    --purple-glow: #c896ff;
    --purple-soft: #d2b4de;
    --purple-deep: #7d2ae8;

    --sc-surface: rgba(22, 11, 40, 0.58);
    --sc-surface-2: rgba(32, 17, 56, 0.72);
    --sc-line: rgba(255, 255, 255, 0.08);
    --sc-line-purple: rgba(165, 94, 234, 0.28);
    --sc-radius: 20px;
    --sc-radius-sm: 12px;
    --sc-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --sc-nav-h: 64px;
    --sc-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.7);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sc-nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body { background: #06020d; min-height: 100dvh; }

/* --- ARKA PLAN: görsel inince fade-in, altında mor gradyan var (boş ekran yok) --- */
.bg-container { opacity: 0; transition: opacity 0.6s ease; filter: none; transform: none; will-change: opacity; }
.bg-container.is-ready { opacity: 1; }
.light-dimmer {
    background:
        radial-gradient(900px 500px at 15% -5%, rgba(125, 42, 232, 0.30), transparent 60%),
        linear-gradient(180deg, rgba(6, 2, 13, 0.62) 0%, rgba(6, 2, 13, 0.5) 40%, rgba(6, 2, 13, 0.78) 100%);
}

/* ==============================================================================
   NAVBAR
   ============================================================================== */
.sc-nav {
    position: sticky; top: 0; z-index: 1000;
    padding-top: env(safe-area-inset-top);
    background: rgba(10, 4, 20, 0.55);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid var(--sc-line);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.sc-nav.is-scrolled { background: rgba(10, 4, 20, 0.85); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.8); }
.sc-nav-inner {
    max-width: 1240px; margin: 0 auto; height: var(--sc-nav-h);
    display: flex; align-items: center; gap: 18px; padding: 0 20px;
}
.sc-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; font-weight: 900; font-size: 1.25rem; letter-spacing: -0.2px; }
.sc-brand-logo { width: 32px; height: 32px; object-fit: contain; border-radius: 8px; filter: drop-shadow(0 0 10px rgba(165, 94, 234, 0.6)); }
.sc-brand b { color: #fff; font-weight: 900; }
.sc-brand em { color: var(--purple-main); font-style: normal; text-shadow: 0 0 18px rgba(165, 94, 234, 0.8); }

.sc-nav-links {
    display: flex; align-items: center; gap: 4px; margin-left: auto; min-width: 0;
    overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.sc-nav-links::-webkit-scrollbar { display: none; }
.sc-nav-links a {
    position: relative; white-space: nowrap; text-decoration: none;
    color: #b9aed0; font-size: 0.82rem; font-weight: 700;
    padding: 9px 13px; border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}
.sc-nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.sc-nav-links a.is-active {
    color: #fff; background: linear-gradient(135deg, rgba(165, 94, 234, 0.34), rgba(125, 42, 232, 0.22));
    box-shadow: inset 0 0 0 1px var(--sc-line-purple), 0 0 20px -6px rgba(165, 94, 234, 0.6);
}
.sc-nav-cta {
    flex-shrink: 0; text-decoration: none; color: #fff; font-weight: 800; font-size: 0.82rem;
    padding: 10px 18px; border-radius: 999px;
    background: linear-gradient(135deg, var(--purple-main), var(--purple-deep));
    box-shadow: 0 6px 20px -4px rgba(165, 94, 234, 0.6);
    transition: transform 0.2s var(--sc-ease), box-shadow 0.2s ease;
}
.sc-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -4px rgba(165, 94, 234, 0.8); }

@media (max-width: 900px) {
    .sc-nav-inner { height: 58px; padding: 0 14px; }
    .sc-nav-links { display: none; }
    .sc-nav-cta { margin-left: auto; padding: 9px 16px; }
}

/* ==============================================================================
   SAYFA KABUĞU
   ============================================================================== */
.hub-wrapper { max-width: 1240px; width: 100%; padding-top: 18px; }
.sc-page-head { margin: 8px 0 22px; text-align: center; }
.sc-page-head .subtitle {
    display: inline-flex; align-items: center; gap: 8px; margin: 0;
    padding: 6px 14px; border-radius: 999px; font-size: 0.68rem; letter-spacing: 2.4px; color: var(--purple-soft);
    background: rgba(165, 94, 234, 0.12); border: 1px solid var(--sc-line-purple);
}
/* Ana sayfada başlık şeridi gizli (hero zaten var) */
body:has(#homeSection[style*="flex"]) .sc-page-head { display: none; }

/* Sayfa değişince bölümler yumuşak girsin (display:none -> görünür olunca animasyon yeniden başlar) */
#homeSection, #leaderboardSection, #auctionSection, #bazaarSection, #serverStatsSection,
#voteSection, #calendarSection, #itemsSection, #playerStatsHub, #playerStatsProfile,
#collectionsMenu, #skillsMenu, #killsMenu, #farmingBestsMenu, #slayerMenu,
#summoningEyesMenu, #bossKillsMenu, #racesMenu, #leaderboardTable {
    animation: scPageIn 0.25s ease backwards;
}
@keyframes scPageIn { from { opacity: 0; } to { opacity: 1; } }
#bazaarSection, #auctionSection, #playerStatsProfile, #itemsSection { animation: none !important; }

::view-transition-old(root) { animation: 0.18s ease both scVtOut; }
::view-transition-new(root) { animation: 0.28s var(--sc-ease) both scVtIn; }
@keyframes scVtOut { to { opacity: 0; } }
@keyframes scVtIn { from { opacity: 0; } }

.back-link {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
    border-radius: 999px; background: var(--sc-surface); border: 1px solid var(--sc-line);
    color: var(--purple-soft); font-size: 0.78rem; letter-spacing: 0.5px;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.back-link:hover { transform: translateX(-3px); background: rgba(165, 94, 234, 0.2); border-color: var(--sc-line-purple); text-shadow: none; }
#globalBackContainer { max-width: 1100px !important; margin-bottom: 14px !important; }

footer {
    width: 100%; margin-top: auto; padding: 50px 16px calc(28px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--sc-line); background: linear-gradient(180deg, transparent, rgba(6, 2, 13, 0.6));
}

/* ==============================================================================
   ARAMA KUTUSU
   ============================================================================== */
.search-section { max-width: 560px; }
.search-container {
    background: var(--sc-surface-2); border: 1px solid var(--sc-line); border-radius: 999px;
    padding: 5px 6px 5px 18px; box-shadow: var(--sc-shadow);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.search-container:focus-within { border-color: var(--purple-main) !important; box-shadow: 0 0 0 4px rgba(165, 94, 234, 0.18), var(--sc-shadow); }
.search-container input { font-size: 0.95rem; padding: 13px 6px; }
.search-container input::placeholder { color: #8d82a5; }
.search-container button {
    border-radius: 999px; padding: 11px 24px; font-size: 0.78rem; letter-spacing: 0.8px;
    background: linear-gradient(135deg, var(--purple-main), var(--purple-deep)) !important;
}
.search-container button:hover:not(:disabled) { transform: translateY(-1px); }

.stat-box { border-radius: 999px; padding: 9px 18px; background: var(--sc-surface); border-color: var(--sc-line-purple); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ==============================================================================
   HUB / LİDERLİK KARTLARI
   ============================================================================== */
.menu-card, .slayer-card, .collection-category, .profile-card, .glass-table-container {
    background: var(--sc-surface);
    border: 1px solid var(--sc-line);
    box-shadow: var(--sc-shadow);
    -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
}
.menu-card, .slayer-card {
    position: relative; border-radius: var(--sc-radius);
    transition: transform 0.3s var(--sc-ease), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.menu-card::after, .slayer-card::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(260px circle at 50% 0%, rgba(165, 94, 234, 0.22), transparent 70%);
    transition: opacity 0.3s ease;
}
.menu-card:hover::after, .slayer-card:hover::after { opacity: 1; }
.menu-card:hover, .slayer-card:hover {
    transform: translateY(-4px); background: var(--sc-surface-2);
    border-color: var(--sc-line-purple); box-shadow: 0 20px 44px -16px rgba(165, 94, 234, 0.45);
}
.menu-img { width: 44px; height: 44px; image-rendering: pixelated; }
.card-title { letter-spacing: 0.3px; }
.card-desc { color: #9d92b4; }

.collection-category { border-radius: var(--sc-radius); }
.category-title { border-bottom: 1px solid var(--sc-line); letter-spacing: 1px; }
.item-link { border-radius: var(--sc-radius-sm); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--sc-line); }
.item-link:hover { background: linear-gradient(135deg, var(--purple-main), var(--purple-deep)); }

/* ==============================================================================
   TABLOLAR
   ============================================================================== */
.glass-table-container { border-radius: var(--sc-radius); }
th { background: rgba(255, 255, 255, 0.04); letter-spacing: 1.4px; font-size: 0.68rem; }
td { border-bottom: 1px solid var(--sc-line); }
tbody tr { transition: background 0.2s ease; }
tbody tr:hover { background: rgba(165, 94, 234, 0.09); }
tr:nth-child(1) td.rank-col, tr:nth-child(2) td.rank-col, tr:nth-child(3) td.rank-col { font-size: 1.05rem; }
.player-avatar { border-radius: 10px; }

/* ==============================================================================
   OYUNCU PROFİLİ (chest slotlarına dokunmaz)
   ============================================================================== */
.profile-header-card {
    position: relative; overflow: hidden; border-radius: 24px;
    background: linear-gradient(135deg, rgba(125, 42, 232, 0.22), rgba(22, 11, 40, 0.7) 55%);
    border: 1px solid var(--sc-line-purple); box-shadow: var(--sc-shadow);
}
.profile-header-card::before {
    content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%;
    background: radial-gradient(circle, rgba(165, 94, 234, 0.35), transparent 65%); pointer-events: none;
}
.badge { border-radius: 999px; background: rgba(165, 94, 234, 0.16); border-color: var(--sc-line-purple); }

.profile-tabs {
    display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 6px; padding: 6px; margin-bottom: 22px;
    overflow-x: auto; scrollbar-width: none; border-radius: 999px;
    background: var(--sc-surface); border: 1px solid var(--sc-line);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.profile-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .profile-tabs { justify-content: center; flex-wrap: wrap; border-radius: 26px; } }
.tab-btn { border-radius: 999px; background: transparent; border-color: transparent; padding: 10px 20px; font-size: 0.85rem; }
.tab-btn:hover { background: rgba(255, 255, 255, 0.07); }
.tab-btn.active { background: linear-gradient(135deg, var(--purple-main), var(--purple-deep)); border-color: transparent; transform: none; box-shadow: 0 6px 18px -4px rgba(165, 94, 234, 0.6); }
.profile-card { border-radius: var(--sc-radius); }

/* ==============================================================================
   YÜKLEME EKRANI (eski kapı animasyonunun yerine) — kenar boşluğu YOK, tam ekran
   ============================================================================== */
.sc-veil {
    position: fixed; inset: 0; z-index: 99999999;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 50% 40%, rgba(40, 16, 72, 0.88), rgba(6, 2, 13, 0.94));
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}
.sc-veil.is-on { opacity: 1; visibility: visible; pointer-events: all; transition: opacity 0.18s ease; }
.sc-veil-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; overflow: hidden; background: rgba(255, 255, 255, 0.06); }
.sc-veil-bar::after {
    content: ""; position: absolute; inset: 0; width: 40%;
    background: linear-gradient(90deg, transparent, var(--purple-glow), var(--purple-main), transparent);
    animation: scBar 1.1s ease-in-out infinite;
}
@keyframes scBar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.sc-veil-card {
    display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
    width: min(90vw, 380px); padding: 0 12px;
    transform: translateY(8px) scale(0.98); transition: transform 0.35s var(--sc-ease);
}
.sc-veil.is-on .sc-veil-card { transform: none; }
.sc-veil-ring { position: relative; width: 84px; height: 84px; display: grid; place-items: center; }
.sc-veil-ring::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0 25%, var(--purple-glow) 60%, var(--purple-main) 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    animation: scSpin 1s linear infinite;
}
.sc-veil-ring::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; background: radial-gradient(circle, rgba(165, 94, 234, 0.35), transparent 70%); animation: scGlow 2s ease-in-out infinite; }
.sc-veil-ring img { width: 44px; height: 44px; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 0 12px rgba(165, 94, 234, 0.8)); }
@keyframes scSpin { to { transform: rotate(360deg); } }
@keyframes scGlow { 0%, 100% { opacity: 0.5; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1.08); } }
.sc-veil-title { color: #fff; font-size: clamp(1.05rem, 4vw, 1.3rem); font-weight: bold; letter-spacing: 1.5px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8); word-break: break-word; }
.sc-veil-sub { color: #a89cc0; font-size: 0.8rem; min-height: 1em; }
.sc-veil-sub:empty { display: none; }

/* ==============================================================================
   SKELETON (profil yüklenirken)
   ============================================================================== */
.sc-skel, img.sc-fade:not(.sc-ready) {
    background: linear-gradient(100deg, rgba(255, 255, 255, 0.05) 30%, rgba(165, 94, 234, 0.18) 50%, rgba(255, 255, 255, 0.05) 70%);
    background-size: 220% 100%; border-radius: 10px;
}
.sc-skel { animation: scPulse2 1.4s ease-in-out infinite; }
@keyframes scPulse2 { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
img.sc-fade:not(.sc-ready) { color: transparent; }
img.sc-fade.sc-ready:not(.sc-broken) { animation: scImgIn 0.25s ease both; }
@keyframes scShimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes scImgIn { from { opacity: 0; } to { opacity: 1; } }

.sc-skel-profile { width: 100%; display: flex; flex-direction: column; gap: 18px; padding: 8px 0 40px; }
.sc-skel-head { display: flex; align-items: center; gap: 22px; padding: 26px; border-radius: 24px; background: var(--sc-surface); border: 1px solid var(--sc-line); }
.sc-skel-avatar { width: 96px; height: 120px; flex-shrink: 0; border-radius: 16px; }
.sc-skel-lines { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.sc-skel-tabs { display: flex; gap: 8px; overflow: hidden; }
.sc-skel-tabs .sc-skel { height: 40px; width: 110px; flex-shrink: 0; border-radius: 999px; }
.sc-skel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.sc-skel-grid .sc-skel { height: 170px; border-radius: var(--sc-radius); }
.sc-skel-note { text-align: center; color: #8d82a5; font-size: 0.8rem; }

/* ==============================================================================
   ANA SAYFA (home.js)
   ============================================================================== */
.sc-home { width: 100%; max-width: 1120px; margin: 0 auto 60px; padding: 0 20px; display: flex; flex-direction: column; align-items: center; }

.sc-hero { text-align: center; padding: 26px 0 22px; display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; }
.sc-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
    font-size: 0.72rem; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--purple-soft);
    background: rgba(165, 94, 234, 0.12); border: 1px solid var(--sc-line-purple);
}
.sc-eyebrow i { color: var(--purple-glow); }
.sc-hero h2 {
    font-size: clamp(2.2rem, 7.4vw, 4.4rem); line-height: 1.04; font-weight: 900; letter-spacing: -1.5px; max-width: 880px;
}
.sc-hero h2 span {
    background: linear-gradient(120deg, #fff 0%, var(--purple-glow) 40%, var(--purple-main) 70%, var(--purple-deep) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 28px rgba(165, 94, 234, 0.45));
}
.sc-hero p { font-size: clamp(0.95rem, 2.4vw, 1.15rem); color: #b6abcc; max-width: 600px; line-height: 1.6; }
.sc-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; cursor: pointer;
    font-weight: 800; font-size: 0.95rem; letter-spacing: 0.3px; padding: 15px 30px; border-radius: 999px; border: 1px solid transparent;
    transition: transform 0.25s var(--sc-ease), box-shadow 0.25s ease, background 0.25s ease;
}
.sc-btn-primary { color: #fff; background: linear-gradient(135deg, var(--purple-main), var(--purple-deep)); box-shadow: 0 10px 30px -6px rgba(165, 94, 234, 0.65); }
.sc-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -6px rgba(165, 94, 234, 0.85); }
.sc-btn-ghost { color: #fff; background: rgba(255, 255, 255, 0.06); border-color: var(--sc-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sc-btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.12); border-color: var(--sc-line-purple); }

/* Sunucu durumu: tek satırlık cam şerit */
.sc-status {
    display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px 18px;
    padding: 12px 20px; border-radius: 999px; max-width: 100%;
    background: var(--sc-surface); border: 1px solid var(--sc-line);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    font-size: 0.8rem; color: #cfc6e0;
}
.sc-status-item { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.sc-status-item i { color: var(--purple-glow); }
.sc-status-dot { width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 8px #2ecc71; animation: scBlink 2s ease-in-out infinite; }
@keyframes scBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.sc-status-sep { width: 1px; height: 16px; background: var(--sc-line); }
@media (max-width: 560px) { .sc-status-sep { display: none; } .sc-status { border-radius: 22px; } }
.sc-motd { color: #9d92b4; font-weight: 600; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Bento ızgara */
.sc-bento { width: 100%; display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: 10px; }
.sc-bento-card {
    --c: var(--purple-main); --g: rgba(165, 94, 234, 0.4);
    position: relative; overflow: hidden; isolation: isolate;
    grid-column: span 3; min-height: 168px; padding: 20px;
    display: flex; flex-direction: column; justify-content: space-between; gap: 18px; text-decoration: none;
    border-radius: 24px; background: var(--sc-surface); border: 1px solid var(--sc-line);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--sc-shadow);
    transition: transform 0.35s var(--sc-ease), border-color 0.3s ease, box-shadow 0.3s ease;
    animation: scRise 0.6s var(--sc-ease) backwards; animation-delay: calc(var(--i, 0) * 55ms);
}
@keyframes scRise { from { opacity: 0; transform: translateY(22px) scale(0.98); } to { opacity: 1; transform: none; } }
.sc-bento-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.3s ease;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), var(--g), transparent 70%);
}
.sc-bento-card::after {
    content: ""; position: absolute; width: 180px; height: 180px; right: -70px; bottom: -90px; border-radius: 50%; z-index: -1;
    background: radial-gradient(circle, var(--g), transparent 70%); opacity: 0.45; transition: opacity 0.3s ease, transform 0.5s var(--sc-ease);
}
.sc-bento-card:hover { transform: translateY(-5px); border-color: var(--c); box-shadow: 0 22px 50px -18px var(--g); }
.sc-bento-card:hover::before { opacity: 1; }
.sc-bento-card:hover::after { opacity: 0.8; transform: scale(1.25); }
.sc-bento-top { display: flex; align-items: flex-start; justify-content: space-between; }
.sc-bento-icon {
    width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center;
    background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--sc-line);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.35s var(--sc-ease);
}
.sc-bento-card:hover .sc-bento-icon { background: var(--g); box-shadow: inset 0 0 0 1px var(--c), 0 0 24px -4px var(--g); transform: rotate(-5deg) scale(1.06); }
.sc-bento-icon img { width: 36px; height: 36px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); }
.sc-bento-arrow {
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; color: #fff;
    background: rgba(255, 255, 255, 0.06); opacity: 0; transform: translate(-6px, 6px);
    transition: opacity 0.3s ease, transform 0.35s var(--sc-ease), background 0.3s ease;
}
.sc-bento-card:hover .sc-bento-arrow { opacity: 1; transform: none; background: var(--c); }
.sc-bento-title { color: #fff; font-size: 1.02rem; font-weight: 900; letter-spacing: 0.6px; transition: color 0.25s ease; }
.sc-bento-card:hover .sc-bento-title { color: var(--c); }
.sc-bento-desc { color: #9d92b4; font-size: 0.8rem; line-height: 1.45; margin-top: 4px; }

/* Öne çıkan kart (Player Stats) ve boyutlar */
.sc-bento-card.is-feature { grid-column: span 6; grid-row: span 2; padding: 28px; }
.sc-bento-card.is-feature .sc-bento-icon { width: 78px; height: 78px; border-radius: 22px; }
.sc-bento-card.is-feature .sc-bento-icon img { width: 50px; height: 50px; }
.sc-bento-card.is-feature .sc-bento-title { font-size: 1.6rem; }
.sc-bento-card.is-feature .sc-bento-desc { font-size: 0.95rem; max-width: 360px; }
.sc-bento-card.is-feature .sc-bento-arrow { opacity: 1; transform: none; background: rgba(255, 255, 255, 0.08); }
.sc-bento-card.is-wide { grid-column: span 4; }

@media (max-width: 900px) {
    .sc-bento-card { grid-column: span 6; }
    .sc-bento-card.is-feature { grid-column: span 12; grid-row: auto; min-height: 190px; }
    .sc-bento-card.is-wide { grid-column: span 6; }
}
@media (max-width: 480px) {
    .sc-bento { gap: 10px; }
    .sc-bento-card { min-height: 148px; padding: 16px; border-radius: 20px; }
    .sc-bento-icon { width: 48px; height: 48px; border-radius: 14px; }
    .sc-bento-icon img { width: 30px; height: 30px; }
    .sc-bento-title { font-size: 0.92rem; }
    .sc-bento-desc { font-size: 0.72rem; }
    .sc-bento-arrow { display: none; }
    .sc-btn { padding: 13px 24px; font-size: 0.88rem; }
}

/* ==============================================================================
   DİĞER SAYFALAR: kabuk seviyesinde tema uyumu (iç stiller bozulmadan)
   ============================================================================== */
#voteSection .vote-table-container, #voteSection .total-votes-card, #voteSection .voter-mobile-card,
#serverStatsSection .ss-long-row, #serverStatsSection .ss-banner-container, #serverStatsSection .ss-accordion-content,
#itemsSection .items-grid > * {
    border-radius: var(--sc-radius-sm);
    border-color: var(--sc-line);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
#voteSection .vote-table-container, #voteSection .total-votes-card, #serverStatsSection .ss-banner-container { border-radius: var(--sc-radius); box-shadow: var(--sc-shadow); }

/* ==============================================================================
   MOBİL: yanlarda boşluk kalmasın (kenara kenara, güvenli alan hesaba katılır)
   Not: Bazaar/Auction kendi iç düzenlerini zaten yönetiyor; sadece dış sarmalayıcı daraltıldı.
   ============================================================================== */
@media (max-width: 640px) {
    .hub-wrapper { padding-top: 10px; padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
    .sc-home { padding: 0 12px; }
    #bazaarSection, #auctionSection, #serverStatsSection { padding: 14px 6px !important; margin-bottom: 24px !important; }
    #voteSection, #calendarSection { padding: 10px 8px !important; margin-bottom: 24px !important; }
    #playerStatsProfile, #playerProfileSection { padding: 0 6px !important; margin-bottom: 24px !important; }
    #globalBackContainer { padding: 0 12px !important; }
    #itemsSection { padding-left: 6px; padding-right: 6px; }
    .table-section, .search-section, .stats-container, .hub-menu { padding-left: 8px; padding-right: 8px; }
    .collections-grid-container { padding-left: 8px; padding-right: 8px; }
    .profile-header-card { padding: 20px 16px; gap: 16px; border-radius: 20px; }
    .profile-card { padding: 16px 14px; }
    .profile-grid { column-width: 100%; }
    .collection-category { padding: 14px; }
    .sc-page-head { margin: 4px 0 14px; }
    .sc-skel-head { padding: 18px; gap: 16px; }
    .sc-skel-avatar { width: 72px; height: 92px; }
}


/* ==============================================================================
   PERFORMANS (v10.1) — görsel yüklenirken kasma / FPS düşüşü düzeltmeleri
   - Mobil/dokunmatikte backdrop-filter kapalı (en pahalı efekt, scroll'da her karede yeniden hesaplanır)
   - Sonsuz animasyonlar sadece opacity; filtre/gölge animasyonu yok
   - Ekran dışı büyük listeler content-visibility ile boyanmıyor
   ============================================================================== */
#itemsSection .items-grid > *, .menu-card, .collection-category, tbody tr, .profile-card {
    content-visibility: auto; contain-intrinsic-size: auto 120px;
}
img { content-visibility: auto; }

@media (max-width: 900px), (hover: none) {
    *, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
    .sc-nav, .sc-nav.is-scrolled { background: rgba(10, 4, 20, 0.96); }
    .sc-veil { background: rgba(8, 3, 16, 0.96); }
    .sc-veil-ring::after { display: none; }
    .menu-card, .slayer-card, .collection-category, .profile-card, .glass-table-container, .sc-bento-card,
    .search-container, .stat-box, .back-link, .profile-tabs, .sc-status { background: rgba(22, 11, 40, 0.9); box-shadow: none; }
    .menu-img, .sc-bento-icon img, .sc-brand-logo, .sc-veil-ring img { filter: none; }
    .sc-bento-card::before, .menu-card::after, .slayer-card::after { display: none; }
    .sc-bento-card { animation-duration: 0.35s; }
    .sc-bento-card:hover, .menu-card:hover, .slayer-card:hover { transform: none; }
}

/* ==============================================================================
   PLAYER STATS: kartlar aynı genişlikte ve hizalı
   (sol kolon max-width:380 + sağ kolon min-width taşması hizayı bozuyordu)
   ============================================================================== */
@media (max-width: 760px) {
    #sc-island-left-col, #sbProfileDataCol, #sbProfileTabsCol, #sc-profile-bottom-content > div {
        flex: 1 1 100% !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important;
    }
    #sc-profile-bottom-content > div { gap: 14px !important; margin-bottom: 14px !important; }
    #sc-island-left-col > *, #sbProfileDataCol > *, #sbProfileDataCol > div > * { width: 100%; min-width: 0; box-sizing: border-box; }
    #sbProfileDataCol { gap: 14px !important; }
    #sbProfileDataCol > div { gap: 14px !important; }
}
@media (min-width: 761px) {
    #sc-island-left-col, #sbProfileDataCol { min-width: 0 !important; }
    #sc-island-left-col > *, #sbProfileDataCol > div > * { box-sizing: border-box; }
}


/* ==============================================================================
   ONLOAD: sitedeki tüm lazy görseller yüklenince belirir (img-engine.js 'sc-ready' ekler)
   Sadece opacity geçişi: GPU dostu, layout/boyama maliyeti yok.
   ============================================================================== */
img[loading="lazy"] { transition: opacity 0.25s ease; }
img[loading="lazy"]:not(.sc-ready):not(.sc-fade) { opacity: 0; }

/* Perdede oyuncu kafası */
.sc-veil-ring img.is-head { width: 52px; height: 52px; border-radius: 10px; image-rendering: pixelated; filter: none; box-shadow: 0 0 0 2px rgba(255,255,255,0.12), 0 6px 18px rgba(0,0,0,0.5); }


/* ==============================================================================
   v13 — NAV KAYAN GÖSTERGE
   ============================================================================== */
.sc-nav-links { position: relative; }
.sc-nav-links a { z-index: 1; }
.sc-nav-links a.is-active { background: transparent; box-shadow: none; color: #fff; }
.sc-nav-indicator {
    position: absolute; left: 0; top: 50%; height: 34px; margin-top: -17px; width: 0; z-index: 0; pointer-events: none;
    border-radius: 999px; opacity: 0;
    background: linear-gradient(135deg, rgba(165, 94, 234, 0.38), rgba(125, 42, 232, 0.26));
    box-shadow: inset 0 0 0 1px var(--sc-line-purple), 0 0 20px -6px rgba(165, 94, 234, 0.6);
    transition: transform 0.45s var(--sc-ease), width 0.45s var(--sc-ease), opacity 0.2s ease;
    will-change: transform, width;
}
.sc-nav-indicator.is-ready { opacity: 1; }
.sc-nav-cta { display: inline-flex; align-items: center; gap: 8px; }
.sc-cta-icon { width: 20px; height: 20px; object-fit: contain; image-rendering: pixelated; flex-shrink: 0; }

/* ==============================================================================
   v13 — LİDERLİK (koleksiyonlar alt alta, tam genişlik bloklar)
   ============================================================================== */
body .collections-grid-container { grid-template-columns: 1fr !important; gap: 18px; max-width: 1000px; }
body .collection-category { border-radius: 22px; padding: 22px 24px; background: var(--sc-surface); border: 1px solid var(--sc-line); }
body .category-title {
    justify-content: flex-start; gap: 12px; font-size: 0.95rem; letter-spacing: 1.6px; color: #fff;
    border-bottom: 1px solid var(--sc-line); margin-bottom: 16px; padding-bottom: 14px;
}
body .category-title i {
    display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; font-size: 0.85rem;
    color: var(--purple-glow); background: rgba(165, 94, 234, 0.16); box-shadow: inset 0 0 0 1px var(--sc-line-purple);
}
body .item-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; gap: 10px !important; }
body .item-link { border-radius: 12px; padding: 12px 10px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--sc-line); color: #d6cfe6; }
body .item-link:hover { color: #fff; border-color: var(--sc-line-purple); background: linear-gradient(135deg, rgba(165, 94, 234, 0.85), rgba(125, 42, 232, 0.85)); box-shadow: 0 8px 20px -8px rgba(165, 94, 234, 0.7); }

body .portal-card { border-radius: 22px !important; border-color: var(--sc-line-purple) !important; }
body .podium-card { border-radius: 20px; background: linear-gradient(180deg, rgba(36, 18, 62, 0.92), rgba(14, 5, 22, 0.92)); }
body .podium-base { border-radius: 12px 12px 0 0; }
body .podium-score { border-radius: 999px; }
body .score-col { font-variant-numeric: tabular-nums; }
body .rank-col { font-variant-numeric: tabular-nums; }
body tr:nth-child(-n+3) .rank-col { font-size: 1.05rem; }
body .player-name-link:hover { text-shadow: none; color: var(--purple-glow); }
body .inline-solo-badge { border-radius: 999px; }

/* ==============================================================================
   v13 — VOTE
   ============================================================================== */
body #voteSection .total-votes-card {
    border: 1px solid var(--sc-line-purple); border-radius: 24px;
    background: linear-gradient(135deg, rgba(125, 42, 232, 0.30), rgba(22, 11, 40, 0.88));
    box-shadow: var(--sc-shadow), 0 0 44px -14px rgba(165, 94, 234, 0.55);
}
body #voteSection .search-container {
    border-radius: 999px; border: 1px solid var(--sc-line); background: var(--sc-surface-2); box-shadow: var(--sc-shadow); padding: 6px 20px;
}
body #voteSection .search-container:focus-within { border-color: var(--purple-main); box-shadow: 0 0 0 4px rgba(165, 94, 234, 0.18), var(--sc-shadow); }
body #voteSection .vote-table-container { border-radius: 24px; border: 1px solid var(--sc-line); background: var(--sc-surface); }
body #voteSection th { background: rgba(255, 255, 255, 0.04); font-size: 0.72rem; letter-spacing: 1.5px; color: var(--purple-soft); }
body #voteSection td { border-bottom: 1px solid var(--sc-line); }
body #voteSection tr.voter-row:hover { background: rgba(165, 94, 234, 0.1); }
body #voteSection .votes-badge { border-radius: 999px; background: rgba(165, 94, 234, 0.16); border-color: var(--sc-line-purple); color: #fff; }
body #voteSection h2 {
    background: linear-gradient(120deg, #fff, var(--purple-glow) 60%, var(--purple-main)); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; text-shadow: none !important; font-weight: 900; letter-spacing: -0.5px;
}
body #voteSection h2 i { -webkit-text-fill-color: var(--purple-glow); }
body .voter-mobile-card { border-radius: 18px; background: var(--sc-surface); border: 1px solid var(--sc-line); }

/* ==============================================================================
   v13 — ITEMS
   ============================================================================== */
body .items-search-input { border-radius: 999px; border: 1px solid var(--sc-line-purple); background: rgb(24, 12, 42); padding-left: 46px; box-shadow: none !important; }
body .items-search-input:focus { border-color: var(--purple-main); box-shadow: none !important; }
body .items-top-bar, body .items-search-bar { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; background: transparent !important; filter: none !important; }
body .items-grid { gap: 14px; }
body .item-entry-card { border-radius: 20px; background: var(--sc-surface); border: 1px solid var(--sc-line); }
body .item-entry-card:hover { transform: translateY(-4px); border-color: var(--sc-line-purple); box-shadow: 0 16px 36px -14px rgba(165, 94, 234, 0.45); }
body .item-entry-img-wrap { border-radius: 16px; }
body .items-page-btn { border-radius: 999px; }
body .items-count-badge { padding: 4px 12px; border-radius: 999px; background: rgba(165, 94, 234, 0.12); border: 1px solid var(--sc-line-purple); color: var(--purple-soft); }

/* ==============================================================================
   v13 — CALENDAR (neredeyse tamamı satır içi stil: nitelik seçicilerle)
   ============================================================================== */
body #calendarSection div[style*="var(--glass-bg)"] {
    background: var(--sc-surface) !important; border-color: var(--sc-line) !important;
    border-radius: 26px !important; box-shadow: var(--sc-shadow) !important;
}
body #calendarSection div[style*="border-left: 4px solid"] { border-radius: 18px !important; background: rgba(255, 255, 255, 0.035) !important; }
body #calendarSection div[style*="rgba(0, 0, 0, 0.3)"] { border-radius: 16px !important; }
body #calendarSection h3 { border-bottom-style: solid !important; border-bottom-color: var(--sc-line) !important; }
body #calendarSection h2 { letter-spacing: -0.3px; }
body #calendarSection #sbDateTitle { background: linear-gradient(120deg, #fff, var(--purple-glow)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
body .ethan-crop-btn, body .zoo-pet-btn, body .zoo-rarity-btn, body #farmionaireBuffBtn { border-radius: 999px !important; }
body #calendarSection #sbSeasonBadge { border-radius: 999px !important; }


/* ==============================================================================
   v14 — ITEM DETAY PANELİ (animasyonlu)
   ============================================================================== */
body.sc-modal-lock { overflow: hidden; }
.sc-modal {
    position: fixed; inset: 0; z-index: 200000; display: flex; align-items: center; justify-content: center; padding: 16px;
    background: rgba(6, 2, 13, 0.78); opacity: 0; transition: opacity 0.22s ease;
}
.sc-modal.is-open { opacity: 1; }
.sc-modal-panel {
    position: relative; width: min(420px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto;
    display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 28px 22px 22px;
    border-radius: 28px; border: 1px solid var(--sc-line-purple);
    background: linear-gradient(160deg, rgba(60, 24, 104, 0.95), rgba(18, 8, 32, 0.98) 55%);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
    transform: translateY(26px) scale(0.94); opacity: 0;
    transition: transform 0.4s var(--sc-ease), opacity 0.25s ease;
}
.sc-modal.is-open .sc-modal-panel { transform: none; opacity: 1; }
.sc-modal-close {
    position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
    border: 1px solid var(--sc-line); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 0.95rem;
    display: grid; place-items: center; transition: background 0.2s ease, transform 0.2s ease;
}
.sc-modal-close:hover { background: rgba(255, 255, 255, 0.14); transform: rotate(90deg); }
.sc-modal-art {
    width: 150px; height: 150px; border-radius: 26px; display: grid; place-items: center;
    background: radial-gradient(circle at 50% 40%, rgba(165, 94, 234, 0.35), rgba(255, 255, 255, 0.04) 70%);
    border: 1px solid var(--sc-line);
}
.sc-modal-img { width: 96px; height: 96px; object-fit: contain; image-rendering: pixelated; animation: scModalImg 0.5s var(--sc-ease) 0.1s both; }
@keyframes scModalImg { from { opacity: 0; transform: scale(0.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
.sc-modal-title { margin: 0; font-size: 1.35rem; font-weight: 900; text-align: center; color: #fff; word-break: break-word; }
.sc-modal-rows { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.sc-modal-row {
    display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 10px; padding: 8px 8px 8px 14px;
    border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--sc-line);
}
.sc-modal-row .k { font-size: 0.68rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #9d92b4; }
.sc-modal-row code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-modal-row button, .sc-modal-download {
    cursor: pointer; font-weight: 800; font-family: inherit; color: #fff; border: 1px solid var(--sc-line-purple);
    background: rgba(165, 94, 234, 0.18); border-radius: 999px; transition: background 0.2s ease, transform 0.2s ease;
}
.sc-modal-row button { padding: 7px 12px; font-size: 0.75rem; white-space: nowrap; }
.sc-modal-row button:hover, .sc-modal-download:hover { background: rgba(165, 94, 234, 0.4); transform: translateY(-1px); }
.sc-modal-row button.is-done, .sc-modal-download.is-done { background: rgba(46, 204, 113, 0.3); border-color: rgba(46, 204, 113, 0.6); }
.sc-modal-download { width: 100%; padding: 14px; font-size: 0.95rem; background: linear-gradient(135deg, var(--purple-main), var(--purple-deep)); border-color: transparent; box-shadow: 0 10px 26px -8px rgba(165, 94, 234, 0.7); }
body .item-entry-card { cursor: pointer; }
body .item-entry-card:focus-visible { outline: 2px solid var(--purple-glow); outline-offset: 2px; }

/* ==============================================================================
   v14 — VOTE: başlık + podyum
   ============================================================================== */
.sc-vote-hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 8px; }
.sc-vote-icon {
    width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center; font-size: 1.7rem; color: #fff;
    background: linear-gradient(135deg, var(--purple-main), var(--purple-deep)); box-shadow: 0 14px 34px -10px rgba(165, 94, 234, 0.8);
}
body #voteSection .sc-vote-hero h2 { margin: 0; font-size: clamp(2rem, 7vw, 3.1rem); line-height: 1.05; }
body #voteSection .sc-vote-hero h2 span { color: var(--purple-main); -webkit-text-fill-color: var(--purple-main); }
body #voteSection #voteLastUpdatedStr {
    display: inline-flex; align-items: center; margin: 0; padding: 6px 14px; border-radius: 999px; font-size: 0.78rem !important;
    background: rgba(165, 94, 234, 0.12); border: 1px solid var(--sc-line-purple); color: #b6abcc !important;
}
.sc-vote-wrap { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.sc-vote-podium { display: flex; align-items: flex-end; justify-content: center; gap: 12px; width: 100%; max-width: 640px; padding-top: 14px; }
.sc-vp {
    position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 8px 14px;
    border-radius: 22px; text-decoration: none; color: #fff; background: var(--sc-surface); border: 1px solid var(--sc-line);
    transition: transform 0.3s var(--sc-ease), border-color 0.3s ease;
}
.sc-vp:hover { transform: translateY(-5px); }
.sc-vp-1 { padding-top: 30px; border-color: rgba(241, 196, 15, 0.55); background: linear-gradient(180deg, rgba(241, 196, 15, 0.16), rgba(22, 11, 40, 0.92)); box-shadow: 0 16px 40px -16px rgba(241, 196, 15, 0.55); }
.sc-vp-2 { border-color: rgba(200, 205, 215, 0.4); }
.sc-vp-3 { border-color: rgba(230, 126, 34, 0.5); }
.sc-vp-face { width: 62px; height: 62px; border-radius: 14px; image-rendering: pixelated; background: rgba(0, 0, 0, 0.3); }
.sc-vp-1 .sc-vp-face { width: 80px; height: 80px; }
.sc-vp-name { font-weight: 800; font-size: 0.9rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-vp-votes { font-size: 0.74rem; font-weight: 700; color: var(--purple-soft); }
.sc-vp-rank { position: absolute; top: 9px; left: 12px; font-weight: 900; font-size: 0.8rem; opacity: 0.85; }
.sc-vp-1 .sc-vp-rank { color: #f1c40f; } .sc-vp-2 .sc-vp-rank { color: #dfe4ea; } .sc-vp-3 .sc-vp-rank { color: #e67e22; }
.sc-vp-crown { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); color: #f1c40f; font-size: 1.25rem; }
@media (max-width: 480px) { .sc-vote-podium { gap: 8px; } .sc-vp { padding: 16px 4px 12px; border-radius: 18px; } .sc-vp-face { width: 48px; height: 48px; } .sc-vp-1 .sc-vp-face { width: 62px; height: 62px; } .sc-vp-name { font-size: 0.78rem; } .sc-vp-votes { font-size: 0.66rem; } }

/* ==============================================================================
   v14 — CALENDAR
   ============================================================================== */
body #calendarSection .sc-cal-main { max-width: 1100px !important; gap: 20px !important; }
body #calendarSection .sc-cal-main > div:first-child {
    background: linear-gradient(135deg, rgba(125, 42, 232, 0.26), rgba(22, 11, 40, 0.78) 60%) !important;
    border-color: var(--sc-line-purple) !important; position: relative; overflow: hidden;
}
body #calendarSection .sc-cal-main > div:first-child::before {
    content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -150px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(165, 94, 234, 0.35), transparent 65%);
}
.sc-cal-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 4px auto 16px; max-width: 580px; width: 100%; }
@media (max-width: 560px) { .sc-cal-bars { grid-template-columns: 1fr; gap: 10px; } }
.sc-cal-bar { display: flex; align-items: center; gap: 10px; font-size: 0.74rem; font-weight: 800; color: #a4b0be; text-transform: uppercase; letter-spacing: 0.8px; }
.sc-cal-bar > div { flex: 1; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.sc-cal-bar i { display: block; width: 100%; height: 100%; border-radius: 999px; transform-origin: left center; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--purple-main), var(--purple-glow)); transition: transform 0.8s ease; }
.sc-cal-bar b { min-width: 38px; text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
body #calendarSection .sc-cal-events { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)) !important; gap: 14px !important; }
body #calendarSection .sc-cal-events > div { transition: transform 0.3s var(--sc-ease), box-shadow 0.3s ease; }
body #calendarSection .sc-cal-events > div:hover { transform: translateY(-3px); }

/* ==============================================================================
   v14 — GİRİŞ ANİMASYONLARI (yalnızca opacity + transform → GPU, ucuz; ilk N eleman)
   ============================================================================== */
@keyframes scRise2 { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes scPop { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }

/* Leaderboard */
.hub-menu .menu-card, body .collection-category, .podium-slot, .portal-card, .top-portal-card,
#leaderboardBody tr:nth-child(-n+15) { animation: scRise2 0.5s var(--sc-ease) backwards; }
.podium-slot:nth-child(2) { animation-delay: 0ms; } .podium-slot:nth-child(1) { animation-delay: 90ms; } .podium-slot:nth-child(3) { animation-delay: 180ms; }
body .collection-category:nth-child(-n+8) { animation-delay: 0ms; }
body .collection-category:not(:nth-child(-n+8)) { animation: none; }

/* Vote */
.sc-vote-hero, #voteSection .total-votes-card, #voteSection .search-container, .sc-vp, .sc-vote-wrap .vote-table-container,
#voteSection .voter-row:nth-child(-n+15), .voter-mobile-card:nth-child(-n+12) { animation: scRise2 0.55s var(--sc-ease) backwards; }
.sc-vote-hero { animation-delay: 0ms; } #voteSection .total-votes-card { animation-delay: 80ms; } #voteSection .search-container { animation-delay: 140ms; }
.sc-vp-2 { animation-delay: 180ms; } .sc-vp-1 { animation-delay: 260ms; } .sc-vp-3 { animation-delay: 340ms; }

/* Items */
.items-top-bar, .item-entry-card:nth-child(-n+24), .items-pagination { animation: scRise2 0.45s var(--sc-ease) backwards; }

/* Calendar */
body #calendarSection .sc-cal-main > div, body #calendarSection .sc-cal-events > div { animation: scRise2 0.55s var(--sc-ease) backwards; }
#calendarSection div[style*="max-width: 950px"] > div { animation: scRise2 0.5s var(--sc-ease) backwards; }

#leaderboardBody tr:nth-child(1) { animation-delay: 60ms; }
#leaderboardBody tr:nth-child(2) { animation-delay: 95ms; }
#leaderboardBody tr:nth-child(3) { animation-delay: 130ms; }
#leaderboardBody tr:nth-child(4) { animation-delay: 165ms; }
#leaderboardBody tr:nth-child(5) { animation-delay: 200ms; }
#leaderboardBody tr:nth-child(6) { animation-delay: 235ms; }
#leaderboardBody tr:nth-child(7) { animation-delay: 270ms; }
#leaderboardBody tr:nth-child(8) { animation-delay: 305ms; }
#leaderboardBody tr:nth-child(9) { animation-delay: 340ms; }
#leaderboardBody tr:nth-child(10) { animation-delay: 375ms; }
#leaderboardBody tr:nth-child(11) { animation-delay: 410ms; }
#leaderboardBody tr:nth-child(12) { animation-delay: 445ms; }
#leaderboardBody tr:nth-child(13) { animation-delay: 480ms; }
#leaderboardBody tr:nth-child(14) { animation-delay: 515ms; }
#leaderboardBody tr:nth-child(15) { animation-delay: 550ms; }
body #voteSection .voter-row:nth-child(1) { animation-delay: 300ms; }
body #voteSection .voter-row:nth-child(2) { animation-delay: 330ms; }
body #voteSection .voter-row:nth-child(3) { animation-delay: 360ms; }
body #voteSection .voter-row:nth-child(4) { animation-delay: 390ms; }
body #voteSection .voter-row:nth-child(5) { animation-delay: 420ms; }
body #voteSection .voter-row:nth-child(6) { animation-delay: 450ms; }
body #voteSection .voter-row:nth-child(7) { animation-delay: 480ms; }
body #voteSection .voter-row:nth-child(8) { animation-delay: 510ms; }
body #voteSection .voter-row:nth-child(9) { animation-delay: 540ms; }
body #voteSection .voter-row:nth-child(10) { animation-delay: 570ms; }
body #voteSection .voter-row:nth-child(11) { animation-delay: 600ms; }
body #voteSection .voter-row:nth-child(12) { animation-delay: 630ms; }
body #voteSection .voter-row:nth-child(13) { animation-delay: 660ms; }
body #voteSection .voter-row:nth-child(14) { animation-delay: 690ms; }
body #voteSection .voter-row:nth-child(15) { animation-delay: 720ms; }
.voter-mobile-card:nth-child(1) { animation-delay: 300ms; }
.voter-mobile-card:nth-child(2) { animation-delay: 330ms; }
.voter-mobile-card:nth-child(3) { animation-delay: 360ms; }
.voter-mobile-card:nth-child(4) { animation-delay: 390ms; }
.voter-mobile-card:nth-child(5) { animation-delay: 420ms; }
.voter-mobile-card:nth-child(6) { animation-delay: 450ms; }
.voter-mobile-card:nth-child(7) { animation-delay: 480ms; }
.voter-mobile-card:nth-child(8) { animation-delay: 510ms; }
.voter-mobile-card:nth-child(9) { animation-delay: 540ms; }
.voter-mobile-card:nth-child(10) { animation-delay: 570ms; }
.voter-mobile-card:nth-child(11) { animation-delay: 600ms; }
.voter-mobile-card:nth-child(12) { animation-delay: 630ms; }
.item-entry-card:nth-child(1) { animation-delay: 80ms; }
.item-entry-card:nth-child(2) { animation-delay: 102ms; }
.item-entry-card:nth-child(3) { animation-delay: 124ms; }
.item-entry-card:nth-child(4) { animation-delay: 146ms; }
.item-entry-card:nth-child(5) { animation-delay: 168ms; }
.item-entry-card:nth-child(6) { animation-delay: 190ms; }
.item-entry-card:nth-child(7) { animation-delay: 212ms; }
.item-entry-card:nth-child(8) { animation-delay: 234ms; }
.item-entry-card:nth-child(9) { animation-delay: 256ms; }
.item-entry-card:nth-child(10) { animation-delay: 278ms; }
.item-entry-card:nth-child(11) { animation-delay: 300ms; }
.item-entry-card:nth-child(12) { animation-delay: 322ms; }
.item-entry-card:nth-child(13) { animation-delay: 344ms; }
.item-entry-card:nth-child(14) { animation-delay: 366ms; }
.item-entry-card:nth-child(15) { animation-delay: 388ms; }
.item-entry-card:nth-child(16) { animation-delay: 410ms; }
.item-entry-card:nth-child(17) { animation-delay: 432ms; }
.item-entry-card:nth-child(18) { animation-delay: 454ms; }
.item-entry-card:nth-child(19) { animation-delay: 476ms; }
.item-entry-card:nth-child(20) { animation-delay: 498ms; }
.item-entry-card:nth-child(21) { animation-delay: 520ms; }
.item-entry-card:nth-child(22) { animation-delay: 542ms; }
.item-entry-card:nth-child(23) { animation-delay: 564ms; }
.item-entry-card:nth-child(24) { animation-delay: 586ms; }
body #calendarSection .sc-cal-main > div:nth-child(1) { animation-delay: 0ms; }
body #calendarSection .sc-cal-main > div:nth-child(2) { animation-delay: 90ms; }
body #calendarSection .sc-cal-main > div:nth-child(3) { animation-delay: 180ms; }
body #calendarSection .sc-cal-main > div:nth-child(4) { animation-delay: 270ms; }
body #calendarSection .sc-cal-main > div:nth-child(5) { animation-delay: 360ms; }
body #calendarSection .sc-cal-events > div:nth-child(1) { animation-delay: 150ms; }
body #calendarSection .sc-cal-events > div:nth-child(2) { animation-delay: 220ms; }
body #calendarSection .sc-cal-events > div:nth-child(3) { animation-delay: 290ms; }
body #calendarSection .sc-cal-events > div:nth-child(4) { animation-delay: 360ms; }
.hub-menu .menu-card:nth-child(1) { animation-delay: 0ms; }
.hub-menu .menu-card:nth-child(2) { animation-delay: 30ms; }
.hub-menu .menu-card:nth-child(3) { animation-delay: 60ms; }
.hub-menu .menu-card:nth-child(4) { animation-delay: 90ms; }
.hub-menu .menu-card:nth-child(5) { animation-delay: 120ms; }
.hub-menu .menu-card:nth-child(6) { animation-delay: 150ms; }
.hub-menu .menu-card:nth-child(7) { animation-delay: 180ms; }
.hub-menu .menu-card:nth-child(8) { animation-delay: 210ms; }
.hub-menu .menu-card:nth-child(9) { animation-delay: 240ms; }
.hub-menu .menu-card:nth-child(10) { animation-delay: 270ms; }
.hub-menu .menu-card:nth-child(11) { animation-delay: 300ms; }
.hub-menu .menu-card:nth-child(12) { animation-delay: 330ms; }
.hub-menu .menu-card:nth-child(13) { animation-delay: 360ms; }
.hub-menu .menu-card:nth-child(14) { animation-delay: 390ms; }
.hub-menu .menu-card:nth-child(15) { animation-delay: 420ms; }
.hub-menu .menu-card:nth-child(16) { animation-delay: 450ms; }
.hub-menu .menu-card:nth-child(17) { animation-delay: 480ms; }
.hub-menu .menu-card:nth-child(18) { animation-delay: 510ms; }
.hub-menu .menu-card:nth-child(19) { animation-delay: 540ms; }
.hub-menu .menu-card:nth-child(20) { animation-delay: 570ms; }
body .collection-category:nth-child(1) { animation-delay: 0ms; }
body .collection-category:nth-child(2) { animation-delay: 60ms; }
body .collection-category:nth-child(3) { animation-delay: 120ms; }
body .collection-category:nth-child(4) { animation-delay: 180ms; }
body .collection-category:nth-child(5) { animation-delay: 240ms; }
body .collection-category:nth-child(6) { animation-delay: 300ms; }
body .collection-category:nth-child(7) { animation-delay: 360ms; }
body .collection-category:nth-child(8) { animation-delay: 420ms; }

/* ==============================================================================
   HERO — "with Sky-Rifters" vurgusu
   ============================================================================== */
.sc-hero h2 .sc-hero-brand { display: inline-block; white-space: nowrap; }

/* ==============================================================================
   PLAYER STATS — YENİ ARAMA KUTUSU (sx-*)
   ============================================================================== */
@property --sx-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

#playerStatsHub .sx-section { max-width: 680px; padding: 18px 15px 0; }
.sx-search {
    position: relative; width: 100%; border-radius: 26px; padding: 2px; isolation: isolate;
    animation: sxEnter .8s var(--sc-ease) both, sxFloat 6s ease-in-out 1s infinite;
    transition: transform .4s var(--sc-ease);
}
/* dönen ışık halkası */
.sx-ring {
    position: absolute; inset: 0; border-radius: inherit; z-index: -1;
    background: conic-gradient(from var(--sx-a), rgba(165,94,234,.15), #c896ff, rgba(125,42,232,.2) 35%, rgba(165,94,234,.15) 55%, #7d2ae8, rgba(165,94,234,.15));
    animation: sxSpin 5s linear infinite; opacity: .75; transition: opacity .35s ease, filter .35s ease;
}
.sx-ring::after { content: ""; position: absolute; inset: -14px; border-radius: 40px; background: inherit; filter: blur(26px); opacity: .45; z-index: -1; }
.sx-search:hover .sx-ring, .sx-search:focus-within .sx-ring { opacity: 1; }
.sx-search:focus-within { transform: scale(1.025); animation-play-state: running, paused; }
.sx-search:focus-within .sx-ring { animation-duration: 2.2s; filter: saturate(1.4) brightness(1.15); }

.sx-field {
    position: relative; display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 14px; border-radius: 24px;
    background: linear-gradient(160deg, rgba(26,12,48,.96), rgba(10,4,20,.97));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 24px 50px -22px rgba(0,0,0,.9);
}
.sx-icon {
    flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 15px; color: var(--purple-glow); font-size: 1rem;
    background: rgba(165,94,234,.14); border: 1px solid rgba(165,94,234,.35);
    transition: transform .5s var(--sc-ease), background .3s ease, color .3s ease;
}
.sx-search:focus-within .sx-icon { background: linear-gradient(135deg, var(--purple-main), var(--purple-deep)); color: #fff; transform: rotate(-12deg) scale(1.08); }
.sx-search:focus-within .sx-icon i { animation: sxWiggle .6s var(--sc-ease); }
.sx-field input {
    flex: 1; min-width: 0; background: transparent !important; border: none !important; outline: none !important; box-shadow: none !important;
    color: #fff; font: 600 1.05rem 'Poppins', sans-serif; padding: 12px 8px; letter-spacing: .2px; caret-color: var(--purple-glow);
}
.sx-field input::placeholder { color: #8d82a5; font-weight: 500; transition: opacity .3s ease, transform .3s ease; }
.sx-search:focus-within input::placeholder { opacity: .45; transform: translateX(6px); }
.sx-btn {
    position: relative; overflow: hidden; flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
    height: 48px; padding: 0 24px; border: none; border-radius: 17px; color: #fff; font: 800 .8rem 'Poppins', sans-serif; letter-spacing: 1.4px;
    background: linear-gradient(135deg, var(--purple-main), var(--purple-deep)) !important;
    box-shadow: 0 10px 26px -10px rgba(165,94,234,.95), inset 0 1px 0 rgba(255,255,255,.3);
    transition: transform .3s var(--sc-ease), box-shadow .3s ease, filter .3s ease;
}
.sx-btn::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: sxShine 3.6s ease-in-out 1.2s infinite; }
.sx-btn i { font-size: .8rem; transition: transform .35s var(--sc-ease); }
.sx-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(165,94,234,1), inset 0 1px 0 rgba(255,255,255,.35); filter: brightness(1.1); }
.sx-btn:hover i { transform: translateX(5px); }
.sx-btn:active { transform: scale(.94); }
.sx-btn .sx-rip { position: absolute; border-radius: 50%; background: rgba(255,255,255,.55); transform: scale(0); animation: sxRipple .6s ease-out forwards; pointer-events: none; }
.sx-hint { margin: 14px 0 0; text-align: center; font: 500 .78rem 'Poppins', sans-serif; color: #8d82a5; animation: sxEnter .8s var(--sc-ease) .25s both; }
.sx-hint i { margin-right: 6px; color: var(--purple-main); }
.sx-hint kbd { font: 700 .72rem 'Poppins', sans-serif; padding: 2px 8px; border-radius: 6px; color: #d9a5f3; background: rgba(165,94,234,.14); border: 1px solid rgba(165,94,234,.35); }
.sx-search.is-shake { animation: sxShake .45s ease; }

@keyframes sxSpin { to { --sx-a: 360deg; } }
@keyframes sxEnter { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes sxFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes sxShine { 0%, 55% { left: -60%; } 100% { left: 140%; } }
@keyframes sxRipple { to { transform: scale(4); opacity: 0; } }
@keyframes sxWiggle { 0% { transform: rotate(0); } 30% { transform: rotate(18deg); } 60% { transform: rotate(-14deg); } 100% { transform: rotate(0); } }
@keyframes sxShake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-9px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
@media (max-width: 520px) {
    .sx-field { padding: 6px 6px 6px 10px; }
    .sx-icon { width: 38px; height: 38px; }
    .sx-field input { font-size: .95rem; padding: 10px 4px; }
    .sx-btn { padding: 0 16px; height: 44px; } .sx-btn span { display: none; }
    .sx-hint { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) { .sx-search, .sx-ring, .sx-btn::before, .sx-hint { animation: none !important; } }

/* ==============================================================================
   BACK BUTONU — hedef etiketi + breadcrumb ağacı
   ============================================================================== */
#globalBackContainer .sc-back-row { justify-content: flex-start !important; flex-wrap: wrap; }
#globalBackContainer .sc-back-row #globalBackRight { margin-left: auto; }
.sc-back-to {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
    font: 600 .74rem 'Poppins', sans-serif; color: #9b8cb8; white-space: nowrap;
    background: rgba(165, 94, 234, 0.08); border: 1px dashed var(--sc-line-purple); animation: scBackIn .35s var(--sc-ease) both;
}
.sc-back-to i { color: var(--purple-main); transform: rotate(-90deg); font-size: .7rem; }
.sc-back-to b { color: #fff; font-weight: 700; }
.sc-trail {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; font: 500 .76rem 'Poppins', sans-serif; color: #8d82a5;
}
.sc-trail a { color: var(--purple-soft); text-decoration: none; padding: 3px 9px; border-radius: 8px; transition: background .2s ease, color .2s ease; }
.sc-trail a:hover { color: #fff; background: rgba(165, 94, 234, 0.2); }
.sc-trail .cur { color: #fff; font-weight: 700; padding: 3px 9px; border-radius: 8px; background: rgba(165, 94, 234, 0.16); border: 1px solid var(--sc-line-purple); }
.sc-trail > i { font-size: .6rem; color: #6e5f8c; }
@keyframes scBackIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .sc-back-to { font-size: .68rem; padding: 5px 10px; } .sc-trail { font-size: .7rem; } }
.back-link .sc-back-dest { color: #fff; font-weight: 800; margin-left: 2px; }

/* Texture'u olmayan eşyalar */
.item-entry-card.no-tex { opacity: .82; }
.item-entry-card.no-tex .item-entry-img { filter: drop-shadow(0 0 8px rgba(165, 94, 234, .55)); }
.sc-modal-img.is-missing, .item-entry-img.is-missing { image-rendering: pixelated; }
.sc-modal-download:disabled, .sc-modal-download.is-disabled {
    cursor: not-allowed; pointer-events: none; transform: none; box-shadow: none;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.35);
}

/* Item List: iki indirme butonu (16x16 / 1080x1080) */
.sc-modal-dl-group { display: flex; gap: 10px; width: 100%; }
.sc-modal-dl-group .sc-modal-download { flex: 1 1 0; width: auto; padding: 14px 8px; }

/* Voters: top 3 podyumu - bust (gövde) görünümü + sıraya göre kürsü */
.sc-vote-podium { align-items: flex-end; gap: 12px; max-width: 680px; }
.sc-vp-slot { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.sc-vp-slot .sc-vp { flex: none; width: 100%; box-sizing: border-box; border-radius: 18px 18px 0 0; border-bottom: none; padding: 18px 8px 12px; gap: 6px; }
.sc-vp-slot .sc-vp-1 { padding-top: 26px; }
.sc-vp-bust { width: 90px; height: 90px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(3px 3px 0 rgba(0,0,0,0.6)); }
.sc-vp-1 .sc-vp-bust { width: 120px; height: 120px; }
.sc-vp-base { width: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900; color: rgba(0,0,0,0.45); user-select: none; border-radius: 0 0 8px 8px; }
.sc-vp-base-1 { height: 90px; background: #FFAA00; }
.sc-vp-base-2 { height: 60px; background: #AAAAAA; }
.sc-vp-base-3 { height: 36px; background: #CD7F32; }
.sc-vp-1 { border-color: #FFAA00; box-shadow: 0 0 18px rgba(255,170,0,0.2); }
.sc-vp-2 { border-color: #AAAAAA; box-shadow: 0 0 14px rgba(170,170,170,0.15); }
.sc-vp-3 { border-color: #CD7F32; box-shadow: 0 0 14px rgba(205,127,50,0.15); }
.sc-vp-1 .sc-vp-name { color: #FFAA00; } .sc-vp-2 .sc-vp-name { color: #e4e6ea; } .sc-vp-3 .sc-vp-name { color: #e6914a; }
@media (max-width: 480px) {
  .sc-vote-podium { gap: 6px; }
  .sc-vp-slot .sc-vp { padding: 14px 4px 8px; border-radius: 14px 14px 0 0; }
  .sc-vp-slot .sc-vp-1 { padding-top: 20px; }
  .sc-vp-bust { width: 54px; height: 54px; }
  .sc-vp-1 .sc-vp-bust { width: 72px; height: 72px; }
  .sc-vp-base-1 { height: 60px; font-size: 1.1rem; } .sc-vp-base-2 { height: 40px; font-size: 1rem; } .sc-vp-base-3 { height: 26px; font-size: 0.85rem; }
}

/* Arka plan görseli mobilde kaydırırken oynamasın: sabit (en büyük) viewport yüksekliğine kilitle.
   Adres çubuğu açılıp kapanınca 100% yükseklik değişip görseli kaydırıyordu. */
.bg-container, .light-dimmer {
    position: fixed; top: 0; left: 0; right: 0;
    width: 100%; height: 100vh; height: 100lvh;
    max-height: none; pointer-events: none;
}
.bg-container { background-position: center center; background-size: cover; background-repeat: no-repeat; }
html { overscroll-behavior-y: none; }
